@joanroucoux/cairn-ui 0.9.1 → 0.10.0

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/fesm2022/joanroucoux-cairn-ui-action-bar.mjs +3 -3
  3. package/fesm2022/joanroucoux-cairn-ui-alert.mjs +3 -3
  4. package/fesm2022/joanroucoux-cairn-ui-amount.mjs +3 -3
  5. package/fesm2022/joanroucoux-cairn-ui-async.mjs +3 -3
  6. package/fesm2022/joanroucoux-cairn-ui-avatar.mjs +6 -6
  7. package/fesm2022/joanroucoux-cairn-ui-back-link.mjs +4 -4
  8. package/fesm2022/joanroucoux-cairn-ui-back-link.mjs.map +1 -1
  9. package/fesm2022/joanroucoux-cairn-ui-badge.mjs +3 -3
  10. package/fesm2022/joanroucoux-cairn-ui-button.mjs +3 -3
  11. package/fesm2022/joanroucoux-cairn-ui-card.mjs +3 -3
  12. package/fesm2022/joanroucoux-cairn-ui-choice-chips.mjs +3 -3
  13. package/fesm2022/joanroucoux-cairn-ui-delta.mjs +3 -3
  14. package/fesm2022/joanroucoux-cairn-ui-dialog.mjs +4 -4
  15. package/fesm2022/joanroucoux-cairn-ui-dialog.mjs.map +1 -1
  16. package/fesm2022/joanroucoux-cairn-ui-donut.mjs +3 -3
  17. package/fesm2022/joanroucoux-cairn-ui-drawer.mjs +9 -8
  18. package/fesm2022/joanroucoux-cairn-ui-drawer.mjs.map +1 -1
  19. package/fesm2022/joanroucoux-cairn-ui-empty.mjs +3 -3
  20. package/fesm2022/joanroucoux-cairn-ui-external-link.mjs +3 -3
  21. package/fesm2022/joanroucoux-cairn-ui-fact.mjs +6 -6
  22. package/fesm2022/joanroucoux-cairn-ui-field.mjs +9 -9
  23. package/fesm2022/joanroucoux-cairn-ui-filter-chips.mjs +3 -3
  24. package/fesm2022/joanroucoux-cairn-ui-group-header.mjs +3 -3
  25. package/fesm2022/joanroucoux-cairn-ui-icon-toggle.mjs +43 -0
  26. package/fesm2022/joanroucoux-cairn-ui-icon-toggle.mjs.map +1 -0
  27. package/fesm2022/joanroucoux-cairn-ui-input.mjs +6 -6
  28. package/fesm2022/joanroucoux-cairn-ui-line-chart.mjs +3 -3
  29. package/fesm2022/joanroucoux-cairn-ui-menu.mjs +9 -9
  30. package/fesm2022/joanroucoux-cairn-ui-meter.mjs +3 -3
  31. package/fesm2022/joanroucoux-cairn-ui-motion.mjs +29 -20
  32. package/fesm2022/joanroucoux-cairn-ui-motion.mjs.map +1 -1
  33. package/fesm2022/joanroucoux-cairn-ui-nav-item.mjs +3 -3
  34. package/fesm2022/joanroucoux-cairn-ui-result-group.mjs +3 -3
  35. package/fesm2022/joanroucoux-cairn-ui-row.mjs +16 -16
  36. package/fesm2022/joanroucoux-cairn-ui-row.mjs.map +1 -1
  37. package/fesm2022/joanroucoux-cairn-ui-segmented.mjs +3 -3
  38. package/fesm2022/joanroucoux-cairn-ui-select-pill.mjs +3 -3
  39. package/fesm2022/joanroucoux-cairn-ui-select.mjs +3 -3
  40. package/fesm2022/joanroucoux-cairn-ui-skeleton.mjs +3 -3
  41. package/fesm2022/joanroucoux-cairn-ui-stale-link.mjs +3 -3
  42. package/fesm2022/joanroucoux-cairn-ui-stat.mjs +3 -3
  43. package/fesm2022/joanroucoux-cairn-ui-switch.mjs +3 -3
  44. package/fesm2022/joanroucoux-cairn-ui-tab-bar.mjs +6 -6
  45. package/fesm2022/joanroucoux-cairn-ui-table.mjs +29 -29
  46. package/fesm2022/joanroucoux-cairn-ui-table.mjs.map +1 -1
  47. package/fesm2022/joanroucoux-cairn-ui-toast.mjs +6 -6
  48. package/package.json +5 -1
  49. package/styles/theme.css +1 -0
  50. package/styles/tokens.css +1 -0
  51. package/types/joanroucoux-cairn-ui-drawer.d.ts +2 -0
  52. package/types/joanroucoux-cairn-ui-icon-toggle.d.ts +13 -0
  53. package/types/joanroucoux-cairn-ui-motion.d.ts +5 -1
@@ -31,10 +31,11 @@ var UiDrawer = class UiDrawer {
31
31
  descriptionId = `${this.headingId}-description`;
32
32
  describedBy = computed(() => this.heading() && this.description() ? this.descriptionId : null, ...ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []);
33
33
  ariaLabel = computed(() => {
34
- if (this.heading()) return null;
35
- if (!this.label()) throw new Error("ui-drawer needs a heading or a label: without either it has no accessible name.");
36
- return this.label();
34
+ if (this.label()) return this.label();
35
+ if (!this.heading()) throw new Error("ui-drawer needs a heading or a label: without either it has no accessible name.");
36
+ return null;
37
37
  }, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
38
+ labelledBy = computed(() => this.heading() && !this.label() ? this.headingId : null, ...ngDevMode ? [{ debugName: "labelledBy" }] : /* istanbul ignore next */ []);
38
39
  modal = new ModalClose({
39
40
  open: this.open,
40
41
  busy: this.busy,
@@ -43,7 +44,7 @@ var UiDrawer = class UiDrawer {
43
44
  });
44
45
  static ɵfac = i0.ɵɵngDeclareFactory({
45
46
  minVersion: "12.0.0",
46
- version: "22.2.0",
47
+ version: "22.2.1",
47
48
  ngImport: i0,
48
49
  type: UiDrawer,
49
50
  deps: [],
@@ -51,7 +52,7 @@ var UiDrawer = class UiDrawer {
51
52
  });
52
53
  static ɵcmp = i0.ɵɵngDeclareComponent({
53
54
  minVersion: "17.0.0",
54
- version: "22.2.0",
55
+ version: "22.2.1",
55
56
  type: UiDrawer,
56
57
  isStandalone: true,
57
58
  selector: "ui-drawer",
@@ -122,7 +123,7 @@ var UiDrawer = class UiDrawer {
122
123
  [attr.aria-busy]="busy() || null"
123
124
  [attr.aria-describedby]="describedBy()"
124
125
  [attr.aria-label]="ariaLabel()"
125
- [attr.aria-labelledby]="heading() ? headingId : null"
126
+ [attr.aria-labelledby]="labelledBy()"
126
127
  [style.--drawer-width]="width()"
127
128
  (cancel)="modal.onCancel($event)"
128
129
  (close)="modal.onNativeClose()"
@@ -169,7 +170,7 @@ var UiDrawer = class UiDrawer {
169
170
  };
170
171
  i0.ɵɵngDeclareClassMetadata({
171
172
  minVersion: "12.0.0",
172
- version: "22.2.0",
173
+ version: "22.2.1",
173
174
  ngImport: i0,
174
175
  type: UiDrawer,
175
176
  decorators: [{
@@ -187,7 +188,7 @@ i0.ɵɵngDeclareClassMetadata({
187
188
  [attr.aria-busy]="busy() || null"
188
189
  [attr.aria-describedby]="describedBy()"
189
190
  [attr.aria-label]="ariaLabel()"
190
- [attr.aria-labelledby]="heading() ? headingId : null"
191
+ [attr.aria-labelledby]="labelledBy()"
191
192
  [style.--drawer-width]="width()"
192
193
  (cancel)="modal.onCancel($event)"
193
194
  (close)="modal.onNativeClose()"
@@ -1 +1 @@
1
- {"version":3,"file":"joanroucoux-cairn-ui-drawer.mjs","names":[],"sources":["../../../projects/ui/drawer/internal/drawer-styles.ts","../../../projects/ui/drawer/drawer.ts"],"sourcesContent":["export const DRAWER_STYLES = `\ndialog {\n transition:\n opacity var(--duration-base) var(--ease-out),\n transform var(--duration-base) var(--ease-out),\n overlay var(--duration-base) allow-discrete,\n display var(--duration-base) allow-discrete;\n opacity: 1;\n transform: none;\n}\n\ndialog:not([open]) {\n opacity: 0;\n transform: translateX(24px);\n transition-duration: var(--duration-exit);\n}\n\n@starting-style {\n dialog[open] {\n opacity: 0;\n transform: translateX(24px);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n dialog:not([open]) {\n transform: none;\n }\n\n @starting-style {\n dialog[open] {\n transform: none;\n }\n }\n}\n\ndialog::backdrop {\n transition: opacity var(--duration-base) var(--ease-out);\n opacity: 1;\n}\n\ndialog:not([open])::backdrop {\n opacity: 0;\n transition-duration: var(--duration-exit);\n}\n\n@starting-style {\n dialog[open]::backdrop {\n opacity: 0;\n }\n}\n`;\n","import { Component, booleanAttribute, computed, input, output } from '@angular/core';\n\nimport { ModalClose } from '@joanroucoux/cairn-ui/dialog';\n\nimport { DRAWER_STYLES } from './internal/drawer-styles';\n\n/** What started a close, as `closed` reports it. */\nexport const DRAWER_CLOSE_REASONS = ['escape', 'backdrop', 'cross', 'programmatic'] as const;\nexport type DrawerCloseReason = (typeof DRAWER_CLOSE_REASONS)[number];\n\nconst nextId = (() => {\n let count = 0;\n\n return () => `ui-drawer-${++count}`;\n})();\n\n/**\n * Modal side panel on the native <dialog>, against the right edge at full height, for a detail opened from a list.\n *\n * Without `heading` it draws no header: the content brings its own title and close button, and `label` names it.\n *\n * @example\n * <ui-drawer heading=\"Northwind Monde\" closeLabel=\"Fermer le détail\" [open]=\"open()\" (dismissed)=\"open.set(false)\">\n * <p>Body</p>\n * </ui-drawer>\n */\n@Component({\n selector: 'ui-drawer',\n host: {\n '(pointerdown)': 'modal.onPointerDown($event)',\n '(click)': 'modal.onClick($event)',\n '(keydown)': 'modal.onKeydown($event)',\n },\n template: `\n <dialog\n class=\"fixed inset-y-0 right-0 left-auto m-0 h-dvh max-h-none w-(--drawer-width) max-w-full [scrollbar-width:none] flex-col gap-6 overflow-y-auto overscroll-contain bg-(--card) p-6 text-(--foreground) shadow-[-1px_0_0_var(--border),-24px_0_48px_rgb(0_0_0/0.12)] outline-none backdrop:bg-black/[0.36] open:flex\"\n [attr.aria-busy]=\"busy() || null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"heading() ? headingId : null\"\n [style.--drawer-width]=\"width()\"\n (cancel)=\"modal.onCancel($event)\"\n (close)=\"modal.onNativeClose()\"\n >\n @if (heading()) {\n <div class=\"flex items-start justify-between gap-3\">\n <div class=\"flex min-w-0 flex-col gap-0.5\">\n <h2 class=\"text-title font-semibold text-pretty\" [id]=\"headingId\">{{ heading() }}</h2>\n\n @if (description()) {\n <p class=\"text-label text-(--muted-foreground)\" [id]=\"descriptionId\">{{ description() }}</p>\n }\n </div>\n\n @if (closeLabel()) {\n <button\n class=\"rounded-control -mt-1 -mr-2 grid size-9 flex-none cursor-pointer place-items-center text-(--muted-foreground) transition-[scale] duration-(--duration-press) ease-out outline-none hover:bg-(--glow) hover:text-(--foreground) focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-(--ring) active:scale-(--press-scale) disabled:pointer-events-none disabled:opacity-40\"\n type=\"button\"\n [attr.aria-label]=\"closeLabel()\"\n [disabled]=\"busy()\"\n (click)=\"modal.close('cross')\"\n >\n <svg\n aria-hidden=\"true\"\n class=\"block size-5 fill-none stroke-current stroke-[1.75]\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n viewBox=\"0 0 24 24\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n </button>\n }\n </div>\n }\n\n <ng-content />\n </dialog>\n `,\n styles: DRAWER_STYLES,\n})\nexport class UiDrawer {\n readonly heading = input<string>();\n readonly description = input<string>();\n readonly closeLabel = input<string>();\n readonly label = input<string>();\n readonly width = input('440px');\n readonly open = input(false, { transform: booleanAttribute });\n readonly busy = input(false, { transform: booleanAttribute });\n readonly dismissed = output<void>();\n readonly closed = output<DrawerCloseReason>();\n\n protected readonly headingId = nextId();\n protected readonly descriptionId = `${this.headingId}-description`;\n\n protected readonly describedBy = computed(() => (this.heading() && this.description() ? this.descriptionId : null));\n\n protected readonly ariaLabel = computed(() => {\n if (this.heading()) {\n return null;\n }\n if (!this.label()) {\n throw new Error('ui-drawer needs a heading or a label: without either it has no accessible name.');\n }\n return this.label();\n });\n\n protected readonly modal = new ModalClose<DrawerCloseReason>({\n open: this.open,\n busy: this.busy,\n dismissed: this.dismissed,\n closed: this.closed,\n });\n}\n"],"mappings":";;;ACOA,MAAa,uBAAuB;CAAC;CAAU;CAAY;CAAS;AAAc;AAGlF,MAAM,gBAAe;CACnB,IAAI,QAAQ;CAEZ,aAAa,aAAa,EAAE;AAC9B,EAAA,CAAE;AAoEF,IAAa,WAAb,MAAa,SAAQ;CACV,UAAU,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACzB,cAAc,MAAe,GAAA,YA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":[],"sources":["../../../projects/ui/drawer/internal/drawer-styles.ts","../../../projects/ui/drawer/drawer.ts"],"sourcesContent":["export const DRAWER_STYLES = `\ndialog {\n transition:\n opacity var(--duration-base) var(--ease-out),\n transform var(--duration-base) var(--ease-out),\n overlay var(--duration-base) allow-discrete,\n display var(--duration-base) allow-discrete;\n opacity: 1;\n transform: none;\n}\n\ndialog:not([open]) {\n opacity: 0;\n transform: translateX(24px);\n transition-duration: var(--duration-exit);\n}\n\n@starting-style {\n dialog[open] {\n opacity: 0;\n transform: translateX(24px);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n dialog:not([open]) {\n transform: none;\n }\n\n @starting-style {\n dialog[open] {\n transform: none;\n }\n }\n}\n\ndialog::backdrop {\n transition: opacity var(--duration-base) var(--ease-out);\n opacity: 1;\n}\n\ndialog:not([open])::backdrop {\n opacity: 0;\n transition-duration: var(--duration-exit);\n}\n\n@starting-style {\n dialog[open]::backdrop {\n opacity: 0;\n }\n}\n`;\n","import { Component, booleanAttribute, computed, input, output } from '@angular/core';\n\nimport { ModalClose } from '@joanroucoux/cairn-ui/dialog';\n\nimport { DRAWER_STYLES } from './internal/drawer-styles';\n\n/** What started a close, as `closed` reports it. */\nexport const DRAWER_CLOSE_REASONS = ['escape', 'backdrop', 'cross', 'programmatic'] as const;\nexport type DrawerCloseReason = (typeof DRAWER_CLOSE_REASONS)[number];\n\nconst nextId = (() => {\n let count = 0;\n\n return () => `ui-drawer-${++count}`;\n})();\n\n/**\n * Modal side panel on the native <dialog>, against the right edge at full height, for a detail opened from a list.\n *\n * Without `heading` it draws no header: the content brings its own title and close button, and `label` names it.\n * With both, `label` names the panel and the heading stays its visible title.\n *\n * @example\n * <ui-drawer heading=\"Northwind Monde\" closeLabel=\"Fermer le détail\" [open]=\"open()\" (dismissed)=\"open.set(false)\">\n * <p>Body</p>\n * </ui-drawer>\n */\n@Component({\n selector: 'ui-drawer',\n host: {\n '(pointerdown)': 'modal.onPointerDown($event)',\n '(click)': 'modal.onClick($event)',\n '(keydown)': 'modal.onKeydown($event)',\n },\n template: `\n <dialog\n class=\"fixed inset-y-0 right-0 left-auto m-0 h-dvh max-h-none w-(--drawer-width) max-w-full [scrollbar-width:none] flex-col gap-6 overflow-y-auto overscroll-contain bg-(--card) p-6 text-(--foreground) shadow-[-1px_0_0_var(--border),-24px_0_48px_rgb(0_0_0/0.12)] outline-none backdrop:bg-black/[0.36] open:flex\"\n [attr.aria-busy]=\"busy() || null\"\n [attr.aria-describedby]=\"describedBy()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [style.--drawer-width]=\"width()\"\n (cancel)=\"modal.onCancel($event)\"\n (close)=\"modal.onNativeClose()\"\n >\n @if (heading()) {\n <div class=\"flex items-start justify-between gap-3\">\n <div class=\"flex min-w-0 flex-col gap-0.5\">\n <h2 class=\"text-title font-semibold text-pretty\" [id]=\"headingId\">{{ heading() }}</h2>\n\n @if (description()) {\n <p class=\"text-label text-(--muted-foreground)\" [id]=\"descriptionId\">{{ description() }}</p>\n }\n </div>\n\n @if (closeLabel()) {\n <button\n class=\"rounded-control -mt-1 -mr-2 grid size-9 flex-none cursor-pointer place-items-center text-(--muted-foreground) transition-[scale] duration-(--duration-press) ease-out outline-none hover:bg-(--glow) hover:text-(--foreground) focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-(--ring) active:scale-(--press-scale) disabled:pointer-events-none disabled:opacity-40\"\n type=\"button\"\n [attr.aria-label]=\"closeLabel()\"\n [disabled]=\"busy()\"\n (click)=\"modal.close('cross')\"\n >\n <svg\n aria-hidden=\"true\"\n class=\"block size-5 fill-none stroke-current stroke-[1.75]\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n viewBox=\"0 0 24 24\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n </button>\n }\n </div>\n }\n\n <ng-content />\n </dialog>\n `,\n styles: DRAWER_STYLES,\n})\nexport class UiDrawer {\n readonly heading = input<string>();\n readonly description = input<string>();\n readonly closeLabel = input<string>();\n readonly label = input<string>();\n readonly width = input('440px');\n readonly open = input(false, { transform: booleanAttribute });\n readonly busy = input(false, { transform: booleanAttribute });\n readonly dismissed = output<void>();\n readonly closed = output<DrawerCloseReason>();\n\n protected readonly headingId = nextId();\n protected readonly descriptionId = `${this.headingId}-description`;\n\n protected readonly describedBy = computed(() => (this.heading() && this.description() ? this.descriptionId : null));\n\n protected readonly ariaLabel = computed(() => {\n if (this.label()) {\n return this.label();\n }\n if (!this.heading()) {\n throw new Error('ui-drawer needs a heading or a label: without either it has no accessible name.');\n }\n return null;\n });\n\n protected readonly labelledBy = computed(() => (this.heading() && !this.label() ? this.headingId : null));\n\n protected readonly modal = new ModalClose<DrawerCloseReason>({\n open: this.open,\n busy: this.busy,\n dismissed: this.dismissed,\n closed: this.closed,\n });\n}\n"],"mappings":";;;ACOA,MAAa,uBAAuB;CAAC;CAAU;CAAY;CAAS;AAAc;AAGlF,MAAM,gBAAe;CACnB,IAAI,QAAQ;CAEZ,aAAa,aAAa,EAAE;AAC9B,EAAA,CAAE;AAqEF,IAAa,WAAb,MAAa,SAAQ;CACV,UAAU,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACzB,cAAc,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;CAC7B,aAAa,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC5B,QAAQ,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CACvB,QAAQ,MAAM,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CACtB,OAAO,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,OAAA,+BAAA,CA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AAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,MAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,MAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,SAAA;GAAA,WAAA;GAAA,QAAA;EAAA;EAAA,MAAA,EAAA,WAAA;GAAA,eAAA;GAAA,SAAA;GAAA,WAAA;EAAA,EAAA;EAAA,UAAA;EAAA,UAjDT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CT,UAAA;EAAA,QAAA,CAAA,gtBAAA;CAAA,CAAA;;AAGU,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAQ,YAAA,CAAA;EAxDpB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAW,MACf;IACJ,iBAAiB;IACjB,WAAW;IACX,aAAa;GACd;GAAA,UACS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CT,QAAA,CAAA,gtBAAA;EAAA,CAAA"}
@@ -5,7 +5,7 @@ var UiEmpty = class UiEmpty {
5
5
  hint = input("", ...ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []);
6
6
  static ɵfac = i0.ɵɵngDeclareFactory({
7
7
  minVersion: "12.0.0",
8
- version: "22.2.0",
8
+ version: "22.2.1",
9
9
  ngImport: i0,
10
10
  type: UiEmpty,
11
11
  deps: [],
@@ -13,7 +13,7 @@ var UiEmpty = class UiEmpty {
13
13
  });
14
14
  static ɵcmp = i0.ɵɵngDeclareComponent({
15
15
  minVersion: "17.0.0",
16
- version: "22.2.0",
16
+ version: "22.2.1",
17
17
  type: UiEmpty,
18
18
  isStandalone: true,
19
19
  selector: "ui-empty",
@@ -47,7 +47,7 @@ var UiEmpty = class UiEmpty {
47
47
  };
48
48
  i0.ɵɵngDeclareClassMetadata({
49
49
  minVersion: "12.0.0",
50
- version: "22.2.0",
50
+ version: "22.2.1",
51
51
  ngImport: i0,
52
52
  type: UiEmpty,
53
53
  decorators: [{
@@ -3,7 +3,7 @@ import { Component } from "@angular/core";
3
3
  var UiExternalLink = class UiExternalLink {
4
4
  static ɵfac = i0.ɵɵngDeclareFactory({
5
5
  minVersion: "12.0.0",
6
- version: "22.2.0",
6
+ version: "22.2.1",
7
7
  ngImport: i0,
8
8
  type: UiExternalLink,
9
9
  deps: [],
@@ -11,7 +11,7 @@ var UiExternalLink = class UiExternalLink {
11
11
  });
12
12
  static ɵcmp = i0.ɵɵngDeclareComponent({
13
13
  minVersion: "14.0.0",
14
- version: "22.2.0",
14
+ version: "22.2.1",
15
15
  type: UiExternalLink,
16
16
  isStandalone: true,
17
17
  selector: "a[ui-external-link]",
@@ -40,7 +40,7 @@ var UiExternalLink = class UiExternalLink {
40
40
  };
41
41
  i0.ɵɵngDeclareClassMetadata({
42
42
  minVersion: "12.0.0",
43
- version: "22.2.0",
43
+ version: "22.2.1",
44
44
  ngImport: i0,
45
45
  type: UiExternalLink,
46
46
  decorators: [{
@@ -37,7 +37,7 @@ var UiFacts = class UiFacts {
37
37
  classes = computed(() => this.ruled() ? "m-0 flex flex-col shadow-[inset_0_1px_0_var(--hairline)]" : "m-0 flex flex-col", ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
38
38
  static ɵfac = i0.ɵɵngDeclareFactory({
39
39
  minVersion: "12.0.0",
40
- version: "22.2.0",
40
+ version: "22.2.1",
41
41
  ngImport: i0,
42
42
  type: UiFacts,
43
43
  deps: [],
@@ -45,7 +45,7 @@ var UiFacts = class UiFacts {
45
45
  });
46
46
  static ɵdir = i0.ɵɵngDeclareDirective({
47
47
  minVersion: "17.1.0",
48
- version: "22.2.0",
48
+ version: "22.2.1",
49
49
  type: UiFacts,
50
50
  isStandalone: true,
51
51
  selector: "dl[uiFacts]",
@@ -62,7 +62,7 @@ var UiFacts = class UiFacts {
62
62
  };
63
63
  i0.ɵɵngDeclareClassMetadata({
64
64
  minVersion: "12.0.0",
65
- version: "22.2.0",
65
+ version: "22.2.1",
66
66
  ngImport: i0,
67
67
  type: UiFacts,
68
68
  decorators: [{
@@ -91,7 +91,7 @@ var UiFact = class UiFact {
91
91
  subClasses = computed(() => `text-caption ${SUB_TONE_CLASSES[this.subTone()]}`, ...ngDevMode ? [{ debugName: "subClasses" }] : /* istanbul ignore next */ []);
92
92
  static ɵfac = i0.ɵɵngDeclareFactory({
93
93
  minVersion: "12.0.0",
94
- version: "22.2.0",
94
+ version: "22.2.1",
95
95
  ngImport: i0,
96
96
  type: UiFact,
97
97
  deps: [],
@@ -99,7 +99,7 @@ var UiFact = class UiFact {
99
99
  });
100
100
  static ɵcmp = i0.ɵɵngDeclareComponent({
101
101
  minVersion: "17.0.0",
102
- version: "22.2.0",
102
+ version: "22.2.1",
103
103
  type: UiFact,
104
104
  isStandalone: true,
105
105
  selector: "div[ui-fact]",
@@ -149,7 +149,7 @@ var UiFact = class UiFact {
149
149
  };
150
150
  i0.ɵɵngDeclareClassMetadata({
151
151
  minVersion: "12.0.0",
152
- version: "22.2.0",
152
+ version: "22.2.1",
153
153
  ngImport: i0,
154
154
  type: UiFact,
155
155
  decorators: [{
@@ -8,7 +8,7 @@ const nextId = (() => {
8
8
  var UiFieldLeading = class UiFieldLeading {
9
9
  static ɵfac = i0.ɵɵngDeclareFactory({
10
10
  minVersion: "12.0.0",
11
- version: "22.2.0",
11
+ version: "22.2.1",
12
12
  ngImport: i0,
13
13
  type: UiFieldLeading,
14
14
  deps: [],
@@ -16,7 +16,7 @@ var UiFieldLeading = class UiFieldLeading {
16
16
  });
17
17
  static ɵdir = i0.ɵɵngDeclareDirective({
18
18
  minVersion: "14.0.0",
19
- version: "22.2.0",
19
+ version: "22.2.1",
20
20
  type: UiFieldLeading,
21
21
  isStandalone: true,
22
22
  selector: "[uiFieldLeading]",
@@ -29,7 +29,7 @@ var UiFieldLeading = class UiFieldLeading {
29
29
  };
30
30
  i0.ɵɵngDeclareClassMetadata({
31
31
  minVersion: "12.0.0",
32
- version: "22.2.0",
32
+ version: "22.2.1",
33
33
  ngImport: i0,
34
34
  type: UiFieldLeading,
35
35
  decorators: [{
@@ -46,7 +46,7 @@ i0.ɵɵngDeclareClassMetadata({
46
46
  var UiFieldTrailing = class UiFieldTrailing {
47
47
  static ɵfac = i0.ɵɵngDeclareFactory({
48
48
  minVersion: "12.0.0",
49
- version: "22.2.0",
49
+ version: "22.2.1",
50
50
  ngImport: i0,
51
51
  type: UiFieldTrailing,
52
52
  deps: [],
@@ -54,7 +54,7 @@ var UiFieldTrailing = class UiFieldTrailing {
54
54
  });
55
55
  static ɵdir = i0.ɵɵngDeclareDirective({
56
56
  minVersion: "14.0.0",
57
- version: "22.2.0",
57
+ version: "22.2.1",
58
58
  type: UiFieldTrailing,
59
59
  isStandalone: true,
60
60
  selector: "[uiFieldTrailing]",
@@ -64,7 +64,7 @@ var UiFieldTrailing = class UiFieldTrailing {
64
64
  };
65
65
  i0.ɵɵngDeclareClassMetadata({
66
66
  minVersion: "12.0.0",
67
- version: "22.2.0",
67
+ version: "22.2.1",
68
68
  ngImport: i0,
69
69
  type: UiFieldTrailing,
70
70
  decorators: [{
@@ -130,7 +130,7 @@ var UiField = class UiField {
130
130
  }
131
131
  static ɵfac = i0.ɵɵngDeclareFactory({
132
132
  minVersion: "12.0.0",
133
- version: "22.2.0",
133
+ version: "22.2.1",
134
134
  ngImport: i0,
135
135
  type: UiField,
136
136
  deps: [],
@@ -138,7 +138,7 @@ var UiField = class UiField {
138
138
  });
139
139
  static ɵcmp = i0.ɵɵngDeclareComponent({
140
140
  minVersion: "17.0.0",
141
- version: "22.2.0",
141
+ version: "22.2.1",
142
142
  type: UiField,
143
143
  isStandalone: true,
144
144
  selector: "ui-field",
@@ -252,7 +252,7 @@ var UiField = class UiField {
252
252
  };
253
253
  i0.ɵɵngDeclareClassMetadata({
254
254
  minVersion: "12.0.0",
255
- version: "22.2.0",
255
+ version: "22.2.1",
256
256
  ngImport: i0,
257
257
  type: UiField,
258
258
  decorators: [{
@@ -17,7 +17,7 @@ var UiFilterChips = class UiFilterChips {
17
17
  }
18
18
  static ɵfac = i0.ɵɵngDeclareFactory({
19
19
  minVersion: "12.0.0",
20
- version: "22.2.0",
20
+ version: "22.2.1",
21
21
  ngImport: i0,
22
22
  type: UiFilterChips,
23
23
  deps: [],
@@ -25,7 +25,7 @@ var UiFilterChips = class UiFilterChips {
25
25
  });
26
26
  static ɵcmp = i0.ɵɵngDeclareComponent({
27
27
  minVersion: "17.0.0",
28
- version: "22.2.0",
28
+ version: "22.2.1",
29
29
  type: UiFilterChips,
30
30
  isStandalone: true,
31
31
  selector: "ui-filter-chips",
@@ -91,7 +91,7 @@ var UiFilterChips = class UiFilterChips {
91
91
  };
92
92
  i0.ɵɵngDeclareClassMetadata({
93
93
  minVersion: "12.0.0",
94
- version: "22.2.0",
94
+ version: "22.2.1",
95
95
  ngImport: i0,
96
96
  type: UiFilterChips,
97
97
  decorators: [{
@@ -19,7 +19,7 @@ var UiGroupHeader = class UiGroupHeader {
19
19
  }
20
20
  static ɵfac = i0.ɵɵngDeclareFactory({
21
21
  minVersion: "12.0.0",
22
- version: "22.2.0",
22
+ version: "22.2.1",
23
23
  ngImport: i0,
24
24
  type: UiGroupHeader,
25
25
  deps: [],
@@ -27,7 +27,7 @@ var UiGroupHeader = class UiGroupHeader {
27
27
  });
28
28
  static ɵcmp = i0.ɵɵngDeclareComponent({
29
29
  minVersion: "17.0.0",
30
- version: "22.2.0",
30
+ version: "22.2.1",
31
31
  type: UiGroupHeader,
32
32
  isStandalone: true,
33
33
  selector: "ui-group-header",
@@ -146,7 +146,7 @@ var UiGroupHeader = class UiGroupHeader {
146
146
  };
147
147
  i0.ɵɵngDeclareClassMetadata({
148
148
  minVersion: "12.0.0",
149
- version: "22.2.0",
149
+ version: "22.2.1",
150
150
  ngImport: i0,
151
151
  type: UiGroupHeader,
152
152
  decorators: [{
@@ -0,0 +1,43 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Directive } from "@angular/core";
3
+ var UiIconToggle = class UiIconToggle {
4
+ static ɵfac = i0.ɵɵngDeclareFactory({
5
+ minVersion: "12.0.0",
6
+ version: "22.2.1",
7
+ ngImport: i0,
8
+ type: UiIconToggle,
9
+ deps: [],
10
+ target: i0.ɵɵFactoryTarget.Directive
11
+ });
12
+ static ɵdir = i0.ɵɵngDeclareDirective({
13
+ minVersion: "14.0.0",
14
+ version: "22.2.1",
15
+ type: UiIconToggle,
16
+ isStandalone: true,
17
+ selector: "button[uiIconToggle]",
18
+ host: {
19
+ attributes: { "type": "button" },
20
+ classAttribute: "rounded-pill grid size-11 lg:size-10 place-items-center text-(--foreground) cursor-pointer select-none touch-manipulation transition-[scale] duration-(--duration-press) ease-out pointer-fine:hover:bg-(--glow) aria-pressed:bg-[image:linear-gradient(var(--soft),var(--soft))] active:scale-(--press-scale) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--ring)"
21
+ },
22
+ ngImport: i0
23
+ });
24
+ };
25
+ i0.ɵɵngDeclareClassMetadata({
26
+ minVersion: "12.0.0",
27
+ version: "22.2.1",
28
+ ngImport: i0,
29
+ type: UiIconToggle,
30
+ decorators: [{
31
+ type: Directive,
32
+ args: [{
33
+ selector: "button[uiIconToggle]",
34
+ host: {
35
+ type: "button",
36
+ class: "rounded-pill grid size-11 lg:size-10 place-items-center text-(--foreground) cursor-pointer select-none touch-manipulation transition-[scale] duration-(--duration-press) ease-out pointer-fine:hover:bg-(--glow) aria-pressed:bg-[image:linear-gradient(var(--soft),var(--soft))] active:scale-(--press-scale) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--ring)"
37
+ }
38
+ }]
39
+ }]
40
+ });
41
+ export { UiIconToggle };
42
+
43
+ //# sourceMappingURL=joanroucoux-cairn-ui-icon-toggle.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"joanroucoux-cairn-ui-icon-toggle.mjs","names":[],"sources":["../../../projects/ui/icon-toggle/icon-toggle.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n/**\n * Round icon button that switches something on and off, such as the header eye that hides the amounts.\n * The state lives in `aria-pressed`, which also draws the soft fill. Only the press scale transitions:\n * the fill changes at once.\n *\n * @example\n * <button uiIconToggle aria-label=\"Hide amounts\" [attr.aria-pressed]=\"hidden\"><svg>...</svg></button>\n */\n@Directive({\n selector: 'button[uiIconToggle]',\n host: {\n type: 'button',\n class:\n 'rounded-pill grid size-11 lg:size-10 place-items-center text-(--foreground) cursor-pointer select-none touch-manipulation transition-[scale] duration-(--duration-press) ease-out pointer-fine:hover:bg-(--glow) aria-pressed:bg-[image:linear-gradient(var(--soft),var(--soft))] active:scale-(--press-scale) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--ring)',\n },\n})\nexport class UiIconToggle {}\n"],"mappings":";;AAkBA,IAAa,eAAb,MAAa,aAAY;CAAZ,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAY,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAZ,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAY,cAAA;EAAA,UAAA;EAAA,MAAA;GAAA,YAAA,EAAA,QAAA,SAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;CAAA,CAAA;;AAAZ,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAY,YAAA,CAAA;EARxB,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GACV,MAAM;IACJ,MAAM;IACN,OACE;GACH;EACF,CAAA"}
@@ -28,7 +28,7 @@ var UiInput = class UiInput {
28
28
  classes = computed(() => `${CONTROL_BASE_CLASSES} ${SEARCH_CLASSES} ${CONTROL_SURFACE_CLASSES[this.surface()]} ${CONTROL_SIZE_CLASSES[this.size()]}`, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
29
29
  static ɵfac = i0.ɵɵngDeclareFactory({
30
30
  minVersion: "12.0.0",
31
- version: "22.2.0",
31
+ version: "22.2.1",
32
32
  ngImport: i0,
33
33
  type: UiInput,
34
34
  deps: [],
@@ -36,7 +36,7 @@ var UiInput = class UiInput {
36
36
  });
37
37
  static ɵdir = i0.ɵɵngDeclareDirective({
38
38
  minVersion: "17.1.0",
39
- version: "22.2.0",
39
+ version: "22.2.1",
40
40
  type: UiInput,
41
41
  isStandalone: true,
42
42
  selector: "input[uiInput]",
@@ -80,7 +80,7 @@ var UiInput = class UiInput {
80
80
  };
81
81
  i0.ɵɵngDeclareClassMetadata({
82
82
  minVersion: "12.0.0",
83
- version: "22.2.0",
83
+ version: "22.2.1",
84
84
  ngImport: i0,
85
85
  type: UiInput,
86
86
  decorators: [{
@@ -134,7 +134,7 @@ var UiTextarea = class UiTextarea {
134
134
  touched = input(false, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
135
135
  static ɵfac = i0.ɵɵngDeclareFactory({
136
136
  minVersion: "12.0.0",
137
- version: "22.2.0",
137
+ version: "22.2.1",
138
138
  ngImport: i0,
139
139
  type: UiTextarea,
140
140
  deps: [],
@@ -142,7 +142,7 @@ var UiTextarea = class UiTextarea {
142
142
  });
143
143
  static ɵdir = i0.ɵɵngDeclareDirective({
144
144
  minVersion: "17.1.0",
145
- version: "22.2.0",
145
+ version: "22.2.1",
146
146
  type: UiTextarea,
147
147
  isStandalone: true,
148
148
  selector: "textarea[uiTextarea]",
@@ -172,7 +172,7 @@ var UiTextarea = class UiTextarea {
172
172
  };
173
173
  i0.ɵɵngDeclareClassMetadata({
174
174
  minVersion: "12.0.0",
175
- version: "22.2.0",
175
+ version: "22.2.1",
176
176
  ngImport: i0,
177
177
  type: UiTextarea,
178
178
  decorators: [{
@@ -550,7 +550,7 @@ var UiLineChart = class UiLineChart {
550
550
  }
551
551
  static ɵfac = i0.ɵɵngDeclareFactory({
552
552
  minVersion: "12.0.0",
553
- version: "22.2.0",
553
+ version: "22.2.1",
554
554
  ngImport: i0,
555
555
  type: UiLineChart,
556
556
  deps: [],
@@ -558,7 +558,7 @@ var UiLineChart = class UiLineChart {
558
558
  });
559
559
  static ɵcmp = i0.ɵɵngDeclareComponent({
560
560
  minVersion: "17.0.0",
561
- version: "22.2.0",
561
+ version: "22.2.1",
562
562
  type: UiLineChart,
563
563
  isStandalone: true,
564
564
  selector: "ui-line-chart",
@@ -858,7 +858,7 @@ var UiLineChart = class UiLineChart {
858
858
  };
859
859
  i0.ɵɵngDeclareClassMetadata({
860
860
  minVersion: "12.0.0",
861
- version: "22.2.0",
861
+ version: "22.2.1",
862
862
  ngImport: i0,
863
863
  type: UiLineChart,
864
864
  decorators: [{
@@ -30,7 +30,7 @@ var UiMenuItem = class UiMenuItem {
30
30
  }
31
31
  static ɵfac = i0.ɵɵngDeclareFactory({
32
32
  minVersion: "12.0.0",
33
- version: "22.2.0",
33
+ version: "22.2.1",
34
34
  ngImport: i0,
35
35
  type: UiMenuItem,
36
36
  deps: [],
@@ -38,7 +38,7 @@ var UiMenuItem = class UiMenuItem {
38
38
  });
39
39
  static ɵdir = i0.ɵɵngDeclareDirective({
40
40
  minVersion: "17.1.0",
41
- version: "22.2.0",
41
+ version: "22.2.1",
42
42
  type: UiMenuItem,
43
43
  isStandalone: true,
44
44
  selector: "button[uiMenuItem]",
@@ -72,7 +72,7 @@ var UiMenuItem = class UiMenuItem {
72
72
  };
73
73
  i0.ɵɵngDeclareClassMetadata({
74
74
  minVersion: "12.0.0",
75
- version: "22.2.0",
75
+ version: "22.2.1",
76
76
  ngImport: i0,
77
77
  type: UiMenuItem,
78
78
  decorators: [{
@@ -203,7 +203,7 @@ var UiMenu = class UiMenu {
203
203
  }
204
204
  static ɵfac = i0.ɵɵngDeclareFactory({
205
205
  minVersion: "12.0.0",
206
- version: "22.2.0",
206
+ version: "22.2.1",
207
207
  ngImport: i0,
208
208
  type: UiMenu,
209
209
  deps: [],
@@ -211,7 +211,7 @@ var UiMenu = class UiMenu {
211
211
  });
212
212
  static ɵcmp = i0.ɵɵngDeclareComponent({
213
213
  minVersion: "17.0.0",
214
- version: "22.2.0",
214
+ version: "22.2.1",
215
215
  type: UiMenu,
216
216
  isStandalone: true,
217
217
  selector: "ui-menu",
@@ -280,7 +280,7 @@ var UiMenu = class UiMenu {
280
280
  };
281
281
  i0.ɵɵngDeclareClassMetadata({
282
282
  minVersion: "12.0.0",
283
- version: "22.2.0",
283
+ version: "22.2.1",
284
284
  ngImport: i0,
285
285
  type: UiMenu,
286
286
  decorators: [{
@@ -356,7 +356,7 @@ var UiMenuTrigger = class UiMenuTrigger {
356
356
  }
357
357
  static ɵfac = i0.ɵɵngDeclareFactory({
358
358
  minVersion: "12.0.0",
359
- version: "22.2.0",
359
+ version: "22.2.1",
360
360
  ngImport: i0,
361
361
  type: UiMenuTrigger,
362
362
  deps: [],
@@ -364,7 +364,7 @@ var UiMenuTrigger = class UiMenuTrigger {
364
364
  });
365
365
  static ɵdir = i0.ɵɵngDeclareDirective({
366
366
  minVersion: "17.1.0",
367
- version: "22.2.0",
367
+ version: "22.2.1",
368
368
  type: UiMenuTrigger,
369
369
  isStandalone: true,
370
370
  selector: "[uiMenuTrigger]",
@@ -388,7 +388,7 @@ var UiMenuTrigger = class UiMenuTrigger {
388
388
  };
389
389
  i0.ɵɵngDeclareClassMetadata({
390
390
  minVersion: "12.0.0",
391
- version: "22.2.0",
391
+ version: "22.2.1",
392
392
  ngImport: i0,
393
393
  type: UiMenuTrigger,
394
394
  decorators: [{
@@ -32,7 +32,7 @@ var UiMeter = class UiMeter {
32
32
  fillClasses = computed(() => `h-full rounded-pill ${TONE_CLASSES[this.tone()]}`, ...ngDevMode ? [{ debugName: "fillClasses" }] : /* istanbul ignore next */ []);
33
33
  static ɵfac = i0.ɵɵngDeclareFactory({
34
34
  minVersion: "12.0.0",
35
- version: "22.2.0",
35
+ version: "22.2.1",
36
36
  ngImport: i0,
37
37
  type: UiMeter,
38
38
  deps: [],
@@ -40,7 +40,7 @@ var UiMeter = class UiMeter {
40
40
  });
41
41
  static ɵcmp = i0.ɵɵngDeclareComponent({
42
42
  minVersion: "17.1.0",
43
- version: "22.2.0",
43
+ version: "22.2.1",
44
44
  type: UiMeter,
45
45
  isStandalone: true,
46
46
  selector: "ui-meter",
@@ -101,7 +101,7 @@ var UiMeter = class UiMeter {
101
101
  };
102
102
  i0.ɵɵngDeclareClassMetadata({
103
103
  minVersion: "12.0.0",
104
- version: "22.2.0",
104
+ version: "22.2.1",
105
105
  ngImport: i0,
106
106
  type: UiMeter,
107
107
  decorators: [{