@metamask-previews/design-system-shared 0.7.0-preview.dff9dce → 0.8.0-preview.a73a010

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 (58) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/index.cjs +9 -8
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +2 -1
  5. package/dist/index.d.cts.map +1 -1
  6. package/dist/index.d.mts +2 -1
  7. package/dist/index.d.mts.map +1 -1
  8. package/dist/index.mjs +2 -2
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/types/Box/Box.types.cjs +176 -0
  11. package/dist/types/Box/Box.types.cjs.map +1 -0
  12. package/dist/types/Box/Box.types.d.cts +297 -0
  13. package/dist/types/Box/Box.types.d.cts.map +1 -0
  14. package/dist/types/Box/Box.types.d.mts +297 -0
  15. package/dist/types/Box/Box.types.d.mts.map +1 -0
  16. package/dist/types/Box/Box.types.mjs +173 -0
  17. package/dist/types/Box/Box.types.mjs.map +1 -0
  18. package/dist/types/Box/index.cjs +11 -0
  19. package/dist/types/Box/index.cjs.map +1 -0
  20. package/dist/types/Box/index.d.cts +2 -0
  21. package/dist/types/Box/index.d.cts.map +1 -0
  22. package/dist/types/Box/index.d.mts +2 -0
  23. package/dist/types/Box/index.d.mts.map +1 -0
  24. package/dist/types/Box/index.mjs +2 -0
  25. package/dist/types/Box/index.mjs.map +1 -0
  26. package/dist/types/KeyValueColumn/KeyValueColumn.types.cjs +3 -0
  27. package/dist/types/KeyValueColumn/KeyValueColumn.types.cjs.map +1 -0
  28. package/dist/types/KeyValueColumn/KeyValueColumn.types.d.cts +20 -0
  29. package/dist/types/KeyValueColumn/KeyValueColumn.types.d.cts.map +1 -0
  30. package/dist/types/KeyValueColumn/KeyValueColumn.types.d.mts +20 -0
  31. package/dist/types/KeyValueColumn/KeyValueColumn.types.d.mts.map +1 -0
  32. package/dist/types/KeyValueColumn/KeyValueColumn.types.mjs +2 -0
  33. package/dist/types/KeyValueColumn/KeyValueColumn.types.mjs.map +1 -0
  34. package/dist/types/KeyValueColumn/index.cjs +3 -0
  35. package/dist/types/KeyValueColumn/index.cjs.map +1 -0
  36. package/dist/types/KeyValueColumn/index.d.cts +2 -0
  37. package/dist/types/KeyValueColumn/index.d.cts.map +1 -0
  38. package/dist/types/KeyValueColumn/index.d.mts +2 -0
  39. package/dist/types/KeyValueColumn/index.d.mts.map +1 -0
  40. package/dist/types/KeyValueColumn/index.mjs +2 -0
  41. package/dist/types/KeyValueColumn/index.mjs.map +1 -0
  42. package/package.json +1 -1
  43. package/dist/types/Text/Text.types.cjs +0 -118
  44. package/dist/types/Text/Text.types.cjs.map +0 -1
  45. package/dist/types/Text/Text.types.d.cts +0 -140
  46. package/dist/types/Text/Text.types.d.cts.map +0 -1
  47. package/dist/types/Text/Text.types.d.mts +0 -140
  48. package/dist/types/Text/Text.types.d.mts.map +0 -1
  49. package/dist/types/Text/Text.types.mjs +0 -115
  50. package/dist/types/Text/Text.types.mjs.map +0 -1
  51. package/dist/types/Text/index.cjs +0 -10
  52. package/dist/types/Text/index.cjs.map +0 -1
  53. package/dist/types/Text/index.d.cts +0 -2
  54. package/dist/types/Text/index.d.cts.map +0 -1
  55. package/dist/types/Text/index.d.mts +0 -2
  56. package/dist/types/Text/index.d.mts.map +0 -1
  57. package/dist/types/Text/index.mjs +0 -2
  58. package/dist/types/Text/index.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.8.0]
11
+
12
+ ### Added
13
+
14
+ - Added `AvatarToken` shared types (`AvatarTokenSize`, `AvatarTokenPropsShared`) for cross-platform use ([#1009](https://github.com/MetaMask/metamask-design-system/pull/1009))
15
+ - Added `AvatarAccount` shared types (`AvatarAccountPropsShared`) for cross-platform use ([#1015](https://github.com/MetaMask/metamask-design-system/pull/1015))
16
+
10
17
  ## [0.7.0]
11
18
 
12
19
  ### Added
@@ -87,7 +94,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
87
94
  - **Initial release** - MetaMask Design System Shared
88
95
  - Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
89
96
 
90
- [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.7.0...HEAD
97
+ [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.8.0...HEAD
98
+ [0.8.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.7.0...@metamask/design-system-shared@0.8.0
91
99
  [0.7.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.6.0...@metamask/design-system-shared@0.7.0
92
100
  [0.6.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.5.0...@metamask/design-system-shared@0.6.0
93
101
  [0.5.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.4.0...@metamask/design-system-shared@0.5.0
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.isReactNodeRenderable = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
3
+ exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.isReactNodeRenderable = 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; } });
@@ -33,11 +33,12 @@ Object.defineProperty(exports, "BadgeWrapperPosition", { enumerable: true, get:
33
33
  var AvatarAccount_1 = require("./types/AvatarAccount/index.cjs");
34
34
  Object.defineProperty(exports, "AvatarAccountSize", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccountSize; } });
35
35
  Object.defineProperty(exports, "AvatarAccountVariant", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccountVariant; } });
36
- // Text types (ADR-0003 + ADR-0004)
37
- var Text_1 = require("./types/Text/index.cjs");
38
- Object.defineProperty(exports, "FontFamily", { enumerable: true, get: function () { return Text_1.FontFamily; } });
39
- Object.defineProperty(exports, "FontStyle", { enumerable: true, get: function () { return Text_1.FontStyle; } });
40
- Object.defineProperty(exports, "FontWeight", { enumerable: true, get: function () { return Text_1.FontWeight; } });
41
- Object.defineProperty(exports, "TextColor", { enumerable: true, get: function () { return Text_1.TextColor; } });
42
- Object.defineProperty(exports, "TextVariant", { enumerable: true, get: function () { return Text_1.TextVariant; } });
36
+ // Box types (ADR-0003 + ADR-0004)
37
+ var Box_1 = require("./types/Box/index.cjs");
38
+ Object.defineProperty(exports, "BoxFlexDirection", { enumerable: true, get: function () { return Box_1.BoxFlexDirection; } });
39
+ Object.defineProperty(exports, "BoxFlexWrap", { enumerable: true, get: function () { return Box_1.BoxFlexWrap; } });
40
+ Object.defineProperty(exports, "BoxAlignItems", { enumerable: true, get: function () { return Box_1.BoxAlignItems; } });
41
+ Object.defineProperty(exports, "BoxJustifyContent", { enumerable: true, get: function () { return Box_1.BoxJustifyContent; } });
42
+ Object.defineProperty(exports, "BoxBackgroundColor", { enumerable: true, get: function () { return Box_1.BoxBackgroundColor; } });
43
+ Object.defineProperty(exports, "BoxBorderColor", { enumerable: true, get: function () { return Box_1.BoxBorderColor; } });
43
44
  //# sourceMappingURL=index.cjs.map
@@ -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,2EAAsE;AAA7D,8HAAA,qBAAqB,OAAA;AAE9B,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;AAsBjB,0CAA0C;AAC1C,6DAG6B;AAF3B,8GAAA,eAAe,OAAA;AAIjB,0CAA0C;AAC1C,6DAG6B;AAF3B,kHAAA,mBAAmB,OAAA;AAIrB,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","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { isReactNodeRenderable } from './utils/isReactNodeRenderable';\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// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxHorizontal types (ADR-0004)\nexport { type BoxHorizontalPropsShared } from './types/BoxHorizontal';\n\n// BoxVertical types (ADR-0004)\nexport { type BoxVerticalPropsShared } from './types/BoxVertical';\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// 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"]}
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,2EAAsE;AAA7D,8HAAA,qBAAqB,OAAA;AAE9B,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;AAyBjB,0CAA0C;AAC1C,6DAG6B;AAF3B,8GAAA,eAAe,OAAA;AAIjB,0CAA0C;AAC1C,6DAG6B;AAF3B,kHAAA,mBAAmB,OAAA;AAIrB,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,kCAAkC;AAClC,6CAUqB;AATnB,uGAAA,gBAAgB,OAAA;AAChB,kGAAA,WAAW,OAAA;AACX,oGAAA,aAAa,OAAA;AACb,wGAAA,iBAAiB,OAAA;AACjB,yGAAA,kBAAkB,OAAA;AAClB,qGAAA,cAAc,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { isReactNodeRenderable } from './utils/isReactNodeRenderable';\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// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxHorizontal types (ADR-0004)\nexport { type BoxHorizontalPropsShared } from './types/BoxHorizontal';\n\n// BoxVertical types (ADR-0004)\nexport { type BoxVerticalPropsShared } from './types/BoxVertical';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\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// 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// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n"]}
package/dist/index.d.cts CHANGED
@@ -7,11 +7,12 @@ export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
7
7
  export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.cjs";
8
8
  export { type BoxHorizontalPropsShared } from "./types/BoxHorizontal/index.cjs";
9
9
  export { type BoxVerticalPropsShared } from "./types/BoxVertical/index.cjs";
10
+ export { type KeyValueColumnPropsShared } from "./types/KeyValueColumn/index.cjs";
10
11
  export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
11
12
  export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.cjs";
12
13
  export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.cjs";
13
14
  export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
14
15
  export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrapperCustomPosition, type BadgeWrapperPropsShared, } from "./types/BadgeWrapper/index.cjs";
15
16
  export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.cjs";
16
- export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.cjs";
17
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.cjs";
17
18
  //# sourceMappingURL=index.d.cts.map
@@ -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;AAE9B,OAAO,EAAE,qBAAqB,EAAE,0CAAsC;AAGtE,OA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L,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhE,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,KAAK,sBAAsB,EAAE,sCAA4B;AAGlE,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EACL,eAAe,EACf,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,GAC7B,uCAA6B;AAE9B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,8BAAoB"}
package/dist/index.d.mts CHANGED
@@ -7,11 +7,12 @@ export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
7
7
  export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.mjs";
8
8
  export { type BoxHorizontalPropsShared } from "./types/BoxHorizontal/index.mjs";
9
9
  export { type BoxVerticalPropsShared } from "./types/BoxVertical/index.mjs";
10
+ export { type KeyValueColumnPropsShared } from "./types/KeyValueColumn/index.mjs";
10
11
  export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
11
12
  export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.mjs";
12
13
  export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.mjs";
13
14
  export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
14
15
  export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrapperCustomPosition, type BadgeWrapperPropsShared, } from "./types/BadgeWrapper/index.mjs";
15
16
  export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.mjs";
16
- export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.mjs";
17
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.mjs";
17
18
  //# sourceMappingURL=index.d.mts.map
@@ -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;AAE9B,OAAO,EAAE,qBAAqB,EAAE,0CAAsC;AAGtE,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhF,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhE,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,KAAK,sBAAsB,EAAE,sCAA4B;AAGlE,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EAAE,KAAK,wBAA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O,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,GAC7B,uCAA6B;AAE9B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,8BAAoB"}
package/dist/index.mjs CHANGED
@@ -13,6 +13,6 @@ export { BannerAlertSeverity } from "./types/BannerAlert/index.mjs";
13
13
  // BadgeWrapper types (ADR-0003 + ADR-0004)
14
14
  export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition } from "./types/BadgeWrapper/index.mjs";
15
15
  export { AvatarAccountSize, AvatarAccountVariant } from "./types/AvatarAccount/index.mjs";
16
- // Text types (ADR-0003 + ADR-0004)
17
- export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant } from "./types/Text/index.mjs";
16
+ // Box types (ADR-0003 + ADR-0004)
17
+ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "./types/Box/index.mjs";
18
18
  //# sourceMappingURL=index.mjs.map
@@ -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,OAAO,EAAE,qBAAqB,EAAE,0CAAsC;AAEtE,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;AAoB7B,0CAA0C;AAC1C,OAAO,EACL,eAAe,EAEhB,sCAA4B;AAE7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B;AAE7B,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","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { isReactNodeRenderable } from './utils/isReactNodeRenderable';\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// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxHorizontal types (ADR-0004)\nexport { type BoxHorizontalPropsShared } from './types/BoxHorizontal';\n\n// BoxVertical types (ADR-0004)\nexport { type BoxVerticalPropsShared } from './types/BoxVertical';\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// 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"]}
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,OAAO,EAAE,qBAAqB,EAAE,0CAAsC;AAEtE,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;AAuB7B,0CAA0C;AAC1C,OAAO,EACL,eAAe,EAEhB,sCAA4B;AAE7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B;AAE7B,2CAA2C;AAC3C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EAGrB,uCAA6B;AAE9B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAErB,wCAA8B;AAE/B,kCAAkC;AAClC,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAIf,8BAAoB","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { isReactNodeRenderable } from './utils/isReactNodeRenderable';\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// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// BoxHorizontal types (ADR-0004)\nexport { type BoxHorizontalPropsShared } from './types/BoxHorizontal';\n\n// BoxVertical types (ADR-0004)\nexport { type BoxVerticalPropsShared } from './types/BoxVertical';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\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// 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// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n"]}
@@ -0,0 +1,176 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = void 0;
4
+ /**
5
+ * Box - flexDirection
6
+ * Convert from enum to const object (ADR-0003)
7
+ */
8
+ exports.BoxFlexDirection = {
9
+ Row: 'flex-row',
10
+ RowReverse: 'flex-row-reverse',
11
+ Column: 'flex-col',
12
+ ColumnReverse: 'flex-col-reverse',
13
+ };
14
+ /**
15
+ * Box - flexWrap
16
+ * Convert from enum to const object (ADR-0003)
17
+ */
18
+ exports.BoxFlexWrap = {
19
+ NoWrap: 'flex-nowrap',
20
+ Wrap: 'flex-wrap',
21
+ WrapReverse: 'flex-wrap-reverse',
22
+ };
23
+ /**
24
+ * Box - alignItems
25
+ * Convert from enum to const object (ADR-0003)
26
+ */
27
+ exports.BoxAlignItems = {
28
+ Start: 'items-start',
29
+ Center: 'items-center',
30
+ End: 'items-end',
31
+ Stretch: 'items-stretch',
32
+ Baseline: 'items-baseline',
33
+ };
34
+ /**
35
+ * Box - justifyContent
36
+ * Convert from enum to const object (ADR-0003)
37
+ */
38
+ exports.BoxJustifyContent = {
39
+ Start: 'justify-start',
40
+ Center: 'justify-center',
41
+ End: 'justify-end',
42
+ Between: 'justify-between',
43
+ Around: 'justify-around',
44
+ Evenly: 'justify-evenly',
45
+ };
46
+ /**
47
+ * Box - backgroundColor
48
+ * Convert from enum to const object (ADR-0003)
49
+ */
50
+ exports.BoxBackgroundColor = {
51
+ /** Default background color */
52
+ BackgroundDefault: 'bg-default',
53
+ /** Alternative background color */
54
+ BackgroundAlternative: 'bg-alternative',
55
+ /** Section background color */
56
+ BackgroundSection: 'bg-section',
57
+ /** Subsection background color */
58
+ BackgroundSubsection: 'bg-subsection',
59
+ /** Muted background color */
60
+ BackgroundMuted: 'bg-muted',
61
+ /** Primary default background color */
62
+ PrimaryDefault: 'bg-primary-default',
63
+ /** Primary alternative background color */
64
+ PrimaryAlternative: 'bg-primary-alternative',
65
+ /** Primary muted background color */
66
+ PrimaryMuted: 'bg-primary-muted',
67
+ /** Primary inverse background color */
68
+ PrimaryInverse: 'bg-primary-inverse',
69
+ /** Error default background color */
70
+ ErrorDefault: 'bg-error-default',
71
+ /** Error alternative background color */
72
+ ErrorAlternative: 'bg-error-alternative',
73
+ /** Error muted background color */
74
+ ErrorMuted: 'bg-error-muted',
75
+ /** Error inverse background color */
76
+ ErrorInverse: 'bg-error-inverse',
77
+ /** Warning default background color */
78
+ WarningDefault: 'bg-warning-default',
79
+ /** Warning alternative background color */
80
+ WarningAlternative: 'bg-warning-alternative',
81
+ /** Warning muted background color */
82
+ WarningMuted: 'bg-warning-muted',
83
+ /** Warning inverse background color */
84
+ WarningInverse: 'bg-warning-inverse',
85
+ /** Success default background color */
86
+ SuccessDefault: 'bg-success-default',
87
+ /** Success alternative background color */
88
+ SuccessAlternative: 'bg-success-alternative',
89
+ /** Success muted background color */
90
+ SuccessMuted: 'bg-success-muted',
91
+ /** Success inverse background color */
92
+ SuccessInverse: 'bg-success-inverse',
93
+ /** Info default background color */
94
+ InfoDefault: 'bg-info-default',
95
+ /** Info muted background color */
96
+ InfoMuted: 'bg-info-muted',
97
+ /** Info inverse background color */
98
+ InfoInverse: 'bg-info-inverse',
99
+ /** Flask default background color */
100
+ FlaskDefault: 'bg-flask-default',
101
+ /** Flask inverse background color */
102
+ FlaskInverse: 'bg-flask-inverse',
103
+ /** Overlay alternative background color */
104
+ OverlayAlternative: 'bg-overlay-alternative',
105
+ /** Overlay default background color */
106
+ OverlayDefault: 'bg-overlay-default',
107
+ /** Overlay inverse background color */
108
+ OverlayInverse: 'bg-overlay-inverse',
109
+ /** Transparent background color */
110
+ Transparent: 'bg-transparent',
111
+ };
112
+ /**
113
+ * Box - borderColor
114
+ * Convert from enum to const object (ADR-0003)
115
+ */
116
+ exports.BoxBorderColor = {
117
+ /** Background default for cut out effect */
118
+ BackgroundDefault: 'border-background-default',
119
+ /** Default border color */
120
+ BorderDefault: 'border-default',
121
+ /** Muted border color */
122
+ BorderMuted: 'border-muted',
123
+ /** Primary default border color */
124
+ PrimaryDefault: 'border-primary-default',
125
+ /** Primary alternative border color */
126
+ PrimaryAlternative: 'border-primary-alternative',
127
+ /** Primary muted border color */
128
+ PrimaryMuted: 'border-primary-muted',
129
+ /** Primary inverse border color */
130
+ PrimaryInverse: 'border-primary-inverse',
131
+ /** Error default border color */
132
+ ErrorDefault: 'border-error-default',
133
+ /** Error alternative border color */
134
+ ErrorAlternative: 'border-error-alternative',
135
+ /** Error muted border color */
136
+ ErrorMuted: 'border-error-muted',
137
+ /** Error inverse border color */
138
+ ErrorInverse: 'border-error-inverse',
139
+ /** Warning default border color */
140
+ WarningDefault: 'border-warning-default',
141
+ /** Warning alternative border color */
142
+ WarningAlternative: 'border-warning-alternative',
143
+ /** Warning muted border color */
144
+ WarningMuted: 'border-warning-muted',
145
+ /** Warning inverse border color */
146
+ WarningInverse: 'border-warning-inverse',
147
+ /** Success default border color */
148
+ SuccessDefault: 'border-success-default',
149
+ /** Success alternative border color */
150
+ SuccessAlternative: 'border-success-alternative',
151
+ /** Success muted border color */
152
+ SuccessMuted: 'border-success-muted',
153
+ /** Success inverse border color */
154
+ SuccessInverse: 'border-success-inverse',
155
+ /** Info default border color */
156
+ InfoDefault: 'border-info-default',
157
+ /** Info alternative border color */
158
+ InfoAlternative: 'border-info-alternative',
159
+ /** Info muted border color */
160
+ InfoMuted: 'border-info-muted',
161
+ /** Info inverse border color */
162
+ InfoInverse: 'border-info-inverse',
163
+ /** Flask default border color */
164
+ FlaskDefault: 'border-flask-default',
165
+ /** Flask inverse border color */
166
+ FlaskInverse: 'border-flask-inverse',
167
+ /** Overlay alternative border color */
168
+ OverlayAlternative: 'border-overlay-alternative',
169
+ /** Overlay default border color */
170
+ OverlayDefault: 'border-overlay-default',
171
+ /** Overlay inverse border color */
172
+ OverlayInverse: 'border-overlay-inverse',
173
+ /** Transparent border color */
174
+ Transparent: 'border-transparent',
175
+ };
176
+ //# sourceMappingURL=Box.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.types.cjs","sourceRoot":"","sources":["../../../src/types/Box/Box.types.ts"],"names":[],"mappings":";;;AAUA;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC9B,GAAG,EAAE,UAAU;IACf,UAAU,EAAE,kBAAkB;IAC9B,MAAM,EAAE,UAAU;IAClB,aAAa,EAAE,kBAAkB;CACzB,CAAC;AAIX;;;GAGG;AACU,QAAA,WAAW,GAAG;IACzB,MAAM,EAAE,aAAa;IACrB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,mBAAmB;CACxB,CAAC;AAGX;;;GAGG;AACU,QAAA,aAAa,GAAG;IAC3B,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,cAAc;IACtB,GAAG,EAAE,WAAW;IAChB,OAAO,EAAE,eAAe;IACxB,QAAQ,EAAE,gBAAgB;CAClB,CAAC;AAGX;;;GAGG;AACU,QAAA,iBAAiB,GAAG;IAC/B,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,GAAG,EAAE,aAAa;IAClB,OAAO,EAAE,iBAAiB;IAC1B,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,gBAAgB;CAChB,CAAC;AAIX;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC,+BAA+B;IAC/B,iBAAiB,EAAE,YAAY;IAC/B,mCAAmC;IACnC,qBAAqB,EAAE,gBAAgB;IACvC,+BAA+B;IAC/B,iBAAiB,EAAE,YAAY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 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n\n/**\n * Box - border width values (only valid Tailwind CSS border width utilities)\n */\nexport type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;\n\n/**\n * Box - flexDirection\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxFlexDirection = {\n Row: 'flex-row',\n RowReverse: 'flex-row-reverse',\n Column: 'flex-col',\n ColumnReverse: 'flex-col-reverse',\n} as const;\nexport type BoxFlexDirection =\n (typeof BoxFlexDirection)[keyof typeof BoxFlexDirection];\n\n/**\n * Box - flexWrap\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxFlexWrap = {\n NoWrap: 'flex-nowrap',\n Wrap: 'flex-wrap',\n WrapReverse: 'flex-wrap-reverse',\n} as const;\nexport type BoxFlexWrap = (typeof BoxFlexWrap)[keyof typeof BoxFlexWrap];\n\n/**\n * Box - alignItems\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxAlignItems = {\n Start: 'items-start',\n Center: 'items-center',\n End: 'items-end',\n Stretch: 'items-stretch',\n Baseline: 'items-baseline',\n} as const;\nexport type BoxAlignItems = (typeof BoxAlignItems)[keyof typeof BoxAlignItems];\n\n/**\n * Box - justifyContent\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxJustifyContent = {\n Start: 'justify-start',\n Center: 'justify-center',\n End: 'justify-end',\n Between: 'justify-between',\n Around: 'justify-around',\n Evenly: 'justify-evenly',\n} as const;\nexport type BoxJustifyContent =\n (typeof BoxJustifyContent)[keyof typeof BoxJustifyContent];\n\n/**\n * Box - backgroundColor\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxBackgroundColor = {\n /** Default background color */\n BackgroundDefault: 'bg-default',\n /** Alternative background color */\n BackgroundAlternative: 'bg-alternative',\n /** Section background color */\n BackgroundSection: 'bg-section',\n /** Subsection background color */\n BackgroundSubsection: 'bg-subsection',\n /** Muted background color */\n BackgroundMuted: 'bg-muted',\n /** Primary default background color */\n PrimaryDefault: 'bg-primary-default',\n /** Primary alternative background color */\n PrimaryAlternative: 'bg-primary-alternative',\n /** Primary muted background color */\n PrimaryMuted: 'bg-primary-muted',\n /** Primary inverse background color */\n PrimaryInverse: 'bg-primary-inverse',\n /** Error default background color */\n ErrorDefault: 'bg-error-default',\n /** Error alternative background color */\n ErrorAlternative: 'bg-error-alternative',\n /** Error muted background color */\n ErrorMuted: 'bg-error-muted',\n /** Error inverse background color */\n ErrorInverse: 'bg-error-inverse',\n /** Warning default background color */\n WarningDefault: 'bg-warning-default',\n /** Warning alternative background color */\n WarningAlternative: 'bg-warning-alternative',\n /** Warning muted background color */\n WarningMuted: 'bg-warning-muted',\n /** Warning inverse background color */\n WarningInverse: 'bg-warning-inverse',\n /** Success default background color */\n SuccessDefault: 'bg-success-default',\n /** Success alternative background color */\n SuccessAlternative: 'bg-success-alternative',\n /** Success muted background color */\n SuccessMuted: 'bg-success-muted',\n /** Success inverse background color */\n SuccessInverse: 'bg-success-inverse',\n /** Info default background color */\n InfoDefault: 'bg-info-default',\n /** Info muted background color */\n InfoMuted: 'bg-info-muted',\n /** Info inverse background color */\n InfoInverse: 'bg-info-inverse',\n /** Flask default background color */\n FlaskDefault: 'bg-flask-default',\n /** Flask inverse background color */\n FlaskInverse: 'bg-flask-inverse',\n /** Overlay alternative background color */\n OverlayAlternative: 'bg-overlay-alternative',\n /** Overlay default background color */\n OverlayDefault: 'bg-overlay-default',\n /** Overlay inverse background color */\n OverlayInverse: 'bg-overlay-inverse',\n /** Transparent background color */\n Transparent: 'bg-transparent',\n} as const;\nexport type BoxBackgroundColor =\n (typeof BoxBackgroundColor)[keyof typeof BoxBackgroundColor];\n\n/**\n * Box - borderColor\n * Convert from enum to const object (ADR-0003)\n */\nexport const BoxBorderColor = {\n /** Background default for cut out effect */\n BackgroundDefault: 'border-background-default',\n /** Default border color */\n BorderDefault: 'border-default',\n /** Muted border color */\n BorderMuted: 'border-muted',\n /** Primary default border color */\n PrimaryDefault: 'border-primary-default',\n /** Primary alternative border color */\n PrimaryAlternative: 'border-primary-alternative',\n /** Primary muted border color */\n PrimaryMuted: 'border-primary-muted',\n /** Primary inverse border color */\n PrimaryInverse: 'border-primary-inverse',\n /** Error default border color */\n ErrorDefault: 'border-error-default',\n /** Error alternative border color */\n ErrorAlternative: 'border-error-alternative',\n /** Error muted border color */\n ErrorMuted: 'border-error-muted',\n /** Error inverse border color */\n ErrorInverse: 'border-error-inverse',\n /** Warning default border color */\n WarningDefault: 'border-warning-default',\n /** Warning alternative border color */\n WarningAlternative: 'border-warning-alternative',\n /** Warning muted border color */\n WarningMuted: 'border-warning-muted',\n /** Warning inverse border color */\n WarningInverse: 'border-warning-inverse',\n /** Success default border color */\n SuccessDefault: 'border-success-default',\n /** Success alternative border color */\n SuccessAlternative: 'border-success-alternative',\n /** Success muted border color */\n SuccessMuted: 'border-success-muted',\n /** Success inverse border color */\n SuccessInverse: 'border-success-inverse',\n /** Info default border color */\n InfoDefault: 'border-info-default',\n /** Info alternative border color */\n InfoAlternative: 'border-info-alternative',\n /** Info muted border color */\n InfoMuted: 'border-info-muted',\n /** Info inverse border color */\n InfoInverse: 'border-info-inverse',\n /** Flask default border color */\n FlaskDefault: 'border-flask-default',\n /** Flask inverse border color */\n FlaskInverse: 'border-flask-inverse',\n /** Overlay alternative border color */\n OverlayAlternative: 'border-overlay-alternative',\n /** Overlay default border color */\n OverlayDefault: 'border-overlay-default',\n /** Overlay inverse border color */\n OverlayInverse: 'border-overlay-inverse',\n /** Transparent border color */\n Transparent: 'border-transparent',\n} as const;\nexport type BoxBorderColor =\n (typeof BoxBorderColor)[keyof typeof BoxBorderColor];\n\n/**\n * Box component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxPropsShared = {\n /**\n * The flex-direction style of the component.\n */\n flexDirection?: BoxFlexDirection;\n /**\n * The flex-wrap style of the component.\n */\n flexWrap?: BoxFlexWrap;\n /**\n * The gap between the component's children.\n * Use 0-12 for a gap of 0px-48px.\n */\n gap?: BoxSpacing;\n /**\n * The align-items style of the component.\n */\n alignItems?: BoxAlignItems;\n /**\n * The justify-content style of the component.\n */\n justifyContent?: BoxJustifyContent;\n /**\n * The margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n margin?: BoxSpacing;\n /**\n * The top margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginTop?: BoxSpacing;\n /**\n * The right margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginRight?: BoxSpacing;\n /**\n * The bottom margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginBottom?: BoxSpacing;\n /**\n * The left margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginLeft?: BoxSpacing;\n /**\n * The horizontal margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginHorizontal?: BoxSpacing;\n /**\n * The vertical margin of the component.\n * Use 0-12 for margin of 0px-48px.\n */\n marginVertical?: BoxSpacing;\n /**\n * The padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n padding?: BoxSpacing;\n /**\n * The top padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingTop?: BoxSpacing;\n /**\n * The right padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingRight?: BoxSpacing;\n /**\n * The bottom padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingBottom?: BoxSpacing;\n /**\n * The left padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingLeft?: BoxSpacing;\n /**\n * The horizontal padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingHorizontal?: BoxSpacing;\n /**\n * The vertical padding of the component.\n * Use 0-12 for padding of 0px-48px.\n */\n paddingVertical?: BoxSpacing;\n /**\n * The border width of the component.\n * Use 0, 1, 2, 4, or 8 for border width of 0px, 1px, 2px, 4px, or 8px.\n */\n borderWidth?: BoxBorderWidth;\n /**\n * The border color of the component.\n */\n borderColor?: BoxBorderColor;\n /**\n * The background color of the component.\n */\n backgroundColor?: BoxBackgroundColor;\n};\n"]}