@sberbusiness/triplex-next 1.2.0 → 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/chunks/{AlertProcessSpoiler-B3Xzh0I2.js → AlertProcessSpoiler-B91XiZ7K.js} +6 -6
- package/chunks/Card.module-NgdHcwYS.js +17 -0
- package/chunks/Chip-XyednI9u.js +87 -0
- package/chunks/{DropdownListItem-B1GkU8rn.js → DropdownListItem-g0mYNHIW.js} +16 -16
- package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
- package/chunks/Footer.module-4a0n1yRR.js +11 -0
- package/chunks/{FormFieldInput-n8Ee4EcP.js → FormFieldInput-qaJqBTBV.js} +16 -16
- 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-BdtSkcyn.js → ListItemControlsButton-Ms4q9wDe.js} +2 -2
- 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-BA2_2Ry3.js → RightBorderArrow-D6ZllSTT.js} +14 -14
- package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-Cc_fZLBH.js} +2 -2
- 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-CioKsqkV.js → UploadZoneInput-Bkv3b0F5.js} +9 -9
- package/chunks/{utils-B5p23Ple.js → utils-BZFu5eVD.js} +10 -10
- 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/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 +6 -6
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +17 -17
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +4 -4
- 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 +11 -11
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +6 -6
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +6 -83
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +4 -4
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/index.js +5 -5
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/CollapsableTree.js +10 -0
- package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +31 -24
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +33 -26
- 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/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +38 -32
- package/components/Divider/Divider.js +17 -17
- package/components/Dropdown/desktop/DropdownDesktop.js +10 -10
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +7 -7
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +2 -2
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +3 -3
- package/components/FormField/components/FormFieldTarget.js +21 -21
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +4 -4
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +17 -17
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- 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 +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +13 -13
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +12 -12
- package/components/LoaderScreen/LoaderScreen.js +29 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +31 -27
- 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 +8 -8
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +6 -6
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +6 -6
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- 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 +20 -20
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +17 -17
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- 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/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +1 -1
- 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 +15 -15
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +358 -348
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +215 -33
- package/index.js +362 -352
- package/package.json +17 -5
- package/styles/triplex-next.css +441 -436
- package/chunks/Card.module-Dh5vP2zv.js +0 -17
- package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
- package/chunks/Footer.module-Bk8QkaWN.js +0 -11
- 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-D7E_PKCe.js +0 -36
- package/chunks/utils-DPXynVs1.js +0 -72
- 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/LoaderWidget/LoaderWidget.js +0 -29
- package/components/LoaderWidget/index.js +0 -5
|
@@ -4,10 +4,10 @@ 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(
|
|
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__4e277988", N = "directionIconNext__f08058
|
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
d.displayName = "PaginationNavigationButton";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
d 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
3
|
import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const g = "
|
|
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
3
|
import { c } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
-
const s = "
|
|
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
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,26 +1,26 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import g, { useRef as S } from "react";
|
|
3
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
|
|
9
|
-
paginationSelect:
|
|
10
|
-
paginationSelectControl:
|
|
11
|
-
}, y =
|
|
12
|
-
({ paginationLabel: c, className: s, hidden:
|
|
13
|
-
const l =
|
|
8
|
+
const b = "paginationSelect__0232411f", h = "paginationSelectControl__f6feb388", o = {
|
|
9
|
+
paginationSelect: b,
|
|
10
|
+
paginationSelectControl: h
|
|
11
|
+
}, y = g.forwardRef(
|
|
12
|
+
({ paginationLabel: c, className: s, hidden: m, options: i, value: a, onChange: n }, d) => {
|
|
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
|
-
Number.isNaN(r) ||
|
|
15
|
+
Number.isNaN(r) || n == null || n(r);
|
|
16
16
|
};
|
|
17
|
-
return
|
|
17
|
+
return m ? null : /* @__PURE__ */ f("div", { className: N(o.paginationSelect, s), ref: d, 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",
|
|
21
21
|
{
|
|
22
22
|
"aria-labelledby": l.current,
|
|
23
|
-
value:
|
|
23
|
+
value: a !== void 0 ? String(a) : void 0,
|
|
24
24
|
onChange: u,
|
|
25
25
|
children: p.map((e) => /* @__PURE__ */ t("option", { value: e, children: e }, e))
|
|
26
26
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as b, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import "../Typography/Title.js";
|
|
5
5
|
import { Text as x } from "../Typography/Text.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
7
|
-
import { ETextSize as
|
|
7
|
+
import { ETextSize as m } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
10
|
-
const y = "
|
|
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
11
|
label: y,
|
|
12
12
|
md: T,
|
|
13
13
|
nonempty: M,
|
|
@@ -16,19 +16,19 @@ const y = "label__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "
|
|
|
16
16
|
radio: R,
|
|
17
17
|
radioIcon: S
|
|
18
18
|
}, g = {
|
|
19
|
-
[i.LG]:
|
|
20
|
-
[i.MD]:
|
|
21
|
-
}, C = z(
|
|
22
|
-
const { children:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{ [
|
|
26
|
-
|
|
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
|
|
27
27
|
);
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled:
|
|
30
|
-
/* @__PURE__ */ t("span", { className:
|
|
31
|
-
|
|
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 })
|
|
32
32
|
] });
|
|
33
33
|
});
|
|
34
34
|
h.displayName = "Radio";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
radioXGroup:
|
|
5
|
-
"indent-12": "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
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:
|
|
14
|
-
return /* @__PURE__ */
|
|
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
|
+
}, l = (e) => {
|
|
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
|
|
3
|
-
const p = "
|
|
2
|
+
import { c as d } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const p = "radioYGroup__4069dfa1", t = {
|
|
4
4
|
radioYGroup: p
|
|
5
|
-
},
|
|
6
|
-
const { children: r, className: s, ...a } = o, i =
|
|
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
|
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 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
5
|
noPaddingBottom: i
|
|
6
6
|
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */
|
|
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 {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums.js";
|
|
2
2
|
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
|
-
import { jsx as
|
|
3
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
4
4
|
import E from "react";
|
|
5
5
|
import { c as R } from "../../chunks/vendor-CehxOAkM.js";
|
|
6
6
|
import { SegmentedControlContext as T } from "./SegmentedControlContext.js";
|
|
7
7
|
import { createSizeToClassNameMap as h } from "../../utils/classNameMaps.js";
|
|
8
|
-
const x = "
|
|
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
9
|
segmentedControl: x,
|
|
10
10
|
general1: L,
|
|
11
11
|
secondary1: b,
|
|
@@ -21,7 +21,7 @@ const x = "segmentedControl__781e56c6", L = "general1__0c1c72a0", b = "secondary
|
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
22
|
}, z = h(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children:
|
|
24
|
+
({ children: c, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...f }, C) => {
|
|
25
25
|
const p = R(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
@@ -39,7 +39,7 @@ const x = "segmentedControl__781e56c6", L = "general1__0c1c72a0", b = "secondary
|
|
|
39
39
|
t(a ? [...n, s] : [...n].filter((N) => N !== s));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ d(
|
|
43
43
|
T.Provider,
|
|
44
44
|
{
|
|
45
45
|
value: {
|
|
@@ -48,7 +48,7 @@ const x = "segmentedControl__781e56c6", L = "general1__0c1c72a0", b = "secondary
|
|
|
48
48
|
disabled: !!i,
|
|
49
49
|
onSegmentSelect: S
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ d("div", { className: p, ...f, "data-tx": "1.3.0", ref: C, children: c })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
2
|
+
import { useContext as x } from "react";
|
|
3
3
|
import { c as L } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { ButtonBase as N } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
6
|
import { SegmentedControlContext as _ } from "./SegmentedControlContext.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "content__580184a7", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -22,25 +22,25 @@ const y = "segmentedControlSegment__2e32f7d4", E = "selected__8067293f", I = "co
|
|
|
22
22
|
value: d,
|
|
23
23
|
disabled: p,
|
|
24
24
|
onSegmentSelect: l
|
|
25
|
-
} =
|
|
25
|
+
} = x(_), t = (() => {
|
|
26
26
|
switch (m) {
|
|
27
27
|
case n.SINGLE:
|
|
28
28
|
return e === d;
|
|
29
29
|
case n.MULTIPLE:
|
|
30
30
|
return d.includes(e);
|
|
31
31
|
}
|
|
32
|
-
})(),
|
|
32
|
+
})(), C = L(
|
|
33
33
|
r.segmentedControlSegment,
|
|
34
34
|
{ [r.selected]: t },
|
|
35
35
|
"hoverable",
|
|
36
36
|
{ active: t },
|
|
37
37
|
i
|
|
38
|
-
),
|
|
38
|
+
), f = () => {
|
|
39
39
|
if (c)
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
42
42
|
return s;
|
|
43
|
-
},
|
|
43
|
+
}, b = (u) => {
|
|
44
44
|
switch (m) {
|
|
45
45
|
case n.SINGLE:
|
|
46
46
|
l({ value: e, selected: !0 });
|
|
@@ -49,16 +49,16 @@ const y = "segmentedControlSegment__2e32f7d4", E = "selected__8067293f", I = "co
|
|
|
49
49
|
l({ value: e, selected: !t });
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
|
-
o == null || o(
|
|
52
|
+
o == null || o(u);
|
|
53
53
|
};
|
|
54
54
|
return /* @__PURE__ */ a(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
|
-
className:
|
|
58
|
-
title:
|
|
57
|
+
className: C,
|
|
58
|
+
title: f(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
|
-
onClick:
|
|
61
|
+
onClick: b,
|
|
62
62
|
...S,
|
|
63
63
|
children: /* @__PURE__ */ a("span", { className: r.content, children: s })
|
|
64
64
|
}
|
|
@@ -5,15 +5,15 @@ import { KeyDownListener as C } from "../KeyDownListener/KeyDownListener.js";
|
|
|
5
5
|
import { c as _ } from "../../chunks/vendor-CehxOAkM.js";
|
|
6
6
|
import { SelectExtendedFieldTarget as j } from "./components/SelectExtendedFieldTarget.js";
|
|
7
7
|
import { SelectExtendedFieldDropdown as k } from "./components/SelectExtendedFieldDropdown.js";
|
|
8
|
-
const v = "
|
|
8
|
+
const v = "SelectExtendedField__4a90830d", A = {
|
|
9
9
|
SelectExtendedField: v
|
|
10
10
|
}, L = (S) => {
|
|
11
|
-
const { className: w, onKeyDown: n, children: D, renderTarget: F, closeOnTab:
|
|
11
|
+
const { className: w, onKeyDown: n, children: D, renderTarget: F, closeOnTab: m, onClose: o, onOpen: d, ...g } = S, [e, c] = T(!1), l = u(null), f = u(null), E = r((t) => {
|
|
12
12
|
c(t);
|
|
13
13
|
}, []), i = r(
|
|
14
14
|
(t) => {
|
|
15
15
|
var s, p;
|
|
16
|
-
e && !((s = l.current) != null && s.contains(t.target)) && !((p =
|
|
16
|
+
e && !((s = l.current) != null && s.contains(t.target)) && !((p = f.current) != null && p.contains(t.target)) && c(!1);
|
|
17
17
|
},
|
|
18
18
|
[e]
|
|
19
19
|
), a = r(() => {
|
|
@@ -21,9 +21,9 @@ const v = "SelectExtendedField__01c8f7ed", A = {
|
|
|
21
21
|
}, [e]), h = r(
|
|
22
22
|
(t) => {
|
|
23
23
|
const s = t.code || t.keyCode;
|
|
24
|
-
|
|
24
|
+
m && K(s, "TAB") && a(), n == null || n(t);
|
|
25
25
|
},
|
|
26
|
-
[
|
|
26
|
+
[m, a, n]
|
|
27
27
|
);
|
|
28
28
|
return x(() => (document.addEventListener("mousedown", i), () => {
|
|
29
29
|
document.removeEventListener("mousedown", i);
|
|
@@ -39,7 +39,7 @@ const v = "SelectExtendedField__01c8f7ed", A = {
|
|
|
39
39
|
children: [
|
|
40
40
|
F({ opened: e, setOpened: E }),
|
|
41
41
|
D({
|
|
42
|
-
dropdownRef:
|
|
42
|
+
dropdownRef: f,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: E,
|
|
45
45
|
targetRef: l
|
|
@@ -3,7 +3,7 @@ import { Dropdown as m } from "../../Dropdown/Dropdown.js";
|
|
|
3
3
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
4
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
5
|
import { DropdownList as e } from "../../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import "../../../chunks/DropdownListItem-g0mYNHIW.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -12,14 +12,14 @@ import "../../FormField/components/FormFieldCounter.js";
|
|
|
12
12
|
import { FormFieldLabel as P } from "../../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../../FormField/components/FormFieldClear.js";
|
|
14
14
|
import { FormFieldTarget as k } from "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-
|
|
15
|
+
import "../../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
16
16
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
17
|
import { FormFieldPostfix as w } from "../../FormField/components/FormFieldPostfix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
19
19
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
20
20
|
import { EFormFieldStatus as s } from "../../FormField/enums.js";
|
|
21
21
|
import { EComponentSize as z } from "../../../enums/EComponentSize.js";
|
|
22
|
-
const W = "
|
|
22
|
+
const W = "selectExtendedFieldTarget__30d3014c", j = "caretIcon__1dbb320f", K = "selectOpened__b1c4c179", G = "loading__c7c0080d", U = "disabled__8a40366c", t = {
|
|
23
23
|
selectExtendedFieldTarget: W,
|
|
24
24
|
caretIcon: j,
|
|
25
25
|
selectOpened: K,
|
|
@@ -40,8 +40,8 @@ const W = "selectExtendedFieldTarget__82ca4428", j = "caretIcon__690142a7", K =
|
|
|
40
40
|
size: F,
|
|
41
41
|
status: d,
|
|
42
42
|
tabIndex: _,
|
|
43
|
-
fieldLabel:
|
|
44
|
-
...
|
|
43
|
+
fieldLabel: b,
|
|
44
|
+
...u
|
|
45
45
|
} = x, S = O(null), D = E(
|
|
46
46
|
t.selectExtendedFieldTarget,
|
|
47
47
|
{
|
|
@@ -73,10 +73,10 @@ const W = "selectExtendedFieldTarget__82ca4428", j = "caretIcon__690142a7", K =
|
|
|
73
73
|
className: D,
|
|
74
74
|
"aria-expanded": o,
|
|
75
75
|
"aria-haspopup": "listbox",
|
|
76
|
-
"data-tx": "1.
|
|
77
|
-
...
|
|
76
|
+
"data-tx": "1.3.0",
|
|
77
|
+
...u,
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */ l(P, { floating: !!i || !!c, children:
|
|
79
|
+
/* @__PURE__ */ l(P, { floating: !!i || !!c, children: b }),
|
|
80
80
|
/* @__PURE__ */ l(
|
|
81
81
|
k,
|
|
82
82
|
{
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
3
|
import { ESkeletonType as t } from "./enums.js";
|
|
4
|
-
const
|
|
5
|
-
skeleton:
|
|
6
|
-
light:
|
|
4
|
+
const k = "skeleton__0f956d39", a = "light__4113ef83", c = "dark__476f9bcd", o = {
|
|
5
|
+
skeleton: k,
|
|
6
|
+
light: a,
|
|
7
7
|
dark: c
|
|
8
|
-
},
|
|
8
|
+
}, f = ({ className: s, type: e = t.DARK, ...l }) => /* @__PURE__ */ n(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className:
|
|
11
|
+
className: r(o.skeleton, s, {
|
|
12
12
|
[o.dark]: e === t.DARK,
|
|
13
13
|
[o.light]: e === t.LIGHT
|
|
14
14
|
}),
|
|
15
|
-
...
|
|
16
|
-
"data-tx": "1.
|
|
15
|
+
...l,
|
|
16
|
+
"data-tx": "1.3.0"
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
f as Skeleton
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -10,7 +10,7 @@ import { EScreenWidth as F } from "../../helpers/breakpoints.js";
|
|
|
10
10
|
import { scrollSmoothHorizontally as g } from "../../utils/scroll.js";
|
|
11
11
|
import { c as i } from "../../chunks/vendor-CehxOAkM.js";
|
|
12
12
|
import { EStepperSize as l } from "./enums.js";
|
|
13
|
-
const J = "
|
|
13
|
+
const J = "stepper__056733b3", K = "stepperCarousel__b6858248", O = "buttonPrev__7a042fce", Q = "buttonNext__27309b20", T = "sm__1cdb49d1", U = "md__10bbebd3", V = "lg__4f65836c", n = {
|
|
14
14
|
stepper: J,
|
|
15
15
|
stepperCarousel: K,
|
|
16
16
|
buttonPrev: O,
|
|
@@ -34,7 +34,7 @@ const J = "stepper__6af61269", K = "stepperCarousel__655687c3", O = "buttonPrev_
|
|
|
34
34
|
selectedStepId: c,
|
|
35
35
|
...E
|
|
36
36
|
}) => {
|
|
37
|
-
const [
|
|
37
|
+
const [b, w] = D({ stepNext: 0, stepPrev: 0 }), m = N(null), h = N({}), B = i(n.stepper, p), M = S.findIndex((e) => e.id === c), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
|
|
38
38
|
_,
|
|
39
39
|
{
|
|
40
40
|
className: i(n.buttonPrev, R(a)),
|
|
@@ -65,12 +65,12 @@ const J = "stepper__6af61269", K = "stepperCarousel__655687c3", O = "buttonPrev_
|
|
|
65
65
|
}, y = (e, t) => {
|
|
66
66
|
t && g(e, t);
|
|
67
67
|
}, A = (e, t) => {
|
|
68
|
-
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: u, right:
|
|
69
|
-
window.matchMedia(`(max-width: ${F.SM_MAX})`).matches ? y(e, d - f) : f > d ? k(e, t, u - r - 32, u) : f < d && L(e, t,
|
|
68
|
+
const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: u, right: x, width: z } = t.getBoundingClientRect(), f = r + j / 2, d = u + z / 2;
|
|
69
|
+
window.matchMedia(`(max-width: ${F.SM_MAX})`).matches ? y(e, d - f) : f > d ? k(e, t, u - r - 32, u) : f < d && L(e, t, x - o + 32, x);
|
|
70
70
|
};
|
|
71
71
|
return v(() => {
|
|
72
72
|
if (c) {
|
|
73
|
-
const { current: e } = m, t =
|
|
73
|
+
const { current: e } = m, t = h.current[c];
|
|
74
74
|
e && t && A(e, t);
|
|
75
75
|
}
|
|
76
76
|
}, [c]), /* @__PURE__ */ s(
|
|
@@ -79,13 +79,13 @@ const J = "stepper__6af61269", K = "stepperCarousel__655687c3", O = "buttonPrev_
|
|
|
79
79
|
className: i(n.stepperCarousel),
|
|
80
80
|
buttonPrev: I,
|
|
81
81
|
buttonNext: W,
|
|
82
|
-
stepPrev:
|
|
83
|
-
stepNext:
|
|
82
|
+
stepPrev: b.stepPrev,
|
|
83
|
+
stepNext: b.stepNext,
|
|
84
84
|
ref: m,
|
|
85
85
|
children: /* @__PURE__ */ s(C, { className: B, selectedStepId: c, size: a, ...E, children: S.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
|
|
86
86
|
C.Step,
|
|
87
87
|
{
|
|
88
|
-
forwardedRef: (o) =>
|
|
88
|
+
forwardedRef: (o) => h.current[t.id] = o,
|
|
89
89
|
...t,
|
|
90
90
|
isInActiveStep: r > M,
|
|
91
91
|
children: e
|
|
@@ -4,7 +4,7 @@ import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
|
|
|
4
4
|
import { StepperWrapper as x } from "./StepperWrapper.js";
|
|
5
5
|
import { StepperStep as f } from "./StepperStep.js";
|
|
6
6
|
import { c as E } from "../../chunks/vendor-CehxOAkM.js";
|
|
7
|
-
const b = "
|
|
7
|
+
const b = "stepperExtended__3da3b556", h = {
|
|
8
8
|
stepperExtended: b
|
|
9
9
|
}, t = ({
|
|
10
10
|
children: r,
|
|
@@ -13,10 +13,10 @@ const b = "stepperExtended__2bec12e3", h = {
|
|
|
13
13
|
onSelectStep: s,
|
|
14
14
|
selectedStepId: d,
|
|
15
15
|
forwardedRef: n,
|
|
16
|
-
...
|
|
16
|
+
...m
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className:
|
|
18
|
+
const c = E(h.stepperExtended, p), l = (S) => s(S);
|
|
19
|
+
return /* @__PURE__ */ e(i.Provider, { value: { onSelectStep: l, selectedId: d, size: o }, children: /* @__PURE__ */ e("ol", { className: c, role: "tablist", ...m, ref: n, children: r }) });
|
|
20
20
|
};
|
|
21
21
|
t.Step = f;
|
|
22
22
|
t.Wrapper = x;
|
|
@@ -5,7 +5,7 @@ import { isKey as A } from "../../utils/keyboard.js";
|
|
|
5
5
|
import { StepperExtendedContext as D } from "./StepperExtendedContext.js";
|
|
6
6
|
import { EFocusSource as s } from "../../enums/EFocusSource.js";
|
|
7
7
|
import { c as C } from "../../chunks/vendor-CehxOAkM.js";
|
|
8
|
-
import { s as t, R as F } from "../../chunks/RightBorderArrow-
|
|
8
|
+
import { s as t, R as F } from "../../chunks/RightBorderArrow-D6ZllSTT.js";
|
|
9
9
|
import { EStepperSize as h, EStepperStepType as j } from "./enums.js";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: x,
|
|
@@ -72,7 +72,7 @@ const H = ({
|
|
|
72
72
|
...G,
|
|
73
73
|
ref: P,
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.
|
|
75
|
+
/* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.3.0", children: [
|
|
76
76
|
g && U(),
|
|
77
77
|
x
|
|
78
78
|
] }),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
-
const o = "
|
|
3
|
+
const o = "stepperWrapper__9f568bd7", c = {
|
|
4
4
|
stepperWrapper: o
|
|
5
5
|
}, W = ({ children: p, className: r, ...e }) => {
|
|
6
6
|
const s = a(c.stepperWrapper, r);
|
|
7
|
-
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.3.0", children: p });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
W as StepperWrapper
|
|
@@ -2,7 +2,7 @@ import "./desktop/SuggestFieldDesktopDropdown.js";
|
|
|
2
2
|
import { SuggestFieldDesktop as L } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as O } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import "../../chunks/SuggestFieldMobileDropdownHint-Cc_fZLBH.js";
|
|
6
6
|
import "./mobile/SuggestFieldMobileTarget.js";
|
|
7
7
|
import { jsx as e } from "react/jsx-runtime";
|
|
8
8
|
import { MobileView as h } from "../MobileView/MobileView.js";
|
|
@@ -5,7 +5,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
5
5
|
import { FormFieldLabel as n } from "../FormField/components/FormFieldLabel.js";
|
|
6
6
|
import "../FormField/components/FormFieldClear.js";
|
|
7
7
|
import "../FormField/components/FormFieldTarget.js";
|
|
8
|
-
import { F as p } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as p } from "../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
9
9
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
10
10
|
import "../FormField/components/FormFieldPostfix.js";
|
|
11
11
|
import { FormFieldPrefix as l } from "../FormField/components/FormFieldPrefix.js";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldClear as f } from "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import { FormFieldPostfix as d } from "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "../../FormField/components/FormFieldCounter.js";
|
|
|
12
12
|
import "../../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../../FormField/components/FormFieldClear.js";
|
|
14
14
|
import "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-
|
|
15
|
+
import "../../../chunks/FormFieldInput-qaJqBTBV.js";
|
|
16
16
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
17
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
@@ -21,7 +21,7 @@ import "../../Dropdown/Dropdown.js";
|
|
|
21
21
|
import { DropdownListContext as kt } from "../../Dropdown/DropdownListContext.js";
|
|
22
22
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
23
23
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
24
|
-
import "../../../chunks/DropdownListItem-
|
|
24
|
+
import "../../../chunks/DropdownListItem-g0mYNHIW.js";
|
|
25
25
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
26
26
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
27
27
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -34,7 +34,7 @@ import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
|
34
34
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
35
35
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
36
36
|
import { DataTestId as wt } from "../../../consts/DataTestId.js";
|
|
37
|
-
const Lt = "
|
|
37
|
+
const Lt = "suggestFieldDesktop__28c3361e", Ct = {
|
|
38
38
|
suggestFieldDesktop: Lt
|
|
39
39
|
}, Pt = ({
|
|
40
40
|
className: q,
|