@prismiq/react 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -0
- package/dist/CustomSQLEditor-BXB4rf1q.d.cts +1297 -0
- package/dist/CustomSQLEditor-DYeId0Gp.d.ts +1297 -0
- package/dist/DashboardDialog-B3vYC5Gs.d.ts +1106 -0
- package/dist/DashboardDialog-LHmrtNQU.d.cts +1106 -0
- package/dist/accessibility-2yy5yqRR.d.cts +145 -0
- package/dist/accessibility-2yy5yqRR.d.ts +145 -0
- package/dist/charts/index.cjs +110 -0
- package/dist/charts/index.cjs.map +1 -0
- package/dist/charts/index.d.cts +2 -0
- package/dist/charts/index.d.ts +2 -0
- package/dist/charts/index.js +5 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/chunk-2H5WTH4K.js +2409 -0
- package/dist/chunk-2H5WTH4K.js.map +1 -0
- package/dist/chunk-4AVL6GQK.cjs +470 -0
- package/dist/chunk-4AVL6GQK.cjs.map +1 -0
- package/dist/chunk-EX74SI67.js +455 -0
- package/dist/chunk-EX74SI67.js.map +1 -0
- package/dist/chunk-FEABEF3J.cjs +7543 -0
- package/dist/chunk-FEABEF3J.cjs.map +1 -0
- package/dist/chunk-JTCBZDHY.js +126 -0
- package/dist/chunk-JTCBZDHY.js.map +1 -0
- package/dist/chunk-LMTG3LRC.cjs +326 -0
- package/dist/chunk-LMTG3LRC.cjs.map +1 -0
- package/dist/chunk-MDXGGZSW.cjs +273 -0
- package/dist/chunk-MDXGGZSW.cjs.map +1 -0
- package/dist/chunk-MOAEEF5P.js +7510 -0
- package/dist/chunk-MOAEEF5P.js.map +1 -0
- package/dist/chunk-NK7HKX2J.cjs +2459 -0
- package/dist/chunk-NK7HKX2J.cjs.map +1 -0
- package/dist/chunk-NY6TZLST.cjs +8781 -0
- package/dist/chunk-NY6TZLST.cjs.map +1 -0
- package/dist/chunk-T6STUE7E.js +321 -0
- package/dist/chunk-T6STUE7E.js.map +1 -0
- package/dist/chunk-TRW7DKLP.cjs +141 -0
- package/dist/chunk-TRW7DKLP.cjs.map +1 -0
- package/dist/chunk-UPYINBZU.js +8706 -0
- package/dist/chunk-UPYINBZU.js.map +1 -0
- package/dist/chunk-WWTT2OJ5.js +246 -0
- package/dist/chunk-WWTT2OJ5.js.map +1 -0
- package/dist/components/index.cjs +222 -0
- package/dist/components/index.cjs.map +1 -0
- package/dist/components/index.d.cts +207 -0
- package/dist/components/index.d.ts +207 -0
- package/dist/components/index.js +5 -0
- package/dist/components/index.js.map +1 -0
- package/dist/dashboard/index.cjs +140 -0
- package/dist/dashboard/index.cjs.map +1 -0
- package/dist/dashboard/index.d.cts +302 -0
- package/dist/dashboard/index.d.ts +302 -0
- package/dist/dashboard/index.js +7 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/export/index.cjs +32 -0
- package/dist/export/index.cjs.map +1 -0
- package/dist/export/index.d.cts +197 -0
- package/dist/export/index.d.ts +197 -0
- package/dist/export/index.js +3 -0
- package/dist/export/index.js.map +1 -0
- package/dist/index-C-Qcuu4Y.d.cts +821 -0
- package/dist/index-rPc7ijt8.d.ts +821 -0
- package/dist/index.cjs +1486 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1435 -0
- package/dist/index.d.ts +1435 -0
- package/dist/index.js +926 -0
- package/dist/index.js.map +1 -0
- package/dist/ssr/index.cjs +64 -0
- package/dist/ssr/index.cjs.map +1 -0
- package/dist/ssr/index.d.cts +213 -0
- package/dist/ssr/index.d.ts +213 -0
- package/dist/ssr/index.js +3 -0
- package/dist/ssr/index.js.map +1 -0
- package/dist/types-WrCbOeAV.d.cts +569 -0
- package/dist/types-WrCbOeAV.d.ts +569 -0
- package/dist/utils/index.cjs +64 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +112 -0
- package/dist/utils/index.d.ts +112 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +110 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Accessibility utilities for keyboard navigation and screen readers.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
interface FocusTrapOptions {
|
|
8
|
+
/** Whether the focus trap is active. */
|
|
9
|
+
active?: boolean;
|
|
10
|
+
/** Whether to focus the first focusable element when activated. */
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
/** Whether to restore focus when deactivated. */
|
|
13
|
+
restoreFocus?: boolean;
|
|
14
|
+
/** Called when Escape is pressed. */
|
|
15
|
+
onEscape?: () => void;
|
|
16
|
+
}
|
|
17
|
+
interface ArrowNavigationOptions {
|
|
18
|
+
/** Whether navigation wraps around at edges. */
|
|
19
|
+
wrap?: boolean;
|
|
20
|
+
/** Orientation for arrow key mapping. */
|
|
21
|
+
orientation?: 'horizontal' | 'vertical' | 'both';
|
|
22
|
+
/** Callback when active item changes. */
|
|
23
|
+
onActiveChange?: (index: number) => void;
|
|
24
|
+
}
|
|
25
|
+
interface UseFocusTrapResult {
|
|
26
|
+
/** Ref to attach to the container element. */
|
|
27
|
+
containerRef: RefObject<HTMLElement>;
|
|
28
|
+
/** Activate the focus trap. */
|
|
29
|
+
activate: () => void;
|
|
30
|
+
/** Deactivate the focus trap. */
|
|
31
|
+
deactivate: () => void;
|
|
32
|
+
/** Whether the trap is active. */
|
|
33
|
+
isActive: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface UseArrowNavigationResult {
|
|
36
|
+
/** Current active index. */
|
|
37
|
+
activeIndex: number;
|
|
38
|
+
/** Set active index. */
|
|
39
|
+
setActiveIndex: (index: number) => void;
|
|
40
|
+
/** Key down handler to attach to container. */
|
|
41
|
+
onKeyDown: (event: React.KeyboardEvent) => void;
|
|
42
|
+
/** Get props for an item. */
|
|
43
|
+
getItemProps: (index: number) => {
|
|
44
|
+
tabIndex: number;
|
|
45
|
+
'aria-selected': boolean;
|
|
46
|
+
onFocus: () => void;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Hook to trap focus within a container.
|
|
51
|
+
*
|
|
52
|
+
* @param options - Focus trap options
|
|
53
|
+
* @returns Focus trap controls
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```tsx
|
|
57
|
+
* function Modal({ isOpen, onClose }) {
|
|
58
|
+
* const { containerRef, activate, deactivate } = useFocusTrap({
|
|
59
|
+
* active: isOpen,
|
|
60
|
+
* onEscape: onClose,
|
|
61
|
+
* });
|
|
62
|
+
*
|
|
63
|
+
* return (
|
|
64
|
+
* <div ref={containerRef} role="dialog" aria-modal="true">
|
|
65
|
+
* <button onClick={onClose}>Close</button>
|
|
66
|
+
* <input type="text" />
|
|
67
|
+
* </div>
|
|
68
|
+
* );
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
declare function useFocusTrap(options?: FocusTrapOptions): UseFocusTrapResult;
|
|
73
|
+
/**
|
|
74
|
+
* Hook for arrow key navigation through a list of items.
|
|
75
|
+
*
|
|
76
|
+
* @param itemCount - Number of items in the list
|
|
77
|
+
* @param options - Navigation options
|
|
78
|
+
* @returns Navigation state and handlers
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```tsx
|
|
82
|
+
* function Menu({ items }) {
|
|
83
|
+
* const { activeIndex, onKeyDown, getItemProps } = useArrowNavigation(items.length);
|
|
84
|
+
*
|
|
85
|
+
* return (
|
|
86
|
+
* <ul role="menu" onKeyDown={onKeyDown}>
|
|
87
|
+
* {items.map((item, index) => (
|
|
88
|
+
* <li key={index} role="menuitem" {...getItemProps(index)}>
|
|
89
|
+
* {item}
|
|
90
|
+
* </li>
|
|
91
|
+
* ))}
|
|
92
|
+
* </ul>
|
|
93
|
+
* );
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
declare function useArrowNavigation(itemCount: number, options?: ArrowNavigationOptions): UseArrowNavigationResult;
|
|
98
|
+
/**
|
|
99
|
+
* Announce a message to screen readers.
|
|
100
|
+
*
|
|
101
|
+
* @param message - The message to announce
|
|
102
|
+
* @param priority - Announcement priority ('polite' or 'assertive')
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```tsx
|
|
106
|
+
* // Announce a status update
|
|
107
|
+
* announceToScreenReader('Results loaded: 42 items');
|
|
108
|
+
*
|
|
109
|
+
* // Urgent announcement
|
|
110
|
+
* announceToScreenReader('Error: Connection lost', 'assertive');
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
declare function announceToScreenReader(message: string, priority?: 'polite' | 'assertive'): void;
|
|
114
|
+
/**
|
|
115
|
+
* CSS for focus-visible styling.
|
|
116
|
+
* Add this to your global styles or use the useFocusVisible hook.
|
|
117
|
+
*/
|
|
118
|
+
declare const focusVisibleStyles = "\n /* Hide focus outline for mouse users */\n :focus:not(:focus-visible) {\n outline: none;\n }\n\n /* Show focus outline for keyboard users */\n :focus-visible {\n outline: 2px solid var(--prismiq-color-primary);\n outline-offset: 2px;\n }\n\n /* Prismiq focus ring class */\n .prismiq-focus-ring:focus-visible {\n outline: 2px solid var(--prismiq-color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 4px rgba(var(--prismiq-color-primary-rgb), 0.2);\n }\n";
|
|
119
|
+
/**
|
|
120
|
+
* Hook to detect if focus is visible (keyboard navigation).
|
|
121
|
+
*/
|
|
122
|
+
declare function useFocusVisible(): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Props for the skip link component.
|
|
125
|
+
*/
|
|
126
|
+
interface SkipLinkProps {
|
|
127
|
+
/** Target element ID to skip to. */
|
|
128
|
+
targetId: string;
|
|
129
|
+
/** Link text. */
|
|
130
|
+
children?: React.ReactNode;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Styles for skip link (visually hidden until focused).
|
|
134
|
+
*/
|
|
135
|
+
declare const skipLinkStyles: React.CSSProperties;
|
|
136
|
+
declare const skipLinkFocusStyles: React.CSSProperties;
|
|
137
|
+
/**
|
|
138
|
+
* Hook for implementing roving tabindex pattern.
|
|
139
|
+
*
|
|
140
|
+
* @param itemRefs - Refs to the focusable items
|
|
141
|
+
* @param options - Navigation options
|
|
142
|
+
*/
|
|
143
|
+
declare function useRovingTabIndex<T extends HTMLElement>(itemRefs: RefObject<T>[], options?: ArrowNavigationOptions): UseArrowNavigationResult;
|
|
144
|
+
|
|
145
|
+
export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseFocusTrapResult as U, useArrowNavigation as a, useRovingTabIndex as b, useFocusVisible as c, announceToScreenReader as d, skipLinkFocusStyles as e, focusVisibleStyles as f, type UseArrowNavigationResult as g, skipLinkStyles as s, useFocusTrap as u };
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Accessibility utilities for keyboard navigation and screen readers.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
interface FocusTrapOptions {
|
|
8
|
+
/** Whether the focus trap is active. */
|
|
9
|
+
active?: boolean;
|
|
10
|
+
/** Whether to focus the first focusable element when activated. */
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
/** Whether to restore focus when deactivated. */
|
|
13
|
+
restoreFocus?: boolean;
|
|
14
|
+
/** Called when Escape is pressed. */
|
|
15
|
+
onEscape?: () => void;
|
|
16
|
+
}
|
|
17
|
+
interface ArrowNavigationOptions {
|
|
18
|
+
/** Whether navigation wraps around at edges. */
|
|
19
|
+
wrap?: boolean;
|
|
20
|
+
/** Orientation for arrow key mapping. */
|
|
21
|
+
orientation?: 'horizontal' | 'vertical' | 'both';
|
|
22
|
+
/** Callback when active item changes. */
|
|
23
|
+
onActiveChange?: (index: number) => void;
|
|
24
|
+
}
|
|
25
|
+
interface UseFocusTrapResult {
|
|
26
|
+
/** Ref to attach to the container element. */
|
|
27
|
+
containerRef: RefObject<HTMLElement>;
|
|
28
|
+
/** Activate the focus trap. */
|
|
29
|
+
activate: () => void;
|
|
30
|
+
/** Deactivate the focus trap. */
|
|
31
|
+
deactivate: () => void;
|
|
32
|
+
/** Whether the trap is active. */
|
|
33
|
+
isActive: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface UseArrowNavigationResult {
|
|
36
|
+
/** Current active index. */
|
|
37
|
+
activeIndex: number;
|
|
38
|
+
/** Set active index. */
|
|
39
|
+
setActiveIndex: (index: number) => void;
|
|
40
|
+
/** Key down handler to attach to container. */
|
|
41
|
+
onKeyDown: (event: React.KeyboardEvent) => void;
|
|
42
|
+
/** Get props for an item. */
|
|
43
|
+
getItemProps: (index: number) => {
|
|
44
|
+
tabIndex: number;
|
|
45
|
+
'aria-selected': boolean;
|
|
46
|
+
onFocus: () => void;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Hook to trap focus within a container.
|
|
51
|
+
*
|
|
52
|
+
* @param options - Focus trap options
|
|
53
|
+
* @returns Focus trap controls
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```tsx
|
|
57
|
+
* function Modal({ isOpen, onClose }) {
|
|
58
|
+
* const { containerRef, activate, deactivate } = useFocusTrap({
|
|
59
|
+
* active: isOpen,
|
|
60
|
+
* onEscape: onClose,
|
|
61
|
+
* });
|
|
62
|
+
*
|
|
63
|
+
* return (
|
|
64
|
+
* <div ref={containerRef} role="dialog" aria-modal="true">
|
|
65
|
+
* <button onClick={onClose}>Close</button>
|
|
66
|
+
* <input type="text" />
|
|
67
|
+
* </div>
|
|
68
|
+
* );
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
declare function useFocusTrap(options?: FocusTrapOptions): UseFocusTrapResult;
|
|
73
|
+
/**
|
|
74
|
+
* Hook for arrow key navigation through a list of items.
|
|
75
|
+
*
|
|
76
|
+
* @param itemCount - Number of items in the list
|
|
77
|
+
* @param options - Navigation options
|
|
78
|
+
* @returns Navigation state and handlers
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```tsx
|
|
82
|
+
* function Menu({ items }) {
|
|
83
|
+
* const { activeIndex, onKeyDown, getItemProps } = useArrowNavigation(items.length);
|
|
84
|
+
*
|
|
85
|
+
* return (
|
|
86
|
+
* <ul role="menu" onKeyDown={onKeyDown}>
|
|
87
|
+
* {items.map((item, index) => (
|
|
88
|
+
* <li key={index} role="menuitem" {...getItemProps(index)}>
|
|
89
|
+
* {item}
|
|
90
|
+
* </li>
|
|
91
|
+
* ))}
|
|
92
|
+
* </ul>
|
|
93
|
+
* );
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
declare function useArrowNavigation(itemCount: number, options?: ArrowNavigationOptions): UseArrowNavigationResult;
|
|
98
|
+
/**
|
|
99
|
+
* Announce a message to screen readers.
|
|
100
|
+
*
|
|
101
|
+
* @param message - The message to announce
|
|
102
|
+
* @param priority - Announcement priority ('polite' or 'assertive')
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```tsx
|
|
106
|
+
* // Announce a status update
|
|
107
|
+
* announceToScreenReader('Results loaded: 42 items');
|
|
108
|
+
*
|
|
109
|
+
* // Urgent announcement
|
|
110
|
+
* announceToScreenReader('Error: Connection lost', 'assertive');
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
declare function announceToScreenReader(message: string, priority?: 'polite' | 'assertive'): void;
|
|
114
|
+
/**
|
|
115
|
+
* CSS for focus-visible styling.
|
|
116
|
+
* Add this to your global styles or use the useFocusVisible hook.
|
|
117
|
+
*/
|
|
118
|
+
declare const focusVisibleStyles = "\n /* Hide focus outline for mouse users */\n :focus:not(:focus-visible) {\n outline: none;\n }\n\n /* Show focus outline for keyboard users */\n :focus-visible {\n outline: 2px solid var(--prismiq-color-primary);\n outline-offset: 2px;\n }\n\n /* Prismiq focus ring class */\n .prismiq-focus-ring:focus-visible {\n outline: 2px solid var(--prismiq-color-primary);\n outline-offset: 2px;\n box-shadow: 0 0 0 4px rgba(var(--prismiq-color-primary-rgb), 0.2);\n }\n";
|
|
119
|
+
/**
|
|
120
|
+
* Hook to detect if focus is visible (keyboard navigation).
|
|
121
|
+
*/
|
|
122
|
+
declare function useFocusVisible(): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Props for the skip link component.
|
|
125
|
+
*/
|
|
126
|
+
interface SkipLinkProps {
|
|
127
|
+
/** Target element ID to skip to. */
|
|
128
|
+
targetId: string;
|
|
129
|
+
/** Link text. */
|
|
130
|
+
children?: React.ReactNode;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Styles for skip link (visually hidden until focused).
|
|
134
|
+
*/
|
|
135
|
+
declare const skipLinkStyles: React.CSSProperties;
|
|
136
|
+
declare const skipLinkFocusStyles: React.CSSProperties;
|
|
137
|
+
/**
|
|
138
|
+
* Hook for implementing roving tabindex pattern.
|
|
139
|
+
*
|
|
140
|
+
* @param itemRefs - Refs to the focusable items
|
|
141
|
+
* @param options - Navigation options
|
|
142
|
+
*/
|
|
143
|
+
declare function useRovingTabIndex<T extends HTMLElement>(itemRefs: RefObject<T>[], options?: ArrowNavigationOptions): UseArrowNavigationResult;
|
|
144
|
+
|
|
145
|
+
export { type ArrowNavigationOptions as A, type FocusTrapOptions as F, type SkipLinkProps as S, type UseFocusTrapResult as U, useArrowNavigation as a, useRovingTabIndex as b, useFocusVisible as c, announceToScreenReader as d, skipLinkFocusStyles as e, focusVisibleStyles as f, type UseArrowNavigationResult as g, skipLinkStyles as s, useFocusTrap as u };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkNK7HKX2J_cjs = require('../chunk-NK7HKX2J.cjs');
|
|
4
|
+
require('../chunk-LMTG3LRC.cjs');
|
|
5
|
+
require('../chunk-4AVL6GQK.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "AreaChart", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkNK7HKX2J_cjs.AreaChart; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "BarChart", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkNK7HKX2J_cjs.BarChart; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "EChartWrapper", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkNK7HKX2J_cjs.EChartWrapper; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "LineChart", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkNK7HKX2J_cjs.LineChart; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "MetricCard", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkNK7HKX2J_cjs.MetricCard; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "PieChart", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkNK7HKX2J_cjs.PieChart; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "ScatterChart", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkNK7HKX2J_cjs.ScatterChart; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "Sparkline", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkNK7HKX2J_cjs.Sparkline; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "TrendIndicator", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkNK7HKX2J_cjs.TrendIndicator; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "adjustColorOpacity", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkNK7HKX2J_cjs.adjustColorOpacity; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "applyThemeToOption", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkNK7HKX2J_cjs.applyThemeToOption; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "createChartTheme", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkNK7HKX2J_cjs.createChartTheme; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "createEmptyStateGraphic", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkNK7HKX2J_cjs.createEmptyStateGraphic; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "createGradientColor", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkNK7HKX2J_cjs.createGradientColor; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "createMarkLines", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkNK7HKX2J_cjs.createMarkLines; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "dataPointsToChartData", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkNK7HKX2J_cjs.dataPointsToChartData; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "formatAxisLabel", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkNK7HKX2J_cjs.formatAxisLabel; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "formatCompact", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkNK7HKX2J_cjs.formatCompact; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "formatMetricValue", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkNK7HKX2J_cjs.formatMetricValue; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "getChartColors", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkNK7HKX2J_cjs.getChartColors; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "isChartDataEmpty", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkNK7HKX2J_cjs.isChartDataEmpty; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "isQueryResult", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkNK7HKX2J_cjs.isQueryResult; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "queryResultToChartData", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkNK7HKX2J_cjs.queryResultToChartData; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "suggestChartType", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkNK7HKX2J_cjs.suggestChartType; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "toChartData", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkNK7HKX2J_cjs.toChartData; }
|
|
108
|
+
});
|
|
109
|
+
//# sourceMappingURL=index.cjs.map
|
|
110
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { A as AreaChart, F as AreaChartProps, v as AxisFormat, B as BarChart, y as BarChartProps, r as BaseChartProps, u as ChartClickParams, C as ChartDataOptions, o as ChartDataPoint, b as ChartDataResult, p as ChartSeries, Q as ChartSuggestion, O as ChartType, E as EChartWrapper, x as EChartWrapperProps, w as LegendPosition, L as LineChart, z as LineChartProps, M as MetricCard, J as MetricCardProps, d as PieChart, G as PieChartProps, R as ReferenceLineConfig, e as ScatterChart, H as ScatterChartProps, S as Sparkline, N as SparklineProps, I as TrendConfig, c as TrendIndicator, K as TrendIndicatorProps, V as adjustColorOpacity, h as applyThemeToOption, g as createChartTheme, X as createEmptyStateGraphic, m as createGradientColor, W as createMarkLines, f as dataPointsToChartData, i as formatAxisLabel, j as formatCompact, k as formatMetricValue, l as getChartColors, n as isChartDataEmpty, U as isQueryResult, q as queryResultToChartData, s as suggestChartType, t as toChartData } from '../index-C-Qcuu4Y.cjs';
|
|
2
|
+
import '../types-WrCbOeAV.cjs';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { A as AreaChart, F as AreaChartProps, v as AxisFormat, B as BarChart, y as BarChartProps, r as BaseChartProps, u as ChartClickParams, C as ChartDataOptions, o as ChartDataPoint, b as ChartDataResult, p as ChartSeries, Q as ChartSuggestion, O as ChartType, E as EChartWrapper, x as EChartWrapperProps, w as LegendPosition, L as LineChart, z as LineChartProps, M as MetricCard, J as MetricCardProps, d as PieChart, G as PieChartProps, R as ReferenceLineConfig, e as ScatterChart, H as ScatterChartProps, S as Sparkline, N as SparklineProps, I as TrendConfig, c as TrendIndicator, K as TrendIndicatorProps, V as adjustColorOpacity, h as applyThemeToOption, g as createChartTheme, X as createEmptyStateGraphic, m as createGradientColor, W as createMarkLines, f as dataPointsToChartData, i as formatAxisLabel, j as formatCompact, k as formatMetricValue, l as getChartColors, n as isChartDataEmpty, U as isQueryResult, q as queryResultToChartData, s as suggestChartType, t as toChartData } from '../index-rPc7ijt8.js';
|
|
2
|
+
import '../types-WrCbOeAV.js';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AreaChart, BarChart, EChartWrapper, LineChart, MetricCard, PieChart, ScatterChart, Sparkline, TrendIndicator, adjustColorOpacity, applyThemeToOption, createChartTheme, createEmptyStateGraphic, createGradientColor, createMarkLines, dataPointsToChartData, formatAxisLabel, formatCompact, formatMetricValue, getChartColors, isChartDataEmpty, isQueryResult, queryResultToChartData, suggestChartType, toChartData } from '../chunk-2H5WTH4K.js';
|
|
2
|
+
import '../chunk-T6STUE7E.js';
|
|
3
|
+
import '../chunk-EX74SI67.js';
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|