@atlaskit/textfield 6.4.0 → 6.4.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,13 @@
1
1
  # @atlaskit/textfield
2
2
 
3
+ ## 6.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#116025](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116025)
8
+ [`cd506a937e44f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd506a937e44f) -
9
+ Internal change to how typography is applied. There should be no visual change.
10
+
3
11
  ## 6.4.0
4
12
 
5
13
  ### Minor Changes
@@ -128,7 +128,7 @@ var inputStyles = exports.inputStyles = function inputStyles() {
128
128
  outline: 'none',
129
129
  width: '100%',
130
130
  '&[data-monospaced]': {
131
- fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
131
+ fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
132
132
  },
133
133
  '&[data-compact]': {
134
134
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)")
@@ -27,7 +27,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
27
27
  var analyticsParams = {
28
28
  componentName: 'textField',
29
29
  packageName: "@atlaskit/textfield",
30
- packageVersion: "6.4.0"
30
+ packageVersion: "6.4.1"
31
31
  };
32
32
  var TextfieldComponent = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
33
33
  var _props$appearance = props.appearance,
@@ -115,7 +115,7 @@ export const inputStyles = () => ({
115
115
  outline: 'none',
116
116
  width: '100%',
117
117
  '&[data-monospaced]': {
118
- fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
118
+ fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
119
119
  },
120
120
  '&[data-compact]': {
121
121
  padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-075, 6px)"}`
@@ -12,7 +12,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
12
12
  const analyticsParams = {
13
13
  componentName: 'textField',
14
14
  packageName: "@atlaskit/textfield",
15
- packageVersion: "6.4.0"
15
+ packageVersion: "6.4.1"
16
16
  };
17
17
  const TextfieldComponent = /*#__PURE__*/forwardRef((props, ref) => {
18
18
  const {
@@ -121,7 +121,7 @@ export var inputStyles = function inputStyles() {
121
121
  outline: 'none',
122
122
  width: '100%',
123
123
  '&[data-monospaced]': {
124
- fontFamily: "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
124
+ fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)"
125
125
  },
126
126
  '&[data-compact]': {
127
127
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)")
@@ -18,7 +18,7 @@ import { containerStyles as getContainerStyles, inputStyles as getInputStyles }
18
18
  var analyticsParams = {
19
19
  componentName: 'textField',
20
20
  packageName: "@atlaskit/textfield",
21
- packageVersion: "6.4.0"
21
+ packageVersion: "6.4.1"
22
22
  };
23
23
  var TextfieldComponent = /*#__PURE__*/forwardRef(function (props, ref) {
24
24
  var _props$appearance = props.appearance,
@@ -67,7 +67,7 @@ export declare const inputStyles: () => {
67
67
  readonly outline: "none";
68
68
  readonly width: "100%";
69
69
  readonly '&[data-monospaced]': {
70
- readonly fontFamily: "var(--ds-font-family-monospace)";
70
+ readonly fontFamily: "var(--ds-font-family-code)";
71
71
  };
72
72
  readonly '&[data-compact]': {
73
73
  readonly padding: "var(--ds-space-050) var(--ds-space-075)";
@@ -67,7 +67,7 @@ export declare const inputStyles: () => {
67
67
  readonly outline: "none";
68
68
  readonly width: "100%";
69
69
  readonly '&[data-monospaced]': {
70
- readonly fontFamily: "var(--ds-font-family-monospace)";
70
+ readonly fontFamily: "var(--ds-font-family-code)";
71
71
  };
72
72
  readonly '&[data-compact]': {
73
73
  readonly padding: "var(--ds-space-050) var(--ds-space-075)";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textfield",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "description": "A text field is an input that allows a user to write or edit text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/analytics-next": "^9.3.0",
31
- "@atlaskit/theme": "^12.10.0",
32
- "@atlaskit/tokens": "^1.51.0",
31
+ "@atlaskit/theme": "^12.11.0",
32
+ "@atlaskit/tokens": "^1.53.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },