@dronico/droni-kit 1.10.0 → 1.11.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
@@ -5,5 +5,6 @@ import { default as DuiSelect } from './stories/Forms/DuiSelect.vue';
5
5
  import { default as DuiAlert } from './stories/Elements/DuiAlert.vue';
6
6
  import { default as DuiTable } from './stories/Elements/DuiTable.vue';
7
7
  import { default as DuiAction } from './stories/Elements/DuiAction.vue';
8
+ import { default as DuiCard } from './stories/Elements/DuiCard.vue';
8
9
  import { default as DuiNavbar } from './stories/Widgets/DuiNavbar.vue';
9
- export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiSelect, DuiAlert, DuiTable, DuiNavbar };
10
+ export { DuiButton, DuiInput, DuiTextarea, DuiAction, DuiCard, DuiSelect, DuiAlert, DuiTable, DuiNavbar };
@@ -0,0 +1,92 @@
1
+ import { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: {
5
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DuiCard.vue').DuiCardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
6
+ size: "s" | "m" | "l";
7
+ title: string;
8
+ to: string | object;
9
+ image: string;
10
+ subtitle: string;
11
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
12
+ P: {};
13
+ B: {};
14
+ D: {};
15
+ C: {};
16
+ M: {};
17
+ Defaults: {};
18
+ }, Readonly<import('./DuiCard.vue').DuiCardProps> & Readonly<{}>, {}, {}, {}, {}, {
19
+ size: "s" | "m" | "l";
20
+ title: string;
21
+ to: string | object;
22
+ image: string;
23
+ subtitle: string;
24
+ }>;
25
+ __isFragment?: never;
26
+ __isTeleport?: never;
27
+ __isSuspense?: never;
28
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DuiCard.vue').DuiCardProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
29
+ size: "s" | "m" | "l";
30
+ title: string;
31
+ to: string | object;
32
+ image: string;
33
+ subtitle: string;
34
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
35
+ $slots: {
36
+ default?(_: {}): any;
37
+ footer?(_: {}): any;
38
+ };
39
+ });
40
+ tags: string[];
41
+ argTypes: {
42
+ size: {
43
+ control: {
44
+ type: "select";
45
+ };
46
+ options: string[];
47
+ description: string;
48
+ };
49
+ image: {
50
+ control: {
51
+ type: "text";
52
+ };
53
+ description: string;
54
+ };
55
+ title: {
56
+ control: {
57
+ type: "text";
58
+ };
59
+ description: string;
60
+ };
61
+ subtitle: {
62
+ control: {
63
+ type: "text";
64
+ };
65
+ description: string;
66
+ };
67
+ to: {
68
+ control: {
69
+ type: "text";
70
+ };
71
+ description: string;
72
+ };
73
+ };
74
+ parameters: {
75
+ docs: {
76
+ description: {
77
+ component: string;
78
+ };
79
+ };
80
+ };
81
+ };
82
+ export default meta;
83
+ type Story = StoryObj<typeof meta>;
84
+ export declare const Default: Story;
85
+ export declare const SmallSize: Story;
86
+ export declare const LargeSize: Story;
87
+ export declare const WithoutImage: Story;
88
+ export declare const MinimalCard: Story;
89
+ export declare const TitleOnly: Story;
90
+ export declare const DarkMode: Story;
91
+ export declare const CardGrid: Story;
92
+ export declare const ClickableCards: Story;
@@ -0,0 +1,31 @@
1
+ export interface DuiCardProps {
2
+ size?: 's' | 'm' | 'l';
3
+ image?: string;
4
+ title?: string;
5
+ subtitle?: string;
6
+ to?: string | object;
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ footer?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLDivElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<DuiCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DuiCardProps> & Readonly<{}>, {
19
+ size: "s" | "m" | "l";
20
+ title: string;
21
+ to: string | object;
22
+ image: string;
23
+ subtitle: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
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.10.0",
4
+ "version": "1.11.0",
5
5
  "private": false,
6
6
  "access": "public",
7
7
  "publishConfig": {