@bitrix24/b24ui-nuxt 0.1.1

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 (159) hide show
  1. package/.nuxt/b24ui/advice.ts +52 -0
  2. package/.nuxt/b24ui/alert.ts +118 -0
  3. package/.nuxt/b24ui/avatar-group.ts +52 -0
  4. package/.nuxt/b24ui/avatar.ts +63 -0
  5. package/.nuxt/b24ui/badge.ts +256 -0
  6. package/.nuxt/b24ui/button-group.ts +27 -0
  7. package/.nuxt/b24ui/button.ts +342 -0
  8. package/.nuxt/b24ui/checkbox.ts +128 -0
  9. package/.nuxt/b24ui/chip.ts +205 -0
  10. package/.nuxt/b24ui/container.ts +3 -0
  11. package/.nuxt/b24ui/content/description-list.ts +62 -0
  12. package/.nuxt/b24ui/countdown.ts +94 -0
  13. package/.nuxt/b24ui/form-field.ts +57 -0
  14. package/.nuxt/b24ui/form.ts +3 -0
  15. package/.nuxt/b24ui/index.ts +28 -0
  16. package/.nuxt/b24ui/input.ts +472 -0
  17. package/.nuxt/b24ui/kbd.ts +31 -0
  18. package/.nuxt/b24ui/link.ts +20 -0
  19. package/.nuxt/b24ui/progress.ts +303 -0
  20. package/.nuxt/b24ui/radio-group.ts +135 -0
  21. package/.nuxt/b24ui/range.ts +172 -0
  22. package/.nuxt/b24ui/select.ts +550 -0
  23. package/.nuxt/b24ui/separator.ts +176 -0
  24. package/.nuxt/b24ui/skeleton.ts +3 -0
  25. package/.nuxt/b24ui/switch.ts +134 -0
  26. package/.nuxt/b24ui/tabs.ts +341 -0
  27. package/.nuxt/b24ui/textarea.ts +332 -0
  28. package/.nuxt/b24ui/toast.ts +89 -0
  29. package/.nuxt/b24ui/toaster.ts +91 -0
  30. package/.nuxt/b24ui/tooltip.ts +16 -0
  31. package/LICENSE +21 -0
  32. package/README.md +101 -0
  33. package/cli/commands/make/component.mjs +95 -0
  34. package/cli/commands/make/index.mjs +14 -0
  35. package/cli/commands/make/locale.mjs +64 -0
  36. package/cli/index.mjs +15 -0
  37. package/cli/package.json +13 -0
  38. package/cli/templates.mjs +240 -0
  39. package/cli/utils.mjs +31 -0
  40. package/dist/meta.cjs +23610 -0
  41. package/dist/meta.d.cts +23608 -0
  42. package/dist/meta.d.mts +23608 -0
  43. package/dist/meta.d.ts +23608 -0
  44. package/dist/meta.mjs +23608 -0
  45. package/dist/module.cjs +54 -0
  46. package/dist/module.d.cts +14 -0
  47. package/dist/module.d.mts +14 -0
  48. package/dist/module.d.ts +14 -0
  49. package/dist/module.json +13 -0
  50. package/dist/module.mjs +51 -0
  51. package/dist/runtime/components/Advice.vue +115 -0
  52. package/dist/runtime/components/Alert.vue +136 -0
  53. package/dist/runtime/components/App.vue +52 -0
  54. package/dist/runtime/components/Avatar.vue +118 -0
  55. package/dist/runtime/components/AvatarGroup.vue +99 -0
  56. package/dist/runtime/components/Badge.vue +114 -0
  57. package/dist/runtime/components/Button.vue +177 -0
  58. package/dist/runtime/components/ButtonGroup.vue +58 -0
  59. package/dist/runtime/components/Checkbox.vue +110 -0
  60. package/dist/runtime/components/Chip.vue +81 -0
  61. package/dist/runtime/components/Container.vue +36 -0
  62. package/dist/runtime/components/Countdown.vue +498 -0
  63. package/dist/runtime/components/Form.vue +271 -0
  64. package/dist/runtime/components/FormField.vue +128 -0
  65. package/dist/runtime/components/Input.vue +224 -0
  66. package/dist/runtime/components/Kbd.vue +50 -0
  67. package/dist/runtime/components/Link.vue +219 -0
  68. package/dist/runtime/components/LinkBase.vue +63 -0
  69. package/dist/runtime/components/Progress.vue +182 -0
  70. package/dist/runtime/components/RadioGroup.vue +178 -0
  71. package/dist/runtime/components/Range.vue +114 -0
  72. package/dist/runtime/components/Select.vue +328 -0
  73. package/dist/runtime/components/Separator.vue +82 -0
  74. package/dist/runtime/components/Skeleton.vue +31 -0
  75. package/dist/runtime/components/Switch.vue +133 -0
  76. package/dist/runtime/components/Tabs.vue +127 -0
  77. package/dist/runtime/components/Textarea.vue +216 -0
  78. package/dist/runtime/components/Toast.vue +168 -0
  79. package/dist/runtime/components/Toaster.vue +143 -0
  80. package/dist/runtime/components/Tooltip.vue +94 -0
  81. package/dist/runtime/components/content/DescriptionList.vue +220 -0
  82. package/dist/runtime/composables/defineLocale.d.ts +9 -0
  83. package/dist/runtime/composables/defineLocale.js +4 -0
  84. package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
  85. package/dist/runtime/composables/defineShortcuts.js +135 -0
  86. package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
  87. package/dist/runtime/composables/useAvatarGroup.js +10 -0
  88. package/dist/runtime/composables/useButtonGroup.d.ts +17 -0
  89. package/dist/runtime/composables/useButtonGroup.js +10 -0
  90. package/dist/runtime/composables/useComponentIcons.d.ts +20 -0
  91. package/dist/runtime/composables/useComponentIcons.js +25 -0
  92. package/dist/runtime/composables/useFormField.d.ts +42 -0
  93. package/dist/runtime/composables/useFormField.js +65 -0
  94. package/dist/runtime/composables/useKbd.d.ts +35 -0
  95. package/dist/runtime/composables/useKbd.js +52 -0
  96. package/dist/runtime/composables/useLocale.d.ts +4 -0
  97. package/dist/runtime/composables/useLocale.js +10 -0
  98. package/dist/runtime/composables/useToast.d.ts +12 -0
  99. package/dist/runtime/composables/useToast.js +62 -0
  100. package/dist/runtime/dictionary/icons.d.ts +20 -0
  101. package/dist/runtime/dictionary/icons.js +35 -0
  102. package/dist/runtime/index.css +1 -0
  103. package/dist/runtime/keyframes.css +1 -0
  104. package/dist/runtime/locale/en.d.ts +2 -0
  105. package/dist/runtime/locale/en.js +48 -0
  106. package/dist/runtime/locale/es.d.ts +2 -0
  107. package/dist/runtime/locale/es.js +48 -0
  108. package/dist/runtime/locale/index.d.ts +3 -0
  109. package/dist/runtime/locale/index.js +3 -0
  110. package/dist/runtime/locale/ru.d.ts +2 -0
  111. package/dist/runtime/locale/ru.js +48 -0
  112. package/dist/runtime/plugins/colors.d.ts +2 -0
  113. package/dist/runtime/plugins/colors.js +40 -0
  114. package/dist/runtime/types/app.config.d.ts +6 -0
  115. package/dist/runtime/types/form.d.ts +84 -0
  116. package/dist/runtime/types/form.js +12 -0
  117. package/dist/runtime/types/icons.d.ts +3 -0
  118. package/dist/runtime/types/icons.js +0 -0
  119. package/dist/runtime/types/index.d.ts +33 -0
  120. package/dist/runtime/types/index.js +33 -0
  121. package/dist/runtime/types/locale.d.ts +50 -0
  122. package/dist/runtime/types/locale.js +0 -0
  123. package/dist/runtime/types/utils.d.ts +22 -0
  124. package/dist/runtime/types/utils.js +0 -0
  125. package/dist/runtime/utils/form.d.ts +17 -0
  126. package/dist/runtime/utils/form.js +153 -0
  127. package/dist/runtime/utils/fuse.d.ts +4 -0
  128. package/dist/runtime/utils/fuse.js +63 -0
  129. package/dist/runtime/utils/index.d.ts +6 -0
  130. package/dist/runtime/utils/index.js +63 -0
  131. package/dist/runtime/utils/link.d.ts +29 -0
  132. package/dist/runtime/utils/link.js +4 -0
  133. package/dist/runtime/utils/locale.d.ts +15 -0
  134. package/dist/runtime/utils/locale.js +25 -0
  135. package/dist/runtime/utils/tv.d.ts +1 -0
  136. package/dist/runtime/utils/tv.js +4 -0
  137. package/dist/runtime/vue/components/Link.vue +203 -0
  138. package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
  139. package/dist/runtime/vue/plugins/color-mode.js +6 -0
  140. package/dist/runtime/vue/plugins/head.d.ts +4 -0
  141. package/dist/runtime/vue/plugins/head.js +6 -0
  142. package/dist/runtime/vue/stubs.d.ts +15 -0
  143. package/dist/runtime/vue/stubs.js +27 -0
  144. package/dist/shared/b24ui-nuxt.CNGvMe2S.mjs +4074 -0
  145. package/dist/shared/b24ui-nuxt.D22QQtm8.cjs +4079 -0
  146. package/dist/types.d.mts +1 -0
  147. package/dist/types.d.ts +1 -0
  148. package/dist/unplugin.cjs +213 -0
  149. package/dist/unplugin.d.cts +22 -0
  150. package/dist/unplugin.d.mts +22 -0
  151. package/dist/unplugin.d.ts +22 -0
  152. package/dist/unplugin.mjs +202 -0
  153. package/dist/vite.cjs +21 -0
  154. package/dist/vite.d.cts +12 -0
  155. package/dist/vite.d.mts +12 -0
  156. package/dist/vite.d.ts +12 -0
  157. package/dist/vite.mjs +19 -0
  158. package/package.json +166 -0
  159. package/vue-plugin.d.ts +5 -0
@@ -0,0 +1,52 @@
1
+ const angle = [
2
+ "top",
3
+ "bottom"
4
+ ] as const
5
+
6
+ export default {
7
+ "slots": {
8
+ "root": "flex items-end",
9
+ "descriptionWrapper": [
10
+ "relative"
11
+ ],
12
+ "descriptionBorder": [
13
+ "fill-blue-500 dark:fill-blue-300"
14
+ ],
15
+ "descriptionBg": [
16
+ "fill-white dark:fill-base-900"
17
+ ],
18
+ "descriptionAngle": [
19
+ "absolute",
20
+ "w-[14px] h-[12px]"
21
+ ],
22
+ "description": [
23
+ "grow",
24
+ "w-11/12 py-3 px-md2 ms-2",
25
+ "rounded-[23px]",
26
+ "font-b24-secondary text-md leading-md font-normal",
27
+ "border-1",
28
+ "border-blue-500 bg-white text-base-950",
29
+ "dark:border-blue-300 dark:bg-base-900 dark:text-base-200"
30
+ ],
31
+ "leading": "me-1.5 ms-2",
32
+ "leadingIcon": "shrink-0 size-[42px]",
33
+ "leadingAvatar": "shrink-0",
34
+ "leadingAvatarSize": "lg"
35
+ },
36
+ "variants": {
37
+ "angle": {
38
+ "top": {
39
+ "root": "items-start",
40
+ "leading": "mt-0.5",
41
+ "descriptionAngle": "start-[0.8px] top-[9px] scale-x-100 -scale-y-100 rtl:-scale-x-100"
42
+ },
43
+ "bottom": {
44
+ "root": "items-end",
45
+ "descriptionAngle": "start-[0.8px] bottom-[9px] rtl:-scale-x-100"
46
+ }
47
+ }
48
+ },
49
+ "defaultVariants": {
50
+ "angle": "bottom" as typeof angle[number]
51
+ }
52
+ }
@@ -0,0 +1,118 @@
1
+ const color = [
2
+ "default",
3
+ "danger",
4
+ "success",
5
+ "warning",
6
+ "primary",
7
+ "secondary",
8
+ "collab",
9
+ "ai"
10
+ ] as const
11
+
12
+ const size = [
13
+ "sm",
14
+ "md"
15
+ ] as const
16
+
17
+ export default {
18
+ "slots": {
19
+ "root": "relative overflow-hidden w-full rounded-3xs flex",
20
+ "wrapper": "min-w-0 flex-1 flex flex-col gap-1 font-b24-primary font-normal",
21
+ "title": "font-bold",
22
+ "description": "",
23
+ "icon": "shrink-0 size-6",
24
+ "avatar": "shrink-0",
25
+ "avatarSize": "",
26
+ "actions": "flex flex-wrap gap-1.5 shrink-0",
27
+ "close": "p-0.5"
28
+ },
29
+ "variants": {
30
+ "color": {
31
+ "default": {
32
+ "root": [
33
+ "text-base-950 bg-base-200",
34
+ "dark:text-base-950 dark:bg-base-200"
35
+ ],
36
+ "close": "text-base-800 dark:text-base-800 hover:text-base-950 dark:hover:text-base-950"
37
+ },
38
+ "danger": {
39
+ "root": [
40
+ "text-red-700 bg-red-200",
41
+ "dark:text-red-700 dark:bg-red-300"
42
+ ],
43
+ "close": "text-red-700 dark:text-red-700 hover:text-red-800 dark:hover:text-red-800"
44
+ },
45
+ "success": {
46
+ "root": [
47
+ "text-green-780 bg-green-200",
48
+ "dark:text-green-780 dark:bg-green-300"
49
+ ],
50
+ "close": "text-green-780 dark:text-green-780 hover:text-green-800 dark:hover:text-green-800"
51
+ },
52
+ "warning": {
53
+ "root": [
54
+ "text-orange-700 bg-orange-200",
55
+ "dark:text-orange-750 dark:bg-orange-300"
56
+ ],
57
+ "close": "text-orange-700 dark:text-orange-750 hover:text-orange-800 dark:hover:text-orange-800"
58
+ },
59
+ "primary": {
60
+ "root": [
61
+ "text-blue-700 bg-blue-200",
62
+ "dark:text-blue-700 dark:bg-blue-300"
63
+ ],
64
+ "close": "text-blue-700 dark:text-blue-700 hover:text-blue-800 dark:hover:text-blue-800"
65
+ },
66
+ "secondary": {
67
+ "root": [
68
+ "text-cyan-700 bg-cyan-150",
69
+ "dark:text-cyan-750 dark:bg-cyan-300"
70
+ ],
71
+ "close": "text-cyan-700 dark:text-cyan-750 hover:text-cyan-800 dark:hover:text-cyan-800"
72
+ },
73
+ "collab": {
74
+ "root": [
75
+ "text-collab-700 bg-collab-200",
76
+ "dark:text-collab-700 dark:bg-collab-300"
77
+ ],
78
+ "close": "text-collab-700 dark:text-collab-700 hover:text-collab-800 dark:hover:text-collab-800"
79
+ },
80
+ "ai": {
81
+ "root": [
82
+ "text-ai-700 bg-ai-200",
83
+ "dark:text-ai-700 dark:bg-ai-300"
84
+ ],
85
+ "close": "text-ai-700 dark:text-ai-700 hover:text-ai-800 dark:hover:text-ai-800"
86
+ }
87
+ },
88
+ "size": {
89
+ "sm": {
90
+ "root": "py-xs ps-sm pe-xs gap-2",
91
+ "title": "text-sm leading-normal",
92
+ "description": "text-sm leading-normal",
93
+ "avatarSize": "md"
94
+ },
95
+ "md": {
96
+ "root": "py-md ps-md pe-xs gap-2.5",
97
+ "title": "text-md leading-none",
98
+ "description": "text-md leading-[17px]",
99
+ "avatarSize": "xl"
100
+ }
101
+ },
102
+ "multiline": {
103
+ "true": {
104
+ "root": "items-start",
105
+ "actions": "items-start mt-2"
106
+ },
107
+ "false": {
108
+ "root": "items-center",
109
+ "actions": "items-center"
110
+ }
111
+ }
112
+ },
113
+ "compoundVariants": [],
114
+ "defaultVariants": {
115
+ "color": "default" as typeof color[number],
116
+ "size": "md" as typeof size[number]
117
+ }
118
+ }
@@ -0,0 +1,52 @@
1
+ const size = [
2
+ "3xs",
3
+ "2xs",
4
+ "xs",
5
+ "sm",
6
+ "md",
7
+ "lg",
8
+ "xl",
9
+ "2xl",
10
+ "3xl"
11
+ ] as const
12
+
13
+ export default {
14
+ "slots": {
15
+ "root": "inline-flex justify-end",
16
+ "base": "relative rounded-full ring-white dark:ring-base-700 last:me-0"
17
+ },
18
+ "variants": {
19
+ "size": {
20
+ "3xs": {
21
+ "base": "ring -me-0.5"
22
+ },
23
+ "2xs": {
24
+ "base": "ring -me-0.5"
25
+ },
26
+ "xs": {
27
+ "base": "ring -me-0.5"
28
+ },
29
+ "sm": {
30
+ "base": "ring -me-1.5"
31
+ },
32
+ "md": {
33
+ "base": "ring-2 -me-1.5"
34
+ },
35
+ "lg": {
36
+ "base": "ring-2 -me-1.5"
37
+ },
38
+ "xl": {
39
+ "base": "ring-3 -me-2"
40
+ },
41
+ "2xl": {
42
+ "base": "ring-3 -me-2"
43
+ },
44
+ "3xl": {
45
+ "base": "ring-3 -me-2"
46
+ }
47
+ }
48
+ },
49
+ "defaultVariants": {
50
+ "size": "md" as typeof size[number]
51
+ }
52
+ }
@@ -0,0 +1,63 @@
1
+ const size = [
2
+ "3xs",
3
+ "2xs",
4
+ "xs",
5
+ "sm",
6
+ "md",
7
+ "lg",
8
+ "xl",
9
+ "2xl",
10
+ "3xl"
11
+ ] as const
12
+
13
+ export default {
14
+ "slots": {
15
+ "root": "inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-base-100 dark:bg-base-900",
16
+ "image": "h-full w-full rounded-[inherit] object-cover data-[error]:hidden",
17
+ "fallback": "font-medium text-base-500 dark:text-base-600 truncate",
18
+ "icon": "text-base-500 shrink-0 dark:text-base-600"
19
+ },
20
+ "variants": {
21
+ "size": {
22
+ "3xs": {
23
+ "root": "size-xs2 text-4xs font-regular",
24
+ "icon": "size-xs2"
25
+ },
26
+ "2xs": {
27
+ "root": "size-5 text-4xs font-regular",
28
+ "icon": "size-5"
29
+ },
30
+ "xs": {
31
+ "root": "size-6 text-3xs font-regular",
32
+ "icon": "size-6"
33
+ },
34
+ "sm": {
35
+ "root": "size-7 text-xs",
36
+ "icon": "size-7"
37
+ },
38
+ "md": {
39
+ "root": "size-8 text-sm",
40
+ "icon": "size-8"
41
+ },
42
+ "lg": {
43
+ "root": "size-[42px] text-2xl",
44
+ "icon": "size-[42px]"
45
+ },
46
+ "xl": {
47
+ "root": "size-12 text-2xl",
48
+ "icon": "size-12"
49
+ },
50
+ "2xl": {
51
+ "root": "size-[60px] text-5xl",
52
+ "icon": "size-[60px]"
53
+ },
54
+ "3xl": {
55
+ "root": "size-[94px] text-[34px]",
56
+ "icon": "size-[94px]"
57
+ }
58
+ }
59
+ },
60
+ "defaultVariants": {
61
+ "size": "md" as typeof size[number]
62
+ }
63
+ }
@@ -0,0 +1,256 @@
1
+ const color = [
2
+ "default",
3
+ "danger",
4
+ "success",
5
+ "warning",
6
+ "primary",
7
+ "secondary",
8
+ "collab",
9
+ "ai"
10
+ ] as const
11
+
12
+ const depth = [
13
+ "light",
14
+ "normal",
15
+ "dark"
16
+ ] as const
17
+
18
+ const size = [
19
+ "xs",
20
+ "sm",
21
+ "md",
22
+ "lg",
23
+ "xl"
24
+ ] as const
25
+
26
+ export default {
27
+ "slots": {
28
+ "base": [
29
+ "select-none font-b24-secondary font-normal",
30
+ "inline-flex items-center",
31
+ "transition-all duration-200 ease-linear",
32
+ "px-2 leading-normal rounded-md"
33
+ ],
34
+ "wrapper": "inline-flex items-center",
35
+ "label": "max-w-full whitespace-nowrap text-ellipsis",
36
+ "leadingIcon": "shrink-0",
37
+ "leadingAvatar": "shrink-0",
38
+ "leadingAvatarSize": "",
39
+ "trailingIcon": "shrink-0 cursor-pointer hover:rounded-full hover:bg-current/20 dark:hover:bg-current/35"
40
+ },
41
+ "variants": {
42
+ "useLink": {
43
+ "true": {
44
+ "base": "cursor-pointer",
45
+ "wrapper": "group",
46
+ "label": "group-hover:underline group-hover:decoration-dashed"
47
+ }
48
+ },
49
+ "useClose": {
50
+ "true": "pe-2xs"
51
+ },
52
+ "useFill": {
53
+ "true": "",
54
+ "false": "bg-transparent"
55
+ },
56
+ "leading": {
57
+ "true": "ps-2xs"
58
+ },
59
+ "color": {
60
+ "default": "",
61
+ "danger": "",
62
+ "success": "",
63
+ "warning": "",
64
+ "primary": "",
65
+ "secondary": "",
66
+ "collab": "",
67
+ "ai": ""
68
+ },
69
+ "depth": {
70
+ "light": "font-normal",
71
+ "normal": "font-bold",
72
+ "dark": "font-bold"
73
+ },
74
+ "size": {
75
+ "xs": {
76
+ "base": "text-5xs gap-0.5",
77
+ "wrapper": "h-[14px] gap-0.5",
78
+ "label": "underline-offset-1",
79
+ "leadingIcon": "size-sm",
80
+ "leadingAvatarSize": "3xs",
81
+ "trailingIcon": "size-sm "
82
+ },
83
+ "sm": {
84
+ "base": "text-4xs gap-1",
85
+ "wrapper": "h-[16px] gap-1",
86
+ "label": "underline-offset-1",
87
+ "leadingIcon": "size-sm2",
88
+ "leadingAvatarSize": "3xs",
89
+ "trailingIcon": "size-sm2"
90
+ },
91
+ "md": {
92
+ "base": "text-3xs gap-1",
93
+ "wrapper": "h-[17px] gap-1",
94
+ "label": "underline-offset-1",
95
+ "leadingIcon": "size-[15px]",
96
+ "leadingAvatarSize": "3xs",
97
+ "trailingIcon": "size-[15px]"
98
+ },
99
+ "lg": {
100
+ "base": "text-xs gap-1 rounded-lg",
101
+ "wrapper": "h-[24px] gap-1",
102
+ "leadingIcon": "size-[22px]",
103
+ "leadingAvatarSize": "2xs",
104
+ "trailingIcon": "size-[22px]"
105
+ },
106
+ "xl": {
107
+ "base": "text-md gap-1 rounded-xl",
108
+ "wrapper": "h-[31px] gap-1",
109
+ "leadingIcon": "size-[26px]",
110
+ "leadingAvatarSize": "xs",
111
+ "trailingIcon": "size-[26px]"
112
+ }
113
+ }
114
+ },
115
+ "compoundVariants": [
116
+ {
117
+ "color": "default" as typeof color[number],
118
+ "depth": "light" as typeof depth[number],
119
+ "class": "ring ring-inset text-base-900 bg-base-100 ring-base-100 dark:text-base-900 dark:bg-base-150 dark:ring-base-150"
120
+ },
121
+ {
122
+ "color": "default" as typeof color[number],
123
+ "depth": "normal" as typeof depth[number],
124
+ "class": "ring ring-inset text-base-800 bg-base-150 ring-base-150 dark:text-base-950 dark:bg-base-200 dark:ring-base-200"
125
+ },
126
+ {
127
+ "color": "default" as typeof color[number],
128
+ "depth": "dark" as typeof depth[number],
129
+ "class": "ring ring-inset text-white bg-base-500 ring-base-500 dark:text-base-50 dark:bg-base-600 dark:ring-base-600"
130
+ },
131
+ {
132
+ "color": "danger" as typeof color[number],
133
+ "depth": "light" as typeof depth[number],
134
+ "class": "ring ring-inset text-red-800 bg-red-500/17 ring-red-500/17 dark:text-red-900 dark:bg-red-300 dark:ring-red-300"
135
+ },
136
+ {
137
+ "color": "danger" as typeof color[number],
138
+ "depth": "normal" as typeof depth[number],
139
+ "class": "ring ring-inset text-red-800 bg-red-250 ring-red-250 dark:text-red-800 dark:bg-red-350 dark:ring-red-350"
140
+ },
141
+ {
142
+ "color": "danger" as typeof color[number],
143
+ "depth": "dark" as typeof depth[number],
144
+ "class": "ring ring-inset text-white bg-red-500 ring-red-500 dark:text-red-250 dark:bg-red-600 dark:ring-red-600"
145
+ },
146
+ {
147
+ "color": "success" as typeof color[number],
148
+ "depth": "light" as typeof depth[number],
149
+ "class": "ring ring-inset text-green-800 bg-green-500/17 ring-green-500/17 dark:text-green-900 dark:bg-green-300 dark:ring-green-300"
150
+ },
151
+ {
152
+ "color": "success" as typeof color[number],
153
+ "depth": "normal" as typeof depth[number],
154
+ "class": "ring ring-inset text-green-800 bg-green-300 ring-green-300 dark:text-green-800 dark:bg-green-330 dark:ring-green-330"
155
+ },
156
+ {
157
+ "color": "success" as typeof color[number],
158
+ "depth": "dark" as typeof depth[number],
159
+ "class": "ring ring-inset text-white bg-green-500 ring-green-500 dark:text-green-250 dark:bg-green-600 dark:ring-green-600"
160
+ },
161
+ {
162
+ "color": "warning" as typeof color[number],
163
+ "depth": "light" as typeof depth[number],
164
+ "class": "ring ring-inset text-orange-800 bg-orange-250 ring-orange-300 dark:text-orange-900 dark:bg-orange-300 dark:ring-orange-300"
165
+ },
166
+ {
167
+ "color": "warning" as typeof color[number],
168
+ "depth": "normal" as typeof depth[number],
169
+ "class": "ring ring-inset text-orange-800 bg-orange-300 ring-orange-300 dark:text-orange-800 dark:bg-orange-400 dark:ring-orange-400"
170
+ },
171
+ {
172
+ "color": "warning" as typeof color[number],
173
+ "depth": "dark" as typeof depth[number],
174
+ "class": "ring ring-inset text-white bg-orange-500 ring-orange-500 dark:text-orange-250 dark:bg-orange-600 dark:ring-orange-600"
175
+ },
176
+ {
177
+ "color": "primary" as typeof color[number],
178
+ "depth": "light" as typeof depth[number],
179
+ "class": "ring ring-inset text-blue-800 bg-blue-500/17 ring-blue-500/17 dark:text-blue-900 dark:bg-blue-300 dark:ring-blue-300"
180
+ },
181
+ {
182
+ "color": "primary" as typeof color[number],
183
+ "depth": "normal" as typeof depth[number],
184
+ "class": "ring ring-inset text-blue-700 bg-blue-250 ring-blue-250 dark:text-blue-700 dark:bg-blue-300 dark:ring-blue-300"
185
+ },
186
+ {
187
+ "color": "primary" as typeof color[number],
188
+ "depth": "dark" as typeof depth[number],
189
+ "class": "ring ring-inset text-white bg-blue-500 ring-blue-500 dark:text-blue-250 dark:bg-blue-600 dark:ring-blue-600"
190
+ },
191
+ {
192
+ "color": "secondary" as typeof color[number],
193
+ "depth": "light" as typeof depth[number],
194
+ "class": "ring ring-inset text-base-master bg-blue-320 ring-blue-320 dark:text-base-master dark:bg-blue-400 dark:ring-blue-400"
195
+ },
196
+ {
197
+ "color": "secondary" as typeof color[number],
198
+ "depth": "normal" as typeof depth[number],
199
+ "class": "ring ring-inset text-white bg-cyan-350 ring-cyan-350 dark:text-cyan-100 dark:bg-cyan-400 dark:ring-cyan-400"
200
+ },
201
+ {
202
+ "color": "secondary" as typeof color[number],
203
+ "depth": "dark" as typeof depth[number],
204
+ "class": "ring ring-inset text-white bg-cyan-500 ring-cyan-500 dark:text-cyan-250 dark:bg-cyan-600 dark:ring-cyan-600"
205
+ },
206
+ {
207
+ "color": "collab" as typeof color[number],
208
+ "depth": "light" as typeof depth[number],
209
+ "class": "ring ring-inset text-collab-800 bg-collab-500/17 ring-collab-500/17 dark:text-collab-900 dark:bg-collab-300 dark:ring-collab-300"
210
+ },
211
+ {
212
+ "color": "collab" as typeof color[number],
213
+ "depth": "normal" as typeof depth[number],
214
+ "class": "ring ring-inset text-collab-800 bg-collab-300 ring-collab-300 dark:text-collab-800 dark:bg-collab-300 dark:ring-collab-300"
215
+ },
216
+ {
217
+ "color": "collab" as typeof color[number],
218
+ "depth": "dark" as typeof depth[number],
219
+ "class": "ring ring-inset text-white bg-collab-500 ring-collab-500 dark:text-collab-250 dark:bg-collab-600 dark:ring-collab-600"
220
+ },
221
+ {
222
+ "color": "ai" as typeof color[number],
223
+ "depth": "light" as typeof depth[number],
224
+ "class": "ring ring-inset text-ai-500 bg-white ring-ai-10 dark:text-ai-500 dark:bg-ai-50 dark:ring-ai-50"
225
+ },
226
+ {
227
+ "color": "ai" as typeof color[number],
228
+ "depth": "normal" as typeof depth[number],
229
+ "class": "ring ring-inset text-ai-500 bg-ai-150 ring-ai-150 dark:text-ai-600 dark:bg-ai-200 dark:ring-ai-200"
230
+ },
231
+ {
232
+ "color": "ai" as typeof color[number],
233
+ "depth": "dark" as typeof depth[number],
234
+ "class": "ring ring-inset text-white bg-ai-330 ring-ai-330 dark:text-ai-100 dark:bg-ai-400 dark:ring-ai-400"
235
+ },
236
+ {
237
+ "useLink": true,
238
+ "useFill": false,
239
+ "class": ""
240
+ },
241
+ {
242
+ "useFill": false,
243
+ "class": "text-base-800 dark:text-base-250 bg-transparent dark:bg-transparent"
244
+ },
245
+ {
246
+ "useClose": true,
247
+ "class": ""
248
+ }
249
+ ],
250
+ "defaultVariants": {
251
+ "color": "default" as typeof color[number],
252
+ "depth": "normal" as typeof depth[number],
253
+ "size": "md" as typeof size[number],
254
+ "useFill": false
255
+ }
256
+ }
@@ -0,0 +1,27 @@
1
+ const size = [
2
+ "xs",
3
+ "sm",
4
+ "md",
5
+ "lg"
6
+ ] as const
7
+
8
+ const orientation = [
9
+ "horizontal",
10
+ "vertical"
11
+ ] as const
12
+
13
+ export default {
14
+ "base": "relative",
15
+ "variants": {
16
+ "size": {
17
+ "xs": "",
18
+ "sm": "",
19
+ "md": "",
20
+ "lg": ""
21
+ },
22
+ "orientation": {
23
+ "horizontal": "inline-flex -space-x-px",
24
+ "vertical": "flex flex-col -space-y-px"
25
+ }
26
+ }
27
+ }