@sberbusiness/triplex-next 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-u6M_UUD9.js → AlertProcessSpoiler-D94updt3.js} +15 -15
- package/chunks/{CalendarViewItem-0qx9TN09.js → CalendarViewItem-w08J4qsu.js} +12 -12
- package/chunks/Card.module-D8EAMd92.js +18 -0
- package/chunks/CheckboxTreeExtended.module-b9bSHVAz.js +15 -0
- package/chunks/Chip-Cteq3rht.js +85 -0
- package/chunks/Confirm.module-BtroC28g.js +15 -0
- package/chunks/DropdownListItem-D093kwGL.js +65 -0
- package/chunks/DropdownMobile.module-BkdWickw.js +23 -0
- package/chunks/Footer.module-fb6dwao-.js +9 -0
- package/chunks/{FormFieldInput-DM8lK78a.js → FormFieldInput-DEkpK71h.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-DJZa8d1z.js +9 -0
- package/chunks/HeaderTabs.module-CYj6xy4J.js +9 -0
- package/chunks/{HeaderTitle.module-wm7lWk21.js → HeaderTitle.module-_RjZrixi.js} +2 -2
- package/chunks/ImageGalleryExtendedMain.module-Da65hjez.js +17 -0
- package/chunks/ImageGalleryExtendedThumb-DvxWiBol.js +28 -0
- package/chunks/IslandAccordion.module-BPxUPtoo.js +25 -0
- package/chunks/IslandWidgetFooter.module-ZxH3O6oy.js +9 -0
- package/chunks/IslandWidgetHeader.module-BSFljZcD.js +13 -0
- package/chunks/{LightBoxContent-C-Q4JvDf.js → LightBoxContent-CD2ywHRd.js} +10 -10
- package/chunks/LightBoxControls.module-CmEdh818.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BN81wlqm.js +9 -0
- package/chunks/{ListItemControlsButton-B52gadtt.js → ListItemControlsButton-ooEBqOYi.js} +13 -13
- package/chunks/ListItemTail.module-4rSSMPVx.js +12 -0
- package/chunks/ListMasterFooter.module-C-WLsVa2.js +10 -0
- package/chunks/ModalWindow.module-D-ruP-W_.js +17 -0
- package/chunks/Notification.module-CGwe5hz6.js +20 -0
- package/chunks/Overlay.module-VY4-MhFj.js +18 -0
- package/chunks/Page.module-DxsbvUY0.js +11 -0
- package/chunks/SMSField.module-DsLV_aE8.js +16 -0
- package/chunks/SliderExtendedMarks.module-D_aHvnyq.js +15 -0
- package/chunks/{SliderExtendedRail-EN9dWr8g.js → SliderExtendedRail-DUIgrgt7.js} +12 -12
- package/chunks/StatusTracker.module-BXZqUX7q.js +24 -0
- package/chunks/{StepperStepArrowBorder-B2mxgMOK.js → StepperStepArrowBorder-A6WoCp_l.js} +8 -8
- package/chunks/{SuggestFieldMobileDropdownHint-8plGk4NO.js → SuggestFieldMobileDropdownHint-B6H-gTlk.js} +2 -2
- package/chunks/TableFooter.module-IT9a3X2n.js +14 -0
- package/chunks/TabsExtended.module-BeSILSIo.js +16 -0
- package/chunks/TabsLine.module-D1SiIi4c.js +21 -0
- package/chunks/TooltipDesktop.module--e7kCd3A.js +19 -0
- package/chunks/TreeView.module-BGGC5iP2.js +9 -0
- package/chunks/{UploadZoneInput-B-gVlolB.js → UploadZoneInput-CKzf73QX.js} +7 -7
- package/chunks/{constants-CgVlsuXP.js → constants-BO1zd0dv.js} +9 -9
- package/chunks/{utils-mJogbZdW.js → utils-B99NmqsA.js} +13 -13
- package/chunks/{utils-B3jUITHO.js → utils-BKnry-Ny.js} +6 -6
- package/chunks/{utils-BygtCSQo.js → utils-DBuNwIFU.js} +6 -6
- package/chunks/utils-bwYnj4U9.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +29 -29
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +21 -21
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +28 -28
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +11 -11
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +18 -18
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +37 -36
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +11 -11
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +22 -21
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +40 -27
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +23 -22
- package/components/Chip/ChipSuggest/ChipSuggest.js +14 -14
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/enums.js +5 -0
- package/components/Chip/index.js +28 -26
- package/components/ChipGroup/ChipGroup.js +9 -9
- package/components/Col/Col.js +178 -163
- package/components/CollapsibleTree/CollapsibleTree.js +3 -3
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +5 -5
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +14 -14
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +4 -4
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +7 -7
- package/components/DateRange/DateRange.js +16 -16
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +69 -64
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +57 -52
- package/components/DesignTokens/components/Chip.js +12 -6
- package/components/DesignTokens/components/ImageGallery.js +47 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/TopOverlay.js +1 -1
- package/components/DesignTokens/components/index.js +116 -113
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js +2 -2
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +18 -18
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +19 -19
- package/components/FormField/components/FormFieldClear.js +5 -5
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +1 -1
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +3 -3
- package/components/FormField/components/FormFieldTarget.js +9 -9
- package/components/FormField/components/FormFieldTextarea.js +18 -18
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Gap/Gap.js +15 -5
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +16 -16
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/ImageGallery/ImageGallery.js +74 -0
- package/components/ImageGallery/index.js +5 -0
- package/components/ImageGallery/types.js +2 -0
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +72 -0
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js +16 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +35 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +31 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedNav.js +19 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +20 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +89 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +8 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +40 -0
- package/components/ImageGalleryExtended/components/index.js +15 -0
- package/components/ImageGalleryExtended/enums.js +5 -0
- package/components/ImageGalleryExtended/index.js +21 -0
- package/components/ImageGalleryExtended/types.js +2 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +2 -2
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +34 -34
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +33 -33
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +11 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -14
- package/components/Link/Link.js +26 -26
- package/components/List/List.js +4 -4
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +12 -12
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +15 -15
- package/components/ModalWindow/ModalWindow.js +9 -9
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearRange/MonthYearRange.js +13 -13
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +11 -11
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +16 -16
- package/components/Radio/Radio.js +14 -14
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +25 -10
- package/components/Row/RowContext.js +9 -0
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +4 -4
- package/components/SelectExtendedField/SelectExtendedField.js +18 -18
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +11 -11
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +34 -34
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +8 -8
- package/components/Stepper/Stepper.js +10 -10
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -12
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +76 -80
- package/components/Table/ChipPanel.js +12 -0
- package/components/Table/ChipPanelLinks.js +22 -0
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +11 -11
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/index.js +7 -7
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +5 -5
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +5 -5
- package/components/Tag/Tag.js +1 -1
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +12 -12
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +6 -6
- package/components/TopOverlay/TopOverlay.js +26 -26
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +16 -16
- package/components/Typography/Title.js +25 -25
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +5 -5
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +644 -622
- package/index.d.ts +316 -31
- package/index.js +676 -654
- package/package.json +9 -1
- package/styles/triplex-next.css +556 -541
- package/chunks/Card.module-Dk_x12aX.js +0 -18
- package/chunks/CheckboxTreeExtended.module-BYEXhagY.js +0 -15
- package/chunks/Chip-CgSrMLOj.js +0 -77
- package/chunks/Confirm.module-D-Z-baL7.js +0 -15
- package/chunks/DropdownListItem-DsKl9Gi-.js +0 -65
- package/chunks/DropdownMobile.module-DBKmP6tH.js +0 -23
- package/chunks/Footer.module-D19luc11.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-BEWjTVQC.js +0 -9
- package/chunks/HeaderTabs.module-B3OUkcWC.js +0 -9
- package/chunks/IslandAccordion.module-CkjSe196.js +0 -25
- package/chunks/IslandWidgetFooter.module-DkGCGVtt.js +0 -9
- package/chunks/IslandWidgetHeader.module-D_0Z5Wkx.js +0 -13
- package/chunks/LightBoxControls.module-D6dJVyd1.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Pvh5SxlA.js +0 -9
- package/chunks/ListItemTail.module-96x050E6.js +0 -12
- package/chunks/ListMasterFooter.module-QCC2uvr7.js +0 -10
- package/chunks/ModalWindow.module-D3XZrRCV.js +0 -17
- package/chunks/Notification.module-MWvLXIRM.js +0 -20
- package/chunks/Overlay.module-nAMUorJ1.js +0 -18
- package/chunks/Page.module-BDTFNqSr.js +0 -11
- package/chunks/SMSField.module-Dt8sZq_D.js +0 -16
- package/chunks/SliderExtendedMarks.module-BIprSBVE.js +0 -15
- package/chunks/StatusTracker.module-GZp9BaaE.js +0 -24
- package/chunks/TableFooter.module-C1wbovyw.js +0 -14
- package/chunks/TabsExtended.module-DATvYZNn.js +0 -16
- package/chunks/TabsLine.module-O3-2VgYL.js +0 -21
- package/chunks/TooltipDesktop.module-COHJz2TY.js +0 -19
- package/chunks/TreeView.module-Cxj4qOdA.js +0 -9
- package/chunks/utils-Dwhaig77.js +0 -24
- package/components/Table/TabsLinePanel.js +0 -12
- package/components/Table/TabsLinePanelLinks.js +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__78ddc9f2", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -5,7 +5,7 @@ import { c as q } from "../../../chunks/vendor-z35N2Tap.js";
|
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-w08J4qsu.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor-z35N2Tap.js";
|
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-w08J4qsu.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as S } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-w08J4qsu.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-w08J4qsu.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -10,8 +10,8 @@ import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-z35N2Tap.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-D8EAMd92.js";
|
|
14
|
+
const O = "action__b97d6474", F = "selected__abb9aa6f", V = "focusVisible__1d1a6c92", n = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -38,16 +38,16 @@ class l extends u.Component {
|
|
|
38
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
|
-
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current:
|
|
42
|
-
s == null || s(e), !t &&
|
|
41
|
+
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: a } = this.ref;
|
|
42
|
+
s == null || s(e), !t && a === e.target && this.setState({ focusSource: r.KEYBOARD });
|
|
43
43
|
});
|
|
44
44
|
o(this, "handleBlur", (e) => {
|
|
45
45
|
const { onBlur: s } = this.props, { current: t } = this.ref;
|
|
46
46
|
s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
|
|
47
47
|
});
|
|
48
48
|
o(this, "handleToggle", () => {
|
|
49
|
-
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled:
|
|
50
|
-
|
|
49
|
+
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: a, isSelected: d } = this.state;
|
|
50
|
+
a ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,7 +62,7 @@ class l extends u.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: a,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
@@ -74,12 +74,12 @@ class l extends u.Component {
|
|
|
74
74
|
...C
|
|
75
75
|
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, b = k(
|
|
76
76
|
B.card,
|
|
77
|
-
|
|
77
|
+
n.action,
|
|
78
78
|
_[S],
|
|
79
79
|
K[f],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[n.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[n.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
@@ -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.31.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ 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
5
|
import { c } from "../../chunks/vendor-z35N2Tap.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-D8EAMd92.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.31.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -4,7 +4,7 @@ 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
6
|
import { c as p } from "../../../../chunks/vendor-z35N2Tap.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-D8EAMd92.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
2
|
import { c as d } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-D8EAMd92.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
2
|
import { c as e } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-D8EAMd92.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
2
|
import { c as o } from "../../../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-D8EAMd92.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
2
|
import { c as e } from "../../../chunks/vendor-z35N2Tap.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-D8EAMd92.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
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__8a593d68", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { c as l } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
@@ -9,7 +9,7 @@ import { Text as y } from "../Typography/Text.js";
|
|
|
9
9
|
import "../Typography/Title.js";
|
|
10
10
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
11
11
|
import { createSizeToClassNameMap as E } from "../../utils/classNameMaps.js";
|
|
12
|
-
const M = "
|
|
12
|
+
const M = "label__0588a810", T = "sm__8462a4b7", u = "nonempty__25921c92", z = "md__ef0ec733", g = "lg__b29f382c", A = "disabled__0a66af52", v = "checkbox__f0146bda", B = "checkboxIcon__f2aa30cc", L = "checkmarkIcon__81ae316b", c = {
|
|
13
13
|
label: M,
|
|
14
14
|
sm: T,
|
|
15
15
|
nonempty: u,
|
|
@@ -23,30 +23,30 @@ const M = "label__e75f16d9", T = "sm__e6a1fcc1", u = "nonempty__b1ad3988", z = "
|
|
|
23
23
|
[s.LG]: n.B2,
|
|
24
24
|
[s.MD]: n.B3,
|
|
25
25
|
[s.SM]: n.B4
|
|
26
|
-
}, b = E(c), j = N.forwardRef((
|
|
26
|
+
}, b = E(c), j = N.forwardRef((i, k) => {
|
|
27
27
|
const {
|
|
28
|
-
children:
|
|
29
|
-
className:
|
|
28
|
+
children: a,
|
|
29
|
+
className: _,
|
|
30
30
|
disabled: m,
|
|
31
|
-
bulk:
|
|
31
|
+
bulk: p,
|
|
32
32
|
labelAttributes: o,
|
|
33
|
-
size:
|
|
34
|
-
...
|
|
35
|
-
} =
|
|
33
|
+
size: t = s.MD,
|
|
34
|
+
...d
|
|
35
|
+
} = i, x = l(c.checkbox, b[t]), h = l(
|
|
36
36
|
c.label,
|
|
37
|
-
b[
|
|
38
|
-
{ [c.disabled]: !!m, [c.nonempty]: !!
|
|
39
|
-
|
|
37
|
+
b[t],
|
|
38
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!a },
|
|
39
|
+
_,
|
|
40
40
|
o == null ? void 0 : o.className
|
|
41
|
-
),
|
|
41
|
+
), I = () => {
|
|
42
42
|
const r = c.checkmarkIcon;
|
|
43
|
-
return
|
|
43
|
+
return p ? /* @__PURE__ */ e(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: r, paletteIndex: 7 });
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...
|
|
45
|
+
return /* @__PURE__ */ f("label", { ...o, className: h, "data-tx": "0.31.0", children: [
|
|
46
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: x, disabled: m, ...d, ref: k }),
|
|
47
47
|
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
I(),
|
|
49
|
+
a && /* @__PURE__ */ e(y, { size: Z[t], tag: "div", children: a })
|
|
50
50
|
] });
|
|
51
51
|
});
|
|
52
52
|
j.displayName = "Checkbox";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
3
|
import { c as _ } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const
|
|
5
|
-
checkboxXGroup:
|
|
6
|
-
"indent-12": "indent-
|
|
7
|
-
label:
|
|
8
|
-
"indent-16": "indent-
|
|
9
|
-
"indent-20": "indent-
|
|
10
|
-
"indent-24": "indent-
|
|
11
|
-
"indent-28": "indent-
|
|
12
|
-
"indent-32": "indent-
|
|
13
|
-
},
|
|
14
|
-
const { children: t, className: c, indent:
|
|
15
|
-
return /* @__PURE__ */
|
|
4
|
+
const l = "checkboxXGroup__94922837", p = "label__0588a810", e = {
|
|
5
|
+
checkboxXGroup: l,
|
|
6
|
+
"indent-12": "indent-12__eca62b9c",
|
|
7
|
+
label: p,
|
|
8
|
+
"indent-16": "indent-16__f54a3e91",
|
|
9
|
+
"indent-20": "indent-20__cd83229f",
|
|
10
|
+
"indent-24": "indent-24__be3a320d",
|
|
11
|
+
"indent-28": "indent-28__55ae3afa",
|
|
12
|
+
"indent-32": "indent-32__3290c389"
|
|
13
|
+
}, b = s.forwardRef((n, o) => {
|
|
14
|
+
const { children: t, className: c, indent: a = 12, ...r } = n, d = _(e.checkboxXGroup, e[`indent-${a}`], c);
|
|
15
|
+
return /* @__PURE__ */ i("div", { className: d, ...r, role: "group", ref: o, children: t });
|
|
16
16
|
});
|
|
17
|
-
|
|
17
|
+
b.displayName = "CheckboxXGroup";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
b as CheckboxXGroup
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
const x = "
|
|
4
|
+
const x = "checkboxYGroup__6fe12ba1", l = {
|
|
5
5
|
checkboxYGroup: x
|
|
6
|
-
}, u =
|
|
7
|
-
const { children: r, className:
|
|
8
|
-
return /* @__PURE__ */
|
|
6
|
+
}, u = p.forwardRef((o, c) => {
|
|
7
|
+
const { children: r, className: e, ...s } = o, t = m(l.checkboxYGroup, e);
|
|
8
|
+
return /* @__PURE__ */ a("div", { className: t, ...s, role: "group", ref: c, children: r });
|
|
9
9
|
});
|
|
10
10
|
u.displayName = "CheckboxYGroup";
|
|
11
11
|
export {
|
|
@@ -7,7 +7,7 @@ import { c as a } from "../../chunks/vendor-z35N2Tap.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-b9bSHVAz.js";
|
|
11
11
|
const e = ({ className: d, size: m = 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-b9bSHVAz.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -2,7 +2,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as N, useContext as E, useEffect as T } from "react";
|
|
3
3
|
import { Checkbox as a } from "../../Checkbox/Checkbox.js";
|
|
4
4
|
import { c as x } from "../../../chunks/vendor-z35N2Tap.js";
|
|
5
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-b9bSHVAz.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as F } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const L = ({
|
|
8
8
|
active: s,
|
|
@@ -5,7 +5,7 @@ import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtend
|
|
|
5
5
|
import { c as u } from "../../../chunks/vendor-z35N2Tap.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-b9bSHVAz.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,13 +1,14 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../chunks/vendor-z35N2Tap.js";
|
|
4
|
-
import { C as h } from "../../chunks/Chip-CgSrMLOj.js";
|
|
5
4
|
import "../../enums/EComponentSize.js";
|
|
6
5
|
import "../../utils/classNameMaps.js";
|
|
7
6
|
import "../../utils/keyboard.js";
|
|
8
7
|
import "../Badge/Badge.js";
|
|
9
8
|
import "../IconWrapper/IconWrapper.js";
|
|
9
|
+
import "./enums.js";
|
|
10
|
+
import { C as s } from "../../chunks/Chip-Cteq3rht.js";
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
s as Chip
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=Chip.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-z35N2Tap.js";
|
|
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__a0f46e14", S = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, f = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(m, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
13
|
-
}, I =
|
|
14
|
-
({ className: r, size: e = t.MD, ...n },
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
+
}, I = s.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, p) => /* @__PURE__ */ o(l, { className: a(S.chipClearButton, r), ...n, ref: p, children: f[e] })
|
|
15
15
|
);
|
|
16
16
|
I.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
@@ -1,57 +1,58 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import O, { useState as j, useRef as h, useEffect as z } from "react";
|
|
3
3
|
import k from "moment";
|
|
4
|
-
import { dateFormatYYYYMMDD as
|
|
4
|
+
import { dateFormatYYYYMMDD as B, globalLimitRange as G } from "../../../consts/DateConst.js";
|
|
5
5
|
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
|
-
import { DatePickerExtended as
|
|
7
|
-
import { ChipDatePickerTarget as
|
|
6
|
+
import { DatePickerExtended as H } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
|
+
import { ChipDatePickerTarget as L } 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
|
|
11
|
-
const
|
|
10
|
+
import { s as U } from "../../../chunks/Chip-Cteq3rht.js";
|
|
11
|
+
const q = O.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
|
+
size: P,
|
|
13
14
|
value: o,
|
|
14
|
-
label: P,
|
|
15
15
|
placeholderMask: w,
|
|
16
|
-
format: n =
|
|
17
|
-
limitRange: a =
|
|
16
|
+
format: n = B,
|
|
17
|
+
limitRange: a = G,
|
|
18
18
|
disabledDays: i,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
type: R,
|
|
20
|
+
label: b,
|
|
21
|
+
displayedValue: y,
|
|
22
|
+
disabled: v,
|
|
21
23
|
onChange: s,
|
|
22
24
|
onDropdownOpen: c,
|
|
23
25
|
onDropdownClose: p,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} = S, [r, d] = O(
|
|
26
|
+
...F
|
|
27
|
+
} = S, [r, d] = j(
|
|
27
28
|
u.getPickerValues(o, n, a, i)
|
|
28
29
|
), l = h(r), f = h(!1), m = h(!1);
|
|
29
|
-
|
|
30
|
+
z(() => {
|
|
30
31
|
const e = u.getPickerValues(o, n, a, i);
|
|
31
32
|
l.current = e, e.inputString !== r.inputString && d(e);
|
|
32
33
|
}, [o, n, a, i]);
|
|
33
|
-
const
|
|
34
|
+
const M = () => {
|
|
34
35
|
const e = f.current ? l.current : r, t = e.calendarDate !== null;
|
|
35
|
-
return /* @__PURE__ */ g(
|
|
36
|
-
}, M = () => {
|
|
37
|
-
s("");
|
|
36
|
+
return /* @__PURE__ */ g(L, { type: R, size: P, selected: t, disabled: v, onClear: I, children: t ? y ?? e.inputString : b });
|
|
38
37
|
}, I = () => {
|
|
39
|
-
|
|
38
|
+
s("");
|
|
40
39
|
}, Y = () => {
|
|
41
|
-
f.current = !
|
|
42
|
-
}, x = () =>
|
|
40
|
+
f.current = !0, c == null || c();
|
|
41
|
+
}, x = () => {
|
|
42
|
+
f.current = !1, m.current ? m.current = !1 : r.inputString !== l.current.inputString && E(), p == null || p();
|
|
43
|
+
}, T = () => /* @__PURE__ */ g(
|
|
43
44
|
C,
|
|
44
45
|
{
|
|
45
46
|
value: r.inputString,
|
|
46
47
|
mask: C.presets.masks.date,
|
|
47
48
|
placeholderMask: w,
|
|
48
|
-
onChange:
|
|
49
|
+
onChange: A,
|
|
49
50
|
autoFocus: !0
|
|
50
51
|
}
|
|
51
|
-
),
|
|
52
|
+
), A = (e) => {
|
|
52
53
|
let t = null;
|
|
53
54
|
e.target.value.length === D.length && (t = k(e.target.value, D, !0), (!t.isValid() || !u.isAvailableDate(t, t.format(n), a, i)) && (t = null)), d({ calendarDate: t, inputString: e.target.value });
|
|
54
|
-
},
|
|
55
|
+
}, E = () => {
|
|
55
56
|
if (r.inputString.length === 0 && o.length !== 0)
|
|
56
57
|
return s(r.inputString);
|
|
57
58
|
const e = k(r.inputString, D, !0);
|
|
@@ -63,29 +64,29 @@ const U = N.forwardRef((S, V) => {
|
|
|
63
64
|
return s(t);
|
|
64
65
|
}
|
|
65
66
|
r.inputString !== l.current.inputString && d(l.current);
|
|
66
|
-
},
|
|
67
|
+
}, N = (e) => {
|
|
67
68
|
m.current = !0, s(e.format(n));
|
|
68
69
|
};
|
|
69
70
|
return /* @__PURE__ */ g(
|
|
70
|
-
|
|
71
|
+
H,
|
|
71
72
|
{
|
|
72
|
-
className:
|
|
73
|
-
renderTarget:
|
|
73
|
+
className: U.chipGroupItem,
|
|
74
|
+
renderTarget: M,
|
|
74
75
|
pickedDate: r.calendarDate,
|
|
75
|
-
renderDropdownHeaderTarget:
|
|
76
|
+
renderDropdownHeaderTarget: T,
|
|
76
77
|
format: n,
|
|
77
78
|
limitRange: a,
|
|
78
|
-
onDropdownOpen:
|
|
79
|
-
onDropdownClose:
|
|
80
|
-
onDateChange:
|
|
79
|
+
onDropdownOpen: Y,
|
|
80
|
+
onDropdownClose: x,
|
|
81
|
+
onDateChange: N,
|
|
81
82
|
disabledDays: i,
|
|
82
|
-
...
|
|
83
|
+
...F,
|
|
83
84
|
ref: V
|
|
84
85
|
}
|
|
85
86
|
);
|
|
86
87
|
});
|
|
87
|
-
|
|
88
|
+
q.displayName = "ChipDatePicker";
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
q as ChipDatePicker
|
|
90
91
|
};
|
|
91
92
|
//# sourceMappingURL=ChipDatePicker.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import D, { useContext as
|
|
3
|
-
import { C as
|
|
4
|
-
import { ChipDropdownArrow as
|
|
2
|
+
import D, { useContext as P } from "react";
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-Cteq3rht.js";
|
|
4
|
+
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as g } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as E } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
7
7
|
import { isKey as s } from "../../../utils/keyboard.js";
|
|
8
8
|
const T = D.forwardRef((d, c) => {
|
|
9
|
-
const { children: m, selected:
|
|
10
|
-
(s(o.code, "ENTER") || s(o.code, "SPACE")) && (o.preventDefault(),
|
|
9
|
+
const { children: m, size: e, selected: p, onKeyDown: t, onClick: i, onClear: C, ...f } = d, { dropdownOpen: r, setDropdownOpen: a } = P(E), l = (o) => {
|
|
10
|
+
(s(o.code, "ENTER") || s(o.code, "SPACE")) && (o.preventDefault(), a(!r), t == null || t(o));
|
|
11
11
|
}, h = (o) => {
|
|
12
|
-
|
|
13
|
-
}, x = () =>
|
|
12
|
+
a(!r), i == null || i(o);
|
|
13
|
+
}, x = () => p ? /* @__PURE__ */ n(g, { size: e, onClick: u }) : /* @__PURE__ */ n(w, { size: e, rotated: r }), u = (o) => {
|
|
14
14
|
o.stopPropagation(), C();
|
|
15
15
|
};
|
|
16
16
|
return /* @__PURE__ */ n(
|
|
17
|
-
|
|
17
|
+
k,
|
|
18
18
|
{
|
|
19
|
-
|
|
20
|
-
selected:
|
|
19
|
+
size: e,
|
|
20
|
+
selected: p,
|
|
21
21
|
"aria-expanded": r,
|
|
22
22
|
onKeyDown: l,
|
|
23
23
|
onClick: h,
|
|
24
|
-
|
|
24
|
+
postfix: x(),
|
|
25
25
|
...f,
|
|
26
26
|
ref: c,
|
|
27
27
|
children: m
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as
|
|
2
|
+
import { CaretdownStrokeSrvIcon24 as p, CaretdownStrokeSrvIcon20 as a, CaretdownStrokeSrvIcon16 as d } from "@sberbusiness/icons-next";
|
|
3
3
|
import { c } from "../../chunks/vendor-z35N2Tap.js";
|
|
4
4
|
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
5
|
-
const w = "
|
|
5
|
+
const w = "chipDropdownArrow__877484ca", s = "rotated__31a20b0f", t = {
|
|
6
6
|
chipDropdownArrow: w,
|
|
7
7
|
rotated: s
|
|
8
8
|
}, i = {
|
|
9
|
-
[r.SM]: /* @__PURE__ */ o(
|
|
10
|
-
[r.MD]: /* @__PURE__ */ o(
|
|
9
|
+
[r.SM]: /* @__PURE__ */ o(d, { paletteIndex: 5 }),
|
|
10
|
+
[r.MD]: /* @__PURE__ */ o(a, { paletteIndex: 5 }),
|
|
11
11
|
[r.LG]: /* @__PURE__ */ o(p, { paletteIndex: 5 })
|
|
12
12
|
}, m = ({ rotated: e, size: n = r.MD }) => /* @__PURE__ */ o("span", { className: c(t.chipDropdownArrow, { [t.rotated]: e }), children: i[n] });
|
|
13
13
|
m.displayName = "ChipDropdownArrow";
|
|
@@ -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-Cteq3rht.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 {
|