@sberbusiness/triplex-next 1.20.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -22
- package/chunks/AlertProcessSpoiler-Cbhbwi6f.js +39 -0
- package/chunks/{CalendarViewItem-B22G4WdJ.js → CalendarViewItem-UwoR2Xwr.js} +18 -18
- package/chunks/Card.module-CPD2xDmu.js +17 -0
- package/chunks/CheckboxTreeExtended.module-F91Rxq8x.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-Bxr2kLyU.js} +6 -6
- package/chunks/Confirm.module-CmYpxyDp.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-Dl8gN2ar.js} +22 -22
- package/chunks/DropdownMobile.module-l5rlPxNK.js +23 -0
- package/chunks/Footer.module-CjY-6G8t.js +9 -0
- package/chunks/FormFieldInput--W9kjf4s.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-fr4_lzKQ.js +9 -0
- package/chunks/HeaderTabs.module-Clz5KbqR.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-DUqjpN6C.js} +2 -2
- package/chunks/IslandAccordion.module-CPVWJz-Z.js +25 -0
- package/chunks/IslandWidgetFooter.module-BRjR7Nva.js +9 -0
- package/chunks/IslandWidgetHeader.module-CQVHkydc.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-CBpCA29-.js} +15 -15
- package/chunks/LightBoxControls.module-6rLkTPqp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-1PauvUbz.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-BZSR-ESi.js} +11 -11
- package/chunks/ListItemTail.module-TZkbhx39.js +12 -0
- package/chunks/ListMasterFooter.module-BJocFxEb.js +10 -0
- package/chunks/ModalWindow.module-CACqfnx4.js +17 -0
- package/chunks/Notification.module-ByKcbqB9.js +20 -0
- package/chunks/Overlay.module-fYkVPgjL.js +18 -0
- package/chunks/Page.module-Bhn0Pz59.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-C390Za7P.js} +11 -11
- package/chunks/SMSField.module-KA-eacXJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-Dy1FdmU-.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-Dld8UNeR.js} +8 -8
- package/chunks/StatusTracker.module-B8xoFRr0.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-Cf_uwjFP.js} +6 -6
- package/chunks/TableFooter.module-b8TKJFW8.js +14 -0
- package/chunks/TabsExtended.module-k8oKnmv6.js +16 -0
- package/chunks/TabsLine.module-BLpqn-ZP.js +21 -0
- package/chunks/TooltipDesktop.module-DgogF0cV.js +19 -0
- package/chunks/TreeView.module-lJCCAWQb.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput-CQYsDdG_.js} +3 -3
- package/chunks/{constants-mUMWgzNs.js → constants-Crak3JEf.js} +11 -11
- package/chunks/utils-CS30w_en.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-Dq2VA3Zd.js} +6 -6
- package/chunks/utils-R-JQhhgt.js +24 -0
- package/chunks/utils-Z8JNo8tP.js +28 -0
- package/chunks/{vendor-BIl4KTrD.js → vendor-BiObpx9E.js} +8836 -8700
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +10 -10
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +2 -2
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +29 -29
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -78
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +15 -15
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- 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 +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +11 -12
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +9 -10
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +20 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +12 -12
- package/components/DateRange/DateRange.js +9 -9
- 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/components/Tabs.js +0 -18
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- 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 +67 -73
- package/components/FormField/FormFieldContext.js +16 -13
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +31 -33
- package/components/FormField/components/FormFieldMaskedInput.js +32 -32
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +56 -46
- 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 +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- 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 +4 -4
- package/components/LightBox/LightBox.js +35 -35
- 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 +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 +8 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +9 -9
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- 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 +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +51 -35
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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 +3 -3
- 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/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +73 -69
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +8 -8
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +8 -8
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +26 -25
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +31 -31
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +7 -7
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- 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 +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 +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 +7 -7
- 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 +9 -9
- package/components/Tag/Tag.js +2 -2
- package/components/TagColor/TagColor.js +22 -20
- package/components/TagGroup/TagGroup.js +13 -13
- 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 +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +23 -23
- 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 +20 -20
- package/components/Typography/Text.js +22 -22
- package/components/Typography/Title.js +18 -18
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +583 -566
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +271 -39
- package/index.js +621 -604
- package/package.json +6 -3
- package/styles/triplex-next.css +541 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-CT4kuQU5.js +0 -39
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C64rf2gI.js +0 -27
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as H, c as w } from "../../../chunks/vendor-
|
|
1
|
+
import { jsxs as A, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c, useRef as h, useEffect as K, createElement as j } from "react";
|
|
3
|
+
import { u as H, c as w } from "../../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { DropdownListContext as Y } from "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
|
-
import { DropdownList as
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import { DropdownList as S } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
+
import "../../../chunks/DropdownListItem-Dl8gN2ar.js";
|
|
8
|
+
import { EDropdownWidth as q } from "../../Dropdown/desktop/enums.js";
|
|
8
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
9
10
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
11
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -16,49 +17,49 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
16
17
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
17
18
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
18
19
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
19
|
-
import { EComponentSize as
|
|
20
|
+
import { EComponentSize as G } from "../../../enums/EComponentSize.js";
|
|
20
21
|
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
21
22
|
import { CaretdownStrokeSrvIcon16 as Z } from "@sberbusiness/icons-next";
|
|
22
23
|
import { isKey as m } from "../../../utils/keyboard.js";
|
|
23
|
-
import { s as t } from "../../../chunks/TabsLine.module-
|
|
24
|
-
import { createSizeToClassNameMap as
|
|
25
|
-
import { EFontType as
|
|
24
|
+
import { s as t } from "../../../chunks/TabsLine.module-BLpqn-ZP.js";
|
|
25
|
+
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
26
|
+
import { EFontType as b } from "../../Typography/enums.js";
|
|
26
27
|
import "../../Typography/Caption.js";
|
|
27
|
-
import { Text as
|
|
28
|
+
import { Text as Q } from "../../Typography/Text.js";
|
|
28
29
|
import "../../Typography/Title.js";
|
|
29
|
-
import { tabsLineSizeToTextSizeMap as
|
|
30
|
-
const
|
|
31
|
-
tabs:
|
|
30
|
+
import { tabsLineSizeToTextSizeMap as V } from "../utils.js";
|
|
31
|
+
const X = J(t), Oe = ({
|
|
32
|
+
tabs: v,
|
|
32
33
|
active: T,
|
|
33
|
-
label:
|
|
34
|
-
onClickTab:
|
|
35
|
-
selected:
|
|
36
|
-
size: p =
|
|
37
|
-
targetHtmlAttributes:
|
|
34
|
+
label: M,
|
|
35
|
+
onClickTab: R,
|
|
36
|
+
selected: g,
|
|
37
|
+
size: p = G.MD,
|
|
38
|
+
targetHtmlAttributes: L,
|
|
38
39
|
...x
|
|
39
40
|
}) => {
|
|
40
|
-
const [D, y] =
|
|
41
|
-
|
|
41
|
+
const [D, y] = c(void 0), [o, d] = c(!1), [O, N] = c(!1), [_, E] = c(!1), l = h(null), C = h(null), I = h(H());
|
|
42
|
+
K(() => {
|
|
42
43
|
if (!o)
|
|
43
44
|
return;
|
|
44
45
|
const e = (r) => {
|
|
45
46
|
var n, s;
|
|
46
|
-
!((n = l.current) != null && n.contains(r.target)) && !((s =
|
|
47
|
+
!((n = l.current) != null && n.contains(r.target)) && !((s = C.current) != null && s.contains(r.target)) && d(!1);
|
|
47
48
|
};
|
|
48
49
|
return document.addEventListener("mouseup", e), () => {
|
|
49
50
|
document.removeEventListener("mouseup", e);
|
|
50
51
|
};
|
|
51
52
|
}, [o]);
|
|
52
|
-
const
|
|
53
|
-
|
|
53
|
+
const k = () => {
|
|
54
|
+
d(!o);
|
|
54
55
|
}, P = (e) => {
|
|
55
|
-
o || (m(e.code, "ARROW_UP") || m(e.code, "ARROW_DOWN")) && (e.preventDefault(),
|
|
56
|
+
o || (m(e.code, "ARROW_UP") || m(e.code, "ARROW_DOWN")) && (e.preventDefault(), d(!0)), o && (m(e.code, "TAB") || m(e.code, "ESCAPE")) && d(!1);
|
|
56
57
|
}, F = (e) => {
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } =
|
|
58
|
+
R(e), d(!o);
|
|
59
|
+
}, W = () => {
|
|
60
|
+
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } = L || {}, f = w(t.tab, X[p], t.dropdownTarget, {
|
|
60
61
|
[t.active]: T
|
|
61
|
-
}),
|
|
62
|
+
}), B = w(t.dropdownTargetCaret, { [t.opened]: o });
|
|
62
63
|
return /* @__PURE__ */ a(
|
|
63
64
|
"button",
|
|
64
65
|
{
|
|
@@ -70,13 +71,13 @@ const V = G(t), xe = ({
|
|
|
70
71
|
N(!1), r == null || r(i);
|
|
71
72
|
},
|
|
72
73
|
onMouseEnter: (i) => {
|
|
73
|
-
|
|
74
|
+
E(!0), n == null || n(i);
|
|
74
75
|
},
|
|
75
76
|
onMouseLeave: (i) => {
|
|
76
|
-
|
|
77
|
+
E(!1), s == null || s(i);
|
|
77
78
|
},
|
|
78
79
|
className: f,
|
|
79
|
-
onClick:
|
|
80
|
+
onClick: k,
|
|
80
81
|
onKeyDown: P,
|
|
81
82
|
type: "button",
|
|
82
83
|
role: "tab",
|
|
@@ -84,32 +85,33 @@ const V = G(t), xe = ({
|
|
|
84
85
|
"aria-expanded": o,
|
|
85
86
|
"aria-controls": I.current,
|
|
86
87
|
"aria-activedescendant": D,
|
|
87
|
-
children: /* @__PURE__ */ a("span", { className: t.tabInner, children: /* @__PURE__ */
|
|
88
|
+
children: /* @__PURE__ */ a("span", { className: t.tabInner, children: /* @__PURE__ */ A("span", { className: t.dropdownTargetInner, children: [
|
|
88
89
|
/* @__PURE__ */ a(
|
|
89
|
-
|
|
90
|
+
Q,
|
|
90
91
|
{
|
|
91
|
-
size:
|
|
92
|
-
type: T || O ||
|
|
93
|
-
children:
|
|
92
|
+
size: V[p],
|
|
93
|
+
type: T || O || _ ? b.PRIMARY : b.SECONDARY,
|
|
94
|
+
children: M
|
|
94
95
|
}
|
|
95
96
|
),
|
|
96
|
-
/* @__PURE__ */ a(Z, { className:
|
|
97
|
+
/* @__PURE__ */ a(Z, { className: B, paletteIndex: 5 })
|
|
97
98
|
] }) })
|
|
98
99
|
}
|
|
99
100
|
);
|
|
100
|
-
},
|
|
101
|
+
}, z = () => /* @__PURE__ */ a(
|
|
101
102
|
U,
|
|
102
103
|
{
|
|
103
104
|
className: t.dropdown,
|
|
104
105
|
opened: o,
|
|
105
|
-
setOpened:
|
|
106
|
+
setOpened: d,
|
|
106
107
|
size: p,
|
|
108
|
+
width: q.MIN_TARGET,
|
|
107
109
|
targetRef: l,
|
|
108
|
-
ref:
|
|
109
|
-
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(
|
|
110
|
+
ref: C,
|
|
111
|
+
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(S, { dropdownOpened: o, id: I.current, children: v.map((e) => {
|
|
110
112
|
const { id: r, label: n, showNotificationIcon: s, ...u } = e, f = w(t.dropdownItem);
|
|
111
113
|
return /* @__PURE__ */ j(
|
|
112
|
-
|
|
114
|
+
S.Item,
|
|
113
115
|
{
|
|
114
116
|
...u,
|
|
115
117
|
className: f,
|
|
@@ -118,7 +120,7 @@ const V = G(t), xe = ({
|
|
|
118
120
|
onSelect: () => {
|
|
119
121
|
F(e);
|
|
120
122
|
},
|
|
121
|
-
selected: e ===
|
|
123
|
+
selected: e === g,
|
|
122
124
|
showNotificationIcon: s
|
|
123
125
|
},
|
|
124
126
|
/* @__PURE__ */ a("span", { className: t.dropdownItemInner, children: n })
|
|
@@ -126,12 +128,12 @@ const V = G(t), xe = ({
|
|
|
126
128
|
}) }) })
|
|
127
129
|
}
|
|
128
130
|
);
|
|
129
|
-
return /* @__PURE__ */
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
return /* @__PURE__ */ A("div", { className: t.tabsLineDropdown, ref: l, ...x, children: [
|
|
132
|
+
W(),
|
|
133
|
+
z()
|
|
132
134
|
] });
|
|
133
135
|
};
|
|
134
136
|
export {
|
|
135
|
-
|
|
137
|
+
Oe as TabsLineDropdown
|
|
136
138
|
};
|
|
137
139
|
//# sourceMappingURL=TabsLineDropdown.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import y, { useState as f, createElement as z } from "react";
|
|
3
|
-
import { c as E } from "../../../chunks/vendor-
|
|
3
|
+
import { c as E } from "../../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { createSizeToClassNameMap as N } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { Badge as S } from "../../Badge/Badge.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { Text as v } from "../../Typography/Text.js";
|
|
8
8
|
import { tabsLineSizeToTextSizeMap as x } from "../utils.js";
|
|
9
9
|
import { EFontType as l } from "../../Typography/enums.js";
|
|
10
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
10
|
+
import { s as e } from "../../../chunks/TabsLine.module-BLpqn-ZP.js";
|
|
11
11
|
const L = N(e), R = y.forwardRef(
|
|
12
12
|
({
|
|
13
13
|
id: c,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { TabsLineItem as
|
|
3
|
-
const d = "
|
|
2
|
+
import { TabsLineItem as t } from "./TabsLineItem.js";
|
|
3
|
+
const d = "tabsLineMobileWrapper__cce25fb7", p = "tabsLineMobile__53d65618", l = {
|
|
4
4
|
tabsLineMobileWrapper: d,
|
|
5
5
|
tabsLineMobile: p
|
|
6
|
-
},
|
|
6
|
+
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const a = ({ selected: L, ...e }) => {
|
|
10
|
+
const b = (c) => {
|
|
11
11
|
var s;
|
|
12
|
-
r(e.id), (s = e.onClick) == null || s.call(e,
|
|
12
|
+
r(e.id), (s = e.onClick) == null || s.call(e, c);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
14
|
+
return /* @__PURE__ */ n(t, { selected: o === e.id, ...e, onClick: b }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(a) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
h as TabsLineMobile
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=TabsLineMobile.js.map
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
2
|
import E, { useCallback as S } from "react";
|
|
3
|
-
import { c as L } from "../../chunks/vendor-
|
|
3
|
+
import { c as L } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as d, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as _ } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as T } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
9
|
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "tag__4680b28d", R = "sm__6036c187", w = "md__1927ef68", F = "lg__9b142be2", P = "content__7241873c", l = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
8
|
-
sm:
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
12
|
-
success:
|
|
13
|
-
info:
|
|
14
|
-
warning:
|
|
15
|
-
error:
|
|
16
|
-
content:
|
|
17
|
-
},
|
|
6
|
+
const i = "tagColor__527b1b6d", d = "sm__c1e8480f", g = "md__7a0714c7", C = "lg__11164cde", S = "success__3ed054e7", p = "info__075533b2", A = "warning__ed6b4498", T = "error__7547ac59", u = "content__64a29e64", o = {
|
|
7
|
+
tagColor: i,
|
|
8
|
+
sm: d,
|
|
9
|
+
md: g,
|
|
10
|
+
lg: C,
|
|
11
|
+
default: "default__a25d417b",
|
|
12
|
+
success: S,
|
|
13
|
+
info: p,
|
|
14
|
+
warning: A,
|
|
15
|
+
error: T,
|
|
16
|
+
content: u
|
|
17
|
+
}, N = f(o), E = {
|
|
18
18
|
[s.DEFAULT]: o.default,
|
|
19
19
|
[s.SUCCESS]: o.success,
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
|
-
},
|
|
24
|
-
({ children:
|
|
23
|
+
}, R = l.forwardRef(
|
|
24
|
+
({ children: r, className: c, size: n, status: a = s.DEFAULT, ...e }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
27
|
+
className: m(o.tagColor, N[n], E[a], c),
|
|
28
28
|
...e,
|
|
29
|
-
|
|
29
|
+
ref: _,
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: r })
|
|
30
31
|
}
|
|
31
32
|
)
|
|
32
33
|
);
|
|
34
|
+
R.displayName = "TagColor";
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
R as TagColor
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=TagColor.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
}, i =
|
|
11
|
-
({ children: s, className: t, size: r, ...a },
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { createSizeToClassNameMap as l } from "../../utils/classNameMaps.js";
|
|
5
|
+
const _ = "tagGroup__b5b21380", d = "sm__bee020e7", g = "md__c03859dd", f = "lg__75e76d7c", o = {
|
|
6
|
+
tagGroup: _,
|
|
7
|
+
sm: d,
|
|
8
|
+
md: g,
|
|
9
|
+
lg: f
|
|
10
|
+
}, i = l(o), x = c.forwardRef(
|
|
11
|
+
({ children: s, className: t, size: r, ...a }, e) => /* @__PURE__ */ m(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
className: p(o.tagGroup, i[r], t),
|
|
15
15
|
role: "group",
|
|
16
16
|
...a,
|
|
17
|
-
ref:
|
|
17
|
+
ref: e,
|
|
18
18
|
children: s
|
|
19
19
|
}
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
x as TagGroup
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=TagGroup.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput--W9kjf4s.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { TextFieldBase as i } from "../TextField/TextFieldBase.js";
|
|
3
|
-
import "../FormField/
|
|
4
|
-
import "../FormField/components/FormFieldDescription.js";
|
|
3
|
+
import "../FormField/components/FormFieldClear.js";
|
|
5
4
|
import "../FormField/components/FormFieldCounter.js";
|
|
5
|
+
import "../FormField/components/FormFieldDescription.js";
|
|
6
|
+
import "../../chunks/FormFieldInput--W9kjf4s.js";
|
|
6
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
|
-
import "../FormField/components/FormFieldClear.js";
|
|
8
|
-
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-C4pLJsXx.js";
|
|
10
8
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
9
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
10
|
import "../FormField/components/FormFieldPrefix.js";
|
|
11
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
13
12
|
import { FormFieldTextarea as m } from "../FormField/components/FormFieldTextarea.js";
|
|
13
|
+
import "../FormField/FormField.js";
|
|
14
14
|
const j = ({ textareaProps: o, ...t }) => /* @__PURE__ */ r(i, { ...t, children: /* @__PURE__ */ r(m, { ...o }) });
|
|
15
15
|
export {
|
|
16
16
|
j as TextareaField
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { DesignTokenUtils as
|
|
5
|
-
import { ThemeProviderView as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as p, useLayoutEffect as m } from "react";
|
|
3
|
+
import { w as l, x as c, y as x } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { DesignTokenUtils as d } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
|
+
import { ThemeProviderView as f } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
7
|
-
const
|
|
8
|
-
children:
|
|
9
|
-
scopeClassName:
|
|
10
|
-
scopeRef:
|
|
11
|
-
theme:
|
|
12
|
-
tokens:
|
|
7
|
+
const h = (o) => `${o}${Date.now()}${Math.floor(Math.random() * 1e6)}`, C = ({
|
|
8
|
+
children: o,
|
|
9
|
+
scopeClassName: s,
|
|
10
|
+
scopeRef: i,
|
|
11
|
+
theme: t = u.LIGHT,
|
|
12
|
+
tokens: r
|
|
13
13
|
}) => {
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const p = `.${e} {${S.getStyle(r, s || {})}}`;
|
|
20
|
-
d(p, `triplex-next-dynamic-tokens-${e}`);
|
|
14
|
+
const e = p(() => s || h("triplex-next-theme-"), [s]);
|
|
15
|
+
return m(() => {
|
|
16
|
+
if (l()) {
|
|
17
|
+
const n = `.${e} {${d.getStyle(t, r || {})}}`;
|
|
18
|
+
c(n, `triplex-next-dynamic-tokens-${e}`);
|
|
21
19
|
} else
|
|
22
20
|
console.log("ThemeProvider", "SSR do not support dynamic theme with css variables.");
|
|
23
|
-
}, [e,
|
|
21
|
+
}, [e, t, r]), m(() => () => x(`triplex-next-dynamic-tokens-${e}`), [e]), /* @__PURE__ */ a(f, { scopeClassName: e, scopeRef: i, theme: t, tokens: r, children: o });
|
|
24
22
|
};
|
|
25
23
|
export {
|
|
26
|
-
|
|
24
|
+
C as ThemeProvider
|
|
27
25
|
};
|
|
28
26
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useRef as u, useEffect as k } from "react";
|
|
3
|
-
import { ThemeProviderContext as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as u, useEffect as k, useMemo as D } from "react";
|
|
3
|
+
import { ThemeProviderContext as d } from "../ThemeProviderContext.js";
|
|
4
4
|
import { ETriplexNextTheme as m } from "../ETriplexNextTheme.js";
|
|
5
|
-
import { DesignTokensCore as
|
|
6
|
-
import { DesignTokensCoreThemeDark as
|
|
7
|
-
import { DesignTokensComponents as
|
|
8
|
-
import { DesignTokensComponentsThemeDark as
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
children:
|
|
12
|
-
scopeClassName:
|
|
13
|
-
scopeRef:
|
|
5
|
+
import { DesignTokensCore as p } from "../../DesignTokens/DesignTokensCore.js";
|
|
6
|
+
import { DesignTokensCoreThemeDark as v } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
|
+
import { DesignTokensComponents as x } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
|
+
import { DesignTokensComponentsThemeDark as c } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
+
import { m as g } from "../../../chunks/vendor-BiObpx9E.js";
|
|
10
|
+
const w = ({
|
|
11
|
+
children: T,
|
|
12
|
+
scopeClassName: o,
|
|
13
|
+
scopeRef: n,
|
|
14
14
|
theme: e,
|
|
15
|
-
tokens:
|
|
15
|
+
tokens: i
|
|
16
16
|
}) => {
|
|
17
|
-
const
|
|
17
|
+
const t = u("");
|
|
18
18
|
k(() => {
|
|
19
|
-
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
o.current && ((i = t.current) == null || i.classList.remove(o.current));
|
|
19
|
+
const r = n.current;
|
|
20
|
+
return o && (r == null || r.classList.add(o)), t.current = o, () => {
|
|
21
|
+
t.current && (r == null || r.classList.remove(t.current));
|
|
23
22
|
};
|
|
24
|
-
}, [
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
}, [o, n]);
|
|
24
|
+
const f = D(() => {
|
|
25
|
+
const r = g(
|
|
26
|
+
{},
|
|
27
|
+
i,
|
|
28
|
+
e === m.LIGHT ? p : v,
|
|
29
|
+
e === m.LIGHT ? x : c
|
|
30
|
+
);
|
|
31
|
+
return { scopeClassName: o, theme: e, tokens: r };
|
|
32
|
+
}, [o, e, i]);
|
|
33
|
+
return /* @__PURE__ */ s(d.Provider, { value: f, children: T });
|
|
32
34
|
};
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
w as ThemeProviderView
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=ThemeProviderView.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-DgogF0cV.js";
|
|
8
8
|
const d = r.forwardRef(({ className: m, ...i }, t) => {
|
|
9
9
|
const e = s(f.tooltipBody, m);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: e, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: e, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__189f577a", r = "desktop__9d458376", m = "mobile__d82c165c", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
|
-
mobile:
|
|
9
|
-
},
|
|
8
|
+
mobile: m
|
|
9
|
+
}, c = n.forwardRef(
|
|
10
10
|
({ children: i, className: e, ...l }, p) => /* @__PURE__ */ t(a, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
13
|
className: s(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...l,
|
|
15
|
-
"data-tx": "1.
|
|
15
|
+
"data-tx": "1.22.0",
|
|
16
16
|
ref: p,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,14 +21,14 @@ const k = "tooltipLink__f11bb509", r = "desktop__6bc3a1c5", c = "mobile__e549f4c
|
|
|
21
21
|
{
|
|
22
22
|
className: s(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...l,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.22.0",
|
|
25
25
|
ref: p,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
28
28
|
) })
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
c.displayName = "TooltipLink";
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
c as TooltipLink
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=TooltipLink.js.map
|
|
@@ -3,7 +3,7 @@ import { useContext as m } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
5
|
import { ButtonIcon as a } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as l } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as l } from "../../../../chunks/TooltipDesktop.module-DgogF0cV.js";
|
|
7
7
|
const I = ({ onClick: o, ...s }) => {
|
|
8
8
|
const { setTooltipOpen: p } = m(i), e = (t) => {
|
|
9
9
|
t.stopPropagation(), p(!1), o == null || o(t);
|
|
@@ -3,13 +3,13 @@ var H = (p, a, i) => a in p ? _(p, a, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (p, a, i) => H(p, typeof a != "symbol" ? a + "" : a, i);
|
|
4
4
|
import { jsxs as S, Fragment as P, jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import O from "react";
|
|
6
|
-
import { i as M, c as $ } from "../../../../../chunks/vendor-
|
|
6
|
+
import { i as M, c as $ } from "../../../../../chunks/vendor-BiObpx9E.js";
|
|
7
7
|
import { TooltipContext as X } from "../../../TootlipContext.js";
|
|
8
8
|
import { Portal as Y } from "../../../../Portal/Portal.js";
|
|
9
9
|
import { ETooltipPreferPlace as u, ETooltipDirection as B, ETooltipAlign as z, ETooltipFlowTypes as I, ETooltipSizeParameter as r, ETooltipTypeName as C, ETooltipEndCoordinates as N, ETooltipStartCoordinates as R, ETooltipAxesType as G, ETooltipSize as U } from "../../../enums.js";
|
|
10
10
|
import { TooltipDesktopTip as V } from "./TooltipDesktopTip.js";
|
|
11
11
|
import { pickZone as j, axes as q, calcRelPos as K, centerOfBoundsFromBounds as Z, calcBounds as L, equalCoords as J } from "../../../utils/Positioning.js";
|
|
12
|
-
import { s as f } from "../../../../../chunks/TooltipDesktop.module-
|
|
12
|
+
import { s as f } from "../../../../../chunks/TooltipDesktop.module-DgogF0cV.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
column: "translateX",
|
|
15
15
|
row: "translateY"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
3
|
import { ETooltipDirection as e } from "../../../enums.js";
|
|
4
|
-
import { c } from "../../../../../chunks/vendor-
|
|
5
|
-
import { s as t } from "../../../../../chunks/TooltipDesktop.module-
|
|
4
|
+
import { c } from "../../../../../chunks/vendor-BiObpx9E.js";
|
|
5
|
+
import { s as t } from "../../../../../chunks/TooltipDesktop.module-DgogF0cV.js";
|
|
6
6
|
const l = p.forwardRef((r, i) => {
|
|
7
7
|
const { direction: s } = r;
|
|
8
8
|
let o;
|
|
@@ -5,8 +5,8 @@ import { Portal as B } from "../../../Portal/Portal.js";
|
|
|
5
5
|
import { DropdownMobile as _ } from "../../../Dropdown/mobile/DropdownMobile.js";
|
|
6
6
|
import { DropdownMobileBody as x } from "../../../Dropdown/mobile/DropdownMobileBody.js";
|
|
7
7
|
import { TooltipMobileCloseButton as h } from "./components/TooltipMobileCloseButton.js";
|
|
8
|
-
import { c as y } from "../../../../chunks/vendor-
|
|
9
|
-
const N = "
|
|
8
|
+
import { c as y } from "../../../../chunks/vendor-BiObpx9E.js";
|
|
9
|
+
const N = "tooltipMobile__144353fd", T = "tooltipMobileContent__6ca5f52a", g = "headerless__3bc37ab1", H = "closeButton__ff1cf822", e = {
|
|
10
10
|
tooltipMobile: N,
|
|
11
11
|
tooltipMobileContent: T,
|
|
12
12
|
headerless: g,
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { Tooltip as
|
|
2
|
-
import { ETooltipPreferPlace as
|
|
1
|
+
import { Tooltip as i } from "./Tooltip.js";
|
|
2
|
+
import { ETooltipAlign as p, ETooltipAxesType as l, ETooltipDirection as T, ETooltipEndCoordinates as r, ETooltipFlowTypes as E, ETooltipPreferPlace as a, ETooltipSize as n, ETooltipSizeParameter as m, ETooltipStartCoordinates as s, ETooltipTypeName as d } from "./enums.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
p as ETooltipAlign,
|
|
5
|
+
l as ETooltipAxesType,
|
|
6
|
+
T as ETooltipDirection,
|
|
7
|
+
r as ETooltipEndCoordinates,
|
|
8
|
+
E as ETooltipFlowTypes,
|
|
9
|
+
a as ETooltipPreferPlace,
|
|
10
|
+
n as ETooltipSize,
|
|
11
|
+
m as ETooltipSizeParameter,
|
|
12
|
+
s as ETooltipStartCoordinates,
|
|
13
|
+
d as ETooltipTypeName,
|
|
14
|
+
i as Tooltip
|
|
7
15
|
};
|
|
8
16
|
//# sourceMappingURL=index.js.map
|