@metamask-previews/design-system-react 0.6.1-preview.abc15cd → 0.9.0-preview.694a8ed

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.
Files changed (154) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/dist/components/BadgeCount/BadgeCount.cjs +2 -2
  3. package/dist/components/BadgeCount/BadgeCount.cjs.map +1 -1
  4. package/dist/components/BadgeCount/BadgeCount.constants.cjs +5 -5
  5. package/dist/components/BadgeCount/BadgeCount.constants.cjs.map +1 -1
  6. package/dist/components/BadgeCount/BadgeCount.constants.d.cts +1 -1
  7. package/dist/components/BadgeCount/BadgeCount.constants.d.cts.map +1 -1
  8. package/dist/components/BadgeCount/BadgeCount.constants.d.mts +1 -1
  9. package/dist/components/BadgeCount/BadgeCount.constants.d.mts.map +1 -1
  10. package/dist/components/BadgeCount/BadgeCount.constants.mjs +3 -3
  11. package/dist/components/BadgeCount/BadgeCount.constants.mjs.map +1 -1
  12. package/dist/components/BadgeCount/BadgeCount.d.cts.map +1 -1
  13. package/dist/components/BadgeCount/BadgeCount.d.mts.map +1 -1
  14. package/dist/components/BadgeCount/BadgeCount.mjs +1 -1
  15. package/dist/components/BadgeCount/BadgeCount.mjs.map +1 -1
  16. package/dist/components/BadgeCount/BadgeCount.types.cjs.map +1 -1
  17. package/dist/components/BadgeCount/BadgeCount.types.d.cts +4 -21
  18. package/dist/components/BadgeCount/BadgeCount.types.d.cts.map +1 -1
  19. package/dist/components/BadgeCount/BadgeCount.types.d.mts +4 -21
  20. package/dist/components/BadgeCount/BadgeCount.types.d.mts.map +1 -1
  21. package/dist/components/BadgeCount/BadgeCount.types.mjs.map +1 -1
  22. package/dist/components/BadgeCount/index.cjs +2 -2
  23. package/dist/components/BadgeCount/index.cjs.map +1 -1
  24. package/dist/components/BadgeCount/index.d.cts +1 -1
  25. package/dist/components/BadgeCount/index.d.cts.map +1 -1
  26. package/dist/components/BadgeCount/index.d.mts +1 -1
  27. package/dist/components/BadgeCount/index.d.mts.map +1 -1
  28. package/dist/components/BadgeCount/index.mjs +1 -1
  29. package/dist/components/BadgeCount/index.mjs.map +1 -1
  30. package/dist/components/BadgeStatus/BadgeStatus.cjs +2 -2
  31. package/dist/components/BadgeStatus/BadgeStatus.cjs.map +1 -1
  32. package/dist/components/BadgeStatus/BadgeStatus.constants.cjs +8 -8
  33. package/dist/components/BadgeStatus/BadgeStatus.constants.cjs.map +1 -1
  34. package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts +1 -1
  35. package/dist/components/BadgeStatus/BadgeStatus.constants.d.cts.map +1 -1
  36. package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts +1 -1
  37. package/dist/components/BadgeStatus/BadgeStatus.constants.d.mts.map +1 -1
  38. package/dist/components/BadgeStatus/BadgeStatus.constants.mjs +1 -1
  39. package/dist/components/BadgeStatus/BadgeStatus.constants.mjs.map +1 -1
  40. package/dist/components/BadgeStatus/BadgeStatus.d.cts.map +1 -1
  41. package/dist/components/BadgeStatus/BadgeStatus.d.mts.map +1 -1
  42. package/dist/components/BadgeStatus/BadgeStatus.mjs +1 -1
  43. package/dist/components/BadgeStatus/BadgeStatus.mjs.map +1 -1
  44. package/dist/components/BadgeStatus/BadgeStatus.types.cjs.map +1 -1
  45. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts +4 -28
  46. package/dist/components/BadgeStatus/BadgeStatus.types.d.cts.map +1 -1
  47. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts +4 -28
  48. package/dist/components/BadgeStatus/BadgeStatus.types.d.mts.map +1 -1
  49. package/dist/components/BadgeStatus/BadgeStatus.types.mjs.map +1 -1
  50. package/dist/components/BadgeStatus/index.cjs +3 -3
  51. package/dist/components/BadgeStatus/index.cjs.map +1 -1
  52. package/dist/components/BadgeStatus/index.d.cts +1 -1
  53. package/dist/components/BadgeStatus/index.d.cts.map +1 -1
  54. package/dist/components/BadgeStatus/index.d.mts +1 -1
  55. package/dist/components/BadgeStatus/index.d.mts.map +1 -1
  56. package/dist/components/BadgeStatus/index.mjs +1 -1
  57. package/dist/components/BadgeStatus/index.mjs.map +1 -1
  58. package/dist/components/BannerBase/BannerBase.cjs +54 -0
  59. package/dist/components/BannerBase/BannerBase.cjs.map +1 -0
  60. package/dist/components/BannerBase/BannerBase.d.cts +614 -0
  61. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -0
  62. package/dist/components/BannerBase/BannerBase.d.mts +614 -0
  63. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -0
  64. package/dist/components/BannerBase/BannerBase.mjs +35 -0
  65. package/dist/components/BannerBase/BannerBase.mjs.map +1 -0
  66. package/dist/components/BannerBase/BannerBase.types.cjs +3 -0
  67. package/dist/components/BannerBase/BannerBase.types.cjs.map +1 -0
  68. package/dist/components/BannerBase/BannerBase.types.d.cts +50 -0
  69. package/dist/components/BannerBase/BannerBase.types.d.cts.map +1 -0
  70. package/dist/components/BannerBase/BannerBase.types.d.mts +50 -0
  71. package/dist/components/BannerBase/BannerBase.types.d.mts.map +1 -0
  72. package/dist/components/BannerBase/BannerBase.types.mjs +2 -0
  73. package/dist/components/BannerBase/BannerBase.types.mjs.map +1 -0
  74. package/dist/components/BannerBase/index.cjs +6 -0
  75. package/dist/components/BannerBase/index.cjs.map +1 -0
  76. package/dist/components/BannerBase/index.d.cts +3 -0
  77. package/dist/components/BannerBase/index.d.cts.map +1 -0
  78. package/dist/components/BannerBase/index.d.mts +3 -0
  79. package/dist/components/BannerBase/index.d.mts.map +1 -0
  80. package/dist/components/BannerBase/index.mjs +2 -0
  81. package/dist/components/BannerBase/index.mjs.map +1 -0
  82. package/dist/components/Icon/icons/CorporateFare.cjs +32 -0
  83. package/dist/components/Icon/icons/CorporateFare.cjs.map +1 -0
  84. package/dist/components/Icon/icons/CorporateFare.d.cts +4 -0
  85. package/dist/components/Icon/icons/CorporateFare.d.cts.map +1 -0
  86. package/dist/components/Icon/icons/CorporateFare.d.mts +4 -0
  87. package/dist/components/Icon/icons/CorporateFare.d.mts.map +1 -0
  88. package/dist/components/Icon/icons/CorporateFare.mjs +7 -0
  89. package/dist/components/Icon/icons/CorporateFare.mjs.map +1 -0
  90. package/dist/components/Icon/icons/PopUp.cjs +32 -0
  91. package/dist/components/Icon/icons/PopUp.cjs.map +1 -0
  92. package/dist/components/Icon/icons/PopUp.d.cts +4 -0
  93. package/dist/components/Icon/icons/PopUp.d.cts.map +1 -0
  94. package/dist/components/Icon/icons/PopUp.d.mts +4 -0
  95. package/dist/components/Icon/icons/PopUp.d.mts.map +1 -0
  96. package/dist/components/Icon/icons/PopUp.mjs +7 -0
  97. package/dist/components/Icon/icons/PopUp.mjs.map +1 -0
  98. package/dist/components/Icon/icons/SidePanel.cjs +32 -0
  99. package/dist/components/Icon/icons/SidePanel.cjs.map +1 -0
  100. package/dist/components/Icon/icons/SidePanel.d.cts +4 -0
  101. package/dist/components/Icon/icons/SidePanel.d.cts.map +1 -0
  102. package/dist/components/Icon/icons/SidePanel.d.mts +4 -0
  103. package/dist/components/Icon/icons/SidePanel.d.mts.map +1 -0
  104. package/dist/components/Icon/icons/SidePanel.mjs +7 -0
  105. package/dist/components/Icon/icons/SidePanel.mjs.map +1 -0
  106. package/dist/components/Icon/icons/index.cjs +6 -0
  107. package/dist/components/Icon/icons/index.cjs.map +1 -1
  108. package/dist/components/Icon/icons/index.d.cts +3 -0
  109. package/dist/components/Icon/icons/index.d.cts.map +1 -1
  110. package/dist/components/Icon/icons/index.d.mts +3 -0
  111. package/dist/components/Icon/icons/index.d.mts.map +1 -1
  112. package/dist/components/Icon/icons/index.mjs +6 -0
  113. package/dist/components/Icon/icons/index.mjs.map +1 -1
  114. package/dist/components/Input/Input.cjs +36 -0
  115. package/dist/components/Input/Input.cjs.map +1 -0
  116. package/dist/components/Input/Input.d.cts +10 -0
  117. package/dist/components/Input/Input.d.cts.map +1 -0
  118. package/dist/components/Input/Input.d.mts +10 -0
  119. package/dist/components/Input/Input.d.mts.map +1 -0
  120. package/dist/components/Input/Input.mjs +17 -0
  121. package/dist/components/Input/Input.mjs.map +1 -0
  122. package/dist/components/Input/Input.types.cjs +3 -0
  123. package/dist/components/Input/Input.types.cjs.map +1 -0
  124. package/dist/components/Input/Input.types.d.cts +31 -0
  125. package/dist/components/Input/Input.types.d.cts.map +1 -0
  126. package/dist/components/Input/Input.types.d.mts +31 -0
  127. package/dist/components/Input/Input.types.d.mts.map +1 -0
  128. package/dist/components/Input/Input.types.mjs +2 -0
  129. package/dist/components/Input/Input.types.mjs.map +1 -0
  130. package/dist/components/Input/index.cjs +6 -0
  131. package/dist/components/Input/index.cjs.map +1 -0
  132. package/dist/components/Input/index.d.cts +3 -0
  133. package/dist/components/Input/index.d.cts.map +1 -0
  134. package/dist/components/Input/index.d.mts +3 -0
  135. package/dist/components/Input/index.d.mts.map +1 -0
  136. package/dist/components/Input/index.mjs +2 -0
  137. package/dist/components/Input/index.mjs.map +1 -0
  138. package/dist/components/index.cjs +6 -2
  139. package/dist/components/index.cjs.map +1 -1
  140. package/dist/components/index.d.cts +4 -0
  141. package/dist/components/index.d.cts.map +1 -1
  142. package/dist/components/index.d.mts +4 -0
  143. package/dist/components/index.d.mts.map +1 -1
  144. package/dist/components/index.mjs +2 -0
  145. package/dist/components/index.mjs.map +1 -1
  146. package/dist/types/index.cjs +14 -50
  147. package/dist/types/index.cjs.map +1 -1
  148. package/dist/types/index.d.cts +13 -46
  149. package/dist/types/index.d.cts.map +1 -1
  150. package/dist/types/index.d.mts +13 -46
  151. package/dist/types/index.d.mts.map +1 -1
  152. package/dist/types/index.mjs +13 -49
  153. package/dist/types/index.mjs.map +1 -1
  154. package/package.json +6 -6
@@ -0,0 +1,35 @@
1
+ function $importDefault(module) {
2
+ if (module?.__esModule) {
3
+ return module.default;
4
+ }
5
+ return module;
6
+ }
7
+ import $React, { forwardRef } from "react";
8
+ const React = $importDefault($React);
9
+ import { BoxAlignItems, BoxBackgroundColor, ButtonIconSize, ButtonSize, FontWeight, BoxFlexDirection, IconName, TextVariant } from "../../types/index.mjs";
10
+ import { twMerge } from "../../utils/tw-merge.mjs";
11
+ import { Box } from "../Box/index.mjs";
12
+ import { Button } from "../Button/index.mjs";
13
+ import { ButtonIcon } from "../ButtonIcon/index.mjs";
14
+ import { Text } from "../Text/index.mjs";
15
+ const isTextContent = (content) => typeof content === 'string' || typeof content === 'number';
16
+ const hasContent = (content) => content !== null && content !== undefined;
17
+ export const BannerBase = forwardRef(({ title, titleProps, description, descriptionProps, children, childrenWrapperProps, actionButtonLabel, actionButtonOnClick, actionButtonProps, startAccessory, onClose, closeButtonProps, className, ...props }, ref) => {
18
+ const resolvedActionButtonProps = actionButtonProps ?? {};
19
+ const { ariaLabel: closeButtonAriaLabel = 'Close banner', onClick: closeButtonPropsOnClick, className: closeButtonClassName, ...resolvedCloseButtonProps } = closeButtonProps ?? {};
20
+ const shouldShowCloseButton = Boolean(onClose || closeButtonProps);
21
+ const shouldShowActionButton = Boolean(actionButtonOnClick);
22
+ return (React.createElement(Box, { ref: ref, flexDirection: BoxFlexDirection.Row, alignItems: BoxAlignItems.Start, gap: 2, backgroundColor: BoxBackgroundColor.BackgroundDefault, padding: 3, className: twMerge('rounded-sm', className), ...props },
23
+ startAccessory,
24
+ React.createElement(Box, { className: "min-w-0 flex-1" },
25
+ hasContent(title) &&
26
+ (isTextContent(title) ? (React.createElement(Text, { variant: TextVariant.BodyMd, fontWeight: FontWeight.Medium, ...titleProps }, title)) : (title)),
27
+ hasContent(description) && (React.createElement(Box, { className: hasContent(title) ? 'mt-1' : undefined }, isTextContent(description) ? (React.createElement(Text, { variant: TextVariant.BodySm, ...descriptionProps }, description)) : (description))),
28
+ hasContent(children) &&
29
+ (isTextContent(children) ? (React.createElement(Text, { variant: TextVariant.BodyMd, ...childrenWrapperProps }, children)) : (children)),
30
+ shouldShowActionButton && (React.createElement(Box, { className: "mt-4" },
31
+ React.createElement(Button, { size: ButtonSize.Md, onClick: actionButtonOnClick, ...resolvedActionButtonProps }, actionButtonLabel)))),
32
+ shouldShowCloseButton && (React.createElement(ButtonIcon, { "data-testid": "banner-base-close-button", className: twMerge('ml-3 self-start', closeButtonClassName), iconName: IconName.Close, size: ButtonIconSize.Sm, ariaLabel: closeButtonAriaLabel, onClick: onClose ?? closeButtonPropsOnClick, ...resolvedCloseButtonProps }))));
33
+ });
34
+ BannerBase.displayName = 'BannerBase';
35
+ //# sourceMappingURL=BannerBase.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.tsx"],"names":[],"mappings":"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","sourcesContent":["import React, { forwardRef } from 'react';\n\nimport {\n BoxAlignItems,\n BoxBackgroundColor,\n ButtonIconSize,\n ButtonSize,\n FontWeight,\n BoxFlexDirection,\n IconName,\n TextVariant,\n} from '../../types';\nimport { twMerge } from '../../utils/tw-merge';\nimport { Box } from '../Box';\nimport { Button } from '../Button';\nimport { ButtonIcon } from '../ButtonIcon';\nimport { Text } from '../Text';\n\nimport type { BannerBaseProps } from './BannerBase.types';\n\nconst isTextContent = (content: React.ReactNode): content is string | number =>\n typeof content === 'string' || typeof content === 'number';\n\nconst hasContent = (content: React.ReactNode) =>\n content !== null && content !== undefined;\n\nexport const BannerBase = forwardRef<HTMLDivElement, BannerBaseProps>(\n (\n {\n title,\n titleProps,\n description,\n descriptionProps,\n children,\n childrenWrapperProps,\n actionButtonLabel,\n actionButtonOnClick,\n actionButtonProps,\n startAccessory,\n onClose,\n closeButtonProps,\n className,\n ...props\n },\n ref,\n ) => {\n const resolvedActionButtonProps = actionButtonProps ?? {};\n\n const {\n ariaLabel: closeButtonAriaLabel = 'Close banner',\n onClick: closeButtonPropsOnClick,\n className: closeButtonClassName,\n ...resolvedCloseButtonProps\n } = closeButtonProps ?? {};\n\n const shouldShowCloseButton = Boolean(onClose || closeButtonProps);\n const shouldShowActionButton = Boolean(actionButtonOnClick);\n\n return (\n <Box\n ref={ref}\n flexDirection={BoxFlexDirection.Row}\n alignItems={BoxAlignItems.Start}\n gap={2}\n backgroundColor={BoxBackgroundColor.BackgroundDefault}\n padding={3}\n className={twMerge('rounded-sm', className)}\n {...props}\n >\n {startAccessory}\n\n <Box className=\"min-w-0 flex-1\">\n {hasContent(title) &&\n (isTextContent(title) ? (\n <Text\n variant={TextVariant.BodyMd}\n fontWeight={FontWeight.Medium}\n {...titleProps}\n >\n {title}\n </Text>\n ) : (\n title\n ))}\n\n {hasContent(description) && (\n <Box className={hasContent(title) ? 'mt-1' : undefined}>\n {isTextContent(description) ? (\n <Text variant={TextVariant.BodySm} {...descriptionProps}>\n {description}\n </Text>\n ) : (\n description\n )}\n </Box>\n )}\n\n {hasContent(children) &&\n (isTextContent(children) ? (\n <Text variant={TextVariant.BodyMd} {...childrenWrapperProps}>\n {children}\n </Text>\n ) : (\n children\n ))}\n\n {shouldShowActionButton && (\n <Box className=\"mt-4\">\n <Button\n size={ButtonSize.Md}\n onClick={actionButtonOnClick}\n {...resolvedActionButtonProps}\n >\n {actionButtonLabel}\n </Button>\n </Box>\n )}\n </Box>\n\n {shouldShowCloseButton && (\n <ButtonIcon\n data-testid=\"banner-base-close-button\"\n className={twMerge('ml-3 self-start', closeButtonClassName)}\n iconName={IconName.Close}\n size={ButtonIconSize.Sm}\n ariaLabel={closeButtonAriaLabel}\n onClick={onClose ?? closeButtonPropsOnClick}\n {...resolvedCloseButtonProps}\n />\n )}\n </Box>\n );\n },\n);\n\nBannerBase.displayName = 'BannerBase';\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BannerBase.types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.cjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional click handler for the close button.\n */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Providing this also shows a close button.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
@@ -0,0 +1,50 @@
1
+ import type { BannerBasePropsShared } from "@metamask-previews/design-system-shared";
2
+ import type { MouseEventHandler } from "react";
3
+ import type { BoxProps } from "../Box/index.cjs";
4
+ import type { ButtonProps } from "../Button/index.cjs";
5
+ import type { ButtonIconProps } from "../ButtonIcon/index.cjs";
6
+ import type { TextProps } from "../Text/index.cjs";
7
+ type BannerBaseActionButtonProps = Omit<Partial<ButtonProps>, 'children' | 'onClick' | 'variant'>;
8
+ type BannerBaseCloseButtonProps = Omit<Partial<ButtonIconProps>, 'iconName' | 'onClick'> & {
9
+ /**
10
+ * Optional click handler for the close button.
11
+ */
12
+ onClick?: MouseEventHandler<HTMLButtonElement>;
13
+ };
14
+ type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> & {
15
+ /**
16
+ * Optional props for the title `Text` when the title is a string.
17
+ */
18
+ titleProps?: Partial<TextProps>;
19
+ /**
20
+ * Optional props for the description `Text` when description is a string.
21
+ */
22
+ descriptionProps?: Partial<TextProps>;
23
+ /**
24
+ * Optional props for the children wrapper `Text` when children is a string.
25
+ */
26
+ childrenWrapperProps?: Partial<TextProps>;
27
+ /**
28
+ * Optional click handler for the close button.
29
+ * If provided, a close button is shown.
30
+ */
31
+ onClose?: MouseEventHandler<HTMLButtonElement>;
32
+ /**
33
+ * Optional props for the close `ButtonIcon`.
34
+ * Providing this also shows a close button.
35
+ */
36
+ closeButtonProps?: BannerBaseCloseButtonProps;
37
+ };
38
+ type BannerBaseActionPropsWithHandler = {
39
+ actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;
40
+ actionButtonLabel: string;
41
+ actionButtonProps?: BannerBaseActionButtonProps;
42
+ };
43
+ type BannerBaseActionPropsWithoutHandler = {
44
+ actionButtonOnClick?: undefined;
45
+ actionButtonLabel?: string;
46
+ actionButtonProps?: BannerBaseActionButtonProps;
47
+ };
48
+ export type BannerBaseProps = BannerBasePropsBase & (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);
49
+ export {};
50
+ //# sourceMappingURL=BannerBase.types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.d.cts","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gDAAgD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAe;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAkB;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,gCAAsB;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC,KAAK,2BAA2B,GAAG,IAAI,CACrC,OAAO,CAAC,WAAW,CAAC,EACpB,UAAU,GAAG,SAAS,GAAG,SAAS,CACnC,CAAC;AAEF,KAAK,0BAA0B,GAAG,IAAI,CACpC,OAAO,CAAC,eAAe,CAAC,EACxB,UAAU,GAAG,SAAS,CACvB,GAAG;IACF;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CAChD,CAAC;AAEF,KAAK,mBAAmB,GAAG,qBAAqB,GAC9C,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,0BAA0B,CAAC;CAC/C,CAAC;AAEJ,KAAK,gCAAgC,GAAG;IACtC,mBAAmB,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,KAAK,mCAAmC,GAAG;IACzC,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CAAC,gCAAgC,GAAG,mCAAmC,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import type { BannerBasePropsShared } from "@metamask-previews/design-system-shared";
2
+ import type { MouseEventHandler } from "react";
3
+ import type { BoxProps } from "../Box/index.mjs";
4
+ import type { ButtonProps } from "../Button/index.mjs";
5
+ import type { ButtonIconProps } from "../ButtonIcon/index.mjs";
6
+ import type { TextProps } from "../Text/index.mjs";
7
+ type BannerBaseActionButtonProps = Omit<Partial<ButtonProps>, 'children' | 'onClick' | 'variant'>;
8
+ type BannerBaseCloseButtonProps = Omit<Partial<ButtonIconProps>, 'iconName' | 'onClick'> & {
9
+ /**
10
+ * Optional click handler for the close button.
11
+ */
12
+ onClick?: MouseEventHandler<HTMLButtonElement>;
13
+ };
14
+ type BannerBasePropsBase = BannerBasePropsShared & Omit<BoxProps, 'children'> & {
15
+ /**
16
+ * Optional props for the title `Text` when the title is a string.
17
+ */
18
+ titleProps?: Partial<TextProps>;
19
+ /**
20
+ * Optional props for the description `Text` when description is a string.
21
+ */
22
+ descriptionProps?: Partial<TextProps>;
23
+ /**
24
+ * Optional props for the children wrapper `Text` when children is a string.
25
+ */
26
+ childrenWrapperProps?: Partial<TextProps>;
27
+ /**
28
+ * Optional click handler for the close button.
29
+ * If provided, a close button is shown.
30
+ */
31
+ onClose?: MouseEventHandler<HTMLButtonElement>;
32
+ /**
33
+ * Optional props for the close `ButtonIcon`.
34
+ * Providing this also shows a close button.
35
+ */
36
+ closeButtonProps?: BannerBaseCloseButtonProps;
37
+ };
38
+ type BannerBaseActionPropsWithHandler = {
39
+ actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;
40
+ actionButtonLabel: string;
41
+ actionButtonProps?: BannerBaseActionButtonProps;
42
+ };
43
+ type BannerBaseActionPropsWithoutHandler = {
44
+ actionButtonOnClick?: undefined;
45
+ actionButtonLabel?: string;
46
+ actionButtonProps?: BannerBaseActionButtonProps;
47
+ };
48
+ export type BannerBaseProps = BannerBasePropsBase & (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);
49
+ export {};
50
+ //# sourceMappingURL=BannerBase.types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.d.mts","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gDAAgD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc;AAE/C,OAAO,KAAK,EAAE,QAAQ,EAAE,yBAAe;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAkB;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,gCAAsB;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,0BAAgB;AAEzC,KAAK,2BAA2B,GAAG,IAAI,CACrC,OAAO,CAAC,WAAW,CAAC,EACpB,UAAU,GAAG,SAAS,GAAG,SAAS,CACnC,CAAC;AAEF,KAAK,0BAA0B,GAAG,IAAI,CACpC,OAAO,CAAC,eAAe,CAAC,EACxB,UAAU,GAAG,SAAS,CACvB,GAAG;IACF;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CAChD,CAAC;AAEF,KAAK,mBAAmB,GAAG,qBAAqB,GAC9C,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC/C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,0BAA0B,CAAC;CAC/C,CAAC;AAEJ,KAAK,gCAAgC,GAAG;IACtC,mBAAmB,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,KAAK,mCAAmC,GAAG;IACzC,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,2BAA2B,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAC/C,CAAC,gCAAgC,GAAG,mCAAmC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BannerBase.types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BannerBase.types.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/BannerBase.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { BannerBasePropsShared } from '@metamask-previews/design-system-shared';\nimport type { MouseEventHandler } from 'react';\n\nimport type { BoxProps } from '../Box';\nimport type { ButtonProps } from '../Button';\nimport type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextProps } from '../Text';\n\ntype BannerBaseActionButtonProps = Omit<\n Partial<ButtonProps>,\n 'children' | 'onClick' | 'variant'\n>;\n\ntype BannerBaseCloseButtonProps = Omit<\n Partial<ButtonIconProps>,\n 'iconName' | 'onClick'\n> & {\n /**\n * Optional click handler for the close button.\n */\n onClick?: MouseEventHandler<HTMLButtonElement>;\n};\n\ntype BannerBasePropsBase = BannerBasePropsShared &\n Omit<BoxProps, 'children'> & {\n /**\n * Optional props for the title `Text` when the title is a string.\n */\n titleProps?: Partial<TextProps>;\n /**\n * Optional props for the description `Text` when description is a string.\n */\n descriptionProps?: Partial<TextProps>;\n /**\n * Optional props for the children wrapper `Text` when children is a string.\n */\n childrenWrapperProps?: Partial<TextProps>;\n /**\n * Optional click handler for the close button.\n * If provided, a close button is shown.\n */\n onClose?: MouseEventHandler<HTMLButtonElement>;\n /**\n * Optional props for the close `ButtonIcon`.\n * Providing this also shows a close button.\n */\n closeButtonProps?: BannerBaseCloseButtonProps;\n };\n\ntype BannerBaseActionPropsWithHandler = {\n actionButtonOnClick: MouseEventHandler<HTMLButtonElement>;\n actionButtonLabel: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\ntype BannerBaseActionPropsWithoutHandler = {\n actionButtonOnClick?: undefined;\n actionButtonLabel?: string;\n actionButtonProps?: BannerBaseActionButtonProps;\n};\n\nexport type BannerBaseProps = BannerBasePropsBase &\n (BannerBaseActionPropsWithHandler | BannerBaseActionPropsWithoutHandler);\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BannerBase = void 0;
4
+ var BannerBase_1 = require("./BannerBase.cjs");
5
+ Object.defineProperty(exports, "BannerBase", { enumerable: true, get: function () { return BannerBase_1.BannerBase; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/BannerBase/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase.types';\n"]}
@@ -0,0 +1,3 @@
1
+ export { BannerBase } from "./BannerBase.cjs";
2
+ export type { BannerBaseProps } from "./BannerBase.types.cjs";
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/BannerBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,+BAA2B"}
@@ -0,0 +1,3 @@
1
+ export { BannerBase } from "./BannerBase.mjs";
2
+ export type { BannerBaseProps } from "./BannerBase.types.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/BannerBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,+BAA2B"}
@@ -0,0 +1,2 @@
1
+ export { BannerBase } from "./BannerBase.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/BannerBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB","sourcesContent":["export { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase.types';\n"]}
@@ -0,0 +1,32 @@
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
+ const React = __importStar(require("react"));
27
+ const react_1 = require("react");
28
+ const SvgCorporateFare = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
29
+ React.createElement("path", { d: "M2 21V3h10v4h10v14zm2-2h6v-2H4zm0-4h6v-2H4zm0-4h6V9H4zm0-4h6V5H4zm8 12h8V9h-8zm2-6v-2h4v2zm0 4v-2h4v2z" }));
30
+ const ForwardRef = (0, react_1.forwardRef)(SvgCorporateFare);
31
+ exports.default = ForwardRef;
32
+ //# sourceMappingURL=CorporateFare.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateFare.cjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/CorporateFare.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,iCAAwC;AACxC,MAAM,gBAAgB,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,wGAAwG,GAAG,CAAM,CAAC;AACrT,MAAM,UAAU,GAAG,IAAA,kBAAU,EAAC,gBAAgB,CAAC,CAAC;AAChD,kBAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgCorporateFare = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M2 21V3h10v4h10v14zm2-2h6v-2H4zm0-4h6v-2H4zm0-4h6V9H4zm0-4h6V5H4zm8 12h8V9h-8zm2-6v-2h4v2zm0 4v-2h4v2z\" /></svg>;\nconst ForwardRef = forwardRef(SvgCorporateFare);\nexport default ForwardRef;"]}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=CorporateFare.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateFare.d.cts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/CorporateFare.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAA+B,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=CorporateFare.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateFare.d.mts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/CorporateFare.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAA+B,CAAC;AAChD,eAAe,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { forwardRef } from "react";
3
+ const SvgCorporateFare = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
4
+ React.createElement("path", { d: "M2 21V3h10v4h10v14zm2-2h6v-2H4zm0-4h6v-2H4zm0-4h6V9H4zm0-4h6V5H4zm8 12h8V9h-8zm2-6v-2h4v2zm0 4v-2h4v2z" }));
5
+ const ForwardRef = forwardRef(SvgCorporateFare);
6
+ export default ForwardRef;
7
+ //# sourceMappingURL=CorporateFare.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateFare.mjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/CorporateFare.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAE/B,OAAO,EAAO,UAAU,EAAE,cAAc;AACxC,MAAM,gBAAgB,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,wGAAwG,GAAG,CAAM,CAAC;AACrT,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAChD,eAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgCorporateFare = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M2 21V3h10v4h10v14zm2-2h6v-2H4zm0-4h6v-2H4zm0-4h6V9H4zm0-4h6V5H4zm8 12h8V9h-8zm2-6v-2h4v2zm0 4v-2h4v2z\" /></svg>;\nconst ForwardRef = forwardRef(SvgCorporateFare);\nexport default ForwardRef;"]}
@@ -0,0 +1,32 @@
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
+ const React = __importStar(require("react"));
27
+ const react_1 = require("react");
28
+ const SvgPopUp = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
29
+ React.createElement("path", { d: "M13 14h5V8h-5zm-9 6q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm0-2h16V6H4z" }));
30
+ const ForwardRef = (0, react_1.forwardRef)(SvgPopUp);
31
+ exports.default = ForwardRef;
32
+ //# sourceMappingURL=PopUp.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopUp.cjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/PopUp.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,iCAAwC;AACxC,MAAM,QAAQ,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,8LAA8L,GAAG,CAAM,CAAC;AACnY,MAAM,UAAU,GAAG,IAAA,kBAAU,EAAC,QAAQ,CAAC,CAAC;AACxC,kBAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgPopUp = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M13 14h5V8h-5zm-9 6q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm0-2h16V6H4z\" /></svg>;\nconst ForwardRef = forwardRef(SvgPopUp);\nexport default ForwardRef;"]}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=PopUp.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopUp.d.cts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/PopUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAAuB,CAAC;AACxC,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=PopUp.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopUp.d.mts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/PopUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAAuB,CAAC;AACxC,eAAe,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { forwardRef } from "react";
3
+ const SvgPopUp = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
4
+ React.createElement("path", { d: "M13 14h5V8h-5zm-9 6q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm0-2h16V6H4z" }));
5
+ const ForwardRef = forwardRef(SvgPopUp);
6
+ export default ForwardRef;
7
+ //# sourceMappingURL=PopUp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopUp.mjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/PopUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAE/B,OAAO,EAAO,UAAU,EAAE,cAAc;AACxC,MAAM,QAAQ,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,8LAA8L,GAAG,CAAM,CAAC;AACnY,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AACxC,eAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgPopUp = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M13 14h5V8h-5zm-9 6q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18V6q0-.824.587-1.412A1.93 1.93 0 0 1 4 4h16q.824 0 1.413.588Q22 5.175 22 6v12q0 .824-.587 1.413A1.93 1.93 0 0 1 20 20zm0-2h16V6H4z\" /></svg>;\nconst ForwardRef = forwardRef(SvgPopUp);\nexport default ForwardRef;"]}
@@ -0,0 +1,32 @@
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
+ const React = __importStar(require("react"));
27
+ const react_1 = require("react");
28
+ const SvgSidePanel = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
29
+ React.createElement("path", { d: "M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm11-2h3V5h-3zm-2 0V5H5v14z" }));
30
+ const ForwardRef = (0, react_1.forwardRef)(SvgSidePanel);
31
+ exports.default = ForwardRef;
32
+ //# sourceMappingURL=SidePanel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidePanel.cjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/SidePanel.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,iCAAwC;AACxC,MAAM,YAAY,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,8LAA8L,GAAG,CAAM,CAAC;AACvY,MAAM,UAAU,GAAG,IAAA,kBAAU,EAAC,YAAY,CAAC,CAAC;AAC5C,kBAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgSidePanel = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm11-2h3V5h-3zm-2 0V5H5v14z\" /></svg>;\nconst ForwardRef = forwardRef(SvgSidePanel);\nexport default ForwardRef;"]}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=SidePanel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidePanel.d.cts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAA2B,CAAC;AAC5C,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
4
+ //# sourceMappingURL=SidePanel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidePanel.d.mts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAI/B,QAAA,MAAM,UAAU,kHAA2B,CAAC;AAC5C,eAAe,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { forwardRef } from "react";
3
+ const SvgSidePanel = (props, ref) => React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", ref: ref, ...props },
4
+ React.createElement("path", { d: "M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm11-2h3V5h-3zm-2 0V5H5v14z" }));
5
+ const ForwardRef = forwardRef(SvgSidePanel);
6
+ export default ForwardRef;
7
+ //# sourceMappingURL=SidePanel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidePanel.mjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc;AAE/B,OAAO,EAAO,UAAU,EAAE,cAAc;AACxC,MAAM,YAAY,GAAG,CAAC,KAA8B,EAAE,GAAuB,EAAE,EAAE,CAAC,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK;IAAE,8BAAM,CAAC,EAAC,8LAA8L,GAAG,CAAM,CAAC;AACvY,MAAM,UAAU,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;AAC5C,eAAe,UAAU,CAAC","sourcesContent":["import * as React from \"react\";\nimport type { SVGProps } from \"react\";\nimport { Ref, forwardRef } from \"react\";\nconst SvgSidePanel = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" ref={ref} {...props}><path d=\"M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm11-2h3V5h-3zm-2 0V5H5v14z\" /></svg>;\nconst ForwardRef = forwardRef(SvgSidePanel);\nexport default ForwardRef;"]}
@@ -72,6 +72,7 @@ const Confirmation_1 = __importDefault(require("./Confirmation.cjs"));
72
72
  const Connect_1 = __importDefault(require("./Connect.cjs"));
73
73
  const Copy_1 = __importDefault(require("./Copy.cjs"));
74
74
  const CopySuccess_1 = __importDefault(require("./CopySuccess.cjs"));
75
+ const CorporateFare_1 = __importDefault(require("./CorporateFare.cjs"));
75
76
  const CreditCheck_1 = __importDefault(require("./CreditCheck.cjs"));
76
77
  const CurrencyFranc_1 = __importDefault(require("./CurrencyFranc.cjs"));
77
78
  const CurrencyLira_1 = __importDefault(require("./CurrencyLira.cjs"));
@@ -179,6 +180,7 @@ const Plant_1 = __importDefault(require("./Plant.cjs"));
179
180
  const Plug_1 = __importDefault(require("./Plug.cjs"));
180
181
  const PlusAndMinus_1 = __importDefault(require("./PlusAndMinus.cjs"));
181
182
  const PolicyAlert_1 = __importDefault(require("./PolicyAlert.cjs"));
183
+ const PopUp_1 = __importDefault(require("./PopUp.cjs"));
182
184
  const Print_1 = __importDefault(require("./Print.cjs"));
183
185
  const PriorityHigh_1 = __importDefault(require("./PriorityHigh.cjs"));
184
186
  const PrivacyTip_1 = __importDefault(require("./PrivacyTip.cjs"));
@@ -219,6 +221,7 @@ const Share_1 = __importDefault(require("./Share.cjs"));
219
221
  const ShieldLock_1 = __importDefault(require("./ShieldLock.cjs"));
220
222
  const ShoppingBag_1 = __importDefault(require("./ShoppingBag.cjs"));
221
223
  const ShoppingCart_1 = __importDefault(require("./ShoppingCart.cjs"));
224
+ const SidePanel_1 = __importDefault(require("./SidePanel.cjs"));
222
225
  const SignalCellular_1 = __importDefault(require("./SignalCellular.cjs"));
223
226
  const Slash_1 = __importDefault(require("./Slash.cjs"));
224
227
  const Sms_1 = __importDefault(require("./Sms.cjs"));
@@ -350,6 +353,7 @@ exports.Icons = {
350
353
  Connect: Connect_1.default,
351
354
  Copy: Copy_1.default,
352
355
  CopySuccess: CopySuccess_1.default,
356
+ CorporateFare: CorporateFare_1.default,
353
357
  CreditCheck: CreditCheck_1.default,
354
358
  CurrencyFranc: CurrencyFranc_1.default,
355
359
  CurrencyLira: CurrencyLira_1.default,
@@ -457,6 +461,7 @@ exports.Icons = {
457
461
  Plug: Plug_1.default,
458
462
  PlusAndMinus: PlusAndMinus_1.default,
459
463
  PolicyAlert: PolicyAlert_1.default,
464
+ PopUp: PopUp_1.default,
460
465
  Print: Print_1.default,
461
466
  PriorityHigh: PriorityHigh_1.default,
462
467
  PrivacyTip: PrivacyTip_1.default,
@@ -497,6 +502,7 @@ exports.Icons = {
497
502
  ShieldLock: ShieldLock_1.default,
498
503
  ShoppingBag: ShoppingBag_1.default,
499
504
  ShoppingCart: ShoppingCart_1.default,
505
+ SidePanel: SidePanel_1.default,
500
506
  SignalCellular: SignalCellular_1.default,
501
507
  Slash: Slash_1.default,
502
508
  Sms: Sms_1.default,