@algolia/satellite 1.0.0-beta.16 → 1.0.0-beta.160

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 (1127) hide show
  1. package/README.md +154 -8
  2. package/cjs/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
  3. package/cjs/AnnouncementBadge/AnnouncementBadge.js +49 -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 +66 -0
  7. package/cjs/AutoComplete/AutoComplete.js +593 -0
  8. package/cjs/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
  9. package/cjs/AutoComplete/AutoComplete.tailwind.js +93 -0
  10. package/cjs/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
  11. package/cjs/AutoComplete/components/AutoCompleteEmptyState.js +37 -0
  12. package/cjs/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
  13. package/cjs/AutoComplete/components/DefaultOptionItem.js +37 -0
  14. package/cjs/AutoComplete/index.d.ts +5 -0
  15. package/cjs/AutoComplete/index.js +63 -0
  16. package/cjs/AutoComplete/types.d.ts +85 -0
  17. package/cjs/AutoComplete/types.js +5 -0
  18. package/cjs/AutoComplete/utils.d.ts +5 -0
  19. package/{components → cjs}/AutoComplete/utils.js +24 -7
  20. package/cjs/Avatars/ApplicationAvatar.d.ts +13 -0
  21. package/cjs/Avatars/ApplicationAvatar.js +36 -0
  22. package/cjs/Avatars/UserAvatar.d.ts +20 -0
  23. package/cjs/Avatars/UserAvatar.js +57 -0
  24. package/cjs/Avatars/index.d.ts +3 -0
  25. package/cjs/Avatars/index.js +39 -0
  26. package/cjs/Avatars/types.d.ts +17 -0
  27. package/cjs/Avatars/types.js +5 -0
  28. package/cjs/Avatars/utils.d.ts +6 -0
  29. package/cjs/Avatars/utils.js +59 -0
  30. package/cjs/Badge/Badge.d.ts +35 -0
  31. package/cjs/Badge/Badge.js +77 -0
  32. package/cjs/Badge/index.d.ts +2 -0
  33. package/cjs/Badge/index.js +27 -0
  34. package/cjs/Banners/Alert/Alert.d.ts +78 -0
  35. package/cjs/Banners/Alert/Alert.js +140 -0
  36. package/cjs/Banners/Alert/index.js +27 -0
  37. package/cjs/Banners/BigBertha/BigBertha.d.ts +41 -0
  38. package/cjs/Banners/BigBertha/BigBertha.js +63 -0
  39. package/cjs/Banners/BigBertha/index.d.ts +2 -0
  40. package/cjs/Banners/BigBertha/index.js +27 -0
  41. package/cjs/Banners/Promote/Promote.d.ts +57 -0
  42. package/cjs/Banners/Promote/Promote.js +111 -0
  43. package/cjs/Banners/Promote/index.d.ts +2 -0
  44. package/cjs/Banners/Promote/index.js +27 -0
  45. package/cjs/Banners/index.d.ts +3 -0
  46. package/cjs/Banners/index.js +38 -0
  47. package/cjs/Button/Button.d.ts +19 -0
  48. package/cjs/Button/Button.js +37 -0
  49. package/cjs/Button/Button.tailwind.d.ts +5 -0
  50. package/cjs/Button/Button.tailwind.js +153 -0
  51. package/cjs/Button/ButtonGroup.d.ts +18 -0
  52. package/cjs/Button/ButtonGroup.js +30 -0
  53. package/cjs/Button/IconButton.d.ts +5 -0
  54. package/cjs/Button/IconButton.js +23 -0
  55. package/cjs/Button/PolymorphicButton.d.ts +11 -0
  56. package/cjs/Button/PolymorphicButton.js +76 -0
  57. package/cjs/Button/PolymorphicIconButton.d.ts +24 -0
  58. package/cjs/Button/PolymorphicIconButton.js +84 -0
  59. package/cjs/Button/index.d.ts +5 -0
  60. package/cjs/Button/index.js +67 -0
  61. package/cjs/Button/styles.d.ts +5 -0
  62. package/cjs/Button/styles.js +38 -0
  63. package/cjs/Button/types.d.ts +32 -0
  64. package/cjs/Button/types.js +11 -0
  65. package/cjs/Card/Card.d.ts +32 -0
  66. package/cjs/Card/Card.js +46 -0
  67. package/cjs/Card/Card.tailwind.d.ts +5 -0
  68. package/cjs/Card/Card.tailwind.js +36 -0
  69. package/cjs/Card/components/CardHeader.d.ts +6 -0
  70. package/cjs/Card/components/CardHeader.js +29 -0
  71. package/cjs/Card/components/CardTitle.d.ts +6 -0
  72. package/cjs/Card/components/CardTitle.js +29 -0
  73. package/cjs/Card/index.d.ts +4 -0
  74. package/cjs/Card/index.js +51 -0
  75. package/cjs/Checkbox/Checkbox.d.ts +24 -0
  76. package/cjs/Checkbox/Checkbox.js +98 -0
  77. package/cjs/Checkbox/Checkbox.tailwind.d.ts +5 -0
  78. package/cjs/Checkbox/Checkbox.tailwind.js +65 -0
  79. package/cjs/Checkbox/index.js +27 -0
  80. package/cjs/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
  81. package/cjs/ClickAwayContainer/ClickAwayContainer.js +87 -0
  82. package/cjs/ClickAwayContainer/index.d.ts +1 -0
  83. package/cjs/ClickAwayContainer/index.js +16 -0
  84. package/cjs/DatePicker/DatePicker/DatePicker.d.ts +34 -0
  85. package/cjs/DatePicker/DatePicker/DatePicker.js +165 -0
  86. package/cjs/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
  87. package/cjs/DatePicker/DatePicker/datePickerReducer.js +53 -0
  88. package/cjs/DatePicker/DatePicker/index.d.ts +3 -0
  89. package/cjs/DatePicker/DatePicker/index.js +39 -0
  90. package/cjs/DatePicker/DatePicker.tailwind.d.ts +5 -0
  91. package/cjs/DatePicker/DatePicker.tailwind.js +184 -0
  92. package/cjs/DatePicker/DateRangePicker/DateRangePicker.d.ts +34 -0
  93. package/cjs/DatePicker/DateRangePicker/DateRangePicker.js +258 -0
  94. package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
  95. package/cjs/DatePicker/DateRangePicker/DateRangePickerDisplay.js +39 -0
  96. package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
  97. package/cjs/DatePicker/DateRangePicker/dateRangePickerReducer.js +102 -0
  98. package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
  99. package/cjs/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +18 -0
  100. package/cjs/DatePicker/DateRangePicker/index.d.ts +4 -0
  101. package/cjs/DatePicker/DateRangePicker/index.js +51 -0
  102. package/cjs/DatePicker/components/Calendar.d.ts +17 -0
  103. package/cjs/DatePicker/components/Calendar.js +56 -0
  104. package/cjs/DatePicker/components/Display.d.ts +10 -0
  105. package/cjs/DatePicker/components/Display.js +25 -0
  106. package/cjs/DatePicker/components/Footer.d.ts +6 -0
  107. package/cjs/DatePicker/components/Footer.js +20 -0
  108. package/cjs/DatePicker/components/FooterActions.d.ts +12 -0
  109. package/cjs/DatePicker/components/FooterActions.js +33 -0
  110. package/cjs/DatePicker/components/Modal.d.ts +16 -0
  111. package/cjs/DatePicker/components/Modal.js +69 -0
  112. package/cjs/DatePicker/components/NavBar.d.ts +10 -0
  113. package/cjs/DatePicker/components/NavBar.js +124 -0
  114. package/cjs/DatePicker/components/SidePanel.d.ts +6 -0
  115. package/cjs/DatePicker/components/SidePanel.js +23 -0
  116. package/cjs/DatePicker/components/index.d.ts +12 -0
  117. package/cjs/DatePicker/components/index.js +48 -0
  118. package/cjs/DatePicker/index.d.ts +4 -0
  119. package/cjs/DatePicker/index.js +53 -0
  120. package/cjs/DatePicker/types.d.ts +26 -0
  121. package/cjs/DatePicker/types.js +5 -0
  122. package/cjs/DatePicker/utils.d.ts +3 -0
  123. package/cjs/DatePicker/utils.js +21 -0
  124. package/cjs/Dropdown/Dropdown.d.ts +64 -0
  125. package/cjs/Dropdown/Dropdown.js +136 -0
  126. package/cjs/Dropdown/DropdownButton.d.ts +11 -0
  127. package/cjs/Dropdown/DropdownButton.js +49 -0
  128. package/cjs/Dropdown/DropdownContext.d.ts +7 -0
  129. package/cjs/Dropdown/DropdownContext.js +19 -0
  130. package/cjs/Dropdown/components/DropdownButtonItem.d.ts +19 -0
  131. package/cjs/Dropdown/components/DropdownButtonItem.js +45 -0
  132. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
  133. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +61 -0
  134. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
  135. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +21 -0
  136. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
  137. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +17 -0
  138. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
  139. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +37 -0
  140. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
  141. package/cjs/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +34 -0
  142. package/cjs/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
  143. package/cjs/Dropdown/components/DropdownCollapsibleItem/index.js +63 -0
  144. package/cjs/Dropdown/components/DropdownDivider.d.ts +3 -0
  145. package/cjs/Dropdown/components/DropdownDivider.js +19 -0
  146. package/cjs/Dropdown/components/DropdownFooterItem.d.ts +7 -0
  147. package/cjs/Dropdown/components/DropdownFooterItem.js +31 -0
  148. package/cjs/Dropdown/components/DropdownLinkItem.d.ts +15 -0
  149. package/cjs/Dropdown/components/DropdownLinkItem.js +48 -0
  150. package/cjs/Dropdown/components/DropdownRadioItem.d.ts +13 -0
  151. package/cjs/Dropdown/components/DropdownRadioItem.js +45 -0
  152. package/cjs/Dropdown/components/DropdownTitle.d.ts +6 -0
  153. package/cjs/Dropdown/components/DropdownTitle.js +27 -0
  154. package/cjs/Dropdown/components/DropdownToggleItem.d.ts +16 -0
  155. package/cjs/Dropdown/components/DropdownToggleItem.js +47 -0
  156. package/cjs/Dropdown/index.d.ts +13 -0
  157. package/cjs/Dropdown/index.js +159 -0
  158. package/cjs/Dropdown/useDropdownItemProps.d.ts +21 -0
  159. package/cjs/Dropdown/useDropdownItemProps.js +40 -0
  160. package/cjs/Dropzone/Dropzone.d.ts +20 -0
  161. package/cjs/Dropzone/Dropzone.js +159 -0
  162. package/cjs/Dropzone/index.d.ts +2 -0
  163. package/cjs/Dropzone/index.js +27 -0
  164. package/cjs/EmptyState/EmptyState.d.ts +28 -0
  165. package/cjs/EmptyState/EmptyState.js +125 -0
  166. package/cjs/EmptyState/EmptyState.tailwind.d.ts +5 -0
  167. package/cjs/EmptyState/EmptyState.tailwind.js +15 -0
  168. package/cjs/EmptyState/index.d.ts +3 -0
  169. package/cjs/EmptyState/index.js +39 -0
  170. package/cjs/EmptyState/types.d.ts +65 -0
  171. package/cjs/EmptyState/types.js +5 -0
  172. package/cjs/Field/Field.d.ts +54 -0
  173. package/cjs/Field/Field.js +96 -0
  174. package/cjs/Field/FieldStateContext.d.ts +12 -0
  175. package/cjs/Field/FieldStateContext.js +15 -0
  176. package/cjs/Field/index.d.ts +4 -0
  177. package/cjs/Field/index.js +51 -0
  178. package/cjs/Field/useFieldState.d.ts +2 -0
  179. package/cjs/Field/useFieldState.js +17 -0
  180. package/cjs/Flag/Flag.d.ts +6 -0
  181. package/cjs/Flag/Flag.js +118 -0
  182. package/cjs/Flag/Flag.tailwind.d.ts +5 -0
  183. package/cjs/Flag/Flag.tailwind.js +34 -0
  184. package/cjs/Flag/Flags.d.ts +48 -0
  185. package/cjs/Flag/Flags.js +91 -0
  186. package/cjs/Flag/index.d.ts +4 -0
  187. package/cjs/Flag/index.js +51 -0
  188. package/cjs/Flag/types.d.ts +27 -0
  189. package/cjs/Flag/types.js +5 -0
  190. package/cjs/FlexGrid/FlexGrid.d.ts +51 -0
  191. package/cjs/FlexGrid/FlexGrid.js +70 -0
  192. package/cjs/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
  193. package/cjs/FlexGrid/FlexGrid.tailwind.js +71 -0
  194. package/cjs/FlexGrid/index.d.ts +2 -0
  195. package/cjs/FlexGrid/index.js +27 -0
  196. package/cjs/HelpUnderline/HelpUnderline.d.ts +12 -0
  197. package/cjs/HelpUnderline/HelpUnderline.js +34 -0
  198. package/cjs/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
  199. package/cjs/HelpUnderline/HelpUnderline.tailwind.js +21 -0
  200. package/cjs/HelpUnderline/index.js +27 -0
  201. package/cjs/Input/Input.d.ts +27 -0
  202. package/cjs/Input/Input.js +213 -0
  203. package/cjs/Input/Input.tailwind.d.ts +5 -0
  204. package/cjs/Input/Input.tailwind.js +99 -0
  205. package/cjs/Input/index.js +27 -0
  206. package/cjs/Insert/Insert.d.ts +45 -0
  207. package/cjs/Insert/Insert.js +79 -0
  208. package/cjs/Insert/index.d.ts +2 -0
  209. package/cjs/Insert/index.js +27 -0
  210. package/cjs/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
  211. package/cjs/InstantSearch/InstantSearch.tailwind.js +376 -0
  212. package/cjs/KeyboardKey/KeyboardKey.d.ts +7 -0
  213. package/cjs/KeyboardKey/KeyboardKey.js +37 -0
  214. package/cjs/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
  215. package/cjs/KeyboardKey/KeyboardKey.tailwind.js +29 -0
  216. package/cjs/KeyboardKey/index.d.ts +2 -0
  217. package/{components/Alert → cjs/KeyboardKey}/index.js +5 -8
  218. package/cjs/Link/BaseLink.d.ts +8 -0
  219. package/cjs/Link/BaseLink.js +31 -0
  220. package/cjs/Link/ButtonLink.d.ts +9 -0
  221. package/cjs/Link/ButtonLink.js +39 -0
  222. package/cjs/Link/IconButtonLink.d.ts +9 -0
  223. package/cjs/Link/IconButtonLink.js +33 -0
  224. package/cjs/Link/Link.d.ts +13 -0
  225. package/cjs/Link/Link.js +52 -0
  226. package/cjs/Link/index.d.ts +5 -0
  227. package/cjs/Link/index.js +63 -0
  228. package/cjs/Medallion/Medallion.d.ts +11 -0
  229. package/cjs/Medallion/Medallion.js +41 -0
  230. package/cjs/Medallion/Medallion.tailwind.d.ts +5 -0
  231. package/cjs/Medallion/Medallion.tailwind.js +31 -0
  232. package/cjs/Medallion/index.d.ts +3 -0
  233. package/cjs/Medallion/index.js +39 -0
  234. package/cjs/Medallion/types.d.ts +2 -0
  235. package/cjs/Medallion/types.js +5 -0
  236. package/cjs/Modal/Modal.d.ts +54 -0
  237. package/cjs/Modal/Modal.js +150 -0
  238. package/cjs/Modal/Modal.tailwind.d.ts +5 -0
  239. package/cjs/Modal/Modal.tailwind.js +81 -0
  240. package/cjs/Modal/components/ModalFooter.d.ts +6 -0
  241. package/cjs/Modal/components/ModalFooter.js +34 -0
  242. package/cjs/Modal/components/ModalSection.d.ts +10 -0
  243. package/cjs/Modal/components/ModalSection.js +25 -0
  244. package/cjs/Modal/index.d.ts +4 -0
  245. package/cjs/Modal/index.js +51 -0
  246. package/cjs/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
  247. package/cjs/Pagination/CompactPagination/CompactPagination.js +86 -0
  248. package/cjs/Pagination/CompactPagination/index.d.ts +2 -0
  249. package/cjs/Pagination/CompactPagination/index.js +27 -0
  250. package/cjs/Pagination/DotPagination/DotPagination.d.ts +15 -0
  251. package/cjs/Pagination/DotPagination/DotPagination.js +48 -0
  252. package/cjs/Pagination/DotPagination/index.d.ts +2 -0
  253. package/cjs/Pagination/DotPagination/index.js +27 -0
  254. package/cjs/Pagination/Pagination/Pagination.d.ts +22 -0
  255. package/cjs/Pagination/Pagination/Pagination.js +124 -0
  256. package/cjs/Pagination/Pagination/index.js +27 -0
  257. package/cjs/Pagination/index.d.ts +4 -0
  258. package/cjs/Pagination/index.js +51 -0
  259. package/cjs/ProgressBar/ProgressBar.d.ts +13 -0
  260. package/cjs/ProgressBar/ProgressBar.js +46 -0
  261. package/cjs/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
  262. package/cjs/ProgressBar/ProgressBar.tailwind.js +25 -0
  263. package/cjs/ProgressBar/index.d.ts +2 -0
  264. package/cjs/ProgressBar/index.js +27 -0
  265. package/cjs/ProgressSpinner/ProgressSpinner.d.ts +9 -0
  266. package/cjs/ProgressSpinner/ProgressSpinner.js +54 -0
  267. package/cjs/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
  268. package/cjs/ProgressSpinner/ProgressSpinner.tailwind.js +36 -0
  269. package/cjs/ProgressSpinner/index.d.ts +2 -0
  270. package/cjs/ProgressSpinner/index.js +27 -0
  271. package/cjs/RadioGroup/RadioButton.d.ts +4 -0
  272. package/cjs/RadioGroup/RadioButton.js +31 -0
  273. package/cjs/RadioGroup/RadioButton.tailwind.d.ts +5 -0
  274. package/cjs/RadioGroup/RadioButton.tailwind.js +55 -0
  275. package/cjs/RadioGroup/RadioGroup.d.ts +40 -0
  276. package/cjs/RadioGroup/RadioGroup.js +106 -0
  277. package/cjs/RadioGroup/RadiogroupContext.d.ts +14 -0
  278. package/cjs/RadioGroup/RadiogroupContext.js +17 -0
  279. package/cjs/RadioGroup/index.d.ts +4 -0
  280. package/cjs/RadioGroup/index.js +51 -0
  281. package/cjs/RangeSlider/RangeSlider.d.ts +34 -0
  282. package/cjs/RangeSlider/RangeSlider.js +103 -0
  283. package/cjs/RangeSlider/index.d.ts +2 -0
  284. package/cjs/RangeSlider/index.js +27 -0
  285. package/cjs/Satellite/Satellite.d.ts +12 -0
  286. package/cjs/Satellite/Satellite.js +52 -0
  287. package/cjs/Satellite/SatelliteContext.d.ts +11 -0
  288. package/cjs/Satellite/SatelliteContext.js +25 -0
  289. package/cjs/Satellite/SatelliteRouter.d.ts +21 -0
  290. package/cjs/Satellite/SatelliteRouter.js +49 -0
  291. package/cjs/Satellite/index.d.ts +6 -0
  292. package/cjs/Satellite/index.js +75 -0
  293. package/cjs/Satellite/locale.d.ts +31 -0
  294. package/cjs/Satellite/locale.js +15 -0
  295. package/cjs/Satellite/useCreatePortal.d.ts +4 -0
  296. package/cjs/Satellite/useCreatePortal.js +24 -0
  297. package/cjs/ScrollIndicator/ScrollIndicator.d.ts +14 -0
  298. package/cjs/ScrollIndicator/ScrollIndicator.js +88 -0
  299. package/cjs/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
  300. package/cjs/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
  301. package/cjs/ScrollIndicator/index.d.ts +2 -0
  302. package/cjs/ScrollIndicator/index.js +27 -0
  303. package/cjs/Select/Select.d.ts +15 -0
  304. package/cjs/Select/Select.js +46 -0
  305. package/cjs/Select/Select.tailwind.d.ts +5 -0
  306. package/cjs/Select/Select.tailwind.js +76 -0
  307. package/cjs/Select/index.js +27 -0
  308. package/cjs/Sidebar/Sidebar.d.ts +35 -0
  309. package/cjs/Sidebar/Sidebar.js +62 -0
  310. package/cjs/Sidebar/SidebarButtonLink.d.ts +20 -0
  311. package/cjs/Sidebar/SidebarButtonLink.js +91 -0
  312. package/cjs/Sidebar/SidebarContext.d.ts +9 -0
  313. package/cjs/Sidebar/SidebarContext.js +17 -0
  314. package/cjs/Sidebar/SidebarHeader.d.ts +6 -0
  315. package/cjs/Sidebar/SidebarHeader.js +21 -0
  316. package/cjs/Sidebar/SidebarHeading.d.ts +7 -0
  317. package/cjs/Sidebar/SidebarHeading.js +26 -0
  318. package/cjs/Sidebar/SidebarLink.d.ts +9 -0
  319. package/cjs/Sidebar/SidebarLink.js +51 -0
  320. package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +8 -0
  321. package/cjs/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +38 -0
  322. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
  323. package/cjs/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +37 -0
  324. package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +23 -0
  325. package/cjs/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +97 -0
  326. package/cjs/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
  327. package/cjs/Sidebar/SidebarLinksGroup/index.js +16 -0
  328. package/cjs/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
  329. package/cjs/Sidebar/SidebarLinksGroup/types.js +5 -0
  330. package/cjs/Sidebar/SidebarNav.d.ts +10 -0
  331. package/cjs/Sidebar/SidebarNav.js +37 -0
  332. package/cjs/Sidebar/index.d.ts +9 -0
  333. package/cjs/Sidebar/index.js +111 -0
  334. package/cjs/Sidebar/types.d.ts +6 -0
  335. package/cjs/Sidebar/types.js +5 -0
  336. package/cjs/Switch/Switch.d.ts +13 -0
  337. package/cjs/Switch/Switch.js +86 -0
  338. package/cjs/Switch/Switch.tailwind.d.ts +5 -0
  339. package/cjs/Switch/Switch.tailwind.js +25 -0
  340. package/cjs/Switch/SwitchOption.d.ts +8 -0
  341. package/cjs/Switch/SwitchOption.js +45 -0
  342. package/cjs/Switch/index.d.ts +3 -0
  343. package/cjs/Switch/index.js +39 -0
  344. package/cjs/Switch/types.d.ts +7 -0
  345. package/cjs/Switch/types.js +5 -0
  346. package/cjs/Switch/utils.d.ts +6 -0
  347. package/cjs/Switch/utils.js +22 -0
  348. package/cjs/Tables/DataTable/DataTable.d.ts +60 -0
  349. package/cjs/Tables/DataTable/DataTable.js +261 -0
  350. package/cjs/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  351. package/cjs/Tables/DataTable/DataTable.tailwind.js +23 -0
  352. package/cjs/Tables/DataTable/components/Body.d.ts +15 -0
  353. package/cjs/Tables/DataTable/components/Body.js +121 -0
  354. package/cjs/Tables/DataTable/components/Footer.d.ts +8 -0
  355. package/cjs/Tables/DataTable/components/Footer.js +65 -0
  356. package/cjs/Tables/DataTable/components/Header.d.ts +10 -0
  357. package/cjs/Tables/DataTable/components/Header.js +41 -0
  358. package/cjs/Tables/DataTable/components/HeaderCell.d.ts +12 -0
  359. package/cjs/Tables/DataTable/components/HeaderCell.js +60 -0
  360. package/cjs/Tables/DataTable/components/Loader.d.ts +8 -0
  361. package/cjs/Tables/DataTable/components/Loader.js +49 -0
  362. package/cjs/Tables/DataTable/components/index.d.ts +5 -0
  363. package/cjs/Tables/DataTable/components/index.js +60 -0
  364. package/cjs/Tables/DataTable/index.d.ts +3 -0
  365. package/cjs/Tables/DataTable/index.js +39 -0
  366. package/cjs/Tables/DataTable/types.d.ts +49 -0
  367. package/cjs/Tables/DataTable/types.js +5 -0
  368. package/cjs/Tables/DataTable/utils.d.ts +4 -0
  369. package/cjs/Tables/DataTable/utils.js +23 -0
  370. package/cjs/Tables/Table/Table.d.ts +28 -0
  371. package/cjs/Tables/Table/Table.js +62 -0
  372. package/cjs/Tables/Table/Table.tailwind.d.ts +5 -0
  373. package/cjs/Tables/Table/Table.tailwind.js +39 -0
  374. package/cjs/Tables/Table/components/TableFooter.d.ts +8 -0
  375. package/cjs/Tables/Table/components/TableFooter.js +28 -0
  376. package/cjs/Tables/Table/index.d.ts +3 -0
  377. package/cjs/Tables/Table/index.js +39 -0
  378. package/cjs/Tables/index.d.ts +3 -0
  379. package/cjs/Tables/index.js +39 -0
  380. package/cjs/Tabs/ContentTabs.d.ts +4 -0
  381. package/cjs/Tabs/ContentTabs.js +62 -0
  382. package/cjs/Tabs/LinkTabs.d.ts +33 -0
  383. package/cjs/Tabs/LinkTabs.js +78 -0
  384. package/cjs/Tabs/Tabs.tailwind.d.ts +5 -0
  385. package/cjs/Tabs/Tabs.tailwind.js +53 -0
  386. package/cjs/Tabs/components/LinkTab.d.ts +9 -0
  387. package/cjs/Tabs/components/LinkTab.js +86 -0
  388. package/cjs/Tabs/index.d.ts +4 -0
  389. package/cjs/Tabs/index.js +51 -0
  390. package/cjs/Tabs/types.d.ts +35 -0
  391. package/cjs/Tabs/types.js +5 -0
  392. package/cjs/Tabs/utils.d.ts +2 -0
  393. package/cjs/Tabs/utils.js +19 -0
  394. package/cjs/Tag/Tag.d.ts +58 -0
  395. package/cjs/Tag/Tag.js +135 -0
  396. package/cjs/Tag/Tag.tailwind.d.ts +5 -0
  397. package/cjs/Tag/Tag.tailwind.js +54 -0
  398. package/cjs/Tag/index.d.ts +2 -0
  399. package/cjs/Tag/index.js +27 -0
  400. package/cjs/TextArea/TextArea.d.ts +5 -0
  401. package/cjs/TextArea/TextArea.js +30 -0
  402. package/cjs/TextArea/TextArea.tailwind.d.ts +5 -0
  403. package/cjs/TextArea/TextArea.tailwind.js +39 -0
  404. package/cjs/TextArea/index.js +27 -0
  405. package/cjs/TextWrap/TextWrap.d.ts +8 -0
  406. package/cjs/TextWrap/TextWrap.js +55 -0
  407. package/cjs/TextWrap/index.d.ts +2 -0
  408. package/cjs/TextWrap/index.js +27 -0
  409. package/cjs/Toggle/Toggle.d.ts +10 -0
  410. package/cjs/Toggle/Toggle.js +72 -0
  411. package/cjs/Toggle/Toggle.tailwind.d.ts +5 -0
  412. package/cjs/Toggle/Toggle.tailwind.js +66 -0
  413. package/cjs/Toggle/index.d.ts +2 -0
  414. package/cjs/Toggle/index.js +27 -0
  415. package/cjs/Tooltip/OverflowTooltipWrapper.d.ts +6 -0
  416. package/cjs/Tooltip/OverflowTooltipWrapper.js +102 -0
  417. package/cjs/Tooltip/Tooltip.d.ts +24 -0
  418. package/cjs/Tooltip/Tooltip.js +54 -0
  419. package/cjs/Tooltip/Tooltip.tailwind.d.ts +5 -0
  420. package/cjs/Tooltip/Tooltip.tailwind.js +114 -0
  421. package/cjs/Tooltip/TooltipWrapper.d.ts +28 -0
  422. package/cjs/Tooltip/TooltipWrapper.js +191 -0
  423. package/{types/components → cjs}/Tooltip/index.d.ts +1 -0
  424. package/cjs/Tooltip/index.js +51 -0
  425. package/cjs/Tooltip/types.d.ts +14 -0
  426. package/cjs/Tooltip/types.js +5 -0
  427. package/cjs/Typography/Typography.tailwind.d.ts +5 -0
  428. package/cjs/Typography/Typography.tailwind.js +170 -0
  429. package/cjs/UserContent/UserContent.d.ts +8 -0
  430. package/cjs/UserContent/UserContent.js +28 -0
  431. package/cjs/UserContent/UserContent.tailwind.d.ts +5 -0
  432. package/cjs/UserContent/UserContent.tailwind.js +141 -0
  433. package/cjs/index.d.ts +48 -0
  434. package/cjs/index.js +568 -0
  435. package/cjs/package.json +3 -0
  436. package/cjs/styles/base.tailwind.d.ts +5 -0
  437. package/cjs/styles/base.tailwind.js +46 -0
  438. package/cjs/styles/brandColors.d.ts +42 -0
  439. package/cjs/styles/brandColors.js +48 -0
  440. package/cjs/styles/colors.d.ts +110 -0
  441. package/cjs/styles/colors.js +116 -0
  442. package/cjs/styles/disabledColor.d.ts +6 -0
  443. package/cjs/styles/disabledColor.js +14 -0
  444. package/cjs/styles/helpers/icons.d.ts +15 -0
  445. package/cjs/styles/helpers/icons.js +39 -0
  446. package/cjs/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
  447. package/cjs/styles/helpers/makePurgeCssExtractor.js +50 -0
  448. package/cjs/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
  449. package/cjs/styles/helpers/makeTailwindPrefixer.js +36 -0
  450. package/cjs/styles/helpers/prefixTailwindClassName.d.ts +7 -0
  451. package/cjs/styles/helpers/prefixTailwindClassName.js +28 -0
  452. package/cjs/styles/helpers/satellitePrefixer.d.ts +3 -0
  453. package/cjs/styles/helpers/satellitePrefixer.js +8 -0
  454. package/cjs/styles/rgba.d.ts +8 -0
  455. package/cjs/styles/rgba.js +15 -0
  456. package/cjs/styles/tailwind.config.d.ts +2 -0
  457. package/cjs/styles/tailwind.config.js +144 -0
  458. package/cjs/styles/zIndexes.d.ts +7 -0
  459. package/cjs/styles/zIndexes.js +14 -0
  460. package/cjs/types.d.ts +28 -0
  461. package/cjs/types.js +5 -0
  462. package/cjs/utilities/utilities.tailwind.d.ts +5 -0
  463. package/cjs/utilities/utilities.tailwind.js +27 -0
  464. package/cjs/utils/NumberUnion.d.ts +5 -0
  465. package/cjs/utils/NumberUnion.js +5 -0
  466. package/cjs/utils/event-polyfill.d.ts +0 -0
  467. package/cjs/utils/event-polyfill.js +25 -0
  468. package/cjs/utils/formatters.d.ts +25 -0
  469. package/cjs/utils/formatters.js +44 -0
  470. package/cjs/utils/genericChangeHandler.d.ts +5 -0
  471. package/{utils → cjs/utils}/genericChangeHandler.js +1 -7
  472. package/cjs/utils/hashCode.d.ts +2 -0
  473. package/cjs/utils/hashCode.js +23 -0
  474. package/cjs/utils/index.d.ts +7 -0
  475. package/{utils → cjs/utils}/index.js +11 -18
  476. package/cjs/utils/isCssPropertySupported.d.ts +2 -0
  477. package/cjs/utils/isCssPropertySupported.js +16 -0
  478. package/cjs/utils/isNil.d.ts +19 -0
  479. package/cjs/utils/isNil.js +29 -0
  480. package/cjs/utils/isRenderedChild.d.ts +8 -0
  481. package/cjs/utils/isRenderedChild.js +16 -0
  482. package/cjs/utils/matchLocation.d.ts +3 -0
  483. package/cjs/utils/matchLocation.js +13 -0
  484. package/cjs/utils/onlyText.d.ts +3 -0
  485. package/cjs/utils/onlyText.js +40 -0
  486. package/cjs/utils/parseUrl.d.ts +11 -0
  487. package/cjs/utils/parseUrl.js +23 -0
  488. package/{utils → cjs/utils}/pluralize.js +7 -7
  489. package/{utils → cjs/utils}/range.js +1 -3
  490. package/cjs/utils/toSentenceCase.d.ts +3 -0
  491. package/cjs/utils/toSentenceCase.js +17 -0
  492. package/{utils → cjs/utils}/uniqBy.js +1 -5
  493. package/{utils → cjs/utils}/uniqueId.js +1 -3
  494. package/cjs/utils/useForwardedRef.d.ts +3 -0
  495. package/cjs/utils/useForwardedRef.js +25 -0
  496. package/cjs/utils/useLinkProps.d.ts +7 -0
  497. package/cjs/utils/useLinkProps.js +55 -0
  498. package/cjs/utils/useTriggerInputChange.d.ts +8 -0
  499. package/cjs/utils/useTriggerInputChange.js +28 -0
  500. package/esm/AnnouncementBadge/AnnouncementBadge.d.ts +21 -0
  501. package/esm/AnnouncementBadge/AnnouncementBadge.js +40 -0
  502. package/esm/AnnouncementBadge/index.d.ts +2 -0
  503. package/esm/AnnouncementBadge/index.js +2 -0
  504. package/esm/AutoComplete/AutoComplete.d.ts +66 -0
  505. package/esm/AutoComplete/AutoComplete.js +585 -0
  506. package/esm/AutoComplete/AutoComplete.tailwind.d.ts +5 -0
  507. package/esm/AutoComplete/AutoComplete.tailwind.js +94 -0
  508. package/esm/AutoComplete/components/AutoCompleteEmptyState.d.ts +13 -0
  509. package/esm/AutoComplete/components/AutoCompleteEmptyState.js +29 -0
  510. package/esm/AutoComplete/components/DefaultOptionItem.d.ts +7 -0
  511. package/esm/AutoComplete/components/DefaultOptionItem.js +30 -0
  512. package/esm/AutoComplete/index.d.ts +5 -0
  513. package/esm/AutoComplete/index.js +5 -0
  514. package/esm/AutoComplete/types.d.ts +85 -0
  515. package/esm/AutoComplete/types.js +1 -0
  516. package/esm/AutoComplete/utils.d.ts +5 -0
  517. package/esm/AutoComplete/utils.js +41 -0
  518. package/esm/Avatars/ApplicationAvatar.d.ts +13 -0
  519. package/esm/Avatars/ApplicationAvatar.js +27 -0
  520. package/esm/Avatars/UserAvatar.d.ts +20 -0
  521. package/esm/Avatars/UserAvatar.js +49 -0
  522. package/esm/Avatars/index.d.ts +3 -0
  523. package/esm/Avatars/index.js +3 -0
  524. package/esm/Avatars/types.d.ts +17 -0
  525. package/esm/Avatars/types.js +1 -0
  526. package/esm/Avatars/utils.d.ts +6 -0
  527. package/esm/Avatars/utils.js +48 -0
  528. package/esm/Badge/Badge.d.ts +35 -0
  529. package/esm/Badge/Badge.js +69 -0
  530. package/esm/Badge/index.d.ts +2 -0
  531. package/esm/Badge/index.js +2 -0
  532. package/esm/Banners/Alert/Alert.d.ts +78 -0
  533. package/esm/Banners/Alert/Alert.js +132 -0
  534. package/esm/Banners/Alert/index.d.ts +2 -0
  535. package/esm/Banners/Alert/index.js +2 -0
  536. package/esm/Banners/BigBertha/BigBertha.d.ts +41 -0
  537. package/esm/Banners/BigBertha/BigBertha.js +55 -0
  538. package/esm/Banners/BigBertha/index.d.ts +2 -0
  539. package/esm/Banners/BigBertha/index.js +2 -0
  540. package/esm/Banners/Promote/Promote.d.ts +57 -0
  541. package/esm/Banners/Promote/Promote.js +103 -0
  542. package/esm/Banners/Promote/index.d.ts +2 -0
  543. package/esm/Banners/Promote/index.js +2 -0
  544. package/esm/Banners/index.d.ts +3 -0
  545. package/esm/Banners/index.js +3 -0
  546. package/esm/Button/Button.d.ts +19 -0
  547. package/esm/Button/Button.js +28 -0
  548. package/esm/Button/Button.tailwind.d.ts +5 -0
  549. package/esm/Button/Button.tailwind.js +154 -0
  550. package/esm/Button/ButtonGroup.d.ts +18 -0
  551. package/esm/Button/ButtonGroup.js +21 -0
  552. package/esm/Button/IconButton.d.ts +5 -0
  553. package/esm/Button/IconButton.js +14 -0
  554. package/esm/Button/PolymorphicButton.d.ts +11 -0
  555. package/esm/Button/PolymorphicButton.js +66 -0
  556. package/esm/Button/PolymorphicIconButton.d.ts +24 -0
  557. package/esm/Button/PolymorphicIconButton.js +78 -0
  558. package/esm/Button/index.d.ts +5 -0
  559. package/esm/Button/index.js +5 -0
  560. package/esm/Button/styles.d.ts +5 -0
  561. package/esm/Button/styles.js +27 -0
  562. package/esm/Button/types.d.ts +32 -0
  563. package/esm/Button/types.js +5 -0
  564. package/esm/Card/Card.d.ts +32 -0
  565. package/esm/Card/Card.js +37 -0
  566. package/esm/Card/Card.tailwind.d.ts +5 -0
  567. package/esm/Card/Card.tailwind.js +35 -0
  568. package/esm/Card/components/CardHeader.d.ts +6 -0
  569. package/esm/Card/components/CardHeader.js +20 -0
  570. package/esm/Card/components/CardTitle.d.ts +6 -0
  571. package/esm/Card/components/CardTitle.js +20 -0
  572. package/esm/Card/index.d.ts +4 -0
  573. package/esm/Card/index.js +4 -0
  574. package/esm/Checkbox/Checkbox.d.ts +24 -0
  575. package/esm/Checkbox/Checkbox.js +90 -0
  576. package/esm/Checkbox/Checkbox.tailwind.d.ts +5 -0
  577. package/esm/Checkbox/Checkbox.tailwind.js +65 -0
  578. package/esm/Checkbox/index.d.ts +2 -0
  579. package/esm/Checkbox/index.js +2 -0
  580. package/esm/ClickAwayContainer/ClickAwayContainer.d.ts +28 -0
  581. package/esm/ClickAwayContainer/ClickAwayContainer.js +76 -0
  582. package/esm/ClickAwayContainer/index.d.ts +1 -0
  583. package/esm/ClickAwayContainer/index.js +1 -0
  584. package/esm/DatePicker/DatePicker/DatePicker.d.ts +34 -0
  585. package/esm/DatePicker/DatePicker/DatePicker.js +159 -0
  586. package/esm/DatePicker/DatePicker/datePickerReducer.d.ts +29 -0
  587. package/esm/DatePicker/DatePicker/datePickerReducer.js +43 -0
  588. package/esm/DatePicker/DatePicker/index.d.ts +3 -0
  589. package/esm/DatePicker/DatePicker/index.js +3 -0
  590. package/esm/DatePicker/DatePicker.tailwind.d.ts +5 -0
  591. package/esm/DatePicker/DatePicker.tailwind.js +182 -0
  592. package/esm/DatePicker/DateRangePicker/DateRangePicker.d.ts +34 -0
  593. package/esm/DatePicker/DateRangePicker/DateRangePicker.js +251 -0
  594. package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.d.ts +14 -0
  595. package/esm/DatePicker/DateRangePicker/DateRangePickerDisplay.js +33 -0
  596. package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.d.ts +54 -0
  597. package/esm/DatePicker/DateRangePicker/dateRangePickerReducer.js +92 -0
  598. package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.d.ts +16 -0
  599. package/esm/DatePicker/DateRangePicker/dateRangePickerTimeRange.js +9 -0
  600. package/esm/DatePicker/DateRangePicker/index.d.ts +4 -0
  601. package/esm/DatePicker/DateRangePicker/index.js +4 -0
  602. package/esm/DatePicker/components/Calendar.d.ts +17 -0
  603. package/esm/DatePicker/components/Calendar.js +48 -0
  604. package/esm/DatePicker/components/Display.d.ts +10 -0
  605. package/esm/DatePicker/components/Display.js +17 -0
  606. package/esm/DatePicker/components/Footer.d.ts +6 -0
  607. package/esm/DatePicker/components/Footer.js +12 -0
  608. package/esm/DatePicker/components/FooterActions.d.ts +12 -0
  609. package/esm/DatePicker/components/FooterActions.js +26 -0
  610. package/esm/DatePicker/components/Modal.d.ts +16 -0
  611. package/esm/DatePicker/components/Modal.js +60 -0
  612. package/esm/DatePicker/components/NavBar.d.ts +10 -0
  613. package/esm/DatePicker/components/NavBar.js +117 -0
  614. package/esm/DatePicker/components/SidePanel.d.ts +6 -0
  615. package/esm/DatePicker/components/SidePanel.js +15 -0
  616. package/esm/DatePicker/components/index.d.ts +12 -0
  617. package/esm/DatePicker/components/index.js +6 -0
  618. package/esm/DatePicker/index.d.ts +4 -0
  619. package/esm/DatePicker/index.js +4 -0
  620. package/esm/DatePicker/types.d.ts +26 -0
  621. package/esm/DatePicker/types.js +1 -0
  622. package/esm/DatePicker/utils.d.ts +3 -0
  623. package/esm/DatePicker/utils.js +12 -0
  624. package/esm/Dropdown/Dropdown.d.ts +64 -0
  625. package/esm/Dropdown/Dropdown.js +127 -0
  626. package/esm/Dropdown/DropdownButton.d.ts +11 -0
  627. package/esm/Dropdown/DropdownButton.js +40 -0
  628. package/esm/Dropdown/DropdownContext.d.ts +7 -0
  629. package/esm/Dropdown/DropdownContext.js +10 -0
  630. package/esm/Dropdown/components/DropdownButtonItem.d.ts +19 -0
  631. package/esm/Dropdown/components/DropdownButtonItem.js +37 -0
  632. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.d.ts +10 -0
  633. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItem.js +53 -0
  634. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.d.ts +7 -0
  635. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroup.js +14 -0
  636. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.d.ts +7 -0
  637. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsGroupContext.js +9 -0
  638. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.d.ts +9 -0
  639. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsMultiGroup.js +29 -0
  640. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.d.ts +9 -0
  641. package/esm/Dropdown/components/DropdownCollapsibleItem/DropdownCollapsibleItemsSingleGroup.js +26 -0
  642. package/esm/Dropdown/components/DropdownCollapsibleItem/index.d.ts +5 -0
  643. package/esm/Dropdown/components/DropdownCollapsibleItem/index.js +5 -0
  644. package/esm/Dropdown/components/DropdownDivider.d.ts +3 -0
  645. package/esm/Dropdown/components/DropdownDivider.js +10 -0
  646. package/esm/Dropdown/components/DropdownFooterItem.d.ts +7 -0
  647. package/esm/Dropdown/components/DropdownFooterItem.js +22 -0
  648. package/esm/Dropdown/components/DropdownLinkItem.d.ts +15 -0
  649. package/esm/Dropdown/components/DropdownLinkItem.js +40 -0
  650. package/esm/Dropdown/components/DropdownRadioItem.d.ts +13 -0
  651. package/esm/Dropdown/components/DropdownRadioItem.js +37 -0
  652. package/esm/Dropdown/components/DropdownTitle.d.ts +6 -0
  653. package/esm/Dropdown/components/DropdownTitle.js +18 -0
  654. package/esm/Dropdown/components/DropdownToggleItem.d.ts +16 -0
  655. package/esm/Dropdown/components/DropdownToggleItem.js +39 -0
  656. package/esm/Dropdown/index.d.ts +13 -0
  657. package/esm/Dropdown/index.js +13 -0
  658. package/esm/Dropdown/useDropdownItemProps.d.ts +21 -0
  659. package/esm/Dropdown/useDropdownItemProps.js +31 -0
  660. package/esm/Dropzone/Dropzone.d.ts +20 -0
  661. package/esm/Dropzone/Dropzone.js +151 -0
  662. package/esm/Dropzone/index.d.ts +2 -0
  663. package/esm/Dropzone/index.js +2 -0
  664. package/esm/EmptyState/EmptyState.d.ts +28 -0
  665. package/esm/EmptyState/EmptyState.js +117 -0
  666. package/esm/EmptyState/EmptyState.tailwind.d.ts +5 -0
  667. package/esm/EmptyState/EmptyState.tailwind.js +14 -0
  668. package/esm/EmptyState/index.d.ts +3 -0
  669. package/esm/EmptyState/index.js +3 -0
  670. package/esm/EmptyState/types.d.ts +65 -0
  671. package/esm/EmptyState/types.js +1 -0
  672. package/esm/Field/Field.d.ts +54 -0
  673. package/esm/Field/Field.js +85 -0
  674. package/esm/Field/FieldStateContext.d.ts +12 -0
  675. package/esm/Field/FieldStateContext.js +6 -0
  676. package/esm/Field/index.d.ts +4 -0
  677. package/esm/Field/index.js +4 -0
  678. package/esm/Field/useFieldState.d.ts +2 -0
  679. package/esm/Field/useFieldState.js +6 -0
  680. package/esm/Flag/Flag.d.ts +6 -0
  681. package/esm/Flag/Flag.js +110 -0
  682. package/esm/Flag/Flag.tailwind.d.ts +5 -0
  683. package/esm/Flag/Flag.tailwind.js +33 -0
  684. package/esm/Flag/Flags.d.ts +48 -0
  685. package/esm/Flag/Flags.js +82 -0
  686. package/esm/Flag/index.d.ts +4 -0
  687. package/esm/Flag/index.js +4 -0
  688. package/esm/Flag/types.d.ts +27 -0
  689. package/esm/Flag/types.js +1 -0
  690. package/esm/FlexGrid/FlexGrid.d.ts +51 -0
  691. package/esm/FlexGrid/FlexGrid.js +62 -0
  692. package/esm/FlexGrid/FlexGrid.tailwind.d.ts +8 -0
  693. package/esm/FlexGrid/FlexGrid.tailwind.js +69 -0
  694. package/esm/FlexGrid/index.d.ts +2 -0
  695. package/esm/FlexGrid/index.js +2 -0
  696. package/esm/HelpUnderline/HelpUnderline.d.ts +12 -0
  697. package/esm/HelpUnderline/HelpUnderline.js +25 -0
  698. package/esm/HelpUnderline/HelpUnderline.tailwind.d.ts +5 -0
  699. package/esm/HelpUnderline/HelpUnderline.tailwind.js +20 -0
  700. package/esm/HelpUnderline/index.d.ts +2 -0
  701. package/esm/HelpUnderline/index.js +2 -0
  702. package/esm/Input/Input.d.ts +27 -0
  703. package/esm/Input/Input.js +205 -0
  704. package/esm/Input/Input.tailwind.d.ts +5 -0
  705. package/esm/Input/Input.tailwind.js +100 -0
  706. package/esm/Input/index.d.ts +2 -0
  707. package/esm/Input/index.js +2 -0
  708. package/esm/Insert/Insert.d.ts +45 -0
  709. package/esm/Insert/Insert.js +71 -0
  710. package/esm/Insert/index.d.ts +2 -0
  711. package/esm/Insert/index.js +2 -0
  712. package/esm/InstantSearch/InstantSearch.tailwind.d.ts +5 -0
  713. package/esm/InstantSearch/InstantSearch.tailwind.js +377 -0
  714. package/esm/KeyboardKey/KeyboardKey.d.ts +7 -0
  715. package/esm/KeyboardKey/KeyboardKey.js +29 -0
  716. package/esm/KeyboardKey/KeyboardKey.tailwind.d.ts +5 -0
  717. package/esm/KeyboardKey/KeyboardKey.tailwind.js +28 -0
  718. package/esm/KeyboardKey/index.d.ts +2 -0
  719. package/esm/KeyboardKey/index.js +2 -0
  720. package/esm/Link/BaseLink.d.ts +8 -0
  721. package/esm/Link/BaseLink.js +22 -0
  722. package/esm/Link/ButtonLink.d.ts +9 -0
  723. package/esm/Link/ButtonLink.js +30 -0
  724. package/esm/Link/IconButtonLink.d.ts +9 -0
  725. package/esm/Link/IconButtonLink.js +24 -0
  726. package/esm/Link/Link.d.ts +13 -0
  727. package/esm/Link/Link.js +44 -0
  728. package/esm/Link/index.d.ts +5 -0
  729. package/esm/Link/index.js +5 -0
  730. package/esm/Medallion/Medallion.d.ts +11 -0
  731. package/esm/Medallion/Medallion.js +32 -0
  732. package/esm/Medallion/Medallion.tailwind.d.ts +5 -0
  733. package/esm/Medallion/Medallion.tailwind.js +30 -0
  734. package/esm/Medallion/index.d.ts +3 -0
  735. package/esm/Medallion/index.js +3 -0
  736. package/esm/Medallion/types.d.ts +2 -0
  737. package/esm/Medallion/types.js +1 -0
  738. package/esm/Modal/Modal.d.ts +54 -0
  739. package/esm/Modal/Modal.js +139 -0
  740. package/esm/Modal/Modal.tailwind.d.ts +5 -0
  741. package/esm/Modal/Modal.tailwind.js +79 -0
  742. package/esm/Modal/components/ModalFooter.d.ts +6 -0
  743. package/esm/Modal/components/ModalFooter.js +25 -0
  744. package/esm/Modal/components/ModalSection.d.ts +10 -0
  745. package/esm/Modal/components/ModalSection.js +16 -0
  746. package/esm/Modal/index.d.ts +4 -0
  747. package/esm/Modal/index.js +4 -0
  748. package/esm/Pagination/CompactPagination/CompactPagination.d.ts +31 -0
  749. package/esm/Pagination/CompactPagination/CompactPagination.js +76 -0
  750. package/esm/Pagination/CompactPagination/index.d.ts +2 -0
  751. package/esm/Pagination/CompactPagination/index.js +2 -0
  752. package/esm/Pagination/DotPagination/DotPagination.d.ts +15 -0
  753. package/esm/Pagination/DotPagination/DotPagination.js +39 -0
  754. package/esm/Pagination/DotPagination/index.d.ts +2 -0
  755. package/esm/Pagination/DotPagination/index.js +2 -0
  756. package/esm/Pagination/Pagination/Pagination.d.ts +22 -0
  757. package/esm/Pagination/Pagination/Pagination.js +114 -0
  758. package/esm/Pagination/Pagination/index.d.ts +2 -0
  759. package/esm/Pagination/Pagination/index.js +2 -0
  760. package/esm/Pagination/index.d.ts +4 -0
  761. package/esm/Pagination/index.js +4 -0
  762. package/esm/ProgressBar/ProgressBar.d.ts +13 -0
  763. package/esm/ProgressBar/ProgressBar.js +37 -0
  764. package/esm/ProgressBar/ProgressBar.tailwind.d.ts +5 -0
  765. package/esm/ProgressBar/ProgressBar.tailwind.js +25 -0
  766. package/esm/ProgressBar/index.d.ts +2 -0
  767. package/esm/ProgressBar/index.js +2 -0
  768. package/esm/ProgressSpinner/ProgressSpinner.d.ts +9 -0
  769. package/esm/ProgressSpinner/ProgressSpinner.js +46 -0
  770. package/esm/ProgressSpinner/ProgressSpinner.tailwind.d.ts +5 -0
  771. package/esm/ProgressSpinner/ProgressSpinner.tailwind.js +35 -0
  772. package/esm/ProgressSpinner/index.d.ts +2 -0
  773. package/esm/ProgressSpinner/index.js +2 -0
  774. package/esm/RadioGroup/RadioButton.d.ts +4 -0
  775. package/esm/RadioGroup/RadioButton.js +22 -0
  776. package/esm/RadioGroup/RadioButton.tailwind.d.ts +5 -0
  777. package/esm/RadioGroup/RadioButton.tailwind.js +56 -0
  778. package/esm/RadioGroup/RadioGroup.d.ts +40 -0
  779. package/esm/RadioGroup/RadioGroup.js +97 -0
  780. package/esm/RadioGroup/RadiogroupContext.d.ts +14 -0
  781. package/esm/RadioGroup/RadiogroupContext.js +9 -0
  782. package/esm/RadioGroup/index.d.ts +4 -0
  783. package/esm/RadioGroup/index.js +4 -0
  784. package/esm/RangeSlider/RangeSlider.d.ts +34 -0
  785. package/esm/RangeSlider/RangeSlider.js +97 -0
  786. package/esm/RangeSlider/index.d.ts +2 -0
  787. package/esm/RangeSlider/index.js +2 -0
  788. package/esm/Satellite/Satellite.d.ts +12 -0
  789. package/esm/Satellite/Satellite.js +42 -0
  790. package/esm/Satellite/SatelliteContext.d.ts +11 -0
  791. package/esm/Satellite/SatelliteContext.js +15 -0
  792. package/esm/Satellite/SatelliteRouter.d.ts +21 -0
  793. package/esm/Satellite/SatelliteRouter.js +40 -0
  794. package/esm/Satellite/index.d.ts +6 -0
  795. package/esm/Satellite/index.js +6 -0
  796. package/esm/Satellite/locale.d.ts +31 -0
  797. package/esm/Satellite/locale.js +7 -0
  798. package/esm/Satellite/useCreatePortal.d.ts +4 -0
  799. package/esm/Satellite/useCreatePortal.js +17 -0
  800. package/esm/ScrollIndicator/ScrollIndicator.d.ts +14 -0
  801. package/esm/ScrollIndicator/ScrollIndicator.js +79 -0
  802. package/esm/ScrollIndicator/ScrollIndicator.tailwind.d.ts +5 -0
  803. package/esm/ScrollIndicator/ScrollIndicator.tailwind.js +50 -0
  804. package/esm/ScrollIndicator/index.d.ts +2 -0
  805. package/esm/ScrollIndicator/index.js +2 -0
  806. package/esm/Select/Select.d.ts +15 -0
  807. package/esm/Select/Select.js +37 -0
  808. package/esm/Select/Select.tailwind.d.ts +5 -0
  809. package/esm/Select/Select.tailwind.js +77 -0
  810. package/esm/Select/index.d.ts +2 -0
  811. package/esm/Select/index.js +2 -0
  812. package/esm/Sidebar/Sidebar.d.ts +35 -0
  813. package/esm/Sidebar/Sidebar.js +54 -0
  814. package/esm/Sidebar/SidebarButtonLink.d.ts +20 -0
  815. package/esm/Sidebar/SidebarButtonLink.js +84 -0
  816. package/esm/Sidebar/SidebarContext.d.ts +9 -0
  817. package/esm/Sidebar/SidebarContext.js +9 -0
  818. package/esm/Sidebar/SidebarHeader.d.ts +6 -0
  819. package/esm/Sidebar/SidebarHeader.js +13 -0
  820. package/esm/Sidebar/SidebarHeading.d.ts +7 -0
  821. package/esm/Sidebar/SidebarHeading.js +18 -0
  822. package/esm/Sidebar/SidebarLink.d.ts +9 -0
  823. package/esm/Sidebar/SidebarLink.js +44 -0
  824. package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.d.ts +8 -0
  825. package/esm/Sidebar/SidebarLinksGroup/ActiveLinkIndicator.js +30 -0
  826. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.d.ts +7 -0
  827. package/esm/Sidebar/SidebarLinksGroup/SidebarGroupLink.js +30 -0
  828. package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.d.ts +23 -0
  829. package/esm/Sidebar/SidebarLinksGroup/SidebarLinksGroup.js +90 -0
  830. package/esm/Sidebar/SidebarLinksGroup/index.d.ts +2 -0
  831. package/esm/Sidebar/SidebarLinksGroup/index.js +2 -0
  832. package/esm/Sidebar/SidebarLinksGroup/types.d.ts +10 -0
  833. package/esm/Sidebar/SidebarLinksGroup/types.js +1 -0
  834. package/esm/Sidebar/SidebarNav.d.ts +10 -0
  835. package/esm/Sidebar/SidebarNav.js +29 -0
  836. package/esm/Sidebar/index.d.ts +9 -0
  837. package/esm/Sidebar/index.js +9 -0
  838. package/esm/Sidebar/types.d.ts +6 -0
  839. package/esm/Sidebar/types.js +1 -0
  840. package/esm/Switch/Switch.d.ts +13 -0
  841. package/esm/Switch/Switch.js +78 -0
  842. package/esm/Switch/Switch.tailwind.d.ts +5 -0
  843. package/esm/Switch/Switch.tailwind.js +24 -0
  844. package/esm/Switch/SwitchOption.d.ts +8 -0
  845. package/esm/Switch/SwitchOption.js +37 -0
  846. package/esm/Switch/index.d.ts +3 -0
  847. package/esm/Switch/index.js +3 -0
  848. package/esm/Switch/types.d.ts +7 -0
  849. package/esm/Switch/types.js +1 -0
  850. package/esm/Switch/utils.d.ts +6 -0
  851. package/esm/Switch/utils.js +11 -0
  852. package/esm/Tables/DataTable/DataTable.d.ts +60 -0
  853. package/esm/Tables/DataTable/DataTable.js +253 -0
  854. package/esm/Tables/DataTable/DataTable.tailwind.d.ts +5 -0
  855. package/esm/Tables/DataTable/DataTable.tailwind.js +22 -0
  856. package/esm/Tables/DataTable/components/Body.d.ts +15 -0
  857. package/esm/Tables/DataTable/components/Body.js +112 -0
  858. package/esm/Tables/DataTable/components/Footer.d.ts +8 -0
  859. package/esm/Tables/DataTable/components/Footer.js +53 -0
  860. package/esm/Tables/DataTable/components/Header.d.ts +10 -0
  861. package/esm/Tables/DataTable/components/Header.js +32 -0
  862. package/esm/Tables/DataTable/components/HeaderCell.d.ts +12 -0
  863. package/esm/Tables/DataTable/components/HeaderCell.js +52 -0
  864. package/esm/Tables/DataTable/components/Loader.d.ts +8 -0
  865. package/esm/Tables/DataTable/components/Loader.js +40 -0
  866. package/esm/Tables/DataTable/components/index.d.ts +5 -0
  867. package/esm/Tables/DataTable/components/index.js +5 -0
  868. package/esm/Tables/DataTable/index.d.ts +3 -0
  869. package/esm/Tables/DataTable/index.js +3 -0
  870. package/esm/Tables/DataTable/types.d.ts +49 -0
  871. package/esm/Tables/DataTable/types.js +1 -0
  872. package/esm/Tables/DataTable/utils.d.ts +4 -0
  873. package/esm/Tables/DataTable/utils.js +13 -0
  874. package/esm/Tables/Table/Table.d.ts +28 -0
  875. package/esm/Tables/Table/Table.js +54 -0
  876. package/esm/Tables/Table/Table.tailwind.d.ts +5 -0
  877. package/esm/Tables/Table/Table.tailwind.js +38 -0
  878. package/esm/Tables/Table/components/TableFooter.d.ts +8 -0
  879. package/esm/Tables/Table/components/TableFooter.js +19 -0
  880. package/esm/Tables/Table/index.d.ts +3 -0
  881. package/esm/Tables/Table/index.js +3 -0
  882. package/esm/Tables/index.d.ts +3 -0
  883. package/esm/Tables/index.js +3 -0
  884. package/esm/Tabs/ContentTabs.d.ts +4 -0
  885. package/esm/Tabs/ContentTabs.js +54 -0
  886. package/esm/Tabs/LinkTabs.d.ts +33 -0
  887. package/esm/Tabs/LinkTabs.js +68 -0
  888. package/esm/Tabs/Tabs.tailwind.d.ts +5 -0
  889. package/esm/Tabs/Tabs.tailwind.js +52 -0
  890. package/esm/Tabs/components/LinkTab.d.ts +9 -0
  891. package/esm/Tabs/components/LinkTab.js +78 -0
  892. package/esm/Tabs/index.d.ts +4 -0
  893. package/esm/Tabs/index.js +4 -0
  894. package/esm/Tabs/types.d.ts +35 -0
  895. package/esm/Tabs/types.js +1 -0
  896. package/esm/Tabs/utils.d.ts +2 -0
  897. package/esm/Tabs/utils.js +11 -0
  898. package/esm/Tag/Tag.d.ts +58 -0
  899. package/esm/Tag/Tag.js +127 -0
  900. package/esm/Tag/Tag.tailwind.d.ts +5 -0
  901. package/esm/Tag/Tag.tailwind.js +53 -0
  902. package/esm/Tag/index.d.ts +2 -0
  903. package/esm/Tag/index.js +2 -0
  904. package/esm/TextArea/TextArea.d.ts +5 -0
  905. package/esm/TextArea/TextArea.js +21 -0
  906. package/esm/TextArea/TextArea.tailwind.d.ts +5 -0
  907. package/esm/TextArea/TextArea.tailwind.js +40 -0
  908. package/esm/TextArea/index.d.ts +2 -0
  909. package/esm/TextArea/index.js +2 -0
  910. package/esm/TextWrap/TextWrap.d.ts +8 -0
  911. package/esm/TextWrap/TextWrap.js +47 -0
  912. package/esm/TextWrap/index.d.ts +2 -0
  913. package/esm/TextWrap/index.js +2 -0
  914. package/esm/Toggle/Toggle.d.ts +10 -0
  915. package/esm/Toggle/Toggle.js +64 -0
  916. package/esm/Toggle/Toggle.tailwind.d.ts +5 -0
  917. package/esm/Toggle/Toggle.tailwind.js +66 -0
  918. package/esm/Toggle/index.d.ts +2 -0
  919. package/esm/Toggle/index.js +2 -0
  920. package/esm/Tooltip/OverflowTooltipWrapper.d.ts +6 -0
  921. package/esm/Tooltip/OverflowTooltipWrapper.js +94 -0
  922. package/esm/Tooltip/Tooltip.d.ts +24 -0
  923. package/esm/Tooltip/Tooltip.js +45 -0
  924. package/esm/Tooltip/Tooltip.tailwind.d.ts +5 -0
  925. package/esm/Tooltip/Tooltip.tailwind.js +113 -0
  926. package/esm/Tooltip/TooltipWrapper.d.ts +28 -0
  927. package/esm/Tooltip/TooltipWrapper.js +183 -0
  928. package/esm/Tooltip/index.d.ts +4 -0
  929. package/esm/Tooltip/index.js +4 -0
  930. package/esm/Tooltip/types.d.ts +14 -0
  931. package/esm/Tooltip/types.js +1 -0
  932. package/esm/Typography/Typography.tailwind.d.ts +5 -0
  933. package/esm/Typography/Typography.tailwind.js +169 -0
  934. package/esm/UserContent/UserContent.d.ts +8 -0
  935. package/esm/UserContent/UserContent.js +19 -0
  936. package/esm/UserContent/UserContent.tailwind.d.ts +5 -0
  937. package/esm/UserContent/UserContent.tailwind.js +141 -0
  938. package/esm/index.d.ts +48 -0
  939. package/esm/index.js +48 -0
  940. package/esm/styles/base.tailwind.d.ts +5 -0
  941. package/esm/styles/base.tailwind.js +45 -0
  942. package/esm/styles/brandColors.d.ts +42 -0
  943. package/esm/styles/brandColors.js +46 -0
  944. package/esm/styles/colors.d.ts +110 -0
  945. package/esm/styles/colors.js +114 -0
  946. package/esm/styles/disabledColor.d.ts +6 -0
  947. package/esm/styles/disabledColor.js +14 -0
  948. package/esm/styles/helpers/icons.d.ts +15 -0
  949. package/esm/styles/helpers/icons.js +40 -0
  950. package/esm/styles/helpers/makePurgeCssExtractor.d.ts +7 -0
  951. package/esm/styles/helpers/makePurgeCssExtractor.js +49 -0
  952. package/esm/styles/helpers/makeTailwindPrefixer.d.ts +6 -0
  953. package/esm/styles/helpers/makeTailwindPrefixer.js +34 -0
  954. package/esm/styles/helpers/prefixTailwindClassName.d.ts +7 -0
  955. package/esm/styles/helpers/prefixTailwindClassName.js +26 -0
  956. package/esm/styles/helpers/satellitePrefixer.d.ts +3 -0
  957. package/esm/styles/helpers/satellitePrefixer.js +7 -0
  958. package/esm/styles/rgba.d.ts +8 -0
  959. package/esm/styles/rgba.js +14 -0
  960. package/esm/styles/tailwind.config.d.ts +2 -0
  961. package/esm/styles/tailwind.config.js +145 -0
  962. package/esm/styles/zIndexes.d.ts +7 -0
  963. package/esm/styles/zIndexes.js +12 -0
  964. package/esm/types.d.ts +28 -0
  965. package/esm/types.js +1 -0
  966. package/esm/utilities/utilities.tailwind.d.ts +5 -0
  967. package/esm/utilities/utilities.tailwind.js +25 -0
  968. package/esm/utils/NumberUnion.d.ts +5 -0
  969. package/esm/utils/NumberUnion.js +1 -0
  970. package/esm/utils/event-polyfill.d.ts +0 -0
  971. package/esm/utils/event-polyfill.js +23 -0
  972. package/esm/utils/formatters.d.ts +25 -0
  973. package/esm/utils/formatters.js +36 -0
  974. package/esm/utils/genericChangeHandler.d.ts +5 -0
  975. package/esm/utils/genericChangeHandler.js +18 -0
  976. package/esm/utils/hashCode.d.ts +2 -0
  977. package/esm/utils/hashCode.js +15 -0
  978. package/esm/utils/index.d.ts +7 -0
  979. package/{types/utils/index.d.ts → esm/utils/index.js} +2 -2
  980. package/esm/utils/isCssPropertySupported.d.ts +2 -0
  981. package/esm/utils/isCssPropertySupported.js +9 -0
  982. package/esm/utils/isNil.d.ts +19 -0
  983. package/esm/utils/isNil.js +21 -0
  984. package/esm/utils/isRenderedChild.d.ts +8 -0
  985. package/esm/utils/isRenderedChild.js +9 -0
  986. package/esm/utils/matchLocation.d.ts +3 -0
  987. package/esm/utils/matchLocation.js +5 -0
  988. package/esm/utils/onlyText.d.ts +3 -0
  989. package/esm/utils/onlyText.js +33 -0
  990. package/esm/utils/parseUrl.d.ts +11 -0
  991. package/esm/utils/parseUrl.js +15 -0
  992. package/esm/utils/pluralize.d.ts +6 -0
  993. package/esm/utils/pluralize.js +16 -0
  994. package/esm/utils/range.d.ts +2 -0
  995. package/esm/utils/range.js +7 -0
  996. package/esm/utils/toSentenceCase.d.ts +3 -0
  997. package/esm/utils/toSentenceCase.js +9 -0
  998. package/esm/utils/uniqBy.d.ts +2 -0
  999. package/esm/utils/uniqBy.js +13 -0
  1000. package/esm/utils/uniqueId.d.ts +2 -0
  1001. package/esm/utils/uniqueId.js +7 -0
  1002. package/esm/utils/useForwardedRef.d.ts +3 -0
  1003. package/esm/utils/useForwardedRef.js +17 -0
  1004. package/esm/utils/useLinkProps.d.ts +7 -0
  1005. package/esm/utils/useLinkProps.js +46 -0
  1006. package/esm/utils/useTriggerInputChange.d.ts +8 -0
  1007. package/esm/utils/useTriggerInputChange.js +21 -0
  1008. package/package.json +82 -49
  1009. package/satellite.min.css +3 -0
  1010. package/scss/colors.scss +139 -0
  1011. package/scss/variables.scss +7 -0
  1012. package/components/Alert/Alert.js +0 -49
  1013. package/components/AutoComplete/AutoComplete.js +0 -512
  1014. package/components/AutoComplete/index.js +0 -27
  1015. package/components/AutoComplete/types.js +0 -1
  1016. package/components/Button/Button.js +0 -59
  1017. package/components/Button/LinkButton.js +0 -52
  1018. package/components/Button/index.js +0 -40
  1019. package/components/Card/Card.js +0 -71
  1020. package/components/Card/components/CardHeader.js +0 -25
  1021. package/components/Card/components/CardTitle.js +0 -30
  1022. package/components/Card/index.js +0 -19
  1023. package/components/Checkbox/Checkbox.js +0 -66
  1024. package/components/Checkbox/index.js +0 -27
  1025. package/components/Chip/Chip.js +0 -77
  1026. package/components/Chip/index.js +0 -21
  1027. package/components/Dropdown/Dropdown.js +0 -163
  1028. package/components/Dropdown/DropdownButton.js +0 -117
  1029. package/components/Dropdown/components/DropdownDivider.js +0 -24
  1030. package/components/Dropdown/components/DropdownItem.js +0 -46
  1031. package/components/Dropdown/components/DropdownTitle.js +0 -34
  1032. package/components/Dropdown/index.js +0 -29
  1033. package/components/HelpUnderline/HelpUnderline.js +0 -39
  1034. package/components/HelpUnderline/index.js +0 -27
  1035. package/components/Input/Input.js +0 -134
  1036. package/components/Input/index.js +0 -27
  1037. package/components/LoaderIcon/LoaderIcon.js +0 -65
  1038. package/components/LoaderIcon/index.js +0 -27
  1039. package/components/MaterialIcon/MaterialIcon.js +0 -48
  1040. package/components/MaterialIcon/index.js +0 -27
  1041. package/components/Modal/Modal.js +0 -207
  1042. package/components/Modal/components/ModalFooter.js +0 -34
  1043. package/components/Modal/components/ModalSection.js +0 -38
  1044. package/components/Modal/index.js +0 -21
  1045. package/components/Pagination/Pagination.js +0 -131
  1046. package/components/Pagination/index.js +0 -27
  1047. package/components/RadioGroup/RadioButton.js +0 -35
  1048. package/components/RadioGroup/RadioGroup.js +0 -140
  1049. package/components/RadioGroup/index.js +0 -29
  1050. package/components/ScrollIndicator/ScrollIndicator.js +0 -165
  1051. package/components/ScrollIndicator/index.js +0 -21
  1052. package/components/Select/Select.js +0 -40
  1053. package/components/Select/index.js +0 -27
  1054. package/components/Table/Table.js +0 -36
  1055. package/components/Table/index.js +0 -19
  1056. package/components/TextArea/TextArea.js +0 -34
  1057. package/components/TextArea/index.js +0 -27
  1058. package/components/Tooltip/Tooltip.js +0 -29
  1059. package/components/Tooltip/TooltipWrapper.js +0 -164
  1060. package/components/Tooltip/index.js +0 -40
  1061. package/index.js +0 -173
  1062. package/nothing-to-see-here.gif +0 -0
  1063. package/satellite.css +0 -32
  1064. package/satellite.css.map +0 -1
  1065. package/styles/_colors.scss +0 -147
  1066. package/styles/_mixins.scss +0 -72
  1067. package/styles/_variables.scss +0 -71
  1068. package/types/components/Alert/Alert.d.ts +0 -9
  1069. package/types/components/AutoComplete/AutoComplete.d.ts +0 -66
  1070. package/types/components/AutoComplete/index.d.ts +0 -2
  1071. package/types/components/AutoComplete/types.d.ts +0 -21
  1072. package/types/components/AutoComplete/utils.d.ts +0 -3
  1073. package/types/components/Button/Button.d.ts +0 -13
  1074. package/types/components/Button/LinkButton.d.ts +0 -9
  1075. package/types/components/Button/index.d.ts +0 -3
  1076. package/types/components/Card/Card.d.ts +0 -13
  1077. package/types/components/Card/components/CardHeader.d.ts +0 -3
  1078. package/types/components/Card/components/CardTitle.d.ts +0 -7
  1079. package/types/components/Card/index.d.ts +0 -3
  1080. package/types/components/Checkbox/Checkbox.d.ts +0 -5
  1081. package/types/components/Chip/Chip.d.ts +0 -9
  1082. package/types/components/Chip/index.d.ts +0 -2
  1083. package/types/components/Dropdown/Dropdown.d.ts +0 -27
  1084. package/types/components/Dropdown/DropdownButton.d.ts +0 -12
  1085. package/types/components/Dropdown/components/DropdownDivider.d.ts +0 -6
  1086. package/types/components/Dropdown/components/DropdownItem.d.ts +0 -10
  1087. package/types/components/Dropdown/components/DropdownTitle.d.ts +0 -4
  1088. package/types/components/Dropdown/index.d.ts +0 -3
  1089. package/types/components/HelpUnderline/HelpUnderline.d.ts +0 -10
  1090. package/types/components/Input/Input.d.ts +0 -25
  1091. package/types/components/LoaderIcon/LoaderIcon.d.ts +0 -7
  1092. package/types/components/LoaderIcon/index.d.ts +0 -2
  1093. package/types/components/MaterialIcon/MaterialIcon.d.ts +0 -12
  1094. package/types/components/MaterialIcon/index.d.ts +0 -2
  1095. package/types/components/Modal/Modal.d.ts +0 -30
  1096. package/types/components/Modal/components/ModalFooter.d.ts +0 -4
  1097. package/types/components/Modal/components/ModalSection.d.ts +0 -6
  1098. package/types/components/Modal/index.d.ts +0 -2
  1099. package/types/components/Pagination/Pagination.d.ts +0 -12
  1100. package/types/components/RadioGroup/RadioButton.d.ts +0 -4
  1101. package/types/components/RadioGroup/RadioGroup.d.ts +0 -20
  1102. package/types/components/RadioGroup/index.d.ts +0 -3
  1103. package/types/components/ScrollIndicator/ScrollIndicator.d.ts +0 -24
  1104. package/types/components/ScrollIndicator/index.d.ts +0 -2
  1105. package/types/components/Select/Select.d.ts +0 -6
  1106. package/types/components/Table/Table.d.ts +0 -6
  1107. package/types/components/Table/index.d.ts +0 -3
  1108. package/types/components/TextArea/TextArea.d.ts +0 -5
  1109. package/types/components/Tooltip/Tooltip.d.ts +0 -5
  1110. package/types/components/Tooltip/TooltipWrapper.d.ts +0 -32
  1111. package/types/index.d.ts +0 -19
  1112. package/types/utils/clamp.d.ts +0 -2
  1113. package/types/utils/genericChangeHandler.d.ts +0 -5
  1114. package/types/utils/omit.d.ts +0 -2
  1115. package/utils/clamp.js +0 -20
  1116. package/utils/omit.js +0 -25
  1117. /package/{types/components → cjs/Banners}/Alert/index.d.ts +0 -0
  1118. /package/{types/components → cjs}/Checkbox/index.d.ts +0 -0
  1119. /package/{types/components → cjs}/HelpUnderline/index.d.ts +0 -0
  1120. /package/{types/components → cjs}/Input/index.d.ts +0 -0
  1121. /package/{types/components → cjs/Pagination}/Pagination/index.d.ts +0 -0
  1122. /package/{types/components → cjs}/Select/index.d.ts +0 -0
  1123. /package/{types/components → cjs}/TextArea/index.d.ts +0 -0
  1124. /package/{types → cjs}/utils/pluralize.d.ts +0 -0
  1125. /package/{types → cjs}/utils/range.d.ts +0 -0
  1126. /package/{types → cjs}/utils/uniqBy.d.ts +0 -0
  1127. /package/{types → cjs}/utils/uniqueId.d.ts +0 -0
@@ -0,0 +1,6 @@
1
+ import type { FunctionComponent } from "react";
2
+ import type { TooltipWrapperBaseProps } from "./types";
3
+ /** @ignore */
4
+ export declare const isOverflowing: (element: HTMLElement) => boolean;
5
+ export declare const OverflowTooltipWrapper: FunctionComponent<TooltipWrapperBaseProps>;
6
+ export default OverflowTooltipWrapper;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.isOverflowing = exports["default"] = exports.OverflowTooltipWrapper = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
+ var _clsx = _interopRequireDefault(require("clsx"));
13
+ var _react = require("react");
14
+ var _reactPopper = require("react-popper");
15
+ var _Satellite = require("../Satellite");
16
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
17
+ var _TextWrap = _interopRequireDefault(require("../TextWrap"));
18
+ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
19
+ var _TooltipWrapper = require("./TooltipWrapper");
20
+ var _jsxRuntime = require("react/jsx-runtime");
21
+ var _templateObject, _templateObject2, _templateObject3;
22
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
+ /** @ignore */
25
+ var isOverflowing = function isOverflowing(element) {
26
+ return element.scrollHeight > element.clientHeight || element.scrollWidth > element.clientWidth;
27
+ };
28
+ exports.isOverflowing = isOverflowing;
29
+ var OverflowTooltipWrapper = function OverflowTooltipWrapper(_ref) {
30
+ var _ref$placement = _ref.placement,
31
+ placement = _ref$placement === void 0 ? "bottom" : _ref$placement,
32
+ _ref$tooltipVariant = _ref.tooltipVariant,
33
+ tooltipVariant = _ref$tooltipVariant === void 0 ? "dark" : _ref$tooltipVariant,
34
+ wrapperClassName = _ref.wrapperClassName,
35
+ tooltipClassName = _ref.tooltipClassName,
36
+ children = _ref.children,
37
+ _ref$modifiers = _ref.modifiers,
38
+ modifiers = _ref$modifiers === void 0 ? [] : _ref$modifiers,
39
+ _ref$noArrow = _ref.noArrow,
40
+ noArrow = _ref$noArrow === void 0 ? false : _ref$noArrow;
41
+ var createPortal = (0, _Satellite.useCreatePortal)();
42
+ var _useState = (0, _react.useState)(null),
43
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
44
+ targetEl = _useState2[0],
45
+ setTargetEl = _useState2[1];
46
+ var _useState3 = (0, _react.useState)(null),
47
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
48
+ popperEl = _useState4[0],
49
+ setPopperEl = _useState4[1];
50
+ var _useState5 = (0, _react.useState)(null),
51
+ _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
52
+ arrowEl = _useState6[0],
53
+ setArrowEl = _useState6[1];
54
+ var _useState7 = (0, _react.useState)(null),
55
+ _useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
56
+ tooltipText = _useState8[0],
57
+ setTooltipText = _useState8[1];
58
+ var _usePopper = (0, _reactPopper.usePopper)(targetEl, popperEl, {
59
+ placement: placement,
60
+ strategy: "fixed",
61
+ modifiers: [].concat((0, _toConsumableArray2["default"])(_TooltipWrapper.DEFAULT_TOOLTIP_POPPER_MODIFIERS), [{
62
+ name: "arrow",
63
+ options: {
64
+ element: arrowEl
65
+ }
66
+ }], (0, _toConsumableArray2["default"])(modifiers))
67
+ }),
68
+ styles = _usePopper.styles,
69
+ attributes = _usePopper.attributes;
70
+ var onMouseEnter = function onMouseEnter(evt) {
71
+ return setTooltipText(isOverflowing(evt.currentTarget) ? evt.currentTarget.textContent : null);
72
+ };
73
+ var onMouseLeave = function onMouseLeave() {
74
+ return setTooltipText(null);
75
+ };
76
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
77
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
78
+ ref: setTargetEl,
79
+ className: (0, _clsx["default"])(wrapperClassName, (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["truncate"])))),
80
+ onMouseEnter: onMouseEnter,
81
+ onMouseLeave: onMouseLeave,
82
+ children: children
83
+ }), !!tooltipText && createPortal( /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({}, attributes.popper), {}, {
84
+ style: styles.popper,
85
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["tooltip-wrapper-popper"]))), tooltipClassName),
86
+ ref: setPopperEl,
87
+ children: [!noArrow && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
88
+ ref: setArrowEl,
89
+ style: styles.arrow,
90
+ className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["tooltip-wrapper-arrow ", ""])), tooltipVariant === "light" && "tooltip-wrapper-arrow-light")
91
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip["default"], {
92
+ variant: tooltipVariant,
93
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextWrap["default"], {
94
+ children: tooltipText
95
+ })
96
+ })]
97
+ })))]
98
+ });
99
+ };
100
+ exports.OverflowTooltipWrapper = OverflowTooltipWrapper;
101
+ var _default = OverflowTooltipWrapper;
102
+ exports["default"] = _default;
@@ -0,0 +1,24 @@
1
+ import type { DetailedHTMLProps, HTMLAttributes } from "react";
2
+ export declare type TooltipVariant = "dark" | "light";
3
+ export interface TooltipProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
4
+ variant?: TooltipVariant;
5
+ }
6
+ /**
7
+ * Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when merchants hover, focus, tap, or click.
8
+ *
9
+ * Use tooltips to identify or add a small amount of information to an element. Typically, tooltips are used to help users understand the meaning or purpose of icons, showing the full version of truncated text, or displaying the alt text for an image. Tooltips do not receive input focus.
10
+ * When writing tooltips, be short and concise.. When you need to add more than a single line of extra information, consider using inline dialogs instead.
11
+ *
12
+ * The position of tooltips is flexible and will change depending on how close the element is to the edge of the screen.
13
+ *
14
+ * ## Best practices
15
+ * Tooltips should:
16
+ *
17
+ * - Provide useful, additional information or clarification
18
+ * - Succinctly describe or expand on the element they point to
19
+ * - Not be used to communicate critical information, including errors in forms or other interaction feedback
20
+ * - Not contain any links or buttons
21
+ * - Be used sparingly. If you're building something that requires a lot of tooltips, work on clarifying the design and the language in the experience
22
+ */
23
+ export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "key" | "id" | "color" | "translate" | "hidden" | "dir" | "slot" | "style" | "title" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant"> & import("react").RefAttributes<HTMLDivElement>>;
24
+ export default Tooltip;
@@ -0,0 +1,54 @@
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.Tooltip = 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 _jsxRuntime = require("react/jsx-runtime");
15
+ var _excluded = ["className", "variant"];
16
+ var _templateObject, _templateObject2, _templateObject3;
17
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
18
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
19
+ var VARIANT_CLASSNAMES = {
20
+ dark: (0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["tooltip-dark"]))),
21
+ light: (0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["tooltip-light"])))
22
+ };
23
+
24
+ /**
25
+ * Tooltips are floating labels that briefly explain the function of a user interface element. They can be triggered when merchants hover, focus, tap, or click.
26
+ *
27
+ * Use tooltips to identify or add a small amount of information to an element. Typically, tooltips are used to help users understand the meaning or purpose of icons, showing the full version of truncated text, or displaying the alt text for an image. Tooltips do not receive input focus.
28
+ * When writing tooltips, be short and concise.. When you need to add more than a single line of extra information, consider using inline dialogs instead.
29
+ *
30
+ * The position of tooltips is flexible and will change depending on how close the element is to the edge of the screen.
31
+ *
32
+ * ## Best practices
33
+ * Tooltips should:
34
+ *
35
+ * - Provide useful, additional information or clarification
36
+ * - Succinctly describe or expand on the element they point to
37
+ * - Not be used to communicate critical information, including errors in forms or other interaction feedback
38
+ * - Not contain any links or buttons
39
+ * - Be used sparingly. If you're building something that requires a lot of tooltips, work on clarifying the design and the language in the experience
40
+ */
41
+ var Tooltip = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
42
+ var className = _ref.className,
43
+ _ref$variant = _ref.variant,
44
+ variant = _ref$variant === void 0 ? "dark" : _ref$variant,
45
+ divProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
46
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({}, divProps), {}, {
47
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["tooltip typo-display-body"]))), VARIANT_CLASSNAMES[variant], className),
48
+ ref: ref
49
+ }));
50
+ });
51
+ exports.Tooltip = Tooltip;
52
+ Tooltip.displayName = "Tooltip";
53
+ var _default = Tooltip;
54
+ exports["default"] = _default;
@@ -0,0 +1,5 @@
1
+ export = tooltipPlugin;
2
+ declare const tooltipPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss").Config> | undefined;
5
+ };
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+
3
+ // @ts-check
4
+ var plugin = require("tailwindcss/plugin");
5
+ var tooltipPlugin = plugin(function (_ref) {
6
+ var addComponents = _ref.addComponents,
7
+ theme = _ref.theme;
8
+ var arrowSize = 4;
9
+
10
+ /** @type {string} */
11
+ var tooltipDarkBackground = theme("colors.grey.900");
12
+ /** @type {string} */
13
+ var tooltipLightBackground = theme("colors.white");
14
+ addComponents({
15
+ ".tooltip": {
16
+ padding: "".concat(theme("spacing.1"), " ").concat(theme("spacing.2")),
17
+ backgroundColor: tooltipDarkBackground,
18
+ color: theme("colors.white"),
19
+ boxShadow: theme("boxShadow.z200"),
20
+ borderRadius: theme("borderRadius.DEFAULT"),
21
+ // Used on the dashboard, should probably move over there
22
+ code: {
23
+ color: "currentColor",
24
+ border: "1px solid currentColor",
25
+ background: "initial",
26
+ whiteSpace: "nowrap",
27
+ lineHeight: "2"
28
+ }
29
+ },
30
+ ".tooltip-dark": {
31
+ ".typo-link": {
32
+ color: theme("colors.accent.300"),
33
+ textDecoration: "underline"
34
+ }
35
+ },
36
+ ".tooltip-light": {
37
+ color: theme("colors.grey.900"),
38
+ backgroundColor: tooltipLightBackground
39
+ }
40
+ });
41
+ addComponents({
42
+ ".tooltip-wrapper": {
43
+ display: "inline-block",
44
+ lineHeight: "0",
45
+ outline: "0px"
46
+ },
47
+ ".tooltip-wrapper-popper": {
48
+ zIndex: theme("zIndex.tooltip"),
49
+ userSelect: "none",
50
+ maxWidth: theme("spacing.64")
51
+ },
52
+ ".tooltip-wrapper-arrow": {
53
+ position: "absolute",
54
+ display: "block",
55
+ width: "".concat(arrowSize, "px"),
56
+ height: "".concat(arrowSize, "px"),
57
+ border: "".concat(arrowSize, "px solid transparent"),
58
+ color: tooltipDarkBackground,
59
+ '[data-popper-placement^="right"] > &': {
60
+ left: "".concat(-arrowSize, "px"),
61
+ borderLeft: "none",
62
+ borderRightColor: "currentColor"
63
+ },
64
+ '[data-popper-placement^="left"] > &': {
65
+ right: "".concat(-arrowSize, "px"),
66
+ borderRight: "none",
67
+ borderLeftColor: "currentColor"
68
+ },
69
+ '[data-popper-placement^="top"] > &': {
70
+ top: "100%",
71
+ borderBottom: "none",
72
+ borderTopColor: "currentColor"
73
+ },
74
+ '[data-popper-placement^="bottom"] > &': {
75
+ top: "".concat(-arrowSize, "px"),
76
+ borderTop: "none",
77
+ borderBottomColor: "currentColor"
78
+ }
79
+ },
80
+ ".tooltip-wrapper-arrow-light": {
81
+ color: theme("colors.shadow.10"),
82
+ "&::after": {
83
+ position: "absolute",
84
+ content: '" "',
85
+ border: "".concat(arrowSize - 1, "px solid transparent")
86
+ },
87
+ '[data-popper-placement^="left"] > &::after': {
88
+ right: "1px",
89
+ transform: "translate(0, -50%)",
90
+ borderRight: "none",
91
+ borderLeftColor: tooltipLightBackground
92
+ },
93
+ '[data-popper-placement^="right"] > &::after': {
94
+ left: "1px",
95
+ transform: "translate(0, -50%)",
96
+ borderLeft: "none",
97
+ borderRightColor: tooltipLightBackground
98
+ },
99
+ '[data-popper-placement^="top"] > &::after': {
100
+ bottom: "1px",
101
+ transform: "translate(-50%, 0)",
102
+ borderBottom: "none",
103
+ borderTopColor: tooltipLightBackground
104
+ },
105
+ '[data-popper-placement^="bottom"] > &::after': {
106
+ top: "1px",
107
+ transform: "translate(-50%, 0)",
108
+ borderTop: "none",
109
+ borderBottomColor: tooltipLightBackground
110
+ }
111
+ }
112
+ });
113
+ });
114
+ module.exports = tooltipPlugin;
@@ -0,0 +1,28 @@
1
+ import type { FunctionComponent, ReactNode } from "react";
2
+ import { StrictModifier } from "react-popper";
3
+ import type { TooltipWrapperBaseProps } from "./types";
4
+ export declare const DEFAULT_TOOLTIP_POPPER_MODIFIERS: StrictModifier[];
5
+ export interface TooltipWrapperProps extends TooltipWrapperBaseProps {
6
+ show?: boolean;
7
+ /**
8
+ * Controls how long you should hover the wrapped element before displaying the tooltip (in ms)
9
+ * @default 0
10
+ * */
11
+ delay?: number;
12
+ /**
13
+ * Controls how long the tooltip should stay displayed when leaving the wrapped element (in ms)
14
+ * @default 500
15
+ * */
16
+ hideDelay?: number;
17
+ /**
18
+ * Indicates whether the tooltip itself should be considered when computing the tooltip target.
19
+ * Useful when the tooltip itself contains selectable text or interactive elements, and thus
20
+ * shouldn't be dismissed when the mouse hovers it
21
+ * @default true
22
+ */
23
+ interactive?: boolean;
24
+ content: ReactNode;
25
+ children: ReactNode;
26
+ }
27
+ export declare const TooltipWrapper: FunctionComponent<TooltipWrapperProps>;
28
+ export default TooltipWrapper;
@@ -0,0 +1,191 @@
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.TooltipWrapper = exports.DEFAULT_TOOLTIP_POPPER_MODIFIERS = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
+ var _clsx = _interopRequireDefault(require("clsx"));
13
+ var _throttle = _interopRequireDefault(require("lodash/throttle"));
14
+ var _react = require("react");
15
+ var _reactPopper = require("react-popper");
16
+ var _Satellite = require("../Satellite");
17
+ var _satellitePrefixer = _interopRequireDefault(require("../styles/helpers/satellitePrefixer"));
18
+ var _Tooltip = _interopRequireDefault(require("./Tooltip"));
19
+ var _jsxRuntime = require("react/jsx-runtime");
20
+ var _templateObject, _templateObject2, _templateObject3;
21
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
+ var DEFAULT_TOOLTIP_POPPER_MODIFIERS = [{
24
+ name: "offset",
25
+ options: {
26
+ offset: [0, 8]
27
+ }
28
+ }];
29
+ exports.DEFAULT_TOOLTIP_POPPER_MODIFIERS = DEFAULT_TOOLTIP_POPPER_MODIFIERS;
30
+ var TooltipWrapper = function TooltipWrapper(_ref) {
31
+ var show = _ref.show,
32
+ _ref$delay = _ref.delay,
33
+ delay = _ref$delay === void 0 ? 0 : _ref$delay,
34
+ _ref$hideDelay = _ref.hideDelay,
35
+ hideDelay = _ref$hideDelay === void 0 ? 500 : _ref$hideDelay,
36
+ tooltipContent = _ref.content,
37
+ _ref$placement = _ref.placement,
38
+ placement = _ref$placement === void 0 ? "bottom" : _ref$placement,
39
+ _ref$tooltipVariant = _ref.tooltipVariant,
40
+ tooltipVariant = _ref$tooltipVariant === void 0 ? "dark" : _ref$tooltipVariant,
41
+ wrapperClassName = _ref.wrapperClassName,
42
+ tooltipClassName = _ref.tooltipClassName,
43
+ children = _ref.children,
44
+ _ref$modifiers = _ref.modifiers,
45
+ modifiers = _ref$modifiers === void 0 ? [] : _ref$modifiers,
46
+ _ref$noArrow = _ref.noArrow,
47
+ noArrow = _ref$noArrow === void 0 ? false : _ref$noArrow,
48
+ _ref$interactive = _ref.interactive,
49
+ interactive = _ref$interactive === void 0 ? true : _ref$interactive;
50
+ var createPortal = (0, _Satellite.useCreatePortal)();
51
+ var isControlled = typeof show === "boolean";
52
+ var _useState = (0, _react.useState)(!!show),
53
+ _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
54
+ internalShow = _useState2[0],
55
+ setInternalShow = _useState2[1];
56
+ var transitioning = (0, _react.useRef)(undefined);
57
+ (0, _react.useEffect)(function () {
58
+ if (!isControlled) return;
59
+ setInternalShow(show);
60
+ transitioning.current = undefined;
61
+ }, [isControlled, show]);
62
+ var _useState3 = (0, _react.useState)(null),
63
+ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
64
+ targetEl = _useState4[0],
65
+ setTargetEl = _useState4[1];
66
+ var _useState5 = (0, _react.useState)(null),
67
+ _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
68
+ popperEl = _useState6[0],
69
+ setPopperEl = _useState6[1];
70
+ var _useState7 = (0, _react.useState)(null),
71
+ _useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
72
+ arrowEl = _useState8[0],
73
+ setArrowEl = _useState8[1];
74
+ var _usePopper = (0, _reactPopper.usePopper)(targetEl, popperEl, {
75
+ placement: placement,
76
+ strategy: "fixed",
77
+ modifiers: [].concat(DEFAULT_TOOLTIP_POPPER_MODIFIERS, [{
78
+ name: "arrow",
79
+ options: {
80
+ element: arrowEl
81
+ }
82
+ }], (0, _toConsumableArray2["default"])(modifiers))
83
+ }),
84
+ styles = _usePopper.styles,
85
+ attributes = _usePopper.attributes,
86
+ update = _usePopper.update;
87
+ var showTooltip = Boolean(internalShow && targetEl);
88
+ var transitionTimeoutId = (0, _react.useRef)();
89
+ var scheduleTransition = (0, _react.useCallback)(function (show, delay) {
90
+ transitioning.current = show ? "will-show" : "will-hide";
91
+ transitionTimeoutId.current = setTimeout(function () {
92
+ transitioning.current = undefined;
93
+ setInternalShow(show);
94
+ }, delay);
95
+ }, []);
96
+ var cancelTransition = (0, _react.useCallback)(function () {
97
+ transitioning.current = undefined;
98
+ if (transitionTimeoutId.current) {
99
+ clearTimeout(transitionTimeoutId.current);
100
+ transitionTimeoutId.current = undefined;
101
+ }
102
+ }, []);
103
+ (0, _react.useEffect)(function () {
104
+ return function () {
105
+ return cancelTransition();
106
+ };
107
+ }, [cancelTransition]);
108
+ var scheduleShowTooltip = (0, _react.useCallback)(function () {
109
+ if (transitioning.current === "will-show") return;
110
+ cancelTransition();
111
+ if (internalShow) return;
112
+ scheduleTransition(true, delay);
113
+ }, [cancelTransition, delay, internalShow, scheduleTransition]);
114
+ var scheduleHideTooltip = (0, _react.useCallback)(function () {
115
+ if (transitioning.current === "will-hide") return;
116
+ cancelTransition();
117
+ if (!internalShow) return;
118
+ scheduleTransition(false, hideDelay);
119
+ }, [cancelTransition, hideDelay, internalShow, scheduleTransition]);
120
+ (0, _react.useEffect)(function () {
121
+ if (isControlled || !showTooltip) return;
122
+ var handleMouseMove = (0, _throttle["default"])(function (evt) {
123
+ var target = evt.target;
124
+ var isWithinBounds = [targetEl, interactive ? popperEl : null].some(function (ref) {
125
+ return Boolean(ref && (ref === target || ref.contains(target)));
126
+ });
127
+ if (isWithinBounds) {
128
+ scheduleShowTooltip();
129
+ } else {
130
+ scheduleHideTooltip();
131
+ }
132
+ }, 16, {
133
+ leading: true
134
+ });
135
+ document.addEventListener("mousemove", handleMouseMove);
136
+ return function () {
137
+ handleMouseMove.cancel();
138
+ document.removeEventListener("mousemove", handleMouseMove);
139
+ };
140
+ }, [isControlled, popperEl, scheduleHideTooltip, scheduleShowTooltip, showTooltip, targetEl, interactive]);
141
+
142
+ /**
143
+ * Workaround:
144
+ * When the tooltip content size changes, popper doesn't necessarily update the tooltip positionning correctly.
145
+ * It's going to trigger some unnecessary updates, but it shouldn't be terribly expensive as update() is intended for "high-frequency updates"
146
+ */
147
+ (0, _react.useEffect)(function () {
148
+ update === null || update === void 0 ? void 0 : update();
149
+ }, [children, update]);
150
+ if (!tooltipContent) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
151
+ children: children
152
+ });
153
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
154
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", _objectSpread(_objectSpread({
155
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["tooltip-wrapper"]))), wrapperClassName),
156
+ ref: setTargetEl
157
+ }, isControlled ? {} : {
158
+ onMouseEnter: function onMouseEnter() {
159
+ return scheduleShowTooltip();
160
+ },
161
+ onFocus: function onFocus() {
162
+ return scheduleShowTooltip();
163
+ },
164
+ onMouseLeave: function onMouseLeave() {
165
+ return scheduleHideTooltip();
166
+ },
167
+ onBlur: function onBlur(evt) {
168
+ if (evt.relatedTarget === null || !interactive || !(popperEl !== null && popperEl !== void 0 && popperEl.contains(evt.relatedTarget))) {
169
+ scheduleHideTooltip();
170
+ }
171
+ }
172
+ }), {}, {
173
+ children: children
174
+ })), showTooltip && createPortal( /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({}, attributes.popper), {}, {
175
+ style: styles.popper,
176
+ className: (0, _clsx["default"])((0, _satellitePrefixer["default"])(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["tooltip-wrapper-popper"]))), tooltipClassName),
177
+ ref: setPopperEl,
178
+ children: [!noArrow && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
179
+ ref: setArrowEl,
180
+ style: styles.arrow,
181
+ className: (0, _satellitePrefixer["default"])(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["tooltip-wrapper-arrow ", ""])), tooltipVariant === "light" && "tooltip-wrapper-arrow-light")
182
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip["default"], {
183
+ variant: tooltipVariant,
184
+ children: tooltipContent
185
+ })]
186
+ })))]
187
+ });
188
+ };
189
+ exports.TooltipWrapper = TooltipWrapper;
190
+ var _default = TooltipWrapper;
191
+ exports["default"] = _default;
@@ -1,3 +1,4 @@
1
1
  export * from "./Tooltip";
2
2
  export * from "./TooltipWrapper";
3
+ export * from "./OverflowTooltipWrapper";
3
4
  export { default } from "./Tooltip";
@@ -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 _Tooltip["default"];
12
+ }
13
+ });
14
+ var _Tooltip = _interopRequireWildcard(require("./Tooltip"));
15
+ Object.keys(_Tooltip).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] === _Tooltip[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _Tooltip[key];
23
+ }
24
+ });
25
+ });
26
+ var _TooltipWrapper = require("./TooltipWrapper");
27
+ Object.keys(_TooltipWrapper).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] === _TooltipWrapper[key]) return;
31
+ Object.defineProperty(exports, key, {
32
+ enumerable: true,
33
+ get: function get() {
34
+ return _TooltipWrapper[key];
35
+ }
36
+ });
37
+ });
38
+ var _OverflowTooltipWrapper = require("./OverflowTooltipWrapper");
39
+ Object.keys(_OverflowTooltipWrapper).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] === _OverflowTooltipWrapper[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function get() {
46
+ return _OverflowTooltipWrapper[key];
47
+ }
48
+ });
49
+ });
50
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
51
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -0,0 +1,14 @@
1
+ import type { Placement, StrictModifiers } from "@popperjs/core";
2
+ import type { ReactNode } from "react";
3
+ import type { TooltipVariant } from "./Tooltip";
4
+ export interface TooltipWrapperBaseProps {
5
+ /** Defines where to open the menu */
6
+ placement?: Placement;
7
+ tooltipVariant?: TooltipVariant;
8
+ tooltipClassName?: string;
9
+ wrapperClassName?: string;
10
+ /** Modifiers for the Popper menu */
11
+ modifiers?: StrictModifiers[];
12
+ noArrow?: boolean;
13
+ children: ReactNode;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,5 @@
1
+ export = typographyPlugin;
2
+ declare const typographyPlugin: {
3
+ handler: import("tailwindcss/types/config").PluginCreator;
4
+ config?: Partial<import("tailwindcss").Config> | undefined;
5
+ };