@theroutingcompany/components 0.0.24-alpha.6 → 0.0.25-alpha.6
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 +4 -0
- package/dist/trc-components.es.js +12 -4
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +2 -2
- package/dist/trc-components.umd.js.map +1 -1
- package/package.json +5 -1
- package/types/components/Drawer/Drawer.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
View the [StoryBook](https://6392297e45ccab79e466ee19-iytnzjepcr.chromatic.com/).
|
|
4
4
|
|
|
5
|
+
## Developing Locally
|
|
6
|
+
|
|
7
|
+
Clone the dashboard repo at the same level as this one. Then run `npm link ../component-library` from the dashboard repo. Then run `npm run dev` from the component library repo. This will make hot module reloading within dash work with the changes you make to the component files.
|
|
8
|
+
|
|
5
9
|
## Publishing
|
|
6
10
|
|
|
7
11
|
First double check if everything that needs to exported is added to the `components/index.js` or `helpers/index.js` and run `npm run build` before.
|
|
@@ -10787,7 +10787,7 @@ const a3 = Rb, i3 = Q7, s3 = t3, l3 = r3, c3 = o3, d3 = Me`
|
|
|
10787
10787
|
letter-spacing: ${m.letter_spacing_body_medium};
|
|
10788
10788
|
color: black; /* Static/Text/Primary/Default */
|
|
10789
10789
|
`, TA = () => /* @__PURE__ */ S(ro, { asChild: !0, children: /* @__PURE__ */ S(Yn, { label: "Close drawer", variant: "inverse", children: /* @__PURE__ */ S(lp, {}) }) }), f3 = A(jl)`
|
|
10790
|
-
width:
|
|
10790
|
+
${({ width: e }) => e && `width: ${e};`}
|
|
10791
10791
|
z-index: 3;
|
|
10792
10792
|
background-color: white;
|
|
10793
10793
|
padding: 24px;
|
|
@@ -10829,12 +10829,20 @@ const a3 = Rb, i3 = Q7, s3 = t3, l3 = r3, c3 = o3, d3 = Me`
|
|
|
10829
10829
|
letter-spacing: ${m.letter_spacing_body_medium};
|
|
10830
10830
|
color: black; /* Static/Text/Primary/Default */
|
|
10831
10831
|
`, m3 = {
|
|
10832
|
-
|
|
10833
|
-
|
|
10832
|
+
small: "20vw",
|
|
10833
|
+
medium: "40vw",
|
|
10834
|
+
large: "60vw"
|
|
10834
10835
|
};
|
|
10835
10836
|
function RA({ children: e, size: t = "medium", ...r }) {
|
|
10836
10837
|
const n = m3[t];
|
|
10837
|
-
return /* @__PURE__ */ S(Vl, { ...r,
|
|
10838
|
+
return /* @__PURE__ */ S(Vl, { ...r, children: /* @__PURE__ */ S(
|
|
10839
|
+
f3,
|
|
10840
|
+
{
|
|
10841
|
+
width: n,
|
|
10842
|
+
onInteractOutside: (o) => o.preventDefault(),
|
|
10843
|
+
children: e
|
|
10844
|
+
}
|
|
10845
|
+
) });
|
|
10838
10846
|
}
|
|
10839
10847
|
const IA = a3, AA = A(i3)`
|
|
10840
10848
|
padding-top: 12px;
|