@atlaskit/textarea 4.6.2 → 4.6.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,11 @@
1
1
  # @atlaskit/textarea
2
2
 
3
+ ## 4.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
8
+
3
9
  ## 4.6.2
4
10
 
5
11
  ### Patch Changes
@@ -148,7 +148,7 @@ var staticStyles = (0, _react.css)({
148
148
  fontSize: fontSize,
149
149
  outline: 'none',
150
150
  overflow: 'auto',
151
- transition: "background-color ".concat(transitionDuration, " ease-in-out, \n border-color ").concat(transitionDuration, " ease-in-out"),
151
+ transition: "background-color ".concat(transitionDuration, " ease-in-out,\n border-color ").concat(transitionDuration, " ease-in-out"),
152
152
  wordWrap: 'break-word',
153
153
  '&:disabled': _objectSpread({
154
154
  cursor: 'not-allowed'
@@ -23,7 +23,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
24
24
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
25
  var packageName = "@atlaskit/textarea";
26
- var packageVersion = "4.6.2";
26
+ var packageVersion = "4.6.3";
27
27
  var analyticsParams = {
28
28
  componentName: 'textArea',
29
29
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import { css } from '@emotion/react';
3
- import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize, gridSize } from '@atlaskit/theme/constants';
3
+ import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize,
4
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
5
+ gridSize } from '@atlaskit/theme/constants';
4
6
  const grid = gridSize();
5
7
  const borderRadius = 3;
6
8
  const lineHeightBase = grid * 2.5;
@@ -130,7 +132,7 @@ const staticStyles = css({
130
132
  fontSize: fontSize,
131
133
  outline: 'none',
132
134
  overflow: 'auto',
133
- transition: `background-color ${transitionDuration} ease-in-out,
135
+ transition: `background-color ${transitionDuration} ease-in-out,
134
136
  border-color ${transitionDuration} ease-in-out`,
135
137
  wordWrap: 'break-word',
136
138
  '&:disabled': {
@@ -7,7 +7,7 @@ import { useGlobalTheme } from '@atlaskit/theme/components';
7
7
  import { borderWidth, getBaseStyles, themeStyles } from './styles';
8
8
  import { Theme } from './theme';
9
9
  const packageName = "@atlaskit/textarea";
10
- const packageVersion = "4.6.2";
10
+ const packageVersion = "4.6.3";
11
11
  const analyticsParams = {
12
12
  componentName: 'textArea',
13
13
  packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,9 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
3
3
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
4
  /** @jsx jsx */
5
5
  import { css } from '@emotion/react';
6
- import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize, gridSize } from '@atlaskit/theme/constants';
6
+ import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize,
7
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
8
+ gridSize } from '@atlaskit/theme/constants';
7
9
  var grid = gridSize();
8
10
  var borderRadius = 3;
9
11
  var lineHeightBase = grid * 2.5;
@@ -141,7 +143,7 @@ var staticStyles = css({
141
143
  fontSize: fontSize,
142
144
  outline: 'none',
143
145
  overflow: 'auto',
144
- transition: "background-color ".concat(transitionDuration, " ease-in-out, \n border-color ").concat(transitionDuration, " ease-in-out"),
146
+ transition: "background-color ".concat(transitionDuration, " ease-in-out,\n border-color ").concat(transitionDuration, " ease-in-out"),
145
147
  wordWrap: 'break-word',
146
148
  '&:disabled': _objectSpread({
147
149
  cursor: 'not-allowed'
@@ -13,7 +13,7 @@ import { useGlobalTheme } from '@atlaskit/theme/components';
13
13
  import { borderWidth, getBaseStyles, themeStyles } from './styles';
14
14
  import { Theme } from './theme';
15
15
  var packageName = "@atlaskit/textarea";
16
- var packageVersion = "4.6.2";
16
+ var packageVersion = "4.6.3";
17
17
  var analyticsParams = {
18
18
  componentName: 'textArea',
19
19
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "description": "A text area lets users enter long form text which spans over multiple lines.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"