asma-core-ui 0.0.1 → 1.0.151-beta2

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 (326) hide show
  1. package/CHANGELOG.md +686 -0
  2. package/Readme.md +24 -2
  3. package/dist/asma-core-ui.es.js +4 -3387
  4. package/dist/index.d.ts +1 -3
  5. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +5 -0
  6. package/dist/src/components/custom/widget/icons/ChevronDownIcon.d.ts +2 -0
  7. package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +2 -0
  8. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +26 -0
  9. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +7 -0
  10. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +2 -0
  11. package/dist/src/components/data-display/badge/StyledBadge.d.ts +5 -0
  12. package/dist/src/components/data-display/badge/index.d.ts +1 -0
  13. package/dist/src/components/data-display/chip/StyledChip.d.ts +5 -0
  14. package/dist/src/components/data-display/chip/index.d.ts +1 -0
  15. package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +3 -0
  16. package/dist/src/components/data-display/form-label/helpers/getStyles.d.ts +4 -0
  17. package/dist/src/components/data-display/form-label/index.d.ts +1 -0
  18. package/dist/src/components/data-display/form-label/types.d.ts +9 -0
  19. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -0
  20. package/dist/src/components/data-display/tooltip/index.d.ts +1 -0
  21. package/dist/src/components/data-display/typography/StyledTypography.d.ts +2 -0
  22. package/dist/src/components/data-display/typography/index.d.ts +1 -0
  23. package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -0
  24. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -0
  25. package/dist/src/components/feedback/alert/index.d.ts +2 -0
  26. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +11 -0
  27. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +2 -0
  28. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -0
  29. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -0
  30. package/dist/src/components/feedback/dialog/index.d.ts +4 -0
  31. package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +2 -0
  32. package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +6 -0
  33. package/dist/src/components/feedback/loading/StyledLoading.d.ts +8 -0
  34. package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +3 -0
  35. package/dist/src/components/feedback/minimizable-dialog/MinimizableDialogV2.d.ts +26 -0
  36. package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +7 -0
  37. package/dist/src/components/feedback/minimizable-dialog/components/MinimizeBtn.d.ts +8 -0
  38. package/dist/src/components/feedback/minimizable-dialog/index.d.ts +3 -0
  39. package/dist/src/components/feedback/minimizable-dialog/types.d.ts +36 -0
  40. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +32 -0
  41. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +11 -0
  42. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -0
  43. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +12 -0
  44. package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +3 -0
  45. package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +3 -0
  46. package/dist/src/components/feedback/snack-bar/components/types.d.ts +10 -0
  47. package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +2 -0
  48. package/dist/src/components/feedback/snack-bar/index.d.ts +6 -0
  49. package/dist/src/components/feedback/snack-bar/message.d.ts +17 -0
  50. package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +1 -0
  51. package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +1 -0
  52. package/dist/src/components/icons/IconTemplate.d.ts +3 -0
  53. package/dist/src/components/icons/Icons.types.d.ts +12 -0
  54. package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +3 -0
  55. package/dist/src/components/icons/archive-icon/index.d.ts +1 -0
  56. package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +2 -0
  57. package/dist/src/components/icons/arrow-expand/index.d.ts +1 -0
  58. package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +2 -0
  59. package/dist/src/components/icons/arrow-shrink/index.d.ts +1 -0
  60. package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +3 -0
  61. package/dist/src/components/icons/assignment/index.d.ts +1 -0
  62. package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +3 -0
  63. package/dist/src/components/icons/assignment-outline-icon/index.d.ts +1 -0
  64. package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +2 -0
  65. package/dist/src/components/icons/badge-icon/index.d.ts +1 -0
  66. package/dist/src/components/icons/bell-icon/BellIcon.d.ts +3 -0
  67. package/dist/src/components/icons/bell-icon/index.d.ts +1 -0
  68. package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +3 -0
  69. package/dist/src/components/icons/bell-outline-icon/index.d.ts +1 -0
  70. package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
  71. package/dist/src/components/icons/calendar-blank-outline-icon/index.d.ts +1 -0
  72. package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +3 -0
  73. package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +2 -0
  74. package/dist/src/components/icons/calendar-icon/index.d.ts +2 -0
  75. package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +3 -0
  76. package/dist/src/components/icons/calendar-range-icon/index.d.ts +1 -0
  77. package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +2 -0
  78. package/dist/src/components/icons/check-fact-icon/index.d.ts +1 -0
  79. package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +2 -0
  80. package/dist/src/components/icons/check-fact-outline-icon/index.d.ts +1 -0
  81. package/dist/src/components/icons/check-icon/CheckIcon.d.ts +3 -0
  82. package/dist/src/components/icons/check-icon/index.d.ts +1 -0
  83. package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +2 -0
  84. package/dist/src/components/icons/check-outline-icon/index.d.ts +1 -0
  85. package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +3 -0
  86. package/dist/src/components/icons/checkbox-checked-icon/index.d.ts +1 -0
  87. package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +3 -0
  88. package/dist/src/components/icons/chevron-double-left-icon/index.d.ts +1 -0
  89. package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +3 -0
  90. package/dist/src/components/icons/chevron-double-right-icon/index.d.ts +1 -0
  91. package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +3 -0
  92. package/dist/src/components/icons/chevron-down-icon/index.d.ts +1 -0
  93. package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +3 -0
  94. package/dist/src/components/icons/chevron-left-icon/index.d.ts +1 -0
  95. package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +3 -0
  96. package/dist/src/components/icons/chevron-right-icon/index.d.ts +1 -0
  97. package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +3 -0
  98. package/dist/src/components/icons/chevron-up-icon/index.d.ts +1 -0
  99. package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
  100. package/dist/src/components/icons/clock-outline-icon/index.d.ts +1 -0
  101. package/dist/src/components/icons/close-icon/CloseIcon.d.ts +3 -0
  102. package/dist/src/components/icons/close-icon/index.d.ts +1 -0
  103. package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +2 -0
  104. package/dist/src/components/icons/consents-icon/index.d.ts +1 -0
  105. package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +3 -0
  106. package/dist/src/components/icons/dashboard-view-icon/index.d.ts +1 -0
  107. package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +3 -0
  108. package/dist/src/components/icons/dashboard-view-outline-icon/index.d.ts +1 -0
  109. package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +3 -0
  110. package/dist/src/components/icons/delete-outline-icon/index.d.ts +1 -0
  111. package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +3 -0
  112. package/dist/src/components/icons/dots-vertical-icon/index.d.ts +1 -0
  113. package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +3 -0
  114. package/dist/src/components/icons/download-icon/index.d.ts +1 -0
  115. package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +3 -0
  116. package/dist/src/components/icons/drag-horizontal-icon/index.d.ts +1 -0
  117. package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +3 -0
  118. package/dist/src/components/icons/drop-down-icon/index.d.ts +1 -0
  119. package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +3 -0
  120. package/dist/src/components/icons/drop-up-icon/index.d.ts +1 -0
  121. package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +3 -0
  122. package/dist/src/components/icons/dvr-icon/index.d.ts +1 -0
  123. package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +3 -0
  124. package/dist/src/components/icons/earth-icon/index.d.ts +1 -0
  125. package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +2 -0
  126. package/dist/src/components/icons/edit-square-icon/index.d.ts +1 -0
  127. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +3 -0
  128. package/dist/src/components/icons/error-outline-icon/index.d.ts +1 -0
  129. package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +3 -0
  130. package/dist/src/components/icons/fast-check-outline-icon/index.d.ts +1 -0
  131. package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +3 -0
  132. package/dist/src/components/icons/file-pdf-icon/index.d.ts +1 -0
  133. package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +3 -0
  134. package/dist/src/components/icons/filter-icon/index.d.ts +1 -0
  135. package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +3 -0
  136. package/dist/src/components/icons/find-replace-icon/index.d.ts +1 -0
  137. package/dist/src/components/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +6 -0
  138. package/dist/src/components/icons/find-replace-people-icon/index.d.ts +1 -0
  139. package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +3 -0
  140. package/dist/src/components/icons/hamburger-icon/index.d.ts +1 -0
  141. package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +2 -0
  142. package/dist/src/components/icons/handyman-icon/index.d.ts +1 -0
  143. package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +2 -0
  144. package/dist/src/components/icons/handyman-outline-icon/index.d.ts +1 -0
  145. package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +3 -0
  146. package/dist/src/components/icons/inbox-outbox-icon/index.d.ts +1 -0
  147. package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +3 -0
  148. package/dist/src/components/icons/inbox-outbox-outline-icon/index.d.ts +1 -0
  149. package/dist/src/components/icons/index.d.ts +81 -0
  150. package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +2 -0
  151. package/dist/src/components/icons/keyboard-capslock-icon/index.d.ts +1 -0
  152. package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +3 -0
  153. package/dist/src/components/icons/link-outline-icon/index.d.ts +1 -0
  154. package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +3 -0
  155. package/dist/src/components/icons/list-numbered-icon/index.d.ts +1 -0
  156. package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +3 -0
  157. package/dist/src/components/icons/list-settings-line-icon/index.d.ts +1 -0
  158. package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +3 -0
  159. package/dist/src/components/icons/list-status-icon/index.d.ts +1 -0
  160. package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +3 -0
  161. package/dist/src/components/icons/loading-icon/index.d.ts +1 -0
  162. package/dist/src/components/icons/lock-icon/LockIcon.d.ts +3 -0
  163. package/dist/src/components/icons/lock-icon/index.d.ts +1 -0
  164. package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +3 -0
  165. package/dist/src/components/icons/message-processing-icon/index.d.ts +1 -0
  166. package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +3 -0
  167. package/dist/src/components/icons/message-processing-outline-icon/index.d.ts +1 -0
  168. package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +2 -0
  169. package/dist/src/components/icons/message-reply-icon/index.d.ts +1 -0
  170. package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +2 -0
  171. package/dist/src/components/icons/minimize-icon/index.d.ts +1 -0
  172. package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +3 -0
  173. package/dist/src/components/icons/outline-calendar-month/index.d.ts +1 -0
  174. package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +3 -0
  175. package/dist/src/components/icons/pdf-icon/index.d.ts +1 -0
  176. package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +3 -0
  177. package/dist/src/components/icons/pencil-outline-icon/index.d.ts +1 -0
  178. package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +3 -0
  179. package/dist/src/components/icons/people-icon/index.d.ts +1 -0
  180. package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +3 -0
  181. package/dist/src/components/icons/people-outline-icon/index.d.ts +1 -0
  182. package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +3 -0
  183. package/dist/src/components/icons/perm-media-icon/index.d.ts +1 -0
  184. package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +3 -0
  185. package/dist/src/components/icons/perm-media-outline-icon/index.d.ts +1 -0
  186. package/dist/src/components/icons/person-icon/PersonIcon.d.ts +3 -0
  187. package/dist/src/components/icons/person-icon/index.d.ts +1 -0
  188. package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +3 -0
  189. package/dist/src/components/icons/person-outline-icon/index.d.ts +1 -0
  190. package/dist/src/components/icons/pin-icon/PinIcon.d.ts +2 -0
  191. package/dist/src/components/icons/pin-icon/index.d.ts +1 -0
  192. package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +2 -0
  193. package/dist/src/components/icons/plus-icon/index.d.ts +1 -0
  194. package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +2 -0
  195. package/dist/src/components/icons/plus-icon-circle/index.d.ts +1 -0
  196. package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +3 -0
  197. package/dist/src/components/icons/qnr-icon/index.d.ts +1 -0
  198. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +3 -0
  199. package/dist/src/components/icons/replay-icon/index.d.ts +1 -0
  200. package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +3 -0
  201. package/dist/src/components/icons/report-box-icon/index.d.ts +1 -0
  202. package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +3 -0
  203. package/dist/src/components/icons/report-box-outline-icon/index.d.ts +1 -0
  204. package/dist/src/components/icons/search-icon/SearchIcon.d.ts +3 -0
  205. package/dist/src/components/icons/search-icon/index.d.ts +1 -0
  206. package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +3 -0
  207. package/dist/src/components/icons/settings-icon/index.d.ts +1 -0
  208. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +3 -0
  209. package/dist/src/components/icons/settings-menu-horizontal-icon/index.d.ts +1 -0
  210. package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +3 -0
  211. package/dist/src/components/icons/settings-outline-icon/index.d.ts +1 -0
  212. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +3 -0
  213. package/dist/src/components/icons/text-box-check-outline-icon/index.d.ts +1 -0
  214. package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +3 -0
  215. package/dist/src/components/icons/topic-icon/index.d.ts +1 -0
  216. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +3 -0
  217. package/dist/src/components/icons/unknown-document-outline-rounded-icon/index.d.ts +1 -0
  218. package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +2 -0
  219. package/dist/src/components/icons/warning-icon/index.d.ts +1 -0
  220. package/dist/src/components/icons/work-icon/WorkIcon.d.ts +2 -0
  221. package/dist/src/components/icons/work-icon/index.d.ts +1 -0
  222. package/dist/src/components/inputs/button/StyledButton.d.ts +40 -0
  223. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +5 -0
  224. package/dist/src/components/inputs/checkbox/index.d.ts +1 -0
  225. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +15 -0
  226. package/dist/src/components/inputs/input-field/index.d.ts +2 -0
  227. package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +2 -0
  228. package/dist/src/components/inputs/label/StyledLabel.d.ts +9 -0
  229. package/dist/src/components/inputs/label/index.d.ts +1 -0
  230. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +4 -0
  231. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +4 -0
  232. package/dist/src/components/inputs/radio-button/index.d.ts +2 -0
  233. package/dist/src/components/inputs/rich-input/RichInput.d.ts +13 -0
  234. package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
  235. package/dist/src/components/inputs/select/StyledSelect.d.ts +18 -0
  236. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -0
  237. package/dist/src/components/inputs/select/index.d.ts +3 -0
  238. package/dist/src/components/inputs/select/story/components/StyledSelectExample.d.ts +2 -0
  239. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +13 -0
  240. package/dist/src/components/inputs/select-autocomplete/index.d.ts +1 -0
  241. package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +2 -0
  242. package/dist/src/components/inputs/slider/StyledSlider.d.ts +5 -0
  243. package/dist/src/components/inputs/slider/index.d.ts +1 -0
  244. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +5 -0
  245. package/dist/src/components/inputs/switch/index.d.ts +1 -0
  246. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +58 -0
  247. package/dist/src/components/inputs/textarea/index.d.ts +1 -0
  248. package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +1 -0
  249. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -0
  250. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -0
  251. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -0
  252. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -0
  253. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -0
  254. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +3 -0
  255. package/dist/src/components/navigation/drawer/index.d.ts +1 -0
  256. package/dist/src/components/navigation/link/StyledLink.d.ts +21 -0
  257. package/dist/src/components/navigation/link/index.d.ts +1 -0
  258. package/dist/src/components/navigation/menu/StyledMenu.d.ts +2 -0
  259. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -0
  260. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -0
  261. package/dist/src/components/navigation/menu/index.d.ts +4 -0
  262. package/dist/src/components/navigation/tabs/StyledTab.d.ts +3 -0
  263. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +3 -0
  264. package/dist/src/components/navigation/tabs/index.d.ts +2 -0
  265. package/dist/src/components/pickers/date-picker/StyledDatePicker.d.ts +2 -0
  266. package/dist/src/components/pickers/date-picker/components/DatePickerInputIndex.d.ts +13 -0
  267. package/dist/src/components/pickers/date-picker/components/DatePickerInputRange.d.ts +5 -0
  268. package/dist/src/components/pickers/date-picker/components/DatePickerInputRangeCompact.d.ts +5 -0
  269. package/dist/src/components/pickers/date-picker/components/DatePickerInputSingle.d.ts +5 -0
  270. package/dist/src/components/pickers/date-picker/components/StyledCalendarPicker.d.ts +8 -0
  271. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerCaption.d.ts +7 -0
  272. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerFooter.d.ts +11 -0
  273. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectMonth.d.ts +3 -0
  274. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectYear.d.ts +3 -0
  275. package/dist/src/components/pickers/date-picker/helpers.d.ts +3 -0
  276. package/dist/src/components/pickers/date-picker/index.d.ts +1 -0
  277. package/dist/src/components/pickers/date-picker/story/components/DatePickerContainer.d.ts +5 -0
  278. package/dist/src/components/pickers/date-picker/story/components/NestedRangePickerExample.d.ts +2 -0
  279. package/dist/src/components/pickers/date-picker/story/components/RangePickerCompactExample.d.ts +2 -0
  280. package/dist/src/components/pickers/date-picker/story/components/RangePickerExample.d.ts +2 -0
  281. package/dist/src/components/pickers/date-picker/story/components/SinglePickerExample.d.ts +2 -0
  282. package/dist/src/components/pickers/date-picker/types.d.ts +46 -0
  283. package/dist/src/components/pickers/time-picker/StyledTimePicker.d.ts +3 -0
  284. package/dist/src/components/pickers/time-picker/TimePickerInput.d.ts +9 -0
  285. package/dist/src/components/pickers/time-picker/TimePickerPopper.d.ts +7 -0
  286. package/dist/src/components/pickers/time-picker/components/HelperText.d.ts +7 -0
  287. package/dist/src/components/pickers/time-picker/components/TimePickerBody.d.ts +5 -0
  288. package/dist/src/components/pickers/time-picker/components/TimePickerColumn.d.ts +6 -0
  289. package/dist/src/components/pickers/time-picker/helpers/getTimeFromValue.d.ts +1 -0
  290. package/dist/src/components/pickers/time-picker/index.d.ts +1 -0
  291. package/dist/src/components/pickers/time-picker/types.d.ts +14 -0
  292. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +2 -0
  293. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +2 -0
  294. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +2 -0
  295. package/dist/src/components/utils/accordion/index.d.ts +3 -0
  296. package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +12 -0
  297. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +26 -0
  298. package/dist/src/components/utils/filter-menu/index.d.ts +2 -0
  299. package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -0
  300. package/dist/src/components/utils/popover/index.d.ts +1 -0
  301. package/dist/src/helpers/cn.d.ts +2 -0
  302. package/dist/src/helpers/date.helper.d.ts +2 -0
  303. package/dist/src/helpers/index.d.ts +3 -0
  304. package/dist/src/helpers/prepareForSlot.d.ts +5 -0
  305. package/dist/src/helpers/reflections.helper.d.ts +1 -0
  306. package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +6 -0
  307. package/dist/src/hooks/useWindowWidthSize.hook.d.ts +5 -0
  308. package/dist/src/index.d.ts +38 -0
  309. package/dist/tailwind.config.d.ts +155 -0
  310. package/dist/vite.config.d.ts +2 -0
  311. package/package.json +93 -68
  312. package/tw-configs/twConfigs.json +122 -0
  313. package/dist/components/StyledButton.d.ts +0 -34
  314. package/dist/helpers/index.d.ts +0 -1
  315. package/dist/helpers/tokenOptimizer.helper.d.ts +0 -1
  316. package/dist/style.css +0 -1
  317. package/dist/styles/fretex-tokens/index.d.ts +0 -4
  318. package/dist/styles/greenish-tokens/index.d.ts +0 -4
  319. package/dist/styles/tokens/index.d.ts +0 -4
  320. package/dist/theme/customMuiColors.d.ts +0 -61
  321. package/dist/theme/index.d.ts +0 -2
  322. package/dist/theme/theme.d.ts +0 -107
  323. package/tailwind-configs/tw_animation.cjs +0 -43
  324. package/tailwind-configs/tw_box_shadow.cjs +0 -3
  325. package/tailwind-configs/tw_configs.cjs +0 -8
  326. /package/dist/{components → src/components/inputs/button}/index.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ import { type AccordionSummaryProps } from '@mui/material';
2
+ export declare const StyledAccordionSummary: (props: AccordionSummaryProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './StyledAccordion';
2
+ export * from './StyledAccordionSummary';
3
+ export * from './StyledAccordionDetails';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { type StyledButtonProps } from '../../inputs/button';
3
+ /**
4
+ * Custom props:
5
+ * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
6
+ */
7
+ type StyledFilterMenuProps = {
8
+ filterIsActive: boolean;
9
+ label?: string;
10
+ };
11
+ export declare const StyledFilterButton: React.FC<StyledButtonProps & StyledFilterMenuProps>;
12
+ export {};
@@ -0,0 +1,26 @@
1
+ import React, { type ReactNode } from 'react';
2
+ import type { PopoverProps } from '@mui/material';
3
+ /**
4
+ * Custom props:
5
+ * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
6
+ * @param popoverContent
7
+ */
8
+ type StyledFilterMenuProps = {
9
+ dataTest: string;
10
+ filterIsActive: boolean;
11
+ popoverContent: ((props: {
12
+ isOpen: boolean;
13
+ onClose: () => void;
14
+ }) => ReactNode) | ReactNode;
15
+ disabled?: boolean;
16
+ size?: 'small' | 'large' | 'medium';
17
+ variant?: 'contained' | 'outlined' | 'text' | 'textGray';
18
+ popoverProps?: Omit<PopoverProps, 'open' | 'anchorEl' | 'onClose'>;
19
+ anchorNode?: (props: {
20
+ isOpen: boolean;
21
+ onClose: () => void;
22
+ }) => ReactNode;
23
+ label?: string;
24
+ };
25
+ export declare const StyledFilterMenu: React.FC<StyledFilterMenuProps>;
26
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './StyledFilterButton';
2
+ export * from './StyledFilterMenu';
@@ -0,0 +1,2 @@
1
+ import { type PopoverProps } from '@mui/material';
2
+ export declare const StyledPopover: (props: PopoverProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledPopover';
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,2 @@
1
+ export declare const setMidnightTime: (date: Date) => Date;
2
+ export declare const setZeroTime: (date: Date) => Date;
@@ -0,0 +1,3 @@
1
+ export * from './reflections.helper';
2
+ export * from './date.helper';
3
+ export * from './prepareForSlot';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * When inserting a component from a third-party library into a slot, you may encounter this warning: "React does not recognize the ownerState prop on a DOM element." This is because the custom component isn't prepared to receive the ownerState like a built-in library component would be.
4
+ */
5
+ export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<import("react").ComponentProps<ComponentType>> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1 @@
1
+ export declare const omit: <T extends object, K extends keyof T>(obj: T, keys: readonly K[]) => Omit<T, K>;
@@ -0,0 +1,6 @@
1
+ export declare const useToggleMenuVisibility: () => {
2
+ open: boolean;
3
+ handleClose: () => void;
4
+ handleOpen: (event: React.MouseEvent<HTMLElement | SVGSVGElement>) => void;
5
+ anchorEl: HTMLElement | SVGSVGElement | null;
6
+ };
@@ -0,0 +1,5 @@
1
+ export declare function useWindowWidthSize(): number;
2
+ export declare const mobileView: (windowWidth: number | undefined) => boolean;
3
+ export declare function useIsMobileView(): boolean;
4
+ export declare function useIsTabletView(): boolean;
5
+ export declare const tabletView: (windowWidth: number | undefined) => boolean;
@@ -0,0 +1,38 @@
1
+ export * from './helpers';
2
+ export * from './components/data-display/badge';
3
+ export * from './components/data-display/chip';
4
+ export * from './components/data-display/tooltip';
5
+ export * from './components/icons';
6
+ export * from './components/data-display/typography';
7
+ export * from './components/data-display/form-label';
8
+ export * from './components/feedback/dialog';
9
+ export * from './components/feedback/empty-page/StyledEmptyPage';
10
+ export * from './components/feedback/loading/StyledLoading';
11
+ export * from './components/inputs/button';
12
+ export * from './components/inputs/checkbox';
13
+ export * from './components/inputs/input-field';
14
+ export * from './components/inputs/textarea';
15
+ export * from './components/inputs/select';
16
+ export * from './components/inputs/select-autocomplete';
17
+ export * from './components/inputs/slider';
18
+ export * from './components/inputs/switch';
19
+ export * from './components/inputs/radio-button';
20
+ export * from './components/inputs/label';
21
+ export * from './components/miscellaneous/StyledFormControl';
22
+ export * from './components/miscellaneous/StyledFormControlLabel';
23
+ export * from './components/miscellaneous/StyledFormHelperText';
24
+ export * from './components/miscellaneous/StyledInputLabel';
25
+ export * from './components/miscellaneous/StyledFormGroup';
26
+ export * from './components/navigation/drawer';
27
+ export * from './components/navigation/menu';
28
+ export * from './components/navigation/link';
29
+ export * from './components/navigation/tabs';
30
+ export * from './components/utils/accordion';
31
+ export * from './components/utils/popover';
32
+ export * from './components/utils/filter-menu';
33
+ export * from './components/custom/widget/widget-title/StyledWidgetTitle';
34
+ export * from './components/custom/widget/widget-header/StyledWidgetHeader';
35
+ export * from './components/custom/widget/widget/StyledWidget';
36
+ export * from './components/custom/module/module-title/StyledModuleTitle';
37
+ export * from './components/feedback/minimizable-dialog';
38
+ export { Fade, Paper, ClickAwayListener, Popper, Avatar, Skeleton, Container, Stack, FormLabel } from '@mui/material';
@@ -0,0 +1,155 @@
1
+ declare const _default: {
2
+ mode: string;
3
+ important: true;
4
+ content: string[];
5
+ theme: {
6
+ fontFamily: {
7
+ sans: string[];
8
+ roboto: string[];
9
+ };
10
+ extend: {
11
+ colors: {
12
+ inherit: string;
13
+ "textcolor-component": string;
14
+ "color-active-component": string;
15
+ "alpha-100": string;
16
+ "alpha-500": string;
17
+ "alpha-600": string;
18
+ "alpha-700": string;
19
+ "beta-100": string;
20
+ "beta-500": string;
21
+ "beta-600": string;
22
+ "beta-700": string;
23
+ "gama-25": string;
24
+ "gama-50": string;
25
+ "gama-100": string;
26
+ "gama-200": string;
27
+ "gama-300": string;
28
+ "gama-400": string;
29
+ "gama-500": string;
30
+ "gama-600": string;
31
+ "gama-700": string;
32
+ "gama-800": string;
33
+ "gama-900": string;
34
+ "delta-10": string;
35
+ "delta-50": string;
36
+ "delta-100": string;
37
+ "delta-200": string;
38
+ "delta-300": string;
39
+ "delta-400": string;
40
+ "delta-500": string;
41
+ "delta-600": string;
42
+ "delta-700": string;
43
+ "delta-800": string;
44
+ "delta-900": string;
45
+ "delta-9000": string;
46
+ "sigma-700": string;
47
+ "theta-100": string;
48
+ "theta-200": string;
49
+ "theta-300": string;
50
+ "theta-400": string;
51
+ "theta-500": string;
52
+ "theta-600": string;
53
+ "theta-700": string;
54
+ "theta-800": string;
55
+ "theta-hover": string;
56
+ "btn-bg": string;
57
+ "btn-bg-active": string;
58
+ "btn-bg-hover": string;
59
+ "btn-bg-disabled": string;
60
+ "btn-bg-danger": string;
61
+ "btn-bg-danger-active": string;
62
+ "btn-task-status-bg": string;
63
+ "btn-bg-mini-action": string;
64
+ "btn-bg-mini-action-hover": string;
65
+ "chat-ticket-message-bg": string;
66
+ "colors-topbar-text": string;
67
+ "custom-grey-01": string;
68
+ "custom-grey-02": string;
69
+ "custom-grey-03": string;
70
+ "custom-grey-04": string;
71
+ "custom-grey-06": string;
72
+ };
73
+ boxShadow: {
74
+ ash: string;
75
+ mui: string;
76
+ };
77
+ animation: {
78
+ "slide-in": string;
79
+ "slide-out": string;
80
+ "opacity-in": string;
81
+ "opacity-in-5": string;
82
+ "opacity-appear-3": string;
83
+ "opacity-appear-1s": string;
84
+ "opacity-out": string;
85
+ spin: string;
86
+ };
87
+ keyframes: {
88
+ "slide-in": {
89
+ "0%": {
90
+ margin: string;
91
+ };
92
+ "100%": {
93
+ margin: string;
94
+ };
95
+ };
96
+ "slide-out": {
97
+ "0%": {
98
+ margin: string;
99
+ };
100
+ "100%": {
101
+ margin: string;
102
+ };
103
+ };
104
+ "opacity-in": {
105
+ "0%": {
106
+ opacity: string;
107
+ height: string;
108
+ };
109
+ "100%": {
110
+ opacity: string;
111
+ height: string;
112
+ };
113
+ };
114
+ "opacity-appear": {
115
+ "0%": {
116
+ height: string;
117
+ opacity: string;
118
+ };
119
+ "100%": {
120
+ height: string;
121
+ opacity: string;
122
+ };
123
+ };
124
+ "opacity-out": {
125
+ "0%": {
126
+ opacity: string;
127
+ height: string;
128
+ };
129
+ "60%": {
130
+ opacity: string;
131
+ height: string;
132
+ };
133
+ "100%": {
134
+ opacity: string;
135
+ height: string;
136
+ };
137
+ };
138
+ spin: {
139
+ "0%": {
140
+ transform: string;
141
+ };
142
+ "100%": {
143
+ transform: string;
144
+ };
145
+ };
146
+ };
147
+ };
148
+ };
149
+ darkMode: "media";
150
+ corePlugins: {
151
+ preflight: false;
152
+ };
153
+ plugins: any[];
154
+ };
155
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfigExport;
2
+ export default _default;
package/package.json CHANGED
@@ -1,104 +1,129 @@
1
1
  {
2
2
  "name": "asma-core-ui",
3
- "private": false,
4
- "version": "0.0.1",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "1.0.151-beta2",
5
7
  "type": "module",
6
8
  "files": [
7
9
  "dist/**/*",
8
10
  "dist/style.css",
9
- "tailwind-configs"
11
+ "tw-configs/**/*"
10
12
  ],
11
13
  "keywords": [],
12
14
  "author": "asma-team",
13
15
  "types": "./dist/index.d.ts",
14
16
  "main": "./dist/asma-core-ui.es.js",
15
17
  "module": "./dist/asma-core-ui.es.js",
18
+ "exports": {
19
+ ".": {
20
+ "import": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/asma-core-ui.es.js"
23
+ }
24
+ },
25
+ "./dist/style.css": "./dist/style.css",
26
+ "./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
27
+ },
16
28
  "scripts": {
17
29
  "dev": "vite",
18
- "build": "tsc && rm -rf ./dist && vite build",
30
+ "build": "npx tsc && rm -rf ./dist && vite build",
19
31
  "preview": "vite preview",
20
32
  "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
33
+ "version": "echo $npm_package_version",
21
34
  "lint:fix": "eslint --fix src/**/*.{jsx,ts,tsx}",
22
35
  "prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
23
- "storybook": "start-storybook -p 6006",
24
- "storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 6006",
25
- "build-storybook": "build-storybook",
26
- "create-index": "ctix create -p ./tsconfig.json -w -a ./src"
36
+ "storybook": "storybook dev -p 6006",
37
+ "storybook:no-browser": "storybook dev -p 6006 --no-open",
38
+ "storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
39
+ "storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
40
+ "build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
41
+ "test-storybook": "test-storybook",
42
+ "changeset:pre-beta": "changeset pre enter beta",
43
+ "changeset:pre-exit": "changeset pre exit",
44
+ "changeset:version": "changeset version",
45
+ "changeset:publish": "changeset publish",
46
+ "changeset:status": "changeset status"
27
47
  },
28
48
  "license": "UNLICENSED",
29
49
  "dependencies": {
30
- "@emotion/react": "^11.10.6",
31
- "@emotion/styled": "^11.10.6",
32
- "@fontsource/material-icons": "^4.5.4",
33
- "@fontsource/roboto": "^4.5.8",
34
- "@mui/material": "^5.11.13",
35
- "@storybook/addon-styling": "^0.3.1",
36
- "@storybook/addons": "^6.5.16",
37
- "ctix": "^1.8.2",
50
+ "@emotion/react": "^11.11.1",
51
+ "@emotion/styled": "^11.11.0",
52
+ "@fontsource/material-icons": "^5.0.4",
53
+ "@iconify/react": "^4.1.1",
54
+ "@mui/material": "^5.13.7",
55
+ "@tanstack/react-table": "^8.10.0",
56
+ "clsx": "^1.2.1",
57
+ "date-fns": "^2.30.0",
38
58
  "lodash-es": "^4.17.21",
39
- "rollup-plugin-typescript2": "^0.34.1",
40
- "storybook": "^6.5.16"
59
+ "material-ui-popup-state": "^5.0.10",
60
+ "node": "18.17.0",
61
+ "notistack": "^3.0.1",
62
+ "react": "^18.2.0",
63
+ "react-day-picker": "^8.8.2",
64
+ "react-dom": "^18.2.0",
65
+ "react-draggable": "^4.4.6",
66
+ "react-quill": "^2.0.0",
67
+ "sass": "^1.77.5",
68
+ "vite-plugin-css-injected-by-js": "^3.5.1"
41
69
  },
42
70
  "devDependencies": {
43
- "@babel/core": "^7.20.12",
44
- "@rollup/plugin-commonjs": "21",
45
- "@storybook/addon-actions": "^6.5.15",
46
- "@storybook/addon-essentials": "^6.5.15",
47
- "@storybook/addon-interactions": "^6.5.15",
48
- "@storybook/addon-links": "^6.5.15",
49
- "@storybook/builder-vite": "^0.2.6",
50
- "@storybook/react": "^6.5.15",
51
- "@storybook/testing-library": "^0.0.13",
71
+ "@changesets/cli": "^2.26.2",
72
+ "@faker-js/faker": "^8.0.2",
73
+ "@rollup/plugin-terser": "^0.4.3",
74
+ "@storybook/addon-a11y": "^7.6.9",
75
+ "@storybook/addon-essentials": "^7.6.9",
76
+ "@storybook/addon-interactions": "^7.6.9",
77
+ "@storybook/addon-links": "^7.6.9",
78
+ "@storybook/addon-mdx-gfm": "^7.6.9",
79
+ "@storybook/addon-styling": "^1.3.7",
80
+ "@storybook/addons": "^7.6.9",
81
+ "@storybook/blocks": "^7.6.9",
82
+ "@storybook/manager-api": "^7.6.9",
83
+ "@storybook/preset-create-react-app": "^7.6.9",
84
+ "@storybook/react": "^7.6.9",
85
+ "@storybook/react-vite": "^7.6.9",
86
+ "@storybook/test-runner": "^0.16.0",
87
+ "@storybook/testing-library": "^0.2.2",
88
+ "@storybook/theming": "^7.6.9",
52
89
  "@types/lodash-es": "^4.17.7",
53
- "@types/react": "^18.0.26",
54
- "@types/react-dom": "^18.0.9",
55
- "@typescript-eslint/eslint-plugin": "^5.0.0",
56
- "@typescript-eslint/parser": "^5.38.1",
57
- "@vitejs/plugin-react": "^3.0.0",
58
- "autoprefixer": "^10.4.12",
59
- "babel-loader": "^8.3.0",
60
- "eslint": "^8.0.1",
61
- "eslint-config-prettier": "^8.5.0",
62
- "eslint-import-resolver-typescript": "^3.5.1",
63
- "eslint-plugin-import": "^2.25.2",
64
- "eslint-plugin-jsx-a11y": "^6.6.1",
65
- "eslint-plugin-prettier": "^4.2.1",
66
- "eslint-plugin-promise": "^6.0.0",
67
- "eslint-plugin-react": "^7.31.8",
90
+ "@types/node": "^18.0.3",
91
+ "@types/react": "^18.0.37",
92
+ "@types/react-dom": "^18.0.11",
93
+ "@typescript-eslint/eslint-plugin": "^5.59.0",
94
+ "@typescript-eslint/parser": "^5.59.0",
95
+ "@vitejs/plugin-react": "^4.0.0",
96
+ "autoprefixer": "^10.4.14",
97
+ "axe-playwright": "^1.2.3",
98
+ "axios": "^1.6.8",
99
+ "eslint": "^8.38.0",
68
100
  "eslint-plugin-react-hooks": "^4.6.0",
69
- "eslint-plugin-simple-import-sort": "^8.0.0",
70
- "eslint-plugin-storybook": "^0.6.8",
71
- "eslint-plugin-unused-imports": "^2.0.0",
72
- "less": "^4.1.3",
73
- "lint-staged": "^13.0.3",
74
- "node-sass": "^8.0.0",
75
- "postcss": "^8.4.16",
76
- "prettier": "^2.7.1",
77
- "prettier-plugin-tailwindcss": "^0.1.13",
78
- "react": "^18.*",
79
- "react-dom": "^18.*",
80
- "react-hooks": "^1.0.1",
81
- "sass": "^1.57.1",
82
- "tailwind": "^4.0.0",
83
- "tailwindcss": "^3.1.8",
84
- "typescript": "^4.9.3",
85
- "typescript-plugin-css-modules": "^3.4.0",
86
- "vite": "^4.0.0",
87
- "vite-plugin-dts": "^2.1.0",
88
- "vite-tsconfig-paths": "^4.0.3"
101
+ "eslint-plugin-react-refresh": "^0.3.4",
102
+ "eslint-plugin-storybook": "^0.6.15",
103
+ "postcss": "^8.4.24",
104
+ "prop-types": "^15.8.1",
105
+ "rollup-plugin-typescript2": "^0.35.0",
106
+ "storybook": "^7.6.9",
107
+ "storybook-addon-themes": "^6.1.0",
108
+ "tailwind-merge": "^2.4.0",
109
+ "tailwind-scrollbar": "^3.1.0",
110
+ "tailwindcss": "^3.3.2",
111
+ "typescript": "^5.0.2",
112
+ "typescript-plugin-css-modules": "^5.0.1",
113
+ "vite": "^4.3.9",
114
+ "vite-plugin-dts": "^3.1.1",
115
+ "vite-tsconfig-paths": "^4.2.0"
89
116
  },
90
117
  "peerDependencies": {
91
118
  "@emotion/react": "^11.*",
92
119
  "@emotion/styled": "^11.*",
93
120
  "@mui/material": "^5.*",
121
+ "immer": "^9.*",
94
122
  "react": "^18.*",
95
123
  "react-dom": "^18.*"
96
124
  },
97
- "exports": {
98
- ".": {
99
- "import": "./dist/asma-core-ui.es.js"
100
- },
101
- "./dist/style.css": "./dist/style.css",
102
- "./tailwind-configs/tw_configs.cjs": "./tailwind-configs/tw_configs.cjs"
125
+ "resolutions": {
126
+ "@types/node": "18.0.3",
127
+ "node": "18.17.0"
103
128
  }
104
129
  }
@@ -0,0 +1,122 @@
1
+ {
2
+ "fontFamily": {
3
+ "sans": ["Roboto"],
4
+ "roboto": ["Roboto"]
5
+ },
6
+ "colors": {
7
+ "inherit": "inherit",
8
+ "textcolor-component": "var(--colors-text-component)",
9
+ "color-active-component": "var(--colors-active-component)",
10
+ "alpha-100": "var(--colors-alpha-100)",
11
+ "alpha-500": "var(--colors-alpha-500)",
12
+ "alpha-600": "var(--colors-alpha-600)",
13
+ "alpha-700": "var(--colors-alpha-700)",
14
+ "beta-100": "var(--colors-beta-100)",
15
+ "beta-500": "var(--colors-beta-500)",
16
+ "beta-600": "var(--colors-beta-600)",
17
+ "beta-700": "var(--colors-beta-700)",
18
+ "gama-25": "var(--colors-gama-25)",
19
+ "gama-50": "var(--colors-gama-50)",
20
+ "gama-100": "var(--colors-gama-100)",
21
+ "gama-200": "var(--colors-gama-200)",
22
+ "gama-300": "var(--colors-gama-300)",
23
+ "gama-400": "var(--colors-gama-400)",
24
+ "gama-500": "var(--colors-gama-500)",
25
+ "gama-600": "var(--colors-gama-600)",
26
+ "gama-700": "var(--colors-gama-700)",
27
+ "gama-800": "var(--colors-gama-800)",
28
+ "gama-900": "var(--colors-gama-900)",
29
+ "delta-10": "var(--colors-delta-10)",
30
+ "delta-50": "var(--colors-delta-50)",
31
+ "delta-100": "var(--colors-delta-100)",
32
+ "delta-200": "var(--colors-delta-200)",
33
+ "delta-300": "var(--colors-delta-300)",
34
+ "delta-400": "var(--colors-delta-400)",
35
+ "delta-500": "var(--colors-delta-500)",
36
+ "delta-600": "var(--colors-delta-600)",
37
+ "delta-700": "var(--colors-delta-700)",
38
+ "delta-800": "var(--colors-delta-800)",
39
+ "delta-900": "var(--colors-delta-900)",
40
+ "delta-9000": "var(--colors-gray-9000)",
41
+ "sigma-700": "var(--colors-sigma-700)",
42
+ "theta-100": "var(--colors-theta-100)",
43
+ "theta-200": "var(--colors-theta-200)",
44
+ "theta-300": "var(--colors-theta-300)",
45
+ "theta-400": "var(--colors-theta-400)",
46
+ "theta-500": "var(--colors-theta-500)",
47
+ "theta-600": "var(--colors-theta-600)",
48
+ "theta-700": "var(--colors-theta-700)",
49
+ "theta-800": "var(--colors-theta-800)",
50
+ "theta-hover": "var(--colors-theta-hover)",
51
+ "btn-bg": "var(--colors-btn-bg-standart)",
52
+ "btn-bg-active": "var(--colors-btn-bg-active)",
53
+ "btn-bg-hover": "var(--colors-btn-bg-hover)",
54
+ "btn-bg-disabled": "var(--colors-btn-bg-disabled)",
55
+ "btn-bg-danger": "var(--colors-btn-bg-danger)",
56
+ "btn-bg-danger-active": "var(--colors-btn-bg-danger-active)",
57
+ "btn-task-status-bg": "var(--colors-btn-task-status-bg)",
58
+ "btn-bg-mini-action": "var(--colors-btn-bg-mini-action)",
59
+ "btn-bg-mini-action-hover": "var(--colors-btn-bg-mini-action-hover)",
60
+
61
+ "chat-ticket-message-bg": "var(--colors-chat-ticket-message-bg)",
62
+ "colors-topbar-text": "var(--colors-topbar-text)",
63
+ "custom-grey-01": "hsl(var(--color-cardea--grey-01) / <alpha-value>)",
64
+ "custom-grey-02": "hsl(var(--color-cardea--grey-02) / <alpha-value>)",
65
+ "custom-grey-03": "hsl(var(--color-cardea--grey-03) / <alpha-value>)",
66
+ "custom-grey-04": "hsl(var(--color-cardea--grey-04) / <alpha-value>)",
67
+ "custom-grey-06": "hsl(var(--color-cardea--grey-06) / <alpha-value>)"
68
+ },
69
+ "boxShadow": {
70
+ "ash": "-1px 8px 18px -20px black",
71
+ "mui": "0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)"
72
+ },
73
+ "animation": {
74
+ "slide-in": "slide-in 0.3s linear",
75
+ "slide-out": "slide-out 0.3s linear",
76
+ "opacity-in": "opacity-in 0.1s linear",
77
+ "opacity-in-5": "opacity-in 0.5s linear",
78
+ "opacity-appear-3": "opacity-appear 0.3s linear",
79
+ "opacity-appear-1s": "opacity-appear 1s linear",
80
+ "opacity-out": "opacity-out 0.3s linear",
81
+ "spin": "spin 1s linear infinite"
82
+ },
83
+ "keyframes": {
84
+ "slide-in": {
85
+ "0%": { "margin": "0 0 0 -320px" },
86
+ "100%": { "margin": "0" }
87
+ },
88
+ "slide-out": {
89
+ "0%": { "margin": "0" },
90
+ "100%": { "margin": "0 0 0 -320px" }
91
+ },
92
+ "opacity-in": {
93
+ "0%": {
94
+ "opacity": "0",
95
+ "height": "100%"
96
+ },
97
+ "100%": {
98
+ "opacity": "1",
99
+ "height": "100%"
100
+ }
101
+ },
102
+ "opacity-appear": {
103
+ "0%": {
104
+ "height": "0",
105
+ "opacity": "0"
106
+ },
107
+ "100%": {
108
+ "height": "100%",
109
+ "opacity": "1"
110
+ }
111
+ },
112
+ "opacity-out": {
113
+ "0%": { "opacity": "1", "height": "100%" },
114
+ "60%": { "opacity": "1", "height": "100%" },
115
+ "100%": { "opacity": "0", "height": "100%" }
116
+ },
117
+ "spin": {
118
+ "0%": { "transform": "rotate(0deg)" },
119
+ "100%": { "transform": "rotate(360deg)" }
120
+ }
121
+ }
122
+ }