@clickpalm/react 1.3.3 → 1.3.4
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2960,7 +2960,7 @@ var IconButton = styled("button", {
|
|
|
2960
2960
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
2961
2961
|
var Dropdown = ({ children }) => {
|
|
2962
2962
|
const childrenArray = import_react16.Children.toArray(children);
|
|
2963
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DropdownMenu2.Root, { children: [
|
|
2963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DropdownMenu2.Root, { modal: false, children: [
|
|
2964
2964
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "Dots", size: 16 }) }) }),
|
|
2965
2965
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DropdownMenu2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react16.Fragment, { children: [
|
|
2966
2966
|
child,
|
package/dist/index.mjs
CHANGED
|
@@ -2890,7 +2890,7 @@ var IconButton = styled("button", {
|
|
|
2890
2890
|
import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2891
2891
|
var Dropdown = ({ children }) => {
|
|
2892
2892
|
const childrenArray = Children2.toArray(children);
|
|
2893
|
-
return /* @__PURE__ */ jsxs14(DropdownMenu2.Root, { children: [
|
|
2893
|
+
return /* @__PURE__ */ jsxs14(DropdownMenu2.Root, { modal: false, children: [
|
|
2894
2894
|
/* @__PURE__ */ jsx34(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx34(Button, { variant: "secondary", size: "sm", children: /* @__PURE__ */ jsx34(Icon, { name: "Dots", size: 16 }) }) }),
|
|
2895
2895
|
/* @__PURE__ */ jsx34(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx34(StyledContent2, { sideOffset: 5, align: "end", children: childrenArray.map((child, index) => /* @__PURE__ */ jsxs14(Fragment2, { children: [
|
|
2896
2896
|
child,
|
package/package.json
CHANGED