@atlaskit/form 10.6.3 → 11.0.1

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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 11.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#166027](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166027)
14
+ [`7dc9e1f2a2cb7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7dc9e1f2a2cb7) -
15
+ Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
16
+ the rest of the Atlaskit techstack, and support React 18 Streaming SSR.Please note, in order to
17
+ use this version of `@atlaskit/form`, you will need to ensure that your bundler is configured to
18
+ handle `.css` imports correctly.Most bundlers come with built-in support for `.css` imports, so
19
+ you may not need to do anything. If you are using a different bundler, please refer to the
20
+ documentation for that bundler to understand how to handle `.css` imports.For more information on
21
+ the migration, please refer to [RFC-73 Migrating our components to
22
+ Compiled
23
+ CSS-in-JS](https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/859
24
+
3
25
  ## 10.6.3
4
26
 
5
27
  ### Patch Changes
@@ -18,9 +18,12 @@ var requiredIndicatorStyles = (0, _react.css)({
18
18
  paddingInlineStart: "var(--ds-space-025, 2px)"
19
19
  });
20
20
  function RequiredAsterisk() {
21
- return (0, _react.jsx)("span", {
22
- css: requiredIndicatorStyles,
23
- "aria-hidden": "true",
24
- title: "required"
25
- }, "*");
21
+ return (
22
+ // eslint-disable-next-line @atlaskit/design-system/use-primitives-text
23
+ (0, _react.jsx)("span", {
24
+ css: requiredIndicatorStyles,
25
+ "aria-hidden": "true",
26
+ title: "required"
27
+ }, "*")
28
+ );
26
29
  }
@@ -11,9 +11,12 @@ const requiredIndicatorStyles = css({
11
11
  paddingInlineStart: "var(--ds-space-025, 2px)"
12
12
  });
13
13
  export default function RequiredAsterisk() {
14
- return jsx("span", {
15
- css: requiredIndicatorStyles,
16
- "aria-hidden": "true",
17
- title: "required"
18
- }, "*");
14
+ return (
15
+ // eslint-disable-next-line @atlaskit/design-system/use-primitives-text
16
+ jsx("span", {
17
+ css: requiredIndicatorStyles,
18
+ "aria-hidden": "true",
19
+ title: "required"
20
+ }, "*")
21
+ );
19
22
  }
@@ -11,9 +11,12 @@ var requiredIndicatorStyles = css({
11
11
  paddingInlineStart: "var(--ds-space-025, 2px)"
12
12
  });
13
13
  export default function RequiredAsterisk() {
14
- return jsx("span", {
15
- css: requiredIndicatorStyles,
16
- "aria-hidden": "true",
17
- title: "required"
18
- }, "*");
14
+ return (
15
+ // eslint-disable-next-line @atlaskit/design-system/use-primitives-text
16
+ jsx("span", {
17
+ css: requiredIndicatorStyles,
18
+ "aria-hidden": "true",
19
+ title: "required"
20
+ }, "*")
21
+ );
19
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "10.6.3",
3
+ "version": "11.0.1",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,10 +28,10 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/ds-lib": "^3.3.0",
30
30
  "@atlaskit/heading": "^4.0.0",
31
- "@atlaskit/icon": "^23.1.0",
31
+ "@atlaskit/icon": "^23.3.0",
32
32
  "@atlaskit/primitives": "^13.3.0",
33
33
  "@atlaskit/theme": "^14.0.0",
34
- "@atlaskit/tokens": "^2.4.0",
34
+ "@atlaskit/tokens": "^3.0.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/react": "^11.7.1",
37
37
  "final-form": "^4.20.3",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/banner": "^12.6.0",
50
50
  "@atlaskit/button": "^20.3.0",
51
51
  "@atlaskit/checkbox": "^15.2.0",
52
- "@atlaskit/modal-dialog": "^12.18.0",
52
+ "@atlaskit/modal-dialog": "^12.19.0",
53
53
  "@atlaskit/radio": "^7.0.0",
54
54
  "@atlaskit/range": "^8.0.0",
55
55
  "@atlaskit/select": "^18.9.0",