@aws-amplify/ui-react 6.9.2 → 6.9.3

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.
@@ -583,7 +583,7 @@ const convertStylePropsToStyleObj = ({ props = {}, style = {}, breakpoint, break
583
583
  .forEach((propKey) => {
584
584
  if (isComponentStyleProp(propKey)) {
585
585
  const values = props[propKey];
586
- if (!values || isEmptyString(values))
586
+ if (values === null || values === undefined || isEmptyString(values))
587
587
  return;
588
588
  const reactStyleProp = ComponentPropsToStylePropsMap[propKey];
589
589
  // short circuit the style prop here if it is a string or design token
@@ -65,7 +65,7 @@ const convertStylePropsToStyleObj = ({ props = {}, style = {}, breakpoint, break
65
65
  .forEach((propKey) => {
66
66
  if (isComponentStyleProp(propKey)) {
67
67
  const values = props[propKey];
68
- if (!values || isEmptyString(values))
68
+ if (values === null || values === undefined || isEmptyString(values))
69
69
  return;
70
70
  const reactStyleProp = ComponentPropsToStylePropsMap[propKey];
71
71
  // short circuit the style prop here if it is a string or design token
@@ -1,3 +1,3 @@
1
- const VERSION = '6.9.2';
1
+ const VERSION = '6.9.3';
2
2
 
3
3
  export { VERSION };
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var isEqual = require('lodash/isEqual.js');
7
7
  var uiReactCore = require('@aws-amplify/ui-react-core');
8
8
  var ui = require('@aws-amplify/ui');
9
- var Field = require('./Field-DbA9eYRa.js');
9
+ var Field = require('./Field-31Y_jcOe.js');
10
10
  require('aws-amplify/storage');
11
11
  var debounce = require('lodash/debounce.js');
12
12
  var reactDropdownMenu = require('@radix-ui/react-dropdown-menu');
@@ -2469,7 +2469,7 @@ const defaultDeleteUserDisplayText = {
2469
2469
  warningText: 'Deleting your account is not reversible. You will lose access to your account and all data associated with it.',
2470
2470
  };
2471
2471
 
2472
- const VERSION = '6.9.2';
2472
+ const VERSION = '6.9.3';
2473
2473
 
2474
2474
  const logger$2 = ui.getLogger('AccountSettings');
2475
2475
  const getIsDisabled = (formValues, validationError) => {
package/dist/internal.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Field = require('./Field-DbA9eYRa.js');
5
+ var Field = require('./Field-31Y_jcOe.js');
6
6
  var React = require('react');
7
7
  var Storage = require('aws-amplify/storage');
8
8
  var ui = require('@aws-amplify/ui');
@@ -1 +1 @@
1
- export declare const VERSION = "6.9.2";
1
+ export declare const VERSION = "6.9.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react",
3
- "version": "6.9.2",
3
+ "version": "6.9.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -55,8 +55,8 @@
55
55
  "typecheck": "tsc --noEmit"
56
56
  },
57
57
  "dependencies": {
58
- "@aws-amplify/ui": "6.8.2",
59
- "@aws-amplify/ui-react-core": "3.3.2",
58
+ "@aws-amplify/ui": "6.9.0",
59
+ "@aws-amplify/ui-react-core": "3.3.3",
60
60
  "@radix-ui/react-direction": "^1.1.0",
61
61
  "@radix-ui/react-dropdown-menu": "^2.1.4",
62
62
  "@radix-ui/react-slider": "^1.2.2",