@sberbusiness/triplex-next 1.1.0 → 1.2.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-Dp7FRT9y.js → AlertProcessSpoiler-B3Xzh0I2.js} +13 -13
- package/chunks/Card.module-Dh5vP2zv.js +17 -0
- package/chunks/DropdownListItem-B1GkU8rn.js +57 -0
- package/chunks/DropdownMobile.module-CYlB98Oc.js +21 -0
- package/chunks/Footer.module-Bk8QkaWN.js +11 -0
- package/chunks/{FormFieldInput-apk1b0w6.js → FormFieldInput-n8Ee4EcP.js} +23 -23
- package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +9 -0
- package/chunks/HeaderTabs.module-yaGpurOU.js +9 -0
- package/chunks/HeaderTitle.module-XzB-YndL.js +9 -0
- package/chunks/{ListItemControlsButton-Cn3Vmrsn.js → ListItemControlsButton-BdtSkcyn.js} +10 -10
- package/chunks/ListItemTail.module-D_m5pMsh.js +12 -0
- package/chunks/ListMasterFooter.module-DXrsYZZo.js +10 -0
- package/chunks/Overlay.module-BghrPKKn.js +18 -0
- package/chunks/Page.module-D6xCdUbr.js +12 -0
- package/chunks/RightBorderArrow-BA2_2Ry3.js +146 -0
- package/chunks/SuggestFieldMobileDropdownHint-Dz-VDDoR.js +15 -0
- package/chunks/TableFooter.module-BzfTOGS_.js +13 -0
- package/chunks/TabsExtended.module-B3nvdhKr.js +16 -0
- package/chunks/TabsLine.module-Dlj__Yjk.js +23 -0
- package/chunks/TooltipDesktop.module-TiWl3v5C.js +19 -0
- package/chunks/{UploadZoneInput-R9729LZY.js → UploadZoneInput-CioKsqkV.js} +10 -10
- package/chunks/utils-B5p23Ple.js +26 -0
- package/chunks/utils-BtcCJ4_U.js +20 -0
- package/chunks/utils-D7E_PKCe.js +36 -0
- package/chunks/utils-DPXynVs1.js +72 -0
- package/chunks/utils-DjxtOr-n.js +48 -0
- package/chunks/vendor-CehxOAkM.js +11907 -0
- package/components/Alert/AlertContext/AlertContext.js +6 -6
- 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 +73 -72
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +113 -127
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +2 -2
- 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 +48 -0
- package/components/Checkbox/Checkbox.js +46 -30
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/Checkbox/index.js +4 -6
- package/components/Chip/Chip.js +86 -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/enums.js +5 -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 +142 -142
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +89 -69
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -77
- 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/Marker.js +20 -0
- package/components/DesignTokens/components/MarkerStatus.js +9 -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/index.js +100 -79
- 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 +34 -33
- 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 +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +12 -12
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +22 -22
- 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 +6 -6
- 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 +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +27 -27
- package/components/List/List.js +12 -20
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -10
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
- package/components/List/components/ListItemLoading.js +11 -9
- package/components/List/components/ListItemSelectable.js +5 -5
- 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 +2 -2
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +24 -35
- package/components/LoaderWidget/LoaderWidget.js +15 -14
- 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 +36 -0
- package/components/MarkerStatus/index.js +5 -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 +5 -5
- 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 +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +29 -21
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Radio/index.js +4 -6
- package/components/Row/Row.js +6 -6
- package/components/SegmentedControl/SegmentedControl.js +36 -39
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +9 -9
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +38 -37
- package/components/SelectField/SelectField.js +62 -0
- package/components/SelectField/index.js +5 -0
- package/components/Skeleton/Skeleton.js +11 -11
- 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 +21 -21
- 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/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/Typography/Caption.js +17 -17
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +15 -15
- 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 +366 -275
- 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/index.d.ts +1029 -124
- package/index.js +361 -268
- package/package.json +69 -2
- package/styles/triplex-next.css +436 -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-Ddt7TQ9Z.js +0 -17
- package/chunks/DropdownListItem-y6Rvj_dd.js +0 -56
- package/chunks/DropdownMobile.module-DrQkghxs.js +0 -19
- package/chunks/Footer.module-CKfl241m.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-DTXnksBK.js +0 -9
- package/chunks/HeaderTabs.module-DVh6MotJ.js +0 -9
- package/chunks/HeaderTitle.module-DOeVL9zC.js +0 -9
- package/chunks/ListItemTail.module-BnbT61OM.js +0 -12
- package/chunks/ListMasterFooter.module-C6QFamKQ.js +0 -10
- package/chunks/Overlay.module-BTSQ5G6t.js +0 -18
- package/chunks/Page.module-DfMBQJob.js +0 -16
- package/chunks/TabsExtended.module-okOlTNQG.js +0 -13
- package/chunks/TabsExtendedUtils-NCwWiX7O.js +0 -23
- package/chunks/TooltipDesktop.module-DTbnIWo1.js +0 -19
- package/chunks/utils-B0khB-Lq.js +0 -36
- package/chunks/vendor-D-uL_icH.js +0 -5895
- package/components/Checkbox/enum.js +0 -5
- package/components/Radio/enum.js +0 -5
- package/components/TabsExtended/TabsExtendedUtils.js +0 -8
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Marker as S } from "../Marker/Marker.js";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s as l } from "../../chunks/utils-BtcCJ4_U.js";
|
|
5
|
+
import { ETextSize as o } from "../Typography/enums.js";
|
|
6
|
+
import { Text as u } from "../Typography/Text.js";
|
|
7
|
+
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { createSizeToClassNameMap as d } from "../../utils/classNameMaps.js";
|
|
9
|
+
const x = "markerStatus__68b5f264", _ = "markerContainer__aea8d55c", T = "markerStatusDescription__ee72d699", f = "md__3a9cdd4c", C = "markerStatusText__17faaa01", M = "lg__977daca1", a = {
|
|
10
|
+
markerStatus: x,
|
|
11
|
+
markerContainer: _,
|
|
12
|
+
markerStatusDescription: T,
|
|
13
|
+
md: f,
|
|
14
|
+
markerStatusText: C,
|
|
15
|
+
lg: M
|
|
16
|
+
}, N = {
|
|
17
|
+
[e.MD]: o.B4,
|
|
18
|
+
[e.LG]: o.B3
|
|
19
|
+
}, D = d(a), y = ({
|
|
20
|
+
children: c,
|
|
21
|
+
className: i,
|
|
22
|
+
description: s,
|
|
23
|
+
status: m,
|
|
24
|
+
size: t = e.MD
|
|
25
|
+
}) => {
|
|
26
|
+
const n = p(a.markerStatus, D[t], l[m], i);
|
|
27
|
+
return /* @__PURE__ */ k("div", { className: n, "data-tx": "1.2.0", children: [
|
|
28
|
+
/* @__PURE__ */ r("div", { className: a.markerContainer, children: /* @__PURE__ */ r(S, { status: m, size: t }) }),
|
|
29
|
+
/* @__PURE__ */ r(u, { size: N[t], className: a.markerStatusText, children: c }),
|
|
30
|
+
s && /* @__PURE__ */ r("div", { className: a.markerStatusDescription, children: s })
|
|
31
|
+
] });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
y as MarkerStatus
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=MarkerStatus.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { c as o } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { OrderedListItem as i } from "./OrderedListItem.js";
|
|
5
|
+
const m = "orderedList__9271e922", a = {
|
|
6
|
+
orderedList: m
|
|
7
|
+
}, c = Object.assign(
|
|
8
|
+
d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s(
|
|
9
|
+
"ol",
|
|
10
|
+
{
|
|
11
|
+
className: o(a.orderedList, e),
|
|
12
|
+
...r,
|
|
13
|
+
"data-tx": "1.2.0",
|
|
14
|
+
ref: t
|
|
15
|
+
}
|
|
16
|
+
)),
|
|
17
|
+
{
|
|
18
|
+
Item: i
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
c.displayName = "OrderedList";
|
|
22
|
+
export {
|
|
23
|
+
c as OrderedList
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=OrderedList.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as s } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import "../Typography/Title.js";
|
|
5
|
+
import { Text as i } from "../Typography/Text.js";
|
|
6
|
+
import "../Typography/Caption.js";
|
|
7
|
+
import { ETextSize as d } from "../Typography/enums.js";
|
|
8
|
+
const a = "orderedListItem__b202595c", p = {
|
|
9
|
+
orderedListItem: a
|
|
10
|
+
}, c = m.forwardRef(
|
|
11
|
+
({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
12
|
+
i,
|
|
13
|
+
{
|
|
14
|
+
className: s(p.orderedListItem, t),
|
|
15
|
+
size: d.B3,
|
|
16
|
+
tag: "li",
|
|
17
|
+
...e,
|
|
18
|
+
"data-tx": "1.2.0",
|
|
19
|
+
ref: r
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
c.displayName = "OrderedListItem";
|
|
24
|
+
export {
|
|
25
|
+
c as OrderedListItem
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=OrderedListItem.js.map
|
|
@@ -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-BghrPKKn.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-BghrPKKn.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-BghrPKKn.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-D6xCdUbr.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-D6xCdUbr.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-D6xCdUbr.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-D6xCdUbr.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__a098f338", 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.2.0",
|
|
12
12
|
...n,
|
|
13
13
|
ref: e,
|
|
14
14
|
children: t
|
|
@@ -3,11 +3,11 @@ import c from "react";
|
|
|
3
3
|
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
|
-
import o from "@sberbusiness/icons-next
|
|
7
|
-
const g = "
|
|
6
|
+
import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
|
|
7
|
+
const g = "paginationNavigationButton__4e277988", N = "directionIconNext__f080585e", n = {
|
|
8
8
|
paginationNavigationButton: g,
|
|
9
9
|
directionIconNext: N
|
|
10
|
-
},
|
|
10
|
+
}, f = c.forwardRef(
|
|
11
11
|
({ direction: i, ...a }, e) => {
|
|
12
12
|
const r = i === s.BACK;
|
|
13
13
|
return /* @__PURE__ */ t(
|
|
@@ -22,8 +22,8 @@ const g = "paginationNavigationButton__aefd53cb", N = "directionIconNext__d03312
|
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
f.displayName = "PaginationNavigationButton";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
f as PaginationNavigationButton
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=PaginationNavigationButton.js.map
|
|
@@ -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__b45b89a6", 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__d2028b65", u = "currentPage__51807c3f", 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__df36ec91", r = {
|
|
5
5
|
pageEllipsis: t
|
|
6
6
|
}, n = o.forwardRef(
|
|
7
|
-
({ children: s, className:
|
|
7
|
+
({ children: s, className: i, ...a }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, i), ...a, ref: l, children: s })
|
|
8
8
|
);
|
|
9
9
|
n.displayName = "PaginationPageEllipsis";
|
|
10
10
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import S, { useRef as f } from "react";
|
|
3
|
+
import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import "../../Typography/Title.js";
|
|
5
5
|
import { Text as v } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Caption.js";
|
|
7
7
|
import { ETextSize as _ } from "../../Typography/enums.js";
|
|
8
|
-
const h = "
|
|
8
|
+
const h = "paginationSelect__5ed26ede", b = "paginationSelectControl__1da96928", o = {
|
|
9
9
|
paginationSelect: h,
|
|
10
10
|
paginationSelectControl: b
|
|
11
|
-
}, y =
|
|
11
|
+
}, y = S.forwardRef(
|
|
12
12
|
({ paginationLabel: c, className: s, hidden: d, options: i, value: n, onChange: a }, m) => {
|
|
13
|
-
const l =
|
|
13
|
+
const l = f(`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) || a == null || a(r);
|
|
16
16
|
};
|
|
17
|
-
return d ? null : /* @__PURE__ */
|
|
17
|
+
return d ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: m, children: [
|
|
18
18
|
/* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
|
|
19
19
|
/* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
|
|
20
20
|
"select",
|
|
@@ -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
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import N from "react";
|
|
3
|
+
import { c as n } 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 r } 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__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "lg__83b7b97e", I = "disabled__27af944a", R = "radio__4364936a", S = "radioIcon__30bea612", a = {
|
|
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]: r.B2,
|
|
20
|
+
[i.MD]: r.B3
|
|
21
|
+
}, C = z(a), h = N.forwardRef((c, l) => {
|
|
22
|
+
const { children: s, className: d, disabled: m, labelAttributes: o, size: e = i.MD, ...p } = c, _ = n(a.radio, d, C[e]), b = n(
|
|
15
23
|
a.label,
|
|
16
|
-
a[
|
|
17
|
-
{ [a.disabled]: !!
|
|
18
|
-
|
|
24
|
+
a[e],
|
|
25
|
+
{ [a.disabled]: !!m, [a.nonempty]: !!s },
|
|
26
|
+
o == null ? void 0 : o.className
|
|
19
27
|
);
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
|
|
28
|
+
return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.2.0", children: [
|
|
29
|
+
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled: m, ...p, ref: l }),
|
|
30
|
+
/* @__PURE__ */ t("span", { className: a.radioIcon }),
|
|
31
|
+
s && /* @__PURE__ */ t(x, { size: g[e], children: s })
|
|
24
32
|
] });
|
|
25
33
|
});
|
|
26
34
|
h.displayName = "Radio";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as s } from "../../chunks/vendor-
|
|
3
|
-
const c = "
|
|
2
|
+
import { c as s } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const c = "radioXGroup__9d9ca041", _ = "label__8e78cb1e", e = {
|
|
4
4
|
radioXGroup: c,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__1e69ab43",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
}, l = (
|
|
13
|
-
const { children: d, className: i, indent: o = 12, ...t } =
|
|
7
|
+
"indent-16": "indent-16__97c632d6",
|
|
8
|
+
"indent-20": "indent-20__1ff831ae",
|
|
9
|
+
"indent-24": "indent-24__33ee0cf9",
|
|
10
|
+
"indent-28": "indent-28__44eb9e4b",
|
|
11
|
+
"indent-32": "indent-32__d563ae69"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: d, className: i, indent: o = 12, ...t } = n, a = s(e.radioXGroup, e[`indent-${o}`], i);
|
|
14
14
|
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: d });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "RadioXGroup";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as e } from "../../chunks/vendor-
|
|
3
|
-
const p = "
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const p = "radioYGroup__01e5a380", t = {
|
|
4
4
|
radioYGroup: p
|
|
5
5
|
}, d = (o) => {
|
|
6
|
-
const { children: r, className: s, ...a } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { children: r, className: s, ...a } = o, i = e(t.radioYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
9
|
d.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
|
@@ -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,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const a = "row__6712f8b0", i = "noPaddingBottom__b361580c", o = {
|
|
4
|
+
row: a,
|
|
5
5
|
noPaddingBottom: i
|
|
6
6
|
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
const c = m(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ d("div", { className: c, ...r, children: t });
|
|
9
9
|
};
|
|
10
10
|
e.displayName = "Row";
|
|
11
11
|
export {
|