@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/esm/index.js
CHANGED
|
@@ -1416,7 +1416,6 @@ import { useCallback as useCallback3, useLayoutEffect, useRef as useRef2, useSta
|
|
|
1416
1416
|
// ../vuu-popups/src/popup/getPositionRelativeToAnchor.ts
|
|
1417
1417
|
var getPositionRelativeToAnchor = (anchorElement, placement, offsetLeft, offsetTop, minWidth, dimensions) => {
|
|
1418
1418
|
const { bottom, height, left, right, top, width } = anchorElement.getBoundingClientRect();
|
|
1419
|
-
console.log({ top });
|
|
1420
1419
|
switch (placement) {
|
|
1421
1420
|
case "below":
|
|
1422
1421
|
return { left: left + offsetLeft, top: bottom + offsetTop };
|
|
@@ -3102,8 +3101,8 @@ var ThemeSwitch = ({
|
|
|
3102
3101
|
onChange: handleChangeSecondary,
|
|
3103
3102
|
value: mode,
|
|
3104
3103
|
children: [
|
|
3105
|
-
/* @__PURE__ */ jsx27(ToggleButton, { "aria-label": "alert", "data-icon": "light", value: "
|
|
3106
|
-
/* @__PURE__ */ jsx27(ToggleButton, { "aria-label": "home", "data-icon": "dark", value: "
|
|
3104
|
+
/* @__PURE__ */ jsx27(ToggleButton, { "aria-label": "alert", "data-icon": "light", value: "light" }),
|
|
3105
|
+
/* @__PURE__ */ jsx27(ToggleButton, { "aria-label": "home", "data-icon": "dark", value: "dark" })
|
|
3107
3106
|
]
|
|
3108
3107
|
}
|
|
3109
3108
|
);
|