@metamask-previews/design-system-react 0.3.1-preview.c4d6431 → 0.5.0-preview.00974dd
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 +30 -1
- package/dist/components/AvatarBase/AvatarBase.cjs +1 -1
- package/dist/components/AvatarBase/AvatarBase.cjs.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.mjs +1 -1
- package/dist/components/AvatarBase/AvatarBase.mjs.map +1 -1
- package/dist/components/Box/Box.cjs +4 -2
- package/dist/components/Box/Box.cjs.map +1 -1
- package/dist/components/Box/Box.d.cts.map +1 -1
- package/dist/components/Box/Box.d.mts.map +1 -1
- package/dist/components/Box/Box.mjs +4 -2
- package/dist/components/Box/Box.mjs.map +1 -1
- package/dist/components/Box/Box.types.cjs.map +1 -1
- package/dist/components/Box/Box.types.d.cts +7 -0
- package/dist/components/Box/Box.types.d.cts.map +1 -1
- package/dist/components/Box/Box.types.d.mts +7 -0
- package/dist/components/Box/Box.types.d.mts.map +1 -1
- package/dist/components/Box/Box.types.mjs.map +1 -1
- package/dist/components/ButtonHero/ButtonHero.cjs +45 -0
- package/dist/components/ButtonHero/ButtonHero.cjs.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.d.cts +3 -0
- package/dist/components/ButtonHero/ButtonHero.d.cts.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.d.mts +3 -0
- package/dist/components/ButtonHero/ButtonHero.d.mts.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.mjs +26 -0
- package/dist/components/ButtonHero/ButtonHero.mjs.map +1 -0
- package/dist/{types/make-props-optional.cjs → components/ButtonHero/ButtonHero.types.cjs} +1 -1
- package/dist/components/ButtonHero/ButtonHero.types.cjs.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.types.d.cts +3 -0
- package/dist/components/ButtonHero/ButtonHero.types.d.cts.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.types.d.mts +3 -0
- package/dist/components/ButtonHero/ButtonHero.types.d.mts.map +1 -0
- package/dist/components/ButtonHero/ButtonHero.types.mjs +2 -0
- package/dist/components/ButtonHero/ButtonHero.types.mjs.map +1 -0
- package/dist/components/ButtonHero/index.cjs +8 -0
- package/dist/components/ButtonHero/index.cjs.map +1 -0
- package/dist/components/ButtonHero/index.d.cts +4 -0
- package/dist/components/ButtonHero/index.d.cts.map +1 -0
- package/dist/components/ButtonHero/index.d.mts +4 -0
- package/dist/components/ButtonHero/index.d.mts.map +1 -0
- package/dist/components/ButtonHero/index.mjs +3 -0
- package/dist/components/ButtonHero/index.mjs.map +1 -0
- package/dist/components/Icon/icons/AttachMoney.cjs +32 -0
- package/dist/components/Icon/icons/AttachMoney.cjs.map +1 -0
- package/dist/components/Icon/icons/AttachMoney.d.cts +4 -0
- package/dist/components/Icon/icons/AttachMoney.d.cts.map +1 -0
- package/dist/components/Icon/icons/AttachMoney.d.mts +4 -0
- package/dist/components/Icon/icons/AttachMoney.d.mts.map +1 -0
- package/dist/components/Icon/icons/AttachMoney.mjs +7 -0
- package/dist/components/Icon/icons/AttachMoney.mjs.map +1 -0
- package/dist/components/Icon/icons/index.cjs +2 -0
- package/dist/components/Icon/icons/index.cjs.map +1 -1
- package/dist/components/Icon/icons/index.d.cts +1 -0
- package/dist/components/Icon/icons/index.d.cts.map +1 -1
- package/dist/components/Icon/icons/index.d.mts +1 -0
- package/dist/components/Icon/icons/index.d.mts.map +1 -1
- package/dist/components/Icon/icons/index.mjs +2 -0
- package/dist/components/Icon/icons/index.mjs.map +1 -1
- package/dist/components/Text/Text.types.cjs.map +1 -1
- package/dist/components/Text/Text.types.d.cts +1 -1
- package/dist/components/Text/Text.types.d.mts +1 -1
- package/dist/components/Text/Text.types.mjs.map +1 -1
- package/dist/components/index.cjs +4 -1
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -0
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +1 -0
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/temp-components/Blockies/Blockies.cjs +4 -1
- package/dist/components/temp-components/Blockies/Blockies.cjs.map +1 -1
- package/dist/components/temp-components/Blockies/Blockies.d.cts.map +1 -1
- package/dist/components/temp-components/Blockies/Blockies.d.mts.map +1 -1
- package/dist/components/temp-components/Blockies/Blockies.mjs +4 -1
- package/dist/components/temp-components/Blockies/Blockies.mjs.map +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.cjs +35 -46
- package/dist/components/temp-components/Jazzicon/Jazzicon.cjs.map +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.cts.map +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.mts.map +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.mjs +35 -46
- package/dist/components/temp-components/Jazzicon/Jazzicon.mjs.map +1 -1
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.cjs +6 -81
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.cjs.map +1 -1
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.cts +0 -26
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.cts.map +1 -1
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.mts +0 -26
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.mts.map +1 -1
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.mjs +5 -77
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.mjs.map +1 -1
- package/dist/types/index.cjs +4 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +3 -1
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.mts +3 -1
- package/dist/types/index.d.mts.map +1 -1
- package/dist/types/index.mjs +3 -1
- package/dist/types/index.mjs.map +1 -1
- package/package.json +11 -14
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.cjs +0 -67
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.cjs.map +0 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.d.cts +0 -24
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.d.cts.map +0 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.d.mts +0 -24
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.d.mts.map +0 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.mjs +0 -61
- package/dist/components/temp-components/Jazzicon/Jazzicon.utilities.mjs.map +0 -1
- package/dist/types/make-props-optional.cjs.map +0 -1
- package/dist/types/make-props-optional.d.cts +0 -4
- package/dist/types/make-props-optional.d.cts.map +0 -1
- package/dist/types/make-props-optional.d.mts +0 -4
- package/dist/types/make-props-optional.d.mts.map +0 -1
- package/dist/types/make-props-optional.mjs +0 -2
- package/dist/types/make-props-optional.mjs.map +0 -1
package/dist/types/index.mjs
CHANGED
|
@@ -327,6 +327,7 @@ export var ButtonBaseSize;
|
|
|
327
327
|
export { ButtonBaseSize as ButtonPrimarySize };
|
|
328
328
|
export { ButtonBaseSize as ButtonSecondarySize };
|
|
329
329
|
export { ButtonBaseSize as ButtonTertiarySize };
|
|
330
|
+
export { ButtonBaseSize as ButtonHeroSize };
|
|
330
331
|
export { ButtonBaseSize as ButtonSize };
|
|
331
332
|
/**
|
|
332
333
|
* Button - variant
|
|
@@ -460,7 +461,7 @@ export var TextAlign;
|
|
|
460
461
|
export var FontWeight;
|
|
461
462
|
(function (FontWeight) {
|
|
462
463
|
/**
|
|
463
|
-
* Weight -
|
|
464
|
+
* Weight - 600
|
|
464
465
|
*/
|
|
465
466
|
FontWeight["Bold"] = "font-bold";
|
|
466
467
|
/**
|
|
@@ -605,6 +606,7 @@ export var IconName;
|
|
|
605
606
|
IconName["ArrowLeft"] = "ArrowLeft";
|
|
606
607
|
IconName["ArrowRight"] = "ArrowRight";
|
|
607
608
|
IconName["ArrowUp"] = "ArrowUp";
|
|
609
|
+
IconName["AttachMoney"] = "AttachMoney";
|
|
608
610
|
IconName["Attachment"] = "Attachment";
|
|
609
611
|
IconName["Backspace"] = "Backspace";
|
|
610
612
|
IconName["Ban"] = "Ban";
|
package/dist/types/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,cAqBX;AArBD,WAAY,cAAc;IACxB;;OAEG;IACH,2BAAS,CAAA;IACT;;OAEG;IACH,2BAAS,CAAA;IACT;;OAEG;IACH,2BAAS,CAAA;IACT;;OAEG;IACH,2BAAS,CAAA;IACT;;OAEG;IACH,2BAAS,CAAA;AACX,CAAC,EArBW,cAAc,KAAd,cAAc,QAqBzB;AACD,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,CAAC;AAC/C,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,CAAC;AAC/C,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,CAAC;AAC7C,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,CAAC;AAC5C,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,CAAC;AAC/C,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,CAAC;AAC7C,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,CAAC;AAExC;;GAEG;AACH,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB;;OAEG;IACH,gCAAiB,CAAA;IACjB;;OAEG;IACH,gCAAiB,CAAA;AACnB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AACD,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;AACvB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B;AAED;;GAEG;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ACrB,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,mCAAuB,CAAA;IACvB,+CAAmC,CAAA;IACnC,+BAAmB,CAAA;IACnB,2CAA+B,CAAA;IAC/B,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,mCAAuB,CAAA;IACvB,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,6CAAiC,CAAA;IACjC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,qCAAyB,CAAA;IACzB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,2CAA+B,CAAA;IAC/B,iDAAqC,CAAA;IACrC,iCAAqB,CAAA;IACrB,6CAAiC,CAAA;IACjC,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,iCAAqB,CAAA;IACrB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mBAAO,CAAA;AACT,CAAC,EApRW,QAAQ,KAAR,QAAQ,QAoRnB;AACD,gDAAgD","sourcesContent":["/**\n * AvatarBase - size\n */\nexport enum AvatarBaseSize {\n /**\n * Represents an extra small avatar size (16px).\n */\n Xs = 'xs',\n /**\n * Represents a small avatar size (24px).\n */\n Sm = 'sm',\n /**\n * Represents a medium avatar size (32px).\n */\n Md = 'md',\n /**\n * Represents a large avatar size (40px).\n */\n Lg = 'lg',\n /**\n * Represents an extra large avatar size (48px).\n */\n Xl = 'xl',\n}\nexport { AvatarBaseSize as AvatarAccountSize };\nexport { AvatarBaseSize as AvatarFaviconSize };\nexport { AvatarBaseSize as AvatarGroupSize };\nexport { AvatarBaseSize as AvatarIconSize };\nexport { AvatarBaseSize as AvatarNetworkSize };\nexport { AvatarBaseSize as AvatarTokenSize };\nexport { AvatarBaseSize as AvatarSize };\n\n/**\n * Avatar - shape\n */\nexport enum AvatarShape {\n /**\n * Represents a circular Avatar.\n */\n Circle = 'circle',\n /**\n * Represents a squared Avatar\n */\n Square = 'square',\n}\nexport { AvatarShape as AvatarBaseShape };\n\n/**\n * AvatarAccount - variant\n */\nexport enum AvatarAccountVariant {\n Blockies = 'blockies',\n Jazzicon = 'jazzicon',\n Maskicon = 'maskicon',\n}\n\n/**\n * AvatarIcon - severity\n */\nexport enum AvatarIconSeverity {\n Neutral = 'neutral',\n Info = 'info',\n Success = 'success',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Error = 'error',\n Warning = 'warning',\n}\n\n/**\n * AvatarGroup - variant\n */\nexport enum AvatarGroupVariant {\n Account = 'Account',\n Favicon = 'Favicon',\n Network = 'Network',\n Token = 'Token',\n}\n\n/**\n * BadgeCount - size\n */\nexport enum BadgeCountSize {\n /**\n * Represents a medium badge count (14px height).\n */\n Md = 'md',\n /**\n * Represents a large badge count (20px height).\n */\n Lg = 'lg',\n}\n\n/**\n * BadgeStatus - status\n */\nexport enum BadgeStatusStatus {\n Active = 'active', // Connected\n Inactive = 'inactive', // Connected\n Disconnected = 'disconnected',\n New = 'new',\n Attention = 'attention',\n}\n/**\n * BadgeStatus - size\n */\nexport enum BadgeStatusSize {\n /**\n * Represents a medium badge status size (8px).\n */\n Md = 'md',\n /**\n * Represents a large avatar size (10px).\n */\n Lg = 'lg',\n}\n\n/**\n * BadgeWrapper - positionAnchorShape\n */\nexport enum BadgeWrapperPositionAnchorShape {\n Rectangular = 'Rectangular',\n Circular = 'Circular',\n}\n\n/**\n * BadgeWrapper - position.\n */\nexport enum BadgeWrapperPosition {\n TopRight = 'TopRight',\n BottomRight = 'BottomRight',\n BottomLeft = 'BottomLeft',\n TopLeft = 'TopLeft',\n}\n\n/**\n * BadgeWrapper - customPosition\n */\nexport type BadgeWrapperCustomPosition = {\n top?: number | string | undefined;\n right?: number | string | undefined;\n bottom?: number | string | undefined;\n left?: number | string | undefined;\n};\n\n/**\n * Box - all spacing-related props\n */\nexport type BoxSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n\n/**\n * Box - border width values (only valid Tailwind CSS border width utilities)\n */\nexport type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;\n\n/**\n * Box - flexDirection\n */\nexport enum BoxFlexDirection {\n Row = 'flex-row',\n RowReverse = 'flex-row-reverse',\n Column = 'flex-col',\n ColumnReverse = 'flex-col-reverse',\n}\n\n/**\n * Box - flexWrap\n */\nexport enum BoxFlexWrap {\n NoWrap = 'flex-nowrap',\n Wrap = 'flex-wrap',\n WrapReverse = 'flex-wrap-reverse',\n}\n\n/**\n * Box - alignItems\n */\nexport enum BoxAlignItems {\n Start = 'items-start',\n Center = 'items-center',\n End = 'items-end',\n Stretch = 'items-stretch',\n Baseline = 'items-baseline',\n}\n\n/**\n * Box - justifyContent\n */\nexport enum BoxJustifyContent {\n Start = 'justify-start',\n Center = 'justify-center',\n End = 'justify-end',\n Between = 'justify-between',\n Around = 'justify-around',\n Evenly = 'justify-evenly',\n}\n\n/**\n * Box - backgroundColor\n */\nexport enum BoxBackgroundColor {\n /** Default background color */\n BackgroundDefault = 'bg-default',\n /** Alternative background color */\n BackgroundAlternative = 'bg-alternative',\n /** Section background color */\n BackgroundSection = 'bg-section',\n /** Subsection background color */\n BackgroundSubsection = 'bg-subsection',\n /** Muted background color */\n BackgroundMuted = 'bg-muted',\n /** Primary default background color */\n PrimaryDefault = 'bg-primary-default',\n /** Primary alternative background color */\n PrimaryAlternative = 'bg-primary-alternative',\n /** Primary muted background color */\n PrimaryMuted = 'bg-primary-muted',\n /** Primary inverse background color */\n PrimaryInverse = 'bg-primary-inverse',\n /** Error default background color */\n ErrorDefault = 'bg-error-default',\n /** Error alternative background color */\n ErrorAlternative = 'bg-error-alternative',\n /** Error muted background color */\n ErrorMuted = 'bg-error-muted',\n /** Error inverse background color */\n ErrorInverse = 'bg-error-inverse',\n /** Warning default background color */\n WarningDefault = 'bg-warning-default',\n /** Warning alternative background color */\n WarningAlternative = 'bg-warning-alternative',\n /** Warning muted background color */\n WarningMuted = 'bg-warning-muted',\n /** Warning inverse background color */\n WarningInverse = 'bg-warning-inverse',\n /** Success default background color */\n SuccessDefault = 'bg-success-default',\n /** Success alternative background color */\n SuccessAlternative = 'bg-success-alternative',\n /** Success muted background color */\n SuccessMuted = 'bg-success-muted',\n /** Success inverse background color */\n SuccessInverse = 'bg-success-inverse',\n /** Info default background color */\n InfoDefault = 'bg-info-default',\n /** Info muted background color */\n InfoMuted = 'bg-info-muted',\n /** Info inverse background color */\n InfoInverse = 'bg-info-inverse',\n /** Flask default background color */\n FlaskDefault = 'bg-flask-default',\n /** Flask inverse background color */\n FlaskInverse = 'bg-flask-inverse',\n /** Overlay alternative background color */\n OverlayAlternative = 'bg-overlay-alternative',\n /** Overlay default background color */\n OverlayDefault = 'bg-overlay-default',\n /** Overlay inverse background color */\n OverlayInverse = 'bg-overlay-inverse',\n /** Transparent background color */\n Transparent = 'bg-transparent',\n}\n\n/**\n * Box - borderColor\n */\nexport enum BoxBorderColor {\n /** Background default for cut out effect */\n BackgroundDefault = 'border-background-default',\n /** Default border color */\n BorderDefault = 'border-default',\n /** Muted border color */\n BorderMuted = 'border-muted',\n /** Primary default border color */\n PrimaryDefault = 'border-primary-default',\n /** Primary alternative border color */\n PrimaryAlternative = 'border-primary-alternative',\n /** Primary muted border color */\n PrimaryMuted = 'border-primary-muted',\n /** Primary inverse border color */\n PrimaryInverse = 'border-primary-inverse',\n /** Error default border color */\n ErrorDefault = 'border-error-default',\n /** Error alternative border color */\n ErrorAlternative = 'border-error-alternative',\n /** Error muted border color */\n ErrorMuted = 'border-error-muted',\n /** Error inverse border color */\n ErrorInverse = 'border-error-inverse',\n /** Warning default border color */\n WarningDefault = 'border-warning-default',\n /** Warning alternative border color */\n WarningAlternative = 'border-warning-alternative',\n /** Warning muted border color */\n WarningMuted = 'border-warning-muted',\n /** Warning inverse border color */\n WarningInverse = 'border-warning-inverse',\n /** Success default border color */\n SuccessDefault = 'border-success-default',\n /** Success alternative border color */\n SuccessAlternative = 'border-success-alternative',\n /** Success muted border color */\n SuccessMuted = 'border-success-muted',\n /** Success inverse border color */\n SuccessInverse = 'border-success-inverse',\n /** Info default border color */\n InfoDefault = 'border-info-default',\n /** Info alternative border color */\n InfoAlternative = 'border-info-alternative',\n /** Info muted border color */\n InfoMuted = 'border-info-muted',\n /** Info inverse border color */\n InfoInverse = 'border-info-inverse',\n /** Flask default border color */\n FlaskDefault = 'border-flask-default',\n /** Flask inverse border color */\n FlaskInverse = 'border-flask-inverse',\n /** Overlay alternative border color */\n OverlayAlternative = 'border-overlay-alternative',\n /** Overlay default border color */\n OverlayDefault = 'border-overlay-default',\n /** Overlay inverse border color */\n OverlayInverse = 'border-overlay-inverse',\n /** Transparent border color */\n Transparent = 'border-transparent',\n}\n\n/**\n * ButtonBase - size\n */\nexport enum ButtonBaseSize {\n /**\n * Represents a small button size (32px).\n */\n Sm = 'sm',\n /**\n * Represents a medium button size (40px).\n */\n Md = 'md',\n /**\n * Represents a large button size (48px).\n */\n Lg = 'lg',\n}\nexport { ButtonBaseSize as ButtonPrimarySize };\nexport { ButtonBaseSize as ButtonSecondarySize };\nexport { ButtonBaseSize as ButtonTertiarySize };\nexport { ButtonBaseSize as ButtonSize };\n\n/**\n * Button - variant\n */\nexport enum ButtonVariant {\n /**\n * Primary button variant - used for primary actions\n */\n Primary = 'primary',\n /**\n * Secondary button variant - used for secondary actions\n */\n Secondary = 'secondary',\n /**\n * Tertiary button variant - used for tertiary-like actions\n */\n Tertiary = 'tertiary',\n}\n\n/**\n * ButtonIcon - size\n */\nexport enum ButtonIconSize {\n /**\n * Represents a small button size (24px).\n */\n Sm = 'sm',\n /**\n * Represents a medium button size (32px).\n */\n Md = 'md',\n /**\n * Represents a large button size (40px).\n */\n Lg = 'lg',\n}\n\n/**\n * Text - variant\n */\nexport enum TextVariant {\n // Display Sizes\n DisplayLg = 'display-lg',\n DisplayMd = 'display-md',\n\n // Heading Sizes\n HeadingLg = 'heading-lg',\n HeadingMd = 'heading-md',\n HeadingSm = 'heading-sm',\n\n // Font Sizes\n BodyLg = 'body-lg',\n BodyMd = 'body-md',\n BodySm = 'body-sm',\n BodyXs = 'body-xs',\n\n // Special Typography Variants\n PageHeading = 'page-heading',\n SectionHeading = 'section-heading',\n ButtonLabelMd = 'button-label-md',\n ButtonLabelLg = 'button-label-lg',\n AmountDisplayLg = 'amount-display-lg',\n}\n\n/**\n * Text - color\n */\nexport enum TextColor {\n /** For default neutral text. */\n TextDefault = 'text-default',\n /** For softer contrast neutral text */\n TextAlternative = 'text-alternative',\n /** For the softest contrast neutral text (not accessible) */\n TextMuted = 'text-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse = 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault = 'text-primary-default',\n /** For primary text in a hover state. */\n PrimaryDefaultHover = 'text-primary-default-hover',\n /** For primary text in a pressed state. */\n PrimaryDefaultPressed = 'text-primary-default-pressed',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse = 'text-primary-inverse',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault = 'text-error-default',\n /** For critical alert text in a hover state. */\n ErrorDefaultHover = 'text-error-default-hover',\n /** For critical alert text in a pressed state. */\n ErrorDefaultPressed = 'text-error-default-pressed',\n /** For the stronger contrast error semantic elements. */\n ErrorAlternative = 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse = 'text-error-inverse',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault = 'text-success-default',\n /** For positive text in a hover state. */\n SuccessDefaultHover = 'text-success-default-hover',\n /** For positive text in a pressed state. */\n SuccessDefaultPressed = 'text-success-default-pressed',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse = 'text-success-inverse',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault = 'text-warning-default',\n /** For caution text in a hover state. */\n WarningDefaultHover = 'text-warning-default-hover',\n /** For caution text in a pressed state. */\n WarningDefaultPressed = 'text-warning-default-pressed',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse = 'text-warning-inverse',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault = 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse = 'text-info-inverse',\n /** Inherit the color of the parent element */\n Inherit = 'text-inherit',\n /** Make the text color transparent */\n Transparent = 'text-transparent',\n}\n\n/**\n * Text - textAlign\n */\nexport enum TextAlign {\n Left = 'text-left',\n Center = 'text-center',\n Right = 'text-right',\n Justify = 'text-justify',\n}\n\n/**\n * Text - fontWeight\n */\nexport enum FontWeight {\n /**\n * Weight - 700\n */\n Bold = 'font-bold',\n /**\n * Weight - 500\n */\n Medium = 'font-medium',\n /**\n * Weight - 400\n */\n Regular = 'font-regular',\n}\n\n/**\n * Text - overflowWrap\n */\nexport enum OverflowWrap {\n BreakWord = 'break-words',\n Anywhere = 'break-all',\n Normal = 'break-normal',\n}\n\n/**\n * Text - fontStyle\n */\nexport enum FontStyle {\n Italic = 'italic',\n Normal = 'not-italic',\n}\n\n/**\n * Text - textTransform\n */\nexport enum TextTransform {\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Uppercase = 'uppercase',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Lowercase = 'lowercase',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Capitalize = 'capitalize',\n Normal = 'normal-case',\n}\n\n/**\n * Text - fontFamily\n */\nexport enum FontFamily {\n Default = 'font-default',\n Accent = 'font-accent',\n Hero = 'font-hero',\n}\n\n/**\n * TextButton - size\n */\nexport enum TextButtonSize {\n BodyLg = 'body-lg',\n BodyMd = 'body-md',\n BodySm = 'body-sm',\n BodyXs = 'body-xs',\n}\n\n/**\n * Icon - size\n */\nexport enum IconSize {\n /** Extra small - 12px */\n Xs = 'xs',\n /** Small - 16px */\n Sm = 'sm',\n /** Medium - 20px (Default) */\n Md = 'md',\n /** Large - 24px */\n Lg = 'lg',\n /** Extra large - 32px */\n Xl = 'xl',\n}\n\n/**\n * Icon - color\n */\nexport enum IconColor {\n /** For default neutral icons */\n IconDefault = 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative = 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted = 'text-icon-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse = 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault = 'text-primary-default',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse = 'text-primary-inverse',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault = 'text-error-default',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse = 'text-error-inverse',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault = 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse = 'text-success-inverse',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault = 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse = 'text-warning-inverse',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault = 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse = 'text-info-inverse',\n}\n\n/**\n * Autogenerated from the generate-icon-script.ts script.\n * Please do not edit this enum directly.\n */\n/**\n * Icon - name\n */\n/* eslint-disable @typescript-eslint/no-shadow */\nexport enum IconName {\n Accessibility = 'Accessibility',\n Activity = 'Activity',\n Add = 'Add',\n AddCard = 'AddCard',\n AddCircle = 'AddCircle',\n AddSquare = 'AddSquare',\n Ai = 'Ai',\n AlternateEmail = 'AlternateEmail',\n AppleLogo = 'AppleLogo',\n Apps = 'Apps',\n Arrow2Down = 'Arrow2Down',\n Arrow2Left = 'Arrow2Left',\n Arrow2Right = 'Arrow2Right',\n Arrow2Up = 'Arrow2Up',\n Arrow2UpRight = 'Arrow2UpRight',\n ArrowCircleDown = 'ArrowCircleDown',\n ArrowCircleUp = 'ArrowCircleUp',\n ArrowDoubleLeft = 'ArrowDoubleLeft',\n ArrowDoubleRight = 'ArrowDoubleRight',\n ArrowDown = 'ArrowDown',\n ArrowDropDownCircle = 'ArrowDropDownCircle',\n ArrowLeft = 'ArrowLeft',\n ArrowRight = 'ArrowRight',\n ArrowUp = 'ArrowUp',\n Attachment = 'Attachment',\n Backspace = 'Backspace',\n Ban = 'Ban',\n Bank = 'Bank',\n BankAssured = 'BankAssured',\n Bold = 'Bold',\n Book = 'Book',\n Bookmark = 'Bookmark',\n Bridge = 'Bridge',\n Briefcase = 'Briefcase',\n Bulb = 'Bulb',\n BuySell = 'BuySell',\n Cake = 'Cake',\n Calculator = 'Calculator',\n Calendar = 'Calendar',\n Call = 'Call',\n Camera = 'Camera',\n Campaign = 'Campaign',\n Candlestick = 'Candlestick',\n Card = 'Card',\n CardPos = 'CardPos',\n Cash = 'Cash',\n Category = 'Category',\n Chart = 'Chart',\n Check = 'Check',\n CheckBold = 'CheckBold',\n CircleX = 'CircleX',\n Clear = 'Clear',\n Clock = 'Clock',\n ClockFilled = 'ClockFilled',\n Close = 'Close',\n Cloud = 'Cloud',\n CloudDownload = 'CloudDownload',\n CloudUpload = 'CloudUpload',\n Code = 'Code',\n CodeCircle = 'CodeCircle',\n Coin = 'Coin',\n Collapse = 'Collapse',\n Confirmation = 'Confirmation',\n Connect = 'Connect',\n Copy = 'Copy',\n CopySuccess = 'CopySuccess',\n CreditCheck = 'CreditCheck',\n CurrencyFranc = 'CurrencyFranc',\n CurrencyLira = 'CurrencyLira',\n CurrencyPound = 'CurrencyPound',\n CurrencyYuan = 'CurrencyYuan',\n Customize = 'Customize',\n Danger = 'Danger',\n Dark = 'Dark',\n DarkFilled = 'DarkFilled',\n Data = 'Data',\n Description = 'Description',\n Details = 'Details',\n Diagram = 'Diagram',\n DocumentCode = 'DocumentCode',\n Download = 'Download',\n Draft = 'Draft',\n EcoLeaf = 'EcoLeaf',\n Edit = 'Edit',\n EditSquare = 'EditSquare',\n EncryptedAdd = 'EncryptedAdd',\n Eraser = 'Eraser',\n Error = 'Error',\n Ethereum = 'Ethereum',\n Exchange = 'Exchange',\n Expand = 'Expand',\n ExpandVertical = 'ExpandVertical',\n Explore = 'Explore',\n ExploreFilled = 'ExploreFilled',\n Export = 'Export',\n Extension = 'Extension',\n Eye = 'Eye',\n EyeSlash = 'EyeSlash',\n FaceId = 'FaceId',\n Feedback = 'Feedback',\n File = 'File',\n Filter = 'Filter',\n Fingerprint = 'Fingerprint',\n Fire = 'Fire',\n FirstPage = 'FirstPage',\n Flag = 'Flag',\n Flash = 'Flash',\n FlashSlash = 'FlashSlash',\n Flask = 'Flask',\n Flower = 'Flower',\n Folder = 'Folder',\n Forest = 'Forest',\n FullCircle = 'FullCircle',\n Gas = 'Gas',\n Gift = 'Gift',\n Global = 'Global',\n GlobalSearch = 'GlobalSearch',\n Graph = 'Graph',\n Hardware = 'Hardware',\n HashTag = 'HashTag',\n Heart = 'Heart',\n HeartFilled = 'HeartFilled',\n Hierarchy = 'Hierarchy',\n Home = 'Home',\n HomeFilled = 'HomeFilled',\n Image = 'Image',\n Info = 'Info',\n Inventory = 'Inventory',\n Joystick = 'Joystick',\n Keep = 'Keep',\n KeepFilled = 'KeepFilled',\n Key = 'Key',\n LastPage = 'LastPage',\n Light = 'Light',\n LightFilled = 'LightFilled',\n Link = 'Link',\n Loading = 'Loading',\n Location = 'Location',\n Lock = 'Lock',\n LockSlash = 'LockSlash',\n LockedFilled = 'LockedFilled',\n Login = 'Login',\n Logout = 'Logout',\n Mail = 'Mail',\n Map = 'Map',\n Menu = 'Menu',\n MessageQuestion = 'MessageQuestion',\n Messages = 'Messages',\n MetamaskFoxOutline = 'MetamaskFoxOutline',\n Mic = 'Mic',\n Minus = 'Minus',\n MinusBold = 'MinusBold',\n MinusSquare = 'MinusSquare',\n Mobile = 'Mobile',\n Money = 'Money',\n MoneyBag = 'MoneyBag',\n Monitor = 'Monitor',\n MoreHorizontal = 'MoreHorizontal',\n MoreVertical = 'MoreVertical',\n MountainFlag = 'MountainFlag',\n MusicNote = 'MusicNote',\n Notification = 'Notification',\n PageInfo = 'PageInfo',\n Palette = 'Palette',\n PasswordCheck = 'PasswordCheck',\n Pending = 'Pending',\n People = 'People',\n PersonCancel = 'PersonCancel',\n Pin = 'Pin',\n Plant = 'Plant',\n Plug = 'Plug',\n PlusAndMinus = 'PlusAndMinus',\n PolicyAlert = 'PolicyAlert',\n Print = 'Print',\n PriorityHigh = 'PriorityHigh',\n PrivacyTip = 'PrivacyTip',\n ProgrammingArrows = 'ProgrammingArrows',\n Publish = 'Publish',\n QrCode = 'QrCode',\n Question = 'Question',\n Receive = 'Receive',\n Received = 'Received',\n Refresh = 'Refresh',\n RemoveMinus = 'RemoveMinus',\n Report = 'Report',\n Rocket = 'Rocket',\n Save = 'Save',\n SaveFilled = 'SaveFilled',\n Saving = 'Saving',\n Scan = 'Scan',\n ScanBarcode = 'ScanBarcode',\n ScanFocus = 'ScanFocus',\n Search = 'Search',\n Security = 'Security',\n SecurityAlert = 'SecurityAlert',\n SecurityCross = 'SecurityCross',\n SecurityKey = 'SecurityKey',\n SecuritySearch = 'SecuritySearch',\n SecuritySlash = 'SecuritySlash',\n SecurityTick = 'SecurityTick',\n SecurityTime = 'SecurityTime',\n SecurityUser = 'SecurityUser',\n Send = 'Send',\n SentimentDissatisfied = 'SentimentDissatisfied',\n SentimentNeutral = 'SentimentNeutral',\n SentimentSatisfied = 'SentimentSatisfied',\n SentimentVerySatisfied = 'SentimentVerySatisfied',\n Setting = 'Setting',\n SettingFilled = 'SettingFilled',\n Share = 'Share',\n ShieldLock = 'ShieldLock',\n ShoppingBag = 'ShoppingBag',\n ShoppingCart = 'ShoppingCart',\n SignalCellular = 'SignalCellular',\n Slash = 'Slash',\n Sms = 'Sms',\n Snaps = 'Snaps',\n SnapsMobile = 'SnapsMobile',\n SnapsPlus = 'SnapsPlus',\n SnapsRound = 'SnapsRound',\n Sort = 'Sort',\n SortByAlpha = 'SortByAlpha',\n Sparkle = 'Sparkle',\n Speed = 'Speed',\n Speedometer = 'Speedometer',\n Square = 'Square',\n Stake = 'Stake',\n Star = 'Star',\n StarFilled = 'StarFilled',\n Start = 'Start',\n Storefront = 'Storefront',\n Student = 'Student',\n SwapHorizontal = 'SwapHorizontal',\n SwapVertical = 'SwapVertical',\n TabClose = 'TabClose',\n TableRow = 'TableRow',\n Tablet = 'Tablet',\n Tag = 'Tag',\n ThumbDown = 'ThumbDown',\n ThumbDownFilled = 'ThumbDownFilled',\n ThumbUp = 'ThumbUp',\n ThumbUpFilled = 'ThumbUpFilled',\n Tint = 'Tint',\n Tooltip = 'Tooltip',\n Translate = 'Translate',\n Trash = 'Trash',\n TrendDown = 'TrendDown',\n TrendUp = 'TrendUp',\n Undo = 'Undo',\n Unfold = 'Unfold',\n UnlockedFilled = 'UnlockedFilled',\n Unpin = 'Unpin',\n Upload = 'Upload',\n UploadFile = 'UploadFile',\n Usb = 'Usb',\n User = 'User',\n UserCheck = 'UserCheck',\n UserCircle = 'UserCircle',\n UserCircleAdd = 'UserCircleAdd',\n UserCircleRemove = 'UserCircleRemove',\n Verified = 'Verified',\n VerifiedFilled = 'VerifiedFilled',\n Videocam = 'Videocam',\n ViewColumn = 'ViewColumn',\n ViewInAr = 'ViewInAr',\n VolumeOff = 'VolumeOff',\n VolumeUp = 'VolumeUp',\n Wallet = 'Wallet',\n WalletFilled = 'WalletFilled',\n Warning = 'Warning',\n WebTraffic = 'WebTraffic',\n Widgets = 'Widgets',\n Wifi = 'Wifi',\n WifiOff = 'WifiOff',\n X = 'X',\n}\n/* eslint-enable @typescript-eslint/no-shad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CAAA;IACvB,+CAAmC,CAAA;IACnC,+BAAmB,CAAA;IACnB,2CAA+B,CAAA;IAC/B,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mCAAuB,CAAA;IACvB,2BAAe,CAAA;IACf,mCAAuB,CAAA;IACvB,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,6BAAiB,CAAA;IACjB,6CAAiC,CAAA;IACjC,2BAAe,CAAA;IACf,6BAAiB,CAAA;IACjB,qCAAyB,CAAA;IACzB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,mCAAuB,CAAA;IACvB,qCAAyB,CAAA;IACzB,2CAA+B,CAAA;IAC/B,iDAAqC,CAAA;IACrC,iCAAqB,CAAA;IACrB,6CAAiC,CAAA;IACjC,iCAAqB,CAAA;IACrB,qCAAyB,CAAA;IACzB,iCAAqB,CAAA;IACrB,mCAAuB,CAAA;IACvB,iCAAqB,CAAA;IACrB,6BAAiB,CAAA;IACjB,yCAA6B,CAAA;IAC7B,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,+BAAmB,CAAA;IACnB,yBAAa,CAAA;IACb,+BAAmB,CAAA;IACnB,mBAAO,CAAA;AACT,CAAC,EArRW,QAAQ,KAAR,QAAQ,QAqRnB;AACD,gDAAgD","sourcesContent":["/**\n * AvatarBase - size\n */\nexport enum AvatarBaseSize {\n /**\n * Represents an extra small avatar size (16px).\n */\n Xs = 'xs',\n /**\n * Represents a small avatar size (24px).\n */\n Sm = 'sm',\n /**\n * Represents a medium avatar size (32px).\n */\n Md = 'md',\n /**\n * Represents a large avatar size (40px).\n */\n Lg = 'lg',\n /**\n * Represents an extra large avatar size (48px).\n */\n Xl = 'xl',\n}\nexport { AvatarBaseSize as AvatarAccountSize };\nexport { AvatarBaseSize as AvatarFaviconSize };\nexport { AvatarBaseSize as AvatarGroupSize };\nexport { AvatarBaseSize as AvatarIconSize };\nexport { AvatarBaseSize as AvatarNetworkSize };\nexport { AvatarBaseSize as AvatarTokenSize };\nexport { AvatarBaseSize as AvatarSize };\n\n/**\n * Avatar - shape\n */\nexport enum AvatarShape {\n /**\n * Represents a circular Avatar.\n */\n Circle = 'circle',\n /**\n * Represents a squared Avatar\n */\n Square = 'square',\n}\nexport { AvatarShape as AvatarBaseShape };\n\n/**\n * AvatarAccount - variant\n */\nexport enum AvatarAccountVariant {\n Blockies = 'blockies',\n Jazzicon = 'jazzicon',\n Maskicon = 'maskicon',\n}\n\n/**\n * AvatarIcon - severity\n */\nexport enum AvatarIconSeverity {\n Neutral = 'neutral',\n Info = 'info',\n Success = 'success',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Error = 'error',\n Warning = 'warning',\n}\n\n/**\n * AvatarGroup - variant\n */\nexport enum AvatarGroupVariant {\n Account = 'Account',\n Favicon = 'Favicon',\n Network = 'Network',\n Token = 'Token',\n}\n\n/**\n * BadgeCount - size\n */\nexport enum BadgeCountSize {\n /**\n * Represents a medium badge count (14px height).\n */\n Md = 'md',\n /**\n * Represents a large badge count (20px height).\n */\n Lg = 'lg',\n}\n\n/**\n * BadgeStatus - status\n */\nexport enum BadgeStatusStatus {\n Active = 'active', // Connected\n Inactive = 'inactive', // Connected\n Disconnected = 'disconnected',\n New = 'new',\n Attention = 'attention',\n}\n/**\n * BadgeStatus - size\n */\nexport enum BadgeStatusSize {\n /**\n * Represents a medium badge status size (8px).\n */\n Md = 'md',\n /**\n * Represents a large avatar size (10px).\n */\n Lg = 'lg',\n}\n\n/**\n * BadgeWrapper - positionAnchorShape\n */\nexport enum BadgeWrapperPositionAnchorShape {\n Rectangular = 'Rectangular',\n Circular = 'Circular',\n}\n\n/**\n * BadgeWrapper - position.\n */\nexport enum BadgeWrapperPosition {\n TopRight = 'TopRight',\n BottomRight = 'BottomRight',\n BottomLeft = 'BottomLeft',\n TopLeft = 'TopLeft',\n}\n\n/**\n * BadgeWrapper - customPosition\n */\nexport type BadgeWrapperCustomPosition = {\n top?: number | string | undefined;\n right?: number | string | undefined;\n bottom?: number | string | undefined;\n left?: number | string | undefined;\n};\n\n/**\n * Box - all spacing-related props\n */\nexport type BoxSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;\n\n/**\n * Box - border width values (only valid Tailwind CSS border width utilities)\n */\nexport type BoxBorderWidth = 0 | 1 | 2 | 4 | 8;\n\n/**\n * Box - flexDirection\n */\nexport enum BoxFlexDirection {\n Row = 'flex-row',\n RowReverse = 'flex-row-reverse',\n Column = 'flex-col',\n ColumnReverse = 'flex-col-reverse',\n}\n\n/**\n * Box - flexWrap\n */\nexport enum BoxFlexWrap {\n NoWrap = 'flex-nowrap',\n Wrap = 'flex-wrap',\n WrapReverse = 'flex-wrap-reverse',\n}\n\n/**\n * Box - alignItems\n */\nexport enum BoxAlignItems {\n Start = 'items-start',\n Center = 'items-center',\n End = 'items-end',\n Stretch = 'items-stretch',\n Baseline = 'items-baseline',\n}\n\n/**\n * Box - justifyContent\n */\nexport enum BoxJustifyContent {\n Start = 'justify-start',\n Center = 'justify-center',\n End = 'justify-end',\n Between = 'justify-between',\n Around = 'justify-around',\n Evenly = 'justify-evenly',\n}\n\n/**\n * Box - backgroundColor\n */\nexport enum BoxBackgroundColor {\n /** Default background color */\n BackgroundDefault = 'bg-default',\n /** Alternative background color */\n BackgroundAlternative = 'bg-alternative',\n /** Section background color */\n BackgroundSection = 'bg-section',\n /** Subsection background color */\n BackgroundSubsection = 'bg-subsection',\n /** Muted background color */\n BackgroundMuted = 'bg-muted',\n /** Primary default background color */\n PrimaryDefault = 'bg-primary-default',\n /** Primary alternative background color */\n PrimaryAlternative = 'bg-primary-alternative',\n /** Primary muted background color */\n PrimaryMuted = 'bg-primary-muted',\n /** Primary inverse background color */\n PrimaryInverse = 'bg-primary-inverse',\n /** Error default background color */\n ErrorDefault = 'bg-error-default',\n /** Error alternative background color */\n ErrorAlternative = 'bg-error-alternative',\n /** Error muted background color */\n ErrorMuted = 'bg-error-muted',\n /** Error inverse background color */\n ErrorInverse = 'bg-error-inverse',\n /** Warning default background color */\n WarningDefault = 'bg-warning-default',\n /** Warning alternative background color */\n WarningAlternative = 'bg-warning-alternative',\n /** Warning muted background color */\n WarningMuted = 'bg-warning-muted',\n /** Warning inverse background color */\n WarningInverse = 'bg-warning-inverse',\n /** Success default background color */\n SuccessDefault = 'bg-success-default',\n /** Success alternative background color */\n SuccessAlternative = 'bg-success-alternative',\n /** Success muted background color */\n SuccessMuted = 'bg-success-muted',\n /** Success inverse background color */\n SuccessInverse = 'bg-success-inverse',\n /** Info default background color */\n InfoDefault = 'bg-info-default',\n /** Info muted background color */\n InfoMuted = 'bg-info-muted',\n /** Info inverse background color */\n InfoInverse = 'bg-info-inverse',\n /** Flask default background color */\n FlaskDefault = 'bg-flask-default',\n /** Flask inverse background color */\n FlaskInverse = 'bg-flask-inverse',\n /** Overlay alternative background color */\n OverlayAlternative = 'bg-overlay-alternative',\n /** Overlay default background color */\n OverlayDefault = 'bg-overlay-default',\n /** Overlay inverse background color */\n OverlayInverse = 'bg-overlay-inverse',\n /** Transparent background color */\n Transparent = 'bg-transparent',\n}\n\n/**\n * Box - borderColor\n */\nexport enum BoxBorderColor {\n /** Background default for cut out effect */\n BackgroundDefault = 'border-background-default',\n /** Default border color */\n BorderDefault = 'border-default',\n /** Muted border color */\n BorderMuted = 'border-muted',\n /** Primary default border color */\n PrimaryDefault = 'border-primary-default',\n /** Primary alternative border color */\n PrimaryAlternative = 'border-primary-alternative',\n /** Primary muted border color */\n PrimaryMuted = 'border-primary-muted',\n /** Primary inverse border color */\n PrimaryInverse = 'border-primary-inverse',\n /** Error default border color */\n ErrorDefault = 'border-error-default',\n /** Error alternative border color */\n ErrorAlternative = 'border-error-alternative',\n /** Error muted border color */\n ErrorMuted = 'border-error-muted',\n /** Error inverse border color */\n ErrorInverse = 'border-error-inverse',\n /** Warning default border color */\n WarningDefault = 'border-warning-default',\n /** Warning alternative border color */\n WarningAlternative = 'border-warning-alternative',\n /** Warning muted border color */\n WarningMuted = 'border-warning-muted',\n /** Warning inverse border color */\n WarningInverse = 'border-warning-inverse',\n /** Success default border color */\n SuccessDefault = 'border-success-default',\n /** Success alternative border color */\n SuccessAlternative = 'border-success-alternative',\n /** Success muted border color */\n SuccessMuted = 'border-success-muted',\n /** Success inverse border color */\n SuccessInverse = 'border-success-inverse',\n /** Info default border color */\n InfoDefault = 'border-info-default',\n /** Info alternative border color */\n InfoAlternative = 'border-info-alternative',\n /** Info muted border color */\n InfoMuted = 'border-info-muted',\n /** Info inverse border color */\n InfoInverse = 'border-info-inverse',\n /** Flask default border color */\n FlaskDefault = 'border-flask-default',\n /** Flask inverse border color */\n FlaskInverse = 'border-flask-inverse',\n /** Overlay alternative border color */\n OverlayAlternative = 'border-overlay-alternative',\n /** Overlay default border color */\n OverlayDefault = 'border-overlay-default',\n /** Overlay inverse border color */\n OverlayInverse = 'border-overlay-inverse',\n /** Transparent border color */\n Transparent = 'border-transparent',\n}\n\n/**\n * ButtonBase - size\n */\nexport enum ButtonBaseSize {\n /**\n * Represents a small button size (32px).\n */\n Sm = 'sm',\n /**\n * Represents a medium button size (40px).\n */\n Md = 'md',\n /**\n * Represents a large button size (48px).\n */\n Lg = 'lg',\n}\nexport { ButtonBaseSize as ButtonPrimarySize };\nexport { ButtonBaseSize as ButtonSecondarySize };\nexport { ButtonBaseSize as ButtonTertiarySize };\nexport { ButtonBaseSize as ButtonHeroSize };\nexport { ButtonBaseSize as ButtonSize };\n\n/**\n * Button - variant\n */\nexport enum ButtonVariant {\n /**\n * Primary button variant - used for primary actions\n */\n Primary = 'primary',\n /**\n * Secondary button variant - used for secondary actions\n */\n Secondary = 'secondary',\n /**\n * Tertiary button variant - used for tertiary-like actions\n */\n Tertiary = 'tertiary',\n}\n\n/**\n * ButtonIcon - size\n */\nexport enum ButtonIconSize {\n /**\n * Represents a small button size (24px).\n */\n Sm = 'sm',\n /**\n * Represents a medium button size (32px).\n */\n Md = 'md',\n /**\n * Represents a large button size (40px).\n */\n Lg = 'lg',\n}\n\n/**\n * Text - variant\n */\nexport enum TextVariant {\n // Display Sizes\n DisplayLg = 'display-lg',\n DisplayMd = 'display-md',\n\n // Heading Sizes\n HeadingLg = 'heading-lg',\n HeadingMd = 'heading-md',\n HeadingSm = 'heading-sm',\n\n // Font Sizes\n BodyLg = 'body-lg',\n BodyMd = 'body-md',\n BodySm = 'body-sm',\n BodyXs = 'body-xs',\n\n // Special Typography Variants\n PageHeading = 'page-heading',\n SectionHeading = 'section-heading',\n ButtonLabelMd = 'button-label-md',\n ButtonLabelLg = 'button-label-lg',\n AmountDisplayLg = 'amount-display-lg',\n}\n\n/**\n * Text - color\n */\nexport enum TextColor {\n /** For default neutral text. */\n TextDefault = 'text-default',\n /** For softer contrast neutral text */\n TextAlternative = 'text-alternative',\n /** For the softest contrast neutral text (not accessible) */\n TextMuted = 'text-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse = 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault = 'text-primary-default',\n /** For primary text in a hover state. */\n PrimaryDefaultHover = 'text-primary-default-hover',\n /** For primary text in a pressed state. */\n PrimaryDefaultPressed = 'text-primary-default-pressed',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse = 'text-primary-inverse',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault = 'text-error-default',\n /** For critical alert text in a hover state. */\n ErrorDefaultHover = 'text-error-default-hover',\n /** For critical alert text in a pressed state. */\n ErrorDefaultPressed = 'text-error-default-pressed',\n /** For the stronger contrast error semantic elements. */\n ErrorAlternative = 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse = 'text-error-inverse',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault = 'text-success-default',\n /** For positive text in a hover state. */\n SuccessDefaultHover = 'text-success-default-hover',\n /** For positive text in a pressed state. */\n SuccessDefaultPressed = 'text-success-default-pressed',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse = 'text-success-inverse',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault = 'text-warning-default',\n /** For caution text in a hover state. */\n WarningDefaultHover = 'text-warning-default-hover',\n /** For caution text in a pressed state. */\n WarningDefaultPressed = 'text-warning-default-pressed',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse = 'text-warning-inverse',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault = 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse = 'text-info-inverse',\n /** Inherit the color of the parent element */\n Inherit = 'text-inherit',\n /** Make the text color transparent */\n Transparent = 'text-transparent',\n}\n\n/**\n * Text - textAlign\n */\nexport enum TextAlign {\n Left = 'text-left',\n Center = 'text-center',\n Right = 'text-right',\n Justify = 'text-justify',\n}\n\n/**\n * Text - fontWeight\n */\nexport enum FontWeight {\n /**\n * Weight - 600\n */\n Bold = 'font-bold',\n /**\n * Weight - 500\n */\n Medium = 'font-medium',\n /**\n * Weight - 400\n */\n Regular = 'font-regular',\n}\n\n/**\n * Text - overflowWrap\n */\nexport enum OverflowWrap {\n BreakWord = 'break-words',\n Anywhere = 'break-all',\n Normal = 'break-normal',\n}\n\n/**\n * Text - fontStyle\n */\nexport enum FontStyle {\n Italic = 'italic',\n Normal = 'not-italic',\n}\n\n/**\n * Text - textTransform\n */\nexport enum TextTransform {\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Uppercase = 'uppercase',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Lowercase = 'lowercase',\n // eslint-disable-next-line @typescript-eslint/no-shadow\n Capitalize = 'capitalize',\n Normal = 'normal-case',\n}\n\n/**\n * Text - fontFamily\n */\nexport enum FontFamily {\n Default = 'font-default',\n Accent = 'font-accent',\n Hero = 'font-hero',\n}\n\n/**\n * TextButton - size\n */\nexport enum TextButtonSize {\n BodyLg = 'body-lg',\n BodyMd = 'body-md',\n BodySm = 'body-sm',\n BodyXs = 'body-xs',\n}\n\n/**\n * Icon - size\n */\nexport enum IconSize {\n /** Extra small - 12px */\n Xs = 'xs',\n /** Small - 16px */\n Sm = 'sm',\n /** Medium - 20px (Default) */\n Md = 'md',\n /** Large - 24px */\n Lg = 'lg',\n /** Extra large - 32px */\n Xl = 'xl',\n}\n\n/**\n * Icon - color\n */\nexport enum IconColor {\n /** For default neutral icons */\n IconDefault = 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative = 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted = 'text-icon-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse = 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault = 'text-primary-default',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse = 'text-primary-inverse',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault = 'text-error-default',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse = 'text-error-inverse',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault = 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse = 'text-success-inverse',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault = 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse = 'text-warning-inverse',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault = 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse = 'text-info-inverse',\n}\n\n/**\n * Autogenerated from the generate-icon-script.ts script.\n * Please do not edit this enum directly.\n */\n/**\n * Icon - name\n */\n/* eslint-disable @typescript-eslint/no-shadow */\nexport enum IconName {\n Accessibility = 'Accessibility',\n Activity = 'Activity',\n Add = 'Add',\n AddCard = 'AddCard',\n AddCircle = 'AddCircle',\n AddSquare = 'AddSquare',\n Ai = 'Ai',\n AlternateEmail = 'AlternateEmail',\n AppleLogo = 'AppleLogo',\n Apps = 'Apps',\n Arrow2Down = 'Arrow2Down',\n Arrow2Left = 'Arrow2Left',\n Arrow2Right = 'Arrow2Right',\n Arrow2Up = 'Arrow2Up',\n Arrow2UpRight = 'Arrow2UpRight',\n ArrowCircleDown = 'ArrowCircleDown',\n ArrowCircleUp = 'ArrowCircleUp',\n ArrowDoubleLeft = 'ArrowDoubleLeft',\n ArrowDoubleRight = 'ArrowDoubleRight',\n ArrowDown = 'ArrowDown',\n ArrowDropDownCircle = 'ArrowDropDownCircle',\n ArrowLeft = 'ArrowLeft',\n ArrowRight = 'ArrowRight',\n ArrowUp = 'ArrowUp',\n AttachMoney = 'AttachMoney',\n Attachment = 'Attachment',\n Backspace = 'Backspace',\n Ban = 'Ban',\n Bank = 'Bank',\n BankAssured = 'BankAssured',\n Bold = 'Bold',\n Book = 'Book',\n Bookmark = 'Bookmark',\n Bridge = 'Bridge',\n Briefcase = 'Briefcase',\n Bulb = 'Bulb',\n BuySell = 'BuySell',\n Cake = 'Cake',\n Calculator = 'Calculator',\n Calendar = 'Calendar',\n Call = 'Call',\n Camera = 'Camera',\n Campaign = 'Campaign',\n Candlestick = 'Candlestick',\n Card = 'Card',\n CardPos = 'CardPos',\n Cash = 'Cash',\n Category = 'Category',\n Chart = 'Chart',\n Check = 'Check',\n CheckBold = 'CheckBold',\n CircleX = 'CircleX',\n Clear = 'Clear',\n Clock = 'Clock',\n ClockFilled = 'ClockFilled',\n Close = 'Close',\n Cloud = 'Cloud',\n CloudDownload = 'CloudDownload',\n CloudUpload = 'CloudUpload',\n Code = 'Code',\n CodeCircle = 'CodeCircle',\n Coin = 'Coin',\n Collapse = 'Collapse',\n Confirmation = 'Confirmation',\n Connect = 'Connect',\n Copy = 'Copy',\n CopySuccess = 'CopySuccess',\n CreditCheck = 'CreditCheck',\n CurrencyFranc = 'CurrencyFranc',\n CurrencyLira = 'CurrencyLira',\n CurrencyPound = 'CurrencyPound',\n CurrencyYuan = 'CurrencyYuan',\n Customize = 'Customize',\n Danger = 'Danger',\n Dark = 'Dark',\n DarkFilled = 'DarkFilled',\n Data = 'Data',\n Description = 'Description',\n Details = 'Details',\n Diagram = 'Diagram',\n DocumentCode = 'DocumentCode',\n Download = 'Download',\n Draft = 'Draft',\n EcoLeaf = 'EcoLeaf',\n Edit = 'Edit',\n EditSquare = 'EditSquare',\n EncryptedAdd = 'EncryptedAdd',\n Eraser = 'Eraser',\n Error = 'Error',\n Ethereum = 'Ethereum',\n Exchange = 'Exchange',\n Expand = 'Expand',\n ExpandVertical = 'ExpandVertical',\n Explore = 'Explore',\n ExploreFilled = 'ExploreFilled',\n Export = 'Export',\n Extension = 'Extension',\n Eye = 'Eye',\n EyeSlash = 'EyeSlash',\n FaceId = 'FaceId',\n Feedback = 'Feedback',\n File = 'File',\n Filter = 'Filter',\n Fingerprint = 'Fingerprint',\n Fire = 'Fire',\n FirstPage = 'FirstPage',\n Flag = 'Flag',\n Flash = 'Flash',\n FlashSlash = 'FlashSlash',\n Flask = 'Flask',\n Flower = 'Flower',\n Folder = 'Folder',\n Forest = 'Forest',\n FullCircle = 'FullCircle',\n Gas = 'Gas',\n Gift = 'Gift',\n Global = 'Global',\n GlobalSearch = 'GlobalSearch',\n Graph = 'Graph',\n Hardware = 'Hardware',\n HashTag = 'HashTag',\n Heart = 'Heart',\n HeartFilled = 'HeartFilled',\n Hierarchy = 'Hierarchy',\n Home = 'Home',\n HomeFilled = 'HomeFilled',\n Image = 'Image',\n Info = 'Info',\n Inventory = 'Inventory',\n Joystick = 'Joystick',\n Keep = 'Keep',\n KeepFilled = 'KeepFilled',\n Key = 'Key',\n LastPage = 'LastPage',\n Light = 'Light',\n LightFilled = 'LightFilled',\n Link = 'Link',\n Loading = 'Loading',\n Location = 'Location',\n Lock = 'Lock',\n LockSlash = 'LockSlash',\n LockedFilled = 'LockedFilled',\n Login = 'Login',\n Logout = 'Logout',\n Mail = 'Mail',\n Map = 'Map',\n Menu = 'Menu',\n MessageQuestion = 'MessageQuestion',\n Messages = 'Messages',\n MetamaskFoxOutline = 'MetamaskFoxOutline',\n Mic = 'Mic',\n Minus = 'Minus',\n MinusBold = 'MinusBold',\n MinusSquare = 'MinusSquare',\n Mobile = 'Mobile',\n Money = 'Money',\n MoneyBag = 'MoneyBag',\n Monitor = 'Monitor',\n MoreHorizontal = 'MoreHorizontal',\n MoreVertical = 'MoreVertical',\n MountainFlag = 'MountainFlag',\n MusicNote = 'MusicNote',\n Notification = 'Notification',\n PageInfo = 'PageInfo',\n Palette = 'Palette',\n PasswordCheck = 'PasswordCheck',\n Pending = 'Pending',\n People = 'People',\n PersonCancel = 'PersonCancel',\n Pin = 'Pin',\n Plant = 'Plant',\n Plug = 'Plug',\n PlusAndMinus = 'PlusAndMinus',\n PolicyAlert = 'PolicyAlert',\n Print = 'Print',\n PriorityHigh = 'PriorityHigh',\n PrivacyTip = 'PrivacyTip',\n ProgrammingArrows = 'ProgrammingArrows',\n Publish = 'Publish',\n QrCode = 'QrCode',\n Question = 'Question',\n Receive = 'Receive',\n Received = 'Received',\n Refresh = 'Refresh',\n RemoveMinus = 'RemoveMinus',\n Report = 'Report',\n Rocket = 'Rocket',\n Save = 'Save',\n SaveFilled = 'SaveFilled',\n Saving = 'Saving',\n Scan = 'Scan',\n ScanBarcode = 'ScanBarcode',\n ScanFocus = 'ScanFocus',\n Search = 'Search',\n Security = 'Security',\n SecurityAlert = 'SecurityAlert',\n SecurityCross = 'SecurityCross',\n SecurityKey = 'SecurityKey',\n SecuritySearch = 'SecuritySearch',\n SecuritySlash = 'SecuritySlash',\n SecurityTick = 'SecurityTick',\n SecurityTime = 'SecurityTime',\n SecurityUser = 'SecurityUser',\n Send = 'Send',\n SentimentDissatisfied = 'SentimentDissatisfied',\n SentimentNeutral = 'SentimentNeutral',\n SentimentSatisfied = 'SentimentSatisfied',\n SentimentVerySatisfied = 'SentimentVerySatisfied',\n Setting = 'Setting',\n SettingFilled = 'SettingFilled',\n Share = 'Share',\n ShieldLock = 'ShieldLock',\n ShoppingBag = 'ShoppingBag',\n ShoppingCart = 'ShoppingCart',\n SignalCellular = 'SignalCellular',\n Slash = 'Slash',\n Sms = 'Sms',\n Snaps = 'Snaps',\n SnapsMobile = 'SnapsMobile',\n SnapsPlus = 'SnapsPlus',\n SnapsRound = 'SnapsRound',\n Sort = 'Sort',\n SortByAlpha = 'SortByAlpha',\n Sparkle = 'Sparkle',\n Speed = 'Speed',\n Speedometer = 'Speedometer',\n Square = 'Square',\n Stake = 'Stake',\n Star = 'Star',\n StarFilled = 'StarFilled',\n Start = 'Start',\n Storefront = 'Storefront',\n Student = 'Student',\n SwapHorizontal = 'SwapHorizontal',\n SwapVertical = 'SwapVertical',\n TabClose = 'TabClose',\n TableRow = 'TableRow',\n Tablet = 'Tablet',\n Tag = 'Tag',\n ThumbDown = 'ThumbDown',\n ThumbDownFilled = 'ThumbDownFilled',\n ThumbUp = 'ThumbUp',\n ThumbUpFilled = 'ThumbUpFilled',\n Tint = 'Tint',\n Tooltip = 'Tooltip',\n Translate = 'Translate',\n Trash = 'Trash',\n TrendDown = 'TrendDown',\n TrendUp = 'TrendUp',\n Undo = 'Undo',\n Unfold = 'Unfold',\n UnlockedFilled = 'UnlockedFilled',\n Unpin = 'Unpin',\n Upload = 'Upload',\n UploadFile = 'UploadFile',\n Usb = 'Usb',\n User = 'User',\n UserCheck = 'UserCheck',\n UserCircle = 'UserCircle',\n UserCircleAdd = 'UserCircleAdd',\n UserCircleRemove = 'UserCircleRemove',\n Verified = 'Verified',\n VerifiedFilled = 'VerifiedFilled',\n Videocam = 'Videocam',\n ViewColumn = 'ViewColumn',\n ViewInAr = 'ViewInAr',\n VolumeOff = 'VolumeOff',\n VolumeUp = 'VolumeUp',\n Wallet = 'Wallet',\n WalletFilled = 'WalletFilled',\n Warning = 'Warning',\n WebTraffic = 'WebTraffic',\n Widgets = 'Widgets',\n Wifi = 'Wifi',\n WifiOff = 'WifiOff',\n X = 'X',\n}\n/* eslint-enable @typescript-eslint/no-shadow */\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-preview.00974dd",
|
|
4
4
|
"description": "Design system react ui components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/design-system-react",
|
|
40
40
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/design-system-react",
|
|
41
41
|
"clean:icons": "rimraf src/components/Icon/icons",
|
|
42
|
-
"create-component": "
|
|
42
|
+
"create-component": "tsx scripts/create-component",
|
|
43
43
|
"generate-icons": "yarn clean:icons && svgr --config-file src/components/Icon/.svgrrc.js -d src/components/Icon/icons src/components/Icon/assets/*.svg && yarn generate-icons:index",
|
|
44
|
-
"generate-icons:index": "
|
|
44
|
+
"generate-icons:index": "tsx scripts/generate-icons-index.ts",
|
|
45
45
|
"publish:preview": "yarn npm publish --tag preview",
|
|
46
46
|
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
47
47
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
+
"@metamask-previews/design-system-shared": "0.1.1-preview.00974dd",
|
|
53
54
|
"@metamask/jazzicon": "^2.0.0",
|
|
54
55
|
"@radix-ui/react-slot": "^1.1.0",
|
|
55
56
|
"blo": "^2.0.0",
|
|
@@ -58,37 +59,33 @@
|
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@figma/code-connect": "^1.0.0",
|
|
60
61
|
"@jest/globals": "^29.7.0",
|
|
61
|
-
"@metamask-previews/design-system-tailwind-preset": "0.6.1-preview.
|
|
62
|
-
"@metamask/auto-changelog": "^5.0
|
|
63
|
-
"@metamask/utils": "^11.
|
|
64
|
-
"@solana/addresses": "^2.0.0",
|
|
62
|
+
"@metamask-previews/design-system-tailwind-preset": "0.6.1-preview.00974dd",
|
|
63
|
+
"@metamask/auto-changelog": "^5.1.0",
|
|
64
|
+
"@metamask/utils": "^11.8.1",
|
|
65
65
|
"@storybook/react": "^9.0.17",
|
|
66
66
|
"@svgr/cli": "^8.1.0",
|
|
67
67
|
"@testing-library/jest-dom": "^6.6.3",
|
|
68
68
|
"@testing-library/react": "^16.0.1",
|
|
69
|
+
"@testing-library/user-event": "^14.6.1",
|
|
69
70
|
"@ts-bridge/cli": "^0.6.3",
|
|
70
71
|
"@types/jest": "^27.4.1",
|
|
71
72
|
"@types/node": "^16.18.54",
|
|
72
73
|
"@types/react": "^18.2.0",
|
|
73
74
|
"@types/react-dom": "^18.2.0",
|
|
74
|
-
"bitcoin-address-validation": ">=2.0.0",
|
|
75
75
|
"deepmerge": "^4.2.2",
|
|
76
76
|
"jest": "^29.7.0",
|
|
77
77
|
"jest-environment-jsdom": "^29.7.0",
|
|
78
78
|
"rimraf": "^5.0.5",
|
|
79
79
|
"ts-jest": "^29.2.5",
|
|
80
|
-
"
|
|
80
|
+
"tsx": "^4.20.6",
|
|
81
81
|
"typescript": "~5.2.2"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"@metamask/design-system-tailwind-preset": "^0.6.0",
|
|
85
85
|
"@metamask/design-tokens": "^8.1.0",
|
|
86
|
-
"@metamask/utils": "^11.
|
|
87
|
-
"@solana/addresses": "^2.0.0",
|
|
88
|
-
"bitcoin-address-validation": ">=2.0.0",
|
|
86
|
+
"@metamask/utils": "^11.8.1",
|
|
89
87
|
"react": "^17.0.0 || ^18.0.0",
|
|
90
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
91
|
-
"tailwindcss": "^3.0.0"
|
|
88
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
92
89
|
},
|
|
93
90
|
"engines": {
|
|
94
91
|
"node": "^18.18 || >=20"
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCaipNamespaceFromAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = void 0;
|
|
4
|
-
const utils_1 = require("@metamask/utils");
|
|
5
|
-
const addresses_1 = require("@solana/addresses");
|
|
6
|
-
/**
|
|
7
|
-
* Generates a numeric seed for Ethereum (eip155) addresses.
|
|
8
|
-
*
|
|
9
|
-
* @param address - The Ethereum address to generate a seed from
|
|
10
|
-
* @returns A numeric seed for jazzicon generation
|
|
11
|
-
*/
|
|
12
|
-
function generateSeedEthereum(address) {
|
|
13
|
-
// Example: parse the first 8 chars of the address after '0x'
|
|
14
|
-
const addr = address.slice(2, 10);
|
|
15
|
-
return parseInt(addr, 16);
|
|
16
|
-
}
|
|
17
|
-
exports.generateSeedEthereum = generateSeedEthereum;
|
|
18
|
-
/**
|
|
19
|
-
* Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).
|
|
20
|
-
*
|
|
21
|
-
* @param address - The address to generate a byte array seed from
|
|
22
|
-
* @returns An array of numbers representing the bytes of the address
|
|
23
|
-
*/
|
|
24
|
-
function generateSeedNonEthereum(address) {
|
|
25
|
-
return Array.from((0, utils_1.stringToBytes)(address.normalize('NFKC').toLowerCase()));
|
|
26
|
-
}
|
|
27
|
-
exports.generateSeedNonEthereum = generateSeedNonEthereum;
|
|
28
|
-
/**
|
|
29
|
-
* Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.
|
|
30
|
-
* Returns a Promise that resolves to one of the known CAIP-2 namespaces.
|
|
31
|
-
*
|
|
32
|
-
* @param address - The address to determine the CAIP namespace for
|
|
33
|
-
* @returns A Promise that resolves to a KnownCaipNamespace
|
|
34
|
-
*/
|
|
35
|
-
async function getCaipNamespaceFromAddress(address) {
|
|
36
|
-
// Check for CAIP-10 formatted addresses
|
|
37
|
-
if (address.includes(':')) {
|
|
38
|
-
const [namespace] = address.split(':');
|
|
39
|
-
if (namespace.toLowerCase() === 'bip122') {
|
|
40
|
-
return utils_1.KnownCaipNamespace.Bip122;
|
|
41
|
-
}
|
|
42
|
-
if (namespace.toLowerCase() === 'solana') {
|
|
43
|
-
return utils_1.KnownCaipNamespace.Solana;
|
|
44
|
-
}
|
|
45
|
-
if (namespace.toLowerCase() === 'eip155') {
|
|
46
|
-
return utils_1.KnownCaipNamespace.Eip155;
|
|
47
|
-
}
|
|
48
|
-
// Add other namespaces as needed.
|
|
49
|
-
}
|
|
50
|
-
try {
|
|
51
|
-
const { validate, Network } = await import("bitcoin-address-validation");
|
|
52
|
-
if (validate(address, Network.mainnet) ||
|
|
53
|
-
validate(address, Network.testnet)) {
|
|
54
|
-
return utils_1.KnownCaipNamespace.Bip122;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
catch {
|
|
58
|
-
// If the import fails or 'validate' is not available, fall through
|
|
59
|
-
}
|
|
60
|
-
if ((0, addresses_1.isAddress)(address)) {
|
|
61
|
-
return utils_1.KnownCaipNamespace.Solana;
|
|
62
|
-
}
|
|
63
|
-
// Default to Ethereum
|
|
64
|
-
return utils_1.KnownCaipNamespace.Eip155;
|
|
65
|
-
}
|
|
66
|
-
exports.getCaipNamespaceFromAddress = getCaipNamespaceFromAddress;
|
|
67
|
-
//# sourceMappingURL=Jazzicon.utilities.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Jazzicon.utilities.cjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.utilities.ts"],"names":[],"mappings":";;;AAAA,2CAAoE;AACpE,iDAAiE;AAEjE;;;;;GAKG;AACH,SAAgB,oBAAoB,CAAC,OAAe;IAClD,6DAA6D;IAC7D,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClC,OAAO,QAAQ,C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,kEAoCC","sourcesContent":["import { stringToBytes, KnownCaipNamespace } from '@metamask/utils';\nimport { isAddress as isSolanaAddress } from '@solana/addresses';\n\n/**\n * Generates a numeric seed for Ethereum (eip155) addresses.\n *\n * @param address - The Ethereum address to generate a seed from\n * @returns A numeric seed for jazzicon generation\n */\nexport function generateSeedEthereum(address: string): number {\n // Example: parse the first 8 chars of the address after '0x'\n const addr = address.slice(2, 10);\n return parseInt(addr, 16);\n}\n\n/**\n * Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).\n *\n * @param address - The address to generate a byte array seed from\n * @returns An array of numbers representing the bytes of the address\n */\nexport function generateSeedNonEthereum(address: string): number[] {\n return Array.from(stringToBytes(address.normalize('NFKC').toLowerCase()));\n}\n\n/**\n * Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.\n * Returns a Promise that resolves to one of the known CAIP-2 namespaces.\n *\n * @param address - The address to determine the CAIP namespace for\n * @returns A Promise that resolves to a KnownCaipNamespace\n */\nexport async function getCaipNamespaceFromAddress(\n address: string,\n): Promise<KnownCaipNamespace> {\n // Check for CAIP-10 formatted addresses\n if (address.includes(':')) {\n const [namespace] = address.split(':');\n if (namespace.toLowerCase() === 'bip122') {\n return KnownCaipNamespace.Bip122;\n }\n if (namespace.toLowerCase() === 'solana') {\n return KnownCaipNamespace.Solana;\n }\n if (namespace.toLowerCase() === 'eip155') {\n return KnownCaipNamespace.Eip155;\n }\n // Add other namespaces as needed.\n }\n\n try {\n const { validate, Network } = await import('bitcoin-address-validation');\n if (\n validate(address, Network.mainnet) ||\n validate(address, Network.testnet)\n ) {\n return KnownCaipNamespace.Bip122;\n }\n } catch {\n // If the import fails or 'validate' is not available, fall through\n }\n\n if (isSolanaAddress(address)) {\n return KnownCaipNamespace.Solana;\n }\n\n // Default to Ethereum\n return KnownCaipNamespace.Eip155;\n}\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { KnownCaipNamespace } from "@metamask/utils";
|
|
2
|
-
/**
|
|
3
|
-
* Generates a numeric seed for Ethereum (eip155) addresses.
|
|
4
|
-
*
|
|
5
|
-
* @param address - The Ethereum address to generate a seed from
|
|
6
|
-
* @returns A numeric seed for jazzicon generation
|
|
7
|
-
*/
|
|
8
|
-
export declare function generateSeedEthereum(address: string): number;
|
|
9
|
-
/**
|
|
10
|
-
* Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).
|
|
11
|
-
*
|
|
12
|
-
* @param address - The address to generate a byte array seed from
|
|
13
|
-
* @returns An array of numbers representing the bytes of the address
|
|
14
|
-
*/
|
|
15
|
-
export declare function generateSeedNonEthereum(address: string): number[];
|
|
16
|
-
/**
|
|
17
|
-
* Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.
|
|
18
|
-
* Returns a Promise that resolves to one of the known CAIP-2 namespaces.
|
|
19
|
-
*
|
|
20
|
-
* @param address - The address to determine the CAIP namespace for
|
|
21
|
-
* @returns A Promise that resolves to a KnownCaipNamespace
|
|
22
|
-
*/
|
|
23
|
-
export declare function getCaipNamespaceFromAddress(address: string): Promise<KnownCaipNamespace>;
|
|
24
|
-
//# sourceMappingURL=Jazzicon.utilities.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Jazzicon.utilities.d.cts","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,kBAAkB,EAAE,wBAAwB;AAGpE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI5D;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAEjE;AAED;;;;;;GAMG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,kBAAkB,CAAC,CAkC7B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { KnownCaipNamespace } from "@metamask/utils";
|
|
2
|
-
/**
|
|
3
|
-
* Generates a numeric seed for Ethereum (eip155) addresses.
|
|
4
|
-
*
|
|
5
|
-
* @param address - The Ethereum address to generate a seed from
|
|
6
|
-
* @returns A numeric seed for jazzicon generation
|
|
7
|
-
*/
|
|
8
|
-
export declare function generateSeedEthereum(address: string): number;
|
|
9
|
-
/**
|
|
10
|
-
* Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).
|
|
11
|
-
*
|
|
12
|
-
* @param address - The address to generate a byte array seed from
|
|
13
|
-
* @returns An array of numbers representing the bytes of the address
|
|
14
|
-
*/
|
|
15
|
-
export declare function generateSeedNonEthereum(address: string): number[];
|
|
16
|
-
/**
|
|
17
|
-
* Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.
|
|
18
|
-
* Returns a Promise that resolves to one of the known CAIP-2 namespaces.
|
|
19
|
-
*
|
|
20
|
-
* @param address - The address to determine the CAIP namespace for
|
|
21
|
-
* @returns A Promise that resolves to a KnownCaipNamespace
|
|
22
|
-
*/
|
|
23
|
-
export declare function getCaipNamespaceFromAddress(address: string): Promise<KnownCaipNamespace>;
|
|
24
|
-
//# sourceMappingURL=Jazzicon.utilities.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Jazzicon.utilities.d.mts","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,kBAAkB,EAAE,wBAAwB;AAGpE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI5D;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAEjE;AAED;;;;;;GAMG;AACH,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,kBAAkB,CAAC,CAkC7B"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { stringToBytes, KnownCaipNamespace } from "@metamask/utils";
|
|
2
|
-
import { isAddress as isSolanaAddress } from "@solana/addresses";
|
|
3
|
-
/**
|
|
4
|
-
* Generates a numeric seed for Ethereum (eip155) addresses.
|
|
5
|
-
*
|
|
6
|
-
* @param address - The Ethereum address to generate a seed from
|
|
7
|
-
* @returns A numeric seed for jazzicon generation
|
|
8
|
-
*/
|
|
9
|
-
export function generateSeedEthereum(address) {
|
|
10
|
-
// Example: parse the first 8 chars of the address after '0x'
|
|
11
|
-
const addr = address.slice(2, 10);
|
|
12
|
-
return parseInt(addr, 16);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).
|
|
16
|
-
*
|
|
17
|
-
* @param address - The address to generate a byte array seed from
|
|
18
|
-
* @returns An array of numbers representing the bytes of the address
|
|
19
|
-
*/
|
|
20
|
-
export function generateSeedNonEthereum(address) {
|
|
21
|
-
return Array.from(stringToBytes(address.normalize('NFKC').toLowerCase()));
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.
|
|
25
|
-
* Returns a Promise that resolves to one of the known CAIP-2 namespaces.
|
|
26
|
-
*
|
|
27
|
-
* @param address - The address to determine the CAIP namespace for
|
|
28
|
-
* @returns A Promise that resolves to a KnownCaipNamespace
|
|
29
|
-
*/
|
|
30
|
-
export async function getCaipNamespaceFromAddress(address) {
|
|
31
|
-
// Check for CAIP-10 formatted addresses
|
|
32
|
-
if (address.includes(':')) {
|
|
33
|
-
const [namespace] = address.split(':');
|
|
34
|
-
if (namespace.toLowerCase() === 'bip122') {
|
|
35
|
-
return KnownCaipNamespace.Bip122;
|
|
36
|
-
}
|
|
37
|
-
if (namespace.toLowerCase() === 'solana') {
|
|
38
|
-
return KnownCaipNamespace.Solana;
|
|
39
|
-
}
|
|
40
|
-
if (namespace.toLowerCase() === 'eip155') {
|
|
41
|
-
return KnownCaipNamespace.Eip155;
|
|
42
|
-
}
|
|
43
|
-
// Add other namespaces as needed.
|
|
44
|
-
}
|
|
45
|
-
try {
|
|
46
|
-
const { validate, Network } = await import("bitcoin-address-validation");
|
|
47
|
-
if (validate(address, Network.mainnet) ||
|
|
48
|
-
validate(address, Network.testnet)) {
|
|
49
|
-
return KnownCaipNamespace.Bip122;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
catch {
|
|
53
|
-
// If the import fails or 'validate' is not available, fall through
|
|
54
|
-
}
|
|
55
|
-
if (isSolanaAddress(address)) {
|
|
56
|
-
return KnownCaipNamespace.Solana;
|
|
57
|
-
}
|
|
58
|
-
// Default to Ethereum
|
|
59
|
-
return KnownCaipNamespace.Eip155;
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=Jazzicon.utilities.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Jazzicon.utilities.mjs","sourceRoot":"","sources":["../../../../src/components/temp-components/Jazzicon/Jazzicon.utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,wBAAwB;AACpE,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,0BAA0B;AAEjE;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAClD,6DAA6D;IAC7D,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAClC,OAAO,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AAC5B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,OAAe;IACrD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,OAAe;IAEf,wCAAwC;IACxC,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACzB,MAAM,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;YACxC,OAAO,kBAAkB,CAAC,MAAM,CAAC;SAClC;QACD,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;YACxC,OAAO,kBAAkB,CAAC,MAAM,CAAC;SAClC;QACD,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;YACxC,OAAO,kBAAkB,CAAC,MAAM,CAAC;SAClC;QACD,kCAAkC;KACnC;IAED,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,MAAM,8BAA8B,CAAC;QACzE,IACE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;YAClC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,EAClC;YACA,OAAO,kBAAkB,CAAC,MAAM,CAAC;SAClC;KACF;IAAC,MAAM;QACN,mEAAmE;KACpE;IAED,IAAI,eAAe,CAAC,OAAO,CAAC,EAAE;QAC5B,OAAO,kBAAkB,CAAC,MAAM,CAAC;KAClC;IAED,sBAAsB;IACtB,OAAO,kBAAkB,CAAC,MAAM,CAAC;AACnC,CAAC","sourcesContent":["import { stringToBytes, KnownCaipNamespace } from '@metamask/utils';\nimport { isAddress as isSolanaAddress } from '@solana/addresses';\n\n/**\n * Generates a numeric seed for Ethereum (eip155) addresses.\n *\n * @param address - The Ethereum address to generate a seed from\n * @returns A numeric seed for jazzicon generation\n */\nexport function generateSeedEthereum(address: string): number {\n // Example: parse the first 8 chars of the address after '0x'\n const addr = address.slice(2, 10);\n return parseInt(addr, 16);\n}\n\n/**\n * Generates a byte-array seed for non-Ethereum addresses (Solana, Bitcoin, etc.).\n *\n * @param address - The address to generate a byte array seed from\n * @returns An array of numbers representing the bytes of the address\n */\nexport function generateSeedNonEthereum(address: string): number[] {\n return Array.from(stringToBytes(address.normalize('NFKC').toLowerCase()));\n}\n\n/**\n * Dynamically checks if the address is Bitcoin or Solana; otherwise default to Ethereum.\n * Returns a Promise that resolves to one of the known CAIP-2 namespaces.\n *\n * @param address - The address to determine the CAIP namespace for\n * @returns A Promise that resolves to a KnownCaipNamespace\n */\nexport async function getCaipNamespaceFromAddress(\n address: string,\n): Promise<KnownCaipNamespace> {\n // Check for CAIP-10 formatted addresses\n if (address.includes(':')) {\n const [namespace] = address.split(':');\n if (namespace.toLowerCase() === 'bip122') {\n return KnownCaipNamespace.Bip122;\n }\n if (namespace.toLowerCase() === 'solana') {\n return KnownCaipNamespace.Solana;\n }\n if (namespace.toLowerCase() === 'eip155') {\n return KnownCaipNamespace.Eip155;\n }\n // Add other namespaces as needed.\n }\n\n try {\n const { validate, Network } = await import('bitcoin-address-validation');\n if (\n validate(address, Network.mainnet) ||\n validate(address, Network.testnet)\n ) {\n return KnownCaipNamespace.Bip122;\n }\n } catch {\n // If the import fails or 'validate' is not available, fall through\n }\n\n if (isSolanaAddress(address)) {\n return KnownCaipNamespace.Solana;\n }\n\n // Default to Ethereum\n return KnownCaipNamespace.Eip155;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"make-props-optional.cjs","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"","sourcesContent":["export type MakePropsOptional<Props> = {\n [K in keyof Props]?: Props[K];\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"make-props-optional.d.cts","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI;KACpC,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"make-props-optional.d.mts","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI;KACpC,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"make-props-optional.mjs","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"","sourcesContent":["export type MakePropsOptional<Props> = {\n [K in keyof Props]?: Props[K];\n};\n"]}
|