@commercetools/nimbus-icons 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @commercetools/nimbus-icons
2
2
 
3
+ ## 2.7.0
4
+
5
+ ## 2.6.0
6
+
7
+ ### Patch Changes
8
+
9
+ - [#1080](https://github.com/commercetools/nimbus/pull/1080)
10
+ [`b436bf8`](https://github.com/commercetools/nimbus/commit/b436bf80954f6e8913f92f0c67d6e4c1fe93fc07)
11
+ Thanks [@valoriecarli](https://github.com/valoriecarli)! - Fix CheckCircle
12
+ icon to render as filled instead of outline.
13
+
3
14
  ## 2.5.0
4
15
 
5
16
  ## 2.4.0
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const react_1 = require("react");
5
+ const SvgCheckCircle = (props, ref) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", "aria-hidden": "true", fill: "currentColor", viewBox: "0 0 24 24", ref: ref, ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }) }));
6
+ const ForwardRef = (0, react_1.forwardRef)(SvgCheckCircle);
7
+ exports.default = ForwardRef;
@@ -3,3 +3,4 @@ export { Figma } from "./custom-icons/figma";
3
3
  export { Github } from "./custom-icons/github";
4
4
  export { CommercetoolsCube } from "./custom-icons/commercetools-cube";
5
5
  export { HighPrecision } from "./custom-icons/high-precision";
6
+ export { default as CheckCircle } from "./custom-icons/check-circle";
package/dist/cjs/index.js CHANGED
@@ -13,8 +13,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
13
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
16
19
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.HighPrecision = exports.CommercetoolsCube = exports.Github = exports.Figma = void 0;
20
+ exports.CheckCircle = exports.HighPrecision = exports.CommercetoolsCube = exports.Github = exports.Figma = void 0;
18
21
  __exportStar(require("./material-icons"), exports);
19
22
  var figma_1 = require("./custom-icons/figma");
20
23
  Object.defineProperty(exports, "Figma", { enumerable: true, get: function () { return figma_1.Figma; } });
@@ -24,3 +27,6 @@ var commercetools_cube_1 = require("./custom-icons/commercetools-cube");
24
27
  Object.defineProperty(exports, "CommercetoolsCube", { enumerable: true, get: function () { return commercetools_cube_1.CommercetoolsCube; } });
25
28
  var high_precision_1 = require("./custom-icons/high-precision");
26
29
  Object.defineProperty(exports, "HighPrecision", { enumerable: true, get: function () { return high_precision_1.HighPrecision; } });
30
+ // Override buggy CheckCircle with correct Material filled version
31
+ var check_circle_1 = require("./custom-icons/check-circle");
32
+ Object.defineProperty(exports, "CheckCircle", { enumerable: true, get: function () { return __importDefault(check_circle_1).default; } });
@@ -0,0 +1,3 @@
1
+ import type { SVGProps } from "react";
2
+ declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ const SvgCheckCircle = (props, ref) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", "aria-hidden": "true", fill: "currentColor", viewBox: "0 0 24 24", ref: ref, ...props, children: _jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }) }));
4
+ const ForwardRef = forwardRef(SvgCheckCircle);
5
+ export default ForwardRef;
@@ -3,3 +3,4 @@ export { Figma } from "./custom-icons/figma";
3
3
  export { Github } from "./custom-icons/github";
4
4
  export { CommercetoolsCube } from "./custom-icons/commercetools-cube";
5
5
  export { HighPrecision } from "./custom-icons/high-precision";
6
+ export { default as CheckCircle } from "./custom-icons/check-circle";
package/dist/esm/index.js CHANGED
@@ -3,3 +3,5 @@ export { Figma } from "./custom-icons/figma";
3
3
  export { Github } from "./custom-icons/github";
4
4
  export { CommercetoolsCube } from "./custom-icons/commercetools-cube";
5
5
  export { HighPrecision } from "./custom-icons/high-precision";
6
+ // Override buggy CheckCircle with correct Material filled version
7
+ export { default as CheckCircle } from "./custom-icons/check-circle";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools/nimbus-icons",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@svgr/plugin-jsx": "^8.1.0",
34
34
  "@types/node": "^24.10.1",
35
- "@types/react": "^19.2.10",
35
+ "@types/react": "^19.2.14",
36
36
  "react": "^19.0.0",
37
37
  "typescript": "~5.9.3"
38
38
  },
@@ -0,0 +1,23 @@
1
+ import type { SVGProps } from "react";
2
+ import { Ref, forwardRef } from "react";
3
+
4
+ const SvgCheckCircle = (
5
+ props: SVGProps<SVGSVGElement>,
6
+ ref: Ref<SVGSVGElement>
7
+ ) => (
8
+ <svg
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ width="1em"
11
+ height="1em"
12
+ aria-hidden="true"
13
+ fill="currentColor"
14
+ viewBox="0 0 24 24"
15
+ ref={ref}
16
+ {...props}
17
+ >
18
+ <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" />
19
+ </svg>
20
+ );
21
+
22
+ const ForwardRef = forwardRef(SvgCheckCircle);
23
+ export default ForwardRef;
package/src/index.ts CHANGED
@@ -4,3 +4,5 @@ export { Figma } from "./custom-icons/figma";
4
4
  export { Github } from "./custom-icons/github";
5
5
  export { CommercetoolsCube } from "./custom-icons/commercetools-cube";
6
6
  export { HighPrecision } from "./custom-icons/high-precision";
7
+ // Override buggy CheckCircle with correct Material filled version
8
+ export { default as CheckCircle } from "./custom-icons/check-circle";