@vuu-ui/vuu-shell 0.8.23-debug → 0.8.24-debug
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/cjs/index.js +2 -3
- package/cjs/index.js.map +2 -2
- package/esm/index.js +2 -3
- package/esm/index.js.map +2 -2
- package/index.css +1 -28
- package/index.css.map +2 -2
- package/package.json +11 -10
package/cjs/index.js
CHANGED
|
@@ -1461,7 +1461,6 @@ var import_react8 = require("react");
|
|
|
1461
1461
|
// ../vuu-popups/src/popup/getPositionRelativeToAnchor.ts
|
|
1462
1462
|
var getPositionRelativeToAnchor = (anchorElement, placement, offsetLeft, offsetTop, minWidth, dimensions) => {
|
|
1463
1463
|
const { bottom, height, left, right, top, width } = anchorElement.getBoundingClientRect();
|
|
1464
|
-
console.log({ top });
|
|
1465
1464
|
switch (placement) {
|
|
1466
1465
|
case "below":
|
|
1467
1466
|
return { left: left + offsetLeft, top: bottom + offsetTop };
|
|
@@ -3113,8 +3112,8 @@ var ThemeSwitch = ({
|
|
|
3113
3112
|
onChange: handleChangeSecondary,
|
|
3114
3113
|
value: mode,
|
|
3115
3114
|
children: [
|
|
3116
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_core7.ToggleButton, { "aria-label": "alert", "data-icon": "light", value: "
|
|
3117
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_core7.ToggleButton, { "aria-label": "home", "data-icon": "dark", value: "
|
|
3115
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_core7.ToggleButton, { "aria-label": "alert", "data-icon": "light", value: "light" }),
|
|
3116
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_core7.ToggleButton, { "aria-label": "home", "data-icon": "dark", value: "dark" })
|
|
3118
3117
|
]
|
|
3119
3118
|
}
|
|
3120
3119
|
);
|