@metamask-previews/design-system-react 0.6.1-preview.ab80aae → 0.6.1-preview.abc15cd

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/dist/components/AvatarGroup/AvatarGroup.d.cts +5 -5
  2. package/dist/components/AvatarGroup/AvatarGroup.d.cts.map +1 -1
  3. package/dist/components/AvatarGroup/AvatarGroup.d.mts +5 -5
  4. package/dist/components/AvatarGroup/AvatarGroup.d.mts.map +1 -1
  5. package/dist/components/AvatarGroup/AvatarGroup.types.cjs.map +1 -1
  6. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts +5 -5
  7. package/dist/components/AvatarGroup/AvatarGroup.types.d.cts.map +1 -1
  8. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts +5 -5
  9. package/dist/components/AvatarGroup/AvatarGroup.types.d.mts.map +1 -1
  10. package/dist/components/AvatarGroup/AvatarGroup.types.mjs.map +1 -1
  11. package/dist/components/Button/Button.types.cjs.map +1 -1
  12. package/dist/components/Button/Button.types.d.cts +3 -3
  13. package/dist/components/Button/Button.types.d.cts.map +1 -1
  14. package/dist/components/Button/Button.types.d.mts +3 -3
  15. package/dist/components/Button/Button.types.d.mts.map +1 -1
  16. package/dist/components/Button/Button.types.mjs.map +1 -1
  17. package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts +4 -3
  18. package/dist/components/ButtonIcon/ButtonIcon.constants.d.cts.map +1 -1
  19. package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts +4 -3
  20. package/dist/components/ButtonIcon/ButtonIcon.constants.d.mts.map +1 -1
  21. package/dist/types/index.cjs +385 -274
  22. package/dist/types/index.cjs.map +1 -1
  23. package/dist/types/index.d.cts +261 -291
  24. package/dist/types/index.d.cts.map +1 -1
  25. package/dist/types/index.d.mts +261 -291
  26. package/dist/types/index.d.mts.map +1 -1
  27. package/dist/types/index.mjs +385 -261
  28. package/dist/types/index.mjs.map +1 -1
  29. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { AvatarGroupSize } from "../../types/index.cjs";
2
+ import { AvatarGroupSize, AvatarGroupVariant } from "../../types/index.cjs";
3
3
  import type { AvatarAccountProps } from "../AvatarAccount/index.cjs";
4
4
  import type { AvatarFaviconProps } from "../AvatarFavicon/index.cjs";
5
5
  import type { AvatarNetworkProps } from "../AvatarNetwork/index.cjs";
@@ -12,7 +12,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
12
12
  className?: string | undefined;
13
13
  style?: React.CSSProperties | undefined;
14
14
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
15
- variant: "Account";
15
+ variant: AvatarGroupVariant.Account;
16
16
  avatarPropsArr: AvatarAccountProps[];
17
17
  }, "ref"> | Omit<{
18
18
  size?: AvatarGroupSize | undefined;
@@ -22,7 +22,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
22
22
  className?: string | undefined;
23
23
  style?: React.CSSProperties | undefined;
24
24
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
25
- variant: "Favicon";
25
+ variant: AvatarGroupVariant.Favicon;
26
26
  avatarPropsArr: AvatarFaviconProps[];
27
27
  }, "ref"> | Omit<{
28
28
  size?: AvatarGroupSize | undefined;
@@ -32,7 +32,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
32
32
  className?: string | undefined;
33
33
  style?: React.CSSProperties | undefined;
34
34
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
35
- variant: "Network";
35
+ variant: AvatarGroupVariant.Network;
36
36
  avatarPropsArr: AvatarNetworkProps[];
37
37
  }, "ref"> | Omit<{
38
38
  size?: AvatarGroupSize | undefined;
@@ -42,7 +42,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
42
42
  className?: string | undefined;
43
43
  style?: React.CSSProperties | undefined;
44
44
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
45
- variant: "Token";
45
+ variant: AvatarGroupVariant.Token;
46
46
  avatarPropsArr: AvatarTokenProps[];
47
47
  }, "ref">) & React.RefAttributes<HTMLDivElement>>;
48
48
  //# sourceMappingURL=AvatarGroup.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.d.cts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,cAAc;AAEvD,OAAO,EAAE,eAAe,EAAsB,8BAAoB;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAAuB;AAWvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA0IvB,CAAC"}
1
+ {"version":3,"file":"AvatarGroup.d.cts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,cAAc;AAEvD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,8BAAoB;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAAuB;AAWvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA0IvB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { AvatarGroupSize } from "../../types/index.mjs";
2
+ import { AvatarGroupSize, AvatarGroupVariant } from "../../types/index.mjs";
3
3
  import type { AvatarAccountProps } from "../AvatarAccount/index.mjs";
4
4
  import type { AvatarFaviconProps } from "../AvatarFavicon/index.mjs";
5
5
  import type { AvatarNetworkProps } from "../AvatarNetwork/index.mjs";
@@ -12,7 +12,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
12
12
  className?: string | undefined;
13
13
  style?: React.CSSProperties | undefined;
14
14
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
15
- variant: "Account";
15
+ variant: AvatarGroupVariant.Account;
16
16
  avatarPropsArr: AvatarAccountProps[];
17
17
  }, "ref"> | Omit<{
18
18
  size?: AvatarGroupSize | undefined;
@@ -22,7 +22,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
22
22
  className?: string | undefined;
23
23
  style?: React.CSSProperties | undefined;
24
24
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
25
- variant: "Favicon";
25
+ variant: AvatarGroupVariant.Favicon;
26
26
  avatarPropsArr: AvatarFaviconProps[];
27
27
  }, "ref"> | Omit<{
28
28
  size?: AvatarGroupSize | undefined;
@@ -32,7 +32,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
32
32
  className?: string | undefined;
33
33
  style?: React.CSSProperties | undefined;
34
34
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
35
- variant: "Network";
35
+ variant: AvatarGroupVariant.Network;
36
36
  avatarPropsArr: AvatarNetworkProps[];
37
37
  }, "ref"> | Omit<{
38
38
  size?: AvatarGroupSize | undefined;
@@ -42,7 +42,7 @@ export declare const AvatarGroup: React.ForwardRefExoticComponent<(Omit<{
42
42
  className?: string | undefined;
43
43
  style?: React.CSSProperties | undefined;
44
44
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
45
- variant: "Token";
45
+ variant: AvatarGroupVariant.Token;
46
46
  avatarPropsArr: AvatarTokenProps[];
47
47
  }, "ref">) & React.RefAttributes<HTMLDivElement>>;
48
48
  //# sourceMappingURL=AvatarGroup.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.d.mts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,cAAc;AAEvD,OAAO,EAAE,eAAe,EAAsB,8BAAoB;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAAuB;AAWvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA0IvB,CAAC"}
1
+ {"version":3,"file":"AvatarGroup.d.mts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,cAAc;AAEvD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,8BAAoB;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAI3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAAuB;AAWvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA0IvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.types.cjs","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps } from 'react';\n\nimport type { AvatarGroupSize } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\n\ntype BaseAvatarGroupProps = {\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional enum to select max number of Avatars visible,\n * before the overflow counter being displayed\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup\n */\n isReverse?: boolean;\n /**\n * Optional prop to pass additional AvatarBase props to the overflow Text element\n */\n overflowTextProps?: AvatarBaseProps;\n /**\n * Optional prop for additional CSS classes to be applied to the AvatarGroup component.\n * These classes will be merged with the component's default classes using twMerge.\n */\n className?: string;\n /**\n * Optional CSS styles to be applied to the component.\n * Should be used sparingly and only for dynamic styles that can't be achieved with className.\n */\n style?: React.CSSProperties;\n} & ComponentProps<'div'>;\n\n/**\n * AvatarGroup props.\n */\nexport type AvatarGroupProps = BaseAvatarGroupProps &\n (\n | {\n variant: 'Account';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarAccountProps[];\n }\n | {\n variant: 'Favicon';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarFaviconProps[];\n }\n | {\n variant: 'Network';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarNetworkProps[];\n }\n | {\n variant: 'Token';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarTokenProps[];\n }\n );\n"]}
1
+ {"version":3,"file":"AvatarGroup.types.cjs","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps } from 'react';\n\nimport type { AvatarGroupSize, AvatarGroupVariant } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\n\ntype BaseAvatarGroupProps = {\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional enum to select max number of Avatars visible,\n * before the overflow counter being displayed\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup\n */\n isReverse?: boolean;\n /**\n * Optional prop to pass additional AvatarBase props to the overflow Text element\n */\n overflowTextProps?: AvatarBaseProps;\n /**\n * Optional prop for additional CSS classes to be applied to the AvatarGroup component.\n * These classes will be merged with the component's default classes using twMerge.\n */\n className?: string;\n /**\n * Optional CSS styles to be applied to the component.\n * Should be used sparingly and only for dynamic styles that can't be achieved with className.\n */\n style?: React.CSSProperties;\n} & ComponentProps<'div'>;\n\n/**\n * AvatarGroup props.\n */\nexport type AvatarGroupProps = BaseAvatarGroupProps &\n (\n | {\n variant: AvatarGroupVariant.Account;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarAccountProps[];\n }\n | {\n variant: AvatarGroupVariant.Favicon;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarFaviconProps[];\n }\n | {\n variant: AvatarGroupVariant.Network;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarNetworkProps[];\n }\n | {\n variant: AvatarGroupVariant.Token;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarTokenProps[];\n }\n );\n"]}
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps } from "react";
2
- import type { AvatarGroupSize } from "../../types/index.cjs";
2
+ import type { AvatarGroupSize, AvatarGroupVariant } from "../../types/index.cjs";
3
3
  import type { AvatarAccountProps } from "../AvatarAccount/index.cjs";
4
4
  import type { AvatarBaseProps } from "../AvatarBase/index.cjs";
5
5
  import type { AvatarFaviconProps } from "../AvatarFavicon/index.cjs";
@@ -42,28 +42,28 @@ type BaseAvatarGroupProps = {
42
42
  * AvatarGroup props.
43
43
  */
44
44
  export type AvatarGroupProps = BaseAvatarGroupProps & ({
45
- variant: 'Account';
45
+ variant: AvatarGroupVariant.Account;
46
46
  /**
47
47
  * A list of Avatars to be horizontally stacked.
48
48
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
49
49
  */
50
50
  avatarPropsArr: AvatarAccountProps[];
51
51
  } | {
52
- variant: 'Favicon';
52
+ variant: AvatarGroupVariant.Favicon;
53
53
  /**
54
54
  * A list of Avatars to be horizontally stacked.
55
55
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
56
56
  */
57
57
  avatarPropsArr: AvatarFaviconProps[];
58
58
  } | {
59
- variant: 'Network';
59
+ variant: AvatarGroupVariant.Network;
60
60
  /**
61
61
  * A list of Avatars to be horizontally stacked.
62
62
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
63
63
  */
64
64
  avatarPropsArr: AvatarNetworkProps[];
65
65
  } | {
66
- variant: 'Token';
66
+ variant: AvatarGroupVariant.Token;
67
67
  /**
68
68
  * A list of Avatars to be horizontally stacked.
69
69
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.types.d.cts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":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
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps } from "react";
2
- import type { AvatarGroupSize } from "../../types/index.mjs";
2
+ import type { AvatarGroupSize, AvatarGroupVariant } from "../../types/index.mjs";
3
3
  import type { AvatarAccountProps } from "../AvatarAccount/index.mjs";
4
4
  import type { AvatarBaseProps } from "../AvatarBase/index.mjs";
5
5
  import type { AvatarFaviconProps } from "../AvatarFavicon/index.mjs";
@@ -42,28 +42,28 @@ type BaseAvatarGroupProps = {
42
42
  * AvatarGroup props.
43
43
  */
44
44
  export type AvatarGroupProps = BaseAvatarGroupProps & ({
45
- variant: 'Account';
45
+ variant: AvatarGroupVariant.Account;
46
46
  /**
47
47
  * A list of Avatars to be horizontally stacked.
48
48
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
49
49
  */
50
50
  avatarPropsArr: AvatarAccountProps[];
51
51
  } | {
52
- variant: 'Favicon';
52
+ variant: AvatarGroupVariant.Favicon;
53
53
  /**
54
54
  * A list of Avatars to be horizontally stacked.
55
55
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
56
56
  */
57
57
  avatarPropsArr: AvatarFaviconProps[];
58
58
  } | {
59
- variant: 'Network';
59
+ variant: AvatarGroupVariant.Network;
60
60
  /**
61
61
  * A list of Avatars to be horizontally stacked.
62
62
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
63
63
  */
64
64
  avatarPropsArr: AvatarNetworkProps[];
65
65
  } | {
66
- variant: 'Token';
66
+ variant: AvatarGroupVariant.Token;
67
67
  /**
68
68
  * A list of Avatars to be horizontally stacked.
69
69
  * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarGroup.types.d.mts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,8BAAoB;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,gCAAsB;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,mCAAyB;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAAuB;AAEvD,KAAK,oBAAoB,GAAG;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,CACI;IACE,OAAO,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,cAAc,EAAE,gBAAgB,EAAE,CAAC;CACpC,CACJ,CAAC"}
1
+ {"version":3,"file":"AvatarGroup.types.d.mts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc;AAE5C,OAAO,KAAK,EAAE,eAAe,EAA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types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps } from 'react';\n\nimport type { AvatarGroupSize } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\n\ntype BaseAvatarGroupProps = {\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional enum to select max number of Avatars visible,\n * before the overflow counter being displayed\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup\n */\n isReverse?: boolean;\n /**\n * Optional prop to pass additional AvatarBase props to the overflow Text element\n */\n overflowTextProps?: AvatarBaseProps;\n /**\n * Optional prop for additional CSS classes to be applied to the AvatarGroup component.\n * These classes will be merged with the component's default classes using twMerge.\n */\n className?: string;\n /**\n * Optional CSS styles to be applied to the component.\n * Should be used sparingly and only for dynamic styles that can't be achieved with className.\n */\n style?: React.CSSProperties;\n} & ComponentProps<'div'>;\n\n/**\n * AvatarGroup props.\n */\nexport type AvatarGroupProps = BaseAvatarGroupProps &\n (\n | {\n variant: 'Account';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarAccountProps[];\n }\n | {\n variant: 'Favicon';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarFaviconProps[];\n }\n | {\n variant: 'Network';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarNetworkProps[];\n }\n | {\n variant: 'Token';\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarTokenProps[];\n }\n );\n"]}
1
+ {"version":3,"file":"AvatarGroup.types.mjs","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps } from 'react';\n\nimport type { AvatarGroupSize, AvatarGroupVariant } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\n\ntype BaseAvatarGroupProps = {\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional enum to select max number of Avatars visible,\n * before the overflow counter being displayed\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup\n */\n isReverse?: boolean;\n /**\n * Optional prop to pass additional AvatarBase props to the overflow Text element\n */\n overflowTextProps?: AvatarBaseProps;\n /**\n * Optional prop for additional CSS classes to be applied to the AvatarGroup component.\n * These classes will be merged with the component's default classes using twMerge.\n */\n className?: string;\n /**\n * Optional CSS styles to be applied to the component.\n * Should be used sparingly and only for dynamic styles that can't be achieved with className.\n */\n style?: React.CSSProperties;\n} & ComponentProps<'div'>;\n\n/**\n * AvatarGroup props.\n */\nexport type AvatarGroupProps = BaseAvatarGroupProps &\n (\n | {\n variant: AvatarGroupVariant.Account;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarAccountProps[];\n }\n | {\n variant: AvatarGroupVariant.Favicon;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarFaviconProps[];\n }\n | {\n variant: AvatarGroupVariant.Network;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarNetworkProps[];\n }\n | {\n variant: AvatarGroupVariant.Token;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarTokenProps[];\n }\n );\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.types.cjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonVariant } from '../../types';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\nexport type ButtonProps = {\n /**\n * Optional prop to control the variant of the Button\n *\n * @default ButtonVariant.Primary\n */\n variant?: ButtonVariant;\n} & (\n | (Omit<ButtonPrimaryProps, 'ref'> & {\n variant?: 'primary';\n })\n | (Omit<ButtonSecondaryProps, 'ref'> & {\n variant?: 'secondary';\n })\n | (Omit<ButtonTertiaryProps, 'ref'> & {\n variant?: 'tertiary';\n })\n);\n"]}
1
+ {"version":3,"file":"Button.types.cjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonVariant } from '../../types';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\nexport type ButtonProps = {\n /**\n * Optional prop to control the variant of the Button\n *\n * @default ButtonVariant.Primary\n */\n variant?: ButtonVariant;\n} & (\n | (Omit<ButtonPrimaryProps, 'ref'> & {\n variant?: ButtonVariant.Primary;\n })\n | (Omit<ButtonSecondaryProps, 'ref'> & {\n variant?: ButtonVariant.Secondary;\n })\n | (Omit<ButtonTertiaryProps, 'ref'> & {\n variant?: ButtonVariant.Tertiary;\n })\n);\n"]}
@@ -10,10 +10,10 @@ export type ButtonProps = {
10
10
  */
11
11
  variant?: ButtonVariant;
12
12
  } & ((Omit<ButtonPrimaryProps, 'ref'> & {
13
- variant?: 'primary';
13
+ variant?: ButtonVariant.Primary;
14
14
  }) | (Omit<ButtonSecondaryProps, 'ref'> & {
15
- variant?: 'secondary';
15
+ variant?: ButtonVariant.Secondary;
16
16
  }) | (Omit<ButtonTertiaryProps, 'ref'> & {
17
- variant?: 'tertiary';
17
+ variant?: ButtonVariant.Tertiary;
18
18
  }));
19
19
  //# sourceMappingURL=Button.types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.types.d.cts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,8BAAoB;AAEjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,2CAAiC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,6CAAmC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,4CAAkC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,GAAG,CACA,CAAC,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,GACF,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC,GACF,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,GAAG;IAClC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC,CACL,CAAC"}
1
+ {"version":3,"file":"Button.types.d.cts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,8BAAoB;AAEjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,2CAAiC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,6CAAmC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,4CAAkC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,GAAG,CACA,CAAC,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC;CACjC,CAAC,GACF,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC;CACnC,CAAC,GACF,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,GAAG;IAClC,OAAO,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC;CAClC,CAAC,CACL,CAAC"}
@@ -10,10 +10,10 @@ export type ButtonProps = {
10
10
  */
11
11
  variant?: ButtonVariant;
12
12
  } & ((Omit<ButtonPrimaryProps, 'ref'> & {
13
- variant?: 'primary';
13
+ variant?: ButtonVariant.Primary;
14
14
  }) | (Omit<ButtonSecondaryProps, 'ref'> & {
15
- variant?: 'secondary';
15
+ variant?: ButtonVariant.Secondary;
16
16
  }) | (Omit<ButtonTertiaryProps, 'ref'> & {
17
- variant?: 'tertiary';
17
+ variant?: ButtonVariant.Tertiary;
18
18
  }));
19
19
  //# sourceMappingURL=Button.types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.types.d.mts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,8BAAoB;AAEjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,2CAAiC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,6CAAmC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,4CAAkC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,GAAG,CACA,CAAC,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC,GACF,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC,GACF,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,GAAG;IAClC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC,CACL,CAAC"}
1
+ {"version":3,"file":"Button.types.d.mts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,8BAAoB;AAEjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,2CAAiC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,6CAAmC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,4CAAkC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,GAAG,CACA,CAAC,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC;CACjC,CAAC,GACF,CAAC,IAAI,CAAC,oBAAoB,EAAE,KAAK,CAAC,GAAG;IACnC,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC;CACnC,CAAC,GACF,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,GAAG;IAClC,OAAO,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC;CAClC,CAAC,CACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.types.mjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonVariant } from '../../types';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\nexport type ButtonProps = {\n /**\n * Optional prop to control the variant of the Button\n *\n * @default ButtonVariant.Primary\n */\n variant?: ButtonVariant;\n} & (\n | (Omit<ButtonPrimaryProps, 'ref'> & {\n variant?: 'primary';\n })\n | (Omit<ButtonSecondaryProps, 'ref'> & {\n variant?: 'secondary';\n })\n | (Omit<ButtonTertiaryProps, 'ref'> & {\n variant?: 'tertiary';\n })\n);\n"]}
1
+ {"version":3,"file":"Button.types.mjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonVariant } from '../../types';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\nexport type ButtonProps = {\n /**\n * Optional prop to control the variant of the Button\n *\n * @default ButtonVariant.Primary\n */\n variant?: ButtonVariant;\n} & (\n | (Omit<ButtonPrimaryProps, 'ref'> & {\n variant?: ButtonVariant.Primary;\n })\n | (Omit<ButtonSecondaryProps, 'ref'> & {\n variant?: ButtonVariant.Secondary;\n })\n | (Omit<ButtonTertiaryProps, 'ref'> & {\n variant?: ButtonVariant.Tertiary;\n })\n);\n"]}
@@ -1,11 +1,12 @@
1
+ import { IconSize } from "../Icon/index.cjs";
1
2
  export declare const TWCLASSMAP_BUTTONICON_SIZE_DIMENSION: {
2
3
  readonly sm: "h-6 w-6";
3
4
  readonly md: "h-8 w-8";
4
5
  readonly lg: "h-10 w-10";
5
6
  };
6
7
  export declare const MAP_BUTTONICON_SIZE_ICONSIZE: {
7
- readonly sm: "md";
8
- readonly md: "lg";
9
- readonly lg: "xl";
8
+ readonly sm: IconSize.Md;
9
+ readonly md: IconSize.Lg;
10
+ readonly lg: IconSize.Xl;
10
11
  };
11
12
  //# sourceMappingURL=ButtonIcon.constants.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonIcon.constants.d.cts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC"}
1
+ {"version":3,"file":"ButtonIcon.constants.d.cts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,0BAAgB;AAEnC,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC"}
@@ -1,11 +1,12 @@
1
+ import { IconSize } from "../Icon/index.mjs";
1
2
  export declare const TWCLASSMAP_BUTTONICON_SIZE_DIMENSION: {
2
3
  readonly sm: "h-6 w-6";
3
4
  readonly md: "h-8 w-8";
4
5
  readonly lg: "h-10 w-10";
5
6
  };
6
7
  export declare const MAP_BUTTONICON_SIZE_ICONSIZE: {
7
- readonly sm: "md";
8
- readonly md: "lg";
9
- readonly lg: "xl";
8
+ readonly sm: IconSize.Md;
9
+ readonly md: IconSize.Lg;
10
+ readonly lg: IconSize.Xl;
10
11
  };
11
12
  //# sourceMappingURL=ButtonIcon.constants.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonIcon.constants.d.mts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC"}
1
+ {"version":3,"file":"ButtonIcon.constants.d.mts","sourceRoot":"","sources":["../../../src/components/ButtonIcon/ButtonIcon.constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,0BAAgB;AAEnC,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC"}