@semantic-components/ui 0.65.0 → 0.66.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 (769) hide show
  1. package/esm2022/lib/components/accordion/accordion-body.js +33 -0
  2. package/esm2022/lib/components/accordion/accordion-body.js.map +1 -0
  3. package/esm2022/lib/components/accordion/accordion-content.js +16 -0
  4. package/esm2022/lib/components/accordion/accordion-content.js.map +1 -0
  5. package/esm2022/lib/components/accordion/accordion-group.js +35 -0
  6. package/esm2022/lib/components/accordion/accordion-group.js.map +1 -0
  7. package/esm2022/lib/components/accordion/accordion-header.js +20 -0
  8. package/esm2022/lib/components/accordion/accordion-header.js.map +1 -0
  9. package/esm2022/lib/components/accordion/accordion-item.js +27 -0
  10. package/esm2022/lib/components/accordion/accordion-item.js.map +1 -0
  11. package/esm2022/lib/components/accordion/accordion-panel.js +35 -0
  12. package/esm2022/lib/components/accordion/accordion-panel.js.map +1 -0
  13. package/esm2022/lib/components/accordion/accordion-trigger.js +58 -0
  14. package/esm2022/lib/components/accordion/accordion-trigger.js.map +1 -0
  15. package/esm2022/lib/components/accordion/index.js +8 -0
  16. package/esm2022/lib/components/accordion/index.js.map +1 -0
  17. package/esm2022/lib/components/alert/alert-action.js +20 -0
  18. package/esm2022/lib/components/alert/alert-action.js.map +1 -0
  19. package/esm2022/lib/components/alert/alert-description.js +20 -0
  20. package/esm2022/lib/components/alert/alert-description.js.map +1 -0
  21. package/esm2022/lib/components/alert/alert-title.js +20 -0
  22. package/esm2022/lib/components/alert/alert-title.js.map +1 -0
  23. package/esm2022/lib/components/alert/alert.js +34 -0
  24. package/esm2022/lib/components/alert/alert.js.map +1 -0
  25. package/esm2022/lib/components/alert/index.js +5 -0
  26. package/esm2022/lib/components/alert/index.js.map +1 -0
  27. package/esm2022/lib/components/alert-dialog/alert-dialog-action.js +30 -0
  28. package/esm2022/lib/components/alert-dialog/alert-dialog-action.js.map +1 -0
  29. package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js +30 -0
  30. package/esm2022/lib/components/alert-dialog/alert-dialog-cancel.js.map +1 -0
  31. package/esm2022/lib/components/alert-dialog/alert-dialog-description.js +23 -0
  32. package/esm2022/lib/components/alert-dialog/alert-dialog-description.js.map +1 -0
  33. package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js +20 -0
  34. package/esm2022/lib/components/alert-dialog/alert-dialog-footer.js.map +1 -0
  35. package/esm2022/lib/components/alert-dialog/alert-dialog-header.js +20 -0
  36. package/esm2022/lib/components/alert-dialog/alert-dialog-header.js.map +1 -0
  37. package/esm2022/lib/components/alert-dialog/alert-dialog-media.js +20 -0
  38. package/esm2022/lib/components/alert-dialog/alert-dialog-media.js.map +1 -0
  39. package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js +14 -0
  40. package/esm2022/lib/components/alert-dialog/alert-dialog-portal.js.map +1 -0
  41. package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js +122 -0
  42. package/esm2022/lib/components/alert-dialog/alert-dialog-provider.js.map +1 -0
  43. package/esm2022/lib/components/alert-dialog/alert-dialog-title.js +23 -0
  44. package/esm2022/lib/components/alert-dialog/alert-dialog-title.js.map +1 -0
  45. package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js +29 -0
  46. package/esm2022/lib/components/alert-dialog/alert-dialog-trigger.js.map +1 -0
  47. package/esm2022/lib/components/alert-dialog/alert-dialog.js +61 -0
  48. package/esm2022/lib/components/alert-dialog/alert-dialog.js.map +1 -0
  49. package/esm2022/lib/components/alert-dialog/index.js +12 -0
  50. package/esm2022/lib/components/alert-dialog/index.js.map +1 -0
  51. package/esm2022/lib/components/aspect-ratio/aspect-ratio.js +22 -0
  52. package/esm2022/lib/components/aspect-ratio/aspect-ratio.js.map +1 -0
  53. package/esm2022/lib/components/aspect-ratio/index.js +2 -0
  54. package/esm2022/lib/components/aspect-ratio/index.js.map +1 -0
  55. package/esm2022/lib/components/avatar/avatar-badge.js +20 -0
  56. package/esm2022/lib/components/avatar/avatar-badge.js.map +1 -0
  57. package/esm2022/lib/components/avatar/avatar-fallback.js +25 -0
  58. package/esm2022/lib/components/avatar/avatar-fallback.js.map +1 -0
  59. package/esm2022/lib/components/avatar/avatar-group-count.js +20 -0
  60. package/esm2022/lib/components/avatar/avatar-group-count.js.map +1 -0
  61. package/esm2022/lib/components/avatar/avatar-group.js +20 -0
  62. package/esm2022/lib/components/avatar/avatar-group.js.map +1 -0
  63. package/esm2022/lib/components/avatar/avatar-image.js +36 -0
  64. package/esm2022/lib/components/avatar/avatar-image.js.map +1 -0
  65. package/esm2022/lib/components/avatar/avatar.js +24 -0
  66. package/esm2022/lib/components/avatar/avatar.js.map +1 -0
  67. package/esm2022/lib/components/avatar/index.js +7 -0
  68. package/esm2022/lib/components/avatar/index.js.map +1 -0
  69. package/esm2022/lib/components/backdrop/backdrop.js +53 -0
  70. package/esm2022/lib/components/backdrop/backdrop.js.map +1 -0
  71. package/esm2022/lib/components/backdrop/index.js +2 -0
  72. package/esm2022/lib/components/backdrop/index.js.map +1 -0
  73. package/esm2022/lib/components/badge/badge.js +37 -0
  74. package/esm2022/lib/components/badge/badge.js.map +1 -0
  75. package/esm2022/lib/components/badge/index.js +2 -0
  76. package/esm2022/lib/components/badge/index.js.map +1 -0
  77. package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js +33 -0
  78. package/esm2022/lib/components/breadcrumb/breadcrumb-ellipsis.js.map +1 -0
  79. package/esm2022/lib/components/breadcrumb/breadcrumb-item.js +20 -0
  80. package/esm2022/lib/components/breadcrumb/breadcrumb-item.js.map +1 -0
  81. package/esm2022/lib/components/breadcrumb/breadcrumb-link.js +20 -0
  82. package/esm2022/lib/components/breadcrumb/breadcrumb-link.js.map +1 -0
  83. package/esm2022/lib/components/breadcrumb/breadcrumb-list.js +20 -0
  84. package/esm2022/lib/components/breadcrumb/breadcrumb-list.js.map +1 -0
  85. package/esm2022/lib/components/breadcrumb/breadcrumb-page.js +23 -0
  86. package/esm2022/lib/components/breadcrumb/breadcrumb-page.js.map +1 -0
  87. package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js +35 -0
  88. package/esm2022/lib/components/breadcrumb/breadcrumb-separator.js.map +1 -0
  89. package/esm2022/lib/components/breadcrumb/breadcrumb.js +17 -0
  90. package/esm2022/lib/components/breadcrumb/breadcrumb.js.map +1 -0
  91. package/esm2022/lib/components/breadcrumb/index.js +8 -0
  92. package/esm2022/lib/components/breadcrumb/index.js.map +1 -0
  93. package/esm2022/lib/components/button/button.js +4 -4
  94. package/esm2022/lib/components/button/button.js.map +1 -1
  95. package/esm2022/lib/components/button-group/button-group-separator.js +24 -0
  96. package/esm2022/lib/components/button-group/button-group-separator.js.map +1 -0
  97. package/esm2022/lib/components/button-group/button-group-text.js +20 -0
  98. package/esm2022/lib/components/button-group/button-group-text.js.map +1 -0
  99. package/esm2022/lib/components/button-group/button-group.js +34 -0
  100. package/esm2022/lib/components/button-group/button-group.js.map +1 -0
  101. package/esm2022/lib/components/button-group/index.js +4 -0
  102. package/esm2022/lib/components/button-group/index.js.map +1 -0
  103. package/esm2022/lib/components/calendar/calendar-day-view.js +323 -0
  104. package/esm2022/lib/components/calendar/calendar-day-view.js.map +1 -0
  105. package/esm2022/lib/components/calendar/calendar-header.js +93 -0
  106. package/esm2022/lib/components/calendar/calendar-header.js.map +1 -0
  107. package/esm2022/lib/components/calendar/calendar-month-view.js +185 -0
  108. package/esm2022/lib/components/calendar/calendar-month-view.js.map +1 -0
  109. package/esm2022/lib/components/calendar/calendar-year-view.js +174 -0
  110. package/esm2022/lib/components/calendar/calendar-year-view.js.map +1 -0
  111. package/esm2022/lib/components/calendar/calendar.js +282 -0
  112. package/esm2022/lib/components/calendar/calendar.js.map +1 -0
  113. package/esm2022/lib/components/calendar/index.js +2 -0
  114. package/esm2022/lib/components/calendar/index.js.map +1 -0
  115. package/esm2022/lib/components/card/card-action.js +20 -0
  116. package/esm2022/lib/components/card/card-action.js.map +1 -0
  117. package/esm2022/lib/components/card/card-body.js +20 -0
  118. package/esm2022/lib/components/card/card-body.js.map +1 -0
  119. package/esm2022/lib/components/card/card-description.js +20 -0
  120. package/esm2022/lib/components/card/card-description.js.map +1 -0
  121. package/esm2022/lib/components/card/card-footer.js +20 -0
  122. package/esm2022/lib/components/card/card-footer.js.map +1 -0
  123. package/esm2022/lib/components/card/card-header.js +20 -0
  124. package/esm2022/lib/components/card/card-header.js.map +1 -0
  125. package/esm2022/lib/components/card/card-title.js +20 -0
  126. package/esm2022/lib/components/card/card-title.js.map +1 -0
  127. package/esm2022/lib/components/card/card.js +22 -0
  128. package/esm2022/lib/components/card/card.js.map +1 -0
  129. package/esm2022/lib/components/card/index.js +8 -0
  130. package/esm2022/lib/components/card/index.js.map +1 -0
  131. package/esm2022/lib/components/checkbox/checkbox-field.js +64 -0
  132. package/esm2022/lib/components/checkbox/checkbox-field.js.map +1 -0
  133. package/esm2022/lib/components/checkbox/checkbox-types.js +3 -0
  134. package/esm2022/lib/components/checkbox/checkbox-types.js.map +1 -0
  135. package/esm2022/lib/components/checkbox/checkbox-visual.js +41 -0
  136. package/esm2022/lib/components/checkbox/checkbox-visual.js.map +1 -0
  137. package/esm2022/lib/components/checkbox/checkbox.js +54 -0
  138. package/esm2022/lib/components/checkbox/checkbox.js.map +1 -0
  139. package/esm2022/lib/components/checkbox/index.js +5 -0
  140. package/esm2022/lib/components/checkbox/index.js.map +1 -0
  141. package/esm2022/lib/components/collapsible/collapsible-body.js +33 -0
  142. package/esm2022/lib/components/collapsible/collapsible-body.js.map +1 -0
  143. package/esm2022/lib/components/collapsible/collapsible-content.js +16 -0
  144. package/esm2022/lib/components/collapsible/collapsible-content.js.map +1 -0
  145. package/esm2022/lib/components/collapsible/collapsible-panel.js +35 -0
  146. package/esm2022/lib/components/collapsible/collapsible-panel.js.map +1 -0
  147. package/esm2022/lib/components/collapsible/collapsible-trigger.js +45 -0
  148. package/esm2022/lib/components/collapsible/collapsible-trigger.js.map +1 -0
  149. package/esm2022/lib/components/collapsible/collapsible.js +35 -0
  150. package/esm2022/lib/components/collapsible/collapsible.js.map +1 -0
  151. package/esm2022/lib/components/collapsible/index.js +6 -0
  152. package/esm2022/lib/components/collapsible/index.js.map +1 -0
  153. package/esm2022/lib/components/date-picker/date-picker.js +134 -0
  154. package/esm2022/lib/components/date-picker/date-picker.js.map +1 -0
  155. package/esm2022/lib/components/date-picker/index.js +2 -0
  156. package/esm2022/lib/components/date-picker/index.js.map +1 -0
  157. package/esm2022/lib/components/dialog/dialog-close.js +30 -0
  158. package/esm2022/lib/components/dialog/dialog-close.js.map +1 -0
  159. package/esm2022/lib/components/dialog/dialog-description.js +23 -0
  160. package/esm2022/lib/components/dialog/dialog-description.js.map +1 -0
  161. package/esm2022/lib/components/dialog/dialog-footer.js +20 -0
  162. package/esm2022/lib/components/dialog/dialog-footer.js.map +1 -0
  163. package/esm2022/lib/components/dialog/dialog-header.js +20 -0
  164. package/esm2022/lib/components/dialog/dialog-header.js.map +1 -0
  165. package/esm2022/lib/components/dialog/dialog-portal.js +14 -0
  166. package/esm2022/lib/components/dialog/dialog-portal.js.map +1 -0
  167. package/esm2022/lib/components/dialog/dialog-provider.js +159 -0
  168. package/esm2022/lib/components/dialog/dialog-provider.js.map +1 -0
  169. package/esm2022/lib/components/dialog/dialog-title.js +23 -0
  170. package/esm2022/lib/components/dialog/dialog-title.js.map +1 -0
  171. package/esm2022/lib/components/dialog/dialog-trigger.js +29 -0
  172. package/esm2022/lib/components/dialog/dialog-trigger.js.map +1 -0
  173. package/esm2022/lib/components/dialog/dialog.js +59 -0
  174. package/esm2022/lib/components/dialog/dialog.js.map +1 -0
  175. package/esm2022/lib/components/dialog/index.js +10 -0
  176. package/esm2022/lib/components/dialog/index.js.map +1 -0
  177. package/esm2022/lib/components/drawer/drawer-close.js +23 -0
  178. package/esm2022/lib/components/drawer/drawer-close.js.map +1 -0
  179. package/esm2022/lib/components/drawer/drawer-description.js +20 -0
  180. package/esm2022/lib/components/drawer/drawer-description.js.map +1 -0
  181. package/esm2022/lib/components/drawer/drawer-footer.js +20 -0
  182. package/esm2022/lib/components/drawer/drawer-footer.js.map +1 -0
  183. package/esm2022/lib/components/drawer/drawer-handle.js +20 -0
  184. package/esm2022/lib/components/drawer/drawer-handle.js.map +1 -0
  185. package/esm2022/lib/components/drawer/drawer-header.js +20 -0
  186. package/esm2022/lib/components/drawer/drawer-header.js.map +1 -0
  187. package/esm2022/lib/components/drawer/drawer-portal.js +14 -0
  188. package/esm2022/lib/components/drawer/drawer-portal.js.map +1 -0
  189. package/esm2022/lib/components/drawer/drawer-provider.js +127 -0
  190. package/esm2022/lib/components/drawer/drawer-provider.js.map +1 -0
  191. package/esm2022/lib/components/drawer/drawer-title.js +20 -0
  192. package/esm2022/lib/components/drawer/drawer-title.js.map +1 -0
  193. package/esm2022/lib/components/drawer/drawer-trigger.js +28 -0
  194. package/esm2022/lib/components/drawer/drawer-trigger.js.map +1 -0
  195. package/esm2022/lib/components/drawer/drawer.js +50 -0
  196. package/esm2022/lib/components/drawer/drawer.js.map +1 -0
  197. package/esm2022/lib/components/drawer/index.js +11 -0
  198. package/esm2022/lib/components/drawer/index.js.map +1 -0
  199. package/esm2022/lib/components/empty/empty-body.js +20 -0
  200. package/esm2022/lib/components/empty/empty-body.js.map +1 -0
  201. package/esm2022/lib/components/empty/empty-description.js +20 -0
  202. package/esm2022/lib/components/empty/empty-description.js.map +1 -0
  203. package/esm2022/lib/components/empty/empty-header.js +20 -0
  204. package/esm2022/lib/components/empty/empty-header.js.map +1 -0
  205. package/esm2022/lib/components/empty/empty-media.js +34 -0
  206. package/esm2022/lib/components/empty/empty-media.js.map +1 -0
  207. package/esm2022/lib/components/empty/empty-title.js +20 -0
  208. package/esm2022/lib/components/empty/empty-title.js.map +1 -0
  209. package/esm2022/lib/components/empty/empty.js +20 -0
  210. package/esm2022/lib/components/empty/empty.js.map +1 -0
  211. package/esm2022/lib/components/empty/index.js +7 -0
  212. package/esm2022/lib/components/empty/index.js.map +1 -0
  213. package/esm2022/lib/components/field/field-body.js +20 -0
  214. package/esm2022/lib/components/field/field-body.js.map +1 -0
  215. package/esm2022/lib/components/field/field-description.js +20 -0
  216. package/esm2022/lib/components/field/field-description.js.map +1 -0
  217. package/esm2022/lib/components/field/field-error.js +21 -0
  218. package/esm2022/lib/components/field/field-error.js.map +1 -0
  219. package/esm2022/lib/components/field/field-group.js +20 -0
  220. package/esm2022/lib/components/field/field-group.js.map +1 -0
  221. package/esm2022/lib/components/field/field-separator.js +20 -0
  222. package/esm2022/lib/components/field/field-separator.js.map +1 -0
  223. package/esm2022/lib/components/field/field-title.js +20 -0
  224. package/esm2022/lib/components/field/field-title.js.map +1 -0
  225. package/esm2022/lib/components/field/field.js +75 -0
  226. package/esm2022/lib/components/field/field.js.map +1 -0
  227. package/esm2022/lib/components/field/fieldset.js +20 -0
  228. package/esm2022/lib/components/field/fieldset.js.map +1 -0
  229. package/esm2022/lib/components/field/index.js +10 -0
  230. package/esm2022/lib/components/field/index.js.map +1 -0
  231. package/esm2022/lib/components/field/legend.js +22 -0
  232. package/esm2022/lib/components/field/legend.js.map +1 -0
  233. package/esm2022/lib/components/hover-card/hover-card-portal.js +14 -0
  234. package/esm2022/lib/components/hover-card/hover-card-portal.js.map +1 -0
  235. package/esm2022/lib/components/hover-card/hover-card-provider.js +185 -0
  236. package/esm2022/lib/components/hover-card/hover-card-provider.js.map +1 -0
  237. package/esm2022/lib/components/hover-card/hover-card-trigger.js +72 -0
  238. package/esm2022/lib/components/hover-card/hover-card-trigger.js.map +1 -0
  239. package/esm2022/lib/components/hover-card/hover-card.js +74 -0
  240. package/esm2022/lib/components/hover-card/hover-card.js.map +1 -0
  241. package/esm2022/lib/components/hover-card/index.js +5 -0
  242. package/esm2022/lib/components/hover-card/index.js.map +1 -0
  243. package/esm2022/lib/components/index.js +44 -0
  244. package/esm2022/lib/components/index.js.map +1 -1
  245. package/esm2022/lib/components/input/index.js +2 -0
  246. package/esm2022/lib/components/input/index.js.map +1 -0
  247. package/esm2022/lib/components/input/input.js +41 -0
  248. package/esm2022/lib/components/input/input.js.map +1 -0
  249. package/esm2022/lib/components/input-group/index.js +5 -0
  250. package/esm2022/lib/components/input-group/index.js.map +1 -0
  251. package/esm2022/lib/components/input-group/input-group-addon.js +37 -0
  252. package/esm2022/lib/components/input-group/input-group-addon.js.map +1 -0
  253. package/esm2022/lib/components/input-group/input-group-button.js +39 -0
  254. package/esm2022/lib/components/input-group/input-group-button.js.map +1 -0
  255. package/esm2022/lib/components/input-group/input-group-text.js +20 -0
  256. package/esm2022/lib/components/input-group/input-group-text.js.map +1 -0
  257. package/esm2022/lib/components/input-group/input-group.js +21 -0
  258. package/esm2022/lib/components/input-group/input-group.js.map +1 -0
  259. package/esm2022/lib/components/item/index.js +11 -0
  260. package/esm2022/lib/components/item/index.js.map +1 -0
  261. package/esm2022/lib/components/item/item-actions.js +20 -0
  262. package/esm2022/lib/components/item/item-actions.js.map +1 -0
  263. package/esm2022/lib/components/item/item-body.js +20 -0
  264. package/esm2022/lib/components/item/item-body.js.map +1 -0
  265. package/esm2022/lib/components/item/item-description.js +20 -0
  266. package/esm2022/lib/components/item/item-description.js.map +1 -0
  267. package/esm2022/lib/components/item/item-footer.js +20 -0
  268. package/esm2022/lib/components/item/item-footer.js.map +1 -0
  269. package/esm2022/lib/components/item/item-group.js +21 -0
  270. package/esm2022/lib/components/item/item-group.js.map +1 -0
  271. package/esm2022/lib/components/item/item-header.js +20 -0
  272. package/esm2022/lib/components/item/item-header.js.map +1 -0
  273. package/esm2022/lib/components/item/item-media.js +35 -0
  274. package/esm2022/lib/components/item/item-media.js.map +1 -0
  275. package/esm2022/lib/components/item/item-separator.js +21 -0
  276. package/esm2022/lib/components/item/item-separator.js.map +1 -0
  277. package/esm2022/lib/components/item/item-title.js +20 -0
  278. package/esm2022/lib/components/item/item-title.js.map +1 -0
  279. package/esm2022/lib/components/item/item.js +43 -0
  280. package/esm2022/lib/components/item/item.js.map +1 -0
  281. package/esm2022/lib/components/kbd/index.js +3 -0
  282. package/esm2022/lib/components/kbd/index.js.map +1 -0
  283. package/esm2022/lib/components/kbd/kbd-group.js +20 -0
  284. package/esm2022/lib/components/kbd/kbd-group.js.map +1 -0
  285. package/esm2022/lib/components/kbd/kbd.js +20 -0
  286. package/esm2022/lib/components/kbd/kbd.js.map +1 -0
  287. package/esm2022/lib/components/label/index.js +2 -0
  288. package/esm2022/lib/components/label/index.js.map +1 -0
  289. package/esm2022/lib/components/label/label.js +29 -0
  290. package/esm2022/lib/components/label/label.js.map +1 -0
  291. package/esm2022/lib/components/link/link.js +4 -4
  292. package/esm2022/lib/components/link/link.js.map +1 -1
  293. package/esm2022/lib/components/menu/index.js +8 -0
  294. package/esm2022/lib/components/menu/index.js.map +1 -0
  295. package/esm2022/lib/components/menu/menu-content.js +16 -0
  296. package/esm2022/lib/components/menu/menu-content.js.map +1 -0
  297. package/esm2022/lib/components/menu/menu-item.js +96 -0
  298. package/esm2022/lib/components/menu/menu-item.js.map +1 -0
  299. package/esm2022/lib/components/menu/menu-portal.js +15 -0
  300. package/esm2022/lib/components/menu/menu-portal.js.map +1 -0
  301. package/esm2022/lib/components/menu/menu-provider.js +102 -0
  302. package/esm2022/lib/components/menu/menu-provider.js.map +1 -0
  303. package/esm2022/lib/components/menu/menu-separator.js +22 -0
  304. package/esm2022/lib/components/menu/menu-separator.js.map +1 -0
  305. package/esm2022/lib/components/menu/menu-trigger.js +34 -0
  306. package/esm2022/lib/components/menu/menu-trigger.js.map +1 -0
  307. package/esm2022/lib/components/menu/menu.js +37 -0
  308. package/esm2022/lib/components/menu/menu.js.map +1 -0
  309. package/esm2022/lib/components/menu-bar/index.js +3 -0
  310. package/esm2022/lib/components/menu-bar/index.js.map +1 -0
  311. package/esm2022/lib/components/menu-bar/menu-bar-item.js +95 -0
  312. package/esm2022/lib/components/menu-bar/menu-bar-item.js.map +1 -0
  313. package/esm2022/lib/components/menu-bar/menu-bar.js +28 -0
  314. package/esm2022/lib/components/menu-bar/menu-bar.js.map +1 -0
  315. package/esm2022/lib/components/pagination/index.js +11 -0
  316. package/esm2022/lib/components/pagination/index.js.map +1 -0
  317. package/esm2022/lib/components/pagination/pagination-ellipsis.js +21 -0
  318. package/esm2022/lib/components/pagination/pagination-ellipsis.js.map +1 -0
  319. package/esm2022/lib/components/pagination/pagination-first.js +51 -0
  320. package/esm2022/lib/components/pagination/pagination-first.js.map +1 -0
  321. package/esm2022/lib/components/pagination/pagination-item.js +20 -0
  322. package/esm2022/lib/components/pagination/pagination-item.js.map +1 -0
  323. package/esm2022/lib/components/pagination/pagination-last.js +52 -0
  324. package/esm2022/lib/components/pagination/pagination-last.js.map +1 -0
  325. package/esm2022/lib/components/pagination/pagination-link.js +50 -0
  326. package/esm2022/lib/components/pagination/pagination-link.js.map +1 -0
  327. package/esm2022/lib/components/pagination/pagination-list.js +20 -0
  328. package/esm2022/lib/components/pagination/pagination-list.js.map +1 -0
  329. package/esm2022/lib/components/pagination/pagination-next.js +52 -0
  330. package/esm2022/lib/components/pagination/pagination-next.js.map +1 -0
  331. package/esm2022/lib/components/pagination/pagination-page-size-select.js +37 -0
  332. package/esm2022/lib/components/pagination/pagination-page-size-select.js.map +1 -0
  333. package/esm2022/lib/components/pagination/pagination-previous.js +52 -0
  334. package/esm2022/lib/components/pagination/pagination-previous.js.map +1 -0
  335. package/esm2022/lib/components/pagination/pagination.js +135 -0
  336. package/esm2022/lib/components/pagination/pagination.js.map +1 -0
  337. package/esm2022/lib/components/popover/index.js +9 -0
  338. package/esm2022/lib/components/popover/index.js.map +1 -0
  339. package/esm2022/lib/components/popover/popover-close.js +26 -0
  340. package/esm2022/lib/components/popover/popover-close.js.map +1 -0
  341. package/esm2022/lib/components/popover/popover-description.js +20 -0
  342. package/esm2022/lib/components/popover/popover-description.js.map +1 -0
  343. package/esm2022/lib/components/popover/popover-header.js +20 -0
  344. package/esm2022/lib/components/popover/popover-header.js.map +1 -0
  345. package/esm2022/lib/components/popover/popover-portal.js +14 -0
  346. package/esm2022/lib/components/popover/popover-portal.js.map +1 -0
  347. package/esm2022/lib/components/popover/popover-provider.js +203 -0
  348. package/esm2022/lib/components/popover/popover-provider.js.map +1 -0
  349. package/esm2022/lib/components/popover/popover-title.js +20 -0
  350. package/esm2022/lib/components/popover/popover-title.js.map +1 -0
  351. package/esm2022/lib/components/popover/popover-trigger.js +32 -0
  352. package/esm2022/lib/components/popover/popover-trigger.js.map +1 -0
  353. package/esm2022/lib/components/popover/popover.js +50 -0
  354. package/esm2022/lib/components/popover/popover.js.map +1 -0
  355. package/esm2022/lib/components/progress/index.js +2 -0
  356. package/esm2022/lib/components/progress/index.js.map +1 -0
  357. package/esm2022/lib/components/progress/progress-indicator.js +26 -0
  358. package/esm2022/lib/components/progress/progress-indicator.js.map +1 -0
  359. package/esm2022/lib/components/progress/progress.js +50 -0
  360. package/esm2022/lib/components/progress/progress.js.map +1 -0
  361. package/esm2022/lib/components/radio-group/index.js +4 -0
  362. package/esm2022/lib/components/radio-group/index.js.map +1 -0
  363. package/esm2022/lib/components/radio-group/radio-field.js +38 -0
  364. package/esm2022/lib/components/radio-group/radio-field.js.map +1 -0
  365. package/esm2022/lib/components/radio-group/radio-group.js +21 -0
  366. package/esm2022/lib/components/radio-group/radio-group.js.map +1 -0
  367. package/esm2022/lib/components/radio-group/radio.js +22 -0
  368. package/esm2022/lib/components/radio-group/radio.js.map +1 -0
  369. package/esm2022/lib/components/select/index.js +8 -0
  370. package/esm2022/lib/components/select/index.js.map +1 -0
  371. package/esm2022/lib/components/select/select-icon.js +21 -0
  372. package/esm2022/lib/components/select/select-icon.js.map +1 -0
  373. package/esm2022/lib/components/select/select-input.js +27 -0
  374. package/esm2022/lib/components/select/select-input.js.map +1 -0
  375. package/esm2022/lib/components/select/select-item-indicator.js +20 -0
  376. package/esm2022/lib/components/select/select-item-indicator.js.map +1 -0
  377. package/esm2022/lib/components/select/select-item.js +49 -0
  378. package/esm2022/lib/components/select/select-item.js.map +1 -0
  379. package/esm2022/lib/components/select/select-list.js +37 -0
  380. package/esm2022/lib/components/select/select-list.js.map +1 -0
  381. package/esm2022/lib/components/select/select-portal.js +14 -0
  382. package/esm2022/lib/components/select/select-portal.js.map +1 -0
  383. package/esm2022/lib/components/select/select-trigger-icon.js +20 -0
  384. package/esm2022/lib/components/select/select-trigger-icon.js.map +1 -0
  385. package/esm2022/lib/components/select/select-trigger.js +52 -0
  386. package/esm2022/lib/components/select/select-trigger.js.map +1 -0
  387. package/esm2022/lib/components/select/select-value.js +28 -0
  388. package/esm2022/lib/components/select/select-value.js.map +1 -0
  389. package/esm2022/lib/components/select/select.js +92 -0
  390. package/esm2022/lib/components/select/select.js.map +1 -0
  391. package/esm2022/lib/components/separator/index.js +2 -0
  392. package/esm2022/lib/components/separator/index.js.map +1 -0
  393. package/esm2022/lib/components/separator/separator.js +26 -0
  394. package/esm2022/lib/components/separator/separator.js.map +1 -0
  395. package/esm2022/lib/components/sheet/index.js +10 -0
  396. package/esm2022/lib/components/sheet/index.js.map +1 -0
  397. package/esm2022/lib/components/sheet/sheet-close.js +29 -0
  398. package/esm2022/lib/components/sheet/sheet-close.js.map +1 -0
  399. package/esm2022/lib/components/sheet/sheet-description.js +23 -0
  400. package/esm2022/lib/components/sheet/sheet-description.js.map +1 -0
  401. package/esm2022/lib/components/sheet/sheet-footer.js +20 -0
  402. package/esm2022/lib/components/sheet/sheet-footer.js.map +1 -0
  403. package/esm2022/lib/components/sheet/sheet-header.js +20 -0
  404. package/esm2022/lib/components/sheet/sheet-header.js.map +1 -0
  405. package/esm2022/lib/components/sheet/sheet-portal.js +14 -0
  406. package/esm2022/lib/components/sheet/sheet-portal.js.map +1 -0
  407. package/esm2022/lib/components/sheet/sheet-provider.js +127 -0
  408. package/esm2022/lib/components/sheet/sheet-provider.js.map +1 -0
  409. package/esm2022/lib/components/sheet/sheet-title.js +23 -0
  410. package/esm2022/lib/components/sheet/sheet-title.js.map +1 -0
  411. package/esm2022/lib/components/sheet/sheet-trigger.js +28 -0
  412. package/esm2022/lib/components/sheet/sheet-trigger.js.map +1 -0
  413. package/esm2022/lib/components/sheet/sheet.js +64 -0
  414. package/esm2022/lib/components/sheet/sheet.js.map +1 -0
  415. package/esm2022/lib/components/skeleton/index.js +2 -0
  416. package/esm2022/lib/components/skeleton/index.js.map +1 -0
  417. package/esm2022/lib/components/skeleton/skeleton.js +20 -0
  418. package/esm2022/lib/components/skeleton/skeleton.js.map +1 -0
  419. package/esm2022/lib/components/spinner/index.js +2 -0
  420. package/esm2022/lib/components/spinner/index.js.map +1 -0
  421. package/esm2022/lib/components/spinner/spinner.js +23 -0
  422. package/esm2022/lib/components/spinner/spinner.js.map +1 -0
  423. package/esm2022/lib/components/switch/index.js +5 -0
  424. package/esm2022/lib/components/switch/index.js.map +1 -0
  425. package/esm2022/lib/components/switch/switch-field.js +57 -0
  426. package/esm2022/lib/components/switch/switch-field.js.map +1 -0
  427. package/esm2022/lib/components/switch/switch-types.js +3 -0
  428. package/esm2022/lib/components/switch/switch-types.js.map +1 -0
  429. package/esm2022/lib/components/switch/switch-visual.js +34 -0
  430. package/esm2022/lib/components/switch/switch-visual.js.map +1 -0
  431. package/esm2022/lib/components/switch/switch.js +45 -0
  432. package/esm2022/lib/components/switch/switch.js.map +1 -0
  433. package/esm2022/lib/components/table/index.js +9 -0
  434. package/esm2022/lib/components/table/index.js.map +1 -0
  435. package/esm2022/lib/components/table/table-body.js +20 -0
  436. package/esm2022/lib/components/table/table-body.js.map +1 -0
  437. package/esm2022/lib/components/table/table-caption.js +20 -0
  438. package/esm2022/lib/components/table/table-caption.js.map +1 -0
  439. package/esm2022/lib/components/table/table-cell.js +20 -0
  440. package/esm2022/lib/components/table/table-cell.js.map +1 -0
  441. package/esm2022/lib/components/table/table-footer.js +20 -0
  442. package/esm2022/lib/components/table/table-footer.js.map +1 -0
  443. package/esm2022/lib/components/table/table-header-cell.js +20 -0
  444. package/esm2022/lib/components/table/table-header-cell.js.map +1 -0
  445. package/esm2022/lib/components/table/table-header.js +20 -0
  446. package/esm2022/lib/components/table/table-header.js.map +1 -0
  447. package/esm2022/lib/components/table/table-row.js +20 -0
  448. package/esm2022/lib/components/table/table-row.js.map +1 -0
  449. package/esm2022/lib/components/table/table.js +20 -0
  450. package/esm2022/lib/components/table/table.js.map +1 -0
  451. package/esm2022/lib/components/tabs/index.js +6 -0
  452. package/esm2022/lib/components/tabs/index.js.map +1 -0
  453. package/esm2022/lib/components/tabs/tab-content.js +16 -0
  454. package/esm2022/lib/components/tabs/tab-content.js.map +1 -0
  455. package/esm2022/lib/components/tabs/tab-list.js +57 -0
  456. package/esm2022/lib/components/tabs/tab-list.js.map +1 -0
  457. package/esm2022/lib/components/tabs/tab-panel.js +35 -0
  458. package/esm2022/lib/components/tabs/tab-panel.js.map +1 -0
  459. package/esm2022/lib/components/tabs/tab.js +34 -0
  460. package/esm2022/lib/components/tabs/tab.js.map +1 -0
  461. package/esm2022/lib/components/tabs/tabs.js +36 -0
  462. package/esm2022/lib/components/tabs/tabs.js.map +1 -0
  463. package/esm2022/lib/components/textarea/index.js +2 -0
  464. package/esm2022/lib/components/textarea/index.js.map +1 -0
  465. package/esm2022/lib/components/textarea/textarea.js +41 -0
  466. package/esm2022/lib/components/textarea/textarea.js.map +1 -0
  467. package/esm2022/lib/components/toast/index.js +7 -0
  468. package/esm2022/lib/components/toast/index.js.map +1 -0
  469. package/esm2022/lib/components/toast/toast-action.js +21 -0
  470. package/esm2022/lib/components/toast/toast-action.js.map +1 -0
  471. package/esm2022/lib/components/toast/toast-close.js +25 -0
  472. package/esm2022/lib/components/toast/toast-close.js.map +1 -0
  473. package/esm2022/lib/components/toast/toast-description.js +20 -0
  474. package/esm2022/lib/components/toast/toast-description.js.map +1 -0
  475. package/esm2022/lib/components/toast/toast-stack.js +182 -0
  476. package/esm2022/lib/components/toast/toast-stack.js.map +1 -0
  477. package/esm2022/lib/components/toast/toast-title.js +20 -0
  478. package/esm2022/lib/components/toast/toast-title.js.map +1 -0
  479. package/esm2022/lib/components/toast/toast.js +58 -0
  480. package/esm2022/lib/components/toast/toast.js.map +1 -0
  481. package/esm2022/lib/components/toast/toast.types.js +1 -0
  482. package/esm2022/lib/components/toast/toast.types.js.map +1 -0
  483. package/esm2022/lib/components/toast/toaster.js +149 -0
  484. package/esm2022/lib/components/toast/toaster.js.map +1 -0
  485. package/esm2022/lib/components/toggle/index.js +2 -0
  486. package/esm2022/lib/components/toggle/index.js.map +1 -0
  487. package/esm2022/lib/components/toggle/toggle.js +52 -0
  488. package/esm2022/lib/components/toggle/toggle.js.map +1 -0
  489. package/esm2022/lib/components/toggle-group/index.js +3 -0
  490. package/esm2022/lib/components/toggle-group/index.js.map +1 -0
  491. package/esm2022/lib/components/toggle-group/toggle-group-item.js +45 -0
  492. package/esm2022/lib/components/toggle-group/toggle-group-item.js.map +1 -0
  493. package/esm2022/lib/components/toggle-group/toggle-group.js +61 -0
  494. package/esm2022/lib/components/toggle-group/toggle-group.js.map +1 -0
  495. package/esm2022/lib/components/toolbar/index.js +5 -0
  496. package/esm2022/lib/components/toolbar/index.js.map +1 -0
  497. package/esm2022/lib/components/toolbar/toolbar-separator.js +29 -0
  498. package/esm2022/lib/components/toolbar/toolbar-separator.js.map +1 -0
  499. package/esm2022/lib/components/toolbar/toolbar-widget-group.js +35 -0
  500. package/esm2022/lib/components/toolbar/toolbar-widget-group.js.map +1 -0
  501. package/esm2022/lib/components/toolbar/toolbar-widget.js +39 -0
  502. package/esm2022/lib/components/toolbar/toolbar-widget.js.map +1 -0
  503. package/esm2022/lib/components/toolbar/toolbar.js +38 -0
  504. package/esm2022/lib/components/toolbar/toolbar.js.map +1 -0
  505. package/esm2022/lib/components/tooltip/index.js +3 -0
  506. package/esm2022/lib/components/tooltip/index.js.map +1 -0
  507. package/esm2022/lib/components/tooltip/tooltip-manager.js +165 -0
  508. package/esm2022/lib/components/tooltip/tooltip-manager.js.map +1 -0
  509. package/esm2022/lib/components/tooltip/tooltip-trigger.js +115 -0
  510. package/esm2022/lib/components/tooltip/tooltip-trigger.js.map +1 -0
  511. package/esm2022/lib/components/tooltip/tooltip.js +66 -0
  512. package/esm2022/lib/components/tooltip/tooltip.js.map +1 -0
  513. package/lib/components/accordion/accordion-body.d.ts +7 -0
  514. package/lib/components/accordion/accordion-content.d.ts +6 -0
  515. package/lib/components/accordion/accordion-group.d.ts +8 -0
  516. package/lib/components/accordion/accordion-header.d.ts +7 -0
  517. package/lib/components/accordion/accordion-item.d.ts +7 -0
  518. package/lib/components/accordion/accordion-panel.d.ts +8 -0
  519. package/lib/components/accordion/accordion-trigger.d.ts +8 -0
  520. package/lib/components/accordion/index.d.ts +7 -0
  521. package/lib/components/alert/alert-action.d.ts +7 -0
  522. package/lib/components/alert/alert-description.d.ts +7 -0
  523. package/lib/components/alert/alert-title.d.ts +7 -0
  524. package/lib/components/alert/alert.d.ts +14 -0
  525. package/lib/components/alert/index.d.ts +4 -0
  526. package/lib/components/alert-dialog/alert-dialog-action.d.ts +11 -0
  527. package/lib/components/alert-dialog/alert-dialog-cancel.d.ts +11 -0
  528. package/lib/components/alert-dialog/alert-dialog-description.d.ts +9 -0
  529. package/lib/components/alert-dialog/alert-dialog-footer.d.ts +7 -0
  530. package/lib/components/alert-dialog/alert-dialog-header.d.ts +7 -0
  531. package/lib/components/alert-dialog/alert-dialog-media.d.ts +7 -0
  532. package/lib/components/alert-dialog/alert-dialog-portal.d.ts +7 -0
  533. package/lib/components/alert-dialog/alert-dialog-provider.d.ts +22 -0
  534. package/lib/components/alert-dialog/alert-dialog-title.d.ts +9 -0
  535. package/lib/components/alert-dialog/alert-dialog-trigger.d.ts +10 -0
  536. package/lib/components/alert-dialog/alert-dialog.d.ts +19 -0
  537. package/lib/components/alert-dialog/index.d.ts +11 -0
  538. package/lib/components/aspect-ratio/aspect-ratio.d.ts +8 -0
  539. package/lib/components/aspect-ratio/index.d.ts +1 -0
  540. package/lib/components/avatar/avatar-badge.d.ts +7 -0
  541. package/lib/components/avatar/avatar-fallback.d.ts +8 -0
  542. package/lib/components/avatar/avatar-group-count.d.ts +7 -0
  543. package/lib/components/avatar/avatar-group.d.ts +7 -0
  544. package/lib/components/avatar/avatar-image.d.ts +12 -0
  545. package/lib/components/avatar/avatar.d.ts +12 -0
  546. package/lib/components/avatar/index.d.ts +6 -0
  547. package/lib/components/backdrop/backdrop.d.ts +23 -0
  548. package/lib/components/backdrop/index.d.ts +1 -0
  549. package/lib/components/badge/badge.d.ts +14 -0
  550. package/lib/components/badge/index.d.ts +1 -0
  551. package/lib/components/breadcrumb/breadcrumb-ellipsis.d.ts +7 -0
  552. package/lib/components/breadcrumb/breadcrumb-item.d.ts +7 -0
  553. package/lib/components/breadcrumb/breadcrumb-link.d.ts +7 -0
  554. package/lib/components/breadcrumb/breadcrumb-list.d.ts +7 -0
  555. package/lib/components/breadcrumb/breadcrumb-page.d.ts +7 -0
  556. package/lib/components/breadcrumb/breadcrumb-separator.d.ts +7 -0
  557. package/lib/components/breadcrumb/breadcrumb.d.ts +5 -0
  558. package/lib/components/breadcrumb/index.d.ts +7 -0
  559. package/lib/components/button/button.d.ts +5 -5
  560. package/lib/components/button-group/button-group-separator.d.ts +9 -0
  561. package/lib/components/button-group/button-group-text.d.ts +7 -0
  562. package/lib/components/button-group/button-group.d.ts +13 -0
  563. package/lib/components/button-group/index.d.ts +3 -0
  564. package/lib/components/calendar/calendar-day-view.d.ts +40 -0
  565. package/lib/components/calendar/calendar-header.d.ts +13 -0
  566. package/lib/components/calendar/calendar-month-view.d.ts +28 -0
  567. package/lib/components/calendar/calendar-year-view.d.ts +28 -0
  568. package/lib/components/calendar/calendar.d.ts +40 -0
  569. package/lib/components/calendar/index.d.ts +1 -0
  570. package/lib/components/card/card-action.d.ts +7 -0
  571. package/lib/components/card/card-body.d.ts +7 -0
  572. package/lib/components/card/card-description.d.ts +7 -0
  573. package/lib/components/card/card-footer.d.ts +7 -0
  574. package/lib/components/card/card-header.d.ts +7 -0
  575. package/lib/components/card/card-title.d.ts +7 -0
  576. package/lib/components/card/card.d.ts +8 -0
  577. package/lib/components/card/index.d.ts +7 -0
  578. package/lib/components/checkbox/checkbox-field.d.ts +16 -0
  579. package/lib/components/checkbox/checkbox-types.d.ts +9 -0
  580. package/lib/components/checkbox/checkbox-visual.d.ts +8 -0
  581. package/lib/components/checkbox/checkbox.d.ts +19 -0
  582. package/lib/components/checkbox/index.d.ts +4 -0
  583. package/lib/components/collapsible/collapsible-body.d.ts +7 -0
  584. package/lib/components/collapsible/collapsible-content.d.ts +6 -0
  585. package/lib/components/collapsible/collapsible-panel.d.ts +8 -0
  586. package/lib/components/collapsible/collapsible-trigger.d.ts +14 -0
  587. package/lib/components/collapsible/collapsible.d.ts +8 -0
  588. package/lib/components/collapsible/index.d.ts +5 -0
  589. package/lib/components/date-picker/date-picker.d.ts +23 -0
  590. package/lib/components/date-picker/index.d.ts +1 -0
  591. package/lib/components/dialog/dialog-close.d.ts +11 -0
  592. package/lib/components/dialog/dialog-description.d.ts +9 -0
  593. package/lib/components/dialog/dialog-footer.d.ts +7 -0
  594. package/lib/components/dialog/dialog-header.d.ts +7 -0
  595. package/lib/components/dialog/dialog-portal.d.ts +7 -0
  596. package/lib/components/dialog/dialog-provider.d.ts +44 -0
  597. package/lib/components/dialog/dialog-title.d.ts +9 -0
  598. package/lib/components/dialog/dialog-trigger.d.ts +10 -0
  599. package/lib/components/dialog/dialog.d.ts +18 -0
  600. package/lib/components/dialog/index.d.ts +9 -0
  601. package/lib/components/drawer/drawer-close.d.ts +7 -0
  602. package/lib/components/drawer/drawer-description.d.ts +7 -0
  603. package/lib/components/drawer/drawer-footer.d.ts +7 -0
  604. package/lib/components/drawer/drawer-handle.d.ts +7 -0
  605. package/lib/components/drawer/drawer-header.d.ts +7 -0
  606. package/lib/components/drawer/drawer-portal.d.ts +7 -0
  607. package/lib/components/drawer/drawer-provider.d.ts +25 -0
  608. package/lib/components/drawer/drawer-title.d.ts +7 -0
  609. package/lib/components/drawer/drawer-trigger.d.ts +10 -0
  610. package/lib/components/drawer/drawer.d.ts +15 -0
  611. package/lib/components/drawer/index.d.ts +11 -0
  612. package/lib/components/empty/empty-body.d.ts +7 -0
  613. package/lib/components/empty/empty-description.d.ts +7 -0
  614. package/lib/components/empty/empty-header.d.ts +7 -0
  615. package/lib/components/empty/empty-media.d.ts +13 -0
  616. package/lib/components/empty/empty-title.d.ts +7 -0
  617. package/lib/components/empty/empty.d.ts +7 -0
  618. package/lib/components/empty/index.d.ts +6 -0
  619. package/lib/components/field/field-body.d.ts +7 -0
  620. package/lib/components/field/field-description.d.ts +7 -0
  621. package/lib/components/field/field-error.d.ts +7 -0
  622. package/lib/components/field/field-group.d.ts +7 -0
  623. package/lib/components/field/field-separator.d.ts +7 -0
  624. package/lib/components/field/field-title.d.ts +7 -0
  625. package/lib/components/field/field.d.ts +27 -0
  626. package/lib/components/field/fieldset.d.ts +7 -0
  627. package/lib/components/field/index.d.ts +10 -0
  628. package/lib/components/field/legend.d.ts +9 -0
  629. package/lib/components/hover-card/hover-card-portal.d.ts +7 -0
  630. package/lib/components/hover-card/hover-card-provider.d.ts +34 -0
  631. package/lib/components/hover-card/hover-card-trigger.d.ts +22 -0
  632. package/lib/components/hover-card/hover-card.d.ts +21 -0
  633. package/lib/components/hover-card/index.d.ts +5 -0
  634. package/lib/components/index.d.ts +44 -0
  635. package/lib/components/input/index.d.ts +1 -0
  636. package/lib/components/input/input.d.ts +17 -0
  637. package/lib/components/input-group/index.d.ts +4 -0
  638. package/lib/components/input-group/input-group-addon.d.ts +14 -0
  639. package/lib/components/input-group/input-group-button.d.ts +15 -0
  640. package/lib/components/input-group/input-group-text.d.ts +7 -0
  641. package/lib/components/input-group/input-group.d.ts +7 -0
  642. package/lib/components/item/index.d.ts +10 -0
  643. package/lib/components/item/item-actions.d.ts +7 -0
  644. package/lib/components/item/item-body.d.ts +7 -0
  645. package/lib/components/item/item-description.d.ts +7 -0
  646. package/lib/components/item/item-footer.d.ts +7 -0
  647. package/lib/components/item/item-group.d.ts +7 -0
  648. package/lib/components/item/item-header.d.ts +7 -0
  649. package/lib/components/item/item-media.d.ts +13 -0
  650. package/lib/components/item/item-separator.d.ts +7 -0
  651. package/lib/components/item/item-title.d.ts +7 -0
  652. package/lib/components/item/item.d.ts +15 -0
  653. package/lib/components/kbd/index.d.ts +2 -0
  654. package/lib/components/kbd/kbd-group.d.ts +7 -0
  655. package/lib/components/kbd/kbd.d.ts +7 -0
  656. package/lib/components/label/index.d.ts +1 -0
  657. package/lib/components/label/label.d.ts +10 -0
  658. package/lib/components/link/link.d.ts +3 -3
  659. package/lib/components/menu/index.d.ts +7 -0
  660. package/lib/components/menu/menu-content.d.ts +6 -0
  661. package/lib/components/menu/menu-item.d.ts +17 -0
  662. package/lib/components/menu/menu-portal.d.ts +9 -0
  663. package/lib/components/menu/menu-provider.d.ts +15 -0
  664. package/lib/components/menu/menu-separator.d.ts +7 -0
  665. package/lib/components/menu/menu-trigger.d.ts +14 -0
  666. package/lib/components/menu/menu.d.ts +12 -0
  667. package/lib/components/menu-bar/index.d.ts +2 -0
  668. package/lib/components/menu-bar/menu-bar-item.d.ts +17 -0
  669. package/lib/components/menu-bar/menu-bar.d.ts +10 -0
  670. package/lib/components/pagination/index.d.ts +10 -0
  671. package/lib/components/pagination/pagination-ellipsis.d.ts +7 -0
  672. package/lib/components/pagination/pagination-first.d.ts +15 -0
  673. package/lib/components/pagination/pagination-item.d.ts +7 -0
  674. package/lib/components/pagination/pagination-last.d.ts +15 -0
  675. package/lib/components/pagination/pagination-link.d.ts +16 -0
  676. package/lib/components/pagination/pagination-list.d.ts +7 -0
  677. package/lib/components/pagination/pagination-next.d.ts +15 -0
  678. package/lib/components/pagination/pagination-page-size-select.d.ts +14 -0
  679. package/lib/components/pagination/pagination-previous.d.ts +15 -0
  680. package/lib/components/pagination/pagination.d.ts +38 -0
  681. package/lib/components/popover/index.d.ts +9 -0
  682. package/lib/components/popover/popover-close.d.ts +9 -0
  683. package/lib/components/popover/popover-description.d.ts +7 -0
  684. package/lib/components/popover/popover-header.d.ts +7 -0
  685. package/lib/components/popover/popover-portal.d.ts +7 -0
  686. package/lib/components/popover/popover-provider.d.ts +39 -0
  687. package/lib/components/popover/popover-title.d.ts +7 -0
  688. package/lib/components/popover/popover-trigger.d.ts +13 -0
  689. package/lib/components/popover/popover.d.ts +15 -0
  690. package/lib/components/progress/index.d.ts +1 -0
  691. package/lib/components/progress/progress-indicator.d.ts +9 -0
  692. package/lib/components/progress/progress.d.ts +12 -0
  693. package/lib/components/radio-group/index.d.ts +3 -0
  694. package/lib/components/radio-group/radio-field.d.ts +10 -0
  695. package/lib/components/radio-group/radio-group.d.ts +7 -0
  696. package/lib/components/radio-group/radio.d.ts +8 -0
  697. package/lib/components/select/index.d.ts +7 -0
  698. package/lib/components/select/select-icon.d.ts +7 -0
  699. package/lib/components/select/select-input.d.ts +8 -0
  700. package/lib/components/select/select-item-indicator.d.ts +7 -0
  701. package/lib/components/select/select-item.d.ts +11 -0
  702. package/lib/components/select/select-list.d.ts +11 -0
  703. package/lib/components/select/select-portal.d.ts +7 -0
  704. package/lib/components/select/select-trigger-icon.d.ts +7 -0
  705. package/lib/components/select/select-trigger.d.ts +13 -0
  706. package/lib/components/select/select-value.d.ts +7 -0
  707. package/lib/components/select/select.d.ts +20 -0
  708. package/lib/components/separator/index.d.ts +1 -0
  709. package/lib/components/separator/separator.d.ts +10 -0
  710. package/lib/components/sheet/index.d.ts +10 -0
  711. package/lib/components/sheet/sheet-close.d.ts +11 -0
  712. package/lib/components/sheet/sheet-description.d.ts +9 -0
  713. package/lib/components/sheet/sheet-footer.d.ts +7 -0
  714. package/lib/components/sheet/sheet-header.d.ts +7 -0
  715. package/lib/components/sheet/sheet-portal.d.ts +7 -0
  716. package/lib/components/sheet/sheet-provider.d.ts +25 -0
  717. package/lib/components/sheet/sheet-title.d.ts +9 -0
  718. package/lib/components/sheet/sheet-trigger.d.ts +10 -0
  719. package/lib/components/sheet/sheet.d.ts +18 -0
  720. package/lib/components/skeleton/index.d.ts +1 -0
  721. package/lib/components/skeleton/skeleton.d.ts +7 -0
  722. package/lib/components/spinner/index.d.ts +1 -0
  723. package/lib/components/spinner/spinner.d.ts +8 -0
  724. package/lib/components/switch/index.d.ts +4 -0
  725. package/lib/components/switch/switch-field.d.ts +15 -0
  726. package/lib/components/switch/switch-types.d.ts +8 -0
  727. package/lib/components/switch/switch-visual.d.ts +9 -0
  728. package/lib/components/switch/switch.d.ts +18 -0
  729. package/lib/components/table/index.d.ts +8 -0
  730. package/lib/components/table/table-body.d.ts +7 -0
  731. package/lib/components/table/table-caption.d.ts +7 -0
  732. package/lib/components/table/table-cell.d.ts +7 -0
  733. package/lib/components/table/table-footer.d.ts +7 -0
  734. package/lib/components/table/table-header-cell.d.ts +7 -0
  735. package/lib/components/table/table-header.d.ts +7 -0
  736. package/lib/components/table/table-row.d.ts +7 -0
  737. package/lib/components/table/table.d.ts +7 -0
  738. package/lib/components/tabs/index.d.ts +5 -0
  739. package/lib/components/tabs/tab-content.d.ts +6 -0
  740. package/lib/components/tabs/tab-list.d.ts +12 -0
  741. package/lib/components/tabs/tab-panel.d.ts +8 -0
  742. package/lib/components/tabs/tab.d.ts +8 -0
  743. package/lib/components/tabs/tabs.d.ts +9 -0
  744. package/lib/components/textarea/index.d.ts +1 -0
  745. package/lib/components/textarea/textarea.d.ts +17 -0
  746. package/lib/components/toast/index.d.ts +7 -0
  747. package/lib/components/toast/toast-action.d.ts +7 -0
  748. package/lib/components/toast/toast-close.d.ts +9 -0
  749. package/lib/components/toast/toast-description.d.ts +7 -0
  750. package/lib/components/toast/toast-stack.d.ts +12 -0
  751. package/lib/components/toast/toast-title.d.ts +7 -0
  752. package/lib/components/toast/toast.d.ts +17 -0
  753. package/lib/components/toast/toast.types.d.ts +24 -0
  754. package/lib/components/toast/toaster.d.ts +50 -0
  755. package/lib/components/toggle/index.d.ts +1 -0
  756. package/lib/components/toggle/toggle.d.ts +18 -0
  757. package/lib/components/toggle-group/index.d.ts +2 -0
  758. package/lib/components/toggle-group/toggle-group-item.d.ts +16 -0
  759. package/lib/components/toggle-group/toggle-group.d.ts +16 -0
  760. package/lib/components/toolbar/index.d.ts +4 -0
  761. package/lib/components/toolbar/toolbar-separator.d.ts +9 -0
  762. package/lib/components/toolbar/toolbar-widget-group.d.ts +8 -0
  763. package/lib/components/toolbar/toolbar-widget.d.ts +10 -0
  764. package/lib/components/toolbar/toolbar.d.ts +10 -0
  765. package/lib/components/tooltip/index.d.ts +3 -0
  766. package/lib/components/tooltip/tooltip-manager.d.ts +22 -0
  767. package/lib/components/tooltip/tooltip-trigger.d.ts +35 -0
  768. package/lib/components/tooltip/tooltip.d.ts +22 -0
  769. package/package.json +9 -2
@@ -0,0 +1,21 @@
1
+ import { computed, Directive, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSelectIcon {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('text-muted-foreground size-4 shrink-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectIcon, isStandalone: true, selector: "svg[scSelectIcon]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-icon", "aria-hidden": "true" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectIcon, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'svg[scSelectIcon]',
14
+ host: {
15
+ 'data-slot': 'select-icon',
16
+ 'aria-hidden': 'true',
17
+ '[class]': 'class()',
18
+ },
19
+ }]
20
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
21
+ //# sourceMappingURL=select-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-icon.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAUjC,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CAAC,uCAAuC,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAC/D,CAAC;uGALS,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBARxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,aAAa,EAAE,MAAM;wBACrB,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'svg[scSelectIcon]',\n host: {\n 'data-slot': 'select-icon',\n 'aria-hidden': 'true',\n '[class]': 'class()',\n },\n})\nexport class ScSelectIcon {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn('text-muted-foreground size-4 shrink-0', this.classInput()),\n );\n}\n"]}
@@ -0,0 +1,27 @@
1
+ import { ComboboxInput } from '@angular/aria/combobox';
2
+ import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation, } from '@angular/core';
3
+ import { cn } from '../../utils';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/aria/combobox";
6
+ export class ScSelectInput {
7
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
8
+ class = computed(() => cn('absolute inset-0 h-full w-full cursor-pointer border-none bg-transparent opacity-0 outline-none', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectInput, isStandalone: true, selector: "input[scSelectInput]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-input" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.ComboboxInput }], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectInput, decorators: [{
13
+ type: Component,
14
+ args: [{
15
+ selector: 'input[scSelectInput]',
16
+ imports: [],
17
+ template: ``,
18
+ hostDirectives: [ComboboxInput],
19
+ host: {
20
+ 'data-slot': 'select-input',
21
+ '[class]': 'class()',
22
+ },
23
+ encapsulation: ViewEncapsulation.None,
24
+ changeDetection: ChangeDetectionStrategy.OnPush,
25
+ }]
26
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
27
+ //# sourceMappingURL=select-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-input.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;;AAcjC,MAAM,OAAO,aAAa;IACf,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,iGAAiG,EACjG,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,aAAa;2FAAb,aAAa,4WATd,EAAE;;2FASD,aAAa;kBAZzB,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE,EAAE;oBACZ,cAAc,EAAE,CAAC,aAAa,CAAC;oBAC/B,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 { ComboboxInput } from '@angular/aria/combobox';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'input[scSelectInput]',\n imports: [],\n template: ``,\n hostDirectives: [ComboboxInput],\n host: {\n 'data-slot': 'select-input',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectInput {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'absolute inset-0 h-full w-full cursor-pointer border-none bg-transparent opacity-0 outline-none',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { computed, Directive, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSelectItemIndicator {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('pointer-events-none absolute right-2 flex size-4 items-center justify-center opacity-0 [[aria-selected=true]>&]:opacity-100', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectItemIndicator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectItemIndicator, isStandalone: true, selector: "svg[scSelectItemIndicator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-item-indicator" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectItemIndicator, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'svg[scSelectItemIndicator]',
14
+ host: {
15
+ 'data-slot': 'select-item-indicator',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=select-item-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-item-indicator.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-item-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,qBAAqB;IACvB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,6HAA6H,EAC7H,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,qBAAqB;2FAArB,qBAAqB;;2FAArB,qBAAqB;kBAPjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,IAAI,EAAE;wBACJ,WAAW,EAAE,uBAAuB;wBACpC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'svg[scSelectItemIndicator]',\n host: {\n 'data-slot': 'select-item-indicator',\n '[class]': 'class()',\n },\n})\nexport class ScSelectItemIndicator {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'pointer-events-none absolute right-2 flex size-4 items-center justify-center opacity-0 [[aria-selected=true]>&]:opacity-100',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,49 @@
1
+ import { Option } from '@angular/aria/listbox';
2
+ import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, ViewEncapsulation, } from '@angular/core';
3
+ import { SiCheckIcon } from '@semantic-icons/lucide-icons';
4
+ import { cn } from '../../utils';
5
+ import { ScSelectItemIndicator } from './select-item-indicator';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/aria/listbox";
8
+ export class ScSelectItem {
9
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
10
+ option = inject(Option);
11
+ elementRef = inject(ElementRef);
12
+ constructor() {
13
+ effect(() => {
14
+ if (this.option.active()) {
15
+ this.elementRef.nativeElement.scrollIntoView({ block: 'nearest' });
16
+ }
17
+ });
18
+ }
19
+ class = computed(() => cn('relative flex w-full cursor-default select-none items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden', 'data-[active=true]:bg-accent data-[active=true]:text-accent-foreground', 'aria-selected:bg-accent/50 aria-selected:text-accent-foreground', 'data-disabled:pointer-events-none data-disabled:opacity-50', '[&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectItem, isStandalone: true, selector: "div[scSelectItem]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-item" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.Option, inputs: ["value", "value", "label", "label"] }], ngImport: i0, template: `
22
+ <ng-content />
23
+ <svg scSelectItemIndicator siCheckIcon aria-hidden="true"></svg>
24
+ `, isInline: true, dependencies: [{ kind: "directive", type: ScSelectItemIndicator, selector: "svg[scSelectItemIndicator]", inputs: ["class"] }, { kind: "component", type: SiCheckIcon, selector: "svg[siCheckIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectItem, decorators: [{
27
+ type: Component,
28
+ args: [{
29
+ selector: 'div[scSelectItem]',
30
+ imports: [ScSelectItemIndicator, SiCheckIcon],
31
+ template: `
32
+ <ng-content />
33
+ <svg scSelectItemIndicator siCheckIcon aria-hidden="true"></svg>
34
+ `,
35
+ hostDirectives: [
36
+ {
37
+ directive: Option,
38
+ inputs: ['value', 'label'],
39
+ },
40
+ ],
41
+ host: {
42
+ 'data-slot': 'select-item',
43
+ '[class]': 'class()',
44
+ },
45
+ encapsulation: ViewEncapsulation.None,
46
+ changeDetection: ChangeDetectionStrategy.OnPush,
47
+ }]
48
+ }], ctorParameters: () => [], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
49
+ //# sourceMappingURL=select-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-item.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,UAAU,EACV,MAAM,EACN,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;AAsBhE,MAAM,OAAO,YAAY;IACd,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAE3C,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACxB,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC,CAAC;IAE1E;QACE,MAAM,CAAC,GAAG,EAAE;YACV,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC;gBACzB,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;YACrE,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAEkB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,yHAAyH,EACzH,wEAAwE,EACxE,iEAAiE,EACjE,4DAA4D,EAC5D,iFAAiF,EACjF,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAvBS,YAAY;2FAAZ,YAAY,+YAjBb;;;GAGT,4DAJS,qBAAqB,0FAAE,WAAW;;2FAkBjC,YAAY;kBApBxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,OAAO,EAAE,CAAC,qBAAqB,EAAE,WAAW,CAAC;oBAC7C,QAAQ,EAAE;;;GAGT;oBACD,cAAc,EAAE;wBACd;4BACE,SAAS,EAAE,MAAM;4BACjB,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;yBAC3B;qBACF;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import { Option } from '@angular/aria/listbox';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SiCheckIcon } from '@semantic-icons/lucide-icons';\nimport { cn } from '../../utils';\n\nimport { ScSelectItemIndicator } from './select-item-indicator';\n\n@Component({\n selector: 'div[scSelectItem]',\n imports: [ScSelectItemIndicator, SiCheckIcon],\n template: `\n <ng-content />\n <svg scSelectItemIndicator siCheckIcon aria-hidden=\"true\"></svg>\n `,\n hostDirectives: [\n {\n directive: Option,\n inputs: ['value', 'label'],\n },\n ],\n host: {\n 'data-slot': 'select-item',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectItem {\n readonly classInput = input<string>('', { alias: 'class' });\n\n private readonly option = inject(Option);\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n constructor() {\n effect(() => {\n if (this.option.active()) {\n this.elementRef.nativeElement.scrollIntoView({ block: 'nearest' });\n }\n });\n }\n\n protected readonly class = computed(() =>\n cn(\n 'relative flex w-full cursor-default select-none items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden',\n 'data-[active=true]:bg-accent data-[active=true]:text-accent-foreground',\n 'aria-selected:bg-accent/50 aria-selected:text-accent-foreground',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n '[&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,37 @@
1
+ import { Combobox } from '@angular/aria/combobox';
2
+ import { Listbox } from '@angular/aria/listbox';
3
+ import { ChangeDetectionStrategy, Component, computed, inject, input, ViewEncapsulation, } from '@angular/core';
4
+ import { cn } from '../../utils';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/aria/listbox";
7
+ export class ScSelectList {
8
+ listbox = inject(Listbox);
9
+ values = computed(() => this.listbox.values(), ...(ngDevMode ? [{ debugName: "values" }] : []));
10
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
11
+ combobox = inject(Combobox);
12
+ class = computed(() => cn('bg-popover text-popover-foreground ring-foreground/10 relative z-50 mt-1 flex w-full max-h-44 min-w-36 flex-col overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1', this.combobox.expanded()
13
+ ? 'opacity-100 visible transition-[max-height,opacity,visibility] duration-150 ease-out'
14
+ : 'max-h-0 opacity-0 invisible transition-[max-height,opacity,visibility] duration-150 ease-in [transition-delay:0s,0s,150ms]', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectList, deps: [], target: i0.ɵɵFactoryTarget.Component });
16
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectList, isStandalone: true, selector: "div[scSelectList]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-list" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.Listbox }], ngImport: i0, template: `
17
+ <ng-content />
18
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectList, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'div[scSelectList]',
24
+ imports: [],
25
+ template: `
26
+ <ng-content />
27
+ `,
28
+ hostDirectives: [Listbox],
29
+ host: {
30
+ 'data-slot': 'select-list',
31
+ '[class]': 'class()',
32
+ },
33
+ encapsulation: ViewEncapsulation.None,
34
+ changeDetection: ChangeDetectionStrategy.OnPush,
35
+ }]
36
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
37
+ //# sourceMappingURL=select-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-list.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;;AAgBjC,MAAM,OAAO,YAAY;IACN,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,kDAAC,CAAC;IAC/C,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAE3C,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IAE1B,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,mLAAmL,EACnL,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;QACtB,CAAC,CAAC,sFAAsF;QACxF,CAAC,CAAC,4HAA4H,EAChI,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAfS,YAAY;2FAAZ,YAAY,kWAXb;;GAET;;2FASU,YAAY;kBAdxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,OAAO,EAAE,EAAE;oBACX,QAAQ,EAAE;;GAET;oBACD,cAAc,EAAE,CAAC,OAAO,CAAC;oBACzB,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import { Combobox } from '@angular/aria/combobox';\nimport { Listbox } from '@angular/aria/listbox';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { cn } from '../../utils';\n\n@Component({\n selector: 'div[scSelectList]',\n imports: [],\n template: `\n <ng-content />\n `,\n hostDirectives: [Listbox],\n host: {\n 'data-slot': 'select-list',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectList {\n private readonly listbox = inject(Listbox);\n readonly values = computed(() => this.listbox.values());\n readonly classInput = input<string>('', { alias: 'class' });\n\n private readonly combobox = inject(Combobox);\n\n protected readonly class = computed(() =>\n cn(\n 'bg-popover text-popover-foreground ring-foreground/10 relative z-50 mt-1 flex w-full max-h-44 min-w-36 flex-col overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1',\n this.combobox.expanded()\n ? 'opacity-100 visible transition-[max-height,opacity,visibility] duration-150 ease-out'\n : 'max-h-0 opacity-0 invisible transition-[max-height,opacity,visibility] duration-150 ease-in [transition-delay:0s,0s,150ms]',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { Directive, inject, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class ScSelectPortal {
4
+ templateRef = inject(TemplateRef);
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.5", type: ScSelectPortal, isStandalone: true, selector: "ng-template[scSelectPortal]", ngImport: i0 });
7
+ }
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectPortal, decorators: [{
9
+ type: Directive,
10
+ args: [{
11
+ selector: 'ng-template[scSelectPortal]',
12
+ }]
13
+ }] });
14
+ //# sourceMappingURL=select-portal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-portal.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;;AAK/D,MAAM,OAAO,cAAc;IAChB,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;uGADhC,cAAc;2FAAd,cAAc;;2FAAd,cAAc;kBAH1B,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;iBACxC","sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: 'ng-template[scSelectPortal]',\n})\nexport class ScSelectPortal {\n readonly templateRef = inject(TemplateRef);\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import { computed, Directive, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSelectTriggerIcon {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('text-muted-foreground pointer-events-none size-4 shrink-0', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectTriggerIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectTriggerIcon, isStandalone: true, selector: "svg[scSelectTriggerIcon]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-trigger-icon" }, properties: { "class": "class()" } }, ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectTriggerIcon, decorators: [{
11
+ type: Directive,
12
+ args: [{
13
+ selector: 'svg[scSelectTriggerIcon]',
14
+ host: {
15
+ 'data-slot': 'select-trigger-icon',
16
+ '[class]': 'class()',
17
+ },
18
+ }]
19
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
20
+ //# sourceMappingURL=select-trigger-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-trigger-icon.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-trigger-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AASjC,MAAM,OAAO,mBAAmB;IACrB,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IAEzC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,2DAA2D,EAC3D,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGARS,mBAAmB;2FAAnB,mBAAmB;;2FAAnB,mBAAmB;kBAP/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,IAAI,EAAE;wBACJ,WAAW,EAAE,qBAAqB;wBAClC,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\n@Directive({\n selector: 'svg[scSelectTriggerIcon]',\n host: {\n 'data-slot': 'select-trigger-icon',\n '[class]': 'class()',\n },\n})\nexport class ScSelectTriggerIcon {\n readonly classInput = input<string>('', { alias: 'class' });\n\n protected readonly class = computed(() =>\n cn(\n 'text-muted-foreground pointer-events-none size-4 shrink-0',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,52 @@
1
+ import { CdkOverlayOrigin } from '@angular/cdk/overlay';
2
+ import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, ViewEncapsulation, } from '@angular/core';
3
+ import { SiChevronDownIcon } from '@semantic-icons/lucide-icons';
4
+ import { cn } from '../../utils';
5
+ import { ScSelectInput } from './select-input';
6
+ import { ScSelectTriggerIcon } from './select-trigger-icon';
7
+ // Lazy import to avoid circular dependency
8
+ import { ScSelect } from './select';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@angular/cdk/overlay";
11
+ export class ScSelectTrigger {
12
+ overlayOrigin = inject(CdkOverlayOrigin);
13
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
14
+ ariaLabel = input('', { ...(ngDevMode ? { debugName: "ariaLabel" } : {}), alias: 'aria-label' });
15
+ select = inject(forwardRef(() => ScSelect));
16
+ placeholder = computed(() => this.select.placeholder(), ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
17
+ class = computed(() => cn('border-input dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 flex h-8 w-fit items-center justify-between gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors select-none outline-none focus-visible:ring-3 has-[[aria-disabled=true]]:cursor-not-allowed has-[[aria-disabled=true]]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectTrigger, isStandalone: true, selector: "div[scSelectTrigger]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-trigger" }, properties: { "class": "class()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0, template: `
20
+ <ng-content />
21
+ <input
22
+ scSelectInput
23
+ [attr.aria-label]="ariaLabel()"
24
+ [placeholder]="placeholder()"
25
+ />
26
+ <svg scSelectTriggerIcon siChevronDownIcon aria-hidden="true"></svg>
27
+ `, isInline: true, dependencies: [{ kind: "component", type: ScSelectInput, selector: "input[scSelectInput]", inputs: ["class"] }, { kind: "directive", type: ScSelectTriggerIcon, selector: "svg[scSelectTriggerIcon]", inputs: ["class"] }, { kind: "component", type: SiChevronDownIcon, selector: "svg[siChevronDownIcon]", inputs: ["width", "height", "viewBox", "fill", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectTrigger, decorators: [{
30
+ type: Component,
31
+ args: [{
32
+ selector: 'div[scSelectTrigger]',
33
+ imports: [ScSelectInput, ScSelectTriggerIcon, SiChevronDownIcon],
34
+ template: `
35
+ <ng-content />
36
+ <input
37
+ scSelectInput
38
+ [attr.aria-label]="ariaLabel()"
39
+ [placeholder]="placeholder()"
40
+ />
41
+ <svg scSelectTriggerIcon siChevronDownIcon aria-hidden="true"></svg>
42
+ `,
43
+ hostDirectives: [CdkOverlayOrigin],
44
+ host: {
45
+ 'data-slot': 'select-trigger',
46
+ '[class]': 'class()',
47
+ },
48
+ encapsulation: ViewEncapsulation.None,
49
+ changeDetection: ChangeDetectionStrategy.OnPush,
50
+ }]
51
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }] } });
52
+ //# sourceMappingURL=select-trigger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-trigger.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select-trigger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAsC5D,2CAA2C;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;;;AAjBpC,MAAM,OAAO,eAAe;IACjB,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACzC,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,SAAS,GAAG,KAAK,CAAS,EAAE,sDAAI,KAAK,EAAE,YAAY,GAAG,CAAC;IAE/C,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpD,WAAW,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,uDAAC,CAAC;IAE9C,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,+jBAA+jB,EAC/jB,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAbS,eAAe;2FAAf,eAAe,sfAjBhB;;;;;;;;GAQT,4DATS,aAAa,oFAAE,mBAAmB,wFAAE,iBAAiB;;2FAkBpD,eAAe;kBApB3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,OAAO,EAAE,CAAC,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,CAAC;oBAChE,QAAQ,EAAE;;;;;;;;GAQT;oBACD,cAAc,EAAE,CAAC,gBAAgB,CAAC;oBAClC,IAAI,EAAE;wBACJ,WAAW,EAAE,gBAAgB;wBAC7B,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import { CdkOverlayOrigin } from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n forwardRef,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SiChevronDownIcon } from '@semantic-icons/lucide-icons';\nimport { cn } from '../../utils';\n\nimport { ScSelectInput } from './select-input';\nimport { ScSelectTriggerIcon } from './select-trigger-icon';\n\n@Component({\n selector: 'div[scSelectTrigger]',\n imports: [ScSelectInput, ScSelectTriggerIcon, SiChevronDownIcon],\n template: `\n <ng-content />\n <input\n scSelectInput\n [attr.aria-label]=\"ariaLabel()\"\n [placeholder]=\"placeholder()\"\n />\n <svg scSelectTriggerIcon siChevronDownIcon aria-hidden=\"true\"></svg>\n `,\n hostDirectives: [CdkOverlayOrigin],\n host: {\n 'data-slot': 'select-trigger',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelectTrigger {\n readonly overlayOrigin = inject(CdkOverlayOrigin);\n readonly classInput = input<string>('', { alias: 'class' });\n readonly ariaLabel = input<string>('', { alias: 'aria-label' });\n\n private readonly select = inject(forwardRef(() => ScSelect));\n readonly placeholder = computed(() => this.select.placeholder());\n\n protected readonly class = computed(() =>\n cn(\n 'border-input dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 flex h-8 w-fit items-center justify-between gap-1.5 rounded-lg border bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors select-none outline-none focus-visible:ring-3 has-[[aria-disabled=true]]:cursor-not-allowed has-[[aria-disabled=true]]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5',\n this.classInput(),\n ),\n );\n}\n\n// Lazy import to avoid circular dependency\nimport { ScSelect } from './select';\n"]}
@@ -0,0 +1,28 @@
1
+ import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation, } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSelectValue {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ class = computed(() => cn('pointer-events-none', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectValue, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ScSelectValue, isStandalone: true, selector: "span[scSelectValue]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "select-value" }, properties: { "class": "class()" } }, ngImport: i0, template: `
9
+ <ng-content />
10
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelectValue, decorators: [{
13
+ type: Component,
14
+ args: [{
15
+ selector: 'span[scSelectValue]',
16
+ imports: [],
17
+ template: `
18
+ <ng-content />
19
+ `,
20
+ host: {
21
+ 'data-slot': 'select-value',
22
+ '[class]': 'class()',
23
+ },
24
+ encapsulation: ViewEncapsulation.None,
25
+ changeDetection: ChangeDetectionStrategy.OnPush,
26
+ }]
27
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
28
+ //# sourceMappingURL=select-value.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,92 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import { Combobox } from '@angular/aria/combobox';
3
+ import { ComboboxPopupContainer } from '@angular/aria/combobox';
4
+ import { OverlayModule } from '@angular/cdk/overlay';
5
+ import { ChangeDetectionStrategy, Component, computed, contentChild, effect, inject, input, model, ViewEncapsulation, } from '@angular/core';
6
+ import { SIGNAL, signalSetFn } from '@angular/core/primitives/signals';
7
+ import { cn } from '../../utils';
8
+ import { ScSelectList } from './select-list';
9
+ import { ScSelectPortal } from './select-portal';
10
+ import { ScSelectTrigger } from './select-trigger';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "@angular/aria/combobox";
13
+ import * as i2 from "@angular/cdk/overlay";
14
+ export class ScSelect {
15
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
16
+ placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
17
+ value = model('', ...(ngDevMode ? [{ debugName: "value" }] : []));
18
+ trigger = contentChild(ScSelectTrigger, ...(ngDevMode ? [{ debugName: "trigger" }] : []));
19
+ content = contentChild(ScSelectList, { ...(ngDevMode ? { debugName: "content" } : {}), descendants: true });
20
+ selectPortal = contentChild.required(ScSelectPortal);
21
+ origin = computed(() => this.trigger()?.overlayOrigin, ...(ngDevMode ? [{ debugName: "origin" }] : []));
22
+ values = computed(() => this.content()?.values() ?? [], ...(ngDevMode ? [{ debugName: "values" }] : []));
23
+ displayValue = computed(() => this.value() || this.placeholder(), ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
24
+ class = computed(() => cn('relative', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
25
+ combobox = inject(Combobox);
26
+ constructor() {
27
+ effect(() => signalSetFn(this.combobox.readonly[SIGNAL], true));
28
+ // Sync listbox selection → model
29
+ effect(() => {
30
+ const vals = this.values();
31
+ const selected = vals.length > 0 ? String(vals[0]) : '';
32
+ this.value.set(selected);
33
+ });
34
+ }
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: ScSelect, isStandalone: true, selector: "div[scSelect]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "data-slot": "select" }, properties: { "class": "class()" } }, queries: [{ propertyName: "trigger", first: true, predicate: ScSelectTrigger, descendants: true, isSignal: true }, { propertyName: "content", first: true, predicate: ScSelectList, descendants: true, isSignal: true }, { propertyName: "selectPortal", first: true, predicate: ScSelectPortal, descendants: true, isSignal: true }], exportAs: ["scSelect"], hostDirectives: [{ directive: i1.Combobox }], ngImport: i0, template: `
37
+ <ng-content />
38
+ <ng-template ngComboboxPopupContainer>
39
+ @if (origin(); as origin) {
40
+ <ng-template
41
+ [cdkConnectedOverlay]="{
42
+ origin,
43
+ usePopover: 'inline',
44
+ matchWidth: true,
45
+ }"
46
+ [cdkConnectedOverlayOpen]="true"
47
+ >
48
+ <ng-container [ngTemplateOutlet]="selectPortal().templateRef" />
49
+ </ng-template>
50
+ }
51
+ </ng-template>
52
+ `, isInline: true, dependencies: [{ kind: "directive", type: ComboboxPopupContainer, selector: "ng-template[ngComboboxPopupContainer]", exportAs: ["ngComboboxPopupContainer"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i2.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSelect, decorators: [{
55
+ type: Component,
56
+ args: [{
57
+ selector: 'div[scSelect]',
58
+ exportAs: 'scSelect',
59
+ imports: [Combobox, ComboboxPopupContainer, OverlayModule, NgTemplateOutlet],
60
+ hostDirectives: [
61
+ {
62
+ directive: Combobox,
63
+ },
64
+ ],
65
+ template: `
66
+ <ng-content />
67
+ <ng-template ngComboboxPopupContainer>
68
+ @if (origin(); as origin) {
69
+ <ng-template
70
+ [cdkConnectedOverlay]="{
71
+ origin,
72
+ usePopover: 'inline',
73
+ matchWidth: true,
74
+ }"
75
+ [cdkConnectedOverlayOpen]="true"
76
+ >
77
+ <ng-container [ngTemplateOutlet]="selectPortal().templateRef" />
78
+ </ng-template>
79
+ }
80
+ </ng-template>
81
+ `,
82
+ host: {
83
+ 'data-slot': 'select',
84
+ '[class]': 'class()',
85
+ },
86
+ encapsulation: ViewEncapsulation.None,
87
+ changeDetection: ChangeDetectionStrategy.OnPush,
88
+ }]
89
+ }], ctorParameters: () => [], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], trigger: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ScSelectTrigger), { isSignal: true }] }], content: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ScSelectList), { ...{
90
+ descendants: true,
91
+ }, isSignal: true }] }], selectPortal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ScSelectPortal), { isSignal: true }] }] } });
92
+ //# sourceMappingURL=select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/select/select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,MAAM,EACN,KAAK,EACL,KAAK,EACL,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;;;;AAmCnD,MAAM,OAAO,QAAQ;IACV,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,WAAW,GAAG,KAAK,CAAS,EAAE,uDAAC,CAAC;IAChC,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC,CAAC;IAElB,OAAO,GAAG,YAAY,CAAC,eAAe,mDAAC,CAAC;IACxC,OAAO,GAAG,YAAY,CAAC,YAAY,oDAClD,WAAW,EAAE,IAAI,GACjB,CAAC;IACgB,YAAY,GAAG,YAAY,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IAE/D,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,aAAa,kDAAC,CAAC;IACvD,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,kDAAC,CAAC;IACxD,YAAY,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,wDAAC,CAAC;IACxD,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,iDAAC,CAAC;IAE5D,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IAE7C;QACE,MAAM,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;QAEhE,iCAAiC;QACjC,MAAM,CAAC,GAAG,EAAE;YACV,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;YAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACxD,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;uGA3BU,QAAQ;2FAAR,QAAQ,snBAKqB,eAAe,0FACf,YAAY,+FAGI,cAAc,sIAjC5D;;;;;;;;;;;;;;;;GAgBT,4DAtBmB,sBAAsB,yHAAE,aAAa,0nCAAE,gBAAgB;;2FA8BhE,QAAQ;kBAjCpB,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,QAAQ,EAAE,UAAU;oBACpB,OAAO,EAAE,CAAC,QAAQ,EAAE,sBAAsB,EAAE,aAAa,EAAE,gBAAgB,CAAC;oBAC5E,cAAc,EAAE;wBACd;4BACE,SAAS,EAAE,QAAQ;yBACpB;qBACF;oBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;GAgBT;oBACD,IAAI,EAAE;wBACJ,WAAW,EAAE,QAAQ;wBACrB,SAAS,EAAE,SAAS;qBACrB;oBACD,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;icAMyC,eAAe,yFACf,YAAY,QAAE;4BACpD,WAAW,EAAE,IAAI;yBAClB,2FACuD,cAAc","sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { Combobox } from '@angular/aria/combobox';\nimport { ComboboxPopupContainer } from '@angular/aria/combobox';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n ViewEncapsulation,\n} from '@angular/core';\nimport { SIGNAL, signalSetFn } from '@angular/core/primitives/signals';\nimport type { FormValueControl } from '@angular/forms/signals';\nimport { cn } from '../../utils';\nimport { ScSelectList } from './select-list';\nimport { ScSelectPortal } from './select-portal';\nimport { ScSelectTrigger } from './select-trigger';\n\n@Component({\n selector: 'div[scSelect]',\n exportAs: 'scSelect',\n imports: [Combobox, ComboboxPopupContainer, OverlayModule, NgTemplateOutlet],\n hostDirectives: [\n {\n directive: Combobox,\n },\n ],\n template: `\n <ng-content />\n <ng-template ngComboboxPopupContainer>\n @if (origin(); as origin) {\n <ng-template\n [cdkConnectedOverlay]=\"{\n origin,\n usePopover: 'inline',\n matchWidth: true,\n }\"\n [cdkConnectedOverlayOpen]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"selectPortal().templateRef\" />\n </ng-template>\n }\n </ng-template>\n `,\n host: {\n 'data-slot': 'select',\n '[class]': 'class()',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ScSelect implements FormValueControl<string> {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly placeholder = input<string>('');\n readonly value = model<string>('');\n\n private readonly trigger = contentChild(ScSelectTrigger);\n private readonly content = contentChild(ScSelectList, {\n descendants: true,\n });\n protected readonly selectPortal = contentChild.required(ScSelectPortal);\n\n readonly origin = computed(() => this.trigger()?.overlayOrigin);\n readonly values = computed(() => this.content()?.values() ?? []);\n readonly displayValue = computed(() => this.value() || this.placeholder());\n protected readonly class = computed(() => cn('relative', this.classInput()));\n\n private readonly combobox = inject(Combobox);\n\n constructor() {\n effect(() => signalSetFn(this.combobox.readonly[SIGNAL], true));\n\n // Sync listbox selection → model\n effect(() => {\n const vals = this.values();\n const selected = vals.length > 0 ? String(vals[0]) : '';\n this.value.set(selected);\n });\n }\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './separator';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/separator/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './separator';\n"]}
@@ -0,0 +1,26 @@
1
+ import { computed, Directive, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import * as i0 from "@angular/core";
4
+ export class ScSeparator {
5
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
6
+ orientation = input('horizontal', ...(ngDevMode ? [{ debugName: "orientation" }] : []));
7
+ decorative = input(true, ...(ngDevMode ? [{ debugName: "decorative" }] : []));
8
+ class = computed(() => cn('shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSeparator, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSeparator, isStandalone: true, selector: "div[scSeparator]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "separator" }, properties: { "attr.role": "decorative() ? \"none\" : \"separator\"", "attr.aria-orientation": "decorative() ? null : orientation()", "attr.aria-hidden": "decorative() ? \"true\" : null", "attr.data-orientation": "orientation()", "class": "class()" } }, ngImport: i0 });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSeparator, decorators: [{
13
+ type: Directive,
14
+ args: [{
15
+ selector: 'div[scSeparator]',
16
+ host: {
17
+ 'data-slot': 'separator',
18
+ '[attr.role]': 'decorative() ? "none" : "separator"',
19
+ '[attr.aria-orientation]': 'decorative() ? null : orientation()',
20
+ '[attr.aria-hidden]': 'decorative() ? "true" : null',
21
+ '[attr.data-orientation]': 'orientation()',
22
+ '[class]': 'class()',
23
+ },
24
+ }]
25
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], decorative: [{ type: i0.Input, args: [{ isSignal: true, alias: "decorative", required: false }] }] } });
26
+ //# sourceMappingURL=separator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/separator/separator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;;AAejC,MAAM,OAAO,WAAW;IACb,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,WAAW,GAAG,KAAK,CAAyB,YAAY,uDAAC,CAAC;IAC1D,UAAU,GAAG,KAAK,CAAU,IAAI,sDAAC,CAAC;IAExB,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,6HAA6H,EAC7H,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;uGAVS,WAAW;2FAAX,WAAW;;2FAAX,WAAW;kBAXvB,SAAS;mBAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,IAAI,EAAE;wBACJ,WAAW,EAAE,WAAW;wBACxB,aAAa,EAAE,qCAAqC;wBACpD,yBAAyB,EAAE,qCAAqC;wBAChE,oBAAoB,EAAE,8BAA8B;wBACpD,yBAAyB,EAAE,eAAe;wBAC1C,SAAS,EAAE,SAAS;qBACrB;iBACF","sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cn } from '../../utils';\n\nexport type ScSeparatorOrientation = 'horizontal' | 'vertical';\n\n@Directive({\n selector: 'div[scSeparator]',\n host: {\n 'data-slot': 'separator',\n '[attr.role]': 'decorative() ? \"none\" : \"separator\"',\n '[attr.aria-orientation]': 'decorative() ? null : orientation()',\n '[attr.aria-hidden]': 'decorative() ? \"true\" : null',\n '[attr.data-orientation]': 'orientation()',\n '[class]': 'class()',\n },\n})\nexport class ScSeparator {\n readonly classInput = input<string>('', { alias: 'class' });\n readonly orientation = input<ScSeparatorOrientation>('horizontal');\n readonly decorative = input<boolean>(true);\n\n protected readonly class = computed(() =>\n cn(\n 'shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px',\n this.classInput(),\n ),\n );\n}\n"]}
@@ -0,0 +1,10 @@
1
+ export { ScSheetProvider } from './sheet-provider';
2
+ export { ScSheetTrigger } from './sheet-trigger';
3
+ export { ScSheetPortal } from './sheet-portal';
4
+ export { ScSheet } from './sheet';
5
+ export { ScSheetHeader } from './sheet-header';
6
+ export { ScSheetTitle } from './sheet-title';
7
+ export { ScSheetDescription } from './sheet-description';
8
+ export { ScSheetFooter } from './sheet-footer';
9
+ export { ScSheetClose } from './sheet-close';
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { ScSheetProvider } from './sheet-provider';\nexport type { ScSheetSide } from './sheet-provider';\nexport { ScSheetTrigger } from './sheet-trigger';\nexport { ScSheetPortal } from './sheet-portal';\nexport { ScSheet } from './sheet';\nexport { ScSheetHeader } from './sheet-header';\nexport { ScSheetTitle } from './sheet-title';\nexport { ScSheetDescription } from './sheet-description';\nexport { ScSheetFooter } from './sheet-footer';\nexport { ScSheetClose } from './sheet-close';\n"]}
@@ -0,0 +1,29 @@
1
+ import { computed, Directive, inject, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import { ScSheetProvider } from './sheet-provider';
4
+ import { buttonVariants } from '../button';
5
+ import * as i0 from "@angular/core";
6
+ export class ScSheetClose {
7
+ sheetProvider = inject(ScSheetProvider);
8
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
9
+ variant = input('ghost', ...(ngDevMode ? [{ debugName: "variant" }] : []));
10
+ size = input('icon-sm', ...(ngDevMode ? [{ debugName: "size" }] : []));
11
+ class = computed(() => cn(buttonVariants({ variant: this.variant(), size: this.size() }), 'absolute top-3 right-3 z-10', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
12
+ closeSheet() {
13
+ this.sheetProvider.open.set(false);
14
+ }
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSheetClose, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSheetClose, isStandalone: true, selector: "button[scSheetClose]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", 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 } }, host: { attributes: { "data-slot": "sheet-close" }, listeners: { "click": "closeSheet()" }, properties: { "class": "class()" } }, ngImport: i0 });
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSheetClose, decorators: [{
19
+ type: Directive,
20
+ args: [{
21
+ selector: 'button[scSheetClose]',
22
+ host: {
23
+ 'data-slot': 'sheet-close',
24
+ '[class]': 'class()',
25
+ '(click)': 'closeSheet()',
26
+ },
27
+ }]
28
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
29
+ //# sourceMappingURL=sheet-close.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet-close.js","sourceRoot":"","sources":["../../../../../../../libs/ui/src/lib/components/sheet/sheet-close.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAoB,MAAM,WAAW,CAAC;;AAU7D,MAAM,OAAO,YAAY;IACN,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;IAEhD,UAAU,GAAG,KAAK,CAAS,EAAE,uDAAI,KAAK,EAAE,OAAO,GAAG,CAAC;IACnD,OAAO,GAAG,KAAK,CAA8B,OAAO,mDAAC,CAAC;IACtD,IAAI,GAAG,KAAK,CAA2B,SAAS,gDAAC,CAAC;IAExC,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CACvC,EAAE,CACA,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAC9D,6BAA6B,EAC7B,IAAI,CAAC,UAAU,EAAE,CAClB,iDACF,CAAC;IAEQ,UAAU;QAClB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;uGAjBU,YAAY;2FAAZ,YAAY;;2FAAZ,YAAY;kBARxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,IAAI,EAAE;wBACJ,WAAW,EAAE,aAAa;wBAC1B,SAAS,EAAE,SAAS;wBACpB,SAAS,EAAE,cAAc;qBAC1B;iBACF","sourcesContent":["import { computed, Directive, inject, input } from '@angular/core';\nimport { cn } from '../../utils';\nimport { ScSheetProvider } from './sheet-provider';\nimport { buttonVariants, ScButtonVariants } from '../button';\n\n@Directive({\n selector: 'button[scSheetClose]',\n host: {\n 'data-slot': 'sheet-close',\n '[class]': 'class()',\n '(click)': 'closeSheet()',\n },\n})\nexport class ScSheetClose {\n private readonly sheetProvider = inject(ScSheetProvider);\n\n readonly classInput = input<string>('', { alias: 'class' });\n readonly variant = input<ScButtonVariants['variant']>('ghost');\n readonly size = input<ScButtonVariants['size']>('icon-sm');\n\n protected readonly class = computed(() =>\n cn(\n buttonVariants({ variant: this.variant(), size: this.size() }),\n 'absolute top-3 right-3 z-10',\n this.classInput(),\n ),\n );\n\n protected closeSheet(): void {\n this.sheetProvider.open.set(false);\n }\n}\n"]}
@@ -0,0 +1,23 @@
1
+ import { computed, Directive, inject, input } from '@angular/core';
2
+ import { cn } from '../../utils';
3
+ import { ScSheet } from './sheet';
4
+ import * as i0 from "@angular/core";
5
+ export class ScSheetDescription {
6
+ sheet = inject(ScSheet);
7
+ classInput = input('', { ...(ngDevMode ? { debugName: "classInput" } : {}), alias: 'class' });
8
+ class = computed(() => cn('text-muted-foreground text-sm', this.classInput()), ...(ngDevMode ? [{ debugName: "class" }] : []));
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSheetDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.5", type: ScSheetDescription, isStandalone: true, selector: "p[scSheetDescription]", inputs: { classInput: { classPropertyName: "classInput", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "sheet-description" }, properties: { "id": "sheet.descriptionId", "class": "class()" } }, ngImport: i0 });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ScSheetDescription, decorators: [{
13
+ type: Directive,
14
+ args: [{
15
+ selector: 'p[scSheetDescription]',
16
+ host: {
17
+ 'data-slot': 'sheet-description',
18
+ '[id]': 'sheet.descriptionId',
19
+ '[class]': 'class()',
20
+ },
21
+ }]
22
+ }], propDecorators: { classInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
23
+ //# sourceMappingURL=sheet-description.js.map