@slotted/angular 0.1.0-beta.35 → 0.1.0-beta.36

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 (73) hide show
  1. package/docs/button.json +10 -7
  2. package/docs/button.md +6 -6
  3. package/docs/command-palette.json +2 -1
  4. package/docs/command-palette.md +1 -1
  5. package/docs/dashboard-grid.json +2 -1
  6. package/docs/dashboard-grid.md +1 -1
  7. package/docs/entity-picker.json +2 -1
  8. package/docs/entity-picker.md +1 -1
  9. package/docs/field-group.json +1 -1
  10. package/docs/field-group.md +1 -1
  11. package/docs/guidelines/index.md +2 -0
  12. package/docs/guidelines/own-elements.md +20 -0
  13. package/docs/index.md +1 -1
  14. package/docs/list.json +2 -1
  15. package/docs/list.md +2 -2
  16. package/docs/page.json +1 -1
  17. package/docs/page.md +1 -1
  18. package/docs/progress-indicator.json +1 -39
  19. package/docs/progress-indicator.md +1 -6
  20. package/docs/radio-group.json +1 -18
  21. package/docs/radio-group.md +1 -3
  22. package/docs/skills/build-own-element/SKILL.md +42 -2
  23. package/docs/sparkline.json +1 -416
  24. package/docs/sparkline.md +2 -186
  25. package/docs/tokens.md +12 -0
  26. package/fesm2022/slotted-angular-button.mjs +48 -40
  27. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  28. package/fesm2022/slotted-angular-chart.mjs +2 -2
  29. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  30. package/fesm2022/slotted-angular-command-palette.mjs +2 -2
  31. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  32. package/fesm2022/slotted-angular-dashboard-grid.mjs +2 -2
  33. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  34. package/fesm2022/slotted-angular-data-list.mjs +2 -2
  35. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  36. package/fesm2022/slotted-angular-entity-picker.mjs +2 -2
  37. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  38. package/fesm2022/slotted-angular-field-group.mjs +2 -2
  39. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  40. package/fesm2022/slotted-angular-list-item.mjs +2 -2
  41. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  42. package/fesm2022/slotted-angular-list.mjs +3 -3
  43. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  44. package/fesm2022/slotted-angular-loading-overlay.mjs +2 -2
  45. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  46. package/fesm2022/slotted-angular-page.mjs +6 -2
  47. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  48. package/fesm2022/slotted-angular-progress-indicator.mjs +7 -106
  49. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  50. package/fesm2022/slotted-angular-radio-group.mjs +12 -45
  51. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  52. package/fesm2022/slotted-angular-sparkline.mjs +4 -295
  53. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  54. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  55. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  56. package/fesm2022/slotted-angular-table.mjs +2 -2
  57. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  58. package/fesm2022/slotted-angular-tooltip.mjs +2 -2
  59. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
  60. package/fesm2022/slotted-angular-upload.mjs +2 -2
  61. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  62. package/package.json +3 -3
  63. package/types/slotted-angular-button.d.ts +20 -10
  64. package/types/slotted-angular-button.d.ts.map +1 -1
  65. package/types/slotted-angular-list.d.ts +6 -4
  66. package/types/slotted-angular-list.d.ts.map +1 -1
  67. package/types/slotted-angular-page.d.ts.map +1 -1
  68. package/types/slotted-angular-progress-indicator.d.ts +2 -46
  69. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  70. package/types/slotted-angular-radio-group.d.ts +4 -22
  71. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  72. package/types/slotted-angular-sparkline.d.ts +4 -86
  73. package/types/slotted-angular-sparkline.d.ts.map +1 -1
@@ -261,7 +261,7 @@ class SlFieldGroup extends SlFieldDefaultsSource {
261
261
  <ng-content select="[slFieldGroupError]" />
262
262
  </p>
263
263
  }
264
- <div data-part="content" data-part-content=""><ng-content /></div>`, isInline: true, styles: ["@layer slotted.components{[data-ui-field-group][data-part-root]{--_font-size: var(--slotted-control-font-size-lg, 14px);--_message-gap: var(--slotted-field-group-message-gap, var(--slotted-space-2, .25rem));--_content-gap: var( --slotted-field-group-content-gap, var(--slotted-field-row-gap, var(--slotted-space-3, .375rem)) );--_field-gap: var(--slotted-field-group-field-gap, var(--slotted-space-6, 1rem));border:0;display:block;font-family:var( --slotted-field-group-font-family, var(--slotted-control-font-family, sans-serif) );margin:0;min-inline-size:0;padding:0}[data-ui-field-group][data-part-root]>*+*{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>*+[data-ui-inline-message]{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>[data-part-content]{margin-block-start:var(--_content-gap)}[data-ui-field-group][data-part-root][data-kind=section]{--_content-gap: var(--slotted-field-group-section-content-gap, var(--slotted-space-7, 1.25rem))}[data-ui-field-group][data-part-root][data-size=sm]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group][data-part-root][data-size=md],[data-ui-field-group][data-part-root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group]>[data-part-legend]{color:var(--slotted-field-group-legend-color, var(--slotted-text));display:block;font-size:var(--_font-size);font-weight:var( --slotted-field-group-legend-font-weight, var(--slotted-font-weight-semibold, 600) );line-height:var(--slotted-field-group-line-height, var(--slotted-line-height-sm, 1.45));padding:0;transition:color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui-field-group]>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-color, var(--slotted-tone-danger-text));margin-inline-start:var(--slotted-field-group-mark-gap, 0);overflow-wrap:normal;unicode-bidi:isolate}[data-ui-field-group]>[data-part-legend]>:is(h1,h2,h3,h4,h5,h6){display:inline;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );margin:0}[data-ui-field-group]:is([data-necessity=optional],[data-necessity=words])>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-text-color, var(--slotted-text-muted));font-size:var(--slotted-control-font-size-sm, 12px);font-weight:var(--slotted-font-weight-regular, 400)}[data-ui-field-group]>[data-ui-inline-message]:not([data-reserve]):has([data-part-text]:empty){display:none}[data-ui-field-group][data-part-root]>[data-ui-inline-message]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=danger],[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=success]{font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-field-group]>[data-part-content]{display:flex;flex-direction:column;gap:var(--_field-gap);min-inline-size:0}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]{flex-direction:row;flex-wrap:wrap}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]>*{flex:1 1 var(--slotted-field-group-track-min, 14rem);min-inline-size:0}[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend],[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend]>[data-part-mark]{color:var(--slotted-disabled-foreground)}}\n"], dependencies: [{ kind: "component", type: SlInlineMessage, selector: "[slInlineMessage]", inputs: ["tone", "size", "live", "mark", "prefix", "hideIcon", "loading", "disabled", "reserve", "id"], exportAs: ["slInlineMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
264
+ <div data-part="content" data-part-content=""><ng-content /></div>`, isInline: true, styles: ["@layer slotted.components{[data-ui-field-group][data-part-root]{--_font-size: var(--slotted-control-font-size-md, 13px);--_message-gap: var(--slotted-field-group-message-gap, var(--slotted-space-2, .25rem));--_content-gap: var( --slotted-field-group-content-gap, var(--slotted-field-row-gap, var(--slotted-space-3, .375rem)) );--_field-gap: var(--slotted-field-group-field-gap, var(--slotted-space-6, 1rem));border:0;display:block;font-family:var( --slotted-field-group-font-family, var(--slotted-control-font-family, sans-serif) );margin:0;min-inline-size:0;padding:0}[data-ui-field-group][data-part-root]>*+*{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>*+[data-ui-inline-message]{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>[data-part-content]{margin-block-start:var(--_content-gap)}[data-ui-field-group][data-part-root][data-kind=section]{--_content-gap: var(--slotted-field-group-section-content-gap, var(--slotted-space-7, 1.25rem))}[data-ui-field-group][data-part-root][data-size=sm]{--_font-size: var(--slotted-control-font-size-sm, 12px)}[data-ui-field-group][data-part-root][data-size=md]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group][data-part-root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group][data-part-root][data-kind=section]:is([data-size=md],[data-size=lg]){--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group][data-part-root][data-kind=section][data-size=sm]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group]>[data-part-legend]{color:var(--slotted-field-group-legend-color, var(--slotted-text));display:block;font-size:var(--_font-size);font-weight:var( --slotted-field-group-legend-font-weight, var(--slotted-font-weight-semibold, 600) );line-height:var(--slotted-field-group-line-height, var(--slotted-line-height-sm, 1.45));padding:0;transition:color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui-field-group]>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-color, var(--slotted-tone-danger-text));margin-inline-start:var(--slotted-field-group-mark-gap, 0);overflow-wrap:normal;unicode-bidi:isolate}[data-ui-field-group]>[data-part-legend]>:is(h1,h2,h3,h4,h5,h6){display:inline;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );margin:0}[data-ui-field-group]:is([data-necessity=optional],[data-necessity=words])>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-text-color, var(--slotted-text-muted));font-size:var(--slotted-control-font-size-sm, 12px);font-weight:var(--slotted-font-weight-regular, 400)}[data-ui-field-group]>[data-ui-inline-message]:not([data-reserve]):has([data-part-text]:empty){display:none}[data-ui-field-group][data-part-root]>[data-ui-inline-message]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=danger],[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=success]{font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-field-group]>[data-part-content]{display:flex;flex-direction:column;gap:var(--_field-gap);min-inline-size:0}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]{flex-direction:row;flex-wrap:wrap}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]>*{flex:1 1 var(--slotted-field-group-track-min, 14rem);min-inline-size:0}[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend],[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend]>[data-part-mark]{color:var(--slotted-disabled-foreground)}}\n"], dependencies: [{ kind: "component", type: SlInlineMessage, selector: "[slInlineMessage]", inputs: ["tone", "size", "live", "mark", "prefix", "hideIcon", "loading", "disabled", "reserve", "id"], exportAs: ["slInlineMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
265
265
  }
266
266
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlFieldGroup, decorators: [{
267
267
  type: Component,
@@ -311,7 +311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
311
311
  '[attr.data-required]': "required() === true ? '' : null",
312
312
  '[attr.disabled]': "disabled() === true ? '' : null",
313
313
  '[attr.aria-describedby]': 'describedBy()',
314
- }, styles: ["@layer slotted.components{[data-ui-field-group][data-part-root]{--_font-size: var(--slotted-control-font-size-lg, 14px);--_message-gap: var(--slotted-field-group-message-gap, var(--slotted-space-2, .25rem));--_content-gap: var( --slotted-field-group-content-gap, var(--slotted-field-row-gap, var(--slotted-space-3, .375rem)) );--_field-gap: var(--slotted-field-group-field-gap, var(--slotted-space-6, 1rem));border:0;display:block;font-family:var( --slotted-field-group-font-family, var(--slotted-control-font-family, sans-serif) );margin:0;min-inline-size:0;padding:0}[data-ui-field-group][data-part-root]>*+*{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>*+[data-ui-inline-message]{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>[data-part-content]{margin-block-start:var(--_content-gap)}[data-ui-field-group][data-part-root][data-kind=section]{--_content-gap: var(--slotted-field-group-section-content-gap, var(--slotted-space-7, 1.25rem))}[data-ui-field-group][data-part-root][data-size=sm]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group][data-part-root][data-size=md],[data-ui-field-group][data-part-root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group]>[data-part-legend]{color:var(--slotted-field-group-legend-color, var(--slotted-text));display:block;font-size:var(--_font-size);font-weight:var( --slotted-field-group-legend-font-weight, var(--slotted-font-weight-semibold, 600) );line-height:var(--slotted-field-group-line-height, var(--slotted-line-height-sm, 1.45));padding:0;transition:color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui-field-group]>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-color, var(--slotted-tone-danger-text));margin-inline-start:var(--slotted-field-group-mark-gap, 0);overflow-wrap:normal;unicode-bidi:isolate}[data-ui-field-group]>[data-part-legend]>:is(h1,h2,h3,h4,h5,h6){display:inline;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );margin:0}[data-ui-field-group]:is([data-necessity=optional],[data-necessity=words])>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-text-color, var(--slotted-text-muted));font-size:var(--slotted-control-font-size-sm, 12px);font-weight:var(--slotted-font-weight-regular, 400)}[data-ui-field-group]>[data-ui-inline-message]:not([data-reserve]):has([data-part-text]:empty){display:none}[data-ui-field-group][data-part-root]>[data-ui-inline-message]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=danger],[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=success]{font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-field-group]>[data-part-content]{display:flex;flex-direction:column;gap:var(--_field-gap);min-inline-size:0}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]{flex-direction:row;flex-wrap:wrap}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]>*{flex:1 1 var(--slotted-field-group-track-min, 14rem);min-inline-size:0}[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend],[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend]>[data-part-mark]{color:var(--slotted-disabled-foreground)}}\n"] }]
314
+ }, styles: ["@layer slotted.components{[data-ui-field-group][data-part-root]{--_font-size: var(--slotted-control-font-size-md, 13px);--_message-gap: var(--slotted-field-group-message-gap, var(--slotted-space-2, .25rem));--_content-gap: var( --slotted-field-group-content-gap, var(--slotted-field-row-gap, var(--slotted-space-3, .375rem)) );--_field-gap: var(--slotted-field-group-field-gap, var(--slotted-space-6, 1rem));border:0;display:block;font-family:var( --slotted-field-group-font-family, var(--slotted-control-font-family, sans-serif) );margin:0;min-inline-size:0;padding:0}[data-ui-field-group][data-part-root]>*+*{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>*+[data-ui-inline-message]{margin-block-start:var(--_message-gap)}[data-ui-field-group][data-part-root]>[data-part-content]{margin-block-start:var(--_content-gap)}[data-ui-field-group][data-part-root][data-kind=section]{--_content-gap: var(--slotted-field-group-section-content-gap, var(--slotted-space-7, 1.25rem))}[data-ui-field-group][data-part-root][data-size=sm]{--_font-size: var(--slotted-control-font-size-sm, 12px)}[data-ui-field-group][data-part-root][data-size=md]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group][data-part-root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group][data-part-root][data-kind=section]:is([data-size=md],[data-size=lg]){--_font-size: var(--slotted-control-font-size-lg, 14px)}[data-ui-field-group][data-part-root][data-kind=section][data-size=sm]{--_font-size: var(--slotted-control-font-size-md, 13px)}[data-ui-field-group]>[data-part-legend]{color:var(--slotted-field-group-legend-color, var(--slotted-text));display:block;font-size:var(--_font-size);font-weight:var( --slotted-field-group-legend-font-weight, var(--slotted-font-weight-semibold, 600) );line-height:var(--slotted-field-group-line-height, var(--slotted-line-height-sm, 1.45));padding:0;transition:color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui-field-group]>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-color, var(--slotted-tone-danger-text));margin-inline-start:var(--slotted-field-group-mark-gap, 0);overflow-wrap:normal;unicode-bidi:isolate}[data-ui-field-group]>[data-part-legend]>:is(h1,h2,h3,h4,h5,h6){display:inline;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );margin:0}[data-ui-field-group]:is([data-necessity=optional],[data-necessity=words])>[data-part-legend]>[data-part-mark]{color:var(--slotted-field-group-mark-text-color, var(--slotted-text-muted));font-size:var(--slotted-control-font-size-sm, 12px);font-weight:var(--slotted-font-weight-regular, 400)}[data-ui-field-group]>[data-ui-inline-message]:not([data-reserve]):has([data-part-text]:empty){display:none}[data-ui-field-group][data-part-root]>[data-ui-inline-message]{font-size:var(--slotted-font-size-xs, .75rem)}[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=danger],[data-ui-field-group][data-part-root]>[data-ui-inline-message][data-tone=success]{font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-field-group]>[data-part-content]{display:flex;flex-direction:column;gap:var(--_field-gap);min-inline-size:0}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]{flex-direction:row;flex-wrap:wrap}[data-ui-field-group][data-orientation=horizontal]>[data-part-content]>*{flex:1 1 var(--slotted-field-group-track-min, 14rem);min-inline-size:0}[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend],[data-ui-field-group][data-part-root][data-disabled]>[data-part-legend]>[data-part-mark]{color:var(--slotted-disabled-foreground)}}\n"] }]
315
315
  }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], necessity: [{ type: i0.Input, args: [{ isSignal: true, alias: "necessity", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], labelPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPlacement", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], kind: [{ type: i0.Input, args: [{ isSignal: true, alias: "kind", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], description: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlFieldGroupDescription), { ...{ descendants: false }, isSignal: true }] }], error: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlFieldGroupError), { ...{ descendants: false }, isSignal: true }] }] } });
316
316
 
317
317
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"slotted-angular-field-group.mjs","sources":["../../field-group/src/field-group-parts.ts","../../field-group/src/field-group.ts","../../field-group/src/slotted-angular-field-group.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n HostAttributeToken,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { necessityMark, SlFieldMessage } from '@slotted/angular/field';\n\nimport { SlFieldGroup } from './field-group';\n\n/**\n * The name of the set, and whether the set has to be answered.\n *\n * It holds whatever the page puts in it. On a page asking one question GOV.UK\n * recommends the legend contain the page's own heading, so a reader hears the\n * question once rather than twice; the family removes the heading's block break\n * and its margins and leaves its type alone, because a page heading is a page's\n * decision rather than a control's.\n */\n@Component({\n selector: 'legend[slFieldGroupLegend]',\n standalone: true,\n exportAs: 'slFieldGroupLegend',\n template: `<ng-content />\n @if (mark(); as text) {\n <!-- Text rather than a margin, so the accessible name reads \"Note (optional)\". -->\n &ngsp;<span\n data-part=\"mark\"\n data-part-mark=\"\"\n [attr.aria-hidden]=\"markHidden() ? 'true' : null\"\n >{{ text }}</span\n >\n }`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-part': 'legend',\n 'data-part-legend': '',\n '[attr.id]': 'legendId()',\n },\n})\nexport class SlFieldGroupLegend {\n private readonly group = inject(SlFieldGroup);\n private readonly writtenId = inject(new HostAttributeToken('id'), { optional: true });\n\n protected readonly legendId = computed(() => this.writtenId ?? this.group.ids().legend);\n private readonly necessity = computed(() =>\n this.group.kind() === 'section'\n ? null\n : necessityMark(this.group.resolvedNecessity(), this.group.required() === true, this.group.t),\n );\n protected readonly markHidden = computed(() => this.necessity()?.hidden === true);\n protected readonly mark = computed(() => this.necessity()?.text ?? null);\n}\n\n/**\n * Help about the whole set, projected into the `inline-message` the group\n * renders before its fields.\n *\n * It is a marker of the group's own rather than the field's, so a description\n * written inside one of the fields is never mistaken for the set's.\n */\n@Directive({\n selector: '[slFieldGroupDescription]',\n standalone: true,\n exportAs: 'slFieldGroupDescription',\n})\nexport class SlFieldGroupDescription extends SlFieldMessage {}\n\n/**\n * What is wrong with the set — the case a single field cannot state, because\n * \"choose at least one\" is a fact about the group rather than about any control\n * in it. GOV.UK's error-message-with-legend example is the same arrangement.\n */\n@Directive({\n selector: '[slFieldGroupError]',\n standalone: true,\n exportAs: 'slFieldGroupError',\n})\nexport class SlFieldGroupError extends SlFieldMessage {}\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n forwardRef,\n HostAttributeToken,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n injectFieldDefaults,\n SlFieldDefaultsSource,\n SlFieldIdFactory,\n} from '@slotted/angular/field';\nimport type {\n FieldDefaults,\n FieldLabelPlacement,\n FieldNecessity,\n FieldSize,\n} from '@slotted/angular/field';\nimport { injectMessages } from '@slotted/angular/i18n';\nimport { SlInlineMessage } from '@slotted/angular/inline-message';\nimport { fieldMessages, type FieldMessages, type PartialMessages } from '@slotted/core/i18n';\n\nimport { SlFieldGroupDescription, SlFieldGroupError } from './field-group-parts';\n\n/**\n * Whether the group asks something. A `question` (a set of radios) states its\n * own necessity on the legend; a `section` (\"Address\") is a topic, and says\n * nothing about it.\n */\nexport type FieldGroupKind = 'question' | 'section';\n\n/** How the fields inside the group flow. */\nexport type FieldGroupOrientation = 'vertical' | 'horizontal';\n\n/** The three identifiers a group derives from one base. */\nexport interface FieldGroupIds {\n description: string;\n error: string;\n legend: string;\n}\n\n/**\n * A set of fields under one name.\n *\n * **The platform does the work.** The element is a native `fieldset` and the\n * name is a native `legend` — the technique the APG's naming practice calls for\n * under its Rule 3, prefer native techniques — so the `group` role and the\n * accessible name arrive without a single ARIA attribute. `disabled` is the\n * native attribute, and every control inside is disabled by the browser with\n * nothing passed down.\n *\n * **What is said about the set is said before the set.** The description and\n * the error come between the legend and the fields, which is where GOV.UK's\n * fieldset example puts a hint and an error, and the opposite of where a single\n * field puts its own. A message the page did not write is not drawn, which is\n * the DOM React's `FieldGroupDescription` and `FieldGroupError` produce.\n *\n * **`aria-describedby` goes on the fieldset.** A reader entering any control in\n * the group hears the group's hint and its error once, from the element that\n * names them both. A message with no text — a reserved line waiting for its\n * text — keeps its box and is not named until the text arrives.\n *\n * **The group provides for its fields.** It answers `SlFieldDefaultsSource` for\n * its own subtree, so `size`, `labelPlacement`, `necessity`, the necessity\n * words, `disabled` and `readOnly` reach every field inside — the same six an\n * application sets once with `provideFieldDefaults()`. `required` is not among\n * them: it is a fact about one value, and a section cannot know it.\n */\n@Component({\n selector: 'fieldset[slFieldGroup]',\n standalone: true,\n exportAs: 'slFieldGroup',\n imports: [SlInlineMessage],\n template: `<ng-content select=\"[slFieldGroupLegend]\" />\n @if (description(); as message) {\n <p\n slInlineMessage\n [id]=\"ids().description\"\n [size]=\"messageSize()\"\n [mark]=\"message.mark() ?? 'none'\"\n [tone]=\"message.tone() ?? 'secondary'\"\n [live]=\"message.live() ?? 'off'\"\n [hideIcon]=\"message.hideIcon() ?? false\"\n [reserve]=\"message.reserve() ?? false\"\n [prefix]=\"message.prefix()\"\n >\n <ng-content select=\"[slFieldGroupDescription]\" />\n </p>\n }\n @if (error(); as message) {\n <p\n slInlineMessage\n [id]=\"ids().error\"\n [size]=\"messageSize()\"\n [mark]=\"message.mark() ?? 'none'\"\n [tone]=\"message.tone() ?? 'danger'\"\n [live]=\"message.live() ?? 'off'\"\n [hideIcon]=\"message.hideIcon() ?? false\"\n [reserve]=\"message.reserve() ?? false\"\n [prefix]=\"message.prefix()\"\n >\n <ng-content select=\"[slFieldGroupError]\" />\n </p>\n }\n <div data-part=\"content\" data-part-content=\"\"><ng-content /></div>`,\n styleUrl: '../../../styles/src/field-group/field-group.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: SlFieldDefaultsSource, useExisting: forwardRef(() => SlFieldGroup) }],\n host: {\n 'data-ui': 'field-group',\n 'data-ui-field-group': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-kind]': 'kind()',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-necessity]': 'resolvedNecessity()',\n '[attr.data-disabled]': \"disabled() === true ? '' : null\",\n '[attr.data-invalid]': \"invalid() === true ? '' : null\",\n '[attr.data-readonly]': \"readOnly() === true ? '' : null\",\n '[attr.data-required]': \"required() === true ? '' : null\",\n '[attr.disabled]': \"disabled() === true ? '' : null\",\n '[attr.aria-describedby]': 'describedBy()',\n },\n})\nexport class SlFieldGroup extends SlFieldDefaultsSource {\n /** Provided to every field inside. Defaults to the token, then to `md`. */\n readonly size = input<FieldSize | undefined>(undefined);\n /** How the fields inside flow. */\n readonly orientation = input<FieldGroupOrientation>('vertical');\n /** Provided to every field inside. Defaults to the token, then to `mark`. */\n readonly necessity = input<FieldNecessity | undefined>(undefined);\n /**\n * Words laid over the field catalog of the language in force for the\n * legend's own necessity word (`optional`, `required`). A field inside\n * states its own `messages`.\n */\n readonly messages = input<PartialMessages<FieldMessages> | undefined>(undefined);\n /** Provided to every field inside, unless the field states its own. */\n readonly labelPlacement = input<FieldLabelPlacement | undefined>(undefined);\n\n /**\n * The native attribute on the `fieldset`, which the platform propagates to\n * every control inside with nothing passed down. It is provided to the fields\n * as well, because the platform disables controls and a label is not one.\n */\n readonly disabled = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** A `section` draws no necessity on its legend. */\n readonly kind = input<FieldGroupKind>('question');\n /** Unstated rather than `false`. Writes `data-invalid` on the fieldset. */\n readonly invalid = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** Draws the necessity marker on the legend, and is not provided to the fields. */\n readonly required = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** Provided to every field inside, unless the field states its own. */\n readonly readOnly = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n\n /**\n * The application's own defaults, or an outer group's. A group inside a group\n * answers for the inner one and inherits everything it does not restate.\n */\n private readonly outer = inject(SlFieldDefaultsSource, { optional: true, skipSelf: true });\n private readonly token = injectFieldDefaults();\n private readonly inherited = computed(() => this.outer?.fieldDefaults() ?? this.token);\n\n private readonly base =\n inject(new HostAttributeToken('id'), { optional: true }) ??\n `${inject(SlFieldIdFactory).next()}-group`;\n\n private readonly writtenDescribedBy = inject(new HostAttributeToken('aria-describedby'), {\n optional: true,\n });\n\n readonly ids = computed<FieldGroupIds>(() => ({\n description: `${this.base}-description`,\n error: `${this.base}-error`,\n legend: `${this.base}-legend`,\n }));\n\n /**\n * The group's own markers rather than the field's, and direct content rather\n * than any descendant — so a description written inside one of the fields is\n * never read as the set's.\n */\n protected readonly description = contentChild(SlFieldGroupDescription, { descendants: false });\n protected readonly error = contentChild(SlFieldGroupError, { descendants: false });\n\n readonly resolvedSize = computed(() => this.size() ?? this.inherited().size);\n readonly resolvedNecessity = computed(() => this.necessity() ?? this.inherited().necessity);\n /** The field family's words in the language in force, with the group's `messages` laid over them. */\n readonly t = injectMessages(fieldMessages, this.messages);\n\n /**\n * One step louder than a field's own. `inline-message` defines `md` as the\n * message of a section and `sm` as the message of a field, and what a group\n * says is about the section — held at the field's step, the sentence about a\n * whole set read as the help under the control above it.\n */\n protected readonly messageSize = computed<'sm' | 'md'>(() =>\n this.resolvedSize() === 'sm' ? 'sm' : 'md',\n );\n\n protected readonly describedBy = computed(() => {\n const parts = [\n this.writtenDescribedBy,\n this.description()?.hasContent() ? this.ids().description : undefined,\n this.error()?.hasContent() ? this.ids().error : undefined,\n ].filter(Boolean);\n return parts.length === 0 ? null : parts.join(' ');\n });\n\n /**\n * What every field inside reads instead of the application's own defaults.\n *\n * It is a method rather than a value handed over once, because Angular\n * creates every directive a template declares before it binds any input: a\n * group that provided a snapshot would hand its fields the value its inputs\n * held before the consumer's bindings ran.\n */\n fieldDefaults(): FieldDefaults {\n return {\n disabled: this.disabled() ?? this.inherited().disabled,\n labelPlacement: this.labelPlacement() ?? this.inherited().labelPlacement,\n necessity: this.resolvedNecessity(),\n readOnly: this.readOnly() ?? this.inherited().readOnly,\n size: this.resolvedSize(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n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A,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,uBAAuB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACrD,iBAAiB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACtMnF;;AAEG;;"}
1
+ {"version":3,"file":"slotted-angular-field-group.mjs","sources":["../../field-group/src/field-group-parts.ts","../../field-group/src/field-group.ts","../../field-group/src/slotted-angular-field-group.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n HostAttributeToken,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport { necessityMark, SlFieldMessage } from '@slotted/angular/field';\n\nimport { SlFieldGroup } from './field-group';\n\n/**\n * The name of the set, and whether the set has to be answered.\n *\n * It holds whatever the page puts in it. On a page asking one question GOV.UK\n * recommends the legend contain the page's own heading, so a reader hears the\n * question once rather than twice; the family removes the heading's block break\n * and its margins and leaves its type alone, because a page heading is a page's\n * decision rather than a control's.\n */\n@Component({\n selector: 'legend[slFieldGroupLegend]',\n standalone: true,\n exportAs: 'slFieldGroupLegend',\n template: `<ng-content />\n @if (mark(); as text) {\n <!-- Text rather than a margin, so the accessible name reads \"Note (optional)\". -->\n &ngsp;<span\n data-part=\"mark\"\n data-part-mark=\"\"\n [attr.aria-hidden]=\"markHidden() ? 'true' : null\"\n >{{ text }}</span\n >\n }`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-part': 'legend',\n 'data-part-legend': '',\n '[attr.id]': 'legendId()',\n },\n})\nexport class SlFieldGroupLegend {\n private readonly group = inject(SlFieldGroup);\n private readonly writtenId = inject(new HostAttributeToken('id'), { optional: true });\n\n protected readonly legendId = computed(() => this.writtenId ?? this.group.ids().legend);\n private readonly necessity = computed(() =>\n this.group.kind() === 'section'\n ? null\n : necessityMark(this.group.resolvedNecessity(), this.group.required() === true, this.group.t),\n );\n protected readonly markHidden = computed(() => this.necessity()?.hidden === true);\n protected readonly mark = computed(() => this.necessity()?.text ?? null);\n}\n\n/**\n * Help about the whole set, projected into the `inline-message` the group\n * renders before its fields.\n *\n * It is a marker of the group's own rather than the field's, so a description\n * written inside one of the fields is never mistaken for the set's.\n */\n@Directive({\n selector: '[slFieldGroupDescription]',\n standalone: true,\n exportAs: 'slFieldGroupDescription',\n})\nexport class SlFieldGroupDescription extends SlFieldMessage {}\n\n/**\n * What is wrong with the set — the case a single field cannot state, because\n * \"choose at least one\" is a fact about the group rather than about any control\n * in it. GOV.UK's error-message-with-legend example is the same arrangement.\n */\n@Directive({\n selector: '[slFieldGroupError]',\n standalone: true,\n exportAs: 'slFieldGroupError',\n})\nexport class SlFieldGroupError extends SlFieldMessage {}\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n forwardRef,\n HostAttributeToken,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n injectFieldDefaults,\n SlFieldDefaultsSource,\n SlFieldIdFactory,\n} from '@slotted/angular/field';\nimport type {\n FieldDefaults,\n FieldLabelPlacement,\n FieldNecessity,\n FieldSize,\n} from '@slotted/angular/field';\nimport { injectMessages } from '@slotted/angular/i18n';\nimport { SlInlineMessage } from '@slotted/angular/inline-message';\nimport { fieldMessages, type FieldMessages, type PartialMessages } from '@slotted/core/i18n';\n\nimport { SlFieldGroupDescription, SlFieldGroupError } from './field-group-parts';\n\n/**\n * Whether the group asks something. A `question` (a set of radios) states its\n * own necessity on the legend; a `section` (\"Address\") is a topic, and says\n * nothing about it.\n */\nexport type FieldGroupKind = 'question' | 'section';\n\n/** How the fields inside the group flow. */\nexport type FieldGroupOrientation = 'vertical' | 'horizontal';\n\n/** The three identifiers a group derives from one base. */\nexport interface FieldGroupIds {\n description: string;\n error: string;\n legend: string;\n}\n\n/**\n * A set of fields under one name.\n *\n * **The platform does the work.** The element is a native `fieldset` and the\n * name is a native `legend` — the technique the APG's naming practice calls for\n * under its Rule 3, prefer native techniques — so the `group` role and the\n * accessible name arrive without a single ARIA attribute. `disabled` is the\n * native attribute, and every control inside is disabled by the browser with\n * nothing passed down.\n *\n * **What is said about the set is said before the set.** The description and\n * the error come between the legend and the fields, which is where GOV.UK's\n * fieldset example puts a hint and an error, and the opposite of where a single\n * field puts its own. A message the page did not write is not drawn, which is\n * the DOM React's `FieldGroupDescription` and `FieldGroupError` produce.\n *\n * **`aria-describedby` goes on the fieldset.** A reader entering any control in\n * the group hears the group's hint and its error once, from the element that\n * names them both. A message with no text — a reserved line waiting for its\n * text — keeps its box and is not named until the text arrives.\n *\n * **The group provides for its fields.** It answers `SlFieldDefaultsSource` for\n * its own subtree, so `size`, `labelPlacement`, `necessity`, the necessity\n * words, `disabled` and `readOnly` reach every field inside — the same six an\n * application sets once with `provideFieldDefaults()`. `required` is not among\n * them: it is a fact about one value, and a section cannot know it.\n */\n@Component({\n selector: 'fieldset[slFieldGroup]',\n standalone: true,\n exportAs: 'slFieldGroup',\n imports: [SlInlineMessage],\n template: `<ng-content select=\"[slFieldGroupLegend]\" />\n @if (description(); as message) {\n <p\n slInlineMessage\n [id]=\"ids().description\"\n [size]=\"messageSize()\"\n [mark]=\"message.mark() ?? 'none'\"\n [tone]=\"message.tone() ?? 'secondary'\"\n [live]=\"message.live() ?? 'off'\"\n [hideIcon]=\"message.hideIcon() ?? false\"\n [reserve]=\"message.reserve() ?? false\"\n [prefix]=\"message.prefix()\"\n >\n <ng-content select=\"[slFieldGroupDescription]\" />\n </p>\n }\n @if (error(); as message) {\n <p\n slInlineMessage\n [id]=\"ids().error\"\n [size]=\"messageSize()\"\n [mark]=\"message.mark() ?? 'none'\"\n [tone]=\"message.tone() ?? 'danger'\"\n [live]=\"message.live() ?? 'off'\"\n [hideIcon]=\"message.hideIcon() ?? false\"\n [reserve]=\"message.reserve() ?? false\"\n [prefix]=\"message.prefix()\"\n >\n <ng-content select=\"[slFieldGroupError]\" />\n </p>\n }\n <div data-part=\"content\" data-part-content=\"\"><ng-content /></div>`,\n styleUrl: '../../../styles/src/field-group/field-group.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: SlFieldDefaultsSource, useExisting: forwardRef(() => SlFieldGroup) }],\n host: {\n 'data-ui': 'field-group',\n 'data-ui-field-group': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-kind]': 'kind()',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-necessity]': 'resolvedNecessity()',\n '[attr.data-disabled]': \"disabled() === true ? '' : null\",\n '[attr.data-invalid]': \"invalid() === true ? '' : null\",\n '[attr.data-readonly]': \"readOnly() === true ? '' : null\",\n '[attr.data-required]': \"required() === true ? '' : null\",\n '[attr.disabled]': \"disabled() === true ? '' : null\",\n '[attr.aria-describedby]': 'describedBy()',\n },\n})\nexport class SlFieldGroup extends SlFieldDefaultsSource {\n /** Provided to every field inside. Defaults to the token, then to `md`. */\n readonly size = input<FieldSize | undefined>(undefined);\n /** How the fields inside flow. */\n readonly orientation = input<FieldGroupOrientation>('vertical');\n /** Provided to every field inside. Defaults to the token, then to `mark`. */\n readonly necessity = input<FieldNecessity | undefined>(undefined);\n /**\n * Words laid over the field catalog of the language in force for the\n * legend's own necessity word (`optional`, `required`). A field inside\n * states its own `messages`.\n */\n readonly messages = input<PartialMessages<FieldMessages> | undefined>(undefined);\n /** Provided to every field inside, unless the field states its own. */\n readonly labelPlacement = input<FieldLabelPlacement | undefined>(undefined);\n\n /**\n * The native attribute on the `fieldset`, which the platform propagates to\n * every control inside with nothing passed down. It is provided to the fields\n * as well, because the platform disables controls and a label is not one.\n */\n readonly disabled = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** A `section` draws no necessity on its legend. */\n readonly kind = input<FieldGroupKind>('question');\n /** Unstated rather than `false`. Writes `data-invalid` on the fieldset. */\n readonly invalid = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** Draws the necessity marker on the legend, and is not provided to the fields. */\n readonly required = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n /** Provided to every field inside, unless the field states its own. */\n readonly readOnly = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (value) => (value === undefined ? undefined : booleanAttribute(value)),\n });\n\n /**\n * The application's own defaults, or an outer group's. A group inside a group\n * answers for the inner one and inherits everything it does not restate.\n */\n private readonly outer = inject(SlFieldDefaultsSource, { optional: true, skipSelf: true });\n private readonly token = injectFieldDefaults();\n private readonly inherited = computed(() => this.outer?.fieldDefaults() ?? this.token);\n\n private readonly base =\n inject(new HostAttributeToken('id'), { optional: true }) ??\n `${inject(SlFieldIdFactory).next()}-group`;\n\n private readonly writtenDescribedBy = inject(new HostAttributeToken('aria-describedby'), {\n optional: true,\n });\n\n readonly ids = computed<FieldGroupIds>(() => ({\n description: `${this.base}-description`,\n error: `${this.base}-error`,\n legend: `${this.base}-legend`,\n }));\n\n /**\n * The group's own markers rather than the field's, and direct content rather\n * than any descendant — so a description written inside one of the fields is\n * never read as the set's.\n */\n protected readonly description = contentChild(SlFieldGroupDescription, { descendants: false });\n protected readonly error = contentChild(SlFieldGroupError, { descendants: false });\n\n readonly resolvedSize = computed(() => this.size() ?? this.inherited().size);\n readonly resolvedNecessity = computed(() => this.necessity() ?? this.inherited().necessity);\n /** The field family's words in the language in force, with the group's `messages` laid over them. */\n readonly t = injectMessages(fieldMessages, this.messages);\n\n /**\n * One step louder than a field's own. `inline-message` defines `md` as the\n * message of a section and `sm` as the message of a field, and what a group\n * says is about the section — held at the field's step, the sentence about a\n * whole set read as the help under the control above it.\n */\n protected readonly messageSize = computed<'sm' | 'md'>(() =>\n this.resolvedSize() === 'sm' ? 'sm' : 'md',\n );\n\n protected readonly describedBy = computed(() => {\n const parts = [\n this.writtenDescribedBy,\n this.description()?.hasContent() ? this.ids().description : undefined,\n this.error()?.hasContent() ? this.ids().error : undefined,\n ].filter(Boolean);\n return parts.length === 0 ? null : parts.join(' ');\n });\n\n /**\n * What every field inside reads instead of the application's own defaults.\n *\n * It is a method rather than a value handed over once, because Angular\n * creates every directive a template declares before it binds any input: a\n * group that provided a snapshot would hand its fields the value its inputs\n * held before the consumer's bindings ran.\n */\n fieldDefaults(): FieldDefaults {\n return {\n disabled: this.disabled() ?? this.inherited().disabled,\n labelPlacement: this.labelPlacement() ?? this.inherited().labelPlacement,\n necessity: this.resolvedNecessity(),\n readOnly: this.readOnly() ?? this.inherited().readOnly,\n size: this.resolvedSize(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAaA;;;;;;;;AAQG;MAuBU,kBAAkB,CAAA;AACZ,IAAA,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;AAC5B,IAAA,SAAS,GAAG,MAAM,CAAC,IAAI,kBAAkB,C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AAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,uBAAuB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACrD,iBAAiB,CAAA,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACtMnF;;AAEG;;"}
@@ -183,7 +183,7 @@ class SlListItem {
183
183
  ><span slIcon><svg slGlyph name="dot"></svg></span
184
184
  ></span>
185
185
  }
186
- <ng-content></ng-content>`, isInline: true, 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-truncate]>[data-part-content]{grid-template-columns:auto minmax(min(100%,var(--slotted-list-item-body-min-inline-size, 10rem)),1fr) minmax(0,auto)}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-end]{min-inline-size:0;overflow:hidden}[data-ui-list-item][data-truncate]:has(>[data-part-actions])>[data-part-content]{flex:1 1 0}[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-part-select]{align-items:start;display:flex;flex:none;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));padding-block-start:var(--_pad-block);padding-inline-start:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-select]{padding-inline-start:0}[data-ui-list-item]>[data-part-select]+[data-part-content]{padding-inline-start:var(--_gap)}[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}@media(hover:hover){[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]:not([data-end-placement=beside])>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]:not([data-end-placement=beside])>[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]:not([data-end-placement=beside])>[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}}[data-ui-list-item][data-fill=inset]{--_fill-inset: var(--slotted-list-fill-inset, var(--slotted-space-3, .375rem));background-color:transparent;box-shadow:none;isolation:isolate;position:relative}[data-ui-list-item][data-fill=inset]:after{background-color:var(--_fill);border-radius:var(--_radius);box-shadow:var(--_rule-shadow),var(--_edge-shadow);content:\"\";inset-block:0;inset-inline:var(--_fill-inset);pointer-events:none;position:absolute;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));z-index:-1}@media(forced-colors:active){[data-ui-list-item][data-selected]{background-color:Highlight}[data-ui-list-item][data-fill=inset]:after{display:none}[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"], 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 });
186
+ <ng-content></ng-content>`, isInline: true, 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-truncate]>[data-part-content]{grid-template-columns:auto minmax(min(100%,var(--slotted-list-item-body-min-inline-size, 10rem)),1fr) minmax(0,auto)}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-end]{min-inline-size:0;overflow:hidden}[data-ui-list-item][data-truncate]:has(>[data-part-actions])>[data-part-content]{flex:1 1 0}[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-part-select]{align-items:start;display:flex;flex:none;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));padding-block-start:var(--_pad-block);padding-inline-start:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-select]{padding-inline-start:0}[data-ui-list-item]>[data-part-select]+[data-part-content]{padding-inline-start:var(--_gap)}[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}@media(hover:hover){[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]:not([data-end-placement=beside])>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]:not([data-end-placement=beside])>[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]:not([data-end-placement=beside])>[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}}[data-ui-list-item][data-fill=inset]:is([data-variant=plain],[data-variant=ruled]){--_pad-inline: var(--slotted-list-fill-inset, var(--slotted-space-3, .375rem));border-radius:var(--_radius);box-shadow:var(--_edge-shadow);position:relative}[data-ui-list-item][data-fill=inset][data-inset]:is([data-variant=plain],[data-variant=ruled])>[data-part-content]{padding-inline:var(--_pad-inline)}[data-ui-list-item][data-fill=inset][data-variant=ruled]:not(:first-child):after{box-shadow:var(--_rule-shadow);content:\"\";inset-block:0;inset-inline:var(--_pad-inline);pointer-events:none;position:absolute}@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"], 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 });
187
187
  }
188
188
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItem, decorators: [{
189
189
  type: Component,
@@ -213,7 +213,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
213
213
  '[attr.aria-current]': 'ariaCurrent()',
214
214
  '[attr.aria-posinset]': 'position() ?? null',
215
215
  '[attr.aria-setsize]': 'setSize() ?? null',
216
- }, 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-truncate]>[data-part-content]{grid-template-columns:auto minmax(min(100%,var(--slotted-list-item-body-min-inline-size, 10rem)),1fr) minmax(0,auto)}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-end]{min-inline-size:0;overflow:hidden}[data-ui-list-item][data-truncate]:has(>[data-part-actions])>[data-part-content]{flex:1 1 0}[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-part-select]{align-items:start;display:flex;flex:none;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));padding-block-start:var(--_pad-block);padding-inline-start:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-select]{padding-inline-start:0}[data-ui-list-item]>[data-part-select]+[data-part-content]{padding-inline-start:var(--_gap)}[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}@media(hover:hover){[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]:not([data-end-placement=beside])>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]:not([data-end-placement=beside])>[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]:not([data-end-placement=beside])>[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}}[data-ui-list-item][data-fill=inset]{--_fill-inset: var(--slotted-list-fill-inset, var(--slotted-space-3, .375rem));background-color:transparent;box-shadow:none;isolation:isolate;position:relative}[data-ui-list-item][data-fill=inset]:after{background-color:var(--_fill);border-radius:var(--_radius);box-shadow:var(--_rule-shadow),var(--_edge-shadow);content:\"\";inset-block:0;inset-inline:var(--_fill-inset);pointer-events:none;position:absolute;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));z-index:-1}@media(forced-colors:active){[data-ui-list-item][data-selected]{background-color:Highlight}[data-ui-list-item][data-fill=inset]:after{display:none}[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"] }]
216
+ }, 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-truncate]>[data-part-content]{grid-template-columns:auto minmax(min(100%,var(--slotted-list-item-body-min-inline-size, 10rem)),1fr) minmax(0,auto)}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-end]{min-inline-size:0;overflow:hidden}[data-ui-list-item][data-truncate]:has(>[data-part-actions])>[data-part-content]{flex:1 1 0}[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-part-select]{align-items:start;display:flex;flex:none;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));padding-block-start:var(--_pad-block);padding-inline-start:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-select]{padding-inline-start:0}[data-ui-list-item]>[data-part-select]+[data-part-content]{padding-inline-start:var(--_gap)}[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}@media(hover:hover){[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]:not([data-end-placement=beside])>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]:not([data-end-placement=beside])>[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]:not([data-end-placement=beside])>[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}}[data-ui-list-item][data-fill=inset]:is([data-variant=plain],[data-variant=ruled]){--_pad-inline: var(--slotted-list-fill-inset, var(--slotted-space-3, .375rem));border-radius:var(--_radius);box-shadow:var(--_edge-shadow);position:relative}[data-ui-list-item][data-fill=inset][data-inset]:is([data-variant=plain],[data-variant=ruled])>[data-part-content]{padding-inline:var(--_pad-inline)}[data-ui-list-item][data-fill=inset][data-variant=ruled]:not(:first-child):after{box-shadow:var(--_rule-shadow);content:\"\";inset-block:0;inset-inline:var(--_pad-inline);pointer-events:none;position:absolute}@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"] }]
217
217
  }], 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 }] }], endPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "endPlacement", 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 }] }] } });
218
218
 
219
219
  /** Provided by `slListItemContent` for the text parts inside it. */
@@ -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-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 * Where the end goes in a row narrower than 22rem. `auto` moves it under the\n * title; `beside` keeps it on the title's line, at the row's end, and the body\n * takes what is left.\n */\nexport type ListItemEndPlacement = 'auto' | 'beside';\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 endPlacement: ListItemEndPlacement;\n inset: boolean;\n size: ListItemSize;\n tone: ListItemTone;\n truncate: boolean;\n}\n\nconst FALLBACK: ListItemDefaults = {\n align: 'center',\n endPlacement: 'auto',\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 endPlacement: defaults.endPlacement ?? FALLBACK.endPlacement,\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 ListItemEndPlacement,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\nexport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemEndPlacement,\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-end-placement]': 'resolvedEndPlacement()',\n '[attr.data-fill]': \"list?.resolvedFill() ?? 'row'\",\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 /**\n * Where the end goes in a row narrower than 22rem: under the title (`auto`)\n * or on its line (`beside`), for a figure that belongs beside its name.\n */\n readonly endPlacement = input<ListItemEndPlacement | 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 /**\n * Clips the title and the lines under it to one line each, and keeps the\n * body a minimum width before the end and the actions take the rest, so the\n * row has one height per size. The string stays.\n */\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 protected 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 resolvedEndPlacement = computed(() => this.endPlacement() ?? this.defaults.endPlacement);\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/**\n * A leading control, a **sibling** of the box before it, for the reason\n * `slListItemActions` is one at the end: a row whose box is a link or a button\n * cannot hold a checkbox inside it. It takes the leading column's chooser\n * square, so a link row selected for a bulk command keeps its checkbox first.\n */\n@Directive({\n selector: '[slListItemSelect]',\n standalone: true,\n exportAs: 'slListItemSelect',\n host: { 'data-part': 'select', 'data-part-select': '' },\n})\nexport class SlListItemSelect {}\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":";;;;;AAqCA,MAAM,QAAQ,GAAqB;AACjC,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,YAAY,EAAE,MAAM;AACpB,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,YAAY,EAAE,QAAQ,CAAC,YAAY,IAAI,QAAQ,CAAC,YAAY;AAC5D,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,EAAE,QAAQ,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ;SACjD,CAAC;KACH;AACH;AAEA;SACgB,sBAAsB,GAAA;AACpC,IAAA,OAAO,MAAM,CAAC,kBAAkB,CAAC;AACnC;;ACxCA;;;;;;;;;;;;;;AAcG;MA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,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;;;AClHD;;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 * Where the end goes in a row narrower than 22rem. `auto` moves it under the\n * title; `beside` keeps it on the title's line, at the row's end, and the body\n * takes what is left.\n */\nexport type ListItemEndPlacement = 'auto' | 'beside';\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 endPlacement: ListItemEndPlacement;\n inset: boolean;\n size: ListItemSize;\n tone: ListItemTone;\n truncate: boolean;\n}\n\nconst FALLBACK: ListItemDefaults = {\n align: 'center',\n endPlacement: 'auto',\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 endPlacement: defaults.endPlacement ?? FALLBACK.endPlacement,\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 ListItemEndPlacement,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\nexport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemEndPlacement,\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-end-placement]': 'resolvedEndPlacement()',\n '[attr.data-fill]': \"list?.resolvedFill() ?? 'row'\",\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 /**\n * Where the end goes in a row narrower than 22rem: under the title (`auto`)\n * or on its line (`beside`), for a figure that belongs beside its name.\n */\n readonly endPlacement = input<ListItemEndPlacement | 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 /**\n * Clips the title and the lines under it to one line each, and keeps the\n * body a minimum width before the end and the actions take the rest, so the\n * row has one height per size. The string stays.\n */\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 protected 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 resolvedEndPlacement = computed(() => this.endPlacement() ?? this.defaults.endPlacement);\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/**\n * A leading control, a **sibling** of the box before it, for the reason\n * `slListItemActions` is one at the end: a row whose box is a link or a button\n * cannot hold a checkbox inside it. It takes the leading column's chooser\n * square, so a link row selected for a bulk command keeps its checkbox first.\n */\n@Directive({\n selector: '[slListItemSelect]',\n standalone: true,\n exportAs: 'slListItemSelect',\n host: { 'data-part': 'select', 'data-part-select': '' },\n})\nexport class SlListItemSelect {}\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":";;;;;AAqCA,MAAM,QAAQ,GAAqB;AACjC,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,YAAY,EAAE,MAAM;AACpB,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,YAAY,EAAE,QAAQ,CAAC,YAAY,IAAI,QAAQ,CAAC,YAAY;AAC5D,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,EAAE,QAAQ,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ;SACjD,CAAC;KACH;AACH;AAEA;SACgB,sBAAsB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