@pycolors/ui 1.5.2 → 1.5.4

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
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,aAAa;;8EAiBlB,CAAC;AAEF,eAAO,MAAM,aAAa,6CAA0B,CAAC;AACrD,eAAO,MAAM,aAAa,4GAA0B,CAAC;AAErD,MAAM,WAAW,UACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAiBzC,eAAO,MAAM,KAAK,kFAchB,CAAC;AAGH,eAAO,MAAM,UAAU,uGAAuB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,6GAA6B,CAAC;AAC3D,eAAO,MAAM,UAAU,0GAAuB,CAAC"}
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,aAAa;;8EAgBlB,CAAC;AAEF,eAAO,MAAM,aAAa,6CAA0B,CAAC;AACrD,eAAO,MAAM,aAAa,4GAA0B,CAAC;AAErD,MAAM,WAAW,UACf,SACE,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,EAC1D,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAiBzC,eAAO,MAAM,KAAK,kFAchB,CAAC;AAGH,eAAO,MAAM,UAAU,uGAAuB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,6GAA6B,CAAC;AAC3D,eAAO,MAAM,UAAU,0GAAuB,CAAC"}
@@ -8,9 +8,9 @@ const toastVariants = cva("pointer-events-auto relative flex w-full items-center
8
8
  variants: {
9
9
  variant: {
10
10
  default: "bg-background text-foreground border-border",
11
- success: "bg-background text-foreground border-success/40 text-success",
12
- warning: "bg-background text-foreground border-warning/40 text-warning",
13
- destructive: "bg-background text-foreground border-destructive/40 text-destructive",
11
+ success: "bg-background text-foreground border-success/40",
12
+ warning: "bg-background text-foreground border-warning/40",
13
+ destructive: "bg-background text-foreground border-destructive/40",
14
14
  info: "bg-background text-foreground border-border",
15
15
  },
16
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pycolors/ui",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Production-ready UI primitives for modern SaaS apps (Radix + Tailwind-friendly).",
5
5
  "keywords": [
6
6
  "pycolors",
@@ -58,7 +58,7 @@
58
58
  "@radix-ui/react-dropdown-menu": "^2.1.16",
59
59
  "@radix-ui/react-slot": "^1.2.4",
60
60
  "@radix-ui/react-tabs": "^1.1.21",
61
- "@radix-ui/react-toast": "^1.2.15",
61
+ "@radix-ui/react-toast": "^1.2.23",
62
62
  "class-variance-authority": "^0.7.1",
63
63
  "clsx": "^2.1.1",
64
64
  "tailwind-merge": "^3.4.0"
@@ -66,23 +66,26 @@
66
66
  "devDependencies": {
67
67
  "@pycolors/eslint-config": "^1.0.6",
68
68
  "@pycolors/typescript-config": "^1.0.0",
69
- "@storybook/addon-a11y": "^10.5.9",
70
- "@storybook/react-vite": "^10.5.9",
69
+ "@storybook/addon-a11y": "10.5.9",
70
+ "@storybook/addon-vitest": "10.5.9",
71
+ "@storybook/react-vite": "10.5.9",
71
72
  "@tailwindcss/vite": "^4.3.3",
72
73
  "@testing-library/jest-dom": "^7.0.1",
73
74
  "@testing-library/react": "^16.3.2",
74
75
  "@types/node": "^22.15.3",
75
76
  "@types/react": "19.2.2",
76
77
  "@types/react-dom": "19.2.2",
78
+ "@vitest/browser-playwright": "4.1.11",
77
79
  "eslint": "^9.39.5",
78
80
  "jsdom": "^29.1.1",
79
- "storybook": "^10.5.9",
81
+ "playwright": "1.63.0",
82
+ "storybook": "10.5.9",
80
83
  "tailwindcss": "^4.3.3",
81
84
  "typescript": "6.0.3",
82
85
  "vite": "^8.1.4",
83
- "vitest": "^4.1.10",
86
+ "vitest": "4.1.11",
84
87
  "vitest-axe": "1.0.0-pre.5",
85
- "@pycolors/tokens": "^1.2.2"
88
+ "@pycolors/tokens": "^1.2.3"
86
89
  },
87
90
  "scripts": {
88
91
  "clean": "rm -rf dist",
@@ -92,8 +95,10 @@
92
95
  "lint": "eslint . --max-warnings 0",
93
96
  "test": "vitest run --config vitest.config.ts",
94
97
  "types:check": "tsc --noEmit",
95
- "verify": "pnpm test && pnpm lint && pnpm types:check && pnpm build && pnpm build-storybook",
98
+ "verify": "pnpm test && pnpm lint && pnpm types:check && pnpm build && pnpm build-storybook && pnpm test:storybook",
96
99
  "generate:component": "turbo gen react-component",
97
- "release": "pnpm clean && pnpm build && pnpm publish --access public"
100
+ "release": "pnpm clean && pnpm build && pnpm publish --access public",
101
+ "test:storybook": "vitest run --config vitest.storybook.config.ts",
102
+ "test:storybook:install": "playwright install chromium"
98
103
  }
99
104
  }