linear-react-components-ui 1.1.20-beta.36 → 1.1.20-beta.37

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.
@@ -81,7 +81,7 @@ interface WizardComponentProps extends Omit<IFormProps, 'content'> {
81
81
  title?: string;
82
82
  handlerClose?: () => void;
83
83
  controls: WizardControls;
84
- position?: 'top' | 'left';
84
+ progressBarPosition?: 'top' | 'left';
85
85
  }
86
86
  interface WizardStepComponentProps {
87
87
  children: React.ReactNode;
@@ -8,6 +8,6 @@ import '../../icons/helper.js';
8
8
 
9
9
  declare const WizardContext: React__default.Context<WizardControls | null>;
10
10
  declare const useWizardContext: () => WizardControls | null;
11
- declare function Wizard({ children, controls, showProgressbar, position, ...dialogProps }: Readonly<WizardComponentProps>): JSX.Element;
11
+ declare function Wizard({ children, controls, showProgressbar, progressBarPosition, ...dialogProps }: Readonly<WizardComponentProps>): JSX.Element;
12
12
 
13
13
  export { Wizard as Container, WizardContext, Wizard as default, useWizardContext };
@@ -25,7 +25,7 @@ var _progressbar = require("./progressbar");
25
25
  require("../../assets/styles/wizard.scss");
26
26
  var _step = require("./step");
27
27
  var _useWizard = require("./useWizard");
28
- const _excluded = ["children", "controls", "showProgressbar", "position"];
28
+ const _excluded = ["children", "controls", "showProgressbar", "progressBarPosition"];
29
29
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
30
30
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
31
31
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -40,7 +40,7 @@ function Wizard(_ref) {
40
40
  children,
41
41
  controls,
42
42
  showProgressbar = true,
43
- position = 'top'
43
+ progressBarPosition = 'top'
44
44
  } = _ref,
45
45
  dialogProps = _objectWithoutProperties(_ref, _excluded);
46
46
  const {
@@ -68,7 +68,7 @@ function Wizard(_ref) {
68
68
  contentClassName: "wizard-content"
69
69
  }, dialogProps), showProgressbar && /*#__PURE__*/_react.default.createElement(_progressbar.Progressbar, {
70
70
  stepsTitle: stepsTitle,
71
- position: position
71
+ position: progressBarPosition
72
72
  }), /*#__PURE__*/_react.default.createElement("div", {
73
73
  className: "wizard-body"
74
74
  }, currentStepElement)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.1.20-beta.36",
3
+ "version": "1.1.20-beta.37",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",