@slotted/angular 0.1.0-beta.15 → 0.1.0-beta.17

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 (83) hide show
  1. package/docs/calendar.json +19 -1
  2. package/docs/calendar.md +3 -1
  3. package/docs/dashboard-grid.json +31 -9
  4. package/docs/dashboard-grid.md +15 -6
  5. package/docs/drawer.json +13 -4
  6. package/docs/drawer.md +5 -4
  7. package/docs/guidelines/index.md +2 -0
  8. package/docs/guidelines/layout-alignment.md +2 -2
  9. package/docs/guidelines/overviews.md +21 -1
  10. package/docs/link.json +16 -0
  11. package/docs/link.md +3 -1
  12. package/docs/list-item.json +10 -2
  13. package/docs/list-item.md +16 -13
  14. package/docs/markdown.json +7 -0
  15. package/docs/markdown.md +1 -0
  16. package/docs/message-scroller.json +1 -1
  17. package/docs/page.json +2 -2
  18. package/docs/page.md +1 -1
  19. package/docs/prompt-composer.json +9 -2
  20. package/docs/prompt-composer.md +3 -1
  21. package/docs/skills/compose-screen/SKILL.md +10 -1
  22. package/docs/skills/review-screen/SKILL.md +22 -20
  23. package/docs/stat-card.json +7 -4
  24. package/docs/stat-card.md +4 -4
  25. package/fesm2022/slotted-angular-attachment.mjs +2 -2
  26. package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
  27. package/fesm2022/slotted-angular-calendar.mjs +32 -11
  28. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  29. package/fesm2022/slotted-angular-chart.mjs +8 -2
  30. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  31. package/fesm2022/slotted-angular-dashboard-grid.mjs +171 -27
  32. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  33. package/fesm2022/slotted-angular-date-picker.mjs +1 -1
  34. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  35. package/fesm2022/slotted-angular-date-range-picker.mjs +1 -1
  36. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  37. package/fesm2022/slotted-angular-datetime-picker.mjs +1 -1
  38. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  39. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1 -1
  40. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  41. package/fesm2022/slotted-angular-dialog.mjs +4 -4
  42. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  43. package/fesm2022/slotted-angular-drawer.mjs +17 -3
  44. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  45. package/fesm2022/slotted-angular-link.mjs +10 -3
  46. package/fesm2022/slotted-angular-link.mjs.map +1 -1
  47. package/fesm2022/slotted-angular-list-item.mjs +44 -7
  48. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  49. package/fesm2022/slotted-angular-markdown.mjs +28 -14
  50. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  51. package/fesm2022/slotted-angular-message.mjs +4 -4
  52. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  53. package/fesm2022/slotted-angular-page.mjs +26 -6
  54. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  55. package/fesm2022/slotted-angular-prompt-composer.mjs +77 -4
  56. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
  57. package/fesm2022/slotted-angular-section.mjs +2 -2
  58. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  59. package/fesm2022/slotted-angular-stat-card.mjs +37 -6
  60. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  61. package/fesm2022/slotted-angular-table.mjs +2 -2
  62. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  63. package/package.json +3 -3
  64. package/types/slotted-angular-calendar.d.ts +15 -2
  65. package/types/slotted-angular-calendar.d.ts.map +1 -1
  66. package/types/slotted-angular-chart.d.ts +9 -9
  67. package/types/slotted-angular-chart.d.ts.map +1 -1
  68. package/types/slotted-angular-dashboard-grid.d.ts +63 -7
  69. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  70. package/types/slotted-angular-drawer.d.ts +6 -1
  71. package/types/slotted-angular-drawer.d.ts.map +1 -1
  72. package/types/slotted-angular-link.d.ts +8 -2
  73. package/types/slotted-angular-link.d.ts.map +1 -1
  74. package/types/slotted-angular-list-item.d.ts +4 -0
  75. package/types/slotted-angular-list-item.d.ts.map +1 -1
  76. package/types/slotted-angular-markdown.d.ts +6 -1
  77. package/types/slotted-angular-markdown.d.ts.map +1 -1
  78. package/types/slotted-angular-page.d.ts +7 -1
  79. package/types/slotted-angular-page.d.ts.map +1 -1
  80. package/types/slotted-angular-prompt-composer.d.ts +24 -1
  81. package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
  82. package/types/slotted-angular-stat-card.d.ts +8 -3
  83. package/types/slotted-angular-stat-card.d.ts.map +1 -1
@@ -56,6 +56,12 @@ class SlLink {
56
56
  */
57
57
  messages = input(undefined, /* @ts-ignore */
58
58
  ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
59
+ /**
60
+ * The text size. Unset, the link takes the size its action slot states — a stat card's, a
61
+ * section's or a chart's actions — or else its parent's.
62
+ */
63
+ size = input(undefined, /* @ts-ignore */
64
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
59
65
  underline = input(undefined, /* @ts-ignore */
60
66
  ...(ngDevMode ? [{ debugName: "underline" }] : /* istanbul ignore next */ []));
61
67
  variant = input(undefined, /* @ts-ignore */
@@ -149,7 +155,7 @@ class SlLink {
149
155
  event.stopPropagation();
150
156
  }
151
157
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlLink, deps: [], target: i0.ɵɵFactoryTarget.Component });
152
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlLink, isStandalone: true, selector: "a[slLink]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, external: { classPropertyName: "external", publicName: "external", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, visited: { classPropertyName: "visited", publicName: "visited", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "link", "data-ui-link": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.data-underline": "underlineValue()", "attr.data-variant": "variantValue()", "attr.data-visited": "visitedValue() ? \"\" : null", "attr.data-disabled": "disabled() ? \"\" : null", "attr.aria-disabled": "disabled() ? \"true\" : null", "attr.role": "disabled() ? \"link\" : null", "attr.tabindex": "tabIndex()" } }, exportAs: ["slLink"], ngImport: i0, template: `<ng-content></ng-content>@if (newTab()) {&#8288;<span aria-hidden="true" data-part="external-icon" data-part-external-icon=""><span slIcon directional><svg slGlyph name="external"></svg></span></span><span data-part="external-hint" data-part-external-hint="" data-ui="visually-hidden" data-ui-visually-hidden="">{{ hint() }}</span>&#8288;}`, isInline: true, styles: ["@layer slotted.components{[data-ui-link]{--_strong: var(--slotted-text, CanvasText);--_rest: var(--slotted-link-color, var(--slotted-tone-accent-text, LinkText));--_hover: var( --slotted-link-color-hover, color-mix(in oklab, var(--_rest) 65%, var(--_strong)) );--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--_rest) 35%, var(--_strong)) );--_visited: var( --slotted-link-color-visited, color-mix(in oklab, var(--_rest) 40%, var(--slotted-text-muted, GrayText)) );--_underline: var( --slotted-link-underline-color, color-mix(in oklab, currentColor 55%, transparent) );border-radius:var(--slotted-link-radius, var(--slotted-control-radius, 4px));color:var(--_rest);inline-size:fit-content;overflow-wrap:anywhere;text-decoration-color:var(--_underline);text-decoration-line:underline;text-decoration-thickness:var(--slotted-link-underline-thickness, from-font);text-underline-offset:var(--slotted-link-underline-offset, .15em);transition:color var(--slotted-duration-short) var(--slotted-easing-standard),text-decoration-color var(--slotted-duration-short) var(--slotted-easing-standard)}[data-ui-link][data-variant=neutral]{--_rest: var(--slotted-link-color, currentColor);--_hover: var(--slotted-link-color-hover, var(--slotted-tone-accent-text, LinkText));--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--slotted-tone-accent-text, LinkText) 65%, var(--_strong)) )}[data-ui-link][data-variant=inverse]{--_strong: var(--slotted-text-inverse, Canvas);--_rest: var(--slotted-link-color, var(--slotted-text-inverse, Canvas))}[data-ui-link][data-underline=hover],[data-ui-link][data-underline=none]{text-decoration-line:none}[data-ui-link][data-underline=hover]:not([data-disabled]):hover{text-decoration-line:underline}[data-ui-link][data-underline=hover]:focus-visible{text-decoration-line:underline}[data-ui-link][data-visited]:visited{color:var(--_visited)}[data-ui-link]:not([data-disabled]):hover{--_underline: currentColor;color:var(--_hover)}[data-ui-link]:not([data-disabled]):active{--_underline: currentColor;color:var(--_active)}[data-ui-link]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-link-focus-ring-offset, 1px)}[data-ui-link][data-disabled]{color:var(--slotted-link-color-disabled, var(--slotted-disabled-foreground, GrayText));cursor:not-allowed}[data-ui-link] [data-part-external-icon]{--slotted-icon-size: var(--slotted-link-external-icon-size, 1em);margin-inline-start:var(--slotted-link-external-icon-gap, .15em)}[data-ui-link][aria-current]:not([aria-current=false]){--_rest: var(--slotted-link-color-current, var(--slotted-text, CanvasText))}@media(forced-colors:active){[data-ui-link]{text-decoration-line:underline}}}\n", "@layer slotted.components{[data-ui-visually-hidden]:not([data-focusable]:focus-within){block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;inset-block-start:0;inset-inline-start:0;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}}\n"], dependencies: [{ kind: "component", type: SlGlyph, selector: "svg[slGlyph]", inputs: ["name", "solid"] }, { kind: "component", type: SlIcon, selector: "[slIcon]", inputs: ["directional", "label", "size", "tone"], exportAs: ["slIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
158
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlLink, isStandalone: true, selector: "a[slLink]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, external: { classPropertyName: "external", publicName: "external", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, visited: { classPropertyName: "visited", publicName: "visited", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "link", "data-ui-link": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.data-underline": "underlineValue()", "attr.data-variant": "variantValue()", "attr.data-size": "size() ?? null", "attr.data-visited": "visitedValue() ? \"\" : null", "attr.data-disabled": "disabled() ? \"\" : null", "attr.aria-disabled": "disabled() ? \"true\" : null", "attr.role": "disabled() ? \"link\" : null", "attr.tabindex": "tabIndex()" } }, exportAs: ["slLink"], ngImport: i0, template: `<ng-content></ng-content>@if (newTab()) {&#8288;<span aria-hidden="true" data-part="external-icon" data-part-external-icon=""><span slIcon directional><svg slGlyph name="external"></svg></span></span><span data-part="external-hint" data-part-external-hint="" data-ui="visually-hidden" data-ui-visually-hidden="">{{ hint() }}</span>&#8288;}`, isInline: true, styles: ["@layer slotted.components{[data-ui-link]{--_strong: var(--slotted-text, CanvasText);--_rest: var(--slotted-link-color, var(--slotted-tone-accent-text, LinkText));--_hover: var( --slotted-link-color-hover, color-mix(in oklab, var(--_rest) 65%, var(--_strong)) );--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--_rest) 35%, var(--_strong)) );--_visited: var( --slotted-link-color-visited, color-mix(in oklab, var(--_rest) 40%, var(--slotted-text-muted, GrayText)) );--_underline: var( --slotted-link-underline-color, color-mix(in oklab, currentColor 55%, transparent) );border-radius:var(--slotted-link-radius, var(--slotted-control-radius, 4px));color:var(--_rest);inline-size:fit-content;overflow-wrap:anywhere;text-decoration-color:var(--_underline);text-decoration-line:underline;text-decoration-thickness:var(--slotted-link-underline-thickness, from-font);text-underline-offset:var(--slotted-link-underline-offset, .15em);transition:color var(--slotted-duration-short) var(--slotted-easing-standard),text-decoration-color var(--slotted-duration-short) var(--slotted-easing-standard)}[data-ui-link]{font-size:var(--slotted-link-font-size, inherit)}[data-ui-link][data-size=xs]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-link][data-size=sm]{font-size:var(--slotted-font-size-sm, .8125rem)}[data-ui-link][data-size=md]{font-size:var(--slotted-font-size-md, .875rem)}[data-ui-link][data-variant=neutral]{--_rest: var(--slotted-link-color, currentColor);--_hover: var(--slotted-link-color-hover, var(--slotted-tone-accent-text, LinkText));--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--slotted-tone-accent-text, LinkText) 65%, var(--_strong)) )}[data-ui-link][data-variant=inverse]{--_strong: var(--slotted-text-inverse, Canvas);--_rest: var(--slotted-link-color, var(--slotted-text-inverse, Canvas))}[data-ui-link][data-underline=hover],[data-ui-link][data-underline=none]{text-decoration-line:none}[data-ui-link][data-underline=hover]:not([data-disabled]):hover{text-decoration-line:underline}[data-ui-link][data-underline=hover]:focus-visible{text-decoration-line:underline}[data-ui-link][data-visited]:visited{color:var(--_visited)}[data-ui-link]:not([data-disabled]):hover{--_underline: currentColor;color:var(--_hover)}[data-ui-link]:not([data-disabled]):active{--_underline: currentColor;color:var(--_active)}[data-ui-link]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-link-focus-ring-offset, 1px)}[data-ui-link][data-disabled]{color:var(--slotted-link-color-disabled, var(--slotted-disabled-foreground, GrayText));cursor:not-allowed}[data-ui-link] [data-part-external-icon]{--slotted-icon-size: var(--slotted-link-external-icon-size, 1em);margin-inline-start:var(--slotted-link-external-icon-gap, .15em)}[data-ui-link][aria-current]:not([aria-current=false]){--_rest: var(--slotted-link-color-current, var(--slotted-text, CanvasText))}@media(forced-colors:active){[data-ui-link]{text-decoration-line:underline}}}\n", "@layer slotted.components{[data-ui-visually-hidden]:not([data-focusable]:focus-within){block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;inset-block-start:0;inset-inline-start:0;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}}\n"], dependencies: [{ kind: "component", type: SlGlyph, selector: "svg[slGlyph]", inputs: ["name", "solid"] }, { kind: "component", type: SlIcon, selector: "[slIcon]", inputs: ["directional", "label", "size", "tone"], exportAs: ["slIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
153
159
  }
154
160
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlLink, decorators: [{
155
161
  type: Component,
@@ -160,13 +166,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
160
166
  'data-part-root': '',
161
167
  '[attr.data-underline]': 'underlineValue()',
162
168
  '[attr.data-variant]': 'variantValue()',
169
+ '[attr.data-size]': 'size() ?? null',
163
170
  '[attr.data-visited]': 'visitedValue() ? "" : null',
164
171
  '[attr.data-disabled]': 'disabled() ? "" : null',
165
172
  '[attr.aria-disabled]': 'disabled() ? "true" : null',
166
173
  '[attr.role]': 'disabled() ? "link" : null',
167
174
  '[attr.tabindex]': 'tabIndex()',
168
- }, styles: ["@layer slotted.components{[data-ui-link]{--_strong: var(--slotted-text, CanvasText);--_rest: var(--slotted-link-color, var(--slotted-tone-accent-text, LinkText));--_hover: var( --slotted-link-color-hover, color-mix(in oklab, var(--_rest) 65%, var(--_strong)) );--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--_rest) 35%, var(--_strong)) );--_visited: var( --slotted-link-color-visited, color-mix(in oklab, var(--_rest) 40%, var(--slotted-text-muted, GrayText)) );--_underline: var( --slotted-link-underline-color, color-mix(in oklab, currentColor 55%, transparent) );border-radius:var(--slotted-link-radius, var(--slotted-control-radius, 4px));color:var(--_rest);inline-size:fit-content;overflow-wrap:anywhere;text-decoration-color:var(--_underline);text-decoration-line:underline;text-decoration-thickness:var(--slotted-link-underline-thickness, from-font);text-underline-offset:var(--slotted-link-underline-offset, .15em);transition:color var(--slotted-duration-short) var(--slotted-easing-standard),text-decoration-color var(--slotted-duration-short) var(--slotted-easing-standard)}[data-ui-link][data-variant=neutral]{--_rest: var(--slotted-link-color, currentColor);--_hover: var(--slotted-link-color-hover, var(--slotted-tone-accent-text, LinkText));--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--slotted-tone-accent-text, LinkText) 65%, var(--_strong)) )}[data-ui-link][data-variant=inverse]{--_strong: var(--slotted-text-inverse, Canvas);--_rest: var(--slotted-link-color, var(--slotted-text-inverse, Canvas))}[data-ui-link][data-underline=hover],[data-ui-link][data-underline=none]{text-decoration-line:none}[data-ui-link][data-underline=hover]:not([data-disabled]):hover{text-decoration-line:underline}[data-ui-link][data-underline=hover]:focus-visible{text-decoration-line:underline}[data-ui-link][data-visited]:visited{color:var(--_visited)}[data-ui-link]:not([data-disabled]):hover{--_underline: currentColor;color:var(--_hover)}[data-ui-link]:not([data-disabled]):active{--_underline: currentColor;color:var(--_active)}[data-ui-link]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-link-focus-ring-offset, 1px)}[data-ui-link][data-disabled]{color:var(--slotted-link-color-disabled, var(--slotted-disabled-foreground, GrayText));cursor:not-allowed}[data-ui-link] [data-part-external-icon]{--slotted-icon-size: var(--slotted-link-external-icon-size, 1em);margin-inline-start:var(--slotted-link-external-icon-gap, .15em)}[data-ui-link][aria-current]:not([aria-current=false]){--_rest: var(--slotted-link-color-current, var(--slotted-text, CanvasText))}@media(forced-colors:active){[data-ui-link]{text-decoration-line:underline}}}\n", "@layer slotted.components{[data-ui-visually-hidden]:not([data-focusable]:focus-within){block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;inset-block-start:0;inset-inline-start:0;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}}\n"] }]
169
- }], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], external: [{ type: i0.Input, args: [{ isSignal: true, alias: "external", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], underline: [{ type: i0.Input, args: [{ isSignal: true, alias: "underline", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], visited: [{ type: i0.Input, args: [{ isSignal: true, alias: "visited", required: false }] }] } });
175
+ }, styles: ["@layer slotted.components{[data-ui-link]{--_strong: var(--slotted-text, CanvasText);--_rest: var(--slotted-link-color, var(--slotted-tone-accent-text, LinkText));--_hover: var( --slotted-link-color-hover, color-mix(in oklab, var(--_rest) 65%, var(--_strong)) );--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--_rest) 35%, var(--_strong)) );--_visited: var( --slotted-link-color-visited, color-mix(in oklab, var(--_rest) 40%, var(--slotted-text-muted, GrayText)) );--_underline: var( --slotted-link-underline-color, color-mix(in oklab, currentColor 55%, transparent) );border-radius:var(--slotted-link-radius, var(--slotted-control-radius, 4px));color:var(--_rest);inline-size:fit-content;overflow-wrap:anywhere;text-decoration-color:var(--_underline);text-decoration-line:underline;text-decoration-thickness:var(--slotted-link-underline-thickness, from-font);text-underline-offset:var(--slotted-link-underline-offset, .15em);transition:color var(--slotted-duration-short) var(--slotted-easing-standard),text-decoration-color var(--slotted-duration-short) var(--slotted-easing-standard)}[data-ui-link]{font-size:var(--slotted-link-font-size, inherit)}[data-ui-link][data-size=xs]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-link][data-size=sm]{font-size:var(--slotted-font-size-sm, .8125rem)}[data-ui-link][data-size=md]{font-size:var(--slotted-font-size-md, .875rem)}[data-ui-link][data-variant=neutral]{--_rest: var(--slotted-link-color, currentColor);--_hover: var(--slotted-link-color-hover, var(--slotted-tone-accent-text, LinkText));--_active: var( --slotted-link-color-active, color-mix(in oklab, var(--slotted-tone-accent-text, LinkText) 65%, var(--_strong)) )}[data-ui-link][data-variant=inverse]{--_strong: var(--slotted-text-inverse, Canvas);--_rest: var(--slotted-link-color, var(--slotted-text-inverse, Canvas))}[data-ui-link][data-underline=hover],[data-ui-link][data-underline=none]{text-decoration-line:none}[data-ui-link][data-underline=hover]:not([data-disabled]):hover{text-decoration-line:underline}[data-ui-link][data-underline=hover]:focus-visible{text-decoration-line:underline}[data-ui-link][data-visited]:visited{color:var(--_visited)}[data-ui-link]:not([data-disabled]):hover{--_underline: currentColor;color:var(--_hover)}[data-ui-link]:not([data-disabled]):active{--_underline: currentColor;color:var(--_active)}[data-ui-link]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-link-focus-ring-offset, 1px)}[data-ui-link][data-disabled]{color:var(--slotted-link-color-disabled, var(--slotted-disabled-foreground, GrayText));cursor:not-allowed}[data-ui-link] [data-part-external-icon]{--slotted-icon-size: var(--slotted-link-external-icon-size, 1em);margin-inline-start:var(--slotted-link-external-icon-gap, .15em)}[data-ui-link][aria-current]:not([aria-current=false]){--_rest: var(--slotted-link-color-current, var(--slotted-text, CanvasText))}@media(forced-colors:active){[data-ui-link]{text-decoration-line:underline}}}\n", "@layer slotted.components{[data-ui-visually-hidden]:not([data-focusable]:focus-within){block-size:1px;border:0;clip-path:inset(50%);inline-size:1px;inset-block-start:0;inset-inline-start:0;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap}}\n"] }]
176
+ }], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], external: [{ type: i0.Input, args: [{ isSignal: true, alias: "external", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], underline: [{ type: i0.Input, args: [{ isSignal: true, alias: "underline", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], visited: [{ type: i0.Input, args: [{ isSignal: true, alias: "visited", required: false }] }] } });
170
177
  /**
171
178
  * Absence has to survive the transform. `booleanAttribute` maps an unset input
172
179
  * to `false`, and `false` is a value: it would stop the application's own
@@ -1 +1 @@
1
- {"version":3,"file":"slotted-angular-link.mjs","sources":["../../link/src/link-defaults.ts","../../link/src/link.constants.ts","../../link/src/link.ts","../../link/src/slotted-angular-link.ts"],"sourcesContent":["import { inject, InjectionToken } from '@angular/core';\n\nimport type { LinkUnderline, LinkVariant } from './link.constants';\n\n/** What every link on the page looks like before it states anything of its own. */\nexport interface LinkDefaults {\n underline?: LinkUnderline;\n variant?: LinkVariant;\n visited?: boolean;\n}\n\nexport const LINK_DEFAULTS_TOKEN = new InjectionToken<LinkDefaults>('slotted link defaults', {\n providedIn: 'root',\n factory: (): LinkDefaults => ({}),\n});\n\n/**\n * An application decides once whether its links are underlined, how they are\n * painted, and whether a followed destination is marked. A link that states\n * any of those itself still wins: an explicit input is never overridden by the\n * token. Its words come from the language in force (`provideSlotted`).\n */\nexport function provideLinkDefaults(defaults: LinkDefaults) {\n return { provide: LINK_DEFAULTS_TOKEN, useValue: defaults };\n}\n\nexport function injectLinkDefaults(): LinkDefaults {\n return inject(LINK_DEFAULTS_TOKEN);\n}\n","export type LinkUnderline = 'always' | 'hover' | 'none';\nexport type LinkVariant = 'accent' | 'neutral' | 'inverse';\n\n/**\n * The zero-width character whose only job is to forbid a line break. It keeps\n * the marker with the last word of the link, and unlike a no-break space it\n * carries no width of its own — the distance between word and glyph is the\n * stylesheet's decision, not this string's.\n */\nexport const WORD_JOINER = '\\u2060';\n\nexport const LINK_DEFAULT_UNDERLINE: LinkUnderline = 'always';\nexport const LINK_DEFAULT_VARIANT: LinkVariant = 'accent';\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport { injectMessages } from '@slotted/angular/i18n';\nimport { SlGlyph, SlIcon } from '@slotted/angular/icon';\nimport { linkMessages, type LinkMessages, type PartialMessages } from '@slotted/core/i18n';\n\nimport { injectLinkDefaults } from './link-defaults';\nimport {\n LINK_DEFAULT_UNDERLINE,\n LINK_DEFAULT_VARIANT,\n type LinkUnderline,\n type LinkVariant,\n} from './link.constants';\n\n/**\n * Text that goes somewhere. The directive sits on the consumer's own anchor,\n * so the role, `Enter`, the context menu, the middle click and every modified\n * click are the platform's — and `routerLink` composes on the same element,\n * because the element was never the family's to begin with. `button` owns the\n * action that has no URL, and `ButtonLink` the navigation that wants the\n * action surface.\n *\n * `rel` and `target` are written imperatively rather than through host\n * bindings, and only when the anchor carries neither. A host binding writes on\n * every change detection pass, and the value that means \"leave it alone\" is\n * `null`, which removes the attribute — so an anchor whose consumer binds\n * `[attr.target]` itself would lose it to this component. Adding what is\n * missing and touching nothing else is the only shape that keeps the\n * consumer's explicit value winning.\n */\n@Component({\n selector: 'a[slLink]',\n standalone: true,\n imports: [SlGlyph, SlIcon],\n /**\n * The joiner is a text node of its own, before the marker and outside it:\n * what it forbids is the line break between the last word of the link and\n * the inline box that follows it. Every space in this template is therefore\n * load-bearing — Angular collapses a newline between two nodes into one\n * space, and a space before the joiner puts back exactly the break the\n * joiner exists to forbid. The formatter is told to leave it alone, and\n * `link.spec.ts` asserts the rendered text in case it stops listening. The\n * arrow mirrors in a right-to-left document, which is what `directional` is.\n */\n // prettier-ignore\n template: `<ng-content></ng-content>@if (newTab()) {&#8288;<span aria-hidden=\"true\" data-part=\"external-icon\" data-part-external-icon=\"\"><span slIcon directional><svg slGlyph name=\"external\"></svg></span></span><span data-part=\"external-hint\" data-part-external-hint=\"\" data-ui=\"visually-hidden\" data-ui-visually-hidden=\"\">{{ hint() }}</span>&#8288;}`,\n styleUrls: [\n '../../../styles/src/link/link.css',\n '../../../styles/src/visually-hidden/visually-hidden.css',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'slLink',\n host: {\n 'data-ui': 'link',\n 'data-ui-link': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-underline]': 'underlineValue()',\n '[attr.data-variant]': 'variantValue()',\n '[attr.data-visited]': 'visitedValue() ? \"\" : null',\n '[attr.data-disabled]': 'disabled() ? \"\" : null',\n '[attr.aria-disabled]': 'disabled() ? \"true\" : null',\n '[attr.role]': 'disabled() ? \"link\" : null',\n '[attr.tabindex]': 'tabIndex()',\n },\n})\nexport class SlLink {\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly external = input(false, { transform: booleanAttribute });\n /**\n * Words laid over the catalog of the language in force: the warning a link\n * to a new tab announces (`externalHint`).\n */\n readonly messages = input<PartialMessages<LinkMessages> | undefined>(undefined);\n readonly underline = input<LinkUnderline | undefined>(undefined);\n readonly variant = input<LinkVariant | undefined>(undefined);\n readonly visited = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: optionalBoolean,\n });\n\n private readonly defaults = injectLinkDefaults();\n /** The family's words in the language in force, with this link's `messages` laid over them. */\n readonly t = injectMessages(linkMessages, this.messages);\n private readonly element = inject(ElementRef<HTMLAnchorElement>).nativeElement;\n private readonly renderer = inject(Renderer2);\n\n /**\n * What the consumer wrote on their own anchor, read once through the token\n * that exists for exactly this: a static attribute has to survive the\n * component that was placed on top of it.\n */\n private readonly ownRel = inject(new HostAttributeToken('rel'), { optional: true });\n private readonly ownTarget = inject(new HostAttributeToken('target'), { optional: true });\n private readonly ownTabIndex = inject(new HostAttributeToken('tabindex'), { optional: true });\n\n /** The destination the anchor had before it was made unavailable. */\n private withheldHref: string | null = null;\n\n readonly underlineValue = computed(\n () => this.underline() ?? this.defaults.underline ?? LINK_DEFAULT_UNDERLINE,\n );\n readonly variantValue = computed(\n () => this.variant() ?? this.defaults.variant ?? LINK_DEFAULT_VARIANT,\n );\n readonly visitedValue = computed(() => this.visited() ?? this.defaults.visited ?? false);\n\n /**\n * The fact, not the prop. `external` is the way to state it, and an anchor\n * the consumer already pointed at a new tab has stated the same thing.\n */\n readonly newTab = computed(() => this.external() || this.ownTarget === '_blank');\n readonly hint = computed(() => ` ${this.t('externalHint')}`);\n\n /**\n * A disabled link keeps its place in the tab sequence: without an `href` the\n * anchor would drop out of it, so the zero is stated rather than inherited.\n */\n readonly tabIndex = computed(() =>\n this.disabled() ? (this.ownTabIndex ?? '0') : this.ownTabIndex,\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n const listen = (type: 'click' | 'auxclick' | 'keydown', listener: EventListener) => {\n this.element.addEventListener(type, listener, { capture: true });\n destroyRef.onDestroy(() =>\n this.element.removeEventListener(type, listener, { capture: true }),\n );\n };\n\n listen('click', (event) => this.refuse(event));\n listen('auxclick', (event) => this.refuse(event));\n listen('keydown', (event) => {\n if ((event as KeyboardEvent).key === 'Enter') this.refuse(event);\n });\n\n effect(() => {\n const newTab = this.newTab();\n this.write('target', newTab && this.ownTarget === null ? '_blank' : null);\n this.write('rel', newTab && this.ownRel === null ? 'noopener noreferrer' : null);\n });\n\n /**\n * An anchor that keeps its destination and only refuses `click` still\n * navigates on a middle click, on a modified click and from the context\n * menu. Taking the destination away is what actually disables it, and it\n * is given back the moment the link becomes available again.\n */\n effect(() => {\n if (this.disabled()) {\n this.withheldHref ??= this.element.getAttribute('href');\n this.renderer.removeAttribute(this.element, 'href');\n return;\n }\n if (this.withheldHref === null) return;\n this.renderer.setAttribute(this.element, 'href', this.withheldHref);\n this.withheldHref = null;\n });\n }\n\n /** Adds what the anchor is missing, and removes only what it added. */\n private write(attribute: 'rel' | 'target', value: string | null) {\n if (value !== null) {\n this.renderer.setAttribute(this.element, attribute, value);\n return;\n }\n const own = attribute === 'rel' ? this.ownRel : this.ownTarget;\n if (own === null) this.renderer.removeAttribute(this.element, attribute);\n }\n\n private refuse(event: Event) {\n if (!this.disabled()) return;\n event.preventDefault();\n event.stopImmediatePropagation();\n event.stopPropagation();\n }\n}\n\n/**\n * Absence has to survive the transform. `booleanAttribute` maps an unset input\n * to `false`, and `false` is a value: it would stop the application's own\n * decision about visited links from ever reaching a link that says nothing.\n */\nfunction optionalBoolean(value: boolean | string | undefined) {\n return value === undefined ? undefined : booleanAttribute(value);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,mBAAmB,GAAG,IAAI,cAAc,CAAe,uBAAuB,EAAE;AAC3F,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,OAAqB,EAAE,CAAC;AAClC,CAAA;AAED;;;;;AAKG;AACG,SAAU,mBAAmB,CAAC,QAAsB,EAAA;IACxD,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,QAAQ,EAAE;AAC7D;SAEgB,kBAAkB,GAAA;AAChC,IAAA,OAAO,MAAM,CAAC,mBAAmB,CAAC;AACpC;;ACzBA;;;;;AAKG;AACI,MAAM,WAAW,GAAG,QAAQ;AAE5B,MAAM,sBAAsB,GAAkB,QAAQ;AACtD,MAAM,oBAAoB,GAAgB,QAAQ;;ACczD;;;;;;;;;;;;;;;AAeG;MAsCU,MAAM,CAAA;IACR,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;IACxD,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACjE;;;AAGG;IACM,QAAQ,GAAG,KAAK,CAA4C,SAAS;iFAAC;IACtE,SAAS,GA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,wBAAA,gBAAgB,EAAE,EAAE;AACpB,wBAAA,uBAAuB,EAAE,kBAAkB;AAC3C,wBAAA,qBAAqB,EAAE,gBAAgB;AACvC,wBAAA,qBAAqB,EAAE,4BAA4B;AACnD,wBAAA,sBAAsB,EAAE,wBAAwB;AAChD,wBAAA,sBAAsB,EAAE,4BAA4B;AACpD,wBAAA,aAAa,EAAE,4BAA4B;AAC3C,wBAAA,iBAAiB,EAAE,YAAY;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,4tFAAA,EAAA,6QAAA,CAAA,EAAA;;AAkHH;;;;AAIG;AACH,SAAS,eAAe,CAAC,KAAmC,EAAA;AAC1D,IAAA,OAAO,KAAK,KAAK,SAAS,GAAG,SAAS,GAAG,gBAAgB,CAAC,KAAK,CAAC;AAClE;;ACtMA;;AAEG;;"}
1
+ {"version":3,"file":"slotted-angular-link.mjs","sources":["../../link/src/link-defaults.ts","../../link/src/link.constants.ts","../../link/src/link.ts","../../link/src/slotted-angular-link.ts"],"sourcesContent":["import { inject, InjectionToken } from '@angular/core';\n\nimport type { LinkUnderline, LinkVariant } from './link.constants';\n\n/** What every link on the page looks like before it states anything of its own. */\nexport interface LinkDefaults {\n underline?: LinkUnderline;\n variant?: LinkVariant;\n visited?: boolean;\n}\n\nexport const LINK_DEFAULTS_TOKEN = new InjectionToken<LinkDefaults>('slotted link defaults', {\n providedIn: 'root',\n factory: (): LinkDefaults => ({}),\n});\n\n/**\n * An application decides once whether its links are underlined, how they are\n * painted, and whether a followed destination is marked. A link that states\n * any of those itself still wins: an explicit input is never overridden by the\n * token. Its words come from the language in force (`provideSlotted`).\n */\nexport function provideLinkDefaults(defaults: LinkDefaults) {\n return { provide: LINK_DEFAULTS_TOKEN, useValue: defaults };\n}\n\nexport function injectLinkDefaults(): LinkDefaults {\n return inject(LINK_DEFAULTS_TOKEN);\n}\n","export type LinkUnderline = 'always' | 'hover' | 'none';\nexport type LinkVariant = 'accent' | 'neutral' | 'inverse';\nexport type LinkSize = 'xs' | 'sm' | 'md';\n\n/**\n * The zero-width character whose only job is to forbid a line break. It keeps\n * the marker with the last word of the link, and unlike a no-break space it\n * carries no width of its own — the distance between word and glyph is the\n * stylesheet's decision, not this string's.\n */\nexport const WORD_JOINER = '\\u2060';\n\nexport const LINK_DEFAULT_UNDERLINE: LinkUnderline = 'always';\nexport const LINK_DEFAULT_VARIANT: LinkVariant = 'accent';\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n Renderer2,\n ViewEncapsulation,\n} from '@angular/core';\nimport { injectMessages } from '@slotted/angular/i18n';\nimport { SlGlyph, SlIcon } from '@slotted/angular/icon';\nimport { linkMessages, type LinkMessages, type PartialMessages } from '@slotted/core/i18n';\n\nimport { injectLinkDefaults } from './link-defaults';\nimport {\n LINK_DEFAULT_UNDERLINE,\n LINK_DEFAULT_VARIANT,\n type LinkSize,\n type LinkUnderline,\n type LinkVariant,\n} from './link.constants';\n\n/**\n * Text that goes somewhere. The directive sits on the consumer's own anchor,\n * so the role, `Enter`, the context menu, the middle click and every modified\n * click are the platform's — and `routerLink` composes on the same element,\n * because the element was never the family's to begin with. `button` owns the\n * action that has no URL, and `ButtonLink` the navigation that wants the\n * action surface.\n *\n * `rel` and `target` are written imperatively rather than through host\n * bindings, and only when the anchor carries neither. A host binding writes on\n * every change detection pass, and the value that means \"leave it alone\" is\n * `null`, which removes the attribute — so an anchor whose consumer binds\n * `[attr.target]` itself would lose it to this component. Adding what is\n * missing and touching nothing else is the only shape that keeps the\n * consumer's explicit value winning.\n */\n@Component({\n selector: 'a[slLink]',\n standalone: true,\n imports: [SlGlyph, SlIcon],\n /**\n * The joiner is a text node of its own, before the marker and outside it:\n * what it forbids is the line break between the last word of the link and\n * the inline box that follows it. Every space in this template is therefore\n * load-bearing — Angular collapses a newline between two nodes into one\n * space, and a space before the joiner puts back exactly the break the\n * joiner exists to forbid. The formatter is told to leave it alone, and\n * `link.spec.ts` asserts the rendered text in case it stops listening. The\n * arrow mirrors in a right-to-left document, which is what `directional` is.\n */\n // prettier-ignore\n template: `<ng-content></ng-content>@if (newTab()) {&#8288;<span aria-hidden=\"true\" data-part=\"external-icon\" data-part-external-icon=\"\"><span slIcon directional><svg slGlyph name=\"external\"></svg></span></span><span data-part=\"external-hint\" data-part-external-hint=\"\" data-ui=\"visually-hidden\" data-ui-visually-hidden=\"\">{{ hint() }}</span>&#8288;}`,\n styleUrls: [\n '../../../styles/src/link/link.css',\n '../../../styles/src/visually-hidden/visually-hidden.css',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'slLink',\n host: {\n 'data-ui': 'link',\n 'data-ui-link': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-underline]': 'underlineValue()',\n '[attr.data-variant]': 'variantValue()',\n '[attr.data-size]': 'size() ?? null',\n '[attr.data-visited]': 'visitedValue() ? \"\" : null',\n '[attr.data-disabled]': 'disabled() ? \"\" : null',\n '[attr.aria-disabled]': 'disabled() ? \"true\" : null',\n '[attr.role]': 'disabled() ? \"link\" : null',\n '[attr.tabindex]': 'tabIndex()',\n },\n})\nexport class SlLink {\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly external = input(false, { transform: booleanAttribute });\n /**\n * Words laid over the catalog of the language in force: the warning a link\n * to a new tab announces (`externalHint`).\n */\n readonly messages = input<PartialMessages<LinkMessages> | undefined>(undefined);\n /**\n * The text size. Unset, the link takes the size its action slot states — a stat card's, a\n * section's or a chart's actions — or else its parent's.\n */\n readonly size = input<LinkSize | undefined>(undefined);\n readonly underline = input<LinkUnderline | undefined>(undefined);\n readonly variant = input<LinkVariant | undefined>(undefined);\n readonly visited = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: optionalBoolean,\n });\n\n private readonly defaults = injectLinkDefaults();\n /** The family's words in the language in force, with this link's `messages` laid over them. */\n readonly t = injectMessages(linkMessages, this.messages);\n private readonly element = inject(ElementRef<HTMLAnchorElement>).nativeElement;\n private readonly renderer = inject(Renderer2);\n\n /**\n * What the consumer wrote on their own anchor, read once through the token\n * that exists for exactly this: a static attribute has to survive the\n * component that was placed on top of it.\n */\n private readonly ownRel = inject(new HostAttributeToken('rel'), { optional: true });\n private readonly ownTarget = inject(new HostAttributeToken('target'), { optional: true });\n private readonly ownTabIndex = inject(new HostAttributeToken('tabindex'), { optional: true });\n\n /** The destination the anchor had before it was made unavailable. */\n private withheldHref: string | null = null;\n\n readonly underlineValue = computed(\n () => this.underline() ?? this.defaults.underline ?? LINK_DEFAULT_UNDERLINE,\n );\n readonly variantValue = computed(\n () => this.variant() ?? this.defaults.variant ?? LINK_DEFAULT_VARIANT,\n );\n readonly visitedValue = computed(() => this.visited() ?? this.defaults.visited ?? false);\n\n /**\n * The fact, not the prop. `external` is the way to state it, and an anchor\n * the consumer already pointed at a new tab has stated the same thing.\n */\n readonly newTab = computed(() => this.external() || this.ownTarget === '_blank');\n readonly hint = computed(() => ` ${this.t('externalHint')}`);\n\n /**\n * A disabled link keeps its place in the tab sequence: without an `href` the\n * anchor would drop out of it, so the zero is stated rather than inherited.\n */\n readonly tabIndex = computed(() =>\n this.disabled() ? (this.ownTabIndex ?? '0') : this.ownTabIndex,\n );\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n const listen = (type: 'click' | 'auxclick' | 'keydown', listener: EventListener) => {\n this.element.addEventListener(type, listener, { capture: true });\n destroyRef.onDestroy(() =>\n this.element.removeEventListener(type, listener, { capture: true }),\n );\n };\n\n listen('click', (event) => this.refuse(event));\n listen('auxclick', (event) => this.refuse(event));\n listen('keydown', (event) => {\n if ((event as KeyboardEvent).key === 'Enter') this.refuse(event);\n });\n\n effect(() => {\n const newTab = this.newTab();\n this.write('target', newTab && this.ownTarget === null ? '_blank' : null);\n this.write('rel', newTab && this.ownRel === null ? 'noopener noreferrer' : null);\n });\n\n /**\n * An anchor that keeps its destination and only refuses `click` still\n * navigates on a middle click, on a modified click and from the context\n * menu. Taking the destination away is what actually disables it, and it\n * is given back the moment the link becomes available again.\n */\n effect(() => {\n if (this.disabled()) {\n this.withheldHref ??= this.element.getAttribute('href');\n this.renderer.removeAttribute(this.element, 'href');\n return;\n }\n if (this.withheldHref === null) return;\n this.renderer.setAttribute(this.element, 'href', this.withheldHref);\n this.withheldHref = null;\n });\n }\n\n /** Adds what the anchor is missing, and removes only what it added. */\n private write(attribute: 'rel' | 'target', value: string | null) {\n if (value !== null) {\n this.renderer.setAttribute(this.element, attribute, value);\n return;\n }\n const own = attribute === 'rel' ? this.ownRel : this.ownTarget;\n if (own === null) this.renderer.removeAttribute(this.element, attribute);\n }\n\n private refuse(event: Event) {\n if (!this.disabled()) return;\n event.preventDefault();\n event.stopImmediatePropagation();\n event.stopPropagation();\n }\n}\n\n/**\n * Absence has to survive the transform. `booleanAttribute` maps an unset input\n * to `false`, and `false` is a value: it would stop the application's own\n * decision about visited links from ever reaching a link that says nothing.\n */\nfunction optionalBoolean(value: boolean | string | undefined) {\n return value === undefined ? undefined : booleanAttribute(value);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,mBAAmB,GAAG,IAAI,cAAc,CAAe,uBAAuB,EAAE;AAC3F,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,OAAqB,EAAE,CAAC;AAClC,CAAA;AAED;;;;;AAKG;AACG,SAAU,mBAAmB,CAAC,QAAsB,EAAA;IACxD,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,QAAQ,EAAE;AAC7D;SAEgB,kBAAkB,GAAA;AAChC,IAAA,OAAO,MAAM,CAAC,mBAAmB,CAAC;AACpC;;ACxBA;;;;;AAKG;AACI,MAAM,WAAW,GAAG,QAAQ;AAE5B,MAAM,sBAAsB,GAAkB,QAAQ;AACtD,MAAM,oBAAoB,GAAgB,QAAQ;;ACczD;;;;;;;;;;;;;;;A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EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;2FAmCd,MAAM,EAAA,UAAA,EAAA,CAAA;kBAtClB,SAAS;+BACE,WAAW,EAAA,UAAA,EACT,IAAI,EAAA,OAAA,EACP,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA,QAAA,EAYhB,CAAA,mVAAA,CAAqV,mBAK9U,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAC3B,QAAQ,EAAA,IAAA,EACZ;AACJ,wBAAA,SAAS,EAAE,MAAM;AACjB,wBAAA,cAAc,EAAE,EAAE;AAClB,wBAAA,WAAW,EAAE,MAAM;AACnB,wBAAA,gBAAgB,EAAE,EAAE;AACpB,wBAAA,uBAAuB,EAAE,kBAAkB;AAC3C,wBAAA,qBAAqB,EAAE,gBAAgB;AACvC,wBAAA,kBAAkB,EAAE,gBAAgB;AACpC,wBAAA,qBAAqB,EAAE,4BAA4B;AACnD,wBAAA,sBAAsB,EAAE,wBAAwB;AAChD,wBAAA,sBAAsB,EAAE,4BAA4B;AACpD,wBAAA,aAAa,EAAE,4BAA4B;AAC3C,wBAAA,iBAAiB,EAAE,YAAY;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,ggGAAA,EAAA,6QAAA,CAAA,EAAA;;AAuHH;;;;AAIG;AACH,SAAS,eAAe,CAAC,KAAmC,EAAA;AAC1D,IAAA,OAAO,KAAK,KAAK,SAAS,GAAG,SAAS,GAAG,gBAAgB,CAAC,KAAK,CAAC;AAClE;;AC7MA;;AAEG;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, input, booleanAttribute, HostAttributeToken, computed, ElementRef, DestroyRef, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
2
+ import { InjectionToken, inject, input, booleanAttribute, HostAttributeToken, computed, ElementRef, DestroyRef, ViewEncapsulation, ChangeDetectionStrategy, Component, isDevMode, forwardRef, Directive } from '@angular/core';
3
3
  import { SlList } from '@slotted/angular/list';
4
4
  import { SlGlyph, SlIcon } from '@slotted/angular/icon';
5
5
 
@@ -200,6 +200,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
200
200
  }, styles: ["@layer slotted.components{[data-ui-list-item][data-part-root]{--_min-block: var(--slotted-list-item-min-block-size, var(--slotted-control-height-md, 34px));--_font-size: var(--slotted-list-item-font-size, var(--slotted-control-font-size-md, 13px));--_icon-size: var(--slotted-list-item-icon-size, var(--slotted-control-icon-size-md, 16px));--_control-size: var(--slotted-list-item-control-size, var(--slotted-selection-size-md, 16px));--_gap: var(--slotted-list-item-gap, var(--slotted-control-gap-md, 8px));--_pad-inline: var( --slotted-list-item-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_pad-block: var( --slotted-list-item-padding-block, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) );--_radius: var(--slotted-list-item-radius, var(--slotted-radius-md, 6px));--_text: var(--slotted-list-item-color, var(--slotted-text, CanvasText));--_muted: var(--slotted-list-item-color-muted, var(--slotted-text-muted, GrayText));--_subtle-hover: var(--slotted-tone-secondary-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-secondary-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-secondary-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-secondary-solid-active, ButtonFace);--_surface: var(--slotted-tone-secondary-surface, Canvas);--_hover: var(--slotted-list-item-background-hover, var(--_subtle-hover));--_active: var(--slotted-list-item-background-active, var(--_subtle-active));--_selected-edge: var(--slotted-tone-accent-border, ButtonBorder);--_selected-surface: var( --slotted-list-item-background-selected, var(--slotted-tone-accent-surface, Canvas) );--_selected-text: var(--slotted-tone-accent-text, CanvasText);--_selected-hover: var(--slotted-tone-accent-subtle-hover, ButtonFace);--_selected-active: var(--slotted-tone-accent-subtle-active, ButtonFace);--_current-surface: var( --slotted-list-item-background-current, var(--slotted-tone-secondary-surface, Canvas) );--_current-edge: var(--slotted-tone-secondary-border, ButtonBorder);--_rule: var(--slotted-list-item-border-color, var(--slotted-border-subtle, ButtonBorder));--_rule-width: var(--slotted-list-item-border-width, var(--slotted-border-width-thin, 1px));--_marker-size: calc(var(--_icon-size) * .75);box-sizing:border-box;--_fill: transparent;--_rule-shadow: 0 0 0 0 transparent;--_edge-shadow: 0 0 0 0 transparent;background-color:var(--_fill);border-radius:var(--_radius);box-shadow:var(--_rule-shadow),var(--_edge-shadow);counter-increment:slotted-list-item;transition:background-color var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard)),box-shadow var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard));container-name:slotted-list-item;container-type:inline-size;display:flex;align-items:stretch;flex-wrap:wrap;list-style:none;min-inline-size:0}[data-ui-list-item][data-size=sm]{--_min-block: var( --slotted-list-item-min-block-size-sm, var(--slotted-control-height-sm, 30px) );--_font-size: var(--slotted-list-item-font-size-sm, var(--slotted-control-font-size-sm, 12px));--_icon-size: var(--slotted-list-item-icon-size-sm, var(--slotted-control-icon-size-sm, 14px));--_control-size: var( --slotted-list-item-control-size-sm, var(--slotted-selection-size-sm, 14px) );--_gap: var(--slotted-list-item-gap-sm, var(--slotted-control-gap-sm, 6px));--_pad-inline: var( --slotted-list-item-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_pad-block: var( --slotted-list-item-padding-block-sm, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) )}[data-ui-list-item][data-size=lg]{--_min-block: var( --slotted-list-item-min-block-size-lg, var(--slotted-control-height-lg, 38px) );--_font-size: var(--slotted-list-item-font-size-lg, var(--slotted-control-font-size-lg, 14px));--_icon-size: var(--slotted-list-item-icon-size-lg, var(--slotted-control-icon-size-lg, 18px));--_control-size: var( --slotted-list-item-control-size-lg, var(--slotted-selection-size-lg, 18px) );--_gap: var(--slotted-list-item-gap-lg, var(--slotted-control-gap-lg, 8px));--_pad-inline: var( --slotted-list-item-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_pad-block: var( --slotted-list-item-padding-block-lg, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) )}[data-ui-list-item][data-tone=accent]{--_text: var(--slotted-tone-accent-text, CanvasText);--_subtle-hover: var(--slotted-tone-accent-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-accent-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-accent-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-accent-solid-active, ButtonFace);--_surface: var(--slotted-tone-accent-surface, Canvas);--_selected-edge: var(--slotted-tone-accent-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-accent-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=success]{--_text: var(--slotted-tone-success-text, CanvasText);--_subtle-hover: var(--slotted-tone-success-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-success-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-success-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-success-solid-active, ButtonFace);--_surface: var(--slotted-tone-success-surface, Canvas);--_selected-edge: var(--slotted-tone-success-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-success-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=info]{--_text: var(--slotted-tone-info-text, CanvasText);--_subtle-hover: var(--slotted-tone-info-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-info-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-info-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-info-solid-active, ButtonFace);--_surface: var(--slotted-tone-info-surface, Canvas);--_selected-edge: var(--slotted-tone-info-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-info-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=warning]{--_text: var(--slotted-tone-warning-text, CanvasText);--_subtle-hover: var(--slotted-tone-warning-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-warning-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-warning-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-warning-solid-active, ButtonFace);--_surface: var(--slotted-tone-warning-surface, Canvas);--_selected-edge: var(--slotted-tone-warning-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-warning-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=danger]{--_text: var(--slotted-tone-danger-text, CanvasText);--_subtle-hover: var(--slotted-tone-danger-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-danger-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-danger-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-danger-solid-active, ButtonFace);--_surface: var(--slotted-tone-danger-surface, Canvas);--_selected-edge: var(--slotted-tone-danger-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-danger-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-marker=bullet]>[data-part-marker],[data-ui-list-item][data-marker=number]:before{align-items:start;block-size:calc(var(--_pad-block) * 2 + var(--_font-size) * var(--slotted-line-height-md, 1.5));box-sizing:border-box;color:var(--_text);display:flex;flex:none;font-size:var(--_font-size);font-variant-numeric:tabular-nums;inline-size:var(--_icon-size);line-height:var(--slotted-line-height-md, 1.5);margin-inline-end:var(--_gap);margin-inline-start:var(--_pad-inline);padding-block-start:var(--_pad-block)}[data-ui-list-item][data-marker=bullet]>[data-part-marker]{--slotted-icon-size: var(--_marker-size);justify-content:center}[data-ui-list-item][data-marker=bullet]>[data-part-marker]>[data-ui-icon]{margin-block-start:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5) * .5 - var(--_marker-size) * .5)}[data-ui-list-item][data-marker=number]:before{content:counter(slotted-list-item) \".\";justify-content:end}[data-ui-list-item]:is([data-marker=bullet],[data-marker=number])>[data-part-content]{padding-inline-start:0}[data-ui-list-item][data-inset][data-marker=bullet]>[data-part-marker],[data-ui-list-item][data-inset][data-marker=number]:before{margin-inline-start:0}[data-ui-list-item]>[data-part-content]{appearance:none;background-color:transparent;border:none;border-radius:inherit;box-sizing:border-box;color:var(--_text);display:grid;flex:1 1 0%;font:inherit;font-size:var(--_font-size);grid-template-areas:\"start body end\";grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-block-size:var(--_min-block);min-inline-size:0;padding-block:var(--_pad-block);padding-inline:var(--_pad-inline);text-align:start;text-decoration:none;transition:color var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard))}[data-ui-list-item]:is([data-variant=ruled],[data-variant=framed]){border-radius:0}[data-ui-list-item]:not([data-disabled])>:is(a,button)[data-part-content]:not(:disabled){cursor:pointer}[data-ui-list-item][data-inset]>[data-part-content]{padding-inline:0}[data-ui-list-item][data-align=start]>[data-part-content]{align-items:start}[data-ui-list-item]>[data-part-content]>[data-part-start]{align-items:center;color:var(--_text);display:flex;flex:none;grid-area:start;margin-inline-end:var(--_gap);min-inline-size:var(--_icon-size)}[data-ui-list-item]>[data-part-content]>[data-part-start]:has(>[data-ui-checkbox]){align-items:start;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item][data-align=start]>[data-part-content]>[data-part-start]{min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item]>[data-part-content]>[data-part-body]{display:flex;flex-direction:column;grid-area:body;min-inline-size:0;row-gap:var(--slotted-list-item-body-gap, var(--slotted-space-1, .125rem))}[data-ui-list-item]>[data-part-content]>[data-part-body]>[data-part-label]{color:inherit;font-size:var(--_font-size);font-weight:var(--slotted-list-item-font-weight, var(--slotted-font-weight-regular, 400));line-height:var(--slotted-line-height-md, 1.5);margin-block:0;min-inline-size:0;overflow-wrap:anywhere;unicode-bidi:plaintext}[data-ui-list-item]>[data-part-content]>[data-part-body]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-list-item-description-font-size, var(--slotted-font-size-xs, .75rem));line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;overflow-wrap:anywhere;unicode-bidi:plaintext}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-body]>:is([data-part-label],[data-part-description]){overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap}[data-ui-list-item]>[data-part-content]>[data-part-end]{align-items:center;color:var(--_muted);display:flex;flex:none;gap:var(--_gap);grid-area:end;margin-inline-start:var(--_gap)}[data-ui-list-item]>[data-part-actions]{align-items:center;box-sizing:border-box;display:flex;flex:none;gap:var(--_gap);padding-inline-end:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline-end:0}[data-ui-list-item][data-align=start]>[data-part-actions]{align-items:start;padding-block-start:var(--_pad-block)}[data-ui-list-item]:is([data-variant=ruled],[data-variant=framed]):not(:first-child){--_rule-shadow: 0 calc(var(--_rule-width) * -1) 0 0 var(--_rule)}[data-ui-list-item][data-variant=separated]{--_fill: var(--slotted-list-item-background, var(--slotted-surface-raised, Canvas));border:var(--_rule-width) solid var(--_rule)}[data-ui-list-item][data-variant=separated]{overflow:clip}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):hover){--_fill: var(--_hover)}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):active){--_fill: var(--_active)}[data-ui-list-item]>[data-part-content]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui-list-item][data-current]{--_fill: var(--_current-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_current-edge)}[data-ui-list-item][data-selected]{--_hover: var(--_selected-hover);--_active: var(--_selected-active)}[data-ui-list-item][data-selected]{--_fill: var(--_selected-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_selected-edge)}[data-ui-list-item]:is([data-selected],[data-current]):not(:first-child),[data-ui-list-item]:is([data-selected],[data-current])+[data-ui-list-item]{--_rule-shadow: 0 0 0 0 transparent}[data-ui-list-item][data-selected]+[data-ui-list-item][data-selected]{--_edge-shadow: inset 0 calc(var(--_rule-width) * -1) 0 0 var(--_selected-edge), inset var(--_rule-width) 0 0 0 var(--_selected-edge), inset calc(var(--_rule-width) * -1) 0 0 0 var(--_selected-edge)}[data-ui-list-item][data-selected]>[data-part-content]{color:var(--_selected-text);font-weight:var( --slotted-list-item-font-weight-selected, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-current]>[data-part-content]{font-weight:var( --slotted-list-item-font-weight-current, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-loading]{--_text: var(--_muted)}[data-ui-list-item][data-loading]>[data-part-content]{cursor:progress}[data-ui-list-item][data-disabled]{--_disabled-ink: var( --slotted-list-item-color-disabled, var(--slotted-disabled-foreground, GrayText) );--_text: var(--_disabled-ink);--_muted: var(--_disabled-ink)}[data-ui-list-item][data-disabled]>[data-part-content]{cursor:default}[data-ui-list-item][data-disabled][data-variant=separated]{--_fill: var(--slotted-surface-sunken, Canvas);border-color:var(--slotted-disabled-border, GrayText)}@container slotted-list-item (max-inline-size: 22rem){[data-ui-list-item]>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]>[data-part-content]>[data-part-end]{justify-content:start;margin-block-start:var(--slotted-list-item-body-gap, var(--slotted-space-1, .125rem));margin-inline-start:0}[data-ui-list-item]>[data-part-content]>[data-part-start]{align-self:start;min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item]>[data-part-actions]{flex-basis:100%;justify-content:flex-end;padding-block-end:var(--_pad-block);padding-inline:var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline:0}[data-ui-list-item]>[data-part-actions]:not(:has(>:not([data-shape]))){flex-basis:auto;padding-block-end:0;padding-inline:0 var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]:not(:has(>:not([data-shape]))){padding-inline-end:0}}@media(forced-colors:active){[data-ui-list-item][data-selected]{background-color:Highlight}[data-ui-list-item][data-selected]>[data-part-content]{color:HighlightText}[data-ui-list-item][data-current]:not([data-selected]){outline:var(--slotted-border-width-thin, 1px) solid Highlight;outline-offset:calc(-1 * var(--slotted-border-width-thin, 1px))}}}\n"] }]
201
201
  }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], marker: [{ type: i0.Input, args: [{ isSignal: true, alias: "marker", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], truncate: [{ type: i0.Input, args: [{ isSignal: true, alias: "truncate", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], current: [{ type: i0.Input, args: [{ isSignal: true, alias: "current", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], setSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "setSize", required: false }] }] } });
202
202
 
203
+ /** Provided by `slListItemContent` for the text parts inside it. */
204
+ class SlListItemBox {
205
+ }
206
+ /** Provided by `slListItemBody`, so a box written inside it can say so. */
207
+ class SlListItemBodyScope {
208
+ }
209
+ const warned = new Set();
210
+ /**
211
+ * In development, one `console.error` per part the first time it is written
212
+ * where the stylesheet cannot lay it out. The check reads the injector, not
213
+ * the DOM; a production build drops it.
214
+ */
215
+ function warnNesting(part, misplaced, message) {
216
+ if (!isDevMode() || !misplaced || warned.has(part))
217
+ return;
218
+ warned.add(part);
219
+ console.error(message);
220
+ }
221
+
203
222
  /**
204
223
  * The box that is read, and sometimes activated. One directive on the element
205
224
  * the page wrote, which is what this ecosystem composes with: `<a
@@ -227,6 +246,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
227
246
  class SlListItemContent {
228
247
  row = inject(SlListItem, { optional: true });
229
248
  tag = inject(ElementRef).nativeElement.tagName;
249
+ constructor() {
250
+ warnNesting('slListItemContent', inject(SlListItemBodyScope, { optional: true, skipSelf: true }) !== null, 'slListItemContent must not be inside slListItemBody; slListItemBody goes inside slListItemContent');
251
+ }
230
252
  loading = computed(() => this.row?.loading() ?? false, /* @ts-ignore */
231
253
  ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
232
254
  blocked = computed(() => this.row?.blocked() ?? false, /* @ts-ignore */
@@ -236,7 +258,7 @@ class SlListItemContent {
236
258
  ariaDisabled = computed(() => this.tag === 'A' && this.blocked() ? 'true' : null, /* @ts-ignore */
237
259
  ...(ngDevMode ? [{ debugName: "ariaDisabled" }] : /* istanbul ignore next */ []));
238
260
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
239
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemContent, isStandalone: true, selector: "[slListItemContent]", host: { attributes: { "data-part": "content", "data-part-content": "" }, properties: { "attr.disabled": "nativeDisabled()", "attr.aria-disabled": "ariaDisabled()", "attr.aria-busy": "loading() ? 'true' : null" } }, exportAs: ["slListItemContent"], ngImport: i0 });
261
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemContent, isStandalone: true, selector: "[slListItemContent]", host: { attributes: { "data-part": "content", "data-part-content": "" }, properties: { "attr.disabled": "nativeDisabled()", "attr.aria-disabled": "ariaDisabled()", "attr.aria-busy": "loading() ? 'true' : null" } }, providers: [{ provide: SlListItemBox, useExisting: forwardRef(() => SlListItemContent) }], exportAs: ["slListItemContent"], ngImport: i0 });
240
262
  }
241
263
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemContent, decorators: [{
242
264
  type: Directive,
@@ -244,6 +266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
244
266
  selector: '[slListItemContent]',
245
267
  standalone: true,
246
268
  exportAs: 'slListItemContent',
269
+ providers: [{ provide: SlListItemBox, useExisting: forwardRef(() => SlListItemContent) }],
247
270
  host: {
248
271
  'data-part': 'content',
249
272
  'data-part-content': '',
@@ -252,8 +275,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
252
275
  '[attr.aria-busy]': "loading() ? 'true' : null",
253
276
  },
254
277
  }]
255
- }] });
278
+ }], ctorParameters: () => [] });
256
279
 
280
+ /** A text part outside the box, which the stylesheet does not lay out. */
281
+ function checkInsideBox(part) {
282
+ warnNesting(part, inject(SlListItemBox, { optional: true }) === null, `${part} must be inside slListItemContent`);
283
+ }
257
284
  /**
258
285
  * The leading column: an icon, an avatar, a `slCheckbox`. The column is the
259
286
  * control glyph's own width, so whatever stands in it lands on the same line as
@@ -278,8 +305,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
278
305
  }] });
279
306
  /** The text column, and the one box in the row that may shrink. */
280
307
  class SlListItemBody {
308
+ constructor() {
309
+ checkInsideBox('slListItemBody');
310
+ }
281
311
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemBody, deps: [], target: i0.ɵɵFactoryTarget.Directive });
282
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemBody, isStandalone: true, selector: "[slListItemBody]", host: { attributes: { "data-part": "body", "data-part-body": "" } }, exportAs: ["slListItemBody"], ngImport: i0 });
312
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemBody, isStandalone: true, selector: "[slListItemBody]", host: { attributes: { "data-part": "body", "data-part-body": "" } }, providers: [{ provide: SlListItemBodyScope, useExisting: forwardRef(() => SlListItemBody) }], exportAs: ["slListItemBody"], ngImport: i0 });
283
313
  }
284
314
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemBody, decorators: [{
285
315
  type: Directive,
@@ -287,15 +317,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
287
317
  selector: '[slListItemBody]',
288
318
  standalone: true,
289
319
  exportAs: 'slListItemBody',
320
+ providers: [{ provide: SlListItemBodyScope, useExisting: forwardRef(() => SlListItemBody) }],
290
321
  host: { 'data-part': 'body', 'data-part-body': '' },
291
322
  }]
292
- }] });
323
+ }], ctorParameters: () => [] });
293
324
  /**
294
325
  * The title. It clips under `truncate`, isolates its own direction so a title
295
326
  * in another script leaves the row around it alone, and breaks a single
296
327
  * unbroken token — a URL, a commit hash — rather than pushing the metadata out.
297
328
  */
298
329
  class SlListItemLabel {
330
+ constructor() {
331
+ checkInsideBox('slListItemLabel');
332
+ }
299
333
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
300
334
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemLabel, isStandalone: true, selector: "[slListItemLabel]", host: { attributes: { "data-part": "label", "data-part-label": "" } }, exportAs: ["slListItemLabel"], ngImport: i0 });
301
335
  }
@@ -307,9 +341,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
307
341
  exportAs: 'slListItemLabel',
308
342
  host: { 'data-part': 'label', 'data-part-label': '' },
309
343
  }]
310
- }] });
344
+ }], ctorParameters: () => [] });
311
345
  /** The lines under the title. They clip with it, never instead of it. */
312
346
  class SlListItemDescription {
347
+ constructor() {
348
+ checkInsideBox('slListItemDescription');
349
+ }
313
350
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
314
351
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemDescription, isStandalone: true, selector: "[slListItemDescription]", host: { attributes: { "data-part": "description", "data-part-description": "" } }, exportAs: ["slListItemDescription"], ngImport: i0 });
315
352
  }
@@ -321,7 +358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
321
358
  exportAs: 'slListItemDescription',
322
359
  host: { 'data-part': 'description', 'data-part-description': '' },
323
360
  }]
324
- }] });
361
+ }], ctorParameters: () => [] });
325
362
  /**
326
363
  * Trailing metadata that is part of what the row says — a timestamp, a count, a
327
364
  * `slBadge`. It is inside the box, so it is part of the row's own name for a
@@ -1 +1 @@
1
- {"version":3,"file":"slotted-angular-list-item.mjs","sources":["../../list-item/src/list-item-defaults.ts","../../list-item/src/list-item.ts","../../list-item/src/list-item-content.ts","../../list-item/src/list-item-parts.ts","../../list-item/src/slotted-angular-list-item.ts"],"sourcesContent":["import { inject, InjectionToken } from '@angular/core';\n\n/** The five the theme carries. `secondary` is the library's neutral. */\nexport type ListItemTone = 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'danger';\n\n/** The room the row gets. Density is the application's choice; this is not. */\nexport type ListItemSize = 'sm' | 'md' | 'lg';\n\n/**\n * Where the leading visual and the trailing metadata sit against a row of more\n * than one line: on the middle of the block, or on the title's own line.\n */\nexport type ListItemAlign = 'center' | 'start';\n\n/**\n * What the row is the current one *of*. ARIA 1.2 lists `aria-current` as\n * inherited by `listitem` and does not deprecate it, which makes this the one\n * selection-shaped state a static list may announce for itself.\n */\nexport type ListItemCurrent = boolean | 'page' | 'step' | 'location' | 'date' | 'time';\n\nexport interface ListItemDefaults {\n align: ListItemAlign;\n inset: boolean;\n size: ListItemSize;\n tone: ListItemTone;\n truncate: boolean;\n}\n\nconst FALLBACK: ListItemDefaults = {\n align: 'center',\n inset: false,\n size: 'md',\n tone: 'secondary',\n truncate: false,\n};\n\nexport const LIST_ITEM_DEFAULTS = new InjectionToken<ListItemDefaults>(\n 'slotted list item defaults',\n { providedIn: 'root', factory: () => FALLBACK },\n);\n\n/**\n * An application decides once how its rows are aligned, how far they are inset\n * and whether a title the row cannot grow for is clipped. A row that states any\n * of them itself still wins, and so does the list between the two.\n */\nexport function provideListItemDefaults(defaults: Partial<ListItemDefaults>) {\n return {\n provide: LIST_ITEM_DEFAULTS,\n useFactory: (): ListItemDefaults => ({\n align: defaults.align ?? FALLBACK.align,\n inset: defaults.inset ?? FALLBACK.inset,\n size: defaults.size ?? FALLBACK.size,\n tone: defaults.tone ?? FALLBACK.tone,\n truncate: defaults.truncate ?? FALLBACK.truncate,\n }),\n };\n}\n\n/** What a row renders as here, before the list or the row states anything. */\nexport function injectListItemDefaults(): ListItemDefaults {\n return inject(LIST_ITEM_DEFAULTS);\n}\n","import { SlList } from '@slotted/angular/list';\nimport type { ListMarker, ListVariant } from '@slotted/angular/list';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SlGlyph, SlIcon } from '@slotted/angular/icon';\n\nimport { injectListItemDefaults } from './list-item-defaults';\nimport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\nexport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\n/**\n * One entry of a `slList`: the `li`, and every state the row paints. The box\n * that is read, hovered, focused and sometimes activated is `slListItemContent`\n * on the element the page chose, and `slListItemActions` is that box's sibling\n * — interactive content may not nest inside `a` or `button`.\n *\n * Four values come from the list when the row does not state them: `variant`,\n * `size`, `marker` and `inset`. Everything else is a fact about this row.\n *\n * **No state attribute the roles model forbids reaches the `li`.** ARIA 1.2\n * deprecates `aria-disabled` on `listitem`, so `disabled` is painted from\n * `data-disabled` and the attribute that means it is written on the box.\n * `aria-current` is inherited by the role and is not deprecated, so `current`\n * is announced here.\n */\n@Component({\n selector: 'li[slListItem]',\n standalone: true,\n exportAs: 'slListItem',\n imports: [SlGlyph, SlIcon],\n /* The bullet is the dot glyph in a part of its own before the row's content;\n the number is a counter the stylesheet writes, because it is text rather\n than an icon. */\n template: `@if (resolvedMarker() === 'bullet') {\n <span data-part=\"marker\" data-part-marker=\"\" aria-hidden=\"true\"\n ><span slIcon><svg slGlyph name=\"dot\"></svg></span\n ></span>\n }\n <ng-content></ng-content>`,\n styleUrl: '../../../styles/src/list-item/list-item.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-ui': 'list-item',\n 'data-ui-list-item': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-variant]': 'resolvedVariant()',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-marker]': 'resolvedMarker()',\n '[attr.data-align]': 'resolvedAlign()',\n '[attr.data-tone]': 'resolvedTone()',\n '[attr.data-inset]': \"resolvedInset() ? '' : null\",\n '[attr.data-truncate]': \"resolvedTruncate() ? '' : null\",\n '[attr.data-selected]': \"selected() ? '' : null\",\n '[attr.data-current]': \"current() === false ? null : ''\",\n '[attr.data-disabled]': \"disabled() ? '' : null\",\n '[attr.data-loading]': \"loading() ? '' : null\",\n '[attr.aria-current]': 'ariaCurrent()',\n '[attr.aria-posinset]': 'position() ?? null',\n '[attr.aria-setsize]': 'setSize() ?? null',\n },\n})\nexport class SlListItem {\n /** How the rows are told apart. Falls back to the list, then to `plain`. */\n readonly variant = input<ListVariant | undefined>(undefined);\n /** The room the row gets. Falls back to the list, then the token, then `md`. */\n readonly size = input<ListItemSize | undefined>(undefined);\n /** What is painted in the marker column. Falls back to the list, then `none`. */\n readonly marker = input<ListMarker | undefined>(undefined);\n /** Where the leading visual sits against a row of more than one line. */\n readonly align = input<ListItemAlign | undefined>(undefined);\n /** The row's ink and the wash under the pointer. Falls back to `secondary`. */\n readonly tone = input<ListItemTone | undefined>(undefined);\n /** Takes the row's inline padding away. Falls back to the list, then the token. */\n readonly inset = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /** Clips the title and the lines under it to one line each. The string stays. */\n readonly truncate = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /**\n * Mirrors a selection the page owns. `aria-selected` is not valid on\n * `listitem`, so the row paints it and the control the page puts in\n * `slListItemStart` — a `slCheckbox` — is what announces it.\n */\n readonly selected = input(false, { transform: booleanAttribute });\n /**\n * The row the reader is on. `true` writes `aria-current=\"true\"`; a token\n * writes that token, and `page` is what a navigation list wants.\n */\n readonly current = input<ListItemCurrent>(false);\n /**\n * The row dims and stops answering the pointer. The attribute that means it\n * goes on the box inside and never on this `li`, which ARIA 1.2 forbids.\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n /**\n * `aria-busy` on the box, and the activation withdrawn so the command cannot\n * run twice. The row keeps its width and its accessible name; what stands in\n * for the content is `slSkeleton`, composed by the page.\n */\n readonly loading = input(false, { transform: booleanAttribute });\n /**\n * The row's place in a set only part of which is in the document — a page of\n * results, a filtered list. ARIA 1.2 is explicit that it is unnecessary while\n * every row is present, so it is written only when stated.\n */\n readonly position = input<number | undefined>(undefined);\n /** How many rows the set holds, when only part of it is in the document. */\n readonly setSize = input<number | undefined>(undefined);\n\n private readonly defaults = injectListItemDefaults();\n private readonly list = inject(SlList, { optional: true });\n /** An `aria-current` the consumer wrote is never replaced by the family's. */\n private readonly writtenCurrent = inject(new HostAttributeToken('aria-current'), {\n optional: true,\n });\n\n readonly resolvedVariant = computed(\n () => this.variant() ?? this.list?.resolvedVariant() ?? 'plain',\n );\n readonly resolvedSize = computed(\n () => this.size() ?? this.list?.resolvedSize() ?? this.defaults.size,\n );\n readonly resolvedMarker = computed(() => this.marker() ?? this.list?.resolvedMarker() ?? 'none');\n readonly resolvedAlign = computed(() => this.align() ?? this.defaults.align);\n readonly resolvedTone = computed(() => this.tone() ?? this.defaults.tone);\n readonly resolvedInset = computed(\n () => (this.inset() ?? this.list?.resolvedInset() ?? this.defaults.inset) === true,\n );\n readonly resolvedTruncate = computed(() => (this.truncate() ?? this.defaults.truncate) === true);\n\n /** The two states the box inside has to answer, and the only pair it reads. */\n readonly blocked = computed(() => this.disabled() || this.loading());\n\n constructor() {\n /**\n * The refusal, and it lives here rather than on the box because this is the\n * only place the DOM guarantees it runs first.\n *\n * A directive's host listener and a `(click)` the page wrote on the same\n * element are both listeners on the event's target, and at the target the\n * DOM invokes listeners in registration order — the capture flag decides\n * nothing there. The page's binding was registered first, so a refusal on\n * the box arrived after the handler it was meant to stop. A capture\n * listener on an *ancestor* has no such tie: it always runs before any\n * listener on a descendant.\n *\n * It refuses only what is inside `content`. A control the page put in\n * `slListItemActions` is the page's own to disable, which is the rule\n * `card` states for the same shape.\n */\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const refuse = (event: Event) => {\n if (!this.blocked()) return;\n const target = event.target as Element | null;\n if (target?.closest('[data-part=\"content\"]') == null) return;\n event.preventDefault();\n event.stopImmediatePropagation();\n };\n\n host.addEventListener('click', refuse, { capture: true });\n inject(DestroyRef).onDestroy(() =>\n host.removeEventListener('click', refuse, { capture: true }),\n );\n }\n\n protected readonly ariaCurrent = computed(() => {\n if (this.writtenCurrent !== null) return this.writtenCurrent;\n const current = this.current();\n if (current === false) return null;\n return current === true ? 'true' : current;\n });\n}\n","import { computed, Directive, ElementRef, inject } from '@angular/core';\n\nimport { SlListItem } from './list-item';\n\n/**\n * The box that is read, and sometimes activated. One directive on the element\n * the page wrote, which is what this ecosystem composes with: `<a\n * slListItemContent [routerLink]>` is a real destination and `<button\n * slListItemContent>` a real command, and the router link, the form ownership\n * and the modified click a browser gives an anchor all stay the page's.\n *\n * React exports three components instead, because there the component owns the\n * tag and a string that picked between three accessibility trees would turn a\n * typo into a `div` no reader can reach. Both bindings reach the same tree.\n *\n * How an interaction is refused depends on the element, because the platform\n * gives each element a different way to say so:\n *\n * - a `button` takes the native `disabled`, which removes it from the tab order\n * and stops the activation at the platform;\n * - an `a` takes `aria-disabled=\"true\"` and keeps its destination, because that\n * attribute means perceivable but not operable and leaves the element\n * focusable — a reader can still reach the row and hear why it is\n * unavailable. The activation is refused by `SlListItem`, which is also the\n * only place the refusal can be made to run first;\n * - anything else takes neither, and any control the page put in\n * `slListItemActions` is the page's own to disable.\n */\n@Directive({\n selector: '[slListItemContent]',\n standalone: true,\n exportAs: 'slListItemContent',\n host: {\n 'data-part': 'content',\n 'data-part-content': '',\n '[attr.disabled]': 'nativeDisabled()',\n '[attr.aria-disabled]': 'ariaDisabled()',\n '[attr.aria-busy]': \"loading() ? 'true' : null\",\n },\n})\nexport class SlListItemContent {\n private readonly row = inject(SlListItem, { optional: true });\n private readonly tag = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement.tagName;\n\n readonly loading = computed(() => this.row?.loading() ?? false);\n\n private readonly blocked = computed(() => this.row?.blocked() ?? false);\n\n protected readonly nativeDisabled = computed(() =>\n this.tag === 'BUTTON' && this.blocked() ? '' : null,\n );\n\n protected readonly ariaDisabled = computed(() =>\n this.tag === 'A' && this.blocked() ? 'true' : null,\n );\n}\n","import { Directive } from '@angular/core';\n\n/**\n * The leading column: an icon, an avatar, a `slCheckbox`. The column is the\n * control glyph's own width, so whatever stands in it lands on the same line as\n * every other row's.\n *\n * It is the slot and not the control. A row that drew its own check would be a\n * second answer to the question `checkbox` already owns, and a chooser here is\n * also what announces a selection the row only paints.\n */\n@Directive({\n selector: '[slListItemStart]',\n standalone: true,\n exportAs: 'slListItemStart',\n host: { 'data-part': 'start', 'data-part-start': '' },\n})\nexport class SlListItemStart {}\n\n/** The text column, and the one box in the row that may shrink. */\n@Directive({\n selector: '[slListItemBody]',\n standalone: true,\n exportAs: 'slListItemBody',\n host: { 'data-part': 'body', 'data-part-body': '' },\n})\nexport class SlListItemBody {}\n\n/**\n * The title. It clips under `truncate`, isolates its own direction so a title\n * in another script leaves the row around it alone, and breaks a single\n * unbroken token — a URL, a commit hash — rather than pushing the metadata out.\n */\n@Directive({\n selector: '[slListItemLabel]',\n standalone: true,\n exportAs: 'slListItemLabel',\n host: { 'data-part': 'label', 'data-part-label': '' },\n})\nexport class SlListItemLabel {}\n\n/** The lines under the title. They clip with it, never instead of it. */\n@Directive({\n selector: '[slListItemDescription]',\n standalone: true,\n exportAs: 'slListItemDescription',\n host: { 'data-part': 'description', 'data-part-description': '' },\n})\nexport class SlListItemDescription {}\n\n/**\n * Trailing metadata that is part of what the row says — a timestamp, a count, a\n * `slBadge`. It is inside the box, so it is part of the row's own name for a\n * reader and part of its target for a pointer. Anything that acts is\n * `slListItemActions`.\n */\n@Directive({\n selector: '[slListItemEnd]',\n standalone: true,\n exportAs: 'slListItemEnd',\n host: { 'data-part': 'end', 'data-part-end': '' },\n})\nexport class SlListItemEnd {}\n\n/**\n * Independent targets, and a **sibling** of the box rather than its child.\n * Interactive content may not nest inside `a` or `button`, so a row that\n * navigates and also deletes has to put its two controls side by side. Every\n * surveyed implementation lets a consumer nest them instead and produces HTML\n * no browser can make focusable.\n */\n@Directive({\n selector: '[slListItemActions]',\n standalone: true,\n exportAs: 'slListItemActions',\n host: { 'data-part': 'actions', 'data-part-actions': '' },\n})\nexport class SlListItemActions {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA6BA,MAAM,QAAQ,GAAqB;AACjC,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,QAAQ,EAAE,KAAK;CAChB;MAEY,kBAAkB,GAAG,IAAI,cAAc,CAClD,4BAA4B,EAC5B,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAAQ,EAAE;AAGjD;;;;AAIG;AACG,SAAU,uBAAuB,CAAC,QAAmC,EAAA;IACzE,OAAO;AACL,QAAA,OAAO,EAAE,kBAAkB;AAC3B,QAAA,UAAU,EAAE,OAAyB;AACnC,YAAA,KAAK,EAAE,QAAQ,CAAC,KAAK,IAAI,QAAQ,CAAC,KAAK;AACvC,YAAA,KAAK,EAAE,QAAQ,CAAC,KAAK,IAAI,QAAQ,CAAC,KAAK;AACvC,YAAA,IAAI,EAAE,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;AACpC,YAAA,IAAI,EAAE,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;AACpC,YAAA,QAAQ,EAA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,CAAA;kBANzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;oBACzB,IAAI,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE;AAClD,iBAAA;;AAGD;;;;;;AAMG;MAOU,iBAAiB,CAAA;uGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,mBAAmB,EAAE,EAAE,EAAE;AAC1D,iBAAA;;;AC5ED;;AAEG;;"}
1
+ {"version":3,"file":"slotted-angular-list-item.mjs","sources":["../../list-item/src/list-item-defaults.ts","../../list-item/src/list-item.ts","../../list-item/src/list-item-nesting.ts","../../list-item/src/list-item-content.ts","../../list-item/src/list-item-parts.ts","../../list-item/src/slotted-angular-list-item.ts"],"sourcesContent":["import { inject, InjectionToken } from '@angular/core';\n\n/** The five the theme carries. `secondary` is the library's neutral. */\nexport type ListItemTone = 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'danger';\n\n/** The room the row gets. Density is the application's choice; this is not. */\nexport type ListItemSize = 'sm' | 'md' | 'lg';\n\n/**\n * Where the leading visual and the trailing metadata sit against a row of more\n * than one line: on the middle of the block, or on the title's own line.\n */\nexport type ListItemAlign = 'center' | 'start';\n\n/**\n * What the row is the current one *of*. ARIA 1.2 lists `aria-current` as\n * inherited by `listitem` and does not deprecate it, which makes this the one\n * selection-shaped state a static list may announce for itself.\n */\nexport type ListItemCurrent = boolean | 'page' | 'step' | 'location' | 'date' | 'time';\n\nexport interface ListItemDefaults {\n align: ListItemAlign;\n inset: boolean;\n size: ListItemSize;\n tone: ListItemTone;\n truncate: boolean;\n}\n\nconst FALLBACK: ListItemDefaults = {\n align: 'center',\n inset: false,\n size: 'md',\n tone: 'secondary',\n truncate: false,\n};\n\nexport const LIST_ITEM_DEFAULTS = new InjectionToken<ListItemDefaults>(\n 'slotted list item defaults',\n { providedIn: 'root', factory: () => FALLBACK },\n);\n\n/**\n * An application decides once how its rows are aligned, how far they are inset\n * and whether a title the row cannot grow for is clipped. A row that states any\n * of them itself still wins, and so does the list between the two.\n */\nexport function provideListItemDefaults(defaults: Partial<ListItemDefaults>) {\n return {\n provide: LIST_ITEM_DEFAULTS,\n useFactory: (): ListItemDefaults => ({\n align: defaults.align ?? FALLBACK.align,\n inset: defaults.inset ?? FALLBACK.inset,\n size: defaults.size ?? FALLBACK.size,\n tone: defaults.tone ?? FALLBACK.tone,\n truncate: defaults.truncate ?? FALLBACK.truncate,\n }),\n };\n}\n\n/** What a row renders as here, before the list or the row states anything. */\nexport function injectListItemDefaults(): ListItemDefaults {\n return inject(LIST_ITEM_DEFAULTS);\n}\n","import { SlList } from '@slotted/angular/list';\nimport type { ListMarker, ListVariant } from '@slotted/angular/list';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SlGlyph, SlIcon } from '@slotted/angular/icon';\n\nimport { injectListItemDefaults } from './list-item-defaults';\nimport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\nexport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\n/**\n * One entry of a `slList`: the `li`, and every state the row paints. The box\n * that is read, hovered, focused and sometimes activated is `slListItemContent`\n * on the element the page chose, and `slListItemActions` is that box's sibling\n * — interactive content may not nest inside `a` or `button`.\n *\n * Four values come from the list when the row does not state them: `variant`,\n * `size`, `marker` and `inset`. Everything else is a fact about this row.\n *\n * **No state attribute the roles model forbids reaches the `li`.** ARIA 1.2\n * deprecates `aria-disabled` on `listitem`, so `disabled` is painted from\n * `data-disabled` and the attribute that means it is written on the box.\n * `aria-current` is inherited by the role and is not deprecated, so `current`\n * is announced here.\n */\n@Component({\n selector: 'li[slListItem]',\n standalone: true,\n exportAs: 'slListItem',\n imports: [SlGlyph, SlIcon],\n /* The bullet is the dot glyph in a part of its own before the row's content;\n the number is a counter the stylesheet writes, because it is text rather\n than an icon. */\n template: `@if (resolvedMarker() === 'bullet') {\n <span data-part=\"marker\" data-part-marker=\"\" aria-hidden=\"true\"\n ><span slIcon><svg slGlyph name=\"dot\"></svg></span\n ></span>\n }\n <ng-content></ng-content>`,\n styleUrl: '../../../styles/src/list-item/list-item.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-ui': 'list-item',\n 'data-ui-list-item': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-variant]': 'resolvedVariant()',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-marker]': 'resolvedMarker()',\n '[attr.data-align]': 'resolvedAlign()',\n '[attr.data-tone]': 'resolvedTone()',\n '[attr.data-inset]': \"resolvedInset() ? '' : null\",\n '[attr.data-truncate]': \"resolvedTruncate() ? '' : null\",\n '[attr.data-selected]': \"selected() ? '' : null\",\n '[attr.data-current]': \"current() === false ? null : ''\",\n '[attr.data-disabled]': \"disabled() ? '' : null\",\n '[attr.data-loading]': \"loading() ? '' : null\",\n '[attr.aria-current]': 'ariaCurrent()',\n '[attr.aria-posinset]': 'position() ?? null',\n '[attr.aria-setsize]': 'setSize() ?? null',\n },\n})\nexport class SlListItem {\n /** How the rows are told apart. Falls back to the list, then to `plain`. */\n readonly variant = input<ListVariant | undefined>(undefined);\n /** The room the row gets. Falls back to the list, then the token, then `md`. */\n readonly size = input<ListItemSize | undefined>(undefined);\n /** What is painted in the marker column. Falls back to the list, then `none`. */\n readonly marker = input<ListMarker | undefined>(undefined);\n /** Where the leading visual sits against a row of more than one line. */\n readonly align = input<ListItemAlign | undefined>(undefined);\n /** The row's ink and the wash under the pointer. Falls back to `secondary`. */\n readonly tone = input<ListItemTone | undefined>(undefined);\n /** Takes the row's inline padding away. Falls back to the list, then the token. */\n readonly inset = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /** Clips the title and the lines under it to one line each. The string stays. */\n readonly truncate = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /**\n * Mirrors a selection the page owns. `aria-selected` is not valid on\n * `listitem`, so the row paints it and the control the page puts in\n * `slListItemStart` — a `slCheckbox` — is what announces it.\n */\n readonly selected = input(false, { transform: booleanAttribute });\n /**\n * The row the reader is on. `true` writes `aria-current=\"true\"`; a token\n * writes that token, and `page` is what a navigation list wants.\n */\n readonly current = input<ListItemCurrent>(false);\n /**\n * The row dims and stops answering the pointer. The attribute that means it\n * goes on the box inside and never on this `li`, which ARIA 1.2 forbids.\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n /**\n * `aria-busy` on the box, and the activation withdrawn so the command cannot\n * run twice. The row keeps its width and its accessible name; what stands in\n * for the content is `slSkeleton`, composed by the page.\n */\n readonly loading = input(false, { transform: booleanAttribute });\n /**\n * The row's place in a set only part of which is in the document — a page of\n * results, a filtered list. ARIA 1.2 is explicit that it is unnecessary while\n * every row is present, so it is written only when stated.\n */\n readonly position = input<number | undefined>(undefined);\n /** How many rows the set holds, when only part of it is in the document. */\n readonly setSize = input<number | undefined>(undefined);\n\n private readonly defaults = injectListItemDefaults();\n private readonly list = inject(SlList, { optional: true });\n /** An `aria-current` the consumer wrote is never replaced by the family's. */\n private readonly writtenCurrent = inject(new HostAttributeToken('aria-current'), {\n optional: true,\n });\n\n readonly resolvedVariant = computed(\n () => this.variant() ?? this.list?.resolvedVariant() ?? 'plain',\n );\n readonly resolvedSize = computed(\n () => this.size() ?? this.list?.resolvedSize() ?? this.defaults.size,\n );\n readonly resolvedMarker = computed(() => this.marker() ?? this.list?.resolvedMarker() ?? 'none');\n readonly resolvedAlign = computed(() => this.align() ?? this.defaults.align);\n readonly resolvedTone = computed(() => this.tone() ?? this.defaults.tone);\n readonly resolvedInset = computed(\n () => (this.inset() ?? this.list?.resolvedInset() ?? this.defaults.inset) === true,\n );\n readonly resolvedTruncate = computed(() => (this.truncate() ?? this.defaults.truncate) === true);\n\n /** The two states the box inside has to answer, and the only pair it reads. */\n readonly blocked = computed(() => this.disabled() || this.loading());\n\n constructor() {\n /**\n * The refusal, and it lives here rather than on the box because this is the\n * only place the DOM guarantees it runs first.\n *\n * A directive's host listener and a `(click)` the page wrote on the same\n * element are both listeners on the event's target, and at the target the\n * DOM invokes listeners in registration order — the capture flag decides\n * nothing there. The page's binding was registered first, so a refusal on\n * the box arrived after the handler it was meant to stop. A capture\n * listener on an *ancestor* has no such tie: it always runs before any\n * listener on a descendant.\n *\n * It refuses only what is inside `content`. A control the page put in\n * `slListItemActions` is the page's own to disable, which is the rule\n * `card` states for the same shape.\n */\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const refuse = (event: Event) => {\n if (!this.blocked()) return;\n const target = event.target as Element | null;\n if (target?.closest('[data-part=\"content\"]') == null) return;\n event.preventDefault();\n event.stopImmediatePropagation();\n };\n\n host.addEventListener('click', refuse, { capture: true });\n inject(DestroyRef).onDestroy(() =>\n host.removeEventListener('click', refuse, { capture: true }),\n );\n }\n\n protected readonly ariaCurrent = computed(() => {\n if (this.writtenCurrent !== null) return this.writtenCurrent;\n const current = this.current();\n if (current === false) return null;\n return current === true ? 'true' : current;\n });\n}\n","import { isDevMode } from '@angular/core';\n\n/** Provided by `slListItemContent` for the text parts inside it. */\nexport abstract class SlListItemBox {}\n/** Provided by `slListItemBody`, so a box written inside it can say so. */\nexport abstract class SlListItemBodyScope {}\n\nconst warned = new Set<string>();\n\n/**\n * In development, one `console.error` per part the first time it is written\n * where the stylesheet cannot lay it out. The check reads the injector, not\n * the DOM; a production build drops it.\n */\nexport function warnNesting(part: string, misplaced: boolean, message: string): void {\n if (!isDevMode() || !misplaced || warned.has(part)) return;\n warned.add(part);\n console.error(message);\n}\n","import { computed, Directive, ElementRef, forwardRef, inject } from '@angular/core';\n\nimport { SlListItem } from './list-item';\nimport { SlListItemBodyScope, SlListItemBox, warnNesting } from './list-item-nesting';\n\n/**\n * The box that is read, and sometimes activated. One directive on the element\n * the page wrote, which is what this ecosystem composes with: `<a\n * slListItemContent [routerLink]>` is a real destination and `<button\n * slListItemContent>` a real command, and the router link, the form ownership\n * and the modified click a browser gives an anchor all stay the page's.\n *\n * React exports three components instead, because there the component owns the\n * tag and a string that picked between three accessibility trees would turn a\n * typo into a `div` no reader can reach. Both bindings reach the same tree.\n *\n * How an interaction is refused depends on the element, because the platform\n * gives each element a different way to say so:\n *\n * - a `button` takes the native `disabled`, which removes it from the tab order\n * and stops the activation at the platform;\n * - an `a` takes `aria-disabled=\"true\"` and keeps its destination, because that\n * attribute means perceivable but not operable and leaves the element\n * focusable — a reader can still reach the row and hear why it is\n * unavailable. The activation is refused by `SlListItem`, which is also the\n * only place the refusal can be made to run first;\n * - anything else takes neither, and any control the page put in\n * `slListItemActions` is the page's own to disable.\n */\n@Directive({\n selector: '[slListItemContent]',\n standalone: true,\n exportAs: 'slListItemContent',\n providers: [{ provide: SlListItemBox, useExisting: forwardRef(() => SlListItemContent) }],\n host: {\n 'data-part': 'content',\n 'data-part-content': '',\n '[attr.disabled]': 'nativeDisabled()',\n '[attr.aria-disabled]': 'ariaDisabled()',\n '[attr.aria-busy]': \"loading() ? 'true' : null\",\n },\n})\nexport class SlListItemContent {\n private readonly row = inject(SlListItem, { optional: true });\n private readonly tag = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement.tagName;\n\n constructor() {\n warnNesting(\n 'slListItemContent',\n inject(SlListItemBodyScope, { optional: true, skipSelf: true }) !== null,\n 'slListItemContent must not be inside slListItemBody; slListItemBody goes inside slListItemContent',\n );\n }\n\n readonly loading = computed(() => this.row?.loading() ?? false);\n\n private readonly blocked = computed(() => this.row?.blocked() ?? false);\n\n protected readonly nativeDisabled = computed(() =>\n this.tag === 'BUTTON' && this.blocked() ? '' : null,\n );\n\n protected readonly ariaDisabled = computed(() =>\n this.tag === 'A' && this.blocked() ? 'true' : null,\n );\n}\n","import { Directive, forwardRef, inject } from '@angular/core';\n\nimport { SlListItemBodyScope, SlListItemBox, warnNesting } from './list-item-nesting';\n\n/** A text part outside the box, which the stylesheet does not lay out. */\nfunction checkInsideBox(part: string): void {\n warnNesting(\n part,\n inject(SlListItemBox, { optional: true }) === null,\n `${part} must be inside slListItemContent`,\n );\n}\n\n/**\n * The leading column: an icon, an avatar, a `slCheckbox`. The column is the\n * control glyph's own width, so whatever stands in it lands on the same line as\n * every other row's.\n *\n * It is the slot and not the control. A row that drew its own check would be a\n * second answer to the question `checkbox` already owns, and a chooser here is\n * also what announces a selection the row only paints.\n */\n@Directive({\n selector: '[slListItemStart]',\n standalone: true,\n exportAs: 'slListItemStart',\n host: { 'data-part': 'start', 'data-part-start': '' },\n})\nexport class SlListItemStart {}\n\n/** The text column, and the one box in the row that may shrink. */\n@Directive({\n selector: '[slListItemBody]',\n standalone: true,\n exportAs: 'slListItemBody',\n providers: [{ provide: SlListItemBodyScope, useExisting: forwardRef(() => SlListItemBody) }],\n host: { 'data-part': 'body', 'data-part-body': '' },\n})\nexport class SlListItemBody {\n constructor() {\n checkInsideBox('slListItemBody');\n }\n}\n\n/**\n * The title. It clips under `truncate`, isolates its own direction so a title\n * in another script leaves the row around it alone, and breaks a single\n * unbroken token — a URL, a commit hash — rather than pushing the metadata out.\n */\n@Directive({\n selector: '[slListItemLabel]',\n standalone: true,\n exportAs: 'slListItemLabel',\n host: { 'data-part': 'label', 'data-part-label': '' },\n})\nexport class SlListItemLabel {\n constructor() {\n checkInsideBox('slListItemLabel');\n }\n}\n\n/** The lines under the title. They clip with it, never instead of it. */\n@Directive({\n selector: '[slListItemDescription]',\n standalone: true,\n exportAs: 'slListItemDescription',\n host: { 'data-part': 'description', 'data-part-description': '' },\n})\nexport class SlListItemDescription {\n constructor() {\n checkInsideBox('slListItemDescription');\n }\n}\n\n/**\n * Trailing metadata that is part of what the row says — a timestamp, a count, a\n * `slBadge`. It is inside the box, so it is part of the row's own name for a\n * reader and part of its target for a pointer. Anything that acts is\n * `slListItemActions`.\n */\n@Directive({\n selector: '[slListItemEnd]',\n standalone: true,\n exportAs: 'slListItemEnd',\n host: { 'data-part': 'end', 'data-part-end': '' },\n})\nexport class SlListItemEnd {}\n\n/**\n * Independent targets, and a **sibling** of the box rather than its child.\n * Interactive content may not nest inside `a` or `button`, so a row that\n * navigates and also deletes has to put its two controls side by side. Every\n * surveyed implementation lets a consumer nest them instead and produces HTML\n * no browser can make focusable.\n */\n@Directive({\n selector: '[slListItemActions]',\n standalone: true,\n exportAs: 'slListItemActions',\n host: { 'data-part': 'actions', 'data-part-actions': '' },\n})\nexport class SlListItemActions {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA6BA,MAAM,QAAQ,GAAqB;AACjC,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,KAAK,EAAE,KAAK;AACZ,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,IAAI,EAAE,WAA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