@sberbusiness/triplex-next 0.26.0 → 0.28.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-vonjWRtY.js +41 -0
- package/chunks/{CalendarViewItem-BdyVWg8a.js → CalendarViewItem-DysxnR-B.js} +13 -13
- package/chunks/Card.module-DLzMeKEe.js +17 -0
- package/chunks/CheckboxTreeExtended.module-_hckc6T1.js +15 -0
- package/chunks/Chip-C8WEqATD.js +77 -0
- package/chunks/Confirm.module-C9UyoM6r.js +15 -0
- package/chunks/{DropdownListItem-CRdOVwlq.js → DropdownListItem-DEMHVloq.js} +17 -17
- package/chunks/DropdownMobile.module-D_HYruos.js +23 -0
- package/chunks/Footer.module-BijXXNLX.js +9 -0
- package/chunks/{FormFieldInput-CyAOOwnJ.js → FormFieldInput-Cb-NqZOL.js} +17 -17
- package/chunks/HeaderLayoutSidebar.module-BvSSRT60.js +9 -0
- package/chunks/HeaderTabs.module-Yh7VuJr3.js +9 -0
- package/chunks/{HeaderTitle.module-BDZQCHuH.js → HeaderTitle.module-B2aVG-8s.js} +2 -2
- package/chunks/IslandAccordion.module-DXpQN7Ws.js +25 -0
- package/chunks/IslandWidgetFooter.module-DsHrU6Ao.js +9 -0
- package/chunks/IslandWidgetHeader.module-BntNmew_.js +12 -0
- package/chunks/{LightBoxContent-Bp6XRgdB.js → LightBoxContent-CpxzDBba.js} +8 -8
- package/chunks/LightBoxControls.module-BulvfqYp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-jdGcrQ0Q.js +9 -0
- package/chunks/{ListItemControlsButton-PANaJdYf.js → ListItemControlsButton-BcWg1BjZ.js} +19 -19
- package/chunks/ListItemTail.module-lle264d5.js +12 -0
- package/chunks/ListMasterFooter.module-ezPsYAZz.js +10 -0
- package/chunks/ModalWindow.module-CbeisCTo.js +17 -0
- package/chunks/Notification.module-Cdt0qyac.js +20 -0
- package/chunks/Overlay.module-s6l_vTfQ.js +18 -0
- package/chunks/Page.module-DfXEH6KZ.js +11 -0
- package/chunks/SMSField.module-CTGDSJ9H.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEd_dK23.js +15 -0
- package/chunks/{SliderExtendedRail-B33WytbG.js → SliderExtendedRail-D-T2vfBA.js} +2 -2
- package/chunks/StatusTracker.module-DhavZ4lj.js +24 -0
- package/chunks/{StepperStepArrowBorder-9OXwuqOn.js → StepperStepArrowBorder-DoCkMkMz.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-dcZDUPZa.js → SuggestFieldMobileDropdownHint-DMUtIm6D.js} +4 -4
- package/chunks/TableFooter.module-BEbAVyAP.js +14 -0
- package/chunks/TabsExtended.module-DvTlvDRg.js +16 -0
- package/chunks/TabsLine.module-Dc3Qo19q.js +21 -0
- package/chunks/TooltipDesktop.module-CU7dGBwe.js +19 -0
- package/chunks/TreeView.module-BYYaw1fa.js +9 -0
- package/chunks/{UploadZoneInput-BsJhqlie.js → UploadZoneInput-DBUlHhad.js} +2 -2
- package/chunks/{constants-KINy2OSZ.js → constants-3hOLYskn.js} +9 -9
- package/chunks/utils-8R7OR9DQ.js +24 -0
- package/chunks/{utils-CWqa2skI.js → utils-BzsnXGYj.js} +5 -5
- package/chunks/utils-C0T4qN0O.js +73 -0
- package/chunks/utils-C3N8DE_4.js +28 -0
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +3 -3
- package/components/Badge/Badge.js +5 -5
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +13 -13
- 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 +10 -10
- 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 +1 -1
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- 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 +15 -15
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +8 -8
- 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 +38 -37
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +19 -19
- 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 +11 -11
- 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 +4 -4
- 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 +5 -5
- package/components/EmptyView/EmptyView.js +20 -20
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +13 -13
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- 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 +4 -4
- 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 +4 -4
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- 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 +70 -64
- package/components/IslandWidget/IslandWidget.js +49 -41
- 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 +6 -6
- package/components/LightBox/LightBox.js +17 -17
- 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 +75 -68
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +12 -12
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +8 -8
- 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 +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +43 -42
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +22 -21
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +11 -11
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +22 -15
- 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 +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +10 -10
- package/components/ModalWindow/ModalWindow.js +61 -65
- package/components/ModalWindow/components/ModalWindowBody.js +14 -13
- package/components/ModalWindow/components/ModalWindowClose.js +16 -17
- package/components/ModalWindow/components/ModalWindowContent.js +22 -16
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +27 -26
- package/components/MonthYearField/MonthYearField.js +28 -26
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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 +2 -2
- 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 +10 -10
- 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 +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +7 -7
- 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 +3 -3
- package/components/SegmentedControl/SegmentedControlSegment.js +4 -4
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +3 -3
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +13 -13
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +16 -16
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +31 -25
- package/components/Stepper/Stepper.js +13 -13
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- 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 +8 -8
- 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 +1 -1
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- 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 +8 -8
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +14 -14
- 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 +7 -7
- package/components/TopOverlay/TopOverlay.js +5 -5
- 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 +18 -18
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- 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 +96 -28
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-BjHTZKgZ.js +0 -41
- package/chunks/Card.module-gPkzcCGo.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +0 -15
- package/chunks/Chip-CuoqjaG4.js +0 -77
- package/chunks/Confirm.module-bXfHpEZY.js +0 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +0 -23
- package/chunks/Footer.module-Dhevv5cy.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +0 -9
- package/chunks/HeaderTabs.module-BQHI-7dx.js +0 -9
- package/chunks/IslandAccordion.module-ElAylnXP.js +0 -25
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +0 -9
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +0 -12
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +0 -9
- package/chunks/ListItemTail.module-BKP1QEpv.js +0 -12
- package/chunks/ListMasterFooter.module-D1BeGub8.js +0 -10
- package/chunks/ModalWindow.module-PJk-BOT5.js +0 -17
- package/chunks/Notification.module-7THtDpDh.js +0 -20
- package/chunks/Overlay.module-B0Fayqn2.js +0 -18
- package/chunks/Page.module-oxsZ2i2v.js +0 -11
- package/chunks/SMSField.module-DQoHDr5D.js +0 -16
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +0 -15
- package/chunks/StatusTracker.module-CwUmaWht.js +0 -24
- package/chunks/TableFooter.module-DaFBiojx.js +0 -14
- package/chunks/TabsExtended.module-D4GCJESe.js +0 -16
- package/chunks/TabsLine.module-BEA3Lssg.js +0 -21
- package/chunks/TooltipDesktop.module-hff_h0-q.js +0 -19
- package/chunks/TreeView.module-C-XaQJbB.js +0 -9
- package/chunks/utils-BVhTB5hC.js +0 -73
- package/chunks/utils-DFHOghtD.js +0 -28
- package/chunks/utils-TZKbWcP7.js +0 -24
|
@@ -4,9 +4,9 @@ import { EAlertType as e } from "../EAlertType.js";
|
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as m } from "../AlertTypeUtils.js";
|
|
5
5
|
import { Text as y } from "../../Typography/Text.js";
|
|
6
6
|
import { EFontType as r, ETextSize as S } from "../../Typography/enums.js";
|
|
7
|
-
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as
|
|
7
|
+
import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as f, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as _ } from "@sberbusiness/icons-next";
|
|
8
8
|
import { c as E } from "../../../chunks/vendor---Om3uMV.js";
|
|
9
|
-
const R = "
|
|
9
|
+
const R = "alertContext__2b919a7d", N = "alertContextText__c582b856", d = "alertTypeError__dca7724b", C = "alertTypeInfo__4e2fd3c7", A = "alertTypeWarning__0e7eb5a1", O = "alertTypeSystem__e24f5a3b", n = {
|
|
10
10
|
alertContext: R,
|
|
11
11
|
alertContextText: N,
|
|
12
12
|
alertTypeError: d,
|
|
@@ -16,11 +16,11 @@ const R = "alertContext__3ed9809a", N = "alertContextText__0bbc1e83", d = "alert
|
|
|
16
16
|
}, W = (o) => {
|
|
17
17
|
switch (o) {
|
|
18
18
|
case e.INFO:
|
|
19
|
-
return /* @__PURE__ */ t(
|
|
19
|
+
return /* @__PURE__ */ t(_, { paletteIndex: 3 });
|
|
20
20
|
case e.WARNING:
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
21
|
+
return /* @__PURE__ */ t(i, { paletteIndex: 2 });
|
|
22
22
|
case e.ERROR:
|
|
23
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
return /* @__PURE__ */ t(f, { paletteIndex: 1 });
|
|
24
24
|
case e.SYSTEM:
|
|
25
25
|
return /* @__PURE__ */ t(I, { paletteIndex: 4 });
|
|
26
26
|
}
|
|
@@ -29,24 +29,24 @@ const R = "alertContext__3ed9809a", N = "alertContextText__0bbc1e83", d = "alert
|
|
|
29
29
|
[e.WARNING]: r.WARNING,
|
|
30
30
|
[e.ERROR]: r.ERROR,
|
|
31
31
|
[e.SYSTEM]: r.SECONDARY
|
|
32
|
-
},
|
|
33
|
-
({ children: o, className: l, type:
|
|
32
|
+
}, b = x.forwardRef(
|
|
33
|
+
({ children: o, className: l, type: a, renderIcon: s, ...p }, c) => /* @__PURE__ */ T(
|
|
34
34
|
"span",
|
|
35
35
|
{
|
|
36
36
|
role: "alert",
|
|
37
|
-
className: E(
|
|
38
|
-
...
|
|
39
|
-
"data-tx": "0.
|
|
40
|
-
ref:
|
|
37
|
+
className: E(n.alertContext, m[a](n), l),
|
|
38
|
+
...p,
|
|
39
|
+
"data-tx": "0.28.0",
|
|
40
|
+
ref: c,
|
|
41
41
|
children: [
|
|
42
|
-
s || W(
|
|
43
|
-
/* @__PURE__ */ t(y, { size: S.B4, type: u[
|
|
42
|
+
s || W(a),
|
|
43
|
+
/* @__PURE__ */ t(y, { size: S.B4, type: u[a], className: n.alertContextText, children: o })
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
);
|
|
48
|
-
|
|
48
|
+
b.displayName = "AlertContext";
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
b as AlertContext
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=AlertContext.js.map
|
|
@@ -3,7 +3,7 @@ import u, { useState as n } from "react";
|
|
|
3
3
|
import { EAlertType as r } from "../EAlertType.js";
|
|
4
4
|
import { ALERT_TYPE_TO_CLASS_NAME_MAP as N } from "../AlertTypeUtils.js";
|
|
5
5
|
import { ButtonIcon as T } from "../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { s as t, A as i } from "../../../chunks/AlertProcessSpoiler-vonjWRtY.js";
|
|
7
7
|
import { AlertProcessContext as h } from "./AlertProcessContext.js";
|
|
8
8
|
import { EAlertProcessBorderRadius as s } from "./enums.js";
|
|
9
9
|
import { DefaulticonStrokePrdIcon20 as k, SystemStrokeStsIcon20 as M, ErrorStrokeStsIcon20 as O, WarningStrokeStsIcon20 as v, InfoStrokeStsIcon20 as D, CrossStrokeSrvIcon16 as B } from "@sberbusiness/icons-next";
|
|
@@ -45,7 +45,7 @@ const L = {
|
|
|
45
45
|
d
|
|
46
46
|
),
|
|
47
47
|
...f,
|
|
48
|
-
"data-tx": "0.
|
|
48
|
+
"data-tx": "0.28.0",
|
|
49
49
|
ref: I,
|
|
50
50
|
children: [
|
|
51
51
|
/* @__PURE__ */ e("div", { className: t.themeIcon, children: c || L[l] }),
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "@sberbusiness/icons-next";
|
|
4
4
|
import "../../../Button/ButtonIcon.js";
|
|
5
5
|
import "../AlertProcessContext.js";
|
|
6
|
-
import { A as l } from "../../../../chunks/AlertProcessSpoiler-
|
|
6
|
+
import { A as l } from "../../../../chunks/AlertProcessSpoiler-vonjWRtY.js";
|
|
7
7
|
import "../../../../chunks/vendor---Om3uMV.js";
|
|
8
8
|
export {
|
|
9
9
|
l as AlertProcessSpoiler
|
|
@@ -1,7 +1,7 @@
|
|
|
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---Om3uMV.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__4932c85d", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
@@ -24,7 +24,7 @@ const N = "adaptive__ff104013", _ = {
|
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.28.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 k } from "../FormField/enums.js";
|
|
|
5
5
|
import { FormFieldClear as w } from "../FormField/components/FormFieldClear.js";
|
|
6
6
|
import "../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import "../FormField/components/FormFieldDescription.js";
|
|
8
|
-
import { F as A } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as A } from "../../chunks/FormFieldInput-Cb-NqZOL.js";
|
|
9
9
|
import "../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
@@ -2,11 +2,11 @@ import { EAvatarSize as a } from "./enums.js";
|
|
|
2
2
|
import { jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import r from "react";
|
|
4
4
|
import { c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "avatar__6e413f22", e = "xxs__55c4ecb3", d = "xs__a9354df3", n = "sm__3cbfe259", f = "md__9cb989f2", i = "lg__17303bda", v = "xl__0147a0d1", p = "xxl__14d28427", s = {
|
|
6
6
|
avatar: _,
|
|
7
7
|
xxs: e,
|
|
8
|
-
xs:
|
|
9
|
-
sm:
|
|
8
|
+
xs: d,
|
|
9
|
+
sm: n,
|
|
10
10
|
md: f,
|
|
11
11
|
lg: i,
|
|
12
12
|
xl: v,
|
|
@@ -2,11 +2,11 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import g from "react";
|
|
3
3
|
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as i } from "../../utils/classNameMaps.js";
|
|
5
|
-
import { BadgeDot as
|
|
6
|
-
import { BadgeContent as
|
|
5
|
+
import { BadgeDot as _ } from "./BadgeDot.js";
|
|
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__b1272265", P = "sm__86ff8d38", N = "md__93e81934", S = "lg__8910395b", s = {
|
|
10
10
|
badge: b,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: N,
|
|
@@ -15,12 +15,12 @@ const b = "badge__6532641a", P = "sm__226f3df0", N = "md__31ebf2a5", S = "lg__7b
|
|
|
15
15
|
g.forwardRef(
|
|
16
16
|
({ children: m, className: d, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: c(s.badge, h[t], d), ...n, ref: r, children: [
|
|
17
17
|
o ? /* @__PURE__ */ e(p, { children: o }) : null,
|
|
18
|
-
m ? /* @__PURE__ */ e(
|
|
18
|
+
m ? /* @__PURE__ */ e(f, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
19
|
a ? /* @__PURE__ */ e(B, { children: a }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
23
|
-
Dot:
|
|
23
|
+
Dot: _
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
j.displayName = "Badge";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as d } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "badgeDot__bf7eba4c", f = "sm__86ff8d38", g = "md__93e81934", l = "lg__8910395b", o = {
|
|
6
6
|
badgeDot: _,
|
|
7
7
|
sm: f,
|
|
8
8
|
md: g,
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
11
|
-
|
|
9
|
+
lg: l
|
|
10
|
+
}, n = r(o), p = c.forwardRef(({ className: s, size: t, ...a }, e) => /* @__PURE__ */ m("span", { className: d(o.badgeDot, n[t], s), ...a, ref: e }));
|
|
11
|
+
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as BadgeDot
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
-
const m = "
|
|
4
|
+
const m = "badgeContent__bdbaed15", c = "sm__86ff8d38", f = "md__93e81934", b = "lg__8910395b", P = "noPaddingLeft__8f821b37", l = "noPaddingRight__0079ba30", n = {
|
|
5
5
|
badgeContent: m,
|
|
6
6
|
sm: c,
|
|
7
7
|
md: f,
|
|
8
|
-
lg:
|
|
9
|
-
noPaddingLeft:
|
|
8
|
+
lg: b,
|
|
9
|
+
noPaddingLeft: P,
|
|
10
10
|
noPaddingRight: l
|
|
11
11
|
}, r = _(n), C = ({
|
|
12
12
|
children: t,
|
|
13
13
|
size: o,
|
|
14
|
-
noPaddingLeft:
|
|
15
|
-
noPaddingRight:
|
|
14
|
+
noPaddingLeft: d,
|
|
15
|
+
noPaddingRight: a,
|
|
16
16
|
className: e,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
@@ -21,7 +21,7 @@ const m = "badgeContent__6bd2958a", c = "sm__226f3df0", f = "md__31ebf2a5", P =
|
|
|
21
21
|
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
23
|
r[o],
|
|
24
|
-
{ [n.noPaddingLeft]:
|
|
24
|
+
{ [n.noPaddingLeft]: d, [n.noPaddingRight]: a },
|
|
25
25
|
e
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const
|
|
4
|
-
badgePostfix:
|
|
5
|
-
},
|
|
3
|
+
const f = "badgePostfix__3522736f", i = {
|
|
4
|
+
badgePostfix: f
|
|
5
|
+
}, x = ({
|
|
6
6
|
children: s,
|
|
7
7
|
className: o,
|
|
8
8
|
...t
|
|
9
|
-
}) => /* @__PURE__ */ a("span", { className: e(
|
|
10
|
-
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(i.badgePostfix, o), ...t, children: s });
|
|
10
|
+
x.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
x 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
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
badgePrefix:
|
|
5
|
-
},
|
|
6
|
-
|
|
2
|
+
import { c as f } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const i = "badgePrefix__f42a6c0d", x = {
|
|
4
|
+
badgePrefix: i
|
|
5
|
+
}, d = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: f(x.badgePrefix, a), ...s, children: e });
|
|
6
|
+
d.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
d 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
|
-
import
|
|
2
|
+
import e from "react";
|
|
3
3
|
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const y = "
|
|
4
|
+
const y = "body__8a5990b6", c = "bodyInner__c9191728", d = {
|
|
5
5
|
body: y,
|
|
6
6
|
bodyInner: c
|
|
7
|
-
}, b =
|
|
7
|
+
}, b = e.forwardRef(({ children: r, className: s, ...n }, a) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...n, "data-tx": "0.28.0", ref: a, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
8
|
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
b as Body
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
1
|
+
import { jsxs as i, jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import y from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -9,22 +9,22 @@ import { EButtonTheme as e } from "./enums.js";
|
|
|
9
9
|
import { EComponentSize as D } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { IconWrapper as u } from "../IconWrapper/IconWrapper.js";
|
|
11
11
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
-
const k = "
|
|
12
|
+
const k = "general__65f52a4e", M = "expanded__9e172802", E = {
|
|
13
13
|
general: k,
|
|
14
14
|
expanded: M
|
|
15
|
-
}, I = "
|
|
15
|
+
}, I = "secondary__e1fb28e6", O = "expanded__9e172802", N = {
|
|
16
16
|
secondary: I,
|
|
17
17
|
expanded: O
|
|
18
|
-
}, G = "
|
|
18
|
+
}, G = "secondaryLight__cda60709", B = "expanded__9e172802", g = {
|
|
19
19
|
secondaryLight: G,
|
|
20
20
|
expanded: B
|
|
21
|
-
}, Y = "
|
|
21
|
+
}, Y = "danger__fbd1046c", H = "expanded__9e172802", f = {
|
|
22
22
|
danger: Y,
|
|
23
23
|
expanded: H
|
|
24
|
-
}, P = "
|
|
24
|
+
}, P = "link__529c36f6", $ = "expanded__9e172802", A = {
|
|
25
25
|
link: P,
|
|
26
26
|
expanded: $
|
|
27
|
-
}, v = "
|
|
27
|
+
}, v = "button__dd69042b", z = "sm__b12181c0", j = "icon__576e6616", K = "md__e649c650", w = "lg__6124b547", U = "block__76a2e7ef", W = "content__b9a90136", X = "loading__e18279ff", Z = "loader__fa0fffb7", q = "hidden__5662893a", n = {
|
|
28
28
|
button: v,
|
|
29
29
|
sm: z,
|
|
30
30
|
icon: j,
|
|
@@ -36,39 +36,39 @@ const k = "general__16acea7f", M = "expanded__bcbbee85", x = {
|
|
|
36
36
|
loader: Z,
|
|
37
37
|
hidden: q
|
|
38
38
|
}, F = {
|
|
39
|
-
[e.GENERAL]:
|
|
40
|
-
[e.SECONDARY]:
|
|
41
|
-
[e.SECONDARY_LIGHT]:
|
|
42
|
-
[e.DANGER]:
|
|
39
|
+
[e.GENERAL]: E.general,
|
|
40
|
+
[e.SECONDARY]: N.secondary,
|
|
41
|
+
[e.SECONDARY_LIGHT]: g.secondaryLight,
|
|
42
|
+
[e.DANGER]: f.danger,
|
|
43
43
|
[e.LINK]: A.link
|
|
44
44
|
}, J = {
|
|
45
|
-
[e.GENERAL]:
|
|
46
|
-
[e.SECONDARY]:
|
|
47
|
-
[e.SECONDARY_LIGHT]:
|
|
48
|
-
[e.DANGER]:
|
|
45
|
+
[e.GENERAL]: E.expanded,
|
|
46
|
+
[e.SECONDARY]: N.expanded,
|
|
47
|
+
[e.SECONDARY_LIGHT]: g.expanded,
|
|
48
|
+
[e.DANGER]: f.expanded,
|
|
49
49
|
[e.LINK]: A.expanded
|
|
50
50
|
}, Q = C(n), V = (o, t) => {
|
|
51
51
|
const d = [e.SECONDARY, e.SECONDARY_LIGHT].includes(o) ? p.BRAND : p.NEUTRAL;
|
|
52
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ x(R, { theme: d, size: t });
|
|
53
53
|
}, ee = y.forwardRef((o, t) => {
|
|
54
|
-
const { children: d, className: S, disabled: s, theme:
|
|
54
|
+
const { children: d, className: S, disabled: s, theme: a, size: r = D.MD, block: L, loading: c, icon: _, ...b } = o, { "aria-expanded": l } = o, h = m(
|
|
55
55
|
n.button,
|
|
56
|
-
F[
|
|
56
|
+
F[a],
|
|
57
57
|
Q[r],
|
|
58
58
|
{
|
|
59
|
-
[n.block]: !!
|
|
60
|
-
[n.loading]: !!
|
|
59
|
+
[n.block]: !!L,
|
|
60
|
+
[n.loading]: !!c,
|
|
61
61
|
[n.icon]: !!_ && !d,
|
|
62
|
-
[J[
|
|
62
|
+
[J[a]]: !!l
|
|
63
63
|
},
|
|
64
64
|
S
|
|
65
65
|
);
|
|
66
|
-
return /* @__PURE__ */ i(T, { className: h, tabIndex:
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: h, tabIndex: c ? -1 : void 0, disabled: s, ...b, ref: t, children: [
|
|
67
67
|
/* @__PURE__ */ i(u, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
68
|
_,
|
|
69
69
|
d
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ x("div", { className: m(n.loader, !c && n.hidden), children: V(a, r) })
|
|
72
72
|
] });
|
|
73
73
|
});
|
|
74
74
|
ee.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.
|
|
3
|
+
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.28.0", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -11,7 +11,7 @@ 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-DEMHVloq.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";
|
|
@@ -31,7 +31,7 @@ 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__ea35ca85", uo = "block__76a2e7ef", po = "buttonDropdownTarget__6214a4c8", Do = "caretIcon__af540424", wo = "active__4259b876", fo = "buttonDropdownMenuItem__53c252ce", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
37
|
buttonDropdownTarget: po,
|
|
@@ -4,11 +4,11 @@ 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---Om3uMV.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__c1fea580", S = "buttonDropdownExtendedBlock__92c672dc", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className: v, opened: x, setOpened: c, renderButton:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: k, renderDropdown: b, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__a3b47c90", S = "buttonDropdownExtendedBlock__
|
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
38
|
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
k({ opened: e, setOpened: o }),
|
|
41
|
+
b({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { EButtonIconShape as t } from "./enums.js";
|
|
5
5
|
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
-
const I = "
|
|
6
|
+
const I = "buttonIcon__da89c806", _ = "circle__894e20f7", f = "squircle__37291e91", o = {
|
|
7
7
|
buttonIcon: I,
|
|
8
8
|
circle: _,
|
|
9
9
|
squircle: f
|
|
10
|
-
},
|
|
10
|
+
}, C = {
|
|
11
11
|
[t.SQUIRCLE]: o.squircle,
|
|
12
12
|
[t.CIRCLE]: o.circle
|
|
13
|
-
},
|
|
14
|
-
({ className: r, disabled: c, shape:
|
|
15
|
-
const l =
|
|
16
|
-
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active:
|
|
13
|
+
}, E = m.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: e = t.SQUIRCLE, active: s, ...i }, u) => {
|
|
15
|
+
const l = a(o.buttonIcon, C[e], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: s, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...i, ref: u }) });
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
E.displayName = "ButtonIcon";
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
E as ButtonIcon
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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
|
-
var
|
|
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
5
|
import { u as I, c as R } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import V from "react";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as _ } 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__3f161f57", L = "adaptive__0cdd7e81", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -21,13 +21,13 @@ class k extends V.PureComponent {
|
|
|
21
21
|
constructor(t) {
|
|
22
22
|
super(t);
|
|
23
23
|
// Уникальный идентификатор для связи периода с таблицей.
|
|
24
|
-
|
|
24
|
+
p(this, "periodId", `calendar-period-${I()}`);
|
|
25
25
|
/** Обработчик выбора даты. */
|
|
26
|
-
|
|
26
|
+
p(this, "handleDateSelect", (t) => {
|
|
27
27
|
this.props.onDateChange(t);
|
|
28
28
|
});
|
|
29
29
|
/** Обработчик смены страницы. */
|
|
30
|
-
|
|
30
|
+
p(this, "handlePageChange", (t, a) => {
|
|
31
31
|
const { onPageChange: o } = this.props;
|
|
32
32
|
this.setState({
|
|
33
33
|
header: P(t, a),
|
|
@@ -35,7 +35,7 @@ class k extends V.PureComponent {
|
|
|
35
35
|
}), o == null || o(t, a);
|
|
36
36
|
});
|
|
37
37
|
/** Обработчик изменения вида отображения. */
|
|
38
|
-
|
|
38
|
+
p(this, "handleViewChange", (t, a) => {
|
|
39
39
|
const { onViewChange: o } = this.props;
|
|
40
40
|
this.setState({
|
|
41
41
|
header: P(t, a),
|
|
@@ -44,13 +44,13 @@ class k extends V.PureComponent {
|
|
|
44
44
|
}), o == null || o(t, a);
|
|
45
45
|
});
|
|
46
46
|
/** Рендер футера. */
|
|
47
|
-
|
|
47
|
+
p(this, "renderFooter", () => {
|
|
48
48
|
const { pickType: t, yesterdayButtonProps: a, todayButtonProps: o, tomorrowButtonProps: r } = this.props, { viewDate: n, viewMode: e } = this.state;
|
|
49
49
|
let i, s;
|
|
50
50
|
t === y.datePick ? (i = D().startOf("day"), s = e === l.DAYS && n.isSame(i, "month")) : (i = D().startOf("month"), s = e === l.MONTHS && n.isSame(i, "year"));
|
|
51
|
-
const
|
|
51
|
+
const c = s && e === l.DAYS;
|
|
52
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
53
|
-
|
|
53
|
+
c && a && /* @__PURE__ */ h(
|
|
54
54
|
v,
|
|
55
55
|
{
|
|
56
56
|
date: i.clone().subtract(1, "day"),
|
|
@@ -66,7 +66,7 @@ class k extends V.PureComponent {
|
|
|
66
66
|
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected: s }) : o
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
c && r && /* @__PURE__ */ h(
|
|
70
70
|
v,
|
|
71
71
|
{
|
|
72
72
|
date: i.clone().add(1, "day"),
|
|
@@ -107,8 +107,8 @@ class k extends V.PureComponent {
|
|
|
107
107
|
return n;
|
|
108
108
|
}
|
|
109
109
|
componentDidUpdate(t, a) {
|
|
110
|
-
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n,
|
|
111
|
-
if (!(!i ||
|
|
110
|
+
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n, c = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || c != null && c.isSame(s, "day"))) {
|
|
112
112
|
let u = {};
|
|
113
113
|
r && !r.isSame(e, "month") && (u = {
|
|
114
114
|
currentTab: l.DAYS,
|
|
@@ -130,14 +130,14 @@ class k extends V.PureComponent {
|
|
|
130
130
|
dayHtmlAttributes: e,
|
|
131
131
|
monthHtmlAttributes: i,
|
|
132
132
|
yearHtmlAttributes: s,
|
|
133
|
-
prevButtonProps:
|
|
133
|
+
prevButtonProps: c,
|
|
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, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), b = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.28.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -157,7 +157,7 @@ class k extends V.PureComponent {
|
|
|
157
157
|
/* @__PURE__ */ h(
|
|
158
158
|
N,
|
|
159
159
|
{
|
|
160
|
-
prevButtonProps:
|
|
160
|
+
prevButtonProps: c,
|
|
161
161
|
nextButtonProps: u,
|
|
162
162
|
viewButtonProps: C,
|
|
163
163
|
children: Y
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
_,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: b,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -178,11 +178,11 @@ class k extends V.PureComponent {
|
|
|
178
178
|
) });
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
p(k, "defaultProps", {
|
|
182
182
|
format: x,
|
|
183
183
|
limitRange: O,
|
|
184
184
|
pickType: y.datePick
|
|
185
|
-
}),
|
|
185
|
+
}), p(k, "contextType", w);
|
|
186
186
|
export {
|
|
187
187
|
k as Calendar
|
|
188
188
|
};
|