@nimbus-ds/typings 1.2.1 → 1.3.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
@@ -2,6 +2,12 @@
2
2
 
3
3
  This package is intended for internal use in creating components with polymorphic typing.
4
4
 
5
+ ## 2025-07-29 `1.3.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added `SVGElementProps` type to support SVG element props in gradient applications and icon components. ([#321](https://github.com/TiendaNube/nimbus-design-system/pull/321) by [@joacotornello](https://github.com/joacotornello))
10
+
5
11
  ## 2025-03-20 `1.2.1`
6
12
 
7
13
  #### 🐛 Bug fixes
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This package is intended for internal use in creating components with polymorphic typing.
4
4
 
5
+ ## 2025-07-29 `1.3.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Added `SVGElementProps` type to support SVG element props in gradient applications and icon components. ([#321](https://github.com/TiendaNube/nimbus-design-system/pull/321) by [@joacotornello](https://github.com/joacotornello))
10
+
5
11
  ## 2025-03-20 `1.2.1`
6
12
 
7
13
  #### 🐛 Bug fixes
package/dist/index.d.ts CHANGED
@@ -1,9 +1,19 @@
1
1
  // Generated by dts-bundle-generator v7.2.0
2
2
 
3
3
  import React from 'react';
4
- import { ForwardedRef, RefObject } from 'react';
4
+ import { ForwardedRef, ReactNode, RefObject } from 'react';
5
5
 
6
6
  export type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
7
+ /**
8
+ * Properties for SVG elements including common attributes and flexible extension.
9
+ * Used for typing SVG element props in gradient applications and icon components.
10
+ */
11
+ export type SVGElementProps = {
12
+ fill?: string;
13
+ stroke?: string;
14
+ children?: ReactNode;
15
+ [key: string]: unknown;
16
+ };
7
17
  /**
8
18
  * Infers the OwnProps if E is a ForwardRefExoticComponentWithAs
9
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/typings",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -22,6 +22,6 @@
22
22
  "url": "https://github.com/TiendaNube/nimbus-design-system/issues"
23
23
  },
24
24
  "devDependencies": {
25
- "@nimbus-ds/webpack": "^1.5.0"
25
+ "@nimbus-ds/webpack": "^1.5.1"
26
26
  }
27
27
  }