@kjaniec-dev/ui-mcp 0.4.1 → 0.5.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.
@@ -1097,5 +1097,181 @@
1097
1097
  ],
1098
1098
  "cva": null,
1099
1099
  "usageSnippet": "<PageHeader\n eyebrow=\"Open source\"\n title=\"Projects\"\n description=\"Things I've built and shipped.\"\n actions={\n <>\n <Button size=\"sm\">View all</Button>\n <Button size=\"sm\" variant=\"ghost\">GitHub</Button>\n </>"
1100
+ },
1101
+ {
1102
+ "name": "EmptyState",
1103
+ "importPath": "import { EmptyState } from \"@kjaniec-dev/ui\";",
1104
+ "description": "React component EmptyState.",
1105
+ "props": [
1106
+ {
1107
+ "name": "icon",
1108
+ "type": "React.ReactNode",
1109
+ "optional": true,
1110
+ "defaultValue": null,
1111
+ "description": ""
1112
+ },
1113
+ {
1114
+ "name": "title",
1115
+ "type": "string",
1116
+ "optional": false,
1117
+ "defaultValue": null,
1118
+ "description": ""
1119
+ },
1120
+ {
1121
+ "name": "description",
1122
+ "type": "string",
1123
+ "optional": true,
1124
+ "defaultValue": null,
1125
+ "description": ""
1126
+ },
1127
+ {
1128
+ "name": "action",
1129
+ "type": "React.ReactNode",
1130
+ "optional": true,
1131
+ "defaultValue": null,
1132
+ "description": ""
1133
+ }
1134
+ ],
1135
+ "cva": null,
1136
+ "usageSnippet": "<EmptyState\n title=\"No integrations active\"\n description=\"Connect your Slack, GitHub, or Discord channel to start receiving automated notifications.\"\n icon={\n <svg fill=\"none\" stroke=\"currentColor\" strokeWidth={2} viewBox=\"0 0 24 24\">\n <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M12 4.5v15m7.5-7.5h-15\" />"
1137
+ },
1138
+ {
1139
+ "name": "MetricCard",
1140
+ "importPath": "import { MetricCard } from \"@kjaniec-dev/ui\";",
1141
+ "description": "React component MetricCard.",
1142
+ "props": [
1143
+ {
1144
+ "name": "title",
1145
+ "type": "string",
1146
+ "optional": false,
1147
+ "defaultValue": null,
1148
+ "description": ""
1149
+ },
1150
+ {
1151
+ "name": "value",
1152
+ "type": "string | number",
1153
+ "optional": false,
1154
+ "defaultValue": null,
1155
+ "description": ""
1156
+ },
1157
+ {
1158
+ "name": "trend",
1159
+ "type": "string",
1160
+ "optional": true,
1161
+ "defaultValue": null,
1162
+ "description": ""
1163
+ },
1164
+ {
1165
+ "name": "trendDirection",
1166
+ "type": "\"up\" | \"down\" | \"neutral\"",
1167
+ "optional": true,
1168
+ "defaultValue": "\"neutral\"",
1169
+ "description": ""
1170
+ },
1171
+ {
1172
+ "name": "description",
1173
+ "type": "string",
1174
+ "optional": true,
1175
+ "defaultValue": null,
1176
+ "description": ""
1177
+ },
1178
+ {
1179
+ "name": "icon",
1180
+ "type": "React.ReactNode",
1181
+ "optional": true,
1182
+ "defaultValue": null,
1183
+ "description": ""
1184
+ }
1185
+ ],
1186
+ "cva": null,
1187
+ "usageSnippet": "<MetricCard\n title=\"Revenue\"\n value=\"$48,259.00\"\n trend=\"+8.2%\"\n trendDirection=\"up\"\n description=\"Total sales this quarter\"\n />"
1188
+ },
1189
+ {
1190
+ "name": "DataTable",
1191
+ "importPath": "import { DataTable } from \"@kjaniec-dev/ui\";",
1192
+ "description": "React component DataTable.",
1193
+ "props": [
1194
+ {
1195
+ "name": "columns",
1196
+ "type": "DataTableColumn<T>[]",
1197
+ "optional": false,
1198
+ "defaultValue": null,
1199
+ "description": ""
1200
+ },
1201
+ {
1202
+ "name": "data",
1203
+ "type": "T[]",
1204
+ "optional": false,
1205
+ "defaultValue": null,
1206
+ "description": ""
1207
+ },
1208
+ {
1209
+ "name": "loading",
1210
+ "type": "boolean",
1211
+ "optional": true,
1212
+ "defaultValue": "false",
1213
+ "description": ""
1214
+ },
1215
+ {
1216
+ "name": "error",
1217
+ "type": "string",
1218
+ "optional": true,
1219
+ "defaultValue": null,
1220
+ "description": ""
1221
+ },
1222
+ {
1223
+ "name": "emptyTitle",
1224
+ "type": "string",
1225
+ "optional": true,
1226
+ "defaultValue": "\"No data available\"",
1227
+ "description": ""
1228
+ },
1229
+ {
1230
+ "name": "emptyDescription",
1231
+ "type": "string",
1232
+ "optional": true,
1233
+ "defaultValue": "\"There are no records to display at this time.\"",
1234
+ "description": ""
1235
+ },
1236
+ {
1237
+ "name": "emptyAction",
1238
+ "type": "React.ReactNode",
1239
+ "optional": true,
1240
+ "defaultValue": null,
1241
+ "description": ""
1242
+ }
1243
+ ],
1244
+ "cva": null,
1245
+ "usageSnippet": "<DataTable columns={columns} data={sampleData} />"
1246
+ },
1247
+ {
1248
+ "name": "DataTableColumn",
1249
+ "importPath": "import { DataTableColumn } from \"@kjaniec-dev/ui\";",
1250
+ "description": "React component DataTableColumn.",
1251
+ "props": [
1252
+ {
1253
+ "name": "header",
1254
+ "type": "React.ReactNode",
1255
+ "optional": false,
1256
+ "defaultValue": null,
1257
+ "description": ""
1258
+ },
1259
+ {
1260
+ "name": "accessor",
1261
+ "type": "(row: T) => React.ReactNode",
1262
+ "optional": false,
1263
+ "defaultValue": null,
1264
+ "description": ""
1265
+ },
1266
+ {
1267
+ "name": "className",
1268
+ "type": "string",
1269
+ "optional": true,
1270
+ "defaultValue": null,
1271
+ "description": ""
1272
+ }
1273
+ ],
1274
+ "cva": null,
1275
+ "usageSnippet": "<DataTableColumn>\n <!-- Content -->\n</DataTableColumn>"
1100
1276
  }
1101
1277
  ]
package/data/tokens.json CHANGED
@@ -894,5 +894,26 @@
894
894
  "light": "0 0 0 1px rgb(245 158 11 / 0.16), 0 16px 48px rgb(245 158 11 / 0.18)",
895
895
  "dark": "0 0 0 1px rgb(245 158 11 / 0.16), 0 16px 48px rgb(245 158 11 / 0.18)",
896
896
  "tailwind": "shadow-kj-glow"
897
+ },
898
+ {
899
+ "name": "density.default",
900
+ "category": "density",
901
+ "light": "1.0",
902
+ "dark": "1.0",
903
+ "tailwind": ""
904
+ },
905
+ {
906
+ "name": "density.compact",
907
+ "category": "density",
908
+ "light": "0.82",
909
+ "dark": "0.82",
910
+ "tailwind": ""
911
+ },
912
+ {
913
+ "name": "density.comfortable",
914
+ "category": "density",
915
+ "light": "1.18",
916
+ "dark": "1.18",
917
+ "tailwind": ""
897
918
  }
898
919
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjaniec-dev/ui-mcp",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "MCP (Model Context Protocol) server for KJ Product Kit design system and UI components",
5
5
  "license": "MIT",
6
6
  "author": "kjaniec-dev",