@northlight/ui 2.27.1 → 2.27.2
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/es/northlight.d.ts +12 -8
- package/dist/es/northlight.js +8 -6
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +8 -6
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +2 -2
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -8258,7 +8258,8 @@
|
|
|
8258
8258
|
size = "sm",
|
|
8259
8259
|
onClose,
|
|
8260
8260
|
autoFocus = true,
|
|
8261
|
-
resizeLimit = "full"
|
|
8261
|
+
resizeLimit = "full",
|
|
8262
|
+
zIndex = tokens.coreZIndex.overlay
|
|
8262
8263
|
} = _b, rest = __objRest$$(_b, [
|
|
8263
8264
|
"isResizable",
|
|
8264
8265
|
"isOpen",
|
|
@@ -8268,7 +8269,8 @@
|
|
|
8268
8269
|
"size",
|
|
8269
8270
|
"onClose",
|
|
8270
8271
|
"autoFocus",
|
|
8271
|
-
"resizeLimit"
|
|
8272
|
+
"resizeLimit",
|
|
8273
|
+
"zIndex"
|
|
8272
8274
|
]);
|
|
8273
8275
|
const { container } = system.useMultiStyleConfig("Toolbox", { size });
|
|
8274
8276
|
const newChildren = getChildrenWithProps(
|
|
@@ -8309,7 +8311,7 @@
|
|
|
8309
8311
|
style: {
|
|
8310
8312
|
height: container.h,
|
|
8311
8313
|
width: adjustableWidth,
|
|
8312
|
-
zIndex
|
|
8314
|
+
zIndex
|
|
8313
8315
|
}
|
|
8314
8316
|
},
|
|
8315
8317
|
/* @__PURE__ */ React.createElement(
|
|
@@ -13851,7 +13853,7 @@
|
|
|
13851
13853
|
return target;
|
|
13852
13854
|
};
|
|
13853
13855
|
const { Option: ChakraOption } = chakraReactSelect.chakraComponents;
|
|
13854
|
-
const
|
|
13856
|
+
const getCustomComponents = () => ({
|
|
13855
13857
|
Option: (_a) => {
|
|
13856
13858
|
var _b = _a, { children } = _b, props = __objRest$1(_b, ["children"]);
|
|
13857
13859
|
return /* @__PURE__ */ React.createElement(ChakraOption, __spreadValues$1({}, props), props.data.isCreation && /* @__PURE__ */ React.createElement(
|
|
@@ -13873,7 +13875,7 @@
|
|
|
13873
13875
|
children
|
|
13874
13876
|
));
|
|
13875
13877
|
}
|
|
13876
|
-
};
|
|
13878
|
+
});
|
|
13877
13879
|
|
|
13878
13880
|
var __defProp = Object.defineProperty;
|
|
13879
13881
|
var __defProps = Object.defineProperties;
|
|
@@ -14042,7 +14044,7 @@
|
|
|
14042
14044
|
color: "black"
|
|
14043
14045
|
})
|
|
14044
14046
|
}),
|
|
14045
|
-
components:
|
|
14047
|
+
components: getCustomComponents(),
|
|
14046
14048
|
options: customOptions,
|
|
14047
14049
|
value: selectedOption,
|
|
14048
14050
|
onChange: handleChange,
|