@bspk/ui 1.1.33 → 1.2.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 (975) hide show
  1. package/build.ts +75 -27
  2. package/dist/components/Accordion/Accordion.d.ts +34 -0
  3. package/dist/components/Accordion/Accordion.js +42 -0
  4. package/dist/components/Accordion/Accordion.js.map +1 -0
  5. package/dist/components/Accordion/AccordionExample.d.ts +3 -0
  6. package/dist/components/Accordion/AccordionExample.js +72 -0
  7. package/dist/components/Accordion/AccordionExample.js.map +1 -0
  8. package/dist/components/Accordion/AccordionSection.d.ts +84 -0
  9. package/dist/components/Accordion/AccordionSection.js +27 -0
  10. package/dist/components/Accordion/AccordionSection.js.map +1 -0
  11. package/dist/components/Accordion/accordion.css +74 -0
  12. package/dist/components/Accordion/accordion.css.js +79 -0
  13. package/dist/components/Accordion/index.d.ts +1 -0
  14. package/dist/components/Accordion/index.js +2 -0
  15. package/dist/components/Accordion/index.js.map +1 -0
  16. package/dist/components/Avatar/Avatar.d.ts +16 -12
  17. package/dist/components/Avatar/Avatar.js +7 -9
  18. package/dist/components/Avatar/Avatar.js.map +1 -1
  19. package/dist/components/Avatar/AvatarExample.d.ts +1 -1
  20. package/dist/components/Avatar/AvatarExample.js +11 -2
  21. package/dist/components/Avatar/AvatarExample.js.map +1 -1
  22. package/dist/components/Avatar/avatar.css +27 -1
  23. package/dist/components/Avatar/avatar.css.js +27 -2
  24. package/dist/components/AvatarGroup/AvatarGroup.d.ts +10 -12
  25. package/dist/components/AvatarGroup/AvatarGroup.js +6 -6
  26. package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -1
  27. package/dist/components/AvatarGroup/AvatarGroupExample.d.ts +3 -0
  28. package/dist/components/AvatarGroup/AvatarGroupExample.js +31 -0
  29. package/dist/components/AvatarGroup/AvatarGroupExample.js.map +1 -0
  30. package/dist/components/AvatarGroup/avatar-group.css +12 -1
  31. package/dist/components/AvatarGroup/avatar-group.css.js +12 -2
  32. package/dist/components/Badge/Badge.d.ts +6 -12
  33. package/dist/components/Badge/Badge.js +8 -10
  34. package/dist/components/Badge/Badge.js.map +1 -1
  35. package/dist/components/Badge/BadgeExample.d.ts +1 -1
  36. package/dist/components/Badge/BadgeExample.js +7 -38
  37. package/dist/components/Badge/BadgeExample.js.map +1 -1
  38. package/dist/components/Badge/badge.css +15 -24
  39. package/dist/components/Badge/badge.css.js +15 -25
  40. package/dist/components/BadgeDot/BadgeDot.d.ts +47 -0
  41. package/dist/components/BadgeDot/BadgeDot.js +35 -0
  42. package/dist/components/BadgeDot/BadgeDot.js.map +1 -0
  43. package/dist/components/BadgeDot/BadgeDotExample.d.ts +3 -0
  44. package/dist/components/BadgeDot/BadgeDotExample.js +16 -0
  45. package/dist/components/BadgeDot/BadgeDotExample.js.map +1 -0
  46. package/dist/components/BadgeDot/badge-dot.css +22 -0
  47. package/dist/components/BadgeDot/badge-dot.css.js +27 -0
  48. package/dist/components/BadgeDot/index.d.ts +1 -0
  49. package/dist/components/BadgeDot/index.js +2 -0
  50. package/dist/components/BadgeDot/index.js.map +1 -0
  51. package/dist/components/BannerAlert/BannerAlert.d.ts +7 -7
  52. package/dist/components/BannerAlert/BannerAlert.js +7 -5
  53. package/dist/components/BannerAlert/BannerAlert.js.map +1 -1
  54. package/dist/components/BannerAlert/BannerAlertExample.d.ts +1 -1
  55. package/dist/components/BannerAlert/BannerAlertExample.js +6 -6
  56. package/dist/components/BannerAlert/BannerAlertExample.js.map +1 -1
  57. package/dist/components/BannerAlert/banner-alert.css +1 -1
  58. package/dist/components/BannerAlert/banner-alert.css.js +1 -2
  59. package/dist/components/Breadcrumb/Breadcrumb.d.ts +6 -9
  60. package/dist/components/Breadcrumb/Breadcrumb.js +6 -8
  61. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -1
  62. package/dist/components/Breadcrumb/BreadcrumbExample.d.ts +1 -1
  63. package/dist/components/Breadcrumb/BreadcrumbExample.js +67 -0
  64. package/dist/components/Breadcrumb/BreadcrumbExample.js.map +1 -1
  65. package/dist/components/Breadcrumb/breadcrumb.css.js +0 -1
  66. package/dist/components/Button/Button.d.ts +11 -12
  67. package/dist/components/Button/Button.js +19 -19
  68. package/dist/components/Button/Button.js.map +1 -1
  69. package/dist/components/Button/ButtonExample.d.ts +1 -1
  70. package/dist/components/Button/ButtonExample.js +8 -1
  71. package/dist/components/Button/ButtonExample.js.map +1 -1
  72. package/dist/components/Button/button.css +3 -3
  73. package/dist/components/Button/button.css.js +3 -4
  74. package/dist/components/Card/Card.d.ts +2 -6
  75. package/dist/components/Card/Card.js +2 -4
  76. package/dist/components/Card/Card.js.map +1 -1
  77. package/dist/components/Card/CardExample.d.ts +1 -1
  78. package/dist/components/Card/card.css +1 -1
  79. package/dist/components/Card/card.css.js +1 -2
  80. package/dist/components/Checkbox/Checkbox.d.ts +6 -8
  81. package/dist/components/Checkbox/Checkbox.js +4 -6
  82. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  83. package/dist/components/Checkbox/checkbox.css +0 -6
  84. package/dist/components/Checkbox/checkbox.css.js +0 -7
  85. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +6 -10
  86. package/dist/components/CheckboxGroup/CheckboxGroup.js +3 -5
  87. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -1
  88. package/dist/components/CheckboxGroup/CheckboxGroupExample.d.ts +1 -1
  89. package/dist/components/CheckboxGroup/CheckboxGroupExample.js +23 -1
  90. package/dist/components/CheckboxGroup/CheckboxGroupExample.js.map +1 -1
  91. package/dist/components/CheckboxOption/CheckboxOption.d.ts +5 -17
  92. package/dist/components/CheckboxOption/CheckboxOption.js +4 -5
  93. package/dist/components/CheckboxOption/CheckboxOption.js.map +1 -1
  94. package/dist/components/ChipAssist/ChipAssist.d.ts +3 -7
  95. package/dist/components/ChipAssist/ChipAssist.js +3 -5
  96. package/dist/components/ChipAssist/ChipAssist.js.map +1 -1
  97. package/dist/components/ChipAssist/ChipAssistExample.d.ts +1 -1
  98. package/dist/components/ChipAssist/ChipAssistExample.js.map +1 -1
  99. package/dist/components/ChipFilter/ChipFilter.d.ts +3 -7
  100. package/dist/components/ChipFilter/ChipFilter.js +3 -5
  101. package/dist/components/ChipFilter/ChipFilter.js.map +1 -1
  102. package/dist/components/ChipFilter/ChipFilterExample.d.ts +2 -2
  103. package/dist/components/ChipFilter/ChipFilterExample.js.map +1 -1
  104. package/dist/components/ChipGroup/ChipGroup.d.ts +4 -8
  105. package/dist/components/ChipGroup/ChipGroup.js +3 -5
  106. package/dist/components/ChipGroup/ChipGroup.js.map +1 -1
  107. package/dist/components/ChipGroup/ChipGroupExample.d.ts +2 -2
  108. package/dist/components/ChipGroup/ChipGroupExample.js +1 -1
  109. package/dist/components/ChipGroup/ChipGroupExample.js.map +1 -1
  110. package/dist/components/ChipGroup/chip-group.css.js +0 -1
  111. package/dist/components/ChipInput/ChipInput.d.ts +3 -7
  112. package/dist/components/ChipInput/ChipInput.js +3 -5
  113. package/dist/components/ChipInput/ChipInput.js.map +1 -1
  114. package/dist/components/ChipInput/ChipInputExample.d.ts +1 -1
  115. package/dist/components/ChipInput/ChipInputExample.js.map +1 -1
  116. package/dist/components/ChipSuggestion/ChipSuggestion.d.ts +3 -7
  117. package/dist/components/ChipSuggestion/ChipSuggestion.js +3 -5
  118. package/dist/components/ChipSuggestion/ChipSuggestion.js.map +1 -1
  119. package/dist/components/ChipSuggestion/ChipSuggestionExample.d.ts +1 -1
  120. package/dist/components/ChipSuggestion/ChipSuggestionExample.js.map +1 -1
  121. package/dist/components/ChipUtility/ChipUtility.d.ts +4 -8
  122. package/dist/components/ChipUtility/ChipUtility.js +2 -5
  123. package/dist/components/ChipUtility/ChipUtility.js.map +1 -1
  124. package/dist/components/ChipUtility/ChipUtilityExample.d.ts +1 -1
  125. package/dist/components/ChipUtility/ChipUtilityExample.js +2 -0
  126. package/dist/components/ChipUtility/ChipUtilityExample.js.map +1 -1
  127. package/dist/components/ChipUtility/chip-utility.css +11 -11
  128. package/dist/components/ChipUtility/chip-utility.css.js +11 -12
  129. package/dist/components/Combobox/Combobox.d.ts +7 -11
  130. package/dist/components/Combobox/Combobox.js +8 -33
  131. package/dist/components/Combobox/Combobox.js.map +1 -1
  132. package/dist/components/Combobox/ListItems.d.ts +26 -0
  133. package/dist/components/Combobox/ListItems.js +22 -0
  134. package/dist/components/Combobox/ListItems.js.map +1 -0
  135. package/dist/components/Dialog/Dialog.d.ts +4 -10
  136. package/dist/components/Dialog/Dialog.js +11 -48
  137. package/dist/components/Dialog/Dialog.js.map +1 -1
  138. package/dist/components/Dialog/DialogExample.d.ts +1 -1
  139. package/dist/components/Dialog/DialogExample.js +3 -4
  140. package/dist/components/Dialog/DialogExample.js.map +1 -1
  141. package/dist/components/Dialog/dialog.css +67 -37
  142. package/dist/components/Dialog/dialog.css.js +67 -38
  143. package/dist/components/Divider/Divider.d.ts +3 -7
  144. package/dist/components/Divider/Divider.js +3 -5
  145. package/dist/components/Divider/Divider.js.map +1 -1
  146. package/dist/components/Divider/DividerExample.d.ts +1 -1
  147. package/dist/components/Divider/divider.css +3 -7
  148. package/dist/components/Divider/divider.css.js +3 -8
  149. package/dist/components/EmptyState/EmptyState.d.ts +3 -7
  150. package/dist/components/EmptyState/EmptyState.js +2 -4
  151. package/dist/components/EmptyState/EmptyState.js.map +1 -1
  152. package/dist/components/EmptyState/EmptyStateExample.d.ts +1 -1
  153. package/dist/components/EmptyState/EmptyStateExample.js +11 -6
  154. package/dist/components/EmptyState/EmptyStateExample.js.map +1 -1
  155. package/dist/components/ExamplePlaceholder/ExamplePlaceholder.d.ts +30 -11
  156. package/dist/components/ExamplePlaceholder/ExamplePlaceholder.js +2 -4
  157. package/dist/components/ExamplePlaceholder/ExamplePlaceholder.js.map +1 -1
  158. package/dist/components/Fab/Fab.d.ts +6 -10
  159. package/dist/components/Fab/Fab.js +19 -13
  160. package/dist/components/Fab/Fab.js.map +1 -1
  161. package/dist/components/Fab/FabExample.d.ts +1 -1
  162. package/dist/components/Fab/fab.css +2 -2
  163. package/dist/components/Fab/fab.css.js +2 -3
  164. package/dist/components/FileUpload/FileUpload.d.ts +87 -0
  165. package/dist/components/FileUpload/FileUpload.js +140 -0
  166. package/dist/components/FileUpload/FileUpload.js.map +1 -0
  167. package/dist/components/FileUpload/FileUploadExample.d.ts +3 -0
  168. package/dist/components/FileUpload/FileUploadExample.js +66 -0
  169. package/dist/components/FileUpload/FileUploadExample.js.map +1 -0
  170. package/dist/components/FileUpload/file-upload.css +20 -0
  171. package/dist/components/FileUpload/file-upload.css.js +25 -0
  172. package/dist/components/FileUpload/index.d.ts +1 -0
  173. package/dist/components/FileUpload/index.js +2 -0
  174. package/dist/components/FileUpload/index.js.map +1 -0
  175. package/dist/components/FileUploadItem/FileUploadItem.d.ts +40 -0
  176. package/dist/components/FileUploadItem/FileUploadItem.js +60 -0
  177. package/dist/components/FileUploadItem/FileUploadItem.js.map +1 -0
  178. package/dist/components/FileUploadItem/FileUploadItemExample.d.ts +3 -0
  179. package/dist/components/FileUploadItem/FileUploadItemExample.js +67 -0
  180. package/dist/components/FileUploadItem/FileUploadItemExample.js.map +1 -0
  181. package/dist/components/FileUploadItem/file-upload-item.css +40 -0
  182. package/dist/components/FileUploadItem/file-upload-item.css.js +45 -0
  183. package/dist/components/FileUploadItem/index.d.ts +1 -0
  184. package/dist/components/FileUploadItem/index.js +2 -0
  185. package/dist/components/FileUploadItem/index.js.map +1 -0
  186. package/dist/components/FormField/FormField.d.ts +10 -24
  187. package/dist/components/FormField/FormField.js +4 -7
  188. package/dist/components/FormField/FormField.js.map +1 -1
  189. package/dist/components/FormField/FormFieldExample.d.ts +4 -0
  190. package/dist/components/FormField/FormFieldExample.js +12 -0
  191. package/dist/components/FormField/FormFieldExample.js.map +1 -0
  192. package/dist/components/FormField/form-field.css.js +0 -1
  193. package/dist/components/Img/Img.d.ts +2 -6
  194. package/dist/components/Img/Img.js +1 -3
  195. package/dist/components/Img/Img.js.map +1 -1
  196. package/dist/components/InlineAlert/InlineAlert.d.ts +3 -7
  197. package/dist/components/InlineAlert/InlineAlert.js +4 -7
  198. package/dist/components/InlineAlert/InlineAlert.js.map +1 -1
  199. package/dist/components/InlineAlert/SvgWarningTwoTone.d.ts +1 -0
  200. package/dist/components/InlineAlert/SvgWarningTwoTone.js +5 -0
  201. package/dist/components/InlineAlert/SvgWarningTwoTone.js.map +1 -0
  202. package/dist/components/InlineAlert/inline-alert.css +1 -0
  203. package/dist/components/InlineAlert/inline-alert.css.js +1 -1
  204. package/dist/components/Layout/Layout.d.ts +4 -8
  205. package/dist/components/Layout/Layout.js +1 -3
  206. package/dist/components/Layout/Layout.js.map +1 -1
  207. package/dist/components/Layout/LayoutExample.d.ts +3 -0
  208. package/dist/components/Layout/LayoutExample.js +7 -0
  209. package/dist/components/Layout/LayoutExample.js.map +1 -0
  210. package/dist/components/Link/Link.d.ts +3 -7
  211. package/dist/components/Link/Link.js +2 -4
  212. package/dist/components/Link/Link.js.map +1 -1
  213. package/dist/components/Link/LinkExample.d.ts +1 -1
  214. package/dist/components/Link/LinkExample.js +7 -7
  215. package/dist/components/Link/LinkExample.js.map +1 -1
  216. package/dist/components/Link/link.css +1 -1
  217. package/dist/components/Link/link.css.js +1 -2
  218. package/dist/components/ListItem/ListItem.d.ts +9 -21
  219. package/dist/components/ListItem/ListItem.js +12 -66
  220. package/dist/components/ListItem/ListItem.js.map +1 -1
  221. package/dist/components/ListItem/ListItemButton.d.ts +2 -0
  222. package/dist/components/ListItem/ListItemButton.js +7 -0
  223. package/dist/components/ListItem/ListItemButton.js.map +1 -0
  224. package/dist/components/ListItem/ListItemExample.d.ts +2 -3
  225. package/dist/components/ListItem/ListItemExample.js +22 -41
  226. package/dist/components/ListItem/ListItemExample.js.map +1 -1
  227. package/dist/components/ListItem/list-item.css +11 -25
  228. package/dist/components/ListItem/list-item.css.js +12 -27
  229. package/dist/components/Listbox/Listbox.d.ts +7 -10
  230. package/dist/components/Listbox/Listbox.js +6 -8
  231. package/dist/components/Listbox/Listbox.js.map +1 -1
  232. package/dist/components/Menu/Menu.d.ts +27 -23
  233. package/dist/components/Menu/Menu.js +25 -32
  234. package/dist/components/Menu/Menu.js.map +1 -1
  235. package/dist/components/Menu/MenuExample.d.ts +2 -2
  236. package/dist/components/Menu/MenuExample.js +25 -2
  237. package/dist/components/Menu/MenuExample.js.map +1 -1
  238. package/dist/components/Menu/menu.css +5 -2
  239. package/dist/components/Menu/menu.css.js +5 -3
  240. package/dist/components/MenuButton/MenuButton.d.ts +3 -7
  241. package/dist/components/MenuButton/MenuButton.js +1 -3
  242. package/dist/components/MenuButton/MenuButton.js.map +1 -1
  243. package/dist/components/MenuButton/menu-button.css.js +0 -1
  244. package/dist/components/Modal/Modal.d.ts +6 -10
  245. package/dist/components/Modal/Modal.js +3 -5
  246. package/dist/components/Modal/Modal.js.map +1 -1
  247. package/dist/components/Modal/ModalExample.d.ts +1 -1
  248. package/dist/components/Modal/ModalExample.js +3 -3
  249. package/dist/components/Modal/ModalExample.js.map +1 -1
  250. package/dist/components/Modal/modal.css +6 -14
  251. package/dist/components/Modal/modal.css.js +6 -15
  252. package/dist/components/NumberField/NumberField.d.ts +5 -9
  253. package/dist/components/NumberField/NumberField.js +3 -6
  254. package/dist/components/NumberField/NumberField.js.map +1 -1
  255. package/dist/components/NumberInput/IncrementButton.d.ts +7 -0
  256. package/dist/components/NumberInput/IncrementButton.js +10 -0
  257. package/dist/components/NumberInput/IncrementButton.js.map +1 -0
  258. package/dist/components/NumberInput/NumberInput.d.ts +4 -11
  259. package/dist/components/NumberInput/NumberInput.js +22 -37
  260. package/dist/components/NumberInput/NumberInput.js.map +1 -1
  261. package/dist/components/NumberInput/NumberInputExample.d.ts +3 -0
  262. package/dist/components/NumberInput/NumberInputExample.js +5 -0
  263. package/dist/components/NumberInput/NumberInputExample.js.map +1 -0
  264. package/dist/components/NumberInput/number-input.css +9 -6
  265. package/dist/components/NumberInput/number-input.css.js +9 -7
  266. package/dist/components/OTPInput/OTPInput.d.ts +41 -0
  267. package/dist/components/OTPInput/OTPInput.js +57 -0
  268. package/dist/components/OTPInput/OTPInput.js.map +1 -0
  269. package/dist/components/OTPInput/OTPInputExample.d.ts +3 -0
  270. package/dist/components/OTPInput/OTPInputExample.js +25 -0
  271. package/dist/components/OTPInput/OTPInputExample.js.map +1 -0
  272. package/dist/components/OTPInput/index.d.ts +1 -0
  273. package/dist/components/OTPInput/index.js +2 -0
  274. package/dist/components/OTPInput/index.js.map +1 -0
  275. package/dist/components/OTPInput/otp-input.css +72 -0
  276. package/dist/components/OTPInput/otp-input.css.js +77 -0
  277. package/dist/components/PageControl/PageControl.d.ts +43 -0
  278. package/dist/components/PageControl/PageControl.js +46 -0
  279. package/dist/components/PageControl/PageControl.js.map +1 -0
  280. package/dist/components/PageControl/index.d.ts +1 -0
  281. package/dist/components/PageControl/index.js +2 -0
  282. package/dist/components/PageControl/index.js.map +1 -0
  283. package/dist/components/PageControl/page-control.css +33 -0
  284. package/dist/components/PageControl/page-control.css.js +38 -0
  285. package/dist/components/Pagination/PageInput.d.ts +5 -0
  286. package/dist/components/Pagination/PageInput.js +36 -0
  287. package/dist/components/Pagination/PageInput.js.map +1 -0
  288. package/dist/components/Pagination/PageList.d.ts +3 -0
  289. package/dist/components/Pagination/PageList.js +9 -0
  290. package/dist/components/Pagination/PageList.js.map +1 -0
  291. package/dist/components/Pagination/Pagination.d.ts +43 -0
  292. package/dist/components/Pagination/Pagination.js +49 -0
  293. package/dist/components/Pagination/Pagination.js.map +1 -0
  294. package/dist/components/Pagination/index.d.ts +1 -0
  295. package/dist/components/Pagination/index.js +2 -0
  296. package/dist/components/Pagination/index.js.map +1 -0
  297. package/dist/components/Pagination/pagination.css +31 -0
  298. package/dist/components/Pagination/pagination.css.js +36 -0
  299. package/dist/components/PasswordField/PasswordField.d.ts +31 -0
  300. package/dist/components/PasswordField/PasswordField.js +33 -0
  301. package/dist/components/PasswordField/PasswordField.js.map +1 -0
  302. package/dist/components/PasswordField/index.d.ts +1 -0
  303. package/dist/components/PasswordField/index.js +2 -0
  304. package/dist/components/PasswordField/index.js.map +1 -0
  305. package/dist/components/PasswordInput/PasswordInput.d.ts +21 -0
  306. package/dist/components/PasswordInput/PasswordInput.js +34 -0
  307. package/dist/components/PasswordInput/PasswordInput.js.map +1 -0
  308. package/dist/components/PasswordInput/index.d.ts +1 -0
  309. package/dist/components/PasswordInput/index.js +2 -0
  310. package/dist/components/PasswordInput/index.js.map +1 -0
  311. package/dist/components/PasswordInput/password-input.css +28 -0
  312. package/dist/components/PasswordInput/password-input.css.js +33 -0
  313. package/dist/components/PhoneNumberField/PhoneNumberField.d.ts +5 -9
  314. package/dist/components/PhoneNumberField/PhoneNumberField.js +3 -6
  315. package/dist/components/PhoneNumberField/PhoneNumberField.js.map +1 -1
  316. package/dist/components/PhoneNumberInput/PhoneNumberInput.d.ts +6 -10
  317. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +5 -9
  318. package/dist/components/PhoneNumberInput/PhoneNumberInput.js.map +1 -1
  319. package/dist/components/PhoneNumberInput/phone-number-input.css.js +0 -1
  320. package/dist/components/Popover/Popover.d.ts +11 -9
  321. package/dist/components/Popover/Popover.js +27 -11
  322. package/dist/components/Popover/Popover.js.map +1 -1
  323. package/dist/components/Popover/PopoverExample.d.ts +1 -1
  324. package/dist/components/Popover/PopoverExample.js +19 -3
  325. package/dist/components/Popover/PopoverExample.js.map +1 -1
  326. package/dist/components/Popover/popover.css +17 -22
  327. package/dist/components/Popover/popover.css.js +17 -23
  328. package/dist/components/Portal/Portal.d.ts +1 -5
  329. package/dist/components/Portal/Portal.js +5 -5
  330. package/dist/components/Portal/Portal.js.map +1 -1
  331. package/dist/components/ProgressBar/ProgressBar.d.ts +16 -6
  332. package/dist/components/ProgressBar/ProgressBar.js +7 -6
  333. package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
  334. package/dist/components/ProgressBar/progress-bar.css +5 -2
  335. package/dist/components/ProgressBar/progress-bar.css.js +5 -3
  336. package/dist/components/ProgressCircle/ProgressCircle.d.ts +1 -2
  337. package/dist/components/ProgressCircle/ProgressCircle.js +4 -10
  338. package/dist/components/ProgressCircle/ProgressCircle.js.map +1 -1
  339. package/dist/components/ProgressCircle/ProgressCircleSVG.d.ts +3 -0
  340. package/dist/components/ProgressCircle/ProgressCircleSVG.js +9 -0
  341. package/dist/components/ProgressCircle/ProgressCircleSVG.js.map +1 -0
  342. package/dist/components/ProgressCircle/progress-circle.css.js +0 -1
  343. package/dist/components/ProgressionStepper/ProgressionStepper.d.ts +4 -12
  344. package/dist/components/ProgressionStepper/ProgressionStepper.js +6 -8
  345. package/dist/components/ProgressionStepper/ProgressionStepper.js.map +1 -1
  346. package/dist/components/ProgressionStepper/ProgressionStepperExample.d.ts +1 -1
  347. package/dist/components/ProgressionStepper/ProgressionStepperExample.js +2 -1
  348. package/dist/components/ProgressionStepper/ProgressionStepperExample.js.map +1 -1
  349. package/dist/components/ProgressionStepper/progression-stepper.css +11 -0
  350. package/dist/components/ProgressionStepper/progression-stepper.css.js +11 -1
  351. package/dist/components/ProgressionStepperBar/ProgressionStepperBar.d.ts +2 -6
  352. package/dist/components/ProgressionStepperBar/ProgressionStepperBar.js +3 -5
  353. package/dist/components/ProgressionStepperBar/ProgressionStepperBar.js.map +1 -1
  354. package/dist/components/ProgressionStepperBar/progression-stepper-bar.css +2 -2
  355. package/dist/components/ProgressionStepperBar/progression-stepper-bar.css.js +2 -3
  356. package/dist/components/Radio/Radio.d.ts +3 -7
  357. package/dist/components/Radio/Radio.js +3 -5
  358. package/dist/components/Radio/Radio.js.map +1 -1
  359. package/dist/components/Radio/RadioExample.d.ts +1 -1
  360. package/dist/components/Radio/radio.css +1 -1
  361. package/dist/components/Radio/radio.css.js +1 -2
  362. package/dist/components/RadioGroup/RadioGroup.d.ts +9 -13
  363. package/dist/components/RadioGroup/RadioGroup.js +6 -9
  364. package/dist/components/RadioGroup/RadioGroup.js.map +1 -1
  365. package/dist/components/RadioGroup/RadioGroupExample.d.ts +1 -1
  366. package/dist/components/RadioGroup/RadioGroupExample.js +2 -22
  367. package/dist/components/RadioGroup/RadioGroupExample.js.map +1 -1
  368. package/dist/components/RadioGroup/radio-group.css +0 -1
  369. package/dist/components/RadioGroup/radio-group.css.js +0 -2
  370. package/dist/components/RadioOption/RadioOption.d.ts +4 -17
  371. package/dist/components/RadioOption/RadioOption.js +3 -4
  372. package/dist/components/RadioOption/RadioOption.js.map +1 -1
  373. package/dist/components/RadioOption/RadioOptionExample.d.ts +1 -1
  374. package/dist/components/Rating/Rating.d.ts +39 -0
  375. package/dist/components/Rating/Rating.js +41 -0
  376. package/dist/components/Rating/Rating.js.map +1 -0
  377. package/dist/components/Rating/RatingExample.d.ts +3 -0
  378. package/dist/components/Rating/RatingExample.js +17 -0
  379. package/dist/components/Rating/RatingExample.js.map +1 -0
  380. package/dist/components/Rating/index.d.ts +1 -0
  381. package/dist/components/Rating/index.js +2 -0
  382. package/dist/components/Rating/index.js.map +1 -0
  383. package/dist/components/Rating/rating.css +65 -0
  384. package/dist/components/Rating/rating.css.js +70 -0
  385. package/dist/components/Scrim/Scrim.d.ts +3 -15
  386. package/dist/components/Scrim/Scrim.js +2 -4
  387. package/dist/components/Scrim/Scrim.js.map +1 -1
  388. package/dist/components/Scrim/scrim.css +12 -2
  389. package/dist/components/Scrim/scrim.css.js +12 -3
  390. package/dist/components/SearchBar/SearchBar.d.ts +5 -9
  391. package/dist/components/SearchBar/SearchBar.js +10 -11
  392. package/dist/components/SearchBar/SearchBar.js.map +1 -1
  393. package/dist/components/SearchBar/SearchBarExample.d.ts +1 -1
  394. package/dist/components/SearchBar/SearchBarExample.js +1 -1
  395. package/dist/components/SearchBar/SearchBarExample.js.map +1 -1
  396. package/dist/components/SearchBar/search-bar.css +1 -1
  397. package/dist/components/SearchBar/search-bar.css.js +1 -2
  398. package/dist/components/SegmentedControl/SegmentedControl.d.ts +6 -86
  399. package/dist/components/SegmentedControl/SegmentedControl.js +5 -15
  400. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  401. package/dist/components/SegmentedControl/SegmentedControlExample.d.ts +1 -1
  402. package/dist/components/SegmentedControl/SegmentedControlExample.js +41 -20
  403. package/dist/components/SegmentedControl/SegmentedControlExample.js.map +1 -1
  404. package/dist/components/SegmentedControl/segmented-control.css +26 -73
  405. package/dist/components/SegmentedControl/segmented-control.css.js +26 -74
  406. package/dist/components/Select/Select.d.ts +5 -9
  407. package/dist/components/Select/Select.js +6 -8
  408. package/dist/components/Select/Select.js.map +1 -1
  409. package/dist/components/Select/SelectExample.d.ts +1 -1
  410. package/dist/components/Select/SelectExample.js +3 -3
  411. package/dist/components/Select/SelectExample.js.map +1 -1
  412. package/dist/components/Select/select.css +10 -9
  413. package/dist/components/Select/select.css.js +10 -10
  414. package/dist/components/SelectField/SelectField.d.ts +5 -9
  415. package/dist/components/SelectField/SelectField.js +5 -6
  416. package/dist/components/SelectField/SelectField.js.map +1 -1
  417. package/dist/components/Skeleton/Circular.d.ts +2 -0
  418. package/dist/components/Skeleton/Circular.js +6 -0
  419. package/dist/components/Skeleton/Circular.js.map +1 -0
  420. package/dist/components/Skeleton/Photo.d.ts +2 -0
  421. package/dist/components/Skeleton/Photo.js +6 -0
  422. package/dist/components/Skeleton/Photo.js.map +1 -0
  423. package/dist/components/Skeleton/Profile.d.ts +2 -0
  424. package/dist/components/Skeleton/Profile.js +6 -0
  425. package/dist/components/Skeleton/Profile.js.map +1 -0
  426. package/dist/components/Skeleton/Rectangular.d.ts +2 -0
  427. package/dist/components/Skeleton/Rectangular.js +6 -0
  428. package/dist/components/Skeleton/Rectangular.js.map +1 -0
  429. package/dist/components/Skeleton/Skeleton.d.ts +4 -12
  430. package/dist/components/Skeleton/Skeleton.js +2 -19
  431. package/dist/components/Skeleton/Skeleton.js.map +1 -1
  432. package/dist/components/Skeleton/SkeletonExample.d.ts +1 -1
  433. package/dist/components/Skeleton/SkeletonExample.js +13 -10
  434. package/dist/components/Skeleton/SkeletonExample.js.map +1 -1
  435. package/dist/components/Skeleton/Thumbnail.d.ts +2 -0
  436. package/dist/components/Skeleton/Thumbnail.js +6 -0
  437. package/dist/components/Skeleton/Thumbnail.js.map +1 -0
  438. package/dist/components/Skeleton/index.d.ts +5 -0
  439. package/dist/components/Skeleton/index.js +5 -0
  440. package/dist/components/Skeleton/index.js.map +1 -1
  441. package/dist/components/SkeletonText/SkeletonText.d.ts +3 -7
  442. package/dist/components/SkeletonText/SkeletonText.js +2 -4
  443. package/dist/components/SkeletonText/SkeletonText.js.map +1 -1
  444. package/dist/components/SkeletonText/SkeletonTextExample.d.ts +1 -1
  445. package/dist/components/SkeletonText/SkeletonTextExample.js.map +1 -1
  446. package/dist/components/Slider/Slider.d.ts +80 -0
  447. package/dist/components/Slider/Slider.js +131 -0
  448. package/dist/components/Slider/Slider.js.map +1 -0
  449. package/dist/components/Slider/SliderExample.d.ts +3 -0
  450. package/dist/components/Slider/SliderExample.js +59 -0
  451. package/dist/components/Slider/SliderExample.js.map +1 -0
  452. package/dist/components/Slider/SliderIntervalDots.d.ts +6 -0
  453. package/dist/components/Slider/SliderIntervalDots.js +20 -0
  454. package/dist/components/Slider/SliderIntervalDots.js.map +1 -0
  455. package/dist/components/Slider/index.d.ts +1 -0
  456. package/dist/components/Slider/index.js +2 -0
  457. package/dist/components/Slider/index.js.map +1 -0
  458. package/dist/components/Slider/slider.css +122 -0
  459. package/dist/components/Slider/slider.css.js +127 -0
  460. package/dist/components/Slider/useNormalizeSliderValue.d.ts +7 -0
  461. package/dist/components/Slider/useNormalizeSliderValue.js +12 -0
  462. package/dist/components/Slider/useNormalizeSliderValue.js.map +1 -0
  463. package/dist/components/StylesProviderAnywhere/StylesProviderAnywhere.d.ts +4 -6
  464. package/dist/components/StylesProviderAnywhere/StylesProviderAnywhere.js +4 -4
  465. package/dist/components/StylesProviderAnywhere/StylesProviderAnywhere.js.map +1 -1
  466. package/dist/components/StylesProviderBetterHomesGardens/StylesProviderBetterHomesGardens.d.ts +4 -6
  467. package/dist/components/StylesProviderBetterHomesGardens/StylesProviderBetterHomesGardens.js +4 -4
  468. package/dist/components/StylesProviderBetterHomesGardens/StylesProviderBetterHomesGardens.js.map +1 -1
  469. package/dist/components/StylesProviderCartus/StylesProviderCartus.d.ts +4 -6
  470. package/dist/components/StylesProviderCartus/StylesProviderCartus.js +4 -4
  471. package/dist/components/StylesProviderCartus/StylesProviderCartus.js.map +1 -1
  472. package/dist/components/StylesProviderCentury21/StylesProviderCentury21.d.ts +4 -6
  473. package/dist/components/StylesProviderCentury21/StylesProviderCentury21.js +4 -4
  474. package/dist/components/StylesProviderCentury21/StylesProviderCentury21.js.map +1 -1
  475. package/dist/components/StylesProviderColdwellBanker/StylesProviderColdwellBanker.d.ts +4 -6
  476. package/dist/components/StylesProviderColdwellBanker/StylesProviderColdwellBanker.js +4 -4
  477. package/dist/components/StylesProviderColdwellBanker/StylesProviderColdwellBanker.js.map +1 -1
  478. package/dist/components/StylesProviderCorcoran/StylesProviderCorcoran.d.ts +4 -6
  479. package/dist/components/StylesProviderCorcoran/StylesProviderCorcoran.js +4 -4
  480. package/dist/components/StylesProviderCorcoran/StylesProviderCorcoran.js.map +1 -1
  481. package/dist/components/StylesProviderDemo/StylesProviderDemo.d.ts +25 -0
  482. package/dist/components/StylesProviderDemo/StylesProviderDemo.js +35 -0
  483. package/dist/components/StylesProviderDemo/StylesProviderDemo.js.map +1 -0
  484. package/dist/components/StylesProviderDemo/brandsCss.d.ts +2 -0
  485. package/dist/components/StylesProviderDemo/brandsCss.js +12 -0
  486. package/dist/components/StylesProviderDemo/brandsCss.js.map +1 -0
  487. package/dist/components/StylesProviderDemo/index.d.ts +1 -0
  488. package/dist/components/StylesProviderDemo/index.js +2 -0
  489. package/dist/components/StylesProviderDemo/index.js.map +1 -0
  490. package/dist/components/StylesProviderDenaliBoss/StylesProviderDenaliBoss.d.ts +4 -6
  491. package/dist/components/StylesProviderDenaliBoss/StylesProviderDenaliBoss.js +4 -4
  492. package/dist/components/StylesProviderDenaliBoss/StylesProviderDenaliBoss.js.map +1 -1
  493. package/dist/components/StylesProviderEra/StylesProviderEra.d.ts +4 -6
  494. package/dist/components/StylesProviderEra/StylesProviderEra.js +4 -4
  495. package/dist/components/StylesProviderEra/StylesProviderEra.js.map +1 -1
  496. package/dist/components/StylesProviderSothebys/StylesProviderSothebys.d.ts +4 -6
  497. package/dist/components/StylesProviderSothebys/StylesProviderSothebys.js +4 -4
  498. package/dist/components/StylesProviderSothebys/StylesProviderSothebys.js.map +1 -1
  499. package/dist/components/Switch/Switch.d.ts +3 -7
  500. package/dist/components/Switch/Switch.js +2 -4
  501. package/dist/components/Switch/Switch.js.map +1 -1
  502. package/dist/components/Switch/switch.css +1 -1
  503. package/dist/components/Switch/switch.css.js +1 -2
  504. package/dist/components/SwitchOption/SwitchOption.d.ts +5 -9
  505. package/dist/components/SwitchOption/SwitchOption.js +4 -5
  506. package/dist/components/SwitchOption/SwitchOption.js.map +1 -1
  507. package/dist/components/TabGroup/TabGroup.d.ts +5 -87
  508. package/dist/components/TabGroup/TabGroup.js +7 -22
  509. package/dist/components/TabGroup/TabGroup.js.map +1 -1
  510. package/dist/components/TabGroup/TabGroupExample.d.ts +1 -1
  511. package/dist/components/TabGroup/TabGroupExample.js +74 -70
  512. package/dist/components/TabGroup/TabGroupExample.js.map +1 -1
  513. package/dist/components/TabGroup/tab-group.css +18 -54
  514. package/dist/components/TabGroup/tab-group.css.js +18 -55
  515. package/dist/components/TabList/TabList.d.ts +129 -0
  516. package/dist/components/TabList/TabList.js +80 -0
  517. package/dist/components/TabList/TabList.js.map +1 -0
  518. package/dist/components/TabList/TabListExample.d.ts +3 -0
  519. package/dist/components/TabList/TabListExample.js +6 -0
  520. package/dist/components/TabList/TabListExample.js.map +1 -0
  521. package/dist/components/TabList/index.d.ts +1 -0
  522. package/dist/components/TabList/index.js +2 -0
  523. package/dist/components/TabList/index.js.map +1 -0
  524. package/dist/components/TabList/tab-list.css +64 -0
  525. package/dist/components/TabList/tab-list.css.js +69 -0
  526. package/dist/components/Table/Footer.d.ts +8 -0
  527. package/dist/components/Table/Footer.js +8 -0
  528. package/dist/components/Table/Footer.js.map +1 -0
  529. package/dist/components/Table/Table.d.ts +46 -30
  530. package/dist/components/Table/Table.js +73 -12
  531. package/dist/components/Table/Table.js.map +1 -1
  532. package/dist/components/Table/TableExample.d.ts +4 -0
  533. package/dist/components/Table/TableExample.js +126 -0
  534. package/dist/components/Table/TableExample.js.map +1 -0
  535. package/dist/components/Table/table.css +168 -21
  536. package/dist/components/Table/table.css.js +168 -22
  537. package/dist/components/Table/utils.d.ts +81 -0
  538. package/dist/components/Table/utils.js +89 -0
  539. package/dist/components/Table/utils.js.map +1 -0
  540. package/dist/components/Tag/Tag.d.ts +7 -35
  541. package/dist/components/Tag/Tag.js +5 -11
  542. package/dist/components/Tag/Tag.js.map +1 -1
  543. package/dist/components/Tag/TagExample.d.ts +3 -0
  544. package/dist/components/Tag/TagExample.js +14 -0
  545. package/dist/components/Tag/TagExample.js.map +1 -0
  546. package/dist/components/Tag/tag.css +8 -12
  547. package/dist/components/Tag/tag.css.js +8 -13
  548. package/dist/components/TextField/TextField.d.ts +5 -9
  549. package/dist/components/TextField/TextField.js +3 -5
  550. package/dist/components/TextField/TextField.js.map +1 -1
  551. package/dist/components/TextInput/TextInput.d.ts +17 -11
  552. package/dist/components/TextInput/TextInput.js +4 -6
  553. package/dist/components/TextInput/TextInput.js.map +1 -1
  554. package/dist/components/TextInput/TextInputExample.d.ts +1 -1
  555. package/dist/components/TextInput/TextInputExample.js +2 -0
  556. package/dist/components/TextInput/TextInputExample.js.map +1 -1
  557. package/dist/components/TextInput/text-input.css +3 -3
  558. package/dist/components/TextInput/text-input.css.js +3 -4
  559. package/dist/components/Textarea/Textarea.d.ts +4 -8
  560. package/dist/components/Textarea/Textarea.js +3 -5
  561. package/dist/components/Textarea/Textarea.js.map +1 -1
  562. package/dist/components/Textarea/TextareaExample.d.ts +1 -1
  563. package/dist/components/Textarea/TextareaExample.js +4 -1
  564. package/dist/components/Textarea/TextareaExample.js.map +1 -1
  565. package/dist/components/Textarea/textarea.css +1 -1
  566. package/dist/components/Textarea/textarea.css.js +1 -2
  567. package/dist/components/TextareaField/TextareaField.d.ts +5 -9
  568. package/dist/components/TextareaField/TextareaField.js +9 -12
  569. package/dist/components/TextareaField/TextareaField.js.map +1 -1
  570. package/dist/components/TextareaField/TextareaFieldExample.d.ts +1 -1
  571. package/dist/components/TextareaField/TextareaFieldExample.js +2 -1
  572. package/dist/components/TextareaField/TextareaFieldExample.js.map +1 -1
  573. package/dist/components/TimeInput/Listbox.d.ts +10 -0
  574. package/dist/components/TimeInput/Listbox.js +66 -0
  575. package/dist/components/TimeInput/Listbox.js.map +1 -0
  576. package/dist/components/TimeInput/Segment.d.ts +21 -0
  577. package/dist/components/TimeInput/Segment.js +160 -0
  578. package/dist/components/TimeInput/Segment.js.map +1 -0
  579. package/dist/components/TimeInput/TimeInput.d.ts +26 -0
  580. package/dist/components/TimeInput/TimeInput.js +66 -0
  581. package/dist/components/TimeInput/TimeInput.js.map +1 -0
  582. package/dist/components/TimeInput/TimeInputExample.d.ts +3 -0
  583. package/dist/components/TimeInput/TimeInputExample.js +4 -0
  584. package/dist/components/TimeInput/TimeInputExample.js.map +1 -0
  585. package/dist/components/TimeInput/index.d.ts +1 -0
  586. package/dist/components/TimeInput/index.js +2 -0
  587. package/dist/components/TimeInput/index.js.map +1 -0
  588. package/dist/components/TimeInput/time-input.css +138 -0
  589. package/dist/components/TimeInput/time-input.css.js +143 -0
  590. package/dist/components/ToggleOption/ToggleOption.d.ts +7 -7
  591. package/dist/components/ToggleOption/ToggleOption.js +2 -4
  592. package/dist/components/ToggleOption/ToggleOption.js.map +1 -1
  593. package/dist/components/ToggleOption/toggle-option.css +17 -12
  594. package/dist/components/ToggleOption/toggle-option.css.js +17 -13
  595. package/dist/components/Tooltip/Tooltip.d.ts +12 -11
  596. package/dist/components/Tooltip/Tooltip.js +17 -15
  597. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  598. package/dist/components/Tooltip/TooltipExample.d.ts +3 -2
  599. package/dist/components/Tooltip/TooltipExample.js +1 -1
  600. package/dist/components/Tooltip/TooltipExample.js.map +1 -1
  601. package/dist/components/Tooltip/tooltip.css +1 -1
  602. package/dist/components/Tooltip/tooltip.css.js +1 -2
  603. package/dist/components/TopNavigation/TopNavigation.d.ts +1 -5
  604. package/dist/components/TopNavigation/TopNavigation.js +1 -3
  605. package/dist/components/TopNavigation/TopNavigation.js.map +1 -1
  606. package/dist/components/TopNavigation/top-navigation.css.js +0 -1
  607. package/dist/components/Truncated/Truncated.d.ts +7 -8
  608. package/dist/components/Truncated/Truncated.js +11 -6
  609. package/dist/components/Truncated/Truncated.js.map +1 -1
  610. package/dist/components/Txt/Txt.d.ts +4 -8
  611. package/dist/components/Txt/Txt.js +2 -4
  612. package/dist/components/Txt/Txt.js.map +1 -1
  613. package/dist/components/UIProvider/UIProvider.d.ts +1 -5
  614. package/dist/components/UIProvider/UIProvider.js +2 -4
  615. package/dist/components/UIProvider/UIProvider.js.map +1 -1
  616. package/dist/constants/brands.d.ts +7 -0
  617. package/dist/{index.js → constants/brands.js} +1 -9
  618. package/dist/{index.js.map → constants/brands.js.map} +1 -1
  619. package/dist/constants/phases.d.ts +3 -0
  620. package/dist/constants/phases.js +9 -0
  621. package/dist/constants/phases.js.map +1 -0
  622. package/dist/hooks/useCheckboxGroupState.d.ts +1 -1
  623. package/dist/hooks/useCheckboxState.d.ts +1 -1
  624. package/dist/hooks/useCombobox.d.ts +4 -3
  625. package/dist/hooks/useCombobox.js +7 -7
  626. package/dist/hooks/useCombobox.js.map +1 -1
  627. package/dist/hooks/useFloating.d.ts +1 -3
  628. package/dist/hooks/useFloating.js +4 -3
  629. package/dist/hooks/useFloating.js.map +1 -1
  630. package/dist/hooks/useId.js +5 -3
  631. package/dist/hooks/useId.js.map +1 -1
  632. package/dist/hooks/useKeyNavigation.d.ts +17 -0
  633. package/dist/hooks/useKeyNavigation.js +46 -0
  634. package/dist/hooks/useKeyNavigation.js.map +1 -0
  635. package/dist/hooks/useLongPress.d.ts +2 -1
  636. package/dist/hooks/useLongPress.js +2 -1
  637. package/dist/hooks/useLongPress.js.map +1 -1
  638. package/dist/hooks/useOutsideClick.d.ts +5 -1
  639. package/dist/hooks/useOutsideClick.js +1 -1
  640. package/dist/hooks/useOutsideClick.js.map +1 -1
  641. package/dist/hooks/usePaginationState.d.ts +4 -0
  642. package/dist/hooks/usePaginationState.js +22 -0
  643. package/dist/hooks/usePaginationState.js.map +1 -0
  644. package/dist/hooks/useRadioState.d.ts +2 -2
  645. package/dist/hooks/useTimeout.d.ts +8 -5
  646. package/dist/hooks/useTimeout.js +7 -23
  647. package/dist/hooks/useTimeout.js.map +1 -1
  648. package/dist/hooks/useUIContext.d.ts +1 -1
  649. package/dist/styles/anywhere.css +305 -111
  650. package/dist/styles/anywhere.css.js +305 -112
  651. package/dist/{base.css → styles/base.css} +32 -17
  652. package/dist/{base.css.js → styles/base.css.js} +32 -18
  653. package/dist/styles/better-homes-gardens.css +309 -109
  654. package/dist/styles/better-homes-gardens.css.js +309 -110
  655. package/dist/styles/cartus.css +309 -109
  656. package/dist/styles/cartus.css.js +309 -110
  657. package/dist/styles/century-21.css +303 -105
  658. package/dist/styles/century-21.css.js +303 -106
  659. package/dist/styles/coldwell-banker.css +309 -109
  660. package/dist/styles/coldwell-banker.css.js +309 -110
  661. package/dist/{colors.css → styles/colors.css} +1 -1
  662. package/dist/{colors.css.js → styles/colors.css.js} +1 -2
  663. package/dist/styles/corcoran.css +305 -107
  664. package/dist/styles/corcoran.css.js +305 -108
  665. package/dist/styles/denali-boss.css +307 -109
  666. package/dist/styles/denali-boss.css.js +307 -110
  667. package/dist/styles/era.css +317 -113
  668. package/dist/styles/era.css.js +317 -114
  669. package/dist/styles/sothebys.css +309 -109
  670. package/dist/styles/sothebys.css.js +309 -110
  671. package/dist/{index.d.ts → types/common.d.ts} +12 -22
  672. package/dist/types/common.js +10 -0
  673. package/dist/types/common.js.map +1 -0
  674. package/{meta-types.ts → dist/types/meta.d.ts} +7 -14
  675. package/dist/types/meta.js +47 -0
  676. package/dist/types/meta.js.map +1 -0
  677. package/dist/utils/bound.d.ts +18 -0
  678. package/dist/utils/bound.js +22 -0
  679. package/dist/utils/bound.js.map +1 -0
  680. package/dist/utils/colorVariants.d.ts +1 -1
  681. package/dist/utils/colorVariants.js +1 -1
  682. package/dist/utils/createExampleChildElement.d.ts +17 -0
  683. package/dist/utils/createExampleChildElement.js +50 -0
  684. package/dist/utils/createExampleChildElement.js.map +1 -0
  685. package/dist/utils/demo.d.ts +29 -10
  686. package/dist/utils/demo.js.map +1 -1
  687. package/dist/utils/fileUploads.d.ts +51 -0
  688. package/dist/utils/fileUploads.js +2 -0
  689. package/dist/utils/fileUploads.js.map +1 -0
  690. package/dist/utils/handleKeyDown.d.ts +12 -0
  691. package/dist/utils/handleKeyDown.js +20 -0
  692. package/dist/utils/handleKeyDown.js.map +1 -0
  693. package/dist/utils/keyboard.js +2 -2
  694. package/dist/utils/keyboard.js.map +1 -1
  695. package/dist/utils/random.d.ts +15 -0
  696. package/dist/utils/random.js +26 -0
  697. package/dist/utils/random.js.map +1 -0
  698. package/dist/utils/scrollElementIntoView.d.ts +1 -1
  699. package/dist/utils/scrollElementIntoView.js +2 -0
  700. package/dist/utils/scrollElementIntoView.js.map +1 -1
  701. package/dist/utils/txtVariants.d.ts +1 -1
  702. package/dist/utils/txtVariants.js +1 -1
  703. package/meta.ts +15 -28
  704. package/package.json +115 -91
  705. package/src/components/Accordion/Accordion.tsx +77 -0
  706. package/src/components/Accordion/AccordionExample.tsx +87 -0
  707. package/src/components/Accordion/AccordionSection.tsx +128 -0
  708. package/src/components/Accordion/accordion.scss +105 -0
  709. package/src/components/Accordion/index.tsx +1 -0
  710. package/src/components/Avatar/Avatar.tsx +37 -18
  711. package/src/components/Avatar/AvatarExample.tsx +12 -4
  712. package/src/components/Avatar/avatar.scss +34 -1
  713. package/src/components/AvatarGroup/AvatarGroup.tsx +20 -14
  714. package/src/components/AvatarGroup/AvatarGroupExample.tsx +33 -0
  715. package/src/components/AvatarGroup/avatar-group.scss +16 -1
  716. package/src/components/Badge/Badge.tsx +16 -16
  717. package/src/components/Badge/BadgeExample.tsx +11 -66
  718. package/src/components/Badge/badge.scss +18 -25
  719. package/src/components/BadgeDot/BadgeDot.tsx +83 -0
  720. package/src/components/BadgeDot/BadgeDotExample.tsx +25 -0
  721. package/src/components/BadgeDot/badge-dot.scss +26 -0
  722. package/src/components/BadgeDot/index.tsx +1 -0
  723. package/src/components/BannerAlert/BannerAlert.tsx +10 -9
  724. package/src/components/BannerAlert/BannerAlertExample.tsx +7 -8
  725. package/src/components/BannerAlert/banner-alert.scss +1 -1
  726. package/src/components/Breadcrumb/Breadcrumb.tsx +15 -17
  727. package/src/components/Breadcrumb/BreadcrumbExample.tsx +68 -2
  728. package/src/components/Button/Button.tsx +44 -29
  729. package/src/components/Button/ButtonExample.tsx +8 -3
  730. package/src/components/Button/button.scss +3 -3
  731. package/src/components/Card/Card.tsx +3 -6
  732. package/src/components/Card/card.scss +1 -1
  733. package/src/components/Checkbox/Checkbox.tsx +27 -25
  734. package/src/components/Checkbox/checkbox.scss +0 -7
  735. package/src/components/CheckboxGroup/CheckboxGroup.tsx +65 -59
  736. package/src/components/CheckboxGroup/CheckboxGroupExample.tsx +24 -3
  737. package/src/components/CheckboxOption/CheckboxOption.tsx +7 -20
  738. package/src/components/ChipAssist/ChipAssist.tsx +11 -7
  739. package/src/components/ChipAssist/ChipAssistExample.tsx +1 -2
  740. package/src/components/ChipFilter/ChipFilter.tsx +10 -6
  741. package/src/components/ChipFilter/ChipFilterExample.tsx +1 -2
  742. package/src/components/ChipGroup/ChipGroup.tsx +4 -8
  743. package/src/components/ChipGroup/ChipGroupExample.tsx +6 -7
  744. package/src/components/ChipInput/ChipInput.tsx +3 -6
  745. package/src/components/ChipInput/ChipInputExample.tsx +1 -2
  746. package/src/components/ChipSuggestion/ChipSuggestion.tsx +3 -7
  747. package/src/components/ChipSuggestion/ChipSuggestionExample.tsx +1 -2
  748. package/src/components/ChipUtility/ChipUtility.tsx +7 -12
  749. package/src/components/ChipUtility/ChipUtilityExample.tsx +2 -2
  750. package/src/components/ChipUtility/chip-utility.scss +2 -2
  751. package/src/components/Combobox/Combobox.tsx +33 -123
  752. package/src/components/Combobox/ListItems.tsx +107 -0
  753. package/src/components/Dialog/Dialog.tsx +54 -95
  754. package/src/components/Dialog/DialogExample.tsx +4 -13
  755. package/src/components/Dialog/dialog.scss +81 -63
  756. package/src/components/Divider/Divider.tsx +5 -7
  757. package/src/components/Divider/divider.scss +3 -7
  758. package/src/components/EmptyState/EmptyState.tsx +3 -7
  759. package/src/components/EmptyState/EmptyStateExample.tsx +16 -18
  760. package/src/components/ExamplePlaceholder/ExamplePlaceholder.tsx +33 -15
  761. package/src/components/Fab/Fab.tsx +50 -40
  762. package/src/components/Fab/fab.scss +2 -2
  763. package/src/components/FileUpload/FileUpload.tsx +285 -0
  764. package/src/components/FileUpload/FileUploadExample.tsx +91 -0
  765. package/src/components/FileUpload/file-upload.scss +20 -0
  766. package/src/components/FileUpload/index.tsx +1 -0
  767. package/src/components/FileUploadItem/FileUploadItem.tsx +121 -0
  768. package/src/components/FileUploadItem/FileUploadItemExample.tsx +78 -0
  769. package/src/components/FileUploadItem/file-upload-item.scss +46 -0
  770. package/src/components/FileUploadItem/index.tsx +1 -0
  771. package/src/components/FormField/FormField.tsx +30 -42
  772. package/src/components/FormField/FormFieldExample.tsx +41 -0
  773. package/src/components/Img/Img.tsx +2 -6
  774. package/src/components/InlineAlert/InlineAlert.tsx +6 -27
  775. package/src/components/InlineAlert/SvgWarningTwoTone.tsx +18 -0
  776. package/src/components/InlineAlert/inline-alert.scss +1 -0
  777. package/src/components/Layout/Layout.tsx +4 -8
  778. package/src/components/Layout/LayoutExample.tsx +14 -0
  779. package/src/components/Link/Link.tsx +3 -7
  780. package/src/components/Link/LinkExample.tsx +7 -8
  781. package/src/components/Link/link.scss +1 -1
  782. package/src/components/ListItem/ListItem.tsx +40 -121
  783. package/src/components/ListItem/ListItemButton.tsx +6 -0
  784. package/src/components/ListItem/ListItemExample.tsx +26 -77
  785. package/src/components/ListItem/list-item.scss +11 -30
  786. package/src/components/Listbox/Listbox.tsx +14 -14
  787. package/src/components/Menu/Menu.tsx +83 -85
  788. package/src/components/Menu/MenuExample.tsx +28 -6
  789. package/src/components/Menu/menu.scss +6 -2
  790. package/src/components/MenuButton/MenuButton.tsx +3 -6
  791. package/src/components/Modal/Modal.tsx +12 -15
  792. package/src/components/Modal/ModalExample.tsx +3 -4
  793. package/src/components/Modal/modal.scss +8 -21
  794. package/src/components/NumberField/NumberField.tsx +18 -27
  795. package/src/components/NumberInput/IncrementButton.tsx +31 -0
  796. package/src/components/NumberInput/NumberInput.tsx +54 -68
  797. package/src/components/NumberInput/NumberInputExample.tsx +6 -0
  798. package/src/components/NumberInput/number-input.scss +10 -6
  799. package/src/components/OTPInput/OTPInput.tsx +121 -0
  800. package/src/components/OTPInput/OTPInputExample.tsx +26 -0
  801. package/src/components/OTPInput/index.tsx +1 -0
  802. package/src/components/OTPInput/otp-input.scss +87 -0
  803. package/src/components/PageControl/PageControl.tsx +98 -0
  804. package/src/components/PageControl/index.tsx +1 -0
  805. package/src/components/PageControl/page-control.scss +38 -0
  806. package/src/components/Pagination/PageInput.tsx +65 -0
  807. package/src/components/Pagination/PageList.tsx +21 -0
  808. package/src/components/Pagination/Pagination.tsx +104 -0
  809. package/src/components/Pagination/index.tsx +1 -0
  810. package/src/components/Pagination/pagination.scss +36 -0
  811. package/src/components/PasswordField/PasswordField.tsx +68 -0
  812. package/src/components/PasswordField/index.tsx +1 -0
  813. package/src/components/PasswordInput/PasswordInput.tsx +115 -0
  814. package/src/components/PasswordInput/index.tsx +1 -0
  815. package/src/components/PasswordInput/password-input.scss +36 -0
  816. package/src/components/PhoneNumberField/PhoneNumberField.tsx +10 -49
  817. package/src/components/PhoneNumberInput/PhoneNumberInput.tsx +20 -19
  818. package/src/components/Popover/Popover.tsx +94 -53
  819. package/src/components/Popover/PopoverExample.tsx +20 -4
  820. package/src/components/Popover/popover.scss +17 -29
  821. package/src/components/Portal/Portal.tsx +4 -6
  822. package/src/components/ProgressBar/ProgressBar.tsx +33 -9
  823. package/src/components/ProgressBar/progress-bar.scss +8 -2
  824. package/src/components/ProgressCircle/ProgressCircle.tsx +5 -43
  825. package/src/components/ProgressCircle/ProgressCircleSVG.tsx +38 -0
  826. package/src/components/ProgressionStepper/ProgressionStepper.tsx +20 -19
  827. package/src/components/ProgressionStepper/ProgressionStepperExample.tsx +3 -3
  828. package/src/components/ProgressionStepper/progression-stepper.scss +13 -0
  829. package/src/components/ProgressionStepperBar/ProgressionStepperBar.tsx +5 -8
  830. package/src/components/ProgressionStepperBar/progression-stepper-bar.scss +2 -2
  831. package/src/components/Radio/Radio.tsx +4 -10
  832. package/src/components/Radio/radio.scss +1 -1
  833. package/src/components/RadioGroup/RadioGroup.tsx +80 -82
  834. package/src/components/RadioGroup/RadioGroupExample.tsx +3 -24
  835. package/src/components/RadioGroup/radio-group.scss +0 -1
  836. package/src/components/RadioOption/RadioOption.tsx +6 -21
  837. package/src/components/Rating/Rating.tsx +100 -0
  838. package/src/components/Rating/RatingExample.tsx +18 -0
  839. package/src/components/Rating/index.tsx +1 -0
  840. package/src/components/Rating/rating.scss +85 -0
  841. package/src/components/Scrim/Scrim.tsx +5 -24
  842. package/src/components/Scrim/scrim.scss +15 -4
  843. package/src/components/SearchBar/SearchBar.tsx +18 -13
  844. package/src/components/SearchBar/SearchBarExample.tsx +9 -3
  845. package/src/components/SearchBar/search-bar.scss +1 -1
  846. package/src/components/SegmentedControl/SegmentedControl.tsx +19 -123
  847. package/src/components/SegmentedControl/SegmentedControlExample.tsx +42 -21
  848. package/src/components/SegmentedControl/segmented-control.scss +37 -89
  849. package/src/components/Select/Select.tsx +26 -34
  850. package/src/components/Select/SelectExample.tsx +4 -13
  851. package/src/components/Select/select.scss +14 -11
  852. package/src/components/SelectField/SelectField.tsx +20 -28
  853. package/src/components/Skeleton/Circular.tsx +5 -0
  854. package/src/components/Skeleton/Photo.tsx +5 -0
  855. package/src/components/Skeleton/Profile.tsx +5 -0
  856. package/src/components/Skeleton/Rectangular.tsx +5 -0
  857. package/src/components/Skeleton/Skeleton.tsx +6 -29
  858. package/src/components/Skeleton/SkeletonExample.tsx +21 -36
  859. package/src/components/Skeleton/Thumbnail.tsx +5 -0
  860. package/src/components/Skeleton/index.tsx +5 -0
  861. package/src/components/SkeletonText/SkeletonText.tsx +2 -6
  862. package/src/components/SkeletonText/SkeletonTextExample.tsx +1 -2
  863. package/src/components/Slider/Slider.tsx +281 -0
  864. package/src/components/Slider/SliderExample.tsx +63 -0
  865. package/src/components/Slider/SliderIntervalDots.tsx +35 -0
  866. package/src/components/Slider/index.tsx +1 -0
  867. package/src/components/Slider/slider.scss +121 -0
  868. package/src/components/Slider/useNormalizeSliderValue.ts +16 -0
  869. package/src/components/StylesProviderAnywhere/StylesProviderAnywhere.tsx +4 -6
  870. package/src/components/StylesProviderBetterHomesGardens/StylesProviderBetterHomesGardens.tsx +4 -6
  871. package/src/components/StylesProviderCartus/StylesProviderCartus.tsx +4 -6
  872. package/src/components/StylesProviderCentury21/StylesProviderCentury21.tsx +4 -6
  873. package/src/components/StylesProviderColdwellBanker/StylesProviderColdwellBanker.tsx +4 -6
  874. package/src/components/StylesProviderCorcoran/StylesProviderCorcoran.tsx +4 -6
  875. package/src/components/StylesProviderDemo/StylesProviderDemo.tsx +49 -0
  876. package/src/components/StylesProviderDemo/brandsCss.ts +20 -0
  877. package/src/components/StylesProviderDemo/index.tsx +1 -0
  878. package/src/components/StylesProviderDenaliBoss/StylesProviderDenaliBoss.tsx +4 -6
  879. package/src/components/StylesProviderEra/StylesProviderEra.tsx +4 -6
  880. package/src/components/StylesProviderSothebys/StylesProviderSothebys.tsx +4 -6
  881. package/src/components/Switch/Switch.tsx +3 -7
  882. package/src/components/Switch/switch.scss +1 -1
  883. package/src/components/SwitchOption/SwitchOption.tsx +6 -9
  884. package/src/components/TabGroup/TabGroup.tsx +17 -130
  885. package/src/components/TabGroup/TabGroupExample.tsx +78 -71
  886. package/src/components/TabGroup/tab-group.scss +33 -79
  887. package/src/components/TabList/TabList.tsx +239 -0
  888. package/src/components/TabList/TabListExample.tsx +7 -0
  889. package/src/components/TabList/index.tsx +1 -0
  890. package/src/components/TabList/tab-list.scss +76 -0
  891. package/src/components/Table/Footer.tsx +40 -0
  892. package/src/components/Table/Table.tsx +181 -53
  893. package/src/components/Table/TableExample.tsx +138 -0
  894. package/src/components/Table/table.scss +229 -27
  895. package/src/components/Table/utils.ts +179 -0
  896. package/src/components/Tag/Tag.tsx +11 -54
  897. package/src/components/Tag/TagExample.tsx +16 -0
  898. package/src/components/Tag/tag.scss +8 -13
  899. package/src/components/TextField/TextField.tsx +6 -27
  900. package/src/components/TextInput/TextInput.tsx +72 -54
  901. package/src/components/TextInput/TextInputExample.tsx +2 -2
  902. package/src/components/TextInput/text-input.scss +3 -2
  903. package/src/components/Textarea/Textarea.tsx +10 -11
  904. package/src/components/Textarea/TextareaExample.tsx +4 -3
  905. package/src/components/Textarea/textarea.scss +1 -1
  906. package/src/components/TextareaField/TextareaField.tsx +22 -39
  907. package/src/components/TextareaField/TextareaFieldExample.tsx +3 -9
  908. package/src/components/TimeInput/Listbox.tsx +95 -0
  909. package/src/components/TimeInput/Segment.tsx +221 -0
  910. package/src/components/TimeInput/TimeInput.tsx +192 -0
  911. package/src/components/TimeInput/TimeInputExample.tsx +6 -0
  912. package/src/components/TimeInput/index.tsx +1 -0
  913. package/src/components/TimeInput/time-input.scss +176 -0
  914. package/src/components/ToggleOption/ToggleOption.tsx +11 -12
  915. package/src/components/ToggleOption/toggle-option.scss +15 -11
  916. package/src/components/Tooltip/Tooltip.tsx +30 -27
  917. package/src/components/Tooltip/TooltipExample.tsx +10 -6
  918. package/src/components/Tooltip/tooltip.scss +1 -1
  919. package/src/components/TopNavigation/TopNavigation.tsx +1 -5
  920. package/src/components/Truncated/Truncated.tsx +24 -13
  921. package/src/components/Txt/Txt.tsx +3 -7
  922. package/src/components/UIProvider/UIProvider.tsx +2 -5
  923. package/src/constants/brands.ts +45 -0
  924. package/src/constants/phases.ts +11 -0
  925. package/src/global.d.ts +3 -0
  926. package/src/hooks/useCombobox.ts +9 -12
  927. package/src/hooks/useFloating.ts +5 -7
  928. package/src/hooks/useId.ts +5 -3
  929. package/src/hooks/useKeyNavigation.ts +66 -0
  930. package/src/hooks/useLongPress.ts +3 -2
  931. package/src/hooks/useOutsideClick.ts +9 -5
  932. package/src/hooks/usePaginationState.tsx +24 -0
  933. package/src/hooks/useTimeout.ts +14 -4
  934. package/src/{base.scss → styles/base.scss} +28 -12
  935. package/src/{colors.scss → styles/colors.scss} +1 -1
  936. package/src/{index.ts → types/common.ts} +15 -62
  937. package/src/types/meta.ts +109 -0
  938. package/src/utils/bound.ts +30 -0
  939. package/src/utils/colorVariants.ts +1 -1
  940. package/src/utils/createExampleChildElement.tsx +83 -0
  941. package/src/utils/demo.ts +25 -17
  942. package/src/utils/fileUploads.ts +73 -0
  943. package/src/utils/handleKeyDown.ts +24 -0
  944. package/src/utils/keyboard.ts +2 -2
  945. package/src/utils/random.ts +25 -0
  946. package/src/utils/scrollElementIntoView.ts +3 -1
  947. package/src/utils/txtVariants.ts +1 -1
  948. package/tsconfig.json +12 -5
  949. package/dist/components/Chip/Chip.d.ts +0 -64
  950. package/dist/components/Chip/Chip.js +0 -33
  951. package/dist/components/Chip/Chip.js.map +0 -1
  952. package/dist/components/Chip/chip.css +0 -44
  953. package/dist/components/Chip/chip.css.js +0 -50
  954. package/dist/components/Chip/index.d.ts +0 -1
  955. package/dist/components/Chip/index.js +0 -2
  956. package/dist/components/Chip/index.js.map +0 -1
  957. package/dist/hooks/useOptionIconsInvalid.d.ts +0 -36
  958. package/dist/hooks/useOptionIconsInvalid.js +0 -21
  959. package/dist/hooks/useOptionIconsInvalid.js.map +0 -1
  960. package/dist/hooks/useValidChildren.d.ts +0 -6
  961. package/dist/hooks/useValidChildren.js +0 -30
  962. package/dist/hooks/useValidChildren.js.map +0 -1
  963. package/dist/utils/children.d.ts +0 -29
  964. package/dist/utils/children.js +0 -67
  965. package/dist/utils/children.js.map +0 -1
  966. package/dist/utils/srOnly.d.ts +0 -14
  967. package/dist/utils/srOnly.js +0 -13
  968. package/dist/utils/srOnly.js.map +0 -1
  969. package/src/components/Chip/Chip.tsx +0 -104
  970. package/src/components/Chip/chip.scss +0 -66
  971. package/src/components/Chip/index.tsx +0 -1
  972. package/src/hooks/useOptionIconsInvalid.ts +0 -58
  973. package/src/hooks/useValidChildren.ts +0 -54
  974. package/src/utils/children.ts +0 -80
  975. package/src/utils/srOnly.ts +0 -14
@@ -6,16 +6,11 @@
6
6
  * @bspk/ui/Txt".
7
7
  */
8
8
  import { JSXElementConstructor, ReactNode, ComponentPropsWithoutRef } from 'react';
9
- export declare const BRANDS: {
10
- /** The title of the brand. */
11
- title: string;
12
- /** The slug of the brand, used in URLs and identifiers. */
13
- slug: Brand;
14
- }[];
15
9
  export type AlertVariant = 'error' | 'informational' | 'success' | 'warning';
16
10
  export type SetRef<T> = (instance: T | null) => void;
17
11
  export type ElementProps<P extends Record<string, unknown>, E extends JSXElementConstructor<unknown> | keyof JSX.IntrinsicElements, O extends string = ''> = Omit<ComponentPropsWithoutRef<E>, O | keyof P> & P;
18
12
  export type ElementConstructorProps<E extends JSXElementConstructor<unknown> | keyof JSX.IntrinsicElements, O extends string = ''> = Omit<ComponentPropsWithoutRef<E>, O>;
13
+ export type DataProps = Record<`data-${string}`, string>;
19
14
  export type ButtonSize = 'large' | 'medium' | 'small' | 'x-small';
20
15
  export type CallToActionButton = {
21
16
  /**
@@ -33,12 +28,7 @@ export type CallToActionButton = {
33
28
  /** The size of the call to action button. */
34
29
  size?: ButtonSize;
35
30
  };
36
- /**
37
- * The props that are common to input elements.
38
- *
39
- * If an element is invalid it must have an errorMessage.
40
- */
41
- export type InvalidPropsLibrary = {
31
+ export type CommonPropsLibrary = {
42
32
  /**
43
33
  * Marks the element as invalid and displays error state theme.
44
34
  *
@@ -47,15 +37,6 @@ export type InvalidPropsLibrary = {
47
37
  * @default false
48
38
  */
49
39
  invalid?: boolean;
50
- /**
51
- * Marks the element as invalid and displays error message.
52
- *
53
- * When an element is invalid it must display an error message explaining why it is invalid.
54
- */
55
- errorMessage?: string;
56
- };
57
- export type InvalidProps<K extends keyof InvalidPropsLibrary> = Pick<InvalidPropsLibrary, K>;
58
- export type CommonPropsLibrary = {
59
40
  /** The id of the element. If not provided one will be generated. */
60
41
  id?: string;
61
42
  /**
@@ -116,9 +97,18 @@ export type CommonPropsLibrary = {
116
97
  * This is a utility attribute used to identify the owning component of another component.
117
98
  *
118
99
  * This is used to identify the component in the UI library and is not intended for public use.
100
+ *
101
+ * @utility
119
102
  */
120
- 'data-bspk-owner'?: string;
103
+ owner?: string;
121
104
  };
122
105
  export type CommonProps<K extends keyof CommonPropsLibrary> = Pick<CommonPropsLibrary, K>;
106
+ export type RequiredCommonProps<K extends keyof CommonPropsLibrary> = Required<Pick<CommonPropsLibrary, K>>;
107
+ export type FormFieldControlProps = {
108
+ /** The id of the control description. */
109
+ 'aria-describedby'?: string;
110
+ /** The id of the error message */
111
+ 'aria-errormessage'?: string;
112
+ };
123
113
  export type Brand = 'anywhere' | 'better-homes-gardens' | 'cartus' | 'century-21' | 'coldwell-banker' | 'corcoran' | 'denali-boss' | 'era' | 'sothebys';
124
114
  /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
@@ -0,0 +1,10 @@
1
+ /**
2
+ * There are no barrel files for this repository.
3
+ *
4
+ * Components should be imported directly like "import { Txt } from
5
+ *
6
+ * @bspk/ui/Txt".
7
+ */
8
+ export {};
9
+ /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
10
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAyIH,sDAAsD"}
@@ -2,21 +2,24 @@
2
2
  * This file is used to build the meta types for the project. It's used in the build-meta.ts file and also copied in to
3
3
  * the meta output file.
4
4
  */
5
-
5
+ export declare const COMPONENT_PHASE_ORDER: ComponentPhase[];
6
+ export declare const COMPONENT_PHASES: Record<ComponentPhase, {
7
+ title: string;
8
+ id: ComponentPhase;
9
+ description: string;
10
+ }>;
6
11
  export type BaseMeta = {
7
12
  name: string;
8
13
  description?: string;
9
14
  file: string;
10
15
  example?: string;
11
16
  };
12
-
13
17
  export type TypeMeta = BaseMeta & {
14
18
  id: string;
15
19
  references?: string[];
16
20
  properties?: TypeProperty[];
17
21
  components?: string[];
18
22
  };
19
-
20
23
  export type TypeProperty = {
21
24
  name: string;
22
25
  description?: string;
@@ -31,7 +34,6 @@ export type TypeProperty = {
31
34
  maximum?: number;
32
35
  example?: string;
33
36
  };
34
-
35
37
  export type ComponentMeta = BaseMeta & {
36
38
  slug: string;
37
39
  dependencies: string[];
@@ -43,18 +45,9 @@ export type ComponentMeta = BaseMeta & {
43
45
  };
44
46
  phase: ComponentPhase;
45
47
  };
46
-
47
48
  export type UtilityMeta = BaseMeta & {
48
49
  param?: string;
49
50
  returns?: string;
50
51
  };
51
-
52
- export type ComponentPhase =
53
- | 'AccessibilityReview'
54
- | 'Backlog'
55
- | 'DesignReview'
56
- | 'ProductionReady'
57
- | 'Utility'
58
- | 'WorkInProgress';
59
-
52
+ export type ComponentPhase = 'Backlog' | 'Dev' | 'QA' | 'Stable' | 'Utility' | 'UXReview';
60
53
  /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
@@ -0,0 +1,47 @@
1
+ /**
2
+ * This file is used to build the meta types for the project. It's used in the build-meta.ts file and also copied in to
3
+ * the meta output file.
4
+ */
5
+ export const COMPONENT_PHASE_ORDER = [
6
+ 'Utility', // Utility components are not tracked in the progress
7
+ //
8
+ 'Backlog', // components that are not actively being worked on
9
+ 'Dev', // components that are actively being developed
10
+ 'QA', // components that are undergoing QA
11
+ 'UXReview', // components that are in UX Review
12
+ 'Stable', // production ready
13
+ ];
14
+ export const COMPONENT_PHASES = {
15
+ Backlog: {
16
+ title: 'Backlog',
17
+ id: 'Backlog',
18
+ description: 'The component has been initiated but is currently on hold. It awaits further development and is not actively being worked on at this time.',
19
+ },
20
+ Dev: {
21
+ title: 'Development',
22
+ id: 'Dev',
23
+ description: 'The component is actively under development. This phase includes the creation of visual elements and integration tests to ensure comprehensive functionality.',
24
+ },
25
+ QA: {
26
+ title: 'Quality Assurance',
27
+ id: 'QA',
28
+ description: 'The component is being carefully evaluated by our Bespoke Engineering team. They are ensuring that it aligns with our high standards of functionality and performance.',
29
+ },
30
+ UXReview: {
31
+ title: 'UX Review',
32
+ id: 'UXReview',
33
+ description: 'The component is being carefully evaluated by our Bespoke UX team. They are ensuring that it aligns with our high standards of aesthetics and user experience and is accessible to all users.',
34
+ },
35
+ Stable: {
36
+ title: 'Stable',
37
+ id: 'Stable',
38
+ description: 'The component has successfully passed all reviews and is ready for use. It is now officially released and ready for use in a production environment.',
39
+ },
40
+ Utility: {
41
+ title: 'Utility',
42
+ id: 'Utility',
43
+ description: "The component progress isn't tracked as it's a utility component.",
44
+ },
45
+ };
46
+ /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
47
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../src/types/meta.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAqB;IACnD,SAAS,EAAE,qDAAqD;IAChE,EAAE;IACF,SAAS,EAAE,mDAAmD;IAC9D,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,oCAAoC;IAC1C,UAAU,EAAE,mCAAmC;IAC/C,QAAQ,EAAE,mBAAmB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAOzB;IACA,OAAO,EAAE;QACL,KAAK,EAAE,SAAS;QAChB,EAAE,EAAE,SAAS;QACb,WAAW,EACP,4IAA4I;KACnJ;IACD,GAAG,EAAE;QACD,KAAK,EAAE,aAAa;QACpB,EAAE,EAAE,KAAK;QACT,WAAW,EACP,+JAA+J;KACtK;IACD,EAAE,EAAE;QACA,KAAK,EAAE,mBAAmB;QAC1B,EAAE,EAAE,IAAI;QACR,WAAW,EACP,wKAAwK;KAC/K;IACD,QAAQ,EAAE;QACN,KAAK,EAAE,WAAW;QAClB,EAAE,EAAE,UAAU;QACd,WAAW,EACP,+LAA+L;KACtM;IACD,MAAM,EAAE;QACJ,KAAK,EAAE,QAAQ;QACf,EAAE,EAAE,QAAQ;QACZ,WAAW,EACP,sJAAsJ;KAC7J;IACD,OAAO,EAAE;QACL,KAAK,EAAE,SAAS;QAChB,EAAE,EAAE,SAAS;QACb,WAAW,EAAE,mEAAmE;KACnF;CACJ,CAAC;AAkDF,sDAAsD"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * A utility function to bound a number within a specified range. Allows for rollover behavior.
3
+ *
4
+ * @param params
5
+ * @param params.num The number to bound, can be a number, string, or undefined
6
+ * @param params.max The maximum value the number can be
7
+ * @param params.min The minimum value the number can be
8
+ * @param params.rollover If true, the number will wrap around when it exceeds the bounds
9
+ * @param params.defaultValue The default value to return if the input is invalid or undefined
10
+ * @returns The bounded number
11
+ */
12
+ export declare function bound({ num, max, min, rollover, defaultValue, }: {
13
+ num: number | string | undefined;
14
+ max: number;
15
+ min: number;
16
+ rollover?: boolean;
17
+ defaultValue?: number;
18
+ }): number;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * A utility function to bound a number within a specified range. Allows for rollover behavior.
3
+ *
4
+ * @param params
5
+ * @param params.num The number to bound, can be a number, string, or undefined
6
+ * @param params.max The maximum value the number can be
7
+ * @param params.min The minimum value the number can be
8
+ * @param params.rollover If true, the number will wrap around when it exceeds the bounds
9
+ * @param params.defaultValue The default value to return if the input is invalid or undefined
10
+ * @returns The bounded number
11
+ */
12
+ export function bound({ num, max, min, rollover = false, defaultValue = min, }) {
13
+ const parsedNum = typeof num === 'number' ? num : parseInt(num, 10);
14
+ if (isNaN(parsedNum))
15
+ return defaultValue ?? min;
16
+ if (parsedNum > max)
17
+ return rollover ? min : max;
18
+ if (parsedNum < min)
19
+ return rollover ? max : min;
20
+ return parsedNum;
21
+ }
22
+ //# sourceMappingURL=bound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bound.js","sourceRoot":"","sources":["../../src/utils/bound.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,KAAK,CAAC,EAClB,GAAG,EACH,GAAG,EACH,GAAG,EACH,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,GAAG,GAOrB;IACG,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAa,EAAE,EAAE,CAAC,CAAC;IAC9E,IAAI,KAAK,CAAC,SAAS,CAAC;QAAE,OAAO,YAAY,IAAI,GAAG,CAAC;IACjD,IAAI,SAAS,GAAG,GAAG;QAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IACjD,IAAI,SAAS,GAAG,GAAG;QAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IACjD,OAAO,SAAS,CAAC;AACrB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is generated by the build-css script. Do not edit this file directly. Instead, edit the script and run it
2
+ * This file is generated by the update-css script. Do not edit this file directly. Instead, edit the script and run it
3
3
  * again.
4
4
  */
5
5
  export declare const COLOR_VARIANTS: readonly ["grey", "white", "primary", "secondary", "blue", "green", "lime", "magenta", "orange", "pink", "purple", "red", "teal", "yellow"];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is generated by the build-css script. Do not edit this file directly. Instead, edit the script and run it
2
+ * This file is generated by the update-css script. Do not edit this file directly. Instead, edit the script and run it
3
3
  * again.
4
4
  */
5
5
  export const COLOR_VARIANTS = [
@@ -0,0 +1,17 @@
1
+ import { DemoAction, DemoSetState } from './demo';
2
+ type ExampleChildElementProps = {
3
+ exampleState: Record<string, any>;
4
+ name: string;
5
+ setState: DemoSetState;
6
+ action: DemoAction;
7
+ id?: string;
8
+ };
9
+ /**
10
+ * Returns example leading and trailing components for use in component examples. Allows which type of element is
11
+ * rendered to be determined by the example state.
12
+ */
13
+ export declare function createExampleChildElement({ exampleState, name, setState, action, id }: ExampleChildElementProps): {
14
+ element: JSX.Element | null;
15
+ componentName?: string;
16
+ };
17
+ export {};
@@ -0,0 +1,50 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */ import { SvgContentCopy } from '@bspk/icons/ContentCopy';
3
+ import { SvgDiamond } from '@bspk/icons/Diamond';
4
+ import { Avatar } from '../components/Avatar';
5
+ import { Checkbox } from '../components/Checkbox';
6
+ import { Img } from '../components/Img';
7
+ import { ListItem } from '../components/ListItem';
8
+ import { Radio } from '../components/Radio';
9
+ import { Switch } from '../components/Switch';
10
+ import { Tag } from '../components/Tag';
11
+ import { Txt } from '../components/Txt';
12
+ /**
13
+ * Returns example leading and trailing components for use in component examples. Allows which type of element is
14
+ * rendered to be determined by the example state.
15
+ */
16
+ export function createExampleChildElement({ exampleState, name, setState, action, id }) {
17
+ const componentName = exampleState[name];
18
+ if (componentName === 'Checkbox' || componentName === 'Radio' || componentName === 'Switch') {
19
+ let As = Checkbox;
20
+ if (componentName === 'Radio')
21
+ As = Radio;
22
+ else if (componentName === 'Switch')
23
+ As = Switch;
24
+ const toggleName = `data-${name}-toggle-${id}`;
25
+ return {
26
+ element: (_jsx(As, { "aria-label": `${componentName} demo`, checked: exampleState[toggleName], disabled: exampleState.disabled, name: `${name}-toggle`, onChange: (checked) => {
27
+ setState({ [toggleName]: checked });
28
+ }, onClick: () => action(`${name} ${componentName} clicked`), readOnly: exampleState.readOnly, value: `${name}-${componentName}` })),
29
+ componentName,
30
+ };
31
+ }
32
+ if (componentName === 'ListItemButton')
33
+ return {
34
+ element: (_jsx(ListItem.Button, { icon: _jsx(SvgContentCopy, {}), label: "LI Button", onClick: () => action('ListItem button clicked') })),
35
+ componentName,
36
+ };
37
+ if (componentName === 'Img')
38
+ return { element: _jsx(Img, { alt: "placeholder", src: "/placeholder.svg" }) };
39
+ if (componentName === 'Avatar')
40
+ return { element: _jsx(Avatar, { name: "List Item", showTooltip: false }) };
41
+ if (componentName === 'Tag') {
42
+ return { element: _jsx(Tag, { label: "Tag" }) };
43
+ }
44
+ if (componentName === 'Txt')
45
+ return { element: _jsx(Txt, { children: "Text" }) };
46
+ if (componentName === 'Icon')
47
+ return { element: _jsx(SvgDiamond, {}) };
48
+ return { element: null };
49
+ }
50
+ //# sourceMappingURL=createExampleChildElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createExampleChildElement.js","sourceRoot":"","sources":["../../src/utils/createExampleChildElement.tsx"],"names":[],"mappings":"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"}
@@ -1,4 +1,5 @@
1
- import { AlertVariant } from '../index.js';
1
+ import { AlertVariant } from '-/types/common';
2
+ import { ComponentMeta } from '-/types/meta';
2
3
  export type TypeProperty = {
3
4
  name: string;
4
5
  description?: string;
@@ -15,7 +16,6 @@ export type TypeProperty = {
15
16
  };
16
17
  export type DemoAction = (message: string, variant?: AlertVariant) => void;
17
18
  export type DemoSetState<Props = Record<string, unknown>> = (next: Partial<Props> | ((prev: Props) => Partial<Props>)) => void;
18
- export type ComponentPhase = 'AccessibilityReview' | 'Backlog' | 'DesignReview' | 'ProductionReady' | 'Utility' | 'WorkInProgress';
19
19
  export type TypePropertyDemo = Omit<TypeProperty, 'example'> & {
20
20
  libraryDefault?: TypeProperty['default'];
21
21
  label?: string;
@@ -32,26 +32,35 @@ export type ComponentExampleRenderProps<Props = Record<string, unknown>> = {
32
32
  preset?: DemoPreset;
33
33
  setState: DemoSetState<Props>;
34
34
  Component: React.ComponentType<Props>;
35
- context?: {
36
- [key: string]: unknown;
37
- preset?: DemoPreset;
35
+ variant?: {
36
+ name: string;
37
+ value: unknown;
38
38
  };
39
39
  id: string;
40
40
  };
41
41
  export type ComponentExampleRender<Props = Record<string, unknown>> = (params: ComponentExampleRenderProps<Props>) => React.ReactNode;
42
- export type ComponentExample<Props = Record<string, unknown>, PropName = keyof Props> = {
42
+ type ComponentVariantOverride<Props> = {
43
+ [K in keyof Props]?: Props[K] | {
44
+ options: Props[K][];
45
+ };
46
+ };
47
+ export type ComponentVariantOverrides<Props = Record<string, unknown>, PropName extends keyof Props = keyof Props> = {
48
+ [Key in PropName]?: ComponentVariantOverride<Props> | false | ((props: Props) => ComponentVariantOverride<Props>);
49
+ };
50
+ export type ComponentExample<Props = Record<string, unknown>, PropName extends keyof Props = keyof Props> = {
43
51
  /**
44
52
  * The style of the wrapping component.
45
53
  *
46
- * //
54
+ * @example
55
+ * { width: '100%' },
47
56
  */
48
57
  containerStyle?: React.CSSProperties | ((propState: Props) => React.CSSProperties);
49
58
  /**
50
- * True to hide all or a list of variants to hide.
59
+ * False to hide all or a record of variants to hide or modify props.
51
60
  *
52
- * Helpful for hiding variants that can have unexpected collisions with the other examples.
61
+ * Helpful for hiding or setting static default props for specific variants
53
62
  */
54
- hideVariants?: PropName[] | true;
63
+ variants?: ComponentVariantOverrides<Props> | boolean;
55
64
  /**
56
65
  * This is used to set the initial propState of the component.
57
66
  *
@@ -74,10 +83,19 @@ export type ComponentExample<Props = Record<string, unknown>, PropName = keyof P
74
83
  render?: ComponentExampleRender<Props>;
75
84
  /** We may not want certain props editable in the props table. */
76
85
  disableProps?: PropName[];
86
+ /** The sections of the example. */
87
+ sections?: {
88
+ title: string;
89
+ content: (params: {
90
+ Component: React.ComponentType<Props>;
91
+ props: Props;
92
+ }) => React.ReactNode;
93
+ }[];
77
94
  };
78
95
  export type ComponentExampleFn<Props = Record<string, unknown>> = (params: {
79
96
  setState: DemoSetState<Props>;
80
97
  action: DemoAction;
98
+ componentsMeta: ComponentMeta[];
81
99
  }) => ComponentExample<Props>;
82
100
  export type Preset<Props> = {
83
101
  /** The name of the preset. This is used to display the preset in the UI. */
@@ -91,3 +109,4 @@ export type DemoPreset<P = Record<string, unknown>> = Preset<P> & {
91
109
  value: string;
92
110
  };
93
111
  export declare function createUid(prefix?: string): string;
112
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"demo.js","sourceRoot":"","sources":["../../src/utils/demo.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAsHvD,MAAM,UAAU,SAAS,CAAC,SAAiB,KAAK;IAC5C,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AACrE,CAAC"}
1
+ {"version":3,"file":"demo.js","sourceRoot":"","sources":["../../src/utils/demo.ts"],"names":[],"mappings":"AAAA,uDAAuD;AA8HvD,MAAM,UAAU,SAAS,CAAC,SAAiB,KAAK;IAC5C,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AACrE,CAAC"}
@@ -0,0 +1,51 @@
1
+ export declare const DEFAULT_ERROR_MESSAGE = "There was an error uploading the file. Please try again.";
2
+ export type FileUploadStatus = 'complete' | 'error' | 'failed' | 'idle' | 'uploading';
3
+ export type FileEntry = {
4
+ /**
5
+ * The unique identifier for the file entry.
6
+ *
7
+ * This is generated client-side and should be unique for each file.
8
+ *
9
+ * This is useful for tracking the file during upload and handling cancellation.
10
+ *
11
+ * @required
12
+ */
13
+ id: string;
14
+ /** The name of the file. */
15
+ fileName: string;
16
+ /**
17
+ * The status of the uploading file.
18
+ *
19
+ * @default idle
20
+ */
21
+ status?: FileUploadStatus;
22
+ /**
23
+ * The size of the file being uploaded in MB.
24
+ *
25
+ * @required
26
+ */
27
+ fileSize: number;
28
+ /**
29
+ * A number between 0 and 100 representing the percentage of the upload completed.
30
+ *
31
+ * @default 0
32
+ * @minimum 0
33
+ * @maximum 100
34
+ */
35
+ progress?: number;
36
+ /**
37
+ * The error message to display when the upload fails.
38
+ *
39
+ * If status is 'error', this message will be displayed by default: "There was an error uploading the file. Please
40
+ * try again."
41
+ */
42
+ errorMessage?: string;
43
+ };
44
+ /**
45
+ * Common MIME types
46
+ *
47
+ * This list includes commonly used MIME types for various file formats.
48
+ *
49
+ * This is not an exhaustive list, but it covers many of the most frequently used types and can be extended as needed.
50
+ */
51
+ export type MimeType = 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/x-www-form-urlencoded' | 'application/xml' | 'application/zip' | 'audio/mpeg' | 'audio/wav' | 'image/gif' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/webp' | 'text/css' | 'text/html' | 'text/javascript' | 'text/plain' | 'video/mp4' | 'video/webm';
@@ -0,0 +1,2 @@
1
+ export const DEFAULT_ERROR_MESSAGE = 'There was an error uploading the file. Please try again.';
2
+ //# sourceMappingURL=fileUploads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileUploads.js","sourceRoot":"","sources":["../../src/utils/fileUploads.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,0DAA0D,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { KeyboardEventCode } from './keyboard';
2
+ export type KeysCallback = Partial<Record<KeyboardEventCode, (event: React.KeyboardEvent) => void>>;
3
+ /**
4
+ * Handles multiple keydown events with specific callbacks for each key.
5
+ *
6
+ * @param keysCallback - An object where keys are keyboard event codes and values are callback functions.
7
+ * @returns A function that can be used as an event handler for keydown events.
8
+ */
9
+ export declare function handleKeyDown(keysCallback: KeysCallback, { stopPropagation, preventDefault }?: {
10
+ stopPropagation?: boolean;
11
+ preventDefault?: boolean;
12
+ }): (event: React.KeyboardEvent) => boolean;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Handles multiple keydown events with specific callbacks for each key.
3
+ *
4
+ * @param keysCallback - An object where keys are keyboard event codes and values are callback functions.
5
+ * @returns A function that can be used as an event handler for keydown events.
6
+ */
7
+ export function handleKeyDown(keysCallback, { stopPropagation = true, preventDefault = true } = {}) {
8
+ return (event) => {
9
+ const callback = keysCallback[event.code];
10
+ if (callback) {
11
+ callback(event);
12
+ if (stopPropagation)
13
+ event.stopPropagation();
14
+ if (preventDefault)
15
+ event.preventDefault();
16
+ }
17
+ return !!callback;
18
+ };
19
+ }
20
+ //# sourceMappingURL=handleKeyDown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleKeyDown.js","sourceRoot":"","sources":["../../src/utils/handleKeyDown.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CACzB,YAA0B,EAC1B,EAAE,eAAe,GAAG,IAAI,EAAE,cAAc,GAAG,IAAI,KAA8D,EAAE;IAE/G,OAAO,CAAC,KAA0B,EAAE,EAAE;QAClC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAyB,CAAC,CAAC;QAC/D,IAAI,QAAQ,EAAE,CAAC;YACX,QAAQ,CAAC,KAAK,CAAC,CAAC;YAChB,IAAI,eAAe;gBAAE,KAAK,CAAC,eAAe,EAAE,CAAC;YAC7C,IAAI,cAAc;gBAAE,KAAK,CAAC,cAAc,EAAE,CAAC;QAC/C,CAAC;QACD,OAAO,CAAC,CAAC,QAAQ,CAAC;IACtB,CAAC,CAAC;AACN,CAAC"}
@@ -1,4 +1,4 @@
1
- export const EVENT_KEY = Object.freeze({
1
+ export const EVENT_KEY = {
2
2
  Backspace: 'Backspace',
3
3
  Tab: 'Tab',
4
4
  Enter: 'Enter',
@@ -133,6 +133,6 @@ export const EVENT_KEY = Object.freeze({
133
133
  '<': '<',
134
134
  '>': '>',
135
135
  '?': '?',
136
- });
136
+ };
137
137
  /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
138
138
  //# sourceMappingURL=keyboard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboard.js","sourceRoot":"","sources":["../../src/utils/keyboard.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"keyboard.js","sourceRoot":"","sources":["../../src/utils/keyboard.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Returns a random integer between min and max (inclusive).
3
+ *
4
+ * @param min - The minimum value (inclusive).
5
+ * @param max - The maximum value (inclusive).
6
+ * @returns A random integer between min and max.
7
+ */
8
+ export declare function randomNumber(min?: number, max?: number): number;
9
+ /**
10
+ * Returns a random string of alphanumeric characters.
11
+ *
12
+ * @param length - The length of the random ID to generate.
13
+ * @returns A random string of the specified length containing alphanumeric characters.
14
+ */
15
+ export declare function randomString(length?: number): string;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Returns a random integer between min and max (inclusive).
3
+ *
4
+ * @param min - The minimum value (inclusive).
5
+ * @param max - The maximum value (inclusive).
6
+ * @returns A random integer between min and max.
7
+ */
8
+ export function randomNumber(min = 0, max = 100) {
9
+ return Math.floor(Math.random() * (max - min + 1)) + min;
10
+ }
11
+ /**
12
+ * Returns a random string of alphanumeric characters.
13
+ *
14
+ * @param length - The length of the random ID to generate.
15
+ * @returns A random string of the specified length containing alphanumeric characters.
16
+ */
17
+ export function randomString(length = 8) {
18
+ const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
19
+ let result = '';
20
+ const rand = new Uint32Array(length);
21
+ window.crypto.getRandomValues(rand);
22
+ for (let i = 0; i < length; i++)
23
+ result += chars[rand[i] % chars.length];
24
+ return result;
25
+ }
26
+ //# sourceMappingURL=random.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random.js","sourceRoot":"","sources":["../../src/utils/random.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG;IAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;AAC7D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,SAAiB,CAAC;IAC3C,MAAM,KAAK,GAAG,sCAAsC,CAAC;IACrD,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,IAAI,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC;AAClB,CAAC"}
@@ -4,5 +4,5 @@
4
4
  * @param element -- The element to scroll into view.
5
5
  * @param container -- The container to scroll.
6
6
  */
7
- export declare function scrollElementIntoView(element: HTMLElement, container: HTMLElement): void;
7
+ export declare function scrollElementIntoView(element?: Element | null, container?: Element | null): void;
8
8
  /** Copyright 2025 Anywhere Real Estate - CC BY 4.0 */
@@ -5,6 +5,8 @@
5
5
  * @param container -- The container to scroll.
6
6
  */
7
7
  export function scrollElementIntoView(element, container) {
8
+ if (!element || !container)
9
+ return;
8
10
  const elementRect = element.getBoundingClientRect();
9
11
  const containerRect = container.getBoundingClientRect();
10
12
  if (elementRect.top < containerRect.top) {
@@ -1 +1 @@
1
- {"version":3,"file":"scrollElementIntoView.js","sourceRoot":"","sources":["../../src/utils/scrollElementIntoView.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAoB,EAAE,SAAsB;IAC9E,MAAM,WAAW,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAEpD,MAAM,aAAa,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAC;IAExD,IAAI,WAAW,CAAC,GAAG,GAAG,aAAa,CAAC,GAAG,EAAE,CAAC;QACtC,oCAAoC;QACpC,SAAS,CAAC,SAAS,IAAI,aAAa,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC;IAC/D,CAAC;SAAM,IAAI,WAAW,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC;QACnD,oCAAoC;QACpC,SAAS,CAAC,SAAS,IAAI,WAAW,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;IACrE,CAAC;IAED,IAAI,WAAW,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;QACxC,6CAA6C;QAC7C,SAAS,CAAC,UAAU,IAAI,aAAa,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAClE,CAAC;SAAM,IAAI,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,EAAE,CAAC;QACjD,8CAA8C;QAC9C,SAAS,CAAC,UAAU,IAAI,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC;IACpE,CAAC;AACL,CAAC;AAED,sDAAsD"}
1
+ {"version":3,"file":"scrollElementIntoView.js","sourceRoot":"","sources":["../../src/utils/scrollElementIntoView.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAwB,EAAE,SAA0B;IACtF,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS;QAAE,OAAO;IAEnC,MAAM,WAAW,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAEpD,MAAM,aAAa,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAC;IAExD,IAAI,WAAW,CAAC,GAAG,GAAG,aAAa,CAAC,GAAG,EAAE,CAAC;QACtC,oCAAoC;QACpC,SAAS,CAAC,SAAS,IAAI,aAAa,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC;IAC/D,CAAC;SAAM,IAAI,WAAW,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC;QACnD,oCAAoC;QACpC,SAAS,CAAC,SAAS,IAAI,WAAW,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC;IACrE,CAAC;IAED,IAAI,WAAW,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;QACxC,6CAA6C;QAC7C,SAAS,CAAC,UAAU,IAAI,aAAa,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAClE,CAAC;SAAM,IAAI,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,EAAE,CAAC;QACjD,8CAA8C;QAC9C,SAAS,CAAC,UAAU,IAAI,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC;IACpE,CAAC;AACL,CAAC;AAED,sDAAsD"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is generated by the build-css script. Do not edit this file directly. Instead, edit the script and run it
2
+ * This file is generated by the update-css script. Do not edit this file directly. Instead, edit the script and run it
3
3
  * again.
4
4
  */
5
5
  export declare const TXT_VARIANTS: readonly ["body-base", "body-large", "body-small", "body-x-small", "labels-base", "labels-large", "labels-small", "labels-x-small", "display-regular-large", "display-regular-medium", "display-regular-small", "display-semibold-large", "display-semibold-medium", "display-semibold-small", "heading-h1", "heading-h2", "heading-h3", "heading-h4", "heading-h5", "heading-h6", "subheader-large", "subheader-medium", "subheader-x-large", "subheader-xx-large", "subheader-xxx-large"];
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is generated by the build-css script. Do not edit this file directly. Instead, edit the script and run it
2
+ * This file is generated by the update-css script. Do not edit this file directly. Instead, edit the script and run it
3
3
  * again.
4
4
  */
5
5
  export const TXT_VARIANTS = [