@atlaskit/textarea 5.5.0 → 5.5.2
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 +15 -0
- package/dist/cjs/styles.js +12 -14
- package/dist/cjs/text-area.js +2 -2
- package/dist/es2019/styles.js +11 -16
- package/dist/es2019/text-area.js +2 -2
- package/dist/esm/styles.js +11 -16
- package/dist/esm/text-area.js +2 -2
- package/dist/types/text-area.d.ts +1 -1
- package/dist/types-ts4.5/text-area.d.ts +1 -1
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/textarea
|
|
2
2
|
|
|
3
|
+
## 5.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#105813](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105813)
|
|
14
|
+
[`f2f51e7a24d00`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f2f51e7a24d00) -
|
|
15
|
+
Internal change only. Update typography to use typography tokens.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 5.5.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/cjs/styles.js
CHANGED
|
@@ -8,14 +8,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.getBaseStyles = exports.dynamicStyles = exports.borderWidth = void 0;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _react = require("@emotion/react");
|
|
11
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
12
11
|
var componentTokens = _interopRequireWildcard(require("./component-tokens"));
|
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
|
|
17
16
|
* @jsxRuntime classic
|
|
18
|
-
|
|
17
|
+
* @jsx jsx
|
|
18
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
var disabledRules = {
|
|
20
20
|
backgroundColor: componentTokens.disabledBackground,
|
|
21
21
|
backgroundColorFocus: componentTokens.disabledBackground,
|
|
@@ -61,16 +61,14 @@ var borderColorHover = {
|
|
|
61
61
|
subtle: componentTokens.subtleBorderColorHover,
|
|
62
62
|
none: componentTokens.transparent
|
|
63
63
|
};
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var lineHeightCompact = grid * 2;
|
|
64
|
+
var lineHeightBase = 8 * 2.5;
|
|
65
|
+
var lineHeightCompact = 8 * 2;
|
|
67
66
|
var compactVerticalPadding = 2;
|
|
68
67
|
var verticalPadding = 6;
|
|
69
|
-
var horizontalPadding =
|
|
68
|
+
var horizontalPadding = 8;
|
|
70
69
|
var transitionDuration = '0.2s';
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var codeFontFamily = (0, _constants.codeFontFamily)();
|
|
70
|
+
var fontFamily = "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
|
|
71
|
+
var codeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
74
72
|
var borderWidth = exports.borderWidth = 2;
|
|
75
73
|
|
|
76
74
|
// Safari puts on some difficult to remove styles, mainly for disabled inputs
|
|
@@ -208,8 +206,8 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
208
206
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
209
207
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
210
208
|
padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
211
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
212
|
-
lineHeight: lineHeightCompact /
|
|
209
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
210
|
+
lineHeight: lineHeightCompact / 14
|
|
213
211
|
},
|
|
214
212
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
215
213
|
'&:not([data-compact])': {
|
|
@@ -217,8 +215,8 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
217
215
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
218
216
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
219
217
|
padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
220
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
221
|
-
lineHeight: lineHeightBase /
|
|
218
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
219
|
+
lineHeight: lineHeightBase / 14
|
|
222
220
|
}
|
|
223
221
|
});
|
|
224
222
|
};
|
|
@@ -234,7 +232,7 @@ var staticStyles = (0, _react.css)({
|
|
|
234
232
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
235
233
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
236
234
|
borderWidth: 1,
|
|
237
|
-
|
|
235
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
238
236
|
outline: 'none',
|
|
239
237
|
overflow: 'auto',
|
|
240
238
|
transition: "background-color ".concat(transitionDuration, " ease-in-out,\n border-color ").concat(transitionDuration, " ease-in-out"),
|
package/dist/cjs/text-area.js
CHANGED
|
@@ -17,15 +17,15 @@ var _styles = require("./styles");
|
|
|
17
17
|
var _excluded = ["resize", "appearance", "isCompact", "isRequired", "isReadOnly", "isDisabled", "isInvalid", "isMonospaced", "minimumRows", "testId", "maxHeight", "onBlur", "onFocus", "onChange", "value"];
|
|
18
18
|
/**
|
|
19
19
|
* @jsxRuntime classic
|
|
20
|
+
* @jsx jsx
|
|
20
21
|
*/
|
|
21
|
-
/** @jsx jsx */
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
24
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
25
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26
26
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27
27
|
var packageName = "@atlaskit/textarea";
|
|
28
|
-
var packageVersion = "5.5.
|
|
28
|
+
var packageVersion = "5.5.2";
|
|
29
29
|
var analyticsParams = {
|
|
30
30
|
componentName: 'textArea',
|
|
31
31
|
packageName: packageName,
|
package/dist/es2019/styles.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
|
-
import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize,
|
|
8
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
9
|
-
gridSize } from '@atlaskit/theme/constants';
|
|
10
7
|
import * as componentTokens from './component-tokens';
|
|
11
8
|
const disabledRules = {
|
|
12
9
|
backgroundColor: componentTokens.disabledBackground,
|
|
@@ -53,16 +50,14 @@ const borderColorHover = {
|
|
|
53
50
|
subtle: componentTokens.subtleBorderColorHover,
|
|
54
51
|
none: componentTokens.transparent
|
|
55
52
|
};
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const lineHeightCompact = grid * 2;
|
|
53
|
+
const lineHeightBase = 8 * 2.5;
|
|
54
|
+
const lineHeightCompact = 8 * 2;
|
|
59
55
|
const compactVerticalPadding = 2;
|
|
60
56
|
const verticalPadding = 6;
|
|
61
|
-
const horizontalPadding =
|
|
57
|
+
const horizontalPadding = 8;
|
|
62
58
|
const transitionDuration = '0.2s';
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const codeFontFamily = getCodeFontFamily();
|
|
59
|
+
const fontFamily = "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
|
|
60
|
+
const codeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
66
61
|
export const borderWidth = 2;
|
|
67
62
|
|
|
68
63
|
// Safari puts on some difficult to remove styles, mainly for disabled inputs
|
|
@@ -194,8 +189,8 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
|
194
189
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
195
190
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
196
191
|
padding: `${compactVerticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
|
|
197
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
198
|
-
lineHeight: lineHeightCompact /
|
|
192
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
193
|
+
lineHeight: lineHeightCompact / 14
|
|
199
194
|
},
|
|
200
195
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
201
196
|
'&:not([data-compact])': {
|
|
@@ -203,8 +198,8 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
|
203
198
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
204
199
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
205
200
|
padding: `${verticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
|
|
206
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
207
|
-
lineHeight: lineHeightBase /
|
|
201
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
202
|
+
lineHeight: lineHeightBase / 14
|
|
208
203
|
}
|
|
209
204
|
});
|
|
210
205
|
};
|
|
@@ -220,7 +215,7 @@ const staticStyles = css({
|
|
|
220
215
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
221
216
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
222
217
|
borderWidth: 1,
|
|
223
|
-
|
|
218
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
224
219
|
outline: 'none',
|
|
225
220
|
overflow: 'auto',
|
|
226
221
|
transition: `background-color ${transitionDuration} ease-in-out,
|
package/dist/es2019/text-area.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
import React, { forwardRef, memo, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
11
11
|
import { borderWidth, dynamicStyles, getBaseStyles } from './styles';
|
|
12
12
|
const packageName = "@atlaskit/textarea";
|
|
13
|
-
const packageVersion = "5.5.
|
|
13
|
+
const packageVersion = "5.5.2";
|
|
14
14
|
const analyticsParams = {
|
|
15
15
|
componentName: 'textArea',
|
|
16
16
|
packageName,
|
package/dist/esm/styles.js
CHANGED
|
@@ -3,13 +3,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/**
|
|
5
5
|
* @jsxRuntime classic
|
|
6
|
+
* @jsx jsx
|
|
6
7
|
*/
|
|
7
|
-
/** @jsx jsx */
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { codeFontFamily as getCodeFontFamily, fontFamily as getFontFamily, fontSize as getFontSize,
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
12
|
-
gridSize } from '@atlaskit/theme/constants';
|
|
13
10
|
import * as componentTokens from './component-tokens';
|
|
14
11
|
var disabledRules = {
|
|
15
12
|
backgroundColor: componentTokens.disabledBackground,
|
|
@@ -56,16 +53,14 @@ var borderColorHover = {
|
|
|
56
53
|
subtle: componentTokens.subtleBorderColorHover,
|
|
57
54
|
none: componentTokens.transparent
|
|
58
55
|
};
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var lineHeightCompact = grid * 2;
|
|
56
|
+
var lineHeightBase = 8 * 2.5;
|
|
57
|
+
var lineHeightCompact = 8 * 2;
|
|
62
58
|
var compactVerticalPadding = 2;
|
|
63
59
|
var verticalPadding = 6;
|
|
64
|
-
var horizontalPadding =
|
|
60
|
+
var horizontalPadding = 8;
|
|
65
61
|
var transitionDuration = '0.2s';
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var codeFontFamily = getCodeFontFamily();
|
|
62
|
+
var fontFamily = "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
|
|
63
|
+
var codeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
69
64
|
export var borderWidth = 2;
|
|
70
65
|
|
|
71
66
|
// Safari puts on some difficult to remove styles, mainly for disabled inputs
|
|
@@ -203,8 +198,8 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
203
198
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
204
199
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
205
200
|
padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
206
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
207
|
-
lineHeight: lineHeightCompact /
|
|
201
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
202
|
+
lineHeight: lineHeightCompact / 14
|
|
208
203
|
},
|
|
209
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
210
205
|
'&:not([data-compact])': {
|
|
@@ -212,8 +207,8 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
212
207
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
213
208
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
214
209
|
padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
215
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
216
|
-
lineHeight: lineHeightBase /
|
|
210
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
211
|
+
lineHeight: lineHeightBase / 14
|
|
217
212
|
}
|
|
218
213
|
});
|
|
219
214
|
};
|
|
@@ -229,7 +224,7 @@ var staticStyles = css({
|
|
|
229
224
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
230
225
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
231
226
|
borderWidth: 1,
|
|
232
|
-
|
|
227
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
233
228
|
outline: 'none',
|
|
234
229
|
overflow: 'auto',
|
|
235
230
|
transition: "background-color ".concat(transitionDuration, " ease-in-out,\n border-color ").concat(transitionDuration, " ease-in-out"),
|
package/dist/esm/text-area.js
CHANGED
|
@@ -7,8 +7,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
/**
|
|
9
9
|
* @jsxRuntime classic
|
|
10
|
+
* @jsx jsx
|
|
10
11
|
*/
|
|
11
|
-
/** @jsx jsx */
|
|
12
12
|
import React, { forwardRef, memo, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
13
13
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -16,7 +16,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
16
16
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
17
17
|
import { borderWidth, dynamicStyles, getBaseStyles } from './styles';
|
|
18
18
|
var packageName = "@atlaskit/textarea";
|
|
19
|
-
var packageVersion = "5.5.
|
|
19
|
+
var packageVersion = "5.5.2";
|
|
20
20
|
var analyticsParams = {
|
|
21
21
|
componentName: 'textArea',
|
|
22
22
|
packageName: packageName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textarea",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
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/"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"./text-area": "./src/text-area.tsx"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@atlaskit/analytics-next": "^
|
|
46
|
-
"@atlaskit/theme": "^12.
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
45
|
+
"@atlaskit/analytics-next": "^10.0.0",
|
|
46
|
+
"@atlaskit/theme": "^12.11.0",
|
|
47
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1"
|
|
50
50
|
},
|
|
@@ -54,11 +54,12 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/accessibility-testing": "*",
|
|
56
56
|
"@af/integration-testing": "*",
|
|
57
|
+
"@af/visual-regression": "*",
|
|
57
58
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
58
59
|
"@atlaskit/ssr": "*",
|
|
59
60
|
"@atlaskit/visual-regression": "*",
|
|
60
61
|
"@atlassian/feature-flags-test-utils": "*",
|
|
61
|
-
"@testing-library/dom": "^
|
|
62
|
+
"@testing-library/dom": "^10.1.0",
|
|
62
63
|
"@testing-library/react": "^12.1.5",
|
|
63
64
|
"jest-in-case": "^1.0.2",
|
|
64
65
|
"jscodeshift": "^0.13.0",
|