@apple-pie/slice 0.1.26 → 0.1.29

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 (196) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Bqb2Jexf.js → AudioBubble-DisHuKIC.js} +1 -1
  2. package/dist/cjs/chunks/{Avatar-Dg8ZHnw6.js → Avatar-vIquH-Uk.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-F8eSiMwn.js → AvatarGroup-DYN73N5x.js} +1 -1
  4. package/dist/cjs/chunks/{Button-D3wZtdtj.js → Button-B1qbfQgN.js} +10 -8
  5. package/dist/cjs/chunks/{ButtonBar-EH8fHFhS.js → ButtonBar-zpC3sClM.js} +1 -1
  6. package/dist/cjs/chunks/{Camera-BnsGhOrt.js → Camera-CCzynmXT.js} +2 -2
  7. package/dist/cjs/chunks/{CheckBox-CEWLxffo.js → CheckBox-DNctUlTA.js} +1 -1
  8. package/dist/cjs/chunks/{Chip-BrQgOmJc.js → Chip-BN4qBz6w.js} +1 -1
  9. package/dist/cjs/chunks/{DivInput-DWPwVUs_.js → DivInput-932r3bvF.js} +1 -1
  10. package/dist/cjs/chunks/{DrggablePanel-Duv0nmOm.js → DrggablePanel-u8C-Y4dA.js} +16 -13
  11. package/dist/cjs/chunks/{DropDown-Bf_pm-Go.js → DropDown-BZbrZOkx.js} +17 -14
  12. package/dist/cjs/chunks/{FileIcon-DgRlhqzv.js → FileIcon-Dxn9OL10.js} +1 -1
  13. package/dist/cjs/chunks/{FileList-DobAcOSH.js → FileList-D5_igVaC.js} +1 -1
  14. package/dist/cjs/chunks/{FlexDiv-C-3ahI-j.js → FlexDiv-D4aSJC_G.js} +61 -21
  15. package/dist/cjs/chunks/{Grouper-D9G8PKoM.js → Grouper-D6rSl9nK.js} +1 -1
  16. package/dist/cjs/chunks/{Icon-fRM3E0N6.js → Icon-BFiN8Wzm.js} +267 -12
  17. package/dist/cjs/chunks/{IconButton-Cf2RBUKA.js → IconButton-Cv-po19M.js} +14 -11
  18. package/dist/cjs/chunks/{Label-Bxp2pCXf.js → Label-BQ6flU4-.js} +1 -1
  19. package/dist/cjs/chunks/{MdStreamBuffer-DObxjnAm.js → MdStreamBuffer-CvLO7CVi.js} +37 -3
  20. package/dist/cjs/chunks/{Pager-DO197OyC.js → Pager-GH2y7l5h.js} +1 -1
  21. package/dist/cjs/chunks/{ProgressIndicator-t-jv4OhI.js → ProgressIndicator-7pLk4Dvn.js} +1 -1
  22. package/dist/cjs/chunks/{PromptInput-B1WG22xz.js → PromptInput-C8-V67sS.js} +1 -1
  23. package/dist/cjs/chunks/{RadioButton-BAIMCshV.js → RadioButton-3CzhKBn6.js} +1 -1
  24. package/dist/cjs/chunks/{RadioButtonList-Bsg5oFaC.js → RadioButtonList-DvJV6Qdg.js} +1 -1
  25. package/dist/cjs/chunks/{Slider-BAcaZUs2.js → Slider-D8OYGFsN.js} +25 -28
  26. package/dist/cjs/chunks/{TabBar-BfyfjmPQ.js → TabBar-VzxuAesC.js} +10 -7
  27. package/dist/cjs/chunks/{TextArea-CHNWsfWH.js → TextArea-CBNHvcK3.js} +1 -1
  28. package/dist/cjs/chunks/{TextField-2xzSdIx3.js → TextField-BpoLF6pZ.js} +6 -6
  29. package/dist/cjs/chunks/{Tip-DceuNR6k.js → Tip-CUKFhP9K.js} +2 -2
  30. package/dist/cjs/chunks/{Toast-C8Hc9ZKI.js → Toast-CKqGjsEk.js} +7 -6
  31. package/dist/cjs/chunks/ToggleButton-BdCsChJM.js +40 -0
  32. package/dist/cjs/chunks/{UploadArea-UFWRQ-nW.js → UploadArea-M9oc-No2.js} +1 -1
  33. package/dist/cjs/chunks/{_types-VoADvwjb.js → _types-Bdqd2vHh.js} +15 -3
  34. package/dist/cjs/chunks/microphoneStore-D1fV_8QQ.js +141 -0
  35. package/dist/cjs/chunks/{misc-BTF7BCZW.js → misc-CTl4GDxI.js} +2 -2
  36. package/dist/cjs/chunks/volumeStore-oYwlRVN0.js +95 -0
  37. package/dist/cjs/components/AudioBubble/index.js +7 -7
  38. package/dist/cjs/components/Avatar/index.js +2 -2
  39. package/dist/cjs/components/AvatarGroup/index.js +2 -2
  40. package/dist/cjs/components/Button/index.js +7 -6
  41. package/dist/cjs/components/ButtonBar/index.js +7 -7
  42. package/dist/cjs/components/Camera/index.js +8 -8
  43. package/dist/cjs/components/CheckBox/index.js +7 -7
  44. package/dist/cjs/components/Chip/index.js +8 -7
  45. package/dist/cjs/components/DivInput/index.js +2 -2
  46. package/dist/cjs/components/DraggablePanel/index.js +6 -6
  47. package/dist/cjs/components/DropDown/index.js +7 -7
  48. package/dist/cjs/components/ErrorSummary/index.js +2 -2
  49. package/dist/cjs/components/FileIcon/index.js +7 -6
  50. package/dist/cjs/components/FileList/index.js +7 -7
  51. package/dist/cjs/components/FlexDiv/index.js +1 -1
  52. package/dist/cjs/components/Grouper/index.js +4 -4
  53. package/dist/cjs/components/Icon/index.js +7 -6
  54. package/dist/cjs/components/IconButton/index.js +7 -6
  55. package/dist/cjs/components/Label/index.js +2 -2
  56. package/dist/cjs/components/Pager/index.js +2 -2
  57. package/dist/cjs/components/Progress/index.js +4 -4
  58. package/dist/cjs/components/PromptInput/index.js +7 -7
  59. package/dist/cjs/components/RadioButton/index.js +7 -7
  60. package/dist/cjs/components/RadioButtonList/index.js +4 -4
  61. package/dist/cjs/components/Slider/index.js +2 -2
  62. package/dist/cjs/components/TabBar/index.js +9 -9
  63. package/dist/cjs/components/TextArea/index.js +7 -7
  64. package/dist/cjs/components/Textfield/index.js +6 -6
  65. package/dist/cjs/components/Tip/index.js +2 -2
  66. package/dist/cjs/components/Toast/index.js +4 -4
  67. package/dist/cjs/components/ToggleButton/index.js +13 -0
  68. package/dist/cjs/components/UploadArea/index.js +7 -7
  69. package/dist/cjs/hooks/useMdStreamBuffer.js +1 -1
  70. package/dist/cjs/hooks/useMicrophone.js +71 -21
  71. package/dist/cjs/hooks/useTheme.js +25 -16
  72. package/dist/cjs/hooks/useToolTip.js +9 -6
  73. package/dist/cjs/hooks/useTrackRenders.js +1 -1
  74. package/dist/cjs/hooks.js +4 -4
  75. package/dist/cjs/index.js +6 -6
  76. package/dist/cjs/providers/ThemeProvider.js +37 -20
  77. package/dist/cjs/stores/microphone.js +14 -0
  78. package/dist/cjs/stores/volume.js +10 -0
  79. package/dist/cjs/stores.js +16 -2
  80. package/dist/cjs/theme/colors.js +8 -2
  81. package/dist/cjs/utils/index.js +1 -1
  82. package/dist/cjs/utils/objects/index.js +1 -1
  83. package/dist/esm/chunks/{AudioBubble-DZfzkdlq.mjs → AudioBubble-D052QyPH.mjs} +1 -1
  84. package/dist/esm/chunks/{Avatar-m5-zleDk.mjs → Avatar-Ds6MWC2c.mjs} +1 -1
  85. package/dist/esm/chunks/{AvatarGroup-DlgP4lTS.mjs → AvatarGroup-CBGi99eo.mjs} +1 -1
  86. package/dist/esm/chunks/{Button-YER9dCLE.mjs → Button-CYFpitCp.mjs} +11 -9
  87. package/dist/esm/chunks/{ButtonBar-BH4pcEpN.mjs → ButtonBar-ieMA0SHi.mjs} +2 -2
  88. package/dist/esm/chunks/{Camera-BJJpDuuA.mjs → Camera-jn9CcaD0.mjs} +3 -3
  89. package/dist/esm/chunks/{CheckBox-Cf2l3-D9.mjs → CheckBox-CoOmnGWD.mjs} +2 -2
  90. package/dist/esm/chunks/{Chip-DWp7p2BF.mjs → Chip-ClG6cUX0.mjs} +2 -2
  91. package/dist/esm/chunks/{DivInput-WJltaCra.mjs → DivInput-BVhcU0y0.mjs} +1 -1
  92. package/dist/esm/chunks/{DrggablePanel-DA7pYWg6.mjs → DrggablePanel-G5HHlntD.mjs} +16 -13
  93. package/dist/esm/chunks/{DropDown-BQ2tNN3_.mjs → DropDown-AuQW_DWv.mjs} +18 -15
  94. package/dist/esm/chunks/{FileIcon-Cufsp1gn.mjs → FileIcon-fJV_Cl6v.mjs} +1 -1
  95. package/dist/esm/chunks/{FileList-BQ9X5YnB.mjs → FileList-CxHaEEUi.mjs} +4 -4
  96. package/dist/esm/chunks/{FlexDiv-BFrVoFhC.mjs → FlexDiv-DnY1_qk4.mjs} +62 -22
  97. package/dist/esm/chunks/{Grouper-CvPYEsF_.mjs → Grouper-CyWZ8tfm.mjs} +1 -1
  98. package/dist/esm/chunks/{Icon-DI32kOA1.mjs → Icon-BOJAk-hM.mjs} +267 -12
  99. package/dist/esm/chunks/{IconButton-Dciw5CLn.mjs → IconButton-Ck0IMn4i.mjs} +14 -11
  100. package/dist/esm/chunks/{Label-CvCDAg1y.mjs → Label-DSfCcKtQ.mjs} +1 -1
  101. package/dist/esm/chunks/{MdStreamBuffer-DNXE4XbN.mjs → MdStreamBuffer-By7pHJQL.mjs} +37 -3
  102. package/dist/esm/chunks/{Pager-BoDLaKFh.mjs → Pager-ByJ2Cr0n.mjs} +1 -1
  103. package/dist/esm/chunks/{ProgressIndicator-CB_oazMD.mjs → ProgressIndicator-d2JGUDW_.mjs} +1 -1
  104. package/dist/esm/chunks/{PromptInput-plgRiAb7.mjs → PromptInput-COJnOFZf.mjs} +2 -2
  105. package/dist/esm/chunks/{RadioButton-B6ImCUYY.mjs → RadioButton-BB73OY2a.mjs} +2 -2
  106. package/dist/esm/chunks/{RadioButtonList-Cf6gk8yp.mjs → RadioButtonList-XqlqadYn.mjs} +2 -2
  107. package/dist/esm/chunks/{Slider-Cav86rU6.mjs → Slider-CU0Zdlpu.mjs} +25 -28
  108. package/dist/esm/chunks/{TabBar-0zpJ9GtN.mjs → TabBar-v8Dp4dr-.mjs} +11 -8
  109. package/dist/esm/chunks/{TextArea-B64bIPHm.mjs → TextArea-DGF43RON.mjs} +1 -1
  110. package/dist/esm/chunks/{TextField-BZeoN_ye.mjs → TextField-j4q0RUzH.mjs} +8 -8
  111. package/dist/esm/chunks/{Tip-C5LB54J9.mjs → Tip-Bj9d-230.mjs} +2 -2
  112. package/dist/esm/chunks/{Toast-Bl4s4tRo.mjs → Toast-CoioLlEG.mjs} +7 -6
  113. package/dist/esm/chunks/ToggleButton-CwTm8Yx0.mjs +51 -0
  114. package/dist/esm/chunks/{UploadArea-D3g2g1LK.mjs → UploadArea-DAwoJxtr.mjs} +4 -4
  115. package/dist/esm/chunks/{_types-DeEhv4Y5.mjs → _types-BVrr_Khp.mjs} +15 -3
  116. package/dist/esm/chunks/microphoneStore-Dr3lxoWX.mjs +135 -0
  117. package/dist/esm/chunks/{misc-BeEWwOaJ.mjs → misc-Bjbro8Xe.mjs} +2 -2
  118. package/dist/esm/chunks/volumeStore-GZnCDBMU.mjs +90 -0
  119. package/dist/esm/components/AudioBubble/index.mjs +5 -5
  120. package/dist/esm/components/Avatar/index.mjs +2 -2
  121. package/dist/esm/components/AvatarGroup/index.mjs +3 -3
  122. package/dist/esm/components/Button/index.mjs +6 -6
  123. package/dist/esm/components/ButtonBar/index.mjs +7 -7
  124. package/dist/esm/components/Camera/index.mjs +8 -8
  125. package/dist/esm/components/CheckBox/index.mjs +7 -7
  126. package/dist/esm/components/Chip/index.mjs +7 -7
  127. package/dist/esm/components/DivInput/index.mjs +2 -2
  128. package/dist/esm/components/DraggablePanel/index.mjs +6 -6
  129. package/dist/esm/components/DropDown/index.mjs +7 -7
  130. package/dist/esm/components/ErrorSummary/index.mjs +4 -4
  131. package/dist/esm/components/FileIcon/index.mjs +6 -6
  132. package/dist/esm/components/FileList/index.mjs +9 -9
  133. package/dist/esm/components/FlexDiv/index.mjs +1 -1
  134. package/dist/esm/components/Grouper/index.mjs +7 -7
  135. package/dist/esm/components/Icon/index.mjs +7 -7
  136. package/dist/esm/components/IconButton/index.mjs +5 -5
  137. package/dist/esm/components/Label/index.mjs +2 -2
  138. package/dist/esm/components/Pager/index.mjs +2 -2
  139. package/dist/esm/components/Progress/index.mjs +7 -7
  140. package/dist/esm/components/PromptInput/index.mjs +11 -11
  141. package/dist/esm/components/RadioButton/index.mjs +7 -7
  142. package/dist/esm/components/RadioButtonList/index.mjs +8 -8
  143. package/dist/esm/components/Slider/index.mjs +2 -2
  144. package/dist/esm/components/TabBar/index.mjs +8 -8
  145. package/dist/esm/components/TextArea/index.mjs +7 -7
  146. package/dist/esm/components/Textfield/index.mjs +10 -10
  147. package/dist/esm/components/Tip/index.mjs +2 -2
  148. package/dist/esm/components/Toast/index.mjs +7 -7
  149. package/dist/esm/components/ToggleButton/index.mjs +45 -0
  150. package/dist/esm/components/UploadArea/index.mjs +10 -10
  151. package/dist/esm/hooks/useMdStreamBuffer.mjs +1 -1
  152. package/dist/esm/hooks/useMicrophone.mjs +71 -21
  153. package/dist/esm/hooks/useTheme.mjs +26 -15
  154. package/dist/esm/hooks/useToolTip.mjs +9 -6
  155. package/dist/esm/hooks/useTrackRenders.mjs +1 -1
  156. package/dist/esm/hooks.mjs +7 -7
  157. package/dist/esm/index.mjs +35 -33
  158. package/dist/esm/providers/ThemeProvider.mjs +38 -21
  159. package/dist/esm/stores/microphone.mjs +7 -0
  160. package/dist/esm/stores/volume.mjs +5 -0
  161. package/dist/esm/stores.mjs +4 -0
  162. package/dist/esm/theme/colors.mjs +8 -2
  163. package/dist/esm/utils/index.mjs +2 -2
  164. package/dist/esm/utils/objects/index.mjs +1 -1
  165. package/dist/types/components/Button/Button.d.ts +2 -0
  166. package/dist/types/components/Button/_types.d.ts +1 -0
  167. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +1 -2
  168. package/dist/types/components/DropDown/_types.d.ts +1 -0
  169. package/dist/types/components/FlexDiv/FlexDiv.d.ts +2 -0
  170. package/dist/types/components/FlexDiv/_types.d.ts +35 -7
  171. package/dist/types/components/Icon/_types.d.ts +13 -0
  172. package/dist/types/components/IconButton/_types.d.ts +1 -0
  173. package/dist/types/components/Slider/_types.d.ts +5 -0
  174. package/dist/types/components/TabBar/_types.d.ts +2 -0
  175. package/dist/types/components/Toast/_types.d.ts +1 -0
  176. package/dist/types/components/ToggleButton/ToggleButton.d.ts +2 -0
  177. package/dist/types/components/ToggleButton/_types.d.ts +24 -0
  178. package/dist/types/components/ToggleButton/index.d.ts +2 -0
  179. package/dist/types/hooks/useMicrophone/useMicrophone.d.ts +6 -1
  180. package/dist/types/hooks/useTheme/useTheme.d.ts +5 -1
  181. package/dist/types/hooks/useWindow/useWindow.d.ts +1 -1
  182. package/dist/types/index.d.ts +2 -0
  183. package/dist/types/providers/ThemeProvider.d.ts +2 -0
  184. package/dist/types/stores/index.d.ts +2 -0
  185. package/dist/types/stores/microphone/_types.d.ts +32 -0
  186. package/dist/types/stores/microphone/index.d.ts +2 -0
  187. package/dist/types/stores/microphone/microphoneStore.d.ts +27 -0
  188. package/dist/types/stores/volume/_types.d.ts +19 -0
  189. package/dist/types/stores/volume/index.d.ts +3 -0
  190. package/dist/types/stores/volume/volumeStore.d.ts +32 -0
  191. package/dist/types/stores/window/windowStore.d.ts +2 -2
  192. package/dist/types/theme/colors/types.d.ts +3 -0
  193. package/dist/types/utils/functions/misc.d.ts +1 -1
  194. package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.d.ts +3 -0
  195. package/dist/types/utils/objects/MDStreamBuffer/_types.d.ts +1 -0
  196. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export { T as TextArea } from "../../chunks/TextArea-B64bIPHm.mjs";
1
+ export { T as TextArea } from "../../chunks/TextArea-DGF43RON.mjs";
2
2
 
3
3
  import "../../chunks/tslib.es6-C-olHjXV.mjs";
4
4
 
@@ -6,7 +6,7 @@ import "react/jsx-runtime";
6
6
 
7
7
  import "react";
8
8
 
9
- import "../../chunks/Button-YER9dCLE.mjs";
9
+ import "../../chunks/Button-CYFpitCp.mjs";
10
10
 
11
11
  import "motion/react";
12
12
 
@@ -16,10 +16,12 @@ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
16
16
 
17
17
  import "../../chunks/Dot-DZE134mJ.mjs";
18
18
 
19
- import "../../chunks/Icon-DI32kOA1.mjs";
19
+ import "../../chunks/Icon-BOJAk-hM.mjs";
20
20
 
21
21
  import "../../hooks/useTheme.mjs";
22
22
 
23
+ import "../../providers/ThemeProvider.mjs";
24
+
23
25
  import "../../theme/themes.mjs";
24
26
 
25
27
  import "../../theme/colors.mjs";
@@ -34,12 +36,10 @@ import "../../theme/type.mjs";
34
36
 
35
37
  import "../../hooks/useObserveTheme.mjs";
36
38
 
37
- import "../../providers/ThemeProvider.mjs";
38
-
39
- import "../../chunks/misc-BeEWwOaJ.mjs";
39
+ import "../../chunks/misc-Bjbro8Xe.mjs";
40
40
 
41
41
  import "../../hooks/useWindow.mjs";
42
42
 
43
- import "../../chunks/ProgressIndicator-CB_oazMD.mjs";
43
+ import "../../chunks/ProgressIndicator-d2JGUDW_.mjs";
44
44
 
45
45
  import "../../chunks/sharedTypes-tn9-uJvb.mjs";
@@ -1,4 +1,4 @@
1
- export { T as TextField } from "../../chunks/TextField-BZeoN_ye.mjs";
1
+ export { T as TextField } from "../../chunks/TextField-j4q0RUzH.mjs";
2
2
 
3
3
  import "../../chunks/tslib.es6-C-olHjXV.mjs";
4
4
 
@@ -10,6 +10,10 @@ import "react";
10
10
 
11
11
  import "../../hooks/useTheme.mjs";
12
12
 
13
+ import "../../providers/ThemeProvider.mjs";
14
+
15
+ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
16
+
13
17
  import "../../theme/themes.mjs";
14
18
 
15
19
  import "../../theme/colors.mjs";
@@ -24,24 +28,20 @@ import "../../theme/type.mjs";
24
28
 
25
29
  import "../../hooks/useObserveTheme.mjs";
26
30
 
27
- import "../../providers/ThemeProvider.mjs";
28
-
29
- import "../../chunks/style-inject.es-D0BjEaN8.mjs";
30
-
31
- import "../../chunks/misc-BeEWwOaJ.mjs";
31
+ import "../../chunks/misc-Bjbro8Xe.mjs";
32
32
 
33
33
  import "../../hooks/useWindow.mjs";
34
34
 
35
- import "../../chunks/Button-YER9dCLE.mjs";
35
+ import "../../chunks/Button-CYFpitCp.mjs";
36
36
 
37
37
  import "../../chunks/Badge-CC0zSLMf.mjs";
38
38
 
39
39
  import "../../chunks/Dot-DZE134mJ.mjs";
40
40
 
41
- import "../../chunks/Icon-DI32kOA1.mjs";
41
+ import "../../chunks/Icon-BOJAk-hM.mjs";
42
42
 
43
- import "../../chunks/ProgressIndicator-CB_oazMD.mjs";
43
+ import "../../chunks/ProgressIndicator-d2JGUDW_.mjs";
44
44
 
45
45
  import "../../chunks/sharedTypes-tn9-uJvb.mjs";
46
46
 
47
- import "../../chunks/IconButton-Dciw5CLn.mjs";
47
+ import "../../chunks/IconButton-Ck0IMn4i.mjs";
@@ -1,4 +1,4 @@
1
- export { T as Tip } from "../../chunks/Tip-C5LB54J9.mjs";
1
+ export { T as Tip } from "../../chunks/Tip-Bj9d-230.mjs";
2
2
 
3
3
  import "../../chunks/tslib.es6-C-olHjXV.mjs";
4
4
 
@@ -8,6 +8,6 @@ import "motion/react";
8
8
 
9
9
  import "react";
10
10
 
11
- import "../../chunks/misc-BeEWwOaJ.mjs";
11
+ import "../../chunks/misc-Bjbro8Xe.mjs";
12
12
 
13
13
  import "../../chunks/style-inject.es-D0BjEaN8.mjs";
@@ -1,4 +1,4 @@
1
- export { T as Toast, a as ToastType } from "../../chunks/Toast-Bl4s4tRo.mjs";
1
+ export { T as Toast, a as ToastType } from "../../chunks/Toast-CoioLlEG.mjs";
2
2
 
3
3
  import "../../chunks/tslib.es6-C-olHjXV.mjs";
4
4
 
@@ -10,6 +10,10 @@ import "react";
10
10
 
11
11
  import "../../hooks/useTheme.mjs";
12
12
 
13
+ import "../../providers/ThemeProvider.mjs";
14
+
15
+ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
16
+
13
17
  import "../../theme/themes.mjs";
14
18
 
15
19
  import "../../theme/colors.mjs";
@@ -24,12 +28,8 @@ import "../../theme/type.mjs";
24
28
 
25
29
  import "../../hooks/useObserveTheme.mjs";
26
30
 
27
- import "../../providers/ThemeProvider.mjs";
28
-
29
- import "../../chunks/style-inject.es-D0BjEaN8.mjs";
30
-
31
- import "../../chunks/misc-BeEWwOaJ.mjs";
31
+ import "../../chunks/misc-Bjbro8Xe.mjs";
32
32
 
33
33
  import "../../hooks/useWindow.mjs";
34
34
 
35
- import "../../chunks/Icon-DI32kOA1.mjs";
35
+ import "../../chunks/Icon-BOJAk-hM.mjs";
@@ -0,0 +1,45 @@
1
+ export { T as ToggleButton } from "../../chunks/ToggleButton-CwTm8Yx0.mjs";
2
+
3
+ import "react/jsx-runtime";
4
+
5
+ import "react";
6
+
7
+ import "../../chunks/IconButton-Ck0IMn4i.mjs";
8
+
9
+ import "../../chunks/tslib.es6-C-olHjXV.mjs";
10
+
11
+ import "motion/react";
12
+
13
+ import "../../chunks/Badge-CC0zSLMf.mjs";
14
+
15
+ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
16
+
17
+ import "../../chunks/Dot-DZE134mJ.mjs";
18
+
19
+ import "../../chunks/Icon-BOJAk-hM.mjs";
20
+
21
+ import "../../hooks/useTheme.mjs";
22
+
23
+ import "../../providers/ThemeProvider.mjs";
24
+
25
+ import "../../theme/themes.mjs";
26
+
27
+ import "../../theme/colors.mjs";
28
+
29
+ import "../../theme/corners.mjs";
30
+
31
+ import "../../theme/elevations.mjs";
32
+
33
+ import "../../theme/motion.mjs";
34
+
35
+ import "../../theme/type.mjs";
36
+
37
+ import "../../hooks/useObserveTheme.mjs";
38
+
39
+ import "../../chunks/misc-Bjbro8Xe.mjs";
40
+
41
+ import "../../hooks/useWindow.mjs";
42
+
43
+ import "../../chunks/sharedTypes-tn9-uJvb.mjs";
44
+
45
+ import "../../chunks/Label-DSfCcKtQ.mjs";
@@ -1,19 +1,23 @@
1
- export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "../../chunks/UploadArea-D3g2g1LK.mjs";
1
+ export { U as UploadArea, a as allTypes, b as audioTypes, d as documentTypes, i as imageTypes, t as textTypes, v as videoTypes } from "../../chunks/UploadArea-DAwoJxtr.mjs";
2
2
 
3
3
  import "react/jsx-runtime";
4
4
 
5
5
  import "react";
6
6
 
7
- import "../../chunks/misc-BeEWwOaJ.mjs";
7
+ import "../../chunks/misc-Bjbro8Xe.mjs";
8
8
 
9
9
  import "../../chunks/tslib.es6-C-olHjXV.mjs";
10
10
 
11
- import "../../chunks/FileList-BQ9X5YnB.mjs";
11
+ import "../../chunks/FileList-CxHaEEUi.mjs";
12
12
 
13
- import "../../chunks/FileIcon-Cufsp1gn.mjs";
13
+ import "../../chunks/FileIcon-fJV_Cl6v.mjs";
14
14
 
15
15
  import "../../hooks/useTheme.mjs";
16
16
 
17
+ import "../../providers/ThemeProvider.mjs";
18
+
19
+ import "../../chunks/style-inject.es-D0BjEaN8.mjs";
20
+
17
21
  import "../../theme/themes.mjs";
18
22
 
19
23
  import "../../theme/colors.mjs";
@@ -28,14 +32,10 @@ import "../../theme/type.mjs";
28
32
 
29
33
  import "../../hooks/useObserveTheme.mjs";
30
34
 
31
- import "../../providers/ThemeProvider.mjs";
32
-
33
- import "../../chunks/style-inject.es-D0BjEaN8.mjs";
34
-
35
35
  import "../../hooks/useWindow.mjs";
36
36
 
37
- import "../../chunks/Icon-DI32kOA1.mjs";
37
+ import "../../chunks/Icon-BOJAk-hM.mjs";
38
38
 
39
- import "../../chunks/ProgressIndicator-CB_oazMD.mjs";
39
+ import "../../chunks/ProgressIndicator-d2JGUDW_.mjs";
40
40
 
41
41
  import "motion/react";
@@ -3,7 +3,7 @@ import { useRef, useState, useEffect, useCallback } from "react";
3
3
 
4
4
  import "../chunks/tslib.es6-C-olHjXV.mjs";
5
5
 
6
- import { M as MdBuffer } from "../chunks/MdStreamBuffer-DNXE4XbN.mjs";
6
+ import { M as MdBuffer } from "../chunks/MdStreamBuffer-By7pHJQL.mjs";
7
7
 
8
8
  function useMDStreamBuffer(options) {
9
9
  const bufferRef = useRef(null), [healthy, setHealthy] = useState(""), [raw, setRaw] = useState(""), [isComplete, setIsComplete] = useState(!1);
@@ -3,8 +3,25 @@ import { _ as __awaiter } from "../chunks/tslib.es6-C-olHjXV.mjs";
3
3
 
4
4
  import { useRef, useState, useCallback, useMemo, useEffect } from "react";
5
5
 
6
- function useMicrophone(startMuted = !0, microphoneDeviceId) {
7
- const micStream = useRef(null), micTrack = useRef(null), mutedRef = useRef(startMuted), mountedRef = useRef(!0), initializedRef = useRef(!1), [microphones, setMicrophones] = useState([]), [micOptions, setMicOptions] = useState([]), [muted, setMuted] = useState(startMuted), [isRequesting, setIsRequesting] = useState(!1), [error, setError] = useState(null), waitForPaint = useCallback(() => __awaiter(this, void 0, void 0, function*() {
6
+ function useMicrophone(startMuted = !0, microphoneDeviceId, autoRequest = !0) {
7
+ const micStream = useRef(null), processedMicStream = useRef(null), micTrack = useRef(null), audioContextRef = useRef(null), sourceNodeRef = useRef(null), gainNodeRef = useRef(null), destinationNodeRef = useRef(null), inputVolumeRef = useRef(1), mutedRef = useRef(startMuted), mountedRef = useRef(!0), initializedRef = useRef(!1), [microphones, setMicrophones] = useState([]), [micOptions, setMicOptions] = useState([]), [currentDeviceId, setCurrentDeviceId] = useState(null), [isActive, setIsActive] = useState(!1), [inputVolume, setInputVolumeState] = useState(1), [muted, setMuted] = useState(startMuted), [isRequesting, setIsRequesting] = useState(!1), [error, setError] = useState(null), normalizeInputVolume = useCallback(volume => Number.isFinite(volume) ? Math.min(1, Math.max(0, volume)) : 1, []), resetAudioProcessing = useCallback(() => {
8
+ var _a, _b, _c, _d;
9
+ null === (_a = sourceNodeRef.current) || void 0 === _a || _a.disconnect(), null === (_b = gainNodeRef.current) || void 0 === _b || _b.disconnect(),
10
+ null === (_c = destinationNodeRef.current) || void 0 === _c || _c.disconnect(),
11
+ null === (_d = audioContextRef.current) || void 0 === _d || _d.close().catch(() => null),
12
+ sourceNodeRef.current = null, gainNodeRef.current = null, destinationNodeRef.current = null,
13
+ audioContextRef.current = null, processedMicStream.current = null;
14
+ }, []), setupAudioProcessing = useCallback(stream => {
15
+ var _a;
16
+ resetAudioProcessing();
17
+ const AudioContextCtor = null !== (_a = globalThis.AudioContext) && void 0 !== _a ? _a : globalThis.webkitAudioContext;
18
+ if (!AudioContextCtor) return processedMicStream.current = stream, stream;
19
+ const context = new AudioContextCtor, source = context.createMediaStreamSource(stream), gain = context.createGain(), destination = context.createMediaStreamDestination();
20
+ return gain.gain.value = normalizeInputVolume(inputVolumeRef.current), source.connect(gain),
21
+ gain.connect(destination), audioContextRef.current = context, sourceNodeRef.current = source,
22
+ gainNodeRef.current = gain, destinationNodeRef.current = destination, processedMicStream.current = destination.stream,
23
+ destination.stream;
24
+ }, [ normalizeInputVolume, resetAudioProcessing ]), waitForPaint = useCallback(() => __awaiter(this, void 0, void 0, function*() {
8
25
  yield new Promise(resolve => {
9
26
  requestAnimationFrame(() => resolve());
10
27
  });
@@ -19,10 +36,12 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
19
36
  }));
20
37
  }), []), stopMicStream = useCallback(() => {
21
38
  var _a;
39
+ resetAudioProcessing();
22
40
  const tracks = null === (_a = micStream.current) || void 0 === _a ? void 0 : _a.getTracks();
23
41
  for (const track of null != tracks ? tracks : []) track.stop();
24
- micStream.current = null, micTrack.current = null;
25
- }, []), hasMediaSupport = useMemo(() => {
42
+ micStream.current = null, micTrack.current = null, processedMicStream.current = null,
43
+ setCurrentDeviceId(null), setIsActive(!1);
44
+ }, [ resetAudioProcessing ]), hasMediaSupport = useMemo(() => {
26
45
  var _a;
27
46
  return "undefined" != typeof navigator && Boolean(null === (_a = navigator.mediaDevices) || void 0 === _a ? void 0 : _a.getUserMedia);
28
47
  }, []), getMicTrack = useCallback(() => {
@@ -30,9 +49,13 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
30
49
  const audioTrack = micStream.current.getAudioTracks()[0];
31
50
  if (!audioTrack) throw new Error("No audio track found");
32
51
  return audioTrack;
33
- }, []), muteMic = useCallback(() => (getMicTrack().enabled = !1, mutedRef.current = !0,
34
- setMuted(!0), !0), [ getMicTrack ]), unmuteMic = useCallback(() => (getMicTrack().enabled = !0,
35
- mutedRef.current = !1, setMuted(!1), !0), [ getMicTrack ]), constraints = useCallback((deviceId, usePreferredDevice = !0) => {
52
+ }, []), hasActiveStream = useCallback(() => !(!micStream.current || !micTrack.current) && "live" === micTrack.current.readyState, []), muteMic = useCallback(() => (getMicTrack().enabled = !1,
53
+ mutedRef.current = !0, setMuted(!0), !0), [ getMicTrack ]), unmuteMic = useCallback(() => (getMicTrack().enabled = !0,
54
+ mutedRef.current = !1, setMuted(!1), !0), [ getMicTrack ]), setInputVolume = useCallback(volume => {
55
+ const nextVolume = normalizeInputVolume(volume);
56
+ return inputVolumeRef.current = nextVolume, setInputVolumeState(nextVolume), gainNodeRef.current && (gainNodeRef.current.gain.value = nextVolume),
57
+ nextVolume;
58
+ }, [ normalizeInputVolume ]), constraints = useCallback((deviceId, usePreferredDevice = !0) => {
36
59
  var _a;
37
60
  const id = usePreferredDevice ? null !== (_a = null != deviceId ? deviceId : microphoneDeviceId) && void 0 !== _a ? _a : void 0 : deviceId;
38
61
  return {
@@ -43,36 +66,56 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
43
66
  }
44
67
  };
45
68
  }, [ microphoneDeviceId ]), requestStream = useCallback((deviceId_1, ...args_1) => __awaiter(this, [ deviceId_1, ...args_1 ], void 0, function*(deviceId, usePreferredDevice = !0) {
69
+ var _a;
46
70
  return micStream.current = yield navigator.mediaDevices.getUserMedia(constraints(deviceId, usePreferredDevice)),
47
- micTrack.current = getMicTrack(), micTrack.current.enabled = !mutedRef.current,
48
- mutedRef.current || (yield waitForTrackToBecomeActive(micTrack.current)), micStream.current;
49
- }), [ constraints, getMicTrack, waitForTrackToBecomeActive ]), requestMicrophone = useCallback(() => __awaiter(this, void 0, void 0, function*() {
71
+ setupAudioProcessing(micStream.current), micTrack.current = getMicTrack(), setCurrentDeviceId(null !== (_a = micTrack.current.getSettings().deviceId) && void 0 !== _a ? _a : null),
72
+ micTrack.current.enabled = !mutedRef.current, mutedRef.current || (yield waitForTrackToBecomeActive(micTrack.current)),
73
+ setIsActive(Boolean("live" === micTrack.current.readyState)), micStream.current;
74
+ }), [ constraints, getMicTrack, setupAudioProcessing, waitForTrackToBecomeActive ]), requestMicrophone = useCallback(() => __awaiter(this, void 0, void 0, function*() {
75
+ if (hasActiveStream()) return setIsActive(!0), setError(null), micStream.current;
50
76
  if (setIsRequesting(!0), yield waitForPaint(), !hasMediaSupport) {
51
- const nextError = new Error("Microphone access is not supported");
52
- return setError(nextError), mountedRef.current && setIsRequesting(!1), null;
77
+ const nextError = new Error("Microphone access isn't supported");
78
+ return setError(nextError), setCurrentDeviceId(null), setIsActive(!1), mountedRef.current && setIsRequesting(!1),
79
+ null;
53
80
  }
54
81
  setError(null), stopMicStream();
55
82
  try {
56
83
  return yield requestStream();
57
84
  } catch (error) {
58
85
  if (!(error instanceof DOMException && "OverconstrainedError" === error.name || error instanceof DOMException && "NotFoundError" === error.name)) {
59
- const nextError = error instanceof Error ? error : new Error("Failed to access microphone");
60
- throw setError(nextError), nextError;
86
+ let nextError = new Error("Failed to access microphone");
87
+ throw error instanceof Error && (error.message.toLowerCase().includes("denied permission") || "NotAllowedError" === error.name) && (nextError = new Error("Permission to access the microphone was denied")),
88
+ setError(nextError), setCurrentDeviceId(null), setIsActive(!1), nextError;
61
89
  }
62
90
  return yield requestStream(void 0, !1);
63
91
  } finally {
64
92
  setIsRequesting(!1);
65
93
  }
66
- }), [ hasMediaSupport, requestStream, stopMicStream, waitForPaint ]), refreshMicrophones = useCallback(() => __awaiter(this, void 0, void 0, function*() {
94
+ }), [ hasActiveStream, hasMediaSupport, requestStream, stopMicStream, waitForPaint ]), refreshMicrophones = useCallback(() => __awaiter(this, void 0, void 0, function*() {
95
+ var _a;
67
96
  if (!hasMediaSupport) return [];
68
97
  try {
69
- const devices = yield navigator.mediaDevices.enumerateDevices(), mics = devices.filter(device => "audioinput" === device.kind), options = mics.map(mic => ({
98
+ const devices = yield navigator.mediaDevices.enumerateDevices(), currentDeviceId = null === (_a = micTrack.current) || void 0 === _a ? void 0 : _a.getSettings().deviceId, mics = function(devices, activeDeviceId) {
99
+ const microphones = [ ...devices ], defaultIndex = microphones.findIndex(device => "default" === device.deviceId);
100
+ if (defaultIndex > 0) {
101
+ const [defaultDevice] = microphones.splice(defaultIndex, 1);
102
+ return microphones.unshift(defaultDevice), microphones;
103
+ }
104
+ if (0 === defaultIndex) return microphones;
105
+ if (!activeDeviceId) return microphones;
106
+ const activeIndex = microphones.findIndex(device => device.deviceId === activeDeviceId);
107
+ if (activeIndex > 0) {
108
+ const [activeDevice] = microphones.splice(activeIndex, 1);
109
+ microphones.unshift(activeDevice);
110
+ }
111
+ return microphones;
112
+ }(devices.filter(device => "audioinput" === device.kind), currentDeviceId), options = mics.map(mic => ({
70
113
  value: {
71
114
  id: mic.deviceId
72
115
  },
73
116
  label: mic.label
74
117
  }));
75
- return setMicrophones(mics), setMicOptions(options), devices.filter(device => "audioinput" === device.kind);
118
+ return setMicrophones(mics), setMicOptions(options), mics;
76
119
  } catch (error) {
77
120
  return console.warn("Error getting microphone devices:", error), setMicrophones([]),
78
121
  setMicOptions([]), [];
@@ -84,7 +127,7 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
84
127
  try {
85
128
  setError(null), stopMicStream(), yield requestStream(id, !1);
86
129
  } catch (err) {
87
- setError(err instanceof Error ? err : new Error("Error switching microphone")),
130
+ setCurrentDeviceId(null), setIsActive(!1), setError(err instanceof Error ? err : new Error("Error switching microphone")),
88
131
  console.warn("Error switching microphone:", err);
89
132
  } finally {
90
133
  setIsRequesting(!1);
@@ -98,14 +141,16 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
98
141
  }, [ muted, unmuteMic, muteMic ]);
99
142
  return useEffect(() => {
100
143
  if (mountedRef.current = !0, hasMediaSupport && !initializedRef.current) return initializedRef.current = !0,
101
- requestMicrophone().then(() => {
144
+ autoRequest ? (requestMicrophone().then(() => {
102
145
  startMuted && muteMic();
103
146
  }).catch(err => {
104
147
  console.error("Error accessing microphone:", err);
105
148
  }), () => {
106
149
  mountedRef.current = !1, stopMicStream();
107
- };
108
- }, [ hasMediaSupport, requestMicrophone, startMuted, muteMic, stopMicStream ]),
150
+ }) : (refreshMicrophones(), () => {
151
+ mountedRef.current = !1, stopMicStream();
152
+ });
153
+ }, [ autoRequest, hasMediaSupport, refreshMicrophones, requestMicrophone, startMuted, muteMic, stopMicStream ]),
109
154
  useEffect(() => {
110
155
  var _a;
111
156
  if (!hasMediaSupport || !(null === (_a = navigator.mediaDevices) || void 0 === _a ? void 0 : _a.addEventListener)) return;
@@ -125,7 +170,11 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
125
170
  }, [ hasMediaSupport, microphoneDeviceId, refreshMicrophones, requestMicrophone ]),
126
171
  {
127
172
  micStream: micStream,
173
+ processedMicStream: processedMicStream,
128
174
  micTrack: micTrack,
175
+ currentDeviceId: currentDeviceId,
176
+ isActive: isActive,
177
+ inputVolume: inputVolume,
129
178
  muted: muted,
130
179
  isSupported: hasMediaSupport,
131
180
  isRequesting: isRequesting,
@@ -137,6 +186,7 @@ function useMicrophone(startMuted = !0, microphoneDeviceId) {
137
186
  muteMic: muteMic,
138
187
  unmuteMic: unmuteMic,
139
188
  toggleMute: toggleMute,
189
+ setInputVolume: setInputVolume,
140
190
  refreshMicrophones: refreshMicrophones,
141
191
  setMicrophone: setMicrophone
142
192
  };
@@ -1,6 +1,8 @@
1
1
  'use client';
2
2
  import { useCallback, useMemo } from "react";
3
3
 
4
+ import { useThemeContext } from "../providers/ThemeProvider.mjs";
5
+
4
6
  import { darkTheme, lightTheme } from "../theme/themes.mjs";
5
7
 
6
8
  import { colorClass, colorCssVars } from "../theme/colors.mjs";
@@ -9,28 +11,36 @@ import { typeStyles, typeCssClasses } from "../theme/type.mjs";
9
11
 
10
12
  import { useObserveTheme } from "./useObserveTheme.mjs";
11
13
 
14
+ import "react/jsx-runtime";
15
+
16
+ import "../chunks/style-inject.es-D0BjEaN8.mjs";
17
+
12
18
  import "../theme/corners.mjs";
13
19
 
14
20
  import "../theme/elevations.mjs";
15
21
 
16
22
  import "../theme/motion.mjs";
17
23
 
18
- import "../providers/ThemeProvider.mjs";
19
-
20
- import "react/jsx-runtime";
21
-
22
- import "../chunks/style-inject.es-D0BjEaN8.mjs";
24
+ function setDocumentTheme(name, system) {
25
+ "undefined" != typeof document && (document.documentElement.dataset.sliceTheme = name,
26
+ document.cookie = `slice-theme=${encodeURIComponent(name)}; path=/; max-age=31536000; samesite=lax`,
27
+ document.cookie = `slice-system-theme=${encodeURIComponent(system)}; path=/; max-age=31536000; samesite=lax`);
28
+ }
23
29
 
24
30
  /**
25
31
  * Hook to manage Slice theming
26
32
  */ function useTheme() {
27
- const current = useObserveTheme(), set = useCallback(newTheme => {
28
- let theme;
33
+ const current = useObserveTheme(), {systemTheme: systemTheme, setSystemTheme: setSystemTheme} = useThemeContext(), set = useCallback(newTheme => {
34
+ let theme, system = !1;
29
35
  if ("string" == typeof newTheme) if ("system" === newTheme) {
36
+ system = !0;
30
37
  theme = globalThis.matchMedia("(prefers-color-scheme: dark)").matches ? darkTheme : lightTheme;
31
38
  } else theme = newTheme === darkTheme.name ? darkTheme : lightTheme; else theme = newTheme;
32
- document.documentElement.dataset.sliceTheme = theme.name;
33
- }, []), isDark = useMemo(() => current.name === darkTheme.name, [ current ]);
39
+ setSystemTheme(system), setDocumentTheme(theme.name, system);
40
+ }, [ setSystemTheme ]), toggle = useCallback(() => {
41
+ const newTheme = current.name === lightTheme.name ? darkTheme : lightTheme;
42
+ setSystemTheme(!1), setDocumentTheme(newTheme.name, !1);
43
+ }, [ current.name, setSystemTheme ]), isDark = useMemo(() => current.name === darkTheme.name, [ current ]);
34
44
  return {
35
45
  /**
36
46
  * Slice's default dark theme
@@ -66,16 +76,17 @@ import "../chunks/style-inject.es-D0BjEaN8.mjs";
66
76
  */
67
77
  set: set,
68
78
  /**
69
- * Toggle between light and dark themes
79
+ * Togglebetween light and dark themes
70
80
  */
71
- toggle: () => {
72
- const newTheme = current.name === lightTheme.name ? darkTheme : lightTheme;
73
- document.documentElement.dataset.sliceTheme = newTheme.name;
74
- },
81
+ toggle: toggle,
75
82
  /**
76
83
  * If the currently active theme is the Slice's default dark theme'
77
84
  */
78
- isDark: isDark
85
+ isDark: isDark,
86
+ /**
87
+ * True when the current theme is still being derived from the OS preference
88
+ */
89
+ systemTheme: systemTheme
79
90
  };
80
91
  }
81
92
 
@@ -8,16 +8,19 @@ const hiddenCoords = {
8
8
 
9
9
  function useToolTip(toolTip, tipElement) {
10
10
  const [coords, setCoords] = useState(hiddenCoords), adjustX = useCallback(x => {
11
+ var _a;
11
12
  if (x < 10) return 10;
12
- const maxWidth = globalThis.innerWidth - 10;
13
- if (x > maxWidth) {
14
- return x - (x - maxWidth);
13
+ if (!tipElement.current) return x;
14
+ const maxWidth = globalThis.innerWidth - 10, tipWdithStyle = null !== (_a = globalThis.getComputedStyle(tipElement.current).width) && void 0 !== _a ? _a : 0, endX = x + Number.parseInt(tipWdithStyle.replace("px", ""));
15
+ if (endX > maxWidth) {
16
+ return x - (endX - maxWidth);
15
17
  }
16
18
  return x;
17
- }, []), adjustY = useCallback((y, parentY) => {
18
- var _a, _b;
19
+ }, [ tipElement ]), adjustY = useCallback((y, parentY) => {
20
+ var _a;
19
21
  if (y < 10) return 10;
20
- const tipHeight = null !== (_b = null === (_a = tipElement.current) || void 0 === _a ? void 0 : _a.offsetHeight) && void 0 !== _b ? _b : 0;
22
+ if (!tipElement.current) return y;
23
+ const tipHeightStyle = null !== (_a = globalThis.getComputedStyle(tipElement.current).height) && void 0 !== _a ? _a : 0, tipHeight = Number.parseInt(tipHeightStyle.replace("px", ""));
21
24
  return y + tipHeight > globalThis.innerHeight - 10 ? parentY - tipHeight - 10 : y;
22
25
  }, [ tipElement ]);
23
26
  return useLayoutEffect(() => {
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { useRef, useEffect } from "react";
3
3
 
4
- import { d as debug } from "../chunks/misc-BeEWwOaJ.mjs";
4
+ import { d as debug } from "../chunks/misc-Bjbro8Xe.mjs";
5
5
 
6
6
  import "../chunks/tslib.es6-C-olHjXV.mjs";
7
7
 
@@ -24,6 +24,12 @@ export { useObserveResize } from "./hooks/useObserveResize.mjs";
24
24
 
25
25
  import "react";
26
26
 
27
+ import "./providers/ThemeProvider.mjs";
28
+
29
+ import "react/jsx-runtime";
30
+
31
+ import "./chunks/style-inject.es-D0BjEaN8.mjs";
32
+
27
33
  import "./theme/themes.mjs";
28
34
 
29
35
  import "./theme/colors.mjs";
@@ -36,12 +42,6 @@ import "./theme/motion.mjs";
36
42
 
37
43
  import "./theme/type.mjs";
38
44
 
39
- import "./providers/ThemeProvider.mjs";
40
-
41
- import "react/jsx-runtime";
42
-
43
- import "./chunks/style-inject.es-D0BjEaN8.mjs";
44
-
45
45
  import "./chunks/tslib.es6-C-olHjXV.mjs";
46
46
 
47
- import "./chunks/MdStreamBuffer-DNXE4XbN.mjs";
47
+ import "./chunks/MdStreamBuffer-By7pHJQL.mjs";