@wavv/ui 2.2.0 → 2.2.2-alpha.1

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 (470) hide show
  1. package/build/apple-touch-icon.png +0 -0
  2. package/build/{esm/types/components → components}/ChartHelpers.d.ts +5 -6
  3. package/build/favicon-16x16.png +0 -0
  4. package/build/favicon-32x32.png +0 -0
  5. package/build/favicon.ico +0 -0
  6. package/build/index.d.ts +89 -4016
  7. package/build/index.js +79 -0
  8. package/build/manifest.json +15 -0
  9. package/package.json +46 -41
  10. package/build/cjs/index.js +0 -11
  11. package/build/cjs/index.js.map +0 -1
  12. package/build/cjs/types/components/ChartHelpers.d.ts +0 -46
  13. package/build/cjs/types/index.d.ts +0 -89
  14. package/build/esm/index.js +0 -11
  15. package/build/esm/index.js.map +0 -1
  16. package/build/esm/types/assets/icons/CaretDown.d.ts +0 -3
  17. package/build/esm/types/assets/icons/CaretUp.d.ts +0 -3
  18. package/build/esm/types/assets/icons/Checkbox.d.ts +0 -3
  19. package/build/esm/types/assets/icons/CheckboxOff.d.ts +0 -3
  20. package/build/esm/types/assets/icons/CheckboxPartial.d.ts +0 -3
  21. package/build/esm/types/assets/icons/Dialpad.d.ts +0 -3
  22. package/build/esm/types/assets/icons/Exclamation.d.ts +0 -3
  23. package/build/esm/types/assets/icons/Phone.d.ts +0 -3
  24. package/build/esm/types/assets/icons/PhoneAdd.d.ts +0 -3
  25. package/build/esm/types/assets/icons/PhoneBlocked.d.ts +0 -3
  26. package/build/esm/types/assets/icons/PhoneCallback.d.ts +0 -3
  27. package/build/esm/types/assets/icons/PhoneEnd.d.ts +0 -3
  28. package/build/esm/types/assets/icons/PhoneForward.d.ts +0 -3
  29. package/build/esm/types/assets/icons/PhoneHistory.d.ts +0 -3
  30. package/build/esm/types/assets/icons/PhoneHold.d.ts +0 -3
  31. package/build/esm/types/assets/icons/PhoneIncoming.d.ts +0 -3
  32. package/build/esm/types/assets/icons/PhoneMissed.d.ts +0 -3
  33. package/build/esm/types/assets/icons/PhoneTalk.d.ts +0 -3
  34. package/build/esm/types/assets/icons/PhoneTransfer.d.ts +0 -3
  35. package/build/esm/types/assets/icons/RadioButton.d.ts +0 -3
  36. package/build/esm/types/assets/icons/RadioButtonOff.d.ts +0 -3
  37. package/build/esm/types/assets/icons/Record.d.ts +0 -3
  38. package/build/esm/types/assets/icons/Screenshot.d.ts +0 -3
  39. package/build/esm/types/assets/icons/ShieldWavv.d.ts +0 -3
  40. package/build/esm/types/assets/icons/Spotify.d.ts +0 -3
  41. package/build/esm/types/assets/icons/SubArrow.d.ts +0 -3
  42. package/build/esm/types/assets/icons/ToggleOff.d.ts +0 -3
  43. package/build/esm/types/assets/icons/ToggleOn.d.ts +0 -3
  44. package/build/esm/types/assets/icons/TransferCancel.d.ts +0 -3
  45. package/build/esm/types/components/Accordion/Accordion.d.ts +0 -412
  46. package/build/esm/types/components/Accordion/Header.d.ts +0 -25
  47. package/build/esm/types/components/Accordion/Item.d.ts +0 -6
  48. package/build/esm/types/components/Accordion/Panel.d.ts +0 -10
  49. package/build/esm/types/components/Accordion/index.d.ts +0 -1
  50. package/build/esm/types/components/Audio.d.ts +0 -56
  51. package/build/esm/types/components/BarChart.d.ts +0 -38
  52. package/build/esm/types/components/Button/Button.d.ts +0 -397
  53. package/build/esm/types/components/Button/ButtonLoader.d.ts +0 -4
  54. package/build/esm/types/components/Button/ButtonTypes.d.ts +0 -147
  55. package/build/esm/types/components/Button/Group.d.ts +0 -21
  56. package/build/esm/types/components/Button/index.d.ts +0 -1
  57. package/build/esm/types/components/Calendar.d.ts +0 -11
  58. package/build/esm/types/components/CalendarParts/CalendarContainerStyles.d.ts +0 -7
  59. package/build/esm/types/components/CalendarParts/CalendarContent.d.ts +0 -7
  60. package/build/esm/types/components/CalendarParts/CalendarHeader.d.ts +0 -7
  61. package/build/esm/types/components/CalendarParts/useMinMax.d.ts +0 -10
  62. package/build/esm/types/components/CalendarParts/utils.d.ts +0 -4
  63. package/build/esm/types/components/Checkbox.d.ts +0 -30
  64. package/build/esm/types/components/Code/Code.d.ts +0 -26
  65. package/build/esm/types/components/Code/Copy.d.ts +0 -4
  66. package/build/esm/types/components/Code/Endpoint.d.ts +0 -5
  67. package/build/esm/types/components/Code/index.d.ts +0 -2
  68. package/build/esm/types/components/ComboBox.d.ts +0 -20
  69. package/build/esm/types/components/CommandMenu/CommandItem.d.ts +0 -4
  70. package/build/esm/types/components/CommandMenu/CommandMenu.d.ts +0 -42
  71. package/build/esm/types/components/CommandMenu/CommandOptions.d.ts +0 -8
  72. package/build/esm/types/components/CommandMenu/CommandSection.d.ts +0 -8
  73. package/build/esm/types/components/CommandMenu/index.d.ts +0 -1
  74. package/build/esm/types/components/DateRangeSelect.d.ts +0 -19
  75. package/build/esm/types/components/DocTable.d.ts +0 -6
  76. package/build/esm/types/components/Dot.d.ts +0 -18
  77. package/build/esm/types/components/DraftEditor.d.ts +0 -57
  78. package/build/esm/types/components/Dropdown.d.ts +0 -12
  79. package/build/esm/types/components/DropdownMenu.d.ts +0 -66
  80. package/build/esm/types/components/DropdownMenuParts/Menu.d.ts +0 -9
  81. package/build/esm/types/components/DropdownMenuParts/MenuItem.d.ts +0 -14
  82. package/build/esm/types/components/DropdownMenuParts/MenuOptions.d.ts +0 -15
  83. package/build/esm/types/components/DropdownMenuParts/MenuSection.d.ts +0 -8
  84. package/build/esm/types/components/DropdownSelect.d.ts +0 -17
  85. package/build/esm/types/components/DynamicIcon.d.ts +0 -23
  86. package/build/esm/types/components/Editor/Editor.d.ts +0 -85
  87. package/build/esm/types/components/Editor/EditorStyles.d.ts +0 -21
  88. package/build/esm/types/components/Editor/MergeFieldExtension.d.ts +0 -3
  89. package/build/esm/types/components/Editor/RichTextToolbar.d.ts +0 -10
  90. package/build/esm/types/components/Editor/editorUtils.d.ts +0 -74
  91. package/build/esm/types/components/Editor/index.d.ts +0 -3
  92. package/build/esm/types/components/Ellipsis.d.ts +0 -12
  93. package/build/esm/types/components/Focusable.d.ts +0 -7
  94. package/build/esm/types/components/Form.d.ts +0 -66
  95. package/build/esm/types/components/FormControl.d.ts +0 -22
  96. package/build/esm/types/components/Grid.d.ts +0 -66
  97. package/build/esm/types/components/Icon/Icon.d.ts +0 -50
  98. package/build/esm/types/components/Icon/customIcons.d.ts +0 -31
  99. package/build/esm/types/components/Icon/icons.d.ts +0 -145
  100. package/build/esm/types/components/Icon/index.d.ts +0 -2
  101. package/build/esm/types/components/ImageViewer.d.ts +0 -22
  102. package/build/esm/types/components/InlineCode.d.ts +0 -6
  103. package/build/esm/types/components/InputHelpers.d.ts +0 -105
  104. package/build/esm/types/components/Inputs/DatePicker.d.ts +0 -10
  105. package/build/esm/types/components/Inputs/DateRangePicker.d.ts +0 -11
  106. package/build/esm/types/components/Inputs/InlineInput.d.ts +0 -5
  107. package/build/esm/types/components/Inputs/NumberInput.d.ts +0 -10
  108. package/build/esm/types/components/Inputs/PhoneInput.d.ts +0 -7
  109. package/build/esm/types/components/Inputs/SearchInput.d.ts +0 -5
  110. package/build/esm/types/components/Inputs/TextArea.d.ts +0 -7
  111. package/build/esm/types/components/Inputs/TextInput.d.ts +0 -7
  112. package/build/esm/types/components/Inputs/TimeInput.d.ts +0 -9
  113. package/build/esm/types/components/Inputs/helpers/AriaButton.d.ts +0 -6
  114. package/build/esm/types/components/Inputs/helpers/DateSegment.d.ts +0 -7
  115. package/build/esm/types/components/Inputs/helpers/Description.d.ts +0 -5
  116. package/build/esm/types/components/Inputs/helpers/ErrorMessage.d.ts +0 -5
  117. package/build/esm/types/components/Inputs/helpers/Input.d.ts +0 -12
  118. package/build/esm/types/components/Inputs/helpers/InputContainerStyles.d.ts +0 -14
  119. package/build/esm/types/components/Inputs/helpers/InputMessage.d.ts +0 -9
  120. package/build/esm/types/components/Inputs/helpers/InputStyles.d.ts +0 -11
  121. package/build/esm/types/components/Inputs/helpers/Label.d.ts +0 -12
  122. package/build/esm/types/components/Inputs/helpers/LabelWrapper.d.ts +0 -7
  123. package/build/esm/types/components/Inputs/helpers/PickerToggle.d.ts +0 -5
  124. package/build/esm/types/components/Inputs/helpers/TextArea.d.ts +0 -12
  125. package/build/esm/types/components/Inputs/helpers/filterPastedText.d.ts +0 -2
  126. package/build/esm/types/components/Inputs/helpers/handlePaste.d.ts +0 -3
  127. package/build/esm/types/components/Inputs/helpers/isAcceptable.d.ts +0 -2
  128. package/build/esm/types/components/Inputs/helpers/useDynamicWidth.d.ts +0 -8
  129. package/build/esm/types/components/Inputs/helpers/useInputFocus.d.ts +0 -8
  130. package/build/esm/types/components/Label.d.ts +0 -16
  131. package/build/esm/types/components/LineChart.d.ts +0 -6
  132. package/build/esm/types/components/ListBoxParts/GridListItem.d.ts +0 -8
  133. package/build/esm/types/components/ListBoxParts/ListBoxItem.d.ts +0 -5
  134. package/build/esm/types/components/ListBoxParts/ListOptions.d.ts +0 -13
  135. package/build/esm/types/components/ListHelpers/GridListHeader.d.ts +0 -5
  136. package/build/esm/types/components/ListHelpers/GridListSection.d.ts +0 -8
  137. package/build/esm/types/components/ListHelpers/ItemHeaderBody.d.ts +0 -9
  138. package/build/esm/types/components/ListHelpers/ListHeader.d.ts +0 -5
  139. package/build/esm/types/components/ListHelpers/ListItemStyles.d.ts +0 -16
  140. package/build/esm/types/components/ListHelpers/ListRootStyles.d.ts +0 -9
  141. package/build/esm/types/components/ListHelpers/ListSection.d.ts +0 -8
  142. package/build/esm/types/components/ListHelpers/ListStyles.d.ts +0 -13
  143. package/build/esm/types/components/Menu.d.ts +0 -69
  144. package/build/esm/types/components/Message.d.ts +0 -36
  145. package/build/esm/types/components/MessageHr.d.ts +0 -13
  146. package/build/esm/types/components/Modal.d.ts +0 -84
  147. package/build/esm/types/components/MotionPopover.d.ts +0 -5
  148. package/build/esm/types/components/MultiSelect/MultiSelect.d.ts +0 -52
  149. package/build/esm/types/components/MultiSelect/SearchDropdown.d.ts +0 -17
  150. package/build/esm/types/components/MultiSelect/index.d.ts +0 -1
  151. package/build/esm/types/components/OptionHelpers/Container.d.ts +0 -11
  152. package/build/esm/types/components/OptionHelpers/Item.d.ts +0 -23
  153. package/build/esm/types/components/OptionHelpers/types.d.ts +0 -23
  154. package/build/esm/types/components/Pagination.d.ts +0 -13
  155. package/build/esm/types/components/PieChart.d.ts +0 -21
  156. package/build/esm/types/components/Popover.d.ts +0 -16
  157. package/build/esm/types/components/PortalScope.d.ts +0 -6
  158. package/build/esm/types/components/Progress/CirclePercent.d.ts +0 -10
  159. package/build/esm/types/components/Progress/Progress.d.ts +0 -30
  160. package/build/esm/types/components/Progress/index.d.ts +0 -2
  161. package/build/esm/types/components/Radio.d.ts +0 -21
  162. package/build/esm/types/components/RangeCalendar.d.ts +0 -13
  163. package/build/esm/types/components/Select.d.ts +0 -14
  164. package/build/esm/types/components/Slider.d.ts +0 -16
  165. package/build/esm/types/components/Spinner.d.ts +0 -16
  166. package/build/esm/types/components/Table/Body.d.ts +0 -16
  167. package/build/esm/types/components/Table/Cell.d.ts +0 -13
  168. package/build/esm/types/components/Table/Check.d.ts +0 -3
  169. package/build/esm/types/components/Table/Column.d.ts +0 -17
  170. package/build/esm/types/components/Table/ColumnSort.d.ts +0 -6
  171. package/build/esm/types/components/Table/Header.d.ts +0 -9
  172. package/build/esm/types/components/Table/Resizer.d.ts +0 -5
  173. package/build/esm/types/components/Table/Row.d.ts +0 -19
  174. package/build/esm/types/components/Table/SortCaret.d.ts +0 -6
  175. package/build/esm/types/components/Table/Table.d.ts +0 -441
  176. package/build/esm/types/components/Table/contentStyles.d.ts +0 -14
  177. package/build/esm/types/components/Table/context.d.ts +0 -3
  178. package/build/esm/types/components/Table/index.d.ts +0 -1
  179. package/build/esm/types/components/Table/types.d.ts +0 -45
  180. package/build/esm/types/components/Tabs.d.ts +0 -64
  181. package/build/esm/types/components/Tag.d.ts +0 -22
  182. package/build/esm/types/components/Toggle.d.ts +0 -18
  183. package/build/esm/types/components/ToggleButton/ToggleButton.d.ts +0 -29
  184. package/build/esm/types/components/ToggleButton/ToggleButtonGroup.d.ts +0 -22
  185. package/build/esm/types/components/ToggleButton/context.d.ts +0 -8
  186. package/build/esm/types/components/ToggleButton/index.d.ts +0 -2
  187. package/build/esm/types/components/Tooltip.d.ts +0 -50
  188. package/build/esm/types/components/TransferList.d.ts +0 -48
  189. package/build/esm/types/components/Tree/Tree.d.ts +0 -23
  190. package/build/esm/types/components/Tree/TreeContext.d.ts +0 -5
  191. package/build/esm/types/components/Tree/TreeItem.d.ts +0 -21
  192. package/build/esm/types/components/Tree/index.d.ts +0 -1
  193. package/build/esm/types/components/UnstyledButton.d.ts +0 -3
  194. package/build/esm/types/components/Waveform.d.ts +0 -25
  195. package/build/esm/types/components/draftUtils.d.ts +0 -49
  196. package/build/esm/types/components/helpers/getIcon.d.ts +0 -8
  197. package/build/esm/types/components/helpers/getPopPosition.d.ts +0 -6
  198. package/build/esm/types/components/helpers/isPropAllowed.d.ts +0 -2
  199. package/build/esm/types/components/helpers/mergePadding.d.ts +0 -8
  200. package/build/esm/types/components/helpers/styledProps.d.ts +0 -8
  201. package/build/esm/types/components/typeDefs/elementTypes.d.ts +0 -2
  202. package/build/esm/types/components/typeDefs/inputTypes.d.ts +0 -67
  203. package/build/esm/types/components/typeDefs/selectionTypes.d.ts +0 -83
  204. package/build/esm/types/components/typeDefs/tagTypes.d.ts +0 -17
  205. package/build/esm/types/components/types.d.ts +0 -163
  206. package/build/esm/types/global-styles/GlobalStorybookStyles.d.ts +0 -9
  207. package/build/esm/types/global-styles/ResetStyles.d.ts +0 -9
  208. package/build/esm/types/global-styles/ScrollbarStyles.d.ts +0 -2
  209. package/build/esm/types/global-styles/ToastStyles.d.ts +0 -2
  210. package/build/esm/types/global-styles/index.d.ts +0 -3
  211. package/build/esm/types/hooks/index.d.ts +0 -8
  212. package/build/esm/types/hooks/useConfirm.d.ts +0 -22
  213. package/build/esm/types/hooks/useControlledOpenState.d.ts +0 -9
  214. package/build/esm/types/hooks/useCopy.d.ts +0 -6
  215. package/build/esm/types/hooks/useElementObserver.d.ts +0 -7
  216. package/build/esm/types/hooks/useEventListener.d.ts +0 -16
  217. package/build/esm/types/hooks/useOnClickOutside.d.ts +0 -9
  218. package/build/esm/types/hooks/usePrevious.d.ts +0 -2
  219. package/build/esm/types/hooks/useSelectAll.d.ts +0 -14
  220. package/build/esm/types/hooks/useWindowSize.d.ts +0 -5
  221. package/build/esm/types/index.d.ts +0 -89
  222. package/build/esm/types/theme/ThemeTypes.d.ts +0 -340
  223. package/build/esm/types/theme/common/button.d.ts +0 -31
  224. package/build/esm/types/theme/common/common.d.ts +0 -103
  225. package/build/esm/types/theme/common/index.d.ts +0 -3
  226. package/build/esm/types/theme/core/colors.d.ts +0 -201
  227. package/build/esm/types/theme/core/dark/dark.d.ts +0 -3
  228. package/build/esm/types/theme/core/dark/darkScale.d.ts +0 -22
  229. package/build/esm/types/theme/core/light/light.d.ts +0 -3
  230. package/build/esm/types/theme/core/light/lightScale.d.ts +0 -22
  231. package/build/esm/types/theme/eighties/colors.d.ts +0 -68
  232. package/build/esm/types/theme/eighties/dark/dark.d.ts +0 -3
  233. package/build/esm/types/theme/eighties/dark/darkScale.d.ts +0 -22
  234. package/build/esm/types/theme/eighties/light/light.d.ts +0 -3
  235. package/build/esm/types/theme/eighties/light/lightScale.d.ts +0 -22
  236. package/build/esm/types/theme/index.d.ts +0 -16
  237. package/build/esm/types/utils/chunk.d.ts +0 -2
  238. package/build/esm/types/utils/copyToClipboard.d.ts +0 -2
  239. package/build/esm/types/utils/flattenListOptions.d.ts +0 -3
  240. package/build/esm/types/utils/formatDate.d.ts +0 -7
  241. package/build/esm/types/utils/index.d.ts +0 -5
  242. package/build/esm/types/utils/numberWithCommas.d.ts +0 -2
  243. package/build/esm/types/utils/range.d.ts +0 -1
  244. /package/build/{cjs/types/assets → assets}/icons/CaretDown.d.ts +0 -0
  245. /package/build/{cjs/types/assets → assets}/icons/CaretUp.d.ts +0 -0
  246. /package/build/{cjs/types/assets → assets}/icons/Checkbox.d.ts +0 -0
  247. /package/build/{cjs/types/assets → assets}/icons/CheckboxOff.d.ts +0 -0
  248. /package/build/{cjs/types/assets → assets}/icons/CheckboxPartial.d.ts +0 -0
  249. /package/build/{cjs/types/assets → assets}/icons/Dialpad.d.ts +0 -0
  250. /package/build/{cjs/types/assets → assets}/icons/Exclamation.d.ts +0 -0
  251. /package/build/{cjs/types/assets → assets}/icons/Phone.d.ts +0 -0
  252. /package/build/{cjs/types/assets → assets}/icons/PhoneAdd.d.ts +0 -0
  253. /package/build/{cjs/types/assets → assets}/icons/PhoneBlocked.d.ts +0 -0
  254. /package/build/{cjs/types/assets → assets}/icons/PhoneCallback.d.ts +0 -0
  255. /package/build/{cjs/types/assets → assets}/icons/PhoneEnd.d.ts +0 -0
  256. /package/build/{cjs/types/assets → assets}/icons/PhoneForward.d.ts +0 -0
  257. /package/build/{cjs/types/assets → assets}/icons/PhoneHistory.d.ts +0 -0
  258. /package/build/{cjs/types/assets → assets}/icons/PhoneHold.d.ts +0 -0
  259. /package/build/{cjs/types/assets → assets}/icons/PhoneIncoming.d.ts +0 -0
  260. /package/build/{cjs/types/assets → assets}/icons/PhoneMissed.d.ts +0 -0
  261. /package/build/{cjs/types/assets → assets}/icons/PhoneTalk.d.ts +0 -0
  262. /package/build/{cjs/types/assets → assets}/icons/PhoneTransfer.d.ts +0 -0
  263. /package/build/{cjs/types/assets → assets}/icons/RadioButton.d.ts +0 -0
  264. /package/build/{cjs/types/assets → assets}/icons/RadioButtonOff.d.ts +0 -0
  265. /package/build/{cjs/types/assets → assets}/icons/Record.d.ts +0 -0
  266. /package/build/{cjs/types/assets → assets}/icons/Screenshot.d.ts +0 -0
  267. /package/build/{cjs/types/assets → assets}/icons/ShieldWavv.d.ts +0 -0
  268. /package/build/{cjs/types/assets → assets}/icons/Spotify.d.ts +0 -0
  269. /package/build/{cjs/types/assets → assets}/icons/SubArrow.d.ts +0 -0
  270. /package/build/{cjs/types/assets → assets}/icons/ToggleOff.d.ts +0 -0
  271. /package/build/{cjs/types/assets → assets}/icons/ToggleOn.d.ts +0 -0
  272. /package/build/{cjs/types/assets → assets}/icons/TransferCancel.d.ts +0 -0
  273. /package/build/{cjs/types/components → components}/Accordion/Accordion.d.ts +0 -0
  274. /package/build/{cjs/types/components → components}/Accordion/Header.d.ts +0 -0
  275. /package/build/{cjs/types/components → components}/Accordion/Item.d.ts +0 -0
  276. /package/build/{cjs/types/components → components}/Accordion/Panel.d.ts +0 -0
  277. /package/build/{cjs/types/components → components}/Accordion/index.d.ts +0 -0
  278. /package/build/{cjs/types/components → components}/Audio.d.ts +0 -0
  279. /package/build/{cjs/types/components → components}/BarChart.d.ts +0 -0
  280. /package/build/{cjs/types/components → components}/Button/Button.d.ts +0 -0
  281. /package/build/{cjs/types/components → components}/Button/ButtonLoader.d.ts +0 -0
  282. /package/build/{cjs/types/components → components}/Button/ButtonTypes.d.ts +0 -0
  283. /package/build/{cjs/types/components → components}/Button/Group.d.ts +0 -0
  284. /package/build/{cjs/types/components → components}/Button/index.d.ts +0 -0
  285. /package/build/{cjs/types/components → components}/Calendar.d.ts +0 -0
  286. /package/build/{cjs/types/components → components}/CalendarParts/CalendarContainerStyles.d.ts +0 -0
  287. /package/build/{cjs/types/components → components}/CalendarParts/CalendarContent.d.ts +0 -0
  288. /package/build/{cjs/types/components → components}/CalendarParts/CalendarHeader.d.ts +0 -0
  289. /package/build/{cjs/types/components → components}/CalendarParts/useMinMax.d.ts +0 -0
  290. /package/build/{cjs/types/components → components}/CalendarParts/utils.d.ts +0 -0
  291. /package/build/{cjs/types/components → components}/Checkbox.d.ts +0 -0
  292. /package/build/{cjs/types/components → components}/Code/Code.d.ts +0 -0
  293. /package/build/{cjs/types/components → components}/Code/Copy.d.ts +0 -0
  294. /package/build/{cjs/types/components → components}/Code/Endpoint.d.ts +0 -0
  295. /package/build/{cjs/types/components → components}/Code/index.d.ts +0 -0
  296. /package/build/{cjs/types/components → components}/ComboBox.d.ts +0 -0
  297. /package/build/{cjs/types/components → components}/CommandMenu/CommandItem.d.ts +0 -0
  298. /package/build/{cjs/types/components → components}/CommandMenu/CommandMenu.d.ts +0 -0
  299. /package/build/{cjs/types/components → components}/CommandMenu/CommandOptions.d.ts +0 -0
  300. /package/build/{cjs/types/components → components}/CommandMenu/CommandSection.d.ts +0 -0
  301. /package/build/{cjs/types/components → components}/CommandMenu/index.d.ts +0 -0
  302. /package/build/{cjs/types/components → components}/DateRangeSelect.d.ts +0 -0
  303. /package/build/{cjs/types/components → components}/DocTable.d.ts +0 -0
  304. /package/build/{cjs/types/components → components}/Dot.d.ts +0 -0
  305. /package/build/{cjs/types/components → components}/DraftEditor.d.ts +0 -0
  306. /package/build/{cjs/types/components → components}/Dropdown.d.ts +0 -0
  307. /package/build/{cjs/types/components → components}/DropdownMenu.d.ts +0 -0
  308. /package/build/{cjs/types/components → components}/DropdownMenuParts/Menu.d.ts +0 -0
  309. /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuItem.d.ts +0 -0
  310. /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuOptions.d.ts +0 -0
  311. /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuSection.d.ts +0 -0
  312. /package/build/{cjs/types/components → components}/DropdownSelect.d.ts +0 -0
  313. /package/build/{cjs/types/components → components}/DynamicIcon.d.ts +0 -0
  314. /package/build/{cjs/types/components → components}/Editor/Editor.d.ts +0 -0
  315. /package/build/{cjs/types/components → components}/Editor/EditorStyles.d.ts +0 -0
  316. /package/build/{cjs/types/components → components}/Editor/MergeFieldExtension.d.ts +0 -0
  317. /package/build/{cjs/types/components → components}/Editor/RichTextToolbar.d.ts +0 -0
  318. /package/build/{cjs/types/components → components}/Editor/editorUtils.d.ts +0 -0
  319. /package/build/{cjs/types/components → components}/Editor/index.d.ts +0 -0
  320. /package/build/{cjs/types/components → components}/Ellipsis.d.ts +0 -0
  321. /package/build/{cjs/types/components → components}/Focusable.d.ts +0 -0
  322. /package/build/{cjs/types/components → components}/Form.d.ts +0 -0
  323. /package/build/{cjs/types/components → components}/FormControl.d.ts +0 -0
  324. /package/build/{cjs/types/components → components}/Grid.d.ts +0 -0
  325. /package/build/{cjs/types/components → components}/Icon/Icon.d.ts +0 -0
  326. /package/build/{cjs/types/components → components}/Icon/customIcons.d.ts +0 -0
  327. /package/build/{cjs/types/components → components}/Icon/icons.d.ts +0 -0
  328. /package/build/{cjs/types/components → components}/Icon/index.d.ts +0 -0
  329. /package/build/{cjs/types/components → components}/ImageViewer.d.ts +0 -0
  330. /package/build/{cjs/types/components → components}/InlineCode.d.ts +0 -0
  331. /package/build/{cjs/types/components → components}/InputHelpers.d.ts +0 -0
  332. /package/build/{cjs/types/components → components}/Inputs/DatePicker.d.ts +0 -0
  333. /package/build/{cjs/types/components → components}/Inputs/DateRangePicker.d.ts +0 -0
  334. /package/build/{cjs/types/components → components}/Inputs/InlineInput.d.ts +0 -0
  335. /package/build/{cjs/types/components → components}/Inputs/NumberInput.d.ts +0 -0
  336. /package/build/{cjs/types/components → components}/Inputs/PhoneInput.d.ts +0 -0
  337. /package/build/{cjs/types/components → components}/Inputs/SearchInput.d.ts +0 -0
  338. /package/build/{cjs/types/components → components}/Inputs/TextArea.d.ts +0 -0
  339. /package/build/{cjs/types/components → components}/Inputs/TextInput.d.ts +0 -0
  340. /package/build/{cjs/types/components → components}/Inputs/TimeInput.d.ts +0 -0
  341. /package/build/{cjs/types/components → components}/Inputs/helpers/AriaButton.d.ts +0 -0
  342. /package/build/{cjs/types/components → components}/Inputs/helpers/DateSegment.d.ts +0 -0
  343. /package/build/{cjs/types/components → components}/Inputs/helpers/Description.d.ts +0 -0
  344. /package/build/{cjs/types/components → components}/Inputs/helpers/ErrorMessage.d.ts +0 -0
  345. /package/build/{cjs/types/components → components}/Inputs/helpers/Input.d.ts +0 -0
  346. /package/build/{cjs/types/components → components}/Inputs/helpers/InputContainerStyles.d.ts +0 -0
  347. /package/build/{cjs/types/components → components}/Inputs/helpers/InputMessage.d.ts +0 -0
  348. /package/build/{cjs/types/components → components}/Inputs/helpers/InputStyles.d.ts +0 -0
  349. /package/build/{cjs/types/components → components}/Inputs/helpers/Label.d.ts +0 -0
  350. /package/build/{cjs/types/components → components}/Inputs/helpers/LabelWrapper.d.ts +0 -0
  351. /package/build/{cjs/types/components → components}/Inputs/helpers/PickerToggle.d.ts +0 -0
  352. /package/build/{cjs/types/components → components}/Inputs/helpers/TextArea.d.ts +0 -0
  353. /package/build/{cjs/types/components → components}/Inputs/helpers/filterPastedText.d.ts +0 -0
  354. /package/build/{cjs/types/components → components}/Inputs/helpers/handlePaste.d.ts +0 -0
  355. /package/build/{cjs/types/components → components}/Inputs/helpers/isAcceptable.d.ts +0 -0
  356. /package/build/{cjs/types/components → components}/Inputs/helpers/useDynamicWidth.d.ts +0 -0
  357. /package/build/{cjs/types/components → components}/Inputs/helpers/useInputFocus.d.ts +0 -0
  358. /package/build/{cjs/types/components → components}/Label.d.ts +0 -0
  359. /package/build/{cjs/types/components → components}/LineChart.d.ts +0 -0
  360. /package/build/{cjs/types/components → components}/ListBoxParts/GridListItem.d.ts +0 -0
  361. /package/build/{cjs/types/components → components}/ListBoxParts/ListBoxItem.d.ts +0 -0
  362. /package/build/{cjs/types/components → components}/ListBoxParts/ListOptions.d.ts +0 -0
  363. /package/build/{cjs/types/components → components}/ListHelpers/GridListHeader.d.ts +0 -0
  364. /package/build/{cjs/types/components → components}/ListHelpers/GridListSection.d.ts +0 -0
  365. /package/build/{cjs/types/components → components}/ListHelpers/ItemHeaderBody.d.ts +0 -0
  366. /package/build/{cjs/types/components → components}/ListHelpers/ListHeader.d.ts +0 -0
  367. /package/build/{cjs/types/components → components}/ListHelpers/ListItemStyles.d.ts +0 -0
  368. /package/build/{cjs/types/components → components}/ListHelpers/ListRootStyles.d.ts +0 -0
  369. /package/build/{cjs/types/components → components}/ListHelpers/ListSection.d.ts +0 -0
  370. /package/build/{cjs/types/components → components}/ListHelpers/ListStyles.d.ts +0 -0
  371. /package/build/{cjs/types/components → components}/Menu.d.ts +0 -0
  372. /package/build/{cjs/types/components → components}/Message.d.ts +0 -0
  373. /package/build/{cjs/types/components → components}/MessageHr.d.ts +0 -0
  374. /package/build/{cjs/types/components → components}/Modal.d.ts +0 -0
  375. /package/build/{cjs/types/components → components}/MotionPopover.d.ts +0 -0
  376. /package/build/{cjs/types/components → components}/MultiSelect/MultiSelect.d.ts +0 -0
  377. /package/build/{cjs/types/components → components}/MultiSelect/SearchDropdown.d.ts +0 -0
  378. /package/build/{cjs/types/components → components}/MultiSelect/index.d.ts +0 -0
  379. /package/build/{cjs/types/components → components}/OptionHelpers/Container.d.ts +0 -0
  380. /package/build/{cjs/types/components → components}/OptionHelpers/Item.d.ts +0 -0
  381. /package/build/{cjs/types/components → components}/OptionHelpers/types.d.ts +0 -0
  382. /package/build/{cjs/types/components → components}/Pagination.d.ts +0 -0
  383. /package/build/{cjs/types/components → components}/PieChart.d.ts +0 -0
  384. /package/build/{cjs/types/components → components}/Popover.d.ts +0 -0
  385. /package/build/{cjs/types/components → components}/PortalScope.d.ts +0 -0
  386. /package/build/{cjs/types/components → components}/Progress/CirclePercent.d.ts +0 -0
  387. /package/build/{cjs/types/components → components}/Progress/Progress.d.ts +0 -0
  388. /package/build/{cjs/types/components → components}/Progress/index.d.ts +0 -0
  389. /package/build/{cjs/types/components → components}/Radio.d.ts +0 -0
  390. /package/build/{cjs/types/components → components}/RangeCalendar.d.ts +0 -0
  391. /package/build/{cjs/types/components → components}/Select.d.ts +0 -0
  392. /package/build/{cjs/types/components → components}/Slider.d.ts +0 -0
  393. /package/build/{cjs/types/components → components}/Spinner.d.ts +0 -0
  394. /package/build/{cjs/types/components → components}/Table/Body.d.ts +0 -0
  395. /package/build/{cjs/types/components → components}/Table/Cell.d.ts +0 -0
  396. /package/build/{cjs/types/components → components}/Table/Check.d.ts +0 -0
  397. /package/build/{cjs/types/components → components}/Table/Column.d.ts +0 -0
  398. /package/build/{cjs/types/components → components}/Table/ColumnSort.d.ts +0 -0
  399. /package/build/{cjs/types/components → components}/Table/Header.d.ts +0 -0
  400. /package/build/{cjs/types/components → components}/Table/Resizer.d.ts +0 -0
  401. /package/build/{cjs/types/components → components}/Table/Row.d.ts +0 -0
  402. /package/build/{cjs/types/components → components}/Table/SortCaret.d.ts +0 -0
  403. /package/build/{cjs/types/components → components}/Table/Table.d.ts +0 -0
  404. /package/build/{cjs/types/components → components}/Table/contentStyles.d.ts +0 -0
  405. /package/build/{cjs/types/components → components}/Table/context.d.ts +0 -0
  406. /package/build/{cjs/types/components → components}/Table/index.d.ts +0 -0
  407. /package/build/{cjs/types/components → components}/Table/types.d.ts +0 -0
  408. /package/build/{cjs/types/components → components}/Tabs.d.ts +0 -0
  409. /package/build/{cjs/types/components → components}/Tag.d.ts +0 -0
  410. /package/build/{cjs/types/components → components}/Toggle.d.ts +0 -0
  411. /package/build/{cjs/types/components → components}/ToggleButton/ToggleButton.d.ts +0 -0
  412. /package/build/{cjs/types/components → components}/ToggleButton/ToggleButtonGroup.d.ts +0 -0
  413. /package/build/{cjs/types/components → components}/ToggleButton/context.d.ts +0 -0
  414. /package/build/{cjs/types/components → components}/ToggleButton/index.d.ts +0 -0
  415. /package/build/{cjs/types/components → components}/Tooltip.d.ts +0 -0
  416. /package/build/{cjs/types/components → components}/TransferList.d.ts +0 -0
  417. /package/build/{cjs/types/components → components}/Tree/Tree.d.ts +0 -0
  418. /package/build/{cjs/types/components → components}/Tree/TreeContext.d.ts +0 -0
  419. /package/build/{cjs/types/components → components}/Tree/TreeItem.d.ts +0 -0
  420. /package/build/{cjs/types/components → components}/Tree/index.d.ts +0 -0
  421. /package/build/{cjs/types/components → components}/UnstyledButton.d.ts +0 -0
  422. /package/build/{cjs/types/components → components}/Waveform.d.ts +0 -0
  423. /package/build/{cjs/types/components → components}/draftUtils.d.ts +0 -0
  424. /package/build/{cjs/types/components → components}/helpers/getIcon.d.ts +0 -0
  425. /package/build/{cjs/types/components → components}/helpers/getPopPosition.d.ts +0 -0
  426. /package/build/{cjs/types/components → components}/helpers/isPropAllowed.d.ts +0 -0
  427. /package/build/{cjs/types/components → components}/helpers/mergePadding.d.ts +0 -0
  428. /package/build/{cjs/types/components → components}/helpers/styledProps.d.ts +0 -0
  429. /package/build/{cjs/types/components → components}/typeDefs/elementTypes.d.ts +0 -0
  430. /package/build/{cjs/types/components → components}/typeDefs/inputTypes.d.ts +0 -0
  431. /package/build/{cjs/types/components → components}/typeDefs/selectionTypes.d.ts +0 -0
  432. /package/build/{cjs/types/components → components}/typeDefs/tagTypes.d.ts +0 -0
  433. /package/build/{cjs/types/components → components}/types.d.ts +0 -0
  434. /package/build/{cjs/types/global-styles → global-styles}/GlobalStorybookStyles.d.ts +0 -0
  435. /package/build/{cjs/types/global-styles → global-styles}/ResetStyles.d.ts +0 -0
  436. /package/build/{cjs/types/global-styles → global-styles}/ScrollbarStyles.d.ts +0 -0
  437. /package/build/{cjs/types/global-styles → global-styles}/ToastStyles.d.ts +0 -0
  438. /package/build/{cjs/types/global-styles → global-styles}/index.d.ts +0 -0
  439. /package/build/{cjs/types/hooks → hooks}/index.d.ts +0 -0
  440. /package/build/{cjs/types/hooks → hooks}/useConfirm.d.ts +0 -0
  441. /package/build/{cjs/types/hooks → hooks}/useControlledOpenState.d.ts +0 -0
  442. /package/build/{cjs/types/hooks → hooks}/useCopy.d.ts +0 -0
  443. /package/build/{cjs/types/hooks → hooks}/useElementObserver.d.ts +0 -0
  444. /package/build/{cjs/types/hooks → hooks}/useEventListener.d.ts +0 -0
  445. /package/build/{cjs/types/hooks → hooks}/useOnClickOutside.d.ts +0 -0
  446. /package/build/{cjs/types/hooks → hooks}/usePrevious.d.ts +0 -0
  447. /package/build/{cjs/types/hooks → hooks}/useSelectAll.d.ts +0 -0
  448. /package/build/{cjs/types/hooks → hooks}/useWindowSize.d.ts +0 -0
  449. /package/build/{cjs/types/theme → theme}/ThemeTypes.d.ts +0 -0
  450. /package/build/{cjs/types/theme → theme}/common/button.d.ts +0 -0
  451. /package/build/{cjs/types/theme → theme}/common/common.d.ts +0 -0
  452. /package/build/{cjs/types/theme → theme}/common/index.d.ts +0 -0
  453. /package/build/{cjs/types/theme → theme}/core/colors.d.ts +0 -0
  454. /package/build/{cjs/types/theme → theme}/core/dark/dark.d.ts +0 -0
  455. /package/build/{cjs/types/theme → theme}/core/dark/darkScale.d.ts +0 -0
  456. /package/build/{cjs/types/theme → theme}/core/light/light.d.ts +0 -0
  457. /package/build/{cjs/types/theme → theme}/core/light/lightScale.d.ts +0 -0
  458. /package/build/{cjs/types/theme → theme}/eighties/colors.d.ts +0 -0
  459. /package/build/{cjs/types/theme → theme}/eighties/dark/dark.d.ts +0 -0
  460. /package/build/{cjs/types/theme → theme}/eighties/dark/darkScale.d.ts +0 -0
  461. /package/build/{cjs/types/theme → theme}/eighties/light/light.d.ts +0 -0
  462. /package/build/{cjs/types/theme → theme}/eighties/light/lightScale.d.ts +0 -0
  463. /package/build/{cjs/types/theme → theme}/index.d.ts +0 -0
  464. /package/build/{cjs/types/utils → utils}/chunk.d.ts +0 -0
  465. /package/build/{cjs/types/utils → utils}/copyToClipboard.d.ts +0 -0
  466. /package/build/{cjs/types/utils → utils}/flattenListOptions.d.ts +0 -0
  467. /package/build/{cjs/types/utils → utils}/formatDate.d.ts +0 -0
  468. /package/build/{cjs/types/utils → utils}/index.d.ts +0 -0
  469. /package/build/{cjs/types/utils → utils}/numberWithCommas.d.ts +0 -0
  470. /package/build/{cjs/types/utils → utils}/range.d.ts +0 -0
@@ -1,29 +0,0 @@
1
- import { type ToggleButtonProps } from 'react-aria-components';
2
- import type { IconName } from '../Icon/Icon';
3
- import type { MarginPadding, Sizes } from '../types';
4
- type Props = {
5
- /** The unique id of the toggle button */
6
- id: string | number;
7
- /** The content of the toggle button */
8
- children: React.ReactNode;
9
- /** Defines the size of the button */
10
- size?: Sizes;
11
- /** Displays a button with secondary colors */
12
- secondary?: boolean;
13
- /** Displays a red button */
14
- negative?: boolean;
15
- /** Displays a green button */
16
- positive?: boolean;
17
- /** Displays a yellow button */
18
- caution?: boolean;
19
- /** Disables the toggle button */
20
- disabled?: boolean;
21
- /** Adds an icon to the left of the button text */
22
- iconLeft?: IconName;
23
- /** Adds an icon to the right of the button text */
24
- iconRight?: IconName;
25
- /** The border radius of the toggle button */
26
- borderRadius?: string | number;
27
- } & Omit<ToggleButtonProps, 'children' | 'id' | 'isDisabled'> & MarginPadding;
28
- declare const ToggleButton: ({ children, disabled, size, positive, negative, caution, secondary, iconLeft, iconRight, borderRadius, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
29
- export default ToggleButton;
@@ -1,22 +0,0 @@
1
- import { type ToggleButtonGroupProps } from 'react-aria-components';
2
- import type { MarginPadding, Sizes, WidthHeight } from '../types';
3
- type Props = {
4
- /** Disables the toggle button group from being selected */
5
- disabled?: boolean;
6
- /** Defines the size of the buttons in the group */
7
- size?: Sizes;
8
- /** Displays buttons with secondary colors */
9
- secondary?: boolean;
10
- /** Displays buttons with red colors */
11
- negative?: boolean;
12
- /** Displays buttons with green colors */
13
- positive?: boolean;
14
- /** Displays buttons with yellow colors */
15
- caution?: boolean;
16
- /** Displays buttons as joined */
17
- joined?: boolean;
18
- /** The gap between the toggle buttons */
19
- gap?: string | number;
20
- } & Omit<ToggleButtonGroupProps, 'isDisabled'> & MarginPadding & WidthHeight;
21
- declare const ToggleButtonGroup: ({ disabled, secondary, negative, positive, caution, joined, gap, size, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
22
- export default ToggleButtonGroup;
@@ -1,8 +0,0 @@
1
- import type { Height, Sizes } from '../types';
2
- export type ToggleButtonType = 'primary' | 'secondary' | 'negative' | 'positive' | 'caution' | 'disabled';
3
- export type ToggleContextType = {
4
- type?: ToggleButtonType;
5
- joined?: boolean;
6
- size: Sizes;
7
- } & Height;
8
- export declare const ToggleContext: import("react").Context<ToggleContextType>;
@@ -1,2 +0,0 @@
1
- export { default as ToggleButton } from './ToggleButton';
2
- export { default as ToggleButtonGroup } from './ToggleButtonGroup';
@@ -1,50 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- import { type TooltipTriggerComponentProps } from 'react-aria-components';
3
- import type { Attributes } from './typeDefs/elementTypes';
4
- import type { Placement, ThemeProp } from './types';
5
- export type TooltipProps = {
6
- children?: ReactNode;
7
- /** The element that will trigger the opening of the Tooltip */
8
- trigger: ReactNode;
9
- /** Props to pass to the trigger's container element */
10
- triggerProps?: Attributes<HTMLSpanElement>;
11
- /** The text content of the Tooltip */
12
- content?: string;
13
- /** The position of the Tooltip body and arrow in relation to the trigger */
14
- position?: Placement;
15
- /** Offset of the Tooltip from the trigger */
16
- offset?: number;
17
- /** zIndex of the Tooltip's portal container */
18
- zIndex?: number;
19
- /** The width of the Tooltip element */
20
- width?: number | string;
21
- /** The maxWidth of the Tooltip element */
22
- maxWidth?: number | string;
23
- /** The textAlignment of the Tooltip text */
24
- textAlign?: 'left' | 'right' | 'center';
25
- /** Controls the open state of the Tooltip */
26
- open?: boolean;
27
- /** Prevents the Tooltip from opening */
28
- disabled?: boolean;
29
- /** The backgroundColor of the Tooltip element */
30
- bgColor?: string;
31
- /** The text color of the Tooltip element */
32
- color?: string;
33
- className?: string;
34
- /** The function called after the Tooltip opens */
35
- afterShow?: () => void;
36
- /** The function called after the Tooltip closes */
37
- afterHide?: () => void;
38
- } & Omit<TooltipTriggerComponentProps, 'children' | 'trigger' | 'isDisabled' | 'isOpen'>;
39
- declare const Tooltip: {
40
- ({ trigger, triggerProps, children, content, position, offset, zIndex, width, maxWidth, textAlign, open, disabled, bgColor, color, className, afterShow, afterHide, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
41
- Header: import("@emotion/styled").StyledComponent<{
42
- theme?: import("@emotion/react").Theme;
43
- as?: React.ElementType;
44
- } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
45
- Body: import("@emotion/styled").StyledComponent<{
46
- theme?: import("@emotion/react").Theme;
47
- as?: React.ElementType;
48
- } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
49
- };
50
- export default Tooltip;
@@ -1,48 +0,0 @@
1
- import { type CSSProperties as CSS, type ReactElement } from 'react';
2
- import type { ColorNames } from '../theme/core/colors';
3
- import type { Margin, Width } from './types';
4
- type Color = ColorNames | CSS['color'];
5
- export type Item = {
6
- /** Unique ID of the item */
7
- id: number | string;
8
- /** The text displayed for the transfer item */
9
- label: string;
10
- /** Used as the data of the item */
11
- value?: unknown;
12
- /** If both `header` and `body` are provided, this text will be styled as the transfer item's header */
13
- header?: string;
14
- /** If both `header` and `body` are provided, this text will be styled as the transfer item's body */
15
- body?: string;
16
- /** Any element to be displayed to the left of the item's label/header/body */
17
- leftElement?: ReactElement;
18
- /** Any element to be displayed to the right of the item's label/header/body */
19
- rightElement?: ReactElement;
20
- /** The left border color of the transfer item */
21
- color?: Color;
22
- /** Used to preselect an item */
23
- selected?: boolean;
24
- [key: string]: unknown;
25
- };
26
- export type Action = 'select' | 'remove';
27
- export type Next = (item?: Item) => void;
28
- type TransferListProps = {
29
- /** Array of objects that will be rendered as individual items in the list */
30
- items: Item[];
31
- /** The function called when an item is selected or removed. It passes the entire list of selected items. */
32
- onChange: (list: Item[]) => void;
33
- /** The function called before an item is selected or removed */
34
- beforeItemChange?: (item: Item, action: Action, next: Next) => void;
35
- /** The header title of the transfer list */
36
- listTitle?: string;
37
- /** The text to display in a readOnly state where there are no selected items */
38
- noItemsMessage?: string;
39
- /** Disables moving items and only displays the list of selected items */
40
- readOnly?: boolean;
41
- /** Hides the select all button */
42
- hideSelectAll?: boolean;
43
- /** Hides the remove all button */
44
- hideRemoveAll?: boolean;
45
- className?: string;
46
- } & Width & Margin;
47
- declare const TransferList: ({ items, onChange, beforeItemChange, listTitle, noItemsMessage, hideSelectAll, hideRemoveAll, readOnly, width, ...rest }: TransferListProps) => import("react/jsx-runtime").JSX.Element;
48
- export default TransferList;
@@ -1,23 +0,0 @@
1
- import { type TreeProps } from 'react-aria-components';
2
- import type { Padding, WidthHeight } from '../types';
3
- type Props = {
4
- /** The background color of the tree */
5
- backgroundColor?: string;
6
- /** The currently selected keys in the collection */
7
- selectedKeys?: Set<React.Key>;
8
- /** Handler that is called when the selection changes */
9
- onSelectionChange?: (keys: Set<React.Key>) => void;
10
- } & WidthHeight & Padding & Omit<TreeProps<object>, 'selectedKeys' | 'onSelectionChange'>;
11
- declare const Tree: {
12
- ({ backgroundColor, expandedKeys: expandedKeysProp, onExpandedChange, defaultExpandedKeys, selectedKeys, onSelectionChange, ...props }: Props): import("react/jsx-runtime").JSX.Element;
13
- Item: ({ children, title, id, iconLeft, iconRight, expandOnSelect, indent, content, ...props }: {
14
- title: string;
15
- children?: import("react").ReactNode;
16
- content?: import("react").ReactNode;
17
- iconLeft?: import("../helpers/getIcon").IconType;
18
- iconRight?: import("../helpers/getIcon").IconType;
19
- expandOnSelect?: boolean;
20
- indent?: number;
21
- } & Omit<import("react-aria-components").TreeItemProps<string>, "children" | "value" | "textValue">) => import("react/jsx-runtime").JSX.Element;
22
- };
23
- export default Tree;
@@ -1,5 +0,0 @@
1
- export type Selection = Set<React.Key> | 'all';
2
- export type TreeContextValue = {
3
- requestExpand?: (keys: React.Key[]) => void;
4
- };
5
- export declare const TreeContext: import("react").Context<TreeContextValue>;
@@ -1,21 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import { type TreeItemProps } from 'react-aria-components';
3
- import { type IconType } from '../helpers/getIcon';
4
- type ItemProps = {
5
- /** The title of the item */
6
- title: string;
7
- /** Other Tree.Item components to create a submenu of the item */
8
- children?: ReactNode;
9
- /** Any content to display on the right side of the item title */
10
- content?: ReactNode;
11
- /** The icon to display on the left of the item */
12
- iconLeft?: IconType;
13
- /** The icon to display on the right of the item */
14
- iconRight?: IconType;
15
- /** Whether to automatically expand the item when it is selected */
16
- expandOnSelect?: boolean;
17
- /** The indentation level of the item (default: 1 === 16px) */
18
- indent?: number;
19
- } & Omit<TreeItemProps<string>, 'textValue' | 'value' | 'children'>;
20
- declare const Item: ({ children, title, id, iconLeft, iconRight, expandOnSelect, indent, content, ...props }: ItemProps) => import("react/jsx-runtime").JSX.Element;
21
- export default Item;
@@ -1 +0,0 @@
1
- export { default } from './Tree';
@@ -1,3 +0,0 @@
1
- import { type ButtonProps } from 'react-aria-components';
2
- declare const UnstyledButton: ({ children, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
- export default UnstyledButton;
@@ -1,25 +0,0 @@
1
- import { type SliderProps as AriaSliderProps } from 'react-aria-components';
2
- import type { Margin, WidthHeight } from './types';
3
- type Waveform2Props = {
4
- /** Audio source URL for generating waveform peaks */
5
- src: string;
6
- /** Show label with title */
7
- label?: string;
8
- /** Show current value output */
9
- showOutput?: boolean;
10
- /** Show hover tooltip with timestamp */
11
- showHoverTime?: boolean;
12
- /** Color for the unplayed portion of the waveform */
13
- unplayedColor?: string;
14
- /** Color for the played portion of the waveform */
15
- playedColor?: string;
16
- /** Number of bars to render in the waveform */
17
- barCount?: number;
18
- /** Multiplier for the height of the waveform */
19
- heightMultiplier?: number;
20
- /** Format function for the output value */
21
- formatOptions?: Intl.NumberFormatOptions;
22
- className?: string;
23
- } & Omit<AriaSliderProps, 'children' | 'className'> & WidthHeight & Margin;
24
- declare const Waveform2: ({ src, label, showOutput, showHoverTime, unplayedColor, playedColor, barCount, heightMultiplier, width, height, formatOptions, ...sliderProps }: Waveform2Props) => import("react/jsx-runtime").JSX.Element;
25
- export default Waveform2;
@@ -1,49 +0,0 @@
1
- import { CompositeDecorator, type ContentState, EditorState, type RawDraftContentState, type RawDraftEntity } from 'draft-js';
2
- import type { MergeField } from './types';
3
- export declare const decorator: CompositeDecorator;
4
- export declare const decode: (data: RawDraftContentState) => string;
5
- export declare const encode: (text: string, fields: MergeField[], displayValue: boolean) => ContentState;
6
- /**
7
- * Returns a new EditorState using the content passed in.
8
- * @param {string} value - The string of text to go in the editor
9
- * @param {array} fields - Array of field objects
10
- * @param {boolean} displayValue - Flag to display the merge fields value or label
11
- */
12
- export declare const createStateWithContent: (value: string, fields: MergeField[], displayValue: boolean) => EditorState;
13
- /**
14
- * Returns the raw form of the Editor content.
15
- * @param {EditorState} state - The current state of the editor
16
- * @param {boolean} decoded - Whether or not the state is to be decoded into plain text
17
- */
18
- export declare const getRawState: (state: EditorState, decoded?: boolean) => string | RawDraftContentState;
19
- /**
20
- * Returns an array of entities contained in the EditorState.
21
- * @param {EditorState} state - The current state of the editor
22
- */
23
- export declare const getEntities: (state: EditorState) => RawDraftEntity<{
24
- [key: string]: any;
25
- }>[];
26
- /**
27
- * Checks if the editor contains any merged but unknown fields. Returns a true or false
28
- * @param {EditorState} state - The current state of the editor
29
- */
30
- export declare const hasMissingEntities: (state: EditorState) => boolean;
31
- /**
32
- * Returns a new EditorState with a merge field inserted at the cursor, then places the cursor at the end of the newly inserted text.
33
- * @param {object} field - The merge field object to be inserted
34
- * @param {array} fields - Array of field objects
35
- * @param {EditorState} state - The current state of the editor
36
- * @param {boolean} displayValue - Flag to display the merge fields value or label
37
- */
38
- export declare const insertFieldEntity: (field: MergeField, fields: MergeField[], state: EditorState, displayValue: boolean) => EditorState;
39
- /**
40
- * Returns a new EditorState with the cursor focused at the end of the text.
41
- * @param {EditorState} state - The current state of the editor
42
- */
43
- export declare const getFocusStateAtEnd: (state: EditorState) => EditorState;
44
- /**
45
- * Returns a new EditorState with the pasted content merged in with the current state.
46
- * @param {string} text - The text string being pasted
47
- * @param {EditorState} state - The current state of the editor
48
- */
49
- export declare const getPastedState: (text: string, state: EditorState) => EditorState;
@@ -1,8 +0,0 @@
1
- import { type ReactElement } from 'react';
2
- import type { IconName } from '../Icon/Icon';
3
- import { type IconProps } from '../Icon/Icon';
4
- import type { TooltipProps } from '../Tooltip';
5
- export type IconType = IconName | IconProps | ReactElement<IconProps> | ReactElement<TooltipProps>;
6
- type ReducedIconProps = Omit<IconProps, 'name' | 'svg' | 'external'>;
7
- declare const getIcon: (icon: IconType, props?: ReducedIconProps) => ReactElement<IconProps | TooltipProps>;
8
- export default getIcon;
@@ -1,6 +0,0 @@
1
- import type { ArrowAlign, PopPosition, PopSide } from '../types';
2
- declare const getPopPosition: (pos?: PopPosition) => {
3
- side: PopSide;
4
- align: ArrowAlign;
5
- };
6
- export default getPopPosition;
@@ -1,2 +0,0 @@
1
- declare const isPropAllowed: (prop: string, propArray: string[]) => boolean;
2
- export default isPropAllowed;
@@ -1,8 +0,0 @@
1
- import type { Padding } from '../types';
2
- declare const mergePadding: (paddingObj: Padding) => {
3
- top: number;
4
- right: number;
5
- bottom: number;
6
- left: number;
7
- };
8
- export default mergePadding;
@@ -1,8 +0,0 @@
1
- import type { CSSObject } from '@emotion/react';
2
- import type { Margin, MaxWidthHeight, MinWidthHeight, Padding, Position, WidthHeight } from '../types';
3
- export declare const widthHeightProps: ({ width, height }: WidthHeight) => CSSObject;
4
- export declare const maxWidthHeightProps: ({ maxWidth, maxHeight }: MaxWidthHeight) => CSSObject;
5
- export declare const minWidthHeightProps: ({ minWidth, minHeight }: MinWidthHeight) => CSSObject;
6
- export declare const paddingProps: ({ padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: Padding) => CSSObject;
7
- export declare const marginProps: ({ margin, marginTop, marginBottom, marginRight, marginLeft }: Margin) => CSSObject;
8
- export declare const positionProps: ({ position, top, bottom, right, left }: Position) => CSSObject;
@@ -1,2 +0,0 @@
1
- import type { HTMLProps } from 'react';
2
- export type Attributes<T> = Omit<HTMLProps<T>, 'onChange' | 'as'>;
@@ -1,67 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { ValidationResult } from 'react-aria-components';
3
- import type { IconType } from '../helpers/getIcon';
4
- import type { Height, MarginPadding, MinHeight, Width } from '../types';
5
- export type InputContainerStyleProps = {
6
- /** Sets the input backgroundColor */
7
- backgroundColor?: string;
8
- /** Sets the input borderRadius */
9
- borderRadius?: number | string;
10
- /** Sets the input borderColor */
11
- borderColor?: string;
12
- /** Removes the background and padding from the input */
13
- textOnly?: boolean;
14
- } & Width & Height & MinHeight & MarginPadding;
15
- export type InputElementStyleProps = {
16
- /** Sets the input fontSize */
17
- fontSize?: number | string;
18
- /** Sets the fontWeight */
19
- fontWeight?: number | string;
20
- /** The color of the input text */
21
- color?: string;
22
- /** Sets the color of the input placeholder */
23
- placeholderColor?: string;
24
- /** Sets the disabled styles of the input */
25
- isDisabled?: boolean;
26
- } & Width;
27
- export type InputBaseProps = {
28
- /** Adds a label to the input */
29
- label?: string;
30
- /** Sets the placeholder text */
31
- placeholder?: string;
32
- /** Places a description message below the input */
33
- description?: string;
34
- /** Places an error message below the input if invalid */
35
- errorMessage?: string | ((validation: ValidationResult) => string);
36
- /** Adds a loading spinner to the input */
37
- loading?: boolean;
38
- /** Disables the input */
39
- disabled?: boolean;
40
- /** Prevents the input from being edited */
41
- readOnly?: boolean;
42
- /** Sets the invalid styles of the input */
43
- invalid?: boolean;
44
- /** Requires the input to filled */
45
- required?: boolean;
46
- ref?: React.Ref<HTMLInputElement>;
47
- } & InputContainerStyleProps & Omit<InputElementStyleProps, 'isDisabled'>;
48
- export type TextInputProps = {
49
- /** A regex string, similar to `pattern`, but prevents input outside the pattern */
50
- accepts?: string;
51
- };
52
- export type TextAreaProps = TextInputProps & {
53
- /** Maximum height of the textarea. Content will scroll after this height is reached */
54
- maxHeight?: number | string;
55
- /** Reference to the textarea element */
56
- ref?: React.Ref<HTMLTextAreaElement>;
57
- };
58
- export type InputProps = {
59
- /** The name of the icon that should appear on the left side of the input */
60
- iconLeft?: IconType;
61
- /** The name of the icon that should appear on the right side of the input */
62
- iconRight?: IconType;
63
- /** The element to display on the left side of the input */
64
- leftElement?: ReactNode;
65
- /** The element to display on the right side of the input */
66
- rightElement?: ReactNode;
67
- } & InputBaseProps;
@@ -1,83 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- import type { Key, PopoverProps } from 'react-aria-components';
3
- import type { Placement, WithRequired } from '../types';
4
- import type { InputProps } from './inputTypes';
5
- export type ShowHideCallbacks = {
6
- /** The function to be called when the menu is opened */
7
- afterShow?: () => void;
8
- /** The function to be called when the menu is closed */
9
- afterHide?: () => void;
10
- };
11
- export type OpenStateProps = {
12
- /** Controls whether the menu is open */
13
- open?: boolean;
14
- /** Called when the open state changes */
15
- onOpenChange?: (isOpen: boolean) => void;
16
- };
17
- export type ListItem = {
18
- /** The id of the option that will be returned on selection */
19
- id?: string;
20
- /** The value displayed within the input after selection */
21
- value: string;
22
- /** The header text displayed above the body text */
23
- header?: string;
24
- /** The body text displayed below the header text */
25
- body?: string;
26
- /** An element to be displayed on the left side of the item */
27
- leftElement?: ReactElement;
28
- /** An element to be displayed on the right side of the item */
29
- rightElement?: ReactElement;
30
- /** Displays the header & body inline rather than column */
31
- inline?: boolean;
32
- /** Disables the Item from being clicked */
33
- disabled?: boolean;
34
- /** The function to be called when the item is clicked */
35
- onClick?: () => void;
36
- };
37
- export type ListSection<T = ListItem> = {
38
- id: string;
39
- title?: string;
40
- options: T[];
41
- };
42
- export type ListOption<T = ListItem> = T | ListSection<T>;
43
- export type SelectItem = Omit<ListItem, 'onClick'>;
44
- export type MultiSelectItem = WithRequired<SelectItem, 'id'>;
45
- export type MultiSelectOption = ListOption<MultiSelectItem>;
46
- export type SelectInputProps = {
47
- /** The option Items to be displayed in the menu */
48
- children?: ReactNode;
49
- /** The options to be displayed in the menu */
50
- options?: ListOption<SelectItem>[];
51
- /** The controlled value of the input */
52
- value?: Key;
53
- /** The uncontrolled initial value of the input */
54
- defaultValue?: Key;
55
- /** Allow the selected option to be re-selected */
56
- allowRepeatSelection?: boolean;
57
- /** Hides the caret icon toggle */
58
- hideCaret?: boolean;
59
- /** The position of the menu body in relation to the trigger */
60
- position?: Placement;
61
- /** Prevents dynamic opening position of the menu */
62
- fixedPosition?: boolean;
63
- /** The background color of the menu */
64
- menuBackground?: string;
65
- /** The element to display before the menu options */
66
- before?: ReactNode;
67
- /** The element to display after the menu options */
68
- after?: ReactNode;
69
- /** The function to be called when an option is selected */
70
- onChange?: (key: string) => void;
71
- } & Omit<InputProps, 'iconRight'> & ShowHideCallbacks & Pick<PopoverProps, 'maxHeight'>;
72
- export type CalendarBaseProps = {
73
- /** Prevents selection of dates in the past (relative to the set date or current date). */
74
- preventPast?: boolean | Date;
75
- /** Prevents selection of dates in the future (relative to the set date or current date). */
76
- preventFuture?: boolean | Date;
77
- /** Removes the Calendar's boxShadow */
78
- noShadow?: boolean;
79
- };
80
- export type DateInputProps = {
81
- /** Hides the calendar picker icon */
82
- hidePicker?: boolean;
83
- } & ShowHideCallbacks & Omit<CalendarBaseProps, 'noShadow'> & Omit<InputProps, 'placeholder'>;
@@ -1,17 +0,0 @@
1
- import type { IconType } from '../helpers/getIcon';
2
- import type { Placement } from '../types';
3
- export type TagItem = {
4
- id: string;
5
- value: string;
6
- disabled?: boolean;
7
- invalid?: boolean;
8
- removable?: boolean;
9
- /** The name of the icon that should appear on the left side of the input */
10
- iconLeft?: IconType;
11
- /** The name of the icon that should appear on the right side of the input */
12
- iconRight?: IconType;
13
- tooltip?: {
14
- content: string;
15
- position?: Placement;
16
- };
17
- };