@sberbusiness/triplex-next 1.26.0 → 1.27.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-kutiygyc.js +41 -0
- package/chunks/{CalendarViewItem-DHFLturD.js → CalendarViewItem-5MWTfOXg.js} +19 -19
- package/chunks/Card.module-BdHlvmcC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CtU7nxR-.js +15 -0
- package/chunks/Chip-BOBB8hDQ.js +77 -0
- package/chunks/Confirm.module-DX-8Qawd.js +15 -0
- package/chunks/{DropdownListItem-CjZLy9zZ.js → DropdownListItem-kVq_Shxy.js} +17 -17
- package/chunks/DropdownMobile.module-DxT1Mh6q.js +23 -0
- package/chunks/Footer.module-DBFjyD0W.js +9 -0
- package/chunks/{FormFieldInput-C2TczHnQ.js → FormFieldInput-DB9UpgIs.js} +2 -2
- package/chunks/HeaderLayoutSidebar.module-BIMH5ZRB.js +9 -0
- package/chunks/HeaderTabs.module-D62rOoJt.js +9 -0
- package/chunks/{HeaderTitle.module-BdAYtCP5.js → HeaderTitle.module-Ckh2V8ux.js} +2 -2
- package/chunks/IslandAccordion.module-BI69hCoR.js +25 -0
- package/chunks/IslandWidgetFooter.module-BUJQAvCe.js +9 -0
- package/chunks/IslandWidgetHeader.module-DqTmcCwj.js +12 -0
- package/chunks/{LightBoxContent-B8dwsZcd.js → LightBoxContent-CK07PlB9.js} +8 -8
- package/chunks/LightBoxControls.module-DR9tmKz6.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BiFhnV3i.js +9 -0
- package/chunks/{ListItemControlsButton-DjUxcey4.js → ListItemControlsButton-27xRORri.js} +16 -16
- package/chunks/ListItemTail.module-DKJmlaMg.js +12 -0
- package/chunks/ListMasterFooter.module-DkH4Ou-p.js +10 -0
- package/chunks/ModalWindow.module-Be4wGbwq.js +17 -0
- package/chunks/Notification.module-O5iV5kzx.js +20 -0
- package/chunks/Overlay.module-B0iGlEWG.js +18 -0
- package/chunks/Page.module-D0FFKxyx.js +11 -0
- package/chunks/SMSField.module-DrbNbpz3.js +16 -0
- package/chunks/SliderExtendedMarks.module-A0_OgEiW.js +15 -0
- package/chunks/{SliderExtendedRail-BYK2Vyz9.js → SliderExtendedRail-D7nuFyRp.js} +11 -11
- package/chunks/StatusTracker.module-DenK6Z9K.js +24 -0
- package/chunks/{StepperStepArrowBorder-CHpL6Q5q.js → StepperStepArrowBorder-D9rM6XEL.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint-BpAuE0ir.js → SuggestFieldMobileDropdownHint-CSrNs8VF.js} +4 -4
- package/chunks/TableFooter.module-BqHcJ9ea.js +14 -0
- package/chunks/TabsExtended.module-BtTx6oxY.js +16 -0
- package/chunks/TabsLine.module-C9KVj0hj.js +21 -0
- package/chunks/TooltipDesktop.module-uHaX3xgt.js +19 -0
- package/chunks/TreeView.module-BKi0xbbR.js +9 -0
- package/chunks/{UploadZoneInput-qDtiZYmT.js → UploadZoneInput-Bjnmk93x.js} +7 -7
- package/chunks/{constants-CtrvWwDT.js → constants-1ccyxiKh.js} +9 -9
- package/chunks/utils-BxF0Dq4C.js +24 -0
- package/chunks/{utils-CqjXJ4Td.js → utils-CVIZqPO7.js} +5 -5
- package/chunks/{utils-4uYqfVa-.js → utils-CZzNEYf-.js} +9 -9
- package/chunks/{utils-BYHIu3S4.js → utils-DfVeTN89.js} +4 -4
- package/components/Alert/AlertContext/AlertContext.js +24 -24
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +19 -19
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +2 -2
- package/components/Button/Button.js +16 -16
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +9 -9
- package/components/Checkbox/Checkbox.js +21 -21
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +10 -10
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +17 -17
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +144 -144
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +21 -21
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +2 -2
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +17 -17
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +12 -12
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +29 -29
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +9 -9
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +69 -63
- package/components/IslandWidget/IslandWidget.js +50 -42
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +16 -16
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/Link/Link.js +13 -13
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +2 -2
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +23 -22
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +20 -13
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +1 -1
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +11 -11
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- 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 +5 -5
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +6 -6
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +14 -14
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +15 -15
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +14 -14
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +12 -12
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +30 -24
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- 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 +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- 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 +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +59 -20
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-Boz5enko.js +0 -41
- package/chunks/Card.module-Bn676gKC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +0 -15
- package/chunks/Chip-Di8g8Z6j.js +0 -77
- package/chunks/Confirm.module-b8ZTqcR2.js +0 -15
- package/chunks/DropdownMobile.module-B2yaydF-.js +0 -23
- package/chunks/Footer.module-DlTuw8bG.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +0 -9
- package/chunks/HeaderTabs.module-D88xeP19.js +0 -9
- package/chunks/IslandAccordion.module-CbGSbbl6.js +0 -25
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +0 -9
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +0 -12
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +0 -9
- package/chunks/ListItemTail.module-CIBEtGa9.js +0 -12
- package/chunks/ListMasterFooter.module-DDv57q5J.js +0 -10
- package/chunks/ModalWindow.module-Cek3j-PN.js +0 -17
- package/chunks/Notification.module-BWxDmBI2.js +0 -20
- package/chunks/Overlay.module-CUZKmhvQ.js +0 -18
- package/chunks/Page.module-BD0MsbnW.js +0 -11
- package/chunks/SMSField.module-B6sFmN1l.js +0 -16
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +0 -15
- package/chunks/StatusTracker.module-DQI30fwP.js +0 -24
- package/chunks/TableFooter.module-DB3LfuRN.js +0 -14
- package/chunks/TabsExtended.module-DbTk0iCS.js +0 -16
- package/chunks/TabsLine.module-D3zxaGjs.js +0 -21
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +0 -19
- package/chunks/TreeView.module-BXHaAGRo.js +0 -9
- package/chunks/utils-DhWCXYI8.js +0 -24
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__78ffea76", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
|
-
className:
|
|
8
|
-
value:
|
|
9
|
-
fractionLength:
|
|
7
|
+
className: o,
|
|
8
|
+
value: r,
|
|
9
|
+
fractionLength: s,
|
|
10
10
|
currency: e,
|
|
11
|
-
currencyTitle:
|
|
12
|
-
adaptive:
|
|
11
|
+
currencyTitle: m,
|
|
12
|
+
adaptive: c,
|
|
13
13
|
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
|
-
let t = u(
|
|
16
|
+
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title:
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
|
-
[_.adaptive]: !!
|
|
23
|
+
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.27.0", children: [
|
|
28
28
|
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
29
|
e && p()
|
|
30
30
|
] });
|
|
@@ -5,7 +5,7 @@ import { EFormFieldStatus as _ } from "../FormField/enums.js";
|
|
|
5
5
|
import { FormFieldClear as k } from "../FormField/components/FormFieldClear.js";
|
|
6
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import "../FormField/components/FormFieldDescription.js";
|
|
8
|
-
import { F as w } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as w } from "../../chunks/FormFieldInput-DB9UpgIs.js";
|
|
9
9
|
import "../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EAvatarSize as
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import { c as
|
|
5
|
-
const
|
|
6
|
-
avatar:
|
|
7
|
-
xxs:
|
|
8
|
-
xs:
|
|
1
|
+
import { EAvatarSize as a } from "./enums.js";
|
|
2
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import r from "react";
|
|
4
|
+
import { c as _ } from "../../chunks/vendor-DudMBGKr.js";
|
|
5
|
+
const c = "avatar__b100de1d", d = "xxs__dd3cae0e", e = "xs__e6d8991b", n = "sm__789b845f", f = "md__b2a38245", i = "lg__7ed7474d", v = "xl__f9d15c5a", p = "xxl__28eb62ed", s = {
|
|
6
|
+
avatar: c,
|
|
7
|
+
xxs: d,
|
|
8
|
+
xs: e,
|
|
9
9
|
sm: n,
|
|
10
10
|
md: f,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
13
13
|
xxl: p
|
|
14
|
-
},
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
},
|
|
23
|
-
|
|
14
|
+
}, X = {
|
|
15
|
+
[a.XXS]: s.xxs,
|
|
16
|
+
[a.XS]: s.xs,
|
|
17
|
+
[a.SM]: s.sm,
|
|
18
|
+
[a.MD]: s.md,
|
|
19
|
+
[a.LG]: s.lg,
|
|
20
|
+
[a.XL]: s.xl,
|
|
21
|
+
[a.XXL]: s.xxl
|
|
22
|
+
}, b = r.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ l("div", { className: _(s.avatar, X[t], x), ...o, ref: m }));
|
|
23
|
+
b.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
b as Avatar
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Avatar.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
3
|
import { c as g } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { createSizeToClassNameMap as _ } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { BadgeDot as i } from "./BadgeDot.js";
|
|
6
6
|
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
7
|
import { BadgePrefix as p } from "./components/BadgePrefix.js";
|
|
8
8
|
import { BadgePostfix as B } from "./components/BadgePostfix.js";
|
|
9
|
-
const b = "
|
|
9
|
+
const b = "badge__c5b9259e", P = "sm__46573f6d", u = "md__e3d4cae3", N = "lg__1f6e8811", d = {
|
|
10
10
|
badge: b,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: u,
|
|
13
13
|
lg: N
|
|
14
|
-
}, S = _(
|
|
15
|
-
|
|
16
|
-
({ children: t, className: s, size:
|
|
17
|
-
o ? /* @__PURE__ */
|
|
18
|
-
t ? /* @__PURE__ */
|
|
19
|
-
|
|
14
|
+
}, S = _(d), h = Object.assign(
|
|
15
|
+
c.forwardRef(
|
|
16
|
+
({ children: t, className: s, size: m, prefix: o, postfix: e, ...n }, r) => /* @__PURE__ */ l("span", { className: g(d.badge, S[m], s), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ a(p, { children: o }) : null,
|
|
18
|
+
t ? /* @__PURE__ */ a(f, { size: m, noPaddingLeft: !!o, noPaddingRight: !!e, children: t }) : null,
|
|
19
|
+
e ? /* @__PURE__ */ a(B, { children: e }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const r = "
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as _ } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { createSizeToClassNameMap as c } from "../../utils/classNameMaps.js";
|
|
5
|
+
const r = "badgeDot__198d45d5", f = "sm__46573f6d", g = "md__e3d4cae3", l = "lg__1f6e8811", o = {
|
|
6
6
|
badgeDot: r,
|
|
7
7
|
sm: f,
|
|
8
8
|
md: g,
|
|
9
9
|
lg: l
|
|
10
|
-
}, n =
|
|
10
|
+
}, n = c(o), p = d.forwardRef(({ className: t, size: s, ...a }, e) => /* @__PURE__ */ m("span", { className: _(o.badgeDot, n[s], t), ...a, ref: e }));
|
|
11
11
|
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
13
|
p as BadgeDot
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { createSizeToClassNameMap as
|
|
4
|
-
const
|
|
5
|
-
badgeContent:
|
|
6
|
-
sm:
|
|
3
|
+
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const m = "badgeContent__01d35e3a", c = "sm__46573f6d", f = "md__e3d4cae3", P = "lg__1f6e8811", l = "noPaddingLeft__f5a0d48b", r = "noPaddingRight__b4545f8a", n = {
|
|
5
|
+
badgeContent: m,
|
|
6
|
+
sm: c,
|
|
7
7
|
md: f,
|
|
8
8
|
lg: P,
|
|
9
9
|
noPaddingLeft: l,
|
|
10
10
|
noPaddingRight: r
|
|
11
|
-
}, C =
|
|
11
|
+
}, C = _(n), p = ({
|
|
12
12
|
children: t,
|
|
13
13
|
size: o,
|
|
14
|
-
noPaddingLeft:
|
|
15
|
-
noPaddingRight:
|
|
16
|
-
className:
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: a,
|
|
16
|
+
className: e,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
19
19
|
"span",
|
|
@@ -21,8 +21,8 @@ const _ = "badgeContent__92084fe7", m = "sm__5c612cec", f = "md__a1022922", P =
|
|
|
21
21
|
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
23
|
C[o],
|
|
24
|
-
{ [n.noPaddingLeft]:
|
|
25
|
-
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: a },
|
|
25
|
+
e
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
28
28
|
children: t
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
const i = "
|
|
3
|
+
const i = "badgePostfix__b81a3cc3", x = {
|
|
4
4
|
badgePostfix: i
|
|
5
|
-
},
|
|
5
|
+
}, c = ({
|
|
6
6
|
children: s,
|
|
7
7
|
className: o,
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
8
|
+
...a
|
|
9
|
+
}) => /* @__PURE__ */ t("span", { className: e(x.badgePostfix, o), ...a, children: s });
|
|
10
|
+
c.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
c as BadgePostfix
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=BadgePostfix.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
const x = "
|
|
3
|
+
const x = "badgePrefix__2beee675", f = {
|
|
4
4
|
badgePrefix: x
|
|
5
|
-
},
|
|
6
|
-
|
|
5
|
+
}, o = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(f.badgePrefix, a), ...s, children: e });
|
|
6
|
+
o.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
o as BadgePrefix
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=BadgePrefix.js.map
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { c as t } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
const y = "
|
|
4
|
+
const y = "body__3706a304", c = "bodyInner__1fbdf722", d = {
|
|
5
5
|
body: y,
|
|
6
6
|
bodyInner: c
|
|
7
|
-
}, b = n.forwardRef(({ children: r, className: s, ...a }, e) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...a, "data-tx": "1.
|
|
7
|
+
}, b = n.forwardRef(({ children: r, className: s, ...a }, e) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...a, "data-tx": "1.27.0", ref: e, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
8
|
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
b as Body
|
|
@@ -9,22 +9,22 @@ import { EButtonTheme as e } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize as u } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper as D } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
-
const k = "
|
|
12
|
+
const k = "general__512cd1ed", M = "expanded__27a877d2", E = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__1ce18ebf", O = "expanded__27a877d2", N = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__d0350000", B = "expanded__27a877d2", g = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__294d2c65", H = "expanded__27a877d2", f = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__913e9a6e", $ = "expanded__27a877d2", A = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__9ccdd1e9", z = "sm__b1cffc9f", j = "icon__21ad4eda", K = "md__1f1a876d", w = "lg__fefdd460", U = "block__7d9d6e12", W = "content__481aa1ed", X = "loading__ca780fef", Z = "loader__cab30b6c", q = "hidden__90c5969f", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -47,28 +47,28 @@ const k = "general__fff4f187", M = "expanded__ce0c86c5", E = {
|
|
|
47
47
|
[e.SECONDARY_LIGHT]: g.expanded,
|
|
48
48
|
[e.DANGER]: f.expanded,
|
|
49
49
|
[e.LINK]: A.expanded
|
|
50
|
-
}, Q = C(n), V = (
|
|
51
|
-
const
|
|
52
|
-
return /* @__PURE__ */ x(R, { theme:
|
|
53
|
-
}, ee = b.forwardRef((
|
|
54
|
-
const { children:
|
|
50
|
+
}, Q = C(n), V = (d, a) => {
|
|
51
|
+
const o = [e.SECONDARY, e.SECONDARY_LIGHT].includes(d) ? p.BRAND : p.NEUTRAL;
|
|
52
|
+
return /* @__PURE__ */ x(R, { theme: o, size: a });
|
|
53
|
+
}, ee = b.forwardRef((d, a) => {
|
|
54
|
+
const { children: o, className: S, disabled: s, theme: t, size: r = u.MD, block: L, loading: c, icon: _, ...h } = d, { "aria-expanded": l } = d, y = m(
|
|
55
55
|
n.button,
|
|
56
56
|
F[t],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
59
|
[n.block]: !!L,
|
|
60
|
-
[n.loading]: !!
|
|
61
|
-
[n.icon]: !!_ && !
|
|
60
|
+
[n.loading]: !!c,
|
|
61
|
+
[n.icon]: !!_ && !o,
|
|
62
62
|
[J[t]]: !!l
|
|
63
63
|
},
|
|
64
64
|
S
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className: y, tabIndex:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: y, tabIndex: c ? -1 : void 0, disabled: s, ...h, ref: a, children: [
|
|
67
67
|
/* @__PURE__ */ i(D, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
68
|
_,
|
|
69
|
-
|
|
69
|
+
o
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */ x("div", { className: m(n.loader, !
|
|
71
|
+
/* @__PURE__ */ x("div", { className: m(n.loader, !c && n.hidden), children: V(t, r) })
|
|
72
72
|
] });
|
|
73
73
|
});
|
|
74
74
|
ee.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.27.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -6,12 +6,12 @@ import q, { useRef as I, useState as F, createElement as B } from "react";
|
|
|
6
6
|
import { c as w, u as V } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
7
|
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon24 as Q, CaretdownStrokeSrvIcon20 as X, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
|
-
import { EButtonDotsTheme as N, EButtonTheme as
|
|
9
|
+
import { EButtonDotsTheme as N, EButtonTheme as d } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
13
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
14
|
+
import "../../chunks/DropdownListItem-kVq_Shxy.js";
|
|
15
15
|
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
17
|
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -24,14 +24,14 @@ import { DropdownMobileList as ao } from "../Dropdown/mobile/DropdownMobileList.
|
|
|
24
24
|
import { DropdownMobileListItem as so } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
|
-
import { EComponentSize as
|
|
27
|
+
import { EComponentSize as l } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
29
|
import { ETextSize as io } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
32
|
import { Text as mo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const lo = "
|
|
34
|
+
const lo = "buttonDropdown__da77164b", uo = "block__7d9d6e12", po = "buttonDropdownTarget__6703bf25", Do = "caretIcon__7f0419cf", fo = "active__0162f729", wo = "buttonDropdownMenuItem__24949edd", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
37
|
buttonDropdownTarget: po,
|
|
@@ -39,13 +39,13 @@ const lo = "buttonDropdown__9645dfba", uo = "block__906144f4", po = "buttonDropd
|
|
|
39
39
|
active: fo,
|
|
40
40
|
buttonDropdownMenuItem: wo
|
|
41
41
|
}, bo = {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
42
|
+
[l.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
|
+
[l.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
|
+
[l.LG]: /* @__PURE__ */ t(J, { paletteIndex: 0 })
|
|
45
45
|
}, G = {
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
46
|
+
[l.SM]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
47
|
+
[l.MD]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[l.LG]: (a) => /* @__PURE__ */ t(Q, { paletteIndex: a, className: n.caretIcon })
|
|
49
49
|
}, So = q.forwardRef(
|
|
50
50
|
(a, f) => {
|
|
51
51
|
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block: b, disabled: T, ...W } = a, C = I(null), A = I(null), Y = w(n.buttonDropdown, { [n.block]: !!b }, P), [S, z] = F(), _ = I(V()), H = ({ opened: o, setOpened: e }) => {
|
|
@@ -82,7 +82,7 @@ const lo = "buttonDropdown__9645dfba", uo = "block__906144f4", po = "buttonDropd
|
|
|
82
82
|
v,
|
|
83
83
|
{
|
|
84
84
|
className: c,
|
|
85
|
-
theme: u === N.DOTS_SECONDARY ?
|
|
85
|
+
theme: u === N.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
86
86
|
size: s,
|
|
87
87
|
onKeyDown: O({ opened: o, setOpened: e }),
|
|
88
88
|
onClick: k({ opened: o, setOpened: e }),
|
|
@@ -101,11 +101,11 @@ const lo = "buttonDropdown__9645dfba", uo = "block__906144f4", po = "buttonDropd
|
|
|
101
101
|
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && c.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
102
102
|
}, j = () => {
|
|
103
103
|
switch (u) {
|
|
104
|
-
case
|
|
105
|
-
case
|
|
104
|
+
case d.GENERAL:
|
|
105
|
+
case d.DANGER:
|
|
106
106
|
return G[s](7);
|
|
107
|
-
case
|
|
108
|
-
case
|
|
107
|
+
case d.SECONDARY:
|
|
108
|
+
case d.SECONDARY_LIGHT:
|
|
109
109
|
return G[s](0);
|
|
110
110
|
default:
|
|
111
111
|
return null;
|
|
@@ -4,7 +4,7 @@ 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
6
|
import { c as A } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__1c0a136d", S = "buttonDropdownExtendedBlock__b227feee", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__9bfe1206", 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, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -3,10 +3,10 @@ import a from "react";
|
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const _ = "
|
|
6
|
+
const _ = "buttonIcon__e6d4cc2d", I = "circle__4f3568ee", f = "squircle__a2fb9602", o = {
|
|
7
7
|
buttonIcon: _,
|
|
8
|
-
circle:
|
|
9
|
-
squircle:
|
|
8
|
+
circle: I,
|
|
9
|
+
squircle: f
|
|
10
10
|
}, b = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
@@ -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__1b2567a4", L = "adaptive__8077c552", 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.27.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 b, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as E } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__864b0382", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__2add8050", 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), O = () => {
|
|
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: b.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__2add8050", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: b.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__2add8050", 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 || E.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 || E.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__2add8050", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
O(),
|
|
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:
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__f6362b42", 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
|
|
@@ -5,7 +5,7 @@ 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-5MWTfOXg.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";
|
|
@@ -4,7 +4,7 @@ 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-5MWTfOXg.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-5MWTfOXg.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-5MWTfOXg.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 = {} }) => {
|