@plexui/vue 0.42.1 → 0.42.3
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/es/components/Icon/index.js +1 -0
- package/dist/es/components/Icon/index.js.map +1 -1
- package/dist/es/components/Icon/svg/LayoutGrid.js +13 -0
- package/dist/es/components/Icon/svg/LayoutGrid.js.map +1 -0
- package/dist/es/components/Page/Page.js +1 -1
- package/dist/es/components/Page/Page.js.map +1 -1
- package/dist/es/components/Sidebar/Sidebar.js +32 -8
- package/dist/es/components/Sidebar/Sidebar.js.map +1 -1
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Icon/svg/LayoutGrid.d.ts +3 -0
- package/dist/types/components/Page/Page.d.ts +2 -2
- package/dist/types/components/Sidebar/Sidebar.d.ts +79 -9
- package/package.json +2 -2
|
@@ -21,6 +21,11 @@ declare const SidebarComponent: DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
21
21
|
type: PropType<SidebarVariant>;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
/** Rows as capsules: their ends move 16px in (a tree's every level by the same 4px). @default false */
|
|
25
|
+
pill: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
24
29
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
30
|
[key: string]: any;
|
|
26
31
|
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -34,8 +39,14 @@ declare const SidebarComponent: DefineComponent<import("vue").ExtractPropTypes<{
|
|
|
34
39
|
type: PropType<SidebarVariant>;
|
|
35
40
|
default: string;
|
|
36
41
|
};
|
|
42
|
+
/** Rows as capsules: their ends move 16px in (a tree's every level by the same 4px). @default false */
|
|
43
|
+
pill: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
37
47
|
}>> & Readonly<{}>, {
|
|
38
48
|
variant: SidebarVariant;
|
|
49
|
+
pill: boolean;
|
|
39
50
|
side: SidebarSide;
|
|
40
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
52
|
export type SidebarProps = InstanceType<typeof SidebarComponent>["$props"] & HTMLAttributes;
|
|
@@ -249,8 +260,50 @@ export declare const SidebarMenuButtonLabel: typeof SidebarMenuButtonLabelCompon
|
|
|
249
260
|
$props: SidebarMenuButtonLabelProps;
|
|
250
261
|
};
|
|
251
262
|
};
|
|
252
|
-
|
|
253
|
-
|
|
263
|
+
declare const SidebarMenuChevronComponent: DefineComponent<import("vue").ExtractPropTypes<{
|
|
264
|
+
/**
|
|
265
|
+
* Where the chevron stands. `end`: at the row's end, as a menu's group. `start`: first in the row, before its
|
|
266
|
+
* icon, in a 24px cell of its own (a 16px glyph in the secondary color), as a file or layer tree; right while the
|
|
267
|
+
* row is closed, down while it is open (`aria-expanded` on the row, or `data-expanded` on its item).
|
|
268
|
+
* @default "end"
|
|
269
|
+
*/
|
|
270
|
+
placement: {
|
|
271
|
+
type: PropType<"end" | "start">;
|
|
272
|
+
default: string;
|
|
273
|
+
};
|
|
274
|
+
/** An empty cell in the chevron's place, on a tree row with nothing under it, so that the icons and the text line up. @default false */
|
|
275
|
+
blank: {
|
|
276
|
+
type: BooleanConstructor;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
280
|
+
[key: string]: any;
|
|
281
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
282
|
+
/**
|
|
283
|
+
* Where the chevron stands. `end`: at the row's end, as a menu's group. `start`: first in the row, before its
|
|
284
|
+
* icon, in a 24px cell of its own (a 16px glyph in the secondary color), as a file or layer tree; right while the
|
|
285
|
+
* row is closed, down while it is open (`aria-expanded` on the row, or `data-expanded` on its item).
|
|
286
|
+
* @default "end"
|
|
287
|
+
*/
|
|
288
|
+
placement: {
|
|
289
|
+
type: PropType<"end" | "start">;
|
|
290
|
+
default: string;
|
|
291
|
+
};
|
|
292
|
+
/** An empty cell in the chevron's place, on a tree row with nothing under it, so that the icons and the text line up. @default false */
|
|
293
|
+
blank: {
|
|
294
|
+
type: BooleanConstructor;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
297
|
+
}>> & Readonly<{}>, {
|
|
298
|
+
placement: "end" | "start";
|
|
299
|
+
blank: boolean;
|
|
300
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
301
|
+
export type SidebarMenuChevronProps = InstanceType<typeof SidebarMenuChevronComponent>["$props"] & HTMLAttributes;
|
|
302
|
+
export declare const SidebarMenuChevron: typeof SidebarMenuChevronComponent & {
|
|
303
|
+
new (): {
|
|
304
|
+
$props: SidebarMenuChevronProps;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
254
307
|
export type SidebarMenuBadgeProps = HTMLAttributes;
|
|
255
308
|
export declare const SidebarMenuBadge: Part<HTMLAttributes>;
|
|
256
309
|
export type SidebarMenuActionProps = HTMLAttributes;
|
|
@@ -304,6 +357,15 @@ declare const SidebarMenuSubComponent: DefineComponent<import("vue").ExtractProp
|
|
|
304
357
|
type: BooleanConstructor;
|
|
305
358
|
default: boolean;
|
|
306
359
|
};
|
|
360
|
+
/**
|
|
361
|
+
* A tree (files, layers, screens): each `indent` level moves a row one whole 24px cell, the cell of a leading
|
|
362
|
+
* chevron or of an icon (12px, 36, 60…), in place of `hasIcons`'s steps.
|
|
363
|
+
* @default false
|
|
364
|
+
*/
|
|
365
|
+
tree: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
307
369
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
308
370
|
[key: string]: any;
|
|
309
371
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -321,8 +383,18 @@ declare const SidebarMenuSubComponent: DefineComponent<import("vue").ExtractProp
|
|
|
321
383
|
type: BooleanConstructor;
|
|
322
384
|
default: boolean;
|
|
323
385
|
};
|
|
386
|
+
/**
|
|
387
|
+
* A tree (files, layers, screens): each `indent` level moves a row one whole 24px cell, the cell of a leading
|
|
388
|
+
* chevron or of an icon (12px, 36, 60…), in place of `hasIcons`'s steps.
|
|
389
|
+
* @default false
|
|
390
|
+
*/
|
|
391
|
+
tree: {
|
|
392
|
+
type: BooleanConstructor;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
324
395
|
}>> & Readonly<{}>, {
|
|
325
396
|
open: boolean;
|
|
397
|
+
tree: boolean;
|
|
326
398
|
hasIcons: boolean;
|
|
327
399
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
328
400
|
export type SidebarMenuSubProps = InstanceType<typeof SidebarMenuSubComponent>["$props"] & HTMLAttributes;
|
|
@@ -345,12 +417,11 @@ declare const SidebarMenuSubButtonComponent: DefineComponent<import("vue").Extra
|
|
|
345
417
|
default: boolean;
|
|
346
418
|
};
|
|
347
419
|
/**
|
|
348
|
-
* Indent level for nested items
|
|
349
|
-
* Each level adds 12px of left margin.
|
|
420
|
+
* Indent level for nested items: 0-3 add 12px each; in a `tree` submenu any level adds a 24px cell.
|
|
350
421
|
* @default 0
|
|
351
422
|
*/
|
|
352
423
|
indent: {
|
|
353
|
-
type:
|
|
424
|
+
type: NumberConstructor;
|
|
354
425
|
default: number;
|
|
355
426
|
};
|
|
356
427
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -367,18 +438,17 @@ declare const SidebarMenuSubButtonComponent: DefineComponent<import("vue").Extra
|
|
|
367
438
|
default: boolean;
|
|
368
439
|
};
|
|
369
440
|
/**
|
|
370
|
-
* Indent level for nested items
|
|
371
|
-
* Each level adds 12px of left margin.
|
|
441
|
+
* Indent level for nested items: 0-3 add 12px each; in a `tree` submenu any level adds a 24px cell.
|
|
372
442
|
* @default 0
|
|
373
443
|
*/
|
|
374
444
|
indent: {
|
|
375
|
-
type:
|
|
445
|
+
type: NumberConstructor;
|
|
376
446
|
default: number;
|
|
377
447
|
};
|
|
378
448
|
}>> & Readonly<{}>, {
|
|
379
449
|
asChild: boolean;
|
|
380
450
|
isActive: boolean;
|
|
381
|
-
indent:
|
|
451
|
+
indent: number;
|
|
382
452
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
383
453
|
export type SidebarMenuSubButtonProps = InstanceType<typeof SidebarMenuSubButtonComponent>["$props"] & ButtonHTMLAttributes;
|
|
384
454
|
export declare const SidebarMenuSubButton: typeof SidebarMenuSubButtonComponent & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexui/vue",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.3",
|
|
4
4
|
"description": "Plex UI components for Vue 3, built on Reka UI and the shared @plexui/styles CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@maskito/core": "5.2.2",
|
|
78
78
|
"@maskito/kit": "5.2.2",
|
|
79
79
|
"@maskito/vue": "5.2.2",
|
|
80
|
-
"@plexui/styles": "^0.17.
|
|
80
|
+
"@plexui/styles": "^0.17.5",
|
|
81
81
|
"@tanstack/table-core": "8.21.3",
|
|
82
82
|
"@tanstack/vue-table": "8.21.3",
|
|
83
83
|
"@tiptap/core": "3.21.0",
|