reactive-bulma 1.10.3 → 1.11.0
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/README.md +49 -41
- package/dist/cjs/index.js +1 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/atoms/Image/index.d.ts +4 -0
- package/dist/cjs/types/functions/parsers.d.ts +1 -3
- package/dist/cjs/types/interfaces/atomProps.d.ts +6 -1
- package/dist/cjs/types/types/styleTypes.d.ts +1 -0
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/atoms/Image/index.d.ts +4 -0
- package/dist/esm/types/functions/parsers.d.ts +1 -3
- package/dist/esm/types/interfaces/atomProps.d.ts +6 -1
- package/dist/esm/types/types/styleTypes.d.ts +1 -0
- package/package.json +1 -1
    
        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 | 
            -
             ![ | 
| 33 | 
            -
             ![ | 
| 34 | 
            -
             ![ | 
| 35 | 
            -
             [![ | 
| 36 | 
            -
             ![ | 
| 37 | 
            -
             [![ | 
| 38 | 
            -
             [![ | 
| 39 | 
            -
             [![ | 
| 40 | 
            -
             [![ | 
| 41 | 
            -
             ![ | 
| 42 | 
            -
             ![ | 
| 43 | 
            -
             ![ | 
| 44 | 
            -
              | 
| 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 | 
            -
            ![ | 
| 66 | 
            -
            ![ | 
| 67 | 
            -
            ![ | 
| 68 | 
            -
            ![ | 
| 69 | 
            -
            ![ | 
| 70 | 
            -
            ![ | 
| 71 | 
            -
            ![ | 
| 72 | 
            -
            ![ | 
| 73 | 
            -
            ![ | 
| 74 | 
            -
            ![ | 
| 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` | ![ | 
| 147 | 
            -
            | `v2.0.0` | ![ | 
| 148 | 
            -
            | `v3.0.0` | ![ | 
| 149 | 
            -
            | `v4.0.0` | ![ | 
| 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.
         |