@sellgar/kit 0.0.128 → 0.0.129
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 +12 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13077,22 +13077,18 @@ const gm = s.createContext(null), vm = () => {
|
|
|
13077
13077
|
}, gE = ({ children: e, ...t }) => {
|
|
13078
13078
|
const n = pE(t);
|
|
13079
13079
|
return /* @__PURE__ */ s.createElement(gm.Provider, { value: n }, e);
|
|
13080
|
-
}, vE = s.forwardRef(
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13089
|
-
|
|
13090
|
-
|
|
13091
|
-
|
|
13092
|
-
};
|
|
13093
|
-
return /* @__PURE__ */ s.createElement("div", { className: ec.close, ...t, ref: n, onClick: r }, /* @__PURE__ */ s.createElement(Le, { icon: "close-line" }));
|
|
13094
|
-
}
|
|
13095
|
-
), x1 = (e) => /* @__PURE__ */ s.createElement(gE, { open: e.open, onOpen: e.onOpen, onClose: e.onClose }, /* @__PURE__ */ s.createElement(vE, { className: ec.wrapper }, /* @__PURE__ */ s.createElement(yE, null), e.children)), bE = "_wrapper_1wvfc_1", _E = {
|
|
13080
|
+
}, vE = s.forwardRef(function(t, n) {
|
|
13081
|
+
const { context: i, ...l } = vm(), r = la([l.refs.setFloating, n]);
|
|
13082
|
+
return i.open ? /* @__PURE__ */ s.createElement(Jr, null, /* @__PURE__ */ s.createElement(Up, { className: ec.overlay, lockScroll: !0 }, /* @__PURE__ */ s.createElement(oa, { context: i }, /* @__PURE__ */ s.createElement("div", { ref: r, ...l.getFloatingProps(t) }, t.children)))) : null;
|
|
13083
|
+
}), yE = s.forwardRef(function(t, n) {
|
|
13084
|
+
const {
|
|
13085
|
+
onClose: i,
|
|
13086
|
+
context: { onOpenChange: l }
|
|
13087
|
+
} = vm(), r = () => {
|
|
13088
|
+
l(!1), i && i();
|
|
13089
|
+
};
|
|
13090
|
+
return /* @__PURE__ */ s.createElement("div", { className: ec.close, ...t, ref: n, onClick: r }, /* @__PURE__ */ s.createElement(Le, { icon: "close-line" }));
|
|
13091
|
+
}), x1 = (e) => /* @__PURE__ */ s.createElement(gE, { open: e.open, onOpen: e.onOpen, onClose: e.onClose }, /* @__PURE__ */ s.createElement(vE, { className: ec.wrapper }, /* @__PURE__ */ s.createElement(yE, null), e.children)), bE = "_wrapper_1wvfc_1", _E = {
|
|
13096
13092
|
wrapper: bE
|
|
13097
13093
|
}, wE = (e) => /* @__PURE__ */ s.createElement("tr", { className: _E.wrapper }, e.children), FE = {}, tc = s.createContext(FE), kE = tc.Provider, nc = s.createContext({}), LE = nc.Provider, xE = "_wrapper_1amb6_1", EE = {
|
|
13098
13094
|
wrapper: xE
|