@northlight/ui 2.24.3 → 2.24.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/umd/northlight.cjs
CHANGED
|
@@ -2392,7 +2392,7 @@
|
|
|
2392
2392
|
}
|
|
2393
2393
|
return a;
|
|
2394
2394
|
};
|
|
2395
|
-
const Popover = (props) => /* @__PURE__ */ React.createElement(react.Popover, __spreadValues$1P({ isLazy: true }, props));
|
|
2395
|
+
const Popover$1 = (props) => /* @__PURE__ */ React.createElement(react.Popover, __spreadValues$1P({ isLazy: true }, props));
|
|
2396
2396
|
|
|
2397
2397
|
const ColorsExpandButton = ({
|
|
2398
2398
|
onClick,
|
|
@@ -2528,7 +2528,7 @@
|
|
|
2528
2528
|
onChange(color);
|
|
2529
2529
|
};
|
|
2530
2530
|
return /* @__PURE__ */ React.createElement(react.Box, { "data-testid": "color-picker-test-id" }, /* @__PURE__ */ React.createElement(
|
|
2531
|
-
Popover,
|
|
2531
|
+
Popover$1,
|
|
2532
2532
|
__spreadValues$1O({
|
|
2533
2533
|
isOpen,
|
|
2534
2534
|
onClose,
|
|
@@ -5695,6 +5695,15 @@
|
|
|
5695
5695
|
}
|
|
5696
5696
|
};
|
|
5697
5697
|
|
|
5698
|
+
const Popover = {
|
|
5699
|
+
parts: ["popper"],
|
|
5700
|
+
baseStyle: {
|
|
5701
|
+
popper: {
|
|
5702
|
+
zIndex: "popover"
|
|
5703
|
+
}
|
|
5704
|
+
}
|
|
5705
|
+
};
|
|
5706
|
+
|
|
5698
5707
|
var components = /*#__PURE__*/Object.freeze({
|
|
5699
5708
|
__proto__: null,
|
|
5700
5709
|
Alert: Alert,
|
|
@@ -5735,6 +5744,7 @@
|
|
|
5735
5744
|
P: P,
|
|
5736
5745
|
PaneDivider: PaneDivider$1,
|
|
5737
5746
|
PinInput: PinInput$1,
|
|
5747
|
+
Popover: Popover,
|
|
5738
5748
|
Radio: Radio$1,
|
|
5739
5749
|
Select: Select$1,
|
|
5740
5750
|
Small: Small,
|
|
@@ -6653,7 +6663,7 @@
|
|
|
6653
6663
|
);
|
|
6654
6664
|
const togglePopup = () => state.setOpen(!state.isOpen);
|
|
6655
6665
|
return /* @__PURE__ */ React.createElement(
|
|
6656
|
-
Popover,
|
|
6666
|
+
Popover$1,
|
|
6657
6667
|
{
|
|
6658
6668
|
isOpen: state.isOpen,
|
|
6659
6669
|
onClose: () => state.setOpen(false),
|
|
@@ -7206,7 +7216,7 @@
|
|
|
7206
7216
|
state.setOpen(false);
|
|
7207
7217
|
};
|
|
7208
7218
|
return /* @__PURE__ */ React.createElement(
|
|
7209
|
-
Popover,
|
|
7219
|
+
Popover$1,
|
|
7210
7220
|
{
|
|
7211
7221
|
isOpen: state.isOpen,
|
|
7212
7222
|
onClose: handleClose,
|
|
@@ -7239,7 +7249,7 @@
|
|
|
7239
7249
|
icon: /* @__PURE__ */ React.createElement(Icon$1, { as: icons.XCloseSolid })
|
|
7240
7250
|
}
|
|
7241
7251
|
))),
|
|
7242
|
-
state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$d(__spreadValues$1o({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(
|
|
7252
|
+
/* @__PURE__ */ React.createElement(react.Portal, null, state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$d(__spreadValues$1o({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(
|
|
7243
7253
|
RangeCalendar,
|
|
7244
7254
|
__spreadProps$d(__spreadValues$1o({}, calendarProps), {
|
|
7245
7255
|
resetDate,
|
|
@@ -7248,7 +7258,7 @@
|
|
|
7248
7258
|
fiscalStartDay: fiscalStartDay || 0,
|
|
7249
7259
|
isClearable
|
|
7250
7260
|
})
|
|
7251
|
-
)))
|
|
7261
|
+
))))
|
|
7252
7262
|
);
|
|
7253
7263
|
};
|
|
7254
7264
|
|
|
@@ -14693,7 +14703,7 @@
|
|
|
14693
14703
|
exports.PaneDivider = PaneDivider;
|
|
14694
14704
|
exports.PaneItem = PaneItem;
|
|
14695
14705
|
exports.PinInput = PinInput;
|
|
14696
|
-
exports.Popover = Popover;
|
|
14706
|
+
exports.Popover = Popover$1;
|
|
14697
14707
|
exports.ProgressBar = ProgressBar;
|
|
14698
14708
|
exports.Radio = Radio;
|
|
14699
14709
|
exports.RadioGroup = RadioGroup;
|