@metamask-previews/design-system-shared 0.20.0-preview.f5c2542 → 0.21.0-preview.1f40f69f
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 +13 -1
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/TextArea/TextArea.types.cjs.map +1 -1
- package/dist/types/TextArea/TextArea.types.d.cts +0 -3
- package/dist/types/TextArea/TextArea.types.d.cts.map +1 -1
- package/dist/types/TextArea/TextArea.types.d.mts +0 -3
- package/dist/types/TextArea/TextArea.types.d.mts.map +1 -1
- package/dist/types/TextArea/TextArea.types.mjs.map +1 -1
- package/dist/types/Toast/Toast.constants.cjs +8 -0
- package/dist/types/Toast/Toast.constants.cjs.map +1 -0
- package/dist/types/Toast/Toast.constants.d.cts +3 -0
- package/dist/types/Toast/Toast.constants.d.cts.map +1 -0
- package/dist/types/Toast/Toast.constants.d.mts +3 -0
- package/dist/types/Toast/Toast.constants.d.mts.map +1 -0
- package/dist/types/Toast/Toast.constants.mjs +5 -0
- package/dist/types/Toast/Toast.constants.mjs.map +1 -0
- package/dist/types/Toast/index.cjs +4 -1
- package/dist/types/Toast/index.cjs.map +1 -1
- package/dist/types/Toast/index.d.cts +1 -0
- package/dist/types/Toast/index.d.cts.map +1 -1
- package/dist/types/Toast/index.d.mts +1 -0
- package/dist/types/Toast/index.d.mts.map +1 -1
- package/dist/types/Toast/index.mjs +1 -0
- package/dist/types/Toast/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.21.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `ContentPropsShared` and `ContentVerticalAlignment` so React Native can compose list-style rows and related layout patterns ([#1192](https://github.com/MetaMask/metamask-design-system/pull/1192))
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **BREAKING:** Dropped Node.js 18 support for the release line; no public API changes were needed in `@metamask/design-system-shared`, but consumers must run on Node 20 or newer ([#1206](https://github.com/MetaMask/metamask-design-system/pull/1206))
|
|
19
|
+
- **BREAKING:** Updated `TextAreaPropsShared` to remove `inputElement` so React Native `TextArea` can render the root `TextInput` directly ([#1205](https://github.com/MetaMask/metamask-design-system/pull/1205))
|
|
20
|
+
|
|
10
21
|
## [0.20.0]
|
|
11
22
|
|
|
12
23
|
### Added
|
|
@@ -208,7 +219,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
208
219
|
- **Initial release** - MetaMask Design System Shared
|
|
209
220
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
210
221
|
|
|
211
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
222
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.21.0...HEAD
|
|
223
|
+
[0.21.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.20.0...@metamask/design-system-shared@0.21.0
|
|
212
224
|
[0.20.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.19.0...@metamask/design-system-shared@0.20.0
|
|
213
225
|
[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
|
|
214
226
|
[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
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = void 0;
|
|
3
|
+
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.TOAST_VISIBILITY_DURATION = exports.TOAST_ANIMATION_DURATION = exports.IconAlertSeverity = exports.HelpTextSeverity = exports.ContentVerticalAlignment = 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.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = exports.SegmentGroupContext = exports.SegmentButtonVariant = void 0;
|
|
5
5
|
var caip_address_1 = require("./utils/caip-address.cjs");
|
|
6
6
|
Object.defineProperty(exports, "extractAccountAddress", { enumerable: true, get: function () { return caip_address_1.extractAccountAddress; } });
|
|
7
7
|
Object.defineProperty(exports, "generateSeedEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedEthereum; } });
|
|
@@ -32,6 +32,10 @@ Object.defineProperty(exports, "HelpTextSeverity", { enumerable: true, get: func
|
|
|
32
32
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
33
33
|
var IconAlert_1 = require("./types/IconAlert/index.cjs");
|
|
34
34
|
Object.defineProperty(exports, "IconAlertSeverity", { enumerable: true, get: function () { return IconAlert_1.IconAlertSeverity; } });
|
|
35
|
+
// Toast types (ADR-0004)
|
|
36
|
+
var Toast_1 = require("./types/Toast/index.cjs");
|
|
37
|
+
Object.defineProperty(exports, "TOAST_ANIMATION_DURATION", { enumerable: true, get: function () { return Toast_1.TOAST_ANIMATION_DURATION; } });
|
|
38
|
+
Object.defineProperty(exports, "TOAST_VISIBILITY_DURATION", { enumerable: true, get: function () { return Toast_1.TOAST_VISIBILITY_DURATION; } });
|
|
35
39
|
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
36
40
|
var HeaderSearch_1 = require("./types/HeaderSearch/index.cjs");
|
|
37
41
|
Object.defineProperty(exports, "HeaderSearchVariant", { enumerable: true, get: function () { return HeaderSearch_1.HeaderSearchVariant; } });
|
|
@@ -108,6 +112,6 @@ Object.defineProperty(exports, "SelectButtonSize", { enumerable: true, get: func
|
|
|
108
112
|
Object.defineProperty(exports, "SelectButtonEndArrow", { enumerable: true, get: function () { return SelectButton_1.SelectButtonEndArrow; } });
|
|
109
113
|
Object.defineProperty(exports, "SelectButtonVariant", { enumerable: true, get: function () { return SelectButton_1.SelectButtonVariant; } });
|
|
110
114
|
// Toast types (ADR-0003 + ADR-0004)
|
|
111
|
-
var
|
|
112
|
-
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return
|
|
115
|
+
var Toast_2 = require("./types/Toast/index.cjs");
|
|
116
|
+
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return Toast_2.ToastSeverity; } });
|
|
113
117
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,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,sCAAsC;AACtC,qDAGyB;AAFvB,mHAAA,wBAAwB,OAAA;AAI1B,uCAAuC;AACvC,uDAA8E;AAArE,4GAAA,gBAAgB,OAAA;AAEzB,wCAAwC;AACxC,yDAG2B;AAFzB,8GAAA,iBAAiB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,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,6DAI6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B,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;AAOrB,oCAAoC;AACpC,iDAAqE;AAA5D,sGAAA,aAAa,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// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\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// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\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\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -8,6 +8,7 @@ export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/ind
|
|
|
8
8
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.cjs";
|
|
9
9
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
|
|
10
10
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.cjs";
|
|
11
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION, } from "./types/Toast/index.cjs";
|
|
11
12
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.cjs";
|
|
12
13
|
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.cjs";
|
|
13
14
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.cjs";
|
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,wBAAwB,EACxB,KAAK,kBAAkB,GACxB,kCAAwB;AAGzB,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG9E,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,qBAAqB,EAAE,qCAA2B;AAGhE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,KAAK,uBAAuB,EAAE,uCAA6B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mB,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;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/ind
|
|
|
8
8
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.mjs";
|
|
9
9
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
|
|
10
10
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.mjs";
|
|
11
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION, } from "./types/Toast/index.mjs";
|
|
11
12
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.mjs";
|
|
12
13
|
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.mjs";
|
|
13
14
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.mjs";
|
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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eAAe,GACrB,+BAAqB;AAGtB,OAAO,EAAE,KAAK,oBAAoB,EAAE,oCAA0B;AAG9D,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,KAAK,gBAAgB,EAAE,gCAAsB;AAGtD,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,8BAAoB;AAG/D,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,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;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
|
package/dist/index.mjs
CHANGED
|
@@ -13,6 +13,8 @@ export { ContentVerticalAlignment } from "./types/Content/index.mjs";
|
|
|
13
13
|
export { HelpTextSeverity } from "./types/HelpText/index.mjs";
|
|
14
14
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
15
15
|
export { IconAlertSeverity } from "./types/IconAlert/index.mjs";
|
|
16
|
+
// Toast types (ADR-0004)
|
|
17
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION } from "./types/Toast/index.mjs";
|
|
16
18
|
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
17
19
|
export { HeaderSearchVariant } from "./types/HeaderSearch/index.mjs";
|
|
18
20
|
// KeyValueRow types (ADR-0003 + ADR-0004)
|
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,sCAAsC;AACtC,OAAO,EACL,wBAAwB,EAEzB,kCAAwB;AAEzB,uCAAuC;AACvC,OAAO,EAAE,gBAAgB,EAA4B,mCAAyB;AAE9E,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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b,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;AAK9B,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAAyB,gCAAsB","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// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\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// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\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\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.types.cjs","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"","sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"TextArea.types.cjs","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { InputPropsShared } from '../Input/Input.types';\n\n/**\n * TextArea shared props (ADR-0004). A multiline input layered on the shared\n * `InputPropsShared` contract. Platform packages layer container and\n * `TextInput` behavior on top.\n */\nexport type TextAreaPropsShared = Omit<\n InputPropsShared,\n 'isStateStylesDisabled'\n> & {\n /**\n * When true, the field shows an error state (for example border treatment).\n *\n * @default false\n */\n isError?: boolean;\n};\n"]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
1
|
import type { InputPropsShared } from "../Input/Input.types.cjs";
|
|
3
2
|
/**
|
|
4
3
|
* TextArea shared props (ADR-0004). A multiline input layered on the shared
|
|
@@ -12,7 +11,5 @@ export type TextAreaPropsShared = Omit<InputPropsShared, 'isStateStylesDisabled'
|
|
|
12
11
|
* @default false
|
|
13
12
|
*/
|
|
14
13
|
isError?: boolean;
|
|
15
|
-
/** Replaces the default textarea input implementation. */
|
|
16
|
-
inputElement?: ReactNode;
|
|
17
14
|
};
|
|
18
15
|
//# sourceMappingURL=TextArea.types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.types.d.cts","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TextArea.types.d.cts","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAA6B;AAE7D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,gBAAgB,EAChB,uBAAuB,CACxB,GAAG;IACF;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
1
|
import type { InputPropsShared } from "../Input/Input.types.mjs";
|
|
3
2
|
/**
|
|
4
3
|
* TextArea shared props (ADR-0004). A multiline input layered on the shared
|
|
@@ -12,7 +11,5 @@ export type TextAreaPropsShared = Omit<InputPropsShared, 'isStateStylesDisabled'
|
|
|
12
11
|
* @default false
|
|
13
12
|
*/
|
|
14
13
|
isError?: boolean;
|
|
15
|
-
/** Replaces the default textarea input implementation. */
|
|
16
|
-
inputElement?: ReactNode;
|
|
17
14
|
};
|
|
18
15
|
//# sourceMappingURL=TextArea.types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.types.d.mts","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"TextArea.types.d.mts","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iCAA6B;AAE7D;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,gBAAgB,EAChB,uBAAuB,CACxB,GAAG;IACF;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.types.mjs","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"","sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"TextArea.types.mjs","sourceRoot":"","sources":["../../../src/types/TextArea/TextArea.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { InputPropsShared } from '../Input/Input.types';\n\n/**\n * TextArea shared props (ADR-0004). A multiline input layered on the shared\n * `InputPropsShared` contract. Platform packages layer container and\n * `TextInput` behavior on top.\n */\nexport type TextAreaPropsShared = Omit<\n InputPropsShared,\n 'isStateStylesDisabled'\n> & {\n /**\n * When true, the field shows an error state (for example border treatment).\n *\n * @default false\n */\n isError?: boolean;\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TOAST_ANIMATION_DURATION = exports.TOAST_VISIBILITY_DURATION = void 0;
|
|
4
|
+
exports.TOAST_VISIBILITY_DURATION = 2750;
|
|
5
|
+
// Align this with AnimationDuration.Promptly without importing design-tokens
|
|
6
|
+
// here, which would reintroduce the workspace build cycle.
|
|
7
|
+
exports.TOAST_ANIMATION_DURATION = 200;
|
|
8
|
+
//# sourceMappingURL=Toast.constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.constants.cjs","sourceRoot":"","sources":["../../../src/types/Toast/Toast.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,yBAAyB,GAAG,IAAI,CAAC;AAC9C,6EAA6E;AAC7E,2DAA2D;AAC9C,QAAA,wBAAwB,GAAG,GAAG,CAAC","sourcesContent":["export const TOAST_VISIBILITY_DURATION = 2750;\n// Align this with AnimationDuration.Promptly without importing design-tokens\n// here, which would reintroduce the workspace build cycle.\nexport const TOAST_ANIMATION_DURATION = 200;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.constants.d.cts","sourceRoot":"","sources":["../../../src/types/Toast/Toast.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAG9C,eAAO,MAAM,wBAAwB,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.constants.d.mts","sourceRoot":"","sources":["../../../src/types/Toast/Toast.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAG9C,eAAO,MAAM,wBAAwB,MAAM,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export const TOAST_VISIBILITY_DURATION = 2750;
|
|
2
|
+
// Align this with AnimationDuration.Promptly without importing design-tokens
|
|
3
|
+
// here, which would reintroduce the workspace build cycle.
|
|
4
|
+
export const TOAST_ANIMATION_DURATION = 200;
|
|
5
|
+
//# sourceMappingURL=Toast.constants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.constants.mjs","sourceRoot":"","sources":["../../../src/types/Toast/Toast.constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,CAAC;AAC9C,6EAA6E;AAC7E,2DAA2D;AAC3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC","sourcesContent":["export const TOAST_VISIBILITY_DURATION = 2750;\n// Align this with AnimationDuration.Promptly without importing design-tokens\n// here, which would reintroduce the workspace build cycle.\nexport const TOAST_ANIMATION_DURATION = 200;\n"]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ToastSeverity = void 0;
|
|
3
|
+
exports.ToastSeverity = exports.TOAST_VISIBILITY_DURATION = exports.TOAST_ANIMATION_DURATION = void 0;
|
|
4
|
+
var Toast_constants_1 = require("./Toast.constants.cjs");
|
|
5
|
+
Object.defineProperty(exports, "TOAST_ANIMATION_DURATION", { enumerable: true, get: function () { return Toast_constants_1.TOAST_ANIMATION_DURATION; } });
|
|
6
|
+
Object.defineProperty(exports, "TOAST_VISIBILITY_DURATION", { enumerable: true, get: function () { return Toast_constants_1.TOAST_VISIBILITY_DURATION; } });
|
|
4
7
|
var Toast_types_1 = require("./Toast.types.cjs");
|
|
5
8
|
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return Toast_types_1.ToastSeverity; } });
|
|
6
9
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":";;;AAAA,iDAAqE;AAA5D,4GAAA,aAAa,OAAA","sourcesContent":["export { ToastSeverity, type ToastPropsShared } from './Toast.types';\n"]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":";;;AAAA,yDAG2B;AAFzB,2HAAA,wBAAwB,OAAA;AACxB,4HAAA,yBAAyB,OAAA;AAE3B,iDAAqE;AAA5D,4GAAA,aAAa,OAAA","sourcesContent":["export {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './Toast.constants';\nexport { ToastSeverity, type ToastPropsShared } from './Toast.types';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,0BAAsB"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,8BAA0B;AAC3B,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,0BAAsB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,0BAAsB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,8BAA0B;AAC3B,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,0BAAsB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAyB,0BAAsB","sourcesContent":["export { ToastSeverity, type ToastPropsShared } from './Toast.types';\n"]}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EAC1B,8BAA0B;AAC3B,OAAO,EAAE,aAAa,EAAyB,0BAAsB","sourcesContent":["export {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './Toast.constants';\nexport { ToastSeverity, type ToastPropsShared } from './Toast.types';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0-preview.1f40f69f",
|
|
4
4
|
"description": "Shared types for design system libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
|
-
"node": "
|
|
73
|
+
"node": ">=20"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public",
|