@sberbusiness/triplex-next 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-u6M_UUD9.js +41 -0
- package/chunks/{CalendarViewItem-D_gRwbwg.js → CalendarViewItem-0qx9TN09.js} +21 -21
- package/chunks/Card.module-Dk_x12aX.js +18 -0
- package/chunks/CheckboxTreeExtended.module-BYEXhagY.js +15 -0
- package/chunks/{Chip-Bk0l10k4.js → Chip-CgSrMLOj.js} +9 -9
- package/chunks/Confirm.module-D-Z-baL7.js +15 -0
- package/chunks/{DropdownListItem-CGZyMM5K.js → DropdownListItem-DsKl9Gi-.js} +12 -12
- package/chunks/DropdownMobile.module-DBKmP6tH.js +23 -0
- package/chunks/Footer.module-D19luc11.js +9 -0
- package/chunks/{FormFieldInput-B7snQZVi.js → FormFieldInput-DM8lK78a.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-BEWjTVQC.js +9 -0
- package/chunks/HeaderTabs.module-B3OUkcWC.js +9 -0
- package/chunks/{HeaderTitle.module-CgarzGR5.js → HeaderTitle.module-wm7lWk21.js} +2 -2
- package/chunks/IslandAccordion.module-CkjSe196.js +25 -0
- package/chunks/IslandWidgetFooter.module-DkGCGVtt.js +9 -0
- package/chunks/IslandWidgetHeader.module-D_0Z5Wkx.js +13 -0
- package/chunks/{LightBoxContent-BdM4QdVW.js → LightBoxContent-C-Q4JvDf.js} +8 -8
- package/chunks/LightBoxControls.module-D6dJVyd1.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Pvh5SxlA.js +9 -0
- package/chunks/{ListItemControlsButton-Bo2ir8rI.js → ListItemControlsButton-B52gadtt.js} +15 -15
- package/chunks/ListItemTail.module-96x050E6.js +12 -0
- package/chunks/ListMasterFooter.module-QCC2uvr7.js +10 -0
- package/chunks/ModalWindow.module-D3XZrRCV.js +17 -0
- package/chunks/Notification.module-MWvLXIRM.js +20 -0
- package/chunks/Overlay.module-nAMUorJ1.js +18 -0
- package/chunks/Page.module-BDTFNqSr.js +11 -0
- package/chunks/SMSField.module-Dt8sZq_D.js +16 -0
- package/chunks/SliderExtendedMarks.module-BIprSBVE.js +15 -0
- package/chunks/{SliderExtendedRail-B1jT6Bzj.js → SliderExtendedRail-EN9dWr8g.js} +8 -8
- package/chunks/StatusTracker.module-GZp9BaaE.js +24 -0
- package/chunks/{StepperStepArrowBorder-CjYvRZAE.js → StepperStepArrowBorder-B2mxgMOK.js} +9 -9
- package/chunks/{SuggestFieldMobileDropdownHint--qfcwzvU.js → SuggestFieldMobileDropdownHint-8plGk4NO.js} +4 -4
- package/chunks/TableFooter.module-C1wbovyw.js +14 -0
- package/chunks/TabsExtended.module-DATvYZNn.js +16 -0
- package/chunks/TabsLine.module-O3-2VgYL.js +21 -0
- package/chunks/TooltipDesktop.module-COHJz2TY.js +19 -0
- package/chunks/TreeView.module-Cxj4qOdA.js +9 -0
- package/chunks/{UploadZoneInput-BOfYw8qb.js → UploadZoneInput-B-gVlolB.js} +8 -8
- package/chunks/{constants-CsbqScFv.js → constants-CgVlsuXP.js} +12 -12
- package/chunks/{utils-BB-XJeUI.js → utils-B3jUITHO.js} +5 -5
- package/chunks/{utils-DNiUrC2u.js → utils-BygtCSQo.js} +4 -4
- package/chunks/utils-Dwhaig77.js +24 -0
- package/chunks/utils-mJogbZdW.js +73 -0
- package/chunks/vendor-z35N2Tap.js +12618 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +24 -24
- 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 +17 -17
- package/components/Badge/Badge.js +3 -3
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +5 -5
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +24 -24
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +4 -4
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +19 -19
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +5 -5
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +10 -10
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +5 -5
- 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 +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +146 -146
- package/components/CollapsibleTree/CollapsibleTree.js +23 -0
- package/components/CollapsibleTree/components/CollapsibleTreeBranchNode.js +37 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +13 -0
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +24 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +44 -0
- package/components/CollapsibleTree/components/CollapsibleTreeNodeLabel.js +12 -0
- package/components/CollapsibleTree/index.js +11 -0
- package/components/CollapsibleTree/types.js +5 -0
- package/components/CollapsibleTreeExtended/CollapsibleTreeExtended.js +10 -0
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +71 -0
- package/components/CollapsibleTreeExtended/index.js +7 -0
- 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/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +12 -12
- package/components/DateRange/DateRange.js +20 -20
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +89 -84
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +83 -78
- package/components/DesignTokens/components/CollapsibleTree.js +11 -0
- package/components/DesignTokens/components/ListItem.js +7 -4
- package/components/DesignTokens/components/index.js +138 -135
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- 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 +4 -4
- 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 +6 -6
- package/components/EmptyView/EmptyView.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +17 -17
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +24 -17
- package/components/FormField/components/FormFieldPrefix.js +24 -17
- package/components/FormField/components/FormFieldTarget.js +20 -20
- package/components/FormField/components/FormFieldTextarea.js +25 -25
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +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 +19 -19
- package/components/IconWrapper/IconWrapper.js +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +19 -19
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- 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/IslandWidgetHeaderControls.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +4 -4
- package/components/LightBox/LightBox.js +11 -11
- 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 +20 -20
- 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 +8 -8
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +17 -17
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +8 -8
- package/components/List/components/ListItemContent.js +21 -16
- package/components/List/components/ListItemContext.js +5 -2
- package/components/List/components/ListItemControls.js +6 -6
- 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 +30 -27
- package/components/List/components/ListItemTable.js +15 -14
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +5 -5
- 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 +3 -3
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- 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 +15 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- 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/MonthYearRange/MonthYearRange.js +14 -14
- package/components/MultiselectField/MultiselectField.js +19 -14
- package/components/MultiselectField/MultiselectFieldContext.js +5 -4
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +32 -29
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +5 -5
- 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 +3 -3
- 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 +11 -11
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +16 -16
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +20 -20
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +2 -2
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +29 -29
- 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 +3 -3
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +21 -21
- 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 +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +6 -6
- 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 +14 -14
- package/components/Stepper/Stepper.js +33 -33
- package/components/Stepper/StepperExtended.js +9 -9
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- 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 +21 -21
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +7 -7
- 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 +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +12 -12
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +22 -17
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- 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 +5 -5
- package/components/TopOverlay/TopOverlay.js +22 -22
- 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 +27 -27
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/UploadZone/index.js +1 -1
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +587 -579
- package/index.d.ts +134 -58
- package/index.js +628 -620
- package/package.json +8 -4
- package/styles/triplex-next.css +541 -538
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DE66k9NP.js +0 -41
- package/chunks/Card.module-BWjkCuCg.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D7kAm43p.js +0 -15
- package/chunks/Confirm.module-UrrVAY0j.js +0 -15
- package/chunks/DropdownMobile.module-DyKJlGOg.js +0 -23
- package/chunks/Footer.module-sbV81EJD.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-x2nqqRdl.js +0 -9
- package/chunks/HeaderTabs.module-CksnQh12.js +0 -9
- package/chunks/IslandAccordion.module-BXOOvpYn.js +0 -25
- package/chunks/IslandWidgetFooter.module-DwWAkCRp.js +0 -9
- package/chunks/IslandWidgetHeader.module-CQebj2O8.js +0 -13
- package/chunks/LightBoxControls.module-CZYk-V6O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-ColwiMcL.js +0 -9
- package/chunks/ListItemTail.module-CFYYwAc-.js +0 -12
- package/chunks/ListMasterFooter.module-BUKqB_dT.js +0 -10
- package/chunks/ModalWindow.module-4BH52pa7.js +0 -17
- package/chunks/Notification.module-Bkv2fddJ.js +0 -20
- package/chunks/Overlay.module-B986w4hy.js +0 -18
- package/chunks/Page.module-oopm23nH.js +0 -11
- package/chunks/SMSField.module-B48LpGzA.js +0 -16
- package/chunks/SliderExtendedMarks.module-DkUSlj4_.js +0 -15
- package/chunks/StatusTracker.module-BtXyaaNz.js +0 -24
- package/chunks/TableFooter.module-CTUrl1eY.js +0 -14
- package/chunks/TabsExtended.module-_Y6KIl3m.js +0 -16
- package/chunks/TabsLine.module-CaWr6_95.js +0 -21
- package/chunks/TooltipDesktop.module-Crnh1kg9.js +0 -19
- package/chunks/TreeView.module-BKMbHz4P.js +0 -9
- package/chunks/utils-BREiNocx.js +0 -24
- package/chunks/utils-EiF_pPO4.js +0 -73
- package/chunks/vendor-DJ6wKpvR.js +0 -12477
- package/components/CollapsableTree/CollapsableTree.js +0 -10
- package/components/CollapsableTree/components/CollapsableTreeNode.js +0 -79
- package/components/CollapsableTree/index.js +0 -7
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as f } from "../../../chunks/vendor-
|
|
2
|
+
import c, { useCallback as i } from "react";
|
|
3
|
+
import { c as f } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as s } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as d } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__3e1cc67c", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
|
-
}, F =
|
|
9
|
-
({ className:
|
|
10
|
-
const o =
|
|
8
|
+
}, F = c.forwardRef(
|
|
9
|
+
({ className: t, onMouseDown: r, ...a }, m) => {
|
|
10
|
+
const o = i(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
13
13
|
},
|
|
@@ -16,8 +16,8 @@ const p = "formFieldClear__3804b2a4", C = {
|
|
|
16
16
|
return /* @__PURE__ */ l(
|
|
17
17
|
d,
|
|
18
18
|
{
|
|
19
|
-
...
|
|
20
|
-
className: f(C.formFieldClear,
|
|
19
|
+
...a,
|
|
20
|
+
className: f(C.formFieldClear, t),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
23
|
children: /* @__PURE__ */ l(s, { paletteIndex: 5 })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as n, useEffect as i } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__243659a6", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, l = ({ children: o, ...r }) => {
|
|
7
7
|
const { setWithCounter: e } = n(m);
|
|
@@ -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-z35N2Tap.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__ba1dbe41", p = "withCounter__7c28acec", e = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: i, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(e.formFieldDescription, { [e.withCounter]: o }), ...r, children: i }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
3
|
+
import "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import "../FormFieldContext.js";
|
|
5
5
|
import "../enums.js";
|
|
6
6
|
import "../../../utils/classNameMaps.js";
|
|
7
7
|
import "./utils.js";
|
|
8
|
-
import { F as d } from "../../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../../chunks/FormFieldInput-DM8lK78a.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
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-
|
|
3
|
+
import { u as S, c as h } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { FormFieldContext as y } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
8
|
-
const M = "
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as a } from "../consts.js";
|
|
8
|
+
const M = "formFieldLabel__28e8d603", R = "sm__e47ada85", v = "md__c943e3eb", z = "lg__e66758b5", G = "floating__67418690", W = "formFieldLabelText__b5539c45", j = "disabled__38a93b45", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,25 +14,25 @@ const M = "formFieldLabel__744b5375", R = "sm__73ad6550", v = "md__f8b59b9a", z
|
|
|
14
14
|
formFieldLabelText: W,
|
|
15
15
|
disabled: j
|
|
16
16
|
}, q = D(e), w = A.forwardRef(
|
|
17
|
-
({ children: i, id: t, className:
|
|
18
|
-
const { targetId:
|
|
17
|
+
({ children: i, id: t, className: m, style: d, floating: r, ...f }, c) => {
|
|
18
|
+
const { targetId: n, size: b, status: _, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x = r ?? (F || L), u = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
20
|
q[b],
|
|
21
21
|
{
|
|
22
22
|
[e.floating]: x,
|
|
23
23
|
[e.disabled]: _ === C.DISABLED
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
m
|
|
26
26
|
), T = {
|
|
27
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
28
|
-
left: g ||
|
|
28
|
+
left: g || a,
|
|
29
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
|
-
right: p ||
|
|
31
|
-
...
|
|
30
|
+
right: p || a,
|
|
31
|
+
...d
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ s("label", { ...f, id: l, className: u, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ s("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -1,18 +1,18 @@
|
|
|
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 U } from "react";
|
|
3
|
-
import { c as F, m as q, n as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, m as q, n as p } from "../../../chunks/vendor-z35N2Tap.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-DM8lK78a.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__037f5f86", X = "formFieldMaskedInputPlaceholder__6cc6d8c5", Y = "formFieldMaskedInput__02668ad3", u = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__09adfaef",
|
|
12
|
+
"size-md": "size-md__e5962647",
|
|
13
|
+
"size-lg": "size-lg__c404018e",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
|
-
},
|
|
15
|
+
}, a = ({
|
|
16
16
|
className: I,
|
|
17
17
|
forwardedRef: f,
|
|
18
18
|
mask: o,
|
|
@@ -23,7 +23,7 @@ const Q = "formFieldMaskedInputWrapper__ff186aff", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x, y] = $(""),
|
|
26
|
+
const [x, y] = $(""), c = L(!1), { filled: z, focused: k, size: E, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
28
|
y((() => {
|
|
29
29
|
let t = [];
|
|
@@ -43,14 +43,14 @@ const Q = "formFieldMaskedInputWrapper__ff186aff", X = "formFieldMaskedInputPlac
|
|
|
43
43
|
const S = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
49
|
), T = () => {
|
|
50
|
-
|
|
51
|
-
}, D = (e, t) => o ===
|
|
50
|
+
c.current = !0;
|
|
51
|
+
}, D = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
|
-
if (
|
|
53
|
+
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
55
55
|
e = e.replace(i, "+7 ($1"), i = /^\d7/, e = e.replace(i, (r) => (t = Array.from("+7 (").map((Z, A) => A), `+7 (${r}`));
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
@@ -58,7 +58,7 @@ const Q = "formFieldMaskedInputWrapper__ff186aff", X = "formFieldMaskedInputPlac
|
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, b = () => o ===
|
|
61
|
+
}, b = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
64
|
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${E}`]), children: [
|
|
@@ -94,8 +94,8 @@ const Q = "formFieldMaskedInputWrapper__ff186aff", X = "formFieldMaskedInputPlac
|
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
a.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
a as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
3
|
+
import { c as R } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as w } from "../consts.js";
|
|
6
|
+
const N = "formFieldPostfix__3266226f", b = {
|
|
7
|
+
formFieldPostfix: N
|
|
8
|
+
}, g = F.forwardRef(
|
|
9
|
+
({ children: n, className: c, ...m }, t) => {
|
|
10
|
+
const { setPostfixWidth: o } = a(_), s = p(), l = R(b.formFieldPostfix, c), d = (e) => {
|
|
11
|
+
s.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
11
12
|
};
|
|
12
|
-
return
|
|
13
|
-
|
|
13
|
+
return P(() => {
|
|
14
|
+
const e = s.current;
|
|
15
|
+
if (!e)
|
|
14
16
|
return;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
const r = new ResizeObserver(([x]) => {
|
|
18
|
+
const i = x.target.getBoundingClientRect().width;
|
|
19
|
+
o((f) => f !== i ? i : f);
|
|
20
|
+
});
|
|
21
|
+
return r.observe(e), () => {
|
|
22
|
+
r.disconnect(), o(w);
|
|
23
|
+
};
|
|
24
|
+
}, [o]), /* @__PURE__ */ u("span", { className: l, ...m, ref: d, children: n });
|
|
18
25
|
}
|
|
19
26
|
);
|
|
20
|
-
|
|
27
|
+
g.displayName = "FormFieldPostfix";
|
|
21
28
|
export {
|
|
22
|
-
|
|
29
|
+
g as FormFieldPostfix
|
|
23
30
|
};
|
|
24
31
|
//# sourceMappingURL=FormFieldPostfix.js.map
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import F, { useContext as a, useRef as p, useEffect as P } from "react";
|
|
3
|
+
import { c as R } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { FormFieldContext as _ } from "../FormFieldContext.js";
|
|
5
|
+
import { TARGET_PADDING_X_DEFAULT as w } from "../consts.js";
|
|
6
|
+
const N = "formFieldPrefix__fa176879", b = {
|
|
7
|
+
formFieldPrefix: N
|
|
8
|
+
}, g = F.forwardRef(
|
|
9
|
+
({ children: n, className: c, ...m }, r) => {
|
|
10
|
+
const { setPrefixWidth: t } = a(_), o = p(), l = R(b.formFieldPrefix, c), d = (e) => {
|
|
11
|
+
o.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
12
|
};
|
|
12
|
-
return
|
|
13
|
-
|
|
13
|
+
return P(() => {
|
|
14
|
+
const e = o.current;
|
|
15
|
+
if (!e)
|
|
14
16
|
return;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
const s = new ResizeObserver(([x]) => {
|
|
18
|
+
const i = x.target.getBoundingClientRect().width;
|
|
19
|
+
t((f) => f !== i ? i : f);
|
|
20
|
+
});
|
|
21
|
+
return s.observe(e), () => {
|
|
22
|
+
s.disconnect(), t(w);
|
|
23
|
+
};
|
|
24
|
+
}, [t]), /* @__PURE__ */ u("span", { className: l, ...m, ref: d, children: n });
|
|
18
25
|
}
|
|
19
26
|
);
|
|
20
|
-
|
|
27
|
+
g.displayName = "FormFieldPrefix";
|
|
21
28
|
export {
|
|
22
|
-
|
|
29
|
+
g as FormFieldPrefix
|
|
23
30
|
};
|
|
24
31
|
//# sourceMappingURL=FormFieldPrefix.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import b, { useContext as S, useMemo as g, useLayoutEffect as h, useCallback as F } from "react";
|
|
3
|
-
import { u as y, c as A } from "../../../chunks/vendor-
|
|
3
|
+
import { u as y, c as A } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
|
-
import { EFormFieldStatus as
|
|
5
|
+
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__6a88c343", M = "sm__e47ada85", R = "md__c943e3eb", j = "lg__e66758b5", k = "placeholder__6f67592c", q = "disabled__38a93b45", w = "placeholderWrapper__056999d0", B = "active__c19ce769", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -14,41 +14,41 @@ const z = "formFieldTarget__1141b780", M = "sm__73ad6550", R = "md__f8b59b9a", j
|
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
16
|
}, G = W(e), H = b.forwardRef(
|
|
17
|
-
({ children:
|
|
18
|
-
const { size: u, status: s, active: v, labelId: x, setFilled: n, setFocused:
|
|
19
|
-
[e.disabled]: s ===
|
|
20
|
-
[e.placeholder]: !!p && !
|
|
17
|
+
({ children: c, id: o, className: T, placeholder: p, onFocus: a, onBlur: t, ...D }, I) => {
|
|
18
|
+
const { size: u, status: s, active: v, labelId: x, setFilled: n, setFocused: r, setTargetId: _ } = S(L), i = g(() => o === void 0 ? y("target_") : o, [o]), l = g(() => b.Children.toArray(c).length !== 0, [c]), E = A(e.formFieldTarget, G[u], T, {
|
|
19
|
+
[e.disabled]: s === d.DISABLED,
|
|
20
|
+
[e.placeholder]: !!p && !l && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
23
|
h(() => {
|
|
24
|
-
|
|
25
|
-
}, [i,
|
|
26
|
-
n(
|
|
27
|
-
}, [
|
|
24
|
+
_(i);
|
|
25
|
+
}, [i, _]), h(() => {
|
|
26
|
+
n(l);
|
|
27
|
+
}, [l, n]);
|
|
28
28
|
const C = F(
|
|
29
29
|
(m) => {
|
|
30
|
-
|
|
30
|
+
r(!0), a == null || a(m);
|
|
31
31
|
},
|
|
32
|
-
[a,
|
|
32
|
+
[a, r]
|
|
33
33
|
), N = F(
|
|
34
34
|
(m) => {
|
|
35
|
-
|
|
35
|
+
r(!1), t == null || t(m);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
37
|
+
[t, r]
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ f(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
...D,
|
|
43
43
|
id: i,
|
|
44
44
|
className: E,
|
|
45
|
-
tabIndex: s ===
|
|
45
|
+
tabIndex: s === d.DISABLED ? -1 : 0,
|
|
46
46
|
"aria-labelledby": x,
|
|
47
|
-
"aria-disabled": s ===
|
|
47
|
+
"aria-disabled": s === d.DISABLED,
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: I,
|
|
51
|
-
children:
|
|
51
|
+
children: l ? c : /* @__PURE__ */ f("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
|
-
import M, { useContext as n, useMemo as C, useCallback as
|
|
3
|
-
import { u as D, c as L } from "../../../chunks/vendor-
|
|
2
|
+
import M, { useContext as n, useMemo as C, useCallback as a, useLayoutEffect as x } from "react";
|
|
3
|
+
import { u as D, c as L } from "../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { createSizeToClassNameMap as R } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { FormFieldContext as W } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as j } from "../enums.js";
|
|
7
7
|
import { isFilled as q } from "./utils.js";
|
|
8
|
-
const w = "
|
|
8
|
+
const w = "formFieldTextarea__0c470507", G = "sm__e47ada85", H = "md__c943e3eb", J = "lg__e66758b5", u = {
|
|
9
9
|
formFieldTextarea: w,
|
|
10
10
|
sm: G,
|
|
11
11
|
md: H,
|
|
12
12
|
lg: J
|
|
13
13
|
}, K = R(u), O = M.forwardRef(
|
|
14
|
-
({ id:
|
|
15
|
-
const { size:
|
|
14
|
+
({ id: d, className: p, value: s, defaultValue: F, onFocus: r, onBlur: l, onAnimationStart: m, onChange: i, ..._ }, N) => {
|
|
15
|
+
const { size: g, status: h, setFocused: o, setTargetId: T, setFilled: c } = n(W), f = C(() => d === void 0 ? D("textarea_") : d, [d]), b = L(u.formFieldTextarea, K[g], p), t = a(
|
|
16
16
|
(e) => {
|
|
17
|
-
|
|
17
|
+
c(q(e));
|
|
18
18
|
},
|
|
19
|
-
[
|
|
19
|
+
[c]
|
|
20
20
|
);
|
|
21
21
|
x(() => {
|
|
22
22
|
T(f);
|
|
23
23
|
}, [f, T]), x(() => {
|
|
24
|
-
t(
|
|
24
|
+
t(s ?? F);
|
|
25
25
|
}, []), x(() => {
|
|
26
|
-
|
|
27
|
-
}, [
|
|
28
|
-
const y =
|
|
26
|
+
s !== void 0 && t(s);
|
|
27
|
+
}, [s, t]);
|
|
28
|
+
const y = a(
|
|
29
29
|
(e) => {
|
|
30
|
-
t(e.currentTarget.value),
|
|
30
|
+
t(e.currentTarget.value), o(!0), r == null || r(e);
|
|
31
31
|
},
|
|
32
|
-
[t,
|
|
33
|
-
), k =
|
|
32
|
+
[t, o, r]
|
|
33
|
+
), k = a(
|
|
34
34
|
(e) => {
|
|
35
|
-
t(e.currentTarget.value),
|
|
35
|
+
t(e.currentTarget.value), o(!1), l == null || l(e);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
38
|
-
), z =
|
|
37
|
+
[t, o, l]
|
|
38
|
+
), z = a(
|
|
39
39
|
(e) => {
|
|
40
|
-
e.animationName.startsWith("autofill-applied-hook") ?
|
|
40
|
+
e.animationName.startsWith("autofill-applied-hook") ? c(!0) : e.animationName.startsWith("autofill-cancelled-hook") && t(e.currentTarget.value), m == null || m(e);
|
|
41
41
|
},
|
|
42
|
-
[
|
|
43
|
-
), E =
|
|
42
|
+
[c, t, m]
|
|
43
|
+
), E = a(
|
|
44
44
|
(e) => {
|
|
45
|
-
t(e.currentTarget.value),
|
|
45
|
+
t(e.currentTarget.value), i == null || i(e);
|
|
46
46
|
},
|
|
47
|
-
[
|
|
47
|
+
[i, t]
|
|
48
48
|
);
|
|
49
49
|
return /* @__PURE__ */ I(
|
|
50
50
|
"textarea",
|
|
51
51
|
{
|
|
52
52
|
..._,
|
|
53
53
|
id: f,
|
|
54
|
-
className:
|
|
55
|
-
value:
|
|
54
|
+
className: b,
|
|
55
|
+
value: s,
|
|
56
56
|
defaultValue: F,
|
|
57
|
-
disabled:
|
|
57
|
+
disabled: h === j.DISABLED,
|
|
58
58
|
onFocus: y,
|
|
59
59
|
onBlur: k,
|
|
60
60
|
onAnimationStart: z,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormFieldClear as e } from "./FormFieldClear.js";
|
|
2
2
|
import { FormFieldCounter as m } from "./FormFieldCounter.js";
|
|
3
3
|
import { FormFieldDescription as i } from "./FormFieldDescription.js";
|
|
4
|
-
import { F as x } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import { F as x } from "../../../chunks/FormFieldInput-DM8lK78a.js";
|
|
5
5
|
import { FormFieldLabel as l } from "./FormFieldLabel.js";
|
|
6
6
|
import { FormFieldMaskedInput as a } from "./FormFieldMaskedInput.js";
|
|
7
7
|
import { FormFieldPostfix as s } from "./FormFieldPostfix.js";
|
|
@@ -2,7 +2,7 @@ import { EFormFieldStatus as e } from "./enums.js";
|
|
|
2
2
|
import { FormFieldClear as F } from "./components/FormFieldClear.js";
|
|
3
3
|
import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
4
4
|
import { FormFieldDescription as l } from "./components/FormFieldDescription.js";
|
|
5
|
-
import { F as f } from "../../chunks/FormFieldInput-
|
|
5
|
+
import { F as f } from "../../chunks/FormFieldInput-DM8lK78a.js";
|
|
6
6
|
import { FormFieldLabel as a } from "./components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldMaskedInput as u } from "./components/FormFieldMaskedInput.js";
|
|
8
8
|
import { FormFieldPostfix as C } from "./components/FormFieldPostfix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, o) {
|
|
15
|
-
return /* @__PURE__ */ t("div", { ...e, "data-tx": "0.
|
|
15
|
+
return /* @__PURE__ */ t("div", { ...e, "data-tx": "0.30.0", ref: o, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as d } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as b } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as b } from "../../../../chunks/HeaderLayoutSidebar.module-BEWjTVQC.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
i.forwardRef(function({ children: r, className: e, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: d(b.headerLayoutSidebar, e), ...a, ref: o, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-BEWjTVQC.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...o }, r) => /* @__PURE__ */ t("div", { className: m(d.headerLayoutSidebarContent, a), ...o, ref: r, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-BEWjTVQC.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: s(t.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
headerSubheader:
|
|
6
|
-
withoutPaddings:
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
const u = "headerSubheader__77295a44", c = "withoutPaddings__e290b3bc", e = {
|
|
5
|
+
headerSubheader: u,
|
|
6
|
+
withoutPaddings: c
|
|
7
7
|
}, n = h.forwardRef(
|
|
8
8
|
({ children: a, className: d, withoutPaddings: r, ...o }, t) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as d } from "../../../../chunks/HeaderTabs.module-
|
|
5
|
+
import { c as i } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
6
|
+
import { s as d } from "../../../../chunks/HeaderTabs.module-B3OUkcWC.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
t.forwardRef(function({ children: r, className: e, ...o }, a) {
|
|
9
9
|
return /* @__PURE__ */ s("div", { className: i(d.headerTabs, e), ...o, ref: a, children: r });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-B3OUkcWC.js";
|
|
5
5
|
const d = s.forwardRef(
|
|
6
6
|
({ children: e, className: r, ...t }, a) => /* @__PURE__ */ o("div", { className: m(n.headerTabsContent, r), ...t, ref: a, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
3
|
+
import { c as m } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-B3OUkcWC.js";
|
|
5
5
|
const d = t.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, a) => /* @__PURE__ */ e("div", { className: m(l.headerTabsControls, r), ...s, ref: a, children: o })
|
|
7
7
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
5
|
+
import { c as l } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-wm7lWk21.js";
|
|
7
7
|
const d = Object.assign(
|
|
8
8
|
a.forwardRef(function({ children: e, className: r, ...t }, o) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: l(n.headerTitle, r), ...t, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-wm7lWk21.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: t, className: r, ...o }, a) => /* @__PURE__ */ s(
|
|
7
7
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-wm7lWk21.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: r, className: e, ...t }, s) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|