@sberbusiness/triplex-next 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-BG_kloAp.js +39 -0
- package/chunks/CalendarViewItem-CQQGgtHA.js +101 -0
- package/chunks/Card.module-D_9Nt5tA.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D7lKoA-a.js +14 -0
- package/chunks/{Chip-L-EcpRzH.js → Chip-D_XuO-fG.js} +12 -12
- package/chunks/Confirm.module-BFd_0tH_.js +15 -0
- package/chunks/{DropdownListItem-khM2CJWN.js → DropdownListItem-DzngoNVf.js} +16 -16
- package/chunks/DropdownMobile.module-Ct6WVB7d.js +23 -0
- package/chunks/Footer.module-Cz5Pu1VT.js +9 -0
- package/chunks/FormFieldInput-TbDWEJtn.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-Bce5gLLP.js +9 -0
- package/chunks/HeaderTabs.module-Bwx0AJwd.js +9 -0
- package/chunks/{HeaderTitle.module-Dmmc04q6.js → HeaderTitle.module-DVxCsuq0.js} +2 -2
- package/chunks/IslandAccordion.module-oqHSoL0z.js +25 -0
- package/chunks/IslandWidgetFooter.module-Bp7thdVi.js +9 -0
- package/chunks/IslandWidgetHeader.module-B2SJ3aL2.js +12 -0
- package/chunks/{LightBoxContent-CjX1eN8g.js → LightBoxContent-CY1Sxlp1.js} +10 -10
- package/chunks/LightBoxControls.module-CXoONiYm.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BeAPadn5.js +8 -0
- package/chunks/{ListItemControlsButton-OLK_OaQU.js → ListItemControlsButton-C55hc-cr.js} +8 -8
- package/chunks/ListItemTail.module-BlucpMEa.js +12 -0
- package/chunks/ListMasterFooter.module-D93cBp3m.js +10 -0
- package/chunks/ModalWindow.module-AO3qbtIE.js +17 -0
- package/chunks/Notification.module-3pjGHWYU.js +21 -0
- package/chunks/Overlay.module-yINooO_5.js +18 -0
- package/chunks/Page.module-fTNmaZZ6.js +11 -0
- package/chunks/{RightBorderArrow-DbiOM5xn.js → RightBorderArrow-D4dScyRx.js} +12 -12
- package/chunks/SMSField.module-D01Witvu.js +16 -0
- package/chunks/SliderExtendedMarks.module-BLyZ9qYi.js +15 -0
- package/chunks/SliderExtendedRail-Bgz2tkUx.js +40 -0
- package/chunks/StatusTracker.module-DPlTQG3M.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DWutbDoW.js → SuggestFieldMobileDropdownHint-CaLnhNmM.js} +4 -4
- package/chunks/TableFooter.module-zC8u9DwX.js +14 -0
- package/chunks/TabsExtended.module-C65aq0XO.js +16 -0
- package/chunks/TabsLine.module-B3O0egAv.js +21 -0
- package/chunks/TooltipDesktop.module-D1K6FcqB.js +19 -0
- package/chunks/TreeView.module-Vpz40gNk.js +9 -0
- package/chunks/UploadZoneInput-DxG_yQtm.js +33 -0
- package/chunks/constants-DAn1uZaw.js +57 -0
- package/chunks/{utils-tf6Rfsu7.js → utils-9tQwQbYj.js} +6 -6
- package/chunks/{utils-NV5e2Mzn.js → utils-D7Yx6kDI.js} +2 -2
- package/chunks/utils-DV0NGebi.js +24 -0
- package/chunks/utils-HLMbnICl.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- 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 +1 -1
- package/components/Avatar/Avatar.js +19 -19
- package/components/Badge/Badge.js +26 -13
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +30 -30
- 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 +6 -6
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +12 -12
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +7 -7
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +24 -24
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +12 -12
- 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 +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +22 -22
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +3 -3
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +15 -15
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +7 -7
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +9 -9
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +38 -37
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +8 -8
- package/components/IslandWidget/IslandWidget.js +16 -16
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +18 -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 +65 -67
- 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/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +30 -30
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +8 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +8 -8
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +18 -18
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +17 -17
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +22 -22
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +22 -22
- 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 +11 -11
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +17 -17
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +14 -14
- 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 +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +2 -2
- package/components/Suggest/useSuggest.js +3 -3
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +21 -21
- package/components/TagColor/TagColor.js +10 -10
- 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 +8 -8
- package/components/TopOverlay/TopOverlay.js +2 -2
- 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 +26 -26
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +162 -162
- package/index.d.ts +40 -13
- package/index.js +161 -161
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BHAU8N38.js +0 -39
- package/chunks/CalendarViewItem-B0gKGk70.js +0 -101
- package/chunks/Card.module-eeYi3ItS.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +0 -14
- package/chunks/Confirm.module-BgO9xuES.js +0 -15
- package/chunks/DropdownMobile.module-Bya5zssZ.js +0 -23
- package/chunks/Footer.module-Bxx6jElq.js +0 -9
- package/chunks/FormFieldInput-D2EXurFF.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +0 -9
- package/chunks/HeaderTabs.module-C3-8xyq-.js +0 -9
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +0 -25
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +0 -9
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +0 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +0 -8
- package/chunks/ListItemTail.module-DxIG-P_H.js +0 -12
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +0 -10
- package/chunks/ModalWindow.module-D4shxCeu.js +0 -17
- package/chunks/Notification.module-B29_MBTz.js +0 -21
- package/chunks/Overlay.module-BJJ7PDLJ.js +0 -18
- package/chunks/Page.module-CzfG8baM.js +0 -11
- package/chunks/SMSField.module-BDZwT1N-.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +0 -15
- package/chunks/SliderExtendedRail-CVnVXjG6.js +0 -40
- package/chunks/StatusTracker.module-CWpv3e3x.js +0 -24
- package/chunks/TableFooter.module-NX6NNBfH.js +0 -14
- package/chunks/TabsExtended.module-Bga_JXqh.js +0 -16
- package/chunks/TabsLine.module-BMBZODMz.js +0 -21
- package/chunks/TooltipDesktop.module-tqRh40wY.js +0 -19
- package/chunks/TreeView.module-Bkn2k1RS.js +0 -9
- package/chunks/UploadZoneInput-BceBvb-b.js +0 -33
- package/chunks/constants-BUeoiUro.js +0 -57
- package/chunks/utils-DKorGAMQ.js +0 -73
- package/chunks/utils-Sxh3Du0J.js +0 -24
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import x from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { Text as I } from "../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as w } from "../../Typography/enums.js";
|
|
6
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-Ct6WVB7d.js";
|
|
7
7
|
import { NotificationIcon as N } from "../../NotificationIcon/NotificationIcon.js";
|
|
8
8
|
const b = x.forwardRef(
|
|
9
9
|
({ children: o, className: m, id: y, onClick: t, onSelect: i, selected: s, showNotificationIcon: a, ...e }, p) => {
|
|
@@ -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-Dlne6Znf.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-Ct6WVB7d.js";
|
|
8
8
|
const S = ({ 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 p } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__1386c0b0", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className: s, ...e }) => /* @__PURE__ */
|
|
6
|
+
}, n = ({ className: s, ...e }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, s), ...e });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
ellipsisLineClamp:
|
|
3
|
+
import { c as m } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const c = "ellipsisLineClamp__f532a940", r = "oneLine__232a38a6", e = {
|
|
5
|
+
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, f = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines:
|
|
9
|
-
const
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...a }, n) => {
|
|
9
|
+
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
|
+
return /* @__PURE__ */ p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
14
|
-
style: { "--ellipsis-line-clamp":
|
|
15
|
-
...
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
13
|
+
className: o,
|
|
14
|
+
style: { "--ellipsis-line-clamp": s },
|
|
15
|
+
...a,
|
|
16
|
+
"data-tx": "1.16.0",
|
|
17
|
+
ref: n,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as E } from "react";
|
|
3
|
+
import { E as U, c as j } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const F = "expandAnimation__4a3b2133", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
|
-
className:
|
|
9
|
+
className: A,
|
|
10
10
|
expanded: v,
|
|
11
11
|
animationTime: f = L,
|
|
12
12
|
style: R,
|
|
@@ -15,13 +15,13 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
17
|
}, x) => {
|
|
18
|
-
const m =
|
|
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
|
-
}), l =
|
|
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) => {
|
|
@@ -30,14 +30,14 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
32
|
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
-
},
|
|
33
|
+
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
36
|
+
}, D = (c) => {
|
|
37
37
|
l.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
@@ -46,18 +46,18 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
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
|
-
className: j(I.expandAnimation,
|
|
53
|
+
className: j(I.expandAnimation, A),
|
|
54
54
|
style: {
|
|
55
55
|
transitionDuration: f + "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.16.0", ref: r, 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-Dlne6Znf.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-Cz5Pu1VT.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
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-Cz5Pu1VT.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
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-Cz5Pu1VT.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
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as e } from "react";
|
|
3
|
-
import { c as S } from "../../chunks/vendor-
|
|
3
|
+
import { c as S } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { FormFieldContext as W } from "./FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as s } from "./enums.js";
|
|
7
7
|
import { EComponentSize as G } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as I } from "../../utils/classNameMaps.js";
|
|
9
|
-
const L = "
|
|
9
|
+
const L = "formField__c5c627d8", P = "disabled__8c879a88", y = "active__94d500bd", U = "error__041a0044", z = "warning__47c41578", j = "sm__df1f3ec8", B = "md__7610a12a", H = "lg__e1fdff7b", t = {
|
|
10
10
|
formField: L,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__3da74a57",
|
|
12
12
|
disabled: P,
|
|
13
13
|
active: y,
|
|
14
14
|
error: U,
|
|
@@ -27,32 +27,32 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
27
27
|
className: F,
|
|
28
28
|
status: d = s.DEFAULT,
|
|
29
29
|
onMouseEnter: o,
|
|
30
|
-
onMouseLeave:
|
|
30
|
+
onMouseLeave: a,
|
|
31
31
|
style: x,
|
|
32
32
|
size: i = G.LG,
|
|
33
33
|
...g
|
|
34
34
|
}, h) => {
|
|
35
|
-
const [
|
|
36
|
-
|
|
37
|
-
}, w = (
|
|
38
|
-
|
|
35
|
+
const [c, u] = e(!1), [v, l] = e(!1), [E, N] = e(""), [m, R] = e(_), [f, T] = e(_), [A, D] = e(!1), b = (r) => {
|
|
36
|
+
l(!0), o == null || o(r);
|
|
37
|
+
}, w = (r) => {
|
|
38
|
+
l(!1), a == null || a(r);
|
|
39
39
|
};
|
|
40
40
|
return /* @__PURE__ */ n(
|
|
41
41
|
W.Provider,
|
|
42
42
|
{
|
|
43
43
|
value: {
|
|
44
44
|
status: d,
|
|
45
|
-
focused:
|
|
46
|
-
hovered:
|
|
47
|
-
id:
|
|
48
|
-
postfixWidth:
|
|
45
|
+
focused: c,
|
|
46
|
+
hovered: v,
|
|
47
|
+
id: E,
|
|
48
|
+
postfixWidth: m,
|
|
49
49
|
prefixWidth: f,
|
|
50
50
|
setFocused: u,
|
|
51
|
-
setId:
|
|
52
|
-
setPostfixWidth:
|
|
53
|
-
setPrefixWidth:
|
|
54
|
-
setValueExist:
|
|
55
|
-
valueExist:
|
|
51
|
+
setId: N,
|
|
52
|
+
setPostfixWidth: R,
|
|
53
|
+
setPrefixWidth: T,
|
|
54
|
+
setValueExist: D,
|
|
55
|
+
valueExist: A,
|
|
56
56
|
size: i
|
|
57
57
|
},
|
|
58
58
|
children: /* @__PURE__ */ n(
|
|
@@ -63,14 +63,14 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
63
63
|
V[i],
|
|
64
64
|
O[d],
|
|
65
65
|
{
|
|
66
|
-
[t.active]:
|
|
66
|
+
[t.active]: c
|
|
67
67
|
},
|
|
68
68
|
F
|
|
69
69
|
),
|
|
70
|
-
onMouseEnter:
|
|
70
|
+
onMouseEnter: b,
|
|
71
71
|
onMouseLeave: w,
|
|
72
|
-
"data-tx": "1.
|
|
73
|
-
style: { paddingLeft: f, paddingRight:
|
|
72
|
+
"data-tx": "1.16.0",
|
|
73
|
+
style: { paddingLeft: f, paddingRight: m, ...x },
|
|
74
74
|
...g,
|
|
75
75
|
ref: h,
|
|
76
76
|
children: p
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../../chunks/vendor-
|
|
2
|
+
import c, { useContext as F } from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.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__5df7265f", v = "hidden__38571ad4", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
10
|
hidden: v
|
|
11
|
-
}, I =
|
|
12
|
-
({ className:
|
|
13
|
-
const { status:
|
|
11
|
+
}, I = c.forwardRef(
|
|
12
|
+
({ className: d, onMouseDown: e, ...l }, a) => {
|
|
13
|
+
const { status: m, focused: s, hovered: i, valueExist: f } = F(C), n = 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
|
+
d
|
|
20
20
|
);
|
|
21
|
-
return /* @__PURE__ */ o(x, { className:
|
|
21
|
+
return /* @__PURE__ */ o(x, { className: n, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...l, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
I.displayName = "FormFieldClear";
|
|
@@ -1,7 +1,7 @@
|
|
|
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__9dc46bac", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, d = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__4ac1d91e", p = "withCounter__b8432ac3", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(
|
|
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 {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
5
|
-
import { n as D, c as N } from "../../../chunks/vendor-
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
+
import { n as D, c as N } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__9b4aa72c", R = "floating__ad24a56a", S = "formFieldLabelText__9fea3857", C = "disabled__8c879a88", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__3e11b90d",
|
|
10
|
+
"size-md": "size-md__a712bd73",
|
|
11
|
+
"size-lg": "size-lg__c1a17834",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
17
|
-
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, b) => {
|
|
17
|
+
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: a, valueExist: i } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
|
-
!D(e) && e !== l ? o(e) : e !== l && o(t ||
|
|
20
|
-
}, [t,
|
|
19
|
+
!D(e) && e !== l ? o(e) : e !== l && o(t || i);
|
|
20
|
+
}, [t, i, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
24
|
[s.disabled]: F === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
|
-
[s[`size-${
|
|
26
|
+
[s[`size-${a}`]]: a
|
|
27
27
|
},
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
34
|
-
...
|
|
33
|
+
right: x || m,
|
|
34
|
+
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: b, htmlFor: _, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,54 +1,54 @@
|
|
|
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
|
|
3
|
+
import { c as F, o as U, q as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-TbDWEJtn.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
7
|
import { EFormFieldStatus as V } from "../enums.js";
|
|
8
|
-
const Q = "
|
|
8
|
+
const Q = "formFieldMaskedInputWrapper__83f21d69", X = "formFieldMaskedInputPlaceholder__5b9dedb7", Y = "formFieldMaskedInput__2ce0443e", l = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__3e11b90d",
|
|
12
|
+
"size-md": "size-md__a712bd73",
|
|
13
|
+
"size-lg": "size-lg__c1a17834",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
|
-
},
|
|
15
|
+
}, a = ({
|
|
16
16
|
className: I,
|
|
17
|
-
forwardedRef:
|
|
17
|
+
forwardedRef: d,
|
|
18
18
|
mask: o,
|
|
19
|
-
onChange:
|
|
19
|
+
onChange: f,
|
|
20
20
|
placeholder: g,
|
|
21
21
|
placeholderChar: n = "0",
|
|
22
22
|
placeholderMask: u,
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, b] = $(""), c = L(!1), { valueExist: y, focused: z, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
b((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
|
-
const { conformedValue: i } =
|
|
31
|
+
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
32
32
|
for (let r = 0; r < o.length; r++)
|
|
33
33
|
typeof o[r] == "string" ? t[r] = i[r] : i[r] === n && !s.toString()[r] ? t[r] = (u == null ? void 0 : u[r]) || n : t[r] = i[r];
|
|
34
34
|
} else if (u)
|
|
35
35
|
t = u.split("");
|
|
36
36
|
else {
|
|
37
|
-
const { conformedValue: i } =
|
|
37
|
+
const { conformedValue: i } = p.conformToMask("", o, { guide: !0, placeholderChar: n });
|
|
38
38
|
t = i.split("");
|
|
39
39
|
}
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, u]);
|
|
43
|
-
const
|
|
43
|
+
const E = q(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
c.current = !1, s !== t && (
|
|
46
|
+
c.current = !1, s !== t && (f == null || f(e));
|
|
47
47
|
},
|
|
48
|
-
[s,
|
|
48
|
+
[s, f]
|
|
49
49
|
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
}, T = (e, t) => o ===
|
|
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)*)/;
|
|
@@ -56,12 +56,12 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
57
57
|
return {
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
|
-
value:
|
|
59
|
+
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, D = () => o ===
|
|
62
|
-
t && e(t), typeof
|
|
63
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
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 d == "function" ? d(t) : d && (d.current = t);
|
|
63
|
+
}, j = () => !y && !z || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,7 +83,7 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
86
|
+
onChange: E,
|
|
87
87
|
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
@@ -94,8 +94,8 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
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,15 +1,15 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import d, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPostfix__70c46734", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
9
|
-
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(a), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import d, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPrefix__68ff50be", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
|
-
({ children:
|
|
9
|
-
const s = p(R.formFieldPrefix,
|
|
8
|
+
({ children: f, className: o, ...i }, r) => {
|
|
9
|
+
const s = p(R.formFieldPrefix, o), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
|
-
e !==
|
|
17
|
-
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children:
|
|
16
|
+
e !== n && c(e);
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children: f });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,18 +1,18 @@
|
|
|
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,
|
|
4
|
+
import { c as N, u as S } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
5
|
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
-
const A = "
|
|
6
|
+
const A = "formFieldTarget__45af0ef0", L = "placeholder__76992caa", W = "disabled__8c879a88", R = "placeholderWrapper__6a423d15", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__3e11b90d",
|
|
11
|
+
"size-md": "size-md__a712bd73",
|
|
12
|
+
"size-lg": "size-lg__c1a17834",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((_, F) => {
|
|
15
|
-
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...
|
|
15
|
+
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...g } = _, { status: a, setFocused: p, setId: l, setValueExist: f, size: b } = E(B), z = N(e.formFieldTarget, h, e[`size-${b}`], {
|
|
16
16
|
[e.disabled]: a === d.DISABLED,
|
|
17
17
|
[e.placeholder]: !!m && !s && a !== d.DISABLED
|
|
18
18
|
}), t = T(r || S("formFieldTarget_"));
|
|
@@ -31,7 +31,7 @@ const A = "formFieldTarget__a4020685", L = "placeholder__ec23a54f", W = "disable
|
|
|
31
31
|
return /* @__PURE__ */ u(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
...
|
|
34
|
+
...g,
|
|
35
35
|
className: z,
|
|
36
36
|
"aria-disabled": a === d.DISABLED,
|
|
37
37
|
id: t.current,
|