@sberbusiness/triplex-next 0.19.1 → 0.21.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 +61 -23
- package/chunks/{AlertProcessSpoiler-CApu9sgV.js → AlertProcessSpoiler-DxZ8QVn2.js} +11 -11
- package/chunks/{CalendarViewItem-CCClPe6W.js → CalendarViewItem-D879SDC1.js} +23 -23
- package/chunks/Card.module--O3Bx82B.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +15 -0
- package/chunks/{Chip-D-F5Ccch.js → Chip-M9mPbBOt.js} +9 -9
- package/chunks/Confirm.module-DtBiR4Fo.js +15 -0
- package/chunks/{DropdownListItem-B89w0ZP6.js → DropdownListItem-BdLTF7q1.js} +20 -20
- package/chunks/DropdownMobile.module-PpB3KA4H.js +23 -0
- package/chunks/Footer.module-Z4RIi8JP.js +9 -0
- package/chunks/FormFieldInput-C75omt8Y.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +9 -0
- package/chunks/HeaderTabs.module-ykRWLBUI.js +9 -0
- package/chunks/{HeaderTitle.module-F927IkdE.js → HeaderTitle.module-Cg-I_NJG.js} +2 -2
- package/chunks/IslandAccordion.module-DE-xutGt.js +25 -0
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +9 -0
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +12 -0
- package/chunks/LightBoxContent-BLPx_Tsf.js +56 -0
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +9 -0
- package/chunks/{ListItemControlsButton-CDm9UcL0.js → ListItemControlsButton-0bXNCLYU.js} +9 -9
- package/chunks/ListItemTail.module-DFYWneN6.js +12 -0
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +10 -0
- package/chunks/ModalWindow.module-DqMffIcE.js +17 -0
- package/chunks/Notification.module-CPSD8BYw.js +20 -0
- package/chunks/Overlay.module-B5Hl3baB.js +18 -0
- package/chunks/Page.module-BbrHHqMK.js +11 -0
- package/chunks/{RightBorderArrow-BUP-gfBp.js → RightBorderArrow-1OX8NAL9.js} +11 -11
- package/chunks/SMSField.module-CPSjUBD-.js +16 -0
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +15 -0
- package/chunks/SliderExtendedRail-C_1LnK7I.js +40 -0
- package/chunks/StatusTracker.module-KkpUE8KY.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B6hhbNqZ.js → SuggestFieldMobileDropdownHint-DNKfDfM3.js} +4 -4
- package/chunks/TableFooter.module-OEvn0oaX.js +14 -0
- package/chunks/TabsExtended.module-B3Ti-48x.js +16 -0
- package/chunks/TabsLine.module-BgCBcRYT.js +21 -0
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +19 -0
- package/chunks/TreeView.module-CmGHGs81.js +9 -0
- package/chunks/{UploadZoneInput-CCOpTzdI.js → UploadZoneInput-CIib3dEF.js} +3 -3
- package/chunks/{constants-BY0--v5J.js → constants-BamiEgAW.js} +7 -7
- package/chunks/{utils-CDZhfAbZ.js → utils-Bt-cuXIX.js} +6 -6
- package/chunks/utils-C5IWf42V.js +24 -0
- package/chunks/{utils-DN-l5mfA.js → utils-d7-rkiPs.js} +6 -6
- package/chunks/utils-hbQGLR7K.js +73 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor-DaOifQgP.js} +5330 -5331
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +17 -17
- 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 +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +6 -6
- 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 +12 -12
- 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 +6 -6
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- 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 +7 -7
- 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 +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- 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 +16 -16
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- 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 +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +19 -19
- 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/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +19 -19
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +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 +4 -4
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +6 -6
- 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 +61 -59
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +19 -19
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +31 -29
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/index.js +1 -1
- 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 +10 -10
- 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 +7 -7
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +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 +22 -22
- 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 +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +30 -30
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- 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 +15 -15
- 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 +10 -10
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- 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 +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- 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 +1 -1
- 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/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- 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 +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +71 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- 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 +29 -29
- package/components/SmallInput/SmallInput.js +7 -7
- 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 +11 -11
- 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 +20 -19
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- 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 +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +13 -13
- 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 +2 -2
- 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 +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- package/components/TabsExtended/TabsExtended.js +3 -3
- 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 +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +33 -33
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- 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 +36 -36
- 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 +15 -15
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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 +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +231 -68
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -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/LightBoxContent-CWI11Mkg.js +0 -56
- 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/SliderExtendedRail-BtDNU2QU.js +0 -40
- package/chunks/StatusTracker.module-jKCRT7JR.js +0 -24
- 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/README.md
CHANGED
|
@@ -92,6 +92,9 @@ 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` | Визуальные регрессионные тесты (Storybook должен быть запущен) |
|
|
96
|
+
| `npm run test-visual:update` | Обновить baseline-скриншоты |
|
|
97
|
+
| `npm run test-visual:ci` | Запустить Storybook + визуальные тесты (для CI) |
|
|
95
98
|
|
|
96
99
|
---
|
|
97
100
|
|
|
@@ -122,36 +125,71 @@ export * from './components/Alert';
|
|
|
122
125
|
|
|
123
126
|
Проект использует [Vitest](https://vitest.dev/) для unit-тестирования и [Testing Library](https://testing-library.com/docs/react-testing-library/intro/) для тестирования компонентов.
|
|
124
127
|
|
|
125
|
-
|
|
128
|
+
### Визуальное регрессионное тестирование
|
|
126
129
|
|
|
127
|
-
|
|
128
|
-
• При каждом пуше в ветки main или release-*, Chromatic запускает визуальные тесты.
|
|
129
|
-
• Chromatic делает скриншоты всех stories, сравнивает с предыдущими, и показывает отличия (если есть).
|
|
130
|
-
• ✅ Если изменений нет — билд считается успешным.
|
|
131
|
-
• 🔍 Если есть изменения — нужен review и approval в интерфейсе Chromatic.
|
|
130
|
+
Для визуального тестирования используется [`@storybook/test-runner`](https://github.com/storybookjs/test-runner) + [`jest-image-snapshot`](https://github.com/americanexpress/jest-image-snapshot).
|
|
132
131
|
|
|
133
|
-
|
|
132
|
+
Скриншоты снимаются на двух viewport'ах: **XS** (575px) и **XL** (1200px). Baseline-скриншоты хранятся в папке `__screenshots__/` и коммитятся в git. Diff-изображения при падении сохраняются в `__screenshots__/__diff__/` и игнорируются git'ом.
|
|
134
133
|
|
|
135
|
-
|
|
136
|
-
• Chromatic отправляет нотификации в Telegram (через Webhook), если:
|
|
137
|
-
• билд прошёл ✅
|
|
138
|
-
• или есть изменения/ошибки ❗
|
|
134
|
+
> **Важно:** baseline-скриншоты создаются и обновляются **только через CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
139
135
|
|
|
140
|
-
|
|
136
|
+
#### CI воркфлоу
|
|
141
137
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
4. Просмотри отличия → Approve (если всё ок)
|
|
138
|
+
| Воркфлоу | Триггер | Что делает |
|
|
139
|
+
|---|---|---|
|
|
140
|
+
| `visual-test.yml` | Каждый PR | Прогоняет тесты, загружает диффы как артефакты при падении |
|
|
141
|
+
| `visual-update.yml` | Ручной запуск (`workflow_dispatch`) | Пересоздаёт baselines и коммитит их в ветку |
|
|
147
142
|
|
|
143
|
+
#### Как обновить baseline-скриншоты
|
|
144
|
+
|
|
145
|
+
1. Запушить ветку с изменениями
|
|
146
|
+
2. В GitHub → Actions → **Update Visual Snapshots** → Run workflow → выбрать ветку
|
|
147
|
+
3. Воркфлоу пересоздаст скриншоты и сделает коммит в ту же ветку
|
|
148
|
+
|
|
149
|
+
#### Как отлаживать локально
|
|
150
|
+
|
|
151
|
+
Для отладки конкретного компонента — временно сузить glob в `.storybook/main.ts`:
|
|
152
|
+
|
|
153
|
+
```ts
|
|
154
|
+
// Временно, только для отладки:
|
|
155
|
+
stories: ["../stories/Badge/**/*.stories.@(ts|tsx|mdx)"],
|
|
156
|
+
|
|
157
|
+
// Вернуть обратно после отладки:
|
|
158
|
+
stories: ["../stories/**/*.stories.@(ts|tsx|mdx)", "../stories/**/*.mdx"],
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Затем запустить:
|
|
162
|
+
```bash
|
|
163
|
+
npm run storybook # в одном терминале
|
|
164
|
+
npm run test-visual # в другом
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
#### Как исключить story из тестирования
|
|
168
|
+
|
|
169
|
+
```ts
|
|
170
|
+
// Конкретную story
|
|
171
|
+
export const MyStory: Story = {
|
|
172
|
+
parameters: {
|
|
173
|
+
testRunner: { skip: true },
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
// Все stories компонента (в default export / meta)
|
|
178
|
+
const meta: Meta<typeof Button> = {
|
|
179
|
+
component: Button,
|
|
180
|
+
parameters: {
|
|
181
|
+
testRunner: { skip: true },
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
```
|
|
148
185
|
|
|
149
186
|
### Как запустить тесты локально
|
|
150
187
|
|
|
151
188
|
```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
|
-
|
|
189
|
+
npm run test-e2e # Запуск e2e тестов
|
|
190
|
+
npm run test-unit # Запуск unit тестов
|
|
191
|
+
npm run test-unit:watch # Запуск unit тестов в режиме наблюдения
|
|
192
|
+
npm run test-unit:coverage # Запуск unit тестов с отчётом о покрытии
|
|
193
|
+
npm run test-visual:update # Создать/обновить baseline визуальных тестов
|
|
194
|
+
npm run test-visual # Запуск визуальных регрессионных тестов
|
|
195
|
+
```
|
|
@@ -2,11 +2,11 @@ import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
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
|
-
import { AlertProcessContext as
|
|
6
|
-
import { c as n } from "./vendor-
|
|
7
|
-
const
|
|
8
|
-
alertProcess:
|
|
9
|
-
withSpoiler:
|
|
5
|
+
import { AlertProcessContext as f } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
|
+
import { c as n } from "./vendor-DaOifQgP.js";
|
|
7
|
+
const x = "alertProcess__eb01ee0b", y = "withSpoiler__d669f82d", u = "themeIcon__1994a235", T = "alertTypeError__f07ed65b", b = "alertTypeInfo__9b400ecf", B = "alertTypeWarning__9c26edfc", C = "alertTypeSystem__7abbacdc", S = "alertTypeFeature__bf7deb76", h = "alertProcessContentBlock__d5a0b085", I = "expandableContent__1e8a07ca", P = "expanded__5c506e7b", g = "closeButton__a3180f95", k = "expandButton__fac0bcf8", e = {
|
|
8
|
+
alertProcess: x,
|
|
9
|
+
withSpoiler: y,
|
|
10
10
|
themeIcon: u,
|
|
11
11
|
alertTypeError: T,
|
|
12
12
|
alertTypeInfo: b,
|
|
@@ -18,17 +18,17 @@ const y = "alertProcess__66f8cf87", f = "withSpoiler__9203047d", u = "themeIcon_
|
|
|
18
18
|
expanded: P,
|
|
19
19
|
closeButton: g,
|
|
20
20
|
expandButton: k
|
|
21
|
-
}, v = ({ children: s, open: r, onOpen: o, ...
|
|
22
|
-
const { setHasSpoiler: a } = d(
|
|
21
|
+
}, v = ({ children: s, open: r, onOpen: o, ...c }) => {
|
|
22
|
+
const { setHasSpoiler: a } = d(f);
|
|
23
23
|
i(() => (a(!0), () => {
|
|
24
24
|
a(!1);
|
|
25
25
|
}), [a]);
|
|
26
|
-
const
|
|
26
|
+
const l = () => {
|
|
27
27
|
o == null || o(!r);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
-
/* @__PURE__ */ t("div", { className: n(e.expandableContent, { [e.expanded]: r }), ...
|
|
31
|
-
/* @__PURE__ */ t("div", { className: n(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick:
|
|
30
|
+
/* @__PURE__ */ t("div", { className: n(e.expandableContent, { [e.expanded]: r }), ...c, children: s }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: n(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick: l, children: /* @__PURE__ */ t(_, { paletteIndex: 5 }) }) })
|
|
32
32
|
] });
|
|
33
33
|
};
|
|
34
34
|
v.displayName = "AlertProcessSpoiler";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
v as A,
|
|
37
37
|
e as s
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=AlertProcessSpoiler-
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-DxZ8QVn2.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as V } from "react/jsx-runtime";
|
|
2
|
+
import { c as f } from "./vendor-DaOifQgP.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__95662bfe", E = "calendarViewMonths__80394253", L = "calendarViewYears__c3e3908a", R = "calendarViewDaysHeader__1b807aea", v = "calendarViewDaysBody__6fc3928a", H = "calendarViewItem__4609563c", B = "current__2aa66dc8", S = "disabled__17fdac19", j = "calendarViewItemLabel__c9db2a8a", O = "selected__debf4220", P = "basicMark__779e6266", g = "standardMark__73b5f3c8", q = "attentionMark__91452e21", z = "criticalMark__6cc7433d", G = "muted__e56f1203", J = "marked__1d8b681b", Q = "unitDay__d137f6d1", U = "unitMonth__28919af3", W = "unitYear__decdcde5", 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:
|
|
44
|
+
muted: b,
|
|
45
|
+
markType: n,
|
|
46
46
|
onFocus: d,
|
|
47
47
|
onBlur: s,
|
|
48
48
|
onKeyDown: i,
|
|
49
49
|
onDateSelect: m,
|
|
50
50
|
...C
|
|
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
|
-
}, [
|
|
55
|
+
c && t.current && ((e = u.current) == null || e.focus());
|
|
56
|
+
}, [c, t]);
|
|
57
57
|
const D = (e) => {
|
|
58
58
|
t.current = !0, d == null || d(e);
|
|
59
59
|
}, h = (e) => {
|
|
60
60
|
t.current = !1, s == null || s(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__ */ V(
|
|
66
66
|
"td",
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
69
|
-
tabIndex:
|
|
68
|
+
className: f(a.calendarViewItem, { [a.disabled]: _ }, y),
|
|
69
|
+
tabIndex: c ? 0 : -1,
|
|
70
70
|
"aria-selected": l ? !0 : void 0,
|
|
71
71
|
onFocus: D,
|
|
72
72
|
onBlur: h,
|
|
73
73
|
onKeyDown: p,
|
|
74
74
|
...C,
|
|
75
|
-
ref:
|
|
76
|
-
children: /* @__PURE__ */
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ V(
|
|
77
77
|
"div",
|
|
78
78
|
{
|
|
79
|
-
className:
|
|
79
|
+
className: f(
|
|
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]: !!b,
|
|
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-D879SDC1.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__1e1c30b8", d = "roundingMD__2d27090a", a = "roundingSM__cb6989c1", c = "general__63617c89", o = "secondary__68c71ab9", e = "cardMedia__27f54d83", r = "cardContent__895a3701", t = "paddingMD__07fd2e7d", _ = "paddingSM__165718e2", s = "cardContentHeader__8297947b", g = "cardContentFooter__3111d66a", 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--O3Bx82B.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__1192e498", c = "checkboxTreeExtendedNode__55b60643", o = "sm__77055849", d = "md__b600851f", x = "lg__d4938ef6", r = "checkboxTreeExtendedNodeHeader__7448cd25", b = "checkboxTreeCheckboxLabel__5646919c", t = "caretIconWrapper__7c7a1009", n = "checkboxTreeCheckbox__99c89b85", 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-Cw3yb-cF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as _, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as n } from "./vendor-
|
|
2
|
+
import b, { useCallback as x } from "react";
|
|
3
|
+
import { c as n } from "./vendor-DaOifQgP.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__c21511b3", w = "chip__68df64ef", I = "lg__6e69225b", B = "prefix__bec9861e", G = "postfix__03b5bb92", g = "md__f6c0afbe", z = "sm__474e78e3", M = "disabled__5441047b", S = "selected__3d9c6219", j = "withPrefix__ab21b6cb", y = "withPostfix__418c971e", E = "content__7be50c42", e = {
|
|
8
8
|
chipGroupItem: N,
|
|
9
9
|
chip: w,
|
|
10
10
|
lg: I,
|
|
@@ -17,9 +17,9 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
17
17
|
withPrefix: j,
|
|
18
18
|
withPostfix: y,
|
|
19
19
|
content: E
|
|
20
|
-
}, R = P(e), T =
|
|
21
|
-
({ children: l, className: p, disabled: t, postfix: o, prefix: c, selected: r, size: f = u.MD, onKeyDown: s, ...
|
|
22
|
-
const h =
|
|
20
|
+
}, R = P(e), T = b.forwardRef(
|
|
21
|
+
({ children: l, className: p, disabled: t, postfix: o, prefix: c, selected: r, size: f = u.MD, onKeyDown: s, ...m }, d) => {
|
|
22
|
+
const h = x(
|
|
23
23
|
(i) => {
|
|
24
24
|
C(i.code, "SPACE") && i.preventDefault(), s == null || s(i);
|
|
25
25
|
},
|
|
@@ -43,8 +43,8 @@ const N = "chipGroupItem__e5e43050", w = "chip__58567ce2", I = "lg__63bb957a", B
|
|
|
43
43
|
role: "button",
|
|
44
44
|
tabIndex: t ? -1 : 0,
|
|
45
45
|
onKeyDown: h,
|
|
46
|
-
...
|
|
47
|
-
ref:
|
|
46
|
+
...m,
|
|
47
|
+
ref: d,
|
|
48
48
|
children: [
|
|
49
49
|
c ? /* @__PURE__ */ a(
|
|
50
50
|
"span",
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
T as C,
|
|
88
88
|
e as s
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=Chip-
|
|
90
|
+
//# sourceMappingURL=Chip-M9mPbBOt.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__2a28e68e", o = "isInLightBox__33345ed9", i = "isInSideOverlaySM__981d47aa", t = "isInSideOverlayMD__8bb7819d", e = "isInSideOverlayLG__b8fa93a9", s = "confirmCloseButton__fb3ad920", r = "confirmContent__d4ae8cf0", c = "confirmControls__8424606e", f = "confirmContentTitle__22e096fb", l = {
|
|
2
|
+
confirm: n,
|
|
3
|
+
isInLightBox: o,
|
|
4
|
+
isInSideOverlaySM: i,
|
|
5
|
+
isInSideOverlayMD: t,
|
|
6
|
+
isInSideOverlayLG: e,
|
|
7
|
+
confirmCloseButton: s,
|
|
8
|
+
confirmContent: r,
|
|
9
|
+
confirmControls: c,
|
|
10
|
+
confirmContentTitle: f
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
l as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-DtBiR4Fo.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
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 {
|
|
5
|
-
import {
|
|
6
|
-
import { Badge as
|
|
7
|
-
const N = "
|
|
8
|
-
dropdownDesktopList:
|
|
9
|
-
notificationIcon:
|
|
10
|
-
sm:
|
|
11
|
-
dropdownDesktopListItem:
|
|
12
|
-
dropdownDesktopListLoader:
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
active:
|
|
3
|
+
import { c as b } from "./vendor-DaOifQgP.js";
|
|
4
|
+
import { EComponentSize as u } from "../enums/EComponentSize.js";
|
|
5
|
+
import { EVENT_KEY_CODES as a } from "../utils/keyboard.js";
|
|
6
|
+
import { Badge as y } from "../components/Badge/Badge.js";
|
|
7
|
+
const l = "dropdownDesktopList__c94eb151", N = "notificationIcon__ac0d91a1", g = "sm__3186abdd", x = "dropdownDesktopListItem__da0ff8b3", C = "dropdownDesktopListLoader__5271eca9", O = "md__f42cb32e", R = "lg__abba6909", T = "active__337cbbc9", K = "selected__e67a7505", s = {
|
|
8
|
+
dropdownDesktopList: l,
|
|
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 = [a.SPACE, a.ENTER], A = I.forwardRef(
|
|
18
18
|
({
|
|
19
19
|
active: e,
|
|
20
20
|
keyCodesForSelection: p = j,
|
|
21
21
|
children: d,
|
|
22
|
-
className:
|
|
22
|
+
className: c,
|
|
23
23
|
onClick: n,
|
|
24
24
|
onSelect: o,
|
|
25
25
|
selected: r,
|
|
26
26
|
showNotificationIcon: m,
|
|
27
|
-
size: _ =
|
|
27
|
+
size: _ = u.MD,
|
|
28
28
|
...f
|
|
29
29
|
}, D) => {
|
|
30
30
|
const i = (t) => {
|
|
@@ -38,10 +38,10 @@ const N = "dropdownDesktopList__5b976066", g = "notificationIcon__caf93c7c", x =
|
|
|
38
38
|
}), [e]), /* @__PURE__ */ E(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
|
-
className:
|
|
41
|
+
className: b(
|
|
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
|
-
m && /* @__PURE__ */ k(
|
|
54
|
+
m && /* @__PURE__ */ k(y.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-BdLTF7q1.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__628bf443", e = "dropdownMobileBackdrop__01aebfa8", d = "closing__551d0400", n = "opening__ae09a874", r = "opened__6b02aaf7", t = "dropdownMobile__a227f051", i = "dropdownMobileHeader__217cd8cf", p = "dropdownMobileHeaderContent__269d462f", c = "dropdownMobileContent__b0bb33b9", l = "dropdownMobileFooter__9520cc79", b = "dropdownMobileListItem__ba53f125", s = "selected__e67a7505", w = "dropdownMobileBodyOverflow__f04c61a5", a = "controlButtons__e1313266", _ = "dropdownMobileLoader__b9f8979c", M = "dropdownMobileListLoader__cececafb", f = "notificationIcon__ac0d91a1", L = {
|
|
2
|
+
dropdownMobileWrapper: o,
|
|
3
|
+
dropdownMobileBackdrop: e,
|
|
4
|
+
closing: d,
|
|
5
|
+
opening: n,
|
|
6
|
+
opened: r,
|
|
7
|
+
dropdownMobile: t,
|
|
8
|
+
dropdownMobileHeader: i,
|
|
9
|
+
dropdownMobileHeaderContent: p,
|
|
10
|
+
dropdownMobileContent: c,
|
|
11
|
+
dropdownMobileFooter: l,
|
|
12
|
+
dropdownMobileListItem: b,
|
|
13
|
+
selected: s,
|
|
14
|
+
dropdownMobileBodyOverflow: w,
|
|
15
|
+
controlButtons: a,
|
|
16
|
+
dropdownMobileLoader: _,
|
|
17
|
+
dropdownMobileListLoader: M,
|
|
18
|
+
notificationIcon: f
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
L as s
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DropdownMobile.module-PpB3KA4H.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__a879a71c", t = "footerDescriptionContent__2a1821c4", e = "footerDescriptionControls__db615225", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-Z4RIi8JP.js.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as z } from "react/jsx-runtime";
|
|
2
|
+
import A, { useContext as B, useMemo as M, useEffect as _ } from "react";
|
|
3
|
+
import { FormFieldContext as P } from "../components/FormField/FormFieldContext.js";
|
|
4
|
+
import { u as k, c as D } from "./vendor-DaOifQgP.js";
|
|
5
|
+
import { EFormFieldStatus as R } from "../components/FormField/enums.js";
|
|
6
|
+
import { createSizeToClassNameMap as T } from "../utils/classNameMaps.js";
|
|
7
|
+
const V = "formFieldInput__46c15979", W = "sm__9d81b3df", j = "md__12df891c", q = "lg__a5c94cbc", E = {
|
|
8
|
+
formFieldInput: V,
|
|
9
|
+
sm: W,
|
|
10
|
+
md: j,
|
|
11
|
+
lg: q
|
|
12
|
+
}, w = T(E), x = (s) => s === void 0 ? !1 : typeof s == "number" ? !0 : s.length !== 0, L = A.forwardRef((s, m) => {
|
|
13
|
+
const { className: S, id: r, onAnimationStart: i, onBlur: n, onFocus: l, placeholder: c, value: t, ...b } = s, { render: d, ...g } = s, { focused: C, status: y, setFocused: u, setId: f, setValueExist: o, size: p } = B(P), a = M(() => r === void 0 ? k("input_") : r, [r]), F = D(E.formFieldInput, w[p], S);
|
|
14
|
+
_(() => {
|
|
15
|
+
f(a);
|
|
16
|
+
}, [a, f]), _(() => {
|
|
17
|
+
o(x(t));
|
|
18
|
+
}, [o, t]);
|
|
19
|
+
const I = (e) => {
|
|
20
|
+
u(!1), n == null || n(e);
|
|
21
|
+
}, h = (e) => {
|
|
22
|
+
u(!0), l == null || l(e);
|
|
23
|
+
}, N = (e) => {
|
|
24
|
+
e.animationName.startsWith("autofill-applied-hook") ? o(!0) : e.animationName.startsWith("autofill-cancelled-hook") && (x(t) || o(!1)), i == null || i(e);
|
|
25
|
+
};
|
|
26
|
+
return d ? d(
|
|
27
|
+
{
|
|
28
|
+
...g,
|
|
29
|
+
className: F,
|
|
30
|
+
id: a,
|
|
31
|
+
onAnimationStart: N,
|
|
32
|
+
onBlur: I,
|
|
33
|
+
onFocus: h,
|
|
34
|
+
/* Когда элемент не в фокусе, вместо placeholder показывается Label. */
|
|
35
|
+
placeholder: C ? c : " ",
|
|
36
|
+
size: p
|
|
37
|
+
},
|
|
38
|
+
m
|
|
39
|
+
) : /* @__PURE__ */ z(
|
|
40
|
+
"input",
|
|
41
|
+
{
|
|
42
|
+
...b,
|
|
43
|
+
className: F,
|
|
44
|
+
disabled: y === R.DISABLED,
|
|
45
|
+
id: a,
|
|
46
|
+
onAnimationStart: N,
|
|
47
|
+
onFocus: h,
|
|
48
|
+
onBlur: I,
|
|
49
|
+
value: t,
|
|
50
|
+
placeholder: c,
|
|
51
|
+
ref: m
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
L.displayName = "FormFieldInput";
|
|
56
|
+
export {
|
|
57
|
+
L as F,
|
|
58
|
+
E as s
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=FormFieldInput-C75omt8Y.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__11ee9a82", a = "headerLayoutSidebarContent__af5b9738", r = "headerLayoutSidebarSidebar__27059a86", d = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: r
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
d as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-BJZj3qz4.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__ea792f9a", t = "headerTitleControls__c1d13fe8", l = "headerTitleContent__3e54cd17", 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-Cg-I_NJG.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = "islandAccordion__6876dd0a", t = "island__6af4fa06", o = "item__ad9e31dd", c = "disabled__607a112a", s = "sm__d1f1f0b7", d = "md__19acede8", _ = "lg__5953a225", n = "header__200d0f9e", a = "type1__9fb28ba3", r = "opened__3d6199c9", p = "type2__e205a6f0", i = "type3__346ceb20", b = "footer__7b2f33fc", l = "body__136c4343", f = "caretWrapper__c569c0e6", y = "caretIcon__eb5b71b5", m = "title__a5bcb9f1", g = "step__39b79302", h = "remove__d4e2861d", 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: i,
|
|
14
|
+
footer: b,
|
|
15
|
+
body: l,
|
|
16
|
+
caretWrapper: f,
|
|
17
|
+
caretIcon: y,
|
|
18
|
+
title: m,
|
|
19
|
+
step: g,
|
|
20
|
+
remove: h
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
v as s
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=IslandAccordion.module-DE-xutGt.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const t = "islandWidgetFooter__faf58ab3", o = "islandWidgetFooterContent__c499557f", e = "islandWidgetFooterControls__5fdd22e6", n = {
|
|
2
|
+
islandWidgetFooter: t,
|
|
3
|
+
islandWidgetFooterContent: o,
|
|
4
|
+
islandWidgetFooterControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IslandWidgetFooter.module-DpnJPgi0.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const e = "islandWidgetHeader__e9966d38", t = "islandWidgetHeaderContent__e66b52cf", d = "islandWidgetHeaderDescription__1f1dfcb9", n = "caretWrapper__5080dfce", a = "caretIcon__86496d75", r = "open__3f1a3fb8", i = {
|
|
2
|
+
islandWidgetHeader: e,
|
|
3
|
+
islandWidgetHeaderContent: t,
|
|
4
|
+
islandWidgetHeaderDescription: d,
|
|
5
|
+
caretWrapper: n,
|
|
6
|
+
caretIcon: a,
|
|
7
|
+
open: r
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
i as s
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=IslandWidgetHeader.module-lf-NGWlm.js.map
|