@metamask-previews/design-system-shared 0.11.0-preview.9d477a9 → 0.11.0-preview.ba86146
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.cjs +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -9
- package/dist/types/Icon/Icon.types.cjs +0 -351
- package/dist/types/Icon/Icon.types.cjs.map +0 -1
- package/dist/types/Icon/Icon.types.d.cts +0 -369
- package/dist/types/Icon/Icon.types.d.cts.map +0 -1
- package/dist/types/Icon/Icon.types.d.mts +0 -369
- package/dist/types/Icon/Icon.types.d.mts.map +0 -1
- package/dist/types/Icon/Icon.types.mjs +0 -348
- package/dist/types/Icon/Icon.types.mjs.map +0 -1
- package/dist/types/Icon/index.cjs +0 -8
- package/dist/types/Icon/index.cjs.map +0 -1
- package/dist/types/Icon/index.d.cts +0 -2
- package/dist/types/Icon/index.d.cts.map +0 -1
- package/dist/types/Icon/index.d.mts +0 -2
- package/dist/types/Icon/index.d.mts.map +0 -1
- package/dist/types/Icon/index.mjs +0 -2
- package/dist/types/Icon/index.mjs.map +0 -1
- package/dist/utils/isReactNodeRenderable.cjs +0 -20
- package/dist/utils/isReactNodeRenderable.cjs.map +0 -1
- package/dist/utils/isReactNodeRenderable.d.cts +0 -15
- package/dist/utils/isReactNodeRenderable.d.cts.map +0 -1
- package/dist/utils/isReactNodeRenderable.d.mts +0 -15
- package/dist/utils/isReactNodeRenderable.d.mts.map +0 -1
- package/dist/utils/isReactNodeRenderable.mjs +0 -16
- package/dist/utils/isReactNodeRenderable.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.IconAlertSeverity = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
|
|
4
4
|
var caip_address_1 = require("./utils/caip-address.cjs");
|
|
5
5
|
Object.defineProperty(exports, "extractAccountAddress", { enumerable: true, get: function () { return caip_address_1.extractAccountAddress; } });
|
|
6
6
|
Object.defineProperty(exports, "generateSeedEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedEthereum; } });
|
|
7
7
|
Object.defineProperty(exports, "generateSeedNonEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedNonEthereum; } });
|
|
8
8
|
Object.defineProperty(exports, "isEthereumAddress", { enumerable: true, get: function () { return caip_address_1.isEthereumAddress; } });
|
|
9
9
|
Object.defineProperty(exports, "generateIconSeed", { enumerable: true, get: function () { return caip_address_1.generateIconSeed; } });
|
|
10
|
-
var isReactNodeRenderable_1 = require("./utils/isReactNodeRenderable.cjs");
|
|
11
|
-
Object.defineProperty(exports, "isReactNodeRenderable", { enumerable: true, get: function () { return isReactNodeRenderable_1.isReactNodeRenderable; } });
|
|
12
10
|
// AvatarBase types (ADR-0003 + ADR-0004)
|
|
13
11
|
var AvatarBase_1 = require("./types/AvatarBase/index.cjs");
|
|
14
12
|
Object.defineProperty(exports, "AvatarBaseSize", { enumerable: true, get: function () { return AvatarBase_1.AvatarBaseSize; } });
|
|
@@ -52,9 +50,4 @@ Object.defineProperty(exports, "TextVariant", { enumerable: true, get: function
|
|
|
52
50
|
// AvatarFavicon types (ADR-0004)
|
|
53
51
|
var AvatarFavicon_1 = require("./types/AvatarFavicon/index.cjs");
|
|
54
52
|
Object.defineProperty(exports, "AvatarFaviconSize", { enumerable: true, get: function () { return AvatarFavicon_1.AvatarFaviconSize; } });
|
|
55
|
-
// Icon types (ADR-0003 + ADR-0004)
|
|
56
|
-
var Icon_1 = require("./types/Icon/index.cjs");
|
|
57
|
-
Object.defineProperty(exports, "IconColor", { enumerable: true, get: function () { return Icon_1.IconColor; } });
|
|
58
|
-
Object.defineProperty(exports, "IconName", { enumerable: true, get: function () { return Icon_1.IconName; } });
|
|
59
|
-
Object.defineProperty(exports, "IconSize", { enumerable: true, get: function () { return Icon_1.IconSize; } });
|
|
60
53
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,6GAAA,eAAe,OAAA;AAIjB,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;AAC1C,6DAI6B;AAH3B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AAIjB,wCAAwC;AACxC,yDAG2B;AAFzB,8GAAA,iBAAiB,OAAA;AAgBnB,2CAA2C;AAC3C,+DAK8B;AAJ5B,mHAAA,mBAAmB,OAAA;AASrB,0CAA0C;AAC1C,6DAG6B;AAF3B,iHAAA,kBAAkB,OAAA;AAUpB,0CAA0C;AAC1C,6DAG6B;AAF3B,8GAAA,eAAe,OAAA;AAIjB,0CAA0C;AAC1C,6DAG6B;AAF3B,kHAAA,mBAAmB,OAAA;AAOrB,2CAA2C;AAC3C,+DAK8B;AAJ5B,+HAAA,+BAA+B,OAAA;AAC/B,oHAAA,oBAAoB,OAAA;AAKtB,iEAI+B;AAH7B,kHAAA,iBAAiB,OAAA;AACjB,qHAAA,oBAAoB,OAAA;AAItB,mCAAmC;AACnC,+CAOsB;AANpB,kGAAA,UAAU,OAAA;AACV,iGAAA,SAAS,OAAA;AACT,kGAAA,UAAU,OAAA;AACV,iGAAA,SAAS,OAAA;AACT,mGAAA,WAAW,OAAA;AAIb,iCAAiC;AACjC,iEAG+B;AAF7B,kHAAA,iBAAiB,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.cjs";
|
|
2
|
-
export { isReactNodeRenderable } from "./utils/isReactNodeRenderable.cjs";
|
|
3
2
|
export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.cjs";
|
|
4
3
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.cjs";
|
|
5
4
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
|
|
@@ -21,5 +20,4 @@ export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared,
|
|
|
21
20
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.cjs";
|
|
22
21
|
export { AvatarFaviconSize, type AvatarFaviconPropsShared, } from "./types/AvatarFavicon/index.cjs";
|
|
23
22
|
export { type CheckboxPropsShared } from "./types/Checkbox/index.cjs";
|
|
24
|
-
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
25
23
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,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tB,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.mjs";
|
|
2
|
-
export { isReactNodeRenderable } from "./utils/isReactNodeRenderable.mjs";
|
|
3
2
|
export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.mjs";
|
|
4
3
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.mjs";
|
|
5
4
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
|
|
@@ -21,5 +20,4 @@ export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared,
|
|
|
21
20
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.mjs";
|
|
22
21
|
export { AvatarFaviconSize, type AvatarFaviconPropsShared, } from "./types/AvatarFavicon/index.mjs";
|
|
23
22
|
export { type CheckboxPropsShared } from "./types/Checkbox/index.mjs";
|
|
24
|
-
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
25
23
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EAC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WAAW,EACX,KAAK,eAAe,GACrB,+BAAqB;AAGtB,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed } from "./utils/caip-address.mjs";
|
|
2
|
-
export { isReactNodeRenderable } from "./utils/isReactNodeRenderable.mjs";
|
|
3
2
|
// AvatarBase types (ADR-0003 + ADR-0004)
|
|
4
3
|
export { AvatarBaseSize, AvatarBaseShape } from "./types/AvatarBase/index.mjs";
|
|
5
4
|
// BadgeCount types (ADR-0003 + ADR-0004)
|
|
@@ -23,6 +22,4 @@ export { AvatarAccountSize, AvatarAccountVariant } from "./types/AvatarAccount/i
|
|
|
23
22
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant } from "./types/Text/index.mjs";
|
|
24
23
|
// AvatarFavicon types (ADR-0004)
|
|
25
24
|
export { AvatarFaviconSize } from "./types/AvatarFavicon/index.mjs";
|
|
26
|
-
// Icon types (ADR-0003 + ADR-0004)
|
|
27
|
-
export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
28
25
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EAElB,oCAA0B;AAc3B,2CAA2C;AAC3C,OAAO,EACL,mBAAmB,EAIpB,uCAA6B;AAK9B,0CAA0C;AAC1C,OAAO,EACL,kBAAkB,EAEnB,sCAA4B;AAQ7B,0CAA0C;AAC1C,OAAO,EACL,eAAe,EAEhB,sCAA4B;AAE7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B;AAK7B,2CAA2C;AAC3C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EAGrB,uCAA6B;AAE9B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAErB,wCAA8B;AAE/B,mCAAmC;AACnC,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EAEZ,+BAAqB;AAEtB,iCAAiC;AACjC,OAAO,EACL,iBAAiB,EAElB,wCAA8B","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-shared",
|
|
3
|
-
"version": "0.11.0-preview.
|
|
3
|
+
"version": "0.11.0-preview.ba86146",
|
|
4
4
|
"description": "Shared types for design system libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dist/"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "
|
|
38
|
+
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
|
|
39
39
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/design-system-shared",
|
|
40
40
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/design-system-shared",
|
|
41
41
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
@@ -43,25 +43,20 @@
|
|
|
43
43
|
"test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
|
|
44
44
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
|
|
45
45
|
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
46
|
-
"generate-icons": "tsx scripts/generate-icons.ts",
|
|
47
46
|
"publish:preview": "yarn npm publish --tag preview"
|
|
48
47
|
},
|
|
49
48
|
"dependencies": {
|
|
50
49
|
"@metamask/utils": "^11.11.0"
|
|
51
50
|
},
|
|
52
51
|
"devDependencies": {
|
|
53
|
-
"@metamask/auto-changelog": "^6.
|
|
54
|
-
"@svgr/core": "^8.1.0",
|
|
55
|
-
"@svgr/plugin-jsx": "^8.1.0",
|
|
56
|
-
"@svgr/plugin-svgo": "^8.1.0",
|
|
52
|
+
"@metamask/auto-changelog": "^6.1.0",
|
|
57
53
|
"@ts-bridge/cli": "^0.6.3",
|
|
58
54
|
"@types/jest": "^27.4.1",
|
|
59
55
|
"@types/react": "^18.2.0",
|
|
60
56
|
"deepmerge": "^4.2.2",
|
|
61
57
|
"jest": "^29.7.0",
|
|
62
|
-
"react": "
|
|
58
|
+
"react": "18.3.1",
|
|
63
59
|
"ts-jest": "^29.2.5",
|
|
64
|
-
"tsx": "^4.20.6",
|
|
65
60
|
"typescript": "~5.2.2"
|
|
66
61
|
},
|
|
67
62
|
"peerDependencies": {
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconSize = exports.IconName = exports.IconColor = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Icon - color (ADR-0003)
|
|
6
|
-
* All icon color values shared across React and React Native platforms.
|
|
7
|
-
*/
|
|
8
|
-
exports.IconColor = {
|
|
9
|
-
/** For default neutral icons */
|
|
10
|
-
IconDefault: 'text-icon-default',
|
|
11
|
-
/** For softer neutral icons */
|
|
12
|
-
IconAlternative: 'text-icon-alternative',
|
|
13
|
-
/** For the weakest contrast neutral icons (not accessible) */
|
|
14
|
-
IconMuted: 'text-icon-muted',
|
|
15
|
-
/** For elements used on top of overlay/alternative. Used for text, icon, or border */
|
|
16
|
-
OverlayInverse: 'text-overlay-inverse',
|
|
17
|
-
/** For interactive, active, and selected semantics. Used for text, background, icon, or border */
|
|
18
|
-
PrimaryDefault: 'text-primary-default',
|
|
19
|
-
/** For softer variants of primary interactive elements */
|
|
20
|
-
PrimaryAlternative: 'text-primary-alternative',
|
|
21
|
-
/** For elements used on top of primary/default. Used for text, icon, or border */
|
|
22
|
-
PrimaryInverse: 'text-primary-inverse',
|
|
23
|
-
/** For critical alert semantic elements. Used for text, background, icon, or border */
|
|
24
|
-
ErrorDefault: 'text-error-default',
|
|
25
|
-
/** For softer variants of error elements */
|
|
26
|
-
ErrorAlternative: 'text-error-alternative',
|
|
27
|
-
/** For elements used on top of error/default. Used for text, icon, or border */
|
|
28
|
-
ErrorInverse: 'text-error-inverse',
|
|
29
|
-
/** For caution alert semantic elements. Used for text, background, icon, or border */
|
|
30
|
-
WarningDefault: 'text-warning-default',
|
|
31
|
-
/** For elements used on top of warning/default. Used for text, icon, or border */
|
|
32
|
-
WarningInverse: 'text-warning-inverse',
|
|
33
|
-
/** For positive semantic elements. Used for text, background, icon, or border */
|
|
34
|
-
SuccessDefault: 'text-success-default',
|
|
35
|
-
/** For elements used on top of success/default. Used for text, icon, or border */
|
|
36
|
-
SuccessInverse: 'text-success-inverse',
|
|
37
|
-
/** For informational read-only elements. Used for text, background, icon, or border */
|
|
38
|
-
InfoDefault: 'text-info-default',
|
|
39
|
-
/** For elements used on top of info/default. Used for text, icon, or border */
|
|
40
|
-
InfoInverse: 'text-info-inverse',
|
|
41
|
-
};
|
|
42
|
-
// /////////////////////////////////////////////////////
|
|
43
|
-
// DO NOT EDIT - generated by generate-icons.ts
|
|
44
|
-
// /////////////////////////////////////////////////////
|
|
45
|
-
/**
|
|
46
|
-
* Icon - name
|
|
47
|
-
* All icon names shared across React and React Native platforms.
|
|
48
|
-
* This block is auto-generated — do not edit directly.
|
|
49
|
-
* Run `yarn generate:icons` from the repo root to regenerate.
|
|
50
|
-
*/
|
|
51
|
-
exports.IconName = {
|
|
52
|
-
Accessibility: 'Accessibility',
|
|
53
|
-
Activity: 'Activity',
|
|
54
|
-
AddCard: 'AddCard',
|
|
55
|
-
AddCircle: 'AddCircle',
|
|
56
|
-
AddSquare: 'AddSquare',
|
|
57
|
-
Add: 'Add',
|
|
58
|
-
AfterHours: 'AfterHours',
|
|
59
|
-
Ai: 'Ai',
|
|
60
|
-
AlternateEmail: 'AlternateEmail',
|
|
61
|
-
AppleLogo: 'AppleLogo',
|
|
62
|
-
Apps: 'Apps',
|
|
63
|
-
Arrow2Down: 'Arrow2Down',
|
|
64
|
-
Arrow2Left: 'Arrow2Left',
|
|
65
|
-
Arrow2Right: 'Arrow2Right',
|
|
66
|
-
Arrow2UpRight: 'Arrow2UpRight',
|
|
67
|
-
Arrow2Up: 'Arrow2Up',
|
|
68
|
-
ArrowCircleDown: 'ArrowCircleDown',
|
|
69
|
-
ArrowCircleUp: 'ArrowCircleUp',
|
|
70
|
-
ArrowDoubleLeft: 'ArrowDoubleLeft',
|
|
71
|
-
ArrowDoubleRight: 'ArrowDoubleRight',
|
|
72
|
-
ArrowDown: 'ArrowDown',
|
|
73
|
-
ArrowDropDownCircle: 'ArrowDropDownCircle',
|
|
74
|
-
ArrowLeft: 'ArrowLeft',
|
|
75
|
-
ArrowRight: 'ArrowRight',
|
|
76
|
-
ArrowUp: 'ArrowUp',
|
|
77
|
-
AttachMoney: 'AttachMoney',
|
|
78
|
-
Attachment: 'Attachment',
|
|
79
|
-
Backspace: 'Backspace',
|
|
80
|
-
Ban: 'Ban',
|
|
81
|
-
BankAssured: 'BankAssured',
|
|
82
|
-
Bank: 'Bank',
|
|
83
|
-
Bold: 'Bold',
|
|
84
|
-
Book: 'Book',
|
|
85
|
-
Bookmark: 'Bookmark',
|
|
86
|
-
Bridge: 'Bridge',
|
|
87
|
-
Briefcase: 'Briefcase',
|
|
88
|
-
Bulb: 'Bulb',
|
|
89
|
-
BuySell: 'BuySell',
|
|
90
|
-
Cake: 'Cake',
|
|
91
|
-
Calculator: 'Calculator',
|
|
92
|
-
Calendar: 'Calendar',
|
|
93
|
-
Call: 'Call',
|
|
94
|
-
Camera: 'Camera',
|
|
95
|
-
Campaign: 'Campaign',
|
|
96
|
-
Candlestick: 'Candlestick',
|
|
97
|
-
CardPos: 'CardPos',
|
|
98
|
-
Card: 'Card',
|
|
99
|
-
Cash: 'Cash',
|
|
100
|
-
Category: 'Category',
|
|
101
|
-
Chart: 'Chart',
|
|
102
|
-
CheckBold: 'CheckBold',
|
|
103
|
-
Check: 'Check',
|
|
104
|
-
CircleX: 'CircleX',
|
|
105
|
-
Clear: 'Clear',
|
|
106
|
-
ClockFilled: 'ClockFilled',
|
|
107
|
-
Clock: 'Clock',
|
|
108
|
-
Close: 'Close',
|
|
109
|
-
CloudDownload: 'CloudDownload',
|
|
110
|
-
CloudUpload: 'CloudUpload',
|
|
111
|
-
Cloud: 'Cloud',
|
|
112
|
-
CodeCircle: 'CodeCircle',
|
|
113
|
-
Code: 'Code',
|
|
114
|
-
Coin: 'Coin',
|
|
115
|
-
Collapse: 'Collapse',
|
|
116
|
-
Confirmation: 'Confirmation',
|
|
117
|
-
Connect: 'Connect',
|
|
118
|
-
CopySuccess: 'CopySuccess',
|
|
119
|
-
Copy: 'Copy',
|
|
120
|
-
CorporateFare: 'CorporateFare',
|
|
121
|
-
CreditCheck: 'CreditCheck',
|
|
122
|
-
CurrencyFranc: 'CurrencyFranc',
|
|
123
|
-
CurrencyLira: 'CurrencyLira',
|
|
124
|
-
CurrencyPound: 'CurrencyPound',
|
|
125
|
-
CurrencyYuan: 'CurrencyYuan',
|
|
126
|
-
Customize: 'Customize',
|
|
127
|
-
Danger: 'Danger',
|
|
128
|
-
DarkFilled: 'DarkFilled',
|
|
129
|
-
Dark: 'Dark',
|
|
130
|
-
Data: 'Data',
|
|
131
|
-
Description: 'Description',
|
|
132
|
-
Details: 'Details',
|
|
133
|
-
Diagram: 'Diagram',
|
|
134
|
-
DocumentCode: 'DocumentCode',
|
|
135
|
-
Download: 'Download',
|
|
136
|
-
Draft: 'Draft',
|
|
137
|
-
EcoLeaf: 'EcoLeaf',
|
|
138
|
-
EditSquare: 'EditSquare',
|
|
139
|
-
Edit: 'Edit',
|
|
140
|
-
EncryptedAdd: 'EncryptedAdd',
|
|
141
|
-
Eraser: 'Eraser',
|
|
142
|
-
Error: 'Error',
|
|
143
|
-
Ethereum: 'Ethereum',
|
|
144
|
-
Exchange: 'Exchange',
|
|
145
|
-
ExpandVertical: 'ExpandVertical',
|
|
146
|
-
Expand: 'Expand',
|
|
147
|
-
ExploreFilled: 'ExploreFilled',
|
|
148
|
-
Explore: 'Explore',
|
|
149
|
-
Export: 'Export',
|
|
150
|
-
Extension: 'Extension',
|
|
151
|
-
EyeSlash: 'EyeSlash',
|
|
152
|
-
Eye: 'Eye',
|
|
153
|
-
FaceId: 'FaceId',
|
|
154
|
-
Feedback: 'Feedback',
|
|
155
|
-
File: 'File',
|
|
156
|
-
Filter: 'Filter',
|
|
157
|
-
Fingerprint: 'Fingerprint',
|
|
158
|
-
Fire: 'Fire',
|
|
159
|
-
FirstPage: 'FirstPage',
|
|
160
|
-
Flag: 'Flag',
|
|
161
|
-
FlashSlash: 'FlashSlash',
|
|
162
|
-
Flash: 'Flash',
|
|
163
|
-
Flask: 'Flask',
|
|
164
|
-
Flower: 'Flower',
|
|
165
|
-
Folder: 'Folder',
|
|
166
|
-
Forest: 'Forest',
|
|
167
|
-
FullCircle: 'FullCircle',
|
|
168
|
-
Gas: 'Gas',
|
|
169
|
-
Gift: 'Gift',
|
|
170
|
-
GlobalSearch: 'GlobalSearch',
|
|
171
|
-
Global: 'Global',
|
|
172
|
-
Graph: 'Graph',
|
|
173
|
-
Hardware: 'Hardware',
|
|
174
|
-
HashTag: 'HashTag',
|
|
175
|
-
HeartFilled: 'HeartFilled',
|
|
176
|
-
Heart: 'Heart',
|
|
177
|
-
Hierarchy: 'Hierarchy',
|
|
178
|
-
HomeFilled: 'HomeFilled',
|
|
179
|
-
Home: 'Home',
|
|
180
|
-
Image: 'Image',
|
|
181
|
-
Info: 'Info',
|
|
182
|
-
Inventory: 'Inventory',
|
|
183
|
-
Joystick: 'Joystick',
|
|
184
|
-
KeepFilled: 'KeepFilled',
|
|
185
|
-
Keep: 'Keep',
|
|
186
|
-
Key: 'Key',
|
|
187
|
-
LastPage: 'LastPage',
|
|
188
|
-
LightFilled: 'LightFilled',
|
|
189
|
-
Light: 'Light',
|
|
190
|
-
Link: 'Link',
|
|
191
|
-
Loading: 'Loading',
|
|
192
|
-
Location: 'Location',
|
|
193
|
-
LockSlash: 'LockSlash',
|
|
194
|
-
Lock: 'Lock',
|
|
195
|
-
LockedFilled: 'LockedFilled',
|
|
196
|
-
Login: 'Login',
|
|
197
|
-
Logout: 'Logout',
|
|
198
|
-
Mail: 'Mail',
|
|
199
|
-
Map: 'Map',
|
|
200
|
-
Menu: 'Menu',
|
|
201
|
-
MessageQuestion: 'MessageQuestion',
|
|
202
|
-
Messages: 'Messages',
|
|
203
|
-
MetamaskFoxOutline: 'MetamaskFoxOutline',
|
|
204
|
-
Mic: 'Mic',
|
|
205
|
-
MinusBold: 'MinusBold',
|
|
206
|
-
MinusSquare: 'MinusSquare',
|
|
207
|
-
Minus: 'Minus',
|
|
208
|
-
Mobile: 'Mobile',
|
|
209
|
-
MoneyBag: 'MoneyBag',
|
|
210
|
-
Money: 'Money',
|
|
211
|
-
Monitor: 'Monitor',
|
|
212
|
-
MoreHorizontal: 'MoreHorizontal',
|
|
213
|
-
MoreVertical: 'MoreVertical',
|
|
214
|
-
MountainFlag: 'MountainFlag',
|
|
215
|
-
MusicNote: 'MusicNote',
|
|
216
|
-
NoPhotography: 'NoPhotography',
|
|
217
|
-
Notification: 'Notification',
|
|
218
|
-
PageInfo: 'PageInfo',
|
|
219
|
-
Palette: 'Palette',
|
|
220
|
-
PasswordCheck: 'PasswordCheck',
|
|
221
|
-
Pending: 'Pending',
|
|
222
|
-
People: 'People',
|
|
223
|
-
PersonCancel: 'PersonCancel',
|
|
224
|
-
Pin: 'Pin',
|
|
225
|
-
Plant: 'Plant',
|
|
226
|
-
Plug: 'Plug',
|
|
227
|
-
PlusAndMinus: 'PlusAndMinus',
|
|
228
|
-
PolicyAlert: 'PolicyAlert',
|
|
229
|
-
PopUp: 'PopUp',
|
|
230
|
-
Print: 'Print',
|
|
231
|
-
PriorityHigh: 'PriorityHigh',
|
|
232
|
-
PrivacyTip: 'PrivacyTip',
|
|
233
|
-
ProgrammingArrows: 'ProgrammingArrows',
|
|
234
|
-
Publish: 'Publish',
|
|
235
|
-
QrCode: 'QrCode',
|
|
236
|
-
Question: 'Question',
|
|
237
|
-
Receive: 'Receive',
|
|
238
|
-
Received: 'Received',
|
|
239
|
-
Refresh: 'Refresh',
|
|
240
|
-
RemoveMinus: 'RemoveMinus',
|
|
241
|
-
Report: 'Report',
|
|
242
|
-
Rocket: 'Rocket',
|
|
243
|
-
SaveFilled: 'SaveFilled',
|
|
244
|
-
Save: 'Save',
|
|
245
|
-
Saving: 'Saving',
|
|
246
|
-
ScanBarcode: 'ScanBarcode',
|
|
247
|
-
ScanFocus: 'ScanFocus',
|
|
248
|
-
Scan: 'Scan',
|
|
249
|
-
Search: 'Search',
|
|
250
|
-
SecurityAlert: 'SecurityAlert',
|
|
251
|
-
SecurityCross: 'SecurityCross',
|
|
252
|
-
SecurityKey: 'SecurityKey',
|
|
253
|
-
SecuritySearch: 'SecuritySearch',
|
|
254
|
-
SecuritySlash: 'SecuritySlash',
|
|
255
|
-
SecurityTick: 'SecurityTick',
|
|
256
|
-
SecurityTime: 'SecurityTime',
|
|
257
|
-
SecurityUser: 'SecurityUser',
|
|
258
|
-
Security: 'Security',
|
|
259
|
-
Send: 'Send',
|
|
260
|
-
SentimentDissatisfied: 'SentimentDissatisfied',
|
|
261
|
-
SentimentNeutral: 'SentimentNeutral',
|
|
262
|
-
SentimentSatisfied: 'SentimentSatisfied',
|
|
263
|
-
SentimentVerySatisfied: 'SentimentVerySatisfied',
|
|
264
|
-
SettingFilled: 'SettingFilled',
|
|
265
|
-
Setting: 'Setting',
|
|
266
|
-
Share: 'Share',
|
|
267
|
-
ShieldLock: 'ShieldLock',
|
|
268
|
-
ShoppingBag: 'ShoppingBag',
|
|
269
|
-
ShoppingCart: 'ShoppingCart',
|
|
270
|
-
SidePanel: 'SidePanel',
|
|
271
|
-
SignalCellular: 'SignalCellular',
|
|
272
|
-
Slash: 'Slash',
|
|
273
|
-
Sms: 'Sms',
|
|
274
|
-
SnapsMobile: 'SnapsMobile',
|
|
275
|
-
SnapsPlus: 'SnapsPlus',
|
|
276
|
-
SnapsRound: 'SnapsRound',
|
|
277
|
-
Snaps: 'Snaps',
|
|
278
|
-
SortByAlpha: 'SortByAlpha',
|
|
279
|
-
Sort: 'Sort',
|
|
280
|
-
Sparkle: 'Sparkle',
|
|
281
|
-
Speed: 'Speed',
|
|
282
|
-
Speedometer: 'Speedometer',
|
|
283
|
-
Square: 'Square',
|
|
284
|
-
Stake: 'Stake',
|
|
285
|
-
StarFilled: 'StarFilled',
|
|
286
|
-
Star: 'Star',
|
|
287
|
-
Start: 'Start',
|
|
288
|
-
Storefront: 'Storefront',
|
|
289
|
-
Student: 'Student',
|
|
290
|
-
SwapHorizontal: 'SwapHorizontal',
|
|
291
|
-
SwapVertical: 'SwapVertical',
|
|
292
|
-
TabClose: 'TabClose',
|
|
293
|
-
TableRow: 'TableRow',
|
|
294
|
-
Tablet: 'Tablet',
|
|
295
|
-
Tag: 'Tag',
|
|
296
|
-
ThumbDownFilled: 'ThumbDownFilled',
|
|
297
|
-
ThumbDown: 'ThumbDown',
|
|
298
|
-
ThumbUpFilled: 'ThumbUpFilled',
|
|
299
|
-
ThumbUp: 'ThumbUp',
|
|
300
|
-
Tint: 'Tint',
|
|
301
|
-
Tooltip: 'Tooltip',
|
|
302
|
-
Translate: 'Translate',
|
|
303
|
-
Trash: 'Trash',
|
|
304
|
-
TrendDown: 'TrendDown',
|
|
305
|
-
TrendUp: 'TrendUp',
|
|
306
|
-
Undo: 'Undo',
|
|
307
|
-
Unfold: 'Unfold',
|
|
308
|
-
UnlockedFilled: 'UnlockedFilled',
|
|
309
|
-
Unpin: 'Unpin',
|
|
310
|
-
UploadFile: 'UploadFile',
|
|
311
|
-
Upload: 'Upload',
|
|
312
|
-
Usb: 'Usb',
|
|
313
|
-
UserCheck: 'UserCheck',
|
|
314
|
-
UserCircleAdd: 'UserCircleAdd',
|
|
315
|
-
UserCircleRemove: 'UserCircleRemove',
|
|
316
|
-
UserCircle: 'UserCircle',
|
|
317
|
-
User: 'User',
|
|
318
|
-
VerifiedFilled: 'VerifiedFilled',
|
|
319
|
-
Verified: 'Verified',
|
|
320
|
-
Videocam: 'Videocam',
|
|
321
|
-
ViewColumn: 'ViewColumn',
|
|
322
|
-
ViewInAr: 'ViewInAr',
|
|
323
|
-
VolumeOff: 'VolumeOff',
|
|
324
|
-
VolumeUp: 'VolumeUp',
|
|
325
|
-
WalletFilled: 'WalletFilled',
|
|
326
|
-
Wallet: 'Wallet',
|
|
327
|
-
Warning: 'Warning',
|
|
328
|
-
WebTraffic: 'WebTraffic',
|
|
329
|
-
Widgets: 'Widgets',
|
|
330
|
-
WifiOff: 'WifiOff',
|
|
331
|
-
Wifi: 'Wifi',
|
|
332
|
-
X: 'X',
|
|
333
|
-
};
|
|
334
|
-
// END generated IconName
|
|
335
|
-
/**
|
|
336
|
-
* Icon - size
|
|
337
|
-
* Common icon sizes shared across React and React Native platforms.
|
|
338
|
-
*/
|
|
339
|
-
exports.IconSize = {
|
|
340
|
-
/** Extra small - 12px */
|
|
341
|
-
Xs: 'xs',
|
|
342
|
-
/** Small - 16px */
|
|
343
|
-
Sm: 'sm',
|
|
344
|
-
/** Medium - 20px (Default) */
|
|
345
|
-
Md: 'md',
|
|
346
|
-
/** Large - 24px */
|
|
347
|
-
Lg: 'lg',
|
|
348
|
-
/** Extra large - 32px */
|
|
349
|
-
Xl: 'xl',
|
|
350
|
-
};
|
|
351
|
-
//# sourceMappingURL=Icon.types.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.cjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACt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AE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,GAAG;CACE,CAAC;AAIX,yBAAyB;AAEzB;;;GAGG;AACU,QAAA,QAAQ,GAAG;IACtB,yBAAyB;IACzB,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,8BAA8B;IAC9B,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,yBAAyB;IACzB,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * Icon - color (ADR-0003)\n * All icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCard: 'AddCard',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AlternateEmail: 'AlternateEmail',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowCircleDown: 'ArrowCircleDown',\n ArrowCircleUp: 'ArrowCircleUp',\n ArrowDoubleLeft: 'ArrowDoubleLeft',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowDropDownCircle: 'ArrowDropDownCircle',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Attachment: 'Attachment',\n Backspace: 'Backspace',\n Ban: 'Ban',\n BankAssured: 'BankAssured',\n Bank: 'Bank',\n Bold: 'Bold',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n Briefcase: 'Briefcase',\n Bulb: 'Bulb',\n BuySell: 'BuySell',\n Cake: 'Cake',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n Candlestick: 'Candlestick',\n CardPos: 'CardPos',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n Clear: 'Clear',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n CloudDownload: 'CloudDownload',\n CloudUpload: 'CloudUpload',\n Cloud: 'Cloud',\n CodeCircle: 'CodeCircle',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n CorporateFare: 'CorporateFare',\n CreditCheck: 'CreditCheck',\n CurrencyFranc: 'CurrencyFranc',\n CurrencyLira: 'CurrencyLira',\n CurrencyPound: 'CurrencyPound',\n CurrencyYuan: 'CurrencyYuan',\n Customize: 'Customize',\n Danger: 'Danger',\n DarkFilled: 'DarkFilled',\n Dark: 'Dark',\n Data: 'Data',\n Description: 'Description',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Draft: 'Draft',\n EcoLeaf: 'EcoLeaf',\n EditSquare: 'EditSquare',\n Edit: 'Edit',\n EncryptedAdd: 'EncryptedAdd',\n Eraser: 'Eraser',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n ExpandVertical: 'ExpandVertical',\n Expand: 'Expand',\n ExploreFilled: 'ExploreFilled',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n FirstPage: 'FirstPage',\n Flag: 'Flag',\n FlashSlash: 'FlashSlash',\n Flash: 'Flash',\n Flask: 'Flask',\n Flower: 'Flower',\n Folder: 'Folder',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Graph: 'Graph',\n Hardware: 'Hardware',\n HashTag: 'HashTag',\n HeartFilled: 'HeartFilled',\n Heart: 'Heart',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Inventory: 'Inventory',\n Joystick: 'Joystick',\n KeepFilled: 'KeepFilled',\n Keep: 'Keep',\n Key: 'Key',\n LastPage: 'LastPage',\n LightFilled: 'LightFilled',\n Light: 'Light',\n Link: 'Link',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n LockedFilled: 'LockedFilled',\n Login: 'Login',\n Logout: 'Logout',\n Mail: 'Mail',\n Map: 'Map',\n Menu: 'Menu',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n Mic: 'Mic',\n MinusBold: 'MinusBold',\n MinusSquare: 'MinusSquare',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Money: 'Money',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MountainFlag: 'MountainFlag',\n MusicNote: 'MusicNote',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n PageInfo: 'PageInfo',\n Palette: 'Palette',\n PasswordCheck: 'PasswordCheck',\n Pending: 'Pending',\n People: 'People',\n PersonCancel: 'PersonCancel',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PlusAndMinus: 'PlusAndMinus',\n PolicyAlert: 'PolicyAlert',\n PopUp: 'PopUp',\n Print: 'Print',\n PriorityHigh: 'PriorityHigh',\n PrivacyTip: 'PrivacyTip',\n ProgrammingArrows: 'ProgrammingArrows',\n Publish: 'Publish',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Report: 'Report',\n Rocket: 'Rocket',\n SaveFilled: 'SaveFilled',\n Save: 'Save',\n Saving: 'Saving',\n ScanBarcode: 'ScanBarcode',\n ScanFocus: 'ScanFocus',\n Scan: 'Scan',\n Search: 'Search',\n SecurityAlert: 'SecurityAlert',\n SecurityCross: 'SecurityCross',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n SecurityUser: 'SecurityUser',\n Security: 'Security',\n Send: 'Send',\n SentimentDissatisfied: 'SentimentDissatisfied',\n SentimentNeutral: 'SentimentNeutral',\n SentimentSatisfied: 'SentimentSatisfied',\n SentimentVerySatisfied: 'SentimentVerySatisfied',\n SettingFilled: 'SettingFilled',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n ShoppingBag: 'ShoppingBag',\n ShoppingCart: 'ShoppingCart',\n SidePanel: 'SidePanel',\n SignalCellular: 'SignalCellular',\n Slash: 'Slash',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n SnapsPlus: 'SnapsPlus',\n SnapsRound: 'SnapsRound',\n Snaps: 'Snaps',\n SortByAlpha: 'SortByAlpha',\n Sort: 'Sort',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Square: 'Square',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n Start: 'Start',\n Storefront: 'Storefront',\n Student: 'Student',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n TabClose: 'TabClose',\n TableRow: 'TableRow',\n Tablet: 'Tablet',\n Tag: 'Tag',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Tooltip: 'Tooltip',\n Translate: 'Translate',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Undo: 'Undo',\n Unfold: 'Unfold',\n UnlockedFilled: 'UnlockedFilled',\n Unpin: 'Unpin',\n UploadFile: 'UploadFile',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n User: 'User',\n VerifiedFilled: 'VerifiedFilled',\n Verified: 'Verified',\n Videocam: 'Videocam',\n ViewColumn: 'ViewColumn',\n ViewInAr: 'ViewInAr',\n VolumeOff: 'VolumeOff',\n VolumeUp: 'VolumeUp',\n WalletFilled: 'WalletFilled',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n Widgets: 'Widgets',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|