@sberbusiness/triplex-next 1.6.1 → 1.7.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-Ce_8Yuvv.js +39 -0
- package/chunks/{CalendarViewItem-BoFDPLNT.js → CalendarViewItem-BDMvwpK5.js} +17 -17
- package/chunks/Card.module-BvlTqE5R.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DsOQXTb2.js +11 -0
- package/chunks/{Chip-C91-I9zb.js → Chip-eRAmMCbK.js} +5 -5
- package/chunks/Confirm.module-BQvs_z36.js +15 -0
- package/chunks/{DropdownListItem-PbfrmOZJ.js → DropdownListItem-DjvVx10v.js} +18 -18
- package/chunks/DropdownMobile.module-CEPFt9uH.js +21 -0
- package/chunks/Footer.module-CXnDx0Qq.js +9 -0
- package/chunks/{FormFieldInput-BL8yYnKo.js → FormFieldInput-Dc0f4nno.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-CHV51xUH.js +9 -0
- package/chunks/HeaderTabs.module-T3W10WU8.js +9 -0
- package/chunks/{HeaderTitle.module-29jwPQr2.js → HeaderTitle.module-B6qQsh69.js} +2 -2
- package/chunks/IslandAccordion.module-DoM2x4VR.js +26 -0
- package/chunks/IslandWidgetFooter.module-qNMIN4zr.js +9 -0
- package/chunks/IslandWidgetHeader.module-DUf_HV96.js +9 -0
- package/chunks/{LightBoxContent-D9VFXK17.js → LightBoxContent--MHZ9Gkl.js} +14 -14
- package/chunks/LightBoxControls.module-C3_q74nl.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D66ESS7b.js +8 -0
- package/chunks/{ListItemControlsButton-DnuVSFV7.js → ListItemControlsButton-CDyUDFUr.js} +5 -5
- package/chunks/ListItemTail.module-DYbacvAR.js +12 -0
- package/chunks/ListMasterFooter.module-ghOvyA19.js +10 -0
- package/chunks/ModalWindow.module-CvIIBPzJ.js +17 -0
- package/chunks/Notification.module-DrKXO_L0.js +21 -0
- package/chunks/Overlay.module-B4exkEG2.js +18 -0
- package/chunks/Page.module-CvSterCP.js +11 -0
- package/chunks/{RightBorderArrow-esMRIv7g.js → RightBorderArrow-B-QGBlRY.js} +8 -8
- package/chunks/SMSInput.module-DkPfMZWv.js +16 -0
- package/chunks/SliderExtendedMarks.module-DZlxonFv.js +15 -0
- package/chunks/SliderExtendedRail-VV02EHbt.js +40 -0
- package/chunks/StatusTracker.module-BzVEt7sh.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CpoZIQ7a.js → SuggestFieldMobileDropdownHint-CW9LKnIb.js} +4 -4
- package/chunks/TableFooter.module-DKNnDtzT.js +14 -0
- package/chunks/TabsExtended.module-BQKnCc6i.js +16 -0
- package/chunks/TabsLine.module-Cr-x0ll4.js +23 -0
- package/chunks/TooltipDesktop.module-D3epe_HW.js +19 -0
- package/chunks/{TooltipMobileCloseButton-Bdw8P_WT.js → TooltipMobileCloseButton-BCyljTIq.js} +7 -7
- package/chunks/TreeView.module-BXfRfHL4.js +9 -0
- package/chunks/{UploadZoneInput-Cr1wEu6A.js → UploadZoneInput-DNhfVDyP.js} +5 -5
- package/chunks/{utils-GixgRYNn.js → utils-BY1yN3Hq.js} +9 -9
- package/chunks/{utils-DpVkLh52.js → utils-BtnGErpx.js} +4 -4
- package/chunks/utils-CR8DYAi0.js +73 -0
- package/chunks/{utils-PII_juCp.js → utils-D9oDaQiI.js} +7 -7
- package/chunks/utils-DQX5JZ_3.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +2 -2
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +8 -25
- package/components/Body/index.js +2 -4
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +14 -14
- 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 +6 -6
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- 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 +1 -1
- package/components/Chip/ChipClearButton.js +8 -8
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +91 -0
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +34 -0
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +3 -3
- 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/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +36 -31
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +42 -37
- package/components/DesignTokens/components/IslandWidget.js +14 -0
- package/components/DesignTokens/components/index.js +63 -60
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +8 -8
- package/components/Dropdown/desktop/DropdownDesktop.js +12 -12
- 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/ExpandAnimation/ExpandAnimation.js +19 -19
- 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 +10 -10
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +4 -4
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +15 -15
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- 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 +31 -31
- package/components/HelpBox/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +51 -0
- package/components/IslandWidget/IslandWidgetContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -0
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +23 -0
- package/components/IslandWidget/components/IslandWidgetFooter.js +13 -0
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +11 -0
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +11 -0
- package/components/IslandWidget/components/IslandWidgetHeader.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +13 -0
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +13 -0
- package/components/IslandWidget/components/IslandWidgetWrapper.js +17 -0
- package/components/IslandWidget/components/index.js +15 -0
- package/components/IslandWidget/index.js +17 -0
- package/components/LightBox/LightBox.js +6 -5
- 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 +62 -65
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/enums.js +5 -0
- package/components/LightBox/LightBoxSideOverlay/index.js +7 -0
- package/components/LightBox/index.js +7 -3
- package/components/Link/Link.js +14 -14
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +9 -9
- 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 +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +1 -1
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +37 -36
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +15 -9
- package/components/ModalWindow/components/ModalWindowHeader.js +5 -5
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +3 -3
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- 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/NotificationBodyContent.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 +5 -5
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +22 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +5 -3
- package/components/Page/index.js +7 -5
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +4 -4
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +9 -9
- package/components/SMSInput/SMSInput.js +2 -2
- package/components/SMSInput/components/RefreshIcon.js +1 -1
- package/components/SMSInput/components/SMSInputInput.js +2 -2
- package/components/SMSInput/components/SMSInputRefresh.js +1 -1
- package/components/SMSInput/components/SMSInputSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +3 -3
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +13 -13
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +8 -8
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +16 -16
- 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 +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +12 -12
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +2 -2
- 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 +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- 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 +2 -2
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +5 -5
- 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 +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +1 -1
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +20 -20
- 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 +23 -23
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- 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 +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +15 -15
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +14 -14
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +4 -4
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +559 -528
- package/index.d.ts +266 -21
- package/index.js +410 -363
- package/package.json +9 -1
- package/styles/triplex-next.css +529 -527
- package/utils/index.js +30 -0
- package/chunks/AlertProcessSpoiler-Dq0fm-3a.js +0 -39
- package/chunks/Card.module-xUBtHcBW.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CzX04UVi.js +0 -11
- package/chunks/Confirm.module-yvrei2lL.js +0 -15
- package/chunks/DropdownMobile.module-CvDbPL9W.js +0 -21
- package/chunks/Footer.module-Kij9_qbS.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPvbS61i.js +0 -9
- package/chunks/HeaderTabs.module-xhlfJ1R9.js +0 -9
- package/chunks/IslandAccordion.module-C7SBNJJJ.js +0 -26
- package/chunks/LightBoxControls.module-C76N_yWS.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CwTd-n3M.js +0 -8
- package/chunks/ListItemTail.module-DE8OWHba.js +0 -12
- package/chunks/ListMasterFooter.module-FTLh0QAQ.js +0 -10
- package/chunks/ModalWindow.module-C7N9wjxW.js +0 -17
- package/chunks/Notification.module-ByRBfuR2.js +0 -21
- package/chunks/Overlay.module-EIMAbb4c.js +0 -18
- package/chunks/Page.module-BokYwJr5.js +0 -12
- package/chunks/SMSInput.module-5r7uaeim.js +0 -16
- package/chunks/SliderExtendedMarks.module-D1DTVGpV.js +0 -15
- package/chunks/SliderExtendedRail-Ck23Ui6E.js +0 -40
- package/chunks/StatusTracker.module-D1-siBfk.js +0 -24
- package/chunks/TableFooter.module-D8h1OLCP.js +0 -14
- package/chunks/TabsExtended.module-Dvvx9orv.js +0 -16
- package/chunks/TabsLine.module-BW1667el.js +0 -23
- package/chunks/TooltipDesktop.module-E3qNKUvc.js +0 -19
- package/chunks/TreeView.module-CKfLtgeC.js +0 -9
- package/chunks/utils-BGuB8cgl.js +0 -73
- package/chunks/utils-BJhZJ9SO.js +0 -24
- package/components/Body/enums.js +0 -5
package/components/Body/Body.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
verticalMargin16: M
|
|
10
|
-
}, b = {
|
|
11
|
-
[r.LARGE]: a.verticalMargin24,
|
|
12
|
-
[r.SMALL]: a.verticalMargin16
|
|
13
|
-
}, v = d.forwardRef(
|
|
14
|
-
({ children: c, className: i, verticalMargin: t = r.LARGE, ...n }, e) => /* @__PURE__ */ o(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
className: s(a.body, i, b[t]),
|
|
18
|
-
...n,
|
|
19
|
-
"data-tx": "1.6.1",
|
|
20
|
-
ref: e,
|
|
21
|
-
children: /* @__PURE__ */ o("div", { className: a.bodyInner, children: c })
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
);
|
|
25
|
-
v.displayName = "Body";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const y = "body__f52f6de5", c = "bodyInner__c26344ff", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, f = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: a(d.body, r), ...s, "data-tx": "1.7.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
f.displayName = "Body";
|
|
26
9
|
export {
|
|
27
|
-
|
|
10
|
+
f as Body
|
|
28
11
|
};
|
|
29
12
|
//# sourceMappingURL=Body.js.map
|
package/components/Body/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as b } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
|
-
import { EButtonTheme as
|
|
8
|
+
import { EButtonTheme as o } from "./enums.js";
|
|
9
9
|
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "general__14126cca", B = "expanded__b4ecc60a", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__41a87dcf", T = "expanded__b4ecc60a", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__c2babadb", I = "expanded__b4ecc60a", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__7d4b98a7", O = "expanded__b4ecc60a", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__1a702809", $ = "expanded__b4ecc60a", y = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__477383a0", z = "sm__81bcb335", M = "icon__6d2047ae", j = "md__8b3fdeb9", H = "lg__4c1d5c1e", K = "block__efdc8eec", U = "content__2b628142", q = "loading__d74e4b38", F = "loader__a392fd73", J = "hidden__6c058559", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,27 +35,27 @@ const A = "general__b74518ad", B = "expanded__2dcf6d95", u = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
39
|
-
return { [
|
|
40
|
-
case
|
|
38
|
+
case o.GENERAL:
|
|
39
|
+
return { [g.general]: !0, [g.expanded]: n };
|
|
40
|
+
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[u.secondary]: !0,
|
|
43
|
+
[u.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
47
|
[x.secondaryLight]: !0,
|
|
48
48
|
[x.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case o.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[h.danger]: !0,
|
|
53
53
|
[h.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case o.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[y.link]: !0,
|
|
58
|
+
[y.expanded]: n
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
@@ -68,30 +68,30 @@ const A = "general__b74518ad", B = "expanded__2dcf6d95", u = {
|
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const c = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? b.BRAND : b.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ f(R, { theme: c, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: c, className: N, disabled: s, theme: r, size: l = a.MD, block: L, loading: d, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!d },
|
|
79
|
+
{ [e.icon]: !!i && !c },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!s
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: d ? -1 : void 0, disabled: s, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
c
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ f("div", { className: p(e.loader, !d && e.hidden), children: V(r, l) })
|
|
95
95
|
] });
|
|
96
96
|
});
|
|
97
97
|
W.displayName = "Button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.7.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -18,7 +18,7 @@ import { Text as ce } from "../Typography/Text.js";
|
|
|
18
18
|
import { ETextSize as se } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
21
|
-
const le = "
|
|
21
|
+
const le = "buttonDropdown__5b400bf9", de = "block__efdc8eec", ie = "buttonDropdownTarget__e81824c9", me = "caretIcon__0016250e", ue = "active__2f4077df", De = "buttonDropdownMenuItem__490d9717", n = {
|
|
22
22
|
buttonDropdown: le,
|
|
23
23
|
block: de,
|
|
24
24
|
buttonDropdownTarget: ie,
|
|
@@ -4,11 +4,11 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__446e3239", S = "buttonDropdownExtendedBlock__9e889048", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className: v, opened: x, setOpened: c, renderButton:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: k, renderDropdown: b, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__7887ea82", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__7887ea82", S = "buttonDropdownExtendedBlock__
|
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
38
|
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
k({ opened: e, setOpened: o }),
|
|
41
|
+
b({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -2,16 +2,16 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
5
|
+
const f = "buttonIcon__2ef3ea1c", p = "circle__0c4f0a45", I = "squircle__f1a9b2e0", t = {
|
|
6
|
+
buttonIcon: f,
|
|
7
7
|
circle: p,
|
|
8
8
|
squircle: I
|
|
9
|
-
},
|
|
9
|
+
}, b = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
12
|
}, _ = 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, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
@@ -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__331ead25", L = "adaptive__03632f7a", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -133,10 +133,10 @@ class g extends V.PureComponent {
|
|
|
133
133
|
nextButtonProps: u,
|
|
134
134
|
viewButtonProps: C,
|
|
135
135
|
todayButtonProps: T
|
|
136
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
136
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
138
|
+
}), b = f(this.props.pickedDate, t);
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.7.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -165,7 +165,7 @@ class g extends V.PureComponent {
|
|
|
165
165
|
/* @__PURE__ */ h(
|
|
166
166
|
N,
|
|
167
167
|
{
|
|
168
|
-
pickedDate:
|
|
168
|
+
pickedDate: b,
|
|
169
169
|
dayHtmlAttributes: e,
|
|
170
170
|
monthHtmlAttributes: s,
|
|
171
171
|
yearHtmlAttributes: i
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
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__af99d750", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__99bbbc74", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -4,7 +4,7 @@ import { useContext as R, useCallback as O, useState as L, useEffect as q } from
|
|
|
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-BDMvwpK5.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";
|
|
@@ -4,7 +4,7 @@ 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-BDMvwpK5.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { k as h } from "../../../chunks/vendor-D3hUOusX.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-BDMvwpK5.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 = {} }) => {
|
|
@@ -4,7 +4,7 @@ import { k as w } from "../../../chunks/vendor-D3hUOusX.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-BDMvwpK5.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,17 +1,17 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
4
|
-
import { jsx as
|
|
2
|
+
var b = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => b(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
|
-
import { CardContent as
|
|
7
|
-
import { CardMedia as
|
|
6
|
+
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
7
|
+
import { CardMedia as _ } 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
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-D3hUOusX.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-BvlTqE5R.js";
|
|
14
|
+
const O = "action__401129da", F = "selected__4ca016d1", V = "focusVisible__b0ccedd8", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,7 +66,7 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -76,14 +76,14 @@ class l extends u.Component {
|
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
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__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
className: N,
|
|
@@ -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.7.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", T), o(l, "Media", _);
|
|
106
106
|
export {
|
|
107
107
|
l as CardAction
|
|
108
108
|
};
|
|
@@ -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-D3hUOusX.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-BvlTqE5R.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.7.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-D3hUOusX.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-BvlTqE5R.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-D3hUOusX.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BvlTqE5R.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-D3hUOusX.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-BvlTqE5R.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-D3hUOusX.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-BvlTqE5R.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-D3hUOusX.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-BvlTqE5R.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
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__4f2e2f2d", 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,4 +1,4 @@
|
|
|
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
3
|
import { CheckboxbulkStrokeSrvIcon24 as z, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -8,7 +8,7 @@ import { ETextSize as l } from "../Typography/enums.js";
|
|
|
8
8
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
-
const y = "
|
|
11
|
+
const y = "label__88c4ddf3", T = "md__5c99e209", M = "nonempty__3058818d", g = "lg__d010dfad", j = "disabled__c30d8306", v = "checkbox__2b3cc305", B = "checkboxIcon__12ace6a0", D = "checkmarkIcon__228c92f3", c = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,29 +20,29 @@ const y = "label__f9fc3a1a", T = "md__688a298c", M = "nonempty__92f6bad9", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, d = u(c), L = N.forwardRef((i, k) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: b,
|
|
27
27
|
disabled: n,
|
|
28
28
|
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
32
|
+
} = i, h = r(c.checkbox, b, d[a]), _ = r(
|
|
33
|
+
c.label,
|
|
34
|
+
d[a],
|
|
35
|
+
{ [c.disabled]: !!n, [c.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
37
|
), f = () => {
|
|
38
|
-
const m =
|
|
39
|
-
return p ? /* @__PURE__ */
|
|
38
|
+
const m = c.checkmarkIcon;
|
|
39
|
+
return p ? /* @__PURE__ */ e(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.7.0", children: [
|
|
42
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: n, ...x, ref: k }),
|
|
43
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
44
44
|
f(),
|
|
45
|
-
s && /* @__PURE__ */
|
|
45
|
+
s && /* @__PURE__ */ e(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
48
48
|
L.displayName = "Checkbox";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
const _ = "
|
|
3
|
+
const _ = "checkboxXGroup__081c4f8e", a = "label__88c4ddf3", e = {
|
|
4
4
|
checkboxXGroup: _,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__2ce34b69",
|
|
6
6
|
label: a,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
},
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children:
|
|
7
|
+
"indent-16": "indent-16__eafba112",
|
|
8
|
+
"indent-20": "indent-20__808be847",
|
|
9
|
+
"indent-24": "indent-24__ce440d62",
|
|
10
|
+
"indent-28": "indent-28__929e2222",
|
|
11
|
+
"indent-32": "indent-32__181eebb4"
|
|
12
|
+
}, b = (n) => {
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
b.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
b as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
-
const a = "
|
|
3
|
+
const a = "checkboxYGroup__cdf024c5", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
6
|
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|