@sberbusiness/triplex-next 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-B3Xzh0I2.js → AlertProcessSpoiler-BQv9QI6L.js} +10 -10
- package/chunks/Card.module-kTbr6OQy.js +17 -0
- package/chunks/Chip-G6cGXuGj.js +90 -0
- package/chunks/DropdownListItem-D2hzyBGc.js +57 -0
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +21 -0
- package/chunks/Footer.module-B3uFxh54.js +9 -0
- package/chunks/FormFieldInput-CO7yZP0Q.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +9 -0
- package/chunks/HeaderTabs.module-DMuNfILv.js +9 -0
- package/chunks/HeaderTitle.module-BHyH17ZI.js +11 -0
- package/chunks/IslandAccordion.module-7xAwgJVI.js +22 -0
- package/chunks/LightBoxContent-DmoszkOx.js +56 -0
- package/chunks/LightBoxControls.module-42gn-co3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +8 -0
- package/chunks/{ListItemControlsButton-BdtSkcyn.js → ListItemControlsButton-BoEiexyr.js} +6 -6
- package/chunks/ListItemTail.module-BB5TJPEc.js +12 -0
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +10 -0
- package/chunks/Notification.module-C-HCMpAz.js +21 -0
- package/chunks/Overlay.module-q-oPhooa.js +18 -0
- package/chunks/Page.module-DjGbJ-Uw.js +12 -0
- package/chunks/{RightBorderArrow-BA2_2Ry3.js → RightBorderArrow-BHW7rkmN.js} +15 -15
- package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
- package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-CMKMF0PQ.js} +2 -2
- package/chunks/TableFooter.module-DrRycaTr.js +13 -0
- package/chunks/TabsExtended.module-Be8qpZYz.js +16 -0
- package/chunks/TabsLine.module-DKAp48Sx.js +23 -0
- package/chunks/TooltipDesktop.module-D72ObNia.js +19 -0
- package/chunks/{UploadZoneInput-CioKsqkV.js → UploadZoneInput-pdhICY56.js} +9 -9
- package/chunks/utils-B7AjUpy-.js +20 -0
- package/chunks/utils-C-1ATq_g.js +24 -0
- package/chunks/{utils-D7E_PKCe.js → utils-C8a4iCV0.js} +5 -5
- package/chunks/{utils-B5p23Ple.js → utils-C9-tOm2Z.js} +7 -7
- package/chunks/{utils-DPXynVs1.js → utils-DwX2_kEA.js} +10 -10
- package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +47 -46
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +15 -19
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +10 -10
- 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 +15 -15
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/CheckboxTree.js +39 -0
- package/components/CheckboxTree/types.js +2 -0
- package/components/CheckboxTree/utils.js +22 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
- package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
- package/components/Chip/Chip.js +8 -83
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +9 -9
- package/components/Chip/ChipIcon.js +4 -4
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -5
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/CollapsableTree.js +10 -0
- package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +61 -40
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +60 -34
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +4 -4
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +81 -63
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- 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/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +26 -26
- package/components/Footer/Footer.js +9 -20
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +22 -22
- package/components/FormField/components/FormFieldTextarea.js +32 -28
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- 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 +2 -2
- 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 +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +11 -11
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +16 -16
- 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 +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +2 -2
- 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 +11 -11
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +28 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +32 -28
- package/components/Notification/Notification.js +40 -0
- package/components/Notification/NotificationGrouped.js +12 -0
- package/components/Notification/components/NotificationBody.js +19 -0
- package/components/Notification/components/NotificationBodyContent.js +8 -0
- package/components/Notification/components/NotificationBodyList.js +11 -0
- package/components/Notification/components/NotificationClose.js +14 -0
- package/components/Notification/components/NotificationFooter.js +8 -0
- package/components/Notification/components/NotificationGroupedFooter.js +11 -0
- package/components/Notification/components/NotificationHeader.js +8 -0
- package/components/Notification/components/NotificationIcon.js +8 -0
- package/components/Notification/components/NotificationTime.js +8 -0
- package/components/NumberField/NumberField.js +8 -0
- package/components/NumberField/NumberFieldInput.js +38 -0
- package/components/NumberField/index.js +5 -0
- package/components/NumberField/types.js +2 -0
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -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 +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- 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 +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +81 -80
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- 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 +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +11 -11
- 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 +7 -7
- 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 +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +4 -4
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +70 -0
- package/components/Tag/index.js +5 -0
- package/components/Tag/types.js +2 -0
- package/components/TagGroup/TagGroup.js +25 -0
- package/components/TagGroup/index.js +5 -0
- package/components/TagGroup/types.js +2 -0
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- 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 +7 -7
- package/components/TreeView/TreeView.js +88 -0
- package/components/TreeView/TreeViewAbstractNode.js +38 -0
- package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
- package/components/TreeView/TreeViewContext.js +30 -0
- package/components/TreeView/components/TreeViewGroup.js +6 -0
- package/components/TreeView/components/TreeViewNode.js +81 -0
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +9 -9
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +418 -356
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +952 -88
- package/index.js +426 -364
- package/package.json +49 -5
- package/styles/triplex-next.css +472 -436
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/Card.module-Dh5vP2zv.js +0 -17
- package/chunks/DropdownListItem-B1GkU8rn.js +0 -57
- package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
- package/chunks/Footer.module-Bk8QkaWN.js +0 -11
- package/chunks/FormFieldInput-n8Ee4EcP.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +0 -9
- package/chunks/HeaderTabs.module-yaGpurOU.js +0 -9
- package/chunks/HeaderTitle.module-XzB-YndL.js +0 -9
- package/chunks/ListItemTail.module-D_m5pMsh.js +0 -12
- package/chunks/ListMasterFooter.module-DXrsYZZo.js +0 -10
- package/chunks/Overlay.module-BghrPKKn.js +0 -18
- package/chunks/Page.module-D6xCdUbr.js +0 -12
- package/chunks/TableFooter.module-BzfTOGS_.js +0 -13
- package/chunks/TabsExtended.module-B3nvdhKr.js +0 -16
- package/chunks/TabsLine.module-Dlj__Yjk.js +0 -23
- package/chunks/TooltipDesktop.module-TiWl3v5C.js +0 -19
- package/chunks/utils-BtcCJ4_U.js +0 -20
- package/chunks/utils-DjxtOr-n.js +0 -48
- package/components/Chip/enums.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/DesignTokens/components/Page.js +0 -9
- package/components/LoaderWidget/LoaderWidget.js +0 -29
- package/components/LoaderWidget/index.js +0 -5
- /package/components/{Island → AccordionBase}/types.js +0 -0
|
@@ -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-Ba_pyhza.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-B3uFxh54.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,45 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as e } from "react";
|
|
3
3
|
import { FormFieldContext as G } from "./FormFieldContext.js";
|
|
4
4
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
5
|
-
import { c as I } from "../../chunks/vendor-
|
|
5
|
+
import { c as I } from "../../chunks/vendor-Ba_pyhza.js";
|
|
6
6
|
import { EFormFieldStatus as r } from "./enums.js";
|
|
7
7
|
import { EComponentSize as N } from "../../enums/EComponentSize.js";
|
|
8
|
-
const P = "
|
|
8
|
+
const P = "formField__7d7fcf94", S = "disabled__b720611e", T = "active__242fb002", L = "error__5d66e340", u = "warning__38b847e0", i = {
|
|
9
9
|
formField: P,
|
|
10
10
|
disabled: S,
|
|
11
11
|
active: T,
|
|
12
12
|
error: L,
|
|
13
13
|
warning: u,
|
|
14
|
-
"size-sm": "size-
|
|
15
|
-
"size-md": "size-
|
|
16
|
-
"size-lg": "size-
|
|
14
|
+
"size-sm": "size-sm__7540e812",
|
|
15
|
+
"size-md": "size-md__c6a543db",
|
|
16
|
+
"size-lg": "size-lg__1760a0c4"
|
|
17
17
|
}, V = ({
|
|
18
18
|
children: p,
|
|
19
19
|
className: F,
|
|
20
20
|
status: t = r.DEFAULT,
|
|
21
21
|
onMouseEnter: s,
|
|
22
|
-
onMouseLeave:
|
|
23
|
-
style:
|
|
22
|
+
onMouseLeave: o,
|
|
23
|
+
style: x,
|
|
24
24
|
size: c = N.LG,
|
|
25
|
-
...
|
|
25
|
+
...g
|
|
26
26
|
}) => {
|
|
27
|
-
const [a,
|
|
28
|
-
l(!0), s == null || s(
|
|
29
|
-
}, w = (
|
|
30
|
-
l(!1),
|
|
27
|
+
const [a, h] = e(!1), [b, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [f, A] = e(_), [D, R] = e(!1), W = (d) => {
|
|
28
|
+
l(!0), s == null || s(d);
|
|
29
|
+
}, w = (d) => {
|
|
30
|
+
l(!1), o == null || o(d);
|
|
31
31
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ n(
|
|
33
33
|
G.Provider,
|
|
34
34
|
{
|
|
35
35
|
value: {
|
|
36
36
|
status: t,
|
|
37
37
|
focused: a,
|
|
38
|
-
hovered:
|
|
38
|
+
hovered: b,
|
|
39
39
|
id: v,
|
|
40
40
|
postfixWidth: m,
|
|
41
|
-
prefixWidth:
|
|
42
|
-
setFocused:
|
|
41
|
+
prefixWidth: f,
|
|
42
|
+
setFocused: h,
|
|
43
43
|
setId: z,
|
|
44
44
|
setPostfixWidth: E,
|
|
45
45
|
setPrefixWidth: A,
|
|
@@ -47,7 +47,7 @@ const P = "formField__2343db3d", S = "disabled__4cfae557", T = "active__b42bba09
|
|
|
47
47
|
valueExist: D,
|
|
48
48
|
size: c
|
|
49
49
|
},
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ n(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: I(
|
|
@@ -63,9 +63,9 @@ const P = "formField__2343db3d", S = "disabled__4cfae557", T = "active__b42bba09
|
|
|
63
63
|
),
|
|
64
64
|
onMouseEnter: W,
|
|
65
65
|
onMouseLeave: w,
|
|
66
|
-
"data-tx": "1.
|
|
67
|
-
style: { paddingLeft:
|
|
68
|
-
...
|
|
66
|
+
"data-tx": "1.4.0",
|
|
67
|
+
style: { paddingLeft: f, paddingRight: m, ...x },
|
|
68
|
+
...g,
|
|
69
69
|
children: p
|
|
70
70
|
}
|
|
71
71
|
)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import n, { useContext as p } from "react";
|
|
3
3
|
import { CrossStrokeSrvIcon16 as F } from "@sberbusiness/icons-next";
|
|
4
4
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
5
5
|
import { EFormFieldStatus as C } from "../enums.js";
|
|
6
|
-
import { c as u } from "../../../chunks/vendor-
|
|
6
|
+
import { c as u } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
7
7
|
import "../../Button/Button.js";
|
|
8
8
|
import "../../Button/ButtonBase.js";
|
|
9
9
|
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
10
10
|
import "../../Button/ButtonDropdown.js";
|
|
11
11
|
import "../../Button/ButtonDropdownExtended.js";
|
|
12
|
-
const _ = "
|
|
12
|
+
const _ = "formFieldClear__ab290d63", v = "hidden__1b4afecd", t = {
|
|
13
13
|
formFieldClear: _,
|
|
14
14
|
hidden: v
|
|
15
|
-
}, I =
|
|
16
|
-
({ className: m, onMouseDown: e, ...
|
|
17
|
-
const { status:
|
|
15
|
+
}, I = n.forwardRef(
|
|
16
|
+
({ className: m, onMouseDown: e, ...d }, l) => {
|
|
17
|
+
const { status: a, focused: i, hovered: s, valueExist: c } = p(h), f = u(
|
|
18
18
|
t.formFieldClear,
|
|
19
19
|
"hoverable",
|
|
20
20
|
{
|
|
21
|
-
[t.hidden]: !
|
|
21
|
+
[t.hidden]: !c || a === C.DISABLED || !(i || s)
|
|
22
22
|
},
|
|
23
23
|
m
|
|
24
24
|
);
|
|
25
|
-
return /* @__PURE__ */ o(x, { className:
|
|
25
|
+
return /* @__PURE__ */ o(x, { className: f, onMouseDown: (r) => {
|
|
26
26
|
r.preventDefault(), e == null || e(r);
|
|
27
|
-
}, ...
|
|
27
|
+
}, ...d, ref: l, children: /* @__PURE__ */ o(F, { paletteIndex: 5 }) });
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
I.displayName = "FormFieldClear";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__0e57c3a0", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, l = ({ children: e, ...o }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__37b5794f", p = "withCounter__b73c01a3", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: r, ...e }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as
|
|
4
|
+
import "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-CO7yZP0Q.js";
|
|
6
6
|
import "../enums.js";
|
|
7
|
+
import "../../../utils/classNameMaps.js";
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
a as FormFieldInput
|
|
9
10
|
};
|
|
10
11
|
//# sourceMappingURL=FormFieldInput.js.map
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
5
|
-
import {
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
+
import { m as D, c as N } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__cc7aa592", R = "floating__2a4fa279", S = "formFieldLabelText__09fde7f9", C = "disabled__b720611e", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__7540e812",
|
|
10
|
+
"size-md": "size-md__c6a543db",
|
|
11
|
+
"size-lg": "size-lg__1760a0c4",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children:
|
|
17
|
-
const { status:
|
|
16
|
+
({ children: f, className: r, style: c, floating: e, ...n }, F) => {
|
|
17
|
+
const { status: _, focused: t, id: b, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
|
-
!D(e) && e !== l ?
|
|
20
|
-
}, [t,
|
|
19
|
+
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
20
|
+
}, [t, a, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
|
-
[s.disabled]:
|
|
24
|
+
[s.disabled]: _ === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
26
|
[s[`size-${i}`]]: i
|
|
27
27
|
},
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
33
|
+
right: x || m,
|
|
34
34
|
...c
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: b, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as O, useRef as A, useContext as B, useEffect as D, useCallback as U } from "react";
|
|
3
|
-
import { c as F,
|
|
3
|
+
import { c as F, n as q, o as p } from "../../../chunks/vendor-Ba_pyhza.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-CO7yZP0Q.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlaceholder__b0621a6f", X = "formFieldMaskedInput__8f7dcad2", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__7540e812",
|
|
11
|
+
"size-md": "size-md__c6a543db",
|
|
12
|
+
"size-lg": "size-lg__1760a0c4",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
|
-
},
|
|
14
|
+
}, a = ({
|
|
15
15
|
className: I,
|
|
16
16
|
forwardedRef: f,
|
|
17
17
|
disabled: g,
|
|
@@ -23,7 +23,7 @@ const L = "formFieldMaskedInputWrapper__872110eb", Q = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
..._
|
|
25
25
|
}) => {
|
|
26
|
-
const [V, x] = O(""),
|
|
26
|
+
const [V, x] = O(""), c = A(!1), { valueExist: y, focused: z, size: k } = B(K);
|
|
27
27
|
D(() => {
|
|
28
28
|
x((() => {
|
|
29
29
|
let t = [];
|
|
@@ -43,14 +43,14 @@ const L = "formFieldMaskedInputWrapper__872110eb", Q = "formFieldMaskedInputPlac
|
|
|
43
43
|
const T = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
|
-
|
|
46
|
+
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
49
|
), E = () => {
|
|
50
|
-
|
|
51
|
-
}, W = (e, t) => o ===
|
|
50
|
+
c.current = !0;
|
|
51
|
+
}, W = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
|
-
if (
|
|
53
|
+
if (c.current) {
|
|
54
54
|
let n = /^[78]((\D*\d)*)/;
|
|
55
55
|
e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y, $) => $), `+7 (${r}`));
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
@@ -58,7 +58,7 @@ const L = "formFieldMaskedInputWrapper__872110eb", Q = "formFieldMaskedInputPlac
|
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
59
|
value: p.conformToMask(e, o, { guide: !1, placeholderChar: i }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, b = () => o ===
|
|
61
|
+
}, b = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, j = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, S = () => !y && !z || !s && M ? "" : V;
|
|
64
64
|
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
@@ -98,8 +98,8 @@ const L = "formFieldMaskedInputWrapper__872110eb", Q = "formFieldMaskedInputPlac
|
|
|
98
98
|
)
|
|
99
99
|
] });
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
a.presets = G;
|
|
102
102
|
export {
|
|
103
|
-
|
|
103
|
+
a as FormFieldMaskedInput
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
3
|
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
|
+
const P = "formFieldPostfix__9fa31efa", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, _ =
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
8
|
({ children: s, className: f, ...i }, o) => {
|
|
9
9
|
const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPostfix__866d6adf", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: r, ref: m, ...i, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import d, { 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 d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
|
+
const P = "formFieldPrefix__95f1c407", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
|
-
({ children: o, className:
|
|
9
|
-
const s = p(R.formFieldPrefix,
|
|
8
|
+
({ children: o, className: f, ...i }, r) => {
|
|
9
|
+
const s = p(R.formFieldPrefix, f), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
|
-
e !==
|
|
17
|
-
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...
|
|
16
|
+
e !== n && c(e);
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPrefix";
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as S, a as A } from "../../../chunks/vendor-
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const L = "
|
|
4
|
+
import { c as S, a as A } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
|
+
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
+
const L = "formFieldTarget__8ca0e86d", N = "placeholder__58ee63a8", R = "disabled__b720611e", o = {
|
|
7
7
|
formFieldTarget: L,
|
|
8
8
|
placeholder: N,
|
|
9
9
|
disabled: R,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__7540e812",
|
|
11
|
+
"size-md": "size-md__c6a543db",
|
|
12
|
+
"size-lg": "size-lg__1760a0c4"
|
|
13
13
|
}, y = x.forwardRef((F, _) => {
|
|
14
|
-
const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...g } = F, { status: r, setFocused: f, setId: t, setValueExist: u, size: h } = E(B),
|
|
15
|
-
[o.disabled]: r ===
|
|
16
|
-
[o.placeholder]: !!n && !s && r !==
|
|
17
|
-
}),
|
|
14
|
+
const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...g } = F, { status: r, setFocused: f, setId: t, setValueExist: u, size: h } = E(B), b = S(o.formFieldTarget, p, o[`size-${h}`], {
|
|
15
|
+
[o.disabled]: r === d.DISABLED,
|
|
16
|
+
[o.placeholder]: !!n && !s && r !== d.DISABLED
|
|
17
|
+
}), a = T(e || A("formFieldTarget_"));
|
|
18
18
|
m(() => {
|
|
19
|
-
t(
|
|
19
|
+
t(a.current);
|
|
20
20
|
}, [t]), m(() => {
|
|
21
|
-
e && (
|
|
21
|
+
e && (a.current = e, t(a.current));
|
|
22
22
|
}, [e, t]), m(() => {
|
|
23
23
|
u(!!s);
|
|
24
24
|
}, [u, s]);
|
|
25
|
-
const
|
|
25
|
+
const z = (c) => {
|
|
26
26
|
f(!1), l == null || l(c);
|
|
27
|
-
},
|
|
27
|
+
}, D = (c) => {
|
|
28
28
|
f(!0), i == null || i(c);
|
|
29
29
|
};
|
|
30
|
-
return /* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ I(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
33
33
|
...g,
|
|
34
|
-
className:
|
|
35
|
-
"aria-disabled": r ===
|
|
36
|
-
id:
|
|
37
|
-
onFocus:
|
|
38
|
-
onBlur:
|
|
39
|
-
tabIndex: r ===
|
|
34
|
+
className: b,
|
|
35
|
+
"aria-disabled": r === d.DISABLED,
|
|
36
|
+
id: a.current,
|
|
37
|
+
onFocus: D,
|
|
38
|
+
onBlur: z,
|
|
39
|
+
tabIndex: r === d.DISABLED ? -1 : 0,
|
|
40
40
|
ref: _,
|
|
41
41
|
children: s || n
|
|
42
42
|
}
|
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as E } from "react/jsx-runtime";
|
|
2
|
+
import I, { useContext as b, useRef as g, useEffect as c } from "react";
|
|
3
|
+
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
|
+
import { a as z, c as R } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
5
|
+
import { createSizeToClassNameMap as S } from "../../../utils/classNameMaps.js";
|
|
6
|
+
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
+
const D = "formFieldTextarea__28af73f9", M = "sm__b412b02f", j = "md__c14e799d", q = "lg__96871987", l = {
|
|
8
|
+
formFieldTextarea: D,
|
|
9
|
+
sm: M,
|
|
10
|
+
md: j,
|
|
11
|
+
lg: q
|
|
12
|
+
}, w = S(l), A = I.forwardRef(
|
|
13
|
+
({ className: f, id: e, onBlur: a, onFocus: r, placeholder: n, value: o, ...x }, p) => {
|
|
14
|
+
const { size: u, status: F, focused: _, setFocused: d, setId: t, setValueExist: i } = b(h), s = g(e === void 0 ? z() : ""), T = R(l.formFieldTextarea, w[u], f);
|
|
11
15
|
c(() => {
|
|
12
|
-
t(
|
|
16
|
+
t(s.current);
|
|
13
17
|
}, [t]), c(() => {
|
|
14
|
-
e && (
|
|
18
|
+
e && (s.current = e, t(s.current));
|
|
15
19
|
}, [e, t]), c(() => {
|
|
16
|
-
|
|
17
|
-
}, [
|
|
18
|
-
const
|
|
20
|
+
i(!!o);
|
|
21
|
+
}, [i, o]);
|
|
22
|
+
const N = (m) => {
|
|
19
23
|
d(!1), a == null || a(m);
|
|
20
|
-
},
|
|
21
|
-
d(!0),
|
|
24
|
+
}, C = (m) => {
|
|
25
|
+
d(!0), r == null || r(m);
|
|
22
26
|
};
|
|
23
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ E(
|
|
24
28
|
"textarea",
|
|
25
29
|
{
|
|
26
|
-
...
|
|
27
|
-
id:
|
|
28
|
-
className:
|
|
29
|
-
disabled:
|
|
30
|
-
onFocus:
|
|
31
|
-
onBlur:
|
|
32
|
-
placeholder:
|
|
30
|
+
...x,
|
|
31
|
+
id: s.current,
|
|
32
|
+
className: T,
|
|
33
|
+
disabled: F === y.DISABLED,
|
|
34
|
+
onFocus: C,
|
|
35
|
+
onBlur: N,
|
|
36
|
+
placeholder: _ ? n : void 0,
|
|
33
37
|
value: o,
|
|
34
|
-
ref:
|
|
38
|
+
ref: p
|
|
35
39
|
}
|
|
36
40
|
);
|
|
37
41
|
}
|
|
38
42
|
);
|
|
39
|
-
|
|
43
|
+
A.displayName = "FormFieldTextarea";
|
|
40
44
|
export {
|
|
41
|
-
|
|
45
|
+
A as FormFieldTextarea
|
|
42
46
|
};
|
|
43
47
|
//# sourceMappingURL=FormFieldTextarea.js.map
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as i } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as p } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as a } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-CO7yZP0Q.js";
|
|
8
8
|
import { FormFieldMaskedInput as C } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as I } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as S } from "./components/FormFieldPrefix.js";
|
|
@@ -1,40 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { HeaderLayoutSidebar as f } from "./components/HeaderLayoutSidebar/HeaderLayoutSidebar.js";
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import { HeaderTabs as i } from "./components/HeaderTabs/HeaderTabs.js";
|
|
4
|
+
import { HeaderTitle as m } from "./components/HeaderTitle/HeaderTitle.js";
|
|
5
|
+
import { HeaderSubheader as d } from "./components/HeaderSubheader/HeaderSubheader.js";
|
|
6
|
+
import { HeaderLayoutSidebar as p } from "./components/HeaderLayoutSidebar/HeaderLayoutSidebar.js";
|
|
8
7
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js";
|
|
9
8
|
import "./components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js";
|
|
10
9
|
import "./components/HeaderTabs/HeaderTabsContent.js";
|
|
11
10
|
import "./components/HeaderTabs/HeaderTabsControls.js";
|
|
12
11
|
import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
13
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, l = Object.assign(
|
|
18
|
-
d.forwardRef(function({ className: r, sticky: t, ...a }, o) {
|
|
19
|
-
return /* @__PURE__ */ i(
|
|
20
|
-
"div",
|
|
21
|
-
{
|
|
22
|
-
className: m(e.header, { [e.sticky]: !!t }, r),
|
|
23
|
-
...a,
|
|
24
|
-
"data-tx": "1.2.0",
|
|
25
|
-
ref: o
|
|
26
|
-
}
|
|
27
|
-
);
|
|
13
|
+
const f = Object.assign(
|
|
14
|
+
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.4.0", ref: t, children: r });
|
|
28
16
|
}),
|
|
29
17
|
{
|
|
30
|
-
LayoutSidebar:
|
|
31
|
-
Subhead:
|
|
32
|
-
Tabs:
|
|
33
|
-
Title:
|
|
18
|
+
LayoutSidebar: p,
|
|
19
|
+
Subhead: d,
|
|
20
|
+
Tabs: i,
|
|
21
|
+
Title: m
|
|
34
22
|
}
|
|
35
23
|
);
|
|
36
|
-
|
|
24
|
+
f.displayName = "Header";
|
|
37
25
|
export {
|
|
38
|
-
|
|
26
|
+
f as Header
|
|
39
27
|
};
|
|
40
28
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-CGCy_cim.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as d } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
import { s as m } from "../../../../chunks/HeaderLayoutSidebar.module-CGCy_cim.js";
|
|
5
5
|
const i = s.forwardRef(
|
|
6
6
|
({ children: e, className: a, ...t }, o) => /* @__PURE__ */ r("div", { className: d(m.headerLayoutSidebarContent, a), ...t, ref: o, children: e })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as t } from "../../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
3
|
+
import { c as t } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
import { s } from "../../../../chunks/HeaderLayoutSidebar.module-CGCy_cim.js";
|
|
5
5
|
const m = i.forwardRef(
|
|
6
6
|
({ children: a, className: r, ...e }, o) => /* @__PURE__ */ d("div", { className: t(s.headerLayoutSidebarSidebar, r), ...e, ref: o, children: a })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
4
|
-
const u = "
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
const u = "headerSubheader__d7180ecd", c = "withoutPaddings__064c5a69", e = {
|
|
5
5
|
headerSubheader: u,
|
|
6
6
|
withoutPaddings: c
|
|
7
7
|
}, n = h.forwardRef(
|