@gooddata/sdk-ui-kit 11.55.0 → 11.56.0-alpha.1
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/esm/@ui/@dev/ComponentTable.d.ts +1 -1
- package/esm/@ui/@dev/ComponentTable.d.ts.map +1 -1
- package/esm/@ui/@dev/ComponentTable.js +1 -2
- package/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/@utils/bem.d.ts.map +1 -1
- package/esm/@ui/@utils/keyboardNavigation.d.ts +11 -11
- package/esm/@ui/@utils/keyboardNavigation.d.ts.map +1 -1
- package/esm/@ui/@utils/size.d.ts +2 -1
- package/esm/@ui/@utils/size.d.ts.map +1 -1
- package/esm/@ui/@utils/useKeyboardNavigationTarget.d.ts.map +1 -1
- package/esm/@ui/UiAddGranteeDialog/UiAddGranteeDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiAddGranteeDialog/UiAddGranteeDialogCard.js +1 -5
- package/esm/@ui/UiAddGranteeDialog/useGranteeSelection.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/SkeletonItemFactory.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTable.js +1 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableDropdownItem.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableEmptyState.js +1 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableFilter.js +1 -5
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableHeader.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableRow.js +1 -2
- package/esm/@ui/UiAsyncTable/UiAsyncTable/UiAsyncTableToolbar.js +5 -13
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts +3 -3
- package/esm/@ui/UiAsyncTable/UiAsyncTable/utils.d.ts.map +1 -1
- package/esm/@ui/UiAsyncTable/UiAsyncTableTitle/UiAsyncTableTitle.js +1 -2
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts +1 -1
- package/esm/@ui/UiAsyncTable/useAsyncTableSearch.d.ts.map +1 -1
- package/esm/@ui/UiAutocomplete/UiAutocomplete.js +3 -7
- package/esm/@ui/UiAutocomplete/types.d.ts.map +1 -1
- package/esm/@ui/UiAutocomplete/useAsyncListSource.d.ts.map +1 -1
- package/esm/@ui/UiBreadcrumb/UiBreadcrumb.js +1 -2
- package/esm/@ui/UiCertificationIcon/UiCertificationIcon.js +1 -8
- package/esm/@ui/UiCheckbox/UiCheckbox.js +2 -5
- package/esm/@ui/UiColorPicker/UiColorPicker.js +2 -5
- package/esm/@ui/UiColorPicker/components/UiColorSlider.js +2 -4
- package/esm/@ui/UiColorPicker/components/UiColorValueField.js +1 -2
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/UiComboboxListItem.js +1 -2
- package/esm/@ui/UiCombobox/types.d.ts.map +1 -1
- package/esm/@ui/UiCombobox/useComboboxSelection.d.ts.map +1 -1
- package/esm/@ui/UiConfigEditor/ConfigEditorToolbar.js +2 -4
- package/esm/@ui/UiConfigEditor/UiConfigEditor.js +2 -4
- package/esm/@ui/UiConfigEditor/types.d.ts.map +1 -1
- package/esm/@ui/UiConfirmDialog/UiConfirmDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiConfirmDialog/UiConfirmDialogCard.js +1 -5
- package/esm/@ui/UiControlButton/UiControlButton.js +1 -4
- package/esm/@ui/UiDrawer/UiDrawer.js +2 -6
- package/esm/@ui/UiDropdown/UiDropdown.js +2 -4
- package/esm/@ui/UiErrorPage/UiErrorPage.js +1 -4
- package/esm/@ui/UiFocusManager/UiAutofocus.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusManager.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiFocusTrap.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/UiReturnFocusOnUnmount.js +9 -1
- package/esm/@ui/UiFocusManager/UiTabOutHandler.d.ts +1 -1
- package/esm/@ui/UiFocusManager/UiTabOutHandler.d.ts.map +1 -1
- package/esm/@ui/UiFocusManager/utils.d.ts +1 -1
- package/esm/@ui/UiFocusManager/utils.d.ts.map +1 -1
- package/esm/@ui/UiGeneralAccessRadio/UiGeneralAccessRadio.d.ts.map +1 -1
- package/esm/@ui/UiGeneralAccessRadio/UiGeneralAccessRadio.js +2 -4
- package/esm/@ui/UiGranteeAsyncPicker/UiGranteeAsyncPicker.d.ts.map +1 -1
- package/esm/@ui/UiGranteeAsyncPicker/UiGranteeAsyncPicker.js +2 -5
- package/esm/@ui/UiGranteeAvatar/UiGranteeAvatar.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRow/UiGranteeRow.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRow/UiGranteeRow.js +1 -3
- package/esm/@ui/UiGranteeRowControls/UiGranteeRowControls.d.ts.map +1 -1
- package/esm/@ui/UiGranteeRowControls/UiGranteeRowControls.js +1 -2
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +58 -168
- package/esm/@ui/UiIconButton/UiIconButtonRenderer.js +1 -2
- package/esm/@ui/UiInlineTextGenerator/UiInlineTextGenerator.js +1 -2
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.d.ts +1 -1
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.d.ts.map +1 -1
- package/esm/@ui/UiLabelsChecklist/UiLabelsChecklist.js +1 -5
- package/esm/@ui/UiLabelsList/UiLabelsList.js +1 -2
- package/esm/@ui/UiListbox/UiListbox.js +1 -5
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxInteractiveItemComponent.js +1 -3
- package/esm/@ui/UiMenu/UiMenu.js +3 -7
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuContent.js +1 -2
- package/esm/@ui/UiMenu/components/defaults/DefaultUiMenuGroupItem.js +1 -2
- package/esm/@ui/UiMenu/context.d.ts.map +1 -1
- package/esm/@ui/UiMenu/itemUtils.d.ts +3 -3
- package/esm/@ui/UiMenu/itemUtils.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogBody.d.ts.map +1 -1
- package/esm/@ui/UiModalDialog/UiDialogHeader.d.ts.map +1 -1
- package/esm/@ui/UiNavigationBypass/UiNavigationBypass.js +1 -3
- package/esm/@ui/UiObjectShareDialog/UiObjectShareDialogCard.d.ts.map +1 -1
- package/esm/@ui/UiObjectShareDialog/UiObjectShareDialogCard.js +1 -4
- package/esm/@ui/UiPermissionMenu/UiPermissionMenu.d.ts.map +1 -1
- package/esm/@ui/UiPermissionMenu/UiPermissionMenu.js +1 -2
- package/esm/@ui/UiRadio/UiRadio.d.ts.map +1 -1
- package/esm/@ui/UiRadio/UiRadio.js +1 -4
- package/esm/@ui/UiRadioRow/UiRadioRow.d.ts.map +1 -1
- package/esm/@ui/UiRadioRow/UiRadioRow.js +1 -3
- package/esm/@ui/UiSectionHeading/UiSectionHeading.js +1 -2
- package/esm/@ui/UiTabs/context.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabs.js +1 -2
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts +2 -4
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsAllTabsButton.d.ts.map +1 -1
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsContainer.js +2 -4
- package/esm/@ui/UiTabs/defaultComponents/DefaultUiTabsTab.js +1 -3
- package/esm/@ui/UiTag/UiTag.js +1 -2
- package/esm/@ui/UiTags/UiTags.js +3 -9
- package/esm/@ui/UiTags/interactions.d.ts.map +1 -1
- package/esm/@ui/UiTextInput/UiTextInput.js +1 -2
- package/esm/@ui/UiToast/UiToastsContainer.js +2 -4
- package/esm/@ui/UiToast/types.d.ts.map +1 -1
- package/esm/@ui/UiTooltip/UiTooltip.js +1 -2
- package/esm/@ui/UiTooltip/utils.d.ts +4 -4
- package/esm/@ui/UiTooltip/utils.d.ts.map +1 -1
- package/esm/@ui/UiTreeview/UITreeviewItem.js +1 -2
- package/esm/@ui/UiTreeview/UiTreeViewEvents.d.ts.map +1 -1
- package/esm/@ui/hooks/useScopedId.d.ts +1 -1
- package/esm/@ui/hooks/useScopedId.d.ts.map +1 -1
- package/esm/@ui/hooks/useVirtualizerRectObserver.d.ts.map +1 -1
- package/esm/AddButton/AddButton.js +1 -3
- package/esm/Bubble/Bubble.js +1 -5
- package/esm/Bubble/BubbleTrigger.js +1 -2
- package/esm/Bubble/withBubble.js +1 -3
- package/esm/Button/Button.js +1 -3
- package/esm/CatalogItemPicker/CatalogItemPickerBody.js +1 -3
- package/esm/CatalogItemPicker/CatalogItemPickerParts.js +3 -7
- package/esm/CatalogItemPicker/DateDatasetPickerItem.js +3 -6
- package/esm/CatalogItemPicker/messages.d.ts.map +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPicker.d.ts +2 -2
- package/esm/CatalogItemPicker/useCatalogItemPickerState.d.ts +1 -1
- package/esm/CatalogItemPicker/useCatalogItemPickerState.d.ts.map +1 -1
- package/esm/CatalogItemPicker/utils.d.ts +3 -3
- package/esm/CatalogItemPicker/utils.d.ts.map +1 -1
- package/esm/ChartSorting/ChartSorting.js +1 -5
- package/esm/ChartSorting/ChartSortingDropdown.js +1 -2
- package/esm/ChartSorting/MeasureDropdown/MeasureDropdown.js +3 -7
- package/esm/ChartSorting/types.js +1 -2
- package/esm/ColorPicker/ColorPicker.js +1 -7
- package/esm/ColorPicker/components/ColorPickerMatrix.d.ts +2 -1
- package/esm/ColorPicker/components/ColorPickerMatrix.d.ts.map +1 -1
- package/esm/ColorPicker/components/ColorPickerMatrix.js +1 -3
- package/esm/ColorPicker/components/ColorsPreview.d.ts +2 -1
- package/esm/ColorPicker/components/ColorsPreview.d.ts.map +1 -1
- package/esm/ColorPicker/components/ColorsPreview.js +2 -6
- package/esm/ColorPicker/components/HexColorInput.d.ts +2 -1
- package/esm/ColorPicker/components/HexColorInput.d.ts.map +1 -1
- package/esm/ColorPicker/components/HexColorInput.js +1 -3
- package/esm/ColorPicker/components/HueColorPicker.d.ts +1 -1
- package/esm/ColorPicker/components/HueColorPicker.d.ts.map +1 -1
- package/esm/DateDatasets/dateDatasets.d.ts.map +1 -1
- package/esm/Datepicker/Datepicker.js +2 -4
- package/esm/DescriptionPanel/DescriptionPanel.d.ts.map +1 -1
- package/esm/DescriptionPanel/DescriptionPanel.js +1 -3
- package/esm/DescriptionPanel/EllipsisText.js +1 -4
- package/esm/DescriptionPanel/MetadataList.js +1 -4
- package/esm/Dialog/CommunityEditionDialog.js +1 -3
- package/esm/Dialog/ConfirmDialogBase.js +1 -3
- package/esm/Dialog/ConfirmDialogFooter.js +1 -2
- package/esm/Dialog/CsvDelimiterPicker.d.ts.map +1 -1
- package/esm/Dialog/CsvDelimiterPicker.js +3 -6
- package/esm/Dialog/DialogBase.js +1 -3
- package/esm/Dialog/DialogCloseButton.js +1 -5
- package/esm/Dialog/DialogList/DialogListHeader.js +1 -2
- package/esm/Dialog/DialogList/DialogListItemBasic.js +2 -7
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/EmbedInsightDialogBase.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeLanguageSelect.js +1 -7
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CodeOptions.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/CompleteListPropsMessage.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeItem.js +1 -4
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ComponentTypeSelect.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/EmbedInsightContent.js +1 -5
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/HeightSetting.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/LocaleSetting.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/NumericInput.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/PrepareEnvMessage.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ReactOptions.js +1 -3
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/ToggleSwitch.js +1 -6
- package/esm/Dialog/EmbedInsightDialog/EmbedInsightDialogBase/components/WebComponentsOptions.js +1 -2
- package/esm/Dialog/EmbedInsightDialog/utils.d.ts.map +1 -1
- package/esm/Dialog/ExportDialogBase.js +1 -4
- package/esm/Dialog/ExportTabularPdfDialog.js +2 -5
- package/esm/Dialog/FooterButtons.js +1 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeBase.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/AddGranteeContent.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/AsyncSelectComponents.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentInteractionContext.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ComponentLabelsContext.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeIcons.js +2 -6
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranteeItem.js +4 -14
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeGroupItem.js +2 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularGranteeUserItem.js +2 -5
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/GranularPermissionsDropdownBody.js +1 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/permissionsLogic.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/GranularPermissions/usePermissionsDropdownState.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeBase.js +1 -2
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareGranteeContent.js +1 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/ShareLink.js +2 -4
- package/esm/Dialog/ShareDialog/ShareDialogBase/SharedObjectCheckboxControl.js +1 -3
- package/esm/Dialog/ShareDialog/ShareDialogBase/backend/loadGranteeOptionsPromise.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/backend/useGetAccessList.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/types.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/useShareDialogBase.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.d.ts +1 -1
- package/esm/Dialog/ShareDialog/ShareDialogBase/utils.d.ts.map +1 -1
- package/esm/Dialog/ShareDialog/shareDialogMappers.d.ts +2 -2
- package/esm/Dialog/ShareDialog/shareDialogMappers.d.ts.map +1 -1
- package/esm/Dialog/StylingEditorDialog/BubbleHeaderSeparator.js +1 -4
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialog.js +5 -18
- package/esm/Dialog/StylingEditorDialog/StylingEditorDialogFooter.js +1 -5
- package/esm/Dialog/StylingEditorDialog/StylingExample.js +1 -5
- package/esm/Dropdown/Dropdown.js +2 -4
- package/esm/Dropdown/DropdownInvertableSelect.js +1 -5
- package/esm/Dropdown/DropdownList.js +2 -4
- package/esm/Dropdown/customDictionary.d.ts.map +1 -1
- package/esm/FileUpload/FileDropzone/FileDropzone.js +2 -4
- package/esm/FileUpload/FilePickerButton/FilePickerButton.js +1 -3
- package/esm/FileUpload/UploadFileList/UploadFileList.js +2 -6
- package/esm/FileUpload/UploadStatusDialog/UploadStatusDialog.js +2 -7
- package/esm/FileUpload/hooks/useFileInput.d.ts.map +1 -1
- package/esm/FileUpload/parseAcceptedTypes.d.ts.map +1 -1
- package/esm/FileUpload/types.d.ts.map +1 -1
- package/esm/FilterGroupItem/FilterGroupItem.d.ts.map +1 -1
- package/esm/FilterGroupItem/FilterGroupItem.js +1 -9
- package/esm/FilterLabel/FilterLabel.js +1 -2
- package/esm/Form/Checkbox.js +1 -4
- package/esm/Form/InputPure.d.ts.map +1 -1
- package/esm/Form/InputPure.js +3 -6
- package/esm/Header/Header.js +6 -17
- package/esm/Header/Header.test.helpers.d.ts.map +1 -1
- package/esm/Header/HeaderAccount.js +1 -2
- package/esm/Header/HeaderBadgeWithModal.js +1 -2
- package/esm/Header/HeaderDataMenu.js +1 -2
- package/esm/Header/HeaderHelp.js +2 -4
- package/esm/Header/HeaderMenu.d.ts +2 -1
- package/esm/Header/HeaderMenu.d.ts.map +1 -1
- package/esm/Header/HeaderMenu.js +1 -2
- package/esm/Header/HeaderSearchButton.js +1 -2
- package/esm/Header/HeaderUpsellButton.js +1 -3
- package/esm/Header/HeaderWorkspacePickerItem.js +1 -2
- package/esm/Header/WorkspacePickerHomeFooter.js +1 -2
- package/esm/Icon/icons/AlertPaused.js +1 -3
- package/esm/Icon/icons/BoldHyperlink.js +1 -3
- package/esm/Icon/icons/ColumnContainer.js +1 -3
- package/esm/Icon/icons/Columns.js +1 -5
- package/esm/Icon/icons/Dashboard.js +1 -3
- package/esm/Icon/icons/Date.js +1 -5
- package/esm/Icon/icons/Ellipsis.js +1 -3
- package/esm/Icon/icons/Explore.js +1 -3
- package/esm/Icon/icons/GenAI.js +1 -3
- package/esm/Icon/icons/GenAI2.js +1 -3
- package/esm/Icon/icons/Hash.js +1 -3
- package/esm/Icon/icons/Header.js +1 -3
- package/esm/Icon/icons/Image.js +1 -3
- package/esm/Icon/icons/InsightIcons/Bubble.js +1 -3
- package/esm/Icon/icons/InsightIcons/Bullet.js +1 -3
- package/esm/Icon/icons/InsightIcons/Combo.js +1 -3
- package/esm/Icon/icons/InsightIcons/DependencyWheel.js +1 -5
- package/esm/Icon/icons/InsightIcons/Donut.js +1 -3
- package/esm/Icon/icons/InsightIcons/Funnel.js +1 -3
- package/esm/Icon/icons/InsightIcons/Geo.js +1 -3
- package/esm/Icon/icons/InsightIcons/HeadlineChart.js +1 -3
- package/esm/Icon/icons/InsightIcons/HeatMap.js +1 -3
- package/esm/Icon/icons/InsightIcons/Line.js +1 -3
- package/esm/Icon/icons/InsightIcons/Pie.js +1 -3
- package/esm/Icon/icons/InsightIcons/Pyramid.js +1 -3
- package/esm/Icon/icons/InsightIcons/Radar.js +1 -5
- package/esm/Icon/icons/InsightIcons/Repeater.js +1 -3
- package/esm/Icon/icons/InsightIcons/Sankey.js +1 -3
- package/esm/Icon/icons/InsightIcons/ScatterPlot.js +1 -3
- package/esm/Icon/icons/InsightIcons/StackedArea.js +1 -3
- package/esm/Icon/icons/InsightIcons/Table.js +1 -3
- package/esm/Icon/icons/InsightIcons/TreeMap.js +1 -3
- package/esm/Icon/icons/InsightIcons/Waterfall.js +1 -3
- package/esm/Icon/icons/InsightPicker.js +1 -3
- package/esm/Icon/icons/Keyword.js +1 -3
- package/esm/Icon/icons/Many.js +1 -3
- package/esm/Icon/icons/Metric.js +1 -3
- package/esm/Icon/icons/RichText.js +1 -3
- package/esm/Icon/icons/Rows.js +1 -3
- package/esm/Icon/icons/SimplifiedDashboard.js +1 -3
- package/esm/Icon/icons/User.js +1 -3
- package/esm/Icon/icons/UserGroup.js +1 -3
- package/esm/Icon/utils.d.ts +1 -1
- package/esm/Icon/utils.d.ts.map +1 -1
- package/esm/List/AsyncList.js +1 -3
- package/esm/List/InsightListItem.js +2 -6
- package/esm/List/InsightListItemDate.js +1 -7
- package/esm/List/InvertableSelect/InvertableSelect.js +2 -4
- package/esm/List/InvertableSelect/InvertableSelectAllCheckbox.js +1 -2
- package/esm/List/InvertableSelect/InvertableSelectItem.js +1 -4
- package/esm/List/InvertableSelect/InvertableSelectSelectionStatus.js +1 -2
- package/esm/List/InvertableSelect/InvertableSelectVirtualised.js +2 -4
- package/esm/List/InvertableSelect/useInvertableSelect.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectList.d.ts.map +1 -1
- package/esm/List/LegacyMultiSelectList.js +3 -9
- package/esm/List/LegacyMultiSelectListItem.js +1 -4
- package/esm/List/LegacySingleSelectListItem.js +1 -2
- package/esm/List/ListItem.js +2 -5
- package/esm/List/MultiSelectList.js +3 -9
- package/esm/List/MultiSelectListItem.js +1 -4
- package/esm/List/customDictionary.d.ts.map +1 -1
- package/esm/LoadingSpinner/LoadingSpinner.js +1 -3
- package/esm/Menu/menuOpener/MenuOpenedByClick.js +1 -9
- package/esm/Menu/positioning/MenuPosition.js +1 -3
- package/esm/Messages/toasts/ToastsCenter.js +1 -3
- package/esm/Messages/toasts/ToastsCenterMessage.js +2 -6
- package/esm/Messages/toasts/context.d.ts +1 -1
- package/esm/Messages/toasts/context.d.ts.map +1 -1
- package/esm/Messages/toasts/useToastMessage.d.ts.map +1 -1
- package/esm/Overlay/FullScreenOverlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.d.ts.map +1 -1
- package/esm/Overlay/Overlay.js +1 -2
- package/esm/Overlay/OverlayContext.d.ts.map +1 -1
- package/esm/ParameterControl/ParameterControlDropdown.js +2 -12
- package/esm/ParameterControl/ParameterInput.js +1 -4
- package/esm/ParameterPicker/ParameterPicker.js +5 -13
- package/esm/RecurrenceForm/CronExpression.js +2 -7
- package/esm/RecurrenceForm/DateTime.js +2 -7
- package/esm/RecurrenceForm/Recurrence.js +2 -5
- package/esm/RecurrenceForm/RecurrenceForm.js +1 -2
- package/esm/RecurrenceForm/constants.d.ts.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.d.ts.map +1 -1
- package/esm/RecurrenceForm/useCronValidation.js +1 -2
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.d.ts +2 -1
- package/esm/RecurrenceForm/utils/simpleRecurrenceTypeMappingFn.d.ts.map +1 -1
- package/esm/RecurrenceForm/utils/utils.d.ts +4 -3
- package/esm/RecurrenceForm/utils/utils.d.ts.map +1 -1
- package/esm/RichText/RichTextWithTooltip.js +1 -12
- package/esm/RichText/hooks/useEvaluatedMetricsAndAttributes.d.ts.map +1 -1
- package/esm/RichText/plugins/rehype-references.d.ts.map +1 -1
- package/esm/RichText/plugins/remark-references.d.ts.map +1 -1
- package/esm/ScrollGradient/ScrollGradient.js +1 -3
- package/esm/ScrollablePanel/ScrollContext.d.ts +3 -3
- package/esm/ScrollablePanel/ScrollContext.d.ts.map +1 -1
- package/esm/SettingItem/SettingItem.js +2 -11
- package/esm/SettingWidget/FooterButtons.js +1 -2
- package/esm/SettingWidget/SimpleSettingsWidget/SimpleSettingWidget.js +1 -4
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingBody.js +2 -8
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingListItem.js +1 -6
- package/esm/SettingWidget/StylingSettingWidget/StylingSettingWidget.js +1 -5
- package/esm/SettingWidget/StylingSettingWidget/utils.d.ts.map +1 -1
- package/esm/SettingWidget/TooltipIcon.js +1 -3
- package/esm/SettingWidget/constants.d.ts.map +1 -1
- package/esm/ShortenedText/ShortenedText.js +2 -5
- package/esm/Timepicker/Timepicker.d.ts +1 -1
- package/esm/Timepicker/Timepicker.d.ts.map +1 -1
- package/esm/WidgetNotice/WidgetNotice.js +1 -6
- package/esm/ZoomContext/ZoomContext.d.ts.map +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/measureNumberFormat/MeasureNumberFormat.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/CustomFormatDialog.js +1 -7
- package/esm/measureNumberFormat/customFormatDialog/DocumentationLink.js +1 -3
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js +1 -4
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.js +1 -6
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js +1 -3
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.js +1 -2
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.js +2 -5
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/previewSection/Preview.js +1 -5
- package/esm/measureNumberFormat/customFormatDialog/shared/PreviewRows.js +1 -3
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.d.ts +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdown.d.ts.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.d.ts +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.d.ts.map +1 -1
- package/esm/measureNumberFormat/presetsDropdown/PresetsDropdownItem.js +1 -2
- package/esm/measureNumberFormat/typings.js +1 -2
- package/esm/responsive/ResponsiveContext.d.ts.map +1 -1
- package/esm/responsive/useMediaQuery.d.ts.map +1 -1
- package/esm/sdk-ui-kit.d.ts +37 -39
- package/esm/syntaxHighlightingInput/hooks/useAutocompletion.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/hooks/useEventHandlers.d.ts.map +1 -1
- package/esm/typings/positioning.js +1 -2
- package/esm/typings/utilities.js +1 -2
- package/esm/utils/domUtilities.d.ts +7 -7
- package/esm/utils/domUtilities.d.ts.map +1 -1
- package/esm/utils/domUtilities.js +3 -1
- package/esm/utils/events.d.ts +9 -9
- package/esm/utils/events.d.ts.map +1 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/positioning.d.ts.map +1 -1
- package/esm/utils/useId.d.ts +1 -1
- package/esm/utils/useId.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/@ui/UiChip/UiChip.scss +6 -6
- package/src/@ui/UiIcon/UiIcon.scss +2 -1
- package/src/@ui/UiLink/UiLink.scss +5 -6
- package/src/CatalogItemPicker/CatalogItemPicker.scss +12 -0
- package/src/FileUpload/UploadStatusDialog/UploadStatusDialog.scss +1 -2
- package/styles/css/dialog.css.map +1 -1
- package/styles/css/header.css.map +1 -1
- package/styles/css/main.css +7 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +1 -1
- package/styles/css/messages.css.map +1 -1
- package/styles/css/overlay.css.map +1 -1
- package/styles/scss/dialog.scss +4 -5
- package/styles/scss/header.scss +1 -2
- package/styles/scss/messages.scss +12 -12
- package/styles/scss/overlay.scss +2 -2
|
@@ -122,13 +122,10 @@ export const ShortenedText = forwardRef(function ShortenedText({ children, class
|
|
|
122
122
|
return (_jsx(TagName, { ref: textRef, className: cx(className, "shortened", {
|
|
123
123
|
"is-shortened": isShortened,
|
|
124
124
|
"is-whole": !isShortened,
|
|
125
|
-
}), id: id, children: isShortened ? (_jsxs(_Fragment, { children: [
|
|
126
|
-
_jsx("span", { "aria-hidden": "true", children: title }), _jsx("span", { className: "sr-only", children: children })
|
|
127
|
-
] })) : (title) }));
|
|
125
|
+
}), id: id, children: isShortened ? (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": "true", children: title }), _jsx("span", { className: "sr-only", children: children })] })) : (title) }));
|
|
128
126
|
};
|
|
129
127
|
const renderTextWithBubble = () => {
|
|
130
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, eventsOnBubble: tooltipVisibleOnMouseOver, children: [
|
|
131
|
-
_jsx(Bubble, { alignPoints: tooltipAlignPoints, children: customTitle ? children : "" }), renderText()] }));
|
|
128
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, eventsOnBubble: tooltipVisibleOnMouseOver, children: [_jsx(Bubble, { alignPoints: tooltipAlignPoints, children: customTitle ? children : "" }), renderText()] }));
|
|
132
129
|
};
|
|
133
130
|
if (customTitle && displayTooltip) {
|
|
134
131
|
return renderTextWithBubble();
|
|
@@ -19,7 +19,7 @@ export interface ITimepickerOwnProps {
|
|
|
19
19
|
closeOnParentScroll?: boolean;
|
|
20
20
|
}
|
|
21
21
|
export type TimePickerProps = ITimepickerOwnProps;
|
|
22
|
-
export declare const WrappedTimepicker:
|
|
22
|
+
export declare const WrappedTimepicker: import("react").MemoExoticComponent<({ time, className, ariaLabelledBy, ariaDescribedBy, onChange, overlayPositionType, overlayZIndex, skipNormalizeTime, timeAnchor, timeFormat, closeOnParentScroll, }: TimePickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
23
|
/**
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timepicker.d.ts","sourceRoot":"","sources":["../../src/Timepicker/Timepicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,oBAAoB,EAQ5B,MAAM,OAAO,CAAC;AAYf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AASjE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI,CAAC;IACxC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Timepicker.d.ts","sourceRoot":"","sources":["../../src/Timepicker/Timepicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,oBAAoB,EAQ5B,MAAM,OAAO,CAAC;AAYf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AASjE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI,CAAC;IACxC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD,eAAO,MAAM,iBAAiB,4MAY3B,eAAe,6CAiLhB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,CAQ/D,CAAC"}
|
|
@@ -28,10 +28,5 @@ export function WidgetNotice({ type = "info", message, action, detail, detailAct
|
|
|
28
28
|
const [isExpanded, setIsExpanded] = useState(defaultExpanded);
|
|
29
29
|
const hasDetail = Boolean(detail);
|
|
30
30
|
const effectiveCloseButtonLabel = closeButtonLabel ?? intl.formatMessage(commonDialogMessages.close);
|
|
31
|
-
return (_jsxs("div", { className: b({ type, expandable: hasDetail }), "data-testid": dataTestId, children: [
|
|
32
|
-
_jsxs("div", { className: e("header"), children: [
|
|
33
|
-
_jsxs("div", { className: e("content"), children: [showIcon ? (_jsx("span", { className: e("icon"), "aria-hidden": "true", children: _jsx(UiIcon, { type: ICON_BY_TYPE[type], size: 16, color: ICON_COLOR_BY_TYPE[type] }) })) : null, _jsxs("div", { className: e("text"), children: [
|
|
34
|
-
_jsx("span", { className: e("message"), children: message }), action ? _jsx("span", { className: e("action"), children: action }) : null, hasDetail ? (_jsx("button", { type: "button", className: e("toggle"), "data-testid": "widget-notice-toggle", "aria-expanded": isExpanded, "aria-controls": isExpanded ? detailId : undefined, onClick: () => setIsExpanded((wasExpanded) => !wasExpanded), children: isExpanded ? collapseLabel : expandLabel })) : null] })
|
|
35
|
-
] }), onClose ? (_jsx(UiIconButton, { icon: "cross", variant: "tertiary", size: "xsmall", label: effectiveCloseButtonLabel, onClick: onClose, dataTestId: "widget-notice-close" })) : null] }), hasDetail && isExpanded ? (_jsxs("div", { id: detailId, className: e("detail"), children: [
|
|
36
|
-
_jsx("div", { className: e("detail-text"), children: detail }), detailAction ? _jsx("div", { className: e("detail-action"), children: detailAction }) : null] })) : null] }));
|
|
31
|
+
return (_jsxs("div", { className: b({ type, expandable: hasDetail }), "data-testid": dataTestId, children: [_jsxs("div", { className: e("header"), children: [_jsxs("div", { className: e("content"), children: [showIcon ? (_jsx("span", { className: e("icon"), "aria-hidden": "true", children: _jsx(UiIcon, { type: ICON_BY_TYPE[type], size: 16, color: ICON_COLOR_BY_TYPE[type] }) })) : null, _jsxs("div", { className: e("text"), children: [_jsx("span", { className: e("message"), children: message }), action ? _jsx("span", { className: e("action"), children: action }) : null, hasDetail ? (_jsx("button", { type: "button", className: e("toggle"), "data-testid": "widget-notice-toggle", "aria-expanded": isExpanded, "aria-controls": isExpanded ? detailId : undefined, onClick: () => setIsExpanded((wasExpanded) => !wasExpanded), children: isExpanded ? collapseLabel : expandLabel })) : null] })] }), onClose ? (_jsx(UiIconButton, { icon: "cross", variant: "tertiary", size: "xsmall", label: effectiveCloseButtonLabel, onClick: onClose, dataTestId: "widget-notice-close" })) : null] }), hasDetail && isExpanded ? (_jsxs("div", { id: detailId, className: e("detail"), children: [_jsx("div", { className: e("detail-text"), children: detail }), detailAction ? _jsx("div", { className: e("detail-action"), children: detailAction }) : null] })) : null] }));
|
|
37
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomContext.d.ts","sourceRoot":"","sources":["../../src/ZoomContext/ZoomContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAkD,MAAM,OAAO,CAAC;AAEvF;;;GAGG;AACH,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAUD;;;GAGG;AACH,eAAO,MAAM,WAAW,4CAAqD,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAwD3D;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ZoomContext.d.ts","sourceRoot":"","sources":["../../src/ZoomContext/ZoomContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAkD,MAAM,OAAO,CAAC;AAEvF;;;GAGG;AACH,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAUD;;;GAGG;AACH,eAAO,MAAM,WAAW,4CAAqD,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CAwD3D;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,QAAO,iBAQ1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,8BAAwB,OAI/C,CAAC"}
|
package/esm/locales.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB;;QACb,EAAE;;CACpB,CAAC;AAEH,eAAO,MAAM,yBAAyB;;QACpB,EAAE;;;QACH,EAAE;;;QACA,EAAE;;;QACM,EAAE;;;QACf,EAAE;;CACd,CAAC;AAEH,eAAO,MAAM,+BAA+B;;QAC3B,EAAE;;;QACD,EAAE;;CAClB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;QACpB,EAAE;;;QACM,EAAE;;CACrB,CAAC;AAEH,eAAO,MAAM,+BAA+B;;QAChC,EAAE;;;QACF,EAAE;;;QACD,EAAE;;;QACD,EAAE;;CACd,CAAC;AAEH,eAAO,MAAM,iCAAiC;;QACb,EAAE;;;QAE3B,EAAE;;;QAGF,EAAE;;;QAGF,EAAE;;;QAEsB,EAAE;;;QACD,EAAE;;;QACV,EAAE;;;QACI,EAAE;;;QACD,EAAE;;CAChC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;QACpB,EAAE;;;QACD,EAAE;;;QACH,EAAE;;CACb,CAAC;AAEH,eAAO,MAAM,wBAAwB;;QACzB,EAAE;;;QACD,EAAE;;CACb,CAAC;AAEH,eAAO,MAAM,4BAA4B;;QAC5B,EAAE;;;QACG,EAAE;;;QACT,EAAE;;;QACQ,EAAE;;CACrB,CAAC;AAEH,eAAO,MAAM,2BAA2B;;QAC5B,EAAE;;;QACK,EAAE;;;QACI,EAAE;;;QACT,EAAE;;;QACT,EAAE;;CACX,CAAC;AAEH,eAAO,MAAM,wBAAwB;;QACnB,EAAE;;;QACG,EAAE;;;QACI,EAAE;;;QAEvB,EAAE;;;QAEY,EAAE;;;QACI,EAAE;;;QACG,EAAE;;;QACH,EAAE;;CAChC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;QACR,EAAE;;;QACF,EAAE;;;QACJ,EAAE;;;QACD,EAAE;;;QACD,EAAE;;CACrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;QACX,EAAE;;;QACV,EAAE;;;QACM,EAAE;;;QACK,EAAE;;;QACF,EAAE;;;QACV,EAAE;;;QACV,EAAE;;;QACI,EAAE;;;QACL,EAAE;;;QACM,EAAE;;;QACW,EAAE;;;QACD,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;CACpC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;QACV,EAAE;;;QACP,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACN,EAAE;;CAChB,CAAC;AAEH,eAAO,MAAM,4BAA4B;;QAChB,EAAE;;;QACN,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;CACpB,CAAC"}
|
|
@@ -60,8 +60,7 @@ function MeasureNumberFormatCore(props) {
|
|
|
60
60
|
const buttonText = useMemo(() => intl.formatMessage({ id: "measureNumberFormat.buttonLabel" }, { selectedFormatPresetName: selectedPreset.name }), [intl, selectedPreset.name]);
|
|
61
61
|
const anchorEl = anchorElementSelector ?? toggleButtonEl.current ?? undefined;
|
|
62
62
|
const customPreset = getCustomFormatPreset();
|
|
63
|
-
return (_jsxs(_Fragment, { children: [
|
|
64
|
-
_jsx(ToggleButton, { text: buttonText, isOpened: showDropdown || showCustomFormatDialog, toggleDropdown: toggleDropdownOpened, selectedPreset: selectedPreset, disabled: disabled }), showDropdown ? (_jsx(PresetsDropdown, { presets: presets, customPreset: customPreset, separators: separators, selectedPreset: selectedPreset, onSelect: onSelect, onClose: closeDropdown, anchorEl: anchorEl, positioning: presetsDropdownPositioning, intl: intl })) : null, showCustomFormatDialog ? (_jsx(CustomFormatDialog, { onApply: onCustomFormatDialogApply, onCancel: onCustomFormatDialogCancel, formatString: selectedFormat ?? defaultCustomFormat ?? "", separators: separators, anchorEl: anchorEl, positioning: customFormatDialogPositioning, documentationLink: documentationLink, templates: templates, intl: intl })) : null] }));
|
|
63
|
+
return (_jsxs(_Fragment, { children: [_jsx(ToggleButton, { text: buttonText, isOpened: showDropdown || showCustomFormatDialog, toggleDropdown: toggleDropdownOpened, selectedPreset: selectedPreset, disabled: disabled }), showDropdown ? (_jsx(PresetsDropdown, { presets: presets, customPreset: customPreset, separators: separators, selectedPreset: selectedPreset, onSelect: onSelect, onClose: closeDropdown, anchorEl: anchorEl, positioning: presetsDropdownPositioning, intl: intl })) : null, showCustomFormatDialog ? (_jsx(CustomFormatDialog, { onApply: onCustomFormatDialogApply, onCancel: onCustomFormatDialogCancel, formatString: selectedFormat ?? defaultCustomFormat ?? "", separators: separators, anchorEl: anchorEl, positioning: customFormatDialogPositioning, documentationLink: documentationLink, templates: templates, intl: intl })) : null] }));
|
|
65
64
|
}
|
|
66
65
|
/**
|
|
67
66
|
* @internal
|
|
@@ -14,6 +14,6 @@ interface ICustomFormatDialogOwnProps {
|
|
|
14
14
|
templates?: ReadonlyArray<IFormatTemplate>;
|
|
15
15
|
}
|
|
16
16
|
type ICustomFormatDialogProps = ICustomFormatDialogOwnProps & WrappedComponentProps;
|
|
17
|
-
export declare const CustomFormatDialog: import("react").
|
|
17
|
+
export declare const CustomFormatDialog: import("react").MemoExoticComponent<({ onApply, onCancel, formatString, documentationLink, anchorEl, positioning, separators, templates, intl, }: ICustomFormatDialogProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=CustomFormatDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomFormatDialog.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/customFormatDialog/CustomFormatDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAMrD,UAAU,2BAA2B;IACjC,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC9C;AAED,KAAK,wBAAwB,GAAG,2BAA2B,GAAG,qBAAqB,CAAC;AAEpF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"CustomFormatDialog.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/customFormatDialog/CustomFormatDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAMrD,UAAU,2BAA2B;IACjC,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC9C;AAED,KAAK,wBAAwB,GAAG,2BAA2B,GAAG,qBAAqB,CAAC;AAEpF,eAAO,MAAM,kBAAkB,oJAmB5B,wBAAwB,6CAyDzB,CAAC"}
|
|
@@ -26,11 +26,5 @@ export const CustomFormatDialog = memo(function CustomFormatDialog({ onApply, on
|
|
|
26
26
|
const onFormatChange = useCallback((newFormat) => {
|
|
27
27
|
setFormat(newFormat);
|
|
28
28
|
}, []);
|
|
29
|
-
return (_jsx(Overlay, { closeOnParentScroll: true, closeOnMouseDrag: true, closeOnOutsideClick: true, alignTo: anchorEl, alignPoints: positioningToAlignPoints(positioning), onClose: onCancel, children: _jsx("div", { className: "gd-dropdown overlay", children: _jsxs("div", { className: "gd-measure-custom-format-dialog-body s-custom-format-dialog-body", children: [
|
|
30
|
-
_jsx("div", { className: "gd-measure-custom-format-dialog-header", children: _jsx("span", { children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.title" }) }) }), _jsxs("div", { className: "gd-measure-custom-format-dialog-content", children: [
|
|
31
|
-
_jsx(FormatInputWithIntl, { format: format, templates: templates, separators: separators, onFormatChange: onFormatChange }), documentationLink ? _jsx(DocumentationLink, { url: documentationLink }) : null, _jsx(Preview, { format: format, separators: separators })
|
|
32
|
-
] }), _jsxs("div", { className: "gd-measure-custom-format-dialog-footer", children: [
|
|
33
|
-
_jsx(Button, { className: "gd-button-secondary gd-button-small s-custom-format-dialog-cancel", onClick: onCancel, value: intl.formatMessage({ id: "cancel" }) }), _jsx(Button, { className: "gd-button-action gd-button-small s-custom-format-dialog-apply", onClick: handleApply, value: intl.formatMessage({ id: "apply" }), disabled: isApplyButtonDisabled })
|
|
34
|
-
] })
|
|
35
|
-
] }) }) }));
|
|
29
|
+
return (_jsx(Overlay, { closeOnParentScroll: true, closeOnMouseDrag: true, closeOnOutsideClick: true, alignTo: anchorEl, alignPoints: positioningToAlignPoints(positioning), onClose: onCancel, children: _jsx("div", { className: "gd-dropdown overlay", children: _jsxs("div", { className: "gd-measure-custom-format-dialog-body s-custom-format-dialog-body", children: [_jsx("div", { className: "gd-measure-custom-format-dialog-header", children: _jsx("span", { children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.title" }) }) }), _jsxs("div", { className: "gd-measure-custom-format-dialog-content", children: [_jsx(FormatInputWithIntl, { format: format, templates: templates, separators: separators, onFormatChange: onFormatChange }), documentationLink ? _jsx(DocumentationLink, { url: documentationLink }) : null, _jsx(Preview, { format: format, separators: separators })] }), _jsxs("div", { className: "gd-measure-custom-format-dialog-footer", children: [_jsx(Button, { className: "gd-button-secondary gd-button-small s-custom-format-dialog-cancel", onClick: onCancel, value: intl.formatMessage({ id: "cancel" }) }), _jsx(Button, { className: "gd-button-action gd-button-small s-custom-format-dialog-apply", onClick: handleApply, value: intl.formatMessage({ id: "apply" }), disabled: isApplyButtonDisabled })] })] }) }) }));
|
|
36
30
|
});
|
|
@@ -2,7 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2020-2025 GoodData Corporation
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
export function DocumentationLink({ url }) {
|
|
5
|
-
return (_jsx("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-help", children: _jsxs("a", { "aria-label": "custom-format-documentation-link", className: "gd-measure-format-button s-custom-format-dialog-documentation-link", target: "_blank", rel: "noreferrer noopener", href: url, children: [
|
|
6
|
-
_jsx("div", { className: "gd-icon-circle-question gd-measure-format-button-icon-left" }), _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.howToFormat" }) })
|
|
7
|
-
] }) }));
|
|
5
|
+
return (_jsx("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-help", children: _jsxs("a", { "aria-label": "custom-format-documentation-link", className: "gd-measure-format-button s-custom-format-dialog-documentation-link", target: "_blank", rel: "noreferrer noopener", href: url, children: [_jsx("div", { className: "gd-icon-circle-question gd-measure-format-button-icon-left" }), _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.howToFormat" }) })] }) }));
|
|
8
6
|
}
|
|
@@ -14,6 +14,6 @@ interface IFormatInputProps {
|
|
|
14
14
|
separators?: ISeparators;
|
|
15
15
|
templates?: ReadonlyArray<IFormatTemplate>;
|
|
16
16
|
}
|
|
17
|
-
export declare const FormatInputWithIntl: import("react").
|
|
17
|
+
export declare const FormatInputWithIntl: import("react").MemoExoticComponent<(props: IFormatInputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=FormatInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormatInput.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/customFormatDialog/FormatInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAIrD,KAAK,aAAa,GAAG;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,+BAwG7B,CAAC;AAIH,UAAU,iBAAiB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"FormatInput.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/customFormatDialog/FormatInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAIrD,KAAK,aAAa,GAAG;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,+BAwG7B,CAAC;AAIH,UAAU,iBAAiB;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,mBAAmB,8CAA4C,iBAAiB,6CA+B3F,CAAC"}
|
|
@@ -103,8 +103,5 @@ export const FormatInputWithIntl = memo(function FormatInputWithIntl(props) {
|
|
|
103
103
|
const handleInputChange = useCallback((value) => {
|
|
104
104
|
onFormatChange(value);
|
|
105
105
|
}, [onFormatChange]);
|
|
106
|
-
return (_jsxs("div", { className: "gd-measure-custom-format-dialog-section", children: [
|
|
107
|
-
_jsxs("div", { className: "gd-measure-custom-format-dialog-section-title", children: [
|
|
108
|
-
_jsx("span", { children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.definition" }) }), templates?.length ? (_jsx(FormatTemplatesDropdown, { onChange: onFormatChange, separators: separators, templates: templates })) : null] }), _jsx(SyntaxHighlightingInput, { value: format, extensions: codeMirrorExtensions, onChange: handleInputChange, className: "s-custom-format-input" })
|
|
109
|
-
] }));
|
|
106
|
+
return (_jsxs("div", { className: "gd-measure-custom-format-dialog-section", children: [_jsxs("div", { className: "gd-measure-custom-format-dialog-section-title", children: [_jsx("span", { children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.definition" }) }), templates?.length ? (_jsx(FormatTemplatesDropdown, { onChange: onFormatChange, separators: separators, templates: templates })) : null] }), _jsx(SyntaxHighlightingInput, { value: format, extensions: codeMirrorExtensions, onChange: handleInputChange, className: "s-custom-format-input" })] }));
|
|
110
107
|
});
|
package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ interface ITemplateDropdownItemProps {
|
|
|
5
5
|
separators?: ISeparators;
|
|
6
6
|
onClick: (template: IFormatTemplate) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const DropdownItem: import("react").
|
|
8
|
+
export declare const DropdownItem: import("react").MemoExoticComponent<({ template, separators, onClick: onClickProp, }: ITemplateDropdownItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=DropdownItem.d.ts.map
|
package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD,UAAU,0BAA0B;IAChC,QAAQ,EAAE,eAAe,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;CAChD;AAMD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAKpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD,UAAU,0BAA0B;IAChC,QAAQ,EAAE,eAAe,CAAC;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;CAChD;AAMD,eAAO,MAAM,YAAY,wFAItB,0BAA0B,6CA4D3B,CAAC"}
|
|
@@ -17,10 +17,5 @@ export const DropdownItem = memo(function DropdownItem({ template, separators, o
|
|
|
17
17
|
const toggleHelp = useCallback(() => {
|
|
18
18
|
setDisplayHelp((state) => !state);
|
|
19
19
|
}, []);
|
|
20
|
-
return (_jsxs(_Fragment, { children: [
|
|
21
|
-
_jsxs("div", { id: useMemo(() => templateDropdownItemId(template), [template]), className: useMemo(() => `gd-list-item gd-format-preset gd-format-template s-measure-format-template-${simplifyText(template.name)}`, [template.name]), onClick: onClick, children: [
|
|
22
|
-
_jsx("span", { title: template.name, className: "gd-format-preset-name gd-list-item-shortened", children: template.name }), _jsx("div", { className: "gd-format-template-help gd-icon-circle-question s-measure-format-template-help-toggle-icon", onMouseEnter: toggleHelp, onMouseLeave: toggleHelp })
|
|
23
|
-
] }), displayHelp ? (_jsxs(Bubble, { alignTo: `#${templateDropdownItemId(template)}`, className: `gd-measure-format-template-preview-bubble bubble-light s-measure-format-template-help-bubble-${simplifyText(template.name)}`, alignPoints: [{ align: "cr cl" }, { align: "cr bl" }, { align: "cr tl" }], children: [
|
|
24
|
-
_jsx(Typography, { className: "gd-measure-format-template-preview-bubble-title", tagName: "h3", children: template.name }), _jsx("div", { className: `gd-measure-format-template-preview-bubble-subtitle s-measure-format-template-help-preview-${simplifyText(template.name)}`, children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.preview.title" }) }), _jsx(PreviewRows, { previewNumbers: [-1234567.891, -1234.567, -1.234, 0, 1.234, 1234.567, 1234567.891], format: template.format, separators: separators })
|
|
25
|
-
] })) : null] }));
|
|
20
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { id: useMemo(() => templateDropdownItemId(template), [template]), className: useMemo(() => `gd-list-item gd-format-preset gd-format-template s-measure-format-template-${simplifyText(template.name)}`, [template.name]), onClick: onClick, children: [_jsx("span", { title: template.name, className: "gd-format-preset-name gd-list-item-shortened", children: template.name }), _jsx("div", { className: "gd-format-template-help gd-icon-circle-question s-measure-format-template-help-toggle-icon", onMouseEnter: toggleHelp, onMouseLeave: toggleHelp })] }), displayHelp ? (_jsxs(Bubble, { alignTo: `#${templateDropdownItemId(template)}`, className: `gd-measure-format-template-preview-bubble bubble-light s-measure-format-template-help-bubble-${simplifyText(template.name)}`, alignPoints: [{ align: "cr cl" }, { align: "cr bl" }, { align: "cr tl" }], children: [_jsx(Typography, { className: "gd-measure-format-template-preview-bubble-title", tagName: "h3", children: template.name }), _jsx("div", { className: `gd-measure-format-template-preview-bubble-subtitle s-measure-format-template-help-preview-${simplifyText(template.name)}`, children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.preview.title" }) }), _jsx(PreviewRows, { previewNumbers: [-1234567.891, -1234.567, -1.234, 0, 1.234, 1234.567, 1234567.891], format: template.format, separators: separators })] })) : null] }));
|
|
26
21
|
});
|
package/esm/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/DropdownToggleButton.js
CHANGED
|
@@ -2,7 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
export function DropdownToggleButton({ toggleDropdown, isOpened }) {
|
|
5
|
-
return (_jsxs("div", { className: "gd-measure-format-button gd-measure-format-button-templates s-measure-format-templates-toggle-button", onClick: toggleDropdown, children: [
|
|
6
|
-
_jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.title" }) }), _jsx("div", { className: cx("gd-measure-format-button-icon-right", isOpened ? "gd-icon-navigateup" : "gd-icon-navigatedown") })
|
|
7
|
-
] }));
|
|
5
|
+
return (_jsxs("div", { className: "gd-measure-format-button gd-measure-format-button-templates s-measure-format-templates-toggle-button", onClick: toggleDropdown, children: [_jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.title" }) }), _jsx("div", { className: cx("gd-measure-format-button-icon-right", isOpened ? "gd-icon-navigateup" : "gd-icon-navigatedown") })] }));
|
|
8
6
|
}
|
|
@@ -6,5 +6,5 @@ export interface ICustomFormatTemplatesProps {
|
|
|
6
6
|
separators?: ISeparators;
|
|
7
7
|
templates: ReadonlyArray<IFormatTemplate>;
|
|
8
8
|
}
|
|
9
|
-
export declare const FormatTemplatesDropdown: import("react").
|
|
9
|
+
export declare const FormatTemplatesDropdown: import("react").MemoExoticComponent<({ onChange, separators, templates, }: ICustomFormatTemplatesProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
//# sourceMappingURL=FormatTemplatesDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormatTemplatesDropdown.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKxD,MAAM,MAAM,QAAQ,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;AAEtD,MAAM,WAAW,2BAA2B;IACxC,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"FormatTemplatesDropdown.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/formatTemplatesDropdown/FormatTemplatesDropdown.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKxD,MAAM,MAAM,QAAQ,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;AAEtD,MAAM,WAAW,2BAA2B;IACxC,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;CAC7C;AAED,eAAO,MAAM,uBAAuB,6EAIjC,2BAA2B,6CAgD5B,CAAC"}
|
|
@@ -18,6 +18,5 @@ export const FormatTemplatesDropdown = memo(function FormatTemplatesDropdown({ o
|
|
|
18
18
|
const toggleDropdown = useCallback(() => {
|
|
19
19
|
setIsOpened((state) => !state);
|
|
20
20
|
}, []);
|
|
21
|
-
return (_jsxs("div", { className: "gd-measure-format-templates", children: [
|
|
22
|
-
_jsx(DropdownToggleButton, { toggleDropdown: toggleDropdown, isOpened: isOpened }), isOpened ? (_jsx(Overlay, { closeOnOutsideClick: true, closeOnParentScroll: true, alignTo: ".gd-measure-custom-format-dialog-section-title", alignPoints: [{ align: "br tr" }, { align: "cr cl", offset: { x: 10 } }], onClose: closeDropdown, children: _jsx("div", { className: "gd-dropdown overlay", children: _jsx("div", { className: "gd-measure-number-format-dropdown-body s-measure-number-format-templates-dropdown", children: templates.map((template) => (_jsx(DropdownItem, { template: template, onClick: onSelect, separators: separators }, template.localIdentifier))) }) }) })) : null] }));
|
|
21
|
+
return (_jsxs("div", { className: "gd-measure-format-templates", children: [_jsx(DropdownToggleButton, { toggleDropdown: toggleDropdown, isOpened: isOpened }), isOpened ? (_jsx(Overlay, { closeOnOutsideClick: true, closeOnParentScroll: true, alignTo: ".gd-measure-custom-format-dialog-section-title", alignPoints: [{ align: "br tr" }, { align: "cr cl", offset: { x: 10 } }], onClose: closeDropdown, children: _jsx("div", { className: "gd-dropdown overlay", children: _jsx("div", { className: "gd-measure-number-format-dropdown-body s-measure-number-format-templates-dropdown", children: templates.map((template) => (_jsx(DropdownItem, { template: template, onClick: onSelect, separators: separators }, template.localIdentifier))) }) }) })) : null] }));
|
|
23
22
|
});
|
|
@@ -3,6 +3,6 @@ interface IExtendedPreviewProps {
|
|
|
3
3
|
format: string;
|
|
4
4
|
separators?: ISeparators;
|
|
5
5
|
}
|
|
6
|
-
export declare const ExtendedPreview: import("react").
|
|
6
|
+
export declare const ExtendedPreview: import("react").MemoExoticComponent<({ format, separators }: IExtendedPreviewProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=ExtendedPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtendedPreview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,UAAU,qBAAqB;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"ExtendedPreview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/ExtendedPreview.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,UAAU,qBAAqB;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,+DAAyD,qBAAqB,6CAuBxG,CAAC"}
|
|
@@ -9,10 +9,7 @@ export const ExtendedPreview = memo(function ExtendedPreview({ format, separator
|
|
|
9
9
|
const openExtendedPreview = useCallback(() => {
|
|
10
10
|
setExpanded(true);
|
|
11
11
|
}, []);
|
|
12
|
-
return (_jsxs("div", { className: "gd-measure-format-extended-preview s-custom-format-dialog-extended-preview", children: [
|
|
13
|
-
_jsxs("div", { className: cx("s-custom-format-dialog-extended-preview-button gd-measure-format-button", {
|
|
12
|
+
return (_jsxs("div", { className: "gd-measure-format-extended-preview s-custom-format-dialog-extended-preview", children: [_jsxs("div", { className: cx("s-custom-format-dialog-extended-preview-button gd-measure-format-button", {
|
|
14
13
|
hidden: expanded,
|
|
15
|
-
}), onClick: openExtendedPreview, children: [
|
|
16
|
-
_jsx("div", { className: "gd-icon-navigateright gd-measure-format-button-icon-left" }), _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.extendedPreview.button" }) })
|
|
17
|
-
] }), expanded ? _jsx(PreviewRows, { format: format, separators: separators }) : null] }));
|
|
14
|
+
}), onClick: openExtendedPreview, children: [_jsx("div", { className: "gd-icon-navigateright gd-measure-format-button-icon-left" }), _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.extendedPreview.button" }) })] }), expanded ? _jsx(PreviewRows, { format: format, separators: separators }) : null] }));
|
|
18
15
|
});
|
|
@@ -3,6 +3,6 @@ interface ICustomFormatPreviewProps {
|
|
|
3
3
|
format: string;
|
|
4
4
|
separators?: ISeparators;
|
|
5
5
|
}
|
|
6
|
-
export declare const Preview: import("react").
|
|
6
|
+
export declare const Preview: import("react").MemoExoticComponent<(props: ICustomFormatPreviewProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,UAAU,yBAAyB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/measureNumberFormat/customFormatDialog/previewSection/Preview.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,UAAU,yBAAyB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,eAAO,MAAM,OAAO,8CAAgC,yBAAyB,6CAsC3E,CAAC"}
|
|
@@ -13,9 +13,5 @@ export const Preview = memo(function Preview(props) {
|
|
|
13
13
|
const onPreviewChange = useCallback((value) => {
|
|
14
14
|
setPreview(value ?? 0);
|
|
15
15
|
}, []);
|
|
16
|
-
return (_jsxs("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-preview", children: [
|
|
17
|
-
_jsx("span", { className: "gd-measure-custom-format-dialog-section-title", children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.preview" }) }), _jsxs("div", { className: "gd-measure-custom-format-dialog-preview", children: [
|
|
18
|
-
_jsx(InputWithNumberFormat, { className: "s-custom-format-dialog-preview-input gd-measure-custom-format-dialog-preview-input", value: preview, isSmall: true, autofocus: false, onChange: onPreviewChange, separators: separators }), _jsx(FormattedPreview, { previewNumber: preview, format: format, separators: separators, className: "s-custom-format-dialog-preview-formatted gd-measure-custom-format-dialog-preview-string" })
|
|
19
|
-
] }), _jsx(ExtendedPreview, { format: format, separators: separators })
|
|
20
|
-
] }));
|
|
16
|
+
return (_jsxs("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-preview", children: [_jsx("span", { className: "gd-measure-custom-format-dialog-section-title", children: intl.formatMessage({ id: "measureNumberCustomFormatDialog.preview" }) }), _jsxs("div", { className: "gd-measure-custom-format-dialog-preview", children: [_jsx(InputWithNumberFormat, { className: "s-custom-format-dialog-preview-input gd-measure-custom-format-dialog-preview-input", value: preview, isSmall: true, autofocus: false, onChange: onPreviewChange, separators: separators }), _jsx(FormattedPreview, { previewNumber: preview, format: format, separators: separators, className: "s-custom-format-dialog-preview-formatted gd-measure-custom-format-dialog-preview-string" })] }), _jsx(ExtendedPreview, { format: format, separators: separators })] }));
|
|
21
17
|
});
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FormattedPreview } from "./FormattedPreview.js";
|
|
3
3
|
function PreviewNumberRow({ previewNumber, format, separators }) {
|
|
4
|
-
return (_jsxs("div", { className: "gd-measure-format-extended-preview-row", children: [
|
|
5
|
-
_jsx("div", { className: "gd-measure-format-extended-preview-number", children: _jsx("span", { children: previewNumber }) }), _jsx(FormattedPreview, { previewNumber: previewNumber, format: format, separators: separators, className: "s-number-format-preview-formatted gd-measure-format-extended-preview-formatted" })
|
|
6
|
-
] }));
|
|
4
|
+
return (_jsxs("div", { className: "gd-measure-format-extended-preview-row", children: [_jsx("div", { className: "gd-measure-format-extended-preview-number", children: _jsx("span", { children: previewNumber }) }), _jsx(FormattedPreview, { previewNumber: previewNumber, format: format, separators: separators, className: "s-number-format-preview-formatted gd-measure-format-extended-preview-formatted" })] }));
|
|
7
5
|
}
|
|
8
6
|
export function PreviewRows({ previewNumbers = [0, 1.234, 1234.567, 1234567.891], format, separators, }) {
|
|
9
7
|
return (_jsx(_Fragment, { children: previewNumbers.map((previewNumber) => (_jsx(PreviewNumberRow, { previewNumber: previewNumber, separators: separators, format: format }, previewNumber))) }));
|
|
@@ -13,6 +13,6 @@ interface IMeasureNumberFormatDropdownOwnProps {
|
|
|
13
13
|
positioning?: IPositioning[];
|
|
14
14
|
}
|
|
15
15
|
type IMeasureNumberFormatDropdownProps = IMeasureNumberFormatDropdownOwnProps & WrappedComponentProps;
|
|
16
|
-
export declare const PresetsDropdown: import("react").
|
|
16
|
+
export declare const PresetsDropdown: import("react").MemoExoticComponent<(props: IMeasureNumberFormatDropdownProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=PresetsDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetsDropdown.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/presetsDropdown/PresetsDropdown.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAInD,UAAU,oCAAoC;IAC1C,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IACtC,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,aAAa,CAAC;IAC9B,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,CAAC,cAAc,EAAE,aAAa,KAAK,IAAI,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,KAAK,iCAAiC,GAAG,oCAAoC,GAAG,qBAAqB,CAAC;AAEtG,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"PresetsDropdown.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/presetsDropdown/PresetsDropdown.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAInD,UAAU,oCAAoC;IAC1C,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IACtC,YAAY,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,aAAa,CAAC;IAC9B,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,CAAC,cAAc,EAAE,aAAa,KAAK,IAAI,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,KAAK,iCAAiC,GAAG,oCAAoC,GAAG,qBAAqB,CAAC;AAEtG,eAAO,MAAM,eAAe,8CAAwC,iCAAiC,6CAkDnG,CAAC"}
|
|
@@ -6,6 +6,6 @@ interface IMeasureNumberFormatDropdownItemProps {
|
|
|
6
6
|
onClick: (selectedPreset: IFormatPreset) => void;
|
|
7
7
|
isSelected?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const PresetsDropdownItem: import("react").
|
|
9
|
+
export declare const PresetsDropdownItem: import("react").MemoExoticComponent<({ preset, separators, onClick, isSelected, }: IMeasureNumberFormatDropdownItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=PresetsDropdownItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresetsDropdownItem.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/presetsDropdown/PresetsDropdownItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,UAAU,qCAAqC;IAC3C,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,WAAW,CAAC;IACxB,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"PresetsDropdownItem.d.ts","sourceRoot":"","sources":["../../../src/measureNumberFormat/presetsDropdown/PresetsDropdownItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,UAAU,qCAAqC;IAC3C,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,WAAW,CAAC;IACxB,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,qFAK7B,qCAAqC,6CAyCtC,CAAC"}
|
|
@@ -13,6 +13,5 @@ export const PresetsDropdownItem = memo(function PresetsDropdownItem({ preset, s
|
|
|
13
13
|
onClick(preset);
|
|
14
14
|
e.preventDefault();
|
|
15
15
|
}, [onClick, preset]);
|
|
16
|
-
return (_jsxs("div", { className: className, onClick: handleOnClick, children: [
|
|
17
|
-
_jsx("span", { title: name, className: "gd-format-preset-name gd-list-item-shortened", children: name }), previewNumber !== null && format !== null && (_jsx(FormattedPreview, { previewNumber: previewNumber, format: format, separators: separators, colors: false, className: "gd-format-preset-preview" }))] }));
|
|
16
|
+
return (_jsxs("div", { className: className, onClick: handleOnClick, children: [_jsx("span", { title: name, className: "gd-format-preset-name gd-list-item-shortened", children: name }), previewNumber !== null && format !== null && (_jsx(FormattedPreview, { previewNumber: previewNumber, format: format, separators: separators, colors: false, className: "gd-format-preset-preview" }))] }));
|
|
18
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveContext.d.ts","sourceRoot":"","sources":["../../src/responsive/ResponsiveContext.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,yBAAyB,6CAA6B,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ResponsiveContext.d.ts","sourceRoot":"","sources":["../../src/responsive/ResponsiveContext.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,yBAAyB,6CAA6B,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAO,iBAAqE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/responsive/useMediaQuery.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAmBrD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/responsive/useMediaQuery.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAmBrD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,mBAAoB,MAAM,aAAa,KAAG,OAkEnE,CAAC"}
|