asma-ui-datetime 0.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.
- package/CHANGELOG.md +687 -0
- package/Readme.md +76 -0
- package/dist/asma-core-ui.es.js +47 -0
- package/dist/index.d.ts +1 -0
- package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +5 -0
- package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +16 -0
- package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +5 -0
- package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +2 -0
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +5 -0
- package/dist/src/components/data-display/badge/index.d.ts +1 -0
- package/dist/src/components/data-display/chip/StyledChip.d.ts +5 -0
- package/dist/src/components/data-display/chip/index.d.ts +1 -0
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -0
- package/dist/src/components/data-display/tooltip/index.d.ts +1 -0
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +2 -0
- package/dist/src/components/data-display/typography/index.d.ts +1 -0
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -0
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -0
- package/dist/src/components/feedback/alert/index.d.ts +2 -0
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +10 -0
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +2 -0
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -0
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -0
- package/dist/src/components/feedback/dialog/index.d.ts +4 -0
- package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +20 -0
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +32 -0
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +11 -0
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +12 -0
- package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +3 -0
- package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +3 -0
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +10 -0
- package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/index.d.ts +6 -0
- package/dist/src/components/feedback/snack-bar/message.d.ts +17 -0
- package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +1 -0
- package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +1 -0
- package/dist/src/components/icons/IconTemplate.d.ts +3 -0
- package/dist/src/components/icons/Icons.d.ts +5 -0
- package/dist/src/components/icons/Icons.types.d.ts +12 -0
- package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +3 -0
- package/dist/src/components/icons/archive-icon/index.d.ts +1 -0
- package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +3 -0
- package/dist/src/components/icons/assignment/index.d.ts +1 -0
- package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/assignment-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +2 -0
- package/dist/src/components/icons/badge-icon/index.d.ts +1 -0
- package/dist/src/components/icons/bell-icon/BellIcon.d.ts +3 -0
- package/dist/src/components/icons/bell-icon/index.d.ts +1 -0
- package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/bell-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/calendar-blank-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +3 -0
- package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +2 -0
- package/dist/src/components/icons/calendar-icon/index.d.ts +2 -0
- package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +3 -0
- package/dist/src/components/icons/calendar-range-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +2 -0
- package/dist/src/components/icons/check-fact-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/check-fact-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-icon/CheckIcon.d.ts +3 -0
- package/dist/src/components/icons/check-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/check-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +3 -0
- package/dist/src/components/icons/checkbox-checked-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-double-left-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-double-right-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-down-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-left-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-right-icon/index.d.ts +1 -0
- package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +3 -0
- package/dist/src/components/icons/chevron-up-icon/index.d.ts +1 -0
- package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/clock-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/close-icon/CloseIcon.d.ts +3 -0
- package/dist/src/components/icons/close-icon/index.d.ts +1 -0
- package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +2 -0
- package/dist/src/components/icons/consents-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +3 -0
- package/dist/src/components/icons/dashboard-view-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/dashboard-view-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/delete-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +3 -0
- package/dist/src/components/icons/dots-vertical-icon/index.d.ts +1 -0
- package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +3 -0
- package/dist/src/components/icons/download-icon/index.d.ts +1 -0
- package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +3 -0
- package/dist/src/components/icons/drag-horizontal-icon/index.d.ts +1 -0
- package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +3 -0
- package/dist/src/components/icons/drop-down-icon/index.d.ts +1 -0
- package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +3 -0
- package/dist/src/components/icons/drop-up-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +3 -0
- package/dist/src/components/icons/dvr-icon/index.d.ts +1 -0
- package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +3 -0
- package/dist/src/components/icons/earth-icon/index.d.ts +1 -0
- package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +2 -0
- package/dist/src/components/icons/edit-square-icon/index.d.ts +1 -0
- package/dist/src/components/icons/empty-page-icon/EmptyPageIcon.d.ts +3 -0
- package/dist/src/components/icons/empty-page-icon/index.d.ts +1 -0
- package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/error-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/fast-check-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +3 -0
- package/dist/src/components/icons/file-pdf-icon/index.d.ts +1 -0
- package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +3 -0
- package/dist/src/components/icons/filter-icon/index.d.ts +1 -0
- package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +3 -0
- package/dist/src/components/icons/find-replace-icon/index.d.ts +1 -0
- package/dist/src/components/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +6 -0
- package/dist/src/components/icons/find-replace-people-icon/index.d.ts +1 -0
- package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +3 -0
- package/dist/src/components/icons/hamburger-icon/index.d.ts +1 -0
- package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +2 -0
- package/dist/src/components/icons/handyman-icon/index.d.ts +1 -0
- package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/handyman-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +3 -0
- package/dist/src/components/icons/inbox-outbox-icon/index.d.ts +1 -0
- package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/inbox-outbox-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/index.d.ts +82 -0
- package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +2 -0
- package/dist/src/components/icons/keyboard-capslock-icon/index.d.ts +1 -0
- package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/link-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +3 -0
- package/dist/src/components/icons/list-numbered-icon/index.d.ts +1 -0
- package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +3 -0
- package/dist/src/components/icons/list-settings-line-icon/index.d.ts +1 -0
- package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +3 -0
- package/dist/src/components/icons/list-status-icon/index.d.ts +1 -0
- package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +3 -0
- package/dist/src/components/icons/loading-icon/index.d.ts +1 -0
- package/dist/src/components/icons/lock-icon/LockIcon.d.ts +3 -0
- package/dist/src/components/icons/lock-icon/index.d.ts +1 -0
- package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +3 -0
- package/dist/src/components/icons/message-processing-icon/index.d.ts +1 -0
- package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/message-processing-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +2 -0
- package/dist/src/components/icons/message-reply-icon/index.d.ts +1 -0
- package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +2 -0
- package/dist/src/components/icons/minimize-icon/index.d.ts +1 -0
- package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +3 -0
- package/dist/src/components/icons/outline-calendar-month/index.d.ts +1 -0
- package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +3 -0
- package/dist/src/components/icons/pdf-icon/index.d.ts +1 -0
- package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/pencil-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +3 -0
- package/dist/src/components/icons/people-icon/index.d.ts +1 -0
- package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/people-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +3 -0
- package/dist/src/components/icons/perm-media-icon/index.d.ts +1 -0
- package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +3 -0
- package/dist/src/components/icons/perm-media-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/person-icon/PersonIcon.d.ts +3 -0
- package/dist/src/components/icons/person-icon/index.d.ts +1 -0
- package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/person-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/pin-icon/PinIcon.d.ts +2 -0
- package/dist/src/components/icons/pin-icon/index.d.ts +1 -0
- package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +2 -0
- package/dist/src/components/icons/plus-icon/index.d.ts +1 -0
- package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +2 -0
- package/dist/src/components/icons/plus-icon-circle/index.d.ts +1 -0
- package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +3 -0
- package/dist/src/components/icons/qnr-icon/index.d.ts +1 -0
- package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +3 -0
- package/dist/src/components/icons/replay-icon/index.d.ts +1 -0
- package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +3 -0
- package/dist/src/components/icons/report-box-icon/index.d.ts +1 -0
- package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/report-box-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/search-icon/SearchIcon.d.ts +3 -0
- package/dist/src/components/icons/search-icon/index.d.ts +1 -0
- package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +3 -0
- package/dist/src/components/icons/settings-icon/index.d.ts +1 -0
- package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +3 -0
- package/dist/src/components/icons/settings-menu-horizontal-icon/index.d.ts +1 -0
- package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/settings-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +3 -0
- package/dist/src/components/icons/text-box-check-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +3 -0
- package/dist/src/components/icons/topic-icon/index.d.ts +1 -0
- package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +3 -0
- package/dist/src/components/icons/unknown-document-outline-rounded-icon/index.d.ts +1 -0
- package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/warning-icon/index.d.ts +1 -0
- package/dist/src/components/icons/work-icon/WorkIcon.d.ts +2 -0
- package/dist/src/components/icons/work-icon/index.d.ts +1 -0
- package/dist/src/components/inputs/button/StyledButton.d.ts +40 -0
- package/dist/src/components/inputs/button/index.d.ts +1 -0
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +5 -0
- package/dist/src/components/inputs/checkbox/index.d.ts +1 -0
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +15 -0
- package/dist/src/components/inputs/input-field/index.d.ts +2 -0
- package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +2 -0
- package/dist/src/components/inputs/label/StyledLabel.d.ts +9 -0
- package/dist/src/components/inputs/label/index.d.ts +1 -0
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +4 -0
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +4 -0
- package/dist/src/components/inputs/radio-button/index.d.ts +2 -0
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +13 -0
- package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
- package/dist/src/components/inputs/select/StyledSelect.d.ts +18 -0
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -0
- package/dist/src/components/inputs/select/index.d.ts +3 -0
- package/dist/src/components/inputs/select/story/components/StyledSelectExample.d.ts +2 -0
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +12 -0
- package/dist/src/components/inputs/select-autocomplete/index.d.ts +1 -0
- package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +2 -0
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +5 -0
- package/dist/src/components/inputs/slider/index.d.ts +1 -0
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +5 -0
- package/dist/src/components/inputs/switch/index.d.ts +1 -0
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +58 -0
- package/dist/src/components/inputs/textarea/index.d.ts +1 -0
- package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +1 -0
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -0
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -0
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -0
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -0
- package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +2 -0
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -0
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +3 -0
- package/dist/src/components/navigation/drawer/index.d.ts +1 -0
- package/dist/src/components/navigation/link/StyledLink.d.ts +20 -0
- package/dist/src/components/navigation/link/index.d.ts +1 -0
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +2 -0
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -0
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -0
- package/dist/src/components/navigation/menu/index.d.ts +4 -0
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +3 -0
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +3 -0
- package/dist/src/components/navigation/tabs/index.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/StyledDatePicker.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/components/DatePickerInputIndex.d.ts +13 -0
- package/dist/src/components/pickers/date-picker/components/DatePickerInputRange.d.ts +5 -0
- package/dist/src/components/pickers/date-picker/components/DatePickerInputRangeCompact.d.ts +5 -0
- package/dist/src/components/pickers/date-picker/components/DatePickerInputSingle.d.ts +5 -0
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPicker.d.ts +8 -0
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerCaption.d.ts +7 -0
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerFooter.d.ts +11 -0
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectMonth.d.ts +3 -0
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectYear.d.ts +3 -0
- package/dist/src/components/pickers/date-picker/helpers.d.ts +3 -0
- package/dist/src/components/pickers/date-picker/index.d.ts +1 -0
- package/dist/src/components/pickers/date-picker/story/components/DatePickerContainer.d.ts +5 -0
- package/dist/src/components/pickers/date-picker/story/components/NestedRangePickerExample.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/story/components/RangePickerCompactExample.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/story/components/RangePickerExample.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/story/components/SinglePickerExample.d.ts +2 -0
- package/dist/src/components/pickers/date-picker/types.d.ts +46 -0
- package/dist/src/components/pickers/time-picker/StyledTimePicker.d.ts +3 -0
- package/dist/src/components/pickers/time-picker/TimePickerInput.d.ts +9 -0
- package/dist/src/components/pickers/time-picker/TimePickerPopper.d.ts +7 -0
- package/dist/src/components/pickers/time-picker/components/HelperText.d.ts +7 -0
- package/dist/src/components/pickers/time-picker/components/TimePickerBody.d.ts +5 -0
- package/dist/src/components/pickers/time-picker/components/TimePickerColumn.d.ts +6 -0
- package/dist/src/components/pickers/time-picker/helpers/getTimeFromValue.d.ts +1 -0
- package/dist/src/components/pickers/time-picker/index.d.ts +1 -0
- package/dist/src/components/pickers/time-picker/types.d.ts +13 -0
- package/dist/src/components/table/StyledTable.d.ts +18 -0
- package/dist/src/components/table/components/TableBody.d.ts +9 -0
- package/dist/src/components/table/components/TableFooter.d.ts +9 -0
- package/dist/src/components/table/components/TableHeader.d.ts +10 -0
- package/dist/src/components/table/components/TableHeaderCell.d.ts +10 -0
- package/dist/src/components/table/components/TableNoRowsOverlay.d.ts +5 -0
- package/dist/src/components/table/components/TablePagination.d.ts +6 -0
- package/dist/src/components/table/components/TableRow.d.ts +10 -0
- package/dist/src/components/table/components/TableRows.d.ts +9 -0
- package/dist/src/components/table/components/TableSkeleton.d.ts +4 -0
- package/dist/src/components/table/components/columns/action-column/actionColumn.d.ts +21 -0
- package/dist/src/components/table/components/columns/action-column/components/HeaderActionMenu.d.ts +5 -0
- package/dist/src/components/table/components/columns/action-column/components/RowActionMenu.d.ts +12 -0
- package/dist/src/components/table/components/columns/expandColumn.d.ts +11 -0
- package/dist/src/components/table/components/columns/selectColumn.d.ts +9 -0
- package/dist/src/components/table/helpers/getTableHeaderStyle.d.ts +10 -0
- package/dist/src/components/table/helpers/injectColumns.d.ts +4 -0
- package/dist/src/components/table/hooks/useStyledTable.d.ts +6 -0
- package/dist/src/components/table/index.d.ts +3 -0
- package/dist/src/components/table/story/components/styled-flex-table/generateActions.d.ts +6 -0
- package/dist/src/components/table/story/components/styled-flex-table/useColumns.d.ts +5 -0
- package/dist/src/components/table/story/components/styled-table/RenderSubRows.d.ts +5 -0
- package/dist/src/components/table/story/components/styled-table/getRowActions.d.ts +23 -0
- package/dist/src/components/table/story/components/styled-table/useTableColumns.d.ts +10 -0
- package/dist/src/components/table/story/components/styled-table/useTableSubRowsColumns.d.ts +5 -0
- package/dist/src/components/table/story/service/Templates.query.d.ts +5 -0
- package/dist/src/components/table/story/service/types.d.ts +9 -0
- package/dist/src/components/table/story/service/useFetchTemplates.d.ts +4 -0
- package/dist/src/components/table/types.d.ts +65 -0
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +2 -0
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +2 -0
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +2 -0
- package/dist/src/components/utils/accordion/index.d.ts +3 -0
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +18 -0
- package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -0
- package/dist/src/components/utils/popover/index.d.ts +1 -0
- package/dist/src/helpers/date.helper.d.ts +2 -0
- package/dist/src/helpers/index.d.ts +2 -0
- package/dist/src/helpers/reflections.helper.d.ts +1 -0
- package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +6 -0
- package/dist/src/hooks/useWindowWidthSize.hook.d.ts +5 -0
- package/dist/src/index.d.ts +42 -0
- package/dist/tailwind.config.d.ts +142 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +125 -0
- package/tw-configs/twConfigs.json +113 -0
package/Readme.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# How to create and use the Design System
|
|
2
|
+
|
|
3
|
+
## Component composition.
|
|
4
|
+
|
|
5
|
+
- When creating components that consists of several components, each component should be styled.
|
|
6
|
+
- Each components that is used to create a "composed" component should be styled, and remember to check if the component alread is styled.
|
|
7
|
+
- When creating a "composed component" evalute if it's really needed to create a composed component, or just document how to use the styled components.
|
|
8
|
+
- MUI often has documentation on how to create composed components.
|
|
9
|
+
|
|
10
|
+
## Documentation and testing
|
|
11
|
+
|
|
12
|
+
- All components shall be documented and tested in Storybook before PR is created.
|
|
13
|
+
|
|
14
|
+
## Changelog
|
|
15
|
+
|
|
16
|
+
The project uses "changesets" to automatically bump version and create a changelog.
|
|
17
|
+
|
|
18
|
+
For each new feature or change run "npx changeset". Choose patch for a change or bug fix, minor for a new feature or major version for a breaking change. This creates a markdown file in .changeset folder. Commit to brach/PR as normal.
|
|
19
|
+
|
|
20
|
+
A PR can have several changesets.
|
|
21
|
+
|
|
22
|
+
The pipeline will automatically bump version and create changelog after merge to master.
|
|
23
|
+
|
|
24
|
+
## Index file
|
|
25
|
+
|
|
26
|
+
- Index files shall not be edited manually.
|
|
27
|
+
- ctix is used for automatically create index files for exporting componens. Run "npm run create-index"
|
|
28
|
+
- 'src/styles/index.ccss' is imported to 'src/theme/customMuiColors.ts' so exporting works with ctix.
|
|
29
|
+
|
|
30
|
+
## Using MUI theme in App
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
|
|
34
|
+
import { defaultTheme, customPalettes } from 'asma-ui-datetime';
|
|
35
|
+
|
|
36
|
+
const dataTheme = window.document.body.attributes.getNamedItem('data-theme');
|
|
37
|
+
|
|
38
|
+
const getTheme = () => {
|
|
39
|
+
switch (dataTheme?.value) {
|
|
40
|
+
case 'fretex':
|
|
41
|
+
return customPalettes.fretex.primary;
|
|
42
|
+
default:
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const theme = createTheme(defaultTheme, {
|
|
48
|
+
palette: {
|
|
49
|
+
...defaultTheme.palette,
|
|
50
|
+
primary: {
|
|
51
|
+
...getTheme(),
|
|
52
|
+
},
|
|
53
|
+
role: customPalettes.role,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
<React.Fragment>
|
|
58
|
+
<ThemeProvider theme={createMuiTheme(theme)}>
|
|
59
|
+
<... />
|
|
60
|
+
</ThemeProvider>
|
|
61
|
+
</React.Fragment>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Using Components in App
|
|
65
|
+
|
|
66
|
+
```tsx
|
|
67
|
+
import { StyledButton } from 'asma-ui-datetime';
|
|
68
|
+
|
|
69
|
+
...
|
|
70
|
+
|
|
71
|
+
<>
|
|
72
|
+
<StyledButton>
|
|
73
|
+
Text
|
|
74
|
+
</StyledButton>
|
|
75
|
+
</>
|
|
76
|
+
```
|