@semcore/icon 4.61.0 → 4.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/color/Confluence/l/index.js +4 -4
  3. package/color/Confluence/l/index.mjs +4 -4
  4. package/color/Confluence/m/index.js +4 -4
  5. package/color/Confluence/m/index.mjs +4 -4
  6. package/color/MetaColored/l/index.js +4 -4
  7. package/color/MetaColored/l/index.mjs +4 -4
  8. package/color/MetaColored/m/index.js +4 -4
  9. package/color/MetaColored/m/index.mjs +4 -4
  10. package/color/MicrosoftOffice/l/index.js +10 -10
  11. package/color/MicrosoftOffice/l/index.mjs +10 -10
  12. package/color/MicrosoftOffice/m/index.js +10 -10
  13. package/color/MicrosoftOffice/m/index.mjs +10 -10
  14. package/lib/cjs/Icon.js +8 -6
  15. package/lib/cjs/Icon.js.map +1 -1
  16. package/lib/es6/Icon.js +8 -6
  17. package/lib/es6/Icon.js.map +1 -1
  18. package/lib/esm/Icon.mjs +71 -54
  19. package/lib/esm/index.mjs +2 -2
  20. package/lib/esm/style/icon.shadow.css +22 -0
  21. package/package.json +9 -4
  22. package/pay/Discover/l/index.js +1 -1
  23. package/pay/Discover/l/index.mjs +1 -1
  24. package/pay/Discover/m/index.js +1 -1
  25. package/pay/Discover/m/index.mjs +1 -1
  26. package/pay/JCB/l/index.js +10 -10
  27. package/pay/JCB/l/index.mjs +10 -10
  28. package/pay/JCB/m/index.js +10 -10
  29. package/pay/JCB/m/index.mjs +10 -10
  30. package/pay/Visa/l/index.js +2 -2
  31. package/pay/Visa/l/index.mjs +2 -2
  32. package/pay/Visa/m/index.js +2 -2
  33. package/pay/Visa/m/index.mjs +2 -2
  34. package/platform/EnterpriseSolutions/index.d.ts +6 -0
  35. package/platform/EnterpriseSolutions/index.js +39 -0
  36. package/platform/EnterpriseSolutions/index.mjs +28 -0
  37. package/svg/platform/EnterpriseSolutions/EnterpriseSolutions.svg +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","names":["React","cn","createBaseComponent","sstyled","useBox","keyboardFocusEnhance","propsForElement","logger","useForkRef","hasLabels","useColorResolver","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport logger from '@semcore/utils/lib/logger';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport hasLabels from '@semcore/utils/lib/hasLabels';\nimport { useColorResolver } from '@semcore/utils/lib/use/useColorResolver';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n focusable: props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,EAAE,MAAM,YAAY;AAC3B,SAASC,mBAAmB,EAAEC,OAAO,QAAQ,eAAe;AAC5D,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,OAAOC,oBAAoB,MAAM,kDAAkD;AACnF,OAAOC,eAAe,MAAM,oCAAoC;AAChE,OAAOC,MAAM,MAAM,2BAA2B;AAC9C,SAASC,UAAU,QAAQ,wBAAwB;AACnD,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAASC,gBAAgB,QAAQ,yCAAyC;AAAC;AAAA,IAAAC,MAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI3E,SAASC,IAAIA,CAACC,KAAK,EAAEC,GAAG,EAAE;EACxB,IAAAC,OAAA,GAAuBb,MAAM,CAAAc,aAAA;MAEzBC,GAAG,EAAE,KAAK;MACV,cAAc,EAAE,MAAM;MACtBC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,OAAO,EAAE,WAAW;MACpBC,SAAS,EAAER,KAAK,CAACS;IAAW,GACzBT,KAAK,GAEVC,GAAG,CACJ;IAAAS,QAAA,GAAAC,cAAA,CAAAT,OAAA;IAXMU,KAAK,GAAAF,QAAA;IAAEG,KAAK,GAAAH,QAAA;EAanB,IAAQD,WAAW,GAAwBT,KAAK,CAAxCS,WAAW;IAASK,UAAU,GAAKd,KAAK,CAA3Be,KAAK;EAC1B,IAAMC,YAAY,GAAGrB,gBAAgB,EAAE;EACvC,IAAMoB,KAAK,GAAGC,YAAY,CAACF,UAAU,CAAC;EACtC,IAAAG,qBAAA,GAA6C3B,oBAAoB,EAAE,CAAAa,aAAA;MACjEe,QAAQ,EAAE,CAACT;IAAW,GACnBI,KAAK,EACR;IAHMM,eAAe,GAAAF,qBAAA,CAAfE,eAAe;IAAKC,YAAY,GAAAC,wBAAA,CAAAJ,qBAAA,EAAAK,SAAA;EAIxC,IAAMC,OAAO,GAAGnC,OAAO,CAACQ,MAAM,CAAC;EAC/B,IAAA4B,WAAA,GAA6BD,OAAO,CAACrC,EAAE,CAAC,OAAO,EAAE;MAC/C,WAAW,EAAE6B,KAAK;MAClBN,WAAW,EAAEA,WAAW;MACxBU,eAAe,EAAEA;IACnB,CAAC,CAAC;IAJMM,SAAS,GAAAD,WAAA,CAATC,SAAS;IAAEC,KAAK,GAAAF,WAAA,CAALE,KAAK;EAMxB,SAASC,SAASA,CAACC,KAAK,EAAE;IACxB,IAAIR,YAAY,CAACO,SAAS,EAAE;MAC1B,OAAOP,YAAY,CAACO,SAAS,CAACC,KAAK,CAAC;IACtC;IAEA,IAAInB,WAAW,IAAIW,YAAY,CAACS,OAAO,KAAKD,KAAK,CAACE,GAAG,KAAK,OAAO,IAAIF,KAAK,CAACE,GAAG,KAAK,GAAG,CAAC,EAAE;MACvFF,KAAK,CAACG,cAAc,EAAE;MACtBX,YAAY,CAACS,OAAO,CAACD,KAAK,CAAC;IAC7B;EACF;EAEA,IAAMI,aAAa,GAAG/C,KAAK,CAACgD,MAAM,EAAE;EACpChD,KAAK,CAACiD,SAAS,CAAC,YAAM;IACpB,IAAI,CAACzB,WAAW,EAAE;IAClB,IAAI0B,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;MACzC7C,MAAM,CAAC8C,IAAI,CACTN,aAAa,CAACO,OAAO,IAAI,CAAC7C,SAAS,CAACsC,aAAa,CAACO,OAAO,CAAC,gFAE1DvC,KAAK,CAAC,cAAc,CAAC,IAAID,IAAI,CAACyC,WAAW,CAC1C;IACH;EACF,CAAC,EAAE,CAAC/B,WAAW,CAAC,CAAC;EACjB,IAAMgC,SAAS,GAAGhD,UAAU,CAACQ,GAAG,EAAE+B,aAAa,CAAC;EAEhD,oBACE/C,KAAA,CAAAyD,aAAA,CAAC9B,KAAK,EAAA+B,QAAA;IACJC,IAAI,EAAEnC,WAAW,GAAG,QAAQ,GAAGoC,SAAU;IACzC,eAAapC,WAAW,GAAGoC,SAAS,GAAG;EAAO,GAC1CtD,eAAe,CAAC6B,YAAY,CAAC;IACjCM,KAAK,EAAEoB,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAErB,KAAK,EAAEN,YAAY,CAACM,KAAK,CAAE;IACpDD,SAAS,EAAEvC,EAAE,CAACuC,SAAS,EAAEL,YAAY,CAACK,SAAS,CAAC,IAAIoB,SAAU;IAC9DlB,SAAS,EAAEA,SAAU;IACrB1B,GAAG,EAAEwC;EAAU,GACf;AAEN;AAEA1C,IAAI,CAACyC,WAAW,GAAG,MAAM;AAEzB,eAAerD,mBAAmB,CAACY,IAAI,CAAC"}
1
+ {"version":3,"file":"Icon.js","names":["React","cn","createBaseComponent","sstyled","useBox","keyboardFocusEnhance","propsForElement","logger","useForkRef","hasLabels","useColorResolver","styles","_sstyled","insert","Icon","props","ref","_useBox","_objectSpread","tag","width","height","viewBox","focusable","interactive","_useBox2","_slicedToArray","SIcon","other","colorProps","color","resolveColor","_keyboardFocusEnhance","disabled","keyboardFocused","propsEnhance","_objectWithoutProperties","_excluded","sstyles","_sstyles$cn","className","style","onKeyDown","event","onClick","key","preventDefault","labelCheckRef","useRef","useEffect","process","env","NODE_ENV","warn","current","displayName","forkedRef","createElement","_extends","role","undefined","Object","assign"],"sources":["../../src/Icon.jsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport { createBaseComponent, sstyled } from '@semcore/core';\nimport { useBox } from '@semcore/flex-box';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\nimport propsForElement from '@semcore/utils/lib/propsForElement';\nimport logger from '@semcore/utils/lib/logger';\nimport { useForkRef } from '@semcore/utils/lib/ref';\nimport hasLabels from '@semcore/utils/lib/hasLabels';\nimport { useColorResolver } from '@semcore/utils/lib/use/useColorResolver';\n\nimport styles from './style/icon.shadow.css';\n\nfunction Icon(props, ref) {\n const [SIcon, other] = useBox(\n {\n tag: 'svg',\n 'data-ui-name': 'Icon',\n width: 16,\n height: 16,\n viewBox: '0 0 16 16',\n focusable: props.interactive,\n ...props,\n },\n ref,\n );\n\n const { interactive, color: colorProps } = props;\n const resolveColor = useColorResolver();\n const color = resolveColor(colorProps);\n const { keyboardFocused, ...propsEnhance } = keyboardFocusEnhance()({\n disabled: !interactive,\n ...other,\n });\n const sstyles = sstyled(styles);\n const { className, style } = sstyles.cn('SIcon', {\n 'use:color': color,\n interactive: interactive,\n keyboardFocused: keyboardFocused,\n });\n\n function onKeyDown(event) {\n if (propsEnhance.onKeyDown) {\n return propsEnhance.onKeyDown(event);\n }\n\n if (interactive && propsEnhance.onClick && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n propsEnhance.onClick(event);\n }\n }\n\n const labelCheckRef = React.useRef();\n React.useEffect(() => {\n if (!interactive) return;\n if (process.env.NODE_ENV !== 'production') {\n logger.warn(\n labelCheckRef.current && !hasLabels(labelCheckRef.current),\n `'aria-label' or 'aria-labelledby' are required props for interactive icons`,\n props['data-ui-name'] || Icon.displayName,\n );\n }\n }, [interactive]);\n const forkedRef = useForkRef(ref, labelCheckRef);\n\n return (\n <SIcon\n role={interactive ? 'button' : undefined}\n aria-hidden={interactive ? undefined : 'true'}\n {...propsForElement(propsEnhance)}\n style={Object.assign({}, style, propsEnhance.style)}\n className={cn(className, propsEnhance.className) || undefined}\n onKeyDown={onKeyDown}\n ref={forkedRef}\n />\n );\n}\n\nIcon.displayName = 'Icon';\n\nexport default createBaseComponent(Icon);\n"],"mappings":"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"}
package/lib/esm/Icon.mjs CHANGED
@@ -1,68 +1,85 @@
1
- import I from "@babel/runtime/helpers/esm/extends";
2
- import F from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- import d from "@babel/runtime/helpers/esm/objectSpread2";
4
- import E from "@babel/runtime/helpers/esm/slicedToArray";
5
- import { sstyled as S } from "@semcore/utils/lib/core/index";
6
- import i from "react";
7
- import w from "classnames";
8
- import { createBaseComponent as N, sstyled as C } from "@semcore/core";
9
- import { useBox as R } from "@semcore/flex-box";
10
- import B from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
11
- import D from "@semcore/utils/lib/propsForElement";
12
- import j from "@semcore/utils/lib/logger";
13
- import { useForkRef as K } from "@semcore/utils/lib/ref";
14
- import P from "@semcore/utils/lib/hasLabels";
15
- import { useColorResolver as $ } from "@semcore/utils/lib/use/useColorResolver";
16
- var z = ["keyboardFocused"], O = (
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
+ import { sstyled } from "@semcore/utils/lib/core/index";
6
+ import React from "react";
7
+ import cn from "classnames";
8
+ import { createBaseComponent, sstyled as sstyled$1 } from "@semcore/core";
9
+ import { useBox } from "@semcore/flex-box";
10
+ import keyboardFocusEnhance from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
11
+ import propsForElement from "@semcore/utils/lib/propsForElement";
12
+ import logger from "@semcore/utils/lib/logger";
13
+ import { useForkRef } from "@semcore/utils/lib/ref";
14
+ import hasLabels from "@semcore/utils/lib/hasLabels";
15
+ import { useColorResolver } from "@semcore/utils/lib/use/useColorResolver";
16
+ var _excluded = ["keyboardFocused"];
17
+ /*!__reshadow-styles__:"./style/icon.shadow.css"*/
18
+ var styles = (
17
19
  /*__reshadow_css_start__*/
18
- (S.insert(
20
+ (sstyled.insert(
19
21
  /*__inner_css_start__*/
20
- ".___SIcon_3q66l_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_3q66l)}.___SIcon_3q66l_gg_.__keyboardFocused_3q66l_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_3q66l_gg_.__interactive_3q66l_gg_{cursor:pointer}@media (hover:hover){.___SIcon_3q66l_gg_.__interactive_3q66l_gg_:hover{filter:brightness(.8)}}",
21
- "3q66l_gg_"
22
- ), {
23
- __SIcon: "___SIcon_3q66l_gg_",
24
- "--color": "--color_3q66l",
25
- _keyboardFocused: "__keyboardFocused_3q66l_gg_",
26
- _interactive: "__interactive_3q66l_gg_"
22
+ ".___SIcon_19mvi_gg_{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;shape-rendering:geometricPrecision;box-sizing:content-box;fill:currentColor;flex-shrink:0;outline:0;color:var(--color_19mvi)}.___SIcon_19mvi_gg_.__keyboardFocused_19mvi_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SIcon_19mvi_gg_.__interactive_19mvi_gg_{cursor:pointer}@media (hover:hover){.___SIcon_19mvi_gg_.__interactive_19mvi_gg_:hover{filter:brightness(.8)}}",
23
+ /*__inner_css_end__*/
24
+ "19mvi_gg_"
25
+ ), /*__reshadow_css_end__*/
26
+ {
27
+ "__SIcon": "___SIcon_19mvi_gg_",
28
+ "--color": "--color_19mvi",
29
+ "_keyboardFocused": "__keyboardFocused_19mvi_gg_",
30
+ "_interactive": "__interactive_19mvi_gg_"
27
31
  })
28
32
  );
29
- function n(r, c) {
30
- var m = R(d({
33
+ function Icon(props, ref) {
34
+ var _useBox = useBox(_objectSpread({
31
35
  tag: "svg",
32
36
  "data-ui-name": "Icon",
33
37
  width: 16,
34
38
  height: 16,
35
39
  viewBox: "0 0 16 16",
36
- focusable: r.interactive
37
- }, r), c), s = E(m, 2), u = s[0], f = s[1], e = r.interactive, g = r.color, p = $(), v = p(g), l = B()(d({
38
- disabled: !e
39
- }, f)), y = l.keyboardFocused, o = F(l, z), b = C(O), _ = b.cn("SIcon", {
40
- "use:color": v,
41
- interactive: e,
42
- keyboardFocused: y
43
- }), k = _.className, h = _.style;
44
- function x(t) {
45
- if (o.onKeyDown)
46
- return o.onKeyDown(t);
47
- e && o.onClick && (t.key === "Enter" || t.key === " ") && (t.preventDefault(), o.onClick(t));
40
+ focusable: props.interactive
41
+ }, props), ref), _useBox2 = _slicedToArray(_useBox, 2), SIcon = _useBox2[0], other = _useBox2[1];
42
+ var interactive = props.interactive, colorProps = props.color;
43
+ var resolveColor = useColorResolver();
44
+ var color = resolveColor(colorProps);
45
+ var _keyboardFocusEnhance = keyboardFocusEnhance()(_objectSpread({
46
+ disabled: !interactive
47
+ }, other)), keyboardFocused = _keyboardFocusEnhance.keyboardFocused, propsEnhance = _objectWithoutProperties(_keyboardFocusEnhance, _excluded);
48
+ var sstyles = sstyled$1(styles);
49
+ var _sstyles$cn = sstyles.cn("SIcon", {
50
+ "use:color": color,
51
+ interactive,
52
+ keyboardFocused
53
+ }), className = _sstyles$cn.className, style = _sstyles$cn.style;
54
+ function onKeyDown(event) {
55
+ if (propsEnhance.onKeyDown) {
56
+ return propsEnhance.onKeyDown(event);
57
+ }
58
+ if (interactive && propsEnhance.onClick && (event.key === "Enter" || event.key === " ")) {
59
+ event.preventDefault();
60
+ propsEnhance.onClick(event);
61
+ }
48
62
  }
49
- var a = i.useRef();
50
- i.useEffect(function() {
51
- e && process.env.NODE_ENV !== "production" && j.warn(a.current && !P(a.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", r["data-ui-name"] || n.displayName);
52
- }, [e]);
53
- var q = K(c, a);
54
- return /* @__PURE__ */ i.createElement(u, I({
55
- role: e ? "button" : void 0,
56
- "aria-hidden": e ? void 0 : "true"
57
- }, D(o), {
58
- style: Object.assign({}, h, o.style),
59
- className: w(k, o.className) || void 0,
60
- onKeyDown: x,
61
- ref: q
63
+ var labelCheckRef = React.useRef();
64
+ React.useEffect(function() {
65
+ if (!interactive) return;
66
+ if (process.env.NODE_ENV !== "production") {
67
+ logger.warn(labelCheckRef.current && !hasLabels(labelCheckRef.current), "'aria-label' or 'aria-labelledby' are required props for interactive icons", props["data-ui-name"] || Icon.displayName);
68
+ }
69
+ }, [interactive]);
70
+ var forkedRef = useForkRef(ref, labelCheckRef);
71
+ return /* @__PURE__ */ React.createElement(SIcon, _extends({
72
+ role: interactive ? "button" : void 0,
73
+ "aria-hidden": interactive ? void 0 : "true"
74
+ }, propsForElement(propsEnhance), {
75
+ style: Object.assign({}, style, propsEnhance.style),
76
+ className: cn(className, propsEnhance.className) || void 0,
77
+ onKeyDown,
78
+ ref: forkedRef
62
79
  }));
63
80
  }
64
- n.displayName = "Icon";
65
- const oe = N(n);
81
+ Icon.displayName = "Icon";
82
+ const Icon$1 = createBaseComponent(Icon);
66
83
  export {
67
- oe as default
84
+ Icon$1 as default
68
85
  };
package/lib/esm/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { default as o } from "./Icon.mjs";
1
+ import { default as default2 } from "./Icon.mjs";
2
2
  export {
3
- o as default
3
+ default2 as default
4
4
  };
@@ -0,0 +1,22 @@
1
+ SIcon {
2
+ display: inline-block;
3
+ user-select: none;
4
+ shape-rendering: geometricPrecision;
5
+ box-sizing: content-box;
6
+ fill: currentColor;
7
+ flex-shrink: 0;
8
+ outline: none;
9
+ color: var(--color);
10
+ }
11
+
12
+ SIcon[keyboardFocused] {
13
+ box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));
14
+ }
15
+
16
+ SIcon[interactive] {
17
+ cursor: pointer;
18
+
19
+ &:hover {
20
+ filter: brightness(0.8);
21
+ }
22
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/icon",
3
3
  "description": "Semrush Icon Component",
4
- "version": "4.61.0",
4
+ "version": "4.62.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.mjs",
7
7
  "typings": "lib/types/index.d.ts",
@@ -9,9 +9,9 @@
9
9
  "author": "UI-kit team <ui-kit-team@semrush.com>",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@semcore/flex-box": "5.41.2",
13
- "@semcore/icon": "4.61.0",
14
- "@semcore/utils": "4.48.2",
12
+ "@semcore/flex-box": "5.41.3",
13
+ "@semcore/icon": "4.62.0",
14
+ "@semcore/utils": "4.48.4",
15
15
  "classnames": "2.2.6"
16
16
  },
17
17
  "peerDependencies": {
@@ -796,6 +796,11 @@
796
796
  "import": "./platform/ContentToolkit/index.mjs",
797
797
  "types": "./platform/ContentToolkit/index.d.ts"
798
798
  },
799
+ "./platform/EnterpriseSolutions": {
800
+ "require": "./platform/EnterpriseSolutions/index.js",
801
+ "import": "./platform/EnterpriseSolutions/index.mjs",
802
+ "types": "./platform/EnterpriseSolutions/index.d.ts"
803
+ },
799
804
  "./platform/HomePlatform": {
800
805
  "require": "./platform/HomePlatform/index.js",
801
806
  "import": "./platform/HomePlatform/index.mjs",
@@ -32,7 +32,7 @@ function RootDiscover(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M17.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
35
- fill: "url(#intergalactic-icon-Discover_l_a-4.61.0)",
35
+ fill: "url(#intergalactic-icon-Discover_l_a-4.62.0)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  fillRule: "evenodd",
@@ -21,7 +21,7 @@ function RootDiscover({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M17.5 14a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",
24
- fill: "url(#intergalactic-icon-Discover_l_a-4.61.0)",
24
+ fill: "url(#intergalactic-icon-Discover_l_a-4.62.0)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  fillRule: "evenodd",
@@ -32,7 +32,7 @@ function RootDiscover(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M11.48 9.33c.91 0 1.64-.74 1.64-1.66 0-.92-.73-1.67-1.64-1.67-.9 0-1.64.75-1.64 1.67 0 .92.74 1.66 1.64 1.66Z",
35
- fill: "url(#intergalactic-icon-Discover_m_a-4.61.0)",
35
+ fill: "url(#intergalactic-icon-Discover_m_a-4.62.0)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  fillRule: "evenodd",
@@ -21,7 +21,7 @@ function RootDiscover({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M11.48 9.33c.91 0 1.64-.74 1.64-1.66 0-.92-.73-1.67-1.64-1.67-.9 0-1.64.75-1.64 1.67 0 .92.74 1.66 1.64 1.66Z",
24
- fill: "url(#intergalactic-icon-Discover_m_a-4.61.0)",
24
+ fill: "url(#intergalactic-icon-Discover_m_a-4.62.0)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  fillRule: "evenodd",
@@ -32,26 +32,26 @@ function RootJCB(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M23.6 14.15h1.87l.24-.01c.35-.08.66-.4.66-.87 0-.44-.3-.77-.66-.86-.06-.02-.16-.02-.24-.02H23.6v1.76Z",
35
- fill: "url(#intergalactic-icon-JCB_l_a-4.61.0)",
35
+ fill: "url(#intergalactic-icon-JCB_l_a-4.62.0)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  d: "M25.26 2a3.3 3.3 0 0 0-3.24 3.34V8.8h4.58c.1 0 .23 0 .32.02 1.03.05 1.8.6 1.8 1.56 0 .75-.52 1.4-1.48 1.52v.04c1.05.07 1.85.67 1.85 1.6 0 1.02-.89 1.68-2.07 1.68H22V22h4.76A3.3 3.3 0 0 0 30 18.66V2h-4.74Z",
39
- fill: "url(#intergalactic-icon-JCB_l_b-4.61.0)",
39
+ fill: "url(#intergalactic-icon-JCB_l_b-4.62.0)",
40
40
  shapeRendering: "geometricPrecision"
41
41
  }), /*#__PURE__*/_react["default"].createElement("path", {
42
42
  d: "M26.13 10.6c0-.44-.3-.74-.66-.79l-.17-.02h-1.7v1.61h1.7l.17-.01a.77.77 0 0 0 .66-.8Z",
43
- fill: "url(#intergalactic-icon-JCB_l_c-4.61.0)",
43
+ fill: "url(#intergalactic-icon-JCB_l_c-4.62.0)",
44
44
  shapeRendering: "geometricPrecision"
45
45
  }), /*#__PURE__*/_react["default"].createElement("path", {
46
46
  d: "M5.26 2a3.3 3.3 0 0 0-3.24 3.34v8.24c.9.46 1.85.75 2.8.75 1.12 0 1.72-.7 1.72-1.65v-3.9h2.78v3.88c0 1.5-.9 2.73-3.99 2.73-1.87 0-3.33-.42-3.33-.42V22h4.76A3.3 3.3 0 0 0 10 18.66V2H5.26Z",
47
- fill: "url(#intergalactic-icon-JCB_l_d-4.61.0)",
47
+ fill: "url(#intergalactic-icon-JCB_l_d-4.62.0)",
48
48
  shapeRendering: "geometricPrecision"
49
49
  }), /*#__PURE__*/_react["default"].createElement("path", {
50
50
  d: "M15.24 2A3.29 3.29 0 0 0 12 5.33V9.7c.82-.71 2.24-1.17 4.54-1.06 1.23.05 2.55.4 2.55.4v1.41a6.04 6.04 0 0 0-2.46-.73c-1.74-.13-2.8.75-2.8 2.29 0 1.56 1.06 2.44 2.8 2.29 1.02-.07 1.8-.4 2.46-.73v1.4s-1.3.35-2.55.41c-2.3.11-3.72-.35-4.54-1.06V22h4.76A3.29 3.29 0 0 0 20 18.67V2h-4.76Z",
51
- fill: "url(#intergalactic-icon-JCB_l_e-4.61.0)",
51
+ fill: "url(#intergalactic-icon-JCB_l_e-4.62.0)",
52
52
  shapeRendering: "geometricPrecision"
53
53
  }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
54
- id: "intergalactic-icon-JCB_l_a-4.61.0",
54
+ id: "intergalactic-icon-JCB_l_a-4.62.0",
55
55
  x1: "22.01",
56
56
  y1: "13.28",
57
57
  x2: "30.02",
@@ -69,7 +69,7 @@ function RootJCB(_ref, ref) {
69
69
  offset: "1",
70
70
  stopColor: "#5CB531"
71
71
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
72
- id: "intergalactic-icon-JCB_l_b-4.61.0",
72
+ id: "intergalactic-icon-JCB_l_b-4.62.0",
73
73
  x1: "22.01",
74
74
  y1: "11.99",
75
75
  x2: "30.02",
@@ -87,7 +87,7 @@ function RootJCB(_ref, ref) {
87
87
  offset: "1",
88
88
  stopColor: "#5CB531"
89
89
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
90
- id: "intergalactic-icon-JCB_l_c-4.61.0",
90
+ id: "intergalactic-icon-JCB_l_c-4.62.0",
91
91
  x1: "22.01",
92
92
  y1: "10.6",
93
93
  x2: "30.02",
@@ -105,7 +105,7 @@ function RootJCB(_ref, ref) {
105
105
  offset: "1",
106
106
  stopColor: "#5CB531"
107
107
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
108
- id: "intergalactic-icon-JCB_l_d-4.61.0",
108
+ id: "intergalactic-icon-JCB_l_d-4.62.0",
109
109
  x1: "2.01",
110
110
  y1: "12",
111
111
  x2: "10.14",
@@ -123,7 +123,7 @@ function RootJCB(_ref, ref) {
123
123
  offset: "1",
124
124
  stopColor: "#006FBC"
125
125
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
126
- id: "intergalactic-icon-JCB_l_e-4.61.0",
126
+ id: "intergalactic-icon-JCB_l_e-4.62.0",
127
127
  x1: "11.95",
128
128
  y1: "11.98",
129
129
  x2: "19.85",
@@ -21,26 +21,26 @@ function RootJCB({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M23.6 14.15h1.87l.24-.01c.35-.08.66-.4.66-.87 0-.44-.3-.77-.66-.86-.06-.02-.16-.02-.24-.02H23.6v1.76Z",
24
- fill: "url(#intergalactic-icon-JCB_l_a-4.61.0)",
24
+ fill: "url(#intergalactic-icon-JCB_l_a-4.62.0)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  d: "M25.26 2a3.3 3.3 0 0 0-3.24 3.34V8.8h4.58c.1 0 .23 0 .32.02 1.03.05 1.8.6 1.8 1.56 0 .75-.52 1.4-1.48 1.52v.04c1.05.07 1.85.67 1.85 1.6 0 1.02-.89 1.68-2.07 1.68H22V22h4.76A3.3 3.3 0 0 0 30 18.66V2h-4.74Z",
28
- fill: "url(#intergalactic-icon-JCB_l_b-4.61.0)",
28
+ fill: "url(#intergalactic-icon-JCB_l_b-4.62.0)",
29
29
  shapeRendering: "geometricPrecision"
30
30
  }), /*#__PURE__*/React.createElement("path", {
31
31
  d: "M26.13 10.6c0-.44-.3-.74-.66-.79l-.17-.02h-1.7v1.61h1.7l.17-.01a.77.77 0 0 0 .66-.8Z",
32
- fill: "url(#intergalactic-icon-JCB_l_c-4.61.0)",
32
+ fill: "url(#intergalactic-icon-JCB_l_c-4.62.0)",
33
33
  shapeRendering: "geometricPrecision"
34
34
  }), /*#__PURE__*/React.createElement("path", {
35
35
  d: "M5.26 2a3.3 3.3 0 0 0-3.24 3.34v8.24c.9.46 1.85.75 2.8.75 1.12 0 1.72-.7 1.72-1.65v-3.9h2.78v3.88c0 1.5-.9 2.73-3.99 2.73-1.87 0-3.33-.42-3.33-.42V22h4.76A3.3 3.3 0 0 0 10 18.66V2H5.26Z",
36
- fill: "url(#intergalactic-icon-JCB_l_d-4.61.0)",
36
+ fill: "url(#intergalactic-icon-JCB_l_d-4.62.0)",
37
37
  shapeRendering: "geometricPrecision"
38
38
  }), /*#__PURE__*/React.createElement("path", {
39
39
  d: "M15.24 2A3.29 3.29 0 0 0 12 5.33V9.7c.82-.71 2.24-1.17 4.54-1.06 1.23.05 2.55.4 2.55.4v1.41a6.04 6.04 0 0 0-2.46-.73c-1.74-.13-2.8.75-2.8 2.29 0 1.56 1.06 2.44 2.8 2.29 1.02-.07 1.8-.4 2.46-.73v1.4s-1.3.35-2.55.41c-2.3.11-3.72-.35-4.54-1.06V22h4.76A3.29 3.29 0 0 0 20 18.67V2h-4.76Z",
40
- fill: "url(#intergalactic-icon-JCB_l_e-4.61.0)",
40
+ fill: "url(#intergalactic-icon-JCB_l_e-4.62.0)",
41
41
  shapeRendering: "geometricPrecision"
42
42
  }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
43
- id: "intergalactic-icon-JCB_l_a-4.61.0",
43
+ id: "intergalactic-icon-JCB_l_a-4.62.0",
44
44
  x1: "22.01",
45
45
  y1: "13.28",
46
46
  x2: "30.02",
@@ -58,7 +58,7 @@ function RootJCB({
58
58
  offset: "1",
59
59
  stopColor: "#5CB531"
60
60
  })), /*#__PURE__*/React.createElement("linearGradient", {
61
- id: "intergalactic-icon-JCB_l_b-4.61.0",
61
+ id: "intergalactic-icon-JCB_l_b-4.62.0",
62
62
  x1: "22.01",
63
63
  y1: "11.99",
64
64
  x2: "30.02",
@@ -76,7 +76,7 @@ function RootJCB({
76
76
  offset: "1",
77
77
  stopColor: "#5CB531"
78
78
  })), /*#__PURE__*/React.createElement("linearGradient", {
79
- id: "intergalactic-icon-JCB_l_c-4.61.0",
79
+ id: "intergalactic-icon-JCB_l_c-4.62.0",
80
80
  x1: "22.01",
81
81
  y1: "10.6",
82
82
  x2: "30.02",
@@ -94,7 +94,7 @@ function RootJCB({
94
94
  offset: "1",
95
95
  stopColor: "#5CB531"
96
96
  })), /*#__PURE__*/React.createElement("linearGradient", {
97
- id: "intergalactic-icon-JCB_l_d-4.61.0",
97
+ id: "intergalactic-icon-JCB_l_d-4.62.0",
98
98
  x1: "2.01",
99
99
  y1: "12",
100
100
  x2: "10.14",
@@ -112,7 +112,7 @@ function RootJCB({
112
112
  offset: "1",
113
113
  stopColor: "#006FBC"
114
114
  })), /*#__PURE__*/React.createElement("linearGradient", {
115
- id: "intergalactic-icon-JCB_l_e-4.61.0",
115
+ id: "intergalactic-icon-JCB_l_e-4.62.0",
116
116
  x1: "11.95",
117
117
  y1: "11.98",
118
118
  x2: "19.85",
@@ -32,26 +32,26 @@ function RootJCB(_ref, ref) {
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M15.49 9.44h1.23l.15-.02a.57.57 0 0 0 .43-.57c0-.3-.2-.51-.43-.58h-1.38v1.17Z",
35
- fill: "url(#intergalactic-icon-JCB_m_a-4.61.0)",
35
+ fill: "url(#intergalactic-icon-JCB_m_a-4.62.0)",
36
36
  shapeRendering: "geometricPrecision"
37
37
  }), /*#__PURE__*/_react["default"].createElement("path", {
38
38
  d: "M16.58 1.33c-1.17 0-2.13 1-2.13 2.23v2.3h3c.07 0 .16 0 .21.02.68.04 1.19.4 1.19 1.04 0 .5-.34.93-.97 1.01v.03c.69.05 1.21.45 1.21 1.07 0 .68-.58 1.12-1.36 1.12h-3.3v4.52h3.13c1.17 0 2.13-1 2.13-2.23V1.34h-3.11Z",
39
- fill: "url(#intergalactic-icon-JCB_m_b-4.61.0)",
39
+ fill: "url(#intergalactic-icon-JCB_m_b-4.62.0)",
40
40
  shapeRendering: "geometricPrecision"
41
41
  }), /*#__PURE__*/_react["default"].createElement("path", {
42
42
  d: "M17.15 7.07c0-.3-.2-.5-.43-.53l-.12-.01H15.5V7.6h1.23a.51.51 0 0 0 .43-.53Z",
43
- fill: "url(#intergalactic-icon-JCB_m_c-4.61.0)",
43
+ fill: "url(#intergalactic-icon-JCB_m_c-4.62.0)",
44
44
  shapeRendering: "geometricPrecision"
45
45
  }), /*#__PURE__*/_react["default"].createElement("path", {
46
46
  d: "M3.45 1.33c-1.17 0-2.13 1-2.13 2.23v5.5c.6.3 1.22.5 1.84.5.74 0 1.13-.47 1.13-1.1v-2.6h1.83v2.58c0 1-.6 1.82-2.62 1.82a8.6 8.6 0 0 1-2.19-.28v4.69h3.12c1.17 0 2.13-1 2.13-2.23V1.34h-3.1Z",
47
- fill: "url(#intergalactic-icon-JCB_m_d-4.61.0)",
47
+ fill: "url(#intergalactic-icon-JCB_m_d-4.62.0)",
48
48
  shapeRendering: "geometricPrecision"
49
49
  }), /*#__PURE__*/_react["default"].createElement("path", {
50
50
  d: "M10 1.33c-1.17 0-2.13 1-2.13 2.23v2.9c.54-.47 1.48-.78 2.99-.7.8.03 1.67.26 1.67.26v.94a3.92 3.92 0 0 0-1.61-.49C9.77 6.4 9.08 6.97 9.08 8c0 1.04.69 1.62 1.84 1.53a4.11 4.11 0 0 0 1.6-.5v.95s-.84.23-1.66.27c-1.51.07-2.45-.24-2.98-.71v5.13H11c1.17 0 2.13-1 2.13-2.23V1.34H10Z",
51
- fill: "url(#intergalactic-icon-JCB_m_e-4.61.0)",
51
+ fill: "url(#intergalactic-icon-JCB_m_e-4.62.0)",
52
52
  shapeRendering: "geometricPrecision"
53
53
  }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
54
- id: "intergalactic-icon-JCB_m_a-4.61.0",
54
+ id: "intergalactic-icon-JCB_m_a-4.62.0",
55
55
  x1: "14.45",
56
56
  y1: "8.85",
57
57
  x2: "19.7",
@@ -69,7 +69,7 @@ function RootJCB(_ref, ref) {
69
69
  offset: "1",
70
70
  stopColor: "#5CB531"
71
71
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
72
- id: "intergalactic-icon-JCB_m_b-4.61.0",
72
+ id: "intergalactic-icon-JCB_m_b-4.62.0",
73
73
  x1: "14.45",
74
74
  y1: "7.99",
75
75
  x2: "19.7",
@@ -87,7 +87,7 @@ function RootJCB(_ref, ref) {
87
87
  offset: "1",
88
88
  stopColor: "#5CB531"
89
89
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
90
- id: "intergalactic-icon-JCB_m_c-4.61.0",
90
+ id: "intergalactic-icon-JCB_m_c-4.62.0",
91
91
  x1: "14.45",
92
92
  y1: "7.06",
93
93
  x2: "19.7",
@@ -105,7 +105,7 @@ function RootJCB(_ref, ref) {
105
105
  offset: "1",
106
106
  stopColor: "#5CB531"
107
107
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
108
- id: "intergalactic-icon-JCB_m_d-4.61.0",
108
+ id: "intergalactic-icon-JCB_m_d-4.62.0",
109
109
  x1: "1.32",
110
110
  y1: "8",
111
111
  x2: "6.66",
@@ -123,7 +123,7 @@ function RootJCB(_ref, ref) {
123
123
  offset: "1",
124
124
  stopColor: "#006FBC"
125
125
  })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
126
- id: "intergalactic-icon-JCB_m_e-4.61.0",
126
+ id: "intergalactic-icon-JCB_m_e-4.62.0",
127
127
  x1: "7.84",
128
128
  y1: "7.99",
129
129
  x2: "13.03",
@@ -21,26 +21,26 @@ function RootJCB({
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M15.49 9.44h1.23l.15-.02a.57.57 0 0 0 .43-.57c0-.3-.2-.51-.43-.58h-1.38v1.17Z",
24
- fill: "url(#intergalactic-icon-JCB_m_a-4.61.0)",
24
+ fill: "url(#intergalactic-icon-JCB_m_a-4.62.0)",
25
25
  shapeRendering: "geometricPrecision"
26
26
  }), /*#__PURE__*/React.createElement("path", {
27
27
  d: "M16.58 1.33c-1.17 0-2.13 1-2.13 2.23v2.3h3c.07 0 .16 0 .21.02.68.04 1.19.4 1.19 1.04 0 .5-.34.93-.97 1.01v.03c.69.05 1.21.45 1.21 1.07 0 .68-.58 1.12-1.36 1.12h-3.3v4.52h3.13c1.17 0 2.13-1 2.13-2.23V1.34h-3.11Z",
28
- fill: "url(#intergalactic-icon-JCB_m_b-4.61.0)",
28
+ fill: "url(#intergalactic-icon-JCB_m_b-4.62.0)",
29
29
  shapeRendering: "geometricPrecision"
30
30
  }), /*#__PURE__*/React.createElement("path", {
31
31
  d: "M17.15 7.07c0-.3-.2-.5-.43-.53l-.12-.01H15.5V7.6h1.23a.51.51 0 0 0 .43-.53Z",
32
- fill: "url(#intergalactic-icon-JCB_m_c-4.61.0)",
32
+ fill: "url(#intergalactic-icon-JCB_m_c-4.62.0)",
33
33
  shapeRendering: "geometricPrecision"
34
34
  }), /*#__PURE__*/React.createElement("path", {
35
35
  d: "M3.45 1.33c-1.17 0-2.13 1-2.13 2.23v5.5c.6.3 1.22.5 1.84.5.74 0 1.13-.47 1.13-1.1v-2.6h1.83v2.58c0 1-.6 1.82-2.62 1.82a8.6 8.6 0 0 1-2.19-.28v4.69h3.12c1.17 0 2.13-1 2.13-2.23V1.34h-3.1Z",
36
- fill: "url(#intergalactic-icon-JCB_m_d-4.61.0)",
36
+ fill: "url(#intergalactic-icon-JCB_m_d-4.62.0)",
37
37
  shapeRendering: "geometricPrecision"
38
38
  }), /*#__PURE__*/React.createElement("path", {
39
39
  d: "M10 1.33c-1.17 0-2.13 1-2.13 2.23v2.9c.54-.47 1.48-.78 2.99-.7.8.03 1.67.26 1.67.26v.94a3.92 3.92 0 0 0-1.61-.49C9.77 6.4 9.08 6.97 9.08 8c0 1.04.69 1.62 1.84 1.53a4.11 4.11 0 0 0 1.6-.5v.95s-.84.23-1.66.27c-1.51.07-2.45-.24-2.98-.71v5.13H11c1.17 0 2.13-1 2.13-2.23V1.34H10Z",
40
- fill: "url(#intergalactic-icon-JCB_m_e-4.61.0)",
40
+ fill: "url(#intergalactic-icon-JCB_m_e-4.62.0)",
41
41
  shapeRendering: "geometricPrecision"
42
42
  }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
43
- id: "intergalactic-icon-JCB_m_a-4.61.0",
43
+ id: "intergalactic-icon-JCB_m_a-4.62.0",
44
44
  x1: "14.45",
45
45
  y1: "8.85",
46
46
  x2: "19.7",
@@ -58,7 +58,7 @@ function RootJCB({
58
58
  offset: "1",
59
59
  stopColor: "#5CB531"
60
60
  })), /*#__PURE__*/React.createElement("linearGradient", {
61
- id: "intergalactic-icon-JCB_m_b-4.61.0",
61
+ id: "intergalactic-icon-JCB_m_b-4.62.0",
62
62
  x1: "14.45",
63
63
  y1: "7.99",
64
64
  x2: "19.7",
@@ -76,7 +76,7 @@ function RootJCB({
76
76
  offset: "1",
77
77
  stopColor: "#5CB531"
78
78
  })), /*#__PURE__*/React.createElement("linearGradient", {
79
- id: "intergalactic-icon-JCB_m_c-4.61.0",
79
+ id: "intergalactic-icon-JCB_m_c-4.62.0",
80
80
  x1: "14.45",
81
81
  y1: "7.06",
82
82
  x2: "19.7",
@@ -94,7 +94,7 @@ function RootJCB({
94
94
  offset: "1",
95
95
  stopColor: "#5CB531"
96
96
  })), /*#__PURE__*/React.createElement("linearGradient", {
97
- id: "intergalactic-icon-JCB_m_d-4.61.0",
97
+ id: "intergalactic-icon-JCB_m_d-4.62.0",
98
98
  x1: "1.32",
99
99
  y1: "8",
100
100
  x2: "6.66",
@@ -112,7 +112,7 @@ function RootJCB({
112
112
  offset: "1",
113
113
  stopColor: "#006FBC"
114
114
  })), /*#__PURE__*/React.createElement("linearGradient", {
115
- id: "intergalactic-icon-JCB_m_e-4.61.0",
115
+ id: "intergalactic-icon-JCB_m_e-4.62.0",
116
116
  x1: "7.84",
117
117
  y1: "7.99",
118
118
  x2: "13.03",
@@ -28,7 +28,7 @@ function RootVisa(_ref, ref) {
28
28
  viewBox: viewBox
29
29
  }, props), /*#__PURE__*/_react["default"].createElement("path", {
30
30
  d: "M32 21.82c0 1.2-.9 2.18-2 2.18H2c-1.1 0-2-.98-2-2.18V2.18C0 .98.9 0 2 0h28c1.1 0 2 .98 2 2.18v19.64Z",
31
- fill: "url(#intergalactic-icon-Visa_l_a-4.61.0)",
31
+ fill: "url(#intergalactic-icon-Visa_l_a-4.62.0)",
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M18.2 12.8c-.8-.4-1.8-1-1.8-2.2.1-1.6 1.5-2.7 3.6-2.8.8 0 1.5.2 2 .4l-.5 1.8c-.88-.44-1.6-.42-1.97-.4h-.13c-.6.1-.9.4-.9.7-.04.36.42.61.99.92.84.45 1.91 1.03 1.91 2.28 0 1.7-1.5 2.8-3.7 2.8-.9 0-1.8-.2-2.3-.4l.4-1.8.16.06c.47.2 1.05.44 2.04.44.6 0 1.3-.3 1.3-.8 0-.3-.3-.6-1.1-1ZM10.7 8l-2.2 5.4-.9-4.6c-.1-.5-.5-.8-1-.8H3v.2l.45.12c.6.17 1.25.34 1.65.58.3.2.4.3.5.7L7.2 16h2.2l3.4-8h-2.1ZM13.8 8 12 16h2.1l1.8-8h-2.1Z",
@@ -41,7 +41,7 @@ function RootVisa(_ref, ref) {
41
41
  fill: "#fff",
42
42
  shapeRendering: "geometricPrecision"
43
43
  }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
44
- id: "intergalactic-icon-Visa_l_a-4.61.0",
44
+ id: "intergalactic-icon-Visa_l_a-4.62.0",
45
45
  x1: "0",
46
46
  y1: "24",
47
47
  x2: "32",
@@ -17,7 +17,7 @@ function RootVisa({
17
17
  viewBox: viewBox
18
18
  }, props), /*#__PURE__*/React.createElement("path", {
19
19
  d: "M32 21.82c0 1.2-.9 2.18-2 2.18H2c-1.1 0-2-.98-2-2.18V2.18C0 .98.9 0 2 0h28c1.1 0 2 .98 2 2.18v19.64Z",
20
- fill: "url(#intergalactic-icon-Visa_l_a-4.61.0)",
20
+ fill: "url(#intergalactic-icon-Visa_l_a-4.62.0)",
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  d: "M18.2 12.8c-.8-.4-1.8-1-1.8-2.2.1-1.6 1.5-2.7 3.6-2.8.8 0 1.5.2 2 .4l-.5 1.8c-.88-.44-1.6-.42-1.97-.4h-.13c-.6.1-.9.4-.9.7-.04.36.42.61.99.92.84.45 1.91 1.03 1.91 2.28 0 1.7-1.5 2.8-3.7 2.8-.9 0-1.8-.2-2.3-.4l.4-1.8.16.06c.47.2 1.05.44 2.04.44.6 0 1.3-.3 1.3-.8 0-.3-.3-.6-1.1-1ZM10.7 8l-2.2 5.4-.9-4.6c-.1-.5-.5-.8-1-.8H3v.2l.45.12c.6.17 1.25.34 1.65.58.3.2.4.3.5.7L7.2 16h2.2l3.4-8h-2.1ZM13.8 8 12 16h2.1l1.8-8h-2.1Z",
@@ -30,7 +30,7 @@ function RootVisa({
30
30
  fill: "#fff",
31
31
  shapeRendering: "geometricPrecision"
32
32
  }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
33
- id: "intergalactic-icon-Visa_l_a-4.61.0",
33
+ id: "intergalactic-icon-Visa_l_a-4.62.0",
34
34
  x1: "0",
35
35
  y1: "24",
36
36
  x2: "32",
@@ -28,7 +28,7 @@ function RootVisa(_ref, ref) {
28
28
  viewBox: viewBox
29
29
  }, props), /*#__PURE__*/_react["default"].createElement("path", {
30
30
  d: "M21 14.55c0 .8-.6 1.45-1.31 1.45H1.3C.6 16 0 15.35 0 14.55V1.45C0 .65.6 0 1.31 0H19.7C20.4 0 21 .65 21 1.45v13.1Z",
31
- fill: "url(#intergalactic-icon-Visa_m_a-4.61.0)",
31
+ fill: "url(#intergalactic-icon-Visa_m_a-4.62.0)",
32
32
  shapeRendering: "geometricPrecision"
33
33
  }), /*#__PURE__*/_react["default"].createElement("path", {
34
34
  d: "M11.97 8.33c-.52-.26-1.18-.66-1.18-1.46.07-1.07.99-1.8 2.37-1.87.52 0 .98.13 1.3.27l-.32 1.2c-.58-.3-1.05-.28-1.3-.27h-.08c-.4.07-.59.27-.59.47-.02.24.28.4.65.6.55.3 1.25.7 1.25 1.53 0 1.13-.98 1.87-2.42 1.87a4.4 4.4 0 0 1-1.51-.27l.26-1.2.1.04c.31.13.7.3 1.34.3.4 0 .86-.2.86-.54 0-.2-.2-.4-.72-.67ZM7.05 5.13l-1.44 3.6L5 5.67a.64.64 0 0 0-.65-.54H2v.14l.3.08c.4.1.82.22 1.08.38.2.14.26.2.33.47l1.05 4.27H6.2l2.23-5.34H7.05ZM9.09 5.13 7.9 10.47h1.37l1.19-5.34H9.09Z",
@@ -41,7 +41,7 @@ function RootVisa(_ref, ref) {
41
41
  fill: "#fff",
42
42
  shapeRendering: "geometricPrecision"
43
43
  }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
44
- id: "intergalactic-icon-Visa_m_a-4.61.0",
44
+ id: "intergalactic-icon-Visa_m_a-4.62.0",
45
45
  x1: "0",
46
46
  y1: "16",
47
47
  x2: "21",