@metamask-previews/design-system-shared 0.1.2-preview.abc15cd → 0.4.0-preview.fa05289

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 (90) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/dist/index.cjs +11 -1
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +5 -0
  5. package/dist/index.d.cts.map +1 -1
  6. package/dist/index.d.mts +5 -0
  7. package/dist/index.d.mts.map +1 -1
  8. package/dist/index.mjs +6 -0
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/types/BadgeCount/BadgeCount.types.cjs +18 -0
  11. package/dist/types/BadgeCount/BadgeCount.types.cjs.map +1 -0
  12. package/dist/types/BadgeCount/BadgeCount.types.d.cts +40 -0
  13. package/dist/types/BadgeCount/BadgeCount.types.d.cts.map +1 -0
  14. package/dist/types/BadgeCount/BadgeCount.types.d.mts +40 -0
  15. package/dist/types/BadgeCount/BadgeCount.types.d.mts.map +1 -0
  16. package/dist/types/BadgeCount/BadgeCount.types.mjs +15 -0
  17. package/dist/types/BadgeCount/BadgeCount.types.mjs.map +1 -0
  18. package/dist/types/BadgeCount/index.cjs +6 -0
  19. package/dist/types/BadgeCount/index.cjs.map +1 -0
  20. package/dist/types/BadgeCount/index.d.cts +2 -0
  21. package/dist/types/BadgeCount/index.d.cts.map +1 -0
  22. package/dist/types/BadgeCount/index.d.mts +2 -0
  23. package/dist/types/BadgeCount/index.d.mts.map +1 -0
  24. package/dist/types/BadgeCount/index.mjs +2 -0
  25. package/dist/types/BadgeCount/index.mjs.map +1 -0
  26. package/dist/types/BadgeStatus/BadgeStatus.types.cjs +44 -0
  27. package/dist/types/BadgeStatus/BadgeStatus.types.cjs.map +1 -0
  28. package/dist/types/BadgeStatus/BadgeStatus.types.d.cts +74 -0
  29. package/dist/types/BadgeStatus/BadgeStatus.types.d.cts.map +1 -0
  30. package/dist/types/BadgeStatus/BadgeStatus.types.d.mts +74 -0
  31. package/dist/types/BadgeStatus/BadgeStatus.types.d.mts.map +1 -0
  32. package/dist/types/BadgeStatus/BadgeStatus.types.mjs +41 -0
  33. package/dist/types/BadgeStatus/BadgeStatus.types.mjs.map +1 -0
  34. package/dist/types/BadgeStatus/index.cjs +7 -0
  35. package/dist/types/BadgeStatus/index.cjs.map +1 -0
  36. package/dist/types/BadgeStatus/index.d.cts +2 -0
  37. package/dist/types/BadgeStatus/index.d.cts.map +1 -0
  38. package/dist/types/BadgeStatus/index.d.mts +2 -0
  39. package/dist/types/BadgeStatus/index.d.mts.map +1 -0
  40. package/dist/types/BadgeStatus/index.mjs +2 -0
  41. package/dist/types/BadgeStatus/index.mjs.map +1 -0
  42. package/dist/types/BannerAlert/BannerAlert.types.cjs +18 -0
  43. package/dist/types/BannerAlert/BannerAlert.types.cjs.map +1 -0
  44. package/dist/types/BannerAlert/BannerAlert.types.d.cts +29 -0
  45. package/dist/types/BannerAlert/BannerAlert.types.d.cts.map +1 -0
  46. package/dist/types/BannerAlert/BannerAlert.types.d.mts +29 -0
  47. package/dist/types/BannerAlert/BannerAlert.types.d.mts.map +1 -0
  48. package/dist/types/BannerAlert/BannerAlert.types.mjs +15 -0
  49. package/dist/types/BannerAlert/BannerAlert.types.mjs.map +1 -0
  50. package/dist/types/BannerAlert/index.cjs +6 -0
  51. package/dist/types/BannerAlert/index.cjs.map +1 -0
  52. package/dist/types/BannerAlert/index.d.cts +2 -0
  53. package/dist/types/BannerAlert/index.d.cts.map +1 -0
  54. package/dist/types/BannerAlert/index.d.mts +2 -0
  55. package/dist/types/BannerAlert/index.d.mts.map +1 -0
  56. package/dist/types/BannerAlert/index.mjs +2 -0
  57. package/dist/types/BannerAlert/index.mjs.map +1 -0
  58. package/dist/types/BannerBase/BannerBase.types.cjs +3 -0
  59. package/dist/types/BannerBase/BannerBase.types.cjs.map +1 -0
  60. package/dist/types/BannerBase/BannerBase.types.d.cts +28 -0
  61. package/dist/types/BannerBase/BannerBase.types.d.cts.map +1 -0
  62. package/dist/types/BannerBase/BannerBase.types.d.mts +28 -0
  63. package/dist/types/BannerBase/BannerBase.types.d.mts.map +1 -0
  64. package/dist/types/BannerBase/BannerBase.types.mjs +2 -0
  65. package/dist/types/BannerBase/BannerBase.types.mjs.map +1 -0
  66. package/dist/types/BannerBase/index.cjs +3 -0
  67. package/dist/types/BannerBase/index.cjs.map +1 -0
  68. package/dist/types/BannerBase/index.d.cts +2 -0
  69. package/dist/types/BannerBase/index.d.cts.map +1 -0
  70. package/dist/types/BannerBase/index.d.mts +2 -0
  71. package/dist/types/BannerBase/index.d.mts.map +1 -0
  72. package/dist/types/BannerBase/index.mjs +2 -0
  73. package/dist/types/BannerBase/index.mjs.map +1 -0
  74. package/dist/types/ButtonFilter/ButtonFilter.types.cjs +3 -0
  75. package/dist/types/ButtonFilter/ButtonFilter.types.cjs.map +1 -0
  76. package/dist/types/ButtonFilter/ButtonFilter.types.d.cts +13 -0
  77. package/dist/types/ButtonFilter/ButtonFilter.types.d.cts.map +1 -0
  78. package/dist/types/ButtonFilter/ButtonFilter.types.d.mts +13 -0
  79. package/dist/types/ButtonFilter/ButtonFilter.types.d.mts.map +1 -0
  80. package/dist/types/ButtonFilter/ButtonFilter.types.mjs +2 -0
  81. package/dist/types/ButtonFilter/ButtonFilter.types.mjs.map +1 -0
  82. package/dist/types/ButtonFilter/index.cjs +3 -0
  83. package/dist/types/ButtonFilter/index.cjs.map +1 -0
  84. package/dist/types/ButtonFilter/index.d.cts +2 -0
  85. package/dist/types/ButtonFilter/index.d.cts.map +1 -0
  86. package/dist/types/ButtonFilter/index.d.mts +2 -0
  87. package/dist/types/ButtonFilter/index.d.mts.map +1 -0
  88. package/dist/types/ButtonFilter/index.mjs +2 -0
  89. package/dist/types/ButtonFilter/index.mjs.map +1 -0
  90. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.0]
11
+
12
+ ### Added
13
+
14
+ - Added shared `ButtonFilter` types and constants for cross-package reuse ([#964](https://github.com/MetaMask/metamask-design-system/pull/964))
15
+ - Added `ButtonFilterVariant` const object with derived string union type (`primary`, `secondary`)
16
+ - Added `ButtonFilterPropsShared` as the shared base props contract used by React and React Native implementations
17
+ - Added shared `BannerBase` types and constants for cross-package reuse ([#955](https://github.com/MetaMask/metamask-design-system/pull/955))
18
+ - Added `BannerBaseSeverity` const object with derived string union type for severity variants
19
+ - Added `BannerBasePropsShared` as the shared base props contract used by React and React Native implementations
20
+
21
+ ## [0.3.0]
22
+
23
+ ### Added
24
+
25
+ - Added shared `BadgeCount` types and constants for cross-package reuse ([#942](https://github.com/MetaMask/metamask-design-system/pull/942))
26
+ - Added `BadgeCountSize` const object and derived `BadgeCountSize` string union type
27
+ - Added `BadgeCountPropsShared` as the shared base props contract used by React and React Native implementations
28
+
29
+ ## [0.2.0]
30
+
31
+ ### Added
32
+
33
+ - Added centralized `BadgeStatus` types and constants ([#912](https://github.com/MetaMask/metamask-design-system/pull/912))
34
+ - `BadgeStatusStatus` const object with derived string union type for status variants (`active`, `inactive`, `warning`, `danger`, `success`)
35
+ - `BadgeStatusSize` const object with derived string union type for size variants (`sm`, `md`, `lg`)
36
+ - `BadgeStatusPropsShared` type interface for shared component props
37
+ - Enables structural typing - both const object values (`BadgeStatusStatus.Active`) and string literals (`'active'`) are now accepted
38
+ - Implements [ADR-0003](https://github.com/MetaMask/decisions/blob/main/decisions/design-system/0003-enum-to-string-union-migration.md) and [ADR-0004](https://github.com/MetaMask/decisions/blob/main/decisions/design-system/0004-centralized-types-architecture.md)
39
+
40
+ ## [0.1.3]
41
+
42
+ ### Changed
43
+
44
+ - Updated `@metamask/utils` dependency from 11.9.0 to 11.10.0 ([#903](https://github.com/MetaMask/metamask-design-system/pull/903))
45
+
10
46
  ## [0.1.2]
11
47
 
12
48
  ### Changed
@@ -26,7 +62,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
62
  - **Initial release** - MetaMask Design System Shared
27
63
  - Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
28
64
 
29
- [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.1.2...HEAD
65
+ [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.4.0...HEAD
66
+ [0.4.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.3.0...@metamask/design-system-shared@0.4.0
67
+ [0.3.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.2.0...@metamask/design-system-shared@0.3.0
68
+ [0.2.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.1.3...@metamask/design-system-shared@0.2.0
69
+ [0.1.3]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.1.2...@metamask/design-system-shared@0.1.3
30
70
  [0.1.2]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.1.1...@metamask/design-system-shared@0.1.2
31
71
  [0.1.1]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.1.0...@metamask/design-system-shared@0.1.1
32
72
  [0.1.0]: https://github.com/MetaMask/metamask-design-system/releases/tag/@metamask/design-system-shared@0.1.0
package/dist/index.cjs CHANGED
@@ -1,10 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
3
+ exports.BannerAlertSeverity = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = 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
+ // BadgeCount types (ADR-0003 + ADR-0004)
11
+ var BadgeCount_1 = require("./types/BadgeCount/index.cjs");
12
+ Object.defineProperty(exports, "BadgeCountSize", { enumerable: true, get: function () { return BadgeCount_1.BadgeCountSize; } });
13
+ // BadgeStatus types (ADR-0003 + ADR-0004)
14
+ var BadgeStatus_1 = require("./types/BadgeStatus/index.cjs");
15
+ Object.defineProperty(exports, "BadgeStatusStatus", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusStatus; } });
16
+ Object.defineProperty(exports, "BadgeStatusSize", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusSize; } });
17
+ // BannerAlert types (ADR-0003 + ADR-0004)
18
+ var BannerAlert_1 = require("./types/BannerAlert/index.cjs");
19
+ Object.defineProperty(exports, "BannerAlertSeverity", { enumerable: true, get: function () { return BannerAlert_1.BannerAlertSeverity; } });
10
20
  //# 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","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\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,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;AAC1C,6DAI6B;AAH3B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AAUjB,0CAA0C;AAC1C,6DAG6B;AAF3B,kHAAA,mBAAmB,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\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// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n"]}
package/dist/index.d.cts CHANGED
@@ -1,2 +1,7 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.cjs";
2
+ export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.cjs";
3
+ export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
4
+ export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
5
+ export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
6
+ export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
2
7
  //# 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"}
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;AAG9B,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,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,sCAA4B"}
package/dist/index.d.mts CHANGED
@@ -1,2 +1,7 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.mjs";
2
+ export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.mjs";
3
+ export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
4
+ export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
5
+ export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
6
+ export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
2
7
  //# 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"}
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;AAG9B,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,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,sCAA4B"}
package/dist/index.mjs CHANGED
@@ -1,2 +1,8 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed } from "./utils/caip-address.mjs";
2
+ // BadgeCount types (ADR-0003 + ADR-0004)
3
+ export { BadgeCountSize } from "./types/BadgeCount/index.mjs";
4
+ // BadgeStatus types (ADR-0003 + ADR-0004)
5
+ export { BadgeStatusStatus, BadgeStatusSize } from "./types/BadgeStatus/index.mjs";
6
+ // BannerAlert types (ADR-0003 + ADR-0004)
7
+ export { BannerAlertSeverity } from "./types/BannerAlert/index.mjs";
2
8
  //# 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","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\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,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAQ7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\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// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n"]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BadgeCountSize = void 0;
4
+ /**
5
+ * BadgeCount - size
6
+ * Convert from enum to const object (ADR-0003)
7
+ */
8
+ exports.BadgeCountSize = {
9
+ /**
10
+ * Represents a medium badge count (14px height).
11
+ */
12
+ Md: 'md',
13
+ /**
14
+ * Represents a large badge count (20px height).
15
+ */
16
+ Lg: 'lg',
17
+ };
18
+ //# sourceMappingURL=BadgeCount.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeCount.types.cjs","sourceRoot":"","sources":["../../../src/types/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,cAAc,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,IAAI;IACR;;OAEG;IACH,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * BadgeCount - size\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeCountSize = {\n /**\n * Represents a medium badge count (14px height).\n */\n Md: 'md',\n /**\n * Represents a large badge count (20px height).\n */\n Lg: 'lg',\n} as const;\nexport type BadgeCountSize =\n (typeof BadgeCountSize)[keyof typeof BadgeCountSize];\n\n/**\n * BadgeCount component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type BadgeCountPropsShared = {\n /**\n * Optional prop to control the size of the BadgeCount\n * Different sizes map to specific height\n *\n * @default BadgeCountSize.Md\n */\n size?: BadgeCountSize;\n /**\n * Required prop to show the count number\n */\n count: number;\n /**\n * Optional prop to determine the max the count can go up to.\n * If count > max, the count will be shown as \"max+\"\n *\n * @default 99\n */\n max?: number;\n};\n"]}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * BadgeCount - size
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export declare const BadgeCountSize: {
6
+ /**
7
+ * Represents a medium badge count (14px height).
8
+ */
9
+ readonly Md: "md";
10
+ /**
11
+ * Represents a large badge count (20px height).
12
+ */
13
+ readonly Lg: "lg";
14
+ };
15
+ export type BadgeCountSize = (typeof BadgeCountSize)[keyof typeof BadgeCountSize];
16
+ /**
17
+ * BadgeCount component shared props (ADR-0004)
18
+ * Platform-independent properties shared across React and React Native
19
+ */
20
+ export type BadgeCountPropsShared = {
21
+ /**
22
+ * Optional prop to control the size of the BadgeCount
23
+ * Different sizes map to specific height
24
+ *
25
+ * @default BadgeCountSize.Md
26
+ */
27
+ size?: BadgeCountSize;
28
+ /**
29
+ * Required prop to show the count number
30
+ */
31
+ count: number;
32
+ /**
33
+ * Optional prop to determine the max the count can go up to.
34
+ * If count > max, the count will be shown as "max+"
35
+ *
36
+ * @default 99
37
+ */
38
+ max?: number;
39
+ };
40
+ //# sourceMappingURL=BadgeCount.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeCount.types.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * BadgeCount - size
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export declare const BadgeCountSize: {
6
+ /**
7
+ * Represents a medium badge count (14px height).
8
+ */
9
+ readonly Md: "md";
10
+ /**
11
+ * Represents a large badge count (20px height).
12
+ */
13
+ readonly Lg: "lg";
14
+ };
15
+ export type BadgeCountSize = (typeof BadgeCountSize)[keyof typeof BadgeCountSize];
16
+ /**
17
+ * BadgeCount component shared props (ADR-0004)
18
+ * Platform-independent properties shared across React and React Native
19
+ */
20
+ export type BadgeCountPropsShared = {
21
+ /**
22
+ * Optional prop to control the size of the BadgeCount
23
+ * Different sizes map to specific height
24
+ *
25
+ * @default BadgeCountSize.Md
26
+ */
27
+ size?: BadgeCountSize;
28
+ /**
29
+ * Required prop to show the count number
30
+ */
31
+ count: number;
32
+ /**
33
+ * Optional prop to determine the max the count can go up to.
34
+ * If count > max, the count will be shown as "max+"
35
+ *
36
+ * @default 99
37
+ */
38
+ max?: number;
39
+ };
40
+ //# sourceMappingURL=BadgeCount.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeCount.types.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * BadgeCount - size
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export const BadgeCountSize = {
6
+ /**
7
+ * Represents a medium badge count (14px height).
8
+ */
9
+ Md: 'md',
10
+ /**
11
+ * Represents a large badge count (20px height).
12
+ */
13
+ Lg: 'lg',
14
+ };
15
+ //# sourceMappingURL=BadgeCount.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeCount.types.mjs","sourceRoot":"","sources":["../../../src/types/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,IAAI;IACR;;OAEG;IACH,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * BadgeCount - size\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeCountSize = {\n /**\n * Represents a medium badge count (14px height).\n */\n Md: 'md',\n /**\n * Represents a large badge count (20px height).\n */\n Lg: 'lg',\n} as const;\nexport type BadgeCountSize =\n (typeof BadgeCountSize)[keyof typeof BadgeCountSize];\n\n/**\n * BadgeCount component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type BadgeCountPropsShared = {\n /**\n * Optional prop to control the size of the BadgeCount\n * Different sizes map to specific height\n *\n * @default BadgeCountSize.Md\n */\n size?: BadgeCountSize;\n /**\n * Required prop to show the count number\n */\n count: number;\n /**\n * Optional prop to determine the max the count can go up to.\n * If count > max, the count will be shown as \"max+\"\n *\n * @default 99\n */\n max?: number;\n};\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BadgeCountSize = void 0;
4
+ var BadgeCount_types_1 = require("./BadgeCount.types.cjs");
5
+ Object.defineProperty(exports, "BadgeCountSize", { enumerable: true, get: function () { return BadgeCount_types_1.BadgeCountSize; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BadgeCount/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgF;AAAvE,kHAAA,cAAc,OAAA","sourcesContent":["export { BadgeCountSize, type BadgeCountPropsShared } from './BadgeCount.types';\n"]}
@@ -0,0 +1,2 @@
1
+ export { BadgeCountSize, type BadgeCountPropsShared } from "./BadgeCount.types.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeCount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,+BAA2B"}
@@ -0,0 +1,2 @@
1
+ export { BadgeCountSize, type BadgeCountPropsShared } from "./BadgeCount.types.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeCount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,+BAA2B"}
@@ -0,0 +1,2 @@
1
+ export { BadgeCountSize } from "./BadgeCount.types.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BadgeCount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA8B,+BAA2B","sourcesContent":["export { BadgeCountSize, type BadgeCountPropsShared } from './BadgeCount.types';\n"]}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BadgeStatusSize = exports.BadgeStatusStatus = void 0;
4
+ /**
5
+ * BadgeStatus - status
6
+ * Convert from enum to const object (ADR-0003)
7
+ */
8
+ exports.BadgeStatusStatus = {
9
+ /**
10
+ * Represents an active status (Connected)
11
+ */
12
+ Active: 'active',
13
+ /**
14
+ * Represents an inactive status (Connected)
15
+ */
16
+ Inactive: 'inactive',
17
+ /**
18
+ * Represents a disconnected status
19
+ */
20
+ Disconnected: 'disconnected',
21
+ /**
22
+ * Represents a new status
23
+ */
24
+ New: 'new',
25
+ /**
26
+ * Represents an attention status
27
+ */
28
+ Attention: 'attention',
29
+ };
30
+ /**
31
+ * BadgeStatus - size
32
+ * Convert from enum to const object (ADR-0003)
33
+ */
34
+ exports.BadgeStatusSize = {
35
+ /**
36
+ * Represents a medium badge status (8px)
37
+ */
38
+ Md: 'md',
39
+ /**
40
+ * Represents a large badge status (10px)
41
+ */
42
+ Lg: 'lg',
43
+ };
44
+ //# sourceMappingURL=BadgeStatus.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeStatus.types.cjs","sourceRoot":"","sources":["../../../src/types/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,iBAAiB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;OAEG;IACH,YAAY,EAAE,cAAc;IAC5B;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,SAAS,EAAE,WAAW;CACd,CAAC;AAIX;;;GAGG;AACU,QAAA,eAAe,GAAG;IAC7B;;OAEG;IACH,EAAE,EAAE,IAAI;IACR;;OAEG;IACH,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * BadgeStatus - status\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeStatusStatus = {\n /**\n * Represents an active status (Connected)\n */\n Active: 'active',\n /**\n * Represents an inactive status (Connected)\n */\n Inactive: 'inactive',\n /**\n * Represents a disconnected status\n */\n Disconnected: 'disconnected',\n /**\n * Represents a new status\n */\n New: 'new',\n /**\n * Represents an attention status\n */\n Attention: 'attention',\n} as const;\nexport type BadgeStatusStatus =\n (typeof BadgeStatusStatus)[keyof typeof BadgeStatusStatus];\n\n/**\n * BadgeStatus - size\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeStatusSize = {\n /**\n * Represents a medium badge status (8px)\n */\n Md: 'md',\n /**\n * Represents a large badge status (10px)\n */\n Lg: 'lg',\n} as const;\nexport type BadgeStatusSize =\n (typeof BadgeStatusSize)[keyof typeof BadgeStatusSize];\n\n/**\n * BadgeStatus component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type BadgeStatusPropsShared = {\n /**\n * Required prop to control the status of the badge\n * Possible values:\n * - BadgeStatusStatus.Active (Connected)\n * - BadgeStatusStatus.Inactive (Connected)\n * - BadgeStatusStatus.Disconnected\n * - BadgeStatusStatus.New\n * - BadgeStatusStatus.Attention\n */\n status: BadgeStatusStatus;\n /**\n * Optional prop to determine whether the badge should display a border\n *\n * @default true\n */\n hasBorder?: boolean;\n /**\n * Optional prop to control the size of the BadgeStatus\n * Possible values:\n * - BadgeStatusSize.Md (8px)\n * - BadgeStatusSize.Lg (10px)\n *\n * @default BadgeStatusSize.Md\n */\n size?: BadgeStatusSize;\n};\n"]}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * BadgeStatus - status
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export declare const BadgeStatusStatus: {
6
+ /**
7
+ * Represents an active status (Connected)
8
+ */
9
+ readonly Active: "active";
10
+ /**
11
+ * Represents an inactive status (Connected)
12
+ */
13
+ readonly Inactive: "inactive";
14
+ /**
15
+ * Represents a disconnected status
16
+ */
17
+ readonly Disconnected: "disconnected";
18
+ /**
19
+ * Represents a new status
20
+ */
21
+ readonly New: "new";
22
+ /**
23
+ * Represents an attention status
24
+ */
25
+ readonly Attention: "attention";
26
+ };
27
+ export type BadgeStatusStatus = (typeof BadgeStatusStatus)[keyof typeof BadgeStatusStatus];
28
+ /**
29
+ * BadgeStatus - size
30
+ * Convert from enum to const object (ADR-0003)
31
+ */
32
+ export declare const BadgeStatusSize: {
33
+ /**
34
+ * Represents a medium badge status (8px)
35
+ */
36
+ readonly Md: "md";
37
+ /**
38
+ * Represents a large badge status (10px)
39
+ */
40
+ readonly Lg: "lg";
41
+ };
42
+ export type BadgeStatusSize = (typeof BadgeStatusSize)[keyof typeof BadgeStatusSize];
43
+ /**
44
+ * BadgeStatus component shared props (ADR-0004)
45
+ * Platform-independent properties shared across React and React Native
46
+ */
47
+ export type BadgeStatusPropsShared = {
48
+ /**
49
+ * Required prop to control the status of the badge
50
+ * Possible values:
51
+ * - BadgeStatusStatus.Active (Connected)
52
+ * - BadgeStatusStatus.Inactive (Connected)
53
+ * - BadgeStatusStatus.Disconnected
54
+ * - BadgeStatusStatus.New
55
+ * - BadgeStatusStatus.Attention
56
+ */
57
+ status: BadgeStatusStatus;
58
+ /**
59
+ * Optional prop to determine whether the badge should display a border
60
+ *
61
+ * @default true
62
+ */
63
+ hasBorder?: boolean;
64
+ /**
65
+ * Optional prop to control the size of the BadgeStatus
66
+ * Possible values:
67
+ * - BadgeStatusSize.Md (8px)
68
+ * - BadgeStatusSize.Lg (10px)
69
+ *
70
+ * @default BadgeStatusSize.Md
71
+ */
72
+ size?: BadgeStatusSize;
73
+ };
74
+ //# sourceMappingURL=BadgeStatus.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeStatus.types.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;IAC5B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;;;;OAQG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * BadgeStatus - status
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export declare const BadgeStatusStatus: {
6
+ /**
7
+ * Represents an active status (Connected)
8
+ */
9
+ readonly Active: "active";
10
+ /**
11
+ * Represents an inactive status (Connected)
12
+ */
13
+ readonly Inactive: "inactive";
14
+ /**
15
+ * Represents a disconnected status
16
+ */
17
+ readonly Disconnected: "disconnected";
18
+ /**
19
+ * Represents a new status
20
+ */
21
+ readonly New: "new";
22
+ /**
23
+ * Represents an attention status
24
+ */
25
+ readonly Attention: "attention";
26
+ };
27
+ export type BadgeStatusStatus = (typeof BadgeStatusStatus)[keyof typeof BadgeStatusStatus];
28
+ /**
29
+ * BadgeStatus - size
30
+ * Convert from enum to const object (ADR-0003)
31
+ */
32
+ export declare const BadgeStatusSize: {
33
+ /**
34
+ * Represents a medium badge status (8px)
35
+ */
36
+ readonly Md: "md";
37
+ /**
38
+ * Represents a large badge status (10px)
39
+ */
40
+ readonly Lg: "lg";
41
+ };
42
+ export type BadgeStatusSize = (typeof BadgeStatusSize)[keyof typeof BadgeStatusSize];
43
+ /**
44
+ * BadgeStatus component shared props (ADR-0004)
45
+ * Platform-independent properties shared across React and React Native
46
+ */
47
+ export type BadgeStatusPropsShared = {
48
+ /**
49
+ * Required prop to control the status of the badge
50
+ * Possible values:
51
+ * - BadgeStatusStatus.Active (Connected)
52
+ * - BadgeStatusStatus.Inactive (Connected)
53
+ * - BadgeStatusStatus.Disconnected
54
+ * - BadgeStatusStatus.New
55
+ * - BadgeStatusStatus.Attention
56
+ */
57
+ status: BadgeStatusStatus;
58
+ /**
59
+ * Optional prop to determine whether the badge should display a border
60
+ *
61
+ * @default true
62
+ */
63
+ hasBorder?: boolean;
64
+ /**
65
+ * Optional prop to control the size of the BadgeStatus
66
+ * Possible values:
67
+ * - BadgeStatusSize.Md (8px)
68
+ * - BadgeStatusSize.Lg (10px)
69
+ *
70
+ * @default BadgeStatusSize.Md
71
+ */
72
+ size?: BadgeStatusSize;
73
+ };
74
+ //# sourceMappingURL=BadgeStatus.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeStatus.types.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;IAC5B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;;;;;;OAQG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * BadgeStatus - status
3
+ * Convert from enum to const object (ADR-0003)
4
+ */
5
+ export const BadgeStatusStatus = {
6
+ /**
7
+ * Represents an active status (Connected)
8
+ */
9
+ Active: 'active',
10
+ /**
11
+ * Represents an inactive status (Connected)
12
+ */
13
+ Inactive: 'inactive',
14
+ /**
15
+ * Represents a disconnected status
16
+ */
17
+ Disconnected: 'disconnected',
18
+ /**
19
+ * Represents a new status
20
+ */
21
+ New: 'new',
22
+ /**
23
+ * Represents an attention status
24
+ */
25
+ Attention: 'attention',
26
+ };
27
+ /**
28
+ * BadgeStatus - size
29
+ * Convert from enum to const object (ADR-0003)
30
+ */
31
+ export const BadgeStatusSize = {
32
+ /**
33
+ * Represents a medium badge status (8px)
34
+ */
35
+ Md: 'md',
36
+ /**
37
+ * Represents a large badge status (10px)
38
+ */
39
+ Lg: 'lg',
40
+ };
41
+ //# sourceMappingURL=BadgeStatus.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeStatus.types.mjs","sourceRoot":"","sources":["../../../src/types/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;OAEG;IACH,YAAY,EAAE,cAAc;IAC5B;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,SAAS,EAAE,WAAW;CACd,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;;OAEG;IACH,EAAE,EAAE,IAAI;IACR;;OAEG;IACH,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * BadgeStatus - status\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeStatusStatus = {\n /**\n * Represents an active status (Connected)\n */\n Active: 'active',\n /**\n * Represents an inactive status (Connected)\n */\n Inactive: 'inactive',\n /**\n * Represents a disconnected status\n */\n Disconnected: 'disconnected',\n /**\n * Represents a new status\n */\n New: 'new',\n /**\n * Represents an attention status\n */\n Attention: 'attention',\n} as const;\nexport type BadgeStatusStatus =\n (typeof BadgeStatusStatus)[keyof typeof BadgeStatusStatus];\n\n/**\n * BadgeStatus - size\n * Convert from enum to const object (ADR-0003)\n */\nexport const BadgeStatusSize = {\n /**\n * Represents a medium badge status (8px)\n */\n Md: 'md',\n /**\n * Represents a large badge status (10px)\n */\n Lg: 'lg',\n} as const;\nexport type BadgeStatusSize =\n (typeof BadgeStatusSize)[keyof typeof BadgeStatusSize];\n\n/**\n * BadgeStatus component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type BadgeStatusPropsShared = {\n /**\n * Required prop to control the status of the badge\n * Possible values:\n * - BadgeStatusStatus.Active (Connected)\n * - BadgeStatusStatus.Inactive (Connected)\n * - BadgeStatusStatus.Disconnected\n * - BadgeStatusStatus.New\n * - BadgeStatusStatus.Attention\n */\n status: BadgeStatusStatus;\n /**\n * Optional prop to determine whether the badge should display a border\n *\n * @default true\n */\n hasBorder?: boolean;\n /**\n * Optional prop to control the size of the BadgeStatus\n * Possible values:\n * - BadgeStatusSize.Md (8px)\n * - BadgeStatusSize.Lg (10px)\n *\n * @default BadgeStatusSize.Md\n */\n size?: BadgeStatusSize;\n};\n"]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BadgeStatusSize = exports.BadgeStatusStatus = void 0;
4
+ var BadgeStatus_types_1 = require("./BadgeStatus.types.cjs");
5
+ Object.defineProperty(exports, "BadgeStatusStatus", { enumerable: true, get: function () { return BadgeStatus_types_1.BadgeStatusStatus; } });
6
+ Object.defineProperty(exports, "BadgeStatusSize", { enumerable: true, get: function () { return BadgeStatus_types_1.BadgeStatusSize; } });
7
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BadgeStatus/index.ts"],"names":[],"mappings":";;;AAAA,6DAI6B;AAH3B,sHAAA,iBAAiB,OAAA;AACjB,oHAAA,eAAe,OAAA","sourcesContent":["export {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './BadgeStatus.types';\n"]}
@@ -0,0 +1,2 @@
1
+ export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./BadgeStatus.types.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,gCAA4B"}
@@ -0,0 +1,2 @@
1
+ export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./BadgeStatus.types.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,gCAA4B"}
@@ -0,0 +1,2 @@
1
+ export { BadgeStatusStatus, BadgeStatusSize } from "./BadgeStatus.types.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BadgeStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,gCAA4B","sourcesContent":["export {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './BadgeStatus.types';\n"]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BannerAlertSeverity = void 0;
4
+ /**
5
+ * BannerAlert severity variants.
6
+ * Uses const object with derived union type (ADR-0003).
7
+ */
8
+ exports.BannerAlertSeverity = {
9
+ /** Informational style. */
10
+ Info: 'info',
11
+ /** Success style. */
12
+ Success: 'success',
13
+ /** Warning style. */
14
+ Warning: 'warning',
15
+ /** Danger style. */
16
+ Danger: 'danger',
17
+ };
18
+ //# sourceMappingURL=BannerAlert.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerAlert.types.cjs","sourceRoot":"","sources":["../../../src/types/BannerAlert/BannerAlert.types.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACU,QAAA,mBAAmB,GAAG;IACjC,2BAA2B;IAC3B,IAAI,EAAE,MAAM;IACZ,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,oBAAoB;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC","sourcesContent":["import type { BannerBasePropsShared } from '../BannerBase';\n\n/**\n * BannerAlert severity variants.\n * Uses const object with derived union type (ADR-0003).\n */\nexport const BannerAlertSeverity = {\n /** Informational style. */\n Info: 'info',\n /** Success style. */\n Success: 'success',\n /** Warning style. */\n Warning: 'warning',\n /** Danger style. */\n Danger: 'danger',\n} as const;\n\nexport type BannerAlertSeverity =\n (typeof BannerAlertSeverity)[keyof typeof BannerAlertSeverity];\n\n/**\n * BannerAlert shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type BannerAlertPropsShared = BannerBasePropsShared & {\n /**\n * Optional semantic severity.\n *\n * @default BannerAlertSeverity.Info\n */\n severity?: BannerAlertSeverity;\n};\n"]}
@@ -0,0 +1,29 @@
1
+ import type { BannerBasePropsShared } from "../BannerBase/index.cjs";
2
+ /**
3
+ * BannerAlert severity variants.
4
+ * Uses const object with derived union type (ADR-0003).
5
+ */
6
+ export declare const BannerAlertSeverity: {
7
+ /** Informational style. */
8
+ readonly Info: "info";
9
+ /** Success style. */
10
+ readonly Success: "success";
11
+ /** Warning style. */
12
+ readonly Warning: "warning";
13
+ /** Danger style. */
14
+ readonly Danger: "danger";
15
+ };
16
+ export type BannerAlertSeverity = (typeof BannerAlertSeverity)[keyof typeof BannerAlertSeverity];
17
+ /**
18
+ * BannerAlert shared props (ADR-0004).
19
+ * Platform-independent properties shared across React and React Native.
20
+ */
21
+ export type BannerAlertPropsShared = BannerBasePropsShared & {
22
+ /**
23
+ * Optional semantic severity.
24
+ *
25
+ * @default BannerAlertSeverity.Info
26
+ */
27
+ severity?: BannerAlertSeverity;
28
+ };
29
+ //# sourceMappingURL=BannerAlert.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerAlert.types.d.cts","sourceRoot":"","sources":["../../../src/types/BannerAlert/BannerAlert.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gCAAsB;AAE3D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAC9B,2BAA2B;;IAE3B,qBAAqB;;IAErB,qBAAqB;;IAErB,oBAAoB;;CAEZ,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GAAG;IAC3D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { BannerBasePropsShared } from "../BannerBase/index.mjs";
2
+ /**
3
+ * BannerAlert severity variants.
4
+ * Uses const object with derived union type (ADR-0003).
5
+ */
6
+ export declare const BannerAlertSeverity: {
7
+ /** Informational style. */
8
+ readonly Info: "info";
9
+ /** Success style. */
10
+ readonly Success: "success";
11
+ /** Warning style. */
12
+ readonly Warning: "warning";
13
+ /** Danger style. */
14
+ readonly Danger: "danger";
15
+ };
16
+ export type BannerAlertSeverity = (typeof BannerAlertSeverity)[keyof typeof BannerAlertSeverity];
17
+ /**
18
+ * BannerAlert shared props (ADR-0004).
19
+ * Platform-independent properties shared across React and React Native.
20
+ */
21
+ export type BannerAlertPropsShared = BannerBasePropsShared & {
22
+ /**
23
+ * Optional semantic severity.
24
+ *
25
+ * @default BannerAlertSeverity.Info
26
+ */
27
+ severity?: BannerAlertSeverity;
28
+ };
29
+ //# sourceMappingURL=BannerAlert.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerAlert.types.d.mts","sourceRoot":"","sources":["../../../src/types/BannerAlert/BannerAlert.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gCAAsB;AAE3D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAC9B,2BAA2B;;IAE3B,qBAAqB;;IAErB,qBAAqB;;IAErB,oBAAoB;;CAEZ,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GAAG;IAC3D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * BannerAlert severity variants.
3
+ * Uses const object with derived union type (ADR-0003).
4
+ */
5
+ export const BannerAlertSeverity = {
6
+ /** Informational style. */
7
+ Info: 'info',
8
+ /** Success style. */
9
+ Success: 'success',
10
+ /** Warning style. */
11
+ Warning: 'warning',
12
+ /** Danger style. */
13
+ Danger: 'danger',
14
+ };
15
+ //# sourceMappingURL=BannerAlert.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerAlert.types.mjs","sourceRoot":"","sources":["../../../src/types/BannerAlert/BannerAlert.types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,2BAA2B;IAC3B,IAAI,EAAE,MAAM;IACZ,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,oBAAoB;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC","sourcesContent":["import type { BannerBasePropsShared } from '../BannerBase';\n\n/**\n * BannerAlert severity variants.\n * Uses const object with derived union type (ADR-0003).\n */\nexport const BannerAlertSeverity = {\n /** Informational style. */\n Info: 'info',\n /** Success style. */\n Success: 'success',\n /** Warning style. */\n Warning: 'warning',\n /** Danger style. */\n Danger: 'danger',\n} as const;\n\nexport type BannerAlertSeverity =\n (typeof BannerAlertSeverity)[keyof typeof BannerAlertSeverity];\n\n/**\n * BannerAlert shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type BannerAlertPropsShared = BannerBasePropsShared & {\n /**\n * Optional semantic severity.\n *\n * @default BannerAlertSeverity.Info\n */\n severity?: BannerAlertSeverity;\n};\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BannerAlertSeverity = void 0;
4
+ var BannerAlert_types_1 = require("./BannerAlert.types.cjs");
5
+ Object.defineProperty(exports, "BannerAlertSeverity", { enumerable: true, get: function () { return BannerAlert_types_1.BannerAlertSeverity; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BannerAlert/index.ts"],"names":[],"mappings":";;;AAAA,6DAG6B;AAF3B,wHAAA,mBAAmB,OAAA","sourcesContent":["export {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './BannerAlert.types';\n"]}
@@ -0,0 +1,2 @@
1
+ export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./BannerAlert.types.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BannerAlert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,gCAA4B"}
@@ -0,0 +1,2 @@
1
+ export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./BannerAlert.types.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BannerAlert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,gCAA4B"}
@@ -0,0 +1,2 @@
1
+ export { BannerAlertSeverity } from "./BannerAlert.types.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BannerAlert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEpB,gCAA4B","sourcesContent":["export {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './BannerAlert.types';\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BannerBase.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.cjs","sourceRoot":"","sources":["../../../src/types/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\n/**\n * BannerBase component shared props (ADR-0004)\n * Platform-independent content and structure shared across React and React Native.\n */\nexport type BannerBasePropsShared = {\n /**\n * Optional title rendered at the top of the banner body.\n */\n title?: ReactNode;\n /**\n * Optional description rendered below the title.\n */\n description?: ReactNode;\n /**\n * Optional children rendered below the description.\n */\n children?: ReactNode;\n /**\n * Optional text label for the action button.\n */\n actionButtonLabel?: string;\n /**\n * Optional accessory rendered at the start of the banner.\n */\n startAccessory?: ReactNode;\n};\n"]}
@@ -0,0 +1,28 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * BannerBase component shared props (ADR-0004)
4
+ * Platform-independent content and structure shared across React and React Native.
5
+ */
6
+ export type BannerBasePropsShared = {
7
+ /**
8
+ * Optional title rendered at the top of the banner body.
9
+ */
10
+ title?: ReactNode;
11
+ /**
12
+ * Optional description rendered below the title.
13
+ */
14
+ description?: ReactNode;
15
+ /**
16
+ * Optional children rendered below the description.
17
+ */
18
+ children?: ReactNode;
19
+ /**
20
+ * Optional text label for the action button.
21
+ */
22
+ actionButtonLabel?: string;
23
+ /**
24
+ * Optional accessory rendered at the start of the banner.
25
+ */
26
+ startAccessory?: ReactNode;
27
+ };
28
+ //# sourceMappingURL=BannerBase.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.d.cts","sourceRoot":"","sources":["../../../src/types/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * BannerBase component shared props (ADR-0004)
4
+ * Platform-independent content and structure shared across React and React Native.
5
+ */
6
+ export type BannerBasePropsShared = {
7
+ /**
8
+ * Optional title rendered at the top of the banner body.
9
+ */
10
+ title?: ReactNode;
11
+ /**
12
+ * Optional description rendered below the title.
13
+ */
14
+ description?: ReactNode;
15
+ /**
16
+ * Optional children rendered below the description.
17
+ */
18
+ children?: ReactNode;
19
+ /**
20
+ * Optional text label for the action button.
21
+ */
22
+ actionButtonLabel?: string;
23
+ /**
24
+ * Optional accessory rendered at the start of the banner.
25
+ */
26
+ startAccessory?: ReactNode;
27
+ };
28
+ //# sourceMappingURL=BannerBase.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.d.mts","sourceRoot":"","sources":["../../../src/types/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BannerBase.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.mjs","sourceRoot":"","sources":["../../../src/types/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\n/**\n * BannerBase component shared props (ADR-0004)\n * Platform-independent content and structure shared across React and React Native.\n */\nexport type BannerBasePropsShared = {\n /**\n * Optional title rendered at the top of the banner body.\n */\n title?: ReactNode;\n /**\n * Optional description rendered below the title.\n */\n description?: ReactNode;\n /**\n * Optional children rendered below the description.\n */\n children?: ReactNode;\n /**\n * Optional text label for the action button.\n */\n actionButtonLabel?: string;\n /**\n * Optional accessory rendered at the start of the banner.\n */\n startAccessory?: ReactNode;\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BannerBase/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BannerBasePropsShared } from './BannerBase.types';\n"]}
@@ -0,0 +1,2 @@
1
+ export { type BannerBasePropsShared } from "./BannerBase.types.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BannerBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,+BAA2B"}
@@ -0,0 +1,2 @@
1
+ export { type BannerBasePropsShared } from "./BannerBase.types.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BannerBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,+BAA2B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BannerBase/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BannerBasePropsShared } from './BannerBase.types';\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ButtonFilter.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonFilter.types.cjs","sourceRoot":"","sources":["../../../src/types/ButtonFilter/ButtonFilter.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * ButtonFilter component shared props (ADR-0004)\n * Platform-independent state shared across React and React Native.\n */\nexport type ButtonFilterPropsShared = {\n /**\n * Whether the filter button is in an active state.\n *\n * @default false\n */\n isActive?: boolean;\n};\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ButtonFilter component shared props (ADR-0004)
3
+ * Platform-independent state shared across React and React Native.
4
+ */
5
+ export type ButtonFilterPropsShared = {
6
+ /**
7
+ * Whether the filter button is in an active state.
8
+ *
9
+ * @default false
10
+ */
11
+ isActive?: boolean;
12
+ };
13
+ //# sourceMappingURL=ButtonFilter.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonFilter.types.d.cts","sourceRoot":"","sources":["../../../src/types/ButtonFilter/ButtonFilter.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ButtonFilter component shared props (ADR-0004)
3
+ * Platform-independent state shared across React and React Native.
4
+ */
5
+ export type ButtonFilterPropsShared = {
6
+ /**
7
+ * Whether the filter button is in an active state.
8
+ *
9
+ * @default false
10
+ */
11
+ isActive?: boolean;
12
+ };
13
+ //# sourceMappingURL=ButtonFilter.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonFilter.types.d.mts","sourceRoot":"","sources":["../../../src/types/ButtonFilter/ButtonFilter.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ButtonFilter.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonFilter.types.mjs","sourceRoot":"","sources":["../../../src/types/ButtonFilter/ButtonFilter.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * ButtonFilter component shared props (ADR-0004)\n * Platform-independent state shared across React and React Native.\n */\nexport type ButtonFilterPropsShared = {\n /**\n * Whether the filter button is in an active state.\n *\n * @default false\n */\n isActive?: boolean;\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/ButtonFilter/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type ButtonFilterPropsShared } from './ButtonFilter.types';\n"]}
@@ -0,0 +1,2 @@
1
+ export { type ButtonFilterPropsShared } from "./ButtonFilter.types.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/ButtonFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,iCAA6B"}
@@ -0,0 +1,2 @@
1
+ export { type ButtonFilterPropsShared } from "./ButtonFilter.types.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/ButtonFilter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,iCAA6B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/ButtonFilter/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type ButtonFilterPropsShared } from './ButtonFilter.types';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/design-system-shared",
3
- "version": "0.1.2-preview.abc15cd",
3
+ "version": "0.4.0-preview.fa05289",
4
4
  "description": "Shared types for design system libraries",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -46,12 +46,13 @@
46
46
  "publish:preview": "yarn npm publish --tag preview"
47
47
  },
48
48
  "dependencies": {
49
- "@metamask/utils": "^11.9.0"
49
+ "@metamask/utils": "^11.10.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@metamask/auto-changelog": "^5.3.1",
52
+ "@metamask/auto-changelog": "^5.3.2",
53
53
  "@ts-bridge/cli": "^0.6.3",
54
54
  "@types/jest": "^27.4.1",
55
+ "@types/react": "^18.2.0",
55
56
  "deepmerge": "^4.2.2",
56
57
  "jest": "^29.7.0",
57
58
  "ts-jest": "^29.2.5",