@sberbusiness/triplex-next 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-BHAU8N38.js +39 -0
- package/chunks/{CalendarViewItem-h3bxNCuW.js → CalendarViewItem-B0gKGk70.js} +25 -25
- package/chunks/Card.module-eeYi3ItS.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +14 -0
- package/chunks/{Chip-DaZ9JtW-.js → Chip-L-EcpRzH.js} +17 -17
- package/chunks/Confirm.module-BgO9xuES.js +15 -0
- package/chunks/{DropdownListItem-D52nAe3Z.js → DropdownListItem-khM2CJWN.js} +13 -13
- package/chunks/DropdownMobile.module-Bya5zssZ.js +23 -0
- package/chunks/Footer.module-Bxx6jElq.js +9 -0
- package/chunks/FormFieldInput-D2EXurFF.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +9 -0
- package/chunks/HeaderTabs.module-C3-8xyq-.js +9 -0
- package/chunks/{HeaderTitle.module-Bvdyra1H.js → HeaderTitle.module-Dmmc04q6.js} +2 -2
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +25 -0
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +9 -0
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +12 -0
- package/chunks/{LightBoxContent-BXDZ6C5k.js → LightBoxContent-CjX1eN8g.js} +12 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +8 -0
- package/chunks/{ListItemControlsButton-BHqWsm74.js → ListItemControlsButton-OLK_OaQU.js} +11 -11
- package/chunks/ListItemTail.module-DxIG-P_H.js +12 -0
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +10 -0
- package/chunks/ModalWindow.module-D4shxCeu.js +17 -0
- package/chunks/Notification.module-B29_MBTz.js +21 -0
- package/chunks/Overlay.module-BJJ7PDLJ.js +18 -0
- package/chunks/Page.module-CzfG8baM.js +11 -0
- package/chunks/{RightBorderArrow-BomPWl1J.js → RightBorderArrow-DbiOM5xn.js} +12 -12
- package/chunks/SMSField.module-BDZwT1N-.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +15 -0
- package/chunks/{SliderExtendedRail-D96vBE1q.js → SliderExtendedRail-CVnVXjG6.js} +10 -10
- package/chunks/StatusTracker.module-CWpv3e3x.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-DWutbDoW.js +14 -0
- package/chunks/TableFooter.module-NX6NNBfH.js +14 -0
- package/chunks/TabsExtended.module-Bga_JXqh.js +16 -0
- package/chunks/TabsLine.module-BMBZODMz.js +21 -0
- package/chunks/TooltipDesktop.module-tqRh40wY.js +19 -0
- package/chunks/TreeView.module-Bkn2k1RS.js +9 -0
- package/chunks/{UploadZoneInput-scXVyf90.js → UploadZoneInput-BceBvb-b.js} +3 -3
- package/chunks/constants-BUeoiUro.js +57 -0
- package/chunks/utils-DKorGAMQ.js +73 -0
- package/chunks/utils-NV5e2Mzn.js +20 -0
- package/chunks/utils-Sxh3Du0J.js +24 -0
- package/chunks/{utils-C_xmindK.js → utils-tf6Rfsu7.js} +5 -5
- package/chunks/vendor-DucOfXwy.js +12269 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- 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 +27 -27
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +17 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +21 -21
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +37 -36
- package/components/Calendar/CalendarContext.js +4 -4
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +14 -13
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +26 -26
- package/components/Calendar/components/CalendarViewYears.js +16 -16
- package/components/Calendar/utils.js +6 -6
- package/components/Card/CardAction.js +4 -4
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- 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/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +11 -11
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +27 -26
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +24 -24
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- 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 +2 -2
- 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 +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- 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 +78 -74
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +33 -36
- package/components/FormField/index.js +1 -1
- 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 +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +12 -12
- 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 +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +19 -19
- 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 +23 -23
- 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 +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- 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 +4 -4
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +2 -2
- 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 +2 -2
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -17
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- 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/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +2 -2
- 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/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- 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 +3 -3
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +19 -19
- 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 +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +17 -17
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +19 -19
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +129 -130
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +8 -8
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- 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 +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 +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +6 -6
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- 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 +13 -13
- 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 +40 -42
- package/components/Typography/Text.js +50 -52
- package/components/Typography/Title.js +41 -43
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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 +539 -540
- package/consts/DateConst.js +6 -6
- package/index.d.ts +200 -228
- package/index.js +588 -589
- package/package.json +6 -2
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-CKP4h8-E.js +0 -39
- package/chunks/Card.module-bJptPqpj.js +0 -17
- package/chunks/CheckboxTreeExtended.module-bphUNnbQ.js +0 -14
- package/chunks/Confirm.module-BF4VDMnq.js +0 -15
- package/chunks/DropdownMobile.module-ClkvaJLd.js +0 -23
- package/chunks/Footer.module-QvomhMbc.js +0 -9
- package/chunks/FormFieldInput-GtoWWQRE.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-OCqAbr7a.js +0 -9
- package/chunks/HeaderTabs.module-jYlPSHw3.js +0 -9
- package/chunks/IslandAccordion.module-Z_pjfKJd.js +0 -25
- package/chunks/IslandWidgetFooter.module-ChRxDXcv.js +0 -9
- package/chunks/IslandWidgetHeader.module-RRcKD0BV.js +0 -9
- package/chunks/LightBoxControls.module-BkOqYjOz.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CeFQNtqn.js +0 -8
- package/chunks/ListItemTail.module-CunfwMYT.js +0 -12
- package/chunks/ListMasterFooter.module-Dtv2xqml.js +0 -10
- package/chunks/ModalWindow.module-BHX3St6k.js +0 -17
- package/chunks/Notification.module-C4_TLm8a.js +0 -21
- package/chunks/Overlay.module-B6Jld0v6.js +0 -18
- package/chunks/Page.module-2EjEIDnt.js +0 -11
- package/chunks/SMSField.module-BKVjFcIn.js +0 -16
- package/chunks/SliderExtendedMarks.module-BGXnGEBx.js +0 -15
- package/chunks/StatusTracker.module-BKem67MH.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CmJLz6qx.js +0 -15
- package/chunks/TableFooter.module-BAduw_pb.js +0 -14
- package/chunks/TabsExtended.module-D_KXJPSZ.js +0 -16
- package/chunks/TabsLine.module-COfUYGXF.js +0 -21
- package/chunks/TooltipDesktop.module-CG3_T63F.js +0 -19
- package/chunks/TreeView.module-CtJTgfbr.js +0 -9
- package/chunks/utils-B-KTHE01.js +0 -20
- package/chunks/utils-CkGPjHGm.js +0 -73
- package/chunks/utils-esDpM0b2.js +0 -24
- package/chunks/utils-yLrEzIHN.js +0 -36
- package/chunks/vendor-CwhnMZ7o.js +0 -14856
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
package/components/Card/utils.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as w, useRef as D, useCallback as L, useEffect as
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
2
|
+
import C, { useState as w, useRef as D, useCallback as L, useEffect as n } from "react";
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__4af1d250", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
9
9
|
const [o, m] = w({ hidden: !0, nextDisabled: !1, prevDisabled: !0 }), r = D(null), t = L(() => {
|
|
10
|
-
const e = r.current,
|
|
10
|
+
const e = r.current, d = {
|
|
11
11
|
hidden: e.scrollWidth == e.clientWidth,
|
|
12
12
|
nextDisabled: Math.round(e.scrollLeft) + e.offsetWidth >= e.scrollWidth,
|
|
13
13
|
prevDisabled: Math.round(e.scrollLeft) <= 0
|
|
14
14
|
};
|
|
15
|
-
M.isEqual(
|
|
15
|
+
M.isEqual(d, o) == !1 && m(d);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
n(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), n(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
|
-
import "../Typography/Title.js";
|
|
5
|
-
import { Text as C } from "../Typography/Text.js";
|
|
6
|
-
import "../Typography/Caption.js";
|
|
7
4
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
5
|
+
import "../Typography/Caption.js";
|
|
6
|
+
import { Text as C } from "../Typography/Text.js";
|
|
7
|
+
import "../Typography/Title.js";
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-DucOfXwy.js";
|
|
11
|
+
const y = "label__93d4b53f", M = "sm__e886a7b6", T = "nonempty__d92fe592", g = "md__d488aebf", v = "lg__f63350f3", B = "disabled__a2511f4f", j = "checkbox__174c555e", D = "checkboxIcon__37958fd0", E = "checkmarkIcon__0bafa659", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
15
15
|
md: g,
|
|
16
|
-
lg:
|
|
17
|
-
disabled:
|
|
18
|
-
checkbox:
|
|
16
|
+
lg: v,
|
|
17
|
+
disabled: B,
|
|
18
|
+
checkbox: j,
|
|
19
19
|
checkboxIcon: D,
|
|
20
20
|
checkmarkIcon: E
|
|
21
21
|
}, L = {
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
},
|
|
25
|
+
}, i = u(e), R = N.forwardRef((b, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
28
|
className: d,
|
|
@@ -31,20 +31,20 @@ const y = "label__4293bb4d", M = "sm__0987498f", T = "nonempty__8ff28030", g = "
|
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
34
|
+
} = b, f = r(e.checkbox, d, i[t]), h = r(
|
|
35
35
|
e.label,
|
|
36
|
-
|
|
36
|
+
i[t],
|
|
37
37
|
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
|
-
),
|
|
39
|
+
), _ = () => {
|
|
40
40
|
const l = e.checkmarkIcon;
|
|
41
41
|
return p ? /* @__PURE__ */ c(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
44
|
-
/* @__PURE__ */ c("input", { type: "checkbox", className:
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: h, "data-tx": "1.15.0", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: f, disabled: m, ...x, ref: k }),
|
|
45
45
|
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
|
-
|
|
47
|
-
a && /* @__PURE__ */ c(C, { size: L[t], children: a })
|
|
46
|
+
_(),
|
|
47
|
+
a && /* @__PURE__ */ c(C, { size: L[t], tag: "div", children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
R.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../chunks/vendor-
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
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-
|
|
2
|
+
import { c as r } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
const _ = "checkboxXGroup__8192859b", a = "label__93d4b53f", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__f1788e92",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__9e1ea017",
|
|
8
|
+
"indent-20": "indent-20__7b8e27a6",
|
|
9
|
+
"indent-24": "indent-24__c7102ab8",
|
|
10
|
+
"indent-28": "indent-28__dd2b500f",
|
|
11
|
+
"indent-32": "indent-32__48ee6834"
|
|
12
12
|
}, b = (n) => {
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...
|
|
13
|
+
const { children: t, className: o, indent: c = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${c}`], o);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: t });
|
|
15
15
|
};
|
|
16
16
|
b.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxYGroup:
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
const t = "checkboxYGroup__dd5af8fa", x = {
|
|
4
|
+
checkboxYGroup: t
|
|
5
5
|
}, l = (o) => {
|
|
6
|
-
const { children: c, className: s, ...
|
|
7
|
-
return /* @__PURE__ */
|
|
6
|
+
const { children: c, className: s, ...r } = o, e = p(x.checkboxYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ a("div", { className: e, role: "group", ...r, children: c });
|
|
8
8
|
};
|
|
9
9
|
l.displayName = "CheckboxYGroup";
|
|
10
10
|
export {
|
|
@@ -3,9 +3,9 @@ import { CollapsableTree as x } from "../CollapsableTree/CollapsableTree.js";
|
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as d } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as c } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
5
|
import { CheckboxTreeExtendedContext as i } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
-
import { c as p } from "../../chunks/vendor-
|
|
6
|
+
import { c as p } from "../../chunks/vendor-DucOfXwy.js";
|
|
7
7
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
8
|
-
import { s as n } from "../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as n } from "../../chunks/CheckboxTreeExtended.module-CIXQDBeU.js";
|
|
9
9
|
const e = ({ className: r, size: t = s.MD, ...m }) => /* @__PURE__ */ o(i.Provider, { value: { size: t }, children: /* @__PURE__ */ o(x, { className: p(n.checkboxTreeExtended, r), ...m }) });
|
|
10
10
|
e.displayName = "CheckboxTreeExtended";
|
|
11
11
|
e.Checkbox = d;
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-CIXQDBeU.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as h, useContext as u, useEffect as d } from "react";
|
|
3
3
|
import { Checkbox as f } from "../../Checkbox/Checkbox.js";
|
|
4
|
-
import { c as i } from "../../../chunks/vendor-
|
|
5
|
-
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-
|
|
4
|
+
import { c as i } from "../../../chunks/vendor-DucOfXwy.js";
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-CIXQDBeU.js";
|
|
6
6
|
import { CheckboxTreeExtendedContext as k } from "../CheckboxTreeExtendedContext.js";
|
|
7
7
|
const l = ({
|
|
8
8
|
active: r,
|
|
@@ -2,10 +2,10 @@ import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
3
|
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
4
|
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
5
|
-
import { c as u } from "../../../chunks/vendor-
|
|
5
|
+
import { c as u } from "../../../chunks/vendor-DucOfXwy.js";
|
|
6
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
7
7
|
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
-
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-CIXQDBeU.js";
|
|
9
9
|
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
10
|
const N = T(o), y = ({
|
|
11
11
|
children: r,
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-L-EcpRzH.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { c as a } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as c, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__532ed182", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
|
-
},
|
|
9
|
+
}, d = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className:
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
+
}, u = p.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: a(f.chipClearButton, r), ...n, ref: s, children: d[e] })
|
|
15
15
|
);
|
|
16
|
-
|
|
16
|
+
u.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
u as ChipClearButton
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=ChipClearButton.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import N, { useState as O, useRef as h, useEffect as _ } from "react";
|
|
3
|
-
import
|
|
3
|
+
import k from "moment";
|
|
4
4
|
import { dateFormatYYYYMMDD as j, globalLimitRange as z } from "../../../consts/DateConst.js";
|
|
5
5
|
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
6
|
import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
7
|
import { ChipDatePickerTarget as G } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as H } from "../../../chunks/Chip-
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -25,21 +25,21 @@ const L = N.forwardRef((S, V) => {
|
|
|
25
25
|
...y
|
|
26
26
|
} = S, [r, d] = O(
|
|
27
27
|
u.getPickerValues(o, n, a, i)
|
|
28
|
-
), l = h(r), f = h(!1),
|
|
28
|
+
), l = h(r), f = h(!1), m = h(!1);
|
|
29
29
|
_(() => {
|
|
30
30
|
const e = u.getPickerValues(o, n, a, i);
|
|
31
31
|
l.current = e, e.inputString !== r.inputString && d(e);
|
|
32
32
|
}, [o, n, a, i]);
|
|
33
33
|
const F = () => {
|
|
34
34
|
const e = f.current ? l.current : r, t = e.calendarDate !== null;
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ g(G, { selected: t, disabled: R, onClear: M, size: v, children: t ? b ?? e.inputString : P });
|
|
36
36
|
}, M = () => {
|
|
37
37
|
s("");
|
|
38
38
|
}, I = () => {
|
|
39
39
|
f.current = !0, c == null || c();
|
|
40
40
|
}, Y = () => {
|
|
41
|
-
f.current = !1,
|
|
42
|
-
}, x = () => /* @__PURE__ */
|
|
41
|
+
f.current = !1, m.current ? m.current = !1 : r.inputString !== l.current.inputString && A(), p == null || p();
|
|
42
|
+
}, x = () => /* @__PURE__ */ g(
|
|
43
43
|
C,
|
|
44
44
|
{
|
|
45
45
|
value: r.inputString,
|
|
@@ -64,9 +64,9 @@ const L = N.forwardRef((S, V) => {
|
|
|
64
64
|
}
|
|
65
65
|
r.inputString !== l.current.inputString && d(l.current);
|
|
66
66
|
}, E = (e) => {
|
|
67
|
-
|
|
67
|
+
m.current = !0, s(e.format(n));
|
|
68
68
|
};
|
|
69
|
-
return /* @__PURE__ */
|
|
69
|
+
return /* @__PURE__ */ g(
|
|
70
70
|
B,
|
|
71
71
|
{
|
|
72
72
|
className: H.chipGroupItem,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
4
4
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as P } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as g } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
6
|
-
rotated:
|
|
3
|
+
import { c as d } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
const e = "chipDropdownArrow__4c72fdbe", c = "rotated__d6873a24", o = {
|
|
5
|
+
chipDropdownArrow: e,
|
|
6
|
+
rotated: c
|
|
7
7
|
}, n = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
8
8
|
p,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: d(o.chipDropdownArrow, { [o.rotated]: r }),
|
|
11
11
|
paletteIndex: 5
|
|
12
12
|
}
|
|
13
13
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-L-EcpRzH.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-L-EcpRzH.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as t } from "../../utils/keyboard.js";
|
|
8
|
-
import { c as g } from "../../chunks/vendor-
|
|
8
|
+
import { c as g } from "../../chunks/vendor-DucOfXwy.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: s, className: c, clearSelected: p, disabled: m, label: a, displayedValue: d, selected: i, size: e, ...f }, C) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
5
|
-
import { ChipClearButton as
|
|
6
|
-
const m = "
|
|
4
|
+
import { C as f } from "../../chunks/Chip-L-EcpRzH.js";
|
|
5
|
+
import { ChipClearButton as C } from "./ChipClearButton.js";
|
|
6
|
+
const m = "chipOptionsContent__f99f0af6", c = {
|
|
7
7
|
chipOptionsContent: m
|
|
8
|
-
}, l =
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
|
-
|
|
10
|
+
f,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(C, { onClick: (a) => {
|
|
14
|
+
a.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
@@ -5,8 +5,8 @@ import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
-
import { s as T } from "../../../chunks/Chip-
|
|
9
|
-
import { c as g } from "../../../chunks/vendor-
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-DucOfXwy.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: d, clearSelected: m, disabled: c, size: o, label: i, displayedValue: l, onChange: p, options: s, value: e, ...n }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import T, { useCallback as t } from "react";
|
|
3
|
-
import { C as g } from "../../../chunks/Chip-
|
|
3
|
+
import { C as g } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
4
4
|
import { ChipDropdownArrow as x } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as y } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
|
-
import { l as u, c as l } from "../../chunks/vendor-
|
|
3
|
+
import { l as u, c as l } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
4
|
import { ChipIcon as C } from "./ChipIcon.js";
|
|
5
5
|
import { SortStrokeSrvIcon24 as a } from "@sberbusiness/icons-next";
|
|
6
6
|
import { SelectExtendedField as E } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as D } from "../../chunks/Chip-
|
|
10
|
+
import { s as D } from "../../chunks/Chip-L-EcpRzH.js";
|
|
11
11
|
const N = b.forwardRef(
|
|
12
12
|
({ className: m, defaultValue: d, disabled: p, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
13
|
const i = !!r && !u.isEqual(d, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChipSuggestTarget as h } from "./ChipSuggestTarget.js";
|
|
2
2
|
import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import d, { useRef as p } from "react";
|
|
4
|
-
import { c as x } from "../../../chunks/vendor-
|
|
4
|
+
import { c as x } from "../../../chunks/vendor-DucOfXwy.js";
|
|
5
5
|
import "../../Suggest/SuggestContext.js";
|
|
6
6
|
import { Suggest as S } from "../../Suggest/Suggest.js";
|
|
7
7
|
import { ChipSuggestDropdown as C } from "./ChipSuggestDropdown.js";
|
|
8
|
-
import { s as j } from "../../../chunks/Chip-
|
|
8
|
+
import { s as j } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
9
9
|
const w = ({ className: u, displayedValue: c, label: r, prefix: y, targetProps: g, dropdownProps: l, ...o }, t) => {
|
|
10
10
|
const { value: s, size: f } = o, i = p(null), n = p(null), a = (e) => {
|
|
11
11
|
i.current = e, typeof t == "function" ? t(e) : t && (t.current = e);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import E, { useCallback as O } from "react";
|
|
3
|
-
import { h as S } from "../../../chunks/vendor-
|
|
3
|
+
import { h as S } from "../../../chunks/vendor-DucOfXwy.js";
|
|
4
4
|
import { EVENT_KEY_CODES as L } from "../../../utils/keyboard.js";
|
|
5
5
|
import { useSuggestContext as k } from "../../Suggest/SuggestContext.js";
|
|
6
|
-
import { Dropdown as x } from "../../Dropdown/Dropdown.js";
|
|
7
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
8
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
9
|
-
import { DropdownList as
|
|
10
|
-
import { D as
|
|
8
|
+
import { DropdownList as x } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
+
import { D as R } from "../../../chunks/DropdownListItem-khM2CJWN.js";
|
|
11
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
12
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
13
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -19,6 +18,7 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
19
18
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
20
19
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
21
20
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
+
import { Dropdown as _ } from "../../Dropdown/Dropdown.js";
|
|
22
22
|
import { ChipSuggestDesktopDropdownField as b } from "./desktop/ChipSuggestDesktopDropdownField.js";
|
|
23
23
|
import { SuggestMobileDropdownContent as y } from "../../Suggest/SuggestMobileDropdownContent.js";
|
|
24
24
|
const F = [L.ENTER], v = ({ children: l, size: i, targetRef: c, focusTrapProps: t, ...D }, r) => {
|
|
@@ -41,7 +41,7 @@ const F = [L.ENTER], v = ({ children: l, size: i, targetRef: c, focusTrapProps:
|
|
|
41
41
|
[m, s]
|
|
42
42
|
);
|
|
43
43
|
return /* @__PURE__ */ e(
|
|
44
|
-
|
|
44
|
+
_,
|
|
45
45
|
{
|
|
46
46
|
size: i,
|
|
47
47
|
targetRef: c,
|
|
@@ -65,7 +65,7 @@ const F = [L.ENTER], v = ({ children: l, size: i, targetRef: c, focusTrapProps:
|
|
|
65
65
|
children: /* @__PURE__ */ C("div", { role: "presentation", children: [
|
|
66
66
|
/* @__PURE__ */ e(b, { children: l }),
|
|
67
67
|
/* @__PURE__ */ e(
|
|
68
|
-
|
|
68
|
+
x,
|
|
69
69
|
{
|
|
70
70
|
id: w,
|
|
71
71
|
size: i,
|
|
@@ -73,7 +73,7 @@ const F = [L.ENTER], v = ({ children: l, size: i, targetRef: c, focusTrapProps:
|
|
|
73
73
|
loading: f,
|
|
74
74
|
style: d.length === 0 ? { display: "none" } : void 0,
|
|
75
75
|
children: d.map((o) => /* @__PURE__ */ e(
|
|
76
|
-
|
|
76
|
+
R,
|
|
77
77
|
{
|
|
78
78
|
id: o.id,
|
|
79
79
|
keyCodesForSelection: F,
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import E, { useCallback as r } from "react";
|
|
3
3
|
import { useSuggestContext as P } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as T } from "../../../chunks/Chip-
|
|
5
|
+
import { C as T } from "../../../chunks/Chip-L-EcpRzH.js";
|
|
6
6
|
import { ChipClearButton as c } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { useSuggestContext as
|
|
4
|
-
import { FormField as
|
|
2
|
+
import { useState as v, useRef as z, useCallback as o } from "react";
|
|
3
|
+
import { useSuggestContext as T } from "../../../Suggest/SuggestContext.js";
|
|
4
|
+
import { FormField as k } from "../../../FormField/FormField.js";
|
|
5
5
|
import "../../../FormField/components/FormFieldDescription.js";
|
|
6
6
|
import "../../../FormField/components/FormFieldCounter.js";
|
|
7
|
-
import { FormFieldLabel as
|
|
8
|
-
import { FormFieldClear as
|
|
7
|
+
import { FormFieldLabel as B } from "../../../FormField/components/FormFieldLabel.js";
|
|
8
|
+
import { FormFieldClear as D } from "../../../FormField/components/FormFieldClear.js";
|
|
9
9
|
import "../../../FormField/components/FormFieldTarget.js";
|
|
10
|
-
import { F as
|
|
10
|
+
import { F as L } from "../../../../chunks/FormFieldInput-D2EXurFF.js";
|
|
11
11
|
import "../../../FormField/components/FormFieldMaskedInput.js";
|
|
12
|
-
import { FormFieldPostfix as
|
|
12
|
+
import { FormFieldPostfix as M } from "../../../FormField/components/FormFieldPostfix.js";
|
|
13
13
|
import "../../../FormField/components/FormFieldPrefix.js";
|
|
14
14
|
import "../../../FormField/components/FormFieldTextarea.js";
|
|
15
15
|
import { EComponentSize as a } from "../../../../enums/EComponentSize.js";
|
|
16
16
|
import { Tooltip as n } from "../../../Tooltip/Tooltip.js";
|
|
17
|
-
import { ETooltipSize as
|
|
18
|
-
import { LoaderSmall as
|
|
19
|
-
import { ELoaderSmallTheme as
|
|
17
|
+
import { ETooltipSize as O } from "../../../Tooltip/enums.js";
|
|
18
|
+
import { LoaderSmall as R } from "../../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
|
+
import { ELoaderSmallTheme as W } from "../../../Loader/LoaderSmall/enum.js";
|
|
20
20
|
import "../../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
const E = "
|
|
21
|
+
const E = "chipSuggestInputWrapper__b595fe6b", j = {
|
|
22
22
|
chipSuggestInputWrapper: E
|
|
23
23
|
}, oe = ({ children: m }) => {
|
|
24
24
|
const {
|
|
@@ -31,20 +31,20 @@ const E = "chipSuggestInputWrapper__69fa4f8c", j = {
|
|
|
31
31
|
tooltipOpen: h,
|
|
32
32
|
clearInputOnFocus: p,
|
|
33
33
|
onFilter: e
|
|
34
|
-
} =
|
|
35
|
-
(
|
|
36
|
-
e(
|
|
34
|
+
} = T(), [F, l] = v(!1), s = z(null), S = o(() => e(""), [e]), I = o(
|
|
35
|
+
(b) => {
|
|
36
|
+
e(b.target.value);
|
|
37
37
|
},
|
|
38
38
|
[e]
|
|
39
39
|
), C = o(() => {
|
|
40
40
|
l(!0), r.length !== 0 && p === !0 && e("");
|
|
41
41
|
}, [r.length, p, e]), x = o(() => l(!1), []);
|
|
42
|
-
return /* @__PURE__ */ i(
|
|
43
|
-
/* @__PURE__ */ t(
|
|
42
|
+
return /* @__PURE__ */ i(k, { className: j.chipSuggestInputWrapper, size: a.SM, children: [
|
|
43
|
+
/* @__PURE__ */ t(B, { children: m }),
|
|
44
44
|
/* @__PURE__ */ i(
|
|
45
45
|
n,
|
|
46
46
|
{
|
|
47
|
-
size:
|
|
47
|
+
size: O.SM,
|
|
48
48
|
isOpen: !!h && F,
|
|
49
49
|
toggle: () => {
|
|
50
50
|
},
|
|
@@ -53,7 +53,7 @@ const E = "chipSuggestInputWrapper__69fa4f8c", j = {
|
|
|
53
53
|
children: [
|
|
54
54
|
/* @__PURE__ */ t(n.Body, { children: c }),
|
|
55
55
|
/* @__PURE__ */ t(n.Target, { children: /* @__PURE__ */ t(
|
|
56
|
-
|
|
56
|
+
L,
|
|
57
57
|
{
|
|
58
58
|
value: r,
|
|
59
59
|
placeholder: u,
|
|
@@ -69,9 +69,9 @@ const E = "chipSuggestInputWrapper__69fa4f8c", j = {
|
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
/* @__PURE__ */ i(
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
g && /* @__PURE__ */ t(
|
|
72
|
+
/* @__PURE__ */ i(M, { children: [
|
|
73
|
+
/* @__PURE__ */ t(D, { onClick: S }),
|
|
74
|
+
g && /* @__PURE__ */ t(R, { theme: W.BRAND, size: a.SM })
|
|
75
75
|
] })
|
|
76
76
|
] });
|
|
77
77
|
};
|
package/components/Chip/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e } from "../../chunks/Chip-
|
|
1
|
+
import { C as e } from "../../chunks/Chip-L-EcpRzH.js";
|
|
2
2
|
import { ChipDatePicker as t } from "./ChipDatePicker/ChipDatePicker.js";
|
|
3
3
|
import { ChipDatePickerTarget as C } from "./ChipDatePicker/ChipDatePickerTarget.js";
|
|
4
4
|
import { ChipClearButton as h } from "./ChipClearButton.js";
|