@sberbusiness/triplex-next 1.11.0 → 1.11.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-BD_Gn-Dt.js +39 -0
- package/chunks/{CalendarViewItem-GZv99LrE.js → CalendarViewItem-D4xPCMNk.js} +23 -23
- package/chunks/Card.module-Bhthde3h.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BiRkBMQF.js +11 -0
- package/chunks/{Chip-L25luM9A.js → Chip-cfCxiRgH.js} +14 -14
- package/chunks/Confirm.module-DFlXoQgj.js +15 -0
- package/chunks/{DropdownListItem-QBxfm941.js → DropdownListItem-DmNoGI25.js} +2 -2
- package/chunks/DropdownMobile.module-GlVoDQNA.js +23 -0
- package/chunks/Footer.module-DF8KqUFe.js +9 -0
- package/chunks/{FormFieldInput-ZCQQZs7b.js → FormFieldInput-8PHiOrKp.js} +8 -8
- package/chunks/HeaderLayoutSidebar.module-Dyup0YXT.js +9 -0
- package/chunks/HeaderTabs.module-BOk45fdD.js +9 -0
- package/chunks/{HeaderTitle.module-C7KQyTXH.js → HeaderTitle.module-Br1uSnXp.js} +2 -2
- package/chunks/IslandAccordion.module-DBJCDTU5.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cm4qltRz.js +9 -0
- package/chunks/IslandWidgetHeader.module-DNGkgtxt.js +9 -0
- package/chunks/LightBoxContent-BsgLiqBK.js +56 -0
- package/chunks/LightBoxControls.module-D0jwVGM3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CRGNy4wB.js +8 -0
- package/chunks/{ListItemControlsButton-B0Qs0eEN.js → ListItemControlsButton-Di_xvf2z.js} +12 -12
- package/chunks/ListItemTail.module-8hOMglSb.js +12 -0
- package/chunks/ListMasterFooter.module-BqDaSIa3.js +10 -0
- package/chunks/ModalWindow.module-D64WOEok.js +17 -0
- package/chunks/Notification.module-D_VFaM4r.js +21 -0
- package/chunks/Overlay.module-CQqFoPPv.js +18 -0
- package/chunks/Page.module-7Rk0weox.js +11 -0
- package/chunks/{RightBorderArrow-B3TaRXow.js → RightBorderArrow-CCP2YL7m.js} +4 -4
- package/chunks/SMSField.module-BYMY_yYk.js +16 -0
- package/chunks/SliderExtendedMarks.module-DXK4tjpP.js +15 -0
- package/chunks/{SliderExtendedRail-DP6nRRY0.js → SliderExtendedRail-DgAU6Her.js} +10 -10
- package/chunks/StatusTracker.module-BKN8QleZ.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-C04_aHFB.js → SuggestFieldMobileDropdownHint-Bxhju9ds.js} +2 -2
- package/chunks/TableFooter.module-BCg7kNAi.js +14 -0
- package/chunks/TabsExtended.module--zTP2nly.js +16 -0
- package/chunks/TabsLine.module-JVvza8Eg.js +21 -0
- package/chunks/TooltipDesktop.module-CKhpsiwl.js +19 -0
- package/chunks/TreeView.module-BdAF2m9x.js +9 -0
- package/chunks/UploadZoneInput-BYbkWwSb.js +35 -0
- package/chunks/utils-B8d-0n8_.js +36 -0
- package/chunks/utils-ByxsWSQj.js +20 -0
- package/chunks/utils-DSD_i5Q7.js +73 -0
- package/chunks/{utils-P0A0WEsB.js → utils-DVMlFgJB.js} +4 -4
- package/chunks/{utils-CDPE3P4X.js → utils-uus5lwmy.js} +10 -10
- package/components/Alert/AlertContext/AlertContext.js +20 -20
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +4 -4
- package/components/AmountField/AmountField.js +10 -10
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +28 -28
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +1 -1
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +9 -9
- 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 +13 -13
- 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 +12 -12
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +7 -7
- 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 +5 -5
- 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 +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +8 -8
- package/components/Col/Col.js +147 -147
- package/components/CollapsableTree/components/CollapsableTreeNode.js +16 -16
- 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 +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +14 -14
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +16 -16
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +7 -7
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +6 -6
- 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 +5 -5
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +5 -5
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +5 -5
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +17 -17
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +6 -6
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +6 -6
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +2 -2
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +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 +5 -5
- package/components/List/components/ListSortableItemControls.js +1 -1
- 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 +6 -6
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +11 -11
- package/components/Loader/LoaderSmall/LoaderSmall.js +1 -1
- package/components/LoaderScreen/LoaderScreen.js +1 -1
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +11 -11
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +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 +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +9 -9
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +9 -9
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Radio/Radio.js +12 -12
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +7 -7
- 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 +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +10 -10
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +27 -27
- package/components/Skeleton/Skeleton.js +11 -11
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +18 -18
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +11 -11
- 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 +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +3 -3
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +3 -3
- 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 +3 -3
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- 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 +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +8 -8
- 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 +10 -10
- package/components/Tag/Tag.js +24 -24
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +6 -6
- package/components/TopOverlay/TopOverlay.js +6 -6
- 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 +9 -9
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +14 -14
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +5 -5
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +535 -535
- package/chunks/AlertProcessSpoiler-BGQ1uQrz.js +0 -39
- package/chunks/Card.module-Bb-0eR7p.js +0 -17
- package/chunks/CheckboxTreeExtended.module-LACc235T.js +0 -11
- package/chunks/Confirm.module-B2F1vU1t.js +0 -15
- package/chunks/DropdownMobile.module-zHrNkkL5.js +0 -23
- package/chunks/Footer.module-CTz6ITIP.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CQPDDGSa.js +0 -9
- package/chunks/HeaderTabs.module-Fe8TyS0Y.js +0 -9
- package/chunks/IslandAccordion.module-B1DwUTEO.js +0 -25
- package/chunks/IslandWidgetFooter.module-DNunPtYA.js +0 -9
- package/chunks/IslandWidgetHeader.module-CVe7qw8f.js +0 -9
- package/chunks/LightBoxContent-D0toheNV.js +0 -56
- package/chunks/LightBoxControls.module-DUY3tLKy.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-C-9e4C_Y.js +0 -8
- package/chunks/ListItemTail.module-uDs8u3yU.js +0 -12
- package/chunks/ListMasterFooter.module-uJGRVDCh.js +0 -10
- package/chunks/ModalWindow.module-BxFKBpp4.js +0 -17
- package/chunks/Notification.module-HwYJsw5w.js +0 -21
- package/chunks/Overlay.module-BdT_EdJd.js +0 -18
- package/chunks/Page.module-CQz9ZvqA.js +0 -11
- package/chunks/SMSField.module-B2vNyUh9.js +0 -16
- package/chunks/SliderExtendedMarks.module-D9G5rkyR.js +0 -15
- package/chunks/StatusTracker.module-BM1Mr7Lr.js +0 -24
- package/chunks/TableFooter.module-DNpkWevf.js +0 -14
- package/chunks/TabsExtended.module-BvIRknmY.js +0 -16
- package/chunks/TabsLine.module-BN-kBFLj.js +0 -21
- package/chunks/TooltipDesktop.module-itrszAnq.js +0 -19
- package/chunks/TreeView.module-CDWFlOAV.js +0 -9
- package/chunks/UploadZoneInput-BYGZcWC8.js +0 -35
- package/chunks/utils-BWjaO0EE.js +0 -73
- package/chunks/utils-BsNeWWRx.js +0 -20
- package/chunks/utils-DKyrkqb2.js +0 -36
|
@@ -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 x } from "react/jsx-runtime";
|
|
2
|
+
import h, { useRef as y, useLayoutEffect as E } 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-8PHiOrKp.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__bf8b7618", j = "disabled__0aed4a15", 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)), E(() => {
|
|
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) => {
|
|
@@ -24,16 +24,16 @@ const K = "currency__002e59d2", j = "disabled__ae8395d2", g = {
|
|
|
24
24
|
}, S = (t) => {
|
|
25
25
|
var c;
|
|
26
26
|
e.current && (e.current.cache.key = t.key, (c = r.onKeyDown) == null || c.call(r, t));
|
|
27
|
-
},
|
|
27
|
+
}, b = (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
|
+
}, v = (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__ */ x(h.Fragment, { children: [
|
|
37
37
|
s !== void 0 && /* @__PURE__ */ l(T, { onClick: s }),
|
|
38
38
|
i !== void 0 && /* @__PURE__ */ l(
|
|
39
39
|
"span",
|
|
@@ -58,9 +58,9 @@ const K = "currency__002e59d2", j = "disabled__ae8395d2", g = {
|
|
|
58
58
|
inputMode: "decimal",
|
|
59
59
|
"data-test-id": o && `${o}__input`,
|
|
60
60
|
onKeyDown: S,
|
|
61
|
-
onSelect:
|
|
61
|
+
onSelect: b,
|
|
62
62
|
onChange: C,
|
|
63
|
-
ref:
|
|
63
|
+
ref: v
|
|
64
64
|
}
|
|
65
65
|
)
|
|
66
66
|
}
|
package/components/Body/Body.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
body:
|
|
6
|
-
bodyInner:
|
|
7
|
-
}, m =
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { c as t } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
+
const y = "body__dd853fa5", c = "bodyInner__a49a0c64", d = {
|
|
5
|
+
body: y,
|
|
6
|
+
bodyInner: c
|
|
7
|
+
}, m = n.forwardRef(({ children: a, className: r, ...s }, e) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.11.1", ref: e, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: a }) }));
|
|
8
8
|
m.displayName = "Body";
|
|
9
9
|
export {
|
|
10
10
|
m as Body
|
|
@@ -1,28 +1,28 @@
|
|
|
1
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 p } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as g } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
7
|
import { ButtonBase as C } from "./ButtonBase.js";
|
|
8
|
-
import { EButtonTheme as
|
|
8
|
+
import { EButtonTheme as d } from "./enums.js";
|
|
9
9
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
10
|
-
const A = "
|
|
10
|
+
const A = "general__59d3d8a7", B = "expanded__1fec1199", u = {
|
|
11
11
|
general: A,
|
|
12
12
|
expanded: B
|
|
13
|
-
}, D = "
|
|
13
|
+
}, D = "secondary__fe7a1dd3", T = "expanded__1fec1199", f = {
|
|
14
14
|
secondary: D,
|
|
15
15
|
expanded: T
|
|
16
|
-
}, G = "
|
|
16
|
+
}, G = "secondaryLight__45f57f71", I = "expanded__1fec1199", b = {
|
|
17
17
|
secondaryLight: G,
|
|
18
18
|
expanded: I
|
|
19
|
-
}, v = "
|
|
19
|
+
}, v = "danger__8f5d4b30", O = "expanded__1fec1199", x = {
|
|
20
20
|
danger: v,
|
|
21
21
|
expanded: O
|
|
22
|
-
}, Y = "
|
|
22
|
+
}, Y = "link__dd1dc6d0", $ = "expanded__1fec1199", h = {
|
|
23
23
|
link: Y,
|
|
24
24
|
expanded: $
|
|
25
|
-
}, w = "
|
|
25
|
+
}, w = "button__a8f751f8", z = "sm__8bcbe050", M = "icon__4196c40b", j = "md__f128e5c9", H = "lg__bd9d2eb0", K = "block__fccba068", U = "content__4273fb4f", q = "loading__309610d3", F = "loader__a91988b6", J = "hidden__d9c76c2b", e = {
|
|
26
26
|
button: w,
|
|
27
27
|
sm: z,
|
|
28
28
|
icon: M,
|
|
@@ -35,24 +35,24 @@ const A = "general__af3eddcc", B = "expanded__3ee75f8b", p = {
|
|
|
35
35
|
hidden: J
|
|
36
36
|
}, P = (t, n) => {
|
|
37
37
|
switch (t) {
|
|
38
|
-
case
|
|
39
|
-
return { [
|
|
40
|
-
case
|
|
38
|
+
case d.GENERAL:
|
|
39
|
+
return { [u.general]: !0, [u.expanded]: n };
|
|
40
|
+
case d.SECONDARY:
|
|
41
41
|
return {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
42
|
+
[f.secondary]: !0,
|
|
43
|
+
[f.expanded]: n
|
|
44
44
|
};
|
|
45
|
-
case
|
|
45
|
+
case d.SECONDARY_LIGHT:
|
|
46
46
|
return {
|
|
47
|
-
[
|
|
48
|
-
[
|
|
47
|
+
[b.secondaryLight]: !0,
|
|
48
|
+
[b.expanded]: n
|
|
49
49
|
};
|
|
50
|
-
case
|
|
50
|
+
case d.DANGER:
|
|
51
51
|
return {
|
|
52
52
|
[x.danger]: !0,
|
|
53
53
|
[x.expanded]: n
|
|
54
54
|
};
|
|
55
|
-
case
|
|
55
|
+
case d.LINK:
|
|
56
56
|
return {
|
|
57
57
|
[h.link]: !0,
|
|
58
58
|
[h.expanded]: n
|
|
@@ -68,30 +68,30 @@ const A = "general__af3eddcc", B = "expanded__3ee75f8b", p = {
|
|
|
68
68
|
return e.sm;
|
|
69
69
|
}
|
|
70
70
|
}, V = (t, n) => {
|
|
71
|
-
const
|
|
72
|
-
return /* @__PURE__ */ y(R, { theme:
|
|
71
|
+
const o = [d.SECONDARY, d.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
|
|
72
|
+
return /* @__PURE__ */ y(R, { theme: o, size: n });
|
|
73
73
|
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children:
|
|
74
|
+
const { children: o, className: N, disabled: a, theme: r, size: l = s.MD, block: L, loading: c, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
75
|
e.button,
|
|
76
76
|
P(r, !!_),
|
|
77
77
|
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!
|
|
79
|
-
{ [e.icon]: !!i && !
|
|
78
|
+
{ [e.block]: !!L, [e.loading]: !!c },
|
|
79
|
+
{ [e.icon]: !!i && !o },
|
|
80
80
|
// Классы для иконок, начало.
|
|
81
81
|
"hoverable",
|
|
82
82
|
{
|
|
83
83
|
active: !!_,
|
|
84
|
-
disabled: !!
|
|
84
|
+
disabled: !!a
|
|
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: c ? -1 : void 0, disabled: a, ...S, ref: n, children: [
|
|
90
90
|
/* @__PURE__ */ m("span", { className: e.content, children: [
|
|
91
91
|
i,
|
|
92
|
-
|
|
92
|
+
o
|
|
93
93
|
] }),
|
|
94
|
-
/* @__PURE__ */ y("div", { className:
|
|
94
|
+
/* @__PURE__ */ y("div", { className: p(e.loader, !c && 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.11.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.11.1", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r 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__5289d125", io = "block__fccba068", mo = "buttonDropdownTarget__ff2e6c92", uo = "caretIcon__d6f87224", Do = "active__e8749619", fo = "buttonDropdownMenuItem__f2977d45", n = {
|
|
22
22
|
buttonDropdown: lo,
|
|
23
23
|
block: io,
|
|
24
24
|
buttonDropdownTarget: mo,
|
|
@@ -4,7 +4,7 @@ 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__3b8b7ebe", S = "buttonDropdownExtendedBlock__144b4f21", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -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__5552ecf3", I = "circle__523a4779", f = "squircle__25ed5199", t = {
|
|
6
6
|
buttonIcon: p,
|
|
7
7
|
circle: I,
|
|
8
|
-
squircle:
|
|
9
|
-
},
|
|
8
|
+
squircle: f
|
|
9
|
+
}, _ = {
|
|
10
10
|
[o.SQUIRCLE]: t.squircle,
|
|
11
11
|
[o.CIRCLE]: t.circle
|
|
12
|
-
},
|
|
12
|
+
}, b = 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, _[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
|
+
b.displayName = "ButtonIcon";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
b 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__69e43c0d", L = "adaptive__6e36f54d", w = {
|
|
16
16
|
calendar: q,
|
|
17
17
|
adaptive: L
|
|
18
18
|
};
|
|
@@ -136,7 +136,7 @@ class g extends V.PureComponent {
|
|
|
136
136
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(w.calendar, {
|
|
137
137
|
[w.adaptive]: !!this.props.adaptiveMode
|
|
138
138
|
}), b = f(this.props.pickedDate, t);
|
|
139
|
-
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.11.
|
|
139
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.11.1", children: /* @__PURE__ */ S(
|
|
140
140
|
k.Provider,
|
|
141
141
|
{
|
|
142
142
|
value: {
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as E } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__b9b787d1", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__eae4342f", 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), O = () => {
|
|
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: b.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__eae4342f", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: b.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__eae4342f", 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 || E.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 || E.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__eae4342f", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
O(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__3adf76c9", 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-D4xPCMNk.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-D4xPCMNk.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-D4xPCMNk.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-D4xPCMNk.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,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (c, i, e) => i in c ?
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? b(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
3
|
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
@@ -8,10 +8,10 @@ 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 f } 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-Bhthde3h.js";
|
|
14
|
+
const O = "action__3850b2eb", F = "selected__427ffda0", V = "focusVisible__562ce53e", 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), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(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: p = 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: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
|
-
[a.focusVisible]:
|
|
82
|
-
[a.selected]: E ? !!m :
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.11.
|
|
99
|
+
"data-tx": "1.11.1",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -3,7 +3,7 @@ import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
5
|
import { c } from "../../chunks/vendor-ClY57Zzq.js";
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-Bhthde3h.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.11.
|
|
24
|
+
"data-tx": "1.11.1",
|
|
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-Bhthde3h.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-Bhthde3h.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-Bhthde3h.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-Bhthde3h.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../../chunks/vendor-ClY57Zzq.js";
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-Bhthde3h.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
3
|
import { l as M, c as S } from "../../chunks/vendor-ClY57Zzq.js";
|
|
4
|
-
import { scrollSmoothHorizontally as
|
|
5
|
-
const R = "
|
|
4
|
+
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
+
const R = "carouselExtended__fd18f567", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
|
-
({ children: l, buttonPrev:
|
|
8
|
+
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
9
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, d = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(d, o) == !1 && m(d);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
n(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), n(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
23
|
-
|
|
23
|
+
c(r.current, Math.floor(-u));
|
|
24
24
|
}, v = () => {
|
|
25
|
-
|
|
25
|
+
c(r.current, Math.ceil(f));
|
|
26
26
|
}, E = (e) => {
|
|
27
27
|
r.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ p("div", { ...h, children: [
|
|
30
|
-
|
|
30
|
+
a({
|
|
31
31
|
disabled: o.prevDisabled,
|
|
32
32
|
hidden: o.hidden,
|
|
33
33
|
onClick: x
|
|
@@ -8,7 +8,7 @@ import { ETextSize as n } from "../Typography/enums.js";
|
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
10
|
import { c as r } from "../../chunks/vendor-ClY57Zzq.js";
|
|
11
|
-
const y = "
|
|
11
|
+
const y = "label__5695102b", M = "sm__cca847e0", T = "nonempty__c758082e", g = "md__5d79e049", B = "lg__50e5c45d", j = "disabled__bf5a4afe", v = "checkbox__151c7ad0", D = "checkboxIcon__2b47239a", E = "checkmarkIcon__30cfc3b7", c = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
@@ -22,25 +22,25 @@ const y = "label__c4d002da", M = "sm__425094f9", T = "nonempty__031e078a", g = "
|
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
},
|
|
25
|
+
}, b = u(c), R = N.forwardRef((i, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
28
|
className: p,
|
|
29
29
|
disabled: m,
|
|
30
|
-
bulk:
|
|
30
|
+
bulk: d,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
34
|
+
} = i, h = r(c.checkbox, p, b[t]), _ = r(
|
|
35
35
|
c.label,
|
|
36
|
-
|
|
36
|
+
b[t],
|
|
37
37
|
{ [c.disabled]: !!m, [c.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
39
|
), f = () => {
|
|
40
40
|
const l = c.checkmarkIcon;
|
|
41
|
-
return
|
|
41
|
+
return d ? /* @__PURE__ */ e(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ e(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.11.
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.11.1", children: [
|
|
44
44
|
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
45
|
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
46
46
|
f(),
|