@metamask-previews/design-system-shared 0.15.0-preview.f515a62 → 0.19.0-preview.047f96c
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 +39 -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 +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +11 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/AvatarGroup/AvatarGroup.types.cjs +28 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.cjs.map +1 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.d.cts +60 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.d.cts.map +1 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.d.mts +60 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.d.mts.map +1 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.mjs +25 -0
- package/dist/types/AvatarGroup/AvatarGroup.types.mjs.map +1 -0
- package/dist/types/AvatarGroup/index.cjs +7 -0
- package/dist/types/AvatarGroup/index.cjs.map +1 -0
- package/dist/types/AvatarGroup/index.d.cts +2 -0
- package/dist/types/AvatarGroup/index.d.cts.map +1 -0
- package/dist/types/AvatarGroup/index.d.mts +2 -0
- package/dist/types/AvatarGroup/index.d.mts.map +1 -0
- package/dist/types/AvatarGroup/index.mjs +2 -0
- package/dist/types/AvatarGroup/index.mjs.map +1 -0
- 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/Icon/Icon.types.cjs +7 -0
- package/dist/types/Icon/Icon.types.cjs.map +1 -1
- package/dist/types/Icon/Icon.types.d.cts +7 -0
- package/dist/types/Icon/Icon.types.d.cts.map +1 -1
- package/dist/types/Icon/Icon.types.d.mts +7 -0
- package/dist/types/Icon/Icon.types.d.mts.map +1 -1
- package/dist/types/Icon/Icon.types.mjs +7 -0
- package/dist/types/Icon/Icon.types.mjs.map +1 -1
- package/dist/types/Input/Input.types.cjs +3 -0
- package/dist/types/Input/Input.types.cjs.map +1 -0
- package/dist/types/Input/Input.types.d.cts +46 -0
- package/dist/types/Input/Input.types.d.cts.map +1 -0
- package/dist/types/Input/Input.types.d.mts +46 -0
- package/dist/types/Input/Input.types.d.mts.map +1 -0
- package/dist/types/Input/Input.types.mjs +2 -0
- package/dist/types/Input/Input.types.mjs.map +1 -0
- package/dist/types/Input/index.cjs +3 -0
- package/dist/types/Input/index.cjs.map +1 -0
- package/dist/types/Input/index.d.cts +2 -0
- package/dist/types/Input/index.d.cts.map +1 -0
- package/dist/types/Input/index.d.mts +2 -0
- package/dist/types/Input/index.d.mts.map +1 -0
- package/dist/types/Input/index.mjs +2 -0
- package/dist/types/Input/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/TextArea/TextArea.types.cjs +3 -0
- package/dist/types/TextArea/TextArea.types.cjs.map +1 -0
- package/dist/types/TextArea/TextArea.types.d.cts +18 -0
- package/dist/types/TextArea/TextArea.types.d.cts.map +1 -0
- package/dist/types/TextArea/TextArea.types.d.mts +18 -0
- package/dist/types/TextArea/TextArea.types.d.mts.map +1 -0
- package/dist/types/TextArea/TextArea.types.mjs +2 -0
- package/dist/types/TextArea/TextArea.types.mjs.map +1 -0
- package/dist/types/TextArea/index.cjs +3 -0
- package/dist/types/TextArea/index.cjs.map +1 -0
- package/dist/types/TextArea/index.d.cts +2 -0
- package/dist/types/TextArea/index.d.cts.map +1 -0
- package/dist/types/TextArea/index.d.mts +2 -0
- package/dist/types/TextArea/index.d.mts.map +1 -0
- package/dist/types/TextArea/index.mjs +2 -0
- package/dist/types/TextArea/index.mjs.map +1 -0
- package/dist/types/TextField/TextField.types.cjs.map +1 -1
- package/dist/types/TextField/TextField.types.d.cts +6 -27
- package/dist/types/TextField/TextField.types.d.cts.map +1 -1
- package/dist/types/TextField/TextField.types.d.mts +6 -27
- package/dist/types/TextField/TextField.types.d.mts.map +1 -1
- package/dist/types/TextField/TextField.types.mjs.map +1 -1
- 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,40 @@ 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
|
+
|
|
30
|
+
## [0.17.0]
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- Added `ListArrow`, `Musd`, and `MusdFilled` to the shared icon exports; refreshed `Candlestick`; and added `Group`, `PieChart`, and `Predictions` so React and React Native stay aligned on `IconName` ([#1157](https://github.com/MetaMask/metamask-design-system/pull/1157), [#1161](https://github.com/MetaMask/metamask-design-system/pull/1161), [#1162](https://github.com/MetaMask/metamask-design-system/pull/1162), [#1163](https://github.com/MetaMask/metamask-design-system/pull/1163))
|
|
35
|
+
|
|
36
|
+
## [0.16.0]
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- Added `Merge` to the shared icon exports so React and React Native consumers can access it through their existing `IconName` APIs ([#1155](https://github.com/MetaMask/metamask-design-system/pull/1155))
|
|
41
|
+
- Added shared `Input` contracts for a controlled `value`, `isReadOnly`, and `isStateStylesDisabled`, making it easier to build cross-platform wrappers against one public input API ([#1043](https://github.com/MetaMask/metamask-design-system/pull/1043))
|
|
42
|
+
- Added shared `AvatarGroup` size, variant, and prop contracts for consumers building cross-platform abstractions on top of `@metamask/design-system-shared` ([#1067](https://github.com/MetaMask/metamask-design-system/pull/1067))
|
|
43
|
+
|
|
10
44
|
## [0.15.0]
|
|
11
45
|
|
|
12
46
|
### Added
|
|
@@ -166,7 +200,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
166
200
|
- **Initial release** - MetaMask Design System Shared
|
|
167
201
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
168
202
|
|
|
169
|
-
[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
|
|
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
|
|
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
|
|
170
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
|
|
171
209
|
[0.14.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.13.0...@metamask/design-system-shared@0.14.0
|
|
172
210
|
[0.13.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.12.0...@metamask/design-system-shared@0.13.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.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; } });
|
|
@@ -82,4 +86,22 @@ var Icon_1 = require("./types/Icon/index.cjs");
|
|
|
82
86
|
Object.defineProperty(exports, "IconColor", { enumerable: true, get: function () { return Icon_1.IconColor; } });
|
|
83
87
|
Object.defineProperty(exports, "IconName", { enumerable: true, get: function () { return Icon_1.IconName; } });
|
|
84
88
|
Object.defineProperty(exports, "IconSize", { enumerable: true, get: function () { return Icon_1.IconSize; } });
|
|
89
|
+
// AvatarGroup types (ADR-0003 + ADR-0004)
|
|
90
|
+
var AvatarGroup_1 = require("./types/AvatarGroup/index.cjs");
|
|
91
|
+
Object.defineProperty(exports, "AvatarGroupSize", { enumerable: true, get: function () { return AvatarGroup_1.AvatarGroupSize; } });
|
|
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; } });
|
|
85
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,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,6GAAA,eAAe,OAAA;AAIjB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,gHAAA,kBAAkB,OAAA;AAIpB,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;AAC1C,6DAI6B;AAH3B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AAIjB,uCAAuC;AACvC,uDAA8E;AAArE,4GAAA,gBAAgB,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Q,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";
|
|
@@ -27,9 +29,18 @@ export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "
|
|
|
27
29
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.cjs";
|
|
28
30
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.cjs";
|
|
29
31
|
export { type TextFieldPropsShared } from "./types/TextField/index.cjs";
|
|
32
|
+
export { type TextAreaPropsShared } from "./types/TextArea/index.cjs";
|
|
33
|
+
export { type InputPropsShared } from "./types/Input/index.cjs";
|
|
30
34
|
export { AvatarFaviconSize, type AvatarFaviconPropsShared, } from "./types/AvatarFavicon/index.cjs";
|
|
31
35
|
export { type CheckboxPropsShared } from "./types/Checkbox/index.cjs";
|
|
32
36
|
export { TagSeverity, type TagPropsShared } from "./types/Tag/index.cjs";
|
|
33
37
|
export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.cjs";
|
|
34
38
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
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";
|
|
35
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,uBA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ACT,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";
|
|
@@ -27,9 +29,18 @@ export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "
|
|
|
27
29
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.mjs";
|
|
28
30
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.mjs";
|
|
29
31
|
export { type TextFieldPropsShared } from "./types/TextField/index.mjs";
|
|
32
|
+
export { type TextAreaPropsShared } from "./types/TextArea/index.mjs";
|
|
33
|
+
export { type InputPropsShared } from "./types/Input/index.mjs";
|
|
30
34
|
export { AvatarFaviconSize, type AvatarFaviconPropsShared, } from "./types/AvatarFavicon/index.mjs";
|
|
31
35
|
export { type CheckboxPropsShared } from "./types/Checkbox/index.mjs";
|
|
32
36
|
export { TagSeverity, type TagPropsShared } from "./types/Tag/index.mjs";
|
|
33
37
|
export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor, type BoxSpacing, type BoxBorderWidth, type BoxPropsShared, } from "./types/Box/index.mjs";
|
|
34
38
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
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";
|
|
35
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;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,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,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.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)
|
|
@@ -36,4 +38,14 @@ export { TagSeverity } from "./types/Tag/index.mjs";
|
|
|
36
38
|
export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBackgroundColor, BoxBorderColor } from "./types/Box/index.mjs";
|
|
37
39
|
// Icon types (ADR-0003 + ADR-0004)
|
|
38
40
|
export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
41
|
+
// AvatarGroup types (ADR-0003 + ADR-0004)
|
|
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";
|
|
39
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,qBAA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AAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAIf,8BAAoB;AAErB,mCAAmC;AACnC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EAET,+BAAqB;AAEtB,0CAA0C;AAC1C,OAAO,EACL,eAAe,EACf,kBAAkB,EAEnB,sCAA4B;AAE7B,4CAA4C;AAC5C,OAAO,EACL,mBAAmB,EAGpB,wCAA8B;AAE/B,4CAA4C;AAC5C,OAAO,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,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarGroupVariant = exports.AvatarGroupSize = void 0;
|
|
4
|
+
const AvatarBase_types_1 = require("../AvatarBase/AvatarBase.types.cjs");
|
|
5
|
+
exports.AvatarGroupSize = AvatarBase_types_1.AvatarBaseSize;
|
|
6
|
+
/**
|
|
7
|
+
* AvatarGroup - variant
|
|
8
|
+
* Convert from enum to const object (ADR-0003)
|
|
9
|
+
*/
|
|
10
|
+
exports.AvatarGroupVariant = {
|
|
11
|
+
/**
|
|
12
|
+
* Displays AvatarAccount components in the group.
|
|
13
|
+
*/
|
|
14
|
+
Account: 'account',
|
|
15
|
+
/**
|
|
16
|
+
* Displays AvatarFavicon components in the group.
|
|
17
|
+
*/
|
|
18
|
+
Favicon: 'favicon',
|
|
19
|
+
/**
|
|
20
|
+
* Displays AvatarNetwork components in the group.
|
|
21
|
+
*/
|
|
22
|
+
Network: 'network',
|
|
23
|
+
/**
|
|
24
|
+
* Displays AvatarToken components in the group.
|
|
25
|
+
*/
|
|
26
|
+
Token: 'token',
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=AvatarGroup.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":";;;AAAA,yEAAgE;AAEnD,QAAA,eAAe,GAAG,iCAAc,CAAC;AAG9C;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,KAAK,EAAE,OAAO;CACN,CAAC","sourcesContent":["import { AvatarBaseSize } from '../AvatarBase/AvatarBase.types';\n\nexport const AvatarGroupSize = AvatarBaseSize;\nexport type AvatarGroupSize = AvatarBaseSize;\n\n/**\n * AvatarGroup - variant\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarGroupVariant = {\n /**\n * Displays AvatarAccount components in the group.\n */\n Account: 'account',\n /**\n * Displays AvatarFavicon components in the group.\n */\n Favicon: 'favicon',\n /**\n * Displays AvatarNetwork components in the group.\n */\n Network: 'network',\n /**\n * Displays AvatarToken components in the group.\n */\n Token: 'token',\n} as const;\nexport type AvatarGroupVariant =\n (typeof AvatarGroupVariant)[keyof typeof AvatarGroupVariant];\n\n/**\n * AvatarGroup component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type AvatarGroupPropsShared = {\n /**\n * Required enum to select between Avatar Group variants.\n */\n variant: AvatarGroupVariant;\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional prop to select max number of Avatars visible,\n * before the overflow counter being displayed.\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup.\n */\n isReverse?: boolean;\n};\n"]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AvatarBaseSize } from "../AvatarBase/AvatarBase.types.cjs";
|
|
2
|
+
export declare const AvatarGroupSize: {
|
|
3
|
+
readonly Xs: "xs";
|
|
4
|
+
readonly Sm: "sm";
|
|
5
|
+
readonly Md: "md";
|
|
6
|
+
readonly Lg: "lg";
|
|
7
|
+
readonly Xl: "xl";
|
|
8
|
+
};
|
|
9
|
+
export type AvatarGroupSize = AvatarBaseSize;
|
|
10
|
+
/**
|
|
11
|
+
* AvatarGroup - variant
|
|
12
|
+
* Convert from enum to const object (ADR-0003)
|
|
13
|
+
*/
|
|
14
|
+
export declare const AvatarGroupVariant: {
|
|
15
|
+
/**
|
|
16
|
+
* Displays AvatarAccount components in the group.
|
|
17
|
+
*/
|
|
18
|
+
readonly Account: "account";
|
|
19
|
+
/**
|
|
20
|
+
* Displays AvatarFavicon components in the group.
|
|
21
|
+
*/
|
|
22
|
+
readonly Favicon: "favicon";
|
|
23
|
+
/**
|
|
24
|
+
* Displays AvatarNetwork components in the group.
|
|
25
|
+
*/
|
|
26
|
+
readonly Network: "network";
|
|
27
|
+
/**
|
|
28
|
+
* Displays AvatarToken components in the group.
|
|
29
|
+
*/
|
|
30
|
+
readonly Token: "token";
|
|
31
|
+
};
|
|
32
|
+
export type AvatarGroupVariant = (typeof AvatarGroupVariant)[keyof typeof AvatarGroupVariant];
|
|
33
|
+
/**
|
|
34
|
+
* AvatarGroup component shared props (ADR-0004)
|
|
35
|
+
* Platform-independent properties shared across React and React Native.
|
|
36
|
+
*/
|
|
37
|
+
export type AvatarGroupPropsShared = {
|
|
38
|
+
/**
|
|
39
|
+
* Required enum to select between Avatar Group variants.
|
|
40
|
+
*/
|
|
41
|
+
variant: AvatarGroupVariant;
|
|
42
|
+
/**
|
|
43
|
+
* Optional enum to select between Avatar Group sizes.
|
|
44
|
+
*
|
|
45
|
+
* @default AvatarGroupSize.Md
|
|
46
|
+
*/
|
|
47
|
+
size?: AvatarGroupSize;
|
|
48
|
+
/**
|
|
49
|
+
* Optional prop to select max number of Avatars visible,
|
|
50
|
+
* before the overflow counter being displayed.
|
|
51
|
+
*
|
|
52
|
+
* @default 4
|
|
53
|
+
*/
|
|
54
|
+
max?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Optional prop to reverse the direction of the AvatarGroup.
|
|
57
|
+
*/
|
|
58
|
+
isReverse?: boolean;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=AvatarGroup.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.d.cts","sourceRoot":"","sources":["../../../src/types/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,eAAO,MAAM,eAAe;;;;;;CAAiB,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AvatarBaseSize } from "../AvatarBase/AvatarBase.types.mjs";
|
|
2
|
+
export declare const AvatarGroupSize: {
|
|
3
|
+
readonly Xs: "xs";
|
|
4
|
+
readonly Sm: "sm";
|
|
5
|
+
readonly Md: "md";
|
|
6
|
+
readonly Lg: "lg";
|
|
7
|
+
readonly Xl: "xl";
|
|
8
|
+
};
|
|
9
|
+
export type AvatarGroupSize = AvatarBaseSize;
|
|
10
|
+
/**
|
|
11
|
+
* AvatarGroup - variant
|
|
12
|
+
* Convert from enum to const object (ADR-0003)
|
|
13
|
+
*/
|
|
14
|
+
export declare const AvatarGroupVariant: {
|
|
15
|
+
/**
|
|
16
|
+
* Displays AvatarAccount components in the group.
|
|
17
|
+
*/
|
|
18
|
+
readonly Account: "account";
|
|
19
|
+
/**
|
|
20
|
+
* Displays AvatarFavicon components in the group.
|
|
21
|
+
*/
|
|
22
|
+
readonly Favicon: "favicon";
|
|
23
|
+
/**
|
|
24
|
+
* Displays AvatarNetwork components in the group.
|
|
25
|
+
*/
|
|
26
|
+
readonly Network: "network";
|
|
27
|
+
/**
|
|
28
|
+
* Displays AvatarToken components in the group.
|
|
29
|
+
*/
|
|
30
|
+
readonly Token: "token";
|
|
31
|
+
};
|
|
32
|
+
export type AvatarGroupVariant = (typeof AvatarGroupVariant)[keyof typeof AvatarGroupVariant];
|
|
33
|
+
/**
|
|
34
|
+
* AvatarGroup component shared props (ADR-0004)
|
|
35
|
+
* Platform-independent properties shared across React and React Native.
|
|
36
|
+
*/
|
|
37
|
+
export type AvatarGroupPropsShared = {
|
|
38
|
+
/**
|
|
39
|
+
* Required enum to select between Avatar Group variants.
|
|
40
|
+
*/
|
|
41
|
+
variant: AvatarGroupVariant;
|
|
42
|
+
/**
|
|
43
|
+
* Optional enum to select between Avatar Group sizes.
|
|
44
|
+
*
|
|
45
|
+
* @default AvatarGroupSize.Md
|
|
46
|
+
*/
|
|
47
|
+
size?: AvatarGroupSize;
|
|
48
|
+
/**
|
|
49
|
+
* Optional prop to select max number of Avatars visible,
|
|
50
|
+
* before the overflow counter being displayed.
|
|
51
|
+
*
|
|
52
|
+
* @default 4
|
|
53
|
+
*/
|
|
54
|
+
max?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Optional prop to reverse the direction of the AvatarGroup.
|
|
57
|
+
*/
|
|
58
|
+
isReverse?: boolean;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=AvatarGroup.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.d.mts","sourceRoot":"","sources":["../../../src/types/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,eAAO,MAAM,eAAe;;;;;;CAAiB,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AvatarBaseSize } from "../AvatarBase/AvatarBase.types.mjs";
|
|
2
|
+
export const AvatarGroupSize = AvatarBaseSize;
|
|
3
|
+
/**
|
|
4
|
+
* AvatarGroup - variant
|
|
5
|
+
* Convert from enum to const object (ADR-0003)
|
|
6
|
+
*/
|
|
7
|
+
export const AvatarGroupVariant = {
|
|
8
|
+
/**
|
|
9
|
+
* Displays AvatarAccount components in the group.
|
|
10
|
+
*/
|
|
11
|
+
Account: 'account',
|
|
12
|
+
/**
|
|
13
|
+
* Displays AvatarFavicon components in the group.
|
|
14
|
+
*/
|
|
15
|
+
Favicon: 'favicon',
|
|
16
|
+
/**
|
|
17
|
+
* Displays AvatarNetwork components in the group.
|
|
18
|
+
*/
|
|
19
|
+
Network: 'network',
|
|
20
|
+
/**
|
|
21
|
+
* Displays AvatarToken components in the group.
|
|
22
|
+
*/
|
|
23
|
+
Token: 'token',
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=AvatarGroup.types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.mjs","sourceRoot":"","sources":["../../../src/types/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;AAG9C;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,KAAK,EAAE,OAAO;CACN,CAAC","sourcesContent":["import { AvatarBaseSize } from '../AvatarBase/AvatarBase.types';\n\nexport const AvatarGroupSize = AvatarBaseSize;\nexport type AvatarGroupSize = AvatarBaseSize;\n\n/**\n * AvatarGroup - variant\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarGroupVariant = {\n /**\n * Displays AvatarAccount components in the group.\n */\n Account: 'account',\n /**\n * Displays AvatarFavicon components in the group.\n */\n Favicon: 'favicon',\n /**\n * Displays AvatarNetwork components in the group.\n */\n Network: 'network',\n /**\n * Displays AvatarToken components in the group.\n */\n Token: 'token',\n} as const;\nexport type AvatarGroupVariant =\n (typeof AvatarGroupVariant)[keyof typeof AvatarGroupVariant];\n\n/**\n * AvatarGroup component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type AvatarGroupPropsShared = {\n /**\n * Required enum to select between Avatar Group variants.\n */\n variant: AvatarGroupVariant;\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional prop to select max number of Avatars visible,\n * before the overflow counter being displayed.\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup.\n */\n isReverse?: boolean;\n};\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarGroupVariant = exports.AvatarGroupSize = void 0;
|
|
4
|
+
var AvatarGroup_types_1 = require("./AvatarGroup.types.cjs");
|
|
5
|
+
Object.defineProperty(exports, "AvatarGroupSize", { enumerable: true, get: function () { return AvatarGroup_types_1.AvatarGroupSize; } });
|
|
6
|
+
Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: function () { return AvatarGroup_types_1.AvatarGroupVariant; } });
|
|
7
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/AvatarGroup/index.ts"],"names":[],"mappings":";;;AAAA,6DAI6B;AAH3B,oHAAA,eAAe,OAAA;AACf,uHAAA,kBAAkB,OAAA","sourcesContent":["export {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './AvatarGroup.types';\n"]}
|