@theroutingcompany/components 0.0.24-alpha.3 → 0.0.24-alpha.5
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/README.md +9 -7
- package/dist/trc-components.es.js +9 -10
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +6 -4
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Drawer/Drawer.d.ts +3 -3
|
@@ -871,7 +871,6 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
|
|
|
871
871
|
`,XS=()=>P(pn,{asChild:!0,children:P(Vr,{label:"Close drawer",variant:"inverse",children:P(xe.Close,{})})}),QS=k(Di)`
|
|
872
872
|
width: var(--drawer-width);
|
|
873
873
|
z-index: 3;
|
|
874
|
-
width: 540px;
|
|
875
874
|
background-color: white;
|
|
876
875
|
padding: 24px;
|
|
877
876
|
margin: 16px;
|
|
@@ -881,7 +880,7 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
|
|
|
881
880
|
box-shadow: ${b.elevation_static_high};
|
|
882
881
|
border-radius: ${b.border_radius_800};
|
|
883
882
|
scrollbar-gutter: stable;
|
|
884
|
-
overflow:
|
|
883
|
+
overflow-y: auto;
|
|
885
884
|
|
|
886
885
|
@media (prefers-reduced-motion: no-preference) {
|
|
887
886
|
&[data-state='open'] {
|
|
@@ -893,6 +892,8 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
|
|
|
893
892
|
}
|
|
894
893
|
}
|
|
895
894
|
`,e7=k(Pi)`
|
|
895
|
+
display: flex;
|
|
896
|
+
column-gap: ${b.spacing_200};
|
|
896
897
|
font-family: ${b.font_family_sans};
|
|
897
898
|
font-size: ${b.font_size_100};
|
|
898
899
|
font-style: normal;
|
|
@@ -909,7 +910,7 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
|
|
|
909
910
|
line-height: ${b.line_height_129};
|
|
910
911
|
letter-spacing: ${b.letter_spacing_body_medium};
|
|
911
912
|
color: black; /* Static/Text/Primary/Default */
|
|
912
|
-
`,t7={medium:540,large:900};function r7({children:e,size:t="medium"}){const
|
|
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
914
|
padding-top: 12px;
|
|
914
915
|
border-bottom: 1px solid ${b.color_divider_standard};
|
|
915
916
|
|
|
@@ -930,7 +931,8 @@ Check the top-level render call using <`+q+">.")}return U}}function kx(w,U){{if(
|
|
|
930
931
|
padding: 10px;
|
|
931
932
|
line-height: 0;
|
|
932
933
|
|
|
933
|
-
transition: background-color 200ms ease-out,
|
|
934
|
+
transition: background-color 200ms ease-out,
|
|
935
|
+
transform 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
934
936
|
|
|
935
937
|
box-shadow: var(--icon-elevation, none);
|
|
936
938
|
background: var(
|