@sberbusiness/triplex-next 1.10.0 → 1.11.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 +6 -0
- package/chunks/{AlertProcessSpoiler-C4HDxCMJ.js → AlertProcessSpoiler-BGQ1uQrz.js} +2 -2
- package/chunks/{CalendarViewItem-Y3UQ6liF.js → CalendarViewItem-GZv99LrE.js} +10 -10
- package/chunks/Card.module-Bb-0eR7p.js +17 -0
- package/chunks/CheckboxTreeExtended.module-LACc235T.js +11 -0
- package/chunks/{Chip-21qt-Ukl.js → Chip-L25luM9A.js} +16 -16
- package/chunks/Confirm.module-B2F1vU1t.js +15 -0
- package/chunks/{DropdownListItem-DXBppGoi.js → DropdownListItem-QBxfm941.js} +17 -17
- package/chunks/DropdownMobile.module-zHrNkkL5.js +23 -0
- package/chunks/Footer.module-CTz6ITIP.js +9 -0
- package/chunks/{FormFieldInput-hUwbIuBd.js → FormFieldInput-ZCQQZs7b.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-CQPDDGSa.js +9 -0
- package/chunks/HeaderTabs.module-Fe8TyS0Y.js +9 -0
- package/chunks/{HeaderTitle.module-B_2yQmEh.js → HeaderTitle.module-C7KQyTXH.js} +2 -2
- package/chunks/IslandAccordion.module-B1DwUTEO.js +25 -0
- package/chunks/IslandWidgetFooter.module-DNunPtYA.js +9 -0
- package/chunks/IslandWidgetHeader.module-CVe7qw8f.js +9 -0
- package/chunks/{LightBoxContent-DDRusGqo.js → LightBoxContent-D0toheNV.js} +14 -14
- package/chunks/LightBoxControls.module-DUY3tLKy.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-C-9e4C_Y.js +8 -0
- package/chunks/{ListItemControlsButton-3APG17-A.js → ListItemControlsButton-B0Qs0eEN.js} +5 -5
- package/chunks/ListItemTail.module-uDs8u3yU.js +12 -0
- package/chunks/ListMasterFooter.module-uJGRVDCh.js +10 -0
- package/chunks/ModalWindow.module-BxFKBpp4.js +17 -0
- package/chunks/Notification.module-HwYJsw5w.js +21 -0
- package/chunks/Overlay.module-BdT_EdJd.js +18 -0
- package/chunks/Page.module-CQz9ZvqA.js +11 -0
- package/chunks/{RightBorderArrow-Bo5_O5lj.js → RightBorderArrow-B3TaRXow.js} +14 -14
- package/chunks/SMSField.module-B2vNyUh9.js +16 -0
- package/chunks/SliderExtendedMarks.module-D9G5rkyR.js +15 -0
- package/chunks/{SliderExtendedRail-C7TQHv-j.js → SliderExtendedRail-DP6nRRY0.js} +10 -10
- package/chunks/StatusTracker.module-BM1Mr7Lr.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BJiMEG2_.js → SuggestFieldMobileDropdownHint-C04_aHFB.js} +4 -4
- package/chunks/TableFooter.module-DNpkWevf.js +14 -0
- package/chunks/TabsExtended.module-BvIRknmY.js +16 -0
- package/chunks/TabsLine.module-BN-kBFLj.js +21 -0
- package/chunks/TooltipDesktop.module-itrszAnq.js +19 -0
- package/chunks/TreeView.module-CDWFlOAV.js +9 -0
- package/chunks/UploadZoneInput-BYGZcWC8.js +35 -0
- package/chunks/utils-BWjaO0EE.js +73 -0
- package/chunks/utils-BsNeWWRx.js +20 -0
- package/chunks/{utils-mlGAF1hQ.js → utils-CDPE3P4X.js} +8 -8
- package/chunks/utils-DKyrkqb2.js +36 -0
- package/chunks/{utils-HEAUA6LV.js → utils-P0A0WEsB.js} +7 -7
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +9 -9
- package/components/AmountField/AmountField.js +8 -8
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +32 -32
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +14 -14
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +7 -7
- 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 +19 -19
- 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 +11 -11
- package/components/Checkbox/Checkbox.js +7 -7
- 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/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +15 -15
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Step.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +14 -14
- 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 +12 -12
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- 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 +10 -10
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +3 -3
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +11 -11
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +93 -99
- package/components/IslandAccordion/components/index.js +1 -3
- package/components/IslandAccordion/index.js +3 -5
- package/components/IslandWidget/IslandWidget.js +2 -2
- 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 +4 -4
- package/components/LightBox/LightBox.js +11 -11
- 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 +18 -18
- 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 +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +17 -17
- 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 +12 -12
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +4 -4
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +10 -10
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- 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 +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +3 -3
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +4 -4
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +6 -6
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +5 -5
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- 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 +12 -12
- package/components/SegmentedControl/SegmentedControlSegment.js +17 -17
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +18 -18
- package/components/Skeleton/Skeleton.js +12 -12
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +27 -27
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +23 -23
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +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 +12 -12
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +3 -3
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +9 -9
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +33 -33
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +1 -1
- 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 +17 -17
- 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 +8 -8
- package/components/TopOverlay/TopOverlay.js +18 -18
- 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 +16 -16
- package/components/Typography/Text.js +23 -23
- package/components/Typography/Title.js +19 -19
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +4 -4
- package/components/UnorderedList/UnorderedListItem.js +9 -9
- package/components/UploadZone/UploadZone.js +109 -97
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +172 -174
- package/index.d.ts +3 -39
- package/index.js +216 -218
- package/package.json +1 -1
- package/styles/triplex-next.css +535 -535
- package/chunks/Card.module-t9A1wsgP.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BMfgVvwS.js +0 -11
- package/chunks/Confirm.module-CrTyGEYv.js +0 -15
- package/chunks/DropdownMobile.module-CdquuBgl.js +0 -23
- package/chunks/Footer.module-9PrdQ3S7.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-QjkaZFtn.js +0 -9
- package/chunks/HeaderTabs.module-a_JyDpFt.js +0 -9
- package/chunks/IslandAccordion.module-BCHg71CD.js +0 -25
- package/chunks/IslandWidgetFooter.module-DV2tNWtj.js +0 -9
- package/chunks/IslandWidgetHeader.module-kAuK5xmR.js +0 -9
- package/chunks/LightBoxControls.module-CHrL_gpj.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CVxmzGmO.js +0 -8
- package/chunks/ListItemTail.module-BW9qp-XX.js +0 -12
- package/chunks/ListMasterFooter.module-B3kLf2M1.js +0 -10
- package/chunks/ModalWindow.module-BFTuZtt7.js +0 -17
- package/chunks/Notification.module-DU0GLki1.js +0 -21
- package/chunks/Overlay.module-CQY18PV-.js +0 -18
- package/chunks/Page.module-BO9rnNjD.js +0 -11
- package/chunks/SMSField.module-ibOZLVgV.js +0 -16
- package/chunks/SliderExtendedMarks.module-BBaU_j-p.js +0 -15
- package/chunks/StatusTracker.module-C66hhTIO.js +0 -24
- package/chunks/TableFooter.module-cSix4Lyk.js +0 -14
- package/chunks/TabsExtended.module-D7fs9FsL.js +0 -16
- package/chunks/TabsLine.module-CEQyfehM.js +0 -21
- package/chunks/TooltipDesktop.module-DD9WosV6.js +0 -19
- package/chunks/TreeView.module-Dxrir5YQ.js +0 -9
- package/chunks/UploadZoneInput-C2_0grVp.js +0 -33
- package/chunks/utils-BhoCc4rI.js +0 -36
- package/chunks/utils-BsOip28-.js +0 -73
- package/chunks/utils-D8Gj0oC8.js +0 -20
- package/components/IslandAccordion/components/IslandAccordionTitle.js +0 -21
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { formatAmount as u } from "../../utils/amountUtils.js";
|
|
3
3
|
import { c as f } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__aad9d618", _ = {
|
|
5
5
|
adaptive: N
|
|
6
6
|
}, h = 14, v = ({
|
|
7
7
|
className: o,
|
|
8
8
|
value: r,
|
|
9
9
|
fractionLength: s,
|
|
10
|
-
currency:
|
|
10
|
+
currency: e,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: a,
|
|
14
14
|
...i
|
|
15
15
|
}) => {
|
|
16
16
|
let t = u(r, s);
|
|
17
17
|
t[0] == "-" && (t = t.replace("-", "−"));
|
|
18
18
|
const p = () => [
|
|
19
19
|
" ",
|
|
20
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
21
|
-
],
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
|
|
21
|
+
], d = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ l("span", { className: d, ...i, "data-tx": "1.11.0", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
|
|
29
|
+
e && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import h, { useRef as y, useLayoutEffect as
|
|
1
|
+
import { jsx as l, jsxs as E } from "react/jsx-runtime";
|
|
2
|
+
import h, { useRef as y, useLayoutEffect as b } from "react";
|
|
3
3
|
import { c as k } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { TextFieldBase as w } from "../TextField/TextFieldBase.js";
|
|
5
5
|
import { EFormFieldStatus as D } from "../FormField/enums.js";
|
|
6
|
-
import { F as I } from "../../chunks/FormFieldInput-
|
|
6
|
+
import { F as I } from "../../chunks/FormFieldInput-ZCQQZs7b.js";
|
|
7
7
|
import { FormFieldClear as T } from "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import { AmountBaseInputCore as R } from "./AmountBaseInputCore.js";
|
|
9
9
|
import { setCaretPosition as V } from "../../utils/inputUtils.js";
|
|
10
10
|
import { createPlaceholder as A, setFallbackCaret as B } from "./utils.js";
|
|
11
|
-
const K = "
|
|
11
|
+
const K = "currency__002e59d2", j = "disabled__ae8395d2", g = {
|
|
12
12
|
currency: K,
|
|
13
13
|
disabled: j
|
|
14
14
|
}, Q = h.forwardRef(
|
|
15
15
|
({ inputProps: r, currency: i, postfix: f, maxIntegerDigits: u = 16, fractionDigits: a = 2, onClear: s, ...d }, n) => {
|
|
16
16
|
const o = d["data-test-id"], F = r.placeholder || A(a), m = y(null), e = y();
|
|
17
|
-
e.current === void 0 && (e.current = new R(u, a)),
|
|
17
|
+
e.current === void 0 && (e.current = new R(u, a)), b(() => {
|
|
18
18
|
e.current && m.current == document.activeElement && V(m.current, Math.max(e.current.caret, 0));
|
|
19
19
|
}, [r.value]);
|
|
20
20
|
const _ = () => e.current ? ((r.value != e.current.value || u != e.current.maxIntegerDigits || a != e.current.fractionDigits) && (e.current.maxIntegerDigits = u, e.current.fractionDigits = a, e.current.apply(r.value, r.value.length)), e.current.cache.formattedValue = e.current.formattedValue, e.current.formattedValue) : "", C = (t) => {
|
|
@@ -27,13 +27,13 @@ const K = "currency__1b73c933", j = "disabled__7e82f152", g = {
|
|
|
27
27
|
}, v = (t) => {
|
|
28
28
|
var c;
|
|
29
29
|
e.current && (e.current.cache.key = "", e.current.cache.selectionStart = t.currentTarget.selectionStart, e.current.cache.selectionEnd = t.currentTarget.selectionEnd, e.current.cache.selectionDirection = t.currentTarget.selectionDirection, (c = r.onSelect) == null || c.call(r, t));
|
|
30
|
-
},
|
|
30
|
+
}, x = (t) => {
|
|
31
31
|
m.current = t, typeof n == "function" ? n(t) : n && (n.current = t);
|
|
32
32
|
};
|
|
33
33
|
return /* @__PURE__ */ l(
|
|
34
34
|
w,
|
|
35
35
|
{
|
|
36
|
-
postfix: /* @__PURE__ */
|
|
36
|
+
postfix: /* @__PURE__ */ E(h.Fragment, { children: [
|
|
37
37
|
s !== void 0 && /* @__PURE__ */ l(T, { onClick: s }),
|
|
38
38
|
i !== void 0 && /* @__PURE__ */ l(
|
|
39
39
|
"span",
|
|
@@ -60,7 +60,7 @@ const K = "currency__1b73c933", j = "disabled__7e82f152", g = {
|
|
|
60
60
|
onKeyDown: S,
|
|
61
61
|
onSelect: v,
|
|
62
62
|
onChange: C,
|
|
63
|
-
ref:
|
|
63
|
+
ref: x
|
|
64
64
|
}
|
|
65
65
|
)
|
|
66
66
|
}
|
package/components/Body/Body.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const c = "
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const c = "body__9d55f747", y = "bodyInner__ce67c696", d = {
|
|
5
5
|
body: c,
|
|
6
6
|
bodyInner: y
|
|
7
|
-
},
|
|
8
|
-
|
|
7
|
+
}, m = t.forwardRef(({ children: e, className: r, ...s }, n) => /* @__PURE__ */ o("div", { className: a(d.body, r), ...s, "data-tx": "1.11.0", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
|
|
8
|
+
m.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
m as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
1
|
+
import { jsxs as m, jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as b } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as f } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as o } from "./enums.js";
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
const A = "
|
|
9
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
+
const A = "general__af3eddcc", B = "expanded__3ee75f8b", p = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__acb6bc9f", T = "expanded__3ee75f8b", g = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__98f11fff", I = "expanded__3ee75f8b", u = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__bb12a078", O = "expanded__3ee75f8b", x = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__ad19198c", $ = "expanded__3ee75f8b", h = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__2bbad542", z = "sm__60df78cc", M = "icon__2ba21a66", j = "md__41bd5f65", H = "lg__2868effd", K = "block__f943d922", U = "content__026597e8", q = "loading__838797ec", F = "loader__9276df3b", J = "hidden__6bcabef0", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -36,62 +36,62 @@ const A = "general__3bcd45e1", B = "expanded__046b9c29", u = {
|
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
38
|
case o.GENERAL:
|
|
39
|
-
return { [
|
|
39
|
+
return { [p.general]: !0, [p.expanded]: n };
|
|
40
40
|
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[g.secondary]: !0,
|
|
43
|
+
[g.expanded]: n
|
|
44
44
|
};
|
|
45
45
|
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[u.secondaryLight]: !0,
|
|
48
|
+
[u.expanded]: n
|
|
49
49
|
};
|
|
50
50
|
case o.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[x.danger]: !0,
|
|
53
|
+
[x.expanded]: n
|
|
54
54
|
};
|
|
55
55
|
case o.LINK:
|
|
56
56
|
return {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[h.link]: !0,
|
|
58
|
+
[h.expanded]: n
|
|
59
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
|
|
72
|
-
return /* @__PURE__ */
|
|
71
|
+
const d = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? f.BRAND : f.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: d, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: d, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = b(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!a },
|
|
79
|
+
{ [e.icon]: !!i && !d },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!c
|
|
85
85
|
},
|
|
86
86
|
// Классы для иконок, конец.
|
|
87
|
-
|
|
87
|
+
N
|
|
88
88
|
);
|
|
89
|
-
return /* @__PURE__ */ m(C, { className: E, tabIndex:
|
|
89
|
+
return /* @__PURE__ */ m(C, { className: E, tabIndex: a ? -1 : void 0, disabled: c, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
d
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ y("div", { className: b(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.11.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -17,21 +17,21 @@ import { DropdownMobileClose as co } from "../Dropdown/mobile/DropdownMobileClos
|
|
|
17
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
|
-
import { EComponentSize as
|
|
21
|
-
const lo = "
|
|
20
|
+
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
+
const lo = "buttonDropdown__e7b7f2c8", io = "block__f943d922", mo = "buttonDropdownTarget__58b44ad6", uo = "caretIcon__ecd190c9", Do = "active__b3810b5c", fo = "buttonDropdownMenuItem__a4a3f2a9", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
25
25
|
caretIcon: uo,
|
|
26
26
|
active: Do,
|
|
27
|
-
buttonDropdownMenuItem:
|
|
27
|
+
buttonDropdownMenuItem: fo
|
|
28
28
|
}, po = {
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
}, g = (p, c) => p ===
|
|
29
|
+
[f.SM]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
30
|
+
[f.MD]: /* @__PURE__ */ t(L, { paletteIndex: 0 }),
|
|
31
|
+
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
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
33
|
(p, c) => {
|
|
34
|
-
const { buttonAttributes: R, children: h, className: z, theme:
|
|
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
35
|
const a = w(n.buttonDropdownTarget, "hoverable", {
|
|
36
36
|
[n.active]: o,
|
|
37
37
|
[n.block]: !!S
|
|
@@ -40,7 +40,7 @@ const lo = "buttonDropdown__4b4b0b01", io = "block__f22447d4", mo = "buttonDropd
|
|
|
40
40
|
M,
|
|
41
41
|
{
|
|
42
42
|
className: a,
|
|
43
|
-
theme:
|
|
43
|
+
theme: b,
|
|
44
44
|
size: s,
|
|
45
45
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
46
46
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -66,7 +66,7 @@ const lo = "buttonDropdown__4b4b0b01", io = "block__f22447d4", mo = "buttonDropd
|
|
|
66
66
|
M,
|
|
67
67
|
{
|
|
68
68
|
className: a,
|
|
69
|
-
theme:
|
|
69
|
+
theme: b === u.DOTS_SECONDARY ? d.SECONDARY : d.SECONDARY_LIGHT,
|
|
70
70
|
size: s,
|
|
71
71
|
onKeyDown: A({ opened: o, setOpened: r }),
|
|
72
72
|
onClick: E({ opened: o, setOpened: r }),
|
|
@@ -84,7 +84,7 @@ const lo = "buttonDropdown__4b4b0b01", io = "block__f22447d4", mo = "buttonDropd
|
|
|
84
84
|
const { key: l } = a;
|
|
85
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
|
-
switch (
|
|
87
|
+
switch (b) {
|
|
88
88
|
case d.GENERAL:
|
|
89
89
|
case d.DANGER:
|
|
90
90
|
case u.DOTS_SECONDARY:
|
|
@@ -155,7 +155,7 @@ const lo = "buttonDropdown__4b4b0b01", io = "block__f22447d4", mo = "buttonDropd
|
|
|
155
155
|
{
|
|
156
156
|
className: W,
|
|
157
157
|
renderButton: [u.DOTS_SECONDARY, u.DOTS_SECONDARY_LIGHT].includes(
|
|
158
|
-
|
|
158
|
+
b
|
|
159
159
|
) ? K : P,
|
|
160
160
|
renderDropdown: U,
|
|
161
161
|
dropdownRef: v,
|
|
@@ -165,8 +165,8 @@ const lo = "buttonDropdown__4b4b0b01", io = "block__f22447d4", mo = "buttonDropd
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
|
-
|
|
168
|
+
bo.displayName = "ButtonDropdown";
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
bo as ButtonDropdown
|
|
171
171
|
};
|
|
172
172
|
//# 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-ClY57Zzq.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__d907f989", S = "buttonDropdownExtendedBlock__45b22b0d", 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__53f04a46", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, i = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const a = r.target;
|
|
31
|
+
a && !(n != null && n.contains(a)) && !(i != null && i.contains(a)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
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,24 +2,24 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { EButtonIconShape as o } from "./enums.js";
|
|
5
|
-
const p = "
|
|
5
|
+
const p = "buttonIcon__98d229a7", I = "circle__111e82ed", _ = "squircle__d95c97dc", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
8
|
+
squircle: _
|
|
9
|
+
}, b = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, d = u.forwardRef(
|
|
13
13
|
({ className: e, disabled: c, shape: n = o.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
-
const l = m(t.buttonIcon,
|
|
14
|
+
const l = m(t.buttonIcon, b[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
16
|
disabled: !!c
|
|
17
17
|
});
|
|
18
18
|
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: c, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
d.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
d 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__99a85439", L = "adaptive__8293ddf4", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -133,10 +133,10 @@ class g extends V.PureComponent {
|
|
|
133
133
|
nextButtonProps: u,
|
|
134
134
|
viewButtonProps: C,
|
|
135
135
|
todayButtonProps: T
|
|
136
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
136
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
138
|
+
}), b = f(this.props.pickedDate, t);
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.11.0", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -165,7 +165,7 @@ class g extends V.PureComponent {
|
|
|
165
165
|
/* @__PURE__ */ h(
|
|
166
166
|
N,
|
|
167
167
|
{
|
|
168
|
-
pickedDate:
|
|
168
|
+
pickedDate: b,
|
|
169
169
|
dayHtmlAttributes: e,
|
|
170
170
|
monthHtmlAttributes: s,
|
|
171
171
|
yearHtmlAttributes: i
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__eae4342f", 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__8f6bea5b", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -4,7 +4,7 @@ import { useContext as R, useCallback as O, useState as L, useEffect as q } from
|
|
|
4
4
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
5
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
6
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-GZv99LrE.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-GZv99LrE.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import { k as h } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
|
4
4
|
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as K, C as B } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-GZv99LrE.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-ClY57Zzq.js";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-GZv99LrE.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 = (
|
|
4
|
-
import { jsx as
|
|
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
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
|
-
import { CardContent as
|
|
7
|
-
import { CardMedia as
|
|
6
|
+
import { CardContent as T } from "./components/CardContent/CardContent.js";
|
|
7
|
+
import { CardMedia as _ } from "./components/CardMedia.js";
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
12
|
import { c as k } from "../../chunks/vendor-ClY57Zzq.js";
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-Bb-0eR7p.js";
|
|
14
|
+
const O = "action__5900b4b2", F = "selected__2b65fcc3", V = "focusVisible__ce981ddb", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,27 +66,27 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected:
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: b, focusSource: g } = this.state, D = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
80
80
|
{
|
|
81
|
-
[a.focusVisible]:
|
|
82
|
-
[a.selected]: E ? !!m :
|
|
81
|
+
[a.focusVisible]: g === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : b
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
|
-
return /* @__PURE__ */
|
|
86
|
+
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: D,
|
|
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.11.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
o(l, "displayName", "CardAction"), o(l, "Content",
|
|
105
|
+
o(l, "displayName", "CardAction"), o(l, "Content", T), o(l, "Media", _);
|
|
106
106
|
export {
|
|
107
107
|
l as CardAction
|
|
108
108
|
};
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-ClY57Zzq.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-Bb-0eR7p.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.11.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-ClY57Zzq.js";
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-Bb-0eR7p.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-ClY57Zzq.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Bb-0eR7p.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-ClY57Zzq.js";
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-Bb-0eR7p.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-ClY57Zzq.js";
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-Bb-0eR7p.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 {
|