@sberbusiness/triplex-next 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/{AlertProcessSpoiler-io5SjBK8.js → AlertProcessSpoiler-IulaUJl0.js} +9 -9
- package/chunks/CalendarViewItem-DhRDn7-d.js +101 -0
- package/chunks/Card.module-DSOXKXtd.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DNUeMDQZ.js +15 -0
- package/chunks/Chip-EVPZneh2.js +104 -0
- package/chunks/Confirm.module-gphOS6IB.js +15 -0
- package/chunks/{DropdownListItem-gGRZUigY.js → DropdownListItem-BOB8eQXM.js} +19 -19
- package/chunks/DropdownMobile.module-B8t5FlvW.js +23 -0
- package/chunks/Footer.module-CMW0u8UD.js +9 -0
- package/chunks/FormFieldInput-CwX_1h09.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DUG5ZWLV.js +9 -0
- package/chunks/HeaderTabs.module-BKu6DIV4.js +9 -0
- package/chunks/{HeaderTitle.module-G-lXVibC.js → HeaderTitle.module-DyI7KGeM.js} +2 -2
- package/chunks/IslandAccordion.module-Q_9Jiw2w.js +25 -0
- package/chunks/IslandWidgetFooter.module-DjNDtlKM.js +9 -0
- package/chunks/IslandWidgetHeader.module-DiWg8j16.js +12 -0
- package/chunks/{LightBoxContent-Dwdsxv-p.js → LightBoxContent-CE6sXjX1.js} +13 -13
- package/chunks/LightBoxControls.module-BaHnxhDB.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CuuwIIzJ.js +9 -0
- package/chunks/ListItemControlsButton-BCd2PF9-.js +51 -0
- package/chunks/ListItemTail.module-D_nBCryf.js +12 -0
- package/chunks/ListMasterFooter.module-D4TPImq7.js +10 -0
- package/chunks/ModalWindow.module-u5Pst2YX.js +17 -0
- package/chunks/Notification.module-809Tnazq.js +20 -0
- package/chunks/Overlay.module-c4cyqpKr.js +18 -0
- package/chunks/Page.module-CixV2VSG.js +11 -0
- package/chunks/{RightBorderArrow-BStHeZkJ.js → RightBorderArrow-nrRpapza.js} +4 -4
- package/chunks/SMSField.module-Qub64N0s.js +16 -0
- package/chunks/SliderExtendedMarks.module-BdFYVISZ.js +15 -0
- package/chunks/SliderExtendedRail-BP0BcOY7.js +40 -0
- package/chunks/StatusTracker.module-BMkZgzxy.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DP7pX8_2.js → SuggestFieldMobileDropdownHint-CRvB37lf.js} +4 -4
- package/chunks/TableFooter.module-BW9hgU6o.js +14 -0
- package/chunks/TabsExtended.module-By6HIyMh.js +16 -0
- package/chunks/TabsLine.module-KvKWfBwF.js +21 -0
- package/chunks/TooltipDesktop.module-DAGDT-nl.js +19 -0
- package/chunks/TreeView.module-B8RxFbbh.js +9 -0
- package/chunks/{UploadZoneInput--cEsI9GG.js → UploadZoneInput-D9OID08A.js} +8 -8
- package/chunks/{constants-Dag2NxzH.js → constants-DXLVATUh.js} +6 -6
- package/chunks/{utils-mDzXEbG8.js → utils-BDGrf0u9.js} +5 -5
- package/chunks/utils-BXi-2Jma.js +28 -0
- package/chunks/utils-CvsNd4Ut.js +24 -0
- package/chunks/utils-DXnkRIJ2.js +73 -0
- package/chunks/{vendor-CuCj7SgU.js → vendor-BiObpx9E.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +30 -30
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -78
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +7 -7
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +13 -13
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +11 -12
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +9 -10
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +28 -28
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +22 -22
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +17 -17
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +30 -30
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +70 -78
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +29 -29
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +61 -34
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +6 -6
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +16 -16
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +14 -14
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +13 -13
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +16 -16
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +9 -13
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +26 -19
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +5 -5
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +13 -13
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +12 -12
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +16 -16
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +36 -36
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +14 -14
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +39 -39
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +25 -24
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +23 -23
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +5 -5
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +7 -7
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/TopOverlay/TopOverlay.js +10 -10
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +24 -24
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +541 -538
- package/index.d.ts +76 -32
- package/index.js +577 -574
- package/package.json +3 -4
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-CW39vnxU.js +0 -101
- package/chunks/Card.module-wkZoieJo.js +0 -17
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +0 -15
- package/chunks/Chip-CtmEt4Cp.js +0 -90
- package/chunks/Confirm.module-Bi0IoVgW.js +0 -15
- package/chunks/DropdownMobile.module-D1Tda3VC.js +0 -23
- package/chunks/Footer.module-dEM87TWq.js +0 -9
- package/chunks/FormFieldInput-BXZLkCG-.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +0 -9
- package/chunks/HeaderTabs.module-lGf7L-VN.js +0 -9
- package/chunks/IslandAccordion.module-CmJ_07-4.js +0 -25
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +0 -9
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +0 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +0 -9
- package/chunks/ListItemControlsButton-CXrdUtOj.js +0 -43
- package/chunks/ListItemTail.module-t77bOXMm.js +0 -12
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +0 -10
- package/chunks/ModalWindow.module-BNDWxL9E.js +0 -17
- package/chunks/Notification.module-BukggXdi.js +0 -20
- package/chunks/Overlay.module-DNkYF6tu.js +0 -18
- package/chunks/Page.module-Bz9n-Dho.js +0 -11
- package/chunks/SMSField.module-DBEf-aa7.js +0 -16
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +0 -15
- package/chunks/SliderExtendedRail-1zC_WMFD.js +0 -40
- package/chunks/StatusTracker.module-_Hh_EXXG.js +0 -24
- package/chunks/TableFooter.module-nim97iDm.js +0 -14
- package/chunks/TabsExtended.module-33reL6bh.js +0 -16
- package/chunks/TabsLine.module-BS4pWC4f.js +0 -21
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +0 -19
- package/chunks/TreeView.module-7JefvvHQ.js +0 -9
- package/chunks/utils-C81PwsD3.js +0 -24
- package/chunks/utils-DKXtpqrd.js +0 -73
- package/chunks/utils-wIML3CoI.js +0 -27
- package/components/Dropdown/enums.js +0 -8
package/README.md
CHANGED
|
@@ -92,9 +92,11 @@ src/
|
|
|
92
92
|
| `npm run build` | Сборка компонентов и `style.css` в `dist/` |
|
|
93
93
|
| `npm run storybook` | Локальный просмотр компонентов |
|
|
94
94
|
| `npm run storybook:build` | Сборка Storybook в `storybook-static/` |
|
|
95
|
-
| `npm run test-visual` | Визуальные
|
|
96
|
-
| `npm run test-visual:update` | Обновить baseline-скриншоты |
|
|
97
|
-
| `npm run test-visual:
|
|
95
|
+
| `npm run test-visual:docker` | Визуальные тесты в Docker-контейнере (сборка + запуск) |
|
|
96
|
+
| `npm run test-visual:docker:update` | Обновить baseline-скриншоты в Docker-контейнере |
|
|
97
|
+
| `npm run test-visual:debug` | Отладка визуальных тестов локально (Storybook должен быть запущен) |
|
|
98
|
+
| `npm run test-visual:ci` | Визуальные тесты — используется в CI и Docker |
|
|
99
|
+
| `npm run test-visual:ci:update` | Обновление baseline — используется в CI и Docker |
|
|
98
100
|
|
|
99
101
|
---
|
|
100
102
|
|
|
@@ -131,39 +133,66 @@ export * from './components/Alert';
|
|
|
131
133
|
|
|
132
134
|
Скриншоты снимаются на двух viewport'ах: **XS** (575px) и **XL** (1200px). Baseline-скриншоты хранятся в папке `__screenshots__/` и коммитятся в git. Diff-изображения при падении сохраняются в `__screenshots__/__diff__/` и игнорируются git'ом.
|
|
133
135
|
|
|
134
|
-
> **Важно:** baseline-скриншоты создаются и обновляются **только через CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
135
|
-
|
|
136
|
-
#### CI воркфлоу
|
|
137
|
-
|
|
138
|
-
| Воркфлоу | Триггер | Что делает |
|
|
139
|
-
|---|---|---|
|
|
140
|
-
| `visual-test.yml` | Каждый PR | Прогоняет тесты, загружает диффы как артефакты при падении |
|
|
141
|
-
| `visual-update.yml` | Ручной запуск (`workflow_dispatch`) | Пересоздаёт baselines и коммитит их в ветку |
|
|
136
|
+
> **Важно:** baseline-скриншоты создаются и обновляются **только через Docker или CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
142
137
|
|
|
143
138
|
#### Как обновить baseline-скриншоты
|
|
144
139
|
|
|
140
|
+
**Через Docker (рекомендуется):**
|
|
141
|
+
```bash
|
|
142
|
+
npm run test-visual:docker:update
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Через CI:**
|
|
145
146
|
1. Запушить ветку с изменениями
|
|
146
147
|
2. В GitHub → Actions → **Update Visual Snapshots** → Run workflow → выбрать ветку
|
|
147
148
|
3. Воркфлоу пересоздаст скриншоты и сделает коммит в ту же ветку
|
|
148
149
|
|
|
149
|
-
#### Как
|
|
150
|
+
#### Как запустить визуальные тесты
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
npm run test-visual:docker # Проверка через Docker
|
|
154
|
+
npm run test-visual:docker:update # Обновление baseline через Docker
|
|
155
|
+
```
|
|
150
156
|
|
|
151
|
-
|
|
157
|
+
#### Как запустить тесты только для одного компонента
|
|
158
|
+
|
|
159
|
+
`test-storybook` не поддерживает фильтрацию по имени стори. Единственный способ — временно сузить glob в `.storybook/main.ts`:
|
|
152
160
|
|
|
153
161
|
```ts
|
|
154
|
-
// Временно, только для
|
|
155
|
-
stories: ["../stories/
|
|
162
|
+
// Временно, только для одного компонента:
|
|
163
|
+
stories: ["../stories/Link/**/*.stories.@(ts|tsx|mdx)"],
|
|
156
164
|
|
|
157
|
-
// Вернуть обратно
|
|
165
|
+
// Вернуть обратно после:
|
|
158
166
|
stories: ["../stories/**/*.stories.@(ts|tsx|mdx)", "../stories/**/*.mdx"],
|
|
159
167
|
```
|
|
160
168
|
|
|
161
|
-
Затем
|
|
169
|
+
Затем запустить тесты, как обычно:
|
|
170
|
+
|
|
162
171
|
```bash
|
|
163
|
-
npm run
|
|
164
|
-
npm run test-visual
|
|
172
|
+
npm run test-visual:docker # через Docker
|
|
173
|
+
npm run test-visual:debug # локально (Storybook должен быть запущен)
|
|
165
174
|
```
|
|
166
175
|
|
|
176
|
+
> **Не забудьте вернуть glob обратно** перед коммитом.
|
|
177
|
+
|
|
178
|
+
#### CI воркфлоу
|
|
179
|
+
|
|
180
|
+
Визуальные тесты в CI работают на собранной (build) версии Storybook, а не на dev-сервере — это исключает race conditions при загрузке модулей.
|
|
181
|
+
|
|
182
|
+
| Воркфлоу | Триггер | Что делает |
|
|
183
|
+
|---|---|---|
|
|
184
|
+
| `visual-test.yml` | Каждый PR | Прогоняет тесты, загружает диффы как артефакты при падении |
|
|
185
|
+
| `visual-update.yml` | Ручной запуск (`workflow_dispatch`) | Пересоздаёт baselines и коммитит их в ветку |
|
|
186
|
+
|
|
187
|
+
#### Как отлаживать локально
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
npm run storybook # в одном терминале
|
|
191
|
+
npm run test-visual:debug # в другом (с PWDEBUG=1)
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Для отладки одного компонента — сузить glob как описано выше.
|
|
195
|
+
|
|
167
196
|
#### Как исключить story из тестирования
|
|
168
197
|
|
|
169
198
|
```ts
|
|
@@ -186,10 +215,10 @@ const meta: Meta<typeof Button> = {
|
|
|
186
215
|
### Как запустить тесты локально
|
|
187
216
|
|
|
188
217
|
```bash
|
|
189
|
-
npm run test-e2e
|
|
190
|
-
npm run test-unit
|
|
191
|
-
npm run test-unit:watch
|
|
192
|
-
npm run test-unit:coverage
|
|
193
|
-
npm run test-visual:
|
|
194
|
-
npm run test-visual
|
|
218
|
+
npm run test-e2e # Запуск e2e тестов
|
|
219
|
+
npm run test-unit # Запуск unit тестов
|
|
220
|
+
npm run test-unit:watch # Запуск unit тестов в режиме наблюдения
|
|
221
|
+
npm run test-unit:coverage # Запуск unit тестов с отчётом о покрытии
|
|
222
|
+
npm run test-visual:docker # Визуальные регрессионные тесты (Docker)
|
|
223
|
+
npm run test-visual:docker:update # Обновить baseline-скриншоты (Docker)
|
|
195
224
|
```
|
|
@@ -3,8 +3,8 @@ import { useContext as d, useEffect as i } from "react";
|
|
|
3
3
|
import { CaretdownStrokeSrvIcon16 as _ } from "@sberbusiness/icons-next";
|
|
4
4
|
import { ButtonIcon as m } from "../components/Button/ButtonIcon.js";
|
|
5
5
|
import { AlertProcessContext as x } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
|
-
import { c as
|
|
7
|
-
const y = "
|
|
6
|
+
import { c as n } from "./vendor-BiObpx9E.js";
|
|
7
|
+
const y = "alertProcess__4b9da859", f = "withSpoiler__ee72f2a7", u = "themeIcon__ecdd53fe", T = "alertTypeError__8746f529", b = "alertTypeInfo__cd151951", B = "alertTypeWarning__6c0a2a37", C = "alertTypeSystem__cebb1369", S = "alertTypeFeature__5d65bd9b", h = "alertProcessContentBlock__25f2c991", I = "expandableContent__af338750", P = "expanded__ed3b140d", g = "closeButton__ad88ff99", k = "expandButton__002b549a", e = {
|
|
8
8
|
alertProcess: y,
|
|
9
9
|
withSpoiler: f,
|
|
10
10
|
themeIcon: u,
|
|
@@ -19,16 +19,16 @@ const y = "alertProcess__c5f39d22", f = "withSpoiler__db601e48", u = "themeIcon_
|
|
|
19
19
|
closeButton: g,
|
|
20
20
|
expandButton: k
|
|
21
21
|
}, v = ({ children: s, open: r, onOpen: o, ...l }) => {
|
|
22
|
-
const { setHasSpoiler:
|
|
23
|
-
i(() => (
|
|
24
|
-
|
|
25
|
-
}), [
|
|
22
|
+
const { setHasSpoiler: a } = d(x);
|
|
23
|
+
i(() => (a(!0), () => {
|
|
24
|
+
a(!1);
|
|
25
|
+
}), [a]);
|
|
26
26
|
const c = () => {
|
|
27
27
|
o == null || o(!r);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
-
/* @__PURE__ */ t("div", { className:
|
|
31
|
-
/* @__PURE__ */ t("div", { className:
|
|
30
|
+
/* @__PURE__ */ t("div", { className: n(e.expandableContent, { [e.expanded]: r }), ...l, children: s }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: n(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick: c, children: /* @__PURE__ */ t(_, { paletteIndex: 5 }) }) })
|
|
32
32
|
] });
|
|
33
33
|
};
|
|
34
34
|
v.displayName = "AlertProcessSpoiler";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
v as A,
|
|
37
37
|
e as s
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=AlertProcessSpoiler-
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-IulaUJl0.js.map
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as V } from "./vendor-BiObpx9E.js";
|
|
3
|
+
import { useContext as N, useRef as T, useEffect as Y } from "react";
|
|
4
|
+
import { ECalendarDateMarkType as r } from "../components/Calendar/enums.js";
|
|
5
|
+
import { CalendarViewContext as x } from "../components/Calendar/CalendarViewContext.js";
|
|
6
|
+
import { isKey as w } from "../utils/keyboard.js";
|
|
7
|
+
const A = "calendarViewDays__8511d715", E = "calendarViewMonths__52664357", L = "calendarViewYears__3726f35c", R = "calendarViewDaysHeader__09c6771b", v = "calendarViewDaysBody__7ccae8bc", H = "calendarViewItem__828d9fb8", B = "current__55738986", S = "disabled__231decae", j = "calendarViewItemLabel__fb1ab5fc", O = "selected__71afd5b9", P = "basicMark__3db2a494", g = "standardMark__349a1042", q = "attentionMark__918e1b39", z = "criticalMark__a5b3a599", G = "muted__822813da", J = "marked__e7d45054", Q = "unitDay__29796eb6", U = "unitMonth__02fa3344", W = "unitYear__0f79cffb", a = {
|
|
8
|
+
calendarViewDays: A,
|
|
9
|
+
calendarViewMonths: E,
|
|
10
|
+
calendarViewYears: L,
|
|
11
|
+
calendarViewDaysHeader: R,
|
|
12
|
+
calendarViewDaysBody: v,
|
|
13
|
+
calendarViewItem: H,
|
|
14
|
+
current: B,
|
|
15
|
+
disabled: S,
|
|
16
|
+
calendarViewItemLabel: j,
|
|
17
|
+
selected: O,
|
|
18
|
+
basicMark: P,
|
|
19
|
+
standardMark: g,
|
|
20
|
+
attentionMark: q,
|
|
21
|
+
criticalMark: z,
|
|
22
|
+
muted: G,
|
|
23
|
+
marked: J,
|
|
24
|
+
unitDay: Q,
|
|
25
|
+
unitMonth: U,
|
|
26
|
+
unitYear: W
|
|
27
|
+
}, X = {
|
|
28
|
+
[r.BASIC]: a.basicMark,
|
|
29
|
+
[r.STANDARD]: a.standardMark,
|
|
30
|
+
[r.ATTENTION]: a.attentionMark,
|
|
31
|
+
[r.CRITICAL]: a.criticalMark
|
|
32
|
+
}, Z = {
|
|
33
|
+
day: a.unitDay,
|
|
34
|
+
month: a.unitMonth,
|
|
35
|
+
year: a.unitYear
|
|
36
|
+
}, ra = ({
|
|
37
|
+
children: k,
|
|
38
|
+
className: y,
|
|
39
|
+
date: o,
|
|
40
|
+
unit: b,
|
|
41
|
+
tabbable: n,
|
|
42
|
+
active: l,
|
|
43
|
+
disabled: _,
|
|
44
|
+
muted: I,
|
|
45
|
+
markType: c,
|
|
46
|
+
onFocus: d,
|
|
47
|
+
onBlur: s,
|
|
48
|
+
onKeyDown: i,
|
|
49
|
+
onDateSelect: m,
|
|
50
|
+
...C
|
|
51
|
+
}) => {
|
|
52
|
+
const { viewItemFocusedRef: t } = N(x), u = T(null);
|
|
53
|
+
Y(() => {
|
|
54
|
+
var e;
|
|
55
|
+
n && t.current && ((e = u.current) == null || e.focus());
|
|
56
|
+
}, [n, t]);
|
|
57
|
+
const D = (e) => {
|
|
58
|
+
t.current = !0, d == null || d(e);
|
|
59
|
+
}, h = (e) => {
|
|
60
|
+
t.current = !1, s == null || s(e);
|
|
61
|
+
}, p = (e) => {
|
|
62
|
+
const M = e.code || e.keyCode;
|
|
63
|
+
(w(M, "ENTER") || w(M, "SPACE")) && (e.preventDefault(), m(o)), i == null || i(e);
|
|
64
|
+
};
|
|
65
|
+
return /* @__PURE__ */ f(
|
|
66
|
+
"td",
|
|
67
|
+
{
|
|
68
|
+
className: V(a.calendarViewItem, { [a.disabled]: _ }, y),
|
|
69
|
+
tabIndex: n ? 0 : -1,
|
|
70
|
+
"aria-selected": l ? !0 : void 0,
|
|
71
|
+
onFocus: D,
|
|
72
|
+
onBlur: h,
|
|
73
|
+
onKeyDown: p,
|
|
74
|
+
...C,
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ f(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
className: V(
|
|
80
|
+
a.calendarViewItemLabel,
|
|
81
|
+
Z[b],
|
|
82
|
+
{
|
|
83
|
+
[a.disabled]: _,
|
|
84
|
+
[a.marked]: c !== void 0,
|
|
85
|
+
[a.muted]: !!I,
|
|
86
|
+
[a.selected]: l
|
|
87
|
+
},
|
|
88
|
+
c !== void 0 ? X[c] : void 0
|
|
89
|
+
),
|
|
90
|
+
onClick: () => m(o),
|
|
91
|
+
children: k
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
ra as C,
|
|
99
|
+
a as s
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=CalendarViewItem-DhRDn7-d.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__d77d3ba0", d = "roundingMD__6d7f88a7", c = "roundingSM__6bd39f77", a = "general__bd6e7233", e = "secondary__58e9a83d", o = "cardMedia__e678ad14", r = "cardContent__9333d88f", t = "paddingMD__cc662380", _ = "paddingSM__e444ce14", s = "cardContentHeader__cccc864a", g = "cardContentFooter__e45cc977", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: d,
|
|
4
|
+
roundingSM: c,
|
|
5
|
+
general: a,
|
|
6
|
+
secondary: e,
|
|
7
|
+
cardMedia: o,
|
|
8
|
+
cardContent: r,
|
|
9
|
+
paddingMD: t,
|
|
10
|
+
paddingSM: _,
|
|
11
|
+
cardContentHeader: s,
|
|
12
|
+
cardContentFooter: g
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
i as c
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Card.module-DSOXKXtd.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__b4f2fb0c", c = "checkboxTreeExtendedNode__12fe6f22", o = "sm__6fc3ba00", d = "md__ac4c56d4", x = "lg__567a2057", b = "checkboxTreeExtendedNodeHeader__110bc894", r = "checkboxTreeCheckboxLabel__b06ae70d", t = "caretIconWrapper__ecc99841", n = "checkboxTreeCheckbox__a8f27e7a", h = {
|
|
2
|
+
checkboxTreeExtended: e,
|
|
3
|
+
checkboxTreeExtendedNode: c,
|
|
4
|
+
sm: o,
|
|
5
|
+
md: d,
|
|
6
|
+
lg: x,
|
|
7
|
+
checkboxTreeExtendedNodeHeader: b,
|
|
8
|
+
checkboxTreeCheckboxLabel: r,
|
|
9
|
+
caretIconWrapper: t,
|
|
10
|
+
checkboxTreeCheckbox: n
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
h as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CheckboxTreeExtended.module-DNUeMDQZ.js.map
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsxs as b, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import x, { useCallback as u } from "react";
|
|
3
|
+
import { c as n } from "./vendor-BiObpx9E.js";
|
|
4
|
+
import { EComponentSize as I } from "../enums/EComponentSize.js";
|
|
5
|
+
import { createSizeToClassNameMap as P } from "../utils/classNameMaps.js";
|
|
6
|
+
import { isKey as C } from "../utils/keyboard.js";
|
|
7
|
+
import { Badge as N } from "../components/Badge/Badge.js";
|
|
8
|
+
const w = "chipGroupItem__2d8c0db7", B = "chip__546cb606", g = "lg__7afbe72f", G = "prefix__a1eb3b98", M = "postfix__bbdd4693", S = "notificationIcon__2a378d32", j = "md__c3ed2453", y = "sm__5bd454eb", z = "disabled__93c6f4aa", E = "selected__a1fcc410", R = "withPrefix__015e564f", T = "withPostfix__ea2da15f", k = "content__5de8eb96", e = {
|
|
9
|
+
chipGroupItem: w,
|
|
10
|
+
chip: B,
|
|
11
|
+
lg: g,
|
|
12
|
+
prefix: G,
|
|
13
|
+
postfix: M,
|
|
14
|
+
notificationIcon: S,
|
|
15
|
+
md: j,
|
|
16
|
+
sm: y,
|
|
17
|
+
disabled: z,
|
|
18
|
+
selected: E,
|
|
19
|
+
withPrefix: R,
|
|
20
|
+
withPostfix: T,
|
|
21
|
+
content: k
|
|
22
|
+
}, v = P(e), A = x.forwardRef(
|
|
23
|
+
({
|
|
24
|
+
children: f,
|
|
25
|
+
className: p,
|
|
26
|
+
disabled: t,
|
|
27
|
+
postfix: i,
|
|
28
|
+
prefix: c,
|
|
29
|
+
selected: r,
|
|
30
|
+
showNotificationIcon: d,
|
|
31
|
+
size: l = I.MD,
|
|
32
|
+
onKeyDown: o,
|
|
33
|
+
...m
|
|
34
|
+
}, _) => {
|
|
35
|
+
const h = u(
|
|
36
|
+
(a) => {
|
|
37
|
+
C(a.code, "SPACE") && a.preventDefault(), o == null || o(a);
|
|
38
|
+
},
|
|
39
|
+
[o]
|
|
40
|
+
);
|
|
41
|
+
return /* @__PURE__ */ b(
|
|
42
|
+
"span",
|
|
43
|
+
{
|
|
44
|
+
className: n(
|
|
45
|
+
e.chip,
|
|
46
|
+
e.chipGroupItem,
|
|
47
|
+
v[l],
|
|
48
|
+
{
|
|
49
|
+
[e.disabled]: !!t,
|
|
50
|
+
[e.selected]: !!r,
|
|
51
|
+
[e.withPostfix]: typeof i < "u",
|
|
52
|
+
[e.withPrefix]: typeof c < "u"
|
|
53
|
+
},
|
|
54
|
+
p
|
|
55
|
+
),
|
|
56
|
+
role: "button",
|
|
57
|
+
tabIndex: t ? -1 : 0,
|
|
58
|
+
onKeyDown: h,
|
|
59
|
+
...m,
|
|
60
|
+
ref: _,
|
|
61
|
+
children: [
|
|
62
|
+
c ? /* @__PURE__ */ s(
|
|
63
|
+
"span",
|
|
64
|
+
{
|
|
65
|
+
className: n(
|
|
66
|
+
e.prefix,
|
|
67
|
+
"hoverable",
|
|
68
|
+
// Для иконок.
|
|
69
|
+
{
|
|
70
|
+
disabled: !!t
|
|
71
|
+
// Для иконок.
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
children: c
|
|
75
|
+
}
|
|
76
|
+
) : null,
|
|
77
|
+
/* @__PURE__ */ s("span", { className: e.content, children: f }),
|
|
78
|
+
i ? /* @__PURE__ */ s(
|
|
79
|
+
"span",
|
|
80
|
+
{
|
|
81
|
+
className: n(
|
|
82
|
+
e.postfix,
|
|
83
|
+
"hoverable",
|
|
84
|
+
// Для иконок.
|
|
85
|
+
{
|
|
86
|
+
disabled: !!t
|
|
87
|
+
// Для иконок.
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
children: i
|
|
91
|
+
}
|
|
92
|
+
) : null,
|
|
93
|
+
d && /* @__PURE__ */ s(N.Dot, { size: l, className: e.notificationIcon })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
A.displayName = "Chip";
|
|
100
|
+
export {
|
|
101
|
+
A as C,
|
|
102
|
+
e as s
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=Chip-EVPZneh2.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__c052e710", o = "isInLightBox__00ebdcda", i = "isInSideOverlaySM__a2177bf5", t = "isInSideOverlayMD__a44e0ff6", e = "isInSideOverlayLG__8f0257a1", s = "confirmCloseButton__fb7440a7", r = "confirmContent__a6dd2f28", c = "confirmControls__7d851e7f", f = "confirmContentTitle__415051f8", l = {
|
|
2
|
+
confirm: n,
|
|
3
|
+
isInLightBox: o,
|
|
4
|
+
isInSideOverlaySM: i,
|
|
5
|
+
isInSideOverlayMD: t,
|
|
6
|
+
isInSideOverlayLG: e,
|
|
7
|
+
confirmCloseButton: s,
|
|
8
|
+
confirmContent: r,
|
|
9
|
+
confirmControls: c,
|
|
10
|
+
confirmContentTitle: f
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
l as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-gphOS6IB.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as E, jsx as k } from "react/jsx-runtime";
|
|
2
2
|
import I, { useEffect as u } from "react";
|
|
3
|
-
import { c as v } from "./vendor-
|
|
3
|
+
import { c as v } from "./vendor-BiObpx9E.js";
|
|
4
4
|
import { EComponentSize as l } from "../enums/EComponentSize.js";
|
|
5
5
|
import { EVENT_KEY_CODES as p } from "../utils/keyboard.js";
|
|
6
6
|
import { Badge as y } from "../components/Badge/Badge.js";
|
|
7
|
-
const N = "
|
|
7
|
+
const N = "dropdownDesktopList__da0b7cc7", g = "notificationIcon__86435de6", x = "sm__8356540d", C = "dropdownDesktopListItem__dfec2799", O = "dropdownDesktopListLoader__70f80c0d", R = "md__b78aaf80", T = "lg__181f4388", b = "active__46fa5b84", K = "selected__7e62d8e1", s = {
|
|
8
8
|
dropdownDesktopList: N,
|
|
9
9
|
notificationIcon: g,
|
|
10
|
-
sm:
|
|
11
|
-
dropdownDesktopListItem:
|
|
12
|
-
dropdownDesktopListLoader:
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
active:
|
|
10
|
+
sm: x,
|
|
11
|
+
dropdownDesktopListItem: C,
|
|
12
|
+
dropdownDesktopListLoader: O,
|
|
13
|
+
md: R,
|
|
14
|
+
lg: T,
|
|
15
|
+
active: b,
|
|
16
16
|
selected: K
|
|
17
17
|
}, j = [p.SPACE, p.ENTER], A = I.forwardRef(
|
|
18
18
|
({
|
|
19
|
-
active:
|
|
19
|
+
active: e,
|
|
20
20
|
keyCodesForSelection: m = j,
|
|
21
21
|
children: d,
|
|
22
22
|
className: a,
|
|
@@ -24,8 +24,8 @@ const N = "dropdownDesktopList__260fc26b", g = "notificationIcon__05f48a0d", b =
|
|
|
24
24
|
onSelect: o,
|
|
25
25
|
selected: r,
|
|
26
26
|
showNotificationIcon: c,
|
|
27
|
-
size:
|
|
28
|
-
...
|
|
27
|
+
size: _ = l.MD,
|
|
28
|
+
...f
|
|
29
29
|
}, D) => {
|
|
30
30
|
const i = (t) => {
|
|
31
31
|
const { keyCode: w } = t;
|
|
@@ -33,25 +33,25 @@ const N = "dropdownDesktopList__260fc26b", g = "notificationIcon__05f48a0d", b =
|
|
|
33
33
|
}, L = (t) => {
|
|
34
34
|
o == null || o(), n == null || n(t);
|
|
35
35
|
};
|
|
36
|
-
return u(() => (
|
|
36
|
+
return u(() => (e ? document.addEventListener("keydown", i) : document.removeEventListener("keydown", i), () => {
|
|
37
37
|
document.removeEventListener("keydown", i);
|
|
38
|
-
}), [
|
|
38
|
+
}), [e]), /* @__PURE__ */ E(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
className: v(
|
|
42
|
-
|
|
43
|
-
{ [
|
|
42
|
+
s.dropdownDesktopListItem,
|
|
43
|
+
{ [s.active]: !!e, [s.selected]: !!r },
|
|
44
44
|
a
|
|
45
45
|
),
|
|
46
46
|
title: typeof d == "string" ? d : void 0,
|
|
47
47
|
role: "option",
|
|
48
48
|
"aria-selected": !!r,
|
|
49
|
-
...
|
|
49
|
+
...f,
|
|
50
50
|
onClick: L,
|
|
51
51
|
ref: D,
|
|
52
52
|
children: [
|
|
53
53
|
d,
|
|
54
|
-
c && /* @__PURE__ */ k(y.Dot, { size:
|
|
54
|
+
c && /* @__PURE__ */ k(y.Dot, { size: _, className: s.notificationIcon })
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
);
|
|
@@ -60,6 +60,6 @@ const N = "dropdownDesktopList__260fc26b", g = "notificationIcon__05f48a0d", b =
|
|
|
60
60
|
A.displayName = "DropdownListItem";
|
|
61
61
|
export {
|
|
62
62
|
A as D,
|
|
63
|
-
|
|
63
|
+
s
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=DropdownListItem-
|
|
65
|
+
//# sourceMappingURL=DropdownListItem-BOB8eQXM.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__792459ce", e = "dropdownMobileBackdrop__85026842", d = "closing__e0b6e0ea", n = "opening__cf8df252", r = "opened__1fee23c5", t = "dropdownMobile__05126d34", i = "dropdownMobileHeader__f9f58ceb", p = "dropdownMobileHeaderContent__bc26acd2", l = "dropdownMobileContent__1e4c0ec3", c = "dropdownMobileFooter__408160af", b = "dropdownMobileListItem__b094d832", s = "selected__7e62d8e1", w = "dropdownMobileBodyOverflow__785d4dd0", _ = "controlButtons__6c65b76b", M = "dropdownMobileLoader__7f910a7a", a = "dropdownMobileListLoader__990eb741", f = "notificationIcon__86435de6", L = {
|
|
2
|
+
dropdownMobileWrapper: o,
|
|
3
|
+
dropdownMobileBackdrop: e,
|
|
4
|
+
closing: d,
|
|
5
|
+
opening: n,
|
|
6
|
+
opened: r,
|
|
7
|
+
dropdownMobile: t,
|
|
8
|
+
dropdownMobileHeader: i,
|
|
9
|
+
dropdownMobileHeaderContent: p,
|
|
10
|
+
dropdownMobileContent: l,
|
|
11
|
+
dropdownMobileFooter: c,
|
|
12
|
+
dropdownMobileListItem: b,
|
|
13
|
+
selected: s,
|
|
14
|
+
dropdownMobileBodyOverflow: w,
|
|
15
|
+
controlButtons: _,
|
|
16
|
+
dropdownMobileLoader: M,
|
|
17
|
+
dropdownMobileListLoader: a,
|
|
18
|
+
notificationIcon: f
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
L as s
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DropdownMobile.module-B8t5FlvW.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__1b390402", t = "footerDescriptionContent__c30e65e3", e = "footerDescriptionControls__1e397c80", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-CMW0u8UD.js.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import C, { useContext as D, useMemo as L, useCallback as a, useLayoutEffect as u } from "react";
|
|
3
|
+
import { u as R, c as W } from "./vendor-BiObpx9E.js";
|
|
4
|
+
import { FormFieldContext as j } from "../components/FormField/FormFieldContext.js";
|
|
5
|
+
import { EFormFieldStatus as q } from "../components/FormField/enums.js";
|
|
6
|
+
import { createSizeToClassNameMap as w } from "../utils/classNameMaps.js";
|
|
7
|
+
import { isFilled as G } from "../components/FormField/components/utils.js";
|
|
8
|
+
const H = "formFieldInput__5237a063", J = "sm__26ad389e", K = "md__d9ffd574", O = "lg__35f13ce0", T = {
|
|
9
|
+
formFieldInput: H,
|
|
10
|
+
sm: J,
|
|
11
|
+
md: K,
|
|
12
|
+
lg: O
|
|
13
|
+
}, Q = w(T), S = C.forwardRef(
|
|
14
|
+
({
|
|
15
|
+
id: c,
|
|
16
|
+
className: g,
|
|
17
|
+
value: e,
|
|
18
|
+
defaultValue: p,
|
|
19
|
+
onFocus: l,
|
|
20
|
+
onBlur: m,
|
|
21
|
+
onAnimationStart: r,
|
|
22
|
+
onChange: i,
|
|
23
|
+
render: F,
|
|
24
|
+
...h
|
|
25
|
+
}, n) => {
|
|
26
|
+
const { status: x, setFocused: o, setTargetId: _, setFilled: d, size: I } = D(j), f = L(() => c === void 0 ? R("input_") : c, [c]), y = W(T.formFieldInput, Q[I], g), t = a(
|
|
27
|
+
(s) => {
|
|
28
|
+
d(G(s));
|
|
29
|
+
},
|
|
30
|
+
[d]
|
|
31
|
+
);
|
|
32
|
+
u(() => {
|
|
33
|
+
_(f);
|
|
34
|
+
}, [f, _]), u(() => {
|
|
35
|
+
t(e ?? p);
|
|
36
|
+
}, []), u(() => {
|
|
37
|
+
e !== void 0 && t(e);
|
|
38
|
+
}, [e, t]);
|
|
39
|
+
const k = a(
|
|
40
|
+
(s) => {
|
|
41
|
+
t(s.currentTarget.value), o(!0), l == null || l(s);
|
|
42
|
+
},
|
|
43
|
+
[o, t, l]
|
|
44
|
+
), z = a(
|
|
45
|
+
(s) => {
|
|
46
|
+
t(s.currentTarget.value), o(!1), m == null || m(s);
|
|
47
|
+
},
|
|
48
|
+
[o, t, m]
|
|
49
|
+
), E = a(
|
|
50
|
+
(s) => {
|
|
51
|
+
s.animationName.startsWith("autofill-applied-hook") ? d(!0) : s.animationName.startsWith("autofill-cancelled-hook") && t(s.currentTarget.value), r == null || r(s);
|
|
52
|
+
},
|
|
53
|
+
[d, t, r]
|
|
54
|
+
), M = a(
|
|
55
|
+
(s) => {
|
|
56
|
+
t(s.currentTarget.value), i == null || i(s);
|
|
57
|
+
},
|
|
58
|
+
[t, i]
|
|
59
|
+
), N = {
|
|
60
|
+
...h,
|
|
61
|
+
id: f,
|
|
62
|
+
className: y,
|
|
63
|
+
value: e,
|
|
64
|
+
defaultValue: p,
|
|
65
|
+
disabled: x === q.DISABLED,
|
|
66
|
+
onFocus: k,
|
|
67
|
+
onBlur: z,
|
|
68
|
+
onAnimationStart: E,
|
|
69
|
+
onChange: M
|
|
70
|
+
};
|
|
71
|
+
return F ? F({ ...N, size: I }, n) : /* @__PURE__ */ b("input", { ...N, ref: n });
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
S.displayName = "FormFieldInput";
|
|
75
|
+
export {
|
|
76
|
+
S as F,
|
|
77
|
+
T as s
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=FormFieldInput-CwX_1h09.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__d837ce40", a = "headerLayoutSidebarContent__2565bcfd", d = "headerLayoutSidebarSidebar__643c5b77", r = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: d
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
r as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-DUG5ZWLV.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__03bf1aa4", t = "headerTitleControls__6b8b309f", l = "headerTitleContent__40165887", o = {
|
|
2
2
|
headerTitle: e,
|
|
3
3
|
headerTitleControls: t,
|
|
4
4
|
"global-HeaderTitleControls": "global-HeaderTitleControls",
|
|
@@ -8,4 +8,4 @@ const e = "headerTitle__c732fa74", t = "headerTitleControls__022a153a", l = "hea
|
|
|
8
8
|
export {
|
|
9
9
|
o as s
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=HeaderTitle.module-
|
|
11
|
+
//# sourceMappingURL=HeaderTitle.module-DyI7KGeM.js.map
|