@sanity/ui 2.0.0-alpha.24 → 2.0.0-alpha.25
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/index.esm.js +12 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/primitives/tooltip/constants.ts +12 -12
package/dist/index.esm.js
CHANGED
|
@@ -7814,18 +7814,18 @@ function useDelayedState(initialState) {
|
|
|
7814
7814
|
const DEFAULT_TOOLTIP_DISTANCE = 4;
|
|
7815
7815
|
const DEFAULT_TOOLTIP_PADDING = 4;
|
|
7816
7816
|
const DEFAULT_FALLBACK_PLACEMENTS = {
|
|
7817
|
-
top: ["bottom", "left", "right"],
|
|
7818
|
-
"top-start": ["bottom-start", "left-start", "right-start"],
|
|
7819
|
-
"top-end": ["bottom-end", "left-end", "right-end"],
|
|
7820
|
-
bottom: ["top", "left", "right"],
|
|
7821
|
-
"bottom-start": ["top-start", "left-start", "right-start"],
|
|
7822
|
-
"bottom-end": ["top-end", "left-end", "right-end"],
|
|
7823
|
-
left: ["right", "top", "bottom"],
|
|
7824
|
-
"left-start": ["right-start", "top-start", "bottom-start"],
|
|
7825
|
-
"left-end": ["right-end", "top-end", "bottom-end"],
|
|
7826
|
-
right: ["left", "top", "bottom"],
|
|
7827
|
-
"right-start": ["left-start", "top-start", "bottom-start"],
|
|
7828
|
-
"right-end": ["left-end", "top-end", "bottom-end"]
|
|
7817
|
+
top: ["top-end", "top-start", "bottom", "left", "right"],
|
|
7818
|
+
"top-start": ["top", "top-end", "bottom-start", "left-start", "right-start"],
|
|
7819
|
+
"top-end": ["top", "top-start", "bottom-end", "left-end", "right-end"],
|
|
7820
|
+
bottom: ["bottom-end", "bottom-start", "top", "left", "right"],
|
|
7821
|
+
"bottom-start": ["bottom", "bottom-end", "top-start", "left-start", "right-start"],
|
|
7822
|
+
"bottom-end": ["bottom", "bottom-start", "top-end", "left-end", "right-end"],
|
|
7823
|
+
left: ["left-end", "left-start", "right", "top", "bottom"],
|
|
7824
|
+
"left-start": ["left", "left-end", "right-start", "top-start", "bottom-start"],
|
|
7825
|
+
"left-end": ["left", "left-start", "right-end", "top-end", "bottom-end"],
|
|
7826
|
+
right: ["right-end", "right-start", "left", "top", "bottom"],
|
|
7827
|
+
"right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
|
|
7828
|
+
"right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
|
|
7829
7829
|
};
|
|
7830
7830
|
var __freeze$f = Object.freeze;
|
|
7831
7831
|
var __defProp$f = Object.defineProperty;
|