@sberbusiness/triplex-next 0.19.1 → 0.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 +90 -23
- package/chunks/{AlertProcessSpoiler-CApu9sgV.js → AlertProcessSpoiler-BsywFBZZ.js} +11 -11
- package/chunks/{CalendarViewItem-CCClPe6W.js → CalendarViewItem-EhHNwDDy.js} +29 -29
- package/chunks/Card.module-Dgcuvaxs.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CjEhZ2aL.js +15 -0
- package/chunks/{Chip-D-F5Ccch.js → Chip-6YRhubRU.js} +14 -14
- package/chunks/Confirm.module-BMm4u38e.js +15 -0
- package/chunks/{DropdownListItem-B89w0ZP6.js → DropdownListItem-C5KVFMFN.js} +19 -19
- package/chunks/DropdownMobile.module-Cxm5Uhf1.js +23 -0
- package/chunks/Footer.module-CTy6Jb7Q.js +9 -0
- package/chunks/FormFieldInput-Dp--anY3.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DE1rx-T9.js +9 -0
- package/chunks/HeaderTabs.module-CU5av8Im.js +9 -0
- package/chunks/{HeaderTitle.module-F927IkdE.js → HeaderTitle.module-C_Qbl_yg.js} +2 -2
- package/chunks/IslandAccordion.module-DLX2HyLA.js +25 -0
- package/chunks/IslandWidgetFooter.module-CevMa9bc.js +9 -0
- package/chunks/IslandWidgetHeader.module-DTRWPBN8.js +12 -0
- package/chunks/{LightBoxContent-CWI11Mkg.js → LightBoxContent-qf3pAUrN.js} +6 -6
- package/chunks/LightBoxControls.module-Bg_GYyOS.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Cgag40bQ.js +9 -0
- package/chunks/{ListItemControlsButton-CDm9UcL0.js → ListItemControlsButton-BAYnQi20.js} +9 -9
- package/chunks/ListItemTail.module-Cu07UH0y.js +12 -0
- package/chunks/ListMasterFooter.module-CAY0qwdE.js +10 -0
- package/chunks/ModalWindow.module-CwlDT1jn.js +17 -0
- package/chunks/Notification.module-C93nRGIm.js +20 -0
- package/chunks/Overlay.module-CYkgbbXG.js +18 -0
- package/chunks/Page.module-DZHBTNJd.js +11 -0
- package/chunks/{RightBorderArrow-BUP-gfBp.js → RightBorderArrow-BBut2Is3.js} +11 -11
- package/chunks/SMSField.module-BUVlPOpO.js +16 -0
- package/chunks/SliderExtendedMarks.module-B93JtPsG.js +15 -0
- package/chunks/{SliderExtendedRail-BtDNU2QU.js → SliderExtendedRail-DbmfJHLD.js} +14 -14
- package/chunks/StatusTracker.module-BhVoYRB1.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-BZd9-Rmk.js +14 -0
- package/chunks/TableFooter.module-CwKjzhF7.js +14 -0
- package/chunks/TabsExtended.module-NTLSSjNf.js +16 -0
- package/chunks/TabsLine.module-CCjh6UnA.js +21 -0
- package/chunks/TooltipDesktop.module-CDF6HmOX.js +19 -0
- package/chunks/TreeView.module-7cPW-p6b.js +9 -0
- package/chunks/{UploadZoneInput-CCOpTzdI.js → UploadZoneInput-BfYcVOW-.js} +3 -3
- package/chunks/{constants-BY0--v5J.js → constants-BuiH5bGa.js} +9 -9
- package/chunks/utils-BgxjtTHV.js +73 -0
- package/chunks/utils-BnE2k27o.js +28 -0
- package/chunks/{utils-CDZhfAbZ.js → utils-D7L6Tbas.js} +6 -6
- package/chunks/utils-Z5FN_0vH.js +24 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor---Om3uMV.js} +5345 -5350
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- 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 +11 -11
- package/components/Badge/Badge.js +17 -17
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +94 -81
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +24 -24
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +15 -15
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +24 -23
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +17 -18
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +59 -62
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- 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 +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- 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 +69 -75
- package/components/FormField/FormFieldContext.js +16 -13
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +8 -8
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +56 -46
- 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 +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +75 -69
- package/components/IslandWidget/IslandWidget.js +18 -18
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- 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 +6 -6
- package/components/LightBox/LightBox.js +37 -37
- 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 +22 -22
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +23 -23
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +7 -7
- 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 +6 -6
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +16 -16
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- 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 +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +9 -9
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +49 -33
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- 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 +7 -7
- 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 +4 -4
- 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 +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +17 -17
- package/components/Radio/RadioXGroup.js +15 -15
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +16 -16
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +73 -69
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +8 -8
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +20 -20
- 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 +9 -9
- 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 +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +23 -22
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +144 -140
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +61 -56
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +56 -52
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +11 -11
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- 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 +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- 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 +122 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +35 -35
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +7 -7
- 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 +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +25 -25
- 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 +13 -13
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- 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 +583 -566
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +281 -92
- package/index.js +621 -604
- package/package.json +6 -3
- package/styles/triplex-next.css +541 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D48lssVF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +0 -14
- package/chunks/Confirm.module-CvrGGvLz.js +0 -15
- package/chunks/DropdownMobile.module-CEbQqs2X.js +0 -23
- package/chunks/Footer.module-WHmnrQeq.js +0 -9
- package/chunks/FormFieldInput-CC-nRhb4.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +0 -9
- package/chunks/HeaderTabs.module-Nz927HlU.js +0 -9
- package/chunks/IslandAccordion.module-CFCDu7K5.js +0 -25
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +0 -9
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +0 -12
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +0 -8
- package/chunks/ListItemTail.module-DZ2CIKA4.js +0 -12
- package/chunks/ListMasterFooter.module-DMTXvddx.js +0 -10
- package/chunks/ModalWindow.module-CmKHP-l0.js +0 -17
- package/chunks/Notification.module-CtiA4KeZ.js +0 -20
- package/chunks/Overlay.module-BKGmOe22.js +0 -18
- package/chunks/Page.module-BjtGL1n5.js +0 -11
- package/chunks/SMSField.module-BM5o6WPK.js +0 -16
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +0 -15
- package/chunks/StatusTracker.module-jKCRT7JR.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-B6hhbNqZ.js +0 -14
- package/chunks/TableFooter.module-BIxc-uz_.js +0 -14
- package/chunks/TabsExtended.module-CWXgdzlB.js +0 -16
- package/chunks/TabsLine.module-BQ_DsA4u.js +0 -21
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +0 -19
- package/chunks/TreeView.module-DwpFo7Sm.js +0 -9
- package/chunks/utils-BD4-x_pW.js +0 -24
- package/chunks/utils-CIrM2Shg.js +0 -73
- package/chunks/utils-DN-l5mfA.js +0 -27
- package/components/Dropdown/enums.js +0 -8
package/README.md
CHANGED
|
@@ -92,6 +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: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 |
|
|
95
100
|
|
|
96
101
|
---
|
|
97
102
|
|
|
@@ -122,36 +127,98 @@ export * from './components/Alert';
|
|
|
122
127
|
|
|
123
128
|
Проект использует [Vitest](https://vitest.dev/) для unit-тестирования и [Testing Library](https://testing-library.com/docs/react-testing-library/intro/) для тестирования компонентов.
|
|
124
129
|
|
|
125
|
-
|
|
130
|
+
### Визуальное регрессионное тестирование
|
|
126
131
|
|
|
127
|
-
|
|
128
|
-
• При каждом пуше в ветки main или release-*, Chromatic запускает визуальные тесты.
|
|
129
|
-
• Chromatic делает скриншоты всех stories, сравнивает с предыдущими, и показывает отличия (если есть).
|
|
130
|
-
• ✅ Если изменений нет — билд считается успешным.
|
|
131
|
-
• 🔍 Если есть изменения — нужен review и approval в интерфейсе Chromatic.
|
|
132
|
+
Для визуального тестирования используется [`@storybook/test-runner`](https://github.com/storybookjs/test-runner) + [`jest-image-snapshot`](https://github.com/americanexpress/jest-image-snapshot).
|
|
132
133
|
|
|
133
|
-
|
|
134
|
+
Скриншоты снимаются на двух viewport'ах: **XS** (575px) и **XL** (1200px). Baseline-скриншоты хранятся в папке `__screenshots__/` и коммитятся в git. Diff-изображения при падении сохраняются в `__screenshots__/__diff__/` и игнорируются git'ом.
|
|
134
135
|
|
|
135
|
-
|
|
136
|
-
• Chromatic отправляет нотификации в Telegram (через Webhook), если:
|
|
137
|
-
• билд прошёл ✅
|
|
138
|
-
• или есть изменения/ошибки ❗
|
|
136
|
+
> **Важно:** baseline-скриншоты создаются и обновляются **только через Docker или CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
139
137
|
|
|
140
|
-
|
|
138
|
+
#### Как обновить baseline-скриншоты
|
|
141
139
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
140
|
+
**Через Docker (рекомендуется):**
|
|
141
|
+
```bash
|
|
142
|
+
npm run test-visual:docker:update
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Через CI:**
|
|
146
|
+
1. Запушить ветку с изменениями
|
|
147
|
+
2. В GitHub → Actions → **Update Visual Snapshots** → Run workflow → выбрать ветку
|
|
148
|
+
3. Воркфлоу пересоздаст скриншоты и сделает коммит в ту же ветку
|
|
149
|
+
|
|
150
|
+
#### Как запустить визуальные тесты
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
npm run test-visual:docker # Проверка через Docker
|
|
154
|
+
npm run test-visual:docker:update # Обновление baseline через Docker
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
#### Как запустить тесты только для одного компонента
|
|
158
|
+
|
|
159
|
+
`test-storybook` не поддерживает фильтрацию по имени стори. Единственный способ — временно сузить glob в `.storybook/main.ts`:
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
// Временно, только для одного компонента:
|
|
163
|
+
stories: ["../stories/Link/**/*.stories.@(ts|tsx|mdx)"],
|
|
164
|
+
|
|
165
|
+
// Вернуть обратно после:
|
|
166
|
+
stories: ["../stories/**/*.stories.@(ts|tsx|mdx)", "../stories/**/*.mdx"],
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Затем запустить тесты, как обычно:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
npm run test-visual:docker # через Docker
|
|
173
|
+
npm run test-visual:debug # локально (Storybook должен быть запущен)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
> **Не забудьте вернуть glob обратно** перед коммитом.
|
|
177
|
+
|
|
178
|
+
#### CI воркфлоу
|
|
147
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
|
+
|
|
196
|
+
#### Как исключить story из тестирования
|
|
197
|
+
|
|
198
|
+
```ts
|
|
199
|
+
// Конкретную story
|
|
200
|
+
export const MyStory: Story = {
|
|
201
|
+
parameters: {
|
|
202
|
+
testRunner: { skip: true },
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
// Все stories компонента (в default export / meta)
|
|
207
|
+
const meta: Meta<typeof Button> = {
|
|
208
|
+
component: Button,
|
|
209
|
+
parameters: {
|
|
210
|
+
testRunner: { skip: true },
|
|
211
|
+
},
|
|
212
|
+
};
|
|
213
|
+
```
|
|
148
214
|
|
|
149
215
|
### Как запустить тесты локально
|
|
150
216
|
|
|
151
217
|
```bash
|
|
152
|
-
npm run test-e2e
|
|
153
|
-
npm run test-unit
|
|
154
|
-
npm run test-unit:watch
|
|
155
|
-
npm run test-unit:coverage
|
|
156
|
-
npm run
|
|
157
|
-
|
|
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)
|
|
224
|
+
```
|
|
@@ -3,17 +3,17 @@ 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 n } from "./vendor
|
|
7
|
-
const y = "
|
|
6
|
+
import { c as n } from "./vendor---Om3uMV.js";
|
|
7
|
+
const y = "alertProcess__50780375", u = "withSpoiler__0b543483", T = "themeIcon__91962ac1", f = "alertTypeError__ce2613c2", B = "alertTypeInfo__938bfe37", C = "alertTypeWarning__11dbca1d", S = "alertTypeSystem__95fa948f", h = "alertTypeFeature__a5ec1886", b = "alertProcessContentBlock__8a2b7c56", I = "expandableContent__b3688717", P = "expanded__e8a6e072", g = "closeButton__63886165", k = "expandButton__c1171a39", e = {
|
|
8
8
|
alertProcess: y,
|
|
9
|
-
withSpoiler:
|
|
10
|
-
themeIcon:
|
|
11
|
-
alertTypeError:
|
|
12
|
-
alertTypeInfo:
|
|
13
|
-
alertTypeWarning:
|
|
14
|
-
alertTypeSystem:
|
|
15
|
-
alertTypeFeature:
|
|
16
|
-
alertProcessContentBlock:
|
|
9
|
+
withSpoiler: u,
|
|
10
|
+
themeIcon: T,
|
|
11
|
+
alertTypeError: f,
|
|
12
|
+
alertTypeInfo: B,
|
|
13
|
+
alertTypeWarning: C,
|
|
14
|
+
alertTypeSystem: S,
|
|
15
|
+
alertTypeFeature: h,
|
|
16
|
+
alertProcessContentBlock: b,
|
|
17
17
|
expandableContent: I,
|
|
18
18
|
expanded: P,
|
|
19
19
|
closeButton: g,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
v as A,
|
|
37
37
|
e as s
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=AlertProcessSpoiler-
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-BsywFBZZ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as V } from "./vendor
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as V } from "./vendor---Om3uMV.js";
|
|
3
3
|
import { useContext as N, useRef as T, useEffect as Y } from "react";
|
|
4
4
|
import { ECalendarDateMarkType as r } from "../components/Calendar/enums.js";
|
|
5
5
|
import { CalendarViewContext as x } from "../components/Calendar/CalendarViewContext.js";
|
|
6
6
|
import { isKey as w } from "../utils/keyboard.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "calendarViewDays__02088829", E = "calendarViewMonths__85cd5443", L = "calendarViewYears__a482d59e", R = "calendarViewDaysHeader__a008c37c", v = "calendarViewDaysBody__778ae4ff", H = "calendarViewItem__77918d75", B = "current__c611f302", S = "disabled__72360197", j = "calendarViewItemLabel__fc9fc24a", O = "selected__c34b3a2c", P = "basicMark__28fe7eb1", g = "standardMark__5a971066", q = "attentionMark__0d7f6103", z = "criticalMark__1c31752b", G = "muted__e319b673", J = "marked__b2c033a9", Q = "unitDay__64840257", U = "unitMonth__b836af34", W = "unitYear__193f6561", a = {
|
|
8
8
|
calendarViewDays: A,
|
|
9
9
|
calendarViewMonths: E,
|
|
10
10
|
calendarViewYears: L,
|
|
@@ -37,55 +37,55 @@ const A = "calendarViewDays__3b15225c", E = "calendarViewMonths__79f3619e", L =
|
|
|
37
37
|
children: k,
|
|
38
38
|
className: y,
|
|
39
39
|
date: o,
|
|
40
|
-
unit:
|
|
41
|
-
tabbable:
|
|
40
|
+
unit: I,
|
|
41
|
+
tabbable: c,
|
|
42
42
|
active: l,
|
|
43
43
|
disabled: _,
|
|
44
|
-
muted:
|
|
45
|
-
markType:
|
|
46
|
-
onFocus:
|
|
47
|
-
onBlur:
|
|
44
|
+
muted: C,
|
|
45
|
+
markType: n,
|
|
46
|
+
onFocus: s,
|
|
47
|
+
onBlur: d,
|
|
48
48
|
onKeyDown: i,
|
|
49
49
|
onDateSelect: m,
|
|
50
|
-
...
|
|
50
|
+
...D
|
|
51
51
|
}) => {
|
|
52
|
-
const { viewItemFocusedRef: t } = N(x),
|
|
52
|
+
const { viewItemFocusedRef: t } = N(x), u = T(null);
|
|
53
53
|
Y(() => {
|
|
54
54
|
var e;
|
|
55
|
-
|
|
56
|
-
}, [
|
|
57
|
-
const
|
|
58
|
-
t.current = !0,
|
|
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
59
|
}, h = (e) => {
|
|
60
|
-
t.current = !1,
|
|
60
|
+
t.current = !1, d == null || d(e);
|
|
61
61
|
}, p = (e) => {
|
|
62
|
-
const
|
|
63
|
-
(w(
|
|
62
|
+
const M = e.code || e.keyCode;
|
|
63
|
+
(w(M, "ENTER") || w(M, "SPACE")) && (e.preventDefault(), m(o)), i == null || i(e);
|
|
64
64
|
};
|
|
65
|
-
return /* @__PURE__ */
|
|
65
|
+
return /* @__PURE__ */ f(
|
|
66
66
|
"td",
|
|
67
67
|
{
|
|
68
68
|
className: V(a.calendarViewItem, { [a.disabled]: _ }, y),
|
|
69
|
-
tabIndex:
|
|
69
|
+
tabIndex: c ? 0 : -1,
|
|
70
70
|
"aria-selected": l ? !0 : void 0,
|
|
71
|
-
onFocus:
|
|
71
|
+
onFocus: b,
|
|
72
72
|
onBlur: h,
|
|
73
73
|
onKeyDown: p,
|
|
74
|
-
...
|
|
75
|
-
ref:
|
|
76
|
-
children: /* @__PURE__ */
|
|
74
|
+
...D,
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ f(
|
|
77
77
|
"div",
|
|
78
78
|
{
|
|
79
79
|
className: V(
|
|
80
80
|
a.calendarViewItemLabel,
|
|
81
|
-
Z[
|
|
81
|
+
Z[I],
|
|
82
82
|
{
|
|
83
83
|
[a.disabled]: _,
|
|
84
|
-
[a.marked]:
|
|
85
|
-
[a.muted]: !!
|
|
84
|
+
[a.marked]: n !== void 0,
|
|
85
|
+
[a.muted]: !!C,
|
|
86
86
|
[a.selected]: l
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
n !== void 0 ? X[n] : void 0
|
|
89
89
|
),
|
|
90
90
|
onClick: () => m(o),
|
|
91
91
|
children: k
|
|
@@ -98,4 +98,4 @@ export {
|
|
|
98
98
|
ra as C,
|
|
99
99
|
a as s
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=CalendarViewItem-
|
|
101
|
+
//# sourceMappingURL=CalendarViewItem-EhHNwDDy.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__e202f1a2", d = "roundingMD__5348051d", a = "roundingSM__c4b8f650", c = "general__bc8b54b8", o = "secondary__bf1e2a00", e = "cardMedia__d62b325b", r = "cardContent__0cb51b0a", t = "paddingMD__381d9186", _ = "paddingSM__8c9a195a", s = "cardContentHeader__634589da", g = "cardContentFooter__9cec5c43", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: d,
|
|
4
|
+
roundingSM: a,
|
|
5
|
+
general: c,
|
|
6
|
+
secondary: o,
|
|
7
|
+
cardMedia: e,
|
|
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-Dgcuvaxs.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__a619f4a1", c = "checkboxTreeExtendedNode__20a07eff", o = "sm__305488d8", d = "md__2226fff4", x = "lg__a79ebd0c", r = "checkboxTreeExtendedNodeHeader__23057d88", b = "checkboxTreeCheckboxLabel__933d9cce", t = "caretIconWrapper__884ce7ca", n = "checkboxTreeCheckbox__86f605b6", 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-CjEhZ2aL.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as _, jsx as
|
|
1
|
+
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import x, { useCallback as b } from "react";
|
|
3
|
-
import { c as n } from "./vendor
|
|
3
|
+
import { c as n } from "./vendor---Om3uMV.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__a7e9724a", w = "chip__db9b4f43", I = "lg__145fc3d1", B = "prefix__f5a1f280", G = "postfix__2d180ae3", g = "md__fbf163e6", z = "sm__102ac1ba", M = "disabled__48476310", S = "selected__42bf3fa3", j = "withPrefix__6a4de7ba", y = "withPostfix__d35df15d", E = "content__de68c971", e = {
|
|
8
8
|
chipGroupItem: N,
|
|
9
9
|
chip: w,
|
|
10
10
|
lg: I,
|
|
@@ -18,10 +18,10 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
18
18
|
withPostfix: y,
|
|
19
19
|
content: E
|
|
20
20
|
}, R = P(e), T = x.forwardRef(
|
|
21
|
-
({ children: l, className: p, disabled: t, postfix: o, prefix:
|
|
21
|
+
({ children: l, className: p, disabled: t, postfix: o, prefix: i, selected: f, size: r = u.MD, onKeyDown: s, ...d }, m) => {
|
|
22
22
|
const h = b(
|
|
23
|
-
(
|
|
24
|
-
C(
|
|
23
|
+
(a) => {
|
|
24
|
+
C(a.code, "SPACE") && a.preventDefault(), s == null || s(a);
|
|
25
25
|
},
|
|
26
26
|
[s]
|
|
27
27
|
);
|
|
@@ -31,12 +31,12 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
31
31
|
className: n(
|
|
32
32
|
e.chip,
|
|
33
33
|
e.chipGroupItem,
|
|
34
|
-
R[
|
|
34
|
+
R[r],
|
|
35
35
|
{
|
|
36
36
|
[e.disabled]: !!t,
|
|
37
|
-
[e.selected]: !!
|
|
37
|
+
[e.selected]: !!f,
|
|
38
38
|
[e.withPostfix]: typeof o < "u",
|
|
39
|
-
[e.withPrefix]: typeof
|
|
39
|
+
[e.withPrefix]: typeof i < "u"
|
|
40
40
|
},
|
|
41
41
|
p
|
|
42
42
|
),
|
|
@@ -46,7 +46,7 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
46
46
|
...d,
|
|
47
47
|
ref: m,
|
|
48
48
|
children: [
|
|
49
|
-
|
|
49
|
+
i ? /* @__PURE__ */ c(
|
|
50
50
|
"span",
|
|
51
51
|
{
|
|
52
52
|
className: n(
|
|
@@ -58,11 +58,11 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
58
58
|
// Для иконок.
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
children:
|
|
61
|
+
children: i
|
|
62
62
|
}
|
|
63
63
|
) : null,
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
o ? /* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ c("span", { className: e.content, children: l }),
|
|
65
|
+
o ? /* @__PURE__ */ c(
|
|
66
66
|
"span",
|
|
67
67
|
{
|
|
68
68
|
className: n(
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
T as C,
|
|
88
88
|
e as s
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=Chip-
|
|
90
|
+
//# sourceMappingURL=Chip-6YRhubRU.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__c17c1c92", o = "isInLightBox__f8584bab", i = "isInSideOverlaySM__4123544b", t = "isInSideOverlayMD__9335eb16", e = "isInSideOverlayLG__d92d309c", s = "confirmCloseButton__b04f87f9", c = "confirmContent__7b837933", r = "confirmControls__93572336", l = "confirmContentTitle__ad1b47e9", f = {
|
|
2
|
+
confirm: n,
|
|
3
|
+
isInLightBox: o,
|
|
4
|
+
isInSideOverlaySM: i,
|
|
5
|
+
isInSideOverlayMD: t,
|
|
6
|
+
isInSideOverlayLG: e,
|
|
7
|
+
confirmCloseButton: s,
|
|
8
|
+
confirmContent: c,
|
|
9
|
+
confirmControls: r,
|
|
10
|
+
confirmContentTitle: l
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
f as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-BMm4u38e.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsxs as E, jsx as k } from "react/jsx-runtime";
|
|
2
2
|
import I, { useEffect as v } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { c as u } from "./vendor-DE8Zvm0w.js";
|
|
3
|
+
import { c as u } from "./vendor---Om3uMV.js";
|
|
5
4
|
import { EComponentSize as y } from "../enums/EComponentSize.js";
|
|
5
|
+
import { EVENT_KEY_CODES as p } from "../utils/keyboard.js";
|
|
6
6
|
import { Badge as l } from "../components/Badge/Badge.js";
|
|
7
|
-
const N = "
|
|
8
|
-
dropdownDesktopList:
|
|
9
|
-
notificationIcon:
|
|
10
|
-
sm:
|
|
11
|
-
dropdownDesktopListItem:
|
|
12
|
-
dropdownDesktopListLoader:
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
active:
|
|
7
|
+
const b = "dropdownDesktopList__5b9b3f8f", N = "notificationIcon__b774c955", g = "sm__dbfd1a56", x = "dropdownDesktopListItem__b5304a1d", C = "dropdownDesktopListLoader__8664bd34", O = "md__46139c62", R = "lg__46cda25d", T = "active__d95c165e", K = "selected__e8ff7913", s = {
|
|
8
|
+
dropdownDesktopList: b,
|
|
9
|
+
notificationIcon: N,
|
|
10
|
+
sm: g,
|
|
11
|
+
dropdownDesktopListItem: x,
|
|
12
|
+
dropdownDesktopListLoader: C,
|
|
13
|
+
md: O,
|
|
14
|
+
lg: R,
|
|
15
|
+
active: T,
|
|
16
16
|
selected: K
|
|
17
|
-
}, j = [
|
|
17
|
+
}, j = [p.SPACE, p.ENTER], A = I.forwardRef(
|
|
18
18
|
({
|
|
19
19
|
active: e,
|
|
20
|
-
keyCodesForSelection:
|
|
20
|
+
keyCodesForSelection: m = j,
|
|
21
21
|
children: d,
|
|
22
|
-
className:
|
|
22
|
+
className: c,
|
|
23
23
|
onClick: n,
|
|
24
24
|
onSelect: o,
|
|
25
25
|
selected: r,
|
|
26
|
-
showNotificationIcon:
|
|
26
|
+
showNotificationIcon: a,
|
|
27
27
|
size: _ = y.MD,
|
|
28
28
|
...f
|
|
29
29
|
}, D) => {
|
|
30
30
|
const i = (t) => {
|
|
31
31
|
const { keyCode: w } = t;
|
|
32
|
-
|
|
32
|
+
m.includes(w) && (t.preventDefault(), o == null || o());
|
|
33
33
|
}, L = (t) => {
|
|
34
34
|
o == null || o(), n == null || n(t);
|
|
35
35
|
};
|
|
@@ -41,7 +41,7 @@ const N = "dropdownDesktopList__5b976066", g = "notificationIcon__caf93c7c", x =
|
|
|
41
41
|
className: u(
|
|
42
42
|
s.dropdownDesktopListItem,
|
|
43
43
|
{ [s.active]: !!e, [s.selected]: !!r },
|
|
44
|
-
|
|
44
|
+
c
|
|
45
45
|
),
|
|
46
46
|
title: typeof d == "string" ? d : void 0,
|
|
47
47
|
role: "option",
|
|
@@ -51,7 +51,7 @@ const N = "dropdownDesktopList__5b976066", g = "notificationIcon__caf93c7c", x =
|
|
|
51
51
|
ref: D,
|
|
52
52
|
children: [
|
|
53
53
|
d,
|
|
54
|
-
|
|
54
|
+
a && /* @__PURE__ */ k(l.Dot, { size: _, className: s.notificationIcon })
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
);
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
A as D,
|
|
63
63
|
s
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=DropdownListItem-
|
|
65
|
+
//# sourceMappingURL=DropdownListItem-C5KVFMFN.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__174c3f55", d = "dropdownMobileBackdrop__91955390", e = "closing__9e598ad7", n = "opening__31485a72", r = "opened__a97b42ed", t = "dropdownMobile__7fd550ec", i = "dropdownMobileHeader__8a2a1c7d", p = "dropdownMobileHeaderContent__a67b6286", l = "dropdownMobileContent__e6e3decf", c = "dropdownMobileFooter__8d879582", b = "dropdownMobileListItem__4adb019d", s = "selected__e8ff7913", w = "dropdownMobileBodyOverflow__de2b7b03", _ = "controlButtons__ecc1f62d", M = "dropdownMobileLoader__7a1bcf4c", a = "dropdownMobileListLoader__4372414d", f = "notificationIcon__b774c955", L = {
|
|
2
|
+
dropdownMobileWrapper: o,
|
|
3
|
+
dropdownMobileBackdrop: d,
|
|
4
|
+
closing: e,
|
|
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-Cxm5Uhf1.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__5affab59", t = "footerDescriptionContent__be0d3544", e = "footerDescriptionControls__8dd2eaec", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-CTy6Jb7Q.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---Om3uMV.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__74877aeb", J = "sm__4f6881aa", K = "md__68c11dc0", O = "lg__e231dbe3", 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: g,
|
|
17
|
+
value: e,
|
|
18
|
+
defaultValue: p,
|
|
19
|
+
onFocus: m,
|
|
20
|
+
onBlur: r,
|
|
21
|
+
onAnimationStart: i,
|
|
22
|
+
onChange: l,
|
|
23
|
+
render: F,
|
|
24
|
+
...h
|
|
25
|
+
}, n) => {
|
|
26
|
+
const { status: x, setFocused: o, setTargetId: I, setFilled: c, size: _ } = D(j), u = L(() => d === void 0 ? R("input_") : d, [d]), b = W(T.formFieldInput, Q[_], g), t = a(
|
|
27
|
+
(s) => {
|
|
28
|
+
c(G(s));
|
|
29
|
+
},
|
|
30
|
+
[c]
|
|
31
|
+
);
|
|
32
|
+
f(() => {
|
|
33
|
+
I(u);
|
|
34
|
+
}, [u, I]), 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), m == null || m(s);
|
|
42
|
+
},
|
|
43
|
+
[o, t, m]
|
|
44
|
+
), k = a(
|
|
45
|
+
(s) => {
|
|
46
|
+
t(s.currentTarget.value), o(!1), r == null || r(s);
|
|
47
|
+
},
|
|
48
|
+
[o, t, r]
|
|
49
|
+
), z = a(
|
|
50
|
+
(s) => {
|
|
51
|
+
s.animationName.startsWith("autofill-applied-hook") ? c(!0) : s.animationName.startsWith("autofill-cancelled-hook") && t(s.currentTarget.value), i == null || i(s);
|
|
52
|
+
},
|
|
53
|
+
[c, t, i]
|
|
54
|
+
), E = a(
|
|
55
|
+
(s) => {
|
|
56
|
+
t(s.currentTarget.value), l == null || l(s);
|
|
57
|
+
},
|
|
58
|
+
[t, l]
|
|
59
|
+
), N = {
|
|
60
|
+
...h,
|
|
61
|
+
id: u,
|
|
62
|
+
className: b,
|
|
63
|
+
value: e,
|
|
64
|
+
defaultValue: p,
|
|
65
|
+
disabled: x === q.DISABLED,
|
|
66
|
+
onFocus: y,
|
|
67
|
+
onBlur: k,
|
|
68
|
+
onAnimationStart: z,
|
|
69
|
+
onChange: E
|
|
70
|
+
};
|
|
71
|
+
return F ? F({ ...N, size: _ }, 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-Dp--anY3.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__7f2a2c58", a = "headerLayoutSidebarContent__2c37d88d", d = "headerLayoutSidebarSidebar__57b0bb37", r = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: d
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
r as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-DE1rx-T9.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__51d7ccbd", t = "headerTitleControls__6f87b6fd", l = "headerTitleContent__ae77c797", o = {
|
|
2
2
|
headerTitle: e,
|
|
3
3
|
headerTitleControls: t,
|
|
4
4
|
"global-HeaderTitleControls": "global-HeaderTitleControls",
|
|
@@ -8,4 +8,4 @@ const e = "headerTitle__bc291d33", t = "headerTitleControls__5a22e269", l = "hea
|
|
|
8
8
|
export {
|
|
9
9
|
o as s
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=HeaderTitle.module-
|
|
11
|
+
//# sourceMappingURL=HeaderTitle.module-C_Qbl_yg.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = "islandAccordion__d413d7a0", t = "island__a6cad92a", c = "item__b8bc8df9", o = "disabled__22f07773", s = "sm__4ebac694", d = "md__d4f84bb5", _ = "lg__c59656d3", a = "header__457215f6", n = "type1__19dcbb2a", r = "opened__9dbaa9c7", p = "type2__767de7a1", i = "type3__a7eb4550", b = "footer__8feafa84", l = "body__880eab26", y = "caretWrapper__5ec02243", m = "caretIcon__8d87ccee", f = "title__1bce4575", g = "step__015a08a0", h = "remove__86c7dc33", v = {
|
|
2
|
+
islandAccordion: e,
|
|
3
|
+
island: t,
|
|
4
|
+
item: c,
|
|
5
|
+
disabled: o,
|
|
6
|
+
sm: s,
|
|
7
|
+
md: d,
|
|
8
|
+
lg: _,
|
|
9
|
+
header: a,
|
|
10
|
+
type1: n,
|
|
11
|
+
opened: r,
|
|
12
|
+
type2: p,
|
|
13
|
+
type3: i,
|
|
14
|
+
footer: b,
|
|
15
|
+
body: l,
|
|
16
|
+
caretWrapper: y,
|
|
17
|
+
caretIcon: m,
|
|
18
|
+
title: f,
|
|
19
|
+
step: g,
|
|
20
|
+
remove: h
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
v as s
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=IslandAccordion.module-DLX2HyLA.js.map
|