@sberbusiness/triplex-next 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -23
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +39 -0
- package/chunks/CalendarViewItem-D879SDC1.js +101 -0
- package/chunks/Card.module--O3Bx82B.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +15 -0
- package/chunks/{Chip-Bq-4tQtK.js → Chip-M9mPbBOt.js} +15 -15
- package/chunks/Confirm.module-DtBiR4Fo.js +15 -0
- package/chunks/{DropdownListItem-ILfoWhzW.js → DropdownListItem-BdLTF7q1.js} +16 -16
- package/chunks/DropdownMobile.module-PpB3KA4H.js +23 -0
- package/chunks/Footer.module-Z4RIi8JP.js +9 -0
- package/chunks/FormFieldInput-C75omt8Y.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +9 -0
- package/chunks/HeaderTabs.module-ykRWLBUI.js +9 -0
- package/chunks/{HeaderTitle.module-DKHery9U.js → HeaderTitle.module-Cg-I_NJG.js} +2 -2
- package/chunks/IslandAccordion.module-DE-xutGt.js +25 -0
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +9 -0
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +12 -0
- package/chunks/LightBoxContent-BLPx_Tsf.js +56 -0
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +9 -0
- package/chunks/{ListItemControlsButton-BVv5SEQK.js → ListItemControlsButton-0bXNCLYU.js} +8 -8
- package/chunks/ListItemTail.module-DFYWneN6.js +12 -0
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +10 -0
- package/chunks/ModalWindow.module-DqMffIcE.js +17 -0
- package/chunks/Notification.module-CPSD8BYw.js +20 -0
- package/chunks/Overlay.module-B5Hl3baB.js +18 -0
- package/chunks/Page.module-BbrHHqMK.js +11 -0
- package/chunks/{RightBorderArrow-DphWOCKu.js → RightBorderArrow-1OX8NAL9.js} +6 -6
- package/chunks/SMSField.module-CPSjUBD-.js +16 -0
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +15 -0
- package/chunks/SliderExtendedRail-C_1LnK7I.js +40 -0
- package/chunks/StatusTracker.module-KkpUE8KY.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BrJJVBqL.js → SuggestFieldMobileDropdownHint-DNKfDfM3.js} +6 -6
- package/chunks/TableFooter.module-OEvn0oaX.js +14 -0
- package/chunks/TabsExtended.module-B3Ti-48x.js +16 -0
- package/chunks/TabsLine.module-BgCBcRYT.js +21 -0
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +19 -0
- package/chunks/TreeView.module-CmGHGs81.js +9 -0
- package/chunks/{UploadZoneInput-CPReFDxM.js → UploadZoneInput-CIib3dEF.js} +5 -5
- package/chunks/{constants-BJYXBm7r.js → constants-BamiEgAW.js} +9 -9
- package/chunks/{utils-Di6w1QBl.js → utils-Bt-cuXIX.js} +2 -2
- package/chunks/utils-C5IWf42V.js +24 -0
- package/chunks/{utils-hoF6QqvY.js → utils-d7-rkiPs.js} +10 -10
- package/chunks/utils-hbQGLR7K.js +73 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor-DaOifQgP.js} +5330 -5331
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +5 -5
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +8 -8
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +8 -8
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +24 -23
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +135 -135
- 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 +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +13 -13
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +20 -20
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +18 -18
- 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 +68 -66
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +19 -19
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +32 -30
- package/components/FormField/components/FormFieldTextarea.js +13 -13
- 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 +6 -6
- 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 +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +20 -20
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +32 -32
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +22 -22
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +15 -15
- package/components/List/components/ListItemTable.js +8 -8
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- 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 +7 -7
- package/components/ModalWindow/ModalWindow.js +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +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 +13 -13
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +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 +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +10 -10
- 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 +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 +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +68 -64
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +15 -15
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +3 -3
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +18 -17
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- 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 +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 +6 -6
- 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 +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +20 -20
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +5 -5
- 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 +13 -13
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +28 -28
- 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 +21 -21
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +231 -68
- package/index.js +618 -604
- package/package.json +6 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BHNe1ozS.js +0 -39
- package/chunks/CalendarViewItem-DPBC-Z6J.js +0 -101
- package/chunks/Card.module-B5YIHmus.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CpX20kPI.js +0 -14
- package/chunks/Confirm.module-GA5Dzlmr.js +0 -15
- package/chunks/DropdownMobile.module-DclcWauT.js +0 -23
- package/chunks/Footer.module-DkDGszHy.js +0 -9
- package/chunks/FormFieldInput-ClOpQErr.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BZz8z8Wm.js +0 -9
- package/chunks/HeaderTabs.module-C5oTxlpm.js +0 -9
- package/chunks/IslandAccordion.module-WbI4D8ty.js +0 -25
- package/chunks/IslandWidgetFooter.module-DTWh9cNJ.js +0 -9
- package/chunks/IslandWidgetHeader.module-BQRaj4yi.js +0 -12
- package/chunks/LightBoxContent-DwCwTnm8.js +0 -56
- package/chunks/LightBoxControls.module-Dd9isO-M.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-D6dEk7jq.js +0 -8
- package/chunks/ListItemTail.module-Cl4qnsce.js +0 -12
- package/chunks/ListMasterFooter.module-DhaldysT.js +0 -10
- package/chunks/ModalWindow.module-0Ojlif30.js +0 -17
- package/chunks/Notification.module-PYfR2ux2.js +0 -20
- package/chunks/Overlay.module-DLlM4tJo.js +0 -18
- package/chunks/Page.module-g63XbdMj.js +0 -11
- package/chunks/SMSField.module-BtkXBfsB.js +0 -16
- package/chunks/SliderExtendedMarks.module-CmYXI7Bc.js +0 -15
- package/chunks/SliderExtendedRail-LPLejGxq.js +0 -40
- package/chunks/StatusTracker.module-DvCRrIA3.js +0 -24
- package/chunks/TableFooter.module--X6CLCIy.js +0 -14
- package/chunks/TabsExtended.module-R-jANZBU.js +0 -16
- package/chunks/TabsLine.module-B1pGQOOh.js +0 -21
- package/chunks/TooltipDesktop.module-DB_qJpGS.js +0 -19
- package/chunks/TreeView.module-DToAhAOL.js +0 -9
- package/chunks/utils-BumZpvr4.js +0 -73
- package/chunks/utils-C0IvyYX-.js +0 -24
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
expandAnimation:
|
|
6
|
-
},
|
|
2
|
+
import U, { useRef as y } from "react";
|
|
3
|
+
import { z as b, c as j } from "../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
const z = "expandAnimation__1ef6eaa1", F = {
|
|
5
|
+
expandAnimation: z
|
|
6
|
+
}, I = 300, L = U.forwardRef(
|
|
7
7
|
({
|
|
8
|
-
children:
|
|
8
|
+
children: A,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime: f =
|
|
11
|
+
animationTime: f = I,
|
|
12
12
|
style: R,
|
|
13
13
|
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
...w
|
|
17
17
|
}, x) => {
|
|
18
|
-
const m =
|
|
18
|
+
const m = y({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}), l =
|
|
24
|
+
}), l = y(null), H = (c) => {
|
|
25
25
|
var u;
|
|
26
26
|
l.current && (m.current.entering.height = l.current.scrollHeight), d == null || d(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
27
|
}, T = (c) => {
|
|
@@ -30,14 +30,14 @@ const F = "expandAnimation__32b3c3ee", I = {
|
|
|
30
30
|
}, _ = () => {
|
|
31
31
|
var c;
|
|
32
32
|
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
-
},
|
|
33
|
+
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
36
|
+
}, N = (c) => {
|
|
37
37
|
l.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
b,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
@@ -46,27 +46,27 @@ const F = "expandAnimation__32b3c3ee", I = {
|
|
|
46
46
|
onEnter: H,
|
|
47
47
|
onEntered: T,
|
|
48
48
|
onExit: _,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: D,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: j(
|
|
53
|
+
className: j(F.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
55
|
transitionDuration: f + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
...w,
|
|
60
|
-
ref:
|
|
61
|
-
children:
|
|
60
|
+
ref: N,
|
|
61
|
+
children: A
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
|
-
|
|
68
|
+
L.displayName = "ExpandAnimation";
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
L as ExpandAnimation
|
|
71
71
|
};
|
|
72
72
|
//# sourceMappingURL=ExpandAnimation.js.map
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
e.forwardRef(function({ children: o, ...r }, t) {
|
|
8
|
-
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.
|
|
8
|
+
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.21.0", ref: t, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-DaOifQgP.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-Z4RIi8JP.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: r, ...t }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, r), ...t, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-Z4RIi8JP.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as p } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { s as p } from "../../../chunks/Footer.module-Z4RIi8JP.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, t) => /* @__PURE__ */ e("div", { className: m(p.footerDescriptionControls, r), ...s, ref: t, children: o })
|
|
7
7
|
);
|
|
@@ -1,88 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { FormFieldContext as
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import S, { useState as e } from "react";
|
|
3
|
+
import { c as W } from "../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { FormFieldContext as G } from "./FormFieldContext.js";
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as p } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as s } from "./enums.js";
|
|
7
|
-
import { EComponentSize as
|
|
8
|
-
import { createSizeToClassNameMap as
|
|
9
|
-
const
|
|
10
|
-
formField:
|
|
11
|
-
default: "
|
|
12
|
-
disabled:
|
|
13
|
-
active:
|
|
14
|
-
error:
|
|
15
|
-
warning:
|
|
16
|
-
sm:
|
|
17
|
-
md:
|
|
18
|
-
lg:
|
|
19
|
-
},
|
|
20
|
-
[s.DEFAULT]:
|
|
21
|
-
[s.DISABLED]:
|
|
22
|
-
[s.ERROR]:
|
|
23
|
-
[s.WARNING]:
|
|
24
|
-
},
|
|
7
|
+
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { createSizeToClassNameMap as L } from "../../utils/classNameMaps.js";
|
|
9
|
+
const P = "formField__bf58e82d", y = "disabled__dbebc5a9", U = "active__64a044d6", z = "error__6f308917", j = "warning__0f44558e", B = "sm__9d81b3df", H = "md__12df891c", O = "lg__a5c94cbc", t = {
|
|
10
|
+
formField: P,
|
|
11
|
+
default: "default__592d2a0d",
|
|
12
|
+
disabled: y,
|
|
13
|
+
active: U,
|
|
14
|
+
error: z,
|
|
15
|
+
warning: j,
|
|
16
|
+
sm: B,
|
|
17
|
+
md: H,
|
|
18
|
+
lg: O
|
|
19
|
+
}, V = {
|
|
20
|
+
[s.DEFAULT]: t.default,
|
|
21
|
+
[s.DISABLED]: t.disabled,
|
|
22
|
+
[s.ERROR]: t.error,
|
|
23
|
+
[s.WARNING]: t.warning
|
|
24
|
+
}, X = L(t), k = S.forwardRef(
|
|
25
25
|
({
|
|
26
|
-
children:
|
|
27
|
-
className:
|
|
28
|
-
status:
|
|
26
|
+
children: F,
|
|
27
|
+
className: x,
|
|
28
|
+
status: i = s.DEFAULT,
|
|
29
29
|
onMouseEnter: o,
|
|
30
|
-
onMouseLeave:
|
|
31
|
-
style:
|
|
32
|
-
size:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
onMouseLeave: d,
|
|
31
|
+
style: g,
|
|
32
|
+
size: c = I.LG,
|
|
33
|
+
active: l = !1,
|
|
34
|
+
...b
|
|
35
|
+
}, h) => {
|
|
36
|
+
const [r, u] = e(!1), [v, m] = e(!1), [E, N] = e(""), [f, R] = e(p), [n, T] = e(p), [A, D] = e(!1), w = (a) => {
|
|
37
|
+
m(!0), o == null || o(a);
|
|
38
|
+
}, C = (a) => {
|
|
39
|
+
m(!1), d == null || d(a);
|
|
39
40
|
};
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
|
|
41
|
+
return /* @__PURE__ */ _(
|
|
42
|
+
G.Provider,
|
|
42
43
|
{
|
|
43
44
|
value: {
|
|
44
|
-
status:
|
|
45
|
-
focused:
|
|
46
|
-
hovered:
|
|
47
|
-
id:
|
|
48
|
-
postfixWidth:
|
|
49
|
-
prefixWidth:
|
|
50
|
-
setFocused:
|
|
51
|
-
setId:
|
|
52
|
-
setPostfixWidth:
|
|
53
|
-
setPrefixWidth:
|
|
54
|
-
setValueExist:
|
|
55
|
-
valueExist:
|
|
56
|
-
size:
|
|
45
|
+
status: i,
|
|
46
|
+
focused: r,
|
|
47
|
+
hovered: v,
|
|
48
|
+
id: E,
|
|
49
|
+
postfixWidth: f,
|
|
50
|
+
prefixWidth: n,
|
|
51
|
+
setFocused: u,
|
|
52
|
+
setId: N,
|
|
53
|
+
setPostfixWidth: R,
|
|
54
|
+
setPrefixWidth: T,
|
|
55
|
+
setValueExist: D,
|
|
56
|
+
valueExist: A,
|
|
57
|
+
size: c,
|
|
58
|
+
active: l || r
|
|
57
59
|
},
|
|
58
|
-
children: /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ _(
|
|
59
61
|
"div",
|
|
60
62
|
{
|
|
61
|
-
className:
|
|
62
|
-
|
|
63
|
+
className: W(
|
|
64
|
+
t.formField,
|
|
65
|
+
X[c],
|
|
63
66
|
V[i],
|
|
64
|
-
O[a],
|
|
65
67
|
{
|
|
66
|
-
[
|
|
68
|
+
[t.active]: l || r
|
|
67
69
|
},
|
|
68
|
-
|
|
70
|
+
x
|
|
69
71
|
),
|
|
70
|
-
onMouseEnter:
|
|
71
|
-
onMouseLeave:
|
|
72
|
-
"data-tx": "0.
|
|
73
|
-
style: { paddingLeft:
|
|
74
|
-
...
|
|
75
|
-
ref:
|
|
76
|
-
children:
|
|
72
|
+
onMouseEnter: w,
|
|
73
|
+
onMouseLeave: C,
|
|
74
|
+
"data-tx": "0.21.0",
|
|
75
|
+
style: { paddingLeft: n, paddingRight: f, ...g },
|
|
76
|
+
...b,
|
|
77
|
+
ref: h,
|
|
78
|
+
children: F
|
|
77
79
|
}
|
|
78
80
|
)
|
|
79
81
|
}
|
|
80
82
|
);
|
|
81
83
|
}
|
|
82
84
|
);
|
|
83
|
-
|
|
85
|
+
k.displayName = "FormField";
|
|
84
86
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
k as FormField,
|
|
88
|
+
V as statusToClassNameMap
|
|
87
89
|
};
|
|
88
90
|
//# sourceMappingURL=FormField.js.map
|
|
@@ -19,10 +19,11 @@ const o = {
|
|
|
19
19
|
setValueExist: () => {
|
|
20
20
|
},
|
|
21
21
|
valueExist: !1,
|
|
22
|
-
size: i.MD
|
|
23
|
-
|
|
22
|
+
size: i.MD,
|
|
23
|
+
active: !1
|
|
24
|
+
}, d = t.createContext(o);
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
d as FormFieldContext,
|
|
26
27
|
o as initialFormFieldContext
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=FormFieldContext.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as F } from "react";
|
|
3
|
-
import { c as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
5
|
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as u } from "../enums.js";
|
|
7
7
|
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
8
|
-
const v = "
|
|
8
|
+
const v = "formFieldClear__9ba017ed", I = "hidden__cd56c11f", t = {
|
|
9
9
|
formFieldClear: v,
|
|
10
10
|
hidden: I
|
|
11
11
|
}, S = f.forwardRef(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__acf9084b", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
}, f = ({ children:
|
|
6
|
+
}, f = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
12
|
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { FormFieldDescriptionContext as c } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__abb745ad", p = "withCounter__10bf63b3", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: r, ...e }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(
|
|
10
|
+
return /* @__PURE__ */ t(c.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: m(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -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-DaOifQgP.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-C75omt8Y.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { m as N, c as S } from "../../../chunks/vendor-
|
|
2
|
+
import E, { useContext as g, useState as u, useEffect as A } from "react";
|
|
3
|
+
import { m as N, c as S } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
4
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
7
|
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
8
|
-
const C = "
|
|
8
|
+
const C = "formFieldLabel__130a6ac1", I = "sm__9d81b3df", M = "md__12df891c", R = "lg__a5c94cbc", v = "floating__141dd020", z = "formFieldLabelText__72af520c", G = "disabled__dbebc5a9", t = {
|
|
9
9
|
formFieldLabel: C,
|
|
10
10
|
sm: I,
|
|
11
11
|
md: M,
|
|
12
12
|
lg: R,
|
|
13
|
-
floating:
|
|
14
|
-
formFieldLabelText:
|
|
15
|
-
disabled:
|
|
16
|
-
},
|
|
17
|
-
({ children: d, className: r, style:
|
|
18
|
-
const { status:
|
|
13
|
+
floating: v,
|
|
14
|
+
formFieldLabelText: z,
|
|
15
|
+
disabled: G
|
|
16
|
+
}, U = D(t), W = E.forwardRef(
|
|
17
|
+
({ children: d, className: r, style: c, floating: e, ...f }, n) => {
|
|
18
|
+
const { status: _, active: l, id: b, prefixWidth: F, postfixWidth: L, size: x, valueExist: a } = g(h), [s, o] = u(!1);
|
|
19
19
|
A(() => {
|
|
20
|
-
!N(e) && e !==
|
|
21
|
-
}, [l, a, e,
|
|
20
|
+
!N(e) && e !== s ? o(e) : e !== s && o(l || a);
|
|
21
|
+
}, [l, a, e, s]);
|
|
22
22
|
const p = S(
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
t.formFieldLabel,
|
|
24
|
+
U[x],
|
|
25
25
|
{
|
|
26
|
-
[
|
|
27
|
-
[
|
|
26
|
+
[t.disabled]: _ === y.DISABLED,
|
|
27
|
+
[t.floating]: s
|
|
28
28
|
},
|
|
29
29
|
r
|
|
30
30
|
), T = {
|
|
@@ -32,13 +32,13 @@ const C = "formFieldLabel__13c404a4", I = "sm__b3213602", M = "md__5fa1112a", R
|
|
|
32
32
|
left: F || m,
|
|
33
33
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
34
34
|
right: L || m,
|
|
35
|
-
...
|
|
35
|
+
...c
|
|
36
36
|
};
|
|
37
|
-
return /* @__PURE__ */ i("label", { className: p, ref: n, htmlFor:
|
|
37
|
+
return /* @__PURE__ */ i("label", { className: p, ref: n, htmlFor: b, ...f, style: T, children: /* @__PURE__ */ i("span", { className: t.formFieldLabelText, children: d }) });
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
|
-
|
|
40
|
+
W.displayName = "FormFieldLabel";
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
W as FormFieldLabel
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=FormFieldLabel.js.map
|
|
@@ -1,29 +1,29 @@
|
|
|
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 U } from "react";
|
|
3
|
-
import { c as F, n as q, o as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, n as q, o as p } from "../../../chunks/vendor-DaOifQgP.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-C75omt8Y.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__9f728ed2", X = "formFieldMaskedInputPlaceholder__9d9c868f", Y = "formFieldMaskedInput__14b6cb13", 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__020bff39",
|
|
12
|
+
"size-md": "size-md__08566804",
|
|
13
|
+
"size-lg": "size-lg__f9ec4132",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
17
|
-
forwardedRef:
|
|
17
|
+
forwardedRef: f,
|
|
18
18
|
mask: o,
|
|
19
|
-
onChange:
|
|
19
|
+
onChange: d,
|
|
20
20
|
placeholder: g,
|
|
21
21
|
placeholderChar: n = "0",
|
|
22
22
|
placeholderMask: u,
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x, y] = $(""), c = L(!1), { valueExist: z, focused:
|
|
26
|
+
const [x, y] = $(""), c = L(!1), { valueExist: z, focused: b, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
28
|
y((() => {
|
|
29
29
|
let t = [];
|
|
@@ -40,12 +40,12 @@ const Q = "formFieldMaskedInputWrapper__10114938", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, u]);
|
|
43
|
-
const
|
|
43
|
+
const E = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
c.current = !1, s !== t && (
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
|
-
[s,
|
|
48
|
+
[s, d]
|
|
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) => {
|
|
@@ -59,9 +59,9 @@ const Q = "formFieldMaskedInputWrapper__10114938", X = "formFieldMaskedInputPlac
|
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
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
|
-
t && e(t), typeof
|
|
63
|
-
}, j = () => !z && !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
62
|
+
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
+
}, j = () => !z && !b || !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,7 +83,7 @@ const Q = "formFieldMaskedInputWrapper__10114938", 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:
|
|
86
|
+
onChange: E,
|
|
87
87
|
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-DaOifQgP.js";
|
|
5
|
+
const P = "formFieldPostfix__bec4dd3a", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = l.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
9
|
-
const f =
|
|
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__f661587b", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPostfix";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor-DaOifQgP.js";
|
|
5
|
+
const P = "formFieldPrefix__483137fc", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s =
|
|
9
|
+
const s = a(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(p), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
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, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPrefix";
|