@sberbusiness/triplex-next 1.1.1 → 1.3.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 -8
- package/chunks/{AlertProcessSpoiler-Caa0745n.js → AlertProcessSpoiler-B91XiZ7K.js} +9 -9
- package/chunks/Card.module-NgdHcwYS.js +17 -0
- package/chunks/Chip-XyednI9u.js +87 -0
- package/chunks/DropdownListItem-g0mYNHIW.js +57 -0
- package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
- package/chunks/Footer.module-4a0n1yRR.js +11 -0
- package/chunks/{FormFieldInput-rV5ZVe9k.js → FormFieldInput-qaJqBTBV.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +9 -0
- package/chunks/HeaderTabs.module-CXcyvbb5.js +9 -0
- package/chunks/HeaderTitle.module-B-6xJFnf.js +9 -0
- package/chunks/{ListItemControlsButton-Ch-5PQYH.js → ListItemControlsButton-Ms4q9wDe.js} +10 -10
- package/chunks/ListItemTail.module-D5VudFCz.js +12 -0
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +10 -0
- package/chunks/Notification.module-MX1NZXsu.js +21 -0
- package/chunks/Overlay.module-B1IlIRoo.js +18 -0
- package/chunks/Page.module-Cwb_zvqj.js +12 -0
- package/chunks/RightBorderArrow-D6ZllSTT.js +146 -0
- package/chunks/SuggestFieldMobileDropdownHint-Cc_fZLBH.js +15 -0
- package/chunks/TableFooter.module-D9_esv5A.js +13 -0
- package/chunks/TabsExtended.module--2PQhvJQ.js +16 -0
- package/chunks/TabsLine.module-CH_sqFyE.js +23 -0
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +19 -0
- package/chunks/{UploadZoneInput-CXjerIVV.js → UploadZoneInput-Bkv3b0F5.js} +6 -6
- package/chunks/utils-BZFu5eVD.js +26 -0
- package/chunks/utils-CVSz7tV_.js +20 -0
- package/chunks/utils-D8e1oAR3.js +72 -0
- package/chunks/utils-DWPj89gs.js +36 -0
- package/chunks/utils-dyCpsmr1.js +48 -0
- package/chunks/vendor-CehxOAkM.js +11907 -0
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/AccordionBase/types.js +2 -0
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +37 -0
- package/components/Amount/index.js +5 -0
- package/components/AmountField/AmountBaseInputCore.js +46 -0
- package/components/AmountField/AmountBaseInputFormatter.js +57 -0
- package/components/AmountField/AmountBaseInputParser.js +110 -0
- package/components/AmountField/AmountField.js +76 -0
- package/components/AmountField/index.js +5 -0
- package/components/AmountField/utils.js +38 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +68 -67
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +113 -127
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +16 -20
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +16 -16
- 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 +48 -0
- package/components/Checkbox/Checkbox.js +46 -30
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/Checkbox/index.js +4 -6
- 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 +9 -0
- package/components/Chip/ChipClearButton.js +28 -0
- package/components/Chip/ChipDropdownArrow.js +18 -0
- package/components/Chip/ChipIcon.js +9 -0
- package/components/Chip/ChipOptions.js +27 -0
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/index.js +15 -0
- package/components/ChipGroup/ChipGroup.js +32 -0
- package/components/ChipGroup/index.js +5 -0
- 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 +95 -68
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +98 -76
- package/components/DesignTokens/components/Card.js +23 -20
- package/components/DesignTokens/components/Checkbox.js +32 -14
- package/components/DesignTokens/components/Chip.js +59 -0
- package/components/DesignTokens/components/Divider.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +1 -1
- package/components/DesignTokens/components/DropdownList.js +2 -2
- package/components/DesignTokens/components/DropdownMobile.js +3 -3
- package/components/DesignTokens/components/FooterPage.js +3 -3
- package/components/DesignTokens/components/HeaderPage.js +4 -4
- package/components/DesignTokens/components/ListItemControlsButton.js +20 -5
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +20 -0
- package/components/DesignTokens/components/MarkerStatus.js +9 -0
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/Radio.js +22 -13
- package/components/DesignTokens/components/Stepper.js +71 -0
- package/components/DesignTokens/components/TableBasic.js +41 -0
- package/components/DesignTokens/components/Tabs.js +45 -15
- package/components/DesignTokens/components/TabsLine.js +32 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +110 -83
- package/components/Divider/Divider.js +34 -0
- package/components/Divider/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +52 -51
- package/components/Dropdown/desktop/DropdownList.js +66 -53
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +9 -0
- package/components/Dropdown/index.js +33 -29
- 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 +9 -8
- package/components/Dropdown/mobile/DropdownMobileList.js +26 -17
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +20 -0
- package/components/Dropdown/mobile/index.js +5 -3
- package/components/Ellipsis/Ellipsis.js +27 -0
- package/components/Ellipsis/index.js +5 -0
- package/components/ExpandAnimation/ExpandAnimation.js +72 -0
- package/components/Footer/Footer.js +3 -3
- 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 +36 -35
- package/components/FormField/FormFieldContext.js +8 -7
- package/components/FormField/components/FormFieldClear.js +24 -20
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +12 -12
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +6 -6
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +12 -12
- 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 +5 -5
- 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 +94 -0
- package/components/Island/Island.js +25 -66
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/enums.js +1 -3
- package/components/Island/index.js +4 -6
- package/components/Island/types.js +2 -0
- package/components/Island/utils.js +8 -0
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +12 -20
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -10
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
- package/components/List/components/ListItemLoading.js +9 -7
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +9 -9
- 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 +8 -8
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +26 -37
- package/components/LoaderScreen/LoaderScreen.js +29 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +20 -0
- package/components/Marker/enums.js +5 -0
- package/components/Marker/index.js +7 -0
- package/components/Marker/utils.js +6 -0
- package/components/MarkerStatus/MarkerStatus.js +40 -0
- package/components/MarkerStatus/index.js +5 -0
- 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 +25 -0
- package/components/OrderedList/OrderedListItem.js +27 -0
- package/components/OrderedList/index.js +7 -0
- package/components/OrderedList/types.js +2 -0
- 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 +2 -2
- package/components/Page/components/FooterPage.js +28 -31
- package/components/Page/components/HeaderPage.js +26 -29
- package/components/Page/components/useStickyCornerRadius.js +34 -0
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +30 -22
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Radio/index.js +4 -6
- package/components/Row/Row.js +10 -10
- package/components/SegmentedControl/SegmentedControl.js +39 -42
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -36
- package/components/SelectField/SelectField.js +62 -0
- package/components/SelectField/index.js +5 -0
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Stepper/RightBorderArrow.js +7 -0
- package/components/Stepper/Stepper.js +103 -0
- package/components/Stepper/StepperExtended.js +26 -0
- package/components/Stepper/StepperExtendedContext.js +12 -0
- package/components/Stepper/StepperStep.js +88 -0
- package/components/Stepper/StepperStepIcon.js +23 -0
- package/components/Stepper/StepperWrapper.js +12 -0
- package/components/Stepper/enums.js +7 -0
- package/components/Stepper/index.js +11 -0
- package/components/SuggestField/SuggestField.js +64 -0
- package/components/SuggestField/SuggestFieldTarget.js +67 -0
- package/components/SuggestField/SuggestFieldTargetPostfix.js +28 -0
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +196 -0
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +76 -0
- package/components/SuggestField/desktop/index.js +7 -0
- package/components/SuggestField/desktop/types.js +2 -0
- package/components/SuggestField/index.js +17 -0
- package/components/SuggestField/mobile/SuggestFieldMobile.js +79 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +94 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +10 -0
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +30 -0
- package/components/SuggestField/mobile/index.js +11 -0
- package/components/SuggestField/mobile/types.js +2 -0
- package/components/SuggestField/types.js +2 -0
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +18 -0
- package/components/Table/MasterTable.js +49 -0
- package/components/Table/MasterTableContext.js +11 -0
- package/components/Table/NoColumns.js +17 -0
- package/components/Table/PaginationPanel.js +18 -0
- package/components/Table/TableBasic/TableBasic.js +51 -0
- package/components/Table/TableBasic/components/TableBasicBody.js +18 -0
- package/components/Table/TableBasic/components/TableBasicHeader.js +83 -0
- package/components/Table/TableBasic/components/TableBasicRow.js +53 -0
- package/components/Table/TableBasic/enums.js +8 -0
- package/components/Table/TableBasic/types.js +2 -0
- package/components/Table/TableBasicSettings/TableBasicSettings.js +58 -0
- package/components/Table/TableBasicSettings/components/ColumnSettings.js +20 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableList.js +24 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItem.js +25 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +29 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticList.js +17 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +14 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +26 -0
- package/components/Table/TableFooter/TableFooter.js +14 -0
- package/components/Table/TableFooter/components/TableFooterSummary.js +19 -0
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +18 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +31 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +8 -0
- package/components/Table/TabsLinePanel.js +12 -0
- package/components/Table/TabsLinePanelLinks.js +14 -0
- package/components/Table/index.js +26 -0
- package/components/Table/utils.js +8 -0
- package/components/Tabs/Tabs.js +75 -0
- package/components/Tabs/index.js +5 -0
- package/components/TabsExtended/TabsExtended.js +37 -21
- package/components/TabsExtended/TabsExtendedContext.js +6 -4
- package/components/TabsExtended/components/TabsExtendedContent.js +19 -15
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -15
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/components/index.js +15 -0
- package/components/TabsExtended/enums.js +2 -2
- package/components/TabsExtended/index.js +15 -3
- package/components/TabsExtended/utils.js +9 -0
- package/components/TabsLine/TabsLine.js +48 -0
- package/components/TabsLine/components/TabsLineDesktop.js +81 -0
- package/components/TabsLine/components/TabsLineDropdown.js +151 -0
- package/components/TabsLine/components/TabsLineItem.js +26 -0
- package/components/TabsLine/components/TabsLineMobile.js +21 -0
- package/components/TabsLine/components/index.js +11 -0
- package/components/TabsLine/index.js +13 -0
- package/components/TabsLine/types.js +2 -0
- 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/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +11 -11
- 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/Typography/Caption.js +12 -12
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +11 -11
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +25 -0
- package/components/UnorderedList/UnorderedListItem.js +27 -0
- package/components/UnorderedList/index.js +7 -0
- package/components/UnorderedList/types.js +2 -0
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/index.js +379 -278
- package/consts/AmountConst.js +10 -0
- package/consts/DataTestId.js +19 -0
- package/enums/EComponentSize.js +5 -0
- package/enums/index.js +7 -0
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +1235 -148
- package/index.js +368 -265
- package/package.json +85 -6
- package/styles/triplex-next.css +441 -354
- package/types/CoreTypes.js +2 -0
- package/utils/amountUtils.js +34 -0
- package/utils/classNameMaps.js +10 -0
- package/utils/html/AriaAttributes.js +11 -0
- package/utils/html/DataAttributes.js +11 -0
- package/utils/inputUtils.js +11 -0
- package/utils/isNullOrUndefined.js +5 -0
- package/utils/scroll.js +13 -0
- package/utils/stringUtils.js +13 -0
- package/chunks/Card.module-BRANBAxP.js +0 -17
- package/chunks/DropdownListItem-DIIAnvmw.js +0 -56
- package/chunks/DropdownMobile.module-BUeZuAYr.js +0 -19
- package/chunks/Footer.module-BFo05t5_.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-CEqBuRNu.js +0 -9
- package/chunks/HeaderTabs.module-BEaVu2Hx.js +0 -9
- package/chunks/HeaderTitle.module-Db-1fcNm.js +0 -9
- package/chunks/ListItemTail.module-C5-4SAqt.js +0 -12
- package/chunks/ListMasterFooter.module-Dph-_lLg.js +0 -10
- package/chunks/Overlay.module-D6LEz1jT.js +0 -18
- package/chunks/Page.module-Ct9ky9ko.js +0 -16
- package/chunks/TabsExtended.module-CmU9j8zG.js +0 -13
- package/chunks/TabsExtendedUtils-CkAvE1fA.js +0 -23
- package/chunks/TooltipDesktop.module-KrPZMfQD.js +0 -19
- package/chunks/utils-bbbspEnw.js +0 -36
- package/chunks/vendor-D-uL_icH.js +0 -5895
- package/components/Checkbox/enum.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/LoaderWidget/LoaderWidget.js +0 -28
- package/components/LoaderWidget/index.js +0 -5
- package/components/Radio/enum.js +0 -5
- package/components/TabsExtended/TabsExtendedUtils.js +0 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h } from "react";
|
|
3
|
-
import { c as u } from "../../chunks/vendor-
|
|
3
|
+
import { c as u } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { OverlayBase as k } from "./OverlayBase.js";
|
|
5
5
|
import { OverlayMask as B } from "./OverlayMask.js";
|
|
6
6
|
import { OverlayPanel as M } from "./OverlayPanel.js";
|
|
7
|
-
import { s as r } from "../../chunks/Overlay.module-
|
|
7
|
+
import { s as r } from "../../chunks/Overlay.module-B1IlIRoo.js";
|
|
8
8
|
const s = ({
|
|
9
9
|
children: o,
|
|
10
10
|
className: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as t } from "../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../chunks/Overlay.module-
|
|
3
|
+
import { c as t } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as a } from "../../chunks/Overlay.module-B1IlIRoo.js";
|
|
5
5
|
const f = l.forwardRef(({ className: r, opened: s, ...e }, o) => /* @__PURE__ */ m(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as d } from "../../chunks/vendor-
|
|
3
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { EOverlayDirection as r } from "./OverlayBase.js";
|
|
5
|
-
import { s as e } from "../../chunks/Overlay.module-
|
|
5
|
+
import { s as e } from "../../chunks/Overlay.module-B1IlIRoo.js";
|
|
6
6
|
const P = n.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: s,
|
package/components/Page/Page.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as s } from "../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { BodyPage as i } from "./components/BodyPage.js";
|
|
5
5
|
import { HeaderPage as f } from "./components/HeaderPage.js";
|
|
6
6
|
import { FooterPage as p } from "./components/FooterPage.js";
|
|
7
|
-
import { s as d } from "../../chunks/Page.module-
|
|
7
|
+
import { s as d } from "../../chunks/Page.module-Cwb_zvqj.js";
|
|
8
8
|
import "./components/enums.js";
|
|
9
9
|
const g = Object.assign(
|
|
10
10
|
m.forwardRef(function({ children: o, className: r, ...e }, a) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { Body as e } from "../../Body/Body.js";
|
|
4
|
-
import { c as t } from "../../../chunks/vendor-
|
|
5
|
-
import { s as f } from "../../../chunks/Page.module-
|
|
4
|
+
import { c as t } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
import { s as f } from "../../../chunks/Page.module-Cwb_zvqj.js";
|
|
6
6
|
const d = s.forwardRef(({ className: o, ...r }, a) => /* @__PURE__ */ m(e, { className: t(f.bodyPage, o), ...r, ref: a }));
|
|
7
7
|
d.displayName = "BodyPage";
|
|
8
8
|
export {
|
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Footer as
|
|
4
|
-
import { EFooterPageType as
|
|
5
|
-
import { s as
|
|
6
|
-
import { c as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
e.footerPage,
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import l, { useRef as u } from "react";
|
|
3
|
+
import { Footer as t } from "../../Footer/Footer.js";
|
|
4
|
+
import { EFooterPageType as f } from "./enums.js";
|
|
5
|
+
import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
|
|
6
|
+
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
7
|
+
import { useStickyCornerRadius as y } from "./useStickyCornerRadius.js";
|
|
8
|
+
import { Island as R } from "../../Island/Island.js";
|
|
9
|
+
import { EIslandType as g } from "../../Island/enums.js";
|
|
10
|
+
const I = Object.assign(
|
|
11
|
+
l.forwardRef(({ className: s, type: c = f.FIRST, ...i }, o) => {
|
|
12
|
+
const m = u(null);
|
|
13
|
+
y(m, "bottom");
|
|
14
|
+
const n = (e) => {
|
|
15
|
+
m.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
|
|
16
|
+
}, d = a(s, p.footerPageTypeSecond);
|
|
17
|
+
return c === f.SECOND ? /* @__PURE__ */ r(
|
|
18
|
+
R,
|
|
20
19
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/* @__PURE__ */ s("div", { ref: a, "aria-hidden": "true", className: e.observerTarget })
|
|
30
|
-
] }) : /* @__PURE__ */ s(n, { ref: i, className: f, ...t });
|
|
20
|
+
className: d,
|
|
21
|
+
type: g.TYPE_1,
|
|
22
|
+
borderRadius: 16,
|
|
23
|
+
paddingSize: 16,
|
|
24
|
+
ref: n,
|
|
25
|
+
children: /* @__PURE__ */ r(t, { ...i })
|
|
26
|
+
}
|
|
27
|
+
) : /* @__PURE__ */ r(t, { ref: o, className: a(p.footerPageTypeFirst, s), ...i });
|
|
31
28
|
}),
|
|
32
29
|
{
|
|
33
|
-
Description:
|
|
30
|
+
Description: t.Description
|
|
34
31
|
}
|
|
35
32
|
);
|
|
36
33
|
export {
|
|
37
|
-
|
|
34
|
+
I as FooterPage
|
|
38
35
|
};
|
|
39
36
|
//# sourceMappingURL=FooterPage.js.map
|
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import c, { useRef as u } from "react";
|
|
3
3
|
import { Header as e } from "../../Header/Header.js";
|
|
4
|
-
import { EHeaderPageType as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
r.headerPage,
|
|
4
|
+
import { EHeaderPageType as i } from "./enums.js";
|
|
5
|
+
import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
import { Island as y } from "../../Island/Island.js";
|
|
7
|
+
import { EIslandType as S } from "../../Island/enums.js";
|
|
8
|
+
import { useStickyCornerRadius as T } from "./useStickyCornerRadius.js";
|
|
9
|
+
import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
|
|
10
|
+
const H = Object.assign(
|
|
11
|
+
c.forwardRef(({ className: t, type: f = i.FIRST, ...s }, r) => {
|
|
12
|
+
const d = u(null);
|
|
13
|
+
T(d, "top");
|
|
14
|
+
const n = (a) => {
|
|
15
|
+
d.current = a, typeof r == "function" ? r(a) : r && (r.current = a);
|
|
16
|
+
}, l = m(t, p.headerPageTypeSecond);
|
|
17
|
+
return f === i.SECOND ? /* @__PURE__ */ o(
|
|
18
|
+
y,
|
|
20
19
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/* @__PURE__ */ c("div", { className: d, ref: n, children: /* @__PURE__ */ c(e, { ...s }) })
|
|
30
|
-
] }) : /* @__PURE__ */ c(e, { ref: n, className: d, ...s });
|
|
20
|
+
className: l,
|
|
21
|
+
type: S.TYPE_1,
|
|
22
|
+
borderRadius: 16,
|
|
23
|
+
paddingSize: 16,
|
|
24
|
+
ref: n,
|
|
25
|
+
children: /* @__PURE__ */ o(e, { ...s })
|
|
26
|
+
}
|
|
27
|
+
) : /* @__PURE__ */ o(e, { ref: r, className: m(p.headerPageTypeFirst, t), ...s });
|
|
31
28
|
}),
|
|
32
29
|
{
|
|
33
30
|
LayoutSidebar: e.LayoutSidebar,
|
|
@@ -37,6 +34,6 @@ const x = Object.assign(
|
|
|
37
34
|
}
|
|
38
35
|
);
|
|
39
36
|
export {
|
|
40
|
-
|
|
37
|
+
H as HeaderPage
|
|
41
38
|
};
|
|
42
39
|
//# sourceMappingURL=HeaderPage.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useEffect as y } from "react";
|
|
2
|
+
function g(n) {
|
|
3
|
+
let t = n;
|
|
4
|
+
for (; t && t !== document.documentElement; ) {
|
|
5
|
+
const c = getComputedStyle(t).overflowY;
|
|
6
|
+
if (/(auto|scroll|overlay)/.test(c) && t.scrollHeight > t.clientHeight) return t;
|
|
7
|
+
t = t.parentElement;
|
|
8
|
+
}
|
|
9
|
+
return window;
|
|
10
|
+
}
|
|
11
|
+
function R(n, t) {
|
|
12
|
+
y(() => {
|
|
13
|
+
const e = n.current;
|
|
14
|
+
if (!e) return;
|
|
15
|
+
const c = 16, w = t === "top" ? "--r-top" : "--r-bottom", i = getComputedStyle(e), f = t === "top" ? i.top : i.bottom, l = parseFloat(f || "0") || 0, r = g(e);
|
|
16
|
+
let o = 0;
|
|
17
|
+
const a = () => {
|
|
18
|
+
o = 0;
|
|
19
|
+
const m = e.getBoundingClientRect(), d = r === window ? { top: 0, bottom: window.innerHeight } : r.getBoundingClientRect(), v = t === "top" ? m.top - (d.top + l) : d.bottom - l - m.bottom, p = Math.max(0, Math.min(c, v));
|
|
20
|
+
e.style.setProperty(w, `${p}px`), p <= 0.5 ? e.dataset.stuck = "true" : delete e.dataset.stuck;
|
|
21
|
+
}, s = () => {
|
|
22
|
+
o || (o = requestAnimationFrame(a));
|
|
23
|
+
};
|
|
24
|
+
a();
|
|
25
|
+
const u = r === window ? window : r;
|
|
26
|
+
return u.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s), () => {
|
|
27
|
+
u.removeEventListener("scroll", s), window.removeEventListener("resize", s), o && cancelAnimationFrame(o);
|
|
28
|
+
};
|
|
29
|
+
}, [n, t]);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
R as useStickyCornerRadius
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=useStickyCornerRadius.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../chunks/vendor-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
|
|
3
3
|
import i from "react";
|
|
4
|
-
const r = "
|
|
4
|
+
const r = "paginationExtended__799e5e04", s = {
|
|
5
5
|
paginationExtended: r
|
|
6
6
|
}, x = i.forwardRef(
|
|
7
7
|
({ children: t, className: a, ...n }, e) => /* @__PURE__ */ o(
|
|
8
8
|
"nav",
|
|
9
9
|
{
|
|
10
10
|
className: d(s.paginationExtended, a),
|
|
11
|
-
"data-tx": "1.
|
|
11
|
+
"data-tx": "1.3.0",
|
|
12
12
|
...n,
|
|
13
13
|
ref: e,
|
|
14
14
|
children: t
|
|
@@ -4,7 +4,7 @@ import { ButtonIcon as p } from "../../Button/ButtonIcon.js";
|
|
|
4
4
|
import { EButtonIconShape as m } from "../../Button/enums.js";
|
|
5
5
|
import { EPaginationNavigationIconDirection as s } from "../enums.js";
|
|
6
6
|
import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
|
|
7
|
-
const g = "
|
|
7
|
+
const g = "paginationNavigationButton__949b553a", N = "directionIconNext__d48e9336", n = {
|
|
8
8
|
paginationNavigationButton: g,
|
|
9
9
|
directionIconNext: N
|
|
10
10
|
}, d = c.forwardRef(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as d } from "../../../chunks/vendor-
|
|
4
|
-
const g = "
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const g = "paginationNavigationExtended__62c2b434", r = {
|
|
5
5
|
paginationNavigationExtended: g
|
|
6
6
|
}, s = e.forwardRef(
|
|
7
7
|
({ children: a, className: t, ...i }, n) => /* @__PURE__ */ o("ul", { className: d(r.paginationNavigationExtended, t), ...i, ref: n, children: a })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
4
|
-
const s = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const s = "paginationPageButton__c617376c", u = "currentPage__2ee526a7", a = {
|
|
5
5
|
paginationPageButton: s,
|
|
6
6
|
currentPage: u
|
|
7
7
|
}, P = g.forwardRef(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-CehxOAkM.js";
|
|
3
3
|
import o from "react";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "pageEllipsis__9d1ab94e", r = {
|
|
5
5
|
pageEllipsis: t
|
|
6
6
|
}, n = o.forwardRef(
|
|
7
|
-
({ children: s, className:
|
|
7
|
+
({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
|
|
8
8
|
);
|
|
9
9
|
n.displayName = "PaginationPageEllipsis";
|
|
10
10
|
export {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import g, { useRef as S } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import "../../Typography/Title.js";
|
|
5
|
-
import { Text as
|
|
5
|
+
import { Text as v } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Caption.js";
|
|
7
|
-
import { ETextSize as
|
|
8
|
-
const
|
|
9
|
-
paginationSelect:
|
|
7
|
+
import { ETextSize as _ } from "../../Typography/enums.js";
|
|
8
|
+
const b = "paginationSelect__0232411f", h = "paginationSelectControl__f6feb388", o = {
|
|
9
|
+
paginationSelect: b,
|
|
10
10
|
paginationSelectControl: h
|
|
11
11
|
}, y = g.forwardRef(
|
|
12
|
-
({ paginationLabel:
|
|
12
|
+
({ paginationLabel: c, className: s, hidden: m, options: i, value: a, onChange: n }, d) => {
|
|
13
13
|
const l = S(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
|
|
14
14
|
const r = Number(e.target.value);
|
|
15
15
|
Number.isNaN(r) || n == null || n(r);
|
|
16
16
|
};
|
|
17
|
-
return
|
|
18
|
-
/* @__PURE__ */ t(
|
|
19
|
-
/* @__PURE__ */ t("div", { className:
|
|
17
|
+
return m ? null : /* @__PURE__ */ f("div", { className: N(o.paginationSelect, s), ref: d, children: [
|
|
18
|
+
/* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
|
|
19
|
+
/* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
|
|
20
20
|
"select",
|
|
21
21
|
{
|
|
22
22
|
"aria-labelledby": l.current,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as R } from "../../../chunks/vendor-CehxOAkM.js";
|
|
2
2
|
const m = -1, h = {
|
|
3
3
|
// Создание массива чисел в заданном диапазоне с заданным шагом.
|
|
4
4
|
generateRange: (n, i, e = 1) => n > i ? [] : R(n, i + 1, e),
|
|
@@ -1,26 +1,34 @@
|
|
|
1
|
-
import { jsxs as b, jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { jsxs as b, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import N from "react";
|
|
3
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import "../Typography/Title.js";
|
|
5
|
+
import { Text as x } from "../Typography/Text.js";
|
|
6
|
+
import "../Typography/Caption.js";
|
|
7
|
+
import { ETextSize as m } from "../Typography/enums.js";
|
|
8
|
+
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
9
|
+
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
10
|
+
const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "lg__4ede3efb", I = "disabled__51ecd7f5", R = "radio__9e4485f3", S = "radioIcon__d4af55e2", o = {
|
|
11
|
+
label: y,
|
|
12
|
+
md: T,
|
|
13
|
+
nonempty: M,
|
|
14
|
+
lg: u,
|
|
15
|
+
disabled: I,
|
|
16
|
+
radio: R,
|
|
17
|
+
radioIcon: S
|
|
18
|
+
}, g = {
|
|
19
|
+
[i.LG]: m.B2,
|
|
20
|
+
[i.MD]: m.B3
|
|
21
|
+
}, C = z(o), h = N.forwardRef((n, r) => {
|
|
22
|
+
const { children: a, className: l, disabled: c, labelAttributes: e, size: s = i.MD, ...p } = n, _ = d(o.radio, l, C[s]), f = d(
|
|
23
|
+
o.label,
|
|
24
|
+
o[s],
|
|
25
|
+
{ [o.disabled]: !!c, [o.nonempty]: !!a },
|
|
26
|
+
e == null ? void 0 : e.className
|
|
19
27
|
);
|
|
20
|
-
return /* @__PURE__ */ b("label", { ...
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
|
|
28
|
+
return /* @__PURE__ */ b("label", { ...e, className: f, "data-tx": "1.3.0", children: [
|
|
29
|
+
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref: r }),
|
|
30
|
+
/* @__PURE__ */ t("span", { className: o.radioIcon }),
|
|
31
|
+
a && /* @__PURE__ */ t(x, { size: g[s], children: a })
|
|
24
32
|
] });
|
|
25
33
|
});
|
|
26
34
|
h.displayName = "Radio";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
radioXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const s = "radioXGroup__eadecc9a", _ = "label__065c3332", n = {
|
|
4
|
+
radioXGroup: s,
|
|
5
|
+
"indent-12": "indent-12__7cc468c6",
|
|
6
|
+
label: _,
|
|
7
|
+
"indent-16": "indent-16__35fc33e9",
|
|
8
|
+
"indent-20": "indent-20__5ac03995",
|
|
9
|
+
"indent-24": "indent-24__4339e714",
|
|
10
|
+
"indent-28": "indent-28__99779caf",
|
|
11
|
+
"indent-32": "indent-32__89ac3ff3"
|
|
12
12
|
}, l = (e) => {
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
const { children: i, className: o, indent: t = 12, ...d } = e, a = r(n.radioXGroup, n[`indent-${t}`], o);
|
|
14
|
+
return /* @__PURE__ */ c("div", { className: a, role: "radiogroup", ...d, children: i });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "RadioXGroup";
|
|
17
17
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../chunks/vendor-
|
|
3
|
-
const
|
|
4
|
-
radioYGroup:
|
|
5
|
-
},
|
|
6
|
-
const { children: r, className: s, ...a } = o, i = d(
|
|
2
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const p = "radioYGroup__4069dfa1", t = {
|
|
4
|
+
radioYGroup: p
|
|
5
|
+
}, e = (o) => {
|
|
6
|
+
const { children: r, className: s, ...a } = o, i = d(t.radioYGroup, s);
|
|
7
7
|
return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
e.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
e as RadioYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=RadioYGroup.js.map
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Radio as p } from "./Radio.js";
|
|
2
|
-
import { RadioXGroup as
|
|
3
|
-
import { RadioYGroup as
|
|
4
|
-
import { ERadioSize as m } from "./enum.js";
|
|
2
|
+
import { RadioXGroup as d } from "./RadioXGroup.js";
|
|
3
|
+
import { RadioYGroup as f } from "./RadioYGroup.js";
|
|
5
4
|
export {
|
|
6
|
-
m as ERadioSize,
|
|
7
5
|
p as Radio,
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
d as RadioXGroup,
|
|
7
|
+
f as RadioYGroup
|
|
10
8
|
};
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
package/components/Row/Row.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
5
|
-
noPaddingBottom:
|
|
6
|
-
},
|
|
7
|
-
const a =
|
|
8
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const m = "row__988f01ae", i = "noPaddingBottom__57c02643", o = {
|
|
4
|
+
row: m,
|
|
5
|
+
noPaddingBottom: i
|
|
6
|
+
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
+
const a = d(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ c("div", { className: a, ...r, children: t });
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
e.displayName = "Row";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
e as Row
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=Row.js.map
|
|
@@ -1,67 +1,64 @@
|
|
|
1
|
-
import { ESegmentedControlTheme as o,
|
|
2
|
-
import { SegmentedControlSegment as
|
|
3
|
-
import { jsx as
|
|
4
|
-
import
|
|
5
|
-
import { c as
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums.js";
|
|
2
|
+
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
4
|
+
import E from "react";
|
|
5
|
+
import { c as R } from "../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
import { SegmentedControlContext as T } from "./SegmentedControlContext.js";
|
|
7
|
+
import { createSizeToClassNameMap as h } from "../../utils/classNameMaps.js";
|
|
8
|
+
const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary1__d24e02e3", A = "general2__05cad1b1", M = "secondary2__1c90502d", G = "sm__fd3555fc", O = "md__642147a0", j = "lg__79fd5d42", e = {
|
|
9
|
+
segmentedControl: x,
|
|
10
|
+
general1: L,
|
|
11
|
+
secondary1: b,
|
|
12
|
+
general2: A,
|
|
13
|
+
secondary2: M,
|
|
13
14
|
sm: G,
|
|
14
|
-
md:
|
|
15
|
-
lg:
|
|
16
|
-
},
|
|
15
|
+
md: O,
|
|
16
|
+
lg: j
|
|
17
|
+
}, v = {
|
|
17
18
|
[o.GENERAL_1]: e.general1,
|
|
18
19
|
[o.GENERAL_2]: e.general2,
|
|
19
20
|
[o.SECONDARY_1]: e.secondary1,
|
|
20
21
|
[o.SECONDARY_2]: e.secondary2
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, z = Object.assign(
|
|
26
|
-
b.forwardRef(
|
|
27
|
-
({ children: d, className: g, value: n, theme: _, type: a, size: i, disabled: C, onSelect: t, ...S }, f) => {
|
|
28
|
-
const E = L(
|
|
22
|
+
}, z = h(e), D = Object.assign(
|
|
23
|
+
E.forwardRef(
|
|
24
|
+
({ children: c, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...f }, C) => {
|
|
25
|
+
const p = R(
|
|
29
26
|
e.segmentedControl,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
),
|
|
34
|
-
selected:
|
|
27
|
+
v[g],
|
|
28
|
+
z[_],
|
|
29
|
+
l
|
|
30
|
+
), S = ({
|
|
31
|
+
selected: a,
|
|
35
32
|
value: s
|
|
36
33
|
}) => {
|
|
37
|
-
switch (
|
|
38
|
-
case
|
|
39
|
-
|
|
34
|
+
switch (r) {
|
|
35
|
+
case m.SINGLE:
|
|
36
|
+
a && t(s);
|
|
40
37
|
break;
|
|
41
|
-
case
|
|
42
|
-
t(
|
|
38
|
+
case m.MULTIPLE:
|
|
39
|
+
t(a ? [...n, s] : [...n].filter((N) => N !== s));
|
|
43
40
|
}
|
|
44
41
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
|
|
42
|
+
return /* @__PURE__ */ d(
|
|
43
|
+
T.Provider,
|
|
47
44
|
{
|
|
48
45
|
value: {
|
|
49
|
-
type:
|
|
46
|
+
type: r,
|
|
50
47
|
value: n,
|
|
51
|
-
disabled: !!
|
|
52
|
-
onSegmentSelect:
|
|
48
|
+
disabled: !!i,
|
|
49
|
+
onSegmentSelect: S
|
|
53
50
|
},
|
|
54
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ d("div", { className: p, ...f, "data-tx": "1.3.0", ref: C, children: c })
|
|
55
52
|
}
|
|
56
53
|
);
|
|
57
54
|
}
|
|
58
55
|
),
|
|
59
56
|
{
|
|
60
|
-
Segment:
|
|
57
|
+
Segment: y
|
|
61
58
|
}
|
|
62
59
|
);
|
|
63
|
-
|
|
60
|
+
D.displayName = "SegmentedControl";
|
|
64
61
|
export {
|
|
65
|
-
|
|
62
|
+
D as SegmentedControl
|
|
66
63
|
};
|
|
67
64
|
//# sourceMappingURL=SegmentedControl.js.map
|