@lumx/react 4.0.1-alpha.6 → 4.0.1-alpha.7
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/Falsy-e4faCDKK.d.ts +7 -0
- package/index.d.ts +409 -14
- package/index.js +1050 -462
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/utils/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,16 +1,368 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export * from '@lumx/core/js/constants';
|
|
3
|
-
import * as _lumx_core_js_types from '@lumx/core/js/types';
|
|
4
|
-
import { GenericProps, HasTheme, ValueOf, HasCloseMode, TextElement, HeadingElement, Falsy, HasClassName, HasAriaLabelOrLabelledBy } from '@lumx/core/js/types';
|
|
5
|
-
export * from '@lumx/core/js/types';
|
|
1
|
+
import { F as Falsy } from './Falsy-e4faCDKK.js';
|
|
6
2
|
import * as React$1 from 'react';
|
|
7
3
|
import React__default, { Ref, ReactElement, ReactNode, SyntheticEvent, MouseEventHandler, KeyboardEventHandler, AriaAttributes, DetailedHTMLProps, ButtonHTMLAttributes, InputHTMLAttributes, RefObject, ImgHTMLAttributes, CSSProperties, SetStateAction, Key, ElementType, ComponentProps } from 'react';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The down key code.
|
|
7
|
+
*/
|
|
8
|
+
declare const DOWN_KEY_CODE = 40;
|
|
9
|
+
/**
|
|
10
|
+
* The enter/return key code.
|
|
11
|
+
*/
|
|
12
|
+
declare const ENTER_KEY_CODE = 13;
|
|
13
|
+
/**
|
|
14
|
+
* The space key code.
|
|
15
|
+
*/
|
|
16
|
+
declare const SPACE_KEY_CODE = 32;
|
|
17
|
+
/**
|
|
18
|
+
* The escape key code.
|
|
19
|
+
*/
|
|
20
|
+
declare const ESCAPE_KEY_CODE = 27;
|
|
21
|
+
/**
|
|
22
|
+
* The left key code.
|
|
23
|
+
*/
|
|
24
|
+
declare const LEFT_KEY_CODE = 37;
|
|
25
|
+
/**
|
|
26
|
+
* The right key code.
|
|
27
|
+
*/
|
|
28
|
+
declare const RIGHT_KEY_CODE = 39;
|
|
29
|
+
/**
|
|
30
|
+
* The tab key code.
|
|
31
|
+
*/
|
|
32
|
+
declare const TAB_KEY_CODE = 9;
|
|
33
|
+
/**
|
|
34
|
+
* The up key code.
|
|
35
|
+
*/
|
|
36
|
+
declare const UP_KEY_CODE = 38;
|
|
37
|
+
/**
|
|
38
|
+
* The up key code.
|
|
39
|
+
*/
|
|
40
|
+
declare const BACKSPACE_KEY_CODE = 8;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Animation duration constants. Take into consideration that if you change one of these variables,
|
|
44
|
+
* you need to update their scss counterpart as well
|
|
45
|
+
*/
|
|
46
|
+
declare const DIALOG_TRANSITION_DURATION = 400;
|
|
47
|
+
declare const EXPANSION_PANEL_TRANSITION_DURATION = 400;
|
|
48
|
+
declare const NOTIFICATION_TRANSITION_DURATION = 200;
|
|
49
|
+
declare const SLIDESHOW_TRANSITION_DURATION = 5000;
|
|
50
|
+
/**
|
|
51
|
+
* Delay on hover after which we open or close the tooltip.
|
|
52
|
+
* Only applies to devices supporting pointer hover.
|
|
53
|
+
*/
|
|
54
|
+
declare const TOOLTIP_HOVER_DELAY: {
|
|
55
|
+
open: number;
|
|
56
|
+
close: number;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Delay on long press after which we open or close the tooltip.
|
|
60
|
+
* Only applies to devices not supporting pointer hover.
|
|
61
|
+
*/
|
|
62
|
+
declare const TOOLTIP_LONG_PRESS_DELAY: {
|
|
63
|
+
open: number;
|
|
64
|
+
close: number;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Callback function type alias (use for readability)
|
|
69
|
+
*/
|
|
70
|
+
type Callback = () => void;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Require either `aria-label` or `arial-labelledby` prop.
|
|
74
|
+
* If none are set, the order will prioritize `aria-labelledby` over `aria-label` as it
|
|
75
|
+
* needs a visible element.
|
|
76
|
+
*/
|
|
77
|
+
type HasAriaLabelOrLabelledBy<T = string | undefined> = T extends string ? {
|
|
78
|
+
/**
|
|
79
|
+
* The id of the element to use as title of the dialog. Can be within or out of the dialog.
|
|
80
|
+
* Although it is not recommended, aria-label can be used instead if no visible element is available.
|
|
81
|
+
*/
|
|
82
|
+
'aria-labelledby': T;
|
|
83
|
+
/** The label of the dialog. */
|
|
84
|
+
'aria-label'?: undefined;
|
|
85
|
+
} : {
|
|
86
|
+
'aria-label': string;
|
|
87
|
+
'aria-labelledby'?: undefined;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
interface HasClassName {
|
|
91
|
+
/**
|
|
92
|
+
* Class name forwarded to the root element of the component.
|
|
93
|
+
*/
|
|
94
|
+
className?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface HasCloseMode {
|
|
98
|
+
/**
|
|
99
|
+
* Choose how the children are hidden when closed
|
|
100
|
+
* ('hide' keeps the children in DOM but hide them, 'unmount' remove the children from the DOM).
|
|
101
|
+
*/
|
|
102
|
+
closeMode?: 'hide' | 'unmount';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
interface HasTheme {
|
|
106
|
+
/**
|
|
107
|
+
* Theme adapting the component to light or dark background.
|
|
108
|
+
*/
|
|
109
|
+
theme?: Theme;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Define a generic props types.
|
|
114
|
+
*/
|
|
115
|
+
interface GenericProps extends HasClassName {
|
|
116
|
+
/**
|
|
117
|
+
* Any prop (particularly any supported prop for a HTML element).
|
|
118
|
+
*/
|
|
119
|
+
[propName: string]: any;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
type JSXElement = boolean | number | string | JSX.Element | object | undefined | null;
|
|
123
|
+
|
|
124
|
+
/** Union type of all heading elements */
|
|
125
|
+
type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* A point coordinate in 2D space
|
|
129
|
+
*/
|
|
130
|
+
type Point = {
|
|
131
|
+
x: number;
|
|
132
|
+
y: number;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/** Predicate function type */
|
|
136
|
+
type Predicate<T> = (t: T) => boolean;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Rectangle size
|
|
140
|
+
*/
|
|
141
|
+
type RectSize = {
|
|
142
|
+
width: number;
|
|
143
|
+
height: number;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/** Union type of all text elements */
|
|
147
|
+
type TextElement = 'span' | 'p' | HeadingElement;
|
|
148
|
+
|
|
149
|
+
/** Get types of the values of a record. */
|
|
150
|
+
type ValueOf<T extends Record<any, any>> = T[keyof T];
|
|
151
|
+
|
|
152
|
+
/** Transform a string literal into kebab case */
|
|
153
|
+
type KebabCase<S> = S extends `${infer C}${infer T}` ? T extends Uncapitalize<T> ? `${Uncapitalize<C>}${KebabCase<T>}` : `${Uncapitalize<C>}-${KebabCase<T>}` : S;
|
|
154
|
+
|
|
155
|
+
/** Transform the component name into the lumx class name. */
|
|
156
|
+
type LumxClassName<TComponentName extends string> = `lumx-${KebabCase<TComponentName>}`;
|
|
157
|
+
|
|
158
|
+
type Direction = 'top' | 'right' | 'bottom' | 'left' | 'vertical' | 'horizontal' | 'all';
|
|
159
|
+
|
|
160
|
+
type Spacing = 'margin' | 'padding';
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Alignments.
|
|
164
|
+
*/
|
|
165
|
+
declare const Alignment: {
|
|
166
|
+
readonly bottom: "bottom";
|
|
167
|
+
readonly center: "center";
|
|
168
|
+
readonly end: "end";
|
|
169
|
+
readonly left: "left";
|
|
170
|
+
readonly right: "right";
|
|
171
|
+
readonly spaceAround: "space-around";
|
|
172
|
+
readonly spaceBetween: "space-between";
|
|
173
|
+
readonly spaceEvenly: "space-evenly";
|
|
174
|
+
readonly start: "start";
|
|
175
|
+
readonly top: "top";
|
|
176
|
+
};
|
|
177
|
+
type Alignment = ValueOf<typeof Alignment>;
|
|
178
|
+
type VerticalAlignment = Extract<Alignment, 'top' | 'center' | 'bottom'>;
|
|
179
|
+
type HorizontalAlignment = Extract<Alignment, 'right' | 'center' | 'left'>;
|
|
180
|
+
declare const Theme: {
|
|
181
|
+
readonly light: "light";
|
|
182
|
+
readonly dark: "dark";
|
|
183
|
+
};
|
|
184
|
+
type Theme = ValueOf<typeof Theme>;
|
|
185
|
+
declare const Size: {
|
|
186
|
+
readonly xxs: "xxs";
|
|
187
|
+
readonly xs: "xs";
|
|
188
|
+
readonly s: "s";
|
|
189
|
+
readonly m: "m";
|
|
190
|
+
readonly l: "l";
|
|
191
|
+
readonly xl: "xl";
|
|
192
|
+
readonly xxl: "xxl";
|
|
193
|
+
readonly tiny: "tiny";
|
|
194
|
+
readonly regular: "regular";
|
|
195
|
+
readonly medium: "medium";
|
|
196
|
+
readonly big: "big";
|
|
197
|
+
readonly huge: "huge";
|
|
198
|
+
};
|
|
199
|
+
type Size = ValueOf<typeof Size>;
|
|
200
|
+
type GlobalSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
|
|
201
|
+
declare const Orientation: {
|
|
202
|
+
readonly horizontal: "horizontal";
|
|
203
|
+
readonly vertical: "vertical";
|
|
204
|
+
};
|
|
205
|
+
type Orientation = ValueOf<typeof Orientation>;
|
|
206
|
+
declare const Emphasis: {
|
|
207
|
+
readonly low: "low";
|
|
208
|
+
readonly medium: "medium";
|
|
209
|
+
readonly high: "high";
|
|
210
|
+
};
|
|
211
|
+
type Emphasis = ValueOf<typeof Emphasis>;
|
|
212
|
+
/**
|
|
213
|
+
* List of typographies that can't be customized.
|
|
214
|
+
*/
|
|
215
|
+
declare const TypographyInterface: {
|
|
216
|
+
readonly overline: "overline";
|
|
217
|
+
readonly caption: "caption";
|
|
218
|
+
readonly body1: "body1";
|
|
219
|
+
readonly body2: "body2";
|
|
220
|
+
readonly subtitle1: "subtitle1";
|
|
221
|
+
readonly subtitle2: "subtitle2";
|
|
222
|
+
readonly title: "title";
|
|
223
|
+
readonly headline: "headline";
|
|
224
|
+
readonly display1: "display1";
|
|
225
|
+
};
|
|
226
|
+
type TypographyInterface = ValueOf<typeof TypographyInterface>;
|
|
227
|
+
/**
|
|
228
|
+
* List of title typographies that can be customized (via CSS variables).
|
|
229
|
+
*/
|
|
230
|
+
declare const TypographyTitleCustom: {
|
|
231
|
+
readonly title1: "custom-title1";
|
|
232
|
+
readonly title2: "custom-title2";
|
|
233
|
+
readonly title3: "custom-title3";
|
|
234
|
+
readonly title4: "custom-title4";
|
|
235
|
+
readonly title5: "custom-title5";
|
|
236
|
+
readonly title6: "custom-title6";
|
|
237
|
+
};
|
|
238
|
+
type TypographyTitleCustom = ValueOf<typeof TypographyTitleCustom>;
|
|
239
|
+
/**
|
|
240
|
+
* List of typographies that can be customized (via CSS variables).
|
|
241
|
+
*/
|
|
242
|
+
declare const TypographyCustom: {
|
|
243
|
+
readonly intro: "custom-intro";
|
|
244
|
+
readonly 'body-large': "custom-body-large";
|
|
245
|
+
readonly body: "custom-body";
|
|
246
|
+
readonly quote: "custom-quote";
|
|
247
|
+
readonly 'publish-info': "custom-publish-info";
|
|
248
|
+
readonly button: "custom-button";
|
|
249
|
+
readonly title1: "custom-title1";
|
|
250
|
+
readonly title2: "custom-title2";
|
|
251
|
+
readonly title3: "custom-title3";
|
|
252
|
+
readonly title4: "custom-title4";
|
|
253
|
+
readonly title5: "custom-title5";
|
|
254
|
+
readonly title6: "custom-title6";
|
|
255
|
+
};
|
|
256
|
+
type TypographyCustom = ValueOf<typeof TypographyCustom>;
|
|
257
|
+
/**
|
|
258
|
+
* List of all typographies.
|
|
259
|
+
*/
|
|
260
|
+
declare const Typography: {
|
|
261
|
+
readonly custom: {
|
|
262
|
+
readonly intro: "custom-intro";
|
|
263
|
+
readonly 'body-large': "custom-body-large";
|
|
264
|
+
readonly body: "custom-body";
|
|
265
|
+
readonly quote: "custom-quote";
|
|
266
|
+
readonly 'publish-info': "custom-publish-info";
|
|
267
|
+
readonly button: "custom-button";
|
|
268
|
+
readonly title1: "custom-title1";
|
|
269
|
+
readonly title2: "custom-title2";
|
|
270
|
+
readonly title3: "custom-title3";
|
|
271
|
+
readonly title4: "custom-title4";
|
|
272
|
+
readonly title5: "custom-title5";
|
|
273
|
+
readonly title6: "custom-title6";
|
|
274
|
+
};
|
|
275
|
+
readonly overline: "overline";
|
|
276
|
+
readonly caption: "caption";
|
|
277
|
+
readonly body1: "body1";
|
|
278
|
+
readonly body2: "body2";
|
|
279
|
+
readonly subtitle1: "subtitle1";
|
|
280
|
+
readonly subtitle2: "subtitle2";
|
|
281
|
+
readonly title: "title";
|
|
282
|
+
readonly headline: "headline";
|
|
283
|
+
readonly display1: "display1";
|
|
284
|
+
};
|
|
285
|
+
type Typography = TypographyInterface | TypographyCustom;
|
|
286
|
+
/**
|
|
287
|
+
* All available aspect ratios.
|
|
288
|
+
*/
|
|
289
|
+
declare const AspectRatio: {
|
|
290
|
+
/** Intrinsic content ratio. */
|
|
291
|
+
readonly original: "original";
|
|
292
|
+
/** Ratio 3:1 */
|
|
293
|
+
readonly panoramic: "panoramic";
|
|
294
|
+
/** Ratio 16:9 */
|
|
295
|
+
readonly wide: "wide";
|
|
296
|
+
/** Ratio 3:2 */
|
|
297
|
+
readonly horizontal: "horizontal";
|
|
298
|
+
/** Ratio 3:2 */
|
|
299
|
+
readonly vertical: "vertical";
|
|
300
|
+
/** Ratio 1:1 */
|
|
301
|
+
readonly square: "square";
|
|
302
|
+
/** Ratio constrained by the parent. */
|
|
303
|
+
readonly free: "free";
|
|
304
|
+
};
|
|
305
|
+
type AspectRatio = ValueOf<typeof AspectRatio>;
|
|
306
|
+
/**
|
|
307
|
+
* Semantic info about the purpose of the component
|
|
308
|
+
*/
|
|
309
|
+
declare const Kind: {
|
|
310
|
+
readonly info: "info";
|
|
311
|
+
readonly success: "success";
|
|
312
|
+
readonly warning: "warning";
|
|
313
|
+
readonly error: "error";
|
|
314
|
+
};
|
|
315
|
+
type Kind = ValueOf<typeof Kind>;
|
|
316
|
+
/**
|
|
317
|
+
* All available white-space values
|
|
318
|
+
* */
|
|
319
|
+
declare const WhiteSpace: {
|
|
320
|
+
normal: string;
|
|
321
|
+
nowrap: string;
|
|
322
|
+
pre: string;
|
|
323
|
+
'pre-wrap': string;
|
|
324
|
+
'pre-line': string;
|
|
325
|
+
'break-spaces': string;
|
|
326
|
+
};
|
|
327
|
+
type WhiteSpace = ValueOf<typeof WhiteSpace>;
|
|
328
|
+
/**
|
|
329
|
+
* See SCSS variable $lumx-color-palette
|
|
330
|
+
*/
|
|
331
|
+
declare const ColorPalette: {
|
|
332
|
+
readonly primary: "primary";
|
|
333
|
+
readonly secondary: "secondary";
|
|
334
|
+
readonly blue: "blue";
|
|
335
|
+
readonly dark: "dark";
|
|
336
|
+
readonly green: "green";
|
|
337
|
+
readonly yellow: "yellow";
|
|
338
|
+
readonly red: "red";
|
|
339
|
+
readonly light: "light";
|
|
340
|
+
readonly grey: "grey";
|
|
341
|
+
};
|
|
342
|
+
type ColorPalette = ValueOf<typeof ColorPalette>;
|
|
343
|
+
type Color = ColorPalette | string;
|
|
344
|
+
/**
|
|
345
|
+
* See SCSS variable $lumx-color-variants
|
|
346
|
+
*/
|
|
347
|
+
declare const ColorVariant: {
|
|
348
|
+
readonly D1: "D1";
|
|
349
|
+
readonly D2: "D2";
|
|
350
|
+
readonly L1: "L1";
|
|
351
|
+
readonly L2: "L2";
|
|
352
|
+
readonly L3: "L3";
|
|
353
|
+
readonly L4: "L4";
|
|
354
|
+
readonly L5: "L5";
|
|
355
|
+
readonly L6: "L6";
|
|
356
|
+
readonly N: "N";
|
|
357
|
+
};
|
|
358
|
+
type ColorVariant = ValueOf<typeof ColorVariant>;
|
|
359
|
+
/** ColorPalette with all possible color variant combination */
|
|
360
|
+
type ColorWithVariants = ColorPalette | Exclude<`${ColorPalette}-${ColorVariant}`, `light-D${number}` | `dark-D${number}`>;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Visually hidden a11y utility class name
|
|
364
|
+
*/
|
|
365
|
+
declare const VISUALLY_HIDDEN = "visually-hidden";
|
|
14
366
|
|
|
15
367
|
/** LumX Component Type. */
|
|
16
368
|
type Comp<P, T = HTMLElement> = {
|
|
@@ -1238,7 +1590,7 @@ declare const HeadingLevelProvider: React.FC<HeadingLevelProviderProps>;
|
|
|
1238
1590
|
|
|
1239
1591
|
declare const useHeadingLevel: () => {
|
|
1240
1592
|
level: number;
|
|
1241
|
-
headingElement:
|
|
1593
|
+
headingElement: HeadingElement;
|
|
1242
1594
|
};
|
|
1243
1595
|
|
|
1244
1596
|
type GridGutterSize = Extract<Size, 'regular' | 'big' | 'huge'>;
|
|
@@ -1318,6 +1670,28 @@ interface GridColumnProps extends GenericProps {
|
|
|
1318
1670
|
*/
|
|
1319
1671
|
declare const GridColumn: Comp<GridColumnProps, HTMLElement>;
|
|
1320
1672
|
|
|
1673
|
+
type IconSizes = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Defines the props of the component.
|
|
1676
|
+
*/
|
|
1677
|
+
interface IconProps extends GenericProps, HasTheme {
|
|
1678
|
+
/** Color variant. */
|
|
1679
|
+
color?: ColorWithVariants;
|
|
1680
|
+
/** Lightened or darkened variant of the selected icon color. */
|
|
1681
|
+
colorVariant?: ColorVariant;
|
|
1682
|
+
/** Whether the icon has a shape. */
|
|
1683
|
+
hasShape?: boolean;
|
|
1684
|
+
/**
|
|
1685
|
+
* Icon (SVG path) draw code (`d` property of the `<path>` SVG element).
|
|
1686
|
+
* See https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
|
|
1687
|
+
*/
|
|
1688
|
+
icon: string;
|
|
1689
|
+
/** Size variant. */
|
|
1690
|
+
size?: IconSizes;
|
|
1691
|
+
/** Sets an alternative text on the svg. Will set an `img` role to the svg. */
|
|
1692
|
+
alt?: string;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1321
1695
|
/**
|
|
1322
1696
|
* Icon component.
|
|
1323
1697
|
*
|
|
@@ -1583,6 +1957,16 @@ interface InlineListProps extends GenericProps {
|
|
|
1583
1957
|
*/
|
|
1584
1958
|
declare const InlineList: Comp<InlineListProps, HTMLElement>;
|
|
1585
1959
|
|
|
1960
|
+
/**
|
|
1961
|
+
* Defines the props of the component.
|
|
1962
|
+
*/
|
|
1963
|
+
interface InputHelperProps extends GenericProps, HasTheme {
|
|
1964
|
+
/** Helper content. */
|
|
1965
|
+
children: JSXElement;
|
|
1966
|
+
/** Helper variant. */
|
|
1967
|
+
kind?: Kind;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1586
1970
|
/**
|
|
1587
1971
|
* InputHelper component.
|
|
1588
1972
|
*
|
|
@@ -1592,6 +1976,17 @@ declare const InlineList: Comp<InlineListProps, HTMLElement>;
|
|
|
1592
1976
|
*/
|
|
1593
1977
|
declare const InputHelper: Comp<InputHelperProps, HTMLParagraphElement>;
|
|
1594
1978
|
|
|
1979
|
+
interface InputLabelProps extends GenericProps, HasTheme {
|
|
1980
|
+
/** Typography variant. */
|
|
1981
|
+
typography?: Typography;
|
|
1982
|
+
/** Label content. */
|
|
1983
|
+
children: JSXElement;
|
|
1984
|
+
/** Native htmlFor property. */
|
|
1985
|
+
htmlFor: string;
|
|
1986
|
+
/** Whether the component is required or not. */
|
|
1987
|
+
isRequired?: boolean;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1595
1990
|
/**
|
|
1596
1991
|
* InputLabel component.
|
|
1597
1992
|
*
|
|
@@ -3147,5 +3542,5 @@ declare const ThemeProvider: React__default.FC<{
|
|
|
3147
3542
|
/** Get the theme in the current context. */
|
|
3148
3543
|
declare function useTheme(): ThemeContextValue;
|
|
3149
3544
|
|
|
3150
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
3151
|
-
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, CheckboxProps, ChipGroupProps, ChipProps, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HeadingLevelProviderProps, HeadingProps, IconButtonProps, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSubheaderProps, MarginAutoAlignment, MessageProps, MosaicProps, NavigationProps, NotificationProps, Offset, PopoverDialogProps, PopoverProps, PostBlockProps, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, SelectMultipleProps, SelectProps, SideNavigationItemProps, SideNavigationProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, TooltipPlacement, TooltipProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize };
|
|
3545
|
+
export { AlertDialog, Alignment, AspectRatio, Autocomplete, AutocompleteMultiple, Avatar, BACKSPACE_KEY_CODE, Badge, BadgeWrapper, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, ColorPalette, ColorVariant, CommentBlock, CommentBlockVariant, DIALOG_TRANSITION_DURATION, DOWN_KEY_CODE, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ENTER_KEY_CODE, ESCAPE_KEY_CODE, EXPANSION_PANEL_TRANSITION_DURATION, Emphasis, ExpansionPanel, Falsy, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Kind, LEFT_KEY_CODE, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, NOTIFICATION_TRANSITION_DURATION, Navigation, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RIGHT_KEY_CODE, RadioButton, RadioGroup, RawInputText, RawInputTextarea, SLIDESHOW_TRANSITION_DURATION, SPACE_KEY_CODE, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, Size, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, TAB_KEY_CODE, TOOLTIP_HOVER_DELAY, TOOLTIP_LONG_PRESS_DELAY, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, Theme, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, UP_KEY_CODE, Uploader, UploaderVariant, UserBlock, VISUALLY_HIDDEN, WhiteSpace, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
3546
|
+
export type { AlertDialogProps, AutocompleteMultipleProps, AutocompleteProps, AvatarProps, AvatarSize, BadgeProps, BadgeWrapperProps, BaseButtonProps, ButtonGroupProps, ButtonProps, ButtonSize, Callback, CheckboxProps, ChipGroupProps, ChipProps, Color, ColorWithVariants, CommentBlockProps, DatePickerControlledProps, DatePickerFieldProps, DatePickerProps, DialogProps, DialogSizes, Direction, DividerProps, DragHandleProps, DropdownProps, Elevation, ExpansionPanelProps, FlagProps, FlexBoxProps, FlexHorizontalAlignment, FlexVerticalAlignment, FocusPoint, GapSize, GenericBlockProps, GenericProps, GlobalSize, GridColumnGapSize, GridColumnProps, GridItemProps, GridProps, HasAriaLabelOrLabelledBy, HasClassName, HasCloseMode, HasTheme, HeadingElement, HeadingLevelProviderProps, HeadingProps, HorizontalAlignment, IconButtonProps, IconProps, IconSizes, ImageBlockProps, ImageBlockSize, ImageLightboxProps, InlineListProps, InputHelperProps, InputLabelProps, JSXElement, LightboxProps, LinkPreviewProps, LinkProps, ListDividerProps, ListItemProps, ListItemSize, ListProps, ListSubheaderProps, LumxClassName, MarginAutoAlignment, MessageProps, MosaicProps, NavigationProps, NotificationProps, Offset, Point, PopoverDialogProps, PopoverProps, PostBlockProps, Predicate, ProgressCircularProps, ProgressCircularSize, ProgressLinearProps, ProgressProps, ProgressTrackerProps, ProgressTrackerProviderProps, ProgressTrackerStepPanelProps, ProgressTrackerStepProps, RadioButtonProps, RadioGroupProps, RawInputTextProps, RawInputTextareaProps, RectSize, SelectMultipleProps, SelectProps, SideNavigationItemProps, SideNavigationProps, SkeletonCircleProps, SkeletonRectangleProps, SkeletonTypographyProps, SliderProps, SlidesProps, SlideshowControlsProps, SlideshowItemProps, SlideshowProps, Spacing, SwitchProps, TabListProps, TabPanelProps, TabProps, TabProviderProps, TableBodyProps, TableCellProps, TableHeaderProps, TableProps, TableRowProps, TextElement, TextFieldProps, TextProps, ThumbnailProps, ThumbnailSize, ToolbarProps, TooltipPlacement, TooltipProps, UploaderProps, UploaderSize, UserBlockProps, UserBlockSize, ValueOf, VerticalAlignment };
|