@semantic-components/ui 0.68.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/esm2022/lib/components/accordion/accordion-body.js +3 -3
  2. package/esm2022/lib/components/accordion/accordion-content.js +3 -3
  3. package/esm2022/lib/components/accordion/accordion-group.js +3 -3
  4. package/esm2022/lib/components/accordion/accordion-header.js +3 -3
  5. package/esm2022/lib/components/accordion/accordion-item.js +3 -3
  6. package/esm2022/lib/components/accordion/accordion-panel.js +3 -3
  7. package/esm2022/lib/components/accordion/accordion-trigger.js +4 -4
  8. package/esm2022/lib/components/accordion/accordion-trigger.js.map +1 -1
  9. package/esm2022/lib/components/alert/alert-action.js +3 -3
  10. package/esm2022/lib/components/alert/alert-description.js +3 -3
  11. package/esm2022/lib/components/alert/alert-title.js +3 -3
  12. package/esm2022/lib/components/alert/alert.js +3 -3
  13. package/esm2022/lib/components/alert-dialog/alert-dialog-action.js +3 -3
  14. package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js +3 -3
  15. package/esm2022/lib/components/alert-dialog/alert-dialog-description.js +3 -3
  16. package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js +3 -3
  17. package/esm2022/lib/components/alert-dialog/alert-dialog-header.js +3 -3
  18. package/esm2022/lib/components/alert-dialog/alert-dialog-media.js +3 -3
  19. package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js +3 -3
  20. package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js +3 -3
  21. package/esm2022/lib/components/alert-dialog/alert-dialog-title.js +3 -3
  22. package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js +3 -3
  23. package/esm2022/lib/components/alert-dialog/alert-dialog.js +3 -3
  24. package/esm2022/lib/components/aspect-ratio/aspect-ratio.js +3 -3
  25. package/esm2022/lib/components/avatar/avatar-badge.js +3 -3
  26. package/esm2022/lib/components/avatar/avatar-fallback.js +3 -3
  27. package/esm2022/lib/components/avatar/avatar-group-count.js +3 -3
  28. package/esm2022/lib/components/avatar/avatar-group.js +3 -3
  29. package/esm2022/lib/components/avatar/avatar-image.js +3 -3
  30. package/esm2022/lib/components/avatar/avatar.js +3 -3
  31. package/esm2022/lib/components/backdrop/backdrop.js +3 -3
  32. package/esm2022/lib/components/badge/badge.js +3 -3
  33. package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js +4 -4
  34. package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +3 -3
  35. package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +3 -3
  36. package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +3 -3
  37. package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +3 -3
  38. package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +4 -4
  39. package/esm2022/lib/components/breadcrumb/breadcrumb.js +3 -3
  40. package/esm2022/lib/components/button/button.js +3 -3
  41. package/esm2022/lib/components/button-group/button-group-separator.js +3 -3
  42. package/esm2022/lib/components/button-group/button-group-text.js +3 -3
  43. package/esm2022/lib/components/button-group/button-group.js +3 -3
  44. package/esm2022/lib/components/calendar/calendar-day-view.js +4 -4
  45. package/esm2022/lib/components/calendar/calendar-header.js +4 -4
  46. package/esm2022/lib/components/calendar/calendar-header.js.map +1 -1
  47. package/esm2022/lib/components/calendar/calendar-month-view.js +4 -4
  48. package/esm2022/lib/components/calendar/calendar-year-view.js +4 -4
  49. package/esm2022/lib/components/calendar/calendar.js +3 -3
  50. package/esm2022/lib/components/card/card-action.js +3 -3
  51. package/esm2022/lib/components/card/card-body.js +3 -3
  52. package/esm2022/lib/components/card/card-description.js +3 -3
  53. package/esm2022/lib/components/card/card-footer.js +3 -3
  54. package/esm2022/lib/components/card/card-header.js +3 -3
  55. package/esm2022/lib/components/card/card-title.js +3 -3
  56. package/esm2022/lib/components/card/card.js +3 -3
  57. package/esm2022/lib/components/checkbox/checkbox-field.js +3 -3
  58. package/esm2022/lib/components/checkbox/checkbox-visual.js +4 -4
  59. package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -1
  60. package/esm2022/lib/components/checkbox/checkbox.js +3 -3
  61. package/esm2022/lib/components/collapsible/collapsible-body.js +3 -3
  62. package/esm2022/lib/components/collapsible/collapsible-content.js +3 -3
  63. package/esm2022/lib/components/collapsible/collapsible-panel.js +3 -3
  64. package/esm2022/lib/components/collapsible/collapsible-trigger.js +3 -3
  65. package/esm2022/lib/components/collapsible/collapsible.js +3 -3
  66. package/esm2022/lib/components/date-picker/date-picker.js +4 -4
  67. package/esm2022/lib/components/dialog/dialog-close.js +3 -3
  68. package/esm2022/lib/components/dialog/dialog-description.js +3 -3
  69. package/esm2022/lib/components/dialog/dialog-footer.js +3 -3
  70. package/esm2022/lib/components/dialog/dialog-header.js +3 -3
  71. package/esm2022/lib/components/dialog/dialog-portal.js +3 -3
  72. package/esm2022/lib/components/dialog/dialog-provider.js +3 -3
  73. package/esm2022/lib/components/dialog/dialog-title.js +3 -3
  74. package/esm2022/lib/components/dialog/dialog-trigger.js +3 -3
  75. package/esm2022/lib/components/dialog/dialog.js +3 -3
  76. package/esm2022/lib/components/drawer/drawer-close.js +3 -3
  77. package/esm2022/lib/components/drawer/drawer-description.js +3 -3
  78. package/esm2022/lib/components/drawer/drawer-footer.js +3 -3
  79. package/esm2022/lib/components/drawer/drawer-handle.js +3 -3
  80. package/esm2022/lib/components/drawer/drawer-header.js +3 -3
  81. package/esm2022/lib/components/drawer/drawer-portal.js +3 -3
  82. package/esm2022/lib/components/drawer/drawer-provider.js +3 -3
  83. package/esm2022/lib/components/drawer/drawer-title.js +3 -3
  84. package/esm2022/lib/components/drawer/drawer-trigger.js +3 -3
  85. package/esm2022/lib/components/drawer/drawer.js +3 -3
  86. package/esm2022/lib/components/empty/empty-body.js +3 -3
  87. package/esm2022/lib/components/empty/empty-description.js +3 -3
  88. package/esm2022/lib/components/empty/empty-header.js +3 -3
  89. package/esm2022/lib/components/empty/empty-media.js +3 -3
  90. package/esm2022/lib/components/empty/empty-title.js +3 -3
  91. package/esm2022/lib/components/empty/empty.js +3 -3
  92. package/esm2022/lib/components/field/field-body.js +3 -3
  93. package/esm2022/lib/components/field/field-description.js +3 -3
  94. package/esm2022/lib/components/field/field-error.js +3 -3
  95. package/esm2022/lib/components/field/field-group.js +3 -3
  96. package/esm2022/lib/components/field/field-separator.js +3 -3
  97. package/esm2022/lib/components/field/field-title.js +3 -3
  98. package/esm2022/lib/components/field/field.js +3 -3
  99. package/esm2022/lib/components/field/fieldset.js +3 -3
  100. package/esm2022/lib/components/field/legend.js +3 -3
  101. package/esm2022/lib/components/file-upload/file-upload-dropzone.js +3 -3
  102. package/esm2022/lib/components/file-upload/file-upload-item-delete.js +3 -3
  103. package/esm2022/lib/components/file-upload/file-upload-item-name.js +3 -3
  104. package/esm2022/lib/components/file-upload/file-upload-item-preview.js +3 -3
  105. package/esm2022/lib/components/file-upload/file-upload-item-progress.js +3 -3
  106. package/esm2022/lib/components/file-upload/file-upload-item-size.js +3 -3
  107. package/esm2022/lib/components/file-upload/file-upload-item.js +3 -3
  108. package/esm2022/lib/components/file-upload/file-upload-list.js +3 -3
  109. package/esm2022/lib/components/file-upload/file-upload-trigger.js +3 -3
  110. package/esm2022/lib/components/file-upload/file-upload.js +3 -3
  111. package/esm2022/lib/components/hover-card/hover-card-portal.js +3 -3
  112. package/esm2022/lib/components/hover-card/hover-card-provider.js +3 -3
  113. package/esm2022/lib/components/hover-card/hover-card-trigger.js +3 -3
  114. package/esm2022/lib/components/hover-card/hover-card.js +3 -3
  115. package/esm2022/lib/components/input/input.js +3 -3
  116. package/esm2022/lib/components/input-group/input-group-addon.js +3 -3
  117. package/esm2022/lib/components/input-group/input-group-button.js +3 -3
  118. package/esm2022/lib/components/input-group/input-group-text.js +3 -3
  119. package/esm2022/lib/components/input-group/input-group.js +3 -3
  120. package/esm2022/lib/components/item/item-actions.js +3 -3
  121. package/esm2022/lib/components/item/item-body.js +3 -3
  122. package/esm2022/lib/components/item/item-description.js +3 -3
  123. package/esm2022/lib/components/item/item-footer.js +3 -3
  124. package/esm2022/lib/components/item/item-group.js +3 -3
  125. package/esm2022/lib/components/item/item-header.js +3 -3
  126. package/esm2022/lib/components/item/item-media.js +3 -3
  127. package/esm2022/lib/components/item/item-separator.js +3 -3
  128. package/esm2022/lib/components/item/item-title.js +3 -3
  129. package/esm2022/lib/components/item/item.js +3 -3
  130. package/esm2022/lib/components/kbd/kbd-group.js +3 -3
  131. package/esm2022/lib/components/kbd/kbd.js +3 -3
  132. package/esm2022/lib/components/label/label.js +3 -3
  133. package/esm2022/lib/components/link/link.js +3 -3
  134. package/esm2022/lib/components/menu/menu-content.js +3 -3
  135. package/esm2022/lib/components/menu/menu-item.js +3 -3
  136. package/esm2022/lib/components/menu/menu-portal.js +3 -3
  137. package/esm2022/lib/components/menu/menu-provider.js +3 -3
  138. package/esm2022/lib/components/menu/menu-separator.js +3 -3
  139. package/esm2022/lib/components/menu/menu-trigger.js +3 -3
  140. package/esm2022/lib/components/menu/menu.js +4 -4
  141. package/esm2022/lib/components/menu/menu.js.map +1 -1
  142. package/esm2022/lib/components/menu-bar/menu-bar-item.js +3 -3
  143. package/esm2022/lib/components/menu-bar/menu-bar.js +3 -3
  144. package/esm2022/lib/components/native-select/native-select-container.js +3 -3
  145. package/esm2022/lib/components/native-select/native-select-icon.js +3 -3
  146. package/esm2022/lib/components/native-select/native-select-optgroup.js +3 -3
  147. package/esm2022/lib/components/native-select/native-select-option.js +3 -3
  148. package/esm2022/lib/components/native-select/native-select.js +3 -3
  149. package/esm2022/lib/components/navigation-menu/navigation-menu-content.js +3 -3
  150. package/esm2022/lib/components/navigation-menu/navigation-menu-grid.js +3 -3
  151. package/esm2022/lib/components/navigation-menu/navigation-menu-item.js +3 -3
  152. package/esm2022/lib/components/navigation-menu/navigation-menu-link.js +3 -3
  153. package/esm2022/lib/components/navigation-menu/navigation-menu-list.js +3 -3
  154. package/esm2022/lib/components/navigation-menu/navigation-menu-portal.js +3 -3
  155. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger-icon.js +3 -3
  156. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js +4 -4
  157. package/esm2022/lib/components/navigation-menu/navigation-menu-trigger.js.map +1 -1
  158. package/esm2022/lib/components/navigation-menu/navigation-menu.js +3 -3
  159. package/esm2022/lib/components/pagination/pagination-ellipsis.js +3 -3
  160. package/esm2022/lib/components/pagination/pagination-first.js +3 -3
  161. package/esm2022/lib/components/pagination/pagination-item.js +3 -3
  162. package/esm2022/lib/components/pagination/pagination-last.js +3 -3
  163. package/esm2022/lib/components/pagination/pagination-link.js +3 -3
  164. package/esm2022/lib/components/pagination/pagination-list.js +3 -3
  165. package/esm2022/lib/components/pagination/pagination-next.js +3 -3
  166. package/esm2022/lib/components/pagination/pagination-page-size-select.js +3 -3
  167. package/esm2022/lib/components/pagination/pagination-previous.js +3 -3
  168. package/esm2022/lib/components/pagination/pagination.js +3 -3
  169. package/esm2022/lib/components/popover/popover-close.js +3 -3
  170. package/esm2022/lib/components/popover/popover-description.js +3 -3
  171. package/esm2022/lib/components/popover/popover-header.js +3 -3
  172. package/esm2022/lib/components/popover/popover-portal.js +3 -3
  173. package/esm2022/lib/components/popover/popover-provider.js +3 -3
  174. package/esm2022/lib/components/popover/popover-title.js +3 -3
  175. package/esm2022/lib/components/popover/popover-trigger.js +3 -3
  176. package/esm2022/lib/components/popover/popover.js +3 -3
  177. package/esm2022/lib/components/progress/progress-indicator.js +3 -3
  178. package/esm2022/lib/components/progress/progress.js +3 -3
  179. package/esm2022/lib/components/radio-group/radio-field.js +3 -3
  180. package/esm2022/lib/components/radio-group/radio-group.js +3 -3
  181. package/esm2022/lib/components/radio-group/radio.js +3 -3
  182. package/esm2022/lib/components/range-slider/range-slider-max.js +3 -3
  183. package/esm2022/lib/components/range-slider/range-slider-min.js +3 -3
  184. package/esm2022/lib/components/range-slider/range-slider.js +3 -3
  185. package/esm2022/lib/components/scroll-area/scroll-area.js +3 -3
  186. package/esm2022/lib/components/select/index.js +1 -1
  187. package/esm2022/lib/components/select/index.js.map +1 -1
  188. package/esm2022/lib/components/select/select-group-label.js +3 -3
  189. package/esm2022/lib/components/select/select-group.js +3 -3
  190. package/esm2022/lib/components/select/select-input.js +3 -3
  191. package/esm2022/lib/components/select/select-item-icon.js +3 -3
  192. package/esm2022/lib/components/select/select-item-indicator.js +3 -3
  193. package/esm2022/lib/components/select/select-item.js +6 -4
  194. package/esm2022/lib/components/select/select-item.js.map +1 -1
  195. package/esm2022/lib/components/select/{select-value.js → select-label.js} +7 -7
  196. package/esm2022/lib/components/select/select-label.js.map +1 -0
  197. package/esm2022/lib/components/select/select-list.js +11 -5
  198. package/esm2022/lib/components/select/select-list.js.map +1 -1
  199. package/esm2022/lib/components/select/select-popup.js +3 -3
  200. package/esm2022/lib/components/select/select-portal.js +3 -3
  201. package/esm2022/lib/components/select/select-separator.js +3 -3
  202. package/esm2022/lib/components/select/select-trigger-icon.js +3 -3
  203. package/esm2022/lib/components/select/select-trigger.js +7 -7
  204. package/esm2022/lib/components/select/select-trigger.js.map +1 -1
  205. package/esm2022/lib/components/select/select.js +19 -8
  206. package/esm2022/lib/components/select/select.js.map +1 -1
  207. package/esm2022/lib/components/separator/separator.js +3 -3
  208. package/esm2022/lib/components/sheet/sheet-close.js +3 -3
  209. package/esm2022/lib/components/sheet/sheet-description.js +3 -3
  210. package/esm2022/lib/components/sheet/sheet-footer.js +3 -3
  211. package/esm2022/lib/components/sheet/sheet-header.js +3 -3
  212. package/esm2022/lib/components/sheet/sheet-portal.js +3 -3
  213. package/esm2022/lib/components/sheet/sheet-provider.js +3 -3
  214. package/esm2022/lib/components/sheet/sheet-title.js +3 -3
  215. package/esm2022/lib/components/sheet/sheet-trigger.js +3 -3
  216. package/esm2022/lib/components/sheet/sheet.js +3 -3
  217. package/esm2022/lib/components/skeleton/skeleton.js +3 -3
  218. package/esm2022/lib/components/slider/slider.js +3 -3
  219. package/esm2022/lib/components/spinner/spinner.js +3 -3
  220. package/esm2022/lib/components/switch/switch-field.js +3 -3
  221. package/esm2022/lib/components/switch/switch-visual.js +3 -3
  222. package/esm2022/lib/components/switch/switch.js +3 -3
  223. package/esm2022/lib/components/table/table-body.js +3 -3
  224. package/esm2022/lib/components/table/table-caption.js +3 -3
  225. package/esm2022/lib/components/table/table-cell.js +3 -3
  226. package/esm2022/lib/components/table/table-footer.js +3 -3
  227. package/esm2022/lib/components/table/table-header-cell.js +3 -3
  228. package/esm2022/lib/components/table/table-header.js +3 -3
  229. package/esm2022/lib/components/table/table-row.js +3 -3
  230. package/esm2022/lib/components/table/table.js +3 -3
  231. package/esm2022/lib/components/tabs/tab-content.js +3 -3
  232. package/esm2022/lib/components/tabs/tab-list.js +3 -3
  233. package/esm2022/lib/components/tabs/tab-panel.js +3 -3
  234. package/esm2022/lib/components/tabs/tab.js +3 -3
  235. package/esm2022/lib/components/tabs/tabs.js +3 -3
  236. package/esm2022/lib/components/textarea/textarea.js +3 -3
  237. package/esm2022/lib/components/time-picker/time-picker-hours-input.js +3 -3
  238. package/esm2022/lib/components/time-picker/time-picker-input.js +3 -3
  239. package/esm2022/lib/components/time-picker/time-picker-minutes-input.js +3 -3
  240. package/esm2022/lib/components/time-picker/time-picker-period-am.js +3 -3
  241. package/esm2022/lib/components/time-picker/time-picker-period-pm.js +3 -3
  242. package/esm2022/lib/components/time-picker/time-picker-period.js +3 -3
  243. package/esm2022/lib/components/time-picker/time-picker-seconds-input.js +3 -3
  244. package/esm2022/lib/components/time-picker/time-picker-separator.js +3 -3
  245. package/esm2022/lib/components/time-picker/time-picker.js +3 -3
  246. package/esm2022/lib/components/toast/toast-action.js +3 -3
  247. package/esm2022/lib/components/toast/toast-close.js +3 -3
  248. package/esm2022/lib/components/toast/toast-description.js +3 -3
  249. package/esm2022/lib/components/toast/toast-stack.js +4 -4
  250. package/esm2022/lib/components/toast/toast-stack.js.map +1 -1
  251. package/esm2022/lib/components/toast/toast-title.js +3 -3
  252. package/esm2022/lib/components/toast/toast.js +3 -3
  253. package/esm2022/lib/components/toast/toaster.js +3 -3
  254. package/esm2022/lib/components/toggle/toggle.js +3 -3
  255. package/esm2022/lib/components/toggle-group/toggle-group-item.js +3 -3
  256. package/esm2022/lib/components/toggle-group/toggle-group.js +3 -3
  257. package/esm2022/lib/components/toolbar/toolbar-separator.js +3 -3
  258. package/esm2022/lib/components/toolbar/toolbar-widget-group.js +3 -3
  259. package/esm2022/lib/components/toolbar/toolbar-widget.js +3 -3
  260. package/esm2022/lib/components/toolbar/toolbar.js +3 -3
  261. package/esm2022/lib/components/tooltip/tooltip-manager.js +3 -3
  262. package/esm2022/lib/components/tooltip/tooltip-trigger.js +3 -3
  263. package/esm2022/lib/components/tooltip/tooltip.js +3 -3
  264. package/esm2022/lib/components/typography/heading.js +3 -3
  265. package/lib/components/menu/menu.d.ts +1 -1
  266. package/lib/components/select/index.d.ts +1 -1
  267. package/lib/components/select/select-item.d.ts +2 -0
  268. package/lib/components/select/select-label.d.ts +7 -0
  269. package/lib/components/select/select-list.d.ts +3 -1
  270. package/lib/components/select/select-trigger.d.ts +2 -2
  271. package/lib/components/select/select.d.ts +5 -4
  272. package/package.json +1 -1
  273. package/esm2022/lib/components/select/select-value.js.map +0 -1
  274. package/lib/components/select/select-value.d.ts +0 -7
@@ -37,10 +37,10 @@ export class ScToggleGroup {
37
37
  this.value.set(arr);
38
38
  }
39
39
  }
40
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
41
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToggleGroup, isStandalone: true, selector: "div[scToggleGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "toggle-group", "role": "group" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-spacing": "spacing()", "attr.data-orientation": "orientation()", "attr.data-horizontal": "orientation() === \"horizontal\" ? \"\" : null", "attr.data-vertical": "orientation() === \"vertical\" ? \"\" : null", "style.--gap": "spacing()", "class": "class()" } }, ngImport: i0 });
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
41
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToggleGroup, isStandalone: true, selector: "div[scToggleGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "toggle-group", "role": "group" }, properties: { "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-spacing": "spacing()", "attr.data-orientation": "orientation()", "attr.data-horizontal": "orientation() === \"horizontal\" ? \"\" : null", "attr.data-vertical": "orientation() === \"vertical\" ? \"\" : null", "style.--gap": "spacing()", "class": "class()" } }, ngImport: i0 });
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToggleGroup, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToggleGroup, decorators: [{
44
44
  type: Directive,
45
45
  args: [{
46
46
  selector: 'div[scToggleGroup]',
@@ -10,10 +10,10 @@ export class ScToolbarSeparator {
10
10
  const isVertical = this.separatorOrientation() === 'vertical';
11
11
  return cn('shrink-0 bg-border', isVertical ? 'mx-1 h-full w-px' : 'my-1 h-px w-full', this.classInput());
12
12
  }, ...(ngDevMode ? [{ debugName: "class" }] : []));
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarSeparator, isStandalone: true, selector: "div[scToolbarSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-separator", "role": "separator" }, properties: { "attr.aria-orientation": "separatorOrientation()", "attr.data-orientation": "separatorOrientation()", "class": "class()" } }, ngImport: i0 });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarSeparator, isStandalone: true, selector: "div[scToolbarSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-separator", "role": "separator" }, properties: { "attr.aria-orientation": "separatorOrientation()", "attr.data-orientation": "separatorOrientation()", "class": "class()" } }, ngImport: i0 });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarSeparator, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarSeparator, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  selector: 'div[scToolbarSeparator]',
@@ -6,12 +6,12 @@ import * as i1 from "@angular/aria/toolbar";
6
6
  export class ScToolbarWidgetGroup {
7
7
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
8
8
  class = computed(() => cn('flex items-center gap-0.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
9
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidgetGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarWidgetGroup, isStandalone: true, selector: "div[scToolbarWidgetGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget-group" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidgetGroup, inputs: ["disabled", "disabled", "multi", "multi"] }], ngImport: i0, template: `
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidgetGroup, isStandalone: true, selector: "div[scToolbarWidgetGroup]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget-group" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidgetGroup, inputs: ["disabled", "disabled", "multi", "multi"] }], ngImport: i0, template: `
11
11
  <ng-content />
12
12
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidgetGroup, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidgetGroup, decorators: [{
15
15
  type: Component,
16
16
  args: [{
17
17
  selector: 'div[scToolbarWidgetGroup]',
@@ -8,12 +8,12 @@ export class ScToolbarWidget {
8
8
  widget = inject(ToolbarWidget);
9
9
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
10
10
  class = computed(() => cn(toggleVariants({ variant: 'default', size: 'default' }), 'data-[state=on]:bg-muted', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbarWidget, isStandalone: true, selector: "button[scToolbarWidget]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget", "type": "button" }, properties: { "attr.data-state": "widget.selected() ? \"on\" : \"off\"", "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidget, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: `
11
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbarWidget, isStandalone: true, selector: "button[scToolbarWidget]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar-widget", "type": "button" }, properties: { "attr.data-state": "widget.selected() ? \"on\" : \"off\"", "class": "class()" } }, hostDirectives: [{ directive: i1.ToolbarWidget, inputs: ["value", "value", "disabled", "disabled"] }], ngImport: i0, template: `
13
13
  <ng-content />
14
14
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbarWidget, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbarWidget, decorators: [{
17
17
  type: Component,
18
18
  args: [{
19
19
  selector: 'button[scToolbarWidget]',
@@ -7,12 +7,12 @@ export class ScToolbar {
7
7
  toolbar = inject(Toolbar);
8
8
  classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
9
9
  class = computed(() => cn('flex w-fit items-center gap-1 rounded-lg border bg-background p-1', this.toolbar.orientation() === 'vertical' && 'flex-col items-stretch', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScToolbar, isStandalone: true, selector: "div[scToolbar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar" }, properties: { "attr.data-orientation": "toolbar.orientation()", "class": "class()" } }, hostDirectives: [{ directive: i1.Toolbar, inputs: ["orientation", "orientation", "disabled", "disabled", "wrap", "wrap", "values", "values", "softDisabled", "softDisabled"], outputs: ["valuesChange", "valuesChange"] }], ngImport: i0, template: `
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: ScToolbar, isStandalone: true, selector: "div[scToolbar]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "toolbar" }, properties: { "attr.data-orientation": "toolbar.orientation()", "class": "class()" } }, hostDirectives: [{ directive: i1.Toolbar, inputs: ["orientation", "orientation", "disabled", "disabled", "wrap", "wrap", "values", "values", "softDisabled", "softDisabled"], outputs: ["valuesChange", "valuesChange"] }], ngImport: i0, template: `
12
12
  <ng-content />
13
13
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScToolbar, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScToolbar, decorators: [{
16
16
  type: Component,
17
17
  args: [{
18
18
  selector: 'div[scToolbar]',
@@ -155,10 +155,10 @@ export class ScTooltipManager {
155
155
  isTooltipVisible(tooltipId) {
156
156
  return this.currentTooltipId === tooltipId;
157
157
  }
158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
159
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, providedIn: 'root' });
158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
159
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, providedIn: 'root' });
160
160
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipManager, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipManager, decorators: [{
162
162
  type: Injectable,
163
163
  args: [{ providedIn: 'root' }]
164
164
  }] });
@@ -96,10 +96,10 @@ export class ScTooltipTrigger {
96
96
  this.hideTimeout = null;
97
97
  }
98
98
  }
99
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScTooltipTrigger, isStandalone: true, selector: "[scTooltipTrigger]", inputs: { content: { classPropertyName: "content", publicName: "scTooltipTrigger", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "tooltipDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "tooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-describedby": "ariaDescribedBy()" } }, ngImport: i0 });
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScTooltipTrigger, isStandalone: true, selector: "[scTooltipTrigger]", inputs: { content: { classPropertyName: "content", publicName: "scTooltipTrigger", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "tooltipDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "tooltipHideDelay", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.aria-describedby": "ariaDescribedBy()" } }, ngImport: i0 });
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltipTrigger, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltipTrigger, decorators: [{
103
103
  type: Directive,
104
104
  args: [{
105
105
  selector: '[scTooltipTrigger]',
@@ -19,8 +19,8 @@ export class ScTooltip {
19
19
  close() {
20
20
  this.state.set('closed');
21
21
  }
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.5", type: ScTooltip, isStandalone: true, selector: "sc-tooltip", outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "tooltip", "role": "tooltip", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "id": "data.tooltipId", "class": "hostClass()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "side()" } }, ngImport: i0, template: `
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: ScTooltip, isStandalone: true, selector: "sc-tooltip", outputs: { animationComplete: "animationComplete" }, host: { attributes: { "data-slot": "tooltip", "role": "tooltip", "aria-live": "polite", "aria-atomic": "true" }, listeners: { "animationend": "onAnimationEnd($event)" }, properties: { "id": "data.tooltipId", "class": "hostClass()", "attr.data-open": "state() === \"open\" ? true : null", "attr.data-closed": "state() === \"closed\" ? true : null", "attr.data-side": "side()" } }, ngImport: i0, template: `
24
24
  {{ data.content }}
25
25
  <span
26
26
  [attr.data-side]="side()"
@@ -32,7 +32,7 @@ export class ScTooltip {
32
32
  ></span>
33
33
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScTooltip, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScTooltip, decorators: [{
36
36
  type: Component,
37
37
  args: [{
38
38
  selector: 'sc-tooltip',
@@ -27,10 +27,10 @@ export class ScHeading {
27
27
  const level = this.elementRef.nativeElement.tagName.toLowerCase();
28
28
  return cn(headingVariants({ level, underline: this.underline() }), this.classInput());
29
29
  }, ...(ngDevMode ? [{ debugName: "class" }] : []));
30
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScHeading, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScHeading, isStandalone: true, selector: "h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "heading" }, properties: { "class": "class()" } }, ngImport: i0 });
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: ScHeading, isStandalone: true, selector: "h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "heading" }, properties: { "class": "class()" } }, ngImport: i0 });
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScHeading, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: ScHeading, decorators: [{
34
34
  type: Directive,
35
35
  args: [{
36
36
  selector: 'h1[scHeading], h2[scHeading], h3[scHeading], h4[scHeading]',
@@ -8,5 +8,5 @@ export declare class ScMenu<V = string> {
8
8
  protected readonly class: import("@angular/core").Signal<string>;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScMenu<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "onSelect": "onSelect"; }; }]>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScMenu<any>, "[scMenu]", ["scMenu"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.Menu; inputs: { "id": "id"; "wrap": "wrap"; "disabled": "disabled"; "typeaheadDelay": "typeaheadDelay"; "expansionDelay": "expansionDelay"; }; outputs: { "itemSelected": "itemSelected"; }; }]>;
12
12
  }
@@ -1,7 +1,7 @@
1
1
  export { ScSelect } from './select';
2
2
  export { ScSelectItemIcon } from './select-item-icon';
3
3
  export { ScSelectTrigger } from './select-trigger';
4
- export { ScSelectValue } from './select-value';
4
+ export { ScSelectLabel } from './select-label';
5
5
  export { ScSelectPortal } from './select-portal';
6
6
  export { ScSelectPopup } from './select-popup';
7
7
  export { ScSelectList } from './select-list';
@@ -4,6 +4,8 @@ export declare class ScSelectItem {
4
4
  readonly classInput: import("@angular/core").InputSignal<string>;
5
5
  private readonly option;
6
6
  private readonly elementRef;
7
+ readonly itemValue: import("@angular/core").Signal<any>;
8
+ readonly itemLabel: import("@angular/core").Signal<string>;
7
9
  constructor();
8
10
  protected readonly class: import("@angular/core").Signal<string>;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectItem, never>;
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScSelectLabel {
3
+ readonly classInput: import("@angular/core").InputSignal<string>;
4
+ protected readonly class: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectLabel, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectLabel, "span[scSelectLabel], div[scSelectLabel]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -2,9 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/aria/listbox";
3
3
  export declare class ScSelectList {
4
4
  private readonly listbox;
5
+ private readonly items;
5
6
  readonly values: import("@angular/core").Signal<any[]>;
6
7
  readonly classInput: import("@angular/core").InputSignal<string>;
8
+ labelForValue(value: unknown): string;
7
9
  protected readonly class: import("@angular/core").Signal<string>;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectList, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectList, "div[scSelectList]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.Listbox; inputs: {}; outputs: {}; }]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectList, "div[scSelectList]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, [{ directive: typeof i1.Listbox; inputs: {}; outputs: {}; }]>;
10
12
  }
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class ScSelectTrigger {
4
4
  readonly elementRef: ElementRef<HTMLElement>;
5
5
  readonly classInput: import("@angular/core").InputSignal<string>;
6
- readonly ariaLabel: import("@angular/core").InputSignal<string>;
7
6
  private readonly select;
7
+ readonly ariaLabel: import("@angular/core").Signal<any>;
8
8
  readonly placeholder: import("@angular/core").Signal<any>;
9
9
  protected readonly class: import("@angular/core").Signal<string>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectTrigger, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectTrigger, "div[scSelectTrigger]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
12
  }
@@ -3,19 +3,20 @@ import type { FormValueControl } from '@angular/forms/signals';
3
3
  import { ScSelectPortal } from './select-portal';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/aria/combobox";
6
- export declare class ScSelect implements FormValueControl<string> {
6
+ export declare class ScSelect implements FormValueControl<unknown> {
7
7
  readonly classInput: import("@angular/core").InputSignal<string>;
8
8
  readonly placeholder: import("@angular/core").InputSignal<string>;
9
- readonly value: import("@angular/core").ModelSignal<string>;
9
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
10
+ readonly value: import("@angular/core").ModelSignal<unknown>;
10
11
  private readonly trigger;
11
12
  private readonly content;
12
13
  protected readonly selectPortal: import("@angular/core").Signal<ScSelectPortal>;
13
14
  readonly origin: import("@angular/core").Signal<import("@angular/core").ElementRef<HTMLElement> | undefined>;
14
15
  readonly values: import("@angular/core").Signal<any[]>;
15
- readonly displayValue: import("@angular/core").Signal<string>;
16
+ readonly label: import("@angular/core").Signal<string>;
16
17
  protected readonly class: import("@angular/core").Signal<string>;
17
18
  protected readonly combobox: Combobox<any>;
18
19
  constructor();
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSelect, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelect, "div[scSelect]", ["scSelect"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["trigger", "content", "selectPortal"], ["*"], true, [{ directive: typeof i1.Combobox; inputs: {}; outputs: {}; }]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSelect, "div[scSelect]", ["scSelect"], { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["trigger", "content", "selectPortal"], ["*"], true, [{ directive: typeof i1.Combobox; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
21
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semantic-components/ui",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1 +0,0 @@
1
- {"version":3,"file":"select-value.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-value.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAejC,MAAM,OAAO,aAAa;IACf,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,qBAAqB,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC7C,CAAC;uGALS,aAAa;2FAAb,aAAa,wTAVd;;GAET;;2FAQU,aAAa;kBAbzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;;GAET;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,cAAc;wBAC3B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'span[scSelectValue]',\n imports: [],\n template: `\n <ng-content />\n `,\n host: {\n 'data-slot': 'select-value',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectValue {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('pointer-events-none', this.classInput()),\n );\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScSelectValue {
3
- readonly classInput: import("@angular/core").InputSignal<string>;
4
- protected readonly class: import("@angular/core").Signal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectValue, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSelectValue, "span[scSelectValue]", never, { "classInput": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
- }