@hug/hospitality 1.0.0-alpha.48 → 1.0.0-alpha.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/chips.mjs +3 -3
- package/fesm2022/chips.mjs.map +1 -1
- package/material/chips/chips.scss +0 -1
- package/package.json +1 -1
- package/types/chips.d.ts +1 -1
package/fesm2022/chips.mjs
CHANGED
|
@@ -3,9 +3,9 @@ import { input, Directive } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
5
|
class HyChipColorDirective {
|
|
6
|
-
hyColor = input(
|
|
6
|
+
hyColor = input(false, ...(ngDevMode ? [{ debugName: "hyColor" }] : []));
|
|
7
7
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyChipColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: HyChipColorDirective, isStandalone: true, selector: "mat-chip[hyColor]", inputs: { hyColor: { classPropertyName: "hyColor", publicName: "hyColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.hyColor": "hyColor()" } }, ngImport: i0 });
|
|
8
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: HyChipColorDirective, isStandalone: true, selector: "mat-chip[hyColor]", inputs: { hyColor: { classPropertyName: "hyColor", publicName: "hyColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.hyColor": "hyColor() ? \"\" : null" } }, ngImport: i0 });
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyChipColorDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
@@ -13,7 +13,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
13
13
|
selector: 'mat-chip[hyColor]',
|
|
14
14
|
standalone: true,
|
|
15
15
|
host: {
|
|
16
|
-
'[attr.hyColor]': 'hyColor()'
|
|
16
|
+
'[attr.hyColor]': 'hyColor() ? "" : null'
|
|
17
17
|
}
|
|
18
18
|
}]
|
|
19
19
|
}], propDecorators: { hyColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyColor", required: false }] }] } });
|
package/fesm2022/chips.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chips.mjs","sources":["../../material/chips/directives/chips-color.directive.ts","../../material/chips/directives/chips-size.directive.ts","../../material/chips/directives/chips-styling.directives.ts","../../material/chips/chips.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\n@Directive({\n selector: 'mat-chip[hyColor]',\n standalone: true,\n host: {\n '[attr.hyColor]': 'hyColor()'\n }\n})\nexport class HyChipColorDirective {\n public hyColor = input<boolean
|
|
1
|
+
{"version":3,"file":"chips.mjs","sources":["../../material/chips/directives/chips-color.directive.ts","../../material/chips/directives/chips-size.directive.ts","../../material/chips/directives/chips-styling.directives.ts","../../material/chips/chips.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\n@Directive({\n selector: 'mat-chip[hyColor]',\n standalone: true,\n host: {\n '[attr.hyColor]': 'hyColor() ? \"\" : null'\n }\n})\nexport class HyChipColorDirective {\n public hyColor = input<boolean>(false);\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HySizeType = 'x-small' | 'medium';\n\n@Directive({\n selector: 'mat-chip[hySize]',\n standalone: true,\n host: {\n '[attr.hySize]': 'hySize()'\n }\n})\nexport class HyChipSizeDirective {\n public hySize = input<HySizeType | null>(null);\n}\n","import { HyChipColorDirective } from './chips-color.directive';\nimport { HyChipSizeDirective } from './chips-size.directive';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const HyChipStylingDirectives = [\n HyChipSizeDirective,\n HyChipColorDirective\n] as const;\n\nexport {\n HyChipColorDirective, HyChipSizeDirective\n};\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;MAUa,oBAAoB,CAAA;AACtB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,mDAAC;uGAD7B,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,cAAA,EAAA,yBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,gBAAgB,EAAE;AACrB;AACJ,iBAAA;;;ACTD;MAYa,mBAAmB,CAAA;AACrB,IAAA,MAAM,GAAG,KAAK,CAAoB,IAAI,kDAAC;uGADrC,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,aAAA,EAAA,UAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,eAAe,EAAE;AACpB;AACJ,iBAAA;;;ACRD;AACO,MAAM,uBAAuB,GAAG;IACnC,mBAAmB;IACnB;;;ACNJ;;AAEG;;;;"}
|
package/package.json
CHANGED
package/types/chips.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class HyChipColorDirective {
|
|
4
|
-
hyColor: i0.InputSignal<boolean
|
|
4
|
+
hyColor: i0.InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<HyChipColorDirective, never>;
|
|
6
6
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HyChipColorDirective, "mat-chip[hyColor]", never, { "hyColor": { "alias": "hyColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|