@sberbusiness/triplex-next 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +39 -0
- package/chunks/CalendarViewItem-DKS15EZ4.js +101 -0
- package/chunks/Card.module-BmZKmkeY.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +15 -0
- package/chunks/Chip-D5zfQfAA.js +104 -0
- package/chunks/Confirm.module-CtbiIzcl.js +15 -0
- package/chunks/DropdownListItem-C4JE2xV7.js +65 -0
- package/chunks/DropdownMobile.module-BgSbdJtS.js +23 -0
- package/chunks/Footer.module-B469C_XO.js +9 -0
- package/chunks/FormFieldInput-Dr_WBweC.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +9 -0
- package/chunks/HeaderTabs.module-4iOT34Zp.js +9 -0
- package/chunks/{HeaderTitle.module-Cg-I_NJG.js → HeaderTitle.module-D5yAgpuv.js} +2 -2
- package/chunks/IslandAccordion.module-mdAdZwJL.js +25 -0
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +9 -0
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +12 -0
- package/chunks/{LightBoxContent-BLPx_Tsf.js → LightBoxContent-Lme9r-vN.js} +12 -12
- package/chunks/LightBoxControls.module-qhDcQmnH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +9 -0
- package/chunks/ListItemControlsButton-BLbj6vZS.js +51 -0
- package/chunks/ListItemTail.module-BAmXXpc5.js +12 -0
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +10 -0
- package/chunks/ModalWindow.module-Ciwlg3WX.js +17 -0
- package/chunks/Notification.module-CjpGpuL7.js +20 -0
- package/chunks/Overlay.module-DPHcy5Kd.js +18 -0
- package/chunks/Page.module-98SUxLiM.js +11 -0
- package/chunks/{RightBorderArrow-1OX8NAL9.js → RightBorderArrow-CGThEmc4.js} +6 -6
- package/chunks/SMSField.module-k0lfRov5.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +15 -0
- package/chunks/{SliderExtendedRail-C_1LnK7I.js → SliderExtendedRail-C51TfjHY.js} +6 -6
- package/chunks/StatusTracker.module-BmBKiCLR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DNKfDfM3.js → SuggestFieldMobileDropdownHint-8Km5bFV3.js} +5 -5
- package/chunks/TableFooter.module-D0rUmZhB.js +14 -0
- package/chunks/TabsExtended.module-D5-U63Qf.js +16 -0
- package/chunks/TabsLine.module-DXlTUTm_.js +21 -0
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +19 -0
- package/chunks/TreeView.module-DAOSEOZO.js +9 -0
- package/chunks/{UploadZoneInput-CIib3dEF.js → UploadZoneInput-onwF8t4d.js} +8 -8
- package/chunks/{constants-BamiEgAW.js → constants-CUVfo8-z.js} +7 -7
- package/chunks/{utils-Bt-cuXIX.js → utils-By-UAq7Y.js} +5 -5
- package/chunks/utils-CyxIcdb6.js +73 -0
- package/chunks/utils-DxMHp1hh.js +28 -0
- package/chunks/utils-SSwzNA1R.js +24 -0
- package/chunks/{vendor-DaOifQgP.js → vendor---Om3uMV.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +7 -7
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +96 -83
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- 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 +11 -11
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 -77
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- 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 +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +14 -14
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +9 -13
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- 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 +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +3 -3
- 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 +14 -14
- 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 +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- 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 +9 -9
- 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/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +7 -7
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +9 -9
- 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 +4 -4
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +24 -24
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +24 -24
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +11 -11
- package/components/TopOverlay/TopOverlay.js +21 -21
- 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 +10 -10
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +29 -29
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +541 -538
- package/index.d.ts +75 -31
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +0 -39
- package/chunks/CalendarViewItem-D879SDC1.js +0 -101
- package/chunks/Card.module--O3Bx82B.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +0 -15
- package/chunks/Chip-M9mPbBOt.js +0 -90
- package/chunks/Confirm.module-DtBiR4Fo.js +0 -15
- package/chunks/DropdownListItem-BdLTF7q1.js +0 -65
- package/chunks/DropdownMobile.module-PpB3KA4H.js +0 -23
- package/chunks/Footer.module-Z4RIi8JP.js +0 -9
- package/chunks/FormFieldInput-C75omt8Y.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +0 -9
- package/chunks/HeaderTabs.module-ykRWLBUI.js +0 -9
- package/chunks/IslandAccordion.module-DE-xutGt.js +0 -25
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +0 -9
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +0 -12
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +0 -9
- package/chunks/ListItemControlsButton-0bXNCLYU.js +0 -43
- package/chunks/ListItemTail.module-DFYWneN6.js +0 -12
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +0 -10
- package/chunks/ModalWindow.module-DqMffIcE.js +0 -17
- package/chunks/Notification.module-CPSD8BYw.js +0 -20
- package/chunks/Overlay.module-B5Hl3baB.js +0 -18
- package/chunks/Page.module-BbrHHqMK.js +0 -11
- package/chunks/SMSField.module-CPSjUBD-.js +0 -16
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +0 -15
- package/chunks/StatusTracker.module-KkpUE8KY.js +0 -24
- package/chunks/TableFooter.module-OEvn0oaX.js +0 -14
- package/chunks/TabsExtended.module-B3Ti-48x.js +0 -16
- package/chunks/TabsLine.module-BgCBcRYT.js +0 -21
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +0 -19
- package/chunks/TreeView.module-CmGHGs81.js +0 -9
- package/chunks/utils-C5IWf42V.js +0 -24
- package/chunks/utils-d7-rkiPs.js +0 -27
- package/chunks/utils-hbQGLR7K.js +0 -73
- package/components/Dropdown/enums.js +0 -8
package/README.md
CHANGED
|
@@ -92,9 +92,11 @@ src/
|
|
|
92
92
|
| `npm run build` | Сборка компонентов и `style.css` в `dist/` |
|
|
93
93
|
| `npm run storybook` | Локальный просмотр компонентов |
|
|
94
94
|
| `npm run storybook:build` | Сборка Storybook в `storybook-static/` |
|
|
95
|
-
| `npm run test-visual` | Визуальные
|
|
96
|
-
| `npm run test-visual:update` | Обновить baseline-скриншоты |
|
|
97
|
-
| `npm run test-visual:
|
|
95
|
+
| `npm run test-visual:docker` | Визуальные тесты в Docker-контейнере (сборка + запуск) |
|
|
96
|
+
| `npm run test-visual:docker:update` | Обновить baseline-скриншоты в Docker-контейнере |
|
|
97
|
+
| `npm run test-visual:debug` | Отладка визуальных тестов локально (Storybook должен быть запущен) |
|
|
98
|
+
| `npm run test-visual:ci` | Визуальные тесты — используется в CI и Docker |
|
|
99
|
+
| `npm run test-visual:ci:update` | Обновление baseline — используется в CI и Docker |
|
|
98
100
|
|
|
99
101
|
---
|
|
100
102
|
|
|
@@ -131,39 +133,66 @@ export * from './components/Alert';
|
|
|
131
133
|
|
|
132
134
|
Скриншоты снимаются на двух viewport'ах: **XS** (575px) и **XL** (1200px). Baseline-скриншоты хранятся в папке `__screenshots__/` и коммитятся в git. Diff-изображения при падении сохраняются в `__screenshots__/__diff__/` и игнорируются git'ом.
|
|
133
135
|
|
|
134
|
-
> **Важно:** baseline-скриншоты создаются и обновляются **только через CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
135
|
-
|
|
136
|
-
#### CI воркфлоу
|
|
137
|
-
|
|
138
|
-
| Воркфлоу | Триггер | Что делает |
|
|
139
|
-
|---|---|---|
|
|
140
|
-
| `visual-test.yml` | Каждый PR | Прогоняет тесты, загружает диффы как артефакты при падении |
|
|
141
|
-
| `visual-update.yml` | Ручной запуск (`workflow_dispatch`) | Пересоздаёт baselines и коммитит их в ветку |
|
|
136
|
+
> **Важно:** baseline-скриншоты создаются и обновляются **только через Docker или CI** (Linux). Локальные скриншоты на macOS несовместимы из-за разного рендеринга шрифтов.
|
|
142
137
|
|
|
143
138
|
#### Как обновить baseline-скриншоты
|
|
144
139
|
|
|
140
|
+
**Через Docker (рекомендуется):**
|
|
141
|
+
```bash
|
|
142
|
+
npm run test-visual:docker:update
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Через CI:**
|
|
145
146
|
1. Запушить ветку с изменениями
|
|
146
147
|
2. В GitHub → Actions → **Update Visual Snapshots** → Run workflow → выбрать ветку
|
|
147
148
|
3. Воркфлоу пересоздаст скриншоты и сделает коммит в ту же ветку
|
|
148
149
|
|
|
149
|
-
#### Как
|
|
150
|
+
#### Как запустить визуальные тесты
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
npm run test-visual:docker # Проверка через Docker
|
|
154
|
+
npm run test-visual:docker:update # Обновление baseline через Docker
|
|
155
|
+
```
|
|
150
156
|
|
|
151
|
-
|
|
157
|
+
#### Как запустить тесты только для одного компонента
|
|
158
|
+
|
|
159
|
+
`test-storybook` не поддерживает фильтрацию по имени стори. Единственный способ — временно сузить glob в `.storybook/main.ts`:
|
|
152
160
|
|
|
153
161
|
```ts
|
|
154
|
-
// Временно, только для
|
|
155
|
-
stories: ["../stories/
|
|
162
|
+
// Временно, только для одного компонента:
|
|
163
|
+
stories: ["../stories/Link/**/*.stories.@(ts|tsx|mdx)"],
|
|
156
164
|
|
|
157
|
-
// Вернуть обратно
|
|
165
|
+
// Вернуть обратно после:
|
|
158
166
|
stories: ["../stories/**/*.stories.@(ts|tsx|mdx)", "../stories/**/*.mdx"],
|
|
159
167
|
```
|
|
160
168
|
|
|
161
|
-
Затем
|
|
169
|
+
Затем запустить тесты, как обычно:
|
|
170
|
+
|
|
162
171
|
```bash
|
|
163
|
-
npm run
|
|
164
|
-
npm run test-visual
|
|
172
|
+
npm run test-visual:docker # через Docker
|
|
173
|
+
npm run test-visual:debug # локально (Storybook должен быть запущен)
|
|
165
174
|
```
|
|
166
175
|
|
|
176
|
+
> **Не забудьте вернуть glob обратно** перед коммитом.
|
|
177
|
+
|
|
178
|
+
#### CI воркфлоу
|
|
179
|
+
|
|
180
|
+
Визуальные тесты в CI работают на собранной (build) версии Storybook, а не на dev-сервере — это исключает race conditions при загрузке модулей.
|
|
181
|
+
|
|
182
|
+
| Воркфлоу | Триггер | Что делает |
|
|
183
|
+
|---|---|---|
|
|
184
|
+
| `visual-test.yml` | Каждый PR | Прогоняет тесты, загружает диффы как артефакты при падении |
|
|
185
|
+
| `visual-update.yml` | Ручной запуск (`workflow_dispatch`) | Пересоздаёт baselines и коммитит их в ветку |
|
|
186
|
+
|
|
187
|
+
#### Как отлаживать локально
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
npm run storybook # в одном терминале
|
|
191
|
+
npm run test-visual:debug # в другом (с PWDEBUG=1)
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Для отладки одного компонента — сузить glob как описано выше.
|
|
195
|
+
|
|
167
196
|
#### Как исключить story из тестирования
|
|
168
197
|
|
|
169
198
|
```ts
|
|
@@ -186,10 +215,10 @@ const meta: Meta<typeof Button> = {
|
|
|
186
215
|
### Как запустить тесты локально
|
|
187
216
|
|
|
188
217
|
```bash
|
|
189
|
-
npm run test-e2e
|
|
190
|
-
npm run test-unit
|
|
191
|
-
npm run test-unit:watch
|
|
192
|
-
npm run test-unit:coverage
|
|
193
|
-
npm run test-visual:
|
|
194
|
-
npm run test-visual
|
|
218
|
+
npm run test-e2e # Запуск e2e тестов
|
|
219
|
+
npm run test-unit # Запуск unit тестов
|
|
220
|
+
npm run test-unit:watch # Запуск unit тестов в режиме наблюдения
|
|
221
|
+
npm run test-unit:coverage # Запуск unit тестов с отчётом о покрытии
|
|
222
|
+
npm run test-visual:docker # Визуальные регрессионные тесты (Docker)
|
|
223
|
+
npm run test-visual:docker:update # Обновить baseline-скриншоты (Docker)
|
|
195
224
|
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as d, useEffect as i } from "react";
|
|
3
|
+
import { CaretdownStrokeSrvIcon16 as _ } from "@sberbusiness/icons-next";
|
|
4
|
+
import { ButtonIcon as m } from "../components/Button/ButtonIcon.js";
|
|
5
|
+
import { AlertProcessContext as x } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
|
+
import { c as a } from "./vendor---Om3uMV.js";
|
|
7
|
+
const y = "alertProcess__642011d7", u = "withSpoiler__4196499b", T = "themeIcon__955e044b", f = "alertTypeError__0a63d95d", B = "alertTypeInfo__df561473", C = "alertTypeWarning__102ecd4b", S = "alertTypeSystem__11039b29", h = "alertTypeFeature__55f66eda", b = "alertProcessContentBlock__a5d54397", I = "expandableContent__7363194e", P = "expanded__0177e624", g = "closeButton__cc87f8ca", k = "expandButton__4bc36973", e = {
|
|
8
|
+
alertProcess: y,
|
|
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
|
+
expandableContent: I,
|
|
18
|
+
expanded: P,
|
|
19
|
+
closeButton: g,
|
|
20
|
+
expandButton: k
|
|
21
|
+
}, v = ({ children: s, open: r, onOpen: o, ...l }) => {
|
|
22
|
+
const { setHasSpoiler: n } = d(x);
|
|
23
|
+
i(() => (n(!0), () => {
|
|
24
|
+
n(!1);
|
|
25
|
+
}), [n]);
|
|
26
|
+
const c = () => {
|
|
27
|
+
o == null || o(!r);
|
|
28
|
+
};
|
|
29
|
+
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
+
/* @__PURE__ */ t("div", { className: a(e.expandableContent, { [e.expanded]: r }), ...l, children: s }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: a(e.expandButton, { [e.expanded]: r }), children: /* @__PURE__ */ t(m, { onClick: c, children: /* @__PURE__ */ t(_, { paletteIndex: 5 }) }) })
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
v.displayName = "AlertProcessSpoiler";
|
|
35
|
+
export {
|
|
36
|
+
v as A,
|
|
37
|
+
e as s
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=AlertProcessSpoiler-BoQok_f3.js.map
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as V } from "./vendor---Om3uMV.js";
|
|
3
|
+
import { useContext as N, useRef as T, useEffect as Y } from "react";
|
|
4
|
+
import { ECalendarDateMarkType as r } from "../components/Calendar/enums.js";
|
|
5
|
+
import { CalendarViewContext as x } from "../components/Calendar/CalendarViewContext.js";
|
|
6
|
+
import { isKey as w } from "../utils/keyboard.js";
|
|
7
|
+
const A = "calendarViewDays__cdc1a55a", E = "calendarViewMonths__30f4f486", L = "calendarViewYears__359f0ad5", R = "calendarViewDaysHeader__da0b2c90", v = "calendarViewDaysBody__d6868f0d", H = "calendarViewItem__41a9e916", B = "current__13e2f2ce", S = "disabled__e6f97a03", j = "calendarViewItemLabel__5dee424b", O = "selected__08ef60e5", P = "basicMark__c30800dc", g = "standardMark__03b51cef", q = "attentionMark__5495878d", z = "criticalMark__5de0ea90", G = "muted__072c27d0", J = "marked__431930dc", Q = "unitDay__24188d19", U = "unitMonth__fd6a8a52", W = "unitYear__85d7ee37", e = {
|
|
8
|
+
calendarViewDays: A,
|
|
9
|
+
calendarViewMonths: E,
|
|
10
|
+
calendarViewYears: L,
|
|
11
|
+
calendarViewDaysHeader: R,
|
|
12
|
+
calendarViewDaysBody: v,
|
|
13
|
+
calendarViewItem: H,
|
|
14
|
+
current: B,
|
|
15
|
+
disabled: S,
|
|
16
|
+
calendarViewItemLabel: j,
|
|
17
|
+
selected: O,
|
|
18
|
+
basicMark: P,
|
|
19
|
+
standardMark: g,
|
|
20
|
+
attentionMark: q,
|
|
21
|
+
criticalMark: z,
|
|
22
|
+
muted: G,
|
|
23
|
+
marked: J,
|
|
24
|
+
unitDay: Q,
|
|
25
|
+
unitMonth: U,
|
|
26
|
+
unitYear: W
|
|
27
|
+
}, X = {
|
|
28
|
+
[r.BASIC]: e.basicMark,
|
|
29
|
+
[r.STANDARD]: e.standardMark,
|
|
30
|
+
[r.ATTENTION]: e.attentionMark,
|
|
31
|
+
[r.CRITICAL]: e.criticalMark
|
|
32
|
+
}, Z = {
|
|
33
|
+
day: e.unitDay,
|
|
34
|
+
month: e.unitMonth,
|
|
35
|
+
year: e.unitYear
|
|
36
|
+
}, re = ({
|
|
37
|
+
children: k,
|
|
38
|
+
className: y,
|
|
39
|
+
date: o,
|
|
40
|
+
unit: I,
|
|
41
|
+
tabbable: c,
|
|
42
|
+
active: l,
|
|
43
|
+
disabled: _,
|
|
44
|
+
muted: C,
|
|
45
|
+
markType: n,
|
|
46
|
+
onFocus: d,
|
|
47
|
+
onBlur: s,
|
|
48
|
+
onKeyDown: i,
|
|
49
|
+
onDateSelect: m,
|
|
50
|
+
...D
|
|
51
|
+
}) => {
|
|
52
|
+
const { viewItemFocusedRef: t } = N(x), u = T(null);
|
|
53
|
+
Y(() => {
|
|
54
|
+
var a;
|
|
55
|
+
c && t.current && ((a = u.current) == null || a.focus());
|
|
56
|
+
}, [c, t]);
|
|
57
|
+
const h = (a) => {
|
|
58
|
+
t.current = !0, d == null || d(a);
|
|
59
|
+
}, b = (a) => {
|
|
60
|
+
t.current = !1, s == null || s(a);
|
|
61
|
+
}, p = (a) => {
|
|
62
|
+
const M = a.code || a.keyCode;
|
|
63
|
+
(w(M, "ENTER") || w(M, "SPACE")) && (a.preventDefault(), m(o)), i == null || i(a);
|
|
64
|
+
};
|
|
65
|
+
return /* @__PURE__ */ f(
|
|
66
|
+
"td",
|
|
67
|
+
{
|
|
68
|
+
className: V(e.calendarViewItem, { [e.disabled]: _ }, y),
|
|
69
|
+
tabIndex: c ? 0 : -1,
|
|
70
|
+
"aria-selected": l ? !0 : void 0,
|
|
71
|
+
onFocus: h,
|
|
72
|
+
onBlur: b,
|
|
73
|
+
onKeyDown: p,
|
|
74
|
+
...D,
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ f(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
className: V(
|
|
80
|
+
e.calendarViewItemLabel,
|
|
81
|
+
Z[I],
|
|
82
|
+
{
|
|
83
|
+
[e.disabled]: _,
|
|
84
|
+
[e.marked]: n !== void 0,
|
|
85
|
+
[e.muted]: !!C,
|
|
86
|
+
[e.selected]: l
|
|
87
|
+
},
|
|
88
|
+
n !== void 0 ? X[n] : void 0
|
|
89
|
+
),
|
|
90
|
+
onClick: () => m(o),
|
|
91
|
+
children: k
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
re as C,
|
|
99
|
+
e as s
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=CalendarViewItem-DKS15EZ4.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__a3d7c194", a = "roundingMD__4675333a", d = "roundingSM__8296835e", o = "general__1a5188fa", c = "secondary__af0ae91d", e = "cardMedia__18ea9b2d", r = "cardContent__7f9a0f83", t = "paddingMD__adc085aa", _ = "paddingSM__ac7c4a77", s = "cardContentHeader__422a30bd", g = "cardContentFooter__e1249594", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: a,
|
|
4
|
+
roundingSM: d,
|
|
5
|
+
general: o,
|
|
6
|
+
secondary: c,
|
|
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-BmZKmkeY.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__aa7e086f", c = "checkboxTreeExtendedNode__e434336f", o = "sm__ee932f44", d = "md__d0e02c9c", x = "lg__91958fad", r = "checkboxTreeExtendedNodeHeader__6a39e602", b = "checkboxTreeCheckboxLabel__050aca68", t = "caretIconWrapper__9a6fca23", n = "checkboxTreeCheckbox__0f670311", a = {
|
|
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
|
+
a as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CheckboxTreeExtended.module-CGSpV-y1.js.map
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsxs as x, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import b, { useCallback as u } from "react";
|
|
3
|
+
import { c as n } from "./vendor---Om3uMV.js";
|
|
4
|
+
import { EComponentSize as I } from "../enums/EComponentSize.js";
|
|
5
|
+
import { createSizeToClassNameMap as P } from "../utils/classNameMaps.js";
|
|
6
|
+
import { isKey as C } from "../utils/keyboard.js";
|
|
7
|
+
import { Badge as N } from "../components/Badge/Badge.js";
|
|
8
|
+
const w = "chipGroupItem__de3b3462", B = "chip__921937a0", g = "lg__c2805b44", G = "prefix__6fbbebd9", M = "postfix__e91ef5c1", S = "notificationIcon__72119522", j = "md__91979258", y = "sm__601fab4f", z = "disabled__d50759e0", E = "selected__96da14db", R = "withPrefix__9b21d758", T = "withPostfix__5d166c4f", k = "content__2ac00ac8", t = {
|
|
9
|
+
chipGroupItem: w,
|
|
10
|
+
chip: B,
|
|
11
|
+
lg: g,
|
|
12
|
+
prefix: G,
|
|
13
|
+
postfix: M,
|
|
14
|
+
notificationIcon: S,
|
|
15
|
+
md: j,
|
|
16
|
+
sm: y,
|
|
17
|
+
disabled: z,
|
|
18
|
+
selected: E,
|
|
19
|
+
withPrefix: R,
|
|
20
|
+
withPostfix: T,
|
|
21
|
+
content: k
|
|
22
|
+
}, v = P(t), A = b.forwardRef(
|
|
23
|
+
({
|
|
24
|
+
children: p,
|
|
25
|
+
className: r,
|
|
26
|
+
disabled: e,
|
|
27
|
+
postfix: i,
|
|
28
|
+
prefix: c,
|
|
29
|
+
selected: f,
|
|
30
|
+
showNotificationIcon: d,
|
|
31
|
+
size: l = I.MD,
|
|
32
|
+
onKeyDown: o,
|
|
33
|
+
...m
|
|
34
|
+
}, _) => {
|
|
35
|
+
const h = u(
|
|
36
|
+
(a) => {
|
|
37
|
+
C(a.code, "SPACE") && a.preventDefault(), o == null || o(a);
|
|
38
|
+
},
|
|
39
|
+
[o]
|
|
40
|
+
);
|
|
41
|
+
return /* @__PURE__ */ x(
|
|
42
|
+
"span",
|
|
43
|
+
{
|
|
44
|
+
className: n(
|
|
45
|
+
t.chip,
|
|
46
|
+
t.chipGroupItem,
|
|
47
|
+
v[l],
|
|
48
|
+
{
|
|
49
|
+
[t.disabled]: !!e,
|
|
50
|
+
[t.selected]: !!f,
|
|
51
|
+
[t.withPostfix]: typeof i < "u",
|
|
52
|
+
[t.withPrefix]: typeof c < "u"
|
|
53
|
+
},
|
|
54
|
+
r
|
|
55
|
+
),
|
|
56
|
+
role: "button",
|
|
57
|
+
tabIndex: e ? -1 : 0,
|
|
58
|
+
onKeyDown: h,
|
|
59
|
+
...m,
|
|
60
|
+
ref: _,
|
|
61
|
+
children: [
|
|
62
|
+
c ? /* @__PURE__ */ s(
|
|
63
|
+
"span",
|
|
64
|
+
{
|
|
65
|
+
className: n(
|
|
66
|
+
t.prefix,
|
|
67
|
+
"hoverable",
|
|
68
|
+
// Для иконок.
|
|
69
|
+
{
|
|
70
|
+
disabled: !!e
|
|
71
|
+
// Для иконок.
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
children: c
|
|
75
|
+
}
|
|
76
|
+
) : null,
|
|
77
|
+
/* @__PURE__ */ s("span", { className: t.content, children: p }),
|
|
78
|
+
i ? /* @__PURE__ */ s(
|
|
79
|
+
"span",
|
|
80
|
+
{
|
|
81
|
+
className: n(
|
|
82
|
+
t.postfix,
|
|
83
|
+
"hoverable",
|
|
84
|
+
// Для иконок.
|
|
85
|
+
{
|
|
86
|
+
disabled: !!e
|
|
87
|
+
// Для иконок.
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
children: i
|
|
91
|
+
}
|
|
92
|
+
) : null,
|
|
93
|
+
d && /* @__PURE__ */ s(N.Dot, { size: l, className: t.notificationIcon })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
A.displayName = "Chip";
|
|
100
|
+
export {
|
|
101
|
+
A as C,
|
|
102
|
+
t as s
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=Chip-D5zfQfAA.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__dfe0477b", o = "isInLightBox__dbc41e1b", i = "isInSideOverlaySM__1f7f54d6", e = "isInSideOverlayMD__b9b13adf", t = "isInSideOverlayLG__09daa931", s = "confirmCloseButton__ee0378c9", c = "confirmContent__e156e4fb", r = "confirmControls__604198ce", f = "confirmContentTitle__92c51e4a", l = {
|
|
2
|
+
confirm: n,
|
|
3
|
+
isInLightBox: o,
|
|
4
|
+
isInSideOverlaySM: i,
|
|
5
|
+
isInSideOverlayMD: e,
|
|
6
|
+
isInSideOverlayLG: t,
|
|
7
|
+
confirmCloseButton: s,
|
|
8
|
+
confirmContent: c,
|
|
9
|
+
confirmControls: r,
|
|
10
|
+
confirmContentTitle: f
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
l as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-CtbiIzcl.js.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsxs as E, jsx as k } from "react/jsx-runtime";
|
|
2
|
+
import I, { useEffect as v } from "react";
|
|
3
|
+
import { c as u } from "./vendor---Om3uMV.js";
|
|
4
|
+
import { EComponentSize as y } from "../enums/EComponentSize.js";
|
|
5
|
+
import { EVENT_KEY_CODES as p } from "../utils/keyboard.js";
|
|
6
|
+
import { Badge as l } from "../components/Badge/Badge.js";
|
|
7
|
+
const N = "dropdownDesktopList__f6f2fb92", g = "notificationIcon__1f2990c6", x = "sm__4e7b28a8", C = "dropdownDesktopListItem__f00ed296", O = "dropdownDesktopListLoader__073588b9", R = "md__fd6fea35", T = "lg__86f4c458", b = "active__870d6814", K = "selected__4f9641ec", s = {
|
|
8
|
+
dropdownDesktopList: N,
|
|
9
|
+
notificationIcon: g,
|
|
10
|
+
sm: x,
|
|
11
|
+
dropdownDesktopListItem: C,
|
|
12
|
+
dropdownDesktopListLoader: O,
|
|
13
|
+
md: R,
|
|
14
|
+
lg: T,
|
|
15
|
+
active: b,
|
|
16
|
+
selected: K
|
|
17
|
+
}, j = [p.SPACE, p.ENTER], A = I.forwardRef(
|
|
18
|
+
({
|
|
19
|
+
active: e,
|
|
20
|
+
keyCodesForSelection: m = j,
|
|
21
|
+
children: d,
|
|
22
|
+
className: c,
|
|
23
|
+
onClick: n,
|
|
24
|
+
onSelect: o,
|
|
25
|
+
selected: r,
|
|
26
|
+
showNotificationIcon: a,
|
|
27
|
+
size: f = y.MD,
|
|
28
|
+
..._
|
|
29
|
+
}, D) => {
|
|
30
|
+
const i = (t) => {
|
|
31
|
+
const { keyCode: w } = t;
|
|
32
|
+
m.includes(w) && (t.preventDefault(), o == null || o());
|
|
33
|
+
}, L = (t) => {
|
|
34
|
+
o == null || o(), n == null || n(t);
|
|
35
|
+
};
|
|
36
|
+
return v(() => (e ? document.addEventListener("keydown", i) : document.removeEventListener("keydown", i), () => {
|
|
37
|
+
document.removeEventListener("keydown", i);
|
|
38
|
+
}), [e]), /* @__PURE__ */ E(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: u(
|
|
42
|
+
s.dropdownDesktopListItem,
|
|
43
|
+
{ [s.active]: !!e, [s.selected]: !!r },
|
|
44
|
+
c
|
|
45
|
+
),
|
|
46
|
+
title: typeof d == "string" ? d : void 0,
|
|
47
|
+
role: "option",
|
|
48
|
+
"aria-selected": !!r,
|
|
49
|
+
..._,
|
|
50
|
+
onClick: L,
|
|
51
|
+
ref: D,
|
|
52
|
+
children: [
|
|
53
|
+
d,
|
|
54
|
+
a && /* @__PURE__ */ k(l.Dot, { size: f, className: s.notificationIcon })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
A.displayName = "DropdownListItem";
|
|
61
|
+
export {
|
|
62
|
+
A as D,
|
|
63
|
+
s
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=DropdownListItem-C4JE2xV7.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__3cbea42b", d = "dropdownMobileBackdrop__1b3ae73e", e = "closing__3db1f177", n = "opening__ec71c3e1", r = "opened__678d96d7", t = "dropdownMobile__d126647a", i = "dropdownMobileHeader__f7590e88", p = "dropdownMobileHeaderContent__724bd59e", c = "dropdownMobileContent__d7c4c15d", l = "dropdownMobileFooter__33358fdf", b = "dropdownMobileListItem__69377677", s = "selected__4f9641ec", w = "dropdownMobileBodyOverflow__d862689d", _ = "controlButtons__02f8cf64", M = "dropdownMobileLoader__a2c0e8c0", a = "dropdownMobileListLoader__68e0f537", f = "notificationIcon__1f2990c6", 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: c,
|
|
11
|
+
dropdownMobileFooter: l,
|
|
12
|
+
dropdownMobileListItem: b,
|
|
13
|
+
selected: s,
|
|
14
|
+
dropdownMobileBodyOverflow: w,
|
|
15
|
+
controlButtons: _,
|
|
16
|
+
dropdownMobileLoader: M,
|
|
17
|
+
dropdownMobileListLoader: a,
|
|
18
|
+
notificationIcon: f
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
L as s
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DropdownMobile.module-BgSbdJtS.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__49098d00", t = "footerDescriptionContent__0a1f8493", e = "footerDescriptionControls__ad6b78b2", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-B469C_XO.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__69b925ad", J = "sm__2fee6b7a", K = "md__e2808298", O = "lg__2c02c578", 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-Dr_WBweC.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__5331e38b", a = "headerLayoutSidebarContent__48e28ede", d = "headerLayoutSidebarSidebar__ae1926e0", r = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: d
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
r as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-DYtQ2wvu.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__68ec506c", t = "headerTitleControls__e362c321", l = "headerTitleContent__c6a8f2ae", o = {
|
|
2
2
|
headerTitle: e,
|
|
3
3
|
headerTitleControls: t,
|
|
4
4
|
"global-HeaderTitleControls": "global-HeaderTitleControls",
|
|
@@ -8,4 +8,4 @@ const e = "headerTitle__ea792f9a", t = "headerTitleControls__c1d13fe8", l = "hea
|
|
|
8
8
|
export {
|
|
9
9
|
o as s
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=HeaderTitle.module-
|
|
11
|
+
//# sourceMappingURL=HeaderTitle.module-D5yAgpuv.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = "islandAccordion__37548f73", t = "island__4536fb2b", o = "item__5b3e9807", c = "disabled__fe113d88", s = "sm__f888ed88", _ = "md__ea801142", n = "lg__9b9a4d01", d = "header__4e7eb5a8", a = "type1__868beb95", r = "opened__faf0329c", p = "type2__a1971baf", b = "type3__382bcb3b", i = "footer__d97bfb40", l = "body__e59c677b", y = "caretWrapper__58eceecd", f = "caretIcon__638c5241", m = "title__41437984", g = "step__693f2831", h = "remove__d0335823", v = {
|
|
2
|
+
islandAccordion: e,
|
|
3
|
+
island: t,
|
|
4
|
+
item: o,
|
|
5
|
+
disabled: c,
|
|
6
|
+
sm: s,
|
|
7
|
+
md: _,
|
|
8
|
+
lg: n,
|
|
9
|
+
header: d,
|
|
10
|
+
type1: a,
|
|
11
|
+
opened: r,
|
|
12
|
+
type2: p,
|
|
13
|
+
type3: b,
|
|
14
|
+
footer: i,
|
|
15
|
+
body: l,
|
|
16
|
+
caretWrapper: y,
|
|
17
|
+
caretIcon: f,
|
|
18
|
+
title: m,
|
|
19
|
+
step: g,
|
|
20
|
+
remove: h
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
v as s
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=IslandAccordion.module-mdAdZwJL.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const t = "islandWidgetFooter__31214ac2", o = "islandWidgetFooterContent__6ed0080d", e = "islandWidgetFooterControls__81739def", n = {
|
|
2
|
+
islandWidgetFooter: t,
|
|
3
|
+
islandWidgetFooterContent: o,
|
|
4
|
+
islandWidgetFooterControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IslandWidgetFooter.module-ClvLmtck.js.map
|