aidos-ui 4.0.6 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/index.d.ts +205 -130
- package/dist/index.js +3069 -1944
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.d.ts +3 -1
- package/dist/jsx-dev-runtime.js +2 -1
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/package.json +17 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import React__default, { ReactNode, ReactElement } from 'react';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import CSS from 'csstype';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { ReactNode, ReactElement } from 'react';
|
|
5
4
|
|
|
6
5
|
type Styles = CSS.Properties<string | number | CSS.Properties<string | number>>;
|
|
7
6
|
type JSS = Styles | null | false | undefined | {
|
|
@@ -21,14 +20,16 @@ type Spacing = "none" | Size;
|
|
|
21
20
|
type Gap = Spacing;
|
|
22
21
|
type Padding = Spacing | [Spacing, Spacing];
|
|
23
22
|
type Margin = Spacing | [Spacing, Spacing];
|
|
23
|
+
type Material = "aurora" | "dawn" | "mist" | "twilight";
|
|
24
24
|
type Direction = "horizontal" | "vertical";
|
|
25
25
|
type Position = "start" | "end";
|
|
26
26
|
type Justify = "none" | "center" | "flex-start" | "space-between" | "flex-end" | "stretch";
|
|
27
27
|
type Align = "none" | "center" | "stretch" | "flex-start" | "flex-end";
|
|
28
28
|
type FlexDirection = "row" | "column";
|
|
29
29
|
type Color = "none" | "light" | "dark" | "negative" | "warning" | "highlight" | "primary-background" | "secondary-background" | "divider" | "inherit";
|
|
30
|
-
type TextColor = "primary" | "secondary" | "highlight" | "negative" | "subtle" | "light" | "inherit";
|
|
30
|
+
type TextColor = "primary" | "secondary" | "highlight" | "negative" | "subtle" | "light" | "inverse" | "inherit";
|
|
31
31
|
declare function cssVar(string: keyof Theme): string;
|
|
32
|
+
declare function getMaterial(material: Material): Styles;
|
|
32
33
|
declare function getSize(size: Size): string;
|
|
33
34
|
declare function getSpacing(spacing: Spacing): string;
|
|
34
35
|
declare function getPadding(padding: Padding): JSS;
|
|
@@ -43,16 +44,23 @@ type Theme = {
|
|
|
43
44
|
["--hovered-background"]: string;
|
|
44
45
|
["--selected-background"]: string;
|
|
45
46
|
["--nav-bar"]: string;
|
|
47
|
+
["--material-aurora"]: string;
|
|
48
|
+
["--material-dawn"]: string;
|
|
49
|
+
["--material-mist"]: string;
|
|
50
|
+
["--material-twilight"]: string;
|
|
46
51
|
["--warning"]: string;
|
|
47
52
|
["--highlight"]: string;
|
|
48
53
|
["--outline"]: string;
|
|
49
54
|
["--light-highlight"]: string;
|
|
55
|
+
["--light-highlight-hovered"]: string;
|
|
56
|
+
["--light-highlight-pressed"]: string;
|
|
50
57
|
["--primary-text"]: string;
|
|
51
58
|
["--secondary-text"]: string;
|
|
52
59
|
["--subtle-text"]: string;
|
|
53
60
|
["--highlight-text"]: string;
|
|
54
61
|
["--negative-text"]: string;
|
|
55
62
|
["--light-text"]: string;
|
|
63
|
+
["--inverse-text"]: string;
|
|
56
64
|
["--font-xsmall"]: string;
|
|
57
65
|
["--font-small"]: string;
|
|
58
66
|
["--font-medium"]: string;
|
|
@@ -60,9 +68,10 @@ type Theme = {
|
|
|
60
68
|
["--font-xlarge"]: string;
|
|
61
69
|
["--font-xxlarge"]: string;
|
|
62
70
|
["--font-xxxlarge"]: string;
|
|
63
|
-
["--background-button-
|
|
71
|
+
["--background-button-primary"]: string;
|
|
64
72
|
["--background-button-secondary"]: string;
|
|
65
73
|
["--background-button-negative"]: string;
|
|
74
|
+
["--background-button-inverse"]: string;
|
|
66
75
|
["--background-button-disabled"]: string;
|
|
67
76
|
["--spacing-xs"]: string;
|
|
68
77
|
["--spacing-s"]: string;
|
|
@@ -74,6 +83,7 @@ type Theme = {
|
|
|
74
83
|
["--border-radius-s"]: string;
|
|
75
84
|
["--border-radius-m"]: string;
|
|
76
85
|
["--border-radius-l"]: string;
|
|
86
|
+
["--border-radius-xl"]: string;
|
|
77
87
|
["--nav-bar-height"]: string;
|
|
78
88
|
["--shadow-sm"]: string;
|
|
79
89
|
["--shadow-md"]: string;
|
|
@@ -84,6 +94,7 @@ type Theme = {
|
|
|
84
94
|
declare const lightTheme: Theme;
|
|
85
95
|
declare const darkTheme: Theme;
|
|
86
96
|
declare const baseStyles: string;
|
|
97
|
+
declare const getColorValue: (color: Color) => string;
|
|
87
98
|
declare const getBackground: (color: Color) => JSS;
|
|
88
99
|
declare const MOBILE = 750;
|
|
89
100
|
declare const TABLET = 1000;
|
|
@@ -118,19 +129,31 @@ declare const getTextColor: (color: TextColor) => {
|
|
|
118
129
|
color: string;
|
|
119
130
|
} | {
|
|
120
131
|
color: string;
|
|
132
|
+
} | {
|
|
133
|
+
color: string;
|
|
121
134
|
};
|
|
122
135
|
declare function getBaseStyles(themes: {
|
|
123
136
|
light: Theme;
|
|
124
137
|
dark: Theme;
|
|
125
138
|
}): string[];
|
|
126
139
|
|
|
140
|
+
type AvatarSize = "small" | "medium" | "large";
|
|
141
|
+
interface AvatarProps {
|
|
142
|
+
name: string;
|
|
143
|
+
src?: string;
|
|
144
|
+
size?: AvatarSize;
|
|
145
|
+
badge?: ReactNode;
|
|
146
|
+
jss?: JSS;
|
|
147
|
+
}
|
|
148
|
+
declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLElement>>;
|
|
149
|
+
|
|
127
150
|
declare function Badge({ size, color, jss, }: {
|
|
128
151
|
size?: Size;
|
|
129
152
|
color?: Color;
|
|
130
153
|
jss?: JSS;
|
|
131
154
|
}): react_jsx_runtime.JSX.Element;
|
|
132
155
|
|
|
133
|
-
type InteractableColor = "
|
|
156
|
+
type InteractableColor = "primary" | "secondary" | "negative" | "inverse";
|
|
134
157
|
|
|
135
158
|
interface BaseButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
136
159
|
onClick: (e: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
@@ -213,12 +236,11 @@ interface RowProps extends FlexLayoutProps {
|
|
|
213
236
|
}
|
|
214
237
|
declare const Row: React__default.ForwardRefExoticComponent<Omit<RowProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
215
238
|
|
|
216
|
-
interface BaseListItemProps extends RowProps {
|
|
239
|
+
interface BaseListItemProps extends Omit<RowProps, "children" | "jss" | "role"> {
|
|
217
240
|
children: (elements: {
|
|
218
241
|
content: React__default.JSX.Element;
|
|
219
242
|
}) => ReactNode;
|
|
220
243
|
jss?: JSS;
|
|
221
|
-
withDivider?: boolean;
|
|
222
244
|
headline: string;
|
|
223
245
|
headlineSize?: Size;
|
|
224
246
|
headlineColor?: TextColor;
|
|
@@ -241,23 +263,36 @@ interface BoxProps extends FlexLayoutProps {
|
|
|
241
263
|
}
|
|
242
264
|
declare function Box({ padding, align, justify, ...otherProps }: BoxProps): react_jsx_runtime.JSX.Element;
|
|
243
265
|
|
|
244
|
-
type IconType = "fa-address-book" | "fa-address-book-o" | "fa-address-card" | "fa-address-card-o" | "fa-adjust" | "fa-adn" | "fa-align-center" | "fa-align-justify" | "fa-align-left" | "fa-align-right" | "fa-amazon" | "fa-ambulance" | "fa-american-sign-language-interpreting" | "fa-anchor" | "fa-android" | "fa-angellist" | "fa-angle-double-down" | "fa-angle-double-left" | "fa-angle-double-right" | "fa-angle-double-up" | "fa-angle-down" | "fa-angle-left" | "fa-angle-right" | "fa-angle-up" | "fa-apple" | "fa-archive" | "fa-area-chart" | "fa-arrow-circle-down" | "fa-arrow-circle-left" | "fa-arrow-circle-o-down" | "fa-arrow-circle-o-left" | "fa-arrow-circle-o-right" | "fa-arrow-circle-o-up" | "fa-arrow-circle-right" | "fa-arrow-circle-up" | "fa-arrow-down" | "fa-arrow-left" | "fa-arrow-right" | "fa-arrow-up" | "fa-arrows" | "fa-arrows-alt" | "fa-arrows-h" | "fa-arrows-v" | "fa-asl-interpretin" | "fa-assistive-listening-systems" | "fa-asterisk" | "fa-at" | "fa-audio-description" | "fa-automobil" | "fa-backward" | "fa-balance-scale" | "fa-ban" | "fa-bandcamp" | "fa-ban" | "fa-bar-chart" | "fa-bar-chart-" | "fa-barcode" | "fa-bars" | "fa-bath" | "fa-bathtu" | "fa-batter" | "fa-battery-" | "fa-battery-" | "fa-battery-" | "fa-battery-" | "fa-battery-" | "fa-battery-empty" | "fa-battery-full" | "fa-battery-half" | "fa-battery-quarter" | "fa-battery-three-quarters" | "fa-bed" | "fa-beer" | "fa-behance" | "fa-behance-square" | "fa-bell" | "fa-bell-o" | "fa-bell-slash" | "fa-bell-slash-o" | "fa-bicycle" | "fa-binoculars" | "fa-birthday-cake" | "fa-bitbucket" | "fa-bitbucket-square" | "fa-bitcoi" | "fa-black-tie" | "fa-blind" | "fa-bluetooth" | "fa-bluetooth-b" | "fa-bold" | "fa-bolt" | "fa-bomb" | "fa-book" | "fa-bookmark" | "fa-bookmark-o" | "fa-braille" | "fa-briefcase" | "fa-btc" | "fa-bug" | "fa-building" | "fa-building-o" | "fa-bullhorn" | "fa-bullseye" | "fa-bus" | "fa-buysellads" | "fa-ca" | "fa-calculator" | "fa-calendar" | "fa-calendar-check-o" | "fa-calendar-minus-o" | "fa-calendar-o" | "fa-calendar-plus-o" | "fa-calendar-times-o" | "fa-camera" | "fa-camera-retro" | "fa-car" | "fa-caret-down" | "fa-caret-left" | "fa-caret-right" | "fa-caret-square-o-down" | "fa-caret-square-o-left" | "fa-caret-square-o-right" | "fa-caret-square-o-up" | "fa-caret-up" | "fa-cart-arrow-down" | "fa-cart-plus" | "fa-cc" | "fa-cc-amex" | "fa-cc-diners-club" | "fa-cc-discover" | "fa-cc-jcb" | "fa-cc-mastercard" | "fa-cc-paypal" | "fa-cc-stripe" | "fa-cc-visa" | "fa-certificate" | "fa-chai" | "fa-chain-broken" | "fa-check" | "fa-check-circle" | "fa-check-circle-o" | "fa-check-square" | "fa-check-square-o" | "fa-chevron-circle-down" | "fa-chevron-circle-left" | "fa-chevron-circle-right" | "fa-chevron-circle-up" | "fa-chevron-down" | "fa-chevron-left" | "fa-solid:chevron-right" | "fa-chevron-right" | "fa-chevron-up" | "fa-child" | "fa-chrome" | "fa-circle" | "fa-circle-o" | "fa-circle-o-notch" | "fa-circle-thin" | "fa-clipboard" | "fa-clock-o" | "fa-clone" | "fa-close" | "fa-cloud" | "fa-cloud-download" | "fa-cloud-upload" | "fa-cn" | "fa-code" | "fa-code-fork" | "fa-codepen" | "fa-codiepie" | "fa-coffee" | "fa-cog" | "fa-cogs" | "fa-columns" | "fa-comment" | "fa-comment-o" | "fa-commenting" | "fa-commenting-o" | "fa-comments" | "fa-comments-o" | "fa-compass" | "fa-compress" | "fa-connectdevelop" | "fa-contao" | "fa-cop" | "fa-copyright" | "fa-creative-commons" | "fa-credit-card" | "fa-credit-card-alt" | "fa-crop" | "fa-crosshairs" | "fa-css3" | "fa-cube" | "fa-cubes" | "fa-cu" | "fa-cutlery" | "fa-dashboar" | "fa-dashcube" | "fa-database" | "fa-deaf" | "fa-deafnes" | "fa-deden" | "fa-delicious" | "fa-desktop" | "fa-deviantart" | "fa-diamond" | "fa-digg" | "fa-dolla" | "fa-dot-circle-o" | "fa-download" | "fa-dribbble" | "fa-drivers-licens" | "fa-drivers-license-" | "fa-dropbox" | "fa-drupal" | "fa-edge" | "fa-edi" | "fa-eercast" | "fa-eject" | "fa-ellipsis-h" | "fa-ellipsis-v" | "fa-empire" | "fa-envelope" | "fa-envelope-o" | "fa-envelope-open" | "fa-envelope-open-o" | "fa-envelope-square" | "fa-envira" | "fa-eraser" | "fa-etsy" | "fa-eur" | "fa-eur" | "fa-exchange" | "fa-exclamation" | "fa-exclamation-circle" | "fa-exclamation-triangle" | "fa-expand" | "fa-expeditedssl" | "fa-external-link" | "fa-external-link-square" | "fa-eye" | "fa-eye-slash" | "fa-eyedropper" | "fa-f" | "fa-facebook" | "fa-facebook-" | "fa-facebook-official" | "fa-facebook-square" | "fa-fast-backward" | "fa-fast-forward" | "fa-fax" | "fa-fee" | "fa-female" | "fa-fighter-jet" | "fa-file" | "fa-file-archive-o" | "fa-file-audio-o" | "fa-file-code-o" | "fa-file-excel-o" | "fa-file-image-o" | "fa-file-movie-" | "fa-file-o" | "fa-file-pdf-o" | "fa-file-photo-" | "fa-file-picture-" | "fa-file-powerpoint-o" | "fa-file-sound-" | "fa-file-text" | "fa-file-text-o" | "fa-file-video-o" | "fa-file-word-o" | "fa-file-zip-" | "fa-files-o" | "fa-film" | "fa-filter" | "fa-fire" | "fa-fire-extinguisher" | "fa-firefox" | "fa-first-order" | "fa-flag" | "fa-flag-checkered" | "fa-flag-o" | "fa-flas" | "fa-flask" | "fa-flickr" | "fa-floppy-o" | "fa-folder" | "fa-folder-o" | "fa-folder-open" | "fa-folder-open-o" | "fa-font" | "fa-font-awesome" | "fa-fonticons" | "fa-fort-awesome" | "fa-forumbee" | "fa-forward" | "fa-foursquare" | "fa-free-code-camp" | "fa-frown-o" | "fa-futbol-o" | "fa-gamepad" | "fa-gavel" | "fa-gbp" | "fa-g" | "fa-gea" | "fa-gear" | "fa-genderless" | "fa-get-pocket" | "fa-gg" | "fa-gg-circle" | "fa-gift" | "fa-git" | "fa-git-square" | "fa-github" | "fa-github-alt" | "fa-github-square" | "fa-gitlab" | "fa-gitti" | "fa-glass" | "fa-glide" | "fa-glide-g" | "fa-globe" | "fa-google" | "fa-google-plus" | "fa-google-plus-circl" | "fa-google-plus-official" | "fa-google-plus-square" | "fa-google-wallet" | "fa-graduation-cap" | "fa-gratipay" | "fa-grav" | "fa-grou" | "fa-h-square" | "fa-hacker-news" | "fa-hand-grab-" | "fa-hand-lizard-o" | "fa-hand-o-down" | "fa-hand-o-left" | "fa-hand-o-right" | "fa-hand-o-up" | "fa-hand-paper-o" | "fa-hand-peace-o" | "fa-hand-pointer-o" | "fa-hand-rock-o" | "fa-hand-scissors-o" | "fa-hand-spock-o" | "fa-hand-stop-" | "fa-handshake-o" | "fa-hard-of-hearin" | "fa-hashtag" | "fa-hdd-o" | "fa-header" | "fa-headphones" | "fa-heart" | "fa-heart-o" | "fa-heartbeat" | "fa-history" | "fa-home" | "fa-hospital-o" | "fa-hote" | "fa-hourglass" | "fa-hourglass-" | "fa-hourglass-" | "fa-hourglass-" | "fa-hourglass-end" | "fa-hourglass-half" | "fa-hourglass-o" | "fa-hourglass-start" | "fa-houzz" | "fa-html5" | "fa-i-cursor" | "fa-id-badge" | "fa-id-card" | "fa-id-card-o" | "fa-ils" | "fa-imag" | "fa-imdb" | "fa-inbox" | "fa-indent" | "fa-industry" | "fa-info" | "fa-info-circle" | "fa-inr" | "fa-instagram" | "fa-institutio" | "fa-internet-explorer" | "fa-interse" | "fa-ioxhost" | "fa-italic" | "fa-joomla" | "fa-jpy" | "fa-jsfiddle" | "fa-key" | "fa-keyboard-o" | "fa-krw" | "fa-language" | "fa-laptop" | "fa-lastfm" | "fa-lastfm-square" | "fa-leaf" | "fa-leanpub" | "fa-lega" | "fa-lemon-o" | "fa-level-down" | "fa-level-up" | "fa-life-bou" | "fa-life-buo" | "fa-life-ring" | "fa-life-save" | "fa-lightbulb-o" | "fa-line-chart" | "fa-link" | "fa-linkedin" | "fa-linkedin-square" | "fa-linode" | "fa-linux" | "fa-list" | "fa-list-alt" | "fa-list-ol" | "fa-list-ul" | "fa-location-arrow" | "fa-lock" | "fa-long-arrow-down" | "fa-long-arrow-left" | "fa-long-arrow-right" | "fa-long-arrow-up" | "fa-low-vision" | "fa-magic" | "fa-magnet" | "fa-mail-forwar" | "fa-mail-repl" | "fa-mail-reply-al" | "fa-male" | "fa-map" | "fa-map-marker" | "fa-map-o" | "fa-map-pin" | "fa-map-signs" | "fa-mars" | "fa-mars-double" | "fa-mars-stroke" | "fa-mars-stroke-h" | "fa-mars-stroke-v" | "fa-maxcdn" | "fa-meanpath" | "fa-medium" | "fa-medkit" | "fa-meetup" | "fa-meh-o" | "fa-mercury" | "fa-microchip" | "fa-microphone" | "fa-microphone-slash" | "fa-minus" | "fa-minus-circle" | "fa-minus-square" | "fa-minus-square-o" | "fa-mixcloud" | "fa-mobile" | "fa-mobile-phon" | "fa-modx" | "fa-money" | "fa-moon-o" | "fa-mortar-boar" | "fa-motorcycle" | "fa-mouse-pointer" | "fa-music" | "fa-navico" | "fa-neuter" | "fa-newspaper-o" | "fa-object-group" | "fa-object-ungroup" | "fa-odnoklassniki" | "fa-odnoklassniki-square" | "fa-opencart" | "fa-openid" | "fa-opera" | "fa-optin-monster" | "fa-outdent" | "fa-pagelines" | "fa-paint-brush" | "fa-paper-plane" | "fa-paper-plane-o" | "fa-paperclip" | "fa-paragraph" | "fa-past" | "fa-pause" | "fa-pause-circle" | "fa-pause-circle-o" | "fa-paw" | "fa-paypal" | "fa-pencil" | "fa-pencil-square" | "fa-pencil-square-o" | "fa-percent" | "fa-phone" | "fa-phone-square" | "fa-phot" | "fa-picture-o" | "fa-pie-chart" | "fa-pied-piper" | "fa-pied-piper-alt" | "fa-pied-piper-pp" | "fa-pinterest" | "fa-pinterest-p" | "fa-pinterest-square" | "fa-plane" | "fa-play" | "fa-play-circle" | "fa-play-circle-o" | "fa-plug" | "fa-plus" | "fa-plus-circle" | "fa-plus-square" | "fa-plus-square-o" | "fa-podcast" | "fa-power-off" | "fa-print" | "fa-product-hunt" | "fa-puzzle-piece" | "fa-qq" | "fa-qrcode" | "fa-question" | "fa-question-circle" | "fa-question-circle-o" | "fa-quora" | "fa-quote-left" | "fa-quote-right" | "fa-r" | "fa-random" | "fa-ravelry" | "fa-rebel" | "fa-recycle" | "fa-reddit" | "fa-reddit-alien" | "fa-reddit-square" | "fa-refresh" | "fa-registered" | "fa-remove" | "fa-renren" | "fa-reorde" | "fa-repeat" | "fa-reply" | "fa-reply-all" | "fa-resistanc" | "fa-retweet" | "fa-rm" | "fa-road" | "fa-rocket" | "fa-rotate-lef" | "fa-rotate-right" | "fa-roubl" | "fa-rss" | "fa-rss-square" | "fa-rub" | "fa-rubl" | "fa-rupe" | "fa-s1" | "fa-safari" | "fa-sav" | "fa-scissors" | "fa-scribd" | "fa-search" | "fa-search-minus" | "fa-search-plus" | "fa-sellsy" | "fa-sen" | "fa-send-" | "fa-server" | "fa-share" | "fa-share-alt" | "fa-share-alt-square" | "fa-share-square" | "fa-share-square-o" | "fa-sheke" | "fa-sheqe" | "fa-shield" | "fa-ship" | "fa-shirtsinbulk" | "fa-shopping-bag" | "fa-shopping-basket" | "fa-shopping-cart" | "fa-shower" | "fa-sign-in" | "fa-sign-language" | "fa-sign-out" | "fa-signal" | "fa-signin" | "fa-simplybuilt" | "fa-sitemap" | "fa-skyatlas" | "fa-skype" | "fa-slack" | "fa-sliders" | "fa-slideshare" | "fa-smile-o" | "fa-snapchat" | "fa-snapchat-ghost" | "fa-snapchat-square" | "fa-snowflake-o" | "fa-soccer-ball-" | "fa-sort" | "fa-sort-alpha-asc" | "fa-sort-alpha-desc" | "fa-sort-amount-asc" | "fa-sort-amount-desc" | "fa-sort-asc" | "fa-sort-desc" | "fa-sort-dow" | "fa-sort-numeric-asc" | "fa-sort-numeric-desc" | "fa-sort-u" | "fa-soundcloud" | "fa-space-shuttle" | "fa-spinner" | "fa-spoon" | "fa-spotify" | "fa-square" | "fa-square-o" | "fa-stack-exchange" | "fa-stack-overflow" | "fa-star" | "fa-star-half" | "fa-star-half-empt" | "fa-star-half-ful" | "fa-star-half-o" | "fa-star-o" | "fa-steam" | "fa-steam-square" | "fa-step-backward" | "fa-step-forward" | "fa-stethoscope" | "fa-sticky-note" | "fa-sticky-note-o" | "fa-stop" | "fa-stop-circle" | "fa-stop-circle-o" | "fa-street-view" | "fa-strikethrough" | "fa-stumbleupon" | "fa-stumbleupon-circle" | "fa-subscript" | "fa-subway" | "fa-suitcase" | "fa-sun-o" | "fa-superpowers" | "fa-superscript" | "fa-suppor" | "fa-table" | "fa-tablet" | "fa-tachometer" | "fa-tag" | "fa-tags" | "fa-tasks" | "fa-taxi" | "fa-telegram" | "fa-television" | "fa-tencent-weibo" | "fa-terminal" | "fa-text-height" | "fa-text-width" | "fa-th" | "fa-th-large" | "fa-th-list" | "fa-themeisle" | "fa-thermomete" | "fa-thermometer-" | "fa-thermometer-" | "fa-thermometer-" | "fa-thermometer-" | "fa-thermometer-" | "fa-thermometer-empty" | "fa-thermometer-full" | "fa-thermometer-half" | "fa-thermometer-quarter" | "fa-thermometer-three-quarters" | "fa-thumb-tack" | "fa-thumbs-down" | "fa-thumbs-o-down" | "fa-thumbs-o-up" | "fa-thumbs-up" | "fa-ticket" | "fa-times" | "fa-times-circle" | "fa-times-circle-o" | "fa-times-rectangl" | "fa-times-rectangle-" | "fa-tint" | "fa-toggle-dow" | "fa-toggle-lef" | "fa-toggle-off" | "fa-toggle-on" | "fa-toggle-righ" | "fa-toggle-u" | "fa-trademark" | "fa-train" | "fa-transgender" | "fa-transgender-alt" | "fa-trash" | "fa-trash-o" | "fa-tree" | "fa-trello" | "fa-tripadvisor" | "fa-trophy" | "fa-truck" | "fa-try" | "fa-tty" | "fa-tumblr" | "fa-tumblr-square" | "fa-turkish-lir" | "fa-t" | "fa-twitch" | "fa-twitter" | "fa-twitter-square" | "fa-umbrella" | "fa-underline" | "fa-undo" | "fa-universal-access" | "fa-university" | "fa-unlin" | "fa-unlock" | "fa-unlock-alt" | "fa-unsorte" | "fa-upload" | "fa-usb" | "fa-usd" | "fa-user" | "fa-user-circle" | "fa-user-circle-o" | "fa-user-md" | "fa-user-o" | "fa-user-plus" | "fa-user-secret" | "fa-user-times" | "fa-users" | "fa-vcar" | "fa-vcard-" | "fa-venus" | "fa-venus-double" | "fa-venus-mars" | "fa-viacoin" | "fa-viadeo" | "fa-viadeo-square" | "fa-video-camera" | "fa-vimeo" | "fa-vimeo-square" | "fa-vine" | "fa-vk" | "fa-volume-control-phone" | "fa-volume-down" | "fa-volume-off" | "fa-volume-up" | "fa-warnin" | "fa-wecha" | "fa-weibo" | "fa-weixin" | "fa-whatsapp" | "fa-wheelchair" | "fa-wheelchair-alt" | "fa-wifi" | "fa-wikipedia-w" | "fa-window-close" | "fa-window-close-o" | "fa-window-maximize" | "fa-window-minimize" | "fa-window-restore" | "fa-windows" | "fa-wo" | "fa-wordpress" | "fa-wpbeginner" | "fa-wpexplorer" | "fa-wpforms" | "fa-wrench" | "fa-xing" | "fa-xing-square" | "fa-y-combinator" | "fa-y-combinator-squar" | "fa-yahoo" | "fa-y" | "fa-yc-squar" | "fa-yelp" | "fa-ye" | "fa-yoast" | "fa-youtube" | "fa-youtube-play" | "fa-youtube-squar";
|
|
266
|
+
type IconType = "a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "activity-square" | "ad" | "air-vent" | "airplay" | "alarm-check" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-minus" | "alarm-plus" | "alarm-smoke" | "album" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizonal-distribute-center" | "align-horizonal-distribute-end" | "align-horizonal-distribute-start" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-justify" | "align-left" | "align-right" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "anchor" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window" | "app-window-mac" | "apple" | "archive" | "archive-restore" | "archive-x" | "area-chart" | "armchair" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-0-1" | "arrow-down-01" | "arrow-down-1-0" | "arrow-down-10" | "arrow-down-a-z" | "arrow-down-az" | "arrow-down-circle" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-left-from-circle" | "arrow-down-left-from-square" | "arrow-down-left-square" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-right-from-circle" | "arrow-down-right-from-square" | "arrow-down-right-square" | "arrow-down-square" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-down-za" | "arrow-left" | "arrow-left-circle" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-square" | "arrow-left-to-line" | "arrow-right" | "arrow-right-circle" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-square" | "arrow-right-to-line" | "arrow-up" | "arrow-up-0-1" | "arrow-up-01" | "arrow-up-1-0" | "arrow-up-10" | "arrow-up-a-z" | "arrow-up-az" | "arrow-up-circle" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-left-from-circle" | "arrow-up-left-from-square" | "arrow-up-left-square" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-right-from-circle" | "arrow-up-right-from-square" | "arrow-up-right-square" | "arrow-up-square" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrow-up-za" | "arrows-up-from-line" | "asterisk" | "asterisk-square" | "astroid" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3-d" | "axis-3d" | "baby" | "backpack" | "badge" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-help" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-question-mark" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-turkish-lira" | "badge-x" | "baggage-claim" | "balloon" | "ban" | "banana" | "bandage" | "banknote" | "banknote-arrow-down" | "banknote-arrow-up" | "banknote-check" | "banknote-x" | "bar-chart" | "bar-chart-2" | "bar-chart-3" | "bar-chart-4" | "bar-chart-big" | "bar-chart-horizontal" | "bar-chart-horizontal-big" | "barcode" | "barrel" | "baseline" | "bath" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-plus" | "battery-warning" | "beaker" | "bean" | "bean-off" | "bed" | "bed-double" | "bed-single" | "beef" | "beef-off" | "beer" | "beer-off" | "bell" | "bell-check" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "between-horizonal-end" | "between-horizonal-start" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "birdhouse" | "bitcoin" | "blend" | "blender" | "blinds" | "blocks" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bold" | "bolt" | "bomb" | "bone" | "bone-fracture" | "book" | "book-a" | "book-alert" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-search" | "book-template" | "book-text" | "book-type" | "book-up" | "book-up-2" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-off" | "bookmark-plus" | "bookmark-x" | "boom-box" | "bot" | "bot-message-square" | "bot-off" | "bottle-wine" | "bow-arrow" | "box" | "box-select" | "boxes" | "braces" | "brackets" | "brain" | "brain-circuit" | "brain-cog" | "brick-wall" | "brick-wall-fire" | "brick-wall-shield" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "bring-to-front" | "broccoli" | "brush" | "brush-cleaning" | "bubbles" | "bug" | "bug-off" | "bug-play" | "building" | "building-2" | "bus" | "bus-front" | "cable" | "cable-car" | "cake" | "cake-slice" | "calculator" | "calendar" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus" | "calendar-minus-2" | "calendar-off" | "calendar-plus" | "calendar-plus-2" | "calendar-range" | "calendar-search" | "calendar-sync" | "calendar-x" | "calendar-x-2" | "calendars" | "camera" | "camera-off" | "candlestick-chart" | "candy" | "candy-cane" | "candy-off" | "cannabis" | "cannabis-off" | "captions" | "captions-off" | "car" | "car-front" | "car-taxi-front" | "caravan" | "card-sim" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "cctv-off" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check" | "check-check" | "check-circle" | "check-circle-2" | "check-line" | "check-square" | "check-square-2" | "chef-hat" | "cherry" | "chess-bishop" | "chess-king" | "chess-knight" | "chess-pawn" | "chess-queen" | "chess-rook" | "chevron-down" | "chevron-down-circle" | "chevron-down-square" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-left-circle" | "chevron-left-square" | "chevron-right" | "chevron-right-circle" | "chevron-right-square" | "chevron-up" | "chevron-up-circle" | "chevron-up-square" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-left-right-ellipsis" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "chrome" | "chromium" | "church" | "cigarette" | "cigarette-off" | "circle" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot" | "circle-dot-dashed" | "circle-ellipsis" | "circle-equal" | "circle-euro" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-help" | "circle-minus" | "circle-off" | "circle-parking" | "circle-parking-off" | "circle-pause" | "circle-percent" | "circle-pile" | "circle-play" | "circle-plus" | "circle-pound-sterling" | "circle-power" | "circle-question-mark" | "circle-slash" | "circle-slash-2" | "circle-slashed" | "circle-small" | "circle-star" | "circle-stop" | "circle-user" | "circle-user-round" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-clock" | "clipboard-copy" | "clipboard-edit" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-signature" | "clipboard-type" | "clipboard-x" | "clock" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-left" | "clock-arrow-right" | "clock-arrow-up" | "clock-check" | "clock-fading" | "clock-plus" | "closed-caption" | "cloud" | "cloud-alert" | "cloud-backup" | "cloud-check" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-sync" | "cloud-upload" | "cloudy" | "clover" | "club" | "code" | "code-2" | "code-square" | "code-xml" | "codepen" | "codesandbox" | "coffee" | "cog" | "coins" | "columns" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "columns-settings" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact" | "contact-2" | "contact-round" | "container" | "contrast" | "cookie" | "cooking-pot" | "copy" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crosshair" | "crown" | "cuboid" | "cup-soda" | "curly-braces" | "currency" | "cylinder" | "dam" | "database" | "database-arrow-down" | "database-arrow-up" | "database-backup" | "database-check" | "database-minus" | "database-plus" | "database-search" | "database-x" | "database-zap" | "decimals-arrow-left" | "decimals-arrow-right" | "delete" | "dessert" | "diameter" | "diamond" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc" | "disc-2" | "disc-3" | "disc-album" | "divide" | "divide-circle" | "divide-square" | "dna" | "dna-off" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-closed-locked" | "door-open" | "dot" | "dot-square" | "download" | "download-cloud" | "drafting-compass" | "drama" | "dribbble" | "drill" | "drone" | "droplet" | "droplet-off" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear" | "ear-off" | "earth" | "earth-lock" | "eclipse" | "edit" | "edit-2" | "edit-3" | "egg" | "egg-fried" | "egg-off" | "ellipse" | "ellipsis" | "ellipsis-vertical" | "equal" | "equal-approximately" | "equal-not" | "equal-square" | "eraser" | "ethernet-port" | "euro" | "ev-charger" | "expand" | "external-link" | "eye" | "eye-closed" | "eye-dashed" | "eye-off" | "facebook" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "figma" | "file" | "file-archive" | "file-audio" | "file-audio-2" | "file-axis-3-d" | "file-axis-3d" | "file-badge" | "file-badge-2" | "file-bar-chart" | "file-bar-chart-2" | "file-box" | "file-braces" | "file-braces-corner" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-check-2" | "file-check-corner" | "file-clock" | "file-code" | "file-code-2" | "file-code-corner" | "file-cog" | "file-cog-2" | "file-diff" | "file-digit" | "file-down" | "file-edit" | "file-exclamation-point" | "file-headphone" | "file-heart" | "file-image" | "file-input" | "file-json" | "file-json-2" | "file-key" | "file-key-2" | "file-line-chart" | "file-lock" | "file-lock-2" | "file-minus" | "file-minus-2" | "file-minus-corner" | "file-music" | "file-output" | "file-pen" | "file-pen-line" | "file-pie-chart" | "file-play" | "file-plus" | "file-plus-2" | "file-plus-corner" | "file-question" | "file-question-mark" | "file-scan" | "file-search" | "file-search-2" | "file-search-corner" | "file-signal" | "file-signature" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type" | "file-type-2" | "file-type-corner" | "file-up" | "file-user" | "file-video" | "file-video-2" | "file-video-camera" | "file-volume" | "file-volume-2" | "file-warning" | "file-x" | "file-x-2" | "file-x-corner" | "files" | "film" | "filter" | "filter-x" | "fingerprint" | "fingerprint-pattern" | "fire-extinguisher" | "fish" | "fish-off" | "fish-symbol" | "fishing-hook" | "fishing-rod" | "flag" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flame" | "flame-kindling" | "flashlight" | "flashlight-off" | "flask-conical" | "flask-conical-off" | "flask-round" | "flip-horizontal" | "flip-horizontal-2" | "flip-vertical" | "flip-vertical-2" | "flower" | "flower-2" | "focus" | "fold-horizontal" | "fold-vertical" | "folder" | "folder-archive" | "folder-bookmark" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-cog-2" | "folder-dot" | "folder-down" | "folder-edit" | "folder-git" | "folder-git-2" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-open-dot" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search" | "folder-search-2" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folders" | "footprints" | "fork-knife" | "fork-knife-crossed" | "forklift" | "form" | "form-input" | "forward" | "frame" | "framer" | "frown" | "fuel" | "fullscreen" | "function-square" | "funnel" | "funnel-plus" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gamepad" | "gamepad-2" | "gamepad-directional" | "gantt-chart" | "gantt-chart-square" | "gauge" | "gauge-circle" | "gavel" | "gem" | "georgian-lari" | "ghost" | "gift" | "git-branch" | "git-branch-minus" | "git-branch-plus" | "git-commit" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-compare-arrows" | "git-fork" | "git-graph" | "git-merge" | "git-merge-conflict" | "git-pull-request" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-create-arrow" | "git-pull-request-draft" | "github" | "gitlab" | "glass-water" | "glasses" | "globe" | "globe-2" | "globe-check" | "globe-lock" | "globe-off" | "globe-x" | "goal" | "gpu" | "grab" | "graduation-cap" | "grape" | "grid" | "grid-2-x-2" | "grid-2-x-2-check" | "grid-2-x-2-plus" | "grid-2-x-2-x" | "grid-2x2" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-3-x-3" | "grid-3x2" | "grid-3x3" | "grip" | "grip-horizontal" | "grip-vertical" | "group" | "guitar" | "ham" | "hamburger" | "hammer" | "hand" | "hand-coins" | "hand-fist" | "hand-grab" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "handbag" | "handshake" | "hard-drive" | "hard-drive-download" | "hard-drive-upload" | "hard-hat" | "hash" | "hat-glasses" | "haze" | "hd" | "hdmi-port" | "heading" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart" | "heart-crack" | "heart-handshake" | "heart-minus" | "heart-off" | "heart-plus" | "heart-pulse" | "heart-x" | "heater" | "helicopter" | "help-circle" | "helping-hand" | "hexagon" | "highlighter" | "history" | "home" | "hop" | "hop-off" | "hospital" | "hotel" | "hourglass" | "house" | "house-heart" | "house-plug" | "house-plus" | "house-wifi" | "ice-cream" | "ice-cream-2" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "id-card-lanyard" | "image" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "image-upscale" | "images" | "import" | "inbox" | "indent" | "indent-decrease" | "indent-increase" | "indian-rupee" | "infinity" | "info" | "inspect" | "inspection-panel" | "instagram" | "italic" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "jersey-pound" | "joystick" | "kanban" | "kanban-square" | "kanban-square-dashed" | "kayak" | "key" | "key-round" | "key-square" | "keyboard" | "keyboard-music" | "keyboard-off" | "lamp" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "land-plot" | "landmark" | "languages" | "laptop" | "laptop-2" | "laptop-minimal" | "laptop-minimal-check" | "lasso" | "lasso-select" | "laugh" | "layers" | "layers-2" | "layers-3" | "layers-minus" | "layers-plus" | "layout" | "layout-dashboard" | "layout-freeform" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "lens-concave" | "lens-convex" | "letter-text" | "library" | "library-big" | "library-square" | "life-buoy" | "ligature" | "lightbulb" | "lightbulb-off" | "line-chart" | "line-dot-right-horizontal" | "line-squiggle" | "line-style" | "link" | "link-2" | "link-2-off" | "linkedin" | "list" | "list-check" | "list-checks" | "list-chevrons-down-up" | "list-chevrons-up-down" | "list-collapse" | "list-end" | "list-filter" | "list-filter-plus" | "list-indent-decrease" | "list-indent-increase" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-sort-ascending" | "list-sort-descending" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader" | "loader-2" | "loader-circle" | "loader-pinwheel" | "locate" | "locate-fixed" | "locate-off" | "location-edit" | "lock" | "lock-keyhole" | "lock-keyhole-open" | "lock-open" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "m-square" | "magnet" | "mail" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "map" | "map-minus" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-off" | "map-pin-pen" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-search" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "map-plus" | "mars" | "mars-stroke" | "martini" | "maximize" | "maximize-2" | "medal" | "megaphone" | "megaphone-off" | "meh" | "memory-stick" | "menu" | "menu-square" | "merge" | "message-circle" | "message-circle-check" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question" | "message-circle-question-mark" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-square" | "message-square-check" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "messages-square" | "metronome" | "mic" | "mic-2" | "mic-audio-lines" | "mic-off" | "mic-signal" | "mic-vocal" | "microchip" | "microscope" | "microwave" | "milestone" | "milk" | "milk-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "mirror-rectangular" | "mirror-round" | "monitor" | "monitor-check" | "monitor-cloud" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "moon" | "moon-star" | "more-horizontal" | "more-vertical" | "mosque" | "motorbike" | "mountain" | "mountain-snow" | "mouse" | "mouse-left" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-2-off" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-pointer-square" | "mouse-pointer-square-dashed" | "mouse-right" | "move" | "move-3-d" | "move-3d" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "music" | "music-2" | "music-3" | "music-4" | "navigation" | "navigation-2" | "navigation-2-off" | "navigation-off" | "network" | "newspaper" | "nfc" | "non-binary" | "notebook" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "nut" | "nut-off" | "octagon" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "omega" | "option" | "orbit" | "origami" | "outdent" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-2" | "paintbrush-vertical" | "palette" | "palmtree" | "panda" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-inactive" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-dashed" | "panel-left-inactive" | "panel-left-open" | "panel-left-right-dashed" | "panel-right" | "panel-right-close" | "panel-right-dashed" | "panel-right-inactive" | "panel-right-open" | "panel-top" | "panel-top-bottom-dashed" | "panel-top-close" | "panel-top-dashed" | "panel-top-inactive" | "panel-top-open" | "panels-left-bottom" | "panels-left-right" | "panels-right-bottom" | "panels-top-bottom" | "panels-top-left" | "paper-bag" | "paperclip" | "parasol" | "parentheses" | "parking-circle" | "parking-circle-off" | "parking-meter" | "parking-square" | "parking-square-off" | "party-popper" | "pause" | "pause-circle" | "pause-octagon" | "paw-print" | "pc-case" | "pen" | "pen-box" | "pen-line" | "pen-off" | "pen-square" | "pen-tool" | "pencil" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pencil-sparkles" | "pentagon" | "percent" | "percent-circle" | "percent-diamond" | "percent-square" | "person-standing" | "phi" | "philippine-peso" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pi" | "pi-square" | "piano" | "pickaxe" | "picture-in-picture" | "picture-in-picture-2" | "pie-chart" | "piggy-bank" | "pilcrow" | "pilcrow-left" | "pilcrow-right" | "pilcrow-square" | "pill" | "pill-bottle" | "pin" | "pin-off" | "pipette" | "pizza" | "plane" | "plane-landing" | "plane-takeoff" | "play" | "play-circle" | "play-off" | "play-square" | "plug" | "plug-2" | "plug-zap" | "plug-zap-2" | "plus" | "plus-circle" | "plus-square" | "pocket" | "pocket-knife" | "podcast" | "podium" | "pointer" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power" | "power-circle" | "power-off" | "power-square" | "presentation" | "printer" | "printer-check" | "printer-x" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio" | "radio-off" | "radio-receiver" | "radio-tower" | "radius" | "rail-symbol" | "rainbow" | "rat" | "ratio" | "receipt" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "receipt-turkish-lira" | "rectangle-circle" | "rectangle-ellipsis" | "rectangle-goggles" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "refrigerator" | "regex" | "remove-formatting" | "repeat" | "repeat-1" | "repeat-2" | "repeat-off" | "replace" | "replace-all" | "reply" | "reply-all" | "rewind" | "ribbon" | "road" | "rocket" | "rocking-chair" | "roller-coaster" | "rose" | "rotate-3-d" | "rotate-3d" | "rotate-ccw" | "rotate-ccw-clock" | "rotate-ccw-key" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-fading-clock" | "rotate-cw-square" | "route" | "route-off" | "router" | "rows" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "ruler-dimension-line" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite" | "satellite-dish" | "saudi-riyal" | "save" | "save-all" | "save-check" | "save-off" | "save-pen" | "save-plus" | "scale" | "scale-3-d" | "scale-3d" | "scaling" | "scan" | "scan-barcode" | "scan-box" | "scan-eye" | "scan-face" | "scan-heart" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-square" | "scan-text" | "scatter-chart" | "school" | "school-2" | "scissors" | "scissors-line-dashed" | "scissors-square" | "scissors-square-dashed-bottom" | "scooter" | "screen-share" | "screen-share-off" | "scroll" | "scroll-text" | "search" | "search-alert" | "search-check" | "search-code" | "search-large" | "search-slash" | "search-x" | "section" | "send" | "send-horizonal" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server" | "server-cog" | "server-crash" | "server-off" | "server-plus" | "settings" | "settings-2" | "shapes" | "share" | "share-2" | "sheet" | "shell" | "shelving-unit" | "shield" | "shield-alert" | "shield-ban" | "shield-check" | "shield-close" | "shield-cog" | "shield-cog-corner" | "shield-ellipsis" | "shield-half" | "shield-keyhole" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question" | "shield-question-mark" | "shield-user" | "shield-x" | "ship" | "ship-wheel" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shredder" | "shrimp" | "shrink" | "shrub" | "shuffle" | "sidebar" | "sidebar-close" | "sidebar-open" | "sigma" | "sigma-square" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "signpost" | "signpost-big" | "siren" | "skip-back" | "skip-forward" | "skull" | "slack" | "slash" | "slash-square" | "slice" | "sliders" | "sliders-horizontal" | "sliders-vertical" | "smartphone" | "smartphone-charging" | "smartphone-nfc" | "smile" | "smile-plus" | "snail" | "snowflake" | "soap-dispenser-droplet" | "sofa" | "solar-panel" | "sort-asc" | "sort-desc" | "soup" | "space" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check" | "spell-check-2" | "spline" | "spline-pointer" | "split" | "split-square-horizontal" | "split-square-vertical" | "spool" | "sport-shoe" | "spotlight" | "spray-can" | "sprout" | "square" | "square-activity" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-right-enter" | "square-arrow-right-exit" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-centerline-dashed-horizontal" | "square-centerline-dashed-vertical" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed" | "square-dashed-bottom" | "square-dashed-bottom-code" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-dashed-text" | "square-dashed-top-solid" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-gantt" | "square-gantt-chart" | "square-kanban" | "square-kanban-dashed" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-off" | "square-parking" | "square-parking-off" | "square-pause" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-round-corner" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-star" | "square-stop" | "square-terminal" | "square-user" | "square-user-round" | "square-x" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "squircle" | "squircle-dashed" | "squirrel" | "stamp" | "star" | "star-check" | "star-half" | "star-minus" | "star-off" | "star-plus" | "star-x" | "stars" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "sticky-note-check" | "sticky-note-minus" | "sticky-note-off" | "sticky-note-plus" | "sticky-note-x" | "sticky-notes" | "stone" | "stop-circle" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "subtitles" | "summary" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-config" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet" | "tablet-smartphone" | "tablets" | "tag" | "tag-plus" | "tag-x" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "target" | "telescope" | "tent" | "tent-tree" | "terminal" | "terminal-square" | "test-tube" | "test-tube-2" | "test-tube-diagonal" | "test-tubes" | "text" | "text-align-center" | "text-align-end" | "text-align-justify" | "text-align-start" | "text-cursor" | "text-cursor-input" | "text-initial" | "text-quote" | "text-search" | "text-select" | "text-selection" | "text-wrap" | "theater" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "thumbs-down" | "thumbs-up" | "ticket" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "tickets" | "tickets-plane" | "timeline" | "timer" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "toilet" | "tool-case" | "toolbox" | "tornado" | "torus" | "touchpad" | "touchpad-off" | "towel-rack" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train" | "train-front" | "train-front-tunnel" | "train-track" | "tram-front" | "transgender" | "trash" | "trash-2" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trello" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "triangle-alert" | "triangle-dashed" | "triangle-right" | "trophy" | "truck" | "truck-electric" | "turkish-lira" | "turntable" | "turtle" | "tv" | "tv-2" | "tv-minimal" | "tv-minimal-play" | "twitch" | "twitter" | "type" | "type-outline" | "umbrella" | "umbrella-off" | "underline" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink" | "unlink-2" | "unlock" | "unlock-keyhole" | "unplug" | "upload" | "upload-cloud" | "usb" | "user" | "user-2" | "user-check" | "user-check-2" | "user-circle" | "user-circle-2" | "user-cog" | "user-cog-2" | "user-key" | "user-lock" | "user-minus" | "user-minus-2" | "user-pen" | "user-plus" | "user-plus-2" | "user-round" | "user-round-arrow-left" | "user-round-check" | "user-round-cog" | "user-round-key" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-shield" | "user-square" | "user-square-2" | "user-star" | "user-x" | "user-x-2" | "users" | "users-2" | "users-round" | "utensils" | "utensils-crossed" | "utility-pole" | "van" | "variable" | "vault" | "vector-square" | "vegan" | "venetian-mask" | "venus" | "venus-and-mars" | "verified" | "vibrate" | "vibrate-off" | "video" | "video-off" | "videotape" | "view" | "voicemail" | "volleyball" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "vote" | "wallet" | "wallet-2" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "wand" | "wand-2" | "wand-sparkles" | "warehouse" | "washing-machine" | "watch" | "waves" | "waves-arrow-down" | "waves-arrow-up" | "waves-horizontal" | "waves-ladder" | "waves-vertical" | "waypoints" | "webcam" | "webcam-off" | "webhook" | "webhook-off" | "weight" | "weight-tilde" | "wheat" | "wheat-off" | "whole-word" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-sync" | "wifi-zero" | "wind" | "wind-arrow-down" | "wine" | "wine-off" | "workflow" | "worm" | "wrap-text" | "wrench" | "wrench-off" | "x" | "x-circle" | "x-line-top" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zodiac-aquarius" | "zodiac-aries" | "zodiac-cancer" | "zodiac-capricorn" | "zodiac-gemini" | "zodiac-leo" | "zodiac-libra" | "zodiac-ophiuchus" | "zodiac-pisces" | "zodiac-sagittarius" | "zodiac-scorpio" | "zodiac-taurus" | "zodiac-virgo" | "zoom-in" | "zoom-out";
|
|
245
267
|
|
|
246
|
-
interface ButtonProps extends BaseButtonProps {
|
|
268
|
+
interface ButtonProps extends Omit<BaseButtonProps, "border" | "padding"> {
|
|
247
269
|
children: string;
|
|
248
270
|
color: InteractableColor;
|
|
249
|
-
size?: Size;
|
|
250
271
|
icon?: IconType;
|
|
251
|
-
iconSize?: Size;
|
|
252
272
|
iconPosition?: "left" | "right";
|
|
253
273
|
rowProps?: FlexLayoutProps;
|
|
254
274
|
align?: Align;
|
|
255
275
|
gap?: Gap;
|
|
256
276
|
justify?: Justify;
|
|
257
|
-
bold?: boolean;
|
|
258
277
|
}
|
|
259
278
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
260
279
|
|
|
280
|
+
type ButtonGroupValue = string | number;
|
|
281
|
+
type ButtonGroupOption<Value extends ButtonGroupValue> = {
|
|
282
|
+
value: Value;
|
|
283
|
+
label: string;
|
|
284
|
+
icon?: IconType;
|
|
285
|
+
};
|
|
286
|
+
interface ButtonGroupProps<Value extends ButtonGroupValue> {
|
|
287
|
+
label: string;
|
|
288
|
+
options: ReadonlyArray<ButtonGroupOption<Value>>;
|
|
289
|
+
value: Value;
|
|
290
|
+
onValueChange: (value: NoInfer<Value>) => void;
|
|
291
|
+
disabled?: boolean;
|
|
292
|
+
jss?: JSS;
|
|
293
|
+
}
|
|
294
|
+
declare function ButtonGroup<Value extends ButtonGroupValue>({ label, options, value, onValueChange, disabled, jss, }: ButtonGroupProps<Value>): react_jsx_runtime.JSX.Element;
|
|
295
|
+
|
|
261
296
|
declare const Calendar: React__default.ForwardRefExoticComponent<{
|
|
262
297
|
date: Date;
|
|
263
298
|
header: (props: {
|
|
@@ -275,11 +310,14 @@ declare const Calendar: React__default.ForwardRefExoticComponent<{
|
|
|
275
310
|
}) => React__default.JSX.Element;
|
|
276
311
|
} & React__default.RefAttributes<HTMLElement>>;
|
|
277
312
|
|
|
313
|
+
type CardVariant = "default" | "tonal" | "floating";
|
|
278
314
|
interface CardProps extends FlexLayoutProps {
|
|
315
|
+
variant?: CardVariant;
|
|
316
|
+
material?: Material;
|
|
279
317
|
}
|
|
280
|
-
declare function Card({ children, jss, padding, gap, ...otherProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
318
|
+
declare function Card({ children, jss, padding, gap, variant, material, ...otherProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
281
319
|
|
|
282
|
-
interface CheckboxProps extends BaseInputProps {
|
|
320
|
+
interface CheckboxProps extends Omit<BaseInputProps, "checked" | "onClick" | "value" | "onChange" | "size"> {
|
|
283
321
|
checked: boolean;
|
|
284
322
|
onClick: () => void;
|
|
285
323
|
size: Size;
|
|
@@ -304,27 +342,26 @@ declare function DarkModeProvider({ children, enabled, toggle, }: {
|
|
|
304
342
|
}): react_jsx_runtime.JSX.Element;
|
|
305
343
|
declare function DarkModeToggle(): react_jsx_runtime.JSX.Element;
|
|
306
344
|
|
|
307
|
-
interface DateInputProps
|
|
308
|
-
|
|
309
|
-
date: Date;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
345
|
+
interface DateInputProps {
|
|
346
|
+
date: Date | null;
|
|
347
|
+
onDateChange: (date: Date | null) => void;
|
|
348
|
+
label?: string;
|
|
349
|
+
"aria-label"?: string;
|
|
350
|
+
"aria-describedby"?: string;
|
|
351
|
+
"aria-invalid"?: boolean;
|
|
352
|
+
id?: string;
|
|
353
|
+
name?: string;
|
|
354
|
+
locale?: string;
|
|
355
|
+
min?: Date;
|
|
356
|
+
max?: Date;
|
|
357
|
+
disabled?: boolean;
|
|
358
|
+
required?: boolean;
|
|
359
|
+
readOnly?: boolean;
|
|
360
|
+
autoFocus?: boolean;
|
|
313
361
|
jss?: JSS;
|
|
314
362
|
}
|
|
315
363
|
declare const DateInput: React__default.ForwardRefExoticComponent<DateInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
316
364
|
|
|
317
|
-
interface DatePickerProps {
|
|
318
|
-
id: string;
|
|
319
|
-
label: string;
|
|
320
|
-
date: Date;
|
|
321
|
-
color?: TextColor;
|
|
322
|
-
min?: string;
|
|
323
|
-
max?: string;
|
|
324
|
-
onDateChange: (date: Date) => void;
|
|
325
|
-
}
|
|
326
|
-
declare function DatePicker({ id, label, color, date, onDateChange, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
327
|
-
|
|
328
365
|
interface DatetimeInputProps extends BaseInputProps {
|
|
329
366
|
onDateChange: (date: Date) => void;
|
|
330
367
|
date: Date;
|
|
@@ -341,7 +378,7 @@ declare const Dialog: ({ label, children, close, }: {
|
|
|
341
378
|
close: () => void;
|
|
342
379
|
}) => react_jsx_runtime.JSX.Element;
|
|
343
380
|
declare function DialogProvider({ children }: {
|
|
344
|
-
children:
|
|
381
|
+
children: React__default.ReactNode;
|
|
345
382
|
}): react_jsx_runtime.JSX.Element;
|
|
346
383
|
declare function useDialog<Input>(DialogComponent: (props: {
|
|
347
384
|
close: () => void;
|
|
@@ -349,23 +386,9 @@ declare function useDialog<Input>(DialogComponent: (props: {
|
|
|
349
386
|
closeOnOutsideClick: boolean;
|
|
350
387
|
}): {
|
|
351
388
|
open: (input: Input) => void;
|
|
352
|
-
close: () =>
|
|
389
|
+
close: () => void;
|
|
353
390
|
};
|
|
354
391
|
|
|
355
|
-
declare function Dropdown<T extends string | number>({ id: propId, label, options, selection, setSelection, jss, jssButton, optionLabel, padding, size, gap, }: {
|
|
356
|
-
id?: string;
|
|
357
|
-
label: string;
|
|
358
|
-
options: Set<T>;
|
|
359
|
-
setSelection: (selection: T) => void;
|
|
360
|
-
selection: T;
|
|
361
|
-
jss?: JSS;
|
|
362
|
-
jssButton?: JSS;
|
|
363
|
-
optionLabel: (option: T) => string;
|
|
364
|
-
padding?: Padding;
|
|
365
|
-
gap?: Gap;
|
|
366
|
-
size?: Size;
|
|
367
|
-
}): react_jsx_runtime.JSX.Element;
|
|
368
|
-
|
|
369
392
|
type Callback<Value> = (value: Value) => void;
|
|
370
393
|
type Subscribe<Value> = (callback: Callback<Value>) => () => void;
|
|
371
394
|
declare function createEmitter<Value>(): {
|
|
@@ -377,9 +400,6 @@ declare function guid(): string;
|
|
|
377
400
|
|
|
378
401
|
declare function hash(source: string, modulus?: number): number;
|
|
379
402
|
|
|
380
|
-
declare function IconProvider({ children }: {
|
|
381
|
-
children: React__default.JSX.Element;
|
|
382
|
-
}): React__default.JSX.Element;
|
|
383
403
|
declare function Icon({ icon, size, color, ariaLabel, }: {
|
|
384
404
|
ariaLabel?: string;
|
|
385
405
|
icon: IconType;
|
|
@@ -387,53 +407,41 @@ declare function Icon({ icon, size, color, ariaLabel, }: {
|
|
|
387
407
|
color: TextColor;
|
|
388
408
|
}): react_jsx_runtime.JSX.Element;
|
|
389
409
|
|
|
390
|
-
interface IconButtonProps extends BaseButtonProps {
|
|
410
|
+
interface IconButtonProps extends Omit<BaseButtonProps, "border" | "padding"> {
|
|
391
411
|
icon: IconType;
|
|
392
|
-
size: Size;
|
|
393
412
|
label?: string;
|
|
394
|
-
labelSize?: Size;
|
|
395
413
|
}
|
|
396
414
|
declare const IconButton: React__default.ForwardRefExoticComponent<IconButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
397
415
|
|
|
398
|
-
interface IconLinkProps extends BaseLinkProps {
|
|
416
|
+
interface IconLinkProps extends Omit<BaseLinkProps, "border" | "padding"> {
|
|
399
417
|
icon: IconType;
|
|
400
|
-
size: Size;
|
|
401
418
|
}
|
|
402
419
|
declare const IconLink: React__default.ForwardRefExoticComponent<IconLinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
403
420
|
|
|
404
|
-
interface LinkProps extends BaseLinkProps {
|
|
421
|
+
interface LinkProps extends Omit<BaseLinkProps, "border" | "padding"> {
|
|
405
422
|
children?: ReactNode;
|
|
406
423
|
color: InteractableColor;
|
|
407
|
-
size?: Size;
|
|
408
424
|
icon?: IconType;
|
|
409
425
|
underline?: boolean;
|
|
410
|
-
iconSize?: Size;
|
|
411
426
|
iconPosition?: "left" | "right";
|
|
412
427
|
rowProps?: FlexLayoutProps;
|
|
413
428
|
align?: Align;
|
|
414
429
|
gap?: Gap;
|
|
415
430
|
justify?: Justify;
|
|
416
|
-
bold?: boolean;
|
|
417
431
|
inline?: boolean;
|
|
418
432
|
}
|
|
419
433
|
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
420
434
|
|
|
421
435
|
interface ListProps extends BaseListProps {
|
|
422
436
|
ariaLabel: string;
|
|
423
|
-
bare?: boolean;
|
|
424
437
|
autofocus?: boolean;
|
|
425
438
|
role?: undefined;
|
|
426
439
|
navigation?: boolean;
|
|
427
|
-
carded?: boolean;
|
|
428
440
|
}
|
|
429
|
-
declare function List({ ariaLabel, jss, autofocus, navigation,
|
|
430
|
-
declare const useListContext: () => {
|
|
431
|
-
bare: boolean;
|
|
432
|
-
carded: boolean;
|
|
433
|
-
};
|
|
441
|
+
declare function List({ ariaLabel, jss, autofocus, navigation, ...otherProps }: ListProps): react_jsx_runtime.JSX.Element;
|
|
434
442
|
|
|
435
|
-
interface ListButtonItemProps extends BaseListItemProps {
|
|
436
|
-
color
|
|
443
|
+
interface ListButtonItemProps extends Omit<BaseListItemProps, "children" | "onClick"> {
|
|
444
|
+
color?: InteractableColor;
|
|
437
445
|
onClick: () => void;
|
|
438
446
|
headline: string;
|
|
439
447
|
body?: string;
|
|
@@ -445,23 +453,22 @@ declare const ListButtonItem: React__default.ForwardRefExoticComponent<Omit<List
|
|
|
445
453
|
|
|
446
454
|
declare function ListDivider(): react_jsx_runtime.JSX.Element;
|
|
447
455
|
|
|
448
|
-
declare function ListHeaderItem({ highlight, headline, body,
|
|
456
|
+
declare function ListHeaderItem({ highlight, headline, body, addOn, addOnPosition, }: {
|
|
449
457
|
highlight?: boolean;
|
|
450
458
|
headline: string;
|
|
451
459
|
body?: string;
|
|
452
|
-
withDivider?: boolean;
|
|
453
460
|
addOn?: ReactNode;
|
|
454
461
|
addOnPosition?: Position;
|
|
455
462
|
}): react_jsx_runtime.JSX.Element;
|
|
456
463
|
|
|
457
|
-
interface ListItemProps extends BaseListItemProps {
|
|
464
|
+
interface ListItemProps extends Omit<BaseListItemProps, "children"> {
|
|
458
465
|
headline: string;
|
|
459
466
|
body?: string;
|
|
460
467
|
children?: void;
|
|
461
468
|
}
|
|
462
469
|
declare const ListItem: React__default.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React__default.RefAttributes<HTMLLIElement>>;
|
|
463
470
|
|
|
464
|
-
interface ListLinkItemProps extends BaseListItemProps {
|
|
471
|
+
interface ListLinkItemProps extends Omit<BaseListItemProps, "children" | "onClick"> {
|
|
465
472
|
color?: InteractableColor;
|
|
466
473
|
children?: void;
|
|
467
474
|
onClick?: () => void;
|
|
@@ -481,6 +488,18 @@ declare function MenuIcon({ open, color }: {
|
|
|
481
488
|
color: Color;
|
|
482
489
|
}): react_jsx_runtime.JSX.Element;
|
|
483
490
|
|
|
491
|
+
interface NavigationSplitViewProps {
|
|
492
|
+
navigation: ReactNode;
|
|
493
|
+
children: ReactNode;
|
|
494
|
+
compactHeader?: ReactNode;
|
|
495
|
+
compactNavigation?: ReactNode;
|
|
496
|
+
navigationVisibleInCompact?: boolean;
|
|
497
|
+
navigationWidth?: string;
|
|
498
|
+
navigationInset?: string;
|
|
499
|
+
jss?: JSS;
|
|
500
|
+
}
|
|
501
|
+
declare function NavigationSplitView({ navigation, children, compactHeader, compactNavigation, navigationVisibleInCompact, navigationWidth, navigationInset, jss, }: NavigationSplitViewProps): react_jsx_runtime.JSX.Element;
|
|
502
|
+
|
|
484
503
|
declare function numberToBase(number: number, base?: Array<string>): string;
|
|
485
504
|
|
|
486
505
|
declare function OnVisible({ children, onVisible, }: {
|
|
@@ -488,14 +507,15 @@ declare function OnVisible({ children, onVisible, }: {
|
|
|
488
507
|
onVisible: () => void;
|
|
489
508
|
}): React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>>;
|
|
490
509
|
|
|
491
|
-
declare function Popover({ children, close }: {
|
|
492
|
-
children:
|
|
493
|
-
close:
|
|
510
|
+
declare function Popover({ children, close, }: {
|
|
511
|
+
children: React__default.ReactNode;
|
|
512
|
+
close: () => void;
|
|
494
513
|
}): react_jsx_runtime.JSX.Element;
|
|
495
514
|
interface PopoverTriggerProps<Input> {
|
|
496
515
|
PopoverComponent: (props: {
|
|
497
516
|
close: () => void;
|
|
498
517
|
} & Input) => React__default.JSX.Element;
|
|
518
|
+
ariaLabel?: string;
|
|
499
519
|
jss?: JSS;
|
|
500
520
|
jssDialog?: JSS;
|
|
501
521
|
className?: undefined;
|
|
@@ -504,22 +524,32 @@ interface PopoverTriggerProps<Input> {
|
|
|
504
524
|
tag?: keyof HTMLElementTagNameMap;
|
|
505
525
|
children: (props: {
|
|
506
526
|
toggle: (input: Input) => void;
|
|
527
|
+
expanded: boolean;
|
|
507
528
|
}) => React__default.JSX.Element;
|
|
508
529
|
}
|
|
509
|
-
declare function PopoverTrigger<Input>({ PopoverComponent, jss, jssDialog, grow, shrink, tag, children, }: PopoverTriggerProps<Input>): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function PopoverTrigger<Input>({ PopoverComponent, ariaLabel, jss, jssDialog, grow, shrink, tag, children, }: PopoverTriggerProps<Input>): react_jsx_runtime.JSX.Element;
|
|
510
531
|
|
|
511
|
-
|
|
532
|
+
type ProgressBarSize = "small" | "medium";
|
|
533
|
+
interface ProgressBarProps {
|
|
512
534
|
progress: number;
|
|
513
|
-
color
|
|
514
|
-
size
|
|
535
|
+
color?: Color;
|
|
536
|
+
size?: ProgressBarSize;
|
|
515
537
|
jss?: JSS;
|
|
516
|
-
|
|
538
|
+
"aria-label"?: string;
|
|
539
|
+
"aria-labelledby"?: string;
|
|
540
|
+
}
|
|
541
|
+
declare function ProgressBar({ color, progress, size, jss, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
517
542
|
|
|
518
|
-
|
|
543
|
+
type ProgressCircleSize = "small" | "medium";
|
|
544
|
+
interface ProgressCircleProps {
|
|
519
545
|
progress: number;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
546
|
+
color?: Color;
|
|
547
|
+
size?: ProgressCircleSize;
|
|
548
|
+
jss?: JSS;
|
|
549
|
+
"aria-label"?: string;
|
|
550
|
+
"aria-labelledby"?: string;
|
|
551
|
+
}
|
|
552
|
+
declare function ProgressCircle({ progress, color, size, jss, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
523
553
|
|
|
524
554
|
declare function Providers({ children, themes, }: {
|
|
525
555
|
children: React__default.JSX.Element;
|
|
@@ -546,14 +576,21 @@ declare function RootView({ children, focusOnlyOnFirstMount, }: {
|
|
|
546
576
|
focusOnlyOnFirstMount?: boolean;
|
|
547
577
|
}): react_jsx_runtime.JSX.Element;
|
|
548
578
|
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
579
|
+
type SelectValue = string | number;
|
|
580
|
+
type SelectOption<Value extends SelectValue> = {
|
|
581
|
+
value: Value;
|
|
582
|
+
label: string;
|
|
583
|
+
};
|
|
584
|
+
interface SelectProps<Value extends SelectValue> {
|
|
585
|
+
label: string;
|
|
586
|
+
options: ReadonlyArray<SelectOption<Value>>;
|
|
587
|
+
value: Value;
|
|
588
|
+
onValueChange: (value: NoInfer<Value>) => void;
|
|
589
|
+
disabled?: boolean;
|
|
552
590
|
jss?: JSS;
|
|
553
|
-
|
|
554
|
-
className?: undefined;
|
|
591
|
+
jssButton?: JSS;
|
|
555
592
|
}
|
|
556
|
-
declare
|
|
593
|
+
declare function Select<Value extends SelectValue>({ label, options, value, onValueChange, disabled, jss, jssButton, }: SelectProps<Value>): react_jsx_runtime.JSX.Element;
|
|
557
594
|
|
|
558
595
|
type Props = {
|
|
559
596
|
children: ReactNode;
|
|
@@ -562,7 +599,7 @@ type Props = {
|
|
|
562
599
|
declare function StackContextProvider({ children, isTopOfStack }: Props): react_jsx_runtime.JSX.Element;
|
|
563
600
|
declare function useIsTopOfStack(): boolean;
|
|
564
601
|
|
|
565
|
-
type Reducer<State, Context> = <Data
|
|
602
|
+
type Reducer<State, Context> = <Data>({ state, context, data, }: {
|
|
566
603
|
state: State;
|
|
567
604
|
context: Context;
|
|
568
605
|
data: Data;
|
|
@@ -570,30 +607,26 @@ type Reducer<State, Context> = <Data extends any>({ state, context, data, }: {
|
|
|
570
607
|
state: State;
|
|
571
608
|
context: Context;
|
|
572
609
|
};
|
|
573
|
-
type StateMachineConfig<State, Transition, Context> = {
|
|
574
|
-
states: {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
[transition: Transition]: Reducer<State, Context>;
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
};
|
|
610
|
+
type StateMachineConfig<State extends PropertyKey, Transition extends PropertyKey, Context> = {
|
|
611
|
+
states: Record<State, {
|
|
612
|
+
on: Partial<Record<Transition, Reducer<State, Context>>>;
|
|
613
|
+
}>;
|
|
581
614
|
context: Context;
|
|
582
615
|
state: State;
|
|
583
616
|
};
|
|
584
|
-
type Send = <
|
|
585
|
-
type StateMachineContextType<State, Context> = {
|
|
617
|
+
type Send<Transition> = <Data>(transition: Transition, data: Data) => void;
|
|
618
|
+
type StateMachineContextType<State, Transition, Context> = {
|
|
586
619
|
subscribe: Subscribe<{
|
|
587
620
|
state: State;
|
|
588
621
|
context: Context;
|
|
589
622
|
}>;
|
|
590
|
-
send: Send
|
|
623
|
+
send: Send<Transition>;
|
|
591
624
|
};
|
|
592
|
-
declare function stateMachineContextFactory<State, Transition, Context>(stateMachineConfig: StateMachineConfig<State, Transition, Context>): {
|
|
625
|
+
declare function stateMachineContextFactory<State extends PropertyKey, Transition extends PropertyKey, Context>(stateMachineConfig: StateMachineConfig<State, Transition, Context>): {
|
|
593
626
|
Provider: ({ children }: {
|
|
594
627
|
children: ReactNode;
|
|
595
628
|
}) => react_jsx_runtime.JSX.Element;
|
|
596
|
-
useStateMachine: () => StateMachineContextType<State, Context>;
|
|
629
|
+
useStateMachine: () => StateMachineContextType<State, Transition, Context>;
|
|
597
630
|
};
|
|
598
631
|
|
|
599
632
|
type StaticCheckboxProps = {
|
|
@@ -624,14 +657,14 @@ declare function createStorage<State>({ initialState, name, }: {
|
|
|
624
657
|
usePersist: () => () => Promise<void>;
|
|
625
658
|
};
|
|
626
659
|
|
|
627
|
-
declare
|
|
628
|
-
render:
|
|
629
|
-
bufferStart:
|
|
630
|
-
bufferEnd:
|
|
631
|
-
index:
|
|
660
|
+
declare function useStream<Frame>({ render, bufferStart, bufferEnd, index, debounce, }: {
|
|
661
|
+
render: (index: number) => Frame;
|
|
662
|
+
bufferStart: number;
|
|
663
|
+
bufferEnd: number;
|
|
664
|
+
index: number;
|
|
632
665
|
debounce?: number;
|
|
633
|
-
})
|
|
634
|
-
frame:
|
|
666
|
+
}): {
|
|
667
|
+
frame: Frame;
|
|
635
668
|
};
|
|
636
669
|
|
|
637
670
|
declare function Sublist({ children, label, labelBold, initialState, jss, secondaryAddOn, }: {
|
|
@@ -651,8 +684,10 @@ interface SubmitIconInputProps extends BaseInputProps {
|
|
|
651
684
|
}
|
|
652
685
|
declare function SubmitIconInput({ icon, ...otherProps }: SubmitIconInputProps): react_jsx_runtime.JSX.Element;
|
|
653
686
|
|
|
687
|
+
type TabsVariant = "underline" | "segmented";
|
|
654
688
|
type Tab = {
|
|
655
689
|
label: string;
|
|
690
|
+
icon?: IconType;
|
|
656
691
|
href?: string;
|
|
657
692
|
onClick?: () => void;
|
|
658
693
|
selected?: boolean;
|
|
@@ -662,7 +697,9 @@ type Tab = {
|
|
|
662
697
|
interface TabsProps extends RowProps {
|
|
663
698
|
["aria-controls"]: string;
|
|
664
699
|
tabs: Array<Tab>;
|
|
700
|
+
variant?: TabsVariant;
|
|
665
701
|
labelSize?: Size;
|
|
702
|
+
iconSize?: Size;
|
|
666
703
|
bare?: boolean;
|
|
667
704
|
tabPadding?: Padding;
|
|
668
705
|
jssTab?: JSS | ((data: {
|
|
@@ -670,10 +707,31 @@ interface TabsProps extends RowProps {
|
|
|
670
707
|
}) => JSS);
|
|
671
708
|
labelRenderer?: (label: string) => ReactNode;
|
|
672
709
|
}
|
|
673
|
-
declare function Tabs({ tabs, gap, padding, tabPadding, labelSize, jss, jssTab, labelRenderer, ["aria-controls"]: ariaControls, ...otherProps }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
710
|
+
declare function Tabs({ tabs, variant, gap, padding, tabPadding, labelSize, iconSize, jss, jssTab, labelRenderer, ["aria-controls"]: ariaControls, ...otherProps }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
711
|
+
|
|
712
|
+
type TabBarVariant = "default" | "floating";
|
|
713
|
+
interface TabBarProps extends Omit<FlexLayoutProps, "children" | "tag"> {
|
|
714
|
+
tabs: Tab[];
|
|
715
|
+
variant?: TabBarVariant;
|
|
716
|
+
fixed?: boolean;
|
|
717
|
+
iconSize?: Size;
|
|
718
|
+
labelSize?: Size;
|
|
719
|
+
tabPadding?: Padding;
|
|
720
|
+
jssTab?: JSS | ((data: {
|
|
721
|
+
selected: boolean;
|
|
722
|
+
}) => JSS);
|
|
723
|
+
labelRenderer?: (label: string) => React__default.ReactNode;
|
|
724
|
+
}
|
|
725
|
+
declare function TabBar({ tabs, variant, direction, fixed, iconSize, labelSize, tabPadding, jssTab, labelRenderer, jss, align, "aria-label": ariaLabel, ...otherProps }: TabBarProps): react_jsx_runtime.JSX.Element;
|
|
674
726
|
|
|
675
|
-
|
|
676
|
-
|
|
727
|
+
interface TableProps extends Omit<React__default.TableHTMLAttributes<HTMLTableElement>, "className">, Pick<CardProps, "variant" | "material" | "padding" | "gap"> {
|
|
728
|
+
jss?: JSS;
|
|
729
|
+
jssTable?: JSS;
|
|
730
|
+
className?: undefined;
|
|
731
|
+
}
|
|
732
|
+
declare function Table({ children, jss, jssTable, variant, material, padding, gap, ...tableProps }: TableProps): react_jsx_runtime.JSX.Element;
|
|
733
|
+
|
|
734
|
+
interface TextProps extends Omit<React__default.HTMLAttributes<HTMLElement>, "children" | "className" | "color"> {
|
|
677
735
|
children: ReactNode;
|
|
678
736
|
color?: TextColor;
|
|
679
737
|
size?: Size;
|
|
@@ -683,17 +741,18 @@ interface TextProps {
|
|
|
683
741
|
type?: TextType;
|
|
684
742
|
grow?: boolean;
|
|
685
743
|
jss?: JSS;
|
|
686
|
-
id?: string;
|
|
687
744
|
htmlFor?: string;
|
|
745
|
+
className?: never;
|
|
688
746
|
}
|
|
689
747
|
type TextType = "label" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "li";
|
|
690
|
-
declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jss,
|
|
748
|
+
declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jss, htmlFor, ...elementProps }: TextProps): react_jsx_runtime.JSX.Element;
|
|
691
749
|
declare function Label({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
692
750
|
declare function Span({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
693
751
|
declare function P({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
694
752
|
declare function H1({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
695
753
|
declare function H2({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
696
754
|
declare function H3({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
755
|
+
declare function H4({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
697
756
|
declare function Li({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
698
757
|
|
|
699
758
|
interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
@@ -715,7 +774,6 @@ interface TextInputProps extends Omit<BaseInputProps, "size"> {
|
|
|
715
774
|
gap?: Gap;
|
|
716
775
|
onChange?: undefined;
|
|
717
776
|
padding?: Padding;
|
|
718
|
-
bare?: boolean;
|
|
719
777
|
size?: Size;
|
|
720
778
|
}
|
|
721
779
|
declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
@@ -735,6 +793,7 @@ interface TextPairingProps {
|
|
|
735
793
|
headlineAddOn?: ReactNode;
|
|
736
794
|
bodyColor?: TextColor;
|
|
737
795
|
bodySize?: Size;
|
|
796
|
+
bodyEllipsis?: boolean;
|
|
738
797
|
addOn?: ReactNode;
|
|
739
798
|
addOnPosition?: Position;
|
|
740
799
|
gap?: Gap;
|
|
@@ -745,18 +804,23 @@ interface TextPairingProps {
|
|
|
745
804
|
headlineBold?: boolean;
|
|
746
805
|
jss?: JSS;
|
|
747
806
|
}
|
|
748
|
-
declare function TextPairing({ headline, body, headlineColor, headlineSize, headlineAddOn, bodyColor, bodySize, addOn, addOnPosition, gap, align, grow, shrink, headlineBold, padding, jss, }: TextPairingProps): react_jsx_runtime.JSX.Element;
|
|
807
|
+
declare function TextPairing({ headline, body, headlineColor, headlineSize, headlineAddOn, bodyColor, bodySize, bodyEllipsis, addOn, addOnPosition, gap, align, grow, shrink, headlineBold, padding, jss, }: TextPairingProps): react_jsx_runtime.JSX.Element;
|
|
749
808
|
|
|
750
809
|
declare const timeFormatter: Intl.DateTimeFormat;
|
|
751
|
-
interface TimeInputProps
|
|
752
|
-
|
|
753
|
-
time: Date;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
810
|
+
interface TimeInputProps {
|
|
811
|
+
time: Date | null;
|
|
812
|
+
onTimeChange: (time: Date | null) => void;
|
|
813
|
+
label?: string;
|
|
814
|
+
"aria-label"?: string;
|
|
815
|
+
"aria-describedby"?: string;
|
|
816
|
+
"aria-invalid"?: boolean;
|
|
817
|
+
id?: string;
|
|
818
|
+
name?: string;
|
|
819
|
+
disabled?: boolean;
|
|
820
|
+
required?: boolean;
|
|
821
|
+
readOnly?: boolean;
|
|
822
|
+
autoFocus?: boolean;
|
|
823
|
+
jss?: JSS;
|
|
760
824
|
}
|
|
761
825
|
declare const TimeInput: React__default.ForwardRefExoticComponent<TimeInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
762
826
|
|
|
@@ -769,6 +833,16 @@ interface TooltipProps {
|
|
|
769
833
|
}
|
|
770
834
|
declare function Tooltip({ content, jss, tag, children }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
771
835
|
|
|
836
|
+
interface ToggleProps extends Omit<IconButtonProps, "aria-label" | "bare" | "color" | "icon" | "label" | "onClick" | "value"> {
|
|
837
|
+
label: string;
|
|
838
|
+
value: boolean;
|
|
839
|
+
onValueChange: (value: boolean) => void;
|
|
840
|
+
onIcon: IconType;
|
|
841
|
+
offIcon: IconType;
|
|
842
|
+
bare?: boolean;
|
|
843
|
+
}
|
|
844
|
+
declare function Toggle({ label, value, onValueChange, onIcon, offIcon, bare, ...buttonProps }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
845
|
+
|
|
772
846
|
declare function hasCookie(key: string): boolean;
|
|
773
847
|
declare function getCookie<T>(key: string, deserialize?: (s: string) => T): T;
|
|
774
848
|
declare function useCookie<T, L>(key: string, { initialValue, loadingValue, serialize, deserialize, maxAge, }: {
|
|
@@ -788,14 +862,15 @@ type KeyboardShortcut<T> = {
|
|
|
788
862
|
};
|
|
789
863
|
declare function useKeyboard<T extends HTMLElement>(shortcuts: Array<KeyboardShortcut<T>>): (root: T) => void;
|
|
790
864
|
|
|
791
|
-
declare function useNavigation({ autofocus, rowLength, enabled, }?: {
|
|
865
|
+
declare function useNavigation({ autofocus, rowLength, enabled, initialIndex, }?: {
|
|
792
866
|
autofocus?: boolean;
|
|
793
867
|
rowLength?: number;
|
|
794
868
|
enabled?: boolean;
|
|
869
|
+
initialIndex?: number;
|
|
795
870
|
}): (root: HTMLElement) => void;
|
|
796
871
|
|
|
797
|
-
declare function usePromise<T>(promiseFactory: () => Promise<T>, inputs:
|
|
872
|
+
declare function usePromise<T>(promiseFactory: () => Promise<T>, inputs: ReadonlyArray<unknown>, initialValue: T): [T | null, unknown];
|
|
798
873
|
|
|
799
874
|
declare function useRefEffect<T>(callback: (root: T) => (() => void) | void): (root: T) => void;
|
|
800
875
|
|
|
801
|
-
export { type Align, Badge, BaseButton, type BaseButtonProps, BaseInput, type BaseInputProps, BaseLink, BaseLinkComponentOverrideContext, type BaseLinkProps, BaseList, BaseListAddOn, type BaseListAddOnProps, BaseListItem, type BaseListItemProps, type BaseListProps, BaseView, type BaseViewProps, Box, type BoxProps, Button, type ButtonProps, Calendar, type Callback, Card, type CardProps, Checkbox, Circle, type Color, Column, type ColumnProps, DESKTOP_MEDIA, DarkModeContext, DarkModeProvider, DarkModeToggle, DateInput, type DateInputProps,
|
|
876
|
+
export { type Align, Avatar, type AvatarProps, type AvatarSize, Badge, BaseButton, type BaseButtonProps, BaseInput, type BaseInputProps, BaseLink, BaseLinkComponentOverrideContext, type BaseLinkProps, BaseList, BaseListAddOn, type BaseListAddOnProps, BaseListItem, type BaseListItemProps, type BaseListProps, BaseView, type BaseViewProps, Box, type BoxProps, Button, ButtonGroup, type ButtonGroupOption, type ButtonGroupProps, type ButtonGroupValue, type ButtonProps, Calendar, type Callback, Card, type CardProps, type CardVariant, Checkbox, Circle, type Color, Column, type ColumnProps, DESKTOP_MEDIA, DarkModeContext, DarkModeProvider, DarkModeToggle, DateInput, type DateInputProps, DatetimeInput, type DatetimeInputProps, Dialog, DialogProvider, type Direction, type FlexDirection, FlexLayout, type FlexLayoutProps, type Gap, H1, H2, H3, H4, Icon, IconButton, type IconButtonProps, IconLink, type IconLinkProps, type IconType, type JSS, JSSProvider, JSServerStyles, type Justify, type KeyboardShortcut, LAPTOP, LAPTOP_MEDIA, Label, Li, Link, type LinkProps, List, ListButtonItem, ListDivider, ListHeaderItem, ListItem, ListLinkItem, ListSpacer, MOBILE, MOBILE_MEDIA, type Margin, type Material, MenuIcon, NavigationSplitView, type NavigationSplitViewProps, OnVisible, P, type Padding, Popover, PopoverTrigger, type Position, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressCircle, type ProgressCircleProps, type ProgressCircleSize, Providers, RangeInput, type RangeInputProps, type Reducer, RootView, Row, type RowProps, Select, type SelectOption, type SelectProps, type SelectValue, type Size, type Spacing, Span, StackContextProvider, StaticCheckbox, type Styles, Sublist, SubmitIconInput, type Subscribe, TABLET, TABLET_MEDIA, type Tab, TabBar, type TabBarProps, type TabBarVariant, Table, type TableProps, Tabs, type TabsProps, type TabsVariant, Text, TextArea, type TextAreaProps, type TextColor, TextInput, type TextInputProps, TextInputWithState, type TextInputWithStateProps, TextPairing, type TextPairingProps, type TextProps, type TextType, type Theme, TimeInput, type TimeInputProps, Toggle, type ToggleProps, Tooltip, baseStyles, createEmitter, createStorage, cssVar, darkTheme, desktop, getBackground, getBaseStyles, getColorValue, getCookie, getMargin, getMaterial, getPadding, getSize, getSpacing, getTextColor, guid, hasCookie, hash, laptop, lightTheme, mobile, numberToBase, sizes, stateMachineContextFactory, tablet, timeFormatter, toClassnames, useCookie, useDialog, useIsTopOfStack, useKeyboard, useNavigation, usePromise, useRefEffect, useStream };
|