@aleph-alpha/ui-library 1.16.0 → 1.16.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.
@@ -42276,16 +42276,16 @@ const jW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42276
42276
  __proto__: null,
42277
42277
  default: dC
42278
42278
  }, Symbol.toStringTag, { value: "Module" })), Yt = Rt(
42279
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
42279
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
42280
42280
  {
42281
42281
  variants: {
42282
42282
  variant: {
42283
42283
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
42284
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
42284
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:border-transparent focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
42285
42285
  outline: "border border-input bg-transparent text-foreground shadow-xs hover:bg-hover-default",
42286
42286
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
42287
42287
  ghost: "text-foreground hover:bg-hover-default",
42288
- link: "text-link underline-offset-4 hover:underline focus-visible:border-none"
42288
+ link: "text-link underline-offset-4 hover:underline"
42289
42289
  },
42290
42290
  size: {
42291
42291
  default: "h-9 px-4 py-2 has-[>svg]:px-3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/ui-library",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/system/lib.js",
@@ -73,12 +73,11 @@
73
73
  "wait-on": "9.0.3",
74
74
  "@aleph-alpha/prettier-config-frontend": "0.4.0",
75
75
  "@aleph-alpha/eslint-config-frontend": "0.5.0",
76
- "@aleph-alpha/config-css": "0.21.0",
77
76
  "@aleph-alpha/tsconfig-frontend": "0.5.0"
78
77
  },
79
78
  "peerDependencies": {
80
- "unocss": ">=66.0.0",
81
79
  "@unocss/preset-wind4": ">=66.0.0",
80
+ "unocss": ">=66.0.0",
82
81
  "unocss-preset-animations": ">=1.0.0",
83
82
  "unocss-preset-shadcn": ">=1.0.0"
84
83
  },
@@ -4,18 +4,18 @@ import { cva } from 'class-variance-authority';
4
4
  export { default as Button } from './Button.vue';
5
5
 
6
6
  export const buttonVariants = cva(
7
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
7
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
8
8
  {
9
9
  variants: {
10
10
  variant: {
11
11
  default: 'bg-primary text-primary-foreground hover:bg-primary/90',
12
12
  destructive:
13
- 'bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40',
13
+ 'bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:border-transparent focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40',
14
14
  outline:
15
15
  'border border-input bg-transparent text-foreground shadow-xs hover:bg-hover-default',
16
16
  secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
17
17
  ghost: 'text-foreground hover:bg-hover-default',
18
- link: 'text-link underline-offset-4 hover:underline focus-visible:border-none',
18
+ link: 'text-link underline-offset-4 hover:underline',
19
19
  },
20
20
  size: {
21
21
  default: 'h-9 px-4 py-2 has-[>svg]:px-3',