@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,21 +0,0 @@
1
- import { type ReactElement } from 'react';
2
- import type { TooltipProps } from '../Tooltip';
3
- import type { Attributes } from '../typeDefs/elementTypes';
4
- import type { Margin, Sizes, Width } from '../types';
5
- import type { BasicButtonProps, ButtonComponentProps, ButtonStyles } from './ButtonTypes';
6
- type ButtonChild = ReactElement<ButtonComponentProps | BasicButtonProps>;
7
- type TooltipChild = ReactElement<TooltipProps>;
8
- type GroupChild = ButtonChild | TooltipChild;
9
- type ElAttributes = Omit<Attributes<HTMLDivElement>, 'children'>;
10
- type GroupProps = {
11
- children: GroupChild | GroupChild[];
12
- disabled?: boolean;
13
- size?: Sizes;
14
- tiny?: boolean;
15
- small?: boolean;
16
- large?: boolean;
17
- outline?: boolean;
18
- collapse?: boolean;
19
- } & ButtonStyles & Margin & Width & ElAttributes;
20
- declare const Group: ({ children, disabled, outline, size, tiny, small, large, secondary, negative, positive, caution, collapse, ...props }: GroupProps) => import("react/jsx-runtime").JSX.Element | null;
21
- export default Group;
@@ -1 +0,0 @@
1
- export { default } from './Button';
@@ -1,11 +0,0 @@
1
- import { CalendarDate } from '@internationalized/date';
2
- import { type CalendarProps } from 'react-aria-components';
3
- import type { CalendarBaseProps } from './typeDefs/selectionTypes';
4
- type Props = {
5
- /** Optional date the initial selected calendar day should be set to. */
6
- date?: Date;
7
- /** The function to be called when a date is selected */
8
- onChange: (date: Date) => void;
9
- } & CalendarBaseProps & Omit<CalendarProps<CalendarDate>, 'onChange'>;
10
- declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
11
- export default Calendar;
@@ -1,7 +0,0 @@
1
- import type { CSSObject } from '@emotion/styled';
2
- import type { ThemeProp } from '../types';
3
- export type CalendarContainerProps = {
4
- noShadow?: boolean;
5
- } & ThemeProp;
6
- declare const calendarContainerStyles: (({ theme, noShadow }: CalendarContainerProps & Required<ThemeProp>) => CSSObject)[];
7
- export default calendarContainerStyles;
@@ -1,7 +0,0 @@
1
- import { type CalendarDate } from '@internationalized/date';
2
- type Props = {
3
- range?: boolean;
4
- initialDate?: CalendarDate;
5
- };
6
- declare const CalendarContent: ({ range, initialDate }: Props) => import("react/jsx-runtime").JSX.Element;
7
- export default CalendarContent;
@@ -1,7 +0,0 @@
1
- import { CalendarDate } from '@internationalized/date';
2
- type Props = {
3
- date: CalendarDate | null;
4
- setDate: (date: CalendarDate) => void;
5
- };
6
- declare const CalendarHeader: ({ date, setDate }: Props) => import("react/jsx-runtime").JSX.Element;
7
- export default CalendarHeader;
@@ -1,10 +0,0 @@
1
- type PastFuture = boolean | Date;
2
- type Params = {
3
- past?: PastFuture;
4
- future?: PastFuture;
5
- };
6
- declare const useMinMax: ({ past, future }: Params) => {
7
- min: import("@internationalized/date").CalendarDate | undefined;
8
- max: import("@internationalized/date").CalendarDate | undefined;
9
- };
10
- export default useMinMax;
@@ -1,4 +0,0 @@
1
- import type { DateValue } from 'react-aria-components';
2
- export declare const getNow: () => import("@internationalized/date").CalendarDate;
3
- export declare const getDateFromObj: (val: DateValue) => Date;
4
- export declare const getObjFromDate: (val: Date) => import("@internationalized/date").CalendarDate;
@@ -1,30 +0,0 @@
1
- import { type CheckboxProps } from 'react-aria-components';
2
- import type { Margin, ThemeProp } from './types';
3
- type Props = {
4
- /** Id of the input element */
5
- id?: string;
6
- /** Places a label element beside the checkbox. The value will set the text of the label */
7
- label?: string;
8
- /** Sets the label on the left or right of the checkbox */
9
- labelPosition?: 'left' | 'right';
10
- /** Disables the checkbox */
11
- disabled?: boolean;
12
- /** Prevents the checkbox from being changed */
13
- readOnly?: boolean;
14
- /** Controls the checked property of the checkbox */
15
- checked?: boolean;
16
- /** Sets the checkbox to an indeterminate state */
17
- partial?: boolean;
18
- /** Sets the gap between the label and the checkbox */
19
- gap?: number;
20
- /** The function called with the checkbox value after the checkbox is changed */
21
- onChange?: (val: boolean) => void;
22
- } & Margin & Omit<CheckboxProps, 'value' | 'isDisabled' | 'isReadOnly' | 'isSelected'>;
23
- declare const Checkbox: ({ label, labelPosition, checked, partial, disabled, readOnly, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
24
- export declare const ControlContainer: import("@emotion/styled").StyledComponent<CheckboxProps & import("react").RefAttributes<HTMLLabelElement> & {
25
- theme?: import("@emotion/react").Theme;
26
- } & {
27
- labelRight?: boolean;
28
- gap?: number;
29
- } & Margin & ThemeProp, {}, {}>;
30
- export default Checkbox;
@@ -1,26 +0,0 @@
1
- import type { Margin } from '../types';
2
- type RestLanguage = 'rest-get' | 'rest-post' | 'rest-put' | 'rest-delete' | 'rest-options';
3
- type BaseLanguages = 'jsx' | 'tsx' | 'swift' | 'kotlin' | 'objectivec' | 'js-extras' | 'reason' | 'rust' | 'graphql' | 'yaml' | 'go' | 'cpp' | 'markdown';
4
- type WithChildren = {
5
- /** The string to be rendered in the code snippet */
6
- children: string;
7
- /** The alternative to passing the code snippet in as a child */
8
- code?: never;
9
- };
10
- type WithCode = {
11
- code: string;
12
- children?: never;
13
- };
14
- type Children = WithChildren | WithCode;
15
- type CodeProps = {
16
- /** The metadata string passed in by MDX */
17
- className?: string;
18
- /** The syntax language to be used for the code snippet */
19
- lang?: BaseLanguages | RestLanguage | string;
20
- /** The line numbers in the code snippet that should be highlighted */
21
- lineHighlights?: string;
22
- /** Hides the line numbers in the code snippet */
23
- noNumbers?: boolean;
24
- } & Children & Margin;
25
- declare const Code: ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
26
- export default Code;
@@ -1,4 +0,0 @@
1
- declare const Copy: ({ content }: {
2
- content: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- export default Copy;
@@ -1,5 +0,0 @@
1
- declare const Endpoint: ({ method, url }: {
2
- method: string;
3
- url: string;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default Endpoint;
@@ -1,2 +0,0 @@
1
- import Code from './Code';
2
- export default Code;
@@ -1,20 +0,0 @@
1
- import { type ComboBoxProps } from 'react-aria-components';
2
- import type { OpenStateProps, SelectInputProps } from './typeDefs/selectionTypes';
3
- type Props = {
4
- /** Use when loading options asynchronously with onTextChange */
5
- loadingResults?: boolean;
6
- /** The function to be called when the search input is updated */
7
- onTextChange?: (text: string) => void;
8
- /** The function to be called when the input text does not match any options */
9
- onCreate?: (text: string) => void;
10
- ref?: React.Ref<HTMLInputElement>;
11
- } & SelectInputProps & OpenStateProps & Omit<ComboBoxProps<object>, 'children' | 'onSelectionChange' | 'isOpen' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'defaultSelectedKey'>;
12
- declare const _default: (({ backgroundColor, menuBackground, children, fontSize, disabled, invalid, required, readOnly, loading, loadingResults, label, options, placeholder, placeholderColor, description, errorMessage, textOnly, value, defaultValue, width, height, maxHeight, iconLeft, leftElement, rightElement, allowRepeatSelection, allowsEmptyCollection, position, fixedPosition, open, onOpenChange, before, after, onChange, onCreate, afterShow, afterHide, onTextChange, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element) & {
13
- Item: ({ id, value, header, body, leftElement, rightElement, inline, disabled, ...props }: import("..").SelectItem & Omit<import("react-aria-components").ListBoxItemProps<object>, "id" | "value" | "isDisabled">) => import("react/jsx-runtime").JSX.Element;
14
- Section: ({ id, title, children }: {
15
- id?: string;
16
- title?: string;
17
- children: import("react").ReactNode;
18
- }) => import("react/jsx-runtime").JSX.Element;
19
- };
20
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { ListItem } from '../typeDefs/selectionTypes';
2
- type Props = ListItem;
3
- declare const CommandItem: ({ id, value, header, body, leftElement, rightElement, inline, disabled, onClick, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
4
- export default CommandItem;
@@ -1,42 +0,0 @@
1
- import { type RefObject } from 'react';
2
- import { type DialogProps } from 'react-aria-components';
3
- import type { ListOption } from '../typeDefs/selectionTypes';
4
- import type { InputElementStyleProps, InputProps as InputElProps, MaxWidthHeight, Placement, WidthHeight } from '../types';
5
- type InputProps = Pick<InputElementStyleProps, 'fontSize' | 'placeholderColor'> & Pick<InputElProps, 'placeholder'>;
6
- type ModalProps = {
7
- /** Adjust or disable the blur effect of the modal overlay */
8
- overlayBlur?: boolean | number;
9
- /** Sets the color of the modal overlay */
10
- overlayColor?: string;
11
- /** zIndex of the modal */
12
- zIndex?: number;
13
- };
14
- type IsTrigger = {
15
- /** The element that will trigger the opening of the menu */
16
- triggerRef: RefObject<Element>;
17
- /** The position of the menu body and arrow in relation to the trigger */
18
- position?: Placement;
19
- /** Offset of the menu from the trigger */
20
- offset?: number;
21
- modalProps?: never;
22
- };
23
- type IsModal = {
24
- /** Modal style props */
25
- modalProps?: ModalProps;
26
- triggerRef?: never;
27
- position?: never;
28
- offset?: never;
29
- };
30
- type OpenMethod = IsTrigger | IsModal;
31
- type Props<T> = {
32
- options: T[];
33
- /** Controls whether or not the Modal is open */
34
- open: boolean;
35
- /** The function called when the Modal is closed */
36
- setOpen: (open: boolean) => void;
37
- /** The function called when an item is selected */
38
- onChange: (item: T) => void;
39
- inputProps?: InputProps;
40
- } & OpenMethod & MaxWidthHeight & WidthHeight & Pick<DialogProps, 'aria-label'>;
41
- declare const CommandMenu: <T extends ListOption>({ options, inputProps, modalProps, triggerRef, position, offset, open, onChange, setOpen, ...props }: Props<T>) => import("react/jsx-runtime").JSX.Element;
42
- export default CommandMenu;
@@ -1,8 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { ListOption } from '../typeDefs/selectionTypes';
3
- type Props<T> = {
4
- options: T[];
5
- onItemSelect: (item: T) => void;
6
- };
7
- declare const CommandOptions: <T extends ListOption>({ options, onItemSelect }: Props<T>) => ReactNode;
8
- export default CommandOptions;
@@ -1,8 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- type SecProps = {
3
- id?: string;
4
- title?: string;
5
- children: ReactNode;
6
- };
7
- declare const CommandSection: ({ id, title, children }: SecProps) => import("react/jsx-runtime").JSX.Element;
8
- export default CommandSection;
@@ -1 +0,0 @@
1
- export { default } from './CommandMenu';
@@ -1,19 +0,0 @@
1
- import { type ButtonProps } from 'react-aria-components';
2
- import type { CalendarBaseProps, OpenStateProps, SelectInputProps } from './typeDefs/selectionTypes';
3
- type RangeId = 'today' | 'yesterday' | 'thisWeek' | 'lastWeek' | 'lastMonth' | 'last3Months' | 'last6Months' | 'lastYear' | 'custom';
4
- type Props = {
5
- /** The current date range value */
6
- value?: {
7
- start: Date;
8
- end: Date;
9
- };
10
- /** Callback when the date range changes */
11
- onChange: (range: {
12
- start: Date;
13
- end: Date;
14
- }) => void;
15
- /** Option(s) to hide from the date range selector */
16
- hide?: RangeId | RangeId[];
17
- } & Omit<SelectInputProps, 'options' | 'onChange' | 'value'> & OpenStateProps & Omit<ButtonProps, 'ref' | 'isDisabled' | 'value'> & Omit<CalendarBaseProps, 'noShadow'>;
18
- declare const DateRangeSelect: ({ children, open, label, placeholder, width, loading, hideCaret, color, disabled, readOnly, placeholderColor, fontSize, fontWeight, description, errorMessage, position, backgroundColor, iconLeft, value, preventPast, preventFuture, hide, onChange, onOpenChange, afterShow, afterHide, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
19
- export default DateRangeSelect;
@@ -1,6 +0,0 @@
1
- import type { ThemeProp } from './types';
2
- declare const Table: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- } & ThemeProp, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
6
- export default Table;
@@ -1,18 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { Attributes } from './typeDefs/elementTypes';
3
- import type { Margin, Position, Sizes } from './types';
4
- type ElAttributes = Omit<Attributes<HTMLDivElement>, 'size'>;
5
- export type DotType = 'error' | 'success' | 'warning' | 'alert';
6
- type Props = {
7
- children?: ReactNode;
8
- /** Sets the color of the Dot */
9
- type?: DotType;
10
- /** The color of the dot */
11
- color?: string;
12
- /** The color of the text inside the dot */
13
- textColor?: string;
14
- /** The width/height of the dot */
15
- size?: Sizes | number;
16
- } & Margin & Position & ElAttributes;
17
- declare const Dot: ({ children, type, color, size, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
18
- export default Dot;
@@ -1,57 +0,0 @@
1
- import { type EditorChangeType } from 'draft-js';
2
- import { type CSSProperties as CSS, type KeyboardEvent } from 'react';
3
- import type { DraftEditorRef, InputFocusEvent, Margin, MergeField } from './types';
4
- type DraftEditorProps = {
5
- /** Controlled text value of the editor */
6
- value: string;
7
- /** Function called after editor change with the text value and boolean indicating missing merge fields */
8
- onChange?: (text: string, hasMissing: boolean, reason: EditorChangeType | null) => void;
9
- /** Function called after the enter key is pressed */
10
- onEnterKey?: (e: KeyboardEvent) => void;
11
- /** Callback run after onFocus event */
12
- onFocus?: (event?: InputFocusEvent) => void;
13
- /** Callback run after onBlur event */
14
- onBlur?: (event?: InputFocusEvent) => void;
15
- /** Array of MergeFields ({ id: string, label: string, value?: string }) for the editor to use/parse */
16
- mergeFields?: MergeField[];
17
- /** Placeholder text of editor when value is empty */
18
- placeholder?: string;
19
- /** Places a description message below the editor */
20
- description?: string;
21
- /** Sets the Editor's bottom border and description text to red */
22
- invalid?: boolean;
23
- /** Width of the editor */
24
- width?: number | string;
25
- /** Height of the editor */
26
- height?: number;
27
- /** Max Height of the editor. Editor contents will scroll after this height is reached */
28
- maxHeight?: number;
29
- /** Removes the padding from the editor */
30
- noPadding?: boolean;
31
- /** Disables any editing capability of the editor */
32
- readOnly?: boolean;
33
- /** Displays the value of the merge field rather than the label */
34
- displayMergedValues?: boolean;
35
- /** Sets the text color of the editor */
36
- color?: string;
37
- /** Sets the overflow css value of the editor */
38
- overflow?: CSS['overflow'];
39
- /** Truncates the editor text to the number of lines specified and adds an ellipsis textOverflow */
40
- clampLines?: number;
41
- /** Places a label element above the input. The value will set the text of the label */
42
- label?: string;
43
- /** Disables the input */
44
- disabled?: boolean;
45
- /** Sets the input borderRadius */
46
- borderRadius?: number | string;
47
- /** Sets the input backgroundColor */
48
- backgroundColor?: string;
49
- /** Sets the editor fontSize */
50
- fontSize?: number | string;
51
- /** Removes the border, padding, and backgroundColor from the DraftEditor */
52
- textOnly?: boolean;
53
- ref?: React.Ref<DraftEditorRef>;
54
- className?: string;
55
- } & Margin;
56
- declare const DraftEditor: ({ value, onChange, onEnterKey, onFocus, onBlur, mergeFields, placeholder, description, invalid, width, height, maxHeight, noPadding, readOnly, displayMergedValues, color, overflow, clampLines, label, disabled, borderRadius, backgroundColor, fontSize, textOnly, margin, marginLeft, marginRight, marginTop, marginBottom, ref, className, ...rest }: DraftEditorProps) => import("react/jsx-runtime").JSX.Element;
57
- export default DraftEditor;
@@ -1,12 +0,0 @@
1
- import { type ButtonProps } from 'react-aria-components';
2
- import type { ListOption, OpenStateProps, SelectInputProps, SelectItem } from './typeDefs/selectionTypes';
3
- type Props = {
4
- /** The options to be displayed in the dropdown */
5
- options?: ListOption[];
6
- } & Omit<SelectInputProps, 'options' | 'textOnly'> & OpenStateProps & Omit<ButtonProps, 'ref' | 'isDisabled'>;
7
- declare const _default: (({ children, before, after, open, label, placeholder, options, width, height, value, defaultValue, loading, hideCaret, color, disabled, readOnly, placeholderColor, fontSize, fontWeight, description, errorMessage, position, backgroundColor, menuBackground, iconLeft, leftElement, rightElement, onChange, onOpenChange, afterShow, afterHide, ...props }: Props) => import("react/jsx-runtime").JSX.Element) & {
8
- Item: ({ children, id, value, header, body, leftElement, rightElement, inline, disabled, ...props }: {
9
- children?: import("react").ReactNode;
10
- } & Partial<SelectItem> & Omit<import("react-aria-components").GridListItemProps<object>, "id" | "value" | "isDisabled">) => import("react/jsx-runtime").JSX.Element;
11
- };
12
- export default _default;
@@ -1,66 +0,0 @@
1
- import { type ReactElement, type ReactNode } from 'react';
2
- import { type MenuProps as AriaMenuProps, type ButtonProps } from 'react-aria-components';
3
- import type { ListOption, OpenStateProps, SelectInputProps } from './typeDefs/selectionTypes';
4
- import type { ThemeProp } from './types';
5
- type SelectProps = Pick<SelectInputProps, 'children' | 'afterShow' | 'afterHide' | 'position' | 'fixedPosition' | 'before' | 'after' | 'menuBackground'>;
6
- type MenuProps = Omit<AriaMenuProps<ListOption>, 'selectionMode' | 'selectedKeys' | 'onSelectionChange'>;
7
- type NoSelection = {
8
- selectionMode?: never;
9
- selectedKeys?: never;
10
- onSelectionChange?: never;
11
- };
12
- type SingleSelection = {
13
- /** The selection mode for the menu */
14
- selectionMode: 'single';
15
- /** The key(s) of the selected menu item(s) */
16
- selectedKeys?: string;
17
- /** Callback for when the selection changes */
18
- onSelectionChange?: (item: string) => void;
19
- };
20
- type MultiSelection = {
21
- selectionMode: 'multiple';
22
- selectedKeys?: 'all' | string[];
23
- onSelectionChange?: (items: 'all' | string[]) => void;
24
- };
25
- type SelectionProps = NoSelection | SingleSelection | MultiSelection;
26
- type DropdownMenuProps = {
27
- /** The options to be displayed in the menu */
28
- options?: ListOption[];
29
- /** The element that will trigger the opening of the menu */
30
- trigger: ReactElement;
31
- /** Use if trigger is a Button (aids in adhering to validateDOMNesting) */
32
- isTriggerButton?: boolean;
33
- /** Props to pass to the trigger's container (unless isTriggerButton is true) */
34
- triggerProps?: ButtonProps;
35
- /** Offset of the menu from the trigger */
36
- offset?: number;
37
- /** Opens the menu on right-click instead of left-click */
38
- triggerOnContextMenu?: boolean;
39
- } & SelectProps & MenuProps & SelectionProps & OpenStateProps;
40
- declare const DropdownMenu: {
41
- ({ children, position, fixedPosition, trigger, isTriggerButton, triggerProps, triggerOnContextMenu, menuBackground, options, offset, selectionMode, selectedKeys, before, after, open, afterShow, afterHide, onSelectionChange, onOpenChange, ...props }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
42
- Item: {
43
- ({ id, value, children, header, body, leftElement, rightElement, inline, disabled, checkbox, onClick, ...props }: import("./DropdownMenuParts/MenuItem").Props): import("react/jsx-runtime").JSX.Element;
44
- displayName: string;
45
- };
46
- Sub: {
47
- ({ children, label, disabled }: SubProps): import("react/jsx-runtime").JSX.Element;
48
- displayName: string;
49
- };
50
- Section: ({ id, title, children }: {
51
- id?: string;
52
- title?: string;
53
- children: ReactNode;
54
- }) => import("react/jsx-runtime").JSX.Element;
55
- Separator: import("@emotion/styled").StyledComponent<import("react-aria-components").SeparatorProps & import("react").RefAttributes<object> & {
56
- theme?: import("@emotion/react").Theme;
57
- } & ThemeProp, {}, {}>;
58
- };
59
- type SubProps = {
60
- children?: ReactNode;
61
- /** The text or element to display as the sub menu item's trigger */
62
- label: string;
63
- /** Prevents the Sub menu from being triggered */
64
- disabled?: boolean;
65
- };
66
- export default DropdownMenu;
@@ -1,9 +0,0 @@
1
- declare const Menu: import("@emotion/styled").StyledComponent<import("react-aria-components").MenuProps<object> & import("react").RefAttributes<HTMLDivElement> & {
2
- theme?: import("@emotion/react").Theme;
3
- } & {
4
- zIndex?: number;
5
- autoWidth?: boolean;
6
- readOnly?: boolean;
7
- background?: string;
8
- } & import("../types").Width & import("../types").ThemeProp, {}, {}>;
9
- export default Menu;
@@ -1,14 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import { type MenuItemProps } from 'react-aria-components';
3
- import { type ListItemStyleProps } from '../ListHelpers/ListItemStyles';
4
- import type { ListItem } from '../typeDefs/selectionTypes';
5
- export type Props = {
6
- children?: ReactNode;
7
- checkbox?: boolean;
8
- readOnly?: boolean;
9
- } & ListItem & Omit<ListItemStyleProps, 'theme'> & Omit<MenuItemProps, 'children' | 'value' | 'id' | 'onAction' | 'isDisabled'>;
10
- declare const MenuItem: {
11
- ({ id, value, children, header, body, leftElement, rightElement, inline, disabled, checkbox, onClick, ...props }: Props): import("react/jsx-runtime").JSX.Element;
12
- displayName: string;
13
- };
14
- export default MenuItem;
@@ -1,15 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import { type MenuProps } from 'react-aria-components';
3
- import type { ListOption, SelectInputProps } from '../typeDefs/selectionTypes';
4
- import type { Width } from '../types';
5
- import { type Props as ItemProps } from './MenuItem';
6
- type Props = {
7
- options?: ListOption[];
8
- children?: ReactNode;
9
- autoWidth?: boolean;
10
- itemProps?: Partial<ItemProps>;
11
- ref?: React.Ref<HTMLDivElement>;
12
- readOnly?: boolean;
13
- } & Width & Omit<MenuProps<object>, 'children'> & Pick<SelectInputProps, 'before' | 'after' | 'menuBackground'>;
14
- declare const MenuOptions: ({ options, children, autoWidth, itemProps, width, ref, before, after, menuBackground, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
15
- export default MenuOptions;
@@ -1,8 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- type SecProps = {
3
- id?: string;
4
- title?: string;
5
- children: ReactNode;
6
- };
7
- declare const MenuSection: ({ id, title, children }: SecProps) => import("react/jsx-runtime").JSX.Element;
8
- export default MenuSection;
@@ -1,17 +0,0 @@
1
- import type { Attributes } from './typeDefs/elementTypes';
2
- import type { ListItem, ListOption } from './typeDefs/selectionTypes';
3
- import type { Margin, ThemeProp, Width } from './types';
4
- type Option = Omit<ListItem, 'onClick'> & Required<Pick<ListItem, 'id'>>;
5
- type ElAttributes = Attributes<HTMLDivElement>;
6
- type Props = {
7
- label: string;
8
- options: ListOption<Option>[];
9
- search?: boolean;
10
- onChange: (options: Option[]) => void;
11
- } & Width & Margin & ElAttributes;
12
- declare const DropdownSelect: ({ label, options, width, search, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
13
- export declare const Label: import("@emotion/styled").StyledComponent<{
14
- theme?: import("@emotion/react").Theme;
15
- as?: React.ElementType;
16
- } & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
17
- export default DropdownSelect;
@@ -1,23 +0,0 @@
1
- import { type IconName } from 'lucide-react/dynamic';
2
- import type { Margin } from './types';
3
- type Props = {
4
- /** The name of the icon to display */
5
- name: IconName;
6
- /** Sets the color of the icon */
7
- color?: string;
8
- /** Sets the color of the icon when hovered */
9
- hoverColor?: string;
10
- /** Sets the width and height of the icon */
11
- size?: number;
12
- /** Sets the cursor as a pointer when hovered */
13
- pointer?: boolean;
14
- /** CSS Animation shorthand property */
15
- animation?: string;
16
- className?: string;
17
- style?: React.CSSProperties;
18
- onClick?: () => void;
19
- tabIndex?: number;
20
- ref?: React.Ref<SVGSVGElement>;
21
- } & Margin;
22
- declare const DynamicIcon: ({ size, onClick, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
23
- export default DynamicIcon;
@@ -1,85 +0,0 @@
1
- import { type JSONContent } from '@tiptap/react';
2
- import { type CSSProperties as CSS, type KeyboardEvent } from 'react';
3
- import type { EditorRef, InputFocusEvent, MarginPadding, MergeField as MergeFieldType, WidthHeight } from '../types';
4
- export type EditorValue = JSONContent;
5
- /**
6
- * Creates a new EditorValue (JSONContent) for use with the Editor component.
7
- *
8
- * This function is optimized for performance by creating the minimal required structure.
9
- *
10
- * @param value - Optional text content or existing EditorValue to initialize the editor with
11
- * @returns A properly structured JSONContent object for TipTap
12
- *
13
- * @example
14
- * // Empty editor content
15
- * const emptyContent = createEditorContent();
16
- *
17
- * // Editor with initial text
18
- * const textContent = createEditorContent('Hello world!');
19
- *
20
- * // Editor with existing EditorValue
21
- * const existingContent = createEditorContent(someExistingEditorValue);
22
- */
23
- export declare const createEditorContent: (value?: string | EditorValue, fields?: MergeFieldType[], displayValue?: boolean) => JSONContent;
24
- type EditorProps = {
25
- /** Controlled value - TipTap JSON content representing rich text with formatting. If not provided, editor runs in uncontrolled mode */
26
- value?: EditorValue;
27
- /** Controlled text value - String content with merge field markers (<<field_id>>). Alternative to value prop for simpler use cases */
28
- textValue?: string;
29
- /** Function called after editor content changes */
30
- onChange?: (value: EditorValue, hasMissing: boolean, reason: string | null) => void;
31
- /** Function called after editor text content changes - provides string with merge field markers */
32
- onTextChange?: (text: string, hasMissing: boolean, reason: string | null) => void;
33
- /** Function called when the dirty state changes (has unsaved changes) */
34
- onDirtyChange?: (isDirty: boolean) => void;
35
- /** Function called after the enter key is pressed */
36
- onEnterKey?: (e: KeyboardEvent) => void;
37
- /** Callback run after onFocus event */
38
- onFocus?: (event?: InputFocusEvent) => void;
39
- /** Callback run after onBlur event */
40
- onBlur?: (event?: InputFocusEvent) => void;
41
- /** Array of MergeFields ({ id: string, label: string, value?: string }) for the editor to use/parse */
42
- mergeFields?: MergeFieldType[];
43
- /** Placeholder text of editor when value is empty */
44
- placeholder?: string;
45
- /** Places a description message below the editor */
46
- description?: string;
47
- /** Sets the Editor's bottom border and description text to red */
48
- invalid?: boolean;
49
- /** Max Height of the editor. Editor contents will scroll after this height is reached */
50
- maxHeight?: number;
51
- /** Removes the padding from the editor */
52
- noPadding?: boolean;
53
- /** Disables any editing capability of the editor */
54
- readOnly?: boolean;
55
- /** Allows task item checkboxes to be interactive even when readOnly is true */
56
- interactiveTaskItems?: boolean;
57
- /** Displays the value of the merge field rather than the label */
58
- displayMergedValues?: boolean;
59
- /** Sets the text color of the editor */
60
- color?: string;
61
- /** Sets the overflow css value of the editor */
62
- overflow?: CSS['overflow'];
63
- /** Truncates the editor text to the number of lines specified and adds an ellipsis textOverflow */
64
- clampLines?: number;
65
- /** Places a label element above the input. The value will set the text of the label */
66
- label?: string;
67
- /** Disables the input */
68
- disabled?: boolean;
69
- /** Sets the input borderRadius */
70
- borderRadius?: number | string;
71
- /** Sets the input backgroundColor */
72
- backgroundColor?: string;
73
- /** Sets the editor fontSize */
74
- fontSize?: number | string;
75
- /** Removes the border, padding, and backgroundColor from the Editor */
76
- textOnly?: boolean;
77
- /** Shows the formatting toolbar with rich text options */
78
- showToolbarOptions?: boolean;
79
- /** Maximum number of characters allowed in the editor */
80
- maxLength?: number;
81
- ref?: React.Ref<EditorRef>;
82
- className?: string;
83
- } & MarginPadding & WidthHeight;
84
- declare const Editor: ({ value, textValue, onChange, onTextChange, onDirtyChange, onEnterKey, onFocus, onBlur, mergeFields, placeholder, description, invalid, width, height, maxHeight, noPadding, readOnly, interactiveTaskItems, displayMergedValues, color, overflow, clampLines, label, disabled, borderRadius, backgroundColor, fontSize, textOnly, showToolbarOptions, maxLength, margin, marginLeft, marginRight, marginTop, marginBottom, padding, paddingLeft, paddingRight, paddingTop, paddingBottom, ref, className, ...rest }: EditorProps) => import("react/jsx-runtime").JSX.Element | null;
85
- export default Editor;