@sberbusiness/triplex-next 1.21.0 → 1.23.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 +54 -25
- package/chunks/{AlertProcessSpoiler-io5SjBK8.js → AlertProcessSpoiler-IulaUJl0.js} +9 -9
- package/chunks/CalendarViewItem-DhRDn7-d.js +101 -0
- package/chunks/Card.module-DSOXKXtd.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DNUeMDQZ.js +15 -0
- package/chunks/Chip-EVPZneh2.js +104 -0
- package/chunks/Confirm.module-gphOS6IB.js +15 -0
- package/chunks/{DropdownListItem-gGRZUigY.js → DropdownListItem-BOB8eQXM.js} +19 -19
- package/chunks/DropdownMobile.module-B8t5FlvW.js +23 -0
- package/chunks/Footer.module-CMW0u8UD.js +9 -0
- package/chunks/FormFieldInput-CwX_1h09.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DUG5ZWLV.js +9 -0
- package/chunks/HeaderTabs.module-BKu6DIV4.js +9 -0
- package/chunks/{HeaderTitle.module-G-lXVibC.js → HeaderTitle.module-DyI7KGeM.js} +2 -2
- package/chunks/IslandAccordion.module-Q_9Jiw2w.js +25 -0
- package/chunks/IslandWidgetFooter.module-DjNDtlKM.js +9 -0
- package/chunks/IslandWidgetHeader.module-DiWg8j16.js +12 -0
- package/chunks/{LightBoxContent-Dwdsxv-p.js → LightBoxContent-CE6sXjX1.js} +13 -13
- package/chunks/LightBoxControls.module-BaHnxhDB.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CuuwIIzJ.js +9 -0
- package/chunks/ListItemControlsButton-BCd2PF9-.js +51 -0
- package/chunks/ListItemTail.module-D_nBCryf.js +12 -0
- package/chunks/ListMasterFooter.module-D4TPImq7.js +10 -0
- package/chunks/ModalWindow.module-u5Pst2YX.js +17 -0
- package/chunks/Notification.module-809Tnazq.js +20 -0
- package/chunks/Overlay.module-c4cyqpKr.js +18 -0
- package/chunks/Page.module-CixV2VSG.js +11 -0
- package/chunks/{RightBorderArrow-BStHeZkJ.js → RightBorderArrow-nrRpapza.js} +4 -4
- package/chunks/SMSField.module-Qub64N0s.js +16 -0
- package/chunks/SliderExtendedMarks.module-BdFYVISZ.js +15 -0
- package/chunks/SliderExtendedRail-BP0BcOY7.js +40 -0
- package/chunks/StatusTracker.module-BMkZgzxy.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DP7pX8_2.js → SuggestFieldMobileDropdownHint-CRvB37lf.js} +4 -4
- package/chunks/TableFooter.module-BW9hgU6o.js +14 -0
- package/chunks/TabsExtended.module-By6HIyMh.js +16 -0
- package/chunks/TabsLine.module-KvKWfBwF.js +21 -0
- package/chunks/TooltipDesktop.module-DAGDT-nl.js +19 -0
- package/chunks/TreeView.module-B8RxFbbh.js +9 -0
- package/chunks/{UploadZoneInput--cEsI9GG.js → UploadZoneInput-D9OID08A.js} +8 -8
- package/chunks/{constants-Dag2NxzH.js → constants-DXLVATUh.js} +6 -6
- package/chunks/{utils-mDzXEbG8.js → utils-BDGrf0u9.js} +5 -5
- package/chunks/utils-BXi-2Jma.js +28 -0
- package/chunks/utils-CvsNd4Ut.js +24 -0
- package/chunks/utils-DXnkRIJ2.js +73 -0
- package/chunks/{vendor-CuCj7SgU.js → vendor-BiObpx9E.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +8 -8
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +30 -30
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -78
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +7 -7
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +13 -13
- 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 +12 -12
- package/components/Checkbox/Checkbox.js +9 -9
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- 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 +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +11 -12
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +9 -10
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +28 -28
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +22 -22
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +17 -17
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +5 -5
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- 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 +3 -3
- package/components/Ellipsis/Ellipsis.js +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +30 -30
- 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 +70 -78
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +29 -29
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +61 -34
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- 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 +7 -7
- 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 +2 -2
- 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 +16 -16
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +14 -14
- 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 +13 -13
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +16 -16
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +9 -13
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- 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 +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +26 -19
- 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 +5 -5
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +13 -13
- 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 +12 -12
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- 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 +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +16 -16
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +36 -36
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +14 -14
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +39 -39
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +10 -10
- 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 +2 -2
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +25 -24
- 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 +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +5 -5
- 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 +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +27 -27
- package/components/TagColor/TagColor.js +7 -7
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- 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/TopOverlay/TopOverlay.js +10 -10
- 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 +24 -24
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- 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 +541 -538
- package/index.d.ts +76 -32
- package/index.js +577 -574
- package/package.json +3 -4
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-CW39vnxU.js +0 -101
- package/chunks/Card.module-wkZoieJo.js +0 -17
- package/chunks/CheckboxTreeExtended.module-yaZgGm0h.js +0 -15
- package/chunks/Chip-CtmEt4Cp.js +0 -90
- package/chunks/Confirm.module-Bi0IoVgW.js +0 -15
- package/chunks/DropdownMobile.module-D1Tda3VC.js +0 -23
- package/chunks/Footer.module-dEM87TWq.js +0 -9
- package/chunks/FormFieldInput-BXZLkCG-.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-CPuC-nCL.js +0 -9
- package/chunks/HeaderTabs.module-lGf7L-VN.js +0 -9
- package/chunks/IslandAccordion.module-CmJ_07-4.js +0 -25
- package/chunks/IslandWidgetFooter.module-PAcTvDvE.js +0 -9
- package/chunks/IslandWidgetHeader.module-CCpvQ7cl.js +0 -12
- package/chunks/LightBoxControls.module-C0ehN4OK.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DQQjxPZ4.js +0 -9
- package/chunks/ListItemControlsButton-CXrdUtOj.js +0 -43
- package/chunks/ListItemTail.module-t77bOXMm.js +0 -12
- package/chunks/ListMasterFooter.module-S-2GdDuq.js +0 -10
- package/chunks/ModalWindow.module-BNDWxL9E.js +0 -17
- package/chunks/Notification.module-BukggXdi.js +0 -20
- package/chunks/Overlay.module-DNkYF6tu.js +0 -18
- package/chunks/Page.module-Bz9n-Dho.js +0 -11
- package/chunks/SMSField.module-DBEf-aa7.js +0 -16
- package/chunks/SliderExtendedMarks.module-QVPE-s18.js +0 -15
- package/chunks/SliderExtendedRail-1zC_WMFD.js +0 -40
- package/chunks/StatusTracker.module-_Hh_EXXG.js +0 -24
- package/chunks/TableFooter.module-nim97iDm.js +0 -14
- package/chunks/TabsExtended.module-33reL6bh.js +0 -16
- package/chunks/TabsLine.module-BS4pWC4f.js +0 -21
- package/chunks/TooltipDesktop.module-CU1qQ4fM.js +0 -19
- package/chunks/TreeView.module-7JefvvHQ.js +0 -9
- package/chunks/utils-C81PwsD3.js +0 -24
- package/chunks/utils-DKXtpqrd.js +0 -73
- package/chunks/utils-wIML3CoI.js +0 -27
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
expandAnimation:
|
|
6
|
-
},
|
|
2
|
+
import U, { useRef as y } from "react";
|
|
3
|
+
import { z as b, c as j } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
const z = "expandAnimation__da11306d", F = {
|
|
5
|
+
expandAnimation: z
|
|
6
|
+
}, I = 300, L = U.forwardRef(
|
|
7
7
|
({
|
|
8
|
-
children:
|
|
8
|
+
children: A,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: f = I,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: l,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
18
|
-
const m =
|
|
17
|
+
}, x) => {
|
|
18
|
+
const m = y({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}),
|
|
24
|
+
}), d = y(null), w = (c) => {
|
|
25
25
|
var u;
|
|
26
|
-
|
|
27
|
-
},
|
|
26
|
+
d.current && (m.current.entering.height = d.current.scrollHeight), l == null || l(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
|
+
}, H = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
|
-
}, H = () => {
|
|
31
|
-
var c;
|
|
32
|
-
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
30
|
}, T = () => {
|
|
31
|
+
var c;
|
|
32
|
+
d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
+
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, N = (c) => {
|
|
37
|
+
d.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
b,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
44
|
-
nodeRef:
|
|
43
|
+
timeout: f,
|
|
44
|
+
nodeRef: d,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
|
-
onEntered:
|
|
48
|
-
onExit:
|
|
49
|
-
onExited:
|
|
47
|
+
onEntered: H,
|
|
48
|
+
onExit: T,
|
|
49
|
+
onExited: D,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: j(
|
|
53
|
+
className: j(F.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: f + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
61
|
-
children:
|
|
60
|
+
ref: N,
|
|
61
|
+
children: A
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
|
-
|
|
68
|
+
L.displayName = "ExpandAnimation";
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
L as ExpandAnimation
|
|
71
71
|
};
|
|
72
72
|
//# sourceMappingURL=ExpandAnimation.js.map
|
|
@@ -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.23.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-BiObpx9E.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-CMW0u8UD.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-BiObpx9E.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-CMW0u8UD.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-BiObpx9E.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-CMW0u8UD.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,90 +1,82 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { FormFieldContext as
|
|
5
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
6
|
-
import { EFormFieldStatus as
|
|
7
|
-
import { EComponentSize as
|
|
8
|
-
import { createSizeToClassNameMap as
|
|
9
|
-
const
|
|
10
|
-
formField:
|
|
11
|
-
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import I, { useState as t, useMemo as L } from "react";
|
|
3
|
+
import { c as h } from "../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { FormFieldContext as v } from "./FormFieldContext.js";
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
6
|
+
import { EFormFieldStatus as o } from "./enums.js";
|
|
7
|
+
import { EComponentSize as w } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
9
|
+
const S = "formField__913f43e5", W = "sm__26ad389e", G = "md__d9ffd574", M = "lg__35f13ce0", P = "active__41fe4b61", y = "disabled__31b1d2c0", U = "error__ff5f0f6c", j = "warning__0f9e5e33", z = "filled__092d3f2a", e = {
|
|
10
|
+
formField: S,
|
|
11
|
+
sm: W,
|
|
12
|
+
md: G,
|
|
13
|
+
lg: M,
|
|
14
|
+
default: "default__58caed7e",
|
|
15
|
+
active: P,
|
|
12
16
|
disabled: y,
|
|
13
|
-
|
|
14
|
-
error: z,
|
|
17
|
+
error: U,
|
|
15
18
|
warning: j,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
|
|
23
|
-
[s.WARNING]: t.warning
|
|
24
|
-
}, X = L(t), k = S.forwardRef(
|
|
19
|
+
filled: z
|
|
20
|
+
}, B = {
|
|
21
|
+
[o.DEFAULT]: e.default,
|
|
22
|
+
[o.DISABLED]: e.disabled,
|
|
23
|
+
[o.ERROR]: e.error,
|
|
24
|
+
[o.WARNING]: e.warning
|
|
25
|
+
}, O = C(e), V = I.forwardRef(
|
|
25
26
|
({
|
|
26
|
-
children:
|
|
27
|
-
className:
|
|
28
|
-
status: i = s.DEFAULT,
|
|
29
|
-
onMouseEnter: a,
|
|
30
|
-
onMouseLeave: o,
|
|
27
|
+
children: p,
|
|
28
|
+
className: F,
|
|
31
29
|
style: g,
|
|
32
|
-
size:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
size: s = w.LG,
|
|
31
|
+
status: r = o.DEFAULT,
|
|
32
|
+
active: a = !1,
|
|
33
|
+
...u
|
|
34
|
+
}, x) => {
|
|
35
|
+
const [m, T] = t(), [c, b] = t(), [i, E] = t(_), [l, N] = t(_), [f, R] = t(!1), [d, A] = t(!1), D = L(
|
|
36
|
+
() => ({
|
|
37
|
+
size: s,
|
|
38
|
+
status: r,
|
|
39
|
+
targetId: m,
|
|
40
|
+
labelId: c,
|
|
41
|
+
postfixWidth: i,
|
|
42
|
+
prefixWidth: l,
|
|
43
|
+
filled: f,
|
|
44
|
+
focused: d,
|
|
45
|
+
active: a || d,
|
|
46
|
+
setTargetId: T,
|
|
47
|
+
setLabelId: b,
|
|
48
|
+
setPostfixWidth: E,
|
|
49
|
+
setPrefixWidth: N,
|
|
50
|
+
setFilled: R,
|
|
51
|
+
setFocused: A
|
|
52
|
+
}),
|
|
53
|
+
[s, r, m, c, i, l, f, d, a]
|
|
54
|
+
);
|
|
55
|
+
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
|
+
"div",
|
|
43
57
|
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
|
59
|
-
},
|
|
60
|
-
children: /* @__PURE__ */ _(
|
|
61
|
-
"div",
|
|
58
|
+
className: h(
|
|
59
|
+
e.formField,
|
|
60
|
+
O[s],
|
|
61
|
+
B[r],
|
|
62
62
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
onMouseLeave: C,
|
|
74
|
-
"data-tx": "1.21.0",
|
|
75
|
-
style: { paddingLeft: n, paddingRight: c, ...g },
|
|
76
|
-
...h,
|
|
77
|
-
ref: u,
|
|
78
|
-
children: F
|
|
79
|
-
}
|
|
80
|
-
)
|
|
63
|
+
[e.filled]: f,
|
|
64
|
+
[e.active]: a || d
|
|
65
|
+
},
|
|
66
|
+
F
|
|
67
|
+
),
|
|
68
|
+
"data-tx": "1.23.0",
|
|
69
|
+
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
|
+
...u,
|
|
71
|
+
ref: x,
|
|
72
|
+
children: p
|
|
81
73
|
}
|
|
82
|
-
);
|
|
74
|
+
) });
|
|
83
75
|
}
|
|
84
76
|
);
|
|
85
|
-
|
|
77
|
+
V.displayName = "FormField";
|
|
86
78
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
79
|
+
V as FormField,
|
|
80
|
+
B as statusToClassNameMap
|
|
89
81
|
};
|
|
90
82
|
//# sourceMappingURL=FormField.js.map
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import t from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
3
|
+
import { EFormFieldStatus as i } from "./enums.js";
|
|
4
4
|
const o = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
size: e.LG,
|
|
6
|
+
status: i.DEFAULT,
|
|
7
|
+
targetId: void 0,
|
|
8
|
+
labelId: void 0,
|
|
9
9
|
postfixWidth: 0,
|
|
10
10
|
prefixWidth: 0,
|
|
11
|
-
|
|
11
|
+
filled: !1,
|
|
12
|
+
focused: !1,
|
|
13
|
+
active: !1,
|
|
14
|
+
setTargetId: () => {
|
|
12
15
|
},
|
|
13
|
-
|
|
16
|
+
setLabelId: () => {
|
|
14
17
|
},
|
|
15
18
|
setPostfixWidth: () => {
|
|
16
19
|
},
|
|
17
20
|
setPrefixWidth: () => {
|
|
18
21
|
},
|
|
19
|
-
|
|
22
|
+
setFilled: () => {
|
|
20
23
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}, d = t.createContext(o);
|
|
24
|
+
setFocused: () => {
|
|
25
|
+
}
|
|
26
|
+
}, r = t.createContext(o);
|
|
25
27
|
export {
|
|
26
|
-
|
|
28
|
+
r as FormFieldContext,
|
|
27
29
|
o as initialFormFieldContext
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=FormFieldContext.js.map
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
4
|
-
import { CrossStrokeSrvIcon16 as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const { status: m, focused: s, hovered: i, valueExist: f } = F(C), n = p(
|
|
14
|
-
t.formFieldClear,
|
|
15
|
-
"hoverable",
|
|
16
|
-
{
|
|
17
|
-
[t.hidden]: !f || m === u.DISABLED || !(s || i)
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import f, { useCallback as i } from "react";
|
|
3
|
+
import { c } from "../../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { CrossStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
5
|
+
import { ButtonIcon as s } from "../../Button/ButtonIcon.js";
|
|
6
|
+
const p = "formFieldClear__e84651f8", C = {
|
|
7
|
+
formFieldClear: p
|
|
8
|
+
}, F = f.forwardRef(
|
|
9
|
+
({ className: a, onMouseDown: r, ...t }, m) => {
|
|
10
|
+
const o = i(
|
|
11
|
+
(e) => {
|
|
12
|
+
e.preventDefault(), r == null || r(e);
|
|
18
13
|
},
|
|
19
|
-
|
|
14
|
+
[r]
|
|
15
|
+
);
|
|
16
|
+
return /* @__PURE__ */ l(
|
|
17
|
+
s,
|
|
18
|
+
{
|
|
19
|
+
...t,
|
|
20
|
+
className: c(C.formFieldClear, "hoverable", a),
|
|
21
|
+
onMouseDown: o,
|
|
22
|
+
ref: m,
|
|
23
|
+
children: /* @__PURE__ */ l(d, { paletteIndex: 5 })
|
|
24
|
+
}
|
|
20
25
|
);
|
|
21
|
-
return /* @__PURE__ */ o(x, { className: n, onMouseDown: (r) => {
|
|
22
|
-
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...l, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
26
|
}
|
|
25
27
|
);
|
|
26
|
-
|
|
28
|
+
F.displayName = "FormFieldClear";
|
|
27
29
|
export {
|
|
28
|
-
|
|
30
|
+
F as FormFieldClear
|
|
29
31
|
};
|
|
30
32
|
//# sourceMappingURL=FormFieldClear.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__87ac50c3", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, l = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-BiObpx9E.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__5c5f2005", p = "withCounter__5bdb5833", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: r, ...e }) => {
|
|
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 }), ...e, children: r }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "../../../chunks/vendor-BiObpx9E.js";
|
|
3
4
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-CuCj7SgU.js";
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-BXZLkCG-.js";
|
|
6
5
|
import "../enums.js";
|
|
7
6
|
import "../../../utils/classNameMaps.js";
|
|
7
|
+
import "./utils.js";
|
|
8
|
+
import { F as d } from "../../../chunks/FormFieldInput-CwX_1h09.js";
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
d as FormFieldInput
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=FormFieldInput.js.map
|
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { FormFieldContext as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import A, { useContext as E, useMemo as N, useLayoutEffect as I } from "react";
|
|
3
|
+
import { u as S, c as h } from "../../../chunks/vendor-BiObpx9E.js";
|
|
4
|
+
import { FormFieldContext as y } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
|
-
import { EFormFieldStatus as
|
|
7
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
8
|
-
const
|
|
9
|
-
formFieldLabel:
|
|
10
|
-
sm:
|
|
11
|
-
md:
|
|
12
|
-
lg:
|
|
13
|
-
floating:
|
|
14
|
-
formFieldLabelText:
|
|
15
|
-
disabled:
|
|
16
|
-
},
|
|
17
|
-
({ children:
|
|
18
|
-
const {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}, [l, a, e, s]);
|
|
22
|
-
const p = S(
|
|
23
|
-
t.formFieldLabel,
|
|
24
|
-
U[x],
|
|
6
|
+
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as a } from "../consts.js";
|
|
8
|
+
const M = "formFieldLabel__c6f22484", R = "sm__26ad389e", v = "md__d9ffd574", z = "lg__35f13ce0", G = "floating__d9407c8a", W = "formFieldLabelText__f91d9ca2", j = "disabled__31b1d2c0", e = {
|
|
9
|
+
formFieldLabel: M,
|
|
10
|
+
sm: R,
|
|
11
|
+
md: v,
|
|
12
|
+
lg: z,
|
|
13
|
+
floating: G,
|
|
14
|
+
formFieldLabelText: W,
|
|
15
|
+
disabled: j
|
|
16
|
+
}, q = D(e), w = A.forwardRef(
|
|
17
|
+
({ children: i, id: t, className: d, style: m, floating: f, ...r }, 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]), u = f ?? (F || L), x = h(
|
|
19
|
+
e.formFieldLabel,
|
|
20
|
+
q[_],
|
|
25
21
|
{
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[e.floating]: u,
|
|
23
|
+
[e.disabled]: b === C.DISABLED
|
|
28
24
|
},
|
|
29
|
-
|
|
25
|
+
d
|
|
30
26
|
), T = {
|
|
31
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
32
|
-
left:
|
|
28
|
+
left: g || a,
|
|
33
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
34
|
-
right:
|
|
35
|
-
...
|
|
30
|
+
right: p || a,
|
|
31
|
+
...m
|
|
36
32
|
};
|
|
37
|
-
return
|
|
33
|
+
return I(() => {
|
|
34
|
+
o(l);
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ s("label", { ...r, id: l, className: x, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ s("span", { className: e.formFieldLabelText, children: i }) });
|
|
38
36
|
}
|
|
39
37
|
);
|
|
40
|
-
|
|
38
|
+
w.displayName = "FormFieldLabel";
|
|
41
39
|
export {
|
|
42
|
-
|
|
40
|
+
w as FormFieldLabel
|
|
43
41
|
};
|
|
44
42
|
//# sourceMappingURL=FormFieldLabel.js.map
|