@conscia-labs/design-system 0.3.5 → 1.0.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.
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  cn
3
3
  } from "../chunk-JU5DQXFC.js";
4
+ import "../chunk-UVKRO5ER.js";
4
5
  export {
5
6
  cn
6
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conscia-labs/design-system",
3
- "version": "0.3.5",
3
+ "version": "1.0.0",
4
4
  "description": "The shared React component library for building clear, consistent, and accessible Conscia product experiences.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -50,7 +50,7 @@
50
50
  "./package.json": "./package.json"
51
51
  },
52
52
  "scripts": {
53
- "dev:playground": "next dev playground --webpack -p 3020",
53
+ "dev:playground": "next dev playground --webpack -p 3020 --hostname 127.0.0.1",
54
54
  "build": "pnpm build:js && pnpm build:css",
55
55
  "build:js": "tsup",
56
56
  "build:css": "node scripts/build-css.mjs",
@@ -59,6 +59,8 @@
59
59
  "test": "pnpm test:contracts && pnpm test:unit",
60
60
  "test:contracts": "node --test playground/src/test/*.test.mjs",
61
61
  "test:unit": "vitest run",
62
+ "test:visual": "playwright test",
63
+ "test:visual:update": "playwright test --update-snapshots",
62
64
  "test:package": "pnpm build && pnpm lint:package && node scripts/verify-package.mjs",
63
65
  "test:consumer": "node scripts/test-packaged-consumer.mjs",
64
66
  "lint": "eslint src --max-warnings=0",
@@ -80,7 +82,6 @@
80
82
  "conscia",
81
83
  "design-system",
82
84
  "react",
83
- "radix-ui",
84
85
  "tailwindcss",
85
86
  "components"
86
87
  ],
@@ -98,24 +99,14 @@
98
99
  ]
99
100
  },
100
101
  "dependencies": {
102
+ "@base-ui/react": "1.7.0",
101
103
  "@fontsource-variable/source-sans-3": "^5.3.0",
102
- "@radix-ui/react-avatar": "^1.1.12",
103
- "@radix-ui/react-checkbox": "^1.3.3",
104
- "@radix-ui/react-collapsible": "^1.1.12",
105
- "@radix-ui/react-dialog": "^1.1.16",
106
- "@radix-ui/react-dropdown-menu": "^2.1.17",
107
- "@radix-ui/react-label": "^2.1.9",
108
- "@radix-ui/react-select": "^2.2.6",
109
- "@radix-ui/react-separator": "^1.1.9",
110
- "@radix-ui/react-slot": "^1.2.3",
111
- "@radix-ui/react-switch": "^1.2.6",
112
- "@radix-ui/react-tabs": "^1.1.13",
113
- "@radix-ui/react-tooltip": "^1.2.8",
114
104
  "@tanstack/react-table": "^8.21.3",
115
105
  "class-variance-authority": "^0.7.1",
116
106
  "clsx": "^2.1.1",
117
107
  "lucide-react": "^1.17.0",
118
- "tailwind-merge": "^3.6.0"
108
+ "tailwind-merge": "^3.6.0",
109
+ "use-sync-external-store": "^1.6.0"
119
110
  },
120
111
  "peerDependencies": {
121
112
  "react": "^19.0.0",
@@ -128,6 +119,7 @@
128
119
  }
129
120
  },
130
121
  "devDependencies": {
122
+ "@playwright/test": "^1.62.1",
131
123
  "@tailwindcss/cli": "^4",
132
124
  "@tailwindcss/postcss": "^4",
133
125
  "@testing-library/react": "^16.3.2",
@@ -1,24 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
5
-
6
- declare const buttonVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
8
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
10
- declare function Button({ className, variant, size, asChild, type, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
11
- asChild?: boolean;
12
- }): React.JSX.Element;
13
-
14
- declare function Input({ className, type, ...props }: React.ComponentProps<"input">): React.JSX.Element;
15
-
16
- declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): React.JSX.Element;
17
-
18
- declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
19
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
20
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
21
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
22
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
23
-
24
- export { Button as B, Card as C, Input as I, Separator as S, CardContent as a, CardDescription as b, CardHeader as c, CardTitle as d, buttonVariants as e };