@atlaskit/textarea 5.3.0 → 5.5.0
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 +277 -262
- package/__perf__/examples.tsx +34 -37
- package/codemods/4.0.0-lite-mode.tsx +1 -3
- package/codemods/__tests__/4.0.0-lite-mode.tsx +7 -7
- package/codemods/__tests__/rename-forwarded-ref-to-ref.tsx +29 -31
- package/codemods/migrates/rename-forwarded-ref-to-ref.tsx +3 -3
- package/codemods/utils.tsx +133 -177
- package/dist/cjs/styles.js +61 -9
- package/dist/cjs/text-area.js +7 -1
- package/dist/es2019/styles.js +64 -8
- package/dist/es2019/text-area.js +8 -1
- package/dist/esm/styles.js +62 -8
- package/dist/esm/text-area.js +8 -1
- package/dist/types/styles.d.ts +1 -1
- package/dist/types/text-area.d.ts +4 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/styles.d.ts +1 -1
- package/dist/types-ts4.5/text-area.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +94 -95
- package/report.api.md +310 -312
package/dist/types/styles.d.ts
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
3
|
export interface OwnProps extends WithAnalyticsEventsProps {
|
|
4
4
|
/**
|
|
5
5
|
* Controls the appearance of the field.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
2
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
3
|
export interface OwnProps extends WithAnalyticsEventsProps {
|
|
4
4
|
/**
|
|
5
5
|
* Controls the appearance of the field.
|
package/package.json
CHANGED
|
@@ -1,96 +1,95 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
2
|
+
"name": "@atlaskit/textarea",
|
|
3
|
+
"version": "5.5.0",
|
|
4
|
+
"description": "A text area lets users enter long form text which spans over multiple lines.",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"atlaskit:src": "src/index.tsx",
|
|
25
|
+
"homepage": "https://atlassian.design/components/textarea/",
|
|
26
|
+
"atlassian": {
|
|
27
|
+
"team": "Design System Team",
|
|
28
|
+
"runReact18": true,
|
|
29
|
+
"productPushConsumption": [
|
|
30
|
+
"jira"
|
|
31
|
+
],
|
|
32
|
+
"releaseModel": "continuous",
|
|
33
|
+
"website": {
|
|
34
|
+
"name": "Text area",
|
|
35
|
+
"category": "Components"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"af:exports": {
|
|
39
|
+
".": "./src/index.tsx",
|
|
40
|
+
"./component-tokens": "./src/component-tokens.tsx",
|
|
41
|
+
"./styles": "./src/styles.tsx",
|
|
42
|
+
"./text-area": "./src/text-area.tsx"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
|
+
"@atlaskit/theme": "^12.10.0",
|
|
47
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
48
|
+
"@babel/runtime": "^7.0.0",
|
|
49
|
+
"@emotion/react": "^11.7.1"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@af/accessibility-testing": "*",
|
|
56
|
+
"@af/integration-testing": "*",
|
|
57
|
+
"@atlaskit/ds-lib": "^2.3.0",
|
|
58
|
+
"@atlaskit/ssr": "*",
|
|
59
|
+
"@atlaskit/visual-regression": "*",
|
|
60
|
+
"@atlassian/feature-flags-test-utils": "*",
|
|
61
|
+
"@testing-library/dom": "^8.17.1",
|
|
62
|
+
"@testing-library/react": "^12.1.5",
|
|
63
|
+
"jest-in-case": "^1.0.2",
|
|
64
|
+
"jscodeshift": "^0.13.0",
|
|
65
|
+
"react-dom": "^16.8.0",
|
|
66
|
+
"storybook-addon-performance": "^0.16.0",
|
|
67
|
+
"typescript": "~5.4.2",
|
|
68
|
+
"wait-for-expect": "^1.2.0"
|
|
69
|
+
},
|
|
70
|
+
"keywords": [
|
|
71
|
+
"atlaskit",
|
|
72
|
+
"react",
|
|
73
|
+
"ui"
|
|
74
|
+
],
|
|
75
|
+
"techstack": {
|
|
76
|
+
"@atlassian/frontend": {
|
|
77
|
+
"import-structure": "atlassian-conventions"
|
|
78
|
+
},
|
|
79
|
+
"@repo/internal": {
|
|
80
|
+
"design-system": "v1",
|
|
81
|
+
"dom-events": "use-bind-event-listener",
|
|
82
|
+
"ui-components": "lite-mode",
|
|
83
|
+
"analytics": "analytics-next",
|
|
84
|
+
"design-tokens": [
|
|
85
|
+
"color",
|
|
86
|
+
"spacing"
|
|
87
|
+
],
|
|
88
|
+
"styling": [
|
|
89
|
+
"static",
|
|
90
|
+
"emotion"
|
|
91
|
+
],
|
|
92
|
+
"deprecation": "no-deprecated-imports"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|