@sberbusiness/triplex-next 1.14.0 → 1.16.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/chunks/{AlertProcessSpoiler-DALLbh4Y.js → AlertProcessSpoiler-BG_kloAp.js} +14 -14
- package/chunks/{CalendarViewItem-DE57LdxF.js → CalendarViewItem-CQQGgtHA.js} +18 -18
- package/chunks/Card.module-D_9Nt5tA.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +14 -0
- package/chunks/{Chip-CBP_avtm.js → Chip-D_XuO-fG.js} +19 -19
- package/chunks/Confirm.module-BFd_0tH_.js +15 -0
- package/chunks/{DropdownListItem-C6I9gVRb.js → DropdownListItem-DzngoNVf.js} +8 -8
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +23 -0
- package/chunks/Footer.module-Cz5Pu1VT.js +9 -0
- package/chunks/{FormFieldInput-D2lqfg4n.js → FormFieldInput-TbDWEJtn.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +9 -0
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +9 -0
- package/chunks/{HeaderTitle.module-D2Le-Vmd.js → HeaderTitle.module-DVxCsuq0.js} +2 -2
- package/chunks/IslandAccordion.module-oqHSoL0z.js +25 -0
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +9 -0
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +12 -0
- package/chunks/{LightBoxContent-Bi0IQWNc.js → LightBoxContent-CY1Sxlp1.js} +10 -10
- package/chunks/LightBoxControls.module-CXoONiYm.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +8 -0
- package/chunks/{ListItemControlsButton--Ek4l8AX.js → ListItemControlsButton-C55hc-cr.js} +8 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +12 -0
- package/chunks/ListMasterFooter.module-D93cBp3m.js +10 -0
- package/chunks/ModalWindow.module-AO3qbtIE.js +17 -0
- package/chunks/Notification.module-3pjGHWYU.js +21 -0
- package/chunks/Overlay.module-yINooO_5.js +18 -0
- package/chunks/Page.module-fTNmaZZ6.js +11 -0
- package/chunks/{RightBorderArrow-BqzM7D6K.js → RightBorderArrow-D4dScyRx.js} +11 -11
- package/chunks/SMSField.module-D01Witvu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +15 -0
- package/chunks/{SliderExtendedRail-BxflNPkW.js → SliderExtendedRail-Bgz2tkUx.js} +8 -8
- package/chunks/StatusTracker.module-DPlTQG3M.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-CaLnhNmM.js +14 -0
- package/chunks/TableFooter.module-zC8u9DwX.js +14 -0
- package/chunks/TabsExtended.module-C65aq0XO.js +16 -0
- package/chunks/TabsLine.module-B3O0egAv.js +21 -0
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +19 -0
- package/chunks/TreeView.module-Vpz40gNk.js +9 -0
- package/chunks/UploadZoneInput-DxG_yQtm.js +33 -0
- package/chunks/constants-DAn1uZaw.js +57 -0
- package/chunks/{utils-DPkyEvqV.js → utils-9tQwQbYj.js} +11 -11
- package/chunks/{utils-Cyb1tecG.js → utils-D7Yx6kDI.js} +4 -4
- package/chunks/utils-DV0NGebi.js +24 -0
- package/chunks/utils-HLMbnICl.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +10 -10
- package/components/AmountField/AmountField.js +27 -27
- package/components/Avatar/Avatar.js +15 -15
- package/components/Badge/Badge.js +30 -0
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +21 -21
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- 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 +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- 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 +13 -13
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +19 -19
- 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/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +23 -23
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- 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 +3 -3
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/ExpandAnimation/index.js +5 -0
- 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 +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- 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 +9 -9
- 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 +38 -37
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- 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 +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- 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 +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +14 -15
- 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 +68 -70
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +23 -23
- 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 +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +11 -11
- 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 +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +7 -7
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- 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 +15 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +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/NotificationBodyContent.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/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +7 -7
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +4 -4
- 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 +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -18
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +128 -129
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- 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/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 +41 -43
- package/components/Typography/Text.js +49 -51
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- 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 +532 -533
- package/index.d.ts +236 -237
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D18ujhsr.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BGrgoYFp.js +0 -14
- package/chunks/Confirm.module-Y-2NyRFX.js +0 -15
- package/chunks/DropdownMobile.module-ppF6TvoG.js +0 -23
- package/chunks/Footer.module-BlHDTNCR.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-hEx6xNDd.js +0 -9
- package/chunks/HeaderTabs.module-msmMm_BI.js +0 -9
- package/chunks/IslandAccordion.module-DpgAGmIN.js +0 -25
- package/chunks/IslandWidgetFooter.module-DhoYKy6M.js +0 -9
- package/chunks/IslandWidgetHeader.module-BFXzve-T.js +0 -9
- package/chunks/LightBoxControls.module-DTFEWumP.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CLzUeuQG.js +0 -8
- package/chunks/ListItemTail.module-DrFpbbjw.js +0 -12
- package/chunks/ListMasterFooter.module-CMNUIWxu.js +0 -10
- package/chunks/ModalWindow.module-CMT6Qwhi.js +0 -17
- package/chunks/Notification.module-8g0up3Mn.js +0 -21
- package/chunks/Overlay.module-CJZIns4Y.js +0 -18
- package/chunks/Page.module-Cq-KMJ_J.js +0 -11
- package/chunks/SMSField.module-Dpw_velC.js +0 -16
- package/chunks/SliderExtendedMarks.module-Cwy_TAtg.js +0 -15
- package/chunks/StatusTracker.module-BPaAftS3.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CooicUNx.js +0 -15
- package/chunks/TableFooter.module-BXib8bAF.js +0 -14
- package/chunks/TabsExtended.module-41dIJqTz.js +0 -16
- package/chunks/TabsLine.module-DY1bt47O.js +0 -21
- package/chunks/TooltipDesktop.module-BP9en5Mr.js +0 -19
- package/chunks/TreeView.module-ssEB6Mn6.js +0 -9
- package/chunks/UploadZoneInput--oJn7HTT.js +0 -33
- package/chunks/utils-6FIQkvvy.js +0 -36
- package/chunks/utils-B5Py99ZO.js +0 -73
- package/chunks/utils-BX1E8zy3.js +0 -24
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
5
|
-
import { n as D, c as N } from "../../../chunks/vendor-
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
+
import { n as D, c as N } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__9b4aa72c", R = "floating__ad24a56a", S = "formFieldLabelText__9fea3857", C = "disabled__8c879a88", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__3e11b90d",
|
|
10
|
+
"size-md": "size-md__a712bd73",
|
|
11
|
+
"size-lg": "size-lg__c1a17834",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
17
|
-
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, b) => {
|
|
17
|
+
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: a, valueExist: i } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
|
-
!D(e) && e !== l ? o(e) : e !== l && o(t ||
|
|
20
|
-
}, [t,
|
|
19
|
+
!D(e) && e !== l ? o(e) : e !== l && o(t || i);
|
|
20
|
+
}, [t, i, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
24
|
[s.disabled]: F === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
|
-
[s[`size-${
|
|
26
|
+
[s[`size-${a}`]]: a
|
|
27
27
|
},
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
33
|
+
right: x || m,
|
|
34
34
|
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref: b, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: b, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as q } from "react";
|
|
3
|
-
import { c as F, o as U, q as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, o as U, q as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
7
|
import { EFormFieldStatus as V } from "../enums.js";
|
|
8
|
-
const Q = "
|
|
8
|
+
const Q = "formFieldMaskedInputWrapper__83f21d69", X = "formFieldMaskedInputPlaceholder__5b9dedb7", Y = "formFieldMaskedInput__2ce0443e", l = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__3e11b90d",
|
|
12
|
+
"size-md": "size-md__a712bd73",
|
|
13
|
+
"size-lg": "size-lg__c1a17834",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
@@ -23,9 +23,9 @@ const Q = "formFieldMaskedInputWrapper__889a629c", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, b] = $(""), c = L(!1), { valueExist: y, focused: z, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
b((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
31
|
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
@@ -40,15 +40,15 @@ const Q = "formFieldMaskedInputWrapper__889a629c", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, u]);
|
|
43
|
-
const
|
|
43
|
+
const E = q(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
c.current = !1, s !== t && (f == null || f(e));
|
|
47
47
|
},
|
|
48
48
|
[s, f]
|
|
49
|
-
),
|
|
49
|
+
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, T = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -60,8 +60,8 @@ const Q = "formFieldMaskedInputWrapper__889a629c", X = "formFieldMaskedInputPlac
|
|
|
60
60
|
};
|
|
61
61
|
}, D = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof d == "function" ? d(t) : d && (d.current = t);
|
|
63
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
63
|
+
}, j = () => !y && !z || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,11 +83,11 @@ const Q = "formFieldMaskedInputWrapper__889a629c", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: E,
|
|
87
|
+
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: T,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPostfix__70c46734", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
|
+
({ children: s, className: i, ...r }, o) => {
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(a), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
12
|
return F(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__2ed75ef4", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPrefix__68ff50be", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children:
|
|
9
|
-
const s = p(R.formFieldPrefix,
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
|
+
({ children: f, className: o, ...i }, r) => {
|
|
9
|
+
const s = p(R.formFieldPrefix, o), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
12
|
return F(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__fd4e65c7", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children: f });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as N,
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
4
|
+
import { c as N, u as S } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__45af0ef0", L = "placeholder__76992caa", W = "disabled__8c879a88", R = "placeholderWrapper__6a423d15", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__3e11b90d",
|
|
11
|
+
"size-md": "size-md__a712bd73",
|
|
12
|
+
"size-lg": "size-lg__c1a17834",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((_, F) => {
|
|
15
|
-
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...g } = _, { status: a, setFocused: p, setId:
|
|
16
|
-
[e.disabled]: a ===
|
|
17
|
-
[e.placeholder]: !!m && !s && a !==
|
|
18
|
-
}),
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...g } = _, { status: a, setFocused: p, setId: l, setValueExist: f, size: b } = E(B), z = N(e.formFieldTarget, h, e[`size-${b}`], {
|
|
16
|
+
[e.disabled]: a === d.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== d.DISABLED
|
|
18
|
+
}), t = T(r || S("formFieldTarget_"));
|
|
19
19
|
n(() => {
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
r && (
|
|
23
|
-
}, [r,
|
|
20
|
+
l(t.current);
|
|
21
|
+
}, [l]), n(() => {
|
|
22
|
+
r && (t.current = r, l(t.current));
|
|
23
|
+
}, [r, l]), n(() => {
|
|
24
24
|
f(!!s);
|
|
25
25
|
}, [f, s]);
|
|
26
26
|
const D = (i) => {
|
|
@@ -33,11 +33,11 @@ const A = "formFieldTarget__9627c1ca", L = "placeholder__de8db518", W = "disable
|
|
|
33
33
|
{
|
|
34
34
|
...g,
|
|
35
35
|
className: z,
|
|
36
|
-
"aria-disabled": a ===
|
|
37
|
-
id:
|
|
36
|
+
"aria-disabled": a === d.DISABLED,
|
|
37
|
+
id: t.current,
|
|
38
38
|
onFocus: I,
|
|
39
39
|
onBlur: D,
|
|
40
|
-
tabIndex: a ===
|
|
40
|
+
tabIndex: a === d.DISABLED ? -1 : 0,
|
|
41
41
|
ref: F,
|
|
42
42
|
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
43
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { jsx as N } from "react/jsx-runtime";
|
|
2
|
+
import C, { useContext as E, useMemo as I, useEffect as f } from "react";
|
|
3
|
+
import { u as b, c as g } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { createSizeToClassNameMap as z } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { FormFieldContext as M } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as S } from "../enums.js";
|
|
7
|
-
const h = "
|
|
7
|
+
const h = "formFieldTextarea__a70adeb8", y = "sm__df1f3ec8", D = "md__7610a12a", R = "lg__e1fdff7b", l = {
|
|
8
8
|
formFieldTextarea: h,
|
|
9
9
|
sm: y,
|
|
10
10
|
md: D,
|
|
11
11
|
lg: R
|
|
12
|
-
}, j = z(l), q =
|
|
13
|
-
({ className:
|
|
14
|
-
const { size: F, status: _, setFocused: m, setId: d, setValueExist:
|
|
15
|
-
|
|
12
|
+
}, j = z(l), q = C.forwardRef(
|
|
13
|
+
({ className: c, id: e, onBlur: t, onFocus: a, value: s, ...n }, x) => {
|
|
14
|
+
const { size: F, status: _, setFocused: m, setId: d, setValueExist: i } = E(M), o = I(() => e === void 0 ? b("textarea_") : e, [e]), p = g(l.formFieldTextarea, j[F], c);
|
|
15
|
+
f(() => {
|
|
16
16
|
d(o);
|
|
17
|
-
}, [o, d]),
|
|
18
|
-
|
|
19
|
-
}, [
|
|
17
|
+
}, [o, d]), f(() => {
|
|
18
|
+
i(!!s);
|
|
19
|
+
}, [i, s]);
|
|
20
20
|
const T = (r) => {
|
|
21
21
|
m(!1), t == null || t(r);
|
|
22
22
|
}, u = (r) => {
|
|
23
|
-
m(!0),
|
|
23
|
+
m(!0), a == null || a(r);
|
|
24
24
|
};
|
|
25
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ N(
|
|
26
26
|
"textarea",
|
|
27
27
|
{
|
|
28
28
|
...n,
|
|
@@ -31,7 +31,7 @@ const h = "formFieldTextarea__bb882c2c", y = "sm__0bd23d80", D = "md__c0a1cde1",
|
|
|
31
31
|
disabled: _ === S.DISABLED,
|
|
32
32
|
onFocus: u,
|
|
33
33
|
onBlur: T,
|
|
34
|
-
value:
|
|
34
|
+
value: s,
|
|
35
35
|
ref: x
|
|
36
36
|
}
|
|
37
37
|
);
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as p } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as x } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as s } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
8
8
|
import { FormFieldMaskedInput as T } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as M } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as b } from "./components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
-
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.16.0", ref: t, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-Bce5gLLP.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as d } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-Bce5gLLP.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as t } from "../../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as t } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-Bce5gLLP.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const u = "
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const u = "headerSubheader__b412d0fd", n = "withoutPaddings__7d6aede3", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
|
-
withoutPaddings:
|
|
7
|
-
},
|
|
8
|
-
({ children:
|
|
6
|
+
withoutPaddings: n
|
|
7
|
+
}, c = h.forwardRef(
|
|
8
|
+
({ children: d, className: a, withoutPaddings: r, ...t }, o) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r },
|
|
11
|
+
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r }, a),
|
|
12
12
|
...t,
|
|
13
13
|
ref: o,
|
|
14
|
-
children:
|
|
14
|
+
children: d
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
c.displayName = "HeaderSubheader";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
c as HeaderSubheader
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=HeaderSubheader.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderTabs.module-
|
|
5
|
+
import { c as d } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderTabs.module-Bwx0AJwd.js";
|
|
7
7
|
const i = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: d(f.headerTabs, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-Bwx0AJwd.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-Bwx0AJwd.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
5
|
+
import { c as l } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-DVxCsuq0.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: e, className: t, ...r }, o) {
|
|
9
9
|
return /* @__PURE__ */ a("div", { className: l(n.headerTitle, t), ...r, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-DVxCsuq0.js";
|
|
5
5
|
const m = s.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-DVxCsuq0.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, l) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { QuestioncircleFilledSrvIcon16 as
|
|
5
|
-
import { ButtonIcon as
|
|
6
|
-
import { EButtonIconShape as
|
|
1
|
+
import { jsxs as B, Fragment as M, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as N, useState as h, useId as R } from "react";
|
|
3
|
+
import { c as S, h as L } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { QuestioncircleFilledSrvIcon16 as j } from "@sberbusiness/icons-next";
|
|
5
|
+
import { ButtonIcon as k } from "../Button/ButtonIcon.js";
|
|
6
|
+
import { EButtonIconShape as _ } from "../Button/enums.js";
|
|
7
7
|
import { Tooltip as l } from "../Tooltip/Tooltip.js";
|
|
8
|
-
import { TooltipMobileHeader as
|
|
9
|
-
import { MobileView as
|
|
10
|
-
import { getDataHTMLAttributes as
|
|
11
|
-
import { getAriaHTMLAttributes as
|
|
12
|
-
const
|
|
13
|
-
helpBoxButton:
|
|
14
|
-
},
|
|
8
|
+
import { TooltipMobileHeader as z } from "../Tooltip/components/mobile/components/TooltipMobileHeader.js";
|
|
9
|
+
import { MobileView as C } from "../MobileView/MobileView.js";
|
|
10
|
+
import { getDataHTMLAttributes as D } from "../../utils/html/DataAttributes.js";
|
|
11
|
+
import { getAriaHTMLAttributes as Q } from "../../utils/html/AriaAttributes.js";
|
|
12
|
+
const V = "helpBoxButton__ce5405bf", X = {
|
|
13
|
+
helpBoxButton: V
|
|
14
|
+
}, $ = ({
|
|
15
15
|
children: x,
|
|
16
16
|
className: T,
|
|
17
17
|
focusTrapProps: o,
|
|
@@ -19,27 +19,28 @@ const Q = "helpBoxButton__7a25151d", V = {
|
|
|
19
19
|
isOpen: i,
|
|
20
20
|
onShow: n,
|
|
21
21
|
tooltipSize: I,
|
|
22
|
-
preferPlace:
|
|
22
|
+
preferPlace: b,
|
|
23
23
|
toggle: r,
|
|
24
24
|
tooltipAriaAttributes: s,
|
|
25
25
|
tooltipDataAttributes: p,
|
|
26
|
+
iconProps: v,
|
|
26
27
|
...F
|
|
27
28
|
}) => {
|
|
28
|
-
const m =
|
|
29
|
-
i === void 0 &&
|
|
30
|
-
},
|
|
29
|
+
const m = N(null), [O, g] = h(!!i), [d, u] = h(null), f = R(), a = i ?? O, y = (e) => {
|
|
30
|
+
i === void 0 && g(e), e || u(null), r == null || r(e);
|
|
31
|
+
}, E = (e) => {
|
|
31
32
|
u(e), n == null || n(e);
|
|
32
|
-
},
|
|
33
|
-
|
|
33
|
+
}, H = (e) => /* @__PURE__ */ t(
|
|
34
|
+
C,
|
|
34
35
|
{
|
|
35
36
|
fallback: /* @__PURE__ */ t(
|
|
36
|
-
|
|
37
|
+
L.FocusTrap,
|
|
37
38
|
{
|
|
38
39
|
active: a,
|
|
39
40
|
...o,
|
|
40
41
|
focusTrapOptions: {
|
|
41
42
|
clickOutsideDeactivates: !0,
|
|
42
|
-
initialFocus: `[id='${
|
|
43
|
+
initialFocus: `[id='${f}']`,
|
|
43
44
|
preventScroll: !0,
|
|
44
45
|
...o == null ? void 0 : o.focusTrapOptions
|
|
45
46
|
},
|
|
@@ -49,45 +50,45 @@ const Q = "helpBoxButton__7a25151d", V = {
|
|
|
49
50
|
children: null
|
|
50
51
|
}
|
|
51
52
|
);
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
return /* @__PURE__ */ B(M, { children: [
|
|
54
|
+
/* @__PURE__ */ B(
|
|
54
55
|
l,
|
|
55
56
|
{
|
|
56
|
-
id:
|
|
57
|
+
id: f,
|
|
57
58
|
tabIndex: -1,
|
|
58
59
|
role: "dialog",
|
|
59
60
|
toggleType: "hover",
|
|
60
61
|
size: I,
|
|
61
|
-
preferPlace:
|
|
62
|
+
preferPlace: b,
|
|
62
63
|
isOpen: a,
|
|
63
|
-
toggle:
|
|
64
|
-
onShow:
|
|
64
|
+
toggle: y,
|
|
65
|
+
onShow: E,
|
|
65
66
|
targetRef: m,
|
|
66
|
-
...!!s &&
|
|
67
|
-
...!!p &&
|
|
67
|
+
...!!s && Q(s),
|
|
68
|
+
...!!p && D(p),
|
|
68
69
|
children: [
|
|
69
70
|
/* @__PURE__ */ t(l.Target, { children: /* @__PURE__ */ t(
|
|
70
|
-
|
|
71
|
+
k,
|
|
71
72
|
{
|
|
72
|
-
className:
|
|
73
|
+
className: S(X.helpBoxButton, T),
|
|
73
74
|
"aria-label": "Подсказка",
|
|
74
|
-
shape:
|
|
75
|
+
shape: _.CIRCLE,
|
|
75
76
|
ref: m,
|
|
76
77
|
...F,
|
|
77
|
-
children: /* @__PURE__ */ t(
|
|
78
|
+
children: /* @__PURE__ */ t(j, { paletteIndex: 5, ...v })
|
|
78
79
|
}
|
|
79
80
|
) }),
|
|
80
|
-
c && /* @__PURE__ */ t(
|
|
81
|
+
c && /* @__PURE__ */ t(z, { children: c }),
|
|
81
82
|
/* @__PURE__ */ t(l.Body, { children: x }),
|
|
82
83
|
/* @__PURE__ */ t(l.XButton, { "aria-label": "Закрыть" })
|
|
83
84
|
]
|
|
84
85
|
}
|
|
85
86
|
),
|
|
86
|
-
a && d &&
|
|
87
|
+
a && d && H(d)
|
|
87
88
|
] });
|
|
88
89
|
};
|
|
89
|
-
|
|
90
|
+
$.displayName = "HelpBox";
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
$ as HelpBox
|
|
92
93
|
};
|
|
93
94
|
//# sourceMappingURL=HelpBox.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as d } from "../../chunks/vendor-
|
|
3
|
+
import { c as d } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { EIslandType as l } from "./enums.js";
|
|
5
5
|
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
6
|
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
7
|
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
-
import { s as o, m as y } from "../../chunks/utils-
|
|
8
|
+
import { s as o, m as y } from "../../chunks/utils-DV0NGebi.js";
|
|
9
9
|
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
10
10
|
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
11
11
|
const N = T(o), C = Object.assign(
|