@sberbusiness/triplex-next 1.3.0 → 1.5.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/chunks/AlertProcessSpoiler-M7W9D-p3.js +39 -0
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/Chip-DpSJGyYK.js +90 -0
- package/chunks/DropdownListItem-SqymKZn5.js +57 -0
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/FormFieldInput-BSxKZxcq.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/HeaderTitle.module-CEMLCR13.js +11 -0
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/LightBoxContent-DTTxRVLQ.js +56 -0
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-Ms4q9wDe.js → ListItemControlsButton-AbCEipFe.js} +7 -7
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-D6ZllSTT.js → RightBorderArrow-Co_RT8lZ.js} +14 -14
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-Bkv3b0F5.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/utils-CXhKCNyM.js +72 -0
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-D9w2Kvyk.js} +7 -7
- package/chunks/{utils-BZFu5eVD.js → utils-Dhi5F6Da.js} +8 -8
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +45 -44
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +20 -20
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -3
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +91 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +88 -62
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +127 -109
- package/components/Divider/Divider.js +18 -18
- package/components/Dropdown/desktop/DropdownDesktop.js +23 -23
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +27 -27
- package/components/Footer/Footer.js +9 -20
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +14 -18
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -18
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +36 -32
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +21 -21
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +12 -12
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +9 -9
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +19 -20
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -20
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +54 -54
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +73 -72
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +17 -17
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +6 -6
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +26 -30
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +428 -366
- package/consts/DateConst.js +14 -0
- package/index.d.ts +1022 -60
- package/index.js +434 -372
- package/package.json +50 -1
- package/styles/triplex-next.css +501 -441
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/chunks/vendor-CehxOAkM.js +0 -11907
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Calendar}/types.js +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { forwardRef as x, useContext as M, useMemo as N } from "react";
|
|
4
|
+
import "../../Button/Button.js";
|
|
5
|
+
import "../../Button/ButtonBase.js";
|
|
6
|
+
import { ButtonIcon as y } from "../../Button/ButtonIcon.js";
|
|
7
|
+
import "../../Button/ButtonDropdown.js";
|
|
8
|
+
import "../../Button/ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonIconShape as B } from "../../Button/enums.js";
|
|
10
|
+
import { SMSInputContext as z } from "../SMSInputContext.js";
|
|
11
|
+
import { RefreshIcon as D } from "./RefreshIcon.js";
|
|
12
|
+
import { s as m } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
|
|
13
|
+
const E = x(
|
|
14
|
+
({ className: i, disabled: r, countdownTime: s, countdownTimeLeft: e, onClick: o, onRefresh: l, ...n }, f) => {
|
|
15
|
+
const { disabled: t, error: c, size: h, sizeClassName: I, tooltipId: S } = M(z), d = e > 0, a = t && !c || r || d, b = u(m.btnRefresh, I, i, {
|
|
16
|
+
[m.disabled]: a
|
|
17
|
+
}), C = N(() => e >= s || t || r ? 0 : (s - e) / s, [s, e, t, r]);
|
|
18
|
+
return /* @__PURE__ */ p(
|
|
19
|
+
y,
|
|
20
|
+
{
|
|
21
|
+
"aria-describedby": S,
|
|
22
|
+
className: b,
|
|
23
|
+
disabled: a,
|
|
24
|
+
onClick: (R) => {
|
|
25
|
+
l(), o == null || o(R);
|
|
26
|
+
},
|
|
27
|
+
ref: f,
|
|
28
|
+
shape: B.CIRCLE,
|
|
29
|
+
...n,
|
|
30
|
+
children: /* @__PURE__ */ p(D, { percent: C || 0, size: h, disabled: !!(t || r) })
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
E.displayName = "SMSInputRefresh";
|
|
36
|
+
export {
|
|
37
|
+
E as SMSInputRefresh
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=SMSInputRefresh.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as S } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { useContext as f, useEffect as I } from "react";
|
|
4
|
+
import "../../Button/Button.js";
|
|
5
|
+
import "../../Button/ButtonBase.js";
|
|
6
|
+
import { ButtonIcon as C } from "../../Button/ButtonIcon.js";
|
|
7
|
+
import "../../Button/ButtonDropdown.js";
|
|
8
|
+
import "../../Button/ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonIconShape as h } from "../../Button/enums.js";
|
|
10
|
+
import { SMSInputContext as x } from "../SMSInputContext.js";
|
|
11
|
+
import { SubmitIcon as N } from "./SubmitIcon.js";
|
|
12
|
+
import { s as e } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
|
|
13
|
+
const D = ({ className: r, disabled: a, onClick: o, ...p }) => {
|
|
14
|
+
const {
|
|
15
|
+
code: t,
|
|
16
|
+
disabled: n,
|
|
17
|
+
onSubmitCode: u,
|
|
18
|
+
setDisabledSubmit: s,
|
|
19
|
+
size: c,
|
|
20
|
+
sizeClassName: l
|
|
21
|
+
} = f(x), m = n || a || t === "", b = S(e.btnSubmit, { [e.active]: !!t }, l, r);
|
|
22
|
+
return I(() => {
|
|
23
|
+
s(m);
|
|
24
|
+
}, [m, s]), /* @__PURE__ */ i(
|
|
25
|
+
C,
|
|
26
|
+
{
|
|
27
|
+
active: !!t,
|
|
28
|
+
className: b,
|
|
29
|
+
disabled: m,
|
|
30
|
+
onClick: (d) => {
|
|
31
|
+
u(t), o == null || o(d);
|
|
32
|
+
},
|
|
33
|
+
shape: h.CIRCLE,
|
|
34
|
+
...p,
|
|
35
|
+
children: /* @__PURE__ */ i(N, { size: c })
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
D.displayName = "SMSInputSubmit";
|
|
40
|
+
export {
|
|
41
|
+
D as SMSInputSubmit
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=SMSInputSubmit.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as s, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as T, useEffect as f } from "react";
|
|
3
|
+
import { SMSInputContext as d } from "../SMSInputContext.js";
|
|
4
|
+
import { ETooltipSize as u, ETooltipAlign as S } from "../../Tooltip/enums.js";
|
|
5
|
+
import { Tooltip as t } from "../../Tooltip/Tooltip.js";
|
|
6
|
+
import { a } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
7
|
+
const I = ({
|
|
8
|
+
children: r,
|
|
9
|
+
id: o,
|
|
10
|
+
message: l,
|
|
11
|
+
targetRef: m,
|
|
12
|
+
...n
|
|
13
|
+
}) => {
|
|
14
|
+
const { tooltipId: i, setTooltipId: e } = T(d);
|
|
15
|
+
return f(() => {
|
|
16
|
+
o === void 0 ? e(a()) : o !== i && e(o);
|
|
17
|
+
}, [o]), /* @__PURE__ */ s(
|
|
18
|
+
t,
|
|
19
|
+
{
|
|
20
|
+
alignTip: S.START,
|
|
21
|
+
disableAdaptiveMode: !0,
|
|
22
|
+
id: i,
|
|
23
|
+
size: u.SM,
|
|
24
|
+
targetRef: m,
|
|
25
|
+
toggleType: "hover",
|
|
26
|
+
...n,
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ p(t.Body, { children: l }),
|
|
29
|
+
/* @__PURE__ */ p(t.Target, { children: r })
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
I.displayName = "SMSInputTooltip";
|
|
35
|
+
export {
|
|
36
|
+
I as SMSInputTooltip
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=SMSInputTooltip.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import { EComponentSize as i } from "../../../enums/EComponentSize.js";
|
|
3
|
+
const o = ({ size: e }) => e === i.LG ? /* @__PURE__ */ C("svg", { width: "26", height: "26", viewBox: "0 0 26 26", children: /* @__PURE__ */ C(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M13 0C5.82 0 0 5.82 0 13C0 20.17 5.82 26 13 26C20.17 26 26 20.17 26 13C26 5.82 20.17 0 13 0ZM14.7 6.29L20.7 12.29C20.9 12.48 21 12.72 21 13C21 13.27 20.9 13.51 20.7 13.7L14.7 19.7C14.31 20.1 13.68 20.1 13.29 19.7C12.89 19.31 12.89 18.68 13.29 18.29L17.58 14L6 14C5.43 14 5 13.56 5 13C5 12.44 5.43 12 6 12L17.58 12L13.29 7.7C12.89 7.31 12.89 6.68 13.29 6.29C13.68 5.89 14.31 5.89 14.7 6.29Z",
|
|
7
|
+
fillRule: "evenodd"
|
|
8
|
+
}
|
|
9
|
+
) }) : /* @__PURE__ */ C("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ C(
|
|
10
|
+
"path",
|
|
11
|
+
{
|
|
12
|
+
d: "M10 0C4.47 0 0 4.47 0 10C0 15.52 4.47 20 10 20C15.52 20 20 15.52 20 10C20 4.47 15.52 0 10 0ZM15.71 9.28L15.8 9.38 15.87 9.49 15.91 9.61C16.02 9.86 16.02 10.13 15.91 10.37C15.87 10.5 15.8 10.61 15.71 10.7L10.71 15.7C10.52 15.89 10.26 16 10 16C9.73 16 9.47 15.89 9.29 15.7C9.1 15.51 8.99 15.26 8.99 14.99C8.99 14.72 9.1 14.47 9.29 14.28L12.59 10.99L5 10.99C4.44 10.99 4 10.55 4 9.99C4 9.44 4.44 9 5 9L12.59 9L9.29 5.71C9.03 5.45 8.93 5.08 9.03 4.74C9.12 4.39 9.39 4.12 9.74 4.03C10.08 3.94 10.45 4.04 10.71 4.29L15.71 9.28Z",
|
|
13
|
+
fillRule: "evenodd"
|
|
14
|
+
}
|
|
15
|
+
) });
|
|
16
|
+
export {
|
|
17
|
+
o as SubmitIcon
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=SubmitIcon.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums.js";
|
|
2
2
|
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
|
-
import { jsx as
|
|
3
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
import E from "react";
|
|
5
|
-
import { c as
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
import { createSizeToClassNameMap as
|
|
8
|
-
const
|
|
9
|
-
segmentedControl:
|
|
10
|
-
general1:
|
|
11
|
-
secondary1:
|
|
5
|
+
import { c as b } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
import { SegmentedControlContext as R } from "./SegmentedControlContext.js";
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
8
|
+
const h = "segmentedControl__94c25f37", x = "general1__6dc1f065", L = "secondary1__749fdeab", A = "general2__d895ae1a", M = "secondary2__ef69509c", G = "sm__d8b85aff", O = "md__2b063f26", j = "lg__0070101c", e = {
|
|
9
|
+
segmentedControl: h,
|
|
10
|
+
general1: x,
|
|
11
|
+
secondary1: L,
|
|
12
12
|
general2: A,
|
|
13
13
|
secondary2: M,
|
|
14
14
|
sm: G,
|
|
@@ -19,10 +19,10 @@ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary
|
|
|
19
19
|
[o.GENERAL_2]: e.general2,
|
|
20
20
|
[o.SECONDARY_1]: e.secondary1,
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
|
-
}, z =
|
|
22
|
+
}, z = T(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children:
|
|
25
|
-
const p =
|
|
24
|
+
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled: f, onSelect: t, ...i }, C) => {
|
|
25
|
+
const p = b(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
28
28
|
z[_],
|
|
@@ -39,16 +39,16 @@ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary
|
|
|
39
39
|
t(a ? [...n, s] : [...n].filter((N) => N !== s));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */
|
|
43
|
-
|
|
42
|
+
return /* @__PURE__ */ c(
|
|
43
|
+
R.Provider,
|
|
44
44
|
{
|
|
45
45
|
value: {
|
|
46
46
|
type: r,
|
|
47
47
|
value: n,
|
|
48
|
-
disabled: !!
|
|
48
|
+
disabled: !!f,
|
|
49
49
|
onSegmentSelect: S
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ c("div", { className: p, ...i, "data-tx": "1.5.0", ref: C, children: d })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
|
-
import { c as L } from "../../chunks/vendor-
|
|
3
|
+
import { c as L } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { ButtonBase as N } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
6
|
import { SegmentedControlContext as _ } from "./SegmentedControlContext.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "segmentedControlSegment__5b5923ff", E = "selected__f5853c8d", I = "content__b4018161", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -29,13 +29,13 @@ const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "co
|
|
|
29
29
|
case n.MULTIPLE:
|
|
30
30
|
return d.includes(e);
|
|
31
31
|
}
|
|
32
|
-
})(),
|
|
32
|
+
})(), f = L(
|
|
33
33
|
r.segmentedControlSegment,
|
|
34
34
|
{ [r.selected]: t },
|
|
35
35
|
"hoverable",
|
|
36
36
|
{ active: t },
|
|
37
37
|
i
|
|
38
|
-
),
|
|
38
|
+
), C = () => {
|
|
39
39
|
if (c)
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
@@ -54,8 +54,8 @@ const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "co
|
|
|
54
54
|
return /* @__PURE__ */ a(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
|
-
className:
|
|
58
|
-
title:
|
|
57
|
+
className: f,
|
|
58
|
+
title: C(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
61
|
onClick: b,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as y, jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { isKey as
|
|
1
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useState as O, useRef as u, useCallback as r, useEffect as x } from "react";
|
|
3
|
+
import { isKey as T, EVENT_KEY_CODES as K } from "../../utils/keyboard.js";
|
|
4
4
|
import { KeyDownListener as C } from "../KeyDownListener/KeyDownListener.js";
|
|
5
|
-
import { c as _ } from "../../chunks/vendor-
|
|
5
|
+
import { c as _ } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
6
|
import { SelectExtendedFieldTarget as j } from "./components/SelectExtendedFieldTarget.js";
|
|
7
7
|
import { SelectExtendedFieldDropdown as k } from "./components/SelectExtendedFieldDropdown.js";
|
|
8
|
-
const v = "
|
|
8
|
+
const v = "SelectExtendedField__13bcad6b", A = {
|
|
9
9
|
SelectExtendedField: v
|
|
10
10
|
}, L = (S) => {
|
|
11
|
-
const { className: w, onKeyDown: n, children: D, renderTarget: F, closeOnTab: m, onClose: o, onOpen: d, ...g } = S, [e, c] =
|
|
11
|
+
const { className: w, onKeyDown: n, children: D, renderTarget: F, closeOnTab: m, onClose: o, onOpen: d, ...g } = S, [e, c] = O(!1), l = u(null), f = u(null), E = r((t) => {
|
|
12
12
|
c(t);
|
|
13
13
|
}, []), i = r(
|
|
14
14
|
(t) => {
|
|
@@ -21,7 +21,7 @@ const v = "SelectExtendedField__4a90830d", A = {
|
|
|
21
21
|
}, [e]), h = r(
|
|
22
22
|
(t) => {
|
|
23
23
|
const s = t.code || t.keyCode;
|
|
24
|
-
m &&
|
|
24
|
+
m && T(s, "TAB") && a(), n == null || n(t);
|
|
25
25
|
},
|
|
26
26
|
[m, a, n]
|
|
27
27
|
);
|
|
@@ -29,7 +29,7 @@ const v = "SelectExtendedField__4a90830d", A = {
|
|
|
29
29
|
document.removeEventListener("mousedown", i);
|
|
30
30
|
}), [i]), x(() => {
|
|
31
31
|
e ? d == null || d() : o == null || o();
|
|
32
|
-
}, [e, d, o]), /* @__PURE__ */ y(C, { onMatch: a, eventKeyCode:
|
|
32
|
+
}, [e, d, o]), /* @__PURE__ */ y(C, { onMatch: a, eventKeyCode: K.ESCAPE, children: /* @__PURE__ */ b(
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
35
|
className: _(A.SelectExtendedField, w),
|
|
@@ -3,7 +3,7 @@ import { Dropdown as m } from "../../Dropdown/Dropdown.js";
|
|
|
3
3
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
4
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
5
|
import { DropdownList as e } from "../../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import "../../../chunks/DropdownListItem-SqymKZn5.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as N, jsx as
|
|
1
|
+
import { jsxs as N, jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import L, { useRef as O } from "react";
|
|
3
3
|
import { CaretdownStrokeSrvIcon24 as A } from "@sberbusiness/icons-next";
|
|
4
4
|
import { EVENT_KEY_CODES as n } from "../../../utils/keyboard.js";
|
|
5
5
|
import { LoaderSmall as C } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
6
6
|
import { ELoaderSmallTheme as y } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
|
-
import { c as E } from "../../../chunks/vendor-
|
|
8
|
+
import { c as E } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
9
9
|
import { FormField as B } from "../../FormField/FormField.js";
|
|
10
10
|
import "../../FormField/components/FormFieldDescription.js";
|
|
11
11
|
import "../../FormField/components/FormFieldCounter.js";
|
|
12
12
|
import { FormFieldLabel as P } from "../../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../../FormField/components/FormFieldClear.js";
|
|
14
14
|
import { FormFieldTarget as k } from "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-
|
|
15
|
+
import "../../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
16
16
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
17
|
import { FormFieldPostfix as w } from "../../FormField/components/FormFieldPostfix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
19
19
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
20
20
|
import { EFormFieldStatus as s } from "../../FormField/enums.js";
|
|
21
21
|
import { EComponentSize as z } from "../../../enums/EComponentSize.js";
|
|
22
|
-
const W = "
|
|
22
|
+
const W = "selectExtendedFieldTarget__4f5f02e3", j = "caretIcon__478a53e5", K = "selectOpened__d75b77c3", G = "loading__57ada55f", U = "disabled__cc78244d", t = {
|
|
23
23
|
selectExtendedFieldTarget: W,
|
|
24
24
|
caretIcon: j,
|
|
25
25
|
selectOpened: K,
|
|
26
26
|
loading: G,
|
|
27
27
|
disabled: U
|
|
28
28
|
}, V = L.forwardRef(
|
|
29
|
-
(x,
|
|
29
|
+
(x, l) => {
|
|
30
30
|
const {
|
|
31
31
|
children: Y,
|
|
32
32
|
className: g,
|
|
@@ -38,29 +38,29 @@ const W = "selectExtendedFieldTarget__30d3014c", j = "caretIcon__1dbb320f", K =
|
|
|
38
38
|
setOpened: f,
|
|
39
39
|
loading: r,
|
|
40
40
|
size: F,
|
|
41
|
-
status:
|
|
41
|
+
status: a,
|
|
42
42
|
tabIndex: _,
|
|
43
|
-
fieldLabel:
|
|
44
|
-
...
|
|
45
|
-
} = x,
|
|
43
|
+
fieldLabel: u,
|
|
44
|
+
...S
|
|
45
|
+
} = x, b = O(null), D = E(
|
|
46
46
|
t.selectExtendedFieldTarget,
|
|
47
47
|
{
|
|
48
48
|
[t.selectOpened]: o,
|
|
49
49
|
[t.loading]: r,
|
|
50
|
-
[t.disabled]:
|
|
50
|
+
[t.disabled]: a === s.DISABLED
|
|
51
51
|
},
|
|
52
52
|
g
|
|
53
|
-
), I = () =>
|
|
54
|
-
r &&
|
|
53
|
+
), I = () => a === s.DISABLED || r ? -1 : _ || 0, h = (e) => {
|
|
54
|
+
r && a === s.DISABLED || (f(!o), p == null || p(e));
|
|
55
55
|
}, R = (e) => {
|
|
56
|
-
r &&
|
|
56
|
+
r && a === s.DISABLED || (o || [
|
|
57
57
|
n.SPACE,
|
|
58
58
|
n.ENTER,
|
|
59
59
|
n.ARROW_DOWN,
|
|
60
60
|
n.ARROW_UP
|
|
61
61
|
].includes(e.keyCode) && (e.preventDefault(), e.stopPropagation(), f(!o)), m == null || m(e));
|
|
62
62
|
}, T = (e) => {
|
|
63
|
-
|
|
63
|
+
b.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
|
|
64
64
|
};
|
|
65
65
|
return /* @__PURE__ */ N(
|
|
66
66
|
B,
|
|
@@ -68,16 +68,16 @@ const W = "selectExtendedFieldTarget__30d3014c", j = "caretIcon__1dbb320f", K =
|
|
|
68
68
|
onClick: h,
|
|
69
69
|
tabIndex: I(),
|
|
70
70
|
onKeyDown: R,
|
|
71
|
-
status:
|
|
71
|
+
status: a,
|
|
72
72
|
size: F,
|
|
73
73
|
className: D,
|
|
74
74
|
"aria-expanded": o,
|
|
75
75
|
"aria-haspopup": "listbox",
|
|
76
|
-
"data-tx": "1.
|
|
77
|
-
...
|
|
76
|
+
"data-tx": "1.5.0",
|
|
77
|
+
...S,
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ d(P, { floating: !!i || !!c, children: u }),
|
|
80
|
+
/* @__PURE__ */ d(
|
|
81
81
|
k,
|
|
82
82
|
{
|
|
83
83
|
ref: T,
|
|
@@ -89,7 +89,7 @@ const W = "selectExtendedFieldTarget__30d3014c", j = "caretIcon__1dbb320f", K =
|
|
|
89
89
|
children: i
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ d(w, { children: r ? /* @__PURE__ */ d(C, { size: z.LG, theme: y.BRAND }) : /* @__PURE__ */ d(A, { paletteIndex: 5, className: t.caretIcon }) })
|
|
93
93
|
]
|
|
94
94
|
}
|
|
95
95
|
);
|
|
@@ -5,7 +5,7 @@ import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as v } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { DropdownListContext as F } from "../Dropdown/DropdownListContext.js";
|
|
8
|
-
import { a as I } from "../../chunks/vendor-
|
|
8
|
+
import { a as I } from "../../chunks/vendor-9KVE23Ri.js";
|
|
9
9
|
const C = S.forwardRef((c, t) => {
|
|
10
10
|
const {
|
|
11
11
|
children: L,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../chunks/vendor-
|
|
2
|
+
import { c as r } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import { ESkeletonType as t } from "./enums.js";
|
|
4
|
-
const
|
|
5
|
-
skeleton:
|
|
6
|
-
light:
|
|
7
|
-
dark:
|
|
4
|
+
const a = "skeleton__cbd1a1cf", c = "light__1d9fef21", k = "dark__6917535e", o = {
|
|
5
|
+
skeleton: a,
|
|
6
|
+
light: c,
|
|
7
|
+
dark: k
|
|
8
8
|
}, f = ({ className: s, type: e = t.DARK, ...l }) => /* @__PURE__ */ n(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
@@ -13,7 +13,7 @@ const k = "skeleton__0f956d39", a = "light__4113ef83", c = "dark__476f9bcd", o =
|
|
|
13
13
|
[o.light]: e === t.LIGHT
|
|
14
14
|
}),
|
|
15
15
|
...l,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.5.0"
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
export {
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import z, { useState as T, useRef as E, useCallback as w } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon20 as p, CaretdownStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
4
|
+
import { Button as L } from "../Button/Button.js";
|
|
5
|
+
import "../Button/ButtonBase.js";
|
|
6
|
+
import "../Button/ButtonIcon.js";
|
|
7
|
+
import "../Button/ButtonDropdown.js";
|
|
8
|
+
import "../Button/ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonTheme as R } from "../Button/enums.js";
|
|
10
|
+
import { EComponentSize as c } from "../../enums/EComponentSize.js";
|
|
11
|
+
import { createSizeToClassNameMap as g } from "../../utils/classNameMaps.js";
|
|
12
|
+
import { a as j, c as _ } from "../../chunks/vendor-9KVE23Ri.js";
|
|
13
|
+
const y = "spoiler__1b0b25b2", D = "opened__5c632c47", q = "caretIcon__0efe0fe0", A = "head__c9328c0e", G = "content__7f411aee", H = "hidden__9e333767", K = "lg__c4ecadca", $ = "md__f11f34bc", F = "sm__6afd5768", e = {
|
|
14
|
+
spoiler: y,
|
|
15
|
+
opened: D,
|
|
16
|
+
caretIcon: q,
|
|
17
|
+
head: A,
|
|
18
|
+
content: G,
|
|
19
|
+
hidden: H,
|
|
20
|
+
lg: K,
|
|
21
|
+
md: $,
|
|
22
|
+
sm: F
|
|
23
|
+
}, J = {
|
|
24
|
+
[c.SM]: /* @__PURE__ */ a(B, { paletteIndex: 5, className: e.caretIcon }),
|
|
25
|
+
[c.MD]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon }),
|
|
26
|
+
[c.LG]: /* @__PURE__ */ a(p, { paletteIndex: 5, className: e.caretIcon })
|
|
27
|
+
}, O = g(e), P = z.forwardRef((f, h) => {
|
|
28
|
+
const {
|
|
29
|
+
children: I,
|
|
30
|
+
expanded: s,
|
|
31
|
+
onToggle: o,
|
|
32
|
+
toggle: n,
|
|
33
|
+
className: x,
|
|
34
|
+
labelExpand: S,
|
|
35
|
+
labelCollapse: u,
|
|
36
|
+
rightBlock: N,
|
|
37
|
+
size: r = c.MD,
|
|
38
|
+
...C
|
|
39
|
+
} = f, d = s !== void 0, [b, v] = T(s), t = d ? s : b, m = E(`Spoiler-${j()}`), M = w(() => {
|
|
40
|
+
const i = !t;
|
|
41
|
+
d ? n == null || n(i) : v(i), o == null || o(i);
|
|
42
|
+
}, [d, n, t, o]), k = _(
|
|
43
|
+
e.spoiler,
|
|
44
|
+
O[r],
|
|
45
|
+
{
|
|
46
|
+
[e.opened]: t
|
|
47
|
+
},
|
|
48
|
+
x
|
|
49
|
+
);
|
|
50
|
+
return /* @__PURE__ */ l("div", { ...C, className: k, "data-tx": "1.5.0", ref: h, children: [
|
|
51
|
+
/* @__PURE__ */ l("div", { className: e.head, children: [
|
|
52
|
+
/* @__PURE__ */ l(
|
|
53
|
+
L,
|
|
54
|
+
{
|
|
55
|
+
"aria-expanded": t,
|
|
56
|
+
"aria-controls": m.current,
|
|
57
|
+
theme: R.LINK,
|
|
58
|
+
size: r,
|
|
59
|
+
onClick: M,
|
|
60
|
+
children: [
|
|
61
|
+
t ? u : S,
|
|
62
|
+
J[r]
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
N
|
|
67
|
+
] }),
|
|
68
|
+
/* @__PURE__ */ a("div", { id: m.current, className: _(e.content, { [e.hidden]: !t }), children: I })
|
|
69
|
+
] });
|
|
70
|
+
});
|
|
71
|
+
P.displayName = "Spoiler";
|
|
72
|
+
export {
|
|
73
|
+
P as Spoiler
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=Spoiler.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s as r } from "../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
5
|
+
import { EStatusTrackerType as t, EVerticalAlign as o } from "./enums.js";
|
|
6
|
+
import { StatusTrackerMedia as u } from "./components/StatusTrackerMedia.js";
|
|
7
|
+
import { StatusTrackerHeader as f } from "./components/StatusTrackerHeader.js";
|
|
8
|
+
import { StatusTrackerBody as k } from "./components/StatusTrackerBody.js";
|
|
9
|
+
import { StatusTrackerFooter as N } from "./components/StatusTrackerFooter.js";
|
|
10
|
+
const c = {
|
|
11
|
+
[t.REJECTED]: r.rejected,
|
|
12
|
+
[t.WAITING]: r.waiting,
|
|
13
|
+
[t.WARNING]: r.warning,
|
|
14
|
+
[t.APPROVED]: r.approved
|
|
15
|
+
}, g = {
|
|
16
|
+
[o.MIDDLE]: r.verticalAlignMiddle,
|
|
17
|
+
[o.BOTTOM]: r.verticalAlignBottom
|
|
18
|
+
}, v = Object.assign(
|
|
19
|
+
p.forwardRef(function({ children: i, className: m, type: e, verticalAlign: l = o.TOP, ...d }, T) {
|
|
20
|
+
return /* @__PURE__ */ n(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: a(r.statusTrackerWrapper, m),
|
|
24
|
+
...d,
|
|
25
|
+
ref: T,
|
|
26
|
+
"data-tx": "1.5.0",
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ s("div", { className: a(r.statusTrackerBackground, c[e]), children: /* @__PURE__ */ s("div", { className: a(r.statusTrackerColor, c[e]) }) }, e),
|
|
29
|
+
/* @__PURE__ */ s("div", { className: a(r.statusTracker, g[l]), children: i })
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}),
|
|
34
|
+
{
|
|
35
|
+
Media: u,
|
|
36
|
+
Header: f,
|
|
37
|
+
Body: k,
|
|
38
|
+
Footer: N
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
v.displayName = "StatusTracker";
|
|
42
|
+
export {
|
|
43
|
+
v as StatusTracker
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=StatusTracker.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import "../../Alert/AlertContext/AlertContext.js";
|
|
4
|
+
import { AlertProcess as i } from "../../Alert/AlertProcess/AlertProcess.js";
|
|
5
|
+
import "../../Alert/AlertTypeUtils.js";
|
|
6
|
+
import { s as p } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
7
|
+
import "../../Typography/Title.js";
|
|
8
|
+
import { Text as c } from "../../Typography/Text.js";
|
|
9
|
+
import "../../Typography/Caption.js";
|
|
10
|
+
import { ETextSize as a, EFontType as l } from "../../Typography/enums.js";
|
|
11
|
+
const z = (t) => {
|
|
12
|
+
const { children: o, className: e, ...s } = t;
|
|
13
|
+
return /* @__PURE__ */ r(i, { className: m(p.statusTrackerAlert, e), ...s, children: /* @__PURE__ */ r(c, { type: l.PRIMARY, size: a.B3, children: o }) });
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
z as StatusTrackerAlert
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=StatusTrackerAlert.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { StatusTrackerStatus as c } from "./StatusTrackerStatus.js";
|
|
5
|
+
import { StatusTrackerAlert as i } from "./StatusTrackerAlert.js";
|
|
6
|
+
import { s as u } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
7
|
+
const f = Object.assign(
|
|
8
|
+
e.forwardRef(function({ children: t, className: r, ...a }, s) {
|
|
9
|
+
return /* @__PURE__ */ o("div", { className: m(u.statusTrackerChild, r), ...a, ref: s, children: t });
|
|
10
|
+
}),
|
|
11
|
+
{
|
|
12
|
+
Alert: i,
|
|
13
|
+
Status: c
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
f.displayName = "StatusTrackerBody";
|
|
17
|
+
export {
|
|
18
|
+
f as StatusTrackerBody
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=StatusTrackerBody.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { s as c } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
|
|
4
|
+
import { Button as e } from "../../Button/Button.js";
|
|
5
|
+
import "../../Button/ButtonBase.js";
|
|
6
|
+
import "../../Button/ButtonIcon.js";
|
|
7
|
+
import "../../Button/ButtonDropdown.js";
|
|
8
|
+
import "../../Button/ButtonDropdownExtended.js";
|
|
9
|
+
const k = (t) => {
|
|
10
|
+
const { children: r, className: o, ...s } = t;
|
|
11
|
+
return /* @__PURE__ */ m(e, { className: a(c.statusTrackerButton, o), ...s, children: r });
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
k as StatusTrackerButton
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=StatusTrackerButton.js.map
|