@coinbase/cds-web 8.52.2 → 8.53.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
CHANGED
|
@@ -8,6 +8,22 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.53.1 (3/17/2026 PST)
|
|
12
|
+
|
|
13
|
+
#### 🐞 Fixes
|
|
14
|
+
|
|
15
|
+
- Fix: update RemoteImageGroup excess bg color. [[#512](https://github.com/coinbase/cds/pull/512)]
|
|
16
|
+
|
|
17
|
+
## 8.53.0 (3/16/2026 PST)
|
|
18
|
+
|
|
19
|
+
#### 🚀 Updates
|
|
20
|
+
|
|
21
|
+
- Feat: update Checkbox borderRadius to match design. [[#509](https://github.com/coinbase/cds/pull/509)]
|
|
22
|
+
|
|
23
|
+
#### 📘 Misc
|
|
24
|
+
|
|
25
|
+
- Deprecate SegmentedControl. [[#493](https://github.com/coinbase/cds/pull/493)]
|
|
26
|
+
|
|
11
27
|
## 8.52.2 (3/11/2026 PST)
|
|
12
28
|
|
|
13
29
|
#### 🐞 Fixes
|
|
@@ -42,6 +42,9 @@ type IconOptionProps = {
|
|
|
42
42
|
/** The options to render as an array of values and IconNames */
|
|
43
43
|
options: IconOptions;
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated SegmentedControl is deprecated and will be removed in a future version. Please use Tabs or SegmentedTabs instead.
|
|
47
|
+
*/
|
|
45
48
|
export declare const SegmentedControl: React.MemoExoticComponent<
|
|
46
49
|
React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLInputElement>>
|
|
47
50
|
>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../src/controls/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmE,MAAM,OAAO,CAAC;AA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EG;AACH,eAAO,MAAM,gBAAgB,2HAA6C,CAAC"}
|
package/esm/controls/Checkbox.js
CHANGED
|
@@ -24,7 +24,7 @@ const CheckboxWithRef = /*#__PURE__*/forwardRef(function CheckboxWithRef(_ref, r
|
|
|
24
24
|
controlColor = 'fgInverse',
|
|
25
25
|
background = checked || indeterminate ? 'bgPrimary' : 'bg',
|
|
26
26
|
borderColor = checked || indeterminate ? 'bgPrimary' : 'bgLineHeavy',
|
|
27
|
-
borderRadius,
|
|
27
|
+
borderRadius = 100,
|
|
28
28
|
borderWidth = 100,
|
|
29
29
|
elevation
|
|
30
30
|
} = _ref,
|
|
@@ -104,6 +104,10 @@ function SegmentedControlInternal(props, ref) {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated SegmentedControl is deprecated and will be removed in a future version. Please use Tabs or SegmentedTabs instead.
|
|
110
|
+
*/
|
|
107
111
|
export const SegmentedControl = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(SegmentedControlInternal));
|
|
108
112
|
SegmentedControl.displayName = 'SegmentedControl';
|
|
109
113
|
import "./SegmentedControl.css";
|
|
@@ -83,7 +83,7 @@ export const RemoteImageGroup = _ref => {
|
|
|
83
83
|
}, index);
|
|
84
84
|
}), excess > 0 && /*#__PURE__*/_jsx(Box, {
|
|
85
85
|
alignItems: "center",
|
|
86
|
-
background: "
|
|
86
|
+
background: "bgSecondary",
|
|
87
87
|
borderColor: borderColor,
|
|
88
88
|
borderWidth: borderWidth,
|
|
89
89
|
className: cx(excessContainerCss, borderRadiusCss[shape]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-web",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.53.1",
|
|
4
4
|
"description": "Coinbase Design System - Web",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -207,9 +207,9 @@
|
|
|
207
207
|
"react-dom": "^18.3.1"
|
|
208
208
|
},
|
|
209
209
|
"dependencies": {
|
|
210
|
-
"@coinbase/cds-common": "^8.
|
|
211
|
-
"@coinbase/cds-icons": "^5.
|
|
212
|
-
"@coinbase/cds-illustrations": "^4.
|
|
210
|
+
"@coinbase/cds-common": "^8.53.1",
|
|
211
|
+
"@coinbase/cds-icons": "^5.13.0",
|
|
212
|
+
"@coinbase/cds-illustrations": "^4.34.0",
|
|
213
213
|
"@coinbase/cds-lottie-files": "^3.3.4",
|
|
214
214
|
"@coinbase/cds-utils": "^2.3.5",
|
|
215
215
|
"@floating-ui/react-dom": "^2.1.1",
|