@rebnd/ui 0.0.2 → 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 (82) hide show
  1. package/README.md +5 -3
  2. package/dist/index.d.ts +12 -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/RTable/RTable.d.ts +47 -0
  45. package/dist/src/components/RTable/utils/table.props.d.ts +23 -0
  46. package/dist/src/components/RTable/utils/table.style.d.ts +4 -0
  47. package/dist/src/components/RTabs/RTabs.d.ts +14 -14
  48. package/dist/src/components/RTabs/utils/tabs.props.d.ts +8 -6
  49. package/dist/src/components/RTabs/utils/tabs.style.d.ts +26 -10
  50. package/dist/src/components/RTextArea/RTextArea.d.ts +21 -1
  51. package/dist/src/components/RTextArea/utils/text-area.props.d.ts +11 -0
  52. package/dist/src/components/RTextArea/utils/text-area.style.d.ts +30 -2
  53. package/dist/src/components/RToast/RToast.d.ts +70 -0
  54. package/dist/src/components/RToast/utils/toast.props.d.ts +33 -0
  55. package/dist/src/components/RToast/utils/toast.style.d.ts +4 -0
  56. package/dist/src/components/RToastRenderer/RToastRenderer.d.ts +31 -0
  57. package/dist/src/components/RToastRenderer/utils/toast-renderer.props.d.ts +14 -0
  58. package/dist/src/components/RToastRenderer/utils/toast-renderer.style.d.ts +21 -0
  59. package/dist/src/components/RToggle/RToggle.d.ts +62 -0
  60. package/dist/src/components/RToggle/utils/toggle.props.d.ts +29 -0
  61. package/dist/src/components/RToggle/utils/toggle.style.d.ts +2 -0
  62. package/dist/src/composables/useModal.d.ts +8 -0
  63. package/dist/src/composables/useToast.d.ts +4 -0
  64. package/dist/src/theme/animations.d.ts +12 -0
  65. package/dist/src/theme/borders.d.ts +24 -0
  66. package/dist/src/theme/colors.d.ts +3696 -233
  67. package/dist/src/theme/fonts.d.ts +46 -0
  68. package/dist/src/theme/index.d.ts +2 -2
  69. package/dist/src/theme/radii.d.ts +24 -0
  70. package/dist/src/theme/semantic-tokens.d.ts +777 -35
  71. package/dist/src/theme/sizes.d.ts +21 -0
  72. package/dist/src/theme/spacing.d.ts +30 -0
  73. package/dist/src/theme/tokens.d.ts +3848 -232
  74. package/dist/src/types/component.d.ts +49 -12
  75. package/dist/src/types/index.d.ts +2 -3
  76. package/dist/src/utils/array.d.ts +3 -0
  77. package/dist/src/utils/regex.d.ts +2 -1
  78. package/dist/src/utils/string.d.ts +2 -1
  79. package/dist/styles.css +3308 -764
  80. package/dist/ui.js +14212 -1735
  81. package/dist/ui.umd.cjs +5 -2
  82. package/package.json +30 -32
@@ -0,0 +1,35 @@
1
+ declare const group: import('../../../../styled-system/types').RecipeRuntimeFn<{
2
+ orientation: {
3
+ horizontal: {
4
+ flexDirection: "row";
5
+ };
6
+ vertical: {
7
+ flexDirection: "column";
8
+ };
9
+ };
10
+ variant: {
11
+ list: {};
12
+ card: {
13
+ '& > label': {
14
+ border: "1px solid";
15
+ borderColor: "input.border";
16
+ borderRadius: "sm";
17
+ };
18
+ '& > label:has(input:checked)': {
19
+ borderColor: "primary.800";
20
+ };
21
+ };
22
+ grid: {
23
+ gap: "0";
24
+ overflow: "hidden";
25
+ border: "1px solid";
26
+ borderColor: "input.border";
27
+ borderRadius: "sm";
28
+ '& > label:has(input:checked)': {
29
+ backgroundColor: "primary.200";
30
+ };
31
+ };
32
+ };
33
+ }>;
34
+ declare const wrapper: import('../../../../styled-system/types').SystemStyleObject;
35
+ export { group, wrapper };
@@ -1,9 +1,15 @@
1
+ import { SlotsType, VNode } from 'vue';
2
+ interface Slots {
3
+ label?: () => VNode[];
4
+ default: () => VNode[];
5
+ helperText?: () => VNode[];
6
+ }
1
7
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
8
  name: {
3
9
  type: StringConstructor;
4
10
  default: string;
5
11
  };
6
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
+ }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
7
13
  [key: string]: any;
8
14
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
15
  name: {
@@ -12,5 +18,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
18
  };
13
19
  }>> & Readonly<{}>, {
14
20
  name: string;
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ }, SlotsType<Slots>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
22
  export default _default;
@@ -1,3 +1,8 @@
1
+ import { SlotsType, VNode } from 'vue';
2
+ interface Slots {
3
+ leading?: () => VNode[];
4
+ trailing?: () => VNode[];
5
+ }
1
6
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
7
  hasError: {
3
8
  type: BooleanConstructor;
@@ -7,7 +12,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
12
  type: StringConstructor;
8
13
  default: string;
9
14
  };
10
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ radius: {
16
+ type: import('vue').PropType<import('../../types').Rounded>;
17
+ default: import('../../types').Rounded;
18
+ validator: (radii: import('../../types').Rounded) => boolean;
19
+ };
20
+ }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
21
  [key: string]: any;
12
22
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
23
  hasError: {
@@ -18,10 +28,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
28
  type: StringConstructor;
19
29
  default: string;
20
30
  };
31
+ radius: {
32
+ type: import('vue').PropType<import('../../types').Rounded>;
33
+ default: import('../../types').Rounded;
34
+ validator: (radii: import('../../types').Rounded) => boolean;
35
+ };
21
36
  }>> & Readonly<{
22
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
38
  }>, {
24
- hasError: boolean;
39
+ radius: import('../../types').Rounded;
25
40
  modelValue: string;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ hasError: boolean;
42
+ }, SlotsType<Slots>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
43
  export default _default;
@@ -1,3 +1,5 @@
1
+ import { PropType } from 'vue';
2
+ import { Rounded } from '../../../types';
1
3
  declare const _default: {
2
4
  hasError: {
3
5
  type: BooleanConstructor;
@@ -7,5 +9,10 @@ declare const _default: {
7
9
  type: StringConstructor;
8
10
  default: string;
9
11
  };
12
+ radius: {
13
+ type: PropType<Rounded>;
14
+ default: Rounded;
15
+ validator: (radii: Rounded) => boolean;
16
+ };
10
17
  };
11
18
  export default _default;
@@ -1,2 +1,24 @@
1
- declare const styles: string;
2
- export { styles };
1
+ declare const wrapper: string;
2
+ declare const input: import('../../../../styled-system/types').RecipeRuntimeFn<{
3
+ radius: {
4
+ sharp: {
5
+ borderRadius: "sharp";
6
+ };
7
+ xs: {
8
+ borderRadius: "xs";
9
+ };
10
+ sm: {
11
+ borderRadius: "sm";
12
+ };
13
+ md: {
14
+ borderRadius: "md";
15
+ };
16
+ lg: {
17
+ borderRadius: "lg";
18
+ };
19
+ pill: {
20
+ borderRadius: "pill";
21
+ };
22
+ };
23
+ }>;
24
+ export { input, wrapper };
@@ -0,0 +1,22 @@
1
+ export declare enum StrengthLevel {
2
+ Critical = "Critical",
3
+ Weak = "Weak",
4
+ Medium = "Medium",
5
+ Strong = "Strong"
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ calculateStrength: {
9
+ type: import('vue').PropType<(password: string) => number>;
10
+ default: undefined;
11
+ };
12
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
13
+ [key: string]: any;
14
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ calculateStrength: {
16
+ type: import('vue').PropType<(password: string) => number>;
17
+ default: undefined;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ calculateStrength: (password: string) => number;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: {
3
+ calculateStrength: {
4
+ type: PropType<(password: string) => number>;
5
+ default: undefined;
6
+ };
7
+ };
8
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const meter: string;
2
+ declare const strengthLabel: string;
3
+ declare const wrapper: string;
4
+ export { meter, strengthLabel, wrapper };
@@ -0,0 +1,65 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ closeCallback: {
3
+ type: FunctionConstructor;
4
+ default: () => void;
5
+ };
6
+ fullscreen: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ mode: {
11
+ type: import('vue').PropType<import('../../types').ModalMode>;
12
+ default: string;
13
+ validator(mode: import('../../types').ModalMode): boolean;
14
+ };
15
+ open: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ preventClose: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
28
+ [key: string]: any;
29
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], "close", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
+ closeCallback: {
31
+ type: FunctionConstructor;
32
+ default: () => void;
33
+ };
34
+ fullscreen: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ mode: {
39
+ type: import('vue').PropType<import('../../types').ModalMode>;
40
+ default: string;
41
+ validator(mode: import('../../types').ModalMode): boolean;
42
+ };
43
+ open: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ preventClose: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ title: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ }>> & Readonly<{
56
+ onClose?: ((...args: any[]) => any) | undefined;
57
+ }>, {
58
+ fullscreen: boolean;
59
+ mode: import('../../types').ModalMode;
60
+ title: string;
61
+ open: boolean;
62
+ closeCallback: Function;
63
+ preventClose: boolean;
64
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
65
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { PropType } from 'vue';
2
+ import { ModalMode } from '../../../types';
3
+ declare const _default: {
4
+ closeCallback: {
5
+ type: FunctionConstructor;
6
+ default: () => void;
7
+ };
8
+ fullscreen: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ mode: {
13
+ type: PropType<ModalMode>;
14
+ default: string;
15
+ validator(mode: ModalMode): boolean;
16
+ };
17
+ open: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ preventClose: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ title: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ };
30
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const modal: string;
2
+ declare const modalHeader: string;
3
+ export { modal, modalHeader };
@@ -0,0 +1,60 @@
1
+ import { SlotsType, VNode } from 'vue';
2
+ interface Slots {
3
+ label?: () => VNode[];
4
+ }
5
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ value: {
7
+ type: StringConstructor;
8
+ required: boolean;
9
+ };
10
+ modelValue: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ name: {
15
+ type: StringConstructor;
16
+ required: boolean;
17
+ };
18
+ placement: {
19
+ type: import('vue').PropType<import('../../types').Placement>;
20
+ default: import('../../types').Placement;
21
+ validator: (placement: import('../../types').Placement) => boolean;
22
+ };
23
+ radius: {
24
+ type: import('vue').PropType<import('../../types').Rounded>;
25
+ default: import('../../types').Rounded;
26
+ validator: (radii: import('../../types').Rounded) => boolean;
27
+ };
28
+ }>, () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
29
+ [key: string]: any;
30
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
+ value: {
32
+ type: StringConstructor;
33
+ required: boolean;
34
+ };
35
+ modelValue: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ name: {
40
+ type: StringConstructor;
41
+ required: boolean;
42
+ };
43
+ placement: {
44
+ type: import('vue').PropType<import('../../types').Placement>;
45
+ default: import('../../types').Placement;
46
+ validator: (placement: import('../../types').Placement) => boolean;
47
+ };
48
+ radius: {
49
+ type: import('vue').PropType<import('../../types').Rounded>;
50
+ default: import('../../types').Rounded;
51
+ validator: (radii: import('../../types').Rounded) => boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
55
+ }>, {
56
+ radius: import('../../types').Rounded;
57
+ placement: import('../../types').Placement;
58
+ modelValue: string;
59
+ }, SlotsType<Slots>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { PropType } from 'vue';
2
+ import { Placement, Rounded } from '../../../types';
3
+ declare const _default: {
4
+ value: {
5
+ type: StringConstructor;
6
+ required: boolean;
7
+ };
8
+ modelValue: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ name: {
13
+ type: StringConstructor;
14
+ required: boolean;
15
+ };
16
+ placement: {
17
+ type: PropType<Placement>;
18
+ default: Placement;
19
+ validator: (placement: Placement) => boolean;
20
+ };
21
+ radius: {
22
+ type: PropType<Rounded>;
23
+ default: Rounded;
24
+ validator: (radii: Rounded) => boolean;
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,64 @@
1
+ declare const wrapper: import('../../../../styled-system/types').RecipeRuntimeFn<{
2
+ placement: {
3
+ before: {
4
+ flexDirection: "row-reverse";
5
+ };
6
+ after: {
7
+ flexDirection: "row";
8
+ };
9
+ hidden: {};
10
+ };
11
+ }>;
12
+ declare const input: import('../../../../styled-system/types').RecipeRuntimeFn<{
13
+ radius: {
14
+ sharp: {
15
+ borderRadius: "sharp";
16
+ _checked: {
17
+ '&::after': {
18
+ borderRadius: "sharp";
19
+ };
20
+ };
21
+ };
22
+ xs: {
23
+ borderRadius: "xs";
24
+ _checked: {
25
+ '&::after': {
26
+ borderRadius: "xs";
27
+ };
28
+ };
29
+ };
30
+ sm: {
31
+ borderRadius: "sm";
32
+ _checked: {
33
+ '&::after': {
34
+ borderRadius: "sm";
35
+ };
36
+ };
37
+ };
38
+ md: {
39
+ borderRadius: "md";
40
+ _checked: {
41
+ '&::after': {
42
+ borderRadius: "md";
43
+ };
44
+ };
45
+ };
46
+ lg: {
47
+ borderRadius: "lg";
48
+ _checked: {
49
+ '&::after': {
50
+ borderRadius: "lg";
51
+ };
52
+ };
53
+ };
54
+ pill: {
55
+ borderRadius: "pill";
56
+ _checked: {
57
+ '&::after': {
58
+ borderRadius: "pill";
59
+ };
60
+ };
61
+ };
62
+ };
63
+ }>;
64
+ export { input, wrapper };
@@ -0,0 +1,78 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ legend: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ modelValue: {
7
+ type: StringConstructor;
8
+ required: boolean;
9
+ };
10
+ name: {
11
+ type: StringConstructor;
12
+ required: boolean;
13
+ };
14
+ orientation: {
15
+ type: import('vue').PropType<import('../../types').Orientation>;
16
+ default: import('../../types').Orientation;
17
+ validator: (orientation: import('../../types').Orientation) => boolean;
18
+ };
19
+ placement: {
20
+ type: import('vue').PropType<import('../../types').Placement>;
21
+ default: import('../../types').Placement;
22
+ validator: (placement: import('../../types').Placement) => boolean;
23
+ };
24
+ radius: {
25
+ type: import('vue').PropType<import('../../types').Rounded>;
26
+ default: import('../../types').Rounded;
27
+ validator: (radii: import('../../types').Rounded) => boolean;
28
+ };
29
+ variant: {
30
+ type: import('vue').PropType<import('../../types').RadioGroupType>;
31
+ default: import('../../types').RadioGroupType;
32
+ validator: (variant: import('../../types').RadioGroupType) => boolean;
33
+ };
34
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
35
+ [key: string]: any;
36
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
+ legend: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ modelValue: {
42
+ type: StringConstructor;
43
+ required: boolean;
44
+ };
45
+ name: {
46
+ type: StringConstructor;
47
+ required: boolean;
48
+ };
49
+ orientation: {
50
+ type: import('vue').PropType<import('../../types').Orientation>;
51
+ default: import('../../types').Orientation;
52
+ validator: (orientation: import('../../types').Orientation) => boolean;
53
+ };
54
+ placement: {
55
+ type: import('vue').PropType<import('../../types').Placement>;
56
+ default: import('../../types').Placement;
57
+ validator: (placement: import('../../types').Placement) => boolean;
58
+ };
59
+ radius: {
60
+ type: import('vue').PropType<import('../../types').Rounded>;
61
+ default: import('../../types').Rounded;
62
+ validator: (radii: import('../../types').Rounded) => boolean;
63
+ };
64
+ variant: {
65
+ type: import('vue').PropType<import('../../types').RadioGroupType>;
66
+ default: import('../../types').RadioGroupType;
67
+ validator: (variant: import('../../types').RadioGroupType) => boolean;
68
+ };
69
+ }>> & Readonly<{
70
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
+ }>, {
72
+ legend: string;
73
+ variant: import('../../types').RadioGroupType;
74
+ radius: import('../../types').Rounded;
75
+ placement: import('../../types').Placement;
76
+ orientation: import('../../types').Orientation;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { PropType } from 'vue';
2
+ import { Orientation, Placement, RadioGroupType, Rounded } from '../../../types';
3
+ declare const _default: {
4
+ legend: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ modelValue: {
9
+ type: StringConstructor;
10
+ required: boolean;
11
+ };
12
+ name: {
13
+ type: StringConstructor;
14
+ required: boolean;
15
+ };
16
+ orientation: {
17
+ type: PropType<Orientation>;
18
+ default: Orientation;
19
+ validator: (orientation: Orientation) => boolean;
20
+ };
21
+ placement: {
22
+ type: PropType<Placement>;
23
+ default: Placement;
24
+ validator: (placement: Placement) => boolean;
25
+ };
26
+ radius: {
27
+ type: PropType<Rounded>;
28
+ default: Rounded;
29
+ validator: (radii: Rounded) => boolean;
30
+ };
31
+ variant: {
32
+ type: PropType<RadioGroupType>;
33
+ default: RadioGroupType;
34
+ validator: (variant: RadioGroupType) => boolean;
35
+ };
36
+ };
37
+ export default _default;
@@ -0,0 +1,35 @@
1
+ declare const group: import('../../../../styled-system/types').RecipeRuntimeFn<{
2
+ orientation: {
3
+ horizontal: {
4
+ flexDirection: "row";
5
+ };
6
+ vertical: {
7
+ flexDirection: "column";
8
+ };
9
+ };
10
+ variant: {
11
+ list: {};
12
+ card: {
13
+ '& > label': {
14
+ border: "1px solid";
15
+ borderColor: "input.border";
16
+ borderRadius: "sm";
17
+ };
18
+ '& > label:has(input:checked)': {
19
+ borderColor: "primary.800";
20
+ };
21
+ };
22
+ grid: {
23
+ gap: "0";
24
+ overflow: "hidden";
25
+ border: "1px solid";
26
+ borderColor: "input.border";
27
+ borderRadius: "sm";
28
+ '& > label:has(input:checked)': {
29
+ backgroundColor: "primary.200";
30
+ };
31
+ };
32
+ };
33
+ }>;
34
+ declare const wrapper: import('../../../../styled-system/types').SystemStyleObject;
35
+ export { group, wrapper };