@sberbusiness/triplex-next 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -25
- package/chunks/AlertProcessSpoiler-BsywFBZZ.js +39 -0
- package/chunks/{CalendarViewItem-D879SDC1.js → CalendarViewItem-EhHNwDDy.js} +18 -18
- package/chunks/Card.module-Dgcuvaxs.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CjEhZ2aL.js +15 -0
- package/chunks/{Chip-M9mPbBOt.js → Chip-6YRhubRU.js} +19 -19
- package/chunks/Confirm.module-BMm4u38e.js +15 -0
- package/chunks/{DropdownListItem-BdLTF7q1.js → DropdownListItem-C5KVFMFN.js} +14 -14
- package/chunks/DropdownMobile.module-Cxm5Uhf1.js +23 -0
- package/chunks/Footer.module-CTy6Jb7Q.js +9 -0
- package/chunks/FormFieldInput-Dp--anY3.js +79 -0
- package/chunks/HeaderLayoutSidebar.module-DE1rx-T9.js +9 -0
- package/chunks/HeaderTabs.module-CU5av8Im.js +9 -0
- package/chunks/{HeaderTitle.module-Cg-I_NJG.js → HeaderTitle.module-C_Qbl_yg.js} +2 -2
- package/chunks/IslandAccordion.module-DLX2HyLA.js +25 -0
- package/chunks/IslandWidgetFooter.module-CevMa9bc.js +9 -0
- package/chunks/IslandWidgetHeader.module-DTRWPBN8.js +12 -0
- package/chunks/LightBoxContent-qf3pAUrN.js +56 -0
- package/chunks/LightBoxControls.module-Bg_GYyOS.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Cgag40bQ.js +9 -0
- package/chunks/{ListItemControlsButton-0bXNCLYU.js → ListItemControlsButton-BAYnQi20.js} +14 -14
- package/chunks/ListItemTail.module-Cu07UH0y.js +12 -0
- package/chunks/ListMasterFooter.module-CAY0qwdE.js +10 -0
- package/chunks/ModalWindow.module-CwlDT1jn.js +17 -0
- package/chunks/Notification.module-C93nRGIm.js +20 -0
- package/chunks/Overlay.module-CYkgbbXG.js +18 -0
- package/chunks/Page.module-DZHBTNJd.js +11 -0
- package/chunks/{RightBorderArrow-1OX8NAL9.js → RightBorderArrow-BBut2Is3.js} +6 -6
- package/chunks/SMSField.module-BUVlPOpO.js +16 -0
- package/chunks/SliderExtendedMarks.module-B93JtPsG.js +15 -0
- package/chunks/SliderExtendedRail-DbmfJHLD.js +40 -0
- package/chunks/StatusTracker.module-BhVoYRB1.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DNKfDfM3.js → SuggestFieldMobileDropdownHint-BZd9-Rmk.js} +6 -6
- package/chunks/TableFooter.module-CwKjzhF7.js +14 -0
- package/chunks/TabsExtended.module-NTLSSjNf.js +16 -0
- package/chunks/TabsLine.module-CCjh6UnA.js +21 -0
- package/chunks/TooltipDesktop.module-CDF6HmOX.js +19 -0
- package/chunks/TreeView.module-7cPW-p6b.js +9 -0
- package/chunks/{UploadZoneInput-CIib3dEF.js → UploadZoneInput-BfYcVOW-.js} +3 -3
- package/chunks/{constants-BamiEgAW.js → constants-BuiH5bGa.js} +12 -12
- package/chunks/utils-BgxjtTHV.js +73 -0
- package/chunks/utils-BnE2k27o.js +28 -0
- package/chunks/{utils-Bt-cuXIX.js → utils-D7L6Tbas.js} +6 -6
- package/chunks/utils-Z5FN_0vH.js +24 -0
- package/chunks/{vendor-DaOifQgP.js → vendor---Om3uMV.js} +43 -47
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +9 -9
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +11 -11
- package/components/Badge/BadgeDot.js +8 -8
- package/components/Badge/components/BadgeContent.js +10 -10
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +8 -8
- package/components/Button/Button.js +35 -35
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +96 -83
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- 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 +15 -15
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/index.js +6 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +9 -10
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +7 -8
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +17 -18
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +17 -17
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +5 -5
- package/components/DatePickerExtended/DatePickerExtended.js +3 -3
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/Tabs.js +0 -18
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +59 -62
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +7 -0
- package/components/Dropdown/desktop/index.js +8 -4
- package/components/Dropdown/index.js +24 -25
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- package/components/Footer/Footer.js +1 -1
- 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 +69 -77
- package/components/FormField/FormFieldContext.js +16 -14
- package/components/FormField/components/FormFieldClear.js +25 -23
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +30 -32
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +57 -49
- package/components/FormField/components/FormFieldTextarea.js +61 -34
- package/components/FormField/components/index.js +23 -0
- package/components/FormField/components/utils.js +5 -0
- package/components/FormField/index.js +25 -25
- package/components/Header/Header.js +1 -1
- 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 +6 -6
- 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 +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/IslandWidget/IslandWidget.js +20 -20
- package/components/IslandWidget/components/IslandWidgetBody.js +2 -2
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +2 -2
- package/components/LightBox/LightBox.js +23 -23
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +31 -31
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +4 -4
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +10 -10
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +10 -10
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +5 -5
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +15 -15
- package/components/List/components/ListItemTable.js +8 -8
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +12 -12
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +6 -6
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +49 -33
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +27 -20
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- 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/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 +5 -5
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +2 -2
- package/components/Page/components/BodyPage.js +12 -12
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +35 -32
- 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 +14 -14
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +15 -15
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +11 -11
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +50 -43
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +25 -25
- package/components/SelectField/SelectField.js +54 -36
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +6 -6
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +6 -6
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +26 -25
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +6 -6
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +3 -3
- 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 +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +5 -5
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +10 -10
- package/components/TabsExtended/TabsExtended.js +22 -22
- 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 +37 -18
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +3 -3
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +49 -47
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +3 -3
- package/components/Tag/Tag.js +10 -10
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +5 -5
- package/components/ThemeProvider/ThemeProvider.js +18 -20
- package/components/ThemeProvider/components/ThemeProviderView.js +29 -27
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- 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 +2 -2
- package/components/TopOverlay/TopOverlay.js +19 -19
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +19 -19
- package/components/Typography/Text.js +18 -18
- package/components/Typography/Title.js +19 -19
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +8 -8
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +541 -538
- package/index.d.ts +50 -24
- package/index.js +577 -574
- package/package.json +2 -3
- package/styles/triplex-next.css +541 -547
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DxZ8QVn2.js +0 -39
- package/chunks/Card.module--O3Bx82B.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Cw3yb-cF.js +0 -15
- package/chunks/Confirm.module-DtBiR4Fo.js +0 -15
- package/chunks/DropdownMobile.module-PpB3KA4H.js +0 -23
- package/chunks/Footer.module-Z4RIi8JP.js +0 -9
- package/chunks/FormFieldInput-C75omt8Y.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-BJZj3qz4.js +0 -9
- package/chunks/HeaderTabs.module-ykRWLBUI.js +0 -9
- package/chunks/IslandAccordion.module-DE-xutGt.js +0 -25
- package/chunks/IslandWidgetFooter.module-DpnJPgi0.js +0 -9
- package/chunks/IslandWidgetHeader.module-lf-NGWlm.js +0 -12
- package/chunks/LightBoxContent-BLPx_Tsf.js +0 -56
- package/chunks/LightBoxControls.module-Cbi_wgHX.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Dbzm6FYI.js +0 -9
- package/chunks/ListItemTail.module-DFYWneN6.js +0 -12
- package/chunks/ListMasterFooter.module-CoXWM3Nq.js +0 -10
- package/chunks/ModalWindow.module-DqMffIcE.js +0 -17
- package/chunks/Notification.module-CPSD8BYw.js +0 -20
- package/chunks/Overlay.module-B5Hl3baB.js +0 -18
- package/chunks/Page.module-BbrHHqMK.js +0 -11
- package/chunks/SMSField.module-CPSjUBD-.js +0 -16
- package/chunks/SliderExtendedMarks.module-QNSG8UcN.js +0 -15
- package/chunks/SliderExtendedRail-C_1LnK7I.js +0 -40
- package/chunks/StatusTracker.module-KkpUE8KY.js +0 -24
- package/chunks/TableFooter.module-OEvn0oaX.js +0 -14
- package/chunks/TabsExtended.module-B3Ti-48x.js +0 -16
- package/chunks/TabsLine.module-BgCBcRYT.js +0 -21
- package/chunks/TooltipDesktop.module-CC_4-ATz.js +0 -19
- package/chunks/TreeView.module-CmGHGs81.js +0 -9
- package/chunks/utils-C5IWf42V.js +0 -24
- package/chunks/utils-d7-rkiPs.js +0 -27
- package/chunks/utils-hbQGLR7K.js +0 -73
- package/components/Dropdown/enums.js +0 -8
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as s } from "../../chunks/vendor
|
|
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-
|
|
12
|
-
},
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...
|
|
2
|
+
import { c as s } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const _ = "radioXGroup__413e3a87", l = "label__0ead91e3", n = {
|
|
4
|
+
radioXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__ddf0883e",
|
|
6
|
+
label: l,
|
|
7
|
+
"indent-16": "indent-16__f7c00594",
|
|
8
|
+
"indent-20": "indent-20__fa6b3760",
|
|
9
|
+
"indent-24": "indent-24__b4f473ab",
|
|
10
|
+
"indent-28": "indent-28__d09156a3",
|
|
11
|
+
"indent-32": "indent-32__6e3df6e6"
|
|
12
|
+
}, c = (e) => {
|
|
13
|
+
const { children: d, className: i, indent: o = 12, ...t } = e, a = s(n.radioXGroup, n[`indent-${o}`], i);
|
|
14
|
+
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: d });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
c.displayName = "RadioXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
c as RadioXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=RadioXGroup.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c } from "../../chunks/vendor
|
|
3
|
-
const
|
|
4
|
-
radioYGroup:
|
|
5
|
-
},
|
|
6
|
-
const { children: r, className: s, ...a } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const t = "radioYGroup__142abb40", d = {
|
|
4
|
+
radioYGroup: t
|
|
5
|
+
}, e = (o) => {
|
|
6
|
+
const { children: r, className: s, ...a } = o, i = p(d.radioYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
e.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
e as RadioYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=RadioYGroup.js.map
|
package/components/Row/Row.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
2
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const m = "row__d5a08b43", i = "noPaddingBottom__fc4aa00b", o = {
|
|
4
|
+
row: m,
|
|
5
5
|
noPaddingBottom: i
|
|
6
|
-
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */ d("div", { className:
|
|
6
|
+
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...a }) => {
|
|
7
|
+
const r = c(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ d("div", { className: r, ...a, children: t });
|
|
9
9
|
};
|
|
10
10
|
e.displayName = "Row";
|
|
11
11
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as C } from "../../chunks/vendor
|
|
2
|
+
import { c as C } from "../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { useState as i } from "react";
|
|
4
4
|
import { SMSFieldContext as h } from "./SMSFieldContext.js";
|
|
5
5
|
import { SMSFieldInput as N } from "./components/SMSFieldInput.js";
|
|
6
6
|
import { SMSFieldRefresh as x } from "./components/SMSFieldRefresh.js";
|
|
7
7
|
import { SMSFieldSubmit as T } from "./components/SMSFieldSubmit.js";
|
|
8
8
|
import { SMSFieldTooltip as v } from "./components/SMSFieldTooltip.js";
|
|
9
|
-
import { s } from "../../chunks/SMSField.module-
|
|
9
|
+
import { s } from "../../chunks/SMSField.module-BUVlPOpO.js";
|
|
10
10
|
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
11
11
|
const I = z(s), e = (r) => {
|
|
12
12
|
const { children: m, className: l, code: a, disabled: d, error: S, onChangeCode: p, onSubmitCode: c, size: o, ...n } = r, [f, u] = i(!0), [b, M] = i(), F = C(s.smsField, l);
|
|
@@ -26,7 +26,7 @@ const I = z(s), e = (r) => {
|
|
|
26
26
|
sizeClassName: I[o],
|
|
27
27
|
tooltipId: b
|
|
28
28
|
},
|
|
29
|
-
children: /* @__PURE__ */ t("div", { className: F, ...n, "data-tx": "0.
|
|
29
|
+
children: /* @__PURE__ */ t("div", { className: F, ...n, "data-tx": "0.22.0", children: m })
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as P } from "../../../chunks/vendor
|
|
3
|
-
import { s as o } from "../../../chunks/SMSField.module-
|
|
2
|
+
import { c as P } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
import { s as o } from "../../../chunks/SMSField.module-BUVlPOpO.js";
|
|
4
4
|
import { EComponentSize as u } from "../../../enums/EComponentSize.js";
|
|
5
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
6
|
"L" + // Рисуем горизонтальную линию вправо в начало сектора.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { c as v } from "../../../chunks/vendor
|
|
2
|
+
import { c as v } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import M, { useContext as T } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { EFormFieldStatus as l } from "../../FormField/enums.js";
|
|
5
|
+
import "../../FormField/components/FormFieldClear.js";
|
|
6
|
+
import { FormFieldCounter as j } from "../../FormField/components/FormFieldCounter.js";
|
|
5
7
|
import { FormFieldDescription as y } from "../../FormField/components/FormFieldDescription.js";
|
|
6
|
-
import {
|
|
8
|
+
import { F as z } from "../../../chunks/FormFieldInput-Dp--anY3.js";
|
|
7
9
|
import "../../FormField/components/FormFieldLabel.js";
|
|
8
|
-
import "../../FormField/components/FormFieldClear.js";
|
|
9
|
-
import "../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as A } from "../../../chunks/FormFieldInput-C75omt8Y.js";
|
|
11
10
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
12
11
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
13
12
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
13
|
+
import "../../FormField/components/FormFieldTarget.js";
|
|
14
14
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
15
|
-
import {
|
|
15
|
+
import { FormField as A } from "../../FormField/FormField.js";
|
|
16
16
|
import { FormGroup as L } from "../../FormGroup/FormGroup.js";
|
|
17
17
|
import { SMSFieldContext as O } from "../SMSFieldContext.js";
|
|
18
|
-
import { s as _ } from "../../../chunks/SMSField.module-
|
|
18
|
+
import { s as _ } from "../../../chunks/SMSField.module-BUVlPOpO.js";
|
|
19
19
|
import { EVENT_KEY_CODES as k } from "../../../utils/keyboard.js";
|
|
20
20
|
const w = new RegExp(/^[0-9]*$/), B = M.forwardRef(
|
|
21
21
|
({ className: f, counter: o, description: s, disabled: u, maxLength: c = 8, onChange: e, onKeyDown: i, placeholder: F, ...E }, S) => {
|
|
@@ -31,10 +31,10 @@ const w = new RegExp(/^[0-9]*$/), B = M.forwardRef(
|
|
|
31
31
|
} = T(O), D = C || u, g = v(_.input, p, f);
|
|
32
32
|
let m = l.DEFAULT;
|
|
33
33
|
return D && (m = l.DISABLED), x && (m = l.ERROR), /* @__PURE__ */ n(L, { children: [
|
|
34
|
-
/* @__PURE__ */ t(
|
|
34
|
+
/* @__PURE__ */ t(A, { className: p, onKeyDown: (r) => {
|
|
35
35
|
r.keyCode === k.ENTER && !h && R(a), i == null || i(r);
|
|
36
36
|
}, size: b, status: m, children: /* @__PURE__ */ t(
|
|
37
|
-
|
|
37
|
+
z,
|
|
38
38
|
{
|
|
39
39
|
autoComplete: "off",
|
|
40
40
|
className: g,
|
|
@@ -51,7 +51,7 @@ const w = new RegExp(/^[0-9]*$/), B = M.forwardRef(
|
|
|
51
51
|
) }),
|
|
52
52
|
/* @__PURE__ */ t(y, { children: s || o ? /* @__PURE__ */ n(I, { children: [
|
|
53
53
|
s,
|
|
54
|
-
o ? /* @__PURE__ */ t(
|
|
54
|
+
o ? /* @__PURE__ */ t(j, { children: o }) : null
|
|
55
55
|
] }) : null })
|
|
56
56
|
] });
|
|
57
57
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as I } from "../../../chunks/vendor
|
|
2
|
+
import { c as I } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { forwardRef as M, useContext as N, useMemo as y } from "react";
|
|
4
4
|
import "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
@@ -9,7 +9,7 @@ import "../../Button/ButtonDropdownExtended.js";
|
|
|
9
9
|
import { EButtonIconShape as F } from "../../Button/enums.js";
|
|
10
10
|
import { SMSFieldContext as u } from "../SMSFieldContext.js";
|
|
11
11
|
import { RefreshIcon as z } from "./RefreshIcon.js";
|
|
12
|
-
import { s as m } from "../../../chunks/SMSField.module-
|
|
12
|
+
import { s as m } from "../../../chunks/SMSField.module-BUVlPOpO.js";
|
|
13
13
|
const D = M(
|
|
14
14
|
({ className: l, disabled: r, countdownTime: e, countdownTimeLeft: s, onClick: t, onRefresh: p, ...f }, n) => {
|
|
15
15
|
const { disabled: o, error: c, size: h, sizeClassName: d, tooltipId: S } = N(u), b = s > 0, a = o && !c || r || b, R = I(m.btnRefresh, d, l, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as S } from "../../../chunks/vendor
|
|
2
|
+
import { c as S } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
3
|
import { useContext as f, useEffect as C } from "react";
|
|
4
4
|
import "../../Button/Button.js";
|
|
5
5
|
import "../../Button/ButtonBase.js";
|
|
@@ -9,7 +9,7 @@ import "../../Button/ButtonDropdownExtended.js";
|
|
|
9
9
|
import { EButtonIconShape as x } from "../../Button/enums.js";
|
|
10
10
|
import { SMSFieldContext as I } from "../SMSFieldContext.js";
|
|
11
11
|
import { SubmitIcon as N } from "./SubmitIcon.js";
|
|
12
|
-
import { s } from "../../../chunks/SMSField.module-
|
|
12
|
+
import { s } from "../../../chunks/SMSField.module-BUVlPOpO.js";
|
|
13
13
|
const D = ({ className: r, disabled: a, onClick: i, ...l }) => {
|
|
14
14
|
const {
|
|
15
15
|
code: t,
|
|
@@ -3,7 +3,7 @@ import { useContext as T, useEffect as f } from "react";
|
|
|
3
3
|
import { SMSFieldContext as n } from "../SMSFieldContext.js";
|
|
4
4
|
import { ETooltipSize as S, ETooltipAlign as a } from "../../Tooltip/enums.js";
|
|
5
5
|
import { Tooltip as i } from "../../Tooltip/Tooltip.js";
|
|
6
|
-
import { u } from "../../../chunks/vendor
|
|
6
|
+
import { u } from "../../../chunks/vendor---Om3uMV.js";
|
|
7
7
|
const c = ({
|
|
8
8
|
children: l,
|
|
9
9
|
id: o,
|
|
@@ -2,10 +2,10 @@ import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums
|
|
|
2
2
|
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
3
|
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
import E from "react";
|
|
5
|
-
import { c as R } from "../../chunks/vendor
|
|
5
|
+
import { c as R } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import { SegmentedControlContext as T } from "./SegmentedControlContext.js";
|
|
7
7
|
import { createSizeToClassNameMap as h } from "../../utils/classNameMaps.js";
|
|
8
|
-
const x = "
|
|
8
|
+
const x = "segmentedControl__cdd8c4f9", L = "general1__c6ec3c25", b = "secondary1__127d9f74", A = "general2__889133ee", M = "secondary2__6a9a4e25", G = "sm__cdc9e86f", O = "md__0b31085d", j = "lg__02307771", e = {
|
|
9
9
|
segmentedControl: x,
|
|
10
10
|
general1: L,
|
|
11
11
|
secondary1: b,
|
|
@@ -21,7 +21,7 @@ const x = "segmentedControl__a1d428ef", L = "general1__3f53a427", b = "secondary
|
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
22
|
}, z = h(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...
|
|
24
|
+
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...C }, f) => {
|
|
25
25
|
const p = R(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
@@ -48,7 +48,7 @@ const x = "segmentedControl__a1d428ef", L = "general1__3f53a427", b = "secondary
|
|
|
48
48
|
disabled: !!i,
|
|
49
49
|
onSegmentSelect: S
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */ c("div", { className: p, ...
|
|
51
|
+
children: /* @__PURE__ */ c("div", { className: p, ...C, "data-tx": "0.22.0", ref: f, children: d })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
|
-
import { c as L } from "../../chunks/vendor
|
|
3
|
+
import { c as L } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ButtonBase as N } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
6
|
import { SegmentedControlContext as _ } from "./SegmentedControlContext.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "segmentedControlSegment__d1f64761", E = "selected__47eabaf9", I = "content__6062068e", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -29,13 +29,13 @@ const y = "segmentedControlSegment__7a25d825", E = "selected__9053c82d", I = "co
|
|
|
29
29
|
case n.MULTIPLE:
|
|
30
30
|
return d.includes(e);
|
|
31
31
|
}
|
|
32
|
-
})(),
|
|
32
|
+
})(), f = L(
|
|
33
33
|
r.segmentedControlSegment,
|
|
34
34
|
{ [r.selected]: t },
|
|
35
35
|
"hoverable",
|
|
36
36
|
{ active: t },
|
|
37
37
|
i
|
|
38
|
-
),
|
|
38
|
+
), C = () => {
|
|
39
39
|
if (c)
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
@@ -54,8 +54,8 @@ const y = "segmentedControlSegment__7a25d825", E = "selected__9053c82d", I = "co
|
|
|
54
54
|
return /* @__PURE__ */ a(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
|
-
className:
|
|
58
|
-
title:
|
|
57
|
+
className: f,
|
|
58
|
+
title: C(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
61
|
onClick: u,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as R, jsxs as T } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import K, { useState as b, useRef as x, useCallback as c, useEffect as w } from "react";
|
|
3
3
|
import { isKey as C, EVENT_KEY_CODES as N } from "../../utils/keyboard.js";
|
|
4
4
|
import { KeyDownListener as _ } from "../KeyDownListener/KeyDownListener.js";
|
|
5
|
-
import { c as j } from "../../chunks/vendor
|
|
5
|
+
import { c as j } from "../../chunks/vendor---Om3uMV.js";
|
|
6
6
|
import { SelectExtendedFieldTarget as k } from "./components/SelectExtendedFieldTarget.js";
|
|
7
7
|
import { SelectExtendedFieldDropdown as v } from "./components/SelectExtendedFieldDropdown.js";
|
|
8
|
-
const A = "
|
|
8
|
+
const A = "selectExtendedField__488d31a7", L = {
|
|
9
9
|
selectExtendedField: A
|
|
10
10
|
}, M = Object.assign(
|
|
11
|
-
|
|
12
|
-
const { className: D, onKeyDown: o, children: F, renderTarget: S, closeOnTab: m, onClose: s, onOpen: d, ...g } = y, [t, l] =
|
|
11
|
+
K.forwardRef((y, n) => {
|
|
12
|
+
const { className: D, onKeyDown: o, children: F, renderTarget: S, closeOnTab: m, onClose: s, onOpen: d, ...g } = y, [t, l] = b(!1), i = x(null), u = x(null), h = (e) => {
|
|
13
13
|
i.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
|
|
14
14
|
}, p = c((e) => {
|
|
15
15
|
l(e);
|
|
@@ -2,7 +2,7 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import "../../Dropdown/DropdownListContext.js";
|
|
3
3
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
4
4
|
import { DropdownList as m } from "../../Dropdown/desktop/DropdownList.js";
|
|
5
|
-
import "../../../chunks/DropdownListItem-
|
|
5
|
+
import "../../../chunks/DropdownListItem-C5KVFMFN.js";
|
|
6
6
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -1,84 +1,91 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createElement as
|
|
3
|
-
import { SelectExtendedField as
|
|
1
|
+
import { jsx as o, jsxs as M, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { createElement as f } from "react";
|
|
3
|
+
import { SelectExtendedField as d } from "../SelectExtendedField.js";
|
|
4
|
+
import "../../Dropdown/DropdownListContext.js";
|
|
5
|
+
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
|
+
import "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
+
import "../../../chunks/DropdownListItem-C5KVFMFN.js";
|
|
4
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
5
|
-
import { DropdownMobileBody as
|
|
6
|
-
import { DropdownMobileClose as
|
|
9
|
+
import { DropdownMobileBody as E } from "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
|
+
import { DropdownMobileClose as k } from "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
7
11
|
import "../../Dropdown/mobile/DropdownMobileFooter.js";
|
|
8
|
-
import { DropdownMobileHeader as
|
|
12
|
+
import { DropdownMobileHeader as y } from "../../Dropdown/mobile/DropdownMobileHeader.js";
|
|
9
13
|
import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
10
14
|
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
11
15
|
import { DropdownMobileList as B } from "../../Dropdown/mobile/DropdownMobileList.js";
|
|
12
16
|
import { DropdownMobileListItem as F } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
13
17
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
14
18
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
15
|
-
import
|
|
16
|
-
import { ETextSize as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
import "../../Dropdown/Dropdown.js";
|
|
20
|
+
import { ETextSize as L } from "../../Typography/enums.js";
|
|
21
|
+
import "../../Typography/Caption.js";
|
|
22
|
+
import { Text as j } from "../../Typography/Text.js";
|
|
23
|
+
import "../../Typography/Title.js";
|
|
24
|
+
const $ = ({
|
|
25
|
+
dropdownRef: w,
|
|
26
|
+
dropdownListItemClassName: p,
|
|
27
|
+
width: D,
|
|
21
28
|
loading: b,
|
|
22
29
|
listId: h,
|
|
23
30
|
mobileTitle: x,
|
|
24
|
-
onChange:
|
|
25
|
-
opened:
|
|
26
|
-
size:
|
|
31
|
+
onChange: l,
|
|
32
|
+
opened: c,
|
|
33
|
+
size: n,
|
|
27
34
|
options: s,
|
|
28
|
-
setOpened:
|
|
35
|
+
setOpened: e,
|
|
29
36
|
targetRef: a,
|
|
30
|
-
value:
|
|
31
|
-
}) => /* @__PURE__ */
|
|
32
|
-
|
|
37
|
+
value: i
|
|
38
|
+
}) => /* @__PURE__ */ o(
|
|
39
|
+
d.Dropdown,
|
|
33
40
|
{
|
|
34
|
-
opened:
|
|
35
|
-
forwardedRef:
|
|
36
|
-
|
|
37
|
-
setOpened:
|
|
41
|
+
opened: c && !b,
|
|
42
|
+
forwardedRef: w,
|
|
43
|
+
width: D,
|
|
44
|
+
setOpened: e,
|
|
38
45
|
targetRef: a,
|
|
39
|
-
size:
|
|
46
|
+
size: n,
|
|
40
47
|
mobileViewProps: {
|
|
41
48
|
children: /* @__PURE__ */ M(S, { children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
const { label:
|
|
45
|
-
return /* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ o(y, { controlButtons: /* @__PURE__ */ o(k, { onClick: () => e(!1) }), children: /* @__PURE__ */ o(j, { tag: "div", size: L.B3, children: x }) }),
|
|
50
|
+
/* @__PURE__ */ o(E, { children: /* @__PURE__ */ o(B, { children: s.map((r) => {
|
|
51
|
+
const { label: t, ...m } = r;
|
|
52
|
+
return /* @__PURE__ */ f(
|
|
46
53
|
F,
|
|
47
54
|
{
|
|
48
|
-
...
|
|
49
|
-
className:
|
|
55
|
+
...m,
|
|
56
|
+
className: p,
|
|
50
57
|
id: r.id,
|
|
51
58
|
key: r.id,
|
|
52
|
-
selected: r.id === (
|
|
59
|
+
selected: r.id === (i == null ? void 0 : i.id),
|
|
53
60
|
onSelect: () => {
|
|
54
|
-
|
|
61
|
+
l(r), e(!1);
|
|
55
62
|
}
|
|
56
63
|
},
|
|
57
|
-
|
|
64
|
+
t
|
|
58
65
|
);
|
|
59
66
|
}) }) })
|
|
60
67
|
] })
|
|
61
68
|
},
|
|
62
|
-
children: /* @__PURE__ */
|
|
63
|
-
const { label:
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
-
|
|
69
|
+
children: /* @__PURE__ */ o(d.Dropdown.List, { id: h, dropdownOpened: c, size: n, children: s.map((r) => {
|
|
70
|
+
const { label: t, ...m } = r;
|
|
71
|
+
return /* @__PURE__ */ f(
|
|
72
|
+
d.Dropdown.List.Item,
|
|
66
73
|
{
|
|
67
|
-
...
|
|
68
|
-
className:
|
|
74
|
+
...m,
|
|
75
|
+
className: p,
|
|
69
76
|
id: r.id,
|
|
70
77
|
key: r.id,
|
|
71
|
-
selected: r.id === (
|
|
78
|
+
selected: r.id === (i == null ? void 0 : i.id),
|
|
72
79
|
onSelect: () => {
|
|
73
|
-
|
|
80
|
+
l(r), e(!1);
|
|
74
81
|
}
|
|
75
82
|
},
|
|
76
|
-
|
|
83
|
+
t
|
|
77
84
|
);
|
|
78
85
|
}) })
|
|
79
86
|
}
|
|
80
87
|
);
|
|
81
88
|
export {
|
|
82
|
-
|
|
89
|
+
$ as SelectExtendedFieldDropdownDefault
|
|
83
90
|
};
|
|
84
91
|
//# sourceMappingURL=SelectExtendedFieldDropdownDefault.js.map
|
|
@@ -5,21 +5,21 @@ import { EVENT_KEY_CODES as s } from "../../../utils/keyboard.js";
|
|
|
5
5
|
import { LoaderSmall as x } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
6
6
|
import { ELoaderSmallTheme as D } from "../../Loader/LoaderSmall/enum.js";
|
|
7
7
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
8
|
-
import { c as n } from "../../../chunks/vendor
|
|
9
|
-
import {
|
|
10
|
-
import "../../FormField/components/
|
|
8
|
+
import { c as n } from "../../../chunks/vendor---Om3uMV.js";
|
|
9
|
+
import { EFormFieldStatus as i } from "../../FormField/enums.js";
|
|
10
|
+
import { FormFieldClear as v } from "../../FormField/components/FormFieldClear.js";
|
|
11
11
|
import "../../FormField/components/FormFieldCounter.js";
|
|
12
|
+
import "../../FormField/components/FormFieldDescription.js";
|
|
13
|
+
import "../../../chunks/FormFieldInput-Dp--anY3.js";
|
|
12
14
|
import { FormFieldLabel as w } from "../../FormField/components/FormFieldLabel.js";
|
|
13
|
-
import { FormFieldClear as y } from "../../FormField/components/FormFieldClear.js";
|
|
14
|
-
import { FormFieldTarget as P } from "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-C75omt8Y.js";
|
|
16
15
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
|
-
import { FormFieldPostfix as
|
|
18
|
-
import { FormFieldPrefix as
|
|
16
|
+
import { FormFieldPostfix as y } from "../../FormField/components/FormFieldPostfix.js";
|
|
17
|
+
import { FormFieldPrefix as P } from "../../FormField/components/FormFieldPrefix.js";
|
|
18
|
+
import { FormFieldTarget as G } from "../../FormField/components/FormFieldTarget.js";
|
|
19
19
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
20
|
-
import {
|
|
20
|
+
import { FormField as j } from "../../FormField/FormField.js";
|
|
21
21
|
import { EComponentSize as o } from "../../../enums/EComponentSize.js";
|
|
22
|
-
const K = "
|
|
22
|
+
const K = "selectExtendedFieldTarget__8d191946", U = "caretWrapper__1393ab87", V = "caretIcon__fa337978", Y = "selectOpened__f9ee3898", q = "disabled__ccaccf45", H = "target__e193ff22", e = {
|
|
23
23
|
selectExtendedFieldTarget: K,
|
|
24
24
|
caretWrapper: U,
|
|
25
25
|
caretIcon: V,
|
|
@@ -35,7 +35,7 @@ const K = "selectExtendedFieldTarget__6643daee", U = "caretWrapper__3084daff", V
|
|
|
35
35
|
[o.MD]: /* @__PURE__ */ t(x, { size: o.MD, theme: D.BRAND }),
|
|
36
36
|
[o.LG]: /* @__PURE__ */ t(x, { size: o.LG, theme: D.BRAND })
|
|
37
37
|
}, X = O.forwardRef(
|
|
38
|
-
(b,
|
|
38
|
+
(b, c) => {
|
|
39
39
|
const {
|
|
40
40
|
children: Z,
|
|
41
41
|
className: g,
|
|
@@ -48,7 +48,7 @@ const K = "selectExtendedFieldTarget__6643daee", U = "caretWrapper__3084daff", V
|
|
|
48
48
|
postfix: I,
|
|
49
49
|
prefix: h,
|
|
50
50
|
setOpened: N,
|
|
51
|
-
loading:
|
|
51
|
+
loading: d,
|
|
52
52
|
size: S = o.MD,
|
|
53
53
|
status: l,
|
|
54
54
|
tabIndex: $,
|
|
@@ -58,24 +58,24 @@ const K = "selectExtendedFieldTarget__6643daee", U = "caretWrapper__3084daff", V
|
|
|
58
58
|
e.selectExtendedFieldTarget,
|
|
59
59
|
{
|
|
60
60
|
[e.selectOpened]: a,
|
|
61
|
-
[e.loading]:
|
|
62
|
-
[e.disabled]: l ===
|
|
61
|
+
[e.loading]: d,
|
|
62
|
+
[e.disabled]: l === i.DISABLED
|
|
63
63
|
},
|
|
64
64
|
g
|
|
65
65
|
), T = (r) => {
|
|
66
|
-
|
|
66
|
+
d || l === i.DISABLED || (N(!a), f == null || f(r));
|
|
67
67
|
}, A = (r) => {
|
|
68
|
-
|
|
68
|
+
d && l === i.DISABLED || (a || [
|
|
69
69
|
s.SPACE,
|
|
70
70
|
s.ENTER,
|
|
71
71
|
s.ARROW_DOWN,
|
|
72
72
|
s.ARROW_UP
|
|
73
73
|
].includes(r.keyCode) && (r.preventDefault(), r.stopPropagation(), N(!a)), p == null || p(r));
|
|
74
74
|
}, M = (r) => {
|
|
75
|
-
R.current = r, typeof
|
|
75
|
+
R.current = r, typeof c == "function" ? c(r) : c && (c.current = r);
|
|
76
76
|
};
|
|
77
77
|
return /* @__PURE__ */ _(
|
|
78
|
-
|
|
78
|
+
j,
|
|
79
79
|
{
|
|
80
80
|
onClick: T,
|
|
81
81
|
onKeyDown: A,
|
|
@@ -84,14 +84,14 @@ const K = "selectExtendedFieldTarget__6643daee", U = "caretWrapper__3084daff", V
|
|
|
84
84
|
className: C,
|
|
85
85
|
"aria-expanded": a,
|
|
86
86
|
"aria-haspopup": "listbox",
|
|
87
|
-
"data-tx": "0.
|
|
87
|
+
"data-tx": "0.22.0",
|
|
88
88
|
active: a,
|
|
89
89
|
...L,
|
|
90
90
|
children: [
|
|
91
|
-
h ? /* @__PURE__ */ t(
|
|
91
|
+
h ? /* @__PURE__ */ t(P, { className: n("hoverable", { disabled: l === i.DISABLED }), children: h }) : null,
|
|
92
92
|
/* @__PURE__ */ t(w, { children: u }),
|
|
93
93
|
/* @__PURE__ */ t(
|
|
94
|
-
|
|
94
|
+
G,
|
|
95
95
|
{
|
|
96
96
|
ref: M,
|
|
97
97
|
className: n(e.target, {
|
|
@@ -102,14 +102,14 @@ const K = "selectExtendedFieldTarget__6643daee", U = "caretWrapper__3084daff", V
|
|
|
102
102
|
children: m
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
|
-
/* @__PURE__ */ _(
|
|
106
|
-
F && /* @__PURE__ */ t(
|
|
107
|
-
|
|
105
|
+
/* @__PURE__ */ _(y, { children: [
|
|
106
|
+
F && /* @__PURE__ */ t(v, { onClick: F }),
|
|
107
|
+
d ? Q[S] : /* @__PURE__ */ t(
|
|
108
108
|
"div",
|
|
109
109
|
{
|
|
110
110
|
className: n(e.caretWrapper, "hoverable", {
|
|
111
111
|
active: a,
|
|
112
|
-
disabled: l ===
|
|
112
|
+
disabled: l === i.DISABLED
|
|
113
113
|
}),
|
|
114
114
|
children: J[S]
|
|
115
115
|
}
|