@ulu/frontend 0.1.0-beta.66 → 0.1.0-beta.68
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/CHANGELOG.md +12 -0
- package/README.dev.md +3 -3
- package/README.md +14 -4
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/changelog/index.html +66 -0
- package/docs-dev/demos/accordion/index.html +30 -0
- package/docs-dev/demos/badge/index.html +5265 -0
- package/docs-dev/demos/breakpoints-manager/index.html +30 -0
- package/docs-dev/demos/button/index.html +30 -0
- package/docs-dev/demos/button-verbose/index.html +30 -0
- package/docs-dev/demos/callout/index.html +30 -0
- package/docs-dev/demos/captioned-figure/index.html +30 -0
- package/docs-dev/demos/card/index.html +46 -16
- package/docs-dev/demos/card-grid/index.html +30 -0
- package/docs-dev/demos/counter-list/index.html +46 -0
- package/docs-dev/demos/css-icons/index.html +30 -0
- package/docs-dev/demos/data-grid/index.html +30 -0
- package/docs-dev/demos/data-table/index.html +130 -100
- package/docs-dev/demos/details-group/index.html +30 -0
- package/docs-dev/demos/file-save/index.html +30 -0
- package/docs-dev/demos/flipcard/index.html +30 -0
- package/docs-dev/demos/form-theme/index.html +30 -0
- package/docs-dev/demos/index.html +30 -0
- package/docs-dev/demos/list-inline/index.html +30 -0
- package/docs-dev/demos/list-lines/index.html +30 -0
- package/docs-dev/demos/menu-stack/index.html +30 -0
- package/docs-dev/demos/modals/index.html +30 -0
- package/docs-dev/demos/nav-strip/index.html +30 -0
- package/docs-dev/demos/overlay-section/index.html +30 -0
- package/docs-dev/demos/popovers/index.html +30 -0
- package/docs-dev/demos/print/index.html +30 -0
- package/docs-dev/demos/pull-quote/index.html +30 -0
- package/docs-dev/demos/rule/index.html +30 -0
- package/docs-dev/demos/scrollpoints/index.html +30 -0
- package/docs-dev/demos/spoke-spinner/index.html +30 -0
- package/docs-dev/demos/sticky-list/index.html +30 -0
- package/docs-dev/demos/tabs/index.html +30 -0
- package/docs-dev/demos/tag/index.html +30 -0
- package/docs-dev/demos/theme-toggle/index.html +30 -0
- package/docs-dev/demos/tiles/index.html +30 -0
- package/docs-dev/demos/tooltip/index.html +30 -0
- package/docs-dev/guide/building-stylesheet/index.html +30 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +30 -0
- package/docs-dev/guide/index.html +30 -0
- package/docs-dev/index.html +30 -0
- package/docs-dev/javascript/events/index.html +30 -0
- package/docs-dev/javascript/index.html +30 -0
- package/docs-dev/javascript/settings/index.html +30 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +30 -0
- package/docs-dev/javascript/ui-collapsible/index.html +30 -0
- package/docs-dev/javascript/ui-details-group/index.html +30 -0
- package/docs-dev/javascript/ui-dialog/index.html +30 -0
- package/docs-dev/javascript/ui-flipcard/index.html +30 -0
- package/docs-dev/javascript/ui-grid/index.html +30 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +30 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +30 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +30 -0
- package/docs-dev/javascript/ui-page/index.html +30 -0
- package/docs-dev/javascript/ui-popover/index.html +30 -0
- package/docs-dev/javascript/ui-print/index.html +30 -0
- package/docs-dev/javascript/ui-print-details/index.html +30 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +30 -0
- package/docs-dev/javascript/ui-proxy-click/index.html +30 -0
- package/docs-dev/javascript/ui-resizer/index.html +30 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +30 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +30 -0
- package/docs-dev/javascript/ui-slider/index.html +30 -0
- package/docs-dev/javascript/ui-tabs/index.html +30 -0
- package/docs-dev/javascript/ui-theme-toggle/index.html +30 -0
- package/docs-dev/javascript/ui-tooltip/index.html +30 -0
- package/docs-dev/javascript/utils-class-logger/index.html +30 -0
- package/docs-dev/javascript/utils-css/index.html +30 -0
- package/docs-dev/javascript/utils-dom/index.html +30 -0
- package/docs-dev/javascript/utils-file-save/index.html +30 -0
- package/docs-dev/javascript/utils-floating-ui/index.html +30 -0
- package/docs-dev/javascript/utils-id/index.html +30 -0
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +30 -0
- package/docs-dev/javascript/utils-system/index.html +30 -0
- package/docs-dev/sass/base/color/index.html +30 -0
- package/docs-dev/sass/base/elements/index.html +30 -0
- package/docs-dev/sass/base/index/index.html +30 -0
- package/docs-dev/sass/base/index.html +30 -0
- package/docs-dev/sass/base/keyframes/index.html +30 -0
- package/docs-dev/sass/base/layout/index.html +30 -0
- package/docs-dev/sass/base/normalize/index.html +30 -0
- package/docs-dev/sass/base/print/index.html +30 -0
- package/docs-dev/sass/base/root/index.html +30 -0
- package/docs-dev/sass/base/typography/index.html +30 -0
- package/docs-dev/sass/components/accordion/index.html +30 -0
- package/docs-dev/sass/components/adaptive-spacing/index.html +30 -0
- package/docs-dev/sass/components/badge/index.html +52 -11
- package/docs-dev/sass/components/basic-hero/index.html +30 -0
- package/docs-dev/sass/components/button/index.html +30 -0
- package/docs-dev/sass/components/button-verbose/index.html +30 -0
- package/docs-dev/sass/components/callout/index.html +30 -0
- package/docs-dev/sass/components/captioned-figure/index.html +30 -0
- package/docs-dev/sass/components/card/index.html +30 -0
- package/docs-dev/sass/components/card-grid/index.html +30 -0
- package/docs-dev/sass/components/counter-list/index.html +45 -8
- package/docs-dev/sass/components/css-icon/index.html +30 -0
- package/docs-dev/sass/components/data-grid/index.html +30 -0
- package/docs-dev/sass/components/data-table/index.html +30 -0
- package/docs-dev/sass/components/fill-context/index.html +30 -0
- package/docs-dev/sass/components/flipcard/index.html +30 -0
- package/docs-dev/sass/components/flipcard-grid/index.html +30 -0
- package/docs-dev/sass/components/form-theme/index.html +30 -0
- package/docs-dev/sass/components/hero/index.html +30 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +30 -0
- package/docs-dev/sass/components/image-grid/index.html +30 -0
- package/docs-dev/sass/components/index/index.html +30 -0
- package/docs-dev/sass/components/index.html +30 -0
- package/docs-dev/sass/components/links/index.html +30 -0
- package/docs-dev/sass/components/list-inline/index.html +30 -0
- package/docs-dev/sass/components/list-lines/index.html +30 -0
- package/docs-dev/sass/components/list-ordered/index.html +30 -0
- package/docs-dev/sass/components/list-unordered/index.html +30 -0
- package/docs-dev/sass/components/menu-stack/index.html +30 -0
- package/docs-dev/sass/components/modal/index.html +30 -0
- package/docs-dev/sass/components/nav-strip/index.html +30 -0
- package/docs-dev/sass/components/overlay-section/index.html +30 -0
- package/docs-dev/sass/components/pager/index.html +30 -0
- package/docs-dev/sass/components/placeholder-block/index.html +30 -0
- package/docs-dev/sass/components/popover/index.html +30 -0
- package/docs-dev/sass/components/pull-quote/index.html +30 -0
- package/docs-dev/sass/components/ratio-box/index.html +30 -0
- package/docs-dev/sass/components/rule/index.html +30 -0
- package/docs-dev/sass/components/scroll-slider/index.html +30 -0
- package/docs-dev/sass/components/skip-link/index.html +30 -0
- package/docs-dev/sass/components/slider/index.html +30 -0
- package/docs-dev/sass/components/spoke-spinner/index.html +30 -0
- package/docs-dev/sass/components/sticky-list/index.html +30 -0
- package/docs-dev/sass/components/tabs/index.html +30 -0
- package/docs-dev/sass/components/tag/index.html +30 -0
- package/docs-dev/sass/components/tile-button/index.html +30 -0
- package/docs-dev/sass/components/tile-grid/index.html +30 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +30 -0
- package/docs-dev/sass/components/vignette/index.html +30 -0
- package/docs-dev/sass/components/wysiwyg/index.html +30 -0
- package/docs-dev/sass/core/breakpoint/index.html +96 -28
- package/docs-dev/sass/core/button/index.html +30 -0
- package/docs-dev/sass/core/color/index.html +30 -0
- package/docs-dev/sass/core/cssvar/index.html +30 -0
- package/docs-dev/sass/core/element/index.html +30 -0
- package/docs-dev/sass/core/index.html +30 -0
- package/docs-dev/sass/core/layout/index.html +30 -0
- package/docs-dev/sass/core/path/index.html +30 -0
- package/docs-dev/sass/core/selector/index.html +30 -0
- package/docs-dev/sass/core/typography/index.html +30 -0
- package/docs-dev/sass/core/units/index.html +30 -0
- package/docs-dev/sass/core/utils/index.html +470 -193
- package/docs-dev/sass/helpers/color/index.html +30 -0
- package/docs-dev/sass/helpers/display/index.html +30 -0
- package/docs-dev/sass/helpers/index/index.html +30 -0
- package/docs-dev/sass/helpers/index.html +30 -0
- package/docs-dev/sass/helpers/typography/index.html +30 -0
- package/docs-dev/sass/helpers/units/index.html +30 -0
- package/docs-dev/sass/helpers/utilities/index.html +30 -0
- package/docs-dev/sass/index.html +30 -0
- package/package.json +11 -3
- package/scss/README.md +4 -0
- package/scss/_breakpoint.scss +28 -7
- package/scss/_utils.scss +140 -11
- package/scss/components/_badge.scss +23 -4
- package/scss/components/_counter-list.scss +21 -7
|
@@ -166,6 +166,21 @@
|
|
|
166
166
|
</li>
|
|
167
167
|
|
|
168
168
|
|
|
169
|
+
<li class="nav-tree__item ">
|
|
170
|
+
|
|
171
|
+
<a class="nav-tree__link " href="/frontend/demos/badge/">
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<span class="nav-tree__text">
|
|
175
|
+
Badge
|
|
176
|
+
</span>
|
|
177
|
+
|
|
178
|
+
</a>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
</li>
|
|
182
|
+
|
|
183
|
+
|
|
169
184
|
<li class="nav-tree__item ">
|
|
170
185
|
|
|
171
186
|
<a class="nav-tree__link " href="/frontend/demos/basic-hero/">
|
|
@@ -2712,6 +2727,21 @@
|
|
|
2712
2727
|
</li>
|
|
2713
2728
|
|
|
2714
2729
|
|
|
2730
|
+
<li class="nav-tree__item ">
|
|
2731
|
+
|
|
2732
|
+
<a class="nav-tree__link " href="/frontend/demos/badge/">
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
<span class="nav-tree__text">
|
|
2736
|
+
Badge
|
|
2737
|
+
</span>
|
|
2738
|
+
|
|
2739
|
+
</a>
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
</li>
|
|
2743
|
+
|
|
2744
|
+
|
|
2715
2745
|
<li class="nav-tree__item ">
|
|
2716
2746
|
|
|
2717
2747
|
<a class="nav-tree__link " href="/frontend/demos/basic-hero/">
|
|
@@ -5218,6 +5248,9 @@
|
|
|
5218
5248
|
<li><a href="#function-add-unit">add-unit()</a>
|
|
5219
5249
|
</li>
|
|
5220
5250
|
|
|
5251
|
+
<li><a href="#function-units-match">units-match()</a>
|
|
5252
|
+
</li>
|
|
5253
|
+
|
|
5221
5254
|
<li><a href="#function-map-merge">map-merge()</a>
|
|
5222
5255
|
</li>
|
|
5223
5256
|
|
|
@@ -5313,15 +5346,6 @@
|
|
|
5313
5346
|
|
|
5314
5347
|
<li><a href="#function-is-side">is-side()</a>
|
|
5315
5348
|
</li>
|
|
5316
|
-
</ol>
|
|
5317
|
-
</li>
|
|
5318
|
-
|
|
5319
|
-
<li><a href="#css">CSS</a>
|
|
5320
|
-
|
|
5321
|
-
<ol>
|
|
5322
|
-
|
|
5323
|
-
<li><a href="#%2F%2F-could-be-made-into-multiple-arguments-in-future-if-needed">// Could be made into multiple arguments in future if needed</a>
|
|
5324
|
-
</li>
|
|
5325
5349
|
</ol>
|
|
5326
5350
|
</li>
|
|
5327
5351
|
</ol>
|
|
@@ -5455,8 +5479,8 @@
|
|
|
5455
5479
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5456
5480
|
<li><strong>Group:</strong> utils</li>
|
|
5457
5481
|
<li><strong>Type:</strong> mixin</li>
|
|
5458
|
-
<li><strong>Lines (comments):</strong>
|
|
5459
|
-
<li><strong>Lines (code):</strong>
|
|
5482
|
+
<li><strong>Lines (comments):</strong> 71-75</li>
|
|
5483
|
+
<li><strong>Lines (code):</strong> 77-87</li>
|
|
5460
5484
|
</ul>
|
|
5461
5485
|
</details>
|
|
5462
5486
|
<h4 id="parameters-1" tabindex="-1">Parameters</h4>
|
|
@@ -5504,8 +5528,8 @@
|
|
|
5504
5528
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5505
5529
|
<li><strong>Group:</strong> utils</li>
|
|
5506
5530
|
<li><strong>Type:</strong> mixin</li>
|
|
5507
|
-
<li><strong>Lines (comments):</strong>
|
|
5508
|
-
<li><strong>Lines (code):</strong>
|
|
5531
|
+
<li><strong>Lines (comments):</strong> 89-93</li>
|
|
5532
|
+
<li><strong>Lines (code):</strong> 95-99</li>
|
|
5509
5533
|
</ul>
|
|
5510
5534
|
</details>
|
|
5511
5535
|
<h4 id="parameters-2" tabindex="-1">Parameters</h4>
|
|
@@ -5557,8 +5581,8 @@
|
|
|
5557
5581
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5558
5582
|
<li><strong>Group:</strong> utils</li>
|
|
5559
5583
|
<li><strong>Type:</strong> mixin</li>
|
|
5560
|
-
<li><strong>Lines (comments):</strong>
|
|
5561
|
-
<li><strong>Lines (code):</strong>
|
|
5584
|
+
<li><strong>Lines (comments):</strong> 125-127</li>
|
|
5585
|
+
<li><strong>Lines (code):</strong> 129-137</li>
|
|
5562
5586
|
</ul>
|
|
5563
5587
|
</details>
|
|
5564
5588
|
<h4 id="parameters-3" tabindex="-1">Parameters</h4>
|
|
@@ -5596,8 +5620,8 @@
|
|
|
5596
5620
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5597
5621
|
<li><strong>Group:</strong> utils</li>
|
|
5598
5622
|
<li><strong>Type:</strong> mixin</li>
|
|
5599
|
-
<li><strong>Lines (comments):</strong>
|
|
5600
|
-
<li><strong>Lines (code):</strong>
|
|
5623
|
+
<li><strong>Lines (comments):</strong> 655-658</li>
|
|
5624
|
+
<li><strong>Lines (code):</strong> 660-667</li>
|
|
5601
5625
|
</ul>
|
|
5602
5626
|
</details>
|
|
5603
5627
|
<h4 id="parameters-4" tabindex="-1">Parameters</h4>
|
|
@@ -5641,8 +5665,8 @@
|
|
|
5641
5665
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5642
5666
|
<li><strong>Group:</strong> utils</li>
|
|
5643
5667
|
<li><strong>Type:</strong> function</li>
|
|
5644
|
-
<li><strong>Lines (comments):</strong> 35-
|
|
5645
|
-
<li><strong>Lines (code):</strong>
|
|
5668
|
+
<li><strong>Lines (comments):</strong> 35-41</li>
|
|
5669
|
+
<li><strong>Lines (code):</strong> 43-45</li>
|
|
5646
5670
|
</ul>
|
|
5647
5671
|
</details>
|
|
5648
5672
|
<h4 id="examples-1" tabindex="-1">Examples</h4>
|
|
@@ -5670,6 +5694,19 @@
|
|
|
5670
5694
|
</tr>
|
|
5671
5695
|
</tbody>
|
|
5672
5696
|
</table>
|
|
5697
|
+
<h4 id="returns" tabindex="-1">Returns</h4>
|
|
5698
|
+
<table>
|
|
5699
|
+
<thead>
|
|
5700
|
+
<tr>
|
|
5701
|
+
<th style="text-align:left">Type</th>
|
|
5702
|
+
</tr>
|
|
5703
|
+
</thead>
|
|
5704
|
+
<tbody>
|
|
5705
|
+
<tr>
|
|
5706
|
+
<td style="text-align:left">Dimension</td>
|
|
5707
|
+
</tr>
|
|
5708
|
+
</tbody>
|
|
5709
|
+
</table>
|
|
5673
5710
|
<h4 id="require-2" tabindex="-1">Require</h4>
|
|
5674
5711
|
<ul>
|
|
5675
5712
|
<li><a href="/frontend/sass/core/utils/#function-require-map-get">require-map-get()</a></li>
|
|
@@ -5691,8 +5728,8 @@
|
|
|
5691
5728
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5692
5729
|
<li><strong>Group:</strong> utils</li>
|
|
5693
5730
|
<li><strong>Type:</strong> function</li>
|
|
5694
|
-
<li><strong>Lines (comments):</strong>
|
|
5695
|
-
<li><strong>Lines (code):</strong>
|
|
5731
|
+
<li><strong>Lines (comments):</strong> 47-57</li>
|
|
5732
|
+
<li><strong>Lines (code):</strong> 59-69</li>
|
|
5696
5733
|
</ul>
|
|
5697
5734
|
</details>
|
|
5698
5735
|
<h4 id="examples-2" tabindex="-1">Examples</h4>
|
|
@@ -5731,7 +5768,7 @@
|
|
|
5731
5768
|
</tr>
|
|
5732
5769
|
</tbody>
|
|
5733
5770
|
</table>
|
|
5734
|
-
<h4 id="returns" tabindex="-1">Returns</h4>
|
|
5771
|
+
<h4 id="returns-1" tabindex="-1">Returns</h4>
|
|
5735
5772
|
<table>
|
|
5736
5773
|
<thead>
|
|
5737
5774
|
<tr>
|
|
@@ -5767,10 +5804,29 @@
|
|
|
5767
5804
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5768
5805
|
<li><strong>Group:</strong> utils</li>
|
|
5769
5806
|
<li><strong>Type:</strong> function</li>
|
|
5770
|
-
<li><strong>Lines (comments):</strong>
|
|
5771
|
-
<li><strong>Lines (code):</strong>
|
|
5807
|
+
<li><strong>Lines (comments):</strong> 101-118</li>
|
|
5808
|
+
<li><strong>Lines (code):</strong> 120-123</li>
|
|
5772
5809
|
</ul>
|
|
5773
5810
|
</details>
|
|
5811
|
+
<h4 id="examples-3" tabindex="-1">Examples</h4>
|
|
5812
|
+
<p>Example usage</p>
|
|
5813
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$include-styles</span></span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
5814
|
+
<span class="pjs-token pjs-string">"h2"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span><span class="pjs-token pjs-punctuation">,</span>
|
|
5815
|
+
<span class="pjs-token pjs-string">"h3"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">false</span>
|
|
5816
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5817
|
+
<span class="pjs-token pjs-keyword">@if</span><span class="pjs-token pjs-punctuation">(</span>ulu.<span class="pjs-token pjs-function">utils-included</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"h2"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$include-styles</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">)</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5818
|
+
<span class="pjs-token pjs-selector">h2 </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5819
|
+
<span class="pjs-token pjs-property">font-size</span><span class="pjs-token pjs-punctuation">:</span> 24px<span class="pjs-token pjs-punctuation">;</span>
|
|
5820
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5821
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5822
|
+
<span class="pjs-token pjs-keyword">@if</span><span class="pjs-token pjs-punctuation">(</span>ulu.<span class="pjs-token pjs-function">utils-included</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"h3"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$include-styles</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">)</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5823
|
+
<span class="pjs-token pjs-selector">h3 </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5824
|
+
<span class="pjs-token pjs-property">font-size</span><span class="pjs-token pjs-punctuation">:</span> 18px<span class="pjs-token pjs-punctuation">;</span>
|
|
5825
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5826
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5827
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">h2</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5828
|
+
<span class="pjs-token pjs-property">font-size</span><span class="pjs-token pjs-punctuation">:</span> 24px<span class="pjs-token pjs-punctuation">;</span>
|
|
5829
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5774
5830
|
<h4 id="parameters-7" tabindex="-1">Parameters</h4>
|
|
5775
5831
|
<table>
|
|
5776
5832
|
<thead>
|
|
@@ -5803,16 +5859,35 @@
|
|
|
5803
5859
|
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
5804
5860
|
</div>
|
|
5805
5861
|
</div>
|
|
5862
|
+
<p>Provide a default when value type is not correct</p>
|
|
5806
5863
|
<details>
|
|
5807
5864
|
<summary>File Information</summary>
|
|
5808
5865
|
<ul>
|
|
5809
5866
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5810
5867
|
<li><strong>Group:</strong> utils</li>
|
|
5811
5868
|
<li><strong>Type:</strong> function</li>
|
|
5812
|
-
<li><strong>Lines (comments):</strong>
|
|
5813
|
-
<li><strong>Lines (code):</strong>
|
|
5869
|
+
<li><strong>Lines (comments):</strong> 139-153</li>
|
|
5870
|
+
<li><strong>Lines (code):</strong> 155-161</li>
|
|
5814
5871
|
</ul>
|
|
5815
5872
|
</details>
|
|
5873
|
+
<h4 id="examples-4" tabindex="-1">Examples</h4>
|
|
5874
|
+
<p>Example usage</p>
|
|
5875
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-accent-color</span></span><span class="pjs-token pjs-punctuation">:</span> #FE5F55<span class="pjs-token pjs-punctuation">;</span>
|
|
5876
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-error-color</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"##C6ECAE"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5877
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$default-color</span></span><span class="pjs-token pjs-punctuation">:</span> #777DA7<span class="pjs-token pjs-punctuation">;</span>
|
|
5878
|
+
<span class="pjs-token pjs-selector">.accent-color </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5879
|
+
<span class="pjs-token pjs-property">background-color</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-if-type</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$user-accent-color</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$default-color</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5880
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5881
|
+
<span class="pjs-token pjs-selector">.error-color </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5882
|
+
<span class="pjs-token pjs-property">background-color</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-if-type</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$user-error-color</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$default-color</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5883
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5884
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.accent-color</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5885
|
+
<span class="pjs-token pjs-property">background-color</span><span class="pjs-token pjs-punctuation">:</span> #FE5F55<span class="pjs-token pjs-punctuation">;</span>
|
|
5886
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5887
|
+
|
|
5888
|
+
<span class="pjs-token pjs-selector">.error-color</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5889
|
+
<span class="pjs-token pjs-property">background-color</span><span class="pjs-token pjs-punctuation">:</span> #777DA7<span class="pjs-token pjs-punctuation">;</span>
|
|
5890
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5816
5891
|
<h4 id="parameters-8" tabindex="-1">Parameters</h4>
|
|
5817
5892
|
<table>
|
|
5818
5893
|
<thead>
|
|
@@ -5840,22 +5915,55 @@
|
|
|
5840
5915
|
</tr>
|
|
5841
5916
|
</tbody>
|
|
5842
5917
|
</table>
|
|
5918
|
+
<h4 id="returns-2" tabindex="-1">Returns</h4>
|
|
5919
|
+
<table>
|
|
5920
|
+
<thead>
|
|
5921
|
+
<tr>
|
|
5922
|
+
<th style="text-align:left">Type</th>
|
|
5923
|
+
<th style="text-align:left">Description</th>
|
|
5924
|
+
</tr>
|
|
5925
|
+
</thead>
|
|
5926
|
+
<tbody>
|
|
5927
|
+
<tr>
|
|
5928
|
+
<td style="text-align:left">CssValue</td>
|
|
5929
|
+
<td style="text-align:left">Returns the value or the fallback.</td>
|
|
5930
|
+
</tr>
|
|
5931
|
+
</tbody>
|
|
5932
|
+
</table>
|
|
5843
5933
|
<div class="sassdoc-item-header">
|
|
5844
5934
|
<h3 id="function-number-info" tabindex="-1">number-info()</h3>
|
|
5845
5935
|
<div class="sassdoc-item-header__labels">
|
|
5846
5936
|
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
5847
5937
|
</div>
|
|
5848
5938
|
</div>
|
|
5939
|
+
<p>Returns number unit info, and strips the unit</p>
|
|
5849
5940
|
<details>
|
|
5850
5941
|
<summary>File Information</summary>
|
|
5851
5942
|
<ul>
|
|
5852
5943
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5853
5944
|
<li><strong>Group:</strong> utils</li>
|
|
5854
5945
|
<li><strong>Type:</strong> function</li>
|
|
5855
|
-
<li><strong>Lines (comments):</strong>
|
|
5856
|
-
<li><strong>Lines (code):</strong>
|
|
5946
|
+
<li><strong>Lines (comments):</strong> 163-175</li>
|
|
5947
|
+
<li><strong>Lines (code):</strong> 177-197</li>
|
|
5857
5948
|
</ul>
|
|
5858
5949
|
</details>
|
|
5950
|
+
<h4 id="examples-5" tabindex="-1">Examples</h4>
|
|
5951
|
+
<p>Example usage</p>
|
|
5952
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$size-info</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-number-info</span><span class="pjs-token pjs-punctuation">(</span>24px<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5953
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$size-info-invalid</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-number-info</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"Twenty Four Pixels"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5954
|
+
<span class="pjs-token pjs-selector">.number-info-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5955
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> meta.<span class="pjs-token pjs-function">inspect</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$size-info</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5956
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5957
|
+
<span class="pjs-token pjs-selector">.number-info-invalid-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
5958
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> meta.<span class="pjs-token pjs-function">inspect</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$size-info-invalid</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5959
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5960
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.number-info-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5961
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"unit"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"px"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"value"</span><span class="pjs-token pjs-punctuation">:</span> 24<span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"invalid"</span><span class="pjs-token pjs-punctuation">:</span> false<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5962
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
5963
|
+
|
|
5964
|
+
<span class="pjs-token pjs-selector">.number-info-invalid-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
5965
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"unit"</span><span class="pjs-token pjs-punctuation">:</span> null<span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"value"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"Twenty Four Pixels"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"invalid"</span><span class="pjs-token pjs-punctuation">:</span> true<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
5966
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5859
5967
|
<h4 id="parameters-9" tabindex="-1">Parameters</h4>
|
|
5860
5968
|
<table>
|
|
5861
5969
|
<thead>
|
|
@@ -5873,7 +5981,7 @@
|
|
|
5873
5981
|
</tr>
|
|
5874
5982
|
</tbody>
|
|
5875
5983
|
</table>
|
|
5876
|
-
<h4 id="returns-
|
|
5984
|
+
<h4 id="returns-3" tabindex="-1">Returns</h4>
|
|
5877
5985
|
<table>
|
|
5878
5986
|
<thead>
|
|
5879
5987
|
<tr>
|
|
@@ -5909,10 +6017,21 @@
|
|
|
5909
6017
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5910
6018
|
<li><strong>Group:</strong> utils</li>
|
|
5911
6019
|
<li><strong>Type:</strong> function</li>
|
|
5912
|
-
<li><strong>Lines (comments):</strong>
|
|
5913
|
-
<li><strong>Lines (code):</strong>
|
|
6020
|
+
<li><strong>Lines (comments):</strong> 199-210</li>
|
|
6021
|
+
<li><strong>Lines (code):</strong> 212-214</li>
|
|
5914
6022
|
</ul>
|
|
5915
6023
|
</details>
|
|
6024
|
+
<h4 id="examples-6" tabindex="-1">Examples</h4>
|
|
6025
|
+
<p>Example usage</p>
|
|
6026
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$number</span></span><span class="pjs-token pjs-punctuation">:</span> 12<span class="pjs-token pjs-punctuation">;</span>
|
|
6027
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$unit</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"px"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6028
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$number-with-unit</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-add-unit</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$number</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$unit</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6029
|
+
<span class="pjs-token pjs-selector">.add-unit-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6030
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-variable">$number-with-unit</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6031
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6032
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.add-unit-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6033
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> 12px<span class="pjs-token pjs-punctuation">;</span>
|
|
6034
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5916
6035
|
<h4 id="parameters-10" tabindex="-1">Parameters</h4>
|
|
5917
6036
|
<table>
|
|
5918
6037
|
<thead>
|
|
@@ -5935,7 +6054,7 @@
|
|
|
5935
6054
|
</tr>
|
|
5936
6055
|
</tbody>
|
|
5937
6056
|
</table>
|
|
5938
|
-
<h4 id="returns-
|
|
6057
|
+
<h4 id="returns-4" tabindex="-1">Returns</h4>
|
|
5939
6058
|
<table>
|
|
5940
6059
|
<thead>
|
|
5941
6060
|
<tr>
|
|
@@ -5951,61 +6070,158 @@
|
|
|
5951
6070
|
</tbody>
|
|
5952
6071
|
</table>
|
|
5953
6072
|
<div class="sassdoc-item-header">
|
|
5954
|
-
<h3 id="function-
|
|
6073
|
+
<h3 id="function-units-match" tabindex="-1">units-match()</h3>
|
|
5955
6074
|
<div class="sassdoc-item-header__labels">
|
|
5956
6075
|
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
5957
6076
|
</div>
|
|
5958
6077
|
</div>
|
|
5959
|
-
<p>
|
|
6078
|
+
<p>Checks if two numbers are the same unit</p>
|
|
5960
6079
|
<details>
|
|
5961
6080
|
<summary>File Information</summary>
|
|
5962
6081
|
<ul>
|
|
5963
6082
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5964
6083
|
<li><strong>Group:</strong> utils</li>
|
|
5965
6084
|
<li><strong>Type:</strong> function</li>
|
|
5966
|
-
<li><strong>Lines (comments):</strong>
|
|
5967
|
-
<li><strong>Lines (code):</strong>
|
|
6085
|
+
<li><strong>Lines (comments):</strong> 216-231</li>
|
|
6086
|
+
<li><strong>Lines (code):</strong> 233-235</li>
|
|
5968
6087
|
</ul>
|
|
5969
6088
|
</details>
|
|
6089
|
+
<h4 id="examples-7" tabindex="-1">Examples</h4>
|
|
6090
|
+
<p>Example usage</p>
|
|
6091
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$number-1</span></span><span class="pjs-token pjs-punctuation">:</span> 12px<span class="pjs-token pjs-punctuation">;</span>
|
|
6092
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$number-2</span></span><span class="pjs-token pjs-punctuation">:</span> 12px<span class="pjs-token pjs-punctuation">;</span>
|
|
6093
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$number-3</span></span><span class="pjs-token pjs-punctuation">:</span> 12rem<span class="pjs-token pjs-punctuation">;</span>
|
|
6094
|
+
<span class="pjs-token pjs-selector">.positive-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6095
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-units-match</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$number-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$number-2</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6096
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6097
|
+
<span class="pjs-token pjs-selector">.negative-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6098
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-units-match</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$number-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$number-3</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6099
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6100
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.positive-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6101
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> true<span class="pjs-token pjs-punctuation">;</span>
|
|
6102
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6103
|
+
|
|
6104
|
+
<span class="pjs-token pjs-selector">.negative-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6105
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> false<span class="pjs-token pjs-punctuation">;</span>
|
|
6106
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
5970
6107
|
<h4 id="parameters-11" tabindex="-1">Parameters</h4>
|
|
5971
6108
|
<table>
|
|
5972
6109
|
<thead>
|
|
5973
6110
|
<tr>
|
|
5974
6111
|
<th style="text-align:left">Name</th>
|
|
5975
6112
|
<th style="text-align:left">Type</th>
|
|
5976
|
-
<th style="text-align:left">Description</th>
|
|
5977
6113
|
</tr>
|
|
5978
6114
|
</thead>
|
|
5979
6115
|
<tbody>
|
|
5980
6116
|
<tr>
|
|
5981
|
-
<td style="text-align:left">$
|
|
5982
|
-
<td style="text-align:left"><code>
|
|
5983
|
-
<td style="text-align:left">Source map</td>
|
|
6117
|
+
<td style="text-align:left">$number</td>
|
|
6118
|
+
<td style="text-align:left"><code>Number</code></td>
|
|
5984
6119
|
</tr>
|
|
5985
6120
|
<tr>
|
|
5986
|
-
<td style="text-align:left">$
|
|
5987
|
-
<td style="text-align:left"><code>
|
|
5988
|
-
<td style="text-align:left">Changes to merge into source map</td>
|
|
6121
|
+
<td style="text-align:left">$other-number</td>
|
|
6122
|
+
<td style="text-align:left"><code>String</code></td>
|
|
5989
6123
|
</tr>
|
|
6124
|
+
</tbody>
|
|
6125
|
+
</table>
|
|
6126
|
+
<h4 id="returns-5" tabindex="-1">Returns</h4>
|
|
6127
|
+
<table>
|
|
6128
|
+
<thead>
|
|
5990
6129
|
<tr>
|
|
5991
|
-
<
|
|
5992
|
-
<
|
|
5993
|
-
|
|
6130
|
+
<th style="text-align:left">Type</th>
|
|
6131
|
+
<th style="text-align:left">Description</th>
|
|
6132
|
+
</tr>
|
|
6133
|
+
</thead>
|
|
6134
|
+
<tbody>
|
|
6135
|
+
<tr>
|
|
6136
|
+
<td style="text-align:left">Boolean</td>
|
|
6137
|
+
<td style="text-align:left">Whether they have the same unit type</td>
|
|
6138
|
+
</tr>
|
|
6139
|
+
<tr>
|
|
6140
|
+
<td style="text-align:left">Could be made into multiple arguments in future if needed</td>
|
|
6141
|
+
<td style="text-align:left"></td>
|
|
5994
6142
|
</tr>
|
|
5995
6143
|
</tbody>
|
|
5996
6144
|
</table>
|
|
5997
|
-
<
|
|
6145
|
+
<div class="sassdoc-item-header">
|
|
6146
|
+
<h3 id="function-map-merge" tabindex="-1">map-merge()</h3>
|
|
6147
|
+
<div class="sassdoc-item-header__labels">
|
|
6148
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
6149
|
+
</div>
|
|
6150
|
+
</div>
|
|
6151
|
+
<p>Reusable merge method</p>
|
|
6152
|
+
<details>
|
|
6153
|
+
<summary>File Information</summary>
|
|
6154
|
+
<ul>
|
|
6155
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
6156
|
+
<li><strong>Group:</strong> utils</li>
|
|
6157
|
+
<li><strong>Type:</strong> function</li>
|
|
6158
|
+
<li><strong>Lines (comments):</strong> 237-268</li>
|
|
6159
|
+
<li><strong>Lines (code):</strong> 270-278</li>
|
|
6160
|
+
</ul>
|
|
6161
|
+
</details>
|
|
6162
|
+
<h4 id="examples-8" tabindex="-1">Examples</h4>
|
|
6163
|
+
<p>Example usage</p>
|
|
6164
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map-1</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6165
|
+
<span class="pjs-token pjs-string">"inner-map"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6166
|
+
<span class="pjs-token pjs-string">"color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6167
|
+
<span class="pjs-token pjs-string">"secondary-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span>
|
|
6168
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6169
|
+
<span class="pjs-token pjs-string">"color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6170
|
+
<span class="pjs-token pjs-string">"secondary-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span>
|
|
6171
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6172
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map-2</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6173
|
+
<span class="pjs-token pjs-string">"inner-map"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6174
|
+
<span class="pjs-token pjs-string">"color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span>
|
|
6175
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6176
|
+
<span class="pjs-token pjs-string">"color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6177
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6178
|
+
<span class="pjs-token pjs-selector">.result-default </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6179
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$merged-map</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-merge</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$map-2</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6180
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> meta.<span class="pjs-token pjs-function">inspect</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$merged-map</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6181
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6182
|
+
<span class="pjs-token pjs-selector">.result-deep </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6183
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$merged-map-deep</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-merge</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$map-2</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"deep"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6184
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> meta.<span class="pjs-token pjs-function">inspect</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$merged-map-deep</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6185
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6186
|
+
<span class="pjs-token pjs-selector">.result-overwrite </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6187
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$merged-map-overwrite</span></span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-merge</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$map-2</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"overwrite"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6188
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> meta.<span class="pjs-token pjs-function">inspect</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$merged-map-overwrite</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6189
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6190
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.result-default</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6191
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"inner-map"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"secondary-color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6192
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6193
|
+
|
|
6194
|
+
<span class="pjs-token pjs-selector">.result-deep</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6195
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"inner-map"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"secondary-color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"secondary-color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"green"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6196
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6197
|
+
|
|
6198
|
+
<span class="pjs-token pjs-selector">.result-overwrite</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6199
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"inner-map"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"red"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6200
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6201
|
+
<h4 id="parameters-12" tabindex="-1">Parameters</h4>
|
|
5998
6202
|
<table>
|
|
5999
6203
|
<thead>
|
|
6000
6204
|
<tr>
|
|
6205
|
+
<th style="text-align:left">Name</th>
|
|
6001
6206
|
<th style="text-align:left">Type</th>
|
|
6002
6207
|
<th style="text-align:left">Description</th>
|
|
6003
6208
|
</tr>
|
|
6004
6209
|
</thead>
|
|
6005
6210
|
<tbody>
|
|
6006
6211
|
<tr>
|
|
6007
|
-
<td style="text-align:left"
|
|
6008
|
-
<td style="text-align:left">
|
|
6212
|
+
<td style="text-align:left">$original</td>
|
|
6213
|
+
<td style="text-align:left"><code>Map</code></td>
|
|
6214
|
+
<td style="text-align:left">Source map</td>
|
|
6215
|
+
</tr>
|
|
6216
|
+
<tr>
|
|
6217
|
+
<td style="text-align:left">$changes</td>
|
|
6218
|
+
<td style="text-align:left"><code>Map</code></td>
|
|
6219
|
+
<td style="text-align:left">Changes to merge into source map</td>
|
|
6220
|
+
</tr>
|
|
6221
|
+
<tr>
|
|
6222
|
+
<td style="text-align:left">$mode</td>
|
|
6223
|
+
<td style="text-align:left"><code>String</code></td>
|
|
6224
|
+
<td style="text-align:left">How to merge changes (merge [defualt], deep, or overwrite)</td>
|
|
6009
6225
|
</tr>
|
|
6010
6226
|
</tbody>
|
|
6011
6227
|
</table>
|
|
@@ -6022,11 +6238,32 @@
|
|
|
6022
6238
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6023
6239
|
<li><strong>Group:</strong> utils</li>
|
|
6024
6240
|
<li><strong>Type:</strong> function</li>
|
|
6025
|
-
<li><strong>Lines (comments):</strong>
|
|
6026
|
-
<li><strong>Lines (code):</strong>
|
|
6241
|
+
<li><strong>Lines (comments):</strong> 280-297</li>
|
|
6242
|
+
<li><strong>Lines (code):</strong> 299-304</li>
|
|
6027
6243
|
</ul>
|
|
6028
6244
|
</details>
|
|
6029
|
-
<h4 id="
|
|
6245
|
+
<h4 id="examples-9" tabindex="-1">Examples</h4>
|
|
6246
|
+
<p>Example usage</p>
|
|
6247
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map-1</span></span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6248
|
+
<span class="pjs-token pjs-string">"has-key"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span>
|
|
6249
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6250
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map-2</span></span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6251
|
+
<span class="pjs-token pjs-string">"missing-key"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span>
|
|
6252
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6253
|
+
<span class="pjs-token pjs-selector">.map-1 </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6254
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-has</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map-1</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"has-key"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6255
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6256
|
+
<span class="pjs-token pjs-selector">.map-2 </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6257
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-has</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map-2</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"has-key"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6258
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6259
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.map-1</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6260
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> true<span class="pjs-token pjs-punctuation">;</span>
|
|
6261
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6262
|
+
|
|
6263
|
+
<span class="pjs-token pjs-selector">.map-2</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6264
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> false<span class="pjs-token pjs-punctuation">;</span>
|
|
6265
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6266
|
+
<h4 id="parameters-13" tabindex="-1">Parameters</h4>
|
|
6030
6267
|
<table>
|
|
6031
6268
|
<thead>
|
|
6032
6269
|
<tr>
|
|
@@ -6048,7 +6285,7 @@
|
|
|
6048
6285
|
</tr>
|
|
6049
6286
|
</tbody>
|
|
6050
6287
|
</table>
|
|
6051
|
-
<h4 id="returns-
|
|
6288
|
+
<h4 id="returns-6" tabindex="-1">Returns</h4>
|
|
6052
6289
|
<table>
|
|
6053
6290
|
<thead>
|
|
6054
6291
|
<tr>
|
|
@@ -6084,8 +6321,8 @@
|
|
|
6084
6321
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6085
6322
|
<li><strong>Group:</strong> utils</li>
|
|
6086
6323
|
<li><strong>Type:</strong> function</li>
|
|
6087
|
-
<li><strong>Lines (comments):</strong>
|
|
6088
|
-
<li><strong>Lines (code):</strong>
|
|
6324
|
+
<li><strong>Lines (comments):</strong> 306-307</li>
|
|
6325
|
+
<li><strong>Lines (code):</strong> 309-317</li>
|
|
6089
6326
|
</ul>
|
|
6090
6327
|
</details>
|
|
6091
6328
|
<h4 id="require-7" tabindex="-1">Require</h4>
|
|
@@ -6105,11 +6342,29 @@
|
|
|
6105
6342
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6106
6343
|
<li><strong>Group:</strong> utils</li>
|
|
6107
6344
|
<li><strong>Type:</strong> function</li>
|
|
6108
|
-
<li><strong>Lines (comments):</strong>
|
|
6109
|
-
<li><strong>Lines (code):</strong>
|
|
6345
|
+
<li><strong>Lines (comments):</strong> 319-331</li>
|
|
6346
|
+
<li><strong>Lines (code):</strong> 333-340</li>
|
|
6110
6347
|
</ul>
|
|
6111
6348
|
</details>
|
|
6112
|
-
<h4 id="
|
|
6349
|
+
<h4 id="examples-10" tabindex="-1">Examples</h4>
|
|
6350
|
+
<p>Example usage</p>
|
|
6351
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$fallback-text</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"No input received"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6352
|
+
<span class="pjs-token pjs-selector">.user-name:after </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6353
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-name</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"Johnny"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6354
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-fallback</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-name</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$fallback-text</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6355
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6356
|
+
<span class="pjs-token pjs-selector">.user-birthdate:after </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6357
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-birthdate</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-null pjs-keyword">null</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6358
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-fallback</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-birthdate</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$fallback-text</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6359
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6360
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.user-name:after</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6361
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"Johnny"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6362
|
+
<span class="pjs-token pjs-punctuation">}</span>
|
|
6363
|
+
|
|
6364
|
+
<span class="pjs-token pjs-selector">.user-birthdate:after</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6365
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"No input received"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6366
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6367
|
+
<h4 id="returns-7" tabindex="-1">Returns</h4>
|
|
6113
6368
|
<table>
|
|
6114
6369
|
<thead>
|
|
6115
6370
|
<tr>
|
|
@@ -6137,10 +6392,37 @@
|
|
|
6137
6392
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6138
6393
|
<li><strong>Group:</strong> utils</li>
|
|
6139
6394
|
<li><strong>Type:</strong> function</li>
|
|
6140
|
-
<li><strong>Lines (comments):</strong>
|
|
6141
|
-
<li><strong>Lines (code):</strong>
|
|
6395
|
+
<li><strong>Lines (comments):</strong> 342-354</li>
|
|
6396
|
+
<li><strong>Lines (code):</strong> 356-364</li>
|
|
6142
6397
|
</ul>
|
|
6143
6398
|
</details>
|
|
6399
|
+
<h4 id="examples-11" tabindex="-1">Examples</h4>
|
|
6400
|
+
<p>Example usage</p>
|
|
6401
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6402
|
+
<span class="pjs-token pjs-string">"name"</span><span class="pjs-token pjs-punctuation">:</span> doug<span class="pjs-token pjs-punctuation">,</span>
|
|
6403
|
+
<span class="pjs-token pjs-string">"gpa"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"3"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6404
|
+
<span class="pjs-token pjs-string">"grade"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"B"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6405
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6406
|
+
<span class="pjs-token pjs-selector">.fallback-map </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6407
|
+
<span class="pjs-token pjs-comment">// iterates through properties until it finds one that is a key in the map. </span>
|
|
6408
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-fallback</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"gpa"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"grade"</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"average"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6409
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6410
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.fallback-map</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6411
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"3"</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6412
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6413
|
+
<h4 id="returns-8" tabindex="-1">Returns</h4>
|
|
6414
|
+
<table>
|
|
6415
|
+
<thead>
|
|
6416
|
+
<tr>
|
|
6417
|
+
<th style="text-align:left">Type</th>
|
|
6418
|
+
</tr>
|
|
6419
|
+
</thead>
|
|
6420
|
+
<tbody>
|
|
6421
|
+
<tr>
|
|
6422
|
+
<td style="text-align:left">*</td>
|
|
6423
|
+
</tr>
|
|
6424
|
+
</tbody>
|
|
6425
|
+
</table>
|
|
6144
6426
|
<h4 id="require-8" tabindex="-1">Require</h4>
|
|
6145
6427
|
<ul>
|
|
6146
6428
|
<li><a href="/frontend/sass/core/breakpoint/#function-get">get()</a></li>
|
|
@@ -6158,11 +6440,26 @@
|
|
|
6158
6440
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6159
6441
|
<li><strong>Group:</strong> utils</li>
|
|
6160
6442
|
<li><strong>Type:</strong> function</li>
|
|
6161
|
-
<li><strong>Lines (comments):</strong>
|
|
6162
|
-
<li><strong>Lines (code):</strong>
|
|
6443
|
+
<li><strong>Lines (comments):</strong> 367-383</li>
|
|
6444
|
+
<li><strong>Lines (code):</strong> 384-403</li>
|
|
6163
6445
|
</ul>
|
|
6164
6446
|
</details>
|
|
6165
|
-
<h4 id="
|
|
6447
|
+
<h4 id="examples-12" tabindex="-1">Examples</h4>
|
|
6448
|
+
<p>Example usage</p>
|
|
6449
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$map</span></span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6450
|
+
<span class="pjs-token pjs-string">"has-key"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span>
|
|
6451
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6452
|
+
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$keys</span></span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
6453
|
+
<span class="pjs-token pjs-string">"has-key"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6454
|
+
<span class="pjs-token pjs-string">"needs-key"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
6455
|
+
<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6456
|
+
<span class="pjs-token pjs-selector">.map-contains-any-result </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6457
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-map-contains-any</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$map</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-variable">$keys</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6458
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6459
|
+
<pre class="language-css"><code class="language-css"><span class="pjs-token pjs-selector">.map-contains-any-result</span> <span class="pjs-token pjs-punctuation">{</span>
|
|
6460
|
+
<span class="pjs-token pjs-property">content</span><span class="pjs-token pjs-punctuation">:</span> true<span class="pjs-token pjs-punctuation">;</span>
|
|
6461
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6462
|
+
<h4 id="parameters-14" tabindex="-1">Parameters</h4>
|
|
6166
6463
|
<table>
|
|
6167
6464
|
<thead>
|
|
6168
6465
|
<tr>
|
|
@@ -6216,11 +6513,14 @@
|
|
|
6216
6513
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6217
6514
|
<li><strong>Group:</strong> utils</li>
|
|
6218
6515
|
<li><strong>Type:</strong> function</li>
|
|
6219
|
-
<li><strong>Lines (comments):</strong>
|
|
6220
|
-
<li><strong>Lines (code):</strong>
|
|
6516
|
+
<li><strong>Lines (comments):</strong> 405-411</li>
|
|
6517
|
+
<li><strong>Lines (code):</strong> 413-439</li>
|
|
6221
6518
|
</ul>
|
|
6222
6519
|
</details>
|
|
6223
|
-
<h4 id="
|
|
6520
|
+
<h4 id="examples-13" tabindex="-1">Examples</h4>
|
|
6521
|
+
<p>Example usage</p>
|
|
6522
|
+
<pre class="language-scss"><code class="language-scss"></code></pre>
|
|
6523
|
+
<h4 id="parameters-15" tabindex="-1">Parameters</h4>
|
|
6224
6524
|
<table>
|
|
6225
6525
|
<thead>
|
|
6226
6526
|
<tr>
|
|
@@ -6247,7 +6547,7 @@
|
|
|
6247
6547
|
</tr>
|
|
6248
6548
|
</tbody>
|
|
6249
6549
|
</table>
|
|
6250
|
-
<h4 id="returns-
|
|
6550
|
+
<h4 id="returns-9" tabindex="-1">Returns</h4>
|
|
6251
6551
|
<table>
|
|
6252
6552
|
<thead>
|
|
6253
6553
|
<tr>
|
|
@@ -6283,11 +6583,11 @@
|
|
|
6283
6583
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6284
6584
|
<li><strong>Group:</strong> utils</li>
|
|
6285
6585
|
<li><strong>Type:</strong> function</li>
|
|
6286
|
-
<li><strong>Lines (comments):</strong>
|
|
6287
|
-
<li><strong>Lines (code):</strong>
|
|
6586
|
+
<li><strong>Lines (comments):</strong> 441-445</li>
|
|
6587
|
+
<li><strong>Lines (code):</strong> 447-463</li>
|
|
6288
6588
|
</ul>
|
|
6289
6589
|
</details>
|
|
6290
|
-
<h4 id="parameters-
|
|
6590
|
+
<h4 id="parameters-16" tabindex="-1">Parameters</h4>
|
|
6291
6591
|
<table>
|
|
6292
6592
|
<thead>
|
|
6293
6593
|
<tr>
|
|
@@ -6335,11 +6635,11 @@
|
|
|
6335
6635
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6336
6636
|
<li><strong>Group:</strong> utils</li>
|
|
6337
6637
|
<li><strong>Type:</strong> function</li>
|
|
6338
|
-
<li><strong>Lines (comments):</strong>
|
|
6339
|
-
<li><strong>Lines (code):</strong>
|
|
6638
|
+
<li><strong>Lines (comments):</strong> 465-469</li>
|
|
6639
|
+
<li><strong>Lines (code):</strong> 471-479</li>
|
|
6340
6640
|
</ul>
|
|
6341
6641
|
</details>
|
|
6342
|
-
<h4 id="parameters-
|
|
6642
|
+
<h4 id="parameters-17" tabindex="-1">Parameters</h4>
|
|
6343
6643
|
<table>
|
|
6344
6644
|
<thead>
|
|
6345
6645
|
<tr>
|
|
@@ -6361,7 +6661,7 @@
|
|
|
6361
6661
|
</tr>
|
|
6362
6662
|
</tbody>
|
|
6363
6663
|
</table>
|
|
6364
|
-
<h4 id="returns-
|
|
6664
|
+
<h4 id="returns-10" tabindex="-1">Returns</h4>
|
|
6365
6665
|
<table>
|
|
6366
6666
|
<thead>
|
|
6367
6667
|
<tr>
|
|
@@ -6392,11 +6692,11 @@
|
|
|
6392
6692
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6393
6693
|
<li><strong>Group:</strong> utils</li>
|
|
6394
6694
|
<li><strong>Type:</strong> function</li>
|
|
6395
|
-
<li><strong>Lines (comments):</strong>
|
|
6396
|
-
<li><strong>Lines (code):</strong>
|
|
6695
|
+
<li><strong>Lines (comments):</strong> 481-485</li>
|
|
6696
|
+
<li><strong>Lines (code):</strong> 487-495</li>
|
|
6397
6697
|
</ul>
|
|
6398
6698
|
</details>
|
|
6399
|
-
<h4 id="parameters-
|
|
6699
|
+
<h4 id="parameters-18" tabindex="-1">Parameters</h4>
|
|
6400
6700
|
<table>
|
|
6401
6701
|
<thead>
|
|
6402
6702
|
<tr>
|
|
@@ -6418,7 +6718,7 @@
|
|
|
6418
6718
|
</tr>
|
|
6419
6719
|
</tbody>
|
|
6420
6720
|
</table>
|
|
6421
|
-
<h4 id="returns-
|
|
6721
|
+
<h4 id="returns-11" tabindex="-1">Returns</h4>
|
|
6422
6722
|
<table>
|
|
6423
6723
|
<thead>
|
|
6424
6724
|
<tr>
|
|
@@ -6446,11 +6746,11 @@
|
|
|
6446
6746
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6447
6747
|
<li><strong>Group:</strong> utils</li>
|
|
6448
6748
|
<li><strong>Type:</strong> function</li>
|
|
6449
|
-
<li><strong>Lines (comments):</strong>
|
|
6450
|
-
<li><strong>Lines (code):</strong>
|
|
6749
|
+
<li><strong>Lines (comments):</strong> 497-501</li>
|
|
6750
|
+
<li><strong>Lines (code):</strong> 503-518</li>
|
|
6451
6751
|
</ul>
|
|
6452
6752
|
</details>
|
|
6453
|
-
<h4 id="parameters-
|
|
6753
|
+
<h4 id="parameters-19" tabindex="-1">Parameters</h4>
|
|
6454
6754
|
<table>
|
|
6455
6755
|
<thead>
|
|
6456
6756
|
<tr>
|
|
@@ -6481,7 +6781,7 @@
|
|
|
6481
6781
|
</tr>
|
|
6482
6782
|
</tbody>
|
|
6483
6783
|
</table>
|
|
6484
|
-
<h4 id="returns-
|
|
6784
|
+
<h4 id="returns-12" tabindex="-1">Returns</h4>
|
|
6485
6785
|
<table>
|
|
6486
6786
|
<thead>
|
|
6487
6787
|
<tr>
|
|
@@ -6513,11 +6813,11 @@
|
|
|
6513
6813
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6514
6814
|
<li><strong>Group:</strong> utils</li>
|
|
6515
6815
|
<li><strong>Type:</strong> function</li>
|
|
6516
|
-
<li><strong>Lines (comments):</strong>
|
|
6517
|
-
<li><strong>Lines (code):</strong>
|
|
6816
|
+
<li><strong>Lines (comments):</strong> 520-535</li>
|
|
6817
|
+
<li><strong>Lines (code):</strong> 537-553</li>
|
|
6518
6818
|
</ul>
|
|
6519
6819
|
</details>
|
|
6520
|
-
<h4 id="examples-
|
|
6820
|
+
<h4 id="examples-14" tabindex="-1">Examples</h4>
|
|
6521
6821
|
<p>Example of getting left value</p>
|
|
6522
6822
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-padding</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>1em<span class="pjs-token pjs-punctuation">,</span> 2em<span class="pjs-token pjs-punctuation">,</span> 4em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6523
6823
|
<span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$spacing</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-function">get-spacing</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-padding</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
@@ -6527,7 +6827,7 @@
|
|
|
6527
6827
|
<span class="pjs-token pjs-property">left</span><span class="pjs-token pjs-punctuation">:</span> map.<span class="pjs-token pjs-function">get</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$spacing</span><span class="pjs-token pjs-punctuation">,</span> <span class="pjs-token pjs-string">"left"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6528
6828
|
<span class="pjs-token pjs-comment">// left = 2em</span>
|
|
6529
6829
|
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6530
|
-
<h4 id="parameters-
|
|
6830
|
+
<h4 id="parameters-20" tabindex="-1">Parameters</h4>
|
|
6531
6831
|
<table>
|
|
6532
6832
|
<thead>
|
|
6533
6833
|
<tr>
|
|
@@ -6544,7 +6844,7 @@
|
|
|
6544
6844
|
</tr>
|
|
6545
6845
|
</tbody>
|
|
6546
6846
|
</table>
|
|
6547
|
-
<h4 id="returns-
|
|
6847
|
+
<h4 id="returns-13" tabindex="-1">Returns</h4>
|
|
6548
6848
|
<table>
|
|
6549
6849
|
<thead>
|
|
6550
6850
|
<tr>
|
|
@@ -6576,11 +6876,11 @@
|
|
|
6576
6876
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6577
6877
|
<li><strong>Group:</strong> utils</li>
|
|
6578
6878
|
<li><strong>Type:</strong> function</li>
|
|
6579
|
-
<li><strong>Lines (comments):</strong>
|
|
6580
|
-
<li><strong>Lines (code):</strong>
|
|
6879
|
+
<li><strong>Lines (comments):</strong> 555-564</li>
|
|
6880
|
+
<li><strong>Lines (code):</strong> 566-568</li>
|
|
6581
6881
|
</ul>
|
|
6582
6882
|
</details>
|
|
6583
|
-
<h4 id="examples-
|
|
6883
|
+
<h4 id="examples-15" tabindex="-1">Examples</h4>
|
|
6584
6884
|
<p>Example of getting top value</p>
|
|
6585
6885
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-padding</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>1em<span class="pjs-token pjs-punctuation">,</span> 2em<span class="pjs-token pjs-punctuation">,</span> 4em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6586
6886
|
|
|
@@ -6588,7 +6888,7 @@
|
|
|
6588
6888
|
<span class="pjs-token pjs-property">top</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-function">get-spacing-top</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-padding</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6589
6889
|
<span class="pjs-token pjs-comment">// top = 2em</span>
|
|
6590
6890
|
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6591
|
-
<h4 id="parameters-
|
|
6891
|
+
<h4 id="parameters-21" tabindex="-1">Parameters</h4>
|
|
6592
6892
|
<table>
|
|
6593
6893
|
<thead>
|
|
6594
6894
|
<tr>
|
|
@@ -6605,7 +6905,7 @@
|
|
|
6605
6905
|
</tr>
|
|
6606
6906
|
</tbody>
|
|
6607
6907
|
</table>
|
|
6608
|
-
<h4 id="returns-
|
|
6908
|
+
<h4 id="returns-14" tabindex="-1">Returns</h4>
|
|
6609
6909
|
<table>
|
|
6610
6910
|
<thead>
|
|
6611
6911
|
<tr>
|
|
@@ -6636,11 +6936,11 @@
|
|
|
6636
6936
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6637
6937
|
<li><strong>Group:</strong> utils</li>
|
|
6638
6938
|
<li><strong>Type:</strong> function</li>
|
|
6639
|
-
<li><strong>Lines (comments):</strong>
|
|
6640
|
-
<li><strong>Lines (code):</strong>
|
|
6939
|
+
<li><strong>Lines (comments):</strong> 570-579</li>
|
|
6940
|
+
<li><strong>Lines (code):</strong> 581-583</li>
|
|
6641
6941
|
</ul>
|
|
6642
6942
|
</details>
|
|
6643
|
-
<h4 id="examples-
|
|
6943
|
+
<h4 id="examples-16" tabindex="-1">Examples</h4>
|
|
6644
6944
|
<p>Example of getting right value</p>
|
|
6645
6945
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-padding</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>1em<span class="pjs-token pjs-punctuation">,</span> 2em<span class="pjs-token pjs-punctuation">,</span> 4em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6646
6946
|
|
|
@@ -6648,7 +6948,7 @@
|
|
|
6648
6948
|
<span class="pjs-token pjs-property">right</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-function">get-spacing-right</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-padding</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6649
6949
|
<span class="pjs-token pjs-comment">// right = 2em</span>
|
|
6650
6950
|
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6651
|
-
<h4 id="parameters-
|
|
6951
|
+
<h4 id="parameters-22" tabindex="-1">Parameters</h4>
|
|
6652
6952
|
<table>
|
|
6653
6953
|
<thead>
|
|
6654
6954
|
<tr>
|
|
@@ -6665,7 +6965,7 @@
|
|
|
6665
6965
|
</tr>
|
|
6666
6966
|
</tbody>
|
|
6667
6967
|
</table>
|
|
6668
|
-
<h4 id="returns-
|
|
6968
|
+
<h4 id="returns-15" tabindex="-1">Returns</h4>
|
|
6669
6969
|
<table>
|
|
6670
6970
|
<thead>
|
|
6671
6971
|
<tr>
|
|
@@ -6696,11 +6996,11 @@
|
|
|
6696
6996
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6697
6997
|
<li><strong>Group:</strong> utils</li>
|
|
6698
6998
|
<li><strong>Type:</strong> function</li>
|
|
6699
|
-
<li><strong>Lines (comments):</strong>
|
|
6700
|
-
<li><strong>Lines (code):</strong>
|
|
6999
|
+
<li><strong>Lines (comments):</strong> 585-594</li>
|
|
7000
|
+
<li><strong>Lines (code):</strong> 596-598</li>
|
|
6701
7001
|
</ul>
|
|
6702
7002
|
</details>
|
|
6703
|
-
<h4 id="examples-
|
|
7003
|
+
<h4 id="examples-17" tabindex="-1">Examples</h4>
|
|
6704
7004
|
<p>Example of getting bottom value</p>
|
|
6705
7005
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-padding</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>1em<span class="pjs-token pjs-punctuation">,</span> 2em<span class="pjs-token pjs-punctuation">,</span> 4em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6706
7006
|
|
|
@@ -6708,7 +7008,7 @@
|
|
|
6708
7008
|
<span class="pjs-token pjs-property">bottom</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-function">get-spacing-bottom</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-padding</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6709
7009
|
<span class="pjs-token pjs-comment">// bottom = 2em</span>
|
|
6710
7010
|
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6711
|
-
<h4 id="parameters-
|
|
7011
|
+
<h4 id="parameters-23" tabindex="-1">Parameters</h4>
|
|
6712
7012
|
<table>
|
|
6713
7013
|
<thead>
|
|
6714
7014
|
<tr>
|
|
@@ -6725,7 +7025,7 @@
|
|
|
6725
7025
|
</tr>
|
|
6726
7026
|
</tbody>
|
|
6727
7027
|
</table>
|
|
6728
|
-
<h4 id="returns-
|
|
7028
|
+
<h4 id="returns-16" tabindex="-1">Returns</h4>
|
|
6729
7029
|
<table>
|
|
6730
7030
|
<thead>
|
|
6731
7031
|
<tr>
|
|
@@ -6756,11 +7056,11 @@
|
|
|
6756
7056
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6757
7057
|
<li><strong>Group:</strong> utils</li>
|
|
6758
7058
|
<li><strong>Type:</strong> function</li>
|
|
6759
|
-
<li><strong>Lines (comments):</strong>
|
|
6760
|
-
<li><strong>Lines (code):</strong>
|
|
7059
|
+
<li><strong>Lines (comments):</strong> 600-609</li>
|
|
7060
|
+
<li><strong>Lines (code):</strong> 611-613</li>
|
|
6761
7061
|
</ul>
|
|
6762
7062
|
</details>
|
|
6763
|
-
<h4 id="examples-
|
|
7063
|
+
<h4 id="examples-18" tabindex="-1">Examples</h4>
|
|
6764
7064
|
<p>Example of getting left value</p>
|
|
6765
7065
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$user-padding</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>1em<span class="pjs-token pjs-punctuation">,</span> 2em<span class="pjs-token pjs-punctuation">,</span> 4em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6766
7066
|
|
|
@@ -6768,7 +7068,7 @@
|
|
|
6768
7068
|
<span class="pjs-token pjs-property">left</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-function">get-spacing-left</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$user-padding</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
6769
7069
|
<span class="pjs-token pjs-comment">// left = 2em</span>
|
|
6770
7070
|
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
6771
|
-
<h4 id="parameters-
|
|
7071
|
+
<h4 id="parameters-24" tabindex="-1">Parameters</h4>
|
|
6772
7072
|
<table>
|
|
6773
7073
|
<thead>
|
|
6774
7074
|
<tr>
|
|
@@ -6785,7 +7085,7 @@
|
|
|
6785
7085
|
</tr>
|
|
6786
7086
|
</tbody>
|
|
6787
7087
|
</table>
|
|
6788
|
-
<h4 id="returns-
|
|
7088
|
+
<h4 id="returns-17" tabindex="-1">Returns</h4>
|
|
6789
7089
|
<table>
|
|
6790
7090
|
<thead>
|
|
6791
7091
|
<tr>
|
|
@@ -6819,11 +7119,11 @@
|
|
|
6819
7119
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6820
7120
|
<li><strong>Group:</strong> utils</li>
|
|
6821
7121
|
<li><strong>Type:</strong> function</li>
|
|
6822
|
-
<li><strong>Lines (comments):</strong>
|
|
6823
|
-
<li><strong>Lines (code):</strong>
|
|
7122
|
+
<li><strong>Lines (comments):</strong> 615-621</li>
|
|
7123
|
+
<li><strong>Lines (code):</strong> 623-633</li>
|
|
6824
7124
|
</ul>
|
|
6825
7125
|
</details>
|
|
6826
|
-
<h4 id="examples-
|
|
7126
|
+
<h4 id="examples-19" tabindex="-1">Examples</h4>
|
|
6827
7127
|
<p>Example usage</p>
|
|
6828
7128
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-selector">.test </span><span class="pjs-token pjs-punctuation">{</span>
|
|
6829
7129
|
<span class="pjs-token pjs-property">line-height</span><span class="pjs-token pjs-punctuation">:</span> ulu.<span class="pjs-token pjs-function">utils-strip-unit</span><span class="pjs-token pjs-punctuation">(</span>4rem<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
@@ -6856,11 +7156,11 @@
|
|
|
6856
7156
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6857
7157
|
<li><strong>Group:</strong> utils</li>
|
|
6858
7158
|
<li><strong>Type:</strong> function</li>
|
|
6859
|
-
<li><strong>Lines (comments):</strong>
|
|
6860
|
-
<li><strong>Lines (code):</strong>
|
|
7159
|
+
<li><strong>Lines (comments):</strong> 635-640</li>
|
|
7160
|
+
<li><strong>Lines (code):</strong> 642-644</li>
|
|
6861
7161
|
</ul>
|
|
6862
7162
|
</details>
|
|
6863
|
-
<h4 id="parameters-
|
|
7163
|
+
<h4 id="parameters-25" tabindex="-1">Parameters</h4>
|
|
6864
7164
|
<table>
|
|
6865
7165
|
<thead>
|
|
6866
7166
|
<tr>
|
|
@@ -6892,7 +7192,7 @@
|
|
|
6892
7192
|
</tr>
|
|
6893
7193
|
</tbody>
|
|
6894
7194
|
</table>
|
|
6895
|
-
<h4 id="returns-
|
|
7195
|
+
<h4 id="returns-18" tabindex="-1">Returns</h4>
|
|
6896
7196
|
<table>
|
|
6897
7197
|
<thead>
|
|
6898
7198
|
<tr>
|
|
@@ -6922,11 +7222,11 @@
|
|
|
6922
7222
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6923
7223
|
<li><strong>Group:</strong> utils</li>
|
|
6924
7224
|
<li><strong>Type:</strong> function</li>
|
|
6925
|
-
<li><strong>Lines (comments):</strong>
|
|
6926
|
-
<li><strong>Lines (code):</strong>
|
|
7225
|
+
<li><strong>Lines (comments):</strong> 646-649</li>
|
|
7226
|
+
<li><strong>Lines (code):</strong> 651-653</li>
|
|
6927
7227
|
</ul>
|
|
6928
7228
|
</details>
|
|
6929
|
-
<h4 id="parameters-
|
|
7229
|
+
<h4 id="parameters-26" tabindex="-1">Parameters</h4>
|
|
6930
7230
|
<table>
|
|
6931
7231
|
<thead>
|
|
6932
7232
|
<tr>
|
|
@@ -6948,7 +7248,7 @@
|
|
|
6948
7248
|
</tr>
|
|
6949
7249
|
</tbody>
|
|
6950
7250
|
</table>
|
|
6951
|
-
<h4 id="returns-
|
|
7251
|
+
<h4 id="returns-19" tabindex="-1">Returns</h4>
|
|
6952
7252
|
<table>
|
|
6953
7253
|
<thead>
|
|
6954
7254
|
<tr>
|
|
@@ -6979,11 +7279,11 @@
|
|
|
6979
7279
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6980
7280
|
<li><strong>Group:</strong> utils</li>
|
|
6981
7281
|
<li><strong>Type:</strong> function</li>
|
|
6982
|
-
<li><strong>Lines (comments):</strong>
|
|
6983
|
-
<li><strong>Lines (code):</strong>
|
|
7282
|
+
<li><strong>Lines (comments):</strong> 669-673</li>
|
|
7283
|
+
<li><strong>Lines (code):</strong> 675-677</li>
|
|
6984
7284
|
</ul>
|
|
6985
7285
|
</details>
|
|
6986
|
-
<h4 id="parameters-
|
|
7286
|
+
<h4 id="parameters-27" tabindex="-1">Parameters</h4>
|
|
6987
7287
|
<table>
|
|
6988
7288
|
<thead>
|
|
6989
7289
|
<tr>
|
|
@@ -7005,7 +7305,7 @@
|
|
|
7005
7305
|
</tr>
|
|
7006
7306
|
</tbody>
|
|
7007
7307
|
</table>
|
|
7008
|
-
<h4 id="returns-
|
|
7308
|
+
<h4 id="returns-20" tabindex="-1">Returns</h4>
|
|
7009
7309
|
<table>
|
|
7010
7310
|
<thead>
|
|
7011
7311
|
<tr>
|
|
@@ -7033,11 +7333,11 @@
|
|
|
7033
7333
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7034
7334
|
<li><strong>Group:</strong> utils</li>
|
|
7035
7335
|
<li><strong>Type:</strong> function</li>
|
|
7036
|
-
<li><strong>Lines (comments):</strong>
|
|
7037
|
-
<li><strong>Lines (code):</strong>
|
|
7336
|
+
<li><strong>Lines (comments):</strong> 679-682</li>
|
|
7337
|
+
<li><strong>Lines (code):</strong> 684-715</li>
|
|
7038
7338
|
</ul>
|
|
7039
7339
|
</details>
|
|
7040
|
-
<h4 id="parameters-
|
|
7340
|
+
<h4 id="parameters-28" tabindex="-1">Parameters</h4>
|
|
7041
7341
|
<table>
|
|
7042
7342
|
<thead>
|
|
7043
7343
|
<tr>
|
|
@@ -7054,7 +7354,7 @@
|
|
|
7054
7354
|
</tr>
|
|
7055
7355
|
</tbody>
|
|
7056
7356
|
</table>
|
|
7057
|
-
<h4 id="returns-
|
|
7357
|
+
<h4 id="returns-21" tabindex="-1">Returns</h4>
|
|
7058
7358
|
<table>
|
|
7059
7359
|
<thead>
|
|
7060
7360
|
<tr>
|
|
@@ -7089,11 +7389,11 @@
|
|
|
7089
7389
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7090
7390
|
<li><strong>Group:</strong> utils</li>
|
|
7091
7391
|
<li><strong>Type:</strong> function</li>
|
|
7092
|
-
<li><strong>Lines (comments):</strong>
|
|
7093
|
-
<li><strong>Lines (code):</strong>
|
|
7392
|
+
<li><strong>Lines (comments):</strong> 717-721</li>
|
|
7393
|
+
<li><strong>Lines (code):</strong> 723-741</li>
|
|
7094
7394
|
</ul>
|
|
7095
7395
|
</details>
|
|
7096
|
-
<h4 id="parameters-
|
|
7396
|
+
<h4 id="parameters-29" tabindex="-1">Parameters</h4>
|
|
7097
7397
|
<table>
|
|
7098
7398
|
<thead>
|
|
7099
7399
|
<tr>
|
|
@@ -7115,7 +7415,7 @@
|
|
|
7115
7415
|
</tr>
|
|
7116
7416
|
</tbody>
|
|
7117
7417
|
</table>
|
|
7118
|
-
<h4 id="returns-
|
|
7418
|
+
<h4 id="returns-22" tabindex="-1">Returns</h4>
|
|
7119
7419
|
<table>
|
|
7120
7420
|
<thead>
|
|
7121
7421
|
<tr>
|
|
@@ -7148,11 +7448,11 @@
|
|
|
7148
7448
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7149
7449
|
<li><strong>Group:</strong> utils</li>
|
|
7150
7450
|
<li><strong>Type:</strong> function</li>
|
|
7151
|
-
<li><strong>Lines (comments):</strong>
|
|
7152
|
-
<li><strong>Lines (code):</strong>
|
|
7451
|
+
<li><strong>Lines (comments):</strong> 743-745</li>
|
|
7452
|
+
<li><strong>Lines (code):</strong> 747-749</li>
|
|
7153
7453
|
</ul>
|
|
7154
7454
|
</details>
|
|
7155
|
-
<h4 id="parameters-
|
|
7455
|
+
<h4 id="parameters-30" tabindex="-1">Parameters</h4>
|
|
7156
7456
|
<table>
|
|
7157
7457
|
<thead>
|
|
7158
7458
|
<tr>
|
|
@@ -7169,7 +7469,7 @@
|
|
|
7169
7469
|
</tr>
|
|
7170
7470
|
</tbody>
|
|
7171
7471
|
</table>
|
|
7172
|
-
<h4 id="returns-
|
|
7472
|
+
<h4 id="returns-23" tabindex="-1">Returns</h4>
|
|
7173
7473
|
<table>
|
|
7174
7474
|
<thead>
|
|
7175
7475
|
<tr>
|
|
@@ -7197,11 +7497,11 @@
|
|
|
7197
7497
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7198
7498
|
<li><strong>Group:</strong> utils</li>
|
|
7199
7499
|
<li><strong>Type:</strong> function</li>
|
|
7200
|
-
<li><strong>Lines (comments):</strong>
|
|
7201
|
-
<li><strong>Lines (code):</strong>
|
|
7500
|
+
<li><strong>Lines (comments):</strong> 751-753</li>
|
|
7501
|
+
<li><strong>Lines (code):</strong> 755-757</li>
|
|
7202
7502
|
</ul>
|
|
7203
7503
|
</details>
|
|
7204
|
-
<h4 id="parameters-
|
|
7504
|
+
<h4 id="parameters-31" tabindex="-1">Parameters</h4>
|
|
7205
7505
|
<table>
|
|
7206
7506
|
<thead>
|
|
7207
7507
|
<tr>
|
|
@@ -7218,7 +7518,7 @@
|
|
|
7218
7518
|
</tr>
|
|
7219
7519
|
</tbody>
|
|
7220
7520
|
</table>
|
|
7221
|
-
<h4 id="returns-
|
|
7521
|
+
<h4 id="returns-24" tabindex="-1">Returns</h4>
|
|
7222
7522
|
<table>
|
|
7223
7523
|
<thead>
|
|
7224
7524
|
<tr>
|
|
@@ -7246,11 +7546,11 @@
|
|
|
7246
7546
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7247
7547
|
<li><strong>Group:</strong> utils</li>
|
|
7248
7548
|
<li><strong>Type:</strong> function</li>
|
|
7249
|
-
<li><strong>Lines (comments):</strong>
|
|
7250
|
-
<li><strong>Lines (code):</strong>
|
|
7549
|
+
<li><strong>Lines (comments):</strong> 759-761</li>
|
|
7550
|
+
<li><strong>Lines (code):</strong> 763-765</li>
|
|
7251
7551
|
</ul>
|
|
7252
7552
|
</details>
|
|
7253
|
-
<h4 id="parameters-
|
|
7553
|
+
<h4 id="parameters-32" tabindex="-1">Parameters</h4>
|
|
7254
7554
|
<table>
|
|
7255
7555
|
<thead>
|
|
7256
7556
|
<tr>
|
|
@@ -7267,7 +7567,7 @@
|
|
|
7267
7567
|
</tr>
|
|
7268
7568
|
</tbody>
|
|
7269
7569
|
</table>
|
|
7270
|
-
<h4 id="returns-
|
|
7570
|
+
<h4 id="returns-25" tabindex="-1">Returns</h4>
|
|
7271
7571
|
<table>
|
|
7272
7572
|
<thead>
|
|
7273
7573
|
<tr>
|
|
@@ -7295,11 +7595,11 @@
|
|
|
7295
7595
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7296
7596
|
<li><strong>Group:</strong> utils</li>
|
|
7297
7597
|
<li><strong>Type:</strong> function</li>
|
|
7298
|
-
<li><strong>Lines (comments):</strong>
|
|
7299
|
-
<li><strong>Lines (code):</strong>
|
|
7598
|
+
<li><strong>Lines (comments):</strong> 767-769</li>
|
|
7599
|
+
<li><strong>Lines (code):</strong> 771-773</li>
|
|
7300
7600
|
</ul>
|
|
7301
7601
|
</details>
|
|
7302
|
-
<h4 id="parameters-
|
|
7602
|
+
<h4 id="parameters-33" tabindex="-1">Parameters</h4>
|
|
7303
7603
|
<table>
|
|
7304
7604
|
<thead>
|
|
7305
7605
|
<tr>
|
|
@@ -7316,7 +7616,7 @@
|
|
|
7316
7616
|
</tr>
|
|
7317
7617
|
</tbody>
|
|
7318
7618
|
</table>
|
|
7319
|
-
<h4 id="returns-
|
|
7619
|
+
<h4 id="returns-26" tabindex="-1">Returns</h4>
|
|
7320
7620
|
<table>
|
|
7321
7621
|
<thead>
|
|
7322
7622
|
<tr>
|
|
@@ -7344,11 +7644,11 @@
|
|
|
7344
7644
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7345
7645
|
<li><strong>Group:</strong> utils</li>
|
|
7346
7646
|
<li><strong>Type:</strong> function</li>
|
|
7347
|
-
<li><strong>Lines (comments):</strong>
|
|
7348
|
-
<li><strong>Lines (code):</strong>
|
|
7647
|
+
<li><strong>Lines (comments):</strong> 775-777</li>
|
|
7648
|
+
<li><strong>Lines (code):</strong> 779-781</li>
|
|
7349
7649
|
</ul>
|
|
7350
7650
|
</details>
|
|
7351
|
-
<h4 id="parameters-
|
|
7651
|
+
<h4 id="parameters-34" tabindex="-1">Parameters</h4>
|
|
7352
7652
|
<table>
|
|
7353
7653
|
<thead>
|
|
7354
7654
|
<tr>
|
|
@@ -7365,7 +7665,7 @@
|
|
|
7365
7665
|
</tr>
|
|
7366
7666
|
</tbody>
|
|
7367
7667
|
</table>
|
|
7368
|
-
<h4 id="returns-
|
|
7668
|
+
<h4 id="returns-27" tabindex="-1">Returns</h4>
|
|
7369
7669
|
<table>
|
|
7370
7670
|
<thead>
|
|
7371
7671
|
<tr>
|
|
@@ -7396,11 +7696,11 @@
|
|
|
7396
7696
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7397
7697
|
<li><strong>Group:</strong> utils</li>
|
|
7398
7698
|
<li><strong>Type:</strong> function</li>
|
|
7399
|
-
<li><strong>Lines (comments):</strong>
|
|
7400
|
-
<li><strong>Lines (code):</strong>
|
|
7699
|
+
<li><strong>Lines (comments):</strong> 801-804</li>
|
|
7700
|
+
<li><strong>Lines (code):</strong> 806-812</li>
|
|
7401
7701
|
</ul>
|
|
7402
7702
|
</details>
|
|
7403
|
-
<h4 id="parameters-
|
|
7703
|
+
<h4 id="parameters-35" tabindex="-1">Parameters</h4>
|
|
7404
7704
|
<table>
|
|
7405
7705
|
<thead>
|
|
7406
7706
|
<tr>
|
|
@@ -7417,7 +7717,7 @@
|
|
|
7417
7717
|
</tr>
|
|
7418
7718
|
</tbody>
|
|
7419
7719
|
</table>
|
|
7420
|
-
<h4 id="returns-
|
|
7720
|
+
<h4 id="returns-28" tabindex="-1">Returns</h4>
|
|
7421
7721
|
<table>
|
|
7422
7722
|
<thead>
|
|
7423
7723
|
<tr>
|
|
@@ -7454,11 +7754,11 @@
|
|
|
7454
7754
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7455
7755
|
<li><strong>Group:</strong> utils</li>
|
|
7456
7756
|
<li><strong>Type:</strong> function</li>
|
|
7457
|
-
<li><strong>Lines (comments):</strong>
|
|
7458
|
-
<li><strong>Lines (code):</strong>
|
|
7757
|
+
<li><strong>Lines (comments):</strong> 814-816</li>
|
|
7758
|
+
<li><strong>Lines (code):</strong> 818-820</li>
|
|
7459
7759
|
</ul>
|
|
7460
7760
|
</details>
|
|
7461
|
-
<h4 id="parameters-
|
|
7761
|
+
<h4 id="parameters-36" tabindex="-1">Parameters</h4>
|
|
7462
7762
|
<table>
|
|
7463
7763
|
<thead>
|
|
7464
7764
|
<tr>
|
|
@@ -7475,7 +7775,7 @@
|
|
|
7475
7775
|
</tr>
|
|
7476
7776
|
</tbody>
|
|
7477
7777
|
</table>
|
|
7478
|
-
<h4 id="returns-
|
|
7778
|
+
<h4 id="returns-29" tabindex="-1">Returns</h4>
|
|
7479
7779
|
<table>
|
|
7480
7780
|
<thead>
|
|
7481
7781
|
<tr>
|
|
@@ -7507,11 +7807,11 @@
|
|
|
7507
7807
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7508
7808
|
<li><strong>Group:</strong> utils</li>
|
|
7509
7809
|
<li><strong>Type:</strong> function</li>
|
|
7510
|
-
<li><strong>Lines (comments):</strong>
|
|
7511
|
-
<li><strong>Lines (code):</strong>
|
|
7810
|
+
<li><strong>Lines (comments):</strong> 822-824</li>
|
|
7811
|
+
<li><strong>Lines (code):</strong> 826-828</li>
|
|
7512
7812
|
</ul>
|
|
7513
7813
|
</details>
|
|
7514
|
-
<h4 id="parameters-
|
|
7814
|
+
<h4 id="parameters-37" tabindex="-1">Parameters</h4>
|
|
7515
7815
|
<table>
|
|
7516
7816
|
<thead>
|
|
7517
7817
|
<tr>
|
|
@@ -7528,7 +7828,7 @@
|
|
|
7528
7828
|
</tr>
|
|
7529
7829
|
</tbody>
|
|
7530
7830
|
</table>
|
|
7531
|
-
<h4 id="returns-
|
|
7831
|
+
<h4 id="returns-30" tabindex="-1">Returns</h4>
|
|
7532
7832
|
<table>
|
|
7533
7833
|
<thead>
|
|
7534
7834
|
<tr>
|
|
@@ -7560,11 +7860,11 @@
|
|
|
7560
7860
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7561
7861
|
<li><strong>Group:</strong> utils</li>
|
|
7562
7862
|
<li><strong>Type:</strong> function</li>
|
|
7563
|
-
<li><strong>Lines (comments):</strong>
|
|
7564
|
-
<li><strong>Lines (code):</strong>
|
|
7863
|
+
<li><strong>Lines (comments):</strong> 830-833</li>
|
|
7864
|
+
<li><strong>Lines (code):</strong> 835-843</li>
|
|
7565
7865
|
</ul>
|
|
7566
7866
|
</details>
|
|
7567
|
-
<h4 id="parameters-
|
|
7867
|
+
<h4 id="parameters-38" tabindex="-1">Parameters</h4>
|
|
7568
7868
|
<table>
|
|
7569
7869
|
<thead>
|
|
7570
7870
|
<tr>
|
|
@@ -7581,7 +7881,7 @@
|
|
|
7581
7881
|
</tr>
|
|
7582
7882
|
</tbody>
|
|
7583
7883
|
</table>
|
|
7584
|
-
<h4 id="returns-
|
|
7884
|
+
<h4 id="returns-31" tabindex="-1">Returns</h4>
|
|
7585
7885
|
<table>
|
|
7586
7886
|
<thead>
|
|
7587
7887
|
<tr>
|
|
@@ -7613,11 +7913,11 @@
|
|
|
7613
7913
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7614
7914
|
<li><strong>Group:</strong> utils</li>
|
|
7615
7915
|
<li><strong>Type:</strong> function</li>
|
|
7616
|
-
<li><strong>Lines (comments):</strong>
|
|
7617
|
-
<li><strong>Lines (code):</strong>
|
|
7916
|
+
<li><strong>Lines (comments):</strong> 845-848</li>
|
|
7917
|
+
<li><strong>Lines (code):</strong> 850-852</li>
|
|
7618
7918
|
</ul>
|
|
7619
7919
|
</details>
|
|
7620
|
-
<h4 id="parameters-
|
|
7920
|
+
<h4 id="parameters-39" tabindex="-1">Parameters</h4>
|
|
7621
7921
|
<table>
|
|
7622
7922
|
<thead>
|
|
7623
7923
|
<tr>
|
|
@@ -7634,7 +7934,7 @@
|
|
|
7634
7934
|
</tr>
|
|
7635
7935
|
</tbody>
|
|
7636
7936
|
</table>
|
|
7637
|
-
<h4 id="returns-
|
|
7937
|
+
<h4 id="returns-32" tabindex="-1">Returns</h4>
|
|
7638
7938
|
<table>
|
|
7639
7939
|
<thead>
|
|
7640
7940
|
<tr>
|
|
@@ -7657,29 +7957,6 @@
|
|
|
7657
7957
|
<ul>
|
|
7658
7958
|
<li><a href="/frontend/sass/core/utils/#function-is-end">is-end()</a></li>
|
|
7659
7959
|
</ul>
|
|
7660
|
-
<h2 id="css" tabindex="-1">CSS</h2>
|
|
7661
|
-
<div class="sassdoc-item-header">
|
|
7662
|
-
<h3 id="%2F%2F-could-be-made-into-multiple-arguments-in-future-if-needed" tabindex="-1">// Could be made into multiple arguments in future if needed</h3>
|
|
7663
|
-
<p>@function units-match($number, $other-number) {#css-// Could be made into multiple arguments in future if needed</p>
|
|
7664
|
-
<p>@function units-match($number, $other-number)}</p>
|
|
7665
|
-
<div class="sassdoc-item-header__labels">
|
|
7666
|
-
<span class="tag tag--primary"><strong>Css</strong></span>
|
|
7667
|
-
</div>
|
|
7668
|
-
</div>
|
|
7669
|
-
<p>Checks if two numbers are the same unit</p>
|
|
7670
|
-
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-punctuation">{</span>
|
|
7671
|
-
<span class="pjs-token pjs-keyword">@return</span> math.<span class="pjs-token pjs-function">unit</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$number</span><span class="pjs-token pjs-punctuation">)</span> <span class="pjs-token pjs-operator">==</span> math.<span class="pjs-token pjs-function">unit</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-variable">$other-number</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span>
|
|
7672
|
-
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
7673
|
-
<details>
|
|
7674
|
-
<summary>File Information</summary>
|
|
7675
|
-
<ul>
|
|
7676
|
-
<li><strong>File:</strong> _utils.scss</li>
|
|
7677
|
-
<li><strong>Group:</strong> utils</li>
|
|
7678
|
-
<li><strong>Type:</strong> css</li>
|
|
7679
|
-
<li><strong>Lines (comments):</strong> 175-178</li>
|
|
7680
|
-
<li><strong>Lines (code):</strong> 181-723</li>
|
|
7681
|
-
</ul>
|
|
7682
|
-
</details>
|
|
7683
7960
|
|
|
7684
7961
|
</div>
|
|
7685
7962
|
</div>
|