@plasmicpkgs/antd5 0.0.199 → 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/antd.esm.js CHANGED
@@ -3473,7 +3473,7 @@ function AntdAccordion(props) {
3473
3473
  defaultActiveKey,
3474
3474
  activeKey,
3475
3475
  collapsible: disabled ? "disabled" : collapsible,
3476
- expandIcon: (expandIcon == null ? void 0 : expandIcon.key) ? ({ isActive }) => /* @__PURE__ */ React.createElement(
3476
+ expandIcon: expandIcon ? ({ isActive }) => /* @__PURE__ */ React.createElement(
3477
3477
  "div",
3478
3478
  {
3479
3479
  style: isActive && rotateCustomExpandIcon ? { transform: "rotate(90deg)" } : void 0
@@ -3534,7 +3534,7 @@ function AntdSingleCollapse(props) {
3534
3534
  defaultActiveKey: defaultOpen ? item.key : void 0,
3535
3535
  activeKey: open ? item.key : void 0,
3536
3536
  collapsible: disabled ? "disabled" : collapsible,
3537
- expandIcon: (expandIcon == null ? void 0 : expandIcon.key) ? ({ isActive }) => /* @__PURE__ */ React.createElement(
3537
+ expandIcon: expandIcon ? ({ isActive }) => /* @__PURE__ */ React.createElement(
3538
3538
  "div",
3539
3539
  {
3540
3540
  style: isActive && rotateCustomExpandIcon ? { transform: "rotate(90deg)" } : void 0
@@ -3576,10 +3576,7 @@ const commonAccordionProps = {
3576
3576
  type: "boolean",
3577
3577
  description: "Enable rotation of custom expand icon when panel is expanded",
3578
3578
  advanced: true,
3579
- hidden: (ps) => {
3580
- var _a;
3581
- return !((_a = ps.expandIcon) == null ? void 0 : _a.key);
3582
- }
3579
+ hidden: (ps) => !ps.expandIcon
3583
3580
  },
3584
3581
  expandIconPosition: {
3585
3582
  type: "choice",