@stachelock/ui 0.6.8 → 0.6.10

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 (355) hide show
  1. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-CMBsY5Y0.js → CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js} +2 -2
  2. package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-DacJtKYo.js → ComboboxInput.vue_vue_type_script_setup_true_lang-kHTj4Ju2.js} +88 -89
  3. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js → DayCalendar.vue_vue_type_script_setup_true_lang-BgV8wr8v.js} +1 -1
  4. package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-Bq8Gvhsc.js → DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js} +1 -1
  5. package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-CdNtWWlT.js → DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js} +4 -4
  6. package/dist/{EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js → EmailInput.vue_vue_type_script_setup_true_lang-CWEfbsJ_.js} +51 -49
  7. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js → InlineTabs.vue_vue_type_script_setup_true_lang-BWzrSbT3.js} +1 -1
  8. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js → MonthCalendar.vue_vue_type_style_index_0_lang-BdrrlrNr.js} +1 -1
  9. package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-DFfKsmvj.js → SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js} +132 -135
  10. package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-CtFVOrhm.js +304 -0
  11. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js → TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js} +1 -1
  12. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js} +1 -1
  13. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js → TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js} +1 -1
  14. package/dist/{calendar-DLry-Vik.js → calendar-DaXCwXP5.js} +1 -1
  15. package/dist/calendars/CalendarDashboard.d.ts +3 -1
  16. package/dist/calendars/CalendarDashboard.js +2 -2
  17. package/dist/calendars/CalendarHeader.d.ts +3 -1
  18. package/dist/calendars/CalendarHeader.js +1 -1
  19. package/dist/calendars/DayCalendar.d.ts +3 -1
  20. package/dist/calendars/DayCalendar.js +1 -1
  21. package/dist/calendars/EventCard.d.ts +3 -1
  22. package/dist/calendars/EventsList.d.ts +3 -1
  23. package/dist/calendars/MonthCalendar.d.ts +3 -1
  24. package/dist/calendars/MonthCalendar.js +1 -1
  25. package/dist/calendars/WeekCalendar.d.ts +3 -1
  26. package/dist/calendars/WeekCalendar.js +2 -2
  27. package/dist/calendars/YearCalendar.d.ts +3 -1
  28. package/dist/charts/BarChart.d.ts +3 -1
  29. package/dist/charts/BaseChart.d.ts +3 -1
  30. package/dist/charts/FunnelChart.d.ts +3 -1
  31. package/dist/charts/LineChart.d.ts +3 -1
  32. package/dist/charts/PieChart.d.ts +3 -1
  33. package/dist/charts/SparklineChart.d.ts +3 -1
  34. package/dist/charts/StatCard.d.ts +3 -1
  35. package/dist/charts/chartTheme.d.ts +0 -3
  36. package/dist/charts/index.d.ts +0 -1
  37. package/dist/components/Avatar.d.ts +3 -1
  38. package/dist/components/Badge.d.ts +3 -1
  39. package/dist/components/Banner.d.ts +3 -1
  40. package/dist/components/Breadcrumb.d.ts +3 -1
  41. package/dist/components/Button.d.ts +3 -1
  42. package/dist/components/ButtonGroup.d.ts +3 -1
  43. package/dist/components/Checkbox.d.ts +3 -1
  44. package/dist/components/CloudinaryImage.d.ts +3 -1
  45. package/dist/components/CloudinaryImage.js +52 -52
  46. package/dist/components/Loading.d.ts +3 -1
  47. package/dist/components/LoadingDots.d.ts +3 -1
  48. package/dist/components/LottieAnimation.d.ts +3 -1
  49. package/dist/components/Menu.d.ts +3 -1
  50. package/dist/components/Modal.d.ts +3 -1
  51. package/dist/components/NavLink.d.ts +3 -1
  52. package/dist/components/ProgressBar.d.ts +3 -1
  53. package/dist/components/RadialProgressBar.d.ts +3 -1
  54. package/dist/components/Table.d.ts +3 -1
  55. package/dist/components/Transition.d.ts +3 -1
  56. package/dist/composables/index.d.ts +0 -1
  57. package/dist/composables/useCalendar.d.ts +0 -3
  58. package/dist/composables/useCalendar.js +1 -1
  59. package/dist/composables/useFormValidation.d.ts +0 -3
  60. package/dist/composables/useMap.d.ts +0 -3
  61. package/dist/composables/useModal.d.ts +0 -3
  62. package/dist/composables/useNotifications.d.ts +0 -3
  63. package/dist/composables/useNotifications.js +1 -1
  64. package/dist/composables/useTabs.d.ts +0 -1
  65. package/dist/composables/useTheme.d.ts +0 -3
  66. package/dist/empty-state/ComingSoon.d.ts +3 -1
  67. package/dist/empty-state/EmptyState.d.ts +3 -1
  68. package/dist/empty-state/index.d.ts +0 -1
  69. package/dist/forms/DynamicForm.d.ts +3 -1
  70. package/dist/forms/DynamicForm.js +1 -1
  71. package/dist/forms/DynamicFormField.d.ts +3 -1
  72. package/dist/forms/DynamicFormField.js +1 -1
  73. package/dist/forms/FormFieldWrapper.d.ts +3 -1
  74. package/dist/index.d.ts +0 -3
  75. package/dist/index.js +1677 -1341
  76. package/dist/inputs/AddDeleteButtonGroup.d.ts +3 -1
  77. package/dist/inputs/AddressInput.d.ts +3 -1
  78. package/dist/inputs/AddressInput.js +22 -21
  79. package/dist/inputs/CheckboxInput.d.ts +3 -1
  80. package/dist/inputs/ComboboxInput.d.ts +3 -1
  81. package/dist/inputs/ComboboxInput.js +1 -1
  82. package/dist/inputs/DatepickerInput.d.ts +3 -1
  83. package/dist/inputs/EmailInput.d.ts +3 -1
  84. package/dist/inputs/EmailInput.js +1 -1
  85. package/dist/inputs/EmptyInput.d.ts +3 -1
  86. package/dist/inputs/FileDropzoneInput.d.ts +3 -1
  87. package/dist/inputs/HiddenInput.d.ts +3 -1
  88. package/dist/inputs/ImageDropzoneInput.d.ts +3 -1
  89. package/dist/inputs/PhoneInput.d.ts +3 -1
  90. package/dist/inputs/PhoneInput.js +146 -145
  91. package/dist/inputs/RichTextInput.d.ts +3 -1
  92. package/dist/inputs/SelectInput.d.ts +3 -1
  93. package/dist/inputs/SelectInput.js +1 -1
  94. package/dist/inputs/SelectTextInput.d.ts +3 -1
  95. package/dist/inputs/SelectTextInput.js +1 -1
  96. package/dist/inputs/SwitchInput.d.ts +3 -1
  97. package/dist/inputs/SwitchInputGroup.d.ts +3 -1
  98. package/dist/inputs/TagifyInput.d.ts +3 -1
  99. package/dist/inputs/TextAreaInput.d.ts +3 -1
  100. package/dist/inputs/TextInput.d.ts +3 -1
  101. package/dist/inputs/TextInput.js +111 -3
  102. package/dist/layouts/DashboardLayout.d.ts +3 -1
  103. package/dist/layouts/DefaultLayout.d.ts +3 -1
  104. package/dist/layouts/HeaderLayout.d.ts +3 -1
  105. package/dist/layouts/NavigationGroup.d.ts +3 -1
  106. package/dist/layouts/NavigationItem.d.ts +3 -1
  107. package/dist/layouts/ProfileHeaderAvatar.d.ts +3 -1
  108. package/dist/layouts/ProjectLogo.d.ts +3 -1
  109. package/dist/layouts/SidebarLayout.d.ts +3 -1
  110. package/dist/loading/ContentSkeleton.d.ts +3 -1
  111. package/dist/loading/SmartLoadingIndicator.d.ts +3 -1
  112. package/dist/loading/index.d.ts +0 -1
  113. package/dist/maps/GoogleMap.d.ts +3 -1
  114. package/dist/maps/UiInfoWindow.d.ts +3 -1
  115. package/dist/maps/UiMap.d.ts +3 -1
  116. package/dist/maps/UiMapAll.d.ts +3 -1
  117. package/dist/maps/UiMapMarker.d.ts +3 -1
  118. package/dist/maps/index.d.ts +0 -1
  119. package/dist/modals/AlertModal.d.ts +3 -1
  120. package/dist/modals/BaseModal.d.ts +3 -1
  121. package/dist/modals/ImageCropperModal.d.ts +3 -1
  122. package/dist/notifications/NotificationContainer.d.ts +3 -1
  123. package/dist/notifications/NotificationToast.d.ts +3 -1
  124. package/dist/notifications/index.d.ts +0 -1
  125. package/dist/src/components/CloudinaryImage.d.ts +16 -14
  126. package/dist/src/components/LottieAnimation.d.ts +37 -6
  127. package/dist/src/components/ThemeDebugModal.d.ts +16 -6
  128. package/dist/src/components/UiAvatar.d.ts +35 -2
  129. package/dist/src/components/UiBadge.d.ts +33 -6
  130. package/dist/src/components/UiBanner.d.ts +108 -35
  131. package/dist/src/components/UiBreadcrumb.d.ts +11 -10
  132. package/dist/src/components/UiButton.d.ts +66 -13
  133. package/dist/src/components/UiButtonGroup.d.ts +37 -7
  134. package/dist/src/components/UiCheckbox.d.ts +33 -8
  135. package/dist/src/components/UiLoading.d.ts +28 -2
  136. package/dist/src/components/UiLoadingDots.d.ts +2 -2
  137. package/dist/src/components/UiMenu.d.ts +33 -5
  138. package/dist/src/components/UiModal.d.ts +3 -4
  139. package/dist/src/components/UiNavLink.d.ts +40 -6
  140. package/dist/src/components/UiProgressBar.d.ts +32 -3
  141. package/dist/src/components/UiRadialProgressBar.d.ts +34 -3
  142. package/dist/src/components/UiTable.d.ts +29 -6
  143. package/dist/src/components/UiTransition.d.ts +26 -3
  144. package/dist/src/components/avatars/AvatarIcon.d.ts +28 -6
  145. package/dist/src/components/avatars/AvatarImage.d.ts +30 -9
  146. package/dist/src/components/avatars/AvatarInitials.d.ts +24 -5
  147. package/dist/src/components/avatars/AvatarWithText.d.ts +4 -3
  148. package/dist/src/components/calendars/CalendarDashboard.d.ts +17 -5
  149. package/dist/src/components/calendars/CalendarHeader.d.ts +7 -8
  150. package/dist/src/components/calendars/DayCalendar.d.ts +17 -11
  151. package/dist/src/components/calendars/EventCard.d.ts +2 -1
  152. package/dist/src/components/calendars/EventsList.d.ts +18 -6
  153. package/dist/src/components/calendars/MonthCalendar.d.ts +30 -6
  154. package/dist/src/components/calendars/WeekCalendar.d.ts +16 -10
  155. package/dist/src/components/calendars/YearCalendar.d.ts +29 -5
  156. package/dist/src/components/charts/BarChart.d.ts +40 -7
  157. package/dist/src/components/charts/BaseChart.d.ts +80 -0
  158. package/dist/src/components/charts/FunnelChart.d.ts +34 -5
  159. package/dist/src/components/charts/LineChart.d.ts +37 -6
  160. package/dist/src/components/charts/PieChart.d.ts +37 -6
  161. package/dist/src/components/charts/SparklineChart.d.ts +32 -3
  162. package/dist/src/components/charts/StatCard.d.ts +24 -2
  163. package/dist/src/components/charts/chartTheme.d.ts +1 -0
  164. package/dist/src/components/collection-editor/CollectionEditor.d.ts +112 -0
  165. package/dist/src/components/collection-editor/CollectionItemList.d.ts +37 -7
  166. package/dist/src/components/collection-editor/OrganizationsEditor.d.ts +34 -8
  167. package/dist/src/components/collection-editor/RelatedNamesEditor.d.ts +37 -7
  168. package/dist/src/components/collection-editor/SocialLinksEditor.d.ts +37 -7
  169. package/dist/src/components/empty-state/ComingSoon.d.ts +29 -2
  170. package/dist/src/components/empty-state/EmptyState.d.ts +26 -4
  171. package/dist/src/components/formatters/DateFormatter.d.ts +2 -1
  172. package/dist/src/components/formatters/DateRangeFormatter.d.ts +1 -0
  173. package/dist/src/components/forms/DynamicForm.d.ts +37 -11
  174. package/dist/src/components/forms/DynamicFormField.d.ts +15 -5
  175. package/dist/src/components/forms/FormFieldWrapper.d.ts +58 -14
  176. package/dist/src/components/icons/brands/DiscordBrandIcon.d.ts +1 -1
  177. package/dist/src/components/icons/brands/FacebookBrandIcon.d.ts +1 -1
  178. package/dist/src/components/icons/brands/GitHubBrandIcon.d.ts +1 -1
  179. package/dist/src/components/icons/brands/InstagramBrandIcon.d.ts +1 -1
  180. package/dist/src/components/icons/brands/LinkedInBrandIcon.d.ts +1 -1
  181. package/dist/src/components/icons/brands/PinterestBrandIcon.d.ts +1 -1
  182. package/dist/src/components/icons/brands/SnapchatBrandIcon.d.ts +1 -1
  183. package/dist/src/components/icons/brands/ThreadsBrandIcon.d.ts +1 -1
  184. package/dist/src/components/icons/brands/TikTokBrandIcon.d.ts +1 -1
  185. package/dist/src/components/icons/brands/TwitchBrandIcon.d.ts +1 -1
  186. package/dist/src/components/icons/brands/XBrandIcon.d.ts +1 -1
  187. package/dist/src/components/icons/brands/YouTubeBrandIcon.d.ts +1 -1
  188. package/dist/src/components/index.d.ts +1 -0
  189. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -2
  190. package/dist/src/components/inputs/AddressInput.d.ts +45 -7
  191. package/dist/src/components/inputs/CheckboxInput.d.ts +37 -10
  192. package/dist/src/components/inputs/ComboboxInput.d.ts +54 -12
  193. package/dist/src/components/inputs/DatepickerInput.d.ts +43 -1046
  194. package/dist/src/components/inputs/EmailInput.d.ts +56 -12
  195. package/dist/src/components/inputs/EmptyInput.d.ts +26 -2
  196. package/dist/src/components/inputs/FileDropzoneInput.d.ts +6 -7
  197. package/dist/src/components/inputs/HiddenInput.d.ts +23 -2
  198. package/dist/src/components/inputs/ImageDropzoneInput.d.ts +9 -8
  199. package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
  200. package/dist/src/components/inputs/PhoneInput.d.ts +18 -81
  201. package/dist/src/components/inputs/RichTextInput.d.ts +81 -23
  202. package/dist/src/components/inputs/SelectInput.d.ts +41 -47
  203. package/dist/src/components/inputs/SelectTextInput.d.ts +22 -53
  204. package/dist/src/components/inputs/SwitchInput.d.ts +41 -114
  205. package/dist/src/components/inputs/SwitchInputGroup.d.ts +3 -2
  206. package/dist/src/components/inputs/TagifyInput.d.ts +8 -10
  207. package/dist/src/components/inputs/TextAreaInput.d.ts +35 -9
  208. package/dist/src/components/inputs/TextInput.d.ts +76 -14
  209. package/dist/src/components/layouts/CardLayout.d.ts +64 -18
  210. package/dist/src/components/layouts/DashboardLayout.d.ts +5 -8
  211. package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
  212. package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
  213. package/dist/src/components/layouts/InfoCard.d.ts +25 -2
  214. package/dist/src/components/layouts/NavigationGroup.d.ts +16 -5
  215. package/dist/src/components/layouts/NavigationItem.d.ts +24 -7
  216. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +40 -10
  217. package/dist/src/components/layouts/ProjectLogo.d.ts +33 -2
  218. package/dist/src/components/layouts/PropsTable.d.ts +23 -2
  219. package/dist/src/components/layouts/ShowcaseCard.d.ts +29 -2
  220. package/dist/src/components/layouts/ShowcaseLayout.d.ts +28 -5
  221. package/dist/src/components/layouts/SidebarLayout.d.ts +4 -7
  222. package/dist/src/components/layouts/StateDisplay.d.ts +23 -2
  223. package/dist/src/components/loading/ContentSkeleton.d.ts +31 -2
  224. package/dist/src/components/loading/SmartLoadingIndicator.d.ts +47 -6
  225. package/dist/src/components/maps/GoogleMap.d.ts +9 -8
  226. package/dist/src/components/maps/UiInfoWindow.d.ts +14 -229
  227. package/dist/src/components/maps/UiMap.d.ts +103 -5093
  228. package/dist/src/components/maps/UiMapAll.d.ts +22 -1132
  229. package/dist/src/components/maps/UiMapMarker.d.ts +18 -17
  230. package/dist/src/components/modals/AlertModal.d.ts +10 -9
  231. package/dist/src/components/modals/BaseModal.d.ts +6 -5
  232. package/dist/src/components/modals/ImageCropperModal.d.ts +75 -379
  233. package/dist/src/components/notifications/NotificationToast.d.ts +18 -7
  234. package/dist/src/components/profile-inputs/BaseInformationInput.d.ts +117 -0
  235. package/dist/src/components/profile-inputs/NamesInput.d.ts +107 -0
  236. package/dist/src/components/profile-inputs/index.d.ts +2 -0
  237. package/dist/src/components/profiles/BentoProfileLayout.d.ts +44 -2
  238. package/dist/src/components/profiles/BentoProfileLayoutSkeleton.d.ts +27 -2
  239. package/dist/src/components/profiles/ProfileCard.d.ts +30 -2
  240. package/dist/src/components/profiles/ProfileContactCard.d.ts +25 -2
  241. package/dist/src/components/profiles/ProfileHeaderCard.d.ts +26 -2
  242. package/dist/src/components/profiles/ProfileLocationCard.d.ts +28 -2
  243. package/dist/src/components/profiles/ProfileOrganizationsCard.d.ts +26 -2
  244. package/dist/src/components/profiles/ProfilePersonalCard.d.ts +25 -2
  245. package/dist/src/components/profiles/ProfileProfessionalCard.d.ts +26 -2
  246. package/dist/src/components/profiles/ProfileRelatedNamesCard.d.ts +26 -2
  247. package/dist/src/components/profiles/ProfileSocialCard.d.ts +26 -2
  248. package/dist/src/components/stepper/StepperPanels.d.ts +14 -4
  249. package/dist/src/components/tabs/InlineTabs.d.ts +28 -4
  250. package/dist/src/components/tabs/TabGroup.d.ts +32 -6
  251. package/dist/src/components/tabs/TabGroupUnderline.d.ts +32 -6
  252. package/dist/src/components/tabs/TabsInPills.d.ts +26 -4
  253. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +37 -2
  254. package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
  255. package/dist/src/components/wrappers/DisclosureWrapper.d.ts +23 -2
  256. package/dist/src/components/wrappers/FormErrorWrapper.d.ts +25 -2
  257. package/dist/src/composables/useCalendar.d.ts +1 -0
  258. package/dist/src/composables/useCollectionEditor.d.ts +1 -0
  259. package/dist/src/composables/useFormValidation.d.ts +1 -0
  260. package/dist/src/composables/useMap.d.ts +1 -0
  261. package/dist/src/composables/useNotifications.d.ts +33 -32
  262. package/dist/src/composables/useSimpleTabs.d.ts +1 -0
  263. package/dist/src/composables/useStringTransform.d.ts +1 -0
  264. package/dist/src/composables/useTabs.d.ts +1 -0
  265. package/dist/src/config/css-variables.d.ts +1 -0
  266. package/dist/src/dev.d.ts +1 -0
  267. package/dist/src/plugin/configure.d.ts +3 -2
  268. package/dist/src/services/geocoding.service.d.ts +1 -0
  269. package/dist/src/types/calendars.d.ts +1 -0
  270. package/dist/src/types/core.d.ts +8 -7
  271. package/dist/src/types/forms.d.ts +1 -0
  272. package/dist/src/types/layouts.d.ts +1 -0
  273. package/dist/src/types/navigation.d.ts +1 -0
  274. package/dist/src/types/tables.d.ts +1 -0
  275. package/dist/src/types/ui.d.ts +1 -0
  276. package/dist/src/utils/component-registry.d.ts +1 -0
  277. package/dist/src/utils/mapThemes.d.ts +1 -0
  278. package/dist/src/utils/phone.d.ts +1 -0
  279. package/dist/src/utils/validation.d.ts +1 -0
  280. package/dist/src/views/inputs/index.d.ts +1 -0
  281. package/dist/stepper/StepperPanels.d.ts +3 -1
  282. package/dist/stepper/index.d.ts +0 -1
  283. package/dist/style.css +1 -1
  284. package/dist/tabs/InlineTabs.d.ts +3 -1
  285. package/dist/tabs/InlineTabs.js +1 -1
  286. package/dist/tabs/TabGroup.d.ts +3 -1
  287. package/dist/tabs/TabGroup.js +1 -1
  288. package/dist/tabs/TabGroupUnderline.d.ts +3 -1
  289. package/dist/tabs/TabGroupUnderline.js +1 -1
  290. package/dist/tabs/TabsInPills.d.ts +3 -1
  291. package/dist/tabs/TabsInPills.js +1 -1
  292. package/dist/tabs/index.d.ts +0 -1
  293. package/dist/tabs/index.js +4 -4
  294. package/dist/validation-Dzczp6MS.js +22 -0
  295. package/dist/wrappers/BackgroundGradientWrapper.d.ts +3 -1
  296. package/dist/wrappers/CardWrapper.d.ts +3 -1
  297. package/dist/wrappers/DisclosureWrapper.d.ts +3 -1
  298. package/dist/wrappers/FormErrorWrapper.d.ts +3 -1
  299. package/dist/wrappers/index.d.ts +0 -1
  300. package/package.json +29 -29
  301. package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-C3BGLjY1.js +0 -336
  302. package/dist/TextInput-C5IzX7m_.js +0 -131
  303. package/dist/src/views/ButtonsShowcase.d.ts +0 -2
  304. package/dist/src/views/CalendarsShowcase.d.ts +0 -2
  305. package/dist/src/views/CardsShowcase.d.ts +0 -2
  306. package/dist/src/views/ChartsShowcase.d.ts +0 -2
  307. package/dist/src/views/EmptyStatesShowcase.d.ts +0 -2
  308. package/dist/src/views/InputsShowcase.d.ts +0 -2
  309. package/dist/src/views/KitchenSink.d.ts +0 -2
  310. package/dist/src/views/LayoutsShowcase.d.ts +0 -2
  311. package/dist/src/views/LoadingShowcase.d.ts +0 -2
  312. package/dist/src/views/MapsShowcase.d.ts +0 -2
  313. package/dist/src/views/ModalsShowcase.d.ts +0 -2
  314. package/dist/src/views/NotificationsShowcase.d.ts +0 -2
  315. package/dist/src/views/StepperShowcase.d.ts +0 -2
  316. package/dist/src/views/TabsShowcase.d.ts +0 -2
  317. package/dist/src/views/ValidationDemo.d.ts +0 -2
  318. package/dist/src/views/WrappersShowcase.d.ts +0 -2
  319. package/dist/src/views/components/AvatarPage.d.ts +0 -2
  320. package/dist/src/views/components/BadgePage.d.ts +0 -2
  321. package/dist/src/views/components/BannerPage.d.ts +0 -2
  322. package/dist/src/views/components/BreadcrumbPage.d.ts +0 -2
  323. package/dist/src/views/components/ButtonPage.d.ts +0 -2
  324. package/dist/src/views/components/CloudinaryImagePage.d.ts +0 -2
  325. package/dist/src/views/components/LoadingPage.d.ts +0 -2
  326. package/dist/src/views/components/LottiePage.d.ts +0 -2
  327. package/dist/src/views/components/MenuPage.d.ts +0 -2
  328. package/dist/src/views/components/ModalPage.d.ts +0 -2
  329. package/dist/src/views/components/ProgressPage.d.ts +0 -2
  330. package/dist/src/views/components/RichTextInputPage.d.ts +0 -2
  331. package/dist/src/views/components/TablePage.d.ts +0 -2
  332. package/dist/src/views/components/TextInputPage.d.ts +0 -2
  333. package/dist/src/views/components/TransitionPage.d.ts +0 -2
  334. package/dist/src/views/examples/CheckoutFormExample.d.ts +0 -2
  335. package/dist/src/views/examples/ContactFormExample.d.ts +0 -2
  336. package/dist/src/views/examples/RegistrationFormExample.d.ts +0 -2
  337. package/dist/src/views/examples/SettingsFormExample.d.ts +0 -2
  338. package/dist/src/views/forms/ValidationPage.d.ts +0 -2
  339. package/dist/src/views/inputs/CheckboxPage.d.ts +0 -2
  340. package/dist/src/views/inputs/ComboboxPage.d.ts +0 -2
  341. package/dist/src/views/inputs/DatepickerPage.d.ts +0 -2
  342. package/dist/src/views/inputs/EmailPage.d.ts +0 -2
  343. package/dist/src/views/inputs/FileDropzonePage.d.ts +0 -2
  344. package/dist/src/views/inputs/MiscInputsPage.d.ts +0 -2
  345. package/dist/src/views/inputs/PhonePage.d.ts +0 -2
  346. package/dist/src/views/inputs/SelectPage.d.ts +0 -2
  347. package/dist/src/views/inputs/SelectTextPage.d.ts +0 -2
  348. package/dist/src/views/inputs/SwitchGroupPage.d.ts +0 -2
  349. package/dist/src/views/inputs/SwitchPage.d.ts +0 -2
  350. package/dist/src/views/inputs/TextAreaPage.d.ts +0 -2
  351. package/dist/src/views/layouts/CardLayoutPage.d.ts +0 -2
  352. package/dist/src/views/layouts/DashboardLayoutPage.d.ts +0 -2
  353. package/dist/src/views/layouts/HeaderLayoutPage.d.ts +0 -2
  354. package/dist/src/views/layouts/SidebarLayoutPage.d.ts +0 -2
  355. package/dist/ui.css +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js";
1
+ import { _ as f } from "../TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/tabs/TabGroupUnderline'
2
+ import StachelockUI from '../src/components/tabs/TabGroupUnderline'
3
+ export default StachelockUI
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js";
1
+ import { _ as f } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/tabs/TabsInPills'
2
+ import StachelockUI from '../src/components/tabs/TabsInPills'
3
+ export default StachelockUI
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js";
1
+ import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,2 +1 @@
1
1
  export * from '../src/components/tabs/index'
2
- export {}
@@ -1,7 +1,7 @@
1
- import { _ as a } from "../InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js";
2
- import { _ as s } from "../TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js";
3
- import { _ as n } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js";
4
- import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js";
1
+ import { _ as a } from "../InlineTabs.vue_vue_type_script_setup_true_lang-BWzrSbT3.js";
2
+ import { _ as s } from "../TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js";
3
+ import { _ as n } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js";
4
+ import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js";
5
5
  export {
6
6
  a as InlineTabs,
7
7
  s as TabGroup,
@@ -0,0 +1,22 @@
1
+ function n(e) {
2
+ if (!e || typeof e == "object" && Object.keys(e).length === 0) return !0;
3
+ if (typeof e == "object" && "spec" in e)
4
+ return e.spec?.presence !== "required";
5
+ if (typeof e == "object" && "tests" in e && Array.isArray(e.tests))
6
+ return !e.tests.some(
7
+ (r) => r.OPTIONS?.name === "required" || r.name === "required"
8
+ );
9
+ if (typeof e == "object" && typeof e.describe == "function")
10
+ try {
11
+ const t = e.describe();
12
+ if (t.tests)
13
+ return !t.tests.some(
14
+ (r) => r.name === "required"
15
+ );
16
+ } catch {
17
+ }
18
+ return !0;
19
+ }
20
+ export {
21
+ n as i
22
+ };
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/wrappers/BackgroundGradientWrapper'
2
+ import StachelockUI from '../src/components/wrappers/BackgroundGradientWrapper'
3
+ export default StachelockUI
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/wrappers/CardWrapper'
2
+ import StachelockUI from '../src/components/wrappers/CardWrapper'
3
+ export default StachelockUI
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/wrappers/DisclosureWrapper'
2
+ import StachelockUI from '../src/components/wrappers/DisclosureWrapper'
3
+ export default StachelockUI
@@ -1 +1,3 @@
1
- export {}
1
+ export * from '../src/components/wrappers/FormErrorWrapper'
2
+ import StachelockUI from '../src/components/wrappers/FormErrorWrapper'
3
+ export default StachelockUI
@@ -1,2 +1 @@
1
1
  export * from '../src/components/wrappers/index'
2
- export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stachelock/ui",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "A comprehensive Vue 3 UI component library built with Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -121,29 +121,28 @@
121
121
  },
122
122
  "homepage": "https://github.com/stachelock/ui#readme",
123
123
  "peerDependencies": {
124
- "tailwindcss": "^3.4.0",
125
124
  "vue": "^3.3.0"
126
125
  },
127
126
  "dependencies": {
128
127
  "@cloudinary/url-gen": "^1.11.2",
129
128
  "@cloudinary/vue": "^1.11.2",
130
129
  "@googlemaps/js-api-loader": "^1.16.2",
131
- "@headlessui/vue": "^1.7.16",
132
- "@heroicons/vue": "^2.0.18",
130
+ "@headlessui/vue": "^1.7.23",
131
+ "@heroicons/vue": "^2.2.0",
133
132
  "@tanstack/table-core": "^8.20.5",
134
133
  "@tanstack/vue-table": "^8.20.5",
135
- "@tiptap/extension-highlight": "^2.27.2",
136
- "@tiptap/extension-link": "^2.1.16",
137
- "@tiptap/extension-placeholder": "^2.27.2",
138
- "@tiptap/extension-task-item": "^2.27.2",
139
- "@tiptap/extension-task-list": "^2.27.2",
140
- "@tiptap/extension-text-align": "^2.27.2",
141
- "@tiptap/extension-underline": "^2.27.2",
142
- "@tiptap/pm": "^2.1.16",
143
- "@tiptap/starter-kit": "^2.1.16",
144
- "@tiptap/vue-3": "^2.1.16",
134
+ "@tiptap/extension-highlight": "^3.15.3",
135
+ "@tiptap/extension-link": "^3.15.3",
136
+ "@tiptap/extension-placeholder": "^3.15.3",
137
+ "@tiptap/extension-task-item": "^3.15.3",
138
+ "@tiptap/extension-task-list": "^3.15.3",
139
+ "@tiptap/extension-text-align": "^3.15.3",
140
+ "@tiptap/extension-underline": "^3.15.3",
141
+ "@tiptap/pm": "^3.15.3",
142
+ "@tiptap/starter-kit": "^3.15.3",
143
+ "@tiptap/vue-3": "^3.15.3",
145
144
  "@vuepic/vue-datepicker": "^7.4.1",
146
- "@vueuse/core": "^10.11.0",
145
+ "@vueuse/core": "^14.1.0",
147
146
  "date-fns": "^3.6.0",
148
147
  "dayjs": "^1.11.11",
149
148
  "echarts": "^5.6.0",
@@ -161,39 +160,40 @@
161
160
  },
162
161
  "devDependencies": {
163
162
  "@rushstack/eslint-patch": "^1.3.3",
164
- "@storybook/addon-docs": "^7.6.10",
165
- "@storybook/addon-essentials": "^7.6.10",
166
- "@storybook/addon-interactions": "^7.6.10",
167
- "@storybook/addon-links": "^7.6.10",
168
- "@storybook/blocks": "^7.6.10",
163
+ "@storybook/addon-docs": "8.6",
164
+ "@storybook/addon-essentials": "8.6",
165
+ "@storybook/addon-interactions": "8.6",
166
+ "@storybook/addon-links": "8.6",
167
+ "@storybook/blocks": "8.6",
168
+ "@storybook/test": "^8.6.15",
169
169
  "@storybook/testing-library": "^0.2.2",
170
- "@storybook/vue3": "^7.6.10",
171
- "@storybook/vue3-vite": "^7.6.10",
170
+ "@storybook/vue3": "8.6",
171
+ "@storybook/vue3-vite": "8.6",
172
172
  "@tailwindcss/forms": "^0.5.7",
173
- "@tailwindcss/typography": "^0.5.10",
173
+ "@tailwindcss/typography": "^0.5.15",
174
174
  "@testing-library/vue": "^8.0.1",
175
175
  "@tsconfig/node18": "^18.2.2",
176
176
  "@types/google.maps": "^3.58.1",
177
177
  "@types/lodash-es": "^4.17.12",
178
- "@types/node": "^18.19.3",
178
+ "@types/node": "^22.19.6",
179
179
  "@vitejs/plugin-vue": "^5.2.1",
180
- "@vitest/coverage-v8": "^1.0.0",
181
- "@vitest/ui": "^1.0.0",
180
+ "@vitest/coverage-v8": "^4.0.16",
181
+ "@vitest/ui": "^4.0.16",
182
182
  "@vue/eslint-config-typescript": "^12.0.0",
183
183
  "@vue/test-utils": "^2.4.3",
184
184
  "@vue/tsconfig": "^0.5.0",
185
- "autoprefixer": "^10.4.16",
185
+ "autoprefixer": "^10.4.20",
186
186
  "eslint": "^8.49.0",
187
187
  "eslint-plugin-storybook": "^0.6.15",
188
188
  "eslint-plugin-vue": "^9.17.0",
189
189
  "jsdom": "^26.1.0",
190
190
  "postcss": "^8.4.32",
191
- "storybook": "^7.6.10",
191
+ "storybook": "8.6",
192
192
  "tailwindcss": "^3.4.17",
193
193
  "typescript": "~5.3.0",
194
194
  "vite": "^5.4.19",
195
195
  "vite-plugin-dts": "^3.6.4",
196
- "vitest": "^1.0.0",
196
+ "vitest": "^4.0.16",
197
197
  "vue": "^3.5.18",
198
198
  "vue-tsc": "^2.0.29"
199
199
  },
@@ -1,336 +0,0 @@
1
- import { defineComponent as X, ref as B, onMounted as N, onBeforeUnmount as Z, reactive as _, toRefs as ee, computed as x, watch as te, createElementBlock as o, openBlock as r, createCommentVNode as f, createElementVNode as d, createVNode as v, createBlock as O, resolveDynamicComponent as le, toDisplayString as g, unref as y, normalizeClass as h, withCtx as b, Teleport as se, Transition as P, normalizeStyle as ae, Fragment as ne, renderList as re } from "vue";
2
- import { ExclamationCircleIcon as ie, CheckCircleIcon as oe, ChevronUpDownIcon as de, CheckIcon as ce } from "@heroicons/vue/20/solid";
3
- import { Listbox as ue, ListboxButton as fe, ListboxOptions as xe, ListboxOption as ve } from "@headlessui/vue";
4
- const ye = {
5
- class: "sl-space-y-1",
6
- "data-testid": "select-text-input"
7
- }, ge = {
8
- key: 0,
9
- class: "sl-grid sl-grid-cols-3 sl-items-center"
10
- }, me = { class: "sl-col-span-2 sl-flex sl-items-center" }, pe = {
11
- key: 1,
12
- class: "sl-text-sm sl-font-medium",
13
- style: { color: "var(--sl-text-primary)" }
14
- }, he = { class: "sl-justify-self-end sl-col-start-3 sl-text-right sl-space-y-0.5" }, be = {
15
- key: 0,
16
- class: "sl-text-xs",
17
- style: { color: "var(--sl-text-muted)" }
18
- }, ke = {
19
- key: 1,
20
- class: "sl-text-2xs sl-uppercase sl-truncate sl-font-semibold sl-block",
21
- style: { color: "var(--sl-text-secondary)" }
22
- }, we = {
23
- key: 2,
24
- class: "sl-text-2xs sl-uppercase sl-truncate sl-font-semibold sl-block",
25
- style: { color: "var(--sl-text-secondary)" }
26
- }, Se = { class: "sl-relative sl-mt-1" }, Le = {
27
- key: 0,
28
- class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-3 sl-z-20 sl-pointer-events-none"
29
- }, Ce = {
30
- key: 1,
31
- class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-3 sl-z-20 sl-pointer-events-none"
32
- }, Ee = { class: "sl-relative" }, Be = { class: "sl-pointer-events-none sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-2" }, Oe = {
33
- key: 0,
34
- class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-4"
35
- }, Re = { class: "sl-flex-1 sl-relative" }, Me = ["aria-invalid", "name", "placeholder", "inputmode", "maxlength", "value", "disabled"], Ve = {
36
- key: 0,
37
- class: "sl-mt-2 sl-text-sm sl-text-red-600 dark:sl-text-red-400 sl-bg-red-50 dark:sl-bg-red-900/20 sl-ring-1 sl-ring-red-100 dark:sl-ring-red-800 sl-rounded-md sl-p-2"
38
- }, ze = {
39
- key: 1,
40
- class: "sl-text-xs sl-text-gray-500 dark:sl-text-slate-400"
41
- }, $e = /* @__PURE__ */ X({
42
- __name: "SelectTextInput",
43
- props: {
44
- name: { type: String, required: !0 },
45
- label: { type: String, default: "" },
46
- tertiaryLabel: { type: String, default: "" },
47
- secondaryLabel: { type: String, default: "" },
48
- labelIconLeft: { type: [Object, Function], default: void 0 },
49
- value: {
50
- type: [Object, String, Number],
51
- default: void 0
52
- },
53
- select: {
54
- type: Object,
55
- default: () => ({ options: [] })
56
- },
57
- text: {
58
- type: Object,
59
- default: () => ({})
60
- },
61
- delimiter: { type: String, default: " " },
62
- formatter: { type: Function },
63
- showErrors: { type: Boolean, default: !1 },
64
- hasError: { type: Boolean, default: !1 },
65
- validateOnMount: { type: Boolean, default: !1 },
66
- textValidationRegex: { type: [RegExp, Object], default: void 0 },
67
- requiredText: { type: Boolean, default: !1 },
68
- disabled: { type: Boolean, default: !1 },
69
- disabledMessage: { type: String, default: "" },
70
- colorfulValidation: { type: Boolean, default: !0 },
71
- showValidCheck: { type: Boolean, default: !0 }
72
- },
73
- emits: ["update:value", "update:validity"],
74
- setup(s, { emit: q }) {
75
- const R = B(null), M = B({
76
- top: "0px",
77
- left: "0px",
78
- width: "120px"
79
- }), k = B(!1);
80
- function V() {
81
- const e = R.value?.$el;
82
- if (!e) return;
83
- const t = e.getBoundingClientRect();
84
- M.value = {
85
- top: `${t.bottom + 4}px`,
86
- left: `${t.left}px`,
87
- width: `${Math.max(t.width, 120)}px`
88
- };
89
- }
90
- function F() {
91
- k.value = !k.value, k.value && V();
92
- }
93
- function w() {
94
- k.value && V();
95
- }
96
- N(() => {
97
- window.addEventListener("scroll", w, !0), window.addEventListener("resize", w);
98
- }), Z(() => {
99
- window.removeEventListener("scroll", w, !0), window.removeEventListener("resize", w);
100
- });
101
- const U = /\b(19|20)\d{2}\b$/;
102
- function i(e) {
103
- if (typeof e == "string") {
104
- const t = e.trim();
105
- return t.length ? t : void 0;
106
- }
107
- if (typeof e == "number") {
108
- const t = String(e);
109
- return t.length ? t : void 0;
110
- }
111
- }
112
- function z(e) {
113
- return !!e && typeof e == "object" && !Array.isArray(e) && ("select" in e || "text" in e || "display" in e);
114
- }
115
- function Y(e) {
116
- return !!(e.select || e.text || e.display);
117
- }
118
- function C(e, t, l) {
119
- return l || (e && t ? `${e} ${t}`.trim() : e || t || void 0);
120
- }
121
- function I(e) {
122
- const t = {};
123
- if (e == null) return t;
124
- if (typeof e == "string" || typeof e == "number") {
125
- const l = i(e);
126
- if (!l) return t;
127
- const u = l.match(U);
128
- if (u) {
129
- const c = u[0], p = l.slice(0, l.length - c.length).trim();
130
- p && (t.select = p), t.text = c, t.display = C(t.select, t.text);
131
- } else
132
- t.text = l, t.display = l;
133
- return t;
134
- }
135
- if (z(e)) {
136
- const l = e, u = i(l.select), c = i(l.text), p = i(l.display);
137
- return u && (t.select = u), c && (t.text = c), t.display = C(t.select, t.text, p), t;
138
- }
139
- if (typeof e == "object" && !Array.isArray(e)) {
140
- const l = e, u = i(l.select) ?? i(l.term) ?? i(l.semester), c = i(l.text) ?? i(l.year) ?? i(l.value), p = i(l.display) ?? i(l.label);
141
- return u && (t.select = u), c && (t.text = c), t.display = C(t.select, t.text, p), t;
142
- }
143
- return t;
144
- }
145
- const a = s, j = q, T = I(a.value), $ = _({
146
- localValue: T
147
- }), { localValue: n } = ee($), G = x(
148
- () => Y(T) && !z(a.value)
149
- ), A = x(() => a.select?.options || []), E = x(() => n.value.select && A.value.find((e) => e.value === n.value.select) || null), H = x(() => {
150
- const e = n.value.text;
151
- return a.textValidationRegex ? !e || String(e).trim() === "" ? a.requiredText === !0 : !a.textValidationRegex.test(String(e)) : !1;
152
- }), m = x(() => a.showErrors && (a.hasError || H.value)), D = x(
153
- () => a.showValidCheck && !m.value && !!S.value
154
- ), J = x(() => a.disabled ? "sl-ring-gray-200 dark:sl-ring-slate-700" : a.colorfulValidation ? m.value ? "sl-ring-red-300 dark:sl-ring-red-500 focus-within:sl-ring-stachelock-600" : D.value ? "sl-ring-green-300 dark:sl-ring-green-500 focus-within:sl-ring-stachelock-600" : "sl-ring-gray-300 dark:sl-ring-slate-600 focus-within:sl-ring-stachelock-600" : "sl-ring-gray-300 dark:sl-ring-slate-600 focus-within:sl-ring-stachelock-600"), S = x(() => {
155
- const e = { select: n.value.select, text: n.value.text }, t = a.formatter ? a.formatter(e) : void 0;
156
- return t !== void 0 ? t : [e.select, e.text].filter(Boolean).join(a.delimiter).trim();
157
- }), K = x(() => {
158
- if (!m.value) return "";
159
- const e = !!n.value.select, t = !!n.value.text && String(n.value.text).trim() !== "", l = !!n.value.text && /^\d{4}$/.test(String(n.value.text));
160
- return !e && !t ? "Please select an option and enter a value." : e ? t ? !l && a.textValidationRegex ? "Please enter a valid value." : "Please complete both fields." : "Please enter a value." : "Please select an option.";
161
- });
162
- function L() {
163
- const e = S.value || void 0, t = {
164
- select: n.value.select,
165
- text: n.value.text,
166
- display: e
167
- };
168
- j("update:value", t);
169
- const l = !!(t.select && t.text && String(t.text).length > 0);
170
- j("update:validity", l);
171
- }
172
- function Q(e) {
173
- n.value.select = e?.value || void 0, k.value = !1, L();
174
- }
175
- function W(e) {
176
- n.value.text = e || void 0, L();
177
- }
178
- return te(
179
- () => a.value,
180
- (e) => {
181
- $.localValue = I(e);
182
- },
183
- { deep: !0 }
184
- ), N(() => {
185
- G.value && L();
186
- }), a.validateOnMount && L(), (e, t) => (r(), o("div", ye, [
187
- s.label || s.secondaryLabel || s.tertiaryLabel || s.disabled && s.disabledMessage ? (r(), o("div", ge, [
188
- d("div", me, [
189
- s.labelIconLeft ? (r(), O(le(s.labelIconLeft), {
190
- key: 0,
191
- class: "sl-mr-2 sl-h-4 sl-w-4 sl-text-yellow-300"
192
- })) : f("", !0),
193
- s.label ? (r(), o("label", pe, g(s.label), 1)) : f("", !0)
194
- ]),
195
- d("div", he, [
196
- s.disabled && s.disabledMessage ? (r(), o("p", be, g(s.disabledMessage), 1)) : f("", !0),
197
- s.secondaryLabel ? (r(), o("span", ke, g(s.secondaryLabel), 1)) : f("", !0),
198
- s.tertiaryLabel ? (r(), o("span", we, g(s.tertiaryLabel), 1)) : f("", !0)
199
- ])
200
- ])) : f("", !0),
201
- d("div", Se, [
202
- m.value ? (r(), o("div", Le, [
203
- v(y(ie), {
204
- class: "sl-h-5 sl-w-5 sl-text-red-500",
205
- "aria-hidden": "true"
206
- })
207
- ])) : D.value ? (r(), o("div", Ce, [
208
- v(y(oe), {
209
- class: "sl-h-5 sl-w-5 sl-text-green-500",
210
- "aria-hidden": "true"
211
- })
212
- ])) : f("", !0),
213
- d("div", {
214
- class: h(["sl-flex sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset focus-within:sl-ring-2 focus-within:sl-ring-inset", J.value])
215
- }, [
216
- v(y(ue), {
217
- "model-value": E.value,
218
- "onUpdate:modelValue": Q,
219
- disabled: s.disabled
220
- }, {
221
- default: b(() => [
222
- d("div", Ee, [
223
- v(y(fe), {
224
- ref_key: "listboxButtonRef",
225
- ref: R,
226
- class: h([
227
- "sl-relative sl-cursor-default sl-rounded-l-md sl-border-0 sl-py-2 sl-pl-3 sl-pr-10 sl-text-left sl-text-sm",
228
- "sl-bg-white dark:sl-bg-slate-900 sl-text-gray-900 dark:sl-text-slate-100",
229
- "focus:sl-outline-none focus:sl-ring-0",
230
- s.disabled ? "sl-cursor-not-allowed sl-bg-gray-50 dark:sl-bg-slate-800 sl-text-gray-500 dark:sl-text-slate-400" : ""
231
- ]),
232
- "data-testid": "select-dropdown",
233
- onClick: F
234
- }, {
235
- default: b(() => [
236
- d("span", {
237
- class: h(["sl-block sl-truncate sl-min-w-[80px]", E.value ? "" : "sl-text-gray-500 dark:sl-text-slate-400"])
238
- }, g(E.value?.label || s.select?.placeholder || "Select…"), 3),
239
- d("span", Be, [
240
- v(y(de), {
241
- class: "sl-h-5 sl-w-5 sl-text-gray-400 dark:sl-text-slate-300",
242
- "aria-hidden": "true"
243
- })
244
- ])
245
- ]),
246
- _: 1
247
- }, 8, ["class"]),
248
- (r(), O(se, { to: "body" }, [
249
- v(P, {
250
- "leave-active-class": "sl-transition sl-duration-100 sl-ease-in",
251
- "leave-from-class": "sl-opacity-100",
252
- "leave-to-class": "sl-opacity-0"
253
- }, {
254
- default: b(() => [
255
- v(y(xe), {
256
- class: "sl-fixed sl-z-[9999] sl-max-h-56 sl-overflow-auto sl-rounded-md sl-bg-white dark:sl-bg-slate-800 sl-py-1 sl-text-base sl-shadow-lg dark:sl-shadow-slate-900/50 sl-ring-1 sl-ring-black sl-ring-opacity-5 dark:sl-ring-slate-700 focus:sl-outline-none sm:sl-text-sm",
257
- style: ae(M.value)
258
- }, {
259
- default: b(() => [
260
- (r(!0), o(ne, null, re(A.value, (l) => (r(), O(y(ve), {
261
- key: l.value,
262
- value: l,
263
- as: "template"
264
- }, {
265
- default: b(({ active: u, selected: c }) => [
266
- d("li", {
267
- class: h([
268
- "sl-relative sl-cursor-default sl-select-none sl-py-2 sl-pl-3 sl-pr-9",
269
- u ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
270
- ])
271
- }, [
272
- d("span", {
273
- class: h(["sl-block sl-truncate", c ? "sl-font-medium" : "sl-font-normal"])
274
- }, g(l.label), 3),
275
- c ? (r(), o("span", Oe, [
276
- v(y(ce), {
277
- class: "sl-h-5 sl-w-5",
278
- "aria-hidden": "true"
279
- })
280
- ])) : f("", !0)
281
- ], 2)
282
- ]),
283
- _: 2
284
- }, 1032, ["value"]))), 128))
285
- ]),
286
- _: 1
287
- }, 8, ["style"])
288
- ]),
289
- _: 1
290
- })
291
- ]))
292
- ])
293
- ]),
294
- _: 1
295
- }, 8, ["model-value", "disabled"]),
296
- t[1] || (t[1] = d("div", { class: "sl-w-px sl-bg-gray-200 dark:sl-bg-slate-700 sl-self-stretch" }, null, -1)),
297
- d("div", Re, [
298
- d("input", {
299
- class: h([
300
- "sl-block sl-w-full sl-text-sm focus:sl-outline-none focus:sl-ring-0 sl-border-0 sl-py-2 sl-pl-3 sl-pr-10 sl-rounded-r-md",
301
- "sl-placeholder:text-gray-400 dark:sl-placeholder:text-slate-500",
302
- s.disabled ? "sl-bg-gray-50 dark:sl-bg-slate-800 sl-text-gray-500 dark:sl-text-slate-400 sl-cursor-not-allowed" : "sl-bg-white dark:sl-bg-slate-900 sl-text-gray-900 dark:sl-text-slate-100"
303
- ]),
304
- "aria-invalid": m.value || void 0,
305
- name: `${s.name}__text`,
306
- placeholder: s.text?.placeholder || "",
307
- inputmode: s.text?.inputMode ?? "text",
308
- maxlength: s.text?.maxLength || void 0,
309
- value: y(n).text || "",
310
- onInput: t[0] || (t[0] = (l) => W(l.target.value)),
311
- disabled: s.disabled,
312
- "data-testid": "text-input"
313
- }, null, 42, Me)
314
- ])
315
- ], 2)
316
- ]),
317
- v(P, {
318
- "enter-active-class": "sl-transition sl-ease-out sl-duration-300",
319
- "enter-from-class": "sl-opacity-0 sl-transform sl-scale-95",
320
- "enter-to-class": "sl-opacity-100 sl-transform sl-scale-100",
321
- "leave-active-class": "sl-transition sl-ease-in sl-duration-200",
322
- "leave-from-class": "sl-opacity-100 sl-transform sl-scale-100",
323
- "leave-to-class": "sl-opacity-0 sl-transform sl-scale-95"
324
- }, {
325
- default: b(() => [
326
- m.value ? (r(), o("p", Ve, g(K.value), 1)) : f("", !0)
327
- ]),
328
- _: 1
329
- }),
330
- !m.value && S.value ? (r(), o("p", ze, g(S.value), 1)) : f("", !0)
331
- ]));
332
- }
333
- });
334
- export {
335
- $e as _
336
- };