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.
- package/README.md +172 -5
- package/dist/buildgrid-ui.css +1 -1
- package/dist/buildgrid-ui.es.js +63 -35
- package/dist/buildgrid-ui.umd.js +6 -6
- package/dist/components/card/card.d.ts +3 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/package.json +162 -149
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare function Card({ className, ...props }: React.ComponentProps<'div'>
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
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
|
}
|