jamespot-react-components 1.0.0 → 1.0.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/deploy-dev-branches.yml +1 -1
- package/.github/workflows/npm-package.yml +33 -0
- package/build/jamespot-react-components.js +503 -308
- 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 -2
- package/build/src/types.d.ts +6 -2
- package/package.json +8 -8
- 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/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/translation/lang.json +1 -0
- package/src/types.ts +2 -1
- package/.github/workflows/create-stable-branch.yml +0 -80
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"GLOBAL_Form_Characters": "characters",
|
|
12
12
|
"GLOBAL_Loading": "Loading",
|
|
13
13
|
"GLOBAL_Validation": "Confirm",
|
|
14
|
+
"GLOBAL_Error_occurred": "An error occurred",
|
|
14
15
|
"GROUP_more": "More",
|
|
15
16
|
"GLOBAL_Select": "Select",
|
|
16
17
|
"ERROR_Mail_Invalid": "Must be a valid email",
|
package/src/types.ts
CHANGED
|
@@ -24,7 +24,8 @@ export { JRCFormSendAlertInputProps };
|
|
|
24
24
|
import { TextareaFormInputProps } from './components/Form/Input/JRCFormTextarea/JRCFormTextarea';
|
|
25
25
|
export { TextareaFormInputProps };
|
|
26
26
|
|
|
27
|
-
export {
|
|
27
|
+
export { MessageType } from './components/Common/util/getColor.util';
|
|
28
|
+
export { JRCAlertProps } from './components/JRCAlert/JRCAlert';
|
|
28
29
|
import { JRCAvatarProps } from './components/JRCAvatar/JRCAvatar';
|
|
29
30
|
export { JRCAvatarProps };
|
|
30
31
|
import { JRCButtonProps } from './components/JRCButton/JRCButton';
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
name: remote-stable
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [master]
|
|
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
|
-
- name: Reconfigure git to use HTTP authentication
|
|
19
|
-
run: >
|
|
20
|
-
git config --global url."https://${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}@github.com/".insteadOf ssh://git@github.com/
|
|
21
|
-
- name: Delete stable
|
|
22
|
-
uses: dawidd6/action-delete-branch@v3
|
|
23
|
-
with:
|
|
24
|
-
branches: remote-stable
|
|
25
|
-
github_token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
26
|
-
continue-on-error: true
|
|
27
|
-
- name: New remote-stable branch
|
|
28
|
-
uses: peterjgrainger/action-create-branch@v2.0.1
|
|
29
|
-
env:
|
|
30
|
-
GITHUB_TOKEN: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
31
|
-
with:
|
|
32
|
-
branch: remote-stable
|
|
33
|
-
- name: Merge master -> remote-stable
|
|
34
|
-
uses: devmasx/merge-branch@master
|
|
35
|
-
with:
|
|
36
|
-
type: now
|
|
37
|
-
from_branch: master
|
|
38
|
-
target_branch: remote-stable
|
|
39
|
-
github_token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
40
|
-
- name: ⬇️ Checkout js-util-create-stable-branch
|
|
41
|
-
uses: actions/checkout@v3
|
|
42
|
-
with:
|
|
43
|
-
repository: Jamespot/js-util-create-stable-branch
|
|
44
|
-
token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
45
|
-
path: js-util-create-stable-branch
|
|
46
|
-
persist-credentials: false
|
|
47
|
-
- name: ⬇️ Checkout remote-stable branch
|
|
48
|
-
uses: actions/checkout@v3
|
|
49
|
-
with:
|
|
50
|
-
token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
51
|
-
ref: remote-stable
|
|
52
|
-
path: newbranch
|
|
53
|
-
persist-credentials: false
|
|
54
|
-
- name: 🔨 Change package.json
|
|
55
|
-
run: |
|
|
56
|
-
pwd
|
|
57
|
-
cd js-util-create-stable-branch
|
|
58
|
-
node updatePackage.js ../newbranch
|
|
59
|
-
cd ../newbranch
|
|
60
|
-
pwd
|
|
61
|
-
- name: Cache dependencies
|
|
62
|
-
uses: actions/cache@v2
|
|
63
|
-
with:
|
|
64
|
-
path: ~/.npm
|
|
65
|
-
key: npm-${{ hashFiles('package-lock.json') }}
|
|
66
|
-
restore-keys: npm-
|
|
67
|
-
- name: Install dependencies
|
|
68
|
-
run: |
|
|
69
|
-
pwd
|
|
70
|
-
cp newbranch/package.json ./
|
|
71
|
-
cat package.json
|
|
72
|
-
npm i --legacy-peer-deps
|
|
73
|
-
cp package-lock.json ./newbranch
|
|
74
|
-
- name: push
|
|
75
|
-
uses: actions-x/commit@v4
|
|
76
|
-
with:
|
|
77
|
-
token: ${{ secrets.ONE_TOKEN_TO_RULE_THEM_ALL }}
|
|
78
|
-
branch: remote-stable
|
|
79
|
-
force: true
|
|
80
|
-
directory: newbranch
|