@sberbusiness/triplex-next 1.6.1 → 1.7.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-Ce_8Yuvv.js +39 -0
- package/chunks/{CalendarViewItem-BoFDPLNT.js → CalendarViewItem-BDMvwpK5.js} +17 -17
- package/chunks/Card.module-BvlTqE5R.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +11 -0
- package/chunks/{Chip-C91-I9zb.js → Chip-eRAmMCbK.js} +5 -5
- package/chunks/Confirm.module-BQvs_z36.js +15 -0
- package/chunks/{DropdownListItem-PbfrmOZJ.js → DropdownListItem-DjvVx10v.js} +18 -18
- package/chunks/DropdownMobile.module-CEPFt9uH.js +21 -0
- package/chunks/Footer.module-CXnDx0Qq.js +9 -0
- package/chunks/{FormFieldInput-BL8yYnKo.js → FormFieldInput-Dc0f4nno.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +9 -0
- package/chunks/HeaderTabs.module-T3W10WU8.js +9 -0
- package/chunks/{HeaderTitle.module-29jwPQr2.js → HeaderTitle.module-B6qQsh69.js} +2 -2
- package/chunks/IslandAccordion.module-DoM2x4VR.js +26 -0
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +9 -0
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +9 -0
- package/chunks/{LightBoxContent-D9VFXK17.js → LightBoxContent--MHZ9Gkl.js} +14 -14
- package/chunks/LightBoxControls.module-C3_q74nl.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +8 -0
- package/chunks/{ListItemControlsButton-DnuVSFV7.js → ListItemControlsButton-CDyUDFUr.js} +5 -5
- package/chunks/ListItemTail.module-DYbacvAR.js +12 -0
- package/chunks/ListMasterFooter.module-ghOvyA19.js +10 -0
- package/chunks/ModalWindow.module-CvIIBPzJ.js +17 -0
- package/chunks/Notification.module-DrKXO_L0.js +21 -0
- package/chunks/Overlay.module-B4exkEG2.js +18 -0
- package/chunks/Page.module-CvSterCP.js +11 -0
- package/chunks/{RightBorderArrow-esMRIv7g.js → RightBorderArrow-B-QGBlRY.js} +8 -8
- package/chunks/SMSInput.module-DkPfMZWv.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +15 -0
- package/chunks/SliderExtendedRail-VV02EHbt.js +40 -0
- package/chunks/StatusTracker.module-BzVEt7sh.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CpoZIQ7a.js → SuggestFieldMobileDropdownHint-CW9LKnIb.js} +4 -4
- package/chunks/TableFooter.module-DKNnDtzT.js +14 -0
- package/chunks/TabsExtended.module-BQKnCc6i.js +16 -0
- package/chunks/TabsLine.module-Cr-x0ll4.js +23 -0
- package/chunks/TooltipDesktop.module-D3epe_HW.js +19 -0
- package/chunks/{TooltipMobileCloseButton-Bdw8P_WT.js → TooltipMobileCloseButton-BCyljTIq.js} +7 -7
- package/chunks/TreeView.module-BXfRfHL4.js +9 -0
- package/chunks/{UploadZoneInput-Cr1wEu6A.js → UploadZoneInput-DNhfVDyP.js} +5 -5
- package/chunks/{utils-GixgRYNn.js → utils-BY1yN3Hq.js} +9 -9
- package/chunks/{utils-DpVkLh52.js → utils-BtnGErpx.js} +4 -4
- package/chunks/utils-CR8DYAi0.js +73 -0
- package/chunks/{utils-PII_juCp.js → utils-D9oDaQiI.js} +7 -7
- package/chunks/utils-DQX5JZ_3.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +2 -2
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +14 -14
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +6 -6
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +3 -3
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +19 -19
- 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 +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +15 -15
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +31 -31
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +6 -5
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +62 -65
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +1 -1
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +5 -5
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- package/components/Notification/Notification.js +2 -2
- 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 +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- 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 +5 -5
- package/components/OrderedList/OrderedListItem.js +10 -10
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +4 -4
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +3 -3
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +13 -13
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +8 -8
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +12 -12
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +2 -2
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- 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 +1 -1
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +23 -23
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +15 -15
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +14 -14
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +4 -4
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +559 -528
- package/index.d.ts +266 -21
- package/index.js +410 -363
- package/package.json +9 -1
- package/styles/triplex-next.css +529 -527
- package/utils/index.js +30 -0
- package/chunks/AlertProcessSpoiler-Dq0fm-3a.js +0 -39
- package/chunks/Card.module-xUBtHcBW.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CzX04UVi.js +0 -11
- package/chunks/Confirm.module-yvrei2lL.js +0 -15
- package/chunks/DropdownMobile.module-CvDbPL9W.js +0 -21
- package/chunks/Footer.module-Kij9_qbS.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPvbS61i.js +0 -9
- package/chunks/HeaderTabs.module-xhlfJ1R9.js +0 -9
- package/chunks/IslandAccordion.module-C7SBNJJJ.js +0 -26
- package/chunks/LightBoxControls.module-C76N_yWS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CwTd-n3M.js +0 -8
- package/chunks/ListItemTail.module-DE8OWHba.js +0 -12
- package/chunks/ListMasterFooter.module-FTLh0QAQ.js +0 -10
- package/chunks/ModalWindow.module-C7N9wjxW.js +0 -17
- package/chunks/Notification.module-ByRBfuR2.js +0 -21
- package/chunks/Overlay.module-EIMAbb4c.js +0 -18
- package/chunks/Page.module-BokYwJr5.js +0 -12
- package/chunks/SMSInput.module-5r7uaeim.js +0 -16
- package/chunks/SliderExtendedMarks.module-D1DTVGpV.js +0 -15
- package/chunks/SliderExtendedRail-Ck23Ui6E.js +0 -40
- package/chunks/StatusTracker.module-D1-siBfk.js +0 -24
- package/chunks/TableFooter.module-D8h1OLCP.js +0 -14
- package/chunks/TabsExtended.module-Dvvx9orv.js +0 -16
- package/chunks/TabsLine.module-BW1667el.js +0 -23
- package/chunks/TooltipDesktop.module-E3qNKUvc.js +0 -19
- package/chunks/TreeView.module-CKfLtgeC.js +0 -9
- package/chunks/utils-BGuB8cgl.js +0 -73
- package/chunks/utils-BJhZJ9SO.js +0 -24
- package/components/Body/enums.js +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
4
|
+
import { s } from "../../../chunks/DropdownMobile.module-CEPFt9uH.js";
|
|
5
5
|
const f = m.forwardRef(
|
|
6
6
|
({ children: e, className: a, closeButton: r, ...d }, o) => /* @__PURE__ */ i("div", { className: p(s.dropdownMobileHeader, a), ref: o, ...d, children: [
|
|
7
7
|
e,
|
|
@@ -2,7 +2,7 @@ import { jsxs as j, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import y, { useState as l, useEffect as d } from "react";
|
|
3
3
|
import { c as n } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { useToken as B } from "../../ThemeProvider/useToken.js";
|
|
5
|
-
import { s as e } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as e } from "../../../chunks/DropdownMobile.module-CEPFt9uH.js";
|
|
6
6
|
const C = y.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: f,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
dropdownMobileInput:
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const e = "dropdownMobileInput__4686a330", i = {
|
|
5
|
+
dropdownMobileInput: e
|
|
6
6
|
}, l = r.forwardRef(
|
|
7
|
-
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className:
|
|
7
|
+
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className: d(i.dropdownMobileInput, o), ...p, ref: t })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "DropdownMobileInput";
|
|
10
10
|
export {
|
|
@@ -6,7 +6,7 @@ import { LoaderSmall as f } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
6
6
|
import { ELoaderSmallTheme as c } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
8
|
import { EComponentSize as L } from "../../../enums/EComponentSize.js";
|
|
9
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
9
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-CEPFt9uH.js";
|
|
10
10
|
const b = a.forwardRef(
|
|
11
11
|
({ children: e, className: i, loading: m, ...t }, s) => {
|
|
12
12
|
const d = () => /* @__PURE__ */ o(n, { id: "dropdown-mobile-list-loader-item", children: /* @__PURE__ */ o(
|
|
@@ -3,7 +3,7 @@ import l from "react";
|
|
|
3
3
|
import { c as x } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { Text as w } from "../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as b } from "../../Typography/enums.js";
|
|
6
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s } from "../../../chunks/DropdownMobile.module-CEPFt9uH.js";
|
|
7
7
|
const y = l.forwardRef(
|
|
8
8
|
({ children: o, className: e, id: B, onClick: t, onSelect: r, selected: i, ...m }, a) => {
|
|
9
9
|
const p = (d) => {
|
|
@@ -4,7 +4,7 @@ import { LoaderSmall as t } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
|
4
4
|
import { ELoaderSmallTheme as i } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s } from "../../../chunks/DropdownMobile.module-CEPFt9uH.js";
|
|
8
8
|
const x = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__2daef760", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: e, ...s }) => /* @__PURE__ */ d(o, { className: p(r.dropdownMobileMaskedInput, e), ...s });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "ellipsisLineClamp__3d3939e5", r = "oneLine__58ff5a25", e = {
|
|
5
5
|
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, f = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines: s, className: l, ...
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...n }, a) => {
|
|
9
9
|
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
className: o,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
|
-
...
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
15
|
+
...n,
|
|
16
|
+
"data-tx": "1.7.0",
|
|
17
|
+
ref: a,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { E as
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as E } from "react";
|
|
3
|
+
import { E as U, c as j } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const F = "expandAnimation__6127b8cf", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: A,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: x = L,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
17
|
+
}, f) => {
|
|
18
18
|
const m = E({
|
|
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
|
-
}),
|
|
24
|
+
}), l = E(null), w = (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
|
}, H = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
|
-
|
|
33
|
-
},
|
|
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
|
+
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, D = (c) => {
|
|
37
|
+
l.current = c, typeof f == "function" ? f(c) : f && (f.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
44
|
-
nodeRef:
|
|
43
|
+
timeout: x,
|
|
44
|
+
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: b,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: j(I.expandAnimation, A),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: x + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: D,
|
|
61
61
|
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.7.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -3,7 +3,7 @@ import s from "react";
|
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-CXnDx0Qq.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, 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
3
|
import { c as m } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-CXnDx0Qq.js";
|
|
5
5
|
const a = 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
3
|
import { c as m } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-CXnDx0Qq.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -5,56 +5,56 @@ import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
|
5
5
|
import { c as I } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
6
|
import { EFormFieldStatus as r } from "./enums.js";
|
|
7
7
|
import { EComponentSize as N } from "../../enums/EComponentSize.js";
|
|
8
|
-
const P = "
|
|
8
|
+
const P = "formField__1f658114", S = "disabled__c491fccc", T = "active__1c9ebc5f", L = "error__4f23773b", u = "warning__c276f15d", i = {
|
|
9
9
|
formField: P,
|
|
10
10
|
disabled: S,
|
|
11
11
|
active: T,
|
|
12
12
|
error: L,
|
|
13
13
|
warning: u,
|
|
14
|
-
"size-sm": "size-
|
|
15
|
-
"size-md": "size-
|
|
16
|
-
"size-lg": "size-
|
|
14
|
+
"size-sm": "size-sm__ef195191",
|
|
15
|
+
"size-md": "size-md__61e63eda",
|
|
16
|
+
"size-lg": "size-lg__2b7c9f63"
|
|
17
17
|
}, V = ({
|
|
18
18
|
children: p,
|
|
19
19
|
className: F,
|
|
20
20
|
status: t = r.DEFAULT,
|
|
21
|
-
onMouseEnter:
|
|
22
|
-
onMouseLeave:
|
|
21
|
+
onMouseEnter: s,
|
|
22
|
+
onMouseLeave: o,
|
|
23
23
|
style: x,
|
|
24
|
-
size:
|
|
24
|
+
size: c = N.LG,
|
|
25
25
|
...g
|
|
26
26
|
}) => {
|
|
27
|
-
const [
|
|
28
|
-
|
|
29
|
-
}, w = (
|
|
30
|
-
|
|
27
|
+
const [f, h] = e(!1), [v, l] = e(!1), [b, z] = e(""), [m, E] = e(_), [a, A] = e(_), [D, R] = e(!1), W = (d) => {
|
|
28
|
+
l(!0), s == null || s(d);
|
|
29
|
+
}, w = (d) => {
|
|
30
|
+
l(!1), o == null || o(d);
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ n(
|
|
33
33
|
G.Provider,
|
|
34
34
|
{
|
|
35
35
|
value: {
|
|
36
36
|
status: t,
|
|
37
|
-
focused:
|
|
37
|
+
focused: f,
|
|
38
38
|
hovered: v,
|
|
39
39
|
id: b,
|
|
40
|
-
postfixWidth:
|
|
41
|
-
prefixWidth:
|
|
40
|
+
postfixWidth: m,
|
|
41
|
+
prefixWidth: a,
|
|
42
42
|
setFocused: h,
|
|
43
43
|
setId: z,
|
|
44
44
|
setPostfixWidth: E,
|
|
45
45
|
setPrefixWidth: A,
|
|
46
46
|
setValueExist: R,
|
|
47
47
|
valueExist: D,
|
|
48
|
-
size:
|
|
48
|
+
size: c
|
|
49
49
|
},
|
|
50
50
|
children: /* @__PURE__ */ n(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: I(
|
|
54
54
|
i.formField,
|
|
55
|
-
i[`size-${
|
|
55
|
+
i[`size-${c}`],
|
|
56
56
|
{
|
|
57
|
-
[i.active]:
|
|
57
|
+
[i.active]: f,
|
|
58
58
|
[i.disabled]: t === r.DISABLED,
|
|
59
59
|
[i.error]: t === r.ERROR,
|
|
60
60
|
[i.warning]: t === r.WARNING
|
|
@@ -63,8 +63,8 @@ const P = "formField__8dc69e80", S = "disabled__8d56edd6", T = "active__b017073e
|
|
|
63
63
|
),
|
|
64
64
|
onMouseEnter: W,
|
|
65
65
|
onMouseLeave: w,
|
|
66
|
-
"data-tx": "1.
|
|
67
|
-
style: { paddingLeft:
|
|
66
|
+
"data-tx": "1.7.0",
|
|
67
|
+
style: { paddingLeft: a, paddingRight: m, ...x },
|
|
68
68
|
...g,
|
|
69
69
|
children: p
|
|
70
70
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import n, { useContext as F } from "react";
|
|
3
3
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.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 _ = "
|
|
8
|
+
const _ = "formFieldClear__e6d2ff3c", v = "hidden__ff090af5", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
|
-
hidden:
|
|
11
|
-
},
|
|
12
|
-
({ className: l, onMouseDown: e, ...
|
|
13
|
-
const { status: m, focused: s, hovered: i, valueExist:
|
|
10
|
+
hidden: v
|
|
11
|
+
}, I = n.forwardRef(
|
|
12
|
+
({ className: l, onMouseDown: e, ...d }, a) => {
|
|
13
|
+
const { status: m, focused: s, hovered: i, valueExist: f } = F(C), c = p(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
|
-
[t.hidden]: !
|
|
17
|
+
[t.hidden]: !f || m === u.DISABLED || !(s || i)
|
|
18
18
|
},
|
|
19
19
|
l
|
|
20
20
|
);
|
|
21
21
|
return /* @__PURE__ */ o(x, { className: c, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...d, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
|
-
|
|
26
|
+
I.displayName = "FormFieldClear";
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
I as FormFieldClear
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=FormFieldClear.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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__a2f63c05", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
10
|
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
f as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -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
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__1df6421b", p = "withCounter__6a93cea5", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
8
|
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
4
|
import "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-Dc0f4nno.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as f } from "../consts.js";
|
|
5
5
|
import { o as D, c as N } from "../../../chunks/vendor-D3hUOusX.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__a272a85f", R = "floating__4e92eb9c", S = "formFieldLabelText__41cca717", C = "disabled__c491fccc", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__ef195191",
|
|
10
|
+
"size-md": "size-md__61e63eda",
|
|
11
|
+
"size-lg": "size-lg__2b7c9f63",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
16
|
+
({ children: m, className: r, style: c, floating: e, ...n }, F) => {
|
|
17
17
|
const { status: _, focused: t, id: b, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
19
|
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
@@ -28,12 +28,12 @@ const A = "formFieldLabel__217151de", R = "floating__3a33c27e", S = "formFieldLa
|
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || f,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
33
|
+
right: x || f,
|
|
34
34
|
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: b, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: b, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: m }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -2,18 +2,18 @@ import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as O, useRef as q, useContext as A, useEffect as B, useCallback as D } from "react";
|
|
3
3
|
import { c as F, q as U, s as p } from "../../../chunks/vendor-D3hUOusX.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-Dc0f4nno.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__7a0aed6e", Q = "formFieldMaskedInputPlaceholder__a174863c", X = "formFieldMaskedInput__02926aca", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__ef195191",
|
|
11
|
+
"size-md": "size-md__61e63eda",
|
|
12
|
+
"size-lg": "size-lg__2b7c9f63",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
|
-
},
|
|
14
|
+
}, a = ({
|
|
15
15
|
className: I,
|
|
16
|
-
forwardedRef:
|
|
16
|
+
forwardedRef: f,
|
|
17
17
|
disabled: g,
|
|
18
18
|
mask: o,
|
|
19
19
|
onChange: d,
|
|
@@ -23,7 +23,7 @@ const L = "formFieldMaskedInputWrapper__f29ce0f3", Q = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
..._
|
|
25
25
|
}) => {
|
|
26
|
-
const [V, x] = O(""),
|
|
26
|
+
const [V, x] = O(""), c = q(!1), { valueExist: y, focused: z, size: k } = A(K);
|
|
27
27
|
B(() => {
|
|
28
28
|
x((() => {
|
|
29
29
|
let t = [];
|
|
@@ -43,31 +43,31 @@ const L = "formFieldMaskedInputWrapper__f29ce0f3", Q = "formFieldMaskedInputPlac
|
|
|
43
43
|
const T = D(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
50
|
-
|
|
51
|
-
},
|
|
49
|
+
), E = () => {
|
|
50
|
+
c.current = !0;
|
|
51
|
+
}, W = (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
|
-
if (
|
|
53
|
+
if (c.current) {
|
|
54
54
|
let n = /^[78]((\D*\d)*)/;
|
|
55
|
-
e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y,
|
|
55
|
+
e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y, b) => b), `+7 (${r}`));
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
57
57
|
return {
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: i }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
},
|
|
62
|
-
t && e(t), typeof
|
|
63
|
-
},
|
|
64
|
-
return /* @__PURE__ */ N("div", { className: F(
|
|
61
|
+
}, j = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, S = (e) => (t) => {
|
|
62
|
+
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
+
}, $ = () => !y && !z || !s && M ? "" : V;
|
|
64
|
+
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
68
|
-
className: F(H.formFieldInput,
|
|
68
|
+
className: F(H.formFieldInput, l.formFieldMaskedInputPlaceholder, I),
|
|
69
69
|
disabled: g,
|
|
70
|
-
placeholder:
|
|
70
|
+
placeholder: $(),
|
|
71
71
|
readOnly: !0,
|
|
72
72
|
"aria-hidden": "true",
|
|
73
73
|
tabIndex: -1,
|
|
@@ -77,25 +77,25 @@ const L = "formFieldMaskedInputWrapper__f29ce0f3", Q = "formFieldMaskedInputPlac
|
|
|
77
77
|
/* @__PURE__ */ m(
|
|
78
78
|
U,
|
|
79
79
|
{
|
|
80
|
-
className: F(
|
|
80
|
+
className: F(l.formFieldMaskedInput, { [l.error]: !!_.error }, I),
|
|
81
81
|
defaultValue: "",
|
|
82
82
|
disabled: g,
|
|
83
83
|
guide: !1,
|
|
84
|
-
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref:
|
|
84
|
+
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: S(e) }),
|
|
85
85
|
mask: o,
|
|
86
86
|
onChange: T,
|
|
87
|
-
onPaste:
|
|
87
|
+
onPaste: E,
|
|
88
88
|
placeholderChar: i,
|
|
89
|
-
value:
|
|
90
|
-
pipe:
|
|
89
|
+
value: j(),
|
|
90
|
+
pipe: W,
|
|
91
91
|
type: "text",
|
|
92
92
|
..._
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
a.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
a as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import l, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPostfix__f05a4d90", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = l.forwardRef(
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
8
|
+
({ children: s, className: f, ...i }, o) => {
|
|
9
|
+
const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */ d("span", { className:
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: r, ref: m, ...i, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -2,11 +2,11 @@ import { jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
4
|
import { c as p } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPrefix__c0112741", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
|
-
({ children: o, className:
|
|
9
|
-
const s = p(R.formFieldPrefix,
|
|
8
|
+
({ children: o, className: i, ...f }, r) => {
|
|
9
|
+
const s = p(R.formFieldPrefix, i), { 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__502f9261", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|