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.
Files changed (63) hide show
  1. package/.github/workflows/deploy-dev-branches.yml +1 -1
  2. package/.github/workflows/increment-npm-version.yml +26 -0
  3. package/.github/workflows/npm-package.yml +33 -0
  4. package/build/jamespot-react-components.js +505 -310
  5. package/build/jamespot-react-components.js.LICENSE.txt +0 -16
  6. package/build/jamespot-react-components.js.map +1 -1
  7. package/build/src/components/Common/util/getColor.util.d.ts +2 -0
  8. package/build/src/components/Form/Common/FormHelper.d.ts +1 -0
  9. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +5 -2
  10. package/build/src/components/Form/Input/JRCFormCheckbox/JRCToggle.d.ts +2 -1
  11. package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox}/JRCInputCheckbox.d.ts +1 -1
  12. package/build/src/components/Form/Input/{JRCFormCheckbox → JRCInputCheckbox}/JRCInputCheckbox.stories.d.ts +1 -1
  13. package/build/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.d.ts +25 -0
  14. package/build/src/components/JRCAlert/JRCAlert.d.ts +2 -2
  15. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +6 -0
  16. package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +4 -1
  17. package/build/src/components/JRCAppHeader/JRCAppHeader.styles.d.ts +3 -1
  18. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +9 -0
  19. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +8 -0
  20. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +55 -0
  21. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +59 -0
  22. package/build/src/components/JRCAppLeftColumn/JRCDefaultMenu.d.ts +2 -0
  23. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +4 -0
  24. package/build/src/components/JRCCard/JRCCard.d.ts +5 -1
  25. package/build/src/components/JRCFileOpen/JRCFileOpen.d.ts +9 -0
  26. package/build/src/components/JRCFileOpen/extensions.d.ts +1 -0
  27. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +5 -0
  28. package/build/src/components/JRCList/JRCList.d.ts +8 -3
  29. package/build/src/components/JRCList/JRCList.stories.d.ts +2 -1
  30. package/build/src/components/JRCList/JRCList.styles.d.ts +8 -7
  31. package/build/src/components/JRCLoader/JRCLoader.d.ts +6 -2
  32. package/build/src/components/JRCLoader/JRCLoader.stories.d.ts +2 -1
  33. package/build/src/components/JRCLoader/JRCSkeleton.d.ts +1 -0
  34. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +21 -0
  35. package/build/src/components/JRCModal/JRCModal.d.ts +6 -4
  36. package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -0
  37. package/build/src/components/JRCModal/JRCModal.styles.d.ts +3 -9
  38. package/build/src/components/JRCTabs/JRCTabs.d.ts +7 -5
  39. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +1 -1
  40. package/build/src/hooks/UseTimeout.d.ts +7 -0
  41. package/build/src/index.d.ts +10 -4
  42. package/build/src/types.d.ts +6 -2
  43. package/externals.d.ts +0 -1
  44. package/package.json +11 -11
  45. package/src/components/Common/util/getColor.util.ts +12 -0
  46. package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +1 -1
  47. package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +5 -345
  48. package/src/components/JRCAlert/JRCAlert.tsx +3 -15
  49. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +1 -1
  50. package/src/components/JRCCard/JRCCard.tsx +6 -4
  51. package/src/components/JRCLoader/JRCLoader.stories.tsx +6 -1
  52. package/src/components/JRCLoader/JRCLoader.tsx +13 -3
  53. package/src/components/JRCLoader/JRCSkeleton.tsx +77 -0
  54. package/src/components/JRCModal/JRCModal.styles.tsx +1 -0
  55. package/src/index.tsx +0 -5
  56. package/src/translation/lang.json +1 -0
  57. package/src/types.ts +2 -1
  58. package/tsconfig.json +1 -0
  59. package/.github/workflows/create-stable-branch.yml +0 -80
  60. package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.d.ts +0 -10
  61. package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.d.ts +0 -5
  62. package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.tsx +0 -30
  63. package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.tsx +0 -36
@@ -1,4 +1,4 @@
1
- name: remote-stable
1
+ name: deploy-dev-branch
2
2
 
3
3
  on:
4
4
  push:
@@ -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 }}