@sberbusiness/triplex-next 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +41 -0
- package/chunks/CalendarViewItem-CQErGrhc.js +101 -0
- package/chunks/Card.module-Ce9rAKOc.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +15 -0
- package/chunks/Chip-BEnNi0nL.js +77 -0
- package/chunks/Confirm.module-CbAi5bkG.js +15 -0
- package/chunks/{DropdownListItem-C4JE2xV7.js → DropdownListItem-wT8cLRdZ.js} +14 -14
- package/chunks/DropdownMobile.module-rYB54yd0.js +23 -0
- package/chunks/Footer.module-CzJ_N1fs.js +9 -0
- package/chunks/{FormFieldInput-Dr_WBweC.js → FormFieldInput-Dj2JAqj2.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +9 -0
- package/chunks/HeaderTabs.module-CjapozXy.js +9 -0
- package/chunks/{HeaderTitle.module-D5yAgpuv.js → HeaderTitle.module-SmVWml2y.js} +2 -2
- package/chunks/IslandAccordion.module-YvqRlzmi.js +25 -0
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +9 -0
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +12 -0
- package/chunks/LightBoxContent-DlDaCKV4.js +63 -0
- package/chunks/LightBoxControls.module-laAGRPrR.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +9 -0
- package/chunks/ListItemControlsButton-UKjqQcv7.js +59 -0
- package/chunks/ListItemTail.module-igeWTjyg.js +12 -0
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +10 -0
- package/chunks/ModalWindow.module-Cpk4uhwk.js +17 -0
- package/chunks/Notification.module-9japFkgv.js +20 -0
- package/chunks/Overlay.module-B3Az7dZS.js +18 -0
- package/chunks/Page.module-DOHwIYM4.js +11 -0
- package/chunks/{RightBorderArrow-CGThEmc4.js → RightBorderArrow-C6j8565V.js} +9 -9
- package/chunks/SMSField.module-BOpUjsSJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +15 -0
- package/chunks/{SliderExtendedRail-C51TfjHY.js → SliderExtendedRail-jfLPbgEp.js} +10 -10
- package/chunks/StatusTracker.module-OAxbFucN.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-8Km5bFV3.js → SuggestFieldMobileDropdownHint-CCyHjS-V.js} +6 -5
- package/chunks/TableFooter.module-CGWCS8e3.js +14 -0
- package/chunks/TabsExtended.module-BJOWXSHt.js +16 -0
- package/chunks/TabsLine.module-BsiLhw0I.js +21 -0
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +19 -0
- package/chunks/TreeView.module-C2WPNvMq.js +9 -0
- package/chunks/{UploadZoneInput-onwF8t4d.js → UploadZoneInput-DYiPRAAI.js} +7 -7
- package/chunks/{constants-CUVfo8-z.js → constants-Ctks52i0.js} +12 -12
- package/chunks/utils-Bz5uKYQD.js +24 -0
- package/chunks/{utils-By-UAq7Y.js → utils-C6a9XDaC.js} +4 -4
- package/chunks/{utils-DxMHp1hh.js → utils-CrkRbGiM.js} +4 -4
- package/chunks/utils-QVs0E_e3.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +28 -28
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -90
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +17 -19
- 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 +8 -8
- 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 +4 -4
- package/components/Checkbox/Checkbox.js +38 -36
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +8 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- 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 +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- 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 +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +147 -147
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- 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/ConfirmContentSubTitle.js +4 -3
- 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 +4 -4
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +73 -66
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/enums.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +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 +1 -1
- 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 +1 -1
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +1 -1
- package/components/FormField/components/FormFieldTextarea.js +13 -13
- package/components/FormField/components/index.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 +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +9 -7
- package/components/Island/components/IslandFooter.js +3 -3
- 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 +29 -28
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +3 -3
- package/components/LightBox/LightBox.js +44 -41
- 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 +25 -25
- 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/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +46 -45
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +1 -1
- 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 +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +19 -14
- package/components/OrderedList/OrderedListItem.js +10 -9
- 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 +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +10 -9
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -2
- package/components/Pagination/components/PaginationSelect.js +5 -4
- package/components/Radio/Radio.js +11 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +37 -42
- package/components/SelectExtendedField/SelectExtendedField.js +51 -42
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- 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 +22 -22
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +4 -3
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +4 -3
- 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 +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -7
- package/components/Step/Step.js +11 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +63 -65
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -11
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +10 -10
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +50 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +17 -17
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +12 -12
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- 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 +5 -4
- 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 +20 -19
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +21 -21
- package/components/TagColor/TagColor.js +16 -16
- 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 +6 -6
- 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 +13 -13
- 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 +23 -23
- package/components/Typography/CodeText.js +28 -0
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +27 -27
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +7 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +591 -579
- package/index.d.ts +98 -23
- package/index.js +639 -627
- package/package.json +9 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +0 -39
- package/chunks/CalendarViewItem-DKS15EZ4.js +0 -101
- package/chunks/Card.module-BmZKmkeY.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +0 -15
- package/chunks/Chip-D5zfQfAA.js +0 -104
- package/chunks/Confirm.module-CtbiIzcl.js +0 -15
- package/chunks/DropdownMobile.module-BgSbdJtS.js +0 -23
- package/chunks/Footer.module-B469C_XO.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +0 -9
- package/chunks/HeaderTabs.module-4iOT34Zp.js +0 -9
- package/chunks/IslandAccordion.module-mdAdZwJL.js +0 -25
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +0 -9
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +0 -12
- package/chunks/LightBoxContent-Lme9r-vN.js +0 -56
- package/chunks/LightBoxControls.module-qhDcQmnH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +0 -9
- package/chunks/ListItemControlsButton-BLbj6vZS.js +0 -51
- package/chunks/ListItemTail.module-BAmXXpc5.js +0 -12
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +0 -10
- package/chunks/ModalWindow.module-Ciwlg3WX.js +0 -17
- package/chunks/Notification.module-CjpGpuL7.js +0 -20
- package/chunks/Overlay.module-DPHcy5Kd.js +0 -18
- package/chunks/Page.module-98SUxLiM.js +0 -11
- package/chunks/SMSField.module-k0lfRov5.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +0 -15
- package/chunks/StatusTracker.module-BmBKiCLR.js +0 -24
- package/chunks/TableFooter.module-D0rUmZhB.js +0 -14
- package/chunks/TabsExtended.module-D5-U63Qf.js +0 -16
- package/chunks/TabsLine.module-DXlTUTm_.js +0 -21
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +0 -19
- package/chunks/TreeView.module-DAOSEOZO.js +0 -9
- package/chunks/utils-CyxIcdb6.js +0 -73
- package/chunks/utils-SSwzNA1R.js +0 -24
|
@@ -1,67 +1,72 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as v } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as t, jsxs as
|
|
5
|
-
import
|
|
6
|
-
import { c as
|
|
7
|
-
import { DotshorizontalStrokeSrvIcon32 as
|
|
8
|
-
import { ButtonDropdownExtended as
|
|
9
|
-
import { EButtonDotsTheme as
|
|
4
|
+
import { jsx as t, jsxs as x, Fragment as Z } from "react/jsx-runtime";
|
|
5
|
+
import q, { useRef as _, useState as F, createElement as B } from "react";
|
|
6
|
+
import { c as f, u as V } from "../../chunks/vendor---Om3uMV.js";
|
|
7
|
+
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon24 as Q, CaretdownStrokeSrvIcon20 as X, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
8
|
+
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonDotsTheme as N, EButtonTheme as l } from "./enums.js";
|
|
10
10
|
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
|
-
import { DropdownList as
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
15
|
-
import {
|
|
13
|
+
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
+
import "../../chunks/DropdownListItem-wT8cLRdZ.js";
|
|
15
|
+
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
|
-
import { DropdownMobileBody as
|
|
18
|
-
import { DropdownMobileClose as
|
|
17
|
+
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
|
+
import { DropdownMobileClose as no } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
19
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
-
import { DropdownMobileHeader as
|
|
20
|
+
import { DropdownMobileHeader as co } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
21
21
|
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
22
22
|
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
23
|
-
import { DropdownMobileList as
|
|
24
|
-
import { DropdownMobileListItem as
|
|
23
|
+
import { DropdownMobileList as ao } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
24
|
+
import { DropdownMobileListItem as so } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
|
-
import { EComponentSize as
|
|
27
|
+
import { EComponentSize as d } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
|
-
import { ETextSize as
|
|
29
|
+
import { ETextSize as io } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
|
-
import
|
|
31
|
+
import "../Typography/CodeText.js";
|
|
32
|
+
import { Text as mo } from "../Typography/Text.js";
|
|
32
33
|
import "../Typography/Title.js";
|
|
33
|
-
const
|
|
34
|
-
buttonDropdown:
|
|
35
|
-
block:
|
|
36
|
-
buttonDropdownTarget:
|
|
34
|
+
const lo = "buttonDropdown__f96eb5ca", uo = "block__ba8e34d0", po = "buttonDropdownTarget__a1364b1b", Do = "caretIcon__8e67ec3f", bo = "active__919becbc", fo = "buttonDropdownMenuItem__56754fd0", n = {
|
|
35
|
+
buttonDropdown: lo,
|
|
36
|
+
block: uo,
|
|
37
|
+
buttonDropdownTarget: po,
|
|
37
38
|
caretIcon: Do,
|
|
38
|
-
active:
|
|
39
|
+
active: bo,
|
|
39
40
|
buttonDropdownMenuItem: fo
|
|
40
41
|
}, wo = {
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
},
|
|
45
|
-
(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
[d.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
|
+
[d.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
|
+
[d.LG]: /* @__PURE__ */ t(J, { paletteIndex: 0 })
|
|
45
|
+
}, G = {
|
|
46
|
+
[d.SM]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
47
|
+
[d.MD]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[d.LG]: (a) => /* @__PURE__ */ t(Q, { paletteIndex: a, className: n.caretIcon })
|
|
49
|
+
}, So = q.forwardRef(
|
|
50
|
+
(a, b) => {
|
|
51
|
+
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block: w, disabled: T, ...W } = a, C = _(null), A = _(null), Y = f(n.buttonDropdown, { [n.block]: !!w }, P), [S, z] = F(), I = _(V()), H = ({ opened: o, setOpened: e }) => {
|
|
52
|
+
const c = f(n.buttonDropdownTarget, {
|
|
53
|
+
[n.block]: !!w,
|
|
54
|
+
[n.active]: o
|
|
50
55
|
});
|
|
51
|
-
return /* @__PURE__ */
|
|
52
|
-
|
|
56
|
+
return /* @__PURE__ */ x(
|
|
57
|
+
v,
|
|
53
58
|
{
|
|
54
|
-
className:
|
|
55
|
-
theme:
|
|
59
|
+
className: c,
|
|
60
|
+
theme: u,
|
|
56
61
|
size: s,
|
|
57
|
-
onKeyDown:
|
|
58
|
-
onClick:
|
|
59
|
-
disabled:
|
|
62
|
+
onKeyDown: O({ opened: o, setOpened: e }),
|
|
63
|
+
onClick: k({ opened: o, setOpened: e }),
|
|
64
|
+
disabled: T,
|
|
60
65
|
"aria-haspopup": "menu",
|
|
61
66
|
"aria-expanded": o,
|
|
62
67
|
"aria-controls": I.current,
|
|
63
|
-
"aria-activedescendant":
|
|
64
|
-
...
|
|
68
|
+
"aria-activedescendant": S,
|
|
69
|
+
...R,
|
|
65
70
|
ref: M,
|
|
66
71
|
children: [
|
|
67
72
|
h,
|
|
@@ -70,90 +75,88 @@ const mo = "buttonDropdown__99df8563", lo = "block__02ca4416", uo = "buttonDropd
|
|
|
70
75
|
}
|
|
71
76
|
);
|
|
72
77
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
73
|
-
const
|
|
74
|
-
[n.
|
|
75
|
-
[n.block]: !!S
|
|
78
|
+
const c = f(n.buttonDropdownTarget, {
|
|
79
|
+
[n.block]: !!w
|
|
76
80
|
});
|
|
77
81
|
return /* @__PURE__ */ t(
|
|
78
|
-
|
|
82
|
+
v,
|
|
79
83
|
{
|
|
80
|
-
className:
|
|
81
|
-
theme:
|
|
84
|
+
className: c,
|
|
85
|
+
theme: u === N.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
82
86
|
size: s,
|
|
83
|
-
onKeyDown:
|
|
84
|
-
onClick:
|
|
85
|
-
disabled:
|
|
87
|
+
onKeyDown: O({ opened: o, setOpened: e }),
|
|
88
|
+
onClick: k({ opened: o, setOpened: e }),
|
|
89
|
+
disabled: T,
|
|
86
90
|
"aria-haspopup": "menu",
|
|
87
91
|
"aria-expanded": o,
|
|
88
92
|
"aria-controls": I.current,
|
|
89
|
-
"aria-activedescendant":
|
|
90
|
-
...
|
|
93
|
+
"aria-activedescendant": S,
|
|
94
|
+
...R,
|
|
91
95
|
ref: M,
|
|
92
96
|
icon: wo[s]
|
|
93
97
|
}
|
|
94
98
|
);
|
|
95
|
-
},
|
|
96
|
-
const { key: i } =
|
|
97
|
-
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) &&
|
|
99
|
+
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (c) => {
|
|
100
|
+
const { key: i } = c;
|
|
101
|
+
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && c.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
98
102
|
}, j = () => {
|
|
99
|
-
switch (
|
|
103
|
+
switch (u) {
|
|
100
104
|
case l.GENERAL:
|
|
101
105
|
case l.DANGER:
|
|
102
|
-
|
|
103
|
-
case u.DOTS_SECONDARY_LIGHT:
|
|
104
|
-
return g(s, 7);
|
|
106
|
+
return G[s](7);
|
|
105
107
|
case l.SECONDARY:
|
|
106
108
|
case l.SECONDARY_LIGHT:
|
|
107
|
-
return
|
|
109
|
+
return G[s](0);
|
|
108
110
|
default:
|
|
109
111
|
return null;
|
|
110
112
|
}
|
|
111
|
-
}, U = ({ opened: o, setOpened: e, className:
|
|
112
|
-
const i =
|
|
113
|
-
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant:
|
|
114
|
-
|
|
113
|
+
}, U = ({ opened: o, setOpened: e, className: c }) => {
|
|
114
|
+
const i = f(n.buttonDropdownMenu, c);
|
|
115
|
+
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: S, setActiveDescendant: z }, children: /* @__PURE__ */ t(
|
|
116
|
+
g.Dropdown,
|
|
115
117
|
{
|
|
116
|
-
size: s,
|
|
117
118
|
className: i,
|
|
119
|
+
size: s,
|
|
120
|
+
width: ro.MIN_TARGET,
|
|
121
|
+
alignment: to.RIGHT,
|
|
118
122
|
opened: o,
|
|
119
123
|
setOpened: e,
|
|
120
|
-
targetRef:
|
|
121
|
-
|
|
122
|
-
ref: k,
|
|
124
|
+
targetRef: C,
|
|
125
|
+
ref: A,
|
|
123
126
|
mobileViewProps: {
|
|
124
|
-
children: /* @__PURE__ */
|
|
127
|
+
children: /* @__PURE__ */ x(Z, { children: [
|
|
125
128
|
/* @__PURE__ */ t(
|
|
126
|
-
|
|
129
|
+
co,
|
|
127
130
|
{
|
|
128
|
-
controlButtons: /* @__PURE__ */ t(
|
|
129
|
-
children: /* @__PURE__ */ t(
|
|
131
|
+
controlButtons: /* @__PURE__ */ t(no, { onClick: () => e(!1) }),
|
|
132
|
+
children: /* @__PURE__ */ t(mo, { tag: "div", size: io.B3, children: h })
|
|
130
133
|
}
|
|
131
134
|
),
|
|
132
|
-
/* @__PURE__ */ t(
|
|
133
|
-
|
|
135
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ao, { children: E.map((r) => /* @__PURE__ */ B(
|
|
136
|
+
so,
|
|
134
137
|
{
|
|
135
138
|
...r,
|
|
136
139
|
key: r.id,
|
|
137
140
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
138
141
|
onSelect: () => {
|
|
139
|
-
var
|
|
140
|
-
(
|
|
142
|
+
var p;
|
|
143
|
+
(p = r.onSelect) == null || p.call(r), e(!1);
|
|
141
144
|
}
|
|
142
145
|
},
|
|
143
146
|
r.label
|
|
144
147
|
)) }) })
|
|
145
148
|
] })
|
|
146
149
|
},
|
|
147
|
-
children: /* @__PURE__ */ t(
|
|
148
|
-
|
|
150
|
+
children: /* @__PURE__ */ t(L, { dropdownOpened: o, id: I.current, size: s, children: E.map((r) => /* @__PURE__ */ B(
|
|
151
|
+
L.Item,
|
|
149
152
|
{
|
|
150
153
|
...r,
|
|
151
154
|
className: n.buttonDropdownMenuItem,
|
|
152
155
|
key: r.id,
|
|
153
156
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
154
157
|
onSelect: () => {
|
|
155
|
-
var
|
|
156
|
-
(
|
|
158
|
+
var p;
|
|
159
|
+
(p = r.onSelect) == null || p.call(r), e(!1);
|
|
157
160
|
}
|
|
158
161
|
},
|
|
159
162
|
r.label
|
|
@@ -161,25 +164,23 @@ const mo = "buttonDropdown__99df8563", lo = "block__02ca4416", uo = "buttonDropd
|
|
|
161
164
|
}
|
|
162
165
|
) });
|
|
163
166
|
}, M = (o) => {
|
|
164
|
-
|
|
167
|
+
C.current = o, typeof b == "function" ? b(o) : b && (b.current = o);
|
|
165
168
|
};
|
|
166
169
|
return /* @__PURE__ */ t(
|
|
167
|
-
|
|
170
|
+
g,
|
|
168
171
|
{
|
|
169
|
-
className:
|
|
170
|
-
renderButton:
|
|
171
|
-
w
|
|
172
|
-
) ? K : P,
|
|
172
|
+
className: Y,
|
|
173
|
+
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ? K : H,
|
|
173
174
|
renderDropdown: U,
|
|
174
|
-
dropdownRef:
|
|
175
|
+
dropdownRef: A,
|
|
175
176
|
closeOnTab: !0,
|
|
176
|
-
...
|
|
177
|
+
...W
|
|
177
178
|
}
|
|
178
179
|
);
|
|
179
180
|
}
|
|
180
181
|
);
|
|
181
|
-
|
|
182
|
+
So.displayName = "ButtonDropdown";
|
|
182
183
|
export {
|
|
183
|
-
|
|
184
|
+
So as ButtonDropdown
|
|
184
185
|
};
|
|
185
186
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -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---Om3uMV.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__5a99b7bd", S = "buttonDropdownExtendedBlock__a3f3aa04", 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);
|
|
@@ -35,10 +35,10 @@ const K = "buttonDropdownExtended__74fe2dc4", S = "buttonDropdownExtendedBlock__
|
|
|
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
|
-
|
|
41
|
-
|
|
40
|
+
x({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
18
|
-
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled: t, ...r, ref: a });
|
|
4
|
+
import { EButtonIconShape as t } from "./enums.js";
|
|
5
|
+
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
+
const I = "buttonIcon__8f1bf3c3", f = "circle__a8a2511f", _ = "squircle__24d804e2", o = {
|
|
7
|
+
buttonIcon: I,
|
|
8
|
+
circle: f,
|
|
9
|
+
squircle: _
|
|
10
|
+
}, b = {
|
|
11
|
+
[t.SQUIRCLE]: o.squircle,
|
|
12
|
+
[t.CIRCLE]: o.circle
|
|
13
|
+
}, C = a.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: s = t.SQUIRCLE, active: e, ...i }, u) => {
|
|
15
|
+
const l = m(o.buttonIcon, b[s], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: e, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...i, ref: u }) });
|
|
19
17
|
}
|
|
20
18
|
);
|
|
21
|
-
|
|
19
|
+
C.displayName = "ButtonIcon";
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
C as ButtonIcon
|
|
24
22
|
};
|
|
25
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -13,7 +13,7 @@ import { CalendarView as _ } from "./components/CalendarView.js";
|
|
|
13
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
14
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
15
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
16
|
-
const q = "
|
|
16
|
+
const q = "calendar__81fad87e", L = "adaptive__81c0c738", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -134,10 +134,10 @@ class k extends V.PureComponent {
|
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), b = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.25.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
_,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: b,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -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__d61a4052", 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__029da1e0", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -5,7 +5,7 @@ import c from "moment";
|
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-CQErGrhc.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -4,7 +4,7 @@ import "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-CQErGrhc.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-CQErGrhc.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-CQErGrhc.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
1
|
+
var N = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? N(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
6
|
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
@@ -10,8 +10,8 @@ import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as K, mapCardThemeToCssClass as _ } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor---Om3uMV.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-Ce9rAKOc.js";
|
|
14
|
+
const O = "action__79dbd08e", F = "selected__5833f59b", V = "focusVisible__c9f67b7a", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -72,7 +72,7 @@ class l extends u.Component {
|
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = x.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, b = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
_[S],
|
|
@@ -86,7 +86,7 @@ class l extends u.Component {
|
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: b,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "0.
|
|
99
|
+
"data-tx": "0.25.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-Ce9rAKOc.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "0.
|
|
24
|
+
"data-tx": "0.25.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---Om3uMV.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-Ce9rAKOc.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---Om3uMV.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Ce9rAKOc.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---Om3uMV.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Ce9rAKOc.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---Om3uMV.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-Ce9rAKOc.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---Om3uMV.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-Ce9rAKOc.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as 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---Om3uMV.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__c0bafac1", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -26,13 +26,13 @@ const R = "carouselExtended__5bfb17a1", k = {
|
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ p("div", { ...h, children: [
|
|
30
30
|
a({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
34
34
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ b("div", { className: S(k.carouselExtended), onScroll: t, ref: E, children: l }),
|
|
36
36
|
i({
|
|
37
37
|
disabled: o.nextDisabled,
|
|
38
38
|
hidden: o.hidden,
|