Skip to content

Commit

Permalink
Merge pull request #157 from arturovt/feat/inputs
Browse files Browse the repository at this point in the history
feat: switch to signal inputs
  • Loading branch information
NetanelBasal authored Nov 14, 2024
2 parents 4d13451 + a7b6512 commit e698cca
Show file tree
Hide file tree
Showing 8 changed files with 3,721 additions and 3,790 deletions.
7,045 changes: 3,425 additions & 3,620 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^17.0.4",
"@angular/common": "^17.0.4",
"@angular/compiler": "^17.0.4",
"@angular/core": "^17.0.4",
"@angular/forms": "^17.0.4",
"@angular/platform-browser": "^17.0.4",
"@angular/platform-browser-dynamic": "^17.0.4",
"@angular/router": "^17.0.4",
"@ngneat/overview": "6.0.0",
"@angular/animations": "^18.0.6",
"@angular/common": "^18.0.6",
"@angular/compiler": "^18.0.6",
"@angular/core": "^18.0.6",
"@angular/forms": "^18.0.6",
"@angular/platform-browser": "^18.0.6",
"@angular/platform-browser-dynamic": "^18.0.6",
"@angular/router": "^18.0.6",
"@ngneat/overview": "^6.1.0",
"rxjs": "~7.4.0",
"tippy.js": "6.3.7",
"tslib": "2.3.1",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.0.3",
"@angular/cli": "^17.0.3",
"@angular/compiler-cli": "^17.0.4",
"@angular-devkit/build-angular": "^18.0.7",
"@angular/cli": "^18.0.7",
"@angular/compiler-cli": "^18.0.6",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@cypress/webpack-preprocessor": "5.15.5",
Expand All @@ -74,14 +74,14 @@
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"lint-staged": "^9.2.0",
"ng-packagr": "^17.0.2",
"ng-packagr": "^18.0.0",
"prettier": "2.8.8",
"serve": "^11.3.2",
"standard-version": "^8.0.2",
"start-server-and-test": "^1.12.2",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~5.2.2"
"typescript": "~5.4.5"
},
"config": {
"commitizen": {
Expand Down
2 changes: 1 addition & 1 deletion projects/ngneat/helipopper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A Powerful Tooltip and Popover for Angular Applications",
"dependencies": {
"tslib": "^2.3.0",
"@ngneat/overview": "^6.0.0",
"@ngneat/overview": "^6.1.0",
"tippy.js": "6.3.7"
},
"peerDependencies": {
Expand Down
13 changes: 13 additions & 0 deletions projects/ngneat/helipopper/src/lib/coercion.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { booleanAttribute as originalBooleanAttribute } from '@angular/core';

type BooleanInput = boolean | `${boolean}` | '' | null | undefined;

/**
* Transforms a value (typically a string) to a boolean.
* Intended to be used as a transform function of an input.
*
* @see https://material.angular.io/cdk/coercion/overview
*/
const coerceBooleanAttribute: (value: BooleanInput) => boolean = originalBooleanAttribute;

export { coerceBooleanAttribute };
Loading

0 comments on commit e698cca

Please sign in to comment.