@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.
@@ -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
  & > * {