@auth0/quantum-product 1.6.0 → 1.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/esm/logo/logo.js CHANGED
@@ -38,7 +38,7 @@ export var Root = styled('div', {
38
38
  light: theme.tokens.color_fg_default,
39
39
  default: theme.tokens.color_fg_brand_primary,
40
40
  decorative: theme.tokens.color_fg_decorative,
41
- }[ownerState.color || 'default'], display: 'inline-block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
41
+ }[ownerState.color || 'default'], display: 'inline-block', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
42
42
  height: theme.typography.pxToRem(19),
43
43
  })), (ownerState.size === 'small' && {
44
44
  height: theme.typography.pxToRem(30),
@@ -49,7 +49,7 @@ var StyledSvg = styled('svg', {
49
49
  slot: 'Svg',
50
50
  })(function (_a) {
51
51
  var theme = _a.theme, ownerState = _a.ownerState;
52
- return __assign(__assign({ display: 'block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
52
+ return __assign(__assign({ display: 'block', overflow: 'visible', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
53
53
  height: theme.typography.pxToRem(19),
54
54
  })), (ownerState.size === 'small' && {
55
55
  height: theme.typography.pxToRem(30),
@@ -57,7 +57,7 @@ var StyledSvg = styled('svg', {
57
57
  });
58
58
  var LogoImage = styled(Image)(function (_a) {
59
59
  var theme = _a.theme, ownerState = _a.ownerState;
60
- return (__assign(__assign({ display: 'block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
60
+ return (__assign(__assign({ display: 'block', overflow: 'visible', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
61
61
  height: theme.typography.pxToRem(19),
62
62
  })), (ownerState.size === 'small' && {
63
63
  height: theme.typography.pxToRem(30),
@@ -70,9 +70,9 @@ var StyledSpinner = styled('span', {
70
70
  });
71
71
  var StyledLogo = styled(Logo, { name: spinnerComponentName, slot: 'Logo' })({
72
72
  position: 'absolute',
73
- top: '52%',
73
+ top: '50%',
74
74
  left: '50%',
75
- transform: 'translate(-50%, -50%)',
75
+ transform: 'translate(-48%, -50%)',
76
76
  });
77
77
  var useUtilityClasses = function (_a) {
78
78
  var classes = _a.classes;
package/logo/logo.js CHANGED
@@ -67,7 +67,7 @@ exports.Root = (0, styled_1.styled)('div', {
67
67
  light: theme.tokens.color_fg_default,
68
68
  default: theme.tokens.color_fg_brand_primary,
69
69
  decorative: theme.tokens.color_fg_decorative,
70
- }[ownerState.color || 'default'], display: 'inline-block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
70
+ }[ownerState.color || 'default'], display: 'inline-block', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
71
71
  height: theme.typography.pxToRem(19),
72
72
  })), (ownerState.size === 'small' && {
73
73
  height: theme.typography.pxToRem(30),
@@ -78,7 +78,7 @@ var StyledSvg = (0, styled_1.styled)('svg', {
78
78
  slot: 'Svg',
79
79
  })(function (_a) {
80
80
  var theme = _a.theme, ownerState = _a.ownerState;
81
- return __assign(__assign({ display: 'block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
81
+ return __assign(__assign({ display: 'block', overflow: 'visible', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
82
82
  height: theme.typography.pxToRem(19),
83
83
  })), (ownerState.size === 'small' && {
84
84
  height: theme.typography.pxToRem(30),
@@ -86,7 +86,7 @@ var StyledSvg = (0, styled_1.styled)('svg', {
86
86
  });
87
87
  var LogoImage = (0, styled_1.styled)(image_1.Image)(function (_a) {
88
88
  var theme = _a.theme, ownerState = _a.ownerState;
89
- return (__assign(__assign({ display: 'block', width: 'auto', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
89
+ return (__assign(__assign({ display: 'block', overflow: 'visible', height: theme.typography.pxToRem(36) }, (ownerState.size === 'xsmall' && {
90
90
  height: theme.typography.pxToRem(19),
91
91
  })), (ownerState.size === 'small' && {
92
92
  height: theme.typography.pxToRem(30),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth0/quantum-product",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "sideEffects": false,
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -99,9 +99,9 @@ var StyledSpinner = (0, styled_1.styled)('span', {
99
99
  });
100
100
  var StyledLogo = (0, styled_1.styled)(logo_1.Logo, { name: spinner_classes_1.spinnerComponentName, slot: 'Logo' })({
101
101
  position: 'absolute',
102
- top: '52%',
102
+ top: '50%',
103
103
  left: '50%',
104
- transform: 'translate(-50%, -50%)',
104
+ transform: 'translate(-48%, -50%)',
105
105
  });
106
106
  var useUtilityClasses = function (_a) {
107
107
  var classes = _a.classes;