@sberbusiness/triplex-next 0.23.0 → 0.25.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 -2
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +41 -0
- package/chunks/CalendarViewItem-CQErGrhc.js +101 -0
- package/chunks/Card.module-Ce9rAKOc.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +15 -0
- package/chunks/Chip-BEnNi0nL.js +77 -0
- package/chunks/Confirm.module-CbAi5bkG.js +15 -0
- package/chunks/{DropdownListItem-C4JE2xV7.js → DropdownListItem-wT8cLRdZ.js} +14 -14
- package/chunks/DropdownMobile.module-rYB54yd0.js +23 -0
- package/chunks/Footer.module-CzJ_N1fs.js +9 -0
- package/chunks/{FormFieldInput-Dr_WBweC.js → FormFieldInput-Dj2JAqj2.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +9 -0
- package/chunks/HeaderTabs.module-CjapozXy.js +9 -0
- package/chunks/{HeaderTitle.module-D5yAgpuv.js → HeaderTitle.module-SmVWml2y.js} +2 -2
- package/chunks/IslandAccordion.module-YvqRlzmi.js +25 -0
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +9 -0
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +12 -0
- package/chunks/LightBoxContent-DlDaCKV4.js +63 -0
- package/chunks/LightBoxControls.module-laAGRPrR.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +9 -0
- package/chunks/ListItemControlsButton-UKjqQcv7.js +59 -0
- package/chunks/ListItemTail.module-igeWTjyg.js +12 -0
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +10 -0
- package/chunks/ModalWindow.module-Cpk4uhwk.js +17 -0
- package/chunks/Notification.module-9japFkgv.js +20 -0
- package/chunks/Overlay.module-B3Az7dZS.js +18 -0
- package/chunks/Page.module-DOHwIYM4.js +11 -0
- package/chunks/{RightBorderArrow-CGThEmc4.js → RightBorderArrow-C6j8565V.js} +9 -9
- package/chunks/SMSField.module-BOpUjsSJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +15 -0
- package/chunks/{SliderExtendedRail-C51TfjHY.js → SliderExtendedRail-jfLPbgEp.js} +10 -10
- package/chunks/StatusTracker.module-OAxbFucN.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-8Km5bFV3.js → SuggestFieldMobileDropdownHint-CCyHjS-V.js} +6 -5
- package/chunks/TableFooter.module-CGWCS8e3.js +14 -0
- package/chunks/TabsExtended.module-BJOWXSHt.js +16 -0
- package/chunks/TabsLine.module-BsiLhw0I.js +21 -0
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +19 -0
- package/chunks/TreeView.module-C2WPNvMq.js +9 -0
- package/chunks/{UploadZoneInput-onwF8t4d.js → UploadZoneInput-DYiPRAAI.js} +7 -7
- package/chunks/{constants-CUVfo8-z.js → constants-Ctks52i0.js} +12 -12
- package/chunks/utils-Bz5uKYQD.js +24 -0
- package/chunks/{utils-By-UAq7Y.js → utils-C6a9XDaC.js} +4 -4
- package/chunks/{utils-DxMHp1hh.js → utils-CrkRbGiM.js} +4 -4
- package/chunks/utils-QVs0E_e3.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +28 -28
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -90
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +4 -4
- package/components/Checkbox/Checkbox.js +38 -36
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +8 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +147 -147
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentSubTitle.js +4 -3
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +6 -6
- package/components/DateRange/DateRange.js +4 -4
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +73 -66
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/enums.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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +25 -25
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +1 -1
- package/components/FormField/components/FormFieldTextarea.js +13 -13
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +9 -7
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +29 -28
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +44 -41
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +46 -45
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- 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 +19 -14
- package/components/OrderedList/OrderedListItem.js +10 -9
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +14 -14
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +10 -9
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -2
- package/components/Pagination/components/PaginationSelect.js +5 -4
- package/components/Radio/Radio.js +11 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +37 -42
- package/components/SelectExtendedField/SelectExtendedField.js +51 -42
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +4 -3
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +4 -3
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -7
- package/components/Step/Step.js +11 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +63 -65
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -11
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +10 -10
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +50 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +17 -17
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +12 -12
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +5 -4
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +20 -19
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +21 -21
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +6 -6
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +28 -0
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +27 -27
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +7 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +591 -579
- package/index.d.ts +98 -23
- package/index.js +639 -627
- package/package.json +9 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +0 -39
- package/chunks/CalendarViewItem-DKS15EZ4.js +0 -101
- package/chunks/Card.module-BmZKmkeY.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +0 -15
- package/chunks/Chip-D5zfQfAA.js +0 -104
- package/chunks/Confirm.module-CtbiIzcl.js +0 -15
- package/chunks/DropdownMobile.module-BgSbdJtS.js +0 -23
- package/chunks/Footer.module-B469C_XO.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +0 -9
- package/chunks/HeaderTabs.module-4iOT34Zp.js +0 -9
- package/chunks/IslandAccordion.module-mdAdZwJL.js +0 -25
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +0 -9
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +0 -12
- package/chunks/LightBoxContent-Lme9r-vN.js +0 -56
- package/chunks/LightBoxControls.module-qhDcQmnH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +0 -9
- package/chunks/ListItemControlsButton-BLbj6vZS.js +0 -51
- package/chunks/ListItemTail.module-BAmXXpc5.js +0 -12
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +0 -10
- package/chunks/ModalWindow.module-Ciwlg3WX.js +0 -17
- package/chunks/Notification.module-CjpGpuL7.js +0 -20
- package/chunks/Overlay.module-DPHcy5Kd.js +0 -18
- package/chunks/Page.module-98SUxLiM.js +0 -11
- package/chunks/SMSField.module-k0lfRov5.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +0 -15
- package/chunks/StatusTracker.module-BmBKiCLR.js +0 -24
- package/chunks/TableFooter.module-D0rUmZhB.js +0 -14
- package/chunks/TabsExtended.module-D5-U63Qf.js +0 -16
- package/chunks/TabsLine.module-DXlTUTm_.js +0 -21
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +0 -19
- package/chunks/TreeView.module-DAOSEOZO.js +0 -9
- package/chunks/utils-CyxIcdb6.js +0 -73
- package/chunks/utils-SSwzNA1R.js +0 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { c } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const B = "
|
|
4
|
+
const B = "tableBasicSettingsBody__caa67e05", l = {
|
|
5
5
|
tableBasicSettingsBody: B
|
|
6
6
|
}, d = o.forwardRef(
|
|
7
7
|
({ children: t, className: s, ...a }, e) => /* @__PURE__ */ i("div", { className: c(l.tableBasicSettingsBody, s), ref: e, ...a, children: t })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { c as r } from "../../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
const c = "
|
|
4
|
+
const c = "tableBasicSettingsFooter__e0cb8ee5", l = {
|
|
5
5
|
tableBasicSettingsFooter: c
|
|
6
6
|
}, n = i.forwardRef(
|
|
7
7
|
({ children: t, className: e, ...o }, s) => /* @__PURE__ */ a("div", { className: r(l.tableBasicSettingsFooter, e), ref: s, ...o, children: t })
|
|
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as i } from "../../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { Text as r } from "../../../Typography/Text.js";
|
|
4
4
|
import { EFontWeightText as o, ETextSize as c } from "../../../Typography/enums.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "tableBasicSettingsHeader__0a4d8a88", m = {
|
|
6
6
|
tableBasicSettingsHeader: l
|
|
7
7
|
}, n = ({
|
|
8
8
|
children: e,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as r } from "../../../chunks/TableFooter.module-
|
|
3
|
+
import { s as r } from "../../../chunks/TableFooter.module-CGWCS8e3.js";
|
|
4
4
|
import { FooterDescription as l } from "../../Footer/components/FooterDescription.js";
|
|
5
5
|
import { FooterDescriptionControls as p } from "../../Footer/components/FooterDescriptionControls.js";
|
|
6
6
|
import { TableFooterSummary as c } from "./components/TableFooterSummary.js";
|
|
@@ -3,7 +3,7 @@ import { FooterDescription as r } from "../../../Footer/components/FooterDescrip
|
|
|
3
3
|
import { TableFooterSummaryAmount as m } from "./TableFooterSummaryAmount.js";
|
|
4
4
|
import { TableFooterSummarySelectedCount as a } from "./TableFooterSummarySelectedCount.js";
|
|
5
5
|
import { TableFooterSummarySelectAllButton as l } from "./TableFooterSummarySelectAllButton.js";
|
|
6
|
-
import { s as n } from "../../../../chunks/TableFooter.module-
|
|
6
|
+
import { s as n } from "../../../../chunks/TableFooter.module-CGWCS8e3.js";
|
|
7
7
|
const y = Object.assign(
|
|
8
8
|
({ children: t, ...e }) => /* @__PURE__ */ o(r.Content, { ...e, children: /* @__PURE__ */ o("div", { className: n.tableFooterSummary, children: t }) }),
|
|
9
9
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as m } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as m } from "../../../../chunks/TableFooter.module-CGWCS8e3.js";
|
|
3
3
|
import { Amount as s } from "../../../Amount/Amount.js";
|
|
4
4
|
import { Text as l } from "../../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as i } from "../../../Typography/enums.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as a } from "../../../../chunks/TableFooter.module-
|
|
2
|
+
import { s as a } from "../../../../chunks/TableFooter.module-CGWCS8e3.js";
|
|
3
3
|
import { ETextSize as s } from "../../../Typography/enums.js";
|
|
4
4
|
import { Link as i } from "../../../Link/Link.js";
|
|
5
5
|
import { Text as p } from "../../../Typography/Text.js";
|
|
@@ -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-CGWCS8e3.js";
|
|
3
3
|
const a = ({ children: e }) => /* @__PURE__ */ o("span", { className: t.tableFooterSummarySelectedCount, children: e });
|
|
4
4
|
a.displayName = "TableFooterSummarySelectedCount";
|
|
5
5
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { TabsLinePanelLinks as l } from "./TabsLinePanelLinks.js";
|
|
4
|
-
const
|
|
5
|
-
tabsLinePanel:
|
|
6
|
-
}, s = ({ children: a, className:
|
|
4
|
+
const b = "tabsLinePanel__dcb688bb", o = {
|
|
5
|
+
tabsLinePanel: b
|
|
6
|
+
}, s = ({ children: a, className: n, ...e }) => /* @__PURE__ */ i("div", { className: t(o.tabsLinePanel, n), ...e, children: a });
|
|
7
7
|
s.Links = l;
|
|
8
8
|
s.displayName = "TabsLinePanel";
|
|
9
9
|
export {
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { Text as a } from "../Typography/Text.js";
|
|
4
4
|
import { EFontWeightText as o, ETextSize as L } from "../Typography/enums.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "tabsLinePanelLinks__5f99414e", m = {
|
|
6
6
|
tabsLinePanelLinks: l
|
|
7
7
|
}, r = ({
|
|
8
8
|
children: e,
|
package/components/Tabs/Tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useRef as D } from "react";
|
|
3
|
-
import { TabsExtended as
|
|
3
|
+
import { TabsExtended as a } from "../TabsExtended/TabsExtended.js";
|
|
4
4
|
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
5
|
import { c as W } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import "../TabsExtended/TabsExtendedContext.js";
|
|
@@ -15,63 +15,63 @@ 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 = "tabsContent__08ac5b57", G = "tabButtonDropdown__22401d00", H = "sm__4083bfde", L = "md__158dfa13", M = "lg__44f6a6e1", p = {
|
|
19
19
|
tabsContent: k,
|
|
20
20
|
tabButtonDropdown: G,
|
|
21
21
|
sm: H,
|
|
22
22
|
md: L,
|
|
23
23
|
lg: M
|
|
24
|
-
},
|
|
24
|
+
}, ao = ({
|
|
25
25
|
buttonDropdownAttributes: C,
|
|
26
26
|
selectedId: i,
|
|
27
27
|
onSelectTab: h,
|
|
28
|
-
size:
|
|
28
|
+
size: c = K.MD,
|
|
29
29
|
tabs: t,
|
|
30
30
|
...v
|
|
31
31
|
}) => {
|
|
32
|
-
const [w,
|
|
32
|
+
const [w, d] = l(i || t[0].id), [R, A] = l(""), [F, I] = l(""), m = D(null), f = D(null), S = ({ dropdownItemsIds: n, onSelectTab: o }) => t.filter((e) => n.includes(e.id)).map((e) => ({ ...e, onSelect: () => o(e.id) })), B = (n, o) => /* @__PURE__ */ s(a.Content.Tab, { ...n, children: ({ selected: e, isFirstInlineTab: N, isLastInlineTab: g }) => {
|
|
33
33
|
const E = w === n.id ? 0 : -1, O = () => {
|
|
34
34
|
let r;
|
|
35
|
-
return R === n.id ? r =
|
|
35
|
+
return R === n.id ? r = m : F === n.id && (r = f), r;
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ s(
|
|
38
|
-
|
|
38
|
+
a.Content.TabButton,
|
|
39
39
|
{
|
|
40
40
|
selected: e,
|
|
41
41
|
tabIndex: E,
|
|
42
42
|
ref: O(),
|
|
43
|
-
size:
|
|
43
|
+
size: c,
|
|
44
44
|
showNotificationIcon: n.showNotificationIcon,
|
|
45
45
|
onFocus: () => {
|
|
46
46
|
A(t[o - 1] ? t[o - 1].id : ""), I(t[o + 1] ? t[o + 1].id : "");
|
|
47
47
|
},
|
|
48
48
|
onKeyDown: (r) => {
|
|
49
|
-
var
|
|
50
|
-
const { key:
|
|
51
|
-
_(
|
|
49
|
+
var b, T;
|
|
50
|
+
const { key: u } = r;
|
|
51
|
+
_(u, "ARROW_LEFT") ? (N || (d(t[o - 1].id), (b = m.current) == null || b.focus()), r.preventDefault()) : _(u, "ARROW_RIGHT") && (g || (d(t[o + 1].id), (T = f.current) == null || T.focus()), r.preventDefault());
|
|
52
52
|
},
|
|
53
53
|
children: n.label
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
} }, o);
|
|
57
|
-
return /* @__PURE__ */ s(
|
|
58
|
-
/* @__PURE__ */ s(
|
|
59
|
-
/* @__PURE__ */ s(
|
|
57
|
+
return /* @__PURE__ */ s(a, { ...v, selectedId: i, onSelectTab: h, children: /* @__PURE__ */ y(a.Content, { className: p.tabsContent, size: c, children: [
|
|
58
|
+
/* @__PURE__ */ s(a.Content.TabsWrapper, { children: t.map(B) }),
|
|
59
|
+
/* @__PURE__ */ s(a.Content.DropdownWrapper, { children: ({ dropdownItemsIds: n, onSelectTab: o }) => /* @__PURE__ */ s(
|
|
60
60
|
x,
|
|
61
61
|
{
|
|
62
62
|
theme: j.DOTS_SECONDARY,
|
|
63
|
-
size:
|
|
63
|
+
size: c,
|
|
64
64
|
options: S({ dropdownItemsIds: n, onSelectTab: o }),
|
|
65
65
|
selected: t.filter((e) => e.id === i)[0],
|
|
66
66
|
buttonAttributes: {
|
|
67
67
|
...C,
|
|
68
|
-
className: W(p.tabButtonDropdown, p[
|
|
68
|
+
className: W(p.tabButtonDropdown, p[c])
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
) })
|
|
72
72
|
] }) });
|
|
73
73
|
};
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
ao as Tabs
|
|
76
76
|
};
|
|
77
77
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -3,9 +3,9 @@ import { useState as r, useRef as c } from "react";
|
|
|
3
3
|
import { c as x } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { TabsExtendedContext as b } from "./TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
-
import { s as _ } from "../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as _ } from "../../chunks/TabsExtended.module-BJOWXSHt.js";
|
|
7
7
|
import { ETabsExtendedType as S } from "./enums.js";
|
|
8
|
-
import { T as u } from "../../chunks/utils-
|
|
8
|
+
import { T as u } from "../../chunks/utils-CrkRbGiM.js";
|
|
9
9
|
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
10
|
import "./components/TabsExtendedTab.js";
|
|
11
11
|
import "./components/TabsExtendedTabButton.js";
|
|
@@ -5,7 +5,7 @@ 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-BJOWXSHt.js";
|
|
9
9
|
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
10
|
import "./TabsExtendedTabContext.js";
|
|
11
11
|
const x = f(r), o = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module-BJOWXSHt.js";
|
|
4
4
|
import { c as a } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as o } from "react";
|
|
3
|
-
import { s as r } from "../../../chunks/TabsExtended.module-
|
|
3
|
+
import { s as r } from "../../../chunks/TabsExtended.module-BJOWXSHt.js";
|
|
4
4
|
import { c as I } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { jsxs as x, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import b, { useContext as c } from "react";
|
|
3
3
|
import { c as f } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as t, T as _, a as r } from "../../../chunks/utils-
|
|
4
|
+
import { s as t, T as _, a as r } from "../../../chunks/utils-CrkRbGiM.js";
|
|
5
5
|
import { TabsExtendedContext as l } from "../TabsExtendedContext.js";
|
|
6
6
|
import { EFontType as u } from "../../Typography/enums.js";
|
|
7
7
|
import "../../Typography/Caption.js";
|
|
8
|
+
import "../../Typography/CodeText.js";
|
|
8
9
|
import { Text as m } from "../../Typography/Text.js";
|
|
9
10
|
import "../../Typography/Title.js";
|
|
10
11
|
import { Badge as N } from "../../Badge/Badge.js";
|
|
11
12
|
import { EComponentSize as B } from "../../../enums/EComponentSize.js";
|
|
12
13
|
const D = b.forwardRef(
|
|
13
14
|
({ children: a, className: n, selected: s, size: o = B.MD, showNotificationIcon: T, ...E }, p) => {
|
|
14
|
-
const { type:
|
|
15
|
+
const { type: i } = c(l), d = f(
|
|
15
16
|
t.tabsExtendedTabButton,
|
|
16
17
|
t[o],
|
|
17
|
-
_[
|
|
18
|
+
_[i],
|
|
18
19
|
{ [t.selected]: !!s },
|
|
19
20
|
n
|
|
20
21
|
);
|
|
21
|
-
return /* @__PURE__ */ x("button", { type: "button", className:
|
|
22
|
+
return /* @__PURE__ */ x("button", { type: "button", className: d, role: "tab", "aria-selected": s, ref: p, ...E, children: [
|
|
22
23
|
/* @__PURE__ */ e(
|
|
23
24
|
m,
|
|
24
25
|
{
|
|
@@ -3,7 +3,7 @@ import a, { useContext as A, useState as D, useRef as g, useLayoutEffect as R, i
|
|
|
3
3
|
import { g as F, c as N, h as z } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { TabsExtendedContext as j } from "../TabsExtendedContext.js";
|
|
5
5
|
import { TabsExtendedTabContext as P } from "./TabsExtendedTabContext.js";
|
|
6
|
-
import { s as l } from "../../../chunks/TabsExtended.module-
|
|
6
|
+
import { s as l } from "../../../chunks/TabsExtended.module-BJOWXSHt.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 o, T as r } from "../../chunks/utils-
|
|
3
|
+
import { a as o, T as r } from "../../chunks/utils-CrkRbGiM.js";
|
|
4
4
|
import "../Typography/enums.js";
|
|
5
5
|
export {
|
|
6
6
|
o as TABS_EXTENDED_SIZE_TO_TEXT_SIZE_MAP,
|
|
@@ -3,7 +3,7 @@ import { c as b } from "../../chunks/vendor---Om3uMV.js";
|
|
|
3
3
|
import { MobileView as c } from "../MobileView/MobileView.js";
|
|
4
4
|
import { TabsLineDesktop as d } from "./components/TabsLineDesktop.js";
|
|
5
5
|
import { TabsLineMobile as x } from "./components/TabsLineMobile.js";
|
|
6
|
-
import { s as m } from "../../chunks/TabsLine.module-
|
|
6
|
+
import { s as m } from "../../chunks/TabsLine.module-BsiLhw0I.js";
|
|
7
7
|
import "./components/TabsLineDropdown.js";
|
|
8
8
|
import "./components/TabsLineItem.js";
|
|
9
9
|
const v = ({
|
|
@@ -4,7 +4,7 @@ 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
6
|
import { l as L } from "../../../chunks/vendor---Om3uMV.js";
|
|
7
|
-
import { s as J } from "../../../chunks/TabsLine.module-
|
|
7
|
+
import { s as J } from "../../../chunks/TabsLine.module-BsiLhw0I.js";
|
|
8
8
|
const $ = ({
|
|
9
9
|
tabs: l,
|
|
10
10
|
dropdownTargetHtmlAttributes: g,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as A, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as m, useRef as h, useEffect as j, createElement as z } from "react";
|
|
3
3
|
import { u as H, c as w } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { DropdownListContext as Y } from "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import { DropdownList as S } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
7
|
+
import "../../../chunks/DropdownListItem-wT8cLRdZ.js";
|
|
8
8
|
import { EDropdownWidth as q } from "../../Dropdown/desktop/enums.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -20,26 +20,27 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
20
20
|
import { EComponentSize as G } from "../../../enums/EComponentSize.js";
|
|
21
21
|
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
22
22
|
import { CaretdownStrokeSrvIcon16 as Z } from "@sberbusiness/icons-next";
|
|
23
|
-
import { isKey as
|
|
24
|
-
import { s as t } from "../../../chunks/TabsLine.module-
|
|
23
|
+
import { isKey as p } from "../../../utils/keyboard.js";
|
|
24
|
+
import { s as t } from "../../../chunks/TabsLine.module-BsiLhw0I.js";
|
|
25
25
|
import { createSizeToClassNameMap as J } from "../../../utils/classNameMaps.js";
|
|
26
26
|
import { EFontType as b } from "../../Typography/enums.js";
|
|
27
27
|
import "../../Typography/Caption.js";
|
|
28
|
+
import "../../Typography/CodeText.js";
|
|
28
29
|
import { Text as Q } from "../../Typography/Text.js";
|
|
29
30
|
import "../../Typography/Title.js";
|
|
30
31
|
import { tabsLineSizeToTextSizeMap as V } from "../utils.js";
|
|
31
|
-
const X = J(t),
|
|
32
|
+
const X = J(t), _e = ({
|
|
32
33
|
tabs: v,
|
|
33
34
|
active: T,
|
|
34
35
|
label: M,
|
|
35
36
|
onClickTab: R,
|
|
36
37
|
selected: g,
|
|
37
|
-
size:
|
|
38
|
+
size: c = G.MD,
|
|
38
39
|
targetHtmlAttributes: L,
|
|
39
40
|
...x
|
|
40
41
|
}) => {
|
|
41
|
-
const [D, y] =
|
|
42
|
-
|
|
42
|
+
const [D, y] = m(void 0), [o, d] = m(!1), [O, N] = m(!1), [_, E] = m(!1), l = h(null), C = h(null), I = h(H());
|
|
43
|
+
j(() => {
|
|
43
44
|
if (!o)
|
|
44
45
|
return;
|
|
45
46
|
const e = (r) => {
|
|
@@ -53,13 +54,13 @@ const X = J(t), Oe = ({
|
|
|
53
54
|
const k = () => {
|
|
54
55
|
d(!o);
|
|
55
56
|
}, P = (e) => {
|
|
56
|
-
o || (
|
|
57
|
+
o || (p(e.code, "ARROW_UP") || p(e.code, "ARROW_DOWN")) && (e.preventDefault(), d(!0)), o && (p(e.code, "TAB") || p(e.code, "ESCAPE")) && d(!1);
|
|
57
58
|
}, F = (e) => {
|
|
58
59
|
R(e), d(!o);
|
|
59
60
|
}, W = () => {
|
|
60
|
-
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } = L || {}, f = w(t.tab, X[
|
|
61
|
+
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } = L || {}, f = w(t.tab, X[c], t.dropdownTarget, {
|
|
61
62
|
[t.active]: T
|
|
62
|
-
}),
|
|
63
|
+
}), K = w(t.dropdownTargetCaret, { [t.opened]: o });
|
|
63
64
|
return /* @__PURE__ */ a(
|
|
64
65
|
"button",
|
|
65
66
|
{
|
|
@@ -89,28 +90,28 @@ const X = J(t), Oe = ({
|
|
|
89
90
|
/* @__PURE__ */ a(
|
|
90
91
|
Q,
|
|
91
92
|
{
|
|
92
|
-
size: V[
|
|
93
|
+
size: V[c],
|
|
93
94
|
type: T || O || _ ? b.PRIMARY : b.SECONDARY,
|
|
94
95
|
children: M
|
|
95
96
|
}
|
|
96
97
|
),
|
|
97
|
-
/* @__PURE__ */ a(Z, { className:
|
|
98
|
+
/* @__PURE__ */ a(Z, { className: K, paletteIndex: 5 })
|
|
98
99
|
] }) })
|
|
99
100
|
}
|
|
100
101
|
);
|
|
101
|
-
},
|
|
102
|
+
}, B = () => /* @__PURE__ */ a(
|
|
102
103
|
U,
|
|
103
104
|
{
|
|
104
105
|
className: t.dropdown,
|
|
105
106
|
opened: o,
|
|
106
107
|
setOpened: d,
|
|
107
|
-
size:
|
|
108
|
+
size: c,
|
|
108
109
|
width: q.MIN_TARGET,
|
|
109
110
|
targetRef: l,
|
|
110
111
|
ref: C,
|
|
111
|
-
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(S, { dropdownOpened: o, id: I.current, children: v.map((e) => {
|
|
112
|
+
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(S, { dropdownOpened: o, id: I.current, size: c, children: v.map((e) => {
|
|
112
113
|
const { id: r, label: n, showNotificationIcon: s, ...u } = e, f = w(t.dropdownItem);
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
+
return /* @__PURE__ */ z(
|
|
114
115
|
S.Item,
|
|
115
116
|
{
|
|
116
117
|
...u,
|
|
@@ -130,10 +131,10 @@ const X = J(t), Oe = ({
|
|
|
130
131
|
);
|
|
131
132
|
return /* @__PURE__ */ A("div", { className: t.tabsLineDropdown, ref: l, ...x, children: [
|
|
132
133
|
W(),
|
|
133
|
-
|
|
134
|
+
B()
|
|
134
135
|
] });
|
|
135
136
|
};
|
|
136
137
|
export {
|
|
137
|
-
|
|
138
|
+
_e as TabsLineDropdown
|
|
138
139
|
};
|
|
139
140
|
//# sourceMappingURL=TabsLineDropdown.js.map
|
|
@@ -7,7 +7,7 @@ import { EComponentSize as f } from "../../../enums/EComponentSize.js";
|
|
|
7
7
|
import { Text as v } from "../../Typography/Text.js";
|
|
8
8
|
import { tabsLineSizeToTextSizeMap as x } from "../utils.js";
|
|
9
9
|
import { EFontType as c } from "../../Typography/enums.js";
|
|
10
|
-
import { s as e } from "../../../chunks/TabsLine.module-
|
|
10
|
+
import { s as e } from "../../../chunks/TabsLine.module-BsiLhw0I.js";
|
|
11
11
|
const L = N(e), R = y.forwardRef(
|
|
12
12
|
({
|
|
13
13
|
id: l,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { TabsLineItem as
|
|
3
|
-
const
|
|
4
|
-
tabsLineMobileWrapper:
|
|
5
|
-
tabsLineMobile:
|
|
2
|
+
import { TabsLineItem as t } from "./TabsLineItem.js";
|
|
3
|
+
const d = "tabsLineMobileWrapper__7cc43b53", p = "tabsLineMobile__43d1fb4d", l = {
|
|
4
|
+
tabsLineMobileWrapper: d,
|
|
5
|
+
tabsLineMobile: p
|
|
6
6
|
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const b = ({ selected: L, ...e }) => {
|
|
10
|
+
const a = (c) => {
|
|
11
11
|
var s;
|
|
12
|
-
r(e.id), (s = e.onClick) == null || s.call(e,
|
|
12
|
+
r(e.id), (s = e.onClick) == null || s.call(e, c);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(
|
|
14
|
+
return /* @__PURE__ */ n(t, { selected: o === e.id, ...e, onClick: a }, e.id);
|
|
15
15
|
};
|
|
16
|
-
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(
|
|
16
|
+
return /* @__PURE__ */ n("div", { className: l.tabsLineMobileWrapper, children: /* @__PURE__ */ n("div", { className: l.tabsLineMobile, children: i.map(b) }) });
|
|
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
2
|
import E, { useCallback as S } from "react";
|
|
3
3
|
import { c as L } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as
|
|
4
|
+
import { EditStrokeSrvIcon24 as N, EditStrokeSrvIcon20 as v, EditStrokeSrvIcon16 as y, CrossStrokeSrvIcon24 as z, CrossStrokeSrvIcon20 as G, CrossStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
5
5
|
import { Text as h } from "../Typography/Text.js";
|
|
6
6
|
import { ETextSize as I, EFontType as T } from "../Typography/enums.js";
|
|
7
7
|
import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
|
|
8
8
|
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
9
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "tag__75f65081", R = "sm__87f3f707", w = "md__980a3572", F = "lg__27b28292", P = "content__f6a8ecfd", f = {
|
|
11
11
|
tag: A,
|
|
12
12
|
sm: R,
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
content:
|
|
16
|
-
},
|
|
13
|
+
md: w,
|
|
14
|
+
lg: F,
|
|
15
|
+
content: P
|
|
16
|
+
}, Y = j(f), q = {
|
|
17
17
|
[r.SM]: I.B4,
|
|
18
18
|
[r.MD]: I.B3,
|
|
19
19
|
[r.LG]: I.B2
|
|
20
|
-
}, q = {
|
|
21
|
-
[r.SM]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
22
|
-
[r.MD]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
23
|
-
[r.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
20
|
}, H = {
|
|
25
|
-
[r.SM]: /* @__PURE__ */ o(
|
|
26
|
-
[r.MD]: /* @__PURE__ */ o(
|
|
27
|
-
[r.LG]: /* @__PURE__ */ o(
|
|
28
|
-
},
|
|
29
|
-
|
|
21
|
+
[r.SM]: /* @__PURE__ */ o(y, { paletteIndex: 5 }),
|
|
22
|
+
[r.MD]: /* @__PURE__ */ o(v, { paletteIndex: 5 }),
|
|
23
|
+
[r.LG]: /* @__PURE__ */ o(N, { paletteIndex: 5 })
|
|
24
|
+
}, J = {
|
|
25
|
+
[r.SM]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
26
|
+
[r.MD]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
27
|
+
[r.LG]: /* @__PURE__ */ o(z, { paletteIndex: 5 })
|
|
28
|
+
}, b = E.forwardRef(
|
|
29
|
+
({ children: l, id: s, className: g, size: e, disabled: n, onRemove: a, onEdit: c, removeButtonProps: x, editButtonProps: M, ...u }, C) => {
|
|
30
30
|
const k = S(() => {
|
|
31
31
|
const t = n ? T.DISABLED : T.PRIMARY;
|
|
32
|
-
return /* @__PURE__ */ o(h, { className:
|
|
33
|
-
}, [
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: f.content, type: t, size: q[e], children: l });
|
|
33
|
+
}, [l, e, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
_,
|
|
@@ -40,7 +40,7 @@ const A = "tag__3a77c379", R = "sm__a1fbbe83", b = "md__371b8df3", w = "lg__02cb
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children:
|
|
43
|
+
children: H[e]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
}, [s, e, n, M, c]), i = S(() => {
|
|
@@ -53,11 +53,11 @@ const A = "tag__3a77c379", R = "sm__a1fbbe83", b = "md__371b8df3", w = "lg__02cb
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children:
|
|
56
|
+
children: J[e]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
59
|
}, [s, e, n, x, a]);
|
|
60
|
-
return /* @__PURE__ */ D("span", { className: L(
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(f.tag, Y[e], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
63
|
i()
|
|
@@ -65,6 +65,6 @@ const A = "tag__3a77c379", R = "sm__a1fbbe83", b = "md__371b8df3", w = "lg__02cb
|
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
b as Tag
|
|
69
69
|
};
|
|
70
70
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { createSizeToClassNameMap as m } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const i = "
|
|
6
|
+
const i = "tagColor__53a54834", g = "sm__0537093c", C = "md__0af5bdaa", S = "lg__7dbabb9f", d = "success__43f6b27e", p = "info__a28c0685", A = "warning__51e0a5bf", T = "error__0f6b3751", N = "content__41e2ff99", o = {
|
|
7
7
|
tagColor: i,
|
|
8
|
-
sm:
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
12
|
-
success:
|
|
8
|
+
sm: g,
|
|
9
|
+
md: C,
|
|
10
|
+
lg: S,
|
|
11
|
+
default: "default__ab046242",
|
|
12
|
+
success: d,
|
|
13
13
|
info: p,
|
|
14
14
|
warning: A,
|
|
15
15
|
error: T,
|
|
16
16
|
content: N
|
|
17
|
-
},
|
|
17
|
+
}, b = m(o), u = {
|
|
18
18
|
[s.DEFAULT]: o.default,
|
|
19
19
|
[s.SUCCESS]: o.success,
|
|
20
20
|
[s.INFO]: o.info,
|
|
21
21
|
[s.WARNING]: o.warning,
|
|
22
22
|
[s.ERROR]: o.error
|
|
23
|
-
},
|
|
24
|
-
({ children:
|
|
23
|
+
}, E = f.forwardRef(
|
|
24
|
+
({ children: a, className: r, size: n, status: c = s.DEFAULT, ...e }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
27
|
+
className: l(o.tagColor, b[n], u[c], r),
|
|
28
28
|
...e,
|
|
29
29
|
ref: _,
|
|
30
|
-
children: /* @__PURE__ */ t("span", { className: o.content, children:
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: a })
|
|
31
31
|
}
|
|
32
32
|
)
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
E.displayName = "TagColor";
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
E as TagColor
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=TagColor.js.map
|