@sanity/ui 2.0.0-beta.16 → 2.0.0-beta.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ui",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.18",
4
4
  "sideEffects": false,
5
5
  "types": "./dist/index.d.ts",
6
6
  "source": "./exports/index.ts",
@@ -394,6 +394,7 @@ export const Dialog = forwardRef(function Dialog(
394
394
  <Portal __unstable_name={portalProp}>
395
395
  <Root
396
396
  {...restProps}
397
+ $animate={animate}
397
398
  $padding={padding}
398
399
  $position={position}
399
400
  aria-labelledby={labelId}
@@ -406,7 +407,6 @@ export const Dialog = forwardRef(function Dialog(
406
407
  ref={ref}
407
408
  role="dialog"
408
409
  zOffset={zOffset}
409
- animate={animate}
410
410
  >
411
411
  <div ref={preDivRef} tabIndex={0} />
412
412
  <DialogCard
@@ -41,11 +41,11 @@ export function responsiveDialogPositionStyle(
41
41
  * @internal
42
42
  */
43
43
  export interface AnimationDialogStyleProps {
44
- animate: boolean
44
+ $animate: boolean
45
45
  }
46
46
 
47
47
  export function animationDialogStyle(props: AnimationDialogStyleProps): ReturnType<typeof css> {
48
- if (!props.animate) return css``
48
+ if (!props.$animate) return css``
49
49
 
50
50
  return css`
51
51
  @keyframes zoomIn {
@@ -46,6 +46,10 @@ export function headingBaseStyle(props: HeadingStyleProps & ThemeProps): ReturnT
46
46
  }
47
47
  }
48
48
 
49
+ & strong {
50
+ font-weight: ${font.heading.weights.bold};
51
+ }
52
+
49
53
  & svg {
50
54
  /* Certain popular CSS libraries changes the defaults for SVG display */
51
55
  /* Make sure SVGs are rendered as inline elements */