jamespot-react-components 1.0.0 → 1.0.3
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/deploy-dev-branches.yml +1 -1
- package/.github/workflows/increment-npm-version.yml +26 -0
- package/.github/workflows/npm-package.yml +33 -0
- package/build/jamespot-react-components.js +505 -310
- package/build/jamespot-react-components.js.LICENSE.txt +0 -16
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Common/util/getColor.util.d.ts +2 -0
- package/build/src/components/Form/Common/FormHelper.d.ts +1 -0
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +5 -2
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCToggle.d.ts +2 -1
- package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox}/JRCInputCheckbox.d.ts +1 -1
- package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox}/JRCInputCheckbox.stories.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +25 -0
- package/build/src/components/JRCAlert/JRCAlert.d.ts +2 -2
- package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +6 -0
- package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +4 -1
- package/build/src/components/JRCAppHeader/JRCAppHeader.styles.d.ts +3 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +9 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +8 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +55 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +59 -0
- package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -0
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +4 -0
- package/build/src/components/JRCCard/JRCCard.d.ts +5 -1
- package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +9 -0
- package/build/src/components/JRCFileOpen/extensions.d.ts +1 -0
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +5 -0
- package/build/src/components/JRCList/JRCList.d.ts +8 -3
- package/build/src/components/JRCList/JRCList.stories.d.ts +2 -1
- package/build/src/components/JRCList/JRCList.styles.d.ts +8 -7
- package/build/src/components/JRCLoader/JRCLoader.d.ts +6 -2
- package/build/src/components/JRCLoader/JRCLoader.stories.d.ts +2 -1
- package/build/src/components/JRCLoader/JRCSkeleton.d.ts +1 -0
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +21 -0
- package/build/src/components/JRCModal/JRCModal.d.ts +6 -4
- package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -0
- package/build/src/components/JRCModal/JRCModal.styles.d.ts +3 -9
- package/build/src/components/JRCTabs/JRCTabs.d.ts +7 -5
- package/build/src/components/JRCTooltip/JRCTooltip.d.ts +1 -1
- package/build/src/hooks/UseTimeout.d.ts +7 -0
- package/build/src/index.d.ts +10 -4
- package/build/src/types.d.ts +6 -2
- package/externals.d.ts +0 -1
- package/package.json +11 -11
- package/src/components/Common/util/getColor.util.ts +12 -0
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +1 -1
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +5 -345
- package/src/components/JRCAlert/JRCAlert.tsx +3 -15
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +1 -1
- package/src/components/JRCCard/JRCCard.tsx +6 -4
- package/src/components/JRCLoader/JRCLoader.stories.tsx +6 -1
- package/src/components/JRCLoader/JRCLoader.tsx +13 -3
- package/src/components/JRCLoader/JRCSkeleton.tsx +77 -0
- package/src/components/JRCModal/JRCModal.styles.tsx +1 -0
- package/src/index.tsx +0 -5
- package/src/translation/lang.json +1 -0
- package/src/types.ts +2 -1
- package/tsconfig.json +1 -0
- package/.github/workflows/create-stable-branch.yml +0 -80
- package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.d.ts +0 -10
- package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.d.ts +0 -5
- package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.tsx +0 -30
- package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.tsx +0 -36
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: increment-npm-version
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [develop]
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@master
|
|
11
|
+
- name: Select Node v. 16.x (and thus npm v. 7.x)
|
|
12
|
+
uses: actions/setup-node@v2
|
|
13
|
+
with:
|
|
14
|
+
node-version: 16.x
|
|
15
|
+
- name: 🔨 set git
|
|
16
|
+
run: |
|
|
17
|
+
git config --local user.email "githubaction@localhost"
|
|
18
|
+
git config --local user.name "githubaction"
|
|
19
|
+
- name: 🔨 update package
|
|
20
|
+
run: |
|
|
21
|
+
npm version patch -m "v%s"
|
|
22
|
+
- name: Push changes on branches
|
|
23
|
+
uses: ad-m/github-push-action@master
|
|
24
|
+
with:
|
|
25
|
+
github_token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
26
|
+
force: true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: publish-npm-version
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [feature/npmPackage]
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v3
|
|
12
|
+
with:
|
|
13
|
+
persist-credentials: false
|
|
14
|
+
- name: Select Node v. 16.x (and thus npm v. 7.x)
|
|
15
|
+
uses: actions/setup-node@v2
|
|
16
|
+
with:
|
|
17
|
+
node-version: 16.x
|
|
18
|
+
registry-url: 'https://registry.npmjs.org'
|
|
19
|
+
- name: Cache dependencies
|
|
20
|
+
uses: actions/cache@v2
|
|
21
|
+
with:
|
|
22
|
+
path: ~/.npm
|
|
23
|
+
key: npm-${{ hashFiles('package-lock.json') }}
|
|
24
|
+
restore-keys: npm-
|
|
25
|
+
- name: 🔨 Change package.json
|
|
26
|
+
run: |
|
|
27
|
+
npm i jamespot-user-api@latest
|
|
28
|
+
npm i jamespot-react-components@latest
|
|
29
|
+
- name: 🔨 Publish npm package
|
|
30
|
+
run: |
|
|
31
|
+
npm publish
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|