@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.
- package/README.md +16 -9
- 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/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
- package/types/components/Drawer/Drawer.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theroutingcompany/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"description": "The Routing Company Components",
|
|
5
5
|
"main": "./dist/trc-components.umd.js",
|
|
6
6
|
"module": "./dist/trc-components.es.js",
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
"types"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
+
"ready:prerelease": "./scripts/prerelease.sh",
|
|
25
|
+
"ready:release": "./scripts/release.sh",
|
|
24
26
|
"prepublish": "npm run build",
|
|
25
27
|
"format": "prettier ./src/**/*.{ts,tsx} --write --no-config",
|
|
26
28
|
"clean": "rimraf ./dist ./types",
|
|
@@ -28,6 +30,8 @@
|
|
|
28
30
|
"build-storybook": "storybook build",
|
|
29
31
|
"lint": "eslint --cache src",
|
|
30
32
|
"lint:css": "stylelint src/components/**/*.{tsx,ts}",
|
|
33
|
+
"dev": "vite build --watch",
|
|
34
|
+
"start": "vite build --watch",
|
|
31
35
|
"build:types": "tsc --incremental",
|
|
32
36
|
"build:components": "vite build",
|
|
33
37
|
"build": "npm run clean && npm run build:components && npm run build:types",
|
|
@@ -8,8 +8,9 @@ export declare const DrawerCloseButton: () => JSX.Element;
|
|
|
8
8
|
export declare const DrawerDescription: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Dialog.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
9
9
|
export declare const DrawerSectionTitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
10
10
|
declare const widths: {
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
11
|
+
readonly small: "20vw";
|
|
12
|
+
readonly medium: "40vw";
|
|
13
|
+
readonly large: "60vw";
|
|
13
14
|
};
|
|
14
15
|
export type DrawerSize = keyof typeof widths;
|
|
15
16
|
type DrawerProps = PropsWithChildren<{
|