@mobileaction/action-kit 1.41.3 → 1.41.6

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/action-kit.mjs +4778 -4672
  3. package/dist/apple-ZGKRhm4e.js +20 -0
  4. package/dist/{apple-LpH5iom0.js → apple-bold-D6SXHcrf.js} +8 -8
  5. package/dist/chart-BXk3T-FN.js +31 -0
  6. package/dist/chart-bold-DFRK3e8Y.js +31 -0
  7. package/dist/logout-bold-5Yv1P_3D.js +23 -0
  8. package/dist/logout-pAJxytET.js +27 -0
  9. package/dist/src/components/date-picker-2/index.vue.d.ts +1 -1
  10. package/dist/src/components/popover-2/index.vue.d.ts +4 -0
  11. package/dist/src/components/popover-2/stories/constants.d.ts +6 -0
  12. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +1 -1
  13. package/dist/src/components/side-menu-2/menu-button/index.vue.d.ts +24 -0
  14. package/dist/src/components/side-menu-2/menu-button/stories/constants.d.ts +4 -0
  15. package/dist/src/components/side-menu-2/menu-button/stories/default.stories.d.ts +9 -0
  16. package/dist/src/components/side-menu-2/menu-button/types.d.ts +2 -0
  17. package/dist/src/components/side-menu-2/menu-item/index.vue.d.ts +17 -0
  18. package/dist/src/components/side-menu-2/menu-item/stories/constants.d.ts +4 -0
  19. package/dist/src/components/side-menu-2/menu-item/stories/default.stories.d.ts +10 -0
  20. package/dist/src/components/side-menu-2/side-menu-2.test.d.ts +1 -0
  21. package/dist/src/index.d.ts +3 -0
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
  24. package/dist/chart-COqA8ajD.js +0 -44
  25. package/dist/chart-bold-ByQxVqmG.js +0 -31
  26. package/dist/logout-CAdXv95g.js +0 -39
  27. package/dist/logout-bold-DF5Nim1a.js +0 -23
  28. package/dist/trend-up-CZVY6-2U.js +0 -26
  29. /package/dist/{trend-up-linear-fVBmX1Lo.js → trend-up-fVBmX1Lo.js} +0 -0
@@ -0,0 +1,20 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const r = {
3
+ viewBox: "0 0 20 22",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function n(l, C) {
8
+ return e(), t("svg", r, C[0] || (C[0] = [
9
+ o("path", {
10
+ d: "M17.3689 15.8827C17.0916 16.5499 16.7634 17.1641 16.3832 17.7287C15.8649 18.4985 15.4405 19.0313 15.1135 19.3272C14.6065 19.8129 14.0633 20.0616 13.4816 20.0757C13.0641 20.0757 12.5605 19.952 11.9743 19.7009C11.3862 19.451 10.8457 19.3272 10.3515 19.3272C9.83319 19.3272 9.27733 19.451 8.68276 19.7009C8.08728 19.952 7.60757 20.0828 7.24081 20.0958C6.68302 20.1205 6.12704 19.8647 5.57207 19.3272C5.21787 19.0054 4.77483 18.4537 4.24408 17.6721C3.67464 16.8375 3.20647 15.8698 2.8397 14.7664C2.44691 13.5746 2.25 12.4206 2.25 11.3033C2.25 10.0235 2.51549 8.91963 3.04725 7.99463C3.46517 7.25162 4.02115 6.66552 4.717 6.23526C5.41285 5.80499 6.16472 5.58574 6.97442 5.57171C7.41746 5.57171 7.99845 5.71446 8.72044 5.99502C9.4404 6.27652 9.90268 6.41927 10.1054 6.41927C10.2569 6.41927 10.7704 6.25235 11.641 5.91957C12.4643 5.61096 13.1591 5.48318 13.7283 5.53352C15.2708 5.66318 16.4296 6.29656 17.2002 7.43764C15.8208 8.30831 15.1384 9.52778 15.152 11.0922C15.1644 12.3107 15.5888 13.3247 16.4228 14.1298C16.8008 14.5035 17.2229 14.7923 17.6925 14.9974C17.5907 15.3051 17.4832 15.5998 17.3689 15.8827V15.8827ZM13.8313 1.38224C13.8313 2.33732 13.4963 3.22907 12.8287 4.05447C12.0229 5.03571 11.0484 5.60271 9.99151 5.51324C9.97804 5.39866 9.97024 5.27807 9.97024 5.15135C9.97024 4.23447 10.3534 3.25324 11.0339 2.45094C11.3736 2.04472 11.8057 1.70696 12.3296 1.43752C12.8524 1.1721 13.347 1.02532 13.8121 1.00018C13.8257 1.12786 13.8313 1.25555 13.8313 1.38222V1.38224Z",
11
+ stroke: "currentColor",
12
+ "stroke-width": "1.5"
13
+ }, null, -1)
14
+ ]));
15
+ }
16
+ const c = { render: n };
17
+ export {
18
+ c as default,
19
+ n as render
20
+ };
@@ -1,19 +1,19 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
+ const l = {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg"
6
6
  };
7
- function r(l, C) {
8
- return e(), t("svg", n, C[0] || (C[0] = [
9
- o("path", {
7
+ function n(r, C) {
8
+ return e(), o("svg", l, C[0] || (C[0] = [
9
+ t("path", {
10
10
  d: "M20.8426 17.1449C20.5099 17.9135 20.1161 18.6211 19.6598 19.2715C19.0378 20.1583 18.5286 20.7721 18.1361 21.113C17.5277 21.6724 16.8759 21.959 16.1779 21.9753C15.6768 21.9753 15.0725 21.8327 14.3691 21.5434C13.6633 21.2555 13.0148 21.113 12.4217 21.113C11.7998 21.113 11.1327 21.2555 10.4193 21.5434C9.70469 21.8327 9.12904 21.9834 8.68892 21.9984C8.01957 22.0269 7.35239 21.7322 6.68644 21.113C6.26139 20.7422 5.72974 20.1067 5.09285 19.2063C4.40951 18.2449 3.84772 17.13 3.4076 15.8589C2.93624 14.486 2.69995 13.1565 2.69995 11.8694C2.69995 10.3951 3.01853 9.12345 3.65665 8.05784C4.15815 7.20191 4.82533 6.52672 5.66035 6.03105C6.49537 5.53539 7.39762 5.2828 8.36925 5.26664C8.9009 5.26664 9.59809 5.43109 10.4645 5.75429C11.3284 6.07858 11.8832 6.24303 12.1264 6.24303C12.3082 6.24303 12.9245 6.05074 13.9692 5.66738C14.9571 5.31186 15.7909 5.16466 16.474 5.22264C18.3249 5.37202 19.7155 6.10167 20.6402 7.41619C18.9849 8.4192 18.166 9.82403 18.1823 11.6262C18.1972 13.03 18.7065 14.1981 19.7073 15.1256C20.1609 15.5561 20.6674 15.8888 21.231 16.1251C21.1087 16.4795 20.9797 16.819 20.8426 17.1449V17.1449ZM16.5975 0.440369C16.5975 1.54062 16.1956 2.56792 15.3944 3.51878C14.4275 4.64917 13.258 5.30236 11.9898 5.19929C11.9736 5.06729 11.9642 4.92837 11.9642 4.78239C11.9642 3.72615 12.424 2.59576 13.2406 1.67152C13.6483 1.20356 14.1667 0.814453 14.7955 0.504058C15.4229 0.198295 16.0163 0.0292007 16.5744 0.000244141C16.5907 0.147331 16.5975 0.294426 16.5975 0.440355V0.440369Z",
11
11
  fill: "currentColor"
12
12
  }, null, -1)
13
13
  ]));
14
14
  }
15
- const p = { render: r };
15
+ const d = { render: n };
16
16
  export {
17
- p as default,
18
- r as render
17
+ d as default,
18
+ n as render
19
19
  };
@@ -0,0 +1,31 @@
1
+ import { openBlock as r, createElementBlock as t, createElementVNode as C } from "vue";
2
+ const e = {
3
+ viewBox: "0 0 20 20",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function o(n, l) {
8
+ return r(), t("svg", e, l[0] || (l[0] = [
9
+ C("path", {
10
+ d: "M17.5 18.9583H2.5C2.15833 18.9583 1.875 18.675 1.875 18.3333C1.875 17.9916 2.15833 17.7083 2.5 17.7083H17.5C17.8417 17.7083 18.125 17.9916 18.125 18.3333C18.125 18.675 17.8417 18.9583 17.5 18.9583Z",
11
+ fill: "currentColor"
12
+ }, null, -1),
13
+ C("path", {
14
+ d: "M4.66665 16.4583H3.33333C2.53333 16.4583 1.875 15.8 1.875 15V7.81667C1.875 7.01667 2.53333 6.35834 3.33333 6.35834H4.66665C5.46665 6.35834 6.12498 7.01667 6.12498 7.81667V15C6.12498 15.8 5.46665 16.4583 4.66665 16.4583ZM3.33333 7.6C3.21667 7.6 3.125 7.69166 3.125 7.80833V15C3.125 15.1167 3.21667 15.2083 3.33333 15.2083H4.66665C4.78331 15.2083 4.87498 15.1167 4.87498 15V7.81667C4.87498 7.7 4.78331 7.60834 4.66665 7.60834H3.33333V7.6Z",
15
+ fill: "currentColor"
16
+ }, null, -1),
17
+ C("path", {
18
+ d: "M10.6666 16.4583H9.33333C8.53333 16.4583 7.875 15.8 7.875 15V5.15835C7.875 4.35835 8.53333 3.70001 9.33333 3.70001H10.6666C11.4666 3.70001 12.125 4.35835 12.125 5.15835V15C12.125 15.8 11.4666 16.4583 10.6666 16.4583ZM9.33333 4.95001C9.21667 4.95001 9.125 5.04168 9.125 5.15835V15C9.125 15.1167 9.21667 15.2083 9.33333 15.2083H10.6666C10.7833 15.2083 10.875 15.1167 10.875 15V5.15835C10.875 5.04168 10.7833 4.95001 10.6666 4.95001H9.33333Z",
19
+ fill: "currentColor"
20
+ }, null, -1),
21
+ C("path", {
22
+ d: "M16.6666 16.4584H15.3333C14.5333 16.4584 13.875 15.8 13.875 15V2.50002C13.875 1.70002 14.5333 1.04169 15.3333 1.04169H16.6666C17.4666 1.04169 18.125 1.70002 18.125 2.50002V15C18.125 15.8 17.4666 16.4584 16.6666 16.4584ZM15.3333 2.29169C15.2167 2.29169 15.125 2.38335 15.125 2.50002V15C15.125 15.1167 15.2167 15.2084 15.3333 15.2084H16.6666C16.7833 15.2084 16.875 15.1167 16.875 15V2.50002C16.875 2.38335 16.7833 2.29169 16.6666 2.29169H15.3333Z",
23
+ fill: "currentColor"
24
+ }, null, -1)
25
+ ]));
26
+ }
27
+ const V = { render: o };
28
+ export {
29
+ V as default,
30
+ o as render
31
+ };
@@ -0,0 +1,31 @@
1
+ import { openBlock as t, createElementBlock as e, createElementVNode as l } from "vue";
2
+ const o = {
3
+ viewBox: "0 0 20 20",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function n(C, r) {
8
+ return t(), e("svg", o, r[0] || (r[0] = [
9
+ l("path", {
10
+ d: "M17.5 18.9583H2.5C2.15833 18.9583 1.875 18.675 1.875 18.3333C1.875 17.9916 2.15833 17.7083 2.5 17.7083H17.5C17.8417 17.7083 18.125 17.9916 18.125 18.3333C18.125 18.675 17.8417 18.9583 17.5 18.9583Z",
11
+ fill: "currentColor"
12
+ }, null, -1),
13
+ l("path", {
14
+ d: "M4.66667 6.98334H3.33333C2.875 6.98334 2.5 7.35834 2.5 7.81667V15C2.5 15.4583 2.875 15.8333 3.33333 15.8333H4.66667C5.125 15.8333 5.5 15.4583 5.5 15V7.81667C5.5 7.35 5.125 6.98334 4.66667 6.98334Z",
15
+ fill: "currentColor"
16
+ }, null, -1),
17
+ l("path", {
18
+ d: "M10.6667 4.32501H9.33333C8.875 4.32501 8.5 4.70001 8.5 5.15835V15C8.5 15.4583 8.875 15.8333 9.33333 15.8333H10.6667C11.125 15.8333 11.5 15.4583 11.5 15V5.15835C11.5 4.70001 11.125 4.32501 10.6667 4.32501Z",
19
+ fill: "currentColor"
20
+ }, null, -1),
21
+ l("path", {
22
+ d: "M16.6667 1.66669H15.3333C14.875 1.66669 14.5 2.04169 14.5 2.50002V15C14.5 15.4584 14.875 15.8334 15.3333 15.8334H16.6667C17.125 15.8334 17.5 15.4584 17.5 15V2.50002C17.5 2.04169 17.125 1.66669 16.6667 1.66669Z",
23
+ fill: "currentColor"
24
+ }, null, -1)
25
+ ]));
26
+ }
27
+ const u = { render: n };
28
+ export {
29
+ u as default,
30
+ n as render
31
+ };
@@ -0,0 +1,23 @@
1
+ import { openBlock as l, createElementBlock as t, createElementVNode as o } from "vue";
2
+ const r = {
3
+ viewBox: "0 0 20 20",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function n(C, e) {
8
+ return l(), t("svg", r, e[0] || (e[0] = [
9
+ o("path", {
10
+ d: "M14 1.66663H11.8333C9.16667 1.66663 7.5 3.33329 7.5 5.99996V9.37496H12.7083C13.05 9.37496 13.3333 9.65829 13.3333 9.99996C13.3333 10.3416 13.05 10.625 12.7083 10.625H7.5V14C7.5 16.6666 9.16667 18.3333 11.8333 18.3333H13.9917C16.6583 18.3333 18.325 16.6666 18.325 14V5.99996C18.3333 3.33329 16.6667 1.66663 14 1.66663Z",
11
+ fill: "currentColor"
12
+ }, null, -1),
13
+ o("path", {
14
+ d: "M3.79922 9.37503L5.52422 7.65003C5.64922 7.52503 5.70755 7.3667 5.70755 7.20837C5.70755 7.05003 5.64922 6.88337 5.52422 6.7667C5.28255 6.52503 4.88255 6.52503 4.64089 6.7667L1.84922 9.55837C1.60755 9.80003 1.60755 10.2 1.84922 10.4417L4.64089 13.2334C4.88255 13.475 5.28255 13.475 5.52422 13.2334C5.76589 12.9917 5.76589 12.5917 5.52422 12.35L3.79922 10.625H7.49922V9.37503H3.79922Z",
15
+ fill: "currentColor"
16
+ }, null, -1)
17
+ ]));
18
+ }
19
+ const d = { render: n };
20
+ export {
21
+ d as default,
22
+ n as render
23
+ };
@@ -0,0 +1,27 @@
1
+ import { openBlock as e, createElementBlock as o, createElementVNode as C } from "vue";
2
+ const t = {
3
+ viewBox: "0 0 20 20",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function r(n, l) {
8
+ return e(), o("svg", t, l[0] || (l[0] = [
9
+ C("path", {
10
+ d: "M12.6991 18.5583H12.5908C8.89078 18.5583 7.10745 17.1 6.79912 13.8333C6.76578 13.4917 7.01578 13.1833 7.36578 13.15C7.69912 13.1166 8.01578 13.375 8.04912 13.7167C8.29078 16.3333 9.52412 17.3083 12.5991 17.3083H12.7075C16.0991 17.3083 17.2991 16.1083 17.2991 12.7167V7.28332C17.2991 3.89165 16.0991 2.69165 12.7075 2.69165H12.5991C9.50745 2.69165 8.27412 3.68332 8.04912 6.34998C8.00745 6.69165 7.71578 6.94998 7.36578 6.91665C7.01578 6.89165 6.76578 6.58332 6.79078 6.24165C7.07412 2.92498 8.86578 1.44165 12.5908 1.44165H12.6991C16.7908 1.44165 18.5408 3.19165 18.5408 7.28332V12.7167C18.5408 16.8083 16.7908 18.5583 12.6991 18.5583Z",
11
+ fill: "currentColor"
12
+ }, null, -1),
13
+ C("path", {
14
+ d: "M12.499 10.625H3.01562C2.67396 10.625 2.39062 10.3417 2.39062 10C2.39062 9.65833 2.67396 9.375 3.01562 9.375H12.499C12.8406 9.375 13.124 9.65833 13.124 10C13.124 10.3417 12.8406 10.625 12.499 10.625Z",
15
+ fill: "currentColor"
16
+ }, null, -1),
17
+ C("path", {
18
+ d: "M4.87552 13.4167C4.71719 13.4167 4.55885 13.3584 4.43385 13.2334L1.64219 10.4417C1.40052 10.2 1.40052 9.80003 1.64219 9.55837L4.43385 6.7667C4.67552 6.52503 5.07552 6.52503 5.31719 6.7667C5.55885 7.00837 5.55885 7.40837 5.31719 7.65003L2.96719 10L5.31719 12.35C5.55885 12.5917 5.55885 12.9917 5.31719 13.2334C5.20052 13.3584 5.03385 13.4167 4.87552 13.4167Z",
19
+ fill: "currentColor"
20
+ }, null, -1)
21
+ ]));
22
+ }
23
+ const c = { render: r };
24
+ export {
25
+ c as default,
26
+ r as render
27
+ };
@@ -122,10 +122,10 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
122
122
  value: import("@vuepic/vue-datepicker").ModelValue;
123
123
  overlayClassName: string;
124
124
  position: typeof import("./types").MaDatePickerPositions[number];
125
+ teleport: boolean | string | HTMLElement;
125
126
  format: string | ((date: Date) => string) | ((dates: Date[]) => string);
126
127
  valueFormat: string;
127
128
  presetDates: import("./types").MaPresetDate[];
128
- teleport: boolean | string | HTMLElement;
129
129
  presetLocation: typeof import("./types").MaDatePickerPresetLocations[number];
130
130
  autoPosition: typeof import("./types").MaDatePickerVerticalPositions[number];
131
131
  preventMinMaxNavigation: boolean;
@@ -11,6 +11,8 @@ export interface MaPopover2Props {
11
11
  noPadding?: boolean;
12
12
  popupContainer?: HTMLElement | null | string;
13
13
  noAutoFocus?: boolean;
14
+ hideDelay?: number;
15
+ showDelay?: number;
14
16
  }
15
17
  declare function __VLS_template(): {
16
18
  attrs: Partial<{}>;
@@ -40,6 +42,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopover2Props, {}
40
42
  noPadding: boolean;
41
43
  popupContainer: HTMLElement | null | string;
42
44
  noAutoFocus: boolean;
45
+ hideDelay: number;
46
+ showDelay: number;
43
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
49
  export default _default;
@@ -20,6 +20,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
20
20
  noPadding: boolean;
21
21
  popupContainer: HTMLElement | null | string;
22
22
  noAutoFocus: boolean;
23
+ hideDelay: number;
24
+ showDelay: number;
23
25
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
26
  P: {};
25
27
  B: {};
@@ -42,6 +44,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
42
44
  noPadding: boolean;
43
45
  popupContainer: HTMLElement | null | string;
44
46
  noAutoFocus: boolean;
47
+ hideDelay: number;
48
+ showDelay: number;
45
49
  }>;
46
50
  __isFragment?: never;
47
51
  __isTeleport?: never;
@@ -64,6 +68,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
64
68
  noPadding: boolean;
65
69
  popupContainer: HTMLElement | null | string;
66
70
  noAutoFocus: boolean;
71
+ hideDelay: number;
72
+ showDelay: number;
67
73
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
74
  $slots: {
69
75
  default?(_: {}): any;
@@ -1,6 +1,6 @@
1
1
  import { ButtonTarget } from '@/components/button/types';
2
2
  import { MaBadgePropVariant } from '@/components/badge/types';
3
- import { MaSideMenuItemColor } from "./types";
3
+ import { MaSideMenuItemColor } from './types';
4
4
  export interface MaSideMenuItem {
5
5
  href?: string;
6
6
  target?: ButtonTarget;
@@ -0,0 +1,24 @@
1
+ import { ButtonTarget } from '@/components/button/types';
2
+ import { MaMenuButtonPropSize } from './types';
3
+ export interface MaSideMenuButtonProps {
4
+ icon?: string;
5
+ activeIcon?: string;
6
+ text?: string;
7
+ href?: string;
8
+ target?: ButtonTarget;
9
+ active?: boolean;
10
+ size?: MaMenuButtonPropSize;
11
+ }
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaSideMenuButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSideMenuButtonProps> & Readonly<{}>, {
13
+ size: MaMenuButtonPropSize;
14
+ icon: string;
15
+ active: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
17
+ default?(_: {}): any;
18
+ }>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaSideMenuButton2 from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaSideMenuButton2>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
+ import MaSideMenuButton2 from '../index.vue';
3
+ declare const meta: Meta<typeof MaSideMenuButton2>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSideMenuButton2>;
6
+ export declare const Default: Story;
7
+ export declare const Active: Story;
8
+ export declare const BrandIcon: Story;
9
+ export declare const SideMenu: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const MaMenuButtonPropSizes: readonly ["small", "medium"];
2
+ export type MaMenuButtonPropSize = (typeof MaMenuButtonPropSizes)[number];
@@ -0,0 +1,17 @@
1
+ import { ButtonTarget } from '@/components/button/types';
2
+ export interface MaSideMenuItem2 {
3
+ href?: string;
4
+ target?: ButtonTarget;
5
+ text?: string;
6
+ active?: boolean;
7
+ proBadge?: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaSideMenuItem2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSideMenuItem2> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
10
+ default?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaSideMenuItem2 from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaSideMenuItem2>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
+ import MaSideMenuItem2 from '../index.vue';
3
+ declare const meta: Meta<typeof MaSideMenuItem2>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSideMenuItem2>;
6
+ export declare const Default: Story;
7
+ export declare const Active: Story;
8
+ export declare const WithProBadge: Story;
9
+ export declare const ActiveWithProBadge: Story;
10
+ export declare const SideMenu: StoryFn;
@@ -63,6 +63,9 @@ export { default as MaSideMenuIconButton } from './components/side-menu/icon-but
63
63
  export { default as MaSideMenuRoundIconButton } from './components/side-menu/round-icon-button/index.vue';
64
64
  export { default as MaSideMenuAppButton } from './components/side-menu/app-button/index.vue';
65
65
  export { default as MaSideMenuAddNewAppButton } from './components/side-menu/add-new-app-button/index.vue';
66
+ export { default as MaSideMenuItem2 } from './components/side-menu-2/menu-item/index.vue';
67
+ export { default as MaSideMenuButton2 } from './components/side-menu-2/menu-button/index.vue';
68
+ export * from './components/side-menu-2/menu-button/types';
66
69
  export { default as MaProgress } from './components/progress/index.vue';
67
70
  export * from './components/progress/types';
68
71
  export { default as MaTabs } from './components/tabs/index.vue';