@algolia/satellite 1.0.0-beta.17 → 1.0.0-beta.170

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 (1176) hide show
  1. package/README.md +154 -8
  2. package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
  3. package/cjs/AnnouncementBadge/AnnouncementBadge.js +51 -0
  4. package/cjs/AnnouncementBadge/index.d.ts +2 -0
  5. package/cjs/AnnouncementBadge/index.js +27 -0
  6. package/cjs/AutoComplete/AutoComplete.d.ts +20 -0
  7. package/cjs/AutoComplete/AutoComplete.js +455 -0
  8. package/cjs/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
  9. package/cjs/AutoComplete/AutoComplete.tailwind.js +96 -0
  10. package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
  11. package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +35 -0
  12. package/cjs/AutoComplete/components/AutocompleteContext.d.ts +5 -0
  13. package/cjs/AutoComplete/components/AutocompleteContext.js +19 -0
  14. package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
  15. package/cjs/AutoComplete/components/DefaultOptionItem.js +36 -0
  16. package/cjs/AutoComplete/index.d.ts +7 -0
  17. package/cjs/AutoComplete/index.js +84 -0
  18. package/cjs/AutoComplete/types.d.ts +95 -0
  19. package/cjs/AutoComplete/types.js +5 -0
  20. package/cjs/AutoComplete/utils.d.ts +8 -0
  21. package/cjs/AutoComplete/utils.js +82 -0
  22. package/cjs/Avatars/ApplicationAvatar.d.ts +13 -0
  23. package/cjs/Avatars/ApplicationAvatar.js +34 -0
  24. package/cjs/Avatars/UserAvatar.d.ts +20 -0
  25. package/cjs/Avatars/UserAvatar.js +55 -0
  26. package/cjs/Avatars/index.d.ts +3 -0
  27. package/cjs/Avatars/index.js +39 -0
  28. package/cjs/Avatars/types.d.ts +17 -0
  29. package/cjs/Avatars/types.js +5 -0
  30. package/cjs/Avatars/utils.d.ts +6 -0
  31. package/cjs/Avatars/utils.js +55 -0
  32. package/cjs/Badge/Badge.d.ts +33 -0
  33. package/cjs/Badge/Badge.js +79 -0
  34. package/cjs/Badge/index.d.ts +2 -0
  35. package/cjs/Badge/index.js +27 -0
  36. package/cjs/Banners/Alert/Alert.d.ts +78 -0
  37. package/cjs/Banners/Alert/Alert.js +139 -0
  38. package/cjs/Banners/Alert/index.js +27 -0
  39. package/cjs/Banners/BigBertha/BigBertha.d.ts +41 -0
  40. package/cjs/Banners/BigBertha/BigBertha.js +61 -0
  41. package/cjs/Banners/BigBertha/index.d.ts +2 -0
  42. package/cjs/Banners/BigBertha/index.js +27 -0
  43. package/cjs/Banners/Promote/Promote.d.ts +51 -0
  44. package/cjs/Banners/Promote/Promote.js +103 -0
  45. package/cjs/Banners/Promote/index.d.ts +2 -0
  46. package/cjs/Banners/Promote/index.js +27 -0
  47. package/cjs/Banners/index.d.ts +3 -0
  48. package/cjs/Banners/index.js +38 -0
  49. package/cjs/Button/Button.d.ts +19 -0
  50. package/cjs/Button/Button.js +35 -0
  51. package/cjs/Button/Button.tailwind.d.ts +5 -0
  52. package/cjs/Button/Button.tailwind.js +153 -0
  53. package/cjs/Button/ButtonGroup.d.ts +18 -0
  54. package/cjs/Button/ButtonGroup.js +28 -0
  55. package/cjs/Button/IconButton.d.ts +10 -0
  56. package/cjs/Button/IconButton.js +26 -0
  57. package/cjs/Button/PolymorphicButton.d.ts +12 -0
  58. package/cjs/Button/PolymorphicButton.js +78 -0
  59. package/cjs/Button/PolymorphicIconButton.d.ts +29 -0
  60. package/cjs/Button/PolymorphicIconButton.js +86 -0
  61. package/cjs/Button/index.d.ts +5 -0
  62. package/cjs/Button/index.js +51 -0
  63. package/cjs/Button/styles.d.ts +5 -0
  64. package/cjs/Button/styles.js +37 -0
  65. package/cjs/Button/types.d.ts +33 -0
  66. package/cjs/Button/types.js +11 -0
  67. package/cjs/Card/Card.d.ts +32 -0
  68. package/cjs/Card/Card.js +44 -0
  69. package/cjs/Card/Card.tailwind.d.ts +5 -0
  70. package/cjs/Card/Card.tailwind.js +36 -0
  71. package/cjs/Card/components/CardHeader.d.ts +6 -0
  72. package/cjs/Card/components/CardHeader.js +27 -0
  73. package/cjs/Card/components/CardTitle.d.ts +6 -0
  74. package/cjs/Card/components/CardTitle.js +27 -0
  75. package/cjs/Card/index.d.ts +4 -0
  76. package/cjs/Card/index.js +51 -0
  77. package/cjs/Checkbox/Checkbox.d.ts +24 -0
  78. package/cjs/Checkbox/Checkbox.js +98 -0
  79. package/cjs/Checkbox/Checkbox.tailwind.d.ts +5 -0
  80. package/cjs/Checkbox/Checkbox.tailwind.js +70 -0
  81. package/cjs/Checkbox/index.js +27 -0
  82. package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
  83. package/cjs/ClickAwayContainer/ClickAwayContainer.js +83 -0
  84. package/cjs/ClickAwayContainer/index.d.ts +1 -0
  85. package/cjs/ClickAwayContainer/index.js +16 -0
  86. package/cjs/DatePicker/DatePicker/DatePicker.d.ts +34 -0
  87. package/cjs/DatePicker/DatePicker/DatePicker.js +164 -0
  88. package/cjs/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
  89. package/cjs/DatePicker/DatePicker/datePickerReducer.js +50 -0
  90. package/cjs/DatePicker/DatePicker/index.d.ts +3 -0
  91. package/cjs/DatePicker/DatePicker/index.js +39 -0
  92. package/cjs/DatePicker/DatePicker.tailwind.d.ts +5 -0
  93. package/cjs/DatePicker/DatePicker.tailwind.js +184 -0
  94. package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +35 -0
  95. package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +256 -0
  96. package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
  97. package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +38 -0
  98. package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
  99. package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +99 -0
  100. package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
  101. package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +15 -0
  102. package/cjs/DatePicker/DateRangePicker/index.d.ts +4 -0
  103. package/cjs/DatePicker/DateRangePicker/index.js +51 -0
  104. package/cjs/DatePicker/components/Calendar.d.ts +17 -0
  105. package/cjs/DatePicker/components/Calendar.js +55 -0
  106. package/cjs/DatePicker/components/Display.d.ts +10 -0
  107. package/cjs/DatePicker/components/Display.js +24 -0
  108. package/cjs/DatePicker/components/Footer.d.ts +6 -0
  109. package/cjs/DatePicker/components/Footer.js +19 -0
  110. package/cjs/DatePicker/components/FooterActions.d.ts +12 -0
  111. package/cjs/DatePicker/components/FooterActions.js +32 -0
  112. package/cjs/DatePicker/components/Modal.d.ts +16 -0
  113. package/cjs/DatePicker/components/Modal.js +67 -0
  114. package/cjs/DatePicker/components/NavBar.d.ts +10 -0
  115. package/cjs/DatePicker/components/NavBar.js +123 -0
  116. package/cjs/DatePicker/components/SidePanel.d.ts +6 -0
  117. package/cjs/DatePicker/components/SidePanel.js +22 -0
  118. package/cjs/DatePicker/components/index.d.ts +12 -0
  119. package/cjs/DatePicker/components/index.js +48 -0
  120. package/cjs/DatePicker/index.d.ts +3 -0
  121. package/cjs/DatePicker/index.js +38 -0
  122. package/cjs/DatePicker/types.d.ts +26 -0
  123. package/cjs/DatePicker/types.js +5 -0
  124. package/cjs/DatePicker/utils.d.ts +3 -0
  125. package/cjs/DatePicker/utils.js +19 -0
  126. package/cjs/Dropdown/Dropdown.d.ts +49 -0
  127. package/cjs/Dropdown/Dropdown.js +133 -0
  128. package/cjs/Dropdown/DropdownButton.d.ts +11 -0
  129. package/cjs/Dropdown/DropdownButton.js +47 -0
  130. package/cjs/Dropdown/DropdownContext.d.ts +7 -0
  131. package/cjs/Dropdown/DropdownContext.js +16 -0
  132. package/cjs/Dropdown/components/DropdownButtonItem.d.ts +14 -0
  133. package/cjs/Dropdown/components/DropdownButtonItem.js +44 -0
  134. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
  135. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +59 -0
  136. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
  137. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +20 -0
  138. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
  139. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +15 -0
  140. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
  141. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +36 -0
  142. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
  143. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +33 -0
  144. package/cjs/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
  145. package/cjs/Dropdown/components/DropdownCollapsibleItem/index.js +63 -0
  146. package/cjs/Dropdown/components/DropdownDivider.d.ts +3 -0
  147. package/cjs/Dropdown/components/DropdownDivider.js +17 -0
  148. package/cjs/Dropdown/components/DropdownFooterItem.d.ts +8 -0
  149. package/cjs/Dropdown/components/DropdownFooterItem.js +29 -0
  150. package/cjs/Dropdown/components/DropdownLinkItem.d.ts +10 -0
  151. package/cjs/Dropdown/components/DropdownLinkItem.js +52 -0
  152. package/cjs/Dropdown/components/DropdownRadioItem.d.ts +8 -0
  153. package/cjs/Dropdown/components/DropdownRadioItem.js +43 -0
  154. package/cjs/Dropdown/components/DropdownTitle.d.ts +6 -0
  155. package/cjs/Dropdown/components/DropdownTitle.js +25 -0
  156. package/cjs/Dropdown/components/DropdownToggleItem.d.ts +11 -0
  157. package/cjs/Dropdown/components/DropdownToggleItem.js +46 -0
  158. package/cjs/Dropdown/index.d.ts +13 -0
  159. package/cjs/Dropdown/index.js +159 -0
  160. package/cjs/Dropdown/useDropdownItemProps.d.ts +21 -0
  161. package/cjs/Dropdown/useDropdownItemProps.js +38 -0
  162. package/cjs/Dropzone/Dropzone.d.ts +21 -0
  163. package/cjs/Dropzone/Dropzone.js +158 -0
  164. package/cjs/Dropzone/index.d.ts +2 -0
  165. package/cjs/Dropzone/index.js +27 -0
  166. package/cjs/EmptyState/EmptyState.d.ts +28 -0
  167. package/cjs/EmptyState/EmptyState.js +123 -0
  168. package/cjs/EmptyState/EmptyState.tailwind.d.ts +5 -0
  169. package/cjs/EmptyState/EmptyState.tailwind.js +15 -0
  170. package/cjs/EmptyState/index.d.ts +3 -0
  171. package/cjs/EmptyState/index.js +39 -0
  172. package/cjs/EmptyState/types.d.ts +50 -0
  173. package/cjs/EmptyState/types.js +5 -0
  174. package/cjs/Field/Field.d.ts +54 -0
  175. package/cjs/Field/Field.js +104 -0
  176. package/cjs/Field/FieldContext.d.ts +16 -0
  177. package/cjs/Field/FieldContext.js +14 -0
  178. package/cjs/Field/index.d.ts +5 -0
  179. package/cjs/Field/index.js +48 -0
  180. package/cjs/Field/useField.d.ts +2 -0
  181. package/cjs/Field/useField.js +11 -0
  182. package/cjs/Flag/Flag.d.ts +6 -0
  183. package/cjs/Flag/Flag.js +116 -0
  184. package/cjs/Flag/Flag.tailwind.d.ts +5 -0
  185. package/cjs/Flag/Flag.tailwind.js +34 -0
  186. package/cjs/Flag/Flags.d.ts +48 -0
  187. package/cjs/Flag/Flags.js +90 -0
  188. package/cjs/Flag/index.d.ts +4 -0
  189. package/cjs/Flag/index.js +51 -0
  190. package/cjs/Flag/types.d.ts +27 -0
  191. package/cjs/Flag/types.js +5 -0
  192. package/cjs/FlexGrid/FlexGrid.d.ts +40 -0
  193. package/cjs/FlexGrid/FlexGrid.js +68 -0
  194. package/cjs/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
  195. package/cjs/FlexGrid/FlexGrid.tailwind.js +71 -0
  196. package/cjs/FlexGrid/index.d.ts +2 -0
  197. package/cjs/FlexGrid/index.js +27 -0
  198. package/cjs/HelpUnderline/HelpUnderline.d.ts +11 -0
  199. package/cjs/HelpUnderline/HelpUnderline.js +35 -0
  200. package/cjs/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
  201. package/cjs/HelpUnderline/HelpUnderline.tailwind.js +21 -0
  202. package/cjs/HelpUnderline/index.js +27 -0
  203. package/cjs/Input/Input.d.ts +30 -0
  204. package/cjs/Input/Input.js +215 -0
  205. package/cjs/Input/Input.tailwind.d.ts +5 -0
  206. package/cjs/Input/Input.tailwind.js +123 -0
  207. package/cjs/Input/index.js +27 -0
  208. package/cjs/Insert/Insert.d.ts +45 -0
  209. package/cjs/Insert/Insert.js +77 -0
  210. package/cjs/Insert/index.d.ts +2 -0
  211. package/cjs/Insert/index.js +27 -0
  212. package/cjs/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
  213. package/cjs/InstantSearch/InstantSearch.tailwind.js +376 -0
  214. package/cjs/KeyboardKey/KeyboardKey.d.ts +7 -0
  215. package/cjs/KeyboardKey/KeyboardKey.js +36 -0
  216. package/cjs/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
  217. package/cjs/KeyboardKey/KeyboardKey.tailwind.js +29 -0
  218. package/cjs/KeyboardKey/index.d.ts +2 -0
  219. package/{components/Input → cjs/KeyboardKey}/index.js +5 -8
  220. package/cjs/Link/BaseLink.d.ts +8 -0
  221. package/cjs/Link/BaseLink.js +29 -0
  222. package/cjs/Link/ButtonLink.d.ts +9 -0
  223. package/cjs/Link/ButtonLink.js +37 -0
  224. package/cjs/Link/IconButtonLink.d.ts +9 -0
  225. package/cjs/Link/IconButtonLink.js +31 -0
  226. package/cjs/Link/Link.d.ts +13 -0
  227. package/cjs/Link/Link.js +52 -0
  228. package/cjs/Link/index.d.ts +5 -0
  229. package/cjs/Link/index.js +63 -0
  230. package/cjs/Medallion/Medallion.d.ts +12 -0
  231. package/cjs/Medallion/Medallion.js +39 -0
  232. package/cjs/Medallion/Medallion.tailwind.d.ts +5 -0
  233. package/cjs/Medallion/Medallion.tailwind.js +31 -0
  234. package/cjs/Medallion/index.d.ts +3 -0
  235. package/cjs/Medallion/index.js +39 -0
  236. package/cjs/Medallion/types.d.ts +2 -0
  237. package/cjs/Medallion/types.js +5 -0
  238. package/cjs/Modal/Modal.d.ts +56 -0
  239. package/cjs/Modal/Modal.js +149 -0
  240. package/cjs/Modal/Modal.tailwind.d.ts +5 -0
  241. package/cjs/Modal/Modal.tailwind.js +81 -0
  242. package/cjs/Modal/components/ModalFooter.d.ts +6 -0
  243. package/cjs/Modal/components/ModalFooter.js +32 -0
  244. package/cjs/Modal/components/ModalSection.d.ts +10 -0
  245. package/cjs/Modal/components/ModalSection.js +23 -0
  246. package/cjs/Modal/index.d.ts +4 -0
  247. package/cjs/Modal/index.js +51 -0
  248. package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
  249. package/cjs/Pagination/CompactPagination/CompactPagination.js +82 -0
  250. package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
  251. package/cjs/Pagination/CompactPagination/index.js +27 -0
  252. package/cjs/Pagination/DotPagination/DotPagination.d.ts +15 -0
  253. package/cjs/Pagination/DotPagination/DotPagination.js +46 -0
  254. package/cjs/Pagination/DotPagination/index.d.ts +2 -0
  255. package/cjs/Pagination/DotPagination/index.js +27 -0
  256. package/cjs/Pagination/Pagination/Pagination.d.ts +22 -0
  257. package/cjs/Pagination/Pagination/Pagination.js +122 -0
  258. package/cjs/Pagination/Pagination/index.js +27 -0
  259. package/cjs/Pagination/index.d.ts +4 -0
  260. package/cjs/Pagination/index.js +51 -0
  261. package/cjs/Popover/Popover.d.ts +5 -0
  262. package/cjs/Popover/Popover.js +137 -0
  263. package/cjs/Popover/index.d.ts +3 -0
  264. package/cjs/Popover/index.js +36 -0
  265. package/cjs/Popover/types.d.ts +74 -0
  266. package/cjs/Popover/types.js +5 -0
  267. package/cjs/ProgressBar/ProgressBar.d.ts +16 -0
  268. package/cjs/ProgressBar/ProgressBar.js +57 -0
  269. package/cjs/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
  270. package/cjs/ProgressBar/ProgressBar.tailwind.js +25 -0
  271. package/cjs/ProgressBar/index.d.ts +2 -0
  272. package/cjs/ProgressBar/index.js +27 -0
  273. package/cjs/ProgressSpinner/ProgressSpinner.d.ts +9 -0
  274. package/cjs/ProgressSpinner/ProgressSpinner.js +52 -0
  275. package/cjs/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
  276. package/cjs/ProgressSpinner/ProgressSpinner.tailwind.js +44 -0
  277. package/cjs/ProgressSpinner/index.d.ts +2 -0
  278. package/cjs/ProgressSpinner/index.js +27 -0
  279. package/cjs/RadioGroup/RadioButton.d.ts +4 -0
  280. package/cjs/RadioGroup/RadioButton.js +29 -0
  281. package/cjs/RadioGroup/RadioButton.tailwind.d.ts +5 -0
  282. package/cjs/RadioGroup/RadioButton.tailwind.js +61 -0
  283. package/cjs/RadioGroup/RadioGroup.d.ts +41 -0
  284. package/cjs/RadioGroup/RadioGroup.js +103 -0
  285. package/cjs/RadioGroup/RadiogroupContext.d.ts +11 -0
  286. package/cjs/RadioGroup/RadiogroupContext.js +15 -0
  287. package/cjs/RadioGroup/index.d.ts +4 -0
  288. package/cjs/RadioGroup/index.js +51 -0
  289. package/cjs/RangeSlider/RangeSlider.d.ts +38 -0
  290. package/cjs/RangeSlider/RangeSlider.js +105 -0
  291. package/cjs/RangeSlider/index.d.ts +2 -0
  292. package/cjs/RangeSlider/index.js +27 -0
  293. package/cjs/Satellite/Satellite.d.ts +11 -0
  294. package/cjs/Satellite/Satellite.js +61 -0
  295. package/cjs/Satellite/SatelliteContext.d.ts +11 -0
  296. package/cjs/Satellite/SatelliteContext.js +23 -0
  297. package/cjs/Satellite/SatelliteRouter.d.ts +21 -0
  298. package/cjs/Satellite/SatelliteRouter.js +47 -0
  299. package/cjs/Satellite/index.d.ts +6 -0
  300. package/cjs/Satellite/index.js +75 -0
  301. package/cjs/Satellite/locale.d.ts +33 -0
  302. package/cjs/Satellite/locale.js +14 -0
  303. package/cjs/Satellite/useCreatePortal.d.ts +4 -0
  304. package/cjs/Satellite/useCreatePortal.js +23 -0
  305. package/cjs/ScrollIndicator/ScrollIndicator.d.ts +14 -0
  306. package/cjs/ScrollIndicator/ScrollIndicator.js +86 -0
  307. package/cjs/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
  308. package/cjs/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
  309. package/cjs/ScrollIndicator/index.d.ts +2 -0
  310. package/cjs/ScrollIndicator/index.js +27 -0
  311. package/cjs/Select/Select.d.ts +15 -0
  312. package/cjs/Select/Select.js +44 -0
  313. package/cjs/Select/Select.tailwind.d.ts +5 -0
  314. package/cjs/Select/Select.tailwind.js +76 -0
  315. package/cjs/Select/index.js +27 -0
  316. package/cjs/Separator/Separator.d.ts +9 -0
  317. package/cjs/Separator/Separator.js +39 -0
  318. package/cjs/Separator/Separator.tailwind.d.ts +5 -0
  319. package/cjs/Separator/Separator.tailwind.js +54 -0
  320. package/cjs/Separator/index.d.ts +2 -0
  321. package/cjs/Separator/index.js +27 -0
  322. package/cjs/Sidebar/Sidebar.d.ts +36 -0
  323. package/cjs/Sidebar/Sidebar.js +61 -0
  324. package/cjs/Sidebar/SidebarButtonLink.d.ts +20 -0
  325. package/cjs/Sidebar/SidebarButtonLink.js +84 -0
  326. package/cjs/Sidebar/SidebarContext.d.ts +9 -0
  327. package/cjs/Sidebar/SidebarContext.js +15 -0
  328. package/cjs/Sidebar/SidebarHeader.d.ts +7 -0
  329. package/cjs/Sidebar/SidebarHeader.js +20 -0
  330. package/cjs/Sidebar/SidebarHeading.d.ts +8 -0
  331. package/cjs/Sidebar/SidebarHeading.js +25 -0
  332. package/cjs/Sidebar/SidebarLink.d.ts +9 -0
  333. package/cjs/Sidebar/SidebarLink.js +50 -0
  334. package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
  335. package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +37 -0
  336. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
  337. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +36 -0
  338. package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
  339. package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +97 -0
  340. package/cjs/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
  341. package/cjs/Sidebar/SidebarLinksGroup/index.js +16 -0
  342. package/cjs/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
  343. package/cjs/Sidebar/SidebarLinksGroup/types.js +5 -0
  344. package/cjs/Sidebar/SidebarNav.d.ts +11 -0
  345. package/cjs/Sidebar/SidebarNav.js +36 -0
  346. package/cjs/Sidebar/index.d.ts +9 -0
  347. package/cjs/Sidebar/index.js +111 -0
  348. package/cjs/Sidebar/types.d.ts +6 -0
  349. package/cjs/Sidebar/types.js +5 -0
  350. package/cjs/Switch/Switch.d.ts +14 -0
  351. package/cjs/Switch/Switch.js +86 -0
  352. package/cjs/Switch/Switch.tailwind.d.ts +5 -0
  353. package/cjs/Switch/Switch.tailwind.js +25 -0
  354. package/cjs/Switch/SwitchOption.d.ts +8 -0
  355. package/cjs/Switch/SwitchOption.js +45 -0
  356. package/cjs/Switch/index.d.ts +3 -0
  357. package/cjs/Switch/index.js +39 -0
  358. package/cjs/Switch/types.d.ts +7 -0
  359. package/cjs/Switch/types.js +5 -0
  360. package/cjs/Switch/utils.d.ts +6 -0
  361. package/cjs/Switch/utils.js +18 -0
  362. package/cjs/Tables/DataTable/DataTable.d.ts +69 -0
  363. package/cjs/Tables/DataTable/DataTable.js +264 -0
  364. package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  365. package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
  366. package/cjs/Tables/DataTable/components/Body.d.ts +15 -0
  367. package/cjs/Tables/DataTable/components/Body.js +119 -0
  368. package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
  369. package/cjs/Tables/DataTable/components/Footer.js +63 -0
  370. package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
  371. package/cjs/Tables/DataTable/components/Header.js +39 -0
  372. package/cjs/Tables/DataTable/components/HeaderCell.d.ts +12 -0
  373. package/cjs/Tables/DataTable/components/HeaderCell.js +58 -0
  374. package/cjs/Tables/DataTable/components/Loader.d.ts +9 -0
  375. package/cjs/Tables/DataTable/components/Loader.js +47 -0
  376. package/cjs/Tables/DataTable/components/index.d.ts +5 -0
  377. package/cjs/Tables/DataTable/components/index.js +60 -0
  378. package/cjs/Tables/DataTable/index.d.ts +3 -0
  379. package/cjs/Tables/DataTable/index.js +39 -0
  380. package/cjs/Tables/DataTable/types.d.ts +63 -0
  381. package/cjs/Tables/DataTable/types.js +5 -0
  382. package/cjs/Tables/DataTable/utils.d.ts +4 -0
  383. package/cjs/Tables/DataTable/utils.js +20 -0
  384. package/cjs/Tables/Table/Table.d.ts +28 -0
  385. package/cjs/Tables/Table/Table.js +60 -0
  386. package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
  387. package/cjs/Tables/Table/Table.tailwind.js +39 -0
  388. package/cjs/Tables/Table/components/TableFooter.d.ts +8 -0
  389. package/cjs/Tables/Table/components/TableFooter.js +26 -0
  390. package/cjs/Tables/Table/index.d.ts +3 -0
  391. package/cjs/Tables/Table/index.js +39 -0
  392. package/cjs/Tables/index.d.ts +3 -0
  393. package/cjs/Tables/index.js +39 -0
  394. package/cjs/Tabs/ContentTabs.d.ts +4 -0
  395. package/cjs/Tabs/ContentTabs.js +60 -0
  396. package/cjs/Tabs/LinkTabs.d.ts +33 -0
  397. package/cjs/Tabs/LinkTabs.js +75 -0
  398. package/cjs/Tabs/Tabs.tailwind.d.ts +5 -0
  399. package/cjs/Tabs/Tabs.tailwind.js +72 -0
  400. package/cjs/Tabs/components/LinkTab.d.ts +9 -0
  401. package/cjs/Tabs/components/LinkTab.js +84 -0
  402. package/cjs/Tabs/index.d.ts +4 -0
  403. package/cjs/Tabs/index.js +51 -0
  404. package/cjs/Tabs/types.d.ts +34 -0
  405. package/cjs/Tabs/types.js +5 -0
  406. package/cjs/Tabs/utils.d.ts +2 -0
  407. package/cjs/Tabs/utils.js +18 -0
  408. package/cjs/Tag/Tag.d.ts +48 -0
  409. package/cjs/Tag/Tag.js +139 -0
  410. package/cjs/Tag/Tag.tailwind.d.ts +5 -0
  411. package/cjs/Tag/Tag.tailwind.js +54 -0
  412. package/cjs/Tag/index.d.ts +2 -0
  413. package/cjs/Tag/index.js +27 -0
  414. package/cjs/TextArea/TextArea.d.ts +5 -0
  415. package/cjs/TextArea/TextArea.js +28 -0
  416. package/cjs/TextArea/TextArea.tailwind.d.ts +5 -0
  417. package/cjs/TextArea/TextArea.tailwind.js +42 -0
  418. package/cjs/TextArea/index.js +27 -0
  419. package/cjs/TextWrap/TextWrap.d.ts +8 -0
  420. package/cjs/TextWrap/TextWrap.js +53 -0
  421. package/cjs/TextWrap/index.d.ts +2 -0
  422. package/cjs/TextWrap/index.js +27 -0
  423. package/cjs/Toggle/Toggle.d.ts +14 -0
  424. package/cjs/Toggle/Toggle.js +75 -0
  425. package/cjs/Toggle/Toggle.tailwind.d.ts +5 -0
  426. package/cjs/Toggle/Toggle.tailwind.js +84 -0
  427. package/cjs/Toggle/index.d.ts +2 -0
  428. package/cjs/Toggle/index.js +27 -0
  429. package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
  430. package/cjs/Tooltip/OverflowTooltipWrapper.js +46 -0
  431. package/cjs/Tooltip/Tooltip.d.ts +24 -0
  432. package/cjs/Tooltip/Tooltip.js +52 -0
  433. package/cjs/Tooltip/Tooltip.tailwind.d.ts +5 -0
  434. package/cjs/Tooltip/Tooltip.tailwind.js +47 -0
  435. package/cjs/Tooltip/TooltipWrapper.d.ts +14 -0
  436. package/cjs/Tooltip/TooltipWrapper.js +82 -0
  437. package/{components → cjs}/Tooltip/index.d.ts +1 -0
  438. package/cjs/Tooltip/index.js +51 -0
  439. package/cjs/Tooltip/types.d.ts +65 -0
  440. package/cjs/Tooltip/types.js +5 -0
  441. package/cjs/Tooltip/utils.d.ts +1 -0
  442. package/cjs/Tooltip/utils.js +9 -0
  443. package/cjs/Typography/Typography.tailwind.d.ts +5 -0
  444. package/cjs/Typography/Typography.tailwind.js +170 -0
  445. package/cjs/UserContent/UserContent.d.ts +9 -0
  446. package/cjs/UserContent/UserContent.js +26 -0
  447. package/cjs/UserContent/UserContent.tailwind.d.ts +5 -0
  448. package/cjs/UserContent/UserContent.tailwind.js +141 -0
  449. package/cjs/index.d.ts +49 -0
  450. package/cjs/index.js +580 -0
  451. package/cjs/package.json +3 -0
  452. package/cjs/styles/base.tailwind.d.ts +5 -0
  453. package/cjs/styles/base.tailwind.js +46 -0
  454. package/cjs/styles/brandColors.d.ts +42 -0
  455. package/cjs/styles/brandColors.js +48 -0
  456. package/cjs/styles/colors.d.ts +110 -0
  457. package/cjs/styles/colors.js +116 -0
  458. package/cjs/styles/disabledColor.d.ts +6 -0
  459. package/cjs/styles/disabledColor.js +14 -0
  460. package/cjs/styles/helpers/icons.d.ts +15 -0
  461. package/cjs/styles/helpers/icons.js +39 -0
  462. package/cjs/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
  463. package/cjs/styles/helpers/makePurgeCssExtractor.js +50 -0
  464. package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
  465. package/cjs/styles/helpers/makeTailwindPrefixer.js +36 -0
  466. package/cjs/styles/helpers/prefixTailwindClassName.d.ts +7 -0
  467. package/cjs/styles/helpers/prefixTailwindClassName.js +28 -0
  468. package/cjs/styles/helpers/satellitePrefixer.d.ts +3 -0
  469. package/cjs/styles/helpers/satellitePrefixer.js +8 -0
  470. package/cjs/styles/rgba.d.ts +8 -0
  471. package/cjs/styles/rgba.js +15 -0
  472. package/cjs/styles/tailwind.config.d.ts +2 -0
  473. package/cjs/styles/tailwind.config.js +146 -0
  474. package/cjs/styles/zIndexes.d.ts +8 -0
  475. package/cjs/styles/zIndexes.js +15 -0
  476. package/cjs/types.d.ts +27 -0
  477. package/cjs/types.js +5 -0
  478. package/cjs/utilities/overlay.tailwind.d.ts +5 -0
  479. package/cjs/utilities/overlay.tailwind.js +107 -0
  480. package/cjs/utilities/utilities.tailwind.d.ts +5 -0
  481. package/cjs/utilities/utilities.tailwind.js +27 -0
  482. package/cjs/utils/NumberUnion.d.ts +5 -0
  483. package/cjs/utils/NumberUnion.js +5 -0
  484. package/cjs/utils/clamp.d.ts +1 -0
  485. package/cjs/utils/clamp.js +9 -0
  486. package/cjs/utils/event-polyfill.d.ts +0 -0
  487. package/cjs/utils/event-polyfill.js +25 -0
  488. package/cjs/utils/formatters.d.ts +25 -0
  489. package/cjs/utils/formatters.js +44 -0
  490. package/cjs/utils/genericChangeHandler.d.ts +5 -0
  491. package/{utils → cjs/utils}/genericChangeHandler.js +2 -9
  492. package/cjs/utils/hashCode.d.ts +2 -0
  493. package/cjs/utils/hashCode.js +21 -0
  494. package/cjs/utils/index.d.ts +7 -0
  495. package/{utils → cjs/utils}/index.js +11 -18
  496. package/cjs/utils/isCssPropertySupported.d.ts +2 -0
  497. package/cjs/utils/isCssPropertySupported.js +15 -0
  498. package/cjs/utils/isNil.d.ts +19 -0
  499. package/cjs/utils/isNil.js +27 -0
  500. package/cjs/utils/isReactText.d.ts +2 -0
  501. package/cjs/utils/isReactText.js +9 -0
  502. package/cjs/utils/isRenderedChild.d.ts +8 -0
  503. package/cjs/utils/isRenderedChild.js +15 -0
  504. package/cjs/utils/matchLocation.d.ts +3 -0
  505. package/cjs/utils/matchLocation.js +12 -0
  506. package/cjs/utils/onlyText.d.ts +3 -0
  507. package/cjs/utils/onlyText.js +39 -0
  508. package/cjs/utils/parseUrl.d.ts +11 -0
  509. package/cjs/utils/parseUrl.js +21 -0
  510. package/{utils → cjs/utils}/pluralize.js +8 -9
  511. package/cjs/utils/prefersReducedMotion.d.ts +6 -0
  512. package/cjs/utils/prefersReducedMotion.js +13 -0
  513. package/{utils → cjs/utils}/range.js +2 -5
  514. package/cjs/utils/toSentenceCase.d.ts +3 -0
  515. package/cjs/utils/toSentenceCase.js +15 -0
  516. package/{utils → cjs/utils}/uniqBy.js +2 -7
  517. package/{utils → cjs/utils}/uniqueId.js +2 -5
  518. package/cjs/utils/useForwardedRef.d.ts +3 -0
  519. package/cjs/utils/useForwardedRef.js +24 -0
  520. package/cjs/utils/useLinkProps.d.ts +7 -0
  521. package/cjs/utils/useLinkProps.js +53 -0
  522. package/cjs/utils/useTriggerInputChange.d.ts +8 -0
  523. package/cjs/utils/useTriggerInputChange.js +27 -0
  524. package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
  525. package/esm/AnnouncementBadge/AnnouncementBadge.js +44 -0
  526. package/esm/AnnouncementBadge/index.d.ts +2 -0
  527. package/esm/AnnouncementBadge/index.js +2 -0
  528. package/esm/AutoComplete/AutoComplete.d.ts +20 -0
  529. package/esm/AutoComplete/AutoComplete.js +450 -0
  530. package/esm/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
  531. package/esm/AutoComplete/AutoComplete.tailwind.js +97 -0
  532. package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
  533. package/esm/AutoComplete/components/AutoCompleteEmptyState.js +29 -0
  534. package/esm/AutoComplete/components/AutocompleteContext.d.ts +5 -0
  535. package/esm/AutoComplete/components/AutocompleteContext.js +13 -0
  536. package/esm/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
  537. package/esm/AutoComplete/components/DefaultOptionItem.js +30 -0
  538. package/esm/AutoComplete/index.d.ts +7 -0
  539. package/esm/AutoComplete/index.js +7 -0
  540. package/esm/AutoComplete/types.d.ts +95 -0
  541. package/esm/AutoComplete/types.js +1 -0
  542. package/esm/AutoComplete/utils.d.ts +8 -0
  543. package/esm/AutoComplete/utils.js +71 -0
  544. package/esm/Avatars/ApplicationAvatar.d.ts +13 -0
  545. package/esm/Avatars/ApplicationAvatar.js +27 -0
  546. package/esm/Avatars/UserAvatar.d.ts +20 -0
  547. package/esm/Avatars/UserAvatar.js +49 -0
  548. package/esm/Avatars/index.d.ts +3 -0
  549. package/esm/Avatars/index.js +3 -0
  550. package/esm/Avatars/types.d.ts +17 -0
  551. package/esm/Avatars/types.js +1 -0
  552. package/esm/Avatars/utils.d.ts +6 -0
  553. package/esm/Avatars/utils.js +48 -0
  554. package/esm/Badge/Badge.d.ts +33 -0
  555. package/esm/Badge/Badge.js +73 -0
  556. package/esm/Badge/index.d.ts +2 -0
  557. package/esm/Badge/index.js +2 -0
  558. package/esm/Banners/Alert/Alert.d.ts +78 -0
  559. package/esm/Banners/Alert/Alert.js +133 -0
  560. package/esm/Banners/Alert/index.d.ts +2 -0
  561. package/esm/Banners/Alert/index.js +2 -0
  562. package/esm/Banners/BigBertha/BigBertha.d.ts +41 -0
  563. package/esm/Banners/BigBertha/BigBertha.js +55 -0
  564. package/esm/Banners/BigBertha/index.d.ts +2 -0
  565. package/esm/Banners/BigBertha/index.js +2 -0
  566. package/esm/Banners/Promote/Promote.d.ts +51 -0
  567. package/esm/Banners/Promote/Promote.js +97 -0
  568. package/esm/Banners/Promote/index.d.ts +2 -0
  569. package/esm/Banners/Promote/index.js +2 -0
  570. package/esm/Banners/index.d.ts +3 -0
  571. package/esm/Banners/index.js +3 -0
  572. package/esm/Button/Button.d.ts +19 -0
  573. package/esm/Button/Button.js +28 -0
  574. package/esm/Button/Button.tailwind.d.ts +5 -0
  575. package/esm/Button/Button.tailwind.js +154 -0
  576. package/esm/Button/ButtonGroup.d.ts +18 -0
  577. package/esm/Button/ButtonGroup.js +21 -0
  578. package/esm/Button/IconButton.d.ts +10 -0
  579. package/esm/Button/IconButton.js +19 -0
  580. package/esm/Button/PolymorphicButton.d.ts +12 -0
  581. package/esm/Button/PolymorphicButton.js +69 -0
  582. package/esm/Button/PolymorphicIconButton.d.ts +29 -0
  583. package/esm/Button/PolymorphicIconButton.js +81 -0
  584. package/esm/Button/index.d.ts +5 -0
  585. package/esm/Button/index.js +4 -0
  586. package/esm/Button/styles.d.ts +5 -0
  587. package/esm/Button/styles.js +30 -0
  588. package/esm/Button/types.d.ts +33 -0
  589. package/esm/Button/types.js +5 -0
  590. package/esm/Card/Card.d.ts +32 -0
  591. package/esm/Card/Card.js +37 -0
  592. package/esm/Card/Card.tailwind.d.ts +5 -0
  593. package/esm/Card/Card.tailwind.js +35 -0
  594. package/esm/Card/components/CardHeader.d.ts +6 -0
  595. package/esm/Card/components/CardHeader.js +20 -0
  596. package/esm/Card/components/CardTitle.d.ts +6 -0
  597. package/esm/Card/components/CardTitle.js +20 -0
  598. package/esm/Card/index.d.ts +4 -0
  599. package/esm/Card/index.js +4 -0
  600. package/esm/Checkbox/Checkbox.d.ts +24 -0
  601. package/esm/Checkbox/Checkbox.js +92 -0
  602. package/esm/Checkbox/Checkbox.tailwind.d.ts +5 -0
  603. package/esm/Checkbox/Checkbox.tailwind.js +70 -0
  604. package/esm/Checkbox/index.d.ts +2 -0
  605. package/esm/Checkbox/index.js +2 -0
  606. package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
  607. package/esm/ClickAwayContainer/ClickAwayContainer.js +76 -0
  608. package/esm/ClickAwayContainer/index.d.ts +1 -0
  609. package/esm/ClickAwayContainer/index.js +1 -0
  610. package/esm/DatePicker/DatePicker/DatePicker.d.ts +34 -0
  611. package/esm/DatePicker/DatePicker/DatePicker.js +159 -0
  612. package/esm/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
  613. package/esm/DatePicker/DatePicker/datePickerReducer.js +43 -0
  614. package/esm/DatePicker/DatePicker/index.d.ts +3 -0
  615. package/esm/DatePicker/DatePicker/index.js +3 -0
  616. package/esm/DatePicker/DatePicker.tailwind.d.ts +5 -0
  617. package/esm/DatePicker/DatePicker.tailwind.js +182 -0
  618. package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +35 -0
  619. package/esm/DatePicker/DateRangePicker/DateRangePicker.js +251 -0
  620. package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
  621. package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +33 -0
  622. package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
  623. package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.js +92 -0
  624. package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
  625. package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +9 -0
  626. package/esm/DatePicker/DateRangePicker/index.d.ts +4 -0
  627. package/esm/DatePicker/DateRangePicker/index.js +4 -0
  628. package/esm/DatePicker/components/Calendar.d.ts +17 -0
  629. package/esm/DatePicker/components/Calendar.js +48 -0
  630. package/esm/DatePicker/components/Display.d.ts +10 -0
  631. package/esm/DatePicker/components/Display.js +17 -0
  632. package/esm/DatePicker/components/Footer.d.ts +6 -0
  633. package/esm/DatePicker/components/Footer.js +12 -0
  634. package/esm/DatePicker/components/FooterActions.d.ts +12 -0
  635. package/esm/DatePicker/components/FooterActions.js +26 -0
  636. package/esm/DatePicker/components/Modal.d.ts +16 -0
  637. package/esm/DatePicker/components/Modal.js +60 -0
  638. package/esm/DatePicker/components/NavBar.d.ts +10 -0
  639. package/esm/DatePicker/components/NavBar.js +117 -0
  640. package/esm/DatePicker/components/SidePanel.d.ts +6 -0
  641. package/esm/DatePicker/components/SidePanel.js +15 -0
  642. package/esm/DatePicker/components/index.d.ts +12 -0
  643. package/esm/DatePicker/components/index.js +6 -0
  644. package/esm/DatePicker/index.d.ts +3 -0
  645. package/esm/DatePicker/index.js +3 -0
  646. package/esm/DatePicker/types.d.ts +26 -0
  647. package/esm/DatePicker/types.js +1 -0
  648. package/esm/DatePicker/utils.d.ts +3 -0
  649. package/esm/DatePicker/utils.js +12 -0
  650. package/esm/Dropdown/Dropdown.d.ts +49 -0
  651. package/esm/Dropdown/Dropdown.js +127 -0
  652. package/esm/Dropdown/DropdownButton.d.ts +11 -0
  653. package/esm/Dropdown/DropdownButton.js +40 -0
  654. package/esm/Dropdown/DropdownContext.d.ts +7 -0
  655. package/esm/Dropdown/DropdownContext.js +10 -0
  656. package/esm/Dropdown/components/DropdownButtonItem.d.ts +14 -0
  657. package/esm/Dropdown/components/DropdownButtonItem.js +38 -0
  658. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
  659. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +53 -0
  660. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
  661. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +14 -0
  662. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
  663. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +9 -0
  664. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
  665. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +29 -0
  666. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
  667. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +26 -0
  668. package/esm/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
  669. package/esm/Dropdown/components/DropdownCollapsibleItem/index.js +5 -0
  670. package/esm/Dropdown/components/DropdownDivider.d.ts +3 -0
  671. package/esm/Dropdown/components/DropdownDivider.js +10 -0
  672. package/esm/Dropdown/components/DropdownFooterItem.d.ts +8 -0
  673. package/esm/Dropdown/components/DropdownFooterItem.js +22 -0
  674. package/esm/Dropdown/components/DropdownLinkItem.d.ts +10 -0
  675. package/esm/Dropdown/components/DropdownLinkItem.js +46 -0
  676. package/esm/Dropdown/components/DropdownRadioItem.d.ts +8 -0
  677. package/esm/Dropdown/components/DropdownRadioItem.js +37 -0
  678. package/esm/Dropdown/components/DropdownTitle.d.ts +6 -0
  679. package/esm/Dropdown/components/DropdownTitle.js +18 -0
  680. package/esm/Dropdown/components/DropdownToggleItem.d.ts +11 -0
  681. package/esm/Dropdown/components/DropdownToggleItem.js +40 -0
  682. package/esm/Dropdown/index.d.ts +13 -0
  683. package/esm/Dropdown/index.js +13 -0
  684. package/esm/Dropdown/useDropdownItemProps.d.ts +21 -0
  685. package/esm/Dropdown/useDropdownItemProps.js +31 -0
  686. package/esm/Dropzone/Dropzone.d.ts +21 -0
  687. package/esm/Dropzone/Dropzone.js +152 -0
  688. package/esm/Dropzone/index.d.ts +2 -0
  689. package/esm/Dropzone/index.js +2 -0
  690. package/esm/EmptyState/EmptyState.d.ts +28 -0
  691. package/esm/EmptyState/EmptyState.js +117 -0
  692. package/esm/EmptyState/EmptyState.tailwind.d.ts +5 -0
  693. package/esm/EmptyState/EmptyState.tailwind.js +14 -0
  694. package/esm/EmptyState/index.d.ts +3 -0
  695. package/esm/EmptyState/index.js +3 -0
  696. package/esm/EmptyState/types.d.ts +50 -0
  697. package/esm/EmptyState/types.js +1 -0
  698. package/esm/Field/Field.d.ts +54 -0
  699. package/esm/Field/Field.js +98 -0
  700. package/esm/Field/FieldContext.d.ts +16 -0
  701. package/esm/Field/FieldContext.js +8 -0
  702. package/esm/Field/index.d.ts +5 -0
  703. package/esm/Field/index.js +4 -0
  704. package/esm/Field/useField.d.ts +2 -0
  705. package/esm/Field/useField.js +5 -0
  706. package/esm/Flag/Flag.d.ts +6 -0
  707. package/esm/Flag/Flag.js +110 -0
  708. package/esm/Flag/Flag.tailwind.d.ts +5 -0
  709. package/esm/Flag/Flag.tailwind.js +33 -0
  710. package/esm/Flag/Flags.d.ts +48 -0
  711. package/esm/Flag/Flags.js +83 -0
  712. package/esm/Flag/index.d.ts +4 -0
  713. package/esm/Flag/index.js +4 -0
  714. package/esm/Flag/types.d.ts +27 -0
  715. package/esm/Flag/types.js +1 -0
  716. package/esm/FlexGrid/FlexGrid.d.ts +40 -0
  717. package/esm/FlexGrid/FlexGrid.js +62 -0
  718. package/esm/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
  719. package/esm/FlexGrid/FlexGrid.tailwind.js +69 -0
  720. package/esm/FlexGrid/index.d.ts +2 -0
  721. package/esm/FlexGrid/index.js +2 -0
  722. package/esm/HelpUnderline/HelpUnderline.d.ts +11 -0
  723. package/esm/HelpUnderline/HelpUnderline.js +28 -0
  724. package/esm/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
  725. package/esm/HelpUnderline/HelpUnderline.tailwind.js +20 -0
  726. package/esm/HelpUnderline/index.d.ts +2 -0
  727. package/esm/HelpUnderline/index.js +2 -0
  728. package/esm/Input/Input.d.ts +30 -0
  729. package/esm/Input/Input.js +209 -0
  730. package/esm/Input/Input.tailwind.d.ts +5 -0
  731. package/esm/Input/Input.tailwind.js +124 -0
  732. package/esm/Input/index.d.ts +2 -0
  733. package/esm/Input/index.js +2 -0
  734. package/esm/Insert/Insert.d.ts +45 -0
  735. package/esm/Insert/Insert.js +71 -0
  736. package/esm/Insert/index.d.ts +2 -0
  737. package/esm/Insert/index.js +2 -0
  738. package/esm/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
  739. package/esm/InstantSearch/InstantSearch.tailwind.js +377 -0
  740. package/esm/KeyboardKey/KeyboardKey.d.ts +7 -0
  741. package/esm/KeyboardKey/KeyboardKey.js +29 -0
  742. package/esm/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
  743. package/esm/KeyboardKey/KeyboardKey.tailwind.js +28 -0
  744. package/esm/KeyboardKey/index.d.ts +2 -0
  745. package/esm/KeyboardKey/index.js +2 -0
  746. package/esm/Link/BaseLink.d.ts +8 -0
  747. package/esm/Link/BaseLink.js +22 -0
  748. package/esm/Link/ButtonLink.d.ts +9 -0
  749. package/esm/Link/ButtonLink.js +30 -0
  750. package/esm/Link/IconButtonLink.d.ts +9 -0
  751. package/esm/Link/IconButtonLink.js +24 -0
  752. package/esm/Link/Link.d.ts +13 -0
  753. package/esm/Link/Link.js +46 -0
  754. package/esm/Link/index.d.ts +5 -0
  755. package/esm/Link/index.js +5 -0
  756. package/esm/Medallion/Medallion.d.ts +12 -0
  757. package/esm/Medallion/Medallion.js +32 -0
  758. package/esm/Medallion/Medallion.tailwind.d.ts +5 -0
  759. package/esm/Medallion/Medallion.tailwind.js +30 -0
  760. package/esm/Medallion/index.d.ts +3 -0
  761. package/esm/Medallion/index.js +3 -0
  762. package/esm/Medallion/types.d.ts +2 -0
  763. package/esm/Medallion/types.js +1 -0
  764. package/esm/Modal/Modal.d.ts +56 -0
  765. package/esm/Modal/Modal.js +140 -0
  766. package/esm/Modal/Modal.tailwind.d.ts +5 -0
  767. package/esm/Modal/Modal.tailwind.js +79 -0
  768. package/esm/Modal/components/ModalFooter.d.ts +6 -0
  769. package/esm/Modal/components/ModalFooter.js +25 -0
  770. package/esm/Modal/components/ModalSection.d.ts +10 -0
  771. package/esm/Modal/components/ModalSection.js +16 -0
  772. package/esm/Modal/index.d.ts +4 -0
  773. package/esm/Modal/index.js +4 -0
  774. package/esm/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
  775. package/esm/Pagination/CompactPagination/CompactPagination.js +76 -0
  776. package/esm/Pagination/CompactPagination/index.d.ts +2 -0
  777. package/esm/Pagination/CompactPagination/index.js +2 -0
  778. package/esm/Pagination/DotPagination/DotPagination.d.ts +15 -0
  779. package/esm/Pagination/DotPagination/DotPagination.js +39 -0
  780. package/esm/Pagination/DotPagination/index.d.ts +2 -0
  781. package/esm/Pagination/DotPagination/index.js +2 -0
  782. package/esm/Pagination/Pagination/Pagination.d.ts +22 -0
  783. package/esm/Pagination/Pagination/Pagination.js +114 -0
  784. package/esm/Pagination/Pagination/index.d.ts +2 -0
  785. package/esm/Pagination/Pagination/index.js +2 -0
  786. package/esm/Pagination/index.d.ts +4 -0
  787. package/esm/Pagination/index.js +4 -0
  788. package/esm/Popover/Popover.d.ts +5 -0
  789. package/esm/Popover/Popover.js +129 -0
  790. package/esm/Popover/index.d.ts +3 -0
  791. package/esm/Popover/index.js +3 -0
  792. package/esm/Popover/types.d.ts +74 -0
  793. package/esm/Popover/types.js +1 -0
  794. package/esm/ProgressBar/ProgressBar.d.ts +16 -0
  795. package/esm/ProgressBar/ProgressBar.js +47 -0
  796. package/esm/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
  797. package/esm/ProgressBar/ProgressBar.tailwind.js +25 -0
  798. package/esm/ProgressBar/index.d.ts +2 -0
  799. package/esm/ProgressBar/index.js +2 -0
  800. package/esm/ProgressSpinner/ProgressSpinner.d.ts +9 -0
  801. package/esm/ProgressSpinner/ProgressSpinner.js +46 -0
  802. package/esm/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
  803. package/esm/ProgressSpinner/ProgressSpinner.tailwind.js +43 -0
  804. package/esm/ProgressSpinner/index.d.ts +2 -0
  805. package/esm/ProgressSpinner/index.js +2 -0
  806. package/esm/RadioGroup/RadioButton.d.ts +4 -0
  807. package/esm/RadioGroup/RadioButton.js +22 -0
  808. package/esm/RadioGroup/RadioButton.tailwind.d.ts +5 -0
  809. package/esm/RadioGroup/RadioButton.tailwind.js +62 -0
  810. package/esm/RadioGroup/RadioGroup.d.ts +41 -0
  811. package/esm/RadioGroup/RadioGroup.js +97 -0
  812. package/esm/RadioGroup/RadiogroupContext.d.ts +11 -0
  813. package/esm/RadioGroup/RadiogroupContext.js +9 -0
  814. package/esm/RadioGroup/index.d.ts +4 -0
  815. package/esm/RadioGroup/index.js +4 -0
  816. package/esm/RangeSlider/RangeSlider.d.ts +38 -0
  817. package/esm/RangeSlider/RangeSlider.js +101 -0
  818. package/esm/RangeSlider/index.d.ts +2 -0
  819. package/esm/RangeSlider/index.js +2 -0
  820. package/esm/Satellite/Satellite.d.ts +11 -0
  821. package/esm/Satellite/Satellite.js +54 -0
  822. package/esm/Satellite/SatelliteContext.d.ts +11 -0
  823. package/esm/Satellite/SatelliteContext.js +16 -0
  824. package/esm/Satellite/SatelliteRouter.d.ts +21 -0
  825. package/esm/Satellite/SatelliteRouter.js +40 -0
  826. package/esm/Satellite/index.d.ts +6 -0
  827. package/esm/Satellite/index.js +6 -0
  828. package/esm/Satellite/locale.d.ts +33 -0
  829. package/esm/Satellite/locale.js +7 -0
  830. package/esm/Satellite/useCreatePortal.d.ts +4 -0
  831. package/esm/Satellite/useCreatePortal.js +17 -0
  832. package/esm/ScrollIndicator/ScrollIndicator.d.ts +14 -0
  833. package/esm/ScrollIndicator/ScrollIndicator.js +79 -0
  834. package/esm/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
  835. package/esm/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
  836. package/esm/ScrollIndicator/index.d.ts +2 -0
  837. package/esm/ScrollIndicator/index.js +2 -0
  838. package/esm/Select/Select.d.ts +15 -0
  839. package/esm/Select/Select.js +37 -0
  840. package/esm/Select/Select.tailwind.d.ts +5 -0
  841. package/esm/Select/Select.tailwind.js +77 -0
  842. package/esm/Select/index.d.ts +2 -0
  843. package/esm/Select/index.js +2 -0
  844. package/esm/Separator/Separator.d.ts +9 -0
  845. package/esm/Separator/Separator.js +29 -0
  846. package/esm/Separator/Separator.tailwind.d.ts +5 -0
  847. package/esm/Separator/Separator.tailwind.js +53 -0
  848. package/esm/Separator/index.d.ts +2 -0
  849. package/esm/Separator/index.js +2 -0
  850. package/esm/Sidebar/Sidebar.d.ts +36 -0
  851. package/esm/Sidebar/Sidebar.js +54 -0
  852. package/esm/Sidebar/SidebarButtonLink.d.ts +20 -0
  853. package/esm/Sidebar/SidebarButtonLink.js +78 -0
  854. package/esm/Sidebar/SidebarContext.d.ts +9 -0
  855. package/esm/Sidebar/SidebarContext.js +9 -0
  856. package/esm/Sidebar/SidebarHeader.d.ts +7 -0
  857. package/esm/Sidebar/SidebarHeader.js +13 -0
  858. package/esm/Sidebar/SidebarHeading.d.ts +8 -0
  859. package/esm/Sidebar/SidebarHeading.js +18 -0
  860. package/esm/Sidebar/SidebarLink.d.ts +9 -0
  861. package/esm/Sidebar/SidebarLink.js +44 -0
  862. package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +9 -0
  863. package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +30 -0
  864. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
  865. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +30 -0
  866. package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +24 -0
  867. package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +91 -0
  868. package/esm/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
  869. package/esm/Sidebar/SidebarLinksGroup/index.js +2 -0
  870. package/esm/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
  871. package/esm/Sidebar/SidebarLinksGroup/types.js +1 -0
  872. package/esm/Sidebar/SidebarNav.d.ts +11 -0
  873. package/esm/Sidebar/SidebarNav.js +29 -0
  874. package/esm/Sidebar/index.d.ts +9 -0
  875. package/esm/Sidebar/index.js +9 -0
  876. package/esm/Sidebar/types.d.ts +6 -0
  877. package/esm/Sidebar/types.js +1 -0
  878. package/esm/Switch/Switch.d.ts +14 -0
  879. package/esm/Switch/Switch.js +80 -0
  880. package/esm/Switch/Switch.tailwind.d.ts +5 -0
  881. package/esm/Switch/Switch.tailwind.js +24 -0
  882. package/esm/Switch/SwitchOption.d.ts +8 -0
  883. package/esm/Switch/SwitchOption.js +39 -0
  884. package/esm/Switch/index.d.ts +3 -0
  885. package/esm/Switch/index.js +3 -0
  886. package/esm/Switch/types.d.ts +7 -0
  887. package/esm/Switch/types.js +1 -0
  888. package/esm/Switch/utils.d.ts +6 -0
  889. package/esm/Switch/utils.js +11 -0
  890. package/esm/Tables/DataTable/DataTable.d.ts +69 -0
  891. package/esm/Tables/DataTable/DataTable.js +258 -0
  892. package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  893. package/esm/Tables/DataTable/DataTable.tailwind.js +22 -0
  894. package/esm/Tables/DataTable/components/Body.d.ts +15 -0
  895. package/esm/Tables/DataTable/components/Body.js +112 -0
  896. package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
  897. package/esm/Tables/DataTable/components/Footer.js +53 -0
  898. package/esm/Tables/DataTable/components/Header.d.ts +10 -0
  899. package/esm/Tables/DataTable/components/Header.js +32 -0
  900. package/esm/Tables/DataTable/components/HeaderCell.d.ts +12 -0
  901. package/esm/Tables/DataTable/components/HeaderCell.js +52 -0
  902. package/esm/Tables/DataTable/components/Loader.d.ts +9 -0
  903. package/esm/Tables/DataTable/components/Loader.js +40 -0
  904. package/esm/Tables/DataTable/components/index.d.ts +5 -0
  905. package/esm/Tables/DataTable/components/index.js +5 -0
  906. package/esm/Tables/DataTable/index.d.ts +3 -0
  907. package/esm/Tables/DataTable/index.js +3 -0
  908. package/esm/Tables/DataTable/types.d.ts +63 -0
  909. package/esm/Tables/DataTable/types.js +1 -0
  910. package/esm/Tables/DataTable/utils.d.ts +4 -0
  911. package/esm/Tables/DataTable/utils.js +13 -0
  912. package/esm/Tables/Table/Table.d.ts +28 -0
  913. package/esm/Tables/Table/Table.js +54 -0
  914. package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
  915. package/esm/Tables/Table/Table.tailwind.js +38 -0
  916. package/esm/Tables/Table/components/TableFooter.d.ts +8 -0
  917. package/esm/Tables/Table/components/TableFooter.js +19 -0
  918. package/esm/Tables/Table/index.d.ts +3 -0
  919. package/esm/Tables/Table/index.js +3 -0
  920. package/esm/Tables/index.d.ts +3 -0
  921. package/esm/Tables/index.js +3 -0
  922. package/esm/Tabs/ContentTabs.d.ts +4 -0
  923. package/esm/Tabs/ContentTabs.js +54 -0
  924. package/esm/Tabs/LinkTabs.d.ts +33 -0
  925. package/esm/Tabs/LinkTabs.js +68 -0
  926. package/esm/Tabs/Tabs.tailwind.d.ts +5 -0
  927. package/esm/Tabs/Tabs.tailwind.js +71 -0
  928. package/esm/Tabs/components/LinkTab.d.ts +9 -0
  929. package/esm/Tabs/components/LinkTab.js +78 -0
  930. package/esm/Tabs/index.d.ts +4 -0
  931. package/esm/Tabs/index.js +4 -0
  932. package/esm/Tabs/types.d.ts +34 -0
  933. package/esm/Tabs/types.js +1 -0
  934. package/esm/Tabs/utils.d.ts +2 -0
  935. package/esm/Tabs/utils.js +11 -0
  936. package/esm/Tag/Tag.d.ts +48 -0
  937. package/esm/Tag/Tag.js +133 -0
  938. package/esm/Tag/Tag.tailwind.d.ts +5 -0
  939. package/esm/Tag/Tag.tailwind.js +53 -0
  940. package/esm/Tag/index.d.ts +2 -0
  941. package/esm/Tag/index.js +2 -0
  942. package/esm/TextArea/TextArea.d.ts +5 -0
  943. package/esm/TextArea/TextArea.js +21 -0
  944. package/esm/TextArea/TextArea.tailwind.d.ts +5 -0
  945. package/esm/TextArea/TextArea.tailwind.js +43 -0
  946. package/esm/TextArea/index.d.ts +2 -0
  947. package/esm/TextArea/index.js +2 -0
  948. package/esm/TextWrap/TextWrap.d.ts +8 -0
  949. package/esm/TextWrap/TextWrap.js +47 -0
  950. package/esm/TextWrap/index.d.ts +2 -0
  951. package/esm/TextWrap/index.js +2 -0
  952. package/esm/Toggle/Toggle.d.ts +14 -0
  953. package/esm/Toggle/Toggle.js +69 -0
  954. package/esm/Toggle/Toggle.tailwind.d.ts +5 -0
  955. package/esm/Toggle/Toggle.tailwind.js +84 -0
  956. package/esm/Toggle/index.d.ts +2 -0
  957. package/esm/Toggle/index.js +2 -0
  958. package/esm/Tooltip/OverflowTooltipWrapper.d.ts +5 -0
  959. package/esm/Tooltip/OverflowTooltipWrapper.js +39 -0
  960. package/esm/Tooltip/Tooltip.d.ts +24 -0
  961. package/esm/Tooltip/Tooltip.js +45 -0
  962. package/esm/Tooltip/Tooltip.tailwind.d.ts +5 -0
  963. package/esm/Tooltip/Tooltip.tailwind.js +46 -0
  964. package/esm/Tooltip/TooltipWrapper.d.ts +14 -0
  965. package/esm/Tooltip/TooltipWrapper.js +74 -0
  966. package/esm/Tooltip/index.d.ts +4 -0
  967. package/esm/Tooltip/index.js +4 -0
  968. package/esm/Tooltip/types.d.ts +65 -0
  969. package/esm/Tooltip/types.js +1 -0
  970. package/esm/Tooltip/utils.d.ts +1 -0
  971. package/esm/Tooltip/utils.js +3 -0
  972. package/esm/Typography/Typography.tailwind.d.ts +5 -0
  973. package/esm/Typography/Typography.tailwind.js +169 -0
  974. package/esm/UserContent/UserContent.d.ts +9 -0
  975. package/esm/UserContent/UserContent.js +19 -0
  976. package/esm/UserContent/UserContent.tailwind.d.ts +5 -0
  977. package/esm/UserContent/UserContent.tailwind.js +141 -0
  978. package/esm/index.d.ts +49 -0
  979. package/esm/index.js +49 -0
  980. package/esm/styles/base.tailwind.d.ts +5 -0
  981. package/esm/styles/base.tailwind.js +45 -0
  982. package/esm/styles/brandColors.d.ts +42 -0
  983. package/esm/styles/brandColors.js +46 -0
  984. package/esm/styles/colors.d.ts +110 -0
  985. package/esm/styles/colors.js +114 -0
  986. package/esm/styles/disabledColor.d.ts +6 -0
  987. package/esm/styles/disabledColor.js +14 -0
  988. package/esm/styles/helpers/icons.d.ts +15 -0
  989. package/esm/styles/helpers/icons.js +40 -0
  990. package/esm/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
  991. package/esm/styles/helpers/makePurgeCssExtractor.js +49 -0
  992. package/esm/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
  993. package/esm/styles/helpers/makeTailwindPrefixer.js +34 -0
  994. package/esm/styles/helpers/prefixTailwindClassName.d.ts +7 -0
  995. package/esm/styles/helpers/prefixTailwindClassName.js +26 -0
  996. package/esm/styles/helpers/satellitePrefixer.d.ts +3 -0
  997. package/esm/styles/helpers/satellitePrefixer.js +7 -0
  998. package/esm/styles/rgba.d.ts +8 -0
  999. package/esm/styles/rgba.js +14 -0
  1000. package/esm/styles/tailwind.config.d.ts +2 -0
  1001. package/esm/styles/tailwind.config.js +147 -0
  1002. package/esm/styles/zIndexes.d.ts +8 -0
  1003. package/esm/styles/zIndexes.js +13 -0
  1004. package/esm/types.d.ts +27 -0
  1005. package/esm/types.js +1 -0
  1006. package/esm/utilities/overlay.tailwind.d.ts +5 -0
  1007. package/esm/utilities/overlay.tailwind.js +106 -0
  1008. package/esm/utilities/utilities.tailwind.d.ts +5 -0
  1009. package/esm/utilities/utilities.tailwind.js +25 -0
  1010. package/esm/utils/NumberUnion.d.ts +5 -0
  1011. package/esm/utils/NumberUnion.js +1 -0
  1012. package/esm/utils/clamp.d.ts +1 -0
  1013. package/esm/utils/clamp.js +3 -0
  1014. package/esm/utils/event-polyfill.d.ts +0 -0
  1015. package/esm/utils/event-polyfill.js +23 -0
  1016. package/esm/utils/formatters.d.ts +25 -0
  1017. package/esm/utils/formatters.js +36 -0
  1018. package/esm/utils/genericChangeHandler.d.ts +5 -0
  1019. package/esm/utils/genericChangeHandler.js +18 -0
  1020. package/esm/utils/hashCode.d.ts +2 -0
  1021. package/esm/utils/hashCode.js +15 -0
  1022. package/esm/utils/index.d.ts +7 -0
  1023. package/{utils/index.d.ts → esm/utils/index.js} +2 -2
  1024. package/esm/utils/isCssPropertySupported.d.ts +2 -0
  1025. package/esm/utils/isCssPropertySupported.js +9 -0
  1026. package/esm/utils/isNil.d.ts +19 -0
  1027. package/esm/utils/isNil.js +21 -0
  1028. package/esm/utils/isReactText.d.ts +2 -0
  1029. package/esm/utils/isReactText.js +3 -0
  1030. package/esm/utils/isRenderedChild.d.ts +8 -0
  1031. package/esm/utils/isRenderedChild.js +9 -0
  1032. package/esm/utils/matchLocation.d.ts +3 -0
  1033. package/esm/utils/matchLocation.js +5 -0
  1034. package/esm/utils/onlyText.d.ts +3 -0
  1035. package/esm/utils/onlyText.js +33 -0
  1036. package/esm/utils/parseUrl.d.ts +11 -0
  1037. package/esm/utils/parseUrl.js +15 -0
  1038. package/esm/utils/pluralize.d.ts +6 -0
  1039. package/esm/utils/pluralize.js +16 -0
  1040. package/esm/utils/prefersReducedMotion.d.ts +6 -0
  1041. package/esm/utils/prefersReducedMotion.js +7 -0
  1042. package/esm/utils/range.d.ts +2 -0
  1043. package/esm/utils/range.js +7 -0
  1044. package/esm/utils/toSentenceCase.d.ts +3 -0
  1045. package/esm/utils/toSentenceCase.js +9 -0
  1046. package/esm/utils/uniqBy.d.ts +2 -0
  1047. package/esm/utils/uniqBy.js +13 -0
  1048. package/esm/utils/uniqueId.d.ts +2 -0
  1049. package/esm/utils/uniqueId.js +7 -0
  1050. package/esm/utils/useForwardedRef.d.ts +3 -0
  1051. package/esm/utils/useForwardedRef.js +17 -0
  1052. package/esm/utils/useLinkProps.d.ts +7 -0
  1053. package/esm/utils/useLinkProps.js +46 -0
  1054. package/esm/utils/useTriggerInputChange.d.ts +8 -0
  1055. package/esm/utils/useTriggerInputChange.js +21 -0
  1056. package/package.json +89 -49
  1057. package/satellite.min.css +3 -0
  1058. package/scss/colors.scss +139 -0
  1059. package/scss/variables.scss +8 -0
  1060. package/components/Alert/Alert.d.ts +0 -9
  1061. package/components/Alert/Alert.js +0 -49
  1062. package/components/Alert/index.js +0 -27
  1063. package/components/AutoComplete/AutoComplete.d.ts +0 -66
  1064. package/components/AutoComplete/AutoComplete.js +0 -512
  1065. package/components/AutoComplete/index.d.ts +0 -2
  1066. package/components/AutoComplete/index.js +0 -27
  1067. package/components/AutoComplete/types.d.ts +0 -21
  1068. package/components/AutoComplete/types.js +0 -1
  1069. package/components/AutoComplete/utils.d.ts +0 -3
  1070. package/components/AutoComplete/utils.js +0 -35
  1071. package/components/Button/Button.d.ts +0 -13
  1072. package/components/Button/Button.js +0 -59
  1073. package/components/Button/LinkButton.d.ts +0 -9
  1074. package/components/Button/LinkButton.js +0 -52
  1075. package/components/Button/index.d.ts +0 -3
  1076. package/components/Button/index.js +0 -40
  1077. package/components/Card/Card.d.ts +0 -13
  1078. package/components/Card/Card.js +0 -71
  1079. package/components/Card/components/CardHeader.d.ts +0 -3
  1080. package/components/Card/components/CardHeader.js +0 -25
  1081. package/components/Card/components/CardTitle.d.ts +0 -7
  1082. package/components/Card/components/CardTitle.js +0 -30
  1083. package/components/Card/index.d.ts +0 -3
  1084. package/components/Card/index.js +0 -19
  1085. package/components/Checkbox/Checkbox.d.ts +0 -5
  1086. package/components/Checkbox/Checkbox.js +0 -66
  1087. package/components/Checkbox/index.js +0 -27
  1088. package/components/Chip/Chip.d.ts +0 -9
  1089. package/components/Chip/Chip.js +0 -77
  1090. package/components/Chip/index.d.ts +0 -2
  1091. package/components/Chip/index.js +0 -21
  1092. package/components/Dropdown/Dropdown.d.ts +0 -27
  1093. package/components/Dropdown/Dropdown.js +0 -163
  1094. package/components/Dropdown/DropdownButton.d.ts +0 -12
  1095. package/components/Dropdown/DropdownButton.js +0 -117
  1096. package/components/Dropdown/components/DropdownDivider.d.ts +0 -6
  1097. package/components/Dropdown/components/DropdownDivider.js +0 -24
  1098. package/components/Dropdown/components/DropdownItem.d.ts +0 -10
  1099. package/components/Dropdown/components/DropdownItem.js +0 -46
  1100. package/components/Dropdown/components/DropdownTitle.d.ts +0 -4
  1101. package/components/Dropdown/components/DropdownTitle.js +0 -34
  1102. package/components/Dropdown/index.d.ts +0 -3
  1103. package/components/Dropdown/index.js +0 -29
  1104. package/components/HelpUnderline/HelpUnderline.d.ts +0 -10
  1105. package/components/HelpUnderline/HelpUnderline.js +0 -39
  1106. package/components/HelpUnderline/index.js +0 -27
  1107. package/components/Input/Input.d.ts +0 -25
  1108. package/components/Input/Input.js +0 -134
  1109. package/components/LoaderIcon/LoaderIcon.d.ts +0 -7
  1110. package/components/LoaderIcon/LoaderIcon.js +0 -65
  1111. package/components/LoaderIcon/index.d.ts +0 -2
  1112. package/components/LoaderIcon/index.js +0 -27
  1113. package/components/MaterialIcon/MaterialIcon.d.ts +0 -12
  1114. package/components/MaterialIcon/MaterialIcon.js +0 -48
  1115. package/components/MaterialIcon/index.d.ts +0 -2
  1116. package/components/MaterialIcon/index.js +0 -27
  1117. package/components/Modal/Modal.d.ts +0 -30
  1118. package/components/Modal/Modal.js +0 -207
  1119. package/components/Modal/components/ModalFooter.d.ts +0 -4
  1120. package/components/Modal/components/ModalFooter.js +0 -34
  1121. package/components/Modal/components/ModalSection.d.ts +0 -6
  1122. package/components/Modal/components/ModalSection.js +0 -38
  1123. package/components/Modal/index.d.ts +0 -2
  1124. package/components/Modal/index.js +0 -21
  1125. package/components/Pagination/Pagination.d.ts +0 -12
  1126. package/components/Pagination/Pagination.js +0 -131
  1127. package/components/Pagination/index.js +0 -27
  1128. package/components/RadioGroup/RadioButton.d.ts +0 -4
  1129. package/components/RadioGroup/RadioButton.js +0 -35
  1130. package/components/RadioGroup/RadioGroup.d.ts +0 -20
  1131. package/components/RadioGroup/RadioGroup.js +0 -140
  1132. package/components/RadioGroup/index.d.ts +0 -3
  1133. package/components/RadioGroup/index.js +0 -29
  1134. package/components/ScrollIndicator/ScrollIndicator.d.ts +0 -24
  1135. package/components/ScrollIndicator/ScrollIndicator.js +0 -165
  1136. package/components/ScrollIndicator/index.d.ts +0 -2
  1137. package/components/ScrollIndicator/index.js +0 -21
  1138. package/components/Select/Select.d.ts +0 -6
  1139. package/components/Select/Select.js +0 -40
  1140. package/components/Select/index.js +0 -27
  1141. package/components/Table/Table.d.ts +0 -6
  1142. package/components/Table/Table.js +0 -36
  1143. package/components/Table/index.d.ts +0 -3
  1144. package/components/Table/index.js +0 -19
  1145. package/components/TextArea/TextArea.d.ts +0 -5
  1146. package/components/TextArea/TextArea.js +0 -34
  1147. package/components/TextArea/index.js +0 -27
  1148. package/components/Tooltip/Tooltip.d.ts +0 -5
  1149. package/components/Tooltip/Tooltip.js +0 -29
  1150. package/components/Tooltip/TooltipWrapper.d.ts +0 -32
  1151. package/components/Tooltip/TooltipWrapper.js +0 -164
  1152. package/components/Tooltip/index.js +0 -40
  1153. package/index.d.ts +0 -19
  1154. package/index.js +0 -173
  1155. package/nothing-to-see-here.gif +0 -0
  1156. package/satellite.css +0 -32
  1157. package/satellite.css.map +0 -1
  1158. package/styles/_colors.scss +0 -147
  1159. package/styles/_mixins.scss +0 -72
  1160. package/styles/_variables.scss +0 -71
  1161. package/utils/clamp.d.ts +0 -2
  1162. package/utils/clamp.js +0 -20
  1163. package/utils/genericChangeHandler.d.ts +0 -5
  1164. package/utils/omit.d.ts +0 -2
  1165. package/utils/omit.js +0 -25
  1166. /package/{components → cjs/Banners}/Alert/index.d.ts +0 -0
  1167. /package/{components → cjs}/Checkbox/index.d.ts +0 -0
  1168. /package/{components → cjs}/HelpUnderline/index.d.ts +0 -0
  1169. /package/{components → cjs}/Input/index.d.ts +0 -0
  1170. /package/{components → cjs/Pagination}/Pagination/index.d.ts +0 -0
  1171. /package/{components → cjs}/Select/index.d.ts +0 -0
  1172. /package/{components → cjs}/TextArea/index.d.ts +0 -0
  1173. /package/{utils → cjs/utils}/pluralize.d.ts +0 -0
  1174. /package/{utils → cjs/utils}/range.d.ts +0 -0
  1175. /package/{utils → cjs/utils}/uniqBy.d.ts +0 -0
  1176. /package/{utils → cjs/utils}/uniqueId.d.ts +0 -0
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.PolymorphicIconButton = void 0;
8
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
11
+ var _clsx = _interopRequireDefault(require("clsx"));
12
+ var _react = require("react");
13
+ var _ProgressSpinner = _interopRequireDefault(require("../ProgressSpinner"));
14
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
15
+ var _Tooltip = require("../Tooltip");
16
+ var _styles = require("./styles");
17
+ var _types = require("./types");
18
+ var _jsxRuntime = require("react/jsx-runtime");
19
+ var _excluded = ["as", "className", "variant", "size", "icon", "title", "showTooltip", "tooltipSide", "loading"];
20
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
21
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23
+ var BASE_CLASSNAMES = (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["btn inline-flex items-center justify-center"])));
24
+ var SIZE_CLASSNAMES = {
25
+ small: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["max-h-6 max-w-6 min-h-6 min-w-6 text-mobile md:text-sm"]))),
26
+ medium: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["max-h-8 max-w-8 min-h-8 min-w-8 text-md"]))),
27
+ large: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["max-h-10 max-w-10 min-h-10 min-w-10 text-lg"])))
28
+ };
29
+ var VARIANT_CLASSNAMES = _objectSpread(_objectSpread({}, _styles.BUTTON_VARIANT_CLASSNAMES), {}, {
30
+ neutral: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["btn-neutral text-grey-600"]))),
31
+ subtle: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["btn-subtle text-grey-600"])))
32
+ });
33
+ /**
34
+ * `PolymorphicIconButton` is intended for internal use
35
+ * @ignore
36
+ */
37
+ var PolymorphicIconButton = exports.PolymorphicIconButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
38
+ var _props$as = props.as,
39
+ Tag = _props$as === void 0 ? "button" : _props$as,
40
+ className = props.className,
41
+ _props$variant = props.variant,
42
+ variant = _props$variant === void 0 ? "neutral" : _props$variant,
43
+ _props$size = props.size,
44
+ size = _props$size === void 0 ? "medium" : _props$size,
45
+ Icon = props.icon,
46
+ title = props.title,
47
+ showTooltip = props.showTooltip,
48
+ _props$tooltipSide = props.tooltipSide,
49
+ tooltipSide = _props$tooltipSide === void 0 ? "top" : _props$tooltipSide,
50
+ _props$loading = props.loading,
51
+ loading = _props$loading === void 0 ? false : _props$loading,
52
+ cleanedProps = (0, _objectWithoutProperties2["default"])(props, _excluded);
53
+ if (loading) {
54
+ // @ts-expect-error
55
+ cleanedProps.disabled = true;
56
+ }
57
+ var iconButtonClassName = (0, _clsx["default"])(BASE_CLASSNAMES, SIZE_CLASSNAMES[size], VARIANT_CLASSNAMES[variant], cleanedProps.disabled && (0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["btn-disabled"]))), className);
58
+ var loaderClassNames = (0, _satellitePrefixer["default"])(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["absolute ", ""])), (variant === "destructive" || variant === "primary") && "text-white");
59
+ if ((0, _types.isButtonType)(props) && !Object.prototype.hasOwnProperty.call(cleanedProps, "type")) {
60
+ // @ts-ignore
61
+ cleanedProps.type = "button";
62
+ }
63
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.TooltipWrapper, {
64
+ delay: 500,
65
+ show: showTooltip,
66
+ side: tooltipSide,
67
+ content: title,
68
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Tag, _objectSpread(_objectSpread({}, cleanedProps), {}, {
69
+ className: iconButtonClassName,
70
+ "aria-label": title,
71
+ ref: ref,
72
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
73
+ children: [loading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ProgressSpinner["default"], {
74
+ className: loaderClassNames,
75
+ size: _styles.BUTTON_LOADER_ICON_SIZES[size],
76
+ thickness: 1
77
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
78
+ className: (0, _clsx["default"])(loading && (0, _satellitePrefixer["default"])(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["invisible"])))),
79
+ width: "1em",
80
+ height: "1em"
81
+ })]
82
+ })
83
+ }))
84
+ });
85
+ });
86
+ PolymorphicIconButton.displayName = "PolymorphicIconButton";
@@ -0,0 +1,5 @@
1
+ export * from "./Button";
2
+ export * from "./IconButton";
3
+ export * from "./ButtonGroup";
4
+ export type { ButtonSize, ButtonVariant } from "./types";
5
+ export { default } from "./Button";
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ Object.defineProperty(exports, "default", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _Button["default"];
12
+ }
13
+ });
14
+ var _Button = _interopRequireWildcard(require("./Button"));
15
+ Object.keys(_Button).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
18
+ if (key in exports && exports[key] === _Button[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _Button[key];
23
+ }
24
+ });
25
+ });
26
+ var _IconButton = require("./IconButton");
27
+ Object.keys(_IconButton).forEach(function (key) {
28
+ if (key === "default" || key === "__esModule") return;
29
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
30
+ if (key in exports && exports[key] === _IconButton[key]) return;
31
+ Object.defineProperty(exports, key, {
32
+ enumerable: true,
33
+ get: function get() {
34
+ return _IconButton[key];
35
+ }
36
+ });
37
+ });
38
+ var _ButtonGroup = require("./ButtonGroup");
39
+ Object.keys(_ButtonGroup).forEach(function (key) {
40
+ if (key === "default" || key === "__esModule") return;
41
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42
+ if (key in exports && exports[key] === _ButtonGroup[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function get() {
46
+ return _ButtonGroup[key];
47
+ }
48
+ });
49
+ });
50
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
51
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -0,0 +1,5 @@
1
+ import type { ButtonBaseProps, ButtonSize, ButtonVariant } from "./types";
2
+ export declare const BUTTON_SIZE_CLASSNAMES: Record<ButtonSize, string>;
3
+ export declare const BUTTON_LOADER_ICON_SIZES: Record<ButtonSize, number>;
4
+ export declare const BUTTON_VARIANT_CLASSNAMES: Record<ButtonVariant, string>;
5
+ export declare const getIconColorClassName: ({ disabled, variant }: Pick<ButtonBaseProps, "disabled" | "variant">) => string | null;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.getIconColorClassName = exports.BUTTON_VARIANT_CLASSNAMES = exports.BUTTON_SIZE_CLASSNAMES = exports.BUTTON_LOADER_ICON_SIZES = void 0;
8
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
10
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
11
+ var BUTTON_SIZE_CLASSNAMES = exports.BUTTON_SIZE_CLASSNAMES = {
12
+ small: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["h-6"]))),
13
+ medium: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["h-8"]))),
14
+ large: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["h-10"])))
15
+ };
16
+ var BUTTON_LOADER_ICON_SIZES = exports.BUTTON_LOADER_ICON_SIZES = {
17
+ small: 12,
18
+ medium: 16,
19
+ large: 20
20
+ };
21
+ var BUTTON_VARIANT_CLASSNAMES = exports.BUTTON_VARIANT_CLASSNAMES = {
22
+ subtle: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["btn-subtle"]))),
23
+ neutral: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["btn-neutral"]))),
24
+ primary: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["btn-primary"]))),
25
+ destructive: (0, _satellitePrefixer["default"])(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["btn-destructive"])))
26
+ };
27
+ var getIconColorClassName = exports.getIconColorClassName = function getIconColorClassName(_ref) {
28
+ var disabled = _ref.disabled,
29
+ variant = _ref.variant;
30
+ if (variant === "destructive" || variant === "primary") {
31
+ return (0, _satellitePrefixer["default"])(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["text-white"])));
32
+ }
33
+ if (variant === "subtle" && !disabled) {
34
+ return null;
35
+ }
36
+ return disabled ? (0, _satellitePrefixer["default"])(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["text-grey-300"]))) : (0, _satellitePrefixer["default"])(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["text-grey-600"])));
37
+ };
@@ -0,0 +1,33 @@
1
+ import type { ReactNode } from "react";
2
+ import type { IconComponentType } from "../types";
3
+ export declare type ButtonVariant = "subtle" | "neutral" | "primary" | "destructive";
4
+ export declare type ButtonSize = "small" | "medium" | "large";
5
+ export interface ButtonBaseProps {
6
+ /** @default neutral */
7
+ variant?: ButtonVariant;
8
+ /** @default medium */
9
+ size?: ButtonSize;
10
+ /** Left aligned icon */
11
+ startIcon?: IconComponentType;
12
+ /** Right aligned icon */
13
+ endIcon?: IconComponentType;
14
+ /** @ignore */
15
+ children: ReactNode;
16
+ /** @default false */
17
+ loading?: boolean;
18
+ /** @ignore */
19
+ disabled?: boolean;
20
+ /** @ignore */
21
+ className?: string;
22
+ }
23
+ export declare function isButtonType(props: any): props is JSX.IntrinsicElements["button"];
24
+ declare type AsProp<C extends React.ElementType> = {
25
+ as?: C;
26
+ };
27
+ declare type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
28
+ declare type PolymorphicComponentProp<C extends React.ElementType, Props = {}> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
29
+ export declare type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = {}> = PolymorphicComponentProp<C, Props> & {
30
+ ref?: PolymorphicRef<C>;
31
+ };
32
+ export declare type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
33
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isButtonType = isButtonType;
7
+ function isButtonType(props) {
8
+ return props && (!props.as || props.as === "button");
9
+ }
10
+
11
+ // Polymorphic Helpers lifted from https://blog.logrocket.com/build-strongly-typed-polymorphic-components-react-typescript/
@@ -0,0 +1,32 @@
1
+ import type { CSSProperties, ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from "react";
2
+ import CardHeader from "./components/CardHeader";
3
+ import CardTitle from "./components/CardTitle";
4
+ export declare type CardElevation = "100" | "200" | "300" | "400" | "500";
5
+ declare type CardAs = "section" | "aside" | "main" | "div" | "span";
6
+ export interface CardProps {
7
+ id?: string;
8
+ /** @ignore */
9
+ className?: string;
10
+ /** @ignore */
11
+ style?: CSSProperties;
12
+ /**
13
+ * Specify HTML element `Card` should be presented as.
14
+ * @default section
15
+ */
16
+ as?: CardAs;
17
+ /** Should the content take up full full width of the `Card`. */
18
+ fullBleed?: boolean;
19
+ children: ReactNode;
20
+ /**
21
+ * Specify distance off the page for the `Card`.
22
+ * @default 100
23
+ */
24
+ elevation?: CardElevation;
25
+ }
26
+ export interface CardType extends ForwardRefExoticComponent<PropsWithoutRef<CardProps> & RefAttributes<HTMLElement>> {
27
+ Header: typeof CardHeader;
28
+ Title: typeof CardTitle;
29
+ }
30
+ /** The `Card` is a useful component for containing content within a page. */
31
+ export declare const Card: CardType;
32
+ export default Card;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Card = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
11
+ var _clsx = _interopRequireDefault(require("clsx"));
12
+ var _react = require("react");
13
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
14
+ var _CardHeader = _interopRequireDefault(require("./components/CardHeader"));
15
+ var _CardTitle = _interopRequireDefault(require("./components/CardTitle"));
16
+ var _excluded = ["className", "as", "elevation", "fullBleed"];
17
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
18
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
+ var ELEVATION_CLASSNAMES = {
21
+ "100": (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["card-z100"]))),
22
+ "200": (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["card-z200"]))),
23
+ "300": (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["card-z300"]))),
24
+ "400": (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["card-z400"]))),
25
+ "500": (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["card-z500"])))
26
+ };
27
+ /** The `Card` is a useful component for containing content within a page. */
28
+ var Card = exports.Card = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
29
+ var className = _ref.className,
30
+ _ref$as = _ref.as,
31
+ as = _ref$as === void 0 ? "section" : _ref$as,
32
+ _ref$elevation = _ref.elevation,
33
+ elevation = _ref$elevation === void 0 ? "100" : _ref$elevation,
34
+ fullBleed = _ref.fullBleed,
35
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
36
+ return /*#__PURE__*/(0, _react.createElement)(as, _objectSpread(_objectSpread({}, props), {}, {
37
+ ref: ref,
38
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["card ", " display-body"])), fullBleed && "card-fullbleed"), ELEVATION_CLASSNAMES[elevation], className)
39
+ }));
40
+ });
41
+ Card.displayName = "Card";
42
+ Card.Header = _CardHeader["default"];
43
+ Card.Title = _CardTitle["default"];
44
+ var _default = exports["default"] = Card;
@@ -0,0 +1,5 @@
1
+ export = cardPlugin;
2
+ declare const cardPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
5
+ };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ // @ts-check
4
+ var plugin = require("tailwindcss/plugin");
5
+ var cardPlugin = plugin(function (_ref) {
6
+ var addComponents = _ref.addComponents,
7
+ theme = _ref.theme;
8
+ addComponents({
9
+ ".card": {
10
+ background: theme("colors.white"),
11
+ borderRadius: theme("borderRadius.DEFAULT"),
12
+ overflow: "hidden",
13
+ padding: theme("spacing.6")
14
+ },
15
+ ".card-fullbleed": {
16
+ padding: "0px"
17
+ },
18
+ ".card-z100": {
19
+ boxShadow: theme("boxShadow.z100")
20
+ },
21
+ ".card-z200": {
22
+ boxShadow: theme("boxShadow.z200")
23
+ },
24
+ ".card-z300": {
25
+ boxShadow: theme("boxShadow.z300")
26
+ },
27
+ ".card-z400": {
28
+ boxShadow: theme("boxShadow.z400")
29
+ },
30
+ ".card-z500": {
31
+ boxShadow: theme("boxShadow.z500"),
32
+ borderRadius: "8px"
33
+ }
34
+ });
35
+ });
36
+ module.exports = cardPlugin;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode, VFC } from "react";
2
+ export declare type CardHeaderProps = JSX.IntrinsicElements["div"] & {
3
+ children: ReactNode;
4
+ };
5
+ export declare const CardHeader: VFC<CardHeaderProps>;
6
+ export default CardHeader;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.CardHeader = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _clsx = _interopRequireDefault(require("clsx"));
12
+ var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ var _templateObject;
15
+ var _excluded = ["className", "children"];
16
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
+ var CardHeader = exports.CardHeader = function CardHeader(_ref) {
19
+ var className = _ref.className,
20
+ children = _ref.children,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({}, props), {}, {
23
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["flex justify-between"]))), className),
24
+ children: children
25
+ }));
26
+ };
27
+ var _default = exports["default"] = CardHeader;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode, VFC } from "react";
2
+ export declare type CardTitleProps = JSX.IntrinsicElements["h2"] & {
3
+ children: ReactNode;
4
+ };
5
+ export declare const CardTitle: VFC<CardTitleProps>;
6
+ export default CardTitle;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.CardTitle = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _clsx = _interopRequireDefault(require("clsx"));
12
+ var _satellitePrefixer = _interopRequireDefault(require("../../styles/helpers/satellitePrefixer"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ var _templateObject;
15
+ var _excluded = ["className", "children"];
16
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
+ var CardTitle = exports.CardTitle = function CardTitle(_ref) {
19
+ var className = _ref.className,
20
+ children = _ref.children,
21
+ props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("h2", _objectSpread(_objectSpread({}, props), {}, {
23
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["typo-display-heading"]))), className),
24
+ children: children
25
+ }));
26
+ };
27
+ var _default = exports["default"] = CardTitle;
@@ -0,0 +1,4 @@
1
+ export * from "./Card";
2
+ export * from "./components/CardTitle";
3
+ export * from "./components/CardHeader";
4
+ export { default } from "./Card";
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ Object.defineProperty(exports, "default", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _Card["default"];
12
+ }
13
+ });
14
+ var _Card = _interopRequireWildcard(require("./Card"));
15
+ Object.keys(_Card).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
18
+ if (key in exports && exports[key] === _Card[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _Card[key];
23
+ }
24
+ });
25
+ });
26
+ var _CardTitle = require("./components/CardTitle");
27
+ Object.keys(_CardTitle).forEach(function (key) {
28
+ if (key === "default" || key === "__esModule") return;
29
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
30
+ if (key in exports && exports[key] === _CardTitle[key]) return;
31
+ Object.defineProperty(exports, key, {
32
+ enumerable: true,
33
+ get: function get() {
34
+ return _CardTitle[key];
35
+ }
36
+ });
37
+ });
38
+ var _CardHeader = require("./components/CardHeader");
39
+ Object.keys(_CardHeader).forEach(function (key) {
40
+ if (key === "default" || key === "__esModule") return;
41
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42
+ if (key in exports && exports[key] === _CardHeader[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function get() {
46
+ return _CardHeader[key];
47
+ }
48
+ });
49
+ });
50
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
51
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -0,0 +1,24 @@
1
+ import type { HTMLAttributes, InputHTMLAttributes } from "react";
2
+ declare type CheckboxCustomProps = {
3
+ /**
4
+ * `Checkbox` text position
5
+ * @default right
6
+ */
7
+ textPosition?: "left" | "right";
8
+ indeterminate?: boolean;
9
+ /**
10
+ * Color of the `Checkbox`
11
+ * @default accent.600
12
+ */
13
+ checkedColor?: string;
14
+ };
15
+ declare type CheckboxInputProps = Omit<HTMLAttributes<HTMLInputElement>, "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "onChange" | "required" | "autoFocus" | "disabled" | "checked" | "defaultChecked">;
16
+ export declare type CheckboxProps = CheckboxInputProps & CheckboxCustomProps;
17
+ /**
18
+ * When users need to make a range of selections (none, one, or several), checkboxes are a good input control.
19
+ *
20
+ * - A checkbox control has two primary states: selected and unselected. If required, there's an additional visual state for indeterminate (usually for a parent checkbox, when some children checkboxes are selected, but not all of them)
21
+ * - Checkboxes require the use of a button to apply the settings once they are selected
22
+ */
23
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLInputElement>, "onChange"> & Pick<InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "onChange" | "autoFocus" | "disabled" | "checked" | "required"> & CheckboxCustomProps & import("react").RefAttributes<HTMLInputElement>>;
24
+ export default Checkbox;
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Checkbox = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
12
+ var _clsx = _interopRequireDefault(require("clsx"));
13
+ var _react = require("react");
14
+ var _reactFeather = require("react-feather");
15
+ var _Field = require("../Field");
16
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
17
+ var _isRenderedChild = _interopRequireDefault(require("../utils/isRenderedChild"));
18
+ var _jsxRuntime = require("react/jsx-runtime");
19
+ var _excluded = ["children", "className", "textPosition", "indeterminate", "defaultChecked", "checkedColor", "checked", "disabled"];
20
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
21
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23
+ var generateFieldId = function generateFieldId() {
24
+ return Math.random().toString(36).substring(7);
25
+ };
26
+ var STATUS_CLASSNAMES = {
27
+ "default": "",
28
+ invalid: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["checkbox-invalid"]))),
29
+ validated: ""
30
+ };
31
+
32
+ /**
33
+ * When users need to make a range of selections (none, one, or several), checkboxes are a good input control.
34
+ *
35
+ * - A checkbox control has two primary states: selected and unselected. If required, there's an additional visual state for indeterminate (usually for a parent checkbox, when some children checkboxes are selected, but not all of them)
36
+ * - Checkboxes require the use of a button to apply the settings once they are selected
37
+ */
38
+ var Checkbox = exports.Checkbox = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
39
+ var children = _ref.children,
40
+ className = _ref.className,
41
+ _ref$textPosition = _ref.textPosition,
42
+ textPosition = _ref$textPosition === void 0 ? "right" : _ref$textPosition,
43
+ indeterminate = _ref.indeterminate,
44
+ defaultChecked = _ref.defaultChecked,
45
+ checkedColor = _ref.checkedColor,
46
+ checked = _ref.checked,
47
+ disabled = _ref.disabled,
48
+ checkboxProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
49
+ var id = (0, _react.useMemo)(function () {
50
+ return checkboxProps.id || generateFieldId();
51
+ }, [checkboxProps.id]);
52
+ var _useField = (0, _Field.useField)(),
53
+ status = _useField.state.status,
54
+ labelId = _useField.labelId;
55
+ var isControlled = typeof checked === "boolean";
56
+ var _useState = (0, _react.useState)(Boolean(isControlled ? checked : defaultChecked)),
57
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
58
+ internalChecked = _useState2[0],
59
+ setInternalChecked = _useState2[1];
60
+ var isChecked = Boolean(isControlled ? checked : internalChecked);
61
+ var CheckboxIcon = indeterminate ? _reactFeather.Minus : _reactFeather.Check;
62
+ var handleChange = function handleChange(evt) {
63
+ if (checkboxProps.onChange) {
64
+ checkboxProps.onChange(evt);
65
+ }
66
+ if (!isControlled && !evt.isDefaultPrevented()) {
67
+ setInternalChecked(evt.currentTarget.checked);
68
+ }
69
+ };
70
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
71
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["group/checkbox inline-flex items-center ", ""])), textPosition === "left" && "flex-row-reverse"), className),
72
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
73
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n checkbox\n ", "\n ", "\n ", "\n "])), indeterminate && "checkbox-indeterminate", isChecked && "checkbox-checked", disabled && "checkbox-disabled"), STATUS_CLASSNAMES[status]),
74
+ style: {
75
+ color: checkedColor
76
+ },
77
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(CheckboxIcon, {
78
+ className: (0, _satellitePrefixer["default"])(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["checkbox-icon"])))
79
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("input", _objectSpread(_objectSpread({}, checkboxProps), {}, {
80
+ "aria-checked": indeterminate ? "mixed" : isChecked,
81
+ id: id,
82
+ "aria-labelledby": labelId,
83
+ className: (0, _satellitePrefixer["default"])(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["\n opacity-0 absolute inset-0\n ", "\n "])), disabled ? "cursor-not-allowed" : "cursor-pointer"),
84
+ type: "checkbox",
85
+ ref: ref,
86
+ onChange: handleChange,
87
+ checked: isChecked,
88
+ disabled: disabled
89
+ }))]
90
+ }), (0, _isRenderedChild["default"])(children) && /*#__PURE__*/(0, _jsxRuntime.jsx)("label", {
91
+ className: (0, _satellitePrefixer["default"])(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["\n display-body\n ", "\n ", "\n "])), disabled && "text-grey-300 cursor-not-allowed", textPosition === "left" ? "pr-2" : "pl-2"),
92
+ htmlFor: id,
93
+ children: children
94
+ })]
95
+ });
96
+ });
97
+ Checkbox.displayName = "Checkbox";
98
+ var _default = exports["default"] = Checkbox;
@@ -0,0 +1,5 @@
1
+ export = checkboxPlugin;
2
+ declare const checkboxPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss/types/config").Config> | undefined;
5
+ };