Skip to content

Commit 7e74509

Browse files
committed
build(rollup): update rollup plugins
1 parent 7addf49 commit 7e74509

4 files changed

Lines changed: 136 additions & 141 deletions

File tree

docs/docs/index.html

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ <h3 class='fl m0' id='fontface'>
16251625
<p>CSS for a @font-face declaration.</p>
16261626

16271627

1628-
<div class='pre p1 fill-light mt0'>fontFace($0: any): <a href="#styles">Styles</a></div>
1628+
<div class='pre p1 fill-light mt0'>fontFace($0: <a href="#fontfaceconfiguration">FontFaceConfiguration</a>): <a href="#styles">Styles</a></div>
16291629

16301630

16311631
<p>
@@ -1648,7 +1648,7 @@ <h3 class='fl m0' id='fontface'>
16481648

16491649
<div class='space-bottom0'>
16501650
<div>
1651-
<span class='code bold'>$0</span> <code class='quiet'>(any)</code>
1651+
<span class='code bold'>$0</span> <code class='quiet'>(<a href="#fontfaceconfiguration">FontFaceConfiguration</a>)</code>
16521652

16531653
</div>
16541654

@@ -2157,7 +2157,7 @@ <h3 class='fl m0' id='lineargradient'>
21572157
<p>CSS for declaring a linear gradient, including a fallback background-color. The fallback is either the first color-stop or an explicitly passed fallback color.</p>
21582158

21592159

2160-
<div class='pre p1 fill-light mt0'>linearGradient($0: any): <a href="#styles">Styles</a></div>
2160+
<div class='pre p1 fill-light mt0'>linearGradient($0: <a href="#lineargradientconfiguration">LinearGradientConfiguration</a>): <a href="#styles">Styles</a></div>
21612161

21622162

21632163
<p>
@@ -2180,7 +2180,7 @@ <h3 class='fl m0' id='lineargradient'>
21802180

21812181
<div class='space-bottom0'>
21822182
<div>
2183-
<span class='code bold'>$0</span> <code class='quiet'>(any)</code>
2183+
<span class='code bold'>$0</span> <code class='quiet'>(<a href="#lineargradientconfiguration">LinearGradientConfiguration</a>)</code>
21842184

21852185
</div>
21862186

@@ -2403,7 +2403,7 @@ <h3 class='fl m0' id='radialgradient'>
24032403
<p>CSS for declaring a radial gradient, including a fallback background-color. The fallback is either the first color-stop or an explicitly passed fallback color.</p>
24042404

24052405

2406-
<div class='pre p1 fill-light mt0'>radialGradient($0: any): <a href="#styles">Styles</a></div>
2406+
<div class='pre p1 fill-light mt0'>radialGradient($0: <a href="#radialgradientconfiguration">RadialGradientConfiguration</a>): <a href="#styles">Styles</a></div>
24072407

24082408

24092409
<p>
@@ -2426,7 +2426,7 @@ <h3 class='fl m0' id='radialgradient'>
24262426

24272427
<div class='space-bottom0'>
24282428
<div>
2429-
<span class='code bold'>$0</span> <code class='quiet'>(any)</code>
2429+
<span class='code bold'>$0</span> <code class='quiet'>(<a href="#radialgradientconfiguration">RadialGradientConfiguration</a>)</code>
24302430

24312431
</div>
24322432

@@ -2573,7 +2573,7 @@ <h3 class='fl m0' id='retinaimage'>
25732573
a _2x.png filename suffix by default.</p>
25742574

25752575

2576-
<div class='pre p1 fill-light mt0'>retinaImage(filename: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, backgroundSize: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, extension: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, retinaFilename: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, retinaSuffix: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>): <a href="#styles">Styles</a></div>
2576+
<div class='pre p1 fill-light mt0'>retinaImage(filename: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, backgroundSize: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?, extension: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, retinaFilename: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?, retinaSuffix: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>): <a href="#styles">Styles</a></div>
25772577

25782578

25792579
<p>
@@ -2604,7 +2604,7 @@ <h3 class='fl m0' id='retinaimage'>
26042604

26052605
<div class='space-bottom0'>
26062606
<div>
2607-
<span class='code bold'>backgroundSize</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>)</code>
2607+
<span class='code bold'>backgroundSize</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?)</code>
26082608

26092609
</div>
26102610

@@ -2621,7 +2621,7 @@ <h3 class='fl m0' id='retinaimage'>
26212621

26222622
<div class='space-bottom0'>
26232623
<div>
2624-
<span class='code bold'>retinaFilename</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>)</code>
2624+
<span class='code bold'>retinaFilename</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>?)</code>
26252625

26262626
</div>
26272627

@@ -2823,7 +2823,7 @@ <h3 class='fl m0' id='triangle'>
28232823
<p>CSS to represent triangle with any pointing direction with an optional background color.</p>
28242824

28252825

2826-
<div class='pre p1 fill-light mt0'>triangle($0: any): <a href="#styles">Styles</a></div>
2826+
<div class='pre p1 fill-light mt0'>triangle($0: <a href="#triangleconfiguration">TriangleConfiguration</a>): <a href="#styles">Styles</a></div>
28272827

28282828

28292829
<p>
@@ -2846,7 +2846,7 @@ <h3 class='fl m0' id='triangle'>
28462846

28472847
<div class='space-bottom0'>
28482848
<div>
2849-
<span class='code bold'>$0</span> <code class='quiet'>(any)</code>
2849+
<span class='code bold'>$0</span> <code class='quiet'>(<a href="#triangleconfiguration">TriangleConfiguration</a>)</code>
28502850

28512851
</div>
28522852

@@ -3880,7 +3880,7 @@ <h3 class='fl m0' id='hsl'>
38803880
<p>Returns a string value for the color. The returned result is the smallest possible hex notation.</p>
38813881

38823882

3883-
<div class='pre p1 fill-light mt0'>hsl(value: (<a href="#hslcolor">HslColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), saturation: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, lightness: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
3883+
<div class='pre p1 fill-light mt0'>hsl(value: (<a href="#hslcolor">HslColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), saturation: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, lightness: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
38843884

38853885

38863886
<p>
@@ -3911,15 +3911,15 @@ <h3 class='fl m0' id='hsl'>
39113911

39123912
<div class='space-bottom0'>
39133913
<div>
3914-
<span class='code bold'>saturation</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
3914+
<span class='code bold'>saturation</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
39153915

39163916
</div>
39173917

39183918
</div>
39193919

39203920
<div class='space-bottom0'>
39213921
<div>
3922-
<span class='code bold'>lightness</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
3922+
<span class='code bold'>lightness</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
39233923

39243924
</div>
39253925

@@ -4004,7 +4004,7 @@ <h3 class='fl m0' id='hsla'>
40044004
<p>Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.</p>
40054005

40064006

4007-
<div class='pre p1 fill-light mt0'>hsla(value: (<a href="#hslacolor">HslaColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), saturation: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, lightness: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, alpha: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
4007+
<div class='pre p1 fill-light mt0'>hsla(value: (<a href="#hslacolor">HslaColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), saturation: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, lightness: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, alpha: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
40084008

40094009

40104010
<p>
@@ -4035,23 +4035,23 @@ <h3 class='fl m0' id='hsla'>
40354035

40364036
<div class='space-bottom0'>
40374037
<div>
4038-
<span class='code bold'>saturation</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
4038+
<span class='code bold'>saturation</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
40394039

40404040
</div>
40414041

40424042
</div>
40434043

40444044
<div class='space-bottom0'>
40454045
<div>
4046-
<span class='code bold'>lightness</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
4046+
<span class='code bold'>lightness</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
40474047

40484048
</div>
40494049

40504050
</div>
40514051

40524052
<div class='space-bottom0'>
40534053
<div>
4054-
<span class='code bold'>alpha</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
4054+
<span class='code bold'>alpha</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
40554055

40564056
</div>
40574057

@@ -5140,7 +5140,7 @@ <h3 class='fl m0' id='rgb'>
51405140
<p>Returns a string value for the color. The returned result is the smallest possible hex notation.</p>
51415141

51425142

5143-
<div class='pre p1 fill-light mt0'>rgb(value: (<a href="#rgbcolor">RgbColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), green: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, blue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
5143+
<div class='pre p1 fill-light mt0'>rgb(value: (<a href="#rgbcolor">RgbColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), green: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, blue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
51445144

51455145

51465146
<p>
@@ -5171,15 +5171,15 @@ <h3 class='fl m0' id='rgb'>
51715171

51725172
<div class='space-bottom0'>
51735173
<div>
5174-
<span class='code bold'>green</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
5174+
<span class='code bold'>green</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
51755175

51765176
</div>
51775177

51785178
</div>
51795179

51805180
<div class='space-bottom0'>
51815181
<div>
5182-
<span class='code bold'>blue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
5182+
<span class='code bold'>blue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
51835183

51845184
</div>
51855185

@@ -5265,7 +5265,7 @@ <h3 class='fl m0' id='rgba'>
52655265
<p>Can also be used to fade a color by passing a hex value or named CSS color along with an alpha value.</p>
52665266

52675267

5268-
<div class='pre p1 fill-light mt0'>rgba(firstValue: (<a href="#rgbacolor">RgbaColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>), secondValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, thirdValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, fourthValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
5268+
<div class='pre p1 fill-light mt0'>rgba(firstValue: (<a href="#rgbacolor">RgbaColor</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>), secondValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, thirdValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?, fourthValue: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
52695269

52705270

52715271
<p>
@@ -5296,23 +5296,23 @@ <h3 class='fl m0' id='rgba'>
52965296

52975297
<div class='space-bottom0'>
52985298
<div>
5299-
<span class='code bold'>secondValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
5299+
<span class='code bold'>secondValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
53005300

53015301
</div>
53025302

53035303
</div>
53045304

53055305
<div class='space-bottom0'>
53065306
<div>
5307-
<span class='code bold'>thirdValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
5307+
<span class='code bold'>thirdValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
53085308

53095309
</div>
53105310

53115311
</div>
53125312

53135313
<div class='space-bottom0'>
53145314
<div>
5315-
<span class='code bold'>fourthValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>)</code>
5315+
<span class='code bold'>fourthValue</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>?)</code>
53165316

53175317
</div>
53185318

@@ -6462,7 +6462,7 @@ <h3 class='fl m0' id='math'>
64626462
<p><em>warning</em> While we've done everything possible to ensure math safely evalutes formulas expressed as strings, you should always use extreme caution when passing <code>math</code> user provided values.</p>
64636463

64646464

6465-
<div class='pre p1 fill-light mt0'>math(formula: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, additionalSymbols: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
6465+
<div class='pre p1 fill-light mt0'>math(formula: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>, additionalSymbols: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>?): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></div>
64666466

64676467

64686468
<p>
@@ -6493,7 +6493,7 @@ <h3 class='fl m0' id='math'>
64936493

64946494
<div class='space-bottom0'>
64956495
<div>
6496-
<span class='code bold'>additionalSymbols</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>)</code>
6496+
<span class='code bold'>additionalSymbols</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>?)</code>
64976497

64986498
</div>
64996499

@@ -8909,7 +8909,7 @@ <h3 class='fl m0' id='stripunit'>
89098909
<p>Returns a given CSS value minus its unit (or the original value if an invalid string is passed). Optionally returns an array containing the stripped value and the original unit of measure.</p>
89108910

89118911

8912-
<div class='pre p1 fill-light mt0'>stripUnit(value: (<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), unitReturn: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>): any</div>
8912+
<div class='pre p1 fill-light mt0'>stripUnit(value: (<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>), unitReturn: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>?): any</div>
89138913

89148914

89158915
<p>
@@ -8940,7 +8940,7 @@ <h3 class='fl m0' id='stripunit'>
89408940

89418941
<div class='space-bottom0'>
89428942
<div>
8943-
<span class='code bold'>unitReturn</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>)</code>
8943+
<span class='code bold'>unitReturn</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a>?)</code>
89448944

89458945
</div>
89468946

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
"@babel/polyfill": "^7.6.0",
7979
"@babel/preset-env": "^7.6.3",
8080
"@babel/preset-flow": "^7.0.0",
81+
"@rollup/plugin-node-resolve": "^7.0.0",
82+
"@rollup/plugin-replace": "^2.3.0",
8183
"babel-eslint": "^10.0.3",
8284
"babel-jest": "^25.1.0",
8385
"babel-loader": "^8.0.6",
@@ -87,7 +89,7 @@
8789
"concat-stream": "^2.0.0",
8890
"cross-env": "^7.0.0",
8991
"cz-conventional-changelog": "^3.0.2",
90-
"documentation": "9.3.1",
92+
"documentation": "12.1.4",
9193
"eslint": "^6.6.0",
9294
"eslint-config-airbnb-base": "^14.0.0",
9395
"eslint-plugin-import": "^2.18.2",

0 commit comments

Comments
 (0)