@sberbusiness/triplex-next 1.19.1 → 1.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 +60 -22
- package/chunks/{AlertProcessSpoiler-CJysh-L6.js → AlertProcessSpoiler-io5SjBK8.js} +9 -9
- package/chunks/CalendarViewItem-CW39vnxU.js +101 -0
- package/chunks/Card.module-wkZoieJo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +15 -0
- package/chunks/{Chip-Cp4nSSv9.js → Chip-CtmEt4Cp.js} +20 -20
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-Czxj-82d.js → DropdownListItem-gGRZUigY.js} +14 -14
- package/chunks/DropdownMobile.module-D1Tda3VC.js +23 -0
- package/chunks/Footer.module-dEM87TWq.js +9 -0
- package/chunks/FormFieldInput-BXZLkCG-.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +9 -0
- package/chunks/HeaderTabs.module-lGf7L-VN.js +9 -0
- package/chunks/{HeaderTitle.module-bJWT64K6.js → HeaderTitle.module-G-lXVibC.js} +2 -2
- package/chunks/IslandAccordion.module-CmJ_07-4.js +25 -0
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +9 -0
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +12 -0
- package/chunks/LightBoxContent-Dwdsxv-p.js +56 -0
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CLWIOf-c.js → ListItemControlsButton-CXrdUtOj.js} +8 -8
- package/chunks/ListItemTail.module-t77bOXMm.js +12 -0
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +10 -0
- package/chunks/ModalWindow.module-BNDWxL9E.js +17 -0
- package/chunks/Notification.module-BukggXdi.js +20 -0
- package/chunks/Overlay.module-DNkYF6tu.js +18 -0
- package/chunks/Page.module-Bz9n-Dho.js +11 -0
- package/chunks/{RightBorderArrow-CDLZGJBa.js → RightBorderArrow-BStHeZkJ.js} +12 -12
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/SliderExtendedRail-1zC_WMFD.js +40 -0
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1qT-8-p.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +2 -2
- package/chunks/TableFooter.module-nim97iDm.js +14 -0
- package/chunks/TabsExtended.module-33reL6bh.js +16 -0
- package/chunks/TabsLine.module-BS4pWC4f.js +21 -0
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +19 -0
- package/chunks/TreeView.module-7JefvvHQ.js +9 -0
- package/chunks/{UploadZoneInput-CXhNQ2dO.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-sbJX8JQ4.js → constants-Dag2NxzH.js} +15 -15
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-OFOU7B72.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-BIaaXA7W.js → utils-wIML3CoI.js} +6 -6
- package/chunks/{vendor-Dlne6Znf.js → vendor-CuCj7SgU.js} +7116 -6977
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +16 -16
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +19 -19
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +12 -12
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +19 -19
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +5 -5
- 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 +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 +10 -10
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +16 -16
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +11 -11
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- 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 +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +3 -3
- 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 +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +17 -17
- 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 -67
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +22 -22
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +34 -32
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- 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 +7 -7
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- 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 +6 -6
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +8 -8
- package/components/LightBox/LightBox.js +36 -36
- 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 +26 -26
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +21 -21
- package/components/List/List.js +3 -3
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- 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 +4 -4
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +7 -7
- 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 +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- 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 +3 -3
- 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 +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +4 -4
- 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 +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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +72 -68
- 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 +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +11 -11
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +35 -35
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +11 -11
- 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 +15 -15
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -17
- 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 +23 -23
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- 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 +7 -7
- 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 +7 -7
- package/components/Tag/Tag.js +36 -36
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- 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 +31 -31
- 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 +29 -29
- package/components/Typography/Text.js +10 -10
- package/components/Typography/Title.js +18 -18
- 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 +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/CalendarViewItem-Dxr-IKuh.js +0 -101
- package/chunks/Card.module-DMUHU1y_.js +0 -17
- package/chunks/CheckboxTreeExtended.module-wyBivaJR.js +0 -14
- package/chunks/Confirm.module-BMe3cCgA.js +0 -15
- package/chunks/DropdownMobile.module-ChlziR7V.js +0 -23
- package/chunks/Footer.module-DdBlWFOs.js +0 -9
- package/chunks/FormFieldInput-Bb0syEep.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-tndsgX78.js +0 -9
- package/chunks/HeaderTabs.module-T7IKL1xp.js +0 -9
- package/chunks/IslandAccordion.module-CLQD0a3_.js +0 -25
- package/chunks/IslandWidgetFooter.module-CPs8lx4X.js +0 -9
- package/chunks/IslandWidgetHeader.module-EYRdEBM6.js +0 -12
- package/chunks/LightBoxContent-6jOQAiJe.js +0 -56
- package/chunks/LightBoxControls.module-OIHtatwH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BB5P2oIx.js +0 -8
- package/chunks/ListItemTail.module-D9_VecUp.js +0 -12
- package/chunks/ListMasterFooter.module-Tad6_QUF.js +0 -10
- package/chunks/ModalWindow.module-CtWGFobP.js +0 -17
- package/chunks/Notification.module-1ONl_AQl.js +0 -20
- package/chunks/Overlay.module-BzUI6PNY.js +0 -18
- package/chunks/Page.module-BIAYhn48.js +0 -11
- package/chunks/SMSField.module-CshFlMUU.js +0 -16
- package/chunks/SliderExtendedMarks.module-BPt30iMn.js +0 -15
- package/chunks/SliderExtendedRail-Dc_iZlxS.js +0 -40
- package/chunks/StatusTracker.module-CTVX8mSd.js +0 -24
- package/chunks/TableFooter.module-CcIh2kO5.js +0 -14
- package/chunks/TabsExtended.module-DtrXq1jE.js +0 -16
- package/chunks/TabsLine.module-D5PBUMxf.js +0 -21
- package/chunks/TooltipDesktop.module-B2iSBrr1.js +0 -19
- package/chunks/TreeView.module-DEJX2JUM.js +0 -9
- package/chunks/utils-DHbotYsG.js +0 -73
- package/chunks/utils-DjwTklmD.js +0 -24
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
|
|
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 # Запуск визуальных регрессионных тестов
|
|
157
195
|
```
|
|
@@ -3,8 +3,8 @@ import { useContext as d, useEffect as i } from "react";
|
|
|
3
3
|
import { CaretdownStrokeSrvIcon16 as _ } from "@sberbusiness/icons-next";
|
|
4
4
|
import { ButtonIcon as m } from "../components/Button/ButtonIcon.js";
|
|
5
5
|
import { AlertProcessContext as x } from "../components/Alert/AlertProcess/AlertProcessContext.js";
|
|
6
|
-
import { c as
|
|
7
|
-
const y = "
|
|
6
|
+
import { c as a } from "./vendor-CuCj7SgU.js";
|
|
7
|
+
const y = "alertProcess__c5f39d22", f = "withSpoiler__db601e48", u = "themeIcon__921d7d6f", T = "alertTypeError__0c713d1a", b = "alertTypeInfo__c59624b0", B = "alertTypeWarning__846b4ea4", C = "alertTypeSystem__1bb9921c", S = "alertTypeFeature__4e4388a1", h = "alertProcessContentBlock__d8cd5f63", I = "expandableContent__8a7965c7", P = "expanded__f11341ef", g = "closeButton__79feacb6", k = "expandButton__6f59d53b", e = {
|
|
8
8
|
alertProcess: y,
|
|
9
9
|
withSpoiler: f,
|
|
10
10
|
themeIcon: u,
|
|
@@ -19,16 +19,16 @@ const y = "alertProcess__7bb41a6b", f = "withSpoiler__ee7c9eed", u = "themeIcon_
|
|
|
19
19
|
closeButton: g,
|
|
20
20
|
expandButton: k
|
|
21
21
|
}, v = ({ children: s, open: r, onOpen: o, ...l }) => {
|
|
22
|
-
const { setHasSpoiler:
|
|
23
|
-
i(() => (
|
|
24
|
-
|
|
25
|
-
}), [
|
|
22
|
+
const { setHasSpoiler: n } = d(x);
|
|
23
|
+
i(() => (n(!0), () => {
|
|
24
|
+
n(!1);
|
|
25
|
+
}), [n]);
|
|
26
26
|
const c = () => {
|
|
27
27
|
o == null || o(!r);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { className: e.spoiler, children: [
|
|
30
|
-
/* @__PURE__ */ t("div", { className:
|
|
31
|
-
/* @__PURE__ */ t("div", { className:
|
|
30
|
+
/* @__PURE__ */ t("div", { className: 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
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-io5SjBK8.js.map
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsx as M } from "react/jsx-runtime";
|
|
2
|
+
import { c as V } from "./vendor-CuCj7SgU.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__1bef117d", E = "calendarViewMonths__08cd43bc", L = "calendarViewYears__2d913ad6", R = "calendarViewDaysHeader__4d941f5b", v = "calendarViewDaysBody__5bcf6e42", H = "calendarViewItem__4ce9749d", B = "current__b2e581ad", S = "disabled__103021d2", j = "calendarViewItemLabel__392d9ff1", O = "selected__80e2c812", P = "basicMark__69d11f64", g = "standardMark__3a34f23c", q = "attentionMark__78e81195", z = "criticalMark__7bb5113f", G = "muted__6b450551", J = "marked__70e8eea0", Q = "unitDay__0815a075", U = "unitMonth__efea8d2f", W = "unitYear__7f360583", 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: b,
|
|
41
|
+
tabbable: n,
|
|
42
|
+
active: l,
|
|
43
|
+
disabled: _,
|
|
44
|
+
muted: I,
|
|
45
|
+
markType: c,
|
|
46
|
+
onFocus: d,
|
|
47
|
+
onBlur: s,
|
|
48
|
+
onKeyDown: i,
|
|
49
|
+
onDateSelect: m,
|
|
50
|
+
...C
|
|
51
|
+
}) => {
|
|
52
|
+
const { viewItemFocusedRef: t } = N(x), u = T(null);
|
|
53
|
+
Y(() => {
|
|
54
|
+
var a;
|
|
55
|
+
n && t.current && ((a = u.current) == null || a.focus());
|
|
56
|
+
}, [n, t]);
|
|
57
|
+
const D = (a) => {
|
|
58
|
+
t.current = !0, d == null || d(a);
|
|
59
|
+
}, h = (a) => {
|
|
60
|
+
t.current = !1, s == null || s(a);
|
|
61
|
+
}, p = (a) => {
|
|
62
|
+
const f = a.code || a.keyCode;
|
|
63
|
+
(w(f, "ENTER") || w(f, "SPACE")) && (a.preventDefault(), m(o)), i == null || i(a);
|
|
64
|
+
};
|
|
65
|
+
return /* @__PURE__ */ M(
|
|
66
|
+
"td",
|
|
67
|
+
{
|
|
68
|
+
className: V(e.calendarViewItem, { [e.disabled]: _ }, y),
|
|
69
|
+
tabIndex: n ? 0 : -1,
|
|
70
|
+
"aria-selected": l ? !0 : void 0,
|
|
71
|
+
onFocus: D,
|
|
72
|
+
onBlur: h,
|
|
73
|
+
onKeyDown: p,
|
|
74
|
+
...C,
|
|
75
|
+
ref: u,
|
|
76
|
+
children: /* @__PURE__ */ M(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
className: V(
|
|
80
|
+
e.calendarViewItemLabel,
|
|
81
|
+
Z[b],
|
|
82
|
+
{
|
|
83
|
+
[e.disabled]: _,
|
|
84
|
+
[e.marked]: c !== void 0,
|
|
85
|
+
[e.muted]: !!I,
|
|
86
|
+
[e.selected]: l
|
|
87
|
+
},
|
|
88
|
+
c !== void 0 ? X[c] : void 0
|
|
89
|
+
),
|
|
90
|
+
onClick: () => m(o),
|
|
91
|
+
children: k
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
re as C,
|
|
99
|
+
e as s
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=CalendarViewItem-CW39vnxU.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const n = "card__26eeb0f2", d = "roundingMD__8c75d840", e = "roundingSM__a30e20cd", c = "general__9fd8b17c", a = "secondary__e0ee75ec", o = "cardMedia__56c8b6d0", r = "cardContent__e325406e", t = "paddingMD__dc74ea3e", _ = "paddingSM__b6118993", s = "cardContentHeader__f1c46585", g = "cardContentFooter__276f0b77", i = {
|
|
2
|
+
card: n,
|
|
3
|
+
roundingMD: d,
|
|
4
|
+
roundingSM: e,
|
|
5
|
+
general: c,
|
|
6
|
+
secondary: a,
|
|
7
|
+
cardMedia: o,
|
|
8
|
+
cardContent: r,
|
|
9
|
+
paddingMD: t,
|
|
10
|
+
paddingSM: _,
|
|
11
|
+
cardContentHeader: s,
|
|
12
|
+
cardContentFooter: g
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
i as c
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Card.module-wkZoieJo.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "checkboxTreeExtended__538866ee", c = "checkboxTreeExtendedNode__12be3540", o = "sm__30225755", d = "md__975caa4f", x = "lg__81d17aa7", b = "checkboxTreeExtendedNodeHeader__4743fda7", r = "checkboxTreeCheckboxLabel__96375bdc", t = "caretIconWrapper__ab31512a", n = "checkboxTreeCheckbox__cbcfb081", h = {
|
|
2
|
+
checkboxTreeExtended: e,
|
|
3
|
+
checkboxTreeExtendedNode: c,
|
|
4
|
+
sm: o,
|
|
5
|
+
md: d,
|
|
6
|
+
lg: x,
|
|
7
|
+
checkboxTreeExtendedNodeHeader: b,
|
|
8
|
+
checkboxTreeCheckboxLabel: r,
|
|
9
|
+
caretIconWrapper: t,
|
|
10
|
+
checkboxTreeCheckbox: n
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
h as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CheckboxTreeExtended.module-yaZgGm0h.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as h, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
2
|
+
import b, { useCallback as x } from "react";
|
|
3
|
+
import { c as n } from "./vendor-CuCj7SgU.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__ed829c35", w = "chip__f4d718a6", I = "lg__2964dacc", B = "prefix__c9613ad0", G = "postfix__e4a1de8b", g = "md__b26c6b8c", z = "sm__5bede429", M = "disabled__400b0167", S = "selected__c311cbd5", j = "withPrefix__b8bc9cee", y = "withPostfix__5cbdfd4d", E = "content__a3dc2870", e = {
|
|
8
8
|
chipGroupItem: N,
|
|
9
9
|
chip: w,
|
|
10
10
|
lg: I,
|
|
@@ -17,9 +17,9 @@ const N = "chipGroupItem__b2ed07c2", w = "chip__a3a090e8", I = "lg__3547528e", B
|
|
|
17
17
|
withPrefix: j,
|
|
18
18
|
withPostfix: y,
|
|
19
19
|
content: E
|
|
20
|
-
}, R = P(e), T =
|
|
21
|
-
({ children:
|
|
22
|
-
const _ =
|
|
20
|
+
}, R = P(e), T = b.forwardRef(
|
|
21
|
+
({ children: l, className: d, disabled: t, postfix: c, prefix: o, selected: p, size: r = u.MD, onKeyDown: s, ...m }, f) => {
|
|
22
|
+
const _ = x(
|
|
23
23
|
(i) => {
|
|
24
24
|
C(i.code, "SPACE") && i.preventDefault(), s == null || s(i);
|
|
25
25
|
},
|
|
@@ -28,28 +28,28 @@ const N = "chipGroupItem__b2ed07c2", w = "chip__a3a090e8", I = "lg__3547528e", B
|
|
|
28
28
|
return /* @__PURE__ */ h(
|
|
29
29
|
"span",
|
|
30
30
|
{
|
|
31
|
-
className:
|
|
31
|
+
className: n(
|
|
32
32
|
e.chip,
|
|
33
33
|
e.chipGroupItem,
|
|
34
34
|
R[r],
|
|
35
35
|
{
|
|
36
36
|
[e.disabled]: !!t,
|
|
37
37
|
[e.selected]: !!p,
|
|
38
|
-
[e.withPostfix]: typeof
|
|
39
|
-
[e.withPrefix]: typeof
|
|
38
|
+
[e.withPostfix]: typeof c < "u",
|
|
39
|
+
[e.withPrefix]: typeof o < "u"
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
d
|
|
42
42
|
),
|
|
43
43
|
role: "button",
|
|
44
44
|
tabIndex: t ? -1 : 0,
|
|
45
45
|
onKeyDown: _,
|
|
46
|
-
...
|
|
47
|
-
ref:
|
|
46
|
+
...m,
|
|
47
|
+
ref: f,
|
|
48
48
|
children: [
|
|
49
|
-
|
|
49
|
+
o ? /* @__PURE__ */ a(
|
|
50
50
|
"span",
|
|
51
51
|
{
|
|
52
|
-
className:
|
|
52
|
+
className: n(
|
|
53
53
|
e.prefix,
|
|
54
54
|
"hoverable",
|
|
55
55
|
// Для иконок.
|
|
@@ -58,14 +58,14 @@ const N = "chipGroupItem__b2ed07c2", w = "chip__a3a090e8", I = "lg__3547528e", B
|
|
|
58
58
|
// Для иконок.
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
children:
|
|
61
|
+
children: o
|
|
62
62
|
}
|
|
63
63
|
) : null,
|
|
64
|
-
/* @__PURE__ */ a("span", { className: e.content, children:
|
|
65
|
-
|
|
64
|
+
/* @__PURE__ */ a("span", { className: e.content, children: l }),
|
|
65
|
+
c ? /* @__PURE__ */ a(
|
|
66
66
|
"span",
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
68
|
+
className: n(
|
|
69
69
|
e.postfix,
|
|
70
70
|
"hoverable",
|
|
71
71
|
// Для иконок.
|
|
@@ -74,7 +74,7 @@ const N = "chipGroupItem__b2ed07c2", w = "chip__a3a090e8", I = "lg__3547528e", B
|
|
|
74
74
|
// Для иконок.
|
|
75
75
|
}
|
|
76
76
|
),
|
|
77
|
-
children:
|
|
77
|
+
children: c
|
|
78
78
|
}
|
|
79
79
|
) : null
|
|
80
80
|
]
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
T as C,
|
|
88
88
|
e as s
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=Chip-
|
|
90
|
+
//# sourceMappingURL=Chip-CtmEt4Cp.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const n = "confirm__a1a68dd0", o = "isInLightBox__7ba6e1ab", i = "isInSideOverlaySM__c8634689", t = "isInSideOverlayMD__ae11298f", e = "isInSideOverlayLG__78cb3a1b", s = "confirmCloseButton__3a327f68", r = "confirmContent__e82a5483", c = "confirmControls__2d864109", l = "confirmContentTitle__2836b0d5", a = {
|
|
2
|
+
confirm: n,
|
|
3
|
+
isInLightBox: o,
|
|
4
|
+
isInSideOverlaySM: i,
|
|
5
|
+
isInSideOverlayMD: t,
|
|
6
|
+
isInSideOverlayLG: e,
|
|
7
|
+
confirmCloseButton: s,
|
|
8
|
+
confirmContent: r,
|
|
9
|
+
confirmControls: c,
|
|
10
|
+
confirmContentTitle: l
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
a as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=Confirm.module-Bi0IoVgW.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as E, jsx as k } from "react/jsx-runtime";
|
|
2
2
|
import I, { useEffect as u } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { c as v } from "./vendor-Dlne6Znf.js";
|
|
3
|
+
import { c as v } from "./vendor-CuCj7SgU.js";
|
|
5
4
|
import { EComponentSize as l } from "../enums/EComponentSize.js";
|
|
5
|
+
import { EVENT_KEY_CODES as p } from "../utils/keyboard.js";
|
|
6
6
|
import { Badge as y } from "../components/Badge/Badge.js";
|
|
7
|
-
const
|
|
8
|
-
dropdownDesktopList:
|
|
9
|
-
notificationIcon:
|
|
10
|
-
sm:
|
|
7
|
+
const N = "dropdownDesktopList__260fc26b", g = "notificationIcon__05f48a0d", b = "sm__751961ee", x = "dropdownDesktopListItem__be306ba4", C = "dropdownDesktopListLoader__c8ef236a", O = "md__08f86fb4", R = "lg__4927092d", T = "active__72fe1f21", K = "selected__e66d7475", e = {
|
|
8
|
+
dropdownDesktopList: N,
|
|
9
|
+
notificationIcon: g,
|
|
10
|
+
sm: b,
|
|
11
11
|
dropdownDesktopListItem: x,
|
|
12
12
|
dropdownDesktopListLoader: C,
|
|
13
13
|
md: O,
|
|
@@ -16,7 +16,7 @@ const b = "dropdownDesktopList__7218d6f4", N = "notificationIcon__fdb87080", g =
|
|
|
16
16
|
selected: K
|
|
17
17
|
}, j = [p.SPACE, p.ENTER], A = I.forwardRef(
|
|
18
18
|
({
|
|
19
|
-
active:
|
|
19
|
+
active: s,
|
|
20
20
|
keyCodesForSelection: m = j,
|
|
21
21
|
children: d,
|
|
22
22
|
className: a,
|
|
@@ -33,14 +33,14 @@ const b = "dropdownDesktopList__7218d6f4", N = "notificationIcon__fdb87080", g =
|
|
|
33
33
|
}, L = (t) => {
|
|
34
34
|
o == null || o(), n == null || n(t);
|
|
35
35
|
};
|
|
36
|
-
return u(() => (
|
|
36
|
+
return u(() => (s ? document.addEventListener("keydown", i) : document.removeEventListener("keydown", i), () => {
|
|
37
37
|
document.removeEventListener("keydown", i);
|
|
38
|
-
}), [
|
|
38
|
+
}), [s]), /* @__PURE__ */ E(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
className: v(
|
|
42
|
-
|
|
43
|
-
{ [
|
|
42
|
+
e.dropdownDesktopListItem,
|
|
43
|
+
{ [e.active]: !!s, [e.selected]: !!r },
|
|
44
44
|
a
|
|
45
45
|
),
|
|
46
46
|
title: typeof d == "string" ? d : void 0,
|
|
@@ -51,7 +51,7 @@ const b = "dropdownDesktopList__7218d6f4", N = "notificationIcon__fdb87080", g =
|
|
|
51
51
|
ref: D,
|
|
52
52
|
children: [
|
|
53
53
|
d,
|
|
54
|
-
c && /* @__PURE__ */ k(y.Dot, { size: f, className:
|
|
54
|
+
c && /* @__PURE__ */ k(y.Dot, { size: f, className: e.notificationIcon })
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
);
|
|
@@ -60,6 +60,6 @@ const b = "dropdownDesktopList__7218d6f4", N = "notificationIcon__fdb87080", g =
|
|
|
60
60
|
A.displayName = "DropdownListItem";
|
|
61
61
|
export {
|
|
62
62
|
A as D,
|
|
63
|
-
s
|
|
63
|
+
e as s
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=DropdownListItem-
|
|
65
|
+
//# sourceMappingURL=DropdownListItem-gGRZUigY.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const o = "dropdownMobileWrapper__21b11455", d = "dropdownMobileBackdrop__bc9e75ca", e = "closing__40985fc3", n = "opening__ebd49990", r = "opened__c29c9b8c", t = "dropdownMobile__875e237c", i = "dropdownMobileHeader__adab4436", p = "dropdownMobileHeaderContent__c19dd4d6", c = "dropdownMobileContent__e6c3d2e8", l = "dropdownMobileFooter__84a7f952", b = "dropdownMobileListItem__97dab53d", s = "selected__e66d7475", w = "dropdownMobileBodyOverflow__9783b4d7", _ = "controlButtons__e02f598c", M = "dropdownMobileLoader__5653347a", a = "dropdownMobileListLoader__f3ae1c4a", L = "notificationIcon__05f48a0d", f = {
|
|
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: L
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
f as s
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=DropdownMobile.module-D1Tda3VC.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = "footerDescription__be73cba1", t = "footerDescriptionContent__3f53b291", e = "footerDescriptionControls__4b57a0a0", n = {
|
|
2
|
+
footerDescription: o,
|
|
3
|
+
footerDescriptionContent: t,
|
|
4
|
+
footerDescriptionControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=Footer.module-dEM87TWq.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 N } from "react";
|
|
3
|
+
import { FormFieldContext as P } from "../components/FormField/FormFieldContext.js";
|
|
4
|
+
import { u as k, c as D } from "./vendor-CuCj7SgU.js";
|
|
5
|
+
import { EFormFieldStatus as R } from "../components/FormField/enums.js";
|
|
6
|
+
import { createSizeToClassNameMap as T } from "../utils/classNameMaps.js";
|
|
7
|
+
const V = "formFieldInput__379b8d4e", W = "sm__4e3f34fa", j = "md__390f6d1a", q = "lg__d8ba3336", E = {
|
|
8
|
+
formFieldInput: V,
|
|
9
|
+
sm: W,
|
|
10
|
+
md: j,
|
|
11
|
+
lg: q
|
|
12
|
+
}, w = T(E), x = (t) => t === void 0 ? !1 : typeof t == "number" ? !0 : t.length !== 0, L = A.forwardRef((t, m) => {
|
|
13
|
+
const { className: S, id: r, onAnimationStart: i, onBlur: n, onFocus: l, placeholder: d, value: s, ...b } = t, { render: u, ...g } = t, { focused: C, status: y, setFocused: c, 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
|
+
N(() => {
|
|
15
|
+
f(a);
|
|
16
|
+
}, [a, f]), N(() => {
|
|
17
|
+
o(x(s));
|
|
18
|
+
}, [o, s]);
|
|
19
|
+
const I = (e) => {
|
|
20
|
+
c(!1), n == null || n(e);
|
|
21
|
+
}, _ = (e) => {
|
|
22
|
+
c(!0), l == null || l(e);
|
|
23
|
+
}, h = (e) => {
|
|
24
|
+
e.animationName.startsWith("autofill-applied-hook") ? o(!0) : e.animationName.startsWith("autofill-cancelled-hook") && (x(s) || o(!1)), i == null || i(e);
|
|
25
|
+
};
|
|
26
|
+
return u ? u(
|
|
27
|
+
{
|
|
28
|
+
...g,
|
|
29
|
+
className: F,
|
|
30
|
+
id: a,
|
|
31
|
+
onAnimationStart: h,
|
|
32
|
+
onBlur: I,
|
|
33
|
+
onFocus: _,
|
|
34
|
+
/* Когда элемент не в фокусе, вместо placeholder показывается Label. */
|
|
35
|
+
placeholder: C ? d : " ",
|
|
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: h,
|
|
47
|
+
onFocus: _,
|
|
48
|
+
onBlur: I,
|
|
49
|
+
value: s,
|
|
50
|
+
placeholder: d,
|
|
51
|
+
ref: m
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
L.displayName = "FormFieldInput";
|
|
56
|
+
export {
|
|
57
|
+
L as F,
|
|
58
|
+
E as s
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=FormFieldInput-BXZLkCG-.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = "headerLayoutSidebar__0057c567", a = "headerLayoutSidebarContent__7417f7ac", d = "headerLayoutSidebarSidebar__3d03ff5f", r = {
|
|
2
|
+
headerLayoutSidebar: e,
|
|
3
|
+
headerLayoutSidebarContent: a,
|
|
4
|
+
headerLayoutSidebarSidebar: d
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
r as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=HeaderLayoutSidebar.module-CPuC-nCL.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "headerTitle__c732fa74", t = "headerTitleControls__022a153a", l = "headerTitleContent__d38e21b9", o = {
|
|
2
2
|
headerTitle: e,
|
|
3
3
|
headerTitleControls: t,
|
|
4
4
|
"global-HeaderTitleControls": "global-HeaderTitleControls",
|
|
@@ -8,4 +8,4 @@ const e = "headerTitle__70aa2b93", t = "headerTitleControls__3dac2af6", l = "hea
|
|
|
8
8
|
export {
|
|
9
9
|
o as s
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=HeaderTitle.module-
|
|
11
|
+
//# sourceMappingURL=HeaderTitle.module-G-lXVibC.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = "islandAccordion__354a1622", t = "island__5f4c4827", o = "item__1a1b0066", c = "disabled__1afb1114", s = "sm__3a012c97", _ = "md__8e3e9359", n = "lg__942ed643", d = "header__16e8da52", a = "type1__ec9d950b", r = "opened__0f6be7bb", p = "type2__e77b0e85", i = "type3__829bc435", b = "footer__fbe09521", l = "body__63b52909", y = "caretWrapper__b63e0f8a", f = "caretIcon__88f05c5c", m = "title__9535d705", g = "step__69adc587", h = "remove__3ff7555f", 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: i,
|
|
14
|
+
footer: b,
|
|
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-CmJ_07-4.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const t = "islandWidgetFooter__4f0fce16", o = "islandWidgetFooterContent__461b982f", e = "islandWidgetFooterControls__63e69ed6", n = {
|
|
2
|
+
islandWidgetFooter: t,
|
|
3
|
+
islandWidgetFooterContent: o,
|
|
4
|
+
islandWidgetFooterControls: e
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
n as s
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IslandWidgetFooter.module-PAcTvDvE.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const e = "islandWidgetHeader__f0191039", t = "islandWidgetHeaderContent__c1c356a5", a = "islandWidgetHeaderDescription__752ca55b", n = "caretWrapper__c06e8609", d = "caretIcon__daa34c7f", c = "open__97bb9b1c", r = {
|
|
2
|
+
islandWidgetHeader: e,
|
|
3
|
+
islandWidgetHeaderContent: t,
|
|
4
|
+
islandWidgetHeaderDescription: a,
|
|
5
|
+
caretWrapper: n,
|
|
6
|
+
caretIcon: d,
|
|
7
|
+
open: c
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
r as s
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=IslandWidgetHeader.module-CCpvQ7cl.js.map
|