@theroutingcompany/components 0.0.24-alpha.3 → 0.0.24-alpha.4
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 +5 -4
- package/dist/trc-components.es.js +8 -8
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +5 -2
- 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
package/README.md
CHANGED
|
@@ -4,14 +4,15 @@ View the [StoryBook](https://6392297e45ccab79e466ee19-iytnzjepcr.chromatic.com/)
|
|
|
4
4
|
|
|
5
5
|
## Publishing
|
|
6
6
|
|
|
7
|
-
First double check if everything that needs to exported is added to the `components/index.js` or `helpers/index.js
|
|
7
|
+
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.
|
|
8
8
|
|
|
9
9
|
### Public
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
2. `npm
|
|
11
|
+
0. Get an approval on the relevant PR.
|
|
12
|
+
2. Bump version number `npm version patch --no-git-tag-version`
|
|
13
|
+
3. `npm publish --access public`.
|
|
13
14
|
* Usually adding `--dry-run` first is a good idea for double checking if the version number is correct.
|
|
14
|
-
|
|
15
|
+
4. Enter the 2FA code for npm
|
|
15
16
|
|
|
16
17
|
### Prerelease
|
|
17
18
|
|
|
@@ -10811,6 +10811,8 @@ const a3 = Rb, i3 = Q7, s3 = t3, l3 = r3, c3 = o3, d3 = Me`
|
|
|
10811
10811
|
}
|
|
10812
10812
|
}
|
|
10813
10813
|
`, CA = A(Ul)`
|
|
10814
|
+
display: flex;
|
|
10815
|
+
column-gap: ${m.spacing_200};
|
|
10814
10816
|
font-family: ${m.font_family_sans};
|
|
10815
10817
|
font-size: ${m.font_size_100};
|
|
10816
10818
|
font-style: normal;
|
|
@@ -10831,14 +10833,11 @@ const a3 = Rb, i3 = Q7, s3 = t3, l3 = r3, c3 = o3, d3 = Me`
|
|
|
10831
10833
|
medium: 540,
|
|
10832
10834
|
large: 900
|
|
10833
10835
|
};
|
|
10834
|
-
function RA({ children: e, size: t = "medium" }) {
|
|
10835
|
-
const
|
|
10836
|
-
return /* @__PURE__ */ S(Vl, { style: { "--drawer-width":
|
|
10836
|
+
function RA({ children: e, size: t = "medium", ...r }) {
|
|
10837
|
+
const n = m3[t];
|
|
10838
|
+
return /* @__PURE__ */ S(Vl, { ...r, style: { "--drawer-width": n }, children: /* @__PURE__ */ S(f3, { onInteractOutside: (o) => o.preventDefault(), children: e }) });
|
|
10837
10839
|
}
|
|
10838
|
-
const IA = (
|
|
10839
|
-
children: e,
|
|
10840
|
-
...t
|
|
10841
|
-
}) => /* @__PURE__ */ S(a3, { ...t, children: e }), AA = A(i3)`
|
|
10840
|
+
const IA = a3, AA = A(i3)`
|
|
10842
10841
|
padding-top: 12px;
|
|
10843
10842
|
border-bottom: 1px solid ${m.color_divider_standard};
|
|
10844
10843
|
|
|
@@ -10859,7 +10858,8 @@ const IA = ({
|
|
|
10859
10858
|
padding: 10px;
|
|
10860
10859
|
line-height: 0;
|
|
10861
10860
|
|
|
10862
|
-
transition: background-color 200ms ease-out,
|
|
10861
|
+
transition: background-color 200ms ease-out,
|
|
10862
|
+
transform 300ms cubic-bezier(0.87, 0, 0.13, 1);
|
|
10863
10863
|
|
|
10864
10864
|
box-shadow: var(--icon-elevation, none);
|
|
10865
10865
|
background: var(
|