@rebnd/ui 0.0.3 → 0.0.4

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 (79) hide show
  1. package/README.md +5 -3
  2. package/dist/index.d.ts +11 -0
  3. package/dist/src/assets/constants/components.d.ts +3 -0
  4. package/dist/src/components/RAvatar/RAvatar.d.ts +13 -13
  5. package/dist/src/components/RAvatar/utils/avatar.props.d.ts +7 -6
  6. package/dist/src/components/RAvatar/utils/avatar.style.d.ts +14 -10
  7. package/dist/src/components/RAvatarGroup/RAvatarGroup.d.ts +7 -7
  8. package/dist/src/components/RAvatarGroup/utils/avatar-group.props.d.ts +4 -3
  9. package/dist/src/components/RAvatarGroup/utils/avatar-group.style.d.ts +2 -1
  10. package/dist/src/components/RBadge/RBadge.d.ts +13 -13
  11. package/dist/src/components/RBadge/utils/badge.props.d.ts +8 -7
  12. package/dist/src/components/RBadge/utils/badge.style.d.ts +35 -66
  13. package/dist/src/components/RButton/RButton.d.ts +33 -13
  14. package/dist/src/components/RButton/utils/button.props.d.ts +16 -7
  15. package/dist/src/components/RButton/utils/button.style.d.ts +92 -38
  16. package/dist/src/components/RButtonGroup/RButtonGroup.d.ts +62 -0
  17. package/dist/src/components/RButtonGroup/utils/button-group.props.d.ts +30 -0
  18. package/dist/src/components/RButtonGroup/utils/button-group.style.d.ts +123 -0
  19. package/dist/src/components/RCheckbox/RCheckbox.d.ts +62 -0
  20. package/dist/src/components/RCheckbox/utils/checkbox.props.d.ts +27 -0
  21. package/dist/src/components/RCheckbox/utils/checkbox.style.d.ts +38 -0
  22. package/dist/src/components/RCheckboxGroup/RCheckboxGroup.d.ts +80 -0
  23. package/dist/src/components/RCheckboxGroup/utils/checkbox-group.props.d.ts +37 -0
  24. package/dist/src/components/RCheckboxGroup/utils/checkbox-group.style.d.ts +35 -0
  25. package/dist/src/components/RFormGroup/RFormGroup.d.ts +8 -2
  26. package/dist/src/components/RInput/RInput.d.ts +19 -3
  27. package/dist/src/components/RInput/utils/input.props.d.ts +7 -0
  28. package/dist/src/components/RInput/utils/input.style.d.ts +24 -2
  29. package/dist/src/components/RInputPassword/RInputPassword.d.ts +22 -0
  30. package/dist/src/components/RInputPassword/utils/input-password.props.d.ts +8 -0
  31. package/dist/src/components/RInputPassword/utils/input-password.style.d.ts +4 -0
  32. package/dist/src/components/RModal/RModal.d.ts +65 -0
  33. package/dist/src/components/RModal/utils/modal.props.d.ts +30 -0
  34. package/dist/src/components/RModal/utils/modal.style.d.ts +3 -0
  35. package/dist/src/components/RRadio/RRadio.d.ts +60 -0
  36. package/dist/src/components/RRadio/utils/radio.props.d.ts +27 -0
  37. package/dist/src/components/RRadio/utils/radio.style.d.ts +64 -0
  38. package/dist/src/components/RRadioGroup/RRadioGroup.d.ts +78 -0
  39. package/dist/src/components/RRadioGroup/utils/radio-group.props.d.ts +37 -0
  40. package/dist/src/components/RRadioGroup/utils/radio-group.style.d.ts +35 -0
  41. package/dist/src/components/RSwitch/RSwitch.d.ts +86 -0
  42. package/dist/src/components/RSwitch/utils/switch.props.d.ts +39 -0
  43. package/dist/src/components/RSwitch/utils/switch.style.d.ts +142 -0
  44. package/dist/src/components/RTabs/RTabs.d.ts +14 -14
  45. package/dist/src/components/RTabs/utils/tabs.props.d.ts +8 -6
  46. package/dist/src/components/RTabs/utils/tabs.style.d.ts +26 -10
  47. package/dist/src/components/RTextArea/RTextArea.d.ts +21 -1
  48. package/dist/src/components/RTextArea/utils/text-area.props.d.ts +11 -0
  49. package/dist/src/components/RTextArea/utils/text-area.style.d.ts +30 -2
  50. package/dist/src/components/RToast/RToast.d.ts +70 -0
  51. package/dist/src/components/RToast/utils/toast.props.d.ts +33 -0
  52. package/dist/src/components/RToast/utils/toast.style.d.ts +4 -0
  53. package/dist/src/components/RToastRenderer/RToastRenderer.d.ts +31 -0
  54. package/dist/src/components/RToastRenderer/utils/toast-renderer.props.d.ts +14 -0
  55. package/dist/src/components/RToastRenderer/utils/toast-renderer.style.d.ts +21 -0
  56. package/dist/src/components/RToggle/RToggle.d.ts +62 -0
  57. package/dist/src/components/RToggle/utils/toggle.props.d.ts +29 -0
  58. package/dist/src/components/RToggle/utils/toggle.style.d.ts +2 -0
  59. package/dist/src/composables/useModal.d.ts +8 -0
  60. package/dist/src/composables/useToast.d.ts +4 -0
  61. package/dist/src/theme/animations.d.ts +9 -0
  62. package/dist/src/theme/borders.d.ts +24 -0
  63. package/dist/src/theme/colors.d.ts +3696 -233
  64. package/dist/src/theme/fonts.d.ts +46 -0
  65. package/dist/src/theme/index.d.ts +2 -2
  66. package/dist/src/theme/radii.d.ts +24 -0
  67. package/dist/src/theme/semantic-tokens.d.ts +777 -35
  68. package/dist/src/theme/sizes.d.ts +21 -0
  69. package/dist/src/theme/spacing.d.ts +30 -0
  70. package/dist/src/theme/tokens.d.ts +3845 -232
  71. package/dist/src/types/component.d.ts +44 -14
  72. package/dist/src/types/index.d.ts +2 -3
  73. package/dist/src/utils/array.d.ts +3 -0
  74. package/dist/src/utils/regex.d.ts +2 -1
  75. package/dist/src/utils/string.d.ts +2 -1
  76. package/dist/styles.css +3274 -820
  77. package/dist/ui.js +14213 -1881
  78. package/dist/ui.umd.cjs +5 -2
  79. package/package.json +41 -43
package/README.md CHANGED
@@ -32,11 +32,13 @@ import '@rebnd/ui/dist/styles.css'
32
32
 
33
33
  ```vue
34
34
  <script setup lang="ts">
35
- import { RButton } from "@rebnd/ui"
35
+ import { RButton } from '@rebnd/ui'
36
36
  </script>
37
37
 
38
38
  <template>
39
- <RButton variant="primary">Use Rebnd</RButton>
39
+ <RButton variant="primary">
40
+ Use Rebnd
41
+ </RButton>
40
42
  </template>
41
43
  ```
42
44
 
@@ -71,4 +73,4 @@ Contributions are welcome! Please feel free to submit a Pull Request.
71
73
 
72
74
  ## 📄 License
73
75
 
74
- [MIT License](https://github.com/Rebnd/ui/blob/main/LICENSE) © 2024 [Rebnd](https://github.com/Rebnd)
76
+ [MIT License](https://github.com/Rebnd/ui/blob/main/LICENSE) © 2024 [Rebnd](https://github.com/Rebnd)
package/dist/index.d.ts CHANGED
@@ -4,15 +4,26 @@ export { default as RAvatarGroup } from './src/components/RAvatarGroup/RAvatarGr
4
4
  export { default as RBadge } from './src/components/RBadge/RBadge';
5
5
  export { default as RBreadcrumb } from './src/components/RBreadcrumb/RBreadcrumb';
6
6
  export { default as RButton } from './src/components/RButton/RButton';
7
+ export { default as RButtonGroup } from './src/components/RButtonGroup/RButtonGroup';
7
8
  export { default as RCard } from './src/components/RCard/RCard';
9
+ export { default as RCheckbox } from './src/components/RCheckbox/RCheckbox';
10
+ export { default as RCheckboxGroup } from './src/components/RCheckboxGroup/RCheckboxGroup';
8
11
  export { default as RCombobox } from './src/components/RCombobox/RCombobox';
9
12
  export { default as RDropdown } from './src/components/RDropdown/RDropdown';
10
13
  export { default as RForm } from './src/components/RForm/RForm';
11
14
  export { default as RFormGroup } from './src/components/RFormGroup/RFormGroup';
12
15
  export { default as RIcon } from './src/components/RIcon/RIcon';
13
16
  export { default as RInput } from './src/components/RInput/RInput';
17
+ export { default as RInputPassword } from './src/components/RInputPassword/RInputPassword';
14
18
  export { default as RLink } from './src/components/RLink/RLink';
19
+ export { default as RModal } from './src/components/RModal/RModal';
20
+ export { default as RRadio } from './src/components/RRadio/RRadio';
21
+ export { default as RRadioGroup } from './src/components/RRadioGroup/RRadioGroup';
22
+ export { default as RSwitch } from './src/components/RSwitch/RSwitch';
15
23
  export { default as RTab } from './src/components/RTab/RTab';
16
24
  export { default as RTable } from './src/components/RTable/RTable';
17
25
  export { default as RTabs } from './src/components/RTabs/RTabs';
18
26
  export { default as RTextArea } from './src/components/RTextArea/RTextArea';
27
+ export { default as RToast } from './src/components/RToast/RToast';
28
+ export { default as RToastRenderer } from './src/components/RToastRenderer/RToastRenderer';
29
+ export { default as RToggle } from './src/components/RToggle/RToggle';
@@ -0,0 +1,3 @@
1
+ import { ToastIconConfig } from '../../types';
2
+ declare const toastIconMap: ToastIconConfig[];
3
+ export { toastIconMap };
@@ -2,21 +2,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2
2
  color: {
3
3
  type: import('vue').PropType<import('../../types').Color>;
4
4
  default: import('../../types').Color;
5
- validator: (color: import('../../types').Color) => boolean;
5
+ validator(color: import('../../types').Color): boolean;
6
6
  };
7
7
  name: {
8
8
  type: StringConstructor;
9
9
  default: string;
10
- validator: (name: string) => boolean;
10
+ validator(name: string): boolean;
11
11
  };
12
12
  src: {
13
13
  type: StringConstructor;
14
- validator: (src: string) => boolean;
14
+ validator(src: string): boolean;
15
15
  };
16
16
  size: {
17
- type: import('vue').PropType<import('../../types').Size>;
18
- default: import('../../types').Size;
19
- validator: (size: import('../../types').Size) => boolean;
17
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
18
+ default: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
19
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"): boolean;
20
20
  };
21
21
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
22
22
  [key: string]: any;
@@ -24,25 +24,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
24
24
  color: {
25
25
  type: import('vue').PropType<import('../../types').Color>;
26
26
  default: import('../../types').Color;
27
- validator: (color: import('../../types').Color) => boolean;
27
+ validator(color: import('../../types').Color): boolean;
28
28
  };
29
29
  name: {
30
30
  type: StringConstructor;
31
31
  default: string;
32
- validator: (name: string) => boolean;
32
+ validator(name: string): boolean;
33
33
  };
34
34
  src: {
35
35
  type: StringConstructor;
36
- validator: (src: string) => boolean;
36
+ validator(src: string): boolean;
37
37
  };
38
38
  size: {
39
- type: import('vue').PropType<import('../../types').Size>;
40
- default: import('../../types').Size;
41
- validator: (size: import('../../types').Size) => boolean;
39
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
40
+ default: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
41
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"): boolean;
42
42
  };
43
43
  }>> & Readonly<{}>, {
44
44
  color: import('../../types').Color;
45
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
45
46
  name: string;
46
- size: import('../../types').Size;
47
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
48
  export default _default;
@@ -1,24 +1,25 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Color, Size } from '../../../types';
3
+ type AvatarSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'>;
3
4
  declare const _default: {
4
5
  color: {
5
6
  type: PropType<Color>;
6
7
  default: Color;
7
- validator: (color: Color) => boolean;
8
+ validator(color: Color): boolean;
8
9
  };
9
10
  name: {
10
11
  type: StringConstructor;
11
12
  default: string;
12
- validator: (name: string) => boolean;
13
+ validator(name: string): boolean;
13
14
  };
14
15
  src: {
15
16
  type: StringConstructor;
16
- validator: (src: string) => boolean;
17
+ validator(src: string): boolean;
17
18
  };
18
19
  size: {
19
- type: PropType<Size>;
20
- default: Size;
21
- validator: (size: Size) => boolean;
20
+ type: PropType<AvatarSize>;
21
+ default: AvatarSize;
22
+ validator(size: AvatarSize): boolean;
22
23
  };
23
24
  };
24
25
  export default _default;
@@ -21,24 +21,28 @@ declare const avatar: import('../../../../styled-system/types').RecipeRuntimeFn<
21
21
  };
22
22
  size: {
23
23
  xs: {
24
- width: "24px";
25
- height: "24px";
24
+ width: "xs";
25
+ height: "xs";
26
26
  };
27
27
  sm: {
28
- width: "32px";
29
- height: "32px";
28
+ width: "sm";
29
+ height: "sm";
30
30
  };
31
31
  md: {
32
- width: "40px";
33
- height: "40px";
32
+ width: "md";
33
+ height: "md";
34
34
  };
35
35
  lg: {
36
- width: "48px";
37
- height: "48px";
36
+ width: "lg";
37
+ height: "lg";
38
38
  };
39
39
  xl: {
40
- width: "56px";
41
- height: "56px";
40
+ width: "xl";
41
+ height: "xl";
42
+ };
43
+ '2xl': {
44
+ width: "2xl";
45
+ height: "2xl";
42
46
  };
43
47
  };
44
48
  }>;
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4
4
  default: number;
5
5
  };
6
6
  size: {
7
- type: import('vue').PropType<import('../../types').Size>;
8
- default: import('../../types').Size;
9
- validator: (size: import('../../types').Size) => boolean;
7
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
8
+ default: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
9
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"): boolean;
10
10
  };
11
11
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
12
  [key: string]: any;
@@ -16,12 +16,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
16
  default: number;
17
17
  };
18
18
  size: {
19
- type: import('vue').PropType<import('../../types').Size>;
20
- default: import('../../types').Size;
21
- validator: (size: import('../../types').Size) => boolean;
19
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
20
+ default: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
21
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl"): boolean;
22
22
  };
23
23
  }>> & Readonly<{}>, {
24
24
  max: number;
25
- size: import('../../types').Size;
25
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -1,14 +1,15 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Size } from '../../../types';
3
+ type AvatarSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'>;
3
4
  declare const _default: {
4
5
  max: {
5
6
  type: NumberConstructor;
6
7
  default: number;
7
8
  };
8
9
  size: {
9
- type: PropType<Size>;
10
- default: Size;
11
- validator: (size: Size) => boolean;
10
+ type: PropType<AvatarSize>;
11
+ default: AvatarSize;
12
+ validator(size: AvatarSize): boolean;
12
13
  };
13
14
  };
14
15
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { Size } from '../../../types';
2
+ type AvatarSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'>;
2
3
  declare const avatarGroup: string;
3
4
  declare const avatarItems: string;
4
- declare function getAvatarCounterStyles(size: Size): string;
5
+ declare function getAvatarCounterStyles(size: AvatarSize): string;
5
6
  export { avatarGroup, avatarItems, getAvatarCounterStyles };
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
6
  color: {
7
7
  type: import('vue').PropType<import('../../types').Color>;
8
8
  default: import('../../types').Color;
9
- validator: (color: import('../../types').Color) => boolean;
9
+ validator(color: import('../../types').Color): boolean;
10
10
  };
11
11
  cx: {
12
12
  type: StringConstructor;
@@ -15,17 +15,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
15
15
  rounded: {
16
16
  type: import('vue').PropType<import('../../types').Rounded>;
17
17
  default: string;
18
- validator: (radius: string) => boolean;
18
+ validator(radius: import('../../types').Rounded): boolean;
19
19
  };
20
20
  size: {
21
- type: import('vue').PropType<import('../../types').Size>;
22
- default: import('../../types').Size;
23
- validator: (size: import('../../types').Size) => boolean;
21
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
22
+ default: "xs" | "sm" | "md" | "lg" | "xl";
23
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl"): boolean;
24
24
  };
25
25
  variant: {
26
26
  type: import('vue').PropType<import('../../types').Variant>;
27
27
  default: import('../../types').Variant;
28
- validator: (variant: import('../../types').Variant) => boolean;
28
+ validator(variant: import('../../types').Variant): boolean;
29
29
  };
30
30
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
31
31
  [key: string]: any;
@@ -37,7 +37,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
37
37
  color: {
38
38
  type: import('vue').PropType<import('../../types').Color>;
39
39
  default: import('../../types').Color;
40
- validator: (color: import('../../types').Color) => boolean;
40
+ validator(color: import('../../types').Color): boolean;
41
41
  };
42
42
  cx: {
43
43
  type: StringConstructor;
@@ -46,23 +46,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
46
46
  rounded: {
47
47
  type: import('vue').PropType<import('../../types').Rounded>;
48
48
  default: string;
49
- validator: (radius: string) => boolean;
49
+ validator(radius: import('../../types').Rounded): boolean;
50
50
  };
51
51
  size: {
52
- type: import('vue').PropType<import('../../types').Size>;
53
- default: import('../../types').Size;
54
- validator: (size: import('../../types').Size) => boolean;
52
+ type: import('vue').PropType<"xs" | "sm" | "md" | "lg" | "xl">;
53
+ default: "xs" | "sm" | "md" | "lg" | "xl";
54
+ validator(size: "xs" | "sm" | "md" | "lg" | "xl"): boolean;
55
55
  };
56
56
  variant: {
57
57
  type: import('vue').PropType<import('../../types').Variant>;
58
58
  default: import('../../types').Variant;
59
- validator: (variant: import('../../types').Variant) => boolean;
59
+ validator(variant: import('../../types').Variant): boolean;
60
60
  };
61
61
  }>> & Readonly<{}>, {
62
62
  color: import('../../types').Color;
63
63
  cx: string;
64
64
  rounded: import('../../types').Rounded;
65
- size: import('../../types').Size;
65
+ size: "xs" | "sm" | "md" | "lg" | "xl";
66
66
  variant: import('../../types').Variant;
67
67
  as: string;
68
68
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,6 @@
1
- import { Color, Rounded, Size, Variant } from '../../../types';
2
1
  import { PropType } from 'vue';
2
+ import { Color, Rounded, Size, Variant } from '../../../types';
3
+ type BadgeSize = Extract<Size, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
3
4
  declare const _default: {
4
5
  as: {
5
6
  type: StringConstructor;
@@ -8,7 +9,7 @@ declare const _default: {
8
9
  color: {
9
10
  type: PropType<Color>;
10
11
  default: Color;
11
- validator: (color: Color) => boolean;
12
+ validator(color: Color): boolean;
12
13
  };
13
14
  cx: {
14
15
  type: StringConstructor;
@@ -17,17 +18,17 @@ declare const _default: {
17
18
  rounded: {
18
19
  type: PropType<Rounded>;
19
20
  default: string;
20
- validator: (radius: string) => boolean;
21
+ validator(radius: Rounded): boolean;
21
22
  };
22
23
  size: {
23
- type: PropType<Size>;
24
- default: Size;
25
- validator: (size: Size) => boolean;
24
+ type: PropType<BadgeSize>;
25
+ default: BadgeSize;
26
+ validator(size: BadgeSize): boolean;
26
27
  };
27
28
  variant: {
28
29
  type: PropType<Variant>;
29
30
  default: Variant;
30
- validator: (variant: Variant) => boolean;
31
+ validator(variant: Variant): boolean;
31
32
  };
32
33
  };
33
34
  export default _default;
@@ -1,69 +1,27 @@
1
1
  declare const _default: import('../../../../styled-system/types').RecipeRuntimeFn<{
2
2
  color: {
3
- info: {
4
- backgroundColor: {
5
- base: "info.lighter";
6
- _dark: "info.darker";
7
- };
8
- color: {
9
- base: "info";
10
- _dark: "info.lighter";
11
- };
12
- };
13
- error: {
14
- backgroundColor: {
15
- base: "error.lighter";
16
- _dark: "error.darker";
17
- };
18
- color: {
19
- base: "error";
20
- _dark: "error.lighter";
21
- };
22
- };
23
3
  primary: {
24
- backgroundColor: {
25
- base: "primary.lighter";
26
- _dark: "primary.darker";
27
- };
28
- color: {
29
- base: "primary";
30
- _dark: "primary.lighter";
31
- };
4
+ backgroundColor: "primary.850";
32
5
  };
33
6
  secondary: {
34
- backgroundColor: {
35
- base: "secondary.lighter";
36
- _dark: "secondary.darker";
37
- };
38
- color: {
39
- base: "secondary";
40
- _dark: "secondary.lighter";
41
- };
7
+ backgroundColor: "secondary.850";
42
8
  };
43
9
  success: {
44
- backgroundColor: {
45
- base: "success.lighter";
46
- _dark: "success.darker";
47
- };
48
- color: {
49
- base: "success";
50
- _dark: "success.lighter";
51
- };
10
+ backgroundColor: "success.850";
52
11
  };
53
12
  warning: {
54
- backgroundColor: {
55
- base: "warning.lighter";
56
- _dark: "warning.darker";
57
- };
58
- color: {
59
- base: "warning";
60
- _dark: "warning.lighter";
61
- };
13
+ backgroundColor: "warning.850";
14
+ };
15
+ error: {
16
+ backgroundColor: "error.850";
17
+ };
18
+ info: {
19
+ backgroundColor: "info.850";
62
20
  };
63
21
  };
64
22
  rounded: {
65
- none: {
66
- borderRadius: "none";
23
+ sharp: {
24
+ borderRadius: "sharp";
67
25
  };
68
26
  xs: {
69
27
  borderRadius: "xs";
@@ -77,28 +35,35 @@ declare const _default: import('../../../../styled-system/types').RecipeRuntimeF
77
35
  lg: {
78
36
  borderRadius: "lg";
79
37
  };
80
- xl: {
81
- borderRadius: "xl";
82
- };
83
- full: {
84
- borderRadius: "full";
38
+ pill: {
39
+ borderRadius: "pill";
85
40
  };
86
41
  };
87
42
  size: {
88
43
  xs: {
89
- fontSize: "0.5rem";
44
+ fontSize: "0.625rem";
45
+ paddingInline: "0.375rem";
46
+ paddingBlock: "0.125rem";
90
47
  };
91
48
  sm: {
92
- fontSize: "0.75rem";
49
+ fontSize: "0.6875rem";
50
+ paddingInline: "0.5rem";
51
+ paddingBlock: "0.1875rem";
93
52
  };
94
53
  md: {
95
- fontSize: "0.875rem";
54
+ fontSize: "0.75rem";
55
+ paddingInline: "0.625rem";
56
+ paddingBlock: "0.25rem";
96
57
  };
97
58
  lg: {
98
- fontSize: "1rem";
59
+ fontSize: "0.875rem";
60
+ paddingInline: "0.75rem";
61
+ paddingBlock: "0.375rem";
99
62
  };
100
63
  xl: {
101
- fontSize: "1.25rem";
64
+ fontSize: "1rem";
65
+ paddingInline: "0.875rem";
66
+ paddingBlock: "0.5rem";
102
67
  };
103
68
  };
104
69
  variant: {
@@ -107,10 +72,14 @@ declare const _default: import('../../../../styled-system/types').RecipeRuntimeF
107
72
  };
108
73
  ghost: {
109
74
  backgroundColor: "transparent";
75
+ outline: "none";
76
+ };
77
+ soft: {
78
+ outline: "none";
110
79
  };
111
- outlined: {
80
+ surface: {};
81
+ outline: {
112
82
  backgroundColor: "transparent";
113
- outline: "1px solid transparent";
114
83
  };
115
84
  };
116
85
  }>;
@@ -2,22 +2,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2
2
  color: {
3
3
  type: import('vue').PropType<import('../../types').Color>;
4
4
  default: import('../../types').Color;
5
- validator: (color: import('../../types').Color) => boolean;
5
+ validator(color: import('../../types').Color): boolean;
6
+ };
7
+ loading: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ radius: {
12
+ type: import('vue').PropType<import('../../types').Rounded>;
13
+ default: import('../../types').Rounded;
14
+ validator: (radii: import('../../types').Rounded) => boolean;
6
15
  };
7
16
  size: {
8
- type: import('vue').PropType<import('../../types').Size>;
9
- default: import('../../types').Size;
10
- validator: (size: import('../../types').Size) => boolean;
17
+ type: import('vue').PropType<import('../../types').ButtonSize>;
18
+ default: import('../../types').ButtonSize;
19
+ validator(size: import('../../types').ButtonSize): boolean;
11
20
  };
12
21
  type: {
13
22
  type: import('vue').PropType<import('../../types').ButtonType>;
14
23
  default: import('../../types').ButtonType;
15
- validator: (type: import('../../types').ButtonType) => boolean;
24
+ validator(type: import('../../types').ButtonType): boolean;
16
25
  };
17
26
  variant: {
18
27
  type: import('vue').PropType<import('../../types').Variant>;
19
28
  default: import('../../types').Variant;
20
- validator: (variant: import('../../types').Variant) => boolean;
29
+ validator(variant: import('../../types').Variant): boolean;
21
30
  };
22
31
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
23
32
  [key: string]: any;
@@ -25,27 +34,38 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
25
34
  color: {
26
35
  type: import('vue').PropType<import('../../types').Color>;
27
36
  default: import('../../types').Color;
28
- validator: (color: import('../../types').Color) => boolean;
37
+ validator(color: import('../../types').Color): boolean;
38
+ };
39
+ loading: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ radius: {
44
+ type: import('vue').PropType<import('../../types').Rounded>;
45
+ default: import('../../types').Rounded;
46
+ validator: (radii: import('../../types').Rounded) => boolean;
29
47
  };
30
48
  size: {
31
- type: import('vue').PropType<import('../../types').Size>;
32
- default: import('../../types').Size;
33
- validator: (size: import('../../types').Size) => boolean;
49
+ type: import('vue').PropType<import('../../types').ButtonSize>;
50
+ default: import('../../types').ButtonSize;
51
+ validator(size: import('../../types').ButtonSize): boolean;
34
52
  };
35
53
  type: {
36
54
  type: import('vue').PropType<import('../../types').ButtonType>;
37
55
  default: import('../../types').ButtonType;
38
- validator: (type: import('../../types').ButtonType) => boolean;
56
+ validator(type: import('../../types').ButtonType): boolean;
39
57
  };
40
58
  variant: {
41
59
  type: import('vue').PropType<import('../../types').Variant>;
42
60
  default: import('../../types').Variant;
43
- validator: (variant: import('../../types').Variant) => boolean;
61
+ validator(variant: import('../../types').Variant): boolean;
44
62
  };
45
63
  }>> & Readonly<{}>, {
46
64
  color: import('../../types').Color;
65
+ size: import('../../types').ButtonSize;
47
66
  type: import('../../types').ButtonType;
48
- size: import('../../types').Size;
49
67
  variant: import('../../types').Variant;
68
+ radius: import('../../types').Rounded;
69
+ loading: boolean;
50
70
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
71
  export default _default;
@@ -1,25 +1,34 @@
1
1
  import { PropType } from 'vue';
2
- import { ButtonType, Color, Size, Variant } from '../../../types';
2
+ import { ButtonSize, ButtonType, Color, Rounded, Variant } from '../../../types';
3
3
  declare const _default: {
4
4
  color: {
5
5
  type: PropType<Color>;
6
6
  default: Color;
7
- validator: (color: Color) => boolean;
7
+ validator(color: Color): boolean;
8
+ };
9
+ loading: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ radius: {
14
+ type: PropType<Rounded>;
15
+ default: Rounded;
16
+ validator: (radii: Rounded) => boolean;
8
17
  };
9
18
  size: {
10
- type: PropType<Size>;
11
- default: Size;
12
- validator: (size: Size) => boolean;
19
+ type: PropType<ButtonSize>;
20
+ default: ButtonSize;
21
+ validator(size: ButtonSize): boolean;
13
22
  };
14
23
  type: {
15
24
  type: PropType<ButtonType>;
16
25
  default: ButtonType;
17
- validator: (type: ButtonType) => boolean;
26
+ validator(type: ButtonType): boolean;
18
27
  };
19
28
  variant: {
20
29
  type: PropType<Variant>;
21
30
  default: Variant;
22
- validator: (variant: Variant) => boolean;
31
+ validator(variant: Variant): boolean;
23
32
  };
24
33
  };
25
34
  export default _default;