@auth0/quantum-product 1.5.1 → 1.5.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.
@@ -11,7 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import * as React from 'react';
13
13
  import MuiStepLabel from '@mui/material/StepLabel';
14
- import { StatusIcon, CheckIcon } from '@a0/quantum-product';
14
+ import { StatusIcon } from '../../status';
15
+ import { CheckIcon } from '../../icon';
15
16
  var CustomStepIcon = function (_a) {
16
17
  var active = _a.active, completed = _a.completed;
17
18
  return (React.createElement(StatusIcon, { icon: CheckIcon, variant: active || completed ? 'filled' : 'default', color: completed ? 'success' : 'default' }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth0/quantum-product",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "sideEffects": false,
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -40,10 +40,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.StepLabel = void 0;
41
41
  var React = __importStar(require("react"));
42
42
  var StepLabel_1 = __importDefault(require("@mui/material/StepLabel"));
43
- var quantum_product_1 = require("@a0/quantum-product");
43
+ var status_1 = require("../../status");
44
+ var icon_1 = require("../../icon");
44
45
  var CustomStepIcon = function (_a) {
45
46
  var active = _a.active, completed = _a.completed;
46
- return (React.createElement(quantum_product_1.StatusIcon, { icon: quantum_product_1.CheckIcon, variant: active || completed ? 'filled' : 'default', color: completed ? 'success' : 'default' }));
47
+ return (React.createElement(status_1.StatusIcon, { icon: icon_1.CheckIcon, variant: active || completed ? 'filled' : 'default', color: completed ? 'success' : 'default' }));
47
48
  };
48
49
  exports.StepLabel = React.forwardRef(function (props, ref) {
49
50
  return React.createElement(StepLabel_1.default, __assign({ StepIconComponent: CustomStepIcon }, props, { ref: ref }));