@commercetools/nimbus-icons 3.2.0 → 3.4.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/.svgrrc.js CHANGED
@@ -3,9 +3,16 @@ module.exports = {
3
3
  jsx: {
4
4
  babelConfig: {
5
5
  plugins: [
6
- // For an example, this plugin will remove "id" attribute from "svg" tag
6
+ // Resolve to an absolute path so Babel loads the plugin regardless of
7
+ // how pnpm hoists it. A bare module name is resolved by @babel/core
8
+ // relative to its resolution base, which is not reliable under pnpm's
9
+ // strict node_modules layout (e.g. a clean CI install) and caused
10
+ // "Cannot find module '@svgr/babel-plugin-add-jsx-attribute'" on Vercel.
11
+ // The plugin is declared as a direct devDependency of this package so
12
+ // require.resolve always finds it here.
7
13
  [
8
- "@svgr/babel-plugin-add-jsx-attribute",
14
+ // eslint-disable-next-line no-undef
15
+ require.resolve("@svgr/babel-plugin-add-jsx-attribute"),
9
16
  {
10
17
  elements: ["svg"],
11
18
  attributes: [
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @commercetools/nimbus-icons
2
2
 
3
+ ## 3.4.0
4
+
5
+ ## 3.3.0
6
+
3
7
  ## 3.2.0
4
8
 
5
9
  ## 3.1.0
package/README.mdx CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  id: Icons
3
3
  title: Icons
4
- description: display Icons
4
+ description: Find and use icons from the Nimbus icon library.
5
5
  layout: no-sidebar
6
6
  order: 5
7
7
  menu:
@@ -10,17 +10,4 @@ tags:
10
10
  - icons
11
11
  ---
12
12
 
13
- # Icons
14
-
15
- Icons come from a separate package. Each Icon is a react component that can be
16
- used in any other component.
17
-
18
- > [!NOTE]
19
- > If you can't find a fitting Icon, you may want to use the external
20
- > [material ui icon search](https://mui.com/material-ui/material-icons/?theme=Outlined&query=access#search-material-icons)
21
- > as the search below does not have access to Icon meta-data, only to
22
- > component-names.
23
-
24
- Here is the list of available icons:
25
-
26
13
  <IconSearch />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools/nimbus-icons",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -30,8 +30,9 @@
30
30
  "@svgr/cli": "^8.1.0"
31
31
  },
32
32
  "devDependencies": {
33
+ "@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
33
34
  "@svgr/plugin-jsx": "^8.1.0",
34
- "@types/node": "^24.13.2",
35
+ "@types/node": "^24.13.3",
35
36
  "@types/react": "^19.2.17",
36
37
  "react": "^19.0.0",
37
38
  "typescript": "~5.9.3"