@sanity/ui 2.13.4 → 2.14.0
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/_chunks-cjs/_visual-editing.js +25 -2
- package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-es/_visual-editing.mjs +25 -2
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/_legacy/_visual-editing.esm.js +25 -2
- package/dist/_legacy/_visual-editing.esm.js.map +1 -1
- package/dist/_visual-editing.d.mts +7 -0
- package/dist/_visual-editing.d.ts +7 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/core/components/toast/styles.ts +3 -0
- package/src/core/components/toast/toastProvider.tsx +6 -0
- package/src/core/constants.ts +7 -0
- package/src/core/primitives/popover/popover.tsx +18 -1
|
@@ -526,6 +526,13 @@ declare interface PopoverProps
|
|
|
526
526
|
* @defaultValue false
|
|
527
527
|
*/
|
|
528
528
|
matchReferenceWidth?: boolean
|
|
529
|
+
/**
|
|
530
|
+
* When true, blocks all pointer interaction with elements beneath the popover until closed.
|
|
531
|
+
*
|
|
532
|
+
* @beta
|
|
533
|
+
* @defaultValue false
|
|
534
|
+
*/
|
|
535
|
+
modal?: boolean
|
|
529
536
|
open?: boolean
|
|
530
537
|
overflow?: BoxOverflow
|
|
531
538
|
padding?: number | number[]
|
|
@@ -526,6 +526,13 @@ declare interface PopoverProps
|
|
|
526
526
|
* @defaultValue false
|
|
527
527
|
*/
|
|
528
528
|
matchReferenceWidth?: boolean
|
|
529
|
+
/**
|
|
530
|
+
* When true, blocks all pointer interaction with elements beneath the popover until closed.
|
|
531
|
+
*
|
|
532
|
+
* @beta
|
|
533
|
+
* @defaultValue false
|
|
534
|
+
*/
|
|
535
|
+
modal?: boolean
|
|
529
536
|
open?: boolean
|
|
530
537
|
overflow?: BoxOverflow
|
|
531
538
|
padding?: number | number[]
|
package/dist/index.d.mts
CHANGED
|
@@ -1585,6 +1585,13 @@ export declare interface PopoverProps
|
|
|
1585
1585
|
* @defaultValue false
|
|
1586
1586
|
*/
|
|
1587
1587
|
matchReferenceWidth?: boolean
|
|
1588
|
+
/**
|
|
1589
|
+
* When true, blocks all pointer interaction with elements beneath the popover until closed.
|
|
1590
|
+
*
|
|
1591
|
+
* @beta
|
|
1592
|
+
* @defaultValue false
|
|
1593
|
+
*/
|
|
1594
|
+
modal?: boolean
|
|
1588
1595
|
open?: boolean
|
|
1589
1596
|
overflow?: BoxOverflow
|
|
1590
1597
|
padding?: number | number[]
|
package/dist/index.d.ts
CHANGED
|
@@ -1585,6 +1585,13 @@ export declare interface PopoverProps
|
|
|
1585
1585
|
* @defaultValue false
|
|
1586
1586
|
*/
|
|
1587
1587
|
matchReferenceWidth?: boolean
|
|
1588
|
+
/**
|
|
1589
|
+
* When true, blocks all pointer interaction with elements beneath the popover until closed.
|
|
1590
|
+
*
|
|
1591
|
+
* @beta
|
|
1592
|
+
* @defaultValue false
|
|
1593
|
+
*/
|
|
1594
|
+
modal?: boolean
|
|
1588
1595
|
open?: boolean
|
|
1589
1596
|
overflow?: BoxOverflow
|
|
1590
1597
|
padding?: number | number[]
|
package/dist/index.esm.js
CHANGED
|
@@ -942,6 +942,9 @@ function rootStyles(props) {
|
|
|
942
942
|
animation-name: ${loadingAnimation};
|
|
943
943
|
animation-duration: ${props.$duration}ms;
|
|
944
944
|
animation-fill-mode: both;
|
|
945
|
+
animation-timing-function: linear;
|
|
946
|
+
opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
|
|
947
|
+
will-change: width;
|
|
945
948
|
}
|
|
946
949
|
|
|
947
950
|
& > * {
|