@sberbusiness/triplex-next 0.10.0 → 0.12.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 +6 -0
- package/chunks/AlertProcessSpoiler-SFMiAq2e.js +39 -0
- package/chunks/{CalendarViewItem-CNP7C3l_.js → CalendarViewItem-B7_R_3t_.js} +19 -19
- package/chunks/Card.module-B8eF0PyT.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BL2GvhSW.js +11 -0
- package/chunks/{Chip-DaFItkIp.js → Chip-BiNNkTCM.js} +14 -14
- package/chunks/Confirm.module-DtGkChdz.js +15 -0
- package/chunks/{DropdownListItem-lbLsbKwC.js → DropdownListItem-BxEqWaJ8.js} +19 -19
- package/chunks/DropdownMobile.module-hCX_8o3O.js +23 -0
- package/chunks/Footer.module-CmBv6U70.js +9 -0
- package/chunks/{FormFieldInput-BoG8X8Sc.js → FormFieldInput-B4hNuHJx.js} +9 -9
- package/chunks/HeaderLayoutSidebar.module-72lLZguP.js +9 -0
- package/chunks/HeaderTabs.module-Cg4Skmf_.js +9 -0
- package/chunks/{HeaderTitle.module-r9kVKK-W.js → HeaderTitle.module-DlNyNird.js} +2 -2
- package/chunks/IslandAccordion.module-CASKTyF5.js +25 -0
- package/chunks/IslandWidgetFooter.module-BOmbhSZq.js +9 -0
- package/chunks/IslandWidgetHeader.module-Bb1VehSy.js +9 -0
- package/chunks/{LightBoxContent-3M4bOnUh.js → LightBoxContent-DBZCrC3l.js} +11 -11
- package/chunks/LightBoxControls.module-Bd3m7ZxT.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BOo9E8eM.js +8 -0
- package/chunks/{ListItemControlsButton-rF_5JaM-.js → ListItemControlsButton-B7xM1V5l.js} +10 -10
- package/chunks/ListItemTail.module-Cc6Q6gR8.js +12 -0
- package/chunks/ListMasterFooter.module-CPTvVSEg.js +10 -0
- package/chunks/ModalWindow.module-Cjfs_3lX.js +17 -0
- package/chunks/Notification.module-DRNzc662.js +21 -0
- package/chunks/Overlay.module-CyE4VM64.js +18 -0
- package/chunks/Page.module-CiiwZIG0.js +11 -0
- package/chunks/{RightBorderArrow-C1vPwzXO.js → RightBorderArrow-qUNK7k_Z.js} +12 -12
- package/chunks/SMSField.module-Df8IlNx3.js +16 -0
- package/chunks/SliderExtendedMarks.module-C3yroPQo.js +15 -0
- package/chunks/{SliderExtendedRail-Bw4p-kLW.js → SliderExtendedRail-fxB35VnJ.js} +10 -10
- package/chunks/StatusTracker.module-C3dx5TPW.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Ciw5Nm9X.js → SuggestFieldMobileDropdownHint-BRLUCupu.js} +2 -2
- package/chunks/TableFooter.module-CJATQpk2.js +14 -0
- package/chunks/TabsExtended.module-mbk25DHy.js +16 -0
- package/chunks/TabsLine.module-eLr2Qyu1.js +21 -0
- package/chunks/TooltipDesktop.module-D4l2yNW-.js +19 -0
- package/chunks/TreeView.module-BZTj2oze.js +9 -0
- package/chunks/UploadZoneInput-ZvLsxymO.js +35 -0
- package/chunks/utils-CkEbPHhV.js +73 -0
- package/chunks/{utils-CxR_OPBn.js → utils-D3BbfI4I.js} +8 -8
- package/chunks/{utils-Ql50x949.js → utils-Kc2jGbAd.js} +8 -8
- package/chunks/utils-bltVmJ1Y.js +24 -0
- package/chunks/{utils-DTmo2xHF.js → utils-pT3qplA1.js} +5 -5
- package/chunks/{vendor-BlJo2ILB.js → vendor-BARd5eYq.js} +5008 -5131
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +48 -40
- package/components/Body/Body.js +5 -5
- 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 +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +7 -7
- 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 +9 -9
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- 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 +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- 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/DateField/DateField.js +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +10 -10
- package/components/DateRange/DateRange.js +10 -10
- package/components/DateRange/index.js +7 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +90 -95
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -97
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/DesignTokens/components/index.js +153 -156
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +13 -13
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +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 +2 -2
- 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 +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +5 -5
- 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 +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +6 -7
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +92 -98
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +10 -10
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- 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 +7 -7
- package/components/LightBox/LightBox.js +19 -19
- 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 +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +5 -5
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +32 -24
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +25 -25
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +11 -11
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +7 -7
- 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 +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- 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 +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +12 -12
- 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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +23 -23
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TopOverlay/TopOverlay.js +23 -23
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +28 -28
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +18 -18
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +110 -98
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +209 -207
- package/consts/DateConst.js +1 -1
- package/index.d.ts +73 -55
- package/index.js +269 -267
- package/package.json +5 -1
- package/styles/triplex-next.css +533 -535
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BthiLiMe.js +0 -39
- package/chunks/Card.module-BxAU0ct3.js +0 -17
- package/chunks/CheckboxTreeExtended.module-8H0Dgq8c.js +0 -11
- package/chunks/Confirm.module-BaXVkVHJ.js +0 -15
- package/chunks/DropdownMobile.module-kHpY8q0l.js +0 -23
- package/chunks/Footer.module-BZTAlpWH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Bbxhh0aE.js +0 -9
- package/chunks/HeaderTabs.module-Bo3HPBP_.js +0 -9
- package/chunks/IslandAccordion.module-r5TKHc-1.js +0 -25
- package/chunks/IslandWidgetFooter.module-DANV-WDZ.js +0 -9
- package/chunks/IslandWidgetHeader.module-D9N9d8U0.js +0 -9
- package/chunks/LightBoxControls.module-C1sKSbiw.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-H2K8IoVH.js +0 -8
- package/chunks/ListItemTail.module-rBxpoSGQ.js +0 -12
- package/chunks/ListMasterFooter.module-CjjTF28N.js +0 -10
- package/chunks/ModalWindow.module-BJWhs2p-.js +0 -17
- package/chunks/Notification.module-CoXNIHHx.js +0 -21
- package/chunks/Overlay.module-DqeHrg4k.js +0 -18
- package/chunks/Page.module-JyadpNMJ.js +0 -11
- package/chunks/SMSField.module-BR0BSWtJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-DyfiF83O.js +0 -15
- package/chunks/StatusTracker.module-BzdhWkFm.js +0 -24
- package/chunks/TableFooter.module-BRn2cKAx.js +0 -14
- package/chunks/TabsExtended.module-DW52Fxa9.js +0 -16
- package/chunks/TabsLine.module-Do3KfZpp.js +0 -21
- package/chunks/TooltipDesktop.module-B10Gb93w.js +0 -19
- package/chunks/TreeView.module-oFkxX2oe.js +0 -9
- package/chunks/UploadZoneInput-CQ9bTi-y.js +0 -33
- package/chunks/utils-BHK9pmFJ.js +0 -73
- package/chunks/utils-DbKLiLdh.js +0 -24
- package/components/DesignTokens/components/AmountField.js +0 -11
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-BARd5eYq.js";
|
|
3
3
|
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-hCX_8o3O.js";
|
|
8
8
|
const S = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "../../../chunks/vendor-
|
|
2
|
+
import { c as p } from "../../../chunks/vendor-BARd5eYq.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__a7c062dd", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
6
|
}, n = ({ className: s, ...e }) => /* @__PURE__ */ d(o, { className: p(r.dropdownMobileMaskedInput, s), ...e });
|
|
7
7
|
n.presets = o.presets;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
const c = "
|
|
3
|
+
import { c as m } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const c = "ellipsisLineClamp__72e85122", r = "oneLine__a663594d", e = {
|
|
5
5
|
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
|
-
},
|
|
8
|
-
({ children:
|
|
9
|
-
const p = m(
|
|
7
|
+
}, L = t.forwardRef(
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...n }, o) => {
|
|
9
|
+
const p = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ a(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
13
|
className: p,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "0.
|
|
16
|
+
"data-tx": "0.12.0",
|
|
17
17
|
ref: o,
|
|
18
|
-
children:
|
|
18
|
+
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
L.displayName = "Ellipsis";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
L as Ellipsis
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Ellipsis.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { A as
|
|
4
|
-
const F = "
|
|
2
|
+
import U, { useRef as A } from "react";
|
|
3
|
+
import { A as b, c as j } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
|
+
const F = "expandAnimation__eea81045", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = U.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
11
|
animationTime: f = L,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
...w
|
|
@@ -21,32 +21,32 @@ const F = "expandAnimation__fd23bbe7", I = {
|
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}),
|
|
24
|
+
}), l = A(null), H = (c) => {
|
|
25
25
|
var u;
|
|
26
|
-
|
|
27
|
-
},
|
|
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
|
+
}, T = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
|
-
}, T = () => {
|
|
31
|
-
var c;
|
|
32
|
-
d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
30
|
}, _ = () => {
|
|
31
|
+
var c;
|
|
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
|
+
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, N = (c) => {
|
|
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,
|
|
44
|
-
nodeRef:
|
|
44
|
+
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
|
-
onEnter:
|
|
47
|
-
onEntered:
|
|
48
|
-
onExit:
|
|
49
|
-
onExited:
|
|
46
|
+
onEnter: H,
|
|
47
|
+
onEntered: T,
|
|
48
|
+
onExit: _,
|
|
49
|
+
onExited: D,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
@@ -57,7 +57,7 @@ const F = "expandAnimation__fd23bbe7", I = {
|
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
...w,
|
|
60
|
-
ref:
|
|
60
|
+
ref: N,
|
|
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
|
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.12.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-BARd5eYq.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-CmBv6U70.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-BARd5eYq.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-CmBv6U70.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-BARd5eYq.js";
|
|
4
|
+
import { s as p } from "../../../chunks/Footer.module-CmBv6U70.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,60 +1,60 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as e } from "react";
|
|
3
|
-
import { c as G } from "../../chunks/vendor-
|
|
3
|
+
import { c as G } from "../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { FormFieldContext as I } from "./FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.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__ffa2fb5c", S = "disabled__9d8bbe79", T = "active__7219c638", L = "error__6f2eb46a", u = "warning__db655c9c", 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__76001a4c",
|
|
15
|
+
"size-md": "size-md__3d3e3831",
|
|
16
|
+
"size-lg": "size-lg__06136412"
|
|
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:
|
|
25
|
-
...
|
|
24
|
+
size: c = N.LG,
|
|
25
|
+
...b
|
|
26
26
|
}) => {
|
|
27
|
-
const [
|
|
28
|
-
l(!0),
|
|
29
|
-
}, w = (
|
|
30
|
-
l(!1),
|
|
27
|
+
const [a, g] = e(!1), [h, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [f, 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
|
I.Provider,
|
|
34
34
|
{
|
|
35
35
|
value: {
|
|
36
36
|
status: t,
|
|
37
|
-
focused:
|
|
38
|
-
hovered:
|
|
37
|
+
focused: a,
|
|
38
|
+
hovered: h,
|
|
39
39
|
id: v,
|
|
40
40
|
postfixWidth: m,
|
|
41
41
|
prefixWidth: f,
|
|
42
|
-
setFocused:
|
|
42
|
+
setFocused: g,
|
|
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: G(
|
|
54
54
|
i.formField,
|
|
55
|
-
i[`size-${
|
|
55
|
+
i[`size-${c}`],
|
|
56
56
|
{
|
|
57
|
-
[i.active]:
|
|
57
|
+
[i.active]: a,
|
|
58
58
|
[i.disabled]: t === r.DISABLED,
|
|
59
59
|
[i.error]: t === r.ERROR,
|
|
60
60
|
[i.warning]: t === r.WARNING
|
|
@@ -63,9 +63,9 @@ const P = "formField__5e9a8885", S = "disabled__44b08295", T = "active__d43d990b
|
|
|
63
63
|
),
|
|
64
64
|
onMouseEnter: W,
|
|
65
65
|
onMouseLeave: w,
|
|
66
|
-
"data-tx": "0.
|
|
66
|
+
"data-tx": "0.12.0",
|
|
67
67
|
style: { paddingLeft: f, paddingRight: m, ...x },
|
|
68
|
-
...
|
|
68
|
+
...b,
|
|
69
69
|
children: p
|
|
70
70
|
}
|
|
71
71
|
)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as f } from "../../../chunks/vendor-
|
|
2
|
+
import c, { useContext as n } from "react";
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-BARd5eYq.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as F } from "@sberbusiness/icons-next";
|
|
5
5
|
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
7
|
import { ButtonIcon as h } from "../../Button/ButtonIcon.js";
|
|
8
|
-
const x = "
|
|
8
|
+
const x = "formFieldClear__dc9abfc2", u = "hidden__23eea42a", t = {
|
|
9
9
|
formFieldClear: x,
|
|
10
10
|
hidden: u
|
|
11
|
-
},
|
|
12
|
-
({ className:
|
|
13
|
-
const { status: s, valueExist: d } =
|
|
11
|
+
}, I = c.forwardRef(
|
|
12
|
+
({ className: a, onMouseDown: e, ...l }, m) => {
|
|
13
|
+
const { status: s, valueExist: d } = n(p), i = f(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
17
|
[t.hidden]: !d || s === C.DISABLED
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
a
|
|
20
20
|
);
|
|
21
21
|
return /* @__PURE__ */ o(h, { className: i, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...l, ref: m, children: /* @__PURE__ */ o(F, { 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__67a4d692", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, d = ({ 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
|
+
d.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
d as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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-BARd5eYq.js";
|
|
4
|
+
import { FormFieldDescriptionContext as c } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__61eaa999", p = "withCounter__5549626a", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
},
|
|
8
|
+
}, a = ({ children: e, ...r }) => {
|
|
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 }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
a.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
a as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -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-BARd5eYq.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-B4hNuHJx.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -2,26 +2,26 @@ 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
4
|
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
-
import { n as D, c as N } from "../../../chunks/vendor-
|
|
5
|
+
import { n as D, c as N } from "../../../chunks/vendor-BARd5eYq.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__983e3f9d", R = "floating__f65e9f37", S = "formFieldLabelText__c94d9341", C = "disabled__9d8bbe79", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__76001a4c",
|
|
10
|
+
"size-md": "size-md__3d3e3831",
|
|
11
|
+
"size-lg": "size-lg__06136412",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children: f, className: r, style:
|
|
17
|
-
const { status:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, F) => {
|
|
17
|
+
const { status: b, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: o } = T(h), [l, a] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
19
|
!D(e) && e !== l ? a(e) : e !== l && a(t || o);
|
|
20
20
|
}, [t, o, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
|
-
[s.disabled]:
|
|
24
|
+
[s.disabled]: b === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
26
|
[s[`size-${i}`]]: i
|
|
27
27
|
},
|
|
@@ -31,9 +31,9 @@ const A = "formFieldLabel__8bb37c5d", R = "floating__b4548b34", S = "formFieldLa
|
|
|
31
31
|
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
33
|
right: x || m,
|
|
34
|
-
...
|
|
34
|
+
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as q } from "react";
|
|
3
|
-
import { c as F, o as U, q as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, o as U, q as p } from "../../../chunks/vendor-BARd5eYq.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-B4hNuHJx.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__4fd4b4e8", X = "formFieldMaskedInputPlaceholder__1f33d2b7", Y = "formFieldMaskedInput__589829f2", 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__76001a4c",
|
|
12
|
+
"size-md": "size-md__3d3e3831",
|
|
13
|
+
"size-lg": "size-lg__06136412",
|
|
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,
|
|
@@ -40,15 +40,15 @@ const Q = "formFieldMaskedInputWrapper__21e9318d", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, u]);
|
|
43
|
-
const
|
|
43
|
+
const b = q(
|
|
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,
|
|
49
|
-
),
|
|
48
|
+
[s, d]
|
|
49
|
+
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, T = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -59,7 +59,7 @@ const Q = "formFieldMaskedInputWrapper__21e9318d", 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
|
|
62
|
+
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
64
|
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${E}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
@@ -83,11 +83,11 @@ const Q = "formFieldMaskedInputWrapper__21e9318d", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: b,
|
|
87
|
+
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: T,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import l, { useContext as x, useRef as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
2
|
+
import l, { 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-BARd5eYq.js";
|
|
5
|
+
const P = "formFieldPostfix__d3c1837f", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, h = l.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
9
|
-
const f =
|
|
9
|
+
const f = a(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(p), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-BARd5eYq.js";
|
|
5
|
+
const P = "formFieldPrefix__9a6ec864", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, h = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s =
|
|
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(() => {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as N, a as S } from "../../../chunks/vendor-
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
4
|
+
import { c as N, a as S } from "../../../chunks/vendor-BARd5eYq.js";
|
|
5
|
+
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__327ac650", L = "placeholder__cb276d04", W = "disabled__9d8bbe79", R = "placeholderWrapper__44cb1e6a", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__76001a4c",
|
|
11
|
+
"size-md": "size-md__3d3e3831",
|
|
12
|
+
"size-lg": "size-lg__06136412",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((F, _) => {
|
|
15
|
-
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...b } = F, { status: a, setFocused: p, setId:
|
|
16
|
-
[e.disabled]: a ===
|
|
17
|
-
[e.placeholder]: !!m && !s && a !==
|
|
18
|
-
}),
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...b } = F, { status: a, setFocused: p, setId: l, setValueExist: f, size: g } = E(B), z = N(e.formFieldTarget, h, e[`size-${g}`], {
|
|
16
|
+
[e.disabled]: a === d.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== d.DISABLED
|
|
18
|
+
}), t = T(r || S("formFieldTarget_"));
|
|
19
19
|
n(() => {
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
r && (
|
|
23
|
-
}, [r,
|
|
20
|
+
l(t.current);
|
|
21
|
+
}, [l]), n(() => {
|
|
22
|
+
r && (t.current = r, l(t.current));
|
|
23
|
+
}, [r, l]), n(() => {
|
|
24
24
|
f(!!s);
|
|
25
25
|
}, [f, s]);
|
|
26
26
|
const D = (i) => {
|
|
@@ -33,11 +33,11 @@ const A = "formFieldTarget__b0acece9", L = "placeholder__5c2671ed", W = "disable
|
|
|
33
33
|
{
|
|
34
34
|
...b,
|
|
35
35
|
className: z,
|
|
36
|
-
"aria-disabled": a ===
|
|
37
|
-
id:
|
|
36
|
+
"aria-disabled": a === d.DISABLED,
|
|
37
|
+
id: t.current,
|
|
38
38
|
onFocus: I,
|
|
39
39
|
onBlur: D,
|
|
40
|
-
tabIndex: a ===
|
|
40
|
+
tabIndex: a === d.DISABLED ? -1 : 0,
|
|
41
41
|
ref: _,
|
|
42
42
|
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
43
|
}
|