ywana-core8 0.0.664 → 0.0.666

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/dist/index.cjs CHANGED
@@ -7575,7 +7575,8 @@ var TablePage2 = function TablePage2(props) {
7575
7575
  editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
7576
7576
  tabbedBy = props.tabbedBy,
7577
7577
  tableClassName = props.tableClassName,
7578
- children = props.children;
7578
+ children = props.children,
7579
+ onSelect = props.onSelect;
7579
7580
 
7580
7581
  var _useContext = React.useContext(PageContext),
7581
7582
  pageContext = _useContext[0],
@@ -7608,6 +7609,7 @@ var TablePage2 = function TablePage2(props) {
7608
7609
  }, []);
7609
7610
  React.useEffect(function () {
7610
7611
  setForm(selected);
7612
+ if (onSelect) onSelect(selected);
7611
7613
  }, [selected]);
7612
7614
  React.useEffect(function () {
7613
7615
  if (autosave) {
@@ -9678,7 +9680,7 @@ var Wizard = function Wizard(props) {
9678
9680
  current = _useState2$ === void 0 ? 0 : _useState2$,
9679
9681
  setCurrent = _useState2[1];
9680
9682
 
9681
- var _useState3 = React.useState(true),
9683
+ var _useState3 = React.useState(false),
9682
9684
  valid = _useState3[0],
9683
9685
  setValid = _useState3[1];
9684
9686
 
@@ -9698,13 +9700,14 @@ var Wizard = function Wizard(props) {
9698
9700
  onChange: validate
9699
9701
  });
9700
9702
  var nextButton = current < steps.length - 1 ? /*#__PURE__*/React__default["default"].createElement(Button, {
9701
- label: "Siguiented",
9703
+ label: "Siguiente",
9702
9704
  action: next,
9703
9705
  raised: true,
9704
9706
  disabled: !valid
9705
9707
  }) : /*#__PURE__*/React__default["default"].createElement(Button, {
9706
9708
  label: "Finish",
9707
- action: finish
9709
+ action: finish,
9710
+ disabled: !valid
9708
9711
  });
9709
9712
  var prevButton = current > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
9710
9713
  label: "Atr\xE1s",