@apple-pie/slice 0.0.4 → 0.0.5

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 (213) hide show
  1. package/README.md +13 -6
  2. package/dist/cjs/chunks/{Avatar-8-wPWe0V.js → Avatar-z2YcOAoP.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-CVKmgBbD.js → AvatarGroup-Cz8369zI.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-CMapJCij.js → Badge-COSg__VJ.js} +1 -1
  5. package/dist/cjs/chunks/{UIButton-W-WjUvVm.js → Button-BNXqiA13.js} +28 -33
  6. package/dist/cjs/chunks/{UIButtonBar-FvX4kB-s.js → ButtonBar-CeDdAOlH.js} +5 -5
  7. package/dist/cjs/chunks/{UICard-DBDSyT7E.js → Card-Cc_c-S7i.js} +5 -5
  8. package/dist/cjs/chunks/{CheckBox-7AACxrdZ.js → CheckBox-hTWIPqV_.js} +2 -2
  9. package/dist/cjs/chunks/{UIChip-kjhvRrOV.js → Chip-CLKVldi4.js} +5 -5
  10. package/dist/cjs/chunks/{DivInput-BKKJTFeV.js → DivInput-DnY2emt-.js} +2 -2
  11. package/dist/cjs/chunks/{DrggablePanel-C6TPsDB-.js → DrggablePanel-BtsURL9o.js} +1 -1
  12. package/dist/cjs/chunks/{DropDown-D9sf_m2I.js → DropDown-COr9u96t.js} +2 -2
  13. package/dist/cjs/chunks/{ErrorSummary-Dv44onsV.js → ErrorSummary-BrSHbGpk.js} +1 -1
  14. package/dist/cjs/chunks/FileIcon-CEMQK_Je.js +132 -0
  15. package/dist/cjs/chunks/FileList-DWIm4o46.js +163 -0
  16. package/dist/cjs/chunks/{FlexDiv-DZBpswHV.js → FlexDiv-BHl29ywz.js} +1 -1
  17. package/dist/cjs/chunks/{Grouper-_kd2nU78.js → Grouper-EyHoeA8w.js} +3 -3
  18. package/dist/cjs/chunks/{IconButton-CjiNliPL.js → IconButton-9QZ4eKBZ.js} +3 -3
  19. package/dist/cjs/chunks/{UILabel-DpMIPlZO.js → Label-DZJ_YDtD.js} +17 -7
  20. package/dist/cjs/chunks/{Pager--55eRDdu.js → Pager-CRjpl1FZ.js} +1 -1
  21. package/dist/cjs/chunks/PromptInput-DmO8a3oX.js +212 -0
  22. package/dist/cjs/chunks/{RadioButton--k2YFFEG.js → RadioButton-DA9YUGEF.js} +2 -2
  23. package/dist/cjs/chunks/{RadioButtonList-D99mA5EZ.js → RadioButtonList-BtsT7GJc.js} +1 -1
  24. package/dist/cjs/chunks/{Slider-C-gn7Sby.js → Slider-CqrIwn-L.js} +1 -1
  25. package/dist/cjs/chunks/{TabBar-CqnPPTFy.js → TabBar-WsNlr-aZ.js} +4 -4
  26. package/dist/cjs/chunks/{TextArea-CWr6mi3Q.js → TextArea-BMJWUH2H.js} +3 -3
  27. package/dist/cjs/chunks/{TextField-BTyhrsbK.js → TextField-mfwz79cD.js} +5 -5
  28. package/dist/cjs/chunks/{Tip-DnLgI7WY.js → Tip-Af6FMEDi.js} +2 -2
  29. package/dist/cjs/chunks/{Toast-CTCc6Cyl.js → Toast-CxAEOW4z.js} +17 -4
  30. package/dist/cjs/chunks/{_types-CoWzQFsT.js → _types-BNlHsGMQ.js} +2 -2
  31. package/dist/cjs/chunks/{utils-CbayehuI.js → utils-BwNacfBU.js} +2 -0
  32. package/dist/cjs/chunks/windowStore-CPcVHJq6.js +93 -0
  33. package/dist/cjs/hooks/useKeyboardShortcuts.js +3 -1
  34. package/dist/cjs/hooks/useObserveTheme.js +14 -8
  35. package/dist/cjs/hooks/useTrackRenders.js +2 -1
  36. package/dist/cjs/hooks/useWindow.js +29 -7
  37. package/dist/cjs/index.js +45 -38
  38. package/dist/cjs/providers/ThemeProvider.js +6 -3
  39. package/dist/cjs/stores/window.js +12 -0
  40. package/dist/cjs/stores.js +6 -0
  41. package/dist/cjs/theme/type.js +99 -18
  42. package/dist/cjs/uikit/Avatar.js +1 -1
  43. package/dist/cjs/uikit/AvatarGroup.js +2 -2
  44. package/dist/cjs/uikit/Badge.js +1 -1
  45. package/dist/cjs/uikit/{UIButton.js → Button.js} +7 -7
  46. package/dist/cjs/uikit/{UIButtonBar.js → ButtonBar.js} +6 -6
  47. package/dist/cjs/uikit/{UICard.js → Card.js} +4 -4
  48. package/dist/cjs/uikit/CheckBox.js +3 -3
  49. package/dist/cjs/uikit/{UIChip.js → Chip.js} +4 -4
  50. package/dist/cjs/uikit/DivInput.js +2 -2
  51. package/dist/cjs/uikit/DraggablePanel.js +2 -2
  52. package/dist/cjs/uikit/DropDown.js +3 -3
  53. package/dist/cjs/uikit/ErrorSummary.js +1 -1
  54. package/dist/cjs/uikit/{UIFileIcon.js → FileIcon.js} +7 -2
  55. package/dist/cjs/uikit/FileList.js +24 -0
  56. package/dist/cjs/uikit/FlexDiv.js +1 -1
  57. package/dist/cjs/uikit/Grouper.js +4 -4
  58. package/dist/cjs/uikit/Icon.js +2 -2
  59. package/dist/cjs/uikit/IconButton.js +4 -4
  60. package/dist/cjs/uikit/{UILabel.js → Label.js} +3 -3
  61. package/dist/cjs/uikit/Pager.js +2 -2
  62. package/dist/cjs/uikit/{MessageInput.js → PromptInput.js} +10 -11
  63. package/dist/cjs/uikit/RadioButton.js +5 -5
  64. package/dist/cjs/uikit/RadioButtonList.js +6 -6
  65. package/dist/cjs/uikit/Slider.js +2 -2
  66. package/dist/cjs/uikit/TabBar.js +5 -5
  67. package/dist/cjs/uikit/TextArea.js +7 -7
  68. package/dist/cjs/uikit/Textfield.js +7 -7
  69. package/dist/cjs/uikit/Tip.js +2 -2
  70. package/dist/cjs/uikit/Toast.js +3 -3
  71. package/dist/css/type.module.css +55 -10
  72. package/dist/esm/chunks/{Avatar-D_muqPrW.js → Avatar-BtkvMV1v.js} +1 -1
  73. package/dist/esm/chunks/{AvatarGroup-D8Xmrn52.js → AvatarGroup-pbqdS56o.js} +1 -1
  74. package/dist/esm/chunks/{Badge-PPf5Uvw3.js → Badge-DtxDLSO0.js} +1 -1
  75. package/dist/esm/chunks/{UIButton-HssaFaip.js → Button-BUJkJqdO.js} +28 -33
  76. package/dist/esm/chunks/{UIButtonBar-CUat663I.js → ButtonBar-Bl0oCxd8.js} +5 -5
  77. package/dist/esm/chunks/{UICard-Dn5f3wg8.js → Card-Bjk0kgQh.js} +5 -5
  78. package/dist/esm/chunks/{CheckBox-CswFI0Xc.js → CheckBox-CvkZuSeB.js} +2 -2
  79. package/dist/esm/chunks/{UIChip-DqnGeVyR.js → Chip-o-YG_HAf.js} +5 -5
  80. package/dist/esm/chunks/{DivInput-iKFkeU2F.js → DivInput-D6ORPrkT.js} +2 -2
  81. package/dist/esm/chunks/{DrggablePanel-CYYwTmFd.js → DrggablePanel-DWrTjXvf.js} +1 -1
  82. package/dist/esm/chunks/{DropDown-D4t6EhKL.js → DropDown-BDIvYWI-.js} +2 -2
  83. package/dist/esm/chunks/{ErrorSummary-DhU5SKPt.js → ErrorSummary-DzDnacH0.js} +1 -1
  84. package/dist/esm/chunks/FileIcon-Cxh-QsYb.js +130 -0
  85. package/dist/esm/chunks/FileList-yo_u1Kvw.js +161 -0
  86. package/dist/esm/chunks/{FlexDiv-CmMpORgn.js → FlexDiv-CFyndG99.js} +1 -1
  87. package/dist/esm/chunks/{Grouper-BbreOXI9.js → Grouper-NJbpaaQG.js} +3 -3
  88. package/dist/esm/chunks/{IconButton-hJDuWiDh.js → IconButton-3m9ugITV.js} +3 -3
  89. package/dist/esm/chunks/{UILabel-CpLi8OLx.js → Label-CgntsR3g.js} +17 -7
  90. package/dist/esm/chunks/{Pager-Beht2NyO.js → Pager-BHLyXq9p.js} +1 -1
  91. package/dist/esm/chunks/PromptInput-C_qj6kGp.js +210 -0
  92. package/dist/esm/chunks/{RadioButton-C4EhaRlp.js → RadioButton-D8otD_Jj.js} +2 -2
  93. package/dist/esm/chunks/{RadioButtonList-iVlML5jt.js → RadioButtonList-CtX1j7rO.js} +1 -1
  94. package/dist/esm/chunks/{Slider-C-PcWqTz.js → Slider-O6UelMjh.js} +1 -1
  95. package/dist/esm/chunks/{TabBar-CMfPQJj-.js → TabBar-C0NgwRa2.js} +4 -4
  96. package/dist/esm/chunks/{TextArea-CiHIh1P_.js → TextArea-DK0giDGR.js} +3 -3
  97. package/dist/esm/chunks/{TextField-6wse4On1.js → TextField-CQ4XYYNm.js} +5 -5
  98. package/dist/esm/chunks/{Tip-CeN0gy3B.js → Tip-iFECDhwN.js} +2 -2
  99. package/dist/esm/chunks/{Toast-C9P_ptX5.js → Toast-ZxMZtbd0.js} +17 -4
  100. package/dist/esm/chunks/{_types-BaYeLEWK.js → _types-RJ7q8S0B.js} +2 -2
  101. package/dist/esm/chunks/{utils-BRZK2Drn.js → utils-CZ1LWeN6.js} +2 -0
  102. package/dist/esm/chunks/windowStore-Cu4W4zJM.js +91 -0
  103. package/dist/esm/hooks/useKeyboardShortcuts.js +3 -1
  104. package/dist/esm/hooks/useObserveTheme.js +14 -8
  105. package/dist/esm/hooks/useTrackRenders.js +2 -1
  106. package/dist/esm/hooks/useWindow.js +30 -8
  107. package/dist/esm/index.js +30 -30
  108. package/dist/esm/providers/ThemeProvider.js +6 -3
  109. package/dist/esm/stores/window.js +2 -0
  110. package/dist/esm/stores.js +1 -0
  111. package/dist/esm/theme/type.js +99 -18
  112. package/dist/esm/uikit/Avatar.js +1 -1
  113. package/dist/esm/uikit/AvatarGroup.js +2 -2
  114. package/dist/esm/uikit/Badge.js +1 -1
  115. package/dist/esm/uikit/{UIButton.js → Button.js} +6 -6
  116. package/dist/esm/uikit/{UIButtonBar.js → ButtonBar.js} +5 -5
  117. package/dist/esm/uikit/{UICard.js → Card.js} +3 -3
  118. package/dist/esm/uikit/CheckBox.js +3 -3
  119. package/dist/esm/uikit/{UIChip.js → Chip.js} +3 -3
  120. package/dist/esm/uikit/DivInput.js +2 -2
  121. package/dist/esm/uikit/DraggablePanel.js +2 -2
  122. package/dist/esm/uikit/DropDown.js +3 -3
  123. package/dist/esm/uikit/ErrorSummary.js +1 -1
  124. package/dist/esm/uikit/{UIFileIcon.js → FileIcon.js} +2 -1
  125. package/dist/esm/uikit/FileList.js +18 -0
  126. package/dist/esm/uikit/FlexDiv.js +1 -1
  127. package/dist/esm/uikit/Grouper.js +4 -4
  128. package/dist/esm/uikit/Icon.js +2 -2
  129. package/dist/esm/uikit/IconButton.js +4 -4
  130. package/dist/esm/uikit/{UILabel.js → Label.js} +2 -2
  131. package/dist/esm/uikit/Pager.js +2 -2
  132. package/dist/esm/uikit/{MessageInput.js → PromptInput.js} +9 -10
  133. package/dist/esm/uikit/RadioButton.js +5 -5
  134. package/dist/esm/uikit/RadioButtonList.js +6 -6
  135. package/dist/esm/uikit/Slider.js +2 -2
  136. package/dist/esm/uikit/TabBar.js +5 -5
  137. package/dist/esm/uikit/TextArea.js +7 -7
  138. package/dist/esm/uikit/Textfield.js +7 -7
  139. package/dist/esm/uikit/Tip.js +2 -2
  140. package/dist/esm/uikit/Toast.js +3 -3
  141. package/dist/types/hooks/index.d.ts +1 -1
  142. package/dist/types/hooks/useKeyboardShortcuts/useKeyboardShortcuts.d.ts +1 -0
  143. package/dist/types/hooks/useWindow/useWindow.d.ts +11 -2
  144. package/dist/types/index.d.ts +17 -21
  145. package/dist/types/providers/ThemeProvider.d.ts +1 -0
  146. package/dist/types/stores/index.d.ts +1 -0
  147. package/dist/types/stores/window/_types.d.ts +28 -0
  148. package/dist/types/stores/window/index.d.ts +2 -0
  149. package/dist/types/stores/window/windowStore.d.ts +17 -0
  150. package/dist/types/theme/type/types.d.ts +5 -0
  151. package/dist/types/uikit/{UIButton/UIButton.d.ts → Button/Button.d.ts} +3 -3
  152. package/dist/types/uikit/{UIButton → Button}/_types.d.ts +3 -3
  153. package/dist/types/uikit/Button/index.d.ts +2 -0
  154. package/dist/types/uikit/ButtonBar/ButtonBar.d.ts +2 -0
  155. package/dist/types/uikit/{UIButtonBar → ButtonBar}/_types.d.ts +2 -2
  156. package/dist/types/uikit/ButtonBar/index.d.ts +2 -0
  157. package/dist/types/uikit/Card/Card.d.ts +3 -0
  158. package/dist/types/uikit/{UICard → Card}/_types.d.ts +2 -2
  159. package/dist/types/uikit/Card/index.d.ts +2 -0
  160. package/dist/types/uikit/Chip/Chip.d.ts +3 -0
  161. package/dist/types/uikit/{UIChip → Chip}/_types.d.ts +2 -2
  162. package/dist/types/uikit/Chip/index.d.ts +3 -0
  163. package/dist/types/uikit/FileIcon/FileIcon.d.ts +3 -0
  164. package/dist/types/uikit/FileIcon/_types.d.ts +27 -0
  165. package/dist/types/uikit/FileIcon/fileIconRegistry.d.ts +4 -0
  166. package/dist/types/uikit/FileIcon/index.d.ts +3 -0
  167. package/dist/types/uikit/FileList/FileList.d.ts +3 -0
  168. package/dist/types/uikit/FileList/_types.d.ts +23 -0
  169. package/dist/types/uikit/FileList/index.d.ts +2 -0
  170. package/dist/types/uikit/Label/Label.d.ts +2 -0
  171. package/dist/types/uikit/{UILabel → Label}/_types.d.ts +3 -2
  172. package/dist/types/uikit/Label/index.d.ts +2 -0
  173. package/dist/types/uikit/PromptInput/PromptInput.d.ts +63 -0
  174. package/dist/types/uikit/PromptInput/_types.d.ts +35 -0
  175. package/dist/types/uikit/PromptInput/index.d.ts +2 -0
  176. package/dist/types/util/files.d.ts +9 -0
  177. package/dist/types/util/utils.d.ts +4 -0
  178. package/package.json +5 -2
  179. package/dist/cjs/chunks/EditorButtonBar-Gaxq4gul.js +0 -244
  180. package/dist/cjs/chunks/MessageInput-YV8cqU8h.js +0 -399
  181. package/dist/cjs/chunks/UIFileIcon-ZrbDIeYz.js +0 -54
  182. package/dist/cjs/uikit/EditorButtonBar.js +0 -28
  183. package/dist/esm/chunks/EditorButtonBar-15cTeQ-H.js +0 -242
  184. package/dist/esm/chunks/MessageInput-DByI4x7h.js +0 -397
  185. package/dist/esm/chunks/UIFileIcon-qGxIPsJJ.js +0 -52
  186. package/dist/esm/uikit/EditorButtonBar.js +0 -22
  187. package/dist/types/uikit/EditorButtonBar/EditorButtonBar.d.ts +0 -4
  188. package/dist/types/uikit/EditorButtonBar/_Data.d.ts +0 -12
  189. package/dist/types/uikit/EditorButtonBar/_types.d.ts +0 -61
  190. package/dist/types/uikit/EditorButtonBar/index.d.ts +0 -2
  191. package/dist/types/uikit/MessageInput/ExcerptList/ExcerptList.d.ts +0 -2
  192. package/dist/types/uikit/MessageInput/ExcerptList/_types.d.ts +0 -15
  193. package/dist/types/uikit/MessageInput/FileList/FileList.d.ts +0 -2
  194. package/dist/types/uikit/MessageInput/FileList/_types.d.ts +0 -6
  195. package/dist/types/uikit/MessageInput/InputField/MessageInput.d.ts +0 -2
  196. package/dist/types/uikit/MessageInput/InputField/_types.d.ts +0 -39
  197. package/dist/types/uikit/MessageInput/UserList/UserList.d.ts +0 -5
  198. package/dist/types/uikit/MessageInput/UserList/_types.d.ts +0 -40
  199. package/dist/types/uikit/MessageInput/_Data.d.ts +0 -6
  200. package/dist/types/uikit/MessageInput/_types.d.ts +0 -42
  201. package/dist/types/uikit/MessageInput/index.d.ts +0 -4
  202. package/dist/types/uikit/UIButton/index.d.ts +0 -2
  203. package/dist/types/uikit/UIButtonBar/UIButtonBar.d.ts +0 -2
  204. package/dist/types/uikit/UIButtonBar/index.d.ts +0 -2
  205. package/dist/types/uikit/UICard/UICard.d.ts +0 -3
  206. package/dist/types/uikit/UICard/index.d.ts +0 -2
  207. package/dist/types/uikit/UIChip/UIChip.d.ts +0 -3
  208. package/dist/types/uikit/UIChip/index.d.ts +0 -3
  209. package/dist/types/uikit/UIFileIcon/UIFileIcon.d.ts +0 -3
  210. package/dist/types/uikit/UIFileIcon/_types.d.ts +0 -19
  211. package/dist/types/uikit/UIFileIcon/index.d.ts +0 -2
  212. package/dist/types/uikit/UILabel/UILabel.d.ts +0 -2
  213. package/dist/types/uikit/UILabel/index.d.ts +0 -2
@@ -1,9 +1,13 @@
1
- export { T as TextArea } from '../chunks/TextArea-CiHIh1P_.js';
1
+ export { T as TextArea } from '../chunks/TextArea-DK0giDGR.js';
2
2
  import '../chunks/tslib.es6-0pkUdtrF.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
- import '../chunks/UIButton-HssaFaip.js';
5
+ import '../chunks/Button-BUJkJqdO.js';
6
6
  import 'motion/react';
7
+ import '../chunks/Badge-DtxDLSO0.js';
8
+ import '../chunks/style-inject.es-tgCJW-Cu.js';
9
+ import '../chunks/Dot-BZcEZbnm.js';
10
+ import '../chunks/_types-RJ7q8S0B.js';
7
11
  import '../hooks/useTheme.js';
8
12
  import '../theme/themes.js';
9
13
  import '../theme/colors.js';
@@ -12,10 +16,6 @@ import '../theme/elevations.js';
12
16
  import '../theme/type.js';
13
17
  import '../hooks/useObserveTheme.js';
14
18
  import '../hooks/useWindow.js';
15
- import '../chunks/Badge-PPf5Uvw3.js';
16
- import '../chunks/style-inject.es-tgCJW-Cu.js';
17
- import '../chunks/Dot-BZcEZbnm.js';
18
- import '../chunks/_types-BaYeLEWK.js';
19
- import '../chunks/utils-BRZK2Drn.js';
19
+ import '../chunks/utils-CZ1LWeN6.js';
20
20
  import '../chunks/ProgressIndicator-uI9BZwBB.js';
21
21
  import '../chunks/sharedTypes-BfZzG1KX.js';
@@ -1,4 +1,4 @@
1
- export { T as TextField } from '../chunks/TextField-6wse4On1.js';
1
+ export { T as TextField } from '../chunks/TextField-CQ4XYYNm.js';
2
2
  import '../chunks/tslib.es6-0pkUdtrF.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'motion/react';
@@ -11,12 +11,12 @@ import '../theme/elevations.js';
11
11
  import '../theme/type.js';
12
12
  import '../hooks/useObserveTheme.js';
13
13
  import '../hooks/useWindow.js';
14
- import '../chunks/_types-BaYeLEWK.js';
15
- import '../chunks/utils-BRZK2Drn.js';
16
- import '../chunks/IconButton-hJDuWiDh.js';
17
- import '../chunks/Badge-PPf5Uvw3.js';
14
+ import '../chunks/Button-BUJkJqdO.js';
15
+ import '../chunks/Badge-DtxDLSO0.js';
18
16
  import '../chunks/style-inject.es-tgCJW-Cu.js';
19
17
  import '../chunks/Dot-BZcEZbnm.js';
20
- import '../chunks/sharedTypes-BfZzG1KX.js';
21
- import '../chunks/UIButton-HssaFaip.js';
18
+ import '../chunks/_types-RJ7q8S0B.js';
19
+ import '../chunks/utils-CZ1LWeN6.js';
22
20
  import '../chunks/ProgressIndicator-uI9BZwBB.js';
21
+ import '../chunks/sharedTypes-BfZzG1KX.js';
22
+ import '../chunks/IconButton-3m9ugITV.js';
@@ -1,7 +1,7 @@
1
- export { T as Tip } from '../chunks/Tip-CeN0gy3B.js';
1
+ export { T as Tip } from '../chunks/Tip-iFECDhwN.js';
2
2
  import '../chunks/tslib.es6-0pkUdtrF.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'motion/react';
5
5
  import 'react';
6
- import '../chunks/utils-BRZK2Drn.js';
6
+ import '../chunks/utils-CZ1LWeN6.js';
7
7
  import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -1,4 +1,4 @@
1
- export { T as Toast, a as ToastType } from '../chunks/Toast-C9P_ptX5.js';
1
+ export { T as Toast, a as ToastType } from '../chunks/Toast-ZxMZtbd0.js';
2
2
  import '../chunks/tslib.es6-0pkUdtrF.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'motion/react';
@@ -11,6 +11,6 @@ import '../theme/elevations.js';
11
11
  import '../theme/type.js';
12
12
  import '../hooks/useObserveTheme.js';
13
13
  import '../hooks/useWindow.js';
14
- import '../chunks/utils-BRZK2Drn.js';
15
- import '../chunks/_types-BaYeLEWK.js';
14
+ import '../chunks/utils-CZ1LWeN6.js';
15
+ import '../chunks/_types-RJ7q8S0B.js';
16
16
  import '../chunks/style-inject.es-tgCJW-Cu.js';
@@ -5,5 +5,5 @@ export { useToolTip } from './useToolTip/useToolTip';
5
5
  export { type KeyboardShortcut, type KeyboardShortcuts, useKeyboardShortcuts, } from './useKeyboardShortcuts/useKeyboardShortcuts';
6
6
  export { useLastUpdated } from './useLastUpdated/useLastUpdated';
7
7
  export { useLocalStore } from './useLocalStore/useLocalStore';
8
- export { useWindow, FormFactor } from './useWindow/useWindow';
8
+ export { useWindow, FormFactor, type BreakPoints } from './useWindow/useWindow';
9
9
  export { useObserveResize } from './useObserveResize/useObserveResize';
@@ -1,5 +1,6 @@
1
1
  export interface KeyboardShortcut {
2
2
  key: string;
3
+ metaPressed?: boolean;
3
4
  name: string;
4
5
  }
5
6
  export type KeyboardShortcuts = KeyboardShortcut[];
@@ -1,9 +1,18 @@
1
+ /**
2
+ * Form factor names
3
+ */
1
4
  export declare enum FormFactor {
2
5
  Mobile = "mobile",
3
6
  Tablet = "tablet",
4
- Desktop = "desktop"
7
+ Desktop = "desktop",
8
+ DesktopL = "desktopL",
9
+ DesktopXL = "desktopXL"
5
10
  }
6
- export declare function useWindow(top?: boolean): {
11
+ /**
12
+ * Breakpoint type matching form factor to width value
13
+ */
14
+ export type BreakPoints = Record<FormFactor, number>;
15
+ export declare function useWindow(breakpoints?: BreakPoints, top?: boolean): {
7
16
  viewportWidth: number | null;
8
17
  viewportHeight: number | null;
9
18
  height: string;
@@ -2,15 +2,13 @@ export type { ToolTip, ToolTipInfo } from './uikit/sharedTypes';
2
2
  export { ToolTipType } from './uikit/sharedTypes';
3
3
  export { light, dark, lightTheme, darkTheme, elevations, Elevation, } from './theme';
4
4
  export type { SliceTheme, Colors, Type, Corners, Elevations, } from './theme';
5
- export { type KeyboardShortcut, type KeyboardShortcuts, useKeyboardShortcuts, useTheme, useObserveTheme, useToolTip, useLastUpdated, useLocalStore, useWindow, useDoubleClick, useObserveResize, } from './hooks';
5
+ export { type KeyboardShortcut, type KeyboardShortcuts, type BreakPoints, 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';
9
9
  export type { AvatarGroupProps, AvatarInfo } from './uikit/AvatarGroup';
10
10
  export { Badge } from './uikit/Badge';
11
11
  export type { BadgeProps } from './uikit/Badge';
12
- export { EditorButtonBar } from './uikit/EditorButtonBar';
13
- export type { EditorButtonBarProps } from './uikit/EditorButtonBar';
14
12
  export { IconButton } from './uikit/IconButton';
15
13
  export type { IconButtonProps } from './uikit/IconButton';
16
14
  export { CheckBox } from './uikit/CheckBox';
@@ -35,11 +33,10 @@ export { Overlay } from './uikit/Overlay';
35
33
  export type { OverlayProps } from './uikit/Overlay';
36
34
  export { FlexDiv } from './uikit/FlexDiv';
37
35
  export type { FlexDivProps } from './uikit/FlexDiv';
38
- export { MessageInput } from './uikit/MessageInput';
39
- export type { MessageInputProps, SendMessage, UploadDocument, } from './uikit/MessageInput';
40
- export type { PromptType, Role, } from './uikit/MessageInput/_types';
41
36
  export { Pager } from './uikit/Pager';
42
37
  export type { PagerProps } from './uikit/Pager';
38
+ export { PromptInput } from './uikit/PromptInput';
39
+ export type { PromptProps } from './uikit/PromptInput';
43
40
  export { DoneCheck, ProgressIndicator } from './uikit/Progress';
44
41
  export type { DoneCheckProps, ProgressIndicatorProps } from './uikit/Progress';
45
42
  export { RadioButton } from './uikit/RadioButton';
@@ -62,18 +59,17 @@ export { Tip } from './uikit/Tip';
62
59
  export type { ToolTipProps } from './uikit/Tip';
63
60
  export { Toast, ToastType } from './uikit/Toast';
64
61
  export type { ToastProps } from './uikit/Toast';
65
- export { UIButton } from './uikit/UIButton';
66
- export type { UIButtonProps, UIButtonHandle } from './uikit/UIButton';
67
- export { UIChip } from './uikit/UIChip';
68
- export type { UIChipProps } from './uikit/UIChip';
69
- export { Icon } from './uikit/Icon';
70
- export type { IconNames, IconProps } from './uikit/Icon/_types';
71
- export { UIButtonBar } from './uikit/UIButtonBar';
72
- export type { BarButton, UIButtonBarProps } from './uikit/UIButtonBar/_types';
73
- export { UICard } from './uikit/UICard';
74
- export type { UICardProps } from './uikit/UICard/_types';
75
- export { UIFileIcon } from './uikit/UIFileIcon';
76
- export type { UIFileIconProps } from './uikit/UIFileIcon';
77
- export type { UIFileIcons } from './uikit/UIFileIcon/_types';
78
- export { UILabel } from './uikit/UILabel';
79
- export type { UILabelProps } from './uikit/UILabel';
62
+ export { Button } from './uikit/Button';
63
+ export type { ButtonProps, ButtonHandle } from './uikit/Button';
64
+ export { Chip } from './uikit/Chip';
65
+ export type { ChipProps } from './uikit/Chip';
66
+ export { FileIcon, FileIconNames } from './uikit/FileIcon';
67
+ export type { FileIconProps } from './uikit/FileIcon/_types';
68
+ export { Icon, IconNames } from './uikit/Icon';
69
+ export type { IconProps } from './uikit/Icon/_types';
70
+ export { ButtonBar } from './uikit/ButtonBar';
71
+ export type { BarButton, ButtonBarProps } from './uikit/ButtonBar/_types';
72
+ export { Card } from './uikit/Card';
73
+ export type { CardProps } from './uikit/Card/_types';
74
+ export { Label } from './uikit/Label';
75
+ export type { LabelProps } from './uikit/Label';
@@ -2,6 +2,7 @@ import type React from 'react';
2
2
  import '../theme/colors/colors.css';
3
3
  import '../theme/elevations/elevation.css';
4
4
  import '../theme/type/type.css';
5
+ import '../theme/breakpoints/custom-media.css';
5
6
  interface ThemeProviderProps {
6
7
  children?: React.ReactNode;
7
8
  theme?: string;
@@ -1,2 +1,3 @@
1
1
  export * from './toast';
2
2
  export * from './tip';
3
+ export * from './window';
@@ -0,0 +1,28 @@
1
+ export type WindowStore = {
2
+ formFactor: FormFactor;
3
+ dpr: 1 | 2 | 3;
4
+ isAppleDevice: boolean;
5
+ isTouchDevice: boolean;
6
+ isElectron: boolean;
7
+ height: string;
8
+ viewportWidth: number;
9
+ viewportHeight: number;
10
+ actions: {
11
+ initialize: () => () => void;
12
+ };
13
+ };
14
+ /**
15
+ * Form factor names
16
+ */
17
+ export declare enum FormFactor {
18
+ Mobile = "mobile",
19
+ Tablet = "tablet",
20
+ Desktop = "desktop",
21
+ DesktopL = "desktopL",
22
+ DesktopXL = "desktopXL"
23
+ }
24
+ export type BreakPoints = Record<FormFactor, number>;
25
+ /**
26
+ * Use bootstrap breakpoints
27
+ */
28
+ export declare const bootstrapBreakPoints: BreakPoints;
@@ -0,0 +1,2 @@
1
+ export { useWindowStore } from './windowStore';
2
+ export { FormFactor, type BreakPoints, type WindowStore, } from './_types';
@@ -0,0 +1,17 @@
1
+ import { FormFactor, type WindowStore } from './_types';
2
+ export declare const useWindowStore: import("zustand").UseBoundStore<import("zustand").StoreApi<WindowStore>>;
3
+ export declare const useFormFactor: () => FormFactor;
4
+ export declare const useViewportWidth: () => number;
5
+ export declare const useViewportHeight: () => number;
6
+ export declare const useIsAppleDevice: () => boolean;
7
+ export declare const useIsTouchDevice: () => boolean;
8
+ export declare const useIsElectron: () => boolean;
9
+ export declare const useDpr: () => 2 | 1 | 3;
10
+ export declare const useInitializeWindow: () => () => () => void;
11
+ export declare const formFactor: () => FormFactor;
12
+ export declare const viewportWidth: () => number;
13
+ export declare const viewportHeight: () => number;
14
+ export declare const isAppleDevice: () => boolean;
15
+ export declare const isTouchDevice: () => boolean;
16
+ export declare const isElectron: () => boolean;
17
+ export declare const dpr: () => 2 | 1 | 3;
@@ -11,10 +11,15 @@ export type Type = {
11
11
  'body-l-regular': string;
12
12
  'body-l-medium': string;
13
13
  'body-l-bold': string;
14
+ 'body-xl-regular': string;
15
+ 'body-xl-medium': string;
16
+ 'body-xl-bold': string;
14
17
  'heading-s-bold': string;
15
18
  'heading-s-medium': string;
16
19
  'heading-m-bold': string;
17
20
  'heading-m-medium': string;
18
21
  'heading-l-bold': string;
19
22
  'heading-l-medium': string;
23
+ 'heading-xl-bold': string;
24
+ 'heading-xl-medium': string;
20
25
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ToolTip } from '../sharedTypes';
3
- import type { UIButtonHandle } from './_types';
4
- export declare const UIButton: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
3
+ import type { ButtonHandle } from './_types';
4
+ export declare const Button: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
5
5
  size?: "large" | "medium" | "text";
6
6
  variant?: "solid" | "outline" | "text";
7
7
  state?: "normal" | "hover" | "disabled";
@@ -71,4 +71,4 @@ export declare const UIButton: React.NamedExoticComponent<Omit<React.HTMLAttribu
71
71
  paddingLeft?: number;
72
72
  onToolTip?: (tip: ToolTip | null) => void;
73
73
  onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent> | undefined) => void;
74
- } & React.RefAttributes<UIButtonHandle>>;
74
+ } & React.RefAttributes<ButtonHandle>>;
@@ -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
- type UIButtonBaseProps = {
4
+ type ButtonBaseProps = {
5
5
  size?: 'large' | 'medium' | 'text';
6
6
  variant?: 'solid' | 'outline' | 'text';
7
7
  state?: 'normal' | 'hover' | 'disabled';
@@ -37,8 +37,8 @@ type UIButtonBaseProps = {
37
37
  onToolTip?: (tip: ToolTip | null) => void;
38
38
  onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent> | undefined) => void;
39
39
  };
40
- export type UIButtonProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof UIButtonBaseProps> & UIButtonBaseProps;
41
- export interface UIButtonHandle {
40
+ export type ButtonProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ButtonBaseProps> & ButtonBaseProps;
41
+ export interface ButtonHandle {
42
42
  triggerClick: () => void;
43
43
  }
44
44
  export {};
@@ -0,0 +1,2 @@
1
+ export { Button } from './Button';
2
+ export type { ButtonHandle, ButtonProps } from './_types';
@@ -0,0 +1,2 @@
1
+ import type { ButtonBarProps } from './_types';
2
+ export declare function ButtonBar(props: Readonly<ButtonBarProps>): import("react/jsx-runtime").JSX.Element;
@@ -6,12 +6,12 @@ export type BarButton = {
6
6
  label?: string;
7
7
  tip: string;
8
8
  };
9
- type UIButtonBarBaseProps = {
9
+ type ButtonBarBaseProps = {
10
10
  options?: BarButton[];
11
11
  label?: string;
12
12
  current?: number;
13
13
  onChange?: (option: BarButton) => void;
14
14
  onToolTip?: (tip: ToolTip | null) => void;
15
15
  };
16
- export type UIButtonBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof UIButtonBarBaseProps> & UIButtonBarBaseProps;
16
+ export type ButtonBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ButtonBarBaseProps> & ButtonBarBaseProps;
17
17
  export {};
@@ -0,0 +1,2 @@
1
+ export { ButtonBar } from './ButtonBar';
2
+ export type { BarButton, ButtonBarProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { CardProps } from './_types';
3
+ export declare const Card: React.NamedExoticComponent<Readonly<CardProps>>;
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- type UICardBaseProps = {
2
+ type CardBaseProps = {
3
3
  id?: string;
4
4
  icon?: string;
5
5
  label?: string;
@@ -10,5 +10,5 @@ type UICardBaseProps = {
10
10
  command?: string;
11
11
  }) => void;
12
12
  };
13
- export type UICardProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof UICardBaseProps> & UICardBaseProps;
13
+ export type CardProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof CardBaseProps> & CardBaseProps;
14
14
  export {};
@@ -0,0 +1,2 @@
1
+ export { Card } from './Card';
2
+ export type { CardProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { ChipProps } from './_types';
3
+ export declare const Chip: React.MemoExoticComponent<(props: ChipProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,7 +1,7 @@
1
1
  import type React from 'react';
2
2
  import type { IconNames } from '../Icon/_types';
3
3
  import type { ToolTip } from '../sharedTypes';
4
- type UIChipBaseProps = {
4
+ type ChipBaseProps = {
5
5
  label?: string;
6
6
  icon?: IconNames | string;
7
7
  disabled?: boolean;
@@ -17,5 +17,5 @@ type UIChipBaseProps = {
17
17
  onClick?: (e: React.MouseEvent<HTMLDivElement> | undefined) => void;
18
18
  onMouseDown?: (e: React.MouseEvent<HTMLDivElement> | undefined) => void;
19
19
  };
20
- export type UIChipProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof UIChipBaseProps> & UIChipBaseProps;
20
+ export type ChipProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof ChipBaseProps> & ChipBaseProps;
21
21
  export {};
@@ -0,0 +1,3 @@
1
+ import { Chip } from './Chip';
2
+ export { Chip };
3
+ export type { ChipProps } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FileIconProps } from './_types';
3
+ export declare const FileIcon: React.MemoExoticComponent<(props: FileIconProps) => import("react/jsx-runtime").JSX.Element | null>;
@@ -0,0 +1,27 @@
1
+ import type React from 'react';
2
+ type FileIconBaseProps = {
3
+ name?: string;
4
+ size?: number;
5
+ pointer?: boolean;
6
+ disabled?: boolean;
7
+ onClick?: (e: React.MouseEvent<SVGElement, MouseEvent> | React.KeyboardEvent<SVGSVGElement>) => void;
8
+ };
9
+ export type FileIconProps = Omit<React.SVGAttributes<SVGSVGElement>, keyof FileIconBaseProps> & FileIconBaseProps;
10
+ export declare enum FileIconNames {
11
+ pdf = "pdf",
12
+ text = "text",
13
+ sheet = "sheet",
14
+ preso = "preso",
15
+ md = "md",
16
+ code = "code",
17
+ image = "image",
18
+ audio = "audio",
19
+ video = "video",
20
+ other = "other"
21
+ }
22
+ type Scheme = {
23
+ dark: string;
24
+ light: string;
25
+ };
26
+ export declare const iconColorSchemes: Record<string, Scheme>;
27
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { JSX } from 'react';
2
+ export declare const STATIC_FILE_ICONS: Map<string, {
3
+ paths: (theme: "dark" | "light") => JSX.Element;
4
+ }>;
@@ -0,0 +1,3 @@
1
+ export { FileIcon } from './FileIcon';
2
+ export type { FileIconProps } from './_types';
3
+ export { FileIconNames } from './_types';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import type { FileListProps } from './_types';
3
+ export declare const FileList: React.MemoExoticComponent<(props: FileListProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,23 @@
1
+ import type React from 'react';
2
+ import type { ToolTip } from '../sharedTypes';
3
+ export type FileItem = {
4
+ file: File | string;
5
+ uploading?: boolean;
6
+ progress?: number;
7
+ error?: string;
8
+ };
9
+ type FileListBaseProps = {
10
+ files?: FileItem[];
11
+ direction?: 'row' | 'column';
12
+ gap?: number;
13
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
14
+ maxWidth?: number | string;
15
+ minWidth?: number | string;
16
+ padding?: number | string;
17
+ iconSize?: number;
18
+ onChange?: (files: FileItem[]) => void;
19
+ bgColor?: string;
20
+ onToolTip?: (tip: ToolTip | null) => void;
21
+ };
22
+ export type FileListProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof FileListBaseProps> & FileListBaseProps;
23
+ export {};
@@ -0,0 +1,2 @@
1
+ export { FileList } from './FileList';
2
+ export type { FileListProps, FileItem } from './_types';
@@ -0,0 +1,2 @@
1
+ import type { LabelProps } from './_types';
2
+ export declare function Label(props: Readonly<LabelProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- type UILabelBaseProps = {
2
+ type LabelBaseProps = {
3
3
  children?: React.ReactNode;
4
4
  state?: 'red' | 'yellow' | 'green' | 'blue' | 'grey' | 'lightgrey' | 'white';
5
5
  noFill?: boolean;
@@ -7,9 +7,10 @@ type UILabelBaseProps = {
7
7
  button?: boolean;
8
8
  border?: number;
9
9
  padding?: number | string;
10
+ inline?: boolean;
10
11
  color?: string;
11
12
  size?: 's' | 'm' | 'l';
12
13
  onClick?: (e: React.MouseEvent<any>) => void;
13
14
  };
14
- export type UILabelProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof UILabelBaseProps> & UILabelBaseProps;
15
+ export type LabelProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof LabelBaseProps> & LabelBaseProps;
15
16
  export {};
@@ -0,0 +1,2 @@
1
+ export { Label } from './Label';
2
+ export type { LabelProps } from './_types';
@@ -0,0 +1,63 @@
1
+ import React from 'react';
2
+ import { type FileItem } from '../FileList';
3
+ export declare const PromptInput: React.NamedExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof {
4
+ attachments?: FileItem[];
5
+ children?: React.ReactNode;
6
+ value?: string;
7
+ maxHeight?: string | number;
8
+ working?: boolean;
9
+ borderStyle?: "solid" | "gradient" | "none";
10
+ borderWidth?: number;
11
+ borderColor?: string | number;
12
+ borderColorOn?: string | number;
13
+ borderAnimate?: boolean;
14
+ borderRadius?: number;
15
+ placeholder?: string;
16
+ placeholderWorking?: string;
17
+ focused?: boolean;
18
+ submitClears?: boolean;
19
+ submitEnablesStop?: boolean;
20
+ enterSubmits?: boolean;
21
+ sendButton?: boolean;
22
+ attachButton?: boolean;
23
+ stopEnabled?: boolean;
24
+ maxLength?: number;
25
+ toolbarGap?: number;
26
+ textSize?: "s" | "m" | "l";
27
+ onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
28
+ onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
29
+ onBlur?: (value: string | undefined, attachments?: FileItem[]) => void;
30
+ onFocus?: (value: string | undefined, attachments?: FileItem[]) => void;
31
+ onStop?: () => void;
32
+ onAttachmentsChange?: (attachments: FileItem[]) => void;
33
+ }> & {
34
+ attachments?: FileItem[];
35
+ children?: React.ReactNode;
36
+ value?: string;
37
+ maxHeight?: string | number;
38
+ working?: boolean;
39
+ borderStyle?: "solid" | "gradient" | "none";
40
+ borderWidth?: number;
41
+ borderColor?: string | number;
42
+ borderColorOn?: string | number;
43
+ borderAnimate?: boolean;
44
+ borderRadius?: number;
45
+ placeholder?: string;
46
+ placeholderWorking?: string;
47
+ focused?: boolean;
48
+ submitClears?: boolean;
49
+ submitEnablesStop?: boolean;
50
+ enterSubmits?: boolean;
51
+ sendButton?: boolean;
52
+ attachButton?: boolean;
53
+ stopEnabled?: boolean;
54
+ maxLength?: number;
55
+ toolbarGap?: number;
56
+ textSize?: "s" | "m" | "l";
57
+ onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
58
+ onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
59
+ onBlur?: (value: string | undefined, attachments?: FileItem[]) => void;
60
+ onFocus?: (value: string | undefined, attachments?: FileItem[]) => void;
61
+ onStop?: () => void;
62
+ onAttachmentsChange?: (attachments: FileItem[]) => void;
63
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,35 @@
1
+ import type React from 'react';
2
+ import type { FileItem } from '../FileList';
3
+ type BasePromptProps = {
4
+ attachments?: FileItem[];
5
+ children?: React.ReactNode;
6
+ value?: string;
7
+ maxHeight?: string | number;
8
+ working?: boolean;
9
+ borderStyle?: 'solid' | 'gradient' | 'none';
10
+ borderWidth?: number;
11
+ borderColor?: string | number;
12
+ borderColorOn?: string | number;
13
+ borderAnimate?: boolean;
14
+ borderRadius?: number;
15
+ placeholder?: string;
16
+ placeholderWorking?: string;
17
+ focused?: boolean;
18
+ submitClears?: boolean;
19
+ submitEnablesStop?: boolean;
20
+ enterSubmits?: boolean;
21
+ sendButton?: boolean;
22
+ attachButton?: boolean;
23
+ stopEnabled?: boolean;
24
+ maxLength?: number;
25
+ toolbarGap?: number;
26
+ textSize?: 's' | 'm' | 'l';
27
+ onChange?: (value: string | undefined, attachments?: FileItem[]) => void;
28
+ onSubmit?: (value: string | undefined, attachments?: FileItem[]) => void;
29
+ onBlur?: (value: string | undefined, attachments?: FileItem[]) => void;
30
+ onFocus?: (value: string | undefined, attachments?: FileItem[]) => void;
31
+ onStop?: () => void;
32
+ onAttachmentsChange?: (attachments: FileItem[]) => void;
33
+ };
34
+ export type PromptProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof BasePromptProps> & BasePromptProps;
35
+ export {};
@@ -0,0 +1,2 @@
1
+ export { PromptInput } from './PromptInput';
2
+ export type { PromptProps } from './_types';
@@ -0,0 +1,9 @@
1
+ export declare function nameAndExtension(fileName: string): {
2
+ name: string;
3
+ ext: string;
4
+ };
5
+ export declare function fileIconName(extension: string): "other" | "text" | "sheet" | "image" | "code" | "pdf" | "md" | "preso" | "audio" | "video" | "clipboard";
6
+ /**
7
+ * Create a text file from clipboard content placing a clipboard file extension
8
+ */
9
+ export declare function clipboardTextToFile(content: string, fileName?: string): File;
@@ -43,3 +43,7 @@ export declare function filterClasses(classNames: string[]): string;
43
43
  * Takes a style string or number and returns a valid CSS style string
44
44
  */
45
45
  export declare function setStyle(value: string | number | undefined, defaultVal?: number | string | undefined): string;
46
+ /**
47
+ * Copy to clipboard
48
+ */
49
+ export declare const copyToClipboard: (rawContent: string) => Promise<boolean>;