buildgrid-ui 1.17.1 → 1.17.2

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,5 +1,7 @@
1
1
  import * as React from 'react';
2
- declare function Card({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
2
+ declare function Card({ className, size, ...props }: React.ComponentProps<'div'> & {
3
+ size?: 'default' | 'sm';
4
+ }): import("react/jsx-runtime").JSX.Element;
3
5
  declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
4
6
  declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
5
7
  declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  type SkeletonProps = {
2
2
  repeat?: number;
3
3
  } & React.ComponentProps<'div'>;
4
- export declare const Skeleton: ({ className, repeat, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const Skeleton: ({ className, repeat, ...props }: SkeletonProps) => import("react/jsx-runtime").JSX.Element | null;
5
5
  export {};
package/package.json CHANGED
@@ -1,151 +1,164 @@
1
1
  {
2
- "name": "buildgrid-ui",
3
- "version": "1.17.1",
4
- "homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "main": "dist/buildgrid-ui.umd.js",
9
- "module": "dist/buildgrid-ui.es.js",
10
- "types": "dist/index.d.ts",
11
- "files": [
12
- "dist"
13
- ],
14
- "exports": {
15
- "./package.json": {
16
- "default": "./package.json"
17
- },
18
- ".": {
19
- "types": "./dist/index.d.ts",
20
- "import": "./dist/buildgrid-ui.es.js",
21
- "require": "./dist/buildgrid-ui.umd.js"
22
- },
23
- "./theme": "./dist/buildgrid-ui.css",
24
- "./components/*": {
25
- "types": "./dist/components/*/index.d.ts",
26
- "import": "./dist/components/*/index.js",
27
- "require": "./dist/components/*/index.umd.js"
28
- },
29
- "./blocks/*": {
30
- "types": "./dist/blocks/*/index.d.ts",
31
- "import": "./dist/blocks/*/index.js",
32
- "require": "./dist/blocks/*/index.umd.js"
33
- }
34
- },
35
- "scripts": {
36
- "test": "vitest",
37
- "test:watch": "vitest --watch",
38
- "test:ui": "vitest --ui",
39
- "build": "vite build && npm run build:types",
40
- "build:types": "tsc --emitDeclarationOnly",
41
- "build:link": "npm run build && npm link",
42
- "storybook": "storybook dev -p 6006",
43
- "sb": "storybook dev -p 6006",
44
- "build:storybook": "storybook build",
45
- "predeploy": "npm run build:storybook",
46
- "deploy-storybook": "gh-pages -d storybook-static",
47
- "release": "semantic-release",
48
- "prepublishOnly": "npm run build",
49
- "build:publish": "npm run build && npm publish",
50
- "build-storybook": "storybook build",
51
- "serve-storybook": "npm run build-storybook -- -o ./storybook-static && npx http-server ./storybook-static",
52
- "chromatic": "npx chromatic --project-token=chpt_af05c4ee3fa4b80"
53
- },
54
- "keywords": [],
55
- "author": "",
56
- "license": "ISC",
57
- "description": "",
58
- "dependencies": {
59
- "@radix-ui/react-accordion": "^1.2.11",
60
- "@radix-ui/react-alert-dialog": "^1.1.7",
61
- "@radix-ui/react-avatar": "^1.1.4",
62
- "@radix-ui/react-checkbox": "^1.1.5",
63
- "@radix-ui/react-collapsible": "^1.1.12",
64
- "@radix-ui/react-dialog": "^1.1.14",
65
- "@radix-ui/react-dropdown-menu": "^2.1.7",
66
- "@radix-ui/react-label": "^2.1.3",
67
- "@radix-ui/react-navigation-menu": "^1.2.13",
68
- "@radix-ui/react-popover": "^1.1.7",
69
- "@radix-ui/react-progress": "^1.1.3",
70
- "@radix-ui/react-radio-group": "^1.2.4",
71
- "@radix-ui/react-select": "^2.1.7",
72
- "@radix-ui/react-separator": "^1.1.3",
73
- "@radix-ui/react-slider": "^1.3.5",
74
- "@radix-ui/react-slot": "^1.2.3",
75
- "@radix-ui/react-switch": "^1.1.4",
76
- "@radix-ui/react-tabs": "^1.1.12",
77
- "@radix-ui/react-toggle": "^1.1.3",
78
- "@radix-ui/react-toggle-group": "^1.1.3",
79
- "@radix-ui/react-tooltip": "^1.2.7",
80
- "@tailwindcss/vite": "^4.1.11",
81
- "class-variance-authority": "^0.7.1",
82
- "clsx": "^2.1.1",
83
- "cmdk": "^1.1.1",
84
- "compressorjs": "^1.2.1",
85
- "cva-extended": "^2.0.0",
86
- "date-fns": "^4.1.0",
87
- "date-fns-tz": "^3.2.0",
88
- "dompurify": "^3.3.1",
89
- "embla-carousel-react": "^8.6.0",
90
- "highlight.js": "^11.11.1",
91
- "lucide-react": "^0.539.0",
92
- "react-day-picker": "^9.8.1",
93
- "react-dropzone": "^14.3.8",
94
- "sonner": "^1.7.1",
95
- "tailwind-merge": "^3.3.1",
96
- "tw-animate-css": "^1.3.6"
97
- },
98
- "peerDependencies": {
99
- "react": "^19.0.0",
100
- "react-dom": "^19.0.0"
101
- },
102
- "devDependencies": {
103
- "@commitlint/cli": "^19.8.1",
104
- "@commitlint/config-conventional": "^19.8.1",
105
- "@semantic-release/changelog": "^6.0.3",
106
- "@semantic-release/commit-analyzer": "^13.0.1",
107
- "@semantic-release/git": "^10.0.1",
108
- "@semantic-release/npm": "^12.0.2",
109
- "@semantic-release/release-notes-generator": "^14.0.3",
110
- "@shadcn/ui": "^0.0.4",
111
- "@storybook/addon-docs": "^10.1.10",
112
- "@storybook/addon-onboarding": "^10.1.10",
113
- "@storybook/react-vite": "^10.1.10",
114
- "@testing-library/jest-dom": "^6.6.4",
115
- "@testing-library/react": "^16.3.0",
116
- "@types/dompurify": "^3.0.5",
117
- "@types/jest": "^30.0.0",
118
- "@types/node": "^24.2.1",
119
- "@types/react": "^19.1.9",
120
- "@types/react-dom": "^19.1.7",
121
- "@vitejs/plugin-react": "^5.0.0",
122
- "@vitest/ui": "^3.2.4",
123
- "autoprefixer": "^10.4.21",
124
- "chromatic": "^13.3.4",
125
- "eslint": "^9.33.0",
126
- "eslint-config-next": "^15.4.6",
127
- "eslint-config-prettier": "^10.1.8",
128
- "eslint-plugin-prettier": "^5.5.4",
129
- "eslint-plugin-storybook": "^10.1.10",
130
- "gh-pages": "^6.3.0",
131
- "http-server": "^14.1.1",
132
- "husky": "^9.1.7",
133
- "jsdom": "^26.1.0",
134
- "postcss": "^8.5.6",
135
- "prettier": "^3.6.2",
136
- "prettier-plugin-organize-imports": "^4.2.0",
137
- "prettier-plugin-tailwindcss": "^0.6.14",
138
- "pretty-quick": "^4.2.2",
139
- "react": "^19.1.1",
140
- "react-dom": "^19.1.1",
141
- "semantic-release": "^24.2.7",
142
- "storybook": "^10.1.10",
143
- "tailwindcss": "^4.1.11",
144
- "tailwindcss-animate": "^1.0.7",
145
- "tailwindcss-animated": "^2.0.0",
146
- "typescript": "^5.9.2",
147
- "vite": "^7.1.1",
148
- "vite-plugin-dts": "^4.5.4",
149
- "vitest": "^3.2.4"
150
- }
2
+ "name": "buildgrid-ui",
3
+ "version": "1.17.2",
4
+ "homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "main": "dist/buildgrid-ui.umd.js",
9
+ "module": "dist/buildgrid-ui.es.js",
10
+ "types": "dist/index.d.ts",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "exports": {
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ },
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/buildgrid-ui.es.js",
21
+ "require": "./dist/buildgrid-ui.umd.js"
22
+ },
23
+ "./theme": "./dist/buildgrid-ui.css",
24
+ "./components/*": {
25
+ "types": "./dist/components/*/index.d.ts",
26
+ "import": "./dist/components/*/index.js",
27
+ "require": "./dist/components/*/index.umd.js"
28
+ },
29
+ "./blocks/*": {
30
+ "types": "./dist/blocks/*/index.d.ts",
31
+ "import": "./dist/blocks/*/index.js",
32
+ "require": "./dist/blocks/*/index.umd.js"
33
+ }
34
+ },
35
+ "scripts": {
36
+ "test": "vitest run",
37
+ "test:run": "vitest run",
38
+ "test:watch": "vitest --watch",
39
+ "test:ui": "vitest --ui",
40
+ "test:coverage": "vitest run --coverage",
41
+ "test:coverage:open": "./scripts/test-coverage.sh",
42
+ "verify-docs-version": "node scripts/verify-docs-version.js verify",
43
+ "sync-docs-version": "node scripts/verify-docs-version.js sync",
44
+ "update-stats": "node scripts/update-stats.js",
45
+ "update-blog-posts": "node scripts/update-blog-posts.js",
46
+ "copy-coverage": "node scripts/copy-coverage.js",
47
+ "pre-push": "npm run verify-docs-version && npm run test:coverage && npm run copy-coverage && npm run build:storybook",
48
+ "build": "vite build && npm run build:types",
49
+ "build:types": "tsc --emitDeclarationOnly",
50
+ "build:link": "npm run build && npm link",
51
+ "storybook": "storybook dev -p 6006",
52
+ "sb": "storybook dev -p 6006",
53
+ "build:storybook": "storybook build",
54
+ "predeploy": "npm run build:storybook",
55
+ "deploy-storybook": "gh-pages -d storybook-static",
56
+ "release": "semantic-release",
57
+ "prepublishOnly": "npm run build",
58
+ "build:publish": "npm run build && npm publish",
59
+ "build-storybook": "storybook build",
60
+ "serve-storybook": "npm run build-storybook -- -o ./storybook-static && npx http-server ./storybook-static",
61
+ "chromatic": "npx chromatic --project-token=chpt_af05c4ee3fa4b80"
62
+ },
63
+ "keywords": [],
64
+ "author": "",
65
+ "license": "ISC",
66
+ "description": "",
67
+ "dependencies": {
68
+ "@radix-ui/react-accordion": "^1.2.11",
69
+ "@radix-ui/react-alert-dialog": "^1.1.7",
70
+ "@radix-ui/react-avatar": "^1.1.4",
71
+ "@radix-ui/react-checkbox": "^1.1.5",
72
+ "@radix-ui/react-collapsible": "^1.1.12",
73
+ "@radix-ui/react-dialog": "^1.1.14",
74
+ "@radix-ui/react-dropdown-menu": "^2.1.7",
75
+ "@radix-ui/react-label": "^2.1.3",
76
+ "@radix-ui/react-navigation-menu": "^1.2.13",
77
+ "@radix-ui/react-popover": "^1.1.7",
78
+ "@radix-ui/react-progress": "^1.1.3",
79
+ "@radix-ui/react-radio-group": "^1.2.4",
80
+ "@radix-ui/react-select": "^2.1.7",
81
+ "@radix-ui/react-separator": "^1.1.3",
82
+ "@radix-ui/react-slider": "^1.3.5",
83
+ "@radix-ui/react-slot": "^1.2.3",
84
+ "@radix-ui/react-switch": "^1.1.4",
85
+ "@radix-ui/react-tabs": "^1.1.12",
86
+ "@radix-ui/react-toggle": "^1.1.3",
87
+ "@radix-ui/react-toggle-group": "^1.1.3",
88
+ "@radix-ui/react-tooltip": "^1.2.7",
89
+ "@tailwindcss/vite": "^4.1.11",
90
+ "class-variance-authority": "^0.7.1",
91
+ "clsx": "^2.1.1",
92
+ "cmdk": "^1.1.1",
93
+ "compressorjs": "^1.2.1",
94
+ "cva-extended": "^2.0.0",
95
+ "date-fns": "^4.1.0",
96
+ "date-fns-tz": "^3.2.0",
97
+ "dompurify": "^3.3.1",
98
+ "embla-carousel-react": "^8.6.0",
99
+ "highlight.js": "^11.11.1",
100
+ "lucide-react": "^0.539.0",
101
+ "react-day-picker": "^9.8.1",
102
+ "react-dropzone": "^14.3.8",
103
+ "sonner": "^1.7.1",
104
+ "tailwind-merge": "^3.3.1",
105
+ "tw-animate-css": "^1.3.6"
106
+ },
107
+ "peerDependencies": {
108
+ "react": "^19.0.0",
109
+ "react-dom": "^19.0.0"
110
+ },
111
+ "devDependencies": {
112
+ "@commitlint/cli": "^19.8.1",
113
+ "@commitlint/config-conventional": "^19.8.1",
114
+ "@semantic-release/changelog": "^6.0.3",
115
+ "@semantic-release/commit-analyzer": "^13.0.1",
116
+ "@semantic-release/git": "^10.0.1",
117
+ "@semantic-release/npm": "^12.0.2",
118
+ "@semantic-release/release-notes-generator": "^14.0.3",
119
+ "@shadcn/ui": "^0.0.4",
120
+ "@storybook/addon-docs": "^10.2.0",
121
+ "@storybook/addon-onboarding": "^10.2.0",
122
+ "@storybook/react-vite": "^10.2.0",
123
+ "@testing-library/jest-dom": "^6.6.4",
124
+ "@testing-library/react": "^16.3.0",
125
+ "@testing-library/user-event": "^14.6.1",
126
+ "@types/dompurify": "^3.0.5",
127
+ "@types/jest": "^30.0.0",
128
+ "@types/node": "^24.2.1",
129
+ "@types/react": "^19.1.9",
130
+ "@types/react-dom": "^19.1.7",
131
+ "@vitejs/plugin-react": "^5.0.0",
132
+ "@vitest/coverage-v8": "^3.2.4",
133
+ "@vitest/ui": "^3.2.4",
134
+ "autoprefixer": "^10.4.21",
135
+ "chromatic": "^13.3.4",
136
+ "eslint": "^9.33.0",
137
+ "eslint-config-next": "^15.4.6",
138
+ "eslint-config-prettier": "^10.1.8",
139
+ "eslint-plugin-prettier": "^5.5.4",
140
+ "eslint-plugin-storybook": "^10.2.0",
141
+ "gh-pages": "^6.3.0",
142
+ "gray-matter": "^4.0.3",
143
+ "http-server": "^14.1.1",
144
+ "husky": "^9.1.7",
145
+ "js-yaml": "^4.1.1",
146
+ "jsdom": "^26.1.0",
147
+ "postcss": "^8.5.6",
148
+ "prettier": "^3.6.2",
149
+ "prettier-plugin-organize-imports": "^4.2.0",
150
+ "prettier-plugin-tailwindcss": "^0.6.14",
151
+ "pretty-quick": "^4.2.2",
152
+ "react": "^19.1.1",
153
+ "react-dom": "^19.1.1",
154
+ "semantic-release": "^24.2.7",
155
+ "storybook": "^10.2.0",
156
+ "tailwindcss": "^4.1.11",
157
+ "tailwindcss-animate": "^1.0.7",
158
+ "tailwindcss-animated": "^2.0.0",
159
+ "typescript": "^5.9.2",
160
+ "vite": "^7.1.1",
161
+ "vite-plugin-dts": "^4.5.4",
162
+ "vitest": "^3.2.4"
163
+ }
151
164
  }