@sberbusiness/triplex-next 1.8.0 → 1.10.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-C7qEZRwB.js → AlertProcessSpoiler-C4HDxCMJ.js} +10 -10
- package/chunks/{CalendarViewItem-CUPkQFFY.js → CalendarViewItem-Y3UQ6liF.js} +11 -11
- package/chunks/Card.module-t9A1wsgP.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BMfgVvwS.js +11 -0
- package/chunks/{Chip-CCv72AgN.js → Chip-21qt-Ukl.js} +12 -12
- package/chunks/Confirm.module-CrTyGEYv.js +15 -0
- package/chunks/{DropdownListItem-BcXHt5bk.js → DropdownListItem-DXBppGoi.js} +18 -18
- package/chunks/DropdownMobile.module-CdquuBgl.js +23 -0
- package/chunks/Footer.module-9PrdQ3S7.js +9 -0
- package/chunks/FormFieldInput-hUwbIuBd.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-QjkaZFtn.js +9 -0
- package/chunks/HeaderTabs.module-a_JyDpFt.js +9 -0
- package/chunks/{HeaderTitle.module-0YuV_UNN.js → HeaderTitle.module-B_2yQmEh.js} +2 -2
- package/chunks/IslandAccordion.module-BCHg71CD.js +25 -0
- package/chunks/IslandWidgetFooter.module-DV2tNWtj.js +9 -0
- package/chunks/IslandWidgetHeader.module-kAuK5xmR.js +9 -0
- package/chunks/LightBoxContent-DDRusGqo.js +56 -0
- package/chunks/LightBoxControls.module-CHrL_gpj.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js +8 -0
- package/chunks/{ListItemControlsButton-BB9ENDS-.js → ListItemControlsButton-3APG17-A.js} +9 -9
- package/chunks/ListItemTail.module-BW9qp-XX.js +12 -0
- package/chunks/ListMasterFooter.module-B3kLf2M1.js +10 -0
- package/chunks/ModalWindow.module-BFTuZtt7.js +17 -0
- package/chunks/Notification.module-DU0GLki1.js +21 -0
- package/chunks/Overlay.module-CQY18PV-.js +18 -0
- package/chunks/Page.module-BO9rnNjD.js +11 -0
- package/chunks/{RightBorderArrow-BsoQkq2D.js → RightBorderArrow-Bo5_O5lj.js} +6 -6
- package/chunks/SMSField.module-ibOZLVgV.js +16 -0
- package/chunks/SliderExtendedMarks.module-BBaU_j-p.js +15 -0
- package/chunks/{SliderExtendedRail-DCMgHGfh.js → SliderExtendedRail-C7TQHv-j.js} +9 -9
- package/chunks/StatusTracker.module-C66hhTIO.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BEzPFmOF.js → SuggestFieldMobileDropdownHint-BJiMEG2_.js} +2 -2
- package/chunks/TableFooter.module-cSix4Lyk.js +14 -0
- package/chunks/TabsExtended.module-D7fs9FsL.js +16 -0
- package/chunks/TabsLine.module-CEQyfehM.js +21 -0
- package/chunks/TooltipDesktop.module-DD9WosV6.js +19 -0
- package/chunks/TreeView.module-Dxrir5YQ.js +9 -0
- package/chunks/{UploadZoneInput-BES4iuW5.js → UploadZoneInput-C2_0grVp.js} +8 -8
- package/chunks/utils-BhoCc4rI.js +36 -0
- package/chunks/{utils-DRFlp8Cg.js → utils-BsOip28-.js} +13 -13
- package/chunks/utils-D8Gj0oC8.js +20 -0
- package/chunks/utils-HEAUA6LV.js +24 -0
- package/chunks/{utils-D2zZhfuB.js → utils-mlGAF1hQ.js} +8 -8
- package/chunks/{vendor-D3hUOusX.js → vendor-ClY57Zzq.js} +1220 -1220
- 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 +8 -8
- package/components/AmountField/AmountField.js +59 -62
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +32 -32
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +30 -30
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +2 -2
- package/components/Calendar/components/CalendarViewYears.js +2 -2
- package/components/Calendar/utils.js +1 -1
- package/components/Card/CardAction.js +18 -18
- 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 +7 -7
- package/components/CarouselExtended/index.js +5 -0
- package/components/Checkbox/Checkbox.js +35 -33
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +3 -3
- package/components/Chip/ChipDatePicker/{components/ChipDatePickerTarget.js → ChipDatePickerTarget.js} +5 -5
- package/components/Chip/ChipDatePicker/index.js +7 -0
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +25 -23
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +51 -0
- package/components/Chip/ChipSelect/ChipSelectTarget.js +44 -0
- package/components/Chip/ChipSelect/index.js +7 -0
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +69 -57
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +31 -29
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +26 -20
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +131 -131
- package/components/CollapsableTree/components/CollapsableTreeNode.js +14 -14
- 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 +2 -2
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +26 -26
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +101 -94
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +102 -95
- package/components/DesignTokens/components/AmountField.js +11 -0
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/FormField.js +2 -2
- package/components/DesignTokens/components/{SMSInput.js → SMSField.js} +9 -9
- package/components/DesignTokens/components/TabsLine.js +0 -9
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +156 -150
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +11 -11
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +16 -16
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +47 -47
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +10 -10
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/enums.js +2 -3
- package/components/FormField/index.js +13 -14
- 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 +11 -11
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +73 -81
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +6 -6
- 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 +8 -8
- package/components/LightBox/LightBox.js +57 -51
- 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 +23 -23
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -0
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +15 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +32 -32
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- 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 +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +7 -7
- 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 +11 -11
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +13 -13
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- 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/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +5 -5
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- 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 +9 -9
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +4 -4
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +22 -20
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +41 -0
- package/components/{SMSInput/SMSInputContext.js → SMSField/SMSFieldContext.js} +3 -3
- package/components/{SMSInput → SMSField}/components/RefreshIcon.js +4 -4
- package/components/SMSField/components/SMSFieldInput.js +63 -0
- package/components/SMSField/components/SMSFieldRefresh.js +39 -0
- package/components/SMSField/components/SMSFieldSubmit.js +43 -0
- package/components/SMSField/components/SMSFieldTooltip.js +38 -0
- package/components/SMSField/index.js +5 -0
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +15 -15
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +14 -14
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +17 -17
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +18 -18
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- 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 +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +16 -16
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +18 -18
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +79 -55
- package/components/TabsLine/components/TabsLineItem.js +55 -23
- package/components/TabsLine/components/TabsLineMobile.js +12 -12
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +35 -35
- package/components/TagColor/TagColor.js +36 -0
- package/components/TagColor/enums.js +5 -0
- package/components/TagColor/index.js +5 -0
- package/components/TagColor/types.js +2 -0
- package/components/TagGroup/TagGroup.js +11 -11
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- 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 +27 -23
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +11 -6
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +5 -5
- package/components/TopOverlay/TopOverlay.js +6 -6
- 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 +17 -17
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +14 -14
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- 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 +560 -550
- package/consts/DateConst.js +1 -1
- package/consts/index.js +14 -0
- package/index.d.ts +186 -79
- package/index.js +579 -561
- package/package.json +12 -4
- package/styles/triplex-next.css +535 -528
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-D1ZooBvB.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CjWzaGb4.js +0 -11
- package/chunks/Confirm.module-DCsU0G6f.js +0 -15
- package/chunks/DropdownMobile.module-B-UZ3LiZ.js +0 -23
- package/chunks/Footer.module-lZvJ02_q.js +0 -9
- package/chunks/FormFieldInput-BnHKlreA.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-CWZIkcLe.js +0 -9
- package/chunks/HeaderTabs.module-C-ZA_mn1.js +0 -9
- package/chunks/IslandAccordion.module-h_O6zE1D.js +0 -26
- package/chunks/IslandWidgetFooter.module-Qje3BoKp.js +0 -9
- package/chunks/IslandWidgetHeader.module-CX_EFZUr.js +0 -9
- package/chunks/LightBoxContent-CzLiq8KE.js +0 -56
- package/chunks/LightBoxControls.module-BRiJRrAF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CCW9Lhhe.js +0 -8
- package/chunks/ListItemTail.module-BNCbqffO.js +0 -12
- package/chunks/ListMasterFooter.module-TZgSWuoA.js +0 -10
- package/chunks/ModalWindow.module-Bf1JWUeo.js +0 -17
- package/chunks/Notification.module-BRB3HPvc.js +0 -21
- package/chunks/Overlay.module-BPWZrFj3.js +0 -18
- package/chunks/Page.module-qLhls7XX.js +0 -11
- package/chunks/SMSInput.module-C87wEVmB.js +0 -16
- package/chunks/SliderExtendedMarks.module-DwPWr28H.js +0 -15
- package/chunks/StatusTracker.module-8ARjpbBi.js +0 -24
- package/chunks/TableFooter.module-DgtjRZYk.js +0 -14
- package/chunks/TabsExtended.module-B0_ktbZ6.js +0 -16
- package/chunks/TabsLine.module-DGic2tTZ.js +0 -21
- package/chunks/TooltipDesktop.module-krYzO0tT.js +0 -19
- package/chunks/TooltipMobileCloseButton-D5h1S51t.js +0 -20
- package/chunks/TreeView.module-7xjkN1j1.js +0 -9
- package/chunks/utils-Bg2EU04u.js +0 -36
- package/chunks/utils-CIob06mu.js +0 -20
- package/chunks/utils-TKCSmJUI.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
- package/components/SMSInput/SMSInput.js +0 -41
- package/components/SMSInput/components/SMSInputInput.js +0 -63
- package/components/SMSInput/components/SMSInputRefresh.js +0 -39
- package/components/SMSInput/components/SMSInputSubmit.js +0 -43
- package/components/SMSInput/components/SMSInputTooltip.js +0 -38
- package/components/SMSInput/index.js +0 -5
- /package/components/{SMSInput → SMSField}/components/SubmitIcon.js +0 -0
- /package/components/{SMSInput → SMSField}/types.js +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
+
import { c as m } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__d8771a4a", I = "circle__6a61e573", f = "squircle__e465f45f", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
8
|
squircle: f
|
|
9
|
-
},
|
|
9
|
+
}, _ = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, b = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
-
const l = m(t.buttonIcon,
|
|
14
|
+
const l = m(t.buttonIcon, _[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
b.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
b as ButtonIcon
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -2,7 +2,7 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import { a as I, k as D, c as R } from "../../chunks/vendor-
|
|
5
|
+
import { a as I, k as D, c as R } from "../../chunks/vendor-ClY57Zzq.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
8
8
|
import { ECalendarPickType as y, ECalendarViewMode as l } from "./enums.js";
|
|
@@ -12,7 +12,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
12
12
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
13
13
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
14
14
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
15
|
-
const q = "
|
|
15
|
+
const q = "calendar__1f7b113d", L = "adaptive__9f55cdff", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -136,7 +136,7 @@ class g extends V.PureComponent {
|
|
|
136
136
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
138
|
}), F = f(this.props.pickedDate, t);
|
|
139
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.10.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { k as a } from "../../chunks/vendor-
|
|
2
|
+
import { k as a } from "../../chunks/vendor-ClY57Zzq.js";
|
|
3
3
|
import { globalLimitRange as t, dateFormatYYYYMMDD as o } from "../../consts/DateConst.js";
|
|
4
4
|
import { ECalendarViewMode as r, ECalendarPickType as i } from "./enums.js";
|
|
5
5
|
const l = e.createContext({
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__1715c753", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__d335b471", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), b = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__d335b471", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__d335b471", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || O.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || O.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__d335b471", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const e = "
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__14b24987", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
|
-
}, t = ({ children:
|
|
4
|
+
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { k as c, c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { k as c, c as H } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
3
|
import { useContext as R, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
5
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
6
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-Y3UQ6liF.js";
|
|
8
8
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
10
10
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
3
|
import "react";
|
|
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-Y3UQ6liF.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as S, useCallback as O, useState as k, useEffect as F } from "react";
|
|
3
|
-
import { k as h } from "../../../chunks/vendor-
|
|
3
|
+
import { k as h } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as K, C as B } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-Y3UQ6liF.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as U, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as h, useCallback as C, useState as v, useEffect as F } from "react";
|
|
3
|
-
import { k as w } from "../../../chunks/vendor-
|
|
3
|
+
import { k as w } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
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-Y3UQ6liF.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as s } from "../../chunks/vendor-
|
|
1
|
+
import { k as s } from "../../chunks/vendor-ClY57Zzq.js";
|
|
2
2
|
import { globalLimitRange as f, headerDateFormat as i } from "../../consts/DateConst.js";
|
|
3
3
|
import { ECalendarViewMode as a } from "./enums.js";
|
|
4
4
|
function Y(e, r) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (
|
|
4
|
-
import { jsx as
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var R = (i, c, e) => c in i ? y(i, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[c] = e;
|
|
3
|
+
var o = (i, c, e) => R(i, typeof c != "symbol" ? c + "" : c, e);
|
|
4
|
+
import { jsx as T } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
|
-
import { CardContent as
|
|
7
|
-
import { CardMedia as
|
|
6
|
+
import { CardContent as _ } from "./components/CardContent/CardContent.js";
|
|
7
|
+
import { CardMedia as b } from "./components/CardMedia.js";
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } 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 f } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor-ClY57Zzq.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-t9A1wsgP.js";
|
|
14
|
+
const O = "action__e3fc8fc2", F = "selected__0ecd4dc2", V = "focusVisible__8860dca9", 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), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(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,27 +66,27 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state,
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
|
-
return /* @__PURE__ */
|
|
86
|
+
return /* @__PURE__ */ T(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,13 +96,13 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.10.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
o(l, "displayName", "CardAction"), o(l, "Content",
|
|
105
|
+
o(l, "displayName", "CardAction"), o(l, "Content", _), o(l, "Media", b);
|
|
106
106
|
export {
|
|
107
107
|
l as CardAction
|
|
108
108
|
};
|
|
@@ -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-ClY57Zzq.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-t9A1wsgP.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": "1.
|
|
24
|
+
"data-tx": "1.10.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-ClY57Zzq.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-t9A1wsgP.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-ClY57Zzq.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-t9A1wsgP.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-ClY57Zzq.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-t9A1wsgP.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-ClY57Zzq.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-t9A1wsgP.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-ClY57Zzq.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-t9A1wsgP.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,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__7d39b743", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
9
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, d = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(d, o) == !1 && m(d);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
n(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), n(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
@@ -1,52 +1,54 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { CheckboxbulkStrokeSrvIcon24 as
|
|
3
|
+
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
5
|
-
import { Text as
|
|
5
|
+
import { Text as C } from "../Typography/Text.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
7
|
-
import { ETextSize as
|
|
8
|
-
import { EComponentSize as
|
|
7
|
+
import { ETextSize as n } from "../Typography/enums.js";
|
|
8
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-ClY57Zzq.js";
|
|
11
|
+
const y = "label__f135e45b", M = "sm__110230a1", T = "nonempty__b07002c9", g = "md__c11cc076", B = "lg__571cb873", j = "disabled__1ccc3c8d", v = "checkbox__78382fde", D = "checkboxIcon__9fbc1a2e", E = "checkmarkIcon__4503834d", c = {
|
|
12
12
|
label: y,
|
|
13
|
-
|
|
14
|
-
nonempty:
|
|
15
|
-
|
|
13
|
+
sm: M,
|
|
14
|
+
nonempty: T,
|
|
15
|
+
md: g,
|
|
16
|
+
lg: B,
|
|
16
17
|
disabled: j,
|
|
17
18
|
checkbox: v,
|
|
18
|
-
checkboxIcon:
|
|
19
|
-
checkmarkIcon:
|
|
20
|
-
},
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
|
|
19
|
+
checkboxIcon: D,
|
|
20
|
+
checkmarkIcon: E
|
|
21
|
+
}, L = {
|
|
22
|
+
[s.LG]: n.B2,
|
|
23
|
+
[s.MD]: n.B3,
|
|
24
|
+
[s.SM]: n.B4
|
|
25
|
+
}, b = u(c), R = N.forwardRef((i, k) => {
|
|
24
26
|
const {
|
|
25
|
-
children:
|
|
26
|
-
className:
|
|
27
|
-
disabled:
|
|
28
|
-
bulk:
|
|
27
|
+
children: a,
|
|
28
|
+
className: p,
|
|
29
|
+
disabled: m,
|
|
30
|
+
bulk: d,
|
|
29
31
|
labelAttributes: o,
|
|
30
|
-
size:
|
|
32
|
+
size: t = s.MD,
|
|
31
33
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
34
|
+
} = i, h = r(c.checkbox, p, b[t]), _ = r(
|
|
35
|
+
c.label,
|
|
36
|
+
b[t],
|
|
37
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!a },
|
|
36
38
|
o == null ? void 0 : o.className
|
|
37
39
|
), f = () => {
|
|
38
|
-
const
|
|
39
|
-
return
|
|
40
|
+
const l = c.checkmarkIcon;
|
|
41
|
+
return d ? /* @__PURE__ */ e(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ e(z, { className: l, paletteIndex: 7 });
|
|
40
42
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.10.0", children: [
|
|
44
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
44
46
|
f(),
|
|
45
|
-
|
|
47
|
+
a && /* @__PURE__ */ e(C, { size: L[t], children: a })
|
|
46
48
|
] });
|
|
47
49
|
});
|
|
48
|
-
|
|
50
|
+
R.displayName = "Checkbox";
|
|
49
51
|
export {
|
|
50
|
-
|
|
52
|
+
R as Checkbox
|
|
51
53
|
};
|
|
52
54
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
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__ */
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
+
const r = "checkboxXGroup__2df11a06", _ = "label__f135e45b", e = {
|
|
4
|
+
checkboxXGroup: r,
|
|
5
|
+
"indent-12": "indent-12__45812708",
|
|
6
|
+
label: _,
|
|
7
|
+
"indent-16": "indent-16__ac3c623e",
|
|
8
|
+
"indent-20": "indent-20__aa992956",
|
|
9
|
+
"indent-24": "indent-24__a3b32b9d",
|
|
10
|
+
"indent-28": "indent-28__49137fe7",
|
|
11
|
+
"indent-32": "indent-32__1eae4bca"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: t, className: c, indent: o = 12, ...s } = n, a = i(e.checkboxXGroup, e[`indent-${o}`], c);
|
|
14
|
+
return /* @__PURE__ */ d("div", { className: a, role: "group", ...s, 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-ClY57Zzq.js";
|
|
3
|
+
const a = "checkboxYGroup__6955805c", 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, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ p("div", { className: e, role: "group", ...r, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -2,8 +2,8 @@ import { jsx as x } from "react/jsx-runtime";
|
|
|
2
2
|
import { CollapsableTree as m } from "../CollapsableTree/CollapsableTree.js";
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as t } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as d } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { s } from "../../chunks/CheckboxTreeExtended.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-ClY57Zzq.js";
|
|
6
|
+
import { s } from "../../chunks/CheckboxTreeExtended.module-BMfgVvwS.js";
|
|
7
7
|
const e = ({ className: o, ...r }) => /* @__PURE__ */ x(m, { className: c(s.checkboxTreeExtended, o), ...r });
|
|
8
8
|
e.displayName = "CheckboxTreeExtended";
|
|
9
9
|
e.Checkbox = t;
|
|
@@ -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 d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-BMfgVvwS.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -4,8 +4,8 @@ var s = (c, o, e) => x(c, typeof o != "symbol" ? o + "" : o, e);
|
|
|
4
4
|
import { jsx as b } from "react/jsx-runtime";
|
|
5
5
|
import d from "react";
|
|
6
6
|
import { Checkbox as m } from "../../Checkbox/Checkbox.js";
|
|
7
|
-
import { c as p } from "../../../chunks/vendor-
|
|
8
|
-
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-
|
|
7
|
+
import { c as p } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
8
|
+
import { s as a } from "../../../chunks/CheckboxTreeExtended.module-BMfgVvwS.js";
|
|
9
9
|
class v extends d.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -5,9 +5,9 @@ import { jsx as p, jsxs as l } from "react/jsx-runtime";
|
|
|
5
5
|
import h from "react";
|
|
6
6
|
import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
7
|
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
8
|
-
import { c as u } from "../../../chunks/vendor-
|
|
8
|
+
import { c as u } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
9
9
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-
|
|
10
|
+
import { s as n } from "../../../chunks/CheckboxTreeExtended.module-BMfgVvwS.js";
|
|
11
11
|
class D extends h.Component {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments);
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-21qt-Ukl.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|