@movable/ui 0.0.0 → 0.1.0-alpha.1
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/.github/workflows/release-it.yml +44 -0
- package/CHANGELOG.md +8 -0
- package/lib/index.d.ts +59 -1
- package/lib/index.esm.js +3546 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3546 -0
- package/lib/index.js.map +1 -1
- package/package.json +8 -1
- package/src/index.ts +2 -1
- package/src/theme.ts +252 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
increment:
|
|
7
|
+
description: Override Default Version Increment
|
|
8
|
+
required: false
|
|
9
|
+
default: ''
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
release:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0 # Necessary to generate changelog from commit history
|
|
18
|
+
- uses: volta-cli/action@v1
|
|
19
|
+
|
|
20
|
+
- name: git config
|
|
21
|
+
run: |
|
|
22
|
+
git config user.name "${GITHUB_ACTOR}"
|
|
23
|
+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
|
24
|
+
|
|
25
|
+
- name: Get yarn cache directory path
|
|
26
|
+
id: yarn-cache-dir-path
|
|
27
|
+
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
|
|
28
|
+
- uses: actions/cache@v2
|
|
29
|
+
with:
|
|
30
|
+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
31
|
+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
32
|
+
restore-keys: |
|
|
33
|
+
${{ runner.os }}-yarn-
|
|
34
|
+
|
|
35
|
+
- run: yarn install --immutable
|
|
36
|
+
|
|
37
|
+
- name: Configure NPM with auth token
|
|
38
|
+
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
|
|
39
|
+
env:
|
|
40
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
41
|
+
|
|
42
|
+
- run: yarn release ${{ github.event.inputs.increment }}
|
|
43
|
+
env:
|
|
44
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/CHANGELOG.md
ADDED
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import * as _mui_material_styles from '@mui/material/styles';
|
|
2
3
|
|
|
3
4
|
declare function Button(): React.JSX.Element;
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
declare module '@mui/material/styles' {
|
|
7
|
+
interface PaletteColor {
|
|
8
|
+
selected?: string;
|
|
9
|
+
}
|
|
10
|
+
interface Palette {
|
|
11
|
+
focusVisible: string;
|
|
12
|
+
neutral50: string;
|
|
13
|
+
neutral100: string;
|
|
14
|
+
neutral200: string;
|
|
15
|
+
neutral300: string;
|
|
16
|
+
neutral400: string;
|
|
17
|
+
neutral500: string;
|
|
18
|
+
neutral600: string;
|
|
19
|
+
neutral700: string;
|
|
20
|
+
neutral800: string;
|
|
21
|
+
neutral900: string;
|
|
22
|
+
neutralA100: string;
|
|
23
|
+
neutralA200: string;
|
|
24
|
+
neutralA400: string;
|
|
25
|
+
neutralA700: string;
|
|
26
|
+
blue50: string;
|
|
27
|
+
blue100: string;
|
|
28
|
+
blue200: string;
|
|
29
|
+
blue300: string;
|
|
30
|
+
blue400: string;
|
|
31
|
+
blue500: string;
|
|
32
|
+
blue600: string;
|
|
33
|
+
blue700: string;
|
|
34
|
+
blue800: string;
|
|
35
|
+
blue900: string;
|
|
36
|
+
}
|
|
37
|
+
interface PalletteOptions {
|
|
38
|
+
focusVisible: string;
|
|
39
|
+
neutral50: string;
|
|
40
|
+
neutral100: string;
|
|
41
|
+
neutral200: string;
|
|
42
|
+
neutral300: string;
|
|
43
|
+
neutral400: string;
|
|
44
|
+
neutral500: string;
|
|
45
|
+
neutral600: string;
|
|
46
|
+
neutral700: string;
|
|
47
|
+
neutral800: string;
|
|
48
|
+
neutral900: string;
|
|
49
|
+
neutralA100: string;
|
|
50
|
+
neutralA200: string;
|
|
51
|
+
neutralA400: string;
|
|
52
|
+
neutralA700: string;
|
|
53
|
+
blue50: string;
|
|
54
|
+
blue100: string;
|
|
55
|
+
blue200: string;
|
|
56
|
+
blue300: string;
|
|
57
|
+
blue400: string;
|
|
58
|
+
blue500: string;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
declare const theme: _mui_material_styles.Theme;
|
|
62
|
+
|
|
63
|
+
export { Button, theme as MovableUITheme };
|