@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 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-alpha.4",
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 -c .eslintrc.cjs src --report-unused-disable-directives --max-warnings 0",
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,6 +0,0 @@
1
- import { HeaderMetadata } from './InkPageHeader';
2
- type MetaDataProps = {
3
- metadata: HeaderMetadata[];
4
- };
5
- export declare function HeaderMetadata({ metadata }: MetaDataProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -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,6 +0,0 @@
1
- import { HeaderLink } from './InkPageHeader';
2
- type BreadcrumbProps = {
3
- breadcrumbs?: HeaderLink[];
4
- };
5
- export declare function LinkBreadcrumbs({ breadcrumbs }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,9 +0,0 @@
1
- type Route = {
2
- label: string;
3
- to: string;
4
- value: string;
5
- };
6
- export declare function TabsWithRouter({ routes }: {
7
- routes: Route[];
8
- }): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,4 +0,0 @@
1
- export { HeaderMetadata } from './HeaderMetadata';
2
- export { InkPageHeader } from './InkPageHeader';
3
- export { LinkBreadcrumbs } from './LinkBreadcrumbs';
4
- export { TabsWithRouter } from './TabsWithRouter';
@@ -1 +0,0 @@
1
- export { HeaderMetadata, LinkBreadcrumbs, InkPageHeader, TabsWithRouter, } from "./Header";
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { default as MovableUITheme } from "./theme";
2
- export { HeaderMetadata, LinkBreadcrumbs, InkPageHeader, TabsWithRouter, } from "./components";