reactive-bulma 1.10.3 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -29,19 +29,20 @@ Component library based on React, Bulma, Typescript and Rollup
29
29
 
30
30
  ## Status
31
31
 
32
- ![reactive-bulma, Npm Version][badge-npm-version]
33
- ![reactive-bulma, Npm Bundle Size][badge-npm-size]
34
- ![reactive-bulma, Npm Downloads][badge-npm-downloads]
35
- [![reactive-bulma, Netlify Status][badge-netlify-status]][link-netlify-status]
36
- ![reactive-bulma, Code Coverage][badge-code-coverage]
37
- [![reactive-bulma, Quality Gate Status][badge-soundcloud-quality]][link-soundcloud-status]
38
- [![reactive-bulma, Maintainability Rating][badge-soundcloud-maintanibility]][link-soundcloud-status]
39
- [![reactive-bulma, Security Rating][badge-soundcloud-security]][link-soundcloud-status]
40
- [![reactive-bulma, Technical Debt][badge-soundcloud-tech-debt]][link-soundcloud-status]
41
- ![reactive-bulma, GitHub Repo stars][badge-github-repo-stars]
42
- ![reactive-bulma, GitHub commit activity][badge-github-commits]
43
- ![reactive-bulma, GitHub last commit][badge-github-last-commit]
44
- [![reactive-bulma, Semantic Commits][badge-semantic-commits]][link-semantic-commits]
32
+ ![Npm Version][badge-npm-version]
33
+ ![Npm Bundle Size][badge-npm-size]
34
+ ![Npm Downloads][badge-npm-downloads]
35
+ [![Netlify Status][badge-netlify-status]][link-netlify-status]
36
+ [![Code Coverage][badge-code-coverage]][link-code-coverage]
37
+ [![Quality Gate Status][badge-soundcloud-quality]][link-soundcloud-status]
38
+ [![Maintainability Rating][badge-soundcloud-maintanibility]][link-soundcloud-status]
39
+ [![Security Rating][badge-soundcloud-security]][link-soundcloud-status]
40
+ [![Technical Debt][badge-soundcloud-tech-debt]][link-soundcloud-status]
41
+ [![Known Vulnerabilities][badge-snyk-status]][link-snyk-status]
42
+ ![GitHub Repo stars][badge-github-repo-stars]
43
+ ![GitHub commit activity][badge-github-commits]
44
+ ![GitHub last commit][badge-github-last-commit]
45
+ [![Semantic Commits][badge-semantic-commits]][link-semantic-commits]
45
46
 
46
47
  [badge-npm-version]: https://img.shields.io/github/package-json/v/nicolasomar/reactive-bulma?label=npm%20version&logo=npm&labelColor=535353&color=success&style=flat
47
48
  [badge-npm-size]: https://img.shields.io/bundlephobia/min/reactive-bulma?label=bundle%20size&labelColor=535353&logo=npm&style=flat
@@ -49,11 +50,14 @@ Component library based on React, Bulma, Typescript and Rollup
49
50
  [badge-netlify-status]: https://api.netlify.com/api/v1/badges/3101f2b5-0e28-4734-b749-ebb0e3e413c6/deploy-status
50
51
  [link-netlify-status]: https://app.netlify.com/sites/reactivebulma/deploys
51
52
  [badge-code-coverage]: https://img.shields.io/codecov/c/github/nicolasomar/reactive-bulma?label=coverage&labelColor=535353&logo=codecov&style=flat
53
+ [link-code-coverage]: https://app.codecov.io/gh/NicolasOmar/reactive-bulma
52
54
  [badge-soundcloud-quality]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=alert_status
53
55
  [badge-soundcloud-maintanibility]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=sqale_rating
54
56
  [badge-soundcloud-security]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=security_rating
55
57
  [badge-soundcloud-tech-debt]: https://sonarcloud.io/api/project_badges/measure?project=NicolasOmar_reactive-bulma&metric=sqale_index
56
58
  [link-soundcloud-status]: https://sonarcloud.io/summary/new_code?id=NicolasOmar_reactive-bulma
59
+ [badge-snyk-status]: https://img.shields.io/snyk/vulnerabilities/github/nicolasomar/reactive-bulma?logo=snyk
60
+ [link-snyk-status]: https://snyk.io/test/github/nicolasomar/reactive-bulma
57
61
  [badge-github-repo-stars]: https://img.shields.io/github/stars/nicolasomar/reactive-bulma?label=stars&logo=github&labelColor=535353&style=flat
58
62
  [badge-github-commits]: https://img.shields.io/github/commit-activity/m/nicolasomar/reactive-bulma?logo=github
59
63
  [badge-github-last-commit]: https://img.shields.io/github/last-commit/nicolasomar/reactive-bulma?logo=github
@@ -62,27 +66,31 @@ Component library based on React, Bulma, Typescript and Rollup
62
66
 
63
67
  ## Dependencies
64
68
 
65
- ![reactive-bulma, react dependency][badge-dependency-react]
66
- ![reactive-bulma, bulma dependency][badge-dependency-bulma]
67
- ![reactive-bulma, typescript dependency][badge-dependency-typescript]
68
- ![reactive-bulma, rollup dependency][badge-dependency-rollup]
69
- ![reactive-bulma, semantic-release dependency][badge-dependency-semantic-release]
70
- ![reactive-bulma, jest dependency][badge-dependency-jest]
71
- ![reactive-bulma, prettier dependency][badge-dependency-prettier]
72
- ![reactive-bulma, eslint dependency][badge-dependency-eslint]
73
- ![reactive-bulma, husky dependency][badge-dependency-husky]
74
- ![reactive-bulma, babel dependency][badge-dependency-babel]
69
+ ![react dependency][badge-dependency-react]
70
+ ![bulma dependency][badge-dependency-bulma]
71
+ ![typescript dependency][badge-dependency-typescript]
72
+ ![rollup dependency][badge-dependency-rollup]
73
+ ![storybook dependency][badge-dependency-storybook]
74
+ ![semantic-release dependency][badge-dependency-semantic-release]
75
+ ![babel dependency][badge-dependency-babel]
76
+ ![jest dependency][badge-dependency-jest]
77
+ ![react testing library dependency][badge-dependency-react-testing]
78
+ ![prettier dependency][badge-dependency-prettier]
79
+ ![eslint dependency][badge-dependency-eslint]
80
+ ![husky dependency][badge-dependency-husky]
75
81
 
76
82
  [badge-dependency-react]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/react/main?logo=react
77
83
  [badge-dependency-bulma]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/bulma/main?logo=bulma
78
84
  [badge-dependency-typescript]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/typescript/main?logo=typescript
79
85
  [badge-dependency-rollup]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/rollup/main?logo=rollup.js
86
+ [badge-dependency-storybook]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/@storybook/react/main?logo=storybook
80
87
  [badge-dependency-semantic-release]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/semantic-release/main?logo=semantic-release
88
+ [badge-dependency-babel]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/@babel/core/main?logo=babel
81
89
  [badge-dependency-jest]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/jest/main?logo=jest
90
+ [badge-dependency-react-testing]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/@testing-library/react/main?logo=testing-library
82
91
  [badge-dependency-prettier]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/prettier/main?logo=prettier
83
92
  [badge-dependency-eslint]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/eslint/main?logo=eslint
84
93
  [badge-dependency-husky]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/husky/main?logo=husky
85
- [badge-dependency-babel]: https://img.shields.io/github/package-json/dependency-version/nicolasomar/reactive-bulma/dev/@babel/core/main?logo=babel
86
94
 
87
95
  ## Quick start
88
96
 
@@ -143,23 +151,23 @@ Having in mind the [versioning section](#versioning), repo's status in a glance
143
151
 
144
152
  | Version | Progress | Open issues | Closed issues
145
153
  | :---: | :---: | :---: | :---: |
146
- | `v1.0.0` | ![reactive-bulma, v1.0.0, progress][badge-progress-100] | ![reactive-bulma, v1.0.0, open issues][badge-issues-open-100] | ![reactive-bulma, v1.0.0, closed issues][badge-issues-closed-100] |
147
- | `v2.0.0` | ![reactive-bulma, v2.0.0, progress][badge-progress-200] | ![reactive-bulma, v2.0.0, open issues][badge-issues-open-200] | ![reactive-bulma, v2.0.0, closed issues][badge-issues-closed-200] |
148
- | `v3.0.0` | ![reactive-bulma, v3.0.0, progress][badge-progress-300] | ![reactive-bulma, v3.0.0, open issues][badge-issues-open-300] | ![reactive-bulma, v3.0.0, closed issues][badge-issues-closed-300] |
149
- | `v4.0.0` | ![reactive-bulma, v4.0.0, progress][badge-progress-400] | ![reactive-bulma, v4.0.0, open issues][badge-issues-open-400] | ![reactive-bulma, v4.0.0, closed issues][badge-issues-closed-400] |
150
-
151
- [badge-progress-100]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/1?label=%20&style=flat
152
- [badge-issues-open-100]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/1?label=%20&style=flat
153
- [badge-issues-closed-100]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/1?label=%20&style=flat
154
- [badge-progress-200]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/2?label=%20&style=flat
155
- [badge-issues-open-200]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/2?label=%20&style=flat
156
- [badge-issues-closed-200]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/2?label=%20&style=flat
157
- [badge-progress-300]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/3?label=%20&style=flat
158
- [badge-issues-open-300]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/3?label=%20&style=flat
159
- [badge-issues-closed-300]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/3?label=%20&style=flat
160
- [badge-progress-400]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/4?label=%20&style=flat
161
- [badge-issues-open-400]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/4?label=%20&style=flat
162
- [badge-issues-closed-400]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/4?label=%20&style=flat
154
+ | `v1.0.0` | ![v1.0.0, progress][badge-progress-100] | ![v1.0.0, open][badge-issues-open-100] | ![v1.0.0, closed][badge-issues-closed-100] |
155
+ | `v2.0.0` | ![v2.0.0, progress][badge-progress-200] | ![v2.0.0, open][badge-issues-open-200] | ![v2.0.0, closed][badge-issues-closed-200] |
156
+ | `v3.0.0` | ![v3.0.0, progress][badge-progress-300] | ![v3.0.0, open][badge-issues-open-300] | ![v3.0.0, closed][badge-issues-closed-300] |
157
+ | `v4.0.0` | ![v4.0.0, progress][badge-progress-400] | ![v4.0.0, open][badge-issues-open-400] | ![v4.0.0, closed][badge-issues-closed-400] |
158
+
159
+ [badge-progress-100]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/1?label=%20&style=flat&color=informational
160
+ [badge-issues-open-100]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/1?label=%20&style=flat&color=yellow
161
+ [badge-issues-closed-100]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/1?label=%20&style=flat&color=success
162
+ [badge-progress-200]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/2?label=%20&style=flat&color=informational
163
+ [badge-issues-open-200]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/2?label=%20&style=flat&color=yellow
164
+ [badge-issues-closed-200]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/2?label=%20&style=flat&color=success
165
+ [badge-progress-300]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/3?label=%20&style=flat&color=informational
166
+ [badge-issues-open-300]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/3?label=%20&style=flat&color=yellow
167
+ [badge-issues-closed-300]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/3?label=%20&style=flat&color=success
168
+ [badge-progress-400]: https://img.shields.io/github/milestones/progress-percent/nicolasomar/reactive-bulma/4?label=%20&style=flat&color=informational
169
+ [badge-issues-open-400]: https://img.shields.io/github/milestones/issues-closed/nicolasomar/reactive-bulma/4?label=%20&style=flat&color=yellow
170
+ [badge-issues-closed-400]: https://img.shields.io/github/milestones/issues-open/nicolasomar/reactive-bulma/4?label=%20&style=flat&color=success
163
171
 
164
172
  In case you want the short-term status, go to the [project board](https://github.com/users/NicolasOmar/projects/3) (powered by `GitHub Projects`).
165
173
 
package/dist/cjs/index.js CHANGED
@@ -2841,14 +2841,12 @@ function requireReact_development () {
2841
2841
  var React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
2842
2842
 
2843
2843
  /**
2844
- *
2845
2844
  * @param { Array<string | null> } _classes Required. Array of classNames on `string` (or `null`) values
2846
2845
  * @returns { string } A single string product of merge all classNames, separated by spaces
2847
2846
  */
2848
2847
  const parseClasses = (_classes) => _classes.filter(_class => _class).join(' ');
2849
2848
  /**
2850
- *
2851
- * @param { ParseTestIdProps } config Configuration of tag, parsedClasses and tag
2849
+ * @param { ParseTestIdProps } config Configuration object
2852
2850
  * @param { string } config.tag Required. Component tag used between to build the final testId string.
2853
2851
  * @param { string } config.parsedClasses Required. A single string of previously parsed classes what will be joined with `tag` property.
2854
2852
  * @param { string } config.separator Optional. `''` by default. Will replace final string empty spaces with a configurable string.