@sberbusiness/triplex-next 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/AlertProcessSpoiler-Cbhbwi6f.js +39 -0
- package/chunks/CalendarViewItem-UwoR2Xwr.js +101 -0
- package/chunks/Card.module-CPD2xDmu.js +17 -0
- package/chunks/CheckboxTreeExtended.module-F91Rxq8x.js +15 -0
- package/chunks/{Chip-CtmEt4Cp.js → Chip-Bxr2kLyU.js} +18 -18
- package/chunks/Confirm.module-CmYpxyDp.js +15 -0
- package/chunks/{DropdownListItem-gGRZUigY.js → DropdownListItem-Dl8gN2ar.js} +18 -18
- package/chunks/DropdownMobile.module-l5rlPxNK.js +23 -0
- package/chunks/Footer.module-CjY-6G8t.js +9 -0
- package/chunks/FormFieldInput--W9kjf4s.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-fr4_lzKQ.js +9 -0
- package/chunks/HeaderTabs.module-Clz5KbqR.js +9 -0
- package/chunks/{HeaderTitle.module-G-lXVibC.js → HeaderTitle.module-DUqjpN6C.js} +2 -2
- package/chunks/IslandAccordion.module-CPVWJz-Z.js +25 -0
- package/chunks/IslandWidgetFooter.module-BRjR7Nva.js +9 -0
- package/chunks/IslandWidgetHeader.module-CQVHkydc.js +12 -0
- package/chunks/{LightBoxContent-Dwdsxv-p.js → LightBoxContent-CBpCA29-.js} +9 -9
- package/chunks/LightBoxControls.module-6rLkTPqp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-1PauvUbz.js +9 -0
- package/chunks/{ListItemControlsButton-CXrdUtOj.js → ListItemControlsButton-BZSR-ESi.js} +5 -5
- package/chunks/ListItemTail.module-TZkbhx39.js +12 -0
- package/chunks/ListMasterFooter.module-BJocFxEb.js +10 -0
- package/chunks/ModalWindow.module-CACqfnx4.js +17 -0
- package/chunks/Notification.module-ByKcbqB9.js +20 -0
- package/chunks/Overlay.module-fYkVPgjL.js +18 -0
- package/chunks/Page.module-Bhn0Pz59.js +11 -0
- package/chunks/{RightBorderArrow-BStHeZkJ.js → RightBorderArrow-C390Za7P.js} +8 -8
- package/chunks/SMSField.module-KA-eacXJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-Dy1FdmU-.js +15 -0
- package/chunks/{SliderExtendedRail-1zC_WMFD.js → SliderExtendedRail-Dld8UNeR.js} +15 -15
- package/chunks/StatusTracker.module-B8xoFRr0.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-Cf_uwjFP.js +14 -0
- package/chunks/TableFooter.module-b8TKJFW8.js +14 -0
- package/chunks/TabsExtended.module-k8oKnmv6.js +16 -0
- package/chunks/TabsLine.module-BLpqn-ZP.js +21 -0
- package/chunks/TooltipDesktop.module-DgogF0cV.js +19 -0
- package/chunks/TreeView.module-lJCCAWQb.js +9 -0
- package/chunks/{UploadZoneInput--cEsI9GG.js → UploadZoneInput-CQYsDdG_.js} +8 -8
- package/chunks/{constants-Dag2NxzH.js → constants-Crak3JEf.js} +14 -14
- package/chunks/utils-CS30w_en.js +73 -0
- package/chunks/{utils-mDzXEbG8.js → utils-Dq2VA3Zd.js} +6 -6
- package/chunks/{utils-C81PwsD3.js → utils-R-JQhhgt.js} +2 -2
- package/chunks/utils-Z8JNo8tP.js +28 -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 +6 -6
- 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 +12 -12
- package/components/Badge/Badge.js +14 -14
- package/components/Badge/BadgeDot.js +3 -3
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +8 -8
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +16 -16
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -78
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +2 -2
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +8 -8
- 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 +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- 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 +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- 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 +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +11 -12
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +9 -10
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +20 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +16 -16
- 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 +12 -12
- package/components/DateRange/DateRange.js +8 -8
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +18 -18
- 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 +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- 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 +7 -7
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +33 -33
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- 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 +14 -14
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +5 -5
- 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 +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- 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 +9 -9
- package/components/LightBox/LightBox.js +16 -16
- 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 +12 -12
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +8 -8
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +9 -9
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- 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 +49 -33
- 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 +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +10 -10
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- 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 +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- 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 +2 -2
- 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 +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +39 -39
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +18 -18
- 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 +13 -13
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +26 -25
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +18 -18
- 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 +2 -2
- 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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- 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 +5 -5
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +12 -12
- 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 +4 -4
- 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 +11 -11
- 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 +28 -28
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +19 -19
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +541 -538
- package/index.d.ts +51 -25
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-io5SjBK8.js +0 -39
- 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/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/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/StatusTracker.module-_Hh_EXXG.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-DP7pX8_2.js +0 -14
- 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-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
|
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as d, useEffect as i } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon16 as _ } from "@sberbusiness/icons-next";
|
|
4
|
+
import { ButtonIcon as f } from "../components/Button/ButtonIcon.js";
|
|
5
|
+
import { AlertProcessContext as m } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
|
+
import { c as a } from "./vendor-BiObpx9E.js";
|
|
7
|
+
const x = "alertProcess__561bbcaf", y = "withSpoiler__2c1056f0", u = "themeIcon__7f463003", T = "alertTypeError__67003507", B = "alertTypeInfo__6af16d06", C = "alertTypeWarning__bd8ec568", S = "alertTypeSystem__89844611", b = "alertTypeFeature__ccc9b096", h = "alertProcessContentBlock__077272f8", I = "expandableContent__a5e8ac9b", P = "expanded__6dcf1fc1", g = "closeButton__fbe30ad8", k = "expandButton__fa91f4d3", e = {
|
|
8
|
+
alertProcess: x,
|
|
9
|
+
withSpoiler: y,
|
|
10
|
+
themeIcon: u,
|
|
11
|
+
alertTypeError: T,
|
|
12
|
+
alertTypeInfo: B,
|
|
13
|
+
alertTypeWarning: C,
|
|
14
|
+
alertTypeSystem: S,
|
|
15
|
+
alertTypeFeature: b,
|
|
16
|
+
alertProcessContentBlock: h,
|
|
17
|
+
expandableContent: I,
|
|
18
|
+
expanded: P,
|
|
19
|
+
closeButton: g,
|
|
20
|
+
expandButton: k
|
|
21
|
+
}, v = ({ children: s, open: r, onOpen: o, ...c }) => {
|
|
22
|
+
const { setHasSpoiler: n } = d(m);
|
|
23
|
+
i(() => (n(!0), () => {
|
|
24
|
+
n(!1);
|
|
25
|
+
}), [n]);
|
|
26
|
+
const l = () => {
|
|
27
|
+
o == null || o(!r);
|
|
28
|
+
};
|
|
29
|
+
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
+
/* @__PURE__ */ t("div", { className: a(e.expandableContent, { [e.expanded]: r }), ...c, children: s }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: a(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(f, { onClick: l, children: /* @__PURE__ */ t(_, { paletteIndex: 5 }) }) })
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
v.displayName = "AlertProcessSpoiler";
|
|
35
|
+
export {
|
|
36
|
+
v as A,
|
|
37
|
+
e as s
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-Cbhbwi6f.js.map
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsx as V } from "react/jsx-runtime";
|
|
2
|
+
import { c as f } 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__9548fde3", E = "calendarViewMonths__8380287c", L = "calendarViewYears__779c175c", R = "calendarViewDaysHeader__51a33337", v = "calendarViewDaysBody__24f72866", H = "calendarViewItem__8c7c13c1", B = "current__7f8ca051", S = "disabled__0a466cbc", j = "calendarViewItemLabel__099b2f24", O = "selected__7235382c", P = "basicMark__594e811a", g = "standardMark__645beaff", q = "attentionMark__9c3e257e", z = "criticalMark__5e4f8dc1", G = "muted__a9b34107", J = "marked__88348bfe", Q = "unitDay__0297807d", U = "unitMonth__3521626b", W = "unitYear__64c2d775", 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: I,
|
|
41
|
+
tabbable: c,
|
|
42
|
+
active: l,
|
|
43
|
+
disabled: _,
|
|
44
|
+
muted: C,
|
|
45
|
+
markType: n,
|
|
46
|
+
onFocus: s,
|
|
47
|
+
onBlur: d,
|
|
48
|
+
onKeyDown: i,
|
|
49
|
+
onDateSelect: m,
|
|
50
|
+
...D
|
|
51
|
+
}) => {
|
|
52
|
+
const { viewItemFocusedRef: t } = N(x), u = T(null);
|
|
53
|
+
Y(() => {
|
|
54
|
+
var e;
|
|
55
|
+
c && t.current && ((e = u.current) == null || e.focus());
|
|
56
|
+
}, [c, t]);
|
|
57
|
+
const b = (e) => {
|
|
58
|
+
t.current = !0, s == null || s(e);
|
|
59
|
+
}, h = (e) => {
|
|
60
|
+
t.current = !1, d == null || d(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__ */ V(
|
|
66
|
+
"td",
|
|
67
|
+
{
|
|
68
|
+
className: f(a.calendarViewItem, { [a.disabled]: _ }, y),
|
|
69
|
+
tabIndex: c ? 0 : -1,
|
|
70
|
+
"aria-selected": l ? !0 : void 0,
|
|
71
|
+
onFocus: b,
|
|
72
|
+
onBlur: h,
|
|
73
|
+
onKeyDown: p,
|
|
74
|
+
...D,
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ V(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
className: f(
|
|
80
|
+
a.calendarViewItemLabel,
|
|
81
|
+
Z[I],
|
|
82
|
+
{
|
|
83
|
+
[a.disabled]: _,
|
|
84
|
+
[a.marked]: n !== void 0,
|
|
85
|
+
[a.muted]: !!C,
|
|
86
|
+
[a.selected]: l
|
|
87
|
+
},
|
|
88
|
+
n !== void 0 ? X[n] : 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-UwoR2Xwr.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__0a20e9d4", d = "roundingMD__c5f9c1e6", a = "roundingSM__373f0f18", c = "general__ba581d2e", e = "secondary__40288938", o = "cardMedia__0762e5a9", r = "cardContent__3040d4a9", t = "paddingMD__17bcccbf", _ = "paddingSM__26e81821", s = "cardContentHeader__8a2c9c0f", g = "cardContentFooter__b9d88b11", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: d,
|
|
4
|
+
roundingSM: a,
|
|
5
|
+
general: c,
|
|
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-CPD2xDmu.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__c54b5c56", c = "checkboxTreeExtendedNode__607a26f2", o = "sm__44312393", d = "md__dbf75cc1", x = "lg__ee71a632", r = "checkboxTreeExtendedNodeHeader__3d2c1f51", b = "checkboxTreeCheckboxLabel__a0de18ee", t = "caretIconWrapper__93d06f81", n = "checkboxTreeCheckbox__1e13e06c", h = {
|
|
2
|
+
checkboxTreeExtended: e,
|
|
3
|
+
checkboxTreeExtendedNode: c,
|
|
4
|
+
sm: o,
|
|
5
|
+
md: d,
|
|
6
|
+
lg: x,
|
|
7
|
+
checkboxTreeExtendedNodeHeader: r,
|
|
8
|
+
checkboxTreeCheckboxLabel: b,
|
|
9
|
+
caretIconWrapper: t,
|
|
10
|
+
checkboxTreeCheckbox: n
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
h as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CheckboxTreeExtended.module-F91Rxq8x.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as h, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as n } from "./vendor-
|
|
2
|
+
import x, { useCallback as b } from "react";
|
|
3
|
+
import { c as n } from "./vendor-BiObpx9E.js";
|
|
4
4
|
import { EComponentSize as u } from "../enums/EComponentSize.js";
|
|
5
5
|
import { createSizeToClassNameMap as P } from "../utils/classNameMaps.js";
|
|
6
6
|
import { isKey as C } from "../utils/keyboard.js";
|
|
7
|
-
const N = "
|
|
7
|
+
const N = "chipGroupItem__b6ffaece", w = "chip__5a189038", I = "lg__f49f99a6", B = "prefix__711b4b15", G = "postfix__9234260d", g = "md__4e32c9e1", z = "sm__4cd1f524", M = "disabled__b1ac3ede", S = "selected__44cd0bb2", j = "withPrefix__ab078a56", y = "withPostfix__4a04be37", E = "content__091f81e2", e = {
|
|
8
8
|
chipGroupItem: N,
|
|
9
9
|
chip: w,
|
|
10
10
|
lg: I,
|
|
@@ -17,9 +17,9 @@ const N = "chipGroupItem__ed829c35", w = "chip__f4d718a6", I = "lg__2964dacc", B
|
|
|
17
17
|
withPrefix: j,
|
|
18
18
|
withPostfix: y,
|
|
19
19
|
content: E
|
|
20
|
-
}, R = P(e), T =
|
|
21
|
-
({ children: l, className:
|
|
22
|
-
const _ =
|
|
20
|
+
}, R = P(e), T = x.forwardRef(
|
|
21
|
+
({ children: l, className: p, disabled: t, postfix: o, prefix: c, selected: r, size: f = u.MD, onKeyDown: s, ...d }, m) => {
|
|
22
|
+
const _ = b(
|
|
23
23
|
(i) => {
|
|
24
24
|
C(i.code, "SPACE") && i.preventDefault(), s == null || s(i);
|
|
25
25
|
},
|
|
@@ -31,22 +31,22 @@ const N = "chipGroupItem__ed829c35", w = "chip__f4d718a6", I = "lg__2964dacc", B
|
|
|
31
31
|
className: n(
|
|
32
32
|
e.chip,
|
|
33
33
|
e.chipGroupItem,
|
|
34
|
-
R[
|
|
34
|
+
R[f],
|
|
35
35
|
{
|
|
36
36
|
[e.disabled]: !!t,
|
|
37
|
-
[e.selected]: !!
|
|
38
|
-
[e.withPostfix]: typeof
|
|
39
|
-
[e.withPrefix]: typeof
|
|
37
|
+
[e.selected]: !!r,
|
|
38
|
+
[e.withPostfix]: typeof o < "u",
|
|
39
|
+
[e.withPrefix]: typeof c < "u"
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
p
|
|
42
42
|
),
|
|
43
43
|
role: "button",
|
|
44
44
|
tabIndex: t ? -1 : 0,
|
|
45
45
|
onKeyDown: _,
|
|
46
|
-
...
|
|
47
|
-
ref:
|
|
46
|
+
...d,
|
|
47
|
+
ref: m,
|
|
48
48
|
children: [
|
|
49
|
-
|
|
49
|
+
c ? /* @__PURE__ */ a(
|
|
50
50
|
"span",
|
|
51
51
|
{
|
|
52
52
|
className: n(
|
|
@@ -58,11 +58,11 @@ const N = "chipGroupItem__ed829c35", w = "chip__f4d718a6", I = "lg__2964dacc", B
|
|
|
58
58
|
// Для иконок.
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
children:
|
|
61
|
+
children: c
|
|
62
62
|
}
|
|
63
63
|
) : null,
|
|
64
64
|
/* @__PURE__ */ a("span", { className: e.content, children: l }),
|
|
65
|
-
|
|
65
|
+
o ? /* @__PURE__ */ a(
|
|
66
66
|
"span",
|
|
67
67
|
{
|
|
68
68
|
className: n(
|
|
@@ -74,7 +74,7 @@ const N = "chipGroupItem__ed829c35", w = "chip__f4d718a6", I = "lg__2964dacc", B
|
|
|
74
74
|
// Для иконок.
|
|
75
75
|
}
|
|
76
76
|
),
|
|
77
|
-
children:
|
|
77
|
+
children: o
|
|
78
78
|
}
|
|
79
79
|
) : null
|
|
80
80
|
]
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
T as C,
|
|
88
88
|
e as s
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=Chip-
|
|
90
|
+
//# sourceMappingURL=Chip-Bxr2kLyU.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__ca5f7870", o = "isInLightBox__cf31863e", i = "isInSideOverlaySM__971a3410", t = "isInSideOverlayMD__22bb01be", e = "isInSideOverlayLG__b67799e6", s = "confirmCloseButton__71e268aa", r = "confirmContent__7043112a", c = "confirmControls__85406fd0", l = "confirmContentTitle__58b33a6b", f = {
|
|
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: l
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
f as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-CmYpxyDp.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
4
|
-
import { EComponentSize as
|
|
3
|
+
import { c as v } from "./vendor-BiObpx9E.js";
|
|
4
|
+
import { EComponentSize as b } from "../enums/EComponentSize.js";
|
|
5
5
|
import { EVENT_KEY_CODES as p } from "../utils/keyboard.js";
|
|
6
|
-
import { Badge as
|
|
7
|
-
const
|
|
8
|
-
dropdownDesktopList:
|
|
9
|
-
notificationIcon:
|
|
10
|
-
sm:
|
|
6
|
+
import { Badge as l } from "../components/Badge/Badge.js";
|
|
7
|
+
const y = "dropdownDesktopList__dadd94e2", N = "notificationIcon__8b4d6f43", g = "sm__f8b66f07", x = "dropdownDesktopListItem__9a5852f5", C = "dropdownDesktopListLoader__b55b44d0", O = "md__f642610b", R = "lg__a134c7d9", T = "active__8de8b37d", K = "selected__b70e58b1", s = {
|
|
8
|
+
dropdownDesktopList: y,
|
|
9
|
+
notificationIcon: N,
|
|
10
|
+
sm: g,
|
|
11
11
|
dropdownDesktopListItem: x,
|
|
12
12
|
dropdownDesktopListLoader: C,
|
|
13
13
|
md: O,
|
|
@@ -16,7 +16,7 @@ const N = "dropdownDesktopList__260fc26b", g = "notificationIcon__05f48a0d", 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: _ = b.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(
|
|
54
|
+
c && /* @__PURE__ */ k(l.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-Dl8gN2ar.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__282c67c2", d = "dropdownMobileBackdrop__163668e4", e = "closing__de8c0e85", n = "opening__7d8c9bc8", r = "opened__4ca0cd18", t = "dropdownMobile__f6aff01a", i = "dropdownMobileHeader__0003c3c4", c = "dropdownMobileHeaderContent__6f02afb4", p = "dropdownMobileContent__b705b9a7", l = "dropdownMobileFooter__b163e1c9", b = "dropdownMobileListItem__4d3d5752", s = "selected__b70e58b1", w = "dropdownMobileBodyOverflow__db4e1ff4", _ = "controlButtons__175a7f6c", M = "dropdownMobileLoader__c271c4e5", a = "dropdownMobileListLoader__dde87437", f = "notificationIcon__8b4d6f43", L = {
|
|
2
|
+
dropdownMobileWrapper: o,
|
|
3
|
+
dropdownMobileBackdrop: d,
|
|
4
|
+
closing: e,
|
|
5
|
+
opening: n,
|
|
6
|
+
opened: r,
|
|
7
|
+
dropdownMobile: t,
|
|
8
|
+
dropdownMobileHeader: i,
|
|
9
|
+
dropdownMobileHeaderContent: c,
|
|
10
|
+
dropdownMobileContent: p,
|
|
11
|
+
dropdownMobileFooter: l,
|
|
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-l5rlPxNK.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__86084ba9", t = "footerDescriptionContent__e2dd77d8", e = "footerDescriptionControls__6fac8d3c", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-CjY-6G8t.js.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as M } from "react/jsx-runtime";
|
|
2
|
+
import C, { useContext as D, useMemo as L, useCallback as a, useLayoutEffect as f } 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__6a47077e", J = "sm__dfbcde57", K = "md__78c7dc00", O = "lg__0698bb23", T = {
|
|
9
|
+
formFieldInput: H,
|
|
10
|
+
sm: J,
|
|
11
|
+
md: K,
|
|
12
|
+
lg: O
|
|
13
|
+
}, Q = w(T), S = C.forwardRef(
|
|
14
|
+
({
|
|
15
|
+
id: d,
|
|
16
|
+
className: b,
|
|
17
|
+
value: e,
|
|
18
|
+
defaultValue: p,
|
|
19
|
+
onFocus: l,
|
|
20
|
+
onBlur: m,
|
|
21
|
+
onAnimationStart: r,
|
|
22
|
+
onChange: i,
|
|
23
|
+
render: F,
|
|
24
|
+
...g
|
|
25
|
+
}, n) => {
|
|
26
|
+
const { status: h, setFocused: o, setTargetId: _, setFilled: c, size: I } = D(j), u = L(() => d === void 0 ? R("input_") : d, [d]), x = W(T.formFieldInput, Q[I], b), t = a(
|
|
27
|
+
(s) => {
|
|
28
|
+
c(G(s));
|
|
29
|
+
},
|
|
30
|
+
[c]
|
|
31
|
+
);
|
|
32
|
+
f(() => {
|
|
33
|
+
_(u);
|
|
34
|
+
}, [u, _]), f(() => {
|
|
35
|
+
t(e ?? p);
|
|
36
|
+
}, []), f(() => {
|
|
37
|
+
e !== void 0 && t(e);
|
|
38
|
+
}, [e, t]);
|
|
39
|
+
const y = a(
|
|
40
|
+
(s) => {
|
|
41
|
+
t(s.currentTarget.value), o(!0), l == null || l(s);
|
|
42
|
+
},
|
|
43
|
+
[o, t, l]
|
|
44
|
+
), k = a(
|
|
45
|
+
(s) => {
|
|
46
|
+
t(s.currentTarget.value), o(!1), m == null || m(s);
|
|
47
|
+
},
|
|
48
|
+
[o, t, m]
|
|
49
|
+
), z = a(
|
|
50
|
+
(s) => {
|
|
51
|
+
s.animationName.startsWith("autofill-applied-hook") ? c(!0) : s.animationName.startsWith("autofill-cancelled-hook") && t(s.currentTarget.value), r == null || r(s);
|
|
52
|
+
},
|
|
53
|
+
[c, t, r]
|
|
54
|
+
), E = a(
|
|
55
|
+
(s) => {
|
|
56
|
+
t(s.currentTarget.value), i == null || i(s);
|
|
57
|
+
},
|
|
58
|
+
[t, i]
|
|
59
|
+
), N = {
|
|
60
|
+
...g,
|
|
61
|
+
id: u,
|
|
62
|
+
className: x,
|
|
63
|
+
value: e,
|
|
64
|
+
defaultValue: p,
|
|
65
|
+
disabled: h === q.DISABLED,
|
|
66
|
+
onFocus: y,
|
|
67
|
+
onBlur: k,
|
|
68
|
+
onAnimationStart: z,
|
|
69
|
+
onChange: E
|
|
70
|
+
};
|
|
71
|
+
return F ? F({ ...N, size: I }, n) : /* @__PURE__ */ M("input", { ...N, ref: n });
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
S.displayName = "FormFieldInput";
|
|
75
|
+
export {
|
|
76
|
+
S as F,
|
|
77
|
+
T as s
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=FormFieldInput--W9kjf4s.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__8724b8ca", a = "headerLayoutSidebarContent__92589799", r = "headerLayoutSidebarSidebar__1e844234", d = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: r
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
d as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-fr4_lzKQ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__e7b5ec4b", t = "headerTitleControls__5005bf63", l = "headerTitleContent__266aa428", 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-DUqjpN6C.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = "islandAccordion__e153baf2", t = "island__5c5bcd0e", o = "item__460acd4c", c = "disabled__74e507bb", s = "sm__a7f1d2eb", d = "md__e78d5e30", _ = "lg__b4563db7", n = "header__9468e351", a = "type1__4e2b4cb8", r = "opened__d1a9e73b", p = "type2__23dd61b2", b = "type3__ef340390", i = "footer__4b22df81", l = "body__83c27532", y = "caretWrapper__d01fde18", f = "caretIcon__c347787f", m = "title__ee1baeaf", g = "step__1f9e1800", h = "remove__f1512c79", v = {
|
|
2
|
+
islandAccordion: e,
|
|
3
|
+
island: t,
|
|
4
|
+
item: o,
|
|
5
|
+
disabled: c,
|
|
6
|
+
sm: s,
|
|
7
|
+
md: d,
|
|
8
|
+
lg: _,
|
|
9
|
+
header: n,
|
|
10
|
+
type1: a,
|
|
11
|
+
opened: r,
|
|
12
|
+
type2: p,
|
|
13
|
+
type3: b,
|
|
14
|
+
footer: i,
|
|
15
|
+
body: l,
|
|
16
|
+
caretWrapper: y,
|
|
17
|
+
caretIcon: f,
|
|
18
|
+
title: m,
|
|
19
|
+
step: g,
|
|
20
|
+
remove: h
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
v as s
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=IslandAccordion.module-CPVWJz-Z.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const t = "islandWidgetFooter__8e6ce6c5", o = "islandWidgetFooterContent__fb8763b7", e = "islandWidgetFooterControls__a9f278c2", n = {
|
|
2
|
+
islandWidgetFooter: t,
|
|
3
|
+
islandWidgetFooterContent: o,
|
|
4
|
+
islandWidgetFooterControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IslandWidgetFooter.module-BRjR7Nva.js.map
|