@mobileaction/action-kit 1.31.13 → 1.32.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/action-kit.js +1 -1
  3. package/dist/action-kit.mjs +1 -1
  4. package/dist/components/avatar/index.vue.d.ts +12 -39
  5. package/dist/components/avatar/types.d.ts +3 -7
  6. package/dist/components/badge/index.vue.d.ts +3 -3
  7. package/dist/components/button/index.vue.d.ts +1 -1
  8. package/dist/components/button/link-button/index.vue.d.ts +1 -1
  9. package/dist/components/side-menu/menu-item/index.vue.d.ts +3 -3
  10. package/dist/{index-5d1e144b.js → index-4a9901ad.js} +17 -17
  11. package/dist/{index-83844075.mjs → index-97dd3c57.mjs} +2843 -2862
  12. package/dist/{lottie_light-3e3b1c7b.mjs → lottie_light-bad1ff29.mjs} +1 -1
  13. package/dist/{lottie_light-faaa9c81.js → lottie_light-deca36c8.js} +1 -1
  14. package/dist/src/components/avatar/avatar.test.d.ts +1 -0
  15. package/dist/src/components/avatar/index.vue.d.ts +6 -9
  16. package/dist/src/components/avatar/stories/constants.d.ts +1 -10
  17. package/dist/src/components/avatar/stories/default.stories.d.ts +7 -0
  18. package/dist/src/components/avatar/types.d.ts +3 -7
  19. package/dist/src/components/badge/index.vue.d.ts +1 -1
  20. package/dist/src/components/side-menu/menu-item/index.vue.d.ts +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/user-avatar-564edacc.js +1 -0
  23. package/dist/user-avatar-7739d996.mjs +16 -0
  24. package/package.json +1 -1
  25. package/dist/src/components/avatar/group.vue.d.ts +0 -37
  26. package/dist/src/components/avatar/labelGroup.vue.d.ts +0 -31
  27. package/dist/src/components/avatar/profileAvatar.vue.d.ts +0 -28
  28. package/dist/src/components/avatar/stories/group.stories.d.ts +0 -11
  29. package/dist/src/components/avatar/stories/labelGroup.stories.d.ts +0 -8
  30. package/dist/src/components/avatar/stories/profilePhoto.stories.d.ts +0 -8
  31. package/dist/src/components/avatar/stories/visuals.stories.d.ts +0 -14
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a=e.createStaticVNode('<rect width="24" height="24" rx="12" fill="currentColor"></rect><g clip-path="url(#clip0_7135_40595)"><rect width="24" height="24" rx="12" fill="currentColor"></rect><g filter="url(#filter0_di_7135_40595)"><ellipse cx="11.9999" cy="22.7996" rx="9.6" ry="7.2" fill="url(#paint0_radial_7135_40595)" shape-rendering="crispEdges"></ellipse><path d="M21.0999 22.7996C21.0999 24.5952 20.1307 26.2589 18.4881 27.4908C16.8454 28.7228 14.5531 29.4996 11.9999 29.4996C9.44666 29.4996 7.15438 28.7228 5.51168 27.4908C3.86913 26.2589 2.8999 24.5952 2.8999 22.7996C2.8999 21.004 3.86913 19.3403 5.51168 18.1084C7.15438 16.8764 9.44666 16.0996 11.9999 16.0996C14.5531 16.0996 16.8454 16.8764 18.4881 18.1084C20.1307 19.3403 21.0999 21.004 21.0999 22.7996Z" stroke="url(#paint1_radial_7135_40595)" shape-rendering="crispEdges"></path></g><g filter="url(#filter1_di_7135_40595)"><circle cx="12.0002" cy="9.5998" r="4.8" fill="url(#paint2_radial_7135_40595)" shape-rendering="crispEdges"></circle><circle cx="12.0002" cy="9.5998" r="4.3" stroke="url(#paint3_radial_7135_40595)" shape-rendering="crispEdges"></circle></g></g><defs><filter id="filter0_di_7135_40595" x="-1.6001" y="7.59961" width="27.2002" height="30.4004" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 0.706667 0 0 0 0 0.12 0 0 0 0.24 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_7135_40595"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_7135_40595" result="shape"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="-8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend mode="normal" in2="shape" result="effect2_innerShadow_7135_40595"></feBlend></filter><filter id="filter1_di_7135_40595" x="3.2002" y="-3.2002" width="17.6001" height="25.5996" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 0.706667 0 0 0 0 0.12 0 0 0 0.24 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_7135_40595"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_7135_40595" result="shape"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="-8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend mode="normal" in2="shape" result="effect2_innerShadow_7135_40595"></feBlend></filter><radialGradient id="paint0_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9999 15.5996) rotate(90) scale(14.4 19.2)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint1_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9999 15.5996) rotate(90) scale(14.4 19.2)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint2_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.0002 4.7998) rotate(90) scale(9.6)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint3_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.0002 4.7998) rotate(90) scale(9.6)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><clipPath id="clip0_7135_40595"><rect width="24" height="24" rx="12" fill="white"></rect></clipPath></defs>',3),i=[a];function r(l,s){return e.openBlock(),e.createElementBlock("svg",t,i)}const o={render:r};exports.default=o;exports.render=r;
@@ -0,0 +1,16 @@
1
+ import { openBlock as e, createElementBlock as r, createStaticVNode as t } from "vue";
2
+ const a = {
3
+ viewBox: "0 0 24 24",
4
+ fill: "none",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ }, i = /* @__PURE__ */ t('<rect width="24" height="24" rx="12" fill="currentColor"></rect><g clip-path="url(#clip0_7135_40595)"><rect width="24" height="24" rx="12" fill="currentColor"></rect><g filter="url(#filter0_di_7135_40595)"><ellipse cx="11.9999" cy="22.7996" rx="9.6" ry="7.2" fill="url(#paint0_radial_7135_40595)" shape-rendering="crispEdges"></ellipse><path d="M21.0999 22.7996C21.0999 24.5952 20.1307 26.2589 18.4881 27.4908C16.8454 28.7228 14.5531 29.4996 11.9999 29.4996C9.44666 29.4996 7.15438 28.7228 5.51168 27.4908C3.86913 26.2589 2.8999 24.5952 2.8999 22.7996C2.8999 21.004 3.86913 19.3403 5.51168 18.1084C7.15438 16.8764 9.44666 16.0996 11.9999 16.0996C14.5531 16.0996 16.8454 16.8764 18.4881 18.1084C20.1307 19.3403 21.0999 21.004 21.0999 22.7996Z" stroke="url(#paint1_radial_7135_40595)" shape-rendering="crispEdges"></path></g><g filter="url(#filter1_di_7135_40595)"><circle cx="12.0002" cy="9.5998" r="4.8" fill="url(#paint2_radial_7135_40595)" shape-rendering="crispEdges"></circle><circle cx="12.0002" cy="9.5998" r="4.3" stroke="url(#paint3_radial_7135_40595)" shape-rendering="crispEdges"></circle></g></g><defs><filter id="filter0_di_7135_40595" x="-1.6001" y="7.59961" width="27.2002" height="30.4004" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 0.706667 0 0 0 0 0.12 0 0 0 0.24 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_7135_40595"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_7135_40595" result="shape"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="-8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend mode="normal" in2="shape" result="effect2_innerShadow_7135_40595"></feBlend></filter><filter id="filter1_di_7135_40595" x="3.2002" y="-3.2002" width="17.6001" height="25.5996" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 0.706667 0 0 0 0 0.12 0 0 0 0.24 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_7135_40595"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_7135_40595" result="shape"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="-8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix><feBlend mode="normal" in2="shape" result="effect2_innerShadow_7135_40595"></feBlend></filter><radialGradient id="paint0_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9999 15.5996) rotate(90) scale(14.4 19.2)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint1_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9999 15.5996) rotate(90) scale(14.4 19.2)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint2_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.0002 4.7998) rotate(90) scale(9.6)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><radialGradient id="paint3_radial_7135_40595" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(12.0002 4.7998) rotate(90) scale(9.6)"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></radialGradient><clipPath id="clip0_7135_40595"><rect width="24" height="24" rx="12" fill="white"></rect></clipPath></defs>', 3), o = [
7
+ i
8
+ ];
9
+ function l(s, n) {
10
+ return e(), r("svg", a, o);
11
+ }
12
+ const d = { render: l };
13
+ export {
14
+ d as default,
15
+ l as render
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobileaction/action-kit",
3
- "version": "1.31.13",
3
+ "version": "1.32.0",
4
4
  "main": "dist/action-kit.js",
5
5
  "module": "dist/action-kit.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,37 +0,0 @@
1
- import { MaAvatarGroupSize } from '@/components/avatar/types';
2
- export interface MaAvatarGroupProps {
3
- users: string[];
4
- size?: MaAvatarGroupSize;
5
- maxAvatars?: number;
6
- addUser?: boolean;
7
- }
8
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarGroupProps>, {
9
- size: string;
10
- maxAvatars: number;
11
- addUser: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "buttonClick"[], "buttonClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarGroupProps>, {
13
- size: string;
14
- maxAvatars: number;
15
- addUser: boolean;
16
- }>>> & {
17
- onButtonClick?: (...args: any[]) => any;
18
- }, {
19
- size: string;
20
- maxAvatars: number;
21
- addUser: boolean;
22
- }>;
23
- export default _default;
24
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- declare type __VLS_TypePropsToRuntimeProps<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
33
- declare type __VLS_WithDefaults<P, D> = {
34
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
35
- default: D[K];
36
- } : P[K];
37
- };
@@ -1,31 +0,0 @@
1
- import { MaAvatarLabelGroupPropSize } from '@/components/avatar/types';
2
- export interface MaAvatarLabelGroupProps {
3
- titleText?: string;
4
- supportingText?: string;
5
- onlineIndicator?: boolean;
6
- companyLogoSrc?: string;
7
- src?: string;
8
- size?: MaAvatarLabelGroupPropSize;
9
- }
10
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarLabelGroupProps>, {
11
- size: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarLabelGroupProps>, {
13
- size: string;
14
- }>>>, {
15
- size: string;
16
- }>;
17
- export default _default;
18
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- declare type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
- declare type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
29
- default: D[K];
30
- } : P[K];
31
- };
@@ -1,28 +0,0 @@
1
- import { MaAvatarProfilePhotoPropSize } from '@/components/avatar/types';
2
- export interface MaAvatarProfilePhotoProps {
3
- src?: string;
4
- size?: MaAvatarProfilePhotoPropSize;
5
- text?: string;
6
- }
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarProfilePhotoProps>, {
8
- size: string;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAvatarProfilePhotoProps>, {
10
- size: string;
11
- }>>>, {
12
- size: string;
13
- }>;
14
- export default _default;
15
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- declare type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- declare type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
26
- default: D[K];
27
- } : P[K];
28
- };
@@ -1,11 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import MaAvatarGroup from '../group.vue';
3
- declare const meta: Meta<typeof MaAvatarGroup>;
4
- export default meta;
5
- declare type Story = StoryObj<typeof MaAvatarGroup>;
6
- export declare const GroupWithUsers: Story;
7
- export declare const LargeGroupWithAddButton: Story;
8
- export declare const SmallGroupWithAddButton: Story;
9
- export declare const Group: Story;
10
- export declare const GroupWithCustomMaxAvatar: Story;
11
- export declare const GroupWithCustomMaxAvatarAndButton: Story;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import MaAvatarLabelGroup from '@/components/avatar/labelGroup.vue';
3
- declare const meta: Meta<typeof MaAvatarLabelGroup>;
4
- export default meta;
5
- declare type Story = StoryObj<typeof MaAvatarLabelGroup>;
6
- export declare const LabelGroup: Story;
7
- export declare const LabelGroupWithProfilePicture: Story;
8
- export declare const LabelGroupWithCompanyStatus: Story;
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import MaAvatarProfilePhoto from '@/components/avatar/profileAvatar.vue';
3
- declare const meta: Meta<typeof MaAvatarProfilePhoto>;
4
- export default meta;
5
- declare type Story = StoryObj<typeof MaAvatarProfilePhoto>;
6
- export declare const ProfilePhoto: Story;
7
- export declare const ProfilePhotoWithPhoto: Story;
8
- export declare const ProfilePhotoWithText: Story;
@@ -1,14 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/vue3';
2
- import MaAvatar from '../index.vue';
3
- declare const meta: Meta<typeof MaAvatar>;
4
- export default meta;
5
- declare type Story = StoryObj<typeof MaAvatar>;
6
- export declare const Default: Story;
7
- export declare const ProfilePicture: Story;
8
- export declare const Text: Story;
9
- export declare const OnlineIndicator: Story;
10
- export declare const OnlineIndicatorWithProfilePicture: Story;
11
- export declare const CompanyLogo: Story;
12
- export declare const CompanyLogoWithProfilePicture: Story;
13
- export declare const CompanyLogoWithText: Story;
14
- export declare const OnlineIndicatorWithText: Story;