@codemonster-ru/vueforge 0.40.0 → 0.42.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.
@@ -0,0 +1,69 @@
1
+ interface Item {
2
+ to?: string;
3
+ href?: string;
4
+ url?: string;
5
+ icon?: string;
6
+ label?: string;
7
+ active?: boolean;
8
+ disabled?: boolean;
9
+ separator?: boolean;
10
+ command?: () => void;
11
+ }
12
+ interface Point {
13
+ x: number;
14
+ y: number;
15
+ }
16
+ interface Props {
17
+ modelValue?: boolean;
18
+ items?: Array<Item>;
19
+ disabled?: boolean;
20
+ closeOnSelect?: boolean;
21
+ closeOnEsc?: boolean;
22
+ offset?: number;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ default?(_: {}): any;
28
+ menu?(_: {}): any;
29
+ };
30
+ refs: {
31
+ root: HTMLDivElement;
32
+ panel: HTMLDivElement;
33
+ };
34
+ rootEl: any;
35
+ };
36
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
38
+ openAt: (point: Point) => Promise<void>;
39
+ close: () => void;
40
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ close: (...args: any[]) => void;
42
+ contextmenu: (...args: any[]) => void;
43
+ select: (...args: any[]) => void;
44
+ "update:modelValue": (...args: any[]) => void;
45
+ open: (...args: any[]) => void;
46
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
47
+ onClose?: ((...args: any[]) => any) | undefined;
48
+ onContextmenu?: ((...args: any[]) => any) | undefined;
49
+ onSelect?: ((...args: any[]) => any) | undefined;
50
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
+ onOpen?: ((...args: any[]) => any) | undefined;
52
+ }>, {
53
+ disabled: boolean;
54
+ items: Array<Item>;
55
+ modelValue: boolean;
56
+ closeOnEsc: boolean;
57
+ offset: number;
58
+ closeOnSelect: boolean;
59
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
60
+ root: HTMLDivElement;
61
+ panel: HTMLDivElement;
62
+ }, any>;
63
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
+ export default _default;
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -310,6 +310,30 @@ export type DropdownTokens = {
310
310
  disabledOpacity?: string;
311
311
  itemPadding?: string;
312
312
  };
313
+ export type SplitButtonTokens = {
314
+ borderRadius?: string;
315
+ toggleMinWidth?: string;
316
+ togglePaddingX?: string;
317
+ toggleIconSize?: string;
318
+ disabledOpacity?: string;
319
+ small?: {
320
+ toggleMinWidth?: string;
321
+ };
322
+ large?: {
323
+ toggleMinWidth?: string;
324
+ };
325
+ };
326
+ export type ContextMenuTokens = {
327
+ minWidth?: string;
328
+ panelPadding?: string;
329
+ panelBorderRadius?: string;
330
+ panelBorderColor?: string;
331
+ panelBackgroundColor?: string;
332
+ panelShadow?: string;
333
+ zIndex?: string;
334
+ disabledOpacity?: string;
335
+ itemPadding?: string;
336
+ };
313
337
  export type SelectTokens = {
314
338
  minWidth?: string;
315
339
  fontSize?: string;
@@ -1133,6 +1157,8 @@ export type ThemeComponentTokens = {
1133
1157
  drawer?: DrawerTokens;
1134
1158
  popover?: PopoverTokens;
1135
1159
  dropdown?: DropdownTokens;
1160
+ splitbutton?: SplitButtonTokens;
1161
+ contextMenu?: ContextMenuTokens;
1136
1162
  select?: SelectTokens;
1137
1163
  autocomplete?: AutocompleteTokens;
1138
1164
  multiselect?: MultiSelectTokens;
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ panelPadding: string;
4
+ panelBorderRadius: string;
5
+ panelBorderColor: string;
6
+ panelBackgroundColor: string;
7
+ panelShadow: string;
8
+ zIndex: string;
9
+ disabledOpacity: string;
10
+ itemPadding: string;
11
+ };
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ borderRadius: string;
3
+ toggleMinWidth: string;
4
+ togglePaddingX: string;
5
+ toggleIconSize: string;
6
+ disabledOpacity: string;
7
+ small: {
8
+ toggleMinWidth: string;
9
+ };
10
+ large: {
11
+ toggleMinWidth: string;
12
+ };
13
+ };
14
+ export default _default;
@@ -464,6 +464,30 @@ declare const _default: {
464
464
  disabledOpacity: string;
465
465
  itemPadding: string;
466
466
  };
467
+ splitbutton: {
468
+ borderRadius: string;
469
+ toggleMinWidth: string;
470
+ togglePaddingX: string;
471
+ toggleIconSize: string;
472
+ disabledOpacity: string;
473
+ small: {
474
+ toggleMinWidth: string;
475
+ };
476
+ large: {
477
+ toggleMinWidth: string;
478
+ };
479
+ };
480
+ contextMenu: {
481
+ minWidth: string;
482
+ panelPadding: string;
483
+ panelBorderRadius: string;
484
+ panelBorderColor: string;
485
+ panelBackgroundColor: string;
486
+ panelShadow: string;
487
+ zIndex: string;
488
+ disabledOpacity: string;
489
+ itemPadding: string;
490
+ };
467
491
  select: {
468
492
  minWidth: string;
469
493
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.40.0",
3
+ "version": "0.42.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",