@wistia/ui 2.5.1-beta.22ea0e61.d8ed3e6 → 2.5.1-beta.2aa22b03.91c3287
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 +215 -280
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -255
- 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,47 +2944,10 @@ 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">, "children"> & {
|
|
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
|
-
declare const IconChip: ({ children, colorScheme, variant, shape, size, animateOnHover, ...props }: IconChipProps) => JSX.Element;
|
|
2987
|
-
//#endregion
|
|
2988
2951
|
//#region src/components/Image/Image.d.ts
|
|
2989
2952
|
type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
2990
2953
|
/**
|
|
@@ -3032,7 +2995,7 @@ type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
|
3032
2995
|
/**
|
|
3033
2996
|
* 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.
|
|
3034
2997
|
*/
|
|
3035
|
-
declare const Image: FC<ImageProps>;
|
|
2998
|
+
export declare const Image: FC<ImageProps>;
|
|
3036
2999
|
//#endregion
|
|
3037
3000
|
//#region src/components/InputClickToCopy/InputClickToCopy.d.ts
|
|
3038
3001
|
type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "rightIcon" | "type" | "value"> & {
|
|
@@ -3052,7 +3015,7 @@ type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "right
|
|
|
3052
3015
|
/**
|
|
3053
3016
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
3054
3017
|
*/
|
|
3055
|
-
declare const InputClickToCopy: ({ value, onCopy, disabled, ref, ...props }: InputClickToCopyProps & {
|
|
3018
|
+
export declare const InputClickToCopy: ({ value, onCopy, disabled, ref, ...props }: InputClickToCopyProps & {
|
|
3056
3019
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3057
3020
|
}) => JSX.Element;
|
|
3058
3021
|
//#endregion
|
|
@@ -3086,7 +3049,7 @@ type InputDurationProps = InputDurationBaseProps & {
|
|
|
3086
3049
|
/**
|
|
3087
3050
|
* InputDuration lets users edit a duration value using a keyboard-friendly time input.
|
|
3088
3051
|
*/
|
|
3089
|
-
declare const InputDuration: ({ decimalUnitLength, disabled, fullWidth, maxSeconds, minSeconds, onChangeValueInSeconds, valueInSeconds, onFocus, style, ref: externalRef, ...props }: InputDurationProps & {
|
|
3052
|
+
export declare const InputDuration: ({ decimalUnitLength, disabled, fullWidth, maxSeconds, minSeconds, onChangeValueInSeconds, valueInSeconds, onFocus, style, ref: externalRef, ...props }: InputDurationProps & {
|
|
3090
3053
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3091
3054
|
}) => JSX.Element;
|
|
3092
3055
|
//#endregion
|
|
@@ -3104,7 +3067,7 @@ type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon
|
|
|
3104
3067
|
/**
|
|
3105
3068
|
* A password input component with a toggle button to show or hide the password text.
|
|
3106
3069
|
*/
|
|
3107
|
-
declare const InputPassword: ({ onVisibilityToggle, disabled, ref, ...props }: InputPasswordProps & {
|
|
3070
|
+
export declare const InputPassword: ({ onVisibilityToggle, disabled, ref, ...props }: InputPasswordProps & {
|
|
3108
3071
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3109
3072
|
}) => JSX.Element;
|
|
3110
3073
|
//#endregion
|
|
@@ -3126,7 +3089,7 @@ type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | Punctu
|
|
|
3126
3089
|
* // someString is narrowed to KeyboardKeys here
|
|
3127
3090
|
* }
|
|
3128
3091
|
*/
|
|
3129
|
-
declare const isKeyboardKey: (key: string) => key is KeyboardKeys;
|
|
3092
|
+
export declare const isKeyboardKey: (key: string) => key is KeyboardKeys;
|
|
3130
3093
|
//#endregion
|
|
3131
3094
|
//#region src/components/KeyboardShortcut/KeyboardShortcut.d.ts
|
|
3132
3095
|
type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -3146,7 +3109,7 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3146
3109
|
/**
|
|
3147
3110
|
* 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.
|
|
3148
3111
|
*/
|
|
3149
|
-
declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
3112
|
+
export declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
3150
3113
|
//#endregion
|
|
3151
3114
|
//#region src/components/List/List.d.ts
|
|
3152
3115
|
type VariantType = "breadcrumbs" | "bullets" | "commas" | "ordered" | "slashes" | "spaces" | "unbulleted";
|
|
@@ -3169,7 +3132,7 @@ type ListProps = ComponentPropsWithoutRef<"ul"> & {
|
|
|
3169
3132
|
/**
|
|
3170
3133
|
* A `List` groups related items in bulleted, ordered, or separator-based layouts, composed with `ListItem` children or a flat/nested `items` array.
|
|
3171
3134
|
*/
|
|
3172
|
-
declare const List: FC<ListProps>;
|
|
3135
|
+
export declare const List: FC<ListProps>;
|
|
3173
3136
|
//#endregion
|
|
3174
3137
|
//#region src/components/List/ListItem.d.ts
|
|
3175
3138
|
type ListItemProps = {
|
|
@@ -3178,7 +3141,7 @@ type ListItemProps = {
|
|
|
3178
3141
|
*/
|
|
3179
3142
|
children?: ReactNode;
|
|
3180
3143
|
};
|
|
3181
|
-
declare const ListItem: FC<ListItemProps>;
|
|
3144
|
+
export declare const ListItem: FC<ListItemProps>;
|
|
3182
3145
|
//#endregion
|
|
3183
3146
|
//#region src/components/Mark/Mark.d.ts
|
|
3184
3147
|
type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
@@ -3190,7 +3153,7 @@ type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3190
3153
|
/**
|
|
3191
3154
|
* Defines text that should be marked or highlighted.
|
|
3192
3155
|
*/
|
|
3193
|
-
declare const Mark: FC<MarkProps>;
|
|
3156
|
+
export declare const Mark: FC<MarkProps>;
|
|
3194
3157
|
//#endregion
|
|
3195
3158
|
//#region src/css/baseMarkdownCss.d.ts
|
|
3196
3159
|
type MarkdownTextSize = "body2" | "body3";
|
|
@@ -3210,7 +3173,7 @@ type MarkdownProps = ComponentProps<typeof ReactMarkdown> & {
|
|
|
3210
3173
|
/**
|
|
3211
3174
|
* This is a simple wrapper around `react-markdown` that applies some basic styles.
|
|
3212
3175
|
*/
|
|
3213
|
-
declare const Markdown: FC<MarkdownProps>;
|
|
3176
|
+
export declare const Markdown: FC<MarkdownProps>;
|
|
3214
3177
|
//#endregion
|
|
3215
3178
|
//#region src/components/Menu/Menu.d.ts
|
|
3216
3179
|
type ControlledMenuProps = {
|
|
@@ -3267,7 +3230,7 @@ type MenuProps = MenuControlProps & {
|
|
|
3267
3230
|
/**
|
|
3268
3231
|
* Displays a menu to the users with a set of actions.
|
|
3269
3232
|
*/
|
|
3270
|
-
declare const Menu: ({ align, children, disabled, compact, trigger, label, isOpen, side, triggerProps, onOpenChange, ref, ...props }: MenuProps & {
|
|
3233
|
+
export declare const Menu: ({ align, children, disabled, compact, trigger, label, isOpen, side, triggerProps, onOpenChange, ref, ...props }: MenuProps & {
|
|
3271
3234
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3272
3235
|
}) => JSX.Element;
|
|
3273
3236
|
//#endregion
|
|
@@ -3278,7 +3241,7 @@ type MenuLabelProps = {
|
|
|
3278
3241
|
*/
|
|
3279
3242
|
children: ReactNode | string;
|
|
3280
3243
|
};
|
|
3281
|
-
declare const MenuLabel: FC<MenuLabelProps>;
|
|
3244
|
+
export declare const MenuLabel: FC<MenuLabelProps>;
|
|
3282
3245
|
//#endregion
|
|
3283
3246
|
//#region src/components/Menu/SubMenu.d.ts
|
|
3284
3247
|
type SubMenuProps = {
|
|
@@ -3303,7 +3266,7 @@ type SubMenuProps = {
|
|
|
3303
3266
|
*/
|
|
3304
3267
|
icon?: JSX.Element | undefined;
|
|
3305
3268
|
};
|
|
3306
|
-
declare const SubMenu: FC<SubMenuProps>;
|
|
3269
|
+
export declare const SubMenu: FC<SubMenuProps>;
|
|
3307
3270
|
//#endregion
|
|
3308
3271
|
//#region src/components/Menu/MenuItemButton.d.ts
|
|
3309
3272
|
type MenuItemButtonProps = ButtonProps & {
|
|
@@ -3378,7 +3341,7 @@ type MenuItemProps = MenuItemButtonProps & {
|
|
|
3378
3341
|
*/
|
|
3379
3342
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3380
3343
|
};
|
|
3381
|
-
declare const MenuItem: ({ onSelect, closeOnClick, ref, ...props }: MenuItemProps & {
|
|
3344
|
+
export declare const MenuItem: ({ onSelect, closeOnClick, ref, ...props }: MenuItemProps & {
|
|
3382
3345
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
3383
3346
|
}) => JSX.Element;
|
|
3384
3347
|
//#endregion
|
|
@@ -3389,7 +3352,7 @@ type MenuItemLabelProps = {
|
|
|
3389
3352
|
*/
|
|
3390
3353
|
children: ReactNode;
|
|
3391
3354
|
};
|
|
3392
|
-
declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => JSX.Element;
|
|
3355
|
+
export declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => JSX.Element;
|
|
3393
3356
|
//#endregion
|
|
3394
3357
|
//#region src/components/Menu/MenuItemDescription.d.ts
|
|
3395
3358
|
type MenuItemDescriptionProps = {
|
|
@@ -3398,7 +3361,7 @@ type MenuItemDescriptionProps = {
|
|
|
3398
3361
|
*/
|
|
3399
3362
|
children: ReactNode;
|
|
3400
3363
|
};
|
|
3401
|
-
declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => JSX.Element;
|
|
3364
|
+
export declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => JSX.Element;
|
|
3402
3365
|
//#endregion
|
|
3403
3366
|
//#region src/components/Menu/MenuRadioGroup.d.ts
|
|
3404
3367
|
type MenuRadioGroupProps = {
|
|
@@ -3415,7 +3378,7 @@ type MenuRadioGroupProps = {
|
|
|
3415
3378
|
*/
|
|
3416
3379
|
onValueChange?: (value: string) => void;
|
|
3417
3380
|
};
|
|
3418
|
-
declare const MenuRadioGroup: FC<MenuRadioGroupProps>;
|
|
3381
|
+
export declare const MenuRadioGroup: FC<MenuRadioGroupProps>;
|
|
3419
3382
|
//#endregion
|
|
3420
3383
|
//#region src/components/Menu/RadioMenuItem.d.ts
|
|
3421
3384
|
type RadioMenuItemProps = MenuItemButtonProps & {
|
|
@@ -3444,7 +3407,7 @@ type RadioMenuItemProps = MenuItemButtonProps & {
|
|
|
3444
3407
|
*/
|
|
3445
3408
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3446
3409
|
};
|
|
3447
|
-
declare const RadioMenuItem: FC<RadioMenuItemProps>;
|
|
3410
|
+
export declare const RadioMenuItem: FC<RadioMenuItemProps>;
|
|
3448
3411
|
//#endregion
|
|
3449
3412
|
//#region src/components/Menu/CheckboxMenuItem.d.ts
|
|
3450
3413
|
type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
@@ -3475,7 +3438,7 @@ type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
|
3475
3438
|
*/
|
|
3476
3439
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3477
3440
|
};
|
|
3478
|
-
declare const CheckboxMenuItem: FC<CheckboxMenuItemProps>;
|
|
3441
|
+
export declare const CheckboxMenuItem: FC<CheckboxMenuItemProps>;
|
|
3479
3442
|
//#endregion
|
|
3480
3443
|
//#region src/components/Menu/FilterMenu.d.ts
|
|
3481
3444
|
type FilterMenuProps = MenuProps & {
|
|
@@ -3496,8 +3459,8 @@ type FilterMenuProps = MenuProps & {
|
|
|
3496
3459
|
*/
|
|
3497
3460
|
onSearchValueChange: (value: string) => void;
|
|
3498
3461
|
};
|
|
3499
|
-
declare const FilterMenuItem: typeof CheckboxMenuItem;
|
|
3500
|
-
declare const FilterMenu: ({ value, onChange, searchValue, onSearchValueChange, children, ref, ...props }: FilterMenuProps & {
|
|
3462
|
+
export declare const FilterMenuItem: typeof CheckboxMenuItem;
|
|
3463
|
+
export declare const FilterMenu: ({ value, onChange, searchValue, onSearchValueChange, children, ref, ...props }: FilterMenuProps & {
|
|
3501
3464
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3502
3465
|
}) => JSX.Element;
|
|
3503
3466
|
//#endregion
|
|
@@ -3549,7 +3512,7 @@ type MeterProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3549
3512
|
/**
|
|
3550
3513
|
* A meter component that visually represents one to many segments as portions of a whole
|
|
3551
3514
|
*/
|
|
3552
|
-
declare const Meter: FC<MeterProps>;
|
|
3515
|
+
export declare const Meter: FC<MeterProps>;
|
|
3553
3516
|
//#endregion
|
|
3554
3517
|
//#region src/components/Modal/Modal.d.ts
|
|
3555
3518
|
type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
@@ -3605,7 +3568,7 @@ type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
|
3605
3568
|
* A Modal is a focused UI element that appears atop the main interface, requiring
|
|
3606
3569
|
* user interaction or dismissal before returning to the underlying content.
|
|
3607
3570
|
*/
|
|
3608
|
-
declare const Modal: ({ children, footer, hideCloseButton, hideTitle, initialFocusRef, isOpen, onKeyDown, onRequestClose, positionVariant, title, width, ref, ...props }: ModalProps & {
|
|
3571
|
+
export declare const Modal: ({ children, footer, hideCloseButton, hideTitle, initialFocusRef, isOpen, onKeyDown, onRequestClose, positionVariant, title, width, ref, ...props }: ModalProps & {
|
|
3609
3572
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3610
3573
|
}) => JSX.Element;
|
|
3611
3574
|
//#endregion
|
|
@@ -3616,7 +3579,7 @@ type ModalCalloutsProps = {
|
|
|
3616
3579
|
*/
|
|
3617
3580
|
children?: ReactNode;
|
|
3618
3581
|
};
|
|
3619
|
-
declare const ModalCallouts: FC<ModalCalloutsProps>;
|
|
3582
|
+
export declare const ModalCallouts: FC<ModalCalloutsProps>;
|
|
3620
3583
|
type ModalCalloutProps = {
|
|
3621
3584
|
title: string;
|
|
3622
3585
|
image: JSX.Element;
|
|
@@ -3625,7 +3588,7 @@ type ModalCalloutProps = {
|
|
|
3625
3588
|
*/
|
|
3626
3589
|
children?: ReactNode;
|
|
3627
3590
|
};
|
|
3628
|
-
declare const ModalCallout: FC<ModalCalloutProps>;
|
|
3591
|
+
export declare const ModalCallout: FC<ModalCalloutProps>;
|
|
3629
3592
|
//#endregion
|
|
3630
3593
|
//#region src/components/Popover/Popover.d.ts
|
|
3631
3594
|
type ControlledPopoverProps = {
|
|
@@ -3706,7 +3669,7 @@ type PopoverProps = PopoverControlProps & {
|
|
|
3706
3669
|
* the primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
|
|
3707
3670
|
* `PopoverPortal`, `PopoverContent`, `PopoverClose`.
|
|
3708
3671
|
*/
|
|
3709
|
-
declare const Popover: FC<PopoverProps>;
|
|
3672
|
+
export declare const Popover: FC<PopoverProps>;
|
|
3710
3673
|
//#endregion
|
|
3711
3674
|
//#region src/components/Popover/PopoverAnchor.d.ts
|
|
3712
3675
|
type PopoverAnchorProps = {
|
|
@@ -3719,7 +3682,7 @@ type PopoverAnchorProps = {
|
|
|
3719
3682
|
*
|
|
3720
3683
|
* Wrap the anchor element and nest `PopoverTrigger` inside it.
|
|
3721
3684
|
*/
|
|
3722
|
-
declare const PopoverAnchor: FC<PopoverAnchorProps>;
|
|
3685
|
+
export declare const PopoverAnchor: FC<PopoverAnchorProps>;
|
|
3723
3686
|
//#endregion
|
|
3724
3687
|
//#region src/components/Popover/PopoverArrow.d.ts
|
|
3725
3688
|
type PopoverArrowProps = {
|
|
@@ -3728,7 +3691,7 @@ type PopoverArrowProps = {
|
|
|
3728
3691
|
*/
|
|
3729
3692
|
isAnimated: boolean;
|
|
3730
3693
|
};
|
|
3731
|
-
declare const PopoverArrow: FC<PopoverArrowProps>;
|
|
3694
|
+
export declare const PopoverArrow: FC<PopoverArrowProps>;
|
|
3732
3695
|
//#endregion
|
|
3733
3696
|
//#region src/components/Popover/PopoverClose.d.ts
|
|
3734
3697
|
type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
@@ -3743,7 +3706,7 @@ type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
|
3743
3706
|
* pass `render` to merge the close behavior onto a single child element. For
|
|
3744
3707
|
* a pre-styled icon close button, use `PopoverCloseButton`.
|
|
3745
3708
|
*/
|
|
3746
|
-
declare const PopoverClose: ({ ref, ...props }: PopoverCloseProps & {
|
|
3709
|
+
export declare const PopoverClose: ({ ref, ...props }: PopoverCloseProps & {
|
|
3747
3710
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3748
3711
|
}) => JSX.Element;
|
|
3749
3712
|
//#endregion
|
|
@@ -3756,7 +3719,7 @@ type PopoverCloseButtonProps = {
|
|
|
3756
3719
|
* A pre-styled close button intended to be placed inside a `PopoverContent`.
|
|
3757
3720
|
* For a custom close control, use `PopoverClose` directly.
|
|
3758
3721
|
*/
|
|
3759
|
-
declare const PopoverCloseButton: FC<PopoverCloseButtonProps>;
|
|
3722
|
+
export declare const PopoverCloseButton: FC<PopoverCloseButtonProps>;
|
|
3760
3723
|
//#endregion
|
|
3761
3724
|
//#region src/components/Popover/PopoverContent.d.ts
|
|
3762
3725
|
type PopoverContentProps = {
|
|
@@ -3797,7 +3760,7 @@ type PopoverContentProps = {
|
|
|
3797
3760
|
* The styled popover surface. Place inside a `PopoverRoot` (typically wrapped
|
|
3798
3761
|
* in a `PopoverPortal`). Wraps a `Positioner` and `Popup` internally.
|
|
3799
3762
|
*/
|
|
3800
|
-
declare const PopoverContent: ({ colorScheme, unstyled, maxWidth, maxHeight, sideOffset, side, align, style, role, children, ref, ...props }: PopoverContentProps & {
|
|
3763
|
+
export declare const PopoverContent: ({ colorScheme, unstyled, maxWidth, maxHeight, sideOffset, side, align, style, role, children, ref, ...props }: PopoverContentProps & {
|
|
3801
3764
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3802
3765
|
}) => JSX.Element;
|
|
3803
3766
|
//#endregion
|
|
@@ -3809,7 +3772,7 @@ type PopoverPortalProps = {
|
|
|
3809
3772
|
* Portals the popover content out of the DOM hierarchy of its trigger so it can
|
|
3810
3773
|
* escape clipping ancestors (`overflow: hidden`, transformed containers, etc.).
|
|
3811
3774
|
*/
|
|
3812
|
-
declare const PopoverPortal: FC<PopoverPortalProps>;
|
|
3775
|
+
export declare const PopoverPortal: FC<PopoverPortalProps>;
|
|
3813
3776
|
//#endregion
|
|
3814
3777
|
//#region src/components/Popover/PopoverRoot.d.ts
|
|
3815
3778
|
/**
|
|
@@ -3836,7 +3799,7 @@ type PopoverRootProps = {
|
|
|
3836
3799
|
*
|
|
3837
3800
|
* For the common "button opens a panel" case, prefer the bundled `Popover`.
|
|
3838
3801
|
*/
|
|
3839
|
-
declare const PopoverRoot: FC<PopoverRootProps>;
|
|
3802
|
+
export declare const PopoverRoot: FC<PopoverRootProps>;
|
|
3840
3803
|
//#endregion
|
|
3841
3804
|
//#region src/components/Popover/PopoverTrigger.d.ts
|
|
3842
3805
|
type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
@@ -3857,7 +3820,7 @@ type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> &
|
|
|
3857
3820
|
* `<button>` wrapping its children; pass `render` to merge the trigger
|
|
3858
3821
|
* behavior onto a single child element (e.g. a `Button` or `IconButton`).
|
|
3859
3822
|
*/
|
|
3860
|
-
declare const PopoverTrigger: ({ nativeButton, ref, ...props }: PopoverTriggerProps & {
|
|
3823
|
+
export declare const PopoverTrigger: ({ nativeButton, ref, ...props }: PopoverTriggerProps & {
|
|
3861
3824
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3862
3825
|
}) => JSX.Element;
|
|
3863
3826
|
//#endregion
|
|
@@ -3887,7 +3850,7 @@ type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3887
3850
|
/**
|
|
3888
3851
|
* A progress component that visually represents the completion status of a task
|
|
3889
3852
|
*/
|
|
3890
|
-
declare const ProgressBar: FC<ProgressBarProps>;
|
|
3853
|
+
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
3891
3854
|
//#endregion
|
|
3892
3855
|
//#region src/components/Radio/Radio.d.ts
|
|
3893
3856
|
type RadioSizeType = "lg" | "md" | "sm";
|
|
@@ -3945,7 +3908,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
3945
3908
|
/**
|
|
3946
3909
|
* A `Radio` lets users select exactly one option from a visible set of choices.
|
|
3947
3910
|
*/
|
|
3948
|
-
declare const Radio: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: RadioProps & {
|
|
3911
|
+
export declare const Radio: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: RadioProps & {
|
|
3949
3912
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3950
3913
|
}) => JSX.Element;
|
|
3951
3914
|
//#endregion
|
|
@@ -4022,7 +3985,7 @@ type RadioCardProps = RadioCardWithChildren | RadioCardWithDefaultLayout;
|
|
|
4022
3985
|
/**
|
|
4023
3986
|
* A `RadioCard` lets users select exactly one option from a set of visually rich, card-based choices.
|
|
4024
3987
|
*/
|
|
4025
|
-
declare const RadioCard: ({ icon, label, description, showIndicator, isGated, children, ref, ...rootProps }: RadioCardProps & {
|
|
3988
|
+
export declare const RadioCard: ({ icon, label, description, showIndicator, isGated, children, ref, ...rootProps }: RadioCardProps & {
|
|
4026
3989
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4027
3990
|
}) => JSX.Element;
|
|
4028
3991
|
//#endregion
|
|
@@ -4069,7 +4032,7 @@ type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> &
|
|
|
4069
4032
|
*/
|
|
4070
4033
|
padding?: Spacings;
|
|
4071
4034
|
};
|
|
4072
|
-
declare const RadioCardImage: ({ label, imageSrc, aspectRatio, padding, ref, ...rootProps }: RadioCardImageProps & {
|
|
4035
|
+
export declare const RadioCardImage: ({ label, imageSrc, aspectRatio, padding, ref, ...rootProps }: RadioCardImageProps & {
|
|
4073
4036
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4074
4037
|
}) => JSX.Element;
|
|
4075
4038
|
//#endregion
|
|
@@ -4092,10 +4055,10 @@ type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4092
4055
|
/**
|
|
4093
4056
|
* Used to hide content from the visual client, but keep it readable for screen readers.
|
|
4094
4057
|
*/
|
|
4095
|
-
declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
4058
|
+
export declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
4096
4059
|
//#endregion
|
|
4097
4060
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
4098
|
-
type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
4061
|
+
export type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
4099
4062
|
/**
|
|
4100
4063
|
* When true, disables scrolling. Useful to temporarily prevent scrolling,
|
|
4101
4064
|
* like when drag-and-dropping an item from inside to outside of the scroll
|
|
@@ -4107,7 +4070,7 @@ type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
4107
4070
|
* ScrollArea is a simple scrollable container with shadow effects to indicate
|
|
4108
4071
|
* scrollability.
|
|
4109
4072
|
*/
|
|
4110
|
-
declare const ScrollArea: ({ children, onScroll, style, locked, ref: forwardedRef, ...props }: ScrollAreaProps & {
|
|
4073
|
+
export declare const ScrollArea: ({ children, onScroll, style, locked, ref: forwardedRef, ...props }: ScrollAreaProps & {
|
|
4111
4074
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4112
4075
|
}) => JSX.Element;
|
|
4113
4076
|
//#endregion
|
|
@@ -4141,7 +4104,7 @@ type SegmentedControlProps = {
|
|
|
4141
4104
|
/**
|
|
4142
4105
|
* Provides a horizontal set of segments for switching between different values
|
|
4143
4106
|
*/
|
|
4144
|
-
declare const SegmentedControl: ({ children, colorScheme, disabled, fullWidth, selectedValue, onSelectedValueChange, ref, ...props }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
|
|
4107
|
+
export declare const SegmentedControl: ({ children, colorScheme, disabled, fullWidth, selectedValue, onSelectedValueChange, ref, ...props }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
|
|
4145
4108
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4146
4109
|
}) => JSX.Element | null;
|
|
4147
4110
|
//#endregion
|
|
@@ -4187,7 +4150,7 @@ type NoIcon$1 = {
|
|
|
4187
4150
|
"aria-label"?: never;
|
|
4188
4151
|
};
|
|
4189
4152
|
type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
|
|
4190
|
-
declare const SegmentedControlItem: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref: forwardedRef, ...otherProps }: SegmentedControlItemProps & {
|
|
4153
|
+
export declare const SegmentedControlItem: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref: forwardedRef, ...otherProps }: SegmentedControlItemProps & {
|
|
4191
4154
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4192
4155
|
}) => JSX.Element;
|
|
4193
4156
|
//#endregion
|
|
@@ -4255,7 +4218,7 @@ type SelectProps = {
|
|
|
4255
4218
|
/**
|
|
4256
4219
|
* Display a list of options and choose one of them. Replacement for the native Select HTML element.
|
|
4257
4220
|
*/
|
|
4258
|
-
declare const Select: ({ colorScheme, children, onOpenChange, onChange, placeholder, fullWidth, forceOpen, showScrollArrows, disabled, name, value, "aria-invalid": ariaInvalid, ref: forwardedRef, ...props }: SelectProps & {
|
|
4221
|
+
export declare const Select: ({ colorScheme, children, onOpenChange, onChange, placeholder, fullWidth, forceOpen, showScrollArrows, disabled, name, value, "aria-invalid": ariaInvalid, ref: forwardedRef, ...props }: SelectProps & {
|
|
4259
4222
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4260
4223
|
}) => JSX.Element;
|
|
4261
4224
|
//#endregion
|
|
@@ -4290,7 +4253,7 @@ type SelectOptionProps = {
|
|
|
4290
4253
|
*/
|
|
4291
4254
|
checkmarkVerticalAlign?: "center" | "top";
|
|
4292
4255
|
};
|
|
4293
|
-
declare const SelectOption: ({ children, selectedDisplayValue, checkmarkVerticalAlign, textValue, ref: forwardedRef, ...props }: SelectOptionProps & {
|
|
4256
|
+
export declare const SelectOption: ({ children, selectedDisplayValue, checkmarkVerticalAlign, textValue, ref: forwardedRef, ...props }: SelectOptionProps & {
|
|
4294
4257
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4295
4258
|
}) => JSX.Element;
|
|
4296
4259
|
//#endregion
|
|
@@ -4301,7 +4264,7 @@ type SelectOptionGroupProps = {
|
|
|
4301
4264
|
/** At least one `Option` */
|
|
4302
4265
|
children: ReactNode;
|
|
4303
4266
|
};
|
|
4304
|
-
declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => JSX.Element;
|
|
4267
|
+
export declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => JSX.Element;
|
|
4305
4268
|
//#endregion
|
|
4306
4269
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
4307
4270
|
type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
@@ -4314,7 +4277,7 @@ type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
|
4314
4277
|
/**
|
|
4315
4278
|
* The `Sidebar` provides vertical navigation with a composable header, scrollable content area, and footer.
|
|
4316
4279
|
*/
|
|
4317
|
-
declare const Sidebar: ({ children, ref, ...props }: SidebarProps & {
|
|
4280
|
+
export declare const Sidebar: ({ children, ref, ...props }: SidebarProps & {
|
|
4318
4281
|
ref?: Ref<HTMLElement> | undefined;
|
|
4319
4282
|
}) => JSX.Element;
|
|
4320
4283
|
//#endregion
|
|
@@ -4326,7 +4289,7 @@ type SidebarHeaderProps = {
|
|
|
4326
4289
|
*/
|
|
4327
4290
|
children: ReactNode;
|
|
4328
4291
|
};
|
|
4329
|
-
declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
4292
|
+
export declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
4330
4293
|
//#endregion
|
|
4331
4294
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
4332
4295
|
type SidebarFooterProps = {
|
|
@@ -4336,7 +4299,7 @@ type SidebarFooterProps = {
|
|
|
4336
4299
|
*/
|
|
4337
4300
|
children: ReactNode;
|
|
4338
4301
|
};
|
|
4339
|
-
declare const SidebarFooter: FC<SidebarFooterProps>;
|
|
4302
|
+
export declare const SidebarFooter: FC<SidebarFooterProps>;
|
|
4340
4303
|
//#endregion
|
|
4341
4304
|
//#region src/components/Sidebar/SidebarTitle.d.ts
|
|
4342
4305
|
type SidebarTitleProps = {
|
|
@@ -4345,7 +4308,7 @@ type SidebarTitleProps = {
|
|
|
4345
4308
|
*/
|
|
4346
4309
|
children: ReactNode;
|
|
4347
4310
|
};
|
|
4348
|
-
declare const SidebarTitle: FC<SidebarTitleProps>;
|
|
4311
|
+
export declare const SidebarTitle: FC<SidebarTitleProps>;
|
|
4349
4312
|
//#endregion
|
|
4350
4313
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
4351
4314
|
type SidebarContentProps = {
|
|
@@ -4355,7 +4318,7 @@ type SidebarContentProps = {
|
|
|
4355
4318
|
*/
|
|
4356
4319
|
children: ReactNode;
|
|
4357
4320
|
};
|
|
4358
|
-
declare const SidebarContent: FC<SidebarContentProps>;
|
|
4321
|
+
export declare const SidebarContent: FC<SidebarContentProps>;
|
|
4359
4322
|
//#endregion
|
|
4360
4323
|
//#region src/components/Sidebar/SidebarGroup.d.ts
|
|
4361
4324
|
type SidebarGroupProps = {
|
|
@@ -4365,7 +4328,7 @@ type SidebarGroupProps = {
|
|
|
4365
4328
|
*/
|
|
4366
4329
|
children: ReactNode;
|
|
4367
4330
|
};
|
|
4368
|
-
declare const SidebarGroup: FC<SidebarGroupProps>;
|
|
4331
|
+
export declare const SidebarGroup: FC<SidebarGroupProps>;
|
|
4369
4332
|
//#endregion
|
|
4370
4333
|
//#region src/components/Sidebar/SidebarGroupLabel.d.ts
|
|
4371
4334
|
type SidebarGroupLabelProps = {
|
|
@@ -4384,7 +4347,7 @@ type SidebarGroupLabelProps = {
|
|
|
4384
4347
|
*/
|
|
4385
4348
|
leftSlot?: ReactNode;
|
|
4386
4349
|
};
|
|
4387
|
-
declare const SidebarGroupLabel: FC<SidebarGroupLabelProps>;
|
|
4350
|
+
export declare const SidebarGroupLabel: FC<SidebarGroupLabelProps>;
|
|
4388
4351
|
//#endregion
|
|
4389
4352
|
//#region src/components/Sidebar/SidebarButton.d.ts
|
|
4390
4353
|
type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant"> | Omit<ButtonAsLinkProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant">) & {
|
|
@@ -4394,7 +4357,7 @@ type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign"
|
|
|
4394
4357
|
*/
|
|
4395
4358
|
selected?: boolean;
|
|
4396
4359
|
};
|
|
4397
|
-
declare const SidebarButton: ({ selected, ref, ...props }: SidebarButtonProps & {
|
|
4360
|
+
export declare const SidebarButton: ({ selected, ref, ...props }: SidebarButtonProps & {
|
|
4398
4361
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
4399
4362
|
}) => JSX.Element;
|
|
4400
4363
|
//#endregion
|
|
@@ -4407,7 +4370,7 @@ type SidebarSearchInputProps = Omit<InputProps, "type"> & {
|
|
|
4407
4370
|
*/
|
|
4408
4371
|
label?: string;
|
|
4409
4372
|
};
|
|
4410
|
-
declare const SidebarSearchInput: ({ id, label, ref, ...props }: SidebarSearchInputProps & {
|
|
4373
|
+
export declare const SidebarSearchInput: ({ id, label, ref, ...props }: SidebarSearchInputProps & {
|
|
4411
4374
|
ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
4412
4375
|
}) => JSX.Element;
|
|
4413
4376
|
//#endregion
|
|
@@ -4472,7 +4435,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
|
4472
4435
|
/**
|
|
4473
4436
|
* A `Slider` lets users select a value or range from a continuous scale via a draggable thumb.
|
|
4474
4437
|
*/
|
|
4475
|
-
declare const Slider: FC<SliderProps>;
|
|
4438
|
+
export declare const Slider: FC<SliderProps>;
|
|
4476
4439
|
//#endregion
|
|
4477
4440
|
//#region src/components/SplitButton/SplitButton.d.ts
|
|
4478
4441
|
type SplitButtonProps = {
|
|
@@ -4514,7 +4477,7 @@ type SplitButtonProps = {
|
|
|
4514
4477
|
/**
|
|
4515
4478
|
* A SplitButton is an extension of [Button](/components/Button) that adds a menu to the right hand side of the button.
|
|
4516
4479
|
*/
|
|
4517
|
-
declare const SplitButton: FC<SplitButtonProps>;
|
|
4480
|
+
export declare const SplitButton: FC<SplitButtonProps>;
|
|
4518
4481
|
//#endregion
|
|
4519
4482
|
//#region src/components/Stack/Stack.d.ts
|
|
4520
4483
|
declare const DEFAULT_ELEMENT = "div";
|
|
@@ -4553,7 +4516,7 @@ type StackProps = {
|
|
|
4553
4516
|
* Used to layout its children in a vertical or horizontal stack. The gap between each item in the stack can be customized.
|
|
4554
4517
|
* This allows for layouting children in a consistent way without needing to manually add margins or padding.
|
|
4555
4518
|
*/
|
|
4556
|
-
declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
|
|
4519
|
+
export declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
|
|
4557
4520
|
//#endregion
|
|
4558
4521
|
//#region src/components/Switch/Switch.d.ts
|
|
4559
4522
|
type SwitchSizeType = "lg" | "md" | "sm";
|
|
@@ -4610,7 +4573,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
4610
4573
|
/**
|
|
4611
4574
|
* A `Switch` allows users to toggle between two mutually exclusive states, such as on and off.
|
|
4612
4575
|
*/
|
|
4613
|
-
declare const Switch: ({ align, checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: SwitchProps & {
|
|
4576
|
+
export declare const Switch: ({ align, checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: SwitchProps & {
|
|
4614
4577
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4615
4578
|
}) => JSX.Element;
|
|
4616
4579
|
//#endregion
|
|
@@ -4618,26 +4581,26 @@ declare const Switch: ({ align, checked, disabled, id, label, description, name,
|
|
|
4618
4581
|
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4619
4582
|
children?: ReactNode;
|
|
4620
4583
|
};
|
|
4621
|
-
declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
|
|
4584
|
+
export declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
|
|
4622
4585
|
//#endregion
|
|
4623
4586
|
//#region src/components/Table/TableCell.d.ts
|
|
4624
4587
|
type CellAttrs = Omit<TdHTMLAttributes<HTMLTableCellElement>, "ref"> & Omit<ThHTMLAttributes<HTMLTableCellElement>, "ref">;
|
|
4625
4588
|
type TableCellProps = CellAttrs & {
|
|
4626
4589
|
children?: ReactNode;
|
|
4627
4590
|
};
|
|
4628
|
-
declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
|
|
4591
|
+
export declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
|
|
4629
4592
|
//#endregion
|
|
4630
4593
|
//#region src/components/Table/TableFoot.d.ts
|
|
4631
4594
|
type TableFootProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4632
4595
|
children?: ReactNode;
|
|
4633
4596
|
};
|
|
4634
|
-
declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
|
|
4597
|
+
export declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
|
|
4635
4598
|
//#endregion
|
|
4636
4599
|
//#region src/components/Table/TableHead.d.ts
|
|
4637
4600
|
type TableHeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4638
4601
|
children?: ReactNode;
|
|
4639
4602
|
};
|
|
4640
|
-
declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
|
|
4603
|
+
export declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
|
|
4641
4604
|
//#endregion
|
|
4642
4605
|
//#region src/components/Table/Table.d.ts
|
|
4643
4606
|
type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
@@ -4663,13 +4626,13 @@ type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
|
4663
4626
|
/**
|
|
4664
4627
|
* Semantic table element for presenting data
|
|
4665
4628
|
*/
|
|
4666
|
-
declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
|
|
4629
|
+
export declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
|
|
4667
4630
|
//#endregion
|
|
4668
4631
|
//#region src/components/Table/TableRow.d.ts
|
|
4669
4632
|
type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
4670
4633
|
children?: ReactNode;
|
|
4671
4634
|
};
|
|
4672
|
-
declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4635
|
+
export declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4673
4636
|
//#endregion
|
|
4674
4637
|
//#region src/components/Tabs/Tabs.d.ts
|
|
4675
4638
|
type TabsProps = {
|
|
@@ -4681,14 +4644,14 @@ type TabsProps = {
|
|
|
4681
4644
|
/**
|
|
4682
4645
|
* The `Tabs` component lets users switch between panels of content. It is composed from the `TabsList`, `TabsTrigger`, and `TabsContent` subcomponents.
|
|
4683
4646
|
*/
|
|
4684
|
-
declare const Tabs: FC<TabsProps>;
|
|
4647
|
+
export declare const Tabs: FC<TabsProps>;
|
|
4685
4648
|
//#endregion
|
|
4686
4649
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
4687
4650
|
type TabsContentProps = {
|
|
4688
4651
|
children?: ReactNode;
|
|
4689
4652
|
value: string;
|
|
4690
4653
|
};
|
|
4691
|
-
declare const TabsContent: FC<TabsContentProps>;
|
|
4654
|
+
export declare const TabsContent: FC<TabsContentProps>;
|
|
4692
4655
|
//#endregion
|
|
4693
4656
|
//#region src/components/Tabs/TabsList.d.ts
|
|
4694
4657
|
type TabsListProps = {
|
|
@@ -4696,7 +4659,7 @@ type TabsListProps = {
|
|
|
4696
4659
|
} & PropsWithChildren<{
|
|
4697
4660
|
fullWidth?: boolean;
|
|
4698
4661
|
}>;
|
|
4699
|
-
declare const TabsList: FC<TabsListProps>;
|
|
4662
|
+
export declare const TabsList: FC<TabsListProps>;
|
|
4700
4663
|
//#endregion
|
|
4701
4664
|
//#region src/components/Tabs/TabsTrigger.d.ts
|
|
4702
4665
|
type BaseProps = {
|
|
@@ -4734,7 +4697,7 @@ type NoIcon = {
|
|
|
4734
4697
|
"aria-label"?: never;
|
|
4735
4698
|
};
|
|
4736
4699
|
type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
|
|
4737
|
-
declare const TabsTrigger: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref, ...otherProps }: TabsTriggerProps & {
|
|
4700
|
+
export declare const TabsTrigger: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref, ...otherProps }: TabsTriggerProps & {
|
|
4738
4701
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4739
4702
|
}) => JSX.Element;
|
|
4740
4703
|
//#endregion
|
|
@@ -4768,7 +4731,7 @@ type TagProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4768
4731
|
/**
|
|
4769
4732
|
* A `Tag` is an optionally linked label, with an optional action button, to categorize content.
|
|
4770
4733
|
*/
|
|
4771
|
-
declare const Tag: ({ onClickRemove, colorScheme, href, icon, label, onClickRemoveLabel, ref, ...props }: TagProps & {
|
|
4734
|
+
export declare const Tag: ({ onClickRemove, colorScheme, href, icon, label, onClickRemoveLabel, ref, ...props }: TagProps & {
|
|
4772
4735
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4773
4736
|
}) => JSX.Element;
|
|
4774
4737
|
//#endregion
|
|
@@ -4783,7 +4746,7 @@ type ThumbnailBadgeProps = {
|
|
|
4783
4746
|
*/
|
|
4784
4747
|
label: string;
|
|
4785
4748
|
};
|
|
4786
|
-
declare const ThumbnailBadge: FC<ThumbnailBadgeProps>;
|
|
4749
|
+
export declare const ThumbnailBadge: FC<ThumbnailBadgeProps>;
|
|
4787
4750
|
//#endregion
|
|
4788
4751
|
//#region src/components/Thumbnail/Thumbnail.d.ts
|
|
4789
4752
|
type AspectRatioType = "square" | "wide";
|
|
@@ -4838,7 +4801,7 @@ type ThumbnailProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
|
|
|
4838
4801
|
/**
|
|
4839
4802
|
* A `Thumbnail` is a small, reduced-size version of an image or video used as a preview or representative image.
|
|
4840
4803
|
*/
|
|
4841
|
-
declare const Thumbnail: ({ gradientBackground, thumbnailImageType, thumbnailUrl, width, children, storyboard, height, aspectRatio, ref, ...props }: ThumbnailProps & {
|
|
4804
|
+
export declare const Thumbnail: ({ gradientBackground, thumbnailImageType, thumbnailUrl, width, children, storyboard, height, aspectRatio, ref, ...props }: ThumbnailProps & {
|
|
4842
4805
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4843
4806
|
}) => JSX.Element;
|
|
4844
4807
|
//#endregion
|
|
@@ -4860,34 +4823,6 @@ type ThumbnailCollageProps = {
|
|
|
4860
4823
|
*/
|
|
4861
4824
|
declare const ThumbnailCollage: ({ children, gradientBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
|
|
4862
4825
|
//#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
|
-
* An [IconChip](/components/IconChip), e.g. `<IconChip colorScheme="blue"><Icon type="upload" /></IconChip>`. The tile sets the chip's size
|
|
4869
|
-
*/
|
|
4870
|
-
icon: ReactNode;
|
|
4871
|
-
/**
|
|
4872
|
-
* The main text of the tile. Must not contain interactive elements
|
|
4873
|
-
*/
|
|
4874
|
-
label: ReactNode;
|
|
4875
|
-
/**
|
|
4876
|
-
* Optional supporting text shown below the label. Must not contain interactive elements
|
|
4877
|
-
*/
|
|
4878
|
-
description?: ReactNode;
|
|
4879
|
-
/**
|
|
4880
|
-
* Places the icon to the left of the text (`horizontal`) or above it (`vertical`)
|
|
4881
|
-
*/
|
|
4882
|
-
orientation?: TileButtonOrientation;
|
|
4883
|
-
} & (Omit<ButtonAsButtonProps, OmittedButtonProps> | Omit<ButtonAsLinkProps, OmittedButtonProps>);
|
|
4884
|
-
/**
|
|
4885
|
-
* A `TileButton` is a large, bordered button with an [IconChip](/components/IconChip), a label, and an optional description. 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`.
|
|
4886
|
-
*/
|
|
4887
|
-
declare const TileButton: ({ icon, label, description, orientation, ref, ...props }: TileButtonProps & {
|
|
4888
|
-
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
4889
|
-
}) => JSX.Element;
|
|
4890
|
-
//#endregion
|
|
4891
4826
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
4892
4827
|
type TooltipProps = {
|
|
4893
4828
|
/**
|
|
@@ -4927,7 +4862,7 @@ type TooltipProps = {
|
|
|
4927
4862
|
* For elements that are not interactive, consider using a [Popover](/components/Popover) instead.
|
|
4928
4863
|
*
|
|
4929
4864
|
*/
|
|
4930
|
-
declare const Tooltip: FC<TooltipProps>;
|
|
4865
|
+
export declare const Tooltip: FC<TooltipProps>;
|
|
4931
4866
|
//#endregion
|
|
4932
4867
|
//#region src/components/WistiaLogo/WistiaLogo.d.ts
|
|
4933
4868
|
type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href"> & {
|
|
@@ -4970,7 +4905,7 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href">
|
|
|
4970
4905
|
/**
|
|
4971
4906
|
* Render the Wistia logo in various ways.
|
|
4972
4907
|
*/
|
|
4973
|
-
declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
4908
|
+
export declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
4974
4909
|
//#endregion
|
|
4975
|
-
export {
|
|
4910
|
+
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 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 TimeDuration, type TooltipProps, type UseActiveMqReturnType, type UseIsHoveredReturnType, type UseMqReturnType, type UseToastProps, type UseToastReturnValue };
|
|
4976
4911
|
//# sourceMappingURL=index.d.ts.map
|