@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.
@@ -1,4 +1,4 @@
1
- import { TextAreaProps } from './types';
1
+ import { type TextAreaProps } from './types';
2
2
  export interface StyleProps {
3
3
  minimumRows: number | undefined;
4
4
  resize: string | undefined;
@@ -1,6 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React from 'react';
3
- import { TextAreaProps } from './types';
6
+ import { type TextAreaProps } from './types';
4
7
  /**
5
8
  * __Text area__
6
9
  *
@@ -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,4 +1,4 @@
1
- import { TextAreaProps } from './types';
1
+ import { type TextAreaProps } from './types';
2
2
  export interface StyleProps {
3
3
  minimumRows: number | undefined;
4
4
  resize: string | undefined;
@@ -1,6 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
  import React from 'react';
3
- import { TextAreaProps } from './types';
6
+ import { type TextAreaProps } from './types';
4
7
  /**
5
8
  * __Text area__
6
9
  *
@@ -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
- "name": "@atlaskit/textarea",
3
- "version": "5.3.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
- "productPushConsumption": [
29
- "jira"
30
- ],
31
- "releaseModel": "continuous",
32
- "website": {
33
- "name": "Text area",
34
- "category": "Components"
35
- }
36
- },
37
- "af:exports": {
38
- ".": "./src/index.tsx",
39
- "./component-tokens": "./src/component-tokens.tsx",
40
- "./styles": "./src/styles.tsx",
41
- "./text-area": "./src/text-area.tsx"
42
- },
43
- "dependencies": {
44
- "@atlaskit/analytics-next": "^9.3.0",
45
- "@atlaskit/theme": "^12.7.0",
46
- "@atlaskit/tokens": "^1.45.0",
47
- "@babel/runtime": "^7.0.0",
48
- "@emotion/react": "^11.7.1"
49
- },
50
- "peerDependencies": {
51
- "react": "^16.8.0"
52
- },
53
- "devDependencies": {
54
- "@af/accessibility-testing": "*",
55
- "@af/integration-testing": "*",
56
- "@atlaskit/ds-lib": "^2.3.0",
57
- "@atlaskit/ssr": "*",
58
- "@atlaskit/visual-regression": "*",
59
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
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
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
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
+ }