@app-studio/components 0.10.21 → 0.10.23

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.
Files changed (112) hide show
  1. package/dist/index.d.ts +230 -73
  2. package/dist/native/components/Background/Background/Background.view.js +7 -2
  3. package/dist/native/components/Background/Background/Background.view.js.map +1 -1
  4. package/dist/native/components/Button/Button/Button.props.d.ts +1 -0
  5. package/dist/native/components/Button/Button/Button.style.d.ts +14 -0
  6. package/dist/native/components/Button/Button/Button.style.js +19 -5
  7. package/dist/native/components/Button/Button/Button.style.js.map +1 -1
  8. package/dist/native/components/Button/Button/Button.type.d.ts +9 -0
  9. package/dist/native/components/Button/Button/Button.type.js +3 -0
  10. package/dist/native/components/Button/Button/Button.type.js.map +1 -0
  11. package/dist/native/components/Button/Button/Button.view.js +15 -7
  12. package/dist/native/components/Button/Button/Button.view.js.map +1 -1
  13. package/dist/native/components/Button/Button/Button.view.native.js +8 -3
  14. package/dist/native/components/Button/Button/Button.view.native.js.map +1 -1
  15. package/dist/native/components/Button/Button.js +12 -1
  16. package/dist/native/components/Button/Button.js.map +1 -1
  17. package/dist/native/components/Drawer/Drawer/Drawer.type.d.ts +3 -0
  18. package/dist/native/components/Drawer/Drawer/Drawer.type.js +2 -0
  19. package/dist/native/components/Drawer/Drawer/Drawer.type.js.map +1 -0
  20. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +8 -0
  21. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.js +2 -0
  22. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.type.js.map +1 -0
  23. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +2 -1
  24. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +19 -0
  25. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.js +2 -0
  26. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.type.js.map +1 -0
  27. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js +3 -2
  28. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js.map +1 -1
  29. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.js +2 -2
  30. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +12 -0
  31. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.js +2 -0
  32. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.type.js.map +1 -0
  33. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js +5 -2
  34. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js.map +1 -1
  35. package/dist/native/components/Form/Label/Label/Label.props.d.ts +1 -1
  36. package/dist/native/components/Form/Password/Password/Password.type.d.ts +10 -0
  37. package/dist/native/components/Form/Password/Password/Password.type.js +2 -0
  38. package/dist/native/components/Form/Password/Password/Password.type.js.map +1 -0
  39. package/dist/native/components/Form/Password/Password.js +22 -3
  40. package/dist/native/components/Form/Password/Password.js.map +1 -1
  41. package/dist/native/components/Form/Radio/Radio/Radio.type.d.ts +8 -0
  42. package/dist/native/components/Form/Radio/Radio/Radio.type.js +2 -0
  43. package/dist/native/components/Form/Radio/Radio/Radio.type.js.map +1 -0
  44. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.d.ts +7 -0
  45. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.js +2 -0
  46. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.type.js.map +1 -0
  47. package/dist/native/components/Form/Select/Select/Select.props.d.ts +2 -2
  48. package/dist/native/components/Form/Select/Select/Select.type.d.ts +19 -0
  49. package/dist/native/components/Form/Select/Select/Select.type.js +2 -0
  50. package/dist/native/components/Form/Select/Select/Select.type.js.map +1 -0
  51. package/dist/native/components/Form/Select/Select/Select.view.js +15 -30
  52. package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
  53. package/dist/native/components/Form/Selector/Selector/Selector.type.d.ts +19 -0
  54. package/dist/native/components/Form/Selector/Selector/Selector.type.js +2 -0
  55. package/dist/native/components/Form/Selector/Selector/Selector.type.js.map +1 -0
  56. package/dist/native/components/Form/Switch/Switch/Switch.type.d.ts +7 -0
  57. package/dist/native/components/Form/Switch/Switch/Switch.type.js +2 -0
  58. package/dist/native/components/Form/Switch/Switch/Switch.type.js.map +1 -0
  59. package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js +6 -1
  60. package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js.map +1 -1
  61. package/dist/native/components/Form/TextField/TextField/TextField.type.d.ts +12 -0
  62. package/dist/native/components/Form/TextField/TextField/TextField.type.js +2 -0
  63. package/dist/native/components/Form/TextField/TextField/TextField.type.js.map +1 -0
  64. package/dist/native/components/Form/TextField/TextField/TextField.view.js +4 -1
  65. package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
  66. package/dist/native/components/Input/FieldContainer/FieldContainer.js +1 -1
  67. package/dist/native/components/Input/FieldContainer/FieldContainer.js.map +1 -1
  68. package/dist/native/components/Input/FieldContent/FieldContent.js +13 -1
  69. package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -1
  70. package/dist/native/components/Input/FieldWrapper/FieldWrapper.js +1 -1
  71. package/dist/native/components/Input/FieldWrapper/FieldWrapper.js.map +1 -1
  72. package/dist/native/components/Input/fieldSizes.d.ts +33 -0
  73. package/dist/native/components/Input/fieldSizes.js +37 -0
  74. package/dist/native/components/Input/fieldSizes.js.map +1 -0
  75. package/dist/native/components/Link/Link/Link.props.d.ts +5 -3
  76. package/dist/native/components/Link/Link/Link.type.d.ts +7 -0
  77. package/dist/native/components/Link/Link/Link.type.js +2 -0
  78. package/dist/native/components/Link/Link/Link.type.js.map +1 -0
  79. package/dist/native/components/Link/Link/Link.view.js +40 -25
  80. package/dist/native/components/Link/Link/Link.view.js.map +1 -1
  81. package/dist/native/components/Link/Link/Link.view.native.js +4 -3
  82. package/dist/native/components/Link/Link/Link.view.native.js.map +1 -1
  83. package/dist/native/components/Link/Link.js +1 -5
  84. package/dist/native/components/Link/Link.js.map +1 -1
  85. package/dist/native/components/Loader/Loader/Loader.type.d.ts +4 -0
  86. package/dist/native/components/Loader/Loader/Loader.type.js +2 -0
  87. package/dist/native/components/Loader/Loader/Loader.type.js.map +1 -0
  88. package/dist/native/components/Modal/Modal/Modal.type.d.ts +4 -0
  89. package/dist/native/components/Modal/Modal/Modal.type.js +2 -0
  90. package/dist/native/components/Modal/Modal/Modal.type.js.map +1 -0
  91. package/dist/native/components/Router/Router.match.js +1 -1
  92. package/dist/native/components/Router/Router.match.js.map +1 -1
  93. package/dist/native/components/Router/index.d.ts +1 -1
  94. package/dist/native/components/Slider/Slider/Slider.state.js +7 -4
  95. package/dist/native/components/Slider/Slider/Slider.state.js.map +1 -1
  96. package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +53 -0
  97. package/dist/native/components/Tabs/Tabs/Tabs.type.js +2 -0
  98. package/dist/native/components/Tabs/Tabs/Tabs.type.js.map +1 -0
  99. package/dist/native/components/Toast/Toast/Toast.view.js +3 -3
  100. package/dist/native/components/Toast/Toast/Toast.view.js.map +1 -1
  101. package/dist/native/pages/designSystem.page.js +12 -10
  102. package/dist/native/pages/designSystem.page.js.map +1 -1
  103. package/dist/web.cjs.js +7 -7
  104. package/dist/web.cjs.js.map +1 -1
  105. package/dist/web.esm.js +4706 -4695
  106. package/dist/web.esm.js.map +1 -1
  107. package/dist/web.umd.js +7 -7
  108. package/dist/web.umd.js.map +1 -1
  109. package/docs/design-system/llm-design-system.md +41 -9
  110. package/docs/design-system/theming.md +38 -0
  111. package/docs/getting-started/introduction.md +74 -4
  112. 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;
@@ -553,6 +501,7 @@ export declare interface ButtonProps extends Omit<ButtonProps_2, 'size' | 'onCli
553
501
  animation?: Animation_2;
554
502
  color?: string;
555
503
  textColor?: string;
504
+ explicitTextColor?: string;
556
505
  reversed?: boolean;
557
506
  borderMovingDuration?: number;
558
507
  borderMovingGradientColors?: string[];
@@ -1212,10 +1161,16 @@ export declare interface CheckboxProps extends Omit<InputProps, 'size' | 'onChan
1212
1161
  onValueChange?: Function;
1213
1162
  views?: CheckboxStyles;
1214
1163
  size?: Size_12;
1215
- shadow?: Shadow | Elevation_2 | ViewProps;
1164
+ shadow?: Shadow | Elevation | ViewProps;
1216
1165
  infoText?: string;
1217
1166
  }
1218
1167
 
1168
+ declare type CheckboxStyles = {
1169
+ checkbox?: ViewProps;
1170
+ label?: ViewProps;
1171
+ infoText?: ViewProps;
1172
+ };
1173
+
1219
1174
  export declare interface CheckboxViewProps extends CheckboxProps {
1220
1175
  isHovered?: boolean;
1221
1176
  setIsHovered?: (hovered: boolean) => void;
@@ -1231,6 +1186,10 @@ export declare const ChevronIcon: default_2.FC<Omit<IconProps, "name">>;
1231
1186
 
1232
1187
  export declare const ClockIcon: default_2.FC<Omit<IconProps, "name">>;
1233
1188
 
1189
+ declare type CloseButtonPosition = 'left' | 'right' | 'none';
1190
+
1191
+ declare type CloseButtonPosition_2 = 'left' | 'right' | 'none';
1192
+
1234
1193
  export declare const CloseEyeIcon: default_2.FC<Omit<IconProps, "name">>;
1235
1194
 
1236
1195
  export declare const CloseIcon: default_2.FC<Omit<IconProps, "name">>;
@@ -1258,7 +1217,7 @@ export declare interface ColorInputProps extends Omit<InputProps, 'size' | 'onCh
1258
1217
  onClick?: () => void;
1259
1218
  onFocus?: () => void;
1260
1219
  size?: Size_13;
1261
- shadow?: Shadow | Elevation_2 | ViewProps;
1220
+ shadow?: Shadow | Elevation | ViewProps;
1262
1221
  shape?: Shape_9;
1263
1222
  views?: ColorInputStyles;
1264
1223
  value?: string;
@@ -1285,7 +1244,7 @@ declare type ColorInputStyles = {
1285
1244
  dropdown?: ViewProps;
1286
1245
  colorGrid?: ViewProps;
1287
1246
  colorSwatch?: ViewProps;
1288
- customInput?: ViewProps;
1247
+ customInput?: TextFieldStyles;
1289
1248
  recentColors?: ViewProps;
1290
1249
  };
1291
1250
 
@@ -1711,6 +1670,13 @@ declare type CookieConsentVariant = 'default' | 'info' | 'primary';
1711
1670
 
1712
1671
  export declare const CopyIcon: default_2.FC<Omit<IconProps, "name">>;
1713
1672
 
1673
+ declare type Country = {
1674
+ name: string;
1675
+ dial_code: string;
1676
+ emoji: string;
1677
+ code: string;
1678
+ };
1679
+
1714
1680
  export declare const CountryPicker: default_2.FC<CountryPickerProps>;
1715
1681
 
1716
1682
  export declare interface CountryPickerDropDownProps extends Omit<InputProps, 'size'> {
@@ -1737,9 +1703,19 @@ export declare interface CountryPickerProps extends Omit<InputProps, 'size' | 's
1737
1703
  size?: Size_14;
1738
1704
  value?: string;
1739
1705
  variant?: Variant_12;
1740
- shadow?: Shadow | Elevation_2 | ViewProps;
1706
+ shadow?: Shadow | Elevation | ViewProps;
1741
1707
  }
1742
1708
 
1709
+ declare type CountryPickerStyles = {
1710
+ text?: ViewProps;
1711
+ icon?: ViewProps;
1712
+ dropDown?: ViewProps;
1713
+ container?: ViewProps;
1714
+ label?: ViewProps;
1715
+ helperText?: ViewProps;
1716
+ field?: ViewProps;
1717
+ };
1718
+
1743
1719
  export declare interface CountryPickerViewProps extends CountryPickerProps {
1744
1720
  isHovered?: boolean;
1745
1721
  setIsHovered?: (hovered: boolean) => void;
@@ -1829,9 +1805,17 @@ export declare interface DatePickerProps extends Omit<ViewProps, 'size' | 'shado
1829
1805
  /**
1830
1806
  * Adds a shadow effect to the DatePicker.
1831
1807
  */
1832
- shadow?: Shadow | Elevation_2 | ViewProps;
1808
+ shadow?: Shadow | Elevation | ViewProps;
1833
1809
  }
1834
1810
 
1811
+ declare type DatePickerStyles = {
1812
+ container?: ViewProps;
1813
+ text?: ViewProps;
1814
+ label?: ViewProps;
1815
+ helperText?: ViewProps;
1816
+ field?: ViewProps;
1817
+ };
1818
+
1835
1819
  export declare interface DatePickerViewProps extends DatePickerProps {
1836
1820
  /**
1837
1821
  * The selected date value as a string.
@@ -2251,7 +2235,11 @@ export declare const DustBinIcon: default_2.FC<Omit<IconProps, "name">>;
2251
2235
 
2252
2236
  export declare const EditIcon: default_2.FC<Omit<IconProps, "name">>;
2253
2237
 
2254
- declare type Elevation_3 = 'none' | 'low' | 'medium' | 'high';
2238
+ declare type Elevation = {
2239
+ elevation: number;
2240
+ };
2241
+
2242
+ declare type Elevation_2 = 'none' | 'low' | 'medium' | 'high';
2255
2243
 
2256
2244
  declare type Emoji = {
2257
2245
  emoji: string;
@@ -2688,6 +2676,8 @@ export declare interface IconPickerViewProps extends IconPickerProps {
2688
2676
  dropdownRef: React.RefObject<HTMLDivElement | null>;
2689
2677
  }
2690
2678
 
2679
+ declare type IconPosition = 'left' | 'right' | 'top' | 'bottom';
2680
+
2691
2681
  export declare interface IconProps extends Omit<ViewProps, 'orientation' | 'name' | 'size'> {
2692
2682
  color?: string;
2693
2683
  filled?: boolean;
@@ -2708,11 +2698,11 @@ export declare const InfoIcon: default_2.FC<Omit<IconProps, "name">>;
2708
2698
 
2709
2699
  export declare const InstagramIcon: default_2.FC<Omit<IconProps, "name">>;
2710
2700
 
2711
- export declare interface ItemProps extends Omit<InputProps, 'size'> {
2701
+ export declare interface ItemProps extends Omit<InputProps, 'size' | 'style'> {
2712
2702
  callback?: Function;
2713
2703
  option: Option_2;
2714
2704
  size?: Size_7;
2715
- style?: SelectStyles;
2705
+ style?: ViewProps;
2716
2706
  isHovered?: boolean;
2717
2707
  setIsHovered?: Function;
2718
2708
  }
@@ -2759,17 +2749,21 @@ export declare interface LinkProps extends Omit<ViewProps, 'size'> {
2759
2749
  underline?: TextDecorationStyle;
2760
2750
  isExternal?: boolean;
2761
2751
  iconSize?: Size_23;
2762
- to: string;
2752
+ to?: string;
2753
+ href?: string;
2754
+ onClick?: (event: default_2.MouseEvent) => void;
2763
2755
  views?: Styles;
2764
2756
  }
2765
2757
 
2766
2758
  export declare interface LinkViewProps extends LinkProps {
2767
- isHovered: boolean;
2768
- setIsHovered: Function;
2759
+ isHovered?: boolean;
2760
+ setIsHovered?: Function;
2769
2761
  }
2770
2762
 
2771
2763
  export declare const Loader: default_2.FC<LoaderProps>;
2772
2764
 
2765
+ declare type LoaderPosition = 'left' | 'right';
2766
+
2773
2767
  export declare interface LoaderProps extends Omit<ViewProps, 'size'> {
2774
2768
  children?: default_2.ReactNode;
2775
2769
  loaderColor?: string;
@@ -2780,6 +2774,8 @@ export declare interface LoaderProps extends Omit<ViewProps, 'size'> {
2780
2774
  speed?: Speed;
2781
2775
  }
2782
2776
 
2777
+ declare type LoaderType = 'default' | 'dotted' | 'quarter';
2778
+
2783
2779
  export declare const LoadingSpinnerIcon: default_2.FC<Omit<IconProps, "name">>;
2784
2780
 
2785
2781
  export declare const LockIcon: default_2.FC<Omit<IconProps, "name">>;
@@ -3177,6 +3173,17 @@ export declare const NotificationIcon: default_2.FC<Omit<IconProps, "name">>;
3177
3173
 
3178
3174
  export declare const OpenEyeIcon: default_2.FC<Omit<IconProps, "name">>;
3179
3175
 
3176
+ declare interface Option_2 {
3177
+ label: string;
3178
+ value: string;
3179
+ }
3180
+
3181
+ declare interface Option_3 {
3182
+ label: string;
3183
+ value: string;
3184
+ color?: string;
3185
+ }
3186
+
3180
3187
  declare type Orientation = 'horizontal' | 'vertical';
3181
3188
 
3182
3189
  declare type Orientation_2 = 'horizontal' | 'vertical';
@@ -3371,6 +3378,8 @@ export declare interface PasswordViewProps extends PasswordProps {
3371
3378
 
3372
3379
  export declare const PauseIcon: default_2.FC<Omit<IconProps, "name">>;
3373
3380
 
3381
+ declare type Placement = 'left' | 'right' | 'top' | 'bottom';
3382
+
3374
3383
  export declare const PlayIcon: default_2.FC<Omit<IconProps, "name">>;
3375
3384
 
3376
3385
  export declare const PlusIcon: default_2.FC<Omit<IconProps, "name">>;
@@ -3381,6 +3390,8 @@ declare type Position_2 = 'top' | 'right' | 'bottom' | 'left';
3381
3390
 
3382
3391
  declare type Position_3 = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
3383
3392
 
3393
+ declare type Position_4 = 'top' | 'left' | 'right' | 'bottom' | 'center';
3394
+
3384
3395
  declare type Position_5 = 'top' | 'right' | 'bottom' | 'left';
3385
3396
 
3386
3397
  declare type Position_6 = 'left' | 'right';
@@ -3466,10 +3477,16 @@ declare interface RadioProps extends Omit<InputProps, 'size' | 'onChange' | 'sha
3466
3477
  onValueChange?: Function;
3467
3478
  views?: RadioStyles;
3468
3479
  size?: Size_18;
3469
- shadow?: Shadow | Elevation_2 | ViewProps;
3480
+ shadow?: Shadow | Elevation | ViewProps;
3470
3481
  infoText?: string;
3471
3482
  }
3472
3483
 
3484
+ declare type RadioStyles = {
3485
+ radio?: ViewProps;
3486
+ label?: ViewProps;
3487
+ infoText?: ViewProps;
3488
+ };
3489
+
3473
3490
  export declare const RefreshIcon: default_2.FC<Omit<IconProps, "name">>;
3474
3491
 
3475
3492
  export declare const Resizable: ResizableType;
@@ -3617,10 +3634,21 @@ declare interface SelectorProps extends Omit<InputProps, 'size' | 'shadow' | 'va
3617
3634
  variant?: Variant_8;
3618
3635
  views?: SelectorStyles;
3619
3636
  size?: Size_9;
3620
- shadow?: Shadow | Elevation_2 | ViewProps;
3637
+ shadow?: Shadow | Elevation | ViewProps;
3621
3638
  isScrollable?: boolean;
3622
3639
  }
3623
3640
 
3641
+ declare type SelectorStyles = {
3642
+ text?: ViewProps;
3643
+ icon?: ViewProps;
3644
+ dropDown?: ViewProps;
3645
+ selectBox?: ViewProps;
3646
+ label?: ViewProps;
3647
+ helperText?: ViewProps;
3648
+ field?: ViewProps;
3649
+ item?: ViewProps;
3650
+ };
3651
+
3624
3652
  export declare interface SelectProps extends Omit<InputProps, 'size' | 'shadow' | 'value'> {
3625
3653
  id?: string;
3626
3654
  error?: boolean;
@@ -3640,11 +3668,23 @@ export declare interface SelectProps extends Omit<InputProps, 'size' | 'shadow'
3640
3668
  variant?: Variant_7;
3641
3669
  views?: SelectStyles;
3642
3670
  size?: Size_7;
3643
- shadow?: Shadow | Elevation_2 | ViewProps;
3671
+ shadow?: Shadow | Elevation | ViewProps;
3644
3672
  isScrollable?: boolean;
3645
3673
  labelProps?: any;
3646
3674
  }
3647
3675
 
3676
+ declare type SelectStyles = {
3677
+ container?: ViewProps;
3678
+ content?: ViewProps;
3679
+ text?: ViewProps;
3680
+ icon?: ViewProps;
3681
+ dropDown?: ViewProps;
3682
+ selectBox?: ViewProps;
3683
+ label?: ViewProps;
3684
+ helperText?: ViewProps;
3685
+ field?: ViewProps;
3686
+ };
3687
+
3648
3688
  export declare interface SelectViewProps extends SelectProps {
3649
3689
  value: string | Array<string>;
3650
3690
  setValue: Function;
@@ -3688,6 +3728,10 @@ export declare const SettingsIcon: default_2.FC<Omit<IconProps, "name">>;
3688
3728
 
3689
3729
  declare type Shape = 'square' | 'rounded';
3690
3730
 
3731
+ declare type Shape_10 = 'default' | 'square' | 'rounded' | 'pill';
3732
+
3733
+ declare type Shape_11 = 'default' | 'square' | 'rounded' | 'pill';
3734
+
3691
3735
  declare type Shape_12 = 'default' | 'square' | 'rounded' | 'pill';
3692
3736
 
3693
3737
  declare type Shape_13 = 'default' | 'square' | 'rounded' | 'pill';
@@ -3709,14 +3753,24 @@ declare type Shape_19 = 'default' | 'square' | 'rounded' | 'pill';
3709
3753
 
3710
3754
  declare type Shape_2 = 'square' | 'rounded' | 'pill';
3711
3755
 
3756
+ declare type Shape_20 = 'square' | 'rounded';
3757
+
3712
3758
  declare type Shape_21 = 'default' | 'square' | 'rounded' | 'pill';
3713
3759
 
3714
3760
  declare type Shape_22 = 'rounded' | 'square' | 'circular';
3715
3761
 
3762
+ declare type Shape_3 = 'square' | 'rounded' | 'pill';
3763
+
3716
3764
  declare type Shape_4 = 'square' | 'rounded' | 'pill';
3717
3765
 
3766
+ declare type Shape_5 = 'default' | 'square' | 'rounded' | 'pill';
3767
+
3768
+ declare type Shape_6 = 'default' | 'square' | 'rounded' | 'pill';
3769
+
3718
3770
  declare type Shape_7 = 'default' | 'square' | 'rounded' | 'pill';
3719
3771
 
3772
+ declare type Shape_8 = 'default' | 'square' | 'rounded' | 'pill';
3773
+
3720
3774
  declare type Shape_9 = 'default' | 'square' | 'rounded' | 'pill';
3721
3775
 
3722
3776
  export declare const ShapeIcon: default_2.FC<Omit<IconProps, "name">>;
@@ -3826,7 +3880,7 @@ export declare interface SidebarProps {
3826
3880
  collapsedWidth?: string | number;
3827
3881
  breakpoint?: number;
3828
3882
  breakpointBehavior?: BreakpointBehavior;
3829
- elevation?: Elevation_3;
3883
+ elevation?: Elevation_2;
3830
3884
  transitionPreset?: TransitionPreset;
3831
3885
  ariaLabel?: string;
3832
3886
  views?: SidebarStyles;
@@ -3860,12 +3914,22 @@ declare type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3860
3914
 
3861
3915
  declare type Size_10 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3862
3916
 
3917
+ declare type Size_11 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3918
+
3919
+ declare type Size_12 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3920
+
3863
3921
  declare type Size_13 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3864
3922
 
3923
+ declare type Size_14 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3924
+
3925
+ declare type Size_15 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3926
+
3865
3927
  declare type Size_16 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3866
3928
 
3867
3929
  declare type Size_17 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3868
3930
 
3931
+ declare type Size_18 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3932
+
3869
3933
  /**
3870
3934
  * Size options for the ChatInput component
3871
3935
  */
@@ -3879,6 +3943,12 @@ declare type Size_21 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3879
3943
 
3880
3944
  declare type Size_22 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3881
3945
 
3946
+ declare type Size_23 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3947
+
3948
+ declare type Size_24 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3949
+
3950
+ declare type Size_25 = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
3951
+
3882
3952
  declare type Size_26 = 'sm' | 'md' | 'lg';
3883
3953
 
3884
3954
  declare type Size_27 = 'sm' | 'md' | 'lg';
@@ -3887,6 +3957,8 @@ declare type Size_28 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3887
3957
 
3888
3958
  declare type Size_29 = 'sm' | 'md' | 'lg';
3889
3959
 
3960
+ declare type Size_3 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3961
+
3890
3962
  declare type Size_30 = 'sm' | 'md' | 'lg';
3891
3963
 
3892
3964
  declare type Size_31 = 'sm' | 'md' | 'lg' | 'xl';
@@ -3897,10 +3969,18 @@ declare type Size_33 = 'sm' | 'md' | 'lg';
3897
3969
 
3898
3970
  declare type Size_34 = 'sm' | 'md' | 'lg';
3899
3971
 
3972
+ declare type Size_4 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3973
+
3900
3974
  declare type Size_5 = 'sm' | 'md' | 'lg';
3901
3975
 
3902
3976
  declare type Size_6 = 'sm' | 'md' | 'lg';
3903
3977
 
3978
+ declare type Size_7 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3979
+
3980
+ declare type Size_8 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3981
+
3982
+ declare type Size_9 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3983
+
3904
3984
  declare type SlideDirection = 'horizontal' | 'vertical';
3905
3985
 
3906
3986
  export declare const Slider: default_2.FC<SliderProps>;
@@ -3944,6 +4024,8 @@ declare interface SliderStyles {
3944
4024
  };
3945
4025
  }
3946
4026
 
4027
+ declare type Speed = 'fast' | 'normal' | 'slow';
4028
+
3947
4029
  export declare const SpinnerIcon: default_2.FC<Omit<IconProps, "name">>;
3948
4030
 
3949
4031
  export declare const SplashScreen: default_2.FC<SplashScreenProps>;
@@ -4008,6 +4090,11 @@ declare type StatusIndicatorStyles = {
4008
4090
 
4009
4091
  export declare const StopIcon: default_2.FC<Omit<IconProps, "name">>;
4010
4092
 
4093
+ declare type Styles = {
4094
+ icon?: ViewProps;
4095
+ text?: ViewProps;
4096
+ };
4097
+
4011
4098
  export declare const SuccessIcon: default_2.FC<Omit<IconProps, "name">>;
4012
4099
 
4013
4100
  declare interface Suggestion {
@@ -4028,7 +4115,7 @@ export declare interface SwitchProps extends Omit<InputProps, 'size' | 'onChange
4028
4115
  name?: string;
4029
4116
  inActiveChild?: React.ReactNode;
4030
4117
  views?: SwitchStyles;
4031
- shadow?: Shadow | Elevation_2 | ViewProps;
4118
+ shadow?: Shadow | Elevation | ViewProps;
4032
4119
  size?: Size_8;
4033
4120
  labelPosition?: 'left' | 'right';
4034
4121
  label?: React.ReactNode;
@@ -4036,6 +4123,12 @@ export declare interface SwitchProps extends Omit<InputProps, 'size' | 'onChange
4036
4123
  variant?: string;
4037
4124
  }
4038
4125
 
4126
+ declare type SwitchStyles = {
4127
+ slider?: ViewProps;
4128
+ circle?: ViewProps;
4129
+ label?: ViewProps;
4130
+ };
4131
+
4039
4132
  export declare interface SwitchViewProps extends SwitchProps {
4040
4133
  isHovered: boolean;
4041
4134
  setIsHovered: Function;
@@ -4045,6 +4138,22 @@ export declare interface SwitchViewProps extends SwitchProps {
4045
4138
  setOn?: Function;
4046
4139
  }
4047
4140
 
4141
+ /**
4142
+ * Defines the structure for a single tab.
4143
+ */
4144
+ declare type Tab = {
4145
+ /** The text displayed on the tab header/button. */
4146
+ title?: string;
4147
+ /** Optional label used as an alternative to `title` in some compositions. */
4148
+ label?: default_2.ReactNode;
4149
+ /** Unique value to identify the tab. If not provided, title will be used. */
4150
+ value?: string | number;
4151
+ /** Optional icon element to display next to the title. */
4152
+ icon?: default_2.ReactNode;
4153
+ /** The content to display when this tab is active. Can be any renderable React node. */
4154
+ content?: default_2.ReactNode;
4155
+ };
4156
+
4048
4157
  export declare const Table: {
4049
4158
  ({ children, views, onClick }: TableLayoutProps): default_2.JSX.Element;
4050
4159
  Head: default_2.FC<ViewProps>;
@@ -4163,6 +4272,27 @@ export declare interface TabsProps {
4163
4272
  children?: default_2.ReactNode;
4164
4273
  }
4165
4274
 
4275
+ /**
4276
+ * Defines the structure for applying custom styles to various parts of the Tabs component.
4277
+ * Allows using either direct CSSProperties or passing props compatible with underlying Button/Text components.
4278
+ */
4279
+ declare type TabsStyles = {
4280
+ /** Styles for the main container wrapping the tabs and content. */
4281
+ container?: ViewProps;
4282
+ /** Styles applied specifically to the active tab header. Merged with `tab` views. */
4283
+ activeTab?: ViewProps;
4284
+ /** Styles applied specifically to the text within the active tab header. Merged with `title` views. */
4285
+ activeText?: ViewProps;
4286
+ /** Styles applied to each tab header (both active and inactive). */
4287
+ tab?: ViewProps;
4288
+ /** Styles applied to the content area displaying the active tab's content. */
4289
+ content?: ViewProps;
4290
+ /** Styles applied to the text within each tab header (both active and inactive). */
4291
+ title?: ViewProps;
4292
+ /** Styles applied to the container element that wraps the tab buttons/headers. */
4293
+ headerTabs?: ViewProps;
4294
+ };
4295
+
4166
4296
  declare const TabsTrigger: default_2.FC<TabsTriggerProps>;
4167
4297
 
4168
4298
  /**
@@ -4188,6 +4318,8 @@ declare interface TabsType extends default_2.FC<TabsProps> {
4188
4318
  Content: typeof TabsContent;
4189
4319
  }
4190
4320
 
4321
+ declare type TabsVariant = 'underline' | 'segmented' | 'pill';
4322
+
4191
4323
  /**
4192
4324
  * Props specifically for the TabsView component (Internal).
4193
4325
  * These props are derived or passed down from the main Tabs component.
@@ -4235,7 +4367,7 @@ declare interface TagInputProps extends Omit<InputProps, 'size' | 'value' | 'onC
4235
4367
  size?: Size_16;
4236
4368
  shape?: Shape_12;
4237
4369
  variant?: Variant_14;
4238
- shadow?: Shadow | Elevation_2 | ViewProps;
4370
+ shadow?: Shadow | Elevation | ViewProps;
4239
4371
  views?: TagInputStyles;
4240
4372
  left?: default_2.ReactNode;
4241
4373
  right?: default_2.ReactNode;
@@ -4287,7 +4419,7 @@ export declare interface TextAreaProps extends Omit<InputProps, 'size' | 'shadow
4287
4419
  onBlur?: (value: any) => void;
4288
4420
  onFocus?: () => void;
4289
4421
  size?: Size_10;
4290
- shadow?: Shadow | Elevation_2 | ViewProps;
4422
+ shadow?: Shadow | Elevation | ViewProps;
4291
4423
  shape?: Shape_7;
4292
4424
  views?: TextAreaStyles;
4293
4425
  value?: string | number;
@@ -4325,6 +4457,8 @@ export declare interface TextAreaViewProps extends TextAreaProps {
4325
4457
  setIsFocused?: Function;
4326
4458
  }
4327
4459
 
4460
+ declare type TextDecorationStyle = 'default' | 'hover' | 'underline';
4461
+
4328
4462
  export declare const TextField: default_2.FC<TextFieldProps>;
4329
4463
 
4330
4464
  export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shadow' | 'left' | 'right'> {
@@ -4351,7 +4485,7 @@ export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shado
4351
4485
  onClick?: () => void;
4352
4486
  onFocus?: () => void;
4353
4487
  size?: Size_11;
4354
- shadow?: Shadow | Elevation_2 | ViewProps;
4488
+ shadow?: Shadow | Elevation | ViewProps;
4355
4489
  shape?: Shape_8;
4356
4490
  views?: TextFieldStyles;
4357
4491
  value?: string;
@@ -4363,6 +4497,15 @@ export declare interface TextFieldProps extends Omit<InputProps, 'size' | 'shado
4363
4497
  } | null) => void;
4364
4498
  }
4365
4499
 
4500
+ declare type TextFieldStyles = {
4501
+ container?: ViewProps;
4502
+ text?: ViewProps;
4503
+ label?: ViewProps;
4504
+ helperText?: ViewProps;
4505
+ field?: ViewProps;
4506
+ content?: ViewProps;
4507
+ };
4508
+
4366
4509
  export declare interface TextFieldViewProps extends TextFieldProps {
4367
4510
  hint?: string;
4368
4511
  setHint?: Function;
@@ -4376,6 +4519,8 @@ export declare interface TextFieldViewProps extends TextFieldProps {
4376
4519
 
4377
4520
  export declare const TextIcon: default_2.FC<Omit<IconProps, "name">>;
4378
4521
 
4522
+ declare type TextPosition = 'right' | 'left' | 'top' | 'bottom';
4523
+
4379
4524
  declare type Theme = {
4380
4525
  container: {
4381
4526
  backgroundColor?: string;
@@ -4786,8 +4931,14 @@ export declare interface UseUploadProps {
4786
4931
 
4787
4932
  declare type Variant = 'default' | 'outline' | 'filled';
4788
4933
 
4934
+ declare type Variant_10 = 'outline' | 'default' | 'none';
4935
+
4789
4936
  declare type Variant_11 = 'outline' | 'default' | 'none';
4790
4937
 
4938
+ declare type Variant_12 = 'default' | 'outline' | 'none';
4939
+
4940
+ declare type Variant_13 = 'default' | 'outline' | 'none';
4941
+
4791
4942
  declare type Variant_14 = 'outline' | 'default' | 'none';
4792
4943
 
4793
4944
  declare type Variant_15 = 'outline' | 'default' | 'none';
@@ -4831,10 +4982,16 @@ declare type Variant_30 = 'default' | 'light' | 'dark';
4831
4982
 
4832
4983
  declare type Variant_31 = 'default' | 'glassy' | 'minimal';
4833
4984
 
4985
+ declare type Variant_4 = 'filled' | 'outline' | 'empty' | 'ghost' | 'link' | 'subtle';
4986
+
4834
4987
  declare type Variant_5 = 'default' | 'outlined' | 'elevated';
4835
4988
 
4836
4989
  declare type Variant_6 = 'default' | 'filled' | 'outline';
4837
4990
 
4991
+ declare type Variant_7 = 'outline' | 'default' | 'none';
4992
+
4993
+ declare type Variant_8 = 'outline' | 'default' | 'none';
4994
+
4838
4995
  declare type Variant_9 = 'outline' | 'default' | 'none';
4839
4996
 
4840
4997
  export declare const VideoIcon: default_2.FC<Omit<IconProps, "name">>;
@@ -294,14 +294,19 @@ const stripAlphaSuffix = (value) => {
294
294
  const parts = value.split('-');
295
295
  const alpha = parseInt(parts[parts.length - 1], 10);
296
296
  const minParts = value.startsWith('theme-') ? 3 : 4;
297
- if (parts.length >= minParts && !isNaN(alpha) && alpha >= 0 && alpha <= 1000) {
297
+ if (parts.length >= minParts &&
298
+ !isNaN(alpha) &&
299
+ alpha >= 0 &&
300
+ alpha <= 1000) {
298
301
  return parts.slice(0, -1).join('-');
299
302
  }
300
303
  return value;
301
304
  };
302
305
  const BackgroundOverlay = ({ contentPosition, backgroundColor = 'color-black-900', ...props }) => {
303
306
  const isToken = OVERLAY_TOKEN_RE.test(backgroundColor);
304
- const baseColor = isToken ? stripAlphaSuffix(backgroundColor) : backgroundColor;
307
+ const baseColor = isToken
308
+ ? stripAlphaSuffix(backgroundColor)
309
+ : backgroundColor;
305
310
  const getDefaultOverlay = () => {
306
311
  let ligthBackground = `${baseColor}-100`;
307
312
  let darkBackground = `${baseColor}-900`;