reactive-bulma 1.10.3 → 1.11.1

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
@@ -34,11 +34,7 @@ function getDefaultExportFromCjs (x) {
34
34
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
35
35
  }
36
36
 
37
- var reactExports = {};
38
- var react = {
39
- get exports(){ return reactExports; },
40
- set exports(v){ reactExports = v; },
41
- };
37
+ var react = {exports: {}};
42
38
 
43
39
  var react_production_min = {};
44
40
 
@@ -77,11 +73,7 @@ var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("rea
77
73
  return react_production_min;
78
74
  }
79
75
 
80
- var react_developmentExports = {};
81
- var react_development = {
82
- get exports(){ return react_developmentExports; },
83
- set exports(v){ react_developmentExports = v; },
84
- };
76
+ var react_development = {exports: {}};
85
77
 
86
78
  /**
87
79
  * @license React
@@ -92,11 +84,12 @@ var react_development = {
92
84
  * This source code is licensed under the MIT license found in the
93
85
  * LICENSE file in the root directory of this source tree.
94
86
  */
87
+ react_development.exports;
95
88
 
96
89
  var hasRequiredReact_development;
97
90
 
98
91
  function requireReact_development () {
99
- if (hasRequiredReact_development) return react_developmentExports;
92
+ if (hasRequiredReact_development) return react_development.exports;
100
93
  hasRequiredReact_development = 1;
101
94
  (function (module, exports) {
102
95
 
@@ -2824,31 +2817,27 @@ function requireReact_development () {
2824
2817
  }
2825
2818
 
2826
2819
  })();
2827
- }
2828
- } (react_development, react_developmentExports));
2829
- return react_developmentExports;
2820
+ }
2821
+ } (react_development, react_development.exports));
2822
+ return react_development.exports;
2830
2823
  }
2831
2824
 
2832
- (function (module) {
2833
-
2834
- if (process.env.NODE_ENV === 'production') {
2835
- module.exports = requireReact_production_min();
2836
- } else {
2837
- module.exports = requireReact_development();
2838
- }
2839
- } (react));
2825
+ if (process.env.NODE_ENV === 'production') {
2826
+ react.exports = requireReact_production_min();
2827
+ } else {
2828
+ react.exports = requireReact_development();
2829
+ }
2840
2830
 
2831
+ var reactExports = react.exports;
2841
2832
  var React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
2842
2833
 
2843
2834
  /**
2844
- *
2845
2835
  * @param { Array<string | null> } _classes Required. Array of classNames on `string` (or `null`) values
2846
2836
  * @returns { string } A single string product of merge all classNames, separated by spaces
2847
2837
  */
2848
2838
  const parseClasses = (_classes) => _classes.filter(_class => _class).join(' ');
2849
2839
  /**
2850
- *
2851
- * @param { ParseTestIdProps } config Configuration of tag, parsedClasses and tag
2840
+ * @param { ParseTestIdProps } config Configuration object
2852
2841
  * @param { string } config.tag Required. Component tag used between to build the final testId string.
2853
2842
  * @param { string } config.parsedClasses Required. A single string of previously parsed classes what will be joined with `tag` property.
2854
2843
  * @param { string } config.separator Optional. `''` by default. Will replace final string empty spaces with a configurable string.