@sberbusiness/triplex-next 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-M7W9D-p3.js +39 -0
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/Chip-DpSJGyYK.js +90 -0
- package/chunks/DropdownListItem-SqymKZn5.js +57 -0
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/FormFieldInput-BSxKZxcq.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/HeaderTitle.module-CEMLCR13.js +11 -0
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/LightBoxContent-DTTxRVLQ.js +56 -0
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-Ms4q9wDe.js → ListItemControlsButton-AbCEipFe.js} +7 -7
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-D6ZllSTT.js → RightBorderArrow-Co_RT8lZ.js} +14 -14
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-Bkv3b0F5.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/utils-CXhKCNyM.js +72 -0
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-D9w2Kvyk.js} +7 -7
- package/chunks/{utils-BZFu5eVD.js → utils-Dhi5F6Da.js} +8 -8
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +45 -44
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +20 -20
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -3
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +91 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +88 -62
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +127 -109
- package/components/Divider/Divider.js +18 -18
- package/components/Dropdown/desktop/DropdownDesktop.js +23 -23
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +27 -27
- package/components/Footer/Footer.js +9 -20
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +14 -18
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +14 -18
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +36 -32
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +21 -21
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +12 -12
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +9 -9
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +7 -7
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -12
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +19 -20
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/Notification/Notification.js +3 -3
- 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 +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- 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 +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +12 -12
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +15 -15
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +8 -8
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -20
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +6 -6
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +54 -54
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +73 -72
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- 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 +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +17 -17
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +6 -6
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- 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 +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +26 -30
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +24 -24
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +428 -366
- package/consts/DateConst.js +14 -0
- package/index.d.ts +1022 -60
- package/index.js +434 -372
- package/package.json +50 -1
- package/styles/triplex-next.css +501 -441
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/chunks/vendor-CehxOAkM.js +0 -11907
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Calendar}/types.js +0 -0
|
@@ -1,36 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { Island as R } from "../../Island/Island.js";
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import F, { useRef as R } from "react";
|
|
3
|
+
import { c as T } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { Footer as s } from "../../Footer/Footer.js";
|
|
5
|
+
import { EFooterPageType as i } from "./enums.js";
|
|
6
|
+
import { useStickyCornerRadius as d } from "./useStickyCornerRadius.js";
|
|
7
|
+
import { Island as y } from "../../Island/Island.js";
|
|
9
8
|
import { EIslandType as g } from "../../Island/enums.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
9
|
+
import "../../Island/components/IslandBody.js";
|
|
10
|
+
import "../../Island/components/IslandHeader.js";
|
|
11
|
+
import "../../Island/components/IslandFooter.js";
|
|
12
|
+
import { s as c } from "../../../chunks/Page.module-DUQ6i8Ez.js";
|
|
13
|
+
const w = Object.assign(
|
|
14
|
+
F.forwardRef(
|
|
15
|
+
({ className: m, type: r, size: n, sticky: f, ...p }, o) => {
|
|
16
|
+
const a = R(null);
|
|
17
|
+
d(a, "bottom", r === i.FIRST && f);
|
|
18
|
+
const l = (t) => {
|
|
19
|
+
a.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
20
|
+
}, u = T(m, c.footerPageTypeFirst, {
|
|
21
|
+
[c.sticky]: r === i.FIRST && f
|
|
22
|
+
});
|
|
23
|
+
return r === i.FIRST ? /* @__PURE__ */ e(
|
|
24
|
+
y,
|
|
25
|
+
{
|
|
26
|
+
className: u,
|
|
27
|
+
type: g.TYPE_1,
|
|
28
|
+
ref: l,
|
|
29
|
+
size: n,
|
|
30
|
+
children: /* @__PURE__ */ e(s, { ...p })
|
|
31
|
+
}
|
|
32
|
+
) : /* @__PURE__ */ e(s, { ref: o, className: m, ...p });
|
|
33
|
+
}
|
|
34
|
+
),
|
|
29
35
|
{
|
|
30
|
-
Description:
|
|
36
|
+
Description: s.Description
|
|
31
37
|
}
|
|
32
38
|
);
|
|
33
39
|
export {
|
|
34
|
-
|
|
40
|
+
w as FooterPage
|
|
35
41
|
};
|
|
36
42
|
//# sourceMappingURL=FooterPage.js.map
|
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import T, { useRef as R } from "react";
|
|
3
3
|
import { Header as e } from "../../Header/Header.js";
|
|
4
|
-
import { EHeaderPageType as
|
|
5
|
-
import { c as
|
|
6
|
-
import { Island as
|
|
7
|
-
import { EIslandType as
|
|
8
|
-
import { useStickyCornerRadius as
|
|
9
|
-
import { s as
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
paddingSize: 16,
|
|
24
|
-
ref: n,
|
|
25
|
-
children: /* @__PURE__ */ o(e, { ...s })
|
|
26
|
-
}
|
|
27
|
-
) : /* @__PURE__ */ o(e, { ref: r, className: m(p.headerPageTypeFirst, t), ...s });
|
|
28
|
-
}),
|
|
4
|
+
import { EHeaderPageType as t } from "./enums.js";
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
import { Island as S } from "../../Island/Island.js";
|
|
7
|
+
import { EIslandType as y } from "../../Island/enums.js";
|
|
8
|
+
import { useStickyCornerRadius as b } from "./useStickyCornerRadius.js";
|
|
9
|
+
import { s as i } from "../../../chunks/Page.module-DUQ6i8Ez.js";
|
|
10
|
+
const j = Object.assign(
|
|
11
|
+
T.forwardRef(
|
|
12
|
+
({ className: m, type: a, size: n, sticky: d, ...f }, r) => {
|
|
13
|
+
const l = R(null);
|
|
14
|
+
b(l, "top", a === t.FIRST && d);
|
|
15
|
+
const c = (o) => {
|
|
16
|
+
l.current = o, typeof r == "function" ? r(o) : r && (r.current = o);
|
|
17
|
+
}, u = p(m, i.headerPageTypeFirst, {
|
|
18
|
+
[i.sticky]: a === t.FIRST && d
|
|
19
|
+
});
|
|
20
|
+
return a === t.FIRST ? /* @__PURE__ */ s(S, { className: u, type: y.TYPE_1, size: n, ref: c, children: /* @__PURE__ */ s(e, { ...f }) }) : /* @__PURE__ */ s(e, { ref: r, className: p(i.headerPageTypeSecond, m), ...f });
|
|
21
|
+
}
|
|
22
|
+
),
|
|
29
23
|
{
|
|
30
24
|
LayoutSidebar: e.LayoutSidebar,
|
|
31
25
|
Subhead: e.Subhead,
|
|
@@ -34,6 +28,6 @@ const H = Object.assign(
|
|
|
34
28
|
}
|
|
35
29
|
);
|
|
36
30
|
export {
|
|
37
|
-
|
|
31
|
+
j as HeaderPage
|
|
38
32
|
};
|
|
39
33
|
//# sourceMappingURL=HeaderPage.js.map
|
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
import { useEffect as
|
|
2
|
-
function
|
|
3
|
-
let t =
|
|
1
|
+
import { useEffect as v } from "react";
|
|
2
|
+
function E(i) {
|
|
3
|
+
let t = i;
|
|
4
4
|
for (; t && t !== document.documentElement; ) {
|
|
5
|
-
const
|
|
6
|
-
if (/(auto|scroll|overlay)/.test(
|
|
5
|
+
const e = getComputedStyle(t).overflowY;
|
|
6
|
+
if (/(auto|scroll|overlay)/.test(e) && t.scrollHeight > t.clientHeight) return t;
|
|
7
7
|
t = t.parentElement;
|
|
8
8
|
}
|
|
9
9
|
return window;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
const e =
|
|
11
|
+
function L(i, t, c = !0) {
|
|
12
|
+
v(() => {
|
|
13
|
+
const e = i.current;
|
|
14
14
|
if (!e) return;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
const u = t === "top" ? "--r-top" : "--r-bottom";
|
|
16
|
+
if (!c) {
|
|
17
|
+
e.style.removeProperty(u), delete e.dataset.stuck;
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const p = 24;
|
|
21
|
+
let d = 0, r = 0, s = window, l = null;
|
|
22
|
+
const m = () => {
|
|
23
|
+
r = 0;
|
|
24
|
+
const o = e.getBoundingClientRect(), n = s === window ? { top: 0, bottom: window.innerHeight } : s.getBoundingClientRect(), g = t === "top" ? o.top - (n.top + d) : n.bottom - d - o.bottom, f = Math.max(0, Math.min(p, g));
|
|
25
|
+
e.style.setProperty(u, `${f}px`), f <= 0.5 ? e.dataset.stuck = "true" : delete e.dataset.stuck;
|
|
26
|
+
}, a = () => {
|
|
27
|
+
r || (r = requestAnimationFrame(m));
|
|
28
|
+
}, y = () => {
|
|
29
|
+
const o = getComputedStyle(e), n = t === "top" ? o.top : o.bottom;
|
|
30
|
+
d = parseFloat(n || "0") || 0, s = E(e), l = s === window ? window : s, m(), l.addEventListener("scroll", a, { passive: !0 }), window.addEventListener("resize", a), window.addEventListener("transitionend", w);
|
|
31
|
+
}, w = (o) => {
|
|
32
|
+
o.target && o.target instanceof HTMLElement && o.target.classList && o.propertyName === "transform" && Array.from(o.target.classList).some(
|
|
33
|
+
(n) => n.includes("lightBoxSideOverlayContent")
|
|
34
|
+
) && m();
|
|
23
35
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return u.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s), () => {
|
|
27
|
-
u.removeEventListener("scroll", s), window.removeEventListener("resize", s), o && cancelAnimationFrame(o);
|
|
36
|
+
return setTimeout(y, 100), () => {
|
|
37
|
+
l && l.removeEventListener("scroll", a), window.removeEventListener("resize", a), window.removeEventListener("transitionend", w), r && cancelAnimationFrame(r);
|
|
28
38
|
};
|
|
29
|
-
}, [
|
|
39
|
+
}, [i, t, c]);
|
|
30
40
|
}
|
|
31
41
|
export {
|
|
32
|
-
|
|
42
|
+
L as useStickyCornerRadius
|
|
33
43
|
};
|
|
34
44
|
//# sourceMappingURL=useStickyCornerRadius.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../chunks/vendor-
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import i from "react";
|
|
4
|
-
const r = "
|
|
4
|
+
const r = "paginationExtended__ac3aa172", s = {
|
|
5
5
|
paginationExtended: r
|
|
6
6
|
}, x = i.forwardRef(
|
|
7
|
-
({ children:
|
|
7
|
+
({ children: a, className: t, ...n }, e) => /* @__PURE__ */ o(
|
|
8
8
|
"nav",
|
|
9
9
|
{
|
|
10
|
-
className: d(s.paginationExtended,
|
|
11
|
-
"data-tx": "1.
|
|
10
|
+
className: d(s.paginationExtended, t),
|
|
11
|
+
"data-tx": "1.5.0",
|
|
12
12
|
...n,
|
|
13
13
|
ref: e,
|
|
14
|
-
children:
|
|
14
|
+
children: a
|
|
15
15
|
}
|
|
16
16
|
)
|
|
17
17
|
);
|
|
@@ -4,10 +4,10 @@ import { ButtonIcon as p } from "../../Button/ButtonIcon.js";
|
|
|
4
4
|
import { EButtonIconShape as m } from "../../Button/enums.js";
|
|
5
5
|
import { EPaginationNavigationIconDirection as s } from "../enums.js";
|
|
6
6
|
import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
|
|
7
|
-
const g = "
|
|
7
|
+
const g = "paginationNavigationButton__a0d90f1f", N = "directionIconNext__317bcaf4", n = {
|
|
8
8
|
paginationNavigationButton: g,
|
|
9
9
|
directionIconNext: N
|
|
10
|
-
},
|
|
10
|
+
}, f = c.forwardRef(
|
|
11
11
|
({ direction: i, ...a }, e) => {
|
|
12
12
|
const r = i === s.BACK;
|
|
13
13
|
return /* @__PURE__ */ t(
|
|
@@ -22,8 +22,8 @@ const g = "paginationNavigationButton__949b553a", N = "directionIconNext__d48e93
|
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
f.displayName = "PaginationNavigationButton";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
f as PaginationNavigationButton
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=PaginationNavigationButton.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as d } from "../../../chunks/vendor-
|
|
4
|
-
const g = "
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const g = "paginationNavigationExtended__4295512f", r = {
|
|
5
5
|
paginationNavigationExtended: g
|
|
6
6
|
}, s = e.forwardRef(
|
|
7
7
|
({ children: a, className: t, ...i }, n) => /* @__PURE__ */ o("ul", { className: d(r.paginationNavigationExtended, t), ...i, ref: n, children: a })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
4
|
-
const s = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const s = "paginationPageButton__78f7775b", u = "currentPage__5bf93383", a = {
|
|
5
5
|
paginationPageButton: s,
|
|
6
6
|
currentPage: u
|
|
7
7
|
}, P = g.forwardRef(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
3
|
import o from "react";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "pageEllipsis__334d9c52", r = {
|
|
5
5
|
pageEllipsis: t
|
|
6
6
|
}, n = o.forwardRef(
|
|
7
|
-
({ children: s, className:
|
|
7
|
+
({ children: s, className: i, ...a }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, i), ...a, ref: l, children: s })
|
|
8
8
|
);
|
|
9
9
|
n.displayName = "PaginationPageEllipsis";
|
|
10
10
|
export {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { a as x, c as N } from "../../../chunks/vendor-
|
|
1
|
+
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import S, { useRef as f } from "react";
|
|
3
|
+
import { a as x, c as N } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import "../../Typography/Title.js";
|
|
5
5
|
import { Text as v } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Caption.js";
|
|
7
7
|
import { ETextSize as _ } from "../../Typography/enums.js";
|
|
8
|
-
const
|
|
9
|
-
paginationSelect:
|
|
10
|
-
paginationSelectControl:
|
|
11
|
-
}, y =
|
|
12
|
-
({ paginationLabel: c, className: s, hidden: m, options: i, value:
|
|
13
|
-
const l =
|
|
8
|
+
const h = "paginationSelect__810e373f", b = "paginationSelectControl__e37341a8", o = {
|
|
9
|
+
paginationSelect: h,
|
|
10
|
+
paginationSelectControl: b
|
|
11
|
+
}, y = S.forwardRef(
|
|
12
|
+
({ paginationLabel: c, className: s, hidden: m, options: i, value: n, onChange: a }, d) => {
|
|
13
|
+
const l = f(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
|
|
14
14
|
const r = Number(e.target.value);
|
|
15
|
-
Number.isNaN(r) ||
|
|
15
|
+
Number.isNaN(r) || a == null || a(r);
|
|
16
16
|
};
|
|
17
|
-
return m ? null : /* @__PURE__ */
|
|
17
|
+
return m ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: d, children: [
|
|
18
18
|
/* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
|
|
19
19
|
/* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
|
|
20
20
|
"select",
|
|
21
21
|
{
|
|
22
22
|
"aria-labelledby": l.current,
|
|
23
|
-
value:
|
|
23
|
+
value: n !== void 0 ? String(n) : void 0,
|
|
24
24
|
onChange: u,
|
|
25
25
|
children: p.map((e) => /* @__PURE__ */ t("option", { value: e, children: e }, e))
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as R } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
2
2
|
const m = -1, h = {
|
|
3
3
|
// Создание массива чисел в заданном диапазоне с заданным шагом.
|
|
4
4
|
generateRange: (n, i, e = 1) => n > i ? [] : R(n, i + 1, e),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as m } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import "../Typography/Title.js";
|
|
5
5
|
import { Text as x } from "../Typography/Text.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
7
|
-
import { ETextSize as
|
|
7
|
+
import { ETextSize as n } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
10
|
-
const y = "
|
|
10
|
+
const y = "label__fdbef6e9", T = "md__6df6a75c", M = "nonempty__79d265f3", u = "lg__37b5609e", I = "disabled__76a4de7e", R = "radio__cad79ab3", S = "radioIcon__1ed8bd7a", a = {
|
|
11
11
|
label: y,
|
|
12
12
|
md: T,
|
|
13
13
|
nonempty: M,
|
|
@@ -16,19 +16,19 @@ const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "
|
|
|
16
16
|
radio: R,
|
|
17
17
|
radioIcon: S
|
|
18
18
|
}, g = {
|
|
19
|
-
[i.LG]:
|
|
20
|
-
[i.MD]:
|
|
21
|
-
}, C = z(
|
|
22
|
-
const { children:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{ [
|
|
26
|
-
|
|
19
|
+
[i.LG]: n.B2,
|
|
20
|
+
[i.MD]: n.B3
|
|
21
|
+
}, C = z(a), h = N.forwardRef((c, r) => {
|
|
22
|
+
const { children: e, className: l, disabled: d, labelAttributes: o, size: s = i.MD, ...p } = c, _ = m(a.radio, l, C[s]), b = m(
|
|
23
|
+
a.label,
|
|
24
|
+
a[s],
|
|
25
|
+
{ [a.disabled]: !!d, [a.nonempty]: !!e },
|
|
26
|
+
o == null ? void 0 : o.className
|
|
27
27
|
);
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled:
|
|
30
|
-
/* @__PURE__ */ t("span", { className:
|
|
31
|
-
|
|
28
|
+
return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.5.0", children: [
|
|
29
|
+
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled: d, ...p, ref: r }),
|
|
30
|
+
/* @__PURE__ */ t("span", { className: a.radioIcon }),
|
|
31
|
+
e && /* @__PURE__ */ t(x, { size: g[s], children: e })
|
|
32
32
|
] });
|
|
33
33
|
});
|
|
34
34
|
h.displayName = "Radio";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
radioXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const _ = "radioXGroup__8a2cdbd6", c = "label__fdbef6e9", n = {
|
|
4
|
+
radioXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__65f17236",
|
|
6
|
+
label: c,
|
|
7
|
+
"indent-16": "indent-16__8e998d3f",
|
|
8
|
+
"indent-20": "indent-20__a42925ad",
|
|
9
|
+
"indent-24": "indent-24__0c64fcb7",
|
|
10
|
+
"indent-28": "indent-28__aa79a964",
|
|
11
|
+
"indent-32": "indent-32__2b02a86e"
|
|
12
12
|
}, l = (e) => {
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
const { children: d, className: a, indent: i = 12, ...o } = e, t = s(n.radioXGroup, n[`indent-${i}`], a);
|
|
14
|
+
return /* @__PURE__ */ r("div", { className: t, role: "radiogroup", ...o, children: d });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "RadioXGroup";
|
|
17
17
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const p = "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const p = "radioYGroup__0e7e0c6c", t = {
|
|
4
4
|
radioYGroup: p
|
|
5
|
-
},
|
|
6
|
-
const { children: r, className: s, ...a } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
5
|
+
}, d = (o) => {
|
|
6
|
+
const { children: r, className: s, ...a } = o, c = i(t.radioYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ e("div", { className: c, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
d.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
d as RadioYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=RadioYGroup.js.map
|
package/components/Row/Row.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const m = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const m = "row__a07f9fc2", i = "noPaddingBottom__c7f95bd6", o = {
|
|
4
4
|
row: m,
|
|
5
5
|
noPaddingBottom: i
|
|
6
6
|
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
const c = a(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ d("div", { className: c, ...r, children: t });
|
|
9
9
|
};
|
|
10
10
|
e.displayName = "Row";
|
|
11
11
|
export {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as C } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { useState as e } from "react";
|
|
4
|
+
import { SMSInputContext as h } from "./SMSInputContext.js";
|
|
5
|
+
import { SMSInputInput as N } from "./components/SMSInputInput.js";
|
|
6
|
+
import { SMSInputRefresh as x } from "./components/SMSInputRefresh.js";
|
|
7
|
+
import { SMSInputSubmit as T } from "./components/SMSInputSubmit.js";
|
|
8
|
+
import { SMSInputTooltip as v } from "./components/SMSInputTooltip.js";
|
|
9
|
+
import { s as r } from "../../chunks/SMSInput.module-D1TiDw_A.js";
|
|
10
|
+
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
11
|
+
const y = z(r), t = (i) => {
|
|
12
|
+
const { children: m, className: p, code: a, disabled: n, error: S, onChangeCode: l, onSubmitCode: u, size: o, ...d } = i, [c, I] = e(!0), [f, b] = e(), M = C(r.smsInput, p);
|
|
13
|
+
return /* @__PURE__ */ s(
|
|
14
|
+
h.Provider,
|
|
15
|
+
{
|
|
16
|
+
value: {
|
|
17
|
+
code: a,
|
|
18
|
+
disabled: !!n,
|
|
19
|
+
disabledSubmit: c,
|
|
20
|
+
error: !!S,
|
|
21
|
+
onChangeCode: l,
|
|
22
|
+
onSubmitCode: u,
|
|
23
|
+
setDisabledSubmit: I,
|
|
24
|
+
setTooltipId: b,
|
|
25
|
+
size: o,
|
|
26
|
+
sizeClassName: y[o],
|
|
27
|
+
tooltipId: f
|
|
28
|
+
},
|
|
29
|
+
children: /* @__PURE__ */ s("div", { className: M, ...d, "data-tx": "1.5.0", children: m })
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
t.displayName = "SMSInput";
|
|
34
|
+
t.Tooltip = v;
|
|
35
|
+
t.Refresh = x;
|
|
36
|
+
t.Input = N;
|
|
37
|
+
t.Submit = T;
|
|
38
|
+
export {
|
|
39
|
+
t as SMSInput
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=SMSInput.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const o = {
|
|
4
|
+
code: "",
|
|
5
|
+
disabled: !1,
|
|
6
|
+
disabledSubmit: !0,
|
|
7
|
+
error: !1,
|
|
8
|
+
onChangeCode: () => {
|
|
9
|
+
},
|
|
10
|
+
onSubmitCode: () => {
|
|
11
|
+
},
|
|
12
|
+
setDisabledSubmit: () => {
|
|
13
|
+
},
|
|
14
|
+
setTooltipId: () => {
|
|
15
|
+
},
|
|
16
|
+
size: t.LG,
|
|
17
|
+
sizeClassName: "",
|
|
18
|
+
tooltipId: void 0
|
|
19
|
+
}, a = e.createContext(o);
|
|
20
|
+
export {
|
|
21
|
+
a as SMSInputContext
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=SMSInputContext.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as P } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { s as o } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
|
|
4
|
+
import { EComponentSize as u } from "../../../enums/EComponentSize.js";
|
|
5
|
+
const r = "M2 10c0-4.42 3.58-8 8-8 2.52 0 4.77 1.16 6.24 3H13.5c-.56 0-1 .44-1 1 0 .55.44 1 1 1h5c.55 0 1-.45 1-1V1c0-.56-.45-1-1-1-.56 0-1 .44-1 1v2.38A10.02 10.02 0 0 0 10 0C4.47 0 0 4.47 0 10c0 5.52 4.47 10 10 10 5.52 0 10-4.48 10-10 0-.56-.45-1-1-1-.56 0-1 .44-1 1 0 4.41-3.59 8-8 8-4.42 0-8-3.59-8-8", d = "M27 16c0 .81-.09 1.61-.27 2.39a10.9 10.9 0 0 1-1.54 3.65c-.41.62-.88 1.2-1.42 1.73-.53.54-1.11 1.01-1.73 1.42a10.906 10.906 0 0 1-3.65 1.54c-.78.18-1.58.27-2.39.27q-1.23 0-2.4-.27a10.9 10.9 0 0 1-3.65-1.54c-.62-.41-1.2-.88-1.73-1.42-.54-.53-1.01-1.11-1.42-1.73a10.906 10.906 0 0 1-1.54-3.65C5.08 17.61 5 16.81 5 16c0-.82.08-1.62.26-2.4A10.9 10.9 0 0 1 6.8 9.95c.41-.62.88-1.2 1.42-1.73.53-.54 1.11-1.01 1.73-1.42a10.906 10.906 0 0 1 3.65-1.54C14.38 5.08 15.18 5 16 5a11.1 11.1 0 0 1 2.93.39c.44.12.86.27 1.27.44.47.19.93.42 1.37.68.39.23.75.47 1.1.74.4.31.78.64 1.14 1 .06.06.12.13.19.2V6c0-.57.44-1 1-1s1 .43 1 1v5c0 .66-.34 1-1 1h-5c-.56 0-1-.44-1-1 0-.57.44-1 1-1h2.7c-.1-.12-.21-.23-.31-.34-.3-.3-.61-.58-.95-.83-.28-.21-.57-.41-.88-.59a8.753 8.753 0 0 0-3-1.11C17.05 7.04 16.53 7 16 7c-.69 0-1.35.07-2 .22-.52.11-1.02.27-1.51.48-.5.21-.97.47-1.42.76a9 9 0 0 0-2.61 2.61c-.29.45-.55.92-.76 1.42-.21.49-.37.99-.48 1.51A8.8 8.8 0 0 0 7 16c0 .68.07 1.34.22 1.99.11.52.27 1.02.48 1.51.21.5.47.97.76 1.42q.51.78 1.17 1.44c.45.44.92.83 1.44 1.17.45.29.92.55 1.42.76.49.21.99.37 1.51.48a8.803 8.803 0 0 0 3.99 0c.52-.11 1.02-.27 1.51-.48.5-.21.97-.47 1.42-.76a9 9 0 0 0 2.61-2.61c.29-.45.55-.92.76-1.42.21-.49.37-.99.48-1.51.15-.65.23-1.31.23-1.99 0-.57.44-1 1-1s1 .43 1 1", v = Math.PI / 180, e = Math.PI * 2, M = (c) => (c = c % 360, c = c < 0 ? 360 + c : c, c * v), n = M(-8), h = M(-19), m = h < n ? e - (n - h) : h - n, p = (c, t) => Math.round(c * Math.cos(t) * 1e3) / 1e3, f = (c, t) => Math.round(c * Math.sin(t) * 1e3) / 1e3, w = (c, t, a, l) => "M" + c + " " + t + // Смещаем перо в центр окружности.
|
|
6
|
+
"L" + // Рисуем горизонтальную линию вправо в начало сектора.
|
|
7
|
+
(c + p(a, n)) + // Координата X начала дуги.
|
|
8
|
+
" " + (t + f(a, n)) + // Координата Y начала дуги.
|
|
9
|
+
"A" + // Рисуем дугу.
|
|
10
|
+
a + // Радиус окружности дуги по оси X.
|
|
11
|
+
" " + a + // Радиус окружности дуги по оси Y.
|
|
12
|
+
" 0 " + // Смещение центра по оси X.
|
|
13
|
+
(l > 0.5 ? "1" : "0") + // Флаг отрисовки длинной дуги (если 0 то короткой).
|
|
14
|
+
" 1 " + // Рисовать по часовой стрелке.
|
|
15
|
+
(c + p(a, (n + l * m) % e)) + // Координата X конца дуги.
|
|
16
|
+
" " + (t + f(a, (n + l * m) % e)) + // Координата Y конца дуги.
|
|
17
|
+
"Z", C = (c) => {
|
|
18
|
+
const t = Math.round(Math.min(c.percent, 0.999) * 1e3) / 1e3, a = P({
|
|
19
|
+
[o.disabled]: c.disabled,
|
|
20
|
+
[o.empty]: !c.disabled
|
|
21
|
+
});
|
|
22
|
+
return c.size === u.LG ? /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", focusable: "false", children: [
|
|
23
|
+
/* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(16, 16, 18, t) }) }),
|
|
24
|
+
/* @__PURE__ */ s("path", { className: a, d }),
|
|
25
|
+
/* @__PURE__ */ s("path", { className: o.full, d, clipPath: `url(#clipFront${t})` })
|
|
26
|
+
] }) : /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", focusable: "false", children: [
|
|
27
|
+
/* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(10, 10, 14, t) }) }),
|
|
28
|
+
/* @__PURE__ */ s("path", { className: a, d: r }),
|
|
29
|
+
/* @__PURE__ */ s("path", { className: o.full, d: r, clipPath: `url(#clipFront${t})` })
|
|
30
|
+
] });
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
C as RefreshIcon
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=RefreshIcon.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { c as _ } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import v, { useContext as M } from "react";
|
|
4
|
+
import { FormField as T } from "../../FormField/FormField.js";
|
|
5
|
+
import { FormFieldDescription as j } from "../../FormField/components/FormFieldDescription.js";
|
|
6
|
+
import { FormFieldCounter as y } from "../../FormField/components/FormFieldCounter.js";
|
|
7
|
+
import "../../FormField/components/FormFieldLabel.js";
|
|
8
|
+
import "../../FormField/components/FormFieldClear.js";
|
|
9
|
+
import "../../FormField/components/FormFieldTarget.js";
|
|
10
|
+
import { F as z } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
11
|
+
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
12
|
+
import "../../FormField/components/FormFieldPostfix.js";
|
|
13
|
+
import "../../FormField/components/FormFieldPrefix.js";
|
|
14
|
+
import "../../FormField/components/FormFieldTextarea.js";
|
|
15
|
+
import { EFormFieldStatus as s } from "../../FormField/enums.js";
|
|
16
|
+
import { FormGroup as A } from "../../FormGroup/FormGroup.js";
|
|
17
|
+
import { SMSInputContext as L } from "../SMSInputContext.js";
|
|
18
|
+
import { s as O } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
|
|
19
|
+
import { EVENT_KEY_CODES as k } from "../../../utils/keyboard.js";
|
|
20
|
+
const w = new RegExp(/^[0-9]*$/), B = v.forwardRef(
|
|
21
|
+
({ className: u, counter: o, description: l, disabled: f, maxLength: c = 8, onChange: e, onKeyDown: m, placeholder: F, ...E }, S) => {
|
|
22
|
+
const {
|
|
23
|
+
code: p,
|
|
24
|
+
disabled: C,
|
|
25
|
+
disabledSubmit: h,
|
|
26
|
+
error: x,
|
|
27
|
+
onChangeCode: I,
|
|
28
|
+
onSubmitCode: N,
|
|
29
|
+
size: R,
|
|
30
|
+
sizeClassName: a
|
|
31
|
+
} = M(L), b = C || f, D = _(O.input, a, u);
|
|
32
|
+
let i = s.DEFAULT;
|
|
33
|
+
return b && (i = s.DISABLED), x && (i = s.ERROR), /* @__PURE__ */ d(A, { children: [
|
|
34
|
+
/* @__PURE__ */ r(T, { className: a, onKeyDown: (t) => {
|
|
35
|
+
t.keyCode === k.ENTER && !h && N(p), m == null || m(t);
|
|
36
|
+
}, size: R, status: i, children: /* @__PURE__ */ r(
|
|
37
|
+
z,
|
|
38
|
+
{
|
|
39
|
+
autoComplete: "off",
|
|
40
|
+
className: D,
|
|
41
|
+
maxLength: c,
|
|
42
|
+
onChange: (t) => {
|
|
43
|
+
const n = t.target.value;
|
|
44
|
+
w.test(n) && (I(n), e == null || e(t));
|
|
45
|
+
},
|
|
46
|
+
placeholder: F,
|
|
47
|
+
ref: S,
|
|
48
|
+
value: p,
|
|
49
|
+
...E
|
|
50
|
+
}
|
|
51
|
+
) }),
|
|
52
|
+
/* @__PURE__ */ r(j, { children: l || o ? /* @__PURE__ */ d(g, { children: [
|
|
53
|
+
l,
|
|
54
|
+
o ? /* @__PURE__ */ r(y, { children: o }) : null
|
|
55
|
+
] }) : null })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
B.displayName = "SMSInputInput";
|
|
60
|
+
export {
|
|
61
|
+
B as SMSInputInput
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=SMSInputInput.js.map
|