@coinbase/cds-web 8.33.1 → 8.34.1
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 +10 -0
- package/dts/core/polymorphism.d.ts +6 -0
- package/dts/core/polymorphism.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,16 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.34.1 (12/23/2025 PST)
|
|
12
|
+
|
|
13
|
+
#### 🐞 Fixes
|
|
14
|
+
|
|
15
|
+
- Updated docgen version and enhanced props table with polymorphic default element extraction. [[#276](https://github.com/coinbase/cds/pull/276)]
|
|
16
|
+
|
|
17
|
+
## 8.34.0 ((12/19/2025, 02:32 PM PST))
|
|
18
|
+
|
|
19
|
+
This is an artificial version bump with no new change.
|
|
20
|
+
|
|
11
21
|
## 8.33.1 (12/19/2025 PST)
|
|
12
22
|
|
|
13
23
|
#### 🐞 Fixes
|
|
@@ -14,6 +14,12 @@ export declare namespace Polymorphic {
|
|
|
14
14
|
type Props<AsComponent extends React.ElementType, Props> = Polymorphic.InheritableElementProps<
|
|
15
15
|
AsComponent,
|
|
16
16
|
Props & {
|
|
17
|
+
/**
|
|
18
|
+
* The underlying element or component the polymorphic component will render.
|
|
19
|
+
*
|
|
20
|
+
* Changing `as` also changes the inherited native props (e.g. `href` for `as="a"`) and the
|
|
21
|
+
* expected `ref` type.
|
|
22
|
+
*/
|
|
17
23
|
as?: AsComponent;
|
|
18
24
|
} & {
|
|
19
25
|
ref?: Polymorphic.Ref<AsComponent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polymorphism.d.ts","sourceRoot":"","sources":["../../src/core/polymorphism.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,yBAAiB,WAAW,CAAC;IAC3B,KAAY,eAAe,CAAC,SAAS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C,WAAW,CAAC,CAAA;KAAE,CAC3C,CAAC;IAEF,KAAY,WAAW,GAAG,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAE5D,KAAY,UAAU,GAAG;SACtB,CAAC,IAAI,MAAM,KAAK,CAAC,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;KACvE,CAAC;CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-web",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.34.1",
|
|
4
4
|
"description": "Coinbase Design System - Web",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -203,8 +203,8 @@
|
|
|
203
203
|
"react-dom": "^18.3.1"
|
|
204
204
|
},
|
|
205
205
|
"dependencies": {
|
|
206
|
-
"@coinbase/cds-common": "^8.
|
|
207
|
-
"@coinbase/cds-icons": "^5.
|
|
206
|
+
"@coinbase/cds-common": "^8.34.1",
|
|
207
|
+
"@coinbase/cds-icons": "^5.9.0",
|
|
208
208
|
"@coinbase/cds-illustrations": "^4.29.0",
|
|
209
209
|
"@coinbase/cds-lottie-files": "^3.3.4",
|
|
210
210
|
"@coinbase/cds-utils": "^2.3.5",
|