@coinbase/cds-web 8.46.1 → 8.47.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/buttons/Button.d.ts.map +1 -1
- package/dts/overlays/tray/__figma__/Tray.figma.d.ts +2 -0
- package/dts/overlays/tray/__figma__/Tray.figma.d.ts.map +1 -0
- package/esm/buttons/Button.js +11 -2
- package/esm/carousel/__figma__/Carousel.figma.js +31 -9
- package/esm/overlays/tray/__figma__/Tray.figma.js +191 -0
- package/package.json +2 -2
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.47.1 ((2/19/2026, 01:18 PM PST))
|
|
12
|
+
|
|
13
|
+
This is an artificial version bump with no new change.
|
|
14
|
+
|
|
15
|
+
## 8.47.0 (2/19/2026 PST)
|
|
16
|
+
|
|
17
|
+
#### 🚀 Updates
|
|
18
|
+
|
|
19
|
+
- Feat: enable Button text customization via font props. [[#408](https://github.com/coinbase/cds/pull/408)]
|
|
20
|
+
|
|
11
21
|
## 8.46.1 (2/12/2026 PST)
|
|
12
22
|
|
|
13
23
|
#### 🐞 Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EACV,aAAa,EACb,QAAQ,EACR,wBAAwB,EACxB,WAAW,EACZ,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,EAAa,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAOzE,eAAO,MAAM,aAAa,MAAM,CAAC;AA8FjC,eAAO,MAAM,oBAAoB,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SAAS,CAAC;IACxB,iDAAiD;IACjD,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,uCAAuC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uBAAuB;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACxB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CACJ,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,WAAW,SAAS,KAAK,CAAC,WAAW,IAAI,WAAW,CAAC,KAAK,CAChF,WAAW,EACX,eAAe,CAChB,CAAC;AAEF,KAAK,eAAe,GAAG,CAAC,CAAC,WAAW,SAAS,KAAK,CAAC,WAAW,GAAG,oBAAoB,EACnF,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,KAC5B,WAAW,CAAC,WAAW,CAAC,GAC3B,WAAW,CAAC,UAAU,CAAC;AAEzB,eAAO,MAAM,MAAM,EAAE,eAqIpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tray.figma.d.ts","sourceRoot":"","sources":["../../../../src/overlays/tray/__figma__/Tray.figma.tsx"],"names":[],"mappings":""}
|
package/esm/buttons/Button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["as", "variant", "loading", "transparent", "block", "compact", "children", "start", "startIcon", "startIconActive", "end", "endIcon", "endIconActive", "flush", "noScaleOnPress", "numberOfLines", "background", "color", "className", "height", "borderColor", "borderWidth", "borderRadius", "accessibilityLabel", "padding", "paddingX", "margin", "minWidth"];
|
|
1
|
+
const _excluded = ["as", "variant", "loading", "transparent", "block", "compact", "children", "start", "startIcon", "startIconActive", "end", "endIcon", "endIconActive", "flush", "noScaleOnPress", "numberOfLines", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "background", "color", "className", "height", "borderColor", "borderWidth", "borderRadius", "accessibilityLabel", "padding", "paddingX", "margin", "minWidth"];
|
|
2
2
|
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; }
|
|
3
3
|
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; }
|
|
4
4
|
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; }
|
|
@@ -56,6 +56,11 @@ export const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
56
56
|
flush,
|
|
57
57
|
noScaleOnPress,
|
|
58
58
|
numberOfLines,
|
|
59
|
+
font = 'headline',
|
|
60
|
+
fontFamily,
|
|
61
|
+
fontSize,
|
|
62
|
+
fontWeight,
|
|
63
|
+
lineHeight,
|
|
59
64
|
background,
|
|
60
65
|
color,
|
|
61
66
|
className,
|
|
@@ -126,7 +131,11 @@ export const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
126
131
|
}), /*#__PURE__*/_jsx(Text, {
|
|
127
132
|
color: "currentColor",
|
|
128
133
|
display: "inline",
|
|
129
|
-
font:
|
|
134
|
+
font: font,
|
|
135
|
+
fontFamily: fontFamily,
|
|
136
|
+
fontSize: fontSize,
|
|
137
|
+
fontWeight: fontWeight,
|
|
138
|
+
lineHeight: lineHeight,
|
|
130
139
|
numberOfLines: numberOfLines,
|
|
131
140
|
children: /*#__PURE__*/_jsx("span", {
|
|
132
141
|
className: cx(loading && hiddenCss),
|
|
@@ -2,14 +2,36 @@ import figma from '@figma/code-connect/react';
|
|
|
2
2
|
import { Carousel, CarouselItem } from '../';
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
4
|
figma.connect(Carousel, 'https://www.figma.com/design/k5CtyJccNQUGMI5bI4lJ2g/%E2%9C%A8-CDS-Components?node-id=48671-10433', {
|
|
5
|
+
variant: {
|
|
6
|
+
platform: 'desktop'
|
|
7
|
+
},
|
|
5
8
|
imports: ["import { Carousel, CarouselItem } from '@coinbase/cds-web/carousel'"],
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
props: {
|
|
10
|
+
title: figma.boolean('show header', {
|
|
11
|
+
true: figma.string('title'),
|
|
12
|
+
false: undefined
|
|
13
|
+
}),
|
|
14
|
+
hidePagination: figma.boolean('show pagination', {
|
|
15
|
+
true: undefined,
|
|
16
|
+
false: true
|
|
17
|
+
})
|
|
18
|
+
},
|
|
19
|
+
example: _ref => {
|
|
20
|
+
let {
|
|
21
|
+
title,
|
|
22
|
+
hidePagination
|
|
23
|
+
} = _ref;
|
|
24
|
+
return /*#__PURE__*/_jsxs(Carousel, {
|
|
25
|
+
hidePagination: hidePagination,
|
|
26
|
+
paginationVariant: "dot",
|
|
27
|
+
title: title,
|
|
28
|
+
children: [/*#__PURE__*/_jsx(CarouselItem, {
|
|
29
|
+
id: "1"
|
|
30
|
+
}), /*#__PURE__*/_jsx(CarouselItem, {
|
|
31
|
+
id: "2"
|
|
32
|
+
}), /*#__PURE__*/_jsx(CarouselItem, {
|
|
33
|
+
id: "3"
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
36
|
+
}
|
|
15
37
|
});
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { useId, useState } from 'react';
|
|
2
|
+
import { figma } from '@figma/code-connect';
|
|
3
|
+
import { Button } from '../../../buttons';
|
|
4
|
+
import { useBreakpoints } from '../../../hooks/useBreakpoints';
|
|
5
|
+
import { Pictogram } from '../../../illustrations/Pictogram';
|
|
6
|
+
import { Box } from '../../../layout';
|
|
7
|
+
import { VStack } from '../../../layout/VStack';
|
|
8
|
+
import { PageFooter } from '../../../page/PageFooter';
|
|
9
|
+
import { Text } from '../../../typography/Text';
|
|
10
|
+
import { Tray } from '../Tray';
|
|
11
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
const FIGMA_URL = 'https://www.figma.com/design/k5CtyJccNQUGMI5bI4lJ2g/%E2%9C%A8-CDS-Components?node-id=74148-11495&m=dev';
|
|
13
|
+
figma.connect(Tray, FIGMA_URL, {
|
|
14
|
+
variant: {
|
|
15
|
+
type: 'standard'
|
|
16
|
+
},
|
|
17
|
+
imports: ["import { Tray } from '@coinbase/cds-web/overlays/tray/Tray'", "import { PageFooter } from '@coinbase/cds-web/page/PageFooter'", "import { useBreakpoints } from '@coinbase/cds-web/hooks/useBreakpoints'"],
|
|
18
|
+
props: {
|
|
19
|
+
title: figma.textContent('SectionHeader')
|
|
20
|
+
},
|
|
21
|
+
example: function StandardExample(_ref) {
|
|
22
|
+
let {
|
|
23
|
+
title
|
|
24
|
+
} = _ref;
|
|
25
|
+
const [visible, setVisible] = useState(false);
|
|
26
|
+
const {
|
|
27
|
+
isPhone
|
|
28
|
+
} = useBreakpoints();
|
|
29
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
30
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
31
|
+
onClick: () => setVisible(true),
|
|
32
|
+
children: "Open Tray"
|
|
33
|
+
}), visible && /*#__PURE__*/_jsx(Tray, {
|
|
34
|
+
footer: _ref2 => {
|
|
35
|
+
let {
|
|
36
|
+
handleClose
|
|
37
|
+
} = _ref2;
|
|
38
|
+
return /*#__PURE__*/_jsx(PageFooter, {
|
|
39
|
+
borderedTop: true,
|
|
40
|
+
action: /*#__PURE__*/_jsx(Button, {
|
|
41
|
+
block: isPhone,
|
|
42
|
+
onClick: handleClose,
|
|
43
|
+
children: "Close"
|
|
44
|
+
}),
|
|
45
|
+
justifyContent: isPhone ? 'center' : 'flex-end'
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
onCloseComplete: () => setVisible(false),
|
|
49
|
+
pin: isPhone ? 'bottom' : 'right',
|
|
50
|
+
showHandleBar: isPhone,
|
|
51
|
+
title: title,
|
|
52
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
53
|
+
color: "fgMuted",
|
|
54
|
+
paddingBottom: 2,
|
|
55
|
+
children: "Content goes here."
|
|
56
|
+
})
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
figma.connect(Tray, FIGMA_URL, {
|
|
62
|
+
variant: {
|
|
63
|
+
type: 'illustration'
|
|
64
|
+
},
|
|
65
|
+
imports: ["import { Tray } from '@coinbase/cds-web/overlays/tray/Tray'", "import { Pictogram } from '@coinbase/cds-web/illustrations/Pictogram'", "import { useBreakpoints } from '@coinbase/cds-web/hooks/useBreakpoints'"],
|
|
66
|
+
props: {
|
|
67
|
+
sectionTitle: figma.textContent('SectionHeader')
|
|
68
|
+
},
|
|
69
|
+
example: function IllustrationExample(_ref3) {
|
|
70
|
+
let {
|
|
71
|
+
sectionTitle
|
|
72
|
+
} = _ref3;
|
|
73
|
+
const [visible, setVisible] = useState(false);
|
|
74
|
+
const {
|
|
75
|
+
isPhone
|
|
76
|
+
} = useBreakpoints();
|
|
77
|
+
const titleId = useId();
|
|
78
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
79
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
80
|
+
onClick: () => setVisible(true),
|
|
81
|
+
children: "Open Tray"
|
|
82
|
+
}), visible && /*#__PURE__*/_jsx(Tray, {
|
|
83
|
+
accessibilityLabelledBy: titleId,
|
|
84
|
+
onCloseComplete: () => setVisible(false),
|
|
85
|
+
pin: isPhone ? 'bottom' : 'right',
|
|
86
|
+
showHandleBar: isPhone,
|
|
87
|
+
title: /*#__PURE__*/_jsxs(VStack, {
|
|
88
|
+
gap: {
|
|
89
|
+
phone: 1.5,
|
|
90
|
+
tablet: 2,
|
|
91
|
+
desktop: 2
|
|
92
|
+
},
|
|
93
|
+
children: [/*#__PURE__*/_jsx(Pictogram, {
|
|
94
|
+
name: "addWallet"
|
|
95
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
96
|
+
font: "title3",
|
|
97
|
+
id: titleId,
|
|
98
|
+
children: sectionTitle
|
|
99
|
+
})]
|
|
100
|
+
}),
|
|
101
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
102
|
+
color: "fgMuted",
|
|
103
|
+
font: "body",
|
|
104
|
+
paddingBottom: 2,
|
|
105
|
+
children: "Content goes here."
|
|
106
|
+
})
|
|
107
|
+
})]
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
figma.connect(Tray, FIGMA_URL, {
|
|
112
|
+
variant: {
|
|
113
|
+
type: 'full-bleed image'
|
|
114
|
+
},
|
|
115
|
+
imports: ["import { Tray } from '@coinbase/cds-web/overlays/tray/Tray'", "import { useBreakpoints } from '@coinbase/cds-web/hooks/useBreakpoints'"],
|
|
116
|
+
props: {
|
|
117
|
+
sectionTitle: figma.textContent('SectionHeader')
|
|
118
|
+
},
|
|
119
|
+
example: function FullBleedImageExample(_ref4) {
|
|
120
|
+
let {
|
|
121
|
+
sectionTitle
|
|
122
|
+
} = _ref4;
|
|
123
|
+
const [visible, setVisible] = useState(false);
|
|
124
|
+
const {
|
|
125
|
+
isPhone
|
|
126
|
+
} = useBreakpoints();
|
|
127
|
+
const titleId = useId();
|
|
128
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
129
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
130
|
+
onClick: () => setVisible(true),
|
|
131
|
+
children: "Open Tray"
|
|
132
|
+
}), visible && /*#__PURE__*/_jsx(Tray, {
|
|
133
|
+
accessibilityLabelledBy: titleId,
|
|
134
|
+
header: /*#__PURE__*/_jsx(Text, {
|
|
135
|
+
font: "title3",
|
|
136
|
+
id: titleId,
|
|
137
|
+
paddingTop: 2,
|
|
138
|
+
paddingX: {
|
|
139
|
+
base: 4,
|
|
140
|
+
phone: 3
|
|
141
|
+
},
|
|
142
|
+
children: sectionTitle
|
|
143
|
+
}),
|
|
144
|
+
onCloseComplete: () => setVisible(false),
|
|
145
|
+
pin: isPhone ? 'bottom' : 'right',
|
|
146
|
+
showHandleBar: isPhone,
|
|
147
|
+
styles: {
|
|
148
|
+
handleBar: {
|
|
149
|
+
position: 'absolute',
|
|
150
|
+
top: 0,
|
|
151
|
+
left: 0,
|
|
152
|
+
right: 0,
|
|
153
|
+
zIndex: 1
|
|
154
|
+
},
|
|
155
|
+
closeButton: {
|
|
156
|
+
position: 'absolute',
|
|
157
|
+
top: 'var(--space-4)',
|
|
158
|
+
right: 'var(--space-4)',
|
|
159
|
+
zIndex: 1
|
|
160
|
+
},
|
|
161
|
+
header: {
|
|
162
|
+
paddingTop: 0
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
title: /*#__PURE__*/_jsx(Box, {
|
|
166
|
+
flexGrow: 1,
|
|
167
|
+
marginX: {
|
|
168
|
+
base: -4,
|
|
169
|
+
phone: -3
|
|
170
|
+
},
|
|
171
|
+
children: /*#__PURE__*/_jsx("img", {
|
|
172
|
+
alt: "Full Bleed",
|
|
173
|
+
height: 180,
|
|
174
|
+
src: "image.jpg",
|
|
175
|
+
style: {
|
|
176
|
+
objectFit: 'cover',
|
|
177
|
+
pointerEvents: 'none'
|
|
178
|
+
},
|
|
179
|
+
width: "100%"
|
|
180
|
+
})
|
|
181
|
+
}),
|
|
182
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
183
|
+
color: "fgMuted",
|
|
184
|
+
font: "body",
|
|
185
|
+
paddingBottom: 2,
|
|
186
|
+
children: "Content goes here."
|
|
187
|
+
})
|
|
188
|
+
})]
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-web",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.47.1",
|
|
4
4
|
"description": "Coinbase Design System - Web",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"react-dom": "^18.3.1"
|
|
208
208
|
},
|
|
209
209
|
"dependencies": {
|
|
210
|
-
"@coinbase/cds-common": "^8.
|
|
210
|
+
"@coinbase/cds-common": "^8.47.1",
|
|
211
211
|
"@coinbase/cds-icons": "^5.11.0",
|
|
212
212
|
"@coinbase/cds-illustrations": "^4.31.0",
|
|
213
213
|
"@coinbase/cds-lottie-files": "^3.3.4",
|