@duro-app/cli 5.14.0 → 5.15.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.
- package/package.json +5 -5
- package/registry.json +33 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duro-app/cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Machine-queryable docs for the Duro design system: components, props, recipes, tokens and rules as CLI output, JSON, or an MCP server.",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@modelcontextprotocol/sdk": ">=1.0.0",
|
|
48
|
-
"@duro-app/ui": "^5.
|
|
48
|
+
"@duro-app/ui": "^5.15.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@duro-app/ui": {
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@types/node": "^24.0.0",
|
|
61
61
|
"ts-morph": "^26.0.0",
|
|
62
62
|
"typescript": "^5.7.0",
|
|
63
|
-
"@duro-app/eslint-plugin": "^5.
|
|
64
|
-
"@duro-app/tokens": "^5.
|
|
65
|
-
"@duro-app/ui": "^5.
|
|
63
|
+
"@duro-app/eslint-plugin": "^5.15.0",
|
|
64
|
+
"@duro-app/tokens": "^5.15.0",
|
|
65
|
+
"@duro-app/ui": "^5.15.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -5244,6 +5244,39 @@
|
|
|
5244
5244
|
],
|
|
5245
5245
|
"sourcePath": "packages/ui/src/components/Prose/Prose.tsx"
|
|
5246
5246
|
},
|
|
5247
|
+
"QrCode": {
|
|
5248
|
+
"importPath": "@duro-app/ui",
|
|
5249
|
+
"kind": "component",
|
|
5250
|
+
"meta": {
|
|
5251
|
+
"description": "A QR code for another device to scan: dark modules on a fixed light square, as wide as its container, announced by its label as one image. The same on web and native.",
|
|
5252
|
+
"example": "<Stack gap=\"sm\">\n <QrCode value=\"https://example.com/pair?key=abc\" label=\"Scan to sign in on this device\" />\n <Text>Scan with a signed-in phone</Text>\n</Stack>",
|
|
5253
|
+
"whenNotToUse": [
|
|
5254
|
+
"Decoration or branding: a QR code is a machine-readable payload, not an illustration",
|
|
5255
|
+
"The only way to reach something: also give the text or a link beside it"
|
|
5256
|
+
],
|
|
5257
|
+
"whenToUse": [
|
|
5258
|
+
"Pairing or sign-in by scanning from a second device",
|
|
5259
|
+
"Handing a URL or a short secret to a phone camera"
|
|
5260
|
+
]
|
|
5261
|
+
},
|
|
5262
|
+
"name": "QrCode",
|
|
5263
|
+
"native": true,
|
|
5264
|
+
"props": [
|
|
5265
|
+
{
|
|
5266
|
+
"description": "The text the code carries: a URL, a pairing link.",
|
|
5267
|
+
"name": "value",
|
|
5268
|
+
"required": true,
|
|
5269
|
+
"type": "string"
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"description": "What the code is for, read by assistive tech in place of the image.",
|
|
5273
|
+
"name": "label",
|
|
5274
|
+
"required": true,
|
|
5275
|
+
"type": "string"
|
|
5276
|
+
}
|
|
5277
|
+
],
|
|
5278
|
+
"sourcePath": "packages/ui/src/components/QrCode/QrCode.tsx"
|
|
5279
|
+
},
|
|
5247
5280
|
"RadioGroup": {
|
|
5248
5281
|
"importPath": "@duro-app/ui",
|
|
5249
5282
|
"kind": "compound",
|