@movable/ui 0.2.0-alpha.4 → 0.2.0
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 +0 -20
- package/package.json +2 -3
- package/lib/components/Header/HeaderMetadata.d.ts +0 -6
- package/lib/components/Header/InkPageHeader.d.ts +0 -20
- package/lib/components/Header/LinkBreadcrumbs.d.ts +0 -6
- package/lib/components/Header/TabsWithRouter.d.ts +0 -9
- package/lib/components/Header/index.d.ts +0 -4
- package/lib/components/index.d.ts +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.mjs +0 -34157
- package/lib/index.mjs.map +0 -1
- package/lib/theme.d.ts +0 -127
package/README.md
CHANGED
|
@@ -31,26 +31,6 @@ This repo contains the shared components for our frontend applications. Using th
|
|
|
31
31
|
}
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
#### Inside Studio
|
|
35
|
-
|
|
36
|
-
1. `cd ../path_to/ui`
|
|
37
|
-
2. `yarn link`
|
|
38
|
-
3. `cd ../path_to/front-end/packages/studio`
|
|
39
|
-
4. `yarn link ../path_to/ui`
|
|
40
|
-
|
|
41
|
-
Example:
|
|
42
|
-
|
|
43
|
-
```
|
|
44
|
-
yarn link ~/github/movableink/ui
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
To remove the symlink use:
|
|
48
|
-
|
|
49
|
-
1. `cd ../path_to/ui`
|
|
50
|
-
2. `yarn unlink`
|
|
51
|
-
3. `cd ../path_to/front-end/packages/studio`
|
|
52
|
-
4. `yarn unlink ../path_to/ui`
|
|
53
|
-
|
|
54
34
|
## Conventional Commits
|
|
55
35
|
|
|
56
36
|
This repo has [conventional-commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) We lint for this both pre-commit and on PR actions. It is **required** and will not pass without it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/ui",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
|
|
5
5
|
"module": "lib/index.mjs",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dev": "vite",
|
|
12
12
|
"test": "cypress open -C ./cypress/tsconfig.json",
|
|
13
13
|
"build": "tsc && vite build",
|
|
14
|
-
"lint": "eslint
|
|
14
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
15
15
|
"prepare": "husky install",
|
|
16
16
|
"storybook": "storybook dev -p 6006",
|
|
17
17
|
"build-storybook": "storybook build"
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"postcss": "^8.4.27",
|
|
62
62
|
"react": "^18.2.0",
|
|
63
63
|
"react-dom": "^18.2.0",
|
|
64
|
-
"react-router-dom": "^6.20.0",
|
|
65
64
|
"release-it": "^16.1.3",
|
|
66
65
|
"storybook": "^7.5.1",
|
|
67
66
|
"typescript": "^5.0.2",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type HeaderMetadata = {
|
|
3
|
-
icon: string;
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
};
|
|
7
|
-
export type HeaderLink = {
|
|
8
|
-
label: string;
|
|
9
|
-
path?: string;
|
|
10
|
-
};
|
|
11
|
-
type InkPageHeaderProps = {
|
|
12
|
-
breadcrumbs?: HeaderLink[];
|
|
13
|
-
subtitle?: string;
|
|
14
|
-
metadata?: HeaderMetadata[];
|
|
15
|
-
ButtonGroup?: JSX.Element;
|
|
16
|
-
Chips?: JSX.Element;
|
|
17
|
-
Tabs?: JSX.Element;
|
|
18
|
-
};
|
|
19
|
-
export declare function InkPageHeader({ breadcrumbs, subtitle, metadata, Chips, ButtonGroup, Tabs, }: InkPageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HeaderMetadata, LinkBreadcrumbs, InkPageHeader, TabsWithRouter, } from "./Header";
|
package/lib/index.d.ts
DELETED