@wistia/ui 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.d.ts +1 -445
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +659 -1168
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -11,17 +11,12 @@ import { Schema } from "yup";
|
|
|
11
11
|
import ReactMarkdown from "react-markdown";
|
|
12
12
|
import { ExtractContentTypeFromConfig, FilePickerReturnTypes, ImperativeFilePickerReturnTypes, UseFilePickerConfig, useImperativeFilePickerConfig } from "use-file-picker/types";
|
|
13
13
|
export * from "use-file-picker/types";
|
|
14
|
-
|
|
15
|
-
type IconNameType = "ab-test" | "accessibility" | "activity" | "add-folder" | "add-layout" | "add-media" | "align-bottom" | "align-middle" | "align-top" | "animation" | "annotation-link" | "appearance" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-right" | "aspect-ratio" | "asterisk" | "audio-description" | "auto-scroll" | "background" | "bank" | "bell" | "bolt" | "border" | "border-bottom" | "border-left" | "border-right" | "border-top" | "brands" | "bulleted-list" | "calendar" | "calendar-clock" | "call-to-action" | "camera" | "camera-off" | "caret-down" | "caret-down-strong" | "caret-left" | "caret-left-strong" | "caret-right" | "caret-right-strong" | "caret-up" | "caret-up-strong" | "channel" | "chapters" | "chat" | "chat-sparkle" | "checkmark" | "checkmark-circle" | "checkmark-circle-outline" | "checkmark-octagon" | "checkmark-three-quaters-circle" | "circle-slashed" | "clapboard" | "clips" | "clock" | "close" | "close-octagon" | "closed-captions" | "cmd" | "collapse" | "collapse-diagonal" | "collection" | "color" | "comments" | "company" | "compare" | "connection-okay" | "connection-poor" | "connection-strong" | "content-library" | "controls" | "credit-card" | "credits" | "cursor-click" | "delete" | "desktop" | "diamond" | "dock-right" | "docs-dev" | "dots-horizontal" | "download" | "edit-transcript" | "ellipses-vertical" | "embed" | "envelope" | "envelope-open" | "error" | "expand" | "expand-diagonal" | "expand-diagonal-window" | "expand-horizontal" | "fast-forward" | "favorite" | "favorite-outline" | "featured" | "file-tree" | "fill" | "film-strip" | "filter" | "fit" | "flip-horizontal" | "flip-vertical" | "fonts" | "footer" | "full-screen" | "gear" | "getting-started" | "globe" | "gradient" | "grid" | "grip-dots-vertical" | "header" | "help-center" | "hide" | "home" | "hourglass" | "import" | "info" | "integrations" | "invoice" | "keyboard" | "layers" | "layout" | "leave" | "library" | "light-bulb" | "link" | "list" | "live" | "localization" | "lock" | "logout" | "maximize" | "media" | "media-sparkle" | "megaphone" | "menu" | "messages" | "mic" | "mic-off" | "minimize" | "minus" | "minus-circle" | "mobile" | "more-options" | "move-left" | "move-right" | "music" | "my-library" | "note" | "on-air" | "open-new" | "overview" | "page" | "panel-left" | "panel-right" | "panel-up" | "paper-clip" | "password" | "paste" | "pause" | "pencil" | "pencil-sparkle" | "people" | "pin" | "pin-slash" | "pip" | "play" | "player" | "playlist" | "plus" | "podcast" | "preview" | "private-chat" | "private-user-sessions" | "project" | "project-open" | "properties" | "question-chat" | "question-mark" | "react" | "record" | "record-group" | "redo" | "refresh" | "remix" | "replace" | "reply" | "request-video" | "revert-to-original" | "rewind" | "rotate" | "roundness" | "save" | "save-as-copy" | "scissors" | "screenshare-off" | "screenshare-on" | "search" | "send" | "shadow" | "shapes" | "share" | "sharing-permissions" | "simulcast" | "sort" | "sparkle" | "speed" | "spinner" | "stats" | "stroke-weight" | "switch-accounts" | "tag" | "teleprompter" | "text" | "text-all-caps" | "text-bold" | "text-bulleted-list" | "text-center-align" | "text-italics" | "text-left-align" | "text-line-height" | "text-numbered-list" | "text-right-align" | "text-size" | "text-strikethrough" | "text-title-case" | "text-underline" | "thumbnail" | "thumbs-down" | "thumbs-up" | "timeline-vertical" | "token" | "tracks" | "transcript" | "transitions" | "transparency" | "trends" | "trial-unlock-clock" | "trim" | "turnstile" | "undo" | "unlock" | "upload" | "users-permissions" | "view-stream" | "volume" | "volume-off" | "volume-up" | "volume-x" | "wand" | "waveform" | "webhook" | "webinar-series" | "wistia" | "write" | "zoom-in" | "zoom-out";
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/private/hooks/useResponsiveProp/useResponsiveProp.d.ts
|
|
14
|
+
type IconNameType = "ab-test" | "accessibility" | "activity" | "add-folder" | "add-layout" | "add-media" | "align-bottom" | "align-middle" | "align-top" | "animation" | "annotation-link" | "appearance" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-right" | "aspect-ratio" | "asterisk" | "audio-description" | "auto-scroll" | "background" | "bank" | "bell" | "bolt" | "border" | "border-bottom" | "border-left" | "border-right" | "border-top" | "brands" | "bulleted-list" | "calendar" | "calendar-clock" | "call-to-action" | "camera" | "camera-off" | "caret-down" | "caret-down-strong" | "caret-left" | "caret-left-strong" | "caret-right" | "caret-right-strong" | "caret-up" | "caret-up-strong" | "channel" | "chapters" | "chat" | "chat-sparkle" | "checkmark" | "checkmark-circle" | "checkmark-circle-outline" | "checkmark-octagon" | "checkmark-three-quaters-circle" | "circle-slashed" | "clapboard" | "clips" | "clock" | "close" | "close-octagon" | "closed-captions" | "cmd" | "collapse" | "collapse-diagonal" | "collection" | "color" | "comments" | "company" | "compare" | "connection-okay" | "connection-poor" | "connection-strong" | "content-library" | "controls" | "credit-card" | "credits" | "cursor-click" | "delete" | "desktop" | "diamond" | "dock-right" | "docs-dev" | "dots-horizontal" | "download" | "edit-transcript" | "ellipses-vertical" | "embed" | "envelope" | "envelope-open" | "error" | "expand" | "expand-diagonal" | "expand-diagonal-window" | "expand-horizontal" | "fast-forward" | "favorite" | "favorite-outline" | "featured" | "file-tree" | "fill" | "film-strip" | "filter" | "fit" | "flip-horizontal" | "flip-vertical" | "fonts" | "footer" | "full-screen" | "gear" | "getting-started" | "globe" | "gradient" | "grid" | "grip-dots-vertical" | "header" | "help-center" | "hide" | "home" | "hourglass" | "import" | "info" | "integrations" | "invoice" | "keyboard" | "layers" | "layout" | "leave" | "library" | "light-bulb" | "link" | "list" | "live" | "localization" | "lock" | "logout" | "maximize" | "media" | "media-sparkle" | "megaphone" | "menu" | "messages" | "mic" | "mic-off" | "minimize" | "minus" | "minus-circle" | "mobile" | "mochine" | "more-options" | "move-left" | "move-right" | "music" | "my-library" | "note" | "on-air" | "open-new" | "overview" | "page" | "panel-left" | "panel-right" | "panel-up" | "paper-clip" | "password" | "paste" | "pause" | "pencil" | "pencil-sparkle" | "people" | "pin" | "pin-slash" | "pip" | "play" | "player" | "playlist" | "plus" | "podcast" | "preview" | "private-chat" | "private-user-sessions" | "project" | "project-open" | "properties" | "question-chat" | "question-mark" | "react" | "record" | "record-group" | "redo" | "refresh" | "remix" | "replace" | "reply" | "request-video" | "revert-to-original" | "rewind" | "rotate" | "roundness" | "save" | "save-as-copy" | "scissors" | "screenshare-off" | "screenshare-on" | "search" | "send" | "shadow" | "shapes" | "share" | "sharing-permissions" | "simulcast" | "sort" | "sparkle" | "speed" | "spinner" | "stats" | "stroke-weight" | "switch-accounts" | "tag" | "teleprompter" | "text" | "text-all-caps" | "text-bold" | "text-bulleted-list" | "text-center-align" | "text-italics" | "text-left-align" | "text-line-height" | "text-numbered-list" | "text-right-align" | "text-size" | "text-strikethrough" | "text-title-case" | "text-underline" | "thumbnail" | "thumbs-down" | "thumbs-up" | "timeline-vertical" | "token" | "tracks" | "transcript" | "transitions" | "transparency" | "trends" | "trial-unlock-clock" | "trim" | "turnstile" | "undo" | "unlock" | "upload" | "users-permissions" | "view-stream" | "volume" | "volume-off" | "volume-up" | "volume-x" | "wand" | "waveform" | "webhook" | "webinar-series" | "wistia" | "write" | "zoom-in" | "zoom-out";
|
|
18
15
|
type Breakpoints = "isLgAndDown" | "isLgAndUp" | "isMdAndDown" | "isMdAndUp" | "isSmAndDown" | "isSmAndUp" | "isXlAndDown" | "isXlAndUp" | "isXsAndDown" | "isXsAndUp";
|
|
19
16
|
type AtLeastOneBreakpoint<T, U = { [Key in keyof T]: Pick<T, Key>; }> = Partial<T> & U[keyof U];
|
|
20
17
|
type ResponsiveObject<T> = AtLeastOneBreakpoint<Record<Breakpoints, T>> & {
|
|
21
18
|
base: T;
|
|
22
19
|
};
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/hooks/useDocumentColorMode/useDocumentColorMode.d.ts
|
|
25
20
|
/**
|
|
26
21
|
* The attribute that activates a color mode's token block in tokens.css.
|
|
27
22
|
* Exported so server-rendered layouts can stamp the attribute (e.g.
|
|
@@ -65,8 +60,6 @@ export declare const setDocumentColorMode: (mode: DocumentColorModeTypes | null)
|
|
|
65
60
|
* value — keep forcing at one level of the tree (typically the route/screen).
|
|
66
61
|
*/
|
|
67
62
|
export declare const useDocumentColorMode: (mode: DocumentColorModeTypes | null) => void;
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/components/ColorSchemeWrapper/ColorSchemeWrapper.d.ts
|
|
70
63
|
declare const defaultColorSchemeOptions: readonly ["standard", "inherit"];
|
|
71
64
|
declare const semanticColorSchemeOptions: readonly ["error", "info", "success", "warning"];
|
|
72
65
|
declare const brandColorSchemeOptions: readonly ["blue", "green", "orange", "pink", "purple", "red", "remix-lime", "yellow"];
|
|
@@ -106,8 +99,6 @@ type ColorSchemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
106
99
|
* A wrapper to apply a color scheme to its children.
|
|
107
100
|
*/
|
|
108
101
|
export declare const ColorSchemeWrapper: FC<ColorSchemeWrapperProps>;
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region src/components/Icon/Icon.d.ts
|
|
111
102
|
export declare const iconSizeMap: {
|
|
112
103
|
sm: string;
|
|
113
104
|
md: string;
|
|
@@ -147,8 +138,6 @@ type IconProps = ComponentPropsWithoutRef<"svg"> & {
|
|
|
147
138
|
* 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`.
|
|
148
139
|
*/
|
|
149
140
|
export declare const Icon: FC<IconProps>;
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region src/providers/UIProvider/UIProvider.d.ts
|
|
152
141
|
type UIProviderProps = {
|
|
153
142
|
children: ReactNode;
|
|
154
143
|
/**
|
|
@@ -174,8 +163,6 @@ type UIProviderProps = {
|
|
|
174
163
|
gatedIcon?: IconNameType | undefined;
|
|
175
164
|
};
|
|
176
165
|
export declare const UIProvider: ({ children, id, gatedIcon }: UIProviderProps) => JSX.Element;
|
|
177
|
-
//#endregion
|
|
178
|
-
//#region src/helpers/coerceToBoolean/coerceToBoolean.d.ts
|
|
179
166
|
/**
|
|
180
167
|
* Converts a boolean string value `value` into a boolean. If passed
|
|
181
168
|
* something other than 'true' or 'false' will coerce value to boolean.
|
|
@@ -184,8 +171,6 @@ export declare const UIProvider: ({ children, id, gatedIcon }: UIProviderProps)
|
|
|
184
171
|
* @returns {boolean} - that value as a boolean
|
|
185
172
|
*/
|
|
186
173
|
export declare const coerceToBoolean: (value: unknown) => boolean;
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region src/helpers/copyToClipboard/copyToClipboard.d.ts
|
|
189
174
|
/**
|
|
190
175
|
* Copies a string to user's clipboard for easy pasting in another location
|
|
191
176
|
*
|
|
@@ -193,8 +178,6 @@ export declare const coerceToBoolean: (value: unknown) => boolean;
|
|
|
193
178
|
* @returns {Promise<void>} - Promise object that resolves when the text is copied
|
|
194
179
|
*/
|
|
195
180
|
export declare const copyToClipboard: (textToCopy: string) => Promise<void>;
|
|
196
|
-
//#endregion
|
|
197
|
-
//#region src/helpers/dateTime/buildTimeDuration.d.ts
|
|
198
181
|
type TimeDuration = {
|
|
199
182
|
seconds: number;
|
|
200
183
|
minutes: number;
|
|
@@ -207,8 +190,6 @@ type TimeDuration = {
|
|
|
207
190
|
* @returns {TimeDuration} -
|
|
208
191
|
*/
|
|
209
192
|
export declare const buildTimeDuration: (numberOfMilliseconds: number) => TimeDuration;
|
|
210
|
-
//#endregion
|
|
211
|
-
//#region src/helpers/dateTime/dateOnlyISOString.d.ts
|
|
212
193
|
/**
|
|
213
194
|
* Converts a Date object into a date only string formatted to ISO8601.
|
|
214
195
|
*
|
|
@@ -219,8 +200,6 @@ export declare const buildTimeDuration: (numberOfMilliseconds: number) => TimeDu
|
|
|
219
200
|
* @returns {string} a formatted date string
|
|
220
201
|
*/
|
|
221
202
|
export declare const dateOnlyISOString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region src/helpers/dateTime/dateOnlyString.d.ts
|
|
224
203
|
type DateOnlyStringOptions$1 = {
|
|
225
204
|
timeZone?: string;
|
|
226
205
|
/**
|
|
@@ -241,8 +220,6 @@ type DateOnlyStringOptions$1 = {
|
|
|
241
220
|
* @returns {string} a formatted date string
|
|
242
221
|
*/
|
|
243
222
|
export declare const dateOnlyString: (date: unknown, { timeZone, omitYear }?: DateOnlyStringOptions$1) => string;
|
|
244
|
-
//#endregion
|
|
245
|
-
//#region src/helpers/dateTime/dateOnlyStringForSentence.d.ts
|
|
246
223
|
/**
|
|
247
224
|
* Converts a Date object into a date only string
|
|
248
225
|
* for use in a sentence.
|
|
@@ -255,8 +232,6 @@ export declare const dateOnlyString: (date: unknown, { timeZone, omitYear }?: Da
|
|
|
255
232
|
* @returns {string} a formatted date string
|
|
256
233
|
*/
|
|
257
234
|
export declare const dateOnlyStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/helpers/dateTime/dateOnlyStringNumeric.d.ts
|
|
260
235
|
/**
|
|
261
236
|
* Converts a Date object into a date only string formatted numerically.
|
|
262
237
|
*
|
|
@@ -267,16 +242,12 @@ export declare const dateOnlyStringForSentence: (date: unknown, { timeZone }?: D
|
|
|
267
242
|
* @returns {string} a formatted date string
|
|
268
243
|
*/
|
|
269
244
|
export declare const dateOnlyStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
270
|
-
//#endregion
|
|
271
|
-
//#region src/helpers/dateTime/dateTimeRounded.d.ts
|
|
272
245
|
/**
|
|
273
246
|
* @param {Date} dateTime - a dateTime object
|
|
274
247
|
* @param {boolean} toISOString - whether the return value should be an ISO string
|
|
275
248
|
* @returns {string | Date | null} - string or date depending on if toIsoString is true or false. Could be null if there's an error.
|
|
276
249
|
*/
|
|
277
250
|
export declare const dateTimeRounded: DateTimeRoundedOverload;
|
|
278
|
-
//#endregion
|
|
279
|
-
//#region src/helpers/dateTime/dateTimeString.d.ts
|
|
280
251
|
/**
|
|
281
252
|
* Converts a Date object into a date and time string.
|
|
282
253
|
*
|
|
@@ -291,8 +262,6 @@ export declare const dateTimeRounded: DateTimeRoundedOverload;
|
|
|
291
262
|
* @returns {string} a formatted date string
|
|
292
263
|
*/
|
|
293
264
|
export declare const dateTimeString: (date: Date | number | string | null | undefined, { timeZone, omitYear }?: DateOnlyStringOptions) => string;
|
|
294
|
-
//#endregion
|
|
295
|
-
//#region src/helpers/dateTime/dateTimeStringForSentence.d.ts
|
|
296
265
|
/**
|
|
297
266
|
* Converts a Date object into a date and time string
|
|
298
267
|
* for use in a sentence.
|
|
@@ -308,22 +277,16 @@ export declare const dateTimeString: (date: Date | number | string | null | unde
|
|
|
308
277
|
* @returns {string} a formatted date string
|
|
309
278
|
*/
|
|
310
279
|
export declare const dateTimeStringForSentence: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region src/helpers/dateTime/dateTimeToDate.d.ts
|
|
313
280
|
/**
|
|
314
281
|
* @param {Partial<WistiaDateTimeObject> | null} dateTime - a dateTime object
|
|
315
282
|
* @returns {Date | null} - the converted date or null if anything is missing
|
|
316
283
|
*/
|
|
317
284
|
export declare const dateTimeToDate: (dateTime: Partial<WistiaDateTimeObject> | null | undefined) => Date | null;
|
|
318
|
-
//#endregion
|
|
319
|
-
//#region src/helpers/dateTime/dateTimeToISO.d.ts
|
|
320
285
|
/**
|
|
321
286
|
* @param {Partial<WistiaDateTimeObject>} dateTime - a dateTime object
|
|
322
287
|
* @returns {string | null} - string with the ISO-8601 string or null
|
|
323
288
|
*/
|
|
324
289
|
export declare const dateTimeToISO: (dateTime: Partial<WistiaDateTimeObject>) => string | null;
|
|
325
|
-
//#endregion
|
|
326
|
-
//#region src/helpers/dateTime/dateToDateTime.d.ts
|
|
327
290
|
/**
|
|
328
291
|
* @typedef {Object} WistiaDateTimeObject
|
|
329
292
|
* @property {number} minutes - number of minutes
|
|
@@ -337,16 +300,12 @@ export declare const dateTimeToISO: (dateTime: Partial<WistiaDateTimeObject>) =>
|
|
|
337
300
|
* @returns {WistiaDateTimeObject | null} - replaceMe
|
|
338
301
|
*/
|
|
339
302
|
export declare const dateToDateTime: (date: Date | null | undefined) => WistiaDateTimeObject | null;
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region src/helpers/dateTime/dateUTCOffset.d.ts
|
|
342
303
|
/**
|
|
343
304
|
* Given a date, shows the UTC offset.
|
|
344
305
|
* @param {Date} date a Date object for calculating offset.
|
|
345
306
|
* @returns {string} - string representing the UTC offset
|
|
346
307
|
*/
|
|
347
308
|
export declare const dateUTCOffset: (date: Date) => string;
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region src/helpers/dateTime/dayOfWeekString.d.ts
|
|
350
309
|
/**
|
|
351
310
|
* Converts a Date object into a month and day string formatted numerically.
|
|
352
311
|
*
|
|
@@ -357,8 +316,6 @@ export declare const dateUTCOffset: (date: Date) => string;
|
|
|
357
316
|
* @returns {string} a formatted date string
|
|
358
317
|
*/
|
|
359
318
|
export declare const dayOfWeekString: (date: Date | null, { timeZone }?: DateOnlyStringOptions) => string;
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region src/helpers/dateTime/mediaDurationString.d.ts
|
|
362
319
|
/**
|
|
363
320
|
* A string representation of a duration for a media. Assumes most medias
|
|
364
321
|
* are under an hour so only shows hours if media is over hour.
|
|
@@ -367,8 +324,6 @@ export declare const dayOfWeekString: (date: Date | null, { timeZone }?: DateOnl
|
|
|
367
324
|
* @returns {string} - a string representation for duration
|
|
368
325
|
*/
|
|
369
326
|
export declare const mediaDurationString: (numberOfMilliseconds: number) => string;
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region src/helpers/dateTime/millisecondsToDurationISOString.d.ts
|
|
372
327
|
/**
|
|
373
328
|
* Given number of miliseconds, returns the iso8601 string rounded down from
|
|
374
329
|
* number of seconds. Mainly copied from https://github.com/wistia/player-modern/blob/master/src/utilities/iso8601Helper.js#L54
|
|
@@ -378,8 +333,6 @@ export declare const mediaDurationString: (numberOfMilliseconds: number) => stri
|
|
|
378
333
|
* @returns {string} an iso8601 string format of duration
|
|
379
334
|
*/
|
|
380
335
|
export declare const millisecondsToDurationISOString: (numberOfMilliseconds: number) => string;
|
|
381
|
-
//#endregion
|
|
382
|
-
//#region src/helpers/dateTime/monthDayStringNumeric.d.ts
|
|
383
336
|
/**
|
|
384
337
|
* Converts a Date object into a month and day string formatted numerically.
|
|
385
338
|
*
|
|
@@ -390,11 +343,7 @@ export declare const millisecondsToDurationISOString: (numberOfMilliseconds: num
|
|
|
390
343
|
* @returns {string} a formatted date string
|
|
391
344
|
*/
|
|
392
345
|
export declare const monthDayStringNumeric: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region src/helpers/dateTime/parseDateString.d.ts
|
|
395
346
|
export declare const parseDateString: (str: string) => Date | null;
|
|
396
|
-
//#endregion
|
|
397
|
-
//#region src/helpers/dateTime/sessionDurationString.d.ts
|
|
398
347
|
/**
|
|
399
348
|
* A string representation of a duration for a user session. Assumes that
|
|
400
349
|
* sessions may or may not be more than an hour. To prevent confusion all
|
|
@@ -404,8 +353,6 @@ export declare const parseDateString: (str: string) => Date | null;
|
|
|
404
353
|
* @returns {string} - a string representation of duration
|
|
405
354
|
*/
|
|
406
355
|
export declare const sessionDurationString: (numberOfMilliseconds: number) => string;
|
|
407
|
-
//#endregion
|
|
408
|
-
//#region src/helpers/dateTime/timeAgoString.d.ts
|
|
409
356
|
/**
|
|
410
357
|
* Shows time ago relative to current time.
|
|
411
358
|
*
|
|
@@ -444,8 +391,6 @@ export declare const sessionDurationString: (numberOfMilliseconds: number) => st
|
|
|
444
391
|
* @returns {string} - a string representation of the date.
|
|
445
392
|
*/
|
|
446
393
|
export declare const timeAgoString: (date: Date, { nowAnchor, includeTime }?: TimeAgoOptions) => string;
|
|
447
|
-
//#endregion
|
|
448
|
-
//#region src/helpers/dateTime/timeOnlyString.d.ts
|
|
449
394
|
/**
|
|
450
395
|
* Converts a Date object into a time only string.
|
|
451
396
|
*
|
|
@@ -456,8 +401,6 @@ export declare const timeAgoString: (date: Date, { nowAnchor, includeTime }?: Ti
|
|
|
456
401
|
* @returns {string} a formatted date string
|
|
457
402
|
*/
|
|
458
403
|
export declare const timeOnlyString: (date: unknown, { timeZone }?: DateOnlyStringOptions) => string;
|
|
459
|
-
//#endregion
|
|
460
|
-
//#region src/helpers/dateTime/index.d.ts
|
|
461
404
|
export declare const dateTime: {
|
|
462
405
|
buildTimeDuration: typeof buildTimeDuration;
|
|
463
406
|
dateOnlyISOString: typeof dateOnlyISOString;
|
|
@@ -480,8 +423,6 @@ export declare const dateTime: {
|
|
|
480
423
|
timeAgoString: typeof timeAgoString;
|
|
481
424
|
timeOnlyString: typeof timeOnlyString;
|
|
482
425
|
};
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region src/helpers/isUrl/isUrl.d.ts
|
|
485
426
|
/**
|
|
486
427
|
* Loosely validates a URL string
|
|
487
428
|
*
|
|
@@ -489,8 +430,6 @@ export declare const dateTime: {
|
|
|
489
430
|
* @return {boolean} - whether string appears to be a url
|
|
490
431
|
*/
|
|
491
432
|
export declare const isUrl: (str: unknown) => boolean;
|
|
492
|
-
//#endregion
|
|
493
|
-
//#region src/helpers/getBackgroundGradient/getBackgroundGradient.d.ts
|
|
494
433
|
type GradientName = "defaultDarkOne" | "defaultDarkTwo" | "defaultLightOne" | "defaultLightTwo" | "defaultMidOne" | "defaultMidTwo" | "green" | "greenWithPop" | "pink" | "pinkWithPop" | "playfulGradientOne" | "playfulGradientTwo" | "purple" | "purpleWithPop" | "yellow" | "yellowWithPop";
|
|
495
434
|
declare const gradients: Record<GradientName, RuleSet<object>>;
|
|
496
435
|
type GradientNameType = keyof typeof gradients;
|
|
@@ -502,8 +441,6 @@ type GetBackgroundGradientType = GradientNameType | undefined;
|
|
|
502
441
|
* @returns {CssStyleType} The CSS string representing the specified gradient.
|
|
503
442
|
*/
|
|
504
443
|
export declare const getBackgroundGradient: (gradientName?: GetBackgroundGradientType) => ReturnType<typeof css>;
|
|
505
|
-
//#endregion
|
|
506
|
-
//#region src/helpers/getBackgroundGradient/getSemiRandomBackgroundGradient.d.ts
|
|
507
444
|
/**
|
|
508
445
|
* Retrieves a semi-random background gradient based on the given id.
|
|
509
446
|
*
|
|
@@ -511,11 +448,7 @@ export declare const getBackgroundGradient: (gradientName?: GetBackgroundGradien
|
|
|
511
448
|
* @returns {GradientName} gradientName
|
|
512
449
|
*/
|
|
513
450
|
export declare const getSemiRandomBackgroundGradient: (id: string) => GradientNameType;
|
|
514
|
-
//#endregion
|
|
515
|
-
//#region src/helpers/mergeRefs/mergeRefs.d.ts
|
|
516
451
|
export declare const mergeRefs: <T = unknown>(refs: (LegacyRef<T> | MutableRefObject<T> | null | undefined)[]) => RefCallback<T>;
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/helpers/mq/mq.d.ts
|
|
519
452
|
type MqFn = () => string;
|
|
520
453
|
export declare const mq: {
|
|
521
454
|
xsAndUp: MqFn;
|
|
@@ -529,8 +462,6 @@ export declare const mq: {
|
|
|
529
462
|
lgAndDown: MqFn;
|
|
530
463
|
xlAndDown: MqFn;
|
|
531
464
|
};
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region src/helpers/stripExtension/stripExtension.d.ts
|
|
534
465
|
/**
|
|
535
466
|
* Removes file extension from string
|
|
536
467
|
*
|
|
@@ -538,21 +469,13 @@ export declare const mq: {
|
|
|
538
469
|
* @returns {string} - string with file extension removed
|
|
539
470
|
*/
|
|
540
471
|
export declare const stripExtension: (str: string) => string;
|
|
541
|
-
//#endregion
|
|
542
|
-
//#region src/hooks/useAriaLive/useAriaLive.d.ts
|
|
543
472
|
type AriaLiveContextType = {
|
|
544
473
|
announce: (message: string, politeness?: "assertive" | "polite") => void;
|
|
545
474
|
};
|
|
546
475
|
export declare const useAriaLive: () => AriaLiveContextType;
|
|
547
|
-
//#endregion
|
|
548
|
-
//#region src/hooks/useBoolean/useBoolean.d.ts
|
|
549
476
|
type UseBooleanReturn = [boolean, () => void, () => void, () => void, Dispatch<SetStateAction<boolean>>];
|
|
550
477
|
export declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
|
|
551
|
-
//#endregion
|
|
552
|
-
//#region src/hooks/useClipboard/useClipboard.d.ts
|
|
553
478
|
export declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
|
|
554
|
-
//#endregion
|
|
555
|
-
//#region src/hooks/useElementObserver/useElementObserver.d.ts
|
|
556
479
|
type Rect = {
|
|
557
480
|
width: number;
|
|
558
481
|
height: number;
|
|
@@ -564,8 +487,6 @@ type Rect = {
|
|
|
564
487
|
y: number;
|
|
565
488
|
};
|
|
566
489
|
export declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | null>, Rect];
|
|
567
|
-
//#endregion
|
|
568
|
-
//#region src/hooks/useFilePicker/useFilePicker.d.ts
|
|
569
490
|
/**
|
|
570
491
|
* Hook that wraps `useFilePicker` from the use-file-picker library
|
|
571
492
|
*
|
|
@@ -578,18 +499,12 @@ export declare const useFilePicker: <T extends UseFilePickerConfig = UseFilePick
|
|
|
578
499
|
* @param config Optional configuration for the imperative file picker
|
|
579
500
|
*/
|
|
580
501
|
export declare const useImperativeFilePicker: <T extends useImperativeFilePickerConfig = useImperativeFilePickerConfig>(config?: T) => ImperativeFilePickerReturnTypes<ExtractContentTypeFromConfig<T>>;
|
|
581
|
-
//#endregion
|
|
582
|
-
//#region src/hooks/useFocusTrap/useFocusTrap.d.ts
|
|
583
502
|
type UseFocusTrapOptions = {
|
|
584
503
|
disableAriaHider?: boolean;
|
|
585
504
|
focusSelector?: HTMLElement | RefObject<HTMLElement | null> | string | null | undefined;
|
|
586
505
|
};
|
|
587
506
|
export declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => ((node: HTMLElement | null | undefined) => void);
|
|
588
|
-
//#endregion
|
|
589
|
-
//#region src/hooks/useForceUpdate/useForceUpdate.d.ts
|
|
590
507
|
export declare const useForceUpdate: () => (() => void);
|
|
591
|
-
//#endregion
|
|
592
|
-
//#region src/hooks/useIsHovered/useIsHovered.d.ts
|
|
593
508
|
type HoverProps = {
|
|
594
509
|
onFocus: () => void;
|
|
595
510
|
onMouseEnter: () => void;
|
|
@@ -599,11 +514,7 @@ type HoverProps = {
|
|
|
599
514
|
};
|
|
600
515
|
type UseIsHoveredReturnType = [boolean, HoverProps, (hovered: boolean) => void];
|
|
601
516
|
export declare const useIsHovered: () => UseIsHoveredReturnType;
|
|
602
|
-
//#endregion
|
|
603
|
-
//#region src/private/hooks/useEvent/useEvent.d.ts
|
|
604
517
|
declare const useEvent: <T extends Event>(eventName: string, eventHandler: (event: T) => unknown, eventTarget?: unknown, eventOptions?: AddEventListenerOptions | boolean | undefined) => void;
|
|
605
|
-
//#endregion
|
|
606
|
-
//#region src/hooks/useKey/useKey.d.ts
|
|
607
518
|
type EventHandler = (event: KeyboardEvent) => void;
|
|
608
519
|
type KeyFilterPredicate = (evt: KeyboardEvent) => boolean;
|
|
609
520
|
type KeyFilter = KeyFilterPredicate | boolean | string | null | undefined;
|
|
@@ -613,23 +524,15 @@ type UseKeyOptions = {
|
|
|
613
524
|
eventOptions?: Parameters<typeof useEvent>[3];
|
|
614
525
|
};
|
|
615
526
|
export declare const useKey: (key: KeyFilter, eventHandler: EventHandler, { eventName, eventTarget, eventOptions }?: UseKeyOptions) => void;
|
|
616
|
-
//#endregion
|
|
617
|
-
//#region src/hooks/useKeyPress/useKeyPress.d.ts
|
|
618
527
|
type KeyPressState = [boolean, KeyboardEvent | null];
|
|
619
528
|
type UseKeyPressOptions = {
|
|
620
529
|
onKeyDown?: (event: KeyboardEvent) => void;
|
|
621
530
|
onKeyUp?: (event: KeyboardEvent) => void;
|
|
622
531
|
};
|
|
623
532
|
export declare const useKeyPress: (keyFilter: Parameters<typeof useKey>[0], options?: UseKeyPressOptions) => KeyPressState;
|
|
624
|
-
//#endregion
|
|
625
|
-
//#region src/hooks/useLocalStorage/useLocalStorage.d.ts
|
|
626
533
|
type SetItemType = Storage["setItem"];
|
|
627
534
|
export declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialValue: T, storage?: Storage) => [T | undefined, (newValue: T) => void, () => void];
|
|
628
|
-
//#endregion
|
|
629
|
-
//#region src/hooks/useLockBodyScroll/useLockBodyScroll.d.ts
|
|
630
535
|
export declare const useLockBodyScroll: (locked: boolean) => void;
|
|
631
|
-
//#endregion
|
|
632
|
-
//#region src/hooks/useMq/useMq.d.ts
|
|
633
536
|
type UseMqReturnType = {
|
|
634
537
|
isXlAndUp: boolean;
|
|
635
538
|
isLgAndUp: boolean;
|
|
@@ -645,15 +548,9 @@ type UseMqReturnType = {
|
|
|
645
548
|
export declare const useMq: () => UseMqReturnType;
|
|
646
549
|
type UseActiveMqReturnType = keyof UseMqReturnType;
|
|
647
550
|
export declare const useActiveMq: () => UseActiveMqReturnType[];
|
|
648
|
-
//#endregion
|
|
649
|
-
//#region src/hooks/useOnClickOutside/useOnClickOutside.d.ts
|
|
650
551
|
type EventType = "focusin" | "focusout" | "mousedown" | "mouseup" | "touchend" | "touchstart";
|
|
651
552
|
export declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
|
|
652
|
-
//#endregion
|
|
653
|
-
//#region src/hooks/usePreviousValue/usePreviousValue.d.ts
|
|
654
553
|
export declare const usePreviousValue: <T>(value: T) => T | undefined;
|
|
655
|
-
//#endregion
|
|
656
|
-
//#region src/components/Link/Link.d.ts
|
|
657
554
|
type LinkTypes = "default" | "email" | "external" | "phone";
|
|
658
555
|
type ReactRouterLinkProps = {
|
|
659
556
|
/**
|
|
@@ -749,11 +646,7 @@ type LinkProps = LinkAsButtonProps | LinkAsLinkProps;
|
|
|
749
646
|
export declare const Link: ({ beforeAction, children, type, disabled, colorScheme, underline, inheritColor, leftIcon, rightIcon, "aria-disabled": ariaDisabled, role, ref, ...props }: LinkProps & {
|
|
750
647
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
751
648
|
}) => JSX.Element | null;
|
|
752
|
-
//#endregion
|
|
753
|
-
//#region src/components/Button/buttonStyles.d.ts
|
|
754
649
|
type ButtonVariants = "ghost" | "outline" | "soft" | "solid";
|
|
755
|
-
//#endregion
|
|
756
|
-
//#region src/components/Button/Button.d.ts
|
|
757
650
|
type ButtonSizes = "lg" | "md" | "sm" | "xl";
|
|
758
651
|
type ButtonLabelAlign = "center" | "left";
|
|
759
652
|
type BaseButtonProps = {
|
|
@@ -853,8 +746,6 @@ type ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;
|
|
|
853
746
|
export declare const Button: ({ children, forceState, className, leftIcon, rightIcon, colorScheme, disabled, isLoading, unstyled, onClick, fullWidth, labelAlign, size, variant, ref, ...props }: ButtonProps & {
|
|
854
747
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
855
748
|
}) => JSX.Element;
|
|
856
|
-
//#endregion
|
|
857
|
-
//#region src/private/components/Toast/Toast.d.ts
|
|
858
749
|
type ToastProps = ComponentPropsWithoutRef<"div"> & {
|
|
859
750
|
/**
|
|
860
751
|
* Optional `Button` component to render as the toast action
|
|
@@ -873,8 +764,6 @@ type ToastProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
873
764
|
*/
|
|
874
765
|
message: ReactNode;
|
|
875
766
|
};
|
|
876
|
-
//#endregion
|
|
877
|
-
//#region src/hooks/useToast/useToast.d.ts
|
|
878
767
|
type ToastPosition = "bottom-center" | "bottom-left" | "bottom-right" | "top-center" | "top-left" | "top-right";
|
|
879
768
|
type UseToastProps = ToastProps & {
|
|
880
769
|
position?: ToastPosition;
|
|
@@ -893,14 +782,10 @@ type UseToastReturnValue = {
|
|
|
893
782
|
};
|
|
894
783
|
type UseToastReturnType = ({ message, icon, colorScheme, action, position, duration }: UseToastProps) => UseToastReturnValue;
|
|
895
784
|
export declare const useToast: () => UseToastReturnType;
|
|
896
|
-
//#endregion
|
|
897
|
-
//#region src/hooks/useWindowSize/useWindowSize.d.ts
|
|
898
785
|
export declare const useWindowSize: (interval?: number) => {
|
|
899
786
|
width: number;
|
|
900
787
|
height: number;
|
|
901
788
|
};
|
|
902
|
-
//#endregion
|
|
903
|
-
//#region src/components/ActionButton/ActionButton.d.ts
|
|
904
789
|
type ActionButtonProps = {
|
|
905
790
|
/**
|
|
906
791
|
* @override
|
|
@@ -937,8 +822,6 @@ type ActionButtonProps = {
|
|
|
937
822
|
export declare const ActionButton: ({ icon, colorScheme, disabled, forceState, hoverColorScheme, variant, children, ref, ...props }: ActionButtonProps & {
|
|
938
823
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
939
824
|
}) => JSX.Element;
|
|
940
|
-
//#endregion
|
|
941
|
-
//#region src/components/Avatar/Avatar.d.ts
|
|
942
825
|
type AvatarInstanceType = "image" | "initials";
|
|
943
826
|
type AvatarImageLoadStateType = "error" | "loaded" | "loading";
|
|
944
827
|
type AvatarSizeType = "lg" | "md" | "sm";
|
|
@@ -974,8 +857,6 @@ type AvatarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
974
857
|
* An avatar uses a photo or initials to represent an identity.
|
|
975
858
|
*/
|
|
976
859
|
export declare const Avatar: FC<AvatarProps>;
|
|
977
|
-
//#endregion
|
|
978
|
-
//#region src/components/Badge/Badge.d.ts
|
|
979
860
|
type BadgeVariants = "default" | "outline";
|
|
980
861
|
type BadgeProps = ComponentPropsWithoutRef<"div"> & {
|
|
981
862
|
/**
|
|
@@ -1001,8 +882,6 @@ type BadgeProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1001
882
|
export declare const Badge: ({ colorScheme, label, icon, variant, ref, ...props }: BadgeProps & {
|
|
1002
883
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
1003
884
|
}) => JSX.Element;
|
|
1004
|
-
//#endregion
|
|
1005
|
-
//#region src/components/Banner/Banner.d.ts
|
|
1006
885
|
type BannerProps = ComponentPropsWithoutRef<"div"> & {
|
|
1007
886
|
/**
|
|
1008
887
|
* The main text content displayed in the banner
|
|
@@ -1034,8 +913,6 @@ type BannerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1034
913
|
* The `Banner` component is for displaying contextual information to the user such as alerts or feature announcements.
|
|
1035
914
|
*/
|
|
1036
915
|
export declare const Banner: FC<BannerProps>;
|
|
1037
|
-
//#endregion
|
|
1038
|
-
//#region src/css/designTokens/generated/types.d.ts
|
|
1039
916
|
/**
|
|
1040
917
|
* AUTOGENERATED by scripts/generateDesignTokenTypes.mjs. DO NOT EDIT.
|
|
1041
918
|
*
|
|
@@ -1044,8 +921,6 @@ export declare const Banner: FC<BannerProps>;
|
|
|
1044
921
|
*/
|
|
1045
922
|
type Spacings = "space-00" | "space-01" | "space-02" | "space-03" | "space-04" | "space-05" | "space-06" | "space-07" | "space-08" | "space-09";
|
|
1046
923
|
type BorderRadius = "border-radius-00" | "border-radius-01" | "border-radius-02" | "border-radius-03" | "border-radius-04" | "border-radius-05" | "border-radius-rounded";
|
|
1047
|
-
//#endregion
|
|
1048
|
-
//#region src/private/helpers/makePolymorphic/makePolymorphic.d.ts
|
|
1049
924
|
type UnknownRecord = Record<string, unknown>;
|
|
1050
925
|
type PropsOf<Component extends ElementType> = ComponentPropsWithoutRef<Component>;
|
|
1051
926
|
type ExtendedProps<Props = UnknownRecord, OverrideProps = UnknownRecord> = Omit<Props, keyof OverrideProps> & OverrideProps;
|
|
@@ -1063,15 +938,11 @@ type PolymorphicComponentProps<Component extends ElementType, Props = UnknownRec
|
|
|
1063
938
|
ref?: ComponentPropsWithRef<Component>["ref"];
|
|
1064
939
|
};
|
|
1065
940
|
type PolymorphicComponent<ComponentDefaultType extends ElementType, Props> = <C extends ElementType = ComponentDefaultType>(props: PolymorphicComponentProps<C, Props>) => ReactElement | null;
|
|
1066
|
-
//#endregion
|
|
1067
|
-
//#region src/components/Box/flexTypes.d.ts
|
|
1068
941
|
type JustifyContentType = 'center' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'space-evenly';
|
|
1069
942
|
type AlignContentType = 'center' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'stretch';
|
|
1070
943
|
type AlignItemsType = 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
1071
944
|
type AlignSelfType = 'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
1072
945
|
type DirectionType = 'column-reverse' | 'column' | 'row-reverse' | 'row';
|
|
1073
|
-
//#endregion
|
|
1074
|
-
//#region src/components/Box/Box.d.ts
|
|
1075
946
|
type BoxFillType = boolean | "horizontal" | "vertical";
|
|
1076
947
|
type Gap = {
|
|
1077
948
|
column: Spacings;
|
|
@@ -1246,8 +1117,6 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$4> & {
|
|
|
1246
1117
|
* Box is a layout container using [CSS Flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox).
|
|
1247
1118
|
*/
|
|
1248
1119
|
export declare const Box: PolymorphicComponent<typeof DEFAULT_ELEMENT$4, BoxProps>;
|
|
1249
|
-
//#endregion
|
|
1250
|
-
//#region src/components/Breadcrumbs/Breadcrumbs.d.ts
|
|
1251
1120
|
type BreadcrumbsProps = ComponentPropsWithoutRef<"nav"> & {
|
|
1252
1121
|
/**
|
|
1253
1122
|
* The crumbs, from the top of the hierarchy down. Should be `Breadcrumb` components; the last one, without
|
|
@@ -1267,8 +1136,6 @@ type BreadcrumbsProps = ComponentPropsWithoutRef<"nav"> & {
|
|
|
1267
1136
|
* a time, and the current page is always shown.
|
|
1268
1137
|
*/
|
|
1269
1138
|
export declare const Breadcrumbs: ({ children, collapsible, ...props }: BreadcrumbsProps) => JSX.Element;
|
|
1270
|
-
//#endregion
|
|
1271
|
-
//#region src/components/Breadcrumbs/Breadcrumb.d.ts
|
|
1272
1139
|
type LinkOnlyProps = Pick<Extract<LinkProps, {
|
|
1273
1140
|
href: string | undefined;
|
|
1274
1141
|
}>, "beforeAction" | "preventScrollReset" | "reloadDocument" | "replace" | "state" | "viewTransition">;
|
|
@@ -1296,8 +1163,6 @@ type BreadcrumbProps = LinkOnlyProps & Omit<ComponentPropsWithoutRef<"a">, "chil
|
|
|
1296
1163
|
* current page.
|
|
1297
1164
|
*/
|
|
1298
1165
|
export declare const Breadcrumb: ({ children, href, icon, hideLabel, title, ...props }: BreadcrumbProps) => JSX.Element;
|
|
1299
|
-
//#endregion
|
|
1300
|
-
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
1301
1166
|
type ButtonGroupButtonSize = ButtonSizes | "natural";
|
|
1302
1167
|
type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
1303
1168
|
/**
|
|
@@ -1329,8 +1194,6 @@ type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1329
1194
|
* with a standardized gap between them.
|
|
1330
1195
|
*/
|
|
1331
1196
|
export declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
1332
|
-
//#endregion
|
|
1333
|
-
//#region src/components/Card/Card.d.ts
|
|
1334
1197
|
type CardProps = BoxProps & ComponentPropsWithoutRef<"div"> & {
|
|
1335
1198
|
/**
|
|
1336
1199
|
* Content to be rendered inside the Card component
|
|
@@ -1430,8 +1293,6 @@ type CardProps = BoxProps & ComponentPropsWithoutRef<"div"> & {
|
|
|
1430
1293
|
* Cards can be used to visually distinguish content sections. Extends the [Box component.](/components/Box)
|
|
1431
1294
|
*/
|
|
1432
1295
|
export declare const Card: FC<CardProps>;
|
|
1433
|
-
//#endregion
|
|
1434
|
-
//#region src/components/Center/Center.d.ts
|
|
1435
1296
|
type CenterProps = ComponentPropsWithoutRef<"div"> & {
|
|
1436
1297
|
/**
|
|
1437
1298
|
* A CSS max-width value
|
|
@@ -1457,8 +1318,6 @@ type CenterProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1457
1318
|
export declare const Center: ({ maxWidth, gutterWidth, intrinsic, children, ref, ...props }: CenterProps & {
|
|
1458
1319
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
1459
1320
|
}) => JSX.Element;
|
|
1460
|
-
//#endregion
|
|
1461
|
-
//#region src/components/Checkbox/Checkbox.d.ts
|
|
1462
1321
|
type CheckboxSizeType = "lg" | "md" | "sm";
|
|
1463
1322
|
type CheckboxProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label" | "onChange" | "size"> & {
|
|
1464
1323
|
/**
|
|
@@ -1512,8 +1371,6 @@ type CheckboxProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "labe
|
|
|
1512
1371
|
export declare const Checkbox: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: CheckboxProps & {
|
|
1513
1372
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
1514
1373
|
}) => JSX.Element;
|
|
1515
|
-
//#endregion
|
|
1516
|
-
//#region src/components/CheckboxCard/CheckboxCardDefaultLayout.d.ts
|
|
1517
1374
|
type CheckboxCardDefaultLayoutProps = {
|
|
1518
1375
|
/**
|
|
1519
1376
|
* The icon to display
|
|
@@ -1540,8 +1397,6 @@ type CheckboxCardDefaultLayoutProps = {
|
|
|
1540
1397
|
*/
|
|
1541
1398
|
isGated?: boolean | undefined;
|
|
1542
1399
|
};
|
|
1543
|
-
//#endregion
|
|
1544
|
-
//#region src/components/CheckboxCard/CheckboxCard.d.ts
|
|
1545
1400
|
type BaseCheckboxCardProps = Omit<ComponentPropsWithoutRef<"input">, "checked" | "disabled" | "id" | "name" | "onChange" | "value"> & {
|
|
1546
1401
|
/**
|
|
1547
1402
|
* Indicates the state of the checkbox
|
|
@@ -1597,8 +1452,6 @@ type CheckboxCardProps = CheckboxCardWithChildren | CheckboxCardWithDefaultLayou
|
|
|
1597
1452
|
export declare const CheckboxCard: ({ icon, label, description, showIndicator, isGated, children, padding, ref, ...rootProps }: CheckboxCardProps & {
|
|
1598
1453
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
1599
1454
|
}) => JSX.Element;
|
|
1600
|
-
//#endregion
|
|
1601
|
-
//#region src/components/ClickRegion/ClickRegion.d.ts
|
|
1602
1455
|
type ClickRegionProps = {
|
|
1603
1456
|
/**
|
|
1604
1457
|
* The content that should be clickable.
|
|
@@ -1620,8 +1473,6 @@ type ClickRegionProps = {
|
|
|
1620
1473
|
* In either case, a link or button must be present, but can be hidden by using `ScreenReaderOnly`.
|
|
1621
1474
|
*/
|
|
1622
1475
|
export declare const ClickRegion: FC<ClickRegionProps>;
|
|
1623
|
-
//#endregion
|
|
1624
|
-
//#region src/components/Collapsible/Collapsible.d.ts
|
|
1625
1476
|
type CollapsibleProps = {
|
|
1626
1477
|
/**
|
|
1627
1478
|
* `CollapsibleTrigger` and `CollapsibleContent` must be included somewhere inside these children.
|
|
@@ -1640,8 +1491,6 @@ type CollapsibleProps = {
|
|
|
1640
1491
|
* Toggle the visibility of content with a trigger.
|
|
1641
1492
|
*/
|
|
1642
1493
|
export declare const Collapsible: FC<CollapsibleProps>;
|
|
1643
|
-
//#endregion
|
|
1644
|
-
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
1645
1494
|
type CollapsibleTriggerProps = {
|
|
1646
1495
|
/**
|
|
1647
1496
|
* A trigger element that will toggle the collapsible content.
|
|
@@ -1650,14 +1499,10 @@ type CollapsibleTriggerProps = {
|
|
|
1650
1499
|
children: ReactElement;
|
|
1651
1500
|
};
|
|
1652
1501
|
export declare const CollapsibleTrigger: ({ children }: CollapsibleTriggerProps) => JSX.Element;
|
|
1653
|
-
//#endregion
|
|
1654
|
-
//#region src/components/Collapsible/CollapsibleTriggerIcon.d.ts
|
|
1655
1502
|
type CollapsibleTriggerIconProps = Omit<IconProps, "type"> & {
|
|
1656
1503
|
type: Extract<IconProps["type"], "caret-left-strong" | "caret-left" | "caret-right-strong" | "caret-right" | "plus">;
|
|
1657
1504
|
};
|
|
1658
1505
|
export declare const CollapsibleTriggerIcon: FC<CollapsibleTriggerIconProps>;
|
|
1659
|
-
//#endregion
|
|
1660
|
-
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
1661
1506
|
type CollapsibleContentProps = {
|
|
1662
1507
|
/**
|
|
1663
1508
|
* The number of lines to clamp the content to when `Collapsible` is closed.
|
|
@@ -1669,8 +1514,6 @@ type CollapsibleContentProps = {
|
|
|
1669
1514
|
children: ReactNode;
|
|
1670
1515
|
};
|
|
1671
1516
|
export declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => JSX.Element;
|
|
1672
|
-
//#endregion
|
|
1673
|
-
//#region src/components/ColorPicker/ColorGrid.d.ts
|
|
1674
1517
|
type ColorGridProps = PropsWithChildren & {
|
|
1675
1518
|
label?: string;
|
|
1676
1519
|
};
|
|
@@ -1679,8 +1522,6 @@ type ColorGridProps = PropsWithChildren & {
|
|
|
1679
1522
|
* as children and pass an optional `label` for a heading.
|
|
1680
1523
|
*/
|
|
1681
1524
|
export declare const ColorGrid: FC<ColorGridProps>;
|
|
1682
|
-
//#endregion
|
|
1683
|
-
//#region src/components/ColorPicker/types.d.ts
|
|
1684
1525
|
type ColorPickerOption = {
|
|
1685
1526
|
/**
|
|
1686
1527
|
* The human-readable name of the color, if available.
|
|
@@ -1691,16 +1532,12 @@ type ColorPickerOption = {
|
|
|
1691
1532
|
*/
|
|
1692
1533
|
value: string;
|
|
1693
1534
|
};
|
|
1694
|
-
//#endregion
|
|
1695
|
-
//#region src/components/ColorPicker/ColorGridOption.d.ts
|
|
1696
1535
|
type ColorGridOptionProps = ColorPickerOption;
|
|
1697
1536
|
/**
|
|
1698
1537
|
* A single selectable color swatch for use inside a `ColorGrid`. Renders as
|
|
1699
1538
|
* a radio item with a tooltip showing the color's name or hex code.
|
|
1700
1539
|
*/
|
|
1701
1540
|
export declare const ColorGridOption: FC<ColorGridOptionProps>;
|
|
1702
|
-
//#endregion
|
|
1703
|
-
//#region src/components/ColorPicker/ColorList.d.ts
|
|
1704
1541
|
type ColorListProps = PropsWithChildren;
|
|
1705
1542
|
/**
|
|
1706
1543
|
* Displays color options as a vertical list of labeled rows. Use
|
|
@@ -1708,8 +1545,6 @@ type ColorListProps = PropsWithChildren;
|
|
|
1708
1545
|
* `ColorListOption` for individual items.
|
|
1709
1546
|
*/
|
|
1710
1547
|
export declare const ColorList: FC<ColorListProps>;
|
|
1711
|
-
//#endregion
|
|
1712
|
-
//#region src/components/ColorPicker/ColorListGroup.d.ts
|
|
1713
1548
|
type ColorListGroupProps = PropsWithChildren<{
|
|
1714
1549
|
label: string;
|
|
1715
1550
|
}>;
|
|
@@ -1717,16 +1552,12 @@ type ColorListGroupProps = PropsWithChildren<{
|
|
|
1717
1552
|
* Groups `ColorListOption` items under a labeled heading within a `ColorList`.
|
|
1718
1553
|
*/
|
|
1719
1554
|
export declare const ColorListGroup: FC<ColorListGroupProps>;
|
|
1720
|
-
//#endregion
|
|
1721
|
-
//#region src/components/ColorPicker/ColorListOption.d.ts
|
|
1722
1555
|
type ColorListOptionProps = ColorPickerOption;
|
|
1723
1556
|
/**
|
|
1724
1557
|
* A single selectable row for use inside a `ColorList`. Displays a color
|
|
1725
1558
|
* swatch alongside the color's name (if provided) or hex code.
|
|
1726
1559
|
*/
|
|
1727
1560
|
export declare const ColorListOption: FC<ColorListOptionProps>;
|
|
1728
|
-
//#endregion
|
|
1729
|
-
//#region src/components/ColorPicker/ColorPicker.d.ts
|
|
1730
1561
|
type ColorPickerProps = PropsWithChildren<{
|
|
1731
1562
|
/**
|
|
1732
1563
|
* The color to compare against when checking contrast ratio.
|
|
@@ -1777,24 +1608,18 @@ type ColorPickerComponentProps = ComponentPropsWithoutRef<"div"> & ColorPickerPr
|
|
|
1777
1608
|
* sensible defaults (brand colors, contrast controls, popover/inline modes).
|
|
1778
1609
|
*/
|
|
1779
1610
|
export declare const ColorPicker: FC<ColorPickerComponentProps>;
|
|
1780
|
-
//#endregion
|
|
1781
|
-
//#region src/components/ColorPicker/ColorPickerPopoverContent.d.ts
|
|
1782
1611
|
type ColorPickerPopoverContentProps = PropsWithChildren;
|
|
1783
1612
|
/**
|
|
1784
1613
|
* The popover panel that opens when the `ColorPickerTrigger` is activated.
|
|
1785
1614
|
* Use `ColorPickerSection` to organize content within it.
|
|
1786
1615
|
*/
|
|
1787
1616
|
export declare const ColorPickerPopoverContent: FC<ColorPickerPopoverContentProps>;
|
|
1788
|
-
//#endregion
|
|
1789
|
-
//#region src/components/ColorPicker/ColorPickerSection.d.ts
|
|
1790
1617
|
type ColorPickerSectionProps = PropsWithChildren;
|
|
1791
1618
|
/**
|
|
1792
1619
|
* A padded section for grouping related controls within a
|
|
1793
1620
|
* `ColorPickerPopoverContent`. Provides consistent spacing between sections.
|
|
1794
1621
|
*/
|
|
1795
1622
|
export declare const ColorPickerSection: FC<ColorPickerSectionProps>;
|
|
1796
|
-
//#endregion
|
|
1797
|
-
//#region src/components/ColorPicker/ColorPickerTrigger.d.ts
|
|
1798
1623
|
type ColorPickerTriggerProps = ComponentPropsWithoutRef<"button">;
|
|
1799
1624
|
/**
|
|
1800
1625
|
* The button that toggles the color picker popover open and closed. By default
|
|
@@ -1804,8 +1629,6 @@ type ColorPickerTriggerProps = ComponentPropsWithoutRef<"button">;
|
|
|
1804
1629
|
export declare const ColorPickerTrigger: ({ children, ref, ...props }: ColorPickerTriggerProps & {
|
|
1805
1630
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
1806
1631
|
}) => JSX.Element;
|
|
1807
|
-
//#endregion
|
|
1808
|
-
//#region src/components/ColorPicker/ContrastControls.d.ts
|
|
1809
1632
|
type ContrastControlsProps = object;
|
|
1810
1633
|
/**
|
|
1811
1634
|
* Displays a preview of the selected color against the comparison color, the
|
|
@@ -1814,14 +1637,8 @@ type ContrastControlsProps = object;
|
|
|
1814
1637
|
* `ColorPicker`.
|
|
1815
1638
|
*/
|
|
1816
1639
|
export declare const ContrastControls: FC<ContrastControlsProps>;
|
|
1817
|
-
//#endregion
|
|
1818
|
-
//#region src/components/ColorPicker/ContrastIndicator.d.ts
|
|
1819
1640
|
export declare const ContrastIndicator: () => JSX.Element;
|
|
1820
|
-
//#endregion
|
|
1821
|
-
//#region src/components/ColorPicker/ContrastPreview.d.ts
|
|
1822
1641
|
export declare const ContrastPreview: () => JSX.Element;
|
|
1823
|
-
//#endregion
|
|
1824
|
-
//#region src/components/ColorPicker/ContrastEnforcerSwitch.d.ts
|
|
1825
1642
|
/**
|
|
1826
1643
|
* Switch for contrast enforcement features.
|
|
1827
1644
|
*
|
|
@@ -1829,8 +1646,6 @@ export declare const ContrastPreview: () => JSX.Element;
|
|
|
1829
1646
|
* which automatically adjusts colors to meet accessibility standards.
|
|
1830
1647
|
*/
|
|
1831
1648
|
export declare const ContrastEnforcerSwitch: () => JSX.Element | null;
|
|
1832
|
-
//#endregion
|
|
1833
|
-
//#region src/components/ColorPicker/HexColorInput.d.ts
|
|
1834
1649
|
type HexColorInputProps = {
|
|
1835
1650
|
/**
|
|
1836
1651
|
* Whether the input should recieve focus automatically on mount.
|
|
@@ -1843,8 +1658,6 @@ type HexColorInputProps = {
|
|
|
1843
1658
|
* nudging of saturation. Auto-focuses by default for quick paste workflows.
|
|
1844
1659
|
*/
|
|
1845
1660
|
export declare const HexColorInput: FC<HexColorInputProps>;
|
|
1846
|
-
//#endregion
|
|
1847
|
-
//#region src/components/ColorPicker/HueSlider.d.ts
|
|
1848
1661
|
type HueSliderProps = object;
|
|
1849
1662
|
/**
|
|
1850
1663
|
* A horizontal slider for adjusting the hue of the current color, rendered
|
|
@@ -1852,8 +1665,6 @@ type HueSliderProps = object;
|
|
|
1852
1665
|
* hue, saturation, and value.
|
|
1853
1666
|
*/
|
|
1854
1667
|
export declare const HueSlider: FC<HueSliderProps>;
|
|
1855
|
-
//#endregion
|
|
1856
|
-
//#region src/components/ColorPicker/SaturationAndValuePicker.d.ts
|
|
1857
1668
|
type SaturationAndValuePickerProps = {
|
|
1858
1669
|
dataTestId?: string;
|
|
1859
1670
|
};
|
|
@@ -1864,39 +1675,29 @@ type SaturationAndValuePickerProps = {
|
|
|
1864
1675
|
* is drawn on the canvas.
|
|
1865
1676
|
*/
|
|
1866
1677
|
export declare const SaturationAndValuePicker: FC<SaturationAndValuePickerProps>;
|
|
1867
|
-
//#endregion
|
|
1868
|
-
//#region src/components/ColorPicker/ValueNameOrHexCode.d.ts
|
|
1869
1678
|
type ValueNameOrHexCodeProps = object;
|
|
1870
1679
|
/**
|
|
1871
1680
|
* Displays the name of the current color (if it matches a known color name)
|
|
1872
1681
|
* or its hex code. Reads the current value from ColorPicker context.
|
|
1873
1682
|
*/
|
|
1874
1683
|
export declare const ValueNameOrHexCode: FC<ValueNameOrHexCodeProps>;
|
|
1875
|
-
//#endregion
|
|
1876
|
-
//#region src/components/ColorPicker/ColorSwatch.d.ts
|
|
1877
1684
|
type ColorSwatchProps = PropsWithChildren<{
|
|
1878
1685
|
derivativeIsSelected?: boolean;
|
|
1879
1686
|
diameterPx?: number;
|
|
1880
1687
|
isSelected?: boolean;
|
|
1881
1688
|
value: string;
|
|
1882
1689
|
}>;
|
|
1883
|
-
//#endregion
|
|
1884
|
-
//#region src/components/ColorPicker/ValueSwatch.d.ts
|
|
1885
1690
|
type ValueSwatchProps = Pick<ColorSwatchProps, "diameterPx">;
|
|
1886
1691
|
/**
|
|
1887
1692
|
* Renders a circular color swatch filled with the current color from
|
|
1888
1693
|
* ColorPicker context. Accepts an optional `diameterPx` to control size.
|
|
1889
1694
|
*/
|
|
1890
1695
|
export declare const ValueSwatch: FC<ValueSwatchProps>;
|
|
1891
|
-
//#endregion
|
|
1892
|
-
//#region src/components/ColorPicker/contrast-utils.d.ts
|
|
1893
1696
|
export declare const calculateContrast: ({ backgroundColor, foregroundColor, backgroundOpacity }: {
|
|
1894
1697
|
backgroundColor: Color | string;
|
|
1895
1698
|
foregroundColor?: Color | string;
|
|
1896
1699
|
backgroundOpacity?: number;
|
|
1897
1700
|
}) => number;
|
|
1898
|
-
//#endregion
|
|
1899
|
-
//#region src/components/Combobox/Combobox.d.ts
|
|
1900
1701
|
type ComboboxProps = {
|
|
1901
1702
|
/**
|
|
1902
1703
|
* Accessible name for the combobox input. The input renders without a
|
|
@@ -1950,15 +1751,11 @@ type ComboboxProps = {
|
|
|
1950
1751
|
* 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.
|
|
1951
1752
|
*/
|
|
1952
1753
|
export declare const Combobox: ({ "aria-label": ariaLabel, placeholder, value, onChange, searchValue, onSearchValueChange, displayValues, children, flipPopover, forceOpen, fullWidth }: ComboboxProps) => JSX.Element;
|
|
1953
|
-
//#endregion
|
|
1954
|
-
//#region src/components/Combobox/ComboboxOption.d.ts
|
|
1955
1754
|
type ComboboxOptionProps = {
|
|
1956
1755
|
value: string;
|
|
1957
1756
|
children: ReactNode;
|
|
1958
1757
|
};
|
|
1959
1758
|
export declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => JSX.Element;
|
|
1960
|
-
//#endregion
|
|
1961
|
-
//#region src/components/ContextMenu/ContextMenu.d.ts
|
|
1962
1759
|
type ContextMenuProps = {
|
|
1963
1760
|
children: ReactNode;
|
|
1964
1761
|
onRequestClose?: () => void;
|
|
@@ -1985,8 +1782,6 @@ type ContextMenuProps = {
|
|
|
1985
1782
|
* 2. By providing a `position` prop, which will render the menu at the specified coordinates.
|
|
1986
1783
|
*/
|
|
1987
1784
|
export declare const ContextMenu: ({ position, triggerRef, children, side, onRequestClose, compact }: ContextMenuProps) => JSX.Element;
|
|
1988
|
-
//#endregion
|
|
1989
|
-
//#region src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.d.ts
|
|
1990
1785
|
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";
|
|
1991
1786
|
type CustomizableThemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
1992
1787
|
children: ReactNode;
|
|
@@ -1997,8 +1792,6 @@ type CustomizableThemeWrapperProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
1997
1792
|
* This should only be used when the ui systems team has been consulted first.
|
|
1998
1793
|
*/
|
|
1999
1794
|
export declare const CustomizableThemeWrapper: FC<CustomizableThemeWrapperProps>;
|
|
2000
|
-
//#endregion
|
|
2001
|
-
//#region src/components/DataCards/DataCard.d.ts
|
|
2002
1795
|
type DataCardProps = ComponentPropsWithoutRef<"div"> & Partial<Pick<ButtonAsLinkProps, "beforeAction" | "disabled" | "href" | "onClick" | "type">> & {
|
|
2003
1796
|
/**
|
|
2004
1797
|
* Label text displayed above the value
|
|
@@ -2034,8 +1827,6 @@ type DataCardProps = ComponentPropsWithoutRef<"div"> & Partial<Pick<ButtonAsLink
|
|
|
2034
1827
|
subtitle?: ReactNode;
|
|
2035
1828
|
};
|
|
2036
1829
|
export declare const DataCard: FC<DataCardProps>;
|
|
2037
|
-
//#endregion
|
|
2038
|
-
//#region src/components/DataCards/DataCards.d.ts
|
|
2039
1830
|
type DataCardsProps = ComponentPropsWithoutRef<"div"> & {
|
|
2040
1831
|
/**
|
|
2041
1832
|
* Should be at least one `DataCard` component
|
|
@@ -2058,8 +1849,6 @@ type DataCardsProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2058
1849
|
* Displays a series of cards tailor made for displaying analytics data
|
|
2059
1850
|
*/
|
|
2060
1851
|
export declare const DataCards: FC<DataCardsProps>;
|
|
2061
|
-
//#endregion
|
|
2062
|
-
//#region src/components/DataCards/DataCardTrend.d.ts
|
|
2063
1852
|
type DataCardTrendProps = {
|
|
2064
1853
|
/**
|
|
2065
1854
|
* Direction of the trend arrow
|
|
@@ -2075,12 +1864,8 @@ type DataCardTrendProps = {
|
|
|
2075
1864
|
children: JSX.Element | string;
|
|
2076
1865
|
};
|
|
2077
1866
|
export declare const DataCardTrend: ({ direction, outlook, children, ...props }: DataCardTrendProps) => JSX.Element;
|
|
2078
|
-
//#endregion
|
|
2079
|
-
//#region src/components/DataCards/DataCardHoverArrow.d.ts
|
|
2080
1867
|
type DataCardHoverArrowProps = object;
|
|
2081
1868
|
export declare const DataCardHoverArrow: FC<DataCardHoverArrowProps>;
|
|
2082
|
-
//#endregion
|
|
2083
|
-
//#region src/components/DataList/DataList.d.ts
|
|
2084
1869
|
type DataListProps = ComponentPropsWithoutRef<"dl"> & {
|
|
2085
1870
|
/**
|
|
2086
1871
|
* Should only contain `DataListItem` components.
|
|
@@ -2103,8 +1888,6 @@ type DataListProps = ComponentPropsWithoutRef<"dl"> & {
|
|
|
2103
1888
|
* The DataList component is used to display a list of items with labels and values.
|
|
2104
1889
|
*/
|
|
2105
1890
|
export declare const DataList: FC<DataListProps>;
|
|
2106
|
-
//#endregion
|
|
2107
|
-
//#region src/components/DataList/DataListItem.d.ts
|
|
2108
1891
|
type DataListItemProps = Omit<ComponentPropsWithoutRef<"dl">, "children"> & {
|
|
2109
1892
|
/**
|
|
2110
1893
|
* Should only contain `DataListItemLabel` and `DataListItemValue` components.
|
|
@@ -2115,16 +1898,12 @@ type DataListItemProps = Omit<ComponentPropsWithoutRef<"dl">, "children"> & {
|
|
|
2115
1898
|
* An item within a `DataList`. It should only contain `DataListItemLabel` and `DataListItemValue` components.
|
|
2116
1899
|
*/
|
|
2117
1900
|
export declare const DataListItem: FC<DataListItemProps>;
|
|
2118
|
-
//#endregion
|
|
2119
|
-
//#region src/css/wordBreakCss.d.ts
|
|
2120
1901
|
/**
|
|
2121
1902
|
* How truncated text breaks onto new lines.
|
|
2122
1903
|
* - `anywhere`: break between any two characters (`word-break: break-all`).
|
|
2123
1904
|
* - `word`: wrap at word boundaries and only break a word that can't fit on its own line.
|
|
2124
1905
|
*/
|
|
2125
1906
|
type WordBreakTypes = "anywhere" | "word";
|
|
2126
|
-
//#endregion
|
|
2127
|
-
//#region src/components/Text/Text.d.ts
|
|
2128
1907
|
type AlignmentTypes = "center" | "justify" | "left" | "right";
|
|
2129
1908
|
type TextTransformTypes = "capitalize" | "lowercase" | "none" | "uppercase";
|
|
2130
1909
|
type TextVariant = "body1" | "body1Mono" | "body2" | "body2Mono" | "body3" | "body3Mono" | "body4" | "body4Mono" | "label1" | "label2" | "label3" | "label4";
|
|
@@ -2201,22 +1980,16 @@ type TextProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2201
1980
|
* Used for rending paragraphs and inline text.
|
|
2202
1981
|
*/
|
|
2203
1982
|
export declare const Text: PolymorphicComponent<typeof DEFAULT_ELEMENT$3, TextProps>;
|
|
2204
|
-
//#endregion
|
|
2205
|
-
//#region src/components/DataList/DataListItemLabel.d.ts
|
|
2206
1983
|
type DataListItemLabelProps = TextProps;
|
|
2207
1984
|
/**
|
|
2208
1985
|
* The label of the `DataListItem`. Extends the [Text](/components/Text) component.
|
|
2209
1986
|
*/
|
|
2210
1987
|
export declare const DataListItemLabel: FC<DataListItemLabelProps>;
|
|
2211
|
-
//#endregion
|
|
2212
|
-
//#region src/components/DataList/DataListItemValue.d.ts
|
|
2213
1988
|
type DataListItemValueProps = TextProps;
|
|
2214
1989
|
/**
|
|
2215
1990
|
* The value of the `DataListItem`. Extends the [Text](/components/Text) component.
|
|
2216
1991
|
*/
|
|
2217
1992
|
export declare const DataListItemValue: FC<DataListItemValueProps>;
|
|
2218
|
-
//#endregion
|
|
2219
|
-
//#region src/components/DatePicker/DatePicker.d.ts
|
|
2220
1993
|
type DatePickerBaseProps = {
|
|
2221
1994
|
/** Earliest selectable date. */
|
|
2222
1995
|
minDate?: Date;
|
|
@@ -2267,8 +2040,6 @@ type DatePickerProps = (DatePickerControlledProps | DatePickerUncontrolledProps)
|
|
|
2267
2040
|
* and a calendar popover for visual date selection.
|
|
2268
2041
|
*/
|
|
2269
2042
|
export declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<HTMLDivElement>>;
|
|
2270
|
-
//#endregion
|
|
2271
|
-
//#region src/components/Dimmer/Dimmer.d.ts
|
|
2272
2043
|
declare const alignVerticalMap: {
|
|
2273
2044
|
stretch: string;
|
|
2274
2045
|
top: string;
|
|
@@ -2309,8 +2080,6 @@ type DimmerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2309
2080
|
export declare const Dimmer: ({ alignHorizontal, alignVertical, children, ref, variant, ...otherProps }: DimmerProps & {
|
|
2310
2081
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
2311
2082
|
}) => JSX.Element;
|
|
2312
|
-
//#endregion
|
|
2313
|
-
//#region src/components/Divider/Divider.d.ts
|
|
2314
2083
|
type DividerProps = ComponentPropsWithoutRef<"div"> & {
|
|
2315
2084
|
/**
|
|
2316
2085
|
* Orientation of the divider.
|
|
@@ -2325,8 +2094,6 @@ type DividerProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2325
2094
|
* A line used to visually separate content; note that dividers have no external margin/spacing on their own.
|
|
2326
2095
|
*/
|
|
2327
2096
|
export declare const Divider: FC<DividerProps>;
|
|
2328
|
-
//#endregion
|
|
2329
|
-
//#region src/components/Heading/Heading.d.ts
|
|
2330
2097
|
declare const headingVariantStyleMap: {
|
|
2331
2098
|
hero: RuleSet<object>;
|
|
2332
2099
|
heading1: RuleSet<object>;
|
|
@@ -2405,8 +2172,6 @@ type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$2> & {
|
|
|
2405
2172
|
* Displaying heading text, both visually and semantically
|
|
2406
2173
|
*/
|
|
2407
2174
|
export declare const Heading: PolymorphicComponent<typeof DEFAULT_ELEMENT$2, HeadingProps>;
|
|
2408
|
-
//#endregion
|
|
2409
|
-
//#region src/components/EditableHeading/EditableHeading.d.ts
|
|
2410
2175
|
type EditableHeadingProps = {
|
|
2411
2176
|
/**
|
|
2412
2177
|
* The initial text content of the heading.
|
|
@@ -2453,11 +2218,7 @@ type EditableHeadingProps = {
|
|
|
2453
2218
|
* navigation (Enter to save, Escape to cancel), and provides callbacks for value and state changes.
|
|
2454
2219
|
*/
|
|
2455
2220
|
export declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled }: EditableHeadingProps) => JSX.Element;
|
|
2456
|
-
//#endregion
|
|
2457
|
-
//#region src/private/helpers/getTypographicStyles/getTypographicStyles.d.ts
|
|
2458
2221
|
type TypographicVariant = keyof typeof textVariantStyleMap | keyof typeof headingVariantStyleMap;
|
|
2459
|
-
//#endregion
|
|
2460
|
-
//#region src/components/EditableText/EditableTextRoot.d.ts
|
|
2461
2222
|
type EditableTextRootProps = Omit<ComponentPropsWithoutRef<"div">, "defaultValue"> & {
|
|
2462
2223
|
/**
|
|
2463
2224
|
* The children of the editable text root.
|
|
@@ -2548,8 +2309,6 @@ type EditableTextContextValues = {
|
|
|
2548
2309
|
};
|
|
2549
2310
|
export declare const EditableTextContext: Context<EditableTextContextValues | null>;
|
|
2550
2311
|
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;
|
|
2551
|
-
//#endregion
|
|
2552
|
-
//#region src/components/EditableText/EditableText.d.ts
|
|
2553
2312
|
type EditableTextProps = Omit<EditableTextRootProps, "children"> & {
|
|
2554
2313
|
/**
|
|
2555
2314
|
* Whether to visually hide the label.
|
|
@@ -2560,8 +2319,6 @@ type EditableTextProps = Omit<EditableTextRootProps, "children"> & {
|
|
|
2560
2319
|
* Used for inline editing of text.
|
|
2561
2320
|
*/
|
|
2562
2321
|
export declare const EditableText: FC<EditableTextProps>;
|
|
2563
|
-
//#endregion
|
|
2564
|
-
//#region src/components/EditableText/EditableTextDisplay.d.ts
|
|
2565
2322
|
type EditableTextDisplayProps = ComponentPropsWithoutRef<"div"> & {
|
|
2566
2323
|
/**
|
|
2567
2324
|
* When true, the user can click on the display to edit the text
|
|
@@ -2570,8 +2327,6 @@ type EditableTextDisplayProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2570
2327
|
renderAs?: ElementType;
|
|
2571
2328
|
};
|
|
2572
2329
|
export declare const EditableTextDisplay: PolymorphicComponent<"h1", EditableTextDisplayProps>;
|
|
2573
|
-
//#endregion
|
|
2574
|
-
//#region src/components/Label/Label.d.ts
|
|
2575
2330
|
type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
2576
2331
|
/**
|
|
2577
2332
|
* Pass an arbitrary child node
|
|
@@ -2599,18 +2354,12 @@ type LabelProps = ComponentPropsWithoutRef<"label"> & {
|
|
|
2599
2354
|
* Labels are used to give a title to a form component (eg. Input, Select, etc.)
|
|
2600
2355
|
*/
|
|
2601
2356
|
export declare const Label: FC<LabelProps>;
|
|
2602
|
-
//#endregion
|
|
2603
|
-
//#region src/components/EditableText/EditableTextLabel.d.ts
|
|
2604
2357
|
type EditableTextLabelProps = Omit<LabelProps, "disabled" | "htmlFor" | "required">;
|
|
2605
2358
|
export declare const EditableTextLabel: ({ ...props }: EditableTextLabelProps) => JSX.Element;
|
|
2606
|
-
//#endregion
|
|
2607
|
-
//#region src/components/EditableText/EditableTextSubmitButton.d.ts
|
|
2608
2359
|
type EditableTextSubmitButtonProps = {
|
|
2609
2360
|
children: ReactElement;
|
|
2610
2361
|
};
|
|
2611
2362
|
export declare const EditableTextSubmitButton: ({ children }: EditableTextSubmitButtonProps) => JSX.Element | null;
|
|
2612
|
-
//#endregion
|
|
2613
|
-
//#region src/components/EditableText/EditableTextCancelButton.d.ts
|
|
2614
2363
|
type EditableTextCancelButtonProps = {
|
|
2615
2364
|
/**
|
|
2616
2365
|
* A cancel button, typically a [Button](/components/Button) that will revert the value when clicked.
|
|
@@ -2618,8 +2367,6 @@ type EditableTextCancelButtonProps = {
|
|
|
2618
2367
|
children: ReactElement;
|
|
2619
2368
|
};
|
|
2620
2369
|
export declare const EditableTextCancelButton: ({ children }: EditableTextCancelButtonProps) => JSX.Element | null;
|
|
2621
|
-
//#endregion
|
|
2622
|
-
//#region src/components/EditableText/EditableTextTrigger.d.ts
|
|
2623
2370
|
type EditableTextTriggerProps = {
|
|
2624
2371
|
/**
|
|
2625
2372
|
* A trigger element, typically a [Button](/components/Button) that will enter editing mode when clicked.
|
|
@@ -2627,8 +2374,6 @@ type EditableTextTriggerProps = {
|
|
|
2627
2374
|
children: ReactElement;
|
|
2628
2375
|
};
|
|
2629
2376
|
export declare const EditableTextTrigger: ({ children, ...props }: EditableTextTriggerProps) => JSX.Element | null;
|
|
2630
|
-
//#endregion
|
|
2631
|
-
//#region src/components/Input/Input.d.ts
|
|
2632
2377
|
type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
|
|
2633
2378
|
/**
|
|
2634
2379
|
* When enabled, focusing the input will select the entire text within
|
|
@@ -2674,12 +2419,8 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
|
|
|
2674
2419
|
export declare const Input: ({ fullWidth, fullHeight, monospace, type, autoSelect, leftIcon, rightIcon, ref: externalRef, ...props }: InputProps & {
|
|
2675
2420
|
ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
2676
2421
|
}) => JSX.Element;
|
|
2677
|
-
//#endregion
|
|
2678
|
-
//#region src/components/EditableText/EditableTextInput.d.ts
|
|
2679
2422
|
type EditableTextInputProps = Pick<InputProps, "autoSelect">;
|
|
2680
2423
|
export declare const EditableTextInput: (props: EditableTextInputProps) => JSX.Element | null;
|
|
2681
|
-
//#endregion
|
|
2682
|
-
//#region src/components/Ellipsis/Ellipsis.d.ts
|
|
2683
2424
|
type EllipsisProps = ComponentPropsWithoutRef<"span"> & {
|
|
2684
2425
|
/**
|
|
2685
2426
|
* The text that will be truncated with an ellipsis
|
|
@@ -2702,8 +2443,6 @@ type EllipsisProps = ComponentPropsWithoutRef<"span"> & {
|
|
|
2702
2443
|
* Truncate text with an ellispsis visble at the end
|
|
2703
2444
|
*/
|
|
2704
2445
|
export declare const Ellipsis: FC<EllipsisProps>;
|
|
2705
|
-
//#endregion
|
|
2706
|
-
//#region src/components/FeatureCard/FeatureCard.d.ts
|
|
2707
2446
|
type FeatureCardProps = ComponentPropsWithoutRef<"div"> & {
|
|
2708
2447
|
/**
|
|
2709
2448
|
* The main text content displayed in the feature card
|
|
@@ -2747,8 +2486,6 @@ type FeatureCardProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2747
2486
|
* The `FeatureCard` component is for displaying contextual information to the user such as alerts or feature announcements.
|
|
2748
2487
|
*/
|
|
2749
2488
|
export declare const FeatureCard: FC<FeatureCardProps>;
|
|
2750
|
-
//#endregion
|
|
2751
|
-
//#region src/components/FeatureCard/FeatureCardImage.d.ts
|
|
2752
2489
|
type FeatureCardImageProps = ComponentPropsWithoutRef<"div"> & {
|
|
2753
2490
|
/**
|
|
2754
2491
|
* The URL of the image to display in the feature card
|
|
@@ -2764,8 +2501,6 @@ type FeatureCardImageProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2764
2501
|
alignment?: "left" | "right";
|
|
2765
2502
|
};
|
|
2766
2503
|
export declare const FeatureCardImage: ({ alignment, alt, src, ...props }: FeatureCardImageProps) => JSX.Element;
|
|
2767
|
-
//#endregion
|
|
2768
|
-
//#region src/components/Form/useFormState.d.ts
|
|
2769
2504
|
type FormActionCallback<T> = (data: T, nextData: T) => Promise<T> | T;
|
|
2770
2505
|
type Action = (data: FormData | null) => Promise<void>;
|
|
2771
2506
|
type FormActionState<T> = [{
|
|
@@ -2773,8 +2508,6 @@ type FormActionState<T> = [{
|
|
|
2773
2508
|
error: Error | null;
|
|
2774
2509
|
}, Action, boolean];
|
|
2775
2510
|
export declare const useFormState: <T extends object>(action: FormActionCallback<T>, initialData?: Partial<T>) => FormActionState<T>;
|
|
2776
|
-
//#endregion
|
|
2777
|
-
//#region src/components/Form/Form.d.ts
|
|
2778
2511
|
type FormValidationCallback<T> = (data: T) => FormErrors<T>;
|
|
2779
2512
|
type FormWithLabelledByProps = {
|
|
2780
2513
|
"aria-label"?: never;
|
|
@@ -2829,18 +2562,12 @@ type FormProps<T> = Omit<ComponentPropsWithoutRef<"form">, "action" | "aria-labe
|
|
|
2829
2562
|
export declare const Form: <T = Record<string, unknown>>({ children, action, values, labelPosition, validate, fullWidth, ref: forwardedRef, ...props }: FormProps<T> & {
|
|
2830
2563
|
ref?: Ref<HTMLFormElement> | undefined;
|
|
2831
2564
|
}) => JSX.Element;
|
|
2832
|
-
//#endregion
|
|
2833
|
-
//#region src/components/Form/FormErrorSummary.d.ts
|
|
2834
2565
|
type FormErrorSummaryProps = {
|
|
2835
2566
|
/** A description to show before the list of form errors */
|
|
2836
2567
|
description: string;
|
|
2837
2568
|
};
|
|
2838
2569
|
export declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => JSX.Element | null;
|
|
2839
|
-
//#endregion
|
|
2840
|
-
//#region src/components/Form/validateWithYup.d.ts
|
|
2841
2570
|
export declare const validateWithYup: <T>(schema: Schema<T>) => ((data: object) => FormErrors<T>);
|
|
2842
|
-
//#endregion
|
|
2843
|
-
//#region src/components/FormField/FormField.d.ts
|
|
2844
2571
|
type FormFieldProps = ComponentPropsWithoutRef<"div"> & {
|
|
2845
2572
|
/**
|
|
2846
2573
|
* This should be a single child that is a valid form field (or can pretend to be one).
|
|
@@ -2883,8 +2610,6 @@ type FormFieldProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2883
2610
|
* FormField is a compound component that combines a label, form control, and optional description and error message.
|
|
2884
2611
|
*/
|
|
2885
2612
|
export declare const FormField: FC<FormFieldProps>;
|
|
2886
|
-
//#endregion
|
|
2887
|
-
//#region src/components/FormGroup/FormGroup.d.ts
|
|
2888
2613
|
type FormGroupProps = Omit<ComponentPropsWithoutRef<"fieldset">, "onChange"> & {
|
|
2889
2614
|
children: ReactNode;
|
|
2890
2615
|
/**
|
|
@@ -2900,8 +2625,6 @@ type FormGroupProps = Omit<ComponentPropsWithoutRef<"fieldset">, "onChange"> & {
|
|
|
2900
2625
|
* For grouping like form elements together.
|
|
2901
2626
|
*/
|
|
2902
2627
|
export declare const FormGroup: FC<FormGroupProps>;
|
|
2903
|
-
//#endregion
|
|
2904
|
-
//#region src/components/FormGroup/RadioGroup.d.ts
|
|
2905
2628
|
type RadioGroupProps = FormGroupProps & {
|
|
2906
2629
|
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2907
2630
|
value?: string | undefined;
|
|
@@ -2911,8 +2634,6 @@ type RadioGroupProps = FormGroupProps & {
|
|
|
2911
2634
|
* For grouping like form elements together. Can serve as a checkbox
|
|
2912
2635
|
*/
|
|
2913
2636
|
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
2914
|
-
//#endregion
|
|
2915
|
-
//#region src/components/FormGroup/CheckboxGroup.d.ts
|
|
2916
2637
|
type CheckboxGroupProps = FormGroupProps & {
|
|
2917
2638
|
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2918
2639
|
value?: string[] | undefined;
|
|
@@ -2922,8 +2643,6 @@ type CheckboxGroupProps = FormGroupProps & {
|
|
|
2922
2643
|
* For grouping like form elements together. Can serve as a checkbox
|
|
2923
2644
|
*/
|
|
2924
2645
|
export declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
2925
|
-
//#endregion
|
|
2926
|
-
//#region src/components/Grid/Grid.d.ts
|
|
2927
2646
|
declare const DEFAULT_ELEMENT$1 = "div";
|
|
2928
2647
|
type GridProps = ComponentPropsWithoutRef<"div"> & {
|
|
2929
2648
|
/**
|
|
@@ -2953,8 +2672,6 @@ type GridProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
2953
2672
|
* A `Grid` arranges its children in a CSS grid layout with configurable `columns`, `gap`, and responsive breakpoint support.
|
|
2954
2673
|
*/
|
|
2955
2674
|
export declare const Grid: PolymorphicComponent<typeof DEFAULT_ELEMENT$1, GridProps>;
|
|
2956
|
-
//#endregion
|
|
2957
|
-
//#region src/components/PreviewCard/PreviewCard.d.ts
|
|
2958
2675
|
type PreviewCardProps = {
|
|
2959
2676
|
/**
|
|
2960
2677
|
* The content of the preview card
|
|
@@ -3008,8 +2725,6 @@ type PreviewCardProps = {
|
|
|
3008
2725
|
* 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.
|
|
3009
2726
|
*/
|
|
3010
2727
|
export declare const PreviewCard: FC<PreviewCardProps>;
|
|
3011
|
-
//#endregion
|
|
3012
|
-
//#region src/components/IconButton/IconButton.d.ts
|
|
3013
2728
|
type IconButtonProps = {
|
|
3014
2729
|
/**
|
|
3015
2730
|
* Accessible text for screen readers.
|
|
@@ -3027,8 +2742,6 @@ type IconButtonProps = {
|
|
|
3027
2742
|
export declare const IconButton: ({ children, label, size, ref, ...props }: IconButtonProps & {
|
|
3028
2743
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
3029
2744
|
}) => JSX.Element;
|
|
3030
|
-
//#endregion
|
|
3031
|
-
//#region src/components/IconChip/IconChip.d.ts
|
|
3032
2745
|
type IconChipSize = "lg" | "md" | "sm" | "xl";
|
|
3033
2746
|
type IconChipVariant = "soft" | "solid";
|
|
3034
2747
|
type IconChipShape = "circle" | "square";
|
|
@@ -3064,8 +2777,6 @@ type IconChipProps = Omit<ComponentPropsWithoutRef<"span">, "autoFocus" | "child
|
|
|
3064
2777
|
* 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.
|
|
3065
2778
|
*/
|
|
3066
2779
|
export declare const IconChip: ({ children, colorScheme, variant, shape, size, animateOnHover, ...props }: IconChipProps) => JSX.Element;
|
|
3067
|
-
//#endregion
|
|
3068
|
-
//#region src/components/Image/Image.d.ts
|
|
3069
2780
|
type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
3070
2781
|
/**
|
|
3071
2782
|
* Accessible text to apply to the image
|
|
@@ -3113,8 +2824,6 @@ type ImageProps = ComponentPropsWithoutRef<"img"> & {
|
|
|
3113
2824
|
* 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.
|
|
3114
2825
|
*/
|
|
3115
2826
|
export declare const Image: FC<ImageProps>;
|
|
3116
|
-
//#endregion
|
|
3117
|
-
//#region src/components/InputClickToCopy/InputClickToCopy.d.ts
|
|
3118
2827
|
type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "rightIcon" | "type" | "value"> & {
|
|
3119
2828
|
/**
|
|
3120
2829
|
* When disabled, the copy action will not be triggered
|
|
@@ -3135,11 +2844,7 @@ type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "right
|
|
|
3135
2844
|
export declare const InputClickToCopy: ({ value, onCopy, disabled, ref, ...props }: InputClickToCopyProps & {
|
|
3136
2845
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3137
2846
|
}) => JSX.Element;
|
|
3138
|
-
//#endregion
|
|
3139
|
-
//#region src/components/InputDuration/types.d.ts
|
|
3140
2847
|
type DecimalUnitLength = 0 | 2;
|
|
3141
|
-
//#endregion
|
|
3142
|
-
//#region src/components/InputDuration/InputDuration.d.ts
|
|
3143
2848
|
type InputDurationBaseProps = Omit<InputProps, "autoSelect" | "defaultValue" | "leftIcon" | "fullHeight" | "inputMode" | "monospace" | "onChange" | "onKeyDown" | "onKeyUp" | "onSelect" | "rightIcon" | "type" | "value">;
|
|
3144
2849
|
type InputDurationProps = InputDurationBaseProps & {
|
|
3145
2850
|
/**
|
|
@@ -3169,8 +2874,6 @@ type InputDurationProps = InputDurationBaseProps & {
|
|
|
3169
2874
|
export declare const InputDuration: ({ decimalUnitLength, disabled, fullWidth, maxSeconds, minSeconds, onChangeValueInSeconds, valueInSeconds, onFocus, style, ref: externalRef, ...props }: InputDurationProps & {
|
|
3170
2875
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3171
2876
|
}) => JSX.Element;
|
|
3172
|
-
//#endregion
|
|
3173
|
-
//#region src/components/InputPassword/InputPassword.d.ts
|
|
3174
2877
|
type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon" | "type"> & {
|
|
3175
2878
|
/**
|
|
3176
2879
|
* Set the disabled state of the input
|
|
@@ -3187,8 +2890,6 @@ type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon
|
|
|
3187
2890
|
export declare const InputPassword: ({ onVisibilityToggle, disabled, ref, ...props }: InputPasswordProps & {
|
|
3188
2891
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
3189
2892
|
}) => JSX.Element;
|
|
3190
|
-
//#endregion
|
|
3191
|
-
//#region src/components/KeyboardShortcut/KeyboardKeyTypes.d.ts
|
|
3192
2893
|
type AlphanumericKeyboardKeys = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
|
|
3193
2894
|
type ModifierKeys = "Alt" | "Cmd" | "Ctrl" | "Meta" | "Option" | "Shift";
|
|
3194
2895
|
type WhitespaceKeys = "Enter" | "Space" | "Tab";
|
|
@@ -3196,8 +2897,6 @@ type ArrowKeys = "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp";
|
|
|
3196
2897
|
type PunctuationKeys = "," | "?";
|
|
3197
2898
|
type EditingKeys = "Esc" | "Backspace";
|
|
3198
2899
|
type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | PunctuationKeys | WhitespaceKeys | EditingKeys;
|
|
3199
|
-
//#endregion
|
|
3200
|
-
//#region src/components/KeyboardShortcut/isKeyboardKey.d.ts
|
|
3201
2900
|
/**
|
|
3202
2901
|
* Type guard that checks whether an unknown string is a valid {@link KeyboardKeys} value.
|
|
3203
2902
|
*
|
|
@@ -3207,8 +2906,6 @@ type KeyboardKeys = AlphanumericKeyboardKeys | ArrowKeys | ModifierKeys | Punctu
|
|
|
3207
2906
|
* }
|
|
3208
2907
|
*/
|
|
3209
2908
|
export declare const isKeyboardKey: (key: string) => key is KeyboardKeys;
|
|
3210
|
-
//#endregion
|
|
3211
|
-
//#region src/components/KeyboardShortcut/KeyboardShortcut.d.ts
|
|
3212
2909
|
type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
3213
2910
|
/**
|
|
3214
2911
|
* @description If set to true, the keyboard shortcut will stretch the full width of its container.
|
|
@@ -3227,8 +2924,6 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3227
2924
|
* 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.
|
|
3228
2925
|
*/
|
|
3229
2926
|
export declare const KeyboardShortcut: FC<KeyboardShortcutProps>;
|
|
3230
|
-
//#endregion
|
|
3231
|
-
//#region src/components/List/List.d.ts
|
|
3232
2927
|
type VariantType = "breadcrumbs" | "bullets" | "commas" | "ordered" | "slashes" | "spaces" | "unbulleted";
|
|
3233
2928
|
type ItemType = ItemType[] | string[] | string;
|
|
3234
2929
|
type ListProps = ComponentPropsWithoutRef<"ul"> & {
|
|
@@ -3250,8 +2945,6 @@ type ListProps = ComponentPropsWithoutRef<"ul"> & {
|
|
|
3250
2945
|
* A `List` groups related items in bulleted, ordered, or separator-based layouts, composed with `ListItem` children or a flat/nested `items` array.
|
|
3251
2946
|
*/
|
|
3252
2947
|
export declare const List: FC<ListProps>;
|
|
3253
|
-
//#endregion
|
|
3254
|
-
//#region src/components/List/ListItem.d.ts
|
|
3255
2948
|
type ListItemProps = {
|
|
3256
2949
|
/**
|
|
3257
2950
|
* Pass an arbitrary child node
|
|
@@ -3259,8 +2952,6 @@ type ListItemProps = {
|
|
|
3259
2952
|
children?: ReactNode;
|
|
3260
2953
|
};
|
|
3261
2954
|
export declare const ListItem: FC<ListItemProps>;
|
|
3262
|
-
//#endregion
|
|
3263
|
-
//#region src/components/Mark/Mark.d.ts
|
|
3264
2955
|
type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
3265
2956
|
/** The content of the Mark component. */
|
|
3266
2957
|
children: ReactNode;
|
|
@@ -3271,11 +2962,7 @@ type MarkProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3271
2962
|
* Defines text that should be marked or highlighted.
|
|
3272
2963
|
*/
|
|
3273
2964
|
export declare const Mark: FC<MarkProps>;
|
|
3274
|
-
//#endregion
|
|
3275
|
-
//#region src/css/baseMarkdownCss.d.ts
|
|
3276
2965
|
type MarkdownTextSize = "body2" | "body3";
|
|
3277
|
-
//#endregion
|
|
3278
|
-
//#region src/components/Markdown/Markdown.d.ts
|
|
3279
2966
|
type MarkdownProps = ComponentProps<typeof ReactMarkdown> & {
|
|
3280
2967
|
/**
|
|
3281
2968
|
* A string of markdown to render.
|
|
@@ -3291,8 +2978,6 @@ type MarkdownProps = ComponentProps<typeof ReactMarkdown> & {
|
|
|
3291
2978
|
* This is a simple wrapper around `react-markdown` that applies some basic styles.
|
|
3292
2979
|
*/
|
|
3293
2980
|
export declare const Markdown: FC<MarkdownProps>;
|
|
3294
|
-
//#endregion
|
|
3295
|
-
//#region src/components/Menu/Menu.d.ts
|
|
3296
2981
|
type ControlledMenuProps = {
|
|
3297
2982
|
/**
|
|
3298
2983
|
* Is the menu open.
|
|
@@ -3350,8 +3035,6 @@ type MenuProps = MenuControlProps & {
|
|
|
3350
3035
|
export declare const Menu: ({ align, children, disabled, compact, trigger, label, isOpen, side, triggerProps, onOpenChange, ref, ...props }: MenuProps & {
|
|
3351
3036
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3352
3037
|
}) => JSX.Element;
|
|
3353
|
-
//#endregion
|
|
3354
|
-
//#region src/components/Menu/MenuLabel.d.ts
|
|
3355
3038
|
type MenuLabelProps = {
|
|
3356
3039
|
/**
|
|
3357
3040
|
* The text of the label
|
|
@@ -3359,8 +3042,6 @@ type MenuLabelProps = {
|
|
|
3359
3042
|
children: ReactNode | string;
|
|
3360
3043
|
};
|
|
3361
3044
|
export declare const MenuLabel: FC<MenuLabelProps>;
|
|
3362
|
-
//#endregion
|
|
3363
|
-
//#region src/components/Menu/SubMenu.d.ts
|
|
3364
3045
|
type SubMenuProps = {
|
|
3365
3046
|
/**
|
|
3366
3047
|
* The label of the submenu
|
|
@@ -3384,8 +3065,6 @@ type SubMenuProps = {
|
|
|
3384
3065
|
icon?: JSX.Element | undefined;
|
|
3385
3066
|
};
|
|
3386
3067
|
export declare const SubMenu: FC<SubMenuProps>;
|
|
3387
|
-
//#endregion
|
|
3388
|
-
//#region src/components/Menu/MenuItemButton.d.ts
|
|
3389
3068
|
type MenuItemButtonProps = ButtonProps & {
|
|
3390
3069
|
/**
|
|
3391
3070
|
* Pre-defined visual treatments for the menu item
|
|
@@ -3441,8 +3120,6 @@ type MenuItemButtonProps = ButtonProps & {
|
|
|
3441
3120
|
*/
|
|
3442
3121
|
unstyled?: never;
|
|
3443
3122
|
};
|
|
3444
|
-
//#endregion
|
|
3445
|
-
//#region src/components/Menu/MenuItem.d.ts
|
|
3446
3123
|
type MenuItemProps = MenuItemButtonProps & {
|
|
3447
3124
|
/**
|
|
3448
3125
|
* Treats the menu item as a link when provided
|
|
@@ -3461,8 +3138,6 @@ type MenuItemProps = MenuItemButtonProps & {
|
|
|
3461
3138
|
export declare const MenuItem: ({ onSelect, closeOnClick, ref, ...props }: MenuItemProps & {
|
|
3462
3139
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
3463
3140
|
}) => JSX.Element;
|
|
3464
|
-
//#endregion
|
|
3465
|
-
//#region src/components/Menu/MenuItemLabel.d.ts
|
|
3466
3141
|
type MenuItemLabelProps = {
|
|
3467
3142
|
/**
|
|
3468
3143
|
* The content of the label
|
|
@@ -3470,8 +3145,6 @@ type MenuItemLabelProps = {
|
|
|
3470
3145
|
children: ReactNode;
|
|
3471
3146
|
};
|
|
3472
3147
|
export declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => JSX.Element;
|
|
3473
|
-
//#endregion
|
|
3474
|
-
//#region src/components/Menu/MenuItemDescription.d.ts
|
|
3475
3148
|
type MenuItemDescriptionProps = {
|
|
3476
3149
|
/**
|
|
3477
3150
|
* The content of the description
|
|
@@ -3479,8 +3152,6 @@ type MenuItemDescriptionProps = {
|
|
|
3479
3152
|
children: ReactNode;
|
|
3480
3153
|
};
|
|
3481
3154
|
export declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => JSX.Element;
|
|
3482
|
-
//#endregion
|
|
3483
|
-
//#region src/components/Menu/MenuRadioGroup.d.ts
|
|
3484
3155
|
type MenuRadioGroupProps = {
|
|
3485
3156
|
/**
|
|
3486
3157
|
* The radio items
|
|
@@ -3496,8 +3167,6 @@ type MenuRadioGroupProps = {
|
|
|
3496
3167
|
onValueChange?: (value: string) => void;
|
|
3497
3168
|
};
|
|
3498
3169
|
export declare const MenuRadioGroup: FC<MenuRadioGroupProps>;
|
|
3499
|
-
//#endregion
|
|
3500
|
-
//#region src/components/Menu/RadioMenuItem.d.ts
|
|
3501
3170
|
type RadioMenuItemProps = MenuItemButtonProps & {
|
|
3502
3171
|
/**
|
|
3503
3172
|
* Optional `Icon` to use as the indicator that the radio item is selected. Must be an instance of [Icon](/components/Icon)
|
|
@@ -3525,8 +3194,6 @@ type RadioMenuItemProps = MenuItemButtonProps & {
|
|
|
3525
3194
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3526
3195
|
};
|
|
3527
3196
|
export declare const RadioMenuItem: FC<RadioMenuItemProps>;
|
|
3528
|
-
//#endregion
|
|
3529
|
-
//#region src/components/Menu/CheckboxMenuItem.d.ts
|
|
3530
3197
|
type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
3531
3198
|
/** Callback to fire when the checked status changes */
|
|
3532
3199
|
onCheckedChange: (checked: boolean) => void;
|
|
@@ -3556,8 +3223,6 @@ type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
|
3556
3223
|
onSelect?: (event: SyntheticEvent) => void;
|
|
3557
3224
|
};
|
|
3558
3225
|
export declare const CheckboxMenuItem: FC<CheckboxMenuItemProps>;
|
|
3559
|
-
//#endregion
|
|
3560
|
-
//#region src/components/Menu/FilterMenu.d.ts
|
|
3561
3226
|
type FilterMenuProps = MenuProps & {
|
|
3562
3227
|
/**
|
|
3563
3228
|
* The selected values of the filter Menu
|
|
@@ -3580,8 +3245,6 @@ export declare const FilterMenuItem: typeof CheckboxMenuItem;
|
|
|
3580
3245
|
export declare const FilterMenu: ({ value, onChange, searchValue, onSearchValueChange, children, ref, ...props }: FilterMenuProps & {
|
|
3581
3246
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3582
3247
|
}) => JSX.Element;
|
|
3583
|
-
//#endregion
|
|
3584
|
-
//#region src/components/Meter/Meter.d.ts
|
|
3585
3248
|
type MeterSegment = {
|
|
3586
3249
|
/**
|
|
3587
3250
|
* The percentage value this segment represents (0-100)
|
|
@@ -3630,8 +3293,6 @@ type MeterProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3630
3293
|
* A meter component that visually represents one to many segments as portions of a whole
|
|
3631
3294
|
*/
|
|
3632
3295
|
export declare const Meter: FC<MeterProps>;
|
|
3633
|
-
//#endregion
|
|
3634
|
-
//#region src/components/Modal/Modal.d.ts
|
|
3635
3296
|
type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
3636
3297
|
/**
|
|
3637
3298
|
* The content of the modal.
|
|
@@ -3688,8 +3349,6 @@ type ModalProps = Omit<ComponentPropsWithoutRef<"div">, "onKeyDown"> & {
|
|
|
3688
3349
|
export declare const Modal: ({ children, footer, hideCloseButton, hideTitle, initialFocusRef, isOpen, onKeyDown, onRequestClose, positionVariant, title, width, ref, ...props }: ModalProps & {
|
|
3689
3350
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3690
3351
|
}) => JSX.Element;
|
|
3691
|
-
//#endregion
|
|
3692
|
-
//#region src/components/Modal/ModalCallouts.d.ts
|
|
3693
3352
|
type ModalCalloutsProps = {
|
|
3694
3353
|
/**
|
|
3695
3354
|
* The content to be displayed in the modal callout.
|
|
@@ -3706,8 +3365,6 @@ type ModalCalloutProps = {
|
|
|
3706
3365
|
children?: ReactNode;
|
|
3707
3366
|
};
|
|
3708
3367
|
export declare const ModalCallout: FC<ModalCalloutProps>;
|
|
3709
|
-
//#endregion
|
|
3710
|
-
//#region src/components/Popover/Popover.d.ts
|
|
3711
3368
|
type ControlledPopoverProps = {
|
|
3712
3369
|
/**
|
|
3713
3370
|
* Is the popover open.
|
|
@@ -3787,8 +3444,6 @@ type PopoverProps = PopoverControlProps & {
|
|
|
3787
3444
|
* `PopoverPortal`, `PopoverContent`, `PopoverClose`.
|
|
3788
3445
|
*/
|
|
3789
3446
|
export declare const Popover: FC<PopoverProps>;
|
|
3790
|
-
//#endregion
|
|
3791
|
-
//#region src/components/Popover/PopoverAnchor.d.ts
|
|
3792
3447
|
type PopoverAnchorProps = {
|
|
3793
3448
|
children: ReactNode;
|
|
3794
3449
|
};
|
|
@@ -3800,8 +3455,6 @@ type PopoverAnchorProps = {
|
|
|
3800
3455
|
* Wrap the anchor element and nest `PopoverTrigger` inside it.
|
|
3801
3456
|
*/
|
|
3802
3457
|
export declare const PopoverAnchor: FC<PopoverAnchorProps>;
|
|
3803
|
-
//#endregion
|
|
3804
|
-
//#region src/components/Popover/PopoverArrow.d.ts
|
|
3805
3458
|
type PopoverArrowProps = {
|
|
3806
3459
|
/**
|
|
3807
3460
|
* Should the arrow be animated with ripple effect
|
|
@@ -3809,8 +3462,6 @@ type PopoverArrowProps = {
|
|
|
3809
3462
|
isAnimated: boolean;
|
|
3810
3463
|
};
|
|
3811
3464
|
export declare const PopoverArrow: FC<PopoverArrowProps>;
|
|
3812
|
-
//#endregion
|
|
3813
|
-
//#region src/components/Popover/PopoverClose.d.ts
|
|
3814
3465
|
type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
3815
3466
|
/**
|
|
3816
3467
|
* A React element to merge close behavior onto.
|
|
@@ -3826,8 +3477,6 @@ type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
|
3826
3477
|
export declare const PopoverClose: ({ ref, ...props }: PopoverCloseProps & {
|
|
3827
3478
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3828
3479
|
}) => JSX.Element;
|
|
3829
|
-
//#endregion
|
|
3830
|
-
//#region src/components/Popover/PopoverCloseButton.d.ts
|
|
3831
3480
|
type PopoverCloseButtonProps = {
|
|
3832
3481
|
/** Accessible label for the close button. Defaults to "Close". */
|
|
3833
3482
|
label?: string;
|
|
@@ -3837,8 +3486,6 @@ type PopoverCloseButtonProps = {
|
|
|
3837
3486
|
* For a custom close control, use `PopoverClose` directly.
|
|
3838
3487
|
*/
|
|
3839
3488
|
export declare const PopoverCloseButton: FC<PopoverCloseButtonProps>;
|
|
3840
|
-
//#endregion
|
|
3841
|
-
//#region src/components/Popover/PopoverContent.d.ts
|
|
3842
3489
|
type PopoverContentProps = {
|
|
3843
3490
|
/** Sets the [color scheme](/foundations/color/color-schemes) applied inside the portal. */
|
|
3844
3491
|
colorScheme?: ColorSchemeTypes;
|
|
@@ -3889,8 +3536,6 @@ type PopoverContentProps = {
|
|
|
3889
3536
|
export declare const PopoverContent: ({ colorScheme, unstyled, maxWidth, maxHeight, sideOffset, side, align, collisionAvoidance, style, role, children, ref, ...props }: PopoverContentProps & {
|
|
3890
3537
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
3891
3538
|
}) => JSX.Element;
|
|
3892
|
-
//#endregion
|
|
3893
|
-
//#region src/components/Popover/PopoverPortal.d.ts
|
|
3894
3539
|
type PopoverPortalProps = {
|
|
3895
3540
|
children: ReactNode;
|
|
3896
3541
|
};
|
|
@@ -3899,8 +3544,6 @@ type PopoverPortalProps = {
|
|
|
3899
3544
|
* escape clipping ancestors (`overflow: hidden`, transformed containers, etc.).
|
|
3900
3545
|
*/
|
|
3901
3546
|
export declare const PopoverPortal: FC<PopoverPortalProps>;
|
|
3902
|
-
//#endregion
|
|
3903
|
-
//#region src/components/Popover/PopoverRoot.d.ts
|
|
3904
3547
|
/**
|
|
3905
3548
|
* Details passed to `PopoverRoot`'s `onOpenChange` describing why the open
|
|
3906
3549
|
* state changed. Inspect `reason` and call `cancel()` to keep the popover in
|
|
@@ -3926,8 +3569,6 @@ type PopoverRootProps = {
|
|
|
3926
3569
|
* For the common "button opens a panel" case, prefer the bundled `Popover`.
|
|
3927
3570
|
*/
|
|
3928
3571
|
export declare const PopoverRoot: FC<PopoverRootProps>;
|
|
3929
|
-
//#endregion
|
|
3930
|
-
//#region src/components/Popover/PopoverTrigger.d.ts
|
|
3931
3572
|
type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
|
|
3932
3573
|
/**
|
|
3933
3574
|
* A React element to merge trigger behavior onto.
|
|
@@ -3949,8 +3590,6 @@ type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> &
|
|
|
3949
3590
|
export declare const PopoverTrigger: ({ nativeButton, ref, ...props }: PopoverTriggerProps & {
|
|
3950
3591
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
3951
3592
|
}) => JSX.Element;
|
|
3952
|
-
//#endregion
|
|
3953
|
-
//#region src/components/ProgressBar/ProgressBar.d.ts
|
|
3954
3593
|
type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
3955
3594
|
/**
|
|
3956
3595
|
* Current numeric level of the progress (0 -> max)
|
|
@@ -3977,8 +3616,6 @@ type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
3977
3616
|
* A progress component that visually represents the completion status of a task
|
|
3978
3617
|
*/
|
|
3979
3618
|
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
3980
|
-
//#endregion
|
|
3981
|
-
//#region src/components/Radio/Radio.d.ts
|
|
3982
3619
|
type RadioSizeType = "lg" | "md" | "sm";
|
|
3983
3620
|
type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label" | "onChange" | "size" | "value"> & {
|
|
3984
3621
|
/**
|
|
@@ -4037,8 +3674,6 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
4037
3674
|
export declare const Radio: ({ checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: RadioProps & {
|
|
4038
3675
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4039
3676
|
}) => JSX.Element;
|
|
4040
|
-
//#endregion
|
|
4041
|
-
//#region src/components/RadioCard/RadioCardDefaultLayout.d.ts
|
|
4042
3677
|
type RadioCardDefaultLayoutProps = {
|
|
4043
3678
|
/**
|
|
4044
3679
|
* The icon to display
|
|
@@ -4065,8 +3700,6 @@ type RadioCardDefaultLayoutProps = {
|
|
|
4065
3700
|
*/
|
|
4066
3701
|
isGated?: boolean | undefined;
|
|
4067
3702
|
};
|
|
4068
|
-
//#endregion
|
|
4069
|
-
//#region src/components/RadioCard/RadioCard.d.ts
|
|
4070
3703
|
type BaseRadioCardProps = Omit<ComponentPropsWithoutRef<"input">, "checked" | "disabled" | "id" | "name" | "onChange" | "value"> & {
|
|
4071
3704
|
/**
|
|
4072
3705
|
* Indicates the state of the radio
|
|
@@ -4114,8 +3747,6 @@ type RadioCardProps = RadioCardWithChildren | RadioCardWithDefaultLayout;
|
|
|
4114
3747
|
export declare const RadioCard: ({ icon, label, description, showIndicator, isGated, children, ref, ...rootProps }: RadioCardProps & {
|
|
4115
3748
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4116
3749
|
}) => JSX.Element;
|
|
4117
|
-
//#endregion
|
|
4118
|
-
//#region src/components/RadioCard/RadioCardImage.d.ts
|
|
4119
3750
|
type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> & {
|
|
4120
3751
|
/**
|
|
4121
3752
|
* Indicates the state of the radio
|
|
@@ -4161,8 +3792,6 @@ type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> &
|
|
|
4161
3792
|
export declare const RadioCardImage: ({ label, imageSrc, aspectRatio, padding, ref, ...rootProps }: RadioCardImageProps & {
|
|
4162
3793
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4163
3794
|
}) => JSX.Element;
|
|
4164
|
-
//#endregion
|
|
4165
|
-
//#region src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts
|
|
4166
3795
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
4167
3796
|
/**
|
|
4168
3797
|
* Pass an arbitrary child node
|
|
@@ -4182,8 +3811,6 @@ type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4182
3811
|
* Used to hide content from the visual client, but keep it readable for screen readers.
|
|
4183
3812
|
*/
|
|
4184
3813
|
export declare const ScreenReaderOnly: FC<ScreenReaderOnlyProps>;
|
|
4185
|
-
//#endregion
|
|
4186
|
-
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
4187
3814
|
export type ScrollAreaOverflowIndicator = "fade" | "none" | "shadow";
|
|
4188
3815
|
export type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
4189
3816
|
/**
|
|
@@ -4216,8 +3843,6 @@ export type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
4216
3843
|
export declare const ScrollArea: ({ children, style, locked, fillHeight, overflowIndicator, ref, ...props }: ScrollAreaProps & {
|
|
4217
3844
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4218
3845
|
}) => JSX.Element;
|
|
4219
|
-
//#endregion
|
|
4220
|
-
//#region src/components/SegmentedControl/SegmentedControl.d.ts
|
|
4221
3846
|
type SegmentedControlProps = {
|
|
4222
3847
|
/**
|
|
4223
3848
|
* `SegmentedControlItem`s that will be rendered in grouping
|
|
@@ -4250,8 +3875,6 @@ type SegmentedControlProps = {
|
|
|
4250
3875
|
export declare const SegmentedControl: ({ children, colorScheme, disabled, fullWidth, selectedValue, onSelectedValueChange, ref, ...props }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
|
|
4251
3876
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4252
3877
|
}) => JSX.Element | null;
|
|
4253
|
-
//#endregion
|
|
4254
|
-
//#region src/components/SegmentedControl/SegmentedControlItem.d.ts
|
|
4255
3878
|
type BaseProps$1 = {
|
|
4256
3879
|
/**
|
|
4257
3880
|
* Disable the `SegmentedControlItem`
|
|
@@ -4296,8 +3919,6 @@ type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLa
|
|
|
4296
3919
|
export declare const SegmentedControlItem: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref: forwardedRef, ...otherProps }: SegmentedControlItemProps & {
|
|
4297
3920
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4298
3921
|
}) => JSX.Element;
|
|
4299
|
-
//#endregion
|
|
4300
|
-
//#region src/components/Select/Select.d.ts
|
|
4301
3922
|
type SelectProps = {
|
|
4302
3923
|
/**
|
|
4303
3924
|
* Sets the validity status of the input
|
|
@@ -4364,8 +3985,6 @@ type SelectProps = {
|
|
|
4364
3985
|
export declare const Select: ({ colorScheme, children, onOpenChange, onChange, placeholder, fullWidth, forceOpen, showScrollArrows, disabled, name, value, "aria-invalid": ariaInvalid, ref: forwardedRef, ...props }: SelectProps & {
|
|
4365
3986
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4366
3987
|
}) => JSX.Element;
|
|
4367
|
-
//#endregion
|
|
4368
|
-
//#region src/components/Select/SelectOption.d.ts
|
|
4369
3988
|
type SelectOptionProps = {
|
|
4370
3989
|
/**
|
|
4371
3990
|
* The visual content of the select
|
|
@@ -4399,8 +4018,6 @@ type SelectOptionProps = {
|
|
|
4399
4018
|
export declare const SelectOption: ({ children, selectedDisplayValue, checkmarkVerticalAlign, textValue, ref: forwardedRef, ...props }: SelectOptionProps & {
|
|
4400
4019
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4401
4020
|
}) => JSX.Element;
|
|
4402
|
-
//#endregion
|
|
4403
|
-
//#region src/components/Select/SelectOptionGroup.d.ts
|
|
4404
4021
|
type SelectOptionGroupProps = {
|
|
4405
4022
|
/** The label of the group */
|
|
4406
4023
|
label: string;
|
|
@@ -4408,8 +4025,6 @@ type SelectOptionGroupProps = {
|
|
|
4408
4025
|
children: ReactNode;
|
|
4409
4026
|
};
|
|
4410
4027
|
export declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => JSX.Element;
|
|
4411
|
-
//#endregion
|
|
4412
|
-
//#region src/components/Sidebar/Sidebar.d.ts
|
|
4413
4028
|
type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
4414
4029
|
/**
|
|
4415
4030
|
* The content of the sidebar. Typically a `SidebarHeader`, `SidebarContent`,
|
|
@@ -4423,8 +4038,6 @@ type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
|
4423
4038
|
export declare const Sidebar: ({ children, ref, ...props }: SidebarProps & {
|
|
4424
4039
|
ref?: Ref<HTMLElement> | undefined;
|
|
4425
4040
|
}) => JSX.Element;
|
|
4426
|
-
//#endregion
|
|
4427
|
-
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
4428
4041
|
type SidebarHeaderProps = {
|
|
4429
4042
|
/**
|
|
4430
4043
|
* Content rendered at the top of the sidebar. Typically a `SidebarTitle`,
|
|
@@ -4433,8 +4046,6 @@ type SidebarHeaderProps = {
|
|
|
4433
4046
|
children: ReactNode;
|
|
4434
4047
|
};
|
|
4435
4048
|
export declare const SidebarHeader: FC<SidebarHeaderProps>;
|
|
4436
|
-
//#endregion
|
|
4437
|
-
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
4438
4049
|
type SidebarFooterProps = {
|
|
4439
4050
|
/**
|
|
4440
4051
|
* Content pinned to the bottom of the sidebar. Typically actions like a
|
|
@@ -4443,8 +4054,6 @@ type SidebarFooterProps = {
|
|
|
4443
4054
|
children: ReactNode;
|
|
4444
4055
|
};
|
|
4445
4056
|
export declare const SidebarFooter: FC<SidebarFooterProps>;
|
|
4446
|
-
//#endregion
|
|
4447
|
-
//#region src/components/Sidebar/SidebarTitle.d.ts
|
|
4448
4057
|
type SidebarTitleProps = {
|
|
4449
4058
|
/**
|
|
4450
4059
|
* The text shown as the heading at the top of the sidebar.
|
|
@@ -4452,8 +4061,6 @@ type SidebarTitleProps = {
|
|
|
4452
4061
|
children: ReactNode;
|
|
4453
4062
|
};
|
|
4454
4063
|
export declare const SidebarTitle: FC<SidebarTitleProps>;
|
|
4455
|
-
//#endregion
|
|
4456
|
-
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
4457
4064
|
type SidebarContentProps = {
|
|
4458
4065
|
/**
|
|
4459
4066
|
* The scrollable middle section of the sidebar. Typically one or more
|
|
@@ -4462,8 +4069,6 @@ type SidebarContentProps = {
|
|
|
4462
4069
|
children: ReactNode;
|
|
4463
4070
|
};
|
|
4464
4071
|
export declare const SidebarContent: FC<SidebarContentProps>;
|
|
4465
|
-
//#endregion
|
|
4466
|
-
//#region src/components/Sidebar/SidebarGroup.d.ts
|
|
4467
4072
|
type SidebarGroupProps = {
|
|
4468
4073
|
/**
|
|
4469
4074
|
* The items in the group, typically `SidebarButton`s, optionally preceded
|
|
@@ -4472,8 +4077,6 @@ type SidebarGroupProps = {
|
|
|
4472
4077
|
children: ReactNode;
|
|
4473
4078
|
};
|
|
4474
4079
|
export declare const SidebarGroup: FC<SidebarGroupProps>;
|
|
4475
|
-
//#endregion
|
|
4476
|
-
//#region src/components/Sidebar/SidebarGroupLabel.d.ts
|
|
4477
4080
|
type SidebarGroupLabelProps = {
|
|
4478
4081
|
/**
|
|
4479
4082
|
* The label text for the group.
|
|
@@ -4491,8 +4094,6 @@ type SidebarGroupLabelProps = {
|
|
|
4491
4094
|
leftSlot?: ReactNode;
|
|
4492
4095
|
};
|
|
4493
4096
|
export declare const SidebarGroupLabel: FC<SidebarGroupLabelProps>;
|
|
4494
|
-
//#endregion
|
|
4495
|
-
//#region src/components/Sidebar/SidebarButton.d.ts
|
|
4496
4097
|
type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant"> | Omit<ButtonAsLinkProps, "fullWidth" | "labelAlign" | "size" | "unstyled" | "variant">) & {
|
|
4497
4098
|
/**
|
|
4498
4099
|
* Marks the item as the currently active navigation entry. Sets
|
|
@@ -4503,8 +4104,6 @@ type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "labelAlign"
|
|
|
4503
4104
|
export declare const SidebarButton: ({ selected, ref, ...props }: SidebarButtonProps & {
|
|
4504
4105
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
4505
4106
|
}) => JSX.Element;
|
|
4506
|
-
//#endregion
|
|
4507
|
-
//#region src/components/Sidebar/SidebarSearchInput.d.ts
|
|
4508
4107
|
type SidebarSearchInputProps = Omit<InputProps, "type"> & {
|
|
4509
4108
|
/**
|
|
4510
4109
|
* Accessible label for the search field. Rendered as a visually hidden `Label`
|
|
@@ -4516,8 +4115,6 @@ type SidebarSearchInputProps = Omit<InputProps, "type"> & {
|
|
|
4516
4115
|
export declare const SidebarSearchInput: ({ id, label, ref, ...props }: SidebarSearchInputProps & {
|
|
4517
4116
|
ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
4518
4117
|
}) => JSX.Element;
|
|
4519
|
-
//#endregion
|
|
4520
|
-
//#region src/components/Slider/Slider.d.ts
|
|
4521
4118
|
type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
4522
4119
|
/**
|
|
4523
4120
|
* aria-label for screen-readers to apply to the slider
|
|
@@ -4579,8 +4176,6 @@ type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
|
|
|
4579
4176
|
* A `Slider` lets users select a value or range from a continuous scale via a draggable thumb.
|
|
4580
4177
|
*/
|
|
4581
4178
|
export declare const Slider: FC<SliderProps>;
|
|
4582
|
-
//#endregion
|
|
4583
|
-
//#region src/components/SplitButton/SplitButton.d.ts
|
|
4584
4179
|
type SplitButtonProps = {
|
|
4585
4180
|
/**
|
|
4586
4181
|
* The text for the primary button
|
|
@@ -4621,8 +4216,6 @@ type SplitButtonProps = {
|
|
|
4621
4216
|
* A SplitButton is an extension of [Button](/components/Button) that adds a menu to the right hand side of the button.
|
|
4622
4217
|
*/
|
|
4623
4218
|
export declare const SplitButton: FC<SplitButtonProps>;
|
|
4624
|
-
//#endregion
|
|
4625
|
-
//#region src/components/Stack/Stack.d.ts
|
|
4626
4219
|
declare const DEFAULT_ELEMENT = "div";
|
|
4627
4220
|
type StackProps = {
|
|
4628
4221
|
/**
|
|
@@ -4660,8 +4253,6 @@ type StackProps = {
|
|
|
4660
4253
|
* This allows for layouting children in a consistent way without needing to manually add margins or padding.
|
|
4661
4254
|
*/
|
|
4662
4255
|
export declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
|
|
4663
|
-
//#endregion
|
|
4664
|
-
//#region src/components/Switch/Switch.d.ts
|
|
4665
4256
|
type SwitchSizeType = "lg" | "md" | "sm";
|
|
4666
4257
|
type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label" | "role" | "size"> & {
|
|
4667
4258
|
/**
|
|
@@ -4719,33 +4310,23 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
|
|
|
4719
4310
|
export declare const Switch: ({ align, checked, disabled, id, label, description, name, onChange, size, value, required, hideLabel, ref, ...props }: SwitchProps & {
|
|
4720
4311
|
ref?: Ref<HTMLInputElement> | undefined;
|
|
4721
4312
|
}) => JSX.Element;
|
|
4722
|
-
//#endregion
|
|
4723
|
-
//#region src/components/Table/TableBody.d.ts
|
|
4724
4313
|
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4725
4314
|
children?: ReactNode;
|
|
4726
4315
|
};
|
|
4727
4316
|
export declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
|
|
4728
|
-
//#endregion
|
|
4729
|
-
//#region src/components/Table/TableCell.d.ts
|
|
4730
4317
|
type CellAttrs = Omit<TdHTMLAttributes<HTMLTableCellElement>, "ref"> & Omit<ThHTMLAttributes<HTMLTableCellElement>, "ref">;
|
|
4731
4318
|
type TableCellProps = CellAttrs & {
|
|
4732
4319
|
children?: ReactNode;
|
|
4733
4320
|
};
|
|
4734
4321
|
export declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
|
|
4735
|
-
//#endregion
|
|
4736
|
-
//#region src/components/Table/TableFoot.d.ts
|
|
4737
4322
|
type TableFootProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4738
4323
|
children?: ReactNode;
|
|
4739
4324
|
};
|
|
4740
4325
|
export declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
|
|
4741
|
-
//#endregion
|
|
4742
|
-
//#region src/components/Table/TableHead.d.ts
|
|
4743
4326
|
type TableHeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
4744
4327
|
children?: ReactNode;
|
|
4745
4328
|
};
|
|
4746
4329
|
export declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
|
|
4747
|
-
//#endregion
|
|
4748
|
-
//#region src/components/Table/Table.d.ts
|
|
4749
4330
|
type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
4750
4331
|
/**
|
|
4751
4332
|
* Should be some combination of `TableHead` and/or `TableBody` and/or `TableFoot`
|
|
@@ -4770,14 +4351,10 @@ type TableProps = ComponentPropsWithoutRef<"table"> & {
|
|
|
4770
4351
|
* Semantic table element for presenting data
|
|
4771
4352
|
*/
|
|
4772
4353
|
export declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
|
|
4773
|
-
//#endregion
|
|
4774
|
-
//#region src/components/Table/TableRow.d.ts
|
|
4775
4354
|
type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
4776
4355
|
children?: ReactNode;
|
|
4777
4356
|
};
|
|
4778
4357
|
export declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4779
|
-
//#endregion
|
|
4780
|
-
//#region src/components/Tabs/Tabs.d.ts
|
|
4781
4358
|
type TabsProps = {
|
|
4782
4359
|
children?: React.ReactNode;
|
|
4783
4360
|
defaultValue?: string;
|
|
@@ -4788,23 +4365,17 @@ type TabsProps = {
|
|
|
4788
4365
|
* The `Tabs` component lets users switch between panels of content. It is composed from the `TabsList`, `TabsTrigger`, and `TabsContent` subcomponents.
|
|
4789
4366
|
*/
|
|
4790
4367
|
export declare const Tabs: FC<TabsProps>;
|
|
4791
|
-
//#endregion
|
|
4792
|
-
//#region src/components/Tabs/TabsContent.d.ts
|
|
4793
4368
|
type TabsContentProps = {
|
|
4794
4369
|
children?: ReactNode;
|
|
4795
4370
|
value: string;
|
|
4796
4371
|
};
|
|
4797
4372
|
export declare const TabsContent: FC<TabsContentProps>;
|
|
4798
|
-
//#endregion
|
|
4799
|
-
//#region src/components/Tabs/TabsList.d.ts
|
|
4800
4373
|
type TabsListProps = {
|
|
4801
4374
|
"aria-label"?: string;
|
|
4802
4375
|
} & PropsWithChildren<{
|
|
4803
4376
|
fullWidth?: boolean;
|
|
4804
4377
|
}>;
|
|
4805
4378
|
export declare const TabsList: FC<TabsListProps>;
|
|
4806
|
-
//#endregion
|
|
4807
|
-
//#region src/components/Tabs/TabsTrigger.d.ts
|
|
4808
4379
|
type BaseProps = {
|
|
4809
4380
|
disabled?: boolean;
|
|
4810
4381
|
value: string;
|
|
@@ -4843,8 +4414,6 @@ type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon)
|
|
|
4843
4414
|
export declare const TabsTrigger: ({ disabled, icon, label, "aria-label": ariaLabel, value, ref, ...otherProps }: TabsTriggerProps & {
|
|
4844
4415
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
4845
4416
|
}) => JSX.Element;
|
|
4846
|
-
//#endregion
|
|
4847
|
-
//#region src/components/Tag/Tag.d.ts
|
|
4848
4417
|
type TagProps = ComponentPropsWithoutRef<"div"> & {
|
|
4849
4418
|
/**
|
|
4850
4419
|
* Sets the [color scheme](/foundations/color/color-schemes)
|
|
@@ -4877,8 +4446,6 @@ type TagProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
4877
4446
|
export declare const Tag: ({ onClickRemove, colorScheme, href, icon, label, onClickRemoveLabel, ref, ...props }: TagProps & {
|
|
4878
4447
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4879
4448
|
}) => JSX.Element;
|
|
4880
|
-
//#endregion
|
|
4881
|
-
//#region src/components/Thumbnail/ThumbnailBadge.d.ts
|
|
4882
4449
|
type ThumbnailBadgeProps = {
|
|
4883
4450
|
/**
|
|
4884
4451
|
* Icon to display on the left side of the badge
|
|
@@ -4890,8 +4457,6 @@ type ThumbnailBadgeProps = {
|
|
|
4890
4457
|
label: string;
|
|
4891
4458
|
};
|
|
4892
4459
|
export declare const ThumbnailBadge: FC<ThumbnailBadgeProps>;
|
|
4893
|
-
//#endregion
|
|
4894
|
-
//#region src/components/Thumbnail/Thumbnail.d.ts
|
|
4895
4460
|
type ThumbnailAspectRatio = "square" | "wide";
|
|
4896
4461
|
type ThumbnailStoryboard = {
|
|
4897
4462
|
__typename?: string;
|
|
@@ -4947,8 +4512,6 @@ type ThumbnailProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
|
|
|
4947
4512
|
export declare const Thumbnail: ({ gradientBackground, thumbnailImageType, thumbnailUrl, width, children, storyboard, height, aspectRatio, ref, ...props }: ThumbnailProps & {
|
|
4948
4513
|
ref?: Ref<HTMLDivElement> | undefined;
|
|
4949
4514
|
}) => JSX.Element;
|
|
4950
|
-
//#endregion
|
|
4951
|
-
//#region src/components/ThumbnailCollage/ThumbnailCollage.d.ts
|
|
4952
4515
|
type ThumbnailCollageProps = {
|
|
4953
4516
|
/**
|
|
4954
4517
|
* An array of `Thumbnail` components to show in the collage. Supports up to 3 `Thumbnail`s.
|
|
@@ -4969,8 +4532,6 @@ type ThumbnailCollageProps = {
|
|
|
4969
4532
|
* If no thumbnails are provided, it displays a fallback thumbnail with a gradient background.
|
|
4970
4533
|
*/
|
|
4971
4534
|
declare const ThumbnailCollage: ({ children, gradientBackground, hasBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
|
|
4972
|
-
//#endregion
|
|
4973
|
-
//#region src/components/TileButton/TileButton.d.ts
|
|
4974
4535
|
type TileButtonOrientation = "horizontal" | "vertical";
|
|
4975
4536
|
type OmittedButtonProps = "children" | "colorScheme" | "fullWidth" | "isLoading" | "labelAlign" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant";
|
|
4976
4537
|
type TileButtonProps = {
|
|
@@ -5001,8 +4562,6 @@ type TileButtonProps = {
|
|
|
5001
4562
|
export declare const TileButton: ({ leftIcon, rightIcon, label, description, orientation, ref, ...props }: TileButtonProps & {
|
|
5002
4563
|
ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
|
|
5003
4564
|
}) => JSX.Element;
|
|
5004
|
-
//#endregion
|
|
5005
|
-
//#region src/components/Tooltip/Tooltip.d.ts
|
|
5006
4565
|
type TooltipProps = {
|
|
5007
4566
|
/**
|
|
5008
4567
|
* The content of the tooltip
|
|
@@ -5042,8 +4601,6 @@ type TooltipProps = {
|
|
|
5042
4601
|
*
|
|
5043
4602
|
*/
|
|
5044
4603
|
export declare const Tooltip: FC<TooltipProps>;
|
|
5045
|
-
//#endregion
|
|
5046
|
-
//#region src/components/WistiaLogo/WistiaLogo.d.ts
|
|
5047
4604
|
type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href"> & {
|
|
5048
4605
|
/**
|
|
5049
4606
|
* An optional accessible description for the logo
|
|
@@ -5085,6 +4642,5 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href">
|
|
|
5085
4642
|
* Render the Wistia logo in various ways.
|
|
5086
4643
|
*/
|
|
5087
4644
|
export declare const WistiaLogo: FC<WistiaLogoProps>;
|
|
5088
|
-
//#endregion
|
|
5089
4645
|
export { type ActionButtonProps, type AlignmentTypes, type AvatarImageLoadStateType, type AvatarInstanceType, type AvatarProps, type AvatarSizeType, type AvatarStatus, type BadgeProps, type BadgeVariants, type BannerProps, type BoxFillType, type BoxProps, type BreadcrumbProps, type BreadcrumbsProps, type ButtonGroupButtonSize, 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 CustomizableTokens, 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 FormActionCallback, type FormActionState, type FormFieldProps, type FormGroupProps, type FormProps, type FormValidationCallback, type Gap, type GradientNameType, type GridProps, type HeadingProps, type HexColorInputProps, type IconButtonProps, type IconChipProps, type IconChipShape, type IconChipSize, type IconChipVariant, type IconNameType, ImageDimensionsValidator, type ImageProps, type InputClickToCopyProps, type InputDurationProps, type InputPasswordProps, type InputProps, type KeyPressState, type KeyboardKeys, type LabelProps, type LinkProps, type ListItemProps, type ListProps, type MarkProps, type MarkdownProps, type MeterProps, type MeterSegment, type ModalCalloutProps, 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 ResponsiveGap, 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 TextTransformTypes, type TextVariant, type ThumbnailAspectRatio, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, type ThumbnailStoryboard, type TileButtonOrientation, type TileButtonProps, type TimeDuration, type ToastPosition, type TooltipProps, type UseActiveMqReturnType, type UseFocusTrapOptions, type UseIsHoveredReturnType, type UseKeyOptions, type UseKeyPressOptions, type UseMqReturnType, type UseToastProps, type UseToastReturnValue, type WordBreakTypes };
|
|
5090
4646
|
//# sourceMappingURL=index.d.ts.map
|