@dronico/droni-kit 1.19.0 → 1.21.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/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { default as DuiButton } from './stories/Forms/DuiButton.vue';
2
+ import { default as DuiFile } from './stories/Forms/DuiFile.vue';
2
3
  import { default as DuiInput } from './stories/Forms/DuiInput.vue';
3
4
  import { default as DuiTextarea } from './stories/Forms/DuiTextarea.vue';
4
5
  import { default as DuiSelect } from './stories/Forms/DuiSelect.vue';
@@ -22,4 +23,4 @@ import { default as DuiSkeleton } from './stories/Elements/DuiSkeleton.vue';
22
23
  import { default as DuiTabs } from './stories/Elements/DuiTabs.vue';
23
24
  import { default as DuiToast } from './stories/Elements/DuiToast.vue';
24
25
  import { default as DuiNavbar } from './stories/Widgets/DuiNavbar.vue';
25
- export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiCard, DuiSelect, DuiLabel, DuiCheckbox, DuiRadio, DuiSwitch, DuiAlert, DuiTable, DuiModal, DuiTooltip, DuiAccordion, DuiBadge, DuiDropdown, DuiDropdownItem, DuiDropdownSeparator, DuiPagination, DuiSkeleton, DuiTabs, DuiToast, DuiNavbar };
26
+ export { DuiButton, DuiFile, DuiInput, DuiTextarea, DuiAction, DuiCard, DuiSelect, DuiLabel, DuiCheckbox, DuiRadio, DuiSwitch, DuiAlert, DuiTable, DuiModal, DuiTooltip, DuiAccordion, DuiBadge, DuiDropdown, DuiDropdownItem, DuiDropdownSeparator, DuiPagination, DuiSkeleton, DuiTabs, DuiToast, DuiNavbar };
@@ -28,8 +28,8 @@ declare const __VLS_component: import('vue').DefineComponent<DuiDropdownItemProp
28
28
  size: "sm" | "md" | "lg";
29
29
  disabled: boolean;
30
30
  label: string;
31
- icon: string;
32
31
  target: string;
32
+ icon: string;
33
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
35
  export default _default;
@@ -0,0 +1,125 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ accept: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ size: {
14
+ type: () => "sm" | "md" | "lg";
15
+ default: string;
16
+ };
17
+ block: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ rounded: {
22
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
23
+ default: string;
24
+ };
25
+ uploadBtn: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ browserBtn: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
34
+ "update:modelValue": (value: string) => any;
35
+ "open-browser": () => any;
36
+ "upload-file": (file: File) => any;
37
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
+ modelValue: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ accept: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ size: {
47
+ type: () => "sm" | "md" | "lg";
48
+ default: string;
49
+ };
50
+ block: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ rounded: {
55
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
56
+ default: string;
57
+ };
58
+ uploadBtn: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ browserBtn: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ }>> & Readonly<{
67
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
68
+ "onOpen-browser"?: (() => any) | undefined;
69
+ "onUpload-file"?: ((file: File) => any) | undefined;
70
+ }>, {
71
+ size: "sm" | "md" | "lg";
72
+ block: boolean;
73
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
74
+ modelValue: string;
75
+ accept: string;
76
+ uploadBtn: boolean;
77
+ browserBtn: boolean;
78
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
79
+ fileInputRef: HTMLInputElement;
80
+ }, any>;
81
+ tags: string[];
82
+ argTypes: {
83
+ modelValue: {
84
+ control: {
85
+ type: "text";
86
+ };
87
+ };
88
+ accept: {
89
+ control: {
90
+ type: "text";
91
+ };
92
+ };
93
+ size: {
94
+ control: {
95
+ type: "select";
96
+ };
97
+ options: string[];
98
+ };
99
+ block: {
100
+ control: {
101
+ type: "boolean";
102
+ };
103
+ };
104
+ rounded: {
105
+ control: {
106
+ type: "select";
107
+ };
108
+ options: string[];
109
+ };
110
+ uploadBtn: {
111
+ control: {
112
+ type: "boolean";
113
+ };
114
+ };
115
+ browserBtn: {
116
+ control: {
117
+ type: "boolean";
118
+ };
119
+ };
120
+ };
121
+ };
122
+ export default meta;
123
+ type Story = StoryObj<typeof meta>;
124
+ export declare const Default: Story;
125
+ export declare const Compact: Story;
@@ -0,0 +1,78 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ accept: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ size: {
11
+ type: () => "sm" | "md" | "lg";
12
+ default: string;
13
+ };
14
+ block: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ rounded: {
19
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
20
+ default: string;
21
+ };
22
+ uploadBtn: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ browserBtn: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
31
+ "update:modelValue": (value: string) => any;
32
+ "open-browser": () => any;
33
+ "upload-file": (file: File) => any;
34
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ modelValue: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ accept: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ size: {
44
+ type: () => "sm" | "md" | "lg";
45
+ default: string;
46
+ };
47
+ block: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ rounded: {
52
+ type: () => "all" | "top" | "bottom" | "left" | "right" | "none";
53
+ default: string;
54
+ };
55
+ uploadBtn: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ browserBtn: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & Readonly<{
64
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
65
+ "onOpen-browser"?: (() => any) | undefined;
66
+ "onUpload-file"?: ((file: File) => any) | undefined;
67
+ }>, {
68
+ size: "sm" | "md" | "lg";
69
+ block: boolean;
70
+ rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
71
+ modelValue: string;
72
+ accept: string;
73
+ uploadBtn: boolean;
74
+ browserBtn: boolean;
75
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
76
+ fileInputRef: HTMLInputElement;
77
+ }, any>;
78
+ export default _default;
@@ -76,10 +76,10 @@ declare const meta: {
76
76
  block: boolean;
77
77
  rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
78
78
  modelValue: string | number;
79
+ placeholder: string;
79
80
  options: Record<string, any>[];
80
81
  itemLabel: string;
81
82
  itemValue: string;
82
- placeholder: string;
83
83
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
84
84
  tags: string[];
85
85
  argTypes: {
@@ -73,9 +73,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
73
  block: boolean;
74
74
  rounded: "all" | "top" | "bottom" | "left" | "right" | "none";
75
75
  modelValue: string | number;
76
+ placeholder: string;
76
77
  options: Record<string, any>[];
77
78
  itemLabel: string;
78
79
  itemValue: string;
79
- placeholder: string;
80
80
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
81
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dronico/droni-kit",
3
3
  "author": "Gustavo Barragan <dev@droni.co>",
4
- "version": "1.19.0",
4
+ "version": "1.21.0",
5
5
  "private": false,
6
6
  "access": "public",
7
7
  "publishConfig": {