@innovaccer/design-system 3.0.0-2 → 3.0.0-5
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/next.yml +9 -3
- package/.storybook/docPage/index.tsx +0 -1
- package/dist/index.esm.js +5263 -34
- package/dist/index.js +600 -7
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.br +0 -0
- package/dist/index.umd.js.gz +0 -0
- package/dist/src/components/button/Button.d.ts +30 -0
- package/dist/src/components/button/index.d.ts +2 -0
- package/dist/src/components/outsideClick/OutsideClick.d.ts +8 -0
- package/dist/src/components/outsideClick/index.d.ts +2 -0
- package/dist/src/components/popover/Popover.d.ts +35 -0
- package/dist/src/components/popover/index.d.ts +2 -0
- package/dist/src/components/popperWrapper/PopperWrapper.d.ts +73 -0
- package/dist/src/components/popperWrapper/index.d.ts +2 -0
- package/dist/src/components/spinner/Spinner.d.ts +16 -0
- package/dist/src/components/spinner/index.d.ts +2 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +15 -0
- package/dist/src/components/tooltip/index.d.ts +2 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.type.d.ts +4 -0
- package/getVersion.js +3 -0
- package/package.json +2 -2
- package/src/components/button/Button.tsx +219 -0
- package/src/components/button/__stories__/index.story.jsx +714 -0
- package/src/components/button/__tests__/Button.test.tsx +262 -0
- package/src/components/button/__tests__/__snapshots__/Button.test.tsx.snap +807 -0
- package/src/components/button/index.tsx +2 -0
- package/src/components/outsideClick/OutsideClick.tsx +57 -0
- package/src/components/outsideClick/index.tsx +2 -0
- package/src/components/popover/Popover.tsx +151 -0
- package/src/components/popover/index.tsx +2 -0
- package/src/components/popperWrapper/PopperWrapper.tsx +451 -0
- package/src/components/popperWrapper/index.tsx +2 -0
- package/src/components/spinner/Spinner.tsx +61 -0
- package/src/components/spinner/index.tsx +2 -0
- package/src/components/tooltip/Tooltip.tsx +56 -0
- package/src/components/tooltip/index.tsx +2 -0
- package/src/index.tsx +5 -0
- package/src/index.type.tsx +4 -0
- package/src/components/icon/__stories__/index.story.tsx +0 -42
- package/src/components/icon/__stories__/variants/Appearance.story.tsx +0 -75
- package/src/components/icon/__stories__/variants/Image.story.tsx +0 -27
- package/src/components/icon/__stories__/variants/Type.story.tsx +0 -37
- package/src/components/icon/__tests__/Icon.test.tsx +0 -79
- package/src/components/icon/__tests__/__snapshots__/Icon.test.tsx.snap +0 -630
|
@@ -37,18 +37,24 @@ jobs:
|
|
|
37
37
|
run: rm -rf .npmrc
|
|
38
38
|
|
|
39
39
|
- name: push tag to github
|
|
40
|
-
run: git push https://${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY.git
|
|
40
|
+
run: git push https://${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY.git $(node ./getVersion.js)
|
|
41
41
|
|
|
42
42
|
- name: remove css/dist dist/ from commit
|
|
43
43
|
run: |
|
|
44
44
|
git reset HEAD~1
|
|
45
45
|
git add package.json
|
|
46
|
-
git commit -m "Released $(
|
|
46
|
+
git commit -m "Released $(node ./getVersion.js) [skip ci]" --no-verify
|
|
47
47
|
|
|
48
48
|
- name: push version to github
|
|
49
49
|
run: git push https://${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY.git HEAD:next
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
- name: deploy storybook
|
|
52
|
+
run: npm run deploy-storybook -- --bucket-path=webui-mds-sb-next --aws-profile=NONE --ci
|
|
53
|
+
env:
|
|
54
|
+
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_KEY }}
|
|
55
|
+
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_KEY_ID }}
|
|
56
|
+
AWS_REGION: ${{ secrets.DOCS_REGION }}
|
|
57
|
+
|
|
52
58
|
- name: notify release
|
|
53
59
|
uses: /innovaccer/design-system/actions/notify-release@next
|
|
54
60
|
env:
|
|
@@ -326,7 +326,6 @@ export const docPage = () => {
|
|
|
326
326
|
const sourceContext = useContext(SourceContext);
|
|
327
327
|
const raw = getSourceProps({ ids: [storyId] }, docsContext, sourceContext);
|
|
328
328
|
const code = `${raw.code}`;
|
|
329
|
-
console.log(code);
|
|
330
329
|
const customCode = code;
|
|
331
330
|
// END: get raw source of the story
|
|
332
331
|
|