@@ -158,13 +158,13 @@ export interface BoxProps {
158158  /** Position of box */ 
159159  position ?: Position ; 
160160  /** Top position of box */ 
161-   top ?: Spacing ; 
161+   insetBlockStart ?: Spacing ; 
162162  /** Bottom position of box */ 
163-   right ?: Spacing ; 
163+   insetBlockEnd ?: Spacing ; 
164164  /** Left position of box */ 
165-   bottom ?: Spacing ; 
165+   insetInlineStart ?: Spacing ; 
166166  /** Right position of box */ 
167-   left ?: Spacing ; 
167+   insetInlineEnd ?: Spacing ; 
168168  /** Opacity of box */ 
169169  opacity ?: string ; 
170170  /** Visually hide the contents (still announced by screenreader) */ 
@@ -210,10 +210,10 @@ export const Box = forwardRef<HTMLElement, BoxProps>(
210210      width, 
211211      visuallyHidden, 
212212      position, 
213-       top , 
214-       right , 
215-       bottom , 
216-       left , 
213+       insetBlockStart , 
214+       insetBlockEnd , 
215+       insetInlineStart , 
216+       insetInlineEnd , 
217217      zIndex, 
218218      opacity, 
219219    } , 
@@ -298,10 +298,18 @@ export const Box = forwardRef<HTMLElement, BoxProps>(
298298      '--pc-box-shadow' : shadow  ? `var(--p-shadow-${ shadow }   : undefined , 
299299      '--pc-box-width' : width , 
300300      position, 
301-       '--pc-box-top' : top  ? `var(--p-space-${ top }   : undefined , 
302-       '--pc-box-right' : right  ? `var(--p-space-${ right }   : undefined , 
303-       '--pc-box-bottom' : bottom  ? `var(--p-space-${ bottom }   : undefined , 
304-       '--pc-box-left' : left  ? `var(--p-space-${ left }   : undefined , 
301+       '--pc-box-inset-block-start' : insetBlockStart 
302+         ? `var(--p-space-${ insetBlockStart }  
303+         : undefined , 
304+       '--pc-box-inset-block-end' : insetBlockEnd 
305+         ? `var(--p-space-${ insetBlockEnd }  
306+         : undefined , 
307+       '--pc-box-inset-inline-start' : insetInlineStart 
308+         ? `var(--p-space-${ insetInlineStart }  
309+         : undefined , 
310+       '--pc-box-inset-inline-end' : insetInlineEnd 
311+         ? `var(--p-space-${ insetInlineEnd }  
312+         : undefined , 
305313      zIndex, 
306314      opacity, 
307315    }  as  React . CSSProperties ; 
0 commit comments