@sberbusiness/triplex-next 0.25.0 → 0.26.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-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-CQErGrhc.js → CalendarViewItem-BdyVWg8a.js} +20 -20
- package/chunks/Card.module-gPkzcCGo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +15 -0
- package/chunks/Chip-CuoqjaG4.js +77 -0
- package/chunks/Confirm.module-bXfHpEZY.js +15 -0
- package/chunks/{DropdownListItem-wT8cLRdZ.js → DropdownListItem-CRdOVwlq.js} +15 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +23 -0
- package/chunks/Footer.module-Dhevv5cy.js +9 -0
- package/chunks/{FormFieldInput-Dj2JAqj2.js → FormFieldInput-CyAOOwnJ.js} +6 -6
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-SmVWml2y.js → HeaderTitle.module-BDZQCHuH.js} +2 -2
- package/chunks/IslandAccordion.module-ElAylnXP.js +25 -0
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +12 -0
- package/chunks/{LightBoxContent-DlDaCKV4.js → LightBoxContent-Bp6XRgdB.js} +9 -9
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/{ListItemControlsButton-UKjqQcv7.js → ListItemControlsButton-PANaJdYf.js} +8 -8
- package/chunks/ListItemTail.module-BKP1QEpv.js +12 -0
- package/chunks/ListMasterFooter.module-D1BeGub8.js +10 -0
- package/chunks/ModalWindow.module-PJk-BOT5.js +17 -0
- package/chunks/Notification.module-7THtDpDh.js +20 -0
- package/chunks/Overlay.module-B0Fayqn2.js +18 -0
- package/chunks/Page.module-oxsZ2i2v.js +11 -0
- package/chunks/SMSField.module-DQoHDr5D.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +15 -0
- package/chunks/{SliderExtendedRail-jfLPbgEp.js → SliderExtendedRail-B33WytbG.js} +7 -7
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CCyHjS-V.js → SuggestFieldMobileDropdownHint-dcZDUPZa.js} +4 -4
- package/chunks/TableFooter.module-DaFBiojx.js +14 -0
- package/chunks/TabsExtended.module-D4GCJESe.js +16 -0
- package/chunks/TabsLine.module-BEA3Lssg.js +21 -0
- package/chunks/TooltipDesktop.module-hff_h0-q.js +19 -0
- package/chunks/TreeView.module-C-XaQJbB.js +9 -0
- package/chunks/{UploadZoneInput-DYiPRAAI.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-Ctks52i0.js → constants-KINy2OSZ.js} +13 -13
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-C6a9XDaC.js → utils-CWqa2skI.js} +4 -4
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +8 -8
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +10 -10
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +7 -7
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +9 -9
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +28 -28
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +7 -7
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +18 -18
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +11 -11
- package/components/FormField/components/FormFieldTextarea.js +22 -22
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +8 -8
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +15 -15
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +12 -12
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +17 -17
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +10 -10
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/Link/Link.js +10 -10
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +12 -11
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +18 -18
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +9 -9
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +24 -24
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +13 -13
- package/components/Stepper/Stepper.js +102 -87
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +4 -4
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +6 -6
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +15 -15
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +3 -3
- package/components/TopOverlay/TopOverlay.js +14 -14
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/CodeText.js +11 -11
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +56 -22
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +0 -41
- package/chunks/Card.module-Ce9rAKOc.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +0 -15
- package/chunks/Chip-BEnNi0nL.js +0 -77
- package/chunks/Confirm.module-CbAi5bkG.js +0 -15
- package/chunks/DropdownMobile.module-rYB54yd0.js +0 -23
- package/chunks/Footer.module-CzJ_N1fs.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +0 -9
- package/chunks/HeaderTabs.module-CjapozXy.js +0 -9
- package/chunks/IslandAccordion.module-YvqRlzmi.js +0 -25
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +0 -9
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +0 -12
- package/chunks/LightBoxControls.module-laAGRPrR.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +0 -9
- package/chunks/ListItemTail.module-igeWTjyg.js +0 -12
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +0 -10
- package/chunks/ModalWindow.module-Cpk4uhwk.js +0 -17
- package/chunks/Notification.module-9japFkgv.js +0 -20
- package/chunks/Overlay.module-B3Az7dZS.js +0 -18
- package/chunks/Page.module-DOHwIYM4.js +0 -11
- package/chunks/RightBorderArrow-C6j8565V.js +0 -146
- package/chunks/SMSField.module-BOpUjsSJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +0 -15
- package/chunks/StatusTracker.module-OAxbFucN.js +0 -24
- package/chunks/TableFooter.module-CGWCS8e3.js +0 -14
- package/chunks/TabsExtended.module-BJOWXSHt.js +0 -16
- package/chunks/TabsLine.module-BsiLhw0I.js +0 -21
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +0 -19
- package/chunks/TreeView.module-C2WPNvMq.js +0 -9
- package/chunks/utils-Bz5uKYQD.js +0 -24
- package/chunks/utils-CrkRbGiM.js +0 -28
- package/chunks/utils-QVs0E_e3.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c
|
|
4
|
-
const
|
|
5
|
-
ellipsisLineClamp:
|
|
3
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
const m = "ellipsisLineClamp__c228b088", r = "oneLine__58b02c8d", i = {
|
|
5
|
+
ellipsisLineClamp: m,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, L = t.forwardRef(
|
|
8
|
-
({ children:
|
|
9
|
-
const p =
|
|
8
|
+
({ children: e, maxLines: s, className: l, ...n }, o) => {
|
|
9
|
+
const p = c(i.ellipsisLineClamp, { [i.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.26.0",
|
|
17
17
|
ref: o,
|
|
18
|
-
children:
|
|
18
|
+
children: e
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
@@ -3,10 +3,10 @@ import { jsxs as s, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
|
3
3
|
import N from "react";
|
|
4
4
|
import { c as A } from "../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import { Title as R } from "../Typography/Title.js";
|
|
6
|
-
import { EFontWeightTitle as
|
|
6
|
+
import { EFontWeightTitle as h, ETitleSize as p, ETextSize as M, EFontType as d, EFontWeightText as S } from "../Typography/enums.js";
|
|
7
7
|
import { Text as _ } from "../Typography/Text.js";
|
|
8
8
|
import { Gap as n } from "../Gap/Gap.js";
|
|
9
|
-
const B = "
|
|
9
|
+
const B = "emptyView__f62d4f2d", D = "container__f0634d4a", g = "icon__e0e7f3c2", I = "textBlock__5a7b7bc5", t = {
|
|
10
10
|
emptyView: B,
|
|
11
11
|
container: D,
|
|
12
12
|
icon: g,
|
|
@@ -15,21 +15,21 @@ const B = "emptyView__baba03c9", D = "container__fc9351a4", g = "icon__bc039b57"
|
|
|
15
15
|
[i.SM]: t.sm,
|
|
16
16
|
[i.MD]: t.md
|
|
17
17
|
}, v = {
|
|
18
|
-
[i.SM]: { size: p.H3, weight:
|
|
19
|
-
[i.MD]: { size: p.H2, weight:
|
|
20
|
-
},
|
|
18
|
+
[i.SM]: { size: p.H3, weight: h.MEDIUM },
|
|
19
|
+
[i.MD]: { size: p.H2, weight: h.SEMIBOLD }
|
|
20
|
+
}, f = {
|
|
21
21
|
[i.SM]: M.B3,
|
|
22
22
|
[i.MD]: M.B2
|
|
23
23
|
}, z = {
|
|
24
24
|
[i.SM]: 16,
|
|
25
25
|
[i.MD]: 24
|
|
26
26
|
}, k = N.forwardRef(
|
|
27
|
-
({ className:
|
|
27
|
+
({ className: T, size: c, icon: a, title: o, description: r, caption: m, buttons: E, ...w }, y) => {
|
|
28
28
|
const l = !!(r || m);
|
|
29
29
|
return /* @__PURE__ */ s(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
|
-
className: A(t.emptyView, V[c], { [t.hasTitle]: !!o },
|
|
32
|
+
className: A(t.emptyView, V[c], { [t.hasTitle]: !!o }, T),
|
|
33
33
|
ref: y,
|
|
34
34
|
...w,
|
|
35
35
|
children: [
|
|
@@ -43,9 +43,9 @@ const B = "emptyView__baba03c9", D = "container__fc9351a4", g = "icon__bc039b57"
|
|
|
43
43
|
r && /* @__PURE__ */ e(
|
|
44
44
|
_,
|
|
45
45
|
{
|
|
46
|
-
size:
|
|
46
|
+
size: f[c],
|
|
47
47
|
weight: S.REGULAR,
|
|
48
|
-
type: o ?
|
|
48
|
+
type: o ? d.SECONDARY : d.PRIMARY,
|
|
49
49
|
children: r
|
|
50
50
|
}
|
|
51
51
|
),
|
|
@@ -53,18 +53,18 @@ const B = "emptyView__baba03c9", D = "container__fc9351a4", g = "icon__bc039b57"
|
|
|
53
53
|
m && /* @__PURE__ */ e(
|
|
54
54
|
_,
|
|
55
55
|
{
|
|
56
|
-
size:
|
|
56
|
+
size: f[c],
|
|
57
57
|
weight: S.REGULAR,
|
|
58
|
-
type:
|
|
58
|
+
type: d.SECONDARY,
|
|
59
59
|
children: m
|
|
60
60
|
}
|
|
61
61
|
)
|
|
62
62
|
] })
|
|
63
63
|
] })
|
|
64
64
|
] }),
|
|
65
|
-
|
|
65
|
+
E && /* @__PURE__ */ s(x, { children: [
|
|
66
66
|
/* @__PURE__ */ e(n, { size: z[c] }),
|
|
67
|
-
/* @__PURE__ */ e("div", { className: t.buttons, children:
|
|
67
|
+
/* @__PURE__ */ e("div", { className: t.buttons, children: E })
|
|
68
68
|
] })
|
|
69
69
|
]
|
|
70
70
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import U, { useRef as y } from "react";
|
|
3
3
|
import { y as b, c as j } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const F = "
|
|
4
|
+
const F = "expandAnimation__a682797a", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
6
|
}, L = 300, M = U.forwardRef(
|
|
7
7
|
({
|
|
@@ -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.26.0", ref: t, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -3,7 +3,7 @@ import s from "react";
|
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
5
|
import { c as p } from "../../../chunks/vendor---Om3uMV.js";
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-Dhevv5cy.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
3
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-Dhevv5cy.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
3
|
import { c as m } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as p } from "../../../chunks/Footer.module-
|
|
4
|
+
import { s as p } from "../../../chunks/Footer.module-Dhevv5cy.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
|
);
|
|
@@ -6,12 +6,12 @@ import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
|
6
6
|
import { EFormFieldStatus as o } from "./enums.js";
|
|
7
7
|
import { EComponentSize as w } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
9
|
-
const S = "
|
|
9
|
+
const S = "formField__a9b5fca7", W = "sm__6e609f2e", G = "md__1a38b96d", M = "lg__c94c35cf", P = "active__8cfa5afd", y = "disabled__4608a05e", U = "error__0e9d534c", j = "warning__a9560742", z = "filled__587442d2", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__30cf205a",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -27,22 +27,22 @@ const S = "formField__613f354a", W = "sm__53529901", G = "md__e44fc94a", M = "lg
|
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
29
|
style: g,
|
|
30
|
-
size:
|
|
31
|
-
status:
|
|
32
|
-
active:
|
|
30
|
+
size: a = w.LG,
|
|
31
|
+
status: r = o.DEFAULT,
|
|
32
|
+
active: d = !1,
|
|
33
33
|
...u
|
|
34
34
|
}, x) => {
|
|
35
|
-
const [
|
|
35
|
+
const [f, T] = t(), [m, b] = t(), [i, E] = t(_), [l, N] = t(_), [c, R] = t(!1), [s, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
|
-
size:
|
|
38
|
-
status:
|
|
39
|
-
targetId:
|
|
40
|
-
labelId:
|
|
37
|
+
size: a,
|
|
38
|
+
status: r,
|
|
39
|
+
targetId: f,
|
|
40
|
+
labelId: m,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
43
|
+
filled: c,
|
|
44
44
|
focused: s,
|
|
45
|
-
active:
|
|
45
|
+
active: d || s,
|
|
46
46
|
setTargetId: T,
|
|
47
47
|
setLabelId: b,
|
|
48
48
|
setPostfixWidth: E,
|
|
@@ -50,22 +50,22 @@ const S = "formField__613f354a", W = "sm__53529901", G = "md__e44fc94a", M = "lg
|
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[r,
|
|
53
|
+
[a, r, f, m, i, l, c, s, d]
|
|
54
54
|
);
|
|
55
55
|
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: h(
|
|
59
59
|
e.formField,
|
|
60
|
-
O[
|
|
61
|
-
B[
|
|
60
|
+
O[a],
|
|
61
|
+
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
64
|
-
[e.active]:
|
|
63
|
+
[e.filled]: c,
|
|
64
|
+
[e.active]: d || s
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "0.
|
|
68
|
+
"data-tx": "0.26.0",
|
|
69
69
|
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
70
|
...u,
|
|
71
71
|
ref: x,
|
|
@@ -3,7 +3,7 @@ import f, { useCallback as i } from "react";
|
|
|
3
3
|
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as s } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as d } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__16315f40", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
8
|
}, F = f.forwardRef(
|
|
9
9
|
({ className: t, onMouseDown: r, ...a }, m) => {
|
|
@@ -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__c6f33ca0", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className:
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
f as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -2,15 +2,15 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const
|
|
6
|
-
formFieldDescription:
|
|
7
|
-
withCounter:
|
|
8
|
-
},
|
|
5
|
+
const l = "formFieldDescription__f6649c24", p = "withCounter__33e54853", i = {
|
|
6
|
+
formFieldDescription: l,
|
|
7
|
+
withCounter: p
|
|
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(i.formFieldDescription, { [i.withCounter]: o }), ...
|
|
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 {
|
|
14
|
-
|
|
14
|
+
d as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -5,7 +5,7 @@ import "../FormFieldContext.js";
|
|
|
5
5
|
import "../enums.js";
|
|
6
6
|
import "../../../utils/classNameMaps.js";
|
|
7
7
|
import "./utils.js";
|
|
8
|
-
import { F as d } from "../../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import A, { useContext as E, useMemo as N, useLayoutEffect as I } from "react";
|
|
3
3
|
import { u as S, c as h } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldContext as y } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
8
|
-
const M = "
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as s } from "../consts.js";
|
|
8
|
+
const M = "formFieldLabel__8decafcf", R = "sm__6e609f2e", v = "md__1a38b96d", z = "lg__c94c35cf", G = "floating__0edae5df", W = "formFieldLabelText__4cad5dcc", j = "disabled__4608a05e", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,25 +14,25 @@ const M = "formFieldLabel__86426156", R = "sm__53529901", v = "md__e44fc94a", z
|
|
|
14
14
|
formFieldLabelText: W,
|
|
15
15
|
disabled: j
|
|
16
16
|
}, q = D(e), w = A.forwardRef(
|
|
17
|
-
({ children: i, id: t, className:
|
|
18
|
-
const { targetId: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x =
|
|
17
|
+
({ children: i, id: t, className: d, style: m, floating: r, ...f }, c) => {
|
|
18
|
+
const { targetId: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x = r ?? (F || L), u = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
20
|
q[_],
|
|
21
21
|
{
|
|
22
22
|
[e.floating]: x,
|
|
23
23
|
[e.disabled]: b === C.DISABLED
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
d
|
|
26
26
|
), T = {
|
|
27
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
28
|
-
left: g ||
|
|
28
|
+
left: g || s,
|
|
29
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
|
-
right: p ||
|
|
31
|
-
...
|
|
30
|
+
right: p || s,
|
|
31
|
+
...m
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ a("label", { ...f, id: l, className: u, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -2,15 +2,15 @@ import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as U } from "react";
|
|
3
3
|
import { c as F, m as q, n as p } from "../../../chunks/vendor---Om3uMV.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-CyAOOwnJ.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__70ac35d8", X = "formFieldMaskedInputPlaceholder__225a38d3", Y = "formFieldMaskedInput__2fcddc5f", u = {
|
|
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__0c49665e",
|
|
12
|
+
"size-md": "size-md__e370d779",
|
|
13
|
+
"size-lg": "size-lg__c4ba89e8",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
@@ -23,9 +23,9 @@ const Q = "formFieldMaskedInputWrapper__8946674f", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, y] = $(""), c = L(!1), { filled: z, focused: k, size: E, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
y((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
31
|
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
@@ -40,15 +40,15 @@ const Q = "formFieldMaskedInputWrapper__8946674f", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, l]);
|
|
43
|
-
const
|
|
43
|
+
const S = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
c.current = !1, s !== t && (f == null || f(e));
|
|
47
47
|
},
|
|
48
48
|
[s, f]
|
|
49
|
-
),
|
|
49
|
+
), T = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, b = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -60,8 +60,8 @@ const Q = "formFieldMaskedInputWrapper__8946674f", X = "formFieldMaskedInputPlac
|
|
|
60
60
|
};
|
|
61
61
|
}, D = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof d == "function" ? d(t) : d && (d.current = t);
|
|
63
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${
|
|
63
|
+
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${E}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,11 +83,11 @@ const Q = "formFieldMaskedInputWrapper__8946674f", 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: S,
|
|
87
|
+
onPaste: T,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: b,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
4
4
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPostfix__22163281", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = d.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
9
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);
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__d66d1f93", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPostfix";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
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---Om3uMV.js";
|
|
5
|
+
const P = "formFieldPrefix__4d00871e", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = l.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s =
|
|
9
|
+
const s = a(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(p), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPrefix";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import g, { useContext as S, useMemo as h, useLayoutEffect as b, useCallback as F } from "react";
|
|
3
3
|
import { u as y, c as A } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
5
|
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__8fdcc6ef", M = "sm__6e609f2e", R = "md__1a38b96d", j = "lg__c94c35cf", k = "placeholder__ae1faae3", q = "disabled__4608a05e", w = "placeholderWrapper__7660c569", B = "active__8cfa5afd", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -13,18 +13,18 @@ const z = "formFieldTarget__48842aa8", M = "sm__53529901", R = "md__e44fc94a", j
|
|
|
13
13
|
disabled: q,
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
|
-
}, G = W(e), H =
|
|
17
|
-
({ children:
|
|
18
|
-
const { size: u, status: s, active: v, labelId: x, setFilled:
|
|
16
|
+
}, G = W(e), H = g.forwardRef(
|
|
17
|
+
({ children: c, id: o, className: T, placeholder: p, onFocus: a, onBlur: t, ...D }, I) => {
|
|
18
|
+
const { size: u, status: s, active: v, labelId: x, setFilled: f, setFocused: r, setTargetId: n } = S(L), i = h(() => o === void 0 ? y("target_") : o, [o]), l = h(() => g.Children.toArray(c).length !== 0, [c]), E = A(e.formFieldTarget, G[u], T, {
|
|
19
19
|
[e.disabled]: s === d.DISABLED,
|
|
20
20
|
[e.placeholder]: !!p && !l && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, [i,
|
|
26
|
-
|
|
27
|
-
}, [l,
|
|
23
|
+
b(() => {
|
|
24
|
+
n(i);
|
|
25
|
+
}, [i, n]), b(() => {
|
|
26
|
+
f(l);
|
|
27
|
+
}, [l, f]);
|
|
28
28
|
const C = F(
|
|
29
29
|
(m) => {
|
|
30
30
|
r(!0), a == null || a(m);
|
|
@@ -48,7 +48,7 @@ const z = "formFieldTarget__48842aa8", M = "sm__53529901", R = "md__e44fc94a", j
|
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: I,
|
|
51
|
-
children: l ?
|
|
51
|
+
children: l ? c : /* @__PURE__ */ _("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as I } from "react/jsx-runtime";
|
|
2
|
+
import M, { useContext as n, useMemo as C, useCallback as a, useLayoutEffect as x } from "react";
|
|
3
3
|
import { u as D, c as L } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as R } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { FormFieldContext as W } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as j } from "../enums.js";
|
|
7
7
|
import { isFilled as q } from "./utils.js";
|
|
8
|
-
const w = "
|
|
8
|
+
const w = "formFieldTextarea__83dc4e37", G = "sm__6e609f2e", H = "md__1a38b96d", J = "lg__c94c35cf", u = {
|
|
9
9
|
formFieldTextarea: w,
|
|
10
10
|
sm: G,
|
|
11
11
|
md: H,
|
|
12
12
|
lg: J
|
|
13
|
-
}, K = R(u), O =
|
|
13
|
+
}, K = R(u), O = M.forwardRef(
|
|
14
14
|
({ id: d, className: p, value: s, defaultValue: F, onFocus: r, onBlur: l, onAnimationStart: m, onChange: i, ..._ }, N) => {
|
|
15
|
-
const { size: g, status: h, setFocused:
|
|
15
|
+
const { size: g, status: h, setFocused: c, setTargetId: T, setFilled: o } = n(W), f = C(() => d === void 0 ? D("textarea_") : d, [d]), y = L(u.formFieldTextarea, K[g], p), t = a(
|
|
16
16
|
(e) => {
|
|
17
|
-
|
|
17
|
+
o(q(e));
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[o]
|
|
20
20
|
);
|
|
21
21
|
x(() => {
|
|
22
22
|
T(f);
|
|
@@ -25,28 +25,28 @@ const w = "formFieldTextarea__880ed5a7", G = "sm__53529901", H = "md__e44fc94a",
|
|
|
25
25
|
}, []), x(() => {
|
|
26
26
|
s !== void 0 && t(s);
|
|
27
27
|
}, [s, t]);
|
|
28
|
-
const
|
|
28
|
+
const b = a(
|
|
29
29
|
(e) => {
|
|
30
|
-
t(e.currentTarget.value),
|
|
30
|
+
t(e.currentTarget.value), c(!0), r == null || r(e);
|
|
31
31
|
},
|
|
32
|
-
[t,
|
|
33
|
-
),
|
|
32
|
+
[t, c, r]
|
|
33
|
+
), k = a(
|
|
34
34
|
(e) => {
|
|
35
|
-
t(e.currentTarget.value),
|
|
35
|
+
t(e.currentTarget.value), c(!1), l == null || l(e);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
38
|
-
),
|
|
37
|
+
[t, c, l]
|
|
38
|
+
), z = a(
|
|
39
39
|
(e) => {
|
|
40
|
-
e.animationName.startsWith("autofill-applied-hook") ?
|
|
40
|
+
e.animationName.startsWith("autofill-applied-hook") ? o(!0) : e.animationName.startsWith("autofill-cancelled-hook") && t(e.currentTarget.value), m == null || m(e);
|
|
41
41
|
},
|
|
42
|
-
[
|
|
43
|
-
),
|
|
42
|
+
[o, t, m]
|
|
43
|
+
), E = a(
|
|
44
44
|
(e) => {
|
|
45
45
|
t(e.currentTarget.value), i == null || i(e);
|
|
46
46
|
},
|
|
47
47
|
[i, t]
|
|
48
48
|
);
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ I(
|
|
50
50
|
"textarea",
|
|
51
51
|
{
|
|
52
52
|
..._,
|
|
@@ -55,10 +55,10 @@ const w = "formFieldTextarea__880ed5a7", G = "sm__53529901", H = "md__e44fc94a",
|
|
|
55
55
|
value: s,
|
|
56
56
|
defaultValue: F,
|
|
57
57
|
disabled: h === j.DISABLED,
|
|
58
|
-
onFocus:
|
|
59
|
-
onBlur:
|
|
60
|
-
onAnimationStart:
|
|
61
|
-
onChange:
|
|
58
|
+
onFocus: b,
|
|
59
|
+
onBlur: k,
|
|
60
|
+
onAnimationStart: z,
|
|
61
|
+
onChange: E,
|
|
62
62
|
ref: N
|
|
63
63
|
}
|
|
64
64
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormFieldClear as e } from "./FormFieldClear.js";
|
|
2
2
|
import { FormFieldCounter as m } from "./FormFieldCounter.js";
|
|
3
3
|
import { FormFieldDescription as i } from "./FormFieldDescription.js";
|
|
4
|
-
import { F as x } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import { F as x } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
5
5
|
import { FormFieldLabel as l } from "./FormFieldLabel.js";
|
|
6
6
|
import { FormFieldMaskedInput as a } from "./FormFieldMaskedInput.js";
|
|
7
7
|
import { FormFieldPostfix as s } from "./FormFieldPostfix.js";
|
|
@@ -2,7 +2,7 @@ import { EFormFieldStatus as e } from "./enums.js";
|
|
|
2
2
|
import { FormFieldClear as F } from "./components/FormFieldClear.js";
|
|
3
3
|
import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
4
4
|
import { FormFieldDescription as l } from "./components/FormFieldDescription.js";
|
|
5
|
-
import { F as f } from "../../chunks/FormFieldInput-
|
|
5
|
+
import { F as f } from "../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
6
6
|
import { FormFieldLabel as a } from "./components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldMaskedInput as u } from "./components/FormFieldMaskedInput.js";
|
|
8
8
|
import { FormFieldPostfix as C } from "./components/FormFieldPostfix.js";
|