@atlaskit/textarea 5.7.1 → 5.7.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 +14 -0
- package/dist/cjs/styles.js +3 -3
- package/dist/cjs/text-area.js +1 -1
- package/dist/es2019/styles.js +3 -3
- package/dist/es2019/text-area.js +1 -1
- package/dist/esm/styles.js +3 -3
- package/dist/esm/text-area.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/textarea
|
|
2
2
|
|
|
3
|
+
## 5.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
|
|
8
|
+
[`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
|
|
9
|
+
Update dependencies.
|
|
10
|
+
|
|
11
|
+
## 5.7.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 5.7.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/styles.js
CHANGED
|
@@ -189,7 +189,7 @@ var borderStyle = function borderStyle(appearance) {
|
|
|
189
189
|
};
|
|
190
190
|
var fontFamilyStyle = function fontFamilyStyle(isMonospaced) {
|
|
191
191
|
return (0, _react.css)({
|
|
192
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
192
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
193
193
|
fontFamily: isMonospaced ? "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)" : "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
194
194
|
});
|
|
195
195
|
};
|
|
@@ -206,7 +206,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
206
206
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
207
207
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
208
208
|
padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
209
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
209
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
210
210
|
lineHeight: lineHeightCompact / 14
|
|
211
211
|
},
|
|
212
212
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -215,7 +215,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
215
215
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
216
216
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
217
217
|
padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
218
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
218
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
219
219
|
lineHeight: lineHeightBase / 14
|
|
220
220
|
}
|
|
221
221
|
});
|
package/dist/cjs/text-area.js
CHANGED
|
@@ -25,7 +25,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
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.7.
|
|
28
|
+
var packageVersion = "5.7.3";
|
|
29
29
|
var analyticsParams = {
|
|
30
30
|
componentName: 'textArea',
|
|
31
31
|
packageName: packageName,
|
package/dist/es2019/styles.js
CHANGED
|
@@ -175,7 +175,7 @@ const borderStyle = appearance => css({
|
|
|
175
175
|
borderStyle: appearance === 'none' ? 'none' : 'solid'
|
|
176
176
|
});
|
|
177
177
|
const fontFamilyStyle = isMonospaced => css({
|
|
178
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
178
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
179
179
|
fontFamily: isMonospaced ? "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)" : "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
180
180
|
});
|
|
181
181
|
const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
@@ -189,7 +189,7 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
|
189
189
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
190
190
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
191
191
|
padding: `${compactVerticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
|
|
192
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
192
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
193
193
|
lineHeight: lineHeightCompact / 14
|
|
194
194
|
},
|
|
195
195
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -198,7 +198,7 @@ const borderPaddingAndHeightStyles = (minimumRows = 1, appearance) => {
|
|
|
198
198
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
199
199
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
200
200
|
padding: `${verticalPadding}px ${horizontalPaddingWithoutBorderWidth}px`,
|
|
201
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
201
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
202
202
|
lineHeight: lineHeightBase / 14
|
|
203
203
|
}
|
|
204
204
|
});
|
package/dist/es2019/text-area.js
CHANGED
|
@@ -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.7.
|
|
13
|
+
const packageVersion = "5.7.3";
|
|
14
14
|
const analyticsParams = {
|
|
15
15
|
componentName: 'textArea',
|
|
16
16
|
packageName,
|
package/dist/esm/styles.js
CHANGED
|
@@ -181,7 +181,7 @@ var borderStyle = function borderStyle(appearance) {
|
|
|
181
181
|
};
|
|
182
182
|
var fontFamilyStyle = function fontFamilyStyle(isMonospaced) {
|
|
183
183
|
return css({
|
|
184
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
184
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
185
185
|
fontFamily: isMonospaced ? "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)" : "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
186
186
|
});
|
|
187
187
|
};
|
|
@@ -198,7 +198,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
198
198
|
minHeight: borderBoxMinHeightCompact(minimumRows, borderHeight),
|
|
199
199
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
200
200
|
padding: "".concat(compactVerticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
201
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
201
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
202
202
|
lineHeight: lineHeightCompact / 14
|
|
203
203
|
},
|
|
204
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -207,7 +207,7 @@ var borderPaddingAndHeightStyles = function borderPaddingAndHeightStyles() {
|
|
|
207
207
|
minHeight: borderBoxMinHeight(minimumRows, borderHeight),
|
|
208
208
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
209
209
|
padding: "".concat(verticalPadding, "px ").concat(horizontalPaddingWithoutBorderWidth, "px"),
|
|
210
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
210
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography
|
|
211
211
|
lineHeight: lineHeightBase / 14
|
|
212
212
|
}
|
|
213
213
|
});
|
package/dist/esm/text-area.js
CHANGED
|
@@ -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.7.
|
|
19
|
+
var packageVersion = "5.7.3";
|
|
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.7.
|
|
3
|
+
"version": "5.7.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/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
46
46
|
"@atlaskit/primitives": "^13.3.0",
|
|
47
47
|
"@atlaskit/theme": "^14.0.0",
|
|
48
|
-
"@atlaskit/tokens": "^
|
|
48
|
+
"@atlaskit/tokens": "^3.1.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
|
@@ -66,8 +66,7 @@
|
|
|
66
66
|
"jscodeshift": "^0.13.0",
|
|
67
67
|
"react-dom": "^16.8.0",
|
|
68
68
|
"storybook-addon-performance": "^0.17.3",
|
|
69
|
-
"typescript": "~5.4.2"
|
|
70
|
-
"wait-for-expect": "^1.2.0"
|
|
69
|
+
"typescript": "~5.4.2"
|
|
71
70
|
},
|
|
72
71
|
"keywords": [
|
|
73
72
|
"atlaskit",
|