@falcondev-oss/nuxt-layers-base 0.2.0 → 0.3.0

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 (152) hide show
  1. package/app/app.config.ts +3 -1
  2. package/app/assets/css/base.css +3 -0
  3. package/app/assets/css/theme.css +31 -0
  4. package/nuxt.config.ts +9 -0
  5. package/package.json +1 -1
  6. package/.eslintcache +0 -1
  7. package/.nuxt/app.config.mjs +0 -317
  8. package/.nuxt/components.d.ts +0 -334
  9. package/.nuxt/imports.d.ts +0 -64
  10. package/.nuxt/manifest/meta/feb19a4d-b5c8-4680-84fd-e0098912b09e.json +0 -1
  11. package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
  12. package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
  13. package/.nuxt/nuxt.d.ts +0 -24
  14. package/.nuxt/nuxt.node.d.ts +0 -14
  15. package/.nuxt/nuxt.shared.d.ts +0 -5
  16. package/.nuxt/schema/nuxt.schema.d.ts +0 -210
  17. package/.nuxt/schema/nuxt.schema.json +0 -263
  18. package/.nuxt/tsconfig.app.json +0 -214
  19. package/.nuxt/tsconfig.json +0 -216
  20. package/.nuxt/tsconfig.node.json +0 -111
  21. package/.nuxt/tsconfig.server.json +0 -137
  22. package/.nuxt/tsconfig.shared.json +0 -136
  23. package/.nuxt/types/app.config.d.ts +0 -331
  24. package/.nuxt/types/build.d.ts +0 -24
  25. package/.nuxt/types/builder-env.d.ts +0 -1
  26. package/.nuxt/types/components.d.ts +0 -339
  27. package/.nuxt/types/imports.d.ts +0 -913
  28. package/.nuxt/types/layouts.d.ts +0 -7
  29. package/.nuxt/types/middleware.d.ts +0 -7
  30. package/.nuxt/types/modules.d.ts +0 -159
  31. package/.nuxt/types/nitro-config.d.ts +0 -14
  32. package/.nuxt/types/nitro-imports.d.ts +0 -151
  33. package/.nuxt/types/nitro-middleware.d.ts +0 -11
  34. package/.nuxt/types/nitro-nuxt.d.ts +0 -61
  35. package/.nuxt/types/nitro-routes.d.ts +0 -17
  36. package/.nuxt/types/nitro.d.ts +0 -3
  37. package/.nuxt/types/plugins.d.ts +0 -35
  38. package/.nuxt/types/runtime-config.d.ts +0 -36
  39. package/.nuxt/types/ui.d.ts +0 -36
  40. package/.nuxt/types/vue-shim.d.ts +0 -0
  41. package/.nuxt/ui/accordion.ts +0 -20
  42. package/.nuxt/ui/alert.ts +0 -264
  43. package/.nuxt/ui/auth-form.ts +0 -20
  44. package/.nuxt/ui/avatar-group.ts +0 -52
  45. package/.nuxt/ui/avatar.ts +0 -54
  46. package/.nuxt/ui/badge.ts +0 -263
  47. package/.nuxt/ui/banner.ts +0 -108
  48. package/.nuxt/ui/blog-post.ts +0 -143
  49. package/.nuxt/ui/blog-posts.ts +0 -9
  50. package/.nuxt/ui/breadcrumb.ts +0 -45
  51. package/.nuxt/ui/button.ts +0 -378
  52. package/.nuxt/ui/calendar.ts +0 -315
  53. package/.nuxt/ui/card.ts +0 -34
  54. package/.nuxt/ui/carousel.ts +0 -38
  55. package/.nuxt/ui/changelog-version.ts +0 -45
  56. package/.nuxt/ui/changelog-versions.ts +0 -8
  57. package/.nuxt/ui/chat-message.ts +0 -136
  58. package/.nuxt/ui/chat-messages.ts +0 -14
  59. package/.nuxt/ui/chat-palette.ts +0 -8
  60. package/.nuxt/ui/chat-prompt-submit.ts +0 -5
  61. package/.nuxt/ui/chat-prompt.ts +0 -35
  62. package/.nuxt/ui/checkbox-group.ts +0 -207
  63. package/.nuxt/ui/checkbox.ts +0 -237
  64. package/.nuxt/ui/chip.ts +0 -96
  65. package/.nuxt/ui/collapsible.ts +0 -6
  66. package/.nuxt/ui/color-picker.ts +0 -47
  67. package/.nuxt/ui/command-palette.ts +0 -62
  68. package/.nuxt/ui/container.ts +0 -3
  69. package/.nuxt/ui/context-menu.ts +0 -219
  70. package/.nuxt/ui/dashboard-group.ts +0 -3
  71. package/.nuxt/ui/dashboard-navbar.ts +0 -21
  72. package/.nuxt/ui/dashboard-panel.ts +0 -17
  73. package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
  74. package/.nuxt/ui/dashboard-search-button.ts +0 -15
  75. package/.nuxt/ui/dashboard-search.ts +0 -13
  76. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
  77. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
  78. package/.nuxt/ui/dashboard-sidebar.ts +0 -37
  79. package/.nuxt/ui/dashboard-toolbar.ts +0 -7
  80. package/.nuxt/ui/drawer.ts +0 -149
  81. package/.nuxt/ui/dropdown-menu.ts +0 -220
  82. package/.nuxt/ui/editor-drag-handle.ts +0 -6
  83. package/.nuxt/ui/editor-emoji-menu.ts +0 -35
  84. package/.nuxt/ui/editor-mention-menu.ts +0 -35
  85. package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
  86. package/.nuxt/ui/editor-toolbar.ts +0 -21
  87. package/.nuxt/ui/editor.ts +0 -35
  88. package/.nuxt/ui/empty.ts +0 -83
  89. package/.nuxt/ui/error.ts +0 -9
  90. package/.nuxt/ui/field-group.ts +0 -16
  91. package/.nuxt/ui/file-upload.ts +0 -290
  92. package/.nuxt/ui/footer-columns.ts +0 -28
  93. package/.nuxt/ui/footer.ts +0 -11
  94. package/.nuxt/ui/form-field.ts +0 -62
  95. package/.nuxt/ui/form.ts +0 -3
  96. package/.nuxt/ui/header.ts +0 -25
  97. package/.nuxt/ui/index.ts +0 -109
  98. package/.nuxt/ui/input-date.ts +0 -337
  99. package/.nuxt/ui/input-menu.ts +0 -460
  100. package/.nuxt/ui/input-number.ts +0 -256
  101. package/.nuxt/ui/input-tags.ts +0 -310
  102. package/.nuxt/ui/input-time.ts +0 -336
  103. package/.nuxt/ui/input.ts +0 -289
  104. package/.nuxt/ui/kbd.ts +0 -195
  105. package/.nuxt/ui/link.ts +0 -22
  106. package/.nuxt/ui/main.ts +0 -3
  107. package/.nuxt/ui/marquee.ts +0 -66
  108. package/.nuxt/ui/modal.ts +0 -60
  109. package/.nuxt/ui/navigation-menu.ts +0 -512
  110. package/.nuxt/ui/page-anchors.ts +0 -30
  111. package/.nuxt/ui/page-aside.ts +0 -10
  112. package/.nuxt/ui/page-body.ts +0 -3
  113. package/.nuxt/ui/page-card.ts +0 -274
  114. package/.nuxt/ui/page-columns.ts +0 -3
  115. package/.nuxt/ui/page-cta.ts +0 -70
  116. package/.nuxt/ui/page-feature.ts +0 -34
  117. package/.nuxt/ui/page-grid.ts +0 -3
  118. package/.nuxt/ui/page-header.ts +0 -18
  119. package/.nuxt/ui/page-hero.ts +0 -44
  120. package/.nuxt/ui/page-links.ts +0 -25
  121. package/.nuxt/ui/page-list.ts +0 -8
  122. package/.nuxt/ui/page-logos.ts +0 -15
  123. package/.nuxt/ui/page-section.ts +0 -84
  124. package/.nuxt/ui/page.ts +0 -32
  125. package/.nuxt/ui/pagination.ts +0 -13
  126. package/.nuxt/ui/pin-input.ts +0 -171
  127. package/.nuxt/ui/popover.ts +0 -6
  128. package/.nuxt/ui/pricing-plan.ts +0 -101
  129. package/.nuxt/ui/pricing-plans.ts +0 -22
  130. package/.nuxt/ui/pricing-table.ts +0 -51
  131. package/.nuxt/ui/progress.ts +0 -297
  132. package/.nuxt/ui/radio-group.ts +0 -352
  133. package/.nuxt/ui/scroll-area.ts +0 -21
  134. package/.nuxt/ui/select-menu.ts +0 -361
  135. package/.nuxt/ui/select.ts +0 -348
  136. package/.nuxt/ui/separator.ts +0 -172
  137. package/.nuxt/ui/skeleton.ts +0 -3
  138. package/.nuxt/ui/slideover.ts +0 -132
  139. package/.nuxt/ui/slider.ts +0 -171
  140. package/.nuxt/ui/stepper.ts +0 -202
  141. package/.nuxt/ui/switch.ts +0 -132
  142. package/.nuxt/ui/table.ts +0 -162
  143. package/.nuxt/ui/tabs.ts +0 -258
  144. package/.nuxt/ui/textarea.ts +0 -294
  145. package/.nuxt/ui/timeline.ts +0 -321
  146. package/.nuxt/ui/toast.ts +0 -74
  147. package/.nuxt/ui/toaster.ts +0 -91
  148. package/.nuxt/ui/tooltip.ts +0 -9
  149. package/.nuxt/ui/tree.ts +0 -168
  150. package/.nuxt/ui/user.ts +0 -101
  151. package/.nuxt/ui-image-component.ts +0 -1
  152. package/.nuxt/ui.css +0 -154
@@ -1,108 +0,0 @@
1
- const color = [
2
- "primary",
3
- "secondary",
4
- "success",
5
- "info",
6
- "warning",
7
- "error",
8
- "neutral"
9
- ] as const
10
-
11
- export default {
12
- "slots": {
13
- "root": [
14
- "relative z-50 w-full",
15
- "transition-colors"
16
- ],
17
- "container": "flex items-center justify-between gap-3 h-12",
18
- "left": "hidden lg:flex-1 lg:flex lg:items-center",
19
- "center": "flex items-center gap-1.5 min-w-0",
20
- "right": "lg:flex-1 flex items-center justify-end",
21
- "icon": "size-5 shrink-0 text-inverted pointer-events-none",
22
- "title": "text-sm text-inverted font-medium truncate",
23
- "actions": "flex gap-1.5 shrink-0 isolate",
24
- "close": "text-inverted hover:bg-default/10 focus-visible:bg-default/10 -me-1.5 lg:me-0"
25
- },
26
- "variants": {
27
- "color": {
28
- "primary": {
29
- "root": "bg-primary"
30
- },
31
- "secondary": {
32
- "root": "bg-secondary"
33
- },
34
- "success": {
35
- "root": "bg-success"
36
- },
37
- "info": {
38
- "root": "bg-info"
39
- },
40
- "warning": {
41
- "root": "bg-warning"
42
- },
43
- "error": {
44
- "root": "bg-error"
45
- },
46
- "neutral": {
47
- "root": "bg-inverted"
48
- }
49
- },
50
- "to": {
51
- "true": ""
52
- }
53
- },
54
- "compoundVariants": [
55
- {
56
- "color": "primary" as typeof color[number],
57
- "to": true,
58
- "class": {
59
- "root": "hover:bg-primary/90"
60
- }
61
- },
62
- {
63
- "color": "secondary" as typeof color[number],
64
- "to": true,
65
- "class": {
66
- "root": "hover:bg-secondary/90"
67
- }
68
- },
69
- {
70
- "color": "success" as typeof color[number],
71
- "to": true,
72
- "class": {
73
- "root": "hover:bg-success/90"
74
- }
75
- },
76
- {
77
- "color": "info" as typeof color[number],
78
- "to": true,
79
- "class": {
80
- "root": "hover:bg-info/90"
81
- }
82
- },
83
- {
84
- "color": "warning" as typeof color[number],
85
- "to": true,
86
- "class": {
87
- "root": "hover:bg-warning/90"
88
- }
89
- },
90
- {
91
- "color": "error" as typeof color[number],
92
- "to": true,
93
- "class": {
94
- "root": "hover:bg-error/90"
95
- }
96
- },
97
- {
98
- "color": "neutral" as typeof color[number],
99
- "to": true,
100
- "class": {
101
- "root": "hover:bg-inverted/90"
102
- }
103
- }
104
- ],
105
- "defaultVariants": {
106
- "color": "primary" as typeof color[number]
107
- }
108
- }
@@ -1,143 +0,0 @@
1
- const orientation = [
2
- "horizontal",
3
- "vertical"
4
- ] as const
5
-
6
- const variant = [
7
- "outline",
8
- "soft",
9
- "subtle",
10
- "ghost",
11
- "naked"
12
- ] as const
13
-
14
- export default {
15
- "slots": {
16
- "root": "relative group/blog-post flex flex-col rounded-lg overflow-hidden",
17
- "header": "relative overflow-hidden aspect-[16/9] w-full pointer-events-none",
18
- "body": "min-w-0 flex-1 flex flex-col",
19
- "footer": "",
20
- "image": "object-cover object-top w-full h-full",
21
- "title": "text-xl text-pretty font-semibold text-highlighted",
22
- "description": "mt-1 text-base text-pretty",
23
- "authors": "pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5",
24
- "avatar": "",
25
- "meta": "flex items-center gap-2 mb-2",
26
- "date": "text-sm",
27
- "badge": ""
28
- },
29
- "variants": {
30
- "orientation": {
31
- "horizontal": {
32
- "root": "lg:grid lg:grid-cols-2 lg:items-center gap-x-8",
33
- "body": "justify-center p-4 sm:p-6 lg:px-0"
34
- },
35
- "vertical": {
36
- "root": "flex flex-col",
37
- "body": "p-4 sm:p-6"
38
- }
39
- },
40
- "variant": {
41
- "outline": {
42
- "root": "bg-default ring ring-default",
43
- "date": "text-toned",
44
- "description": "text-muted"
45
- },
46
- "soft": {
47
- "root": "bg-elevated/50",
48
- "date": "text-muted",
49
- "description": "text-toned"
50
- },
51
- "subtle": {
52
- "root": "bg-elevated/50 ring ring-default",
53
- "date": "text-muted",
54
- "description": "text-toned"
55
- },
56
- "ghost": {
57
- "date": "text-toned",
58
- "description": "text-muted",
59
- "header": "shadow-lg rounded-lg"
60
- },
61
- "naked": {
62
- "root": "p-0 sm:p-0",
63
- "date": "text-toned",
64
- "description": "text-muted",
65
- "header": "shadow-lg rounded-lg"
66
- }
67
- },
68
- "to": {
69
- "true": {
70
- "root": [
71
- "has-focus-visible:ring-2 has-focus-visible:ring-primary",
72
- "transition"
73
- ],
74
- "image": "transform transition-transform duration-200 group-hover/blog-post:scale-110",
75
- "avatar": "transform transition-transform duration-200 hover:scale-115 focus-visible:outline-primary"
76
- }
77
- },
78
- "image": {
79
- "true": ""
80
- }
81
- },
82
- "compoundVariants": [
83
- {
84
- "variant": "outline" as typeof variant[number],
85
- "to": true,
86
- "class": {
87
- "root": "hover:bg-elevated/50"
88
- }
89
- },
90
- {
91
- "variant": "soft" as typeof variant[number],
92
- "to": true,
93
- "class": {
94
- "root": "hover:bg-elevated"
95
- }
96
- },
97
- {
98
- "variant": "subtle" as typeof variant[number],
99
- "to": true,
100
- "class": {
101
- "root": "hover:bg-elevated hover:ring-accented"
102
- }
103
- },
104
- {
105
- "variant": "ghost" as typeof variant[number],
106
- "to": true,
107
- "class": {
108
- "root": "hover:bg-elevated/50",
109
- "header": [
110
- "group-hover/blog-post:shadow-none",
111
- "transition-all"
112
- ]
113
- }
114
- },
115
- {
116
- "variant": "ghost" as typeof variant[number],
117
- "to": true,
118
- "orientation": "vertical" as typeof orientation[number],
119
- "class": {
120
- "header": "group-hover/blog-post:rounded-b-none"
121
- }
122
- },
123
- {
124
- "variant": "ghost" as typeof variant[number],
125
- "to": true,
126
- "orientation": "horizontal" as typeof orientation[number],
127
- "class": {
128
- "header": "group-hover/blog-post:rounded-r-none"
129
- }
130
- },
131
- {
132
- "orientation": "vertical" as typeof orientation[number],
133
- "image": false,
134
- "variant": "naked" as typeof variant[number],
135
- "class": {
136
- "body": "p-0 sm:p-0"
137
- }
138
- }
139
- ],
140
- "defaultVariants": {
141
- "variant": "outline" as typeof variant[number]
142
- }
143
- }
@@ -1,9 +0,0 @@
1
- export default {
2
- "base": "flex flex-col gap-8 lg:gap-y-16",
3
- "variants": {
4
- "orientation": {
5
- "horizontal": "sm:grid sm:grid-cols-2 lg:grid-cols-3",
6
- "vertical": ""
7
- }
8
- }
9
- }
@@ -1,45 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative min-w-0",
4
- "list": "flex items-center gap-1.5",
5
- "item": "flex min-w-0",
6
- "link": "group relative flex items-center gap-1.5 text-sm min-w-0 focus-visible:outline-primary",
7
- "linkLeadingIcon": "shrink-0 size-5",
8
- "linkLeadingAvatar": "shrink-0",
9
- "linkLeadingAvatarSize": "2xs",
10
- "linkLabel": "truncate",
11
- "separator": "flex",
12
- "separatorIcon": "shrink-0 size-5 text-muted"
13
- },
14
- "variants": {
15
- "active": {
16
- "true": {
17
- "link": "text-primary font-semibold"
18
- },
19
- "false": {
20
- "link": "text-muted font-medium"
21
- }
22
- },
23
- "disabled": {
24
- "true": {
25
- "link": "cursor-not-allowed opacity-75"
26
- }
27
- },
28
- "to": {
29
- "true": ""
30
- }
31
- },
32
- "compoundVariants": [
33
- {
34
- "disabled": false,
35
- "active": false,
36
- "to": true,
37
- "class": {
38
- "link": [
39
- "hover:text-default",
40
- "transition-colors"
41
- ]
42
- }
43
- }
44
- ]
45
- }
@@ -1,378 +0,0 @@
1
- const color = [
2
- "primary",
3
- "secondary",
4
- "success",
5
- "info",
6
- "warning",
7
- "error",
8
- "neutral"
9
- ] as const
10
-
11
- const variant = [
12
- "solid",
13
- "outline",
14
- "soft",
15
- "subtle",
16
- "ghost",
17
- "link"
18
- ] as const
19
-
20
- const size = [
21
- "xs",
22
- "sm",
23
- "md",
24
- "lg",
25
- "xl"
26
- ] as const
27
-
28
- export default {
29
- "slots": {
30
- "base": [
31
- "rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75",
32
- "transition-colors"
33
- ],
34
- "label": "truncate",
35
- "leadingIcon": "shrink-0",
36
- "leadingAvatar": "shrink-0",
37
- "leadingAvatarSize": "",
38
- "trailingIcon": "shrink-0"
39
- },
40
- "variants": {
41
- "fieldGroup": {
42
- "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
43
- "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
44
- },
45
- "color": {
46
- "primary": "",
47
- "secondary": "",
48
- "success": "",
49
- "info": "",
50
- "warning": "",
51
- "error": "",
52
- "neutral": ""
53
- },
54
- "variant": {
55
- "solid": "",
56
- "outline": "",
57
- "soft": "",
58
- "subtle": "",
59
- "ghost": "",
60
- "link": ""
61
- },
62
- "size": {
63
- "xs": {
64
- "base": "px-2 py-1 text-xs gap-1",
65
- "leadingIcon": "size-4",
66
- "leadingAvatarSize": "3xs",
67
- "trailingIcon": "size-4"
68
- },
69
- "sm": {
70
- "base": "px-2.5 py-1.5 text-xs gap-1.5",
71
- "leadingIcon": "size-4",
72
- "leadingAvatarSize": "3xs",
73
- "trailingIcon": "size-4"
74
- },
75
- "md": {
76
- "base": "px-2.5 py-1.5 text-sm gap-1.5",
77
- "leadingIcon": "size-5",
78
- "leadingAvatarSize": "2xs",
79
- "trailingIcon": "size-5"
80
- },
81
- "lg": {
82
- "base": "px-3 py-2 text-sm gap-2",
83
- "leadingIcon": "size-5",
84
- "leadingAvatarSize": "2xs",
85
- "trailingIcon": "size-5"
86
- },
87
- "xl": {
88
- "base": "px-3 py-2 text-base gap-2",
89
- "leadingIcon": "size-6",
90
- "leadingAvatarSize": "xs",
91
- "trailingIcon": "size-6"
92
- }
93
- },
94
- "block": {
95
- "true": {
96
- "base": "w-full justify-center",
97
- "trailingIcon": "ms-auto"
98
- }
99
- },
100
- "square": {
101
- "true": ""
102
- },
103
- "leading": {
104
- "true": ""
105
- },
106
- "trailing": {
107
- "true": ""
108
- },
109
- "loading": {
110
- "true": ""
111
- },
112
- "active": {
113
- "true": {
114
- "base": ""
115
- },
116
- "false": {
117
- "base": ""
118
- }
119
- }
120
- },
121
- "compoundVariants": [
122
- {
123
- "color": "primary" as typeof color[number],
124
- "variant": "solid" as typeof variant[number],
125
- "class": "text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
126
- },
127
- {
128
- "color": "secondary" as typeof color[number],
129
- "variant": "solid" as typeof variant[number],
130
- "class": "text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"
131
- },
132
- {
133
- "color": "success" as typeof color[number],
134
- "variant": "solid" as typeof variant[number],
135
- "class": "text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"
136
- },
137
- {
138
- "color": "info" as typeof color[number],
139
- "variant": "solid" as typeof variant[number],
140
- "class": "text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
141
- },
142
- {
143
- "color": "warning" as typeof color[number],
144
- "variant": "solid" as typeof variant[number],
145
- "class": "text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"
146
- },
147
- {
148
- "color": "error" as typeof color[number],
149
- "variant": "solid" as typeof variant[number],
150
- "class": "text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"
151
- },
152
- {
153
- "color": "primary" as typeof color[number],
154
- "variant": "outline" as typeof variant[number],
155
- "class": "ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
156
- },
157
- {
158
- "color": "secondary" as typeof color[number],
159
- "variant": "outline" as typeof variant[number],
160
- "class": "ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
161
- },
162
- {
163
- "color": "success" as typeof color[number],
164
- "variant": "outline" as typeof variant[number],
165
- "class": "ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
166
- },
167
- {
168
- "color": "info" as typeof color[number],
169
- "variant": "outline" as typeof variant[number],
170
- "class": "ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
171
- },
172
- {
173
- "color": "warning" as typeof color[number],
174
- "variant": "outline" as typeof variant[number],
175
- "class": "ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
176
- },
177
- {
178
- "color": "error" as typeof color[number],
179
- "variant": "outline" as typeof variant[number],
180
- "class": "ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
181
- },
182
- {
183
- "color": "primary" as typeof color[number],
184
- "variant": "soft" as typeof variant[number],
185
- "class": "text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"
186
- },
187
- {
188
- "color": "secondary" as typeof color[number],
189
- "variant": "soft" as typeof variant[number],
190
- "class": "text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"
191
- },
192
- {
193
- "color": "success" as typeof color[number],
194
- "variant": "soft" as typeof variant[number],
195
- "class": "text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"
196
- },
197
- {
198
- "color": "info" as typeof color[number],
199
- "variant": "soft" as typeof variant[number],
200
- "class": "text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"
201
- },
202
- {
203
- "color": "warning" as typeof color[number],
204
- "variant": "soft" as typeof variant[number],
205
- "class": "text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"
206
- },
207
- {
208
- "color": "error" as typeof color[number],
209
- "variant": "soft" as typeof variant[number],
210
- "class": "text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"
211
- },
212
- {
213
- "color": "primary" as typeof color[number],
214
- "variant": "subtle" as typeof variant[number],
215
- "class": "text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
216
- },
217
- {
218
- "color": "secondary" as typeof color[number],
219
- "variant": "subtle" as typeof variant[number],
220
- "class": "text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
221
- },
222
- {
223
- "color": "success" as typeof color[number],
224
- "variant": "subtle" as typeof variant[number],
225
- "class": "text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
226
- },
227
- {
228
- "color": "info" as typeof color[number],
229
- "variant": "subtle" as typeof variant[number],
230
- "class": "text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
231
- },
232
- {
233
- "color": "warning" as typeof color[number],
234
- "variant": "subtle" as typeof variant[number],
235
- "class": "text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
236
- },
237
- {
238
- "color": "error" as typeof color[number],
239
- "variant": "subtle" as typeof variant[number],
240
- "class": "text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
241
- },
242
- {
243
- "color": "primary" as typeof color[number],
244
- "variant": "ghost" as typeof variant[number],
245
- "class": "text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
246
- },
247
- {
248
- "color": "secondary" as typeof color[number],
249
- "variant": "ghost" as typeof variant[number],
250
- "class": "text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
251
- },
252
- {
253
- "color": "success" as typeof color[number],
254
- "variant": "ghost" as typeof variant[number],
255
- "class": "text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
256
- },
257
- {
258
- "color": "info" as typeof color[number],
259
- "variant": "ghost" as typeof variant[number],
260
- "class": "text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
261
- },
262
- {
263
- "color": "warning" as typeof color[number],
264
- "variant": "ghost" as typeof variant[number],
265
- "class": "text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
266
- },
267
- {
268
- "color": "error" as typeof color[number],
269
- "variant": "ghost" as typeof variant[number],
270
- "class": "text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
271
- },
272
- {
273
- "color": "primary" as typeof color[number],
274
- "variant": "link" as typeof variant[number],
275
- "class": "text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
276
- },
277
- {
278
- "color": "secondary" as typeof color[number],
279
- "variant": "link" as typeof variant[number],
280
- "class": "text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
281
- },
282
- {
283
- "color": "success" as typeof color[number],
284
- "variant": "link" as typeof variant[number],
285
- "class": "text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
286
- },
287
- {
288
- "color": "info" as typeof color[number],
289
- "variant": "link" as typeof variant[number],
290
- "class": "text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
291
- },
292
- {
293
- "color": "warning" as typeof color[number],
294
- "variant": "link" as typeof variant[number],
295
- "class": "text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
296
- },
297
- {
298
- "color": "error" as typeof color[number],
299
- "variant": "link" as typeof variant[number],
300
- "class": "text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
301
- },
302
- {
303
- "color": "neutral" as typeof color[number],
304
- "variant": "solid" as typeof variant[number],
305
- "class": "text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
306
- },
307
- {
308
- "color": "neutral" as typeof color[number],
309
- "variant": "outline" as typeof variant[number],
310
- "class": "ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
311
- },
312
- {
313
- "color": "neutral" as typeof color[number],
314
- "variant": "soft" as typeof variant[number],
315
- "class": "text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
316
- },
317
- {
318
- "color": "neutral" as typeof color[number],
319
- "variant": "subtle" as typeof variant[number],
320
- "class": "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
321
- },
322
- {
323
- "color": "neutral" as typeof color[number],
324
- "variant": "ghost" as typeof variant[number],
325
- "class": "text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
326
- },
327
- {
328
- "color": "neutral" as typeof color[number],
329
- "variant": "link" as typeof variant[number],
330
- "class": "text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
331
- },
332
- {
333
- "size": "xs" as typeof size[number],
334
- "square": true,
335
- "class": "p-1"
336
- },
337
- {
338
- "size": "sm" as typeof size[number],
339
- "square": true,
340
- "class": "p-1.5"
341
- },
342
- {
343
- "size": "md" as typeof size[number],
344
- "square": true,
345
- "class": "p-1.5"
346
- },
347
- {
348
- "size": "lg" as typeof size[number],
349
- "square": true,
350
- "class": "p-2"
351
- },
352
- {
353
- "size": "xl" as typeof size[number],
354
- "square": true,
355
- "class": "p-2"
356
- },
357
- {
358
- "loading": true,
359
- "leading": true,
360
- "class": {
361
- "leadingIcon": "animate-spin"
362
- }
363
- },
364
- {
365
- "loading": true,
366
- "leading": false,
367
- "trailing": true,
368
- "class": {
369
- "trailingIcon": "animate-spin"
370
- }
371
- }
372
- ],
373
- "defaultVariants": {
374
- "color": "primary" as typeof color[number],
375
- "variant": "solid" as typeof variant[number],
376
- "size": "md" as typeof size[number]
377
- }
378
- }