@coinbase/cds-web 8.43.2 → 8.44.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/CHANGELOG.md +16 -0
- package/dts/alpha/__figma__/Select.figma.d.ts +2 -0
- package/dts/alpha/__figma__/Select.figma.d.ts.map +1 -0
- package/dts/alpha/data-card/DataCard.d.ts +2 -0
- package/dts/alpha/data-card/DataCard.d.ts.map +1 -1
- package/dts/alpha/data-card/DataCardLayout.d.ts +8 -0
- package/dts/alpha/data-card/DataCardLayout.d.ts.map +1 -1
- package/dts/alpha/select/types.d.ts +118 -116
- package/dts/alpha/select/types.d.ts.map +1 -1
- package/dts/alpha/tabbed-chips/TabbedChips.d.ts +7 -21
- package/dts/alpha/tabbed-chips/TabbedChips.d.ts.map +1 -1
- package/dts/banner/Banner.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardBody.d.ts +8 -24
- package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardHeader.d.ts +6 -18
- package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -1
- package/dts/cards/MediaCard/MediaCardLayout.d.ts +10 -0
- package/dts/cards/MediaCard/MediaCardLayout.d.ts.map +1 -1
- package/dts/cards/MediaCard/index.d.ts +2 -0
- package/dts/cards/MediaCard/index.d.ts.map +1 -1
- package/dts/cards/MessagingCard/MessagingCardLayout.d.ts +10 -0
- package/dts/cards/MessagingCard/MessagingCardLayout.d.ts.map +1 -1
- package/dts/cards/MessagingCard/index.d.ts +2 -0
- package/dts/cards/MessagingCard/index.d.ts.map +1 -1
- package/dts/carousel/Carousel.d.ts +14 -46
- package/dts/carousel/Carousel.d.ts.map +1 -1
- package/dts/cells/Cell.d.ts +22 -6
- package/dts/cells/Cell.d.ts.map +1 -1
- package/dts/cells/ContentCell.d.ts +26 -6
- package/dts/cells/ContentCell.d.ts.map +1 -1
- package/dts/cells/ListCell.d.ts +30 -10
- package/dts/cells/ListCell.d.ts.map +1 -1
- package/dts/chips/ChipProps.d.ts +6 -2
- package/dts/chips/ChipProps.d.ts.map +1 -1
- package/dts/controls/CheckboxCell.d.ts +10 -0
- package/dts/controls/CheckboxCell.d.ts.map +1 -1
- package/dts/controls/RadioCell.d.ts +10 -0
- package/dts/controls/RadioCell.d.ts.map +1 -1
- package/dts/dots/DotCount.d.ts +8 -30
- package/dts/dots/DotCount.d.ts.map +1 -1
- package/dts/icons/Icon.d.ts +6 -4
- package/dts/icons/Icon.d.ts.map +1 -1
- package/dts/navigation/Sidebar.d.ts +10 -30
- package/dts/navigation/Sidebar.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/RollingNumber.d.ts +38 -138
- package/dts/numbers/RollingNumber/RollingNumber.d.ts.map +1 -1
- package/dts/overlays/FocusTrap.d.ts +3 -1
- package/dts/overlays/FocusTrap.d.ts.map +1 -1
- package/dts/overlays/handlebar/HandleBar.d.ts +44 -0
- package/dts/overlays/handlebar/HandleBar.d.ts.map +1 -0
- package/dts/overlays/handlebar/index.d.ts +2 -0
- package/dts/overlays/handlebar/index.d.ts.map +1 -0
- package/dts/overlays/tray/Tray.d.ts +113 -20
- package/dts/overlays/tray/Tray.d.ts.map +1 -1
- package/dts/page/PageHeader.d.ts +11 -31
- package/dts/page/PageHeader.d.ts.map +1 -1
- package/dts/stepper/Stepper.d.ts +17 -17
- package/dts/stepper/Stepper.d.ts.map +1 -1
- package/dts/visualizations/ProgressBar.d.ts +12 -48
- package/dts/visualizations/ProgressBar.d.ts.map +1 -1
- package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +10 -36
- package/dts/visualizations/ProgressBarWithFixedLabels.d.ts.map +1 -1
- package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +8 -30
- package/dts/visualizations/ProgressBarWithFloatLabel.d.ts.map +1 -1
- package/dts/visualizations/ProgressCircle.d.ts +20 -72
- package/dts/visualizations/ProgressCircle.d.ts.map +1 -1
- package/esm/alpha/__figma__/Select.figma.js +68 -0
- package/esm/banner/Banner.js +5 -4
- package/esm/overlays/FocusTrap.js +3 -1
- package/esm/overlays/handlebar/HandleBar.css +3 -0
- package/esm/overlays/handlebar/HandleBar.js +66 -0
- package/esm/overlays/handlebar/index.js +1 -0
- package/esm/overlays/tray/Tray.css +7 -0
- package/esm/overlays/tray/Tray.js +300 -112
- package/package.json +2 -2
|
@@ -1,16 +1,46 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { SharedAccessibilityProps } from '@coinbase/cds-common';
|
|
2
|
+
import type { PinningDirection, SharedAccessibilityProps } from '@coinbase/cds-common';
|
|
3
|
+
import type { StylesAndClassNames } from '../../types';
|
|
4
|
+
/**
|
|
5
|
+
* Static class names for Tray component parts.
|
|
6
|
+
* Use these selectors to target specific elements with CSS.
|
|
7
|
+
*/
|
|
8
|
+
export declare const trayClassNames: {
|
|
9
|
+
/** Root container element */
|
|
10
|
+
readonly root: 'cds-Tray';
|
|
11
|
+
/** Overlay backdrop element */
|
|
12
|
+
readonly overlay: 'cds-Tray-overlay';
|
|
13
|
+
/** Animated sliding container element */
|
|
14
|
+
readonly container: 'cds-Tray-container';
|
|
15
|
+
/** Header section element */
|
|
16
|
+
readonly header: 'cds-Tray-header';
|
|
17
|
+
/** Title text element */
|
|
18
|
+
readonly title: 'cds-Tray-title';
|
|
19
|
+
/** Content area element */
|
|
20
|
+
readonly content: 'cds-Tray-content';
|
|
21
|
+
/** Handle bar container element, only rendered when showHandleBar is true and pin is "bottom" */
|
|
22
|
+
readonly handleBar: 'cds-Tray-handleBar';
|
|
23
|
+
/** Handle bar indicator element, only rendered when showHandleBar is true and pin is "bottom" */
|
|
24
|
+
readonly handleBarHandle: 'cds-Tray-handleBarHandle';
|
|
25
|
+
/** Close button element */
|
|
26
|
+
readonly closeButton: 'cds-Tray-closeButton';
|
|
27
|
+
};
|
|
3
28
|
export type TrayRenderChildren = React.FC<{
|
|
4
29
|
handleClose: () => void;
|
|
5
30
|
}>;
|
|
6
31
|
export type TrayBaseProps = {
|
|
7
|
-
children
|
|
8
|
-
/** ReactNode to render as the Drawer header */
|
|
9
|
-
header?: React.ReactNode;
|
|
10
|
-
/** ReactNode to render as the Drawer footer */
|
|
11
|
-
footer?: React.ReactNode;
|
|
32
|
+
children?: React.ReactNode | TrayRenderChildren;
|
|
33
|
+
/** ReactNode to render as the Drawer header. Can be a ReactNode or a function that receives { handleClose }. */
|
|
34
|
+
header?: React.ReactNode | TrayRenderChildren;
|
|
35
|
+
/** ReactNode to render as the Drawer footer. Can be a ReactNode or a function that receives { handleClose }. */
|
|
36
|
+
footer?: React.ReactNode | TrayRenderChildren;
|
|
12
37
|
/** HTML ID for the tray */
|
|
13
38
|
id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Pin the tray to one side of the screen
|
|
41
|
+
* @default 'bottom'
|
|
42
|
+
*/
|
|
43
|
+
pin?: PinningDirection;
|
|
14
44
|
/** Callback fired when the overlay is pressed, or swipe to close */
|
|
15
45
|
onBlur?: () => void;
|
|
16
46
|
/** Action that will happen when tray is dismissed */
|
|
@@ -23,8 +53,16 @@ export type TrayBaseProps = {
|
|
|
23
53
|
* multiselect was toggled into or out of view
|
|
24
54
|
*/
|
|
25
55
|
onVisibilityChange?: (context: 'visible' | 'hidden') => void;
|
|
26
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* Prevents a user from dismissing the tray by pressing the overlay or swiping
|
|
58
|
+
* @note hides closeButton when `true`
|
|
59
|
+
*/
|
|
27
60
|
preventDismiss?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Hide the close icon on the top right.
|
|
63
|
+
* @default `true` when handlebar is shown, false otherwise.
|
|
64
|
+
*/
|
|
65
|
+
hideCloseButton?: boolean;
|
|
28
66
|
/**
|
|
29
67
|
* WAI-ARIA Roles
|
|
30
68
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
|
|
@@ -33,8 +71,10 @@ export type TrayBaseProps = {
|
|
|
33
71
|
/** Text or ReactNode for optional Tray title */
|
|
34
72
|
title?: React.ReactNode;
|
|
35
73
|
/**
|
|
36
|
-
* Allow user of component to define maximum percentage of screen that can be taken up by the Drawer
|
|
74
|
+
* Allow user of component to define maximum percentage of screen that can be taken up by the Drawer when pinned to the bottom or top.
|
|
75
|
+
* @note not used when `pin` is `"left"` or `"right"`.
|
|
37
76
|
* @example if you want a Drawer to take up 50% of the screen, you would pass a value of `"50%"`
|
|
77
|
+
* @default "85%"
|
|
38
78
|
*/
|
|
39
79
|
verticalDrawerPercentageOfView?: string;
|
|
40
80
|
/** z-index for the tray overlay */
|
|
@@ -42,7 +82,6 @@ export type TrayBaseProps = {
|
|
|
42
82
|
/**
|
|
43
83
|
* Allow any element with `tabIndex` attribute to be focusable in FocusTrap, rather than only focusing specific interactive element types like button.
|
|
44
84
|
* This can be useful when having long content in a Modal.
|
|
45
|
-
* @default false
|
|
46
85
|
*/
|
|
47
86
|
focusTabIndexElements?: boolean;
|
|
48
87
|
/**
|
|
@@ -69,21 +108,36 @@ export type TrayBaseProps = {
|
|
|
69
108
|
* @link https://reactnative.dev/docs/accessibility#accessibilityhint
|
|
70
109
|
*/
|
|
71
110
|
closeAccessibilityHint?: SharedAccessibilityProps['accessibilityHint'];
|
|
72
|
-
|
|
73
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Show a handle bar indicator at the top of the tray.
|
|
113
|
+
* The handle bar is positioned inside the tray content area.
|
|
114
|
+
* @note only appears when `pin="bottom"`.
|
|
115
|
+
*
|
|
116
|
+
* When enabled, the handle bar provides swipe-to-dismiss functionality (drag down to close)
|
|
117
|
+
* and is keyboard accessible (Tab to focus, Enter/Space to close).
|
|
118
|
+
* The close button is hidden by default when the handle bar is shown.
|
|
119
|
+
*/
|
|
120
|
+
showHandleBar?: boolean;
|
|
121
|
+
} & Pick<SharedAccessibilityProps, 'accessibilityLabel' | 'accessibilityLabelledBy'>;
|
|
122
|
+
export type TrayProps = TrayBaseProps & StylesAndClassNames<typeof trayClassNames>;
|
|
74
123
|
export type TrayRefProps = {
|
|
75
124
|
close: () => void;
|
|
76
125
|
};
|
|
77
126
|
export declare const Tray: React.MemoExoticComponent<
|
|
78
127
|
React.ForwardRefExoticComponent<
|
|
79
128
|
{
|
|
80
|
-
children
|
|
81
|
-
/** ReactNode to render as the Drawer header */
|
|
82
|
-
header?: React.ReactNode;
|
|
83
|
-
/** ReactNode to render as the Drawer footer */
|
|
84
|
-
footer?: React.ReactNode;
|
|
129
|
+
children?: React.ReactNode | TrayRenderChildren;
|
|
130
|
+
/** ReactNode to render as the Drawer header. Can be a ReactNode or a function that receives { handleClose }. */
|
|
131
|
+
header?: React.ReactNode | TrayRenderChildren;
|
|
132
|
+
/** ReactNode to render as the Drawer footer. Can be a ReactNode or a function that receives { handleClose }. */
|
|
133
|
+
footer?: React.ReactNode | TrayRenderChildren;
|
|
85
134
|
/** HTML ID for the tray */
|
|
86
135
|
id?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Pin the tray to one side of the screen
|
|
138
|
+
* @default 'bottom'
|
|
139
|
+
*/
|
|
140
|
+
pin?: PinningDirection;
|
|
87
141
|
/** Callback fired when the overlay is pressed, or swipe to close */
|
|
88
142
|
onBlur?: () => void;
|
|
89
143
|
/** Action that will happen when tray is dismissed */
|
|
@@ -96,8 +150,16 @@ export declare const Tray: React.MemoExoticComponent<
|
|
|
96
150
|
* multiselect was toggled into or out of view
|
|
97
151
|
*/
|
|
98
152
|
onVisibilityChange?: (context: 'visible' | 'hidden') => void;
|
|
99
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Prevents a user from dismissing the tray by pressing the overlay or swiping
|
|
155
|
+
* @note hides closeButton when `true`
|
|
156
|
+
*/
|
|
100
157
|
preventDismiss?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Hide the close icon on the top right.
|
|
160
|
+
* @default `true` when handlebar is shown, false otherwise.
|
|
161
|
+
*/
|
|
162
|
+
hideCloseButton?: boolean;
|
|
101
163
|
/**
|
|
102
164
|
* WAI-ARIA Roles
|
|
103
165
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
|
|
@@ -106,8 +168,10 @@ export declare const Tray: React.MemoExoticComponent<
|
|
|
106
168
|
/** Text or ReactNode for optional Tray title */
|
|
107
169
|
title?: React.ReactNode;
|
|
108
170
|
/**
|
|
109
|
-
* Allow user of component to define maximum percentage of screen that can be taken up by the Drawer
|
|
171
|
+
* Allow user of component to define maximum percentage of screen that can be taken up by the Drawer when pinned to the bottom or top.
|
|
172
|
+
* @note not used when `pin` is `"left"` or `"right"`.
|
|
110
173
|
* @example if you want a Drawer to take up 50% of the screen, you would pass a value of `"50%"`
|
|
174
|
+
* @default "85%"
|
|
111
175
|
*/
|
|
112
176
|
verticalDrawerPercentageOfView?: string;
|
|
113
177
|
/** z-index for the tray overlay */
|
|
@@ -115,7 +179,6 @@ export declare const Tray: React.MemoExoticComponent<
|
|
|
115
179
|
/**
|
|
116
180
|
* Allow any element with `tabIndex` attribute to be focusable in FocusTrap, rather than only focusing specific interactive element types like button.
|
|
117
181
|
* This can be useful when having long content in a Modal.
|
|
118
|
-
* @default false
|
|
119
182
|
*/
|
|
120
183
|
focusTabIndexElements?: boolean;
|
|
121
184
|
/**
|
|
@@ -142,7 +205,37 @@ export declare const Tray: React.MemoExoticComponent<
|
|
|
142
205
|
* @link https://reactnative.dev/docs/accessibility#accessibilityhint
|
|
143
206
|
*/
|
|
144
207
|
closeAccessibilityHint?: SharedAccessibilityProps['accessibilityHint'];
|
|
145
|
-
|
|
208
|
+
/**
|
|
209
|
+
* Show a handle bar indicator at the top of the tray.
|
|
210
|
+
* The handle bar is positioned inside the tray content area.
|
|
211
|
+
* @note only appears when `pin="bottom"`.
|
|
212
|
+
*
|
|
213
|
+
* When enabled, the handle bar provides swipe-to-dismiss functionality (drag down to close)
|
|
214
|
+
* and is keyboard accessible (Tab to focus, Enter/Space to close).
|
|
215
|
+
* The close button is hidden by default when the handle bar is shown.
|
|
216
|
+
*/
|
|
217
|
+
showHandleBar?: boolean;
|
|
218
|
+
} & Pick<SharedAccessibilityProps, 'accessibilityLabel' | 'accessibilityLabelledBy'> &
|
|
219
|
+
StylesAndClassNames<{
|
|
220
|
+
/** Root container element */
|
|
221
|
+
readonly root: 'cds-Tray';
|
|
222
|
+
/** Overlay backdrop element */
|
|
223
|
+
readonly overlay: 'cds-Tray-overlay';
|
|
224
|
+
/** Animated sliding container element */
|
|
225
|
+
readonly container: 'cds-Tray-container';
|
|
226
|
+
/** Header section element */
|
|
227
|
+
readonly header: 'cds-Tray-header';
|
|
228
|
+
/** Title text element */
|
|
229
|
+
readonly title: 'cds-Tray-title';
|
|
230
|
+
/** Content area element */
|
|
231
|
+
readonly content: 'cds-Tray-content';
|
|
232
|
+
/** Handle bar container element, only rendered when showHandleBar is true and pin is "bottom" */
|
|
233
|
+
readonly handleBar: 'cds-Tray-handleBar';
|
|
234
|
+
/** Handle bar indicator element, only rendered when showHandleBar is true and pin is "bottom" */
|
|
235
|
+
readonly handleBarHandle: 'cds-Tray-handleBarHandle';
|
|
236
|
+
/** Close button element */
|
|
237
|
+
readonly closeButton: 'cds-Tray-closeButton';
|
|
238
|
+
}> &
|
|
146
239
|
React.RefAttributes<TrayRefProps>
|
|
147
240
|
>
|
|
148
241
|
>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tray.d.ts","sourceRoot":"","sources":["../../../src/overlays/tray/Tray.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Tray.d.ts","sourceRoot":"","sources":["../../../src/overlays/tray/Tray.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAa,MAAM,sBAAsB,CAAC;AAoBlG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAoEvD;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB,6BAA6B;;I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AC/B;;;;;OAKG;4BACqB,OAAO;IAC/B;;;;;;OAMG;8BACuB,wBAAwB,CAAC,oBAAoB,CAAC;IACxE;;;;;;;OAOG;6BACsB,wBAAwB,CAAC,mBAAmB,CAAC;IACtE;;;;;;;;OAQG;oBACa,OAAO;;IA/GvB,6BAA6B;;IAE7B,+BAA+B;;IAE/B,yCAAyC;;IAEzC,6BAA6B;;IAE7B,yBAAyB;;IAEzB,2BAA2B;;IAE3B,iGAAiG;;IAEjG,iGAAiG;;IAEjG,2BAA2B;;wCAqd5B,CAAC"}
|
package/dts/page/PageHeader.d.ts
CHANGED
|
@@ -29,46 +29,26 @@ export type PageHeaderBaseProps = SharedProps &
|
|
|
29
29
|
export type PageHeaderProps = Polymorphic.ExtendableProps<
|
|
30
30
|
GridProps<GridDefaultElement>,
|
|
31
31
|
PageHeaderBaseProps & {
|
|
32
|
-
/**
|
|
33
|
-
* Custom styles for the page header.
|
|
34
|
-
*/
|
|
32
|
+
/** Custom styles for individual elements of the PageHeader component */
|
|
35
33
|
styles?: {
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
/** Root element */
|
|
35
|
+
root?: React.CSSProperties;
|
|
36
|
+
/** Start element */
|
|
39
37
|
start?: React.CSSProperties;
|
|
40
|
-
/**
|
|
41
|
-
* Custom styles for the end element.
|
|
42
|
-
*/
|
|
38
|
+
/** End element */
|
|
43
39
|
end?: React.CSSProperties;
|
|
44
|
-
/**
|
|
45
|
-
* Custom styles for the title element.
|
|
46
|
-
*/
|
|
40
|
+
/** Title element */
|
|
47
41
|
title?: React.CSSProperties;
|
|
48
|
-
/**
|
|
49
|
-
* Custom styles for the root element.
|
|
50
|
-
*/
|
|
51
|
-
root?: React.CSSProperties;
|
|
52
42
|
};
|
|
53
|
-
/**
|
|
54
|
-
* Custom class names for the page header.
|
|
55
|
-
*/
|
|
43
|
+
/** Custom class names for individual elements of the PageHeader component */
|
|
56
44
|
classNames?: {
|
|
57
|
-
/**
|
|
58
|
-
* Class name for the page header root.
|
|
59
|
-
*/
|
|
45
|
+
/** Root element */
|
|
60
46
|
root?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Class name for the page header start element.
|
|
63
|
-
*/
|
|
47
|
+
/** Start element */
|
|
64
48
|
start?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Class name for the page header end element.
|
|
67
|
-
*/
|
|
49
|
+
/** End element */
|
|
68
50
|
end?: string;
|
|
69
|
-
/**
|
|
70
|
-
* Class name for the page header title element.
|
|
71
|
-
*/
|
|
51
|
+
/** Title element */
|
|
72
52
|
title?: string;
|
|
73
53
|
};
|
|
74
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../src/page/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAG9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAQ,KAAK,kBAAkB,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE/E,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAiB9E,eAAO,MAAM,2BAA2B,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAIhF,CAAC;AAEX,eAAO,MAAM,qBAAqB,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAC,UAAU,CAItE,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAC3C,cAAc,GAAG;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB;;OA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AS,CAAC,kBAAkB,CAAC,EAC7B,mBAAmB,GAAG;IACpB,wEAAwE;IACxE,MAAM,CAAC,EAAE;QACP,mBAAmB;QACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,oBAAoB;QACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,kBAAkB;QAClB,GAAG,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1B,oBAAoB;QACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAC7B,CAAC;IACF,6EAA6E;IAC7E,UAAU,CAAC,EAAE;QACX,mBAAmB;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,oBAAoB;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,kBAAkB;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,oBAAoB;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CACF,CAAC;AAEF,eAAO,MAAM,UAAU,gIAyHtB,CAAC"}
|
package/dts/stepper/Stepper.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ type StepperSubcomponentProps<Metadata extends Record<string, unknown> = Record<
|
|
|
46
46
|
isDescendentActive: boolean;
|
|
47
47
|
/** A CSS class name applied to this component */
|
|
48
48
|
className?: string;
|
|
49
|
-
/** Inline styles for
|
|
49
|
+
/** Inline styles for the subcomponent element */
|
|
50
50
|
style?: React.CSSProperties;
|
|
51
51
|
};
|
|
52
52
|
export type StepperStepProps<Metadata extends Record<string, unknown> = Record<string, unknown>> =
|
|
@@ -204,38 +204,38 @@ export type StepperDefaultElement = typeof stepperDefaultElement;
|
|
|
204
204
|
export type StepperProps<Metadata extends Record<string, unknown> = Record<string, unknown>> =
|
|
205
205
|
VStackProps<StepperDefaultElement> &
|
|
206
206
|
StepperBaseProps<Metadata> & {
|
|
207
|
-
/**
|
|
207
|
+
/** Custom styles for individual elements of the Stepper component */
|
|
208
208
|
styles?: {
|
|
209
|
-
/**
|
|
209
|
+
/** Root Stepper container element */
|
|
210
210
|
root?: React.CSSProperties;
|
|
211
|
-
/**
|
|
211
|
+
/** Step subcomponent element */
|
|
212
212
|
step?: React.CSSProperties;
|
|
213
|
-
/**
|
|
213
|
+
/** Substep container element */
|
|
214
214
|
substepContainer?: React.CSSProperties;
|
|
215
|
-
/**
|
|
215
|
+
/** Label subcomponent element */
|
|
216
216
|
label?: React.CSSProperties;
|
|
217
|
-
/**
|
|
217
|
+
/** Progress subcomponent element */
|
|
218
218
|
progress?: React.CSSProperties;
|
|
219
|
-
/**
|
|
219
|
+
/** Icon subcomponent element */
|
|
220
220
|
icon?: React.CSSProperties;
|
|
221
|
-
/**
|
|
221
|
+
/** Header subcomponent element */
|
|
222
222
|
header?: React.CSSProperties;
|
|
223
223
|
};
|
|
224
|
-
/**
|
|
224
|
+
/** Custom class names for individual elements of the Stepper component */
|
|
225
225
|
classNames?: {
|
|
226
|
-
/**
|
|
226
|
+
/** Root Stepper container element */
|
|
227
227
|
root?: string;
|
|
228
|
-
/**
|
|
228
|
+
/** Step subcomponent element */
|
|
229
229
|
step?: string;
|
|
230
|
-
/**
|
|
230
|
+
/** Substep container element */
|
|
231
231
|
substepContainer?: string;
|
|
232
|
-
/**
|
|
232
|
+
/** Label subcomponent element */
|
|
233
233
|
label?: string;
|
|
234
|
-
/**
|
|
234
|
+
/** Progress subcomponent element */
|
|
235
235
|
progress?: string;
|
|
236
|
-
/**
|
|
236
|
+
/** Icon subcomponent element */
|
|
237
237
|
icon?: string;
|
|
238
|
-
/**
|
|
238
|
+
/** Header subcomponent element */
|
|
239
239
|
header?: string;
|
|
240
240
|
};
|
|
241
241
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../src/stepper/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE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2OxB,eAAO,MAAM,OAAO,EAAkB,gBAAgB,CAAC"}
|
|
@@ -30,38 +30,20 @@ export type ProgressBaseProps = SharedProps &
|
|
|
30
30
|
onAnimationStart?: () => void;
|
|
31
31
|
};
|
|
32
32
|
export type ProgressBarProps = ProgressBaseProps & {
|
|
33
|
-
/**
|
|
34
|
-
* Custom styles for the progress bar root.
|
|
35
|
-
*/
|
|
36
33
|
style?: React.CSSProperties;
|
|
37
|
-
/**
|
|
38
|
-
* Custom class name for the progress bar root.
|
|
39
|
-
*/
|
|
40
34
|
className?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Custom styles for the progress bar.
|
|
43
|
-
*/
|
|
35
|
+
/** Custom styles for individual elements of the ProgressBar component */
|
|
44
36
|
styles?: {
|
|
45
|
-
/**
|
|
46
|
-
* Custom styles for the progress bar root.
|
|
47
|
-
*/
|
|
37
|
+
/** Root element */
|
|
48
38
|
root?: React.CSSProperties;
|
|
49
|
-
/**
|
|
50
|
-
* Custom styles for the progress.
|
|
51
|
-
*/
|
|
39
|
+
/** Progress fill element */
|
|
52
40
|
progress?: React.CSSProperties;
|
|
53
41
|
};
|
|
54
|
-
/**
|
|
55
|
-
* Custom class names for the progress bar.
|
|
56
|
-
*/
|
|
42
|
+
/** Custom class names for individual elements of the ProgressBar component */
|
|
57
43
|
classNames?: {
|
|
58
|
-
/**
|
|
59
|
-
* Class name for the progress bar root.
|
|
60
|
-
*/
|
|
44
|
+
/** Root element */
|
|
61
45
|
root?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Class name for the progress.
|
|
64
|
-
*/
|
|
46
|
+
/** Progress fill element */
|
|
65
47
|
progress?: string;
|
|
66
48
|
};
|
|
67
49
|
};
|
|
@@ -94,38 +76,20 @@ export declare const ProgressBar: React.MemoExoticComponent<
|
|
|
94
76
|
*/
|
|
95
77
|
onAnimationStart?: () => void;
|
|
96
78
|
} & {
|
|
97
|
-
/**
|
|
98
|
-
* Custom styles for the progress bar root.
|
|
99
|
-
*/
|
|
100
79
|
style?: React.CSSProperties;
|
|
101
|
-
/**
|
|
102
|
-
* Custom class name for the progress bar root.
|
|
103
|
-
*/
|
|
104
80
|
className?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Custom styles for the progress bar.
|
|
107
|
-
*/
|
|
81
|
+
/** Custom styles for individual elements of the ProgressBar component */
|
|
108
82
|
styles?: {
|
|
109
|
-
/**
|
|
110
|
-
* Custom styles for the progress bar root.
|
|
111
|
-
*/
|
|
83
|
+
/** Root element */
|
|
112
84
|
root?: React.CSSProperties;
|
|
113
|
-
/**
|
|
114
|
-
* Custom styles for the progress.
|
|
115
|
-
*/
|
|
85
|
+
/** Progress fill element */
|
|
116
86
|
progress?: React.CSSProperties;
|
|
117
87
|
};
|
|
118
|
-
/**
|
|
119
|
-
* Custom class names for the progress bar.
|
|
120
|
-
*/
|
|
88
|
+
/** Custom class names for individual elements of the ProgressBar component */
|
|
121
89
|
classNames?: {
|
|
122
|
-
/**
|
|
123
|
-
* Class name for the progress bar root.
|
|
124
|
-
*/
|
|
90
|
+
/** Root element */
|
|
125
91
|
root?: string;
|
|
126
|
-
/**
|
|
127
|
-
* Class name for the progress.
|
|
128
|
-
*/
|
|
92
|
+
/** Progress fill element */
|
|
129
93
|
progress?: string;
|
|
130
94
|
};
|
|
131
95
|
} & React.RefAttributes<HTMLDivElement>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../src/visualizations/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAOhG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAI3D,MAAM,MAAM,iBAAiB,GAAG,WAAW,GACzC,IA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gB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,MAAM,CAAC,EAAE;QACP,mBAAmB;QACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,4BAA4B;QAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAChC,CAAC;IACF,8EAA8E;IAC9E,UAAU,CAAC,EAAE;QACX,mBAAmB;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,4BAA4B;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAQF,eAAO,MAAM,WAAW;IAlDpB,8DAA8D;cACpD,MAAM;IAChB;;SAEK;aACI,MAAM;IACf;;OAEG;eACQ,OAAO;IAClB;;;OAGG;YACK,SAAS,CAAC,KAAK;IACvB;;OAEG;qBACc,MAAM,IAAI;IAC3B;;OAEG;uBACgB,MAAM,IAAI;;YAIvB,KAAK,CAAC,aAAa;gBACf,MAAM;IAClB,yEAAyE;aAChE;QACP,mBAAmB;QACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,4BAA4B;QAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAChC;IACD,8EAA8E;iBACjE;QACX,mBAAmB;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,4BAA4B;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;yCA8FF,CAAC"}
|
|
@@ -15,54 +15,28 @@ export type ProgressBarWithFixedLabelsProps = Pick<
|
|
|
15
15
|
* @default beside
|
|
16
16
|
* */
|
|
17
17
|
labelPlacement?: Extract<Placement, 'above' | 'below' | 'beside'>;
|
|
18
|
-
/**
|
|
19
|
-
* Custom styles for the progress bar with fixed labels root.
|
|
20
|
-
*/
|
|
21
18
|
style?: React.CSSProperties;
|
|
22
|
-
/**
|
|
23
|
-
* Custom class name for the progress bar with fixed labels root.
|
|
24
|
-
*/
|
|
25
19
|
className?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Custom styles for the progress bar with fixed labels.
|
|
28
|
-
*/
|
|
20
|
+
/** Custom styles for individual elements of the ProgressBarWithFixedLabels component */
|
|
29
21
|
styles?: {
|
|
30
|
-
/**
|
|
31
|
-
* Custom styles for the progress bar with fixed labels root.
|
|
32
|
-
*/
|
|
22
|
+
/** Root element */
|
|
33
23
|
root?: React.CSSProperties;
|
|
34
|
-
/**
|
|
35
|
-
* Custom styles for the label container.
|
|
36
|
-
*/
|
|
24
|
+
/** Label container element */
|
|
37
25
|
labelContainer?: React.CSSProperties;
|
|
38
|
-
/**
|
|
39
|
-
* Custom styles for the start label.
|
|
40
|
-
*/
|
|
26
|
+
/** Start label element */
|
|
41
27
|
startLabel?: React.CSSProperties;
|
|
42
|
-
/**
|
|
43
|
-
* Custom styles for the end label.
|
|
44
|
-
*/
|
|
28
|
+
/** End label element */
|
|
45
29
|
endLabel?: React.CSSProperties;
|
|
46
30
|
};
|
|
47
|
-
/**
|
|
48
|
-
* Custom class names for the progress bar with fixed labels.
|
|
49
|
-
*/
|
|
31
|
+
/** Custom class names for individual elements of the ProgressBarWithFixedLabels component */
|
|
50
32
|
classNames?: {
|
|
51
|
-
/**
|
|
52
|
-
* Class name for the progress bar with fixed labels root.
|
|
53
|
-
*/
|
|
33
|
+
/** Root element */
|
|
54
34
|
root?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Class name for the label container.
|
|
57
|
-
*/
|
|
35
|
+
/** Label container element */
|
|
58
36
|
labelContainer?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Class name for the start label.
|
|
61
|
-
*/
|
|
37
|
+
/** Start label element */
|
|
62
38
|
startLabel?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Class name for the end label.
|
|
65
|
-
*/
|
|
39
|
+
/** End label element */
|
|
66
40
|
endLabel?: string;
|
|
67
41
|
};
|
|
68
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBarWithFixedLabels.d.ts","sourceRoot":"","sources":["../../src/visualizations/ProgressBarWithFixedLabels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAO1E,OAAO,EAA4B,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,gBAAgB,EAChB,uBAAuB,GAAG,UAAU,GAAG,QAAQ,CAChD,GAAG;IACF,sHAAsH;IACtH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,oHAAoH;IACpH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;SAGK;IACL,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC;IAClE
|
|
1
|
+
{"version":3,"file":"ProgressBarWithFixedLabels.d.ts","sourceRoot":"","sources":["../../src/visualizations/ProgressBarWithFixedLabels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAO1E,OAAO,EAA4B,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,gBAAgB,EAChB,uBAAuB,GAAG,UAAU,GAAG,QAAQ,CAChD,GAAG;IACF,sHAAsH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,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,gBAAgB,EAChB,uBAAuB,GAAG,OAAO,GAAG,WAAW,CAChD,GAAG;IACF,QAAQ,EAAE,OAAO,GAAG,KAAK,CAAC;IAC1B,KAAK,EAAE,gBAAgB,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAoHF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAC/C,KAAK,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,CAiFzD,CAAC"}
|
|
@@ -23,46 +23,24 @@ export type ProgressBarWithFloatLabelProps = Pick<
|
|
|
23
23
|
* @default above
|
|
24
24
|
* */
|
|
25
25
|
labelPlacement?: Extract<Placement, 'above' | 'below'>;
|
|
26
|
-
/**
|
|
27
|
-
* Custom styles for the progress bar with float label root.
|
|
28
|
-
*/
|
|
29
26
|
style?: React.CSSProperties;
|
|
30
|
-
/**
|
|
31
|
-
* Custom class name for the progress bar with float label root.
|
|
32
|
-
*/
|
|
33
27
|
className?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Custom styles for the progress bar with float label.
|
|
36
|
-
*/
|
|
28
|
+
/** Custom styles for individual elements of the ProgressBarWithFloatLabel component */
|
|
37
29
|
styles?: {
|
|
38
|
-
/**
|
|
39
|
-
* Custom styles for the progress bar with float label root.
|
|
40
|
-
*/
|
|
30
|
+
/** Root element */
|
|
41
31
|
root?: React.CSSProperties;
|
|
42
|
-
/**
|
|
43
|
-
* Custom styles for the label container.
|
|
44
|
-
*/
|
|
32
|
+
/** Label container element */
|
|
45
33
|
labelContainer?: React.CSSProperties;
|
|
46
|
-
/**
|
|
47
|
-
* Custom styles for the label.
|
|
48
|
-
*/
|
|
34
|
+
/** Label element */
|
|
49
35
|
label?: React.CSSProperties;
|
|
50
36
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Custom class names for the progress bar with float label.
|
|
53
|
-
*/
|
|
37
|
+
/** Custom class names for individual elements of the ProgressBarWithFloatLabel component */
|
|
54
38
|
classNames?: {
|
|
55
|
-
/**
|
|
56
|
-
* Class name for the progress bar with float label root.
|
|
57
|
-
*/
|
|
39
|
+
/** Root element */
|
|
58
40
|
root?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Class name for the label container.
|
|
61
|
-
*/
|
|
41
|
+
/** Label container element */
|
|
62
42
|
labelContainer?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Class name for the label.
|
|
65
|
-
*/
|
|
43
|
+
/** Label element */
|
|
66
44
|
label?: string;
|
|
67
45
|
};
|
|
68
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBarWithFloatLabel.d.ts","sourceRoot":"","sources":["../../src/visualizations/ProgressBarWithFloatLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AAGnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAc5D,OAAO,EAA4B,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC7F,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGvD,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,8BAA8B,EAC5B,OAAO,GACP,UAAU,GACV,uBAAuB,GACvB,UAAU,GACV,gBAAgB,GAChB,QAAQ,GACR,YAAY,CACf,CAAC;AA0GF,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,iBAAiB,EACjB,UAAU,GAAG,uBAAuB,GAAG,UAAU,GAAG,QAAQ,CAC7D,GAAG;IACF,yHAAyH;IACzH,KAAK,EAAE,gBAAgB,CAAC;IACxB;;;SAGK;IACL,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC;IACvD
|
|
1
|
+
{"version":3,"file":"ProgressBarWithFloatLabel.d.ts","sourceRoot":"","sources":["../../src/visualizations/Pro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