@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
@@ -0,0 +1,19 @@
1
+ export { T as TabBar } from '../chunks/TabBar-BSBcgTbd.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../hooks/useTheme.js';
6
+ import '../theme/themes.js';
7
+ import '../theme/colors.js';
8
+ import '../theme/corners.js';
9
+ import '../theme/type.js';
10
+ import '../hooks/useObserveTheme.js';
11
+ import '../hooks/useWindow.js';
12
+ import '../chunks/Badge-PPf5Uvw3.js';
13
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
14
+ import '../chunks/_types-BaYeLEWK.js';
15
+ import '../chunks/utils-BRZK2Drn.js';
16
+ import '../chunks/IconButton-CguHGkBM.js';
17
+ import 'motion/react';
18
+ import '../chunks/Dot-B84UVs2e.js';
19
+ import '../chunks/sharedTypes-BfZzG1KX.js';
@@ -0,0 +1,20 @@
1
+ export { T as TextArea } from '../chunks/TextArea-COM0UPo2.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../chunks/UIButton-DKx-_O8h.js';
6
+ import 'motion/react';
7
+ import '../hooks/useTheme.js';
8
+ import '../theme/themes.js';
9
+ import '../theme/colors.js';
10
+ import '../theme/corners.js';
11
+ import '../theme/type.js';
12
+ import '../hooks/useObserveTheme.js';
13
+ import '../hooks/useWindow.js';
14
+ import '../chunks/Badge-PPf5Uvw3.js';
15
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
16
+ import '../chunks/Dot-B84UVs2e.js';
17
+ import '../chunks/_types-BaYeLEWK.js';
18
+ import '../chunks/utils-BRZK2Drn.js';
19
+ import '../chunks/ProgressIndicator-BVukxMU6.js';
20
+ import '../chunks/sharedTypes-BfZzG1KX.js';
@@ -0,0 +1,21 @@
1
+ export { T as TextField } from '../chunks/TextField-Bh24bRWs.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'motion/react';
5
+ import 'react';
6
+ import '../hooks/useTheme.js';
7
+ import '../theme/themes.js';
8
+ import '../theme/colors.js';
9
+ import '../theme/corners.js';
10
+ import '../theme/type.js';
11
+ import '../hooks/useObserveTheme.js';
12
+ import '../hooks/useWindow.js';
13
+ import '../chunks/_types-BaYeLEWK.js';
14
+ import '../chunks/utils-BRZK2Drn.js';
15
+ import '../chunks/IconButton-CguHGkBM.js';
16
+ import '../chunks/Badge-PPf5Uvw3.js';
17
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
18
+ import '../chunks/Dot-B84UVs2e.js';
19
+ import '../chunks/sharedTypes-BfZzG1KX.js';
20
+ import '../chunks/UIButton-DKx-_O8h.js';
21
+ import '../chunks/ProgressIndicator-BVukxMU6.js';
@@ -0,0 +1,7 @@
1
+ export { T as Tip } from '../chunks/Tip-Ct19Ljul.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'motion/react';
5
+ import 'react';
6
+ import '../chunks/utils-BRZK2Drn.js';
7
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -0,0 +1,15 @@
1
+ export { T as Toast, a as ToastType } from '../chunks/Toast-BR0oMX6z.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'motion/react';
5
+ import 'react';
6
+ import '../hooks/useTheme.js';
7
+ import '../theme/themes.js';
8
+ import '../theme/colors.js';
9
+ import '../theme/corners.js';
10
+ import '../theme/type.js';
11
+ import '../hooks/useObserveTheme.js';
12
+ import '../hooks/useWindow.js';
13
+ import '../chunks/utils-BRZK2Drn.js';
14
+ import '../chunks/_types-BaYeLEWK.js';
15
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -0,0 +1,19 @@
1
+ export { U as UIButton } from '../chunks/UIButton-DKx-_O8h.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'motion/react';
5
+ import 'react';
6
+ import '../hooks/useTheme.js';
7
+ import '../theme/themes.js';
8
+ import '../theme/colors.js';
9
+ import '../theme/corners.js';
10
+ import '../theme/type.js';
11
+ import '../hooks/useObserveTheme.js';
12
+ import '../hooks/useWindow.js';
13
+ import '../chunks/Badge-PPf5Uvw3.js';
14
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
15
+ import '../chunks/Dot-B84UVs2e.js';
16
+ import '../chunks/_types-BaYeLEWK.js';
17
+ import '../chunks/utils-BRZK2Drn.js';
18
+ import '../chunks/ProgressIndicator-BVukxMU6.js';
19
+ import '../chunks/sharedTypes-BfZzG1KX.js';
@@ -0,0 +1,19 @@
1
+ export { U as UIButtonBar } from '../chunks/UIButtonBar-BNdA5eVq.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../hooks/useTheme.js';
6
+ import '../theme/themes.js';
7
+ import '../theme/colors.js';
8
+ import '../theme/corners.js';
9
+ import '../theme/type.js';
10
+ import '../hooks/useObserveTheme.js';
11
+ import '../hooks/useWindow.js';
12
+ import '../chunks/IconButton-CguHGkBM.js';
13
+ import 'motion/react';
14
+ import '../chunks/Badge-PPf5Uvw3.js';
15
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
16
+ import '../chunks/Dot-B84UVs2e.js';
17
+ import '../chunks/_types-BaYeLEWK.js';
18
+ import '../chunks/utils-BRZK2Drn.js';
19
+ import '../chunks/sharedTypes-BfZzG1KX.js';
@@ -0,0 +1,14 @@
1
+ export { U as UICard } from '../chunks/UICard-Dn5f3wg8.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../chunks/_types-BaYeLEWK.js';
6
+ import '../hooks/useTheme.js';
7
+ import '../theme/themes.js';
8
+ import '../theme/colors.js';
9
+ import '../theme/corners.js';
10
+ import '../theme/type.js';
11
+ import '../hooks/useObserveTheme.js';
12
+ import '../hooks/useWindow.js';
13
+ import '../chunks/utils-BRZK2Drn.js';
14
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -0,0 +1,15 @@
1
+ export { U as UIChip } from '../chunks/UIChip-DqnGeVyR.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../hooks/useTheme.js';
6
+ import '../theme/themes.js';
7
+ import '../theme/colors.js';
8
+ import '../theme/corners.js';
9
+ import '../theme/type.js';
10
+ import '../hooks/useObserveTheme.js';
11
+ import '../hooks/useWindow.js';
12
+ import '../chunks/_types-BaYeLEWK.js';
13
+ import '../chunks/utils-BRZK2Drn.js';
14
+ import '../chunks/sharedTypes-BfZzG1KX.js';
15
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -0,0 +1,11 @@
1
+ export { U as UIFileIcon } from '../chunks/UIFileIcon-qGxIPsJJ.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../hooks/useTheme.js';
6
+ import '../theme/themes.js';
7
+ import '../theme/colors.js';
8
+ import '../theme/corners.js';
9
+ import '../theme/type.js';
10
+ import '../hooks/useObserveTheme.js';
11
+ import '../hooks/useWindow.js';
@@ -0,0 +1,12 @@
1
+ export { U as UILabel } from '../chunks/UILabel-RnbodPCS.js';
2
+ import '../chunks/tslib.es6-0pkUdtrF.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
5
+ import '../hooks/useTheme.js';
6
+ import '../theme/themes.js';
7
+ import '../theme/colors.js';
8
+ import '../theme/corners.js';
9
+ import '../theme/type.js';
10
+ import '../hooks/useObserveTheme.js';
11
+ import '../hooks/useWindow.js';
12
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -1,2 +1,9 @@
1
- export { useTheme } from './useTheme';
2
- export { useMayaTheme } from './useMayaTheme';
1
+ export { useTheme } from './useTheme/useTheme';
2
+ export { useObserveTheme } from './useObserveTheme/useObserveTheme';
3
+ export { useDoubleClick } from './useDoubleClick/useDoubleClick';
4
+ export { useToolTip } from './useToolTip/useToolTip';
5
+ export { type KeyboardShortcut, type KeyboardShortcuts, useKeyboardShortcuts, } from './useKeyboardShortcuts/useKeyboardShortcuts';
6
+ export { useLastUpdated } from './useLastUpdated/useLastUpdated';
7
+ export { useLocalStore } from './useLocalStore/useLocalStore';
8
+ export { useWindow, FormFactor } from './useWindow/useWindow';
9
+ export { useObserveResize } from './useObserveResize/useObserveResize';
@@ -0,0 +1 @@
1
+ export declare function useDoubleClick<T, Y>(onClick: (payload?: T) => void, onDblClick: (payload?: Y) => void, delay?: number): readonly [(payload: T) => () => void, (payload: Y) => void];
@@ -0,0 +1,6 @@
1
+ export interface KeyboardShortcut {
2
+ key: string;
3
+ name: string;
4
+ }
5
+ export type KeyboardShortcuts = KeyboardShortcut[];
6
+ export declare function useKeyboardShortcuts(shortcuts: KeyboardShortcuts, shortCutHandler: (shortcut: KeyboardShortcut) => void, isAppleDevice: boolean): void;
@@ -0,0 +1,4 @@
1
+ export declare function useLastUpdated(timestamp: string | undefined, prefix?: string, interval?: number): {
2
+ lastUpdated: string;
3
+ timer: number;
4
+ };
@@ -0,0 +1 @@
1
+ export declare function useLocalStore<T>(key: string, value: T): readonly [T, (data: T) => void];
@@ -3,7 +3,7 @@ type Size = {
3
3
  height: number;
4
4
  width: number;
5
5
  };
6
- export declare function useObserveResize(element: RefObject<HTMLDivElement | null> | undefined, options?: {
6
+ export declare function useObserveResize(element: RefObject<HTMLElement | null> | undefined, options?: {
7
7
  ignore?: 'width' | 'height';
8
8
  }): Size;
9
9
  export {};
@@ -0,0 +1,2 @@
1
+ import { type SliceTheme } from '../../theme';
2
+ export declare function useObserveTheme(): SliceTheme;
@@ -0,0 +1,47 @@
1
+ import type { SliceTheme } from '../../theme';
2
+ /**
3
+ * Hook to manage Slice theming
4
+ */
5
+ export declare function useTheme(): {
6
+ /**
7
+ * Slice's default dark theme
8
+ */
9
+ darkTheme: SliceTheme;
10
+ /**
11
+ * Slice's default light theme
12
+ */
13
+ lightTheme: SliceTheme;
14
+ /**
15
+ * The currently active SliceTheme
16
+ */
17
+ current: SliceTheme;
18
+ /**
19
+ * CSS variables for theme colors
20
+ */
21
+ colors: Record<keyof import("../..").Colors, string>;
22
+ /**
23
+ * CSS Class names for the theme colors
24
+ */
25
+ colorsClass: Record<keyof import("../..").Colors, string>;
26
+ /**
27
+ * CSS class names for theme typefaces
28
+ */
29
+ typeClass: Record<keyof import("../..").Type, string>;
30
+ /**
31
+ * CSS typeface styles as inline style properties
32
+ */
33
+ typeStyle: Record<keyof import("../..").Type, import("react").CSSProperties>;
34
+ /**
35
+ * Set a new theme by name or passing in a SliceTheme object
36
+ * @param newTheme
37
+ */
38
+ set: (newTheme: SliceTheme | string) => void;
39
+ /**
40
+ * Toggle between light and dark themes
41
+ */
42
+ toggle: () => void;
43
+ /**
44
+ * If the currently active theme is the Slice's default dark theme'
45
+ */
46
+ isDark: boolean;
47
+ };
@@ -0,0 +1,6 @@
1
+ import type React from 'react';
2
+ import type { ToolTip } from '../../uikit/sharedTypes';
3
+ export declare function useToolTip(toolTip: ToolTip | null, tipElement: React.RefObject<HTMLDivElement | null>): {
4
+ x: number;
5
+ y: number;
6
+ } | undefined;
@@ -0,0 +1,15 @@
1
+ export declare enum FormFactor {
2
+ Mobile = "mobile",
3
+ Tablet = "tablet",
4
+ Desktop = "desktop"
5
+ }
6
+ export declare function useWindow(top?: boolean): {
7
+ viewportWidth: number | null;
8
+ viewportHeight: number | null;
9
+ height: string;
10
+ isTouchDevice: boolean;
11
+ isElectron: boolean;
12
+ isAppleDevice: boolean;
13
+ formFactor: FormFactor;
14
+ dpr: 2 | 1 | 3;
15
+ };
@@ -1,8 +1,8 @@
1
1
  export type { ToolTip, ToolTipInfo } from './uikit/sharedTypes';
2
2
  export { ToolTipType } from './uikit/sharedTypes';
3
- export { light, dark, lightTheme, darkTheme, } from './theme/index';
4
- export type { MayaTheme, Colors, Type, Corners, } from './theme/index';
5
- export { useTheme, useMayaTheme } from './hooks/index';
3
+ export { light, dark, lightTheme, darkTheme, } from './theme';
4
+ export type { SliceTheme, Colors, Type, Corners, } from './theme';
5
+ export { type KeyboardShortcut, type KeyboardShortcuts, useKeyboardShortcuts, useTheme, useObserveTheme, useToolTip, useLastUpdated, useLocalStore, useWindow, useDoubleClick, useObserveResize, } from './hooks';
6
6
  export { Avatar } from './uikit/Avatar/index';
7
7
  export type { AvatarProps } from './uikit/Avatar/index';
8
8
  export { AvatarGroup } from './uikit/AvatarGroup';
@@ -54,9 +54,14 @@ export type { SwitchProps } from './uikit/Switch';
54
54
  export { TabBar } from './uikit/TabBar';
55
55
  export type { TabOption, TabBarProps } from './uikit/TabBar';
56
56
  export { TextArea } from './uikit/TextArea';
57
- export type { TextAreaProps, Tip } from './uikit/TextArea';
57
+ export type { TextAreaProps } from './uikit/TextArea';
58
58
  export { TextField } from './uikit/Textfield';
59
59
  export type { TextFieldProps } from './uikit/Textfield';
60
+ export { ThemeProvider } from './providers';
61
+ export { Tip } from './uikit/Tip';
62
+ export type { ToolTipProps } from './uikit/Tip';
63
+ export { Toast, ToastType } from './uikit/Toast';
64
+ export type { ToastProps } from './uikit/Toast';
60
65
  export { UIButton } from './uikit/UIButton';
61
66
  export type { UIButtonProps, UIButtonHandle } from './uikit/UIButton';
62
67
  export { UIChip } from './uikit/UIChip';
@@ -4,6 +4,7 @@ import '../theme/type/type.css';
4
4
  interface ThemeProviderProps {
5
5
  children?: React.ReactNode;
6
6
  theme?: string;
7
+ system?: boolean;
7
8
  }
8
9
  export declare function ThemeProvider(props: Readonly<ThemeProviderProps>): React.ReactNode;
9
10
  export {};
@@ -0,0 +1,2 @@
1
+ export * from './toast';
2
+ export * from './tip';
@@ -0,0 +1,8 @@
1
+ import type { ToolTip } from '../../uikit/sharedTypes';
2
+ export interface TipStore {
3
+ tip: ToolTip | null;
4
+ actions: {
5
+ push: (tip: ToolTip | null) => void;
6
+ clear: () => void;
7
+ };
8
+ }
@@ -0,0 +1,2 @@
1
+ export { useTipStore, useTip, useTipActions, tipActions, getTip, } from './tipStore';
2
+ export type { TipStore } from './_types';
@@ -0,0 +1,12 @@
1
+ import type { TipStore } from './_types';
2
+ export declare const useTipStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TipStore>>;
3
+ export declare const useTip: () => import("../..").ToolTip | null;
4
+ export declare const useTipActions: () => {
5
+ push: (tip: import("../..").ToolTip | null) => void;
6
+ clear: () => void;
7
+ };
8
+ export declare const tipActions: {
9
+ push: (tip: import("../..").ToolTip | null) => void;
10
+ clear: () => void;
11
+ };
12
+ export declare const getTip: () => import("../..").ToolTip | null;
@@ -0,0 +1,14 @@
1
+ import type { ToastType } from '../../uikit/Toast';
2
+ export type Toast = {
3
+ message: string | null;
4
+ duration?: number;
5
+ type?: ToastType;
6
+ close?: boolean;
7
+ };
8
+ export interface ToastStore {
9
+ toast: Toast | null;
10
+ actions: {
11
+ push: (toast: Toast | null) => void;
12
+ clear: () => void;
13
+ };
14
+ }
@@ -0,0 +1,2 @@
1
+ export { useToastStore, useToast, useToastActions, toastActions, getToast, } from './toastStore';
2
+ export type { Toast, ToastStore } from './_types';
@@ -0,0 +1,12 @@
1
+ import type { Toast, ToastStore } from './_types';
2
+ export declare const useToastStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ToastStore>>;
3
+ export declare const useToast: () => Toast | null;
4
+ export declare const useToastActions: () => {
5
+ push: (toast: Toast | null) => void;
6
+ clear: () => void;
7
+ };
8
+ export declare const toastActions: {
9
+ push: (toast: Toast | null) => void;
10
+ clear: () => void;
11
+ };
12
+ export declare const getToast: () => Toast | null;
@@ -2,3 +2,5 @@ import type { Colors, CoreColors } from './types';
2
2
  export declare const coreColors: CoreColors;
3
3
  export declare const light: Colors;
4
4
  export declare const dark: Colors;
5
+ export declare const colorCssVars: Record<keyof Colors, string>;
6
+ export declare const colorClass: Record<keyof Colors, string>;
@@ -90,6 +90,20 @@ export type CoreColors = {
90
90
  'brand-yellow-950': string;
91
91
  'product-red-400': string;
92
92
  'product-red-500': string;
93
+ 'core-drop-shadow-light': string;
94
+ 'core-drop-shadow-dark': string;
95
+ 'core-surface-coverup-translucent-light': string;
96
+ 'core-surface-coverup-translucent-dark': string;
97
+ 'core-surface-overlay-translucent-light': string;
98
+ 'core-surface-overlay-translucent-dark': string;
99
+ 'scroll-bar-light': string;
100
+ 'scroll-bar-dark': string;
101
+ 'scroll-bar-hover-light': string;
102
+ 'scroll-bar-hover-dark': string;
103
+ 'surface-shadow-soft-light': string;
104
+ 'surface-shadow-soft-dark': string;
105
+ 'surface-shadow-strong-light': string;
106
+ 'surface-shadow-strong-dark': string;
93
107
  };
94
108
  export type Colors = {
95
109
  'array-land': string;
@@ -0,0 +1 @@
1
+ export declare function BrandColors(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { ColorTileProps } from './_types';
3
+ export declare const ColorTile: React.MemoExoticComponent<{
4
+ (props: Readonly<ColorTileProps>): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { ColorTileGroupProps } from './_types';
3
+ export declare const ColorTileGroup: React.MemoExoticComponent<{
4
+ (props: Readonly<ColorTileGroupProps>): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ export declare function LightModeBrandColors(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DarkModeBrandColors(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import type { ToolTip } from '../../uikit/sharedTypes';
2
+ import type { SliceTheme } from '../themes';
3
+ export interface ColorTileProps {
4
+ token?: string;
5
+ core?: string;
6
+ hex?: string;
7
+ width?: number;
8
+ height?: number;
9
+ onCopy?: (token: string, hex: string) => void;
10
+ onTooltip?: (tip: ToolTip | null) => void;
11
+ }
12
+ export interface ColorTileGroupProps {
13
+ pattern?: string | string[];
14
+ theme?: SliceTheme;
15
+ }
@@ -1,4 +1,4 @@
1
- export { type MayaTheme, darkTheme, lightTheme, } from './themes';
1
+ export { type SliceTheme, darkTheme, lightTheme, } from './themes';
2
2
  export type { Colors } from './colors/types';
3
3
  export type { Type } from './type/types';
4
4
  export type { Corners } from './corners/types';
@@ -1,12 +1,12 @@
1
1
  import type { Colors, CoreColors } from './colors/types';
2
2
  import type { Corners } from './corners/types';
3
3
  import type { Type } from './type/types';
4
- export type MayaTheme = {
4
+ export type SliceTheme = {
5
5
  name: string;
6
6
  coreColors: CoreColors;
7
7
  colors: Colors;
8
8
  type: Type;
9
9
  corners: Corners;
10
10
  };
11
- export declare const lightTheme: MayaTheme;
12
- export declare const darkTheme: MayaTheme;
11
+ export declare const lightTheme: SliceTheme;
12
+ export declare const darkTheme: SliceTheme;
@@ -1,2 +1,5 @@
1
+ import type React from 'react';
1
2
  import type { Type } from './types';
2
3
  export declare const type: Type;
4
+ export declare const typeCssClasses: Record<keyof Type, string>;
5
+ export declare const typeStyles: Record<keyof Type, React.CSSProperties>;
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import type { ToolTip } from '../sharedTypes';
3
- export interface AvatarProps {
3
+ export type AvatarBaseProps = {
4
4
  size?: number;
5
5
  frame?: number;
6
6
  first?: string;
@@ -16,4 +16,5 @@ export interface AvatarProps {
16
16
  onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
17
17
  onKeyDown?: (e: React.KeyboardEvent<HTMLDivElement>) => void;
18
18
  tabIndex?: number;
19
- }
19
+ };
20
+ export type AvatarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof AvatarBaseProps> & AvatarBaseProps;
@@ -1,3 +1,4 @@
1
+ import type React from 'react';
1
2
  import type { ToolTip } from '../sharedTypes';
2
3
  export type AvatarInfo = {
3
4
  first?: string;
@@ -8,7 +9,7 @@ export type AvatarInfo = {
8
9
  color?: string;
9
10
  bgColor?: string;
10
11
  };
11
- export interface AvatarGroupProps {
12
+ export type AvatarGroupBaseProps = {
12
13
  avatars?: AvatarInfo[] | null;
13
14
  size?: number;
14
15
  overlap?: number;
@@ -18,4 +19,5 @@ export interface AvatarGroupProps {
18
19
  margin?: number;
19
20
  firstOnly?: boolean;
20
21
  onToolTip?: (tip: ToolTip | null) => void;
21
- }
22
+ };
23
+ export type AvatarGroupProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof AvatarGroupBaseProps> & AvatarGroupBaseProps;
@@ -1,5 +1,8 @@
1
- export interface BadgeProps {
1
+ import type React from 'react';
2
+ type BadgeBaseProps = {
2
3
  count?: number | string;
3
4
  hideNull?: boolean;
4
5
  variant?: 'light' | 'dark';
5
- }
6
+ };
7
+ export type BadgeProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof BadgeBaseProps> & BadgeBaseProps;
8
+ export {};
@@ -1,8 +1,11 @@
1
- export interface CheckBoxProps {
1
+ import type React from 'react';
2
+ type CheckBoxBaseProps = {
2
3
  size?: number;
3
4
  checked?: 'mixed' | boolean;
4
5
  disabled?: boolean;
5
6
  color?: string;
6
7
  label?: string;
7
8
  onChange?: (state: boolean) => void;
8
- }
9
+ };
10
+ export type CheckBoxProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof CheckBoxBaseProps> & CheckBoxBaseProps;
11
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export interface DivInputProps {
2
+ type DivInputBaseProps = {
3
3
  name?: string;
4
4
  onClick?: () => void;
5
5
  onDblClick?: () => void;
@@ -18,4 +18,6 @@ export interface DivInputProps {
18
18
  padding?: string;
19
19
  radius?: number;
20
20
  bgColor?: string;
21
- }
21
+ };
22
+ export type DivInputProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DivInputBaseProps> & DivInputBaseProps;
23
+ export {};
@@ -1,4 +1,7 @@
1
- export interface DocsProps {
1
+ import type React from 'react';
2
+ type DocsBaseProps = {
2
3
  type?: 'pdf' | 'docx' | 'text' | 'not supported';
3
4
  height?: number;
4
- }
5
+ };
6
+ export type DocsProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DocsBaseProps> & DocsBaseProps;
7
+ export {};
@@ -1,5 +1,6 @@
1
1
  import type { Transition, Variants } from 'motion/react';
2
- export interface DotProps {
2
+ import type React from 'react';
3
+ type DotBaseProps = {
3
4
  size?: number;
4
5
  topOffset?: number;
5
6
  rightOffset?: number;
@@ -9,7 +10,10 @@ export interface DotProps {
9
10
  color?: string;
10
11
  transition?: Transition;
11
12
  motionValues?: Variants;
13
+ motion?: Variants;
12
14
  show?: boolean;
13
- }
15
+ };
16
+ export type DotProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof DotBaseProps> & DotBaseProps;
14
17
  export declare const DEFAULT_VARIANTS: Variants;
15
18
  export declare const DEFAULT_TRANSITION: Transition;
19
+ export {};