@coinbase/cds-mobile 9.19.0 → 9.20.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
|
@@ -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
|
+
## 9.20.0 (8/20/2026 PST)
|
|
12
|
+
|
|
13
|
+
#### 🚀 Updates
|
|
14
|
+
|
|
15
|
+
- Feat: update default label style for input components: TextInput, Select, Combobox, DateInput, etc. Font: label1 -=> label2; color: fg => fgMuted.
|
|
16
|
+
|
|
11
17
|
## 9.19.0 (8/20/2026 PST)
|
|
12
18
|
|
|
13
19
|
#### 🚀 Updates
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/controls/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAMxD,OAAO,KAAK,EAAgB,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAY1E,OAAO,EAAc,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAiBpE,MAAM,MAAM,eAAe,GAAG,WAAW,GACvC,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAC/B,IAAI,CACF,mBAAmB,EACnB,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,cAAc,CAC5E,GACD,IAAI,CACF,wBAAwB,EACxB,oBAAoB,GAAG,yBAAyB,GAAG,mBAAmB,CACvE,GAAG;IACF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,m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F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mGAAmG;IACnG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gHAAgH;IAChH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;CACxF,CAAC;AAEJ,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,MAAM,gPAoBd,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;CAC3C,6CA2KF,CAAC"}
|
|
@@ -65,8 +65,8 @@ export const DefaultSelectControlComponent = /*#__PURE__*/memo(_ref => {
|
|
|
65
65
|
size,
|
|
66
66
|
align = 'start',
|
|
67
67
|
font = 'body',
|
|
68
|
-
labelColor = '
|
|
69
|
-
labelFont = '
|
|
68
|
+
labelColor = 'fgMuted',
|
|
69
|
+
labelFont = 'label2',
|
|
70
70
|
bordered = true,
|
|
71
71
|
borderWidth = bordered ? 100 : 0,
|
|
72
72
|
focusedBorderWidth = bordered ? undefined : 200,
|
|
@@ -6,8 +6,8 @@ import { Text } from '../typography/Text';
|
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const InputLabel = /*#__PURE__*/memo(function InputLabel(_ref) {
|
|
8
8
|
let {
|
|
9
|
-
color = '
|
|
10
|
-
font = '
|
|
9
|
+
color = 'fgMuted',
|
|
10
|
+
font = 'label2'
|
|
11
11
|
} = _ref,
|
|
12
12
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
13
13
|
return /*#__PURE__*/_jsx(Text, _extends({
|
package/esm/controls/Select.js
CHANGED
|
@@ -172,6 +172,7 @@ export const Select = /*#__PURE__*/memo(_ref => {
|
|
|
172
172
|
}),
|
|
173
173
|
labelNode: !compact && Boolean(label) && /*#__PURE__*/_jsx(InputLabel, {
|
|
174
174
|
color: labelTextColor,
|
|
175
|
+
font: "label1",
|
|
175
176
|
paddingStart: labelVariant === 'outside' || startNode ? 0 : getSpacingStart,
|
|
176
177
|
paddingY: labelVariant === 'inside' ? 0 : 0.5,
|
|
177
178
|
children: label
|
|
@@ -186,6 +187,7 @@ export const Select = /*#__PURE__*/memo(_ref => {
|
|
|
186
187
|
noWrap: true,
|
|
187
188
|
color: labelTextColor,
|
|
188
189
|
disabled: disabled,
|
|
190
|
+
font: "label1",
|
|
189
191
|
children: label
|
|
190
192
|
})
|
|
191
193
|
}), !!startNode && /*#__PURE__*/_jsx(HStack, {
|
|
@@ -37,8 +37,8 @@ export const TextInput = /*#__PURE__*/memo(_ref => {
|
|
|
37
37
|
const mergedProps = useComponentConfig('TextInput', _props);
|
|
38
38
|
const {
|
|
39
39
|
label,
|
|
40
|
-
labelFont = '
|
|
41
|
-
labelColor = '
|
|
40
|
+
labelFont = 'label2',
|
|
41
|
+
labelColor = 'fgMuted',
|
|
42
42
|
helperText = '',
|
|
43
43
|
variant = 'foregroundMuted',
|
|
44
44
|
testID,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-mobile",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.20.0",
|
|
4
4
|
"description": "Coinbase Design System - Mobile",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"react-native-worklets": "0.5.2"
|
|
219
219
|
},
|
|
220
220
|
"dependencies": {
|
|
221
|
-
"@coinbase/cds-common": "^9.
|
|
221
|
+
"@coinbase/cds-common": "^9.20.0",
|
|
222
222
|
"@coinbase/cds-icons": "^5.22.0",
|
|
223
223
|
"@coinbase/cds-illustrations": "^4.48.0",
|
|
224
224
|
"@coinbase/cds-lottie-files": "^3.3.4",
|