@spark-web/field 5.1.0 → 5.1.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
@@ -1,5 +1,18 @@
1
1
  # @spark-web/field
2
2
 
3
+ ## 5.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#627](https://github.com/brighte-labs/spark-web/pull/627)
8
+ [`80504dc`](https://github.com/brighte-labs/spark-web/commit/80504dc3f57aa1f7ed8235c8fb4ca61587d17977)
9
+ Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Update readonly text
10
+ color to meet min contrast requirement
11
+
12
+ - Updated dependencies
13
+ [[`80504dc`](https://github.com/brighte-labs/spark-web/commit/80504dc3f57aa1f7ed8235c8fb4ca61587d17977)]:
14
+ - @spark-web/theme@5.10.6
15
+
3
16
  ## 5.1.0
4
17
 
5
18
  ### 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 ? 'disabled' : 'neutral',
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 ? 'disabled' : 'muted',
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 ? 'disabled' : 'neutral',
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 ? 'disabled' : 'muted',
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 ? 'disabled' : 'neutral',
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 ? 'disabled' : 'muted',
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.0",
3
+ "version": "5.1.1",
4
4
  "homepage": "https://github.com/brighte-labs/spark-web#readme",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "@spark-web/icon": "^5.0.0",
23
23
  "@spark-web/stack": "^5.0.0",
24
24
  "@spark-web/text": "^5.0.0",
25
- "@spark-web/theme": "^5.0.0",
25
+ "@spark-web/theme": "^5.10.6",
26
26
  "@spark-web/utils": "^5.0.0"
27
27
  },
28
28
  "devDependencies": {