@metamask-previews/design-system-shared 0.17.0-preview.178e60f → 0.19.0-preview.620b9f3
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 +23 -1
- package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs +7 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs.map +1 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts +8 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts.map +1 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts +8 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts.map +1 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs +4 -0
- package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs.map +1 -0
- package/dist/contexts/SegmentGroup/index.cjs +6 -0
- package/dist/contexts/SegmentGroup/index.cjs.map +1 -0
- package/dist/contexts/SegmentGroup/index.d.cts +2 -0
- package/dist/contexts/SegmentGroup/index.d.cts.map +1 -0
- package/dist/contexts/SegmentGroup/index.d.mts +2 -0
- package/dist/contexts/SegmentGroup/index.d.mts.map +1 -0
- package/dist/contexts/SegmentGroup/index.mjs +2 -0
- package/dist/contexts/SegmentGroup/index.mjs.map +1 -0
- package/dist/index.cjs +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +8 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/HelpText/HelpText.types.cjs +18 -0
- package/dist/types/HelpText/HelpText.types.cjs.map +1 -0
- package/dist/types/HelpText/HelpText.types.d.cts +26 -0
- package/dist/types/HelpText/HelpText.types.d.cts.map +1 -0
- package/dist/types/HelpText/HelpText.types.d.mts +26 -0
- package/dist/types/HelpText/HelpText.types.d.mts.map +1 -0
- package/dist/types/HelpText/HelpText.types.mjs +15 -0
- package/dist/types/HelpText/HelpText.types.mjs.map +1 -0
- package/dist/types/HelpText/index.cjs +6 -0
- package/dist/types/HelpText/index.cjs.map +1 -0
- package/dist/types/HelpText/index.d.cts +2 -0
- package/dist/types/HelpText/index.d.cts.map +1 -0
- package/dist/types/HelpText/index.d.mts +2 -0
- package/dist/types/HelpText/index.d.mts.map +1 -0
- package/dist/types/HelpText/index.mjs +2 -0
- package/dist/types/HelpText/index.mjs.map +1 -0
- package/dist/types/SectionHeader/SectionHeader.types.cjs +3 -0
- package/dist/types/SectionHeader/SectionHeader.types.cjs.map +1 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.cts +38 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.cts.map +1 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.mts +38 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.mts.map +1 -0
- package/dist/types/SectionHeader/SectionHeader.types.mjs +2 -0
- package/dist/types/SectionHeader/SectionHeader.types.mjs.map +1 -0
- package/dist/types/SectionHeader/index.cjs +3 -0
- package/dist/types/SectionHeader/index.cjs.map +1 -0
- package/dist/types/SectionHeader/index.d.cts +2 -0
- package/dist/types/SectionHeader/index.d.cts.map +1 -0
- package/dist/types/SectionHeader/index.d.mts +2 -0
- package/dist/types/SectionHeader/index.d.mts.map +1 -0
- package/dist/types/SectionHeader/index.mjs +2 -0
- package/dist/types/SectionHeader/index.mjs.map +1 -0
- package/dist/types/SegmentButton/SegmentButton.types.cjs +12 -0
- package/dist/types/SegmentButton/SegmentButton.types.cjs.map +1 -0
- package/dist/types/SegmentButton/SegmentButton.types.d.cts +31 -0
- package/dist/types/SegmentButton/SegmentButton.types.d.cts.map +1 -0
- package/dist/types/SegmentButton/SegmentButton.types.d.mts +31 -0
- package/dist/types/SegmentButton/SegmentButton.types.d.mts.map +1 -0
- package/dist/types/SegmentButton/SegmentButton.types.mjs +9 -0
- package/dist/types/SegmentButton/SegmentButton.types.mjs.map +1 -0
- package/dist/types/SegmentButton/index.cjs +6 -0
- package/dist/types/SegmentButton/index.cjs.map +1 -0
- package/dist/types/SegmentButton/index.d.cts +2 -0
- package/dist/types/SegmentButton/index.d.cts.map +1 -0
- package/dist/types/SegmentButton/index.d.mts +2 -0
- package/dist/types/SegmentButton/index.d.mts.map +1 -0
- package/dist/types/SegmentButton/index.mjs +2 -0
- package/dist/types/SegmentButton/index.mjs.map +1 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.cjs +3 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.cjs.map +1 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.d.cts +20 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.d.cts.map +1 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.d.mts +20 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.d.mts.map +1 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.mjs +2 -0
- package/dist/types/SegmentGroup/SegmentGroup.types.mjs.map +1 -0
- package/dist/types/SegmentGroup/index.cjs +3 -0
- package/dist/types/SegmentGroup/index.cjs.map +1 -0
- package/dist/types/SegmentGroup/index.d.cts +2 -0
- package/dist/types/SegmentGroup/index.d.cts.map +1 -0
- package/dist/types/SegmentGroup/index.d.mts +2 -0
- package/dist/types/SegmentGroup/index.d.mts.map +1 -0
- package/dist/types/SegmentGroup/index.mjs +2 -0
- package/dist/types/SegmentGroup/index.mjs.map +1 -0
- package/dist/types/SelectButton/SelectButton.types.cjs +29 -0
- package/dist/types/SelectButton/SelectButton.types.cjs.map +1 -0
- package/dist/types/SelectButton/SelectButton.types.d.cts +88 -0
- package/dist/types/SelectButton/SelectButton.types.d.cts.map +1 -0
- package/dist/types/SelectButton/SelectButton.types.d.mts +88 -0
- package/dist/types/SelectButton/SelectButton.types.d.mts.map +1 -0
- package/dist/types/SelectButton/SelectButton.types.mjs +26 -0
- package/dist/types/SelectButton/SelectButton.types.mjs.map +1 -0
- package/dist/types/SelectButton/index.cjs +8 -0
- package/dist/types/SelectButton/index.cjs.map +1 -0
- package/dist/types/SelectButton/index.d.cts +2 -0
- package/dist/types/SelectButton/index.d.cts.map +1 -0
- package/dist/types/SelectButton/index.d.mts +2 -0
- package/dist/types/SelectButton/index.d.mts.map +1 -0
- package/dist/types/SelectButton/index.mjs +2 -0
- package/dist/types/SelectButton/index.mjs.map +1 -0
- package/dist/types/SensitiveText/SensitiveText.types.cjs +27 -0
- package/dist/types/SensitiveText/SensitiveText.types.cjs.map +1 -0
- package/dist/types/SensitiveText/SensitiveText.types.d.cts +54 -0
- package/dist/types/SensitiveText/SensitiveText.types.d.cts.map +1 -0
- package/dist/types/SensitiveText/SensitiveText.types.d.mts +54 -0
- package/dist/types/SensitiveText/SensitiveText.types.d.mts.map +1 -0
- package/dist/types/SensitiveText/SensitiveText.types.mjs +24 -0
- package/dist/types/SensitiveText/SensitiveText.types.mjs.map +1 -0
- package/dist/types/SensitiveText/index.cjs +6 -0
- package/dist/types/SensitiveText/index.cjs.map +1 -0
- package/dist/types/SensitiveText/index.d.cts +2 -0
- package/dist/types/SensitiveText/index.d.cts.map +1 -0
- package/dist/types/SensitiveText/index.d.mts +2 -0
- package/dist/types/SensitiveText/index.d.mts.map +1 -0
- package/dist/types/SensitiveText/index.mjs +2 -0
- package/dist/types/SensitiveText/index.mjs.map +1 -0
- package/dist/types/TitleAlert/TitleAlert.types.cjs +3 -0
- package/dist/types/TitleAlert/TitleAlert.types.cjs.map +1 -0
- package/dist/types/TitleAlert/TitleAlert.types.d.cts +34 -0
- package/dist/types/TitleAlert/TitleAlert.types.d.cts.map +1 -0
- package/dist/types/TitleAlert/TitleAlert.types.d.mts +34 -0
- package/dist/types/TitleAlert/TitleAlert.types.d.mts.map +1 -0
- package/dist/types/TitleAlert/TitleAlert.types.mjs +2 -0
- package/dist/types/TitleAlert/TitleAlert.types.mjs.map +1 -0
- package/dist/types/TitleAlert/index.cjs +3 -0
- package/dist/types/TitleAlert/index.cjs.map +1 -0
- package/dist/types/TitleAlert/index.d.cts +2 -0
- package/dist/types/TitleAlert/index.d.cts.map +1 -0
- package/dist/types/TitleAlert/index.d.mts +2 -0
- package/dist/types/TitleAlert/index.d.mts.map +1 -0
- package/dist/types/TitleAlert/index.mjs +2 -0
- package/dist/types/TitleAlert/index.mjs.map +1 -0
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.19.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Exported `TitleAlertPropsShared` for cross-platform alert title layouts ([#1131](https://github.com/MetaMask/metamask-design-system/pull/1131))
|
|
15
|
+
- Exported `SectionHeaderPropsShared` for cross-platform section heading layouts ([#1175](https://github.com/MetaMask/metamask-design-system/pull/1175))
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Updated the shared `Telegram` icon asset to match the official Telegram logo so React and React Native stay aligned ([#1176](https://github.com/MetaMask/metamask-design-system/pull/1176))
|
|
20
|
+
|
|
21
|
+
## [0.18.0]
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Exported `SelectButton` prop and variant types (`SelectButtonPropsShared`, `SelectButtonVariant`, `SelectButtonEndArrow`), `SegmentGroupPropsShared`, and `SegmentGroupContext` so mobile and web packages share one segment and select contract ([#1172](https://github.com/MetaMask/metamask-design-system/pull/1172))
|
|
26
|
+
- Exported `SensitiveTextLength`, `SensitiveTextPropsShared`, and related types for cross-platform masking and reveal behavior ([#1164](https://github.com/MetaMask/metamask-design-system/pull/1164))
|
|
27
|
+
- Exported `HelpTextSeverity`, `HelpTextPropsShared`, and related types for cross-platform helper and validation text ([#1169](https://github.com/MetaMask/metamask-design-system/pull/1169))
|
|
28
|
+
- Exported `TextAreaPropsShared` for cross-platform multi-line input wrappers ([#1141](https://github.com/MetaMask/metamask-design-system/pull/1141))
|
|
29
|
+
|
|
10
30
|
## [0.17.0]
|
|
11
31
|
|
|
12
32
|
### Added
|
|
@@ -180,7 +200,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
180
200
|
- **Initial release** - MetaMask Design System Shared
|
|
181
201
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
182
202
|
|
|
183
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
203
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.19.0...HEAD
|
|
204
|
+
[0.19.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.18.0...@metamask/design-system-shared@0.19.0
|
|
205
|
+
[0.18.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.17.0...@metamask/design-system-shared@0.18.0
|
|
184
206
|
[0.17.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.16.0...@metamask/design-system-shared@0.17.0
|
|
185
207
|
[0.16.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.15.0...@metamask/design-system-shared@0.16.0
|
|
186
208
|
[0.15.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.14.0...@metamask/design-system-shared@0.15.0
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentGroupContext = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
exports.SegmentGroupContext = (0, react_1.createContext)(null);
|
|
6
|
+
exports.SegmentGroupContext.displayName = 'SegmentGroupContext';
|
|
7
|
+
//# sourceMappingURL=SegmentGroup.context.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentGroup.context.cjs","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/SegmentGroup.context.ts"],"names":[],"mappings":";;;AAAA,iCAAsC;AAUzB,QAAA,mBAAmB,GAC9B,IAAA,qBAAa,EAAkC,IAAI,CAAC,CAAC;AAEvD,2BAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { SegmentButtonVariant } from '../../types/SegmentButton/SegmentButton.types';\n\nexport type SegmentGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: SegmentButtonVariant;\n};\n\nexport const SegmentGroupContext =\n createContext<SegmentGroupContextValue | null>(null);\n\nSegmentGroupContext.displayName = 'SegmentGroupContext';\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SegmentButtonVariant } from "../../types/SegmentButton/SegmentButton.types.cjs";
|
|
2
|
+
export type SegmentGroupContextValue = {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (nextValue: string) => void;
|
|
5
|
+
variant?: SegmentButtonVariant;
|
|
6
|
+
};
|
|
7
|
+
export declare const SegmentGroupContext: import("react").Context<SegmentGroupContextValue | null>;
|
|
8
|
+
//# sourceMappingURL=SegmentGroup.context.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentGroup.context.d.cts","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/SegmentGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,0DAAsD;AAE1F,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,0DACsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SegmentButtonVariant } from "../../types/SegmentButton/SegmentButton.types.mjs";
|
|
2
|
+
export type SegmentGroupContextValue = {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (nextValue: string) => void;
|
|
5
|
+
variant?: SegmentButtonVariant;
|
|
6
|
+
};
|
|
7
|
+
export declare const SegmentGroupContext: import("react").Context<SegmentGroupContextValue | null>;
|
|
8
|
+
//# sourceMappingURL=SegmentGroup.context.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentGroup.context.d.mts","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/SegmentGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,0DAAsD;AAE1F,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,0DACsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentGroup.context.mjs","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/SegmentGroup.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc;AAUtC,MAAM,CAAC,MAAM,mBAAmB,GAC9B,aAAa,CAAkC,IAAI,CAAC,CAAC;AAEvD,mBAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { SegmentButtonVariant } from '../../types/SegmentButton/SegmentButton.types';\n\nexport type SegmentGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: SegmentButtonVariant;\n};\n\nexport const SegmentGroupContext =\n createContext<SegmentGroupContextValue | null>(null);\n\nSegmentGroupContext.displayName = 'SegmentGroupContext';\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentGroupContext = void 0;
|
|
4
|
+
var SegmentGroup_context_1 = require("./SegmentGroup.context.cjs");
|
|
5
|
+
Object.defineProperty(exports, "SegmentGroupContext", { enumerable: true, get: function () { return SegmentGroup_context_1.SegmentGroupContext; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/index.ts"],"names":[],"mappings":";;;AAAA,mEAGgC;AAF9B,2HAAA,mBAAmB,OAAA","sourcesContent":["export {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './SegmentGroup.context';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,mCAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,mCAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/contexts/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAEpB,mCAA+B","sourcesContent":["export {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './SegmentGroup.context';\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AvatarGroupVariant = exports.AvatarGroupSize = exports.IconSize = exports.IconName = exports.IconColor = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.TagSeverity = exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.ButtonIconVariant = exports.ButtonIconSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.ButtonVariant = exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonBaseSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.IconAlertSeverity = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarIconSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
|
|
3
|
+
exports.SelectButtonSize = exports.SegmentGroupContext = exports.SegmentButtonVariant = exports.SensitiveTextLength = exports.AvatarGroupVariant = exports.AvatarGroupSize = exports.IconSize = exports.IconName = exports.IconColor = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.TagSeverity = exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.ButtonIconVariant = exports.ButtonIconSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.ButtonVariant = exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonBaseSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.IconAlertSeverity = exports.HelpTextSeverity = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarIconSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
|
|
4
|
+
exports.SelectButtonVariant = exports.SelectButtonEndArrow = void 0;
|
|
4
5
|
var caip_address_1 = require("./utils/caip-address.cjs");
|
|
5
6
|
Object.defineProperty(exports, "extractAccountAddress", { enumerable: true, get: function () { return caip_address_1.extractAccountAddress; } });
|
|
6
7
|
Object.defineProperty(exports, "generateSeedEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedEthereum; } });
|
|
@@ -22,6 +23,9 @@ Object.defineProperty(exports, "BadgeCountSize", { enumerable: true, get: functi
|
|
|
22
23
|
var BadgeStatus_1 = require("./types/BadgeStatus/index.cjs");
|
|
23
24
|
Object.defineProperty(exports, "BadgeStatusStatus", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusStatus; } });
|
|
24
25
|
Object.defineProperty(exports, "BadgeStatusSize", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatusSize; } });
|
|
26
|
+
// HelpText types (ADR-0003 + ADR-0004)
|
|
27
|
+
var HelpText_1 = require("./types/HelpText/index.cjs");
|
|
28
|
+
Object.defineProperty(exports, "HelpTextSeverity", { enumerable: true, get: function () { return HelpText_1.HelpTextSeverity; } });
|
|
25
29
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
26
30
|
var IconAlert_1 = require("./types/IconAlert/index.cjs");
|
|
27
31
|
Object.defineProperty(exports, "IconAlertSeverity", { enumerable: true, get: function () { return IconAlert_1.IconAlertSeverity; } });
|
|
@@ -86,4 +90,18 @@ Object.defineProperty(exports, "IconSize", { enumerable: true, get: function ()
|
|
|
86
90
|
var AvatarGroup_1 = require("./types/AvatarGroup/index.cjs");
|
|
87
91
|
Object.defineProperty(exports, "AvatarGroupSize", { enumerable: true, get: function () { return AvatarGroup_1.AvatarGroupSize; } });
|
|
88
92
|
Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: function () { return AvatarGroup_1.AvatarGroupVariant; } });
|
|
93
|
+
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
94
|
+
var SensitiveText_1 = require("./types/SensitiveText/index.cjs");
|
|
95
|
+
Object.defineProperty(exports, "SensitiveTextLength", { enumerable: true, get: function () { return SensitiveText_1.SensitiveTextLength; } });
|
|
96
|
+
// SegmentButton types (ADR-0003 + ADR-0004)
|
|
97
|
+
var SegmentButton_1 = require("./types/SegmentButton/index.cjs");
|
|
98
|
+
Object.defineProperty(exports, "SegmentButtonVariant", { enumerable: true, get: function () { return SegmentButton_1.SegmentButtonVariant; } });
|
|
99
|
+
// SegmentGroup context (ADR-0003 + ADR-0004)
|
|
100
|
+
var SegmentGroup_1 = require("./contexts/SegmentGroup/index.cjs");
|
|
101
|
+
Object.defineProperty(exports, "SegmentGroupContext", { enumerable: true, get: function () { return SegmentGroup_1.SegmentGroupContext; } });
|
|
102
|
+
// SelectButton types (ADR-0003 + ADR-0004)
|
|
103
|
+
var SelectButton_1 = require("./types/SelectButton/index.cjs");
|
|
104
|
+
Object.defineProperty(exports, "SelectButtonSize", { enumerable: true, get: function () { return SelectButton_1.SelectButtonSize; } });
|
|
105
|
+
Object.defineProperty(exports, "SelectButtonEndArrow", { enumerable: true, get: function () { return SelectButton_1.SelectButtonEndArrow; } });
|
|
106
|
+
Object.defineProperty(exports, "SelectButtonVariant", { enumerable: true, get: function () { return SelectButton_1.SelectButtonVariant; } });
|
|
89
107
|
//# 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":"
|
|
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,OA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,iGAAA,SAAS,OAAA;AACT,mGAAA,WAAW,OAAA;AAab,iCAAiC;AACjC,iEAG+B;AAF7B,kHAAA,iBAAiB,OAAA;AAOnB,kCAAkC;AAClC,6CAA+D;AAAtD,kGAAA,WAAW,OAAA;AAEpB,kCAAkC;AAClC,6CAUqB;AATnB,uGAAA,gBAAgB,OAAA;AAChB,kGAAA,WAAW,OAAA;AACX,oGAAA,aAAa,OAAA;AACb,wGAAA,iBAAiB,OAAA;AACjB,yGAAA,kBAAkB,OAAA;AAClB,qGAAA,cAAc,OAAA;AAMhB,mCAAmC;AACnC,+CAKsB;AAJpB,iGAAA,SAAS,OAAA;AACT,gGAAA,QAAQ,OAAA;AACR,gGAAA,QAAQ,OAAA;AAIV,0CAA0C;AAC1C,6DAI6B;AAH3B,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,4CAA4C;AAC5C,iEAI+B;AAH7B,oHAAA,mBAAmB,OAAA;AAKrB,4CAA4C;AAC5C,iEAG+B;AAF7B,qHAAA,oBAAoB,OAAA;AAOtB,6CAA6C;AAC7C,kEAGiC;AAF/B,mHAAA,mBAAmB,OAAA;AAIrB,2CAA2C;AAC3C,+DAK8B;AAJ5B,gHAAA,gBAAgB,OAAA;AAChB,oHAAA,oBAAoB,OAAA;AACpB,mHAAA,mBAAmB,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\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// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\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// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\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// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\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// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// SegmentButton types (ADR-0003 + ADR-0004)\nexport {\n SegmentButtonVariant,\n type SegmentButtonPropsShared,\n} from './types/SegmentButton';\n\n// SegmentGroup types (ADR-0003 + ADR-0004)\nexport { type SegmentGroupPropsShared } from './types/SegmentGroup';\n\n// SegmentGroup context (ADR-0003 + ADR-0004)\nexport {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './contexts/SegmentGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -3,10 +3,12 @@ export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./
|
|
|
3
3
|
export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.cjs";
|
|
4
4
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.cjs";
|
|
5
5
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
|
|
6
|
+
export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.cjs";
|
|
6
7
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.cjs";
|
|
7
8
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
|
|
8
9
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.cjs";
|
|
9
10
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.cjs";
|
|
11
|
+
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.cjs";
|
|
10
12
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.cjs";
|
|
11
13
|
export { type TitleSubpagePropsShared } from "./types/TitleSubpage/index.cjs";
|
|
12
14
|
export { type BoxColumnPropsShared } from "./types/BoxColumn/index.cjs";
|
|
@@ -35,4 +37,10 @@ export { TagSeverity, type TagPropsShared } from "./types/Tag/index.cjs";
|
|
|
35
37
|
export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.cjs";
|
|
36
38
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
37
39
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.cjs";
|
|
40
|
+
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.cjs";
|
|
41
|
+
export { SegmentButtonVariant, type SegmentButtonPropsShared, } from "./types/SegmentButton/index.cjs";
|
|
42
|
+
export { type SegmentGroupPropsShared } from "./types/SegmentGroup/index.cjs";
|
|
43
|
+
export { SegmentGroupContext, type SegmentGroupContextValue, } from "./contexts/SegmentGroup/index.cjs";
|
|
44
|
+
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.cjs";
|
|
45
|
+
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.cjs";
|
|
38
46
|
//# 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;AAG9B,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,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,EACL,iBAAiB,EACjB,KAAK,oBAAoB,GAC1B,oCAA0B;AAG3B,OAAO,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhE,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EAAE,KAAK,oBAAoB,EAAE,oCAA0B;AAG9D,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,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,EACL,cAAc,EACd,cAAc,EACd,UAAU,E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EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,8BAAoB;AAGrB,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,eAAe,GACrB,+BAAqB;AAGtB,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,oBAAoB,EACpB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,0CAAgC;AAGjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B"}
|
package/dist/index.d.mts
CHANGED
|
@@ -3,10 +3,12 @@ export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./
|
|
|
3
3
|
export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.mjs";
|
|
4
4
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.mjs";
|
|
5
5
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
|
|
6
|
+
export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.mjs";
|
|
6
7
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.mjs";
|
|
7
8
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
|
|
8
9
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.mjs";
|
|
9
10
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.mjs";
|
|
11
|
+
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.mjs";
|
|
10
12
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.mjs";
|
|
11
13
|
export { type TitleSubpagePropsShared } from "./types/TitleSubpage/index.mjs";
|
|
12
14
|
export { type BoxColumnPropsShared } from "./types/BoxColumn/index.mjs";
|
|
@@ -35,4 +37,10 @@ export { TagSeverity, type TagPropsShared } from "./types/Tag/index.mjs";
|
|
|
35
37
|
export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.mjs";
|
|
36
38
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
37
39
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.mjs";
|
|
40
|
+
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.mjs";
|
|
41
|
+
export { SegmentButtonVariant, type SegmentButtonPropsShared, } from "./types/SegmentButton/index.mjs";
|
|
42
|
+
export { type SegmentGroupPropsShared } from "./types/SegmentGroup/index.mjs";
|
|
43
|
+
export { SegmentGroupContext, type SegmentGroupContextValue, } from "./contexts/SegmentGroup/index.mjs";
|
|
44
|
+
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.mjs";
|
|
45
|
+
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.mjs";
|
|
38
46
|
//# 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;A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,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,oBAAoB,EACpB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B;AAGpE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,0CAAgC;AAGjC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B"}
|
package/dist/index.mjs
CHANGED
|
@@ -7,6 +7,8 @@ export { AvatarIconSize, AvatarIconSeverity } from "./types/AvatarIcon/index.mjs
|
|
|
7
7
|
export { BadgeCountSize } from "./types/BadgeCount/index.mjs";
|
|
8
8
|
// BadgeStatus types (ADR-0003 + ADR-0004)
|
|
9
9
|
export { BadgeStatusStatus, BadgeStatusSize } from "./types/BadgeStatus/index.mjs";
|
|
10
|
+
// HelpText types (ADR-0003 + ADR-0004)
|
|
11
|
+
export { HelpTextSeverity } from "./types/HelpText/index.mjs";
|
|
10
12
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
11
13
|
export { IconAlertSeverity } from "./types/IconAlert/index.mjs";
|
|
12
14
|
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
@@ -38,4 +40,12 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
|
|
|
38
40
|
export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
39
41
|
// AvatarGroup types (ADR-0003 + ADR-0004)
|
|
40
42
|
export { AvatarGroupSize, AvatarGroupVariant } from "./types/AvatarGroup/index.mjs";
|
|
43
|
+
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
44
|
+
export { SensitiveTextLength } from "./types/SensitiveText/index.mjs";
|
|
45
|
+
// SegmentButton types (ADR-0003 + ADR-0004)
|
|
46
|
+
export { SegmentButtonVariant } from "./types/SegmentButton/index.mjs";
|
|
47
|
+
// SegmentGroup context (ADR-0003 + ADR-0004)
|
|
48
|
+
export { SegmentGroupContext } from "./contexts/SegmentGroup/index.mjs";
|
|
49
|
+
// SelectButton types (ADR-0003 + ADR-0004)
|
|
50
|
+
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant } from "./types/SelectButton/index.mjs";
|
|
41
51
|
//# 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,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EAElB,oCAA0B;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,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EACL,oBAAoB,EAErB,wCAA8B;AAK/B,6CAA6C;AAC7C,OAAO,EACL,mBAAmB,EAEpB,0CAAgC;AAEjC,2CAA2C;AAC3C,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EAEpB,uCAA6B","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\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// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\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// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\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// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\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// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// SegmentButton types (ADR-0003 + ADR-0004)\nexport {\n SegmentButtonVariant,\n type SegmentButtonPropsShared,\n} from './types/SegmentButton';\n\n// SegmentGroup types (ADR-0003 + ADR-0004)\nexport { type SegmentGroupPropsShared } from './types/SegmentGroup';\n\n// SegmentGroup context (ADR-0003 + ADR-0004)\nexport {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './contexts/SegmentGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HelpTextSeverity = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* HelpText severity variants.
|
|
6
|
+
* Uses const object with derived union type (ADR-0003).
|
|
7
|
+
*/
|
|
8
|
+
exports.HelpTextSeverity = {
|
|
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=HelpText.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpText.types.cjs","sourceRoot":"","sources":["../../../src/types/HelpText/HelpText.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC9B,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":["/**\n * HelpText severity variants.\n * Uses const object with derived union type (ADR-0003).\n */\nexport const HelpTextSeverity = {\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 HelpTextSeverity =\n (typeof HelpTextSeverity)[keyof typeof HelpTextSeverity];\n\n/**\n * HelpText shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type HelpTextPropsShared = {\n /**\n * Optional semantic severity. When set, overrides `color`.\n */\n severity?: HelpTextSeverity;\n};\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HelpText severity variants.
|
|
3
|
+
* Uses const object with derived union type (ADR-0003).
|
|
4
|
+
*/
|
|
5
|
+
export declare const HelpTextSeverity: {
|
|
6
|
+
/** Informational style. */
|
|
7
|
+
readonly Info: "info";
|
|
8
|
+
/** Success style. */
|
|
9
|
+
readonly Success: "success";
|
|
10
|
+
/** Warning style. */
|
|
11
|
+
readonly Warning: "warning";
|
|
12
|
+
/** Danger style. */
|
|
13
|
+
readonly Danger: "danger";
|
|
14
|
+
};
|
|
15
|
+
export type HelpTextSeverity = (typeof HelpTextSeverity)[keyof typeof HelpTextSeverity];
|
|
16
|
+
/**
|
|
17
|
+
* HelpText shared props (ADR-0004).
|
|
18
|
+
* Platform-independent properties shared across React and React Native.
|
|
19
|
+
*/
|
|
20
|
+
export type HelpTextPropsShared = {
|
|
21
|
+
/**
|
|
22
|
+
* Optional semantic severity. When set, overrides `color`.
|
|
23
|
+
*/
|
|
24
|
+
severity?: HelpTextSeverity;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=HelpText.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpText.types.d.cts","sourceRoot":"","sources":["../../../src/types/HelpText/HelpText.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,2BAA2B;;IAE3B,qBAAqB;;IAErB,qBAAqB;;IAErB,oBAAoB;;CAEZ,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HelpText severity variants.
|
|
3
|
+
* Uses const object with derived union type (ADR-0003).
|
|
4
|
+
*/
|
|
5
|
+
export declare const HelpTextSeverity: {
|
|
6
|
+
/** Informational style. */
|
|
7
|
+
readonly Info: "info";
|
|
8
|
+
/** Success style. */
|
|
9
|
+
readonly Success: "success";
|
|
10
|
+
/** Warning style. */
|
|
11
|
+
readonly Warning: "warning";
|
|
12
|
+
/** Danger style. */
|
|
13
|
+
readonly Danger: "danger";
|
|
14
|
+
};
|
|
15
|
+
export type HelpTextSeverity = (typeof HelpTextSeverity)[keyof typeof HelpTextSeverity];
|
|
16
|
+
/**
|
|
17
|
+
* HelpText shared props (ADR-0004).
|
|
18
|
+
* Platform-independent properties shared across React and React Native.
|
|
19
|
+
*/
|
|
20
|
+
export type HelpTextPropsShared = {
|
|
21
|
+
/**
|
|
22
|
+
* Optional semantic severity. When set, overrides `color`.
|
|
23
|
+
*/
|
|
24
|
+
severity?: HelpTextSeverity;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=HelpText.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpText.types.d.mts","sourceRoot":"","sources":["../../../src/types/HelpText/HelpText.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,2BAA2B;;IAE3B,qBAAqB;;IAErB,qBAAqB;;IAErB,oBAAoB;;CAEZ,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HelpText severity variants.
|
|
3
|
+
* Uses const object with derived union type (ADR-0003).
|
|
4
|
+
*/
|
|
5
|
+
export const HelpTextSeverity = {
|
|
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=HelpText.types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpText.types.mjs","sourceRoot":"","sources":["../../../src/types/HelpText/HelpText.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,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":["/**\n * HelpText severity variants.\n * Uses const object with derived union type (ADR-0003).\n */\nexport const HelpTextSeverity = {\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 HelpTextSeverity =\n (typeof HelpTextSeverity)[keyof typeof HelpTextSeverity];\n\n/**\n * HelpText shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type HelpTextPropsShared = {\n /**\n * Optional semantic severity. When set, overrides `color`.\n */\n severity?: HelpTextSeverity;\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HelpTextSeverity = void 0;
|
|
4
|
+
var HelpText_types_1 = require("./HelpText.types.cjs");
|
|
5
|
+
Object.defineProperty(exports, "HelpTextSeverity", { enumerable: true, get: function () { return HelpText_types_1.HelpTextSeverity; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/HelpText/index.ts"],"names":[],"mappings":";;;AAAA,uDAA8E;AAArE,kHAAA,gBAAgB,OAAA","sourcesContent":["export { HelpTextSeverity, type HelpTextPropsShared } from './HelpText.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/HelpText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,6BAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/HelpText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,6BAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/HelpText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA4B,6BAAyB","sourcesContent":["export { HelpTextSeverity, type HelpTextPropsShared } from './HelpText.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionHeader.types.cjs","sourceRoot":"","sources":["../../../src/types/SectionHeader/SectionHeader.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { IconName } from '../Icon';\n\n/**\n * SectionHeader component shared props (ADR-0004).\n * Platform-independent properties; platform packages extend with `ViewProps`,\n * `twClassName`, and platform `Text` / `Icon` prop passthroughs.\n */\nexport type SectionHeaderPropsShared = {\n /**\n * Section title. When a string, platforms typically apply heading styles via `titleProps` / `textProps`.\n * The title row renders only when `title` is renderable; `titleAccessory` alone does not show the inner row.\n */\n title: ReactNode;\n /**\n * Optional accessory rendered inline to the right of `title` in the title row.\n * Only shown when the title row is shown (i.e. when `title` is renderable).\n */\n titleAccessory?: ReactNode;\n /**\n * Optional node before the title row (e.g. icon or avatar).\n */\n startAccessory?: ReactNode;\n /**\n * Optional node after the title row (e.g. icon or action).\n */\n endAccessory?: ReactNode;\n /**\n * Optional icon name for the start of the header row.\n * When set (or implied via `startIconProps.name`), renders an icon instead of `startAccessory`.\n */\n startIconName?: IconName;\n /**\n * Optional icon name for the end of the header row.\n * When set (or implied via `endIconProps.name`), renders an icon instead of `endAccessory`.\n */\n endIconName?: IconName;\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { IconName } from "../Icon/index.cjs";
|
|
3
|
+
/**
|
|
4
|
+
* SectionHeader component shared props (ADR-0004).
|
|
5
|
+
* Platform-independent properties; platform packages extend with `ViewProps`,
|
|
6
|
+
* `twClassName`, and platform `Text` / `Icon` prop passthroughs.
|
|
7
|
+
*/
|
|
8
|
+
export type SectionHeaderPropsShared = {
|
|
9
|
+
/**
|
|
10
|
+
* Section title. When a string, platforms typically apply heading styles via `titleProps` / `textProps`.
|
|
11
|
+
* The title row renders only when `title` is renderable; `titleAccessory` alone does not show the inner row.
|
|
12
|
+
*/
|
|
13
|
+
title: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Optional accessory rendered inline to the right of `title` in the title row.
|
|
16
|
+
* Only shown when the title row is shown (i.e. when `title` is renderable).
|
|
17
|
+
*/
|
|
18
|
+
titleAccessory?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Optional node before the title row (e.g. icon or avatar).
|
|
21
|
+
*/
|
|
22
|
+
startAccessory?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Optional node after the title row (e.g. icon or action).
|
|
25
|
+
*/
|
|
26
|
+
endAccessory?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Optional icon name for the start of the header row.
|
|
29
|
+
* When set (or implied via `startIconProps.name`), renders an icon instead of `startAccessory`.
|
|
30
|
+
*/
|
|
31
|
+
startIconName?: IconName;
|
|
32
|
+
/**
|
|
33
|
+
* Optional icon name for the end of the header row.
|
|
34
|
+
* When set (or implied via `endIconProps.name`), renders an icon instead of `endAccessory`.
|
|
35
|
+
*/
|
|
36
|
+
endIconName?: IconName;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=SectionHeader.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionHeader.types.d.cts","sourceRoot":"","sources":["../../../src/types/SectionHeader/SectionHeader.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,QAAQ,EAAE,0BAAgB;AAExC;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,KAAK,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { IconName } from "../Icon/index.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* SectionHeader component shared props (ADR-0004).
|
|
5
|
+
* Platform-independent properties; platform packages extend with `ViewProps`,
|
|
6
|
+
* `twClassName`, and platform `Text` / `Icon` prop passthroughs.
|
|
7
|
+
*/
|
|
8
|
+
export type SectionHeaderPropsShared = {
|
|
9
|
+
/**
|
|
10
|
+
* Section title. When a string, platforms typically apply heading styles via `titleProps` / `textProps`.
|
|
11
|
+
* The title row renders only when `title` is renderable; `titleAccessory` alone does not show the inner row.
|
|
12
|
+
*/
|
|
13
|
+
title: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Optional accessory rendered inline to the right of `title` in the title row.
|
|
16
|
+
* Only shown when the title row is shown (i.e. when `title` is renderable).
|
|
17
|
+
*/
|
|
18
|
+
titleAccessory?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Optional node before the title row (e.g. icon or avatar).
|
|
21
|
+
*/
|
|
22
|
+
startAccessory?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Optional node after the title row (e.g. icon or action).
|
|
25
|
+
*/
|
|
26
|
+
endAccessory?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Optional icon name for the start of the header row.
|
|
29
|
+
* When set (or implied via `startIconProps.name`), renders an icon instead of `startAccessory`.
|
|
30
|
+
*/
|
|
31
|
+
startIconName?: IconName;
|
|
32
|
+
/**
|
|
33
|
+
* Optional icon name for the end of the header row.
|
|
34
|
+
* When set (or implied via `endIconProps.name`), renders an icon instead of `endAccessory`.
|
|
35
|
+
*/
|
|
36
|
+
endIconName?: IconName;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=SectionHeader.types.d.mts.map
|