@sberbusiness/triplex-next 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{AlertProcessSpoiler-BQv9QI6L.js → AlertProcessSpoiler-M7W9D-p3.js} +6 -6
- package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
- package/chunks/Card.module-lZl8x0iL.js +17 -0
- package/chunks/{Chip-G6cGXuGj.js → Chip-DpSJGyYK.js} +10 -10
- package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-SqymKZn5.js} +10 -10
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
- package/chunks/Footer.module-3tcvZGt3.js +9 -0
- package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BSxKZxcq.js} +11 -11
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
- package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
- package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CEMLCR13.js} +2 -2
- package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
- package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-DTTxRVLQ.js} +16 -16
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
- package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-AbCEipFe.js} +10 -10
- package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
- package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
- package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
- package/chunks/Overlay.module-BqJXvoeX.js +18 -0
- package/chunks/Page.module-DUQ6i8Ez.js +12 -0
- package/chunks/{RightBorderArrow-BHW7rkmN.js → RightBorderArrow-Co_RT8lZ.js} +12 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
- package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
- package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
- package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
- package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
- package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
- package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
- package/chunks/{UploadZoneInput-pdhICY56.js → UploadZoneInput-C2-_7DoS.js} +3 -3
- package/chunks/{utils-B7AjUpy-.js → utils-CFlJg-k1.js} +5 -5
- package/chunks/{utils-DwX2_kEA.js → utils-CXhKCNyM.js} +14 -14
- package/chunks/utils-CoHHiBA8.js +24 -0
- package/chunks/utils-D9w2Kvyk.js +36 -0
- package/chunks/{utils-C9-tOm2Z.js → utils-Dhi5F6Da.js} +9 -9
- package/chunks/vendor-9KVE23Ri.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +2 -2
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +18 -18
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +183 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarRange.js +28 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarTodayButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +109 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/types.js +2 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +14 -14
- 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 +12 -12
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +7 -7
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +7 -5
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +142 -142
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +77 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +71 -64
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +109 -0
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/index.js +132 -126
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +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 +11 -0
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +21 -21
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +12 -16
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +25 -29
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +9 -9
- 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 +9 -9
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +6 -6
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
- package/components/LightBox/LightBox.js +16 -16
- 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 +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +15 -15
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +20 -20
- package/components/List/List.js +7 -7
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +189 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- 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 +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +7 -7
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
- package/components/SelectExtendedField/SelectExtendedField.js +11 -11
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +56 -56
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +13 -13
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +16 -16
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +20 -20
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
- 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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +19 -19
- 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 +28 -32
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +13 -13
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +17 -17
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +423 -413
- package/consts/DateConst.js +14 -0
- package/index.d.ts +284 -4
- package/index.js +432 -422
- package/package.json +18 -1
- package/styles/triplex-next.css +501 -472
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-kTbr6OQy.js +0 -17
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
- package/chunks/Footer.module-B3uFxh54.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
- package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
- package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
- package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
- package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
- package/chunks/Notification.module-C-HCMpAz.js +0 -21
- package/chunks/Overlay.module-q-oPhooa.js +0 -18
- package/chunks/Page.module-DjGbJ-Uw.js +0 -12
- package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
- package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
- package/chunks/TableFooter.module-DrRycaTr.js +0 -13
- package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
- package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
- package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
- package/chunks/utils-C-1ATq_g.js +0 -24
- package/chunks/utils-C8a4iCV0.js +0 -36
- package/chunks/vendor-Ba_pyhza.js +0 -12036
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Calendar as r } from "./Calendar.js";
|
|
2
|
+
import { ECalendarDateMarkType as o, ECalendarPickType as l, ECalendarViewMode as n } from "./enums.js";
|
|
3
|
+
export {
|
|
4
|
+
r as Calendar,
|
|
5
|
+
o as ECalendarDateMarkType,
|
|
6
|
+
l as ECalendarPickType,
|
|
7
|
+
n as ECalendarViewMode
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { h as s } from "../../chunks/vendor-9KVE23Ri.js";
|
|
2
|
+
import { globalLimitRange as f, headerDateFormat as i } from "../../consts/DateConst.js";
|
|
3
|
+
import { ECalendarViewMode as a } from "./enums.js";
|
|
4
|
+
function Y(e, r) {
|
|
5
|
+
return e ? typeof e == "string" ? s(e, r) : e : null;
|
|
6
|
+
}
|
|
7
|
+
function c(e, r) {
|
|
8
|
+
let t;
|
|
9
|
+
return r && r.isValid() ? t = r : e && e.isValid() ? t = e : t = s(), t.format(i);
|
|
10
|
+
}
|
|
11
|
+
function l(e, r) {
|
|
12
|
+
const t = e || s();
|
|
13
|
+
switch (r) {
|
|
14
|
+
case a.DAYS:
|
|
15
|
+
return c(t);
|
|
16
|
+
case a.MONTHS:
|
|
17
|
+
return t.clone().format("YYYY");
|
|
18
|
+
case a.YEARS: {
|
|
19
|
+
const o = t.clone().add(-5, "y").format("YYYY"), n = t.clone().add(6, "y").format("YYYY");
|
|
20
|
+
return `${o} - ${n}`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function h(e, r, t) {
|
|
25
|
+
const o = r.dateFrom || f.dateFrom, n = r.dateTo || f.dateTo;
|
|
26
|
+
return e.isBefore(o, t) || e.isAfter(n, t);
|
|
27
|
+
}
|
|
28
|
+
function y(e, r) {
|
|
29
|
+
return r === void 0 ? !1 : r.includes(e);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
l as formatDate,
|
|
33
|
+
c as getHeader,
|
|
34
|
+
h as isDateOutOfRange,
|
|
35
|
+
y as isDayDisabled,
|
|
36
|
+
Y as parsePickedDate
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (c, i, e) => i in c ?
|
|
1
|
+
var b = Object.defineProperty;
|
|
2
|
+
var y = (c, i, e) => i in c ? b(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
3
|
var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
4
|
import { jsx as R } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor-9KVE23Ri.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-lZl8x0iL.js";
|
|
14
|
+
const O = "action__ba300679", F = "selected__8da60b37", V = "focusVisible__59185c20", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), p(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : p(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,27 +66,27 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: f = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
73
73
|
theme: S = w.GENERAL,
|
|
74
74
|
...C
|
|
75
|
-
} = this.props, { isControlled: E, isSelected:
|
|
75
|
+
} = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[f],
|
|
80
80
|
{
|
|
81
|
-
[a.focusVisible]:
|
|
82
|
-
[a.selected]: E ? !!m :
|
|
81
|
+
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
|
+
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
86
|
return /* @__PURE__ */ R(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: N,
|
|
90
90
|
tabIndex: 0,
|
|
91
91
|
onClick: this.handleClick,
|
|
92
92
|
onMouseDown: this.handleMouseDown,
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.5.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-lZl8x0iL.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.5.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-9KVE23Ri.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-lZl8x0iL.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-lZl8x0iL.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-lZl8x0iL.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-lZl8x0iL.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-lZl8x0iL.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
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 d } from "react";
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__fcaa4ee2", 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, n = {
|
|
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(n, o) == !1 && m(n);
|
|
16
16
|
}, [o]);
|
|
17
|
-
|
|
17
|
+
d(() => (window.addEventListener("resize", t), document.addEventListener("scroll", t), () => {
|
|
18
18
|
window.removeEventListener("resize", t), document.removeEventListener("scroll", t);
|
|
19
|
-
}), [t]),
|
|
19
|
+
}), [t]), d(() => {
|
|
20
20
|
t();
|
|
21
21
|
}, [l, t]);
|
|
22
22
|
const x = () => {
|
|
@@ -7,8 +7,8 @@ import "../Typography/Caption.js";
|
|
|
7
7
|
import { ETextSize as l } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as t } 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-9KVE23Ri.js";
|
|
11
|
+
const y = "label__1f8cb11d", T = "md__dd7ae17c", M = "nonempty__ca138f53", g = "lg__a1ddb234", j = "disabled__d0ec96be", v = "checkbox__622c4f0d", B = "checkboxIcon__bfefd2c5", D = "checkmarkIcon__0f5f3fc9", c = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,28 +20,28 @@ const y = "label__a7f16d39", T = "md__8c013058", M = "nonempty__c5c13c4e", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, d = u(c), L = N.forwardRef((b, i) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: k,
|
|
27
27
|
disabled: n,
|
|
28
|
-
bulk:
|
|
28
|
+
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
32
|
+
} = b, h = r(c.checkbox, k, d[a]), f = r(
|
|
33
33
|
c.label,
|
|
34
|
-
|
|
34
|
+
d[a],
|
|
35
35
|
{ [c.disabled]: !!n, [c.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
|
-
),
|
|
37
|
+
), _ = () => {
|
|
38
38
|
const m = c.checkmarkIcon;
|
|
39
|
-
return
|
|
39
|
+
return p ? /* @__PURE__ */ e(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ e(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
42
|
-
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: n, ...x, ref:
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: f, "data-tx": "1.5.0", children: [
|
|
42
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: n, ...x, ref: i }),
|
|
43
43
|
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
44
|
-
|
|
44
|
+
_(),
|
|
45
45
|
s && /* @__PURE__ */ e(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
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 a } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const r = "checkboxXGroup__5b0f4100", _ = "label__1f8cb11d", n = {
|
|
4
|
+
checkboxXGroup: r,
|
|
5
|
+
"indent-12": "indent-12__47ec6587",
|
|
6
|
+
label: _,
|
|
7
|
+
"indent-16": "indent-16__6a551653",
|
|
8
|
+
"indent-20": "indent-20__9b83fdd4",
|
|
9
|
+
"indent-24": "indent-24__8ca8ef3b",
|
|
10
|
+
"indent-28": "indent-28__2a1a1dda",
|
|
11
|
+
"indent-32": "indent-32__136ca228"
|
|
12
12
|
}, l = (e) => {
|
|
13
|
-
const { children: c, className: t, indent:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = e, s = a(n.checkboxXGroup, n[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-9KVE23Ri.js";
|
|
3
|
+
const a = "checkboxYGroup__6a1ffcfd", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
6
|
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
@@ -2,7 +2,7 @@ import { jsx as x } from "react/jsx-runtime";
|
|
|
2
2
|
import { CollapsableTree as c } from "../CollapsableTree/CollapsableTree.js";
|
|
3
3
|
import { CheckboxTreeExtendedCheckbox as d } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
4
|
import { CheckboxTreeExtendedNode as m } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
-
import { c as s } from "../../chunks/vendor-
|
|
5
|
+
import { c as s } from "../../chunks/vendor-9KVE23Ri.js";
|
|
6
6
|
const e = ({ className: o, ...r }) => /* @__PURE__ */ x(c, { className: s("cssClass[checkboxTreeExtended]", o), ...r });
|
|
7
7
|
e.displayName = "CheckboxTreeExtended";
|
|
8
8
|
e.Checkbox = d;
|
|
@@ -4,7 +4,7 @@ var t = (c, o, e) => n(c, typeof o != "symbol" ? o + "" : o, e);
|
|
|
4
4
|
import { jsx as x } from "react/jsx-runtime";
|
|
5
5
|
import b from "react";
|
|
6
6
|
import { Checkbox as d } from "../../Checkbox/Checkbox.js";
|
|
7
|
-
import { c as m } from "../../../chunks/vendor-
|
|
7
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
8
8
|
class N extends b.Component {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
@@ -5,9 +5,9 @@ import { jsx as h, jsxs as i } from "react/jsx-runtime";
|
|
|
5
5
|
import p from "react";
|
|
6
6
|
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
7
|
import { isStaticCheckboxTreeExtended as b } from "../isStaticCheckboxTreeExtended.js";
|
|
8
|
-
import { c as m } from "../../../chunks/vendor-
|
|
8
|
+
import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
|
|
9
9
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
const N = "
|
|
10
|
+
const N = "checkboxTreeExtendedNode__d41fb94e", T = "checkboxTreeExtendedNodeHeader__aeed2db6", n = {
|
|
11
11
|
checkboxTreeExtendedNode: N,
|
|
12
12
|
checkboxTreeExtendedNodeHeader: T
|
|
13
13
|
};
|
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-9KVE23Ri.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-DpSJGyYK.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
2
|
import a from "react";
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
4
|
import { 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__6d19a72a", 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
12
|
[t.LG]: /* @__PURE__ */ o(c, { paletteIndex: 6 })
|
|
13
|
-
},
|
|
14
|
-
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children:
|
|
13
|
+
}, u = a.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(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
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
3
|
+
import { c as d } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
const e = "chipDropdownArrow__7ae6d517", n = "rotated__8b366808", o = {
|
|
5
|
+
chipDropdownArrow: e,
|
|
6
6
|
rotated: n
|
|
7
7
|
}, w = ({ 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-DpSJGyYK.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,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
+
import { C } from "../../chunks/Chip-DpSJGyYK.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "chipOptionsContent__a8fe4a80", c = {
|
|
7
7
|
chipOptionsContent: m
|
|
8
|
-
}, l =
|
|
9
|
-
({ children: o, clearSelected: e, selected: n, ...p },
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
|
+
({ children: o, clearSelected: e, selected: n, ...p }, a) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
@@ -15,7 +15,7 @@ const m = "chipOptionsContent__4d305314", c = {
|
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
|
-
ref:
|
|
18
|
+
ref: a,
|
|
19
19
|
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: c.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
@@ -4,10 +4,10 @@ import { SelectExtendedField as D } from "../SelectExtendedField/SelectExtendedF
|
|
|
4
4
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
5
5
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { ChipClearButton as S } from "./ChipClearButton.js";
|
|
7
|
-
import { s as b, C as k } from "../../chunks/Chip-
|
|
7
|
+
import { s as b, C as k } from "../../chunks/Chip-DpSJGyYK.js";
|
|
8
8
|
import { ChipDropdownArrow as u } from "./ChipDropdownArrow.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as B } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { c as g } from "../../chunks/vendor-
|
|
10
|
+
import { c as g } from "../../chunks/vendor-9KVE23Ri.js";
|
|
11
11
|
const y = w.forwardRef(
|
|
12
12
|
({ className: p, clearSelected: m, disabled: d, size: e, label: i, displayedValue: l, onChange: n, options: c, value: r, ...a }, s) => {
|
|
13
13
|
const f = (o) => {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import b from "react";
|
|
3
|
+
import { l as u, c as l } from "../../chunks/vendor-9KVE23Ri.js";
|
|
4
|
+
import { ChipIcon as C } from "./ChipIcon.js";
|
|
5
|
+
import { SortStrokeSrvIcon24 as a } from "@sberbusiness/icons-next";
|
|
6
|
+
import { SelectExtendedField as E } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
|
+
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
|
+
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
|
+
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
+
import { s as D } from "../../chunks/Chip-DpSJGyYK.js";
|
|
11
|
+
const N = b.forwardRef(
|
|
12
|
+
({ className: m, defaultValue: d, disabled: p, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
|
+
const i = !!r && !u.isEqual(d, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|
|
14
|
+
C,
|
|
15
|
+
{
|
|
16
|
+
className: l("hoverable", {
|
|
17
|
+
active: !!e
|
|
18
|
+
}),
|
|
19
|
+
ref: x,
|
|
20
|
+
disabled: p,
|
|
21
|
+
selected: i,
|
|
22
|
+
onClick: () => I(!0),
|
|
23
|
+
size: t,
|
|
24
|
+
role: "combobox",
|
|
25
|
+
"aria-expanded": e,
|
|
26
|
+
children: i ? /* @__PURE__ */ o(a, { paletteIndex: 6 }) : /* @__PURE__ */ o(a, { paletteIndex: 5 })
|
|
27
|
+
}
|
|
28
|
+
), S = (e) => /* @__PURE__ */ o(
|
|
29
|
+
w,
|
|
30
|
+
{
|
|
31
|
+
...e,
|
|
32
|
+
size: t,
|
|
33
|
+
mobileTitle: s,
|
|
34
|
+
onChange: c,
|
|
35
|
+
options: n,
|
|
36
|
+
value: r,
|
|
37
|
+
fixedWidth: !1
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
return /* @__PURE__ */ o(
|
|
41
|
+
E,
|
|
42
|
+
{
|
|
43
|
+
className: l(D.chipGroupItem, m),
|
|
44
|
+
renderTarget: h,
|
|
45
|
+
...f,
|
|
46
|
+
children: S
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
N.displayName = "ChipSort";
|
|
52
|
+
export {
|
|
53
|
+
N as ChipSort
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=ChipSort.js.map
|
|
@@ -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-9KVE23Ri.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-DpSJGyYK.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);
|
|
@@ -6,7 +6,7 @@ import { Dropdown as O } from "../../Dropdown/Dropdown.js";
|
|
|
6
6
|
import "../../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import { DropdownList as _ } from "../../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import { D as x } from "../../../chunks/DropdownListItem-
|
|
9
|
+
import { D as x } from "../../../chunks/DropdownListItem-SqymKZn5.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
|
|
|
2
2
|
import x, { useCallback as a } from "react";
|
|
3
3
|
import { useSuggestContext as T } from "../../Suggest/SuggestContext.js";
|
|
4
4
|
import "../../Suggest/Suggest.js";
|
|
5
|
-
import { C as B } from "../../../chunks/Chip-
|
|
5
|
+
import { C as B } from "../../../chunks/Chip-DpSJGyYK.js";
|
|
6
6
|
import { ChipClearButton as E } from "../ChipClearButton.js";
|
|
7
7
|
import { ChipDropdownArrow as P } from "../ChipDropdownArrow.js";
|
|
8
8
|
import { isKey as e } from "../../../utils/keyboard.js";
|