@sberbusiness/triplex-next 0.21.0 → 0.23.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 +54 -25
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +39 -0
- package/chunks/CalendarViewItem-DKS15EZ4.js +101 -0
- package/chunks/Card.module-BmZKmkeY.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +15 -0
- package/chunks/Chip-D5zfQfAA.js +104 -0
- package/chunks/Confirm.module-CtbiIzcl.js +15 -0
- package/chunks/DropdownListItem-C4JE2xV7.js +65 -0
- package/chunks/DropdownMobile.module-BgSbdJtS.js +23 -0
- package/chunks/Footer.module-B469C_XO.js +9 -0
- package/chunks/FormFieldInput-Dr_WBweC.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +9 -0
- package/chunks/HeaderTabs.module-4iOT34Zp.js +9 -0
- package/chunks/{HeaderTitle.module-Cg-I_NJG.js → HeaderTitle.module-D5yAgpuv.js} +2 -2
- package/chunks/IslandAccordion.module-mdAdZwJL.js +25 -0
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +9 -0
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +12 -0
- package/chunks/{LightBoxContent-BLPx_Tsf.js → LightBoxContent-Lme9r-vN.js} +12 -12
- package/chunks/LightBoxControls.module-qhDcQmnH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +9 -0
- package/chunks/ListItemControlsButton-BLbj6vZS.js +51 -0
- package/chunks/ListItemTail.module-BAmXXpc5.js +12 -0
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +10 -0
- package/chunks/ModalWindow.module-Ciwlg3WX.js +17 -0
- package/chunks/Notification.module-CjpGpuL7.js +20 -0
- package/chunks/Overlay.module-DPHcy5Kd.js +18 -0
- package/chunks/Page.module-98SUxLiM.js +11 -0
- package/chunks/{RightBorderArrow-1OX8NAL9.js → RightBorderArrow-CGThEmc4.js} +6 -6
- package/chunks/SMSField.module-k0lfRov5.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +15 -0
- package/chunks/{SliderExtendedRail-C_1LnK7I.js → SliderExtendedRail-C51TfjHY.js} +6 -6
- package/chunks/StatusTracker.module-BmBKiCLR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DNKfDfM3.js → SuggestFieldMobileDropdownHint-8Km5bFV3.js} +5 -5
- package/chunks/TableFooter.module-D0rUmZhB.js +14 -0
- package/chunks/TabsExtended.module-D5-U63Qf.js +16 -0
- package/chunks/TabsLine.module-DXlTUTm_.js +21 -0
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +19 -0
- package/chunks/TreeView.module-DAOSEOZO.js +9 -0
- package/chunks/{UploadZoneInput-CIib3dEF.js → UploadZoneInput-onwF8t4d.js} +8 -8
- package/chunks/{constants-BamiEgAW.js → constants-CUVfo8-z.js} +7 -7
- package/chunks/{utils-Bt-cuXIX.js → utils-By-UAq7Y.js} +5 -5
- package/chunks/utils-CyxIcdb6.js +73 -0
- package/chunks/utils-DxMHp1hh.js +28 -0
- package/chunks/utils-SSwzNA1R.js +24 -0
- package/chunks/{vendor-DaOifQgP.js → vendor---Om3uMV.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +7 -7
- package/components/Badge/Badge.js +2 -2
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +5 -5
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +96 -83
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +11 -11
- 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 +5 -5
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- package/components/Chip/ChipClearButton.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +21 -21
- 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 +10 -10
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- 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/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +61 -64
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +69 -77
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +62 -35
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- 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 +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +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 +4 -4
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- 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 +14 -14
- 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 +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +17 -15
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +9 -9
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +9 -13
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- 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 +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +44 -41
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +5 -5
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +14 -14
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- package/components/Pagination/components/PaginationExtended.js +8 -8
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +11 -11
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +13 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- 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 +9 -9
- 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/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +7 -7
- package/components/SmallInput/SmallInput.js +7 -7
- package/components/Spoiler/Spoiler.js +9 -9
- 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 +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +7 -7
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +26 -25
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -29
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +27 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +24 -24
- package/components/Table/FilterPanel.js +6 -6
- package/components/Table/MasterTable.js +9 -9
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +5 -5
- 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 +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +16 -16
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +24 -24
- package/components/TagColor/TagColor.js +11 -11
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- 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 +11 -11
- package/components/TopOverlay/TopOverlay.js +21 -21
- 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 +10 -10
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +29 -29
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- 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 +541 -538
- package/index.d.ts +75 -31
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +0 -39
- package/chunks/CalendarViewItem-D879SDC1.js +0 -101
- package/chunks/Card.module--O3Bx82B.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +0 -15
- package/chunks/Chip-M9mPbBOt.js +0 -90
- package/chunks/Confirm.module-DtBiR4Fo.js +0 -15
- package/chunks/DropdownListItem-BdLTF7q1.js +0 -65
- package/chunks/DropdownMobile.module-PpB3KA4H.js +0 -23
- package/chunks/Footer.module-Z4RIi8JP.js +0 -9
- package/chunks/FormFieldInput-C75omt8Y.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +0 -9
- package/chunks/HeaderTabs.module-ykRWLBUI.js +0 -9
- package/chunks/IslandAccordion.module-DE-xutGt.js +0 -25
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +0 -9
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +0 -12
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +0 -9
- package/chunks/ListItemControlsButton-0bXNCLYU.js +0 -43
- package/chunks/ListItemTail.module-DFYWneN6.js +0 -12
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +0 -10
- package/chunks/ModalWindow.module-DqMffIcE.js +0 -17
- package/chunks/Notification.module-CPSD8BYw.js +0 -20
- package/chunks/Overlay.module-B5Hl3baB.js +0 -18
- package/chunks/Page.module-BbrHHqMK.js +0 -11
- package/chunks/SMSField.module-CPSjUBD-.js +0 -16
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +0 -15
- package/chunks/StatusTracker.module-KkpUE8KY.js +0 -24
- package/chunks/TableFooter.module-OEvn0oaX.js +0 -14
- package/chunks/TabsExtended.module-B3Ti-48x.js +0 -16
- package/chunks/TabsLine.module-BgCBcRYT.js +0 -21
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +0 -19
- package/chunks/TreeView.module-CmGHGs81.js +0 -9
- package/chunks/utils-C5IWf42V.js +0 -24
- package/chunks/utils-d7-rkiPs.js +0 -27
- package/chunks/utils-hbQGLR7K.js +0 -73
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -8,10 +8,10 @@ import { CardMedia as M } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as w, ECardTheme as x } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor
|
|
13
|
-
import { c as B } from "../../chunks/Card.module
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-BmZKmkeY.js";
|
|
14
|
+
const O = "action__f3db81e5", F = "selected__4740e6e7", V = "focusVisible__0a9ea1e3", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,7 +66,7 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = w.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -76,7 +76,7 @@ class l extends u.Component {
|
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
_[S],
|
|
79
|
-
K[
|
|
79
|
+
K[f],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "0.
|
|
99
|
+
"data-tx": "0.23.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor
|
|
6
|
-
import { c as n } from "../../chunks/Card.module
|
|
5
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-BmZKmkeY.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.23.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor---Om3uMV.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-BmZKmkeY.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BmZKmkeY.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BmZKmkeY.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-BmZKmkeY.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module
|
|
2
|
+
import { c as e } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-BmZKmkeY.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as b, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__5bfb17a1", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -26,13 +26,13 @@ const R = "carouselExtended__12278c8d", k = {
|
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ b("div", { ...h, children: [
|
|
30
30
|
a({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ p("div", { className: S(k.carouselExtended), onScroll: t, ref: E, children: l }),
|
|
36
36
|
i({
|
|
37
37
|
disabled: o.nextDisabled,
|
|
38
38
|
hidden: o.hidden,
|
|
@@ -7,8 +7,8 @@ import { Text as C } from "../Typography/Text.js";
|
|
|
7
7
|
import "../Typography/Title.js";
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as y } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as l } from "../../chunks/vendor
|
|
11
|
-
const u = "
|
|
10
|
+
import { c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
11
|
+
const u = "label__aeaede8d", M = "sm__8fdbf774", T = "nonempty__cab63f21", g = "md__9035bf7c", v = "lg__355bdc9a", B = "disabled__63c5821e", j = "checkbox__8f6da02e", D = "checkboxIcon__9bf56086", E = "checkmarkIcon__e7e24dc2", e = {
|
|
12
12
|
label: u,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,7 +22,7 @@ const u = "label__b750b705", M = "sm__1d9bf570", T = "nonempty__a08deead", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
}, b = y(e), R = N.forwardRef((
|
|
25
|
+
}, b = y(e), R = N.forwardRef((i, d) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
28
|
className: k,
|
|
@@ -31,7 +31,7 @@ const u = "label__b750b705", M = "sm__1d9bf570", T = "nonempty__a08deead", g = "
|
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
34
|
+
} = i, h = l(e.checkbox, k, b[t]), _ = l(
|
|
35
35
|
e.label,
|
|
36
36
|
b[t],
|
|
37
37
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
@@ -40,8 +40,8 @@ const u = "label__b750b705", M = "sm__1d9bf570", T = "nonempty__a08deead", g = "
|
|
|
40
40
|
const r = e.checkmarkIcon;
|
|
41
41
|
return p ? /* @__PURE__ */ c(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: r, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.
|
|
44
|
-
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref:
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.23.0", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: d }),
|
|
45
45
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
46
|
f(),
|
|
47
47
|
a && /* @__PURE__ */ c(C, { size: L[t], tag: "div", children: a })
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
2
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const r = "checkboxXGroup__4844f3a4", _ = "label__aeaede8d", e = {
|
|
4
|
+
checkboxXGroup: r,
|
|
5
|
+
"indent-12": "indent-12__345611d7",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
},
|
|
13
|
-
const { children: t, className:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className:
|
|
7
|
+
"indent-16": "indent-16__7d36d9e9",
|
|
8
|
+
"indent-20": "indent-20__8d7f3ae6",
|
|
9
|
+
"indent-24": "indent-24__dc3be197",
|
|
10
|
+
"indent-28": "indent-28__ac18908b",
|
|
11
|
+
"indent-32": "indent-32__08393de0"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: t, className: d, indent: o = 12, ...c } = n, s = a(e.checkboxXGroup, e[`indent-${o}`], d);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...c, children: t });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
l as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const a = "checkboxYGroup__deb24606", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */ p("div", { className:
|
|
6
|
+
const { children: c, className: s, ...e } = o, r = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: r, role: "group", ...e, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { CheckboxTree as
|
|
1
|
+
import { CheckboxTree as c } from "./CheckboxTree.js";
|
|
2
|
+
import { checkChildrenCheckboxes as h, checkParentCheckboxes as k, traverseCheckboxes as x } from "./utils.js";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
c as CheckboxTree,
|
|
5
|
+
h as checkChildrenCheckboxes,
|
|
6
|
+
k as checkParentCheckboxes,
|
|
7
|
+
x as traverseCheckboxes
|
|
4
8
|
};
|
|
5
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,11 +3,11 @@ import { CollapsableTree as n } from "../CollapsableTree/CollapsableTree.js";
|
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as c } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as p } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
5
|
import { CheckboxTreeExtendedContext as s } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
-
import { c as a } from "../../chunks/vendor
|
|
6
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
7
7
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { EScreenWidth as t } from "../../helpers/breakpoints.js";
|
|
9
9
|
import { useMatchMedia as h } from "../MediaWidth/useMatchMedia.js";
|
|
10
|
-
import { s as f } from "../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as f } from "../../chunks/CheckboxTreeExtended.module-CGSpV-y1.js";
|
|
11
11
|
const e = ({ className: m, size: d = r.MD, ...i }) => {
|
|
12
12
|
const x = h(
|
|
13
13
|
`(max-width: ${t.SM_MAX})`,
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as i } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-CGSpV-y1.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as N, useContext as
|
|
3
|
-
import { Checkbox as
|
|
4
|
-
import { c as
|
|
5
|
-
import { s as
|
|
2
|
+
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
|
+
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
|
+
import { c as x } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-CGSpV-y1.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
|
-
active:
|
|
8
|
+
active: s,
|
|
9
9
|
className: r,
|
|
10
10
|
opened: y,
|
|
11
11
|
labelAttributes: o,
|
|
12
|
-
...
|
|
12
|
+
...f
|
|
13
13
|
}) => {
|
|
14
|
-
const n = N(null), { size:
|
|
15
|
-
|
|
14
|
+
const n = N(null), { size: h } = E(F), d = x(m.checkboxTreeCheckboxLabel, o == null ? void 0 : o.className);
|
|
15
|
+
T(() => {
|
|
16
16
|
var c, e;
|
|
17
|
-
(c = document.activeElement) != null && c.contains(n.current) || (e = n.current) == null || e.focus();
|
|
18
|
-
}, [
|
|
17
|
+
s && ((c = document.activeElement) != null && c.contains(n.current) || (e = n.current) == null || e.focus());
|
|
18
|
+
}, [s]);
|
|
19
19
|
const k = (c) => {
|
|
20
20
|
var e;
|
|
21
21
|
(e = o == null ? void 0 : o.onFocus) == null || e.call(o, c);
|
|
@@ -23,17 +23,17 @@ const L = ({
|
|
|
23
23
|
n.current = c;
|
|
24
24
|
};
|
|
25
25
|
return /* @__PURE__ */ p(
|
|
26
|
-
|
|
26
|
+
a,
|
|
27
27
|
{
|
|
28
|
-
className:
|
|
28
|
+
className: x(m.checkboxTreeCheckbox, r),
|
|
29
29
|
ref: C,
|
|
30
30
|
labelAttributes: {
|
|
31
31
|
...o,
|
|
32
|
-
className:
|
|
32
|
+
className: d,
|
|
33
33
|
onFocus: k
|
|
34
34
|
},
|
|
35
|
-
size:
|
|
36
|
-
...
|
|
35
|
+
size: h,
|
|
36
|
+
...f
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
3
|
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
4
|
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
5
|
-
import { c as u } from "../../../chunks/vendor
|
|
5
|
+
import { c as u } from "../../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
7
7
|
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
-
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-CGSpV-y1.js";
|
|
9
9
|
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
10
|
const N = T(o), y = ({
|
|
11
11
|
children: r,
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor
|
|
4
|
-
import { C as
|
|
3
|
+
import "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { C as f } from "../../chunks/Chip-D5zfQfAA.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
8
|
+
import "../Badge/Badge.js";
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
f as Chip
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=Chip.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
|
-
import { c as a } from "../../chunks/vendor
|
|
3
|
+
import { c as a } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as m } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as l } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__faf9730e", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, f = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(m, { paletteIndex: 6 }),
|
|
@@ -7,7 +7,7 @@ import { DatePickerExtended as G } from "../../DatePickerExtended/DatePickerExte
|
|
|
7
7
|
import { ChipDatePickerTarget as H } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as L } from "../../../chunks/Chip-
|
|
10
|
+
import { s as L } from "../../../chunks/Chip-D5zfQfAA.js";
|
|
11
11
|
const U = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import D, { useContext as k } from "react";
|
|
3
|
-
import { C as w } from "../../../chunks/Chip-
|
|
3
|
+
import { C as w } from "../../../chunks/Chip-D5zfQfAA.js";
|
|
4
4
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as d, CaretdownStrokeSrvIcon16 as a } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c } from "../../chunks/vendor
|
|
3
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__43b4bd3c", s = "rotated__f4a70ab0", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as m } from "../../chunks/Chip-
|
|
3
|
+
import { C as m } from "../../chunks/Chip-D5zfQfAA.js";
|
|
4
4
|
const t = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(m, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
t.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-D5zfQfAA.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as i } from "../../utils/keyboard.js";
|
|
8
|
-
import { c as g } from "../../chunks/vendor
|
|
8
|
+
import { c as g } from "../../chunks/vendor---Om3uMV.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: c, className: p, clearSelected: m, disabled: s, label: n, displayedValue: C, selected: a, size: r, ...d }, f) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-D5zfQfAA.js";
|
|
5
5
|
import { ChipClearButton as m } from "./ChipClearButton.js";
|
|
6
|
-
const c = "
|
|
6
|
+
const c = "chipOptionsContent__97933e17", f = {
|
|
7
7
|
chipOptionsContent: c
|
|
8
|
-
}, l =
|
|
8
|
+
}, l = a.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(m, { onClick: (
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(m, { onClick: (r) => {
|
|
14
|
+
r.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
@@ -5,10 +5,10 @@ import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
-
import { s as T } from "../../../chunks/Chip-
|
|
9
|
-
import { c as g } from "../../../chunks/vendor
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-D5zfQfAA.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor---Om3uMV.js";
|
|
10
10
|
const y = S.forwardRef(
|
|
11
|
-
({ className: m, clearSelected:
|
|
11
|
+
({ className: m, clearSelected: c, disabled: p, size: o, label: i, displayedValue: d, onChange: l, options: n, value: e, ...s }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|
|
13
13
|
w,
|
|
14
14
|
{
|
|
@@ -16,20 +16,19 @@ const y = S.forwardRef(
|
|
|
16
16
|
mobileTitle: i,
|
|
17
17
|
size: o,
|
|
18
18
|
onChange: l,
|
|
19
|
-
options:
|
|
20
|
-
value: e
|
|
21
|
-
fixedWidth: !1
|
|
19
|
+
options: n,
|
|
20
|
+
value: e
|
|
22
21
|
}
|
|
23
22
|
), h = ({ opened: r, setOpened: x }) => /* @__PURE__ */ t(
|
|
24
23
|
D,
|
|
25
24
|
{
|
|
26
25
|
selected: e !== void 0,
|
|
27
|
-
disabled:
|
|
28
|
-
onClear:
|
|
26
|
+
disabled: p,
|
|
27
|
+
onClear: c,
|
|
29
28
|
size: o,
|
|
30
29
|
opened: r,
|
|
31
30
|
setOpened: x,
|
|
32
|
-
children: e ?
|
|
31
|
+
children: e ? d ?? e.label : i
|
|
33
32
|
}
|
|
34
33
|
);
|
|
35
34
|
return /* @__PURE__ */ t(
|
|
@@ -37,7 +36,7 @@ const y = S.forwardRef(
|
|
|
37
36
|
{
|
|
38
37
|
className: g(T.chipGroupItem, m),
|
|
39
38
|
renderTarget: h,
|
|
40
|
-
...
|
|
39
|
+
...s,
|
|
41
40
|
ref: f,
|
|
42
41
|
children: a
|
|
43
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import g, { useCallback as t } from "react";
|
|
3
|
-
import { C as x } from "../../../chunks/Chip-
|
|
3
|
+
import { C as x } from "../../../chunks/Chip-D5zfQfAA.js";
|
|
4
4
|
import { ChipDropdownArrow as y } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as D } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import y, { useRef as C } from "react";
|
|
3
|
-
import { u as b, l as N, c as l } from "../../chunks/vendor
|
|
3
|
+
import { u as b, l as N, c as l } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ChipIcon as R } from "./ChipIcon.js";
|
|
5
5
|
import { SortStrokeSrvIcon24 as s } from "@sberbusiness/icons-next";
|
|
6
6
|
import { SelectExtendedField as K } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as T } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as k } from "../../chunks/Chip-
|
|
10
|
+
import { s as k } from "../../chunks/Chip-D5zfQfAA.js";
|
|
11
11
|
import { isKey as m } from "../../utils/keyboard.js";
|
|
12
12
|
const q = y.forwardRef(
|
|
13
13
|
({ className: d, defaultValue: p, disabled: f, label: u, onChange: x, options: h, value: e, size: i, ...I }, S) => {
|
|
14
|
-
const
|
|
14
|
+
const n = C(b()), a = !!e && !N.isEqual(p, e), E = ({ opened: o, setOpened: c }) => {
|
|
15
15
|
const w = (t) => {
|
|
16
16
|
!o && (m(t.code, "ENTER") || m(t.code, "SPACE")) && (t.preventDefault(), c(!0));
|
|
17
17
|
};
|
|
@@ -23,14 +23,14 @@ const q = y.forwardRef(
|
|
|
23
23
|
}),
|
|
24
24
|
ref: S,
|
|
25
25
|
disabled: f,
|
|
26
|
-
selected:
|
|
26
|
+
selected: a,
|
|
27
27
|
onClick: () => c(!o),
|
|
28
28
|
onKeyDown: w,
|
|
29
29
|
size: i,
|
|
30
30
|
role: "combobox",
|
|
31
31
|
"aria-expanded": o,
|
|
32
|
-
"aria-controls":
|
|
33
|
-
children:
|
|
32
|
+
"aria-controls": n.current,
|
|
33
|
+
children: a ? /* @__PURE__ */ r(s, { paletteIndex: 6 }) : /* @__PURE__ */ r(s, { paletteIndex: 5 })
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
36
|
}, D = (o) => /* @__PURE__ */ r(
|
|
@@ -42,8 +42,7 @@ const q = y.forwardRef(
|
|
|
42
42
|
onChange: x,
|
|
43
43
|
options: h,
|
|
44
44
|
value: e,
|
|
45
|
-
|
|
46
|
-
listId: a.current
|
|
45
|
+
listId: n.current
|
|
47
46
|
}
|
|
48
47
|
);
|
|
49
48
|
return /* @__PURE__ */ r(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChipSuggestTarget as h } from "./ChipSuggestTarget.js";
|
|
2
2
|
import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import d, { useRef as p } from "react";
|
|
4
|
-
import { c as x } from "../../../chunks/vendor
|
|
4
|
+
import { c as x } from "../../../chunks/vendor---Om3uMV.js";
|
|
5
5
|
import "../../Suggest/SuggestContext.js";
|
|
6
6
|
import { Suggest as S } from "../../Suggest/Suggest.js";
|
|
7
7
|
import { ChipSuggestDropdown as C } from "./ChipSuggestDropdown.js";
|
|
8
|
-
import { s as j } from "../../../chunks/Chip-
|
|
8
|
+
import { s as j } from "../../../chunks/Chip-D5zfQfAA.js";
|
|
9
9
|
const w = ({ className: c, displayedValue: g, label: r, prefix: y, targetProps: u, dropdownProps: n, ...o }, t) => {
|
|
10
10
|
const { value: s, size: i } = o, f = p(null), l = p(null), a = (e) => {
|
|
11
11
|
f.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|