@atlaskit/textarea 4.7.0 → 4.7.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,11 @@
1
1
  # @atlaskit/textarea
2
2
 
3
+ ## 4.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
8
+
3
9
  ## 4.7.0
4
10
 
5
11
  ### Minor Changes
@@ -132,11 +132,13 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
132
132
  // eslint-disable-next-line @repo/internal/styles/no-nested-styles
133
133
  '&[data-compact]': {
134
134
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
135
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
135
136
  padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
136
137
  lineHeight: lineHeightCompact / fontSize
137
138
  },
138
139
  '&:not([data-compact])': {
139
140
  minHeight: borderBoxMinHeight(minimumRows, borderHeight),
141
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
140
142
  padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
141
143
  lineHeight: lineHeightBase / fontSize
142
144
  }
@@ -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.7.0";
26
+ var packageVersion = "4.7.1";
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.7.0",
3
+ "version": "4.7.1",
4
4
  "sideEffects": false
5
5
  }
@@ -115,11 +115,13 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
115
115
  // eslint-disable-next-line @repo/internal/styles/no-nested-styles
116
116
  '&[data-compact]': {
117
117
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
118
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
118
119
  padding: `${compactVerticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
119
120
  lineHeight: lineHeightCompact / fontSize
120
121
  },
121
122
  '&:not([data-compact])': {
122
123
  minHeight: borderBoxMinHeight(minimumRows, borderHeight),
124
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
123
125
  padding: `${verticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
124
126
  lineHeight: lineHeightBase / fontSize
125
127
  }
@@ -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.7.0";
10
+ const packageVersion = "4.7.1";
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.7.0",
3
+ "version": "4.7.1",
4
4
  "sideEffects": false
5
5
  }
@@ -127,11 +127,13 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
127
127
  // eslint-disable-next-line @repo/internal/styles/no-nested-styles
128
128
  '&[data-compact]': {
129
129
  minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
130
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
130
131
  padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
131
132
  lineHeight: lineHeightCompact / fontSize
132
133
  },
133
134
  '&:not([data-compact])': {
134
135
  minHeight: borderBoxMinHeight(minimumRows, borderHeight),
136
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
135
137
  padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
136
138
  lineHeight: lineHeightBase / fontSize
137
139
  }
@@ -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.7.0";
16
+ var packageVersion = "4.7.1";
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.7.0",
3
+ "version": "4.7.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/textarea",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
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/"
@@ -83,7 +83,8 @@
83
83
  "ui-components": "lite-mode",
84
84
  "analytics": "analytics-next",
85
85
  "design-tokens": [
86
- "color"
86
+ "color",
87
+ "spacing"
87
88
  ],
88
89
  "styling": [
89
90
  "static",