@sberbusiness/triplex-next 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -22
- package/chunks/{AlertProcessSpoiler-CT4kuQU5.js → AlertProcessSpoiler-io5SjBK8.js} +12 -12
- package/chunks/CalendarViewItem-CW39vnxU.js +101 -0
- package/chunks/Card.module-wkZoieJo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +15 -0
- package/chunks/{Chip-Df2PJxv_.js → Chip-CtmEt4Cp.js} +17 -17
- package/chunks/Confirm.module-Bi0IoVgW.js +15 -0
- package/chunks/{DropdownListItem-JDPG7EtK.js → DropdownListItem-gGRZUigY.js} +14 -14
- package/chunks/DropdownMobile.module-D1Tda3VC.js +23 -0
- package/chunks/Footer.module-dEM87TWq.js +9 -0
- package/chunks/FormFieldInput-BXZLkCG-.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +9 -0
- package/chunks/HeaderTabs.module-lGf7L-VN.js +9 -0
- package/chunks/{HeaderTitle.module-Cz5VxXST.js → HeaderTitle.module-G-lXVibC.js} +2 -2
- package/chunks/IslandAccordion.module-CmJ_07-4.js +25 -0
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +9 -0
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +12 -0
- package/chunks/{LightBoxContent-DcdEm4um.js → LightBoxContent-Dwdsxv-p.js} +12 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +9 -0
- package/chunks/{ListItemControlsButton-CWkrMtu6.js → ListItemControlsButton-CXrdUtOj.js} +10 -10
- package/chunks/ListItemTail.module-t77bOXMm.js +12 -0
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +10 -0
- package/chunks/ModalWindow.module-BNDWxL9E.js +17 -0
- package/chunks/Notification.module-BukggXdi.js +20 -0
- package/chunks/Overlay.module-DNkYF6tu.js +18 -0
- package/chunks/Page.module-Bz9n-Dho.js +11 -0
- package/chunks/{RightBorderArrow-CD9RfiqH.js → RightBorderArrow-BStHeZkJ.js} +9 -9
- package/chunks/SMSField.module-DBEf-aa7.js +16 -0
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +15 -0
- package/chunks/{SliderExtendedRail-Alw2vXQr.js → SliderExtendedRail-1zC_WMFD.js} +15 -15
- package/chunks/StatusTracker.module-_Hh_EXXG.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BfOcMGUs.js → SuggestFieldMobileDropdownHint-DP7pX8_2.js} +4 -4
- package/chunks/TableFooter.module-nim97iDm.js +14 -0
- package/chunks/TabsExtended.module-33reL6bh.js +16 -0
- package/chunks/TabsLine.module-BS4pWC4f.js +21 -0
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +19 -0
- package/chunks/TreeView.module-7JefvvHQ.js +9 -0
- package/chunks/{UploadZoneInput-DWEQ023-.js → UploadZoneInput--cEsI9GG.js} +8 -8
- package/chunks/{constants-mUMWgzNs.js → constants-Dag2NxzH.js} +9 -9
- package/chunks/utils-C81PwsD3.js +24 -0
- package/chunks/utils-DKXtpqrd.js +73 -0
- package/chunks/{utils-B269a8Xy.js → utils-mDzXEbG8.js} +6 -6
- package/chunks/{utils-C64rf2gI.js → utils-wIML3CoI.js} +11 -11
- package/chunks/{vendor-BIl4KTrD.js → vendor-CuCj7SgU.js} +7115 -6975
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +8 -8
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +7 -7
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +13 -13
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- 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 +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +25 -24
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +135 -135
- 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/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- 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 +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- 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 +65 -63
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +18 -18
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +35 -33
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- 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 +4 -4
- 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 +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +6 -6
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +14 -14
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +5 -5
- 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 +9 -9
- package/components/LightBox/LightBox.js +40 -40
- 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 +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +6 -6
- 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 +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +14 -14
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- 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 +5 -5
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +74 -70
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +20 -20
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +19 -19
- package/components/Stepper/StepperExtended.js +10 -10
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +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 +23 -23
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- 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 +7 -7
- 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 +7 -7
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +20 -18
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- 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 +12 -12
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +16 -16
- 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 +20 -20
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +220 -14
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-B22G4WdJ.js +0 -101
- package/chunks/Card.module-CYQS3e5D.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Bm15tlJo.js +0 -14
- package/chunks/Confirm.module-B2BrmONy.js +0 -15
- package/chunks/DropdownMobile.module-BEV1I-ay.js +0 -23
- package/chunks/Footer.module-Bd88HiEv.js +0 -9
- package/chunks/FormFieldInput-C4pLJsXx.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CqfeCJ-B.js +0 -9
- package/chunks/HeaderTabs.module-CWX7b7Dh.js +0 -9
- package/chunks/IslandAccordion.module-CDvdz98b.js +0 -25
- package/chunks/IslandWidgetFooter.module-e4tVz5in.js +0 -9
- package/chunks/IslandWidgetHeader.module-Ch-s_cQT.js +0 -12
- package/chunks/LightBoxControls.module-uaiuwR-r.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CMuFmWFe.js +0 -9
- package/chunks/ListItemTail.module-7mfIAr0W.js +0 -12
- package/chunks/ListMasterFooter.module-P4_LpH8K.js +0 -10
- package/chunks/ModalWindow.module-D-5u9tYs.js +0 -17
- package/chunks/Notification.module-C0ZCimeJ.js +0 -20
- package/chunks/Overlay.module-DllxTgO6.js +0 -18
- package/chunks/Page.module-D8eZ3riP.js +0 -11
- package/chunks/SMSField.module-Ct20kGRY.js +0 -16
- package/chunks/SliderExtendedMarks.module-AiKoZWUL.js +0 -15
- package/chunks/StatusTracker.module-BS9GBa45.js +0 -24
- package/chunks/TableFooter.module-DYutPrdO.js +0 -14
- package/chunks/TabsExtended.module-uL61NvZ4.js +0 -16
- package/chunks/TabsLine.module-ByA3hnWg.js +0 -21
- package/chunks/TooltipDesktop.module-CWKvU1wk.js +0 -19
- package/chunks/TreeView.module-Co4Cu58-.js +0 -9
- package/chunks/utils-C8q6y8Et.js +0 -73
- package/chunks/utils-rInBvmh_.js +0 -24
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import N, { useRef as A } from "react";
|
|
3
|
-
import { A as U, c as j } from "../../chunks/vendor-
|
|
4
|
-
const F = "
|
|
3
|
+
import { A as U, c as j } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
const F = "expandAnimation__8bbf835e", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
6
|
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: x = L,
|
|
12
12
|
style: R,
|
|
13
13
|
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
17
|
+
}, f) => {
|
|
18
18
|
const m = A({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
@@ -24,35 +24,35 @@ const F = "expandAnimation__593be0ce", I = {
|
|
|
24
24
|
}), l = A(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
|
+
}, b = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
|
-
},
|
|
30
|
+
}, H = () => {
|
|
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
|
+
}, T = () => {
|
|
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
|
-
l.current = c, typeof
|
|
37
|
+
l.current = c, typeof f == "function" ? f(c) : f && (f.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
40
|
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
43
|
+
timeout: x,
|
|
44
44
|
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
|
-
onEntered:
|
|
48
|
-
onExit:
|
|
49
|
-
onExited:
|
|
47
|
+
onEntered: b,
|
|
48
|
+
onExit: H,
|
|
49
|
+
onExited: T,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: j(I.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: x + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
@@ -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.21.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-CuCj7SgU.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-dEM87TWq.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-CuCj7SgU.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-dEM87TWq.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-CuCj7SgU.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-dEM87TWq.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,88 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { FormFieldContext as
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import S, { useState as e } from "react";
|
|
3
|
+
import { c as W } from "../../chunks/vendor-CuCj7SgU.js";
|
|
4
|
+
import { FormFieldContext as G } from "./FormFieldContext.js";
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as p } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as s } from "./enums.js";
|
|
7
|
-
import { EComponentSize as
|
|
8
|
-
import { createSizeToClassNameMap as
|
|
9
|
-
const
|
|
10
|
-
formField:
|
|
11
|
-
default: "
|
|
12
|
-
disabled:
|
|
13
|
-
active:
|
|
14
|
-
error:
|
|
15
|
-
warning:
|
|
16
|
-
sm:
|
|
17
|
-
md:
|
|
18
|
-
lg:
|
|
19
|
-
},
|
|
7
|
+
import { EComponentSize as I } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { createSizeToClassNameMap as L } from "../../utils/classNameMaps.js";
|
|
9
|
+
const P = "formField__e6a2ea91", y = "disabled__3a3108fa", U = "active__2c2dd6d7", z = "error__f07ff60e", j = "warning__15436a82", B = "sm__4e3f34fa", H = "md__390f6d1a", O = "lg__d8ba3336", t = {
|
|
10
|
+
formField: P,
|
|
11
|
+
default: "default__0f4d4572",
|
|
12
|
+
disabled: y,
|
|
13
|
+
active: U,
|
|
14
|
+
error: z,
|
|
15
|
+
warning: j,
|
|
16
|
+
sm: B,
|
|
17
|
+
md: H,
|
|
18
|
+
lg: O
|
|
19
|
+
}, V = {
|
|
20
20
|
[s.DEFAULT]: t.default,
|
|
21
21
|
[s.DISABLED]: t.disabled,
|
|
22
22
|
[s.ERROR]: t.error,
|
|
23
23
|
[s.WARNING]: t.warning
|
|
24
|
-
},
|
|
24
|
+
}, X = L(t), k = S.forwardRef(
|
|
25
25
|
({
|
|
26
|
-
children:
|
|
27
|
-
className:
|
|
28
|
-
status:
|
|
29
|
-
onMouseEnter:
|
|
30
|
-
onMouseLeave:
|
|
31
|
-
style:
|
|
32
|
-
size:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
children: F,
|
|
27
|
+
className: x,
|
|
28
|
+
status: i = s.DEFAULT,
|
|
29
|
+
onMouseEnter: a,
|
|
30
|
+
onMouseLeave: o,
|
|
31
|
+
style: g,
|
|
32
|
+
size: l = I.LG,
|
|
33
|
+
active: f = !1,
|
|
34
|
+
...h
|
|
35
|
+
}, u) => {
|
|
36
|
+
const [r, v] = e(!1), [E, m] = e(!1), [N, R] = e(""), [c, T] = e(p), [n, A] = e(p), [D, b] = e(!1), w = (d) => {
|
|
37
|
+
m(!0), a == null || a(d);
|
|
38
|
+
}, C = (d) => {
|
|
39
|
+
m(!1), o == null || o(d);
|
|
39
40
|
};
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
|
|
41
|
+
return /* @__PURE__ */ _(
|
|
42
|
+
G.Provider,
|
|
42
43
|
{
|
|
43
44
|
value: {
|
|
44
|
-
status:
|
|
45
|
-
focused:
|
|
46
|
-
hovered:
|
|
47
|
-
id:
|
|
48
|
-
postfixWidth:
|
|
49
|
-
prefixWidth:
|
|
50
|
-
setFocused:
|
|
51
|
-
setId:
|
|
52
|
-
setPostfixWidth:
|
|
53
|
-
setPrefixWidth:
|
|
54
|
-
setValueExist:
|
|
55
|
-
valueExist:
|
|
56
|
-
size:
|
|
45
|
+
status: i,
|
|
46
|
+
focused: r,
|
|
47
|
+
hovered: E,
|
|
48
|
+
id: N,
|
|
49
|
+
postfixWidth: c,
|
|
50
|
+
prefixWidth: n,
|
|
51
|
+
setFocused: v,
|
|
52
|
+
setId: R,
|
|
53
|
+
setPostfixWidth: T,
|
|
54
|
+
setPrefixWidth: A,
|
|
55
|
+
setValueExist: b,
|
|
56
|
+
valueExist: D,
|
|
57
|
+
size: l,
|
|
58
|
+
active: f || r
|
|
57
59
|
},
|
|
58
|
-
children: /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ _(
|
|
59
61
|
"div",
|
|
60
62
|
{
|
|
61
|
-
className:
|
|
63
|
+
className: W(
|
|
62
64
|
t.formField,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
X[l],
|
|
66
|
+
V[i],
|
|
65
67
|
{
|
|
66
|
-
[t.active]:
|
|
68
|
+
[t.active]: f || r
|
|
67
69
|
},
|
|
68
|
-
|
|
70
|
+
x
|
|
69
71
|
),
|
|
70
|
-
onMouseEnter:
|
|
71
|
-
onMouseLeave:
|
|
72
|
-
"data-tx": "1.
|
|
73
|
-
style: { paddingLeft:
|
|
74
|
-
...
|
|
75
|
-
ref:
|
|
76
|
-
children:
|
|
72
|
+
onMouseEnter: w,
|
|
73
|
+
onMouseLeave: C,
|
|
74
|
+
"data-tx": "1.21.0",
|
|
75
|
+
style: { paddingLeft: n, paddingRight: c, ...g },
|
|
76
|
+
...h,
|
|
77
|
+
ref: u,
|
|
78
|
+
children: F
|
|
77
79
|
}
|
|
78
80
|
)
|
|
79
81
|
}
|
|
80
82
|
);
|
|
81
83
|
}
|
|
82
84
|
);
|
|
83
|
-
|
|
85
|
+
k.displayName = "FormField";
|
|
84
86
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
k as FormField,
|
|
88
|
+
V as statusToClassNameMap
|
|
87
89
|
};
|
|
88
90
|
//# sourceMappingURL=FormField.js.map
|
|
@@ -19,10 +19,11 @@ const o = {
|
|
|
19
19
|
setValueExist: () => {
|
|
20
20
|
},
|
|
21
21
|
valueExist: !1,
|
|
22
|
-
size: i.MD
|
|
23
|
-
|
|
22
|
+
size: i.MD,
|
|
23
|
+
active: !1
|
|
24
|
+
}, d = t.createContext(o);
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
d as FormFieldContext,
|
|
26
27
|
o as initialFormFieldContext
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=FormFieldContext.js.map
|
|
@@ -1,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-CuCj7SgU.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__7d4e9d5a", v = "hidden__0b7aef52", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
10
|
hidden: v
|
|
11
|
-
}, I =
|
|
12
|
-
({ className: d, onMouseDown: e, ...l },
|
|
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
21
|
return /* @__PURE__ */ o(x, { className: n, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...l, ref:
|
|
23
|
+
}, ...l, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
I.displayName = "FormFieldClear";
|
|
@@ -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__07307901", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, l = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
10
|
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
l.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
l as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__c86c7305", p = "withCounter__2f1214e7", 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(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 {
|
|
@@ -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-CuCj7SgU.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-BXZLkCG-.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { n as N, c as S } from "../../../chunks/vendor-
|
|
2
|
+
import u, { useContext as E, useState as g, useEffect as A } from "react";
|
|
3
|
+
import { n as N, c as S } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
4
4
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
7
|
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
8
|
-
const C = "
|
|
8
|
+
const C = "formFieldLabel__4064b567", I = "sm__4e3f34fa", M = "md__390f6d1a", R = "lg__d8ba3336", v = "floating__17ca77bf", z = "formFieldLabelText__d60b2223", G = "disabled__3a3108fa", t = {
|
|
9
9
|
formFieldLabel: C,
|
|
10
10
|
sm: I,
|
|
11
11
|
md: M,
|
|
12
12
|
lg: R,
|
|
13
|
-
floating:
|
|
14
|
-
formFieldLabelText:
|
|
15
|
-
disabled:
|
|
16
|
-
},
|
|
13
|
+
floating: v,
|
|
14
|
+
formFieldLabelText: z,
|
|
15
|
+
disabled: G
|
|
16
|
+
}, U = D(t), W = u.forwardRef(
|
|
17
17
|
({ children: d, className: f, style: r, floating: e, ...c }, n) => {
|
|
18
|
-
const { status: _,
|
|
18
|
+
const { status: _, active: l, id: b, prefixWidth: F, postfixWidth: L, size: x, valueExist: a } = E(h), [s, o] = g(!1);
|
|
19
19
|
A(() => {
|
|
20
|
-
!N(e) && e !==
|
|
21
|
-
}, [l,
|
|
20
|
+
!N(e) && e !== s ? o(e) : e !== s && o(l || a);
|
|
21
|
+
}, [l, a, e, s]);
|
|
22
22
|
const p = S(
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
t.formFieldLabel,
|
|
24
|
+
U[x],
|
|
25
25
|
{
|
|
26
|
-
[
|
|
27
|
-
[
|
|
26
|
+
[t.disabled]: _ === y.DISABLED,
|
|
27
|
+
[t.floating]: s
|
|
28
28
|
},
|
|
29
29
|
f
|
|
30
|
-
),
|
|
30
|
+
), T = {
|
|
31
31
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
32
32
|
left: F || m,
|
|
33
33
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
34
34
|
right: L || m,
|
|
35
35
|
...r
|
|
36
36
|
};
|
|
37
|
-
return /* @__PURE__ */ i("label", { className: p, ref: n, htmlFor: b, ...c, style:
|
|
37
|
+
return /* @__PURE__ */ i("label", { className: p, ref: n, htmlFor: b, ...c, style: T, children: /* @__PURE__ */ i("span", { className: t.formFieldLabelText, children: d }) });
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
|
-
|
|
40
|
+
W.displayName = "FormFieldLabel";
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
W as FormFieldLabel
|
|
43
43
|
};
|
|
44
44
|
//# sourceMappingURL=FormFieldLabel.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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 a } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, o as U, q as a } from "../../../chunks/vendor-CuCj7SgU.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-BXZLkCG-.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__fefbaa57", X = "formFieldMaskedInputPlaceholder__1396ef53", Y = "formFieldMaskedInput__7870dcc5", 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__e0da98f3",
|
|
12
|
+
"size-md": "size-md__d6b60af2",
|
|
13
|
+
"size-lg": "size-lg__afbb2769",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, p = ({
|
|
16
16
|
className: I,
|
|
@@ -23,9 +23,9 @@ const Q = "formFieldMaskedInputWrapper__552aafb4", X = "formFieldMaskedInputPlac
|
|
|
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
31
|
const { conformedValue: i } = a.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
@@ -60,7 +60,7 @@ const Q = "formFieldMaskedInputWrapper__552aafb4", X = "formFieldMaskedInputPlac
|
|
|
60
60
|
};
|
|
61
61
|
}, D = () => o === p.presets.masks.phone ? (s = P(s).value, s) : a.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
-
}, j = () => !
|
|
63
|
+
}, j = () => !y && !z || !s && g ? "" : x;
|
|
64
64
|
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
const P = "formFieldPostfix__330a088d", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
7
|
+
}, _ = l.forwardRef(
|
|
8
|
+
({ children: s, className: i, ...r }, o) => {
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
12
|
return a(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__2a0371f9", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
const P = "formFieldPrefix__3379917a", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(
|
|
9
|
+
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(F), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,50 +1,52 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import E, { useContext as T, useRef as v, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as N, u as S } from "../../../chunks/vendor-
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
4
|
+
import { c as N, u as S } from "../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
+
import { EFormFieldStatus as l } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__c742e43c", L = "placeholder__faa938f4", W = "disabled__3a3108fa", R = "placeholderWrapper__f06ae357", y = "active__2c2dd6d7", 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-
|
|
13
|
-
placeholderWrapper: R
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[e.
|
|
18
|
-
|
|
10
|
+
"size-sm": "size-sm__e0da98f3",
|
|
11
|
+
"size-md": "size-md__d6b60af2",
|
|
12
|
+
"size-lg": "size-lg__afbb2769",
|
|
13
|
+
placeholderWrapper: R,
|
|
14
|
+
active: y
|
|
15
|
+
}, C = E.forwardRef((_, F) => {
|
|
16
|
+
const { className: h, id: a, onBlur: c, onFocus: o, placeholder: m, children: r, ...b } = _, { status: s, setFocused: p, setId: t, setValueExist: f, size: g, active: z } = T(B), D = N(e.formFieldTarget, h, e[`size-${g}`], {
|
|
17
|
+
[e.disabled]: s === l.DISABLED,
|
|
18
|
+
[e.placeholder]: !!m && !r && s !== l.DISABLED,
|
|
19
|
+
[e.active]: z
|
|
20
|
+
}), d = v(a || S("formFieldTarget_"));
|
|
19
21
|
n(() => {
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
|
|
23
|
-
}, [
|
|
24
|
-
f(!!
|
|
25
|
-
}, [f,
|
|
26
|
-
const
|
|
27
|
-
p(!1),
|
|
28
|
-
},
|
|
29
|
-
p(!0),
|
|
22
|
+
t(d.current);
|
|
23
|
+
}, [t]), n(() => {
|
|
24
|
+
a && (d.current = a, t(d.current));
|
|
25
|
+
}, [a, t]), n(() => {
|
|
26
|
+
f(!!r);
|
|
27
|
+
}, [f, r]);
|
|
28
|
+
const I = (i) => {
|
|
29
|
+
p(!1), c == null || c(i);
|
|
30
|
+
}, x = (i) => {
|
|
31
|
+
p(!0), o == null || o(i);
|
|
30
32
|
};
|
|
31
33
|
return /* @__PURE__ */ u(
|
|
32
34
|
"div",
|
|
33
35
|
{
|
|
34
|
-
...
|
|
35
|
-
className:
|
|
36
|
-
"aria-disabled":
|
|
37
|
-
id:
|
|
38
|
-
onFocus:
|
|
39
|
-
onBlur:
|
|
40
|
-
tabIndex:
|
|
36
|
+
...b,
|
|
37
|
+
className: D,
|
|
38
|
+
"aria-disabled": s === l.DISABLED,
|
|
39
|
+
id: d.current,
|
|
40
|
+
onFocus: x,
|
|
41
|
+
onBlur: I,
|
|
42
|
+
tabIndex: s === l.DISABLED ? -1 : 0,
|
|
41
43
|
ref: F,
|
|
42
|
-
children:
|
|
44
|
+
children: r || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
45
|
}
|
|
44
46
|
);
|
|
45
47
|
});
|
|
46
|
-
|
|
48
|
+
C.displayName = "FormFieldTarget";
|
|
47
49
|
export {
|
|
48
|
-
|
|
50
|
+
C as FormFieldTarget
|
|
49
51
|
};
|
|
50
52
|
//# sourceMappingURL=FormFieldTarget.js.map
|