@gv-tech/design-system 1.0.0 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.0](https://github.com/Garcia-Ventures/gvtech-design/compare/v1.0.0...v1.1.0) (2026-02-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * display dynamic version from package.json in the sidebar ([7be0b14](https://github.com/Garcia-Ventures/gvtech-design/commit/7be0b14f69da21e4bf9109a1d6ed31551d74d6cb))
9
+ * Upgrade to Tailwind CSS v4, migrating configuration to CSS and ESM, and updating dependencies. ([41d67f2](https://github.com/Garcia-Ventures/gvtech-design/commit/41d67f23d00a058e55225e30e9d7e8b7a20a0d7a))
10
+
3
11
  ## [1.0.0](https://github.com/Garcia-Ventures/gvtech-design/compare/v0.9.0...v1.0.0) (2026-02-06)
4
12
 
5
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/docs/Sidebar.tsx"],"names":[],"mappings":"AAiBA,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,GACjB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,GACT,UAAU,CAAC;AAEf,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAaD,eAAO,MAAM,QAAQ,EAAE,OAAO,EA+D7B,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,YAAY,2CAyEjE"}
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/docs/Sidebar.tsx"],"names":[],"mappings":"AAkBA,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,GACjB,QAAQ,GACR,OAAO,GACP,cAAc,GACd,YAAY,GACZ,UAAU,GACV,SAAS,GACT,UAAU,CAAC;AAEf,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAaD,eAAO,MAAM,QAAQ,EAAE,OAAO,EA+D7B,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,YAAY,2CAyEjE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gv-tech/design-system",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Garcia Ventures react design system",
5
5
  "license": "MIT",
6
6
  "author": "Eric N. Garcia <eng618@garciaericn.com>",
@@ -56,6 +56,7 @@
56
56
  "@radix-ui/react-toggle": "^1.1.10",
57
57
  "@radix-ui/react-toggle-group": "^1.1.11",
58
58
  "@radix-ui/react-tooltip": "^1.2.8",
59
+ "@tailwindcss/postcss": "4",
59
60
  "class-variance-authority": "^0.7.1",
60
61
  "clsx": "^2.1.1",
61
62
  "cmdk": "^1.1.1",
@@ -69,7 +70,6 @@
69
70
  "recharts": "2.15.4",
70
71
  "sonner": "^2.0.7",
71
72
  "tailwind-merge": "^3.4.0",
72
- "tailwindcss-animate": "^1.0.7",
73
73
  "vaul": "^1.1.2",
74
74
  "zod": "^4.3.6"
75
75
  },
@@ -86,7 +86,6 @@
86
86
  "@typescript-eslint/eslint-plugin": "^8.54.0",
87
87
  "@typescript-eslint/parser": "^8.54.0",
88
88
  "@vitejs/plugin-react-swc": "^4.2.3",
89
- "autoprefixer": "^10.4.24",
90
89
  "axe-core": "^4.11.1",
91
90
  "eslint": "^9.39.2",
92
91
  "eslint-config-prettier": "^10.1.8",
@@ -105,7 +104,7 @@
105
104
  "react": "^19.2.4",
106
105
  "react-dom": "^19.2.4",
107
106
  "react-is": "^19.2.4",
108
- "tailwindcss": "3",
107
+ "tailwindcss": "4",
109
108
  "tsx": "^4.21.0",
110
109
  "typescript": "^5.9.3",
111
110
  "vite": "7.3.1",
@@ -0,0 +1,5 @@
1
+ export default {
2
+ plugins: {
3
+ '@tailwindcss/postcss': {},
4
+ },
5
+ };
@@ -14,6 +14,7 @@ import {
14
14
  Table2,
15
15
  } from 'lucide-react';
16
16
  import * as React from 'react';
17
+ import { version } from '../../../package.json';
17
18
 
18
19
  export type ComponentCategory =
19
20
  | 'getting-started'
@@ -135,7 +136,7 @@ export function Sidebar({ activeItem, onItemSelect }: SidebarProps) {
135
136
  <div className="w-64 border-r bg-muted/30 flex flex-col h-full">
136
137
  <div className="p-4 border-b">
137
138
  <h2 className="font-semibold text-lg">GV Design System</h2>
138
- <p className="text-xs text-muted-foreground">v0.9.0</p>
139
+ <p className="text-xs text-muted-foreground">v{version}</p>
139
140
  </div>
140
141
  <ScrollArea className="flex-1">
141
142
  <nav className="p-2">
package/src/globals.css CHANGED
@@ -1,6 +1,36 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ @import 'tailwindcss';
2
+
3
+ @theme {
4
+ /* Border radius */
5
+ --radius-lg: 0.5rem;
6
+ --radius-md: calc(var(--radius-lg) - 2px);
7
+ --radius-sm: calc(var(--radius-lg) - 4px);
8
+
9
+ /* Container */
10
+ --container-2xl: 1400px;
11
+
12
+ /* Animations */
13
+ --animate-accordion-down: accordion-down 0.2s ease-out;
14
+ --animate-accordion-up: accordion-up 0.2s ease-out;
15
+ }
16
+
17
+ @keyframes accordion-down {
18
+ from {
19
+ height: 0;
20
+ }
21
+ to {
22
+ height: var(--radix-accordion-content-height);
23
+ }
24
+ }
25
+
26
+ @keyframes accordion-up {
27
+ from {
28
+ height: var(--radix-accordion-content-height);
29
+ }
30
+ to {
31
+ height: 0;
32
+ }
33
+ }
4
34
 
5
35
  @layer base {
6
36
  :root {
@@ -23,7 +53,6 @@
23
53
  --border: 214.3 31.8% 91.4%;
24
54
  --input: 214.3 31.8% 91.4%;
25
55
  --ring: 222.2 84% 4.9%;
26
- --radius: 0.5rem;
27
56
  }
28
57
 
29
58
  .dark {
@@ -58,6 +87,29 @@
58
87
  }
59
88
  }
60
89
 
90
+ /* Tailwind v4 color utilities - map CSS vars to theme */
91
+ @theme {
92
+ --color-background: hsl(var(--background));
93
+ --color-foreground: hsl(var(--foreground));
94
+ --color-card: hsl(var(--card));
95
+ --color-card-foreground: hsl(var(--card-foreground));
96
+ --color-popover: hsl(var(--popover));
97
+ --color-popover-foreground: hsl(var(--popover-foreground));
98
+ --color-primary: hsl(var(--primary));
99
+ --color-primary-foreground: hsl(var(--primary-foreground));
100
+ --color-secondary: hsl(var(--secondary));
101
+ --color-secondary-foreground: hsl(var(--secondary-foreground));
102
+ --color-muted: hsl(var(--muted));
103
+ --color-muted-foreground: hsl(var(--muted-foreground));
104
+ --color-accent: hsl(var(--accent));
105
+ --color-accent-foreground: hsl(var(--accent-foreground));
106
+ --color-destructive: hsl(var(--destructive));
107
+ --color-destructive-foreground: hsl(var(--destructive-foreground));
108
+ --color-border: hsl(var(--border));
109
+ --color-input: hsl(var(--input));
110
+ --color-ring: hsl(var(--ring));
111
+ }
112
+
61
113
  /* Sticky footer support for ScrollArea */
62
114
  [data-radix-scroll-area-viewport] > div {
63
115
  min-height: 100%;
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
@@ -1,79 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- darkMode: ['class'],
4
- content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'],
5
- theme: {
6
- container: {
7
- center: true,
8
- padding: '2rem',
9
- screens: {
10
- '2xl': '1400px',
11
- },
12
- },
13
- extend: {
14
- colors: {
15
- border: 'hsl(var(--border))',
16
- input: 'hsl(var(--input))',
17
- ring: 'hsl(var(--ring))',
18
- background: 'hsl(var(--background))',
19
- foreground: 'hsl(var(--foreground))',
20
- primary: {
21
- DEFAULT: 'hsl(var(--primary))',
22
- foreground: 'hsl(var(--primary-foreground))',
23
- },
24
- secondary: {
25
- DEFAULT: 'hsl(var(--secondary))',
26
- foreground: 'hsl(var(--secondary-foreground))',
27
- },
28
- destructive: {
29
- DEFAULT: 'hsl(var(--destructive))',
30
- foreground: 'hsl(var(--destructive-foreground))',
31
- },
32
- muted: {
33
- DEFAULT: 'hsl(var(--muted))',
34
- foreground: 'hsl(var(--muted-foreground))',
35
- },
36
- accent: {
37
- DEFAULT: 'hsl(var(--accent))',
38
- foreground: 'hsl(var(--accent-foreground))',
39
- },
40
- popover: {
41
- DEFAULT: 'hsl(var(--popover))',
42
- foreground: 'hsl(var(--popover-foreground))',
43
- },
44
- card: {
45
- DEFAULT: 'hsl(var(--card))',
46
- foreground: 'hsl(var(--card-foreground))',
47
- },
48
- },
49
- borderRadius: {
50
- lg: 'var(--radius)',
51
- md: 'calc(var(--radius) - 2px)',
52
- sm: 'calc(var(--radius) - 4px)',
53
- },
54
- keyframes: {
55
- 'accordion-down': {
56
- from: {
57
- height: '0',
58
- },
59
- to: {
60
- height: 'var(--radix-accordion-content-height)',
61
- },
62
- },
63
- 'accordion-up': {
64
- from: {
65
- height: 'var(--radix-accordion-content-height)',
66
- },
67
- to: {
68
- height: '0',
69
- },
70
- },
71
- },
72
- animation: {
73
- 'accordion-down': 'accordion-down 0.2s ease-out',
74
- 'accordion-up': 'accordion-up 0.2s ease-out',
75
- },
76
- },
77
- },
78
- plugins: [require('tailwindcss-animate')],
79
- };