@sberbusiness/triplex-next 1.3.0 → 1.5.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-M7W9D-p3.js +39 -0
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/Chip-DpSJGyYK.js +90 -0
- package/chunks/DropdownListItem-SqymKZn5.js +57 -0
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/FormFieldInput-BSxKZxcq.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/HeaderTitle.module-CEMLCR13.js +11 -0
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/LightBoxContent-DTTxRVLQ.js +56 -0
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-Ms4q9wDe.js → ListItemControlsButton-AbCEipFe.js} +7 -7
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-D6ZllSTT.js → RightBorderArrow-Co_RT8lZ.js} +14 -14
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-Bkv3b0F5.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/utils-CXhKCNyM.js +72 -0
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-D9w2Kvyk.js} +7 -7
- package/chunks/{utils-BZFu5eVD.js → utils-Dhi5F6Da.js} +8 -8
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- 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 +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +45 -44
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/utils.js +38 -0
- 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 +2 -2
- package/components/Checkbox/Checkbox.js +20 -20
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -3
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +91 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +88 -62
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +127 -109
- package/components/Divider/Divider.js +18 -18
- package/components/Dropdown/desktop/DropdownDesktop.js +23 -23
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +27 -27
- package/components/Footer/Footer.js +9 -20
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +14 -18
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -18
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +36 -32
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +21 -21
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +12 -12
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +8 -8
- 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 +9 -9
- 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 +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +19 -20
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- 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 +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -20
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +54 -54
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +73 -72
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +17 -17
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +6 -6
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- 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 +26 -30
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +428 -366
- package/consts/DateConst.js +14 -0
- package/index.d.ts +1022 -60
- package/index.js +434 -372
- package/package.json +50 -1
- package/styles/triplex-next.css +501 -441
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/chunks/vendor-CehxOAkM.js +0 -11907
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Calendar}/types.js +0 -0
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const c = ({
|
|
2
|
+
import { s as a } from "../../../../chunks/TableFooter.module-BF4P3QCw.js";
|
|
3
|
+
import { ETextSize as s } from "../../../Typography/enums.js";
|
|
4
|
+
import { Link as i } from "../../../Link/Link.js";
|
|
5
|
+
import { Text as p } from "../../../Typography/Text.js";
|
|
6
|
+
const u = ({
|
|
8
7
|
children: o,
|
|
9
|
-
className: m,
|
|
10
8
|
onClick: t,
|
|
11
|
-
...
|
|
9
|
+
...m
|
|
12
10
|
}) => {
|
|
13
|
-
const
|
|
11
|
+
const l = (e) => {
|
|
14
12
|
e.preventDefault(), t == null || t(e);
|
|
15
13
|
};
|
|
16
|
-
return /* @__PURE__ */ r(
|
|
17
|
-
f,
|
|
18
|
-
{
|
|
19
|
-
...l,
|
|
20
|
-
href: "#",
|
|
21
|
-
className: s(i.tableFooterSummarySelectAllButton, m),
|
|
22
|
-
onClick: a,
|
|
23
|
-
children: o
|
|
24
|
-
}
|
|
25
|
-
) });
|
|
14
|
+
return /* @__PURE__ */ r(p, { size: s.B3, className: a.tableFooterSummarySelectAllButton, children: /* @__PURE__ */ r(i, { ...m, href: "#", onClick: l, children: o }) });
|
|
26
15
|
};
|
|
27
|
-
|
|
16
|
+
u.displayName = "TableFooterSummarySelectAllButton";
|
|
28
17
|
export {
|
|
29
|
-
|
|
18
|
+
u as TableFooterSummarySelectAllButton
|
|
30
19
|
};
|
|
31
20
|
//# sourceMappingURL=TableFooterSummarySelectAllButton.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s as t } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as t } from "../../../../chunks/TableFooter.module-BF4P3QCw.js";
|
|
3
3
|
const a = ({ children: e }) => /* @__PURE__ */ o("span", { className: t.tableFooterSummarySelectedCount, children: e });
|
|
4
4
|
a.displayName = "TableFooterSummarySelectedCount";
|
|
5
5
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
2
|
+
import { c as t } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import { TabsLinePanelLinks as l } from "./TabsLinePanelLinks.js";
|
|
4
|
-
const o = "
|
|
4
|
+
const o = "tabsLinePanel__67a34e57", L = {
|
|
5
5
|
tabsLinePanel: o
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
}, a = ({ children: s, className: e, ...n }) => /* @__PURE__ */ i("div", { className: t(L.tabsLinePanel, e), ...n, children: s });
|
|
7
|
+
a.Links = l;
|
|
8
|
+
a.displayName = "TabsLinePanel";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
a as TabsLinePanel
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=TabsLinePanel.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../../chunks/vendor-
|
|
3
|
-
const L = "
|
|
2
|
+
import { c as i } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const L = "tabsLinePanelLinks__57c4524f", t = {
|
|
4
4
|
tabsLinePanelLinks: L
|
|
5
5
|
}, l = ({
|
|
6
6
|
children: s,
|
package/components/Tabs/Tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as c, jsxs as N } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a, useRef as D } from "react";
|
|
3
|
-
import { TabsExtended as
|
|
3
|
+
import { TabsExtended as s } from "../TabsExtended/TabsExtended.js";
|
|
4
4
|
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
|
-
import { c as W } from "../../chunks/vendor-
|
|
5
|
+
import { c as W } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
7
7
|
import "../TabsExtended/components/TabsExtendedTab.js";
|
|
8
8
|
import "../TabsExtended/components/TabsExtendedTabButton.js";
|
|
@@ -15,12 +15,12 @@ import "../Button/ButtonDropdownExtended.js";
|
|
|
15
15
|
import { EButtonDotsTheme as j } from "../Button/enums.js";
|
|
16
16
|
import { EComponentSize as K } from "../../enums/EComponentSize.js";
|
|
17
17
|
import { isKey as _ } from "../../utils/keyboard.js";
|
|
18
|
-
const k = "
|
|
18
|
+
const k = "tabButtonDropdown__c0665a81", G = "sm__bd2226d6", H = "md__2ff065db", L = "lg__51c350c9", p = {
|
|
19
19
|
tabButtonDropdown: k,
|
|
20
20
|
sm: G,
|
|
21
21
|
md: H,
|
|
22
22
|
lg: L
|
|
23
|
-
},
|
|
23
|
+
}, co = ({
|
|
24
24
|
buttonDropdownAttributes: v,
|
|
25
25
|
selectedId: l,
|
|
26
26
|
onSelectTab: R,
|
|
@@ -28,13 +28,13 @@ const k = "tabButtonDropdown__231d8d4d", G = "sm__2b178d75", H = "md__c259aa11",
|
|
|
28
28
|
tabs: t,
|
|
29
29
|
...A
|
|
30
30
|
}) => {
|
|
31
|
-
const [h,
|
|
31
|
+
const [h, m] = a(l || t[0].id), [w, C] = a(""), [F, S] = a(""), d = D(null), u = D(null), B = ({ dropdownItemsIds: e, onSelectTab: o }) => t.filter((n) => e.includes(n.id)).map((n) => ({ ...n, onSelect: () => o(n.id) })), I = (e, o) => /* @__PURE__ */ c(s.Content.Tab, { ...e, children: ({ selected: n, isFirstInlineTab: g, isLastInlineTab: E }) => {
|
|
32
32
|
const O = h === e.id ? 0 : -1, y = () => {
|
|
33
33
|
let r;
|
|
34
|
-
return w === e.id ? r =
|
|
34
|
+
return w === e.id ? r = d : F === e.id && (r = u), r;
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
-
|
|
36
|
+
return /* @__PURE__ */ c(
|
|
37
|
+
s.Content.TabButton,
|
|
38
38
|
{
|
|
39
39
|
selected: n,
|
|
40
40
|
tabIndex: O,
|
|
@@ -46,15 +46,15 @@ const k = "tabButtonDropdown__231d8d4d", G = "sm__2b178d75", H = "md__c259aa11",
|
|
|
46
46
|
onKeyDown: (r) => {
|
|
47
47
|
var T, b;
|
|
48
48
|
const { key: f } = r;
|
|
49
|
-
_(f, "ARROW_LEFT") ? (g || (
|
|
49
|
+
_(f, "ARROW_LEFT") ? (g || (m(t[o - 1].id), (T = d.current) == null || T.focus()), r.preventDefault()) : _(f, "ARROW_RIGHT") && (E || (m(t[o + 1].id), (b = u.current) == null || b.focus()), r.preventDefault());
|
|
50
50
|
},
|
|
51
51
|
children: e.label
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
} }, o);
|
|
55
|
-
return /* @__PURE__ */ s
|
|
56
|
-
/* @__PURE__ */ s
|
|
57
|
-
/* @__PURE__ */ s
|
|
55
|
+
return /* @__PURE__ */ c(s, { ...A, selectedId: l, onSelectTab: R, children: /* @__PURE__ */ N(s.Content, { className: p.tabsContent, size: i, children: [
|
|
56
|
+
/* @__PURE__ */ c(s.Content.TabsWrapper, { children: t.map(I) }),
|
|
57
|
+
/* @__PURE__ */ c(s.Content.DropdownWrapper, { children: ({ dropdownItemsIds: e, onSelectTab: o }) => /* @__PURE__ */ c(
|
|
58
58
|
x,
|
|
59
59
|
{
|
|
60
60
|
theme: j.DOTS_SECONDARY,
|
|
@@ -70,6 +70,6 @@ const k = "tabButtonDropdown__231d8d4d", G = "sm__2b178d75", H = "md__c259aa11",
|
|
|
70
70
|
] }) });
|
|
71
71
|
};
|
|
72
72
|
export {
|
|
73
|
-
|
|
73
|
+
co as Tabs
|
|
74
74
|
};
|
|
75
75
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useRef as T } from "react";
|
|
3
|
-
import { c as b } from "../../chunks/vendor-
|
|
3
|
+
import { c as b } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { TabsExtendedContext as E } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as u } from "../../chunks/TabsExtended.module
|
|
6
|
+
import { s as u } from "../../chunks/TabsExtended.module-BciQYRi4.js";
|
|
7
7
|
import { ETabsExtendedType as C } from "./enums.js";
|
|
8
|
-
import { t as v } from "../../chunks/utils-
|
|
8
|
+
import { t as v } from "../../chunks/utils-Dhi5F6Da.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "../../../chunks/vendor-
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import { TabsExtendedTabsWrapper as n } from "./TabsExtendedTabsWrapper.js";
|
|
4
4
|
import { TabsExtendedTab as d } from "./TabsExtendedTab.js";
|
|
5
5
|
import { TabsExtendedTabButton as i } from "./TabsExtendedTabButton.js";
|
|
6
6
|
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
7
7
|
import { TabsExtendedDropdownWrapper as b } from "./TabsExtendedDropdownWrapper.js";
|
|
8
|
-
import { s as r } from "../../../chunks/TabsExtended.module
|
|
8
|
+
import { s as r } from "../../../chunks/TabsExtended.module-BciQYRi4.js";
|
|
9
9
|
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "./TabsExtendedTabContext.js";
|
|
11
11
|
const x = f(r), o = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
|
-
import { s as p } from "../../../chunks/TabsExtended.module
|
|
4
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module-BciQYRi4.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
7
7
|
children: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as d } from "react";
|
|
3
|
-
import { s as o } from "../../../chunks/TabsExtended.module
|
|
4
|
-
import { c as I } from "../../../chunks/vendor-
|
|
3
|
+
import { s as o } from "../../../chunks/TabsExtended.module-BciQYRi4.js";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
7
7
|
const h = x.forwardRef(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as i } from "react";
|
|
3
|
-
import { s as t, t as b, a as T } from "../../../chunks/utils-
|
|
4
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { s as t, t as b, a as T } from "../../../chunks/utils-Dhi5F6Da.js";
|
|
4
|
+
import { c } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
5
|
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { TabsExtendedContext as f } from "../TabsExtendedContext.js";
|
|
7
7
|
import { Text as u } from "../../Typography/Text.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as y, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, isValidElement as B } from "react";
|
|
3
|
-
import { u as F, c as N, p as z } from "../../../chunks/vendor-
|
|
3
|
+
import { u as F, c as N, p as z } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { TabsExtendedContext as _ } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as j } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-BciQYRi4.js";
|
|
7
7
|
const G = ({
|
|
8
8
|
children: s,
|
|
9
9
|
className: C,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./enums.js";
|
|
2
2
|
import "../../enums/EComponentSize.js";
|
|
3
|
-
import { a as s, t as i } from "../../chunks/utils-
|
|
3
|
+
import { a as s, t as i } from "../../chunks/utils-Dhi5F6Da.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
s as tabsExtendedSizeToTextSizeMap,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as f } from "../../chunks/vendor-
|
|
2
|
+
import { c as f } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import { MobileView as n } from "../MobileView/MobileView.js";
|
|
4
4
|
import { TabsLineDesktop as b } from "./components/TabsLineDesktop.js";
|
|
5
5
|
import { TabsLineMobile as c } from "./components/TabsLineMobile.js";
|
|
6
|
-
import { s as d } from "../../chunks/TabsLine.module-
|
|
6
|
+
import { s as d } from "../../chunks/TabsLine.module-Cx0n_AdV.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -3,8 +3,8 @@ import { useState as D, useRef as T, useEffect as N } from "react";
|
|
|
3
3
|
import { TabsLineDropdown as S } from "./TabsLineDropdown.js";
|
|
4
4
|
import { TabsLineItem as k } from "./TabsLineItem.js";
|
|
5
5
|
import { isKey as u } from "../../../utils/keyboard.js";
|
|
6
|
-
import { l as L } from "../../../chunks/vendor-
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
6
|
+
import { l as L } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-Cx0n_AdV.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -3,12 +3,12 @@ var R = (c, i, e) => i in c ? N(c, i, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (c, i, e) => R(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsxs as w, jsx as a } from "react/jsx-runtime";
|
|
5
5
|
import m, { createElement as I } from "react";
|
|
6
|
-
import { a as T, c as h } from "../../../chunks/vendor-
|
|
6
|
+
import { a as T, c as h } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
7
7
|
import { Dropdown as v } from "../../Dropdown/Dropdown.js";
|
|
8
8
|
import { DropdownListContext as S } from "../../Dropdown/DropdownListContext.js";
|
|
9
9
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
10
10
|
import { DropdownList as D } from "../../Dropdown/desktop/DropdownList.js";
|
|
11
|
-
import "../../../chunks/DropdownListItem-
|
|
11
|
+
import "../../../chunks/DropdownListItem-SqymKZn5.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
13
13
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
14
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -23,7 +23,7 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
23
23
|
import { EComponentSize as k } from "../../../enums/EComponentSize.js";
|
|
24
24
|
import { CaretdownStrokeSrvIcon16 as b } from "@sberbusiness/icons-next";
|
|
25
25
|
import { isKey as p } from "../../../utils/keyboard.js";
|
|
26
|
-
import { s as t } from "../../../chunks/TabsLine.module-
|
|
26
|
+
import { s as t } from "../../../chunks/TabsLine.module-Cx0n_AdV.js";
|
|
27
27
|
import { createSizeToClassNameMap as O } from "../../../utils/classNameMaps.js";
|
|
28
28
|
const A = O(t);
|
|
29
29
|
class te extends m.PureComponent {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import c, { createElement as p } from "react";
|
|
3
|
-
import { c as l } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/TabsLine.module-
|
|
3
|
+
import { c as l } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s as a } from "../../../chunks/TabsLine.module-Cx0n_AdV.js";
|
|
5
5
|
import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { createSizeToClassNameMap as b } from "../../../utils/classNameMaps.js";
|
|
7
7
|
const N = b(a), T = c.forwardRef(
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { TabsLineItem as
|
|
3
|
-
const
|
|
4
|
-
tabsLineMobileWrapper:
|
|
5
|
-
tabsLineMobile:
|
|
6
|
-
}, h = ({ onChangeTab:
|
|
2
|
+
import { TabsLineItem as t } from "./TabsLineItem.js";
|
|
3
|
+
const p = "tabsLineMobileWrapper__f0119bcc", d = "tabsLineMobile__59aacb6a", a = {
|
|
4
|
+
tabsLineMobileWrapper: p,
|
|
5
|
+
tabsLineMobile: d
|
|
6
|
+
}, h = ({ onChangeTab: l, selectedId: r, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
10
|
-
const b = (
|
|
9
|
+
const o = ({ selected: L, ...e }) => {
|
|
10
|
+
const b = (c) => {
|
|
11
11
|
var s;
|
|
12
|
-
|
|
12
|
+
l(e.id), (s = e.onClick) == null || s.call(e, c);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
14
|
+
return /* @__PURE__ */ n(t, { selected: r === e.id, ...e, onClick: b }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className:
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: a.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: a.tabsLineMobile, children: i.map(o) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
h as TabsLineMobile
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
2
|
+
import E, { useCallback as S } from "react";
|
|
3
|
+
import { c as L } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as d, EditStrokeSrvIcon16 as v, CrossStrokeSrvIcon24 as y, CrossStrokeSrvIcon20 as z, CrossStrokeSrvIcon16 as G } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as _ } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as T } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
9
|
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "tag__4b5cf347", R = "sm__d069a64c", w = "md__60701e89", F = "lg__4e5014e2", P = "content__eb0bc0a0", l = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
13
|
md: w,
|
|
14
14
|
lg: F,
|
|
15
15
|
content: P
|
|
16
|
-
}, Y = j(
|
|
16
|
+
}, Y = j(l), q = {
|
|
17
17
|
[e.SM]: I.B4,
|
|
18
18
|
[e.MD]: I.B3,
|
|
19
19
|
[e.LG]: I.B2
|
|
20
|
-
}, q = {
|
|
21
|
-
[e.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
-
[e.MD]: /* @__PURE__ */ o(N, { paletteIndex: 5 }),
|
|
23
|
-
[e.LG]: /* @__PURE__ */ o(L, { paletteIndex: 5 })
|
|
24
20
|
}, H = {
|
|
21
|
+
[e.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
+
[e.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
23
|
+
[e.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
|
+
}, J = {
|
|
25
25
|
[e.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
26
|
[e.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
27
|
[e.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
|
-
},
|
|
29
|
-
({ children:
|
|
28
|
+
}, b = E.forwardRef(
|
|
29
|
+
({ children: f, id: s, className: u, size: r, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...g }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? _.DISABLED : _.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(h, { className:
|
|
33
|
-
}, [
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: l.content, type: t, size: q[r], children: f });
|
|
33
|
+
}, [f, r, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
T,
|
|
@@ -40,7 +40,7 @@ const A = "tag__06467b45", R = "sm__f03df8ee", w = "md__5ef43c09", F = "lg__42b7
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children:
|
|
43
|
+
children: H[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
}, [s, r, n, M, c]), i = S(() => {
|
|
@@ -53,11 +53,11 @@ const A = "tag__06467b45", R = "sm__f03df8ee", w = "md__5ef43c09", F = "lg__42b7
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children:
|
|
56
|
+
children: J[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}, [s, r, n, x, a]);
|
|
60
|
-
return /* @__PURE__ */ D("span", { className:
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(l.tag, Y[r], u), ...g, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -65,6 +65,6 @@ const A = "tag__06467b45", R = "sm__f03df8ee", w = "md__5ef43c09", F = "lg__42b7
|
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
b as Tag
|
|
69
69
|
};
|
|
70
70
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c as p } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
|
+
const l = "tagGroup__67c3d0e5", _ = "sm__ccaff2b4", g = "md__22709cfe", d = "lg__27f27b49", o = {
|
|
6
6
|
tagGroup: l,
|
|
7
7
|
sm: _,
|
|
8
8
|
md: g,
|
|
9
|
-
lg:
|
|
10
|
-
}, i =
|
|
11
|
-
({ children: s, className:
|
|
9
|
+
lg: d
|
|
10
|
+
}, i = f(o), N = e.forwardRef(
|
|
11
|
+
({ children: s, className: t, size: a, ...r }, m) => /* @__PURE__ */ c(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className: p(o.tagGroup, i[
|
|
14
|
+
className: p(o.tagGroup, i[a], t),
|
|
15
15
|
role: "group",
|
|
16
16
|
...r,
|
|
17
17
|
ref: m,
|
|
@@ -20,6 +20,6 @@ const l = "tagGroup__ad77b254", _ = "sm__7f6a711d", g = "md__92dc13bd", f = "lg_
|
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
N as TagGroup
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=TagGroup.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { F as r } from "../../chunks/FormFieldInput-
|
|
2
|
+
import { F as r } from "../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
3
3
|
import { TextFieldBase as t } from "./TextFieldBase.js";
|
|
4
4
|
const m = ({ inputProps: i, ...o }) => /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ e(r, { ...i }) });
|
|
5
5
|
m.displayName = "TextField";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { TextFieldBase as i } from "../TextField/TextFieldBase.js";
|
|
3
|
+
import "../FormField/FormFieldContext.js";
|
|
4
|
+
import "../FormField/components/FormFieldDescription.js";
|
|
5
|
+
import "../FormField/components/FormFieldCounter.js";
|
|
6
|
+
import "../FormField/components/FormFieldLabel.js";
|
|
7
|
+
import "../FormField/components/FormFieldClear.js";
|
|
8
|
+
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
+
import "../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
10
|
+
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
|
+
import "../FormField/components/FormFieldPostfix.js";
|
|
12
|
+
import "../FormField/components/FormFieldPrefix.js";
|
|
13
|
+
import { FormFieldTextarea as m } from "../FormField/components/FormFieldTextarea.js";
|
|
14
|
+
const j = ({ textareaProps: o, ...t }) => /* @__PURE__ */ r(i, { ...t, children: /* @__PURE__ */ r(m, { ...o }) });
|
|
15
|
+
export {
|
|
16
|
+
j as TextareaField
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=TextareaField.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
2
|
+
import { useState as x, useEffect as i } from "react";
|
|
3
|
+
import { w as c, x as d, y as f } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { DesignTokenUtils as S } from "../DesignTokens/DesignTokenUtils.js";
|
|
5
5
|
import { ThemeProviderView as h } from "./components/ThemeProviderView.js";
|
|
6
6
|
import { ETriplexNextTheme as u } from "./ETriplexNextTheme.js";
|
|
7
|
-
const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`,
|
|
7
|
+
const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, g = ({
|
|
8
8
|
children: t,
|
|
9
9
|
scopeClassName: o,
|
|
10
10
|
scopeRef: n,
|
|
11
11
|
theme: r = u.LIGHT,
|
|
12
12
|
tokens: s
|
|
13
13
|
}) => {
|
|
14
|
-
const [e, a] =
|
|
14
|
+
const [e, a] = x(o || m("triplex-next-theme-"));
|
|
15
15
|
return i(() => {
|
|
16
16
|
a(o || m("triplex-next-theme-"));
|
|
17
17
|
}, [o]), i(() => {
|
|
18
|
-
if (
|
|
18
|
+
if (c()) {
|
|
19
19
|
const p = `.${e} {${S.getStyle(r, s || {})}}`;
|
|
20
20
|
d(p, `triplex-next-dynamic-tokens-${e}`);
|
|
21
21
|
} else
|
|
@@ -23,6 +23,6 @@ const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, w = ({
|
|
|
23
23
|
}, [e, r, s]), i(() => () => f(`triplex-next-dynamic-tokens-${e}`), [e]), /* @__PURE__ */ l(h, { scopeClassName: e, scopeRef: n, theme: r, tokens: s, children: t });
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
g as ThemeProvider
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -6,8 +6,8 @@ import { DesignTokensCore as D } from "../../DesignTokens/DesignTokensCore.js";
|
|
|
6
6
|
import { DesignTokensCoreThemeDark as d } from "../../DesignTokens/DesignTokensCoreThemeDark.js";
|
|
7
7
|
import { DesignTokensComponents as v } from "../../DesignTokens/DesignTokensComponents.js";
|
|
8
8
|
import { DesignTokensComponentsThemeDark as x } from "../../DesignTokens/DesignTokensComponentsThemeDark.js";
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
9
|
+
import { j as g } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
10
|
+
const H = ({
|
|
11
11
|
children: s,
|
|
12
12
|
scopeClassName: r,
|
|
13
13
|
scopeRef: t,
|
|
@@ -31,6 +31,6 @@ const I = ({
|
|
|
31
31
|
return /* @__PURE__ */ p(c.Provider, { value: { scopeClassName: r, theme: e, tokens: T }, children: s });
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
H as ThemeProviderView
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=ThemeProviderView.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
5
|
import { Text as l } from "../../../Typography/Text.js";
|
|
6
6
|
import { ELineType as p, ETextSize as c } from "../../../Typography/enums.js";
|
|
7
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
7
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-DK06gaHe.js";
|
|
8
8
|
const d = r.forwardRef(({ className: m, ...i }, t) => {
|
|
9
9
|
const e = s(f.tooltipBody, m);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: e, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: e, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__87e10c01", r = "desktop__dd678358", m = "mobile__6a556b09", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
8
|
mobile: m
|
|
9
|
-
},
|
|
9
|
+
}, d = n.forwardRef(
|
|
10
10
|
({ children: i, className: e, ...l }, p) => /* @__PURE__ */ t(a, { fallback: /* @__PURE__ */ t(
|
|
11
11
|
"a",
|
|
12
12
|
{
|
|
13
13
|
className: s(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...l,
|
|
15
|
-
"data-tx": "1.
|
|
15
|
+
"data-tx": "1.5.0",
|
|
16
16
|
ref: p,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,14 +21,14 @@ const k = "tooltipLink__735e5564", r = "desktop__e059b62c", m = "mobile__892e636
|
|
|
21
21
|
{
|
|
22
22
|
className: s(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...l,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.5.0",
|
|
25
25
|
ref: p,
|
|
26
26
|
children: i
|
|
27
27
|
}
|
|
28
28
|
) })
|
|
29
29
|
);
|
|
30
|
-
|
|
30
|
+
d.displayName = "TooltipLink";
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
d as TooltipLink
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=TooltipLink.js.map
|
|
@@ -3,7 +3,7 @@ import { useContext as p } from "react";
|
|
|
3
3
|
import { CrossStrokeSrvIcon16 as n } from "@sberbusiness/icons-next";
|
|
4
4
|
import { TooltipContext as i } from "../../TootlipContext.js";
|
|
5
5
|
import { ButtonIcon as l } from "../../../Button/ButtonIcon.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/TooltipDesktop.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/TooltipDesktop.module-DK06gaHe.js";
|
|
7
7
|
const I = ({ onClick: t, ...r }) => {
|
|
8
8
|
const { setTooltipOpen: e } = p(i), s = (m) => {
|
|
9
9
|
e(!1), t == null || t(m);
|