@hug/hospitality 1.0.0-alpha.32 → 1.0.0-alpha.35

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.
@@ -0,0 +1,26 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, Directive } from '@angular/core';
3
+
4
+ /* eslint-disable @typescript-eslint/naming-convention */
5
+ class HyBadgeAppearanceDirective {
6
+ hyBadgeAppearance = input(null, ...(ngDevMode ? [{ debugName: "hyBadgeAppearance" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyBadgeAppearanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: HyBadgeAppearanceDirective, isStandalone: true, selector: "[matBadge][hyBadgeAppearance]", inputs: { hyBadgeAppearance: { classPropertyName: "hyBadgeAppearance", publicName: "hyBadgeAppearance", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.hyBadgeAppearance": "hyBadgeAppearance()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: HyBadgeAppearanceDirective, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: '[matBadge][hyBadgeAppearance]',
14
+ standalone: true,
15
+ host: {
16
+ '[attr.hyBadgeAppearance]': 'hyBadgeAppearance()'
17
+ }
18
+ }]
19
+ }], propDecorators: { hyBadgeAppearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "hyBadgeAppearance", required: false }] }] } });
20
+
21
+ /**
22
+ * Generated bundle index. Do not edit.
23
+ */
24
+
25
+ export { HyBadgeAppearanceDirective };
26
+ //# sourceMappingURL=badge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.mjs","sources":["../../material/badge/badge-appearance.directive.ts","../../material/badge/badge.ts"],"sourcesContent":["\n/* eslint-disable @typescript-eslint/naming-convention */\nimport { Directive, input } from '@angular/core';\n\nexport type HyBadgeAppearanceType = 'warning' | 'error';\n\n@Directive({\n selector: '[matBadge][hyBadgeAppearance]',\n standalone: true,\n host: {\n '[attr.hyBadgeAppearance]': 'hyBadgeAppearance()'\n }\n})\nexport class HyBadgeAppearanceDirective {\n public hyBadgeAppearance = input<HyBadgeAppearanceType | null>(null);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AACA;MAYa,0BAA0B,CAAA;AAC5B,IAAA,iBAAiB,GAAG,KAAK,CAA+B,IAAI,6DAAC;uGAD3D,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,wBAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAPtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,+BAA+B;AACzC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,0BAA0B,EAAE;AAC/B;AACJ,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -226,97 +226,97 @@ var colors = {
226
226
  id: "VariableID:64392:2699",
227
227
  name: "hy-color-ref-tertiary-99",
228
228
  type: "COLOR",
229
- value: "#f2fffbff"
229
+ value: "#f3fbfbff"
230
230
  },
231
231
  {
232
232
  id: "VariableID:64392:2700",
233
233
  name: "hy-color-ref-tertiary-98",
234
234
  type: "COLOR",
235
- value: "#e4fff9ff"
235
+ value: "#e0f5f3ff"
236
236
  },
237
237
  {
238
238
  id: "VariableID:64392:2701",
239
239
  name: "hy-color-ref-tertiary-95",
240
240
  type: "COLOR",
241
- value: "#b3fff3ff"
241
+ value: "#b9e9e5ff"
242
242
  },
243
243
  {
244
244
  id: "VariableID:64392:2702",
245
245
  name: "hy-color-ref-tertiary-90",
246
246
  type: "COLOR",
247
- value: "#7df6e6ff"
247
+ value: "#92ddd6ff"
248
248
  },
249
249
  {
250
250
  id: "VariableID:64392:2703",
251
251
  name: "hy-color-ref-tertiary-80",
252
252
  type: "COLOR",
253
- value: "#5edacaff"
253
+ value: "#69d4caff"
254
254
  },
255
255
  {
256
256
  id: "VariableID:64392:2704",
257
257
  name: "hy-color-ref-tertiary-70",
258
258
  type: "COLOR",
259
- value: "#3cbeafff"
259
+ value: "#40b0a6ff"
260
260
  },
261
261
  {
262
262
  id: "VariableID:64392:2705",
263
263
  name: "hy-color-ref-tertiary-60",
264
264
  type: "COLOR",
265
- value: "#02a294ff"
265
+ value: "#20a397ff"
266
266
  },
267
267
  {
268
268
  id: "VariableID:64392:2706",
269
269
  name: "hy-color-ref-tertiary-50",
270
270
  type: "COLOR",
271
- value: "#00867aff"
271
+ value: "#009688ff"
272
272
  },
273
273
  {
274
274
  id: "VariableID:64392:2707",
275
275
  name: "hy-color-ref-tertiary-40",
276
276
  type: "COLOR",
277
- value: "#006a61ff"
277
+ value: "#008175ff"
278
278
  },
279
279
  {
280
280
  id: "VariableID:64392:2708",
281
281
  name: "hy-color-ref-tertiary-35",
282
282
  type: "COLOR",
283
- value: "#005d55ff"
283
+ value: "#00756aff"
284
284
  },
285
285
  {
286
286
  id: "VariableID:64392:2709",
287
287
  name: "hy-color-ref-tertiary-30",
288
288
  type: "COLOR",
289
- value: "#005049ff"
289
+ value: "#00645bff"
290
290
  },
291
291
  {
292
292
  id: "VariableID:64392:2710",
293
293
  name: "hy-color-ref-tertiary-25",
294
294
  type: "COLOR",
295
- value: "#00443dff"
295
+ value: "#00534cff"
296
296
  },
297
297
  {
298
298
  id: "VariableID:64392:2711",
299
299
  name: "hy-color-ref-tertiary-20",
300
300
  type: "COLOR",
301
- value: "#003732ff"
301
+ value: "#003b35ff"
302
302
  },
303
303
  {
304
304
  id: "VariableID:64392:2712",
305
305
  name: "hy-color-ref-tertiary-15",
306
306
  type: "COLOR",
307
- value: "#002b27ff"
307
+ value: "#00322dff"
308
308
  },
309
309
  {
310
310
  id: "VariableID:64392:2713",
311
311
  name: "hy-color-ref-tertiary-10",
312
312
  type: "COLOR",
313
- value: "#00201cff"
313
+ value: "#00211eff"
314
314
  },
315
315
  {
316
316
  id: "VariableID:64392:2714",
317
317
  name: "hy-color-ref-tertiary-5",
318
318
  type: "COLOR",
319
- value: "#001412ff"
319
+ value: "#00110fff"
320
320
  },
321
321
  {
322
322
  id: "VariableID:64392:2715",
@@ -879,10 +879,10 @@ var colors = {
879
879
  id: "VariableID:64392:2707",
880
880
  name: "hy-color-ref-tertiary-40",
881
881
  type: "COLOR",
882
- value: "#006a61ff"
882
+ value: "#008175ff"
883
883
  }
884
884
  ],
885
- _referenceValue: "#006a61ff",
885
+ _referenceValue: "#008175ff",
886
886
  id: "VariableID:59803:479"
887
887
  },
888
888
  {
@@ -907,10 +907,10 @@ var colors = {
907
907
  id: "VariableID:64392:2702",
908
908
  name: "hy-color-ref-tertiary-90",
909
909
  type: "COLOR",
910
- value: "#7df6e6ff"
910
+ value: "#92ddd6ff"
911
911
  }
912
912
  ],
913
- _referenceValue: "#7df6e6ff",
913
+ _referenceValue: "#92ddd6ff",
914
914
  id: "VariableID:59803:481"
915
915
  },
916
916
  {
@@ -921,10 +921,10 @@ var colors = {
921
921
  id: "VariableID:64392:2713",
922
922
  name: "hy-color-ref-tertiary-10",
923
923
  type: "COLOR",
924
- value: "#00201cff"
924
+ value: "#00211eff"
925
925
  }
926
926
  ],
927
- _referenceValue: "#00201cff",
927
+ _referenceValue: "#00211eff",
928
928
  id: "VariableID:59803:482"
929
929
  },
930
930
  {
@@ -1355,10 +1355,10 @@ var colors = {
1355
1355
  id: "VariableID:64392:2702",
1356
1356
  name: "hy-color-ref-tertiary-90",
1357
1357
  type: "COLOR",
1358
- value: "#7df6e6ff"
1358
+ value: "#92ddd6ff"
1359
1359
  }
1360
1360
  ],
1361
- _referenceValue: "#7df6e6ff",
1361
+ _referenceValue: "#92ddd6ff",
1362
1362
  id: "VariableID:59803:513"
1363
1363
  },
1364
1364
  {
@@ -1369,10 +1369,10 @@ var colors = {
1369
1369
  id: "VariableID:64392:2713",
1370
1370
  name: "hy-color-ref-tertiary-10",
1371
1371
  type: "COLOR",
1372
- value: "#00201cff"
1372
+ value: "#00211eff"
1373
1373
  }
1374
1374
  ],
1375
- _referenceValue: "#00201cff",
1375
+ _referenceValue: "#00211eff",
1376
1376
  id: "VariableID:59803:514"
1377
1377
  },
1378
1378
  {
@@ -1383,10 +1383,10 @@ var colors = {
1383
1383
  id: "VariableID:64392:2703",
1384
1384
  name: "hy-color-ref-tertiary-80",
1385
1385
  type: "COLOR",
1386
- value: "#5edacaff"
1386
+ value: "#69d4caff"
1387
1387
  }
1388
1388
  ],
1389
- _referenceValue: "#5edacaff",
1389
+ _referenceValue: "#69d4caff",
1390
1390
  id: "VariableID:59803:515"
1391
1391
  },
1392
1392
  {
@@ -1397,10 +1397,10 @@ var colors = {
1397
1397
  id: "VariableID:64392:2709",
1398
1398
  name: "hy-color-ref-tertiary-30",
1399
1399
  type: "COLOR",
1400
- value: "#005049ff"
1400
+ value: "#00645bff"
1401
1401
  }
1402
1402
  ],
1403
- _referenceValue: "#005049ff",
1403
+ _referenceValue: "#00645bff",
1404
1404
  id: "VariableID:59803:516"
1405
1405
  },
1406
1406
  {
@@ -1623,10 +1623,10 @@ var colors = {
1623
1623
  id: "VariableID:64392:2703",
1624
1624
  name: "hy-color-ref-tertiary-80",
1625
1625
  type: "COLOR",
1626
- value: "#5edacaff"
1626
+ value: "#69d4caff"
1627
1627
  }
1628
1628
  ],
1629
- _referenceValue: "#5edacaff",
1629
+ _referenceValue: "#69d4caff",
1630
1630
  id: "VariableID:59803:479"
1631
1631
  },
1632
1632
  {
@@ -1637,10 +1637,10 @@ var colors = {
1637
1637
  id: "VariableID:64392:2711",
1638
1638
  name: "hy-color-ref-tertiary-20",
1639
1639
  type: "COLOR",
1640
- value: "#003732ff"
1640
+ value: "#003b35ff"
1641
1641
  }
1642
1642
  ],
1643
- _referenceValue: "#003732ff",
1643
+ _referenceValue: "#003b35ff",
1644
1644
  id: "VariableID:59803:480"
1645
1645
  },
1646
1646
  {
@@ -1651,10 +1651,10 @@ var colors = {
1651
1651
  id: "VariableID:64392:2709",
1652
1652
  name: "hy-color-ref-tertiary-30",
1653
1653
  type: "COLOR",
1654
- value: "#005049ff"
1654
+ value: "#00645bff"
1655
1655
  }
1656
1656
  ],
1657
- _referenceValue: "#005049ff",
1657
+ _referenceValue: "#00645bff",
1658
1658
  id: "VariableID:59803:481"
1659
1659
  },
1660
1660
  {
@@ -1665,10 +1665,10 @@ var colors = {
1665
1665
  id: "VariableID:64392:2702",
1666
1666
  name: "hy-color-ref-tertiary-90",
1667
1667
  type: "COLOR",
1668
- value: "#7df6e6ff"
1668
+ value: "#92ddd6ff"
1669
1669
  }
1670
1670
  ],
1671
- _referenceValue: "#7df6e6ff",
1671
+ _referenceValue: "#92ddd6ff",
1672
1672
  id: "VariableID:59803:482"
1673
1673
  },
1674
1674
  {
@@ -2099,10 +2099,10 @@ var colors = {
2099
2099
  id: "VariableID:64392:2702",
2100
2100
  name: "hy-color-ref-tertiary-90",
2101
2101
  type: "COLOR",
2102
- value: "#7df6e6ff"
2102
+ value: "#92ddd6ff"
2103
2103
  }
2104
2104
  ],
2105
- _referenceValue: "#7df6e6ff",
2105
+ _referenceValue: "#92ddd6ff",
2106
2106
  id: "VariableID:59803:513"
2107
2107
  },
2108
2108
  {
@@ -2113,10 +2113,10 @@ var colors = {
2113
2113
  id: "VariableID:64392:2713",
2114
2114
  name: "hy-color-ref-tertiary-10",
2115
2115
  type: "COLOR",
2116
- value: "#00201cff"
2116
+ value: "#00211eff"
2117
2117
  }
2118
2118
  ],
2119
- _referenceValue: "#00201cff",
2119
+ _referenceValue: "#00211eff",
2120
2120
  id: "VariableID:59803:514"
2121
2121
  },
2122
2122
  {
@@ -2127,10 +2127,10 @@ var colors = {
2127
2127
  id: "VariableID:64392:2703",
2128
2128
  name: "hy-color-ref-tertiary-80",
2129
2129
  type: "COLOR",
2130
- value: "#5edacaff"
2130
+ value: "#69d4caff"
2131
2131
  }
2132
2132
  ],
2133
- _referenceValue: "#5edacaff",
2133
+ _referenceValue: "#69d4caff",
2134
2134
  id: "VariableID:59803:515"
2135
2135
  },
2136
2136
  {
@@ -2141,10 +2141,10 @@ var colors = {
2141
2141
  id: "VariableID:64392:2709",
2142
2142
  name: "hy-color-ref-tertiary-30",
2143
2143
  type: "COLOR",
2144
- value: "#005049ff"
2144
+ value: "#00645bff"
2145
2145
  }
2146
2146
  ],
2147
- _referenceValue: "#005049ff",
2147
+ _referenceValue: "#00645bff",
2148
2148
  id: "VariableID:59803:516"
2149
2149
  },
2150
2150
  {
@@ -2341,31 +2341,31 @@ var colors = {
2341
2341
  },
2342
2342
  {
2343
2343
  id: "VariableID:64399:2704",
2344
- name: "hy-color-pal-green2-10",
2344
+ name: "hy-color-pal-teal-10",
2345
2345
  type: "COLOR",
2346
2346
  value: "#052a1fff"
2347
2347
  },
2348
2348
  {
2349
2349
  id: "VariableID:64399:2705",
2350
- name: "hy-color-pal-green2-30",
2350
+ name: "hy-color-pal-teal-30",
2351
2351
  type: "COLOR",
2352
2352
  value: "#0b5740ff"
2353
2353
  },
2354
2354
  {
2355
2355
  id: "VariableID:64399:2706",
2356
- name: "hy-color-pal-green2-50",
2356
+ name: "hy-color-pal-teal-50",
2357
2357
  type: "COLOR",
2358
2358
  value: "#108561ff"
2359
2359
  },
2360
2360
  {
2361
2361
  id: "VariableID:64399:2707",
2362
- name: "hy-color-pal-green2-70",
2362
+ name: "hy-color-pal-teal-70",
2363
2363
  type: "COLOR",
2364
2364
  value: "#1be0a3ff"
2365
2365
  },
2366
2366
  {
2367
2367
  id: "VariableID:64399:2708",
2368
- name: "hy-color-pal-green2-90",
2368
+ name: "hy-color-pal-teal-90",
2369
2369
  type: "COLOR",
2370
2370
  value: "#73eec8ff"
2371
2371
  },
@@ -2463,7 +2463,7 @@ var colors = {
2463
2463
  id: "VariableID:64187:4017",
2464
2464
  name: "hy-color-pal-brown-10",
2465
2465
  type: "COLOR",
2466
- value: "#432902ff"
2466
+ value: "#3b2606ff"
2467
2467
  },
2468
2468
  {
2469
2469
  id: "VariableID:64187:4016",
@@ -2493,31 +2493,31 @@ var colors = {
2493
2493
  id: "VariableID:64187:4013",
2494
2494
  name: "hy-color-pal-orange-10",
2495
2495
  type: "COLOR",
2496
- value: "#1f0a05ff"
2496
+ value: "#432100ff"
2497
2497
  },
2498
2498
  {
2499
2499
  id: "VariableID:64187:4018",
2500
2500
  name: "hy-color-pal-orange-30",
2501
2501
  type: "COLOR",
2502
- value: "#782712ff"
2502
+ value: "#8b4d00ff"
2503
2503
  },
2504
2504
  {
2505
2505
  id: "VariableID:64187:4012",
2506
2506
  name: "hy-color-pal-orange-50",
2507
2507
  type: "COLOR",
2508
- value: "#d1431fff"
2508
+ value: "#da771fff"
2509
2509
  },
2510
2510
  {
2511
2511
  id: "VariableID:64187:4046",
2512
2512
  name: "hy-color-pal-orange-70",
2513
2513
  type: "COLOR",
2514
- value: "#e9866dff"
2514
+ value: "#f5a85aff"
2515
2515
  },
2516
2516
  {
2517
2517
  id: "VariableID:64187:4011",
2518
2518
  name: "hy-color-pal-orange-90",
2519
2519
  type: "COLOR",
2520
- value: "#f6cfc6ff"
2520
+ value: "#ffe3c8ff"
2521
2521
  }
2522
2522
  ],
2523
2523
  dark: [
@@ -2613,31 +2613,31 @@ var colors = {
2613
2613
  },
2614
2614
  {
2615
2615
  id: "VariableID:64399:2704",
2616
- name: "hy-color-pal-green2-10",
2616
+ name: "hy-color-pal-teal-10",
2617
2617
  type: "COLOR",
2618
2618
  value: "#73eec8ff"
2619
2619
  },
2620
2620
  {
2621
2621
  id: "VariableID:64399:2705",
2622
- name: "hy-color-pal-green2-30",
2622
+ name: "hy-color-pal-teal-30",
2623
2623
  type: "COLOR",
2624
2624
  value: "#1be0a3ff"
2625
2625
  },
2626
2626
  {
2627
2627
  id: "VariableID:64399:2706",
2628
- name: "hy-color-pal-green2-50",
2628
+ name: "hy-color-pal-teal-50",
2629
2629
  type: "COLOR",
2630
2630
  value: "#108561ff"
2631
2631
  },
2632
2632
  {
2633
2633
  id: "VariableID:64399:2707",
2634
- name: "hy-color-pal-green2-70",
2634
+ name: "hy-color-pal-teal-70",
2635
2635
  type: "COLOR",
2636
2636
  value: "#0b5740ff"
2637
2637
  },
2638
2638
  {
2639
2639
  id: "VariableID:64399:2708",
2640
- name: "hy-color-pal-green2-90",
2640
+ name: "hy-color-pal-teal-90",
2641
2641
  type: "COLOR",
2642
2642
  value: "#052a1fff"
2643
2643
  },
@@ -2759,37 +2759,37 @@ var colors = {
2759
2759
  id: "VariableID:64187:4014",
2760
2760
  name: "hy-color-pal-brown-90",
2761
2761
  type: "COLOR",
2762
- value: "#432902ff"
2762
+ value: "#392302ff"
2763
2763
  },
2764
2764
  {
2765
2765
  id: "VariableID:64187:4013",
2766
2766
  name: "hy-color-pal-orange-10",
2767
2767
  type: "COLOR",
2768
- value: "#f6cfc6ff"
2768
+ value: "#ffe3c8ff"
2769
2769
  },
2770
2770
  {
2771
2771
  id: "VariableID:64187:4018",
2772
2772
  name: "hy-color-pal-orange-30",
2773
2773
  type: "COLOR",
2774
- value: "#e9866dff"
2774
+ value: "#f5a85aff"
2775
2775
  },
2776
2776
  {
2777
2777
  id: "VariableID:64187:4012",
2778
2778
  name: "hy-color-pal-orange-50",
2779
2779
  type: "COLOR",
2780
- value: "#d1431fff"
2780
+ value: "#da771fff"
2781
2781
  },
2782
2782
  {
2783
2783
  id: "VariableID:64187:4046",
2784
2784
  name: "hy-color-pal-orange-70",
2785
2785
  type: "COLOR",
2786
- value: "#782712ff"
2786
+ value: "#8b4d00ff"
2787
2787
  },
2788
2788
  {
2789
2789
  id: "VariableID:64187:4011",
2790
2790
  name: "hy-color-pal-orange-90",
2791
2791
  type: "COLOR",
2792
- value: "#1f0a05ff"
2792
+ value: "#432100ff"
2793
2793
  }
2794
2794
  ]
2795
2795
  }
@@ -0,0 +1,43 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ .mat-badge {
4
+ @include mat.badge-overrides(
5
+ (
6
+ background-color: var(--mat-sys-tertiary),
7
+ text-color: var(--mat-sys-on-tertiary),
8
+ disabled-state-background-color: color-mix(
9
+ in srgb,
10
+ var(--mat-sys-tertiary) var(--hy-state-layer-x-large),
11
+ transparent
12
+ ),
13
+ )
14
+ );
15
+
16
+ &[hyBadgeAppearance="warning"] {
17
+ @include mat.badge-overrides(
18
+ (
19
+ background-color: var(--hy-color-warning),
20
+ text-color: var(--hy-color-on-warning),
21
+ disabled-state-background-color: color-mix(
22
+ in srgb,
23
+ var(--hy-color-warning) var(--hy-state-layer-x-large),
24
+ transparent
25
+ ),
26
+ )
27
+ );
28
+ }
29
+
30
+ &[hyBadgeAppearance="error"] {
31
+ @include mat.badge-overrides(
32
+ (
33
+ background-color: var(--mat-sys-error),
34
+ text-color: var(--mat-sys-on-error),
35
+ disabled-state-background-color: color-mix(
36
+ in srgb,
37
+ var(--mat-sys-error) var(--hy-state-layer-x-large),
38
+ transparent
39
+ ),
40
+ )
41
+ );
42
+ }
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hug/hospitality",
3
- "version": "1.0.0-alpha.32",
3
+ "version": "1.0.0-alpha.35",
4
4
  "description": "Hospitality Design System",
5
5
  "homepage": "https://github.com/dsi-hug/hospitality",
6
6
  "license": "GPL-3.0-only",
@@ -23,6 +23,11 @@
23
23
  "./material/app-bar": {
24
24
  "sass": "./material/app-bar/app-bar.scss"
25
25
  },
26
+ "./material/badge": {
27
+ "sass": "./material/badge/badge.scss",
28
+ "types": "./types/badge.d.ts",
29
+ "default": "./fesm2022/badge.mjs"
30
+ },
26
31
  "./material/button": {
27
32
  "sass": "./material/button/button.scss",
28
33
  "types": "./types/buttons.d.ts",
package/tokens/tokens.css CHANGED
@@ -51,22 +51,22 @@
51
51
  --hy-color-ref-secondary-0: #000000ff;
52
52
 
53
53
  --hy-color-ref-tertiary-100: #ffffffff;
54
- --hy-color-ref-tertiary-99: #f2fffbff;
55
- --hy-color-ref-tertiary-98: #e4fff9ff;
56
- --hy-color-ref-tertiary-95: #b3fff3ff;
57
- --hy-color-ref-tertiary-90: #7df6e6ff;
58
- --hy-color-ref-tertiary-80: #5edacaff;
59
- --hy-color-ref-tertiary-70: #3cbeafff;
60
- --hy-color-ref-tertiary-60: #02a294ff;
61
- --hy-color-ref-tertiary-50: #00867aff;
62
- --hy-color-ref-tertiary-40: #006a61ff;
63
- --hy-color-ref-tertiary-35: #005d55ff;
64
- --hy-color-ref-tertiary-30: #005049ff;
65
- --hy-color-ref-tertiary-25: #00443dff;
66
- --hy-color-ref-tertiary-20: #003732ff;
67
- --hy-color-ref-tertiary-15: #002b27ff;
68
- --hy-color-ref-tertiary-10: #00201cff;
69
- --hy-color-ref-tertiary-5: #001412ff;
54
+ --hy-color-ref-tertiary-99: #f3fbfbff;
55
+ --hy-color-ref-tertiary-98: #e0f5f3ff;
56
+ --hy-color-ref-tertiary-95: #b9e9e5ff;
57
+ --hy-color-ref-tertiary-90: #92ddd6ff;
58
+ --hy-color-ref-tertiary-80: #69d4caff;
59
+ --hy-color-ref-tertiary-70: #40b0a6ff;
60
+ --hy-color-ref-tertiary-60: #20a397ff;
61
+ --hy-color-ref-tertiary-50: #009688ff;
62
+ --hy-color-ref-tertiary-40: #008175ff;
63
+ --hy-color-ref-tertiary-35: #00756aff;
64
+ --hy-color-ref-tertiary-30: #00645bff;
65
+ --hy-color-ref-tertiary-25: #00534cff;
66
+ --hy-color-ref-tertiary-20: #003b35ff;
67
+ --hy-color-ref-tertiary-15: #00322dff;
68
+ --hy-color-ref-tertiary-10: #00211eff;
69
+ --hy-color-ref-tertiary-5: #00110fff;
70
70
  --hy-color-ref-tertiary-0: #000000ff;
71
71
 
72
72
  --hy-color-ref-error-100: #ffffffff;
@@ -165,11 +165,11 @@
165
165
  --hy-color-pal-green-50: light-dark(#28871eff, #28871eff);
166
166
  --hy-color-pal-green-70: light-dark(#47d338ff, #1c5d15ff);
167
167
  --hy-color-pal-green-90: light-dark(#94e58cff, #0f340bff);
168
- --hy-color-pal-green2-10: light-dark(#052a1fff, #73eec8ff);
169
- --hy-color-pal-green2-30: light-dark(#0b5740ff, #1be0a3ff);
170
- --hy-color-pal-green2-50: light-dark(#108561ff, #108561ff);
171
- --hy-color-pal-green2-70: light-dark(#1be0a3ff, #0b5740ff);
172
- --hy-color-pal-green2-90: light-dark(#73eec8ff, #052a1fff);
168
+ --hy-color-pal-teal-10: light-dark(#052a1fff, #73eec8ff);
169
+ --hy-color-pal-teal-30: light-dark(#0b5740ff, #1be0a3ff);
170
+ --hy-color-pal-teal-50: light-dark(#108561ff, #108561ff);
171
+ --hy-color-pal-teal-70: light-dark(#1be0a3ff, #0b5740ff);
172
+ --hy-color-pal-teal-90: light-dark(#73eec8ff, #052a1fff);
173
173
  --hy-color-pal-yellow-10: light-dark(#3d3313ff, #fff4ccff);
174
174
  --hy-color-pal-yellow-30: light-dark(#786518ff, #ffe998ff);
175
175
  --hy-color-pal-yellow-50: light-dark(#ffd500ff, #ffd500ff);
@@ -185,16 +185,16 @@
185
185
  --hy-color-pal-pink-50: light-dark(#de1f7aff, #de1f7aff);
186
186
  --hy-color-pal-pink-70: light-dark(#ec77afff, #841349ff);
187
187
  --hy-color-pal-pink-90: light-dark(#f9d0e4ff, #2b0618ff);
188
- --hy-color-pal-brown-10: light-dark(#432902ff, #e9d9c1ff);
188
+ --hy-color-pal-brown-10: light-dark(#3b2606ff, #e9d9c1ff);
189
189
  --hy-color-pal-brown-30: light-dark(#744804ff, #bc8c44ff);
190
190
  --hy-color-pal-brown-50: light-dark(#a66605ff, #a66605ff);
191
191
  --hy-color-pal-brown-70: light-dark(#bc8c44ff, #744804ff);
192
- --hy-color-pal-brown-90: light-dark(#e9d9c1ff, #432902ff);
193
- --hy-color-pal-orange-10: light-dark(#1f0a05ff, #f6cfc6ff);
194
- --hy-color-pal-orange-30: light-dark(#782712ff, #e9866dff);
195
- --hy-color-pal-orange-50: light-dark(#d1431fff, #d1431fff);
196
- --hy-color-pal-orange-70: light-dark(#e9866dff, #782712ff);
197
- --hy-color-pal-orange-90: light-dark(#f6cfc6ff, #1f0a05ff);
192
+ --hy-color-pal-brown-90: light-dark(#e9d9c1ff, #392302ff);
193
+ --hy-color-pal-orange-10: light-dark(#432100ff, #ffe3c8ff);
194
+ --hy-color-pal-orange-30: light-dark(#8b4d00ff, #f5a85aff);
195
+ --hy-color-pal-orange-50: light-dark(#da771fff, #da771fff);
196
+ --hy-color-pal-orange-70: light-dark(#f5a85aff, #8b4d00ff);
197
+ --hy-color-pal-orange-90: light-dark(#ffe3c8ff, #432100ff);
198
198
 
199
199
  /**
200
200
  * =================================================================================
@@ -0,0 +1,10 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ type HyBadgeAppearanceType = 'warning' | 'error';
4
+ declare class HyBadgeAppearanceDirective {
5
+ hyBadgeAppearance: i0.InputSignal<HyBadgeAppearanceType | null>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HyBadgeAppearanceDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HyBadgeAppearanceDirective, "[matBadge][hyBadgeAppearance]", never, { "hyBadgeAppearance": { "alias": "hyBadgeAppearance"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8
+ }
9
+
10
+ export { HyBadgeAppearanceDirective };