@aurora-ds/components 1.1.5 → 1.1.6

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/dist/esm/index.js CHANGED
@@ -1236,6 +1236,12 @@ const SKELETON_VARIANTS = createVariants((theme) => ({
1236
1236
  const Skeleton = ({ ref, variant = 'rectangular', animation = 'shimmer', width, height, className, style, ...rest }) => (jsx("span", { ref: ref, className: SKELETON_VARIANTS({ variant, animation: animation === false ? 'none' : animation }, className), style: { width, height, ...style }, "aria-hidden": true, ...rest }));
1237
1237
  Skeleton.displayName = 'Skeleton';
1238
1238
 
1239
+ const FORM_STYLES = createStyles(() => ({
1240
+ root: {
1241
+ display: 'contents',
1242
+ },
1243
+ }));
1244
+
1239
1245
  /**
1240
1246
  * Thin wrapper around `<form>`. Prevents the default browser submit and
1241
1247
  * delegates to the `onSubmit` callback.
@@ -1251,7 +1257,7 @@ const Form = ({ children, onSubmit, 'aria-label': ariaLabel, 'aria-labelledby':
1251
1257
  event.preventDefault();
1252
1258
  onSubmit(event);
1253
1259
  };
1254
- return (jsx("form", { onSubmit: handleSubmit, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, noValidate: true, children: children }));
1260
+ return (jsx("form", { onSubmit: handleSubmit, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className: FORM_STYLES.root, noValidate: true, children: children }));
1255
1261
  };
1256
1262
  Form.displayName = 'Form';
1257
1263