framepexls-ui-lib 2.0.0 → 2.2.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/dist/AnalyticsCharts.d.mts +4 -4
- package/dist/AnalyticsCharts.d.ts +4 -4
- package/dist/AppTopbar.d.mts +1 -2
- package/dist/AppTopbar.d.ts +1 -2
- package/dist/AssetPerformanceCard.d.mts +50 -0
- package/dist/AssetPerformanceCard.d.ts +50 -0
- package/dist/AssetPerformanceCard.js +342 -0
- package/dist/AssetPerformanceCard.mjs +319 -0
- package/dist/AssetTickerRow.d.mts +26 -0
- package/dist/AssetTickerRow.d.ts +26 -0
- package/dist/AssetTickerRow.js +255 -0
- package/dist/AssetTickerRow.mjs +225 -0
- package/dist/AuthTopbar.d.mts +2 -2
- package/dist/AuthTopbar.d.ts +2 -2
- package/dist/AuthTopbar.js +2 -1
- package/dist/AuthTopbar.mjs +2 -1
- package/dist/AvatarGroup.d.mts +2 -2
- package/dist/AvatarGroup.d.ts +2 -2
- package/dist/AvatarSquare.d.mts +2 -2
- package/dist/AvatarSquare.d.ts +2 -2
- package/dist/AvatarSquare.js +29 -27
- package/dist/AvatarSquare.mjs +29 -27
- package/dist/Badge.d.mts +1 -2
- package/dist/Badge.d.ts +1 -2
- package/dist/BadgeCluster.d.mts +2 -3
- package/dist/BadgeCluster.d.ts +2 -3
- package/dist/Breadcrumb.d.mts +1 -2
- package/dist/Breadcrumb.d.ts +1 -2
- package/dist/CalendarPanel.d.mts +2 -2
- package/dist/CalendarPanel.d.ts +2 -2
- package/dist/Carousel.d.mts +1 -2
- package/dist/Carousel.d.ts +1 -2
- package/dist/ChangeHistory.d.mts +1 -2
- package/dist/ChangeHistory.d.ts +1 -2
- package/dist/ChartCard.d.mts +1 -2
- package/dist/ChartCard.d.ts +1 -2
- package/dist/ChatCenter.d.mts +2 -2
- package/dist/ChatCenter.d.ts +2 -2
- package/dist/ChatbotCenter.d.mts +1 -2
- package/dist/ChatbotCenter.d.ts +1 -2
- package/dist/Checkbox.d.mts +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/CheckboxPillsGroup.d.mts +1 -2
- package/dist/CheckboxPillsGroup.d.ts +1 -2
- package/dist/ColorPicker.d.mts +2 -2
- package/dist/ColorPicker.d.ts +2 -2
- package/dist/ColumnSelector.d.mts +1 -2
- package/dist/ColumnSelector.d.ts +1 -2
- package/dist/ComboSelect.d.mts +1 -2
- package/dist/ComboSelect.d.ts +1 -2
- package/dist/DataPageLayout.d.mts +64 -0
- package/dist/DataPageLayout.d.ts +64 -0
- package/dist/DataPageLayout.js +191 -0
- package/dist/DataPageLayout.mjs +157 -0
- package/dist/DataTable.d.mts +1 -2
- package/dist/DataTable.d.ts +1 -2
- package/dist/DataTableCard.d.mts +1 -2
- package/dist/DataTableCard.d.ts +1 -2
- package/dist/DataTableCardFooter.d.mts +2 -2
- package/dist/DataTableCardFooter.d.ts +2 -2
- package/dist/DateTimeField.d.mts +1 -2
- package/dist/DateTimeField.d.ts +1 -2
- package/dist/Dialog.d.mts +6 -7
- package/dist/Dialog.d.ts +6 -7
- package/dist/DocumentEditor.d.mts +3 -3
- package/dist/DocumentEditor.d.ts +3 -3
- package/dist/Drawer.d.mts +4 -5
- package/dist/Drawer.d.ts +4 -5
- package/dist/Dropdown.d.mts +7 -8
- package/dist/Dropdown.d.ts +7 -8
- package/dist/EmptyState.d.mts +1 -2
- package/dist/EmptyState.d.ts +1 -2
- package/dist/FiltersMultiSelect.d.mts +1 -2
- package/dist/FiltersMultiSelect.d.ts +1 -2
- package/dist/HeliipLoader.d.mts +2 -2
- package/dist/HeliipLoader.d.ts +2 -2
- package/dist/ImpersonationDialog.d.mts +2 -2
- package/dist/ImpersonationDialog.d.ts +2 -2
- package/dist/ImpersonationSwitcher.d.mts +2 -2
- package/dist/ImpersonationSwitcher.d.ts +2 -2
- package/dist/InfoGrid.d.mts +1 -2
- package/dist/InfoGrid.d.ts +1 -2
- package/dist/KnowledgeBase.d.mts +1 -2
- package/dist/KnowledgeBase.d.ts +1 -2
- package/dist/KpiCard.d.mts +2 -3
- package/dist/KpiCard.d.ts +2 -3
- package/dist/LanguageSwitcher.d.mts +2 -2
- package/dist/LanguageSwitcher.d.ts +2 -2
- package/dist/LicenseStatus.d.mts +1 -2
- package/dist/LicenseStatus.d.ts +1 -2
- package/dist/Link.d.mts +1 -2
- package/dist/Link.d.ts +1 -2
- package/dist/Login.d.mts +1 -2
- package/dist/Login.d.ts +1 -2
- package/dist/LoginCarousel.d.mts +2 -3
- package/dist/LoginCarousel.d.ts +2 -3
- package/dist/LoginGallery.d.mts +2 -3
- package/dist/LoginGallery.d.ts +2 -3
- package/dist/LoginTools.d.mts +1 -2
- package/dist/LoginTools.d.ts +1 -2
- package/dist/Map.d.mts +4 -5
- package/dist/Map.d.ts +4 -5
- package/dist/MarkdownEditor.d.mts +2 -2
- package/dist/MarkdownEditor.d.ts +2 -2
- package/dist/MediaCard.d.mts +2 -2
- package/dist/MediaCard.d.ts +2 -2
- package/dist/MediaLibraryLayout.d.mts +89 -0
- package/dist/MediaLibraryLayout.d.ts +89 -0
- package/dist/MediaLibraryLayout.js +369 -0
- package/dist/MediaLibraryLayout.mjs +348 -0
- package/dist/MediaSelector.d.mts +2 -2
- package/dist/MediaSelector.d.ts +2 -2
- package/dist/MediaTile.d.mts +2 -2
- package/dist/MediaTile.d.ts +2 -2
- package/dist/Money.d.mts +2 -2
- package/dist/Money.d.ts +2 -2
- package/dist/MotionProvider.d.mts +1 -2
- package/dist/MotionProvider.d.ts +1 -2
- package/dist/MultiComboSelect.d.mts +2 -3
- package/dist/MultiComboSelect.d.ts +2 -3
- package/dist/NotificationsCenter.d.mts +1 -2
- package/dist/NotificationsCenter.d.ts +1 -2
- package/dist/Numeric.d.mts +24 -0
- package/dist/Numeric.d.ts +24 -0
- package/dist/Numeric.js +102 -0
- package/dist/Numeric.mjs +76 -0
- package/dist/OmniSearch.d.mts +2 -3
- package/dist/OmniSearch.d.ts +2 -3
- package/dist/OrderButton.d.mts +2 -2
- package/dist/OrderButton.d.ts +2 -2
- package/dist/PageScaffold.d.mts +1 -2
- package/dist/PageScaffold.d.ts +1 -2
- package/dist/PageScaffold.js +1 -1
- package/dist/PageScaffold.mjs +1 -1
- package/dist/PageTransition.d.mts +1 -2
- package/dist/PageTransition.d.ts +1 -2
- package/dist/PageTransition.js +33 -27
- package/dist/PageTransition.mjs +33 -27
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.d.ts +2 -2
- package/dist/PasswordField.d.mts +1 -2
- package/dist/PasswordField.d.ts +1 -2
- package/dist/ProductCatalog.d.mts +2 -3
- package/dist/ProductCatalog.d.ts +2 -3
- package/dist/PromotionsCatalog.d.mts +2 -3
- package/dist/PromotionsCatalog.d.ts +2 -3
- package/dist/QrCode.d.mts +2 -2
- package/dist/QrCode.d.ts +2 -2
- package/dist/QuoteEditor.d.mts +2 -2
- package/dist/QuoteEditor.d.ts +2 -2
- package/dist/RechartsBarCard.d.mts +1 -2
- package/dist/RechartsBarCard.d.ts +1 -2
- package/dist/RechartsDonutCard.d.mts +1 -2
- package/dist/RechartsDonutCard.d.ts +1 -2
- package/dist/RechartsTimeSeriesCard.d.mts +1 -2
- package/dist/RechartsTimeSeriesCard.d.ts +1 -2
- package/dist/ReviewHistory.d.mts +3 -3
- package/dist/ReviewHistory.d.ts +3 -3
- package/dist/Reviews.d.mts +1 -2
- package/dist/Reviews.d.ts +1 -2
- package/dist/SearchInput.d.mts +2 -2
- package/dist/SearchInput.d.ts +2 -2
- package/dist/SegmentedTabs.d.mts +1 -2
- package/dist/SegmentedTabs.d.ts +1 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Select.d.ts +2 -2
- package/dist/ShareAccess.d.mts +1 -2
- package/dist/ShareAccess.d.ts +1 -2
- package/dist/Sidebar.d.mts +1 -2
- package/dist/Sidebar.d.ts +1 -2
- package/dist/Sidebar.js +492 -335
- package/dist/Sidebar.mjs +492 -335
- package/dist/StatCard.d.mts +1 -2
- package/dist/StatCard.d.ts +1 -2
- package/dist/Steps.d.mts +3 -3
- package/dist/Steps.d.ts +3 -3
- package/dist/StorageUsage.d.mts +1 -2
- package/dist/StorageUsage.d.ts +1 -2
- package/dist/Table.d.mts +4 -5
- package/dist/Table.d.ts +4 -5
- package/dist/TableRecordButton.d.mts +1 -2
- package/dist/TableRecordButton.d.ts +1 -2
- package/dist/TimeAgo.d.mts +2 -2
- package/dist/TimeAgo.d.ts +2 -2
- package/dist/TimePanel.d.mts +1 -2
- package/dist/TimePanel.d.ts +1 -2
- package/dist/TimeRangeField.d.mts +2 -2
- package/dist/TimeRangeField.d.ts +2 -2
- package/dist/Toast.d.mts +1 -2
- package/dist/Toast.d.ts +1 -2
- package/dist/Tooltip.d.mts +1 -2
- package/dist/Tooltip.d.ts +1 -2
- package/dist/UploadCard.d.mts +1 -2
- package/dist/UploadCard.d.ts +1 -2
- package/dist/WordEditor.d.mts +3 -3
- package/dist/WordEditor.d.ts +3 -3
- package/dist/WorkflowDiagram.d.mts +1 -2
- package/dist/WorkflowDiagram.d.ts +1 -2
- package/dist/{animations-CHrNeawW.d.mts → animations-Di5tQRLw.d.mts} +2 -2
- package/dist/{animations-CHrNeawW.d.ts → animations-Di5tQRLw.d.ts} +2 -2
- package/dist/animations.d.mts +1 -1
- package/dist/animations.d.ts +1 -1
- package/dist/charts.d.mts +2 -1
- package/dist/charts.d.ts +2 -1
- package/dist/charts.js +6 -0
- package/dist/charts.mjs +6 -2
- package/dist/i18n.d.mts +1 -2
- package/dist/i18n.d.ts +1 -2
- package/dist/iconos/WorkflowEdgesSvg.d.mts +1 -2
- package/dist/iconos/WorkflowEdgesSvg.d.ts +1 -2
- package/dist/iconos/index.d.mts +1546 -1547
- package/dist/iconos/index.d.ts +1546 -1547
- package/dist/iconos/regular-icons.js +2 -2
- package/dist/iconos/regular-icons.mjs +2 -2
- package/dist/index.d.mts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +33 -0
- package/dist/index.mjs +166 -146
- package/dist/internal/AutoSize.d.mts +1 -2
- package/dist/internal/AutoSize.d.ts +1 -2
- package/dist/map.css +1 -1
- package/dist/theme/FontSizeController.d.mts +2 -2
- package/dist/theme/FontSizeController.d.ts +2 -2
- package/dist/theme/FontSizeController.js +1 -1
- package/dist/theme/FontSizeController.mjs +1 -1
- package/dist/theme/ThemeController.d.mts +2 -3
- package/dist/theme/ThemeController.d.ts +2 -3
- package/dist/theme/ThemeProvider.d.mts +1 -2
- package/dist/theme/ThemeProvider.d.ts +1 -2
- package/dist/theme/ThemeScript.d.mts +2 -2
- package/dist/theme/ThemeScript.d.ts +2 -2
- package/dist/theme/ThemeToggle.d.mts +2 -2
- package/dist/theme/ThemeToggle.d.ts +2 -2
- package/dist/theme/ThemeToggle.js +4 -4
- package/dist/theme/ThemeToggle.mjs +4 -4
- package/package.json +7 -8
package/dist/HeliipLoader.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type HeliipLoaderProps = {
|
|
4
4
|
title?: string;
|
|
@@ -6,6 +6,6 @@ type HeliipLoaderProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
compact?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare function HeliipLoader({ title, subtitle, className, compact, }: HeliipLoaderProps):
|
|
9
|
+
declare function HeliipLoader({ title, subtitle, className, compact, }: HeliipLoaderProps): React__default.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { type HeliipLoaderProps, HeliipLoader as default };
|
package/dist/HeliipLoader.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type HeliipLoaderProps = {
|
|
4
4
|
title?: string;
|
|
@@ -6,6 +6,6 @@ type HeliipLoaderProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
compact?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare function HeliipLoader({ title, subtitle, className, compact, }: HeliipLoaderProps):
|
|
9
|
+
declare function HeliipLoader({ title, subtitle, className, compact, }: HeliipLoaderProps): React__default.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { type HeliipLoaderProps, HeliipLoader as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImpersonationUser } from './ImpersonationSwitcher.mjs';
|
|
3
3
|
|
|
4
4
|
type ImpersonationDialogLabels = {
|
|
@@ -20,6 +20,6 @@ type ImpersonationDialogProps = {
|
|
|
20
20
|
labels?: ImpersonationDialogLabels;
|
|
21
21
|
className?: string;
|
|
22
22
|
};
|
|
23
|
-
declare function ImpersonationDialog({ open, onClose, users, value, onChange, labels, className, }: ImpersonationDialogProps):
|
|
23
|
+
declare function ImpersonationDialog({ open, onClose, users, value, onChange, labels, className, }: ImpersonationDialogProps): React__default.JSX.Element;
|
|
24
24
|
|
|
25
25
|
export { type ImpersonationDialogLabels, type ImpersonationDialogProps, ImpersonationDialog as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { ImpersonationUser } from './ImpersonationSwitcher.js';
|
|
3
3
|
|
|
4
4
|
type ImpersonationDialogLabels = {
|
|
@@ -20,6 +20,6 @@ type ImpersonationDialogProps = {
|
|
|
20
20
|
labels?: ImpersonationDialogLabels;
|
|
21
21
|
className?: string;
|
|
22
22
|
};
|
|
23
|
-
declare function ImpersonationDialog({ open, onClose, users, value, onChange, labels, className, }: ImpersonationDialogProps):
|
|
23
|
+
declare function ImpersonationDialog({ open, onClose, users, value, onChange, labels, className, }: ImpersonationDialogProps): React__default.JSX.Element;
|
|
24
24
|
|
|
25
25
|
export { type ImpersonationDialogLabels, type ImpersonationDialogProps, ImpersonationDialog as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type ImpersonationUser = {
|
|
4
4
|
id: string | number;
|
|
@@ -33,6 +33,6 @@ type ImpersonationSwitcherProps = {
|
|
|
33
33
|
menuClassName?: string;
|
|
34
34
|
labels?: ImpersonationSwitcherLabels;
|
|
35
35
|
};
|
|
36
|
-
declare function ImpersonationSwitcher({ users, value, defaultValue, onChange, persistKey, searchable, align, mode, disabled, className, menuClassName, labels, }: ImpersonationSwitcherProps):
|
|
36
|
+
declare function ImpersonationSwitcher({ users, value, defaultValue, onChange, persistKey, searchable, align, mode, disabled, className, menuClassName, labels, }: ImpersonationSwitcherProps): React__default.JSX.Element;
|
|
37
37
|
|
|
38
38
|
export { type ImpersonationSwitcherLabels, type ImpersonationSwitcherProps, type ImpersonationUser, ImpersonationSwitcher as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type ImpersonationUser = {
|
|
4
4
|
id: string | number;
|
|
@@ -33,6 +33,6 @@ type ImpersonationSwitcherProps = {
|
|
|
33
33
|
menuClassName?: string;
|
|
34
34
|
labels?: ImpersonationSwitcherLabels;
|
|
35
35
|
};
|
|
36
|
-
declare function ImpersonationSwitcher({ users, value, defaultValue, onChange, persistKey, searchable, align, mode, disabled, className, menuClassName, labels, }: ImpersonationSwitcherProps):
|
|
36
|
+
declare function ImpersonationSwitcher({ users, value, defaultValue, onChange, persistKey, searchable, align, mode, disabled, className, menuClassName, labels, }: ImpersonationSwitcherProps): React__default.JSX.Element;
|
|
37
37
|
|
|
38
38
|
export { type ImpersonationSwitcherLabels, type ImpersonationSwitcherProps, type ImpersonationUser, ImpersonationSwitcher as default };
|
package/dist/InfoGrid.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type InfoItem = {
|
|
@@ -15,6 +14,6 @@ type Props = {
|
|
|
15
14
|
mdCols?: 1 | 2 | 3 | 4;
|
|
16
15
|
className?: string;
|
|
17
16
|
};
|
|
18
|
-
declare function InfoGrid({ items, placeholder, smCols, mdCols, className, }: Props):
|
|
17
|
+
declare function InfoGrid({ items, placeholder, smCols, mdCols, className, }: Props): React__default.JSX.Element;
|
|
19
18
|
|
|
20
19
|
export { type InfoItem, InfoGrid as default };
|
package/dist/InfoGrid.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type InfoItem = {
|
|
@@ -15,6 +14,6 @@ type Props = {
|
|
|
15
14
|
mdCols?: 1 | 2 | 3 | 4;
|
|
16
15
|
className?: string;
|
|
17
16
|
};
|
|
18
|
-
declare function InfoGrid({ items, placeholder, smCols, mdCols, className, }: Props):
|
|
17
|
+
declare function InfoGrid({ items, placeholder, smCols, mdCols, className, }: Props): React__default.JSX.Element;
|
|
19
18
|
|
|
20
19
|
export { type InfoItem, InfoGrid as default };
|
package/dist/KnowledgeBase.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type DocKind = "module" | "page" | "flow" | "faq" | "concept";
|
|
@@ -51,6 +50,6 @@ type KnowledgeBaseProps = {
|
|
|
51
50
|
}) => void;
|
|
52
51
|
className?: string;
|
|
53
52
|
};
|
|
54
|
-
declare function KnowledgeBase({ entries, initialId, persistKey, kinds, labels, headerSlot, onSelect, onFeedback, className, }: KnowledgeBaseProps):
|
|
53
|
+
declare function KnowledgeBase({ entries, initialId, persistKey, kinds, labels, headerSlot, onSelect, onFeedback, className, }: KnowledgeBaseProps): React__default.JSX.Element;
|
|
55
54
|
|
|
56
55
|
export { type DocEntry, type DocKind, type DocSection, type KnowledgeBaseLabels, type KnowledgeBaseProps, KnowledgeBase as default };
|
package/dist/KnowledgeBase.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type DocKind = "module" | "page" | "flow" | "faq" | "concept";
|
|
@@ -51,6 +50,6 @@ type KnowledgeBaseProps = {
|
|
|
51
50
|
}) => void;
|
|
52
51
|
className?: string;
|
|
53
52
|
};
|
|
54
|
-
declare function KnowledgeBase({ entries, initialId, persistKey, kinds, labels, headerSlot, onSelect, onFeedback, className, }: KnowledgeBaseProps):
|
|
53
|
+
declare function KnowledgeBase({ entries, initialId, persistKey, kinds, labels, headerSlot, onSelect, onFeedback, className, }: KnowledgeBaseProps): React__default.JSX.Element;
|
|
55
54
|
|
|
56
55
|
export { type DocEntry, type DocKind, type DocSection, type KnowledgeBaseLabels, type KnowledgeBaseProps, KnowledgeBase as default };
|
package/dist/KpiCard.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { Tone } from './Badge.mjs';
|
|
3
|
-
import 'react';
|
|
4
3
|
|
|
5
4
|
type Trend = "up" | "down" | "flat";
|
|
6
5
|
type KpiCardProps = {
|
|
@@ -20,6 +19,6 @@ type KpiCardProps = {
|
|
|
20
19
|
helpWidth?: number | string;
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
declare function KpiCard({ label, value, delta, help, clickable, tone, trend, loading, loadingMinDurationMs, skeleton }: KpiCardProps):
|
|
22
|
+
declare function KpiCard({ label, value, delta, help, clickable, tone, trend, loading, loadingMinDurationMs, skeleton }: KpiCardProps): React__default.JSX.Element;
|
|
24
23
|
|
|
25
24
|
export { type KpiCardProps, type Trend, KpiCard as default };
|
package/dist/KpiCard.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { Tone } from './Badge.js';
|
|
3
|
-
import 'react';
|
|
4
3
|
|
|
5
4
|
type Trend = "up" | "down" | "flat";
|
|
6
5
|
type KpiCardProps = {
|
|
@@ -20,6 +19,6 @@ type KpiCardProps = {
|
|
|
20
19
|
helpWidth?: number | string;
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
declare function KpiCard({ label, value, delta, help, clickable, tone, trend, loading, loadingMinDurationMs, skeleton }: KpiCardProps):
|
|
22
|
+
declare function KpiCard({ label, value, delta, help, clickable, tone, trend, loading, loadingMinDurationMs, skeleton }: KpiCardProps): React__default.JSX.Element;
|
|
24
23
|
|
|
25
24
|
export { type KpiCardProps, type Trend, KpiCard as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type LanguageOption = {
|
|
4
4
|
locale: string;
|
|
@@ -23,6 +23,6 @@ type LanguageSwitcherProps = {
|
|
|
23
23
|
className?: string;
|
|
24
24
|
menuClassName?: string;
|
|
25
25
|
};
|
|
26
|
-
declare function LanguageSwitcher({ locales, value, defaultValue, onChange, persistKey, setHtmlLang, setHtmlDir, searchable, align, label, ariaLabel, className, menuClassName, }: LanguageSwitcherProps):
|
|
26
|
+
declare function LanguageSwitcher({ locales, value, defaultValue, onChange, persistKey, setHtmlLang, setHtmlDir, searchable, align, label, ariaLabel, className, menuClassName, }: LanguageSwitcherProps): React__default.JSX.Element;
|
|
27
27
|
|
|
28
28
|
export { type LanguageOption, type LanguageSwitcherProps, LanguageSwitcher as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type LanguageOption = {
|
|
4
4
|
locale: string;
|
|
@@ -23,6 +23,6 @@ type LanguageSwitcherProps = {
|
|
|
23
23
|
className?: string;
|
|
24
24
|
menuClassName?: string;
|
|
25
25
|
};
|
|
26
|
-
declare function LanguageSwitcher({ locales, value, defaultValue, onChange, persistKey, setHtmlLang, setHtmlDir, searchable, align, label, ariaLabel, className, menuClassName, }: LanguageSwitcherProps):
|
|
26
|
+
declare function LanguageSwitcher({ locales, value, defaultValue, onChange, persistKey, setHtmlLang, setHtmlDir, searchable, align, label, ariaLabel, className, menuClassName, }: LanguageSwitcherProps): React__default.JSX.Element;
|
|
27
27
|
|
|
28
28
|
export { type LanguageOption, type LanguageSwitcherProps, LanguageSwitcher as default };
|
package/dist/LicenseStatus.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type LicenseBilling = "monthly" | "annual" | "one_time";
|
|
@@ -63,6 +62,6 @@ type LicenseStatusProps = {
|
|
|
63
62
|
secondaryAction?: LicenseAction;
|
|
64
63
|
labels?: Partial<LicenseStatusLabels>;
|
|
65
64
|
};
|
|
66
|
-
declare function LicenseStatus({ license, className, compact, showDetailsToggle, detailsOpen: controlledDetailsOpen, onDetailsOpenChange, primaryAction, secondaryAction, labels: labelsOverride, }: LicenseStatusProps):
|
|
65
|
+
declare function LicenseStatus({ license, className, compact, showDetailsToggle, detailsOpen: controlledDetailsOpen, onDetailsOpenChange, primaryAction, secondaryAction, labels: labelsOverride, }: LicenseStatusProps): React__default.JSX.Element;
|
|
67
66
|
|
|
68
67
|
export { type LicenseAction, type LicenseBilling, type LicenseInfo, type LicensePlan, type LicenseState, type LicenseStatusLabels, type LicenseStatusProps, LicenseStatus as default };
|
package/dist/LicenseStatus.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type LicenseBilling = "monthly" | "annual" | "one_time";
|
|
@@ -63,6 +62,6 @@ type LicenseStatusProps = {
|
|
|
63
62
|
secondaryAction?: LicenseAction;
|
|
64
63
|
labels?: Partial<LicenseStatusLabels>;
|
|
65
64
|
};
|
|
66
|
-
declare function LicenseStatus({ license, className, compact, showDetailsToggle, detailsOpen: controlledDetailsOpen, onDetailsOpenChange, primaryAction, secondaryAction, labels: labelsOverride, }: LicenseStatusProps):
|
|
65
|
+
declare function LicenseStatus({ license, className, compact, showDetailsToggle, detailsOpen: controlledDetailsOpen, onDetailsOpenChange, primaryAction, secondaryAction, labels: labelsOverride, }: LicenseStatusProps): React__default.JSX.Element;
|
|
67
66
|
|
|
68
67
|
export { type LicenseAction, type LicenseBilling, type LicenseInfo, type LicensePlan, type LicenseState, type LicenseStatusLabels, type LicenseStatusProps, LicenseStatus as default };
|
package/dist/Link.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type Size = "sm" | "md";
|
|
@@ -10,6 +9,6 @@ type LinkProps = Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, "h
|
|
|
10
9
|
external?: boolean;
|
|
11
10
|
color?: "accent" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
12
11
|
};
|
|
13
|
-
declare function Link({ href, children, className, showAnchorIcon, underline, size, external, color, ...rest }: LinkProps):
|
|
12
|
+
declare function Link({ href, children, className, showAnchorIcon, underline, size, external, color, ...rest }: LinkProps): React__default.JSX.Element;
|
|
14
13
|
|
|
15
14
|
export { type LinkProps, Link as default };
|
package/dist/Link.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
3
|
type Size = "sm" | "md";
|
|
@@ -10,6 +9,6 @@ type LinkProps = Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, "h
|
|
|
10
9
|
external?: boolean;
|
|
11
10
|
color?: "accent" | "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
12
11
|
};
|
|
13
|
-
declare function Link({ href, children, className, showAnchorIcon, underline, size, external, color, ...rest }: LinkProps):
|
|
12
|
+
declare function Link({ href, children, className, showAnchorIcon, underline, size, external, color, ...rest }: LinkProps): React__default.JSX.Element;
|
|
14
13
|
|
|
15
14
|
export { type LinkProps, Link as default };
|
package/dist/Login.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { LoginCarouselSlide, LoginCarouselProps } from './LoginCarousel.mjs';
|
|
4
3
|
import { LoginGallerySlideDef, LoginGalleryProps } from './LoginGallery.mjs';
|
|
@@ -36,6 +35,6 @@ type LoginProps = {
|
|
|
36
35
|
footer?: React__default.ReactNode;
|
|
37
36
|
maxWidthClassName?: string;
|
|
38
37
|
};
|
|
39
|
-
declare function Login({ className, variant, heightMode, brand, tools, aside, slides, carouselProps, gallerySlides, galleryProps, galleryBackground, backgroundMedia, title, subtitle, badge, form, footer, maxWidthClassName, }: LoginProps):
|
|
38
|
+
declare function Login({ className, variant, heightMode, brand, tools, aside, slides, carouselProps, gallerySlides, galleryProps, galleryBackground, backgroundMedia, title, subtitle, badge, form, footer, maxWidthClassName, }: LoginProps): React__default.JSX.Element;
|
|
40
39
|
|
|
41
40
|
export { type LoginMedia, type LoginProps, type LoginVariant, Login as default };
|
package/dist/Login.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { LoginCarouselSlide, LoginCarouselProps } from './LoginCarousel.js';
|
|
4
3
|
import { LoginGallerySlideDef, LoginGalleryProps } from './LoginGallery.js';
|
|
@@ -36,6 +35,6 @@ type LoginProps = {
|
|
|
36
35
|
footer?: React__default.ReactNode;
|
|
37
36
|
maxWidthClassName?: string;
|
|
38
37
|
};
|
|
39
|
-
declare function Login({ className, variant, heightMode, brand, tools, aside, slides, carouselProps, gallerySlides, galleryProps, galleryBackground, backgroundMedia, title, subtitle, badge, form, footer, maxWidthClassName, }: LoginProps):
|
|
38
|
+
declare function Login({ className, variant, heightMode, brand, tools, aside, slides, carouselProps, gallerySlides, galleryProps, galleryBackground, backgroundMedia, title, subtitle, badge, form, footer, maxWidthClassName, }: LoginProps): React__default.JSX.Element;
|
|
40
39
|
|
|
41
40
|
export { type LoginMedia, type LoginProps, type LoginVariant, Login as default };
|
package/dist/LoginCarousel.d.mts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { CarouselSlide, CarouselProps } from './Carousel.mjs';
|
|
3
3
|
export { CarouselApi, useCarousel } from './Carousel.mjs';
|
|
4
|
-
import 'react';
|
|
5
4
|
|
|
6
5
|
type LoginCarouselSlide = CarouselSlide;
|
|
7
6
|
type LoginCarouselProps = CarouselProps;
|
|
8
7
|
|
|
9
|
-
declare function LoginCarousel(props: LoginCarouselProps):
|
|
8
|
+
declare function LoginCarousel(props: LoginCarouselProps): React__default.JSX.Element;
|
|
10
9
|
|
|
11
10
|
export { type LoginCarouselProps, type LoginCarouselSlide, LoginCarousel as default };
|
package/dist/LoginCarousel.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { CarouselSlide, CarouselProps } from './Carousel.js';
|
|
3
3
|
export { CarouselApi, useCarousel } from './Carousel.js';
|
|
4
|
-
import 'react';
|
|
5
4
|
|
|
6
5
|
type LoginCarouselSlide = CarouselSlide;
|
|
7
6
|
type LoginCarouselProps = CarouselProps;
|
|
8
7
|
|
|
9
|
-
declare function LoginCarousel(props: LoginCarouselProps):
|
|
8
|
+
declare function LoginCarousel(props: LoginCarouselProps): React__default.JSX.Element;
|
|
10
9
|
|
|
11
10
|
export { type LoginCarouselProps, type LoginCarouselSlide, LoginCarousel as default };
|
package/dist/LoginGallery.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { LoginCarouselProps } from './LoginCarousel.mjs';
|
|
3
3
|
import './Carousel.mjs';
|
|
4
|
-
import 'react';
|
|
5
4
|
|
|
6
5
|
type LoginGalleryItem = {
|
|
7
6
|
title: string;
|
|
@@ -22,6 +21,6 @@ type LoginGalleryProps = {
|
|
|
22
21
|
showMedia?: boolean;
|
|
23
22
|
carouselProps?: Omit<LoginCarouselProps, "slides">;
|
|
24
23
|
};
|
|
25
|
-
declare function LoginGallery({ className, slides, carouselProps, showMedia }: LoginGalleryProps):
|
|
24
|
+
declare function LoginGallery({ className, slides, carouselProps, showMedia }: LoginGalleryProps): React__default.JSX.Element;
|
|
26
25
|
|
|
27
26
|
export { type LoginGalleryItem, type LoginGalleryProps, type LoginGallerySlideDef, LoginGallery as default };
|
package/dist/LoginGallery.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { LoginCarouselProps } from './LoginCarousel.js';
|
|
3
3
|
import './Carousel.js';
|
|
4
|
-
import 'react';
|
|
5
4
|
|
|
6
5
|
type LoginGalleryItem = {
|
|
7
6
|
title: string;
|
|
@@ -22,6 +21,6 @@ type LoginGalleryProps = {
|
|
|
22
21
|
showMedia?: boolean;
|
|
23
22
|
carouselProps?: Omit<LoginCarouselProps, "slides">;
|
|
24
23
|
};
|
|
25
|
-
declare function LoginGallery({ className, slides, carouselProps, showMedia }: LoginGalleryProps):
|
|
24
|
+
declare function LoginGallery({ className, slides, carouselProps, showMedia }: LoginGalleryProps): React__default.JSX.Element;
|
|
26
25
|
|
|
27
26
|
export { type LoginGalleryItem, type LoginGalleryProps, type LoginGallerySlideDef, LoginGallery as default };
|
package/dist/LoginTools.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { ThemeControllerProps } from './theme/ThemeController.mjs';
|
|
4
3
|
import { FontSizeControllerProps } from './theme/FontSizeController.mjs';
|
|
@@ -21,6 +20,6 @@ type LoginToolsProps = {
|
|
|
21
20
|
showFontSize?: boolean;
|
|
22
21
|
fontSizeProps?: Omit<FontSizeControllerProps, "className">;
|
|
23
22
|
};
|
|
24
|
-
declare function LoginTools({ className, helpLabel, helpItems, showTheme, themeProps, showFontSize, fontSizeProps, }: LoginToolsProps):
|
|
23
|
+
declare function LoginTools({ className, helpLabel, helpItems, showTheme, themeProps, showFontSize, fontSizeProps, }: LoginToolsProps): React__default.JSX.Element;
|
|
25
24
|
|
|
26
25
|
export { type LoginHelpItem, type LoginToolsProps, LoginTools as default };
|
package/dist/LoginTools.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { ThemeControllerProps } from './theme/ThemeController.js';
|
|
4
3
|
import { FontSizeControllerProps } from './theme/FontSizeController.js';
|
|
@@ -21,6 +20,6 @@ type LoginToolsProps = {
|
|
|
21
20
|
showFontSize?: boolean;
|
|
22
21
|
fontSizeProps?: Omit<FontSizeControllerProps, "className">;
|
|
23
22
|
};
|
|
24
|
-
declare function LoginTools({ className, helpLabel, helpItems, showTheme, themeProps, showFontSize, fontSizeProps, }: LoginToolsProps):
|
|
23
|
+
declare function LoginTools({ className, helpLabel, helpItems, showTheme, themeProps, showFontSize, fontSizeProps, }: LoginToolsProps): React__default.JSX.Element;
|
|
25
24
|
|
|
26
25
|
export { type LoginHelpItem, type LoginToolsProps, LoginTools as default };
|
package/dist/Map.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import MapLibreGL, { StyleSpecification, MarkerOptions, PopupOptions } from 'maplibre-gl';
|
|
1
|
+
import MapLibreGL, { MarkerOptions, PopupOptions, StyleSpecification } from 'maplibre-gl';
|
|
3
2
|
import React__default, { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
type ThemeMode = "light" | "dark";
|
|
@@ -51,7 +50,7 @@ type MapMarkerProps = {
|
|
|
51
50
|
lat: number;
|
|
52
51
|
}) => void;
|
|
53
52
|
} & Omit<MarkerOptions, "element">;
|
|
54
|
-
declare function MapMarker({ longitude, latitude, children, onClick, onMouseEnter, onMouseLeave, onDragStart, onDrag, onDragEnd, draggable, ...markerOptions }: MapMarkerProps):
|
|
53
|
+
declare function MapMarker({ longitude, latitude, children, onClick, onMouseEnter, onMouseLeave, onDragStart, onDrag, onDragEnd, draggable, ...markerOptions }: MapMarkerProps): React__default.JSX.Element;
|
|
55
54
|
type MarkerContentProps = {
|
|
56
55
|
children?: ReactNode;
|
|
57
56
|
className?: string;
|
|
@@ -73,7 +72,7 @@ type MarkerLabelProps = {
|
|
|
73
72
|
className?: string;
|
|
74
73
|
position?: "top" | "bottom";
|
|
75
74
|
};
|
|
76
|
-
declare function MarkerLabel({ children, className, position }: MarkerLabelProps):
|
|
75
|
+
declare function MarkerLabel({ children, className, position }: MarkerLabelProps): React__default.JSX.Element;
|
|
77
76
|
type MapControlsProps = {
|
|
78
77
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
79
78
|
showZoom?: boolean;
|
|
@@ -86,7 +85,7 @@ type MapControlsProps = {
|
|
|
86
85
|
latitude: number;
|
|
87
86
|
}) => void;
|
|
88
87
|
};
|
|
89
|
-
declare function MapControls({ position, showZoom, showCompass, showLocate, showFullscreen, className, onLocate, }: MapControlsProps):
|
|
88
|
+
declare function MapControls({ position, showZoom, showCompass, showLocate, showFullscreen, className, onLocate, }: MapControlsProps): React__default.JSX.Element | null;
|
|
90
89
|
type MapPopupProps = {
|
|
91
90
|
longitude: number;
|
|
92
91
|
latitude: number;
|
package/dist/Map.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import MapLibreGL, { StyleSpecification, MarkerOptions, PopupOptions } from 'maplibre-gl';
|
|
1
|
+
import MapLibreGL, { MarkerOptions, PopupOptions, StyleSpecification } from 'maplibre-gl';
|
|
3
2
|
import React__default, { ReactNode } from 'react';
|
|
4
3
|
|
|
5
4
|
type ThemeMode = "light" | "dark";
|
|
@@ -51,7 +50,7 @@ type MapMarkerProps = {
|
|
|
51
50
|
lat: number;
|
|
52
51
|
}) => void;
|
|
53
52
|
} & Omit<MarkerOptions, "element">;
|
|
54
|
-
declare function MapMarker({ longitude, latitude, children, onClick, onMouseEnter, onMouseLeave, onDragStart, onDrag, onDragEnd, draggable, ...markerOptions }: MapMarkerProps):
|
|
53
|
+
declare function MapMarker({ longitude, latitude, children, onClick, onMouseEnter, onMouseLeave, onDragStart, onDrag, onDragEnd, draggable, ...markerOptions }: MapMarkerProps): React__default.JSX.Element;
|
|
55
54
|
type MarkerContentProps = {
|
|
56
55
|
children?: ReactNode;
|
|
57
56
|
className?: string;
|
|
@@ -73,7 +72,7 @@ type MarkerLabelProps = {
|
|
|
73
72
|
className?: string;
|
|
74
73
|
position?: "top" | "bottom";
|
|
75
74
|
};
|
|
76
|
-
declare function MarkerLabel({ children, className, position }: MarkerLabelProps):
|
|
75
|
+
declare function MarkerLabel({ children, className, position }: MarkerLabelProps): React__default.JSX.Element;
|
|
77
76
|
type MapControlsProps = {
|
|
78
77
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
79
78
|
showZoom?: boolean;
|
|
@@ -86,7 +85,7 @@ type MapControlsProps = {
|
|
|
86
85
|
latitude: number;
|
|
87
86
|
}) => void;
|
|
88
87
|
};
|
|
89
|
-
declare function MapControls({ position, showZoom, showCompass, showLocate, showFullscreen, className, onLocate, }: MapControlsProps):
|
|
88
|
+
declare function MapControls({ position, showZoom, showCompass, showLocate, showFullscreen, className, onLocate, }: MapControlsProps): React__default.JSX.Element | null;
|
|
90
89
|
type MapPopupProps = {
|
|
91
90
|
longitude: number;
|
|
92
91
|
latitude: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type Template = {
|
|
4
4
|
label: string;
|
|
@@ -14,6 +14,6 @@ type MarkdownEditorProps = {
|
|
|
14
14
|
templates?: Template[];
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
};
|
|
17
|
-
declare function MarkdownEditor({ value, onChange, placeholder, rows, height, className, templates, disabled, }: MarkdownEditorProps):
|
|
17
|
+
declare function MarkdownEditor({ value, onChange, placeholder, rows, height, className, templates, disabled, }: MarkdownEditorProps): React__default.JSX.Element;
|
|
18
18
|
|
|
19
19
|
export { type MarkdownEditorProps, MarkdownEditor as default };
|
package/dist/MarkdownEditor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
type Template = {
|
|
4
4
|
label: string;
|
|
@@ -14,6 +14,6 @@ type MarkdownEditorProps = {
|
|
|
14
14
|
templates?: Template[];
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
};
|
|
17
|
-
declare function MarkdownEditor({ value, onChange, placeholder, rows, height, className, templates, disabled, }: MarkdownEditorProps):
|
|
17
|
+
declare function MarkdownEditor({ value, onChange, placeholder, rows, height, className, templates, disabled, }: MarkdownEditorProps): React__default.JSX.Element;
|
|
18
18
|
|
|
19
19
|
export { type MarkdownEditorProps, MarkdownEditor as default };
|
package/dist/MediaCard.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
type MediaCardProps = {
|
|
4
4
|
imageUrl?: string | null;
|
|
@@ -12,6 +12,6 @@ type MediaCardProps = {
|
|
|
12
12
|
onDelete?: () => void;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
declare function MediaCard({ imageUrl, title, subtitle, copyUrl, mimeType, isPrivateImage, onRename, onReplace, onDelete, className, }: MediaCardProps):
|
|
15
|
+
declare function MediaCard({ imageUrl, title, subtitle, copyUrl, mimeType, isPrivateImage, onRename, onReplace, onDelete, className, }: MediaCardProps): React.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { type MediaCardProps, MediaCard as default };
|
package/dist/MediaCard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
type MediaCardProps = {
|
|
4
4
|
imageUrl?: string | null;
|
|
@@ -12,6 +12,6 @@ type MediaCardProps = {
|
|
|
12
12
|
onDelete?: () => void;
|
|
13
13
|
className?: string;
|
|
14
14
|
};
|
|
15
|
-
declare function MediaCard({ imageUrl, title, subtitle, copyUrl, mimeType, isPrivateImage, onRename, onReplace, onDelete, className, }: MediaCardProps):
|
|
15
|
+
declare function MediaCard({ imageUrl, title, subtitle, copyUrl, mimeType, isPrivateImage, onRename, onReplace, onDelete, className, }: MediaCardProps): React.JSX.Element;
|
|
16
16
|
|
|
17
17
|
export { type MediaCardProps, MediaCard as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import Button from './Button.mjs';
|
|
3
|
+
import { DataPageLayoutProps, DataPageKpiTickerItem, DataPagePaginationProps } from './DataPageLayout.mjs';
|
|
4
|
+
import './DataTable.mjs';
|
|
5
|
+
import './DataTableCardFooter.mjs';
|
|
6
|
+
import './EmptyState.mjs';
|
|
7
|
+
import './PageScaffold.mjs';
|
|
8
|
+
import './Badge.mjs';
|
|
9
|
+
import './Breadcrumb.mjs';
|
|
10
|
+
import './FiltersMultiSelect.mjs';
|
|
11
|
+
import './CheckboxPillsGroup.mjs';
|
|
12
|
+
|
|
13
|
+
type MediaLibraryBaseItem = {
|
|
14
|
+
id: string | number;
|
|
15
|
+
name?: string;
|
|
16
|
+
url?: string | null;
|
|
17
|
+
meta?: React__default.ReactNode;
|
|
18
|
+
active?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type MediaLibraryUploadItem = {
|
|
21
|
+
id: string | number;
|
|
22
|
+
name: string;
|
|
23
|
+
progress: number;
|
|
24
|
+
status?: "pending" | "uploading" | "done" | "error";
|
|
25
|
+
error?: React__default.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
type MediaLibraryLabels = {
|
|
28
|
+
actions?: string;
|
|
29
|
+
uploadAction?: string;
|
|
30
|
+
clearSearch?: string;
|
|
31
|
+
uploadTitle?: string;
|
|
32
|
+
uploadSubtitle?: React__default.ReactNode;
|
|
33
|
+
uploadButton?: string;
|
|
34
|
+
uploadDropTitle?: React__default.ReactNode;
|
|
35
|
+
uploadDropHelp?: React__default.ReactNode;
|
|
36
|
+
noItemsTitle?: React__default.ReactNode;
|
|
37
|
+
noItemsSubtitle?: React__default.ReactNode;
|
|
38
|
+
noSearchResultsSubtitle?: React__default.ReactNode;
|
|
39
|
+
previewTitle?: React__default.ReactNode;
|
|
40
|
+
previewAction?: string;
|
|
41
|
+
copyAction?: string;
|
|
42
|
+
copiedAction?: string;
|
|
43
|
+
renameAction?: string;
|
|
44
|
+
replaceAction?: string;
|
|
45
|
+
deleteAction?: string;
|
|
46
|
+
brokenImage?: string;
|
|
47
|
+
};
|
|
48
|
+
type MediaLibraryUploadConfig = {
|
|
49
|
+
accept?: string;
|
|
50
|
+
multiple?: boolean;
|
|
51
|
+
buttonColor?: React__default.ComponentProps<typeof Button>["color"];
|
|
52
|
+
onFilesSelected: (files: FileList | null) => void | Promise<void>;
|
|
53
|
+
};
|
|
54
|
+
type DataLayoutBaseProps = Omit<DataPageLayoutProps<MediaLibraryBaseItem, string>, "actions" | "beforeTable" | "controlsRight" | "empty" | "emptyAction" | "emptyState" | "error" | "pagination" | "rows" | "columns" | "getRowId" | "search" | "table" | "tableContainerClassName" | "tickerItems">;
|
|
55
|
+
type MediaLibraryLayoutProps<Item extends MediaLibraryBaseItem = MediaLibraryBaseItem> = DataLayoutBaseProps & {
|
|
56
|
+
items: Item[];
|
|
57
|
+
totalItems?: number;
|
|
58
|
+
tickerItems?: DataPageKpiTickerItem[];
|
|
59
|
+
query?: string;
|
|
60
|
+
onQueryChange?: (next: string) => void;
|
|
61
|
+
searchId?: string;
|
|
62
|
+
searchPlaceholder?: string;
|
|
63
|
+
upload?: MediaLibraryUploadConfig | false;
|
|
64
|
+
uploads?: MediaLibraryUploadItem[];
|
|
65
|
+
pagination?: DataPagePaginationProps;
|
|
66
|
+
error?: React__default.ReactNode;
|
|
67
|
+
labels?: MediaLibraryLabels;
|
|
68
|
+
actionMenuMaxHeight?: number;
|
|
69
|
+
controlsRight?: React__default.ReactNode;
|
|
70
|
+
beforeGallery?: React__default.ReactNode;
|
|
71
|
+
afterGallery?: React__default.ReactNode;
|
|
72
|
+
extraActions?: React__default.ReactNode;
|
|
73
|
+
overlays?: React__default.ReactNode;
|
|
74
|
+
tableContainerClassName?: string;
|
|
75
|
+
gridClassName?: string;
|
|
76
|
+
getItemId?: (item: Item) => string | number;
|
|
77
|
+
getItemName?: (item: Item) => string;
|
|
78
|
+
getItemUrl?: (item: Item) => string | null | undefined;
|
|
79
|
+
getItemMeta?: (item: Item) => React__default.ReactNode;
|
|
80
|
+
getItemActive?: (item: Item) => boolean;
|
|
81
|
+
onPreview?: (item: Item) => void;
|
|
82
|
+
onCopyUrl?: (item: Item) => void | Promise<void>;
|
|
83
|
+
onRename?: (item: Item) => void;
|
|
84
|
+
onReplace?: (item: Item) => void;
|
|
85
|
+
onDelete?: (item: Item) => void;
|
|
86
|
+
};
|
|
87
|
+
declare function MediaLibraryLayout<Item extends MediaLibraryBaseItem = MediaLibraryBaseItem>({ items, totalItems, tickerItems, query, onQueryChange, searchId, searchPlaceholder, upload, uploads, pagination, error, labels: labelsProp, actionMenuMaxHeight, controlsRight, beforeGallery, afterGallery, extraActions, overlays, tableContainerClassName, gridClassName, getItemId, getItemName, getItemUrl, getItemMeta, getItemActive, onPreview, onCopyUrl, onRename, onReplace, onDelete, ...pageProps }: MediaLibraryLayoutProps<Item>): React__default.JSX.Element;
|
|
88
|
+
|
|
89
|
+
export { type MediaLibraryBaseItem, type MediaLibraryLabels, type MediaLibraryLayoutProps, type MediaLibraryUploadConfig, type MediaLibraryUploadItem, MediaLibraryLayout as default };
|