@alexgorbatchev/shadcn 0.0.31 → 0.0.33
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 +8 -7
- package/THIRD_PARTY_NOTICES.md +4 -0
- package/dist/{chunk-0ewzb2ax.js → chunk-0kyfh857.js} +1 -1
- package/dist/{chunk-8wfy03bp.js → chunk-6kwf9644.js} +1 -1
- package/dist/{chunk-82e7fbmq.js → chunk-9vyg3854.js} +2 -1
- package/dist/chunk-c6g2rbhv.js +3940 -0
- package/dist/chunk-dzvsjw59.js +200 -0
- package/dist/chunk-tch86q2w.js +6050 -0
- package/dist/{chunk-53q730zs.js → chunk-zdt8xxzy.js} +3 -0
- package/dist/components/Alert.d.ts +1 -1
- package/dist/components/assistant-ui/elements/Chart.js +2 -2
- package/dist/components/assistant-ui/elements/GuardrailNotice.js +2 -2
- package/dist/components/assistant-ui/index.js +4 -4
- package/dist/components/assistant-ui/native/Sources.d.ts +1 -1
- package/dist/components/carousel/index.js +15 -204
- package/dist/components/chart/AnalyticsChart.d.ts +3 -2
- package/dist/components/chart/Chart.d.ts +1 -1
- package/dist/components/chart/index.js +24 -10
- package/dist/components/chart/types.d.ts +1 -0
- package/dist/components/json-render/JsonAccordion.d.ts +3 -0
- package/dist/components/json-render/JsonAlert.d.ts +3 -0
- package/dist/components/json-render/JsonAvatar.d.ts +3 -0
- package/dist/components/json-render/JsonBadge.d.ts +3 -0
- package/dist/components/json-render/JsonButton.d.ts +3 -0
- package/dist/components/json-render/JsonButtonGroup.d.ts +3 -0
- package/dist/components/json-render/JsonCard.d.ts +3 -0
- package/dist/components/json-render/JsonCarousel.d.ts +3 -0
- package/dist/components/json-render/JsonCheckbox.d.ts +3 -0
- package/dist/components/json-render/JsonCollapsible.d.ts +3 -0
- package/dist/components/json-render/JsonDialog.d.ts +3 -0
- package/dist/components/json-render/JsonDrawer.d.ts +3 -0
- package/dist/components/json-render/JsonDropdownMenu.d.ts +3 -0
- package/dist/components/json-render/JsonGrid.d.ts +3 -0
- package/dist/components/json-render/JsonHeading.d.ts +3 -0
- package/dist/components/json-render/JsonImage.d.ts +3 -0
- package/dist/components/json-render/JsonInput.d.ts +3 -0
- package/dist/components/json-render/JsonLink.d.ts +3 -0
- package/dist/components/json-render/JsonPagination.d.ts +3 -0
- package/dist/components/json-render/JsonPopover.d.ts +3 -0
- package/dist/components/json-render/JsonProgress.d.ts +3 -0
- package/dist/components/json-render/JsonRadio.d.ts +3 -0
- package/dist/components/json-render/JsonSelect.d.ts +3 -0
- package/dist/components/json-render/JsonSeparator.d.ts +3 -0
- package/dist/components/json-render/JsonSkeleton.d.ts +3 -0
- package/dist/components/json-render/JsonSlider.d.ts +3 -0
- package/dist/components/json-render/JsonSpinner.d.ts +3 -0
- package/dist/components/json-render/JsonStack.d.ts +3 -0
- package/dist/components/json-render/JsonSwitch.d.ts +3 -0
- package/dist/components/json-render/JsonTable.d.ts +3 -0
- package/dist/components/json-render/JsonTabs.d.ts +3 -0
- package/dist/components/json-render/JsonText.d.ts +3 -0
- package/dist/components/json-render/JsonTextarea.d.ts +3 -0
- package/dist/components/json-render/JsonToggle.d.ts +3 -0
- package/dist/components/json-render/JsonToggleGroup.d.ts +3 -0
- package/dist/components/json-render/JsonTooltip.d.ts +3 -0
- package/dist/components/json-render/catalog.d.ts +548 -0
- package/dist/components/json-render/catalog.js +6 -0
- package/dist/components/json-render/getPaginationRange.d.ts +1 -0
- package/dist/components/json-render/index.d.ts +39 -0
- package/dist/components/json-render/index.js +1254 -0
- package/dist/index.js +569 -4191
- package/licenses/json-render-APACHE-2.0.txt +201 -0
- package/llms/components/data-display/AnalyticsChart.md +34 -0
- package/llms/components/data-display/JsonRender.md +476 -0
- package/llms/components/feedback/Alert.md +20 -4
- package/llms/setup.md +8 -7
- package/llms.txt +1 -0
- package/package.json +75 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexgorbatchev/shadcn",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "Sharp, monospace React components with compact and comfortable densities.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -1032,6 +1032,14 @@
|
|
|
1032
1032
|
"./gantt": {
|
|
1033
1033
|
"types": "./dist/components/gantt/index.d.ts",
|
|
1034
1034
|
"import": "./dist/components/gantt/index.js"
|
|
1035
|
+
},
|
|
1036
|
+
"./json-render": {
|
|
1037
|
+
"types": "./dist/components/json-render/index.d.ts",
|
|
1038
|
+
"import": "./dist/components/json-render/index.js"
|
|
1039
|
+
},
|
|
1040
|
+
"./json-render/catalog": {
|
|
1041
|
+
"types": "./dist/components/json-render/catalog.d.ts",
|
|
1042
|
+
"import": "./dist/components/json-render/catalog.js"
|
|
1035
1043
|
}
|
|
1036
1044
|
},
|
|
1037
1045
|
"publishConfig": {
|
|
@@ -1056,20 +1064,6 @@
|
|
|
1056
1064
|
"test:visual": "vitest run --config .storybook/vitest.visual.config.ts Button.stories.tsx Badge.stories.tsx Card.stories.tsx Input.stories.tsx ScrollArea.stories.tsx",
|
|
1057
1065
|
"test:visual:update": "bun run test:visual --update"
|
|
1058
1066
|
},
|
|
1059
|
-
"dependencies": {
|
|
1060
|
-
"@base-ui/react": "^1.9.0",
|
|
1061
|
-
"@base-ui/utils": "0.5.0",
|
|
1062
|
-
"@shadcn/react": "0.3.1",
|
|
1063
|
-
"class-variance-authority": "^0.7.1",
|
|
1064
|
-
"clsx": "^2.1.1",
|
|
1065
|
-
"input-otp": "1.5.0",
|
|
1066
|
-
"lucide-react": "^1.53.0",
|
|
1067
|
-
"react-big-calendar": "1.20.0",
|
|
1068
|
-
"sonner": "2.0.8",
|
|
1069
|
-
"tailwind-merge": "^3.7.0",
|
|
1070
|
-
"tw-animate-css": "^1.4.0",
|
|
1071
|
-
"usehooks-ts": "^3.1.1"
|
|
1072
|
-
},
|
|
1073
1067
|
"devDependencies": {
|
|
1074
1068
|
"@assistant-ui/ai-sdk": "0.0.14",
|
|
1075
1069
|
"@assistant-ui/generative-ui": "0.0.6",
|
|
@@ -1078,6 +1072,8 @@
|
|
|
1078
1072
|
"@assistant-ui/react-mcp": "0.1.24",
|
|
1079
1073
|
"@assistant-ui/react-syntax-highlighter": "0.14.7",
|
|
1080
1074
|
"@assistant-ui/store": "0.3.22",
|
|
1075
|
+
"@base-ui/react": "^1.9.0",
|
|
1076
|
+
"@base-ui/utils": "0.5.0",
|
|
1081
1077
|
"@date-fns/tz": "1.5.0",
|
|
1082
1078
|
"@daypicker/persian": "^10.0.2",
|
|
1083
1079
|
"@daypicker/react": "^10.0.2",
|
|
@@ -1085,6 +1081,9 @@
|
|
|
1085
1081
|
"@headless-tree/core": "1.8.0",
|
|
1086
1082
|
"@headless-tree/react": "1.8.0",
|
|
1087
1083
|
"@hookform/resolvers": "5.9.1",
|
|
1084
|
+
"@json-render/core": "0.21.1",
|
|
1085
|
+
"@json-render/react": "0.21.1",
|
|
1086
|
+
"@shadcn/react": "0.3.1",
|
|
1088
1087
|
"@storybook/addon-a11y": "^10.6.1",
|
|
1089
1088
|
"@storybook/addon-docs": "^10.6.1",
|
|
1090
1089
|
"@storybook/addon-vitest": "^10.6.1",
|
|
@@ -1115,6 +1114,8 @@
|
|
|
1115
1114
|
"bun": "1.4.2",
|
|
1116
1115
|
"bun-plugin-tailwind": "^0.1.2",
|
|
1117
1116
|
"chrono-node": "^2.10.2",
|
|
1117
|
+
"class-variance-authority": "^0.7.1",
|
|
1118
|
+
"clsx": "^2.1.1",
|
|
1118
1119
|
"cmdk": "^1.1.1",
|
|
1119
1120
|
"colorjs.io": "0.7.1",
|
|
1120
1121
|
"cssesc": "3.0.0",
|
|
@@ -1124,12 +1125,15 @@
|
|
|
1124
1125
|
"embla-carousel-react": "^8.6.0",
|
|
1125
1126
|
"es-toolkit": "1.52.0",
|
|
1126
1127
|
"heat-graph": "0.0.25",
|
|
1128
|
+
"input-otp": "1.5.0",
|
|
1127
1129
|
"leaflet": "^1.9.4",
|
|
1130
|
+
"lucide-react": "^1.53.0",
|
|
1128
1131
|
"motion": "14.0.0",
|
|
1129
1132
|
"oxfmt": "^0.72.0",
|
|
1130
1133
|
"oxlint": "^1.87.0",
|
|
1131
1134
|
"parse-diff": "0.12.0",
|
|
1132
1135
|
"playwright": "^1.64.0",
|
|
1136
|
+
"react-big-calendar": "1.20.0",
|
|
1133
1137
|
"react-colorful": "5.8.1",
|
|
1134
1138
|
"react-dropzone": "20.1.4",
|
|
1135
1139
|
"react-hook-form": "7.89.0",
|
|
@@ -1141,11 +1145,15 @@
|
|
|
1141
1145
|
"recharts": "3.8.0",
|
|
1142
1146
|
"remark-gfm": "^4.0.1",
|
|
1143
1147
|
"shiki": "^4.5.0",
|
|
1148
|
+
"sonner": "2.0.8",
|
|
1144
1149
|
"storybook": "^10.6.1",
|
|
1145
1150
|
"strip-ansi": "7.2.0",
|
|
1151
|
+
"tailwind-merge": "^3.7.0",
|
|
1146
1152
|
"tailwindcss": "^4.3.3",
|
|
1147
1153
|
"ts-unused": "3.7.1",
|
|
1154
|
+
"tw-animate-css": "^1.4.0",
|
|
1148
1155
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
1156
|
+
"usehooks-ts": "^3.1.1",
|
|
1149
1157
|
"vite": "^8.3.4",
|
|
1150
1158
|
"vitest": "^4.1.6",
|
|
1151
1159
|
"vitest-browser-react": "^2.3.0",
|
|
@@ -1160,12 +1168,17 @@
|
|
|
1160
1168
|
"@assistant-ui/react-mcp": "0.1.24",
|
|
1161
1169
|
"@assistant-ui/react-syntax-highlighter": "0.14.7",
|
|
1162
1170
|
"@assistant-ui/store": "0.3.22",
|
|
1171
|
+
"@base-ui/react": "^1.9.0",
|
|
1172
|
+
"@base-ui/utils": "0.5.0",
|
|
1163
1173
|
"@date-fns/tz": "^1.5.0",
|
|
1164
1174
|
"@daypicker/persian": "^10.0.2",
|
|
1165
1175
|
"@daypicker/react": "^10.0.2",
|
|
1166
1176
|
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
1167
1177
|
"@headless-tree/core": "^1.8.0",
|
|
1168
1178
|
"@headless-tree/react": "^1.8.0",
|
|
1179
|
+
"@json-render/core": "0.21.1",
|
|
1180
|
+
"@json-render/react": "0.21.1",
|
|
1181
|
+
"@shadcn/react": "0.3.1",
|
|
1169
1182
|
"@tanstack/react-table": "9.2.8",
|
|
1170
1183
|
"@tanstack/react-virtual": "^3.14.13",
|
|
1171
1184
|
"@tiptap/core": "^3.32.0",
|
|
@@ -1175,6 +1188,8 @@
|
|
|
1175
1188
|
"@types/react-big-calendar": "^1.16.3",
|
|
1176
1189
|
"anser": "2.3.5",
|
|
1177
1190
|
"beautiful-mermaid": "^1.1.3",
|
|
1191
|
+
"class-variance-authority": "^0.7.1",
|
|
1192
|
+
"clsx": "^2.1.1",
|
|
1178
1193
|
"cmdk": "^1.1.1",
|
|
1179
1194
|
"colorjs.io": "0.7.1",
|
|
1180
1195
|
"cssesc": "3.0.0",
|
|
@@ -1183,7 +1198,9 @@
|
|
|
1183
1198
|
"embla-carousel-react": "^8.6.0",
|
|
1184
1199
|
"es-toolkit": "1.52.0",
|
|
1185
1200
|
"heat-graph": "0.0.25",
|
|
1201
|
+
"input-otp": "1.5.0",
|
|
1186
1202
|
"leaflet": "^1.9.4",
|
|
1203
|
+
"lucide-react": "^1.53.0",
|
|
1187
1204
|
"parse-diff": "0.12.0",
|
|
1188
1205
|
"react": "^19.3.0",
|
|
1189
1206
|
"react-colorful": "^5.8.1",
|
|
@@ -1197,7 +1214,11 @@
|
|
|
1197
1214
|
"recharts": "3.8.0",
|
|
1198
1215
|
"remark-gfm": "^4.0.1",
|
|
1199
1216
|
"shiki": "^4.5.0",
|
|
1217
|
+
"sonner": "2.0.8",
|
|
1200
1218
|
"strip-ansi": "7.2.0",
|
|
1219
|
+
"tailwind-merge": "^3.7.0",
|
|
1220
|
+
"tw-animate-css": "^1.4.0",
|
|
1221
|
+
"usehooks-ts": "^3.1.1",
|
|
1201
1222
|
"zustand": "5.0.15"
|
|
1202
1223
|
},
|
|
1203
1224
|
"peerDependenciesMeta": {
|
|
@@ -1332,6 +1353,45 @@
|
|
|
1332
1353
|
},
|
|
1333
1354
|
"@types/react-big-calendar": {
|
|
1334
1355
|
"optional": true
|
|
1356
|
+
},
|
|
1357
|
+
"@json-render/core": {
|
|
1358
|
+
"optional": true
|
|
1359
|
+
},
|
|
1360
|
+
"@json-render/react": {
|
|
1361
|
+
"optional": true
|
|
1362
|
+
},
|
|
1363
|
+
"@base-ui/react": {
|
|
1364
|
+
"optional": true
|
|
1365
|
+
},
|
|
1366
|
+
"@base-ui/utils": {
|
|
1367
|
+
"optional": true
|
|
1368
|
+
},
|
|
1369
|
+
"@shadcn/react": {
|
|
1370
|
+
"optional": true
|
|
1371
|
+
},
|
|
1372
|
+
"class-variance-authority": {
|
|
1373
|
+
"optional": true
|
|
1374
|
+
},
|
|
1375
|
+
"clsx": {
|
|
1376
|
+
"optional": true
|
|
1377
|
+
},
|
|
1378
|
+
"input-otp": {
|
|
1379
|
+
"optional": true
|
|
1380
|
+
},
|
|
1381
|
+
"lucide-react": {
|
|
1382
|
+
"optional": true
|
|
1383
|
+
},
|
|
1384
|
+
"sonner": {
|
|
1385
|
+
"optional": true
|
|
1386
|
+
},
|
|
1387
|
+
"tailwind-merge": {
|
|
1388
|
+
"optional": true
|
|
1389
|
+
},
|
|
1390
|
+
"tw-animate-css": {
|
|
1391
|
+
"optional": true
|
|
1392
|
+
},
|
|
1393
|
+
"usehooks-ts": {
|
|
1394
|
+
"optional": true
|
|
1335
1395
|
}
|
|
1336
1396
|
},
|
|
1337
1397
|
"packageManager": "bun@1.4.2"
|