@apple-pie/slice 0.0.0 → 0.0.2

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 (291) hide show
  1. package/dist/cjs/chunks/Avatar-8-wPWe0V.js +68 -0
  2. package/dist/cjs/chunks/AvatarGroup-CVKmgBbD.js +39 -0
  3. package/dist/cjs/chunks/Badge-CMapJCij.js +41 -0
  4. package/dist/cjs/chunks/CheckBox-7AACxrdZ.js +76 -0
  5. package/dist/cjs/chunks/DivInput-BKKJTFeV.js +204 -0
  6. package/dist/cjs/chunks/DocIcons-BRWOzK96.js +41 -0
  7. package/dist/cjs/chunks/Dot-Dnr9M9na.js +80 -0
  8. package/dist/cjs/chunks/DrggablePanel-C6TPsDB-.js +302 -0
  9. package/dist/cjs/chunks/DropDown-D9sf_m2I.js +154 -0
  10. package/dist/cjs/chunks/EditorButtonBar-CUNDgRQd.js +244 -0
  11. package/dist/cjs/chunks/ErrorSummary-Dv44onsV.js +42 -0
  12. package/dist/cjs/chunks/FlexDiv-DZBpswHV.js +103 -0
  13. package/dist/cjs/chunks/Grouper-_kd2nU78.js +50 -0
  14. package/dist/cjs/chunks/IconButton-BfsPlKTb.js +84 -0
  15. package/dist/cjs/chunks/Logos-DSlAUz8l.js +119 -0
  16. package/dist/cjs/chunks/MessageInput-CiHFo2j8.js +399 -0
  17. package/dist/cjs/chunks/Overlay-DwCPvGB5.js +45 -0
  18. package/dist/cjs/chunks/Pager-CFtZ0IIW.js +42 -0
  19. package/dist/cjs/chunks/ProgressIndicator-C5oB7Mky.js +121 -0
  20. package/dist/cjs/chunks/RadioButton-e_y2qiPE.js +65 -0
  21. package/dist/cjs/chunks/RadioButtonList-I81UwHmM.js +116 -0
  22. package/dist/cjs/chunks/Slider-C-gn7Sby.js +285 -0
  23. package/dist/cjs/chunks/Spacer-BEY2-_PB.js +16 -0
  24. package/dist/cjs/chunks/Switch-CtkFtogd.js +43 -0
  25. package/dist/cjs/chunks/TabBar-D3bj4pjj.js +176 -0
  26. package/dist/cjs/chunks/TextArea-B1oKK3_b.js +153 -0
  27. package/dist/cjs/chunks/TextField-CiQdPP5E.js +248 -0
  28. package/dist/cjs/chunks/Tip-C2pzExut.js +91 -0
  29. package/dist/cjs/chunks/Toast-DrijUwoL.js +141 -0
  30. package/dist/cjs/chunks/UIButton-CH4p-8yq.js +317 -0
  31. package/dist/cjs/chunks/UIButtonBar-0fHPB0ww.js +58 -0
  32. package/dist/cjs/chunks/UICard-DBDSyT7E.js +36 -0
  33. package/dist/cjs/chunks/UIChip-kjhvRrOV.js +93 -0
  34. package/dist/cjs/chunks/UIFileIcon-ZrbDIeYz.js +54 -0
  35. package/dist/cjs/chunks/UILabel-DkBE2AIt.js +116 -0
  36. package/dist/cjs/chunks/_types-CoWzQFsT.js +714 -0
  37. package/dist/cjs/chunks/sharedTypes-BvTjh6M5.js +9 -0
  38. package/dist/cjs/chunks/style-inject.es-XZHJH68X.js +30 -0
  39. package/dist/cjs/chunks/tipStore-C9oV9SIh.js +23 -0
  40. package/dist/cjs/chunks/toastStore-C-ETP9H6.js +23 -0
  41. package/dist/cjs/chunks/tslib.es6-4H29ixHs.js +48 -0
  42. package/dist/cjs/chunks/utils-CbayehuI.js +126 -0
  43. package/dist/cjs/hooks/useDoubleClick.js +26 -0
  44. package/dist/cjs/hooks/useKeyboardShortcuts.js +42 -0
  45. package/dist/cjs/hooks/useLastUpdated.js +53 -0
  46. package/dist/cjs/hooks/useLocalStore.js +52 -0
  47. package/dist/cjs/hooks/useObserveResize.js +56 -0
  48. package/dist/cjs/hooks/useObserveTheme.js +36 -0
  49. package/dist/cjs/hooks/useTheme.js +85 -0
  50. package/dist/cjs/hooks/useToolTip.js +36 -0
  51. package/dist/cjs/hooks/useTrackRenders.js +38 -0
  52. package/dist/cjs/hooks/useWindow.js +64 -0
  53. package/dist/cjs/hooks.js +32 -0
  54. package/dist/cjs/index.js +121 -0
  55. package/dist/cjs/providers/ThemeProvider.js +51 -0
  56. package/dist/cjs/providers.js +13 -0
  57. package/dist/cjs/stores/tip.js +12 -0
  58. package/dist/cjs/stores/toast.js +12 -0
  59. package/dist/cjs/stores.js +18 -0
  60. package/dist/cjs/theme/colors.js +383 -0
  61. package/dist/cjs/theme/corners.js +14 -0
  62. package/dist/cjs/theme/themes.js +23 -0
  63. package/dist/cjs/theme/type.js +316 -0
  64. package/dist/cjs/theme.js +13 -0
  65. package/dist/cjs/uikit/Avatar.js +11 -0
  66. package/dist/cjs/uikit/AvatarGroup.js +12 -0
  67. package/dist/cjs/uikit/Badge.js +11 -0
  68. package/dist/cjs/uikit/CheckBox.js +21 -0
  69. package/dist/cjs/uikit/DivInput.js +13 -0
  70. package/dist/cjs/uikit/DocIcon.js +17 -0
  71. package/dist/cjs/uikit/Dot.js +12 -0
  72. package/dist/cjs/uikit/DraggablePanel.js +20 -0
  73. package/dist/cjs/uikit/DropDown.js +20 -0
  74. package/dist/cjs/uikit/EditorButtonBar.js +27 -0
  75. package/dist/cjs/uikit/ErrorSummary.js +12 -0
  76. package/dist/cjs/uikit/FlexDiv.js +12 -0
  77. package/dist/cjs/uikit/Grouper.js +22 -0
  78. package/dist/cjs/uikit/Icon.js +22 -0
  79. package/dist/cjs/uikit/IconButton.js +24 -0
  80. package/dist/cjs/uikit/Logos.js +17 -0
  81. package/dist/cjs/uikit/MessageInput.js +29 -0
  82. package/dist/cjs/uikit/Overlay.js +12 -0
  83. package/dist/cjs/uikit/Pager.js +12 -0
  84. package/dist/cjs/uikit/Progress.js +20 -0
  85. package/dist/cjs/uikit/RadioButton.js +25 -0
  86. package/dist/cjs/uikit/RadioButtonList.js +26 -0
  87. package/dist/cjs/uikit/Slider.js +13 -0
  88. package/dist/cjs/uikit/Spacer.js +10 -0
  89. package/dist/cjs/uikit/Switch.js +12 -0
  90. package/dist/cjs/uikit/TabBar.js +25 -0
  91. package/dist/cjs/uikit/TextArea.js +26 -0
  92. package/dist/cjs/uikit/Textfield.js +27 -0
  93. package/dist/cjs/uikit/Tip.js +13 -0
  94. package/dist/cjs/uikit/Toast.js +25 -0
  95. package/dist/cjs/uikit/UIButton.js +25 -0
  96. package/dist/cjs/uikit/UIButtonBar.js +25 -0
  97. package/dist/cjs/uikit/UICard.js +20 -0
  98. package/dist/cjs/uikit/UIChip.js +21 -0
  99. package/dist/cjs/uikit/UIFileIcon.js +17 -0
  100. package/dist/cjs/uikit/UILabel.js +18 -0
  101. package/dist/esm/chunks/Avatar-D_muqPrW.js +66 -0
  102. package/dist/esm/chunks/AvatarGroup-D8Xmrn52.js +37 -0
  103. package/dist/esm/chunks/Badge-PPf5Uvw3.js +39 -0
  104. package/dist/esm/chunks/CheckBox-CswFI0Xc.js +74 -0
  105. package/dist/esm/chunks/DivInput-iKFkeU2F.js +202 -0
  106. package/dist/esm/chunks/DocIcons-CbOX4n8Y.js +39 -0
  107. package/dist/esm/chunks/Dot-B84UVs2e.js +78 -0
  108. package/dist/esm/chunks/DrggablePanel-CYYwTmFd.js +300 -0
  109. package/dist/esm/chunks/DropDown-D4t6EhKL.js +152 -0
  110. package/dist/esm/chunks/EditorButtonBar-FnMa8Zv2.js +242 -0
  111. package/dist/esm/chunks/ErrorSummary-DhU5SKPt.js +40 -0
  112. package/dist/esm/chunks/FlexDiv-CmMpORgn.js +101 -0
  113. package/dist/esm/chunks/Grouper-BbreOXI9.js +48 -0
  114. package/dist/esm/chunks/IconButton-CguHGkBM.js +82 -0
  115. package/dist/esm/chunks/Logos-DwZP-TR2.js +117 -0
  116. package/dist/esm/chunks/MessageInput-DMHzCwjO.js +397 -0
  117. package/dist/esm/chunks/Overlay-CCBy7n7H.js +43 -0
  118. package/dist/esm/chunks/Pager-BsSti93V.js +40 -0
  119. package/dist/esm/chunks/ProgressIndicator-BVukxMU6.js +118 -0
  120. package/dist/esm/chunks/RadioButton-B5BxQI0R.js +63 -0
  121. package/dist/esm/chunks/RadioButtonList-C2z8McAD.js +114 -0
  122. package/dist/esm/chunks/Slider-C-PcWqTz.js +283 -0
  123. package/dist/esm/chunks/Spacer-DbZSG5x3.js +14 -0
  124. package/dist/esm/chunks/Switch-DjfrSiQz.js +41 -0
  125. package/dist/esm/chunks/TabBar-BSBcgTbd.js +174 -0
  126. package/dist/esm/chunks/TextArea-COM0UPo2.js +151 -0
  127. package/dist/esm/chunks/TextField-Bh24bRWs.js +246 -0
  128. package/dist/esm/chunks/Tip-Ct19Ljul.js +89 -0
  129. package/dist/esm/chunks/Toast-BR0oMX6z.js +139 -0
  130. package/dist/esm/chunks/UIButton-DKx-_O8h.js +315 -0
  131. package/dist/esm/chunks/UIButtonBar-BNdA5eVq.js +56 -0
  132. package/dist/esm/chunks/UICard-Dn5f3wg8.js +34 -0
  133. package/dist/esm/chunks/UIChip-DqnGeVyR.js +91 -0
  134. package/dist/esm/chunks/UIFileIcon-qGxIPsJJ.js +52 -0
  135. package/dist/esm/chunks/UILabel-RnbodPCS.js +114 -0
  136. package/dist/esm/chunks/_types-BaYeLEWK.js +712 -0
  137. package/dist/esm/chunks/sharedTypes-BfZzG1KX.js +9 -0
  138. package/dist/esm/chunks/style-inject.es-tgCJW-Cu.js +28 -0
  139. package/dist/esm/chunks/tipStore-nBYJ6tmE.js +17 -0
  140. package/dist/esm/chunks/toastStore-r3pvNa28.js +17 -0
  141. package/dist/esm/chunks/tslib.es6-0pkUdtrF.js +45 -0
  142. package/dist/esm/chunks/utils-BRZK2Drn.js +119 -0
  143. package/dist/esm/hooks/useDoubleClick.js +24 -0
  144. package/dist/esm/hooks/useKeyboardShortcuts.js +40 -0
  145. package/dist/esm/hooks/useLastUpdated.js +51 -0
  146. package/dist/esm/hooks/useLocalStore.js +50 -0
  147. package/dist/esm/hooks/useObserveResize.js +54 -0
  148. package/dist/esm/hooks/useObserveTheme.js +34 -0
  149. package/dist/esm/hooks/useTheme.js +83 -0
  150. package/dist/esm/hooks/useToolTip.js +34 -0
  151. package/dist/esm/hooks/useTrackRenders.js +36 -0
  152. package/dist/esm/hooks/useWindow.js +62 -0
  153. package/dist/esm/hooks.js +14 -0
  154. package/dist/esm/index.js +57 -0
  155. package/dist/esm/providers/ThemeProvider.js +49 -0
  156. package/dist/esm/providers.js +7 -0
  157. package/dist/esm/stores/tip.js +2 -0
  158. package/dist/esm/stores/toast.js +2 -0
  159. package/dist/esm/stores.js +3 -0
  160. package/dist/esm/theme/colors.js +377 -0
  161. package/dist/esm/theme/corners.js +12 -0
  162. package/dist/esm/theme/themes.js +20 -0
  163. package/dist/esm/theme/type.js +312 -0
  164. package/dist/esm/theme.js +4 -0
  165. package/dist/esm/uikit/Avatar.js +5 -0
  166. package/dist/esm/uikit/AvatarGroup.js +6 -0
  167. package/dist/esm/uikit/Badge.js +5 -0
  168. package/dist/esm/uikit/CheckBox.js +15 -0
  169. package/dist/esm/uikit/DivInput.js +7 -0
  170. package/dist/esm/uikit/DocIcon.js +11 -0
  171. package/dist/esm/uikit/Dot.js +6 -0
  172. package/dist/esm/uikit/DraggablePanel.js +14 -0
  173. package/dist/esm/uikit/DropDown.js +14 -0
  174. package/dist/esm/uikit/EditorButtonBar.js +21 -0
  175. package/dist/esm/uikit/ErrorSummary.js +6 -0
  176. package/dist/esm/uikit/FlexDiv.js +6 -0
  177. package/dist/esm/uikit/Grouper.js +16 -0
  178. package/dist/esm/uikit/Icon.js +12 -0
  179. package/dist/esm/uikit/IconButton.js +18 -0
  180. package/dist/esm/uikit/Logos.js +11 -0
  181. package/dist/esm/uikit/MessageInput.js +23 -0
  182. package/dist/esm/uikit/Overlay.js +6 -0
  183. package/dist/esm/uikit/Pager.js +6 -0
  184. package/dist/esm/uikit/Progress.js +13 -0
  185. package/dist/esm/uikit/RadioButton.js +19 -0
  186. package/dist/esm/uikit/RadioButtonList.js +20 -0
  187. package/dist/esm/uikit/Slider.js +7 -0
  188. package/dist/esm/uikit/Spacer.js +4 -0
  189. package/dist/esm/uikit/Switch.js +6 -0
  190. package/dist/esm/uikit/TabBar.js +19 -0
  191. package/dist/esm/uikit/TextArea.js +20 -0
  192. package/dist/esm/uikit/Textfield.js +21 -0
  193. package/dist/esm/uikit/Tip.js +7 -0
  194. package/dist/esm/uikit/Toast.js +15 -0
  195. package/dist/esm/uikit/UIButton.js +19 -0
  196. package/dist/esm/uikit/UIButtonBar.js +19 -0
  197. package/dist/esm/uikit/UICard.js +14 -0
  198. package/dist/esm/uikit/UIChip.js +15 -0
  199. package/dist/esm/uikit/UIFileIcon.js +11 -0
  200. package/dist/esm/uikit/UILabel.js +12 -0
  201. package/dist/types/hooks/index.d.ts +9 -2
  202. package/dist/types/hooks/useDoubleClick/useDoubleClick.d.ts +1 -0
  203. package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.d.ts +6 -0
  204. package/dist/types/hooks/useLastUpdated/useLastUpdated.d.ts +4 -0
  205. package/dist/types/hooks/useLocalStore/useLocalStore.d.ts +1 -0
  206. package/dist/types/hooks/{useObserveResize.d.ts → useObserveResize/useObserveResize.d.ts} +1 -1
  207. package/dist/types/hooks/useObserveTheme/useObserveTheme.d.ts +2 -0
  208. package/dist/types/hooks/useTheme/useTheme.d.ts +47 -0
  209. package/dist/types/hooks/useToolTip/useToolTip.d.ts +6 -0
  210. package/dist/types/hooks/useWindow/useWindow.d.ts +15 -0
  211. package/dist/types/index.d.ts +9 -4
  212. package/dist/types/providers/ThemeProvider.d.ts +1 -0
  213. package/dist/types/stores/index.d.ts +2 -0
  214. package/dist/types/stores/tip/_types.d.ts +8 -0
  215. package/dist/types/stores/tip/index.d.ts +2 -0
  216. package/dist/types/stores/tip/tipStore.d.ts +12 -0
  217. package/dist/types/stores/toast/_types.d.ts +14 -0
  218. package/dist/types/stores/toast/index.d.ts +2 -0
  219. package/dist/types/stores/toast/toastStore.d.ts +12 -0
  220. package/dist/types/theme/colors/colors.d.ts +2 -0
  221. package/dist/types/theme/colors/types.d.ts +14 -0
  222. package/dist/types/theme/components/BrandColors.d.ts +1 -0
  223. package/dist/types/theme/components/ColorTile.d.ts +6 -0
  224. package/dist/types/theme/components/ColorTileGroup.d.ts +6 -0
  225. package/dist/types/theme/components/ThemeColors.d.ts +2 -0
  226. package/dist/types/theme/components/_types.d.ts +15 -0
  227. package/dist/types/theme/index.d.ts +1 -1
  228. package/dist/types/theme/themes.d.ts +3 -3
  229. package/dist/types/theme/type/type.d.ts +3 -0
  230. package/dist/types/uikit/Avatar/_types.d.ts +3 -2
  231. package/dist/types/uikit/AvatarGroup/_types.d.ts +4 -2
  232. package/dist/types/uikit/Badge/_types.d.ts +5 -2
  233. package/dist/types/uikit/CheckBox/_types.d.ts +5 -2
  234. package/dist/types/uikit/DivInput/_types.d.ts +4 -2
  235. package/dist/types/uikit/DocIcon/_types.d.ts +5 -2
  236. package/dist/types/uikit/Dot/_types.d.ts +6 -2
  237. package/dist/types/uikit/DraggablePanel/DrggablePanel.d.ts +3 -2
  238. package/dist/types/uikit/DropDown/DropDown.d.ts +2 -1
  239. package/dist/types/uikit/DropDown/_types.d.ts +5 -2
  240. package/dist/types/uikit/EditorButtonBar/_types.d.ts +4 -2
  241. package/dist/types/uikit/ErrorSummary/ErrorSummary.d.ts +2 -1
  242. package/dist/types/uikit/ErrorSummary/_types.d.ts +5 -2
  243. package/dist/types/uikit/FlexDiv/FlexDiv.d.ts +59 -2
  244. package/dist/types/uikit/FlexDiv/_types.d.ts +8 -2
  245. package/dist/types/uikit/Grouper/_types.d.ts +6 -2
  246. package/dist/types/uikit/Icon/_types.d.ts +7 -2
  247. package/dist/types/uikit/Icon/iconRegistry.d.ts +1 -0
  248. package/dist/types/uikit/IconButton/_types.d.ts +4 -2
  249. package/dist/types/uikit/Logos/_types.d.ts +8 -4
  250. package/dist/types/uikit/MessageInput/InputField/_types.d.ts +5 -2
  251. package/dist/types/uikit/Overlay/_types.d.ts +5 -2
  252. package/dist/types/uikit/Pager/_types.d.ts +5 -2
  253. package/dist/types/uikit/Progress/DoneCheck/_types.d.ts +5 -2
  254. package/dist/types/uikit/Progress/ProgressIndicator/_types.d.ts +5 -2
  255. package/dist/types/uikit/RadioButton/_types.d.ts +5 -2
  256. package/dist/types/uikit/RadioButtonList/_types.d.ts +5 -2
  257. package/dist/types/uikit/Slider/_types.d.ts +5 -2
  258. package/dist/types/uikit/Spacer/_types.d.ts +5 -2
  259. package/dist/types/uikit/Switch/Switch.d.ts +1 -1
  260. package/dist/types/uikit/Switch/_types.d.ts +5 -4
  261. package/dist/types/uikit/TabBar/_types.d.ts +5 -2
  262. package/dist/types/uikit/TextArea/_types.d.ts +5 -2
  263. package/dist/types/uikit/Textfield/_types.d.ts +4 -2
  264. package/dist/types/uikit/Tip/Tip.d.ts +3 -0
  265. package/dist/types/uikit/Tip/_types.d.ts +28 -0
  266. package/dist/types/uikit/Tip/index.d.ts +2 -0
  267. package/dist/types/uikit/Toast/Toast.d.ts +3 -0
  268. package/dist/types/uikit/Toast/_types.d.ts +24 -0
  269. package/dist/types/uikit/Toast/index.d.ts +2 -0
  270. package/dist/types/uikit/UIButton/UIButton.d.ts +73 -2
  271. package/dist/types/uikit/UIButton/_types.d.ts +4 -2
  272. package/dist/types/uikit/UIButtonBar/_types.d.ts +5 -2
  273. package/dist/types/uikit/UICard/_types.d.ts +5 -2
  274. package/dist/types/uikit/UIChip/_types.d.ts +4 -2
  275. package/dist/types/uikit/UIFileIcon/UIFileIcon.d.ts +1 -1
  276. package/dist/types/uikit/UIFileIcon/_types.d.ts +4 -2
  277. package/dist/types/uikit/UILabel/_types.d.ts +4 -2
  278. package/dist/types/util/utils.d.ts +12 -0
  279. package/package.json +80 -5
  280. package/dist/colors.css +0 -237
  281. package/dist/index.esm.js +0 -4831
  282. package/dist/index.esm.js.map +0 -1
  283. package/dist/index.js +0 -4873
  284. package/dist/index.js.map +0 -1
  285. package/dist/type.css +0 -16
  286. package/dist/types/hooks/useMayaTheme.d.ts +0 -7
  287. package/dist/types/hooks/useTheme.d.ts +0 -2
  288. package/dist/types/uikit/Avatar/AvatarInline.stories.d.ts +0 -7
  289. /package/dist/{flexBox.module.css → css/flexBox.module.css} +0 -0
  290. /package/dist/{type.module.css → css/type.module.css} +0 -0
  291. /package/dist/types/hooks/{useTrackRenders.d.ts → useTrackRenders/useTrackRenders.d.ts} +0 -0
@@ -11,7 +11,7 @@ type ResizeHandle = {
11
11
  color?: string;
12
12
  offsetX?: boolean;
13
13
  };
14
- export interface DraggablePanelProps {
14
+ type DraggablePanelBaseProps = {
15
15
  children?: any;
16
16
  onResize?: (info: Info) => void;
17
17
  onResizeEnd?: (info: Info) => void;
@@ -29,7 +29,8 @@ export interface DraggablePanelProps {
29
29
  dragHandleStyle?: DragHandleProps;
30
30
  disableOnContext?: boolean;
31
31
  isTouchDevice?: boolean;
32
- }
32
+ };
33
+ export type DraggablePanelProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DraggablePanelBaseProps> & DraggablePanelBaseProps;
33
34
  export declare const DraggablePanel: React.MemoExoticComponent<(props: DraggablePanelProps) => import("react/jsx-runtime").JSX.Element>;
34
35
  export type DragHandleProps = {
35
36
  width?: number;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
- import type { DropDownProps } from './_types';
2
+ import type { DropDownOption, DropDownProps } from './_types';
3
+ export type { DropDownOption };
3
4
  export declare const DropDown: React.MemoExoticComponent<(props: DropDownProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,9 +1,10 @@
1
+ import type React from 'react';
1
2
  export type DropDownOption = {
2
3
  label?: string;
3
4
  value?: string;
4
5
  alt?: string;
5
6
  };
6
- export interface DropDownProps {
7
+ type DropDownBaseProps = {
7
8
  name?: string;
8
9
  options?: DropDownOption[];
9
10
  selectedIndex?: number;
@@ -28,4 +29,6 @@ export interface DropDownProps {
28
29
  onBlur?: (value: string) => void;
29
30
  onValidate?: (state: boolean) => void;
30
31
  onFocus?: () => void;
31
- }
32
+ };
33
+ export type DropDownProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DropDownBaseProps> & DropDownBaseProps;
34
+ export {};
@@ -39,7 +39,7 @@ export declare enum FormattingOption {
39
39
  copy = "copy",
40
40
  link = "link"
41
41
  }
42
- export interface EditorButtonBarProps {
42
+ type EditorButtonBarBaseProps = {
43
43
  shortSize?: number;
44
44
  mediumSize?: number;
45
45
  state?: 'small' | 'medium' | 'regular' | 'auto';
@@ -48,7 +48,8 @@ export interface EditorButtonBarProps {
48
48
  disabledFormats?: string[];
49
49
  onCommand?: (command: any, e: React.MouseEvent<any> | undefined) => void;
50
50
  onToolTip?: (tip: ToolTip | null) => void;
51
- }
51
+ };
52
+ export type EditorButtonBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof EditorButtonBarBaseProps> & EditorButtonBarBaseProps;
52
53
  export interface RenderGroupProps {
53
54
  onCommand?: (command: any, e: React.MouseEvent<any>) => void;
54
55
  onToolTip?: (tip: ToolTip | null) => void;
@@ -57,3 +58,4 @@ export interface RenderGroupProps {
57
58
  disabledFormats?: string[];
58
59
  state?: 'regular' | 'small' | 'medium';
59
60
  }
61
+ export {};
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
- import type { ErrorSummaryProps } from './_types';
2
+ import type { ErrorMessage, ErrorSummaryProps } from './_types';
3
+ export type { ErrorMessage };
3
4
  export declare const ErrorSummary: React.MemoExoticComponent<(props: ErrorSummaryProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,9 +1,12 @@
1
+ import type React from 'react';
1
2
  export type ErrorMessage = {
2
3
  id?: string;
3
4
  title?: string;
4
5
  bullets?: string[];
5
6
  };
6
- export interface ErrorSummaryProps {
7
+ type ErrorSummaryBaseProps = {
7
8
  entries?: ErrorMessage[];
8
9
  errors?: any[];
9
- }
10
+ };
11
+ export type ErrorSummaryProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ErrorSummaryBaseProps> & ErrorSummaryBaseProps;
12
+ export {};
@@ -1,3 +1,60 @@
1
1
  import React from 'react';
2
- import type { FlexDivProps } from './_types';
3
- export declare const FlexDiv: React.NamedExoticComponent<FlexDivProps & React.RefAttributes<HTMLDivElement>>;
2
+ export declare const FlexDiv: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
3
+ className?: string;
4
+ children?: any;
5
+ scrollY?: boolean;
6
+ scrollX?: boolean;
7
+ absolute?: boolean;
8
+ background?: string;
9
+ direction?: "row" | "column";
10
+ alignItems?: "start" | "center" | "end" | "between";
11
+ justify?: "start" | "top" | "center" | "end" | "bottom" | "between";
12
+ width?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
13
+ height?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
14
+ maxWidth?: number | string;
15
+ centerSelf?: boolean | string;
16
+ flex?: number;
17
+ reverse?: boolean;
18
+ wrap?: boolean;
19
+ border?: string;
20
+ padding?: number | string;
21
+ margin?: number | string;
22
+ enter?: any;
23
+ exit?: any;
24
+ animate?: any;
25
+ transition?: import("framer-motion").Transition;
26
+ variants?: any;
27
+ gap?: number;
28
+ borderRadius?: number;
29
+ scrollHandle?: string;
30
+ scrollHandleHover?: string;
31
+ }> & {
32
+ className?: string;
33
+ children?: any;
34
+ scrollY?: boolean;
35
+ scrollX?: boolean;
36
+ absolute?: boolean;
37
+ background?: string;
38
+ direction?: "row" | "column";
39
+ alignItems?: "start" | "center" | "end" | "between";
40
+ justify?: "start" | "top" | "center" | "end" | "bottom" | "between";
41
+ width?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
42
+ height?: number | "grow" | "fill" | "fit" | "viewport" | "auto";
43
+ maxWidth?: number | string;
44
+ centerSelf?: boolean | string;
45
+ flex?: number;
46
+ reverse?: boolean;
47
+ wrap?: boolean;
48
+ border?: string;
49
+ padding?: number | string;
50
+ margin?: number | string;
51
+ enter?: any;
52
+ exit?: any;
53
+ animate?: any;
54
+ transition?: import("framer-motion").Transition;
55
+ variants?: any;
56
+ gap?: number;
57
+ borderRadius?: number;
58
+ scrollHandle?: string;
59
+ scrollHandleHover?: string;
60
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import type { Transition } from 'motion/react';
2
- export interface FlexDivProps {
2
+ import type React from 'react';
3
+ type FlexDivBaseProps = {
3
4
  className?: string;
4
5
  children?: any;
5
6
  scrollY?: boolean;
@@ -25,4 +26,9 @@ export interface FlexDivProps {
25
26
  transition?: Transition;
26
27
  variants?: any;
27
28
  gap?: number;
28
- }
29
+ borderRadius?: number;
30
+ scrollHandle?: string;
31
+ scrollHandleHover?: string;
32
+ };
33
+ export type FlexDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof FlexDivBaseProps> & FlexDivBaseProps;
34
+ export {};
@@ -1,5 +1,7 @@
1
- export interface GrouperProps {
1
+ import type React from 'react';
2
+ type GrouperBaseProps = {
2
3
  title?: string;
4
+ variant?: string;
3
5
  toggle?: boolean;
4
6
  open?: boolean;
5
7
  hasIcon?: boolean;
@@ -13,4 +15,6 @@ export interface GrouperProps {
13
15
  unframed?: boolean;
14
16
  onChange?: (state: boolean) => void;
15
17
  onClick?: () => void;
16
- }
18
+ };
19
+ export type GrouperProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof GrouperBaseProps> & GrouperBaseProps;
20
+ export {};
@@ -1,15 +1,17 @@
1
1
  import type React from 'react';
2
- export interface IconProps {
2
+ type IconBaseProps = {
3
3
  name?: string;
4
4
  size?: number;
5
5
  stroke?: number;
6
6
  strokeColor?: string;
7
7
  fillColor?: string;
8
+ coverUp?: string;
8
9
  toggle?: boolean;
9
10
  pointer?: boolean;
10
11
  disabled?: boolean;
11
12
  onClick?: (e: React.MouseEvent<SVGElement, MouseEvent>) => void;
12
- }
13
+ };
14
+ export type IconProps = Omit<React.SVGAttributes<SVGSVGElement>, keyof IconBaseProps> & IconBaseProps;
13
15
  export declare enum IconNames {
14
16
  home = "home",
15
17
  inbox = "inbox",
@@ -37,6 +39,8 @@ export declare enum IconNames {
37
39
  download = "download",
38
40
  share = "share",
39
41
  checkCircle = "check circle",
42
+ circle = "circle",
43
+ circleFill = "circle fill",
40
44
  person = "person",
41
45
  ctrlKey = "ctrl key",
42
46
  commandKey = "cmd key",
@@ -100,3 +104,4 @@ export declare enum IconNames {
100
104
  taskList = "task list",
101
105
  highlight = "highlight"
102
106
  }
107
+ export {};
@@ -3,6 +3,7 @@ export interface IconRenderProps {
3
3
  stroke: number;
4
4
  strokeColor: string;
5
5
  fillColor: string;
6
+ coverUp: string;
6
7
  }
7
8
  export type IconLineRenderer = (props: IconRenderProps) => JSX.Element;
8
9
  export interface IconDefinition {
@@ -1,7 +1,7 @@
1
1
  import type { Transition, Variants } from 'motion/react';
2
2
  import type React from 'react';
3
3
  import type { ToolTip } from '../sharedTypes';
4
- export interface IconButtonProps {
4
+ type IconButtonBaseProps = {
5
5
  frameSize?: number;
6
6
  iconSize?: number;
7
7
  icon?: string;
@@ -29,4 +29,6 @@ export interface IconButtonProps {
29
29
  borderRadius?: number;
30
30
  onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
31
31
  onToolTip?: (tip: ToolTip | null) => void;
32
- }
32
+ };
33
+ export type IconButtonProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof IconButtonBaseProps> & IconButtonBaseProps;
34
+ export {};
@@ -1,5 +1,9 @@
1
- export interface LogoProps {
2
- image?: 'zoom' | 'impossible foods' | 'gong' | 'seattle seahawks' | 'smile' | 'drift' | 'taylor amde' | 'gp' | 'gpmark' | 'envu' | 'pdf' | 'G2Leader' | 'reviews' | 'G2Logo' | 'apple' | 'yahoo' | 'outlook' | 'outlook-com' | 'google' | 'gptype' | 'gpgia' | 'linkedin' | 'stripe' | string;
1
+ import type React from 'react';
2
+ type LogoBaseProps = {
3
+ image?: 'zoom' | 'impossible foods' | 'gong' | 'seattle seahawks' | 'smile' | 'drift' | 'taylor made' | 'envu' | 'pdf' | 'G2Leader' | 'reviews' | 'G2Logo' | 'apple' | 'yahoo' | 'outlook' | 'outlook-com' | 'google' | 'linkedin' | 'stripe' | 'slice' | 'slice logo';
3
4
  color?: string;
4
- height?: number;
5
- }
5
+ height?: number | string;
6
+ width?: number | string;
7
+ };
8
+ export type LogoProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof LogoBaseProps> & LogoBaseProps;
9
+ export {};
@@ -3,7 +3,7 @@ import type { ToolTip } from '../../sharedTypes';
3
3
  import type { DocExcerpt } from '../ExcerptList/_types';
4
4
  import type { UserPresence } from '../UserList/_types';
5
5
  import type { JurisdictionFocus, SendMessage } from '../_types';
6
- export interface MessageInputProps {
6
+ type MessageInputBaseProps = {
7
7
  maxHeight?: number;
8
8
  focused?: boolean;
9
9
  height?: string;
@@ -23,6 +23,7 @@ export interface MessageInputProps {
23
23
  presenceID?: string;
24
24
  jurisdiction?: JurisdictionFocus | null;
25
25
  jurisdictionClick?: () => void;
26
+ complianceCheckClick?: () => void;
26
27
  attachClick?: (e: React.MouseEvent<any> | undefined) => void;
27
28
  onChangeFiles?: (files: File[]) => void;
28
29
  onChangeExcerpts?: (excerpts: DocExcerpt[]) => void;
@@ -33,4 +34,6 @@ export interface MessageInputProps {
33
34
  onFocus?: () => void;
34
35
  onSend?: (message: SendMessage) => void;
35
36
  onStop?: () => void;
36
- }
37
+ };
38
+ export type MessageInputProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof MessageInputBaseProps> & MessageInputBaseProps;
39
+ export {};
@@ -1,4 +1,5 @@
1
- export interface OverlayProps {
1
+ import type React from 'react';
2
+ type OverlayBaseProps = {
2
3
  opacity?: number;
3
4
  color?: string;
4
5
  type?: 'clear' | 'dark';
@@ -6,4 +7,6 @@ export interface OverlayProps {
6
7
  overlay?: any;
7
8
  onClick?: () => void;
8
9
  toggleOverlay?: (state: boolean) => void;
9
- }
10
+ };
11
+ export type OverlayProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof OverlayBaseProps> & OverlayBaseProps;
12
+ export {};
@@ -1,4 +1,5 @@
1
- export interface PagerProps {
1
+ import type React from 'react';
2
+ type PagerBaseProps = {
2
3
  size?: number;
3
4
  index?: number;
4
5
  color?: string;
@@ -7,4 +8,6 @@ export interface PagerProps {
7
8
  pages?: number;
8
9
  gap?: number;
9
10
  onChange?: (index: number) => void;
10
- }
11
+ };
12
+ export type PagerProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof PagerBaseProps> & PagerBaseProps;
13
+ export {};
@@ -1,4 +1,5 @@
1
- export interface DoneCheckProps {
1
+ import type React from 'react';
2
+ type DoneCheckBaseProps = {
2
3
  size?: number;
3
4
  color?: string;
4
5
  stroke?: number;
@@ -8,4 +9,6 @@ export interface DoneCheckProps {
8
9
  play?: boolean;
9
10
  didStart?: () => void;
10
11
  didEnd?: () => void;
11
- }
12
+ };
13
+ export type DoneCheckProps = Omit<React.SVGAttributes<SVGSVGElement>, keyof DoneCheckBaseProps> & DoneCheckBaseProps;
14
+ export {};
@@ -1,4 +1,5 @@
1
- export interface ProgressIndicatorProps {
1
+ import type React from 'react';
2
+ type ProgressIndicatorBaseProps = {
2
3
  size?: number;
3
4
  secondsPerSpin?: number;
4
5
  show?: boolean;
@@ -8,4 +9,6 @@ export interface ProgressIndicatorProps {
8
9
  inline?: boolean;
9
10
  didStart?: () => void;
10
11
  didStop?: () => void;
11
- }
12
+ };
13
+ export type ProgressIndicatorProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ProgressIndicatorBaseProps> & ProgressIndicatorBaseProps;
14
+ export {};
@@ -1,3 +1,4 @@
1
+ import type React from 'react';
1
2
  export type RadioButtonOption = {
2
3
  fieldName?: string;
3
4
  title?: string;
@@ -5,7 +6,7 @@ export type RadioButtonOption = {
5
6
  state?: boolean;
6
7
  icon?: string;
7
8
  };
8
- export interface RadioButtonProps {
9
+ type RadioButtonBaseProps = {
9
10
  selected?: boolean;
10
11
  option: RadioButtonOption;
11
12
  deselect?: boolean;
@@ -17,4 +18,6 @@ export interface RadioButtonProps {
17
18
  iconColor?: string;
18
19
  noFrame?: boolean;
19
20
  onChange?: (option: RadioButtonOption, state: boolean) => void;
20
- }
21
+ };
22
+ export type RadioButtonProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof RadioButtonBaseProps> & RadioButtonBaseProps;
23
+ export {};
@@ -1,5 +1,6 @@
1
+ import type React from 'react';
1
2
  import type { RadioButtonOption } from '../RadioButton/_types';
2
- export interface RadioButtonListProps {
3
+ type RadioButtonListBaseProps = {
3
4
  options?: RadioButtonOption[];
4
5
  selectedIndexes?: number[] | null;
5
6
  selectedOptions?: string[] | null;
@@ -17,4 +18,6 @@ export interface RadioButtonListProps {
17
18
  iconSelectedColor?: string;
18
19
  noFrame?: boolean;
19
20
  onChange?: (options: RadioButtonOption[] | null, indexes: number[] | null) => void;
20
- }
21
+ };
22
+ export type RadioButtonListProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof RadioButtonListBaseProps> & RadioButtonListBaseProps;
23
+ export {};
@@ -1,4 +1,5 @@
1
- export interface SliderProps {
1
+ import type React from 'react';
2
+ type SliderBaseProps = {
2
3
  value?: number;
3
4
  scaleMin?: number;
4
5
  scaleMax?: number;
@@ -14,4 +15,6 @@ export interface SliderProps {
14
15
  cursor?: 'default' | 'grab' | 'grabbing' | 'pointer';
15
16
  onChange?: (value: number, percent: number) => void;
16
17
  onDragChange?: (value: number, percent: number) => void;
17
- }
18
+ };
19
+ export type SliderProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof SliderBaseProps> & SliderBaseProps;
20
+ export {};
@@ -1,3 +1,6 @@
1
- export interface SpacerProps {
1
+ import type React from 'react';
2
+ type SpacerBaseProps = {
2
3
  size?: number;
3
- }
4
+ };
5
+ export type SpacerProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof SpacerBaseProps> & SpacerBaseProps;
6
+ export {};
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { type SwitchProps } from './_types';
2
+ import type { SwitchProps } from './_types';
3
3
  export declare const Switch: React.MemoExoticComponent<(props: SwitchProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,5 +1,5 @@
1
- import type { Transition } from 'motion/react';
2
- export interface SwitchProps {
1
+ import type React from 'react';
2
+ type SwitchBaseProps = {
3
3
  state?: boolean;
4
4
  height?: number;
5
5
  width?: number;
@@ -8,5 +8,6 @@ export interface SwitchProps {
8
8
  knobColor?: string;
9
9
  padding?: number;
10
10
  onChange?: (state: boolean) => void;
11
- }
12
- export declare const TRANSITION: Transition;
11
+ };
12
+ export type SwitchProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof SwitchBaseProps> & SwitchBaseProps;
13
+ export {};
@@ -1,3 +1,4 @@
1
+ import type React from 'react';
1
2
  import type { ToolTip } from '../sharedTypes';
2
3
  export type TabOption = {
3
4
  name?: string;
@@ -8,7 +9,7 @@ export type TabOption = {
8
9
  component?: any;
9
10
  };
10
11
  export declare const placeholderOptions: TabOption[];
11
- export interface TabBarProps {
12
+ type TabBarBaseProps = {
12
13
  options?: TabOption[];
13
14
  selected?: number;
14
15
  underline?: boolean;
@@ -28,7 +29,8 @@ export interface TabBarProps {
28
29
  onChange?: (index: number) => void;
29
30
  onTabChange?: (option: TabOption) => void;
30
31
  onClose?: () => void;
31
- }
32
+ };
33
+ export type TabBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof TabBarBaseProps> & TabBarBaseProps;
32
34
  export interface TabOptionProps {
33
35
  label?: string;
34
36
  value?: number;
@@ -45,3 +47,4 @@ export interface TabOptionProps {
45
47
  onClick?: (value: number) => void;
46
48
  onToolTip?: (tip: ToolTip | null) => void;
47
49
  }
50
+ export {};
@@ -1,8 +1,9 @@
1
1
  import type React from 'react';
2
- export interface TextAreaProps {
2
+ type TextAreaBaseProps = {
3
3
  value?: string;
4
4
  name?: string;
5
5
  width?: number | string;
6
+ height?: number | string;
6
7
  minWidth?: number | string;
7
8
  rows?: number;
8
9
  focused?: boolean;
@@ -29,10 +30,12 @@ export interface TextAreaProps {
29
30
  onBlur?: () => void;
30
31
  onValidate?: (state: boolean) => void;
31
32
  onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
32
- }
33
+ };
34
+ export type TextAreaProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof TextAreaBaseProps> & TextAreaBaseProps;
33
35
  export type Tip = {
34
36
  icon?: string;
35
37
  iconRight?: boolean;
36
38
  key: string;
37
39
  label?: string;
38
40
  };
41
+ export {};
@@ -1,6 +1,6 @@
1
1
  import type { Transition } from 'motion/react';
2
2
  import type React from 'react';
3
- export interface TextFieldProps {
3
+ type TextFieldBaseProps = {
4
4
  value?: string;
5
5
  name?: string;
6
6
  label?: string;
@@ -60,7 +60,8 @@ export interface TextFieldProps {
60
60
  borderType?: 'box' | 'underline' | 'none';
61
61
  inputType?: 'text' | 'password';
62
62
  noShow?: boolean;
63
- }
63
+ };
64
+ export type TextFieldProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof TextFieldBaseProps> & TextFieldBaseProps;
64
65
  export declare const MOTION_CONFIG: {
65
66
  variants: {
66
67
  initial: {
@@ -75,3 +76,4 @@ export declare const MOTION_CONFIG: {
75
76
  };
76
77
  transition: Transition;
77
78
  };
79
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type ToolTipProps } from './_types';
3
+ export declare const Tip: React.NamedExoticComponent<Omit<ToolTipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,28 @@
1
+ import type { HTMLMotionProps } from 'motion/react';
2
+ import type { ToolTip } from '../sharedTypes';
3
+ export declare const tipBasePos: {
4
+ left: number;
5
+ top: number;
6
+ };
7
+ export type PosCoords = {
8
+ left: number;
9
+ top: number;
10
+ };
11
+ type ToolTipBaseProps = {
12
+ tip?: ToolTip | null;
13
+ size?: 's' | 'm' | 'l';
14
+ bgColor?: string;
15
+ color?: string;
16
+ border?: boolean;
17
+ borderColor?: string;
18
+ padding?: number | string;
19
+ radius?: number;
20
+ coords?: {
21
+ x: number;
22
+ y: number;
23
+ };
24
+ showDelay?: number;
25
+ hideDelay?: number;
26
+ };
27
+ export type ToolTipProps = Omit<HTMLMotionProps<'div'>, keyof ToolTipBaseProps> & ToolTipBaseProps;
28
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Tip } from './Tip';
2
+ export type { ToolTipProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type ToastProps } from './_types';
3
+ export declare const Toast: React.NamedExoticComponent<Omit<ToastProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,24 @@
1
+ import type { HTMLMotionProps } from 'motion/react';
2
+ export declare enum ToastType {
3
+ Success = "success",
4
+ Error = "error",
5
+ Warning = "warning",
6
+ Info = "info"
7
+ }
8
+ type ToastBaseProps = {
9
+ message?: string | null;
10
+ size?: 's' | 'm' | 'l';
11
+ border?: boolean;
12
+ padding?: number | string;
13
+ radius?: number | string;
14
+ position?: 'top' | 'bottom';
15
+ offset?: number;
16
+ showDelay?: number;
17
+ duration?: number;
18
+ close?: boolean;
19
+ type?: ToastType;
20
+ didHide?: () => void;
21
+ };
22
+ type ReservedToastEvents = 'onMouseEnter' | 'onMouseLeave' | 'onFocus' | 'onBlur';
23
+ export type ToastProps = Omit<HTMLMotionProps<'div'>, keyof ToastBaseProps | ReservedToastEvents> & ToastBaseProps;
24
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Toast } from './Toast';
2
+ export { type ToastProps, ToastType } from './_types';