@platned/ui 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +109 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +126 -52
- package/dist/index.js +108 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -958,8 +958,8 @@ interface SegmentedControlProps {
|
|
|
958
958
|
*/
|
|
959
959
|
declare function SegmentedControl({ options, value: valueProp, defaultValue, onValueChange, label, className, }: SegmentedControlProps): react.JSX.Element;
|
|
960
960
|
|
|
961
|
-
/** The values a `
|
|
962
|
-
type
|
|
961
|
+
/** The values a `Form` holds, by field name. */
|
|
962
|
+
type FormValues = Record<string, unknown>;
|
|
963
963
|
/**
|
|
964
964
|
* What `onSubmit` returns: whether the save went through. Only `ok` is read. On `ok: true` the
|
|
965
965
|
* form takes the saved values as its new starting point (no longer dirty); on `ok: false` it
|
|
@@ -968,23 +968,23 @@ type SchemaFormValues = Record<string, unknown>;
|
|
|
968
968
|
* ignored, so a result such as `{ ok: false, error }` can be returned as is. Returning nothing
|
|
969
969
|
* counts as success.
|
|
970
970
|
*/
|
|
971
|
-
type
|
|
971
|
+
type FormResult = {
|
|
972
972
|
ok: boolean;
|
|
973
973
|
};
|
|
974
974
|
/** Field messages by name (or `list.0.item` path). `undefined` means "no message". Client-side only. */
|
|
975
|
-
type
|
|
975
|
+
type FormErrors = Record<string, string | undefined>;
|
|
976
976
|
/** `large` spans both columns of the `grid` layout. Ignored by `stack` and `inline`. */
|
|
977
|
-
type
|
|
977
|
+
type FormFieldSize = 'medium' | 'large';
|
|
978
978
|
/**
|
|
979
979
|
* `grid`: two columns from `sm` up, grouped into sections (record forms).
|
|
980
980
|
* `stack`: one column (sign-in and other narrow forms).
|
|
981
981
|
* `inline`: a wrapping row of controls with no sections (filter toolbars).
|
|
982
982
|
*/
|
|
983
|
-
type
|
|
983
|
+
type FormLayout = 'grid' | 'stack' | 'inline';
|
|
984
984
|
/** `submit`: on the submit button. `change`: on every change, debounced for typing (filters). */
|
|
985
|
-
type
|
|
985
|
+
type FormSubmitOn = 'submit' | 'change';
|
|
986
986
|
/** What the form reports to `onStateChange` and to an `actions` render function. */
|
|
987
|
-
interface
|
|
987
|
+
interface FormState {
|
|
988
988
|
/** `onSubmit` is running. */
|
|
989
989
|
pending: boolean;
|
|
990
990
|
/** The values differ from the ones the form started with, or last saved. */
|
|
@@ -997,7 +997,7 @@ interface SchemaFormState {
|
|
|
997
997
|
step: number;
|
|
998
998
|
}
|
|
999
999
|
/** Handed to a `custom` field's `render` and to a field's `onValueChange`. */
|
|
1000
|
-
interface
|
|
1000
|
+
interface FormFieldContext<V extends object = FormValues> {
|
|
1001
1001
|
/** The field's name, or its `list.0.item` path inside a `list` row. */
|
|
1002
1002
|
name: string;
|
|
1003
1003
|
value: unknown;
|
|
@@ -1016,7 +1016,7 @@ interface SchemaFormFieldContext<V extends object = SchemaFormValues> {
|
|
|
1016
1016
|
pending: boolean;
|
|
1017
1017
|
}
|
|
1018
1018
|
type Maybe<V, T> = T | ((values: V) => T);
|
|
1019
|
-
interface
|
|
1019
|
+
interface FormFieldBase<V extends object = FormValues> {
|
|
1020
1020
|
/** The key in the form's values. */
|
|
1021
1021
|
name: string;
|
|
1022
1022
|
label: string;
|
|
@@ -1032,7 +1032,7 @@ interface SchemaFormFieldBase<V extends object = SchemaFormValues> {
|
|
|
1032
1032
|
/** Shown and focusable but not editable, with no dimming. Choice fields show their label as text. */
|
|
1033
1033
|
readOnly?: Maybe<V, boolean>;
|
|
1034
1034
|
/** Default `medium`. */
|
|
1035
|
-
size?:
|
|
1035
|
+
size?: FormFieldSize;
|
|
1036
1036
|
/** Heading of the section the field is in. Fields with none go before the first section. */
|
|
1037
1037
|
section?: string;
|
|
1038
1038
|
/** Id of the step the field is on, with `steps`. */
|
|
@@ -1040,7 +1040,7 @@ interface SchemaFormFieldBase<V extends object = SchemaFormValues> {
|
|
|
1040
1040
|
/** Leave the field out while this returns true. Its value is kept and still submitted. */
|
|
1041
1041
|
hidden?: (values: V) => boolean;
|
|
1042
1042
|
/** Called after the value changes, e.g. to reset a field that depends on this one. */
|
|
1043
|
-
onValueChange?: (value: unknown, ctx:
|
|
1043
|
+
onValueChange?: (value: unknown, ctx: FormFieldContext<V>) => void;
|
|
1044
1044
|
/**
|
|
1045
1045
|
* An asynchronous check, e.g. "is this username free?". Resolve with the message to show, or
|
|
1046
1046
|
* nothing when the value is fine. It runs once typing pauses (`checkDelay`), only for a value
|
|
@@ -1055,17 +1055,17 @@ interface SchemaFormFieldBase<V extends object = SchemaFormValues> {
|
|
|
1055
1055
|
/** Layout only: a width on a filter toolbar, a column placement. */
|
|
1056
1056
|
className?: string;
|
|
1057
1057
|
}
|
|
1058
|
-
type
|
|
1058
|
+
type FormTextType = 'text' | 'email' | 'tel' | 'url' | 'number' | 'currency' | 'password' | 'search';
|
|
1059
1059
|
/** A single-line text field. Its value is a string, `number` and `currency` included. */
|
|
1060
|
-
interface
|
|
1061
|
-
type:
|
|
1060
|
+
interface FormTextField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1061
|
+
type: FormTextType;
|
|
1062
1062
|
placeholder?: string;
|
|
1063
1063
|
autoComplete?: string;
|
|
1064
1064
|
maxLength?: number;
|
|
1065
1065
|
/** Rewrites what is typed before it is stored, e.g. `(v) => v.toUpperCase()`. */
|
|
1066
1066
|
transform?: (value: string) => string;
|
|
1067
1067
|
}
|
|
1068
|
-
interface
|
|
1068
|
+
interface FormTextareaField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1069
1069
|
type: 'textarea';
|
|
1070
1070
|
rows?: number;
|
|
1071
1071
|
placeholder?: string;
|
|
@@ -1073,7 +1073,7 @@ interface SchemaFormTextareaField<V extends object = SchemaFormValues> extends S
|
|
|
1073
1073
|
transform?: (value: string) => string;
|
|
1074
1074
|
}
|
|
1075
1075
|
/** Value: the option's value, or `null` for none. */
|
|
1076
|
-
interface
|
|
1076
|
+
interface FormSelectField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1077
1077
|
type: 'select';
|
|
1078
1078
|
/** The options are being fetched (see `useDependentOptions`): the control shows "Loading…" and is disabled. */
|
|
1079
1079
|
loading?: boolean;
|
|
@@ -1081,7 +1081,7 @@ interface SchemaFormSelectField<V extends object = SchemaFormValues> extends Sch
|
|
|
1081
1081
|
placeholder?: string;
|
|
1082
1082
|
}
|
|
1083
1083
|
/** Value: the option's value, or `null` for none. */
|
|
1084
|
-
interface
|
|
1084
|
+
interface FormComboboxField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1085
1085
|
type: 'combobox';
|
|
1086
1086
|
/** The options are being fetched (see `useDependentOptions`): the control shows "Loading…" and is disabled. */
|
|
1087
1087
|
loading?: boolean;
|
|
@@ -1092,7 +1092,7 @@ interface SchemaFormComboboxField<V extends object = SchemaFormValues> extends S
|
|
|
1092
1092
|
clearable?: boolean;
|
|
1093
1093
|
}
|
|
1094
1094
|
/** Value: an ISO 3166-1 alpha-2 code, or `null`. */
|
|
1095
|
-
interface
|
|
1095
|
+
interface FormCountryField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1096
1096
|
type: 'country';
|
|
1097
1097
|
countries?: readonly string[];
|
|
1098
1098
|
locale?: string;
|
|
@@ -1100,57 +1100,57 @@ interface SchemaFormCountryField<V extends object = SchemaFormValues> extends Sc
|
|
|
1100
1100
|
placeholder?: string;
|
|
1101
1101
|
}
|
|
1102
1102
|
/** Value: an IANA zone name, or `null`. */
|
|
1103
|
-
interface
|
|
1103
|
+
interface FormTimeZoneField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1104
1104
|
type: 'timezone';
|
|
1105
1105
|
timeZones?: readonly string[];
|
|
1106
1106
|
placeholder?: string;
|
|
1107
1107
|
}
|
|
1108
1108
|
/** Value: the chosen option's value, or `null`. */
|
|
1109
|
-
interface
|
|
1109
|
+
interface FormRadioField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1110
1110
|
type: 'radio';
|
|
1111
1111
|
options: Maybe<V, readonly RadioGroupOption[]>;
|
|
1112
1112
|
orientation?: 'vertical' | 'horizontal';
|
|
1113
1113
|
}
|
|
1114
1114
|
/** Value: the chosen option's value. */
|
|
1115
|
-
interface
|
|
1115
|
+
interface FormSegmentedField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1116
1116
|
type: 'segmented';
|
|
1117
1117
|
options: Maybe<V, SegmentedControlOption[]>;
|
|
1118
1118
|
}
|
|
1119
1119
|
/** Value: an ISO `YYYY-MM-DD` string, `''` for none. */
|
|
1120
|
-
interface
|
|
1120
|
+
interface FormDateField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1121
1121
|
type: 'date';
|
|
1122
1122
|
min?: string;
|
|
1123
1123
|
max?: string;
|
|
1124
1124
|
placeholder?: string;
|
|
1125
1125
|
}
|
|
1126
1126
|
/** Value: a boolean. The label sits beside the control; `hint` is its supporting text. */
|
|
1127
|
-
interface
|
|
1127
|
+
interface FormCheckField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1128
1128
|
type: 'checkbox' | 'switch';
|
|
1129
1129
|
}
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Value: an array of rows, each an object holding the row's `fields`. Rows render as a line of
|
|
1132
1132
|
* controls with a remove button; errors for a row's field use the path `name.index.field`.
|
|
1133
1133
|
*/
|
|
1134
|
-
interface
|
|
1134
|
+
interface FormListField<V extends object = FormValues> extends FormFieldBase<V> {
|
|
1135
1135
|
type: 'list';
|
|
1136
1136
|
/** The controls of one row. `section`, `step` and `size` are ignored on them. */
|
|
1137
|
-
fields:
|
|
1137
|
+
fields: FormField[];
|
|
1138
1138
|
/** The row the Add button appends. Omit together with `renderAdd` to offer no Add button. */
|
|
1139
|
-
newItem?: () =>
|
|
1139
|
+
newItem?: () => FormValues;
|
|
1140
1140
|
/** Label of the Add button. Default "Add". */
|
|
1141
1141
|
addLabel?: string;
|
|
1142
1142
|
/** Replaces the Add button, e.g. with a picker. Call `add` with the new row. */
|
|
1143
|
-
renderAdd?: (add: (item:
|
|
1143
|
+
renderAdd?: (add: (item: FormValues) => void, ctx: FormFieldContext<V>) => ReactNode;
|
|
1144
1144
|
/** Fewest rows: remove buttons are disabled at this count. */
|
|
1145
1145
|
min?: number;
|
|
1146
1146
|
/** Most rows: the Add button is disabled at this count. */
|
|
1147
1147
|
max?: number;
|
|
1148
1148
|
/** Stable key of a row. Default: its index. */
|
|
1149
|
-
itemKey?: (item:
|
|
1149
|
+
itemKey?: (item: FormValues, index: number) => string;
|
|
1150
1150
|
/** Accessible name of a row's remove button. Default "Remove row n". */
|
|
1151
|
-
removeLabel?: (item:
|
|
1151
|
+
removeLabel?: (item: FormValues, index: number) => string;
|
|
1152
1152
|
/** Whether a row may be removed. Default: always, subject to `min`. */
|
|
1153
|
-
canRemove?: (item:
|
|
1153
|
+
canRemove?: (item: FormValues, index: number) => boolean;
|
|
1154
1154
|
/** Content above the rows, e.g. column headings. */
|
|
1155
1155
|
header?: ReactNode;
|
|
1156
1156
|
/** Shown when there are no rows. */
|
|
@@ -1160,21 +1160,21 @@ interface SchemaFormListField<V extends object = SchemaFormValues> extends Schem
|
|
|
1160
1160
|
* Anything the other types do not cover. `render` gets the field's value, setter and error.
|
|
1161
1161
|
* By default it is wrapped in the field chrome (label, hint, error); set `bare` to render it alone.
|
|
1162
1162
|
*/
|
|
1163
|
-
interface
|
|
1163
|
+
interface FormCustomField<V extends object = FormValues> extends Omit<FormFieldBase<V>, 'label'> {
|
|
1164
1164
|
type: 'custom';
|
|
1165
1165
|
label?: string;
|
|
1166
|
-
render: (ctx:
|
|
1166
|
+
render: (ctx: FormFieldContext<V>) => ReactNode;
|
|
1167
1167
|
bare?: boolean;
|
|
1168
1168
|
}
|
|
1169
|
-
type
|
|
1170
|
-
type
|
|
1171
|
-
interface
|
|
1169
|
+
type FormField<V extends object = FormValues> = FormTextField<V> | FormTextareaField<V> | FormSelectField<V> | FormComboboxField<V> | FormCountryField<V> | FormTimeZoneField<V> | FormRadioField<V> | FormSegmentedField<V> | FormDateField<V> | FormCheckField<V> | FormListField<V> | FormCustomField<V>;
|
|
1170
|
+
type FormFieldType = FormField['type'];
|
|
1171
|
+
interface FormStep {
|
|
1172
1172
|
id: string;
|
|
1173
1173
|
label: string;
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
1176
|
/** Handed to an `actions` render function, for buttons of your own. */
|
|
1177
|
-
interface
|
|
1177
|
+
interface FormActionsApi extends FormState {
|
|
1178
1178
|
/** Submits the form, as its submit button does (validation first). */
|
|
1179
1179
|
submit: () => void;
|
|
1180
1180
|
/** With `steps`: back one step. */
|
|
@@ -1182,9 +1182,9 @@ interface SchemaFormActionsApi extends SchemaFormState {
|
|
|
1182
1182
|
/** With `steps`: whether the current step is the last. Otherwise `true`. */
|
|
1183
1183
|
lastStep: boolean;
|
|
1184
1184
|
}
|
|
1185
|
-
interface
|
|
1185
|
+
interface FormProps<V extends object = FormValues> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'children' | 'title' | 'defaultValue'> {
|
|
1186
1186
|
/** The fields, in order. A field's `section` groups it under a heading. */
|
|
1187
|
-
fields:
|
|
1187
|
+
fields: FormField<V>[];
|
|
1188
1188
|
/** The form's accessible name. */
|
|
1189
1189
|
title: string;
|
|
1190
1190
|
/** Starting values when the form holds them itself. */
|
|
@@ -1200,35 +1200,35 @@ interface SchemaFormProps<V extends object = SchemaFormValues> extends Omit<Form
|
|
|
1200
1200
|
* While it runs the form is `pending`. If it throws, the form stops being pending and the
|
|
1201
1201
|
* error propagates.
|
|
1202
1202
|
*/
|
|
1203
|
-
onSubmit?: (values: NoInfer<V>) =>
|
|
1203
|
+
onSubmit?: (values: NoInfer<V>) => FormResult | void | Promise<FormResult | void>;
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Messages by field name (or `list.0.field` path), for values as they stand. A message shows
|
|
1206
1206
|
* once its field has been visited or a submit was tried, and blocks the submit.
|
|
1207
1207
|
*/
|
|
1208
|
-
validate?: (values: NoInfer<V>) =>
|
|
1208
|
+
validate?: (values: NoInfer<V>) => FormErrors;
|
|
1209
1209
|
/**
|
|
1210
1210
|
* The message for an empty `required` field that `validate` leaves alone. Default
|
|
1211
1211
|
* "<Label> is required." Pass `false` to leave required checks to `validate`.
|
|
1212
1212
|
*/
|
|
1213
|
-
requiredMessage?: ((field:
|
|
1213
|
+
requiredMessage?: ((field: FormField<V>) => string) | false;
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Messages from the page that show at once and win over the form's own, e.g. a check the page
|
|
1216
1216
|
* runs itself. `undefined` entries are ignored. Not for save errors: those go outside the form.
|
|
1217
1217
|
*/
|
|
1218
|
-
errors?:
|
|
1218
|
+
errors?: FormErrors;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* When a validation message first shows. `blur` (default): once its field has been visited, or a
|
|
1221
1221
|
* submit was tried. `submit`: only once a submit was tried, as sign-in screens do.
|
|
1222
1222
|
*/
|
|
1223
1223
|
validateOn?: 'blur' | 'submit';
|
|
1224
1224
|
/** Default `grid`. */
|
|
1225
|
-
layout?:
|
|
1225
|
+
layout?: FormLayout;
|
|
1226
1226
|
/** Default `submit`. `change` submits on every change, with typing debounced. */
|
|
1227
|
-
submitOn?:
|
|
1227
|
+
submitOn?: FormSubmitOn;
|
|
1228
1228
|
/** Debounce for typing with `submitOn="change"`, in ms. Default 300. */
|
|
1229
1229
|
debounce?: number;
|
|
1230
1230
|
/** Shows one step at a time; fields name theirs with `step`. Next validates the step. */
|
|
1231
|
-
steps?:
|
|
1231
|
+
steps?: FormStep[];
|
|
1232
1232
|
/** Every field read-only, and no buttons. */
|
|
1233
1233
|
readOnly?: boolean;
|
|
1234
1234
|
/** Every field disabled. */
|
|
@@ -1246,11 +1246,11 @@ interface SchemaFormProps<V extends object = SchemaFormValues> extends Omit<Form
|
|
|
1246
1246
|
onCancel?: () => void;
|
|
1247
1247
|
cancelLabel?: string;
|
|
1248
1248
|
/** Replaces the default buttons. */
|
|
1249
|
-
actions?: ReactNode | ((api:
|
|
1249
|
+
actions?: ReactNode | ((api: FormActionsApi) => ReactNode);
|
|
1250
1250
|
/** Default: shown unless `readOnly` or `submitOn="change"`. */
|
|
1251
1251
|
showActions?: boolean;
|
|
1252
1252
|
/** Pending, dirty, valid, checking and step, for buttons and guards outside the form. */
|
|
1253
|
-
onStateChange?: (state:
|
|
1253
|
+
onStateChange?: (state: FormState) => void;
|
|
1254
1254
|
/** Extra content after the fields, before the buttons. */
|
|
1255
1255
|
children?: ReactNode;
|
|
1256
1256
|
}
|
|
@@ -1276,7 +1276,7 @@ interface SchemaFormProps<V extends object = SchemaFormValues> extends Omit<Form
|
|
|
1276
1276
|
* focusable and pressing it shows what is wrong: a disabled look is a signal, not an
|
|
1277
1277
|
* explanation. Values are held in React state, never read back from the DOM.
|
|
1278
1278
|
*/
|
|
1279
|
-
declare function
|
|
1279
|
+
declare function Form<V extends object = FormValues>({ fields: fieldsProp, title, defaultValues, values: valuesProp, onValuesChange, onSubmit, validate, requiredMessage, errors: errorsProp, validateOn, layout, submitOn, debounce, steps, readOnly, disabled, size, submitLabel, pendingLabel, nextLabel, backLabel, onCancel, cancelLabel, actions, showActions, onStateChange, children, className, noValidate, ...formProps }: FormProps<V>): react.JSX.Element;
|
|
1280
1280
|
|
|
1281
1281
|
interface DependentOptions<T = SelectOption> {
|
|
1282
1282
|
/** Choices for the parent's current value. Empty while loading, when the parent is empty, or if loading failed. */
|
|
@@ -1293,7 +1293,7 @@ interface DependentOptions<T = SelectOption> {
|
|
|
1293
1293
|
* parent value they were loaded for, so a stale list is never shown for a new parent. A `load`
|
|
1294
1294
|
* that fails gives no options.
|
|
1295
1295
|
*
|
|
1296
|
-
* Pass `loading` to the `
|
|
1296
|
+
* Pass `loading` to the `Form` select or combobox field, which then shows "Loading…".
|
|
1297
1297
|
* Clearing the dependent field's own value when the parent changes is up to the form: do it in
|
|
1298
1298
|
* the parent field's `onValueChange`.
|
|
1299
1299
|
*
|
|
@@ -1309,6 +1309,69 @@ interface DependentOptions<T = SelectOption> {
|
|
|
1309
1309
|
*/
|
|
1310
1310
|
declare function useDependentOptions<T = SelectOption>(parentValue: string, load: (parentValue: string) => Promise<T[]>): DependentOptions<T>;
|
|
1311
1311
|
|
|
1312
|
+
/**
|
|
1313
|
+
* The 0.10.0 names of `Form` and its types, kept so code written against 0.10.0 still compiles.
|
|
1314
|
+
* 0.10.0 published the component as `SchemaForm`; 0.10.1 renamed it `Form`. These will be removed
|
|
1315
|
+
* in a later minor release.
|
|
1316
|
+
*/
|
|
1317
|
+
|
|
1318
|
+
/** @deprecated Since 0.10.1. Use `Form`. */
|
|
1319
|
+
declare const SchemaForm: typeof Form;
|
|
1320
|
+
/** @deprecated Since 0.10.1. Use `FormProps`. */
|
|
1321
|
+
type SchemaFormProps<V extends object = FormValues> = FormProps<V>;
|
|
1322
|
+
/** @deprecated Since 0.10.1. Use `FormActionsApi`. */
|
|
1323
|
+
type SchemaFormActionsApi = FormActionsApi;
|
|
1324
|
+
/** @deprecated Since 0.10.1. Use `FormValues`. */
|
|
1325
|
+
type SchemaFormValues = FormValues;
|
|
1326
|
+
/** @deprecated Since 0.10.1. Use `FormResult`. */
|
|
1327
|
+
type SchemaFormResult = FormResult;
|
|
1328
|
+
/** @deprecated Since 0.10.1. Use `FormErrors`. */
|
|
1329
|
+
type SchemaFormErrors = FormErrors;
|
|
1330
|
+
/** @deprecated Since 0.10.1. Use `FormState`. */
|
|
1331
|
+
type SchemaFormState = FormState;
|
|
1332
|
+
/** @deprecated Since 0.10.1. Use `FormLayout`. */
|
|
1333
|
+
type SchemaFormLayout = FormLayout;
|
|
1334
|
+
/** @deprecated Since 0.10.1. Use `FormSubmitOn`. */
|
|
1335
|
+
type SchemaFormSubmitOn = FormSubmitOn;
|
|
1336
|
+
/** @deprecated Since 0.10.1. Use `FormStep`. */
|
|
1337
|
+
type SchemaFormStep = FormStep;
|
|
1338
|
+
/** @deprecated Since 0.10.1. Use `FormField`. */
|
|
1339
|
+
type SchemaFormField<V extends object = FormValues> = FormField<V>;
|
|
1340
|
+
/** @deprecated Since 0.10.1. Use `FormFieldType`. */
|
|
1341
|
+
type SchemaFormFieldType = FormFieldType;
|
|
1342
|
+
/** @deprecated Since 0.10.1. Use `FormFieldBase`. */
|
|
1343
|
+
type SchemaFormFieldBase<V extends object = FormValues> = FormFieldBase<V>;
|
|
1344
|
+
/** @deprecated Since 0.10.1. Use `FormFieldContext`. */
|
|
1345
|
+
type SchemaFormFieldContext<V extends object = FormValues> = FormFieldContext<V>;
|
|
1346
|
+
/** @deprecated Since 0.10.1. Use `FormFieldSize`. */
|
|
1347
|
+
type SchemaFormFieldSize = FormFieldSize;
|
|
1348
|
+
/** @deprecated Since 0.10.1. Use `FormTextType`. */
|
|
1349
|
+
type SchemaFormTextType = FormTextType;
|
|
1350
|
+
/** @deprecated Since 0.10.1. Use `FormTextField`. */
|
|
1351
|
+
type SchemaFormTextField<V extends object = FormValues> = FormTextField<V>;
|
|
1352
|
+
/** @deprecated Since 0.10.1. Use `FormTextareaField`. */
|
|
1353
|
+
type SchemaFormTextareaField<V extends object = FormValues> = FormTextareaField<V>;
|
|
1354
|
+
/** @deprecated Since 0.10.1. Use `FormSelectField`. */
|
|
1355
|
+
type SchemaFormSelectField<V extends object = FormValues> = FormSelectField<V>;
|
|
1356
|
+
/** @deprecated Since 0.10.1. Use `FormComboboxField`. */
|
|
1357
|
+
type SchemaFormComboboxField<V extends object = FormValues> = FormComboboxField<V>;
|
|
1358
|
+
/** @deprecated Since 0.10.1. Use `FormCountryField`. */
|
|
1359
|
+
type SchemaFormCountryField<V extends object = FormValues> = FormCountryField<V>;
|
|
1360
|
+
/** @deprecated Since 0.10.1. Use `FormTimeZoneField`. */
|
|
1361
|
+
type SchemaFormTimeZoneField<V extends object = FormValues> = FormTimeZoneField<V>;
|
|
1362
|
+
/** @deprecated Since 0.10.1. Use `FormRadioField`. */
|
|
1363
|
+
type SchemaFormRadioField<V extends object = FormValues> = FormRadioField<V>;
|
|
1364
|
+
/** @deprecated Since 0.10.1. Use `FormSegmentedField`. */
|
|
1365
|
+
type SchemaFormSegmentedField<V extends object = FormValues> = FormSegmentedField<V>;
|
|
1366
|
+
/** @deprecated Since 0.10.1. Use `FormDateField`. */
|
|
1367
|
+
type SchemaFormDateField<V extends object = FormValues> = FormDateField<V>;
|
|
1368
|
+
/** @deprecated Since 0.10.1. Use `FormCheckField`. */
|
|
1369
|
+
type SchemaFormCheckField<V extends object = FormValues> = FormCheckField<V>;
|
|
1370
|
+
/** @deprecated Since 0.10.1. Use `FormListField`. */
|
|
1371
|
+
type SchemaFormListField<V extends object = FormValues> = FormListField<V>;
|
|
1372
|
+
/** @deprecated Since 0.10.1. Use `FormCustomField`. */
|
|
1373
|
+
type SchemaFormCustomField<V extends object = FormValues> = FormCustomField<V>;
|
|
1374
|
+
|
|
1312
1375
|
type BadgeColor = 'gray' | 'red' | 'yellow' | 'lime' | 'green' | 'teal' | 'blue' | 'pink' | 'slate' | 'violet';
|
|
1313
1376
|
/**
|
|
1314
1377
|
* Every `BadgeColor`, in a stable order: the library's categorical palette. Index it to give
|
|
@@ -4776,6 +4839,15 @@ interface BarChartSeries {
|
|
|
4776
4839
|
tone?: ChartTone;
|
|
4777
4840
|
color?: string;
|
|
4778
4841
|
}
|
|
4842
|
+
/** A target or threshold drawn across the bars as a dashed line, e.g. "160h expected". */
|
|
4843
|
+
interface BarChartReference {
|
|
4844
|
+
value: number;
|
|
4845
|
+
/** Printed at the end of the line, and added to the chart's accessible name. */
|
|
4846
|
+
label?: string;
|
|
4847
|
+
/** Defaults to `warning`. */
|
|
4848
|
+
tone?: ChartTone;
|
|
4849
|
+
color?: string;
|
|
4850
|
+
}
|
|
4779
4851
|
interface BarChartProps {
|
|
4780
4852
|
/** Category names — the axis labels. */
|
|
4781
4853
|
categories: string[];
|
|
@@ -4790,6 +4862,8 @@ interface BarChartProps {
|
|
|
4790
4862
|
showLabels?: boolean;
|
|
4791
4863
|
/** Print each bar's value at the end of the bar. Horizontal orientation only. */
|
|
4792
4864
|
showValues?: boolean;
|
|
4865
|
+
/** A dashed target line across the value axis. The axis grows to fit it. */
|
|
4866
|
+
reference?: BarChartReference;
|
|
4793
4867
|
radius?: number;
|
|
4794
4868
|
label?: string;
|
|
4795
4869
|
className?: string;
|
|
@@ -4804,7 +4878,7 @@ interface BarChartProps {
|
|
|
4804
4878
|
* Deliberately axis-light: one baseline, no gridlines, no ticks. For anything needing
|
|
4805
4879
|
* real axes or interaction, this is the wrong component.
|
|
4806
4880
|
*/
|
|
4807
|
-
declare function BarChart({ categories, series, orientation, stacked, size, length, showLabels, showValues, radius, label, className, }: BarChartProps): react.JSX.Element | null;
|
|
4881
|
+
declare function BarChart({ categories, series, orientation, stacked, size, length, showLabels, showValues, reference, radius, label, className, }: BarChartProps): react.JSX.Element | null;
|
|
4808
4882
|
|
|
4809
4883
|
type DonutChartSize = 'sm' | 'md' | 'lg';
|
|
4810
4884
|
interface DonutSegment {
|
|
@@ -5764,4 +5838,4 @@ declare function ChatBubble({ sender, children, failed, className }: ChatBubbleP
|
|
|
5764
5838
|
|
|
5765
5839
|
declare function AuroraBackdrop(): react.JSX.Element;
|
|
5766
5840
|
|
|
5767
|
-
export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, BADGE_COLORS, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ChoiceCardBreakpoint, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItems, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, DEFAULT_SCORE_THRESHOLDS, DatePicker, type DatePickerProps, type DateRange, type DependentOptions, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuItems, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldPart, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, Listbox, type ListboxGroup, type ListboxOption, type ListboxProps, type MenuItemDef, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarItems, MenubarLabel, MenubarMenu, type MenubarMenuDef, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, type ModalAlign, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NativeSelect, NativeSelectControl, type NativeSelectControlProps, type NativeSelectProps, NavGroupHeader, type NavGroupHeaderProps, NavItem, type NavItemDensity, type NavItemProps, type NavItemSize, type NavItemVariant, NavSubItem, type NavSubItemProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, type ResponsiveChoiceCardSize, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, SchemaForm, type SchemaFormActionsApi, type SchemaFormCheckField, type SchemaFormComboboxField, type SchemaFormCountryField, type SchemaFormCustomField, type SchemaFormDateField, type SchemaFormErrors, type SchemaFormField, type SchemaFormFieldBase, type SchemaFormFieldContext, type SchemaFormFieldSize, type SchemaFormFieldType, type SchemaFormLayout, type SchemaFormListField, type SchemaFormProps, type SchemaFormRadioField, type SchemaFormResult, type SchemaFormSegmentedField, type SchemaFormSelectField, type SchemaFormState, type SchemaFormStep, type SchemaFormSubmitOn, type SchemaFormTextField, type SchemaFormTextType, type SchemaFormTextareaField, type SchemaFormTimeZoneField, type SchemaFormValues, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Sidebar, type SidebarContextValue, type SidebarLinkComponent, type SidebarLinkProps, type SidebarNavGroup, type SidebarNavItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarRenderState, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserCard, type SidebarUserCardProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperAlign, type StepperCompactInfo, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillSize, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, type TextLinkTone, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, WidgetHeaderAccessoryProvider, type WidgetHeaderAccessoryProviderProps, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, currentZoneName, filterNav, filterNavItems, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useDependentOptions, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useSidebar, useToast, useWidgetHeaderAccessory, useWidthTier };
|
|
5841
|
+
export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, BADGE_COLORS, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartReference, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ChoiceCardBreakpoint, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItems, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, DEFAULT_SCORE_THRESHOLDS, DatePicker, type DatePickerProps, type DateRange, type DependentOptions, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuItems, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldPart, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, Form, type FormActionsApi, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FormCheckField, type FormComboboxField, type FormCountryField, type FormCustomField, type FormDateField, type FormErrors, type FormField, type FormFieldBase, type FormFieldContext, type FormFieldSize, type FormFieldType, type FormLayout, type FormListField, type FormProps, type FormRadioField, type FormResult, type FormSegmentedField, type FormSelectField, type FormState, type FormStep, type FormSubmitOn, type FormTextField, type FormTextType, type FormTextareaField, type FormTimeZoneField, type FormValues, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, Listbox, type ListboxGroup, type ListboxOption, type ListboxProps, type MenuItemDef, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarItems, MenubarLabel, MenubarMenu, type MenubarMenuDef, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, type ModalAlign, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NativeSelect, NativeSelectControl, type NativeSelectControlProps, type NativeSelectProps, NavGroupHeader, type NavGroupHeaderProps, NavItem, type NavItemDensity, type NavItemProps, type NavItemSize, type NavItemVariant, NavSubItem, type NavSubItemProps, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, type ResponsiveChoiceCardSize, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, SchemaForm, type SchemaFormActionsApi, type SchemaFormCheckField, type SchemaFormComboboxField, type SchemaFormCountryField, type SchemaFormCustomField, type SchemaFormDateField, type SchemaFormErrors, type SchemaFormField, type SchemaFormFieldBase, type SchemaFormFieldContext, type SchemaFormFieldSize, type SchemaFormFieldType, type SchemaFormLayout, type SchemaFormListField, type SchemaFormProps, type SchemaFormRadioField, type SchemaFormResult, type SchemaFormSegmentedField, type SchemaFormSelectField, type SchemaFormState, type SchemaFormStep, type SchemaFormSubmitOn, type SchemaFormTextField, type SchemaFormTextType, type SchemaFormTextareaField, type SchemaFormTimeZoneField, type SchemaFormValues, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Sidebar, type SidebarContextValue, type SidebarLinkComponent, type SidebarLinkProps, type SidebarNavGroup, type SidebarNavItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, type SidebarRenderState, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserCard, type SidebarUserCardProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperAlign, type StepperCompactInfo, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillSize, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, type TextLinkTone, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, WidgetHeaderAccessoryProvider, type WidgetHeaderAccessoryProviderProps, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, currentZoneName, filterNav, filterNavItems, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useDependentOptions, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useSidebar, useToast, useWidgetHeaderAccessory, useWidthTier };
|