@sberbusiness/triplex-next 0.23.0 → 0.25.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 +8 -2
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-DF_eSZ-p.js +41 -0
- package/chunks/CalendarViewItem-CQErGrhc.js +101 -0
- package/chunks/Card.module-Ce9rAKOc.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Cj2c6m06.js +15 -0
- package/chunks/Chip-BEnNi0nL.js +77 -0
- package/chunks/Confirm.module-CbAi5bkG.js +15 -0
- package/chunks/{DropdownListItem-C4JE2xV7.js → DropdownListItem-wT8cLRdZ.js} +14 -14
- package/chunks/DropdownMobile.module-rYB54yd0.js +23 -0
- package/chunks/Footer.module-CzJ_N1fs.js +9 -0
- package/chunks/{FormFieldInput-Dr_WBweC.js → FormFieldInput-Dj2JAqj2.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-HXJhEmKU.js +9 -0
- package/chunks/HeaderTabs.module-CjapozXy.js +9 -0
- package/chunks/{HeaderTitle.module-D5yAgpuv.js → HeaderTitle.module-SmVWml2y.js} +2 -2
- package/chunks/IslandAccordion.module-YvqRlzmi.js +25 -0
- package/chunks/IslandWidgetFooter.module-iMuqKnPP.js +9 -0
- package/chunks/IslandWidgetHeader.module-CnPne0Uq.js +12 -0
- package/chunks/LightBoxContent-DlDaCKV4.js +63 -0
- package/chunks/LightBoxControls.module-laAGRPrR.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B3L_EV1B.js +9 -0
- package/chunks/ListItemControlsButton-UKjqQcv7.js +59 -0
- package/chunks/ListItemTail.module-igeWTjyg.js +12 -0
- package/chunks/ListMasterFooter.module-C0eM4fK4.js +10 -0
- package/chunks/ModalWindow.module-Cpk4uhwk.js +17 -0
- package/chunks/Notification.module-9japFkgv.js +20 -0
- package/chunks/Overlay.module-B3Az7dZS.js +18 -0
- package/chunks/Page.module-DOHwIYM4.js +11 -0
- package/chunks/{RightBorderArrow-CGThEmc4.js → RightBorderArrow-C6j8565V.js} +9 -9
- package/chunks/SMSField.module-BOpUjsSJ.js +16 -0
- package/chunks/SliderExtendedMarks.module-cdkiaSbT.js +15 -0
- package/chunks/{SliderExtendedRail-C51TfjHY.js → SliderExtendedRail-jfLPbgEp.js} +10 -10
- package/chunks/StatusTracker.module-OAxbFucN.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-8Km5bFV3.js → SuggestFieldMobileDropdownHint-CCyHjS-V.js} +6 -5
- package/chunks/TableFooter.module-CGWCS8e3.js +14 -0
- package/chunks/TabsExtended.module-BJOWXSHt.js +16 -0
- package/chunks/TabsLine.module-BsiLhw0I.js +21 -0
- package/chunks/TooltipDesktop.module-DVp6GHr8.js +19 -0
- package/chunks/TreeView.module-C2WPNvMq.js +9 -0
- package/chunks/{UploadZoneInput-onwF8t4d.js → UploadZoneInput-DYiPRAAI.js} +7 -7
- package/chunks/{constants-CUVfo8-z.js → constants-Ctks52i0.js} +12 -12
- package/chunks/utils-Bz5uKYQD.js +24 -0
- package/chunks/{utils-By-UAq7Y.js → utils-C6a9XDaC.js} +4 -4
- package/chunks/{utils-DxMHp1hh.js → utils-CrkRbGiM.js} +4 -4
- package/chunks/utils-QVs0E_e3.js +73 -0
- package/components/Alert/AlertContext/AlertContext.js +28 -28
- package/components/Alert/AlertProcess/AlertProcess.js +41 -34
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +8 -8
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +16 -16
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +91 -90
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +17 -19
- package/components/Calendar/Calendar.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +4 -4
- package/components/Checkbox/Checkbox.js +38 -36
- package/components/Checkbox/CheckboxXGroup.js +18 -17
- package/components/Checkbox/CheckboxYGroup.js +8 -7
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +3 -2
- package/components/Chip/ChipClearButton.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +5 -5
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +147 -147
- package/components/CollapsableTree/components/CollapsableTreeNode.js +10 -10
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentSubTitle.js +4 -3
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +6 -6
- package/components/DateRange/DateRange.js +4 -4
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +73 -66
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/enums.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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +25 -25
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +16 -16
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +1 -1
- package/components/FormField/components/FormFieldTextarea.js +13 -13
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +9 -7
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +29 -28
- package/components/IslandWidget/IslandWidget.js +21 -21
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +3 -3
- package/components/LightBox/LightBox.js +44 -41
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +10 -10
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +46 -45
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +8 -8
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +29 -30
- package/components/List/components/ListItemLoading.js +6 -6
- package/components/List/components/ListItemSelectable.js +1 -1
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +1 -1
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +1 -1
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -16
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +19 -14
- package/components/OrderedList/OrderedListItem.js +10 -9
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +14 -14
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +10 -9
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -2
- package/components/Pagination/components/PaginationSelect.js +5 -4
- package/components/Radio/Radio.js +11 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +17 -17
- package/components/SegmentedControl/SegmentedControlSegment.js +37 -42
- package/components/SelectExtendedField/SelectExtendedField.js +51 -42
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +4 -4
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +22 -22
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +14 -14
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +4 -3
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +4 -3
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -7
- package/components/Step/Step.js +11 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +3 -3
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +63 -65
- package/components/Stepper/StepperWrapper.js +4 -4
- package/components/Suggest/SuggestMobileDropdownContent.js +12 -11
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +10 -10
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +50 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +17 -17
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +12 -12
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +17 -17
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +5 -4
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +20 -19
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +21 -21
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +8 -8
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +6 -6
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +13 -13
- package/components/TopOverlay/TopOverlay.js +20 -20
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +23 -23
- package/components/Typography/CodeText.js +28 -0
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +27 -27
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +7 -6
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +591 -579
- package/index.d.ts +98 -23
- package/index.js +639 -627
- package/package.json +9 -1
- package/styles/triplex-next.css +541 -541
- package/chunks/AlertProcessSpoiler-BoQok_f3.js +0 -39
- package/chunks/CalendarViewItem-DKS15EZ4.js +0 -101
- package/chunks/Card.module-BmZKmkeY.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CGSpV-y1.js +0 -15
- package/chunks/Chip-D5zfQfAA.js +0 -104
- package/chunks/Confirm.module-CtbiIzcl.js +0 -15
- package/chunks/DropdownMobile.module-BgSbdJtS.js +0 -23
- package/chunks/Footer.module-B469C_XO.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DYtQ2wvu.js +0 -9
- package/chunks/HeaderTabs.module-4iOT34Zp.js +0 -9
- package/chunks/IslandAccordion.module-mdAdZwJL.js +0 -25
- package/chunks/IslandWidgetFooter.module-ClvLmtck.js +0 -9
- package/chunks/IslandWidgetHeader.module-CuVaAc4F.js +0 -12
- package/chunks/LightBoxContent-Lme9r-vN.js +0 -56
- package/chunks/LightBoxControls.module-qhDcQmnH.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CK8Rh-qO.js +0 -9
- package/chunks/ListItemControlsButton-BLbj6vZS.js +0 -51
- package/chunks/ListItemTail.module-BAmXXpc5.js +0 -12
- package/chunks/ListMasterFooter.module-BhwH8qqm.js +0 -10
- package/chunks/ModalWindow.module-Ciwlg3WX.js +0 -17
- package/chunks/Notification.module-CjpGpuL7.js +0 -20
- package/chunks/Overlay.module-DPHcy5Kd.js +0 -18
- package/chunks/Page.module-98SUxLiM.js +0 -11
- package/chunks/SMSField.module-k0lfRov5.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bdz2AHAO.js +0 -15
- package/chunks/StatusTracker.module-BmBKiCLR.js +0 -24
- package/chunks/TableFooter.module-D0rUmZhB.js +0 -14
- package/chunks/TabsExtended.module-D5-U63Qf.js +0 -16
- package/chunks/TabsLine.module-DXlTUTm_.js +0 -21
- package/chunks/TooltipDesktop.module-D4z7cwlC.js +0 -19
- package/chunks/TreeView.module-DAOSEOZO.js +0 -9
- package/chunks/utils-CyxIcdb6.js +0 -73
- package/chunks/utils-SSwzNA1R.js +0 -24
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as d } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { ETextSize as m } from "../Typography/enums.js";
|
|
5
5
|
import "../Typography/Caption.js";
|
|
6
|
+
import "../Typography/CodeText.js";
|
|
6
7
|
import { Text as x } from "../Typography/Text.js";
|
|
7
8
|
import "../Typography/Title.js";
|
|
8
9
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
10
|
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
10
|
-
const y = "
|
|
11
|
+
const y = "label__cc88a94d", M = "sm__edfbd0e8", T = "nonempty__c0e4d330", S = "md__9a13d60c", g = "lg__bc95b430", I = "disabled__006f9a10", R = "radio__a6b21a20", u = "radioIcon__236ad963", a = {
|
|
11
12
|
label: y,
|
|
12
13
|
sm: M,
|
|
13
14
|
nonempty: T,
|
|
@@ -20,16 +21,16 @@ const y = "label__f3dfe08b", M = "sm__baa54dd6", T = "nonempty__99de520a", S = "
|
|
|
20
21
|
[s.LG]: m.B2,
|
|
21
22
|
[s.MD]: m.B3,
|
|
22
23
|
[s.SM]: m.B4
|
|
23
|
-
}, C = z(
|
|
24
|
-
const { children: e, className: l, disabled: c, labelAttributes:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{ [
|
|
28
|
-
|
|
24
|
+
}, C = z(a), h = N.forwardRef((n, r) => {
|
|
25
|
+
const { children: e, className: l, disabled: c, labelAttributes: o, size: t = s.MD, ...p } = n, _ = d(a.radio, l, C[t]), b = d(
|
|
26
|
+
a.label,
|
|
27
|
+
a[t],
|
|
28
|
+
{ [a.disabled]: !!c, [a.nonempty]: !!e },
|
|
29
|
+
o == null ? void 0 : o.className
|
|
29
30
|
);
|
|
30
|
-
return /* @__PURE__ */ f("label", { ...
|
|
31
|
+
return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "0.25.0", children: [
|
|
31
32
|
/* @__PURE__ */ i("input", { type: "radio", className: _, disabled: c, ...p, ref: r }),
|
|
32
|
-
/* @__PURE__ */ i("span", { className:
|
|
33
|
+
/* @__PURE__ */ i("span", { className: a.radioIcon }),
|
|
33
34
|
e && /* @__PURE__ */ i(x, { size: B[t], tag: "div", children: e })
|
|
34
35
|
] });
|
|
35
36
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const s = "
|
|
3
|
+
const s = "radioXGroup__6cfa78d6", _ = "label__cc88a94d", n = {
|
|
4
4
|
radioXGroup: s,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__d5c0455d",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
}, l = (
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */
|
|
7
|
+
"indent-16": "indent-16__d0f4b3af",
|
|
8
|
+
"indent-20": "indent-20__15c7b0c9",
|
|
9
|
+
"indent-24": "indent-24__7ec0188c",
|
|
10
|
+
"indent-28": "indent-28__8288e284",
|
|
11
|
+
"indent-32": "indent-32__2565d96b"
|
|
12
|
+
}, l = (d) => {
|
|
13
|
+
const { children: e, className: i, indent: o = 12, ...t } = d, a = c(n.radioXGroup, n[`indent-${o}`], i);
|
|
14
|
+
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: e });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "RadioXGroup";
|
|
17
17
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c
|
|
3
|
-
const
|
|
4
|
-
radioYGroup:
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const p = "radioYGroup__d8f14dd3", t = {
|
|
4
|
+
radioYGroup: p
|
|
5
5
|
}, e = (o) => {
|
|
6
|
-
const { children: r, className: s, ...a } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { children: r, className: s, ...a } = o, d = c(t.radioYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ i("div", { className: d, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
9
|
e.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
package/components/Row/Row.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
5
|
-
noPaddingBottom:
|
|
6
|
-
},
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
+
const a = "row__f20db8ee", e = "noPaddingBottom__474c4406", o = {
|
|
4
|
+
row: a,
|
|
5
|
+
noPaddingBottom: e
|
|
6
|
+
}, i = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
+
const d = m(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ c("div", { className: d, ...r, children: t });
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
i.displayName = "Row";
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
i as Row
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=Row.js.map
|
|
@@ -6,7 +6,7 @@ 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-BOpUjsSJ.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.25.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
2
|
import { c as P } from "../../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
import { s as o } from "../../../chunks/SMSField.module-
|
|
3
|
+
import { s as o } from "../../../chunks/SMSField.module-BOpUjsSJ.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" + // Рисуем горизонтальную линию вправо в начало сектора.
|
|
@@ -5,7 +5,7 @@ import { EFormFieldStatus as l } from "../../FormField/enums.js";
|
|
|
5
5
|
import "../../FormField/components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldCounter as j } from "../../FormField/components/FormFieldCounter.js";
|
|
7
7
|
import { FormFieldDescription as y } from "../../FormField/components/FormFieldDescription.js";
|
|
8
|
-
import { F as z } from "../../../chunks/FormFieldInput-
|
|
8
|
+
import { F as z } from "../../../chunks/FormFieldInput-Dj2JAqj2.js";
|
|
9
9
|
import "../../FormField/components/FormFieldLabel.js";
|
|
10
10
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
@@ -15,7 +15,7 @@ import "../../FormField/components/FormFieldTextarea.js";
|
|
|
15
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-BOpUjsSJ.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) => {
|
|
@@ -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-BOpUjsSJ.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, {
|
|
@@ -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-BOpUjsSJ.js";
|
|
13
13
|
const D = ({ className: r, disabled: a, onClick: i, ...l }) => {
|
|
14
14
|
const {
|
|
15
15
|
code: t,
|
|
@@ -2,15 +2,15 @@ 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
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
import { createSizeToClassNameMap as
|
|
8
|
-
const
|
|
9
|
-
segmentedControl:
|
|
10
|
-
general1:
|
|
11
|
-
secondary1:
|
|
12
|
-
general2:
|
|
13
|
-
secondary2:
|
|
5
|
+
import { c as b } from "../../chunks/vendor---Om3uMV.js";
|
|
6
|
+
import { SegmentedControlContext as R } from "./SegmentedControlContext.js";
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
8
|
+
const h = "segmentedControl__53a26743", x = "general1__6ec4e268", L = "secondary1__3ab5d7c7", A = "general2__0081d11e", M = "secondary2__0e7796f1", G = "sm__060a0a4b", O = "md__72c3432b", j = "lg__9f5bb120", e = {
|
|
9
|
+
segmentedControl: h,
|
|
10
|
+
general1: x,
|
|
11
|
+
secondary1: L,
|
|
12
|
+
general2: A,
|
|
13
|
+
secondary2: M,
|
|
14
14
|
sm: G,
|
|
15
15
|
md: O,
|
|
16
16
|
lg: j
|
|
@@ -19,14 +19,14 @@ const x = "segmentedControl__6266a245", L = "general1__058de02d", A = "secondary
|
|
|
19
19
|
[o.GENERAL_2]: e.general2,
|
|
20
20
|
[o.SECONDARY_1]: e.secondary1,
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
|
-
}, z =
|
|
22
|
+
}, z = T(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children:
|
|
25
|
-
const p =
|
|
24
|
+
({ children: l, className: d, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...C }, f) => {
|
|
25
|
+
const p = b(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
28
|
-
z[
|
|
29
|
-
|
|
28
|
+
z[_],
|
|
29
|
+
d
|
|
30
30
|
), S = ({
|
|
31
31
|
selected: a,
|
|
32
32
|
value: s
|
|
@@ -40,15 +40,15 @@ const x = "segmentedControl__6266a245", L = "general1__058de02d", A = "secondary
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
return /* @__PURE__ */ c(
|
|
43
|
-
|
|
43
|
+
R.Provider,
|
|
44
44
|
{
|
|
45
45
|
value: {
|
|
46
46
|
type: r,
|
|
47
47
|
value: n,
|
|
48
|
-
disabled: !!
|
|
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.25.0", ref: f, children: l })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,71 +1,66 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { c as
|
|
4
|
-
import { ButtonBase as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as b } from "react";
|
|
3
|
+
import { c as y } from "../../chunks/vendor---Om3uMV.js";
|
|
4
|
+
import { ButtonBase as L } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
import { SegmentedControlContext as N } from "./SegmentedControlContext.js";
|
|
7
|
+
import { IconWrapper as _ } from "../IconWrapper/IconWrapper.js";
|
|
8
|
+
const E = "segmentedControlSegment__0e8d68b9", I = "selected__cd329535", T = "content__8fd878ce", c = {
|
|
9
|
+
segmentedControlSegment: E,
|
|
10
|
+
selected: I,
|
|
11
|
+
content: T
|
|
12
|
+
}, h = ({
|
|
12
13
|
children: s,
|
|
13
|
-
className:
|
|
14
|
+
className: p,
|
|
14
15
|
value: e,
|
|
15
|
-
title:
|
|
16
|
-
disabled:
|
|
16
|
+
title: m,
|
|
17
|
+
disabled: d,
|
|
17
18
|
onClick: o,
|
|
18
19
|
...S
|
|
19
20
|
}) => {
|
|
20
21
|
const {
|
|
21
|
-
type:
|
|
22
|
-
value:
|
|
23
|
-
disabled:
|
|
24
|
-
onSegmentSelect:
|
|
25
|
-
} =
|
|
26
|
-
switch (
|
|
22
|
+
type: l,
|
|
23
|
+
value: a,
|
|
24
|
+
disabled: i,
|
|
25
|
+
onSegmentSelect: g
|
|
26
|
+
} = b(N), t = (() => {
|
|
27
|
+
switch (l) {
|
|
27
28
|
case n.SINGLE:
|
|
28
|
-
return e ===
|
|
29
|
+
return e === a;
|
|
29
30
|
case n.MULTIPLE:
|
|
30
|
-
return
|
|
31
|
+
return a.includes(e);
|
|
31
32
|
}
|
|
32
|
-
})(), f =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"hoverable",
|
|
36
|
-
{ active: t },
|
|
37
|
-
i
|
|
38
|
-
), C = () => {
|
|
39
|
-
if (c)
|
|
40
|
-
return c;
|
|
33
|
+
})(), f = y(c.segmentedControlSegment, { [c.selected]: t }, p), C = () => {
|
|
34
|
+
if (m)
|
|
35
|
+
return m;
|
|
41
36
|
if (typeof s == "string")
|
|
42
37
|
return s;
|
|
43
|
-
}, u = (
|
|
44
|
-
switch (
|
|
38
|
+
}, u = (x) => {
|
|
39
|
+
switch (l) {
|
|
45
40
|
case n.SINGLE:
|
|
46
|
-
|
|
41
|
+
g({ value: e, selected: !0 });
|
|
47
42
|
break;
|
|
48
43
|
case n.MULTIPLE:
|
|
49
|
-
|
|
44
|
+
g({ value: e, selected: !t });
|
|
50
45
|
break;
|
|
51
46
|
}
|
|
52
|
-
o == null || o(
|
|
47
|
+
o == null || o(x);
|
|
53
48
|
};
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
|
|
49
|
+
return /* @__PURE__ */ r(_, { displayContents: !0, disabled: d || i, active: t, children: /* @__PURE__ */ r(
|
|
50
|
+
L,
|
|
56
51
|
{
|
|
57
52
|
className: f,
|
|
58
53
|
title: C(),
|
|
59
|
-
disabled:
|
|
54
|
+
disabled: d || i,
|
|
60
55
|
"aria-pressed": t,
|
|
61
56
|
onClick: u,
|
|
62
57
|
...S,
|
|
63
|
-
children: /* @__PURE__ */
|
|
58
|
+
children: /* @__PURE__ */ r("span", { className: c.content, children: s })
|
|
64
59
|
}
|
|
65
|
-
);
|
|
60
|
+
) });
|
|
66
61
|
};
|
|
67
|
-
|
|
62
|
+
h.displayName = "SegmentedControlSegment";
|
|
68
63
|
export {
|
|
69
|
-
|
|
64
|
+
h as SegmentedControlSegment
|
|
70
65
|
};
|
|
71
66
|
//# sourceMappingURL=SegmentedControlSegment.js.map
|
|
@@ -1,63 +1,72 @@
|
|
|
1
|
-
import { jsx as R, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { isKey as
|
|
4
|
-
import { KeyDownListener as
|
|
5
|
-
import { c as
|
|
6
|
-
import { SelectExtendedFieldTarget as
|
|
7
|
-
import { SelectExtendedFieldDropdown as
|
|
8
|
-
const
|
|
9
|
-
selectExtendedField:
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
const { className:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { jsx as R, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import L, { useState as N, useRef as o, useLayoutEffect as _, useCallback as l, useEffect as F } from "react";
|
|
3
|
+
import { isKey as j, EVENT_KEY_CODES as k } from "../../utils/keyboard.js";
|
|
4
|
+
import { KeyDownListener as v } from "../KeyDownListener/KeyDownListener.js";
|
|
5
|
+
import { c as A } from "../../chunks/vendor---Om3uMV.js";
|
|
6
|
+
import { SelectExtendedFieldTarget as M } from "./components/SelectExtendedFieldTarget.js";
|
|
7
|
+
import { SelectExtendedFieldDropdown as B } from "./components/SelectExtendedFieldDropdown.js";
|
|
8
|
+
const P = "selectExtendedField__7acdf8c9", V = {
|
|
9
|
+
selectExtendedField: P
|
|
10
|
+
}, Y = Object.assign(
|
|
11
|
+
L.forwardRef((S, r) => {
|
|
12
|
+
const { className: g, onKeyDown: s, children: h, renderTarget: O, closeOnTab: m, onClose: p, onOpen: E, ...T } = S, [t, i] = N(!1), a = o(null), x = o(null), c = o(E), d = o(p), w = o(!1);
|
|
13
|
+
_(() => {
|
|
14
|
+
c.current = E, d.current = p;
|
|
15
|
+
});
|
|
16
|
+
const C = (e) => {
|
|
17
|
+
a.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
18
|
+
}, y = l((e) => {
|
|
19
|
+
i(e);
|
|
20
|
+
}, []), u = l(
|
|
17
21
|
(e) => {
|
|
18
|
-
var
|
|
19
|
-
t && !((
|
|
22
|
+
var n, D;
|
|
23
|
+
t && !((n = a.current) != null && n.contains(e.target)) && !((D = x.current) != null && D.contains(e.target)) && i(!1);
|
|
20
24
|
},
|
|
21
25
|
[t]
|
|
22
|
-
), f =
|
|
23
|
-
t &&
|
|
24
|
-
}, [t]),
|
|
26
|
+
), f = l(() => {
|
|
27
|
+
t && i(!1);
|
|
28
|
+
}, [t]), K = l(
|
|
25
29
|
(e) => {
|
|
26
|
-
const
|
|
27
|
-
m &&
|
|
30
|
+
const n = e.code || e.keyCode;
|
|
31
|
+
m && j(n, "TAB") && f(), s == null || s(e);
|
|
28
32
|
},
|
|
29
|
-
[m, f,
|
|
33
|
+
[m, f, s]
|
|
30
34
|
);
|
|
31
|
-
return
|
|
32
|
-
document.removeEventListener("mousedown",
|
|
33
|
-
}), [
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
return F(() => (document.addEventListener("mousedown", u), () => {
|
|
36
|
+
document.removeEventListener("mousedown", u);
|
|
37
|
+
}), [u]), F(() => {
|
|
38
|
+
var e, n;
|
|
39
|
+
if (!w.current) {
|
|
40
|
+
w.current = !0;
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
t ? (e = c.current) == null || e.call(c) : (n = d.current) == null || n.call(d);
|
|
44
|
+
}, [t]), /* @__PURE__ */ R(v, { onMatch: f, eventKeyCode: k.ESCAPE, children: /* @__PURE__ */ b(
|
|
36
45
|
"div",
|
|
37
46
|
{
|
|
38
|
-
className:
|
|
39
|
-
onKeyDown:
|
|
40
|
-
ref:
|
|
41
|
-
...
|
|
47
|
+
className: A(V.selectExtendedField, g),
|
|
48
|
+
onKeyDown: K,
|
|
49
|
+
ref: C,
|
|
50
|
+
...T,
|
|
42
51
|
children: [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
dropdownRef:
|
|
52
|
+
O({ opened: t, setOpened: y }),
|
|
53
|
+
h({
|
|
54
|
+
dropdownRef: x,
|
|
46
55
|
opened: t,
|
|
47
|
-
setOpened:
|
|
48
|
-
targetRef:
|
|
56
|
+
setOpened: y,
|
|
57
|
+
targetRef: a
|
|
49
58
|
})
|
|
50
59
|
]
|
|
51
60
|
}
|
|
52
61
|
) });
|
|
53
62
|
}),
|
|
54
63
|
{
|
|
55
|
-
Target:
|
|
56
|
-
Dropdown:
|
|
64
|
+
Target: M,
|
|
65
|
+
Dropdown: B
|
|
57
66
|
}
|
|
58
67
|
);
|
|
59
|
-
|
|
68
|
+
Y.displayName = "SelectExtendedField";
|
|
60
69
|
export {
|
|
61
|
-
|
|
70
|
+
Y as SelectExtendedField
|
|
62
71
|
};
|
|
63
72
|
//# sourceMappingURL=SelectExtendedField.js.map
|
|
@@ -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-wT8cLRdZ.js";
|
|
6
6
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -4,7 +4,7 @@ import { SelectExtendedField as d } from "../SelectExtendedField.js";
|
|
|
4
4
|
import "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
7
|
+
import "../../../chunks/DropdownListItem-wT8cLRdZ.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
9
9
|
import { DropdownMobileBody as E } from "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
10
|
import { DropdownMobileClose as k } from "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -19,9 +19,10 @@ import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
|
19
19
|
import "../../Dropdown/Dropdown.js";
|
|
20
20
|
import { ETextSize as L } from "../../Typography/enums.js";
|
|
21
21
|
import "../../Typography/Caption.js";
|
|
22
|
+
import "../../Typography/CodeText.js";
|
|
22
23
|
import { Text as j } from "../../Typography/Text.js";
|
|
23
24
|
import "../../Typography/Title.js";
|
|
24
|
-
const
|
|
25
|
+
const u = ({
|
|
25
26
|
dropdownRef: w,
|
|
26
27
|
dropdownListItemClassName: p,
|
|
27
28
|
width: D,
|
|
@@ -86,6 +87,6 @@ const $ = ({
|
|
|
86
87
|
}
|
|
87
88
|
);
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
u as SelectExtendedFieldDropdownDefault
|
|
90
91
|
};
|
|
91
92
|
//# sourceMappingURL=SelectExtendedFieldDropdownDefault.js.map
|