@semcore/icon 4.56.0 → 4.57.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 (45) 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/Copilot/l/index.d.ts +6 -0
  7. package/color/Copilot/l/index.js +79 -0
  8. package/color/Copilot/l/index.mjs +67 -0
  9. package/color/Copilot/m/index.d.ts +6 -0
  10. package/color/Copilot/m/index.js +79 -0
  11. package/color/Copilot/m/index.mjs +67 -0
  12. package/color/MetaColored/l/index.js +4 -4
  13. package/color/MetaColored/l/index.mjs +4 -4
  14. package/color/MetaColored/m/index.js +4 -4
  15. package/color/MetaColored/m/index.mjs +4 -4
  16. package/color/MicrosoftOffice/l/index.js +10 -10
  17. package/color/MicrosoftOffice/l/index.mjs +10 -10
  18. package/color/MicrosoftOffice/m/index.js +10 -10
  19. package/color/MicrosoftOffice/m/index.mjs +10 -10
  20. package/lib/cjs/Icon.js +9 -9
  21. package/lib/es6/{Icon.mjs → Icon.js} +10 -10
  22. package/lib/es6/Icon.js.map +1 -0
  23. package/lib/es6/index.d.js +2 -0
  24. package/lib/es6/index.d.js.map +1 -0
  25. package/lib/es6/{index.mjs → index.js} +1 -1
  26. package/lib/es6/index.js.map +1 -0
  27. package/package.json +3 -3
  28. package/pay/Discover/l/index.js +1 -1
  29. package/pay/Discover/l/index.mjs +1 -1
  30. package/pay/Discover/m/index.js +1 -1
  31. package/pay/Discover/m/index.mjs +1 -1
  32. package/pay/JCB/l/index.js +10 -10
  33. package/pay/JCB/l/index.mjs +10 -10
  34. package/pay/JCB/m/index.js +10 -10
  35. package/pay/JCB/m/index.mjs +10 -10
  36. package/pay/Visa/l/index.js +2 -2
  37. package/pay/Visa/l/index.mjs +2 -2
  38. package/pay/Visa/m/index.js +2 -2
  39. package/pay/Visa/m/index.mjs +2 -2
  40. package/svg/color/Copilot/l.svg +1 -0
  41. package/svg/color/Copilot/m.svg +1 -0
  42. package/lib/es6/Icon.mjs.map +0 -1
  43. package/lib/es6/index.d.mjs +0 -2
  44. package/lib/es6/index.d.mjs.map +0 -1
  45. package/lib/es6/index.mjs.map +0 -1
@@ -21,26 +21,26 @@ function JCB({
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.56.0)",
24
+ fill: "url(#intergalactic-icon-JCB_m_a-4.57.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.56.0)",
28
+ fill: "url(#intergalactic-icon-JCB_m_b-4.57.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.56.0)",
32
+ fill: "url(#intergalactic-icon-JCB_m_c-4.57.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.56.0)",
36
+ fill: "url(#intergalactic-icon-JCB_m_d-4.57.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.56.0)",
40
+ fill: "url(#intergalactic-icon-JCB_m_e-4.57.0)",
41
41
  shapeRendering: "geometricPrecision"
42
42
  }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
43
- id: "intergalactic-icon-JCB_m_a-4.56.0",
43
+ id: "intergalactic-icon-JCB_m_a-4.57.0",
44
44
  x1: "14.45",
45
45
  y1: "8.85",
46
46
  x2: "19.7",
@@ -58,7 +58,7 @@ function JCB({
58
58
  offset: "1",
59
59
  stopColor: "#5CB531"
60
60
  })), /*#__PURE__*/React.createElement("linearGradient", {
61
- id: "intergalactic-icon-JCB_m_b-4.56.0",
61
+ id: "intergalactic-icon-JCB_m_b-4.57.0",
62
62
  x1: "14.45",
63
63
  y1: "7.99",
64
64
  x2: "19.7",
@@ -76,7 +76,7 @@ function JCB({
76
76
  offset: "1",
77
77
  stopColor: "#5CB531"
78
78
  })), /*#__PURE__*/React.createElement("linearGradient", {
79
- id: "intergalactic-icon-JCB_m_c-4.56.0",
79
+ id: "intergalactic-icon-JCB_m_c-4.57.0",
80
80
  x1: "14.45",
81
81
  y1: "7.06",
82
82
  x2: "19.7",
@@ -94,7 +94,7 @@ function JCB({
94
94
  offset: "1",
95
95
  stopColor: "#5CB531"
96
96
  })), /*#__PURE__*/React.createElement("linearGradient", {
97
- id: "intergalactic-icon-JCB_m_d-4.56.0",
97
+ id: "intergalactic-icon-JCB_m_d-4.57.0",
98
98
  x1: "1.32",
99
99
  y1: "8",
100
100
  x2: "6.66",
@@ -112,7 +112,7 @@ function JCB({
112
112
  offset: "1",
113
113
  stopColor: "#006FBC"
114
114
  })), /*#__PURE__*/React.createElement("linearGradient", {
115
- id: "intergalactic-icon-JCB_m_e-4.56.0",
115
+ id: "intergalactic-icon-JCB_m_e-4.57.0",
116
116
  x1: "7.84",
117
117
  y1: "7.99",
118
118
  x2: "13.03",
@@ -28,7 +28,7 @@ function Visa(_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.56.0)",
31
+ fill: "url(#intergalactic-icon-Visa_l_a-4.57.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 Visa(_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.56.0",
44
+ id: "intergalactic-icon-Visa_l_a-4.57.0",
45
45
  x1: "0",
46
46
  y1: "24",
47
47
  x2: "32",
@@ -17,7 +17,7 @@ function Visa({
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.56.0)",
20
+ fill: "url(#intergalactic-icon-Visa_l_a-4.57.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 Visa({
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.56.0",
33
+ id: "intergalactic-icon-Visa_l_a-4.57.0",
34
34
  x1: "0",
35
35
  y1: "24",
36
36
  x2: "32",
@@ -28,7 +28,7 @@ function Visa(_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.56.0)",
31
+ fill: "url(#intergalactic-icon-Visa_m_a-4.57.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 Visa(_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.56.0",
44
+ id: "intergalactic-icon-Visa_m_a-4.57.0",
45
45
  x1: "0",
46
46
  y1: "16",
47
47
  x2: "21",
@@ -17,7 +17,7 @@ function Visa({
17
17
  viewBox: viewBox
18
18
  }, props), /*#__PURE__*/React.createElement("path", {
19
19
  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",
20
- fill: "url(#intergalactic-icon-Visa_m_a-4.56.0)",
20
+ fill: "url(#intergalactic-icon-Visa_m_a-4.57.0)",
21
21
  shapeRendering: "geometricPrecision"
22
22
  }), /*#__PURE__*/React.createElement("path", {
23
23
  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",
@@ -30,7 +30,7 @@ function Visa({
30
30
  fill: "#fff",
31
31
  shapeRendering: "geometricPrecision"
32
32
  }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
33
- id: "intergalactic-icon-Visa_m_a-4.56.0",
33
+ id: "intergalactic-icon-Visa_m_a-4.57.0",
34
34
  x1: "0",
35
35
  y1: "16",
36
36
  x2: "21",
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.098 2.106C3.905.298 7.554.799 11.429 3.047a75.743 75.743 0 0 0-1.705 1.654C7.147 7.28 5.09 9.993 3.698 12.502.902 8.242.125 4.078 2.098 2.106ZM19.306 14.283c.57-.57 1.123-1.14 1.654-1.705 2.248 3.876 2.75 7.524.942 9.332-1.973 1.973-6.137 1.196-10.397-1.6 2.509-1.392 5.223-3.45 7.8-6.027ZM21.341 2.666c2.08 2.08-.43 7.964-5.608 13.142-5.178 5.177-11.062 7.688-13.142 5.608s.43-7.964 5.608-13.142C13.377 3.096 19.261.585 21.341 2.666Z" fill="#6F00FF"/><path d="M21.341 2.666c2.08 2.08-.43 7.964-5.608 13.142-5.178 5.177-11.062 7.688-13.142 5.608s.43-7.964 5.608-13.142C13.377 3.096 19.261.585 21.341 2.666Z" fill="url(#paint0_radial_7522_9)"/><path d="M21.341 2.666c2.08 2.08-.43 7.964-5.608 13.142-5.178 5.177-11.062 7.688-13.142 5.608s.43-7.964 5.608-13.142C13.377 3.096 19.261.585 21.341 2.666Z" fill="url(#paint1_radial_7522_9)"/><defs><radialGradient id="paint0_radial_7522_9" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90 9.765 11.995) scale(31.0929)"><stop stop-color="#FF642D"/><stop offset=".78" stop-color="#D629D6" stop-opacity="0"/><stop offset="1" stop-color="#F9F9F9" stop-opacity="0"/></radialGradient><radialGradient id="paint1_radial_7522_9" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90 3.667 9.487) scale(31.0929)"><stop stop-color="#FF642D"/><stop offset=".78" stop-color="#D629D6" stop-opacity="0"/><stop offset="1" stop-color="#F9F9F9" stop-opacity="0"/></radialGradient></defs></svg>
@@ -0,0 +1 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M.798.806c1.315-1.314 3.968-.95 6.787.685-.412.386-.826.788-1.24 1.203C4.47 4.568 2.974 6.543 1.962 8.367-.071 5.27-.636 2.241.798.807ZM13.313 9.662c.415-.414.817-.828 1.204-1.24 1.635 2.82 2 5.473.685 6.787-1.435 1.435-4.464.87-7.562-1.163 1.824-1.012 3.799-2.51 5.673-4.384ZM14.794 1.213c1.513 1.513-.314 5.792-4.08 9.558-3.765 3.766-8.044 5.592-9.557 4.079s.313-5.792 4.079-9.558C9.002 1.527 13.28-.3 14.794 1.213Z" fill="#6F00FF"/><path d="M14.794 1.213c1.513 1.513-.314 5.792-4.08 9.558-3.765 3.766-8.044 5.592-9.557 4.079s.313-5.792 4.079-9.558C9.002 1.527 13.28-.3 14.794 1.213Z" fill="url(#paint0_radial_7522_3)"/><path d="M14.794 1.213c1.513 1.513-.314 5.792-4.08 9.558-3.765 3.766-8.044 5.592-9.557 4.079s.313-5.792 4.079-9.558C9.002 1.527 13.28-.3 14.794 1.213Z" fill="url(#paint1_radial_7522_3)"/><defs><radialGradient id="paint0_radial_7522_3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90 7.1 7.997) scale(22.613)"><stop stop-color="#FF642D"/><stop offset=".78" stop-color="#D629D6" stop-opacity="0"/><stop offset="1" stop-color="#F9F9F9" stop-opacity="0"/></radialGradient><radialGradient id="paint1_radial_7522_3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90 2.666 6.173) scale(22.613)"><stop stop-color="#FF642D"/><stop offset=".78" stop-color="#D629D6" stop-opacity="0"/><stop offset="1" stop-color="#F9F9F9" stop-opacity="0"/></radialGradient></defs></svg>
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.mjs","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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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.d.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mjs","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { BoxProps } from '@semcore/flex-box';\nimport { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface IIconProps extends IconProps, UnknownProperties {}\nexport type IconProps = BoxProps &\n KeyboardFocusProps & {\n width?: string | number;\n height?: string | number;\n viewBox?: string;\n /** Make an icon interactive */\n interactive?: boolean;\n /** Icon color */\n color?: string;\n };\n\ndeclare const Icon: Intergalactic.Component<'svg', IconProps>;\n\nexport default Icon;\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":["default"],"sources":["../../src/index.js"],"sourcesContent":["export { default } from './Icon';\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ"}