Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.

Commit dc4de33

Browse files
Update to latest babel, rollup, jest, react, node-sass, etc. (#113)
* Update to latest babel, rollup, jest, react, node-sass, etc. * Upgrade to 1.1.19
1 parent 1132481 commit dc4de33

17 files changed

+13574
-12409
lines changed

.babelrc

+63-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,75 @@
11
{
22
"presets": [
33
[
4-
"env",
4+
"@babel/preset-env",
55
{
66
"modules": false
77
}
88
],
9-
"react",
10-
"stage-0"
9+
"@babel/preset-react"
1110
],
1211
"env": {
1312
"test": {
14-
"presets": ["env", "react", "stage-0"]
13+
"presets": [
14+
"@babel/preset-env",
15+
"@babel/preset-react"
16+
],
17+
"plugins": [
18+
"@babel/plugin-syntax-dynamic-import",
19+
"@babel/plugin-syntax-import-meta",
20+
"@babel/plugin-proposal-class-properties",
21+
"@babel/plugin-proposal-json-strings",
22+
[
23+
"@babel/plugin-proposal-decorators",
24+
{
25+
"legacy": true
26+
}
27+
],
28+
"@babel/plugin-proposal-function-sent",
29+
"@babel/plugin-proposal-export-namespace-from",
30+
"@babel/plugin-proposal-numeric-separator",
31+
"@babel/plugin-proposal-throw-expressions",
32+
"@babel/plugin-proposal-export-default-from",
33+
"@babel/plugin-proposal-logical-assignment-operators",
34+
"@babel/plugin-proposal-optional-chaining",
35+
[
36+
"@babel/plugin-proposal-pipeline-operator",
37+
{
38+
"proposal": "minimal"
39+
}
40+
],
41+
"@babel/plugin-proposal-nullish-coalescing-operator",
42+
"@babel/plugin-proposal-do-expressions",
43+
"@babel/plugin-proposal-function-bind"
44+
]
1545
}
16-
}
46+
},
47+
"plugins": [
48+
"@babel/plugin-syntax-dynamic-import",
49+
"@babel/plugin-syntax-import-meta",
50+
"@babel/plugin-proposal-class-properties",
51+
"@babel/plugin-proposal-json-strings",
52+
[
53+
"@babel/plugin-proposal-decorators",
54+
{
55+
"legacy": true
56+
}
57+
],
58+
"@babel/plugin-proposal-function-sent",
59+
"@babel/plugin-proposal-export-namespace-from",
60+
"@babel/plugin-proposal-numeric-separator",
61+
"@babel/plugin-proposal-throw-expressions",
62+
"@babel/plugin-proposal-export-default-from",
63+
"@babel/plugin-proposal-logical-assignment-operators",
64+
"@babel/plugin-proposal-optional-chaining",
65+
[
66+
"@babel/plugin-proposal-pipeline-operator",
67+
{
68+
"proposal": "minimal"
69+
}
70+
],
71+
"@babel/plugin-proposal-nullish-coalescing-operator",
72+
"@babel/plugin-proposal-do-expressions",
73+
"@babel/plugin-proposal-function-bind"
74+
]
1775
}

.storybook/config.js

-7
This file was deleted.

.storybook/webpack.config.js

-13
This file was deleted.

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
*The format of this document is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).*
55

6+
## [v1.1.19](https://github.com/RaspberryPiFoundation/Bits/compare/v1.1.18...v1.1.19 - 2019-05-22
7+
8+
### Changed
9+
10+
- Updates to many dependencies, including babel, rollup, jest, and node-sass
11+
612
## [v1.1.18](https://github.com/RaspberryPiFoundation/Bits/compare/v1.1.17...v1.1.18) - 2018-12-14
713

814
### Fixed

lib/Bits.css

+45-4
Original file line numberDiff line numberDiff line change
@@ -2882,6 +2882,15 @@ strong {
28822882
.u-inline-block {
28832883
display: inline-block !important; }
28842884

2885+
.u-visually-hidden {
2886+
clip: rect(1px 1px 1px 1px) !important;
2887+
2888+
clip: rect(1px, 1px, 1px, 1px) !important;
2889+
height: 1px !important;
2890+
overflow: hidden !important;
2891+
position: absolute !important;
2892+
width: 1px !important; }
2893+
28852894
@media screen and (min-width: 576px) {
28862895
.u-flex\@sm {
28872896
display: -webkit-box !important;
@@ -2894,7 +2903,15 @@ strong {
28942903
.u-inline\@sm {
28952904
display: inline !important; }
28962905
.u-inline-block\@sm {
2897-
display: inline-block !important; } }
2906+
display: inline-block !important; }
2907+
.u-visually-hidden\@sm {
2908+
clip: rect(1px 1px 1px 1px) !important;
2909+
2910+
clip: rect(1px, 1px, 1px, 1px) !important;
2911+
height: 1px !important;
2912+
overflow: hidden !important;
2913+
position: absolute !important;
2914+
width: 1px !important; } }
28982915

28992916
@media screen and (min-width: 768px) {
29002917
.u-flex\@md {
@@ -2908,7 +2925,15 @@ strong {
29082925
.u-inline\@md {
29092926
display: inline !important; }
29102927
.u-inline-block\@md {
2911-
display: inline-block !important; } }
2928+
display: inline-block !important; }
2929+
.u-visually-hidden\@md {
2930+
clip: rect(1px 1px 1px 1px) !important;
2931+
2932+
clip: rect(1px, 1px, 1px, 1px) !important;
2933+
height: 1px !important;
2934+
overflow: hidden !important;
2935+
position: absolute !important;
2936+
width: 1px !important; } }
29122937

29132938
@media screen and (min-width: 992px) {
29142939
.u-flex\@lg {
@@ -2922,7 +2947,15 @@ strong {
29222947
.u-inline\@lg {
29232948
display: inline !important; }
29242949
.u-inline-block\@lg {
2925-
display: inline-block !important; } }
2950+
display: inline-block !important; }
2951+
.u-visually-hidden\@lg {
2952+
clip: rect(1px 1px 1px 1px) !important;
2953+
2954+
clip: rect(1px, 1px, 1px, 1px) !important;
2955+
height: 1px !important;
2956+
overflow: hidden !important;
2957+
position: absolute !important;
2958+
width: 1px !important; } }
29262959

29272960
@media screen and (min-width: 1200px) {
29282961
.u-flex\@xl {
@@ -2936,7 +2969,15 @@ strong {
29362969
.u-inline\@xl {
29372970
display: inline !important; }
29382971
.u-inline-block\@xl {
2939-
display: inline-block !important; } }
2972+
display: inline-block !important; }
2973+
.u-visually-hidden\@xl {
2974+
clip: rect(1px 1px 1px 1px) !important;
2975+
2976+
clip: rect(1px, 1px, 1px, 1px) !important;
2977+
height: 1px !important;
2978+
overflow: hidden !important;
2979+
position: absolute !important;
2980+
width: 1px !important; } }
29402981

29412982

29422983

lib/Bits.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Bits.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)