@lando-labs/lando-ds-mcp 4.0.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.
Files changed (132) hide show
  1. package/CHANGELOG.md +526 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +4 -0
  4. package/README.md +170 -0
  5. package/build/data/ds-meta.json +1 -0
  6. package/build/data/ds-meta.schema.json +282 -0
  7. package/build/data/ds-meta.verbose.json +1 -0
  8. package/build/data/icon-metadata.d.ts +64 -0
  9. package/build/data/icon-metadata.d.ts.map +1 -0
  10. package/build/data/icon-metadata.js +1128 -0
  11. package/build/data/icon-metadata.js.map +1 -0
  12. package/build/data/lucide-icon-names.d.ts +12 -0
  13. package/build/data/lucide-icon-names.d.ts.map +1 -0
  14. package/build/data/lucide-icon-names.js +1653 -0
  15. package/build/data/lucide-icon-names.js.map +1 -0
  16. package/build/data/lucide-icons.d.ts +41 -0
  17. package/build/data/lucide-icons.d.ts.map +1 -0
  18. package/build/data/lucide-icons.js +80 -0
  19. package/build/data/lucide-icons.js.map +1 -0
  20. package/build/data/rn-tokens-snapshot.d.ts +753 -0
  21. package/build/data/rn-tokens-snapshot.d.ts.map +1 -0
  22. package/build/data/rn-tokens-snapshot.js +286 -0
  23. package/build/data/rn-tokens-snapshot.js.map +1 -0
  24. package/build/index.d.ts +18 -0
  25. package/build/index.d.ts.map +1 -0
  26. package/build/index.js +411 -0
  27. package/build/index.js.map +1 -0
  28. package/build/prompts/index.d.ts +16 -0
  29. package/build/prompts/index.d.ts.map +1 -0
  30. package/build/prompts/index.js +145 -0
  31. package/build/prompts/index.js.map +1 -0
  32. package/build/resources/code-examples.d.ts +6 -0
  33. package/build/resources/code-examples.d.ts.map +1 -0
  34. package/build/resources/code-examples.js +278 -0
  35. package/build/resources/code-examples.js.map +1 -0
  36. package/build/resources/design-tokens.d.ts +6 -0
  37. package/build/resources/design-tokens.d.ts.map +1 -0
  38. package/build/resources/design-tokens.js +128 -0
  39. package/build/resources/design-tokens.js.map +1 -0
  40. package/build/resources/index.d.ts +19 -0
  41. package/build/resources/index.d.ts.map +1 -0
  42. package/build/resources/index.js +80 -0
  43. package/build/resources/index.js.map +1 -0
  44. package/build/test.d.ts +12 -0
  45. package/build/test.d.ts.map +1 -0
  46. package/build/test.js +680 -0
  47. package/build/test.js.map +1 -0
  48. package/build/tools/compose-components.d.ts +40 -0
  49. package/build/tools/compose-components.d.ts.map +1 -0
  50. package/build/tools/compose-components.js +61 -0
  51. package/build/tools/compose-components.js.map +1 -0
  52. package/build/tools/get-animation-examples.d.ts +30 -0
  53. package/build/tools/get-animation-examples.d.ts.map +1 -0
  54. package/build/tools/get-animation-examples.js +484 -0
  55. package/build/tools/get-animation-examples.js.map +1 -0
  56. package/build/tools/get-component-capabilities.d.ts +43 -0
  57. package/build/tools/get-component-capabilities.d.ts.map +1 -0
  58. package/build/tools/get-component-capabilities.js +108 -0
  59. package/build/tools/get-component-capabilities.js.map +1 -0
  60. package/build/tools/get-component-props.d.ts +23 -0
  61. package/build/tools/get-component-props.d.ts.map +1 -0
  62. package/build/tools/get-component-props.js +46 -0
  63. package/build/tools/get-component-props.js.map +1 -0
  64. package/build/tools/get-component-reference.d.ts +25 -0
  65. package/build/tools/get-component-reference.d.ts.map +1 -0
  66. package/build/tools/get-component-reference.js +112 -0
  67. package/build/tools/get-component-reference.js.map +1 -0
  68. package/build/tools/get-component.d.ts +25 -0
  69. package/build/tools/get-component.d.ts.map +1 -0
  70. package/build/tools/get-component.js +60 -0
  71. package/build/tools/get-component.js.map +1 -0
  72. package/build/tools/get-composition-hints.d.ts +22 -0
  73. package/build/tools/get-composition-hints.d.ts.map +1 -0
  74. package/build/tools/get-composition-hints.js +39 -0
  75. package/build/tools/get-composition-hints.js.map +1 -0
  76. package/build/tools/get-design-tokens.d.ts +24 -0
  77. package/build/tools/get-design-tokens.d.ts.map +1 -0
  78. package/build/tools/get-design-tokens.js +96 -0
  79. package/build/tools/get-design-tokens.js.map +1 -0
  80. package/build/tools/get-ds-metadata.d.ts +16 -0
  81. package/build/tools/get-ds-metadata.d.ts.map +1 -0
  82. package/build/tools/get-ds-metadata.js +65 -0
  83. package/build/tools/get-ds-metadata.js.map +1 -0
  84. package/build/tools/get-hook.d.ts +19 -0
  85. package/build/tools/get-hook.d.ts.map +1 -0
  86. package/build/tools/get-hook.js +46 -0
  87. package/build/tools/get-hook.js.map +1 -0
  88. package/build/tools/get-theme-presets.d.ts +13 -0
  89. package/build/tools/get-theme-presets.d.ts.map +1 -0
  90. package/build/tools/get-theme-presets.js +41 -0
  91. package/build/tools/get-theme-presets.js.map +1 -0
  92. package/build/tools/list-components.d.ts +29 -0
  93. package/build/tools/list-components.d.ts.map +1 -0
  94. package/build/tools/list-components.js +88 -0
  95. package/build/tools/list-components.js.map +1 -0
  96. package/build/tools/list-hooks.d.ts +22 -0
  97. package/build/tools/list-hooks.d.ts.map +1 -0
  98. package/build/tools/list-hooks.js +80 -0
  99. package/build/tools/list-hooks.js.map +1 -0
  100. package/build/tools/list-icons.d.ts +28 -0
  101. package/build/tools/list-icons.d.ts.map +1 -0
  102. package/build/tools/list-icons.js +161 -0
  103. package/build/tools/list-icons.js.map +1 -0
  104. package/build/tools/platform-transform.d.ts +64 -0
  105. package/build/tools/platform-transform.d.ts.map +1 -0
  106. package/build/tools/platform-transform.js +117 -0
  107. package/build/tools/platform-transform.js.map +1 -0
  108. package/build/tools/platform.d.ts +76 -0
  109. package/build/tools/platform.d.ts.map +1 -0
  110. package/build/tools/platform.js +80 -0
  111. package/build/tools/platform.js.map +1 -0
  112. package/build/tools/search-icons.d.ts +28 -0
  113. package/build/tools/search-icons.d.ts.map +1 -0
  114. package/build/tools/search-icons.js +257 -0
  115. package/build/tools/search-icons.js.map +1 -0
  116. package/build/utils/error-envelope.d.ts +14 -0
  117. package/build/utils/error-envelope.d.ts.map +1 -0
  118. package/build/utils/error-envelope.js +35 -0
  119. package/build/utils/error-envelope.js.map +1 -0
  120. package/build/utils/icon-library.d.ts +17 -0
  121. package/build/utils/icon-library.d.ts.map +1 -0
  122. package/build/utils/icon-library.js +24 -0
  123. package/build/utils/icon-library.js.map +1 -0
  124. package/build/utils/jsx-safety.d.ts +47 -0
  125. package/build/utils/jsx-safety.d.ts.map +1 -0
  126. package/build/utils/jsx-safety.js +63 -0
  127. package/build/utils/jsx-safety.js.map +1 -0
  128. package/build/utils/meta-loader.d.ts +37 -0
  129. package/build/utils/meta-loader.d.ts.map +1 -0
  130. package/build/utils/meta-loader.js +114 -0
  131. package/build/utils/meta-loader.js.map +1 -0
  132. package/package.json +60 -0
@@ -0,0 +1,282 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "LandoDsMeta",
4
+ "description": "Lando Labs Design System self-describing meta — emitted to dist/meta.json and dist/meta.verbose.json on every build.",
5
+ "type": "object",
6
+ "required": [
7
+ "$schemaVersion",
8
+ "package",
9
+ "components",
10
+ "hooks",
11
+ "tokens",
12
+ "icons",
13
+ "exports",
14
+ "capabilities",
15
+ "themePresets"
16
+ ],
17
+ "additionalProperties": false,
18
+ "properties": {
19
+ "$schemaVersion": {
20
+ "type": "string",
21
+ "const": "1.3"
22
+ },
23
+ "package": {
24
+ "type": "object",
25
+ "required": ["name", "version", "homepage"],
26
+ "additionalProperties": false,
27
+ "properties": {
28
+ "name": { "type": "string", "minLength": 1 },
29
+ "version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+" },
30
+ "homepage": { "type": "string" }
31
+ }
32
+ },
33
+ "components": {
34
+ "type": "object",
35
+ "patternProperties": {
36
+ "^[A-Z][A-Za-z0-9]*$": {
37
+ "$ref": "#/definitions/ComponentMeta"
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ },
42
+ "hooks": {
43
+ "type": "object",
44
+ "patternProperties": {
45
+ "^use[A-Z][A-Za-z0-9]*$": {
46
+ "$ref": "#/definitions/HookMeta"
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ },
51
+ "tokens": {
52
+ "type": "object",
53
+ "required": ["colors", "spacing", "typography", "radius", "shadows", "motion"],
54
+ "additionalProperties": false,
55
+ "properties": {
56
+ "colors": {
57
+ "type": "object",
58
+ "required": ["semantic", "brand"],
59
+ "properties": {
60
+ "semantic": { "type": "object" },
61
+ "brand": { "type": "object" }
62
+ },
63
+ "additionalProperties": false
64
+ },
65
+ "spacing": { "type": "object" },
66
+ "typography": { "type": "object" },
67
+ "radius": { "type": "object" },
68
+ "shadows": { "type": "object" },
69
+ "motion": { "type": "object" },
70
+ "zIndex": { "type": "object" }
71
+ }
72
+ },
73
+ "icons": {
74
+ "type": "object",
75
+ "required": ["totalCount", "registry"],
76
+ "additionalProperties": false,
77
+ "properties": {
78
+ "totalCount": { "type": "integer", "minimum": 0 },
79
+ "registry": {
80
+ "type": "object",
81
+ "additionalProperties": {
82
+ "type": "object",
83
+ "required": ["name", "lucideName", "category"],
84
+ "additionalProperties": false,
85
+ "properties": {
86
+ "name": { "type": "string" },
87
+ "lucideName": { "type": "string" },
88
+ "category": { "type": "string" }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ },
94
+ "exports": {
95
+ "type": "object",
96
+ "required": ["main", "subpaths"],
97
+ "additionalProperties": false,
98
+ "properties": {
99
+ "main": { "type": "string" },
100
+ "subpaths": {
101
+ "type": "array",
102
+ "items": { "type": "string" }
103
+ }
104
+ }
105
+ },
106
+ "capabilities": {
107
+ "type": "object",
108
+ "required": ["rscSafe", "clientOnly", "polymorphic", "withRef"],
109
+ "additionalProperties": false,
110
+ "properties": {
111
+ "rscSafe": { "type": "array", "items": { "type": "string" } },
112
+ "clientOnly": { "type": "array", "items": { "type": "string" } },
113
+ "polymorphic": { "type": "array", "items": { "type": "string" } },
114
+ "withRef": { "type": "array", "items": { "type": "string" } }
115
+ }
116
+ },
117
+ "themePresets": {
118
+ "type": "object",
119
+ "required": ["default", "presets"],
120
+ "additionalProperties": false,
121
+ "properties": {
122
+ "default": { "type": "string", "minLength": 1 },
123
+ "presets": {
124
+ "type": "object",
125
+ "additionalProperties": { "$ref": "#/definitions/ThemePresetMeta" }
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "definitions": {
131
+ "HookMeta": {
132
+ "type": "object",
133
+ "required": ["kind", "category", "serverSafe", "useClient", "subpath", "description"],
134
+ "additionalProperties": false,
135
+ "properties": {
136
+ "kind": { "type": "string", "enum": ["hook"] },
137
+ "category": { "type": "string" },
138
+ "serverSafe": {
139
+ "type": "boolean",
140
+ "description": "Always false — a React hook requires client runtime state."
141
+ },
142
+ "useClient": {
143
+ "type": "boolean",
144
+ "description": "Whether the hook's module carries the 'use client' directive."
145
+ },
146
+ "subpath": { "type": "string" },
147
+ "description": { "type": "string" },
148
+ "signature": {
149
+ "type": "string",
150
+ "description": "Canonical TypeScript call signature, e.g. `useKeyPress(targetKeys: string | string[], callback: (key: string, event: KeyboardEvent) => void, isActive?: boolean): void`. Omitted only when the emitted declaration is unavailable."
151
+ },
152
+ "returns": { "type": ["string", "null"] }
153
+ }
154
+ },
155
+ "PropMeta": {
156
+ "type": "object",
157
+ "required": ["type", "required", "default"],
158
+ "additionalProperties": false,
159
+ "properties": {
160
+ "type": { "type": "string" },
161
+ "required": { "type": "boolean" },
162
+ "default": { "type": ["string", "null"] },
163
+ "description": { "type": "string" }
164
+ }
165
+ },
166
+ "DeprecationMeta": {
167
+ "oneOf": [
168
+ { "type": "null" },
169
+ {
170
+ "type": "object",
171
+ "required": ["since", "replacedBy", "removeAt"],
172
+ "additionalProperties": false,
173
+ "properties": {
174
+ "since": { "type": "string" },
175
+ "replacedBy": { "type": "string" },
176
+ "removeAt": { "type": "string" }
177
+ }
178
+ }
179
+ ]
180
+ },
181
+ "ComposesMeta": {
182
+ "type": "object",
183
+ "required": ["accepts", "as"],
184
+ "additionalProperties": false,
185
+ "properties": {
186
+ "accepts": { "type": "string" },
187
+ "as": { "type": "string" }
188
+ }
189
+ },
190
+ "ThemePresetMeta": {
191
+ "type": "object",
192
+ "required": ["id", "isDefault"],
193
+ "additionalProperties": false,
194
+ "properties": {
195
+ "id": { "type": "string", "minLength": 1 },
196
+ "isDefault": { "type": "boolean" },
197
+ "description": { "type": "string" },
198
+ "tokenOverrides": { "type": "object" }
199
+ }
200
+ },
201
+ "ComponentMeta": {
202
+ "type": "object",
203
+ "required": [
204
+ "kind",
205
+ "category",
206
+ "platforms",
207
+ "serverSafe",
208
+ "useClient",
209
+ "polymorphic",
210
+ "ref",
211
+ "subpath",
212
+ "props",
213
+ "extends",
214
+ "deprecated"
215
+ ],
216
+ "additionalProperties": false,
217
+ "properties": {
218
+ "kind": { "type": "string", "enum": ["component"] },
219
+ "category": { "type": "string" },
220
+ "platforms": {
221
+ "type": "array",
222
+ "items": { "type": "string", "enum": ["web", "rn"] }
223
+ },
224
+ "serverSafe": { "type": "boolean" },
225
+ "useClient": { "type": "boolean" },
226
+ "polymorphic": { "type": "boolean" },
227
+ "ref": { "type": ["string", "null"] },
228
+ "subpath": { "type": "string" },
229
+ "props": {
230
+ "type": "object",
231
+ "additionalProperties": { "$ref": "#/definitions/PropMeta" }
232
+ },
233
+ "extends": {
234
+ "oneOf": [
235
+ { "type": "null" },
236
+ {
237
+ "type": "array",
238
+ "items": { "type": "string" },
239
+ "uniqueItems": true,
240
+ "minItems": 1
241
+ }
242
+ ]
243
+ },
244
+ "deprecated": { "$ref": "#/definitions/DeprecationMeta" },
245
+ "description": { "type": "string" },
246
+ "examples": {
247
+ "type": "array",
248
+ "items": {
249
+ "type": "object",
250
+ "required": ["name", "code"],
251
+ "additionalProperties": false,
252
+ "properties": {
253
+ "name": { "type": "string" },
254
+ "code": { "type": "string" }
255
+ }
256
+ }
257
+ },
258
+ "composes": {
259
+ "oneOf": [
260
+ { "type": "null" },
261
+ {
262
+ "type": "object",
263
+ "additionalProperties": { "$ref": "#/definitions/ComposesMeta" }
264
+ }
265
+ ]
266
+ },
267
+ "appliesClassNames": {
268
+ "oneOf": [
269
+ { "type": "null" },
270
+ {
271
+ "type": "object",
272
+ "additionalProperties": {
273
+ "type": "object",
274
+ "additionalProperties": { "type": "string" }
275
+ }
276
+ }
277
+ ]
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }