@soft-stech/bootsman-ui-shadcn 1.1.3 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/{BuiDataTable.vue_vue_type_script_setup_true_lang-75kSylTF.js → BuiDataTable.vue_vue_type_script_setup_true_lang-pgkgRvqY.js} +1 -1
  2. package/dist/{BuiFormControl.vue_vue_type_script_setup_true_lang-sLcVABMM.js → BuiFormControl.vue_vue_type_script_setup_true_lang-0dLrB0Z0.js} +1 -1
  3. package/dist/{BuiFormDescription.vue_vue_type_script_setup_true_lang-S6O4siIc.js → BuiFormDescription.vue_vue_type_script_setup_true_lang-Yj-r3k07.js} +1 -1
  4. package/dist/{BuiFormLabel.vue_vue_type_script_setup_true_lang-RK-EDI4m.js → BuiFormLabel.vue_vue_type_script_setup_true_lang-r_wrKG8D.js} +1 -1
  5. package/dist/{BuiFormMessage.vue_vue_type_script_setup_true_lang-faAcE08Y.js → BuiFormMessage.vue_vue_type_script_setup_true_lang-o7UvKZq9.js} +1 -1
  6. package/dist/assets/main.css +1 -1
  7. package/dist/components/ui/badge/index.js +1 -1
  8. package/dist/components/ui/form/BuiFormControl.js +1 -1
  9. package/dist/components/ui/form/BuiFormDescription.js +1 -1
  10. package/dist/components/ui/form/BuiFormLabel.js +1 -1
  11. package/dist/components/ui/form/BuiFormMessage.js +1 -1
  12. package/dist/components/ui/form/index.d.ts +1 -1
  13. package/dist/components/ui/form/index.js +11 -10
  14. package/dist/components/ui/form/useFormField.js +1 -1
  15. package/dist/components/ui/pagination/BuiPaginationCommon.js +1 -1
  16. package/dist/components/ui/pagination/index.js +1 -1
  17. package/dist/components/ui/table/BuiDataTable.js +1 -1
  18. package/dist/components/ui/table/index.js +1 -1
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.js +151 -150
  21. package/dist/useFormField-pSeZb4qC.js +2285 -0
  22. package/dist/variables.css +1 -0
  23. package/package.json +1 -1
  24. package/src/assets/base.css +0 -87
  25. package/src/assets/main.css +1 -0
  26. package/src/assets/variables.css +82 -0
  27. package/src/components/ui/badge/index.ts +1 -1
  28. package/src/components/ui/form/index.ts +5 -1
  29. package/src/index.ts +1 -0
  30. package/dist/useFormField-ht86QnXS.js +0 -2097
  31. /package/dist/{BuiPaginationCommon.vue_vue_type_script_setup_true_lang-4tLnC9mc.js → variables-pHubWfbo.js} +0 -0
@@ -0,0 +1 @@
1
+ :root{--background: 0 0% 100%;--foreground: 242 24% 21%;--muted: 210 40% 96.1%;--muted-foreground: 225 5% 47%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--card-shadow: 241.538, 100%, 92%, .83;--border: 241 92% 71%;--input: 225 11% 84%;--primary: 241 92% 71%;--primary-hover: 241 76% 62%;--primary-active: 241 54% 54%;--primary-foreground: 0 0% 100%;--secondary: 210 40% 96.1%;--secondary-foreground: 241 76% 62%;--accent: 241 92% 71%;--accent-foreground: 241 76% 62%;--destructive: 328, 68%, 63%, .16;--destructive-foreground: 328, 68%, 63%;--success: 181, 34%, 39%, .16;--success-foreground: 181, 34%, 39%;--ring: 241 92% 71%;--radius: .5rem}.dark{--background: 242 24% 21%;--foreground: 0 0% 100%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 0, 0%, 100%, .32;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--card-shadow: 242.027, 94%, 69%, .4;--border: 241 92% 71%;--input: 0, 0%, 100%, .32;--primary: 241 92% 71%;--primary-hover: 241 76% 62%;--primary-active: 241 54% 54%;--primary-foreground: 0 0% 100%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--accent: 241 92% 71%;--accent-foreground: 240 100% 77%;--destructive: 328, 68%, 63%, .16;--destructive-foreground: 328, 68%, 63%;--success: 181, 34%, 39%, .16;--success-foreground: 152 80% 38%;--ring: 241 92% 71%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soft-stech/bootsman-ui-shadcn",
3
- "version": "1.1.3",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -1,90 +1,3 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
3
  @tailwind utilities;
4
-
5
- @layer base {
6
- :root {
7
- --background: 0 0% 100%;
8
- --foreground: 242 24% 21%;
9
-
10
- --muted: 210 40% 96.1%;
11
- --muted-foreground: 225 5% 47%;
12
-
13
- --popover: 0 0% 100%;
14
- --popover-foreground: 222.2 84% 4.9%;
15
-
16
- --card: 0 0% 100%;
17
- --card-foreground: 222.2 84% 4.9%;
18
- --card-shadow: 241.538, 100%, 92%, 0.83;
19
-
20
- --border: 241 92% 71%;
21
- --input: 225 11% 84%;
22
-
23
- --primary: 241 92% 71%;
24
- --primary-hover: 241 76% 62%;
25
- --primary-active: 241 54% 54%;
26
- --primary-foreground: 0 0% 100%;
27
-
28
- --secondary: 210 40% 96.1%;
29
- --secondary-foreground: 241 76% 62%;
30
-
31
- --accent: 241 92% 71%;
32
- --accent-foreground: 241 76% 62%;
33
-
34
- --destructive: 328, 68%, 63%, 0.16;
35
- --destructive-foreground: 328, 68%, 63%;
36
-
37
- --success: 181, 34%, 39%, 0.16;
38
- --success-foreground: 181, 34%, 39%;
39
-
40
- --ring: 241 92% 71%;
41
-
42
- --radius: 0.5rem;
43
- }
44
-
45
- .dark {
46
- --background: 242 24% 21%;
47
- --foreground: 0 0% 100%;
48
-
49
- --muted: 217.2 32.6% 17.5%;
50
- --muted-foreground: 0, 0%, 100%, 0.32;
51
-
52
- --popover: 222.2 84% 4.9%;
53
- --popover-foreground: 210 40% 98%;
54
-
55
- --card: 222.2 84% 4.9%;
56
- --card-foreground: 210 40% 98%;
57
- --card-shadow: 242.027, 94%, 69%, 0.4;
58
-
59
- --border: 241 92% 71%;
60
- --input: 0, 0%, 100%, 0.32;
61
-
62
- --primary: 241 92% 71%;
63
- --primary-hover: 241 76% 62%;
64
- --primary-active: 241 54% 54%;
65
- --primary-foreground: 0 0% 100%;
66
-
67
- --secondary: 217.2 32.6% 17.5%;
68
- --secondary-foreground: 210 40% 98%;
69
-
70
- --accent: 241 92% 71%;
71
- --accent-foreground: 240 100% 77%;
72
-
73
- --destructive: 328, 68%, 63%, 0.16;
74
- --destructive-foreground: 328, 68%, 63%;
75
-
76
- --success: 181, 34%, 39%, 0.16;
77
- --success-foreground: 152 80% 38%;
78
-
79
- --ring: 241 92% 71%;
80
- }
81
- }
82
-
83
- @layer base {
84
- * {
85
- @apply border-border;
86
- }
87
- body {
88
- @apply bg-background text-foreground;
89
- }
90
- }
@@ -1 +1,2 @@
1
1
  @import './base.css';
2
+ @import "variables.css";
@@ -0,0 +1,82 @@
1
+ :root {
2
+ --background: 0 0% 100%;
3
+ --foreground: 242 24% 21%;
4
+
5
+ --muted: 210 40% 96.1%;
6
+ --muted-foreground: 225 5% 47%;
7
+
8
+ --popover: 0 0% 100%;
9
+ --popover-foreground: 222.2 84% 4.9%;
10
+
11
+ --card: 0 0% 100%;
12
+ --card-foreground: 222.2 84% 4.9%;
13
+ --card-shadow: 241.538, 100%, 92%, 0.83;
14
+
15
+ --border: 241 92% 71%;
16
+ --input: 225 11% 84%;
17
+
18
+ --primary: 241 92% 71%;
19
+ --primary-hover: 241 76% 62%;
20
+ --primary-active: 241 54% 54%;
21
+ --primary-foreground: 0 0% 100%;
22
+
23
+ --secondary: 210 40% 96.1%;
24
+ --secondary-foreground: 241 76% 62%;
25
+
26
+ --accent: 241 92% 71%;
27
+ --accent-foreground: 241 76% 62%;
28
+
29
+ --destructive: 328, 68%, 63%, 0.16;
30
+ --destructive-foreground: 328, 68%, 63%;
31
+
32
+ --success: 181, 34%, 39%, 0.16;
33
+ --success-foreground: 181, 34%, 39%;
34
+
35
+ --ring: 241 92% 71%;
36
+
37
+ --radius: 0.5rem;
38
+ }
39
+
40
+ .dark {
41
+ --background: 242 24% 21%;
42
+ --foreground: 0 0% 100%;
43
+
44
+ --muted: 217.2 32.6% 17.5%;
45
+ --muted-foreground: 0, 0%, 100%, 0.32;
46
+
47
+ --popover: 222.2 84% 4.9%;
48
+ --popover-foreground: 210 40% 98%;
49
+
50
+ --card: 222.2 84% 4.9%;
51
+ --card-foreground: 210 40% 98%;
52
+ --card-shadow: 242.027, 94%, 69%, 0.4;
53
+
54
+ --border: 241 92% 71%;
55
+ --input: 0, 0%, 100%, 0.32;
56
+
57
+ --primary: 241 92% 71%;
58
+ --primary-hover: 241 76% 62%;
59
+ --primary-active: 241 54% 54%;
60
+ --primary-foreground: 0 0% 100%;
61
+
62
+ --secondary: 217.2 32.6% 17.5%;
63
+ --secondary-foreground: 210 40% 98%;
64
+
65
+ --accent: 241 92% 71%;
66
+ --accent-foreground: 240 100% 77%;
67
+
68
+ --destructive: 328, 68%, 63%, 0.16;
69
+ --destructive-foreground: 328, 68%, 63%;
70
+
71
+ --success: 181, 34%, 39%, 0.16;
72
+ --success-foreground: 152 80% 38%;
73
+
74
+ --ring: 241 92% 71%;
75
+ }
76
+
77
+ * {
78
+ @apply border-border;
79
+ }
80
+ body {
81
+ @apply bg-background text-foreground;
82
+ }
@@ -3,7 +3,7 @@ import { cva } from 'class-variance-authority'
3
3
  export { default as BuiBadge } from './BuiBadge.vue'
4
4
 
5
5
  export const badgeVariants = cva(
6
- 'px-2 py-1 inline-flex items-center rounded font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-[13px] leading-5 gap-1',
6
+ 'px-3 py-1 inline-flex items-center rounded-full font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-[13px] leading-5 gap-1',
7
7
  {
8
8
  variants: {
9
9
  variant: {
@@ -1,4 +1,8 @@
1
- export { Form as BuiForm, Field as BuiFormField } from 'vee-validate'
1
+ export {
2
+ Form as BuiForm,
3
+ Field as BuiFormField,
4
+ FieldArray as BuiFormFieldArray
5
+ } from 'vee-validate'
2
6
  export { default as BuiFormItem } from './BuiFormItem.vue'
3
7
  export { default as BuiFormLabel } from './BuiFormLabel.vue'
4
8
  export { default as BuiFormControl } from './BuiFormControl.vue'
package/src/index.ts CHANGED
@@ -36,3 +36,4 @@ export * from './components/ui/skeleton/index'
36
36
 
37
37
  export * from './lib/utils'
38
38
  export { default as tailwind } from './tailwind-preset'
39
+ export * from './assets/variables.css'