@sberbusiness/triplex-next 0.18.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-CjSQmvuc.js → AlertProcessSpoiler-CApu9sgV.js} +8 -8
- package/chunks/{CalendarViewItem-Ca-FLo0r.js → CalendarViewItem-CCClPe6W.js} +13 -13
- package/chunks/Card.module-D48lssVF.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BLtvkZsi.js +14 -0
- package/chunks/{Chip-BLKgYv0e.js → Chip-D-F5Ccch.js} +10 -10
- package/chunks/Confirm.module-CvrGGvLz.js +15 -0
- package/chunks/DropdownListItem-B89w0ZP6.js +65 -0
- package/chunks/DropdownMobile.module-CEbQqs2X.js +23 -0
- package/chunks/Footer.module-WHmnrQeq.js +9 -0
- package/chunks/{FormFieldInput-QoI3Qmcf.js → FormFieldInput-CC-nRhb4.js} +14 -14
- package/chunks/HeaderLayoutSidebar.module-Cnl-O6HE.js +9 -0
- package/chunks/HeaderTabs.module-Nz927HlU.js +9 -0
- package/chunks/{HeaderTitle.module-qG7NNUSy.js → HeaderTitle.module-F927IkdE.js} +2 -2
- package/chunks/IslandAccordion.module-CFCDu7K5.js +25 -0
- package/chunks/IslandWidgetFooter.module--vNV-XXe.js +9 -0
- package/chunks/IslandWidgetHeader.module-BhnBnkZk.js +12 -0
- package/chunks/{LightBoxContent-iKg6uhHj.js → LightBoxContent-CWI11Mkg.js} +6 -6
- package/chunks/LightBoxControls.module-Kv0-R_GW.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DGwWDaQC.js +8 -0
- package/chunks/{ListItemControlsButton-B36AdJX2.js → ListItemControlsButton-CDm9UcL0.js} +5 -5
- package/chunks/ListItemTail.module-DZ2CIKA4.js +12 -0
- package/chunks/ListMasterFooter.module-DMTXvddx.js +10 -0
- package/chunks/ModalWindow.module-CmKHP-l0.js +17 -0
- package/chunks/Notification.module-CtiA4KeZ.js +20 -0
- package/chunks/Overlay.module-BKGmOe22.js +18 -0
- package/chunks/Page.module-BjtGL1n5.js +11 -0
- package/chunks/{RightBorderArrow-COmdqSvG.js → RightBorderArrow-BUP-gfBp.js} +10 -10
- package/chunks/SMSField.module-BM5o6WPK.js +16 -0
- package/chunks/SliderExtendedMarks.module-C4eA55N-.js +15 -0
- package/chunks/{SliderExtendedRail-6lH6RyNF.js → SliderExtendedRail-BtDNU2QU.js} +13 -13
- package/chunks/StatusTracker.module-jKCRT7JR.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DeExagGp.js → SuggestFieldMobileDropdownHint-B6hhbNqZ.js} +4 -4
- package/chunks/TableFooter.module-BIxc-uz_.js +14 -0
- package/chunks/TabsExtended.module-CWXgdzlB.js +16 -0
- package/chunks/TabsLine.module-BQ_DsA4u.js +21 -0
- package/chunks/TooltipDesktop.module-DMqxtrmh.js +19 -0
- package/chunks/TreeView.module-DwpFo7Sm.js +9 -0
- package/chunks/{UploadZoneInput-CCa8azJA.js → UploadZoneInput-CCOpTzdI.js} +2 -2
- package/chunks/{constants-CBGFTz75.js → constants-BY0--v5J.js} +12 -12
- package/chunks/utils-BD4-x_pW.js +24 -0
- package/chunks/utils-CDZhfAbZ.js +18 -0
- package/chunks/utils-CIrM2Shg.js +73 -0
- package/chunks/{utils-ux-s0pdr.js → utils-DN-l5mfA.js} +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +4 -4
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +6 -6
- package/components/Badge/components/BadgeContent.js +17 -17
- package/components/Badge/components/BadgePostfix.js +10 -10
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +14 -14
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +7 -7
- package/components/Button/ButtonIcon.js +15 -15
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +15 -15
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +6 -6
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- 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 +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +14 -15
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +25 -18
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +23 -22
- 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 +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +136 -136
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- 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 +7 -7
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +9 -8
- package/components/Dropdown/desktop/DropdownListItem.js +4 -3
- 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 +16 -15
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +2 -2
- package/components/ExpandAnimation/ExpandAnimation.js +15 -15
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +17 -17
- package/components/FormField/components/FormFieldClear.js +5 -5
- 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 +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +4 -4
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +4 -4
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +9 -9
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- 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 +24 -24
- 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 +8 -8
- 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 +7 -7
- package/components/Link/Link.js +26 -26
- package/components/List/List.js +8 -8
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +2 -2
- 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 +8 -8
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +5 -5
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +1 -1
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +3 -3
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +7 -16
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- 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/MultiselectFieldDropdownContent.js +13 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +6 -5
- 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 +6 -6
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +9 -9
- 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 +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +4 -4
- package/components/Row/Row.js +7 -7
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +19 -19
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +17 -17
- package/components/Skeleton/Skeleton.js +4 -4
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +26 -26
- 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 +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +24 -24
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +14 -14
- 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 +7 -9
- 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 +13 -13
- 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 +2 -2
- package/components/Stepper/StepperWrapper.js +2 -2
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +14 -14
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +4 -4
- 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 +4 -4
- 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 +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +4 -4
- 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 +2 -2
- 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 +17 -17
- 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 +35 -35
- package/components/TabsLine/components/TabsLineMobile.js +11 -11
- package/components/Tag/Tag.js +32 -32
- package/components/TagColor/TagColor.js +13 -13
- package/components/TagGroup/TagGroup.js +12 -12
- 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 +7 -7
- 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 +10 -10
- package/components/TopOverlay/TopOverlay.js +5 -5
- 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 +20 -20
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +13 -13
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +9 -9
- package/components/UploadZone/UploadZone.js +67 -59
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +253 -255
- package/index.d.ts +10 -13
- package/index.js +66 -68
- package/package.json +2 -5
- package/styles/triplex-next.css +546 -546
- package/chunks/Card.module-CzLtoScY.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DkdxFQuq.js +0 -14
- package/chunks/Confirm.module-BMyKk7ci.js +0 -15
- package/chunks/DropdownListItem-DeF8AY7t.js +0 -63
- package/chunks/DropdownMobile.module-Ds3kgyp0.js +0 -23
- package/chunks/Footer.module-D2AeYynH.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CPzyr_Es.js +0 -9
- package/chunks/HeaderTabs.module-CTLu8m8e.js +0 -9
- package/chunks/IslandAccordion.module-C-6vlAWF.js +0 -25
- package/chunks/IslandWidgetFooter.module-xITdAr93.js +0 -9
- package/chunks/IslandWidgetHeader.module-Bvq2rTll.js +0 -12
- package/chunks/LightBoxControls.module-C4hxT62o.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bw4ojHvB.js +0 -8
- package/chunks/ListItemTail.module-DRs0pxZe.js +0 -12
- package/chunks/ListMasterFooter.module-DTybJY-0.js +0 -10
- package/chunks/ModalWindow.module-Dw-47OlP.js +0 -17
- package/chunks/Notification.module-BKYlR9Q1.js +0 -21
- package/chunks/Overlay.module-DMP8sff8.js +0 -18
- package/chunks/Page.module-ZgV0sjdJ.js +0 -11
- package/chunks/SMSField.module-kXUXCT5O.js +0 -16
- package/chunks/SliderExtendedMarks.module-DZ2tJis8.js +0 -15
- package/chunks/StatusTracker.module-BiMt5_cO.js +0 -24
- package/chunks/TableFooter.module-Cr1neNvX.js +0 -14
- package/chunks/TabsExtended.module-D_yz2JTI.js +0 -16
- package/chunks/TabsLine.module-Bu6BuWqh.js +0 -21
- package/chunks/TooltipDesktop.module-CVz3e2hU.js +0 -19
- package/chunks/TreeView.module-DSb6I410.js +0 -9
- package/chunks/utils-Bbbhrgqj.js +0 -20
- package/chunks/utils-BoLzdbbW.js +0 -73
- package/chunks/utils-CAZ6n1RH.js +0 -24
- package/components/NotificationIcon/NotificationIcon.js +0 -10
- package/components/NotificationIcon/index.js +0 -5
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as d, 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-DE8Zvm0w.js";
|
|
4
|
-
const N = "
|
|
4
|
+
const N = "adaptive__0f245cde", _ = {
|
|
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: a,
|
|
11
11
|
currencyTitle: m,
|
|
12
12
|
adaptive: c,
|
|
13
|
-
dataTestId:
|
|
13
|
+
dataTestId: e,
|
|
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":
|
|
20
|
+
/* @__PURE__ */ n("span", { "data-test-id": e && `${e}__currencyName`, title: m, children: a }, "currencyName")
|
|
21
21
|
], l = f(
|
|
22
22
|
{
|
|
23
23
|
[_.adaptive]: !!c && t.length >= h
|
|
24
24
|
},
|
|
25
25
|
o
|
|
26
26
|
);
|
|
27
|
-
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.
|
|
28
|
-
/* @__PURE__ */ n("span", { "data-test-id":
|
|
29
|
-
|
|
27
|
+
return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "0.19.1", children: [
|
|
28
|
+
/* @__PURE__ */ n("span", { "data-test-id": e && `${e}__amount`, children: t }),
|
|
29
|
+
a && p()
|
|
30
30
|
] });
|
|
31
31
|
};
|
|
32
32
|
v.displayName = "Amount";
|
|
@@ -7,7 +7,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
7
7
|
import "../FormField/components/FormFieldLabel.js";
|
|
8
8
|
import { FormFieldClear as k } from "../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as w } from "../../chunks/FormFieldInput-
|
|
10
|
+
import { F as w } from "../../chunks/FormFieldInput-CC-nRhb4.js";
|
|
11
11
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
12
12
|
import "../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EAvatarSize as a } from "./enums.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
import { c
|
|
5
|
-
const _ = "
|
|
3
|
+
import l from "react";
|
|
4
|
+
import { c } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
5
|
+
const _ = "avatar__d8005534", e = "xxs__a0f4f4d0", f = "xs__27f7fb94", n = "sm__bc381842", d = "md__35a78de1", i = "lg__e18bbf68", v = "xl__994ee65a", p = "xxl__0f345a2a", s = {
|
|
6
6
|
avatar: _,
|
|
7
7
|
xxs: e,
|
|
8
8
|
xs: f,
|
|
@@ -19,7 +19,7 @@ const _ = "avatar__3b136884", e = "xxs__b1119451", f = "xs__c1e25a1b", n = "sm__
|
|
|
19
19
|
[a.LG]: s.lg,
|
|
20
20
|
[a.XL]: s.xl,
|
|
21
21
|
[a.XXL]: s.xxl
|
|
22
|
-
}, b =
|
|
22
|
+
}, b = l.forwardRef(({ className: x, size: t, ...o }, m) => /* @__PURE__ */ r("div", { className: c(s.avatar, X[t], x), ...o, ref: m }));
|
|
23
23
|
b.displayName = "Avatar";
|
|
24
24
|
export {
|
|
25
25
|
b as Avatar
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
3
|
import { c as g } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { createSizeToClassNameMap as i } from "../../utils/classNameMaps.js";
|
|
5
5
|
import { BadgeDot as _ } from "./BadgeDot.js";
|
|
6
6
|
import { BadgeContent as f } from "./components/BadgeContent.js";
|
|
7
|
-
import { BadgePrefix as
|
|
8
|
-
import { BadgePostfix as
|
|
9
|
-
const
|
|
10
|
-
badge:
|
|
7
|
+
import { BadgePrefix as b } from "./components/BadgePrefix.js";
|
|
8
|
+
import { BadgePostfix as p } from "./components/BadgePostfix.js";
|
|
9
|
+
const B = "badge__12c08b42", P = "sm__d4c69226", N = "md__0b57242b", S = "lg__baae1fa0", s = {
|
|
10
|
+
badge: B,
|
|
11
11
|
sm: P,
|
|
12
12
|
md: N,
|
|
13
13
|
lg: S
|
|
14
14
|
}, h = i(s), j = Object.assign(
|
|
15
|
-
|
|
16
|
-
({ children: m, className: d, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */
|
|
17
|
-
o ? /* @__PURE__ */ e(
|
|
15
|
+
c.forwardRef(
|
|
16
|
+
({ children: m, className: d, size: t, prefix: o, postfix: a, ...n }, r) => /* @__PURE__ */ l("span", { className: g(s.badge, h[t], d), ...n, ref: r, children: [
|
|
17
|
+
o ? /* @__PURE__ */ e(b, { children: o }) : null,
|
|
18
18
|
m ? /* @__PURE__ */ e(f, { size: t, noPaddingLeft: !!o, noPaddingRight: !!a, children: m }) : null,
|
|
19
|
-
a ? /* @__PURE__ */ e(
|
|
19
|
+
a ? /* @__PURE__ */ e(p, { children: a }) : null
|
|
20
20
|
] })
|
|
21
21
|
),
|
|
22
22
|
{
|
|
@@ -2,14 +2,14 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { c as d } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
4
|
import { createSizeToClassNameMap as r } from "../../utils/classNameMaps.js";
|
|
5
|
-
const _ = "
|
|
5
|
+
const _ = "badgeDot__cdb8aa3d", g = "sm__d4c69226", b = "md__0b57242b", l = "lg__baae1fa0", o = {
|
|
6
6
|
badgeDot: _,
|
|
7
7
|
sm: g,
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
10
|
-
},
|
|
11
|
-
|
|
8
|
+
md: b,
|
|
9
|
+
lg: l
|
|
10
|
+
}, n = r(o), p = c.forwardRef(({ className: a, size: s, ...t }, e) => /* @__PURE__ */ m("span", { className: d(o.badgeDot, n[s], a), ...t, ref: e }));
|
|
11
|
+
p.displayName = "BadgeDot";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as BadgeDot
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=BadgeDot.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
-
import { createSizeToClassNameMap as
|
|
4
|
-
const
|
|
5
|
-
badgeContent:
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
import { createSizeToClassNameMap as _ } from "../../../utils/classNameMaps.js";
|
|
4
|
+
const c = "badgeContent__6eb0e914", m = "sm__d4c69226", b = "md__0b57242b", f = "lg__baae1fa0", P = "noPaddingLeft__5e64e9fe", l = "noPaddingRight__c9eb9d2e", n = {
|
|
5
|
+
badgeContent: c,
|
|
6
6
|
sm: m,
|
|
7
|
-
md:
|
|
8
|
-
lg:
|
|
9
|
-
noPaddingLeft:
|
|
10
|
-
noPaddingRight:
|
|
11
|
-
},
|
|
7
|
+
md: b,
|
|
8
|
+
lg: f,
|
|
9
|
+
noPaddingLeft: P,
|
|
10
|
+
noPaddingRight: l
|
|
11
|
+
}, r = _(n), C = ({
|
|
12
12
|
children: t,
|
|
13
|
-
size:
|
|
14
|
-
noPaddingLeft:
|
|
15
|
-
noPaddingRight:
|
|
13
|
+
size: e,
|
|
14
|
+
noPaddingLeft: o,
|
|
15
|
+
noPaddingRight: d,
|
|
16
16
|
className: a,
|
|
17
17
|
...s
|
|
18
18
|
}) => /* @__PURE__ */ g(
|
|
19
19
|
"span",
|
|
20
20
|
{
|
|
21
|
-
className:
|
|
21
|
+
className: i(
|
|
22
22
|
n.badgeContent,
|
|
23
|
-
|
|
24
|
-
{ [n.noPaddingLeft]:
|
|
23
|
+
r[e],
|
|
24
|
+
{ [n.noPaddingLeft]: o, [n.noPaddingRight]: d },
|
|
25
25
|
a
|
|
26
26
|
),
|
|
27
27
|
...s,
|
|
28
28
|
children: t
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
|
-
|
|
31
|
+
C.displayName = "BadgeContent";
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
C as BadgeContent
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=BadgeContent.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
badgePostfix:
|
|
5
|
-
},
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const i = "badgePostfix__37b5bd04", x = {
|
|
4
|
+
badgePostfix: i
|
|
5
|
+
}, d = ({
|
|
6
6
|
children: s,
|
|
7
|
-
className:
|
|
8
|
-
...
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
7
|
+
className: o,
|
|
8
|
+
...t
|
|
9
|
+
}) => /* @__PURE__ */ a("span", { className: e(x.badgePostfix, o), ...t, children: s });
|
|
10
|
+
d.displayName = "BadgePostfix";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
d as BadgePostfix
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=BadgePostfix.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
badgePrefix:
|
|
5
|
-
},
|
|
6
|
-
|
|
2
|
+
import { c as i } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
3
|
+
const x = "badgePrefix__396033d2", d = {
|
|
4
|
+
badgePrefix: x
|
|
5
|
+
}, f = ({ children: e, className: a, ...s }) => /* @__PURE__ */ r("span", { className: i(d.badgePrefix, a), ...s, children: e });
|
|
6
|
+
f.displayName = "BadgePrefix";
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
f as BadgePrefix
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=BadgePrefix.js.map
|
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 } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
},
|
|
8
|
-
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as t } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
+
const y = "body__9cda3057", c = "bodyInner__98b64a62", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, b = e.forwardRef(({ children: r, className: s, ...a }, n) => /* @__PURE__ */ o("div", { className: t(d.body, s), ...a, "data-tx": "0.19.1", ref: n, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: r }) }));
|
|
8
|
+
b.displayName = "Body";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
b as Body
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=Body.js.map
|
|
@@ -7,22 +7,22 @@ import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
8
|
import { EButtonTheme as o } from "./enums.js";
|
|
9
9
|
import { EComponentSize as a } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "general__8b17b3cb", B = "expanded__e088d9f5", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__daaf7a81", T = "expanded__e088d9f5", f = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__3c0be95f", I = "expanded__e088d9f5", x = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__231c0a0a", O = "expanded__e088d9f5", b = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__b4039bbc", $ = "expanded__e088d9f5", h = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__dfe4739b", z = "sm__ad48315f", M = "icon__4864ad2f", j = "md__ad0b2247", H = "lg__30fcd97a", K = "block__81507f92", U = "content__9c228133", q = "loading__1e186fa7", F = "loader__822e43e1", J = "hidden__a138c589", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -39,23 +39,23 @@ const A = "general__6408e99c", B = "expanded__7f392a8e", u = {
|
|
|
39
39
|
return { [u.general]: !0, [u.expanded]: n };
|
|
40
40
|
case o.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[f.secondary]: !0,
|
|
43
|
+
[f.expanded]: n
|
|
44
44
|
};
|
|
45
45
|
case o.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[x.secondaryLight]: !0,
|
|
48
|
+
[x.expanded]: n
|
|
49
49
|
};
|
|
50
50
|
case o.DANGER:
|
|
51
51
|
return {
|
|
52
|
-
[
|
|
53
|
-
[
|
|
52
|
+
[b.danger]: !0,
|
|
53
|
+
[b.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) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.
|
|
3
|
+
const e = a.forwardRef((t, o) => /* @__PURE__ */ r("button", { type: "button", ...t, "data-tx": "0.19.1", ref: o }));
|
|
4
4
|
e.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
e as ButtonBase
|
|
@@ -18,7 +18,7 @@ import { Text as ao } from "../Typography/Text.js";
|
|
|
18
18
|
import { ETextSize as so } from "../Typography/enums.js";
|
|
19
19
|
import { DropdownList as Y } from "../Dropdown/desktop/DropdownList.js";
|
|
20
20
|
import { EComponentSize as f } from "../../enums/EComponentSize.js";
|
|
21
|
-
const lo = "
|
|
21
|
+
const lo = "buttonDropdown__bca2472e", io = "block__81507f92", mo = "buttonDropdownTarget__4b3be013", uo = "caretIcon__25e8d0ef", Do = "active__5c4ead72", fo = "buttonDropdownMenuItem__53cce60f", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -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-DE8Zvm0w.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__ab3eca24", S = "buttonDropdownExtendedBlock__9ec1781e", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className: v, opened: x, setOpened: c, renderButton:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, 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 ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -25,10 +25,10 @@ const K = "buttonDropdownExtended__79376468", S = "buttonDropdownExtendedBlock__
|
|
|
25
25
|
const n = r.code || r.keyCode;
|
|
26
26
|
e && (w(n, "ESCAPE") || p && w(n, "TAB")) && o(!1);
|
|
27
27
|
}, d = (r) => {
|
|
28
|
-
const n = u.current,
|
|
28
|
+
const n = u.current, a = l.current;
|
|
29
29
|
if (e) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const i = r.target;
|
|
31
|
+
i && !(n != null && n.contains(i)) && !(a != null && a.contains(i)) && o(!1);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
return document.addEventListener("keydown", t), document.addEventListener("mousedown", d), document.addEventListener("touchstart", d), () => {
|
|
@@ -37,8 +37,8 @@ const K = "buttonDropdownExtended__79376468", S = "buttonDropdownExtendedBlock__
|
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
38
|
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
|
+
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
44
44
|
setOpened: o
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
},
|
|
13
|
-
({ className:
|
|
14
|
-
const i = m(
|
|
4
|
+
import { EButtonIconShape as c } from "./enums.js";
|
|
5
|
+
const p = "buttonIcon__b1e3151e", I = "circle__a373cac2", b = "squircle__5a2aac6a", o = {
|
|
6
|
+
buttonIcon: p,
|
|
7
|
+
circle: I,
|
|
8
|
+
squircle: b
|
|
9
|
+
}, f = {
|
|
10
|
+
[c.SQUIRCLE]: o.squircle,
|
|
11
|
+
[c.CIRCLE]: o.circle
|
|
12
|
+
}, _ = u.forwardRef(
|
|
13
|
+
({ className: e, disabled: t, shape: n = c.SQUIRCLE, active: s, ...a }, r) => {
|
|
14
|
+
const i = m(o.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!t
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled:
|
|
18
|
+
return /* @__PURE__ */ l("button", { type: "button", className: i, disabled: t, ...a, ref: r });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
_.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
_ as ButtonIcon
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
|
-
var
|
|
3
|
+
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
5
|
import { u as I, c as R } from "../../chunks/vendor-DE8Zvm0w.js";
|
|
6
6
|
import V from "react";
|
|
@@ -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__e012f7af", L = "adaptive__572c0181", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -21,13 +21,13 @@ class k extends V.PureComponent {
|
|
|
21
21
|
constructor(t) {
|
|
22
22
|
super(t);
|
|
23
23
|
// Уникальный идентификатор для связи периода с таблицей.
|
|
24
|
-
|
|
24
|
+
p(this, "periodId", `calendar-period-${I()}`);
|
|
25
25
|
/** Обработчик выбора даты. */
|
|
26
|
-
|
|
26
|
+
p(this, "handleDateSelect", (t) => {
|
|
27
27
|
this.props.onDateChange(t);
|
|
28
28
|
});
|
|
29
29
|
/** Обработчик смены страницы. */
|
|
30
|
-
|
|
30
|
+
p(this, "handlePageChange", (t, a) => {
|
|
31
31
|
const { onPageChange: o } = this.props;
|
|
32
32
|
this.setState({
|
|
33
33
|
header: P(t, a),
|
|
@@ -35,7 +35,7 @@ class k extends V.PureComponent {
|
|
|
35
35
|
}), o == null || o(t, a);
|
|
36
36
|
});
|
|
37
37
|
/** Обработчик изменения вида отображения. */
|
|
38
|
-
|
|
38
|
+
p(this, "handleViewChange", (t, a) => {
|
|
39
39
|
const { onViewChange: o } = this.props;
|
|
40
40
|
this.setState({
|
|
41
41
|
header: P(t, a),
|
|
@@ -44,13 +44,13 @@ class k extends V.PureComponent {
|
|
|
44
44
|
}), o == null || o(t, a);
|
|
45
45
|
});
|
|
46
46
|
/** Рендер футера. */
|
|
47
|
-
|
|
47
|
+
p(this, "renderFooter", () => {
|
|
48
48
|
const { pickType: t, yesterdayButtonProps: a, todayButtonProps: o, tomorrowButtonProps: r } = this.props, { viewDate: n, viewMode: e } = this.state;
|
|
49
49
|
let i, s;
|
|
50
50
|
t === y.datePick ? (i = D().startOf("day"), s = e === l.DAYS && n.isSame(i, "month")) : (i = D().startOf("month"), s = e === l.MONTHS && n.isSame(i, "year"));
|
|
51
|
-
const
|
|
51
|
+
const c = s && e === l.DAYS;
|
|
52
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
53
|
-
|
|
53
|
+
c && a && /* @__PURE__ */ h(
|
|
54
54
|
v,
|
|
55
55
|
{
|
|
56
56
|
date: i.clone().subtract(1, "day"),
|
|
@@ -66,7 +66,7 @@ class k extends V.PureComponent {
|
|
|
66
66
|
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected: s }) : o
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
c && r && /* @__PURE__ */ h(
|
|
70
70
|
v,
|
|
71
71
|
{
|
|
72
72
|
date: i.clone().add(1, "day"),
|
|
@@ -107,8 +107,8 @@ class k extends V.PureComponent {
|
|
|
107
107
|
return n;
|
|
108
108
|
}
|
|
109
109
|
componentDidUpdate(t, a) {
|
|
110
|
-
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n,
|
|
111
|
-
if (!(!i ||
|
|
110
|
+
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n, c = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || c != null && c.isSame(s, "day"))) {
|
|
112
112
|
let u = {};
|
|
113
113
|
r && !r.isSame(e, "month") && (u = {
|
|
114
114
|
currentTab: l.DAYS,
|
|
@@ -130,14 +130,14 @@ class k extends V.PureComponent {
|
|
|
130
130
|
dayHtmlAttributes: e,
|
|
131
131
|
monthHtmlAttributes: i,
|
|
132
132
|
yearHtmlAttributes: s,
|
|
133
|
-
prevButtonProps:
|
|
133
|
+
prevButtonProps: c,
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
137
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
139
|
}), b = f(this.props.pickedDate, t);
|
|
140
|
-
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "0.19.1", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -157,7 +157,7 @@ class k extends V.PureComponent {
|
|
|
157
157
|
/* @__PURE__ */ h(
|
|
158
158
|
N,
|
|
159
159
|
{
|
|
160
|
-
prevButtonProps:
|
|
160
|
+
prevButtonProps: c,
|
|
161
161
|
nextButtonProps: u,
|
|
162
162
|
viewButtonProps: C,
|
|
163
163
|
children: Y
|
|
@@ -178,11 +178,11 @@ class k extends V.PureComponent {
|
|
|
178
178
|
) });
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
p(k, "defaultProps", {
|
|
182
182
|
format: x,
|
|
183
183
|
limitRange: O,
|
|
184
184
|
pickType: y.datePick
|
|
185
|
-
}),
|
|
185
|
+
}), p(k, "contextType", w);
|
|
186
186
|
export {
|
|
187
187
|
k as Calendar
|
|
188
188
|
};
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__8c619458", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__04208bc0", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), b = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: E.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__04208bc0", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: E.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__04208bc0", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || O.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || O.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__04208bc0", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
b(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children:
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
const e = "calendarFooter__fab9c8ea", r = {
|
|
3
|
+
calendarFooter: e
|
|
4
|
+
}, t = ({ children: a }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: a });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as 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-CCClPe6W.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-CCClPe6W.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-CCClPe6W.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 = {} }) => {
|