@plasmicpkgs/antd5 0.0.207 → 0.0.209

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.js CHANGED
@@ -7507,7 +7507,8 @@ function AntdRangeSlider(props) {
7507
7507
  valueMin,
7508
7508
  valueMax,
7509
7509
  defaultValueMin,
7510
- defaultValueMax
7510
+ defaultValueMax,
7511
+ onAfterChange
7511
7512
  } = _a, rest = __objRest$3(_a, [
7512
7513
  "marks",
7513
7514
  "stylableMarks",
@@ -7521,7 +7522,8 @@ function AntdRangeSlider(props) {
7521
7522
  "valueMin",
7522
7523
  "valueMax",
7523
7524
  "defaultValueMin",
7524
- "defaultValueMax"
7525
+ "defaultValueMax",
7526
+ "onAfterChange"
7525
7527
  ]);
7526
7528
  const marksProp = useMarks({ simpleMarks: marks, stylableMarks });
7527
7529
  const tooltipProp = useTooltip({
@@ -7538,7 +7540,8 @@ function AntdRangeSlider(props) {
7538
7540
  range: { draggableTrack },
7539
7541
  className: `${sliderScopeClassName} ${className}`,
7540
7542
  tooltip: tooltipProp,
7541
- marks: marksProp
7543
+ marks: marksProp,
7544
+ onChangeComplete: onAfterChange
7542
7545
  }, rest)
7543
7546
  );
7544
7547
  }
@@ -7551,7 +7554,8 @@ function AntdSingleSlider(props) {
7551
7554
  tooltipVisible,
7552
7555
  tooltipPlacement,
7553
7556
  tooltipPrefix,
7554
- tooltipSuffix
7557
+ tooltipSuffix,
7558
+ onAfterChange
7555
7559
  } = _a, rest = __objRest$3(_a, [
7556
7560
  "marks",
7557
7561
  "stylableMarks",
@@ -7560,7 +7564,8 @@ function AntdSingleSlider(props) {
7560
7564
  "tooltipVisible",
7561
7565
  "tooltipPlacement",
7562
7566
  "tooltipPrefix",
7563
- "tooltipSuffix"
7567
+ "tooltipSuffix",
7568
+ "onAfterChange"
7564
7569
  ]);
7565
7570
  const marksProp = useMarks({ simpleMarks: marks, stylableMarks });
7566
7571
  const tooltipProp = useTooltip({
@@ -7574,7 +7579,9 @@ function AntdSingleSlider(props) {
7574
7579
  __spreadValues$7({
7575
7580
  className: `${sliderScopeClassName} ${className}`,
7576
7581
  tooltip: tooltipProp,
7577
- marks: marksProp
7582
+ marks: marksProp,
7583
+ range: false,
7584
+ onChangeComplete: onAfterChange
7578
7585
  }, rest)
7579
7586
  );
7580
7587
  }
@@ -8421,8 +8428,8 @@ const AntdTabItem = ({ children }) => {
8421
8428
  return /* @__PURE__ */ React__default.default.createElement("div", null, children);
8422
8429
  };
8423
8430
  function getTabItems(items) {
8424
- var _a;
8425
- return ((_a = items == null ? void 0 : items.type) == null ? void 0 : _a.name) == AntdTabItem.name ? [items] : items == null ? void 0 : items.props.children;
8431
+ var _a, _b, _c;
8432
+ return ((_a = items == null ? void 0 : items.type) == null ? void 0 : _a.name) == AntdTabItem.name ? [items] : (_c = (_b = items == null ? void 0 : items.props) == null ? void 0 : _b.children) == null ? void 0 : _c.flat(1);
8426
8433
  }
8427
8434
  function getTabItemKeys(items) {
8428
8435
  const keys = [];
@@ -8476,9 +8483,10 @@ function AntdTabs(props) {
8476
8483
  return [];
8477
8484
  const tabItems = getTabItems(itemsRaw);
8478
8485
  return tabItems.map((currentItem) => {
8486
+ var _a2;
8479
8487
  return __spreadProps$3(__spreadValues$3({}, currentItem.props), {
8480
8488
  key: currentItem.key,
8481
- children: /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, currentItem.props.children)
8489
+ children: /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, (_a2 = currentItem.props) == null ? void 0 : _a2.children)
8482
8490
  });
8483
8491
  }).filter((i) => i != null);
8484
8492
  }, [itemsRaw]);