@solostylist/ui-kit 1.0.0

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 (391) hide show
  1. package/README.md +13 -0
  2. package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
  3. package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
  4. package/dist/AppAutocomplete/index.d.ts +1 -0
  5. package/dist/AppAutocomplete/index.js +4 -0
  6. package/dist/AppAutocomplete/package.json +5 -0
  7. package/dist/AppAvatar/AppAvatar.d.ts +7 -0
  8. package/dist/AppAvatar/AppAvatar.js +13 -0
  9. package/dist/AppAvatar/index.d.ts +1 -0
  10. package/dist/AppAvatar/index.js +4 -0
  11. package/dist/AppAvatar/package.json +5 -0
  12. package/dist/AppBox/AppBox.d.ts +7 -0
  13. package/dist/AppBox/AppBox.js +7 -0
  14. package/dist/AppBox/index.d.ts +1 -0
  15. package/dist/AppBox/index.js +4 -0
  16. package/dist/AppBox/package.json +5 -0
  17. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
  18. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
  19. package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
  20. package/dist/AppBreadcrumbsSeparator/index.js +4 -0
  21. package/dist/AppBreadcrumbsSeparator/package.json +5 -0
  22. package/dist/AppButton/AppButton.d.ts +9 -0
  23. package/dist/AppButton/AppButton.js +44 -0
  24. package/dist/AppButton/index.d.ts +1 -0
  25. package/dist/AppButton/index.js +4 -0
  26. package/dist/AppButton/package.json +5 -0
  27. package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
  28. package/dist/AppButtonLink/AppButtonLink.js +36 -0
  29. package/dist/AppButtonLink/index.d.ts +1 -0
  30. package/dist/AppButtonLink/index.js +4 -0
  31. package/dist/AppButtonLink/package.json +5 -0
  32. package/dist/AppCard/AppCard.d.ts +6 -0
  33. package/dist/AppCard/AppCard.js +6 -0
  34. package/dist/AppCard/index.d.ts +1 -0
  35. package/dist/AppCard/index.js +4 -0
  36. package/dist/AppCard/package.json +5 -0
  37. package/dist/AppCardActions/AppCardActions.d.ts +6 -0
  38. package/dist/AppCardActions/AppCardActions.js +6 -0
  39. package/dist/AppCardActions/index.d.ts +1 -0
  40. package/dist/AppCardActions/index.js +4 -0
  41. package/dist/AppCardActions/package.json +5 -0
  42. package/dist/AppCardContent/AppCardContent.d.ts +6 -0
  43. package/dist/AppCardContent/AppCardContent.js +6 -0
  44. package/dist/AppCardContent/index.d.ts +1 -0
  45. package/dist/AppCardContent/index.js +4 -0
  46. package/dist/AppCardContent/package.json +5 -0
  47. package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
  48. package/dist/AppCardHeader/AppCardHeader.js +13 -0
  49. package/dist/AppCardHeader/index.d.ts +1 -0
  50. package/dist/AppCardHeader/index.js +4 -0
  51. package/dist/AppCardHeader/package.json +5 -0
  52. package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
  53. package/dist/AppCheckbox/AppCheckbox.js +16 -0
  54. package/dist/AppCheckbox/index.d.ts +1 -0
  55. package/dist/AppCheckbox/index.js +4 -0
  56. package/dist/AppCheckbox/package.json +5 -0
  57. package/dist/AppChip/AppChip.d.ts +6 -0
  58. package/dist/AppChip/AppChip.js +6 -0
  59. package/dist/AppChip/index.d.ts +1 -0
  60. package/dist/AppChip/index.js +4 -0
  61. package/dist/AppChip/package.json +5 -0
  62. package/dist/AppChips/AppChips.d.ts +7 -0
  63. package/dist/AppChips/AppChips.js +72 -0
  64. package/dist/AppChips/index.d.ts +1 -0
  65. package/dist/AppChips/index.js +4 -0
  66. package/dist/AppChips/package.json +5 -0
  67. package/dist/AppDataTable/AppDataTable.d.ts +29 -0
  68. package/dist/AppDataTable/AppDataTable.js +1178 -0
  69. package/dist/AppDataTable/index.d.ts +2 -0
  70. package/dist/AppDataTable/index.js +4 -0
  71. package/dist/AppDataTable/package.json +5 -0
  72. package/dist/AppDialog/AppDialog.d.ts +15 -0
  73. package/dist/AppDialog/AppDialog.js +31 -0
  74. package/dist/AppDialog/index.d.ts +1 -0
  75. package/dist/AppDialog/index.js +4 -0
  76. package/dist/AppDialog/package.json +5 -0
  77. package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
  78. package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
  79. package/dist/AppDialogConfirm/index.d.ts +2 -0
  80. package/dist/AppDialogConfirm/index.js +6 -0
  81. package/dist/AppDialogConfirm/package.json +5 -0
  82. package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
  83. package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
  84. package/dist/AppDialogMessage/index.d.ts +2 -0
  85. package/dist/AppDialogMessage/index.js +6 -0
  86. package/dist/AppDialogMessage/package.json +5 -0
  87. package/dist/AppEmpty/AppEmpty.d.ts +5 -0
  88. package/dist/AppEmpty/AppEmpty.js +6 -0
  89. package/dist/AppEmpty/index.d.ts +1 -0
  90. package/dist/AppEmpty/index.js +4 -0
  91. package/dist/AppEmpty/package.json +5 -0
  92. package/dist/AppError/AppError.d.ts +3 -0
  93. package/dist/AppError/AppError.js +18 -0
  94. package/dist/AppError/index.d.ts +1 -0
  95. package/dist/AppError/index.js +4 -0
  96. package/dist/AppError/package.json +5 -0
  97. package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
  98. package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
  99. package/dist/AppFileDropzone/index.d.ts +2 -0
  100. package/dist/AppFileDropzone/index.js +4 -0
  101. package/dist/AppFileDropzone/package.json +5 -0
  102. package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
  103. package/dist/AppFileIcon/AppFileIcon.js +29 -0
  104. package/dist/AppFileIcon/index.d.ts +1 -0
  105. package/dist/AppFileIcon/index.js +4 -0
  106. package/dist/AppFileIcon/package.json +5 -0
  107. package/dist/AppFormControl/AppFormControl.d.ts +8 -0
  108. package/dist/AppFormControl/AppFormControl.js +10 -0
  109. package/dist/AppFormControl/index.d.ts +1 -0
  110. package/dist/AppFormControl/index.js +4 -0
  111. package/dist/AppFormControl/package.json +5 -0
  112. package/dist/AppGallery/AppGallery.d.ts +6 -0
  113. package/dist/AppGallery/AppGallery.js +1089 -0
  114. package/dist/AppGallery/index.d.ts +1 -0
  115. package/dist/AppGallery/index.js +4 -0
  116. package/dist/AppGallery/package.json +5 -0
  117. package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
  118. package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
  119. package/dist/AppI18nProvider/index.d.ts +1 -0
  120. package/dist/AppI18nProvider/index.js +4 -0
  121. package/dist/AppI18nProvider/package.json +5 -0
  122. package/dist/AppIconButton/AppIconButton.d.ts +8 -0
  123. package/dist/AppIconButton/AppIconButton.js +6 -0
  124. package/dist/AppIconButton/index.d.ts +1 -0
  125. package/dist/AppIconButton/index.js +4 -0
  126. package/dist/AppIconButton/package.json +5 -0
  127. package/dist/AppIcons/AppIcons.d.ts +3 -0
  128. package/dist/AppIcons/AppIcons.js +1081 -0
  129. package/dist/AppIcons/index.d.ts +1 -0
  130. package/dist/AppIcons/index.js +4 -0
  131. package/dist/AppIcons/package.json +5 -0
  132. package/dist/AppLabel/AppLabel.d.ts +11 -0
  133. package/dist/AppLabel/AppLabel.js +21 -0
  134. package/dist/AppLabel/index.d.ts +1 -0
  135. package/dist/AppLabel/index.js +4 -0
  136. package/dist/AppLabel/package.json +5 -0
  137. package/dist/AppLink/AppLink.d.ts +6 -0
  138. package/dist/AppLink/AppLink.js +6 -0
  139. package/dist/AppLink/index.d.ts +1 -0
  140. package/dist/AppLink/index.js +4 -0
  141. package/dist/AppLink/package.json +5 -0
  142. package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
  143. package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
  144. package/dist/AppMultiSelect/index.d.ts +1 -0
  145. package/dist/AppMultiSelect/index.js +4 -0
  146. package/dist/AppMultiSelect/package.json +5 -0
  147. package/dist/AppNoData/AppNoData.d.ts +5 -0
  148. package/dist/AppNoData/AppNoData.js +6 -0
  149. package/dist/AppNoData/index.d.ts +1 -0
  150. package/dist/AppNoData/index.js +4 -0
  151. package/dist/AppNoData/package.json +5 -0
  152. package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
  153. package/dist/AppNoSsr/AppNoSsr.js +14 -0
  154. package/dist/AppNoSsr/index.d.ts +1 -0
  155. package/dist/AppNoSsr/index.js +4 -0
  156. package/dist/AppNoSsr/package.json +5 -0
  157. package/dist/AppOption/AppOption.d.ts +9 -0
  158. package/dist/AppOption/AppOption.js +6 -0
  159. package/dist/AppOption/index.d.ts +1 -0
  160. package/dist/AppOption/index.js +4 -0
  161. package/dist/AppOption/package.json +5 -0
  162. package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
  163. package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
  164. package/dist/AppOutlinedInput/index.d.ts +1 -0
  165. package/dist/AppOutlinedInput/index.js +4 -0
  166. package/dist/AppOutlinedInput/package.json +5 -0
  167. package/dist/AppPagination/AppPagination.d.ts +7 -0
  168. package/dist/AppPagination/AppPagination.js +17 -0
  169. package/dist/AppPagination/index.d.ts +1 -0
  170. package/dist/AppPagination/index.js +4 -0
  171. package/dist/AppPagination/package.json +5 -0
  172. package/dist/AppRating/AppRating.d.ts +7 -0
  173. package/dist/AppRating/AppRating.js +7 -0
  174. package/dist/AppRating/index.d.ts +1 -0
  175. package/dist/AppRating/index.js +4 -0
  176. package/dist/AppRating/package.json +5 -0
  177. package/dist/AppSelect/AppSelect.d.ts +14 -0
  178. package/dist/AppSelect/AppSelect.js +82 -0
  179. package/dist/AppSelect/index.d.ts +1 -0
  180. package/dist/AppSelect/index.js +4 -0
  181. package/dist/AppSelect/package.json +5 -0
  182. package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
  183. package/dist/AppSkeleton/AppSkeleton.js +34 -0
  184. package/dist/AppSkeleton/index.d.ts +1 -0
  185. package/dist/AppSkeleton/index.js +4 -0
  186. package/dist/AppSkeleton/package.json +5 -0
  187. package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
  188. package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
  189. package/dist/AppSnackbarMessage/index.d.ts +2 -0
  190. package/dist/AppSnackbarMessage/index.js +6 -0
  191. package/dist/AppSnackbarMessage/package.json +5 -0
  192. package/dist/AppStack/AppStack.d.ts +6 -0
  193. package/dist/AppStack/AppStack.js +6 -0
  194. package/dist/AppStack/index.d.ts +1 -0
  195. package/dist/AppStack/index.js +4 -0
  196. package/dist/AppStack/package.json +5 -0
  197. package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
  198. package/dist/AppTextEditor/AppTextEditor.js +80 -0
  199. package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
  200. package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
  201. package/dist/AppTextEditor/index.d.ts +1 -0
  202. package/dist/AppTextEditor/index.js +4 -0
  203. package/dist/AppTextEditor/package.json +5 -0
  204. package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
  205. package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
  206. package/dist/AppTextTruncation/index.d.ts +1 -0
  207. package/dist/AppTextTruncation/index.js +4 -0
  208. package/dist/AppTextTruncation/package.json +5 -0
  209. package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
  210. package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
  211. package/dist/AppThemeProvider/index.d.ts +1 -0
  212. package/dist/AppThemeProvider/index.js +4 -0
  213. package/dist/AppThemeProvider/package.json +5 -0
  214. package/dist/AppTip/AppTip.d.ts +6 -0
  215. package/dist/AppTip/AppTip.js +28 -0
  216. package/dist/AppTip/index.d.ts +1 -0
  217. package/dist/AppTip/index.js +4 -0
  218. package/dist/AppTip/package.json +5 -0
  219. package/dist/Box-yxuKPTCX.js +60 -0
  220. package/dist/ButtonBase-p_uz8ITC.js +989 -0
  221. package/dist/CaretDown-CgrRY9__.js +41 -0
  222. package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
  223. package/dist/Lightbulb-1rDyOsPk.js +47 -0
  224. package/dist/Menu-B0R91i07.js +2994 -0
  225. package/dist/MenuItem-BjjYkRmW.js +262 -0
  226. package/dist/SSRBase-B9xq2wUG.js +56 -0
  227. package/dist/Stack-D9qNbbkC.js +198 -0
  228. package/dist/Typography-BYkXNa-U.js +260 -0
  229. package/dist/User-Bx-HYRxI.js +41 -0
  230. package/dist/X-DETrowOy.js +47 -0
  231. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  232. package/dist/assets/AppGallery.css +1 -0
  233. package/dist/assets/AppTextTruncation.css +1 -0
  234. package/dist/backdropClasses-DDhytLTQ.js +9 -0
  235. package/dist/clsx-C-FXfxyk.js +236 -0
  236. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  237. package/dist/createTheme-C97xvI-s.js +2789 -0
  238. package/dist/extendSxProp-CKQgGYDd.js +37 -0
  239. package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
  240. package/dist/hooks/index.d.ts +2 -0
  241. package/dist/hooks/index.js +6 -0
  242. package/dist/hooks/use-dialog.d.ts +7 -0
  243. package/dist/hooks/use-dialog.js +12 -0
  244. package/dist/hooks/use-popover.d.ts +10 -0
  245. package/dist/hooks/use-popover.js +14 -0
  246. package/dist/index-Btrukby7.js +88 -0
  247. package/dist/inputBaseClasses-s6dljKxi.js +9 -0
  248. package/dist/jsx-runtime-B6kdoens.js +634 -0
  249. package/dist/listItemIconClasses-CTdclC9V.js +5 -0
  250. package/dist/main.d.ts +51 -0
  251. package/dist/main.js +111 -0
  252. package/dist/memoTheme-B2qvAi64.js +404 -0
  253. package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
  254. package/dist/paperClasses-Bf2rrWVr.js +9 -0
  255. package/dist/styles/theme/color-schemes.d.ts +7 -0
  256. package/dist/styles/theme/color-schemes.js +195 -0
  257. package/dist/styles/theme/colors.d.ts +92 -0
  258. package/dist/styles/theme/colors.js +94 -0
  259. package/dist/styles/theme/components/accordion.d.ts +8 -0
  260. package/dist/styles/theme/components/accordion.js +11 -0
  261. package/dist/styles/theme/components/alert.d.ts +7 -0
  262. package/dist/styles/theme/components/alert.js +4 -0
  263. package/dist/styles/theme/components/autocomplete.d.ts +124 -0
  264. package/dist/styles/theme/components/autocomplete.js +51 -0
  265. package/dist/styles/theme/components/avatar.d.ts +18 -0
  266. package/dist/styles/theme/components/avatar.js +21 -0
  267. package/dist/styles/theme/components/backdrop.d.ts +9 -0
  268. package/dist/styles/theme/components/backdrop.js +9 -0
  269. package/dist/styles/theme/components/button-base.d.ts +5 -0
  270. package/dist/styles/theme/components/button-base.js +4 -0
  271. package/dist/styles/theme/components/button-group.d.ts +5 -0
  272. package/dist/styles/theme/components/button-group.js +4 -0
  273. package/dist/styles/theme/components/button.d.ts +180 -0
  274. package/dist/styles/theme/components/button.js +109 -0
  275. package/dist/styles/theme/components/card-actions.d.ts +7 -0
  276. package/dist/styles/theme/components/card-actions.js +6 -0
  277. package/dist/styles/theme/components/card-content.d.ts +10 -0
  278. package/dist/styles/theme/components/card-content.js +7 -0
  279. package/dist/styles/theme/components/card-header.d.ts +25 -0
  280. package/dist/styles/theme/components/card-header.js +20 -0
  281. package/dist/styles/theme/components/card.d.ts +979 -0
  282. package/dist/styles/theme/components/card.js +17 -0
  283. package/dist/styles/theme/components/checkbox.d.ts +18 -0
  284. package/dist/styles/theme/components/checkbox.js +60 -0
  285. package/dist/styles/theme/components/chip.d.ts +1092 -0
  286. package/dist/styles/theme/components/chip.js +106 -0
  287. package/dist/styles/theme/components/components.d.ts +3206 -0
  288. package/dist/styles/theme/components/components.js +115 -0
  289. package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
  290. package/dist/styles/theme/components/dialog-actions.js +6 -0
  291. package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
  292. package/dist/styles/theme/components/dialog-content-text.js +6 -0
  293. package/dist/styles/theme/components/dialog-content.d.ts +8 -0
  294. package/dist/styles/theme/components/dialog-content.js +6 -0
  295. package/dist/styles/theme/components/dialog-title.d.ts +7 -0
  296. package/dist/styles/theme/components/dialog-title.js +6 -0
  297. package/dist/styles/theme/components/filled-input.d.ts +31 -0
  298. package/dist/styles/theme/components/filled-input.js +21 -0
  299. package/dist/styles/theme/components/form-control-label.d.ts +15 -0
  300. package/dist/styles/theme/components/form-control-label.js +7 -0
  301. package/dist/styles/theme/components/form-group.d.ts +7 -0
  302. package/dist/styles/theme/components/form-group.js +4 -0
  303. package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
  304. package/dist/styles/theme/components/form-helper-text.js +8 -0
  305. package/dist/styles/theme/components/form-label.d.ts +12 -0
  306. package/dist/styles/theme/components/form-label.js +9 -0
  307. package/dist/styles/theme/components/icon-button.d.ts +83 -0
  308. package/dist/styles/theme/components/icon-button.js +49 -0
  309. package/dist/styles/theme/components/input-base.d.ts +39 -0
  310. package/dist/styles/theme/components/input-base.js +34 -0
  311. package/dist/styles/theme/components/input-label.d.ts +10 -0
  312. package/dist/styles/theme/components/input-label.js +6 -0
  313. package/dist/styles/theme/components/input.d.ts +32 -0
  314. package/dist/styles/theme/components/input.js +22 -0
  315. package/dist/styles/theme/components/linear-progress.d.ts +8 -0
  316. package/dist/styles/theme/components/linear-progress.js +6 -0
  317. package/dist/styles/theme/components/link.d.ts +10 -0
  318. package/dist/styles/theme/components/link.js +11 -0
  319. package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
  320. package/dist/styles/theme/components/list-item-avatar.js +6 -0
  321. package/dist/styles/theme/components/list-item-button.d.ts +10 -0
  322. package/dist/styles/theme/components/list-item-button.js +7 -0
  323. package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
  324. package/dist/styles/theme/components/list-item-icon.js +6 -0
  325. package/dist/styles/theme/components/list-item-text.d.ts +7 -0
  326. package/dist/styles/theme/components/list-item-text.js +6 -0
  327. package/dist/styles/theme/components/list-item.d.ts +7 -0
  328. package/dist/styles/theme/components/list-item.js +6 -0
  329. package/dist/styles/theme/components/list.d.ts +7 -0
  330. package/dist/styles/theme/components/list.js +6 -0
  331. package/dist/styles/theme/components/menu-item.d.ts +17 -0
  332. package/dist/styles/theme/components/menu-item.js +17 -0
  333. package/dist/styles/theme/components/menu.d.ts +13 -0
  334. package/dist/styles/theme/components/menu.js +7 -0
  335. package/dist/styles/theme/components/outlined-input.d.ts +127 -0
  336. package/dist/styles/theme/components/outlined-input.js +47 -0
  337. package/dist/styles/theme/components/paper.d.ts +7 -0
  338. package/dist/styles/theme/components/paper.js +6 -0
  339. package/dist/styles/theme/components/popover.d.ts +11 -0
  340. package/dist/styles/theme/components/popover.js +7 -0
  341. package/dist/styles/theme/components/radio.d.ts +13 -0
  342. package/dist/styles/theme/components/radio.js +25 -0
  343. package/dist/styles/theme/components/select.d.ts +21 -0
  344. package/dist/styles/theme/components/select.js +18 -0
  345. package/dist/styles/theme/components/skeleton.d.ts +5 -0
  346. package/dist/styles/theme/components/skeleton.js +8 -0
  347. package/dist/styles/theme/components/stack.d.ts +5 -0
  348. package/dist/styles/theme/components/stack.js +4 -0
  349. package/dist/styles/theme/components/switch.d.ts +19 -0
  350. package/dist/styles/theme/components/switch.js +11 -0
  351. package/dist/styles/theme/components/tab.d.ts +18 -0
  352. package/dist/styles/theme/components/tab.js +15 -0
  353. package/dist/styles/theme/components/table-body.d.ts +5 -0
  354. package/dist/styles/theme/components/table-body.js +10 -0
  355. package/dist/styles/theme/components/table-cell.d.ts +10 -0
  356. package/dist/styles/theme/components/table-cell.js +11 -0
  357. package/dist/styles/theme/components/table-head.d.ts +11 -0
  358. package/dist/styles/theme/components/table-head.js +15 -0
  359. package/dist/styles/theme/components/table-pagination.d.ts +28 -0
  360. package/dist/styles/theme/components/table-pagination.js +93 -0
  361. package/dist/styles/theme/components/tabs.d.ts +33 -0
  362. package/dist/styles/theme/components/tabs.js +20 -0
  363. package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
  364. package/dist/styles/theme/components/timeline-connector.js +6 -0
  365. package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
  366. package/dist/styles/theme/components/toggle-button-group.js +17 -0
  367. package/dist/styles/theme/components/toggle-button.d.ts +12 -0
  368. package/dist/styles/theme/components/toggle-button.js +9 -0
  369. package/dist/styles/theme/components/tooltip.d.ts +10 -0
  370. package/dist/styles/theme/components/tooltip.js +7 -0
  371. package/dist/styles/theme/create-theme.d.ts +8 -0
  372. package/dist/styles/theme/create-theme.js +22 -0
  373. package/dist/styles/theme/index.d.ts +1 -0
  374. package/dist/styles/theme/index.js +4 -0
  375. package/dist/styles/theme/shadows.d.ts +4 -0
  376. package/dist/styles/theme/shadows.js +59 -0
  377. package/dist/styles/theme/typography.d.ts +68 -0
  378. package/dist/styles/theme/typography.js +31 -0
  379. package/dist/tableCellClasses-BIg5orIQ.js +9 -0
  380. package/dist/useControlled-CYUofcJ9.js +287 -0
  381. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  382. package/dist/useTheme-DYc4rgBb.js +17 -0
  383. package/dist/utils/bytes-to-size.d.ts +1 -0
  384. package/dist/utils/bytes-to-size.js +9 -0
  385. package/dist/utils/dayjs.d.ts +3 -0
  386. package/dist/utils/dayjs.js +108 -0
  387. package/dist/utils/index.d.ts +3 -0
  388. package/dist/utils/index.js +13 -0
  389. package/dist/utils/logger.d.ts +26 -0
  390. package/dist/utils/logger.js +51 -0
  391. package/package.json +108 -0
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ ## Installation
2
+
3
+ You can install it with npm:
4
+
5
+ ```bash
6
+ npm i @solostylist/ui-kit
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ ```javascript
12
+ import { AppAvatar, AppButton } from '@solostylist/ui-kit';
13
+ ```
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { AutocompleteProps } from '@mui/material';
3
+ export interface AppAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined = undefined> extends Omit<AutocompleteProps<T | any, Multiple, DisableClearable, FreeSolo>, 'renderInput'> {
4
+ renderInput?: AutocompleteProps<T | string, Multiple, DisableClearable, FreeSolo>['renderInput'];
5
+ label?: string | React.ReactNode;
6
+ required?: boolean;
7
+ error?: string;
8
+ }
9
+ declare const AppAutocomplete: React.ForwardRefExoticComponent<Omit<AppAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>, "ref"> & React.RefAttributes<unknown>>;
10
+ export default AppAutocomplete;
@@ -0,0 +1,19 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import { forwardRef as s } from "react";
3
+ import { Autocomplete as f, TextField as i } from "@mui/material";
4
+ import u from "../AppFormControl/AppFormControl.js";
5
+ const j = s(
6
+ ({ label: t = "", required: o = !1, error: e, ...p }, m) => /* @__PURE__ */ r.jsx(u, { error: e, label: t, required: o, children: /* @__PURE__ */ r.jsx(
7
+ f,
8
+ {
9
+ disablePortal: !0,
10
+ fullWidth: !0,
11
+ renderInput: (l) => /* @__PURE__ */ r.jsx(i, { ...l }),
12
+ ...p,
13
+ ref: m
14
+ }
15
+ ) })
16
+ );
17
+ export {
18
+ j as default
19
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppAutocomplete';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppAutocomplete.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { AvatarProps } from '@mui/material';
3
+ interface AppAvatarProps extends AvatarProps {
4
+ icon?: string;
5
+ }
6
+ declare const AppAvatar: ({ icon, ...props }: AppAvatarProps) => React.JSX.Element;
7
+ export default AppAvatar;
@@ -0,0 +1,13 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import { Avatar as s } from "@mui/material";
3
+ import m from "../AppIcons/AppIcons.js";
4
+ const x = ({ icon: t = "", ...o }) => {
5
+ if (t) {
6
+ const a = m[t];
7
+ return /* @__PURE__ */ r.jsx(s, { ...o, children: /* @__PURE__ */ r.jsx(a, {}) });
8
+ }
9
+ return /* @__PURE__ */ r.jsx(s, { ...o });
10
+ };
11
+ export {
12
+ x as default
13
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppAvatar';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppAvatar.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material';
3
+ type AnyType = any;
4
+ interface AppBoxProps extends BoxProps, AnyType {
5
+ }
6
+ declare const AppBox: React.ForwardRefExoticComponent<Omit<AppBoxProps, "ref"> & React.RefAttributes<unknown>>;
7
+ export default AppBox;
@@ -0,0 +1,7 @@
1
+ import { j as f } from "../jsx-runtime-B6kdoens.js";
2
+ import m from "react";
3
+ import { Box as p } from "@mui/material";
4
+ const x = m.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ f.jsx(p, { ref: t, ...r, children: o }));
5
+ export {
6
+ x as default
7
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppBox';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppBox.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const AppBreadcrumbsSeparator: () => React.JSX.Element;
3
+ export default AppBreadcrumbsSeparator;
@@ -0,0 +1,6 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import { B as o } from "../Box-yxuKPTCX.js";
3
+ const a = () => /* @__PURE__ */ r.jsx(o, { children: "/" });
4
+ export {
5
+ a as default
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppBreadcrumbsSeparator';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppBreadcrumbsSeparator.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from '@mui/material';
3
+ interface AppButtonProps extends Omit<ButtonProps, 'error'> {
4
+ useSystemVariant?: boolean;
5
+ systemVariant?: 'edit';
6
+ sxProps?: React.CSSProperties;
7
+ }
8
+ declare const AppButton: React.ForwardRefExoticComponent<Omit<AppButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
+ export default AppButton;
@@ -0,0 +1,44 @@
1
+ import { j as d } from "../jsx-runtime-B6kdoens.js";
2
+ import s from "react";
3
+ import { Button as n } from "@mui/material";
4
+ const m = s.forwardRef(
5
+ ({ useSystemVariant: e, systemVariant: i, variant: r = "contained", sxProps: a, ...o }, t) => {
6
+ if (e)
7
+ switch (i) {
8
+ case "edit":
9
+ return /* @__PURE__ */ d.jsx(
10
+ n,
11
+ {
12
+ variant: "outlined",
13
+ sx: {
14
+ minWidth: "100px",
15
+ borderColor: "transparent",
16
+ backgroundColor: "#dcdddd",
17
+ color: "#000",
18
+ "&:hover": {
19
+ borderColor: "transparent",
20
+ backgroundColor: "#dcdddd",
21
+ filter: "brightness(0.95)"
22
+ },
23
+ ...a
24
+ },
25
+ ...o,
26
+ ref: t
27
+ }
28
+ );
29
+ }
30
+ return /* @__PURE__ */ d.jsx(
31
+ n,
32
+ {
33
+ color: r === "outlined" ? "secondary" : "primary",
34
+ variant: r,
35
+ sx: { minWidth: "100px" },
36
+ ...o,
37
+ ref: t
38
+ }
39
+ );
40
+ }
41
+ );
42
+ export {
43
+ m as default
44
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppButton';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppButton.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,16 @@
1
+ interface AppButtonLinkProps {
2
+ beforeText?: string | React.ReactNode;
3
+ afterText?: string | React.ReactNode;
4
+ mainText?: string | React.ReactNode;
5
+ href?: string;
6
+ component?: any;
7
+ target?: string;
8
+ paragraph?: boolean;
9
+ color?: string;
10
+ linkColor?: string;
11
+ lineHeight?: string;
12
+ variant?: 'body1' | 'body2' | 'button' | 'caption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'inherit' | 'overline' | 'subtitle1' | 'subtitle2' | string;
13
+ onClick?: () => void;
14
+ }
15
+ declare const AppButtonLink: ({ onClick, beforeText, afterText, mainText, href, component, target, paragraph, color, linkColor, variant, lineHeight, }: AppButtonLinkProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default AppButtonLink;
@@ -0,0 +1,36 @@
1
+ import { j as o } from "../jsx-runtime-B6kdoens.js";
2
+ import { Typography as l, Link as m } from "@mui/material";
3
+ const j = ({
4
+ onClick: r,
5
+ beforeText: t = "",
6
+ afterText: e = "",
7
+ mainText: i = "",
8
+ href: n = "#",
9
+ component: s,
10
+ target: p,
11
+ paragraph: x = !1,
12
+ color: a = "text.secondary",
13
+ linkColor: c = void 0,
14
+ variant: d = "body2",
15
+ lineHeight: f
16
+ }) => /* @__PURE__ */ o.jsxs(l, { variant: d, lineHeight: f, paragraph: x, color: a, children: [
17
+ t,
18
+ " ",
19
+ /* @__PURE__ */ o.jsx(
20
+ m,
21
+ {
22
+ href: n,
23
+ onClick: r,
24
+ sx: { cursor: "pointer", fontSize: "inherit" },
25
+ component: s,
26
+ target: p,
27
+ color: c,
28
+ children: i
29
+ }
30
+ ),
31
+ " ",
32
+ e
33
+ ] });
34
+ export {
35
+ j as default
36
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppButtonLink';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppButtonLink.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { CardProps } from '@mui/material';
3
+ interface AppCardProps extends CardProps {
4
+ }
5
+ declare const AppCard: ({ children, ...props }: AppCardProps) => React.JSX.Element;
6
+ export default AppCard;
@@ -0,0 +1,6 @@
1
+ import { j as o } from "../jsx-runtime-B6kdoens.js";
2
+ import { Card as p } from "@mui/material";
3
+ const m = ({ children: r, ...t }) => /* @__PURE__ */ o.jsx(p, { ...t, children: r });
4
+ export {
5
+ m as default
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppCard';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppCard.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { CardActionsProps } from '@mui/material';
3
+ interface AppCardActionsProps extends CardActionsProps {
4
+ }
5
+ declare const AppCardActions: ({ children, ...props }: AppCardActionsProps) => React.JSX.Element;
6
+ export default AppCardActions;
@@ -0,0 +1,6 @@
1
+ import { j as o } from "../jsx-runtime-B6kdoens.js";
2
+ import { CardActions as s } from "@mui/material";
3
+ const i = ({ children: r, ...t }) => /* @__PURE__ */ o.jsx(s, { ...t, children: r });
4
+ export {
5
+ i as default
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppCardActions';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppCardActions.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { CardContentProps } from '@mui/material';
3
+ interface AppCardContentProps extends CardContentProps {
4
+ }
5
+ declare const AppCardContent: ({ children, ...props }: AppCardContentProps) => React.JSX.Element;
6
+ export default AppCardContent;
@@ -0,0 +1,6 @@
1
+ import { j as o } from "../jsx-runtime-B6kdoens.js";
2
+ import { CardContent as n } from "@mui/material";
3
+ const s = ({ children: t, ...r }) => /* @__PURE__ */ o.jsx(n, { ...r, children: t });
4
+ export {
5
+ s as default
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppCardContent';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppCardContent.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { CardProps } from '@mui/material';
3
+ interface AppCardHeaderProps extends Omit<CardProps, 'title'> {
4
+ avatar?: React.ReactNode;
5
+ subheader?: React.ReactNode;
6
+ title?: React.ReactNode | string;
7
+ action?: React.ReactNode;
8
+ }
9
+ declare const AppCardHeader: ({ children, avatar, subheader, title, action, ...props }: AppCardHeaderProps) => React.JSX.Element;
10
+ export default AppCardHeader;
@@ -0,0 +1,13 @@
1
+ import { j as s } from "../jsx-runtime-B6kdoens.js";
2
+ import { CardHeader as d } from "@mui/material";
3
+ const f = ({
4
+ children: r,
5
+ avatar: e,
6
+ subheader: t,
7
+ title: a,
8
+ action: o,
9
+ ...p
10
+ }) => /* @__PURE__ */ s.jsx(d, { avatar: e, subheader: t, title: a, action: o, ...p, children: r });
11
+ export {
12
+ f as default
13
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppCardHeader';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppCardHeader.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { CheckboxProps } from '@mui/material';
3
+ interface AppCheckboxProps extends Omit<CheckboxProps, 'content'> {
4
+ content?: string | React.ReactNode;
5
+ }
6
+ declare const AppCheckbox: React.ForwardRefExoticComponent<Omit<AppCheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ export default AppCheckbox;
@@ -0,0 +1,16 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import { forwardRef as a } from "react";
3
+ import { Stack as s, Checkbox as d, Typography as m } from "@mui/material";
4
+ import { v4 as n } from "uuid";
5
+ const p = a(
6
+ ({ content: i, ...t }, e) => {
7
+ const o = n();
8
+ return /* @__PURE__ */ r.jsxs(s, { alignItems: "center", direction: "row", display: "flex", gap: 1, justifyContent: "start", children: [
9
+ /* @__PURE__ */ r.jsx(d, { ref: e, ...t, id: t.id ?? o }),
10
+ i && /* @__PURE__ */ r.jsx("label", { htmlFor: t.id ?? o, children: /* @__PURE__ */ r.jsx(m, { variant: "body2", children: i }) })
11
+ ] });
12
+ }
13
+ );
14
+ export {
15
+ p as default
16
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppCheckbox';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppCheckbox.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { ChipProps } from '@mui/material';
3
+ interface AppChipProps extends ChipProps {
4
+ }
5
+ declare const AppChip: ({ variant, ...props }: AppChipProps) => React.JSX.Element;
6
+ export default AppChip;
@@ -0,0 +1,6 @@
1
+ import { j as o } from "../jsx-runtime-B6kdoens.js";
2
+ import { Chip as p } from "@mui/material";
3
+ const m = ({ variant: s = "soft", ...t }) => /* @__PURE__ */ o.jsx(p, { variant: s, size: "small", ...t });
4
+ export {
5
+ m as default
6
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppChip';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppChip.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,7 @@
1
+ interface AppChipsProps {
2
+ chips: string[];
3
+ overflow?: boolean;
4
+ onClick?: (tag: string) => void;
5
+ }
6
+ declare const AppChips: ({ chips, overflow, onClick }: AppChipsProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default AppChips;
@@ -0,0 +1,72 @@
1
+ import { j as s } from "../jsx-runtime-B6kdoens.js";
2
+ import { useRef as g, useState as m, useEffect as E } from "react";
3
+ import { Box as r, Tooltip as R } from "@mui/material";
4
+ import c from "../AppChip/AppChip.js";
5
+ const L = ({ chips: n, overflow: l = !0, onClick: o }) => {
6
+ const h = g(null), [w, b] = m([]), [C, y] = m([]), [u, j] = m(0), p = () => {
7
+ var x;
8
+ const t = ((x = h.current) == null ? void 0 : x.offsetWidth) || 0;
9
+ let e = 0, i = 0;
10
+ for (let d = 0; d < n.length; d++) {
11
+ const f = a(n[d]);
12
+ if (e + f <= t)
13
+ e += f, i++;
14
+ else
15
+ break;
16
+ }
17
+ const v = a(`+${n.length - i} keywords`);
18
+ for (; e + v > t && i > 0; )
19
+ i--, e -= a(n[i]);
20
+ b(n.slice(0, i)), y(n.slice(i)), j(n.length - i);
21
+ }, a = (t) => {
22
+ const e = document.createElement("span");
23
+ e.style.visibility = "hidden", e.style.position = "absolute", e.style.whiteSpace = "nowrap", e.textContent = t.trim(), document.body.appendChild(e);
24
+ const i = e.offsetWidth;
25
+ return document.body.removeChild(e), i + 16;
26
+ }, W = l ? { textOverflow: "ellipsis", whiteSpace: "nowrap", overflow: "hidden" } : {};
27
+ return E(() => (p(), window.addEventListener("resize", p), () => {
28
+ window.removeEventListener("resize", p);
29
+ }), [n]), /* @__PURE__ */ s.jsxs(r, { ref: h, display: "flex", maxWidth: "100%", ...W, children: [
30
+ (l ? w : n).map((t) => /* @__PURE__ */ s.jsx(
31
+ r,
32
+ {
33
+ component: "span",
34
+ textTransform: "lowercase",
35
+ onClick: () => {
36
+ o == null || o(t);
37
+ },
38
+ children: /* @__PURE__ */ s.jsx(
39
+ c,
40
+ {
41
+ label: t.trim(),
42
+ sx: {
43
+ mr: 1,
44
+ mb: 1,
45
+ userSelect: "none",
46
+ cursor: o ? "pointer" : "default"
47
+ }
48
+ }
49
+ )
50
+ },
51
+ t
52
+ )),
53
+ l && u > 0 && /* @__PURE__ */ s.jsx(
54
+ R,
55
+ {
56
+ componentsProps: { tooltip: { style: { padding: "0.5rem" } } },
57
+ title: /* @__PURE__ */ s.jsx(r, { display: "flex", gap: 1, maxWidth: "240px", flexWrap: "wrap", children: C.map((t) => /* @__PURE__ */ s.jsx(c, { label: t.trim() }, t)) }),
58
+ children: /* @__PURE__ */ s.jsx(r, { component: "span", textTransform: "lowercase", children: /* @__PURE__ */ s.jsx(
59
+ c,
60
+ {
61
+ label: `+${u} keywords`,
62
+ variant: "outlined",
63
+ sx: { mr: 1, mb: 1, userSelect: "none", cursor: "pointer" }
64
+ }
65
+ ) })
66
+ }
67
+ )
68
+ ] });
69
+ };
70
+ export {
71
+ L as default
72
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AppChips';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./AppChips.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }