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

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.
@@ -140,22 +140,21 @@
140
140
  align-items: center;
141
141
  gap: 10px;
142
142
  position: relative;
143
- text-align: center;
144
143
 
145
- & + .title {
146
- &:before {
144
+ &:has(+ .title) {
145
+ &:after {
147
146
  content: "";
148
147
  position: absolute;
149
- top: -34px;
148
+ bottom: -44px;
150
149
  left: 17px;
151
150
  width: 3px;
152
- height: 100%;
151
+ height: calc(100% + 10px);
153
152
  background-color: #dadada;
154
153
  }
155
154
  }
156
155
 
157
156
  &[data-completed="true"] {
158
- & + .title:before {
157
+ &:has(+ .title):after {
159
158
  background-color: $success-color !important;
160
159
  }
161
160
  > .step {
@@ -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)));
@@ -42,7 +42,7 @@ declare const getMaskOptions: ({ isDateField, placeholderChar, min, max, lazy, p
42
42
  mask?: any;
43
43
  hint?: string | string[] | undefined;
44
44
  hintPosition?: "below" | "onLabelRight" | undefined;
45
- themePopover?: "light" | "dark" | undefined;
45
+ themePopover?: "dark" | "light" | undefined;
46
46
  popoverAlign?: "left" | "right" | undefined;
47
47
  placeholderChar: string;
48
48
  min: any;
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.38",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",