@react95/core 7.0.2 → 8.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (724) hide show
  1. package/@types/Alert/Alert.css.d.ts +3 -0
  2. package/@types/Alert/Alert.d.ts +2 -9
  3. package/@types/Avatar/Avatar.css.d.ts +15 -0
  4. package/@types/Avatar/Avatar.d.ts +3 -4
  5. package/@types/Button/Button.css.d.ts +1 -0
  6. package/@types/Button/Button.d.ts +4 -2
  7. package/@types/Checkbox/Checkbox.css.d.ts +4 -0
  8. package/@types/Checkbox/Checkbox.d.ts +2 -9
  9. package/@types/Cursor/Cursor.css.d.ts +1 -0
  10. package/@types/Dropdown/Dropdown.css.d.ts +2 -0
  11. package/@types/Dropdown/Dropdown.d.ts +5 -4
  12. package/@types/Fieldset/Fieldset.css.d.ts +2 -0
  13. package/@types/Fieldset/Fieldset.d.ts +3 -5
  14. package/@types/Frame/Frame.d.ts +2251 -5
  15. package/@types/Frame/props.d.ts +977 -0
  16. package/@types/Frame/sprinkles.css.d.ts +2271 -0
  17. package/@types/Input/Input.css.d.ts +1 -0
  18. package/@types/Input/Input.d.ts +3 -4
  19. package/@types/List/List.css.d.ts +3 -0
  20. package/@types/List/List.d.ts +9 -9
  21. package/@types/List/ListDivider.d.ts +4 -2
  22. package/@types/List/ListItem.d.ts +1 -2
  23. package/@types/Modal/Modal.css.d.ts +18 -0
  24. package/@types/Modal/Modal.d.ts +7 -23
  25. package/@types/Modal/ModalContext.d.ts +1 -2
  26. package/@types/Modal/ModalProvider.d.ts +1 -2
  27. package/@types/ProgressBar/ProgressBar.css.d.ts +4 -0
  28. package/@types/ProgressBar/ProgressBar.d.ts +3 -4
  29. package/@types/RadioButton/RadioButton.css.d.ts +4 -0
  30. package/@types/RadioButton/RadioButton.d.ts +1 -2
  31. package/@types/Range/Range.css.d.ts +1 -0
  32. package/@types/Range/Range.d.ts +4 -4
  33. package/@types/Tabs/Tab.d.ts +4 -4
  34. package/@types/Tabs/Tabs.css.d.ts +15 -0
  35. package/@types/Tabs/Tabs.d.ts +4 -5
  36. package/@types/TaskBar/Clock.d.ts +1 -2
  37. package/@types/TaskBar/TaskBar.css.d.ts +21 -0
  38. package/@types/TaskBar/TaskBar.d.ts +2 -3
  39. package/@types/TaskBar/WindowButton.d.ts +5 -4
  40. package/@types/TextArea/TextArea.d.ts +4 -5
  41. package/@types/TitleBar/TitleBar.css.d.ts +15 -0
  42. package/@types/TitleBar/TitleBar.d.ts +5 -7
  43. package/@types/Tooltip/Tooltip.css.d.ts +2 -0
  44. package/@types/Tooltip/Tooltip.d.ts +1 -2
  45. package/@types/Tree/Node.d.ts +5 -3
  46. package/@types/Tree/Tree.css.d.ts +16 -0
  47. package/@types/Tree/Tree.d.ts +5 -3
  48. package/@types/Video/Video.css.d.ts +18 -0
  49. package/@types/Video/Video.d.ts +2 -9
  50. package/@types/index.d.ts +25 -24
  51. package/@types/shared/font-names.d.ts +2 -0
  52. package/@types/themes/all.d.ts +36 -0
  53. package/@types/themes/azureOrange.css.d.ts +1 -0
  54. package/@types/themes/baseTheme.d.ts +88 -0
  55. package/@types/themes/bee.css.d.ts +1 -0
  56. package/@types/themes/blackAndWhite.css.d.ts +1 -0
  57. package/@types/themes/brick.css.d.ts +1 -0
  58. package/@types/themes/candy.css.d.ts +1 -0
  59. package/@types/themes/coldGray.css.d.ts +1 -0
  60. package/@types/themes/contract.css.d.ts +116 -0
  61. package/@types/themes/counterStrike.css.d.ts +1 -0
  62. package/@types/themes/eggplant.css.d.ts +1 -0
  63. package/@types/themes/highContrast.css.d.ts +1 -0
  64. package/@types/themes/lilac.css.d.ts +1 -0
  65. package/@types/themes/lilacRoseDark.css.d.ts +1 -0
  66. package/@types/themes/maple.css.d.ts +1 -0
  67. package/@types/themes/marine.css.d.ts +1 -0
  68. package/@types/themes/matrix.css.d.ts +1 -0
  69. package/@types/themes/millenium.css.d.ts +1 -0
  70. package/@types/themes/modernDark.css.d.ts +1 -0
  71. package/@types/themes/molecule.css.d.ts +1 -0
  72. package/@types/themes/ninjaTurtles.css.d.ts +1 -0
  73. package/@types/themes/olive.css.d.ts +1 -0
  74. package/@types/themes/pamelaAnderson.css.d.ts +1 -0
  75. package/@types/themes/plum.css.d.ts +1 -0
  76. package/@types/themes/rainyDay.css.d.ts +1 -0
  77. package/@types/themes/rose.css.d.ts +1 -0
  78. package/@types/themes/slate.css.d.ts +1 -0
  79. package/@types/themes/spruce.css.d.ts +1 -0
  80. package/@types/themes/storm.css.d.ts +1 -0
  81. package/@types/themes/theSixtiesUSA.css.d.ts +1 -0
  82. package/@types/themes/tokyoDark.css.d.ts +1 -0
  83. package/@types/themes/tooSexy.css.d.ts +1 -0
  84. package/@types/themes/travel.css.d.ts +1 -0
  85. package/@types/themes/vaporTeal.css.d.ts +1 -0
  86. package/@types/themes/vermillion.css.d.ts +1 -0
  87. package/@types/themes/violetDark.css.d.ts +1 -0
  88. package/@types/themes/water.css.d.ts +1 -0
  89. package/@types/themes/win95.css.d.ts +1 -0
  90. package/cjs/Alert/Alert.css.js +9 -0
  91. package/cjs/Alert/Alert.css.ts.vanilla.css +15 -0
  92. package/cjs/Alert/Alert.js +32 -90
  93. package/cjs/Alert/assets/chord.mp3.js +3 -0
  94. package/cjs/Avatar/Avatar.css.js +8 -0
  95. package/cjs/Avatar/Avatar.css.ts.vanilla.css +24 -0
  96. package/cjs/Avatar/Avatar.js +25 -49
  97. package/cjs/Button/Button.css.js +5 -0
  98. package/cjs/Button/Button.css.ts.vanilla.css +31 -0
  99. package/cjs/Button/Button.js +19 -17
  100. package/cjs/Checkbox/Checkbox.css.js +11 -0
  101. package/cjs/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
  102. package/cjs/Checkbox/Checkbox.js +16 -58
  103. package/cjs/Cursor/Cursor.css.js +5 -0
  104. package/cjs/Cursor/Cursor.css.ts.vanilla.css +96 -0
  105. package/cjs/Dropdown/Dropdown.css.js +7 -0
  106. package/cjs/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
  107. package/cjs/Dropdown/Dropdown.js +19 -40
  108. package/cjs/Fieldset/Fieldset.css.js +7 -0
  109. package/cjs/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
  110. package/cjs/Fieldset/Fieldset.js +8 -31
  111. package/cjs/Frame/Frame.js +21 -19
  112. package/cjs/Frame/sprinkles.css.js +47 -0
  113. package/cjs/GlobalStyle/GlobalStyle.css.js +3 -0
  114. package/cjs/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
  115. package/cjs/GlobalStyle.js +4 -0
  116. package/cjs/Input/Input.css.js +5 -0
  117. package/cjs/Input/Input.css.ts.vanilla.css +21 -0
  118. package/cjs/Input/Input.js +25 -14
  119. package/cjs/List/List.css.js +9 -0
  120. package/cjs/List/List.css.ts.vanilla.css +66 -0
  121. package/cjs/List/List.js +14 -27
  122. package/cjs/List/ListDivider.js +18 -13
  123. package/cjs/List/ListItem.js +11 -44
  124. package/cjs/Modal/Modal.css.js +14 -0
  125. package/cjs/Modal/Modal.css.ts.vanilla.css +55 -0
  126. package/cjs/Modal/Modal.js +130 -165
  127. package/cjs/Modal/ModalContext.js +13 -15
  128. package/cjs/Modal/ModalProvider.js +60 -81
  129. package/cjs/Modal/close.svg.js +3 -0
  130. package/cjs/Modal/help.svg.js +3 -0
  131. package/cjs/ProgressBar/ProgressBar.css.js +11 -0
  132. package/cjs/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
  133. package/cjs/ProgressBar/ProgressBar.js +19 -63
  134. package/cjs/RadioButton/RadioButton.css.js +11 -0
  135. package/cjs/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
  136. package/cjs/RadioButton/RadioButton.js +16 -53
  137. package/cjs/Range/Range.css.js +5 -0
  138. package/cjs/Range/Range.css.ts.vanilla.css +84 -0
  139. package/cjs/Range/Range.js +35 -18
  140. package/cjs/Tabs/Tab.js +17 -31
  141. package/cjs/Tabs/Tabs.css.js +10 -0
  142. package/cjs/Tabs/Tabs.css.ts.vanilla.css +54 -0
  143. package/cjs/Tabs/Tabs.js +48 -73
  144. package/cjs/TaskBar/Clock.js +28 -50
  145. package/cjs/TaskBar/TaskBar.css.js +12 -0
  146. package/cjs/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
  147. package/cjs/TaskBar/TaskBar.js +72 -96
  148. package/cjs/TaskBar/WindowButton.js +16 -59
  149. package/cjs/TextArea/TextArea.js +25 -25
  150. package/cjs/TitleBar/TitleBar.css.js +12 -0
  151. package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
  152. package/cjs/TitleBar/TitleBar.js +44 -58
  153. package/cjs/Tooltip/Tooltip.css.js +7 -0
  154. package/cjs/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
  155. package/cjs/Tooltip/Tooltip.js +68 -65
  156. package/cjs/Tree/Node.js +122 -122
  157. package/cjs/Tree/Tree.css.js +18 -0
  158. package/cjs/Tree/Tree.css.ts.vanilla.css +90 -0
  159. package/cjs/Tree/Tree.js +12 -33
  160. package/cjs/Video/Video.css.js +22 -0
  161. package/cjs/Video/Video.css.ts.vanilla.css +83 -0
  162. package/cjs/Video/Video.js +207 -270
  163. package/cjs/Video/buttons/Fullscreen.js +33 -20
  164. package/cjs/Video/buttons/Pause.js +28 -18
  165. package/cjs/Video/buttons/Play.js +28 -18
  166. package/cjs/Video/buttons/Stop.js +28 -18
  167. package/cjs/index.js +49 -178
  168. package/cjs/theme.js +72 -0
  169. package/cjs/themes/azureOrange.css.js +3 -0
  170. package/cjs/themes/azureOrange.css.ts.vanilla.css +58 -0
  171. package/cjs/themes/bee.css.js +3 -0
  172. package/cjs/themes/bee.css.ts.vanilla.css +58 -0
  173. package/cjs/themes/blackAndWhite.css.js +3 -0
  174. package/cjs/themes/blackAndWhite.css.ts.vanilla.css +58 -0
  175. package/cjs/themes/brick.css.js +3 -0
  176. package/cjs/themes/brick.css.ts.vanilla.css +58 -0
  177. package/cjs/themes/candy.css.js +3 -0
  178. package/cjs/themes/candy.css.ts.vanilla.css +58 -0
  179. package/cjs/themes/coldGray.css.js +3 -0
  180. package/cjs/themes/coldGray.css.ts.vanilla.css +58 -0
  181. package/cjs/themes/counterStrike.css.js +3 -0
  182. package/cjs/themes/counterStrike.css.ts.vanilla.css +58 -0
  183. package/cjs/themes/eggplant.css.js +3 -0
  184. package/cjs/themes/eggplant.css.ts.vanilla.css +58 -0
  185. package/cjs/themes/highContrast.css.js +3 -0
  186. package/cjs/themes/highContrast.css.ts.vanilla.css +58 -0
  187. package/cjs/themes/lilac.css.js +3 -0
  188. package/cjs/themes/lilac.css.ts.vanilla.css +58 -0
  189. package/cjs/themes/lilacRoseDark.css.js +3 -0
  190. package/cjs/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
  191. package/cjs/themes/maple.css.js +3 -0
  192. package/cjs/themes/maple.css.ts.vanilla.css +58 -0
  193. package/cjs/themes/marine.css.js +3 -0
  194. package/cjs/themes/marine.css.ts.vanilla.css +58 -0
  195. package/cjs/themes/matrix.css.js +3 -0
  196. package/cjs/themes/matrix.css.ts.vanilla.css +58 -0
  197. package/cjs/themes/millenium.css.js +3 -0
  198. package/cjs/themes/millenium.css.ts.vanilla.css +58 -0
  199. package/cjs/themes/modernDark.css.js +3 -0
  200. package/cjs/themes/modernDark.css.ts.vanilla.css +58 -0
  201. package/cjs/themes/molecule.css.js +3 -0
  202. package/cjs/themes/molecule.css.ts.vanilla.css +58 -0
  203. package/cjs/themes/ninjaTurtles.css.js +3 -0
  204. package/cjs/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
  205. package/cjs/themes/olive.css.js +3 -0
  206. package/cjs/themes/olive.css.ts.vanilla.css +58 -0
  207. package/cjs/themes/pamelaAnderson.css.js +3 -0
  208. package/cjs/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
  209. package/cjs/themes/plum.css.js +3 -0
  210. package/cjs/themes/plum.css.ts.vanilla.css +58 -0
  211. package/cjs/themes/rainyDay.css.js +3 -0
  212. package/cjs/themes/rainyDay.css.ts.vanilla.css +58 -0
  213. package/cjs/themes/rose.css.js +3 -0
  214. package/cjs/themes/rose.css.ts.vanilla.css +58 -0
  215. package/cjs/themes/slate.css.js +3 -0
  216. package/cjs/themes/slate.css.ts.vanilla.css +58 -0
  217. package/cjs/themes/sprinkles.css.ts.vanilla.css +399 -0
  218. package/cjs/themes/spruce.css.js +3 -0
  219. package/cjs/themes/spruce.css.ts.vanilla.css +58 -0
  220. package/cjs/themes/storm.css.js +3 -0
  221. package/cjs/themes/storm.css.ts.vanilla.css +58 -0
  222. package/cjs/themes/theSixtiesUSA.css.js +3 -0
  223. package/cjs/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
  224. package/cjs/themes/tokyoDark.css.js +3 -0
  225. package/cjs/themes/tokyoDark.css.ts.vanilla.css +58 -0
  226. package/cjs/themes/tooSexy.css.js +3 -0
  227. package/cjs/themes/tooSexy.css.ts.vanilla.css +58 -0
  228. package/cjs/themes/travel.css.js +3 -0
  229. package/cjs/themes/travel.css.ts.vanilla.css +58 -0
  230. package/cjs/themes/vaporTeal.css.js +3 -0
  231. package/cjs/themes/vaporTeal.css.ts.vanilla.css +58 -0
  232. package/cjs/themes/vermillion.css.js +3 -0
  233. package/cjs/themes/vermillion.css.ts.vanilla.css +58 -0
  234. package/cjs/themes/violetDark.css.js +3 -0
  235. package/cjs/themes/violetDark.css.ts.vanilla.css +58 -0
  236. package/cjs/themes/water.css.js +3 -0
  237. package/cjs/themes/water.css.ts.vanilla.css +58 -0
  238. package/cjs/themes/win95.css.js +3 -0
  239. package/cjs/themes/win95.css.ts.vanilla.css +58 -0
  240. package/esm/Alert/Alert.css.js +9 -0
  241. package/esm/Alert/Alert.css.ts.vanilla.css +15 -0
  242. package/esm/Alert/Alert.js +33 -81
  243. package/esm/Alert/assets/chord.mp3.js +4 -0
  244. package/esm/Avatar/Avatar.css.js +8 -0
  245. package/esm/Avatar/Avatar.css.ts.vanilla.css +24 -0
  246. package/esm/Avatar/Avatar.js +9 -40
  247. package/esm/Button/Button.css.js +5 -0
  248. package/esm/Button/Button.css.ts.vanilla.css +31 -0
  249. package/esm/Button/Button.js +19 -8
  250. package/esm/Checkbox/Checkbox.css.js +11 -0
  251. package/esm/Checkbox/Checkbox.css.ts.vanilla.css +59 -0
  252. package/esm/Checkbox/Checkbox.js +17 -49
  253. package/esm/Cursor/Cursor.css.js +5 -0
  254. package/esm/Cursor/Cursor.css.ts.vanilla.css +96 -0
  255. package/esm/Dropdown/Dropdown.css.js +7 -0
  256. package/esm/Dropdown/Dropdown.css.ts.vanilla.css +50 -0
  257. package/esm/Dropdown/Dropdown.js +19 -30
  258. package/esm/Fieldset/Fieldset.css.js +7 -0
  259. package/esm/Fieldset/Fieldset.css.ts.vanilla.css +19 -0
  260. package/esm/Fieldset/Fieldset.js +9 -23
  261. package/esm/Frame/Frame.js +22 -11
  262. package/esm/Frame/sprinkles.css.js +47 -0
  263. package/esm/GlobalStyle/GlobalStyle.css.js +2 -0
  264. package/esm/GlobalStyle/GlobalStyle.css.ts.vanilla.css +122 -0
  265. package/esm/GlobalStyle.js +4 -0
  266. package/esm/Input/Input.css.js +5 -0
  267. package/esm/Input/Input.css.ts.vanilla.css +21 -0
  268. package/esm/Input/Input.js +9 -8
  269. package/esm/List/List.css.js +9 -0
  270. package/esm/List/List.css.ts.vanilla.css +66 -0
  271. package/esm/List/List.js +13 -16
  272. package/esm/List/ListDivider.js +19 -7
  273. package/esm/List/ListItem.js +12 -35
  274. package/esm/Modal/Modal.css.js +14 -0
  275. package/esm/Modal/Modal.css.ts.vanilla.css +55 -0
  276. package/esm/Modal/Modal.js +114 -156
  277. package/esm/Modal/ModalContext.js +14 -9
  278. package/esm/Modal/ModalProvider.js +44 -74
  279. package/esm/Modal/close.svg.js +4 -0
  280. package/esm/Modal/help.svg.js +4 -0
  281. package/esm/ProgressBar/ProgressBar.css.js +11 -0
  282. package/esm/ProgressBar/ProgressBar.css.ts.vanilla.css +32 -0
  283. package/esm/ProgressBar/ProgressBar.js +19 -54
  284. package/esm/RadioButton/RadioButton.css.js +11 -0
  285. package/esm/RadioButton/RadioButton.css.ts.vanilla.css +44 -0
  286. package/esm/RadioButton/RadioButton.js +16 -44
  287. package/esm/Range/Range.css.js +5 -0
  288. package/esm/Range/Range.css.ts.vanilla.css +84 -0
  289. package/esm/Range/Range.js +19 -10
  290. package/esm/Tabs/Tab.js +18 -23
  291. package/esm/Tabs/Tabs.css.js +10 -0
  292. package/esm/Tabs/Tabs.css.ts.vanilla.css +54 -0
  293. package/esm/Tabs/Tabs.js +49 -64
  294. package/esm/TaskBar/Clock.js +29 -41
  295. package/esm/TaskBar/TaskBar.css.js +12 -0
  296. package/esm/TaskBar/TaskBar.css.ts.vanilla.css +51 -0
  297. package/esm/TaskBar/TaskBar.js +72 -87
  298. package/esm/TaskBar/WindowButton.js +16 -49
  299. package/esm/TextArea/TextArea.js +9 -16
  300. package/esm/TitleBar/TitleBar.css.js +12 -0
  301. package/esm/TitleBar/TitleBar.css.ts.vanilla.css +62 -0
  302. package/esm/TitleBar/TitleBar.js +44 -48
  303. package/esm/Tooltip/Tooltip.css.js +7 -0
  304. package/esm/Tooltip/Tooltip.css.ts.vanilla.css +25 -0
  305. package/esm/Tooltip/Tooltip.js +51 -55
  306. package/esm/Tree/Node.js +98 -105
  307. package/esm/Tree/Tree.css.js +18 -0
  308. package/esm/Tree/Tree.css.ts.vanilla.css +90 -0
  309. package/esm/Tree/Tree.js +12 -23
  310. package/esm/Video/Video.css.js +22 -0
  311. package/esm/Video/Video.css.ts.vanilla.css +83 -0
  312. package/esm/Video/Video.js +191 -262
  313. package/esm/Video/buttons/Fullscreen.js +17 -11
  314. package/esm/Video/buttons/Pause.js +12 -9
  315. package/esm/Video/buttons/Play.js +12 -9
  316. package/esm/Video/buttons/Stop.js +12 -9
  317. package/esm/index.js +50 -24
  318. package/esm/theme.js +72 -0
  319. package/esm/themes/azureOrange.css.js +2 -0
  320. package/esm/themes/azureOrange.css.ts.vanilla.css +58 -0
  321. package/esm/themes/bee.css.js +2 -0
  322. package/esm/themes/bee.css.ts.vanilla.css +58 -0
  323. package/esm/themes/blackAndWhite.css.js +2 -0
  324. package/esm/themes/blackAndWhite.css.ts.vanilla.css +58 -0
  325. package/esm/themes/brick.css.js +2 -0
  326. package/esm/themes/brick.css.ts.vanilla.css +58 -0
  327. package/esm/themes/candy.css.js +2 -0
  328. package/esm/themes/candy.css.ts.vanilla.css +58 -0
  329. package/esm/themes/coldGray.css.js +2 -0
  330. package/esm/themes/coldGray.css.ts.vanilla.css +58 -0
  331. package/esm/themes/counterStrike.css.js +2 -0
  332. package/esm/themes/counterStrike.css.ts.vanilla.css +58 -0
  333. package/esm/themes/eggplant.css.js +2 -0
  334. package/esm/themes/eggplant.css.ts.vanilla.css +58 -0
  335. package/esm/themes/highContrast.css.js +2 -0
  336. package/esm/themes/highContrast.css.ts.vanilla.css +58 -0
  337. package/esm/themes/lilac.css.js +2 -0
  338. package/esm/themes/lilac.css.ts.vanilla.css +58 -0
  339. package/esm/themes/lilacRoseDark.css.js +2 -0
  340. package/esm/themes/lilacRoseDark.css.ts.vanilla.css +58 -0
  341. package/esm/themes/maple.css.js +2 -0
  342. package/esm/themes/maple.css.ts.vanilla.css +58 -0
  343. package/esm/themes/marine.css.js +2 -0
  344. package/esm/themes/marine.css.ts.vanilla.css +58 -0
  345. package/esm/themes/matrix.css.js +2 -0
  346. package/esm/themes/matrix.css.ts.vanilla.css +58 -0
  347. package/esm/themes/millenium.css.js +2 -0
  348. package/esm/themes/millenium.css.ts.vanilla.css +58 -0
  349. package/esm/themes/modernDark.css.js +2 -0
  350. package/esm/themes/modernDark.css.ts.vanilla.css +58 -0
  351. package/esm/themes/molecule.css.js +2 -0
  352. package/esm/themes/molecule.css.ts.vanilla.css +58 -0
  353. package/esm/themes/ninjaTurtles.css.js +2 -0
  354. package/esm/themes/ninjaTurtles.css.ts.vanilla.css +58 -0
  355. package/esm/themes/olive.css.js +2 -0
  356. package/esm/themes/olive.css.ts.vanilla.css +58 -0
  357. package/esm/themes/pamelaAnderson.css.js +2 -0
  358. package/esm/themes/pamelaAnderson.css.ts.vanilla.css +58 -0
  359. package/esm/themes/plum.css.js +2 -0
  360. package/esm/themes/plum.css.ts.vanilla.css +58 -0
  361. package/esm/themes/rainyDay.css.js +2 -0
  362. package/esm/themes/rainyDay.css.ts.vanilla.css +58 -0
  363. package/esm/themes/rose.css.js +2 -0
  364. package/esm/themes/rose.css.ts.vanilla.css +58 -0
  365. package/esm/themes/slate.css.js +2 -0
  366. package/esm/themes/slate.css.ts.vanilla.css +58 -0
  367. package/esm/themes/sprinkles.css.ts.vanilla.css +399 -0
  368. package/esm/themes/spruce.css.js +2 -0
  369. package/esm/themes/spruce.css.ts.vanilla.css +58 -0
  370. package/esm/themes/storm.css.js +2 -0
  371. package/esm/themes/storm.css.ts.vanilla.css +58 -0
  372. package/esm/themes/theSixtiesUSA.css.js +2 -0
  373. package/esm/themes/theSixtiesUSA.css.ts.vanilla.css +58 -0
  374. package/esm/themes/tokyoDark.css.js +2 -0
  375. package/esm/themes/tokyoDark.css.ts.vanilla.css +58 -0
  376. package/esm/themes/tooSexy.css.js +2 -0
  377. package/esm/themes/tooSexy.css.ts.vanilla.css +58 -0
  378. package/esm/themes/travel.css.js +2 -0
  379. package/esm/themes/travel.css.ts.vanilla.css +58 -0
  380. package/esm/themes/vaporTeal.css.js +2 -0
  381. package/esm/themes/vaporTeal.css.ts.vanilla.css +58 -0
  382. package/esm/themes/vermillion.css.js +2 -0
  383. package/esm/themes/vermillion.css.ts.vanilla.css +58 -0
  384. package/esm/themes/violetDark.css.js +2 -0
  385. package/esm/themes/violetDark.css.ts.vanilla.css +58 -0
  386. package/esm/themes/water.css.js +2 -0
  387. package/esm/themes/water.css.ts.vanilla.css +58 -0
  388. package/esm/themes/win95.css.js +2 -0
  389. package/esm/themes/win95.css.ts.vanilla.css +58 -0
  390. package/package.json +23 -9
  391. package/@types/Alert/index.d.ts +0 -2
  392. package/@types/Avatar/index.d.ts +0 -2
  393. package/@types/Button/index.d.ts +0 -2
  394. package/@types/Checkbox/index.d.ts +0 -2
  395. package/@types/Cursor/Cursor.d.ts +0 -38
  396. package/@types/Cursor/index.d.ts +0 -2
  397. package/@types/Dropdown/index.d.ts +0 -2
  398. package/@types/Fieldset/index.d.ts +0 -2
  399. package/@types/Frame/index.d.ts +0 -2
  400. package/@types/GlobalStyle/Borders.d.ts +0 -15
  401. package/@types/GlobalStyle/GlobalStyle.d.ts +0 -2
  402. package/@types/GlobalStyle/Scrollbar.d.ts +0 -7
  403. package/@types/GlobalStyle/index.d.ts +0 -2
  404. package/@types/Input/index.d.ts +0 -2
  405. package/@types/List/index.d.ts +0 -2
  406. package/@types/Modal/index.d.ts +0 -4
  407. package/@types/ProgressBar/index.d.ts +0 -2
  408. package/@types/RadioButton/index.d.ts +0 -2
  409. package/@types/Range/index.d.ts +0 -2
  410. package/@types/Tabs/index.d.ts +0 -3
  411. package/@types/TaskBar/index.d.ts +0 -2
  412. package/@types/TextArea/index.d.ts +0 -2
  413. package/@types/ThemeProvider/ThemeProvider.d.ts +0 -7
  414. package/@types/ThemeProvider/index.d.ts +0 -2
  415. package/@types/ThemeProvider/themes/azureOrange.d.ts +0 -3
  416. package/@types/ThemeProvider/themes/baseTheme.d.ts +0 -9
  417. package/@types/ThemeProvider/themes/bee.d.ts +0 -3
  418. package/@types/ThemeProvider/themes/blackAndWhite.d.ts +0 -3
  419. package/@types/ThemeProvider/themes/brick.d.ts +0 -3
  420. package/@types/ThemeProvider/themes/candy.d.ts +0 -3
  421. package/@types/ThemeProvider/themes/coldGray.d.ts +0 -3
  422. package/@types/ThemeProvider/themes/counterStrike.d.ts +0 -3
  423. package/@types/ThemeProvider/themes/eggplant.d.ts +0 -3
  424. package/@types/ThemeProvider/themes/highContrast.d.ts +0 -3
  425. package/@types/ThemeProvider/themes/lilac.d.ts +0 -3
  426. package/@types/ThemeProvider/themes/lilacRoseDark.d.ts +0 -3
  427. package/@types/ThemeProvider/themes/maple.d.ts +0 -3
  428. package/@types/ThemeProvider/themes/marine.d.ts +0 -3
  429. package/@types/ThemeProvider/themes/matrix.d.ts +0 -3
  430. package/@types/ThemeProvider/themes/millenium.d.ts +0 -3
  431. package/@types/ThemeProvider/themes/modernDark.d.ts +0 -3
  432. package/@types/ThemeProvider/themes/molecule.d.ts +0 -3
  433. package/@types/ThemeProvider/themes/ninjaTurtles.d.ts +0 -3
  434. package/@types/ThemeProvider/themes/olive.d.ts +0 -3
  435. package/@types/ThemeProvider/themes/pamelaAnderson.d.ts +0 -3
  436. package/@types/ThemeProvider/themes/plum.d.ts +0 -3
  437. package/@types/ThemeProvider/themes/rainyDay.d.ts +0 -3
  438. package/@types/ThemeProvider/themes/rose.d.ts +0 -3
  439. package/@types/ThemeProvider/themes/slate.d.ts +0 -3
  440. package/@types/ThemeProvider/themes/spruce.d.ts +0 -3
  441. package/@types/ThemeProvider/themes/storm.d.ts +0 -3
  442. package/@types/ThemeProvider/themes/theSixtiesUSA.d.ts +0 -3
  443. package/@types/ThemeProvider/themes/tokyoDark.d.ts +0 -3
  444. package/@types/ThemeProvider/themes/tooSexy.d.ts +0 -3
  445. package/@types/ThemeProvider/themes/travel.d.ts +0 -3
  446. package/@types/ThemeProvider/themes/vaporTeal.d.ts +0 -3
  447. package/@types/ThemeProvider/themes/vermillion.d.ts +0 -3
  448. package/@types/ThemeProvider/themes/violetDark.d.ts +0 -3
  449. package/@types/ThemeProvider/themes/water.d.ts +0 -3
  450. package/@types/ThemeProvider/themes/win95.d.ts +0 -3
  451. package/@types/ThemeProvider/themes.d.ts +0 -38
  452. package/@types/TitleBar/index.d.ts +0 -2
  453. package/@types/Tooltip/index.d.ts +0 -2
  454. package/@types/Tree/index.d.ts +0 -2
  455. package/@types/Video/index.d.ts +0 -2
  456. package/@types/shared/test/utils.d.ts +0 -5
  457. package/cjs/Alert/assets/chord.mp3 +0 -0
  458. package/cjs/Alert/index.js +0 -9
  459. package/cjs/Avatar/index.js +0 -9
  460. package/cjs/Button/index.js +0 -9
  461. package/cjs/Checkbox/imgs/check-disabled.svg +0 -1
  462. package/cjs/Checkbox/imgs/check.svg +0 -1
  463. package/cjs/Checkbox/index.js +0 -9
  464. package/cjs/Cursor/Cursor.js +0 -86
  465. package/cjs/Cursor/cursors/AngleUpLeft.png +0 -0
  466. package/cjs/Cursor/cursors/AngleUpRight.png +0 -0
  467. package/cjs/Cursor/cursors/AppStarting.png +0 -0
  468. package/cjs/Cursor/cursors/Arrow.png +0 -0
  469. package/cjs/Cursor/cursors/ArrowRight.png +0 -0
  470. package/cjs/Cursor/cursors/Circle.png +0 -0
  471. package/cjs/Cursor/cursors/ColRezise.png +0 -0
  472. package/cjs/Cursor/cursors/Copy.png +0 -0
  473. package/cjs/Cursor/cursors/Cross.png +0 -0
  474. package/cjs/Cursor/cursors/Crosshair.png +0 -0
  475. package/cjs/Cursor/cursors/DND-ask.png +0 -0
  476. package/cjs/Cursor/cursors/DND-copy.png +0 -0
  477. package/cjs/Cursor/cursors/DND-link.png +0 -0
  478. package/cjs/Cursor/cursors/DownArrow.png +0 -0
  479. package/cjs/Cursor/cursors/DownLeftArrow.png +0 -0
  480. package/cjs/Cursor/cursors/DownRightArrow.png +0 -0
  481. package/cjs/Cursor/cursors/Hand.png +0 -0
  482. package/cjs/Cursor/cursors/HandPointer.png +0 -0
  483. package/cjs/Cursor/cursors/Handsqueezed.png +0 -0
  484. package/cjs/Cursor/cursors/Handwriting.png +0 -0
  485. package/cjs/Cursor/cursors/Help.png +0 -0
  486. package/cjs/Cursor/cursors/LeftArrow.png +0 -0
  487. package/cjs/Cursor/cursors/LeftRight.png +0 -0
  488. package/cjs/Cursor/cursors/LeftRightArrow.png +0 -0
  489. package/cjs/Cursor/cursors/Link.png +0 -0
  490. package/cjs/Cursor/cursors/Move.png +0 -0
  491. package/cjs/Cursor/cursors/NO.png +0 -0
  492. package/cjs/Cursor/cursors/RightArrow.png +0 -0
  493. package/cjs/Cursor/cursors/RowResize.png +0 -0
  494. package/cjs/Cursor/cursors/SizeAll.png +0 -0
  495. package/cjs/Cursor/cursors/Text.png +0 -0
  496. package/cjs/Cursor/cursors/UpArrow.png +0 -0
  497. package/cjs/Cursor/cursors/UpDownArrow.png +0 -0
  498. package/cjs/Cursor/cursors/UpLeftArrow.png +0 -0
  499. package/cjs/Cursor/cursors/UpRightArrow.png +0 -0
  500. package/cjs/Cursor/cursors/VText.png +0 -0
  501. package/cjs/Cursor/cursors/Wait.png +0 -0
  502. package/cjs/Cursor/cursors/X.png +0 -0
  503. package/cjs/Cursor/cursors/ZoomIn.png +0 -0
  504. package/cjs/Cursor/cursors/ZoomOut.png +0 -0
  505. package/cjs/Cursor/index.js +0 -9
  506. package/cjs/Dropdown/imgs/downcaret.png +0 -0
  507. package/cjs/Dropdown/imgs/downcaret.svg +0 -1
  508. package/cjs/Dropdown/index.js +0 -9
  509. package/cjs/Fieldset/index.js +0 -9
  510. package/cjs/Frame/index.js +0 -9
  511. package/cjs/GlobalStyle/Borders.js +0 -88
  512. package/cjs/GlobalStyle/GlobalStyle.js +0 -18
  513. package/cjs/GlobalStyle/Scrollbar.js +0 -59
  514. package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
  515. package/cjs/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
  516. package/cjs/GlobalStyle/font/React95Video-Numbers.eot +0 -0
  517. package/cjs/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
  518. package/cjs/GlobalStyle/font/React95Video-Numbers.woff +0 -0
  519. package/cjs/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
  520. package/cjs/GlobalStyle/imgs/downcaret.svg +0 -1
  521. package/cjs/GlobalStyle/imgs/dropdown.png +0 -0
  522. package/cjs/GlobalStyle/imgs/leftcaret.svg +0 -1
  523. package/cjs/GlobalStyle/imgs/rightcaret.svg +0 -1
  524. package/cjs/GlobalStyle/imgs/upcaret.svg +0 -1
  525. package/cjs/GlobalStyle/index.js +0 -9
  526. package/cjs/Input/index.js +0 -9
  527. package/cjs/List/index.js +0 -9
  528. package/cjs/Modal/index.js +0 -27
  529. package/cjs/ProgressBar/index.js +0 -9
  530. package/cjs/RadioButton/imgs/radio-checked-disabled.png +0 -0
  531. package/cjs/RadioButton/imgs/radio-checked.png +0 -0
  532. package/cjs/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
  533. package/cjs/RadioButton/imgs/radio-unchecked.png +0 -0
  534. package/cjs/RadioButton/index.js +0 -9
  535. package/cjs/RadioButton/radioButtonStates.js +0 -34
  536. package/cjs/Range/index.js +0 -9
  537. package/cjs/Tabs/index.js +0 -20
  538. package/cjs/TaskBar/index.js +0 -9
  539. package/cjs/TextArea/index.js +0 -9
  540. package/cjs/ThemeProvider/ThemeProvider.js +0 -25
  541. package/cjs/ThemeProvider/index.js +0 -9
  542. package/cjs/ThemeProvider/themes/azureOrange.js +0 -48
  543. package/cjs/ThemeProvider/themes/baseTheme.js +0 -28
  544. package/cjs/ThemeProvider/themes/bee.js +0 -48
  545. package/cjs/ThemeProvider/themes/blackAndWhite.js +0 -48
  546. package/cjs/ThemeProvider/themes/brick.js +0 -48
  547. package/cjs/ThemeProvider/themes/candy.js +0 -48
  548. package/cjs/ThemeProvider/themes/coldGray.js +0 -48
  549. package/cjs/ThemeProvider/themes/counterStrike.js +0 -48
  550. package/cjs/ThemeProvider/themes/eggplant.js +0 -48
  551. package/cjs/ThemeProvider/themes/highContrast.js +0 -48
  552. package/cjs/ThemeProvider/themes/lilac.js +0 -48
  553. package/cjs/ThemeProvider/themes/lilacRoseDark.js +0 -48
  554. package/cjs/ThemeProvider/themes/maple.js +0 -48
  555. package/cjs/ThemeProvider/themes/marine.js +0 -48
  556. package/cjs/ThemeProvider/themes/matrix.js +0 -48
  557. package/cjs/ThemeProvider/themes/millenium.js +0 -48
  558. package/cjs/ThemeProvider/themes/modernDark.js +0 -48
  559. package/cjs/ThemeProvider/themes/molecule.js +0 -48
  560. package/cjs/ThemeProvider/themes/ninjaTurtles.js +0 -48
  561. package/cjs/ThemeProvider/themes/olive.js +0 -48
  562. package/cjs/ThemeProvider/themes/pamelaAnderson.js +0 -48
  563. package/cjs/ThemeProvider/themes/plum.js +0 -48
  564. package/cjs/ThemeProvider/themes/rainyDay.js +0 -48
  565. package/cjs/ThemeProvider/themes/rose.js +0 -48
  566. package/cjs/ThemeProvider/themes/slate.js +0 -48
  567. package/cjs/ThemeProvider/themes/spruce.js +0 -48
  568. package/cjs/ThemeProvider/themes/storm.js +0 -48
  569. package/cjs/ThemeProvider/themes/theSixtiesUSA.js +0 -48
  570. package/cjs/ThemeProvider/themes/tokyoDark.js +0 -48
  571. package/cjs/ThemeProvider/themes/tooSexy.js +0 -48
  572. package/cjs/ThemeProvider/themes/travel.js +0 -48
  573. package/cjs/ThemeProvider/themes/vaporTeal.js +0 -48
  574. package/cjs/ThemeProvider/themes/vermillion.js +0 -48
  575. package/cjs/ThemeProvider/themes/violetDark.js +0 -48
  576. package/cjs/ThemeProvider/themes/water.js +0 -48
  577. package/cjs/ThemeProvider/themes/win95.js +0 -48
  578. package/cjs/ThemeProvider/themes.js +0 -80
  579. package/cjs/TitleBar/index.js +0 -9
  580. package/cjs/Tooltip/index.js +0 -9
  581. package/cjs/Tree/imgs/tree-first.png +0 -0
  582. package/cjs/Tree/imgs/tree-folder-closed.png +0 -0
  583. package/cjs/Tree/imgs/tree-folder-opened.png +0 -0
  584. package/cjs/Tree/imgs/tree-last.png +0 -0
  585. package/cjs/Tree/imgs/tree-mid.png +0 -0
  586. package/cjs/Tree/imgs/tree-node-children.png +0 -0
  587. package/cjs/Tree/index.js +0 -9
  588. package/cjs/Video/buttons/index.js +0 -34
  589. package/cjs/Video/index.js +0 -9
  590. package/cjs/shared/test/utils.js +0 -76
  591. package/esm/Alert/assets/chord.mp3 +0 -0
  592. package/esm/Alert/index.js +0 -2
  593. package/esm/Avatar/index.js +0 -2
  594. package/esm/Button/index.js +0 -2
  595. package/esm/Checkbox/imgs/check-disabled.svg +0 -1
  596. package/esm/Checkbox/imgs/check.svg +0 -1
  597. package/esm/Checkbox/index.js +0 -2
  598. package/esm/Cursor/Cursor.js +0 -79
  599. package/esm/Cursor/cursors/AngleUpLeft.png +0 -0
  600. package/esm/Cursor/cursors/AngleUpRight.png +0 -0
  601. package/esm/Cursor/cursors/AppStarting.png +0 -0
  602. package/esm/Cursor/cursors/Arrow.png +0 -0
  603. package/esm/Cursor/cursors/ArrowRight.png +0 -0
  604. package/esm/Cursor/cursors/Circle.png +0 -0
  605. package/esm/Cursor/cursors/ColRezise.png +0 -0
  606. package/esm/Cursor/cursors/Copy.png +0 -0
  607. package/esm/Cursor/cursors/Cross.png +0 -0
  608. package/esm/Cursor/cursors/Crosshair.png +0 -0
  609. package/esm/Cursor/cursors/DND-ask.png +0 -0
  610. package/esm/Cursor/cursors/DND-copy.png +0 -0
  611. package/esm/Cursor/cursors/DND-link.png +0 -0
  612. package/esm/Cursor/cursors/DownArrow.png +0 -0
  613. package/esm/Cursor/cursors/DownLeftArrow.png +0 -0
  614. package/esm/Cursor/cursors/DownRightArrow.png +0 -0
  615. package/esm/Cursor/cursors/Hand.png +0 -0
  616. package/esm/Cursor/cursors/HandPointer.png +0 -0
  617. package/esm/Cursor/cursors/Handsqueezed.png +0 -0
  618. package/esm/Cursor/cursors/Handwriting.png +0 -0
  619. package/esm/Cursor/cursors/Help.png +0 -0
  620. package/esm/Cursor/cursors/LeftArrow.png +0 -0
  621. package/esm/Cursor/cursors/LeftRight.png +0 -0
  622. package/esm/Cursor/cursors/LeftRightArrow.png +0 -0
  623. package/esm/Cursor/cursors/Link.png +0 -0
  624. package/esm/Cursor/cursors/Move.png +0 -0
  625. package/esm/Cursor/cursors/NO.png +0 -0
  626. package/esm/Cursor/cursors/RightArrow.png +0 -0
  627. package/esm/Cursor/cursors/RowResize.png +0 -0
  628. package/esm/Cursor/cursors/SizeAll.png +0 -0
  629. package/esm/Cursor/cursors/Text.png +0 -0
  630. package/esm/Cursor/cursors/UpArrow.png +0 -0
  631. package/esm/Cursor/cursors/UpDownArrow.png +0 -0
  632. package/esm/Cursor/cursors/UpLeftArrow.png +0 -0
  633. package/esm/Cursor/cursors/UpRightArrow.png +0 -0
  634. package/esm/Cursor/cursors/VText.png +0 -0
  635. package/esm/Cursor/cursors/Wait.png +0 -0
  636. package/esm/Cursor/cursors/X.png +0 -0
  637. package/esm/Cursor/cursors/ZoomIn.png +0 -0
  638. package/esm/Cursor/cursors/ZoomOut.png +0 -0
  639. package/esm/Cursor/index.js +0 -2
  640. package/esm/Dropdown/imgs/downcaret.png +0 -0
  641. package/esm/Dropdown/imgs/downcaret.svg +0 -1
  642. package/esm/Dropdown/index.js +0 -2
  643. package/esm/Fieldset/index.js +0 -2
  644. package/esm/Frame/index.js +0 -2
  645. package/esm/GlobalStyle/Borders.js +0 -82
  646. package/esm/GlobalStyle/GlobalStyle.js +0 -11
  647. package/esm/GlobalStyle/Scrollbar.js +0 -53
  648. package/esm/GlobalStyle/font/MS-Sans-Serif-8pt-bold.ttf +0 -0
  649. package/esm/GlobalStyle/font/MS-Sans-Serif-8pt.ttf +0 -0
  650. package/esm/GlobalStyle/font/React95Video-Numbers.eot +0 -0
  651. package/esm/GlobalStyle/font/React95Video-Numbers.ttf +0 -0
  652. package/esm/GlobalStyle/font/React95Video-Numbers.woff +0 -0
  653. package/esm/GlobalStyle/font/React95Video-Numbers.woff2 +0 -0
  654. package/esm/GlobalStyle/imgs/downcaret.svg +0 -1
  655. package/esm/GlobalStyle/imgs/dropdown.png +0 -0
  656. package/esm/GlobalStyle/imgs/leftcaret.svg +0 -1
  657. package/esm/GlobalStyle/imgs/rightcaret.svg +0 -1
  658. package/esm/GlobalStyle/imgs/upcaret.svg +0 -1
  659. package/esm/GlobalStyle/index.js +0 -2
  660. package/esm/Input/index.js +0 -2
  661. package/esm/List/index.js +0 -2
  662. package/esm/Modal/index.js +0 -4
  663. package/esm/ProgressBar/index.js +0 -2
  664. package/esm/RadioButton/imgs/radio-checked-disabled.png +0 -0
  665. package/esm/RadioButton/imgs/radio-checked.png +0 -0
  666. package/esm/RadioButton/imgs/radio-unchecked-disabled.png +0 -0
  667. package/esm/RadioButton/imgs/radio-unchecked.png +0 -0
  668. package/esm/RadioButton/index.js +0 -2
  669. package/esm/RadioButton/radioButtonStates.js +0 -5
  670. package/esm/Range/index.js +0 -2
  671. package/esm/Tabs/index.js +0 -3
  672. package/esm/TaskBar/index.js +0 -2
  673. package/esm/TextArea/index.js +0 -2
  674. package/esm/ThemeProvider/ThemeProvider.js +0 -15
  675. package/esm/ThemeProvider/index.js +0 -2
  676. package/esm/ThemeProvider/themes/azureOrange.js +0 -40
  677. package/esm/ThemeProvider/themes/baseTheme.js +0 -22
  678. package/esm/ThemeProvider/themes/bee.js +0 -40
  679. package/esm/ThemeProvider/themes/blackAndWhite.js +0 -40
  680. package/esm/ThemeProvider/themes/brick.js +0 -40
  681. package/esm/ThemeProvider/themes/candy.js +0 -40
  682. package/esm/ThemeProvider/themes/coldGray.js +0 -40
  683. package/esm/ThemeProvider/themes/counterStrike.js +0 -40
  684. package/esm/ThemeProvider/themes/eggplant.js +0 -40
  685. package/esm/ThemeProvider/themes/highContrast.js +0 -40
  686. package/esm/ThemeProvider/themes/lilac.js +0 -40
  687. package/esm/ThemeProvider/themes/lilacRoseDark.js +0 -40
  688. package/esm/ThemeProvider/themes/maple.js +0 -40
  689. package/esm/ThemeProvider/themes/marine.js +0 -40
  690. package/esm/ThemeProvider/themes/matrix.js +0 -40
  691. package/esm/ThemeProvider/themes/millenium.js +0 -40
  692. package/esm/ThemeProvider/themes/modernDark.js +0 -40
  693. package/esm/ThemeProvider/themes/molecule.js +0 -40
  694. package/esm/ThemeProvider/themes/ninjaTurtles.js +0 -40
  695. package/esm/ThemeProvider/themes/olive.js +0 -40
  696. package/esm/ThemeProvider/themes/pamelaAnderson.js +0 -40
  697. package/esm/ThemeProvider/themes/plum.js +0 -40
  698. package/esm/ThemeProvider/themes/rainyDay.js +0 -40
  699. package/esm/ThemeProvider/themes/rose.js +0 -40
  700. package/esm/ThemeProvider/themes/slate.js +0 -40
  701. package/esm/ThemeProvider/themes/spruce.js +0 -40
  702. package/esm/ThemeProvider/themes/storm.js +0 -40
  703. package/esm/ThemeProvider/themes/theSixtiesUSA.js +0 -40
  704. package/esm/ThemeProvider/themes/tokyoDark.js +0 -40
  705. package/esm/ThemeProvider/themes/tooSexy.js +0 -40
  706. package/esm/ThemeProvider/themes/travel.js +0 -40
  707. package/esm/ThemeProvider/themes/vaporTeal.js +0 -40
  708. package/esm/ThemeProvider/themes/vermillion.js +0 -40
  709. package/esm/ThemeProvider/themes/violetDark.js +0 -40
  710. package/esm/ThemeProvider/themes/water.js +0 -40
  711. package/esm/ThemeProvider/themes/win95.js +0 -40
  712. package/esm/ThemeProvider/themes.js +0 -73
  713. package/esm/TitleBar/index.js +0 -2
  714. package/esm/Tooltip/index.js +0 -2
  715. package/esm/Tree/imgs/tree-first.png +0 -0
  716. package/esm/Tree/imgs/tree-folder-closed.png +0 -0
  717. package/esm/Tree/imgs/tree-folder-opened.png +0 -0
  718. package/esm/Tree/imgs/tree-last.png +0 -0
  719. package/esm/Tree/imgs/tree-mid.png +0 -0
  720. package/esm/Tree/imgs/tree-node-children.png +0 -0
  721. package/esm/Tree/index.js +0 -2
  722. package/esm/Video/buttons/index.js +0 -5
  723. package/esm/Video/index.js +0 -2
  724. package/esm/shared/test/utils.js +0 -56
@@ -1,186 +1,151 @@
1
1
  "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _styledComponents = _interopRequireWildcard(require("@xstyled/styled-components"));
9
- var React = _interopRequireWildcard(require("react"));
10
- var _reactDraggable = _interopRequireDefault(require("react-draggable"));
11
- var _Button = _interopRequireDefault(require("../Button"));
12
- var _TitleBar = _interopRequireDefault(require("../TitleBar"));
13
- var _ModalContext = _interopRequireDefault(require("./ModalContext"));
14
- var _excluded = ["hasWindowButton", "buttons", "buttonsAlignment", "children", "closeModal", "defaultPosition", "positionOffset", "height", "icon", "menu", "title", "width"];
15
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
18
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
19
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
20
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
21
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
23
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
24
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
26
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27
- var ModalWrapper = _styledComponents["default"].div.withConfig({
28
- displayName: "Modal__ModalWrapper",
29
- componentId: "sc-4ouk59-0"
30
- })(["\n display: flex;\n flex-direction: column;\n\n position: fixed;\n\n padding: 2 2 8;\n\n top: 50px;\n\n background-color: material;\n\n box-shadow: inset 1px 1px 0px 1px ", ",\n inset 0 0 0 1px ", ",\n 1px 1px 0 1px ", ";\n\n ", "\n ", "\n"], (0, _styledComponents.th)('colors.borderLightest'), (0, _styledComponents.th)('colors.borderDark'), (0, _styledComponents.th)('colors.borderDarkest'), function (_ref) {
31
- var width = _ref.width,
32
- height = _ref.height;
33
- return "\n width: ".concat(width ? "".concat(width, "px") : 'auto', ";\n height: ").concat(height ? "".concat(height, "px") : 'auto', ";\n ");
34
- }, function (_ref2) {
35
- var active = _ref2.active;
36
- return active ? (0, _styledComponents.css)(["\n z-index: modal;\n "]) : '';
37
- });
38
- var Content = _styledComponents["default"].div.withConfig({
39
- displayName: "Modal__Content",
40
- componentId: "sc-4ouk59-1"
41
- })(["\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n\n padding: 6;\n"]);
42
- var ButtonWrapper = _styledComponents["default"].div.withConfig({
43
- displayName: "Modal__ButtonWrapper",
44
- componentId: "sc-4ouk59-2"
45
- })(["\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n\n padding: 0 6 6 6;\n\n & ", " {\n margin-right: 6;\n min-width: 70px;\n\n &:last-child {\n margin-right: 0;\n }\n }\n"], function (_ref3) {
46
- var _ref3$buttonsAlignmen = _ref3.buttonsAlignment,
47
- buttonsAlignment = _ref3$buttonsAlignmen === void 0 ? 'center' : _ref3$buttonsAlignmen;
48
- return buttonsAlignment;
49
- }, _Button["default"]);
50
- var MenuWrapper = _styledComponents["default"].ul.withConfig({
51
- displayName: "Modal__MenuWrapper",
52
- componentId: "sc-4ouk59-3"
53
- })(["\n display: flex;\n flex-direction: row;\n\n list-style: none;\n margin: 0;\n padding-left: 0;\n padding-bottom: 3;\n\n border-bottom-style: solid;\n border-width: 1;\n border-bottom-color: borderDark;\n\n box-shadow: 0 1px 0 0 ", ";\n"], (0, _styledComponents.th)('colors.borderLighter'));
54
- var MenuItem = _styledComponents["default"].li.withConfig({
55
- displayName: "Modal__MenuItem",
56
- componentId: "sc-4ouk59-4"
57
- })(["\n position: relative;\n padding-left: 6;\n padding-right: 6;\n\n user-select: none;\n\n ul {\n position: absolute;\n left: 0;\n color: ", ";\n }\n\n ", ";\n"], (0, _styledComponents.th)('colors.materialText'), function (_ref4) {
58
- var active = _ref4.active;
59
- return active && (0, _styledComponents.css)(["\n background-color: primary;\n color: materialTextInvert;\n "]);
60
- });
61
- MenuItem.displayName = 'MenuItem';
62
- var ModalRenderer = function ModalRenderer(_ref5, ref) {
63
- var _ref5$hasWindowButton = _ref5.hasWindowButton,
64
- hasButton = _ref5$hasWindowButton === void 0 ? true : _ref5$hasWindowButton,
65
- buttons = _ref5.buttons,
66
- buttonsAlignment = _ref5.buttonsAlignment,
67
- children = _ref5.children,
68
- closeModal = _ref5.closeModal,
69
- defaultPosition = _ref5.defaultPosition,
70
- positionOffset = _ref5.positionOffset,
71
- height = _ref5.height,
72
- icon = _ref5.icon,
73
- menu = _ref5.menu,
74
- title = _ref5.title,
75
- width = _ref5.width,
76
- rest = _objectWithoutProperties(_ref5, _excluded);
77
- var _React$useContext = React.useContext(_ModalContext["default"]),
78
- addWindows = _React$useContext.addWindows,
79
- removeWindow = _React$useContext.removeWindow,
80
- updateWindow = _React$useContext.updateWindow,
81
- setActiveWindow = _React$useContext.setActiveWindow,
82
- activeWindow = _React$useContext.activeWindow;
83
- var _React$useState = React.useState(null),
84
- _React$useState2 = _slicedToArray(_React$useState, 2),
85
- id = _React$useState2[0],
86
- setId = _React$useState2[1];
87
- var _React$useState3 = React.useState(''),
88
- _React$useState4 = _slicedToArray(_React$useState3, 2),
89
- menuOpened = _React$useState4[0],
90
- setMenuOpened = _React$useState4[1];
91
- var _React$useState5 = React.useState(false),
92
- _React$useState6 = _slicedToArray(_React$useState5, 2),
93
- isActive = _React$useState6[0],
94
- setIsActive = _React$useState6[1];
95
- React.useEffect(function () {
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const React = require("react");
4
+ const Draggable = require("react-draggable");
5
+ const Button = require("../Button/Button.js");
6
+ const TitleBar = require("../TitleBar/TitleBar.js");
7
+ const ModalContext = require("./ModalContext.js");
8
+ const Modal_css = require("./Modal.css.js");
9
+ const Frame = require("../Frame/Frame.js");
10
+ const close = require("./close.svg.js");
11
+ const help = require("./help.svg.js");
12
+ function _interopNamespaceDefault(e) {
13
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
14
+ if (e) {
15
+ for (const k in e) {
16
+ if (k !== "default") {
17
+ const d = Object.getOwnPropertyDescriptor(e, k);
18
+ Object.defineProperty(n, k, d.get ? d : {
19
+ enumerable: true,
20
+ get: () => e[k]
21
+ });
22
+ }
23
+ }
24
+ }
25
+ n.default = e;
26
+ return Object.freeze(n);
27
+ }
28
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
29
+ const ModalRenderer = ({
30
+ hasWindowButton: hasButton = true,
31
+ buttons = [],
32
+ buttonsAlignment = "flex-end",
33
+ children,
34
+ onClose = () => {
35
+ },
36
+ onHelp,
37
+ defaultPosition = { x: 0, y: 0 },
38
+ positionOffset,
39
+ height,
40
+ icon,
41
+ menu = [],
42
+ title,
43
+ width,
44
+ ...rest
45
+ }, ref) => {
46
+ const {
47
+ addWindows,
48
+ removeWindow,
49
+ updateWindow,
50
+ setActiveWindow,
51
+ activeWindow
52
+ } = React__namespace.useContext(ModalContext.ModalContext);
53
+ const [id, setId] = React__namespace.useState(null);
54
+ const [menuOpened, setMenuOpened] = React__namespace.useState("");
55
+ const [isActive, setIsActive] = React__namespace.useState(false);
56
+ React__namespace.useEffect(() => {
96
57
  if (!id) {
97
- var newId = addWindows({
98
- icon: icon,
99
- title: title,
100
- hasButton: hasButton
101
- });
58
+ const newId = addWindows({ icon, title, hasButton });
102
59
  if (newId) {
103
60
  setId(newId);
104
61
  setActiveWindow(newId);
105
62
  }
106
63
  } else {
107
- updateWindow(id, {
108
- icon: icon,
109
- title: title,
110
- hasButton: hasButton
111
- });
64
+ updateWindow(id, { icon, title, hasButton });
112
65
  }
113
66
  }, [id, icon, title, hasButton]);
114
- React.useEffect(function () {
115
- return function () {
67
+ React__namespace.useEffect(() => {
68
+ return () => {
116
69
  if (id) {
117
70
  removeWindow(id);
118
71
  }
119
72
  };
120
73
  }, [id]);
121
- React.useEffect(function () {
122
- return setIsActive(id === activeWindow);
123
- }, [id, activeWindow]);
124
- return /*#__PURE__*/React.createElement(_reactDraggable["default"], {
125
- handle: ".draggable",
126
- defaultPosition: defaultPosition,
127
- positionOffset: positionOffset,
128
- onMouseDown: id ? function () {
129
- return setActiveWindow(id);
130
- } : undefined
131
- }, /*#__PURE__*/React.createElement(ModalWrapper, _extends({
132
- width: width,
133
- height: height
134
- }, rest, {
135
- active: isActive,
136
- ref: ref
137
- }), /*#__PURE__*/React.createElement(_TitleBar["default"], {
138
- active: isActive,
139
- icon: icon,
140
- title: title,
141
- className: "draggable"
142
- }, /*#__PURE__*/React.createElement(_TitleBar["default"].OptionsBox, null, /*#__PURE__*/React.createElement(_TitleBar["default"].Option, null, "?"), /*#__PURE__*/React.createElement(_TitleBar["default"].Option, {
143
- onClick: closeModal
144
- }, "X"))), menu && menu.length > 0 && /*#__PURE__*/React.createElement(MenuWrapper, null, menu.map(function (_ref6) {
145
- var name = _ref6.name,
146
- list = _ref6.list;
147
- var active = menuOpened === name;
148
- return /*#__PURE__*/React.createElement(MenuItem, {
149
- key: name,
150
- onMouseDown: function onMouseDown() {
151
- return setMenuOpened(name);
74
+ React__namespace.useEffect(() => setIsActive(id === activeWindow), [id, activeWindow]);
75
+ return /* @__PURE__ */ React__namespace.createElement(
76
+ Draggable,
77
+ {
78
+ handle: ".draggable",
79
+ defaultPosition,
80
+ positionOffset,
81
+ onMouseDown: id ? () => setActiveWindow(id) : void 0
82
+ },
83
+ /* @__PURE__ */ React__namespace.createElement(
84
+ Frame.Frame,
85
+ {
86
+ ...rest,
87
+ width,
88
+ height,
89
+ className: Modal_css.modalWrapper({ active: isActive }),
90
+ ref
152
91
  },
153
- active: active
154
- }, name, active && list);
155
- })), /*#__PURE__*/React.createElement(Content, {
156
- onClick: function onClick() {
157
- return setMenuOpened('');
158
- }
159
- }, children), buttons && buttons.length > 0 && /*#__PURE__*/React.createElement(ButtonWrapper, {
160
- buttonsAlignment: buttonsAlignment
161
- }, buttons.map(function (button) {
162
- return /*#__PURE__*/React.createElement(_Button["default"], {
163
- key: button.value,
164
- onClick: button.onClick,
165
- value: button.value
166
- }, button.value);
167
- }))));
92
+ /* @__PURE__ */ React__namespace.createElement(
93
+ TitleBar.TitleBar,
94
+ {
95
+ active: isActive,
96
+ icon,
97
+ title,
98
+ className: "draggable"
99
+ },
100
+ /* @__PURE__ */ React__namespace.createElement(TitleBar.TitleBar.OptionsBox, null, onHelp && /* @__PURE__ */ React__namespace.createElement(TitleBar.TitleBar.Option, null, /* @__PURE__ */ React__namespace.createElement("img", { src: help, alt: "help", onClick: onHelp })), /* @__PURE__ */ React__namespace.createElement(TitleBar.TitleBar.Option, { onClick: onClose }, /* @__PURE__ */ React__namespace.createElement("img", { src: close, alt: "close" })))
101
+ ),
102
+ menu && menu.length > 0 && /* @__PURE__ */ React__namespace.createElement("ul", { className: Modal_css.menuWrapper }, menu.map(({ name, list }) => {
103
+ const active = menuOpened === name;
104
+ return /* @__PURE__ */ React__namespace.createElement(
105
+ "li",
106
+ {
107
+ key: name,
108
+ onMouseDown: () => setMenuOpened(name),
109
+ className: Modal_css.menuItem({ active })
110
+ },
111
+ name,
112
+ active && list
113
+ );
114
+ })),
115
+ /* @__PURE__ */ React__namespace.createElement("div", { className: Modal_css.content, onClick: () => setMenuOpened("") }, children),
116
+ buttons && buttons.length > 0 && /* @__PURE__ */ React__namespace.createElement(
117
+ Frame.Frame,
118
+ {
119
+ className: Modal_css.buttonWrapper,
120
+ justifyContent: buttonsAlignment
121
+ },
122
+ buttons.map((button) => /* @__PURE__ */ React__namespace.createElement(
123
+ Button.Button,
124
+ {
125
+ key: button.value,
126
+ onClick: button.onClick,
127
+ value: button.value
128
+ },
129
+ button.value
130
+ ))
131
+ )
132
+ )
133
+ );
168
134
  };
169
- var Modal = /*#__PURE__*/React.forwardRef(ModalRenderer);
170
- Modal.displayName = 'Modal';
135
+ const Modal = React__namespace.forwardRef(
136
+ ModalRenderer
137
+ );
138
+ Modal.displayName = "Modal";
171
139
  Modal.defaultProps = {
172
- icon: undefined,
173
- title: 'Modal',
174
- buttonsAlignment: 'flex-end',
140
+ icon: void 0,
141
+ title: "Modal",
175
142
  children: null,
176
- defaultPosition: {
177
- x: 0,
178
- y: 0
179
- },
143
+ defaultPosition: { x: 0, y: 0 },
180
144
  buttons: [],
181
145
  menu: [],
182
- width: undefined,
183
- height: undefined,
184
- closeModal: function closeModal() {}
146
+ width: void 0,
147
+ height: void 0,
148
+ onClose: () => {
149
+ }
185
150
  };
186
- var _default = exports["default"] = Modal;
151
+ exports.Modal = Modal;
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _react = require("react");
8
- /* eslint-disable no-unused-vars */
9
-
10
- var ModalContext = /*#__PURE__*/(0, _react.createContext)({
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const React = require("react");
4
+ const ModalContext = React.createContext({
11
5
  windows: {},
12
- addWindows: function addWindows() {},
13
- removeWindow: function removeWindow() {},
14
- updateWindow: function updateWindow() {},
15
- setActiveWindow: function setActiveWindow() {},
16
- activeWindow: ''
6
+ addWindows: () => {
7
+ },
8
+ removeWindow: () => {
9
+ },
10
+ updateWindow: () => {
11
+ },
12
+ setActiveWindow: () => {
13
+ },
14
+ activeWindow: ""
17
15
  });
18
- var _default = exports["default"] = ModalContext;
16
+ exports.ModalContext = ModalContext;
@@ -1,92 +1,71 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _nanoid = require("nanoid");
8
- var React = _interopRequireWildcard(require("react"));
9
- var _ModalContext = _interopRequireDefault(require("./ModalContext"));
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
14
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
19
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
23
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
24
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
25
- // eslint-disable-next-line @typescript-eslint/ban-types
26
-
27
- var windowStackReducer = function windowStackReducer(state, action) {
28
- var newWindows = _objectSpread({}, state);
29
- switch (action.type) {
30
- case 'ADD_WINDOW':
31
- {
32
- newWindows[action.id] = action.window;
33
- return newWindows;
34
- }
35
- case 'REMOVE_WINDOW':
36
- {
37
- delete newWindows[action.id];
38
- return newWindows;
39
- }
40
- case 'UPDATE_WINDOW':
41
- {
42
- newWindows[action.id] = action.window;
43
- return newWindows;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const nanoid = require("nanoid");
4
+ const React = require("react");
5
+ const ModalContext = require("./ModalContext.js");
6
+ function _interopNamespaceDefault(e) {
7
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
+ if (e) {
9
+ for (const k in e) {
10
+ if (k !== "default") {
11
+ const d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: () => e[k]
15
+ });
44
16
  }
17
+ }
18
+ }
19
+ n.default = e;
20
+ return Object.freeze(n);
21
+ }
22
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
23
+ const windowStackReducer = (state, action) => {
24
+ const newWindows = { ...state };
25
+ switch (action.type) {
26
+ case "ADD_WINDOW": {
27
+ newWindows[action.id] = action.window;
28
+ return newWindows;
29
+ }
30
+ case "REMOVE_WINDOW": {
31
+ delete newWindows[action.id];
32
+ return newWindows;
33
+ }
34
+ case "UPDATE_WINDOW": {
35
+ newWindows[action.id] = action.window;
36
+ return newWindows;
37
+ }
45
38
  default:
46
39
  return state;
47
40
  }
48
41
  };
49
- var ModalProvider = function ModalProvider(_ref) {
50
- var children = _ref.children;
51
- var _React$useReducer = React.useReducer(windowStackReducer, {}),
52
- _React$useReducer2 = _slicedToArray(_React$useReducer, 2),
53
- windows = _React$useReducer2[0],
54
- dispatch = _React$useReducer2[1];
55
- var _React$useState = React.useState(),
56
- _React$useState2 = _slicedToArray(_React$useState, 2),
57
- activeWindow = _React$useState2[0],
58
- setActiveWindow = _React$useState2[1];
59
- var addWindows = function addWindows(window) {
60
- var id = (0, _nanoid.nanoid)();
61
- dispatch({
62
- type: 'ADD_WINDOW',
63
- id: id,
64
- window: window
65
- });
42
+ const ModalProvider = ({ children }) => {
43
+ const [windows, dispatch] = React__namespace.useReducer(windowStackReducer, {});
44
+ const [activeWindow, setActiveWindow] = React__namespace.useState();
45
+ const addWindows = (window) => {
46
+ const id = nanoid.nanoid();
47
+ dispatch({ type: "ADD_WINDOW", id, window });
66
48
  return id;
67
49
  };
68
- var removeWindow = function removeWindow(id) {
69
- dispatch({
70
- type: 'REMOVE_WINDOW',
71
- id: id
72
- });
50
+ const removeWindow = (id) => {
51
+ dispatch({ type: "REMOVE_WINDOW", id });
73
52
  };
74
- var updateWindow = function updateWindow(id, window) {
75
- dispatch({
76
- type: 'UPDATE_WINDOW',
77
- id: id,
78
- window: window
79
- });
53
+ const updateWindow = (id, window) => {
54
+ dispatch({ type: "UPDATE_WINDOW", id, window });
80
55
  };
81
- return /*#__PURE__*/React.createElement(_ModalContext["default"].Provider, {
82
- value: {
83
- windows: windows,
84
- addWindows: addWindows,
85
- removeWindow: removeWindow,
86
- updateWindow: updateWindow,
87
- setActiveWindow: setActiveWindow,
88
- activeWindow: activeWindow
89
- }
90
- }, children);
56
+ return /* @__PURE__ */ React__namespace.createElement(
57
+ ModalContext.ModalContext.Provider,
58
+ {
59
+ value: {
60
+ windows,
61
+ addWindows,
62
+ removeWindow,
63
+ updateWindow,
64
+ setActiveWindow,
65
+ activeWindow
66
+ }
67
+ },
68
+ children
69
+ );
91
70
  };
92
- var _default = exports["default"] = ModalProvider;
71
+ exports.ModalProvider = ModalProvider;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const close = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nOCcgaGVpZ2h0PSc3JyBmaWxsPSdjdXJyZW50Q29sb3InIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J00wIDBoMnYxaDF2MWgyVjFoMVYwaDJ2MUg3djFINnYxSDV2MWgxdjFoMXYxaDF2MUg2VjZINVY1SDN2MUgydjFIMFY2aDFWNWgxVjRoMVYzSDJWMkgxVjFIMFYweicgLz48L3N2Zz4=";
3
+ module.exports = close;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const help = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNicgaGVpZ2h0PSc5JyBmaWxsPSdjdXJyZW50Q29sb3InIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTAgMWgydjJIMHpNMSAwaDR2MUgxek00IDFoMnYySDR6TTMgM2gydjFIM3pNMiA0aDJ2Mkgyek0yIDdoMnYySDJ6Jy8+PC9zdmc+";
3
+ module.exports = help;
@@ -0,0 +1,11 @@
1
+ require('./ProgressBar.css.ts.vanilla.css');
2
+ "use strict";
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
+ /* empty css */var container = "r95_1drc6y72";
5
+ var progress = "r95_1drc6y73";
6
+ var whiteBar = "r95_1drc6y71";
7
+ var wrapper = "r95_1drc6y70";
8
+ exports.container = container;
9
+ exports.progress = progress;
10
+ exports.whiteBar = whiteBar;
11
+ exports.wrapper = wrapper;
@@ -0,0 +1,32 @@
1
+ .r95_1drc6y70 {
2
+ height: var(--r95-space-20);
3
+ position: relative;
4
+ text-align: center;
5
+ }
6
+ .r95_1drc6y71 {
7
+ height: var(--r95-space-20);
8
+ line-height: var(--r95-space-20);
9
+ border-left: var(--r95-space-1);
10
+ border-left-style: solid;
11
+ border-left-color: var(--r95-color-borderDark);
12
+ border-top: var(--r95-space-1);
13
+ border-top-style: solid;
14
+ border-top-color: var(--r95-color-borderDark);
15
+ background-color: var(--r95-color-inputBackground);
16
+ color: var(--r95-color-materialText);
17
+ box-shadow: var(--r95-shadow-input);
18
+ }
19
+ .r95_1drc6y72 {
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ overflow: hidden;
24
+ }
25
+ .r95_1drc6y73 {
26
+ height: var(--r95-space-17);
27
+ line-height: var(--r95-space-18);
28
+ margin-left: var(--r95-space-2);
29
+ margin-top: var(--r95-space-2);
30
+ background-color: var(--r95-color-progress);
31
+ color: var(--r95-color-materialTextInvert);
32
+ }