mainstack-design-system 0.7.35 → 0.7.36

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/build/index.d.ts CHANGED
@@ -632,6 +632,7 @@ declare interface IAccordionItem extends AccordionItemProps {
632
632
  maxWidthTitle?: any;
633
633
  actionButton?: React.ReactNode;
634
634
  titleTag?: React.ReactNode;
635
+ draggableHandleProps?: any;
635
636
  }
636
637
 
637
638
  declare interface IButtonProps extends ButtonProps {
@@ -6632,29 +6632,30 @@ const A2 = {
6632
6632
  maxWidthTitle: d,
6633
6633
  actionButton: g,
6634
6634
  titleTag: b,
6635
- ...s
6636
- }, v) => /* @__PURE__ */ t(W1, { children: /* @__PURE__ */ t(
6635
+ draggableHandleProps: s,
6636
+ ...v
6637
+ }, h) => /* @__PURE__ */ t(W1, { children: /* @__PURE__ */ t(
6637
6638
  o9,
6638
6639
  {
6639
6640
  w: "100%",
6640
6641
  border: "none !important",
6641
6642
  borderRadius: "16px",
6642
- ref: v,
6643
- ...s,
6644
- children: ({ isExpanded: h }) => /* @__PURE__ */ r1(
6643
+ ref: h,
6644
+ ...v,
6645
+ children: ({ isExpanded: u }) => /* @__PURE__ */ r1(
6645
6646
  k1,
6646
6647
  {
6647
- outline: h ? "3px solid" : `${n ? "3px solid" : "1px solid"}`,
6648
- outlineOffset: h ? "-3px" : `${n ? "-3px" : "-1px"}`,
6648
+ outline: u ? "3px solid" : `${n ? "3px solid" : "1px solid"}`,
6649
+ outlineOffset: u ? "-3px" : `${n ? "-3px" : "-1px"}`,
6649
6650
  _hover: {
6650
- bg: h ? "none" : T.gray50
6651
+ bg: u ? "none" : T.gray50
6651
6652
  },
6652
- outlineColor: h ? `${n ? T.red500 : T.black300}` : `${n ? T.red500 : T.gray50}`,
6653
+ outlineColor: u ? `${n ? T.red500 : T.black300}` : `${n ? T.red500 : T.gray50}`,
6653
6654
  borderRadius: "16px",
6654
6655
  px: "20px",
6655
6656
  py: "20px",
6656
6657
  children: [
6657
- /* @__PURE__ */ r1(y1, { alignItems: "center", w: "100%", children: [
6658
+ /* @__PURE__ */ r1(y1, { alignItems: "center", w: "100%", ...s, children: [
6658
6659
  r && /* @__PURE__ */ t(n5, { cursor: "grabbing", boxSize: "24px", mr: "8px", children: /* @__PURE__ */ t(_9, { fontSize: "24px" }) }),
6659
6660
  /* @__PURE__ */ r1(
6660
6661
  i9,
@@ -6687,8 +6688,8 @@ const A2 = {
6687
6688
  /* @__PURE__ */ t(k1, { textAlign: "left", children: i && /* @__PURE__ */ t(k1, { mt: "4px", children: i }) })
6688
6689
  ] }),
6689
6690
  /* @__PURE__ */ r1(y1, { alignItems: "center", ml: "auto", children: [
6690
- g && /* @__PURE__ */ t(k1, { onClick: (u) => u.stopPropagation(), children: g }),
6691
- /* @__PURE__ */ t(W7.div, { animate: { rotateX: h ? 180 : 0 }, children: /* @__PURE__ */ t(n5, { boxSize: "28px", ml: "16px", children: /* @__PURE__ */ t(q7, { fontSize: "28px" }) }) })
6691
+ g && /* @__PURE__ */ t(k1, { onClick: (a) => a.stopPropagation(), children: g }),
6692
+ /* @__PURE__ */ t(W7.div, { animate: { rotateX: u ? 180 : 0 }, children: /* @__PURE__ */ t(n5, { boxSize: "28px", ml: "16px", children: /* @__PURE__ */ t(q7, { fontSize: "28px" }) }) })
6692
6693
  ] })
6693
6694
  ]
6694
6695
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.7.35",
3
+ "version": "0.7.36",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/index.d.ts",