@metamask/design-system-react-native 0.23.0 → 0.24.0
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 +19 -1
- package/dist/components/Icon/Icon.assets.cjs +12 -0
- package/dist/components/Icon/Icon.assets.cjs.map +1 -1
- package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
- package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
- package/dist/components/Icon/Icon.assets.mjs +12 -0
- package/dist/components/Icon/Icon.assets.mjs.map +1 -1
- package/dist/components/Icon/assets/candlestick.svg +1 -1
- package/dist/components/Icon/assets/group.svg +1 -0
- package/dist/components/Icon/assets/list-arrow.svg +1 -0
- package/dist/components/Icon/assets/musd-filled.svg +1 -0
- package/dist/components/Icon/assets/musd.svg +1 -0
- package/dist/components/Icon/assets/pie-chart.svg +1 -0
- package/dist/components/Icon/assets/predictions.svg +1 -0
- package/dist/components/Toast/Toast.cjs +43 -52
- package/dist/components/Toast/Toast.cjs.map +1 -1
- package/dist/components/Toast/Toast.constants.cjs +8 -1
- package/dist/components/Toast/Toast.constants.cjs.map +1 -1
- package/dist/components/Toast/Toast.constants.d.cts +5 -0
- package/dist/components/Toast/Toast.constants.d.cts.map +1 -1
- package/dist/components/Toast/Toast.constants.d.mts +5 -0
- package/dist/components/Toast/Toast.constants.d.mts.map +1 -1
- package/dist/components/Toast/Toast.constants.mjs +7 -0
- package/dist/components/Toast/Toast.constants.mjs.map +1 -1
- package/dist/components/Toast/Toast.d.cts +2 -17
- package/dist/components/Toast/Toast.d.cts.map +1 -1
- package/dist/components/Toast/Toast.d.mts +2 -17
- package/dist/components/Toast/Toast.d.mts.map +1 -1
- package/dist/components/Toast/Toast.mjs +40 -30
- package/dist/components/Toast/Toast.mjs.map +1 -1
- package/dist/components/Toast/Toast.types.cjs +9 -14
- package/dist/components/Toast/Toast.types.cjs.map +1 -1
- package/dist/components/Toast/Toast.types.d.cts +29 -91
- package/dist/components/Toast/Toast.types.d.cts.map +1 -1
- package/dist/components/Toast/Toast.types.d.mts +29 -91
- package/dist/components/Toast/Toast.types.d.mts.map +1 -1
- package/dist/components/Toast/Toast.types.mjs +8 -13
- package/dist/components/Toast/Toast.types.mjs.map +1 -1
- package/dist/components/Toast/Toaster.cjs +142 -0
- package/dist/components/Toast/Toaster.cjs.map +1 -0
- package/dist/components/Toast/Toaster.d.cts +11 -0
- package/dist/components/Toast/Toaster.d.cts.map +1 -0
- package/dist/components/Toast/Toaster.d.mts +11 -0
- package/dist/components/Toast/Toaster.d.mts.map +1 -0
- package/dist/components/Toast/Toaster.mjs +123 -0
- package/dist/components/Toast/Toaster.mjs.map +1 -0
- package/dist/components/Toast/index.cjs +5 -3
- package/dist/components/Toast/index.cjs.map +1 -1
- package/dist/components/Toast/index.d.cts +3 -2
- package/dist/components/Toast/index.d.cts.map +1 -1
- package/dist/components/Toast/index.d.mts +3 -2
- package/dist/components/Toast/index.d.mts.map +1 -1
- package/dist/components/Toast/index.mjs +2 -1
- package/dist/components/Toast/index.mjs.map +1 -1
- package/dist/components/index.cjs +4 -3
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/components/Toast/ToastView.cjs +0 -174
- package/dist/components/Toast/ToastView.cjs.map +0 -1
- package/dist/components/Toast/ToastView.d.cts +0 -7
- package/dist/components/Toast/ToastView.d.cts.map +0 -1
- package/dist/components/Toast/ToastView.d.mts +0 -7
- package/dist/components/Toast/ToastView.d.mts.map +0 -1
- package/dist/components/Toast/ToastView.mjs +0 -155
- package/dist/components/Toast/ToastView.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAkB;AAC3C,OAAO,EAAE,aAAa,EAAE,0BAAsB;AAC9C,YAAY,EACV,YAAY,EACZ,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,GACX,0BAAsB;AACvB,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,GACrB,8BAA0B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Toast } from "./Toast.mjs";
|
|
2
|
-
export {
|
|
2
|
+
export { Toaster, toast } from "./Toaster.mjs";
|
|
3
|
+
export { ToastSeverity } from "./Toast.types.mjs";
|
|
3
4
|
export { TOAST_VISIBILITY_DURATION, TOAST_ANIMATION_DURATION, TOAST_BOTTOM_PADDING } from "./Toast.constants.mjs";
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAgB;AAChC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAkB;AAC3C,OAAO,EAAE,aAAa,EAAE,0BAAsB;AAQ9C,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACrB,8BAA0B","sourcesContent":["export { Toast } from './Toast';\nexport { Toaster, toast } from './Toaster';\nexport { ToastSeverity } from './Toast.types';\nexport type {\n ToastOptions,\n ToastProps,\n ToastIconProps,\n ToasterProps,\n ToasterRef,\n} from './Toast.types';\nexport {\n TOAST_VISIBILITY_DURATION,\n TOAST_ANIMATION_DURATION,\n TOAST_BOTTOM_PADDING,\n} from './Toast.constants';\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonBase = exports.ButtonAnimated = exports.Card = exports.BoxColumn = exports.BoxRow = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.Box = exports.Blockies = exports.BottomSheetOverlay = exports.BottomSheetHeaderVariant = exports.BottomSheetHeader = exports.ButtonsAlignment = exports.BottomSheetFooter = exports.BottomSheetDialog = exports.BottomSheet = exports.BannerBase = exports.BadgeWrapperPositionAnchorShape = exports.BadgeWrapperPosition = exports.BadgeWrapper = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeStatus = exports.BadgeNetwork = exports.BadgeIcon = exports.BadgeCountSize = exports.BadgeCount = exports.AvatarTokenSize = exports.AvatarToken = exports.AvatarNetworkSize = exports.AvatarNetwork = exports.AvatarIconSize = exports.AvatarIconSeverity = exports.AvatarIcon = exports.AvatarGroupVariant = exports.AvatarGroupSize = exports.AvatarGroup = exports.AvatarFaviconSize = exports.AvatarFavicon = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.AvatarBase = exports.AvatarAccountSize = exports.AvatarAccountVariant = exports.AvatarAccount = exports.ActionListItem = void 0;
|
|
4
4
|
exports.TitleSubpage = exports.TitleStandard = exports.TitleHub = exports.TextOrChildren = exports.TextFieldSearch = exports.TextField = exports.TextVariant = exports.TextColor = exports.FontStyle = exports.FontFamily = exports.FontWeight = exports.Text = exports.TextButton = exports.TabEmptyState = exports.SensitiveTextLength = exports.SensitiveText = exports.Skeleton = exports.MainActionButton = exports.Maskicon = exports.Jazzicon = exports.RadioButton = exports.ListItemVerticalAlignment = exports.ListItem = exports.Label = exports.KeyValueRowVariant = exports.KeyValueRow = exports.KeyValueColumn = exports.Input = exports.IconAlertSeverity = exports.IconAlert = exports.IconSize = exports.IconName = exports.IconColor = exports.Icon = exports.HeaderStandard = exports.HeaderSearchVariant = exports.HeaderSearch = exports.HeaderRoot = exports.HeaderBaseVariant = exports.HeaderBase = exports.Checkbox = exports.ButtonSemanticSeverity = exports.ButtonSemantic = exports.ButtonIconVariant = exports.ButtonIconSize = exports.ButtonIcon = exports.ButtonVariant = exports.ButtonSize = exports.Button = exports.ButtonBaseSize = void 0;
|
|
5
|
-
exports.TagSeverity = exports.Tag = exports.BannerAlertSeverity = exports.BannerAlert = exports.Spinner = exports.ImageOrSvg = exports.ButtonFilter = exports.ButtonHeroSize = exports.ButtonHero = exports.
|
|
5
|
+
exports.TagSeverity = exports.Tag = exports.BannerAlertSeverity = exports.BannerAlert = exports.Spinner = exports.ImageOrSvg = exports.ButtonFilter = exports.ButtonHeroSize = exports.ButtonHero = exports.ToastSeverity = exports.toast = exports.Toaster = exports.Toast = void 0;
|
|
6
6
|
var ActionListItem_1 = require("./ActionListItem/index.cjs");
|
|
7
7
|
Object.defineProperty(exports, "ActionListItem", { enumerable: true, get: function () { return ActionListItem_1.ActionListItem; } });
|
|
8
8
|
var AvatarAccount_1 = require("./AvatarAccount/index.cjs");
|
|
@@ -161,8 +161,9 @@ var TitleSubpage_1 = require("./TitleSubpage/index.cjs");
|
|
|
161
161
|
Object.defineProperty(exports, "TitleSubpage", { enumerable: true, get: function () { return TitleSubpage_1.TitleSubpage; } });
|
|
162
162
|
var Toast_1 = require("./Toast/index.cjs");
|
|
163
163
|
Object.defineProperty(exports, "Toast", { enumerable: true, get: function () { return Toast_1.Toast; } });
|
|
164
|
-
Object.defineProperty(exports, "
|
|
165
|
-
Object.defineProperty(exports, "
|
|
164
|
+
Object.defineProperty(exports, "Toaster", { enumerable: true, get: function () { return Toast_1.Toaster; } });
|
|
165
|
+
Object.defineProperty(exports, "toast", { enumerable: true, get: function () { return Toast_1.toast; } });
|
|
166
|
+
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return Toast_1.ToastSeverity; } });
|
|
166
167
|
var ButtonHero_1 = require("./ButtonHero/index.cjs");
|
|
167
168
|
Object.defineProperty(exports, "ButtonHero", { enumerable: true, get: function () { return ButtonHero_1.ButtonHero; } });
|
|
168
169
|
Object.defineProperty(exports, "ButtonHeroSize", { enumerable: true, get: function () { return ButtonHero_1.ButtonHeroSize; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;AAAA,6DAAkD;AAAzC,gHAAA,cAAc,OAAA;AAGvB,2DAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB,OAAA;AACpB,kHAAA,iBAAiB,OAAA;AAInB,qDAA2E;AAAlE,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,6GAAA,eAAe,OAAA;AAGpD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAIuB;AAHrB,0GAAA,WAAW,OAAA;AACX,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,qDAA8E;AAArE,wGAAA,UAAU,OAAA;AAAE,gHAAA,kBAAkB,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGvD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAA6D;AAApD,0GAAA,WAAW,OAAA;AAAE,8GAAA,eAAe,OAAA;AAGrC,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,mDAAwC;AAA/B,sGAAA,SAAS,OAAA;AAGlB,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,uDAAgF;AAAvE,0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AIb,mDAAwC;AAA/B,sGAAA,SAAS,OAAA;AAGlB,+DAAoD;AAA3C,kHAAA,eAAe,OAAA;AAGxB,6EAAkE;AAAzD,gHAAA,cAAc,OAAA;AAGvB,iDAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAGjB,2DAAgD;AAAvC,8GAAA,aAAa,OAAA;AAGtB,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,2CAAuE;AAA9D,8FAAA,KAAK,OAAA;AAAE,qGAAA,YAAY,OAAA;AAAE,gHAAA,uBAAuB,OAAA;AAWrD,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,qEAA0D;AAAjD,wGAAA,UAAU,OAAA;AAMnB,+DAAoD;AAA3C,kGAAA,OAAO,OAAA;AAGhB,uDAAiE;AAAxD,0GAAA,WAAW,OAAA;AAAE,kHAAA,mBAAmB,OAAA;AAGzC,uCAAyC;AAAhC,0FAAA,GAAG,OAAA;AAAE,kGAAA,WAAW,OAAA","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport {\n BottomSheetHeader,\n BottomSheetHeaderVariant,\n} from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase, HeaderBaseVariant } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem, ListItemVerticalAlignment } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, ToastVariant, ToastCloseButtonVariant } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastRef,\n ToastLabelOptions,\n ToastDescriptionOptions,\n ToastLinkButtonOptions,\n ToastCloseButtonOptions,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagProps } from './Tag';\n"]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;AAAA,6DAAkD;AAAzC,gHAAA,cAAc,OAAA;AAGvB,2DAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB,OAAA;AACpB,kHAAA,iBAAiB,OAAA;AAInB,qDAA2E;AAAlE,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAAE,6GAAA,eAAe,OAAA;AAGpD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAIuB;AAHrB,0GAAA,WAAW,OAAA;AACX,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,qDAA8E;AAArE,wGAAA,UAAU,OAAA;AAAE,gHAAA,kBAAkB,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGvD,2DAAmE;AAA1D,8GAAA,aAAa,OAAA;AAAE,kHAAA,iBAAiB,OAAA;AAGzC,uDAA6D;AAApD,0GAAA,WAAW,OAAA;AAAE,8GAAA,eAAe,OAAA;AAGrC,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,mDAAwC;AAA/B,sGAAA,SAAS,OAAA;AAGlB,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,uDAAgF;AAAvE,0GAAA,WAAW,OAAA;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B,sGAAA,SAAS,OAAA;AAGlB,+DAAoD;AAA3C,kHAAA,eAAe,OAAA;AAGxB,6EAAkE;AAAzD,gHAAA,cAAc,OAAA;AAGvB,iDAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAGjB,2DAAgD;AAAvC,8GAAA,aAAa,OAAA;AAGtB,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,2CAA+D;AAAtD,8FAAA,KAAK,OAAA;AAAE,gGAAA,OAAO,OAAA;AAAE,8FAAA,KAAK,OAAA;AAAE,sGAAA,aAAa,OAAA;AAS7C,qDAA0D;AAAjD,wGAAA,UAAU,OAAA;AAAE,4GAAA,cAAc,OAAA;AAGnC,yDAA8C;AAArC,4GAAA,YAAY,OAAA;AAGrB,qEAA0D;AAAjD,wGAAA,UAAU,OAAA;AAMnB,+DAAoD;AAA3C,kGAAA,OAAO,OAAA;AAGhB,uDAAiE;AAAxD,0GAAA,WAAW,OAAA;AAAE,kHAAA,mBAAmB,OAAA;AAGzC,uCAAyC;AAAhC,0FAAA,GAAG,OAAA;AAAE,kGAAA,WAAW,OAAA","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport {\n BottomSheetHeader,\n BottomSheetHeaderVariant,\n} from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase, HeaderBaseVariant } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem, ListItemVerticalAlignment } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, Toaster, toast, ToastSeverity } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastIconProps,\n ToasterProps,\n ToasterRef,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagProps } from './Tag';\n"]}
|
|
@@ -110,8 +110,8 @@ export { TitleStandard } from "./TitleStandard/index.cjs";
|
|
|
110
110
|
export type { TitleStandardProps } from "./TitleStandard/index.cjs";
|
|
111
111
|
export { TitleSubpage } from "./TitleSubpage/index.cjs";
|
|
112
112
|
export type { TitleSubpageProps } from "./TitleSubpage/index.cjs";
|
|
113
|
-
export { Toast,
|
|
114
|
-
export type { ToastOptions, ToastProps,
|
|
113
|
+
export { Toast, Toaster, toast, ToastSeverity } from "./Toast/index.cjs";
|
|
114
|
+
export type { ToastOptions, ToastProps, ToastIconProps, ToasterProps, ToasterRef, } from "./Toast/index.cjs";
|
|
115
115
|
export { ButtonHero, ButtonHeroSize } from "./ButtonHero/index.cjs";
|
|
116
116
|
export type { ButtonHeroProps } from "./ButtonHero/index.cjs";
|
|
117
117
|
export { ButtonFilter } from "./ButtonFilter/index.cjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAClD,YAAY,EAAE,mBAAmB,EAAE,mCAAyB;AAE5D,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,kCAAwB;AACzB,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAC3E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EA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mB,EAAE,mDAAyC;AAE5E,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AACtC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,6BAAmB;AAErE,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAC9C,YAAY,EAAE,iBAAiB,EAAE,iCAAuB;AAExD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,0BAAgB;AAC/D,YAAY,EACV,YAAY,EACZ,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,GACX,0BAAgB;AAEjB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAC1D,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAC9C,YAAY,EAAE,iBAAiB,EAAE,iCAAuB;AAExD,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAC1D,YAAY,EACV,eAAe,EACf,aAAa,GACd,+CAAqC;AAEtC,OAAO,EAAE,OAAO,EAAE,4CAAkC;AACpD,YAAY,EAAE,YAAY,EAAE,4CAAkC;AAE9D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AACjE,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc;AACzC,YAAY,EAAE,QAAQ,EAAE,wBAAc"}
|
|
@@ -110,8 +110,8 @@ export { TitleStandard } from "./TitleStandard/index.mjs";
|
|
|
110
110
|
export type { TitleStandardProps } from "./TitleStandard/index.mjs";
|
|
111
111
|
export { TitleSubpage } from "./TitleSubpage/index.mjs";
|
|
112
112
|
export type { TitleSubpageProps } from "./TitleSubpage/index.mjs";
|
|
113
|
-
export { Toast,
|
|
114
|
-
export type { ToastOptions, ToastProps,
|
|
113
|
+
export { Toast, Toaster, toast, ToastSeverity } from "./Toast/index.mjs";
|
|
114
|
+
export type { ToastOptions, ToastProps, ToastIconProps, ToasterProps, ToasterRef, } from "./Toast/index.mjs";
|
|
115
115
|
export { ButtonHero, ButtonHeroSize } from "./ButtonHero/index.mjs";
|
|
116
116
|
export type { ButtonHeroProps } from "./ButtonHero/index.mjs";
|
|
117
117
|
export { ButtonFilter } from "./ButtonFilter/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAClD,YAAY,EAAE,mBAAmB,EAAE,mCAAyB;AAE5D,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,kCAAwB;AACzB,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAC3E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AACnE,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,GACnB,gCAAsB;AACvB,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAC9E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AACnE,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,gCAAsB;AAC7D,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAC1D,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAE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Y,EAAE,iBAAiB,EAAE,iCAAuB;AAExD,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAC1D,YAAY,EACV,eAAe,EACf,aAAa,GACd,+CAAqC;AAEtC,OAAO,EAAE,OAAO,EAAE,4CAAkC;AACpD,YAAY,EAAE,YAAY,EAAE,4CAAkC;AAE9D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AACjE,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc;AACzC,YAAY,EAAE,QAAQ,EAAE,wBAAc"}
|
|
@@ -54,7 +54,7 @@ export { TextOrChildren } from "./temp-components/TextOrChildren/index.mjs";
|
|
|
54
54
|
export { TitleHub } from "./TitleHub/index.mjs";
|
|
55
55
|
export { TitleStandard } from "./TitleStandard/index.mjs";
|
|
56
56
|
export { TitleSubpage } from "./TitleSubpage/index.mjs";
|
|
57
|
-
export { Toast,
|
|
57
|
+
export { Toast, Toaster, toast, ToastSeverity } from "./Toast/index.mjs";
|
|
58
58
|
export { ButtonHero, ButtonHeroSize } from "./ButtonHero/index.mjs";
|
|
59
59
|
export { ButtonFilter } from "./ButtonFilter/index.mjs";
|
|
60
60
|
export { ImageOrSvg } from "./temp-components/ImageOrSvg/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAGlD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EAClB,kCAAwB;AAGzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAG3E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,gCAAsB;AAGvB,OAAO,EAAE,UAAU,EAAE,kBAAkB,E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E,iCAAuB;AAG9C,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,0BAAgB;AAWvE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAM1D,OAAO,EAAE,OAAO,EAAE,4CAAkC;AAGpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AAGjE,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport {\n BottomSheetHeader,\n BottomSheetHeaderVariant,\n} from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase, HeaderBaseVariant } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem, ListItemVerticalAlignment } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, ToastVariant, ToastCloseButtonVariant } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastRef,\n ToastLabelOptions,\n ToastDescriptionOptions,\n ToastLinkButtonOptions,\n ToastCloseButtonOptions,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagPro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B,EAAE,kCAAwB;AAGrE,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAGhD,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACZ,yBAAe;AAGhB,OAAO,EAAE,SAAS,EAAE,8BAAoB;AAGxC,OAAO,EAAE,eAAe,EAAE,oCAA0B;AAGpD,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAGlE,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AAGtC,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAGhD,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,0BAAgB;AAS/D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAM1D,OAAO,EAAE,OAAO,EAAE,4CAAkC;AAGpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AAGjE,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport {\n BottomSheetHeader,\n BottomSheetHeaderVariant,\n} from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase, HeaderBaseVariant } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem, ListItemVerticalAlignment } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, Toaster, toast, ToastSeverity } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastIconProps,\n ToasterProps,\n ToasterRef,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagProps } from './Tag';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/design-system-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Design System React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask/design-system-shared": "^0.
|
|
50
|
+
"@metamask/design-system-shared": "^0.17.0",
|
|
51
51
|
"fast-text-encoding": "^1.0.6",
|
|
52
52
|
"react-native-jazzicon": "^0.1.2"
|
|
53
53
|
},
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.ToastView = void 0;
|
|
27
|
-
// Third party dependencies.
|
|
28
|
-
const design_system_twrnc_preset_1 = require("@metamask/design-system-twrnc-preset");
|
|
29
|
-
const react_1 = __importStar(require("react"));
|
|
30
|
-
const react_native_1 = require("react-native/index.js");
|
|
31
|
-
const react_native_reanimated_1 = __importStar(require("react-native-reanimated"));
|
|
32
|
-
const react_native_safe_area_context_1 = require("react-native-safe-area-context");
|
|
33
|
-
// External dependencies.
|
|
34
|
-
const AvatarAccount_1 = require("../AvatarAccount/index.cjs");
|
|
35
|
-
const AvatarFavicon_1 = require("../AvatarFavicon/index.cjs");
|
|
36
|
-
const AvatarIcon_1 = require("../AvatarIcon/index.cjs");
|
|
37
|
-
const AvatarNetwork_1 = require("../AvatarNetwork/index.cjs");
|
|
38
|
-
const Button_1 = require("../Button/index.cjs");
|
|
39
|
-
const ButtonIcon_1 = require("../ButtonIcon/index.cjs");
|
|
40
|
-
const Text_1 = require("../Text/index.cjs");
|
|
41
|
-
// Internal dependencies.
|
|
42
|
-
const Toast_constants_1 = require("./Toast.constants.cjs");
|
|
43
|
-
const Toast_types_1 = require("./Toast.types.cjs");
|
|
44
|
-
const screenHeight = react_native_1.Dimensions.get('window').height;
|
|
45
|
-
exports.ToastView = (0, react_1.forwardRef)(({ twClassName, labelsContainerProps, ...props }, ref) => {
|
|
46
|
-
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
47
|
-
const [toastOptions, setToastOptions] = (0, react_1.useState)(undefined);
|
|
48
|
-
const replacementTimerRef = (0, react_1.useRef)(null);
|
|
49
|
-
const { bottom: bottomNotchSpacing } = (0, react_native_safe_area_context_1.useSafeAreaInsets)();
|
|
50
|
-
const translateYProgress = (0, react_native_reanimated_1.useSharedValue)(screenHeight);
|
|
51
|
-
const bottomOffset = toastOptions?.bottomOffset ?? 0;
|
|
52
|
-
const animatedStyle = (0, react_native_reanimated_1.useAnimatedStyle)(() => ({
|
|
53
|
-
transform: [{ translateY: translateYProgress.value - bottomOffset }],
|
|
54
|
-
}));
|
|
55
|
-
const baseStyle = (0, react_1.useMemo)(() => [
|
|
56
|
-
tw.style('absolute left-4 right-4 bottom-0 bg-background-section border border-border-muted rounded-xl p-3 flex-row items-center', twClassName),
|
|
57
|
-
animatedStyle,
|
|
58
|
-
], [tw, animatedStyle, twClassName]);
|
|
59
|
-
const resetState = () => setToastOptions(undefined);
|
|
60
|
-
const showToast = (options) => {
|
|
61
|
-
let timeoutDuration = 0;
|
|
62
|
-
if (toastOptions) {
|
|
63
|
-
(0, react_native_reanimated_1.cancelAnimation)(translateYProgress);
|
|
64
|
-
timeoutDuration = 100;
|
|
65
|
-
// Clear existing toast state to prevent animation conflicts when showing rapid successive toasts
|
|
66
|
-
setToastOptions(undefined);
|
|
67
|
-
}
|
|
68
|
-
if (replacementTimerRef.current !== null) {
|
|
69
|
-
clearTimeout(replacementTimerRef.current);
|
|
70
|
-
}
|
|
71
|
-
replacementTimerRef.current = setTimeout(() => {
|
|
72
|
-
replacementTimerRef.current = null;
|
|
73
|
-
setToastOptions(options);
|
|
74
|
-
}, timeoutDuration);
|
|
75
|
-
};
|
|
76
|
-
const closeToast = () => {
|
|
77
|
-
if (replacementTimerRef.current !== null) {
|
|
78
|
-
clearTimeout(replacementTimerRef.current);
|
|
79
|
-
replacementTimerRef.current = null;
|
|
80
|
-
}
|
|
81
|
-
translateYProgress.value = (0, react_native_reanimated_1.withTiming)(screenHeight, { duration: Toast_constants_1.TOAST_ANIMATION_DURATION }, () => {
|
|
82
|
-
(0, react_native_reanimated_1.runOnJS)(resetState)();
|
|
83
|
-
});
|
|
84
|
-
};
|
|
85
|
-
(0, react_1.useImperativeHandle)(ref, () => ({
|
|
86
|
-
showToast,
|
|
87
|
-
closeToast,
|
|
88
|
-
}));
|
|
89
|
-
const onAnimatedViewLayout = (e) => {
|
|
90
|
-
/* istanbul ignore next - guard only; layout fires when toastOptions is set */
|
|
91
|
-
if (toastOptions) {
|
|
92
|
-
const { height } = e.nativeEvent.layout;
|
|
93
|
-
const translateYToValue = -(Toast_constants_1.TOAST_BOTTOM_PADDING + bottomNotchSpacing);
|
|
94
|
-
translateYProgress.value = height;
|
|
95
|
-
if (toastOptions.hasNoTimeout) {
|
|
96
|
-
translateYProgress.value = (0, react_native_reanimated_1.withTiming)(translateYToValue, {
|
|
97
|
-
duration: Toast_constants_1.TOAST_ANIMATION_DURATION,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
translateYProgress.value = (0, react_native_reanimated_1.withTiming)(translateYToValue, { duration: Toast_constants_1.TOAST_ANIMATION_DURATION }, () => {
|
|
102
|
-
translateYProgress.value = (0, react_native_reanimated_1.withDelay)(Toast_constants_1.TOAST_VISIBILITY_DURATION, (0, react_native_reanimated_1.withTiming)(height, { duration: Toast_constants_1.TOAST_ANIMATION_DURATION }, (0, react_native_reanimated_1.runOnJS)(resetState)));
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
const renderLabel = (labelOptions) => (<Text_1.Text variant={Text_1.TextVariant.BodyMd}>
|
|
108
|
-
{labelOptions.map(({ label, isBold }, index) => (<Text_1.Text key={`toast-label-${index}`} variant={Text_1.TextVariant.BodyMd} fontWeight={isBold ? Text_1.FontWeight.Bold : undefined} color={Text_1.TextColor.TextDefault}>
|
|
109
|
-
{label}
|
|
110
|
-
</Text_1.Text>))}
|
|
111
|
-
</Text_1.Text>);
|
|
112
|
-
const renderDescription = (descriptionOptions) => descriptionOptions && (<Text_1.Text variant={Text_1.TextVariant.BodySm} color={Text_1.TextColor.TextAlternative} style={tw.style('mt-1')}>
|
|
113
|
-
{descriptionOptions.description}
|
|
114
|
-
</Text_1.Text>);
|
|
115
|
-
const renderActionButton = (linkButtonOptions) => linkButtonOptions && (<Button_1.Button variant={Button_1.ButtonVariant.Secondary} onPress={linkButtonOptions.onPress} style={tw.style('mt-2')}>
|
|
116
|
-
{linkButtonOptions.label}
|
|
117
|
-
</Button_1.Button>);
|
|
118
|
-
const renderCloseButton = (closeButtonOptions) => {
|
|
119
|
-
if (closeButtonOptions && 'iconName' in closeButtonOptions) {
|
|
120
|
-
const iconOptions = closeButtonOptions;
|
|
121
|
-
return (<ButtonIcon_1.ButtonIcon iconName={iconOptions.iconName} onPress={(e) => iconOptions.onPress?.(e)} size={iconOptions.size} isDisabled={iconOptions.isDisabled} twClassName={iconOptions.twClassName} style={iconOptions.style} iconProps={iconOptions.iconProps}/>);
|
|
122
|
-
}
|
|
123
|
-
return (<Button_1.Button variant={Button_1.ButtonVariant.Primary} onPress={(e) => closeButtonOptions?.onPress?.(e)} startIconName={closeButtonOptions?.startIconName} endIconName={closeButtonOptions?.endIconName} style={closeButtonOptions?.style}>
|
|
124
|
-
{closeButtonOptions?.children}
|
|
125
|
-
</Button_1.Button>);
|
|
126
|
-
};
|
|
127
|
-
const renderAvatar = () => {
|
|
128
|
-
switch (toastOptions?.variant) {
|
|
129
|
-
case Toast_types_1.ToastVariant.Plain:
|
|
130
|
-
return null;
|
|
131
|
-
case Toast_types_1.ToastVariant.Account: {
|
|
132
|
-
const { accountAddress, accountAvatarType } = toastOptions;
|
|
133
|
-
return (<AvatarAccount_1.AvatarAccount address={accountAddress} variant={accountAvatarType} size={AvatarAccount_1.AvatarAccountSize.Md} style={tw.style('mr-4')}/>);
|
|
134
|
-
}
|
|
135
|
-
case Toast_types_1.ToastVariant.Network: {
|
|
136
|
-
const { networkImageSource, networkName } = toastOptions;
|
|
137
|
-
return (<AvatarNetwork_1.AvatarNetwork name={networkName} src={networkImageSource} size={AvatarNetwork_1.AvatarNetworkSize.Md} style={tw.style('mr-4')}/>);
|
|
138
|
-
}
|
|
139
|
-
case Toast_types_1.ToastVariant.App: {
|
|
140
|
-
const { appIconSource } = toastOptions;
|
|
141
|
-
return (<AvatarFavicon_1.AvatarFavicon src={appIconSource} size={AvatarFavicon_1.AvatarFaviconSize.Md} style={tw.style('mr-4')}/>);
|
|
142
|
-
}
|
|
143
|
-
case Toast_types_1.ToastVariant.Icon: {
|
|
144
|
-
const { iconName, severity } = toastOptions;
|
|
145
|
-
return (<AvatarIcon_1.AvatarIcon iconName={iconName} severity={severity} size={AvatarIcon_1.AvatarIconSize.Md} style={tw.style('mr-4')}/>);
|
|
146
|
-
}
|
|
147
|
-
/* istanbul ignore next - all variants handled above */
|
|
148
|
-
default:
|
|
149
|
-
return null;
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
const renderToastContent = (options) => {
|
|
153
|
-
const { labelOptions, descriptionOptions, linkButtonOptions, closeButtonOptions, startAccessory, } = options;
|
|
154
|
-
const isStartAccessoryValid = startAccessory !== null &&
|
|
155
|
-
startAccessory !== undefined &&
|
|
156
|
-
(0, react_1.isValidElement)(startAccessory);
|
|
157
|
-
return (<>
|
|
158
|
-
{isStartAccessoryValid ? startAccessory : renderAvatar()}
|
|
159
|
-
<react_native_1.View style={tw.style('flex-1 justify-center')} {...labelsContainerProps}>
|
|
160
|
-
{renderLabel(labelOptions)}
|
|
161
|
-
{renderDescription(descriptionOptions)}
|
|
162
|
-
{renderActionButton(linkButtonOptions)}
|
|
163
|
-
</react_native_1.View>
|
|
164
|
-
{closeButtonOptions ? renderCloseButton(closeButtonOptions) : null}
|
|
165
|
-
</>);
|
|
166
|
-
};
|
|
167
|
-
if (!toastOptions) {
|
|
168
|
-
return null;
|
|
169
|
-
}
|
|
170
|
-
return (<react_native_reanimated_1.default.View onLayout={onAnimatedViewLayout} style={baseStyle} {...props}>
|
|
171
|
-
{renderToastContent(toastOptions)}
|
|
172
|
-
</react_native_reanimated_1.default.View>);
|
|
173
|
-
});
|
|
174
|
-
//# sourceMappingURL=ToastView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToastView.cjs","sourceRoot":"","sources":["../../../src/components/Toast/ToastView.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4BAA4B;AAC5B,qFAAmE;AACnE,+CAOe;AACf,wDAAgD;AAEhD,mFAOiC;AACjC,mFAAmE;AAEnE,yBAAyB;AACzB,8DAAoE;AACpE,8DAAoE;AACpE,wDAA2D;AAC3D,8DAAoE;AACpE,gDAAkD;AAClD,wDAA2C;AAC3C,4CAAmE;AAEnE,yBAAyB;AACzB,2DAI2B;AAW3B,mDAA6C;AAE7C,MAAM,YAAY,GAAG,yBAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;AAExC,QAAA,SAAS,GAAG,IAAA,kBAAU,EACjC,CAAC,EAAE,WAAW,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACvD,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACzB,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAC9C,SAAS,CACV,CAAC;IACF,MAAM,mBAAmB,GAAG,IAAA,cAAM,EAChC,IAAI,CACL,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAA,kDAAiB,GAAE,CAAC;IAC3D,MAAM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party dependencies.\nimport { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport React, {\n forwardRef,\n isValidElement,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport { Dimensions, View } from 'react-native';\nimport type { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native';\nimport Animated, {\n cancelAnimation,\n runOnJS,\n useAnimatedStyle,\n useSharedValue,\n withDelay,\n withTiming,\n} from 'react-native-reanimated';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\n// External dependencies.\nimport { AvatarAccount, AvatarAccountSize } from '../AvatarAccount';\nimport { AvatarFavicon, AvatarFaviconSize } from '../AvatarFavicon';\nimport { AvatarIcon, AvatarIconSize } from '../AvatarIcon';\nimport { AvatarNetwork, AvatarNetworkSize } from '../AvatarNetwork';\nimport { Button, ButtonVariant } from '../Button';\nimport { ButtonIcon } from '../ButtonIcon';\nimport { Text, TextVariant, TextColor, FontWeight } from '../Text';\n\n// Internal dependencies.\nimport {\n TOAST_VISIBILITY_DURATION,\n TOAST_ANIMATION_DURATION,\n TOAST_BOTTOM_PADDING,\n} from './Toast.constants';\nimport type {\n ToastCloseButtonIconOptions,\n ToastCloseButtonOptions,\n ToastDescriptionOptions,\n ToastLabelOptions,\n ToastLinkButtonOptions,\n ToastOptions,\n ToastProps,\n ToastRef,\n} from './Toast.types';\nimport { ToastVariant } from './Toast.types';\n\nconst screenHeight = Dimensions.get('window').height;\n\nexport const ToastView = forwardRef<ToastRef, ToastProps>(\n ({ twClassName, labelsContainerProps, ...props }, ref) => {\n const tw = useTailwind();\n const [toastOptions, setToastOptions] = useState<ToastOptions | undefined>(\n undefined,\n );\n const replacementTimerRef = useRef<ReturnType<typeof setTimeout> | null>(\n null,\n );\n const { bottom: bottomNotchSpacing } = useSafeAreaInsets();\n const translateYProgress = useSharedValue(screenHeight);\n const bottomOffset = toastOptions?.bottomOffset ?? 0;\n const animatedStyle = useAnimatedStyle(() => ({\n transform: [{ translateY: translateYProgress.value - bottomOffset }],\n }));\n const baseStyle: StyleProp<ViewStyle> = useMemo(\n () => [\n tw.style(\n 'absolute left-4 right-4 bottom-0 bg-background-section border border-border-muted rounded-xl p-3 flex-row items-center',\n twClassName,\n ),\n animatedStyle,\n ],\n [tw, animatedStyle, twClassName],\n );\n\n const resetState = () => setToastOptions(undefined);\n\n const showToast = (options: ToastOptions) => {\n let timeoutDuration = 0;\n if (toastOptions) {\n cancelAnimation(translateYProgress);\n timeoutDuration = 100;\n // Clear existing toast state to prevent animation conflicts when showing rapid successive toasts\n setToastOptions(undefined);\n }\n if (replacementTimerRef.current !== null) {\n clearTimeout(replacementTimerRef.current);\n }\n replacementTimerRef.current = setTimeout(() => {\n replacementTimerRef.current = null;\n setToastOptions(options);\n }, timeoutDuration);\n };\n\n const closeToast = () => {\n if (replacementTimerRef.current !== null) {\n clearTimeout(replacementTimerRef.current);\n replacementTimerRef.current = null;\n }\n translateYProgress.value = withTiming(\n screenHeight,\n { duration: TOAST_ANIMATION_DURATION },\n () => {\n runOnJS(resetState)();\n },\n );\n };\n\n useImperativeHandle(ref, () => ({\n showToast,\n closeToast,\n }));\n\n const onAnimatedViewLayout = (e: LayoutChangeEvent) => {\n /* istanbul ignore next - guard only; layout fires when toastOptions is set */\n if (toastOptions) {\n const { height } = e.nativeEvent.layout;\n const translateYToValue = -(TOAST_BOTTOM_PADDING + bottomNotchSpacing);\n\n translateYProgress.value = height;\n\n if (toastOptions.hasNoTimeout) {\n translateYProgress.value = withTiming(translateYToValue, {\n duration: TOAST_ANIMATION_DURATION,\n });\n } else {\n translateYProgress.value = withTiming(\n translateYToValue,\n { duration: TOAST_ANIMATION_DURATION },\n () => {\n translateYProgress.value = withDelay(\n TOAST_VISIBILITY_DURATION,\n withTiming(\n height,\n { duration: TOAST_ANIMATION_DURATION },\n runOnJS(resetState),\n ),\n );\n },\n );\n }\n }\n };\n\n const renderLabel = (labelOptions: ToastLabelOptions) => (\n <Text variant={TextVariant.BodyMd}>\n {labelOptions.map(({ label, isBold }, index) => (\n <Text\n key={`toast-label-${index}`}\n variant={TextVariant.BodyMd}\n fontWeight={isBold ? FontWeight.Bold : undefined}\n color={TextColor.TextDefault}\n >\n {label}\n </Text>\n ))}\n </Text>\n );\n\n const renderDescription = (descriptionOptions?: ToastDescriptionOptions) =>\n descriptionOptions && (\n <Text\n variant={TextVariant.BodySm}\n color={TextColor.TextAlternative}\n style={tw.style('mt-1')}\n >\n {descriptionOptions.description}\n </Text>\n );\n\n const renderActionButton = (linkButtonOptions?: ToastLinkButtonOptions) =>\n linkButtonOptions && (\n <Button\n variant={ButtonVariant.Secondary}\n onPress={linkButtonOptions.onPress}\n style={tw.style('mt-2')}\n >\n {linkButtonOptions.label}\n </Button>\n );\n\n const renderCloseButton = (\n closeButtonOptions?: ToastCloseButtonOptions,\n ) => {\n if (closeButtonOptions && 'iconName' in closeButtonOptions) {\n const iconOptions = closeButtonOptions as ToastCloseButtonIconOptions;\n return (\n <ButtonIcon\n iconName={iconOptions.iconName}\n onPress={(e) => iconOptions.onPress?.(e)}\n size={iconOptions.size}\n isDisabled={iconOptions.isDisabled}\n twClassName={iconOptions.twClassName}\n style={iconOptions.style}\n iconProps={iconOptions.iconProps}\n />\n );\n }\n return (\n <Button\n variant={ButtonVariant.Primary}\n onPress={(e) => closeButtonOptions?.onPress?.(e)}\n startIconName={closeButtonOptions?.startIconName}\n endIconName={closeButtonOptions?.endIconName}\n style={closeButtonOptions?.style}\n >\n {closeButtonOptions?.children}\n </Button>\n );\n };\n\n const renderAvatar = () => {\n switch (toastOptions?.variant) {\n case ToastVariant.Plain:\n return null;\n case ToastVariant.Account: {\n const { accountAddress, accountAvatarType } = toastOptions;\n return (\n <AvatarAccount\n address={accountAddress}\n variant={accountAvatarType}\n size={AvatarAccountSize.Md}\n style={tw.style('mr-4')}\n />\n );\n }\n case ToastVariant.Network: {\n const { networkImageSource, networkName } = toastOptions;\n return (\n <AvatarNetwork\n name={networkName}\n src={networkImageSource}\n size={AvatarNetworkSize.Md}\n style={tw.style('mr-4')}\n />\n );\n }\n case ToastVariant.App: {\n const { appIconSource } = toastOptions;\n return (\n <AvatarFavicon\n src={appIconSource}\n size={AvatarFaviconSize.Md}\n style={tw.style('mr-4')}\n />\n );\n }\n case ToastVariant.Icon: {\n const { iconName, severity } = toastOptions;\n return (\n <AvatarIcon\n iconName={iconName}\n severity={severity}\n size={AvatarIconSize.Md}\n style={tw.style('mr-4')}\n />\n );\n }\n /* istanbul ignore next - all variants handled above */\n default:\n return null;\n }\n };\n\n const renderToastContent = (options: ToastOptions) => {\n const {\n labelOptions,\n descriptionOptions,\n linkButtonOptions,\n closeButtonOptions,\n startAccessory,\n } = options;\n\n const isStartAccessoryValid =\n startAccessory !== null &&\n startAccessory !== undefined &&\n isValidElement(startAccessory);\n\n return (\n <>\n {isStartAccessoryValid ? startAccessory : renderAvatar()}\n <View\n style={tw.style('flex-1 justify-center')}\n {...labelsContainerProps}\n >\n {renderLabel(labelOptions)}\n {renderDescription(descriptionOptions)}\n {renderActionButton(linkButtonOptions)}\n </View>\n {closeButtonOptions ? renderCloseButton(closeButtonOptions) : null}\n </>\n );\n };\n\n if (!toastOptions) {\n return null;\n }\n\n return (\n <Animated.View\n onLayout={onAnimatedViewLayout}\n style={baseStyle}\n {...props}\n >\n {renderToastContent(toastOptions)}\n </Animated.View>\n );\n },\n);\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ToastRef } from "./Toast.types.cjs";
|
|
3
|
-
export declare const ToastView: React.ForwardRefExoticComponent<{
|
|
4
|
-
twClassName?: string | undefined;
|
|
5
|
-
labelsContainerProps?: Omit<import("react-native").ViewProps, "children" | "style"> | undefined;
|
|
6
|
-
} & Omit<import("react-native").ViewProps, "style"> & React.RefAttributes<ToastRef>>;
|
|
7
|
-
//# sourceMappingURL=ToastView.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToastView.d.cts","sourceRoot":"","sources":["../../../src/components/Toast/ToastView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAON,cAAc;AA4Bf,OAAO,KAAK,EAQV,QAAQ,EACT,0BAAsB;AAKvB,eAAO,MAAM,SAAS;;;oFAmQrB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { ToastRef } from "./Toast.types.mjs";
|
|
3
|
-
export declare const ToastView: React.ForwardRefExoticComponent<{
|
|
4
|
-
twClassName?: string | undefined;
|
|
5
|
-
labelsContainerProps?: Omit<import("react-native").ViewProps, "children" | "style"> | undefined;
|
|
6
|
-
} & Omit<import("react-native").ViewProps, "style"> & React.RefAttributes<ToastRef>>;
|
|
7
|
-
//# sourceMappingURL=ToastView.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToastView.d.mts","sourceRoot":"","sources":["../../../src/components/Toast/ToastView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAON,cAAc;AA4Bf,OAAO,KAAK,EAQV,QAAQ,EACT,0BAAsB;AAKvB,eAAO,MAAM,SAAS;;;oFAmQrB,CAAC"}
|