@sberbusiness/triplex-next 1.20.0 → 1.22.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/README.md +89 -22
- package/chunks/AlertProcessSpoiler-Cbhbwi6f.js +39 -0
- package/chunks/{CalendarViewItem-B22G4WdJ.js → CalendarViewItem-UwoR2Xwr.js} +18 -18
- package/chunks/Card.module-CPD2xDmu.js +17 -0
- package/chunks/CheckboxTreeExtended.module-F91Rxq8x.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-Bxr2kLyU.js} +6 -6
- package/chunks/Confirm.module-CmYpxyDp.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-Dl8gN2ar.js} +22 -22
- package/chunks/DropdownMobile.module-l5rlPxNK.js +23 -0
- package/chunks/Footer.module-CjY-6G8t.js +9 -0
- package/chunks/FormFieldInput--W9kjf4s.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-fr4_lzKQ.js +9 -0
- package/chunks/HeaderTabs.module-Clz5KbqR.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-DUqjpN6C.js} +2 -2
- package/chunks/IslandAccordion.module-CPVWJz-Z.js +25 -0
- package/chunks/IslandWidgetFooter.module-BRjR7Nva.js +9 -0
- package/chunks/IslandWidgetHeader.module-CQVHkydc.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-CBpCA29-.js} +15 -15
- package/chunks/LightBoxControls.module-6rLkTPqp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-1PauvUbz.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-BZSR-ESi.js} +11 -11
- package/chunks/ListItemTail.module-TZkbhx39.js +12 -0
- package/chunks/ListMasterFooter.module-BJocFxEb.js +10 -0
- package/chunks/ModalWindow.module-CACqfnx4.js +17 -0
- package/chunks/Notification.module-ByKcbqB9.js +20 -0
- package/chunks/Overlay.module-fYkVPgjL.js +18 -0
- package/chunks/Page.module-Bhn0Pz59.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-C390Za7P.js} +11 -11
- package/chunks/SMSField.module-KA-eacXJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-Dy1FdmU-.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-Dld8UNeR.js} +8 -8
- package/chunks/StatusTracker.module-B8xoFRr0.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-Cf_uwjFP.js} +6 -6
- package/chunks/TableFooter.module-b8TKJFW8.js +14 -0
- package/chunks/TabsExtended.module-k8oKnmv6.js +16 -0
- package/chunks/TabsLine.module-BLpqn-ZP.js +21 -0
- package/chunks/TooltipDesktop.module-DgogF0cV.js +19 -0
- package/chunks/TreeView.module-lJCCAWQb.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput-CQYsDdG_.js} +3 -3
- package/chunks/{constants-mUMWgzNs.js → constants-Crak3JEf.js} +11 -11
- package/chunks/utils-CS30w_en.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-Dq2VA3Zd.js} +6 -6
- package/chunks/utils-R-JQhhgt.js +24 -0
- package/chunks/utils-Z8JNo8tP.js +28 -0
- package/chunks/{vendor-BIl4KTrD.js → vendor-BiObpx9E.js} +8836 -8700
- 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 +8 -8
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +10 -10
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +2 -2
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -78
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +15 -15
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +11 -12
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +9 -10
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +20 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +12 -12
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- 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 +2 -2
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/Footer/Footer.js +1 -1
- 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 +67 -73
- package/components/FormField/FormFieldContext.js +16 -13
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +31 -33
- package/components/FormField/components/FormFieldMaskedInput.js +32 -32
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +56 -46
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- 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 +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +4 -4
- package/components/LightBox/LightBox.js +35 -35
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +8 -8
- 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 +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +8 -8
- 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 +9 -9
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +51 -35
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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/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 +5 -5
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +3 -3
- 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 +2 -2
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- 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 +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +73 -69
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +8 -8
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +8 -8
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +26 -25
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- 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 +31 -31
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +7 -7
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- 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 +5 -5
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- 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 +20 -20
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +2 -2
- package/components/TagColor/TagColor.js +22 -20
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +20 -20
- package/components/Typography/Text.js +22 -22
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +583 -566
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +271 -39
- package/index.js +621 -604
- package/package.json +6 -3
- package/styles/triplex-next.css +541 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-CT4kuQU5.js +0 -39
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C64rf2gI.js +0 -27
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,172 +1,185 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as O } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
5
|
import F, { useRef as I, useState as V, createElement as x } from "react";
|
|
6
|
-
import { c as w, u as J } from "../../chunks/vendor-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { c as w, u as J } from "../../chunks/vendor-BiObpx9E.js";
|
|
7
|
+
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
8
|
+
import { ButtonDropdownExtended as L } from "./ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonDotsTheme as u, EButtonTheme as l } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
|
-
import
|
|
13
|
-
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
|
-
import { DropdownMobileList as ro } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
15
|
-
import { DropdownMobileListItem as no } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
|
-
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
17
|
-
import { Text as ao } from "../Typography/Text.js";
|
|
18
|
-
import { ETextSize as so } from "../Typography/enums.js";
|
|
12
|
+
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
19
13
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
import "../../chunks/DropdownListItem-Dl8gN2ar.js";
|
|
15
|
+
import { EDropdownWidth as to } from "../Dropdown/desktop/enums.js";
|
|
16
|
+
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
|
+
import { DropdownMobileBody as ro } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
|
+
import { DropdownMobileClose as eo } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
|
+
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
+
import { DropdownMobileHeader as no } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
21
|
+
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
22
|
+
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
23
|
+
import { DropdownMobileList as co } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
24
|
+
import { DropdownMobileListItem as ao } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
|
+
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
|
+
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
|
+
import { EComponentSize as p } from "../../enums/EComponentSize.js";
|
|
28
|
+
import "../Dropdown/Dropdown.js";
|
|
29
|
+
import { ETextSize as so } from "../Typography/enums.js";
|
|
30
|
+
import "../Typography/Caption.js";
|
|
31
|
+
import { Text as io } from "../Typography/Text.js";
|
|
32
|
+
import "../Typography/Title.js";
|
|
33
|
+
const mo = "buttonDropdown__5a05ef68", lo = "block__5dbb1748", uo = "buttonDropdownTarget__2eac2656", Do = "caretIcon__09e4b362", po = "active__add9b9f2", fo = "buttonDropdownMenuItem__adf4e210", n = {
|
|
34
|
+
buttonDropdown: mo,
|
|
35
|
+
block: lo,
|
|
36
|
+
buttonDropdownTarget: uo,
|
|
37
|
+
caretIcon: Do,
|
|
38
|
+
active: po,
|
|
27
39
|
buttonDropdownMenuItem: fo
|
|
28
|
-
},
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
}, g = (
|
|
33
|
-
(
|
|
34
|
-
const { buttonAttributes: R, children: h, className:
|
|
40
|
+
}, bo = {
|
|
41
|
+
[p.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
42
|
+
[p.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
|
+
[p.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
44
|
+
}, g = (f, c) => f === p.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : f === p.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), wo = F.forwardRef(
|
|
45
|
+
(f, c) => {
|
|
46
|
+
const { buttonAttributes: R, children: h, className: G, theme: b, size: s, options: T, selected: m, block: S, disabled: C, ...z } = f, E = I(null), k = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, G), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: e }) => {
|
|
35
47
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
48
|
[n.active]: o,
|
|
37
49
|
[n.block]: !!S
|
|
38
50
|
});
|
|
39
51
|
return /* @__PURE__ */ B(
|
|
40
|
-
|
|
52
|
+
O,
|
|
41
53
|
{
|
|
42
54
|
className: a,
|
|
43
55
|
theme: b,
|
|
44
56
|
size: s,
|
|
45
|
-
onKeyDown: A({ opened: o, setOpened:
|
|
46
|
-
onClick:
|
|
47
|
-
disabled:
|
|
57
|
+
onKeyDown: A({ opened: o, setOpened: e }),
|
|
58
|
+
onClick: v({ opened: o, setOpened: e }),
|
|
59
|
+
disabled: C,
|
|
48
60
|
"aria-haspopup": "menu",
|
|
49
61
|
"aria-expanded": o,
|
|
50
62
|
"aria-controls": _.current,
|
|
51
63
|
"aria-activedescendant": N,
|
|
52
64
|
...R,
|
|
53
|
-
ref:
|
|
65
|
+
ref: M,
|
|
54
66
|
children: [
|
|
55
67
|
h,
|
|
56
68
|
j()
|
|
57
69
|
]
|
|
58
70
|
}
|
|
59
71
|
);
|
|
60
|
-
}, K = ({ opened: o, setOpened:
|
|
72
|
+
}, K = ({ opened: o, setOpened: e }) => {
|
|
61
73
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
74
|
[n.active]: o,
|
|
63
75
|
[n.block]: !!S
|
|
64
76
|
});
|
|
65
77
|
return /* @__PURE__ */ t(
|
|
66
|
-
|
|
78
|
+
O,
|
|
67
79
|
{
|
|
68
80
|
className: a,
|
|
69
|
-
theme: b === u.DOTS_SECONDARY ?
|
|
81
|
+
theme: b === u.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
70
82
|
size: s,
|
|
71
|
-
onKeyDown: A({ opened: o, setOpened:
|
|
72
|
-
onClick:
|
|
73
|
-
disabled:
|
|
83
|
+
onKeyDown: A({ opened: o, setOpened: e }),
|
|
84
|
+
onClick: v({ opened: o, setOpened: e }),
|
|
85
|
+
disabled: C,
|
|
74
86
|
"aria-haspopup": "menu",
|
|
75
87
|
"aria-expanded": o,
|
|
76
88
|
"aria-controls": _.current,
|
|
77
89
|
"aria-activedescendant": N,
|
|
78
90
|
...R,
|
|
79
|
-
ref:
|
|
80
|
-
icon:
|
|
91
|
+
ref: M,
|
|
92
|
+
icon: bo[s]
|
|
81
93
|
}
|
|
82
94
|
);
|
|
83
|
-
},
|
|
84
|
-
const { key:
|
|
85
|
-
(D(
|
|
95
|
+
}, v = ({ opened: o, setOpened: e }) => () => e(!o), A = ({ opened: o, setOpened: e }) => (a) => {
|
|
96
|
+
const { key: i } = a;
|
|
97
|
+
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && a.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
86
98
|
}, j = () => {
|
|
87
99
|
switch (b) {
|
|
88
|
-
case
|
|
89
|
-
case
|
|
100
|
+
case l.GENERAL:
|
|
101
|
+
case l.DANGER:
|
|
90
102
|
case u.DOTS_SECONDARY:
|
|
91
103
|
case u.DOTS_SECONDARY_LIGHT:
|
|
92
104
|
return g(s, 7);
|
|
93
|
-
case
|
|
94
|
-
case
|
|
105
|
+
case l.SECONDARY:
|
|
106
|
+
case l.SECONDARY_LIGHT:
|
|
95
107
|
return g(s, 0);
|
|
96
108
|
default:
|
|
97
109
|
return null;
|
|
98
110
|
}
|
|
99
|
-
}, U = ({ opened: o, setOpened:
|
|
100
|
-
const
|
|
111
|
+
}, U = ({ opened: o, setOpened: e, className: a }) => {
|
|
112
|
+
const i = w(n.buttonDropdownMenu, a);
|
|
101
113
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
102
|
-
|
|
114
|
+
L.Dropdown,
|
|
103
115
|
{
|
|
104
116
|
size: s,
|
|
105
|
-
className:
|
|
117
|
+
className: i,
|
|
106
118
|
opened: o,
|
|
107
|
-
setOpened:
|
|
108
|
-
targetRef:
|
|
109
|
-
|
|
119
|
+
setOpened: e,
|
|
120
|
+
targetRef: E,
|
|
121
|
+
width: to.MIN_TARGET,
|
|
122
|
+
ref: k,
|
|
110
123
|
mobileViewProps: {
|
|
111
124
|
children: /* @__PURE__ */ B(q, { children: [
|
|
112
125
|
/* @__PURE__ */ t(
|
|
113
|
-
|
|
126
|
+
no,
|
|
114
127
|
{
|
|
115
|
-
controlButtons: /* @__PURE__ */ t(
|
|
116
|
-
children: /* @__PURE__ */ t(
|
|
128
|
+
controlButtons: /* @__PURE__ */ t(eo, { onClick: () => e(!1) }),
|
|
129
|
+
children: /* @__PURE__ */ t(io, { tag: "div", size: so.B3, children: h })
|
|
117
130
|
}
|
|
118
131
|
),
|
|
119
|
-
/* @__PURE__ */ t(
|
|
120
|
-
|
|
132
|
+
/* @__PURE__ */ t(ro, { children: /* @__PURE__ */ t(co, { children: T.map((r) => /* @__PURE__ */ x(
|
|
133
|
+
ao,
|
|
121
134
|
{
|
|
122
|
-
...
|
|
123
|
-
key:
|
|
124
|
-
selected:
|
|
135
|
+
...r,
|
|
136
|
+
key: r.id,
|
|
137
|
+
selected: r.id === (m == null ? void 0 : m.id),
|
|
125
138
|
onSelect: () => {
|
|
126
|
-
var
|
|
127
|
-
(
|
|
139
|
+
var d;
|
|
140
|
+
(d = r.onSelect) == null || d.call(r), e(!1);
|
|
128
141
|
}
|
|
129
142
|
},
|
|
130
|
-
|
|
143
|
+
r.label
|
|
131
144
|
)) }) })
|
|
132
145
|
] })
|
|
133
146
|
},
|
|
134
|
-
children: /* @__PURE__ */ t(Y, { dropdownOpened: o, id: _.current, size: s, children:
|
|
147
|
+
children: /* @__PURE__ */ t(Y, { dropdownOpened: o, id: _.current, size: s, children: T.map((r) => /* @__PURE__ */ x(
|
|
135
148
|
Y.Item,
|
|
136
149
|
{
|
|
137
|
-
...
|
|
150
|
+
...r,
|
|
138
151
|
className: n.buttonDropdownMenuItem,
|
|
139
|
-
key:
|
|
140
|
-
selected:
|
|
152
|
+
key: r.id,
|
|
153
|
+
selected: r.id === (m == null ? void 0 : m.id),
|
|
141
154
|
onSelect: () => {
|
|
142
|
-
var
|
|
143
|
-
(
|
|
155
|
+
var d;
|
|
156
|
+
(d = r.onSelect) == null || d.call(r), e(!1);
|
|
144
157
|
}
|
|
145
158
|
},
|
|
146
|
-
|
|
159
|
+
r.label
|
|
147
160
|
)) })
|
|
148
161
|
}
|
|
149
162
|
) });
|
|
150
|
-
},
|
|
151
|
-
|
|
163
|
+
}, M = (o) => {
|
|
164
|
+
E.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
152
165
|
};
|
|
153
166
|
return /* @__PURE__ */ t(
|
|
154
|
-
|
|
167
|
+
L,
|
|
155
168
|
{
|
|
156
169
|
className: W,
|
|
157
170
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
171
|
b
|
|
159
172
|
) ? K : P,
|
|
160
173
|
renderDropdown: U,
|
|
161
|
-
dropdownRef:
|
|
174
|
+
dropdownRef: k,
|
|
162
175
|
closeOnTab: !0,
|
|
163
|
-
...
|
|
176
|
+
...z
|
|
164
177
|
}
|
|
165
178
|
);
|
|
166
179
|
}
|
|
167
180
|
);
|
|
168
|
-
|
|
181
|
+
wo.displayName = "ButtonDropdown";
|
|
169
182
|
export {
|
|
170
|
-
|
|
183
|
+
wo as ButtonDropdown
|
|
171
184
|
};
|
|
172
185
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -3,8 +3,8 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-BiObpx9E.js";
|
|
7
|
+
const K = "buttonDropdownExtended__38bfb108", S = "buttonDropdownExtendedBlock__9fbd5ec4", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__3b2c412f", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
3
|
+
import { c as m } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
+
const p = "buttonIcon__ed0515be", I = "circle__6770dac2", b = "squircle__5243c2df", t = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: b
|
|
9
9
|
}, f = {
|
|
10
|
-
[
|
|
11
|
-
[
|
|
10
|
+
[o.SQUIRCLE]: t.squircle,
|
|
11
|
+
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className: e, disabled:
|
|
14
|
-
const l = m(
|
|
13
|
+
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const l = m(t.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!c
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled:
|
|
18
|
+
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
_.displayName = "ButtonIcon";
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import { u as I, c as R } from "../../chunks/vendor-
|
|
5
|
+
import { u as I, c as R } from "../../chunks/vendor-BiObpx9E.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import D from "moment";
|
|
8
8
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
13
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
14
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
15
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
16
|
-
const q = "
|
|
16
|
+
const q = "calendar__510ebe70", L = "adaptive__ea8e0f2c", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -134,10 +134,10 @@ class k extends V.PureComponent {
|
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), F = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.22.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
N,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: F,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__04954c92", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__b5f70556", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), b = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__b5f70556", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__b5f70556", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || O.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || O.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__b5f70556", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children: o }) => /* @__PURE__ */
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__7827ea36", r = {
|
|
3
|
+
calendarFooter: e
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-BiObpx9E.js";
|
|
3
3
|
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
import c from "moment";
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-UwoR2Xwr.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-BiObpx9E.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-UwoR2Xwr.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-UwoR2Xwr.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-UwoR2Xwr.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor-BiObpx9E.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-CPD2xDmu.js";
|
|
14
|
+
const O = "action__65f10c91", F = "selected__181b965e", V = "focusVisible__881a7258", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,27 +66,27 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected:
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
80
80
|
{
|
|
81
|
-
[a.focusVisible]:
|
|
82
|
-
[a.selected]: E ? !!m :
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.22.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-BiObpx9E.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-CPD2xDmu.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.22.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-BiObpx9E.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-CPD2xDmu.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-BiObpx9E.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CPD2xDmu.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-BiObpx9E.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CPD2xDmu.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-BiObpx9E.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-CPD2xDmu.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|