@movable/ui 0.2.0-alpha.3 → 0.2.0-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 +20 -0
- package/lib/components/Header/HeaderMetadata.d.ts +6 -0
- package/lib/components/Header/InkPageHeader.d.ts +20 -0
- package/lib/components/Header/LinkBreadcrumbs.d.ts +6 -0
- package/lib/components/Header/TabsWithRouter.d.ts +9 -0
- package/lib/components/Header/index.d.ts +4 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.mjs +34157 -0
- package/lib/index.mjs.map +1 -0
- package/lib/theme.d.ts +127 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -31,6 +31,26 @@ 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
|
+
|
|
34
54
|
## Conventional Commits
|
|
35
55
|
|
|
36
56
|
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.
|
|
@@ -0,0 +1,20 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HeaderMetadata, LinkBreadcrumbs, InkPageHeader, TabsWithRouter, } from "./Header";
|
package/lib/index.d.ts
ADDED