@atlaskit/form 12.6.1 → 12.6.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 12.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2f220beaedb7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f220beaedb7a) -
8
+ Remove unused dependency.
9
+
3
10
  ## 12.6.1
4
11
 
5
12
  ### Patch Changes
@@ -307,8 +314,7 @@
307
314
  handle `.css` imports correctly.Most bundlers come with built-in support for `.css` imports, so
308
315
  you may not need to do anything. If you are using a different bundler, please refer to the
309
316
  documentation for that bundler to understand how to handle `.css` imports.For more information on
310
- the migration, please refer to [RFC-73 Migrating our components to
311
- Compiled
317
+ the migration, please refer to [RFC-73 Migrating our components to Compiled
312
318
  CSS-in-JS](https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/859
313
319
 
314
320
  ## 10.6.3
package/dist/cjs/field.js CHANGED
@@ -1,4 +1,4 @@
1
- /* field.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* field.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* fieldset.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* fieldset.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* form-footer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-footer.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* form-header.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-header.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  /* eslint-disable @atlaskit/design-system/use-primitives */
3
3
  "use strict";
4
4
 
@@ -1,4 +1,4 @@
1
- /* form-section.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-section.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
package/dist/cjs/label.js CHANGED
@@ -1,4 +1,4 @@
1
- /* label.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* label.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* messages.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* messages.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* required-asterisk.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* required-asterisk.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* field.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* field.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./field.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* fieldset.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* fieldset.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./fieldset.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* form-footer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-footer.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./form-footer.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* form-header.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-header.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  /* eslint-disable @atlaskit/design-system/use-primitives */
3
3
  import "./form-header.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* form-section.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-section.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./form-section.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* label.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* label.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./label.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* messages.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* messages.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./messages.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* required-asterisk.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* required-asterisk.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./required-asterisk.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/dist/esm/field.js CHANGED
@@ -1,4 +1,4 @@
1
- /* field.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* field.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import _typeof from "@babel/runtime/helpers/typeof";
@@ -1,4 +1,4 @@
1
- /* fieldset.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* fieldset.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./fieldset.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* form-footer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-footer.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./form-footer.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* form-header.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-header.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  /* eslint-disable @atlaskit/design-system/use-primitives */
3
3
  import "./form-header.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* form-section.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* form-section.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./form-section.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/dist/esm/label.js CHANGED
@@ -1,4 +1,4 @@
1
- /* label.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* label.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./label.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* messages.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* messages.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./messages.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* required-asterisk.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* required-asterisk.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./required-asterisk.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
package/offerings.json ADDED
@@ -0,0 +1,40 @@
1
+ [
2
+ {
3
+ "name": "Form",
4
+ "package": "@atlaskit/form",
5
+ "import": {
6
+ "name": "Form",
7
+ "package": "@atlaskit/form",
8
+ "type": "default"
9
+ },
10
+ "keywords": ["form", "validation", "field", "input", "submit", "state"],
11
+ "categories": ["form"],
12
+ "shortDescription": "A component for building forms with validation and state management.",
13
+ "status": "general-availability",
14
+ "accessibilityGuidelines": [
15
+ "Provide clear labels for all form fields",
16
+ "Use appropriate error messaging",
17
+ "Ensure keyboard navigation between fields",
18
+ "Mark required fields clearly",
19
+ "Provide helpful validation feedback"
20
+ ],
21
+ "usageGuidelines": [
22
+ "Use for complex forms with validation",
23
+ "Provide clear field labels and instructions",
24
+ "Use single column layout for better comprehension",
25
+ "Mark required fields with asterisk (*)",
26
+ "Provide specific error messages"
27
+ ],
28
+ "contentGuidelines": [
29
+ "Use clear, concise labels",
30
+ "Write helpful placeholder text",
31
+ "Provide specific error messages",
32
+ "Use consistent terminology",
33
+ "Always include a visible label (exception: search fields)",
34
+ "Match field length to intended content length"
35
+ ],
36
+ "examples": {
37
+ "basic": "./examples/ai/form.tsx"
38
+ }
39
+ }
40
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "12.6.1",
3
+ "version": "12.6.2",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,10 +28,9 @@
28
28
  "@atlaskit/css": "^0.14.0",
29
29
  "@atlaskit/ds-lib": "^5.0.0",
30
30
  "@atlaskit/heading": "^5.2.0",
31
- "@atlaskit/icon": "^28.1.0",
31
+ "@atlaskit/icon": "^28.2.0",
32
32
  "@atlaskit/platform-feature-flags": "^1.1.0",
33
33
  "@atlaskit/primitives": "^14.14.0",
34
- "@atlaskit/theme": "^21.0.0",
35
34
  "@atlaskit/tokens": "^6.3.0",
36
35
  "@babel/runtime": "^7.0.0",
37
36
  "final-form": "^4.20.3",
@@ -57,7 +56,7 @@
57
56
  "@atlaskit/radio": "^8.3.0",
58
57
  "@atlaskit/range": "^9.2.0",
59
58
  "@atlaskit/section-message": "^8.7.0",
60
- "@atlaskit/select": "^21.2.0",
59
+ "@atlaskit/select": "^21.3.0",
61
60
  "@atlaskit/textarea": "^8.0.0",
62
61
  "@atlaskit/textfield": "^8.0.0",
63
62
  "@atlaskit/toggle": "^15.1.0",