@atlaskit/textarea 8.2.1 → 8.2.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 +6 -0
- package/dist/cjs/text-area.compiled.css +4 -4
- package/dist/cjs/text-area.js +4 -4
- package/dist/es2019/text-area.compiled.css +4 -4
- package/dist/es2019/text-area.js +4 -4
- package/dist/esm/text-area.compiled.css +4 -4
- package/dist/esm/text-area.js +4 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._v5641gs0{transition:var(--_19uzta9)}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
._cfjqkb7n:disabled{-webkit-opacity:1}
|
|
58
58
|
._daj712x7[data-compact]{padding-inline-end:var(--ds-space-075,6px)}
|
|
59
59
|
._daj71v6z[data-compact]{padding-inline-end:7px}
|
|
60
|
-
.
|
|
60
|
+
._ect4zzfg{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
|
|
61
61
|
._i0dl1osq{flex-basis:100%}
|
|
62
62
|
._ibjd12ci:hover:not(:read-only):not(:focus)[data-invalid]{background-color:var(--_1z08gfx)}
|
|
63
63
|
._j5dh13gf:disabled{cursor:not-allowed}
|
|
@@ -85,4 +85,4 @@
|
|
|
85
85
|
._jomrr01l:focus{background-color:var(--ds-background-input-pressed,#fff)}
|
|
86
86
|
._ndzbkwt5[data-invalid]:focus{background-color:var(--_t0vtv2)}
|
|
87
87
|
._qu18by5v:disabled:focus{background-color:var(--ds-background-disabled,#17171708)}
|
|
88
|
-
@media (min-width:30rem){.
|
|
88
|
+
@media (min-width:30rem){._1tn2fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}._14md1vhz{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)!important}}
|
package/dist/cjs/text-area.js
CHANGED
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
22
22
|
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; }
|
|
23
23
|
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; }
|
|
24
24
|
var packageName = "@atlaskit/textarea";
|
|
25
|
-
var packageVersion = "8.2.
|
|
25
|
+
var packageVersion = "8.2.1";
|
|
26
26
|
var analyticsParams = {
|
|
27
27
|
componentName: 'textArea',
|
|
28
28
|
packageName: packageName,
|
|
@@ -48,8 +48,8 @@ var appearanceStyles = {
|
|
|
48
48
|
// @see: https://medium.com/@rares.popescu/2-ways-to-avoid-the-automatic-zoom-in-on-input-fields-8a71479e542e
|
|
49
49
|
|
|
50
50
|
var fontStyles = {
|
|
51
|
-
default: "
|
|
52
|
-
monospace: "
|
|
51
|
+
default: "_11c81d4k _1tn2fhey",
|
|
52
|
+
monospace: "_11c81d4k _ect4zzfg _1tn2fhey _14md1vhz"
|
|
53
53
|
};
|
|
54
54
|
var resizeStyles = {
|
|
55
55
|
horizontal: "_14zg1e08",
|
|
@@ -150,7 +150,7 @@ var InnerTextArea = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
150
150
|
onFocus: onFocusWithAnalytics,
|
|
151
151
|
rows: minimumRows
|
|
152
152
|
}, rest, {
|
|
153
|
-
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl
|
|
153
|
+
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl _11c8fhey _12ji1r31 _1qu2glyw _12y31o36 _1reo1wug _18m91wug _v5641gs0 _189ee4h9 _1e0c1ule _vchhusvi _1bsb1osq _1ul9idpf _p12f1osq _kqswh2mm _syazovqm _slp31hna _153gksl0 _usy41kd8 _1a2sh9qi _vbqbhxcb _j5dh13gf _cfjqkb7n _k3o7n7od _1goxglyw _13xeglyw _1fraksl0 _ibjd12ci _6zpvh9qi _19k01ouc _1idrpsu8 _1lephxcb _nmhq1fiz _1n388sxn _1luh3zdg _ndzbkwt5 _1vj0119y", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1qi0", appearanceStyles[appearance], fontStyles[isMonospaced ? 'monospace' : 'default'], resizeStyles[resize], "_uzq71d1b _16lw1cn1"]),
|
|
154
154
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
155
155
|
maxHeight: maxHeight,
|
|
156
156
|
"--_5xk3r4": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.N900, ")")),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._v564r5cv{transition:background-color .2s ease-in-out,border-color .2s ease-in-out}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
._cfjqkb7n:disabled{-webkit-opacity:1}
|
|
58
58
|
._daj712x7[data-compact]{padding-inline-end:var(--ds-space-075,6px)}
|
|
59
59
|
._daj71v6z[data-compact]{padding-inline-end:7px}
|
|
60
|
-
.
|
|
60
|
+
._ect4zzfg{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
|
|
61
61
|
._i0dl1osq{flex-basis:100%}
|
|
62
62
|
._ibjd10ko:hover:not(:read-only):not(:focus)[data-invalid]{background-color:var(--ds-background-input-hovered,#ebecf0)}
|
|
63
63
|
._j5dh13gf:disabled{cursor:not-allowed}
|
|
@@ -85,4 +85,4 @@
|
|
|
85
85
|
._jomrr01l:focus{background-color:var(--ds-background-input-pressed,#fff)}
|
|
86
86
|
._ndzbr01l[data-invalid]:focus{background-color:var(--ds-background-input-pressed,#fff)}
|
|
87
87
|
._qu18by5v:disabled:focus{background-color:var(--ds-background-disabled,#17171708)}
|
|
88
|
-
@media (min-width:30rem){.
|
|
88
|
+
@media (min-width:30rem){._1tn2fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}._14md1vhz{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)!important}}
|
package/dist/es2019/text-area.js
CHANGED
|
@@ -7,7 +7,7 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { B200, N0, N10, N20, N200, N30, N70, N900, R400 } from '@atlaskit/theme/colors';
|
|
9
9
|
const packageName = "@atlaskit/textarea";
|
|
10
|
-
const packageVersion = "8.2.
|
|
10
|
+
const packageVersion = "8.2.1";
|
|
11
11
|
const analyticsParams = {
|
|
12
12
|
componentName: 'textArea',
|
|
13
13
|
packageName,
|
|
@@ -33,8 +33,8 @@ const appearanceStyles = {
|
|
|
33
33
|
// @see: https://medium.com/@rares.popescu/2-ways-to-avoid-the-automatic-zoom-in-on-input-fields-8a71479e542e
|
|
34
34
|
|
|
35
35
|
const fontStyles = {
|
|
36
|
-
default: "
|
|
37
|
-
monospace: "
|
|
36
|
+
default: "_11c81d4k _1tn2fhey",
|
|
37
|
+
monospace: "_11c81d4k _ect4zzfg _1tn2fhey _14md1vhz"
|
|
38
38
|
};
|
|
39
39
|
const resizeStyles = {
|
|
40
40
|
horizontal: "_14zg1e08",
|
|
@@ -127,7 +127,7 @@ const InnerTextArea = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
127
127
|
onFocus: onFocusWithAnalytics,
|
|
128
128
|
rows: minimumRows
|
|
129
129
|
}, rest, {
|
|
130
|
-
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl
|
|
130
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl _11c8fhey _12ji1r31 _1qu2glyw _12y31o36 _1reo1wug _18m91wug _v564r5cv _189ee4h9 _1e0c1ule _vchhusvi _1bsb1osq _1ul9idpf _p12f1osq _kqswh2mm _syazj3m3 _slp31hna _153g78r2 _usy4mag2 _1a2sr6rt _vbqb9jg2 _j5dh13gf _cfjqkb7n _k3o7n7od _1goxglyw _13xeglyw _1fra78r2 _ibjd10ko _6zpvr6rt _19k01y1w _1idr1wmz _1lep9jg2 _nmhq1fiz _1n388sxn _1luh194a _ndzbr01l _1vj01cu8", fg('platform-dst-shape-theme-default') && "_2rko1qi0", appearanceStyles[appearance], fontStyles[isMonospaced ? 'monospace' : 'default'], resizeStyles[resize], "_uzq71i7i _16lwuel1"]),
|
|
131
131
|
style: {
|
|
132
132
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
133
133
|
...style,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
4
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
5
5
|
._v5641gs0{transition:var(--_19uzta9)}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
._cfjqkb7n:disabled{-webkit-opacity:1}
|
|
58
58
|
._daj712x7[data-compact]{padding-inline-end:var(--ds-space-075,6px)}
|
|
59
59
|
._daj71v6z[data-compact]{padding-inline-end:7px}
|
|
60
|
-
.
|
|
60
|
+
._ect4zzfg{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
|
|
61
61
|
._i0dl1osq{flex-basis:100%}
|
|
62
62
|
._ibjd12ci:hover:not(:read-only):not(:focus)[data-invalid]{background-color:var(--_1z08gfx)}
|
|
63
63
|
._j5dh13gf:disabled{cursor:not-allowed}
|
|
@@ -85,4 +85,4 @@
|
|
|
85
85
|
._jomrr01l:focus{background-color:var(--ds-background-input-pressed,#fff)}
|
|
86
86
|
._ndzbkwt5[data-invalid]:focus{background-color:var(--_t0vtv2)}
|
|
87
87
|
._qu18by5v:disabled:focus{background-color:var(--ds-background-disabled,#17171708)}
|
|
88
|
-
@media (min-width:30rem){.
|
|
88
|
+
@media (min-width:30rem){._1tn2fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}._14md1vhz{font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)!important}}
|
package/dist/esm/text-area.js
CHANGED
|
@@ -13,7 +13,7 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
14
|
import { B200, N0, N10, N20, N200, N30, N70, N900, R400 } from '@atlaskit/theme/colors';
|
|
15
15
|
var packageName = "@atlaskit/textarea";
|
|
16
|
-
var packageVersion = "8.2.
|
|
16
|
+
var packageVersion = "8.2.1";
|
|
17
17
|
var analyticsParams = {
|
|
18
18
|
componentName: 'textArea',
|
|
19
19
|
packageName: packageName,
|
|
@@ -39,8 +39,8 @@ var appearanceStyles = {
|
|
|
39
39
|
// @see: https://medium.com/@rares.popescu/2-ways-to-avoid-the-automatic-zoom-in-on-input-fields-8a71479e542e
|
|
40
40
|
|
|
41
41
|
var fontStyles = {
|
|
42
|
-
default: "
|
|
43
|
-
monospace: "
|
|
42
|
+
default: "_11c81d4k _1tn2fhey",
|
|
43
|
+
monospace: "_11c81d4k _ect4zzfg _1tn2fhey _14md1vhz"
|
|
44
44
|
};
|
|
45
45
|
var resizeStyles = {
|
|
46
46
|
horizontal: "_14zg1e08",
|
|
@@ -141,7 +141,7 @@ var InnerTextArea = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
141
141
|
onFocus: onFocusWithAnalytics,
|
|
142
142
|
rows: minimumRows
|
|
143
143
|
}, rest, {
|
|
144
|
-
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl
|
|
144
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1osq _2rkofajl _11c8fhey _12ji1r31 _1qu2glyw _12y31o36 _1reo1wug _18m91wug _v5641gs0 _189ee4h9 _1e0c1ule _vchhusvi _1bsb1osq _1ul9idpf _p12f1osq _kqswh2mm _syazovqm _slp31hna _153gksl0 _usy41kd8 _1a2sh9qi _vbqbhxcb _j5dh13gf _cfjqkb7n _k3o7n7od _1goxglyw _13xeglyw _1fraksl0 _ibjd12ci _6zpvh9qi _19k01ouc _1idrpsu8 _1lephxcb _nmhq1fiz _1n388sxn _1luh3zdg _ndzbkwt5 _1vj0119y", fg('platform-dst-shape-theme-default') && "_2rko1qi0", appearanceStyles[appearance], fontStyles[isMonospaced ? 'monospace' : 'default'], resizeStyles[resize], "_uzq71d1b _16lw1cn1"]),
|
|
145
145
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
146
146
|
maxHeight: maxHeight,
|
|
147
147
|
"--_5xk3r4": ix("var(--ds-text, ".concat(N900, ")")),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/textarea",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.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/"
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
38
|
-
"@atlaskit/primitives": "^17.
|
|
38
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
39
39
|
"@atlaskit/theme": "^21.0.0",
|
|
40
|
-
"@atlaskit/tokens": "^
|
|
40
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@compiled/react": "^0.18.6"
|
|
43
43
|
},
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@af/visual-regression": "workspace:^",
|
|
51
51
|
"@atlaskit/button": "^23.9.0",
|
|
52
52
|
"@atlaskit/css": "^0.19.0",
|
|
53
|
-
"@atlaskit/docs": "^11.
|
|
53
|
+
"@atlaskit/docs": "^11.3.0",
|
|
54
54
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
55
|
-
"@atlaskit/form": "^15.
|
|
56
|
-
"@atlaskit/link": "^3.
|
|
57
|
-
"@atlaskit/section-message": "^8.
|
|
55
|
+
"@atlaskit/form": "^15.3.0",
|
|
56
|
+
"@atlaskit/link": "^3.3.0",
|
|
57
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
58
58
|
"@atlassian/ssr-tests": "workspace:^",
|
|
59
|
-
"@testing-library/react": "^
|
|
59
|
+
"@testing-library/react": "^16.3.0",
|
|
60
60
|
"@testing-library/user-event": "^14.4.3",
|
|
61
61
|
"jest-in-case": "^1.0.2",
|
|
62
62
|
"react-dom": "^18.2.0"
|