@spark-web/field 5.1.0 → 5.1.3
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
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @spark-web/field
|
|
2
2
|
|
|
3
|
+
## 5.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#698](https://github.com/brighte-labs/spark-web/pull/698)
|
|
8
|
+
[`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c)
|
|
9
|
+
Thanks [@michtntbrighte](https://github.com/michtntbrighte)! - Bump version
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
[[`814b373`](https://github.com/brighte-labs/spark-web/commit/814b373cbe9fcf0757738c78eef6b516624df62c)]:
|
|
13
|
+
- @spark-web/box@5.2.2
|
|
14
|
+
- @spark-web/stack@5.0.2
|
|
15
|
+
- @spark-web/text@5.2.3
|
|
16
|
+
- @spark-web/theme@5.12.1
|
|
17
|
+
|
|
18
|
+
## 5.1.2
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
[[`1995db7`](https://github.com/brighte-labs/spark-web/commit/1995db7f4342803732c7648ab3ca6d32442cc347)]:
|
|
24
|
+
- @spark-web/theme@5.12.0
|
|
25
|
+
- @spark-web/stack@5.0.1
|
|
26
|
+
- @spark-web/text@5.2.2
|
|
27
|
+
|
|
28
|
+
## 5.1.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- [#627](https://github.com/brighte-labs/spark-web/pull/627)
|
|
33
|
+
[`80504dc`](https://github.com/brighte-labs/spark-web/commit/80504dc3f57aa1f7ed8235c8fb4ca61587d17977)
|
|
34
|
+
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Update readonly text
|
|
35
|
+
color to meet min contrast requirement
|
|
36
|
+
|
|
37
|
+
- Updated dependencies
|
|
38
|
+
[[`80504dc`](https://github.com/brighte-labs/spark-web/commit/80504dc3f57aa1f7ed8235c8fb4ca61587d17977)]:
|
|
39
|
+
- @spark-web/theme@5.10.6
|
|
40
|
+
|
|
3
41
|
## 5.1.0
|
|
4
42
|
|
|
5
43
|
### Minor Changes
|
|
@@ -75,11 +75,11 @@ var Field = /*#__PURE__*/react.forwardRef(function (_ref, forwardedRef) {
|
|
|
75
75
|
as: "label",
|
|
76
76
|
htmlFor: inputId,
|
|
77
77
|
children: jsxRuntime.jsxs(text.Text, {
|
|
78
|
-
tone: disabled || readOnly ? '
|
|
78
|
+
tone: disabled || readOnly ? 'field' : 'neutral',
|
|
79
79
|
weight: "semibold",
|
|
80
80
|
children: [label, ' ', secondaryLabel && jsxRuntime.jsx(text.Text, {
|
|
81
81
|
inline: true,
|
|
82
|
-
tone: disabled || readOnly ? '
|
|
82
|
+
tone: disabled || readOnly ? 'field' : 'muted',
|
|
83
83
|
weight: "regular",
|
|
84
84
|
children: secondaryLabel
|
|
85
85
|
})]
|
|
@@ -75,11 +75,11 @@ var Field = /*#__PURE__*/react.forwardRef(function (_ref, forwardedRef) {
|
|
|
75
75
|
as: "label",
|
|
76
76
|
htmlFor: inputId,
|
|
77
77
|
children: jsxRuntime.jsxs(text.Text, {
|
|
78
|
-
tone: disabled || readOnly ? '
|
|
78
|
+
tone: disabled || readOnly ? 'field' : 'neutral',
|
|
79
79
|
weight: "semibold",
|
|
80
80
|
children: [label, ' ', secondaryLabel && jsxRuntime.jsx(text.Text, {
|
|
81
81
|
inline: true,
|
|
82
|
-
tone: disabled || readOnly ? '
|
|
82
|
+
tone: disabled || readOnly ? 'field' : 'muted',
|
|
83
83
|
weight: "regular",
|
|
84
84
|
children: secondaryLabel
|
|
85
85
|
})]
|
|
@@ -71,11 +71,11 @@ var Field = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) {
|
|
|
71
71
|
as: "label",
|
|
72
72
|
htmlFor: inputId,
|
|
73
73
|
children: jsxs(Text, {
|
|
74
|
-
tone: disabled || readOnly ? '
|
|
74
|
+
tone: disabled || readOnly ? 'field' : 'neutral',
|
|
75
75
|
weight: "semibold",
|
|
76
76
|
children: [label, ' ', secondaryLabel && jsx(Text, {
|
|
77
77
|
inline: true,
|
|
78
|
-
tone: disabled || readOnly ? '
|
|
78
|
+
tone: disabled || readOnly ? 'field' : 'muted',
|
|
79
79
|
weight: "regular",
|
|
80
80
|
children: secondaryLabel
|
|
81
81
|
})]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/field",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"@babel/runtime": "^7.25.0",
|
|
19
19
|
"@emotion/react": "^11.14.0",
|
|
20
20
|
"@spark-web/a11y": "^5.0.0",
|
|
21
|
-
"@spark-web/box": "^5.
|
|
21
|
+
"@spark-web/box": "^5.2.2",
|
|
22
22
|
"@spark-web/icon": "^5.0.0",
|
|
23
|
-
"@spark-web/stack": "^5.0.
|
|
24
|
-
"@spark-web/text": "^5.
|
|
25
|
-
"@spark-web/theme": "^5.
|
|
23
|
+
"@spark-web/stack": "^5.0.2",
|
|
24
|
+
"@spark-web/text": "^5.2.3",
|
|
25
|
+
"@spark-web/theme": "^5.12.1",
|
|
26
26
|
"@spark-web/utils": "^5.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|