reactjs / react-tabs

An accessible and easy tab component for ReactJS.
https://reactcommunity.org/react-tabs/
MIT License
3.1k stars 447 forks source link

5.0 #468

Closed danez closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #468 (de45582) into main (e1682a8) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #468      +/-   ##
==========================================
- Coverage   99.10%   99.08%   -0.02%     
==========================================
  Files          10        9       -1     
  Lines         335      328       -7     
  Branches      105      104       -1     
==========================================
- Hits          332      325       -7     
  Misses          3        3              
Impacted Files Coverage Δ
src/components/TabPanel.js 100.00% <ø> (ø)
src/components/Tabs.js 100.00% <ø> (ø)
src/components/Tab.js 100.00% <100.00%> (ø)
src/components/UncontrolledTabs.js 99.40% <100.00%> (-0.01%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e1682a8...de45582. Read the comment docs.

github-actions[bot] commented 2 years ago

📊 Package size report   -33%↓

File Before (Size / Gzip) After (Size / Gzip)
dist/react-tabs.development.js 29.7 kB / 6.7 kB -33.8%↓19.7 kB / -28.8%↓4.8 kB
dist/react-tabs.production.min.js 7.6 kB / 2.8 kB -4.05%↓7.3 kB / -5.21%↓2.6 kB
esm/components/Tab.js 3.0 kB / 1.1 kB -29.3%↓2.1 kB / -24.2%↓845 B
esm/components/TabList.js 1.5 kB / 679 B -31.3%↓1.1 kB / -26.8%↓497 B
esm/components/TabPanel.js 2.2 kB / 882 B -30.8%↓1.5 kB / -26.2%↓651 B
esm/components/Tabs.js 4.8 kB / 1.7 kB -36.6%↓3.1 kB / -38.2%↓1.1 kB
esm/components/UncontrolledTabs.js 12.4 kB / 3.4 kB -42.7%↓7.1 kB / -40.2%↓2.0 kB
esm/helpers/childrenDeepMap.js 1.7 kB / 610 B -48.7%↓877 B / -49.7%↓307 B
esm/helpers/count.js 253 B / 173 B -15.8%↓213 B / -9.25%↓157 B
esm/helpers/elementTypes.js 286 B / 160 B -11.2%↓254 B / -9.37%↓145 B
esm/helpers/propTypes.js 3.1 kB / 979 B -16.3%↓2.6 kB / -5.92%↓921 B
esm/helpers/uuid.js 163 B / 136 B
esm/index.js 281 B / 132 B -28.8%↓200 B / -28.8%↓94 B
index.d.ts 1.8 kB / 485 B
lib/components/Tab.js 4.7 kB / 1.5 kB -22.8%↓3.6 kB / -17.4%↓1.3 kB
lib/components/TabList.js 1.9 kB / 774 B -26.6%↓1.4 kB / -24.4%↓585 B
lib/components/TabPanel.js 2.6 kB / 981 B -27.4%↓1.9 kB / -24.4%↓742 B
lib/components/Tabs.js 6.5 kB / 2.1 kB -29.7%↓4.6 kB / -30.6%↓1.5 kB
lib/components/UncontrolledTabs.js 14.3 kB / 3.8 kB -38.8%↓8.8 kB / -36.2%↓2.4 kB
lib/helpers/childrenDeepMap.js 1.9 kB / 655 B -44.4%↓1.1 kB / -46.1%↓353 B
lib/helpers/count.js 380 B / 215 B -12.4%↓333 B / -9.3%↓195 B
lib/helpers/elementTypes.js 460 B / 219 B -11.7%↓406 B / -10.5%↓196 B
lib/helpers/propTypes.js 3.3 kB / 1.0 kB -15.5%↓2.8 kB / -6.08%↓973 B
lib/helpers/uuid.js 235 B / 177 B
lib/index.js 746 B / 275 B -22%↓582 B / -20%↓220 B
package.json 3.5 kB / 1.3 kB 2%↑3.5 kB / 1%↑1.3 kB
README.md 13.1 kB / 4.0 kB -3.97%↓12.6 kB / -4.76%↓3.8 kB
src/__tests__/index-test.js 547 B / 222 B
src/components/__tests__/__snapshots__/Tab-test.js.snap 2.5 kB / 471 B
src/components/__tests__/__snapshots__/TabList-test.js.snap 5.0 kB / 700 B
src/components/__tests__/__snapshots__/TabPanel-test.js.snap 1.4 kB / 362 B
src/components/__tests__/__snapshots__/Tabs-test.js.snap 19.8 kB / 1.3 kB
src/components/__tests__/helpers/higherOrder/index.js 192 B / 93 B
src/components/__tests__/helpers/higherOrder/TabListWrapper.js 229 B / 158 B
src/components/__tests__/helpers/higherOrder/TabPanelWrapper.js 235 B / 161 B
src/components/__tests__/helpers/higherOrder/TabWrapper.js 205 B / 154 B
src/components/__tests__/Tab-test.js 1.7 kB / 597 B
src/components/__tests__/TabList-test.js 2.6 kB / 686 B
src/components/__tests__/TabPanel-test.js 1.7 kB / 563 B
src/components/__tests__/Tabs-errors-test.js 5.2 kB / 1.3 kB
src/components/__tests__/Tabs-node-test.js 982 B / 443 B
src/components/__tests__/Tabs-test.js 17.6 kB / 2.9 kB
src/components/Tab.js 1.9 kB / 704 B -2.5%↓1.9 kB / -1.85%↓691 B
src/components/TabPanel.js 1.2 kB / 496 B -2.91%↓1.1 kB / -1.01%↓491 B
src/components/UncontrolledTabs.js 11.2 kB / 3.0 kB -1.67%↓11.0 kB / -0.82%↓3.0 kB
src/helpers/uuid.js 165 B / 140 B
src/index.js 282 B / 133 B -20.6%↓224 B / -24.8%↓100 B
Total (Includes all files) 297.1 kB / 80.7 kB -33%↓199.2 kB / -24.4%↓61.0 kB
Tarball size 56.9 kB -19.6%↓45.8 kB
Unchanged files | File | Size (Size / Gzip) | | ------------------------------------------------------------------------------------------------------------------ | ------------------: | | [`LICENSE`](https://github.com/reactjs/react-tabs/blob/next/LICENSE) | `1.1 kB` / `646 B` | | [`src/components/TabList.js`](https://github.com/reactjs/react-tabs/blob/next/src/components/TabList.js) | `670 B` / `326 B` | | [`src/components/Tabs.js`](https://github.com/reactjs/react-tabs/blob/next/src/components/Tabs.js) | `4.2 kB` / `1.5 kB` | | [`src/helpers/childrenDeepMap.js`](https://github.com/reactjs/react-tabs/blob/next/src/helpers/childrenDeepMap.js) | `1.4 kB` / `441 B` | | [`src/helpers/count.js`](https://github.com/reactjs/react-tabs/blob/next/src/helpers/count.js) | `250 B` / `176 B` | | [`src/helpers/elementTypes.js`](https://github.com/reactjs/react-tabs/blob/next/src/helpers/elementTypes.js) | `269 B` / `156 B` | | [`src/helpers/propTypes.js`](https://github.com/reactjs/react-tabs/blob/next/src/helpers/propTypes.js) | `3.3 kB` / `1.0 kB` | | [`style/react-tabs.css`](https://github.com/reactjs/react-tabs/blob/next/style/react-tabs.css) | `842 B` / `369 B` | | [`style/react-tabs.less`](https://github.com/reactjs/react-tabs/blob/next/style/react-tabs.less) | `879 B` / `393 B` | | [`style/react-tabs.scss`](https://github.com/reactjs/react-tabs/blob/next/style/react-tabs.scss) | `879 B` / `393 B` |
Hidden files | File | Before (Size / Gzip) | After (Size / Gzip) | | --------------------------------------- | --------------------: | --------------------------------------------------------: | | `dist/react-tabs.development.js.map` | `55.0 kB` / `14.6 kB` | -9.92%↓`49.6 kB` / -6.79%↓`13.6 kB` | | `dist/react-tabs.production.min.js.map` | `32.8 kB` / `9.6 kB` | -1.42%↓`32.4 kB` / -1.16%↓`9.5 kB` |

🤖 This report was automatically generated by pkg-size-action

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 5.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: