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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/docs/accordion.json +2 -0
  2. package/docs/accordion.md +1 -1
  3. package/docs/avatar.json +1 -0
  4. package/docs/avatar.md +1 -1
  5. package/docs/badge.json +1 -0
  6. package/docs/badge.md +1 -1
  7. package/docs/button.json +56 -2
  8. package/docs/button.md +8 -1
  9. package/docs/calendar.json +59 -0
  10. package/docs/calendar.md +8 -1
  11. package/docs/card.json +7 -0
  12. package/docs/card.md +1 -0
  13. package/docs/chart.json +32 -4
  14. package/docs/chart.md +9 -5
  15. package/docs/checkbox.json +8 -3
  16. package/docs/checkbox.md +3 -3
  17. package/docs/collapsible.json +33 -1
  18. package/docs/collapsible.md +5 -1
  19. package/docs/command-palette.json +2 -1
  20. package/docs/command-palette.md +1 -1
  21. package/docs/dashboard-grid.json +11 -3
  22. package/docs/dashboard-grid.md +3 -2
  23. package/docs/description-list.json +9 -1
  24. package/docs/description-list.md +2 -1
  25. package/docs/entity-picker.json +3 -2
  26. package/docs/entity-picker.md +2 -2
  27. package/docs/floating-panel.json +203 -0
  28. package/docs/floating-panel.md +97 -0
  29. package/docs/index.md +3 -1
  30. package/docs/inline-message.json +1 -0
  31. package/docs/inline-message.md +1 -1
  32. package/docs/kbd.json +1 -0
  33. package/docs/kbd.md +1 -1
  34. package/docs/link.json +1 -1
  35. package/docs/link.md +1 -1
  36. package/docs/list-item.json +31 -8
  37. package/docs/list-item.md +19 -6
  38. package/docs/list.json +13 -0
  39. package/docs/list.md +3 -1
  40. package/docs/listbox.json +13 -0
  41. package/docs/listbox.md +2 -1
  42. package/docs/markdown.json +1 -1
  43. package/docs/markdown.md +1 -1
  44. package/docs/message.json +17 -2
  45. package/docs/message.md +4 -2
  46. package/docs/meter.json +248 -0
  47. package/docs/meter.md +121 -0
  48. package/docs/page.json +21 -0
  49. package/docs/page.md +3 -1
  50. package/docs/progress-indicator.json +39 -1
  51. package/docs/progress-indicator.md +6 -1
  52. package/docs/prompt-composer.json +1 -1
  53. package/docs/radio-group.json +18 -1
  54. package/docs/radio-group.md +3 -1
  55. package/docs/rating.json +1 -0
  56. package/docs/rating.md +1 -1
  57. package/docs/section.json +28 -3
  58. package/docs/section.md +6 -3
  59. package/docs/segmented-control.json +5 -4
  60. package/docs/segmented-control.md +3 -3
  61. package/docs/side-navigation.json +8 -0
  62. package/docs/side-navigation.md +2 -1
  63. package/docs/slider.json +8 -0
  64. package/docs/slider.md +2 -1
  65. package/docs/sparkline.json +416 -1
  66. package/docs/sparkline.md +186 -2
  67. package/docs/stat-card.json +7 -0
  68. package/docs/stat-card.md +1 -0
  69. package/docs/switch.json +16 -0
  70. package/docs/switch.md +3 -1
  71. package/docs/table.json +39 -1
  72. package/docs/table.md +6 -1
  73. package/docs/tag.json +1 -0
  74. package/docs/tag.md +1 -1
  75. package/docs/tokens.md +1 -1
  76. package/docs/toolbar.json +2 -1
  77. package/docs/toolbar.md +1 -1
  78. package/docs/top-navigation.json +1 -0
  79. package/docs/top-navigation.md +1 -1
  80. package/docs/typography.json +15 -0
  81. package/docs/typography.md +3 -1
  82. package/fesm2022/slotted-angular-accordion.mjs +2 -2
  83. package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
  84. package/fesm2022/slotted-angular-avatar.mjs +2 -2
  85. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  86. package/fesm2022/slotted-angular-badge.mjs +2 -2
  87. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  88. package/fesm2022/slotted-angular-button.mjs +84 -28
  89. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  90. package/fesm2022/slotted-angular-calendar.mjs +114 -23
  91. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  92. package/fesm2022/slotted-angular-card.mjs +15 -5
  93. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  94. package/fesm2022/slotted-angular-cascader.mjs +5 -5
  95. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  96. package/fesm2022/slotted-angular-chart.mjs +47 -5
  97. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  98. package/fesm2022/slotted-angular-checkbox.mjs +2 -2
  99. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  100. package/fesm2022/slotted-angular-collapsible.mjs +69 -8
  101. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  102. package/fesm2022/slotted-angular-column-manager.mjs +1 -1
  103. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  104. package/fesm2022/slotted-angular-combobox.mjs +2 -2
  105. package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
  106. package/fesm2022/slotted-angular-command-palette.mjs +11 -2
  107. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  108. package/fesm2022/slotted-angular-dashboard-grid.mjs +19 -5
  109. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  110. package/fesm2022/slotted-angular-data-grid.mjs +40 -15
  111. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  112. package/fesm2022/slotted-angular-data-list.mjs +2 -2
  113. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  114. package/fesm2022/slotted-angular-date-picker.mjs +1 -1
  115. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  116. package/fesm2022/slotted-angular-date-range-picker.mjs +1 -1
  117. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  118. package/fesm2022/slotted-angular-datetime-picker.mjs +1 -1
  119. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  120. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1 -1
  121. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  122. package/fesm2022/slotted-angular-description-list.mjs +13 -6
  123. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  124. package/fesm2022/slotted-angular-detail-panel.mjs +1 -1
  125. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
  126. package/fesm2022/slotted-angular-entity-picker.mjs +14 -2
  127. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  128. package/fesm2022/slotted-angular-filter-bar.mjs +4 -4
  129. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
  130. package/fesm2022/slotted-angular-floating-panel.mjs +257 -0
  131. package/fesm2022/slotted-angular-floating-panel.mjs.map +1 -0
  132. package/fesm2022/slotted-angular-import-export-center.mjs +1 -1
  133. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  134. package/fesm2022/slotted-angular-inline-message.mjs +2 -2
  135. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  136. package/fesm2022/slotted-angular-kbd.mjs +4 -4
  137. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  138. package/fesm2022/slotted-angular-list-item.mjs +41 -6
  139. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  140. package/fesm2022/slotted-angular-list.mjs +20 -4
  141. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  142. package/fesm2022/slotted-angular-listbox.mjs +63 -6
  143. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  144. package/fesm2022/slotted-angular-loading-overlay.mjs +2 -2
  145. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  146. package/fesm2022/slotted-angular-markdown.mjs +1 -1
  147. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  148. package/fesm2022/slotted-angular-message.mjs +78 -36
  149. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  150. package/fesm2022/slotted-angular-meter.mjs +108 -0
  151. package/fesm2022/slotted-angular-meter.mjs.map +1 -0
  152. package/fesm2022/slotted-angular-multi-select.mjs +2 -2
  153. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  154. package/fesm2022/slotted-angular-notification-center.mjs +1 -1
  155. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  156. package/fesm2022/slotted-angular-page.mjs +49 -6
  157. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  158. package/fesm2022/slotted-angular-progress-indicator.mjs +106 -7
  159. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  160. package/fesm2022/slotted-angular-prompt-composer.mjs +24 -6
  161. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
  162. package/fesm2022/slotted-angular-radio-group.mjs +45 -12
  163. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  164. package/fesm2022/slotted-angular-rating.mjs +6 -6
  165. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  166. package/fesm2022/slotted-angular-saved-views.mjs +1 -1
  167. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
  168. package/fesm2022/slotted-angular-section.mjs +23 -6
  169. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  170. package/fesm2022/slotted-angular-segmented-control.mjs +29 -7
  171. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  172. package/fesm2022/slotted-angular-select.mjs +42 -18
  173. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  174. package/fesm2022/slotted-angular-side-navigation.mjs +29 -7
  175. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
  176. package/fesm2022/slotted-angular-slider.mjs +26 -16
  177. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  178. package/fesm2022/slotted-angular-sparkline.mjs +295 -4
  179. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  180. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  181. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  182. package/fesm2022/slotted-angular-stat-card.mjs +82 -28
  183. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  184. package/fesm2022/slotted-angular-status-indicator.mjs +2 -2
  185. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  186. package/fesm2022/slotted-angular-switch.mjs +14 -4
  187. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  188. package/fesm2022/slotted-angular-table.mjs +77 -16
  189. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  190. package/fesm2022/slotted-angular-tag.mjs +2 -2
  191. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  192. package/fesm2022/slotted-angular-tags-input.mjs +2 -2
  193. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  194. package/fesm2022/slotted-angular-toolbar.mjs +2 -2
  195. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
  196. package/fesm2022/slotted-angular-top-navigation.mjs +2 -2
  197. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
  198. package/fesm2022/slotted-angular-tour.mjs +1 -1
  199. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  200. package/fesm2022/slotted-angular-transfer.mjs +1 -1
  201. package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
  202. package/fesm2022/slotted-angular-typography.mjs +31 -6
  203. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  204. package/fesm2022/slotted-angular-upload.mjs +2 -2
  205. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  206. package/fesm2022/slotted-angular-wizard.mjs +1 -1
  207. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  208. package/package.json +11 -3
  209. package/types/slotted-angular-button.d.ts +47 -5
  210. package/types/slotted-angular-button.d.ts.map +1 -1
  211. package/types/slotted-angular-calendar.d.ts +62 -5
  212. package/types/slotted-angular-calendar.d.ts.map +1 -1
  213. package/types/slotted-angular-card.d.ts +7 -1
  214. package/types/slotted-angular-card.d.ts.map +1 -1
  215. package/types/slotted-angular-chart.d.ts +10 -2
  216. package/types/slotted-angular-chart.d.ts.map +1 -1
  217. package/types/slotted-angular-checkbox.d.ts +3 -1
  218. package/types/slotted-angular-checkbox.d.ts.map +1 -1
  219. package/types/slotted-angular-collapsible.d.ts +29 -3
  220. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  221. package/types/slotted-angular-command-palette.d.ts.map +1 -1
  222. package/types/slotted-angular-dashboard-grid.d.ts +9 -1
  223. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  224. package/types/slotted-angular-data-grid.d.ts +5 -1
  225. package/types/slotted-angular-data-grid.d.ts.map +1 -1
  226. package/types/slotted-angular-description-list.d.ts +11 -3
  227. package/types/slotted-angular-description-list.d.ts.map +1 -1
  228. package/types/slotted-angular-entity-picker.d.ts +1 -0
  229. package/types/slotted-angular-entity-picker.d.ts.map +1 -1
  230. package/types/slotted-angular-floating-panel.d.ts +82 -0
  231. package/types/slotted-angular-floating-panel.d.ts.map +1 -0
  232. package/types/slotted-angular-list-item.d.ts +33 -6
  233. package/types/slotted-angular-list-item.d.ts.map +1 -1
  234. package/types/slotted-angular-list.d.ts +43 -29
  235. package/types/slotted-angular-list.d.ts.map +1 -1
  236. package/types/slotted-angular-listbox.d.ts +7 -1
  237. package/types/slotted-angular-listbox.d.ts.map +1 -1
  238. package/types/slotted-angular-message.d.ts +17 -3
  239. package/types/slotted-angular-message.d.ts.map +1 -1
  240. package/types/slotted-angular-meter.d.ts +67 -0
  241. package/types/slotted-angular-meter.d.ts.map +1 -0
  242. package/types/slotted-angular-page.d.ts +33 -10
  243. package/types/slotted-angular-page.d.ts.map +1 -1
  244. package/types/slotted-angular-progress-indicator.d.ts +46 -2
  245. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  246. package/types/slotted-angular-prompt-composer.d.ts +2 -0
  247. package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
  248. package/types/slotted-angular-radio-group.d.ts +22 -4
  249. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  250. package/types/slotted-angular-section.d.ts +18 -3
  251. package/types/slotted-angular-section.d.ts.map +1 -1
  252. package/types/slotted-angular-segmented-control.d.ts +8 -2
  253. package/types/slotted-angular-segmented-control.d.ts.map +1 -1
  254. package/types/slotted-angular-select.d.ts.map +1 -1
  255. package/types/slotted-angular-side-navigation.d.ts +14 -2
  256. package/types/slotted-angular-side-navigation.d.ts.map +1 -1
  257. package/types/slotted-angular-slider.d.ts +7 -1
  258. package/types/slotted-angular-slider.d.ts.map +1 -1
  259. package/types/slotted-angular-sparkline.d.ts +86 -4
  260. package/types/slotted-angular-sparkline.d.ts.map +1 -1
  261. package/types/slotted-angular-stat-card.d.ts +20 -2
  262. package/types/slotted-angular-stat-card.d.ts.map +1 -1
  263. package/types/slotted-angular-switch.d.ts +16 -2
  264. package/types/slotted-angular-switch.d.ts.map +1 -1
  265. package/types/slotted-angular-table.d.ts +32 -3
  266. package/types/slotted-angular-table.d.ts.map +1 -1
  267. package/types/slotted-angular-typography.d.ts +21 -2
  268. package/types/slotted-angular-typography.d.ts.map +1 -1
@@ -5,6 +5,7 @@ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
5
5
 
6
6
  const FALLBACK = {
7
7
  align: 'center',
8
+ endPlacement: 'auto',
8
9
  inset: false,
9
10
  size: 'md',
10
11
  tone: 'secondary',
@@ -21,6 +22,7 @@ function provideListItemDefaults(defaults) {
21
22
  provide: LIST_ITEM_DEFAULTS,
22
23
  useFactory: () => ({
23
24
  align: defaults.align ?? FALLBACK.align,
25
+ endPlacement: defaults.endPlacement ?? FALLBACK.endPlacement,
24
26
  inset: defaults.inset ?? FALLBACK.inset,
25
27
  size: defaults.size ?? FALLBACK.size,
26
28
  tone: defaults.tone ?? FALLBACK.tone,
@@ -61,12 +63,22 @@ class SlListItem {
61
63
  /** Where the leading visual sits against a row of more than one line. */
62
64
  align = input(undefined, /* @ts-ignore */
63
65
  ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
66
+ /**
67
+ * Where the end goes in a row narrower than 22rem: under the title (`auto`)
68
+ * or on its line (`beside`), for a figure that belongs beside its name.
69
+ */
70
+ endPlacement = input(undefined, /* @ts-ignore */
71
+ ...(ngDevMode ? [{ debugName: "endPlacement" }] : /* istanbul ignore next */ []));
64
72
  /** The row's ink and the wash under the pointer. Falls back to `secondary`. */
65
73
  tone = input(undefined, /* @ts-ignore */
66
74
  ...(ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []));
67
75
  /** Takes the row's inline padding away. Falls back to the list, then the token. */
68
76
  inset = input(undefined, { ...(ngDevMode ? { debugName: "inset" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : booleanAttribute(state)) });
69
- /** Clips the title and the lines under it to one line each. The string stays. */
77
+ /**
78
+ * Clips the title and the lines under it to one line each, and keeps the
79
+ * body a minimum width before the end and the actions take the rest, so the
80
+ * row has one height per size. The string stays.
81
+ */
70
82
  truncate = input(undefined, { ...(ngDevMode ? { debugName: "truncate" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : booleanAttribute(state)) });
71
83
  /**
72
84
  * Mirrors a selection the page owns. `aria-selected` is not valid on
@@ -115,6 +127,8 @@ class SlListItem {
115
127
  ...(ngDevMode ? [{ debugName: "resolvedMarker" }] : /* istanbul ignore next */ []));
116
128
  resolvedAlign = computed(() => this.align() ?? this.defaults.align, /* @ts-ignore */
117
129
  ...(ngDevMode ? [{ debugName: "resolvedAlign" }] : /* istanbul ignore next */ []));
130
+ resolvedEndPlacement = computed(() => this.endPlacement() ?? this.defaults.endPlacement, /* @ts-ignore */
131
+ ...(ngDevMode ? [{ debugName: "resolvedEndPlacement" }] : /* istanbul ignore next */ []));
118
132
  resolvedTone = computed(() => this.tone() ?? this.defaults.tone, /* @ts-ignore */
119
133
  ...(ngDevMode ? [{ debugName: "resolvedTone" }] : /* istanbul ignore next */ []));
120
134
  resolvedInset = computed(() => (this.inset() ?? this.list?.resolvedInset() ?? this.defaults.inset) === true, /* @ts-ignore */
@@ -164,12 +178,12 @@ class SlListItem {
164
178
  }, /* @ts-ignore */
165
179
  ...(ngDevMode ? [{ debugName: "ariaCurrent" }] : /* istanbul ignore next */ []));
166
180
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
167
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlListItem, isStandalone: true, selector: "li[slListItem]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, truncate: { classPropertyName: "truncate", publicName: "truncate", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, setSize: { classPropertyName: "setSize", publicName: "setSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "list-item", "data-ui-list-item": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.data-variant": "resolvedVariant()", "attr.data-size": "resolvedSize()", "attr.data-marker": "resolvedMarker()", "attr.data-align": "resolvedAlign()", "attr.data-tone": "resolvedTone()", "attr.data-inset": "resolvedInset() ? '' : null", "attr.data-truncate": "resolvedTruncate() ? '' : null", "attr.data-selected": "selected() ? '' : null", "attr.data-current": "current() === false ? null : ''", "attr.data-disabled": "disabled() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.aria-current": "ariaCurrent()", "attr.aria-posinset": "position() ?? null", "attr.aria-setsize": "setSize() ?? null" } }, exportAs: ["slListItem"], ngImport: i0, template: `@if (resolvedMarker() === 'bullet') {
181
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlListItem, isStandalone: true, selector: "li[slListItem]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, endPlacement: { classPropertyName: "endPlacement", publicName: "endPlacement", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, truncate: { classPropertyName: "truncate", publicName: "truncate", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, setSize: { classPropertyName: "setSize", publicName: "setSize", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "list-item", "data-ui-list-item": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.data-variant": "resolvedVariant()", "attr.data-size": "resolvedSize()", "attr.data-marker": "resolvedMarker()", "attr.data-align": "resolvedAlign()", "attr.data-end-placement": "resolvedEndPlacement()", "attr.data-fill": "list?.resolvedFill() ?? 'row'", "attr.data-tone": "resolvedTone()", "attr.data-inset": "resolvedInset() ? '' : null", "attr.data-truncate": "resolvedTruncate() ? '' : null", "attr.data-selected": "selected() ? '' : null", "attr.data-current": "current() === false ? null : ''", "attr.data-disabled": "disabled() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.aria-current": "ariaCurrent()", "attr.aria-posinset": "position() ?? null", "attr.aria-setsize": "setSize() ?? null" } }, exportAs: ["slListItem"], ngImport: i0, template: `@if (resolvedMarker() === 'bullet') {
168
182
  <span data-part="marker" data-part-marker="" aria-hidden="true"
169
183
  ><span slIcon><svg slGlyph name="dot"></svg></span
170
184
  ></span>
171
185
  }
172
- <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-part-content]>[data-part-end]{align-items:center;color:var(--_muted);display:flex;flex:none;gap:var(--_gap);grid-area:end;margin-inline-start:var(--_gap)}[data-ui-list-item]>[data-part-actions]{align-items:center;box-sizing:border-box;display:flex;flex:none;gap:var(--_gap);padding-inline-end:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline-end:0}[data-ui-list-item][data-align=start]>[data-part-actions]{align-items:start;padding-block-start:var(--_pad-block)}[data-ui-list-item]:is([data-variant=ruled],[data-variant=framed]):not(:first-child){--_rule-shadow: 0 calc(var(--_rule-width) * -1) 0 0 var(--_rule)}[data-ui-list-item][data-variant=separated]{--_fill: var(--slotted-list-item-background, var(--slotted-surface-raised, Canvas));border:var(--_rule-width) solid var(--_rule)}[data-ui-list-item][data-variant=separated]{overflow:clip}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):hover){--_fill: var(--_hover)}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):active){--_fill: var(--_active)}[data-ui-list-item]>[data-part-content]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui-list-item][data-current]{--_fill: var(--_current-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_current-edge)}[data-ui-list-item][data-selected]{--_hover: var(--_selected-hover);--_active: var(--_selected-active)}[data-ui-list-item][data-selected]{--_fill: var(--_selected-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_selected-edge)}[data-ui-list-item]:is([data-selected],[data-current]):not(:first-child),[data-ui-list-item]:is([data-selected],[data-current])+[data-ui-list-item]{--_rule-shadow: 0 0 0 0 transparent}[data-ui-list-item][data-selected]+[data-ui-list-item][data-selected]{--_edge-shadow: inset 0 calc(var(--_rule-width) * -1) 0 0 var(--_selected-edge), inset var(--_rule-width) 0 0 0 var(--_selected-edge), inset calc(var(--_rule-width) * -1) 0 0 0 var(--_selected-edge)}[data-ui-list-item][data-selected]>[data-part-content]{color:var(--_selected-text);font-weight:var( --slotted-list-item-font-weight-selected, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-current]>[data-part-content]{font-weight:var( --slotted-list-item-font-weight-current, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-loading]{--_text: var(--_muted)}[data-ui-list-item][data-loading]>[data-part-content]{cursor:progress}[data-ui-list-item][data-disabled]{--_disabled-ink: var( --slotted-list-item-color-disabled, var(--slotted-disabled-foreground, GrayText) );--_text: var(--_disabled-ink);--_muted: var(--_disabled-ink)}[data-ui-list-item][data-disabled]>[data-part-content]{cursor:default}[data-ui-list-item][data-disabled][data-variant=separated]{--_fill: var(--slotted-surface-sunken, Canvas);border-color:var(--slotted-disabled-border, GrayText)}@container slotted-list-item (max-inline-size: 22rem){[data-ui-list-item]>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]>[data-part-content]>[data-part-end]{justify-content:start;margin-block-start:var(--slotted-list-item-body-gap, var(--slotted-space-1, .125rem));margin-inline-start:0}[data-ui-list-item]>[data-part-content]>[data-part-start]{align-self:start;min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item]>[data-part-actions]{flex-basis:100%;justify-content:flex-end;padding-block-end:var(--_pad-block);padding-inline:var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline:0}[data-ui-list-item]>[data-part-actions]:not(:has(>:not([data-shape]))){flex-basis:auto;padding-block-end:0;padding-inline:0 var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]:not(:has(>:not([data-shape]))){padding-inline-end:0}}@media(forced-colors:active){[data-ui-list-item][data-selected]{background-color:Highlight}[data-ui-list-item][data-selected]>[data-part-content]{color:HighlightText}[data-ui-list-item][data-current]:not([data-selected]){outline:var(--slotted-border-width-thin, 1px) solid Highlight;outline-offset:calc(-1 * var(--slotted-border-width-thin, 1px))}}}\n"], 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]{--_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 });
173
187
  }
174
188
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItem, decorators: [{
175
189
  type: Component,
@@ -187,6 +201,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
187
201
  '[attr.data-size]': 'resolvedSize()',
188
202
  '[attr.data-marker]': 'resolvedMarker()',
189
203
  '[attr.data-align]': 'resolvedAlign()',
204
+ '[attr.data-end-placement]': 'resolvedEndPlacement()',
205
+ '[attr.data-fill]': "list?.resolvedFill() ?? 'row'",
190
206
  '[attr.data-tone]': 'resolvedTone()',
191
207
  '[attr.data-inset]': "resolvedInset() ? '' : null",
192
208
  '[attr.data-truncate]': "resolvedTruncate() ? '' : null",
@@ -197,8 +213,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
197
213
  '[attr.aria-current]': 'ariaCurrent()',
198
214
  '[attr.aria-posinset]': 'position() ?? null',
199
215
  '[attr.aria-setsize]': 'setSize() ?? null',
200
- }, styles: ["@layer slotted.components{[data-ui-list-item][data-part-root]{--_min-block: var(--slotted-list-item-min-block-size, var(--slotted-control-height-md, 34px));--_font-size: var(--slotted-list-item-font-size, var(--slotted-control-font-size-md, 13px));--_icon-size: var(--slotted-list-item-icon-size, var(--slotted-control-icon-size-md, 16px));--_control-size: var(--slotted-list-item-control-size, var(--slotted-selection-size-md, 16px));--_gap: var(--slotted-list-item-gap, var(--slotted-control-gap-md, 8px));--_pad-inline: var( --slotted-list-item-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_pad-block: var( --slotted-list-item-padding-block, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) );--_radius: var(--slotted-list-item-radius, var(--slotted-radius-md, 6px));--_text: var(--slotted-list-item-color, var(--slotted-text, CanvasText));--_muted: var(--slotted-list-item-color-muted, var(--slotted-text-muted, GrayText));--_subtle-hover: var(--slotted-tone-secondary-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-secondary-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-secondary-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-secondary-solid-active, ButtonFace);--_surface: var(--slotted-tone-secondary-surface, Canvas);--_hover: var(--slotted-list-item-background-hover, var(--_subtle-hover));--_active: var(--slotted-list-item-background-active, var(--_subtle-active));--_selected-edge: var(--slotted-tone-accent-border, ButtonBorder);--_selected-surface: var( --slotted-list-item-background-selected, var(--slotted-tone-accent-surface, Canvas) );--_selected-text: var(--slotted-tone-accent-text, CanvasText);--_selected-hover: var(--slotted-tone-accent-subtle-hover, ButtonFace);--_selected-active: var(--slotted-tone-accent-subtle-active, ButtonFace);--_current-surface: var( --slotted-list-item-background-current, var(--slotted-tone-secondary-surface, Canvas) );--_current-edge: var(--slotted-tone-secondary-border, ButtonBorder);--_rule: var(--slotted-list-item-border-color, var(--slotted-border-subtle, ButtonBorder));--_rule-width: var(--slotted-list-item-border-width, var(--slotted-border-width-thin, 1px));--_marker-size: calc(var(--_icon-size) * .75);box-sizing:border-box;--_fill: transparent;--_rule-shadow: 0 0 0 0 transparent;--_edge-shadow: 0 0 0 0 transparent;background-color:var(--_fill);border-radius:var(--_radius);box-shadow:var(--_rule-shadow),var(--_edge-shadow);counter-increment:slotted-list-item;transition:background-color var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard)),box-shadow var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard));container-name:slotted-list-item;container-type:inline-size;display:flex;align-items:stretch;flex-wrap:wrap;list-style:none;min-inline-size:0}[data-ui-list-item][data-size=sm]{--_min-block: var( --slotted-list-item-min-block-size-sm, var(--slotted-control-height-sm, 30px) );--_font-size: var(--slotted-list-item-font-size-sm, var(--slotted-control-font-size-sm, 12px));--_icon-size: var(--slotted-list-item-icon-size-sm, var(--slotted-control-icon-size-sm, 14px));--_control-size: var( --slotted-list-item-control-size-sm, var(--slotted-selection-size-sm, 14px) );--_gap: var(--slotted-list-item-gap-sm, var(--slotted-control-gap-sm, 6px));--_pad-inline: var( --slotted-list-item-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_pad-block: var( --slotted-list-item-padding-block-sm, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) )}[data-ui-list-item][data-size=lg]{--_min-block: var( --slotted-list-item-min-block-size-lg, var(--slotted-control-height-lg, 38px) );--_font-size: var(--slotted-list-item-font-size-lg, var(--slotted-control-font-size-lg, 14px));--_icon-size: var(--slotted-list-item-icon-size-lg, var(--slotted-control-icon-size-lg, 18px));--_control-size: var( --slotted-list-item-control-size-lg, var(--slotted-selection-size-lg, 18px) );--_gap: var(--slotted-list-item-gap-lg, var(--slotted-control-gap-lg, 8px));--_pad-inline: var( --slotted-list-item-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_pad-block: var( --slotted-list-item-padding-block-lg, max( var(--slotted-space-2, .25rem), calc((var(--_min-block) - var(--_font-size) * var(--slotted-line-height-md, 1.5)) / 2) ) )}[data-ui-list-item][data-tone=accent]{--_text: var(--slotted-tone-accent-text, CanvasText);--_subtle-hover: var(--slotted-tone-accent-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-accent-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-accent-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-accent-solid-active, ButtonFace);--_surface: var(--slotted-tone-accent-surface, Canvas);--_selected-edge: var(--slotted-tone-accent-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-accent-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=success]{--_text: var(--slotted-tone-success-text, CanvasText);--_subtle-hover: var(--slotted-tone-success-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-success-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-success-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-success-solid-active, ButtonFace);--_surface: var(--slotted-tone-success-surface, Canvas);--_selected-edge: var(--slotted-tone-success-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-success-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=info]{--_text: var(--slotted-tone-info-text, CanvasText);--_subtle-hover: var(--slotted-tone-info-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-info-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-info-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-info-solid-active, ButtonFace);--_surface: var(--slotted-tone-info-surface, Canvas);--_selected-edge: var(--slotted-tone-info-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-info-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=warning]{--_text: var(--slotted-tone-warning-text, CanvasText);--_subtle-hover: var(--slotted-tone-warning-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-warning-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-warning-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-warning-solid-active, ButtonFace);--_surface: var(--slotted-tone-warning-surface, Canvas);--_selected-edge: var(--slotted-tone-warning-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-warning-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-tone=danger]{--_text: var(--slotted-tone-danger-text, CanvasText);--_subtle-hover: var(--slotted-tone-danger-subtle-hover, ButtonFace);--_subtle-active: var(--slotted-tone-danger-subtle-active, ButtonFace);--_solid-hover: var(--slotted-tone-danger-solid-hover, ButtonFace);--_solid-active: var(--slotted-tone-danger-solid-active, ButtonFace);--_surface: var(--slotted-tone-danger-surface, Canvas);--_selected-edge: var(--slotted-tone-danger-border, ButtonBorder);--_selected-surface: var(--slotted-list-item-background-selected, var(--_surface));--_selected-text: var(--slotted-tone-danger-text, CanvasText);--_selected-hover: var(--_subtle-hover);--_selected-active: var(--_subtle-active)}[data-ui-list-item][data-marker=bullet]>[data-part-marker],[data-ui-list-item][data-marker=number]:before{align-items:start;block-size:calc(var(--_pad-block) * 2 + var(--_font-size) * var(--slotted-line-height-md, 1.5));box-sizing:border-box;color:var(--_text);display:flex;flex:none;font-size:var(--_font-size);font-variant-numeric:tabular-nums;inline-size:var(--_icon-size);line-height:var(--slotted-line-height-md, 1.5);margin-inline-end:var(--_gap);margin-inline-start:var(--_pad-inline);padding-block-start:var(--_pad-block)}[data-ui-list-item][data-marker=bullet]>[data-part-marker]{--slotted-icon-size: var(--_marker-size);justify-content:center}[data-ui-list-item][data-marker=bullet]>[data-part-marker]>[data-ui-icon]{margin-block-start:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5) * .5 - var(--_marker-size) * .5)}[data-ui-list-item][data-marker=number]:before{content:counter(slotted-list-item) \".\";justify-content:end}[data-ui-list-item]:is([data-marker=bullet],[data-marker=number])>[data-part-content]{padding-inline-start:0}[data-ui-list-item][data-inset][data-marker=bullet]>[data-part-marker],[data-ui-list-item][data-inset][data-marker=number]:before{margin-inline-start:0}[data-ui-list-item]>[data-part-content]{appearance:none;background-color:transparent;border:none;border-radius:inherit;box-sizing:border-box;color:var(--_text);display:grid;flex:1 1 0%;font:inherit;font-size:var(--_font-size);grid-template-areas:\"start body end\";grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-block-size:var(--_min-block);min-inline-size:0;padding-block:var(--_pad-block);padding-inline:var(--_pad-inline);text-align:start;text-decoration:none;transition:color var(--slotted-control-transition-duration, var(--slotted-duration-short)) var(--slotted-control-transition-easing, var(--slotted-easing-standard))}[data-ui-list-item]:is([data-variant=ruled],[data-variant=framed]){border-radius:0}[data-ui-list-item]:not([data-disabled])>:is(a,button)[data-part-content]:not(:disabled){cursor:pointer}[data-ui-list-item][data-inset]>[data-part-content]{padding-inline:0}[data-ui-list-item][data-align=start]>[data-part-content]{align-items:start}[data-ui-list-item]>[data-part-content]>[data-part-start]{align-items:center;color:var(--_text);display:flex;flex:none;grid-area:start;margin-inline-end:var(--_gap);min-inline-size:var(--_icon-size)}[data-ui-list-item]>[data-part-content]>[data-part-start]:has(>[data-ui-checkbox]){align-items:start;inline-size:var(--_control-size);min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item][data-align=start]>[data-part-content]>[data-part-start]{min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item]>[data-part-content]>[data-part-body]{display:flex;flex-direction:column;grid-area:body;min-inline-size:0;row-gap:var(--slotted-list-item-body-gap, var(--slotted-space-1, .125rem))}[data-ui-list-item]>[data-part-content]>[data-part-body]>[data-part-label]{color:inherit;font-size:var(--_font-size);font-weight:var(--slotted-list-item-font-weight, var(--slotted-font-weight-regular, 400));line-height:var(--slotted-line-height-md, 1.5);margin-block:0;min-inline-size:0;overflow-wrap:anywhere;unicode-bidi:plaintext}[data-ui-list-item]>[data-part-content]>[data-part-body]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-list-item-description-font-size, var(--slotted-font-size-xs, .75rem));line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;overflow-wrap:anywhere;unicode-bidi:plaintext}[data-ui-list-item][data-truncate]>[data-part-content]>[data-part-body]>:is([data-part-label],[data-part-description]){overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap}[data-ui-list-item]>[data-part-content]>[data-part-end]{align-items:center;color:var(--_muted);display:flex;flex:none;gap:var(--_gap);grid-area:end;margin-inline-start:var(--_gap)}[data-ui-list-item]>[data-part-actions]{align-items:center;box-sizing:border-box;display:flex;flex:none;gap:var(--_gap);padding-inline-end:var(--_pad-inline);position:relative}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline-end:0}[data-ui-list-item][data-align=start]>[data-part-actions]{align-items:start;padding-block-start:var(--_pad-block)}[data-ui-list-item]:is([data-variant=ruled],[data-variant=framed]):not(:first-child){--_rule-shadow: 0 calc(var(--_rule-width) * -1) 0 0 var(--_rule)}[data-ui-list-item][data-variant=separated]{--_fill: var(--slotted-list-item-background, var(--slotted-surface-raised, Canvas));border:var(--_rule-width) solid var(--_rule)}[data-ui-list-item][data-variant=separated]{overflow:clip}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):hover){--_fill: var(--_hover)}[data-ui-list-item]:not([data-disabled]):not([data-loading]):has(>:is(a,button)[data-part-content]:not(:disabled):active){--_fill: var(--_active)}[data-ui-list-item]>[data-part-content]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui-list-item][data-current]{--_fill: var(--_current-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_current-edge)}[data-ui-list-item][data-selected]{--_hover: var(--_selected-hover);--_active: var(--_selected-active)}[data-ui-list-item][data-selected]{--_fill: var(--_selected-surface);--_edge-shadow: inset 0 0 0 var(--_rule-width) var(--_selected-edge)}[data-ui-list-item]:is([data-selected],[data-current]):not(:first-child),[data-ui-list-item]:is([data-selected],[data-current])+[data-ui-list-item]{--_rule-shadow: 0 0 0 0 transparent}[data-ui-list-item][data-selected]+[data-ui-list-item][data-selected]{--_edge-shadow: inset 0 calc(var(--_rule-width) * -1) 0 0 var(--_selected-edge), inset var(--_rule-width) 0 0 0 var(--_selected-edge), inset calc(var(--_rule-width) * -1) 0 0 0 var(--_selected-edge)}[data-ui-list-item][data-selected]>[data-part-content]{color:var(--_selected-text);font-weight:var( --slotted-list-item-font-weight-selected, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-current]>[data-part-content]{font-weight:var( --slotted-list-item-font-weight-current, var(--slotted-font-weight-medium, 500) )}[data-ui-list-item][data-loading]{--_text: var(--_muted)}[data-ui-list-item][data-loading]>[data-part-content]{cursor:progress}[data-ui-list-item][data-disabled]{--_disabled-ink: var( --slotted-list-item-color-disabled, var(--slotted-disabled-foreground, GrayText) );--_text: var(--_disabled-ink);--_muted: var(--_disabled-ink)}[data-ui-list-item][data-disabled]>[data-part-content]{cursor:default}[data-ui-list-item][data-disabled][data-variant=separated]{--_fill: var(--slotted-surface-sunken, Canvas);border-color:var(--slotted-disabled-border, GrayText)}@container slotted-list-item (max-inline-size: 22rem){[data-ui-list-item]>[data-part-content]{grid-template-areas:\"start body\" \"start end\";grid-template-columns:auto minmax(0,1fr)}[data-ui-list-item]>[data-part-content]>[data-part-end]{justify-content:start;margin-block-start:var(--slotted-list-item-body-gap, var(--slotted-space-1, .125rem));margin-inline-start:0}[data-ui-list-item]>[data-part-content]>[data-part-start]{align-self:start;min-block-size:calc(var(--_font-size) * var(--slotted-line-height-md, 1.5))}[data-ui-list-item]>[data-part-actions]{flex-basis:100%;justify-content:flex-end;padding-block-end:var(--_pad-block);padding-inline:var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]{padding-inline:0}[data-ui-list-item]>[data-part-actions]:not(:has(>:not([data-shape]))){flex-basis:auto;padding-block-end:0;padding-inline:0 var(--_pad-inline)}[data-ui-list-item][data-inset]>[data-part-actions]:not(:has(>:not([data-shape]))){padding-inline-end:0}}@media(forced-colors:active){[data-ui-list-item][data-selected]{background-color:Highlight}[data-ui-list-item][data-selected]>[data-part-content]{color:HighlightText}[data-ui-list-item][data-current]:not([data-selected]){outline:var(--slotted-border-width-thin, 1px) solid Highlight;outline-offset:calc(-1 * var(--slotted-border-width-thin, 1px))}}}\n"] }]
201
- }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], marker: [{ type: i0.Input, args: [{ isSignal: true, alias: "marker", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], truncate: [{ type: i0.Input, args: [{ isSignal: true, alias: "truncate", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], current: [{ type: i0.Input, args: [{ isSignal: true, alias: "current", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], setSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "setSize", required: false }] }] } });
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"] }]
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 }] }] } });
202
218
 
203
219
  /** Provided by `slListItemContent` for the text parts inside it. */
204
220
  class SlListItemBox {
@@ -385,6 +401,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
385
401
  * surveyed implementation lets a consumer nest them instead and produces HTML
386
402
  * no browser can make focusable.
387
403
  */
404
+ /**
405
+ * A leading control, a **sibling** of the box before it, for the reason
406
+ * `slListItemActions` is one at the end: a row whose box is a link or a button
407
+ * cannot hold a checkbox inside it. It takes the leading column's chooser
408
+ * square, so a link row selected for a bulk command keeps its checkbox first.
409
+ */
410
+ class SlListItemSelect {
411
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemSelect, deps: [], target: i0.ɵɵFactoryTarget.Directive });
412
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemSelect, isStandalone: true, selector: "[slListItemSelect]", host: { attributes: { "data-part": "select", "data-part-select": "" } }, exportAs: ["slListItemSelect"], ngImport: i0 });
413
+ }
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemSelect, decorators: [{
415
+ type: Directive,
416
+ args: [{
417
+ selector: '[slListItemSelect]',
418
+ standalone: true,
419
+ exportAs: 'slListItemSelect',
420
+ host: { 'data-part': 'select', 'data-part-select': '' },
421
+ }]
422
+ }] });
388
423
  class SlListItemActions {
389
424
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlListItemActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
390
425
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlListItemActions, isStandalone: true, selector: "[slListItemActions]", host: { attributes: { "data-part": "actions", "data-part-actions": "" } }, exportAs: ["slListItemActions"], ngImport: i0 });
@@ -403,5 +438,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
403
438
  * Generated bundle index. Do not edit.
404
439
  */
405
440
 
406
- export { LIST_ITEM_DEFAULTS, SlListItem, SlListItemActions, SlListItemBody, SlListItemContent, SlListItemDescription, SlListItemEnd, SlListItemLabel, SlListItemStart, injectListItemDefaults, provideListItemDefaults };
441
+ export { LIST_ITEM_DEFAULTS, SlListItem, SlListItemActions, SlListItemBody, SlListItemContent, SlListItemDescription, SlListItemEnd, SlListItemLabel, SlListItemSelect, SlListItemStart, injectListItemDefaults, provideListItemDefaults };
407
442
  //# sourceMappingURL=slotted-angular-list-item.mjs.map
@@ -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 * What the row is the current one *of*. ARIA 1.2 lists `aria-current` as\n * inherited by `listitem` and does not deprecate it, which makes this the one\n * selection-shaped state a static list may announce for itself.\n */\nexport type ListItemCurrent = boolean | 'page' | 'step' | 'location' | 'date' | 'time';\n\nexport interface ListItemDefaults {\n align: ListItemAlign;\n inset: boolean;\n size: ListItemSize;\n tone: ListItemTone;\n truncate: boolean;\n}\n\nconst FALLBACK: ListItemDefaults = {\n align: 'center',\n inset: false,\n size: 'md',\n tone: 'secondary',\n truncate: false,\n};\n\nexport const LIST_ITEM_DEFAULTS = new InjectionToken<ListItemDefaults>(\n 'slotted list item defaults',\n { providedIn: 'root', factory: () => FALLBACK },\n);\n\n/**\n * An application decides once how its rows are aligned, how far they are inset\n * and whether a title the row cannot grow for is clipped. A row that states any\n * of them itself still wins, and so does the list between the two.\n */\nexport function provideListItemDefaults(defaults: Partial<ListItemDefaults>) {\n return {\n provide: LIST_ITEM_DEFAULTS,\n useFactory: (): ListItemDefaults => ({\n align: defaults.align ?? FALLBACK.align,\n inset: defaults.inset ?? FALLBACK.inset,\n size: defaults.size ?? FALLBACK.size,\n tone: defaults.tone ?? FALLBACK.tone,\n truncate: defaults.truncate ?? FALLBACK.truncate,\n }),\n };\n}\n\n/** What a row renders as here, before the list or the row states anything. */\nexport function injectListItemDefaults(): ListItemDefaults {\n return inject(LIST_ITEM_DEFAULTS);\n}\n","import { SlList } from '@slotted/angular/list';\nimport type { ListMarker, ListVariant } from '@slotted/angular/list';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SlGlyph, SlIcon } from '@slotted/angular/icon';\n\nimport { injectListItemDefaults } from './list-item-defaults';\nimport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\nexport type {\n ListItemAlign,\n ListItemCurrent,\n ListItemSize,\n ListItemTone,\n} from './list-item-defaults';\n\n/**\n * One entry of a `slList`: the `li`, and every state the row paints. The box\n * that is read, hovered, focused and sometimes activated is `slListItemContent`\n * on the element the page chose, and `slListItemActions` is that box's sibling\n * — interactive content may not nest inside `a` or `button`.\n *\n * Four values come from the list when the row does not state them: `variant`,\n * `size`, `marker` and `inset`. Everything else is a fact about this row.\n *\n * **No state attribute the roles model forbids reaches the `li`.** ARIA 1.2\n * deprecates `aria-disabled` on `listitem`, so `disabled` is painted from\n * `data-disabled` and the attribute that means it is written on the box.\n * `aria-current` is inherited by the role and is not deprecated, so `current`\n * is announced here.\n */\n@Component({\n selector: 'li[slListItem]',\n standalone: true,\n exportAs: 'slListItem',\n imports: [SlGlyph, SlIcon],\n /* The bullet is the dot glyph in a part of its own before the row's content;\n the number is a counter the stylesheet writes, because it is text rather\n than an icon. */\n template: `@if (resolvedMarker() === 'bullet') {\n <span data-part=\"marker\" data-part-marker=\"\" aria-hidden=\"true\"\n ><span slIcon><svg slGlyph name=\"dot\"></svg></span\n ></span>\n }\n <ng-content></ng-content>`,\n styleUrl: '../../../styles/src/list-item/list-item.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-ui': 'list-item',\n 'data-ui-list-item': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.data-variant]': 'resolvedVariant()',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-marker]': 'resolvedMarker()',\n '[attr.data-align]': 'resolvedAlign()',\n '[attr.data-tone]': 'resolvedTone()',\n '[attr.data-inset]': \"resolvedInset() ? '' : null\",\n '[attr.data-truncate]': \"resolvedTruncate() ? '' : null\",\n '[attr.data-selected]': \"selected() ? '' : null\",\n '[attr.data-current]': \"current() === false ? null : ''\",\n '[attr.data-disabled]': \"disabled() ? '' : null\",\n '[attr.data-loading]': \"loading() ? '' : null\",\n '[attr.aria-current]': 'ariaCurrent()',\n '[attr.aria-posinset]': 'position() ?? null',\n '[attr.aria-setsize]': 'setSize() ?? null',\n },\n})\nexport class SlListItem {\n /** How the rows are told apart. Falls back to the list, then to `plain`. */\n readonly variant = input<ListVariant | undefined>(undefined);\n /** The room the row gets. Falls back to the list, then the token, then `md`. */\n readonly size = input<ListItemSize | undefined>(undefined);\n /** What is painted in the marker column. Falls back to the list, then `none`. */\n readonly marker = input<ListMarker | undefined>(undefined);\n /** Where the leading visual sits against a row of more than one line. */\n readonly align = input<ListItemAlign | undefined>(undefined);\n /** The row's ink and the wash under the pointer. Falls back to `secondary`. */\n readonly tone = input<ListItemTone | undefined>(undefined);\n /** Takes the row's inline padding away. Falls back to the list, then the token. */\n readonly inset = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /** Clips the title and the lines under it to one line each. The string stays. */\n readonly truncate = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n /**\n * Mirrors a selection the page owns. `aria-selected` is not valid on\n * `listitem`, so the row paints it and the control the page puts in\n * `slListItemStart` — a `slCheckbox` — is what announces it.\n */\n readonly selected = input(false, { transform: booleanAttribute });\n /**\n * The row the reader is on. `true` writes `aria-current=\"true\"`; a token\n * writes that token, and `page` is what a navigation list wants.\n */\n readonly current = input<ListItemCurrent>(false);\n /**\n * The row dims and stops answering the pointer. The attribute that means it\n * goes on the box inside and never on this `li`, which ARIA 1.2 forbids.\n */\n readonly disabled = input(false, { transform: booleanAttribute });\n /**\n * `aria-busy` on the box, and the activation withdrawn so the command cannot\n * run twice. The row keeps its width and its accessible name; what stands in\n * for the content is `slSkeleton`, composed by the page.\n */\n readonly loading = input(false, { transform: booleanAttribute });\n /**\n * The row's place in a set only part of which is in the document — a page of\n * results, a filtered list. ARIA 1.2 is explicit that it is unnecessary while\n * every row is present, so it is written only when stated.\n */\n readonly position = input<number | undefined>(undefined);\n /** How many rows the set holds, when only part of it is in the document. */\n readonly setSize = input<number | undefined>(undefined);\n\n private readonly defaults = injectListItemDefaults();\n private readonly list = inject(SlList, { optional: true });\n /** An `aria-current` the consumer wrote is never replaced by the family's. */\n private readonly writtenCurrent = inject(new HostAttributeToken('aria-current'), {\n optional: true,\n });\n\n readonly resolvedVariant = computed(\n () => this.variant() ?? this.list?.resolvedVariant() ?? 'plain',\n );\n readonly resolvedSize = computed(\n () => this.size() ?? this.list?.resolvedSize() ?? this.defaults.size,\n );\n readonly resolvedMarker = computed(() => this.marker() ?? this.list?.resolvedMarker() ?? 'none');\n readonly resolvedAlign = computed(() => this.align() ?? this.defaults.align);\n readonly resolvedTone = computed(() => this.tone() ?? this.defaults.tone);\n readonly resolvedInset = computed(\n () => (this.inset() ?? this.list?.resolvedInset() ?? this.defaults.inset) === true,\n );\n readonly resolvedTruncate = computed(() => (this.truncate() ?? this.defaults.truncate) === true);\n\n /** The two states the box inside has to answer, and the only pair it reads. */\n readonly blocked = computed(() => this.disabled() || this.loading());\n\n constructor() {\n /**\n * The refusal, and it lives here rather than on the box because this is the\n * only place the DOM guarantees it runs first.\n *\n * A directive's host listener and a `(click)` the page wrote on the same\n * element are both listeners on the event's target, and at the target the\n * DOM invokes listeners in registration order — the capture flag decides\n * nothing there. The page's binding was registered first, so a refusal on\n * the box arrived after the handler it was meant to stop. A capture\n * listener on an *ancestor* has no such tie: it always runs before any\n * listener on a descendant.\n *\n * It refuses only what is inside `content`. A control the page put in\n * `slListItemActions` is the page's own to disable, which is the rule\n * `card` states for the same shape.\n */\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const refuse = (event: Event) => {\n if (!this.blocked()) return;\n const target = event.target as Element | null;\n if (target?.closest('[data-part=\"content\"]') == null) return;\n event.preventDefault();\n event.stopImmediatePropagation();\n };\n\n host.addEventListener('click', refuse, { capture: true });\n inject(DestroyRef).onDestroy(() =>\n host.removeEventListener('click', refuse, { capture: true }),\n );\n }\n\n protected readonly ariaCurrent = computed(() => {\n if (this.writtenCurrent !== null) return this.writtenCurrent;\n const current = this.current();\n if (current === false) return null;\n return current === true ? 'true' : current;\n });\n}\n","import { isDevMode } from '@angular/core';\n\n/** Provided by `slListItemContent` for the text parts inside it. */\nexport abstract class SlListItemBox {}\n/** Provided by `slListItemBody`, so a box written inside it can say so. */\nexport abstract class SlListItemBodyScope {}\n\nconst warned = new Set<string>();\n\n/**\n * In development, one `console.error` per part the first time it is written\n * where the stylesheet cannot lay it out. The check reads the injector, not\n * the DOM; a production build drops it.\n */\nexport function warnNesting(part: string, misplaced: boolean, message: string): void {\n if (!isDevMode() || !misplaced || warned.has(part)) return;\n warned.add(part);\n console.error(message);\n}\n","import { computed, Directive, ElementRef, forwardRef, inject } from '@angular/core';\n\nimport { SlListItem } from './list-item';\nimport { SlListItemBodyScope, SlListItemBox, warnNesting } from './list-item-nesting';\n\n/**\n * The box that is read, and sometimes activated. One directive on the element\n * the page wrote, which is what this ecosystem composes with: `<a\n * slListItemContent [routerLink]>` is a real destination and `<button\n * slListItemContent>` a real command, and the router link, the form ownership\n * and the modified click a browser gives an anchor all stay the page's.\n *\n * React exports three components instead, because there the component owns the\n * tag and a string that picked between three accessibility trees would turn a\n * typo into a `div` no reader can reach. Both bindings reach the same tree.\n *\n * How an interaction is refused depends on the element, because the platform\n * gives each element a different way to say so:\n *\n * - a `button` takes the native `disabled`, which removes it from the tab order\n * and stops the activation at the platform;\n * - an `a` takes `aria-disabled=\"true\"` and keeps its destination, because that\n * attribute means perceivable but not operable and leaves the element\n * focusable — a reader can still reach the row and hear why it is\n * unavailable. The activation is refused by `SlListItem`, which is also the\n * only place the refusal can be made to run first;\n * - anything else takes neither, and any control the page put in\n * `slListItemActions` is the page's own to disable.\n */\n@Directive({\n selector: '[slListItemContent]',\n standalone: true,\n exportAs: 'slListItemContent',\n providers: [{ provide: SlListItemBox, useExisting: forwardRef(() => SlListItemContent) }],\n host: {\n 'data-part': 'content',\n 'data-part-content': '',\n '[attr.disabled]': 'nativeDisabled()',\n '[attr.aria-disabled]': 'ariaDisabled()',\n '[attr.aria-busy]': \"loading() ? 'true' : null\",\n },\n})\nexport class SlListItemContent {\n private readonly row = inject(SlListItem, { optional: true });\n private readonly tag = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement.tagName;\n\n constructor() {\n warnNesting(\n 'slListItemContent',\n inject(SlListItemBodyScope, { optional: true, skipSelf: true }) !== null,\n 'slListItemContent must not be inside slListItemBody; slListItemBody goes inside slListItemContent',\n );\n }\n\n readonly loading = computed(() => this.row?.loading() ?? false);\n\n private readonly blocked = computed(() => this.row?.blocked() ?? false);\n\n protected readonly nativeDisabled = computed(() =>\n this.tag === 'BUTTON' && this.blocked() ? '' : null,\n );\n\n protected readonly ariaDisabled = computed(() =>\n this.tag === 'A' && this.blocked() ? 'true' : null,\n );\n}\n","import { Directive, forwardRef, inject } from '@angular/core';\n\nimport { SlListItemBodyScope, SlListItemBox, warnNesting } from './list-item-nesting';\n\n/** A text part outside the box, which the stylesheet does not lay out. */\nfunction checkInsideBox(part: string): void {\n warnNesting(\n part,\n inject(SlListItemBox, { optional: true }) === null,\n `${part} must be inside slListItemContent`,\n );\n}\n\n/**\n * The leading column: an icon, an avatar, a `slCheckbox`. The column is the\n * control glyph's own width, so whatever stands in it lands on the same line as\n * every other row's.\n *\n * It is the slot and not the control. A row that drew its own check would be a\n * second answer to the question `checkbox` already owns, and a chooser here is\n * also what announces a selection the row only paints.\n */\n@Directive({\n selector: '[slListItemStart]',\n standalone: true,\n exportAs: 'slListItemStart',\n host: { 'data-part': 'start', 'data-part-start': '' },\n})\nexport class SlListItemStart {}\n\n/** The text column, and the one box in the row that may shrink. */\n@Directive({\n selector: '[slListItemBody]',\n standalone: true,\n exportAs: 'slListItemBody',\n providers: [{ provide: SlListItemBodyScope, useExisting: forwardRef(() => SlListItemBody) }],\n host: { 'data-part': 'body', 'data-part-body': '' },\n})\nexport class SlListItemBody {\n constructor() {\n checkInsideBox('slListItemBody');\n }\n}\n\n/**\n * The title. It clips under `truncate`, isolates its own direction so a title\n * in another script leaves the row around it alone, and breaks a single\n * unbroken token — a URL, a commit hash — rather than pushing the metadata out.\n */\n@Directive({\n selector: '[slListItemLabel]',\n standalone: true,\n exportAs: 'slListItemLabel',\n host: { 'data-part': 'label', 'data-part-label': '' },\n})\nexport class SlListItemLabel {\n constructor() {\n checkInsideBox('slListItemLabel');\n }\n}\n\n/** The lines under the title. They clip with it, never instead of it. */\n@Directive({\n selector: '[slListItemDescription]',\n standalone: true,\n exportAs: 'slListItemDescription',\n host: { 'data-part': 'description', 'data-part-description': '' },\n})\nexport class SlListItemDescription {\n constructor() {\n checkInsideBox('slListItemDescription');\n }\n}\n\n/**\n * Trailing metadata that is part of what the row says — a timestamp, a count, a\n * `slBadge`. It is inside the box, so it is part of the row's own name for a\n * reader and part of its target for a pointer. Anything that acts is\n * `slListItemActions`.\n */\n@Directive({\n selector: '[slListItemEnd]',\n standalone: true,\n exportAs: 'slListItemEnd',\n host: { 'data-part': 'end', 'data-part-end': '' },\n})\nexport class SlListItemEnd {}\n\n/**\n * Independent targets, and a **sibling** of the box rather than its child.\n * Interactive content may not nest inside `a` or `button`, so a row that\n * navigates and also deletes has to put its two controls side by side. Every\n * surveyed implementation lets a consumer nest them instead and produces HTML\n * no browser can make focusable.\n */\n@Directive({\n selector: '[slListItemActions]',\n standalone: true,\n exportAs: 'slListItemActions',\n host: { 'data-part': 'actions', 'data-part-actions': '' },\n})\nexport class SlListItemActions {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA6BA,MAAM,QAAQ,GAAqB;AACjC,IAAA,KAAK,EAA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A,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;;;ACpGD;;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","/**\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,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,7 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, inject, Injectable, input, booleanAttribute, HostAttributeToken, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, signal, Directive } from '@angular/core';
3
3
 
4
- const FALLBACK = { inset: false, marker: 'none', size: 'md', variant: 'plain' };
4
+ const FALLBACK = {
5
+ fill: 'row',
6
+ inset: false,
7
+ marker: 'none',
8
+ size: 'md',
9
+ variant: 'plain',
10
+ };
5
11
  const LIST_DEFAULTS = new InjectionToken('slotted list defaults', {
6
12
  providedIn: 'root',
7
13
  factory: () => FALLBACK,
@@ -16,6 +22,7 @@ function provideListDefaults(defaults) {
16
22
  return {
17
23
  provide: LIST_DEFAULTS,
18
24
  useFactory: () => ({
25
+ fill: defaults.fill ?? FALLBACK.fill,
19
26
  inset: defaults.inset ?? FALLBACK.inset,
20
27
  marker: defaults.marker ?? FALLBACK.marker,
21
28
  size: defaults.size ?? FALLBACK.size,
@@ -78,6 +85,12 @@ class SlList {
78
85
  /** What is painted in the marker column. Falls back to the injected default. */
79
86
  marker = input(/* @ts-ignore */
80
87
  ...(ngDevMode ? [undefined, { debugName: "marker" }] : /* istanbul ignore next */ []));
88
+ /**
89
+ * How a row's grounds are drawn: edge to edge (`row`) or as a rounded tile
90
+ * inside a gutter (`inset`). Falls back to the injected default.
91
+ */
92
+ fill = input(/* @ts-ignore */
93
+ ...(ngDevMode ? [undefined, { debugName: "fill" }] : /* istanbul ignore next */ []));
81
94
  /**
82
95
  * Takes the rows' inline padding away, for a list inside a box that already
83
96
  * pads its own content. The rule and the fill still run edge to edge.
@@ -102,6 +115,8 @@ class SlList {
102
115
  ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
103
116
  resolvedMarker = computed(() => this.marker() ?? this.defaults.marker, /* @ts-ignore */
104
117
  ...(ngDevMode ? [{ debugName: "resolvedMarker" }] : /* istanbul ignore next */ []));
118
+ resolvedFill = computed(() => this.fill() ?? this.defaults.fill, /* @ts-ignore */
119
+ ...(ngDevMode ? [{ debugName: "resolvedFill" }] : /* istanbul ignore next */ []));
105
120
  /**
106
121
  * Read by every row under this set, and by the row's own input first. The
107
122
  * input stays `undefined` until it is written, so a list that states
@@ -111,7 +126,7 @@ class SlList {
111
126
  resolvedInset = computed(() => (this.inset() ?? this.defaults.inset) === true, /* @ts-ignore */
112
127
  ...(ngDevMode ? [{ debugName: "resolvedInset" }] : /* istanbul ignore next */ []));
113
128
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlList, deps: [], target: i0.ɵɵFactoryTarget.Component });
114
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlList, isStandalone: true, selector: "ul[slList], ol[slList]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "list", "data-ui-list": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.role": "role()", "attr.data-variant": "resolvedVariant()", "attr.data-size": "resolvedSize()", "attr.data-marker": "resolvedMarker()", "attr.data-inset": "resolvedInset() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.aria-busy": "loading() ? 'true' : null" } }, exportAs: ["slList"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@layer slotted.components{[data-ui-list][data-part-root],[data-ui-list] [data-part-section-list]{counter-reset:slotted-list-item;display:flex;flex-direction:column;list-style:none;margin-block:0;margin-inline:0;min-inline-size:0;padding-inline:0}[data-ui-list][data-part-root]{--_gap: var(--slotted-list-gap, var(--slotted-space-3, .375rem));--_frame-color: var(--slotted-list-border-color, var(--slotted-border-subtle, ButtonBorder));--_frame-width: var(--slotted-list-border-width, var(--slotted-border-width-thin, 1px));--_frame-radius: var(--slotted-list-radius, var(--slotted-radius-md, 6px));--_surface: var(--slotted-list-background, var(--slotted-surface, Canvas));--_section-color: var(--slotted-list-section-color, var(--slotted-text-muted, GrayText));--_section-font-size: var( --slotted-list-section-font-size, var(--slotted-font-size-xs, .75rem) );--_section-weight: var( --slotted-list-section-font-weight, var(--slotted-font-weight-semibold, 600) );--_section-inset-block: var( --slotted-list-section-padding-block, var(--slotted-space-4, .5rem) );--_row-inset-inline: var( --slotted-list-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_empty-color: var(--slotted-list-empty-color, var(--slotted-text-muted, GrayText));--_empty-inset: var(--slotted-list-empty-padding, var(--slotted-space-8, 1.5rem))}[data-ui-list][data-part-root][data-size=sm]{--_gap: var(--slotted-list-gap-sm, var(--slotted-space-2, .25rem));--_section-inset-block: var( --slotted-list-section-padding-block-sm, var(--slotted-space-3, .375rem) );--_row-inset-inline: var( --slotted-list-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_empty-inset: var(--slotted-list-empty-padding-sm, var(--slotted-space-6, 1rem))}[data-ui-list][data-part-root][data-size=lg]{--_gap: var(--slotted-list-gap-lg, var(--slotted-space-4, .5rem));--_section-inset-block: var( --slotted-list-section-padding-block-lg, var(--slotted-space-5, .75rem) );--_row-inset-inline: var( --slotted-list-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_empty-inset: var(--slotted-list-empty-padding-lg, var(--slotted-space-9, 2rem))}[data-ui-list][data-part-root][data-variant=framed]{background-color:var(--_surface);border:var(--_frame-width) solid var(--_frame-color);border-radius:var(--_frame-radius);overflow:clip}[data-ui-list][data-part-root][data-variant=separated]{row-gap:var(--_gap)}[data-ui-list] [data-part-section]{display:flex;flex-direction:column;min-inline-size:0}[data-ui-list][data-variant=separated] [data-part-section],[data-ui-list][data-variant=separated] [data-part-section-list]{row-gap:var(--_gap)}[data-ui-list] [data-part-section-label]{color:var(--_section-color);font-size:var(--_section-font-size);font-weight:var(--_section-weight);letter-spacing:var(--slotted-list-section-letter-spacing, 0);line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;padding-block:var(--_section-inset-block);padding-inline:var(--_row-inset-inline)}[data-ui-list][data-inset] [data-part-section-label],[data-ui-list][data-inset] [data-part-empty]{padding-inline:0}[data-ui-list] [data-part-section-label]:has(>[data-part-section-end]){align-items:baseline;display:flex;gap:var(--slotted-space-4, .5rem);justify-content:space-between}[data-ui-list] [data-part-section-end]{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui-list] [data-part-section-label][data-variant=ruled]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--slotted-list-section-rule-color, var(--slotted-border-subtle, GrayText));color:var(--slotted-list-section-ruled-color, var(--slotted-text, CanvasText));font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-list] [data-part-section-label][data-sticky]{background-color:var(--_surface);inset-block-start:0;position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-list] [data-part-empty]{align-items:center;color:var(--_empty-color);display:flex;flex-direction:column;justify-content:center;min-inline-size:0;padding-block:var(--_empty-inset);padding-inline:var(--_row-inset-inline);text-align:center}[data-ui-list][data-part-root][data-loading]{cursor:progress}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
129
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlList, isStandalone: true, selector: "ul[slList], ol[slList]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, inset: { classPropertyName: "inset", publicName: "inset", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "list", "data-ui-list": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.role": "role()", "attr.data-variant": "resolvedVariant()", "attr.data-size": "resolvedSize()", "attr.data-marker": "resolvedMarker()", "attr.data-fill": "resolvedFill()", "attr.data-inset": "resolvedInset() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.aria-busy": "loading() ? 'true' : null" } }, exportAs: ["slList"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@layer slotted.components{[data-ui-list][data-part-root],[data-ui-list] [data-part-section-list]{counter-reset:slotted-list-item;display:flex;flex-direction:column;list-style:none;margin-block:0;margin-inline:0;min-inline-size:0;padding-inline:0}[data-ui-list][data-part-root]{--_gap: var(--slotted-list-gap, var(--slotted-space-3, .375rem));--_frame-color: var(--slotted-list-border-color, var(--slotted-border-subtle, ButtonBorder));--_frame-width: var(--slotted-list-border-width, var(--slotted-border-width-thin, 1px));--_frame-radius: var(--slotted-list-radius, var(--slotted-radius-md, 6px));--_surface: var(--slotted-list-background, var(--slotted-surface, Canvas));--_section-background: var(--slotted-list-section-background, var(--slotted-surface, Canvas));--_section-color: var(--slotted-list-section-color, var(--slotted-text-muted, GrayText));--_section-font-size: var( --slotted-list-section-font-size, var(--slotted-font-size-xs, .75rem) );--_section-weight: var( --slotted-list-section-font-weight, var(--slotted-font-weight-semibold, 600) );--_section-inset-block: var( --slotted-list-section-padding-block, var(--slotted-space-4, .5rem) );--_row-inset-inline: var( --slotted-list-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_empty-color: var(--slotted-list-empty-color, var(--slotted-text-muted, GrayText));--_empty-inset: var(--slotted-list-empty-padding, var(--slotted-space-8, 1.5rem))}[data-ui-list][data-part-root][data-size=sm]{--_gap: var(--slotted-list-gap-sm, var(--slotted-space-2, .25rem));--_section-inset-block: var( --slotted-list-section-padding-block-sm, var(--slotted-space-3, .375rem) );--_row-inset-inline: var( --slotted-list-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_empty-inset: var(--slotted-list-empty-padding-sm, var(--slotted-space-6, 1rem))}[data-ui-list][data-part-root][data-size=lg]{--_gap: var(--slotted-list-gap-lg, var(--slotted-space-4, .5rem));--_section-inset-block: var( --slotted-list-section-padding-block-lg, var(--slotted-space-5, .75rem) );--_row-inset-inline: var( --slotted-list-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_empty-inset: var(--slotted-list-empty-padding-lg, var(--slotted-space-9, 2rem))}[data-ui-list][data-part-root][data-variant=framed]{background-color:var(--_surface);border:var(--_frame-width) solid var(--_frame-color);border-radius:var(--_frame-radius);overflow:clip}[data-ui-list][data-part-root][data-variant=separated]{row-gap:var(--_gap)}[data-ui-list][data-part-root]:is([data-variant=framed],[data-variant=separated]){--_section-background: var(--slotted-list-section-background, var(--_surface))}[data-ui-list] [data-part-section]{display:flex;flex-direction:column;min-inline-size:0}[data-ui-list][data-variant=separated] [data-part-section],[data-ui-list][data-variant=separated] [data-part-section-list]{row-gap:var(--_gap)}[data-ui-list] [data-part-section-label]{color:var(--_section-color);font-size:var(--_section-font-size);font-weight:var(--_section-weight);letter-spacing:var(--slotted-list-section-letter-spacing, 0);line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;padding-block:var(--_section-inset-block);padding-inline:var(--_row-inset-inline)}[data-ui-list][data-inset] [data-part-section-label],[data-ui-list][data-inset] [data-part-empty]{padding-inline:0}[data-ui-list] [data-part-section-label]:has(>[data-part-section-end]){align-items:baseline;display:flex;gap:var(--slotted-space-4, .5rem);justify-content:space-between}[data-ui-list] [data-part-section-end]{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui-list] [data-part-section-label][data-variant=ruled]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--slotted-list-section-rule-color, var(--slotted-border-subtle, GrayText));color:var(--slotted-list-section-ruled-color, var(--slotted-text, CanvasText));font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-list] [data-part-section-label][data-sticky]{background-color:var(--_section-background);inset-block-start:0;position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-list] [data-part-empty]{align-items:center;color:var(--_empty-color);display:flex;flex-direction:column;justify-content:center;min-inline-size:0;padding-block:var(--_empty-inset);padding-inline:var(--_row-inset-inline);text-align:center}[data-ui-list][data-part-root][data-loading]{cursor:progress}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
115
130
  }
116
131
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlList, decorators: [{
117
132
  type: Component,
@@ -124,11 +139,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
124
139
  '[attr.data-variant]': 'resolvedVariant()',
125
140
  '[attr.data-size]': 'resolvedSize()',
126
141
  '[attr.data-marker]': 'resolvedMarker()',
142
+ '[attr.data-fill]': 'resolvedFill()',
127
143
  '[attr.data-inset]': "resolvedInset() ? '' : null",
128
144
  '[attr.data-loading]': "loading() ? '' : null",
129
145
  '[attr.aria-busy]': "loading() ? 'true' : null",
130
- }, styles: ["@layer slotted.components{[data-ui-list][data-part-root],[data-ui-list] [data-part-section-list]{counter-reset:slotted-list-item;display:flex;flex-direction:column;list-style:none;margin-block:0;margin-inline:0;min-inline-size:0;padding-inline:0}[data-ui-list][data-part-root]{--_gap: var(--slotted-list-gap, var(--slotted-space-3, .375rem));--_frame-color: var(--slotted-list-border-color, var(--slotted-border-subtle, ButtonBorder));--_frame-width: var(--slotted-list-border-width, var(--slotted-border-width-thin, 1px));--_frame-radius: var(--slotted-list-radius, var(--slotted-radius-md, 6px));--_surface: var(--slotted-list-background, var(--slotted-surface, Canvas));--_section-color: var(--slotted-list-section-color, var(--slotted-text-muted, GrayText));--_section-font-size: var( --slotted-list-section-font-size, var(--slotted-font-size-xs, .75rem) );--_section-weight: var( --slotted-list-section-font-weight, var(--slotted-font-weight-semibold, 600) );--_section-inset-block: var( --slotted-list-section-padding-block, var(--slotted-space-4, .5rem) );--_row-inset-inline: var( --slotted-list-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_empty-color: var(--slotted-list-empty-color, var(--slotted-text-muted, GrayText));--_empty-inset: var(--slotted-list-empty-padding, var(--slotted-space-8, 1.5rem))}[data-ui-list][data-part-root][data-size=sm]{--_gap: var(--slotted-list-gap-sm, var(--slotted-space-2, .25rem));--_section-inset-block: var( --slotted-list-section-padding-block-sm, var(--slotted-space-3, .375rem) );--_row-inset-inline: var( --slotted-list-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_empty-inset: var(--slotted-list-empty-padding-sm, var(--slotted-space-6, 1rem))}[data-ui-list][data-part-root][data-size=lg]{--_gap: var(--slotted-list-gap-lg, var(--slotted-space-4, .5rem));--_section-inset-block: var( --slotted-list-section-padding-block-lg, var(--slotted-space-5, .75rem) );--_row-inset-inline: var( --slotted-list-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_empty-inset: var(--slotted-list-empty-padding-lg, var(--slotted-space-9, 2rem))}[data-ui-list][data-part-root][data-variant=framed]{background-color:var(--_surface);border:var(--_frame-width) solid var(--_frame-color);border-radius:var(--_frame-radius);overflow:clip}[data-ui-list][data-part-root][data-variant=separated]{row-gap:var(--_gap)}[data-ui-list] [data-part-section]{display:flex;flex-direction:column;min-inline-size:0}[data-ui-list][data-variant=separated] [data-part-section],[data-ui-list][data-variant=separated] [data-part-section-list]{row-gap:var(--_gap)}[data-ui-list] [data-part-section-label]{color:var(--_section-color);font-size:var(--_section-font-size);font-weight:var(--_section-weight);letter-spacing:var(--slotted-list-section-letter-spacing, 0);line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;padding-block:var(--_section-inset-block);padding-inline:var(--_row-inset-inline)}[data-ui-list][data-inset] [data-part-section-label],[data-ui-list][data-inset] [data-part-empty]{padding-inline:0}[data-ui-list] [data-part-section-label]:has(>[data-part-section-end]){align-items:baseline;display:flex;gap:var(--slotted-space-4, .5rem);justify-content:space-between}[data-ui-list] [data-part-section-end]{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui-list] [data-part-section-label][data-variant=ruled]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--slotted-list-section-rule-color, var(--slotted-border-subtle, GrayText));color:var(--slotted-list-section-ruled-color, var(--slotted-text, CanvasText));font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-list] [data-part-section-label][data-sticky]{background-color:var(--_surface);inset-block-start:0;position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-list] [data-part-empty]{align-items:center;color:var(--_empty-color);display:flex;flex-direction:column;justify-content:center;min-inline-size:0;padding-block:var(--_empty-inset);padding-inline:var(--_row-inset-inline);text-align:center}[data-ui-list][data-part-root][data-loading]{cursor:progress}}\n"] }]
131
- }], 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 }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }] } });
146
+ }, styles: ["@layer slotted.components{[data-ui-list][data-part-root],[data-ui-list] [data-part-section-list]{counter-reset:slotted-list-item;display:flex;flex-direction:column;list-style:none;margin-block:0;margin-inline:0;min-inline-size:0;padding-inline:0}[data-ui-list][data-part-root]{--_gap: var(--slotted-list-gap, var(--slotted-space-3, .375rem));--_frame-color: var(--slotted-list-border-color, var(--slotted-border-subtle, ButtonBorder));--_frame-width: var(--slotted-list-border-width, var(--slotted-border-width-thin, 1px));--_frame-radius: var(--slotted-list-radius, var(--slotted-radius-md, 6px));--_surface: var(--slotted-list-background, var(--slotted-surface, Canvas));--_section-background: var(--slotted-list-section-background, var(--slotted-surface, Canvas));--_section-color: var(--slotted-list-section-color, var(--slotted-text-muted, GrayText));--_section-font-size: var( --slotted-list-section-font-size, var(--slotted-font-size-xs, .75rem) );--_section-weight: var( --slotted-list-section-font-weight, var(--slotted-font-weight-semibold, 600) );--_section-inset-block: var( --slotted-list-section-padding-block, var(--slotted-space-4, .5rem) );--_row-inset-inline: var( --slotted-list-padding-inline, var(--slotted-control-padding-inline-md, 13px) );--_empty-color: var(--slotted-list-empty-color, var(--slotted-text-muted, GrayText));--_empty-inset: var(--slotted-list-empty-padding, var(--slotted-space-8, 1.5rem))}[data-ui-list][data-part-root][data-size=sm]{--_gap: var(--slotted-list-gap-sm, var(--slotted-space-2, .25rem));--_section-inset-block: var( --slotted-list-section-padding-block-sm, var(--slotted-space-3, .375rem) );--_row-inset-inline: var( --slotted-list-padding-inline-sm, var(--slotted-control-padding-inline-sm, 10px) );--_empty-inset: var(--slotted-list-empty-padding-sm, var(--slotted-space-6, 1rem))}[data-ui-list][data-part-root][data-size=lg]{--_gap: var(--slotted-list-gap-lg, var(--slotted-space-4, .5rem));--_section-inset-block: var( --slotted-list-section-padding-block-lg, var(--slotted-space-5, .75rem) );--_row-inset-inline: var( --slotted-list-padding-inline-lg, var(--slotted-control-padding-inline-lg, 16px) );--_empty-inset: var(--slotted-list-empty-padding-lg, var(--slotted-space-9, 2rem))}[data-ui-list][data-part-root][data-variant=framed]{background-color:var(--_surface);border:var(--_frame-width) solid var(--_frame-color);border-radius:var(--_frame-radius);overflow:clip}[data-ui-list][data-part-root][data-variant=separated]{row-gap:var(--_gap)}[data-ui-list][data-part-root]:is([data-variant=framed],[data-variant=separated]){--_section-background: var(--slotted-list-section-background, var(--_surface))}[data-ui-list] [data-part-section]{display:flex;flex-direction:column;min-inline-size:0}[data-ui-list][data-variant=separated] [data-part-section],[data-ui-list][data-variant=separated] [data-part-section-list]{row-gap:var(--_gap)}[data-ui-list] [data-part-section-label]{color:var(--_section-color);font-size:var(--_section-font-size);font-weight:var(--_section-weight);letter-spacing:var(--slotted-list-section-letter-spacing, 0);line-height:var(--slotted-line-height-sm, 1.45);margin-block:0;min-inline-size:0;padding-block:var(--_section-inset-block);padding-inline:var(--_row-inset-inline)}[data-ui-list][data-inset] [data-part-section-label],[data-ui-list][data-inset] [data-part-empty]{padding-inline:0}[data-ui-list] [data-part-section-label]:has(>[data-part-section-end]){align-items:baseline;display:flex;gap:var(--slotted-space-4, .5rem);justify-content:space-between}[data-ui-list] [data-part-section-end]{flex:none;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui-list] [data-part-section-label][data-variant=ruled]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--slotted-list-section-rule-color, var(--slotted-border-subtle, GrayText));color:var(--slotted-list-section-ruled-color, var(--slotted-text, CanvasText));font-weight:var(--slotted-font-weight-medium, 500)}[data-ui-list] [data-part-section-label][data-sticky]{background-color:var(--_section-background);inset-block-start:0;position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-list] [data-part-empty]{align-items:center;color:var(--_empty-color);display:flex;flex-direction:column;justify-content:center;min-inline-size:0;padding-block:var(--_empty-inset);padding-inline:var(--_row-inset-inline);text-align:center}[data-ui-list][data-part-root][data-loading]{cursor:progress}}\n"] }]
147
+ }], 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 }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], inset: [{ type: i0.Input, args: [{ isSignal: true, alias: "inset", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }] } });
132
148
 
133
149
  class SlListSection {
134
150
  /**