buildgrid-ui 1.17.1 → 1.17.3
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 +8767 -8870
- package/dist/buildgrid-ui.umd.js +85 -85
- package/dist/components/accordion/accordion.d.ts +5 -5
- package/dist/components/card/card.d.ts +3 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/package.json +163 -149
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
3
|
+
declare function Accordion({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -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,165 @@
|
|
|
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.3",
|
|
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
|
+
"radix-ui": "^1.4.3",
|
|
102
|
+
"react-day-picker": "^9.8.1",
|
|
103
|
+
"react-dropzone": "^14.3.8",
|
|
104
|
+
"sonner": "^1.7.1",
|
|
105
|
+
"tailwind-merge": "^3.3.1",
|
|
106
|
+
"tw-animate-css": "^1.3.6"
|
|
107
|
+
},
|
|
108
|
+
"peerDependencies": {
|
|
109
|
+
"react": "^19.0.0",
|
|
110
|
+
"react-dom": "^19.0.0"
|
|
111
|
+
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"@commitlint/cli": "^19.8.1",
|
|
114
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
115
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
116
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
117
|
+
"@semantic-release/git": "^10.0.1",
|
|
118
|
+
"@semantic-release/npm": "^12.0.2",
|
|
119
|
+
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
120
|
+
"@shadcn/ui": "^0.0.4",
|
|
121
|
+
"@storybook/addon-docs": "^10.2.0",
|
|
122
|
+
"@storybook/addon-onboarding": "^10.2.0",
|
|
123
|
+
"@storybook/react-vite": "^10.2.0",
|
|
124
|
+
"@testing-library/jest-dom": "^6.6.4",
|
|
125
|
+
"@testing-library/react": "^16.3.0",
|
|
126
|
+
"@testing-library/user-event": "^14.6.1",
|
|
127
|
+
"@types/dompurify": "^3.0.5",
|
|
128
|
+
"@types/jest": "^30.0.0",
|
|
129
|
+
"@types/node": "^24.2.1",
|
|
130
|
+
"@types/react": "^19.1.9",
|
|
131
|
+
"@types/react-dom": "^19.1.7",
|
|
132
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
133
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
134
|
+
"@vitest/ui": "^3.2.4",
|
|
135
|
+
"autoprefixer": "^10.4.21",
|
|
136
|
+
"chromatic": "^13.3.4",
|
|
137
|
+
"eslint": "^9.33.0",
|
|
138
|
+
"eslint-config-next": "^15.4.6",
|
|
139
|
+
"eslint-config-prettier": "^10.1.8",
|
|
140
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
141
|
+
"eslint-plugin-storybook": "^10.2.0",
|
|
142
|
+
"gh-pages": "^6.3.0",
|
|
143
|
+
"gray-matter": "^4.0.3",
|
|
144
|
+
"http-server": "^14.1.1",
|
|
145
|
+
"husky": "^9.1.7",
|
|
146
|
+
"js-yaml": "^4.1.1",
|
|
147
|
+
"jsdom": "^26.1.0",
|
|
148
|
+
"postcss": "^8.5.6",
|
|
149
|
+
"prettier": "^3.6.2",
|
|
150
|
+
"prettier-plugin-organize-imports": "^4.2.0",
|
|
151
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
152
|
+
"pretty-quick": "^4.2.2",
|
|
153
|
+
"react": "^19.1.1",
|
|
154
|
+
"react-dom": "^19.1.1",
|
|
155
|
+
"semantic-release": "^24.2.7",
|
|
156
|
+
"storybook": "^10.2.0",
|
|
157
|
+
"tailwindcss": "^4.1.11",
|
|
158
|
+
"tailwindcss-animate": "^1.0.7",
|
|
159
|
+
"tailwindcss-animated": "^2.0.0",
|
|
160
|
+
"typescript": "^5.9.2",
|
|
161
|
+
"vite": "^7.1.1",
|
|
162
|
+
"vite-plugin-dts": "^4.5.4",
|
|
163
|
+
"vitest": "^3.2.4"
|
|
164
|
+
}
|
|
151
165
|
}
|