@soft-stech/bootsman-ui-shadcn 1.1.27 → 1.1.29

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.
@@ -1 +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;--tab-shadow: 228, 51%, 11%, .08;--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: 242 24% 21%;--card-foreground: 210 40% 98%;--card-shadow: 242.027, 94%, 69%, .4;--tab-shadow: 228, 51%, 11%, .08;--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))}
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;--tab-shadow: 228, 51%, 11%, .08;--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%;--warning: 48, 79%, 45%, .16;--warning-foreground: 48, 79%, 45%;--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: 242 24% 21%;--card-foreground: 210 40% 98%;--card-shadow: 242.027, 94%, 69%, .4;--tab-shadow: 228, 51%, 11%, .08;--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.27",
3
+ "version": "1.1.29",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@tanstack/vue-table": "8.16.0",
33
- "@vee-validate/zod": "4.12.6",
33
+ "@vee-validate/zod": "4.13.1",
34
34
  "@vueuse/core": "10.9.0",
35
35
  "class-variance-authority": "0.7.0",
36
36
  "clsx": "2.1.1",
@@ -39,7 +39,7 @@
39
39
  "tailwind-merge": "2.3.0",
40
40
  "tailwindcss-animate": "1.0.7",
41
41
  "v-calendar": "3.1.2",
42
- "vee-validate": "4.12.6",
42
+ "vee-validate": "4.13.1",
43
43
  "vue": "3.4.26",
44
44
  "zod": "3.23.5"
45
45
  },
@@ -33,6 +33,9 @@
33
33
  --success: 181, 34%, 39%, 0.16;
34
34
  --success-foreground: 181, 34%, 39%;
35
35
 
36
+ --warning: 48, 79%, 45%, 0.16;
37
+ --warning-foreground: 48, 79%, 45%;
38
+
36
39
  --ring: 241 92% 71%;
37
40
 
38
41
  --radius: 0.5rem;
@@ -39,6 +39,17 @@ import BuiButtonVue from '@/components/ui/button/BuiButton.vue'
39
39
  </BuiAlert>
40
40
  </Variant>
41
41
 
42
+ <Variant title="Warning Alert">
43
+ <BuiAlert variant="warning">
44
+ <BuiAlertTitle>Warning!</BuiAlertTitle>
45
+ <BuiAlertDescription> Files must be less than 10Mb. </BuiAlertDescription>
46
+
47
+ <template #icon>
48
+ <AlertTriangle class="h-4 w-4" aria-hidden="true" />
49
+ </template>
50
+ </BuiAlert>
51
+ </Variant>
52
+
42
53
  <Variant title="Destructive Alert with button">
43
54
  <BuiAlert variant="destructive">
44
55
  <BuiAlertTitle> Upload failed </BuiAlertTitle>
@@ -12,6 +12,8 @@ export const alertVariants = cva('flex w-full rounded border-l-2 p-4 [&_svg]:tex
12
12
  'bg-destructive border-destructive-foreground text-destructive-foreground [&_svg]:text-destructive-foreground',
13
13
  success:
14
14
  'bg-success border-success-foreground text-success-foreground [&_svg]:text-success-foreground',
15
+ warning:
16
+ 'bg-warning border-warning-foreground text-warning-foreground [&_svg]:text-warning-foreground',
15
17
  info: 'bg-primary/[0.16] border-border text-primary [&_svg]:text-primary'
16
18
  }
17
19
  },
@@ -50,6 +50,10 @@ export default {
50
50
  DEFAULT: 'hsl(var(--success))',
51
51
  foreground: 'hsl(var(--success-foreground))'
52
52
  },
53
+ warning: {
54
+ DEFAULT: 'hsl(var(--warning))',
55
+ foreground: 'hsl(var(--warning-foreground))'
56
+ },
53
57
  muted: {
54
58
  DEFAULT: 'hsl(var(--muted))',
55
59
  foreground: 'hsl(var(--muted-foreground))'