@partbot/grid-garage 0.1.12 → 0.1.13
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.
|
@@ -8897,6 +8897,10 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8897
8897
|
function L() {
|
|
8898
8898
|
r(null), y(""), x(!0), C(0), p.current?.focus();
|
|
8899
8899
|
}
|
|
8900
|
+
function R(e) {
|
|
8901
|
+
let t = e.target;
|
|
8902
|
+
t instanceof Node && f.current?.contains(t) && e.preventDefault();
|
|
8903
|
+
}
|
|
8900
8904
|
return /* @__PURE__ */ h(hm, { children: /* @__PURE__ */ h(_m, {
|
|
8901
8905
|
"data-disabled": A,
|
|
8902
8906
|
children: /* @__PURE__ */ g(Eo, {
|
|
@@ -8976,6 +8980,7 @@ function xm({ label: e, value: t, options: n, onChange: r, placeholder: i, disab
|
|
|
8976
8980
|
align: "start",
|
|
8977
8981
|
sideOffset: 8,
|
|
8978
8982
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
8983
|
+
onInteractOutside: R,
|
|
8979
8984
|
children: D.map((t, n) => {
|
|
8980
8985
|
let r = String(t.value), i = String(t.refinement) === N;
|
|
8981
8986
|
return /* @__PURE__ */ g("button", {
|
|
@@ -10216,6 +10221,10 @@ function Qm({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, opt
|
|
|
10216
10221
|
function M() {
|
|
10217
10222
|
s(""), v(""), b(!0), S(0), f.current?.focus();
|
|
10218
10223
|
}
|
|
10224
|
+
function N(e) {
|
|
10225
|
+
let t = e.target;
|
|
10226
|
+
t instanceof Node && d.current?.contains(t) && e.preventDefault();
|
|
10227
|
+
}
|
|
10219
10228
|
return /* @__PURE__ */ g("label", {
|
|
10220
10229
|
className: "flex flex-col gap-1.5 text-sm font-medium text-foreground",
|
|
10221
10230
|
children: [t, /* @__PURE__ */ g(Eo, {
|
|
@@ -10301,6 +10310,7 @@ function Qm({ name: e, label: t, ariaLabel: n = t, placeholder: r, value: i, opt
|
|
|
10301
10310
|
align: "start",
|
|
10302
10311
|
sideOffset: 8,
|
|
10303
10312
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
10313
|
+
onInteractOutside: N,
|
|
10304
10314
|
children: [/* @__PURE__ */ g("button", {
|
|
10305
10315
|
type: "button",
|
|
10306
10316
|
role: "option",
|
|
@@ -11292,7 +11302,7 @@ var Oh = r(function(e, t) {
|
|
|
11292
11302
|
portalContainer: f
|
|
11293
11303
|
}), s) : null
|
|
11294
11304
|
});
|
|
11295
|
-
}), kh = "0.1.
|
|
11305
|
+
}), kh = "0.1.13", Ah = new Map([
|
|
11296
11306
|
["show-garage-icon", "showGarageIcon"],
|
|
11297
11307
|
["garage-icon-url", "garageIconUrl"],
|
|
11298
11308
|
["show-branding", "showBranding"],
|