@plasmicpkgs/antd5 0.0.197 → 0.0.200

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
@@ -3490,7 +3490,7 @@ function AntdAccordion(props) {
3490
3490
  defaultActiveKey,
3491
3491
  activeKey,
3492
3492
  collapsible: disabled ? "disabled" : collapsible,
3493
- expandIcon: (expandIcon == null ? void 0 : expandIcon.key) ? ({ isActive }) => /* @__PURE__ */ React__default.default.createElement(
3493
+ expandIcon: expandIcon ? ({ isActive }) => /* @__PURE__ */ React__default.default.createElement(
3494
3494
  "div",
3495
3495
  {
3496
3496
  style: isActive && rotateCustomExpandIcon ? { transform: "rotate(90deg)" } : void 0
@@ -3551,7 +3551,7 @@ function AntdSingleCollapse(props) {
3551
3551
  defaultActiveKey: defaultOpen ? item.key : void 0,
3552
3552
  activeKey: open ? item.key : void 0,
3553
3553
  collapsible: disabled ? "disabled" : collapsible,
3554
- expandIcon: (expandIcon == null ? void 0 : expandIcon.key) ? ({ isActive }) => /* @__PURE__ */ React__default.default.createElement(
3554
+ expandIcon: expandIcon ? ({ isActive }) => /* @__PURE__ */ React__default.default.createElement(
3555
3555
  "div",
3556
3556
  {
3557
3557
  style: isActive && rotateCustomExpandIcon ? { transform: "rotate(90deg)" } : void 0
@@ -3593,10 +3593,7 @@ const commonAccordionProps = {
3593
3593
  type: "boolean",
3594
3594
  description: "Enable rotation of custom expand icon when panel is expanded",
3595
3595
  advanced: true,
3596
- hidden: (ps) => {
3597
- var _a;
3598
- return !((_a = ps.expandIcon) == null ? void 0 : _a.key);
3599
- }
3596
+ hidden: (ps) => !ps.expandIcon
3600
3597
  },
3601
3598
  expandIconPosition: {
3602
3599
  type: "choice",