@app-studio/components 0.10.22 → 0.10.24
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.d.ts +271 -104
- package/dist/native/components/Background/Background/Background.view.js +7 -2
- package/dist/native/components/Background/Background/Background.view.js.map +1 -1
- package/dist/native/components/Badge/Badge/Badge.style.d.ts +13 -0
- package/dist/native/components/Badge/Badge/Badge.style.js +26 -13
- package/dist/native/components/Badge/Badge/Badge.style.js.map +1 -1
- package/dist/native/components/Button/Button/Button.style.d.ts +14 -0
- package/dist/native/components/Button/Button/Button.style.js +19 -5
- package/dist/native/components/Button/Button/Button.style.js.map +1 -1
- package/dist/native/components/Button/Button/Button.type.d.ts +9 -0
- package/dist/native/components/Button/Button/Button.type.js +3 -0
- package/dist/native/components/Button/Button/Button.type.js.map +1 -0
- package/dist/native/components/Button/Button/Button.view.js +4 -4
- package/dist/native/components/Button/Button/Button.view.js.map +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.type.d.ts +3 -0
- package/dist/native/components/Drawer/Drawer/Drawer.type.js +2 -0
- package/dist/native/components/Drawer/Drawer/Drawer.type.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +8 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.js +2 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +2 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +7 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.d.ts +0 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.js +4 -7
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.js.map +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js +13 -6
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js.map +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +19 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.js +2 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js +3 -2
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js.map +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.js +2 -2
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +12 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.js +2 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.js.map +1 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js +5 -2
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js.map +1 -1
- package/dist/native/components/Form/Label/Label/Label.props.d.ts +1 -1
- package/dist/native/components/Form/Password/Password/Password.type.d.ts +10 -0
- package/dist/native/components/Form/Password/Password/Password.type.js +2 -0
- package/dist/native/components/Form/Password/Password/Password.type.js.map +1 -0
- package/dist/native/components/Form/Password/Password.js +22 -3
- package/dist/native/components/Form/Password/Password.js.map +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.type.d.ts +8 -0
- package/dist/native/components/Form/Radio/Radio/Radio.type.js +2 -0
- package/dist/native/components/Form/Radio/Radio/Radio.type.js.map +1 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.d.ts +7 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.js +2 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.props.d.ts +2 -2
- package/dist/native/components/Form/Select/Select/Select.type.d.ts +19 -0
- package/dist/native/components/Form/Select/Select/Select.type.js +2 -0
- package/dist/native/components/Form/Select/Select/Select.type.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.view.js +28 -30
- package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.type.d.ts +19 -0
- package/dist/native/components/Form/Selector/Selector/Selector.type.js +2 -0
- package/dist/native/components/Form/Selector/Selector/Selector.type.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector/Selector.view.js +10 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.js.map +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.type.d.ts +7 -0
- package/dist/native/components/Form/Switch/Switch/Switch.type.js +2 -0
- package/dist/native/components/Form/Switch/Switch/Switch.type.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js +16 -3
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.type.d.ts +12 -0
- package/dist/native/components/Form/TextField/TextField/TextField.type.js +2 -0
- package/dist/native/components/Form/TextField/TextField/TextField.type.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.js +4 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer.js +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer.js.map +1 -1
- package/dist/native/components/Input/FieldContent/FieldContent.js +12 -2
- package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -1
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.js.map +1 -1
- package/dist/native/components/Input/Input.style.d.ts +0 -34
- package/dist/native/components/Input/Input.style.js +14 -33
- package/dist/native/components/Input/Input.style.js.map +1 -1
- package/dist/native/components/Input/fieldSizes.d.ts +33 -0
- package/dist/native/components/Input/fieldSizes.js +37 -0
- package/dist/native/components/Input/fieldSizes.js.map +1 -0
- package/dist/native/components/Link/Link/Link.props.d.ts +5 -3
- package/dist/native/components/Link/Link/Link.type.d.ts +7 -0
- package/dist/native/components/Link/Link/Link.type.js +2 -0
- package/dist/native/components/Link/Link/Link.type.js.map +1 -0
- package/dist/native/components/Link/Link/Link.view.js +40 -25
- package/dist/native/components/Link/Link/Link.view.js.map +1 -1
- package/dist/native/components/Link/Link/Link.view.native.js +4 -3
- package/dist/native/components/Link/Link/Link.view.native.js.map +1 -1
- package/dist/native/components/Link/Link.js +1 -5
- package/dist/native/components/Link/Link.js.map +1 -1
- package/dist/native/components/Loader/Loader/Loader.type.d.ts +4 -0
- package/dist/native/components/Loader/Loader/Loader.type.js +2 -0
- package/dist/native/components/Loader/Loader/Loader.type.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.type.d.ts +4 -0
- package/dist/native/components/Modal/Modal/Modal.type.js +2 -0
- package/dist/native/components/Modal/Modal/Modal.type.js.map +1 -0
- package/dist/native/components/Router/Router.match.js +1 -1
- package/dist/native/components/Router/Router.match.js.map +1 -1
- package/dist/native/components/Router/index.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +53 -0
- package/dist/native/components/Tabs/Tabs/Tabs.type.js +2 -0
- package/dist/native/components/Tabs/Tabs/Tabs.type.js.map +1 -0
- package/dist/web.cjs.js +9 -9
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +5195 -5193
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.js +8 -8
- package/dist/web.umd.js.map +1 -1
- package/docs/getting-started/introduction.md +89 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,71 +1,17 @@
|
|
|
1
|
-
import { Animation as Animation_2 } from './Button.type';
|
|
2
1
|
import { AnimationProps } from 'app-studio';
|
|
3
2
|
import { ButtonProps as ButtonProps_2 } from 'app-studio';
|
|
4
|
-
import { CheckboxStyles } from './Checkbox.type';
|
|
5
|
-
import { CloseButtonPosition } from './Modal.type';
|
|
6
|
-
import { CloseButtonPosition as CloseButtonPosition_2 } from './Drawer.type';
|
|
7
|
-
import { Country } from './CountryPicker.type';
|
|
8
|
-
import { CountryPickerStyles } from './CountryPicker.type';
|
|
9
|
-
import { DatePickerStyles } from './DatePicker.type';
|
|
10
3
|
import { default as default_2 } from 'react';
|
|
11
4
|
import { default as default_3 } from 'lucide-react/dynamicIconImports';
|
|
12
5
|
import { Dispatch } from 'react';
|
|
13
|
-
import { Elevation } from '../../../utils/elevation';
|
|
14
|
-
import { Elevation as Elevation_2 } from '../../../../utils/elevation';
|
|
15
6
|
import { FormikConfig } from 'formik';
|
|
16
|
-
import { IconPosition } from './Button.type';
|
|
17
7
|
import { ImageProps } from 'app-studio';
|
|
18
8
|
import { InputProps } from 'app-studio';
|
|
19
|
-
import { LoaderPosition } from './Button.type';
|
|
20
|
-
import { LoaderType } from './Loader.type';
|
|
21
|
-
import { Option as Option_2 } from './Select.type';
|
|
22
|
-
import { Option as Option_3 } from './Selector.type';
|
|
23
|
-
import { Placement } from './Drawer.type';
|
|
24
|
-
import { Position as Position_4 } from './Modal.type';
|
|
25
|
-
import { RadioStyles } from './Radio.type';
|
|
26
9
|
import { ReactNode } from 'react';
|
|
27
|
-
import { SelectorStyles } from './Selector.type';
|
|
28
|
-
import { SelectStyles } from './Select.type';
|
|
29
10
|
import { SetStateAction } from 'react';
|
|
30
11
|
import { Shadow } from 'app-studio';
|
|
31
|
-
import { Shape as Shape_10 } from './CountryPicker.type';
|
|
32
|
-
import { Shape as Shape_11 } from './DatePicker.type';
|
|
33
|
-
import { Shape as Shape_20 } from './Modal.type';
|
|
34
|
-
import { Shape as Shape_3 } from './Button.type';
|
|
35
|
-
import { Shape as Shape_5 } from './Select.type';
|
|
36
|
-
import { Shape as Shape_6 } from './Selector.type';
|
|
37
|
-
import { Shape as Shape_8 } from './TextField.type';
|
|
38
|
-
import { Size as Size_11 } from './TextField.type';
|
|
39
|
-
import { Size as Size_12 } from './Checkbox.type';
|
|
40
|
-
import { Size as Size_14 } from './CountryPicker.type';
|
|
41
|
-
import { Size as Size_15 } from './DatePicker.type';
|
|
42
|
-
import { Size as Size_18 } from './Radio.type';
|
|
43
|
-
import { Size as Size_23 } from './Link.type';
|
|
44
|
-
import { Size as Size_24 } from './Modal.type';
|
|
45
|
-
import { Size as Size_25 } from './Drawer.type';
|
|
46
|
-
import { Size as Size_3 } from './Loader.type';
|
|
47
|
-
import { Size as Size_4 } from './Button.type';
|
|
48
|
-
import { Size as Size_7 } from './Select.type';
|
|
49
|
-
import { Size as Size_8 } from './Switch.type';
|
|
50
|
-
import { Size as Size_9 } from './Selector.type';
|
|
51
|
-
import { Speed } from './Loader.type';
|
|
52
12
|
import { StoreApi } from 'zustand';
|
|
53
|
-
import { Styles } from './Link.type';
|
|
54
|
-
import { SwitchStyles } from './Switch.type';
|
|
55
|
-
import { Tab } from './Tabs.type';
|
|
56
|
-
import { TabsStyles } from './Tabs.type';
|
|
57
|
-
import { TabsVariant } from './Tabs.type';
|
|
58
|
-
import { TextDecorationStyle } from './Link.type';
|
|
59
|
-
import { TextFieldStyles } from './TextField.type';
|
|
60
|
-
import { TextPosition } from './Loader.type';
|
|
61
13
|
import { TextProps } from 'app-studio';
|
|
62
14
|
import { UseBoundStore } from 'zustand';
|
|
63
|
-
import { Variant as Variant_10 } from './TextField.type';
|
|
64
|
-
import { Variant as Variant_12 } from './CountryPicker.type';
|
|
65
|
-
import { Variant as Variant_13 } from './DatePicker.type';
|
|
66
|
-
import { Variant as Variant_4 } from './Button.type';
|
|
67
|
-
import { Variant as Variant_7 } from './Select.type';
|
|
68
|
-
import { Variant as Variant_8 } from './Selector.type';
|
|
69
15
|
import { ViewProps } from 'app-studio';
|
|
70
16
|
|
|
71
17
|
export declare const Accordion: AccordionComponentType;
|
|
@@ -237,6 +183,8 @@ declare type Alignment_2 = 'start' | 'center' | 'end';
|
|
|
237
183
|
|
|
238
184
|
declare type Alignment_3 = 'start' | 'center' | 'end';
|
|
239
185
|
|
|
186
|
+
declare type Animation_2 = 'borderMoving' | 'animatedStroke' | 'borderReveal';
|
|
187
|
+
|
|
240
188
|
export declare const ArrowIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
241
189
|
|
|
242
190
|
export declare const AspectRatio: ({ ratio, children, ...props }: AspectRatioProps) => default_2.JSX.Element;
|
|
@@ -956,7 +904,7 @@ export declare interface ChatInputProps extends Omit<ViewProps, 'onChange' | 'on
|
|
|
956
904
|
/**
|
|
957
905
|
* Size of the input
|
|
958
906
|
*/
|
|
959
|
-
size?:
|
|
907
|
+
size?: Size_20;
|
|
960
908
|
/**
|
|
961
909
|
* Shape of the input
|
|
962
910
|
*/
|
|
@@ -1135,7 +1083,7 @@ export declare interface ChatWidgetProps extends Omit<ViewProps, 'size' | 'onSub
|
|
|
1135
1083
|
inputPlaceholder?: string;
|
|
1136
1084
|
disableInput?: boolean;
|
|
1137
1085
|
variant?: Variant_31;
|
|
1138
|
-
size?:
|
|
1086
|
+
size?: Size_35;
|
|
1139
1087
|
showTimestamps?: boolean;
|
|
1140
1088
|
enableAttachments?: boolean;
|
|
1141
1089
|
enableContextPicker?: boolean;
|
|
@@ -1213,10 +1161,16 @@ export declare interface CheckboxProps extends Omit<InputProps, 'size' | 'onChan
|
|
|
1213
1161
|
onValueChange?: Function;
|
|
1214
1162
|
views?: CheckboxStyles;
|
|
1215
1163
|
size?: Size_12;
|
|
1216
|
-
shadow?: Shadow |
|
|
1164
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
1217
1165
|
infoText?: string;
|
|
1218
1166
|
}
|
|
1219
1167
|
|
|
1168
|
+
declare type CheckboxStyles = {
|
|
1169
|
+
checkbox?: ViewProps;
|
|
1170
|
+
label?: ViewProps;
|
|
1171
|
+
infoText?: ViewProps;
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1220
1174
|
export declare interface CheckboxViewProps extends CheckboxProps {
|
|
1221
1175
|
isHovered?: boolean;
|
|
1222
1176
|
setIsHovered?: (hovered: boolean) => void;
|
|
@@ -1232,6 +1186,10 @@ export declare const ChevronIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
1232
1186
|
|
|
1233
1187
|
export declare const ClockIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
1234
1188
|
|
|
1189
|
+
declare type CloseButtonPosition = 'left' | 'right' | 'none';
|
|
1190
|
+
|
|
1191
|
+
declare type CloseButtonPosition_2 = 'left' | 'right' | 'none';
|
|
1192
|
+
|
|
1235
1193
|
export declare const CloseEyeIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
1236
1194
|
|
|
1237
1195
|
export declare const CloseIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
@@ -1259,7 +1217,7 @@ export declare interface ColorInputProps extends Omit<InputProps, 'size' | 'onCh
|
|
|
1259
1217
|
onClick?: () => void;
|
|
1260
1218
|
onFocus?: () => void;
|
|
1261
1219
|
size?: Size_13;
|
|
1262
|
-
shadow?: Shadow |
|
|
1220
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
1263
1221
|
shape?: Shape_9;
|
|
1264
1222
|
views?: ColorInputStyles;
|
|
1265
1223
|
value?: string;
|
|
@@ -1286,7 +1244,7 @@ declare type ColorInputStyles = {
|
|
|
1286
1244
|
dropdown?: ViewProps;
|
|
1287
1245
|
colorGrid?: ViewProps;
|
|
1288
1246
|
colorSwatch?: ViewProps;
|
|
1289
|
-
customInput?:
|
|
1247
|
+
customInput?: TextFieldStyles;
|
|
1290
1248
|
recentColors?: ViewProps;
|
|
1291
1249
|
};
|
|
1292
1250
|
|
|
@@ -1323,7 +1281,7 @@ export declare interface ColorPickerProps extends Omit<ViewProps, 'onChange'> {
|
|
|
1323
1281
|
onChange?: (color: string) => void;
|
|
1324
1282
|
onChangeComplete?: (color: string) => void;
|
|
1325
1283
|
views?: ColorPickerStyles;
|
|
1326
|
-
size?:
|
|
1284
|
+
size?: Size_29;
|
|
1327
1285
|
shape?: Shape_21;
|
|
1328
1286
|
variant?: Variant_24;
|
|
1329
1287
|
error?: boolean;
|
|
@@ -1387,6 +1345,12 @@ export declare interface ComboBoxItem {
|
|
|
1387
1345
|
}
|
|
1388
1346
|
|
|
1389
1347
|
export declare interface ComboBoxProps extends Omit<InputProps, 'size' | 'onSelect' | 'left' | 'right'> {
|
|
1348
|
+
/**
|
|
1349
|
+
* Height of the trigger, on the shared field scale: `xs` 24, `sm` 32,
|
|
1350
|
+
* `md` 40, `lg` 48, `xl` 56. `InputProps['size']` is omitted above because
|
|
1351
|
+
* that is the numeric HTML attribute, not a design-system size.
|
|
1352
|
+
*/
|
|
1353
|
+
size?: Size_16;
|
|
1390
1354
|
id: string;
|
|
1391
1355
|
name?: string;
|
|
1392
1356
|
items: ComboBoxItem[];
|
|
@@ -1712,6 +1676,13 @@ declare type CookieConsentVariant = 'default' | 'info' | 'primary';
|
|
|
1712
1676
|
|
|
1713
1677
|
export declare const CopyIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
1714
1678
|
|
|
1679
|
+
declare type Country = {
|
|
1680
|
+
name: string;
|
|
1681
|
+
dial_code: string;
|
|
1682
|
+
emoji: string;
|
|
1683
|
+
code: string;
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1715
1686
|
export declare const CountryPicker: default_2.FC<CountryPickerProps>;
|
|
1716
1687
|
|
|
1717
1688
|
export declare interface CountryPickerDropDownProps extends Omit<InputProps, 'size'> {
|
|
@@ -1738,9 +1709,19 @@ export declare interface CountryPickerProps extends Omit<InputProps, 'size' | 's
|
|
|
1738
1709
|
size?: Size_14;
|
|
1739
1710
|
value?: string;
|
|
1740
1711
|
variant?: Variant_12;
|
|
1741
|
-
shadow?: Shadow |
|
|
1712
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
1742
1713
|
}
|
|
1743
1714
|
|
|
1715
|
+
declare type CountryPickerStyles = {
|
|
1716
|
+
text?: ViewProps;
|
|
1717
|
+
icon?: ViewProps;
|
|
1718
|
+
dropDown?: ViewProps;
|
|
1719
|
+
container?: ViewProps;
|
|
1720
|
+
label?: ViewProps;
|
|
1721
|
+
helperText?: ViewProps;
|
|
1722
|
+
field?: ViewProps;
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1744
1725
|
export declare interface CountryPickerViewProps extends CountryPickerProps {
|
|
1745
1726
|
isHovered?: boolean;
|
|
1746
1727
|
setIsHovered?: (hovered: boolean) => void;
|
|
@@ -1830,9 +1811,17 @@ export declare interface DatePickerProps extends Omit<ViewProps, 'size' | 'shado
|
|
|
1830
1811
|
/**
|
|
1831
1812
|
* Adds a shadow effect to the DatePicker.
|
|
1832
1813
|
*/
|
|
1833
|
-
shadow?: Shadow |
|
|
1814
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
1834
1815
|
}
|
|
1835
1816
|
|
|
1817
|
+
declare type DatePickerStyles = {
|
|
1818
|
+
container?: ViewProps;
|
|
1819
|
+
text?: ViewProps;
|
|
1820
|
+
label?: ViewProps;
|
|
1821
|
+
helperText?: ViewProps;
|
|
1822
|
+
field?: ViewProps;
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1836
1825
|
export declare interface DatePickerViewProps extends DatePickerProps {
|
|
1837
1826
|
/**
|
|
1838
1827
|
* The selected date value as a string.
|
|
@@ -2059,7 +2048,7 @@ export declare interface DrawerBodyProps extends ViewProps {
|
|
|
2059
2048
|
|
|
2060
2049
|
export declare interface DrawerContainerProps extends ViewProps {
|
|
2061
2050
|
placement?: Placement;
|
|
2062
|
-
size?:
|
|
2051
|
+
size?: Size_26;
|
|
2063
2052
|
isOpen?: boolean;
|
|
2064
2053
|
children?: default_2.ReactNode;
|
|
2065
2054
|
}
|
|
@@ -2101,7 +2090,7 @@ export declare interface DrawerOverlayProps extends ViewProps {
|
|
|
2101
2090
|
export declare interface DrawerProps extends ViewProps {
|
|
2102
2091
|
placement?: Placement;
|
|
2103
2092
|
side?: string;
|
|
2104
|
-
size?:
|
|
2093
|
+
size?: Size_26;
|
|
2105
2094
|
isOpen: boolean;
|
|
2106
2095
|
onClose: () => void;
|
|
2107
2096
|
isClosePrevented?: boolean;
|
|
@@ -2177,7 +2166,7 @@ export declare interface DropdownMenuItemProps {
|
|
|
2177
2166
|
export declare interface DropdownMenuProps {
|
|
2178
2167
|
trigger: default_2.ReactNode;
|
|
2179
2168
|
items: DropdownMenuItem[];
|
|
2180
|
-
size?:
|
|
2169
|
+
size?: Size_28;
|
|
2181
2170
|
variant?: Variant_23;
|
|
2182
2171
|
side?: Position_5;
|
|
2183
2172
|
align?: Alignment_2;
|
|
@@ -2252,7 +2241,11 @@ export declare const DustBinIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
2252
2241
|
|
|
2253
2242
|
export declare const EditIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
2254
2243
|
|
|
2255
|
-
declare type
|
|
2244
|
+
declare type Elevation = {
|
|
2245
|
+
elevation: number;
|
|
2246
|
+
};
|
|
2247
|
+
|
|
2248
|
+
declare type Elevation_2 = 'none' | 'low' | 'medium' | 'high';
|
|
2256
2249
|
|
|
2257
2250
|
declare type Emoji = {
|
|
2258
2251
|
emoji: string;
|
|
@@ -2277,7 +2270,7 @@ export declare interface EmojiPickerProps extends Omit<ViewProps, 'onChange'> {
|
|
|
2277
2270
|
onChange?: (emoji: string) => void;
|
|
2278
2271
|
onEmojiSelect?: (emoji: Emoji) => void;
|
|
2279
2272
|
views?: EmojiPickerStyles;
|
|
2280
|
-
size?:
|
|
2273
|
+
size?: Size_23;
|
|
2281
2274
|
shape?: Shape_19;
|
|
2282
2275
|
variant?: Variant_21;
|
|
2283
2276
|
error?: boolean;
|
|
@@ -2558,7 +2551,7 @@ export declare interface HeaderProps extends Omit<ViewProps, 'size'> {
|
|
|
2558
2551
|
header?: ViewProps;
|
|
2559
2552
|
};
|
|
2560
2553
|
buttonColor?: string;
|
|
2561
|
-
iconSize?:
|
|
2554
|
+
iconSize?: Size_25;
|
|
2562
2555
|
children?: default_2.ReactNode;
|
|
2563
2556
|
buttonPosition?: CloseButtonPosition;
|
|
2564
2557
|
buttonSize?: any;
|
|
@@ -2652,7 +2645,7 @@ export declare interface IconPickerProps extends Omit<ViewProps, 'onChange'> {
|
|
|
2652
2645
|
defaultValue?: IconName;
|
|
2653
2646
|
onChange?: (iconName: IconName) => void;
|
|
2654
2647
|
views?: IconPickerStyles;
|
|
2655
|
-
size?:
|
|
2648
|
+
size?: Size_22;
|
|
2656
2649
|
shape?: Shape_18;
|
|
2657
2650
|
variant?: Variant_20;
|
|
2658
2651
|
error?: boolean;
|
|
@@ -2689,6 +2682,8 @@ export declare interface IconPickerViewProps extends IconPickerProps {
|
|
|
2689
2682
|
dropdownRef: React.RefObject<HTMLDivElement | null>;
|
|
2690
2683
|
}
|
|
2691
2684
|
|
|
2685
|
+
declare type IconPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
2686
|
+
|
|
2692
2687
|
export declare interface IconProps extends Omit<ViewProps, 'orientation' | 'name' | 'size'> {
|
|
2693
2688
|
color?: string;
|
|
2694
2689
|
filled?: boolean;
|
|
@@ -2709,11 +2704,11 @@ export declare const InfoIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
2709
2704
|
|
|
2710
2705
|
export declare const InstagramIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
2711
2706
|
|
|
2712
|
-
export declare interface ItemProps extends Omit<InputProps, 'size'> {
|
|
2707
|
+
export declare interface ItemProps extends Omit<InputProps, 'size' | 'style'> {
|
|
2713
2708
|
callback?: Function;
|
|
2714
2709
|
option: Option_2;
|
|
2715
2710
|
size?: Size_7;
|
|
2716
|
-
style?:
|
|
2711
|
+
style?: ViewProps;
|
|
2717
2712
|
isHovered?: boolean;
|
|
2718
2713
|
setIsHovered?: Function;
|
|
2719
2714
|
}
|
|
@@ -2759,18 +2754,22 @@ export declare interface LinkProps extends Omit<ViewProps, 'size'> {
|
|
|
2759
2754
|
children: default_2.ReactNode;
|
|
2760
2755
|
underline?: TextDecorationStyle;
|
|
2761
2756
|
isExternal?: boolean;
|
|
2762
|
-
iconSize?:
|
|
2763
|
-
to
|
|
2757
|
+
iconSize?: Size_24;
|
|
2758
|
+
to?: string;
|
|
2759
|
+
href?: string;
|
|
2760
|
+
onClick?: (event: default_2.MouseEvent) => void;
|
|
2764
2761
|
views?: Styles;
|
|
2765
2762
|
}
|
|
2766
2763
|
|
|
2767
2764
|
export declare interface LinkViewProps extends LinkProps {
|
|
2768
|
-
isHovered
|
|
2769
|
-
setIsHovered
|
|
2765
|
+
isHovered?: boolean;
|
|
2766
|
+
setIsHovered?: Function;
|
|
2770
2767
|
}
|
|
2771
2768
|
|
|
2772
2769
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
2773
2770
|
|
|
2771
|
+
declare type LoaderPosition = 'left' | 'right';
|
|
2772
|
+
|
|
2774
2773
|
export declare interface LoaderProps extends Omit<ViewProps, 'size'> {
|
|
2775
2774
|
children?: default_2.ReactNode;
|
|
2776
2775
|
loaderColor?: string;
|
|
@@ -2781,6 +2780,8 @@ export declare interface LoaderProps extends Omit<ViewProps, 'size'> {
|
|
|
2781
2780
|
speed?: Speed;
|
|
2782
2781
|
}
|
|
2783
2782
|
|
|
2783
|
+
declare type LoaderType = 'default' | 'dotted' | 'quarter';
|
|
2784
|
+
|
|
2784
2785
|
export declare const LoadingSpinnerIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
2785
2786
|
|
|
2786
2787
|
export declare const LockIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
@@ -2858,7 +2859,7 @@ export declare interface MenubarMenuProps {
|
|
|
2858
2859
|
export declare interface MenubarProps {
|
|
2859
2860
|
items: MenubarItem[];
|
|
2860
2861
|
orientation?: Orientation_3;
|
|
2861
|
-
size?:
|
|
2862
|
+
size?: Size_30;
|
|
2862
2863
|
variant?: Variant_25;
|
|
2863
2864
|
defaultActiveMenuId?: string | null;
|
|
2864
2865
|
defaultOpenMenuId?: string | null;
|
|
@@ -2869,7 +2870,7 @@ export declare interface MenubarProps {
|
|
|
2869
2870
|
export declare interface MenubarRootProps {
|
|
2870
2871
|
children: default_2.ReactNode;
|
|
2871
2872
|
orientation?: Orientation_3;
|
|
2872
|
-
size?:
|
|
2873
|
+
size?: Size_30;
|
|
2873
2874
|
variant?: Variant_25;
|
|
2874
2875
|
views?: {
|
|
2875
2876
|
container?: ViewProps;
|
|
@@ -3016,7 +3017,7 @@ export declare interface ModalLayoutProps {
|
|
|
3016
3017
|
|
|
3017
3018
|
export declare interface ModalProps extends Omit<ViewProps, 'size' | 'shadow' | 'position'> {
|
|
3018
3019
|
buttonColor?: string;
|
|
3019
|
-
iconSize?:
|
|
3020
|
+
iconSize?: Size_25;
|
|
3020
3021
|
shape?: Shape_20;
|
|
3021
3022
|
isFullScreen?: boolean;
|
|
3022
3023
|
buttonPosition?: CloseButtonPosition;
|
|
@@ -3128,7 +3129,7 @@ export declare interface NavigationMenuProps {
|
|
|
3128
3129
|
items?: NavigationItem[];
|
|
3129
3130
|
children?: default_2.ReactNode;
|
|
3130
3131
|
orientation?: Orientation_2;
|
|
3131
|
-
size?:
|
|
3132
|
+
size?: Size_27;
|
|
3132
3133
|
variant?: Variant_22;
|
|
3133
3134
|
defaultActiveItemId?: string;
|
|
3134
3135
|
defaultExpandedItemIds?: string[];
|
|
@@ -3178,6 +3179,17 @@ export declare const NotificationIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
3178
3179
|
|
|
3179
3180
|
export declare const OpenEyeIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3180
3181
|
|
|
3182
|
+
declare interface Option_2 {
|
|
3183
|
+
label: string;
|
|
3184
|
+
value: string;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
declare interface Option_3 {
|
|
3188
|
+
label: string;
|
|
3189
|
+
value: string;
|
|
3190
|
+
color?: string;
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3181
3193
|
declare type Orientation = 'horizontal' | 'vertical';
|
|
3182
3194
|
|
|
3183
3195
|
declare type Orientation_2 = 'horizontal' | 'vertical';
|
|
@@ -3213,7 +3225,7 @@ export declare interface OTPInputProps extends Omit<InputProps, 'size' | 'onChan
|
|
|
3213
3225
|
pattern?: RegExp | string;
|
|
3214
3226
|
pasteTransformer?: (pasted: string) => string;
|
|
3215
3227
|
stepValues?: number[];
|
|
3216
|
-
size?:
|
|
3228
|
+
size?: Size_18;
|
|
3217
3229
|
shadow?: Shadow | Elevation | ViewProps;
|
|
3218
3230
|
shape?: Shape_13;
|
|
3219
3231
|
variant?: Variant_15;
|
|
@@ -3302,7 +3314,7 @@ export declare interface PaginationProps extends ViewProps {
|
|
|
3302
3314
|
showPageInfo?: boolean;
|
|
3303
3315
|
maxPageButtons?: number;
|
|
3304
3316
|
showFirstLastButtons?: boolean;
|
|
3305
|
-
size?:
|
|
3317
|
+
size?: Size_31;
|
|
3306
3318
|
variant?: Variant_26;
|
|
3307
3319
|
shape?: Shape_22;
|
|
3308
3320
|
views?: PaginationStyles;
|
|
@@ -3372,6 +3384,8 @@ export declare interface PasswordViewProps extends PasswordProps {
|
|
|
3372
3384
|
|
|
3373
3385
|
export declare const PauseIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3374
3386
|
|
|
3387
|
+
declare type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
3388
|
+
|
|
3375
3389
|
export declare const PlayIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3376
3390
|
|
|
3377
3391
|
export declare const PlusIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
@@ -3382,6 +3396,8 @@ declare type Position_2 = 'top' | 'right' | 'bottom' | 'left';
|
|
|
3382
3396
|
|
|
3383
3397
|
declare type Position_3 = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
3384
3398
|
|
|
3399
|
+
declare type Position_4 = 'top' | 'left' | 'right' | 'bottom' | 'center';
|
|
3400
|
+
|
|
3385
3401
|
declare type Position_5 = 'top' | 'right' | 'bottom' | 'left';
|
|
3386
3402
|
|
|
3387
3403
|
declare type Position_6 = 'left' | 'right';
|
|
@@ -3466,11 +3482,17 @@ declare interface RadioProps extends Omit<InputProps, 'size' | 'onChange' | 'sha
|
|
|
3466
3482
|
onChange?: Function;
|
|
3467
3483
|
onValueChange?: Function;
|
|
3468
3484
|
views?: RadioStyles;
|
|
3469
|
-
size?:
|
|
3470
|
-
shadow?: Shadow |
|
|
3485
|
+
size?: Size_19;
|
|
3486
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
3471
3487
|
infoText?: string;
|
|
3472
3488
|
}
|
|
3473
3489
|
|
|
3490
|
+
declare type RadioStyles = {
|
|
3491
|
+
radio?: ViewProps;
|
|
3492
|
+
label?: ViewProps;
|
|
3493
|
+
infoText?: ViewProps;
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3474
3496
|
export declare const RefreshIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3475
3497
|
|
|
3476
3498
|
export declare const Resizable: ResizableType;
|
|
@@ -3509,7 +3531,7 @@ export declare interface ResizablePanelProps {
|
|
|
3509
3531
|
export declare interface ResizableProps {
|
|
3510
3532
|
children: default_2.ReactNode;
|
|
3511
3533
|
orientation?: Orientation_5;
|
|
3512
|
-
size?:
|
|
3534
|
+
size?: Size_33;
|
|
3513
3535
|
variant?: Variant_29;
|
|
3514
3536
|
defaultSizes?: (number | string)[];
|
|
3515
3537
|
onSizesChange?: (sizes: number[]) => void;
|
|
@@ -3618,10 +3640,21 @@ declare interface SelectorProps extends Omit<InputProps, 'size' | 'shadow' | 'va
|
|
|
3618
3640
|
variant?: Variant_8;
|
|
3619
3641
|
views?: SelectorStyles;
|
|
3620
3642
|
size?: Size_9;
|
|
3621
|
-
shadow?: Shadow |
|
|
3643
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
3622
3644
|
isScrollable?: boolean;
|
|
3623
3645
|
}
|
|
3624
3646
|
|
|
3647
|
+
declare type SelectorStyles = {
|
|
3648
|
+
text?: ViewProps;
|
|
3649
|
+
icon?: ViewProps;
|
|
3650
|
+
dropDown?: ViewProps;
|
|
3651
|
+
selectBox?: ViewProps;
|
|
3652
|
+
label?: ViewProps;
|
|
3653
|
+
helperText?: ViewProps;
|
|
3654
|
+
field?: ViewProps;
|
|
3655
|
+
item?: ViewProps;
|
|
3656
|
+
};
|
|
3657
|
+
|
|
3625
3658
|
export declare interface SelectProps extends Omit<InputProps, 'size' | 'shadow' | 'value'> {
|
|
3626
3659
|
id?: string;
|
|
3627
3660
|
error?: boolean;
|
|
@@ -3641,11 +3674,23 @@ export declare interface SelectProps extends Omit<InputProps, 'size' | 'shadow'
|
|
|
3641
3674
|
variant?: Variant_7;
|
|
3642
3675
|
views?: SelectStyles;
|
|
3643
3676
|
size?: Size_7;
|
|
3644
|
-
shadow?: Shadow |
|
|
3677
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
3645
3678
|
isScrollable?: boolean;
|
|
3646
3679
|
labelProps?: any;
|
|
3647
3680
|
}
|
|
3648
3681
|
|
|
3682
|
+
declare type SelectStyles = {
|
|
3683
|
+
container?: ViewProps;
|
|
3684
|
+
content?: ViewProps;
|
|
3685
|
+
text?: ViewProps;
|
|
3686
|
+
icon?: ViewProps;
|
|
3687
|
+
dropDown?: ViewProps;
|
|
3688
|
+
selectBox?: ViewProps;
|
|
3689
|
+
label?: ViewProps;
|
|
3690
|
+
helperText?: ViewProps;
|
|
3691
|
+
field?: ViewProps;
|
|
3692
|
+
};
|
|
3693
|
+
|
|
3649
3694
|
export declare interface SelectViewProps extends SelectProps {
|
|
3650
3695
|
value: string | Array<string>;
|
|
3651
3696
|
setValue: Function;
|
|
@@ -3689,6 +3734,10 @@ export declare const SettingsIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
|
3689
3734
|
|
|
3690
3735
|
declare type Shape = 'square' | 'rounded';
|
|
3691
3736
|
|
|
3737
|
+
declare type Shape_10 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3738
|
+
|
|
3739
|
+
declare type Shape_11 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3740
|
+
|
|
3692
3741
|
declare type Shape_12 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3693
3742
|
|
|
3694
3743
|
declare type Shape_13 = 'default' | 'square' | 'rounded' | 'pill';
|
|
@@ -3710,14 +3759,24 @@ declare type Shape_19 = 'default' | 'square' | 'rounded' | 'pill';
|
|
|
3710
3759
|
|
|
3711
3760
|
declare type Shape_2 = 'square' | 'rounded' | 'pill';
|
|
3712
3761
|
|
|
3762
|
+
declare type Shape_20 = 'square' | 'rounded';
|
|
3763
|
+
|
|
3713
3764
|
declare type Shape_21 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3714
3765
|
|
|
3715
3766
|
declare type Shape_22 = 'rounded' | 'square' | 'circular';
|
|
3716
3767
|
|
|
3768
|
+
declare type Shape_3 = 'square' | 'rounded' | 'pill';
|
|
3769
|
+
|
|
3717
3770
|
declare type Shape_4 = 'square' | 'rounded' | 'pill';
|
|
3718
3771
|
|
|
3772
|
+
declare type Shape_5 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3773
|
+
|
|
3774
|
+
declare type Shape_6 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3775
|
+
|
|
3719
3776
|
declare type Shape_7 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3720
3777
|
|
|
3778
|
+
declare type Shape_8 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3779
|
+
|
|
3721
3780
|
declare type Shape_9 = 'default' | 'square' | 'rounded' | 'pill';
|
|
3722
3781
|
|
|
3723
3782
|
export declare const ShapeIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
@@ -3788,7 +3847,7 @@ declare interface SidebarContextType {
|
|
|
3788
3847
|
expand: () => void;
|
|
3789
3848
|
collapse: () => void;
|
|
3790
3849
|
position: Position_6;
|
|
3791
|
-
size:
|
|
3850
|
+
size: Size_32;
|
|
3792
3851
|
variant: Variant_28;
|
|
3793
3852
|
views?: SidebarStyles;
|
|
3794
3853
|
}
|
|
@@ -3815,7 +3874,7 @@ export declare interface SidebarHeaderProps {
|
|
|
3815
3874
|
export declare interface SidebarProps {
|
|
3816
3875
|
children: default_2.ReactNode;
|
|
3817
3876
|
position?: Position_6;
|
|
3818
|
-
size?:
|
|
3877
|
+
size?: Size_32;
|
|
3819
3878
|
variant?: Variant_28;
|
|
3820
3879
|
defaultExpanded?: boolean;
|
|
3821
3880
|
expanded?: boolean;
|
|
@@ -3827,7 +3886,7 @@ export declare interface SidebarProps {
|
|
|
3827
3886
|
collapsedWidth?: string | number;
|
|
3828
3887
|
breakpoint?: number;
|
|
3829
3888
|
breakpointBehavior?: BreakpointBehavior;
|
|
3830
|
-
elevation?:
|
|
3889
|
+
elevation?: Elevation_2;
|
|
3831
3890
|
transitionPreset?: TransitionPreset;
|
|
3832
3891
|
ariaLabel?: string;
|
|
3833
3892
|
views?: SidebarStyles;
|
|
@@ -3861,47 +3920,78 @@ declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
|
3861
3920
|
|
|
3862
3921
|
declare type Size_10 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3863
3922
|
|
|
3923
|
+
declare type Size_11 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3924
|
+
|
|
3925
|
+
declare type Size_12 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3926
|
+
|
|
3864
3927
|
declare type Size_13 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3865
3928
|
|
|
3866
|
-
declare type
|
|
3929
|
+
declare type Size_14 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3867
3930
|
|
|
3868
|
-
declare type
|
|
3931
|
+
declare type Size_15 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3869
3932
|
|
|
3870
3933
|
/**
|
|
3871
|
-
* Size
|
|
3934
|
+
* Size configurations following 4px grid system
|
|
3872
3935
|
*/
|
|
3936
|
+
declare type Size_16 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3937
|
+
|
|
3938
|
+
declare type Size_17 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3939
|
+
|
|
3940
|
+
declare type Size_18 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3941
|
+
|
|
3873
3942
|
declare type Size_19 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3874
3943
|
|
|
3875
3944
|
declare type Size_2 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3876
3945
|
|
|
3946
|
+
/**
|
|
3947
|
+
* Size options for the ChatInput component
|
|
3948
|
+
*/
|
|
3877
3949
|
declare type Size_20 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3878
3950
|
|
|
3879
3951
|
declare type Size_21 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3880
3952
|
|
|
3881
3953
|
declare type Size_22 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3882
3954
|
|
|
3883
|
-
declare type
|
|
3955
|
+
declare type Size_23 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3956
|
+
|
|
3957
|
+
declare type Size_24 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3958
|
+
|
|
3959
|
+
declare type Size_25 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3960
|
+
|
|
3961
|
+
declare type Size_26 = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
3884
3962
|
|
|
3885
3963
|
declare type Size_27 = 'sm' | 'md' | 'lg';
|
|
3886
3964
|
|
|
3887
|
-
declare type Size_28 = '
|
|
3965
|
+
declare type Size_28 = 'sm' | 'md' | 'lg';
|
|
3966
|
+
|
|
3967
|
+
declare type Size_29 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3888
3968
|
|
|
3889
|
-
declare type
|
|
3969
|
+
declare type Size_3 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3890
3970
|
|
|
3891
3971
|
declare type Size_30 = 'sm' | 'md' | 'lg';
|
|
3892
3972
|
|
|
3893
|
-
declare type Size_31 = 'sm' | 'md' | 'lg'
|
|
3973
|
+
declare type Size_31 = 'sm' | 'md' | 'lg';
|
|
3894
3974
|
|
|
3895
|
-
declare type Size_32 = 'sm' | 'md' | 'lg';
|
|
3975
|
+
declare type Size_32 = 'sm' | 'md' | 'lg' | 'xl';
|
|
3896
3976
|
|
|
3897
3977
|
declare type Size_33 = 'sm' | 'md' | 'lg';
|
|
3898
3978
|
|
|
3899
3979
|
declare type Size_34 = 'sm' | 'md' | 'lg';
|
|
3900
3980
|
|
|
3981
|
+
declare type Size_35 = 'sm' | 'md' | 'lg';
|
|
3982
|
+
|
|
3983
|
+
declare type Size_4 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3984
|
+
|
|
3901
3985
|
declare type Size_5 = 'sm' | 'md' | 'lg';
|
|
3902
3986
|
|
|
3903
3987
|
declare type Size_6 = 'sm' | 'md' | 'lg';
|
|
3904
3988
|
|
|
3989
|
+
declare type Size_7 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3990
|
+
|
|
3991
|
+
declare type Size_8 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3992
|
+
|
|
3993
|
+
declare type Size_9 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3994
|
+
|
|
3905
3995
|
declare type SlideDirection = 'horizontal' | 'vertical';
|
|
3906
3996
|
|
|
3907
3997
|
export declare const Slider: default_2.FC<SliderProps>;
|
|
@@ -3916,7 +4006,7 @@ declare interface SliderProps extends Omit<InputProps, 'size' | 'onChange' | 'on
|
|
|
3916
4006
|
step?: number;
|
|
3917
4007
|
stepValues?: number[];
|
|
3918
4008
|
shape?: Shape_15;
|
|
3919
|
-
size?:
|
|
4009
|
+
size?: Size_21;
|
|
3920
4010
|
variant?: Variant_17;
|
|
3921
4011
|
orientation?: Orientation;
|
|
3922
4012
|
isDisabled?: boolean;
|
|
@@ -3945,6 +4035,8 @@ declare interface SliderStyles {
|
|
|
3945
4035
|
};
|
|
3946
4036
|
}
|
|
3947
4037
|
|
|
4038
|
+
declare type Speed = 'fast' | 'normal' | 'slow';
|
|
4039
|
+
|
|
3948
4040
|
export declare const SpinnerIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
3949
4041
|
|
|
3950
4042
|
export declare const SplashScreen: default_2.FC<SplashScreenProps>;
|
|
@@ -4009,6 +4101,11 @@ declare type StatusIndicatorStyles = {
|
|
|
4009
4101
|
|
|
4010
4102
|
export declare const StopIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
4011
4103
|
|
|
4104
|
+
declare type Styles = {
|
|
4105
|
+
icon?: ViewProps;
|
|
4106
|
+
text?: ViewProps;
|
|
4107
|
+
};
|
|
4108
|
+
|
|
4012
4109
|
export declare const SuccessIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
4013
4110
|
|
|
4014
4111
|
declare interface Suggestion {
|
|
@@ -4029,7 +4126,7 @@ export declare interface SwitchProps extends Omit<InputProps, 'size' | 'onChange
|
|
|
4029
4126
|
name?: string;
|
|
4030
4127
|
inActiveChild?: React.ReactNode;
|
|
4031
4128
|
views?: SwitchStyles;
|
|
4032
|
-
shadow?: Shadow |
|
|
4129
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
4033
4130
|
size?: Size_8;
|
|
4034
4131
|
labelPosition?: 'left' | 'right';
|
|
4035
4132
|
label?: React.ReactNode;
|
|
@@ -4037,6 +4134,12 @@ export declare interface SwitchProps extends Omit<InputProps, 'size' | 'onChange
|
|
|
4037
4134
|
variant?: string;
|
|
4038
4135
|
}
|
|
4039
4136
|
|
|
4137
|
+
declare type SwitchStyles = {
|
|
4138
|
+
slider?: ViewProps;
|
|
4139
|
+
circle?: ViewProps;
|
|
4140
|
+
label?: ViewProps;
|
|
4141
|
+
};
|
|
4142
|
+
|
|
4040
4143
|
export declare interface SwitchViewProps extends SwitchProps {
|
|
4041
4144
|
isHovered: boolean;
|
|
4042
4145
|
setIsHovered: Function;
|
|
@@ -4046,6 +4149,22 @@ export declare interface SwitchViewProps extends SwitchProps {
|
|
|
4046
4149
|
setOn?: Function;
|
|
4047
4150
|
}
|
|
4048
4151
|
|
|
4152
|
+
/**
|
|
4153
|
+
* Defines the structure for a single tab.
|
|
4154
|
+
*/
|
|
4155
|
+
declare type Tab = {
|
|
4156
|
+
/** The text displayed on the tab header/button. */
|
|
4157
|
+
title?: string;
|
|
4158
|
+
/** Optional label used as an alternative to `title` in some compositions. */
|
|
4159
|
+
label?: default_2.ReactNode;
|
|
4160
|
+
/** Unique value to identify the tab. If not provided, title will be used. */
|
|
4161
|
+
value?: string | number;
|
|
4162
|
+
/** Optional icon element to display next to the title. */
|
|
4163
|
+
icon?: default_2.ReactNode;
|
|
4164
|
+
/** The content to display when this tab is active. Can be any renderable React node. */
|
|
4165
|
+
content?: default_2.ReactNode;
|
|
4166
|
+
};
|
|
4167
|
+
|
|
4049
4168
|
export declare const Table: {
|
|
4050
4169
|
({ children, views, onClick }: TableLayoutProps): default_2.JSX.Element;
|
|
4051
4170
|
Head: default_2.FC<ViewProps>;
|
|
@@ -4164,6 +4283,27 @@ export declare interface TabsProps {
|
|
|
4164
4283
|
children?: default_2.ReactNode;
|
|
4165
4284
|
}
|
|
4166
4285
|
|
|
4286
|
+
/**
|
|
4287
|
+
* Defines the structure for applying custom styles to various parts of the Tabs component.
|
|
4288
|
+
* Allows using either direct CSSProperties or passing props compatible with underlying Button/Text components.
|
|
4289
|
+
*/
|
|
4290
|
+
declare type TabsStyles = {
|
|
4291
|
+
/** Styles for the main container wrapping the tabs and content. */
|
|
4292
|
+
container?: ViewProps;
|
|
4293
|
+
/** Styles applied specifically to the active tab header. Merged with `tab` views. */
|
|
4294
|
+
activeTab?: ViewProps;
|
|
4295
|
+
/** Styles applied specifically to the text within the active tab header. Merged with `title` views. */
|
|
4296
|
+
activeText?: ViewProps;
|
|
4297
|
+
/** Styles applied to each tab header (both active and inactive). */
|
|
4298
|
+
tab?: ViewProps;
|
|
4299
|
+
/** Styles applied to the content area displaying the active tab's content. */
|
|
4300
|
+
content?: ViewProps;
|
|
4301
|
+
/** Styles applied to the text within each tab header (both active and inactive). */
|
|
4302
|
+
title?: ViewProps;
|
|
4303
|
+
/** Styles applied to the container element that wraps the tab buttons/headers. */
|
|
4304
|
+
headerTabs?: ViewProps;
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4167
4307
|
declare const TabsTrigger: default_2.FC<TabsTriggerProps>;
|
|
4168
4308
|
|
|
4169
4309
|
/**
|
|
@@ -4189,6 +4329,8 @@ declare interface TabsType extends default_2.FC<TabsProps> {
|
|
|
4189
4329
|
Content: typeof TabsContent;
|
|
4190
4330
|
}
|
|
4191
4331
|
|
|
4332
|
+
declare type TabsVariant = 'underline' | 'segmented' | 'pill';
|
|
4333
|
+
|
|
4192
4334
|
/**
|
|
4193
4335
|
* Props specifically for the TabsView component (Internal).
|
|
4194
4336
|
* These props are derived or passed down from the main Tabs component.
|
|
@@ -4233,10 +4375,10 @@ declare interface TagInputProps extends Omit<InputProps, 'size' | 'value' | 'onC
|
|
|
4233
4375
|
isReadOnly?: boolean;
|
|
4234
4376
|
isAutoFocus?: boolean;
|
|
4235
4377
|
isRemovable?: boolean;
|
|
4236
|
-
size?:
|
|
4378
|
+
size?: Size_17;
|
|
4237
4379
|
shape?: Shape_12;
|
|
4238
4380
|
variant?: Variant_14;
|
|
4239
|
-
shadow?: Shadow |
|
|
4381
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
4240
4382
|
views?: TagInputStyles;
|
|
4241
4383
|
left?: default_2.ReactNode;
|
|
4242
4384
|
right?: default_2.ReactNode;
|
|
@@ -4288,7 +4430,7 @@ export declare interface TextAreaProps extends Omit<InputProps, 'size' | 'shadow
|
|
|
4288
4430
|
onBlur?: (value: any) => void;
|
|
4289
4431
|
onFocus?: () => void;
|
|
4290
4432
|
size?: Size_10;
|
|
4291
|
-
shadow?: Shadow |
|
|
4433
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
4292
4434
|
shape?: Shape_7;
|
|
4293
4435
|
views?: TextAreaStyles;
|
|
4294
4436
|
value?: string | number;
|
|
@@ -4326,6 +4468,8 @@ export declare interface TextAreaViewProps extends TextAreaProps {
|
|
|
4326
4468
|
setIsFocused?: Function;
|
|
4327
4469
|
}
|
|
4328
4470
|
|
|
4471
|
+
declare type TextDecorationStyle = 'default' | 'hover' | 'underline';
|
|
4472
|
+
|
|
4329
4473
|
export declare const TextField: default_2.FC<TextFieldProps>;
|
|
4330
4474
|
|
|
4331
4475
|
export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shadow' | 'left' | 'right'> {
|
|
@@ -4352,7 +4496,7 @@ export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shado
|
|
|
4352
4496
|
onClick?: () => void;
|
|
4353
4497
|
onFocus?: () => void;
|
|
4354
4498
|
size?: Size_11;
|
|
4355
|
-
shadow?: Shadow |
|
|
4499
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
4356
4500
|
shape?: Shape_8;
|
|
4357
4501
|
views?: TextFieldStyles;
|
|
4358
4502
|
value?: string;
|
|
@@ -4364,6 +4508,15 @@ export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shado
|
|
|
4364
4508
|
} | null) => void;
|
|
4365
4509
|
}
|
|
4366
4510
|
|
|
4511
|
+
declare type TextFieldStyles = {
|
|
4512
|
+
container?: ViewProps;
|
|
4513
|
+
text?: ViewProps;
|
|
4514
|
+
label?: ViewProps;
|
|
4515
|
+
helperText?: ViewProps;
|
|
4516
|
+
field?: ViewProps;
|
|
4517
|
+
content?: ViewProps;
|
|
4518
|
+
};
|
|
4519
|
+
|
|
4367
4520
|
export declare interface TextFieldViewProps extends TextFieldProps {
|
|
4368
4521
|
hint?: string;
|
|
4369
4522
|
setHint?: Function;
|
|
@@ -4377,6 +4530,8 @@ export declare interface TextFieldViewProps extends TextFieldProps {
|
|
|
4377
4530
|
|
|
4378
4531
|
export declare const TextIcon: default_2.FC<Omit<IconProps, "name">>;
|
|
4379
4532
|
|
|
4533
|
+
declare type TextPosition = 'right' | 'left' | 'top' | 'bottom';
|
|
4534
|
+
|
|
4380
4535
|
declare type Theme = {
|
|
4381
4536
|
container: {
|
|
4382
4537
|
backgroundColor?: string;
|
|
@@ -4615,7 +4770,7 @@ export declare interface TooltipProps {
|
|
|
4615
4770
|
children: default_2.ReactNode;
|
|
4616
4771
|
position?: Position_7;
|
|
4617
4772
|
align?: Alignment_3;
|
|
4618
|
-
size?:
|
|
4773
|
+
size?: Size_34;
|
|
4619
4774
|
variant?: Variant_30;
|
|
4620
4775
|
openDelay?: number;
|
|
4621
4776
|
closeDelay?: number;
|
|
@@ -4787,8 +4942,14 @@ export declare interface UseUploadProps {
|
|
|
4787
4942
|
|
|
4788
4943
|
declare type Variant = 'default' | 'outline' | 'filled';
|
|
4789
4944
|
|
|
4945
|
+
declare type Variant_10 = 'outline' | 'default' | 'none';
|
|
4946
|
+
|
|
4790
4947
|
declare type Variant_11 = 'outline' | 'default' | 'none';
|
|
4791
4948
|
|
|
4949
|
+
declare type Variant_12 = 'default' | 'outline' | 'none';
|
|
4950
|
+
|
|
4951
|
+
declare type Variant_13 = 'default' | 'outline' | 'none';
|
|
4952
|
+
|
|
4792
4953
|
declare type Variant_14 = 'outline' | 'default' | 'none';
|
|
4793
4954
|
|
|
4794
4955
|
declare type Variant_15 = 'outline' | 'default' | 'none';
|
|
@@ -4832,10 +4993,16 @@ declare type Variant_30 = 'default' | 'light' | 'dark';
|
|
|
4832
4993
|
|
|
4833
4994
|
declare type Variant_31 = 'default' | 'glassy' | 'minimal';
|
|
4834
4995
|
|
|
4996
|
+
declare type Variant_4 = 'filled' | 'outline' | 'empty' | 'ghost' | 'link' | 'subtle';
|
|
4997
|
+
|
|
4835
4998
|
declare type Variant_5 = 'default' | 'outlined' | 'elevated';
|
|
4836
4999
|
|
|
4837
5000
|
declare type Variant_6 = 'default' | 'filled' | 'outline';
|
|
4838
5001
|
|
|
5002
|
+
declare type Variant_7 = 'outline' | 'default' | 'none';
|
|
5003
|
+
|
|
5004
|
+
declare type Variant_8 = 'outline' | 'default' | 'none';
|
|
5005
|
+
|
|
4839
5006
|
declare type Variant_9 = 'outline' | 'default' | 'none';
|
|
4840
5007
|
|
|
4841
5008
|
export declare const VideoIcon: default_2.FC<Omit<IconProps, "name">>;
|