@staffbase/widget-sdk 3.3.2 → 3.3.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.
Files changed (45) hide show
  1. package/.github/CODEOWNERS +1 -0
  2. package/.github/workflows/ci.yaml +1 -3
  3. package/.github/workflows/dependency-update.yml +24 -0
  4. package/CHANGELOG.md +90 -0
  5. package/catalog-info.yaml +11 -0
  6. package/docs/.nojekyll +1 -0
  7. package/docs/BaseBlock.md +4629 -0
  8. package/docs/BlockAttributes.md +17 -0
  9. package/docs/{Interface: BlockDefinition.md → BlockDefinition.md} +25 -11
  10. package/docs/BlockElement.md +83 -0
  11. package/docs/ColorTheme.md +65 -0
  12. package/docs/ExternalBlockDefinition.md +46 -0
  13. package/docs/Home.md +32 -31
  14. package/docs/SBColors.md +415 -0
  15. package/docs/SBFileType.md +50 -0
  16. package/docs/SBImageEntity.md +50 -0
  17. package/docs/SBUserAvatar.md +36 -0
  18. package/docs/SBUserProfile.md +64 -0
  19. package/docs/UserListItem.md +36 -0
  20. package/docs/UserListRequestQuery.md +36 -0
  21. package/docs/UserListResponse.md +36 -0
  22. package/docs/WidgetApi.md +92 -0
  23. package/docs/_Sidebar.md +2 -19
  24. package/lib/base-block.ts +1 -1
  25. package/lib/block-attributes.ts +1 -1
  26. package/lib/block-definition.ts +1 -1
  27. package/lib/block-element.ts +1 -1
  28. package/lib/block-factory.ts +1 -1
  29. package/lib/external-block-definition.ts +1 -1
  30. package/lib/global.d.ts +1 -1
  31. package/package.json +17 -17
  32. package/docs/Interface: BaseBlock.md +0 -3226
  33. package/docs/Interface: BlockAttributes.md +0 -11
  34. package/docs/Interface: BlockElement.md +0 -89
  35. package/docs/Interface: ColorTheme.md +0 -52
  36. package/docs/Interface: ExternalBlockDefinition.md +0 -38
  37. package/docs/Interface: SBColors.md +0 -354
  38. package/docs/Interface: SBFileType.md +0 -39
  39. package/docs/Interface: SBImageEntity.md +0 -39
  40. package/docs/Interface: SBUserAvatar.md +0 -27
  41. package/docs/Interface: SBUserProfile.md +0 -51
  42. package/docs/Interface: UserListItem.md +0 -27
  43. package/docs/Interface: UserListRequestQuery.md +0 -27
  44. package/docs/Interface: UserListResponse.md +0 -27
  45. package/docs/Interface: WidgetApi.md +0 -75
@@ -0,0 +1 @@
1
+ * @Staffbase/need-for-speed-devs
@@ -11,8 +11,6 @@ on:
11
11
  env:
12
12
  GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
13
13
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
14
- STAFFBASE_GITHUB_PACKAGES_TOKEN: ${{ secrets.GH_TOKEN }}
15
- STAFFBASE_NPM_JS_TOKEN: ${{ secrets.NPM_TOKEN }}
16
14
 
17
15
  jobs:
18
16
  test:
@@ -39,8 +37,8 @@ jobs:
39
37
  steps:
40
38
  - uses: actions/checkout@v2
41
39
  with:
40
+ token: ${{ secrets.GH_TOKEN_SEMANTIC_RELEASE }}
42
41
  fetch-depth: 0
43
- persist-credentials: false
44
42
 
45
43
  - uses: actions/setup-node@v2
46
44
  with:
@@ -0,0 +1,24 @@
1
+ name: Dependency Update
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "0 12 * * 3" # every Wednesday at 12pm UTC
6
+ workflow_dispatch:
7
+
8
+ env:
9
+ NPM_TOKEN: ${{ secrets.STAFFBOT_NPM_TOKEN_PACKAGE_READ }}
10
+ GITHUB_TOKEN: ${{ secrets.STAFFBOT_GITHUB_TOKEN }}
11
+
12
+ jobs:
13
+ npm-audit-fix:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ persist-credentials: false
19
+ - uses: Staffbase/npm-audit-fix-action@v3.3.0
20
+ with:
21
+ github_token: ${{ secrets.STAFFBOT_GITHUB_TOKEN }}
22
+ github_user: "Staffbot"
23
+ github_email: "staffbot@staffbase.com"
24
+ labels: "dependencies, javascript, security, dev"
package/CHANGELOG.md CHANGED
@@ -1,3 +1,93 @@
1
+ ## [3.3.5](https://github.com/Staffbase/widget-sdk/compare/3.3.4...3.3.5) (2021-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update dependencies ([896bf16](https://github.com/Staffbase/widget-sdk/commit/896bf16c26a260296c18d43c897a4a8b1f45a2ef))
7
+ * update dependencies ([b7a50ee](https://github.com/Staffbase/widget-sdk/commit/b7a50ee02331cc65341cc92a5f9dcf8951add7d3))
8
+
9
+
10
+ ### Build System
11
+
12
+ * **deps:** npm audit fix ([c985824](https://github.com/Staffbase/widget-sdk/commit/c985824cbffa6cb1e31c4911109aac1909c2d148))
13
+ * **deps:** npm audit fix ([2a7983d](https://github.com/Staffbase/widget-sdk/commit/2a7983dd94d84afc13c01f31e056fde262585df1))
14
+
15
+
16
+ ### Chores
17
+
18
+ * test new release secret ([eed46c5](https://github.com/Staffbase/widget-sdk/commit/eed46c598d3da53b5173f7a27bf00d7530325cd1))
19
+
20
+
21
+ ### Miscellaneous
22
+
23
+ * ([abfb02e](https://github.com/Staffbase/widget-sdk/commit/abfb02e6f1ea1377eb0a198f597c2f277f55461c))
24
+
25
+ ## [3.3.4](https://github.com/Staffbase/widget-sdk/compare/3.3.3...3.3.4) (2021-11-23)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * fix peer dependency ([13d1cba](https://github.com/Staffbase/widget-sdk/commit/13d1cba452d46a165b88d233412fc0ef54585aa8))
31
+
32
+
33
+ ### Build System
34
+
35
+ * **deps:** npm audit fix ([6e7a417](https://github.com/Staffbase/widget-sdk/commit/6e7a417b42a86845528f605ae18bbff448d5f77f))
36
+ * **deps:** npm audit fix ([4bade01](https://github.com/Staffbase/widget-sdk/commit/4bade0131d073e9859dbbb8cc6862035fef9493f))
37
+ * **deps:** npm audit fix ([89951f4](https://github.com/Staffbase/widget-sdk/commit/89951f4aa7db18babc21918bab37a6da10d330b9))
38
+ * **deps:** npm audit fix ([330760c](https://github.com/Staffbase/widget-sdk/commit/330760cb4971042d132a93700fedecff16cde89b))
39
+ * **deps:** npm audit fix ([856ca6b](https://github.com/Staffbase/widget-sdk/commit/856ca6b503229bae8ebf841b0637868515f3367e))
40
+
41
+
42
+ ### Chores
43
+
44
+ * add dependency update bot ([48be50e](https://github.com/Staffbase/widget-sdk/commit/48be50e36508ab89cb17f0b5643162180a7b7d38))
45
+ * exchange token vars ([4ef9c78](https://github.com/Staffbase/widget-sdk/commit/4ef9c78bf81e9b272f4014cd5e8df1cb6b2d2f3b))
46
+ * exchange token vars ([80bebb5](https://github.com/Staffbase/widget-sdk/commit/80bebb5825c5f7d410f3bc2d1493d492d757a2e4))
47
+ * remove unneeded env vars ([c368fde](https://github.com/Staffbase/widget-sdk/commit/c368fdee2473b0ff7fa8b54464740200718370bd))
48
+ * remove unneeded env vars ([a823c98](https://github.com/Staffbase/widget-sdk/commit/a823c98a51a5d9b928ce857d36e5ced7f8e10d98))
49
+ * remove yarn ([5fb934f](https://github.com/Staffbase/widget-sdk/commit/5fb934f3aadc7eef2aea60a31b6b812335483b8f))
50
+ * removed unneeded env var ([52960df](https://github.com/Staffbase/widget-sdk/commit/52960dfef49d00432ebc00a3f84a3a902aaefc6f))
51
+ * update dependencies ([d9a807b](https://github.com/Staffbase/widget-sdk/commit/d9a807b5da9f13f7b811df673a2290040557ca72))
52
+ * **deps:** bump semver-regex from 3.1.2 to 3.1.3 ([#28](https://github.com/Staffbase/widget-sdk/issues/28)) ([05dc6db](https://github.com/Staffbase/widget-sdk/commit/05dc6dbdbd3c4743768fc612f994522c42459264))
53
+
54
+
55
+ ### Miscellaneous
56
+
57
+ * ([ed1232c](https://github.com/Staffbase/widget-sdk/commit/ed1232c889fb7294283312b3a8461ca969842d14))
58
+ * Set env variable ([9da7ec4](https://github.com/Staffbase/widget-sdk/commit/9da7ec4f026efb52beb920f0c5791ab7e201ab9c))
59
+ * Add env variable ([f0e5b1f](https://github.com/Staffbase/widget-sdk/commit/f0e5b1fdd07fd2f04ce3008c8b82260c27acd967))
60
+ * ([1622de1](https://github.com/Staffbase/widget-sdk/commit/1622de1c0741fe438e7efa7d706cb1c9c94d12ee))
61
+
62
+ ## [3.3.3](https://github.com/Staffbase/widget-sdk/compare/3.3.2...3.3.3) (2021-09-01)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * dependency update ([c9de860](https://github.com/Staffbase/widget-sdk/commit/c9de860af14e902ebf58c32bc84700cdf3b18a53))
68
+
69
+
70
+ ### Chores
71
+
72
+ * npm audit fix ([9176053](https://github.com/Staffbase/widget-sdk/commit/9176053a1d453df87e5e8f2ae316a42098adcb8a))
73
+ * **deps:** bump trim-newlines from 3.0.0 to 3.0.1 ([9d34aec](https://github.com/Staffbase/widget-sdk/commit/9d34aec5ff491dafcad315fa41c32e8b4aac98d6))
74
+ * Trigger push ([66e5c87](https://github.com/Staffbase/widget-sdk/commit/66e5c879cf8c34e25ff00439b7d14c0a576cc028))
75
+ * **deps:** bump normalize-url from 6.0.0 to 6.0.1 ([f1ec4cb](https://github.com/Staffbase/widget-sdk/commit/f1ec4cbffb8264d8d0f376a7cfea2500815fa704))
76
+ * Trigger push ([84035d4](https://github.com/Staffbase/widget-sdk/commit/84035d446f4e2c400d988e1551de877a9a90f4eb))
77
+ * update dependencies ([b18d9ac](https://github.com/Staffbase/widget-sdk/commit/b18d9ac734459784f457b4120a9816ba743f53d6))
78
+ * **deps:** bump normalize-url from 6.0.0 to 6.0.1 ([178e0f0](https://github.com/Staffbase/widget-sdk/commit/178e0f05286dbb2dc27e375b03eb4c19989fb17a))
79
+ * **deps:** bump trim-newlines from 3.0.0 to 3.0.1 ([e4f0e7b](https://github.com/Staffbase/widget-sdk/commit/e4f0e7bd9517ecbcb95663545d002819bc80648e))
80
+
81
+
82
+ ### Miscellaneous
83
+
84
+ * NFS-000: Release new version ([1bbeb5b](https://github.com/Staffbase/widget-sdk/commit/1bbeb5bb76675cffc127441a305cf9311bf57af1))
85
+ * NFS-000: Dependency update ([f0c12f6](https://github.com/Staffbase/widget-sdk/commit/f0c12f6a74893028e94475240b2aa4c28aa8c9a2))
86
+ * 3.3.3-beta.1 ([6e21d16](https://github.com/Staffbase/widget-sdk/commit/6e21d16ee70d130a7c2f2c03a899290b7637db66))
87
+ * 3.3.3-beta.0 ([6f9859e](https://github.com/Staffbase/widget-sdk/commit/6f9859e28420ce1d97ca886574b40ab67af3c096))
88
+ * NFS-000: Dependency update ([ffa68ed](https://github.com/Staffbase/widget-sdk/commit/ffa68edd3c617c8b3f2e5611efd5ad8b40aab854))
89
+ * Add catalog-info.yaml for Backstage (#14) ([d7caa8e](https://github.com/Staffbase/widget-sdk/commit/d7caa8ed45d091860da33dbb5abb0a2938068235)), closes [#14](https://github.com/Staffbase/widget-sdk/issues/14)
90
+
1
91
  ## [3.3.2](https://github.com/Staffbase/widget-sdk/compare/3.3.1...3.3.2) (2021-05-25)
2
92
 
3
93
 
@@ -0,0 +1,11 @@
1
+ apiVersion: backstage.io/v1alpha1
2
+ kind: Component
3
+ metadata:
4
+ name: widget-sdk
5
+ annotations:
6
+ github.com/project-slug: Staffbase/widget-sdk
7
+ tags:
8
+ - TypeScript
9
+ spec:
10
+ type: service
11
+ lifecycle: production
package/docs/.nojekyll ADDED
@@ -0,0 +1 @@
1
+ TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.