@protonradio/proton-ui 0.12.13 → 0.12.14
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/dist/components/Icon/IconComponents/PayPalLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/PayPalLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/PayPalLogo.es.js +18 -18
- package/dist/components/Icon/IconComponents/PayPalLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.cjs.js +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.cjs.js.map +1 -1
- package/dist/components/Icon/IconComponents/SpotifyLogo.es.js +12 -21
- package/dist/components/Icon/IconComponents/SpotifyLogo.es.js.map +1 -1
- package/dist/components/Icon/IconComponents/WesternUnionLogo.cjs.js +2 -0
- package/dist/components/Icon/IconComponents/WesternUnionLogo.cjs.js.map +1 -0
- package/dist/components/Icon/IconComponents/WesternUnionLogo.es.js +41 -0
- package/dist/components/Icon/IconComponents/WesternUnionLogo.es.js.map +1 -0
- package/dist/components/Icon/IconProps.cjs.js +1 -1
- package/dist/components/Icon/IconProps.cjs.js.map +1 -1
- package/dist/components/Icon/IconProps.es.js +5 -4
- package/dist/components/Icon/IconProps.es.js.map +1 -1
- package/dist/icons.cjs.js +1 -1
- package/dist/icons.d.ts +7 -0
- package/dist/icons.es.js +36 -34
- package/dist/icons.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../node_modules/react/jsx-runtime.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../node_modules/react/jsx-runtime.cjs.js"),a=require("../IconProps.cjs.js");function l({size:o=16,"data-testid":e,ariaProps:c=a.DEFAULT_ARIA_PROPS}){return t.jsxRuntimeExports.jsxs("svg",{xmlns:a.DEFAULT_SVG_XMLNS,viewBox:"0 0 256 302",width:o,height:o,...c,"data-testid":e||a.getDefaultIconTestId("paypal-logo"),children:[t.jsxRuntimeExports.jsx("path",{fill:a.getBrandColor("paypal-logo"),d:"M217.168 23.507C203.234 7.625 178.046.816 145.823.816h-93.52A13.39 13.39 0 0 0 39.076 12.11L.136 259.077c-.774 4.87 2.997 9.28 7.933 9.28h57.736l14.5-91.971l-.45 2.88c1.033-6.501 6.593-11.296 13.177-11.296h27.436c53.898 0 96.101-21.892 108.429-85.221c.366-1.873.683-3.696.957-5.477q-2.334-1.236 0 0c3.671-23.407-.025-39.34-12.686-53.765"}),t.jsxRuntimeExports.jsx("path",{fill:"#179BD7",d:"M228.897 82.749c-12.328 63.32-54.53 85.221-108.429 85.221H93.024c-6.584 0-12.145 4.795-13.168 11.296L61.817 293.621c-.674 4.262 2.622 8.124 6.934 8.124h48.67a11.71 11.71 0 0 0 11.563-9.88l.474-2.48l9.173-58.136l.591-3.213a11.71 11.71 0 0 1 11.562-9.88h7.284c47.147 0 84.064-19.154 94.852-74.55c4.503-23.15 2.173-42.478-9.739-56.054c-3.613-4.112-8.1-7.508-13.327-10.28c-.283 1.79-.59 3.604-.957 5.477"}),t.jsxRuntimeExports.jsx("path",{fill:"#222D65",d:"M216.952 72.128a90 90 0 0 0-5.818-1.49a110 110 0 0 0-6.177-1.174c-7.408-1.199-15.5-1.765-24.19-1.765h-73.309a11.6 11.6 0 0 0-5.053 1.149a11.68 11.68 0 0 0-6.51 8.74l-15.582 98.798l-.45 2.88c1.025-6.501 6.585-11.296 13.17-11.296h27.444c53.898 0 96.1-21.892 108.428-85.221c.367-1.873.675-3.688.958-5.477q-4.682-2.47-10.14-4.279a83 83 0 0 0-2.77-.865"})]})}l.displayName="ProtonUIPayPalLogo";exports.PayPalLogo=l;
|
|
2
2
|
//# sourceMappingURL=PayPalLogo.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PayPalLogo.cjs.js","sources":["../../../../src/components/Icon/IconComponents/PayPalLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/**\n * PayPal brand logo (the \"P\" mark). Always uses PayPal's brand colors,\n * so the `color` prop is ignored. {@link IconProps}\n */\nexport function PayPalLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0
|
|
1
|
+
{"version":3,"file":"PayPalLogo.cjs.js","sources":["../../../../src/components/Icon/IconComponents/PayPalLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/**\n * PayPal brand logo (the \"P\" mark). Always uses PayPal's brand colors,\n * so the `color` prop is ignored. {@link IconProps}\n */\nexport function PayPalLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 256 302\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"paypal-logo\")}\n >\n <path\n fill={getBrandColor(\"paypal-logo\")}\n d=\"M217.168 23.507C203.234 7.625 178.046.816 145.823.816h-93.52A13.39 13.39 0 0 0 39.076 12.11L.136 259.077c-.774 4.87 2.997 9.28 7.933 9.28h57.736l14.5-91.971l-.45 2.88c1.033-6.501 6.593-11.296 13.177-11.296h27.436c53.898 0 96.101-21.892 108.429-85.221c.366-1.873.683-3.696.957-5.477q-2.334-1.236 0 0c3.671-23.407-.025-39.34-12.686-53.765\"\n />\n <path\n fill=\"#179BD7\"\n d=\"M228.897 82.749c-12.328 63.32-54.53 85.221-108.429 85.221H93.024c-6.584 0-12.145 4.795-13.168 11.296L61.817 293.621c-.674 4.262 2.622 8.124 6.934 8.124h48.67a11.71 11.71 0 0 0 11.563-9.88l.474-2.48l9.173-58.136l.591-3.213a11.71 11.71 0 0 1 11.562-9.88h7.284c47.147 0 84.064-19.154 94.852-74.55c4.503-23.15 2.173-42.478-9.739-56.054c-3.613-4.112-8.1-7.508-13.327-10.28c-.283 1.79-.59 3.604-.957 5.477\"\n />\n <path\n fill=\"#222D65\"\n d=\"M216.952 72.128a90 90 0 0 0-5.818-1.49a110 110 0 0 0-6.177-1.174c-7.408-1.199-15.5-1.765-24.19-1.765h-73.309a11.6 11.6 0 0 0-5.053 1.149a11.68 11.68 0 0 0-6.51 8.74l-15.582 98.798l-.45 2.88c1.025-6.501 6.585-11.296 13.17-11.296h27.444c53.898 0 96.1-21.892 108.428-85.221c.367-1.873.675-3.688.958-5.477q-4.682-2.47-10.14-4.279a83 83 0 0 0-2.77-.865\"\n />\n </svg>\n );\n}\n\nPayPalLogo.displayName = \"ProtonUIPayPalLogo\";\n"],"names":["PayPalLogo","size","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsxs","DEFAULT_SVG_XMLNS","getDefaultIconTestId","jsx","getBrandColor"],"mappings":"mLAYO,SAASA,EAAW,CACzB,KAAAC,EAAO,GACP,cAAeC,EACf,UAAAC,EAAYC,EAAAA,kBACd,EAAc,CACZ,OACEC,EAAAA,kBAAAA,KAAC,MAAA,CACC,MAAOC,EAAAA,kBACP,QAAQ,cACR,MAAOL,EACP,OAAQA,EACP,GAAGE,EACJ,cAAaD,GAAcK,EAAAA,qBAAqB,aAAa,EAE7D,SAAA,CAAAC,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAMC,EAAAA,cAAc,aAAa,EACjC,EAAE,kVAAA,CAAA,EAEJD,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAK,UACL,EAAE,iZAAA,CAAA,EAEJA,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAK,UACL,EAAE,6VAAA,CAAA,CACJ,CAAA,CAAA,CAGN,CAEAR,EAAW,YAAc"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { DEFAULT_ARIA_PROPS as
|
|
1
|
+
import { j as a } from "../../../node_modules/react/jsx-runtime.es.js";
|
|
2
|
+
import { DEFAULT_ARIA_PROPS as c, DEFAULT_SVG_XMLNS as h, getBrandColor as i, getDefaultIconTestId as s } from "../IconProps.es.js";
|
|
3
3
|
function d({
|
|
4
|
-
size:
|
|
4
|
+
size: l = 16,
|
|
5
5
|
"data-testid": t,
|
|
6
|
-
ariaProps: o =
|
|
6
|
+
ariaProps: o = c
|
|
7
7
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ a.jsxs(
|
|
9
9
|
"svg",
|
|
10
10
|
{
|
|
11
|
-
xmlns:
|
|
12
|
-
viewBox: "0 0
|
|
13
|
-
width:
|
|
14
|
-
height:
|
|
11
|
+
xmlns: h,
|
|
12
|
+
viewBox: "0 0 256 302",
|
|
13
|
+
width: l,
|
|
14
|
+
height: l,
|
|
15
15
|
...o,
|
|
16
16
|
"data-testid": t || s("paypal-logo"),
|
|
17
17
|
children: [
|
|
18
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ a.jsx(
|
|
19
19
|
"path",
|
|
20
20
|
{
|
|
21
|
-
fill: "
|
|
22
|
-
d: "
|
|
21
|
+
fill: i("paypal-logo"),
|
|
22
|
+
d: "M217.168 23.507C203.234 7.625 178.046.816 145.823.816h-93.52A13.39 13.39 0 0 0 39.076 12.11L.136 259.077c-.774 4.87 2.997 9.28 7.933 9.28h57.736l14.5-91.971l-.45 2.88c1.033-6.501 6.593-11.296 13.177-11.296h27.436c53.898 0 96.101-21.892 108.429-85.221c.366-1.873.683-3.696.957-5.477q-2.334-1.236 0 0c3.671-23.407-.025-39.34-12.686-53.765"
|
|
23
23
|
}
|
|
24
24
|
),
|
|
25
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ a.jsx(
|
|
26
26
|
"path",
|
|
27
27
|
{
|
|
28
|
-
fill: "#
|
|
29
|
-
d: "
|
|
28
|
+
fill: "#179BD7",
|
|
29
|
+
d: "M228.897 82.749c-12.328 63.32-54.53 85.221-108.429 85.221H93.024c-6.584 0-12.145 4.795-13.168 11.296L61.817 293.621c-.674 4.262 2.622 8.124 6.934 8.124h48.67a11.71 11.71 0 0 0 11.563-9.88l.474-2.48l9.173-58.136l.591-3.213a11.71 11.71 0 0 1 11.562-9.88h7.284c47.147 0 84.064-19.154 94.852-74.55c4.503-23.15 2.173-42.478-9.739-56.054c-3.613-4.112-8.1-7.508-13.327-10.28c-.283 1.79-.59 3.604-.957 5.477"
|
|
30
30
|
}
|
|
31
31
|
),
|
|
32
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ a.jsx(
|
|
33
33
|
"path",
|
|
34
34
|
{
|
|
35
|
-
fill:
|
|
36
|
-
d: "
|
|
35
|
+
fill: "#222D65",
|
|
36
|
+
d: "M216.952 72.128a90 90 0 0 0-5.818-1.49a110 110 0 0 0-6.177-1.174c-7.408-1.199-15.5-1.765-24.19-1.765h-73.309a11.6 11.6 0 0 0-5.053 1.149a11.68 11.68 0 0 0-6.51 8.74l-15.582 98.798l-.45 2.88c1.025-6.501 6.585-11.296 13.17-11.296h27.444c53.898 0 96.1-21.892 108.428-85.221c.367-1.873.675-3.688.958-5.477q-4.682-2.47-10.14-4.279a83 83 0 0 0-2.77-.865"
|
|
37
37
|
}
|
|
38
38
|
)
|
|
39
39
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PayPalLogo.es.js","sources":["../../../../src/components/Icon/IconComponents/PayPalLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/**\n * PayPal brand logo (the \"P\" mark). Always uses PayPal's brand colors,\n * so the `color` prop is ignored. {@link IconProps}\n */\nexport function PayPalLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0
|
|
1
|
+
{"version":3,"file":"PayPalLogo.es.js","sources":["../../../../src/components/Icon/IconComponents/PayPalLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/**\n * PayPal brand logo (the \"P\" mark). Always uses PayPal's brand colors,\n * so the `color` prop is ignored. {@link IconProps}\n */\nexport function PayPalLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 256 302\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"paypal-logo\")}\n >\n <path\n fill={getBrandColor(\"paypal-logo\")}\n d=\"M217.168 23.507C203.234 7.625 178.046.816 145.823.816h-93.52A13.39 13.39 0 0 0 39.076 12.11L.136 259.077c-.774 4.87 2.997 9.28 7.933 9.28h57.736l14.5-91.971l-.45 2.88c1.033-6.501 6.593-11.296 13.177-11.296h27.436c53.898 0 96.101-21.892 108.429-85.221c.366-1.873.683-3.696.957-5.477q-2.334-1.236 0 0c3.671-23.407-.025-39.34-12.686-53.765\"\n />\n <path\n fill=\"#179BD7\"\n d=\"M228.897 82.749c-12.328 63.32-54.53 85.221-108.429 85.221H93.024c-6.584 0-12.145 4.795-13.168 11.296L61.817 293.621c-.674 4.262 2.622 8.124 6.934 8.124h48.67a11.71 11.71 0 0 0 11.563-9.88l.474-2.48l9.173-58.136l.591-3.213a11.71 11.71 0 0 1 11.562-9.88h7.284c47.147 0 84.064-19.154 94.852-74.55c4.503-23.15 2.173-42.478-9.739-56.054c-3.613-4.112-8.1-7.508-13.327-10.28c-.283 1.79-.59 3.604-.957 5.477\"\n />\n <path\n fill=\"#222D65\"\n d=\"M216.952 72.128a90 90 0 0 0-5.818-1.49a110 110 0 0 0-6.177-1.174c-7.408-1.199-15.5-1.765-24.19-1.765h-73.309a11.6 11.6 0 0 0-5.053 1.149a11.68 11.68 0 0 0-6.51 8.74l-15.582 98.798l-.45 2.88c1.025-6.501 6.585-11.296 13.17-11.296h27.444c53.898 0 96.1-21.892 108.428-85.221c.367-1.873.675-3.688.958-5.477q-4.682-2.47-10.14-4.279a83 83 0 0 0-2.77-.865\"\n />\n </svg>\n );\n}\n\nPayPalLogo.displayName = \"ProtonUIPayPalLogo\";\n"],"names":["PayPalLogo","size","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsxs","DEFAULT_SVG_XMLNS","getDefaultIconTestId","jsx","getBrandColor"],"mappings":";;AAYO,SAASA,EAAW;AAAA,EACzB,MAAAC,IAAO;AAAA,EACP,eAAeC;AAAA,EACf,WAAAC,IAAYC;AACd,GAAc;AACZ,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAOC;AAAA,MACP,SAAQ;AAAA,MACR,OAAOL;AAAA,MACP,QAAQA;AAAA,MACP,GAAGE;AAAA,MACJ,eAAaD,KAAcK,EAAqB,aAAa;AAAA,MAE7D,UAAA;AAAA,QAAAC,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAc,aAAa;AAAA,YACjC,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,QAEJD,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,QAEJA,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAR,EAAW,cAAc;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../node_modules/react/jsx-runtime.cjs.js"),t=require("../IconProps.cjs.js");function s({size:o=16,color:i,"data-testid":r,ariaProps:n=t.DEFAULT_ARIA_PROPS}){return e.jsxRuntimeExports.jsx("svg",{xmlns:t.DEFAULT_SVG_XMLNS,viewBox:"0 0 496 512",width:o,height:o,...n,"data-testid":r||t.getDefaultIconTestId("spotify-logo"),children:e.jsxRuntimeExports.jsx("path",{fill:i||t.getBrandColor("spotify-logo"),d:"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"})})}s.displayName="ProtonUISpotifyLogo";exports.SpotifyLogo=s;
|
|
2
2
|
//# sourceMappingURL=SpotifyLogo.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotifyLogo.cjs.js","sources":["../../../../src/components/Icon/IconComponents/SpotifyLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Spotify brand logo. {@link IconProps} */\nexport function SpotifyLogo({\n size = 16,\n color,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 496 512\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"spotify-logo\")}\n >\n
|
|
1
|
+
{"version":3,"file":"SpotifyLogo.cjs.js","sources":["../../../../src/components/Icon/IconComponents/SpotifyLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Spotify brand logo. {@link IconProps} */\nexport function SpotifyLogo({\n size = 16,\n color,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 496 512\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"spotify-logo\")}\n >\n <path\n fill={color || getBrandColor(\"spotify-logo\")}\n d=\"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z\"\n />\n </svg>\n );\n}\n\nSpotifyLogo.displayName = \"ProtonUISpotifyLogo\";\n"],"names":["SpotifyLogo","size","color","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsx","DEFAULT_SVG_XMLNS","getDefaultIconTestId","getBrandColor"],"mappings":"mLASO,SAASA,EAAY,CAC1B,KAAAC,EAAO,GACP,MAAAC,EACA,cAAeC,EACf,UAAAC,EAAYC,EAAAA,kBACd,EAAc,CACZ,OACEC,EAAAA,kBAAAA,IAAC,MAAA,CACC,MAAOC,EAAAA,kBACP,QAAQ,cACR,MAAON,EACP,OAAQA,EACP,GAAGG,EACJ,cAAaD,GAAcK,EAAAA,qBAAqB,cAAc,EAEhE,SAAAF,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAMJ,GAASO,EAAAA,cAAc,cAAc,EAC3C,EAAE,uxBAAA,CAAA,CACJ,CAAA,CAGJ,CAEAT,EAAY,YAAc"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as t } from "../../../node_modules/react/jsx-runtime.es.js";
|
|
2
|
-
import { DEFAULT_ARIA_PROPS as r, DEFAULT_SVG_XMLNS as a, getBrandColor as d, getDefaultIconTestId as
|
|
2
|
+
import { DEFAULT_ARIA_PROPS as r, DEFAULT_SVG_XMLNS as a, getBrandColor as d, getDefaultIconTestId as m } from "../IconProps.es.js";
|
|
3
3
|
function p({
|
|
4
4
|
size: o = 16,
|
|
5
|
-
color:
|
|
6
|
-
"data-testid":
|
|
5
|
+
color: i,
|
|
6
|
+
"data-testid": s,
|
|
7
7
|
ariaProps: e = r
|
|
8
8
|
}) {
|
|
9
|
-
return /* @__PURE__ */ t.
|
|
9
|
+
return /* @__PURE__ */ t.jsx(
|
|
10
10
|
"svg",
|
|
11
11
|
{
|
|
12
12
|
xmlns: a,
|
|
@@ -14,23 +14,14 @@ function p({
|
|
|
14
14
|
width: o,
|
|
15
15
|
height: o,
|
|
16
16
|
...e,
|
|
17
|
-
"data-testid":
|
|
18
|
-
children:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
),
|
|
26
|
-
/* @__PURE__ */ t.jsx(
|
|
27
|
-
"path",
|
|
28
|
-
{
|
|
29
|
-
fill: "#000000",
|
|
30
|
-
d: "M406.6 231.1c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3zm-31 76.2c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm-26.9 65.6c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4z"
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
]
|
|
17
|
+
"data-testid": s || m("spotify-logo"),
|
|
18
|
+
children: /* @__PURE__ */ t.jsx(
|
|
19
|
+
"path",
|
|
20
|
+
{
|
|
21
|
+
fill: i || d("spotify-logo"),
|
|
22
|
+
d: "M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"
|
|
23
|
+
}
|
|
24
|
+
)
|
|
34
25
|
}
|
|
35
26
|
);
|
|
36
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotifyLogo.es.js","sources":["../../../../src/components/Icon/IconComponents/SpotifyLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Spotify brand logo. {@link IconProps} */\nexport function SpotifyLogo({\n size = 16,\n color,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 496 512\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"spotify-logo\")}\n >\n
|
|
1
|
+
{"version":3,"file":"SpotifyLogo.es.js","sources":["../../../../src/components/Icon/IconComponents/SpotifyLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Spotify brand logo. {@link IconProps} */\nexport function SpotifyLogo({\n size = 16,\n color,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 496 512\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"spotify-logo\")}\n >\n <path\n fill={color || getBrandColor(\"spotify-logo\")}\n d=\"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z\"\n />\n </svg>\n );\n}\n\nSpotifyLogo.displayName = \"ProtonUISpotifyLogo\";\n"],"names":["SpotifyLogo","size","color","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsx","DEFAULT_SVG_XMLNS","getDefaultIconTestId","getBrandColor"],"mappings":";;AASO,SAASA,EAAY;AAAA,EAC1B,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,eAAeC;AAAA,EACf,WAAAC,IAAYC;AACd,GAAc;AACZ,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAOC;AAAA,MACP,SAAQ;AAAA,MACR,OAAON;AAAA,MACP,QAAQA;AAAA,MACP,GAAGG;AAAA,MACJ,eAAaD,KAAcK,EAAqB,cAAc;AAAA,MAEhE,UAAAF,gBAAAA,EAAAA;AAAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAMJ,KAASO,EAAc,cAAc;AAAA,UAC3C,GAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IACJ;AAAA,EAAA;AAGJ;AAEAT,EAAY,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../../../node_modules/react/jsx-runtime.cjs.js"),t=require("../IconProps.cjs.js");function e({size:L=16,"data-testid":o,ariaProps:n=t.DEFAULT_ARIA_PROPS}){return C.jsxRuntimeExports.jsxs("svg",{xmlns:t.DEFAULT_SVG_XMLNS,viewBox:"0 0 24 24",width:L,height:L,...n,"data-testid":o||t.getDefaultIconTestId("western-union-logo"),children:[C.jsxRuntimeExports.jsx("rect",{width:"24",height:"24",rx:"3.8",fill:"#212A33"}),C.jsxRuntimeExports.jsx("path",{fill:"#FFFFFF",d:"M4.24 15.65C4.22 15.6 3.91 14.47 3.61 13.38C3.28 12.17 2.73 10.14 2.63 9.78C2.56 9.55 2.43 9.09 2.34 8.77C2.26 8.45 2.17 8.17 2.16 8.14C2.15 8.1 2.21 8.09 2.42 8.09L2.69 8.09L3.07 9.47C3.28 10.24 3.49 10.99 3.53 11.14C3.57 11.29 3.82 12.19 4.08 13.14C4.34 14.09 4.59 15.02 4.64 15.2C4.69 15.39 4.74 15.58 4.76 15.62C4.78 15.69 4.75 15.7 4.52 15.7C4.35 15.7 4.25 15.68 4.24 15.65ZM5.55 15.04C5.45 14.68 5.3 14.15 5.22 13.87C5.15 13.59 4.99 13.03 4.88 12.62C4.77 12.22 4.66 11.83 4.64 11.76C4.63 11.69 4.4 10.88 4.15 9.96C3.9 9.03 3.68 8.24 3.67 8.18C3.65 8.09 3.66 8.09 3.91 8.09L4.17 8.09L4.23 8.31C4.26 8.44 4.37 8.84 4.47 9.2C4.57 9.57 4.69 10 4.73 10.15C4.81 10.44 5.57 13.2 5.72 13.74C5.76 13.91 5.9 14.4 6.02 14.83C6.14 15.26 6.24 15.63 6.24 15.65C6.24 15.68 6.13 15.7 5.98 15.7L5.73 15.7L5.55 15.04Z"}),C.jsxRuntimeExports.jsx("path",{fill:t.getBrandColor("western-union-logo"),d:"M18.05 15.87C16.78 15.69 15.85 14.88 15.52 13.65C15.45 13.39 15.43 13.14 15.41 12.52L15.39 11.72L15.71 10.54C15.89 9.89 16.08 9.2 16.13 9.01C16.18 8.82 16.26 8.54 16.31 8.38L16.39 8.09L16.71 8.09L17.03 8.09L17.04 10.61C17.05 13.11 17.05 13.14 17.15 13.4C17.34 13.89 17.65 14.15 18.19 14.26C19.06 14.44 19.82 14.11 20.09 13.44L20.19 13.18L20.21 10.63L20.22 8.09L21.04 8.09L21.85 8.09L21.84 10.72C21.82 13.64 21.83 13.56 21.53 14.22C21.16 15 20.48 15.56 19.6 15.78C19.2 15.89 18.46 15.93 18.05 15.87ZM6.99 14.94C6.52 13.2 6.44 12.94 6.28 12.34C6.06 11.54 5.78 10.51 5.55 9.68C5.45 9.31 5.31 8.81 5.24 8.57C5.17 8.33 5.12 8.13 5.12 8.11C5.12 8.1 5.48 8.09 5.93 8.09L6.74 8.09L6.96 8.94C7.09 9.4 7.34 10.38 7.53 11.1C7.99 12.83 8 12.87 8.03 12.84C8.04 12.83 8.15 12.5 8.28 12.1C8.4 11.7 8.73 10.64 9.01 9.73L9.52 8.08L10.27 8.1L11.02 8.11L11.34 9.12C11.52 9.67 11.82 10.62 12.01 11.23C12.2 11.83 12.39 12.46 12.45 12.62L12.55 12.92L12.61 12.69C12.65 12.56 12.8 12 12.94 11.44C13.08 10.88 13.27 10.16 13.36 9.83C13.44 9.5 13.55 9.07 13.6 8.88C13.65 8.69 13.71 8.44 13.75 8.31L13.81 8.09L14.61 8.09C15.04 8.09 15.4 8.1 15.4 8.12C15.4 8.14 14.88 10.07 14.5 11.46C14.3 12.17 14.1 12.92 13.66 14.52L13.35 15.68L12.59 15.69L11.84 15.7L11.77 15.5C11.74 15.38 11.58 14.87 11.42 14.37C11.26 13.86 10.95 12.85 10.73 12.13C10.27 10.64 10.28 10.69 10.26 10.71C10.25 10.72 10.07 11.29 9.86 11.98C9.64 12.66 9.38 13.52 9.27 13.87C9.16 14.23 8.98 14.78 8.89 15.1L8.71 15.68L7.96 15.69L7.2 15.7L6.99 14.94Z"})]})}e.displayName="ProtonUIWesternUnionLogo";exports.WesternUnionLogo=e;
|
|
2
|
+
//# sourceMappingURL=WesternUnionLogo.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WesternUnionLogo.cjs.js","sources":["../../../../src/components/Icon/IconComponents/WesternUnionLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Western Union brand logo. Always uses brand colors. {@link IconProps} */\nexport function WesternUnionLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 24 24\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"western-union-logo\")}\n >\n <rect width=\"24\" height=\"24\" rx=\"3.8\" fill=\"#212A33\" />\n <path\n fill=\"#FFFFFF\"\n d=\"M4.24 15.65C4.22 15.6 3.91 14.47 3.61 13.38C3.28 12.17 2.73 10.14 2.63 9.78C2.56 9.55 2.43 9.09 2.34 8.77C2.26 8.45 2.17 8.17 2.16 8.14C2.15 8.1 2.21 8.09 2.42 8.09L2.69 8.09L3.07 9.47C3.28 10.24 3.49 10.99 3.53 11.14C3.57 11.29 3.82 12.19 4.08 13.14C4.34 14.09 4.59 15.02 4.64 15.2C4.69 15.39 4.74 15.58 4.76 15.62C4.78 15.69 4.75 15.7 4.52 15.7C4.35 15.7 4.25 15.68 4.24 15.65ZM5.55 15.04C5.45 14.68 5.3 14.15 5.22 13.87C5.15 13.59 4.99 13.03 4.88 12.62C4.77 12.22 4.66 11.83 4.64 11.76C4.63 11.69 4.4 10.88 4.15 9.96C3.9 9.03 3.68 8.24 3.67 8.18C3.65 8.09 3.66 8.09 3.91 8.09L4.17 8.09L4.23 8.31C4.26 8.44 4.37 8.84 4.47 9.2C4.57 9.57 4.69 10 4.73 10.15C4.81 10.44 5.57 13.2 5.72 13.74C5.76 13.91 5.9 14.4 6.02 14.83C6.14 15.26 6.24 15.63 6.24 15.65C6.24 15.68 6.13 15.7 5.98 15.7L5.73 15.7L5.55 15.04Z\"\n />\n <path\n fill={getBrandColor(\"western-union-logo\")}\n d=\"M18.05 15.87C16.78 15.69 15.85 14.88 15.52 13.65C15.45 13.39 15.43 13.14 15.41 12.52L15.39 11.72L15.71 10.54C15.89 9.89 16.08 9.2 16.13 9.01C16.18 8.82 16.26 8.54 16.31 8.38L16.39 8.09L16.71 8.09L17.03 8.09L17.04 10.61C17.05 13.11 17.05 13.14 17.15 13.4C17.34 13.89 17.65 14.15 18.19 14.26C19.06 14.44 19.82 14.11 20.09 13.44L20.19 13.18L20.21 10.63L20.22 8.09L21.04 8.09L21.85 8.09L21.84 10.72C21.82 13.64 21.83 13.56 21.53 14.22C21.16 15 20.48 15.56 19.6 15.78C19.2 15.89 18.46 15.93 18.05 15.87ZM6.99 14.94C6.52 13.2 6.44 12.94 6.28 12.34C6.06 11.54 5.78 10.51 5.55 9.68C5.45 9.31 5.31 8.81 5.24 8.57C5.17 8.33 5.12 8.13 5.12 8.11C5.12 8.1 5.48 8.09 5.93 8.09L6.74 8.09L6.96 8.94C7.09 9.4 7.34 10.38 7.53 11.1C7.99 12.83 8 12.87 8.03 12.84C8.04 12.83 8.15 12.5 8.28 12.1C8.4 11.7 8.73 10.64 9.01 9.73L9.52 8.08L10.27 8.1L11.02 8.11L11.34 9.12C11.52 9.67 11.82 10.62 12.01 11.23C12.2 11.83 12.39 12.46 12.45 12.62L12.55 12.92L12.61 12.69C12.65 12.56 12.8 12 12.94 11.44C13.08 10.88 13.27 10.16 13.36 9.83C13.44 9.5 13.55 9.07 13.6 8.88C13.65 8.69 13.71 8.44 13.75 8.31L13.81 8.09L14.61 8.09C15.04 8.09 15.4 8.1 15.4 8.12C15.4 8.14 14.88 10.07 14.5 11.46C14.3 12.17 14.1 12.92 13.66 14.52L13.35 15.68L12.59 15.69L11.84 15.7L11.77 15.5C11.74 15.38 11.58 14.87 11.42 14.37C11.26 13.86 10.95 12.85 10.73 12.13C10.27 10.64 10.28 10.69 10.26 10.71C10.25 10.72 10.07 11.29 9.86 11.98C9.64 12.66 9.38 13.52 9.27 13.87C9.16 14.23 8.98 14.78 8.89 15.1L8.71 15.68L7.96 15.69L7.2 15.7L6.99 14.94Z\"\n />\n </svg>\n );\n}\n\nWesternUnionLogo.displayName = \"ProtonUIWesternUnionLogo\";\n"],"names":["WesternUnionLogo","size","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsxs","DEFAULT_SVG_XMLNS","getDefaultIconTestId","jsx","getBrandColor"],"mappings":"mLASO,SAASA,EAAiB,CAC/B,KAAAC,EAAO,GACP,cAAeC,EACf,UAAAC,EAAYC,EAAAA,kBACd,EAAc,CACZ,OACEC,EAAAA,kBAAAA,KAAC,MAAA,CACC,MAAOC,EAAAA,kBACP,QAAQ,YACR,MAAOL,EACP,OAAQA,EACP,GAAGE,EACJ,cAAaD,GAAcK,EAAAA,qBAAqB,oBAAoB,EAEpE,SAAA,CAAAC,EAAAA,kBAAAA,IAAC,OAAA,CAAK,MAAM,KAAK,OAAO,KAAK,GAAG,MAAM,KAAK,SAAA,CAAU,EACrDA,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAK,UACL,EAAE,uyBAAA,CAAA,EAEJA,EAAAA,kBAAAA,IAAC,OAAA,CACC,KAAMC,EAAAA,cAAc,oBAAoB,EACxC,EAAE,g9CAAA,CAAA,CACJ,CAAA,CAAA,CAGN,CAEAT,EAAiB,YAAc"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { j as C } from "../../../node_modules/react/jsx-runtime.es.js";
|
|
2
|
+
import { DEFAULT_ARIA_PROPS as e, DEFAULT_SVG_XMLNS as n, getBrandColor as i, getDefaultIconTestId as r } from "../IconProps.es.js";
|
|
3
|
+
function s({
|
|
4
|
+
size: L = 16,
|
|
5
|
+
"data-testid": t,
|
|
6
|
+
ariaProps: o = e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ C.jsxs(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
xmlns: n,
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
width: L,
|
|
14
|
+
height: L,
|
|
15
|
+
...o,
|
|
16
|
+
"data-testid": t || r("western-union-logo"),
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ C.jsx("rect", { width: "24", height: "24", rx: "3.8", fill: "#212A33" }),
|
|
19
|
+
/* @__PURE__ */ C.jsx(
|
|
20
|
+
"path",
|
|
21
|
+
{
|
|
22
|
+
fill: "#FFFFFF",
|
|
23
|
+
d: "M4.24 15.65C4.22 15.6 3.91 14.47 3.61 13.38C3.28 12.17 2.73 10.14 2.63 9.78C2.56 9.55 2.43 9.09 2.34 8.77C2.26 8.45 2.17 8.17 2.16 8.14C2.15 8.1 2.21 8.09 2.42 8.09L2.69 8.09L3.07 9.47C3.28 10.24 3.49 10.99 3.53 11.14C3.57 11.29 3.82 12.19 4.08 13.14C4.34 14.09 4.59 15.02 4.64 15.2C4.69 15.39 4.74 15.58 4.76 15.62C4.78 15.69 4.75 15.7 4.52 15.7C4.35 15.7 4.25 15.68 4.24 15.65ZM5.55 15.04C5.45 14.68 5.3 14.15 5.22 13.87C5.15 13.59 4.99 13.03 4.88 12.62C4.77 12.22 4.66 11.83 4.64 11.76C4.63 11.69 4.4 10.88 4.15 9.96C3.9 9.03 3.68 8.24 3.67 8.18C3.65 8.09 3.66 8.09 3.91 8.09L4.17 8.09L4.23 8.31C4.26 8.44 4.37 8.84 4.47 9.2C4.57 9.57 4.69 10 4.73 10.15C4.81 10.44 5.57 13.2 5.72 13.74C5.76 13.91 5.9 14.4 6.02 14.83C6.14 15.26 6.24 15.63 6.24 15.65C6.24 15.68 6.13 15.7 5.98 15.7L5.73 15.7L5.55 15.04Z"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ C.jsx(
|
|
27
|
+
"path",
|
|
28
|
+
{
|
|
29
|
+
fill: i("western-union-logo"),
|
|
30
|
+
d: "M18.05 15.87C16.78 15.69 15.85 14.88 15.52 13.65C15.45 13.39 15.43 13.14 15.41 12.52L15.39 11.72L15.71 10.54C15.89 9.89 16.08 9.2 16.13 9.01C16.18 8.82 16.26 8.54 16.31 8.38L16.39 8.09L16.71 8.09L17.03 8.09L17.04 10.61C17.05 13.11 17.05 13.14 17.15 13.4C17.34 13.89 17.65 14.15 18.19 14.26C19.06 14.44 19.82 14.11 20.09 13.44L20.19 13.18L20.21 10.63L20.22 8.09L21.04 8.09L21.85 8.09L21.84 10.72C21.82 13.64 21.83 13.56 21.53 14.22C21.16 15 20.48 15.56 19.6 15.78C19.2 15.89 18.46 15.93 18.05 15.87ZM6.99 14.94C6.52 13.2 6.44 12.94 6.28 12.34C6.06 11.54 5.78 10.51 5.55 9.68C5.45 9.31 5.31 8.81 5.24 8.57C5.17 8.33 5.12 8.13 5.12 8.11C5.12 8.1 5.48 8.09 5.93 8.09L6.74 8.09L6.96 8.94C7.09 9.4 7.34 10.38 7.53 11.1C7.99 12.83 8 12.87 8.03 12.84C8.04 12.83 8.15 12.5 8.28 12.1C8.4 11.7 8.73 10.64 9.01 9.73L9.52 8.08L10.27 8.1L11.02 8.11L11.34 9.12C11.52 9.67 11.82 10.62 12.01 11.23C12.2 11.83 12.39 12.46 12.45 12.62L12.55 12.92L12.61 12.69C12.65 12.56 12.8 12 12.94 11.44C13.08 10.88 13.27 10.16 13.36 9.83C13.44 9.5 13.55 9.07 13.6 8.88C13.65 8.69 13.71 8.44 13.75 8.31L13.81 8.09L14.61 8.09C15.04 8.09 15.4 8.1 15.4 8.12C15.4 8.14 14.88 10.07 14.5 11.46C14.3 12.17 14.1 12.92 13.66 14.52L13.35 15.68L12.59 15.69L11.84 15.7L11.77 15.5C11.74 15.38 11.58 14.87 11.42 14.37C11.26 13.86 10.95 12.85 10.73 12.13C10.27 10.64 10.28 10.69 10.26 10.71C10.25 10.72 10.07 11.29 9.86 11.98C9.64 12.66 9.38 13.52 9.27 13.87C9.16 14.23 8.98 14.78 8.89 15.1L8.71 15.68L7.96 15.69L7.2 15.7L6.99 14.94Z"
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
s.displayName = "ProtonUIWesternUnionLogo";
|
|
38
|
+
export {
|
|
39
|
+
s as WesternUnionLogo
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=WesternUnionLogo.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WesternUnionLogo.es.js","sources":["../../../../src/components/Icon/IconComponents/WesternUnionLogo.tsx"],"sourcesContent":["import {\n type IconProps,\n DEFAULT_ARIA_PROPS,\n DEFAULT_SVG_XMLNS,\n getDefaultIconTestId,\n getBrandColor,\n} from \"../IconProps\";\n\n/** Western Union brand logo. Always uses brand colors. {@link IconProps} */\nexport function WesternUnionLogo({\n size = 16,\n \"data-testid\": dataTestId,\n ariaProps = DEFAULT_ARIA_PROPS,\n}: IconProps) {\n return (\n <svg\n xmlns={DEFAULT_SVG_XMLNS}\n viewBox=\"0 0 24 24\"\n width={size}\n height={size}\n {...ariaProps}\n data-testid={dataTestId || getDefaultIconTestId(\"western-union-logo\")}\n >\n <rect width=\"24\" height=\"24\" rx=\"3.8\" fill=\"#212A33\" />\n <path\n fill=\"#FFFFFF\"\n d=\"M4.24 15.65C4.22 15.6 3.91 14.47 3.61 13.38C3.28 12.17 2.73 10.14 2.63 9.78C2.56 9.55 2.43 9.09 2.34 8.77C2.26 8.45 2.17 8.17 2.16 8.14C2.15 8.1 2.21 8.09 2.42 8.09L2.69 8.09L3.07 9.47C3.28 10.24 3.49 10.99 3.53 11.14C3.57 11.29 3.82 12.19 4.08 13.14C4.34 14.09 4.59 15.02 4.64 15.2C4.69 15.39 4.74 15.58 4.76 15.62C4.78 15.69 4.75 15.7 4.52 15.7C4.35 15.7 4.25 15.68 4.24 15.65ZM5.55 15.04C5.45 14.68 5.3 14.15 5.22 13.87C5.15 13.59 4.99 13.03 4.88 12.62C4.77 12.22 4.66 11.83 4.64 11.76C4.63 11.69 4.4 10.88 4.15 9.96C3.9 9.03 3.68 8.24 3.67 8.18C3.65 8.09 3.66 8.09 3.91 8.09L4.17 8.09L4.23 8.31C4.26 8.44 4.37 8.84 4.47 9.2C4.57 9.57 4.69 10 4.73 10.15C4.81 10.44 5.57 13.2 5.72 13.74C5.76 13.91 5.9 14.4 6.02 14.83C6.14 15.26 6.24 15.63 6.24 15.65C6.24 15.68 6.13 15.7 5.98 15.7L5.73 15.7L5.55 15.04Z\"\n />\n <path\n fill={getBrandColor(\"western-union-logo\")}\n d=\"M18.05 15.87C16.78 15.69 15.85 14.88 15.52 13.65C15.45 13.39 15.43 13.14 15.41 12.52L15.39 11.72L15.71 10.54C15.89 9.89 16.08 9.2 16.13 9.01C16.18 8.82 16.26 8.54 16.31 8.38L16.39 8.09L16.71 8.09L17.03 8.09L17.04 10.61C17.05 13.11 17.05 13.14 17.15 13.4C17.34 13.89 17.65 14.15 18.19 14.26C19.06 14.44 19.82 14.11 20.09 13.44L20.19 13.18L20.21 10.63L20.22 8.09L21.04 8.09L21.85 8.09L21.84 10.72C21.82 13.64 21.83 13.56 21.53 14.22C21.16 15 20.48 15.56 19.6 15.78C19.2 15.89 18.46 15.93 18.05 15.87ZM6.99 14.94C6.52 13.2 6.44 12.94 6.28 12.34C6.06 11.54 5.78 10.51 5.55 9.68C5.45 9.31 5.31 8.81 5.24 8.57C5.17 8.33 5.12 8.13 5.12 8.11C5.12 8.1 5.48 8.09 5.93 8.09L6.74 8.09L6.96 8.94C7.09 9.4 7.34 10.38 7.53 11.1C7.99 12.83 8 12.87 8.03 12.84C8.04 12.83 8.15 12.5 8.28 12.1C8.4 11.7 8.73 10.64 9.01 9.73L9.52 8.08L10.27 8.1L11.02 8.11L11.34 9.12C11.52 9.67 11.82 10.62 12.01 11.23C12.2 11.83 12.39 12.46 12.45 12.62L12.55 12.92L12.61 12.69C12.65 12.56 12.8 12 12.94 11.44C13.08 10.88 13.27 10.16 13.36 9.83C13.44 9.5 13.55 9.07 13.6 8.88C13.65 8.69 13.71 8.44 13.75 8.31L13.81 8.09L14.61 8.09C15.04 8.09 15.4 8.1 15.4 8.12C15.4 8.14 14.88 10.07 14.5 11.46C14.3 12.17 14.1 12.92 13.66 14.52L13.35 15.68L12.59 15.69L11.84 15.7L11.77 15.5C11.74 15.38 11.58 14.87 11.42 14.37C11.26 13.86 10.95 12.85 10.73 12.13C10.27 10.64 10.28 10.69 10.26 10.71C10.25 10.72 10.07 11.29 9.86 11.98C9.64 12.66 9.38 13.52 9.27 13.87C9.16 14.23 8.98 14.78 8.89 15.1L8.71 15.68L7.96 15.69L7.2 15.7L6.99 14.94Z\"\n />\n </svg>\n );\n}\n\nWesternUnionLogo.displayName = \"ProtonUIWesternUnionLogo\";\n"],"names":["WesternUnionLogo","size","dataTestId","ariaProps","DEFAULT_ARIA_PROPS","jsxs","DEFAULT_SVG_XMLNS","getDefaultIconTestId","jsx","getBrandColor"],"mappings":";;AASO,SAASA,EAAiB;AAAA,EAC/B,MAAAC,IAAO;AAAA,EACP,eAAeC;AAAA,EACf,WAAAC,IAAYC;AACd,GAAc;AACZ,SACEC,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAOC;AAAA,MACP,SAAQ;AAAA,MACR,OAAOL;AAAA,MACP,QAAQA;AAAA,MACP,GAAGE;AAAA,MACJ,eAAaD,KAAcK,EAAqB,oBAAoB;AAAA,MAEpE,UAAA;AAAA,QAAAC,gBAAAA,EAAAA,IAAC,QAAA,EAAK,OAAM,MAAK,QAAO,MAAK,IAAG,OAAM,MAAK,UAAA,CAAU;AAAA,QACrDA,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,QAEJA,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAc,oBAAoB;AAAA,YACxC,GAAE;AAAA,UAAA;AAAA,QAAA;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAT,EAAiB,cAAc;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="http://www.w3.org/2000/svg",e={"amazon-music-logo":"#19CDD5","apple-music-logo":"#ff2d55","bandcamp-logo":"#1D8FB6","beatport-logo":"#01FF95","deezer-logo":"#8F00FF","dropbox-logo":"#0061FF","facebook-logo":"#1877f2","google-drive-logo":"#4688F4","instagram-logo":"#000000","intercom-logo":"#120D0C","messenger-logo":"#0088cc","paypal-logo":"#253B80","proton-logo":"#e26014","soundcloud-logo":"#ff8800","spotify-logo":"#1ed760","telegram-logo":"#0088cc","tiktok-logo":"#010101","traxsource-logo":"#40a0ff","usdc-logo":"#2775CA","western-union-logo":"#FFDD00","whatsapp-logo-thick":"#25d366","whatsapp-logo-thin":"#25d366","x-twitter-logo":"#1da1f2","yandex-logo":"#FED42B","youtube-logo":"#ff0000"},l={"aria-hidden":"true",focusable:"false"};function g(o){return`icon:${o}`}function r(o){return e[o]||"currentColor"}exports.DEFAULT_ARIA_PROPS=l;exports.DEFAULT_BRAND_COLORS=e;exports.DEFAULT_SVG_XMLNS=t;exports.getBrandColor=r;exports.getDefaultIconTestId=g;
|
|
2
2
|
//# sourceMappingURL=IconProps.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconProps.cjs.js","sources":["../../../src/components/Icon/IconProps.ts"],"sourcesContent":["import { ProtonStyleSheet } from \"../../design\";\n\nexport type ProtonColorVariable = Extract<\n keyof ProtonStyleSheet,\n `--proton-color__${string}`\n>;\n/** Prefer these for icon color so they respect theme. */\nexport type ProtonIconColor = `var(${ProtonColorVariable})`;\n\nexport const DEFAULT_SVG_XMLNS = \"http://www.w3.org/2000/svg\";\n\nexport const DEFAULT_BRAND_COLORS: Record<string, string> = {\n \"amazon-music-logo\": \"#19CDD5\",\n \"apple-music-logo\": \"#ff2d55\",\n \"bandcamp-logo\": \"#1D8FB6\",\n \"beatport-logo\": \"#01FF95\",\n \"deezer-logo\": \"#8F00FF\",\n \"dropbox-logo\": \"#0061FF\",\n \"facebook-logo\": \"#1877f2\",\n \"google-drive-logo\": \"#4688F4\",\n \"instagram-logo\": \"#000000\",\n \"intercom-logo\": \"#120D0C\",\n \"messenger-logo\": \"#0088cc\",\n \"paypal-logo\": \"#253B80\",\n \"proton-logo\": \"#e26014\",\n \"soundcloud-logo\": \"#ff8800\",\n \"spotify-logo\": \"#1ed760\",\n \"telegram-logo\": \"#0088cc\",\n \"tiktok-logo\": \"#010101\",\n \"traxsource-logo\": \"#40a0ff\",\n \"usdc-logo\": \"#2775CA\",\n \"whatsapp-logo-thick\": \"#25d366\",\n \"whatsapp-logo-thin\": \"#25d366\",\n \"x-twitter-logo\": \"#1da1f2\",\n \"yandex-logo\": \"#FED42B\",\n \"youtube-logo\": \"#ff0000\",\n};\n\nexport const DEFAULT_ARIA_PROPS: Record<string, string> = {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n};\n\nexport function getDefaultIconTestId(componentName: string): string {\n return `icon:${componentName}`;\n}\n\nexport function getBrandColor(logoName: string): string {\n return DEFAULT_BRAND_COLORS[logoName] || \"currentColor\";\n}\n\n/**\n * Props shared by all decorative icon components.\n *\n * #### Available icons\n *\n * Storybook: @external https://main--6707087fc1d3b8bc748a0474.chromatic.com/?path=/docs/components-icon--docs\n *\n * Github: @external https://github.com/protonradio/proton-ui/tree/main/src/components/Icon/index.ts\n */\nexport interface IconProps {\n /**\n * Aria attributes for the icon. Icons are decorative by default.\n * @default { \"aria-hidden\": \"true\", focusable: \"false\" }\n */\n ariaProps?: Record<string, string>;\n /**\n * Icon color.\n * Prefer Proton theme tokens, e.g. `var(--proton-color__primary)`, `var(--proton-color__gray-medium)`.\n * @default for non logo icons is `currentColor`\n * @default for logo icons is the logos corresponding brand value\n * @see {@link DEFAULT_BRAND_COLORS}\n */\n color?: ProtonIconColor | string;\n /**\n * data-testid for the root SVG. When omitted, defaults to `icon:${componentName}`.\n */\n \"data-testid\"?: string;\n /**\n * Size of the icon. Accepts any CSS unit string.\n * @default 16\n */\n size?: string | number;\n}\n"],"names":["DEFAULT_SVG_XMLNS","DEFAULT_BRAND_COLORS","DEFAULT_ARIA_PROPS","getDefaultIconTestId","componentName","getBrandColor","logoName"],"mappings":"gFASO,MAAMA,EAAoB,6BAEpBC,EAA+C,CAC1D,oBAAqB,UACrB,mBAAoB,UACpB,gBAAiB,UACjB,gBAAiB,UACjB,cAAe,UACf,eAAgB,UAChB,gBAAiB,UACjB,oBAAqB,UACrB,iBAAkB,UAClB,gBAAiB,UACjB,iBAAkB,UAClB,cAAe,UACf,cAAe,UACf,kBAAmB,UACnB,eAAgB,UAChB,gBAAiB,UACjB,cAAe,UACf,kBAAmB,UACnB,YAAa,UACb,sBAAuB,UACvB,qBAAsB,UACtB,iBAAkB,UAClB,cAAe,UACf,eAAgB,SAClB,EAEaC,EAA6C,CACxD,cAAe,OACf,UAAW,OACb,EAEO,SAASC,EAAqBC,EAA+B,CAClE,MAAO,QAAQA,CAAa,EAC9B,CAEO,SAASC,EAAcC,EAA0B,CACtD,OAAOL,EAAqBK,CAAQ,GAAK,cAC3C"}
|
|
1
|
+
{"version":3,"file":"IconProps.cjs.js","sources":["../../../src/components/Icon/IconProps.ts"],"sourcesContent":["import { ProtonStyleSheet } from \"../../design\";\n\nexport type ProtonColorVariable = Extract<\n keyof ProtonStyleSheet,\n `--proton-color__${string}`\n>;\n/** Prefer these for icon color so they respect theme. */\nexport type ProtonIconColor = `var(${ProtonColorVariable})`;\n\nexport const DEFAULT_SVG_XMLNS = \"http://www.w3.org/2000/svg\";\n\nexport const DEFAULT_BRAND_COLORS: Record<string, string> = {\n \"amazon-music-logo\": \"#19CDD5\",\n \"apple-music-logo\": \"#ff2d55\",\n \"bandcamp-logo\": \"#1D8FB6\",\n \"beatport-logo\": \"#01FF95\",\n \"deezer-logo\": \"#8F00FF\",\n \"dropbox-logo\": \"#0061FF\",\n \"facebook-logo\": \"#1877f2\",\n \"google-drive-logo\": \"#4688F4\",\n \"instagram-logo\": \"#000000\",\n \"intercom-logo\": \"#120D0C\",\n \"messenger-logo\": \"#0088cc\",\n \"paypal-logo\": \"#253B80\",\n \"proton-logo\": \"#e26014\",\n \"soundcloud-logo\": \"#ff8800\",\n \"spotify-logo\": \"#1ed760\",\n \"telegram-logo\": \"#0088cc\",\n \"tiktok-logo\": \"#010101\",\n \"traxsource-logo\": \"#40a0ff\",\n \"usdc-logo\": \"#2775CA\",\n \"western-union-logo\": \"#FFDD00\",\n \"whatsapp-logo-thick\": \"#25d366\",\n \"whatsapp-logo-thin\": \"#25d366\",\n \"x-twitter-logo\": \"#1da1f2\",\n \"yandex-logo\": \"#FED42B\",\n \"youtube-logo\": \"#ff0000\",\n};\n\nexport const DEFAULT_ARIA_PROPS: Record<string, string> = {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n};\n\nexport function getDefaultIconTestId(componentName: string): string {\n return `icon:${componentName}`;\n}\n\nexport function getBrandColor(logoName: string): string {\n return DEFAULT_BRAND_COLORS[logoName] || \"currentColor\";\n}\n\n/**\n * Props shared by all decorative icon components.\n *\n * #### Available icons\n *\n * Storybook: @external https://main--6707087fc1d3b8bc748a0474.chromatic.com/?path=/docs/components-icon--docs\n *\n * Github: @external https://github.com/protonradio/proton-ui/tree/main/src/components/Icon/index.ts\n */\nexport interface IconProps {\n /**\n * Aria attributes for the icon. Icons are decorative by default.\n * @default { \"aria-hidden\": \"true\", focusable: \"false\" }\n */\n ariaProps?: Record<string, string>;\n /**\n * Icon color.\n * Prefer Proton theme tokens, e.g. `var(--proton-color__primary)`, `var(--proton-color__gray-medium)`.\n * @default for non logo icons is `currentColor`\n * @default for logo icons is the logos corresponding brand value\n * @see {@link DEFAULT_BRAND_COLORS}\n */\n color?: ProtonIconColor | string;\n /**\n * data-testid for the root SVG. When omitted, defaults to `icon:${componentName}`.\n */\n \"data-testid\"?: string;\n /**\n * Size of the icon. Accepts any CSS unit string.\n * @default 16\n */\n size?: string | number;\n}\n"],"names":["DEFAULT_SVG_XMLNS","DEFAULT_BRAND_COLORS","DEFAULT_ARIA_PROPS","getDefaultIconTestId","componentName","getBrandColor","logoName"],"mappings":"gFASO,MAAMA,EAAoB,6BAEpBC,EAA+C,CAC1D,oBAAqB,UACrB,mBAAoB,UACpB,gBAAiB,UACjB,gBAAiB,UACjB,cAAe,UACf,eAAgB,UAChB,gBAAiB,UACjB,oBAAqB,UACrB,iBAAkB,UAClB,gBAAiB,UACjB,iBAAkB,UAClB,cAAe,UACf,cAAe,UACf,kBAAmB,UACnB,eAAgB,UAChB,gBAAiB,UACjB,cAAe,UACf,kBAAmB,UACnB,YAAa,UACb,qBAAsB,UACtB,sBAAuB,UACvB,qBAAsB,UACtB,iBAAkB,UAClB,cAAe,UACf,eAAgB,SAClB,EAEaC,EAA6C,CACxD,cAAe,OACf,UAAW,OACb,EAEO,SAASC,EAAqBC,EAA+B,CAClE,MAAO,QAAQA,CAAa,EAC9B,CAEO,SAASC,EAAcC,EAA0B,CACtD,OAAOL,EAAqBK,CAAQ,GAAK,cAC3C"}
|
|
@@ -18,26 +18,27 @@ const t = "http://www.w3.org/2000/svg", l = {
|
|
|
18
18
|
"tiktok-logo": "#010101",
|
|
19
19
|
"traxsource-logo": "#40a0ff",
|
|
20
20
|
"usdc-logo": "#2775CA",
|
|
21
|
+
"western-union-logo": "#FFDD00",
|
|
21
22
|
"whatsapp-logo-thick": "#25d366",
|
|
22
23
|
"whatsapp-logo-thin": "#25d366",
|
|
23
24
|
"x-twitter-logo": "#1da1f2",
|
|
24
25
|
"yandex-logo": "#FED42B",
|
|
25
26
|
"youtube-logo": "#ff0000"
|
|
26
|
-
},
|
|
27
|
+
}, e = {
|
|
27
28
|
"aria-hidden": "true",
|
|
28
29
|
focusable: "false"
|
|
29
30
|
};
|
|
30
|
-
function
|
|
31
|
+
function g(o) {
|
|
31
32
|
return `icon:${o}`;
|
|
32
33
|
}
|
|
33
34
|
function a(o) {
|
|
34
35
|
return l[o] || "currentColor";
|
|
35
36
|
}
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
e as DEFAULT_ARIA_PROPS,
|
|
38
39
|
l as DEFAULT_BRAND_COLORS,
|
|
39
40
|
t as DEFAULT_SVG_XMLNS,
|
|
40
41
|
a as getBrandColor,
|
|
41
|
-
|
|
42
|
+
g as getDefaultIconTestId
|
|
42
43
|
};
|
|
43
44
|
//# sourceMappingURL=IconProps.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconProps.es.js","sources":["../../../src/components/Icon/IconProps.ts"],"sourcesContent":["import { ProtonStyleSheet } from \"../../design\";\n\nexport type ProtonColorVariable = Extract<\n keyof ProtonStyleSheet,\n `--proton-color__${string}`\n>;\n/** Prefer these for icon color so they respect theme. */\nexport type ProtonIconColor = `var(${ProtonColorVariable})`;\n\nexport const DEFAULT_SVG_XMLNS = \"http://www.w3.org/2000/svg\";\n\nexport const DEFAULT_BRAND_COLORS: Record<string, string> = {\n \"amazon-music-logo\": \"#19CDD5\",\n \"apple-music-logo\": \"#ff2d55\",\n \"bandcamp-logo\": \"#1D8FB6\",\n \"beatport-logo\": \"#01FF95\",\n \"deezer-logo\": \"#8F00FF\",\n \"dropbox-logo\": \"#0061FF\",\n \"facebook-logo\": \"#1877f2\",\n \"google-drive-logo\": \"#4688F4\",\n \"instagram-logo\": \"#000000\",\n \"intercom-logo\": \"#120D0C\",\n \"messenger-logo\": \"#0088cc\",\n \"paypal-logo\": \"#253B80\",\n \"proton-logo\": \"#e26014\",\n \"soundcloud-logo\": \"#ff8800\",\n \"spotify-logo\": \"#1ed760\",\n \"telegram-logo\": \"#0088cc\",\n \"tiktok-logo\": \"#010101\",\n \"traxsource-logo\": \"#40a0ff\",\n \"usdc-logo\": \"#2775CA\",\n \"whatsapp-logo-thick\": \"#25d366\",\n \"whatsapp-logo-thin\": \"#25d366\",\n \"x-twitter-logo\": \"#1da1f2\",\n \"yandex-logo\": \"#FED42B\",\n \"youtube-logo\": \"#ff0000\",\n};\n\nexport const DEFAULT_ARIA_PROPS: Record<string, string> = {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n};\n\nexport function getDefaultIconTestId(componentName: string): string {\n return `icon:${componentName}`;\n}\n\nexport function getBrandColor(logoName: string): string {\n return DEFAULT_BRAND_COLORS[logoName] || \"currentColor\";\n}\n\n/**\n * Props shared by all decorative icon components.\n *\n * #### Available icons\n *\n * Storybook: @external https://main--6707087fc1d3b8bc748a0474.chromatic.com/?path=/docs/components-icon--docs\n *\n * Github: @external https://github.com/protonradio/proton-ui/tree/main/src/components/Icon/index.ts\n */\nexport interface IconProps {\n /**\n * Aria attributes for the icon. Icons are decorative by default.\n * @default { \"aria-hidden\": \"true\", focusable: \"false\" }\n */\n ariaProps?: Record<string, string>;\n /**\n * Icon color.\n * Prefer Proton theme tokens, e.g. `var(--proton-color__primary)`, `var(--proton-color__gray-medium)`.\n * @default for non logo icons is `currentColor`\n * @default for logo icons is the logos corresponding brand value\n * @see {@link DEFAULT_BRAND_COLORS}\n */\n color?: ProtonIconColor | string;\n /**\n * data-testid for the root SVG. When omitted, defaults to `icon:${componentName}`.\n */\n \"data-testid\"?: string;\n /**\n * Size of the icon. Accepts any CSS unit string.\n * @default 16\n */\n size?: string | number;\n}\n"],"names":["DEFAULT_SVG_XMLNS","DEFAULT_BRAND_COLORS","DEFAULT_ARIA_PROPS","getDefaultIconTestId","componentName","getBrandColor","logoName"],"mappings":"AASO,MAAMA,IAAoB,8BAEpBC,IAA+C;AAAA,EAC1D,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAClB,GAEaC,IAA6C;AAAA,EACxD,eAAe;AAAA,EACf,WAAW;AACb;AAEO,SAASC,EAAqBC,GAA+B;AAClE,SAAO,QAAQA,CAAa;AAC9B;AAEO,SAASC,EAAcC,GAA0B;AACtD,SAAOL,EAAqBK,CAAQ,KAAK;AAC3C;"}
|
|
1
|
+
{"version":3,"file":"IconProps.es.js","sources":["../../../src/components/Icon/IconProps.ts"],"sourcesContent":["import { ProtonStyleSheet } from \"../../design\";\n\nexport type ProtonColorVariable = Extract<\n keyof ProtonStyleSheet,\n `--proton-color__${string}`\n>;\n/** Prefer these for icon color so they respect theme. */\nexport type ProtonIconColor = `var(${ProtonColorVariable})`;\n\nexport const DEFAULT_SVG_XMLNS = \"http://www.w3.org/2000/svg\";\n\nexport const DEFAULT_BRAND_COLORS: Record<string, string> = {\n \"amazon-music-logo\": \"#19CDD5\",\n \"apple-music-logo\": \"#ff2d55\",\n \"bandcamp-logo\": \"#1D8FB6\",\n \"beatport-logo\": \"#01FF95\",\n \"deezer-logo\": \"#8F00FF\",\n \"dropbox-logo\": \"#0061FF\",\n \"facebook-logo\": \"#1877f2\",\n \"google-drive-logo\": \"#4688F4\",\n \"instagram-logo\": \"#000000\",\n \"intercom-logo\": \"#120D0C\",\n \"messenger-logo\": \"#0088cc\",\n \"paypal-logo\": \"#253B80\",\n \"proton-logo\": \"#e26014\",\n \"soundcloud-logo\": \"#ff8800\",\n \"spotify-logo\": \"#1ed760\",\n \"telegram-logo\": \"#0088cc\",\n \"tiktok-logo\": \"#010101\",\n \"traxsource-logo\": \"#40a0ff\",\n \"usdc-logo\": \"#2775CA\",\n \"western-union-logo\": \"#FFDD00\",\n \"whatsapp-logo-thick\": \"#25d366\",\n \"whatsapp-logo-thin\": \"#25d366\",\n \"x-twitter-logo\": \"#1da1f2\",\n \"yandex-logo\": \"#FED42B\",\n \"youtube-logo\": \"#ff0000\",\n};\n\nexport const DEFAULT_ARIA_PROPS: Record<string, string> = {\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n};\n\nexport function getDefaultIconTestId(componentName: string): string {\n return `icon:${componentName}`;\n}\n\nexport function getBrandColor(logoName: string): string {\n return DEFAULT_BRAND_COLORS[logoName] || \"currentColor\";\n}\n\n/**\n * Props shared by all decorative icon components.\n *\n * #### Available icons\n *\n * Storybook: @external https://main--6707087fc1d3b8bc748a0474.chromatic.com/?path=/docs/components-icon--docs\n *\n * Github: @external https://github.com/protonradio/proton-ui/tree/main/src/components/Icon/index.ts\n */\nexport interface IconProps {\n /**\n * Aria attributes for the icon. Icons are decorative by default.\n * @default { \"aria-hidden\": \"true\", focusable: \"false\" }\n */\n ariaProps?: Record<string, string>;\n /**\n * Icon color.\n * Prefer Proton theme tokens, e.g. `var(--proton-color__primary)`, `var(--proton-color__gray-medium)`.\n * @default for non logo icons is `currentColor`\n * @default for logo icons is the logos corresponding brand value\n * @see {@link DEFAULT_BRAND_COLORS}\n */\n color?: ProtonIconColor | string;\n /**\n * data-testid for the root SVG. When omitted, defaults to `icon:${componentName}`.\n */\n \"data-testid\"?: string;\n /**\n * Size of the icon. Accepts any CSS unit string.\n * @default 16\n */\n size?: string | number;\n}\n"],"names":["DEFAULT_SVG_XMLNS","DEFAULT_BRAND_COLORS","DEFAULT_ARIA_PROPS","getDefaultIconTestId","componentName","getBrandColor","logoName"],"mappings":"AASO,MAAMA,IAAoB,8BAEpBC,IAA+C;AAAA,EAC1D,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAClB,GAEaC,IAA6C;AAAA,EACxD,eAAe;AAAA,EACf,WAAW;AACb;AAEO,SAASC,EAAqBC,GAA+B;AAClE,SAAO,QAAQA,CAAa;AAC9B;AAEO,SAASC,EAAcC,GAA0B;AACtD,SAAOL,EAAqBK,CAAQ,KAAK;AAC3C;"}
|
package/dist/icons.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/Icon/IconComponents/AlertCircle.cjs.js"),o=require("./components/Icon/IconComponents/AmazonMusicLogo.cjs.js"),r=require("./components/Icon/IconComponents/AppleLogo.cjs.js"),n=require("./components/Icon/IconComponents/AppleMusicLogo.cjs.js"),i=require("./components/Icon/IconComponents/Archive.cjs.js"),t=require("./components/Icon/IconComponents/ArrowLeft.cjs.js"),c=require("./components/Icon/IconComponents/ArrowRight.cjs.js"),s=require("./components/Icon/IconComponents/BandcampLogo.cjs.js"),a=require("./components/Icon/IconComponents/Bank.cjs.js"),u=require("./components/Icon/IconComponents/BeatportLogo.cjs.js"),g=require("./components/Icon/IconComponents/Bell.cjs.js"),L=require("./components/Icon/IconComponents/Box.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/Icon/IconComponents/AlertCircle.cjs.js"),o=require("./components/Icon/IconComponents/AmazonMusicLogo.cjs.js"),r=require("./components/Icon/IconComponents/AppleLogo.cjs.js"),n=require("./components/Icon/IconComponents/AppleMusicLogo.cjs.js"),i=require("./components/Icon/IconComponents/Archive.cjs.js"),t=require("./components/Icon/IconComponents/ArrowLeft.cjs.js"),c=require("./components/Icon/IconComponents/ArrowRight.cjs.js"),s=require("./components/Icon/IconComponents/BandcampLogo.cjs.js"),a=require("./components/Icon/IconComponents/Bank.cjs.js"),u=require("./components/Icon/IconComponents/BeatportLogo.cjs.js"),g=require("./components/Icon/IconComponents/Bell.cjs.js"),L=require("./components/Icon/IconComponents/Box.cjs.js"),q=require("./components/Icon/IconComponents/Calendar.cjs.js"),l=require("./components/Icon/IconComponents/Camera.cjs.js"),h=require("./components/Icon/IconComponents/CaretDown.cjs.js"),C=require("./components/Icon/IconComponents/CaretRight.cjs.js"),p=require("./components/Icon/IconComponents/Chart.cjs.js"),k=require("./components/Icon/IconComponents/Chatboxes.cjs.js"),d=require("./components/Icon/IconComponents/CheckCircle.cjs.js"),m=require("./components/Icon/IconComponents/Checkmark.cjs.js"),T=require("./components/Icon/IconComponents/ChevronDown.cjs.js"),S=require("./components/Icon/IconComponents/ChevronLeft.cjs.js"),D=require("./components/Icon/IconComponents/ChevronRight.cjs.js"),b=require("./components/Icon/IconComponents/ChevronSquareDown.cjs.js"),P=require("./components/Icon/IconComponents/ChevronUp.cjs.js"),y=require("./components/Icon/IconComponents/Close.cjs.js"),v=require("./components/Icon/IconComponents/Cog.cjs.js"),A=require("./components/Icon/IconComponents/Comment.cjs.js"),w=require("./components/Icon/IconComponents/Connections.cjs.js"),f=require("./components/Icon/IconComponents/Copy.cjs.js"),M=require("./components/Icon/IconComponents/DangerCircle.cjs.js"),x=require("./components/Icon/IconComponents/Dashboard.cjs.js"),B=require("./components/Icon/IconComponents/DeezerLogo.cjs.js"),R=require("./components/Icon/IconComponents/Download.cjs.js"),U=require("./components/Icon/IconComponents/DragHandle.cjs.js"),E=require("./components/Icon/IconComponents/DropboxLogo.cjs.js"),H=require("./components/Icon/IconComponents/Edit.cjs.js"),I=require("./components/Icon/IconComponents/Ellipsis.cjs.js"),W=require("./components/Icon/IconComponents/EmailThick.cjs.js"),O=require("./components/Icon/IconComponents/EmailThin.cjs.js"),G=require("./components/Icon/IconComponents/ExternalLink.cjs.js"),z=require("./components/Icon/IconComponents/FacebookLogo.cjs.js"),F=require("./components/Icon/IconComponents/Filter.cjs.js"),Y=require("./components/Icon/IconComponents/GitHubLogo.cjs.js"),N=require("./components/Icon/IconComponents/Globe.cjs.js"),Q=require("./components/Icon/IconComponents/GoogleDriveLogo.cjs.js"),V=require("./components/Icon/IconComponents/Hamburger.cjs.js"),X=require("./components/Icon/IconComponents/Heartbeat.cjs.js"),j=require("./components/Icon/IconComponents/Info.cjs.js"),J=require("./components/Icon/IconComponents/InfoOutline.cjs.js"),K=require("./components/Icon/IconComponents/InstagramLogo.cjs.js"),Z=require("./components/Icon/IconComponents/IntercomLogo.cjs.js"),_=require("./components/Icon/IconComponents/Label.cjs.js"),$=require("./components/Icon/IconComponents/Lightning.cjs.js"),ee=require("./components/Icon/IconComponents/Link.cjs.js"),oe=require("./components/Icon/IconComponents/List.cjs.js"),re=require("./components/Icon/IconComponents/Lock.cjs.js"),ne=require("./components/Icon/IconComponents/MessengerLogo.cjs.js"),ie=require("./components/Icon/IconComponents/Money.cjs.js"),te=require("./components/Icon/IconComponents/MoneyOutline.cjs.js"),ce=require("./components/Icon/IconComponents/MusicNote.cjs.js"),se=require("./components/Icon/IconComponents/PacmanLoader.cjs.js"),ae=require("./components/Icon/IconComponents/Pause.cjs.js"),ue=require("./components/Icon/IconComponents/PayPalLogo.cjs.js"),ge=require("./components/Icon/IconComponents/Pencil.cjs.js"),Le=require("./components/Icon/IconComponents/PhoneThick.cjs.js"),qe=require("./components/Icon/IconComponents/PhoneThin.cjs.js"),le=require("./components/Icon/IconComponents/PiggyBank.cjs.js"),he=require("./components/Icon/IconComponents/Play.cjs.js"),Ce=require("./components/Icon/IconComponents/ProtonLogo.cjs.js"),pe=require("./components/Icon/IconComponents/Quote.cjs.js"),ke=require("./components/Icon/IconComponents/Radio.cjs.js"),de=require("./components/Icon/IconComponents/RemoveCircle.cjs.js"),me=require("./components/Icon/IconComponents/Rocket.cjs.js"),Te=require("./components/Icon/IconComponents/Search.cjs.js"),Se=require("./components/Icon/IconComponents/Share.cjs.js"),De=require("./components/Icon/IconComponents/SignOut.cjs.js"),be=require("./components/Icon/IconComponents/SoundcloudLogo.cjs.js"),Pe=require("./components/Icon/IconComponents/SpotifyLogo.cjs.js"),ye=require("./components/Icon/IconComponents/Spy.cjs.js"),ve=require("./components/Icon/IconComponents/Star.cjs.js"),Ae=require("./components/Icon/IconComponents/StarCircle.cjs.js"),we=require("./components/Icon/IconComponents/SuccessCircle.cjs.js"),fe=require("./components/Icon/IconComponents/TelegramLogo.cjs.js"),Me=require("./components/Icon/IconComponents/TiktokLogo.cjs.js"),xe=require("./components/Icon/IconComponents/Tracklist.cjs.js"),Be=require("./components/Icon/IconComponents/TraxsourceLogo.cjs.js"),Re=require("./components/Icon/IconComponents/TrashCan.cjs.js"),Ue=require("./components/Icon/IconComponents/USDCLogo.cjs.js"),Ee=require("./components/Icon/IconComponents/User.cjs.js"),He=require("./components/Icon/IconComponents/UserAdd.cjs.js"),Ie=require("./components/Icon/IconComponents/Users.cjs.js"),We=require("./components/Icon/IconComponents/Verified.cjs.js"),Oe=require("./components/Icon/IconComponents/WarningTriangle.cjs.js"),Ge=require("./components/Icon/IconComponents/WesternUnionLogo.cjs.js"),ze=require("./components/Icon/IconComponents/WhatsappLogoThick.cjs.js"),Fe=require("./components/Icon/IconComponents/WhatsappLogoThin.cjs.js"),Ye=require("./components/Icon/IconComponents/XTwitterLogo.cjs.js"),Ne=require("./components/Icon/IconComponents/YandexLogo.cjs.js"),Qe=require("./components/Icon/IconComponents/YoutubeLogo.cjs.js");exports.AlertCircle=e.AlertCircle;exports.AmazonMusicLogo=o.AmazonMusicLogo;exports.AppleLogo=r.AppleLogo;exports.AppleMusicLogo=n.AppleMusicLogo;exports.Archive=i.Archive;exports.ArrowLeft=t.ArrowLeft;exports.ArrowRight=c.ArrowRight;exports.BandcampLogo=s.BandcampLogo;exports.Bank=a.Bank;exports.BeatportLogo=u.BeatportLogo;exports.Bell=g.Bell;exports.Box=L.Box;exports.Calendar=q.Calendar;exports.Camera=l.Camera;exports.CaretDown=h.CaretDown;exports.CaretRight=C.CaretRight;exports.Chart=p.Chart;exports.Chatboxes=k.Chatboxes;exports.CheckCircle=d.CheckCircle;exports.Checkmark=m.Checkmark;exports.ChevronDown=T.ChevronDown;exports.ChevronLeft=S.ChevronLeft;exports.ChevronRight=D.ChevronRight;exports.ChevronSquareDown=b.ChevronSquareDown;exports.ChevronUp=P.ChevronUp;exports.Close=y.Close;exports.Cog=v.Cog;exports.Comment=A.Comment;exports.Connections=w.Connections;exports.Copy=f.Copy;exports.DangerCircle=M.DangerCircle;exports.Dashboard=x.Dashboard;exports.DeezerLogo=B.DeezerLogo;exports.Download=R.Download;exports.DragHandle=U.DragHandle;exports.DropboxLogo=E.DropboxLogo;exports.Edit=H.Edit;exports.Ellipsis=I.Ellipsis;exports.EmailThick=W.EmailThick;exports.EmailThin=O.EmailThin;exports.ExternalLink=G.ExternalLink;exports.FacebookLogo=z.FacebookLogo;exports.Filter=F.Filter;exports.GitHubLogo=Y.GitHubLogo;exports.Globe=N.Globe;exports.GoogleDriveLogo=Q.GoogleDriveLogo;exports.Hamburger=V.Hamburger;exports.Heartbeat=X.Heartbeat;exports.Info=j.Info;exports.InfoOutline=J.InfoOutline;exports.InstagramLogo=K.InstagramLogo;exports.IntercomLogo=Z.IntercomLogo;exports.Label=_.Label;exports.Lightning=$.Lightning;exports.Link=ee.Link;exports.List=oe.List;exports.Lock=re.Lock;exports.MessengerLogo=ne.MessengerLogo;exports.Money=ie.Money;exports.MoneyOutline=te.MoneyOutline;exports.MusicNote=ce.MusicNote;exports.PacmanLoader=se.PacmanLoader;exports.Pause=ae.Pause;exports.PayPalLogo=ue.PayPalLogo;exports.Pencil=ge.Pencil;exports.PhoneThick=Le.PhoneThick;exports.PhoneThin=qe.PhoneThin;exports.PiggyBank=le.PiggyBank;exports.Play=he.Play;exports.ProtonLogo=Ce.ProtonLogo;exports.Quote=pe.Quote;exports.Radio=ke.Radio;exports.RemoveCircle=de.RemoveCircle;exports.Rocket=me.Rocket;exports.Search=Te.Search;exports.Share=Se.Share;exports.SignOut=De.SignOut;exports.SoundcloudLogo=be.SoundcloudLogo;exports.SpotifyLogo=Pe.SpotifyLogo;exports.Spy=ye.Spy;exports.Star=ve.Star;exports.StarCircle=Ae.StarCircle;exports.SuccessCircle=we.SuccessCircle;exports.TelegramLogo=fe.TelegramLogo;exports.TiktokLogo=Me.TiktokLogo;exports.Tracklist=xe.Tracklist;exports.TraxsourceLogo=Be.TraxsourceLogo;exports.TrashCan=Re.TrashCan;exports.USDCLogo=Ue.USDCLogo;exports.User=Ee.User;exports.UserAdd=He.UserAdd;exports.Users=Ie.Users;exports.Verified=We.Verified;exports.WarningTriangle=Oe.WarningTriangle;exports.WesternUnionLogo=Ge.WesternUnionLogo;exports.WhatsappLogoThick=ze.WhatsappLogoThick;exports.WhatsappLogoThin=Fe.WhatsappLogoThin;exports.XTwitterLogo=Ye.XTwitterLogo;exports.YandexLogo=Ne.YandexLogo;exports.YoutubeLogo=Qe.YoutubeLogo;
|
|
2
2
|
//# sourceMappingURL=icons.cjs.js.map
|
package/dist/icons.d.ts
CHANGED
|
@@ -745,6 +745,13 @@ export declare namespace WarningTriangle {
|
|
|
745
745
|
var displayName: string;
|
|
746
746
|
}
|
|
747
747
|
|
|
748
|
+
/** Western Union brand logo. Always uses brand colors. {@link IconProps} */
|
|
749
|
+
export declare function WesternUnionLogo({ size, "data-testid": dataTestId, ariaProps, }: IconProps): JSX.Element;
|
|
750
|
+
|
|
751
|
+
export declare namespace WesternUnionLogo {
|
|
752
|
+
var displayName: string;
|
|
753
|
+
}
|
|
754
|
+
|
|
748
755
|
/** WhatsApp brand logo (thick stroke). {@link IconProps} */
|
|
749
756
|
export declare function WhatsappLogoThick({ size, color, "data-testid": dataTestId, ariaProps, }: IconProps): JSX.Element;
|
|
750
757
|
|
package/dist/icons.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { AppleMusicLogo as a } from "./components/Icon/IconComponents/AppleMusic
|
|
|
5
5
|
import { Archive as i } from "./components/Icon/IconComponents/Archive.es.js";
|
|
6
6
|
import { ArrowLeft as L } from "./components/Icon/IconComponents/ArrowLeft.es.js";
|
|
7
7
|
import { ArrowRight as c } from "./components/Icon/IconComponents/ArrowRight.es.js";
|
|
8
|
-
import { BandcampLogo as
|
|
8
|
+
import { BandcampLogo as s } from "./components/Icon/IconComponents/BandcampLogo.es.js";
|
|
9
9
|
import { Bank as u } from "./components/Icon/IconComponents/Bank.es.js";
|
|
10
10
|
import { BeatportLogo as d } from "./components/Icon/IconComponents/BeatportLogo.es.js";
|
|
11
11
|
import { Bell as D } from "./components/Icon/IconComponents/Bell.es.js";
|
|
@@ -14,9 +14,9 @@ import { Calendar as v } from "./components/Icon/IconComponents/Calendar.es.js";
|
|
|
14
14
|
import { Camera as A } from "./components/Icon/IconComponents/Camera.es.js";
|
|
15
15
|
import { CaretDown as B } from "./components/Icon/IconComponents/CaretDown.es.js";
|
|
16
16
|
import { CaretRight as R } from "./components/Icon/IconComponents/CaretRight.es.js";
|
|
17
|
-
import { Chart as
|
|
17
|
+
import { Chart as E } from "./components/Icon/IconComponents/Chart.es.js";
|
|
18
18
|
import { Chatboxes as I } from "./components/Icon/IconComponents/Chatboxes.es.js";
|
|
19
|
-
import { CheckCircle as
|
|
19
|
+
import { CheckCircle as G } from "./components/Icon/IconComponents/CheckCircle.es.js";
|
|
20
20
|
import { Checkmark as z } from "./components/Icon/IconComponents/Checkmark.es.js";
|
|
21
21
|
import { ChevronDown as Y } from "./components/Icon/IconComponents/ChevronDown.es.js";
|
|
22
22
|
import { ChevronLeft as N } from "./components/Icon/IconComponents/ChevronLeft.es.js";
|
|
@@ -32,7 +32,7 @@ import { DangerCircle as ao } from "./components/Icon/IconComponents/DangerCircl
|
|
|
32
32
|
import { Dashboard as io } from "./components/Icon/IconComponents/Dashboard.es.js";
|
|
33
33
|
import { DeezerLogo as Lo } from "./components/Icon/IconComponents/DeezerLogo.es.js";
|
|
34
34
|
import { Download as co } from "./components/Icon/IconComponents/Download.es.js";
|
|
35
|
-
import { DragHandle as
|
|
35
|
+
import { DragHandle as so } from "./components/Icon/IconComponents/DragHandle.es.js";
|
|
36
36
|
import { DropboxLogo as uo } from "./components/Icon/IconComponents/DropboxLogo.es.js";
|
|
37
37
|
import { Edit as To } from "./components/Icon/IconComponents/Edit.es.js";
|
|
38
38
|
import { Ellipsis as So } from "./components/Icon/IconComponents/Ellipsis.es.js";
|
|
@@ -40,10 +40,10 @@ import { EmailThick as Po } from "./components/Icon/IconComponents/EmailThick.es
|
|
|
40
40
|
import { EmailThin as yo } from "./components/Icon/IconComponents/EmailThin.es.js";
|
|
41
41
|
import { ExternalLink as wo } from "./components/Icon/IconComponents/ExternalLink.es.js";
|
|
42
42
|
import { FacebookLogo as Mo } from "./components/Icon/IconComponents/FacebookLogo.es.js";
|
|
43
|
-
import { Filter as
|
|
43
|
+
import { Filter as Uo } from "./components/Icon/IconComponents/Filter.es.js";
|
|
44
44
|
import { GitHubLogo as Ho } from "./components/Icon/IconComponents/GitHubLogo.es.js";
|
|
45
|
-
import { Globe as
|
|
46
|
-
import { GoogleDriveLogo as
|
|
45
|
+
import { Globe as Wo } from "./components/Icon/IconComponents/Globe.es.js";
|
|
46
|
+
import { GoogleDriveLogo as Oo } from "./components/Icon/IconComponents/GoogleDriveLogo.es.js";
|
|
47
47
|
import { Hamburger as Fo } from "./components/Icon/IconComponents/Hamburger.es.js";
|
|
48
48
|
import { Heartbeat as qo } from "./components/Icon/IconComponents/Heartbeat.es.js";
|
|
49
49
|
import { Info as Qo } from "./components/Icon/IconComponents/Info.es.js";
|
|
@@ -59,7 +59,7 @@ import { MessengerLogo as nr } from "./components/Icon/IconComponents/MessengerL
|
|
|
59
59
|
import { Money as gr } from "./components/Icon/IconComponents/Money.es.js";
|
|
60
60
|
import { MoneyOutline as lr } from "./components/Icon/IconComponents/MoneyOutline.es.js";
|
|
61
61
|
import { MusicNote as hr } from "./components/Icon/IconComponents/MusicNote.es.js";
|
|
62
|
-
import { PacmanLoader as
|
|
62
|
+
import { PacmanLoader as Cr } from "./components/Icon/IconComponents/PacmanLoader.es.js";
|
|
63
63
|
import { Pause as kr } from "./components/Icon/IconComponents/Pause.es.js";
|
|
64
64
|
import { PayPalLogo as Tr } from "./components/Icon/IconComponents/PayPalLogo.es.js";
|
|
65
65
|
import { Pencil as Sr } from "./components/Icon/IconComponents/Pencil.es.js";
|
|
@@ -67,10 +67,10 @@ import { PhoneThick as Pr } from "./components/Icon/IconComponents/PhoneThick.es
|
|
|
67
67
|
import { PhoneThin as yr } from "./components/Icon/IconComponents/PhoneThin.es.js";
|
|
68
68
|
import { PiggyBank as wr } from "./components/Icon/IconComponents/PiggyBank.es.js";
|
|
69
69
|
import { Play as Mr } from "./components/Icon/IconComponents/Play.es.js";
|
|
70
|
-
import { ProtonLogo as
|
|
70
|
+
import { ProtonLogo as Ur } from "./components/Icon/IconComponents/ProtonLogo.es.js";
|
|
71
71
|
import { Quote as Hr } from "./components/Icon/IconComponents/Quote.es.js";
|
|
72
|
-
import { Radio as
|
|
73
|
-
import { RemoveCircle as
|
|
72
|
+
import { Radio as Wr } from "./components/Icon/IconComponents/Radio.es.js";
|
|
73
|
+
import { RemoveCircle as Or } from "./components/Icon/IconComponents/RemoveCircle.es.js";
|
|
74
74
|
import { Rocket as Fr } from "./components/Icon/IconComponents/Rocket.es.js";
|
|
75
75
|
import { Search as qr } from "./components/Icon/IconComponents/Search.es.js";
|
|
76
76
|
import { Share as Qr } from "./components/Icon/IconComponents/Share.es.js";
|
|
@@ -86,17 +86,18 @@ import { TiktokLogo as ne } from "./components/Icon/IconComponents/TiktokLogo.es
|
|
|
86
86
|
import { Tracklist as ge } from "./components/Icon/IconComponents/Tracklist.es.js";
|
|
87
87
|
import { TraxsourceLogo as le } from "./components/Icon/IconComponents/TraxsourceLogo.es.js";
|
|
88
88
|
import { TrashCan as he } from "./components/Icon/IconComponents/TrashCan.es.js";
|
|
89
|
-
import { USDCLogo as
|
|
89
|
+
import { USDCLogo as Ce } from "./components/Icon/IconComponents/USDCLogo.es.js";
|
|
90
90
|
import { User as ke } from "./components/Icon/IconComponents/User.es.js";
|
|
91
91
|
import { UserAdd as Te } from "./components/Icon/IconComponents/UserAdd.es.js";
|
|
92
92
|
import { Users as Se } from "./components/Icon/IconComponents/Users.es.js";
|
|
93
93
|
import { Verified as Pe } from "./components/Icon/IconComponents/Verified.es.js";
|
|
94
94
|
import { WarningTriangle as ye } from "./components/Icon/IconComponents/WarningTriangle.es.js";
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
95
|
+
import { WesternUnionLogo as we } from "./components/Icon/IconComponents/WesternUnionLogo.es.js";
|
|
96
|
+
import { WhatsappLogoThick as Me } from "./components/Icon/IconComponents/WhatsappLogoThick.es.js";
|
|
97
|
+
import { WhatsappLogoThin as Ue } from "./components/Icon/IconComponents/WhatsappLogoThin.es.js";
|
|
98
|
+
import { XTwitterLogo as He } from "./components/Icon/IconComponents/XTwitterLogo.es.js";
|
|
99
|
+
import { YandexLogo as We } from "./components/Icon/IconComponents/YandexLogo.es.js";
|
|
100
|
+
import { YoutubeLogo as Oe } from "./components/Icon/IconComponents/YoutubeLogo.es.js";
|
|
100
101
|
export {
|
|
101
102
|
e as AlertCircle,
|
|
102
103
|
p as AmazonMusicLogo,
|
|
@@ -105,7 +106,7 @@ export {
|
|
|
105
106
|
i as Archive,
|
|
106
107
|
L as ArrowLeft,
|
|
107
108
|
c as ArrowRight,
|
|
108
|
-
|
|
109
|
+
s as BandcampLogo,
|
|
109
110
|
u as Bank,
|
|
110
111
|
d as BeatportLogo,
|
|
111
112
|
D as Bell,
|
|
@@ -114,9 +115,9 @@ export {
|
|
|
114
115
|
A as Camera,
|
|
115
116
|
B as CaretDown,
|
|
116
117
|
R as CaretRight,
|
|
117
|
-
|
|
118
|
+
E as Chart,
|
|
118
119
|
I as Chatboxes,
|
|
119
|
-
|
|
120
|
+
G as CheckCircle,
|
|
120
121
|
z as Checkmark,
|
|
121
122
|
Y as ChevronDown,
|
|
122
123
|
N as ChevronLeft,
|
|
@@ -132,7 +133,7 @@ export {
|
|
|
132
133
|
io as Dashboard,
|
|
133
134
|
Lo as DeezerLogo,
|
|
134
135
|
co as Download,
|
|
135
|
-
|
|
136
|
+
so as DragHandle,
|
|
136
137
|
uo as DropboxLogo,
|
|
137
138
|
To as Edit,
|
|
138
139
|
So as Ellipsis,
|
|
@@ -140,10 +141,10 @@ export {
|
|
|
140
141
|
yo as EmailThin,
|
|
141
142
|
wo as ExternalLink,
|
|
142
143
|
Mo as FacebookLogo,
|
|
143
|
-
|
|
144
|
+
Uo as Filter,
|
|
144
145
|
Ho as GitHubLogo,
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
Wo as Globe,
|
|
147
|
+
Oo as GoogleDriveLogo,
|
|
147
148
|
Fo as Hamburger,
|
|
148
149
|
qo as Heartbeat,
|
|
149
150
|
Qo as Info,
|
|
@@ -159,7 +160,7 @@ export {
|
|
|
159
160
|
gr as Money,
|
|
160
161
|
lr as MoneyOutline,
|
|
161
162
|
hr as MusicNote,
|
|
162
|
-
|
|
163
|
+
Cr as PacmanLoader,
|
|
163
164
|
kr as Pause,
|
|
164
165
|
Tr as PayPalLogo,
|
|
165
166
|
Sr as Pencil,
|
|
@@ -167,10 +168,10 @@ export {
|
|
|
167
168
|
yr as PhoneThin,
|
|
168
169
|
wr as PiggyBank,
|
|
169
170
|
Mr as Play,
|
|
170
|
-
|
|
171
|
+
Ur as ProtonLogo,
|
|
171
172
|
Hr as Quote,
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
Wr as Radio,
|
|
174
|
+
Or as RemoveCircle,
|
|
174
175
|
Fr as Rocket,
|
|
175
176
|
qr as Search,
|
|
176
177
|
Qr as Share,
|
|
@@ -186,16 +187,17 @@ export {
|
|
|
186
187
|
ge as Tracklist,
|
|
187
188
|
he as TrashCan,
|
|
188
189
|
le as TraxsourceLogo,
|
|
189
|
-
|
|
190
|
+
Ce as USDCLogo,
|
|
190
191
|
ke as User,
|
|
191
192
|
Te as UserAdd,
|
|
192
193
|
Se as Users,
|
|
193
194
|
Pe as Verified,
|
|
194
195
|
ye as WarningTriangle,
|
|
195
|
-
we as
|
|
196
|
-
Me as
|
|
197
|
-
|
|
198
|
-
He as
|
|
199
|
-
|
|
196
|
+
we as WesternUnionLogo,
|
|
197
|
+
Me as WhatsappLogoThick,
|
|
198
|
+
Ue as WhatsappLogoThin,
|
|
199
|
+
He as XTwitterLogo,
|
|
200
|
+
We as YandexLogo,
|
|
201
|
+
Oe as YoutubeLogo
|
|
200
202
|
};
|
|
201
203
|
//# sourceMappingURL=icons.es.js.map
|
package/dist/icons.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icons.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|