@wistia/ui 2.5.2-beta.f4b143d7.cba429e → 2.6.0-beta.255d16bf.754b564
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/index.d.ts +284 -215
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +325 -57
- package/dist/index.js.map +1 -1
- package/package.json +30 -30
package/dist/index.d.ts
CHANGED
|
@@ -26,14 +26,14 @@ type ResponsiveObject<T> = AtLeastOneBreakpoint<Record<Breakpoints, T>> & {
|
|
|
26
26
|
* Exported so server-rendered layouts can stamp the attribute (e.g.
|
|
27
27
|
* `<html data-wui-color-mode="dark">`) without hardcoding the string.
|
|
28
28
|
*/
|
|
29
|
-
declare const DOCUMENT_COLOR_MODE_ATTRIBUTE = "data-wui-color-mode";
|
|
30
|
-
declare const documentColorModeOptions: readonly ["dark", "light"];
|
|
29
|
+
export declare const DOCUMENT_COLOR_MODE_ATTRIBUTE = "data-wui-color-mode";
|
|
30
|
+
export declare const documentColorModeOptions: readonly ["dark", "light"];
|
|
31
31
|
type DocumentColorModeTypes = (typeof documentColorModeOptions)[number];
|
|
32
32
|
/**
|
|
33
33
|
* Reads the document-level color mode. Returns `null` when no mode is set
|
|
34
34
|
* (the document default, light) or outside a DOM environment.
|
|
35
35
|
*/
|
|
36
|
-
declare const getDocumentColorMode: () => DocumentColorModeTypes | null;
|
|
36
|
+
export declare const getDocumentColorMode: () => DocumentColorModeTypes | null;
|
|
37
37
|
/**
|
|
38
38
|
* Sets or clears the document-level color mode by writing the
|
|
39
39
|
* `data-wui-color-mode` attribute on `<html>`. Because the attribute lives on
|
|
@@ -46,7 +46,7 @@ declare const getDocumentColorMode: () => DocumentColorModeTypes | null;
|
|
|
46
46
|
* share one contract. For subtree scoping, use `ColorSchemeWrapper`'s
|
|
47
47
|
* `colorMode` prop instead (note: portaled content escapes a subtree mode).
|
|
48
48
|
*/
|
|
49
|
-
declare const setDocumentColorMode: (mode: DocumentColorModeTypes | null) => void;
|
|
49
|
+
export declare const setDocumentColorMode: (mode: DocumentColorModeTypes | null) => void;
|
|
50
50
|
/**
|
|
51
51
|
* Forces the document-level color mode while the calling component is
|
|
52
52
|
* mounted, restoring whatever mode was previously set when it unmounts (or
|
|
@@ -63,16 +63,16 @@ declare const setDocumentColorMode: (mode: DocumentColorModeTypes | null) => voi
|
|
|
63
63
|
* forcing modes over overlapping, non-nested lifetimes can restore a stale
|
|
64
64
|
* value — keep forcing at one level of the tree (typically the route/screen).
|
|
65
65
|
*/
|
|
66
|
-
declare const useDocumentColorMode: (mode: DocumentColorModeTypes | null) => void;
|
|
66
|
+
export declare const useDocumentColorMode: (mode: DocumentColorModeTypes | null) => void;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/ColorSchemeWrapper/ColorSchemeWrapper.d.ts
|
|
69
69
|
declare const defaultColorSchemeOptions: readonly ["standard", "inherit"];
|
|
70
70
|
declare const semanticColorSchemeOptions: readonly ["error", "info", "success", "warning"];
|
|
71
71
|
declare const brandColorSchemeOptions: readonly ["blue", "green", "orange", "pink", "purple", "red", "remix-lime", "yellow"];
|
|
72
72
|
declare const vendorColorSchemeOptions: readonly ["vendor-hubspot", "vendor-marketo", "vendor-pardot"];
|
|
73
|
-
declare const colorSchemeOptions: readonly [...typeof defaultColorSchemeOptions, ...typeof semanticColorSchemeOptions, ...typeof brandColorSchemeOptions, ...typeof vendorColorSchemeOptions];
|
|
73
|
+
export declare const colorSchemeOptions: readonly [...typeof defaultColorSchemeOptions, ...typeof semanticColorSchemeOptions, ...typeof brandColorSchemeOptions, ...typeof vendorColorSchemeOptions];
|
|
74
74
|
type ColorSchemeTypes = (typeof colorSchemeOptions)[number];
|
|
75
|
-
declare const colorModeOptions: readonly ["inherit", ...typeof documentColorModeOptions];
|
|
75
|
+
export declare const colorModeOptions: readonly ["inherit", ...typeof documentColorModeOptions];
|
|
76
76
|
type ColorModeTypes = (typeof colorModeOptions)[number];
|
|
77
77
|
type ColorSchemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
78
78
|
/**
|
|
@@ -104,10 +104,10 @@ type ColorSchemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
104
104
|
/**
|
|
105
105
|
* A wrapper to apply a color scheme to its children.
|
|
106
106
|
*/
|
|
107
|
-
declare const ColorSchemeWrapper: FC<ColorSchemeWrapperProps>;
|
|
107
|
+
export declare const ColorSchemeWrapper: FC<ColorSchemeWrapperProps>;
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/Icon/Icon.d.ts
|
|
110
|
-
declare const iconSizeMap: {
|
|
110
|
+
export declare const iconSizeMap: {
|
|
111
111
|
sm: string;
|
|
112
112
|
md: string;
|
|
113
113
|
lg: string;
|
|
@@ -145,7 +145,7 @@ type IconProps = ComponentPropsWithoutRef<"svg"> & {
|
|
|
145
145
|
/**
|
|
146
146
|
* An `Icon` displays a visual symbol to represent an action, concept, or entity, rendering the SVG registered for its `type` at a fixed or responsive `size`.
|
|
147
147
|
*/
|
|
148
|
-
declare const Icon: FC<IconProps>;
|
|
148
|
+
export declare const Icon: FC<IconProps>;
|
|
149
149
|
//#endregion
|
|
150
150
|
//#region src/providers/UIProvider/UIProvider.d.ts
|
|
151
151
|
type UIProviderProps = {
|
|
@@ -172,7 +172,7 @@ type UIProviderProps = {
|
|
|
172
172
|
*/
|
|
173
173
|
gatedIcon?: IconNameType | undefined;
|
|
174
174
|
};
|
|
175
|
-
declare const UIProvider: ({ children, id, gatedIcon }: UIProviderProps) => JSX.Element;
|
|
175
|
+
export declare const UIProvider: ({ children, id, gatedIcon }: UIProviderProps) => JSX.Element;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/helpers/coerceToBoolean/coerceToBoolean.d.ts
|
|
178
178
|
/**
|
|
@@ -182,7 +182,7 @@ declare const UIProvider: ({ children, id, gatedIcon }: UIProviderProps) => JSX.
|
|
|
182
182
|
* @param {*} value - a value of any type
|
|
183
183
|
* @returns {boolean} - that value as a boolean
|
|
184
184
|
*/
|
|
185
|
-
declare const coerceToBoolean: (value: unknown) => boolean;
|
|
185
|
+
export declare const coerceToBoolean: (value: unknown) => boolean;
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/helpers/copyToClipboard/copyToClipboard.d.ts
|
|
188
188
|
/**
|
|
@@ -191,7 +191,7 @@ declare const coerceToBoolean: (value: unknown) => boolean;
|
|
|
191
191
|
* @param {string} textToCopy - the string that will be copied to users clipboard
|
|
192
192
|
* @returns {Promise<void>} - Promise object that resolves when the text is copied
|
|
193
193
|
*/
|
|
194
|
-
declare const copyToClipboard: (textToCopy: string) => Promise<void>;
|
|
194
|
+
export declare const copyToClipboard: (textToCopy: string) => Promise<void>;
|
|
195
195
|
//#endregion
|
|
196
196
|
//#region src/helpers/dateTime/buildTimeDuration.d.ts
|
|
197
197
|
type TimeDuration = {
|
|
@@ -205,7 +205,7 @@ type TimeDuration = {
|
|
|
205
205
|
* @param {number} numberOfMilliseconds - number of milliseconds
|
|
206
206
|
* @returns {TimeDuration} -
|
|
207
207
|
*/
|
|
208
|
-
declare const buildTimeDuration: (numberOfMilliseconds: number) => TimeDuration;
|
|
208
|
+
export declare const buildTimeDuration: (numberOfMilliseconds: number) => TimeDuration;
|
|
209
209
|
//#endregion
|
|
210
210
|
//#region src/helpers/dateTime/dateOnlyISOString.d.ts
|
|
211
211
|
/**
|
|
@@ -217,7 +217,7 @@ declare const buildTimeDuration: (numberOfMilliseconds: number) => TimeDuration;
|
|
|
217
217
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
218
218
|
* @returns {string} a formatted date string
|
|
219
219
|
*/
|
|
220
|
-
declare const dateOnlyISOString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
220
|
+
export declare const dateOnlyISOString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/helpers/dateTime/dateOnlyString.d.ts
|
|
223
223
|
type DateOnlyStringOptions$1 = {
|
|
@@ -239,7 +239,7 @@ type DateOnlyStringOptions$1 = {
|
|
|
239
239
|
* @param {boolean} options.omitYear - if true, display the date without the year
|
|
240
240
|
* @returns {string} a formatted date string
|
|
241
241
|
*/
|
|
242
|
-
declare const dateOnlyString: (date: unknown, { timeZone, omitYear }?: DateOnlyStringOptions$1) => string;
|
|
242
|
+
export declare const dateOnlyString: (date: unknown, { timeZone, omitYear }?: DateOnlyStringOptions$1) => string;
|
|
243
243
|
//#endregion
|
|
244
244
|
//#region src/helpers/dateTime/dateOnlyStringForSentence.d.ts
|
|
245
245
|
/**
|
|
@@ -253,7 +253,7 @@ declare const dateOnlyString: (date: unknown, { timeZone, omitYear }?: DateOnlyS
|
|
|
253
253
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
254
254
|
* @returns {string} a formatted date string
|
|
255
255
|
*/
|
|
256
|
-
declare const dateOnlyStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
256
|
+
export declare const dateOnlyStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
257
257
|
//#endregion
|
|
258
258
|
//#region src/helpers/dateTime/dateOnlyStringNumeric.d.ts
|
|
259
259
|
/**
|
|
@@ -265,7 +265,7 @@ declare const dateOnlyStringForSentence: (date: unknown, { timeZone }?: DateOnly
|
|
|
265
265
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
266
266
|
* @returns {string} a formatted date string
|
|
267
267
|
*/
|
|
268
|
-
declare const dateOnlyStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
268
|
+
export declare const dateOnlyStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
269
269
|
//#endregion
|
|
270
270
|
//#region src/helpers/dateTime/dateTimeRounded.d.ts
|
|
271
271
|
/**
|
|
@@ -273,7 +273,7 @@ declare const dateOnlyStringNumeric: (date: unknown, { timeZone }?: DateOnlyStri
|
|
|
273
273
|
* @param {boolean} toISOString - whether the return value should be an ISO string
|
|
274
274
|
* @returns {string | Date | null} - string or date depending on if toIsoString is true or false. Could be null if there's an error.
|
|
275
275
|
*/
|
|
276
|
-
declare const dateTimeRounded: DateTimeRoundedOverload;
|
|
276
|
+
export declare const dateTimeRounded: DateTimeRoundedOverload;
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region src/helpers/dateTime/dateTimeString.d.ts
|
|
279
279
|
/**
|
|
@@ -289,7 +289,7 @@ declare const dateTimeRounded: DateTimeRoundedOverload;
|
|
|
289
289
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
290
290
|
* @returns {string} a formatted date string
|
|
291
291
|
*/
|
|
292
|
-
declare const dateTimeString: (date: Date | number | string | null | undefined, { timeZone, omitYear }?: DateOnlyStringOptions) => string;
|
|
292
|
+
export declare const dateTimeString: (date: Date | number | string | null | undefined, { timeZone, omitYear }?: DateOnlyStringOptions) => string;
|
|
293
293
|
//#endregion
|
|
294
294
|
//#region src/helpers/dateTime/dateTimeStringForSentence.d.ts
|
|
295
295
|
/**
|
|
@@ -306,21 +306,21 @@ declare const dateTimeString: (date: Date | number | string | null | undefined,
|
|
|
306
306
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
307
307
|
* @returns {string} a formatted date string
|
|
308
308
|
*/
|
|
309
|
-
declare const dateTimeStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
309
|
+
export declare const dateTimeStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region src/helpers/dateTime/dateTimeToDate.d.ts
|
|
312
312
|
/**
|
|
313
313
|
* @param {Partial<WistiaDateTimeObject> | null} dateTime - a dateTime object
|
|
314
314
|
* @returns {Date | null} - the converted date or null if anything is missing
|
|
315
315
|
*/
|
|
316
|
-
declare const dateTimeToDate: (dateTime: Partial<WistiaDateTimeObject> | null | undefined) => Date | null;
|
|
316
|
+
export declare const dateTimeToDate: (dateTime: Partial<WistiaDateTimeObject> | null | undefined) => Date | null;
|
|
317
317
|
//#endregion
|
|
318
318
|
//#region src/helpers/dateTime/dateTimeToISO.d.ts
|
|
319
319
|
/**
|
|
320
320
|
* @param {Partial<WistiaDateTimeObject>} dateTime - a dateTime object
|
|
321
321
|
* @returns {string | null} - string with the ISO-8601 string or null
|
|
322
322
|
*/
|
|
323
|
-
declare const dateTimeToISO: (dateTime: Partial<WistiaDateTimeObject>) => string | null;
|
|
323
|
+
export declare const dateTimeToISO: (dateTime: Partial<WistiaDateTimeObject>) => string | null;
|
|
324
324
|
//#endregion
|
|
325
325
|
//#region src/helpers/dateTime/dateToDateTime.d.ts
|
|
326
326
|
/**
|
|
@@ -335,7 +335,7 @@ declare const dateTimeToISO: (dateTime: Partial<WistiaDateTimeObject>) => string
|
|
|
335
335
|
* @param {Date | null | undefined} date - a Date object
|
|
336
336
|
* @returns {WistiaDateTimeObject | null} - replaceMe
|
|
337
337
|
*/
|
|
338
|
-
declare const dateToDateTime: (date: Date | null | undefined) => WistiaDateTimeObject | null;
|
|
338
|
+
export declare const dateToDateTime: (date: Date | null | undefined) => WistiaDateTimeObject | null;
|
|
339
339
|
//#endregion
|
|
340
340
|
//#region src/helpers/dateTime/dateUTCOffset.d.ts
|
|
341
341
|
/**
|
|
@@ -343,7 +343,7 @@ declare const dateToDateTime: (date: Date | null | undefined) => WistiaDateTimeO
|
|
|
343
343
|
* @param {Date} date a Date object for calculating offset.
|
|
344
344
|
* @returns {string} - string representing the UTC offset
|
|
345
345
|
*/
|
|
346
|
-
declare const dateUTCOffset: (date: Date) => string;
|
|
346
|
+
export declare const dateUTCOffset: (date: Date) => string;
|
|
347
347
|
//#endregion
|
|
348
348
|
//#region src/helpers/dateTime/dayOfWeekString.d.ts
|
|
349
349
|
/**
|
|
@@ -355,7 +355,7 @@ declare const dateUTCOffset: (date: Date) => string;
|
|
|
355
355
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
356
356
|
* @returns {string} a formatted date string
|
|
357
357
|
*/
|
|
358
|
-
declare const dayOfWeekString: (date: Date | null, { timeZone }?: DateOnlyStringOptions) => string;
|
|
358
|
+
export declare const dayOfWeekString: (date: Date | null, { timeZone }?: DateOnlyStringOptions) => string;
|
|
359
359
|
//#endregion
|
|
360
360
|
//#region src/helpers/dateTime/mediaDurationString.d.ts
|
|
361
361
|
/**
|
|
@@ -365,7 +365,7 @@ declare const dayOfWeekString: (date: Date | null, { timeZone }?: DateOnlyString
|
|
|
365
365
|
* @param {number} numberOfMilliseconds - number of milliseconds
|
|
366
366
|
* @returns {string} - a string representation for duration
|
|
367
367
|
*/
|
|
368
|
-
declare const mediaDurationString: (numberOfMilliseconds: number) => string;
|
|
368
|
+
export declare const mediaDurationString: (numberOfMilliseconds: number) => string;
|
|
369
369
|
//#endregion
|
|
370
370
|
//#region src/helpers/dateTime/millisecondsToDurationISOString.d.ts
|
|
371
371
|
/**
|
|
@@ -376,7 +376,7 @@ declare const mediaDurationString: (numberOfMilliseconds: number) => string;
|
|
|
376
376
|
* @param {number} numberOfMilliseconds - number of milliseconds
|
|
377
377
|
* @returns {string} an iso8601 string format of duration
|
|
378
378
|
*/
|
|
379
|
-
declare const millisecondsToDurationISOString: (numberOfMilliseconds: number) => string;
|
|
379
|
+
export declare const millisecondsToDurationISOString: (numberOfMilliseconds: number) => string;
|
|
380
380
|
//#endregion
|
|
381
381
|
//#region src/helpers/dateTime/monthDayStringNumeric.d.ts
|
|
382
382
|
/**
|
|
@@ -388,10 +388,10 @@ declare const millisecondsToDurationISOString: (numberOfMilliseconds: number) =>
|
|
|
388
388
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
389
389
|
* @returns {string} a formatted date string
|
|
390
390
|
*/
|
|
391
|
-
declare const monthDayStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
391
|
+
export declare const monthDayStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
392
392
|
//#endregion
|
|
393
393
|
//#region src/helpers/dateTime/parseDateString.d.ts
|
|
394
|
-
declare const parseDateString: (str: string) => Date | null;
|
|
394
|
+
export declare const parseDateString: (str: string) => Date | null;
|
|
395
395
|
//#endregion
|
|
396
396
|
//#region src/helpers/dateTime/sessionDurationString.d.ts
|
|
397
397
|
/**
|
|
@@ -402,7 +402,7 @@ declare const parseDateString: (str: string) => Date | null;
|
|
|
402
402
|
* @param {number} numberOfMilliseconds - number of milliseconds
|
|
403
403
|
* @returns {string} - a string representation of duration
|
|
404
404
|
*/
|
|
405
|
-
declare const sessionDurationString: (numberOfMilliseconds: number) => string;
|
|
405
|
+
export declare const sessionDurationString: (numberOfMilliseconds: number) => string;
|
|
406
406
|
//#endregion
|
|
407
407
|
//#region src/helpers/dateTime/timeAgoString.d.ts
|
|
408
408
|
/**
|
|
@@ -442,7 +442,7 @@ declare const sessionDurationString: (numberOfMilliseconds: number) => string;
|
|
|
442
442
|
* @param {boolean} options.includeTime - Whether to include the time in the output. Defaults to true.
|
|
443
443
|
* @returns {string} - a string representation of the date.
|
|
444
444
|
*/
|
|
445
|
-
declare const timeAgoString: (date: Date, { nowAnchor, includeTime }?: TimeAgoOptions) => string;
|
|
445
|
+
export declare const timeAgoString: (date: Date, { nowAnchor, includeTime }?: TimeAgoOptions) => string;
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/helpers/dateTime/timeOnlyString.d.ts
|
|
448
448
|
/**
|
|
@@ -454,10 +454,10 @@ declare const timeAgoString: (date: Date, { nowAnchor, includeTime }?: TimeAgoOp
|
|
|
454
454
|
* @param {string} options.timeZone - the timezone you want date displayed in, defaults to current users time zone
|
|
455
455
|
* @returns {string} a formatted date string
|
|
456
456
|
*/
|
|
457
|
-
declare const timeOnlyString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
457
|
+
export declare const timeOnlyString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
458
458
|
//#endregion
|
|
459
459
|
//#region src/helpers/dateTime/index.d.ts
|
|
460
|
-
declare const dateTime: {
|
|
460
|
+
export declare const dateTime: {
|
|
461
461
|
buildTimeDuration: typeof buildTimeDuration;
|
|
462
462
|
dateOnlyISOString: typeof dateOnlyISOString;
|
|
463
463
|
dateOnlyString: typeof dateOnlyString;
|
|
@@ -487,7 +487,7 @@ declare const dateTime: {
|
|
|
487
487
|
* @param {*} str - a string to validate - could be an unknown type
|
|
488
488
|
* @return {boolean} - whether string appears to be a url
|
|
489
489
|
*/
|
|
490
|
-
declare const isUrl: (str: unknown) => boolean;
|
|
490
|
+
export declare const isUrl: (str: unknown) => boolean;
|
|
491
491
|
//#endregion
|
|
492
492
|
//#region src/helpers/getBackgroundGradient/getBackgroundGradient.d.ts
|
|
493
493
|
type GradientName = "defaultDarkOne" | "defaultDarkTwo" | "defaultLightOne" | "defaultLightTwo" | "defaultMidOne" | "defaultMidTwo" | "green" | "greenWithPop" | "pink" | "pinkWithPop" | "playfulGradientOne" | "playfulGradientTwo" | "purple" | "purpleWithPop" | "yellow" | "yellowWithPop";
|
|
@@ -500,7 +500,7 @@ type GetBackgroundGradientType = GradientNameType | undefined;
|
|
|
500
500
|
* @param {GradientName} gradientName - The name of the gradient to retrieve.
|
|
501
501
|
* @returns {CssStyleType} The CSS string representing the specified gradient.
|
|
502
502
|
*/
|
|
503
|
-
declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) => ReturnType<typeof css>;
|
|
503
|
+
export declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) => ReturnType<typeof css>;
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region src/helpers/getBackgroundGradient/getSemiRandomBackgroundGradient.d.ts
|
|
506
506
|
/**
|
|
@@ -509,14 +509,14 @@ declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType)
|
|
|
509
509
|
* @param {string} id - The id to use to generate the semi-random background gradient.
|
|
510
510
|
* @returns {GradientName} gradientName
|
|
511
511
|
*/
|
|
512
|
-
declare const getSemiRandomBackgroundGradient: (id: string) => GradientNameType;
|
|
512
|
+
export declare const getSemiRandomBackgroundGradient: (id: string) => GradientNameType;
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region src/helpers/mergeRefs/mergeRefs.d.ts
|
|
515
|
-
declare const mergeRefs: <T = unknown>(refs: (LegacyRef<T> | MutableRefObject<T> | null | undefined)[]) => RefCallback<T>;
|
|
515
|
+
export declare const mergeRefs: <T = unknown>(refs: (LegacyRef<T> | MutableRefObject<T> | null | undefined)[]) => RefCallback<T>;
|
|
516
516
|
//#endregion
|
|
517
517
|
//#region src/helpers/mq/mq.d.ts
|
|
518
518
|
type MqFn = () => string;
|
|
519
|
-
declare const mq: {
|
|
519
|
+
export declare const mq: {
|
|
520
520
|
xsAndUp: MqFn;
|
|
521
521
|
smAndUp: MqFn;
|
|
522
522
|
mdAndUp: MqFn;
|
|
@@ -536,20 +536,20 @@ declare const mq: {
|
|
|
536
536
|
* @param {string} str - string to have file extension removed from
|
|
537
537
|
* @returns {string} - string with file extension removed
|
|
538
538
|
*/
|
|
539
|
-
declare const stripExtension: (str: string) => string;
|
|
539
|
+
export declare const stripExtension: (str: string) => string;
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region src/hooks/useAriaLive/useAriaLive.d.ts
|
|
542
542
|
type AriaLiveContextType = {
|
|
543
543
|
announce: (message: string, politeness?: "assertive" | "polite") => void;
|
|
544
544
|
};
|
|
545
|
-
declare const useAriaLive: () => AriaLiveContextType;
|
|
545
|
+
export declare const useAriaLive: () => AriaLiveContextType;
|
|
546
546
|
//#endregion
|
|
547
547
|
//#region src/hooks/useBoolean/useBoolean.d.ts
|
|
548
548
|
type UseBooleanReturn = [boolean, () => void, () => void, () => void, Dispatch<SetStateAction<boolean>>];
|
|
549
|
-
declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
|
|
549
|
+
export declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
|
|
550
550
|
//#endregion
|
|
551
551
|
//#region src/hooks/useClipboard/useClipboard.d.ts
|
|
552
|
-
declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
|
|
552
|
+
export declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
|
|
553
553
|
//#endregion
|
|
554
554
|
//#region src/hooks/useElementObserver/useElementObserver.d.ts
|
|
555
555
|
type Rect = {
|
|
@@ -562,7 +562,7 @@ type Rect = {
|
|
|
562
562
|
x: number;
|
|
563
563
|
y: number;
|
|
564
564
|
};
|
|
565
|
-
declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | null>, Rect];
|
|
565
|
+
export declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | null>, Rect];
|
|
566
566
|
//#endregion
|
|
567
567
|
//#region src/hooks/useFilePicker/useFilePicker.d.ts
|
|
568
568
|
/**
|
|
@@ -570,23 +570,23 @@ declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | nu
|
|
|
570
570
|
*
|
|
571
571
|
* @param config Optional configuration for the file picker
|
|
572
572
|
*/
|
|
573
|
-
declare const useFilePicker: <T extends UseFilePickerConfig = UseFilePickerConfig>(config?: T) => FilePickerReturnTypes<ExtractContentTypeFromConfig<T>>;
|
|
573
|
+
export declare const useFilePicker: <T extends UseFilePickerConfig = UseFilePickerConfig>(config?: T) => FilePickerReturnTypes<ExtractContentTypeFromConfig<T>>;
|
|
574
574
|
/**
|
|
575
575
|
* Hook that wraps `useImperativeFilePicker` from the use-file-picker library
|
|
576
576
|
*
|
|
577
577
|
* @param config Optional configuration for the imperative file picker
|
|
578
578
|
*/
|
|
579
|
-
declare const useImperativeFilePicker: <T extends useImperativeFilePickerConfig = useImperativeFilePickerConfig>(config?: T) => ImperativeFilePickerReturnTypes<ExtractContentTypeFromConfig<T>>;
|
|
579
|
+
export declare const useImperativeFilePicker: <T extends useImperativeFilePickerConfig = useImperativeFilePickerConfig>(config?: T) => ImperativeFilePickerReturnTypes<ExtractContentTypeFromConfig<T>>;
|
|
580
580
|
//#endregion
|
|
581
581
|
//#region src/hooks/useFocusTrap/useFocusTrap.d.ts
|
|
582
582
|
type UseFocusTrapOptions = {
|
|
583
583
|
disableAriaHider?: boolean;
|
|
584
584
|
focusSelector?: HTMLElement | RefObject<HTMLElement | null> | string | null | undefined;
|
|
585
585
|
};
|
|
586
|
-
declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => ((node: HTMLElement | null | undefined) => void);
|
|
586
|
+
export declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => ((node: HTMLElement | null | undefined) => void);
|
|
587
587
|
//#endregion
|
|
588
588
|
//#region src/hooks/useForceUpdate/useForceUpdate.d.ts
|
|
589
|
-
declare const useForceUpdate: () => (() => void);
|
|
589
|
+
export declare const useForceUpdate: () => (() => void);
|
|
590
590
|
//#endregion
|
|
591
591
|
//#region src/hooks/useIsHovered/useIsHovered.d.ts
|
|
592
592
|
type HoverProps = {
|
|
@@ -597,7 +597,7 @@ type HoverProps = {
|
|
|
597
597
|
onMouseMove?: () => void;
|
|
598
598
|
};
|
|
599
599
|
type UseIsHoveredReturnType = [boolean, HoverProps, (hovered: boolean) => void];
|
|
600
|
-
declare const useIsHovered: () => UseIsHoveredReturnType;
|
|
600
|
+
export declare const useIsHovered: () => UseIsHoveredReturnType;
|
|
601
601
|
//#endregion
|
|
602
602
|
//#region src/private/hooks/useEvent/useEvent.d.ts
|
|
603
603
|
declare const useEvent: <T extends Event>(eventName: string, eventHandler: (event: T) => unknown, eventTarget?: unknown, eventOptions?: AddEventListenerOptions | boolean | undefined) => void;
|
|
@@ -611,7 +611,7 @@ type UseKeyOptions = {
|
|
|
611
611
|
eventTarget?: Parameters<typeof useEvent>[2];
|
|
612
612
|
eventOptions?: Parameters<typeof useEvent>[3];
|
|
613
613
|
};
|
|
614
|
-
declare const useKey: (key: KeyFilter, eventHandler: EventHandler, { eventName, eventTarget, eventOptions }?: UseKeyOptions) => void;
|
|
614
|
+
export declare const useKey: (key: KeyFilter, eventHandler: EventHandler, { eventName, eventTarget, eventOptions }?: UseKeyOptions) => void;
|
|
615
615
|
//#endregion
|
|
616
616
|
//#region src/hooks/useKeyPress/useKeyPress.d.ts
|
|
617
617
|
type KeyPressState = [boolean, KeyboardEvent | null];
|
|
@@ -619,14 +619,14 @@ type UseKeyPressOptions = {
|
|
|
619
619
|
onKeyDown?: (event: KeyboardEvent) => void;
|
|
620
620
|
onKeyUp?: (event: KeyboardEvent) => void;
|
|
621
621
|
};
|
|
622
|
-
declare const useKeyPress: (keyFilter: Parameters<typeof useKey>[0], options?: UseKeyPressOptions) => KeyPressState;
|
|
622
|
+
export declare const useKeyPress: (keyFilter: Parameters<typeof useKey>[0], options?: UseKeyPressOptions) => KeyPressState;
|
|
623
623
|
//#endregion
|
|
624
624
|
//#region src/hooks/useLocalStorage/useLocalStorage.d.ts
|
|
625
625
|
type SetItemType = Storage["setItem"];
|
|
626
|
-
declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T, storage?: Storage) => [T | undefined, (newValue: T) => void, () => void];
|
|
626
|
+
export declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T, storage?: Storage) => [T | undefined, (newValue: T) => void, () => void];
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region src/hooks/useLockBodyScroll/useLockBodyScroll.d.ts
|
|
629
|
-
declare const useLockBodyScroll: (locked: boolean) => void;
|
|
629
|
+
export declare const useLockBodyScroll: (locked: boolean) => void;
|
|
630
630
|
//#endregion
|
|
631
631
|
//#region src/hooks/useMq/useMq.d.ts
|
|
632
632
|
type UseMqReturnType = {
|
|
@@ -641,16 +641,16 @@ type UseMqReturnType = {
|
|
|
641
641
|
isLgAndDown: boolean;
|
|
642
642
|
isXlAndDown: boolean;
|
|
643
643
|
};
|
|
644
|
-
declare const useMq: () => UseMqReturnType;
|
|
644
|
+
export declare const useMq: () => UseMqReturnType;
|
|
645
645
|
type UseActiveMqReturnType = keyof UseMqReturnType;
|
|
646
|
-
declare const useActiveMq: () => UseActiveMqReturnType[];
|
|
646
|
+
export declare const useActiveMq: () => UseActiveMqReturnType[];
|
|
647
647
|
//#endregion
|
|
648
648
|
//#region src/hooks/useOnClickOutside/useOnClickOutside.d.ts
|
|
649
649
|
type EventType = "focusin" | "focusout" | "mousedown" | "mouseup" | "touchend" | "touchstart";
|
|
650
|
-
declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
|
|
650
|
+
export declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
|
|
651
651
|
//#endregion
|
|
652
652
|
//#region src/hooks/usePreviousValue/usePreviousValue.d.ts
|
|
653
|
-
declare const usePreviousValue: <T>(value: T) => T | undefined;
|
|
653
|
+
export declare const usePreviousValue: <T>(value: T) => T | undefined;
|
|
654
654
|
//#endregion
|
|
655
655
|
//#region src/components/Link/Link.d.ts
|
|
656
656
|
type LinkTypes = "default" | "email" | "external" | "phone";
|
|
@@ -727,7 +727,7 @@ type LinkProps = LinkAsButtonProps | LinkAsLinkProps;
|
|
|
727
727
|
* This means in addition to its own props, `Link` can use props from `react-router`'s `Link` component. View their documentation [here](https://reactrouter.com/en/main/components/link).
|
|
728
728
|
* The one prop we ignore from react-router is `to`. We use `href` instead and map it under the hood.
|
|
729
729
|
*/
|
|
730
|
-
declare const Link: ({ beforeAction, children, type, disabled, colorScheme, underline, inheritColor, leftIcon, rightIcon, "aria-disabled": ariaDisabled, role, ref, ...props }: LinkProps & {
|
|
730
|
+
export declare const Link: ({ beforeAction, children, type, disabled, colorScheme, underline, inheritColor, leftIcon, rightIcon, "aria-disabled": ariaDisabled, role, ref, ...props }: LinkProps & {
|
|
731
731
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
732
732
|
}) => JSX.Element | null;
|
|
733
733
|
//#endregion
|
|
@@ -831,7 +831,7 @@ type ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;
|
|
|
831
831
|
* action, or performing a delete operation. It replaces the HTML `<button>` element,
|
|
832
832
|
* unless an `href` attribute is passed, in which it will render an `<a>` element.
|
|
833
833
|
*/
|
|
834
|
-
declare const Button: ({ children, forceState, className, leftIcon, rightIcon, colorScheme, disabled, isLoading, unstyled, onClick, fullWidth, labelAlign, size, variant, ref, ...props }: ButtonProps & {
|
|
834
|
+
export declare const Button: ({ children, forceState, className, leftIcon, rightIcon, colorScheme, disabled, isLoading, unstyled, onClick, fullWidth, labelAlign, size, variant, ref, ...props }: ButtonProps & {
|
|
835
835
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
836
836
|
}) => JSX.Element;
|
|
837
837
|
//#endregion
|
|
@@ -873,10 +873,10 @@ type UseToastReturnValue = {
|
|
|
873
873
|
dismiss: () => void;
|
|
874
874
|
};
|
|
875
875
|
type UseToastReturnType = ({ message, icon, colorScheme, action, position, duration }: UseToastProps) => UseToastReturnValue;
|
|
876
|
-
declare const useToast: () => UseToastReturnType;
|
|
876
|
+
export declare const useToast: () => UseToastReturnType;
|
|
877
877
|
//#endregion
|
|
878
878
|
//#region src/hooks/useWindowSize/useWindowSize.d.ts
|
|
879
|
-
declare const useWindowSize: (interval?: number) => {
|
|
879
|
+
export declare const useWindowSize: (interval?: number) => {
|
|
880
880
|
width: number;
|
|
881
881
|
height: number;
|
|
882
882
|
};
|
|
@@ -915,7 +915,7 @@ type ActionButtonProps = {
|
|
|
915
915
|
/**
|
|
916
916
|
* Action Button component is used as one of a group of main actions on the page. It composes [Button](/components/Button).
|
|
917
917
|
*/
|
|
918
|
-
declare const ActionButton: ({ icon, colorScheme, disabled, forceState, hoverColorScheme, variant, children, ref, ...props }: ActionButtonProps & {
|
|
918
|
+
export declare const ActionButton: ({ icon, colorScheme, disabled, forceState, hoverColorScheme, variant, children, ref, ...props }: ActionButtonProps & {
|
|
919
919
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
920
920
|
}) => JSX.Element;
|
|
921
921
|
//#endregion
|
|
@@ -954,7 +954,7 @@ type AvatarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
954
954
|
/**
|
|
955
955
|
* An avatar uses a photo or initials to represent an identity.
|
|
956
956
|
*/
|
|
957
|
-
declare const Avatar: FC<AvatarProps>;
|
|
957
|
+
export declare const Avatar: FC<AvatarProps>;
|
|
958
958
|
//#endregion
|
|
959
959
|
//#region src/components/Badge/Badge.d.ts
|
|
960
960
|
type BadgeVariants = "default" | "outline";
|
|
@@ -979,7 +979,7 @@ type BadgeProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
979
979
|
/**
|
|
980
980
|
* A `Badge` is a compact label, with optional icon, to convey status or context.
|
|
981
981
|
*/
|
|
982
|
-
declare const Badge: ({ colorScheme, label, icon, variant, ref, ...props }: BadgeProps & {
|
|
982
|
+
export declare const Badge: ({ colorScheme, label, icon, variant, ref, ...props }: BadgeProps & {
|
|
983
983
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
984
984
|
}) => JSX.Element;
|
|
985
985
|
//#endregion
|
|
@@ -1014,7 +1014,7 @@ type BannerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* The `Banner` component is for displaying contextual information to the user such as alerts or feature announcements.
|
|
1016
1016
|
*/
|
|
1017
|
-
declare const Banner: FC<BannerProps>;
|
|
1017
|
+
export declare const Banner: FC<BannerProps>;
|
|
1018
1018
|
//#endregion
|
|
1019
1019
|
//#region src/css/designTokens/generated/types.d.ts
|
|
1020
1020
|
/**
|
|
@@ -1225,7 +1225,7 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$4> & {
|
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Box is a layout container using [CSS Flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox).
|
|
1227
1227
|
*/
|
|
1228
|
-
declare const Box: PolymorphicComponent<typeof DEFAULT_ELEMENT$4, BoxProps>;
|
|
1228
|
+
export declare const Box: PolymorphicComponent<typeof DEFAULT_ELEMENT$4, BoxProps>;
|
|
1229
1229
|
//#endregion
|
|
1230
1230
|
//#region src/components/Breadcrumbs/Breadcrumbs.d.ts
|
|
1231
1231
|
type BreadcrumbsProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -1238,7 +1238,7 @@ type BreadcrumbsProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1238
1238
|
* Used to display a screens's location within a hierarchical structure. Each `Breadcrumb` is a composed version of
|
|
1239
1239
|
* [Button](/components/Button). See it's documentation for additional functionality.
|
|
1240
1240
|
*/
|
|
1241
|
-
declare const Breadcrumbs: FC<BreadcrumbsProps>;
|
|
1241
|
+
export declare const Breadcrumbs: FC<BreadcrumbsProps>;
|
|
1242
1242
|
//#endregion
|
|
1243
1243
|
//#region src/components/Breadcrumbs/Breadcrumb.d.ts
|
|
1244
1244
|
type BreadcrumbProps = ButtonAsLinkProps & {
|
|
@@ -1259,7 +1259,7 @@ type BreadcrumbProps = ButtonAsLinkProps & {
|
|
|
1259
1259
|
*/
|
|
1260
1260
|
href: string;
|
|
1261
1261
|
};
|
|
1262
|
-
declare const Breadcrumb: ({ icon, href, children, ...props }: BreadcrumbProps) => JSX.Element;
|
|
1262
|
+
export declare const Breadcrumb: ({ icon, href, children, ...props }: BreadcrumbProps) => JSX.Element;
|
|
1263
1263
|
//#endregion
|
|
1264
1264
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
1265
1265
|
type ButtonGroupButtonSize = ButtonSizes | "natural";
|
|
@@ -1292,7 +1292,7 @@ type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1292
1292
|
* ButtonGroup is a layout component that groups buttons together,
|
|
1293
1293
|
* with a standardized gap between them.
|
|
1294
1294
|
*/
|
|
1295
|
-
declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
1295
|
+
export declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
1296
1296
|
//#endregion
|
|
1297
1297
|
//#region src/components/Card/Card.d.ts
|
|
1298
1298
|
type CardProps = BoxProps & ComponentPropsWithoutRef<"div"> & {
|
|
@@ -1393,7 +1393,7 @@ type CardProps = BoxProps & ComponentPropsWithoutRef<"div"> & {
|
|
|
1393
1393
|
* A flexible container component that groups related content with consistent spacing and styling.
|
|
1394
1394
|
* Cards can be used to visually distinguish content sections. Extends the [Box component.](/components/Box)
|
|
1395
1395
|
*/
|
|
1396
|
-
declare const Card: FC<CardProps>;
|
|
1396
|
+
export declare const Card: FC<CardProps>;
|
|
1397
1397
|
//#endregion
|
|
1398
1398
|
//#region src/components/Center/Center.d.ts
|
|
1399
1399
|
type CenterProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -1418,7 +1418,7 @@ type CenterProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1418
1418
|
* Center component provides various ways to center content horizontally within a container.
|
|
1419
1419
|
* It supports max-width constraints, text alignment, gutters, and intrinsic content centering.
|
|
1420
1420
|
*/
|
|
1421
|
-
declare const Center: ({ maxWidth, gutterWidth, intrinsic, children, ref, ...props }: CenterProps & {
|
|
1421
|
+
export declare const Center: ({ maxWidth, gutterWidth, intrinsic, children, ref, ...props }: CenterProps & {
|
|
1422
1422
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
1423
1423
|
}) => JSX.Element;
|
|
1424
1424
|
//#endregion
|
|
@@ -1473,7 +1473,7 @@ type CheckboxProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "labe
|
|
|
1473
1473
|
/**
|
|
1474
1474
|
* A `Checkbox` lets users select one or more options from a set, or toggle a single option on or off. It supports both standalone controlled usage and grouped usage via `CheckboxGroup`.
|
|
1475
1475
|
*/
|
|
1476
|
-
declare const Checkbox: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: CheckboxProps & {
|
|
1476
|
+
export declare const Checkbox: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: CheckboxProps & {
|
|
1477
1477
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
1478
1478
|
}) => JSX.Element;
|
|
1479
1479
|
//#endregion
|
|
@@ -1558,7 +1558,7 @@ type CheckboxCardProps = CheckboxCardWithChildren | CheckboxCardWithDefaultLayou
|
|
|
1558
1558
|
* used side by side for single-select and multi-select questions. It supports both
|
|
1559
1559
|
* standalone controlled usage and grouped usage via `CheckboxGroup`.
|
|
1560
1560
|
*/
|
|
1561
|
-
declare const CheckboxCard: ({ icon, label, description, showIndicator, isGated, children, padding, ref, ...rootProps }: CheckboxCardProps & {
|
|
1561
|
+
export declare const CheckboxCard: ({ icon, label, description, showIndicator, isGated, children, padding, ref, ...rootProps }: CheckboxCardProps & {
|
|
1562
1562
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
1563
1563
|
}) => JSX.Element;
|
|
1564
1564
|
//#endregion
|
|
@@ -1583,7 +1583,7 @@ type ClickRegionProps = {
|
|
|
1583
1583
|
*
|
|
1584
1584
|
* In either case, a link or button must be present, but can be hidden by using `ScreenReaderOnly`.
|
|
1585
1585
|
*/
|
|
1586
|
-
declare const ClickRegion: FC<ClickRegionProps>;
|
|
1586
|
+
export declare const ClickRegion: FC<ClickRegionProps>;
|
|
1587
1587
|
//#endregion
|
|
1588
1588
|
//#region src/components/Collapsible/Collapsible.d.ts
|
|
1589
1589
|
type CollapsibleProps = {
|
|
@@ -1603,7 +1603,7 @@ type CollapsibleProps = {
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Toggle the visibility of content with a trigger.
|
|
1605
1605
|
*/
|
|
1606
|
-
declare const Collapsible: FC<CollapsibleProps>;
|
|
1606
|
+
export declare const Collapsible: FC<CollapsibleProps>;
|
|
1607
1607
|
//#endregion
|
|
1608
1608
|
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
1609
1609
|
type CollapsibleTriggerProps = {
|
|
@@ -1613,13 +1613,13 @@ type CollapsibleTriggerProps = {
|
|
|
1613
1613
|
*/
|
|
1614
1614
|
children: ReactElement;
|
|
1615
1615
|
};
|
|
1616
|
-
declare const CollapsibleTrigger: ({ children }: CollapsibleTriggerProps) => JSX.Element;
|
|
1616
|
+
export declare const CollapsibleTrigger: ({ children }: CollapsibleTriggerProps) => JSX.Element;
|
|
1617
1617
|
//#endregion
|
|
1618
1618
|
//#region src/components/Collapsible/CollapsibleTriggerIcon.d.ts
|
|
1619
1619
|
type CollapsibleTriggerIconProps = Omit<IconProps, "type"> & {
|
|
1620
1620
|
type: Extract<IconProps["type"], "caret-left-strong" | "caret-left" | "caret-right-strong" | "caret-right" | "plus">;
|
|
1621
1621
|
};
|
|
1622
|
-
declare const CollapsibleTriggerIcon: FC<CollapsibleTriggerIconProps>;
|
|
1622
|
+
export declare const CollapsibleTriggerIcon: FC<CollapsibleTriggerIconProps>;
|
|
1623
1623
|
//#endregion
|
|
1624
1624
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
1625
1625
|
type CollapsibleContentProps = {
|
|
@@ -1632,7 +1632,7 @@ type CollapsibleContentProps = {
|
|
|
1632
1632
|
*/
|
|
1633
1633
|
children: ReactNode;
|
|
1634
1634
|
};
|
|
1635
|
-
declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => JSX.Element;
|
|
1635
|
+
export declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => JSX.Element;
|
|
1636
1636
|
//#endregion
|
|
1637
1637
|
//#region src/components/ColorPicker/ColorGrid.d.ts
|
|
1638
1638
|
type ColorGridProps = PropsWithChildren & {
|
|
@@ -1642,7 +1642,7 @@ type ColorGridProps = PropsWithChildren & {
|
|
|
1642
1642
|
* Displays color options as a wrapped grid of swatches. Use `ColorGridOption`
|
|
1643
1643
|
* as children and pass an optional `label` for a heading.
|
|
1644
1644
|
*/
|
|
1645
|
-
declare const ColorGrid: FC<ColorGridProps>;
|
|
1645
|
+
export declare const ColorGrid: FC<ColorGridProps>;
|
|
1646
1646
|
//#endregion
|
|
1647
1647
|
//#region src/components/ColorPicker/types.d.ts
|
|
1648
1648
|
type ColorPickerOption = {
|
|
@@ -1662,7 +1662,7 @@ type ColorGridOptionProps = ColorPickerOption;
|
|
|
1662
1662
|
* A single selectable color swatch for use inside a `ColorGrid`. Renders as
|
|
1663
1663
|
* a radio item with a tooltip showing the color's name or hex code.
|
|
1664
1664
|
*/
|
|
1665
|
-
declare const ColorGridOption: FC<ColorGridOptionProps>;
|
|
1665
|
+
export declare const ColorGridOption: FC<ColorGridOptionProps>;
|
|
1666
1666
|
//#endregion
|
|
1667
1667
|
//#region src/components/ColorPicker/ColorList.d.ts
|
|
1668
1668
|
type ColorListProps = PropsWithChildren;
|
|
@@ -1671,7 +1671,7 @@ type ColorListProps = PropsWithChildren;
|
|
|
1671
1671
|
* `ColorListGroup` to organize options into labeled sections, and
|
|
1672
1672
|
* `ColorListOption` for individual items.
|
|
1673
1673
|
*/
|
|
1674
|
-
declare const ColorList: FC<ColorListProps>;
|
|
1674
|
+
export declare const ColorList: FC<ColorListProps>;
|
|
1675
1675
|
//#endregion
|
|
1676
1676
|
//#region src/components/ColorPicker/ColorListGroup.d.ts
|
|
1677
1677
|
type ColorListGroupProps = PropsWithChildren<{
|
|
@@ -1680,7 +1680,7 @@ type ColorListGroupProps = PropsWithChildren<{
|
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Groups `ColorListOption` items under a labeled heading within a `ColorList`.
|
|
1682
1682
|
*/
|
|
1683
|
-
declare const ColorListGroup: FC<ColorListGroupProps>;
|
|
1683
|
+
export declare const ColorListGroup: FC<ColorListGroupProps>;
|
|
1684
1684
|
//#endregion
|
|
1685
1685
|
//#region src/components/ColorPicker/ColorListOption.d.ts
|
|
1686
1686
|
type ColorListOptionProps = ColorPickerOption;
|
|
@@ -1688,7 +1688,7 @@ type ColorListOptionProps = ColorPickerOption;
|
|
|
1688
1688
|
* A single selectable row for use inside a `ColorList`. Displays a color
|
|
1689
1689
|
* swatch alongside the color's name (if provided) or hex code.
|
|
1690
1690
|
*/
|
|
1691
|
-
declare const ColorListOption: FC<ColorListOptionProps>;
|
|
1691
|
+
export declare const ColorListOption: FC<ColorListOptionProps>;
|
|
1692
1692
|
//#endregion
|
|
1693
1693
|
//#region src/components/ColorPicker/ColorPicker.d.ts
|
|
1694
1694
|
type ColorPickerProps = PropsWithChildren<{
|
|
@@ -1735,7 +1735,7 @@ type ColorPickerComponentProps = ComponentPropsWithoutRef<"div"> & ColorPickerPr
|
|
|
1735
1735
|
* at `~/components/ColorPicker`, which assembles these primitives with
|
|
1736
1736
|
* sensible defaults (brand colors, contrast controls, popover/inline modes).
|
|
1737
1737
|
*/
|
|
1738
|
-
declare const ColorPicker: FC<ColorPickerComponentProps>;
|
|
1738
|
+
export declare const ColorPicker: FC<ColorPickerComponentProps>;
|
|
1739
1739
|
//#endregion
|
|
1740
1740
|
//#region src/components/ColorPicker/ColorPickerPopoverContent.d.ts
|
|
1741
1741
|
type ColorPickerPopoverContentProps = PropsWithChildren;
|
|
@@ -1743,7 +1743,7 @@ type ColorPickerPopoverContentProps = PropsWithChildren;
|
|
|
1743
1743
|
* The popover panel that opens when the `ColorPickerTrigger` is activated.
|
|
1744
1744
|
* Use `ColorPickerSection` to organize content within it.
|
|
1745
1745
|
*/
|
|
1746
|
-
declare const ColorPickerPopoverContent: FC<ColorPickerPopoverContentProps>;
|
|
1746
|
+
export declare const ColorPickerPopoverContent: FC<ColorPickerPopoverContentProps>;
|
|
1747
1747
|
//#endregion
|
|
1748
1748
|
//#region src/components/ColorPicker/ColorPickerSection.d.ts
|
|
1749
1749
|
type ColorPickerSectionProps = PropsWithChildren;
|
|
@@ -1751,7 +1751,7 @@ type ColorPickerSectionProps = PropsWithChildren;
|
|
|
1751
1751
|
* A padded section for grouping related controls within a
|
|
1752
1752
|
* `ColorPickerPopoverContent`. Provides consistent spacing between sections.
|
|
1753
1753
|
*/
|
|
1754
|
-
declare const ColorPickerSection: FC<ColorPickerSectionProps>;
|
|
1754
|
+
export declare const ColorPickerSection: FC<ColorPickerSectionProps>;
|
|
1755
1755
|
//#endregion
|
|
1756
1756
|
//#region src/components/ColorPicker/ColorPickerTrigger.d.ts
|
|
1757
1757
|
type ColorPickerTriggerProps = ComponentPropsWithoutRef<"button">;
|
|
@@ -1760,7 +1760,7 @@ type ColorPickerTriggerProps = ComponentPropsWithoutRef<"button">;
|
|
|
1760
1760
|
* it renders a swatch and hex label for the current color; pass custom children
|
|
1761
1761
|
* to replace that content.
|
|
1762
1762
|
*/
|
|
1763
|
-
declare const ColorPickerTrigger: ({ children, ref, ...props }: ColorPickerTriggerProps & {
|
|
1763
|
+
export declare const ColorPickerTrigger: ({ children, ref, ...props }: ColorPickerTriggerProps & {
|
|
1764
1764
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
1765
1765
|
}) => JSX.Element;
|
|
1766
1766
|
//#endregion
|
|
@@ -1772,13 +1772,13 @@ type ContrastControlsProps = object;
|
|
|
1772
1772
|
* Relies on `colorForComparison` and `minimumContrastRatio` set on the parent
|
|
1773
1773
|
* `ColorPicker`.
|
|
1774
1774
|
*/
|
|
1775
|
-
declare const ContrastControls: FC<ContrastControlsProps>;
|
|
1775
|
+
export declare const ContrastControls: FC<ContrastControlsProps>;
|
|
1776
1776
|
//#endregion
|
|
1777
1777
|
//#region src/components/ColorPicker/ContrastIndicator.d.ts
|
|
1778
|
-
declare const ContrastIndicator: () => JSX.Element;
|
|
1778
|
+
export declare const ContrastIndicator: () => JSX.Element;
|
|
1779
1779
|
//#endregion
|
|
1780
1780
|
//#region src/components/ColorPicker/ContrastPreview.d.ts
|
|
1781
|
-
declare const ContrastPreview: () => JSX.Element;
|
|
1781
|
+
export declare const ContrastPreview: () => JSX.Element;
|
|
1782
1782
|
//#endregion
|
|
1783
1783
|
//#region src/components/ColorPicker/ContrastEnforcerSwitch.d.ts
|
|
1784
1784
|
/**
|
|
@@ -1787,7 +1787,7 @@ declare const ContrastPreview: () => JSX.Element;
|
|
|
1787
1787
|
* Provides a toggle switch to enable/disable minimum contrast enforcement
|
|
1788
1788
|
* which automatically adjusts colors to meet accessibility standards.
|
|
1789
1789
|
*/
|
|
1790
|
-
declare const ContrastEnforcerSwitch: () => JSX.Element | null;
|
|
1790
|
+
export declare const ContrastEnforcerSwitch: () => JSX.Element | null;
|
|
1791
1791
|
//#endregion
|
|
1792
1792
|
//#region src/components/ColorPicker/HexColorInput.d.ts
|
|
1793
1793
|
type HexColorInputProps = {
|
|
@@ -1801,7 +1801,7 @@ type HexColorInputProps = {
|
|
|
1801
1801
|
* allow only hex characters, normalizes pasted values, and supports arrow-key
|
|
1802
1802
|
* nudging of saturation. Auto-focuses by default for quick paste workflows.
|
|
1803
1803
|
*/
|
|
1804
|
-
declare const HexColorInput: FC<HexColorInputProps>;
|
|
1804
|
+
export declare const HexColorInput: FC<HexColorInputProps>;
|
|
1805
1805
|
//#endregion
|
|
1806
1806
|
//#region src/components/ColorPicker/HueSlider.d.ts
|
|
1807
1807
|
type HueSliderProps = object;
|
|
@@ -1810,7 +1810,7 @@ type HueSliderProps = object;
|
|
|
1810
1810
|
* over a spectrum gradient. The thumb color reflects the currently selected
|
|
1811
1811
|
* hue, saturation, and value.
|
|
1812
1812
|
*/
|
|
1813
|
-
declare const HueSlider: FC<HueSliderProps>;
|
|
1813
|
+
export declare const HueSlider: FC<HueSliderProps>;
|
|
1814
1814
|
//#endregion
|
|
1815
1815
|
//#region src/components/ColorPicker/SaturationAndValuePicker.d.ts
|
|
1816
1816
|
type SaturationAndValuePickerProps = {
|
|
@@ -1822,7 +1822,7 @@ type SaturationAndValuePickerProps = {
|
|
|
1822
1822
|
* navigation. When contrast enforcement is enabled, a contrast boundary curve
|
|
1823
1823
|
* is drawn on the canvas.
|
|
1824
1824
|
*/
|
|
1825
|
-
declare const SaturationAndValuePicker: FC<SaturationAndValuePickerProps>;
|
|
1825
|
+
export declare const SaturationAndValuePicker: FC<SaturationAndValuePickerProps>;
|
|
1826
1826
|
//#endregion
|
|
1827
1827
|
//#region src/components/ColorPicker/ValueNameOrHexCode.d.ts
|
|
1828
1828
|
type ValueNameOrHexCodeProps = object;
|
|
@@ -1830,7 +1830,7 @@ type ValueNameOrHexCodeProps = object;
|
|
|
1830
1830
|
* Displays the name of the current color (if it matches a known color name)
|
|
1831
1831
|
* or its hex code. Reads the current value from ColorPicker context.
|
|
1832
1832
|
*/
|
|
1833
|
-
declare const ValueNameOrHexCode: FC<ValueNameOrHexCodeProps>;
|
|
1833
|
+
export declare const ValueNameOrHexCode: FC<ValueNameOrHexCodeProps>;
|
|
1834
1834
|
//#endregion
|
|
1835
1835
|
//#region src/components/ColorPicker/ColorSwatch.d.ts
|
|
1836
1836
|
type ColorSwatchProps = PropsWithChildren<{
|
|
@@ -1846,10 +1846,10 @@ type ValueSwatchProps = Pick<ColorSwatchProps, "diameterPx">;
|
|
|
1846
1846
|
* Renders a circular color swatch filled with the current color from
|
|
1847
1847
|
* ColorPicker context. Accepts an optional `diameterPx` to control size.
|
|
1848
1848
|
*/
|
|
1849
|
-
declare const ValueSwatch: FC<ValueSwatchProps>;
|
|
1849
|
+
export declare const ValueSwatch: FC<ValueSwatchProps>;
|
|
1850
1850
|
//#endregion
|
|
1851
1851
|
//#region src/components/ColorPicker/contrast-utils.d.ts
|
|
1852
|
-
declare const calculateContrast: ({ backgroundColor, foregroundColor, backgroundOpacity }: {
|
|
1852
|
+
export declare const calculateContrast: ({ backgroundColor, foregroundColor, backgroundOpacity }: {
|
|
1853
1853
|
backgroundColor: Color | string;
|
|
1854
1854
|
foregroundColor?: Color | string;
|
|
1855
1855
|
backgroundOpacity?: number;
|
|
@@ -1903,14 +1903,14 @@ type ComboboxProps = {
|
|
|
1903
1903
|
/**
|
|
1904
1904
|
* A `Combobox` is a searchable single- or multi-select input. Users can filter options by typing, and selected values in multi-select mode are displayed as removable `Tag` components.
|
|
1905
1905
|
*/
|
|
1906
|
-
declare const Combobox: ({ "aria-label": ariaLabel, placeholder, value, onChange, searchValue, onSearchValueChange, displayValues, children, flipPopover, fullWidth }: ComboboxProps) => JSX.Element;
|
|
1906
|
+
export declare const Combobox: ({ "aria-label": ariaLabel, placeholder, value, onChange, searchValue, onSearchValueChange, displayValues, children, flipPopover, fullWidth }: ComboboxProps) => JSX.Element;
|
|
1907
1907
|
//#endregion
|
|
1908
1908
|
//#region src/components/Combobox/ComboboxOption.d.ts
|
|
1909
1909
|
type ComboboxOptionProps = {
|
|
1910
1910
|
value: string;
|
|
1911
1911
|
children: ReactNode;
|
|
1912
1912
|
};
|
|
1913
|
-
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => JSX.Element;
|
|
1913
|
+
export declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => JSX.Element;
|
|
1914
1914
|
//#endregion
|
|
1915
1915
|
//#region src/components/ContextMenu/ContextMenu.d.ts
|
|
1916
1916
|
type ContextMenuProps = {
|
|
@@ -1938,7 +1938,7 @@ type ContextMenuProps = {
|
|
|
1938
1938
|
* 1. By providing a `triggerRef`, which will render the menu when the referenced element is right-clicked.
|
|
1939
1939
|
* 2. By providing a `position` prop, which will render the menu at the specified coordinates.
|
|
1940
1940
|
*/
|
|
1941
|
-
declare const ContextMenu: ({ position, triggerRef, children, side, onRequestClose, compact }: ContextMenuProps) => JSX.Element;
|
|
1941
|
+
export declare const ContextMenu: ({ position, triggerRef, children, side, onRequestClose, compact }: ContextMenuProps) => JSX.Element;
|
|
1942
1942
|
//#endregion
|
|
1943
1943
|
//#region src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.d.ts
|
|
1944
1944
|
type CustomizableTokens = "--wui-color-backdrop" | "--wui-color-bg-app" | "--wui-color-bg-fill-active" | "--wui-color-bg-fill-hover" | "--wui-color-bg-fill-white" | "--wui-color-bg-fill" | "--wui-color-bg-surface-active" | "--wui-color-bg-surface-disabled" | "--wui-color-bg-surface-hover" | "--wui-color-bg-surface-secondary-active" | "--wui-color-bg-surface-secondary-hover" | "--wui-color-bg-surface-secondary" | "--wui-color-bg-surface-selected-active" | "--wui-color-bg-surface-selected-hover" | "--wui-color-bg-surface-selected" | "--wui-color-bg-surface-tertiary" | "--wui-color-bg-surface" | "--wui-color-bg-tooltip" | "--wui-color-border-active-selected" | "--wui-color-border-active" | "--wui-color-border-disabled" | "--wui-color-border-hover-selected" | "--wui-color-border-hover" | "--wui-color-border-secondary-active" | "--wui-color-border-secondary-hover" | "--wui-color-border-secondary" | "--wui-color-border-selected" | "--wui-color-border" | "--wui-color-drop-shadow" | "--wui-color-focus-color" | "--wui-color-focus-ring-disabled" | "--wui-color-focus-ring" | "--wui-color-icon-disabled" | "--wui-color-icon-on-fill" | "--wui-color-icon-selected" | "--wui-color-icon" | "--wui-color-invalid-indicator" | "--wui-color-notification-pill-color" | "--wui-color-segmented-control-checked-background" | "--wui-color-text-button" | "--wui-color-text-disabled" | "--wui-color-text-link" | "--wui-color-text-on-fill-white-selected" | "--wui-color-text-on-fill" | "--wui-color-text-secondary" | "--wui-color-text-selected" | "--wui-color-text" | "--wui-typography-family-brand" | "--wui-typography-family-default" | "--wui-typography-family-mono" | "--wui-typography-weight-body-bold" | "--wui-typography-weight-body" | "--wui-typography-weight-heading" | "--wui-typography-weight-label-bold" | "--wui-typography-weight-label";
|
|
@@ -1950,7 +1950,7 @@ type CustomizableThemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1950
1950
|
* Used for overriding the default theme tokens with custom values.
|
|
1951
1951
|
* This should only be used when the ui systems team has been consulted first.
|
|
1952
1952
|
*/
|
|
1953
|
-
declare const CustomizableThemeWrapper: FC<CustomizableThemeWrapperProps>;
|
|
1953
|
+
export declare const CustomizableThemeWrapper: FC<CustomizableThemeWrapperProps>;
|
|
1954
1954
|
//#endregion
|
|
1955
1955
|
//#region src/components/DataCards/DataCard.d.ts
|
|
1956
1956
|
type DataCardProps = ComponentPropsWithoutRef<"div"> & Partial<Pick<ButtonAsLinkProps, "beforeAction" | "disabled" | "href" | "onClick" | "type">> & {
|
|
@@ -1987,7 +1987,7 @@ type DataCardProps = ComponentPropsWithoutRef<"div"> & Partial<Pick<ButtonAsLink
|
|
|
1987
1987
|
*/
|
|
1988
1988
|
subtitle?: ReactNode;
|
|
1989
1989
|
};
|
|
1990
|
-
declare const DataCard: FC<DataCardProps>;
|
|
1990
|
+
export declare const DataCard: FC<DataCardProps>;
|
|
1991
1991
|
//#endregion
|
|
1992
1992
|
//#region src/components/DataCards/DataCards.d.ts
|
|
1993
1993
|
type DataCardsProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2011,7 +2011,7 @@ type DataCardsProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Displays a series of cards tailor made for displaying analytics data
|
|
2013
2013
|
*/
|
|
2014
|
-
declare const DataCards: FC<DataCardsProps>;
|
|
2014
|
+
export declare const DataCards: FC<DataCardsProps>;
|
|
2015
2015
|
//#endregion
|
|
2016
2016
|
//#region src/components/DataCards/DataCardTrend.d.ts
|
|
2017
2017
|
type DataCardTrendProps = {
|
|
@@ -2028,11 +2028,11 @@ type DataCardTrendProps = {
|
|
|
2028
2028
|
*/
|
|
2029
2029
|
children: JSX.Element | string;
|
|
2030
2030
|
};
|
|
2031
|
-
declare const DataCardTrend: ({ direction, outlook, children, ...props }: DataCardTrendProps) => JSX.Element;
|
|
2031
|
+
export declare const DataCardTrend: ({ direction, outlook, children, ...props }: DataCardTrendProps) => JSX.Element;
|
|
2032
2032
|
//#endregion
|
|
2033
2033
|
//#region src/components/DataCards/DataCardHoverArrow.d.ts
|
|
2034
2034
|
type DataCardHoverArrowProps = object;
|
|
2035
|
-
declare const DataCardHoverArrow: FC<DataCardHoverArrowProps>;
|
|
2035
|
+
export declare const DataCardHoverArrow: FC<DataCardHoverArrowProps>;
|
|
2036
2036
|
//#endregion
|
|
2037
2037
|
//#region src/components/DataList/DataList.d.ts
|
|
2038
2038
|
type DataListProps = ComponentPropsWithoutRef<"dl"> & {
|
|
@@ -2056,7 +2056,7 @@ type DataListProps = ComponentPropsWithoutRef<"dl"> & {
|
|
|
2056
2056
|
/**
|
|
2057
2057
|
* The DataList component is used to display a list of items with labels and values.
|
|
2058
2058
|
*/
|
|
2059
|
-
declare const DataList: FC<DataListProps>;
|
|
2059
|
+
export declare const DataList: FC<DataListProps>;
|
|
2060
2060
|
//#endregion
|
|
2061
2061
|
//#region src/components/DataList/DataListItem.d.ts
|
|
2062
2062
|
type DataListItemProps = Omit<ComponentPropsWithoutRef<"dl">, "children"> & {
|
|
@@ -2068,7 +2068,7 @@ type DataListItemProps = Omit<ComponentPropsWithoutRef<"dl">, "children"> & {
|
|
|
2068
2068
|
/**
|
|
2069
2069
|
* An item within a `DataList`. It should only contain `DataListItemLabel` and `DataListItemValue` components.
|
|
2070
2070
|
*/
|
|
2071
|
-
declare const DataListItem: FC<DataListItemProps>;
|
|
2071
|
+
export declare const DataListItem: FC<DataListItemProps>;
|
|
2072
2072
|
//#endregion
|
|
2073
2073
|
//#region src/components/Text/Text.d.ts
|
|
2074
2074
|
type AlignmentTypes$1 = "center" | "justify" | "left" | "right";
|
|
@@ -2136,21 +2136,21 @@ type TextProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2136
2136
|
/**
|
|
2137
2137
|
* Used for rending paragraphs and inline text.
|
|
2138
2138
|
*/
|
|
2139
|
-
declare const Text: PolymorphicComponent<typeof DEFAULT_ELEMENT$3, TextProps>;
|
|
2139
|
+
export declare const Text: PolymorphicComponent<typeof DEFAULT_ELEMENT$3, TextProps>;
|
|
2140
2140
|
//#endregion
|
|
2141
2141
|
//#region src/components/DataList/DataListItemLabel.d.ts
|
|
2142
2142
|
type DataListItemLabelProps = TextProps;
|
|
2143
2143
|
/**
|
|
2144
2144
|
* The label of the `DataListItem`. Extends the [Text](/components/Text) component.
|
|
2145
2145
|
*/
|
|
2146
|
-
declare const DataListItemLabel: FC<DataListItemLabelProps>;
|
|
2146
|
+
export declare const DataListItemLabel: FC<DataListItemLabelProps>;
|
|
2147
2147
|
//#endregion
|
|
2148
2148
|
//#region src/components/DataList/DataListItemValue.d.ts
|
|
2149
2149
|
type DataListItemValueProps = TextProps;
|
|
2150
2150
|
/**
|
|
2151
2151
|
* The value of the `DataListItem`. Extends the [Text](/components/Text) component.
|
|
2152
2152
|
*/
|
|
2153
|
-
declare const DataListItemValue: FC<DataListItemValueProps>;
|
|
2153
|
+
export declare const DataListItemValue: FC<DataListItemValueProps>;
|
|
2154
2154
|
//#endregion
|
|
2155
2155
|
//#region src/components/DatePicker/DatePicker.d.ts
|
|
2156
2156
|
type DatePickerBaseProps = {
|
|
@@ -2197,7 +2197,7 @@ type DatePickerProps = (DatePickerControlledProps | DatePickerUncontrolledProps)
|
|
|
2197
2197
|
* A date picker that combines a text input with natural language parsing
|
|
2198
2198
|
* and a calendar popover for visual date selection.
|
|
2199
2199
|
*/
|
|
2200
|
-
declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<HTMLDivElement>>;
|
|
2200
|
+
export declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<HTMLDivElement>>;
|
|
2201
2201
|
//#endregion
|
|
2202
2202
|
//#region src/components/Dimmer/Dimmer.d.ts
|
|
2203
2203
|
declare const alignVerticalMap: {
|
|
@@ -2237,7 +2237,7 @@ type DimmerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2237
2237
|
/**
|
|
2238
2238
|
* Use to draw focus away from the background to a UI element in the foreground.
|
|
2239
2239
|
*/
|
|
2240
|
-
declare const Dimmer: ({ alignHorizontal, alignVertical, children, ref, variant, ...otherProps }: DimmerProps & {
|
|
2240
|
+
export declare const Dimmer: ({ alignHorizontal, alignVertical, children, ref, variant, ...otherProps }: DimmerProps & {
|
|
2241
2241
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
2242
2242
|
}) => JSX.Element;
|
|
2243
2243
|
//#endregion
|
|
@@ -2255,7 +2255,7 @@ type DividerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2255
2255
|
/**
|
|
2256
2256
|
* A line used to visually separate content; note that dividers have no external margin/spacing on their own.
|
|
2257
2257
|
*/
|
|
2258
|
-
declare const Divider: FC<DividerProps>;
|
|
2258
|
+
export declare const Divider: FC<DividerProps>;
|
|
2259
2259
|
//#endregion
|
|
2260
2260
|
//#region src/components/Heading/Heading.d.ts
|
|
2261
2261
|
type AlignmentTypes = "center" | "justify" | "left" | "right";
|
|
@@ -2327,7 +2327,7 @@ type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$2> & {
|
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Displaying heading text, both visually and semantically
|
|
2329
2329
|
*/
|
|
2330
|
-
declare const Heading: PolymorphicComponent<typeof DEFAULT_ELEMENT$2, HeadingProps>;
|
|
2330
|
+
export declare const Heading: PolymorphicComponent<typeof DEFAULT_ELEMENT$2, HeadingProps>;
|
|
2331
2331
|
//#endregion
|
|
2332
2332
|
//#region src/components/EditableHeading/EditableHeading.d.ts
|
|
2333
2333
|
type EditableHeadingProps = {
|
|
@@ -2375,7 +2375,7 @@ type EditableHeadingProps = {
|
|
|
2375
2375
|
* an accessible button that enables editing mode. The component handles empty values, keyboard
|
|
2376
2376
|
* navigation (Enter to save, Escape to cancel), and provides callbacks for value and state changes.
|
|
2377
2377
|
*/
|
|
2378
|
-
declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled }: EditableHeadingProps) => JSX.Element;
|
|
2378
|
+
export declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled }: EditableHeadingProps) => JSX.Element;
|
|
2379
2379
|
//#endregion
|
|
2380
2380
|
//#region src/private/helpers/getTypographicStyles/getTypographicStyles.d.ts
|
|
2381
2381
|
type TypographicVariant = keyof typeof variantStyleMap$1 | keyof typeof variantStyleMap;
|
|
@@ -2469,8 +2469,8 @@ type EditableTextContextValues = {
|
|
|
2469
2469
|
maxLines: number | undefined;
|
|
2470
2470
|
finalFocusEl: (() => HTMLElement | null) | undefined;
|
|
2471
2471
|
};
|
|
2472
|
-
declare const EditableTextContext: Context<EditableTextContextValues | null>;
|
|
2473
|
-
declare const EditableTextRoot: ({ children, defaultValue, value: controlledValue, onValueChange, onValueCommit, onValueRevert, onEditingChange, typographicVariant, submitMode, readOnly, id, label, placeholder, minLines, maxLines, finalFocusEl, ...props }: EditableTextRootProps) => JSX.Element;
|
|
2472
|
+
export declare const EditableTextContext: Context<EditableTextContextValues | null>;
|
|
2473
|
+
export declare const EditableTextRoot: ({ children, defaultValue, value: controlledValue, onValueChange, onValueCommit, onValueRevert, onEditingChange, typographicVariant, submitMode, readOnly, id, label, placeholder, minLines, maxLines, finalFocusEl, ...props }: EditableTextRootProps) => JSX.Element;
|
|
2474
2474
|
//#endregion
|
|
2475
2475
|
//#region src/components/EditableText/EditableText.d.ts
|
|
2476
2476
|
type EditableTextProps = Omit<EditableTextRootProps, "children"> & {
|
|
@@ -2482,7 +2482,7 @@ type EditableTextProps = Omit<EditableTextRootProps, "children"> & {
|
|
|
2482
2482
|
/**
|
|
2483
2483
|
* Used for inline editing of text.
|
|
2484
2484
|
*/
|
|
2485
|
-
declare const EditableText: FC<EditableTextProps>;
|
|
2485
|
+
export declare const EditableText: FC<EditableTextProps>;
|
|
2486
2486
|
//#endregion
|
|
2487
2487
|
//#region src/components/EditableText/EditableTextDisplay.d.ts
|
|
2488
2488
|
type EditableTextDisplayProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2492,7 +2492,7 @@ type EditableTextDisplayProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2492
2492
|
asTrigger?: boolean;
|
|
2493
2493
|
renderAs?: ElementType;
|
|
2494
2494
|
};
|
|
2495
|
-
declare const EditableTextDisplay: PolymorphicComponent<"h1", EditableTextDisplayProps>;
|
|
2495
|
+
export declare const EditableTextDisplay: PolymorphicComponent<"h1", EditableTextDisplayProps>;
|
|
2496
2496
|
//#endregion
|
|
2497
2497
|
//#region src/components/Label/Label.d.ts
|
|
2498
2498
|
type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
@@ -2521,17 +2521,17 @@ type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
|
2521
2521
|
/**
|
|
2522
2522
|
* Labels are used to give a title to a form component (eg. Input, Select, etc.)
|
|
2523
2523
|
*/
|
|
2524
|
-
declare const Label: FC<LabelProps>;
|
|
2524
|
+
export declare const Label: FC<LabelProps>;
|
|
2525
2525
|
//#endregion
|
|
2526
2526
|
//#region src/components/EditableText/EditableTextLabel.d.ts
|
|
2527
2527
|
type EditableTextLabelProps = Omit<LabelProps, "disabled" | "htmlFor" | "required">;
|
|
2528
|
-
declare const EditableTextLabel: ({ ...props }: EditableTextLabelProps) => JSX.Element;
|
|
2528
|
+
export declare const EditableTextLabel: ({ ...props }: EditableTextLabelProps) => JSX.Element;
|
|
2529
2529
|
//#endregion
|
|
2530
2530
|
//#region src/components/EditableText/EditableTextSubmitButton.d.ts
|
|
2531
2531
|
type EditableTextSubmitButtonProps = {
|
|
2532
2532
|
children: ReactElement;
|
|
2533
2533
|
};
|
|
2534
|
-
declare const EditableTextSubmitButton: ({ children }: EditableTextSubmitButtonProps) => JSX.Element | null;
|
|
2534
|
+
export declare const EditableTextSubmitButton: ({ children }: EditableTextSubmitButtonProps) => JSX.Element | null;
|
|
2535
2535
|
//#endregion
|
|
2536
2536
|
//#region src/components/EditableText/EditableTextCancelButton.d.ts
|
|
2537
2537
|
type EditableTextCancelButtonProps = {
|
|
@@ -2540,7 +2540,7 @@ type EditableTextCancelButtonProps = {
|
|
|
2540
2540
|
*/
|
|
2541
2541
|
children: ReactElement;
|
|
2542
2542
|
};
|
|
2543
|
-
declare const EditableTextCancelButton: ({ children }: EditableTextCancelButtonProps) => JSX.Element | null;
|
|
2543
|
+
export declare const EditableTextCancelButton: ({ children }: EditableTextCancelButtonProps) => JSX.Element | null;
|
|
2544
2544
|
//#endregion
|
|
2545
2545
|
//#region src/components/EditableText/EditableTextTrigger.d.ts
|
|
2546
2546
|
type EditableTextTriggerProps = {
|
|
@@ -2549,7 +2549,7 @@ type EditableTextTriggerProps = {
|
|
|
2549
2549
|
*/
|
|
2550
2550
|
children: ReactElement;
|
|
2551
2551
|
};
|
|
2552
|
-
declare const EditableTextTrigger: ({ children, ...props }: EditableTextTriggerProps) => JSX.Element | null;
|
|
2552
|
+
export declare const EditableTextTrigger: ({ children, ...props }: EditableTextTriggerProps) => JSX.Element | null;
|
|
2553
2553
|
//#endregion
|
|
2554
2554
|
//#region src/components/Input/Input.d.ts
|
|
2555
2555
|
type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
|
|
@@ -2594,13 +2594,13 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
|
|
|
2594
2594
|
/**
|
|
2595
2595
|
* Capture user input with a text field. Should be used within a [Form](/components/Form) and [FormField](/components/FormField).
|
|
2596
2596
|
*/
|
|
2597
|
-
declare const Input: ({ fullWidth, fullHeight, monospace, type, autoSelect, leftIcon, rightIcon, ref: externalRef, ...props }: InputProps & {
|
|
2597
|
+
export declare const Input: ({ fullWidth, fullHeight, monospace, type, autoSelect, leftIcon, rightIcon, ref: externalRef, ...props }: InputProps & {
|
|
2598
2598
|
ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
2599
2599
|
}) => JSX.Element;
|
|
2600
2600
|
//#endregion
|
|
2601
2601
|
//#region src/components/EditableText/EditableTextInput.d.ts
|
|
2602
2602
|
type EditableTextInputProps = Pick<InputProps, "autoSelect">;
|
|
2603
|
-
declare const EditableTextInput: (props: EditableTextInputProps) => JSX.Element | null;
|
|
2603
|
+
export declare const EditableTextInput: (props: EditableTextInputProps) => JSX.Element | null;
|
|
2604
2604
|
//#endregion
|
|
2605
2605
|
//#region src/components/Ellipsis/Ellipsis.d.ts
|
|
2606
2606
|
type EllipsisProps = ComponentPropsWithoutRef<"span"> & {
|
|
@@ -2616,7 +2616,7 @@ type EllipsisProps = ComponentPropsWithoutRef<"span"> & {
|
|
|
2616
2616
|
/**
|
|
2617
2617
|
* Truncate text with an ellispsis visble at the end
|
|
2618
2618
|
*/
|
|
2619
|
-
declare const Ellipsis: FC<EllipsisProps>;
|
|
2619
|
+
export declare const Ellipsis: FC<EllipsisProps>;
|
|
2620
2620
|
//#endregion
|
|
2621
2621
|
//#region src/components/FeatureCard/FeatureCard.d.ts
|
|
2622
2622
|
type FeatureCardProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2661,7 +2661,7 @@ type FeatureCardProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2661
2661
|
/**
|
|
2662
2662
|
* The `FeatureCard` component is for displaying contextual information to the user such as alerts or feature announcements.
|
|
2663
2663
|
*/
|
|
2664
|
-
declare const FeatureCard: FC<FeatureCardProps>;
|
|
2664
|
+
export declare const FeatureCard: FC<FeatureCardProps>;
|
|
2665
2665
|
//#endregion
|
|
2666
2666
|
//#region src/components/FeatureCard/FeatureCardImage.d.ts
|
|
2667
2667
|
type FeatureCardImageProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2678,7 +2678,7 @@ type FeatureCardImageProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2678
2678
|
*/
|
|
2679
2679
|
alignment?: "left" | "right";
|
|
2680
2680
|
};
|
|
2681
|
-
declare const FeatureCardImage: ({ alignment, alt, src, ...props }: FeatureCardImageProps) => JSX.Element;
|
|
2681
|
+
export declare const FeatureCardImage: ({ alignment, alt, src, ...props }: FeatureCardImageProps) => JSX.Element;
|
|
2682
2682
|
//#endregion
|
|
2683
2683
|
//#region src/components/Form/useFormState.d.ts
|
|
2684
2684
|
type ActionCallback<T> = (data: T, nextData: T) => Promise<T> | T;
|
|
@@ -2687,7 +2687,7 @@ type FormActionState<T> = [{
|
|
|
2687
2687
|
data: T;
|
|
2688
2688
|
error: Error | null;
|
|
2689
2689
|
}, Action, boolean];
|
|
2690
|
-
declare const useFormState: <T extends object>(action: ActionCallback<T>, initialData?: Partial<T>) => FormActionState<T>;
|
|
2690
|
+
export declare const useFormState: <T extends object>(action: ActionCallback<T>, initialData?: Partial<T>) => FormActionState<T>;
|
|
2691
2691
|
//#endregion
|
|
2692
2692
|
//#region src/components/Form/Form.d.ts
|
|
2693
2693
|
type ValidationCallback<T> = (data: T) => FormErrors<T>;
|
|
@@ -2741,7 +2741,7 @@ type FormProps<T> = Omit<ComponentPropsWithoutRef<"form">, "action" | "aria-labe
|
|
|
2741
2741
|
* For creating forms. It provides a context for the form fields to access the form state and validation.
|
|
2742
2742
|
* It also provides a way to handle form submission and validation. It is built around [React 19's form APIs](https://react.dev/reference/react-dom/components/form).
|
|
2743
2743
|
*/
|
|
2744
|
-
declare const Form: <T = Record<string, unknown>>({ children, action, values, labelPosition, validate, fullWidth, ref: forwardedRef, ...props }: FormProps<T> & {
|
|
2744
|
+
export declare const Form: <T = Record<string, unknown>>({ children, action, values, labelPosition, validate, fullWidth, ref: forwardedRef, ...props }: FormProps<T> & {
|
|
2745
2745
|
ref?: Ref<HTMLFormElement> | undefined;
|
|
2746
2746
|
}) => JSX.Element;
|
|
2747
2747
|
//#endregion
|
|
@@ -2750,10 +2750,10 @@ type FormErrorSummaryProps = {
|
|
|
2750
2750
|
/** A description to show before the list of form errors */
|
|
2751
2751
|
description: string;
|
|
2752
2752
|
};
|
|
2753
|
-
declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => JSX.Element | null;
|
|
2753
|
+
export declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => JSX.Element | null;
|
|
2754
2754
|
//#endregion
|
|
2755
2755
|
//#region src/components/Form/validateWithYup.d.ts
|
|
2756
|
-
declare const validateWithYup: <T>(schema: Schema<T>) => ((data: object) => FormErrors<T>);
|
|
2756
|
+
export declare const validateWithYup: <T>(schema: Schema<T>) => ((data: object) => FormErrors<T>);
|
|
2757
2757
|
//#endregion
|
|
2758
2758
|
//#region src/components/FormField/FormField.d.ts
|
|
2759
2759
|
type FormFieldProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -2797,7 +2797,7 @@ type FormFieldProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2797
2797
|
/**
|
|
2798
2798
|
* FormField is a compound component that combines a label, form control, and optional description and error message.
|
|
2799
2799
|
*/
|
|
2800
|
-
declare const FormField: FC<FormFieldProps>;
|
|
2800
|
+
export declare const FormField: FC<FormFieldProps>;
|
|
2801
2801
|
//#endregion
|
|
2802
2802
|
//#region src/components/FormGroup/FormGroup.d.ts
|
|
2803
2803
|
type FormGroupProps = Omit<ComponentPropsWithoutRef<"fieldset">, "onChange"> & {
|
|
@@ -2814,7 +2814,7 @@ type FormGroupProps = Omit<ComponentPropsWithoutRef<"fieldset">, "onChange"> & {
|
|
|
2814
2814
|
/**
|
|
2815
2815
|
* For grouping like form elements together.
|
|
2816
2816
|
*/
|
|
2817
|
-
declare const FormGroup: FC<FormGroupProps>;
|
|
2817
|
+
export declare const FormGroup: FC<FormGroupProps>;
|
|
2818
2818
|
//#endregion
|
|
2819
2819
|
//#region src/components/FormGroup/RadioGroup.d.ts
|
|
2820
2820
|
type RadioGroupProps = FormGroupProps & {
|
|
@@ -2825,7 +2825,7 @@ type RadioGroupProps = FormGroupProps & {
|
|
|
2825
2825
|
/**
|
|
2826
2826
|
* For grouping like form elements together. Can serve as a checkbox
|
|
2827
2827
|
*/
|
|
2828
|
-
declare const RadioGroup: FC<RadioGroupProps>;
|
|
2828
|
+
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
2829
2829
|
//#endregion
|
|
2830
2830
|
//#region src/components/FormGroup/CheckboxGroup.d.ts
|
|
2831
2831
|
type CheckboxGroupProps = FormGroupProps & {
|
|
@@ -2836,7 +2836,7 @@ type CheckboxGroupProps = FormGroupProps & {
|
|
|
2836
2836
|
/**
|
|
2837
2837
|
* For grouping like form elements together. Can serve as a checkbox
|
|
2838
2838
|
*/
|
|
2839
|
-
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
2839
|
+
export declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
2840
2840
|
//#endregion
|
|
2841
2841
|
//#region src/components/Grid/Grid.d.ts
|
|
2842
2842
|
declare const DEFAULT_ELEMENT$1 = "div";
|
|
@@ -2872,7 +2872,7 @@ type GridProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2872
2872
|
/**
|
|
2873
2873
|
* A `Grid` arranges its children in a CSS grid layout with configurable `columns`, `gap`, and responsive breakpoint support.
|
|
2874
2874
|
*/
|
|
2875
|
-
declare const Grid: PolymorphicComponent<typeof DEFAULT_ELEMENT$1, GridProps>;
|
|
2875
|
+
export declare const Grid: PolymorphicComponent<typeof DEFAULT_ELEMENT$1, GridProps>;
|
|
2876
2876
|
//#endregion
|
|
2877
2877
|
//#region src/components/PreviewCard/PreviewCard.d.ts
|
|
2878
2878
|
type PreviewCardProps = {
|
|
@@ -2927,7 +2927,7 @@ type PreviewCardProps = {
|
|
|
2927
2927
|
/**
|
|
2928
2928
|
* Preview cards reveal content on hover. **Everything in the card must also exist at the destination**—never put information only in the preview. This pattern is for sighted-only, so treat the card as a preview, not a source of truth.
|
|
2929
2929
|
*/
|
|
2930
|
-
declare const PreviewCard: FC<PreviewCardProps>;
|
|
2930
|
+
export declare const PreviewCard: FC<PreviewCardProps>;
|
|
2931
2931
|
//#endregion
|
|
2932
2932
|
//#region src/components/IconButton/IconButton.d.ts
|
|
2933
2933
|
type IconButtonProps = {
|
|
@@ -2944,10 +2944,47 @@ type IconButtonProps = {
|
|
|
2944
2944
|
* IconButton behaves like a [Button](/components/Button),
|
|
2945
2945
|
* but only accepts an [Icon](/components/Icon) as a child.
|
|
2946
2946
|
*/
|
|
2947
|
-
declare const IconButton: ({ children, label, size, ref, ...props }: IconButtonProps & {
|
|
2947
|
+
export declare const IconButton: ({ children, label, size, ref, ...props }: IconButtonProps & {
|
|
2948
2948
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
2949
2949
|
}) => JSX.Element;
|
|
2950
2950
|
//#endregion
|
|
2951
|
+
//#region src/components/IconChip/IconChip.d.ts
|
|
2952
|
+
type IconChipSize = "lg" | "md" | "sm" | "xl";
|
|
2953
|
+
type IconChipVariant = "soft" | "solid";
|
|
2954
|
+
type IconChipShape = "circle" | "square";
|
|
2955
|
+
type IconChipProps = Omit<ComponentPropsWithoutRef<"span">, "autoFocus" | "children" | "contentEditable" | "onClick" | "tabIndex"> & {
|
|
2956
|
+
/**
|
|
2957
|
+
* The [Icon](/components/Icon) to display, e.g. `<Icon type="upload" />`
|
|
2958
|
+
*/
|
|
2959
|
+
children: ReactElement<IconProps>;
|
|
2960
|
+
/**
|
|
2961
|
+
* Sets the [color scheme](/foundations/color/color-schemes) of the chip
|
|
2962
|
+
*/
|
|
2963
|
+
colorScheme?: ColorSchemeTypes;
|
|
2964
|
+
/**
|
|
2965
|
+
* `soft` is a tinted fill with a colored icon; `solid` is a full-color fill with a contrasting icon
|
|
2966
|
+
*/
|
|
2967
|
+
variant?: IconChipVariant;
|
|
2968
|
+
/**
|
|
2969
|
+
* The shape of the chip
|
|
2970
|
+
*/
|
|
2971
|
+
shape?: IconChipShape;
|
|
2972
|
+
/**
|
|
2973
|
+
* The size of the chip. Ignored when the chip is placed inside a [TileButton](/components/TileButton), which sets it. Can be used as a [responsive prop](/foundations/responsive-props)
|
|
2974
|
+
*
|
|
2975
|
+
* @type ResponsiveObject<'sm' | 'md' | 'lg' | 'xl'> | 'sm' | 'md' | 'lg' | 'xl'
|
|
2976
|
+
*/
|
|
2977
|
+
size?: IconChipSize | ResponsiveObject<IconChipSize>;
|
|
2978
|
+
/**
|
|
2979
|
+
* Wiggles the icon when the closest button or link is hovered or focused. Respects reduced-motion preferences
|
|
2980
|
+
*/
|
|
2981
|
+
animateOnHover?: boolean;
|
|
2982
|
+
};
|
|
2983
|
+
/**
|
|
2984
|
+
* An `IconChip` places an [Icon](/components/Icon) on a soft or solid colored shape to give it more visual weight. It is decorative and hidden from assistive technology, so always pair it with visible text.
|
|
2985
|
+
*/
|
|
2986
|
+
export declare const IconChip: ({ children, colorScheme, variant, shape, size, animateOnHover, ...props }: IconChipProps) => JSX.Element;
|
|
2987
|
+
//#endregion
|
|
2951
2988
|
//#region src/components/Image/Image.d.ts
|
|
2952
2989
|
type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
2953
2990
|
/**
|
|
@@ -2995,7 +3032,7 @@ type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
|
2995
3032
|
/**
|
|
2996
3033
|
* An `Image` displays a photo or graphic inline, with controls for border radius, object fit, and how it fills its container. It lazy-loads by default via the native `loading` attribute.
|
|
2997
3034
|
*/
|
|
2998
|
-
declare const Image: FC<ImageProps>;
|
|
3035
|
+
export declare const Image: FC<ImageProps>;
|
|
2999
3036
|
//#endregion
|
|
3000
3037
|
//#region src/components/InputClickToCopy/InputClickToCopy.d.ts
|
|
3001
3038
|
type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "rightIcon" | "type" | "value"> & {
|
|
@@ -3015,7 +3052,7 @@ type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "right
|
|
|
3015
3052
|
/**
|
|
3016
3053
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
3017
3054
|
*/
|
|
3018
|
-
declare const InputClickToCopy: ({ value, onCopy, disabled, ref, ...props }: InputClickToCopyProps & {
|
|
3055
|
+
export declare const InputClickToCopy: ({ value, onCopy, disabled, ref, ...props }: InputClickToCopyProps & {
|
|
3019
3056
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3020
3057
|
}) => JSX.Element;
|
|
3021
3058
|
//#endregion
|
|
@@ -3049,7 +3086,7 @@ type InputDurationProps = InputDurationBaseProps & {
|
|
|
3049
3086
|
/**
|
|
3050
3087
|
* InputDuration lets users edit a duration value using a keyboard-friendly time input.
|
|
3051
3088
|
*/
|
|
3052
|
-
declare const InputDuration: ({ decimalUnitLength, disabled, fullWidth, maxSeconds, minSeconds, onChangeValueInSeconds, valueInSeconds, onFocus, style, ref: externalRef, ...props }: InputDurationProps & {
|
|
3089
|
+
export declare const InputDuration: ({ decimalUnitLength, disabled, fullWidth, maxSeconds, minSeconds, onChangeValueInSeconds, valueInSeconds, onFocus, style, ref: externalRef, ...props }: InputDurationProps & {
|
|
3053
3090
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3054
3091
|
}) => JSX.Element;
|
|
3055
3092
|
//#endregion
|
|
@@ -3067,7 +3104,7 @@ type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon
|
|
|
3067
3104
|
/**
|
|
3068
3105
|
* A password input component with a toggle button to show or hide the password text.
|
|
3069
3106
|
*/
|
|
3070
|
-
declare const InputPassword: ({ onVisibilityToggle, disabled, ref, ...props }: InputPasswordProps & {
|
|
3107
|
+
export declare const InputPassword: ({ onVisibilityToggle, disabled, ref, ...props }: InputPasswordProps & {
|
|
3071
3108
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3072
3109
|
}) => JSX.Element;
|
|
3073
3110
|
//#endregion
|
|
@@ -3089,7 +3126,7 @@ type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | Punctu
|
|
|
3089
3126
|
* // someString is narrowed to KeyboardKeys here
|
|
3090
3127
|
* }
|
|
3091
3128
|
*/
|
|
3092
|
-
declare const isKeyboardKey: (key: string) => key is KeyboardKeys;
|
|
3129
|
+
export declare const isKeyboardKey: (key: string) => key is KeyboardKeys;
|
|
3093
3130
|
//#endregion
|
|
3094
3131
|
//#region src/components/KeyboardShortcut/KeyboardShortcut.d.ts
|
|
3095
3132
|
type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -3109,7 +3146,7 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3109
3146
|
/**
|
|
3110
3147
|
* A `KeyboardShortcut` displays one or more keyboard keys with an optional label, rendering each key in a styled `kbd` element. Platform-specific keys like `Cmd`/`Meta` are rendered with the appropriate symbol for the detected operating system.
|
|
3111
3148
|
*/
|
|
3112
|
-
declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
3149
|
+
export declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
3113
3150
|
//#endregion
|
|
3114
3151
|
//#region src/components/List/List.d.ts
|
|
3115
3152
|
type VariantType = "breadcrumbs" | "bullets" | "commas" | "ordered" | "slashes" | "spaces" | "unbulleted";
|
|
@@ -3132,7 +3169,7 @@ type ListProps = ComponentPropsWithoutRef<"ul"> & {
|
|
|
3132
3169
|
/**
|
|
3133
3170
|
* A `List` groups related items in bulleted, ordered, or separator-based layouts, composed with `ListItem` children or a flat/nested `items` array.
|
|
3134
3171
|
*/
|
|
3135
|
-
declare const List: FC<ListProps>;
|
|
3172
|
+
export declare const List: FC<ListProps>;
|
|
3136
3173
|
//#endregion
|
|
3137
3174
|
//#region src/components/List/ListItem.d.ts
|
|
3138
3175
|
type ListItemProps = {
|
|
@@ -3141,7 +3178,7 @@ type ListItemProps = {
|
|
|
3141
3178
|
*/
|
|
3142
3179
|
children?: ReactNode;
|
|
3143
3180
|
};
|
|
3144
|
-
declare const ListItem: FC<ListItemProps>;
|
|
3181
|
+
export declare const ListItem: FC<ListItemProps>;
|
|
3145
3182
|
//#endregion
|
|
3146
3183
|
//#region src/components/Mark/Mark.d.ts
|
|
3147
3184
|
type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -3153,7 +3190,7 @@ type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3153
3190
|
/**
|
|
3154
3191
|
* Defines text that should be marked or highlighted.
|
|
3155
3192
|
*/
|
|
3156
|
-
declare const Mark: FC<MarkProps>;
|
|
3193
|
+
export declare const Mark: FC<MarkProps>;
|
|
3157
3194
|
//#endregion
|
|
3158
3195
|
//#region src/css/baseMarkdownCss.d.ts
|
|
3159
3196
|
type MarkdownTextSize = "body2" | "body3";
|
|
@@ -3173,7 +3210,7 @@ type MarkdownProps = ComponentProps<typeof ReactMarkdown> & {
|
|
|
3173
3210
|
/**
|
|
3174
3211
|
* This is a simple wrapper around `react-markdown` that applies some basic styles.
|
|
3175
3212
|
*/
|
|
3176
|
-
declare const Markdown: FC<MarkdownProps>;
|
|
3213
|
+
export declare const Markdown: FC<MarkdownProps>;
|
|
3177
3214
|
//#endregion
|
|
3178
3215
|
//#region src/components/Menu/Menu.d.ts
|
|
3179
3216
|
type ControlledMenuProps = {
|
|
@@ -3230,7 +3267,7 @@ type MenuProps = MenuControlProps & {
|
|
|
3230
3267
|
/**
|
|
3231
3268
|
* Displays a menu to the users with a set of actions.
|
|
3232
3269
|
*/
|
|
3233
|
-
declare const Menu: ({ align, children, disabled, compact, trigger, label, isOpen, side, triggerProps, onOpenChange, ref, ...props }: MenuProps & {
|
|
3270
|
+
export declare const Menu: ({ align, children, disabled, compact, trigger, label, isOpen, side, triggerProps, onOpenChange, ref, ...props }: MenuProps & {
|
|
3234
3271
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3235
3272
|
}) => JSX.Element;
|
|
3236
3273
|
//#endregion
|
|
@@ -3241,7 +3278,7 @@ type MenuLabelProps = {
|
|
|
3241
3278
|
*/
|
|
3242
3279
|
children: ReactNode | string;
|
|
3243
3280
|
};
|
|
3244
|
-
declare const MenuLabel: FC<MenuLabelProps>;
|
|
3281
|
+
export declare const MenuLabel: FC<MenuLabelProps>;
|
|
3245
3282
|
//#endregion
|
|
3246
3283
|
//#region src/components/Menu/SubMenu.d.ts
|
|
3247
3284
|
type SubMenuProps = {
|
|
@@ -3266,7 +3303,7 @@ type SubMenuProps = {
|
|
|
3266
3303
|
*/
|
|
3267
3304
|
icon?: JSX.Element | undefined;
|
|
3268
3305
|
};
|
|
3269
|
-
declare const SubMenu: FC<SubMenuProps>;
|
|
3306
|
+
export declare const SubMenu: FC<SubMenuProps>;
|
|
3270
3307
|
//#endregion
|
|
3271
3308
|
//#region src/components/Menu/MenuItemButton.d.ts
|
|
3272
3309
|
type MenuItemButtonProps = ButtonProps & {
|
|
@@ -3341,7 +3378,7 @@ type MenuItemProps = MenuItemButtonProps & {
|
|
|
3341
3378
|
*/
|
|
3342
3379
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3343
3380
|
};
|
|
3344
|
-
declare const MenuItem: ({ onSelect, closeOnClick, ref, ...props }: MenuItemProps & {
|
|
3381
|
+
export declare const MenuItem: ({ onSelect, closeOnClick, ref, ...props }: MenuItemProps & {
|
|
3345
3382
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
3346
3383
|
}) => JSX.Element;
|
|
3347
3384
|
//#endregion
|
|
@@ -3352,7 +3389,7 @@ type MenuItemLabelProps = {
|
|
|
3352
3389
|
*/
|
|
3353
3390
|
children: ReactNode;
|
|
3354
3391
|
};
|
|
3355
|
-
declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => JSX.Element;
|
|
3392
|
+
export declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => JSX.Element;
|
|
3356
3393
|
//#endregion
|
|
3357
3394
|
//#region src/components/Menu/MenuItemDescription.d.ts
|
|
3358
3395
|
type MenuItemDescriptionProps = {
|
|
@@ -3361,7 +3398,7 @@ type MenuItemDescriptionProps = {
|
|
|
3361
3398
|
*/
|
|
3362
3399
|
children: ReactNode;
|
|
3363
3400
|
};
|
|
3364
|
-
declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => JSX.Element;
|
|
3401
|
+
export declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => JSX.Element;
|
|
3365
3402
|
//#endregion
|
|
3366
3403
|
//#region src/components/Menu/MenuRadioGroup.d.ts
|
|
3367
3404
|
type MenuRadioGroupProps = {
|
|
@@ -3378,7 +3415,7 @@ type MenuRadioGroupProps = {
|
|
|
3378
3415
|
*/
|
|
3379
3416
|
onValueChange?: (value: string) => void;
|
|
3380
3417
|
};
|
|
3381
|
-
declare const MenuRadioGroup: FC<MenuRadioGroupProps>;
|
|
3418
|
+
export declare const MenuRadioGroup: FC<MenuRadioGroupProps>;
|
|
3382
3419
|
//#endregion
|
|
3383
3420
|
//#region src/components/Menu/RadioMenuItem.d.ts
|
|
3384
3421
|
type RadioMenuItemProps = MenuItemButtonProps & {
|
|
@@ -3407,7 +3444,7 @@ type RadioMenuItemProps = MenuItemButtonProps & {
|
|
|
3407
3444
|
*/
|
|
3408
3445
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3409
3446
|
};
|
|
3410
|
-
declare const RadioMenuItem: FC<RadioMenuItemProps>;
|
|
3447
|
+
export declare const RadioMenuItem: FC<RadioMenuItemProps>;
|
|
3411
3448
|
//#endregion
|
|
3412
3449
|
//#region src/components/Menu/CheckboxMenuItem.d.ts
|
|
3413
3450
|
type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
@@ -3438,7 +3475,7 @@ type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
|
3438
3475
|
*/
|
|
3439
3476
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3440
3477
|
};
|
|
3441
|
-
declare const CheckboxMenuItem: FC<CheckboxMenuItemProps>;
|
|
3478
|
+
export declare const CheckboxMenuItem: FC<CheckboxMenuItemProps>;
|
|
3442
3479
|
//#endregion
|
|
3443
3480
|
//#region src/components/Menu/FilterMenu.d.ts
|
|
3444
3481
|
type FilterMenuProps = MenuProps & {
|
|
@@ -3459,8 +3496,8 @@ type FilterMenuProps = MenuProps & {
|
|
|
3459
3496
|
*/
|
|
3460
3497
|
onSearchValueChange: (value: string) => void;
|
|
3461
3498
|
};
|
|
3462
|
-
declare const FilterMenuItem: typeof CheckboxMenuItem;
|
|
3463
|
-
declare const FilterMenu: ({ value, onChange, searchValue, onSearchValueChange, children, ref, ...props }: FilterMenuProps & {
|
|
3499
|
+
export declare const FilterMenuItem: typeof CheckboxMenuItem;
|
|
3500
|
+
export declare const FilterMenu: ({ value, onChange, searchValue, onSearchValueChange, children, ref, ...props }: FilterMenuProps & {
|
|
3464
3501
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3465
3502
|
}) => JSX.Element;
|
|
3466
3503
|
//#endregion
|
|
@@ -3512,7 +3549,7 @@ type MeterProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3512
3549
|
/**
|
|
3513
3550
|
* A meter component that visually represents one to many segments as portions of a whole
|
|
3514
3551
|
*/
|
|
3515
|
-
declare const Meter: FC<MeterProps>;
|
|
3552
|
+
export declare const Meter: FC<MeterProps>;
|
|
3516
3553
|
//#endregion
|
|
3517
3554
|
//#region src/components/Modal/Modal.d.ts
|
|
3518
3555
|
type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
@@ -3568,7 +3605,7 @@ type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
|
3568
3605
|
* A Modal is a focused UI element that appears atop the main interface, requiring
|
|
3569
3606
|
* user interaction or dismissal before returning to the underlying content.
|
|
3570
3607
|
*/
|
|
3571
|
-
declare const Modal: ({ children, footer, hideCloseButton, hideTitle, initialFocusRef, isOpen, onKeyDown, onRequestClose, positionVariant, title, width, ref, ...props }: ModalProps & {
|
|
3608
|
+
export declare const Modal: ({ children, footer, hideCloseButton, hideTitle, initialFocusRef, isOpen, onKeyDown, onRequestClose, positionVariant, title, width, ref, ...props }: ModalProps & {
|
|
3572
3609
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3573
3610
|
}) => JSX.Element;
|
|
3574
3611
|
//#endregion
|
|
@@ -3579,7 +3616,7 @@ type ModalCalloutsProps = {
|
|
|
3579
3616
|
*/
|
|
3580
3617
|
children?: ReactNode;
|
|
3581
3618
|
};
|
|
3582
|
-
declare const ModalCallouts: FC<ModalCalloutsProps>;
|
|
3619
|
+
export declare const ModalCallouts: FC<ModalCalloutsProps>;
|
|
3583
3620
|
type ModalCalloutProps = {
|
|
3584
3621
|
title: string;
|
|
3585
3622
|
image: JSX.Element;
|
|
@@ -3588,7 +3625,7 @@ type ModalCalloutProps = {
|
|
|
3588
3625
|
*/
|
|
3589
3626
|
children?: ReactNode;
|
|
3590
3627
|
};
|
|
3591
|
-
declare const ModalCallout: FC<ModalCalloutProps>;
|
|
3628
|
+
export declare const ModalCallout: FC<ModalCalloutProps>;
|
|
3592
3629
|
//#endregion
|
|
3593
3630
|
//#region src/components/Popover/Popover.d.ts
|
|
3594
3631
|
type ControlledPopoverProps = {
|
|
@@ -3669,7 +3706,7 @@ type PopoverProps = PopoverControlProps & {
|
|
|
3669
3706
|
* the primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
|
|
3670
3707
|
* `PopoverPortal`, `PopoverContent`, `PopoverClose`.
|
|
3671
3708
|
*/
|
|
3672
|
-
declare const Popover: FC<PopoverProps>;
|
|
3709
|
+
export declare const Popover: FC<PopoverProps>;
|
|
3673
3710
|
//#endregion
|
|
3674
3711
|
//#region src/components/Popover/PopoverAnchor.d.ts
|
|
3675
3712
|
type PopoverAnchorProps = {
|
|
@@ -3682,7 +3719,7 @@ type PopoverAnchorProps = {
|
|
|
3682
3719
|
*
|
|
3683
3720
|
* Wrap the anchor element and nest `PopoverTrigger` inside it.
|
|
3684
3721
|
*/
|
|
3685
|
-
declare const PopoverAnchor: FC<PopoverAnchorProps>;
|
|
3722
|
+
export declare const PopoverAnchor: FC<PopoverAnchorProps>;
|
|
3686
3723
|
//#endregion
|
|
3687
3724
|
//#region src/components/Popover/PopoverArrow.d.ts
|
|
3688
3725
|
type PopoverArrowProps = {
|
|
@@ -3691,7 +3728,7 @@ type PopoverArrowProps = {
|
|
|
3691
3728
|
*/
|
|
3692
3729
|
isAnimated: boolean;
|
|
3693
3730
|
};
|
|
3694
|
-
declare const PopoverArrow: FC<PopoverArrowProps>;
|
|
3731
|
+
export declare const PopoverArrow: FC<PopoverArrowProps>;
|
|
3695
3732
|
//#endregion
|
|
3696
3733
|
//#region src/components/Popover/PopoverClose.d.ts
|
|
3697
3734
|
type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
@@ -3706,7 +3743,7 @@ type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
|
3706
3743
|
* pass `render` to merge the close behavior onto a single child element. For
|
|
3707
3744
|
* a pre-styled icon close button, use `PopoverCloseButton`.
|
|
3708
3745
|
*/
|
|
3709
|
-
declare const PopoverClose: ({ ref, ...props }: PopoverCloseProps & {
|
|
3746
|
+
export declare const PopoverClose: ({ ref, ...props }: PopoverCloseProps & {
|
|
3710
3747
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3711
3748
|
}) => JSX.Element;
|
|
3712
3749
|
//#endregion
|
|
@@ -3719,7 +3756,7 @@ type PopoverCloseButtonProps = {
|
|
|
3719
3756
|
* A pre-styled close button intended to be placed inside a `PopoverContent`.
|
|
3720
3757
|
* For a custom close control, use `PopoverClose` directly.
|
|
3721
3758
|
*/
|
|
3722
|
-
declare const PopoverCloseButton: FC<PopoverCloseButtonProps>;
|
|
3759
|
+
export declare const PopoverCloseButton: FC<PopoverCloseButtonProps>;
|
|
3723
3760
|
//#endregion
|
|
3724
3761
|
//#region src/components/Popover/PopoverContent.d.ts
|
|
3725
3762
|
type PopoverContentProps = {
|
|
@@ -3760,7 +3797,7 @@ type PopoverContentProps = {
|
|
|
3760
3797
|
* The styled popover surface. Place inside a `PopoverRoot` (typically wrapped
|
|
3761
3798
|
* in a `PopoverPortal`). Wraps a `Positioner` and `Popup` internally.
|
|
3762
3799
|
*/
|
|
3763
|
-
declare const PopoverContent: ({ colorScheme, unstyled, maxWidth, maxHeight, sideOffset, side, align, style, role, children, ref, ...props }: PopoverContentProps & {
|
|
3800
|
+
export declare const PopoverContent: ({ colorScheme, unstyled, maxWidth, maxHeight, sideOffset, side, align, style, role, children, ref, ...props }: PopoverContentProps & {
|
|
3764
3801
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3765
3802
|
}) => JSX.Element;
|
|
3766
3803
|
//#endregion
|
|
@@ -3772,7 +3809,7 @@ type PopoverPortalProps = {
|
|
|
3772
3809
|
* Portals the popover content out of the DOM hierarchy of its trigger so it can
|
|
3773
3810
|
* escape clipping ancestors (`overflow: hidden`, transformed containers, etc.).
|
|
3774
3811
|
*/
|
|
3775
|
-
declare const PopoverPortal: FC<PopoverPortalProps>;
|
|
3812
|
+
export declare const PopoverPortal: FC<PopoverPortalProps>;
|
|
3776
3813
|
//#endregion
|
|
3777
3814
|
//#region src/components/Popover/PopoverRoot.d.ts
|
|
3778
3815
|
/**
|
|
@@ -3799,7 +3836,7 @@ type PopoverRootProps = {
|
|
|
3799
3836
|
*
|
|
3800
3837
|
* For the common "button opens a panel" case, prefer the bundled `Popover`.
|
|
3801
3838
|
*/
|
|
3802
|
-
declare const PopoverRoot: FC<PopoverRootProps>;
|
|
3839
|
+
export declare const PopoverRoot: FC<PopoverRootProps>;
|
|
3803
3840
|
//#endregion
|
|
3804
3841
|
//#region src/components/Popover/PopoverTrigger.d.ts
|
|
3805
3842
|
type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
@@ -3820,7 +3857,7 @@ type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> &
|
|
|
3820
3857
|
* `<button>` wrapping its children; pass `render` to merge the trigger
|
|
3821
3858
|
* behavior onto a single child element (e.g. a `Button` or `IconButton`).
|
|
3822
3859
|
*/
|
|
3823
|
-
declare const PopoverTrigger: ({ nativeButton, ref, ...props }: PopoverTriggerProps & {
|
|
3860
|
+
export declare const PopoverTrigger: ({ nativeButton, ref, ...props }: PopoverTriggerProps & {
|
|
3824
3861
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3825
3862
|
}) => JSX.Element;
|
|
3826
3863
|
//#endregion
|
|
@@ -3850,7 +3887,7 @@ type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3850
3887
|
/**
|
|
3851
3888
|
* A progress component that visually represents the completion status of a task
|
|
3852
3889
|
*/
|
|
3853
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
3890
|
+
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
3854
3891
|
//#endregion
|
|
3855
3892
|
//#region src/components/Radio/Radio.d.ts
|
|
3856
3893
|
type RadioSizeType = "lg" | "md" | "sm";
|
|
@@ -3908,7 +3945,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
3908
3945
|
/**
|
|
3909
3946
|
* A `Radio` lets users select exactly one option from a visible set of choices.
|
|
3910
3947
|
*/
|
|
3911
|
-
declare const Radio: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: RadioProps & {
|
|
3948
|
+
export declare const Radio: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: RadioProps & {
|
|
3912
3949
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3913
3950
|
}) => JSX.Element;
|
|
3914
3951
|
//#endregion
|
|
@@ -3985,7 +4022,7 @@ type RadioCardProps = RadioCardWithChildren | RadioCardWithDefaultLayout;
|
|
|
3985
4022
|
/**
|
|
3986
4023
|
* A `RadioCard` lets users select exactly one option from a set of visually rich, card-based choices.
|
|
3987
4024
|
*/
|
|
3988
|
-
declare const RadioCard: ({ icon, label, description, showIndicator, isGated, children, ref, ...rootProps }: RadioCardProps & {
|
|
4025
|
+
export declare const RadioCard: ({ icon, label, description, showIndicator, isGated, children, ref, ...rootProps }: RadioCardProps & {
|
|
3989
4026
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3990
4027
|
}) => JSX.Element;
|
|
3991
4028
|
//#endregion
|
|
@@ -4032,7 +4069,7 @@ type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> &
|
|
|
4032
4069
|
*/
|
|
4033
4070
|
padding?: Spacings;
|
|
4034
4071
|
};
|
|
4035
|
-
declare const RadioCardImage: ({ label, imageSrc, aspectRatio, padding, ref, ...rootProps }: RadioCardImageProps & {
|
|
4072
|
+
export declare const RadioCardImage: ({ label, imageSrc, aspectRatio, padding, ref, ...rootProps }: RadioCardImageProps & {
|
|
4036
4073
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4037
4074
|
}) => JSX.Element;
|
|
4038
4075
|
//#endregion
|
|
@@ -4055,10 +4092,10 @@ type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4055
4092
|
/**
|
|
4056
4093
|
* Used to hide content from the visual client, but keep it readable for screen readers.
|
|
4057
4094
|
*/
|
|
4058
|
-
declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
4095
|
+
export declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
4059
4096
|
//#endregion
|
|
4060
4097
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
4061
|
-
type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
4098
|
+
export type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
4062
4099
|
/**
|
|
4063
4100
|
* When true, disables scrolling. Useful to temporarily prevent scrolling,
|
|
4064
4101
|
* like when drag-and-dropping an item from inside to outside of the scroll
|
|
@@ -4070,7 +4107,7 @@ type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
4070
4107
|
* ScrollArea is a simple scrollable container with shadow effects to indicate
|
|
4071
4108
|
* scrollability.
|
|
4072
4109
|
*/
|
|
4073
|
-
declare const ScrollArea: ({ children, onScroll, style, locked, ref: forwardedRef, ...props }: ScrollAreaProps & {
|
|
4110
|
+
export declare const ScrollArea: ({ children, onScroll, style, locked, ref: forwardedRef, ...props }: ScrollAreaProps & {
|
|
4074
4111
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4075
4112
|
}) => JSX.Element;
|
|
4076
4113
|
//#endregion
|
|
@@ -4104,7 +4141,7 @@ type SegmentedControlProps = {
|
|
|
4104
4141
|
/**
|
|
4105
4142
|
* Provides a horizontal set of segments for switching between different values
|
|
4106
4143
|
*/
|
|
4107
|
-
declare const SegmentedControl: ({ children, colorScheme, disabled, fullWidth, selectedValue, onSelectedValueChange, ref, ...props }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
|
|
4144
|
+
export declare const SegmentedControl: ({ children, colorScheme, disabled, fullWidth, selectedValue, onSelectedValueChange, ref, ...props }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
|
|
4108
4145
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4109
4146
|
}) => JSX.Element | null;
|
|
4110
4147
|
//#endregion
|
|
@@ -4150,7 +4187,7 @@ type NoIcon$1 = {
|
|
|
4150
4187
|
"aria-label"?: never;
|
|
4151
4188
|
};
|
|
4152
4189
|
type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
|
|
4153
|
-
declare const SegmentedControlItem: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref: forwardedRef, ...otherProps }: SegmentedControlItemProps & {
|
|
4190
|
+
export declare const SegmentedControlItem: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref: forwardedRef, ...otherProps }: SegmentedControlItemProps & {
|
|
4154
4191
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4155
4192
|
}) => JSX.Element;
|
|
4156
4193
|
//#endregion
|
|
@@ -4218,7 +4255,7 @@ type SelectProps = {
|
|
|
4218
4255
|
/**
|
|
4219
4256
|
* Display a list of options and choose one of them. Replacement for the native Select HTML element.
|
|
4220
4257
|
*/
|
|
4221
|
-
declare const Select: ({ colorScheme, children, onOpenChange, onChange, placeholder, fullWidth, forceOpen, showScrollArrows, disabled, name, value, "aria-invalid": ariaInvalid, ref: forwardedRef, ...props }: SelectProps & {
|
|
4258
|
+
export declare const Select: ({ colorScheme, children, onOpenChange, onChange, placeholder, fullWidth, forceOpen, showScrollArrows, disabled, name, value, "aria-invalid": ariaInvalid, ref: forwardedRef, ...props }: SelectProps & {
|
|
4222
4259
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4223
4260
|
}) => JSX.Element;
|
|
4224
4261
|
//#endregion
|
|
@@ -4253,7 +4290,7 @@ type SelectOptionProps = {
|
|
|
4253
4290
|
*/
|
|
4254
4291
|
checkmarkVerticalAlign?: "center" | "top";
|
|
4255
4292
|
};
|
|
4256
|
-
declare const SelectOption: ({ children, selectedDisplayValue, checkmarkVerticalAlign, textValue, ref: forwardedRef, ...props }: SelectOptionProps & {
|
|
4293
|
+
export declare const SelectOption: ({ children, selectedDisplayValue, checkmarkVerticalAlign, textValue, ref: forwardedRef, ...props }: SelectOptionProps & {
|
|
4257
4294
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4258
4295
|
}) => JSX.Element;
|
|
4259
4296
|
//#endregion
|
|
@@ -4264,7 +4301,7 @@ type SelectOptionGroupProps = {
|
|
|
4264
4301
|
/** At least one `Option` */
|
|
4265
4302
|
children: ReactNode;
|
|
4266
4303
|
};
|
|
4267
|
-
declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => JSX.Element;
|
|
4304
|
+
export declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => JSX.Element;
|
|
4268
4305
|
//#endregion
|
|
4269
4306
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
4270
4307
|
type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
@@ -4277,7 +4314,7 @@ type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
|
4277
4314
|
/**
|
|
4278
4315
|
* The `Sidebar` provides vertical navigation with a composable header, scrollable content area, and footer.
|
|
4279
4316
|
*/
|
|
4280
|
-
declare const Sidebar: ({ children, ref, ...props }: SidebarProps & {
|
|
4317
|
+
export declare const Sidebar: ({ children, ref, ...props }: SidebarProps & {
|
|
4281
4318
|
ref?: Ref<HTMLElement> | undefined;
|
|
4282
4319
|
}) => JSX.Element;
|
|
4283
4320
|
//#endregion
|
|
@@ -4289,7 +4326,7 @@ type SidebarHeaderProps = {
|
|
|
4289
4326
|
*/
|
|
4290
4327
|
children: ReactNode;
|
|
4291
4328
|
};
|
|
4292
|
-
declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
4329
|
+
export declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
4293
4330
|
//#endregion
|
|
4294
4331
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
4295
4332
|
type SidebarFooterProps = {
|
|
@@ -4299,7 +4336,7 @@ type SidebarFooterProps = {
|
|
|
4299
4336
|
*/
|
|
4300
4337
|
children: ReactNode;
|
|
4301
4338
|
};
|
|
4302
|
-
declare const SidebarFooter: FC<SidebarFooterProps>;
|
|
4339
|
+
export declare const SidebarFooter: FC<SidebarFooterProps>;
|
|
4303
4340
|
//#endregion
|
|
4304
4341
|
//#region src/components/Sidebar/SidebarTitle.d.ts
|
|
4305
4342
|
type SidebarTitleProps = {
|
|
@@ -4308,7 +4345,7 @@ type SidebarTitleProps = {
|
|
|
4308
4345
|
*/
|
|
4309
4346
|
children: ReactNode;
|
|
4310
4347
|
};
|
|
4311
|
-
declare const SidebarTitle: FC<SidebarTitleProps>;
|
|
4348
|
+
export declare const SidebarTitle: FC<SidebarTitleProps>;
|
|
4312
4349
|
//#endregion
|
|
4313
4350
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
4314
4351
|
type SidebarContentProps = {
|
|
@@ -4318,7 +4355,7 @@ type SidebarContentProps = {
|
|
|
4318
4355
|
*/
|
|
4319
4356
|
children: ReactNode;
|
|
4320
4357
|
};
|
|
4321
|
-
declare const SidebarContent: FC<SidebarContentProps>;
|
|
4358
|
+
export declare const SidebarContent: FC<SidebarContentProps>;
|
|
4322
4359
|
//#endregion
|
|
4323
4360
|
//#region src/components/Sidebar/SidebarGroup.d.ts
|
|
4324
4361
|
type SidebarGroupProps = {
|
|
@@ -4328,7 +4365,7 @@ type SidebarGroupProps = {
|
|
|
4328
4365
|
*/
|
|
4329
4366
|
children: ReactNode;
|
|
4330
4367
|
};
|
|
4331
|
-
declare const SidebarGroup: FC<SidebarGroupProps>;
|
|
4368
|
+
export declare const SidebarGroup: FC<SidebarGroupProps>;
|
|
4332
4369
|
//#endregion
|
|
4333
4370
|
//#region src/components/Sidebar/SidebarGroupLabel.d.ts
|
|
4334
4371
|
type SidebarGroupLabelProps = {
|
|
@@ -4347,7 +4384,7 @@ type SidebarGroupLabelProps = {
|
|
|
4347
4384
|
*/
|
|
4348
4385
|
leftSlot?: ReactNode;
|
|
4349
4386
|
};
|
|
4350
|
-
declare const SidebarGroupLabel: FC<SidebarGroupLabelProps>;
|
|
4387
|
+
export declare const SidebarGroupLabel: FC<SidebarGroupLabelProps>;
|
|
4351
4388
|
//#endregion
|
|
4352
4389
|
//#region src/components/Sidebar/SidebarButton.d.ts
|
|
4353
4390
|
type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant"> | Omit<ButtonAsLinkProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant">) & {
|
|
@@ -4357,7 +4394,7 @@ type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign"
|
|
|
4357
4394
|
*/
|
|
4358
4395
|
selected?: boolean;
|
|
4359
4396
|
};
|
|
4360
|
-
declare const SidebarButton: ({ selected, ref, ...props }: SidebarButtonProps & {
|
|
4397
|
+
export declare const SidebarButton: ({ selected, ref, ...props }: SidebarButtonProps & {
|
|
4361
4398
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
4362
4399
|
}) => JSX.Element;
|
|
4363
4400
|
//#endregion
|
|
@@ -4370,7 +4407,7 @@ type SidebarSearchInputProps = Omit<InputProps, "type"> & {
|
|
|
4370
4407
|
*/
|
|
4371
4408
|
label?: string;
|
|
4372
4409
|
};
|
|
4373
|
-
declare const SidebarSearchInput: ({ id, label, ref, ...props }: SidebarSearchInputProps & {
|
|
4410
|
+
export declare const SidebarSearchInput: ({ id, label, ref, ...props }: SidebarSearchInputProps & {
|
|
4374
4411
|
ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
4375
4412
|
}) => JSX.Element;
|
|
4376
4413
|
//#endregion
|
|
@@ -4435,7 +4472,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
|
4435
4472
|
/**
|
|
4436
4473
|
* A `Slider` lets users select a value or range from a continuous scale via a draggable thumb.
|
|
4437
4474
|
*/
|
|
4438
|
-
declare const Slider: FC<SliderProps>;
|
|
4475
|
+
export declare const Slider: FC<SliderProps>;
|
|
4439
4476
|
//#endregion
|
|
4440
4477
|
//#region src/components/SplitButton/SplitButton.d.ts
|
|
4441
4478
|
type SplitButtonProps = {
|
|
@@ -4477,7 +4514,7 @@ type SplitButtonProps = {
|
|
|
4477
4514
|
/**
|
|
4478
4515
|
* A SplitButton is an extension of [Button](/components/Button) that adds a menu to the right hand side of the button.
|
|
4479
4516
|
*/
|
|
4480
|
-
declare const SplitButton: FC<SplitButtonProps>;
|
|
4517
|
+
export declare const SplitButton: FC<SplitButtonProps>;
|
|
4481
4518
|
//#endregion
|
|
4482
4519
|
//#region src/components/Stack/Stack.d.ts
|
|
4483
4520
|
declare const DEFAULT_ELEMENT = "div";
|
|
@@ -4516,7 +4553,7 @@ type StackProps = {
|
|
|
4516
4553
|
* Used to layout its children in a vertical or horizontal stack. The gap between each item in the stack can be customized.
|
|
4517
4554
|
* This allows for layouting children in a consistent way without needing to manually add margins or padding.
|
|
4518
4555
|
*/
|
|
4519
|
-
declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
|
|
4556
|
+
export declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
|
|
4520
4557
|
//#endregion
|
|
4521
4558
|
//#region src/components/Switch/Switch.d.ts
|
|
4522
4559
|
type SwitchSizeType = "lg" | "md" | "sm";
|
|
@@ -4573,7 +4610,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
4573
4610
|
/**
|
|
4574
4611
|
* A `Switch` allows users to toggle between two mutually exclusive states, such as on and off.
|
|
4575
4612
|
*/
|
|
4576
|
-
declare const Switch: ({ align, checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: SwitchProps & {
|
|
4613
|
+
export declare const Switch: ({ align, checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: SwitchProps & {
|
|
4577
4614
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4578
4615
|
}) => JSX.Element;
|
|
4579
4616
|
//#endregion
|
|
@@ -4581,26 +4618,26 @@ declare const Switch: ({ align, checked, disabled, id, label, description, name,
|
|
|
4581
4618
|
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4582
4619
|
children?: ReactNode;
|
|
4583
4620
|
};
|
|
4584
|
-
declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
|
|
4621
|
+
export declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
|
|
4585
4622
|
//#endregion
|
|
4586
4623
|
//#region src/components/Table/TableCell.d.ts
|
|
4587
4624
|
type CellAttrs = Omit<TdHTMLAttributes<HTMLTableCellElement>, "ref"> & Omit<ThHTMLAttributes<HTMLTableCellElement>, "ref">;
|
|
4588
4625
|
type TableCellProps = CellAttrs & {
|
|
4589
4626
|
children?: ReactNode;
|
|
4590
4627
|
};
|
|
4591
|
-
declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
|
|
4628
|
+
export declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
|
|
4592
4629
|
//#endregion
|
|
4593
4630
|
//#region src/components/Table/TableFoot.d.ts
|
|
4594
4631
|
type TableFootProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4595
4632
|
children?: ReactNode;
|
|
4596
4633
|
};
|
|
4597
|
-
declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
|
|
4634
|
+
export declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
|
|
4598
4635
|
//#endregion
|
|
4599
4636
|
//#region src/components/Table/TableHead.d.ts
|
|
4600
4637
|
type TableHeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4601
4638
|
children?: ReactNode;
|
|
4602
4639
|
};
|
|
4603
|
-
declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
|
|
4640
|
+
export declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
|
|
4604
4641
|
//#endregion
|
|
4605
4642
|
//#region src/components/Table/Table.d.ts
|
|
4606
4643
|
type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
@@ -4626,13 +4663,13 @@ type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
|
4626
4663
|
/**
|
|
4627
4664
|
* Semantic table element for presenting data
|
|
4628
4665
|
*/
|
|
4629
|
-
declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
|
|
4666
|
+
export declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
|
|
4630
4667
|
//#endregion
|
|
4631
4668
|
//#region src/components/Table/TableRow.d.ts
|
|
4632
4669
|
type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
4633
4670
|
children?: ReactNode;
|
|
4634
4671
|
};
|
|
4635
|
-
declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4672
|
+
export declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4636
4673
|
//#endregion
|
|
4637
4674
|
//#region src/components/Tabs/Tabs.d.ts
|
|
4638
4675
|
type TabsProps = {
|
|
@@ -4644,14 +4681,14 @@ type TabsProps = {
|
|
|
4644
4681
|
/**
|
|
4645
4682
|
* The `Tabs` component lets users switch between panels of content. It is composed from the `TabsList`, `TabsTrigger`, and `TabsContent` subcomponents.
|
|
4646
4683
|
*/
|
|
4647
|
-
declare const Tabs: FC<TabsProps>;
|
|
4684
|
+
export declare const Tabs: FC<TabsProps>;
|
|
4648
4685
|
//#endregion
|
|
4649
4686
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
4650
4687
|
type TabsContentProps = {
|
|
4651
4688
|
children?: ReactNode;
|
|
4652
4689
|
value: string;
|
|
4653
4690
|
};
|
|
4654
|
-
declare const TabsContent: FC<TabsContentProps>;
|
|
4691
|
+
export declare const TabsContent: FC<TabsContentProps>;
|
|
4655
4692
|
//#endregion
|
|
4656
4693
|
//#region src/components/Tabs/TabsList.d.ts
|
|
4657
4694
|
type TabsListProps = {
|
|
@@ -4659,7 +4696,7 @@ type TabsListProps = {
|
|
|
4659
4696
|
} & PropsWithChildren<{
|
|
4660
4697
|
fullWidth?: boolean;
|
|
4661
4698
|
}>;
|
|
4662
|
-
declare const TabsList: FC<TabsListProps>;
|
|
4699
|
+
export declare const TabsList: FC<TabsListProps>;
|
|
4663
4700
|
//#endregion
|
|
4664
4701
|
//#region src/components/Tabs/TabsTrigger.d.ts
|
|
4665
4702
|
type BaseProps = {
|
|
@@ -4697,7 +4734,7 @@ type NoIcon = {
|
|
|
4697
4734
|
"aria-label"?: never;
|
|
4698
4735
|
};
|
|
4699
4736
|
type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
|
|
4700
|
-
declare const TabsTrigger: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref, ...otherProps }: TabsTriggerProps & {
|
|
4737
|
+
export declare const TabsTrigger: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref, ...otherProps }: TabsTriggerProps & {
|
|
4701
4738
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4702
4739
|
}) => JSX.Element;
|
|
4703
4740
|
//#endregion
|
|
@@ -4731,7 +4768,7 @@ type TagProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4731
4768
|
/**
|
|
4732
4769
|
* A `Tag` is an optionally linked label, with an optional action button, to categorize content.
|
|
4733
4770
|
*/
|
|
4734
|
-
declare const Tag: ({ onClickRemove, colorScheme, href, icon, label, onClickRemoveLabel, ref, ...props }: TagProps & {
|
|
4771
|
+
export declare const Tag: ({ onClickRemove, colorScheme, href, icon, label, onClickRemoveLabel, ref, ...props }: TagProps & {
|
|
4735
4772
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4736
4773
|
}) => JSX.Element;
|
|
4737
4774
|
//#endregion
|
|
@@ -4746,7 +4783,7 @@ type ThumbnailBadgeProps = {
|
|
|
4746
4783
|
*/
|
|
4747
4784
|
label: string;
|
|
4748
4785
|
};
|
|
4749
|
-
declare const ThumbnailBadge: FC<ThumbnailBadgeProps>;
|
|
4786
|
+
export declare const ThumbnailBadge: FC<ThumbnailBadgeProps>;
|
|
4750
4787
|
//#endregion
|
|
4751
4788
|
//#region src/components/Thumbnail/Thumbnail.d.ts
|
|
4752
4789
|
type AspectRatioType = "square" | "wide";
|
|
@@ -4801,7 +4838,7 @@ type ThumbnailProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
|
|
|
4801
4838
|
/**
|
|
4802
4839
|
* A `Thumbnail` is a small, reduced-size version of an image or video used as a preview or representative image.
|
|
4803
4840
|
*/
|
|
4804
|
-
declare const Thumbnail: ({ gradientBackground, thumbnailImageType, thumbnailUrl, width, children, storyboard, height, aspectRatio, ref, ...props }: ThumbnailProps & {
|
|
4841
|
+
export declare const Thumbnail: ({ gradientBackground, thumbnailImageType, thumbnailUrl, width, children, storyboard, height, aspectRatio, ref, ...props }: ThumbnailProps & {
|
|
4805
4842
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4806
4843
|
}) => JSX.Element;
|
|
4807
4844
|
//#endregion
|
|
@@ -4823,6 +4860,38 @@ type ThumbnailCollageProps = {
|
|
|
4823
4860
|
*/
|
|
4824
4861
|
declare const ThumbnailCollage: ({ children, gradientBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
|
|
4825
4862
|
//#endregion
|
|
4863
|
+
//#region src/components/TileButton/TileButton.d.ts
|
|
4864
|
+
type TileButtonOrientation = "horizontal" | "vertical";
|
|
4865
|
+
type OmittedButtonProps = "children" | "colorScheme" | "fullWidth" | "isLoading" | "labelAlign" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant";
|
|
4866
|
+
type TileButtonProps = {
|
|
4867
|
+
/**
|
|
4868
|
+
* Shown before the text. Usually an [IconChip](/components/IconChip), e.g. `<IconChip colorScheme="blue"><Icon type="upload" /></IconChip>`. The tile sets the chip's size
|
|
4869
|
+
*/
|
|
4870
|
+
leftIcon?: ReactNode;
|
|
4871
|
+
/**
|
|
4872
|
+
* Shown after the text, at the far end of the tile (the top corner when vertical). Usually an [Icon](/components/Icon), e.g. `<Icon type="caret-right" />` when the tile opens another view. The tile sets the icon's size
|
|
4873
|
+
*/
|
|
4874
|
+
rightIcon?: ReactNode;
|
|
4875
|
+
/**
|
|
4876
|
+
* The main text of the tile. Must not contain interactive elements
|
|
4877
|
+
*/
|
|
4878
|
+
label: ReactNode;
|
|
4879
|
+
/**
|
|
4880
|
+
* Optional supporting text shown below the label. Must not contain interactive elements
|
|
4881
|
+
*/
|
|
4882
|
+
description?: ReactNode;
|
|
4883
|
+
/**
|
|
4884
|
+
* Places the icon to the left of the text (`horizontal`) or above it (`vertical`)
|
|
4885
|
+
*/
|
|
4886
|
+
orientation?: TileButtonOrientation;
|
|
4887
|
+
} & (Omit<ButtonAsButtonProps, OmittedButtonProps> | Omit<ButtonAsLinkProps, OmittedButtonProps>);
|
|
4888
|
+
/**
|
|
4889
|
+
* A `TileButton` is a large, bordered button with a label, an optional description, and an optional [IconChip](/components/IconChip). Use a group of them to present "what do you want to do?" choices. It composes [Button](/components/Button), so it renders as a link when given an `href`.
|
|
4890
|
+
*/
|
|
4891
|
+
export declare const TileButton: ({ leftIcon, rightIcon, label, description, orientation, ref, ...props }: TileButtonProps & {
|
|
4892
|
+
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
4893
|
+
}) => JSX.Element;
|
|
4894
|
+
//#endregion
|
|
4826
4895
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
4827
4896
|
type TooltipProps = {
|
|
4828
4897
|
/**
|
|
@@ -4862,7 +4931,7 @@ type TooltipProps = {
|
|
|
4862
4931
|
* For elements that are not interactive, consider using a [Popover](/components/Popover) instead.
|
|
4863
4932
|
*
|
|
4864
4933
|
*/
|
|
4865
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
4934
|
+
export declare const Tooltip: FC<TooltipProps>;
|
|
4866
4935
|
//#endregion
|
|
4867
4936
|
//#region src/components/WistiaLogo/WistiaLogo.d.ts
|
|
4868
4937
|
type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href"> & {
|
|
@@ -4905,7 +4974,7 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href">
|
|
|
4905
4974
|
/**
|
|
4906
4975
|
* Render the Wistia logo in various ways.
|
|
4907
4976
|
*/
|
|
4908
|
-
declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
4977
|
+
export declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
4909
4978
|
//#endregion
|
|
4910
|
-
export {
|
|
4979
|
+
export { type ActionButtonProps, type AvatarProps, type AvatarStatus, type BadgeProps, type BannerProps, type BoxProps, type BreadcrumbProps, type BreadcrumbsProps, type ButtonProps, type CardProps, type CenterProps, type CheckboxCardProps, type ClickRegionProps, type CollapsibleProps, type ColorGridOptionProps, type ColorGridProps, type ColorListGroupProps, type ColorListOptionProps, type ColorListProps, type ColorModeTypes, type ColorPickerPopoverContentProps, type ColorPickerProps, type ColorPickerSectionProps, type ColorPickerTriggerProps, type ColorSchemeTypes, type ColorSchemeWrapperProps, type ComboboxOptionProps, type ComboboxProps, type ContextMenuProps, type CustomizableThemeWrapperProps, type DataCardProps, type DataCardTrendProps, type DataCardsProps, type DataListProps, type DatePickerProps, type DimmerProps, type DocumentColorModeTypes, type EditableHeadingProps, type EditableTextProps, type EditableTextRootProps, type EllipsisProps, type FeatureCardProps, FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, type FormFieldProps, type FormGroupProps, type FormProps, type GradientNameType, type GridProps, type HeadingProps, type HexColorInputProps, type IconButtonProps, type IconChipProps, type IconChipShape, type IconChipSize, type IconChipVariant, type IconNameType, ImageDimensionsValidator, type ImageProps, type InputClickToCopyProps, type InputDurationProps, type InputPasswordProps, type InputProps, type KeyboardKeys, type LabelProps, type LinkProps, type ListItemProps, type ListProps, type MarkProps, type MarkdownProps, type MeterProps, type MeterSegment, type ModalProps, PersistentFileAmountLimitValidator, type PopoverAnchorProps, type PopoverArrowProps, type PopoverCloseButtonProps, type PopoverCloseProps, type PopoverContentProps, type PopoverPortalProps, type PopoverProps, type PopoverRootChangeDetails, type PopoverRootProps, type PopoverTriggerProps, type PreviewCardProps, type ProgressBarProps, type RadioCardImageProps, type RadioCardProps, type RadioProps, type SegmentedControlItemProps, type SegmentedControlProps, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, type SidebarButtonProps, type SidebarContentProps, type SidebarFooterProps, type SidebarGroupLabelProps, type SidebarGroupProps, type SidebarHeaderProps, type SidebarProps, type SidebarSearchInputProps, type SidebarTitleProps, type SliderProps, type SplitButtonProps, type SwitchProps, type TableBodyProps, type TableCellProps, type TableFootProps, type TableHeadProps, type TableProps, type TableRowProps, type TagProps, type TextProps, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, type TileButtonOrientation, type TileButtonProps, type TimeDuration, type TooltipProps, type UseActiveMqReturnType, type UseIsHoveredReturnType, type UseMqReturnType, type UseToastProps, type UseToastReturnValue };
|
|
4911
4980
|
//# sourceMappingURL=index.d.ts.map
|