@kznlabs/labsui 0.1.3 → 0.1.4
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/dist/index.js +29 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17284,7 +17284,7 @@ async function fetchAllItems(source) {
|
|
|
17284
17284
|
// jsr.json
|
|
17285
17285
|
var jsr_default = {
|
|
17286
17286
|
name: "@kznlabs/labsui",
|
|
17287
|
-
version: "0.1.
|
|
17287
|
+
version: "0.1.4",
|
|
17288
17288
|
license: "MIT",
|
|
17289
17289
|
exports: "./src/index.ts",
|
|
17290
17290
|
publish: {
|
|
@@ -18176,7 +18176,18 @@ var names = {
|
|
|
18176
18176
|
type: "array",
|
|
18177
18177
|
items: { type: "string", pattern: "^[a-z0-9][a-z0-9-]*$" },
|
|
18178
18178
|
minItems: 1,
|
|
18179
|
-
maxItems: 20
|
|
18179
|
+
maxItems: 20,
|
|
18180
|
+
description: "Item names as search lists them, e.g. button or date-picker."
|
|
18181
|
+
};
|
|
18182
|
+
var installed = {
|
|
18183
|
+
...names,
|
|
18184
|
+
minItems: 0,
|
|
18185
|
+
description: "Installed item names, e.g. button. Empty: every installed item."
|
|
18186
|
+
};
|
|
18187
|
+
var dryRun = {
|
|
18188
|
+
type: "boolean",
|
|
18189
|
+
default: false,
|
|
18190
|
+
description: "Report what would change, write nothing."
|
|
18180
18191
|
};
|
|
18181
18192
|
var TOOLS = [
|
|
18182
18193
|
{
|
|
@@ -18187,8 +18198,18 @@ var TOOLS = [
|
|
|
18187
18198
|
type: "object",
|
|
18188
18199
|
properties: {
|
|
18189
18200
|
query: { type: "string", description: "Words to match. Empty lists everything." },
|
|
18190
|
-
kind: {
|
|
18191
|
-
|
|
18201
|
+
kind: {
|
|
18202
|
+
type: "string",
|
|
18203
|
+
enum: ["component", "block", "hook", "helper", "setup"],
|
|
18204
|
+
description: "Only items of this kind."
|
|
18205
|
+
},
|
|
18206
|
+
limit: {
|
|
18207
|
+
type: "integer",
|
|
18208
|
+
minimum: 1,
|
|
18209
|
+
maximum: 200,
|
|
18210
|
+
default: 12,
|
|
18211
|
+
description: "Most results to return."
|
|
18212
|
+
}
|
|
18192
18213
|
}
|
|
18193
18214
|
},
|
|
18194
18215
|
annotations: { readOnlyHint: true, openWorldHint: false }
|
|
@@ -18213,10 +18234,7 @@ var TOOLS = [
|
|
|
18213
18234
|
description: "Copy items and everything they import into the project and install their npm packages. Keeps files that already exist. Reports what to mount in the root layout.",
|
|
18214
18235
|
inputSchema: {
|
|
18215
18236
|
type: "object",
|
|
18216
|
-
properties: {
|
|
18217
|
-
names,
|
|
18218
|
-
dryRun: { type: "boolean", default: false, description: "Report, write nothing." }
|
|
18219
|
-
},
|
|
18237
|
+
properties: { names, dryRun },
|
|
18220
18238
|
required: ["names"]
|
|
18221
18239
|
},
|
|
18222
18240
|
annotations: {
|
|
@@ -18232,7 +18250,7 @@ var TOOLS = [
|
|
|
18232
18250
|
description: "One-time setup: styles, theme, utils and motion provider; imports labsui.css into the Tailwind stylesheet and writes labsui.json. Returns the root layout code to add.",
|
|
18233
18251
|
inputSchema: {
|
|
18234
18252
|
type: "object",
|
|
18235
|
-
properties: { dryRun
|
|
18253
|
+
properties: { dryRun }
|
|
18236
18254
|
},
|
|
18237
18255
|
annotations: {
|
|
18238
18256
|
readOnlyHint: false,
|
|
@@ -18247,7 +18265,7 @@ var TOOLS = [
|
|
|
18247
18265
|
description: "How installed items differ from this labsui version, as unified patches from the registry file to the project's. No names: every item that differs.",
|
|
18248
18266
|
inputSchema: {
|
|
18249
18267
|
type: "object",
|
|
18250
|
-
properties: { names:
|
|
18268
|
+
properties: { names: installed }
|
|
18251
18269
|
},
|
|
18252
18270
|
annotations: { readOnlyHint: true, openWorldHint: false }
|
|
18253
18271
|
},
|
|
@@ -18257,10 +18275,7 @@ var TOOLS = [
|
|
|
18257
18275
|
description: "Bring installed items to this labsui version. Unedited files are replaced; edited ones are merged three ways from the version that installed them, with conflict markers where both sides changed the same lines. No names: everything installed.",
|
|
18258
18276
|
inputSchema: {
|
|
18259
18277
|
type: "object",
|
|
18260
|
-
properties: {
|
|
18261
|
-
names: { ...names, minItems: 0 },
|
|
18262
|
-
dryRun: { type: "boolean", default: false, description: "Report, write nothing." }
|
|
18263
|
-
}
|
|
18278
|
+
properties: { names: installed, dryRun }
|
|
18264
18279
|
},
|
|
18265
18280
|
annotations: {
|
|
18266
18281
|
readOnlyHint: false,
|
package/package.json
CHANGED