@theroutingcompany/components 0.0.24 → 0.0.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.
@@ -869,7 +869,7 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
869
869
  letter-spacing: ${b.letter_spacing_body_medium};
870
870
  color: black; /* Static/Text/Primary/Default */
871
871
  `,XS=()=>P(pn,{asChild:!0,children:P(Vr,{label:"Close drawer",variant:"inverse",children:P(xe.Close,{})})}),QS=k(Di)`
872
- width: var(--drawer-width);
872
+ ${({width:e})=>e&&`width: ${e};`}
873
873
  z-index: 3;
874
874
  background-color: white;
875
875
  padding: 24px;
@@ -910,7 +910,7 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
910
910
  line-height: ${b.line_height_129};
911
911
  letter-spacing: ${b.letter_spacing_body_medium};
912
912
  color: black; /* Static/Text/Primary/Default */
913
- `,t7={medium:540,large:900};function r7({children:e,size:t="medium",...r}){const n=t7[t];return P(wi,{...r,style:{"--drawer-width":n},children:P(QS,{onInteractOutside:o=>o.preventDefault(),children:e})})}const n7=jS,o7=k(BS)`
913
+ `,t7={small:"20vw",medium:"40vw",large:"60vw"};function r7({children:e,size:t="medium",...r}){const n=t7[t];return P(wi,{...r,children:P(QS,{width:n,onInteractOutside:o=>o.preventDefault(),children:e})})}const n7=jS,o7=k(BS)`
914
914
  padding-top: 12px;
915
915
  border-bottom: 1px solid ${b.color_divider_standard};
916
916