@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,78 +1,37 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EIslandType as
|
|
5
|
-
import { IslandBody as
|
|
6
|
-
import { IslandHeader as
|
|
7
|
-
import { IslandFooter as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
type3: D,
|
|
13
|
-
borderRadiusMD: R,
|
|
14
|
-
borderRadiusSM: S,
|
|
15
|
-
paddingLG: T,
|
|
16
|
-
paddingMD: I,
|
|
17
|
-
paddingSM: E
|
|
18
|
-
}, P = (a) => {
|
|
19
|
-
switch (a) {
|
|
20
|
-
case r.MD:
|
|
21
|
-
return d.borderRadiusMD;
|
|
22
|
-
case r.SM:
|
|
23
|
-
return d.borderRadiusSM;
|
|
24
|
-
}
|
|
25
|
-
}, G = (a) => {
|
|
26
|
-
switch (a) {
|
|
27
|
-
case s.MD:
|
|
28
|
-
return d.paddingMD;
|
|
29
|
-
case s.SM:
|
|
30
|
-
return d.paddingSM;
|
|
31
|
-
case s.LG:
|
|
32
|
-
return d.paddingLG;
|
|
33
|
-
}
|
|
34
|
-
}, L = (a) => {
|
|
35
|
-
switch (a) {
|
|
36
|
-
case e.TYPE_1:
|
|
37
|
-
return d.type1;
|
|
38
|
-
case e.TYPE_2:
|
|
39
|
-
return d.type2;
|
|
40
|
-
case e.TYPE_3:
|
|
41
|
-
return d.type3;
|
|
42
|
-
}
|
|
43
|
-
}, N = Object.assign(
|
|
44
|
-
m.forwardRef(
|
|
45
|
-
({
|
|
46
|
-
type: a = e.TYPE_1,
|
|
47
|
-
borderRadius: t = r.MD,
|
|
48
|
-
paddingSize: n = s.MD,
|
|
49
|
-
className: o,
|
|
50
|
-
children: i,
|
|
51
|
-
...p
|
|
52
|
-
}, c) => /* @__PURE__ */ _(
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { EIslandType as p } from "./enums.js";
|
|
5
|
+
import { IslandBody as f } from "./components/IslandBody.js";
|
|
6
|
+
import { IslandHeader as n } from "./components/IslandHeader.js";
|
|
7
|
+
import { IslandFooter as c } from "./components/IslandFooter.js";
|
|
8
|
+
import { m as y, s as I, a as T, b as N } from "../../chunks/utils-dyCpsmr1.js";
|
|
9
|
+
const u = Object.assign(
|
|
10
|
+
i.forwardRef(
|
|
11
|
+
({ type: a = p.TYPE_1, borderRadius: s = 16, paddingSize: o = 16, className: r, children: m, ...e }, d) => /* @__PURE__ */ t(
|
|
53
12
|
"div",
|
|
54
13
|
{
|
|
55
|
-
className:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
14
|
+
className: l(
|
|
15
|
+
I.island,
|
|
16
|
+
y(a),
|
|
17
|
+
T(s),
|
|
18
|
+
N(o),
|
|
19
|
+
r
|
|
61
20
|
),
|
|
62
|
-
ref:
|
|
63
|
-
...
|
|
64
|
-
children:
|
|
21
|
+
ref: d,
|
|
22
|
+
...e,
|
|
23
|
+
children: m
|
|
65
24
|
}
|
|
66
25
|
)
|
|
67
26
|
),
|
|
68
27
|
{
|
|
69
|
-
Body:
|
|
70
|
-
Header:
|
|
71
|
-
Footer:
|
|
28
|
+
Body: f,
|
|
29
|
+
Header: n,
|
|
30
|
+
Footer: c
|
|
72
31
|
}
|
|
73
32
|
);
|
|
74
|
-
|
|
33
|
+
u.displayName = "Island";
|
|
75
34
|
export {
|
|
76
|
-
|
|
35
|
+
u as Island
|
|
77
36
|
};
|
|
78
37
|
//# sourceMappingURL=Island.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as t } from "../../../chunks/vendor-
|
|
4
|
-
const l = "
|
|
3
|
+
import { c as t } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const l = "islandBody__24a5c135", n = {
|
|
5
5
|
islandBody: l
|
|
6
6
|
}, m = r.forwardRef(({ children: o, ...s }, d) => /* @__PURE__ */ a("div", { className: t(n.islandBody), ref: d, ...s, children: o }));
|
|
7
7
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as a } from "../../../chunks/vendor-
|
|
4
|
-
const d = "
|
|
3
|
+
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const d = "islandFooter__307b6d00", l = {
|
|
5
5
|
islandFooter: d
|
|
6
6
|
}, m = e.forwardRef(({ children: o, ...r }, t) => /* @__PURE__ */ s("div", { className: a(l.islandFooter), ref: t, ...r, children: o }));
|
|
7
7
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
const t = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const t = "islandHeader__0571c0f9", l = {
|
|
5
5
|
islandHeader: t
|
|
6
|
-
}, f = d.forwardRef(({ children:
|
|
6
|
+
}, f = d.forwardRef(({ children: e, ...a }, r) => /* @__PURE__ */ s("div", { className: o(l.islandHeader), ref: r, ...a, children: e }));
|
|
7
7
|
export {
|
|
8
8
|
f as IslandHeader
|
|
9
9
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
var t = /* @__PURE__ */ ((
|
|
1
|
+
var t = /* @__PURE__ */ ((_) => (_.TYPE_1 = "type_1", _.TYPE_2 = "type_2", _.TYPE_3 = "type_3", _))(t || {});
|
|
2
2
|
export {
|
|
3
|
-
_ as EIslandBorderRadius,
|
|
4
|
-
m as EIslandPaddingSize,
|
|
5
3
|
t as EIslandType
|
|
6
4
|
};
|
|
7
5
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { Island as
|
|
2
|
-
import {
|
|
1
|
+
import { Island as e } from "./Island.js";
|
|
2
|
+
import { EIslandType as a } from "./enums.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
s as EIslandType,
|
|
7
|
-
r as Island
|
|
4
|
+
a as EIslandType,
|
|
5
|
+
e as Island
|
|
8
6
|
};
|
|
9
7
|
//# sourceMappingURL=index.js.map
|
package/components/Link/Link.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as R, jsxs as t, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const v = "
|
|
3
|
+
import { c as l } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const v = "link__873f9874", F = "wordWithContent__6c3e27a0", S = "before__748dcd5d", T = "after__0a80da7e", e = {
|
|
5
5
|
link: v,
|
|
6
6
|
wordWithContent: F,
|
|
7
7
|
before: S,
|
|
8
8
|
after: T
|
|
9
9
|
}, q = L.forwardRef(
|
|
10
|
-
({ children: i, className: N, onBlur: p, onMouseDown:
|
|
10
|
+
({ children: i, className: N, onBlur: p, onMouseDown: f, contentAfter: s, contentBefore: o, ...C }, _) => {
|
|
11
11
|
const c = () => o ? /* @__PURE__ */ t(d, { children: [
|
|
12
12
|
"",
|
|
13
13
|
o()
|
|
14
14
|
] }) : null, m = () => s ? s() : null, u = (n) => {
|
|
15
15
|
const r = n.split(" ");
|
|
16
16
|
if (r.length < 2 || r.length < 3 && o && s) {
|
|
17
|
-
const y =
|
|
17
|
+
const y = l(e.wordWithContent, {
|
|
18
18
|
[e.after]: !!s,
|
|
19
19
|
[e.before]: !!o
|
|
20
20
|
});
|
|
@@ -24,12 +24,12 @@ const v = "link__c8803354", F = "wordWithContent__89d8855c", S = "before__9da7c1
|
|
|
24
24
|
m()
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const a = r[0], h = r[r.length - 1], k = r.slice(1, -1).join(" "), b = l(e.wordWithContent, {
|
|
28
28
|
[e.before]: !!o
|
|
29
|
-
}), g = o ? /* @__PURE__ */ t("span", { className:
|
|
29
|
+
}), g = o ? /* @__PURE__ */ t("span", { className: b, children: [
|
|
30
30
|
c(),
|
|
31
|
-
|
|
32
|
-
] }) :
|
|
31
|
+
a
|
|
32
|
+
] }) : a, x = l(e.wordWithContent, {
|
|
33
33
|
[e.after]: !!s
|
|
34
34
|
}), j = s ? /* @__PURE__ */ t("span", { className: x, children: [
|
|
35
35
|
h,
|
|
@@ -38,29 +38,29 @@ const v = "link__c8803354", F = "wordWithContent__89d8855c", S = "before__9da7c1
|
|
|
38
38
|
return /* @__PURE__ */ t(d, { children: [
|
|
39
39
|
g,
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
k,
|
|
42
42
|
" ",
|
|
43
43
|
j
|
|
44
44
|
] });
|
|
45
45
|
}, W = (n) => {
|
|
46
|
-
const r = o ? o() : null,
|
|
46
|
+
const r = o ? o() : null, a = s ? s() : null;
|
|
47
47
|
return /* @__PURE__ */ t(d, { children: [
|
|
48
48
|
r,
|
|
49
49
|
n,
|
|
50
|
-
|
|
50
|
+
a
|
|
51
51
|
] });
|
|
52
|
-
},
|
|
52
|
+
}, w = o || s ? ((n) => typeof n == "string" ? u(n) : W(n))(i) : i;
|
|
53
53
|
return /* @__PURE__ */ R(
|
|
54
54
|
"a",
|
|
55
55
|
{
|
|
56
56
|
role: "link",
|
|
57
|
-
...
|
|
58
|
-
className:
|
|
57
|
+
...C,
|
|
58
|
+
className: l(N, e.link, "hoverable"),
|
|
59
59
|
onBlur: p,
|
|
60
|
-
onMouseDown:
|
|
61
|
-
"data-tx": "1.
|
|
62
|
-
ref:
|
|
63
|
-
children:
|
|
60
|
+
onMouseDown: f,
|
|
61
|
+
"data-tx": "1.3.0",
|
|
62
|
+
ref: _,
|
|
63
|
+
children: w
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
package/components/List/List.js
CHANGED
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ref: i,
|
|
13
|
-
children: [
|
|
14
|
-
s,
|
|
15
|
-
l ? "Загрузка..." : null
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
));
|
|
19
|
-
d.displayName = "List";
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { LoaderScreen as c } from "../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
const f = "list__36f8a11d", d = {
|
|
6
|
+
list: f
|
|
7
|
+
}, p = i.forwardRef(({ children: s, className: t, loading: l, ...o }, r) => /* @__PURE__ */ a("ul", { className: m(d.list, t), ...o, "data-tx": "1.3.0", ref: r, children: [
|
|
8
|
+
s,
|
|
9
|
+
l ? /* @__PURE__ */ e(c, { type: "small" }) : null
|
|
10
|
+
] }));
|
|
11
|
+
p.displayName = "List";
|
|
20
12
|
export {
|
|
21
|
-
|
|
13
|
+
p as List
|
|
22
14
|
};
|
|
23
15
|
//# sourceMappingURL=List.js.map
|
|
@@ -3,7 +3,7 @@ var p = (t, e, r) => e in t ? x(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (t, e, r) => p(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { jsx as d } from "react/jsx-runtime";
|
|
5
5
|
import E from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { b, d as f, D as M, M as T, r as D, e as L, S as w, v as y, f as I, T as C, g as H } from "../../chunks/vendor-CehxOAkM.js";
|
|
7
7
|
import { List as N } from "./List.js";
|
|
8
8
|
class u extends H {
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
const p = "
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const p = "listEmptyState__ab57b91c", l = {
|
|
5
5
|
listEmptyState: p
|
|
6
6
|
}, r = i.forwardRef(
|
|
7
7
|
({ children: t, className: s, ...m }, a) => /* @__PURE__ */ e("div", { className: o(l.listEmptyState, s), ...m, ref: a, children: t })
|
|
@@ -3,16 +3,7 @@ import m, { useState as d } from "react";
|
|
|
3
3
|
import { ListItemContext as l } from "./ListItemContext.js";
|
|
4
4
|
const f = m.forwardRef(({ children: e, className: r, ...o }, s) => {
|
|
5
5
|
const [a, i] = d(!1);
|
|
6
|
-
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t(
|
|
7
|
-
"li",
|
|
8
|
-
{
|
|
9
|
-
className: r,
|
|
10
|
-
...o,
|
|
11
|
-
"data-tx": "1.1.1",
|
|
12
|
-
ref: s,
|
|
13
|
-
children: e
|
|
14
|
-
}
|
|
15
|
-
) });
|
|
6
|
+
return /* @__PURE__ */ t(l.Provider, { value: { selected: a, setSelected: i }, children: /* @__PURE__ */ t("li", { className: r, ...o, "data-tx": "1.3.0", ref: s, children: e }) });
|
|
16
7
|
});
|
|
17
8
|
f.displayName = "ListItem";
|
|
18
9
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as i } from "react";
|
|
3
|
-
import { c as r } from "../../../chunks/vendor-
|
|
3
|
+
import { c as r } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { ListItemContext as a } from "./ListItemContext.js";
|
|
5
|
-
const d = "
|
|
5
|
+
const d = "listItemContent__ec71b02b", C = "selected__208bb57a", t = {
|
|
6
6
|
listItemContent: d,
|
|
7
7
|
selected: C
|
|
8
8
|
}, f = l.forwardRef(
|
|
@@ -13,7 +13,7 @@ const d = "listItemContent__bc6a5e15", C = "selected__a7373903", t = {
|
|
|
13
13
|
{
|
|
14
14
|
className: r(t.listItemContent, { [t.selected]: m }, s),
|
|
15
15
|
...o,
|
|
16
|
-
"data-tx": "1.
|
|
16
|
+
"data-tx": "1.3.0",
|
|
17
17
|
ref: n,
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
const i = "
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const i = "listItemControls__38ebb05b", n = {
|
|
5
5
|
listItemControls: i
|
|
6
|
-
},
|
|
7
|
-
({ children: t, className: o, ...s },
|
|
6
|
+
}, a = e.forwardRef(
|
|
7
|
+
({ children: t, className: o, ...s }, l) => /* @__PURE__ */ r("div", { className: m(n.listItemControls, o), ...s, ref: l, children: t })
|
|
8
8
|
);
|
|
9
|
-
|
|
9
|
+
a.displayName = "ListItemControls";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
a as ListItemControls
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=ListItemControls.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../chunks/vendor-
|
|
4
|
-
import { L as e } from "../../../chunks/ListItemControlsButton-
|
|
3
|
+
import "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { L as e } from "../../../chunks/ListItemControlsButton-Ms4q9wDe.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
6
|
import "../../Typography/Text.js";
|
|
7
7
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as w, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import P, { useRef as m, useState as E, createElement as b } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as O, c as g } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { ETextSize as K } from "../../Typography/enums.js";
|
|
5
5
|
import { Text as T } from "../../Typography/Text.js";
|
|
6
6
|
import { ButtonDropdownExtended as R } from "../../Button/ButtonDropdownExtended.js";
|
|
@@ -15,8 +15,10 @@ import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
|
15
15
|
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
16
16
|
import { DropdownMobileList as F } from "../../Dropdown/mobile/DropdownMobileList.js";
|
|
17
17
|
import { DropdownMobileListItem as H } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
18
|
+
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
|
+
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
18
20
|
import { DropdownList as h } from "../../Dropdown/desktop/DropdownList.js";
|
|
19
|
-
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-
|
|
21
|
+
import { s as y, L as V } from "../../../chunks/ListItemControlsButton-Ms4q9wDe.js";
|
|
20
22
|
const G = P.forwardRef(
|
|
21
23
|
(C, l) => {
|
|
22
24
|
const { buttonAttributes: x, children: c, className: I, icon: N, options: d, selected: n, disabled: B, ...L } = C, f = m(null), u = m(null), [p, v] = E(), D = m(O()), A = ({ opened: e, setOpened: t }) => /* @__PURE__ */ o(
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { c as s } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { LoaderScreen as a } from "../../LoaderScreen/LoaderScreen.js";
|
|
5
|
+
import { EComponentSize as r } from "../../../enums/EComponentSize.js";
|
|
6
|
+
const n = "listItemLoading__1fb4613c", d = {
|
|
7
|
+
listItemLoading: n
|
|
8
|
+
}, l = m.forwardRef(
|
|
9
|
+
({ className: o, ...i }, e) => /* @__PURE__ */ t("div", { className: s(d.listItemLoading, o), ...i, ref: e, children: /* @__PURE__ */ t(a, { type: "small", size: r.MD }) })
|
|
8
10
|
);
|
|
9
11
|
l.displayName = "ListItemLoading";
|
|
10
12
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as k } from "../../../chunks/vendor-
|
|
2
|
+
import p, { useContext as m, useEffect as d } from "react";
|
|
3
|
+
import { c as k } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { Checkbox as x } from "../../Checkbox/Checkbox.js";
|
|
5
5
|
import { ListItemContext as _ } from "./ListItemContext.js";
|
|
6
|
-
const f = "
|
|
6
|
+
const f = "listItemSelectable__20b7c276", L = "selected__208bb57a", C = "checkboxWrapper__3635df4c", W = "childrenWrapper__4fd32a52", I = "checkboxLabel__7a9185b1", S = "checkboxLabelClickArea__12737d1b", e = {
|
|
7
7
|
listItemSelectable: f,
|
|
8
8
|
selected: L,
|
|
9
9
|
checkboxWrapper: C,
|
|
10
10
|
childrenWrapper: W,
|
|
11
11
|
checkboxLabel: I,
|
|
12
12
|
checkboxLabelClickArea: S
|
|
13
|
-
}, N =
|
|
13
|
+
}, N = p.forwardRef(
|
|
14
14
|
({ selected: c, children: l, className: r, onSelect: s, ...o }, b) => {
|
|
15
|
-
const { setSelected: a } =
|
|
15
|
+
const { setSelected: a } = m(_), i = (h) => {
|
|
16
16
|
s(h.target.checked);
|
|
17
17
|
};
|
|
18
|
-
return
|
|
18
|
+
return d(() => {
|
|
19
19
|
a(c);
|
|
20
20
|
}, [c, a]), /* @__PURE__ */ n(
|
|
21
21
|
"div",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { SwipeableArea as
|
|
4
|
-
import { ListItem as
|
|
3
|
+
import { SwipeableArea as I } from "../../SwipeableArea/SwipeableArea.js";
|
|
4
|
+
import { ListItem as b } from "./ListItem.js";
|
|
5
5
|
import { ListItemContent as L } from "./ListItemContent.js";
|
|
6
6
|
import { ListItemControls as T } from "./ListItemControls.js";
|
|
7
7
|
import { ListItemSelectable as h } from "./ListItemSelectable.js";
|
|
8
8
|
import { ListItemTailRight as x } from "./ListItemTailRight.js";
|
|
9
|
-
import { c as y } from "../../../chunks/vendor-
|
|
10
|
-
const C = "
|
|
9
|
+
import { c as y } from "../../../chunks/vendor-CehxOAkM.js";
|
|
10
|
+
const C = "listItemTable__2473a0c9", _ = {
|
|
11
11
|
listItemTable: C
|
|
12
12
|
}, u = d.forwardRef(
|
|
13
13
|
({ children: o, className: s, controlButtons: t, onClickItem: l, onSelect: i, selected: r, swipeableAreaRef: a, ...n }, f) => {
|
|
14
|
-
const
|
|
15
|
-
return /* @__PURE__ */ e(
|
|
16
|
-
|
|
14
|
+
const p = typeof i < "u" && typeof r < "u", m = () => /* @__PURE__ */ e(L, { onClick: l, children: o });
|
|
15
|
+
return /* @__PURE__ */ e(b, { className: y(_.listItemTable, s), ...n, ref: f, children: /* @__PURE__ */ c(
|
|
16
|
+
I,
|
|
17
17
|
{
|
|
18
18
|
ref: a,
|
|
19
19
|
rightSwipeableArea: t ? /* @__PURE__ */ e(T, { children: t }) : void 0,
|
|
20
20
|
children: [
|
|
21
21
|
/* @__PURE__ */ e(x, {}),
|
|
22
|
-
|
|
22
|
+
p ? /* @__PURE__ */ e(h, { selected: r, onSelect: i, children: m() }) : m()
|
|
23
23
|
]
|
|
24
24
|
}
|
|
25
25
|
) });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D5VudFCz.js";
|
|
5
5
|
const r = m.forwardRef(
|
|
6
6
|
({ className: a, ...e }, i) => /* @__PURE__ */ l(
|
|
7
7
|
"span",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as o } from "../../../chunks/vendor-
|
|
4
|
-
import { s } from "../../../chunks/ListItemTail.module-
|
|
3
|
+
import { c as o } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { s } from "../../../chunks/ListItemTail.module-D5VudFCz.js";
|
|
5
5
|
const r = e.forwardRef(
|
|
6
6
|
({ className: a, ...i }, l) => /* @__PURE__ */ m(
|
|
7
7
|
"span",
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import p from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { t as u, C as I, c as _ } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
4
|
import { ListItem as y } from "./ListItem.js";
|
|
5
5
|
import { ListSortableItemTarget as L } from "./ListSortableItemTarget.js";
|
|
6
|
-
const R = "
|
|
6
|
+
const R = "listSortableItem__ae7fbecc", N = "dragging__92b4d22d", i = {
|
|
7
7
|
listSortableItem: R,
|
|
8
8
|
dragging: N
|
|
9
9
|
}, x = Object.assign(
|
|
10
10
|
p.forwardRef(function({ children: e, className: n, style: g, disabled: r, ...s }, t) {
|
|
11
|
-
const { transform: m, transition: l, listeners: f, isDragging: a, setNodeRef: c, setActivatorNodeRef:
|
|
11
|
+
const { transform: m, transition: l, listeners: f, isDragging: a, setNodeRef: c, setActivatorNodeRef: d } = u({
|
|
12
12
|
disabled: r,
|
|
13
13
|
id: s.id,
|
|
14
14
|
transition: {
|
|
15
15
|
duration: 300,
|
|
16
16
|
easing: "ease-out"
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), S = (o) => {
|
|
19
19
|
c(o), typeof t == "function" ? t(o) : t && (t.current = o);
|
|
20
20
|
};
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ b(
|
|
22
22
|
y,
|
|
23
23
|
{
|
|
24
24
|
className: _(i.listSortableItem, { [i.dragging]: a }, n),
|
|
25
25
|
style: { transform: I.Translate.toString(m), transition: l, ...g },
|
|
26
26
|
...s,
|
|
27
|
-
ref:
|
|
28
|
-
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef:
|
|
27
|
+
ref: S,
|
|
28
|
+
children: typeof e == "function" ? e({ disabled: r, dragging: a, listeners: f, setActivatorNodeRef: d }) : e
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as e } from "../../../chunks/vendor-
|
|
4
|
-
const a = "
|
|
3
|
+
import { c as e } from "../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const a = "listSortableItemControls__ba110cc1", m = {
|
|
5
5
|
listSortableItemControls: a
|
|
6
6
|
}, i = l.forwardRef(
|
|
7
7
|
({ className: t, ...o }, r) => /* @__PURE__ */ s(
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
3
|
import { DragdotsStrokeSrvIcon24 as n } from "@sberbusiness/icons-next";
|
|
4
|
-
import { c } from "../../../chunks/vendor-
|
|
5
|
-
const I = "
|
|
4
|
+
import { c as b } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
const I = "listSortableItemTarget__640732be", c = "dragging__92b4d22d", S = "listSortableItemTargetContent__5a5b4a0b", d = "listSortableItemTargetIcon__c1b59e1d", t = {
|
|
6
6
|
listSortableItemTarget: I,
|
|
7
|
-
dragging:
|
|
7
|
+
dragging: c,
|
|
8
8
|
listSortableItemTargetContent: S,
|
|
9
9
|
listSortableItemTargetIcon: d
|
|
10
10
|
}, T = m.forwardRef(
|
|
11
|
-
({ children:
|
|
11
|
+
({ children: a, className: r, disabled: o, dragging: l, ...s }, g) => /* @__PURE__ */ i(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: b(t.listSortableItemTarget, { [t.dragging]: l }, "hoverable", r),
|
|
15
15
|
...s,
|
|
16
16
|
ref: g,
|
|
17
17
|
children: [
|
|
18
|
-
/* @__PURE__ */ e("div", { className: t.listSortableItemTargetContent, children:
|
|
18
|
+
/* @__PURE__ */ e("div", { className: t.listSortableItemTargetContent, children: a }),
|
|
19
19
|
!o && /* @__PURE__ */ e(n, { paletteIndex: 5, className: t.listSortableItemTargetIcon })
|
|
20
20
|
]
|
|
21
21
|
}
|
package/components/List/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AdvancedMouseSensor as m, AdvancedTouchSensor as s, ListSortable as i }
|
|
|
3
3
|
import { ListItem as p } from "./components/ListItem.js";
|
|
4
4
|
import { ListItemControls as x } from "./components/ListItemControls.js";
|
|
5
5
|
import { ListItemContent as n } from "./components/ListItemContent.js";
|
|
6
|
-
import { L as I } from "../../chunks/ListItemControlsButton-
|
|
6
|
+
import { L as I } from "../../chunks/ListItemControlsButton-Ms4q9wDe.js";
|
|
7
7
|
import { ListItemControlsButtonDropdown as b } from "./components/ListItemControlsButtonDropdown.js";
|
|
8
8
|
import { ListEmptyState as C } from "./components/ListEmptyState.js";
|
|
9
9
|
import { ListItemLoading as c } from "./components/ListItemLoading.js";
|
|
@@ -6,7 +6,7 @@ import { ListMasterHeader as a } from "./components/ListMasterHeader.js";
|
|
|
6
6
|
import { SelectionControls as n } from "./components/SelectionControls.js";
|
|
7
7
|
import { ListMasterFooterControls as f } from "./components/ListMasterFooterControls.js";
|
|
8
8
|
import { ListMasterFooterDescription as L } from "./components/ListMasterFooterDescription.js";
|
|
9
|
-
const o = ({ children: t, className: r, ...e }) => /* @__PURE__ */ i("div", { className: r, ...e, "data-tx": "1.
|
|
9
|
+
const o = ({ children: t, className: r, ...e }) => /* @__PURE__ */ i("div", { className: r, ...e, "data-tx": "1.3.0", children: t });
|
|
10
10
|
o.Body = m;
|
|
11
11
|
o.ChipGroup = s;
|
|
12
12
|
o.Footer = p;
|