@sberbusiness/triplex-next 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/chunks/AlertProcessSpoiler-BjHTZKgZ.js +41 -0
- package/chunks/{CalendarViewItem-DuqIjj7K.js → CalendarViewItem-BdyVWg8a.js} +11 -11
- package/chunks/Card.module-gPkzcCGo.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +15 -0
- package/chunks/Chip-CuoqjaG4.js +77 -0
- package/chunks/Confirm.module-bXfHpEZY.js +15 -0
- package/chunks/{DropdownListItem-D_38hBVf.js → DropdownListItem-CRdOVwlq.js} +15 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +23 -0
- package/chunks/Footer.module-Dhevv5cy.js +9 -0
- package/chunks/{FormFieldInput-CP3P-T8_.js → FormFieldInput-CyAOOwnJ.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +9 -0
- package/chunks/HeaderTabs.module-BQHI-7dx.js +9 -0
- package/chunks/{HeaderTitle.module-CoThbDwW.js → HeaderTitle.module-BDZQCHuH.js} +2 -2
- package/chunks/IslandAccordion.module-ElAylnXP.js +25 -0
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +9 -0
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +12 -0
- package/chunks/LightBoxContent-Bp6XRgdB.js +63 -0
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +9 -0
- package/chunks/ListItemControlsButton-PANaJdYf.js +59 -0
- package/chunks/ListItemTail.module-BKP1QEpv.js +12 -0
- package/chunks/ListMasterFooter.module-D1BeGub8.js +10 -0
- package/chunks/ModalWindow.module-PJk-BOT5.js +17 -0
- package/chunks/Notification.module-7THtDpDh.js +20 -0
- package/chunks/Overlay.module-B0Fayqn2.js +18 -0
- package/chunks/Page.module-oxsZ2i2v.js +11 -0
- package/chunks/SMSField.module-DQoHDr5D.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +15 -0
- package/chunks/SliderExtendedRail-B33WytbG.js +40 -0
- package/chunks/StatusTracker.module-CwUmaWht.js +24 -0
- package/chunks/StepperStepArrowBorder-9OXwuqOn.js +101 -0
- package/chunks/SuggestFieldMobileDropdownHint-dcZDUPZa.js +15 -0
- package/chunks/TableFooter.module-DaFBiojx.js +14 -0
- package/chunks/TabsExtended.module-D4GCJESe.js +16 -0
- package/chunks/TabsLine.module-BEA3Lssg.js +21 -0
- package/chunks/TooltipDesktop.module-hff_h0-q.js +19 -0
- package/chunks/TreeView.module-C-XaQJbB.js +9 -0
- package/chunks/{UploadZoneInput-DmnrQ-pa.js → UploadZoneInput-BsJhqlie.js} +2 -2
- package/chunks/{constants-BECBzrfZ.js → constants-KINy2OSZ.js} +10 -10
- package/chunks/utils-BVhTB5hC.js +73 -0
- package/chunks/{utils-BlzKyU4p.js → utils-CWqa2skI.js} +6 -6
- package/chunks/utils-DFHOghtD.js +28 -0
- package/chunks/utils-TZKbWcP7.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +9 -9
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +66 -65
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +5 -5
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +6 -6
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +34 -33
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +10 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +23 -22
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +76 -66
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +1 -1
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +14 -14
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +18 -18
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +13 -13
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +15 -15
- package/components/FormField/components/FormFieldTextarea.js +19 -19
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +28 -28
- package/components/IslandWidget/IslandWidget.js +24 -24
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +43 -40
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +19 -19
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +13 -13
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +41 -40
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +12 -12
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +12 -11
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +19 -14
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +16 -16
- package/components/SegmentedControl/SegmentedControlSegment.js +36 -41
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +92 -92
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +12 -12
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +61 -64
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +5 -5
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +63 -63
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +10 -10
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +6 -6
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +17 -17
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +19 -19
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +15 -15
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +6 -6
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +2 -2
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +596 -581
- package/index.d.ts +136 -36
- package/index.js +642 -627
- package/package.json +14 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-BofkfSM8.js +0 -39
- package/chunks/Card.module-Cok9cKxI.js +0 -17
- package/chunks/CheckboxTreeExtended.module-D_OBlNho.js +0 -15
- package/chunks/Chip-CFtA5mp4.js +0 -104
- package/chunks/Confirm.module-BgCUAiCk.js +0 -15
- package/chunks/DropdownMobile.module-Bccjckjq.js +0 -23
- package/chunks/Footer.module-CkVvrPtL.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-Ci8iAZs7.js +0 -9
- package/chunks/HeaderTabs.module-2vtcjdH_.js +0 -9
- package/chunks/IslandAccordion.module-DLanAkfo.js +0 -25
- package/chunks/IslandWidgetFooter.module-kdzBJDuu.js +0 -9
- package/chunks/IslandWidgetHeader.module-BAcC1EB8.js +0 -12
- package/chunks/LightBoxContent-hyVn3q-T.js +0 -56
- package/chunks/LightBoxControls.module-CTUWde8O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CnOh-RZn.js +0 -9
- package/chunks/ListItemControlsButton-BFfMrFr7.js +0 -51
- package/chunks/ListItemTail.module-BOV7kcBg.js +0 -12
- package/chunks/ListMasterFooter.module-DT_P8Iub.js +0 -10
- package/chunks/ModalWindow.module-DZdMA7rm.js +0 -17
- package/chunks/Notification.module-CJl-qcj8.js +0 -20
- package/chunks/Overlay.module-Buw8PcSy.js +0 -18
- package/chunks/Page.module-DIObxp8c.js +0 -11
- package/chunks/RightBorderArrow-TcR9E_47.js +0 -146
- package/chunks/SMSField.module-B170OigL.js +0 -16
- package/chunks/SliderExtendedMarks.module-SBpITDrZ.js +0 -15
- package/chunks/SliderExtendedRail-DawwH3OZ.js +0 -40
- package/chunks/StatusTracker.module-BT9AMEAv.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-_Gn-OMhG.js +0 -15
- package/chunks/TableFooter.module-DaFHVJUx.js +0 -14
- package/chunks/TabsExtended.module-vg1pJlhg.js +0 -16
- package/chunks/TabsLine.module-h8aBK1Tw.js +0 -21
- package/chunks/TooltipDesktop.module-oXI2FLzE.js +0 -19
- package/chunks/TreeView.module-C6t2uuwa.js +0 -9
- package/chunks/utils-BI5x-xfE.js +0 -24
- package/chunks/utils-C9aEOF3O.js +0 -73
- package/chunks/utils-WHBUmZgw.js +0 -28
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import I, { useState as t, useMemo as L } from "react";
|
|
3
3
|
import { c as h } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldContext as v } from "./FormFieldContext.js";
|
|
@@ -6,12 +6,12 @@ import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
|
6
6
|
import { EFormFieldStatus as o } from "./enums.js";
|
|
7
7
|
import { EComponentSize as w } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
9
|
-
const S = "
|
|
9
|
+
const S = "formField__a9b5fca7", W = "sm__6e609f2e", G = "md__1a38b96d", M = "lg__c94c35cf", P = "active__8cfa5afd", y = "disabled__4608a05e", U = "error__0e9d534c", j = "warning__a9560742", z = "filled__587442d2", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__30cf205a",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -27,22 +27,22 @@ const S = "formField__d3e11fe9", W = "sm__8a39ed0d", G = "md__fd053d06", M = "lg
|
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
29
|
style: g,
|
|
30
|
-
size:
|
|
30
|
+
size: a = w.LG,
|
|
31
31
|
status: r = o.DEFAULT,
|
|
32
|
-
active:
|
|
32
|
+
active: d = !1,
|
|
33
33
|
...u
|
|
34
34
|
}, x) => {
|
|
35
|
-
const [
|
|
35
|
+
const [f, T] = t(), [m, b] = t(), [i, E] = t(_), [l, N] = t(_), [c, R] = t(!1), [s, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
|
-
size:
|
|
37
|
+
size: a,
|
|
38
38
|
status: r,
|
|
39
|
-
targetId:
|
|
40
|
-
labelId:
|
|
39
|
+
targetId: f,
|
|
40
|
+
labelId: m,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
44
|
-
focused:
|
|
45
|
-
active:
|
|
43
|
+
filled: c,
|
|
44
|
+
focused: s,
|
|
45
|
+
active: d || s,
|
|
46
46
|
setTargetId: T,
|
|
47
47
|
setLabelId: b,
|
|
48
48
|
setPostfixWidth: E,
|
|
@@ -50,22 +50,22 @@ const S = "formField__d3e11fe9", W = "sm__8a39ed0d", G = "md__fd053d06", M = "lg
|
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[
|
|
53
|
+
[a, r, f, m, i, l, c, s, d]
|
|
54
54
|
);
|
|
55
|
-
return /* @__PURE__ */
|
|
55
|
+
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: h(
|
|
59
59
|
e.formField,
|
|
60
|
-
O[
|
|
60
|
+
O[a],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
64
|
-
[e.active]:
|
|
63
|
+
[e.filled]: c,
|
|
64
|
+
[e.active]: d || s
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "0.
|
|
68
|
+
"data-tx": "0.26.0",
|
|
69
69
|
style: { paddingLeft: l, paddingRight: i, ...g },
|
|
70
70
|
...u,
|
|
71
71
|
ref: x,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c
|
|
2
|
+
import f, { useCallback as i } from "react";
|
|
3
|
+
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as s } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as d } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__16315f40", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
|
-
}, F =
|
|
9
|
-
({ className:
|
|
10
|
-
const o =
|
|
8
|
+
}, F = f.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__30388b14", C = {
|
|
|
16
16
|
return /* @__PURE__ */ l(
|
|
17
17
|
d,
|
|
18
18
|
{
|
|
19
|
-
...
|
|
20
|
-
className:
|
|
19
|
+
...a,
|
|
20
|
+
className: c(C.formFieldClear, t),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
23
|
children: /* @__PURE__ */ l(s, { paletteIndex: 5 })
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__c6f33ca0", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
10
|
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
f as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -2,15 +2,15 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { c } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__f6649c24", p = "withCounter__33e54853", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
|
-
withCounter:
|
|
8
|
-
},
|
|
7
|
+
withCounter: p
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
10
|
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
d as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -5,7 +5,7 @@ import "../FormFieldContext.js";
|
|
|
5
5
|
import "../enums.js";
|
|
6
6
|
import "../../../utils/classNameMaps.js";
|
|
7
7
|
import "./utils.js";
|
|
8
|
-
import { F as d } from "../../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import A, { useContext as E, useMemo as N, useLayoutEffect as I } from "react";
|
|
3
3
|
import { u as S, c as h } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldContext as y } from "../FormFieldContext.js";
|
|
5
5
|
import { createSizeToClassNameMap as D } from "../../../utils/classNameMaps.js";
|
|
6
6
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
7
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
8
|
-
const M = "
|
|
7
|
+
import { TARGET_PADDING_X_DEFAULT as s } from "../consts.js";
|
|
8
|
+
const M = "formFieldLabel__8decafcf", R = "sm__6e609f2e", v = "md__1a38b96d", z = "lg__c94c35cf", G = "floating__0edae5df", W = "formFieldLabelText__4cad5dcc", j = "disabled__4608a05e", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,8 +14,8 @@ const M = "formFieldLabel__f9343692", R = "sm__8a39ed0d", v = "md__fd053d06", z
|
|
|
14
14
|
formFieldLabelText: W,
|
|
15
15
|
disabled: j
|
|
16
16
|
}, q = D(e), w = A.forwardRef(
|
|
17
|
-
({ children: i, id: t, className: d, style: m, floating: r, ...f },
|
|
18
|
-
const { targetId:
|
|
17
|
+
({ children: i, id: t, className: d, style: m, floating: r, ...f }, c) => {
|
|
18
|
+
const { targetId: n, size: _, status: b, filled: F, active: L, prefixWidth: g, postfixWidth: p, setLabelId: o } = E(y), l = N(() => t === void 0 ? S("label_") : t, [t]), x = r ?? (F || L), u = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
20
|
q[_],
|
|
21
21
|
{
|
|
@@ -25,14 +25,14 @@ const M = "formFieldLabel__f9343692", R = "sm__8a39ed0d", v = "md__fd053d06", z
|
|
|
25
25
|
d
|
|
26
26
|
), T = {
|
|
27
27
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
28
|
-
left: g ||
|
|
28
|
+
left: g || s,
|
|
29
29
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
30
|
-
right: p ||
|
|
30
|
+
right: p || s,
|
|
31
31
|
...m
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ a("label", { ...f, id: l, className: u, htmlFor: n, style: T, ref: c, children: /* @__PURE__ */ a("span", { className: e.formFieldLabelText, children: i }) });
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
38
|
w.displayName = "FormFieldLabel";
|
|
@@ -2,15 +2,15 @@ import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as U } from "react";
|
|
3
3
|
import { c as F, m as q, n as p } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
7
|
import { EFormFieldStatus as V } from "../enums.js";
|
|
8
|
-
const Q = "
|
|
8
|
+
const Q = "formFieldMaskedInputWrapper__70ac35d8", X = "formFieldMaskedInputPlaceholder__225a38d3", Y = "formFieldMaskedInput__2fcddc5f", u = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__0c49665e",
|
|
12
|
+
"size-md": "size-md__e370d779",
|
|
13
|
+
"size-lg": "size-lg__c4ba89e8",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, a = ({
|
|
16
16
|
className: I,
|
|
@@ -23,7 +23,7 @@ const Q = "formFieldMaskedInputWrapper__a96df7ad", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x, y] = $(""), c = L(!1), { filled: z, focused: k, size:
|
|
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 = [];
|
|
@@ -40,15 +40,15 @@ const Q = "formFieldMaskedInputWrapper__a96df7ad", X = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, l]);
|
|
43
|
-
const
|
|
43
|
+
const S = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
c.current = !1, s !== t && (f == null || f(e));
|
|
47
47
|
},
|
|
48
48
|
[s, f]
|
|
49
|
-
),
|
|
49
|
+
), T = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, b = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -61,7 +61,7 @@ const Q = "formFieldMaskedInputWrapper__a96df7ad", X = "formFieldMaskedInputPlac
|
|
|
61
61
|
}, D = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof d == "function" ? d(t) : d && (d.current = t);
|
|
63
63
|
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${E}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,11 +83,11 @@ const Q = "formFieldMaskedInputWrapper__a96df7ad", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: S,
|
|
87
|
+
onPaste: T,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: b,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
@@ -2,7 +2,7 @@ import { jsx as l } from "react/jsx-runtime";
|
|
|
2
2
|
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
4
4
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPostfix__22163281", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, h = d.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
3
|
import { FormFieldContext as p } from "../FormFieldContext.js";
|
|
4
4
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
|
-
const P = "
|
|
5
|
+
const P = "formFieldPrefix__4d00871e", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = l.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s = a(R.formFieldPrefix, i), { prefixWidth:
|
|
9
|
+
const s = a(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(p), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
12
|
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
|
-
e !==
|
|
17
|
-
}), /* @__PURE__ */
|
|
16
|
+
e !== n && c(e);
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPrefix";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import g, { useContext as S, useMemo as h, useLayoutEffect as b, useCallback as F } from "react";
|
|
3
3
|
import { u as y, c as A } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
|
-
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__8fdcc6ef", M = "sm__6e609f2e", R = "md__1a38b96d", j = "lg__c94c35cf", k = "placeholder__ae1faae3", q = "disabled__4608a05e", w = "placeholderWrapper__7660c569", B = "active__8cfa5afd", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -13,18 +13,18 @@ const z = "formFieldTarget__ab444b96", M = "sm__8a39ed0d", R = "md__fd053d06", j
|
|
|
13
13
|
disabled: q,
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
|
-
}, G = W(e), H =
|
|
17
|
-
({ children:
|
|
18
|
-
const { size: u, status: s, active: v, labelId: x, setFilled: f, setFocused: r, setTargetId: n } = S(L), i =
|
|
19
|
-
[e.disabled]: s ===
|
|
20
|
-
[e.placeholder]: !!p && !
|
|
16
|
+
}, G = W(e), H = g.forwardRef(
|
|
17
|
+
({ children: c, id: o, className: T, placeholder: p, onFocus: a, onBlur: t, ...D }, I) => {
|
|
18
|
+
const { size: u, status: s, active: v, labelId: x, setFilled: f, setFocused: r, setTargetId: n } = S(L), i = h(() => o === void 0 ? y("target_") : o, [o]), l = h(() => g.Children.toArray(c).length !== 0, [c]), E = A(e.formFieldTarget, G[u], T, {
|
|
19
|
+
[e.disabled]: s === d.DISABLED,
|
|
20
|
+
[e.placeholder]: !!p && !l && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
22
22
|
});
|
|
23
|
-
|
|
23
|
+
b(() => {
|
|
24
24
|
n(i);
|
|
25
|
-
}, [i, n]),
|
|
26
|
-
f(
|
|
27
|
-
}, [
|
|
25
|
+
}, [i, n]), b(() => {
|
|
26
|
+
f(l);
|
|
27
|
+
}, [l, f]);
|
|
28
28
|
const C = F(
|
|
29
29
|
(m) => {
|
|
30
30
|
r(!0), a == null || a(m);
|
|
@@ -42,13 +42,13 @@ const z = "formFieldTarget__ab444b96", M = "sm__8a39ed0d", R = "md__fd053d06", j
|
|
|
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__ */ _("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as I } from "react/jsx-runtime";
|
|
2
|
+
import M, { useContext as n, useMemo as C, useCallback as a, useLayoutEffect as x } from "react";
|
|
3
3
|
import { u as D, c as L } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { createSizeToClassNameMap as R } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { FormFieldContext as W } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as j } from "../enums.js";
|
|
7
7
|
import { isFilled as q } from "./utils.js";
|
|
8
|
-
const w = "
|
|
8
|
+
const w = "formFieldTextarea__83dc4e37", G = "sm__6e609f2e", H = "md__1a38b96d", J = "lg__c94c35cf", u = {
|
|
9
9
|
formFieldTextarea: w,
|
|
10
10
|
sm: G,
|
|
11
11
|
md: H,
|
|
12
12
|
lg: J
|
|
13
|
-
}, K = R(u), O =
|
|
14
|
-
({ id:
|
|
15
|
-
const { size: g, status: h, setFocused:
|
|
13
|
+
}, K = R(u), O = M.forwardRef(
|
|
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: c, setTargetId: T, setFilled: o } = n(W), f = C(() => d === void 0 ? D("textarea_") : d, [d]), y = L(u.formFieldTextarea, K[g], p), t = a(
|
|
16
16
|
(e) => {
|
|
17
17
|
o(q(e));
|
|
18
18
|
},
|
|
@@ -25,28 +25,28 @@ const w = "formFieldTextarea__4a7568f4", G = "sm__8a39ed0d", H = "md__fd053d06",
|
|
|
25
25
|
}, []), x(() => {
|
|
26
26
|
s !== void 0 && t(s);
|
|
27
27
|
}, [s, t]);
|
|
28
|
-
const
|
|
28
|
+
const b = a(
|
|
29
29
|
(e) => {
|
|
30
|
-
t(e.currentTarget.value),
|
|
30
|
+
t(e.currentTarget.value), c(!0), r == null || r(e);
|
|
31
31
|
},
|
|
32
|
-
[t,
|
|
33
|
-
),
|
|
32
|
+
[t, c, r]
|
|
33
|
+
), k = a(
|
|
34
34
|
(e) => {
|
|
35
|
-
t(e.currentTarget.value),
|
|
35
|
+
t(e.currentTarget.value), c(!1), l == null || l(e);
|
|
36
36
|
},
|
|
37
|
-
[t,
|
|
38
|
-
),
|
|
37
|
+
[t, c, l]
|
|
38
|
+
), z = a(
|
|
39
39
|
(e) => {
|
|
40
40
|
e.animationName.startsWith("autofill-applied-hook") ? o(!0) : e.animationName.startsWith("autofill-cancelled-hook") && t(e.currentTarget.value), m == null || m(e);
|
|
41
41
|
},
|
|
42
42
|
[o, t, m]
|
|
43
|
-
),
|
|
43
|
+
), E = a(
|
|
44
44
|
(e) => {
|
|
45
45
|
t(e.currentTarget.value), i == null || i(e);
|
|
46
46
|
},
|
|
47
47
|
[i, t]
|
|
48
48
|
);
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ I(
|
|
50
50
|
"textarea",
|
|
51
51
|
{
|
|
52
52
|
..._,
|
|
@@ -55,10 +55,10 @@ const w = "formFieldTextarea__4a7568f4", G = "sm__8a39ed0d", H = "md__fd053d06",
|
|
|
55
55
|
value: s,
|
|
56
56
|
defaultValue: F,
|
|
57
57
|
disabled: h === j.DISABLED,
|
|
58
|
-
onFocus:
|
|
59
|
-
onBlur:
|
|
60
|
-
onAnimationStart:
|
|
61
|
-
onChange:
|
|
58
|
+
onFocus: b,
|
|
59
|
+
onBlur: k,
|
|
60
|
+
onAnimationStart: z,
|
|
61
|
+
onChange: E,
|
|
62
62
|
ref: N
|
|
63
63
|
}
|
|
64
64
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormFieldClear as e } from "./FormFieldClear.js";
|
|
2
2
|
import { FormFieldCounter as m } from "./FormFieldCounter.js";
|
|
3
3
|
import { FormFieldDescription as i } from "./FormFieldDescription.js";
|
|
4
|
-
import { F as x } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import { F as x } from "../../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
5
5
|
import { FormFieldLabel as l } from "./FormFieldLabel.js";
|
|
6
6
|
import { FormFieldMaskedInput as a } from "./FormFieldMaskedInput.js";
|
|
7
7
|
import { FormFieldPostfix as s } from "./FormFieldPostfix.js";
|
|
@@ -2,7 +2,7 @@ import { EFormFieldStatus as e } from "./enums.js";
|
|
|
2
2
|
import { FormFieldClear as F } from "./components/FormFieldClear.js";
|
|
3
3
|
import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
4
4
|
import { FormFieldDescription as l } from "./components/FormFieldDescription.js";
|
|
5
|
-
import { F as f } from "../../chunks/FormFieldInput-
|
|
5
|
+
import { F as f } from "../../chunks/FormFieldInput-CyAOOwnJ.js";
|
|
6
6
|
import { FormFieldLabel as a } from "./components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldMaskedInput as u } from "./components/FormFieldMaskedInput.js";
|
|
8
8
|
import { FormFieldPostfix as C } from "./components/FormFieldPostfix.js";
|
|
@@ -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.26.0", ref: o, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -3,7 +3,7 @@ import i from "react";
|
|
|
3
3
|
import { c as d } from "../../../../chunks/vendor---Om3uMV.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-CqLx3F7A.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
3
|
import { c as m } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s as d } from "../../../../chunks/HeaderLayoutSidebar.module-CqLx3F7A.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
3
|
import { c as s } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
4
|
+
import { s as t } from "../../../../chunks/HeaderLayoutSidebar.module-CqLx3F7A.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,17 +1,17 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const u = "
|
|
4
|
+
const u = "headerSubheader__32f95696", n = "withoutPaddings__d34bdf42", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
|
-
withoutPaddings:
|
|
6
|
+
withoutPaddings: n
|
|
7
7
|
}, c = h.forwardRef(
|
|
8
|
-
({ children:
|
|
8
|
+
({ children: d, className: a, withoutPaddings: r, ...o }, t) => /* @__PURE__ */ s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r },
|
|
11
|
+
className: i(e.headerSubheader, { [e.withoutPaddings]: !!r }, a),
|
|
12
12
|
...o,
|
|
13
13
|
ref: t,
|
|
14
|
-
children:
|
|
14
|
+
children: d
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
@@ -3,7 +3,7 @@ import t from "react";
|
|
|
3
3
|
import { HeaderTabsContent as m } from "./HeaderTabsContent.js";
|
|
4
4
|
import { HeaderTabsControls as n } from "./HeaderTabsControls.js";
|
|
5
5
|
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
6
|
-
import { s as d } from "../../../../chunks/HeaderTabs.module-
|
|
6
|
+
import { s as d } from "../../../../chunks/HeaderTabs.module-BQHI-7dx.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
3
|
import { c as m } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as n } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as n } from "../../../../chunks/HeaderTabs.module-BQHI-7dx.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
3
|
import { c as m } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as l } from "../../../../chunks/HeaderTabs.module-
|
|
4
|
+
import { s as l } from "../../../../chunks/HeaderTabs.module-BQHI-7dx.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
|
);
|
|
@@ -3,7 +3,7 @@ import a from "react";
|
|
|
3
3
|
import { HeaderTitleContent as s } from "./HeaderTitleContent.js";
|
|
4
4
|
import { HeaderTitleControls as m } from "./HeaderTitleControls.js";
|
|
5
5
|
import { c as l } from "../../../../chunks/vendor---Om3uMV.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/HeaderTitle.module-
|
|
6
|
+
import { s as n } from "../../../../chunks/HeaderTitle.module-BDZQCHuH.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
3
|
import { c as l } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as e } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as e } from "../../../../chunks/HeaderTitle.module-BDZQCHuH.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
3
|
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as o } from "../../../../chunks/HeaderTitle.module-
|
|
4
|
+
import { s as o } from "../../../../chunks/HeaderTitle.module-BDZQCHuH.js";
|
|
5
5
|
const m = a.forwardRef(
|
|
6
6
|
({ children: r, className: e, ...t }, s) => /* @__PURE__ */ l(
|
|
7
7
|
"div",
|