@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,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as j, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import y, { useState as l, useEffect as d } from "react";
|
|
3
|
-
import { c as n } from "../../../chunks/vendor-
|
|
3
|
+
import { c as n } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { useToken as B } from "../../ThemeProvider/useToken.js";
|
|
5
|
-
import { s as e } from "../../../chunks/DropdownMobile.module-
|
|
5
|
+
import { s as e } from "../../../chunks/DropdownMobile.module-C_Jtpfxj.js";
|
|
6
6
|
const C = y.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: f,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
dropdownMobileInput:
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const e = "dropdownMobileInput__67ba7fc2", i = {
|
|
5
|
+
dropdownMobileInput: e
|
|
6
6
|
}, l = r.forwardRef(
|
|
7
|
-
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className:
|
|
7
|
+
({ className: o, ...p }, t) => /* @__PURE__ */ n("input", { className: d(i.dropdownMobileInput, o), ...p, ref: t })
|
|
8
8
|
);
|
|
9
9
|
l.displayName = "DropdownMobileInput";
|
|
10
10
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
|
-
import { c as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { DropdownMobileListItem as n } from "./DropdownMobileListItem.js";
|
|
5
5
|
import { LoaderSmall as f } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
6
6
|
import { ELoaderSmallTheme as c } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
8
|
import { EComponentSize as L } from "../../../enums/EComponentSize.js";
|
|
9
|
-
import { s as r } from "../../../chunks/DropdownMobile.module-
|
|
9
|
+
import { s as r } from "../../../chunks/DropdownMobile.module-C_Jtpfxj.js";
|
|
10
10
|
const b = a.forwardRef(
|
|
11
11
|
({ children: e, className: i, loading: m, ...t }, s) => {
|
|
12
12
|
const d = () => /* @__PURE__ */ o(n, { id: "dropdown-mobile-list-loader-item", children: /* @__PURE__ */ o(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
|
-
import { c as x } from "../../../chunks/vendor-
|
|
3
|
+
import { c as x } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { Text as w } from "../../Typography/Text.js";
|
|
5
5
|
import { ETextSize as b } from "../../Typography/enums.js";
|
|
6
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
6
|
+
import { s } from "../../../chunks/DropdownMobile.module-C_Jtpfxj.js";
|
|
7
7
|
const y = l.forwardRef(
|
|
8
8
|
({ children: o, className: e, id: B, onClick: t, onSelect: r, selected: i, ...m }, a) => {
|
|
9
9
|
const p = (d) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m } 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 { LoaderSmall as t } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
4
4
|
import { ELoaderSmallTheme as i } from "../../Loader/LoaderSmall/enum.js";
|
|
5
5
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
6
6
|
import { EComponentSize as p } from "../../../enums/EComponentSize.js";
|
|
7
|
-
import { s } from "../../../chunks/DropdownMobile.module-
|
|
7
|
+
import { s } from "../../../chunks/DropdownMobile.module-C_Jtpfxj.js";
|
|
8
8
|
const x = ({ className: o, ...r }) => /* @__PURE__ */ m(
|
|
9
9
|
t,
|
|
10
10
|
{
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
+
const t = "dropdownMobileMaskedInput__773f6e44", r = {
|
|
5
|
+
dropdownMobileMaskedInput: t
|
|
6
|
+
}, n = ({ className: e, ...s }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, e), ...s });
|
|
7
|
+
n.presets = o.presets;
|
|
8
|
+
export {
|
|
9
|
+
n as DropdownMobileMaskedInput
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=DropdownMobileMaskedInput.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
ellipsisLineClamp:
|
|
3
|
+
import { c as m } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const c = "ellipsisLineClamp__8bb96110", r = "oneLine__8988aeed", e = {
|
|
5
|
+
ellipsisLineClamp: c,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, L = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines: s, className: l, ...n },
|
|
9
|
-
const
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...n }, a) => {
|
|
9
|
+
const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
|
+
return /* @__PURE__ */ p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
13
|
+
className: o,
|
|
14
14
|
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
16
|
+
"data-tx": "1.5.0",
|
|
17
|
+
ref: a,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as E } from "react";
|
|
3
|
+
import { E as U, c as j } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const F = "expandAnimation__61b1b3d6", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
|
-
children:
|
|
9
|
-
className:
|
|
8
|
+
children: y,
|
|
9
|
+
className: A,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: f = L,
|
|
12
12
|
style: R,
|
|
13
13
|
onStart: l,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
|
-
...
|
|
17
|
-
},
|
|
18
|
-
const m =
|
|
16
|
+
..._
|
|
17
|
+
}, x) => {
|
|
18
|
+
const m = E({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}), d =
|
|
24
|
+
}), d = E(null), w = (c) => {
|
|
25
25
|
var u;
|
|
26
26
|
d.current && (m.current.entering.height = d.current.scrollHeight), l == null || l(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
|
-
},
|
|
27
|
+
}, b = (c) => {
|
|
28
28
|
var u;
|
|
29
29
|
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
|
-
},
|
|
30
|
+
}, H = () => {
|
|
31
31
|
var c;
|
|
32
32
|
d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
-
},
|
|
33
|
+
}, T = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
d.current = c, typeof
|
|
36
|
+
}, D = (c) => {
|
|
37
|
+
d.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
|
-
timeout:
|
|
43
|
+
timeout: f,
|
|
44
44
|
nodeRef: d,
|
|
45
45
|
...e,
|
|
46
|
-
onEnter:
|
|
47
|
-
onEntered:
|
|
48
|
-
onExit:
|
|
49
|
-
onExited:
|
|
46
|
+
onEnter: w,
|
|
47
|
+
onEntered: b,
|
|
48
|
+
onExit: H,
|
|
49
|
+
onExited: T,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: j(I.expandAnimation,
|
|
53
|
+
className: j(I.expandAnimation, A),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: f + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
|
-
...
|
|
60
|
-
ref:
|
|
61
|
-
children:
|
|
59
|
+
..._,
|
|
60
|
+
ref: D,
|
|
61
|
+
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
@@ -1,29 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FooterDescription as
|
|
4
|
-
import { c } from "../../chunks/vendor-CehxOAkM.js";
|
|
5
|
-
import { s as o } from "../../chunks/Footer.module-4a0n1yRR.js";
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { FooterDescription as m } from "./components/FooterDescription.js";
|
|
6
4
|
import "./components/FooterDescriptionControls.js";
|
|
7
5
|
import "./components/FooterDescriptionContent.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
"div",
|
|
12
|
-
{
|
|
13
|
-
className: c(o.footer, { [o.sticky]: !!e }, r),
|
|
14
|
-
...i,
|
|
15
|
-
"data-tx": "1.3.0",
|
|
16
|
-
ref: s,
|
|
17
|
-
children: t
|
|
18
|
-
}
|
|
19
|
-
);
|
|
6
|
+
const p = Object.assign(
|
|
7
|
+
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.5.0", ref: r, children: o });
|
|
20
9
|
}),
|
|
21
10
|
{
|
|
22
|
-
Description:
|
|
11
|
+
Description: m
|
|
23
12
|
}
|
|
24
13
|
);
|
|
25
|
-
|
|
14
|
+
p.displayName = "Footer";
|
|
26
15
|
export {
|
|
27
|
-
|
|
16
|
+
p as Footer
|
|
28
17
|
};
|
|
29
18
|
//# sourceMappingURL=Footer.js.map
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-3tcvZGt3.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-3tcvZGt3.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-3tcvZGt3.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as e } from "react";
|
|
3
3
|
import { FormFieldContext as G } from "./FormFieldContext.js";
|
|
4
4
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
5
|
-
import { c as I } from "../../chunks/vendor-
|
|
5
|
+
import { c as I } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
6
|
import { EFormFieldStatus as r } from "./enums.js";
|
|
7
7
|
import { EComponentSize as N } from "../../enums/EComponentSize.js";
|
|
8
|
-
const P = "
|
|
8
|
+
const P = "formField__9b663218", S = "disabled__d9c8b710", T = "active__a5ccd37e", L = "error__ad946c43", u = "warning__c5b32e4f", i = {
|
|
9
9
|
formField: P,
|
|
10
10
|
disabled: S,
|
|
11
11
|
active: T,
|
|
12
12
|
error: L,
|
|
13
13
|
warning: u,
|
|
14
|
-
"size-sm": "size-
|
|
15
|
-
"size-md": "size-
|
|
16
|
-
"size-lg": "size-
|
|
14
|
+
"size-sm": "size-sm__deaa1bc1",
|
|
15
|
+
"size-md": "size-md__95eee05b",
|
|
16
|
+
"size-lg": "size-lg__640b521b"
|
|
17
17
|
}, V = ({
|
|
18
18
|
children: p,
|
|
19
19
|
className: F,
|
|
20
20
|
status: t = r.DEFAULT,
|
|
21
21
|
onMouseEnter: s,
|
|
22
|
-
onMouseLeave:
|
|
23
|
-
style:
|
|
22
|
+
onMouseLeave: d,
|
|
23
|
+
style: b,
|
|
24
24
|
size: c = N.LG,
|
|
25
|
-
...
|
|
25
|
+
...x
|
|
26
26
|
}) => {
|
|
27
|
-
const [a,
|
|
28
|
-
l(!0), s == null || s(
|
|
29
|
-
}, w = (
|
|
30
|
-
l(!1),
|
|
27
|
+
const [a, g] = e(!1), [h, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [n, A] = e(_), [D, R] = e(!1), W = (o) => {
|
|
28
|
+
l(!0), s == null || s(o);
|
|
29
|
+
}, w = (o) => {
|
|
30
|
+
l(!1), d == null || d(o);
|
|
31
31
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ f(
|
|
33
33
|
G.Provider,
|
|
34
34
|
{
|
|
35
35
|
value: {
|
|
36
36
|
status: t,
|
|
37
37
|
focused: a,
|
|
38
|
-
hovered:
|
|
39
|
-
id:
|
|
38
|
+
hovered: h,
|
|
39
|
+
id: v,
|
|
40
40
|
postfixWidth: m,
|
|
41
|
-
prefixWidth:
|
|
42
|
-
setFocused:
|
|
41
|
+
prefixWidth: n,
|
|
42
|
+
setFocused: g,
|
|
43
43
|
setId: z,
|
|
44
44
|
setPostfixWidth: E,
|
|
45
45
|
setPrefixWidth: A,
|
|
@@ -47,7 +47,7 @@ const P = "formField__7246a7cc", S = "disabled__6740a811", T = "active__85b7dacc
|
|
|
47
47
|
valueExist: D,
|
|
48
48
|
size: c
|
|
49
49
|
},
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ f(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
53
|
className: I(
|
|
@@ -63,9 +63,9 @@ const P = "formField__7246a7cc", S = "disabled__6740a811", T = "active__85b7dacc
|
|
|
63
63
|
),
|
|
64
64
|
onMouseEnter: W,
|
|
65
65
|
onMouseLeave: w,
|
|
66
|
-
"data-tx": "1.
|
|
67
|
-
style: { paddingLeft:
|
|
68
|
-
...
|
|
66
|
+
"data-tx": "1.5.0",
|
|
67
|
+
style: { paddingLeft: n, paddingRight: m, ...b },
|
|
68
|
+
...x,
|
|
69
69
|
children: p
|
|
70
70
|
}
|
|
71
71
|
)
|
|
@@ -1,30 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "../../Button/Button.js";
|
|
8
|
-
import "../../Button/ButtonBase.js";
|
|
2
|
+
import n, { useContext as F } from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
|
+
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
6
|
+
import { EFormFieldStatus as u } from "../enums.js";
|
|
9
7
|
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
10
|
-
|
|
11
|
-
import "../../Button/ButtonDropdownExtended.js";
|
|
12
|
-
const _ = "formFieldClear__42386ff9", v = "hidden__a320fb9d", t = {
|
|
8
|
+
const _ = "formFieldClear__f91e6791", v = "hidden__f9efc227", t = {
|
|
13
9
|
formFieldClear: _,
|
|
14
10
|
hidden: v
|
|
15
|
-
}, I =
|
|
16
|
-
({ className:
|
|
17
|
-
const { status:
|
|
11
|
+
}, I = n.forwardRef(
|
|
12
|
+
({ className: l, onMouseDown: e, ...d }, m) => {
|
|
13
|
+
const { status: s, focused: a, hovered: i, valueExist: f } = F(C), c = p(
|
|
18
14
|
t.formFieldClear,
|
|
19
15
|
"hoverable",
|
|
20
16
|
{
|
|
21
|
-
[t.hidden]: !f ||
|
|
17
|
+
[t.hidden]: !f || s === u.DISABLED || !(a || i)
|
|
22
18
|
},
|
|
23
|
-
|
|
19
|
+
l
|
|
24
20
|
);
|
|
25
|
-
return /* @__PURE__ */ o(x, { className:
|
|
26
|
-
|
|
27
|
-
}, ...
|
|
21
|
+
return /* @__PURE__ */ o(x, { className: c, onMouseDown: (r) => {
|
|
22
|
+
r.preventDefault(), e == null || e(r);
|
|
23
|
+
}, ...d, ref: m, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
28
24
|
}
|
|
29
25
|
);
|
|
30
26
|
I.displayName = "FormFieldClear";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__506f3b75", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
f as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__7a9c0a3a", p = "withCounter__43a7e78e", e = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
},
|
|
8
|
+
}, a = ({ children: i, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(e.formFieldDescription, { [e.withCounter]: o }), ...r, children: i }) });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
a.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
a as FormFieldDescription
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldDescription.js.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as
|
|
4
|
+
import "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
6
6
|
import "../enums.js";
|
|
7
|
+
import "../../../utils/classNameMaps.js";
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
a as FormFieldInput
|
|
9
10
|
};
|
|
10
11
|
//# sourceMappingURL=FormFieldInput.js.map
|
|
@@ -2,18 +2,18 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
4
|
import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
|
|
5
|
-
import {
|
|
5
|
+
import { o as D, c as N } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__e47737a6", R = "floating__3154b5a5", S = "formFieldLabelText__c26e50f0", C = "disabled__d9c8b710", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__deaa1bc1",
|
|
10
|
+
"size-md": "size-md__95eee05b",
|
|
11
|
+
"size-lg": "size-lg__640b521b",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children: f, className: r, style:
|
|
16
|
+
({ children: f, className: r, style: b, floating: e, ...c }, n) => {
|
|
17
17
|
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
19
|
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
@@ -31,9 +31,9 @@ const A = "formFieldLabel__36b5d883", R = "floating__151d1c42", S = "formFieldLa
|
|
|
31
31
|
left: L || m,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
33
|
right: x || m,
|
|
34
|
-
...
|
|
34
|
+
...b
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ d("label", { className: u, ref:
|
|
36
|
+
return /* @__PURE__ */ d("label", { className: u, ref: n, htmlFor: _, ...c, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as N, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { useState as O, useRef as
|
|
3
|
-
import { c as F,
|
|
2
|
+
import { useState as O, useRef as q, useContext as A, useEffect as B, useCallback as D } from "react";
|
|
3
|
+
import { c as F, q as U, s as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
|
-
const L = "
|
|
7
|
+
const L = "formFieldMaskedInputWrapper__33b07a20", Q = "formFieldMaskedInputPlaceholder__82430410", X = "formFieldMaskedInput__63c10946", l = {
|
|
8
8
|
formFieldMaskedInputWrapper: L,
|
|
9
9
|
formFieldMaskedInputPlaceholder: Q,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__deaa1bc1",
|
|
11
|
+
"size-md": "size-md__95eee05b",
|
|
12
|
+
"size-lg": "size-lg__640b521b",
|
|
13
13
|
formFieldMaskedInput: X
|
|
14
14
|
}, c = ({
|
|
15
15
|
className: I,
|
|
@@ -23,8 +23,8 @@ const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
..._
|
|
25
25
|
}) => {
|
|
26
|
-
const [V, x] = O(""), a =
|
|
27
|
-
|
|
26
|
+
const [V, x] = O(""), a = q(!1), { valueExist: y, focused: z, size: k } = A(K);
|
|
27
|
+
B(() => {
|
|
28
28
|
x((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
@@ -40,7 +40,7 @@ const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlac
|
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, i, u]);
|
|
43
|
-
const
|
|
43
|
+
const b = D(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
a.current = !1, s !== t && (d == null || d(e));
|
|
@@ -61,15 +61,11 @@ const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlac
|
|
|
61
61
|
}, W = () => o === c.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, j = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
63
|
}, S = () => !y && !z || !s && M ? "" : V;
|
|
64
|
-
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
64
|
+
return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
68
|
-
className: F(
|
|
69
|
-
H.formFieldInput,
|
|
70
|
-
l.formFieldMaskedInputPlaceholder,
|
|
71
|
-
I
|
|
72
|
-
),
|
|
68
|
+
className: F(H.formFieldInput, l.formFieldMaskedInputPlaceholder, I),
|
|
73
69
|
disabled: g,
|
|
74
70
|
placeholder: S(),
|
|
75
71
|
readOnly: !0,
|
|
@@ -79,7 +75,7 @@ const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlac
|
|
|
79
75
|
}
|
|
80
76
|
),
|
|
81
77
|
/* @__PURE__ */ m(
|
|
82
|
-
|
|
78
|
+
U,
|
|
83
79
|
{
|
|
84
80
|
className: F(l.formFieldMaskedInput, { [l.error]: !!_.error }, I),
|
|
85
81
|
defaultValue: "",
|
|
@@ -87,7 +83,7 @@ const L = "formFieldMaskedInputWrapper__48d2ab9a", Q = "formFieldMaskedInputPlac
|
|
|
87
83
|
guide: !1,
|
|
88
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: j(e) }),
|
|
89
85
|
mask: o,
|
|
90
|
-
onChange:
|
|
86
|
+
onChange: b,
|
|
91
87
|
onPaste: T,
|
|
92
88
|
placeholderChar: i,
|
|
93
89
|
value: W(),
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
5
|
+
const P = "formFieldPostfix__724f11b2", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
|
-
}, _ =
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
7
|
+
}, _ = d.forwardRef(
|
|
8
|
+
({ children: s, className: f, ...i }, o) => {
|
|
9
|
+
const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(a), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
16
|
t !== n && c(t);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: r, ref: m, ...i, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|