@sberbusiness/triplex-next 1.23.0 → 1.25.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 +8 -2
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-B46jKfAb.js +41 -0
- package/chunks/{CalendarViewItem-DhRDn7-d.js → CalendarViewItem-D-POWd2-.js} +8 -8
- package/chunks/Card.module-CncHGyjC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-B1Kgd0nu.js +15 -0
- package/chunks/Chip-DTIbYTEg.js +77 -0
- package/chunks/Confirm.module-EXbF7o_5.js +15 -0
- package/chunks/{DropdownListItem-BOB8eQXM.js → DropdownListItem-DEiNYa7V.js} +19 -19
- package/chunks/DropdownMobile.module-BoKjV5kN.js +23 -0
- package/chunks/Footer.module-DZkZf8cZ.js +9 -0
- package/chunks/{FormFieldInput-CwX_1h09.js → FormFieldInput-DtYGQ_bi.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-DgEDu6U2.js +9 -0
- package/chunks/HeaderTabs.module-BepwFanR.js +9 -0
- package/chunks/{HeaderTitle.module-DyI7KGeM.js → HeaderTitle.module-C31ELKBY.js} +2 -2
- package/chunks/IslandAccordion.module-rpYHTG9-.js +25 -0
- package/chunks/IslandWidgetFooter.module-CGX_gIzr.js +9 -0
- package/chunks/IslandWidgetHeader.module-CBRjot0L.js +12 -0
- package/chunks/LightBoxContent-9gb9WiYK.js +63 -0
- package/chunks/LightBoxControls.module-DW8BGlP2.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DfPgpuEZ.js +9 -0
- package/chunks/ListItemControlsButton-DYBfA1gz.js +59 -0
- package/chunks/ListItemTail.module-BaV7s4hM.js +12 -0
- package/chunks/ListMasterFooter.module-DJ5zh4gk.js +10 -0
- package/chunks/ModalWindow.module-CBYym922.js +17 -0
- package/chunks/Notification.module-DxdRS8Y5.js +20 -0
- package/chunks/Overlay.module-BNFZ_rbt.js +18 -0
- package/chunks/Page.module-C50cd0OD.js +11 -0
- package/chunks/{RightBorderArrow-nrRpapza.js → RightBorderArrow-BDD4mS5-.js} +6 -6
- package/chunks/SMSField.module-C20gqTPw.js +16 -0
- package/chunks/SliderExtendedMarks.module-CsyPT1yp.js +15 -0
- package/chunks/{SliderExtendedRail-BP0BcOY7.js → SliderExtendedRail-D5G6Gddu.js} +6 -6
- package/chunks/StatusTracker.module-Dn-2MvTp.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CRvB37lf.js → SuggestFieldMobileDropdownHint-Bl-fHUU9.js} +6 -5
- package/chunks/TableFooter.module-CVe7H3F5.js +14 -0
- package/chunks/TabsExtended.module-DAVeemgZ.js +16 -0
- package/chunks/TabsLine.module-DpFaqhk4.js +21 -0
- package/chunks/TooltipDesktop.module-OpglHVA8.js +19 -0
- package/chunks/TreeView.module-D0XjOCzq.js +9 -0
- package/chunks/{UploadZoneInput-D9OID08A.js → UploadZoneInput-CUKt0mmY.js} +3 -3
- package/chunks/{constants-DXLVATUh.js → constants-CmdvDG7U.js} +12 -12
- package/chunks/utils-B8JwCW07.js +73 -0
- package/chunks/{utils-BXi-2Jma.js → utils-D0TxmRz_.js} +11 -11
- package/chunks/{utils-BDGrf0u9.js → utils-DILds0zQ.js} +2 -2
- package/chunks/utils-iU8-da0U.js +24 -0
- package/chunks/{vendor-BiObpx9E.js → vendor-DudMBGKr.js} +4964 -4966
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +21 -21
- package/components/Alert/AlertProcess/AlertProcess.js +45 -38
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- 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 +3 -3
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +14 -14
- package/components/Badge/Badge.js +12 -12
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +7 -7
- 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 +90 -89
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +16 -18
- package/components/Calendar/Calendar.js +7 -7
- package/components/Calendar/components/CalendarControls.js +13 -13
- 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 +24 -24
- 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 +30 -28
- package/components/Checkbox/CheckboxXGroup.js +17 -16
- package/components/Checkbox/CheckboxYGroup.js +11 -10
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- 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 +9 -9
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +4 -4
- 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/ConfirmContentSubTitle.js +4 -3
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -63
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +6 -6
- 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 +12 -12
- 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 +5 -5
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +17 -17
- 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 +9 -9
- 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 +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +9 -7
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +28 -27
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +43 -40
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +13 -13
- 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 +12 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +2 -2
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +40 -39
- package/components/List/List.js +4 -4
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +7 -7
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +4 -3
- package/components/List/components/ListItemControlsButtonDropdown.js +25 -26
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +12 -12
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +11 -11
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -15
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +6 -6
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +14 -14
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +19 -14
- package/components/OrderedList/OrderedListItem.js +12 -11
- 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 +13 -13
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +15 -14
- package/components/Pagination/components/PaginationPageEllipsis.js +6 -5
- package/components/Pagination/components/PaginationSelect.js +12 -11
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +18 -17
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +2 -2
- package/components/Row/Row.js +9 -9
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +32 -37
- package/components/SelectExtendedField/SelectExtendedField.js +50 -41
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +15 -15
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +5 -4
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +5 -4
- 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 +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +9 -8
- package/components/Step/Step.js +8 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +63 -65
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -11
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +11 -11
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +50 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +3 -3
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +10 -10
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +7 -7
- 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 +3 -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 +21 -20
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +15 -15
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- 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 +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +5 -5
- package/components/TopOverlay/TopOverlay.js +6 -6
- 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 +17 -17
- package/components/Typography/CodeText.js +36 -0
- package/components/Typography/Text.js +13 -13
- package/components/Typography/Title.js +22 -22
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +12 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +591 -579
- package/index.d.ts +94 -23
- package/index.js +639 -627
- package/package.json +9 -1
- package/styles/triplex-next.css +541 -541
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-IulaUJl0.js +0 -39
- package/chunks/Card.module-DSOXKXtd.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DNUeMDQZ.js +0 -15
- package/chunks/Chip-EVPZneh2.js +0 -104
- package/chunks/Confirm.module-gphOS6IB.js +0 -15
- package/chunks/DropdownMobile.module-B8t5FlvW.js +0 -23
- package/chunks/Footer.module-CMW0u8UD.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DUG5ZWLV.js +0 -9
- package/chunks/HeaderTabs.module-BKu6DIV4.js +0 -9
- package/chunks/IslandAccordion.module-Q_9Jiw2w.js +0 -25
- package/chunks/IslandWidgetFooter.module-DjNDtlKM.js +0 -9
- package/chunks/IslandWidgetHeader.module-DiWg8j16.js +0 -12
- package/chunks/LightBoxContent-CE6sXjX1.js +0 -56
- package/chunks/LightBoxControls.module-BaHnxhDB.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CuuwIIzJ.js +0 -9
- package/chunks/ListItemControlsButton-BCd2PF9-.js +0 -51
- package/chunks/ListItemTail.module-D_nBCryf.js +0 -12
- package/chunks/ListMasterFooter.module-D4TPImq7.js +0 -10
- package/chunks/ModalWindow.module-u5Pst2YX.js +0 -17
- package/chunks/Notification.module-809Tnazq.js +0 -20
- package/chunks/Overlay.module-c4cyqpKr.js +0 -18
- package/chunks/Page.module-CixV2VSG.js +0 -11
- package/chunks/SMSField.module-Qub64N0s.js +0 -16
- package/chunks/SliderExtendedMarks.module-BdFYVISZ.js +0 -15
- package/chunks/StatusTracker.module-BMkZgzxy.js +0 -24
- package/chunks/TableFooter.module-BW9hgU6o.js +0 -14
- package/chunks/TabsExtended.module-By6HIyMh.js +0 -16
- package/chunks/TabsLine.module-KvKWfBwF.js +0 -21
- package/chunks/TooltipDesktop.module-DAGDT-nl.js +0 -19
- package/chunks/TreeView.module-B8RxFbbh.js +0 -9
- package/chunks/utils-CvsNd4Ut.js +0 -24
- package/chunks/utils-DXnkRIJ2.js +0 -73
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
3
|
import { LoaderSmall as t } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
4
4
|
import { ELoaderSmallTheme as i } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s } from "../../../chunks/DropdownMobile.module-BoKjV5kN.js";
|
|
8
8
|
const S = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "../../../chunks/vendor-
|
|
2
|
+
import { c as p } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__8d8114e8", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: e, ...s }) => /* @__PURE__ */ d(o, { className: p(r.dropdownMobileMaskedInput, e), ...s });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
const c = "
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
const c = "ellipsisLineClamp__f95d734a", r = "oneLine__bf66967c", e = {
|
|
5
5
|
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
|
-
},
|
|
7
|
+
}, f = t.forwardRef(
|
|
8
8
|
({ children: i, maxLines: s, className: l, ...n }, a) => {
|
|
9
9
|
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
10
|
return /* @__PURE__ */ p(
|
|
@@ -13,15 +13,15 @@ const c = "ellipsisLineClamp__bea3d737", r = "oneLine__9ded019c", e = {
|
|
|
13
13
|
className: o,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.25.0",
|
|
17
17
|
ref: a,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
f.displayName = "Ellipsis";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
f as Ellipsis
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Ellipsis.js.map
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { EEmptyViewSize as i } from "./enums.js";
|
|
2
|
+
import { jsxs as s, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
3
|
+
import N from "react";
|
|
4
|
+
import { c as A } from "../../chunks/vendor-DudMBGKr.js";
|
|
5
|
+
import { Title as R } from "../Typography/Title.js";
|
|
6
|
+
import { EFontWeightTitle as h, ETitleSize as p, ETextSize as _, EFontType as d, EFontWeightText as M } from "../Typography/enums.js";
|
|
7
|
+
import { Text as S } from "../Typography/Text.js";
|
|
8
|
+
import { Gap as n } from "../Gap/Gap.js";
|
|
9
|
+
const B = "emptyView__90829ebf", D = "container__938ece26", g = "icon__0d9e33e9", I = "textBlock__fa30074d", t = {
|
|
10
|
+
emptyView: B,
|
|
11
|
+
container: D,
|
|
12
|
+
icon: g,
|
|
13
|
+
textBlock: I
|
|
14
|
+
}, V = {
|
|
15
|
+
[i.SM]: t.sm,
|
|
16
|
+
[i.MD]: t.md
|
|
17
|
+
}, v = {
|
|
18
|
+
[i.SM]: { size: p.H3, weight: h.MEDIUM },
|
|
19
|
+
[i.MD]: { size: p.H2, weight: h.SEMIBOLD }
|
|
20
|
+
}, T = {
|
|
21
|
+
[i.SM]: _.B3,
|
|
22
|
+
[i.MD]: _.B2
|
|
23
|
+
}, z = {
|
|
24
|
+
[i.SM]: 16,
|
|
25
|
+
[i.MD]: 24
|
|
26
|
+
}, k = N.forwardRef(
|
|
27
|
+
({ className: f, size: o, icon: a, title: c, description: r, caption: m, buttons: E, ...w }, y) => {
|
|
28
|
+
const l = !!(r || m);
|
|
29
|
+
return /* @__PURE__ */ s(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: A(t.emptyView, V[o], { [t.hasTitle]: !!c }, f),
|
|
33
|
+
ref: y,
|
|
34
|
+
...w,
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ s("div", { className: t.container, children: [
|
|
37
|
+
a && /* @__PURE__ */ e("div", { className: t.icon, children: a }),
|
|
38
|
+
a && o === i.SM && /* @__PURE__ */ e(n, { size: 8 }),
|
|
39
|
+
(c || l) && /* @__PURE__ */ s("div", { className: t.textBlock, children: [
|
|
40
|
+
c && /* @__PURE__ */ e(R, { ...v[o], children: c }),
|
|
41
|
+
c && l && /* @__PURE__ */ e(n, { size: 12 }),
|
|
42
|
+
l && /* @__PURE__ */ s("div", { className: t.descriptionBlock, children: [
|
|
43
|
+
r && /* @__PURE__ */ e(
|
|
44
|
+
S,
|
|
45
|
+
{
|
|
46
|
+
size: T[o],
|
|
47
|
+
weight: M.REGULAR,
|
|
48
|
+
type: c ? d.SECONDARY : d.PRIMARY,
|
|
49
|
+
children: r
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
r && m && /* @__PURE__ */ e(n, { size: 8 }),
|
|
53
|
+
m && /* @__PURE__ */ e(
|
|
54
|
+
S,
|
|
55
|
+
{
|
|
56
|
+
size: T[o],
|
|
57
|
+
weight: M.REGULAR,
|
|
58
|
+
type: d.SECONDARY,
|
|
59
|
+
children: m
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] })
|
|
63
|
+
] })
|
|
64
|
+
] }),
|
|
65
|
+
E && /* @__PURE__ */ s(x, { children: [
|
|
66
|
+
/* @__PURE__ */ e(n, { size: z[o] }),
|
|
67
|
+
/* @__PURE__ */ e("div", { className: t.buttons, children: E })
|
|
68
|
+
] })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
k.displayName = "EmptyView";
|
|
75
|
+
export {
|
|
76
|
+
k as EmptyView
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=EmptyView.js.map
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import U, { useRef as y } from "react";
|
|
3
|
-
import { z as b, c as j } from "../../chunks/vendor-
|
|
4
|
-
const z = "
|
|
3
|
+
import { z as b, c as j } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
const z = "expandAnimation__05f2784e", F = {
|
|
5
5
|
expandAnimation: z
|
|
6
6
|
}, I = 300, L = U.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: A,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: x = I,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
|
-
},
|
|
17
|
+
}, f) => {
|
|
18
18
|
const m = y({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}),
|
|
24
|
+
}), l = y(null), w = (c) => {
|
|
25
25
|
var u;
|
|
26
|
-
|
|
26
|
+
l.current && (m.current.entering.height = l.current.scrollHeight), d == null || d(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
27
|
}, H = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
|
-
|
|
32
|
+
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
33
|
}, D = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
36
|
}, N = (c) => {
|
|
37
|
-
|
|
37
|
+
l.current = c, typeof f == "function" ? f(c) : f && (f.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
40
|
b,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
44
|
-
nodeRef:
|
|
43
|
+
timeout: x,
|
|
44
|
+
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
@@ -52,7 +52,7 @@ const z = "expandAnimation__da11306d", F = {
|
|
|
52
52
|
{
|
|
53
53
|
className: j(F.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: x + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.25.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-DudMBGKr.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-DZkZf8cZ.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-DZkZf8cZ.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-DZkZf8cZ.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import I, { useState as t, useMemo as L } from "react";
|
|
3
|
-
import { c as h } from "../../chunks/vendor-
|
|
3
|
+
import { c as h } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { FormFieldContext as v } from "./FormFieldContext.js";
|
|
5
5
|
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__102c06f2", W = "sm__f589f97d", G = "md__6b4d80bd", M = "lg__96b7f74b", P = "active__13e73209", y = "disabled__680cc01e", U = "error__d20d2acd", j = "warning__d4cb4cc5", z = "filled__d0aba4a4", e = {
|
|
10
10
|
formField: S,
|
|
11
11
|
sm: W,
|
|
12
12
|
md: G,
|
|
13
13
|
lg: M,
|
|
14
|
-
default: "
|
|
14
|
+
default: "default__c9a7dc4a",
|
|
15
15
|
active: P,
|
|
16
16
|
disabled: y,
|
|
17
17
|
error: U,
|
|
@@ -26,31 +26,31 @@ const S = "formField__913f43e5", W = "sm__26ad389e", G = "md__d9ffd574", M = "lg
|
|
|
26
26
|
({
|
|
27
27
|
children: p,
|
|
28
28
|
className: F,
|
|
29
|
-
style:
|
|
29
|
+
style: b,
|
|
30
30
|
size: s = w.LG,
|
|
31
31
|
status: r = o.DEFAULT,
|
|
32
32
|
active: a = !1,
|
|
33
|
-
...
|
|
34
|
-
},
|
|
35
|
-
const [m,
|
|
33
|
+
...g
|
|
34
|
+
}, u) => {
|
|
35
|
+
const [m, x] = t(), [f, T] = t(), [i, E] = t(_), [l, N] = t(_), [c, R] = t(!1), [d, A] = t(!1), D = L(
|
|
36
36
|
() => ({
|
|
37
37
|
size: s,
|
|
38
38
|
status: r,
|
|
39
39
|
targetId: m,
|
|
40
|
-
labelId:
|
|
40
|
+
labelId: f,
|
|
41
41
|
postfixWidth: i,
|
|
42
42
|
prefixWidth: l,
|
|
43
|
-
filled:
|
|
43
|
+
filled: c,
|
|
44
44
|
focused: d,
|
|
45
45
|
active: a || d,
|
|
46
|
-
setTargetId:
|
|
47
|
-
setLabelId:
|
|
46
|
+
setTargetId: x,
|
|
47
|
+
setLabelId: T,
|
|
48
48
|
setPostfixWidth: E,
|
|
49
49
|
setPrefixWidth: N,
|
|
50
50
|
setFilled: R,
|
|
51
51
|
setFocused: A
|
|
52
52
|
}),
|
|
53
|
-
[s, r, m,
|
|
53
|
+
[s, r, m, f, i, l, c, d, a]
|
|
54
54
|
);
|
|
55
55
|
return /* @__PURE__ */ n(v.Provider, { value: D, children: /* @__PURE__ */ n(
|
|
56
56
|
"div",
|
|
@@ -60,15 +60,15 @@ const S = "formField__913f43e5", W = "sm__26ad389e", G = "md__d9ffd574", M = "lg
|
|
|
60
60
|
O[s],
|
|
61
61
|
B[r],
|
|
62
62
|
{
|
|
63
|
-
[e.filled]:
|
|
63
|
+
[e.filled]: c,
|
|
64
64
|
[e.active]: a || d
|
|
65
65
|
},
|
|
66
66
|
F
|
|
67
67
|
),
|
|
68
|
-
"data-tx": "1.
|
|
69
|
-
style: { paddingLeft: l, paddingRight: i, ...
|
|
70
|
-
...
|
|
71
|
-
ref:
|
|
68
|
+
"data-tx": "1.25.0",
|
|
69
|
+
style: { paddingLeft: l, paddingRight: i, ...b },
|
|
70
|
+
...g,
|
|
71
|
+
ref: u,
|
|
72
72
|
children: p
|
|
73
73
|
}
|
|
74
74
|
) });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import f, { useCallback as i } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
5
5
|
import { ButtonIcon as s } from "../../Button/ButtonIcon.js";
|
|
6
|
-
const p = "
|
|
6
|
+
const p = "formFieldClear__157e13b3", C = {
|
|
7
7
|
formFieldClear: p
|
|
8
8
|
}, F = f.forwardRef(
|
|
9
|
-
({ className:
|
|
9
|
+
({ className: t, onMouseDown: r, ...a }, m) => {
|
|
10
10
|
const o = i(
|
|
11
11
|
(e) => {
|
|
12
12
|
e.preventDefault(), r == null || r(e);
|
|
@@ -16,8 +16,8 @@ const p = "formFieldClear__e84651f8", C = {
|
|
|
16
16
|
return /* @__PURE__ */ l(
|
|
17
17
|
s,
|
|
18
18
|
{
|
|
19
|
-
...
|
|
20
|
-
className: c(C.formFieldClear,
|
|
19
|
+
...a,
|
|
20
|
+
className: c(C.formFieldClear, t),
|
|
21
21
|
onMouseDown: o,
|
|
22
22
|
ref: m,
|
|
23
23
|
children: /* @__PURE__ */ l(d, { 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__9c28f227", 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
|
|
@@ -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-DudMBGKr.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__85e2cca8", p = "withCounter__69a43f35", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
3
|
+
import "../../../chunks/vendor-DudMBGKr.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-DtYGQ_bi.js";
|
|
9
9
|
export {
|
|
10
10
|
d as FormFieldInput
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
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-DudMBGKr.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
7
|
import { TARGET_PADDING_X_DEFAULT as a } from "../consts.js";
|
|
8
|
-
const M = "
|
|
8
|
+
const M = "formFieldLabel__ba3da132", R = "sm__f589f97d", v = "md__6b4d80bd", z = "lg__96b7f74b", G = "floating__e0e9a755", W = "formFieldLabelText__d5252fb4", j = "disabled__680cc01e", e = {
|
|
9
9
|
formFieldLabel: M,
|
|
10
10
|
sm: R,
|
|
11
11
|
md: v,
|
|
@@ -14,13 +14,13 @@ const M = "formFieldLabel__c6f22484", R = "sm__26ad389e", v = "md__d9ffd574", 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:
|
|
18
|
-
const { targetId: n, size:
|
|
17
|
+
({ children: i, id: t, className: d, style: m, 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]), u = r ?? (F || L), x = h(
|
|
19
19
|
e.formFieldLabel,
|
|
20
|
-
q[
|
|
20
|
+
q[b],
|
|
21
21
|
{
|
|
22
22
|
[e.floating]: u,
|
|
23
|
-
[e.disabled]:
|
|
23
|
+
[e.disabled]: _ === C.DISABLED
|
|
24
24
|
},
|
|
25
25
|
d
|
|
26
26
|
), T = {
|
|
@@ -32,7 +32,7 @@ const M = "formFieldLabel__c6f22484", R = "sm__26ad389e", v = "md__d9ffd574", z
|
|
|
32
32
|
};
|
|
33
33
|
return I(() => {
|
|
34
34
|
o(l);
|
|
35
|
-
}, [l, o]), /* @__PURE__ */ s("label", { ...
|
|
35
|
+
}, [l, o]), /* @__PURE__ */ s("label", { ...f, id: l, className: x, 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,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as U } from "react";
|
|
3
|
-
import { c as F, n as q, o as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as F, n as q, o as p } from "../../../chunks/vendor-DudMBGKr.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-DtYGQ_bi.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__f9d0847f", X = "formFieldMaskedInputPlaceholder__8a6ceee8", Y = "formFieldMaskedInput__3bbc7e27", 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__c9101362",
|
|
12
|
+
"size-md": "size-md__131c4e39",
|
|
13
|
+
"size-lg": "size-lg__d339a6ec",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
15
|
}, c = ({
|
|
16
16
|
className: I,
|
|
@@ -23,9 +23,9 @@ const Q = "formFieldMaskedInputWrapper__e8c14f94", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, y] = $(""), a = L(!1), { filled: z, focused: k, size: b, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
y((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
31
|
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
@@ -60,8 +60,8 @@ const Q = "formFieldMaskedInputWrapper__e8c14f94", X = "formFieldMaskedInputPlac
|
|
|
60
60
|
};
|
|
61
61
|
}, D = () => o === c.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
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${
|
|
63
|
+
}, j = () => !z && !k || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(u.formFieldMaskedInputWrapper, u[`size-${b}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import l, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
+
const P = "formFieldPostfix__d9c0ac9d", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = l.forwardRef(
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
8
|
+
({ children: s, className: i, ...r }, o) => {
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: c, setPostfixWidth: n } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
|
-
t !==
|
|
17
|
-
}), /* @__PURE__ */ d("span", { className:
|
|
16
|
+
t !== c && n(t);
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: f, ref: m, ...r, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import l, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
+
const P = "formFieldPrefix__ae28bd71", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, _ =
|
|
7
|
+
}, _ = l.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(
|
|
9
|
+
const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(F), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ d("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _ } 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-DudMBGKr.js";
|
|
4
4
|
import { FormFieldContext as L } from "../FormFieldContext.js";
|
|
5
5
|
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
6
|
import { createSizeToClassNameMap as W } from "../../../utils/classNameMaps.js";
|
|
7
|
-
const z = "
|
|
7
|
+
const z = "formFieldTarget__966e65b3", M = "sm__f589f97d", R = "md__6b4d80bd", j = "lg__96b7f74b", k = "placeholder__f6858a2c", q = "disabled__680cc01e", w = "placeholderWrapper__c3d9f635", B = "active__13e73209", e = {
|
|
8
8
|
formFieldTarget: z,
|
|
9
9
|
sm: M,
|
|
10
10
|
md: R,
|
|
@@ -14,8 +14,8 @@ const z = "formFieldTarget__00b5e1c9", M = "sm__26ad389e", R = "md__d9ffd574", j
|
|
|
14
14
|
placeholderWrapper: w,
|
|
15
15
|
active: B
|
|
16
16
|
}, G = W(e), H = b.forwardRef(
|
|
17
|
-
({ children:
|
|
18
|
-
const { size: I, status: s, active: v, labelId: x, setFilled: f, setFocused: l, setTargetId: n } = S(L), i = g(() =>
|
|
17
|
+
({ children: o, id: c, className: T, placeholder: p, onFocus: a, onBlur: t, ...u }, D) => {
|
|
18
|
+
const { size: I, status: s, active: v, labelId: x, setFilled: f, setFocused: l, setTargetId: n } = S(L), i = g(() => c === void 0 ? y("target_") : c, [c]), r = g(() => b.Children.toArray(o).length !== 0, [o]), E = A(e.formFieldTarget, G[I], T, {
|
|
19
19
|
[e.disabled]: s === d.DISABLED,
|
|
20
20
|
[e.placeholder]: !!p && !r && s !== d.DISABLED,
|
|
21
21
|
[e.active]: v
|
|
@@ -48,7 +48,7 @@ const z = "formFieldTarget__00b5e1c9", M = "sm__26ad389e", R = "md__d9ffd574", j
|
|
|
48
48
|
onBlur: N,
|
|
49
49
|
onFocus: C,
|
|
50
50
|
ref: D,
|
|
51
|
-
children: r ?
|
|
51
|
+
children: r ? o : /* @__PURE__ */ _("span", { className: e.placeholderWrapper, children: p })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|