@sberbusiness/triplex-next 0.19.1 → 0.21.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 +61 -23
- package/chunks/{AlertProcessSpoiler-CApu9sgV.js → AlertProcessSpoiler-DxZ8QVn2.js} +11 -11
- package/chunks/{CalendarViewItem-CCClPe6W.js → CalendarViewItem-D879SDC1.js} +23 -23
- package/chunks/Card.module--O3Bx82B.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +15 -0
- package/chunks/{Chip-D-F5Ccch.js → Chip-M9mPbBOt.js} +9 -9
- package/chunks/Confirm.module-DtBiR4Fo.js +15 -0
- package/chunks/{DropdownListItem-B89w0ZP6.js → DropdownListItem-BdLTF7q1.js} +20 -20
- package/chunks/DropdownMobile.module-PpB3KA4H.js +23 -0
- package/chunks/Footer.module-Z4RIi8JP.js +9 -0
- package/chunks/FormFieldInput-C75omt8Y.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +9 -0
- package/chunks/HeaderTabs.module-ykRWLBUI.js +9 -0
- package/chunks/{HeaderTitle.module-F927IkdE.js → HeaderTitle.module-Cg-I_NJG.js} +2 -2
- package/chunks/IslandAccordion.module-DE-xutGt.js +25 -0
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +9 -0
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +12 -0
- package/chunks/LightBoxContent-BLPx_Tsf.js +56 -0
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +9 -0
- package/chunks/{ListItemControlsButton-CDm9UcL0.js → ListItemControlsButton-0bXNCLYU.js} +9 -9
- package/chunks/ListItemTail.module-DFYWneN6.js +12 -0
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +10 -0
- package/chunks/ModalWindow.module-DqMffIcE.js +17 -0
- package/chunks/Notification.module-CPSD8BYw.js +20 -0
- package/chunks/Overlay.module-B5Hl3baB.js +18 -0
- package/chunks/Page.module-BbrHHqMK.js +11 -0
- package/chunks/{RightBorderArrow-BUP-gfBp.js → RightBorderArrow-1OX8NAL9.js} +11 -11
- package/chunks/SMSField.module-CPSjUBD-.js +16 -0
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +15 -0
- package/chunks/SliderExtendedRail-C_1LnK7I.js +40 -0
- package/chunks/StatusTracker.module-KkpUE8KY.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B6hhbNqZ.js → SuggestFieldMobileDropdownHint-DNKfDfM3.js} +4 -4
- package/chunks/TableFooter.module-OEvn0oaX.js +14 -0
- package/chunks/TabsExtended.module-B3Ti-48x.js +16 -0
- package/chunks/TabsLine.module-BgCBcRYT.js +21 -0
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +19 -0
- package/chunks/TreeView.module-CmGHGs81.js +9 -0
- package/chunks/{UploadZoneInput-CCOpTzdI.js → UploadZoneInput-CIib3dEF.js} +3 -3
- package/chunks/{constants-BY0--v5J.js → constants-BamiEgAW.js} +7 -7
- package/chunks/{utils-CDZhfAbZ.js → utils-Bt-cuXIX.js} +6 -6
- package/chunks/utils-C5IWf42V.js +24 -0
- package/chunks/{utils-DN-l5mfA.js → utils-d7-rkiPs.js} +6 -6
- package/chunks/utils-hbQGLR7K.js +73 -0
- package/chunks/{vendor-DE8Zvm0w.js → vendor-DaOifQgP.js} +5330 -5331
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +17 -17
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +12 -12
- package/components/Badge/Badge.js +15 -15
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +15 -15
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +12 -12
- 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 +6 -6
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +18 -10
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +35 -28
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +24 -23
- package/components/Chip/ChipDropdownArrow.js +6 -6
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/Confirm/index.js +4 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensCore.js +8 -0
- package/components/DesignTokens/components/Pagination.js +2 -5
- package/components/DesignTokens/types/DesignTokensTypes.js +2 -0
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +19 -19
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +3 -3
- 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 +14 -21
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- package/components/Footer/Footer.js +1 -1
- 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 +61 -59
- package/components/FormField/FormFieldContext.js +4 -3
- package/components/FormField/components/FormFieldClear.js +2 -2
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +19 -19
- package/components/FormField/components/FormFieldMaskedInput.js +9 -9
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +31 -29
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- 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 +10 -10
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +7 -7
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +75 -69
- package/components/IslandWidget/IslandWidget.js +18 -18
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +22 -22
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +22 -22
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +24 -24
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +30 -30
- package/components/List/List.js +9 -9
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +15 -15
- 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 +10 -10
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +6 -6
- 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 +2 -2
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- 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 +12 -12
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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/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 +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +10 -10
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +24 -16
- package/components/Pagination/components/PaginationPageEllipsis.js +13 -9
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Portal/index.js +5 -0
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +71 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +29 -29
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +11 -11
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +20 -19
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +141 -137
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +59 -55
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +53 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +75 -67
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +13 -13
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +5 -5
- 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 +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- 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 +120 -156
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +33 -33
- package/components/TagColor/TagColor.js +21 -19
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- 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 +2 -2
- package/components/Tooltip/index.js +13 -5
- package/components/TopOverlay/TopOverlay.js +36 -36
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +15 -15
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +16 -16
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +574 -560
- package/generated/refTokenTypes.js +1 -1
- package/helpers/less/colors.less +2 -0
- package/index.d.ts +231 -68
- package/index.js +618 -604
- package/package.json +5 -1
- package/styles/triplex-next.css +547 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D48lssVF.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +0 -14
- package/chunks/Confirm.module-CvrGGvLz.js +0 -15
- package/chunks/DropdownMobile.module-CEbQqs2X.js +0 -23
- package/chunks/Footer.module-WHmnrQeq.js +0 -9
- package/chunks/FormFieldInput-CC-nRhb4.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +0 -9
- package/chunks/HeaderTabs.module-Nz927HlU.js +0 -9
- package/chunks/IslandAccordion.module-CFCDu7K5.js +0 -25
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +0 -9
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +0 -12
- package/chunks/LightBoxContent-CWI11Mkg.js +0 -56
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +0 -8
- package/chunks/ListItemTail.module-DZ2CIKA4.js +0 -12
- package/chunks/ListMasterFooter.module-DMTXvddx.js +0 -10
- package/chunks/ModalWindow.module-CmKHP-l0.js +0 -17
- package/chunks/Notification.module-CtiA4KeZ.js +0 -20
- package/chunks/Overlay.module-BKGmOe22.js +0 -18
- package/chunks/Page.module-BjtGL1n5.js +0 -11
- package/chunks/SMSField.module-BM5o6WPK.js +0 -16
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +0 -15
- package/chunks/SliderExtendedRail-BtDNU2QU.js +0 -40
- package/chunks/StatusTracker.module-jKCRT7JR.js +0 -24
- package/chunks/TableFooter.module-BIxc-uz_.js +0 -14
- package/chunks/TabsExtended.module-CWXgdzlB.js +0 -16
- package/chunks/TabsLine.module-BQ_DsA4u.js +0 -21
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +0 -19
- package/chunks/TreeView.module-DwpFo7Sm.js +0 -9
- package/chunks/utils-BD4-x_pW.js +0 -24
- package/chunks/utils-CIrM2Shg.js +0 -73
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import v, { createElement as O } from "react";
|
|
6
|
-
import { u as x, c as C } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
7
|
-
import { DropdownListContext as E } from "../../Dropdown/DropdownListContext.js";
|
|
1
|
+
import { jsxs as S, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useRef as h, useEffect as W, createElement as j } from "react";
|
|
3
|
+
import { u as H, c as w } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { DropdownListContext as Y } from "../../Dropdown/DropdownListContext.js";
|
|
8
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
9
|
-
import { DropdownList as
|
|
10
|
-
import "../../../chunks/DropdownListItem-
|
|
6
|
+
import { DropdownList as b } from "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
+
import "../../../chunks/DropdownListItem-BdLTF7q1.js";
|
|
11
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
12
9
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
13
10
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -19,155 +16,122 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
19
16
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
20
17
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
21
18
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
22
|
-
import { EComponentSize as
|
|
23
|
-
import { Dropdown as
|
|
24
|
-
import { CaretdownStrokeSrvIcon16 as
|
|
25
|
-
import { isKey as
|
|
26
|
-
import { s as
|
|
27
|
-
import { createSizeToClassNameMap as
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
t(this, "renderDropdown", () => {
|
|
94
|
-
const { selected: e, tabs: s } = this.props, { activeDescendant: i, opened: a } = this.state;
|
|
95
|
-
return /* @__PURE__ */ d(
|
|
96
|
-
y,
|
|
97
|
-
{
|
|
98
|
-
className: o.dropdown,
|
|
99
|
-
opened: a,
|
|
100
|
-
setOpened: this.setOpenedDropdown,
|
|
101
|
-
targetRef: this.targetRef,
|
|
102
|
-
ref: this.dropdownRef,
|
|
103
|
-
children: /* @__PURE__ */ d(
|
|
104
|
-
E.Provider,
|
|
19
|
+
import { EComponentSize as q } from "../../../enums/EComponentSize.js";
|
|
20
|
+
import { Dropdown as U } from "../../Dropdown/Dropdown.js";
|
|
21
|
+
import { CaretdownStrokeSrvIcon16 as Z } from "@sberbusiness/icons-next";
|
|
22
|
+
import { isKey as m } from "../../../utils/keyboard.js";
|
|
23
|
+
import { s as t } from "../../../chunks/TabsLine.module-BgCBcRYT.js";
|
|
24
|
+
import { createSizeToClassNameMap as G } from "../../../utils/classNameMaps.js";
|
|
25
|
+
import { EFontType as v } from "../../Typography/enums.js";
|
|
26
|
+
import "../../Typography/Caption.js";
|
|
27
|
+
import { Text as J } from "../../Typography/Text.js";
|
|
28
|
+
import "../../Typography/Title.js";
|
|
29
|
+
import { tabsLineSizeToTextSizeMap as Q } from "../utils.js";
|
|
30
|
+
const V = G(t), xe = ({
|
|
31
|
+
tabs: A,
|
|
32
|
+
active: T,
|
|
33
|
+
label: g,
|
|
34
|
+
onClickTab: L,
|
|
35
|
+
selected: M,
|
|
36
|
+
size: p = q.MD,
|
|
37
|
+
targetHtmlAttributes: R,
|
|
38
|
+
...x
|
|
39
|
+
}) => {
|
|
40
|
+
const [D, y] = d(void 0), [o, c] = d(!1), [O, N] = d(!1), [k, C] = d(!1), l = h(null), E = h(null), I = h(H());
|
|
41
|
+
W(() => {
|
|
42
|
+
if (!o)
|
|
43
|
+
return;
|
|
44
|
+
const e = (r) => {
|
|
45
|
+
var n, s;
|
|
46
|
+
!((n = l.current) != null && n.contains(r.target)) && !((s = E.current) != null && s.contains(r.target)) && c(!1);
|
|
47
|
+
};
|
|
48
|
+
return document.addEventListener("mouseup", e), () => {
|
|
49
|
+
document.removeEventListener("mouseup", e);
|
|
50
|
+
};
|
|
51
|
+
}, [o]);
|
|
52
|
+
const _ = () => {
|
|
53
|
+
c(!o);
|
|
54
|
+
}, P = (e) => {
|
|
55
|
+
o || (m(e.code, "ARROW_UP") || m(e.code, "ARROW_DOWN")) && (e.preventDefault(), c(!0)), o && (m(e.code, "TAB") || m(e.code, "ESCAPE")) && c(!1);
|
|
56
|
+
}, F = (e) => {
|
|
57
|
+
L(e), c(!o);
|
|
58
|
+
}, z = () => {
|
|
59
|
+
const { onFocus: e, onBlur: r, onMouseEnter: n, onMouseLeave: s, ...u } = R || {}, f = w(t.tab, V[p], t.dropdownTarget, {
|
|
60
|
+
[t.active]: T
|
|
61
|
+
}), K = w(t.dropdownTargetCaret, { [t.opened]: o });
|
|
62
|
+
return /* @__PURE__ */ a(
|
|
63
|
+
"button",
|
|
64
|
+
{
|
|
65
|
+
...u,
|
|
66
|
+
onFocus: (i) => {
|
|
67
|
+
N(!0), e == null || e(i);
|
|
68
|
+
},
|
|
69
|
+
onBlur: (i) => {
|
|
70
|
+
N(!1), r == null || r(i);
|
|
71
|
+
},
|
|
72
|
+
onMouseEnter: (i) => {
|
|
73
|
+
C(!0), n == null || n(i);
|
|
74
|
+
},
|
|
75
|
+
onMouseLeave: (i) => {
|
|
76
|
+
C(!1), s == null || s(i);
|
|
77
|
+
},
|
|
78
|
+
className: f,
|
|
79
|
+
onClick: _,
|
|
80
|
+
onKeyDown: P,
|
|
81
|
+
type: "button",
|
|
82
|
+
role: "tab",
|
|
83
|
+
"aria-haspopup": "menu",
|
|
84
|
+
"aria-expanded": o,
|
|
85
|
+
"aria-controls": I.current,
|
|
86
|
+
"aria-activedescendant": D,
|
|
87
|
+
children: /* @__PURE__ */ a("span", { className: t.tabInner, children: /* @__PURE__ */ S("span", { className: t.dropdownTargetInner, children: [
|
|
88
|
+
/* @__PURE__ */ a(
|
|
89
|
+
J,
|
|
105
90
|
{
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
return /* @__PURE__ */ O(
|
|
110
|
-
N.Item,
|
|
111
|
-
{
|
|
112
|
-
...m,
|
|
113
|
-
className: f,
|
|
114
|
-
id: n.id,
|
|
115
|
-
key: n.id,
|
|
116
|
-
onSelect: () => {
|
|
117
|
-
this.handleClickTab(n);
|
|
118
|
-
},
|
|
119
|
-
selected: n === e,
|
|
120
|
-
showNotificationIcon: n.showNotificationIcon
|
|
121
|
-
},
|
|
122
|
-
/* @__PURE__ */ d("span", { className: o.dropdownItemInner, children: n.label })
|
|
123
|
-
);
|
|
124
|
-
}) })
|
|
91
|
+
size: Q[p],
|
|
92
|
+
type: T || O || k ? v.PRIMARY : v.SECONDARY,
|
|
93
|
+
children: g
|
|
125
94
|
}
|
|
126
|
-
)
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
this.renderTarget(),
|
|
166
|
-
this.renderDropdown()
|
|
167
|
-
] });
|
|
168
|
-
}
|
|
169
|
-
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ a(Z, { className: K, paletteIndex: 5 })
|
|
97
|
+
] }) })
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
}, B = () => /* @__PURE__ */ a(
|
|
101
|
+
U,
|
|
102
|
+
{
|
|
103
|
+
className: t.dropdown,
|
|
104
|
+
opened: o,
|
|
105
|
+
setOpened: c,
|
|
106
|
+
size: p,
|
|
107
|
+
targetRef: l,
|
|
108
|
+
ref: E,
|
|
109
|
+
children: /* @__PURE__ */ a(Y.Provider, { value: { activeDescendant: D, setActiveDescendant: y }, children: /* @__PURE__ */ a(b, { dropdownOpened: o, id: I.current, children: A.map((e) => {
|
|
110
|
+
const { id: r, label: n, showNotificationIcon: s, ...u } = e, f = w(t.dropdownItem);
|
|
111
|
+
return /* @__PURE__ */ j(
|
|
112
|
+
b.Item,
|
|
113
|
+
{
|
|
114
|
+
...u,
|
|
115
|
+
className: f,
|
|
116
|
+
id: r,
|
|
117
|
+
key: r,
|
|
118
|
+
onSelect: () => {
|
|
119
|
+
F(e);
|
|
120
|
+
},
|
|
121
|
+
selected: e === M,
|
|
122
|
+
showNotificationIcon: s
|
|
123
|
+
},
|
|
124
|
+
/* @__PURE__ */ a("span", { className: t.dropdownItemInner, children: n })
|
|
125
|
+
);
|
|
126
|
+
}) }) })
|
|
127
|
+
}
|
|
128
|
+
);
|
|
129
|
+
return /* @__PURE__ */ S("div", { className: t.tabsLineDropdown, ref: l, ...x, children: [
|
|
130
|
+
z(),
|
|
131
|
+
B()
|
|
132
|
+
] });
|
|
133
|
+
};
|
|
170
134
|
export {
|
|
171
|
-
|
|
135
|
+
xe as TabsLineDropdown
|
|
172
136
|
};
|
|
173
137
|
//# sourceMappingURL=TabsLineDropdown.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import y, { useState as p, createElement as z } from "react";
|
|
3
|
-
import { c as E } from "../../../chunks/vendor-
|
|
3
|
+
import { c as E } from "../../../chunks/vendor-DaOifQgP.js";
|
|
4
4
|
import { createSizeToClassNameMap as N } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { Badge as S } from "../../Badge/Badge.js";
|
|
6
6
|
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-BgCBcRYT.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
2
|
import { TabsLineItem as c } from "./TabsLineItem.js";
|
|
3
|
-
const d = "
|
|
3
|
+
const d = "tabsLineMobileWrapper__6b8fe113", p = "tabsLineMobile__72d6e124", l = {
|
|
4
4
|
tabsLineMobileWrapper: d,
|
|
5
5
|
tabsLineMobile: p
|
|
6
|
-
}, h = ({ onChangeTab: r, selectedId:
|
|
6
|
+
}, h = ({ onChangeTab: r, selectedId: o, tabs: i }) => {
|
|
7
7
|
if (!i.length)
|
|
8
8
|
return null;
|
|
9
|
-
const
|
|
9
|
+
const a = ({ selected: L, ...e }) => {
|
|
10
10
|
const b = (t) => {
|
|
11
11
|
var s;
|
|
12
12
|
r(e.id), (s = e.onClick) == null || s.call(e, t);
|
|
13
13
|
};
|
|
14
|
-
return /* @__PURE__ */ n(c, { selected:
|
|
14
|
+
return /* @__PURE__ */ n(c, { selected: o === e.id, ...e, onClick: b }, 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(a) }) });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
h as TabsLineMobile
|
package/components/Tag/Tag.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { EditStrokeSrvIcon24 as
|
|
5
|
-
import { Text as
|
|
1
|
+
import { jsx as o, jsxs as D } from "react/jsx-runtime";
|
|
2
|
+
import E, { useCallback as S } from "react";
|
|
3
|
+
import { c as L } from "../../chunks/vendor-DaOifQgP.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
|
+
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
|
-
import { createSizeToClassNameMap as
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const
|
|
11
|
-
tag:
|
|
12
|
-
sm:
|
|
13
|
-
md:
|
|
14
|
-
lg:
|
|
15
|
-
content:
|
|
16
|
-
},
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
8
|
+
import { createSizeToClassNameMap as j } from "../../utils/classNameMaps.js";
|
|
9
|
+
import { EComponentSize as e } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "tag__66bdb8f1", R = "sm__c37f23e7", w = "md__4efae8bb", F = "lg__0adc7420", P = "content__f42115a8", f = {
|
|
11
|
+
tag: A,
|
|
12
|
+
sm: R,
|
|
13
|
+
md: w,
|
|
14
|
+
lg: F,
|
|
15
|
+
content: P
|
|
16
|
+
}, Y = j(f), b = {
|
|
17
|
+
[e.SM]: I.B4,
|
|
18
|
+
[e.MD]: I.B3,
|
|
19
|
+
[e.LG]: I.B2
|
|
20
20
|
}, q = {
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
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
24
|
}, H = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
}, $ =
|
|
29
|
-
({ children: l, id: s, className: g, size:
|
|
25
|
+
[e.SM]: /* @__PURE__ */ o(G, { paletteIndex: 5 }),
|
|
26
|
+
[e.MD]: /* @__PURE__ */ o(z, { paletteIndex: 5 }),
|
|
27
|
+
[e.LG]: /* @__PURE__ */ o(y, { paletteIndex: 5 })
|
|
28
|
+
}, $ = E.forwardRef(
|
|
29
|
+
({ children: l, id: s, className: g, size: r, 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(
|
|
33
|
-
}, [l,
|
|
32
|
+
return /* @__PURE__ */ o(h, { className: f.content, type: t, size: b[r], children: l });
|
|
33
|
+
}, [l, r, n]), B = S(() => {
|
|
34
34
|
const { onClick: t, ...m } = M || {};
|
|
35
35
|
return /* @__PURE__ */ o(
|
|
36
36
|
_,
|
|
@@ -40,10 +40,10 @@ const j = "tag__d65bfe3f", A = "sm__2a74bf7d", R = "md__69b3fd45", w = "lg__64ba
|
|
|
40
40
|
c == null || c(s), t == null || t(p);
|
|
41
41
|
},
|
|
42
42
|
...m,
|
|
43
|
-
children: q[
|
|
43
|
+
children: q[r]
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
|
-
}, [s,
|
|
46
|
+
}, [s, r, n, M, c]), i = S(() => {
|
|
47
47
|
const { onClick: t, ...m } = x || {};
|
|
48
48
|
return /* @__PURE__ */ o(
|
|
49
49
|
_,
|
|
@@ -53,14 +53,14 @@ const j = "tag__d65bfe3f", A = "sm__2a74bf7d", R = "md__69b3fd45", w = "lg__64ba
|
|
|
53
53
|
a == null || a(s), t == null || t(p);
|
|
54
54
|
},
|
|
55
55
|
...m,
|
|
56
|
-
children: H[
|
|
56
|
+
children: H[r]
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
}, [s,
|
|
60
|
-
return /* @__PURE__ */
|
|
59
|
+
}, [s, r, n, x, a]);
|
|
60
|
+
return /* @__PURE__ */ D("span", { className: L(f.tag, Y[r], g), ...u, ref: C, children: [
|
|
61
61
|
k(),
|
|
62
62
|
c && B(),
|
|
63
|
-
|
|
63
|
+
i()
|
|
64
64
|
] });
|
|
65
65
|
}
|
|
66
66
|
);
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
2
|
+
import l from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { ETagColorStatus as s } from "./enums.js";
|
|
6
|
-
const
|
|
7
|
-
tagColor:
|
|
6
|
+
const d = "tagColor__04aec91f", i = "sm__231b0073", g = "md__d68d11bf", C = "lg__3636a750", S = "success__397a8fb0", p = "info__e8dcb0e1", A = "warning__66466d3e", T = "error__da8d399d", N = "content__7e6f1607", o = {
|
|
7
|
+
tagColor: d,
|
|
8
8
|
sm: i,
|
|
9
|
-
md:
|
|
10
|
-
lg:
|
|
11
|
-
default: "
|
|
12
|
-
success:
|
|
13
|
-
info:
|
|
14
|
-
warning:
|
|
15
|
-
error:
|
|
16
|
-
content:
|
|
17
|
-
},
|
|
9
|
+
md: g,
|
|
10
|
+
lg: C,
|
|
11
|
+
default: "default__a3d106b3",
|
|
12
|
+
success: S,
|
|
13
|
+
info: p,
|
|
14
|
+
warning: A,
|
|
15
|
+
error: T,
|
|
16
|
+
content: N
|
|
17
|
+
}, u = f(o), E = {
|
|
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
|
+
}, R = l.forwardRef(
|
|
24
|
+
({ children: r, className: n, size: a, status: c = s.DEFAULT, ...e }, _) => /* @__PURE__ */ t(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
className: m(o.tagColor,
|
|
27
|
+
className: m(o.tagColor, u[a], E[c], n),
|
|
28
28
|
...e,
|
|
29
|
-
|
|
29
|
+
ref: _,
|
|
30
|
+
children: /* @__PURE__ */ t("span", { className: o.content, children: r })
|
|
30
31
|
}
|
|
31
32
|
)
|
|
32
33
|
);
|
|
34
|
+
R.displayName = "TagColor";
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
R as TagColor
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=TagColor.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
|
|
6
|
-
tagGroup:
|
|
7
|
-
sm:
|
|
3
|
+
import { c as p } from "../../chunks/vendor-DaOifQgP.js";
|
|
4
|
+
import { createSizeToClassNameMap as f } from "../../utils/classNameMaps.js";
|
|
5
|
+
const g = "tagGroup__05abdf64", l = "sm__ccc6af08", _ = "md__97693bf5", i = "lg__09500ee8", o = {
|
|
6
|
+
tagGroup: g,
|
|
7
|
+
sm: l,
|
|
8
8
|
md: _,
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
9
|
+
lg: i
|
|
10
|
+
}, n = f(o), N = e.forwardRef(
|
|
11
11
|
({ children: s, className: a, size: r, ...t }, m) => /* @__PURE__ */ c(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
className: p(o.tagGroup,
|
|
14
|
+
className: p(o.tagGroup, n[r], a),
|
|
15
15
|
role: "group",
|
|
16
16
|
...t,
|
|
17
17
|
ref: m,
|
|
@@ -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-C75omt8Y.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";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-C75omt8Y.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-DaOifQgP.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";
|
|
@@ -11,11 +11,11 @@ const m = (t) => `${t}${Date.now()}${Math.floor(Math.random() * 1e6)}`, g = ({
|
|
|
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
|
|
@@ -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 { k as g } from "../../../chunks/vendor-DaOifQgP.js";
|
|
10
|
+
const I = ({
|
|
11
11
|
children: s,
|
|
12
12
|
scopeClassName: r,
|
|
13
13
|
scopeRef: t,
|
|
@@ -31,6 +31,6 @@ const H = ({
|
|
|
31
31
|
return /* @__PURE__ */ p(c.Provider, { value: { scopeClassName: r, theme: e, tokens: T }, children: s });
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
I 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 e from "react";
|
|
3
|
-
import { c as s } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as s } from "../../../../chunks/vendor-DaOifQgP.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-CC_4-ATz.js";
|
|
8
8
|
const d = e.forwardRef(({ className: r, ...i }, t) => {
|
|
9
9
|
const m = s(f.tooltipBody, r);
|
|
10
10
|
return /* @__PURE__ */ o(a, { fallback: /* @__PURE__ */ o("div", { className: m, ...i, ref: t }), children: /* @__PURE__ */ o(l, { className: m, size: c.B3, line: p.NORMAL, tag: "div", ...i, ref: t }) });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { c as l } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as l } from "../../../../chunks/vendor-DaOifQgP.js";
|
|
4
4
|
import { MobileView as a } from "../../../MobileView/MobileView.js";
|
|
5
|
-
const k = "
|
|
5
|
+
const k = "tooltipLink__87359dd3", r = "desktop__5bfa79d9", d = "mobile__536f366d", o = {
|
|
6
6
|
tooltipLink: k,
|
|
7
7
|
desktop: r,
|
|
8
8
|
mobile: d
|
|
@@ -12,7 +12,7 @@ const k = "tooltipLink__ded56084", r = "desktop__55ad73f6", d = "mobile__ba9fbde
|
|
|
12
12
|
{
|
|
13
13
|
className: l(o.tooltipLink, o.desktop, e),
|
|
14
14
|
...p,
|
|
15
|
-
"data-tx": "0.
|
|
15
|
+
"data-tx": "0.21.0",
|
|
16
16
|
ref: s,
|
|
17
17
|
children: i
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@ const k = "tooltipLink__ded56084", r = "desktop__55ad73f6", d = "mobile__ba9fbde
|
|
|
21
21
|
{
|
|
22
22
|
className: l(o.tooltipLink, o.mobile, e),
|
|
23
23
|
...p,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.21.0",
|
|
25
25
|
ref: s,
|
|
26
26
|
children: i
|
|
27
27
|
}
|