@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.
@@ -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(null, ...(ngDevMode ? [{ debugName: "hyColor" }] : []));
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 }] }] } });
@@ -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 | null>(null);\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,CAAiB,IAAI,mDAAC;uGADnC,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,iB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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;;;;"}
@@ -13,7 +13,6 @@ mat-chip {
13
13
  var(--hy-color-on-warning-container)
14
14
  ),
15
15
  outline-color: transparent,
16
- disabled-outline-color: transparent,
17
16
  hover-state-layer-color: var(
18
17
  --hy-chips-text-icon-color,
19
18
  var(--hy-color-on-warning-container)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hug/hospitality",
3
- "version": "1.0.0-alpha.48",
3
+ "version": "1.0.0-alpha.49",
4
4
  "description": "Hospitality Design System",
5
5
  "homepage": "https://github.com/dsi-hug/hospitality",
6
6
  "license": "GPL-3.0-only",
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 | null>;
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
  }