aidos-ui 4.0.5 → 5.0.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/README.md +7 -7
- package/dist/index.d.ts +201 -132
- package/dist/index.js +2998 -1933
- 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 +21 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import CSS from 'csstype';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
3
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
5
4
|
|
|
6
5
|
type Styles = CSS.Properties<string | number | CSS.Properties<string | number>>;
|
|
@@ -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,6 +129,8 @@ 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;
|
|
@@ -130,7 +143,7 @@ declare function Badge({ size, color, jss, }: {
|
|
|
130
143
|
jss?: JSS;
|
|
131
144
|
}): react_jsx_runtime.JSX.Element;
|
|
132
145
|
|
|
133
|
-
type InteractableColor = "
|
|
146
|
+
type InteractableColor = "primary" | "secondary" | "negative" | "inverse";
|
|
134
147
|
|
|
135
148
|
interface BaseButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
136
149
|
onClick: (e: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
@@ -141,6 +154,7 @@ interface BaseButtonProps extends React__default.ButtonHTMLAttributes<HTMLButton
|
|
|
141
154
|
className?: undefined;
|
|
142
155
|
animateInteraction?: boolean;
|
|
143
156
|
padding?: Padding;
|
|
157
|
+
type?: "submit" | "reset" | "button";
|
|
144
158
|
}
|
|
145
159
|
declare const BaseButton: React__default.ForwardRefExoticComponent<BaseButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
146
160
|
|
|
@@ -157,7 +171,7 @@ interface BaseInputProps extends React__default.InputHTMLAttributes<HTMLInputEle
|
|
|
157
171
|
}
|
|
158
172
|
declare const BaseInput: React__default.ForwardRefExoticComponent<BaseInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
159
173
|
|
|
160
|
-
interface BaseLinkProps extends React__default.
|
|
174
|
+
interface BaseLinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
161
175
|
onClick?: (e: React__default.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
162
176
|
target?: string;
|
|
163
177
|
jss?: JSS;
|
|
@@ -212,12 +226,11 @@ interface RowProps extends FlexLayoutProps {
|
|
|
212
226
|
}
|
|
213
227
|
declare const Row: React__default.ForwardRefExoticComponent<Omit<RowProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
214
228
|
|
|
215
|
-
interface BaseListItemProps extends RowProps {
|
|
229
|
+
interface BaseListItemProps extends Omit<RowProps, "children" | "jss" | "role"> {
|
|
216
230
|
children: (elements: {
|
|
217
231
|
content: React__default.JSX.Element;
|
|
218
232
|
}) => ReactNode;
|
|
219
233
|
jss?: JSS;
|
|
220
|
-
withDivider?: boolean;
|
|
221
234
|
headline: string;
|
|
222
235
|
headlineSize?: Size;
|
|
223
236
|
headlineColor?: TextColor;
|
|
@@ -240,23 +253,36 @@ interface BoxProps extends FlexLayoutProps {
|
|
|
240
253
|
}
|
|
241
254
|
declare function Box({ padding, align, justify, ...otherProps }: BoxProps): react_jsx_runtime.JSX.Element;
|
|
242
255
|
|
|
243
|
-
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";
|
|
256
|
+
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";
|
|
244
257
|
|
|
245
|
-
interface ButtonProps extends BaseButtonProps {
|
|
258
|
+
interface ButtonProps extends Omit<BaseButtonProps, "border" | "padding"> {
|
|
246
259
|
children: string;
|
|
247
260
|
color: InteractableColor;
|
|
248
|
-
size?: Size;
|
|
249
261
|
icon?: IconType;
|
|
250
|
-
iconSize?: Size;
|
|
251
262
|
iconPosition?: "left" | "right";
|
|
252
263
|
rowProps?: FlexLayoutProps;
|
|
253
264
|
align?: Align;
|
|
254
265
|
gap?: Gap;
|
|
255
266
|
justify?: Justify;
|
|
256
|
-
bold?: boolean;
|
|
257
267
|
}
|
|
258
268
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
259
269
|
|
|
270
|
+
type ButtonGroupValue = string | number;
|
|
271
|
+
type ButtonGroupOption<Value extends ButtonGroupValue> = {
|
|
272
|
+
value: Value;
|
|
273
|
+
label: string;
|
|
274
|
+
icon?: IconType;
|
|
275
|
+
};
|
|
276
|
+
interface ButtonGroupProps<Value extends ButtonGroupValue> {
|
|
277
|
+
label: string;
|
|
278
|
+
options: ReadonlyArray<ButtonGroupOption<Value>>;
|
|
279
|
+
value: Value;
|
|
280
|
+
onValueChange: (value: NoInfer<Value>) => void;
|
|
281
|
+
disabled?: boolean;
|
|
282
|
+
jss?: JSS;
|
|
283
|
+
}
|
|
284
|
+
declare function ButtonGroup<Value extends ButtonGroupValue>({ label, options, value, onValueChange, disabled, jss, }: ButtonGroupProps<Value>): react_jsx_runtime.JSX.Element;
|
|
285
|
+
|
|
260
286
|
declare const Calendar: React__default.ForwardRefExoticComponent<{
|
|
261
287
|
date: Date;
|
|
262
288
|
header: (props: {
|
|
@@ -274,11 +300,14 @@ declare const Calendar: React__default.ForwardRefExoticComponent<{
|
|
|
274
300
|
}) => React__default.JSX.Element;
|
|
275
301
|
} & React__default.RefAttributes<HTMLElement>>;
|
|
276
302
|
|
|
303
|
+
type CardVariant = "default" | "tonal" | "floating";
|
|
277
304
|
interface CardProps extends FlexLayoutProps {
|
|
305
|
+
variant?: CardVariant;
|
|
306
|
+
material?: Material;
|
|
278
307
|
}
|
|
279
|
-
declare function Card({ children, jss, padding, gap, ...otherProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
308
|
+
declare function Card({ children, jss, padding, gap, variant, material, ...otherProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
280
309
|
|
|
281
|
-
interface CheckboxProps extends BaseInputProps {
|
|
310
|
+
interface CheckboxProps extends Omit<BaseInputProps, "checked" | "onClick" | "value" | "onChange" | "size"> {
|
|
282
311
|
checked: boolean;
|
|
283
312
|
onClick: () => void;
|
|
284
313
|
size: Size;
|
|
@@ -303,27 +332,26 @@ declare function DarkModeProvider({ children, enabled, toggle, }: {
|
|
|
303
332
|
}): react_jsx_runtime.JSX.Element;
|
|
304
333
|
declare function DarkModeToggle(): react_jsx_runtime.JSX.Element;
|
|
305
334
|
|
|
306
|
-
interface DateInputProps
|
|
307
|
-
|
|
308
|
-
date: Date;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
335
|
+
interface DateInputProps {
|
|
336
|
+
date: Date | null;
|
|
337
|
+
onDateChange: (date: Date | null) => void;
|
|
338
|
+
label?: string;
|
|
339
|
+
"aria-label"?: string;
|
|
340
|
+
"aria-describedby"?: string;
|
|
341
|
+
"aria-invalid"?: boolean;
|
|
342
|
+
id?: string;
|
|
343
|
+
name?: string;
|
|
344
|
+
locale?: string;
|
|
345
|
+
min?: Date;
|
|
346
|
+
max?: Date;
|
|
347
|
+
disabled?: boolean;
|
|
348
|
+
required?: boolean;
|
|
349
|
+
readOnly?: boolean;
|
|
350
|
+
autoFocus?: boolean;
|
|
312
351
|
jss?: JSS;
|
|
313
352
|
}
|
|
314
353
|
declare const DateInput: React__default.ForwardRefExoticComponent<DateInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
315
354
|
|
|
316
|
-
interface DatePickerProps {
|
|
317
|
-
id: string;
|
|
318
|
-
label: string;
|
|
319
|
-
date: Date;
|
|
320
|
-
color?: TextColor;
|
|
321
|
-
min?: string;
|
|
322
|
-
max?: string;
|
|
323
|
-
onDateChange: (date: Date) => void;
|
|
324
|
-
}
|
|
325
|
-
declare function DatePicker({ id, label, color, date, onDateChange, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
326
|
-
|
|
327
355
|
interface DatetimeInputProps extends BaseInputProps {
|
|
328
356
|
onDateChange: (date: Date) => void;
|
|
329
357
|
date: Date;
|
|
@@ -340,7 +368,7 @@ declare const Dialog: ({ label, children, close, }: {
|
|
|
340
368
|
close: () => void;
|
|
341
369
|
}) => react_jsx_runtime.JSX.Element;
|
|
342
370
|
declare function DialogProvider({ children }: {
|
|
343
|
-
children:
|
|
371
|
+
children: React__default.ReactNode;
|
|
344
372
|
}): react_jsx_runtime.JSX.Element;
|
|
345
373
|
declare function useDialog<Input>(DialogComponent: (props: {
|
|
346
374
|
close: () => void;
|
|
@@ -348,23 +376,9 @@ declare function useDialog<Input>(DialogComponent: (props: {
|
|
|
348
376
|
closeOnOutsideClick: boolean;
|
|
349
377
|
}): {
|
|
350
378
|
open: (input: Input) => void;
|
|
351
|
-
close: () =>
|
|
379
|
+
close: () => void;
|
|
352
380
|
};
|
|
353
381
|
|
|
354
|
-
declare function Dropdown<T extends string | number>({ id: propId, label, options, selection, setSelection, jss, jssButton, optionLabel, padding, size, gap, }: {
|
|
355
|
-
id?: string;
|
|
356
|
-
label: string;
|
|
357
|
-
options: Set<T>;
|
|
358
|
-
setSelection: (selection: T) => void;
|
|
359
|
-
selection: T;
|
|
360
|
-
jss?: JSS;
|
|
361
|
-
jssButton?: JSS;
|
|
362
|
-
optionLabel: (option: T) => string;
|
|
363
|
-
padding?: Padding;
|
|
364
|
-
gap?: Gap;
|
|
365
|
-
size?: Size;
|
|
366
|
-
}): react_jsx_runtime.JSX.Element;
|
|
367
|
-
|
|
368
382
|
type Callback<Value> = (value: Value) => void;
|
|
369
383
|
type Subscribe<Value> = (callback: Callback<Value>) => () => void;
|
|
370
384
|
declare function createEmitter<Value>(): {
|
|
@@ -376,9 +390,6 @@ declare function guid(): string;
|
|
|
376
390
|
|
|
377
391
|
declare function hash(source: string, modulus?: number): number;
|
|
378
392
|
|
|
379
|
-
declare function IconProvider({ children }: {
|
|
380
|
-
children: React__default.JSX.Element;
|
|
381
|
-
}): React__default.JSX.Element;
|
|
382
393
|
declare function Icon({ icon, size, color, ariaLabel, }: {
|
|
383
394
|
ariaLabel?: string;
|
|
384
395
|
icon: IconType;
|
|
@@ -386,53 +397,41 @@ declare function Icon({ icon, size, color, ariaLabel, }: {
|
|
|
386
397
|
color: TextColor;
|
|
387
398
|
}): react_jsx_runtime.JSX.Element;
|
|
388
399
|
|
|
389
|
-
interface IconButtonProps extends BaseButtonProps {
|
|
400
|
+
interface IconButtonProps extends Omit<BaseButtonProps, "border" | "padding"> {
|
|
390
401
|
icon: IconType;
|
|
391
|
-
size: Size;
|
|
392
402
|
label?: string;
|
|
393
|
-
labelSize?: Size;
|
|
394
403
|
}
|
|
395
404
|
declare const IconButton: React__default.ForwardRefExoticComponent<IconButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
396
405
|
|
|
397
|
-
interface IconLinkProps extends BaseLinkProps {
|
|
406
|
+
interface IconLinkProps extends Omit<BaseLinkProps, "border" | "padding"> {
|
|
398
407
|
icon: IconType;
|
|
399
|
-
size: Size;
|
|
400
408
|
}
|
|
401
409
|
declare const IconLink: React__default.ForwardRefExoticComponent<IconLinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
402
410
|
|
|
403
|
-
interface LinkProps extends BaseLinkProps {
|
|
411
|
+
interface LinkProps extends Omit<BaseLinkProps, "border" | "padding"> {
|
|
404
412
|
children?: ReactNode;
|
|
405
413
|
color: InteractableColor;
|
|
406
|
-
size?: Size;
|
|
407
414
|
icon?: IconType;
|
|
408
415
|
underline?: boolean;
|
|
409
|
-
iconSize?: Size;
|
|
410
416
|
iconPosition?: "left" | "right";
|
|
411
417
|
rowProps?: FlexLayoutProps;
|
|
412
418
|
align?: Align;
|
|
413
419
|
gap?: Gap;
|
|
414
420
|
justify?: Justify;
|
|
415
|
-
bold?: boolean;
|
|
416
421
|
inline?: boolean;
|
|
417
422
|
}
|
|
418
423
|
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
419
424
|
|
|
420
425
|
interface ListProps extends BaseListProps {
|
|
421
426
|
ariaLabel: string;
|
|
422
|
-
bare?: boolean;
|
|
423
427
|
autofocus?: boolean;
|
|
424
428
|
role?: undefined;
|
|
425
429
|
navigation?: boolean;
|
|
426
|
-
carded?: boolean;
|
|
427
430
|
}
|
|
428
|
-
declare function List({ ariaLabel, jss, autofocus, navigation,
|
|
429
|
-
declare const useListContext: () => {
|
|
430
|
-
bare: boolean;
|
|
431
|
-
carded: boolean;
|
|
432
|
-
};
|
|
431
|
+
declare function List({ ariaLabel, jss, autofocus, navigation, ...otherProps }: ListProps): react_jsx_runtime.JSX.Element;
|
|
433
432
|
|
|
434
|
-
interface ListButtonItemProps extends BaseListItemProps {
|
|
435
|
-
color
|
|
433
|
+
interface ListButtonItemProps extends Omit<BaseListItemProps, "children" | "onClick"> {
|
|
434
|
+
color?: InteractableColor;
|
|
436
435
|
onClick: () => void;
|
|
437
436
|
headline: string;
|
|
438
437
|
body?: string;
|
|
@@ -444,23 +443,22 @@ declare const ListButtonItem: React__default.ForwardRefExoticComponent<Omit<List
|
|
|
444
443
|
|
|
445
444
|
declare function ListDivider(): react_jsx_runtime.JSX.Element;
|
|
446
445
|
|
|
447
|
-
declare function ListHeaderItem({ highlight, headline, body,
|
|
446
|
+
declare function ListHeaderItem({ highlight, headline, body, addOn, addOnPosition, }: {
|
|
448
447
|
highlight?: boolean;
|
|
449
448
|
headline: string;
|
|
450
449
|
body?: string;
|
|
451
|
-
withDivider?: boolean;
|
|
452
450
|
addOn?: ReactNode;
|
|
453
451
|
addOnPosition?: Position;
|
|
454
452
|
}): react_jsx_runtime.JSX.Element;
|
|
455
453
|
|
|
456
|
-
interface ListItemProps extends BaseListItemProps {
|
|
454
|
+
interface ListItemProps extends Omit<BaseListItemProps, "children"> {
|
|
457
455
|
headline: string;
|
|
458
456
|
body?: string;
|
|
459
457
|
children?: void;
|
|
460
458
|
}
|
|
461
459
|
declare const ListItem: React__default.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React__default.RefAttributes<HTMLLIElement>>;
|
|
462
460
|
|
|
463
|
-
interface ListLinkItemProps extends BaseListItemProps {
|
|
461
|
+
interface ListLinkItemProps extends Omit<BaseListItemProps, "children" | "onClick"> {
|
|
464
462
|
color?: InteractableColor;
|
|
465
463
|
children?: void;
|
|
466
464
|
onClick?: () => void;
|
|
@@ -480,6 +478,18 @@ declare function MenuIcon({ open, color }: {
|
|
|
480
478
|
color: Color;
|
|
481
479
|
}): react_jsx_runtime.JSX.Element;
|
|
482
480
|
|
|
481
|
+
interface NavigationSplitViewProps {
|
|
482
|
+
navigation: ReactNode;
|
|
483
|
+
children: ReactNode;
|
|
484
|
+
compactHeader?: ReactNode;
|
|
485
|
+
compactNavigation?: ReactNode;
|
|
486
|
+
navigationVisibleInCompact?: boolean;
|
|
487
|
+
navigationWidth?: string;
|
|
488
|
+
navigationInset?: string;
|
|
489
|
+
jss?: JSS;
|
|
490
|
+
}
|
|
491
|
+
declare function NavigationSplitView({ navigation, children, compactHeader, compactNavigation, navigationVisibleInCompact, navigationWidth, navigationInset, jss, }: NavigationSplitViewProps): react_jsx_runtime.JSX.Element;
|
|
492
|
+
|
|
483
493
|
declare function numberToBase(number: number, base?: Array<string>): string;
|
|
484
494
|
|
|
485
495
|
declare function OnVisible({ children, onVisible, }: {
|
|
@@ -487,14 +497,15 @@ declare function OnVisible({ children, onVisible, }: {
|
|
|
487
497
|
onVisible: () => void;
|
|
488
498
|
}): React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>>;
|
|
489
499
|
|
|
490
|
-
declare function Popover({ children, close }: {
|
|
491
|
-
children:
|
|
492
|
-
close:
|
|
500
|
+
declare function Popover({ children, close, }: {
|
|
501
|
+
children: React__default.ReactNode;
|
|
502
|
+
close: () => void;
|
|
493
503
|
}): react_jsx_runtime.JSX.Element;
|
|
494
504
|
interface PopoverTriggerProps<Input> {
|
|
495
505
|
PopoverComponent: (props: {
|
|
496
506
|
close: () => void;
|
|
497
507
|
} & Input) => React__default.JSX.Element;
|
|
508
|
+
ariaLabel?: string;
|
|
498
509
|
jss?: JSS;
|
|
499
510
|
jssDialog?: JSS;
|
|
500
511
|
className?: undefined;
|
|
@@ -503,22 +514,32 @@ interface PopoverTriggerProps<Input> {
|
|
|
503
514
|
tag?: keyof HTMLElementTagNameMap;
|
|
504
515
|
children: (props: {
|
|
505
516
|
toggle: (input: Input) => void;
|
|
517
|
+
expanded: boolean;
|
|
506
518
|
}) => React__default.JSX.Element;
|
|
507
519
|
}
|
|
508
|
-
declare function PopoverTrigger<Input>({ PopoverComponent, jss, jssDialog, grow, shrink, tag, children, }: PopoverTriggerProps<Input>): react_jsx_runtime.JSX.Element;
|
|
520
|
+
declare function PopoverTrigger<Input>({ PopoverComponent, ariaLabel, jss, jssDialog, grow, shrink, tag, children, }: PopoverTriggerProps<Input>): react_jsx_runtime.JSX.Element;
|
|
509
521
|
|
|
510
|
-
|
|
522
|
+
type ProgressBarSize = "small" | "medium";
|
|
523
|
+
interface ProgressBarProps {
|
|
511
524
|
progress: number;
|
|
512
|
-
color
|
|
513
|
-
size
|
|
525
|
+
color?: Color;
|
|
526
|
+
size?: ProgressBarSize;
|
|
514
527
|
jss?: JSS;
|
|
515
|
-
|
|
528
|
+
"aria-label"?: string;
|
|
529
|
+
"aria-labelledby"?: string;
|
|
530
|
+
}
|
|
531
|
+
declare function ProgressBar({ color, progress, size, jss, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
516
532
|
|
|
517
|
-
|
|
533
|
+
type ProgressCircleSize = "small" | "medium";
|
|
534
|
+
interface ProgressCircleProps {
|
|
518
535
|
progress: number;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
536
|
+
color?: Color;
|
|
537
|
+
size?: ProgressCircleSize;
|
|
538
|
+
jss?: JSS;
|
|
539
|
+
"aria-label"?: string;
|
|
540
|
+
"aria-labelledby"?: string;
|
|
541
|
+
}
|
|
542
|
+
declare function ProgressCircle({ progress, color, size, jss, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
522
543
|
|
|
523
544
|
declare function Providers({ children, themes, }: {
|
|
524
545
|
children: React__default.JSX.Element;
|
|
@@ -545,14 +566,21 @@ declare function RootView({ children, focusOnlyOnFirstMount, }: {
|
|
|
545
566
|
focusOnlyOnFirstMount?: boolean;
|
|
546
567
|
}): react_jsx_runtime.JSX.Element;
|
|
547
568
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
569
|
+
type SelectValue = string | number;
|
|
570
|
+
type SelectOption<Value extends SelectValue> = {
|
|
571
|
+
value: Value;
|
|
572
|
+
label: string;
|
|
573
|
+
};
|
|
574
|
+
interface SelectProps<Value extends SelectValue> {
|
|
575
|
+
label: string;
|
|
576
|
+
options: ReadonlyArray<SelectOption<Value>>;
|
|
577
|
+
value: Value;
|
|
578
|
+
onValueChange: (value: NoInfer<Value>) => void;
|
|
579
|
+
disabled?: boolean;
|
|
551
580
|
jss?: JSS;
|
|
552
|
-
|
|
553
|
-
className?: undefined;
|
|
581
|
+
jssButton?: JSS;
|
|
554
582
|
}
|
|
555
|
-
declare
|
|
583
|
+
declare function Select<Value extends SelectValue>({ label, options, value, onValueChange, disabled, jss, jssButton, }: SelectProps<Value>): react_jsx_runtime.JSX.Element;
|
|
556
584
|
|
|
557
585
|
type Props = {
|
|
558
586
|
children: ReactNode;
|
|
@@ -561,7 +589,7 @@ type Props = {
|
|
|
561
589
|
declare function StackContextProvider({ children, isTopOfStack }: Props): react_jsx_runtime.JSX.Element;
|
|
562
590
|
declare function useIsTopOfStack(): boolean;
|
|
563
591
|
|
|
564
|
-
type Reducer<State, Context> = <Data
|
|
592
|
+
type Reducer<State, Context> = <Data>({ state, context, data, }: {
|
|
565
593
|
state: State;
|
|
566
594
|
context: Context;
|
|
567
595
|
data: Data;
|
|
@@ -569,30 +597,26 @@ type Reducer<State, Context> = <Data extends any>({ state, context, data, }: {
|
|
|
569
597
|
state: State;
|
|
570
598
|
context: Context;
|
|
571
599
|
};
|
|
572
|
-
type StateMachineConfig<State, Transition, Context> = {
|
|
573
|
-
states: {
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
[transition: Transition]: Reducer<State, Context>;
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
};
|
|
600
|
+
type StateMachineConfig<State extends PropertyKey, Transition extends PropertyKey, Context> = {
|
|
601
|
+
states: Record<State, {
|
|
602
|
+
on: Partial<Record<Transition, Reducer<State, Context>>>;
|
|
603
|
+
}>;
|
|
580
604
|
context: Context;
|
|
581
605
|
state: State;
|
|
582
606
|
};
|
|
583
|
-
type Send = <
|
|
584
|
-
type StateMachineContextType<State, Context> = {
|
|
607
|
+
type Send<Transition> = <Data>(transition: Transition, data: Data) => void;
|
|
608
|
+
type StateMachineContextType<State, Transition, Context> = {
|
|
585
609
|
subscribe: Subscribe<{
|
|
586
610
|
state: State;
|
|
587
611
|
context: Context;
|
|
588
612
|
}>;
|
|
589
|
-
send: Send
|
|
613
|
+
send: Send<Transition>;
|
|
590
614
|
};
|
|
591
|
-
declare function stateMachineContextFactory<State, Transition, Context>(stateMachineConfig: StateMachineConfig<State, Transition, Context>): {
|
|
615
|
+
declare function stateMachineContextFactory<State extends PropertyKey, Transition extends PropertyKey, Context>(stateMachineConfig: StateMachineConfig<State, Transition, Context>): {
|
|
592
616
|
Provider: ({ children }: {
|
|
593
617
|
children: ReactNode;
|
|
594
618
|
}) => react_jsx_runtime.JSX.Element;
|
|
595
|
-
useStateMachine: () => StateMachineContextType<State, Context>;
|
|
619
|
+
useStateMachine: () => StateMachineContextType<State, Transition, Context>;
|
|
596
620
|
};
|
|
597
621
|
|
|
598
622
|
type StaticCheckboxProps = {
|
|
@@ -606,6 +630,8 @@ declare const sizes: {
|
|
|
606
630
|
medium: number;
|
|
607
631
|
large: number;
|
|
608
632
|
xlarge: number;
|
|
633
|
+
xxlarge: number;
|
|
634
|
+
xxxlarge: number;
|
|
609
635
|
};
|
|
610
636
|
declare function StaticCheckbox({ checked, size, icon, }: StaticCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
611
637
|
|
|
@@ -621,14 +647,14 @@ declare function createStorage<State>({ initialState, name, }: {
|
|
|
621
647
|
usePersist: () => () => Promise<void>;
|
|
622
648
|
};
|
|
623
649
|
|
|
624
|
-
declare
|
|
625
|
-
render:
|
|
626
|
-
bufferStart:
|
|
627
|
-
bufferEnd:
|
|
628
|
-
index:
|
|
650
|
+
declare function useStream<Frame>({ render, bufferStart, bufferEnd, index, debounce, }: {
|
|
651
|
+
render: (index: number) => Frame;
|
|
652
|
+
bufferStart: number;
|
|
653
|
+
bufferEnd: number;
|
|
654
|
+
index: number;
|
|
629
655
|
debounce?: number;
|
|
630
|
-
})
|
|
631
|
-
frame:
|
|
656
|
+
}): {
|
|
657
|
+
frame: Frame;
|
|
632
658
|
};
|
|
633
659
|
|
|
634
660
|
declare function Sublist({ children, label, labelBold, initialState, jss, secondaryAddOn, }: {
|
|
@@ -648,8 +674,10 @@ interface SubmitIconInputProps extends BaseInputProps {
|
|
|
648
674
|
}
|
|
649
675
|
declare function SubmitIconInput({ icon, ...otherProps }: SubmitIconInputProps): react_jsx_runtime.JSX.Element;
|
|
650
676
|
|
|
677
|
+
type TabsVariant = "underline" | "segmented";
|
|
651
678
|
type Tab = {
|
|
652
679
|
label: string;
|
|
680
|
+
icon?: IconType;
|
|
653
681
|
href?: string;
|
|
654
682
|
onClick?: () => void;
|
|
655
683
|
selected?: boolean;
|
|
@@ -659,7 +687,9 @@ type Tab = {
|
|
|
659
687
|
interface TabsProps extends RowProps {
|
|
660
688
|
["aria-controls"]: string;
|
|
661
689
|
tabs: Array<Tab>;
|
|
690
|
+
variant?: TabsVariant;
|
|
662
691
|
labelSize?: Size;
|
|
692
|
+
iconSize?: Size;
|
|
663
693
|
bare?: boolean;
|
|
664
694
|
tabPadding?: Padding;
|
|
665
695
|
jssTab?: JSS | ((data: {
|
|
@@ -667,10 +697,31 @@ interface TabsProps extends RowProps {
|
|
|
667
697
|
}) => JSS);
|
|
668
698
|
labelRenderer?: (label: string) => ReactNode;
|
|
669
699
|
}
|
|
670
|
-
declare function Tabs({ tabs, gap, padding, tabPadding, labelSize, jss, jssTab, labelRenderer, ["aria-controls"]: ariaControls, ...otherProps }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
700
|
+
declare function Tabs({ tabs, variant, gap, padding, tabPadding, labelSize, iconSize, jss, jssTab, labelRenderer, ["aria-controls"]: ariaControls, ...otherProps }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
671
701
|
|
|
672
|
-
type
|
|
673
|
-
interface
|
|
702
|
+
type TabBarVariant = "default" | "floating";
|
|
703
|
+
interface TabBarProps extends Omit<FlexLayoutProps, "children" | "tag"> {
|
|
704
|
+
tabs: Tab[];
|
|
705
|
+
variant?: TabBarVariant;
|
|
706
|
+
fixed?: boolean;
|
|
707
|
+
iconSize?: Size;
|
|
708
|
+
labelSize?: Size;
|
|
709
|
+
tabPadding?: Padding;
|
|
710
|
+
jssTab?: JSS | ((data: {
|
|
711
|
+
selected: boolean;
|
|
712
|
+
}) => JSS);
|
|
713
|
+
labelRenderer?: (label: string) => React__default.ReactNode;
|
|
714
|
+
}
|
|
715
|
+
declare function TabBar({ tabs, variant, direction, fixed, iconSize, labelSize, tabPadding, jssTab, labelRenderer, jss, align, "aria-label": ariaLabel, ...otherProps }: TabBarProps): react_jsx_runtime.JSX.Element;
|
|
716
|
+
|
|
717
|
+
interface TableProps extends Omit<React__default.TableHTMLAttributes<HTMLTableElement>, "className">, Pick<CardProps, "variant" | "material" | "padding" | "gap"> {
|
|
718
|
+
jss?: JSS;
|
|
719
|
+
jssTable?: JSS;
|
|
720
|
+
className?: undefined;
|
|
721
|
+
}
|
|
722
|
+
declare function Table({ children, jss, jssTable, variant, material, padding, gap, ...tableProps }: TableProps): react_jsx_runtime.JSX.Element;
|
|
723
|
+
|
|
724
|
+
interface TextProps extends Omit<React__default.HTMLAttributes<HTMLElement>, "children" | "className" | "color"> {
|
|
674
725
|
children: ReactNode;
|
|
675
726
|
color?: TextColor;
|
|
676
727
|
size?: Size;
|
|
@@ -680,26 +731,28 @@ interface TextProps {
|
|
|
680
731
|
type?: TextType;
|
|
681
732
|
grow?: boolean;
|
|
682
733
|
jss?: JSS;
|
|
683
|
-
id?: string;
|
|
684
734
|
htmlFor?: string;
|
|
735
|
+
className?: never;
|
|
685
736
|
}
|
|
686
737
|
type TextType = "label" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "li";
|
|
687
|
-
declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jss,
|
|
738
|
+
declare function Text({ children, color, size, align, bold, ellipsis, grow, type: Type, jss, htmlFor, ...elementProps }: TextProps): react_jsx_runtime.JSX.Element;
|
|
688
739
|
declare function Label({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
689
740
|
declare function Span({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
690
741
|
declare function P({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
691
742
|
declare function H1({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
692
743
|
declare function H2({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
693
744
|
declare function H3({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function H4({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
694
746
|
declare function Li({ size, type, ...rest }: TextProps): react_jsx_runtime.JSX.Element;
|
|
695
747
|
|
|
696
|
-
interface TextAreaProps extends React__default.
|
|
748
|
+
interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
697
749
|
jss?: JSS;
|
|
698
750
|
onValueChange?: (value: string) => void;
|
|
699
751
|
value?: string;
|
|
700
752
|
className?: undefined;
|
|
701
753
|
size?: undefined;
|
|
702
754
|
padding?: Padding;
|
|
755
|
+
onChange?: undefined;
|
|
703
756
|
}
|
|
704
757
|
declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
705
758
|
|
|
@@ -711,7 +764,6 @@ interface TextInputProps extends Omit<BaseInputProps, "size"> {
|
|
|
711
764
|
gap?: Gap;
|
|
712
765
|
onChange?: undefined;
|
|
713
766
|
padding?: Padding;
|
|
714
|
-
bare?: boolean;
|
|
715
767
|
size?: Size;
|
|
716
768
|
}
|
|
717
769
|
declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
@@ -731,6 +783,7 @@ interface TextPairingProps {
|
|
|
731
783
|
headlineAddOn?: ReactNode;
|
|
732
784
|
bodyColor?: TextColor;
|
|
733
785
|
bodySize?: Size;
|
|
786
|
+
bodyEllipsis?: boolean;
|
|
734
787
|
addOn?: ReactNode;
|
|
735
788
|
addOnPosition?: Position;
|
|
736
789
|
gap?: Gap;
|
|
@@ -741,19 +794,24 @@ interface TextPairingProps {
|
|
|
741
794
|
headlineBold?: boolean;
|
|
742
795
|
jss?: JSS;
|
|
743
796
|
}
|
|
744
|
-
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;
|
|
797
|
+
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;
|
|
745
798
|
|
|
746
|
-
interface TimeInputProps extends BaseInputProps {
|
|
747
|
-
onTimeChange: (date: Date) => void;
|
|
748
|
-
time: Date;
|
|
749
|
-
gap?: Gap;
|
|
750
|
-
padding?: Padding;
|
|
751
|
-
addOn?: ReactNode;
|
|
752
|
-
addOnPosition?: "start" | "end";
|
|
753
|
-
onChange?: undefined;
|
|
754
|
-
bare?: boolean;
|
|
755
|
-
}
|
|
756
799
|
declare const timeFormatter: Intl.DateTimeFormat;
|
|
800
|
+
interface TimeInputProps {
|
|
801
|
+
time: Date | null;
|
|
802
|
+
onTimeChange: (time: Date | null) => void;
|
|
803
|
+
label?: string;
|
|
804
|
+
"aria-label"?: string;
|
|
805
|
+
"aria-describedby"?: string;
|
|
806
|
+
"aria-invalid"?: boolean;
|
|
807
|
+
id?: string;
|
|
808
|
+
name?: string;
|
|
809
|
+
disabled?: boolean;
|
|
810
|
+
required?: boolean;
|
|
811
|
+
readOnly?: boolean;
|
|
812
|
+
autoFocus?: boolean;
|
|
813
|
+
jss?: JSS;
|
|
814
|
+
}
|
|
757
815
|
declare const TimeInput: React__default.ForwardRefExoticComponent<TimeInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
758
816
|
|
|
759
817
|
interface TooltipProps {
|
|
@@ -765,6 +823,16 @@ interface TooltipProps {
|
|
|
765
823
|
}
|
|
766
824
|
declare function Tooltip({ content, jss, tag, children }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
767
825
|
|
|
826
|
+
interface ToggleProps extends Omit<IconButtonProps, "aria-label" | "bare" | "color" | "icon" | "label" | "onClick" | "value"> {
|
|
827
|
+
label: string;
|
|
828
|
+
value: boolean;
|
|
829
|
+
onValueChange: (value: boolean) => void;
|
|
830
|
+
onIcon: IconType;
|
|
831
|
+
offIcon: IconType;
|
|
832
|
+
bare?: boolean;
|
|
833
|
+
}
|
|
834
|
+
declare function Toggle({ label, value, onValueChange, onIcon, offIcon, bare, ...buttonProps }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
835
|
+
|
|
768
836
|
declare function hasCookie(key: string): boolean;
|
|
769
837
|
declare function getCookie<T>(key: string, deserialize?: (s: string) => T): T;
|
|
770
838
|
declare function useCookie<T, L>(key: string, { initialValue, loadingValue, serialize, deserialize, maxAge, }: {
|
|
@@ -784,14 +852,15 @@ type KeyboardShortcut<T> = {
|
|
|
784
852
|
};
|
|
785
853
|
declare function useKeyboard<T extends HTMLElement>(shortcuts: Array<KeyboardShortcut<T>>): (root: T) => void;
|
|
786
854
|
|
|
787
|
-
declare function useNavigation({ autofocus, rowLength, enabled, }?: {
|
|
855
|
+
declare function useNavigation({ autofocus, rowLength, enabled, initialIndex, }?: {
|
|
788
856
|
autofocus?: boolean;
|
|
789
857
|
rowLength?: number;
|
|
790
858
|
enabled?: boolean;
|
|
859
|
+
initialIndex?: number;
|
|
791
860
|
}): (root: HTMLElement) => void;
|
|
792
861
|
|
|
793
|
-
declare function usePromise<T>(promiseFactory: () => Promise<T>, inputs:
|
|
862
|
+
declare function usePromise<T>(promiseFactory: () => Promise<T>, inputs: ReadonlyArray<unknown>, initialValue: T): [T | null, unknown];
|
|
794
863
|
|
|
795
864
|
declare function useRefEffect<T>(callback: (root: T) => (() => void) | void): (root: T) => void;
|
|
796
865
|
|
|
797
|
-
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,
|
|
866
|
+
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, 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 };
|