@coinbase/cds-web 8.49.0 → 8.49.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,12 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.49.1 (3/5/2026 PST)
|
|
12
|
+
|
|
13
|
+
#### 🐞 Fixes
|
|
14
|
+
|
|
15
|
+
- Fix: spread tabs props at end for Tabs. [[#472](https://github.com/coinbase/cds/pull/472)]
|
|
16
|
+
|
|
11
17
|
## 8.49.0 (2/26/2026 PST)
|
|
12
18
|
|
|
13
19
|
#### 🚀 Updates
|
|
@@ -423,7 +429,7 @@ This is an artificial version bump with no new change.
|
|
|
423
429
|
|
|
424
430
|
#### 🐞 Fixes
|
|
425
431
|
|
|
426
|
-
- Improve keyboard navigation for Tabs components and
|
|
432
|
+
- Improve keyboard navigation for Tabs components and update ARIA roles. [[#96](https://github.com/coinbase/cds/pull/96)]
|
|
427
433
|
|
|
428
434
|
## 8.25.0 (12/1/2025 PST)
|
|
429
435
|
|
|
@@ -505,7 +511,7 @@ This is an artificial version bump with no new change.
|
|
|
505
511
|
|
|
506
512
|
- Fixed select alpha dropdown zIndex. [[#161](https://github.com/coinbase/cds/pull/161)]
|
|
507
513
|
- Corrected ListCell spacingVariant jsdoc. [[#161](https://github.com/coinbase/cds/pull/161)]
|
|
508
|
-
- Updated docs of
|
|
514
|
+
- Updated docs of FullscreenModal and FullscreenModalLayout to show a more precise 3-column layout example. [[#161](https://github.com/coinbase/cds/pull/161)]
|
|
509
515
|
|
|
510
516
|
## 8.21.0 (11/12/2025 PST)
|
|
511
517
|
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// // @ts-expect-error not typed
|
|
26
|
-
// example: (props) => <SidebarItem active compact {...props} />,
|
|
27
|
-
// },
|
|
28
|
-
// );
|
|
1
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { figma } from '@figma/code-connect';
|
|
8
|
+
import { SidebarItem } from '../SidebarItem';
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
figma.connect(SidebarItem, 'https://www.figma.com/design/k5CtyJccNQUGMI5bI4lJ2g/%E2%9C%A8-CDS-Components?node-id=252-12892', {
|
|
11
|
+
imports: ["import { SidebarItem } from '@coinbase/cds-web/navigation/SidebarItem';"],
|
|
12
|
+
variant: {
|
|
13
|
+
type: 'default',
|
|
14
|
+
state: 'default',
|
|
15
|
+
active: 'true'
|
|
16
|
+
},
|
|
17
|
+
props: {
|
|
18
|
+
title: figma.textContent('Label')
|
|
19
|
+
},
|
|
20
|
+
example: props => /*#__PURE__*/_jsx(SidebarItem, _objectSpread({
|
|
21
|
+
active: true,
|
|
22
|
+
icon: "home"
|
|
23
|
+
}, props))
|
|
24
|
+
});
|
package/esm/tabs/Tabs.js
CHANGED
|
@@ -169,16 +169,15 @@ const TabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref2, ref) =>
|
|
|
169
169
|
return /*#__PURE__*/_jsx(TabContainer, {
|
|
170
170
|
id: id,
|
|
171
171
|
registerRef: registerRef,
|
|
172
|
-
children: /*#__PURE__*/_jsx(RenderedTab, _objectSpread(
|
|
172
|
+
children: /*#__PURE__*/_jsx(RenderedTab, _objectSpread({
|
|
173
173
|
"data-rendered-tab": true,
|
|
174
|
+
className: classNames === null || classNames === void 0 ? void 0 : classNames.tab,
|
|
174
175
|
disabled: tabDisabled,
|
|
175
176
|
id: id,
|
|
176
177
|
role: "tab",
|
|
178
|
+
style: styles === null || styles === void 0 ? void 0 : styles.tab,
|
|
177
179
|
tabIndex: (activeTab === null || activeTab === void 0 ? void 0 : activeTab.id) === id || !activeTab ? 0 : -1
|
|
178
|
-
}, props)
|
|
179
|
-
className: classNames === null || classNames === void 0 ? void 0 : classNames.tab,
|
|
180
|
-
style: styles === null || styles === void 0 ? void 0 : styles.tab
|
|
181
|
-
}))
|
|
180
|
+
}, props))
|
|
182
181
|
}, id);
|
|
183
182
|
})]
|
|
184
183
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-web",
|
|
3
|
-
"version": "8.49.
|
|
3
|
+
"version": "8.49.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.49.
|
|
211
|
-
"@coinbase/cds-icons": "^5.
|
|
212
|
-
"@coinbase/cds-illustrations": "^4.
|
|
210
|
+
"@coinbase/cds-common": "^8.49.1",
|
|
211
|
+
"@coinbase/cds-icons": "^5.12.0",
|
|
212
|
+
"@coinbase/cds-illustrations": "^4.32.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",
|