@metamask-previews/design-system-shared 0.7.0-preview.dff9dce → 0.9.0-preview.d854123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/dist/index.cjs +12 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +7 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/{BoxHorizontal/BoxHorizontal.types.cjs → BadgeNetwork/BadgeNetwork.types.cjs} +1 -1
- package/dist/types/BadgeNetwork/BadgeNetwork.types.cjs.map +1 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.d.cts +20 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.d.cts.map +1 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.d.mts +20 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.d.mts.map +1 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.mjs +2 -0
- package/dist/types/BadgeNetwork/BadgeNetwork.types.mjs.map +1 -0
- package/dist/types/BadgeNetwork/index.cjs.map +1 -0
- package/dist/types/BadgeNetwork/index.d.cts +2 -0
- package/dist/types/BadgeNetwork/index.d.cts.map +1 -0
- package/dist/types/BadgeNetwork/index.d.mts +2 -0
- package/dist/types/BadgeNetwork/index.d.mts.map +1 -0
- package/dist/types/BadgeNetwork/index.mjs.map +1 -0
- package/dist/types/{BoxVertical/BoxVertical.types.cjs → BoxColumn/BoxColumn.types.cjs} +1 -1
- package/dist/types/BoxColumn/BoxColumn.types.cjs.map +1 -0
- package/dist/types/{BoxVertical/BoxVertical.types.d.cts → BoxColumn/BoxColumn.types.d.cts} +3 -3
- package/dist/types/BoxColumn/BoxColumn.types.d.cts.map +1 -0
- package/dist/types/{BoxVertical/BoxVertical.types.d.mts → BoxColumn/BoxColumn.types.d.mts} +3 -3
- package/dist/types/BoxColumn/BoxColumn.types.d.mts.map +1 -0
- package/dist/types/BoxColumn/BoxColumn.types.mjs +2 -0
- package/dist/types/BoxColumn/BoxColumn.types.mjs.map +1 -0
- package/dist/types/BoxColumn/index.cjs.map +1 -0
- package/dist/types/BoxColumn/index.d.cts +2 -0
- package/dist/types/BoxColumn/index.d.cts.map +1 -0
- package/dist/types/BoxColumn/index.d.mts +2 -0
- package/dist/types/BoxColumn/index.d.mts.map +1 -0
- package/dist/types/BoxColumn/index.mjs.map +1 -0
- package/dist/types/BoxRow/BoxRow.types.cjs +3 -0
- package/dist/types/BoxRow/BoxRow.types.cjs.map +1 -0
- package/dist/types/{BoxHorizontal/BoxHorizontal.types.d.cts → BoxRow/BoxRow.types.d.cts} +3 -3
- package/dist/types/BoxRow/BoxRow.types.d.cts.map +1 -0
- package/dist/types/{BoxHorizontal/BoxHorizontal.types.d.mts → BoxRow/BoxRow.types.d.mts} +3 -3
- package/dist/types/BoxRow/BoxRow.types.d.mts.map +1 -0
- package/dist/types/BoxRow/BoxRow.types.mjs +2 -0
- package/dist/types/BoxRow/BoxRow.types.mjs.map +1 -0
- package/dist/types/BoxRow/index.cjs +3 -0
- package/dist/types/BoxRow/index.cjs.map +1 -0
- package/dist/types/BoxRow/index.d.cts +2 -0
- package/dist/types/BoxRow/index.d.cts.map +1 -0
- package/dist/types/BoxRow/index.d.mts +2 -0
- package/dist/types/BoxRow/index.d.mts.map +1 -0
- package/dist/types/BoxRow/index.mjs +2 -0
- package/dist/types/BoxRow/index.mjs.map +1 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.cjs +11 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.cjs.map +1 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.d.cts +25 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.d.cts.map +1 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.d.mts +25 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.d.mts.map +1 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.mjs +8 -0
- package/dist/types/HeaderSearch/HeaderSearch.types.mjs.map +1 -0
- package/dist/types/HeaderSearch/index.cjs +6 -0
- package/dist/types/HeaderSearch/index.cjs.map +1 -0
- package/dist/types/HeaderSearch/index.d.cts +2 -0
- package/dist/types/HeaderSearch/index.d.cts.map +1 -0
- package/dist/types/HeaderSearch/index.d.mts +2 -0
- package/dist/types/HeaderSearch/index.d.mts.map +1 -0
- package/dist/types/HeaderSearch/index.mjs +2 -0
- package/dist/types/HeaderSearch/index.mjs.map +1 -0
- package/dist/types/Icon/Icon.types.cjs +351 -0
- package/dist/types/Icon/Icon.types.cjs.map +1 -0
- package/dist/types/Icon/Icon.types.d.cts +367 -0
- package/dist/types/Icon/Icon.types.d.cts.map +1 -0
- package/dist/types/Icon/Icon.types.d.mts +367 -0
- package/dist/types/Icon/Icon.types.d.mts.map +1 -0
- package/dist/types/Icon/Icon.types.mjs +348 -0
- package/dist/types/Icon/Icon.types.mjs.map +1 -0
- package/dist/types/Icon/index.cjs +8 -0
- package/dist/types/Icon/index.cjs.map +1 -0
- package/dist/types/Icon/index.d.cts +2 -0
- package/dist/types/Icon/index.d.cts.map +1 -0
- package/dist/types/Icon/index.d.mts +2 -0
- package/dist/types/Icon/index.d.mts.map +1 -0
- package/dist/types/Icon/index.mjs +2 -0
- package/dist/types/Icon/index.mjs.map +1 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.cjs +3 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.cjs.map +1 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.d.cts +20 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.d.cts.map +1 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.d.mts +20 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.d.mts.map +1 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.mjs +2 -0
- package/dist/types/KeyValueColumn/KeyValueColumn.types.mjs.map +1 -0
- package/dist/types/KeyValueColumn/index.cjs +3 -0
- package/dist/types/KeyValueColumn/index.cjs.map +1 -0
- package/dist/types/KeyValueColumn/index.d.cts +2 -0
- package/dist/types/KeyValueColumn/index.d.cts.map +1 -0
- package/dist/types/KeyValueColumn/index.d.mts +2 -0
- package/dist/types/KeyValueColumn/index.d.mts.map +1 -0
- package/dist/types/KeyValueColumn/index.mjs +2 -0
- package/dist/types/KeyValueColumn/index.mjs.map +1 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.cjs +14 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.cjs.map +1 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.d.cts +37 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.d.cts.map +1 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.d.mts +37 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.d.mts.map +1 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.mjs +11 -0
- package/dist/types/KeyValueRow/KeyValueRow.types.mjs.map +1 -0
- package/dist/types/KeyValueRow/index.cjs +6 -0
- package/dist/types/KeyValueRow/index.cjs.map +1 -0
- package/dist/types/KeyValueRow/index.d.cts +2 -0
- package/dist/types/KeyValueRow/index.d.cts.map +1 -0
- package/dist/types/KeyValueRow/index.d.mts +2 -0
- package/dist/types/KeyValueRow/index.d.mts.map +1 -0
- package/dist/types/KeyValueRow/index.mjs +2 -0
- package/dist/types/KeyValueRow/index.mjs.map +1 -0
- package/package.json +6 -1
- package/dist/types/BoxHorizontal/BoxHorizontal.types.cjs.map +0 -1
- package/dist/types/BoxHorizontal/BoxHorizontal.types.d.cts.map +0 -1
- package/dist/types/BoxHorizontal/BoxHorizontal.types.d.mts.map +0 -1
- package/dist/types/BoxHorizontal/BoxHorizontal.types.mjs +0 -2
- package/dist/types/BoxHorizontal/BoxHorizontal.types.mjs.map +0 -1
- package/dist/types/BoxHorizontal/index.cjs.map +0 -1
- package/dist/types/BoxHorizontal/index.d.cts +0 -2
- package/dist/types/BoxHorizontal/index.d.cts.map +0 -1
- package/dist/types/BoxHorizontal/index.d.mts +0 -2
- package/dist/types/BoxHorizontal/index.d.mts.map +0 -1
- package/dist/types/BoxHorizontal/index.mjs.map +0 -1
- package/dist/types/BoxVertical/BoxVertical.types.cjs.map +0 -1
- package/dist/types/BoxVertical/BoxVertical.types.d.cts.map +0 -1
- package/dist/types/BoxVertical/BoxVertical.types.d.mts.map +0 -1
- package/dist/types/BoxVertical/BoxVertical.types.mjs +0 -2
- package/dist/types/BoxVertical/BoxVertical.types.mjs.map +0 -1
- package/dist/types/BoxVertical/index.cjs.map +0 -1
- package/dist/types/BoxVertical/index.d.cts +0 -2
- package/dist/types/BoxVertical/index.d.cts.map +0 -1
- package/dist/types/BoxVertical/index.d.mts +0 -2
- package/dist/types/BoxVertical/index.d.mts.map +0 -1
- package/dist/types/BoxVertical/index.mjs.map +0 -1
- package/dist/types/Text/Text.types.cjs +0 -118
- package/dist/types/Text/Text.types.cjs.map +0 -1
- package/dist/types/Text/Text.types.d.cts +0 -140
- package/dist/types/Text/Text.types.d.cts.map +0 -1
- package/dist/types/Text/Text.types.d.mts +0 -140
- package/dist/types/Text/Text.types.d.mts.map +0 -1
- package/dist/types/Text/Text.types.mjs +0 -115
- package/dist/types/Text/Text.types.mjs.map +0 -1
- package/dist/types/Text/index.cjs +0 -10
- package/dist/types/Text/index.cjs.map +0 -1
- package/dist/types/Text/index.d.cts +0 -2
- package/dist/types/Text/index.d.cts.map +0 -1
- package/dist/types/Text/index.d.mts +0 -2
- package/dist/types/Text/index.d.mts.map +0 -1
- package/dist/types/Text/index.mjs +0 -2
- package/dist/types/Text/index.mjs.map +0 -1
- /package/dist/types/{BoxHorizontal → BadgeNetwork}/index.cjs +0 -0
- /package/dist/types/{BoxHorizontal → BadgeNetwork}/index.mjs +0 -0
- /package/dist/types/{BoxVertical → BoxColumn}/index.cjs +0 -0
- /package/dist/types/{BoxVertical → BoxColumn}/index.mjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `BadgeNetworkPropsShared` shared type for cross-platform use ([#1021](https://github.com/MetaMask/metamask-design-system/pull/1021))
|
|
15
|
+
- Added `HeaderSearchVariant`, `HeaderSearchPropsShared`, `HeaderSearchInlinePropsShared`, and `HeaderSearchScreenPropsShared` shared types for cross-platform use ([#1031](https://github.com/MetaMask/metamask-design-system/pull/1031))
|
|
16
|
+
- Added `KeyValueRowVariant` const object (`Summary`, `Input`) and `KeyValueRowPropsShared` shared type for cross-platform use ([#1023](https://github.com/MetaMask/metamask-design-system/pull/1023))
|
|
17
|
+
- Added `KeyValueColumnPropsShared` shared type for cross-platform use ([#1046](https://github.com/MetaMask/metamask-design-system/pull/1046))
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **BREAKING:** Renamed `BoxHorizontalPropsShared` to `BoxRowPropsShared` and `BoxVerticalPropsShared` to `BoxColumnPropsShared` ([#1050](https://github.com/MetaMask/metamask-design-system/pull/1050))
|
|
22
|
+
- See [Migration Guide](../design-system-react-native/MIGRATION.md#from-version-0150-to-0160)
|
|
23
|
+
|
|
24
|
+
## [0.8.0]
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Added `AvatarToken` shared types (`AvatarTokenSize`, `AvatarTokenPropsShared`) for cross-platform use ([#1009](https://github.com/MetaMask/metamask-design-system/pull/1009))
|
|
29
|
+
- Added `AvatarAccount` shared types (`AvatarAccountPropsShared`) for cross-platform use ([#1015](https://github.com/MetaMask/metamask-design-system/pull/1015))
|
|
30
|
+
|
|
10
31
|
## [0.7.0]
|
|
11
32
|
|
|
12
33
|
### Added
|
|
@@ -87,7 +108,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
87
108
|
- **Initial release** - MetaMask Design System Shared
|
|
88
109
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
89
110
|
|
|
90
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
111
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.9.0...HEAD
|
|
112
|
+
[0.9.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.8.0...@metamask/design-system-shared@0.9.0
|
|
113
|
+
[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
114
|
[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
115
|
[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
116
|
[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.
|
|
3
|
+
exports.IconSize = exports.IconName = exports.IconColor = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = 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; } });
|
|
@@ -20,6 +20,12 @@ Object.defineProperty(exports, "BadgeCountSize", { enumerable: true, get: functi
|
|
|
20
20
|
var BadgeStatus_1 = require("./types/BadgeStatus/index.cjs");
|
|
21
21
|
Object.defineProperty(exports, "BadgeStatusStatus", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusStatus; } });
|
|
22
22
|
Object.defineProperty(exports, "BadgeStatusSize", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusSize; } });
|
|
23
|
+
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
24
|
+
var HeaderSearch_1 = require("./types/HeaderSearch/index.cjs");
|
|
25
|
+
Object.defineProperty(exports, "HeaderSearchVariant", { enumerable: true, get: function () { return HeaderSearch_1.HeaderSearchVariant; } });
|
|
26
|
+
// KeyValueRow types (ADR-0003 + ADR-0004)
|
|
27
|
+
var KeyValueRow_1 = require("./types/KeyValueRow/index.cjs");
|
|
28
|
+
Object.defineProperty(exports, "KeyValueRowVariant", { enumerable: true, get: function () { return KeyValueRow_1.KeyValueRowVariant; } });
|
|
23
29
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
24
30
|
var AvatarToken_1 = require("./types/AvatarToken/index.cjs");
|
|
25
31
|
Object.defineProperty(exports, "AvatarTokenSize", { enumerable: true, get: function () { return AvatarToken_1.AvatarTokenSize; } });
|
|
@@ -33,11 +39,9 @@ Object.defineProperty(exports, "BadgeWrapperPosition", { enumerable: true, get:
|
|
|
33
39
|
var AvatarAccount_1 = require("./types/AvatarAccount/index.cjs");
|
|
34
40
|
Object.defineProperty(exports, "AvatarAccountSize", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccountSize; } });
|
|
35
41
|
Object.defineProperty(exports, "AvatarAccountVariant", { enumerable: true, get: function () { return AvatarAccount_1.AvatarAccountVariant; } });
|
|
36
|
-
//
|
|
37
|
-
var
|
|
38
|
-
Object.defineProperty(exports, "
|
|
39
|
-
Object.defineProperty(exports, "
|
|
40
|
-
Object.defineProperty(exports, "
|
|
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; } });
|
|
42
|
+
// Icon types (ADR-0003 + ADR-0004)
|
|
43
|
+
var Icon_1 = require("./types/Icon/index.cjs");
|
|
44
|
+
Object.defineProperty(exports, "IconColor", { enumerable: true, get: function () { return Icon_1.IconColor; } });
|
|
45
|
+
Object.defineProperty(exports, "IconName", { enumerable: true, get: function () { return Icon_1.IconName; } });
|
|
46
|
+
Object.defineProperty(exports, "IconSize", { enumerable: true, get: function () { return Icon_1.IconSize; } });
|
|
43
47
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,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;
|
|
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;AAgBjB,2CAA2C;AAC3C,+DAK8B;AAJ5B,mHAAA,mBAAmB,OAAA;AASrB,0CAA0C;AAC1C,6DAG6B;AAF3B,iHAAA,kBAAkB,OAAA;AAUpB,0CAA0C;AAC1C,6DAG6B;AAF3B,8GAAA,eAAe,OAAA;AAIjB,0CAA0C;AAC1C,6DAG6B;AAF3B,kHAAA,mBAAmB,OAAA;AAOrB,2CAA2C;AAC3C,+DAK8B;AAJ5B,+HAAA,+BAA+B,OAAA;AAC/B,oHAAA,oBAAoB,OAAA;AAKtB,iEAI+B;AAH7B,kHAAA,iBAAiB,OAAA;AACjB,qHAAA,oBAAoB,OAAA;AAItB,mCAAmC;AACnC,+CAKsB;AAJpB,iGAAA,SAAS,OAAA;AACT,gGAAA,QAAQ,OAAA;AACR,gGAAA,QAAQ,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// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -5,13 +5,17 @@ export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/i
|
|
|
5
5
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
|
|
6
6
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
|
|
7
7
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.cjs";
|
|
8
|
-
export { type
|
|
9
|
-
export { type
|
|
8
|
+
export { type BoxRowPropsShared } from "./types/BoxRow/index.cjs";
|
|
9
|
+
export { type BoxColumnPropsShared } from "./types/BoxColumn/index.cjs";
|
|
10
|
+
export { HeaderSearchVariant, type HeaderSearchInlinePropsShared, type HeaderSearchPropsShared, type HeaderSearchScreenPropsShared, } from "./types/HeaderSearch/index.cjs";
|
|
11
|
+
export { type KeyValueColumnPropsShared } from "./types/KeyValueColumn/index.cjs";
|
|
12
|
+
export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyValueRow/index.cjs";
|
|
10
13
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
|
|
11
14
|
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.cjs";
|
|
12
15
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.cjs";
|
|
13
16
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
|
|
17
|
+
export { type BadgeNetworkPropsShared } from "./types/BadgeNetwork/index.cjs";
|
|
14
18
|
export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrapperCustomPosition, type BadgeWrapperPropsShared, } from "./types/BadgeWrapper/index.cjs";
|
|
15
19
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.cjs";
|
|
16
|
-
export {
|
|
20
|
+
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
17
21
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;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,
|
|
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,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,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EAAE,KAAK,oBAAoB,EAAE,oCAA0B;AAG9D,OAAO,EACL,mBAAmB,EACnB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,GACnC,uCAA6B;AAG9B,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EACL,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,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,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,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,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,eAAe,GACrB,+BAAqB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -5,13 +5,17 @@ export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/i
|
|
|
5
5
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
|
|
6
6
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
|
|
7
7
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.mjs";
|
|
8
|
-
export { type
|
|
9
|
-
export { type
|
|
8
|
+
export { type BoxRowPropsShared } from "./types/BoxRow/index.mjs";
|
|
9
|
+
export { type BoxColumnPropsShared } from "./types/BoxColumn/index.mjs";
|
|
10
|
+
export { HeaderSearchVariant, type HeaderSearchInlinePropsShared, type HeaderSearchPropsShared, type HeaderSearchScreenPropsShared, } from "./types/HeaderSearch/index.mjs";
|
|
11
|
+
export { type KeyValueColumnPropsShared } from "./types/KeyValueColumn/index.mjs";
|
|
12
|
+
export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyValueRow/index.mjs";
|
|
10
13
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
|
|
11
14
|
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.mjs";
|
|
12
15
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.mjs";
|
|
13
16
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
|
|
17
|
+
export { type BadgeNetworkPropsShared } from "./types/BadgeNetwork/index.mjs";
|
|
14
18
|
export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrapperCustomPosition, type BadgeWrapperPropsShared, } from "./types/BadgeWrapper/index.mjs";
|
|
15
19
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.mjs";
|
|
16
|
-
export {
|
|
20
|
+
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
17
21
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;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,
|
|
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,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EAAE,KAAK,oBAAoB,EAAE,oCAA0B;AAG9D,OAAO,EACL,mBAAmB,EACnB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,GACnC,uCAA6B;AAG9B,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EACL,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,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,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,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,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,eAAe,GACrB,+BAAqB"}
|
package/dist/index.mjs
CHANGED
|
@@ -6,6 +6,10 @@ export { AvatarBaseSize, AvatarBaseShape } from "./types/AvatarBase/index.mjs";
|
|
|
6
6
|
export { BadgeCountSize } from "./types/BadgeCount/index.mjs";
|
|
7
7
|
// BadgeStatus types (ADR-0003 + ADR-0004)
|
|
8
8
|
export { BadgeStatusStatus, BadgeStatusSize } from "./types/BadgeStatus/index.mjs";
|
|
9
|
+
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
10
|
+
export { HeaderSearchVariant } from "./types/HeaderSearch/index.mjs";
|
|
11
|
+
// KeyValueRow types (ADR-0003 + ADR-0004)
|
|
12
|
+
export { KeyValueRowVariant } from "./types/KeyValueRow/index.mjs";
|
|
9
13
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
10
14
|
export { AvatarTokenSize } from "./types/AvatarToken/index.mjs";
|
|
11
15
|
// BannerAlert types (ADR-0003 + ADR-0004)
|
|
@@ -13,6 +17,6 @@ export { BannerAlertSeverity } from "./types/BannerAlert/index.mjs";
|
|
|
13
17
|
// BadgeWrapper types (ADR-0003 + ADR-0004)
|
|
14
18
|
export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition } from "./types/BadgeWrapper/index.mjs";
|
|
15
19
|
export { AvatarAccountSize, AvatarAccountVariant } from "./types/AvatarAccount/index.mjs";
|
|
16
|
-
//
|
|
17
|
-
export {
|
|
20
|
+
// Icon types (ADR-0003 + ADR-0004)
|
|
21
|
+
export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
18
22
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,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;
|
|
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;AAc7B,2CAA2C;AAC3C,OAAO,EACL,mBAAmB,EAIpB,uCAA6B;AAK9B,0CAA0C;AAC1C,OAAO,EACL,kBAAkB,EAEnB,sCAA4B;AAQ7B,0CAA0C;AAC1C,OAAO,EACL,eAAe,EAEhB,sCAA4B;AAE7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B;AAK7B,2CAA2C;AAC3C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EAGrB,uCAA6B;AAE9B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAErB,wCAA8B;AAE/B,mCAAmC;AACnC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EAET,+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// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.cjs","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * BadgeNetwork component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n * Note: `src` is not included here because it has a platform-specific type\n * (string in React, ImageOrSvgSrc in React Native).\n */\nexport type BadgeNetworkPropsShared = {\n /**\n * Optional name of the network.\n * Used as alt text for the image, and the first letter is used as fallback\n * text when no explicit fallbackText is provided.\n */\n name?: string;\n /**\n * Optional text to display when no image is provided or when the image\n * fails to load. If not provided, the first letter of name is used.\n */\n fallbackText?: string;\n};\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BadgeNetwork component shared props (ADR-0004)
|
|
3
|
+
* Platform-independent properties shared across React and React Native.
|
|
4
|
+
* Note: `src` is not included here because it has a platform-specific type
|
|
5
|
+
* (string in React, ImageOrSvgSrc in React Native).
|
|
6
|
+
*/
|
|
7
|
+
export type BadgeNetworkPropsShared = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional name of the network.
|
|
10
|
+
* Used as alt text for the image, and the first letter is used as fallback
|
|
11
|
+
* text when no explicit fallbackText is provided.
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional text to display when no image is provided or when the image
|
|
16
|
+
* fails to load. If not provided, the first letter of name is used.
|
|
17
|
+
*/
|
|
18
|
+
fallbackText?: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=BadgeNetwork.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BadgeNetwork component shared props (ADR-0004)
|
|
3
|
+
* Platform-independent properties shared across React and React Native.
|
|
4
|
+
* Note: `src` is not included here because it has a platform-specific type
|
|
5
|
+
* (string in React, ImageOrSvgSrc in React Native).
|
|
6
|
+
*/
|
|
7
|
+
export type BadgeNetworkPropsShared = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional name of the network.
|
|
10
|
+
* Used as alt text for the image, and the first letter is used as fallback
|
|
11
|
+
* text when no explicit fallbackText is provided.
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional text to display when no image is provided or when the image
|
|
16
|
+
* fails to load. If not provided, the first letter of name is used.
|
|
17
|
+
*/
|
|
18
|
+
fallbackText?: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=BadgeNetwork.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.mjs","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * BadgeNetwork component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n * Note: `src` is not included here because it has a platform-specific type\n * (string in React, ImageOrSvgSrc in React Native).\n */\nexport type BadgeNetworkPropsShared = {\n /**\n * Optional name of the network.\n * Used as alt text for the image, and the first letter is used as fallback\n * text when no explicit fallbackText is provided.\n */\n name?: string;\n /**\n * Optional text to display when no image is provided or when the image\n * fails to load. If not provided, the first letter of name is used.\n */\n fallbackText?: string;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BadgeNetworkPropsShared } from './BadgeNetwork.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,iCAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,iCAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BadgeNetwork/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BadgeNetworkPropsShared } from './BadgeNetwork.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxColumn.types.cjs","sourceRoot":"","sources":["../../../src/types/BoxColumn/BoxColumn.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { TextOrChildrenPropsShared } from '../TextOrChildren';\n\n/**\n * BoxColumn component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxColumnPropsShared = TextOrChildrenPropsShared & {\n /**\n * Optional node rendered above the text/children.\n */\n topAccessory?: ReactNode;\n /**\n * Optional node rendered below the text/children.\n */\n bottomAccessory?: ReactNode;\n};\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { TextOrChildrenPropsShared } from "../TextOrChildren/index.cjs";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* BoxColumn component shared props (ADR-0004)
|
|
5
5
|
* Platform-independent properties shared across React and React Native.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type BoxColumnPropsShared = TextOrChildrenPropsShared & {
|
|
8
8
|
/**
|
|
9
9
|
* Optional node rendered above the text/children.
|
|
10
10
|
*/
|
|
@@ -14,4 +14,4 @@ export type BoxVerticalPropsShared = TextOrChildrenPropsShared & {
|
|
|
14
14
|
*/
|
|
15
15
|
bottomAccessory?: ReactNode;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=BoxColumn.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxColumn.types.d.cts","sourceRoot":"","sources":["../../../src/types/BoxColumn/BoxColumn.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,oCAA0B;AAEnE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAAG;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;CAC7B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { TextOrChildrenPropsShared } from "../TextOrChildren/index.mjs";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* BoxColumn component shared props (ADR-0004)
|
|
5
5
|
* Platform-independent properties shared across React and React Native.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type BoxColumnPropsShared = TextOrChildrenPropsShared & {
|
|
8
8
|
/**
|
|
9
9
|
* Optional node rendered above the text/children.
|
|
10
10
|
*/
|
|
@@ -14,4 +14,4 @@ export type BoxVerticalPropsShared = TextOrChildrenPropsShared & {
|
|
|
14
14
|
*/
|
|
15
15
|
bottomAccessory?: ReactNode;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=BoxColumn.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxColumn.types.d.mts","sourceRoot":"","sources":["../../../src/types/BoxColumn/BoxColumn.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,oCAA0B;AAEnE;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAAG;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxColumn.types.mjs","sourceRoot":"","sources":["../../../src/types/BoxColumn/BoxColumn.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { TextOrChildrenPropsShared } from '../TextOrChildren';\n\n/**\n * BoxColumn component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxColumnPropsShared = TextOrChildrenPropsShared & {\n /**\n * Optional node rendered above the text/children.\n */\n topAccessory?: ReactNode;\n /**\n * Optional node rendered below the text/children.\n */\n bottomAccessory?: ReactNode;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BoxColumn/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BoxColumnPropsShared } from './BoxColumn.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BoxColumn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,8BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BoxColumn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,8BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BoxColumn/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BoxColumnPropsShared } from './BoxColumn.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxRow.types.cjs","sourceRoot":"","sources":["../../../src/types/BoxRow/BoxRow.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { TextOrChildrenPropsShared } from '../TextOrChildren';\n\n/**\n * BoxRow component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxRowPropsShared = TextOrChildrenPropsShared & {\n /**\n * Optional node rendered before the text/children (e.g. icon, avatar).\n */\n startAccessory?: ReactNode;\n /**\n * Optional node rendered after the text/children (e.g. icon, badge).\n */\n endAccessory?: ReactNode;\n};\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { TextOrChildrenPropsShared } from "../TextOrChildren/index.cjs";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* BoxRow component shared props (ADR-0004)
|
|
5
5
|
* Platform-independent properties shared across React and React Native.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type BoxRowPropsShared = TextOrChildrenPropsShared & {
|
|
8
8
|
/**
|
|
9
9
|
* Optional node rendered before the text/children (e.g. icon, avatar).
|
|
10
10
|
*/
|
|
@@ -14,4 +14,4 @@ export type BoxHorizontalPropsShared = TextOrChildrenPropsShared & {
|
|
|
14
14
|
*/
|
|
15
15
|
endAccessory?: ReactNode;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=BoxRow.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxRow.types.d.cts","sourceRoot":"","sources":["../../../src/types/BoxRow/BoxRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,oCAA0B;AAEnE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,yBAAyB,GAAG;IAC1D;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { TextOrChildrenPropsShared } from "../TextOrChildren/index.mjs";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* BoxRow component shared props (ADR-0004)
|
|
5
5
|
* Platform-independent properties shared across React and React Native.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type BoxRowPropsShared = TextOrChildrenPropsShared & {
|
|
8
8
|
/**
|
|
9
9
|
* Optional node rendered before the text/children (e.g. icon, avatar).
|
|
10
10
|
*/
|
|
@@ -14,4 +14,4 @@ export type BoxHorizontalPropsShared = TextOrChildrenPropsShared & {
|
|
|
14
14
|
*/
|
|
15
15
|
endAccessory?: ReactNode;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=BoxRow.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxRow.types.d.mts","sourceRoot":"","sources":["../../../src/types/BoxRow/BoxRow.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,yBAAyB,EAAE,oCAA0B;AAEnE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,yBAAyB,GAAG;IAC1D;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxRow.types.mjs","sourceRoot":"","sources":["../../../src/types/BoxRow/BoxRow.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { TextOrChildrenPropsShared } from '../TextOrChildren';\n\n/**\n * BoxRow component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type BoxRowPropsShared = TextOrChildrenPropsShared & {\n /**\n * Optional node rendered before the text/children (e.g. icon, avatar).\n */\n startAccessory?: ReactNode;\n /**\n * Optional node rendered after the text/children (e.g. icon, badge).\n */\n endAccessory?: ReactNode;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/BoxRow/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BoxRowPropsShared } from './BoxRow.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/BoxRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,2BAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/BoxRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,2BAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/BoxRow/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type BoxRowPropsShared } from './BoxRow.types';\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HeaderSearchVariant = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* HeaderSearch variants (ADR-0003).
|
|
6
|
+
*/
|
|
7
|
+
exports.HeaderSearchVariant = {
|
|
8
|
+
Screen: 'screen',
|
|
9
|
+
Inline: 'inline',
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=HeaderSearch.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSearch.types.cjs","sourceRoot":"","sources":["../../../src/types/HeaderSearch/HeaderSearch.types.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC","sourcesContent":["/**\n * HeaderSearch variants (ADR-0003).\n */\nexport const HeaderSearchVariant = {\n Screen: 'screen',\n Inline: 'inline',\n} as const;\n\nexport type HeaderSearchVariant =\n (typeof HeaderSearchVariant)[keyof typeof HeaderSearchVariant];\n\n/**\n * Screen variant shared props (ADR-0004).\n */\nexport type HeaderSearchScreenPropsShared = {\n variant: typeof HeaderSearchVariant.Screen;\n};\n\n/**\n * Inline variant shared props (ADR-0004).\n */\nexport type HeaderSearchInlinePropsShared = {\n variant: typeof HeaderSearchVariant.Inline;\n};\n\n/**\n * Discriminated shared props for HeaderSearch.\n */\nexport type HeaderSearchPropsShared =\n | HeaderSearchScreenPropsShared\n | HeaderSearchInlinePropsShared;\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HeaderSearch variants (ADR-0003).
|
|
3
|
+
*/
|
|
4
|
+
export declare const HeaderSearchVariant: {
|
|
5
|
+
readonly Screen: "screen";
|
|
6
|
+
readonly Inline: "inline";
|
|
7
|
+
};
|
|
8
|
+
export type HeaderSearchVariant = (typeof HeaderSearchVariant)[keyof typeof HeaderSearchVariant];
|
|
9
|
+
/**
|
|
10
|
+
* Screen variant shared props (ADR-0004).
|
|
11
|
+
*/
|
|
12
|
+
export type HeaderSearchScreenPropsShared = {
|
|
13
|
+
variant: typeof HeaderSearchVariant.Screen;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Inline variant shared props (ADR-0004).
|
|
17
|
+
*/
|
|
18
|
+
export type HeaderSearchInlinePropsShared = {
|
|
19
|
+
variant: typeof HeaderSearchVariant.Inline;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Discriminated shared props for HeaderSearch.
|
|
23
|
+
*/
|
|
24
|
+
export type HeaderSearchPropsShared = HeaderSearchScreenPropsShared | HeaderSearchInlinePropsShared;
|
|
25
|
+
//# sourceMappingURL=HeaderSearch.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSearch.types.d.cts","sourceRoot":"","sources":["../../../src/types/HeaderSearch/HeaderSearch.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAC/B,6BAA6B,GAC7B,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HeaderSearch variants (ADR-0003).
|
|
3
|
+
*/
|
|
4
|
+
export declare const HeaderSearchVariant: {
|
|
5
|
+
readonly Screen: "screen";
|
|
6
|
+
readonly Inline: "inline";
|
|
7
|
+
};
|
|
8
|
+
export type HeaderSearchVariant = (typeof HeaderSearchVariant)[keyof typeof HeaderSearchVariant];
|
|
9
|
+
/**
|
|
10
|
+
* Screen variant shared props (ADR-0004).
|
|
11
|
+
*/
|
|
12
|
+
export type HeaderSearchScreenPropsShared = {
|
|
13
|
+
variant: typeof HeaderSearchVariant.Screen;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Inline variant shared props (ADR-0004).
|
|
17
|
+
*/
|
|
18
|
+
export type HeaderSearchInlinePropsShared = {
|
|
19
|
+
variant: typeof HeaderSearchVariant.Inline;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Discriminated shared props for HeaderSearch.
|
|
23
|
+
*/
|
|
24
|
+
export type HeaderSearchPropsShared = HeaderSearchScreenPropsShared | HeaderSearchInlinePropsShared;
|
|
25
|
+
//# sourceMappingURL=HeaderSearch.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSearch.types.d.mts","sourceRoot":"","sources":["../../../src/types/HeaderSearch/HeaderSearch.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAC/B,6BAA6B,GAC7B,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSearch.types.mjs","sourceRoot":"","sources":["../../../src/types/HeaderSearch/HeaderSearch.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC","sourcesContent":["/**\n * HeaderSearch variants (ADR-0003).\n */\nexport const HeaderSearchVariant = {\n Screen: 'screen',\n Inline: 'inline',\n} as const;\n\nexport type HeaderSearchVariant =\n (typeof HeaderSearchVariant)[keyof typeof HeaderSearchVariant];\n\n/**\n * Screen variant shared props (ADR-0004).\n */\nexport type HeaderSearchScreenPropsShared = {\n variant: typeof HeaderSearchVariant.Screen;\n};\n\n/**\n * Inline variant shared props (ADR-0004).\n */\nexport type HeaderSearchInlinePropsShared = {\n variant: typeof HeaderSearchVariant.Inline;\n};\n\n/**\n * Discriminated shared props for HeaderSearch.\n */\nexport type HeaderSearchPropsShared =\n | HeaderSearchScreenPropsShared\n | HeaderSearchInlinePropsShared;\n"]}
|