@sberbusiness/triplex-next 1.8.0 → 1.9.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-D8OxE3FA.js +39 -0
- package/chunks/CalendarViewItem-DXg4wwUA.js +101 -0
- package/chunks/Card.module-CDb8O5wa.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D8lQSOEb.js +11 -0
- package/chunks/{Chip-CCv72AgN.js → Chip-DXegvfGS.js} +9 -9
- package/chunks/Confirm.module-ySc3irOD.js +15 -0
- package/chunks/{DropdownListItem-BcXHt5bk.js → DropdownListItem-ToJzPBLf.js} +18 -18
- package/chunks/DropdownMobile.module-B25s43In.js +23 -0
- package/chunks/Footer.module-CzmEZNfz.js +9 -0
- package/chunks/{FormFieldInput-BnHKlreA.js → FormFieldInput-kWDtKz1V.js} +8 -8
- package/chunks/HeaderLayoutSidebar.module-C6GIAW7a.js +9 -0
- package/chunks/HeaderTabs.module-BP4HQoDS.js +9 -0
- package/chunks/{HeaderTitle.module-0YuV_UNN.js → HeaderTitle.module-DlPGCmxi.js} +2 -2
- package/chunks/IslandAccordion.module-DDPPsI1j.js +25 -0
- package/chunks/IslandWidgetFooter.module-BGcZce5D.js +9 -0
- package/chunks/IslandWidgetHeader.module-BMvYg9LN.js +9 -0
- package/chunks/LightBoxContent-BhFPV40j.js +56 -0
- package/chunks/LightBoxControls.module-B71hMR9E.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Bzi7uEUG.js +8 -0
- package/chunks/{ListItemControlsButton-BB9ENDS-.js → ListItemControlsButton-BoYzfwDC.js} +9 -9
- package/chunks/ListItemTail.module-D2THwLyb.js +12 -0
- package/chunks/ListMasterFooter.module-CQmunIov.js +10 -0
- package/chunks/ModalWindow.module-BhR9VsYm.js +17 -0
- package/chunks/Notification.module-BHnUAhdM.js +21 -0
- package/chunks/Overlay.module-BHV5h0kp.js +18 -0
- package/chunks/Page.module-DcF12bw0.js +11 -0
- package/chunks/{RightBorderArrow-BsoQkq2D.js → RightBorderArrow-DmvKTu6m.js} +11 -11
- package/chunks/SMSInput.module-qYyAcTFr.js +16 -0
- package/chunks/SliderExtendedMarks.module-CNaKOqZQ.js +15 -0
- package/chunks/{SliderExtendedRail-DCMgHGfh.js → SliderExtendedRail-45DAsx7v.js} +7 -7
- package/chunks/StatusTracker.module-BA-WFHqo.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BEzPFmOF.js → SuggestFieldMobileDropdownHint-CSddz7zn.js} +4 -4
- package/chunks/TableFooter.module-D6jJ4Btm.js +14 -0
- package/chunks/TabsExtended.module-C87bijNv.js +16 -0
- package/chunks/TabsLine.module-D_ARvYGg.js +21 -0
- package/chunks/TooltipDesktop.module-CehOLtFg.js +19 -0
- package/chunks/{TooltipMobileCloseButton-D5h1S51t.js → TooltipMobileCloseButton-CJByOYY4.js} +7 -7
- package/chunks/TreeView.module-B6tUzJoC.js +9 -0
- package/chunks/{UploadZoneInput-BES4iuW5.js → UploadZoneInput-D8diOBuf.js} +2 -2
- package/chunks/{utils-D2zZhfuB.js → utils--cyZSVhM.js} +7 -7
- package/chunks/utils-3xY20XDV.js +24 -0
- package/chunks/utils-BCJ-APtm.js +20 -0
- package/chunks/{utils-Bg2EU04u.js → utils-BvGDcicX.js} +4 -4
- package/chunks/{utils-DRFlp8Cg.js → utils-tUaA-zN1.js} +11 -11
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +17 -17
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- 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 +21 -21
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- 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 +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/components/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -22
- 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 +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- 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 +13 -11
- package/components/ChipGroup/ChipGroup.js +12 -12
- package/components/Col/Col.js +134 -134
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- 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 +6 -6
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +24 -22
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +20 -18
- package/components/DesignTokens/components/Calendar.js +6 -4
- package/components/DesignTokens/components/TabsLine.js +0 -9
- package/components/DesignTokens/components/TagColor.js +26 -0
- package/components/DesignTokens/components/index.js +27 -24
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +4 -4
- 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 +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- 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 +22 -22
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +24 -24
- package/components/FormField/components/FormFieldTextarea.js +1 -1
- 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 +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +73 -81
- package/components/IslandWidget/IslandWidget.js +13 -13
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +5 -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 +10 -10
- 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/Link/Link.js +31 -31
- package/components/List/List.js +7 -7
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +8 -8
- 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 +11 -11
- 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 +1 -1
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +7 -7
- 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 +5 -5
- 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 +12 -12
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +16 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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/NotificationIcon/NotificationIcon.js +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +2 -2
- 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 +14 -14
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- 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 +10 -10
- package/components/Radio/RadioXGroup.js +7 -7
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +5 -5
- 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 +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +9 -9
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +7 -7
- 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 +9 -9
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +1 -1
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +19 -19
- 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 +17 -17
- package/components/Table/NoColumns.js +5 -5
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +7 -7
- 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 +6 -6
- 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 +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +79 -55
- package/components/TabsLine/components/TabsLineItem.js +55 -23
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/TabsLine/utils.js +11 -0
- package/components/Tag/Tag.js +1 -1
- 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 +9 -9
- 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 +16 -16
- 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 +12 -12
- 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 +6 -6
- package/components/Typography/Text.js +12 -12
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- 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 +512 -510
- package/index.d.ts +29 -3
- package/index.js +545 -543
- package/package.json +5 -1
- package/styles/triplex-next.css +533 -528
- package/chunks/AlertProcessSpoiler-C7qEZRwB.js +0 -39
- package/chunks/CalendarViewItem-CUPkQFFY.js +0 -101
- 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/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/TreeView.module-7xjkN1j1.js +0 -9
- package/chunks/utils-CIob06mu.js +0 -20
- package/chunks/utils-TKCSmJUI.js +0 -24
- package/components/Chip/ChipSelect.js +0 -55
|
@@ -2,27 +2,27 @@ import { jsxs as m, jsx as y } 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
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
8
|
+
import { EButtonTheme as d } from "./enums.js";
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__ed11e048", B = "expanded__9d644bc8", g = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__831a87d2", T = "expanded__9d644bc8", u = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__3b458f98", I = "expanded__9d644bc8", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__80bdd930", O = "expanded__9d644bc8", h = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__847afb50", $ = "expanded__9d644bc8", f = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__1ed8a1f5", z = "sm__c38bb2f2", M = "icon__a5f79d8e", j = "md__a9166609", H = "lg__21df9902", K = "block__3b97a234", U = "content__c9cbdebc", q = "loading__6f00487b", F = "loader__4d6e10a2", J = "hidden__512f21f9", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,47 +35,47 @@ const A = "general__9dcee38d", B = "expanded__f52bfa9e", g = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
38
|
+
case d.GENERAL:
|
|
39
39
|
return { [g.general]: !0, [g.expanded]: n };
|
|
40
|
-
case
|
|
40
|
+
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
42
|
[u.secondary]: !0,
|
|
43
43
|
[u.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[b.expanded]: n
|
|
49
|
-
};
|
|
50
|
-
case a.DANGER:
|
|
51
|
-
return {
|
|
52
|
-
[x.danger]: !0,
|
|
47
|
+
[x.secondaryLight]: !0,
|
|
53
48
|
[x.expanded]: n
|
|
54
49
|
};
|
|
55
|
-
case
|
|
50
|
+
case d.DANGER:
|
|
56
51
|
return {
|
|
57
|
-
[h.
|
|
52
|
+
[h.danger]: !0,
|
|
58
53
|
[h.expanded]: n
|
|
59
54
|
};
|
|
55
|
+
case d.LINK:
|
|
56
|
+
return {
|
|
57
|
+
[f.link]: !0,
|
|
58
|
+
[f.expanded]: n
|
|
59
|
+
};
|
|
60
60
|
}
|
|
61
61
|
}, Q = (t) => {
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case s.LG:
|
|
64
64
|
return e.lg;
|
|
65
|
-
case
|
|
65
|
+
case s.MD:
|
|
66
66
|
return e.md;
|
|
67
|
-
case
|
|
67
|
+
case s.SM:
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const o = [
|
|
71
|
+
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ? b.BRAND : b.NEUTRAL;
|
|
72
72
|
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children: o, className: N, disabled: c, theme: r, size: l =
|
|
74
|
+
const { children: o, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, 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]: !!
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!a },
|
|
79
79
|
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
@@ -86,12 +86,12 @@ const A = "general__9dcee38d", B = "expanded__f52bfa9e", g = {
|
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
87
|
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: a ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
92
|
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className: p(e.loader, !
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !a && 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.9.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -13,12 +13,12 @@ import { DropdownMobileHeader as to } from "../Dropdown/mobile/DropdownMobileHea
|
|
|
13
13
|
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
14
14
|
import { DropdownMobileList as ro } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
15
15
|
import { DropdownMobileListItem as no } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
|
-
import { DropdownMobileClose as
|
|
17
|
-
import { Text as
|
|
16
|
+
import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
17
|
+
import { Text as ao } from "../Typography/Text.js";
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__4c19165a", io = "block__3b97a234", mo = "buttonDropdownTarget__5fd4da61", uo = "caretIcon__1799f96b", Do = "active__125fef73", fo = "buttonDropdownMenuItem__d2c781f4", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -29,17 +29,17 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
29
29
|
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
30
|
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
31
|
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
32
|
-
}, g = (p,
|
|
33
|
-
(p,
|
|
32
|
+
}, g = (p, c) => p === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : p === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), bo = F.forwardRef(
|
|
33
|
+
(p, c) => {
|
|
34
34
|
const { buttonAttributes: R, children: h, className: z, theme: b, size: s, options: C, selected: i, block: S, disabled: T, ...G } = p, k = I(null), v = I(null), W = w(n.buttonDropdown, { [n.block]: !!S }, z), [N, H] = V(), _ = I(J()), P = ({ opened: o, setOpened: r }) => {
|
|
35
|
-
const
|
|
35
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
38
38
|
});
|
|
39
39
|
return /* @__PURE__ */ B(
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
|
-
className:
|
|
42
|
+
className: a,
|
|
43
43
|
theme: b,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
@@ -58,14 +58,14 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}, K = ({ opened: o, setOpened: r }) => {
|
|
61
|
-
const
|
|
61
|
+
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
62
62
|
[n.active]: o,
|
|
63
63
|
[n.block]: !!S
|
|
64
64
|
});
|
|
65
65
|
return /* @__PURE__ */ t(
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
68
|
+
className: a,
|
|
69
69
|
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
@@ -80,9 +80,9 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
80
80
|
icon: po[s]
|
|
81
81
|
}
|
|
82
82
|
);
|
|
83
|
-
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (
|
|
84
|
-
const { key: l } =
|
|
85
|
-
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) &&
|
|
83
|
+
}, E = ({ opened: o, setOpened: r }) => () => r(!o), A = ({ opened: o, setOpened: r }) => (a) => {
|
|
84
|
+
const { key: l } = a;
|
|
85
|
+
(D(l, "SPACE") || D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && a.preventDefault(), !o && (D(l, "ARROW_UP") || D(l, "ARROW_DOWN")) && r(!0);
|
|
86
86
|
}, j = () => {
|
|
87
87
|
switch (b) {
|
|
88
88
|
case d.GENERAL:
|
|
@@ -96,8 +96,8 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
96
96
|
default:
|
|
97
97
|
return null;
|
|
98
98
|
}
|
|
99
|
-
}, U = ({ opened: o, setOpened: r, className:
|
|
100
|
-
const l = w(n.buttonDropdownMenu,
|
|
99
|
+
}, U = ({ opened: o, setOpened: r, className: a }) => {
|
|
100
|
+
const l = w(n.buttonDropdownMenu, a);
|
|
101
101
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
102
102
|
y.Dropdown,
|
|
103
103
|
{
|
|
@@ -112,8 +112,8 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
112
112
|
/* @__PURE__ */ t(
|
|
113
113
|
to,
|
|
114
114
|
{
|
|
115
|
-
controlButtons: /* @__PURE__ */ t(
|
|
116
|
-
children: /* @__PURE__ */ t(
|
|
115
|
+
controlButtons: /* @__PURE__ */ t(co, { onClick: () => r(!1) }),
|
|
116
|
+
children: /* @__PURE__ */ t(ao, { tag: "div", size: so.B3, children: h })
|
|
117
117
|
}
|
|
118
118
|
),
|
|
119
119
|
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ro, { children: C.map((e) => /* @__PURE__ */ x(
|
|
@@ -148,7 +148,7 @@ const lo = "buttonDropdown__e5b3340f", io = "block__a09f3250", mo = "buttonDropd
|
|
|
148
148
|
}
|
|
149
149
|
) });
|
|
150
150
|
}, O = (o) => {
|
|
151
|
-
k.current = o, typeof
|
|
151
|
+
k.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
152
152
|
};
|
|
153
153
|
return /* @__PURE__ */ t(
|
|
154
154
|
y,
|
|
@@ -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__b95ea993", S = "buttonDropdownExtendedBlock__d9d838b1", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: b, opened: v, setOpened: c, renderButton: x, renderDropdown: k, 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 ? !!v : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,19 +25,19 @@ const K = "buttonDropdownExtended__486e19ef", 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, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, b);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
x({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -2,14 +2,14 @@ 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 p = "
|
|
5
|
+
const p = "buttonIcon__d16a67a6", I = "circle__6dc89a71", _ = "squircle__013e0617", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
|
-
squircle:
|
|
8
|
+
squircle: _
|
|
9
9
|
}, b = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, f = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
14
|
const l = m(t.buttonIcon, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
@@ -18,8 +18,8 @@ const p = "buttonIcon__dc8b4f11", I = "circle__32aedc46", f = "squircle__eaadef6
|
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
f.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
f as ButtonIcon
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -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__106092e2", L = "adaptive__9f96593b", 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.9.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -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__a7d0e907", 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__25acfce7", 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
|
|
@@ -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-DXg4wwUA.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-DXg4wwUA.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-DXg4wwUA.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-DXg4wwUA.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
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
4
|
-
import { jsx as
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var R = (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) => R(c, typeof i != "symbol" ? i + "" : i, 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
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-CDb8O5wa.js";
|
|
14
|
+
const O = "action__a80c06ec", F = "selected__96f618ac", V = "focusVisible__6ae1a133", n = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -38,16 +38,16 @@ class l extends u.Component {
|
|
|
38
38
|
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
|
-
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current:
|
|
42
|
-
s == null || s(e), !t &&
|
|
41
|
+
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: a } = this.ref;
|
|
42
|
+
s == null || s(e), !t && a === e.target && this.setState({ focusSource: r.KEYBOARD });
|
|
43
43
|
});
|
|
44
44
|
o(this, "handleBlur", (e) => {
|
|
45
45
|
const { onBlur: s } = this.props, { current: t } = this.ref;
|
|
46
46
|
s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
|
|
47
47
|
});
|
|
48
48
|
o(this, "handleToggle", () => {
|
|
49
|
-
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled:
|
|
50
|
-
|
|
49
|
+
const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: a, isSelected: d } = this.state;
|
|
50
|
+
a ? e == null || e(!s) : this.setState(
|
|
51
51
|
(h) => ({ isSelected: !h.isSelected }),
|
|
52
52
|
() => t == null ? void 0 : t(!d)
|
|
53
53
|
);
|
|
@@ -62,7 +62,7 @@ class l extends u.Component {
|
|
|
62
62
|
children: e,
|
|
63
63
|
className: s,
|
|
64
64
|
onClick: t,
|
|
65
|
-
onMouseDown:
|
|
65
|
+
onMouseDown: a,
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
@@ -72,21 +72,21 @@ class l extends u.Component {
|
|
|
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
|
+
n.action,
|
|
78
78
|
K[S],
|
|
79
79
|
x[f],
|
|
80
80
|
{
|
|
81
|
-
[
|
|
82
|
-
[
|
|
81
|
+
[n.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[n.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.9.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
|
};
|
|
@@ -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-CDb8O5wa.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.9.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-CDb8O5wa.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-CDb8O5wa.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-CDb8O5wa.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-CDb8O5wa.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-CDb8O5wa.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__7bf80903", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|