@bethinkpl/design-system 20.0.1 → 20.1.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/build-to-review-on-trigger.yml +68 -0
- package/.yarnrc.yml +1 -0
- package/dist/design-system.umd.js +470 -328
- package/dist/design-system.umd.js.map +1 -1
- package/dist/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue.d.ts +3 -282
- package/dist/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue.d.ts +3 -228
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.stories.d.ts +5 -0
- package/dist/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue.d.ts +107 -0
- package/dist/lib/js/components/RichList/BasicRichListItem/index.d.ts +2 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.consts.d.ts +29 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.stories.d.ts +6 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.vue.d.ts +32 -0
- package/dist/lib/js/components/RichList/GroupRichListItem/index.d.ts +3 -0
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.consts.d.ts +9 -15
- package/dist/lib/js/components/RichList/RichListItem/RichListItem.vue.d.ts +38 -5
- package/dist/lib/js/components/SelectList/SelectList.vue.d.ts +3 -4
- package/dist/lib/js/components/SelectList/SelectListItem/SelectListItem.vue.d.ts +3 -258
- package/dist/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.vue.d.ts +3 -8
- package/dist/lib/js/index.d.ts +2 -2
- package/docs/iframe.html +1 -1
- package/docs/main.bd6db24d.iframe.bundle.js +1 -0
- package/docs/project.json +1 -1
- package/lib/js/components/RichList/{RichListItemBasic/RichListItemBasic.stories.ts → BasicRichListItem/BasicRichListItem.stories.ts} +51 -17
- package/lib/js/components/RichList/{RichListItemBasic/RichListItemBasic.vue → BasicRichListItem/BasicRichListItem.vue} +90 -16
- package/lib/js/components/RichList/BasicRichListItem/index.ts +3 -0
- package/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.consts.ts +18 -0
- package/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.stories.ts +337 -0
- package/lib/js/components/RichList/{RichListGroupItem/RichListGroupItem.vue → GroupRichListItem/GroupRichListItem.vue} +63 -16
- package/lib/js/components/RichList/GroupRichListItem/index.ts +4 -0
- package/lib/js/components/RichList/RichListItem/RichListItem.consts.ts +15 -18
- package/lib/js/components/RichList/RichListItem/RichListItem.stories.ts +42 -12
- package/lib/js/components/RichList/RichListItem/RichListItem.vue +242 -84
- package/lib/js/index.ts +2 -2
- package/lib/styles/mixins/_scrollbars.scss +9 -0
- package/package.json +1 -1
- package/docs/main.d1b90503.iframe.bundle.js +0 -1
- package/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.consts.ts +0 -7
- package/lib/js/components/RichList/RichListGroupItem/RichListGroupItem.stories.ts +0 -327
- package/lib/js/components/RichList/RichListGroupItem/index.ts +0 -4
- package/lib/js/components/RichList/RichListItemBasic/index.ts +0 -3
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
name: Build Storybook to Design Review on trigger
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issue_comment:
|
|
5
|
+
types: [ created ]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
deploy-for-review:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
if: |
|
|
12
|
+
github.event.comment &&
|
|
13
|
+
github.event.issue.pull_request &&
|
|
14
|
+
startsWith(github.event.comment.body, '/review')
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- name: Get PR branch name
|
|
18
|
+
id: comment-pr-ref
|
|
19
|
+
uses: actions/github-script@v6
|
|
20
|
+
with:
|
|
21
|
+
result-encoding: string
|
|
22
|
+
script: |
|
|
23
|
+
const pr = await github.rest.pulls.get({
|
|
24
|
+
owner: context.issue.owner,
|
|
25
|
+
repo: context.issue.repo,
|
|
26
|
+
pull_number: context.issue.number,
|
|
27
|
+
});
|
|
28
|
+
return pr.data.head.ref
|
|
29
|
+
|
|
30
|
+
- name: Set short branch name
|
|
31
|
+
run: |
|
|
32
|
+
echo "BRANCH_NAME=$(echo "${{ steps.comment-pr-ref.outputs.result }}" | grep -oE -- '[A-Z]+-[0-9]+')" >> $GITHUB_ENV
|
|
33
|
+
|
|
34
|
+
- name: Checkout PR code based on trigger comment
|
|
35
|
+
uses: actions/checkout@v3
|
|
36
|
+
with:
|
|
37
|
+
ref: ${{ steps.comment-pr-ref.outputs.result }}
|
|
38
|
+
|
|
39
|
+
- name: Insert auth font awesome auth token
|
|
40
|
+
run: echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc && echo "//npm.fontawesome.com/:_authToken=${{ secrets.FONT_AWESOME_AUTH_TOKEN }}" >> .npmrc
|
|
41
|
+
|
|
42
|
+
- uses: actions/setup-node@v3
|
|
43
|
+
with:
|
|
44
|
+
node-version: '20.9.0'
|
|
45
|
+
cache: 'yarn'
|
|
46
|
+
|
|
47
|
+
- name: Install and Build 🔧
|
|
48
|
+
run: |
|
|
49
|
+
yarn install --pure-lockfile
|
|
50
|
+
yarn storybook:build
|
|
51
|
+
|
|
52
|
+
- name: Set up S3cmd cli tool
|
|
53
|
+
uses: s3-actions/s3cmd@v1.4.0
|
|
54
|
+
with:
|
|
55
|
+
provider: aws
|
|
56
|
+
region: 'eu-central-1'
|
|
57
|
+
access_key: ${{ secrets.S3_ACCESS_KEY }}
|
|
58
|
+
secret_key: ${{ secrets.S3_SECRET_KEY }}
|
|
59
|
+
|
|
60
|
+
- name: Push to S3 🚀
|
|
61
|
+
run: s3cmd put -r -P public/storybook/* s3://${{ vars.S3_REVIEW_BUCKET }}/${{ env.BRANCH_NAME }}/
|
|
62
|
+
|
|
63
|
+
- name: Add comment with URL
|
|
64
|
+
uses: thollander/actions-comment-pull-request@v2
|
|
65
|
+
with:
|
|
66
|
+
pr_number: ${{ github.event.issue.number }}
|
|
67
|
+
message: |
|
|
68
|
+
Your storybook is available on: https://${{ vars.S3_REVIEW_BUCKET }}.s3.amazonaws.com/${{ env.BRANCH_NAME }}/index.html
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: node-modules
|