@app-studio/components 0.11.11 → 0.11.13
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 +6 -2
- package/dist/index.d.ts +230 -113
- package/dist/native/components/Alert/Alert/Alert.style.js +4 -4
- package/dist/native/components/Alert/Alert/Alert.view.js +6 -4
- package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js +1 -1
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js.map +1 -1
- package/dist/native/components/Button/Button/Button.element.d.ts +1 -0
- package/dist/native/components/Button/Button/Button.element.js +2 -0
- package/dist/native/components/Button/Button/Button.element.js.map +1 -0
- package/dist/native/components/Button/Button/Button.element.native.d.ts +2 -0
- package/dist/native/components/Button/Button/Button.element.native.js +2 -0
- package/dist/native/components/Button/Button/Button.element.native.js.map +1 -0
- package/dist/native/components/Button/Button.d.ts +1 -1
- package/dist/native/components/Button/Button.js +18 -5
- package/dist/native/components/Button/Button.js.map +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js.map +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js.map +1 -1
- package/dist/native/components/DataState/DataState/DataState.props.d.ts +14 -0
- package/dist/native/components/DataState/DataState/DataState.props.js +2 -0
- package/dist/native/components/DataState/DataState/DataState.props.js.map +1 -0
- package/dist/native/components/DataState/DataState/DataState.state.d.ts +13 -0
- package/dist/native/components/DataState/DataState/DataState.state.js +28 -0
- package/dist/native/components/DataState/DataState/DataState.state.js.map +1 -0
- package/dist/native/components/DataState/DataState/DataState.type.d.ts +33 -0
- package/dist/native/components/DataState/DataState/DataState.type.js +2 -0
- package/dist/native/components/DataState/DataState/DataState.type.js.map +1 -0
- package/dist/native/components/DataState/DataState/DataState.view.d.ts +6 -0
- package/dist/native/components/DataState/DataState/DataState.view.js +11 -0
- package/dist/native/components/DataState/DataState/DataState.view.js.map +1 -0
- package/dist/native/components/DataState/DataState/DataState.view.native.d.ts +6 -0
- package/dist/native/components/DataState/DataState/DataState.view.native.js +11 -0
- package/dist/native/components/DataState/DataState/DataState.view.native.js.map +1 -0
- package/dist/native/components/DataState/DataState.d.ts +3 -0
- package/dist/native/components/DataState/DataState.js +31 -0
- package/dist/native/components/DataState/DataState.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +2 -6
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +2 -2
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js +2 -2
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js.map +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js +2 -2
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js.map +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.js +2 -2
- package/dist/native/components/Form/Label/Label/Label.view.js.map +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.native.js +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.native.js.map +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.js +2 -6
- package/dist/native/components/Form/Radio/Radio/Radio.view.js.map +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.js +2 -2
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.js.map +1 -1
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js +2 -2
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js.map +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.js +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.js +8 -3
- package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +3 -2
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js.map +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js.map +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +5 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer.js +2 -2
- package/dist/native/components/Input/FieldContainer/FieldContainer.js.map +1 -1
- package/dist/native/components/Input/FieldLabel/FieldLabel.js +1 -1
- package/dist/native/components/Input/FieldLabel/FieldLabel.js.map +1 -1
- package/dist/native/components/Link/Link/Link.props.d.ts +1 -0
- package/dist/native/components/Link/Link/Link.style.d.ts +4 -0
- package/dist/native/components/Link/Link/Link.style.js +7 -0
- package/dist/native/components/Link/Link/Link.style.js.map +1 -1
- package/dist/native/components/Link/Link/Link.type.d.ts +1 -0
- package/dist/native/components/Link/Link/Link.view.js +5 -3
- package/dist/native/components/Link/Link/Link.view.js.map +1 -1
- package/dist/native/components/Link/Link/Link.view.native.js +5 -3
- package/dist/native/components/Link/Link/Link.view.native.js.map +1 -1
- package/dist/native/components/PageHeader/PageHeader/PageHeader.props.d.ts +9 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.props.js +2 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.props.js.map +1 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.style.d.ts +4 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.style.js +17 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.style.js.map +1 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.type.d.ts +7 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.type.js +2 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.type.js.map +1 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.d.ts +4 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.js +18 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.js.map +1 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.d.ts +4 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.js +19 -0
- package/dist/native/components/PageHeader/PageHeader/PageHeader.view.native.js.map +1 -0
- package/dist/native/components/PageHeader/PageHeader.d.ts +3 -0
- package/dist/native/components/PageHeader/PageHeader.js +10 -0
- package/dist/native/components/PageHeader/PageHeader.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.props.d.ts +10 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.props.js +2 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.props.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.style.d.ts +4 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.style.js +24 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.style.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.type.d.ts +8 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.type.js +2 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.type.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.d.ts +4 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.js +14 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.d.ts +4 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.js +21 -0
- package/dist/native/components/StatePanel/StatePanel/StatePanel.view.native.js.map +1 -0
- package/dist/native/components/StatePanel/StatePanel.d.ts +3 -0
- package/dist/native/components/StatePanel/StatePanel.js +10 -0
- package/dist/native/components/StatePanel/StatePanel.js.map +1 -0
- package/dist/native/components/index.d.ts +5 -135
- package/dist/native/components/index.js +9 -133
- package/dist/native/components/index.js.map +1 -1
- package/dist/native/components/index.native.d.ts +1 -0
- package/dist/native/components/index.native.js +5 -0
- package/dist/native/components/index.native.js.map +1 -0
- package/dist/native/components/index.shared.d.ts +143 -0
- package/dist/native/components/index.shared.js +146 -0
- package/dist/native/components/index.shared.js.map +1 -0
- package/dist/native/design-system/DesignSystemProvider.d.ts +7 -0
- package/dist/native/design-system/DesignSystemProvider.js +11 -4
- package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
- package/dist/native/design-system/DesignSystemScope.d.ts +8 -0
- package/dist/native/design-system/DesignSystemScope.js +10 -0
- package/dist/native/design-system/DesignSystemScope.js.map +1 -0
- package/dist/native/design-system/DesignSystemScope.native.d.ts +8 -0
- package/dist/native/design-system/DesignSystemScope.native.js +8 -0
- package/dist/native/design-system/DesignSystemScope.native.js.map +1 -0
- package/dist/native/design-system/configs/airbnb.json +0 -10
- package/dist/native/design-system/configs/apple.json +0 -10
- package/dist/native/design-system/configs/coinbase.json +0 -10
- package/dist/native/design-system/configs/default.json +0 -10
- package/dist/native/design-system/configs/figma.json +0 -10
- package/dist/native/design-system/configs/linear.json +0 -10
- package/dist/native/design-system/configs/nike.json +0 -10
- package/dist/native/design-system/configs/notion.json +0 -10
- package/dist/native/design-system/configs/revolut.json +0 -10
- package/dist/native/design-system/configs/shopify.json +0 -10
- package/dist/native/design-system/configs/spacex.json +0 -10
- package/dist/native/design-system/configs/spotify.json +0 -10
- package/dist/native/design-system/configs/stripe.json +0 -10
- package/dist/native/design-system/configs/tesla.json +0 -10
- package/dist/native/design-system/configs/uber.json +0 -10
- package/dist/native/design-system/configs/vercel.json +0 -10
- package/dist/native/design-system/types.d.ts +7 -1
- package/dist/web.cjs.js +24 -24
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +22828 -22771
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.js +26 -26
- package/dist/web.umd.js.map +1 -1
- package/docs/components/Button.mdx +15 -0
- package/docs/components/DataState.mdx +62 -0
- package/docs/components/Link.mdx +23 -0
- package/docs/components/PageHeader.mdx +47 -0
- package/docs/components/StatePanel.mdx +35 -0
- package/docs/components/TextField.mdx +31 -0
- package/docs/getting-started/react-native.md +47 -4
- package/package.json +59 -8
package/dist/index.d.ts
CHANGED
|
@@ -509,7 +509,9 @@ export declare type BrandTypeWeight = 'light' | 'regular' | 'bold' | 'black';
|
|
|
509
509
|
|
|
510
510
|
declare type BreakpointBehavior = 'collapse' | 'overlay' | 'hide';
|
|
511
511
|
|
|
512
|
-
export declare const Button: default_2.
|
|
512
|
+
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLElement>>;
|
|
513
|
+
|
|
514
|
+
export declare type ButtonElement = HTMLElement;
|
|
513
515
|
|
|
514
516
|
export declare interface ButtonProps extends Omit<ButtonProps_2, 'size' | 'onClick' | 'variant' | 'shadow'> {
|
|
515
517
|
children?: default_2.ReactNode;
|
|
@@ -987,15 +989,15 @@ export declare interface ChatInputProps extends Omit<ViewProps, 'onChange' | 'on
|
|
|
987
989
|
/**
|
|
988
990
|
* Size of the input
|
|
989
991
|
*/
|
|
990
|
-
size?:
|
|
992
|
+
size?: Size_35;
|
|
991
993
|
/**
|
|
992
994
|
* Shape of the input
|
|
993
995
|
*/
|
|
994
|
-
shape?:
|
|
996
|
+
shape?: Shape_22;
|
|
995
997
|
/**
|
|
996
998
|
* Variant of the input
|
|
997
999
|
*/
|
|
998
|
-
variant?:
|
|
1000
|
+
variant?: Variant_31;
|
|
999
1001
|
/**
|
|
1000
1002
|
* Style customization
|
|
1001
1003
|
*/
|
|
@@ -1174,8 +1176,8 @@ export declare interface ChatWidgetProps extends Omit<ViewProps, 'size' | 'onSub
|
|
|
1174
1176
|
onSubmit?: (message: string) => void;
|
|
1175
1177
|
inputPlaceholder?: string;
|
|
1176
1178
|
disableInput?: boolean;
|
|
1177
|
-
variant?:
|
|
1178
|
-
size?:
|
|
1179
|
+
variant?: Variant_29;
|
|
1180
|
+
size?: Size_31;
|
|
1179
1181
|
showTimestamps?: boolean;
|
|
1180
1182
|
enableAttachments?: boolean;
|
|
1181
1183
|
enableContextPicker?: boolean;
|
|
@@ -1275,6 +1277,8 @@ export declare const CheckIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
1275
1277
|
|
|
1276
1278
|
export declare const ChevronIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
1277
1279
|
|
|
1280
|
+
export declare const classifyDataStateError: (error: unknown) => DataStateFailure;
|
|
1281
|
+
|
|
1278
1282
|
export declare const ClockIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
1279
1283
|
|
|
1280
1284
|
declare type CloseButtonPosition = 'left' | 'right' | 'none';
|
|
@@ -1372,9 +1376,9 @@ export declare interface ColorPickerProps extends Omit<ViewProps, 'onChange'> {
|
|
|
1372
1376
|
onChange?: (color: string) => void;
|
|
1373
1377
|
onChangeComplete?: (color: string) => void;
|
|
1374
1378
|
views?: ColorPickerStyles;
|
|
1375
|
-
size?:
|
|
1376
|
-
shape?:
|
|
1377
|
-
variant?:
|
|
1379
|
+
size?: Size_24;
|
|
1380
|
+
shape?: Shape_17;
|
|
1381
|
+
variant?: Variant_21;
|
|
1378
1382
|
error?: boolean;
|
|
1379
1383
|
isDisabled?: boolean;
|
|
1380
1384
|
isReadOnly?: boolean;
|
|
@@ -1441,7 +1445,7 @@ export declare interface ComboBoxProps extends Omit<InputProps, 'size' | 'onSele
|
|
|
1441
1445
|
* `md` 40, `lg` 48, `xl` 56. `InputProps['size']` is omitted above because
|
|
1442
1446
|
* that is the numeric HTML attribute, not a design-system size.
|
|
1443
1447
|
*/
|
|
1444
|
-
size?:
|
|
1448
|
+
size?: Size_17;
|
|
1445
1449
|
id: string;
|
|
1446
1450
|
name?: string;
|
|
1447
1451
|
items: ComboBoxItem[];
|
|
@@ -1606,7 +1610,7 @@ export declare interface ContainerProps extends Omit<ViewProps, 'size' | 'positi
|
|
|
1606
1610
|
container?: ViewProps;
|
|
1607
1611
|
};
|
|
1608
1612
|
children: default_2.ReactNode;
|
|
1609
|
-
shape?:
|
|
1613
|
+
shape?: Shape_21;
|
|
1610
1614
|
isFullScreen?: boolean;
|
|
1611
1615
|
isOpen?: boolean;
|
|
1612
1616
|
onClose?: () => void;
|
|
@@ -1615,7 +1619,7 @@ export declare interface ContainerProps extends Omit<ViewProps, 'size' | 'positi
|
|
|
1615
1619
|
variant?: string;
|
|
1616
1620
|
buttonColor?: any;
|
|
1617
1621
|
buttonPosition?: CloseButtonPosition;
|
|
1618
|
-
position?:
|
|
1622
|
+
position?: Position_7;
|
|
1619
1623
|
shadow?: Shadow | Elevation | ViewProps;
|
|
1620
1624
|
}
|
|
1621
1625
|
|
|
@@ -1842,6 +1846,70 @@ declare interface CustomFormProps<T> extends FormikConfig<T> {
|
|
|
1842
1846
|
initFocus?: string;
|
|
1843
1847
|
}
|
|
1844
1848
|
|
|
1849
|
+
export declare const DataState: <T>({ query, isEmpty, empty, children, labels, views, }: DataStateProps<T>) => default_2.JSX.Element;
|
|
1850
|
+
|
|
1851
|
+
export declare const DataStateDefaultLabels: DataStateLabels;
|
|
1852
|
+
|
|
1853
|
+
export declare type DataStateEmpty = {
|
|
1854
|
+
title: string;
|
|
1855
|
+
description?: string;
|
|
1856
|
+
action?: default_2.ReactNode;
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
export declare type DataStateFailure = {
|
|
1860
|
+
kind: 'forbidden';
|
|
1861
|
+
status: 401 | 403;
|
|
1862
|
+
} | {
|
|
1863
|
+
kind: 'gone';
|
|
1864
|
+
} | {
|
|
1865
|
+
kind: 'network';
|
|
1866
|
+
} | {
|
|
1867
|
+
kind: 'error';
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
export declare type DataStateLabels = {
|
|
1871
|
+
loading: string;
|
|
1872
|
+
emptyTitle: string;
|
|
1873
|
+
errorTitle: string;
|
|
1874
|
+
networkError: string;
|
|
1875
|
+
retry: string;
|
|
1876
|
+
forbiddenTitle: string;
|
|
1877
|
+
signInRequired: string;
|
|
1878
|
+
askAccess: string;
|
|
1879
|
+
goneTitle: string;
|
|
1880
|
+
goneDescription: string;
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
export declare type DataStateName = 'loading' | 'empty' | 'error' | 'forbidden' | 'gone' | 'populated';
|
|
1884
|
+
|
|
1885
|
+
export declare interface DataStateProps<T> {
|
|
1886
|
+
query: DataStateQuery<T>;
|
|
1887
|
+
isEmpty?: (data: T) => boolean;
|
|
1888
|
+
empty?: DataStateEmpty;
|
|
1889
|
+
children: (data: T) => default_2.ReactNode;
|
|
1890
|
+
labels?: Partial<DataStateLabels>;
|
|
1891
|
+
views?: {
|
|
1892
|
+
loading?: ViewProps;
|
|
1893
|
+
content?: ViewProps;
|
|
1894
|
+
};
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
export declare type DataStateQuery<T> = ({
|
|
1898
|
+
status: 'loading';
|
|
1899
|
+
data?: undefined;
|
|
1900
|
+
error?: unknown;
|
|
1901
|
+
} | {
|
|
1902
|
+
status: 'error';
|
|
1903
|
+
error: unknown;
|
|
1904
|
+
data?: undefined;
|
|
1905
|
+
} | {
|
|
1906
|
+
status: 'success';
|
|
1907
|
+
data: T;
|
|
1908
|
+
error?: unknown;
|
|
1909
|
+
}) & {
|
|
1910
|
+
reload: () => void;
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1845
1913
|
/**
|
|
1846
1914
|
* Date picker allows users to select a date from a calendar view.
|
|
1847
1915
|
*/
|
|
@@ -1893,15 +1961,15 @@ export declare interface DatePickerProps extends Omit<ViewProps, 'size' | 'shado
|
|
|
1893
1961
|
/**
|
|
1894
1962
|
* The shape that changes the outlines of the field.
|
|
1895
1963
|
*/
|
|
1896
|
-
shape?:
|
|
1964
|
+
shape?: Shape_20;
|
|
1897
1965
|
/**
|
|
1898
1966
|
* Changes the style of the field.
|
|
1899
1967
|
*/
|
|
1900
|
-
variant?:
|
|
1968
|
+
variant?: Variant_30;
|
|
1901
1969
|
/**
|
|
1902
1970
|
* The size that sets the height and width of the DatePicker.
|
|
1903
1971
|
*/
|
|
1904
|
-
size?:
|
|
1972
|
+
size?: Size_32;
|
|
1905
1973
|
/**
|
|
1906
1974
|
* Adds a shadow effect to the DatePicker.
|
|
1907
1975
|
*/
|
|
@@ -2077,7 +2145,7 @@ export declare interface DesignSystemComponentConfig extends Record<string, any>
|
|
|
2077
2145
|
config?: Record<string, any>;
|
|
2078
2146
|
}
|
|
2079
2147
|
|
|
2080
|
-
export declare type DesignSystemComponentName = 'accordion' | 'alert' | 'avatar' | 'badge' | 'button' | 'card' | 'checkbox' | 'hero' | 'input' | 'loader' | 'navigation' | 'page' | 'progress' | 'radio' | 'select' | 'separator' | 'slider' | 'status' | 'switch' | 'table' | 'tabs' | 'textarea';
|
|
2148
|
+
export declare type DesignSystemComponentName = 'accordion' | 'alert' | 'avatar' | 'badge' | 'button' | 'card' | 'checkbox' | 'hero' | 'input' | 'loader' | 'navigation' | 'page' | 'pageHeader' | 'progress' | 'radio' | 'select' | 'separator' | 'slider' | 'statePanel' | 'status' | 'switch' | 'table' | 'tabs' | 'textarea';
|
|
2081
2149
|
|
|
2082
2150
|
export declare interface DesignSystemConfig {
|
|
2083
2151
|
metadata: DesignSystemMetadata;
|
|
@@ -2139,6 +2207,19 @@ export declare interface DesignSystemProviderProps {
|
|
|
2139
2207
|
mode?: DesignSystemAppearance;
|
|
2140
2208
|
/** Document that owns the subtree and its theme stylesheet (for iframe portals). */
|
|
2141
2209
|
targetWindow?: Window;
|
|
2210
|
+
/**
|
|
2211
|
+
* Render no ThemeProvider of its own: colours and mode come from the
|
|
2212
|
+
* surrounding ThemeProvider (an app's `brand`), and this provider only
|
|
2213
|
+
* supplies the component configuration. Without it (the default), the
|
|
2214
|
+
* config's `theme` is applied through a nested ThemeProvider.
|
|
2215
|
+
*/
|
|
2216
|
+
inheritTheme?: boolean;
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
export declare interface DesignSystemScopeProps {
|
|
2220
|
+
children: ReactNode;
|
|
2221
|
+
id: string;
|
|
2222
|
+
appearance: DesignSystemAppearance;
|
|
2142
2223
|
}
|
|
2143
2224
|
|
|
2144
2225
|
/**
|
|
@@ -2247,7 +2328,7 @@ export declare interface DrawerBodyProps extends ViewProps {
|
|
|
2247
2328
|
|
|
2248
2329
|
export declare interface DrawerContainerProps extends ViewProps {
|
|
2249
2330
|
placement?: Placement;
|
|
2250
|
-
size?:
|
|
2331
|
+
size?: Size_34;
|
|
2251
2332
|
isOpen?: boolean;
|
|
2252
2333
|
children?: default_2.ReactNode;
|
|
2253
2334
|
}
|
|
@@ -2289,7 +2370,7 @@ export declare interface DrawerOverlayProps extends ViewProps {
|
|
|
2289
2370
|
export declare interface DrawerProps extends ViewProps {
|
|
2290
2371
|
placement?: Placement;
|
|
2291
2372
|
side?: string;
|
|
2292
|
-
size?:
|
|
2373
|
+
size?: Size_34;
|
|
2293
2374
|
isOpen: boolean;
|
|
2294
2375
|
onClose: () => void;
|
|
2295
2376
|
isClosePrevented?: boolean;
|
|
@@ -2328,7 +2409,7 @@ export declare const DropdownMenu: DropdownMenuType;
|
|
|
2328
2409
|
|
|
2329
2410
|
export declare interface DropdownMenuContentProps {
|
|
2330
2411
|
items: DropdownMenuItem[];
|
|
2331
|
-
side?:
|
|
2412
|
+
side?: Position_3;
|
|
2332
2413
|
align?: Alignment_2;
|
|
2333
2414
|
views?: {
|
|
2334
2415
|
menu?: ViewProps;
|
|
@@ -2367,9 +2448,9 @@ export declare interface DropdownMenuItemProps {
|
|
|
2367
2448
|
export declare interface DropdownMenuProps {
|
|
2368
2449
|
trigger: default_2.ReactNode;
|
|
2369
2450
|
items: DropdownMenuItem[];
|
|
2370
|
-
size?:
|
|
2371
|
-
variant?:
|
|
2372
|
-
side?:
|
|
2451
|
+
size?: Size_23;
|
|
2452
|
+
variant?: Variant_20;
|
|
2453
|
+
side?: Position_3;
|
|
2373
2454
|
align?: Alignment_2;
|
|
2374
2455
|
defaultOpen?: boolean;
|
|
2375
2456
|
views?: DropdownMenuStyles;
|
|
@@ -2774,10 +2855,10 @@ export declare interface HeaderProps extends Omit<ViewProps, 'size'> {
|
|
|
2774
2855
|
header?: ViewProps;
|
|
2775
2856
|
};
|
|
2776
2857
|
buttonColor?: string;
|
|
2777
|
-
iconSize?:
|
|
2858
|
+
iconSize?: Size_33;
|
|
2778
2859
|
children?: default_2.ReactNode;
|
|
2779
2860
|
buttonPosition?: CloseButtonPosition;
|
|
2780
|
-
buttonSize?:
|
|
2861
|
+
buttonSize?: Size_33;
|
|
2781
2862
|
variant?: string;
|
|
2782
2863
|
onClose?: () => void;
|
|
2783
2864
|
}
|
|
@@ -2868,9 +2949,9 @@ export declare interface IconPickerProps extends Omit<ViewProps, 'onChange'> {
|
|
|
2868
2949
|
defaultValue?: IconName;
|
|
2869
2950
|
onChange?: (iconName: IconName) => void;
|
|
2870
2951
|
views?: IconPickerStyles;
|
|
2871
|
-
size?:
|
|
2872
|
-
shape?:
|
|
2873
|
-
variant?:
|
|
2952
|
+
size?: Size_25;
|
|
2953
|
+
shape?: Shape_18;
|
|
2954
|
+
variant?: Variant_22;
|
|
2874
2955
|
error?: boolean;
|
|
2875
2956
|
isDisabled?: boolean;
|
|
2876
2957
|
isReadOnly?: boolean;
|
|
@@ -2976,8 +3057,9 @@ export declare const LinkIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
2976
3057
|
export declare interface LinkProps extends Omit<ViewProps, 'size'> {
|
|
2977
3058
|
children: default_2.ReactNode;
|
|
2978
3059
|
underline?: TextDecorationStyle;
|
|
3060
|
+
isActive?: boolean;
|
|
2979
3061
|
isExternal?: boolean;
|
|
2980
|
-
iconSize?:
|
|
3062
|
+
iconSize?: Size_21;
|
|
2981
3063
|
to?: string;
|
|
2982
3064
|
href?: string;
|
|
2983
3065
|
onClick?: (event: default_2.MouseEvent) => void;
|
|
@@ -3123,8 +3205,8 @@ export declare interface MenubarMenuProps {
|
|
|
3123
3205
|
export declare interface MenubarProps {
|
|
3124
3206
|
items: MenubarItem[];
|
|
3125
3207
|
orientation?: Orientation_3;
|
|
3126
|
-
size?:
|
|
3127
|
-
variant?:
|
|
3208
|
+
size?: Size_26;
|
|
3209
|
+
variant?: Variant_23;
|
|
3128
3210
|
defaultActiveMenuId?: string | null;
|
|
3129
3211
|
defaultOpenMenuId?: string | null;
|
|
3130
3212
|
views?: MenubarStyles;
|
|
@@ -3134,8 +3216,8 @@ export declare interface MenubarProps {
|
|
|
3134
3216
|
export declare interface MenubarRootProps {
|
|
3135
3217
|
children: default_2.ReactNode;
|
|
3136
3218
|
orientation?: Orientation_3;
|
|
3137
|
-
size?:
|
|
3138
|
-
variant?:
|
|
3219
|
+
size?: Size_26;
|
|
3220
|
+
variant?: Variant_23;
|
|
3139
3221
|
views?: {
|
|
3140
3222
|
container?: ViewProps;
|
|
3141
3223
|
};
|
|
@@ -3198,7 +3280,7 @@ export declare const MessageLayout: ({ container, theme, position, }: MessageLay
|
|
|
3198
3280
|
export declare interface MessageLayoutProps {
|
|
3199
3281
|
container?: any;
|
|
3200
3282
|
theme?: ThemesType;
|
|
3201
|
-
position?:
|
|
3283
|
+
position?: Position_6;
|
|
3202
3284
|
}
|
|
3203
3285
|
|
|
3204
3286
|
export declare interface MessageProps extends ShowMessageProps {
|
|
@@ -3278,15 +3360,15 @@ export declare interface ModalLayoutProps {
|
|
|
3278
3360
|
|
|
3279
3361
|
export declare interface ModalProps extends Omit<ViewProps, 'size' | 'shadow' | 'position'> {
|
|
3280
3362
|
buttonColor?: string;
|
|
3281
|
-
iconSize?:
|
|
3282
|
-
shape?:
|
|
3363
|
+
iconSize?: Size_33;
|
|
3364
|
+
shape?: Shape_21;
|
|
3283
3365
|
isFullScreen?: boolean;
|
|
3284
3366
|
buttonPosition?: CloseButtonPosition;
|
|
3285
3367
|
onClose?: () => void;
|
|
3286
3368
|
blur?: number;
|
|
3287
3369
|
isOpen?: boolean;
|
|
3288
3370
|
isClosePrevented?: boolean;
|
|
3289
|
-
position?:
|
|
3371
|
+
position?: Position_7;
|
|
3290
3372
|
shadow?: Shadow | Elevation | ViewProps;
|
|
3291
3373
|
id?: string;
|
|
3292
3374
|
title?: string;
|
|
@@ -3397,8 +3479,8 @@ export declare interface NavigationMenuProps {
|
|
|
3397
3479
|
items?: NavigationItem[];
|
|
3398
3480
|
children?: default_2.ReactNode;
|
|
3399
3481
|
orientation?: Orientation_2;
|
|
3400
|
-
size?:
|
|
3401
|
-
variant?:
|
|
3482
|
+
size?: Size_22;
|
|
3483
|
+
variant?: Variant_17;
|
|
3402
3484
|
defaultActiveItemId?: string;
|
|
3403
3485
|
defaultExpandedItemIds?: string[];
|
|
3404
3486
|
onItemActivate?: (itemId: string) => void;
|
|
@@ -3493,10 +3575,10 @@ export declare interface OTPInputProps extends Omit<InputProps, 'size' | 'onChan
|
|
|
3493
3575
|
pattern?: RegExp | string;
|
|
3494
3576
|
pasteTransformer?: (pasted: string) => string;
|
|
3495
3577
|
stepValues?: number[];
|
|
3496
|
-
size?:
|
|
3578
|
+
size?: Size_19;
|
|
3497
3579
|
shadow?: Shadow | Elevation | ViewProps;
|
|
3498
|
-
shape?:
|
|
3499
|
-
variant?:
|
|
3580
|
+
shape?: Shape_13;
|
|
3581
|
+
variant?: Variant_15;
|
|
3500
3582
|
gap?: number;
|
|
3501
3583
|
views?: OTPInputStyles;
|
|
3502
3584
|
secureTextEntry?: boolean;
|
|
@@ -3526,11 +3608,27 @@ export declare interface OverlayProps extends Omit<ViewProps, 'position' | 'isOp
|
|
|
3526
3608
|
blur?: number;
|
|
3527
3609
|
isOpen: boolean;
|
|
3528
3610
|
isClosePrevented?: boolean;
|
|
3529
|
-
position?:
|
|
3611
|
+
position?: Position_7;
|
|
3530
3612
|
isFullScreen?: boolean;
|
|
3531
3613
|
onClose: () => void;
|
|
3532
3614
|
}
|
|
3533
3615
|
|
|
3616
|
+
export declare const PageHeader: (props: PageHeaderProps) => default_2.JSX.Element;
|
|
3617
|
+
|
|
3618
|
+
export declare interface PageHeaderProps extends Omit<ViewProps, 'title'> {
|
|
3619
|
+
title: string;
|
|
3620
|
+
description?: string;
|
|
3621
|
+
action?: default_2.ReactNode;
|
|
3622
|
+
views?: PageHeaderStyles;
|
|
3623
|
+
}
|
|
3624
|
+
|
|
3625
|
+
export declare type PageHeaderStyles = {
|
|
3626
|
+
container?: ViewProps;
|
|
3627
|
+
title?: ViewProps;
|
|
3628
|
+
description?: ViewProps;
|
|
3629
|
+
action?: ViewProps;
|
|
3630
|
+
};
|
|
3631
|
+
|
|
3534
3632
|
export declare const PageLayout: default_2.FC<PageLayoutProps>;
|
|
3535
3633
|
|
|
3536
3634
|
export declare interface PageLayoutProps extends ViewProps {
|
|
@@ -3581,9 +3679,9 @@ export declare interface PaginationProps extends ViewProps {
|
|
|
3581
3679
|
showPageInfo?: boolean;
|
|
3582
3680
|
maxPageButtons?: number;
|
|
3583
3681
|
showFirstLastButtons?: boolean;
|
|
3584
|
-
size?:
|
|
3585
|
-
variant?:
|
|
3586
|
-
shape?:
|
|
3682
|
+
size?: Size_27;
|
|
3683
|
+
variant?: Variant_24;
|
|
3684
|
+
shape?: Shape_19;
|
|
3587
3685
|
views?: PaginationStyles;
|
|
3588
3686
|
visiblePageNumbers?: (number | string)[];
|
|
3589
3687
|
}
|
|
@@ -3661,15 +3759,15 @@ declare type Position = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left
|
|
|
3661
3759
|
|
|
3662
3760
|
declare type Position_2 = 'top' | 'right' | 'bottom' | 'left';
|
|
3663
3761
|
|
|
3664
|
-
declare type Position_3 = '
|
|
3762
|
+
declare type Position_3 = 'top' | 'right' | 'bottom' | 'left';
|
|
3665
3763
|
|
|
3666
|
-
declare type Position_4 = '
|
|
3764
|
+
declare type Position_4 = 'left' | 'right';
|
|
3667
3765
|
|
|
3668
3766
|
declare type Position_5 = 'top' | 'right' | 'bottom' | 'left';
|
|
3669
3767
|
|
|
3670
|
-
declare type Position_6 = '
|
|
3768
|
+
declare type Position_6 = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
3671
3769
|
|
|
3672
|
-
declare type Position_7 = 'top' | 'right' | 'bottom' | '
|
|
3770
|
+
declare type Position_7 = 'top' | 'left' | 'right' | 'bottom' | 'center';
|
|
3673
3771
|
|
|
3674
3772
|
export declare const PowerOffIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3675
3773
|
|
|
@@ -3833,8 +3931,8 @@ export declare interface ResizablePanelProps {
|
|
|
3833
3931
|
export declare interface ResizableProps {
|
|
3834
3932
|
children: default_2.ReactNode;
|
|
3835
3933
|
orientation?: Orientation_5;
|
|
3836
|
-
size?:
|
|
3837
|
-
variant?:
|
|
3934
|
+
size?: Size_29;
|
|
3935
|
+
variant?: Variant_27;
|
|
3838
3936
|
defaultSizes?: (number | string)[];
|
|
3839
3937
|
onSizesChange?: (sizes: number[]) => void;
|
|
3840
3938
|
minSize?: number;
|
|
@@ -4035,7 +4133,7 @@ export declare const Separator: default_2.FC<SeparatorProps>;
|
|
|
4035
4133
|
|
|
4036
4134
|
export declare interface SeparatorProps extends ViewProps {
|
|
4037
4135
|
orientation?: Orientation_4;
|
|
4038
|
-
variant?:
|
|
4136
|
+
variant?: Variant_25;
|
|
4039
4137
|
thickness?: Thickness;
|
|
4040
4138
|
color?: string;
|
|
4041
4139
|
spacing?: number | string;
|
|
@@ -4067,28 +4165,28 @@ declare type Shape_12 = 'default' | 'square' | 'rounded' | 'pill';
|
|
|
4067
4165
|
|
|
4068
4166
|
declare type Shape_13 = 'default' | 'square' | 'rounded' | 'pill';
|
|
4069
4167
|
|
|
4070
|
-
declare type Shape_14 = '
|
|
4168
|
+
declare type Shape_14 = 'square' | 'rounded' | 'pill';
|
|
4071
4169
|
|
|
4072
|
-
|
|
4073
|
-
* Shape options for the ChatInput component
|
|
4074
|
-
*/
|
|
4075
|
-
declare type Shape_15 = 'default' | 'square' | 'rounded';
|
|
4170
|
+
declare type Shape_15 = 'square' | 'rounded' | 'pill';
|
|
4076
4171
|
|
|
4077
4172
|
declare type Shape_16 = 'square' | 'rounded' | 'pill';
|
|
4078
4173
|
|
|
4079
|
-
declare type Shape_17 = 'square' | 'rounded' | 'pill';
|
|
4174
|
+
declare type Shape_17 = 'default' | 'square' | 'rounded' | 'pill';
|
|
4080
4175
|
|
|
4081
|
-
declare type Shape_18 = 'square' | 'rounded' | 'pill';
|
|
4176
|
+
declare type Shape_18 = 'default' | 'square' | 'rounded' | 'pill';
|
|
4082
4177
|
|
|
4083
|
-
declare type Shape_19 = '
|
|
4178
|
+
declare type Shape_19 = 'rounded' | 'square' | 'circular';
|
|
4084
4179
|
|
|
4085
4180
|
declare type Shape_2 = 'square' | 'rounded';
|
|
4086
4181
|
|
|
4087
|
-
declare type Shape_20 = 'square' | 'rounded';
|
|
4182
|
+
declare type Shape_20 = 'default' | 'square' | 'rounded' | 'pill';
|
|
4088
4183
|
|
|
4089
|
-
declare type Shape_21 = '
|
|
4184
|
+
declare type Shape_21 = 'square' | 'rounded';
|
|
4090
4185
|
|
|
4091
|
-
|
|
4186
|
+
/**
|
|
4187
|
+
* Shape options for the ChatInput component
|
|
4188
|
+
*/
|
|
4189
|
+
declare type Shape_22 = 'default' | 'square' | 'rounded';
|
|
4092
4190
|
|
|
4093
4191
|
declare type Shape_3 = 'square' | 'rounded' | 'pill';
|
|
4094
4192
|
|
|
@@ -4171,9 +4269,9 @@ declare interface SidebarContextType {
|
|
|
4171
4269
|
toggleExpanded: () => void;
|
|
4172
4270
|
expand: () => void;
|
|
4173
4271
|
collapse: () => void;
|
|
4174
|
-
position:
|
|
4175
|
-
size:
|
|
4176
|
-
variant:
|
|
4272
|
+
position: Position_4;
|
|
4273
|
+
size: Size_28;
|
|
4274
|
+
variant: Variant_26;
|
|
4177
4275
|
views?: SidebarStyles;
|
|
4178
4276
|
}
|
|
4179
4277
|
|
|
@@ -4198,9 +4296,9 @@ export declare interface SidebarHeaderProps {
|
|
|
4198
4296
|
|
|
4199
4297
|
export declare interface SidebarProps {
|
|
4200
4298
|
children: default_2.ReactNode;
|
|
4201
|
-
position?:
|
|
4202
|
-
size?:
|
|
4203
|
-
variant?:
|
|
4299
|
+
position?: Position_4;
|
|
4300
|
+
size?: Size_28;
|
|
4301
|
+
variant?: Variant_26;
|
|
4204
4302
|
defaultExpanded?: boolean;
|
|
4205
4303
|
expanded?: boolean;
|
|
4206
4304
|
onExpandedChange?: (expanded: boolean) => void;
|
|
@@ -4257,11 +4355,11 @@ declare type Size_15 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
4257
4355
|
|
|
4258
4356
|
declare type Size_16 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4259
4357
|
|
|
4260
|
-
declare type Size_17 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4261
|
-
|
|
4262
4358
|
/**
|
|
4263
4359
|
* Size configurations following 4px grid system
|
|
4264
4360
|
*/
|
|
4361
|
+
declare type Size_17 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4362
|
+
|
|
4265
4363
|
declare type Size_18 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4266
4364
|
|
|
4267
4365
|
declare type Size_19 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -4270,26 +4368,23 @@ declare type Size_2 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
4270
4368
|
|
|
4271
4369
|
declare type Size_20 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4272
4370
|
|
|
4273
|
-
/**
|
|
4274
|
-
* Size options for the ChatInput component
|
|
4275
|
-
*/
|
|
4276
4371
|
declare type Size_21 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4277
4372
|
|
|
4278
|
-
declare type Size_22 = '
|
|
4373
|
+
declare type Size_22 = 'sm' | 'md' | 'lg';
|
|
4279
4374
|
|
|
4280
|
-
declare type Size_23 = '
|
|
4375
|
+
declare type Size_23 = 'sm' | 'md' | 'lg';
|
|
4281
4376
|
|
|
4282
4377
|
declare type Size_24 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4283
4378
|
|
|
4284
4379
|
declare type Size_25 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4285
4380
|
|
|
4286
|
-
declare type Size_26 = '
|
|
4381
|
+
declare type Size_26 = 'sm' | 'md' | 'lg';
|
|
4287
4382
|
|
|
4288
4383
|
declare type Size_27 = 'sm' | 'md' | 'lg';
|
|
4289
4384
|
|
|
4290
|
-
declare type Size_28 = 'sm' | 'md' | 'lg';
|
|
4385
|
+
declare type Size_28 = 'sm' | 'md' | 'lg' | 'xl';
|
|
4291
4386
|
|
|
4292
|
-
declare type Size_29 = '
|
|
4387
|
+
declare type Size_29 = 'sm' | 'md' | 'lg';
|
|
4293
4388
|
|
|
4294
4389
|
declare type Size_3 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4295
4390
|
|
|
@@ -4297,13 +4392,16 @@ declare type Size_30 = 'sm' | 'md' | 'lg';
|
|
|
4297
4392
|
|
|
4298
4393
|
declare type Size_31 = 'sm' | 'md' | 'lg';
|
|
4299
4394
|
|
|
4300
|
-
declare type Size_32 = 'sm' | 'md' | 'lg' | 'xl';
|
|
4395
|
+
declare type Size_32 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4301
4396
|
|
|
4302
|
-
declare type Size_33 = 'sm' | 'md' | 'lg';
|
|
4397
|
+
declare type Size_33 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4303
4398
|
|
|
4304
|
-
declare type Size_34 = 'sm' | 'md' | 'lg';
|
|
4399
|
+
declare type Size_34 = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
4305
4400
|
|
|
4306
|
-
|
|
4401
|
+
/**
|
|
4402
|
+
* Size options for the ChatInput component
|
|
4403
|
+
*/
|
|
4404
|
+
declare type Size_35 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4307
4405
|
|
|
4308
4406
|
declare type Size_4 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4309
4407
|
|
|
@@ -4330,9 +4428,9 @@ declare interface SliderProps extends Omit<InputProps, 'size' | 'onChange' | 'on
|
|
|
4330
4428
|
defaultValue?: number;
|
|
4331
4429
|
step?: number;
|
|
4332
4430
|
stepValues?: number[];
|
|
4333
|
-
shape?:
|
|
4334
|
-
size?:
|
|
4335
|
-
variant?:
|
|
4431
|
+
shape?: Shape_14;
|
|
4432
|
+
size?: Size_20;
|
|
4433
|
+
variant?: Variant_16;
|
|
4336
4434
|
orientation?: Orientation;
|
|
4337
4435
|
isDisabled?: boolean;
|
|
4338
4436
|
showValue?: boolean;
|
|
@@ -4404,6 +4502,23 @@ export declare interface SplashState {
|
|
|
4404
4502
|
|
|
4405
4503
|
export declare const StarIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
4406
4504
|
|
|
4505
|
+
export declare const StatePanel: (props: StatePanelProps) => default_2.JSX.Element;
|
|
4506
|
+
|
|
4507
|
+
export declare interface StatePanelProps extends Omit<ViewProps, 'title'> {
|
|
4508
|
+
state: DataStateName;
|
|
4509
|
+
title: string;
|
|
4510
|
+
description?: string;
|
|
4511
|
+
action?: default_2.ReactNode;
|
|
4512
|
+
views?: StatePanelStyles;
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4515
|
+
export declare type StatePanelStyles = {
|
|
4516
|
+
container?: ViewProps;
|
|
4517
|
+
title?: ViewProps;
|
|
4518
|
+
description?: ViewProps;
|
|
4519
|
+
action?: ViewProps;
|
|
4520
|
+
};
|
|
4521
|
+
|
|
4407
4522
|
declare type Status = 'default' | 'info' | 'success' | 'warning' | 'error';
|
|
4408
4523
|
|
|
4409
4524
|
export declare const StatusIndicator: (props: StatusIndicatorProps) => default_2.JSX.Element;
|
|
@@ -4426,6 +4541,7 @@ export declare const StopIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
4426
4541
|
declare type Styles = {
|
|
4427
4542
|
icon?: ViewProps;
|
|
4428
4543
|
text?: ViewProps;
|
|
4544
|
+
active?: ViewProps;
|
|
4429
4545
|
};
|
|
4430
4546
|
|
|
4431
4547
|
export declare const SuccessIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
@@ -4712,9 +4828,9 @@ declare interface TagInputProps extends Omit<InputProps, 'size' | 'value' | 'onC
|
|
|
4712
4828
|
isReadOnly?: boolean;
|
|
4713
4829
|
isAutoFocus?: boolean;
|
|
4714
4830
|
isRemovable?: boolean;
|
|
4715
|
-
size?:
|
|
4716
|
-
shape?:
|
|
4717
|
-
variant?:
|
|
4831
|
+
size?: Size_18;
|
|
4832
|
+
shape?: Shape_12;
|
|
4833
|
+
variant?: Variant_14;
|
|
4718
4834
|
shadow?: Shadow | Elevation | ViewProps;
|
|
4719
4835
|
views?: TagInputStyles;
|
|
4720
4836
|
left?: default_2.ReactNode;
|
|
@@ -4871,6 +4987,7 @@ export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shado
|
|
|
4871
4987
|
value?: string;
|
|
4872
4988
|
variant?: Variant_11;
|
|
4873
4989
|
isMultiline?: boolean;
|
|
4990
|
+
multiline?: boolean;
|
|
4874
4991
|
rows?: number;
|
|
4875
4992
|
inputRef?: (node: {
|
|
4876
4993
|
focus: () => void;
|
|
@@ -5082,9 +5199,9 @@ export declare interface ToggleGroupProps {
|
|
|
5082
5199
|
}
|
|
5083
5200
|
|
|
5084
5201
|
export declare interface ToggleGroupProps extends Omit<InputProps, 'size'> {
|
|
5085
|
-
shape?:
|
|
5202
|
+
shape?: Shape_16;
|
|
5086
5203
|
items: ToggleItem[];
|
|
5087
|
-
variant?:
|
|
5204
|
+
variant?: Variant_19;
|
|
5088
5205
|
onToggleChange?: (activeIds: string[]) => void;
|
|
5089
5206
|
views?: any;
|
|
5090
5207
|
}
|
|
@@ -5107,11 +5224,11 @@ declare type ToggleItem = {
|
|
|
5107
5224
|
};
|
|
5108
5225
|
|
|
5109
5226
|
export declare interface ToggleProps extends Omit<InputProps, 'size' | 'onToggle'> {
|
|
5110
|
-
shape?:
|
|
5227
|
+
shape?: Shape_15;
|
|
5111
5228
|
isToggled?: boolean;
|
|
5112
5229
|
isDisabled?: boolean;
|
|
5113
5230
|
children: React.ReactNode;
|
|
5114
|
-
variant?:
|
|
5231
|
+
variant?: Variant_18;
|
|
5115
5232
|
onToggle?: (isToggled: boolean) => void;
|
|
5116
5233
|
views?: any;
|
|
5117
5234
|
}
|
|
@@ -5137,10 +5254,10 @@ export declare interface TooltipContentProps {
|
|
|
5137
5254
|
export declare interface TooltipProps {
|
|
5138
5255
|
content: default_2.ReactNode;
|
|
5139
5256
|
children: default_2.ReactNode;
|
|
5140
|
-
position?:
|
|
5257
|
+
position?: Position_5;
|
|
5141
5258
|
align?: Alignment_3;
|
|
5142
|
-
size?:
|
|
5143
|
-
variant?:
|
|
5259
|
+
size?: Size_30;
|
|
5260
|
+
variant?: Variant_28;
|
|
5144
5261
|
openDelay?: number;
|
|
5145
5262
|
closeDelay?: number;
|
|
5146
5263
|
showArrow?: boolean;
|
|
@@ -5319,48 +5436,48 @@ declare type Variant_12 = 'outline' | 'default' | 'none';
|
|
|
5319
5436
|
|
|
5320
5437
|
declare type Variant_13 = 'default' | 'outline' | 'none';
|
|
5321
5438
|
|
|
5322
|
-
declare type Variant_14 = '
|
|
5439
|
+
declare type Variant_14 = 'outline' | 'default' | 'none';
|
|
5323
5440
|
|
|
5324
5441
|
declare type Variant_15 = 'outline' | 'default' | 'none';
|
|
5325
5442
|
|
|
5326
|
-
declare type Variant_16 = '
|
|
5443
|
+
declare type Variant_16 = 'default' | 'outline';
|
|
5327
5444
|
|
|
5328
|
-
|
|
5329
|
-
* Variant options for the ChatInput component
|
|
5330
|
-
*/
|
|
5331
|
-
declare type Variant_17 = 'default' | 'outline' | 'none';
|
|
5445
|
+
declare type Variant_17 = 'default' | 'filled' | 'outline';
|
|
5332
5446
|
|
|
5333
|
-
declare type Variant_18 = '
|
|
5447
|
+
declare type Variant_18 = 'outline' | 'link' | 'ghost';
|
|
5334
5448
|
|
|
5335
5449
|
declare type Variant_19 = 'outline' | 'link' | 'ghost';
|
|
5336
5450
|
|
|
5337
5451
|
declare type Variant_2 = 'default' | 'outline' | 'filled';
|
|
5338
5452
|
|
|
5339
|
-
declare type Variant_20 = '
|
|
5453
|
+
declare type Variant_20 = 'default' | 'filled' | 'outline';
|
|
5340
5454
|
|
|
5341
5455
|
declare type Variant_21 = 'outline' | 'default' | 'filled';
|
|
5342
5456
|
|
|
5343
|
-
declare type Variant_22 = '
|
|
5457
|
+
declare type Variant_22 = 'outline' | 'default' | 'filled';
|
|
5344
5458
|
|
|
5345
5459
|
declare type Variant_23 = 'default' | 'filled' | 'outline';
|
|
5346
5460
|
|
|
5347
|
-
declare type Variant_24 = '
|
|
5461
|
+
declare type Variant_24 = 'default' | 'filled' | 'outline';
|
|
5348
5462
|
|
|
5349
|
-
declare type Variant_25 = '
|
|
5463
|
+
declare type Variant_25 = 'solid' | 'dashed' | 'dotted';
|
|
5350
5464
|
|
|
5351
|
-
declare type Variant_26 = 'default' | 'filled' | 'outline';
|
|
5465
|
+
declare type Variant_26 = 'default' | 'filled' | 'outline' | 'subtle' | 'elevated';
|
|
5352
5466
|
|
|
5353
|
-
declare type Variant_27 = '
|
|
5467
|
+
declare type Variant_27 = 'default' | 'subtle' | 'prominent';
|
|
5354
5468
|
|
|
5355
|
-
declare type Variant_28 = 'default' | '
|
|
5469
|
+
declare type Variant_28 = 'default' | 'light' | 'dark';
|
|
5356
5470
|
|
|
5357
|
-
declare type Variant_29 = 'default' | '
|
|
5471
|
+
declare type Variant_29 = 'default' | 'glassy' | 'minimal';
|
|
5358
5472
|
|
|
5359
5473
|
declare type Variant_3 = 'default' | 'info' | 'success' | 'error' | 'warning';
|
|
5360
5474
|
|
|
5361
|
-
declare type Variant_30 = 'default' | '
|
|
5475
|
+
declare type Variant_30 = 'default' | 'outline' | 'none';
|
|
5362
5476
|
|
|
5363
|
-
|
|
5477
|
+
/**
|
|
5478
|
+
* Variant options for the ChatInput component
|
|
5479
|
+
*/
|
|
5480
|
+
declare type Variant_31 = 'default' | 'outline' | 'none';
|
|
5364
5481
|
|
|
5365
5482
|
declare type Variant_4 = 'filled' | 'outline' | 'link' | 'ghost';
|
|
5366
5483
|
|