asma-ui-core 3.18.0 → 3.20.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/dist/asma-ui-core.css +2 -0
- package/dist/components/custom/module/module-title/StyledModuleTitle.js +12 -0
- package/dist/components/custom/module/module-title/StyledModuleTitle.module.js +4 -0
- package/dist/components/custom/widget/icons/ChevronDownIcon.js +17 -0
- package/dist/components/custom/widget/icons/ChevronUpIcon.js +17 -0
- package/dist/components/custom/widget/widget/StyledWidget.js +69 -0
- package/dist/components/custom/widget/widget/StyledWidget.module.js +13 -0
- package/dist/components/custom/widget/widget-header/StyledWidgetHeader.js +15 -0
- package/dist/components/custom/widget/widget-header/StyledWidgetHeader.module.js +4 -0
- package/dist/components/custom/widget/widget-title/StyledWidgetTitle.js +11 -0
- package/dist/components/custom/widget/widget-title/StyledWidgetTitle.module.js +4 -0
- package/dist/components/data-display/ai-disclosure/StyledAIDisclosure.js +49 -0
- package/dist/components/data-display/ai-disclosure/StyledAIDisclosure.module.js +12 -0
- package/dist/components/data-display/badge/StyledBadge.js +28 -0
- package/dist/components/data-display/chip/StyledChip.js +62 -0
- package/dist/components/data-display/form-label/components/StyledFormLabel.js +12 -0
- package/dist/components/data-display/form-label/helpers/getStyles.js +16 -0
- package/dist/components/data-display/form-label/styles/StyledFormLabel.module.js +9 -0
- package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +47 -0
- package/dist/components/data-display/tooltip/StyledTooltip.js +38 -0
- package/dist/components/data-display/typography/StyledTypography.js +6 -0
- package/dist/components/feedback/dialog/StyledDialog.js +58 -0
- package/dist/components/feedback/dialog/StyledDialog.module.js +11 -0
- package/dist/components/feedback/dialog/StyledDialogActions.js +23 -0
- package/dist/components/feedback/dialog/StyledDialogActions.module.js +8 -0
- package/dist/components/feedback/dialog/StyledDialogContent.js +16 -0
- package/dist/components/feedback/dialog/StyledDialogContent.module.js +4 -0
- package/dist/components/feedback/dialog/StyledDialogTitle.js +15 -0
- package/dist/components/feedback/dialog/StyledDialogTitle.module.js +4 -0
- package/dist/components/feedback/empty-page/EmptyPageIcon.js +17 -0
- package/dist/components/feedback/empty-page/StyledEmptyPage.js +18 -0
- package/dist/components/feedback/filtered-empty-state/StyledFilteredEmptyState.js +60 -0
- package/dist/components/feedback/loading/StyledLoading.js +21 -0
- package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +228 -0
- package/dist/components/feedback/minimizable-dialog/MinimizableDialog.module.js +8 -0
- package/dist/components/feedback/minimizable-dialog/components/CloseBtn.js +23 -0
- package/dist/components/feedback/minimizable-dialog/components/FullscreenBtn.js +28 -0
- package/dist/components/feedback/minimizable-dialog/components/MinimizeBtn.js +41 -0
- package/dist/components/feedback/minimizable-dialog/stack/createDialogStack.js +67 -0
- package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +129 -0
- package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.module.js +9 -0
- package/dist/components/feedback/minimizable-dialog/v2/useControlledProps.js +13 -0
- package/dist/components/feedback/minimizable-dialog/v2/useTranslations.js +23 -0
- package/dist/components/feedback/snack-bar/SnackbarProvider.js +26 -0
- package/dist/components/feedback/snack-bar/StyledAlert.js +17 -0
- package/dist/components/feedback/snack-bar/StyledAlertSnackbar.js +29 -0
- package/dist/components/feedback/snack-bar/StyledSnackbar.js +10 -0
- package/dist/components/feedback/snack-bar/components/CheckOutlineIcon.js +17 -0
- package/dist/components/feedback/snack-bar/components/ErrorOutlineIcon.js +17 -0
- package/dist/components/feedback/snack-bar/components/InfoOutlineIcon.js +17 -0
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +74 -0
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +21 -0
- package/dist/components/feedback/snack-bar/components/StyledInfoSnackbar.js +42 -0
- package/dist/components/feedback/snack-bar/components/WarningAmberOutlineIcon.js +17 -0
- package/dist/components/feedback/snack-bar/components/processMessageError.js +17 -0
- package/dist/components/feedback/snack-bar/components/processMessageInfo.js +17 -0
- package/dist/components/feedback/snack-bar/index.js +13 -0
- package/dist/components/feedback/snack-bar/message.js +13 -0
- package/dist/components/feedback/snack-bar/processAlertSnackBar.js +19 -0
- package/dist/components/feedback/snack-bar/processDefaultSnackbar.js +19 -0
- package/dist/components/feedback/snack-bar/processInfoSnackbar.js +19 -0
- package/dist/components/icons/IconTemplate.js +15 -0
- package/dist/components/icons/Icons.module.js +7 -0
- package/dist/components/icons/app-registration-icon/AppRegistrationIcon.js +18 -0
- package/dist/components/icons/app-registration-icon/index.js +1 -0
- package/dist/components/icons/archive-icon/ArchiveIcon.js +13 -0
- package/dist/components/icons/archive-icon/index.js +1 -0
- package/dist/components/icons/arrow-expand/ArrowExpand.js +18 -0
- package/dist/components/icons/arrow-expand/index.js +1 -0
- package/dist/components/icons/arrow-expand-icon/ArrowExpandIcon.js +17 -0
- package/dist/components/icons/arrow-expand-icon/index.js +1 -0
- package/dist/components/icons/arrow-left-icon/ArrowLeftIcon.js +17 -0
- package/dist/components/icons/arrow-left-icon/index.js +1 -0
- package/dist/components/icons/arrow-shrink/ArrowShrink.js +18 -0
- package/dist/components/icons/arrow-shrink/index.js +1 -0
- package/dist/components/icons/arrow-shrink-icon/ArrowShrinkIcon.js +18 -0
- package/dist/components/icons/arrow-shrink-icon/index.js +1 -0
- package/dist/components/icons/assignment/AssignmentIcon.js +13 -0
- package/dist/components/icons/assignment/index.js +1 -0
- package/dist/components/icons/assignment-outline-icon/AssignmentOutlineIcon.js +13 -0
- package/dist/components/icons/assignment-outline-icon/index.js +1 -0
- package/dist/components/icons/attach-file-icon/AttachFileIcon.js +15 -0
- package/dist/components/icons/attach-file-icon/index.js +1 -0
- package/dist/components/icons/back-icon/BackIcon.js +15 -0
- package/dist/components/icons/back-icon/index.js +1 -0
- package/dist/components/icons/backup-icon/BackupIcon.js +18 -0
- package/dist/components/icons/backup-icon/index.js +1 -0
- package/dist/components/icons/badge-icon/BadgeIcon.js +33 -0
- package/dist/components/icons/badge-icon/index.js +1 -0
- package/dist/components/icons/bell-icon/BellIcon.js +13 -0
- package/dist/components/icons/bell-icon/index.js +1 -0
- package/dist/components/icons/bell-outline-icon/BellOutlineIcon.js +13 -0
- package/dist/components/icons/bell-outline-icon/index.js +1 -0
- package/dist/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.js +13 -0
- package/dist/components/icons/calendar-blank-outline-icon/index.js +1 -0
- package/dist/components/icons/calendar-icon/CalendarIcon.js +13 -0
- package/dist/components/icons/calendar-icon/NewCalendarIcon.js +15 -0
- package/dist/components/icons/calendar-icon/index.js +2 -0
- package/dist/components/icons/calendar-range-icon/CalendarRangeIcon.js +17 -0
- package/dist/components/icons/calendar-range-icon/index.js +1 -0
- package/dist/components/icons/calendar-range-outline-icon/CalendarRangeOutlineIcon.js +17 -0
- package/dist/components/icons/calendar-range-outline-icon/index.js +1 -0
- package/dist/components/icons/cancel-outline-icon/CancelOutlineIcon.js +17 -0
- package/dist/components/icons/cancel-outline-icon/index.js +1 -0
- package/dist/components/icons/card-id-icon/CardIdIcon.js +15 -0
- package/dist/components/icons/card-id-icon/index.js +1 -0
- package/dist/components/icons/card-id-icon-outlined/CardIdIconOutlined.js +15 -0
- package/dist/components/icons/card-id-icon-outlined/index.js +1 -0
- package/dist/components/icons/check-circle-icon/CheckCircleIndex.js +17 -0
- package/dist/components/icons/check-circle-icon/index.js +1 -0
- package/dist/components/icons/check-fact-icon/CheckFactIcon.js +18 -0
- package/dist/components/icons/check-fact-icon/index.js +1 -0
- package/dist/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.js +18 -0
- package/dist/components/icons/check-fact-outline-icon/index.js +1 -0
- package/dist/components/icons/check-icon/CheckIcon.js +17 -0
- package/dist/components/icons/check-icon/index.js +1 -0
- package/dist/components/icons/check-outline-icon/CheckOutlineIcon.js +18 -0
- package/dist/components/icons/check-outline-icon/index.js +1 -0
- package/dist/components/icons/check-read-icon/CheckReadIcon.js +15 -0
- package/dist/components/icons/check-read-icon/index.js +1 -0
- package/dist/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.js +13 -0
- package/dist/components/icons/checkbox-checked-icon/index.js +1 -0
- package/dist/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.js +13 -0
- package/dist/components/icons/chevron-double-left-icon/index.js +1 -0
- package/dist/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.js +13 -0
- package/dist/components/icons/chevron-double-right-icon/index.js +1 -0
- package/dist/components/icons/chevron-down-icon/ChevronDownIcon.js +13 -0
- package/dist/components/icons/chevron-down-icon/index.js +1 -0
- package/dist/components/icons/chevron-left-icon/ChevronLeftIcon.js +13 -0
- package/dist/components/icons/chevron-left-icon/index.js +1 -0
- package/dist/components/icons/chevron-right-icon/ChevronRightIcon.js +13 -0
- package/dist/components/icons/chevron-right-icon/index.js +1 -0
- package/dist/components/icons/chevron-up-icon/ChevronUpIcon.js +13 -0
- package/dist/components/icons/chevron-up-icon/index.js +1 -0
- package/dist/components/icons/clock-outline-icon/ClockOutlineIcon.js +17 -0
- package/dist/components/icons/clock-outline-icon/index.js +1 -0
- package/dist/components/icons/close-icon/CloseIcon.js +13 -0
- package/dist/components/icons/close-icon/index.js +1 -0
- package/dist/components/icons/cloud-done-outline-icon/CloudDoneOutlineIcon.js +15 -0
- package/dist/components/icons/cloud-done-outline-icon/index.js +1 -0
- package/dist/components/icons/cloud-off-outline-icon/CloudOffOutlineIcon.js +15 -0
- package/dist/components/icons/cloud-off-outline-icon/index.js +1 -0
- package/dist/components/icons/consents-icon/ConsentsIcon.js +18 -0
- package/dist/components/icons/consents-icon/index.js +1 -0
- package/dist/components/icons/content-copy-icon/ContentCopyIcon.js +17 -0
- package/dist/components/icons/content-copy-icon/index.js +1 -0
- package/dist/components/icons/content-copy-outline-icon/ContentCopyOutlineIcon.js +17 -0
- package/dist/components/icons/content-copy-outline-icon/index.js +1 -0
- package/dist/components/icons/conversion-path/ConversionPathIcon.js +18 -0
- package/dist/components/icons/conversion-path/index.js +1 -0
- package/dist/components/icons/dashboard-view-icon/DashboardViewIcon.js +13 -0
- package/dist/components/icons/dashboard-view-icon/index.js +1 -0
- package/dist/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.js +13 -0
- package/dist/components/icons/dashboard-view-outline-icon/index.js +1 -0
- package/dist/components/icons/delete-outline-icon/DeleteOutlineIcon.js +13 -0
- package/dist/components/icons/delete-outline-icon/index.js +1 -0
- package/dist/components/icons/description-icon/DescriptionIcon.js +17 -0
- package/dist/components/icons/description-icon/index.js +1 -0
- package/dist/components/icons/description-outline-icon/DescriptionOutlineIcon.js +17 -0
- package/dist/components/icons/description-outline-icon/index.js +1 -0
- package/dist/components/icons/dns-icon/DnsIcon.js +17 -0
- package/dist/components/icons/dns-icon/index.js +1 -0
- package/dist/components/icons/dns-outline-icon/DnsOutlineIcon.js +17 -0
- package/dist/components/icons/dns-outline-icon/index.js +1 -0
- package/dist/components/icons/done-all-icon/DoneAllIcon.js +17 -0
- package/dist/components/icons/done-all-icon/index.js +1 -0
- package/dist/components/icons/dots-vertical-icon/DotsVerticalIcon.js +13 -0
- package/dist/components/icons/dots-vertical-icon/index.js +1 -0
- package/dist/components/icons/download-icon/DownloadIcon.js +13 -0
- package/dist/components/icons/download-icon/index.js +1 -0
- package/dist/components/icons/download-tray-icon/DownloadTrayIcon.js +18 -0
- package/dist/components/icons/download-tray-icon/index.js +1 -0
- package/dist/components/icons/downloading-icon/DownloadingIcon.js +18 -0
- package/dist/components/icons/downloading-icon/index.js +1 -0
- package/dist/components/icons/drag-horizontal-icon/DragHorizontalIcon.js +13 -0
- package/dist/components/icons/drag-horizontal-icon/index.js +1 -0
- package/dist/components/icons/draw-icon/DrawIcon.js +17 -0
- package/dist/components/icons/draw-icon/index.js +1 -0
- package/dist/components/icons/drop-down-icon/DropDownIcon.js +13 -0
- package/dist/components/icons/drop-down-icon/index.js +1 -0
- package/dist/components/icons/drop-up-icon/DropUpIcon.js +13 -0
- package/dist/components/icons/drop-up-icon/index.js +1 -0
- package/dist/components/icons/dvr-icon/DvrIcon.js +13 -0
- package/dist/components/icons/dvr-icon/index.js +1 -0
- package/dist/components/icons/dvr-icon-outline/DvrIconOutline.js +17 -0
- package/dist/components/icons/dvr-icon-outline/index.js +1 -0
- package/dist/components/icons/earth-icon/EarthIcon.js +13 -0
- package/dist/components/icons/earth-icon/index.js +1 -0
- package/dist/components/icons/edit-notes-icon/EditNotesIcon.js +16 -0
- package/dist/components/icons/edit-notes-icon/index.js +1 -0
- package/dist/components/icons/edit-square-icon/EditSquareIcon.js +18 -0
- package/dist/components/icons/edit-square-icon/index.js +1 -0
- package/dist/components/icons/empty-page-icon/EmptyPageIcon.js +17 -0
- package/dist/components/icons/empty-page-icon/index.js +1 -0
- package/dist/components/icons/envelope-icon/EnvelopeIcon.js +17 -0
- package/dist/components/icons/envelope-icon/index.js +1 -0
- package/dist/components/icons/error-outline-icon/ErrorOutlineIcon.js +14 -0
- package/dist/components/icons/error-outline-icon/index.js +1 -0
- package/dist/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.js +13 -0
- package/dist/components/icons/fast-check-outline-icon/index.js +1 -0
- package/dist/components/icons/file-doc-icon/FileDocIcon.js +41 -0
- package/dist/components/icons/file-doc-icon/index.js +1 -0
- package/dist/components/icons/file-image-icon/FileImageIcon.js +18 -0
- package/dist/components/icons/file-image-icon/index.js +1 -0
- package/dist/components/icons/file-pdf-icon/FilePdfIcon.js +13 -0
- package/dist/components/icons/file-pdf-icon/index.js +1 -0
- package/dist/components/icons/file-rtf-icon/FileRtfIcon.js +38 -0
- package/dist/components/icons/file-rtf-icon/index.js +1 -0
- package/dist/components/icons/file-xls-icon/FileXlsIcon.js +37 -0
- package/dist/components/icons/file-xls-icon/index.js +1 -0
- package/dist/components/icons/filter-icon/FilterIcon.js +13 -0
- package/dist/components/icons/filter-icon/index.js +1 -0
- package/dist/components/icons/filter-icon-off/FilterIconOff.js +17 -0
- package/dist/components/icons/filter-icon-off/index.js +1 -0
- package/dist/components/icons/find-replace-icon/FindReplaceIcon.js +14 -0
- package/dist/components/icons/find-replace-icon/index.js +1 -0
- package/dist/components/icons/find-replace-people-icon/FindReplacePeopleIcon.js +30 -0
- package/dist/components/icons/find-replace-people-icon/index.js +1 -0
- package/dist/components/icons/fingerprint-icon/FingerprintIcon.js +17 -0
- package/dist/components/icons/fingerprint-icon/index.js +1 -0
- package/dist/components/icons/form-icon/FormIcon.js +13 -0
- package/dist/components/icons/form-icon/index.js +1 -0
- package/dist/components/icons/format-list-bulleted-icon/FormatListBulletedIcon.js +17 -0
- package/dist/components/icons/format-list-bulleted-icon/index.js +1 -0
- package/dist/components/icons/format-list-bulleted-outline-icon/FormatListBulletedOutlineIcon.js +17 -0
- package/dist/components/icons/format-list-bulleted-outline-icon/index.js +1 -0
- package/dist/components/icons/graph-icon/GraphIcon.js +18 -0
- package/dist/components/icons/graph-icon/index.js +1 -0
- package/dist/components/icons/graph-outline-icon/GraphOutlineIcon.js +18 -0
- package/dist/components/icons/graph-outline-icon/index.js +1 -0
- package/dist/components/icons/hamburger-icon/HamburgerIcon.js +13 -0
- package/dist/components/icons/hamburger-icon/index.js +1 -0
- package/dist/components/icons/handyman-icon/HandymanIcon.js +18 -0
- package/dist/components/icons/handyman-icon/index.js +1 -0
- package/dist/components/icons/handyman-outline-icon/HandymanOutlineIcon.js +18 -0
- package/dist/components/icons/handyman-outline-icon/index.js +1 -0
- package/dist/components/icons/help-icon/HelpIcon.js +15 -0
- package/dist/components/icons/help-icon/index.js +1 -0
- package/dist/components/icons/help-outline-icon/HelpOutlineIcon.js +17 -0
- package/dist/components/icons/help-outline-icon/index.js +1 -0
- package/dist/components/icons/history-icon/HistoryIcon.js +16 -0
- package/dist/components/icons/history-icon/index.js +1 -0
- package/dist/components/icons/history-toggle-off-icon/HistoryToggleOffIcon.js +13 -0
- package/dist/components/icons/history-toggle-off-icon/index.js +1 -0
- package/dist/components/icons/inbox-outbox-icon/InboxOutboxIcon.js +13 -0
- package/dist/components/icons/inbox-outbox-icon/index.js +1 -0
- package/dist/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.js +13 -0
- package/dist/components/icons/inbox-outbox-outline-icon/index.js +1 -0
- package/dist/components/icons/indeterminate-icon/IndeterminateIcon.js +19 -0
- package/dist/components/icons/indeterminate-icon/index.js +1 -0
- package/dist/components/icons/index.js +163 -0
- package/dist/components/icons/info-outline-icon/InfoOutlineIcon.js +17 -0
- package/dist/components/icons/info-outline-icon/index.js +1 -0
- package/dist/components/icons/inheritance-pointer-icon/InheritancePointerIcon.js +18 -0
- package/dist/components/icons/inheritance-pointer-icon/index.js +1 -0
- package/dist/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.js +16 -0
- package/dist/components/icons/keyboard-capslock-icon/index.js +1 -0
- package/dist/components/icons/link-off-icon/LinkOffIcon.js +17 -0
- package/dist/components/icons/link-off-icon/index.js +1 -0
- package/dist/components/icons/link-outline-icon/LinkOutlineIcon.js +13 -0
- package/dist/components/icons/link-outline-icon/index.js +1 -0
- package/dist/components/icons/list-numbered-icon/ListNumberedIcon.js +13 -0
- package/dist/components/icons/list-numbered-icon/index.js +1 -0
- package/dist/components/icons/list-settings-line-icon/ListSettingsLineIcon.js +13 -0
- package/dist/components/icons/list-settings-line-icon/index.js +1 -0
- package/dist/components/icons/list-status-icon/ListStatusIcon.js +13 -0
- package/dist/components/icons/list-status-icon/index.js +1 -0
- package/dist/components/icons/loading-icon/LoadingIcon.js +13 -0
- package/dist/components/icons/loading-icon/index.js +1 -0
- package/dist/components/icons/location-icon/LocationIcon.js +17 -0
- package/dist/components/icons/location-icon/index.js +1 -0
- package/dist/components/icons/lock-icon/LockIcon.js +13 -0
- package/dist/components/icons/lock-icon/index.js +1 -0
- package/dist/components/icons/login-logout-icons/LoginIcon.js +16 -0
- package/dist/components/icons/login-logout-icons/LogoutIcon.js +16 -0
- package/dist/components/icons/login-logout-icons/index.js +2 -0
- package/dist/components/icons/manage-search-icon/ManageSearchIcon.js +17 -0
- package/dist/components/icons/manage-search-icon/index.js +1 -0
- package/dist/components/icons/message-processing-icon/MessageProcessingIcon.js +13 -0
- package/dist/components/icons/message-processing-icon/index.js +1 -0
- package/dist/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.js +13 -0
- package/dist/components/icons/message-processing-outline-icon/index.js +1 -0
- package/dist/components/icons/message-reply-icon/MessageReplyIcon.js +18 -0
- package/dist/components/icons/message-reply-icon/index.js +1 -0
- package/dist/components/icons/microsoft-outlook-icon/MicrosoftOutlookIcon.js +15 -0
- package/dist/components/icons/microsoft-outlook-icon/index.js +1 -0
- package/dist/components/icons/minimize-icon/MinimizeIcon.js +16 -0
- package/dist/components/icons/minimize-icon/index.js +1 -0
- package/dist/components/icons/new-window-icon/NewWindowIcon.js +20 -0
- package/dist/components/icons/new-window-icon/index.js +1 -0
- package/dist/components/icons/notes-icon/NotesIcon.js +18 -0
- package/dist/components/icons/notes-icon/index.js +1 -0
- package/dist/components/icons/outline-calendar-month/OutlineCalendarMonth.js +13 -0
- package/dist/components/icons/outline-calendar-month/index.js +1 -0
- package/dist/components/icons/outline-checkbox-icon/OutlineCheckboxIconBlank.js +15 -0
- package/dist/components/icons/outline-checkbox-icon/OutlineCheckboxIconChecked.js +15 -0
- package/dist/components/icons/outline-checkbox-icon/OutlineCheckboxIconIndeterminate.js +15 -0
- package/dist/components/icons/outline-checkbox-icon/index.js +3 -0
- package/dist/components/icons/outline-notifications-icon/OutlineNotificationsIcon.js +15 -0
- package/dist/components/icons/outline-notifications-icon/index.js +1 -0
- package/dist/components/icons/pdf-icon/PdfIcon.js +13 -0
- package/dist/components/icons/pdf-icon/index.js +1 -0
- package/dist/components/icons/pencil-outline-icon/PencilOutlineIcon.js +13 -0
- package/dist/components/icons/pencil-outline-icon/index.js +1 -0
- package/dist/components/icons/people-icon/PeopleIcon.js +13 -0
- package/dist/components/icons/people-icon/index.js +1 -0
- package/dist/components/icons/people-outline-icon/PeopleOutlineIcon.js +13 -0
- package/dist/components/icons/people-outline-icon/index.js +1 -0
- package/dist/components/icons/perm-media-icon/PermMediaIcon.js +13 -0
- package/dist/components/icons/perm-media-icon/index.js +1 -0
- package/dist/components/icons/perm-media-outline-icon/PermMediaOutline.js +13 -0
- package/dist/components/icons/perm-media-outline-icon/index.js +1 -0
- package/dist/components/icons/person-icon/PersonIcon.js +13 -0
- package/dist/components/icons/person-icon/index.js +1 -0
- package/dist/components/icons/person-outline-icon/PersonOutlineIcon.js +13 -0
- package/dist/components/icons/person-outline-icon/index.js +1 -0
- package/dist/components/icons/person-search-icon/PersonSearchIcon.js +22 -0
- package/dist/components/icons/person-search-icon/index.js +1 -0
- package/dist/components/icons/person-search-outline-icon/PersonSearchOutlineIcon.js +17 -0
- package/dist/components/icons/person-search-outline-icon/index.js +1 -0
- package/dist/components/icons/pin-icon/PinIcon.js +19 -0
- package/dist/components/icons/pin-icon/index.js +1 -0
- package/dist/components/icons/plus-icon/PlusIcon.js +18 -0
- package/dist/components/icons/plus-icon/index.js +1 -0
- package/dist/components/icons/plus-icon-circle/PlusIconCircle.js +18 -0
- package/dist/components/icons/plus-icon-circle/index.js +1 -0
- package/dist/components/icons/qnr-icon/QnrIcon.js +13 -0
- package/dist/components/icons/qnr-icon/index.js +1 -0
- package/dist/components/icons/refresh-icon/RefreshIcon.js +17 -0
- package/dist/components/icons/refresh-icon/index.js +1 -0
- package/dist/components/icons/remove-icon/RemoveIcon.js +17 -0
- package/dist/components/icons/remove-icon/index.js +1 -0
- package/dist/components/icons/repeat-outline-icon/RepeatOutlineIcon.js +15 -0
- package/dist/components/icons/repeat-outline-icon/index.js +1 -0
- package/dist/components/icons/replay-icon/ReplayIcon.js +14 -0
- package/dist/components/icons/replay-icon/index.js +1 -0
- package/dist/components/icons/report-box-icon/ReportBoxIcon.js +13 -0
- package/dist/components/icons/report-box-icon/index.js +1 -0
- package/dist/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.js +13 -0
- package/dist/components/icons/report-box-outline-icon/index.js +1 -0
- package/dist/components/icons/reset-settings-icon/ResetSettingsIcon.js +18 -0
- package/dist/components/icons/reset-settings-icon/index.js +1 -0
- package/dist/components/icons/rule-icon/RuleIcon.js +17 -0
- package/dist/components/icons/rule-icon/index.js +1 -0
- package/dist/components/icons/rule-outline-icon/RuleOutlineIcon.js +17 -0
- package/dist/components/icons/rule-outline-icon/index.js +1 -0
- package/dist/components/icons/save-icon/SaveIcon.js +18 -0
- package/dist/components/icons/save-icon/index.js +1 -0
- package/dist/components/icons/search-icon/SearchIcon.js +13 -0
- package/dist/components/icons/search-icon/index.js +1 -0
- package/dist/components/icons/send-icon/SendIcon.js +16 -0
- package/dist/components/icons/send-icon/index.js +1 -0
- package/dist/components/icons/settings-icon/SettingsIcon.js +13 -0
- package/dist/components/icons/settings-icon/index.js +1 -0
- package/dist/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.js +14 -0
- package/dist/components/icons/settings-menu-horizontal-icon/index.js +1 -0
- package/dist/components/icons/settings-note-icon/SettingsNoteIcon.js +21 -0
- package/dist/components/icons/settings-note-icon/index.js +1 -0
- package/dist/components/icons/settings-outline-icon/SettingsOutlineIcon.js +13 -0
- package/dist/components/icons/settings-outline-icon/index.js +1 -0
- package/dist/components/icons/share-icon/ShareIcon.js +16 -0
- package/dist/components/icons/share-icon/index.js +1 -0
- package/dist/components/icons/sms-icon/SmsIcon.js +30 -0
- package/dist/components/icons/sms-icon/index.js +1 -0
- package/dist/components/icons/sync-icon/SyncIcon.js +15 -0
- package/dist/components/icons/sync-icon/index.js +1 -0
- package/dist/components/icons/sync-saved_locally/SyncSavedLocallyIcon.js +16 -0
- package/dist/components/icons/sync-saved_locally/index.js +1 -0
- package/dist/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.js +14 -0
- package/dist/components/icons/text-box-check-outline-icon/index.js +1 -0
- package/dist/components/icons/timelapse-outline-icon/TimelapseOutlineIcon.js +16 -0
- package/dist/components/icons/timelapse-outline-icon/index.js +1 -0
- package/dist/components/icons/timer-icon/TimerIcon.js +15 -0
- package/dist/components/icons/timer-icon/index.js +1 -0
- package/dist/components/icons/today-icon/TodayIcon.js +15 -0
- package/dist/components/icons/today-icon/index.js +1 -0
- package/dist/components/icons/topic-icon/TopicIcon.js +13 -0
- package/dist/components/icons/topic-icon/index.js +1 -0
- package/dist/components/icons/tune-icon/TuneIcon.js +18 -0
- package/dist/components/icons/tune-icon/index.js +1 -0
- package/dist/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.js +14 -0
- package/dist/components/icons/unknown-document-outline-rounded-icon/index.js +1 -0
- package/dist/components/icons/unlock-icon/UnlockIcon.js +17 -0
- package/dist/components/icons/unlock-icon/index.js +1 -0
- package/dist/components/icons/upload-icon/UploadIcon.js +17 -0
- package/dist/components/icons/upload-icon/index.js +1 -0
- package/dist/components/icons/visibility-outline-icon/VisibilityOutlineIcon.js +15 -0
- package/dist/components/icons/visibility-outline-icon/index.js +1 -0
- package/dist/components/icons/wand-stars-icon/WandStarsIcon.js +18 -0
- package/dist/components/icons/wand-stars-icon/index.js +1 -0
- package/dist/components/icons/warning-circle-icon/CircleWarningOutlineIcon.js +25 -0
- package/dist/components/icons/warning-circle-icon/index.js +1 -0
- package/dist/components/icons/warning-icon/WarningAmberOutlineIcon.js +18 -0
- package/dist/components/icons/warning-icon/index.js +1 -0
- package/dist/components/icons/work-icon/WorkIcon.js +18 -0
- package/dist/components/icons/work-icon/index.js +1 -0
- package/dist/components/inputs/button/StyledButton.js +45 -0
- package/dist/components/inputs/button/StyledButton.module.js +16 -0
- package/dist/components/inputs/checkbox/StyledCheckbox.js +20 -0
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +81 -0
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +17 -0
- package/dist/components/inputs/dynamic-select/StyledDynamicSelect.js +17 -0
- package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +125 -0
- package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +163 -0
- package/dist/components/inputs/dynamic-select/helpers/useWrap.js +24 -0
- package/dist/components/inputs/input-field/StyledInputField.js +77 -0
- package/dist/components/inputs/label/StyledLabel.js +13 -0
- package/dist/components/inputs/label/StyledLabel.module.js +4 -0
- package/dist/components/inputs/radio-button/StyledRadio.js +17 -0
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +35 -0
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +14 -0
- package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +31 -0
- package/dist/components/inputs/search-field/StyledSearchField.js +68 -0
- package/dist/components/inputs/select/StyledSelect.js +50 -0
- package/dist/components/inputs/select/StyledSelectItem.js +30 -0
- package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +151 -0
- package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.module.js +7 -0
- package/dist/components/inputs/slider/StyledSlider.js +56 -0
- package/dist/components/inputs/switch/base-ui/StyledSwitch.js +57 -0
- package/dist/components/inputs/switch/base-ui/StyledSwitch.module.js +9 -0
- package/dist/components/inputs/textarea/StyledTextarea.js +71 -0
- package/dist/components/inputs/textarea/StyledTextarea.module.js +11 -0
- package/dist/components/miscellaneous/StyledFormControl.js +23 -0
- package/dist/components/miscellaneous/StyledFormControlLabel.js +18 -0
- package/dist/components/miscellaneous/StyledFormGroup.js +6 -0
- package/dist/components/miscellaneous/StyledFormHelperText.js +6 -0
- package/dist/components/miscellaneous/StyledInputLabel.js +6 -0
- package/dist/components/navigation/drawer/StyledDrawer.js +6 -0
- package/dist/components/navigation/link/StyledLink.js +32 -0
- package/dist/components/navigation/link/StyledLink.module.js +10 -0
- package/dist/components/navigation/menu/StyledMenu.js +14 -0
- package/dist/components/navigation/menu/StyledMenuItem.js +22 -0
- package/dist/components/navigation/menu/StyledMenuList.js +6 -0
- package/dist/components/navigation/tabs/StyledTab.js +14 -0
- package/dist/components/navigation/tabs/StyledTabs.js +63 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordion.js +26 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +12 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +16 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +33 -0
- package/dist/components/utils/copy-wrapper/CopyButton.js +31 -0
- package/dist/components/utils/copy-wrapper/CopyWrapper.js +32 -0
- package/dist/components/utils/copy-wrapper/CopyWrapper.module.js +7 -0
- package/dist/components/utils/filter-menu/StyledFilterButton.js +21 -0
- package/dist/components/utils/filter-menu/StyledFilterMenu.js +63 -0
- package/dist/components/utils/popover/StyledPopover.js +17 -0
- package/dist/datetime/components/date-picker/StyledDatePicker.js +61 -0
- package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +138 -0
- package/dist/datetime/components/date-picker/components/DatePickerButton.js +20 -0
- package/dist/datetime/components/date-picker/components/DatePickerInputIndex.js +13 -0
- package/dist/datetime/components/date-picker/components/DatePickerInputRangeCompact.js +72 -0
- package/dist/datetime/components/date-picker/components/DatePickerInputRangeCompact.module.js +7 -0
- package/dist/datetime/components/date-picker/components/DatePickerInputSingle.js +33 -0
- package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +39 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +29 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPicker.module.js +34 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerCaption.js +30 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +88 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +42 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectPeriod.module.js +4 -0
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +35 -0
- package/dist/datetime/components/date-picker/components/StyledDayPicker.js +93 -0
- package/dist/datetime/components/date-picker/helpers.js +31 -0
- package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +9 -0
- package/dist/datetime/components/date-picker/hooks/useDatePickerValidation.js +69 -0
- package/dist/datetime/components/time-picker/StyledTimePicker.js +71 -0
- package/dist/datetime/components/time-picker/StyledTimePicker.module.js +11 -0
- package/dist/datetime/components/time-picker/TimePickerInput.js +66 -0
- package/dist/datetime/components/time-picker/TimePickerPopper.js +73 -0
- package/dist/datetime/components/time-picker/components/HelperText.js +42 -0
- package/dist/datetime/components/time-picker/components/TimePickerBody.js +27 -0
- package/dist/datetime/components/time-picker/components/TimePickerColumn.js +24 -0
- package/dist/datetime/components/time-picker/helpers/getTimeFromValue.js +11 -0
- package/dist/datetime/helpers/cn.js +8 -0
- package/dist/datetime/helpers/date.helper.js +16 -0
- package/dist/datetime/hooks/useBackNavigationClose.hook.js +10 -0
- package/dist/datetime/hooks/useWindowWidthSize.hook.js +14 -0
- package/dist/datetime/shared-components/CheckIcon.js +18 -0
- package/dist/datetime/shared-components/ChevronLeftIcon.js +18 -0
- package/dist/datetime/shared-components/ChevronRightIcon.js +18 -0
- package/dist/datetime/shared-components/ClockOutlineIcon.js +18 -0
- package/dist/datetime/shared-components/CloseIcon.js +18 -0
- package/dist/datetime/shared-components/EraserIcon.js +21 -0
- package/dist/datetime/shared-components/ExpandIcon.js +18 -0
- package/dist/datetime/shared-components/OutlineCalendarMonth.js +18 -0
- package/dist/datetime/shared-components/OutlineErrorRounded.js +18 -0
- package/dist/datetime/shared-components/StyledFormControl.js +23 -0
- package/dist/datetime/shared-components/StyledInputField.js +47 -0
- package/dist/datetime/shared-components/StyledSelect.js +47 -0
- package/dist/datetime/shared-components/StyledSelectItem.js +13 -0
- package/dist/datetime/shared-components/StyledTooltip.js +36 -0
- package/dist/datetime/shared-components/button/StyledButton.js +45 -0
- package/dist/datetime/shared-components/button/StyledButton.module.js +16 -0
- package/dist/helpers/cn.js +8 -0
- package/dist/helpers/omit.js +4 -0
- package/dist/helpers/prepareForSlot.js +13 -0
- package/dist/hooks/useMediaQuery.hook.js +19 -0
- package/dist/hooks/useToggleMenuVisibility.hook.js +17 -0
- package/dist/index.js +500 -0
- package/dist/src/components/data-display/form-label/types.d.ts +2 -2
- package/dist/src/components/feedback/alert/index.d.ts +1 -0
- package/dist/src/components/feedback/minimizable-dialog/types.d.ts +4 -4
- package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +2 -2
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +21 -0
- package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +10 -0
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/components/CheckOutlineIcon.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/components/ErrorOutlineIcon.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/components/InfoOutlineIcon.d.ts +2 -0
- package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +7 -0
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +11 -0
- package/dist/src/components/feedback/snack-bar/components/WarningAmberOutlineIcon.d.ts +2 -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/index.d.ts +8 -0
- package/dist/src/components/feedback/snack-bar/message.d.ts +8 -0
- package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +1 -0
- package/dist/src/components/feedback/snack-bar/processDefaultSnackbar.d.ts +6 -0
- package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +1 -0
- package/dist/src/components/icons/app-registration-icon/AppRegistrationIcon.d.ts +2 -0
- package/dist/src/components/icons/app-registration-icon/index.d.ts +1 -0
- package/dist/src/components/icons/arrow-expand-icon/ArrowExpandIcon.d.ts +2 -0
- package/dist/src/components/icons/arrow-expand-icon/index.d.ts +1 -0
- package/dist/src/components/icons/arrow-left-icon/ArrowLeftIcon.d.ts +2 -0
- package/dist/src/components/icons/arrow-left-icon/index.d.ts +1 -0
- package/dist/src/components/icons/arrow-shrink-icon/ArrowShrinkIcon.d.ts +2 -0
- package/dist/src/components/icons/arrow-shrink-icon/index.d.ts +1 -0
- package/dist/src/components/icons/attach-file-icon/AttachFileIcon.d.ts +2 -0
- package/dist/src/components/icons/attach-file-icon/index.d.ts +1 -0
- package/dist/src/components/icons/back-icon/BackIcon.d.ts +2 -0
- package/dist/src/components/icons/back-icon/index.d.ts +1 -0
- package/dist/src/components/icons/backup-icon/BackupIcon.d.ts +2 -0
- package/dist/src/components/icons/backup-icon/index.d.ts +1 -0
- package/dist/src/components/icons/calendar-range-icon/CalendarRangeIcon.d.ts +2 -0
- package/dist/src/components/icons/calendar-range-icon/index.d.ts +1 -1
- package/dist/src/components/icons/calendar-range-outline-icon/CalendarRangeOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/calendar-range-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/cancel-outline-icon/CancelOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/cancel-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/card-id-icon/CardIdIcon.d.ts +2 -0
- package/dist/src/components/icons/card-id-icon/index.d.ts +1 -0
- package/dist/src/components/icons/card-id-icon-outlined/CardIdIconOutlined.d.ts +2 -0
- package/dist/src/components/icons/card-id-icon-outlined/index.d.ts +1 -0
- package/dist/src/components/icons/check-circle-icon/CheckCircleIndex.d.ts +2 -0
- package/dist/src/components/icons/check-circle-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-icon/CheckIcon.d.ts +2 -0
- package/dist/src/components/icons/check-icon/index.d.ts +1 -0
- package/dist/src/components/icons/check-read-icon/CheckReadIcon.d.ts +2 -0
- package/dist/src/components/icons/check-read-icon/index.d.ts +1 -0
- package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/clock-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/cloud-done-outline-icon/CloudDoneOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/cloud-done-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/cloud-off-outline-icon/CloudOffOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/cloud-off-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/content-copy-icon/ContentCopyIcon.d.ts +2 -0
- package/dist/src/components/icons/content-copy-icon/index.d.ts +1 -0
- package/dist/src/components/icons/content-copy-outline-icon/ContentCopyOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/content-copy-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/conversion-path/ConversionPathIcon.d.ts +2 -0
- package/dist/src/components/icons/conversion-path/index.d.ts +1 -0
- package/dist/src/components/icons/description-icon/DescriptionIcon.d.ts +2 -0
- package/dist/src/components/icons/description-icon/index.d.ts +1 -0
- package/dist/src/components/icons/description-outline-icon/DescriptionOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/description-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dns-icon/DnsIcon.d.ts +2 -0
- package/dist/src/components/icons/dns-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dns-outline-icon/DnsOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/dns-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/done-all-icon/DoneAllIcon.d.ts +2 -0
- package/dist/src/components/icons/done-all-icon/index.d.ts +1 -0
- package/dist/src/components/icons/download-tray-icon/DownloadTrayIcon.d.ts +2 -0
- package/dist/src/components/icons/download-tray-icon/index.d.ts +1 -0
- package/dist/src/components/icons/downloading-icon/DownloadingIcon.d.ts +2 -0
- package/dist/src/components/icons/downloading-icon/index.d.ts +1 -0
- package/dist/src/components/icons/draw-icon/DrawIcon.d.ts +2 -0
- package/dist/src/components/icons/draw-icon/index.d.ts +1 -0
- package/dist/src/components/icons/dvr-icon-outline/DvrIconOutline.d.ts +2 -0
- package/dist/src/components/icons/dvr-icon-outline/index.d.ts +1 -0
- package/dist/src/components/icons/edit-notes-icon/EditNotesIcon.d.ts +2 -0
- package/dist/src/components/icons/edit-notes-icon/index.d.ts +1 -0
- package/dist/src/components/icons/empty-page-icon/EmptyPageIcon.d.ts +2 -0
- package/dist/src/components/icons/empty-page-icon/index.d.ts +1 -0
- package/dist/src/components/icons/envelope-icon/EnvelopeIcon.d.ts +2 -0
- package/dist/src/components/icons/envelope-icon/index.d.ts +1 -0
- package/dist/src/components/icons/file-doc-icon/FileDocIcon.d.ts +2 -0
- package/dist/src/components/icons/file-doc-icon/index.d.ts +1 -0
- package/dist/src/components/icons/file-image-icon/FileImageIcon.d.ts +2 -0
- package/dist/src/components/icons/file-image-icon/index.d.ts +1 -0
- package/dist/src/components/icons/file-rtf-icon/FileRtfIcon.d.ts +2 -0
- package/dist/src/components/icons/file-rtf-icon/index.d.ts +1 -0
- package/dist/src/components/icons/file-xls-icon/FileXlsIcon.d.ts +2 -0
- package/dist/src/components/icons/file-xls-icon/index.d.ts +1 -0
- package/dist/src/components/icons/filter-icon-off/FilterIconOff.d.ts +1 -1
- package/dist/src/components/icons/fingerprint-icon/FingerprintIcon.d.ts +2 -0
- package/dist/src/components/icons/fingerprint-icon/index.d.ts +1 -0
- package/dist/src/components/icons/form-icon/FormIcon.d.ts +2 -0
- package/dist/src/components/icons/form-icon/index.d.ts +1 -0
- package/dist/src/components/icons/format-list-bulleted-icon/FormatListBulletedIcon.d.ts +2 -0
- package/dist/src/components/icons/format-list-bulleted-icon/index.d.ts +1 -0
- package/dist/src/components/icons/format-list-bulleted-outline-icon/FormatListBulletedOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/format-list-bulleted-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/graph-icon/GraphIcon.d.ts +2 -0
- package/dist/src/components/icons/graph-icon/index.d.ts +1 -0
- package/dist/src/components/icons/graph-outline-icon/GraphOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/graph-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/help-icon/HelpIcon.d.ts +2 -0
- package/dist/src/components/icons/help-icon/index.d.ts +1 -0
- package/dist/src/components/icons/help-outline-icon/HelpOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/help-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/history-icon/HistoryIcon.d.ts +2 -0
- package/dist/src/components/icons/history-icon/index.d.ts +1 -0
- package/dist/src/components/icons/history-toggle-off-icon/HistoryToggleOffIcon.d.ts +2 -0
- package/dist/src/components/icons/history-toggle-off-icon/index.d.ts +1 -0
- package/dist/src/components/icons/indeterminate-icon/IndeterminateIcon.d.ts +2 -0
- package/dist/src/components/icons/indeterminate-icon/index.d.ts +1 -0
- package/dist/src/components/icons/index.d.ts +83 -0
- package/dist/src/components/icons/info-outline-icon/InfoOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/info-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/inheritance-pointer-icon/InheritancePointerIcon.d.ts +2 -0
- package/dist/src/components/icons/inheritance-pointer-icon/index.d.ts +1 -0
- package/dist/src/components/icons/link-off-icon/LinkOffIcon.d.ts +2 -0
- package/dist/src/components/icons/link-off-icon/index.d.ts +1 -0
- package/dist/src/components/icons/location-icon/LocationIcon.d.ts +2 -0
- package/dist/src/components/icons/location-icon/index.d.ts +1 -0
- package/dist/src/components/icons/login-logout-icons/LoginIcon.d.ts +2 -0
- package/dist/src/components/icons/login-logout-icons/LogoutIcon.d.ts +2 -0
- package/dist/src/components/icons/login-logout-icons/index.d.ts +2 -0
- package/dist/src/components/icons/manage-search-icon/ManageSearchIcon.d.ts +2 -0
- package/dist/src/components/icons/manage-search-icon/index.d.ts +1 -0
- package/dist/src/components/icons/microsoft-outlook-icon/MicrosoftOutlookIcon.d.ts +2 -0
- package/dist/src/components/icons/microsoft-outlook-icon/index.d.ts +1 -0
- package/dist/src/components/icons/new-window-icon/NewWindowIcon.d.ts +2 -0
- package/dist/src/components/icons/new-window-icon/index.d.ts +1 -0
- package/dist/src/components/icons/notes-icon/NotesIcon.d.ts +2 -0
- package/dist/src/components/icons/notes-icon/index.d.ts +1 -0
- package/dist/src/components/icons/outline-checkbox-icon/OutlineCheckboxIconBlank.d.ts +2 -0
- package/dist/src/components/icons/outline-checkbox-icon/OutlineCheckboxIconChecked.d.ts +2 -0
- package/dist/src/components/icons/outline-checkbox-icon/OutlineCheckboxIconIndeterminate.d.ts +2 -0
- package/dist/src/components/icons/outline-checkbox-icon/index.d.ts +3 -0
- package/dist/src/components/icons/outline-notifications-icon/OutlineNotificationsIcon.d.ts +2 -0
- package/dist/src/components/icons/outline-notifications-icon/index.d.ts +1 -0
- package/dist/src/components/icons/person-search-icon/PersonSearchIcon.d.ts +2 -0
- package/dist/src/components/icons/person-search-icon/index.d.ts +1 -0
- package/dist/src/components/icons/person-search-outline-icon/PersonSearchOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/person-search-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/refresh-icon/RefreshIcon.d.ts +2 -0
- package/dist/src/components/icons/refresh-icon/index.d.ts +1 -0
- package/dist/src/components/icons/remove-icon/RemoveIcon.d.ts +2 -0
- package/dist/src/components/icons/remove-icon/index.d.ts +1 -0
- package/dist/src/components/icons/repeat-outline-icon/RepeatOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/repeat-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/reset-settings-icon/ResetSettingsIcon.d.ts +2 -0
- package/dist/src/components/icons/reset-settings-icon/index.d.ts +1 -0
- package/dist/src/components/icons/rule-icon/RuleIcon.d.ts +2 -0
- package/dist/src/components/icons/rule-icon/index.d.ts +1 -0
- package/dist/src/components/icons/rule-outline-icon/RuleOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/rule-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/save-icon/SaveIcon.d.ts +2 -0
- package/dist/src/components/icons/save-icon/index.d.ts +1 -0
- package/dist/src/components/icons/send-icon/SendIcon.d.ts +2 -0
- package/dist/src/components/icons/send-icon/index.d.ts +1 -0
- package/dist/src/components/icons/settings-note-icon/SettingsNoteIcon.d.ts +2 -0
- package/dist/src/components/icons/settings-note-icon/index.d.ts +1 -0
- package/dist/src/components/icons/share-icon/ShareIcon.d.ts +2 -0
- package/dist/src/components/icons/share-icon/index.d.ts +1 -0
- package/dist/src/components/icons/sms-icon/SmsIcon.d.ts +2 -0
- package/dist/src/components/icons/sms-icon/index.d.ts +1 -0
- package/dist/src/components/icons/sync-icon/SyncIcon.d.ts +2 -0
- package/dist/src/components/icons/sync-icon/index.d.ts +1 -0
- package/dist/src/components/icons/sync-saved_locally/SyncSavedLocallyIcon.d.ts +2 -0
- package/dist/src/components/icons/sync-saved_locally/index.d.ts +1 -0
- package/dist/src/components/icons/timelapse-outline-icon/TimelapseOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/timelapse-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/timer-icon/TimerIcon.d.ts +2 -0
- package/dist/src/components/icons/timer-icon/index.d.ts +1 -0
- package/dist/src/components/icons/today-icon/TodayIcon.d.ts +2 -0
- package/dist/src/components/icons/today-icon/index.d.ts +1 -0
- package/dist/src/components/icons/tune-icon/TuneIcon.d.ts +2 -0
- package/dist/src/components/icons/tune-icon/index.d.ts +1 -0
- package/dist/src/components/icons/unlock-icon/UnlockIcon.d.ts +2 -0
- package/dist/src/components/icons/unlock-icon/index.d.ts +1 -0
- package/dist/src/components/icons/upload-icon/UploadIcon.d.ts +2 -0
- package/dist/src/components/icons/upload-icon/index.d.ts +1 -0
- package/dist/src/components/icons/visibility-outline-icon/VisibilityOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/visibility-outline-icon/index.d.ts +1 -0
- package/dist/src/components/icons/wand-stars-icon/WandStarsIcon.d.ts +2 -0
- package/dist/src/components/icons/wand-stars-icon/index.d.ts +1 -0
- package/dist/src/components/icons/warning-circle-icon/CircleWarningOutlineIcon.d.ts +2 -0
- package/dist/src/components/icons/warning-circle-icon/index.d.ts +1 -0
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +2 -2
- package/dist/src/components/inputs/checkbox/index.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/types.d.ts +6 -6
- package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +1 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +1 -1
- package/dist/src/components/inputs/select-autocomplete/story/test-utils/perf.d.ts +2 -2
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +5 -0
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +1 -1
- package/dist/src/components/utils/copy-wrapper/index.d.ts +2 -1
- package/dist/src/components/utils/popover/StyledPopover.d.ts +1 -1
- package/dist/src/datetime/components/date-picker/StyledDatePicker.d.ts +2 -0
- package/dist/src/datetime/components/date-picker/components/BaseDatePickerInput.d.ts +27 -0
- package/dist/src/datetime/components/date-picker/components/DatePickerButton.d.ts +7 -0
- package/dist/src/datetime/components/date-picker/components/DatePickerInputIndex.d.ts +5 -0
- package/dist/src/datetime/components/date-picker/components/DatePickerInputRangeCompact.d.ts +5 -0
- package/dist/src/datetime/components/date-picker/components/DatePickerInputSingle.d.ts +5 -0
- package/dist/src/datetime/components/date-picker/components/HelperTextWithTooltip.d.ts +5 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +7 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPickerCaption.d.ts +5 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPickerFooter.d.ts +12 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.d.ts +2 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.d.ts +2 -0
- package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +6 -0
- package/dist/src/datetime/components/date-picker/helpers.d.ts +11 -0
- package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +4 -0
- package/dist/src/datetime/components/date-picker/hooks/useDatePickerValidation.d.ts +15 -0
- package/dist/src/datetime/components/date-picker/index.d.ts +1 -0
- package/dist/src/datetime/components/date-picker/types.d.ts +60 -0
- package/dist/src/datetime/components/time-picker/StyledTimePicker.d.ts +2 -0
- package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +10 -0
- package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +6 -0
- package/dist/src/datetime/components/time-picker/components/HelperText.d.ts +8 -0
- package/dist/src/datetime/components/time-picker/components/TimePickerBody.d.ts +4 -0
- package/dist/src/datetime/components/time-picker/components/TimePickerColumn.d.ts +5 -0
- package/dist/src/datetime/components/time-picker/helpers/getTimeFromValue.d.ts +1 -0
- package/dist/src/datetime/components/time-picker/index.d.ts +1 -0
- package/dist/src/datetime/components/time-picker/types.d.ts +22 -0
- package/dist/src/datetime/helpers/cn.d.ts +2 -0
- package/dist/src/datetime/helpers/date.helper.d.ts +2 -0
- package/dist/src/datetime/helpers/index.d.ts +1 -0
- package/dist/src/datetime/hooks/useBackNavigationClose.hook.d.ts +4 -0
- package/dist/src/datetime/hooks/useToggleMenuVisibility.hook.d.ts +6 -0
- package/dist/src/datetime/hooks/useWindowWidthSize.hook.d.ts +5 -0
- package/dist/src/datetime/shared-components/CheckIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/ChevronLeftIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/ChevronRightIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/ClockOutlineIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/CloseIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/EraserIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/ExpandIcon.d.ts +2 -0
- package/dist/src/datetime/shared-components/OutlineCalendarMonth.d.ts +2 -0
- package/dist/src/datetime/shared-components/OutlineErrorRounded.d.ts +2 -0
- package/dist/src/datetime/shared-components/StyledFormControl.d.ts +2 -0
- package/dist/src/datetime/shared-components/StyledInputField.d.ts +12 -0
- package/dist/src/datetime/shared-components/StyledSelect.d.ts +16 -0
- package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +2 -0
- package/dist/src/datetime/shared-components/StyledTooltip.d.ts +2 -0
- package/dist/src/datetime/shared-components/button/StyledButton.d.ts +40 -0
- package/dist/src/datetime/shared-components/button/index.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/omit.d.ts +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/table/components/Fetching.d.ts +3 -0
- package/dist/src/table/components/StyledTableIndex.d.ts +10 -0
- package/dist/src/table/components/TableBody.d.ts +10 -0
- package/dist/src/table/components/TableRow.d.ts +12 -0
- package/dist/src/table/components/TableRows.d.ts +10 -0
- package/dist/src/table/components/TableSkeleton.d.ts +4 -0
- package/dist/src/table/components/columns/action-column/actionColumn.d.ts +12 -0
- package/dist/src/table/components/columns/action-column/components/HeaderActionMenu.d.ts +5 -0
- package/dist/src/table/components/columns/action-column/components/RowActionMenu.d.ts +7 -0
- package/dist/src/table/components/columns/dndHandleColumn.d.ts +8 -0
- package/dist/src/table/components/columns/expandColumn.d.ts +2 -0
- package/dist/src/table/components/columns/helpers/useElementHeightPx.d.ts +4 -0
- package/dist/src/table/components/columns/helpers/useProxyHorizontalScrollSync.d.ts +6 -0
- package/dist/src/table/components/columns/selectColumn.d.ts +2 -0
- package/dist/src/table/components/columns/showTextColumn.d.ts +2 -0
- package/dist/src/table/components/table-footer/TableFooter.d.ts +9 -0
- package/dist/src/table/components/table-footer/TablePagination.d.ts +5 -0
- package/dist/src/table/components/table-footer/TableRowCountSelect.d.ts +5 -0
- package/dist/src/table/components/table-header/TableHeader.d.ts +12 -0
- package/dist/src/table/components/table-header/TableHeaderCell.d.ts +12 -0
- package/dist/src/table/context/RootContext.d.ts +9 -0
- package/dist/src/table/custom-features/expand-rows/ExpandRowsFeature.d.ts +2 -0
- package/dist/src/table/custom-features/expand-rows/index.d.ts +2 -0
- package/dist/src/table/custom-features/expand-rows/types.d.ts +15 -0
- package/dist/src/table/custom-features/focus-rows/FocusRowsFeature.d.ts +2 -0
- package/dist/src/table/custom-features/focus-rows/index.d.ts +1 -0
- package/dist/src/table/custom-features/focus-rows/types.d.ts +18 -0
- package/dist/src/table/custom-features/order-columns/OrderColumnsFeature.d.ts +2 -0
- package/dist/src/table/custom-features/order-columns/index.d.ts +1 -0
- package/dist/src/table/custom-features/order-columns/types.d.ts +8 -0
- package/dist/src/table/custom-features/order-columns/usePersistColumnOrder.d.ts +2 -0
- package/dist/src/table/custom-features/order-columns/usePersistedColumnOrder.d.ts +1 -0
- package/dist/src/table/custom-features/row-selection-tooltip/RowSelectionTooltipFeature.d.ts +2 -0
- package/dist/src/table/custom-features/row-selection-tooltip/index.d.ts +1 -0
- package/dist/src/table/custom-features/row-selection-tooltip/types.d.ts +8 -0
- package/dist/src/table/helpers/cn.d.ts +2 -0
- package/dist/src/table/helpers/getTableHeaderStyle.d.ts +10 -0
- package/dist/src/table/helpers/injectColumns.d.ts +4 -0
- package/dist/src/table/hooks/useColumnVirtualizer.d.ts +20 -0
- package/dist/src/table/hooks/usePersistedPageSize.d.ts +2 -0
- package/dist/src/table/hooks/useStyledTable.d.ts +7 -0
- package/dist/src/table/hooks/useToggleMenuVisibility.hook.d.ts +6 -0
- package/dist/src/table/hooks/useTranslations.d.ts +9 -0
- package/dist/src/table/hooks/useWindowWidthSize.hook.d.ts +5 -0
- package/dist/src/table/index.d.ts +4 -0
- package/dist/src/table/shared-components/CheckIcon.d.ts +2 -0
- package/dist/src/table/shared-components/ChevronDownIcon.d.ts +2 -0
- package/dist/src/table/shared-components/ChevronLeftIcon.d.ts +2 -0
- package/dist/src/table/shared-components/ChevronRightIcon.d.ts +2 -0
- package/dist/src/table/shared-components/ChevronUpIcon.d.ts +2 -0
- package/dist/src/table/shared-components/CircleWarningOutlineIcon.d.ts +2 -0
- package/dist/src/table/shared-components/DotsHorizontalIcon.d.ts +2 -0
- package/dist/src/table/shared-components/DotsVerticalIcon.d.ts +2 -0
- package/dist/src/table/shared-components/DropDownIcon.d.ts +2 -0
- package/dist/src/table/shared-components/DropUpIcon.d.ts +2 -0
- package/dist/src/table/shared-components/FilterIcon.d.ts +2 -0
- package/dist/src/table/shared-components/LoadingIcon.d.ts +2 -0
- package/dist/src/table/shared-components/PinIcon.d.ts +2 -0
- package/dist/src/table/shared-components/StyledCheckbox.d.ts +16 -0
- package/dist/src/table/shared-components/StyledMenuItem.d.ts +2 -0
- package/dist/src/table/shared-components/button/StyledButton.d.ts +40 -0
- package/dist/src/table/shared-components/button/index.d.ts +1 -0
- package/dist/src/table/shared-components/menu-item/index.d.ts +2 -0
- package/dist/src/table/shared-components/tooltip/index.d.ts +2 -0
- package/dist/src/table/types.d.ts +121 -0
- package/dist/style.css +1 -2
- package/dist/table/components/Fetching.js +14 -0
- package/dist/table/components/StyledTable.module.js +57 -0
- package/dist/table/components/StyledTableIndex.js +178 -0
- package/dist/table/components/TableBody.js +33 -0
- package/dist/table/components/TableRow.js +160 -0
- package/dist/table/components/TableRows.js +13 -0
- package/dist/table/components/TableSkeleton.js +21 -0
- package/dist/table/components/TableSkeleton.module.js +4 -0
- package/dist/table/components/columns/action-column/actionColumn.js +31 -0
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +139 -0
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.module.js +9 -0
- package/dist/table/components/columns/action-column/components/RowActionMenu.js +113 -0
- package/dist/table/components/columns/action-column/components/TableActions.module.js +9 -0
- package/dist/table/components/columns/dndHandleColumn.js +38 -0
- package/dist/table/components/columns/expandColumn.js +36 -0
- package/dist/table/components/columns/helpers/useElementHeightPx.js +26 -0
- package/dist/table/components/columns/helpers/useProxyHorizontalScrollSync.js +30 -0
- package/dist/table/components/columns/selectColumn.js +59 -0
- package/dist/table/components/columns/showTextColumn.js +54 -0
- package/dist/table/components/table-footer/TableFooter.js +33 -0
- package/dist/table/components/table-footer/TablePagination.js +125 -0
- package/dist/table/components/table-footer/TablePagination.module.js +10 -0
- package/dist/table/components/table-footer/TableRowCountSelect.js +76 -0
- package/dist/table/components/table-header/TableHeader.js +78 -0
- package/dist/table/components/table-header/TableHeaderCell.js +72 -0
- package/dist/table/context/RootContext.js +21 -0
- package/dist/table/custom-features/expand-rows/ExpandRowsFeature.js +29 -0
- package/dist/table/custom-features/focus-rows/FocusRowsFeature.js +47 -0
- package/dist/table/custom-features/order-columns/OrderColumnsFeature.js +20 -0
- package/dist/table/custom-features/order-columns/usePersistColumnOrder.js +15 -0
- package/dist/table/custom-features/order-columns/usePersistedColumnOrder.js +15 -0
- package/dist/table/custom-features/row-selection-tooltip/RowSelectionTooltipFeature.js +6 -0
- package/dist/table/helpers/cn.js +8 -0
- package/dist/table/helpers/getTableHeaderStyle.js +27 -0
- package/dist/table/helpers/injectColumns.js +21 -0
- package/dist/table/hooks/useColumnVirtualizer.js +25 -0
- package/dist/table/hooks/usePersistedPageSize.js +20 -0
- package/dist/table/hooks/useStyledTable.js +72 -0
- package/dist/table/hooks/useToggleMenuVisibility.hook.js +17 -0
- package/dist/table/hooks/useTranslations.js +19 -0
- package/dist/table/hooks/useWindowWidthSize.hook.js +12 -0
- package/dist/table/index.js +7 -0
- package/dist/table/shared-components/CheckIcon.js +18 -0
- package/dist/table/shared-components/ChevronDownIcon.js +18 -0
- package/dist/table/shared-components/ChevronLeftIcon.js +18 -0
- package/dist/table/shared-components/ChevronRightIcon.js +18 -0
- package/dist/table/shared-components/CircleWarningOutlineIcon.js +26 -0
- package/dist/table/shared-components/DotsHorizontalIcon.js +18 -0
- package/dist/table/shared-components/DotsVerticalIcon.js +18 -0
- package/dist/table/shared-components/DropDownIcon.js +18 -0
- package/dist/table/shared-components/DropUpIcon.js +18 -0
- package/dist/table/shared-components/LoadingIcon.js +30 -0
- package/dist/table/shared-components/PinIcon.js +19 -0
- package/dist/table/shared-components/StyledCheckbox.js +79 -0
- package/dist/table/shared-components/StyledCheckbox.module.js +17 -0
- package/dist/table/shared-components/StyledMenuItem.js +21 -0
- package/dist/table/shared-components/button/StyledButton.js +45 -0
- package/dist/table/shared-components/button/StyledButton.module.js +16 -0
- package/dist/table/shared-components/menu-item/index.js +23 -0
- package/dist/table/shared-components/tooltip/index.js +27 -0
- package/dist/table/types.js +16 -0
- package/dist/tailwind.config.d.ts +179 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +50 -15
- package/dist/asma-ui-core.es.js +0 -4
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { cn as w } from "../../../../helpers/cn.js";
|
|
2
|
+
import { CloseIcon as j } from "../../../icons/close-icon/CloseIcon.js";
|
|
3
|
+
import { ErrorOutlineIcon as W } from "../../../icons/error-outline-icon/ErrorOutlineIcon.js";
|
|
4
|
+
import { StyledChip as H } from "../../../data-display/chip/StyledChip.js";
|
|
5
|
+
import { StyledInteractiveChip as O } from "../../../data-display/interactive-chip/StyledInteractiveChip.js";
|
|
6
|
+
import { StyledTooltip as J } from "../../../data-display/tooltip/StyledTooltip.js";
|
|
7
|
+
import { StyledButton as M } from "../../button/StyledButton.js";
|
|
8
|
+
import { useWrap as P } from "../helpers/useWrap.js";
|
|
9
|
+
import { Skeleton as y } from "../../../../index.js";
|
|
10
|
+
import { forwardRef as Q } from "react";
|
|
11
|
+
import { jsx as t, jsxs as v } from "react/jsx-runtime";
|
|
12
|
+
var ie = Q((S, I) => {
|
|
13
|
+
const { options: d, dataTest: V, value: r, readOnly: n, multiple: i, title: N, disabled: T, onChange: f, required: R, error: h, helperText: $, valueKey: q = "value", labelKey: z = "label", renderLabel: o, getOptionTooltip: k, loading: A, size: x, locale: B = "en" } = S, { containerRef: D, wrapDisabled: b } = P({ dependencyList: [d, d.length] }), p = (e) => typeof e == "object" ? e?.[z]?.toString() ?? "" : e?.toString() ?? "", g = (e) => typeof e == "object" ? e?.[q] : e, c = (e) => {
|
|
14
|
+
const l = g(e);
|
|
15
|
+
return l == null ? "" : typeof l == "string" || typeof l == "number" || typeof l == "boolean" ? String(l) : e == null ? "" : p(e);
|
|
16
|
+
}, s = (e, l) => g(e) === g(l), L = i ? Array.isArray(r) && r.length > 0 : r != null, E = (e) => {
|
|
17
|
+
if (!i) {
|
|
18
|
+
const a = s(e, r) ? null : e;
|
|
19
|
+
if (a === null) return;
|
|
20
|
+
f(a);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const l = r ?? [];
|
|
24
|
+
f(l.find((a) => s(a, e)) ? l.filter((a) => !s(a, e)) : [...l, e]);
|
|
25
|
+
}, m = n ? d.filter((e) => !!(i ? r?.find((l) => s(l, e)) : s(r, e))) : d, K = m.findIndex((e) => !(typeof e == "object" && e?.disabled) && !n);
|
|
26
|
+
return /* @__PURE__ */ v("div", {
|
|
27
|
+
"data-testid": `${V}-dynamic-radio-group`,
|
|
28
|
+
className: "relative flex flex-col gap-y-1",
|
|
29
|
+
children: [
|
|
30
|
+
N && /* @__PURE__ */ t("span", {
|
|
31
|
+
className: "text-base font-semibold text-delta-800",
|
|
32
|
+
children: N
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ t("div", {
|
|
35
|
+
"aria-hidden": !0,
|
|
36
|
+
ref: D,
|
|
37
|
+
className: "pointer-events-none absolute left-0 top-0 flex flex-wrap gap-2 text-sm opacity-0",
|
|
38
|
+
style: { width: "100%" },
|
|
39
|
+
children: m.map((e) => /* @__PURE__ */ t(O, {
|
|
40
|
+
className: "w-fit",
|
|
41
|
+
readOnly: n,
|
|
42
|
+
type: i ? "checkbox" : "radio",
|
|
43
|
+
dataTest: `ic-${c(e)}-hidden`,
|
|
44
|
+
label: o ? o(e) : p(e)
|
|
45
|
+
}, c(e)))
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ t("div", {
|
|
48
|
+
className: w("flex flex-wrap gap-2", b && "flex-col gap-1"),
|
|
49
|
+
children: A ? /* @__PURE__ */ v("div", {
|
|
50
|
+
className: "flex flex-wrap gap-2",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ t(y, { className: "h-[32px] w-[60px]" }),
|
|
53
|
+
/* @__PURE__ */ t(y, { className: "h-[32px] w-[60px]" }),
|
|
54
|
+
/* @__PURE__ */ t(y, { className: "h-[32px] w-[60px]" })
|
|
55
|
+
]
|
|
56
|
+
}) : m?.length ? m.map((e, l) => {
|
|
57
|
+
const a = !!(i ? r?.find((G) => s(G, e)) : s(r, e)), F = k ? k(e) : null;
|
|
58
|
+
if (n && !a) return null;
|
|
59
|
+
const u = typeof e == "object" ? !!e?.disabled : !1, C = !u && !n && l === K ? I : void 0;
|
|
60
|
+
return /* @__PURE__ */ t(J, {
|
|
61
|
+
title: F,
|
|
62
|
+
arrow: !0,
|
|
63
|
+
children: /* @__PURE__ */ t("span", {
|
|
64
|
+
className: w(u && "cursor-not-allowed"),
|
|
65
|
+
children: n && !b ? /* @__PURE__ */ t(H, {
|
|
66
|
+
ref: C,
|
|
67
|
+
disabled: !!T || u,
|
|
68
|
+
classes: { root: "min-h-[32px] h-full" },
|
|
69
|
+
className: "w-fit text-sm",
|
|
70
|
+
dataTest: `ic-${c(e)}`,
|
|
71
|
+
label: o ? o(e) : p(e)
|
|
72
|
+
}) : /* @__PURE__ */ t(O, {
|
|
73
|
+
ref: C,
|
|
74
|
+
disabled: !!T || u,
|
|
75
|
+
classes: b ? {
|
|
76
|
+
root: "border-none outline-none bg-transparent w-full flex justify-start h-full min-h-[40px] shadow-none",
|
|
77
|
+
label: "block whitespace-normal break-words overflow-visible"
|
|
78
|
+
} : { root: "min-h-[32px] h-full" },
|
|
79
|
+
className: "w-fit text-sm",
|
|
80
|
+
readOnly: n,
|
|
81
|
+
type: i ? "checkbox" : "radio",
|
|
82
|
+
dataTest: `ic-${c(e)}`,
|
|
83
|
+
checked: a,
|
|
84
|
+
size: x,
|
|
85
|
+
onClick: () => E(e),
|
|
86
|
+
label: o ? o(e) : p(e)
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
}, c(e));
|
|
90
|
+
}) : /* @__PURE__ */ t("span", { children: "-" })
|
|
91
|
+
}),
|
|
92
|
+
!R && L && !n && /* @__PURE__ */ t(M, {
|
|
93
|
+
dataTest: "clear-selection-btn",
|
|
94
|
+
variant: "text",
|
|
95
|
+
startIcon: x === "medium" ? /* @__PURE__ */ t(j, {
|
|
96
|
+
height: 24,
|
|
97
|
+
width: 24,
|
|
98
|
+
className: "size-6"
|
|
99
|
+
}) : /* @__PURE__ */ t(j, {
|
|
100
|
+
height: 20,
|
|
101
|
+
width: 20,
|
|
102
|
+
className: "size-5"
|
|
103
|
+
}),
|
|
104
|
+
className: "w-fit",
|
|
105
|
+
size: x,
|
|
106
|
+
onClick: () => f(i ? [] : null),
|
|
107
|
+
children: B === "en" ? "Clear selection" : "Fjern valget"
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ v("div", {
|
|
110
|
+
className: w("flex items-center gap-1 text-sm/5 text-delta-600", h && "text-error-500"),
|
|
111
|
+
children: [h && /* @__PURE__ */ t(W, {
|
|
112
|
+
width: 20,
|
|
113
|
+
height: 20,
|
|
114
|
+
className: "min-w-5"
|
|
115
|
+
}), /* @__PURE__ */ t("span", {
|
|
116
|
+
className: "line-clamp-1",
|
|
117
|
+
children: $ ?? (h ? "Required" : void 0)
|
|
118
|
+
})]
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
export {
|
|
124
|
+
ie as DynamicInteractiveChipGroup
|
|
125
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { cn as D } from "../../../../helpers/cn.js";
|
|
2
|
+
import { LoadingIcon as Q } from "../../../icons/loading-icon/LoadingIcon.js";
|
|
3
|
+
import { CheckIcon as U } from "../../../icons/check-icon/CheckIcon.js";
|
|
4
|
+
import { PlusIconCircle as X } from "../../../icons/plus-icon-circle/PlusIconCircle.js";
|
|
5
|
+
import { StyledChip as j } from "../../../data-display/chip/StyledChip.js";
|
|
6
|
+
import { StyledTooltip as A } from "../../../data-display/tooltip/StyledTooltip.js";
|
|
7
|
+
import { StyledCheckbox as Y } from "../../checkbox/base-ui/StyledCheckbox.js";
|
|
8
|
+
import { StyledInputField as Z } from "../../input-field/StyledInputField.js";
|
|
9
|
+
import { StyledSelectAutocomplete as ee } from "../../select-autocomplete/StyledSelectAutocomplete.js";
|
|
10
|
+
import { DynamicInteractiveChipGroup as te } from "./DynamicInteractiveChipGroup.js";
|
|
11
|
+
import { createElement as L, forwardRef as le, useCallback as b, useState as ae } from "react";
|
|
12
|
+
import { Fragment as V, jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
13
|
+
var ge = le((v, $) => {
|
|
14
|
+
const [q, w] = ae(!1), { options: y, dataTest: O, value: d, readOnly: u, multiple: n, required: B, onChange: m, size: E, title: S, noOptionsText: z, placeholder: F, disabled: k, helperText: K, disableHelperText: H, error: R, valueKey: I = "value", labelKey: G = "label", renderLabel: i, getOptionTooltip: N, startAdornment: W, autocompleteProps: r, loading: p, maxTags: _ } = v, f = y.length < 11, s = (e) => typeof e == "object" ? e?.[G]?.toString() ?? "" : e?.toString() ?? "", h = b((e) => typeof e == "object" ? e?.[I] : e, [I]), g = b((e, t) => h(e) === h(t), [h]), C = (e) => {
|
|
15
|
+
const t = h(e);
|
|
16
|
+
return t == null ? "" : typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? String(t) : e == null ? "" : s(e);
|
|
17
|
+
}, P = b((e) => {
|
|
18
|
+
w(!0), r?.onOpen?.(e);
|
|
19
|
+
}, [r]), J = b((e, t) => {
|
|
20
|
+
w(!1), r?.onClose?.(e, t);
|
|
21
|
+
}, [r]);
|
|
22
|
+
return n && u ? /* @__PURE__ */ l(te, { ...v }) : /* @__PURE__ */ x("div", {
|
|
23
|
+
className: "flex w-full flex-col gap-y-1",
|
|
24
|
+
children: [S && /* @__PURE__ */ l("span", {
|
|
25
|
+
className: "text-base font-semibold text-delta-800",
|
|
26
|
+
children: S
|
|
27
|
+
}), /* @__PURE__ */ l(ee, {
|
|
28
|
+
open: q,
|
|
29
|
+
onOpen: P,
|
|
30
|
+
onClose: J,
|
|
31
|
+
disableCloseOnSelect: n,
|
|
32
|
+
dataTest: O,
|
|
33
|
+
disabled: !!k || !!p,
|
|
34
|
+
noOptionsText: z,
|
|
35
|
+
loading: p,
|
|
36
|
+
readOnly: u,
|
|
37
|
+
value: d,
|
|
38
|
+
size: E,
|
|
39
|
+
disableClearable: B,
|
|
40
|
+
options: y,
|
|
41
|
+
fullWidth: !0,
|
|
42
|
+
classes: { listbox: "h-full max-h-[300px]" },
|
|
43
|
+
getOptionLabel: r?.getOptionLabel ?? s,
|
|
44
|
+
onChange: (e, t) => {
|
|
45
|
+
m(t);
|
|
46
|
+
},
|
|
47
|
+
filterSelectedOptions: !1,
|
|
48
|
+
isOptionEqualToValue: r?.isOptionEqualToValue ?? g,
|
|
49
|
+
autoHeight: !0,
|
|
50
|
+
multiple: n,
|
|
51
|
+
renderTags: (e) => {
|
|
52
|
+
const t = _ ?? y.length, a = e.slice(0, t), c = e.length - t;
|
|
53
|
+
return /* @__PURE__ */ x("div", {
|
|
54
|
+
className: "flex flex-wrap gap-2",
|
|
55
|
+
children: [a.map((o) => /* @__PURE__ */ l(j, {
|
|
56
|
+
dataTest: `${C(o)}-chip`,
|
|
57
|
+
readOnly: u,
|
|
58
|
+
variant: "outlined",
|
|
59
|
+
label: i ? i(o) : s(o),
|
|
60
|
+
classes: {
|
|
61
|
+
root: "h-fit w-fit min-h-[32px]",
|
|
62
|
+
label: "block whitespace-normal"
|
|
63
|
+
},
|
|
64
|
+
disabled: !!k || !!p,
|
|
65
|
+
onDelete: () => {
|
|
66
|
+
if (!n) {
|
|
67
|
+
m(null);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
m(d.filter((T) => !g(T, o)));
|
|
71
|
+
}
|
|
72
|
+
}, C(o))), c > 0 && /* @__PURE__ */ l(j, {
|
|
73
|
+
dataTest: "remaining-count-tag-chip",
|
|
74
|
+
label: `+${c}`,
|
|
75
|
+
variant: "outlined",
|
|
76
|
+
onClick: P
|
|
77
|
+
})]
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
popupIcon: p ? /* @__PURE__ */ l(Q, {
|
|
81
|
+
height: 24,
|
|
82
|
+
width: 24
|
|
83
|
+
}) : n ? /* @__PURE__ */ l(X, {
|
|
84
|
+
height: 24,
|
|
85
|
+
width: 24
|
|
86
|
+
}) : void 0,
|
|
87
|
+
renderOption: (e, t) => {
|
|
88
|
+
const a = typeof t == "object" ? !!t?.disabled : !1, c = N ? N(t) : null;
|
|
89
|
+
if (n) {
|
|
90
|
+
const T = !!d?.find((M) => g(M, t));
|
|
91
|
+
return /* @__PURE__ */ L("li", {
|
|
92
|
+
...e,
|
|
93
|
+
key: e.id,
|
|
94
|
+
onClick: a ? void 0 : e.onClick,
|
|
95
|
+
className: D("flex h-full cursor-pointer gap-x-1 bg-white text-sm/5 hover:bg-gama-50", a && "cursor-not-allowed bg-delta-50 hover:bg-delta-50"),
|
|
96
|
+
"aria-disabled": a
|
|
97
|
+
}, /* @__PURE__ */ l(A, {
|
|
98
|
+
arrow: !0,
|
|
99
|
+
title: c,
|
|
100
|
+
children: /* @__PURE__ */ x(V, { children: [/* @__PURE__ */ l(Y, {
|
|
101
|
+
disabled: a,
|
|
102
|
+
dataTest: `${C(t)}-checkbox`,
|
|
103
|
+
size: "small",
|
|
104
|
+
className: "min-w-[36px]",
|
|
105
|
+
checked: T
|
|
106
|
+
}), i ? i(t) : /* @__PURE__ */ l("span", {
|
|
107
|
+
className: "h-fit py-[10px] text-sm text-delta-700",
|
|
108
|
+
children: s(t)
|
|
109
|
+
})] })
|
|
110
|
+
}));
|
|
111
|
+
}
|
|
112
|
+
const o = g(d, t);
|
|
113
|
+
return /* @__PURE__ */ L("li", {
|
|
114
|
+
...e,
|
|
115
|
+
key: e.id,
|
|
116
|
+
className: D("flex h-full cursor-pointer gap-x-1 px-2 text-sm/5 hover:bg-gama-50", a && "cursor-not-allowed bg-delta-50 hover:bg-delta-50"),
|
|
117
|
+
onClick: a ? void 0 : e.onClick,
|
|
118
|
+
"aria-disabled": a
|
|
119
|
+
}, /* @__PURE__ */ l(A, {
|
|
120
|
+
arrow: !0,
|
|
121
|
+
title: c,
|
|
122
|
+
children: /* @__PURE__ */ x(V, { children: [/* @__PURE__ */ l("span", {
|
|
123
|
+
className: "h-full w-5 min-w-5 py-[10px]",
|
|
124
|
+
children: o && /* @__PURE__ */ l(U, {
|
|
125
|
+
className: "size-5 min-h-5 min-w-5 text-gama-500",
|
|
126
|
+
height: 20,
|
|
127
|
+
width: 20
|
|
128
|
+
})
|
|
129
|
+
}), i ? i(t) : /* @__PURE__ */ l("span", {
|
|
130
|
+
className: "py-[10px] text-sm text-delta-700",
|
|
131
|
+
children: s(t)
|
|
132
|
+
})] })
|
|
133
|
+
}));
|
|
134
|
+
},
|
|
135
|
+
renderInput: (e) => /* @__PURE__ */ l(Z, {
|
|
136
|
+
dataTest: `${O}-input-field`,
|
|
137
|
+
...e,
|
|
138
|
+
inputRef: $,
|
|
139
|
+
error: R,
|
|
140
|
+
helperText: H ? "" : K ?? " ",
|
|
141
|
+
variant: "outlined",
|
|
142
|
+
label: "",
|
|
143
|
+
placeholder: F,
|
|
144
|
+
readOnly: u,
|
|
145
|
+
onKeyDown: f ? (t) => t.preventDefault() : void 0,
|
|
146
|
+
autoComplete: f ? "off" : "on",
|
|
147
|
+
InputProps: {
|
|
148
|
+
...e.InputProps,
|
|
149
|
+
startAdornment: W ?? e.InputProps.startAdornment,
|
|
150
|
+
style: f ? { caretColor: "transparent" } : {}
|
|
151
|
+
},
|
|
152
|
+
inputProps: {
|
|
153
|
+
...e.inputProps,
|
|
154
|
+
style: f ? { caretColor: "transparent" } : {}
|
|
155
|
+
}
|
|
156
|
+
}),
|
|
157
|
+
...r
|
|
158
|
+
})]
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
export {
|
|
162
|
+
ge as DynamicSelectAutocomplete
|
|
163
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { useLayoutEffect as h, useRef as p, useState as b } from "react";
|
|
2
|
+
var m = ({ dependencyList: c = [] }) => {
|
|
3
|
+
const s = p(null), [l, a] = b(!1);
|
|
4
|
+
return h(() => {
|
|
5
|
+
const r = s.current;
|
|
6
|
+
if (!r) return;
|
|
7
|
+
const u = () => {
|
|
8
|
+
const n = Array.from(r.children).some((e) => {
|
|
9
|
+
const t = e.querySelector(".MuiChip-label");
|
|
10
|
+
if (!t) return !1;
|
|
11
|
+
const i = e.querySelector(".MuiButtonBase-root"), f = t.scrollWidth > r.clientWidth, d = i ? t.scrollHeight > i.clientHeight : !1;
|
|
12
|
+
return f || d;
|
|
13
|
+
});
|
|
14
|
+
a((e) => e !== n ? n : e);
|
|
15
|
+
}, o = new ResizeObserver(u);
|
|
16
|
+
return o.observe(r), () => o.disconnect();
|
|
17
|
+
}, [...c]), {
|
|
18
|
+
wrapDisabled: l,
|
|
19
|
+
containerRef: s
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
m as useWrap
|
|
24
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CloseIcon as s } from "../../icons/close-icon/CloseIcon.js";
|
|
2
|
+
import { ErrorOutlineIcon as p } from "../../icons/error-outline-icon/ErrorOutlineIcon.js";
|
|
3
|
+
import { TextField as c } from "@mui/material";
|
|
4
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
5
|
+
var h = ({ allowClear: l, onClear: n, readOnly: t, disabled: u, error: e, helperText: a, dataTest: d, ...r }) => /* @__PURE__ */ o(c, {
|
|
6
|
+
...r,
|
|
7
|
+
"data-testid": d,
|
|
8
|
+
disabled: (u ?? !1) || (t ?? !1),
|
|
9
|
+
error: e,
|
|
10
|
+
helperText: t ? null : e ? /* @__PURE__ */ m("div", {
|
|
11
|
+
className: "flex items-center gap-1",
|
|
12
|
+
children: [/* @__PURE__ */ o(p, {
|
|
13
|
+
width: 20,
|
|
14
|
+
height: 20,
|
|
15
|
+
className: "min-w-5"
|
|
16
|
+
}), a ?? "Required"]
|
|
17
|
+
}) : a,
|
|
18
|
+
type: r.type ?? "mui-input",
|
|
19
|
+
InputProps: {
|
|
20
|
+
...r.InputProps,
|
|
21
|
+
endAdornment: l && r.value ? /* @__PURE__ */ o("div", {
|
|
22
|
+
role: "button",
|
|
23
|
+
className: "absolute right-4 z-40 flex items-center justify-center rounded-full p-[2px] duration-300 hover:bg-gama-100",
|
|
24
|
+
onClick: (i) => {
|
|
25
|
+
i.stopPropagation(), i.preventDefault(), n?.();
|
|
26
|
+
},
|
|
27
|
+
children: /* @__PURE__ */ o(s, {
|
|
28
|
+
width: 18,
|
|
29
|
+
height: 18
|
|
30
|
+
})
|
|
31
|
+
}) : r.InputProps?.endAdornment
|
|
32
|
+
},
|
|
33
|
+
sx: {
|
|
34
|
+
"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)": { backgroundColor: "#e8f0fe !important" },
|
|
35
|
+
"& input": { backgroundColor: "transparent" },
|
|
36
|
+
"& .MuiInputBase-root": { backgroundColor: "transparent" },
|
|
37
|
+
"& .MuiInputBase-colorPrimary fieldset": { borderColor: "var(--colors-delta-500) !important" },
|
|
38
|
+
"& .MuiInputBase-colorPrimary.Mui-focused fieldset": { borderColor: "var(--colors-gama-400) !important" },
|
|
39
|
+
"& .MuiInputBase-colorPrimary.Mui-focused::after": { borderColor: "var(--colors-gama-400) !important" },
|
|
40
|
+
"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset": { borderColor: "var(--colors-gama-400) !important" },
|
|
41
|
+
"& .MuiInputBase-colorPrimary:hover fieldset": {
|
|
42
|
+
borderColor: "var(--colors-gama-300) !important",
|
|
43
|
+
borderWidth: "2px !important"
|
|
44
|
+
},
|
|
45
|
+
"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset": { borderWidth: "1px !important" },
|
|
46
|
+
"& .MuiInputBase-colorPrimary.Mui-error fieldset": { borderColor: "var(--colors-error-500) !important" },
|
|
47
|
+
"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset": { borderColor: "var(--colors-error-500) !important" },
|
|
48
|
+
"& .MuiFormHelperText-root": {
|
|
49
|
+
fontSize: "14px",
|
|
50
|
+
marginLeft: 0
|
|
51
|
+
},
|
|
52
|
+
"& .MuiFormHelperText-root.Mui-error": { color: "var(--colors-error-500) !important" },
|
|
53
|
+
"& .MuiInputBase-colorPrimary.Mui-disabled fieldset": { borderColor: "var(--colors-delta-300) !important" },
|
|
54
|
+
"& label.Mui-focused": { color: "var(--colors-gama-500) !important" },
|
|
55
|
+
"& label.Mui-error": { color: "var(--colors-error-500) !important" },
|
|
56
|
+
"& label.Mui-focused.MuiInputLabel-shrink": { color: "var(--colors-gama-500) !important" },
|
|
57
|
+
"& label.Mui-error.MuiInputLabel-shrink": { color: "var(--colors-error-500) !important" },
|
|
58
|
+
"& label": { color: "var(--colors-delta-500) !important" },
|
|
59
|
+
"& label.MuiInputLabel-shrink": { color: "var(--colors-delta-800) !important" },
|
|
60
|
+
"& label.Mui-disabled": { color: "var(--colors-gray-300) !important" },
|
|
61
|
+
"& .MuiOutlinedInput-input::placeholder": {
|
|
62
|
+
color: "var(--colors-delta-500) !important",
|
|
63
|
+
opacity: "1 !important"
|
|
64
|
+
},
|
|
65
|
+
"& .MuiOutlinedInput-input.Mui-disabled": { WebkitTextFillColor: "var(--colors-delta-300) !important" },
|
|
66
|
+
...t && {
|
|
67
|
+
"& .MuiOutlinedInput-input.Mui-disabled": { WebkitTextFillColor: "var(--colors-delta-800) !important" },
|
|
68
|
+
"& .MuiInputBase-colorPrimary.Mui-disabled": { backgroundColor: "var(--colors-delta-10) !important" },
|
|
69
|
+
"& .MuiInputBase-colorPrimary.Mui-disabled fieldset": { borderColor: "var(--colors-delta-200) !important" },
|
|
70
|
+
"& label.Mui-disabled": { color: "var(--colors-gray-800) !important" }
|
|
71
|
+
},
|
|
72
|
+
...r.sx
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
h as StyledInputField
|
|
77
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import d from "./StyledLabel.module.js";
|
|
2
|
+
import s from "clsx";
|
|
3
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
4
|
+
var o = d["styled-label"], p = ({ children: e, onClick: l, className: t, dataTest: a, style: r }) => /* @__PURE__ */ m("div", {
|
|
5
|
+
className: s(o, t),
|
|
6
|
+
style: r,
|
|
7
|
+
onClick: l,
|
|
8
|
+
"data-testid": a,
|
|
9
|
+
children: e
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
p as StyledLabel
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Radio as r } from "@mui/material";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
var e = ({ dataTest: o, ...t }) => /* @__PURE__ */ a(r, {
|
|
4
|
+
...t,
|
|
5
|
+
"data-testid": o,
|
|
6
|
+
sx: {
|
|
7
|
+
"&": { color: "var(--colors-delta-500)" },
|
|
8
|
+
"& input": {
|
|
9
|
+
height: "100% !important",
|
|
10
|
+
width: "100% !important"
|
|
11
|
+
},
|
|
12
|
+
"&.Mui-checked": { color: "var(--colors-gama-500)" }
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
e as StyledRadio
|
|
17
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { cn as n } from "../../../../helpers/cn.js";
|
|
2
|
+
import e from "./StyledRadio.module.js";
|
|
3
|
+
import { forwardRef as N, useCallback as h, useRef as w } from "react";
|
|
4
|
+
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
5
|
+
import { Radio as i } from "@base-ui/react/radio";
|
|
6
|
+
var I = N(({ value: s, dataTest: l, className: d, size: t = "medium", error: p, disabled: m, ...c }, R) => {
|
|
7
|
+
const u = n(e.RadioWrapper, e.RadioHover, t === "small" && e["size-small"], d, p && e.Error), f = n(e.Radio, t === "small" && e["size-small"]), r = w(null), v = h((C) => {
|
|
8
|
+
if (C.stopPropagation(), !r.current) return;
|
|
9
|
+
const a = document.createElement("span");
|
|
10
|
+
e.RadioRipple && (a.className = e.RadioRipple), a.addEventListener("animationend", () => {
|
|
11
|
+
a.remove();
|
|
12
|
+
}, { once: !0 }), r.current.appendChild(a);
|
|
13
|
+
}, []);
|
|
14
|
+
return /* @__PURE__ */ x(i.Root, {
|
|
15
|
+
...c,
|
|
16
|
+
nativeButton: !0,
|
|
17
|
+
render: /* @__PURE__ */ o("button", {}),
|
|
18
|
+
ref: R,
|
|
19
|
+
value: s,
|
|
20
|
+
"data-testid": l,
|
|
21
|
+
className: u,
|
|
22
|
+
disabled: m,
|
|
23
|
+
onPointerDown: v,
|
|
24
|
+
children: [/* @__PURE__ */ o("span", {
|
|
25
|
+
className: e.RadioRippleContainer,
|
|
26
|
+
ref: r
|
|
27
|
+
}), /* @__PURE__ */ o("span", {
|
|
28
|
+
className: f,
|
|
29
|
+
children: /* @__PURE__ */ o(i.Indicator, { className: e.Indicator })
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
I as StyledRadio
|
|
35
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var a = "_RadioWrapper_1qjtx_1", _ = "_Radio_1qjtx_1", r = "_RadioRippleContainer_1qjtx_34", i = "_RadioRipple_1qjtx_34", o = "_ripple_1qjtx_1", e = "_RadioHover_1qjtx_68", d = "_Indicator_1qjtx_120", p = {
|
|
2
|
+
RadioWrapper: a,
|
|
3
|
+
"size-small": "_size-small_1qjtx_14",
|
|
4
|
+
Radio: _,
|
|
5
|
+
RadioRippleContainer: r,
|
|
6
|
+
RadioRipple: i,
|
|
7
|
+
ripple: o,
|
|
8
|
+
RadioHover: e,
|
|
9
|
+
Indicator: d,
|
|
10
|
+
Error: "_Error_1qjtx_141"
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
p as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ErrorOutlineIcon as u } from "../../../icons/error-outline-icon/ErrorOutlineIcon.js";
|
|
2
|
+
import { StyledFormHelperText as y } from "../../../miscellaneous/StyledFormHelperText.js";
|
|
3
|
+
import I from "clsx";
|
|
4
|
+
import { forwardRef as R, useId as s } from "react";
|
|
5
|
+
import { jsx as b, jsxs as r } from "react/jsx-runtime";
|
|
6
|
+
import { RadioGroup as v } from "@base-ui/react/radio-group";
|
|
7
|
+
var q = R(({ value: a, defaultValue: l, onValueChange: m, dataTest: c, error: t, errorText: p, helperText: e, children: n, ...f }, x) => {
|
|
8
|
+
const d = s(), i = s(), o = (t ?? !1) || (e ?? !1), h = t ? p ?? "Required" : e;
|
|
9
|
+
return /* @__PURE__ */ r(v, {
|
|
10
|
+
...f,
|
|
11
|
+
"data-testid": c,
|
|
12
|
+
"aria-describedby": o ? t ? i : d : void 0,
|
|
13
|
+
"aria-invalid": t,
|
|
14
|
+
ref: x,
|
|
15
|
+
value: a,
|
|
16
|
+
defaultValue: l,
|
|
17
|
+
onValueChange: m,
|
|
18
|
+
children: [n, o && /* @__PURE__ */ r(y, {
|
|
19
|
+
id: t ? i : d,
|
|
20
|
+
role: t ? "alert" : "status",
|
|
21
|
+
className: I("m-0 flex items-center gap-1 pt-1 text-sm", t ? "text-error-500" : "text-delta-600"),
|
|
22
|
+
children: [t && /* @__PURE__ */ b(u, {
|
|
23
|
+
width: 20,
|
|
24
|
+
height: 20
|
|
25
|
+
}), h]
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
q as StyledRadioGroup
|
|
31
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { cn as r } from "../../../helpers/cn.js";
|
|
2
|
+
import { SearchIcon as c } from "../../icons/search-icon/SearchIcon.js";
|
|
3
|
+
import { CloseIcon as d } from "../../icons/close-icon/CloseIcon.js";
|
|
4
|
+
import { StyledInputField as p } from "../input-field/StyledInputField.js";
|
|
5
|
+
import { useState as u } from "react";
|
|
6
|
+
import { jsx as o, jsxs as h } from "react/jsx-runtime";
|
|
7
|
+
var g = ({ value: t, onClear: i, ...e }) => {
|
|
8
|
+
const [l, s] = u(!1), a = l || t;
|
|
9
|
+
return /* @__PURE__ */ h("div", {
|
|
10
|
+
className: "relative w-full",
|
|
11
|
+
children: [/* @__PURE__ */ o(p, {
|
|
12
|
+
size: "small",
|
|
13
|
+
variant: "outlined",
|
|
14
|
+
value: t,
|
|
15
|
+
onFocus: () => {
|
|
16
|
+
s(!0);
|
|
17
|
+
},
|
|
18
|
+
onBlur: () => {
|
|
19
|
+
s(!1);
|
|
20
|
+
},
|
|
21
|
+
InputProps: {
|
|
22
|
+
className: r("transition-[padding] duration-300", a ? "pl-0" : "pl-5"),
|
|
23
|
+
sx: { "& input": {
|
|
24
|
+
textOverflow: "ellipsis",
|
|
25
|
+
whiteSpace: "nowrap",
|
|
26
|
+
overflow: "hidden"
|
|
27
|
+
} },
|
|
28
|
+
endAdornment: t ? /* @__PURE__ */ o("div", {
|
|
29
|
+
"data-testid": "styled-search-clear-icon",
|
|
30
|
+
className: r("cursor-pointer rounded-full bg-delta-50", "flex items-center justify-center", "transform-gpu transition-all duration-300 ease-in-out", t ? "scale-100 opacity-100" : "pointer-events-none scale-75 opacity-0"),
|
|
31
|
+
style: {
|
|
32
|
+
width: 24,
|
|
33
|
+
height: 24,
|
|
34
|
+
flexShrink: 0
|
|
35
|
+
},
|
|
36
|
+
onClick: (n) => {
|
|
37
|
+
n.preventDefault(), n.stopPropagation(), i?.();
|
|
38
|
+
},
|
|
39
|
+
children: /* @__PURE__ */ o(d, {
|
|
40
|
+
width: 20,
|
|
41
|
+
height: 20,
|
|
42
|
+
color: "var(--colors-delta-700)",
|
|
43
|
+
className: "pointer-events-none"
|
|
44
|
+
})
|
|
45
|
+
}) : null
|
|
46
|
+
},
|
|
47
|
+
InputLabelProps: { sx: {
|
|
48
|
+
transform: "translate(34px, 9px) scale(1)",
|
|
49
|
+
width: a ? void 0 : "calc(100% - 42px)",
|
|
50
|
+
"&.MuiInputLabel-shrink": { transform: "translate(16px, -9px) scale(0.75)" }
|
|
51
|
+
} },
|
|
52
|
+
...e,
|
|
53
|
+
sx: {
|
|
54
|
+
...e.fullWidth ? { width: "100%" } : { width: 160 },
|
|
55
|
+
...e.sx
|
|
56
|
+
}
|
|
57
|
+
}), /* @__PURE__ */ o(c, {
|
|
58
|
+
"data-testid": "styled-search-icon",
|
|
59
|
+
width: 24,
|
|
60
|
+
height: 24,
|
|
61
|
+
className: r("absolute left-2 top-1/2 -translate-y-1/2", "transform-gpu transition-all duration-300 ease-in-out", a ? "pointer-events-none scale-75 opacity-0" : "scale-100 opacity-100", e.error && "top-1/3"),
|
|
62
|
+
color: "var(--colors-delta-700)"
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
g as StyledSearchField
|
|
68
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { CloseIcon as u } from "../../icons/close-icon/CloseIcon.js";
|
|
2
|
+
import { ErrorOutlineIcon as m } from "../../icons/error-outline-icon/ErrorOutlineIcon.js";
|
|
3
|
+
import { StyledFormHelperText as d } from "../../miscellaneous/StyledFormHelperText.js";
|
|
4
|
+
import c from "clsx";
|
|
5
|
+
import { Select as s } from "@mui/material";
|
|
6
|
+
import { Fragment as p, jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
7
|
+
import { Icon as h } from "@iconify/react";
|
|
8
|
+
var C = ({ dataTest: i, allowClear: l, error: o, errorText: n, ...r }) => /* @__PURE__ */ t(p, { children: [/* @__PURE__ */ e(s, {
|
|
9
|
+
...r,
|
|
10
|
+
"data-testid": i,
|
|
11
|
+
error: o,
|
|
12
|
+
value: r.value,
|
|
13
|
+
IconComponent: ({ className: a }) => /* @__PURE__ */ e(h, {
|
|
14
|
+
icon: "material-symbols:expand-more-rounded",
|
|
15
|
+
width: 24,
|
|
16
|
+
height: 24,
|
|
17
|
+
className: c(a),
|
|
18
|
+
style: { marginTop: "-3.5px" }
|
|
19
|
+
}),
|
|
20
|
+
endAdornment: l && r.value ? /* @__PURE__ */ e("div", {
|
|
21
|
+
"data-testid": "select-clear-button",
|
|
22
|
+
className: "absolute right-8 flex items-center justify-center rounded-full p-[2px] duration-300 hover:bg-gama-100",
|
|
23
|
+
onClick: () => {
|
|
24
|
+
r.onChange?.({ target: { value: "" } }, null);
|
|
25
|
+
},
|
|
26
|
+
children: /* @__PURE__ */ e(u, {
|
|
27
|
+
width: 18,
|
|
28
|
+
height: 18
|
|
29
|
+
})
|
|
30
|
+
}) : null,
|
|
31
|
+
sx: {
|
|
32
|
+
".MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-delta-500) !important" },
|
|
33
|
+
"&.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-gama-500) !important" },
|
|
34
|
+
"&.MuiFormLabel-root-MuiInputLabel-root .Mui-error": { color: "var(--colors-error-500) !important" },
|
|
35
|
+
"&.Mui-error .MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-error-500) !important" },
|
|
36
|
+
"& .MuiInputBase-colorPrimary.Mui-error fieldset": { borderColor: "var(--colors-error-500) !important" },
|
|
37
|
+
"&.Mui-focused::after": { borderColor: "var(--colors-gama-400) !important" },
|
|
38
|
+
"&:hover .MuiOutlinedInput-notchedOutline": { border: "2px solid var(--colors-gama-300) !important" },
|
|
39
|
+
...r.sx
|
|
40
|
+
}
|
|
41
|
+
}), o && /* @__PURE__ */ t(d, {
|
|
42
|
+
className: "m-0 flex items-center gap-1 pt-1 text-sm text-error-500",
|
|
43
|
+
children: [/* @__PURE__ */ e(m, {
|
|
44
|
+
width: 20,
|
|
45
|
+
height: 20
|
|
46
|
+
}), n ?? "Required"]
|
|
47
|
+
})] });
|
|
48
|
+
export {
|
|
49
|
+
C as StyledSelect
|
|
50
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MenuItem as r } from "@mui/material";
|
|
2
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
3
|
+
import { Icon as i } from "@iconify/react";
|
|
4
|
+
var a = (e) => /* @__PURE__ */ o(r, {
|
|
5
|
+
...e,
|
|
6
|
+
sx: {
|
|
7
|
+
"&.MuiMenuItem-root": {
|
|
8
|
+
fontSize: "14px !important",
|
|
9
|
+
gap: "4px",
|
|
10
|
+
px: 1
|
|
11
|
+
},
|
|
12
|
+
"&.Mui-selected": { backgroundColor: "var(--colors-gama-50) !important" }
|
|
13
|
+
},
|
|
14
|
+
children: [/* @__PURE__ */ t("span", {
|
|
15
|
+
style: {
|
|
16
|
+
width: "24px",
|
|
17
|
+
justifyContent: "center",
|
|
18
|
+
display: "flex"
|
|
19
|
+
},
|
|
20
|
+
children: e.selected && /* @__PURE__ */ t(i, {
|
|
21
|
+
icon: "mdi:tick",
|
|
22
|
+
width: 22,
|
|
23
|
+
height: 22,
|
|
24
|
+
style: { color: "var(--colors-gama-500)" }
|
|
25
|
+
})
|
|
26
|
+
}), /* @__PURE__ */ t("span", { children: e.children })]
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
a as StyledSelectItem
|
|
30
|
+
};
|