@ulu/frontend 0.1.0-beta.32 → 0.1.0-beta.34
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 +53 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/dist/ulu-frontend.min.js +23 -23
- package/docs-dev/changelog/index.html +161 -8
- package/docs-dev/demos/accordion/index.html +38 -8
- package/docs-dev/demos/button/index.html +38 -8
- package/docs-dev/demos/button-verbose/index.html +38 -8
- package/docs-dev/demos/callout/index.html +65 -8
- package/docs-dev/demos/captioned-figure/index.html +38 -8
- package/docs-dev/demos/card/index.html +59 -33
- package/docs-dev/demos/card-grid/index.html +42 -12
- package/docs-dev/demos/css-icons/index.html +38 -8
- package/docs-dev/demos/data-grid/index.html +38 -8
- package/docs-dev/demos/data-table/index.html +63 -33
- package/docs-dev/demos/details-group/index.html +71 -8
- package/docs-dev/demos/file-save/index.html +38 -8
- package/docs-dev/demos/flipcard/index.html +38 -8
- package/docs-dev/demos/form-theme/index.html +38 -8
- package/docs-dev/demos/index.html +38 -8
- package/docs-dev/demos/list-inline/index.html +38 -8
- package/docs-dev/demos/list-lines/index.html +38 -8
- package/docs-dev/demos/menu-stack/index.html +38 -8
- package/docs-dev/demos/modals/index.html +51 -10
- package/docs-dev/demos/nav-strip/index.html +38 -8
- package/docs-dev/demos/overlay-section/index.html +38 -8
- package/docs-dev/demos/popovers/index.html +38 -8
- package/docs-dev/demos/print/index.html +38 -8
- package/docs-dev/demos/pull-quote/index.html +38 -8
- package/docs-dev/demos/rule/index.html +38 -8
- package/docs-dev/demos/scrollpoints/index.html +39 -9
- package/docs-dev/demos/spoke-spinner/index.html +38 -8
- package/docs-dev/demos/sticky-list/index.html +38 -8
- package/docs-dev/demos/tabs/index.html +74 -8
- package/docs-dev/demos/tag/index.html +38 -8
- package/docs-dev/demos/theme-toggle/index.html +38 -8
- package/docs-dev/demos/tiles/index.html +38 -8
- package/docs-dev/demos/tooltip/index.html +38 -8
- package/docs-dev/guide/building-stylesheet/index.html +38 -8
- package/docs-dev/guide/developing-ulu-scss-module/index.html +38 -8
- package/docs-dev/guide/index.html +38 -8
- package/docs-dev/index.html +38 -8
- package/docs-dev/javascript/events/index.html +38 -8
- package/docs-dev/javascript/index.html +38 -8
- package/docs-dev/javascript/settings/index.html +38 -8
- package/docs-dev/javascript/ui-breakpoints/index.html +38 -8
- package/docs-dev/javascript/ui-collapsible/index.html +38 -8
- package/docs-dev/javascript/ui-details-group/index.html +56 -38
- package/docs-dev/javascript/ui-dialog/index.html +70 -25
- package/docs-dev/javascript/ui-flipcard/index.html +99 -13
- package/docs-dev/javascript/ui-grid/index.html +48 -44
- package/docs-dev/javascript/ui-modal-builder/index.html +49 -40
- package/docs-dev/javascript/ui-overflow-scroller/index.html +38 -8
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +38 -8
- package/docs-dev/javascript/ui-page/index.html +38 -8
- package/docs-dev/javascript/ui-popover/index.html +46 -20
- package/docs-dev/javascript/ui-print/index.html +38 -16
- package/docs-dev/javascript/ui-print-details/index.html +38 -8
- package/docs-dev/javascript/ui-programmatic-modal/index.html +38 -8
- package/docs-dev/javascript/ui-proxy-click/index.html +125 -10
- package/docs-dev/javascript/ui-resizer/index.html +38 -8
- package/docs-dev/javascript/ui-scroll-slider/index.html +76 -14
- package/docs-dev/javascript/ui-scrollpoint/index.html +44 -21
- package/docs-dev/javascript/ui-slider/index.html +234 -13
- package/docs-dev/javascript/ui-tabs/index.html +49 -56
- package/docs-dev/javascript/ui-theme-toggle/index.html +43 -21
- package/docs-dev/javascript/ui-tooltip/index.html +45 -19
- package/docs-dev/javascript/utils-class-logger/index.html +38 -8
- package/docs-dev/javascript/utils-dom/index.html +63 -8
- package/docs-dev/javascript/utils-file-save/index.html +38 -8
- package/docs-dev/javascript/utils-floating-ui/index.html +38 -8
- package/docs-dev/javascript/utils-id/index.html +38 -8
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +38 -8
- package/docs-dev/javascript/utils-system/index.html +5437 -0
- package/docs-dev/sass/base/color/index.html +38 -8
- package/docs-dev/sass/base/elements/index.html +38 -8
- package/docs-dev/sass/base/index/index.html +38 -8
- package/docs-dev/sass/base/index.html +38 -8
- package/docs-dev/sass/base/keyframes/index.html +38 -8
- package/docs-dev/sass/base/layout/index.html +38 -8
- package/docs-dev/sass/base/normalize/index.html +38 -8
- package/docs-dev/sass/base/print/index.html +38 -8
- package/docs-dev/sass/base/root/index.html +38 -8
- package/docs-dev/sass/base/typography/index.html +38 -8
- package/docs-dev/sass/components/accordion/index.html +39 -9
- package/docs-dev/sass/components/adaptive-spacing/index.html +38 -8
- package/docs-dev/sass/components/badge/index.html +38 -8
- package/docs-dev/sass/components/basic-hero/index.html +38 -8
- package/docs-dev/sass/components/button/index.html +38 -8
- package/docs-dev/sass/components/button-verbose/index.html +72 -37
- package/docs-dev/sass/components/callout/index.html +124 -35
- package/docs-dev/sass/components/captioned-figure/index.html +38 -8
- package/docs-dev/sass/components/card/index.html +38 -8
- package/docs-dev/sass/components/card-grid/index.html +38 -8
- package/docs-dev/sass/components/css-icon/index.html +38 -8
- package/docs-dev/sass/components/data-grid/index.html +38 -8
- package/docs-dev/sass/components/data-table/index.html +53 -16
- package/docs-dev/sass/components/fill-context/index.html +38 -8
- package/docs-dev/sass/components/flipcard/index.html +38 -8
- package/docs-dev/sass/components/flipcard-grid/index.html +38 -8
- package/docs-dev/sass/components/form-theme/index.html +84 -60
- package/docs-dev/sass/components/hero/index.html +38 -8
- package/docs-dev/sass/components/horizontal-rule/index.html +38 -8
- package/docs-dev/sass/components/image-grid/index.html +38 -8
- package/docs-dev/sass/components/index/index.html +38 -8
- package/docs-dev/sass/components/index.html +38 -8
- package/docs-dev/sass/components/links/index.html +38 -8
- package/docs-dev/sass/components/list-inline/index.html +38 -8
- package/docs-dev/sass/components/list-lines/index.html +38 -8
- package/docs-dev/sass/components/list-ordered/index.html +38 -8
- package/docs-dev/sass/components/list-unordered/index.html +38 -8
- package/docs-dev/sass/components/menu-stack/index.html +38 -8
- package/docs-dev/sass/components/modal/index.html +38 -8
- package/docs-dev/sass/components/nav-strip/index.html +38 -8
- package/docs-dev/sass/components/overlay-section/index.html +38 -8
- package/docs-dev/sass/components/pager/index.html +38 -8
- package/docs-dev/sass/components/placeholder-block/index.html +38 -8
- package/docs-dev/sass/components/popover/index.html +38 -8
- package/docs-dev/sass/components/pull-quote/index.html +38 -8
- package/docs-dev/sass/components/ratio-box/index.html +38 -8
- package/docs-dev/sass/components/rule/index.html +38 -8
- package/docs-dev/sass/components/scroll-slider/index.html +46 -28
- package/docs-dev/sass/components/skip-link/index.html +38 -8
- package/docs-dev/sass/components/slider/index.html +38 -8
- package/docs-dev/sass/components/spoke-spinner/index.html +40 -10
- package/docs-dev/sass/components/sticky-list/index.html +38 -8
- package/docs-dev/sass/components/tabs/index.html +38 -8
- package/docs-dev/sass/components/tag/index.html +40 -10
- package/docs-dev/sass/components/tile-button/index.html +38 -8
- package/docs-dev/sass/components/tile-grid/index.html +38 -8
- package/docs-dev/sass/components/tile-grid-overlay/index.html +38 -8
- package/docs-dev/sass/components/vignette/index.html +38 -8
- package/docs-dev/sass/components/wysiwyg/index.html +38 -8
- package/docs-dev/sass/core/breakpoint/index.html +38 -8
- package/docs-dev/sass/core/button/index.html +38 -8
- package/docs-dev/sass/core/color/index.html +38 -8
- package/docs-dev/sass/core/cssvar/index.html +38 -8
- package/docs-dev/sass/core/element/index.html +218 -47
- package/docs-dev/sass/core/index.html +38 -8
- package/docs-dev/sass/core/layout/index.html +94 -45
- package/docs-dev/sass/core/path/index.html +38 -8
- package/docs-dev/sass/core/selector/index.html +38 -8
- package/docs-dev/sass/core/typography/index.html +38 -8
- package/docs-dev/sass/core/units/index.html +38 -8
- package/docs-dev/sass/core/utils/index.html +302 -68
- package/docs-dev/sass/helpers/color/index.html +38 -8
- package/docs-dev/sass/helpers/display/index.html +38 -8
- package/docs-dev/sass/helpers/index/index.html +38 -8
- package/docs-dev/sass/helpers/index.html +38 -8
- package/docs-dev/sass/helpers/print/index.html +38 -8
- package/docs-dev/sass/helpers/typography/index.html +38 -8
- package/docs-dev/sass/helpers/units/index.html +38 -8
- package/docs-dev/sass/helpers/utilities/index.html +38 -8
- package/docs-dev/sass/index.html +38 -8
- package/js/ui/breakpoints.js +1 -2
- package/js/ui/details-group.js +33 -42
- package/js/ui/dialog.js +64 -41
- package/js/ui/dialog.todo +2 -36
- package/js/ui/flipcard.js +37 -57
- package/js/ui/grid.js +15 -13
- package/js/ui/modal-builder.js +24 -38
- package/js/ui/popover.js +38 -39
- package/js/ui/print.js +16 -25
- package/js/ui/proxy-click.js +50 -36
- package/js/ui/scroll-slider.js +24 -30
- package/js/ui/scrollpoint.js +27 -63
- package/js/ui/slider.js +53 -55
- package/js/ui/tabs.js +23 -36
- package/js/ui/theme-toggle.js +37 -41
- package/js/ui/tooltip.js +27 -32
- package/js/utils/dom.js +12 -0
- package/js/utils/system.js +154 -0
- package/package.json +1 -1
- package/scss/_element.scss +91 -0
- package/scss/_layout.scss +3 -1
- package/scss/_utils.scss +42 -0
- package/scss/components/_accordion.scss +1 -2
- package/scss/components/_button-verbose.scss +41 -36
- package/scss/components/_callout.scss +113 -53
- package/scss/components/_data-table.scss +3 -0
- package/scss/components/_form-theme.scss +24 -25
- package/scss/components/_scroll-slider.scss +0 -4
- package/types/ui/breakpoints.d.ts.map +1 -1
- package/types/ui/details-group.d.ts +7 -12
- package/types/ui/details-group.d.ts.map +1 -1
- package/types/ui/dialog.d.ts +19 -14
- package/types/ui/dialog.d.ts.map +1 -1
- package/types/ui/flipcard.d.ts +16 -10
- package/types/ui/flipcard.d.ts.map +1 -1
- package/types/ui/grid.d.ts +4 -6
- package/types/ui/grid.d.ts.map +1 -1
- package/types/ui/modal-builder.d.ts +5 -9
- package/types/ui/modal-builder.d.ts.map +1 -1
- package/types/ui/popover.d.ts +6 -7
- package/types/ui/popover.d.ts.map +1 -1
- package/types/ui/print.d.ts +0 -4
- package/types/ui/print.d.ts.map +1 -1
- package/types/ui/proxy-click.d.ts +19 -3
- package/types/ui/proxy-click.d.ts.map +1 -1
- package/types/ui/scroll-slider.d.ts +5 -7
- package/types/ui/scroll-slider.d.ts.map +1 -1
- package/types/ui/scrollpoint.d.ts +3 -8
- package/types/ui/scrollpoint.d.ts.map +1 -1
- package/types/ui/slider.d.ts +22 -12
- package/types/ui/slider.d.ts.map +1 -1
- package/types/ui/tabs.d.ts +6 -8
- package/types/ui/tabs.d.ts.map +1 -1
- package/types/ui/theme-toggle.d.ts +6 -13
- package/types/ui/theme-toggle.d.ts.map +1 -1
- package/types/ui/tooltip.d.ts +3 -5
- package/types/ui/tooltip.d.ts.map +1 -1
- package/types/utils/dom.d.ts +6 -0
- package/types/utils/dom.d.ts.map +1 -1
- package/types/utils/system.d.ts +113 -0
- package/types/utils/system.d.ts.map +1 -0
|
@@ -243,11 +243,11 @@
|
|
|
243
243
|
|
|
244
244
|
<li class="nav-tree__item ">
|
|
245
245
|
|
|
246
|
-
<a class="nav-tree__link " href="/frontend/demos/card
|
|
246
|
+
<a class="nav-tree__link " href="/frontend/demos/card/">
|
|
247
247
|
|
|
248
248
|
|
|
249
249
|
<span class="nav-tree__text">
|
|
250
|
-
Card
|
|
250
|
+
Card
|
|
251
251
|
</span>
|
|
252
252
|
|
|
253
253
|
</a>
|
|
@@ -258,11 +258,11 @@
|
|
|
258
258
|
|
|
259
259
|
<li class="nav-tree__item ">
|
|
260
260
|
|
|
261
|
-
<a class="nav-tree__link " href="/frontend/demos/card/">
|
|
261
|
+
<a class="nav-tree__link " href="/frontend/demos/card-grid/">
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
<span class="nav-tree__text">
|
|
265
|
-
Card
|
|
265
|
+
Card Grid
|
|
266
266
|
</span>
|
|
267
267
|
|
|
268
268
|
</a>
|
|
@@ -2527,6 +2527,21 @@
|
|
|
2527
2527
|
|
|
2528
2528
|
</li>
|
|
2529
2529
|
|
|
2530
|
+
|
|
2531
|
+
<li class="nav-tree__item ">
|
|
2532
|
+
|
|
2533
|
+
<a class="nav-tree__link " href="/frontend/javascript/utils-system/">
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
<span class="nav-tree__text">
|
|
2537
|
+
utils/system
|
|
2538
|
+
</span>
|
|
2539
|
+
|
|
2540
|
+
</a>
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
</li>
|
|
2544
|
+
|
|
2530
2545
|
</ul>
|
|
2531
2546
|
|
|
2532
2547
|
</details>
|
|
@@ -2729,11 +2744,11 @@
|
|
|
2729
2744
|
|
|
2730
2745
|
<li class="nav-tree__item ">
|
|
2731
2746
|
|
|
2732
|
-
<a class="nav-tree__link " href="/frontend/demos/card
|
|
2747
|
+
<a class="nav-tree__link " href="/frontend/demos/card/">
|
|
2733
2748
|
|
|
2734
2749
|
|
|
2735
2750
|
<span class="nav-tree__text">
|
|
2736
|
-
Card
|
|
2751
|
+
Card
|
|
2737
2752
|
</span>
|
|
2738
2753
|
|
|
2739
2754
|
</a>
|
|
@@ -2744,11 +2759,11 @@
|
|
|
2744
2759
|
|
|
2745
2760
|
<li class="nav-tree__item ">
|
|
2746
2761
|
|
|
2747
|
-
<a class="nav-tree__link " href="/frontend/demos/card/">
|
|
2762
|
+
<a class="nav-tree__link " href="/frontend/demos/card-grid/">
|
|
2748
2763
|
|
|
2749
2764
|
|
|
2750
2765
|
<span class="nav-tree__text">
|
|
2751
|
-
Card
|
|
2766
|
+
Card Grid
|
|
2752
2767
|
</span>
|
|
2753
2768
|
|
|
2754
2769
|
</a>
|
|
@@ -5013,6 +5028,21 @@
|
|
|
5013
5028
|
|
|
5014
5029
|
</li>
|
|
5015
5030
|
|
|
5031
|
+
|
|
5032
|
+
<li class="nav-tree__item ">
|
|
5033
|
+
|
|
5034
|
+
<a class="nav-tree__link " href="/frontend/javascript/utils-system/">
|
|
5035
|
+
|
|
5036
|
+
|
|
5037
|
+
<span class="nav-tree__text">
|
|
5038
|
+
utils/system
|
|
5039
|
+
</span>
|
|
5040
|
+
|
|
5041
|
+
</a>
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
</li>
|
|
5045
|
+
|
|
5016
5046
|
</ul>
|
|
5017
5047
|
|
|
5018
5048
|
</details>
|
|
@@ -5184,6 +5214,24 @@
|
|
|
5184
5214
|
|
|
5185
5215
|
<li><a href="#function-is-odd">is-odd()</a>
|
|
5186
5216
|
</li>
|
|
5217
|
+
|
|
5218
|
+
<li><a href="#function-ensure-map">ensure-map()</a>
|
|
5219
|
+
</li>
|
|
5220
|
+
|
|
5221
|
+
<li><a href="#function-is-end">is-end()</a>
|
|
5222
|
+
</li>
|
|
5223
|
+
|
|
5224
|
+
<li><a href="#function-is-side">is-side()</a>
|
|
5225
|
+
</li>
|
|
5226
|
+
</ol>
|
|
5227
|
+
</li>
|
|
5228
|
+
|
|
5229
|
+
<li><a href="#css">CSS</a>
|
|
5230
|
+
|
|
5231
|
+
<ol>
|
|
5232
|
+
|
|
5233
|
+
<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>
|
|
5234
|
+
</li>
|
|
5187
5235
|
</ol>
|
|
5188
5236
|
</li>
|
|
5189
5237
|
</ol>
|
|
@@ -5458,8 +5506,8 @@
|
|
|
5458
5506
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5459
5507
|
<li><strong>Group:</strong> utils</li>
|
|
5460
5508
|
<li><strong>Type:</strong> mixin</li>
|
|
5461
|
-
<li><strong>Lines (comments):</strong>
|
|
5462
|
-
<li><strong>Lines (code):</strong>
|
|
5509
|
+
<li><strong>Lines (comments):</strong> 509-512</li>
|
|
5510
|
+
<li><strong>Lines (code):</strong> 514-521</li>
|
|
5463
5511
|
</ul>
|
|
5464
5512
|
</details>
|
|
5465
5513
|
<h4 id="parameters-4" tabindex="-1">Parameters</h4>
|
|
@@ -5811,8 +5859,8 @@
|
|
|
5811
5859
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5812
5860
|
<li><strong>Group:</strong> utils</li>
|
|
5813
5861
|
<li><strong>Type:</strong> function</li>
|
|
5814
|
-
<li><strong>Lines (comments):</strong>
|
|
5815
|
-
<li><strong>Lines (code):</strong>
|
|
5862
|
+
<li><strong>Lines (comments):</strong> 174-178</li>
|
|
5863
|
+
<li><strong>Lines (code):</strong> 180-188</li>
|
|
5816
5864
|
</ul>
|
|
5817
5865
|
</details>
|
|
5818
5866
|
<h4 id="parameters-11" tabindex="-1">Parameters</h4>
|
|
@@ -5870,8 +5918,8 @@
|
|
|
5870
5918
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5871
5919
|
<li><strong>Group:</strong> utils</li>
|
|
5872
5920
|
<li><strong>Type:</strong> function</li>
|
|
5873
|
-
<li><strong>Lines (comments):</strong>
|
|
5874
|
-
<li><strong>Lines (code):</strong>
|
|
5921
|
+
<li><strong>Lines (comments):</strong> 190-193</li>
|
|
5922
|
+
<li><strong>Lines (code):</strong> 195-200</li>
|
|
5875
5923
|
</ul>
|
|
5876
5924
|
</details>
|
|
5877
5925
|
<h4 id="parameters-12" tabindex="-1">Parameters</h4>
|
|
@@ -5932,8 +5980,8 @@
|
|
|
5932
5980
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5933
5981
|
<li><strong>Group:</strong> utils</li>
|
|
5934
5982
|
<li><strong>Type:</strong> function</li>
|
|
5935
|
-
<li><strong>Lines (comments):</strong>
|
|
5936
|
-
<li><strong>Lines (code):</strong>
|
|
5983
|
+
<li><strong>Lines (comments):</strong> 202-203</li>
|
|
5984
|
+
<li><strong>Lines (code):</strong> 205-213</li>
|
|
5937
5985
|
</ul>
|
|
5938
5986
|
</details>
|
|
5939
5987
|
<h4 id="require-7" tabindex="-1">Require</h4>
|
|
@@ -5953,8 +6001,8 @@
|
|
|
5953
6001
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5954
6002
|
<li><strong>Group:</strong> utils</li>
|
|
5955
6003
|
<li><strong>Type:</strong> function</li>
|
|
5956
|
-
<li><strong>Lines (comments):</strong>
|
|
5957
|
-
<li><strong>Lines (code):</strong>
|
|
6004
|
+
<li><strong>Lines (comments):</strong> 215-216</li>
|
|
6005
|
+
<li><strong>Lines (code):</strong> 218-225</li>
|
|
5958
6006
|
</ul>
|
|
5959
6007
|
</details>
|
|
5960
6008
|
<h4 id="returns-5" tabindex="-1">Returns</h4>
|
|
@@ -5985,8 +6033,8 @@
|
|
|
5985
6033
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5986
6034
|
<li><strong>Group:</strong> utils</li>
|
|
5987
6035
|
<li><strong>Type:</strong> function</li>
|
|
5988
|
-
<li><strong>Lines (comments):</strong>
|
|
5989
|
-
<li><strong>Lines (code):</strong>
|
|
6036
|
+
<li><strong>Lines (comments):</strong> 227-227</li>
|
|
6037
|
+
<li><strong>Lines (code):</strong> 228-236</li>
|
|
5990
6038
|
</ul>
|
|
5991
6039
|
</details>
|
|
5992
6040
|
<h4 id="require-8" tabindex="-1">Require</h4>
|
|
@@ -6006,8 +6054,8 @@
|
|
|
6006
6054
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6007
6055
|
<li><strong>Group:</strong> utils</li>
|
|
6008
6056
|
<li><strong>Type:</strong> function</li>
|
|
6009
|
-
<li><strong>Lines (comments):</strong>
|
|
6010
|
-
<li><strong>Lines (code):</strong>
|
|
6057
|
+
<li><strong>Lines (comments):</strong> 239-243</li>
|
|
6058
|
+
<li><strong>Lines (code):</strong> 244-263</li>
|
|
6011
6059
|
</ul>
|
|
6012
6060
|
</details>
|
|
6013
6061
|
<h4 id="parameters-13" tabindex="-1">Parameters</h4>
|
|
@@ -6064,8 +6112,8 @@
|
|
|
6064
6112
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6065
6113
|
<li><strong>Group:</strong> utils</li>
|
|
6066
6114
|
<li><strong>Type:</strong> function</li>
|
|
6067
|
-
<li><strong>Lines (comments):</strong>
|
|
6068
|
-
<li><strong>Lines (code):</strong>
|
|
6115
|
+
<li><strong>Lines (comments):</strong> 265-269</li>
|
|
6116
|
+
<li><strong>Lines (code):</strong> 271-297</li>
|
|
6069
6117
|
</ul>
|
|
6070
6118
|
</details>
|
|
6071
6119
|
<h4 id="parameters-14" tabindex="-1">Parameters</h4>
|
|
@@ -6131,8 +6179,8 @@
|
|
|
6131
6179
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6132
6180
|
<li><strong>Group:</strong> utils</li>
|
|
6133
6181
|
<li><strong>Type:</strong> function</li>
|
|
6134
|
-
<li><strong>Lines (comments):</strong>
|
|
6135
|
-
<li><strong>Lines (code):</strong>
|
|
6182
|
+
<li><strong>Lines (comments):</strong> 299-303</li>
|
|
6183
|
+
<li><strong>Lines (code):</strong> 305-321</li>
|
|
6136
6184
|
</ul>
|
|
6137
6185
|
</details>
|
|
6138
6186
|
<h4 id="parameters-15" tabindex="-1">Parameters</h4>
|
|
@@ -6183,8 +6231,8 @@
|
|
|
6183
6231
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6184
6232
|
<li><strong>Group:</strong> utils</li>
|
|
6185
6233
|
<li><strong>Type:</strong> function</li>
|
|
6186
|
-
<li><strong>Lines (comments):</strong>
|
|
6187
|
-
<li><strong>Lines (code):</strong>
|
|
6234
|
+
<li><strong>Lines (comments):</strong> 323-327</li>
|
|
6235
|
+
<li><strong>Lines (code):</strong> 329-337</li>
|
|
6188
6236
|
</ul>
|
|
6189
6237
|
</details>
|
|
6190
6238
|
<h4 id="parameters-16" tabindex="-1">Parameters</h4>
|
|
@@ -6240,8 +6288,8 @@
|
|
|
6240
6288
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6241
6289
|
<li><strong>Group:</strong> utils</li>
|
|
6242
6290
|
<li><strong>Type:</strong> function</li>
|
|
6243
|
-
<li><strong>Lines (comments):</strong>
|
|
6244
|
-
<li><strong>Lines (code):</strong>
|
|
6291
|
+
<li><strong>Lines (comments):</strong> 339-343</li>
|
|
6292
|
+
<li><strong>Lines (code):</strong> 345-353</li>
|
|
6245
6293
|
</ul>
|
|
6246
6294
|
</details>
|
|
6247
6295
|
<h4 id="parameters-17" tabindex="-1">Parameters</h4>
|
|
@@ -6294,8 +6342,8 @@
|
|
|
6294
6342
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6295
6343
|
<li><strong>Group:</strong> utils</li>
|
|
6296
6344
|
<li><strong>Type:</strong> function</li>
|
|
6297
|
-
<li><strong>Lines (comments):</strong>
|
|
6298
|
-
<li><strong>Lines (code):</strong>
|
|
6345
|
+
<li><strong>Lines (comments):</strong> 355-359</li>
|
|
6346
|
+
<li><strong>Lines (code):</strong> 361-376</li>
|
|
6299
6347
|
</ul>
|
|
6300
6348
|
</details>
|
|
6301
6349
|
<h4 id="parameters-18" tabindex="-1">Parameters</h4>
|
|
@@ -6361,8 +6409,8 @@
|
|
|
6361
6409
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6362
6410
|
<li><strong>Group:</strong> utils</li>
|
|
6363
6411
|
<li><strong>Type:</strong> function</li>
|
|
6364
|
-
<li><strong>Lines (comments):</strong>
|
|
6365
|
-
<li><strong>Lines (code):</strong>
|
|
6412
|
+
<li><strong>Lines (comments):</strong> 378-393</li>
|
|
6413
|
+
<li><strong>Lines (code):</strong> 395-411</li>
|
|
6366
6414
|
</ul>
|
|
6367
6415
|
</details>
|
|
6368
6416
|
<h4 id="examples-2" tabindex="-1">Examples</h4>
|
|
@@ -6424,8 +6472,8 @@
|
|
|
6424
6472
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6425
6473
|
<li><strong>Group:</strong> utils</li>
|
|
6426
6474
|
<li><strong>Type:</strong> function</li>
|
|
6427
|
-
<li><strong>Lines (comments):</strong>
|
|
6428
|
-
<li><strong>Lines (code):</strong>
|
|
6475
|
+
<li><strong>Lines (comments):</strong> 413-422</li>
|
|
6476
|
+
<li><strong>Lines (code):</strong> 424-426</li>
|
|
6429
6477
|
</ul>
|
|
6430
6478
|
</details>
|
|
6431
6479
|
<h4 id="examples-3" tabindex="-1">Examples</h4>
|
|
@@ -6484,8 +6532,8 @@
|
|
|
6484
6532
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6485
6533
|
<li><strong>Group:</strong> utils</li>
|
|
6486
6534
|
<li><strong>Type:</strong> function</li>
|
|
6487
|
-
<li><strong>Lines (comments):</strong>
|
|
6488
|
-
<li><strong>Lines (code):</strong>
|
|
6535
|
+
<li><strong>Lines (comments):</strong> 428-437</li>
|
|
6536
|
+
<li><strong>Lines (code):</strong> 439-441</li>
|
|
6489
6537
|
</ul>
|
|
6490
6538
|
</details>
|
|
6491
6539
|
<h4 id="examples-4" tabindex="-1">Examples</h4>
|
|
@@ -6544,8 +6592,8 @@
|
|
|
6544
6592
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6545
6593
|
<li><strong>Group:</strong> utils</li>
|
|
6546
6594
|
<li><strong>Type:</strong> function</li>
|
|
6547
|
-
<li><strong>Lines (comments):</strong>
|
|
6548
|
-
<li><strong>Lines (code):</strong>
|
|
6595
|
+
<li><strong>Lines (comments):</strong> 443-452</li>
|
|
6596
|
+
<li><strong>Lines (code):</strong> 454-456</li>
|
|
6549
6597
|
</ul>
|
|
6550
6598
|
</details>
|
|
6551
6599
|
<h4 id="examples-5" tabindex="-1">Examples</h4>
|
|
@@ -6604,8 +6652,8 @@
|
|
|
6604
6652
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6605
6653
|
<li><strong>Group:</strong> utils</li>
|
|
6606
6654
|
<li><strong>Type:</strong> function</li>
|
|
6607
|
-
<li><strong>Lines (comments):</strong>
|
|
6608
|
-
<li><strong>Lines (code):</strong>
|
|
6655
|
+
<li><strong>Lines (comments):</strong> 458-467</li>
|
|
6656
|
+
<li><strong>Lines (code):</strong> 469-471</li>
|
|
6609
6657
|
</ul>
|
|
6610
6658
|
</details>
|
|
6611
6659
|
<h4 id="examples-6" tabindex="-1">Examples</h4>
|
|
@@ -6667,8 +6715,8 @@
|
|
|
6667
6715
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6668
6716
|
<li><strong>Group:</strong> utils</li>
|
|
6669
6717
|
<li><strong>Type:</strong> function</li>
|
|
6670
|
-
<li><strong>Lines (comments):</strong>
|
|
6671
|
-
<li><strong>Lines (code):</strong>
|
|
6718
|
+
<li><strong>Lines (comments):</strong> 473-475</li>
|
|
6719
|
+
<li><strong>Lines (code):</strong> 477-487</li>
|
|
6672
6720
|
</ul>
|
|
6673
6721
|
</details>
|
|
6674
6722
|
<h4 id="throw-6" tabindex="-1">Throw</h4>
|
|
@@ -6696,8 +6744,8 @@
|
|
|
6696
6744
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6697
6745
|
<li><strong>Group:</strong> utils</li>
|
|
6698
6746
|
<li><strong>Type:</strong> function</li>
|
|
6699
|
-
<li><strong>Lines (comments):</strong>
|
|
6700
|
-
<li><strong>Lines (code):</strong>
|
|
6747
|
+
<li><strong>Lines (comments):</strong> 489-494</li>
|
|
6748
|
+
<li><strong>Lines (code):</strong> 496-498</li>
|
|
6701
6749
|
</ul>
|
|
6702
6750
|
</details>
|
|
6703
6751
|
<h4 id="parameters-24" tabindex="-1">Parameters</h4>
|
|
@@ -6762,8 +6810,8 @@
|
|
|
6762
6810
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6763
6811
|
<li><strong>Group:</strong> utils</li>
|
|
6764
6812
|
<li><strong>Type:</strong> function</li>
|
|
6765
|
-
<li><strong>Lines (comments):</strong>
|
|
6766
|
-
<li><strong>Lines (code):</strong>
|
|
6813
|
+
<li><strong>Lines (comments):</strong> 500-503</li>
|
|
6814
|
+
<li><strong>Lines (code):</strong> 505-507</li>
|
|
6767
6815
|
</ul>
|
|
6768
6816
|
</details>
|
|
6769
6817
|
<h4 id="parameters-25" tabindex="-1">Parameters</h4>
|
|
@@ -6819,8 +6867,8 @@
|
|
|
6819
6867
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6820
6868
|
<li><strong>Group:</strong> utils</li>
|
|
6821
6869
|
<li><strong>Type:</strong> function</li>
|
|
6822
|
-
<li><strong>Lines (comments):</strong>
|
|
6823
|
-
<li><strong>Lines (code):</strong>
|
|
6870
|
+
<li><strong>Lines (comments):</strong> 523-527</li>
|
|
6871
|
+
<li><strong>Lines (code):</strong> 529-531</li>
|
|
6824
6872
|
</ul>
|
|
6825
6873
|
</details>
|
|
6826
6874
|
<h4 id="parameters-26" tabindex="-1">Parameters</h4>
|
|
@@ -6873,8 +6921,8 @@
|
|
|
6873
6921
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6874
6922
|
<li><strong>Group:</strong> utils</li>
|
|
6875
6923
|
<li><strong>Type:</strong> function</li>
|
|
6876
|
-
<li><strong>Lines (comments):</strong>
|
|
6877
|
-
<li><strong>Lines (code):</strong>
|
|
6924
|
+
<li><strong>Lines (comments):</strong> 533-536</li>
|
|
6925
|
+
<li><strong>Lines (code):</strong> 538-569</li>
|
|
6878
6926
|
</ul>
|
|
6879
6927
|
</details>
|
|
6880
6928
|
<h4 id="parameters-27" tabindex="-1">Parameters</h4>
|
|
@@ -6929,8 +6977,8 @@
|
|
|
6929
6977
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6930
6978
|
<li><strong>Group:</strong> utils</li>
|
|
6931
6979
|
<li><strong>Type:</strong> function</li>
|
|
6932
|
-
<li><strong>Lines (comments):</strong>
|
|
6933
|
-
<li><strong>Lines (code):</strong>
|
|
6980
|
+
<li><strong>Lines (comments):</strong> 571-575</li>
|
|
6981
|
+
<li><strong>Lines (code):</strong> 577-595</li>
|
|
6934
6982
|
</ul>
|
|
6935
6983
|
</details>
|
|
6936
6984
|
<h4 id="parameters-28" tabindex="-1">Parameters</h4>
|
|
@@ -6988,8 +7036,8 @@
|
|
|
6988
7036
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6989
7037
|
<li><strong>Group:</strong> utils</li>
|
|
6990
7038
|
<li><strong>Type:</strong> function</li>
|
|
6991
|
-
<li><strong>Lines (comments):</strong>
|
|
6992
|
-
<li><strong>Lines (code):</strong>
|
|
7039
|
+
<li><strong>Lines (comments):</strong> 597-599</li>
|
|
7040
|
+
<li><strong>Lines (code):</strong> 601-603</li>
|
|
6993
7041
|
</ul>
|
|
6994
7042
|
</details>
|
|
6995
7043
|
<h4 id="parameters-29" tabindex="-1">Parameters</h4>
|
|
@@ -7037,8 +7085,8 @@
|
|
|
7037
7085
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7038
7086
|
<li><strong>Group:</strong> utils</li>
|
|
7039
7087
|
<li><strong>Type:</strong> function</li>
|
|
7040
|
-
<li><strong>Lines (comments):</strong>
|
|
7041
|
-
<li><strong>Lines (code):</strong>
|
|
7088
|
+
<li><strong>Lines (comments):</strong> 605-607</li>
|
|
7089
|
+
<li><strong>Lines (code):</strong> 609-611</li>
|
|
7042
7090
|
</ul>
|
|
7043
7091
|
</details>
|
|
7044
7092
|
<h4 id="parameters-30" tabindex="-1">Parameters</h4>
|
|
@@ -7086,8 +7134,8 @@
|
|
|
7086
7134
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7087
7135
|
<li><strong>Group:</strong> utils</li>
|
|
7088
7136
|
<li><strong>Type:</strong> function</li>
|
|
7089
|
-
<li><strong>Lines (comments):</strong>
|
|
7090
|
-
<li><strong>Lines (code):</strong>
|
|
7137
|
+
<li><strong>Lines (comments):</strong> 613-615</li>
|
|
7138
|
+
<li><strong>Lines (code):</strong> 617-619</li>
|
|
7091
7139
|
</ul>
|
|
7092
7140
|
</details>
|
|
7093
7141
|
<h4 id="parameters-31" tabindex="-1">Parameters</h4>
|
|
@@ -7135,8 +7183,8 @@
|
|
|
7135
7183
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7136
7184
|
<li><strong>Group:</strong> utils</li>
|
|
7137
7185
|
<li><strong>Type:</strong> function</li>
|
|
7138
|
-
<li><strong>Lines (comments):</strong>
|
|
7139
|
-
<li><strong>Lines (code):</strong>
|
|
7186
|
+
<li><strong>Lines (comments):</strong> 621-623</li>
|
|
7187
|
+
<li><strong>Lines (code):</strong> 625-627</li>
|
|
7140
7188
|
</ul>
|
|
7141
7189
|
</details>
|
|
7142
7190
|
<h4 id="parameters-32" tabindex="-1">Parameters</h4>
|
|
@@ -7184,8 +7232,8 @@
|
|
|
7184
7232
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7185
7233
|
<li><strong>Group:</strong> utils</li>
|
|
7186
7234
|
<li><strong>Type:</strong> function</li>
|
|
7187
|
-
<li><strong>Lines (comments):</strong>
|
|
7188
|
-
<li><strong>Lines (code):</strong>
|
|
7235
|
+
<li><strong>Lines (comments):</strong> 629-631</li>
|
|
7236
|
+
<li><strong>Lines (code):</strong> 633-635</li>
|
|
7189
7237
|
</ul>
|
|
7190
7238
|
</details>
|
|
7191
7239
|
<h4 id="parameters-33" tabindex="-1">Parameters</h4>
|
|
@@ -7236,8 +7284,8 @@
|
|
|
7236
7284
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7237
7285
|
<li><strong>Group:</strong> utils</li>
|
|
7238
7286
|
<li><strong>Type:</strong> function</li>
|
|
7239
|
-
<li><strong>Lines (comments):</strong>
|
|
7240
|
-
<li><strong>Lines (code):</strong>
|
|
7287
|
+
<li><strong>Lines (comments):</strong> 655-658</li>
|
|
7288
|
+
<li><strong>Lines (code):</strong> 660-666</li>
|
|
7241
7289
|
</ul>
|
|
7242
7290
|
</details>
|
|
7243
7291
|
<h4 id="parameters-34" tabindex="-1">Parameters</h4>
|
|
@@ -7294,8 +7342,8 @@
|
|
|
7294
7342
|
<li><strong>File:</strong> _utils.scss</li>
|
|
7295
7343
|
<li><strong>Group:</strong> utils</li>
|
|
7296
7344
|
<li><strong>Type:</strong> function</li>
|
|
7297
|
-
<li><strong>Lines (comments):</strong>
|
|
7298
|
-
<li><strong>Lines (code):</strong>
|
|
7345
|
+
<li><strong>Lines (comments):</strong> 668-670</li>
|
|
7346
|
+
<li><strong>Lines (code):</strong> 672-674</li>
|
|
7299
7347
|
</ul>
|
|
7300
7348
|
</details>
|
|
7301
7349
|
<h4 id="parameters-35" tabindex="-1">Parameters</h4>
|
|
@@ -7334,6 +7382,192 @@
|
|
|
7334
7382
|
<ul>
|
|
7335
7383
|
<li><a href="/frontend/sass/core/utils/#function-is-even">is-even()</a></li>
|
|
7336
7384
|
</ul>
|
|
7385
|
+
<div class="sassdoc-item-header">
|
|
7386
|
+
<h3 id="function-ensure-map" tabindex="-1">ensure-map()</h3>
|
|
7387
|
+
<div class="sassdoc-item-header__labels">
|
|
7388
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7389
|
+
</div>
|
|
7390
|
+
</div>
|
|
7391
|
+
<p>Always returns a map</p>
|
|
7392
|
+
<details>
|
|
7393
|
+
<summary>File Information</summary>
|
|
7394
|
+
<ul>
|
|
7395
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7396
|
+
<li><strong>Group:</strong> utils</li>
|
|
7397
|
+
<li><strong>Type:</strong> function</li>
|
|
7398
|
+
<li><strong>Lines (comments):</strong> 676-678</li>
|
|
7399
|
+
<li><strong>Lines (code):</strong> 680-682</li>
|
|
7400
|
+
</ul>
|
|
7401
|
+
</details>
|
|
7402
|
+
<h4 id="parameters-36" tabindex="-1">Parameters</h4>
|
|
7403
|
+
<table>
|
|
7404
|
+
<thead>
|
|
7405
|
+
<tr>
|
|
7406
|
+
<th style="text-align:left">Name</th>
|
|
7407
|
+
<th style="text-align:left">Type</th>
|
|
7408
|
+
<th style="text-align:left">Description</th>
|
|
7409
|
+
</tr>
|
|
7410
|
+
</thead>
|
|
7411
|
+
<tbody>
|
|
7412
|
+
<tr>
|
|
7413
|
+
<td style="text-align:left">$value</td>
|
|
7414
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7415
|
+
<td style="text-align:left">The value to check if is map</td>
|
|
7416
|
+
</tr>
|
|
7417
|
+
</tbody>
|
|
7418
|
+
</table>
|
|
7419
|
+
<h4 id="returns-27" tabindex="-1">Returns</h4>
|
|
7420
|
+
<table>
|
|
7421
|
+
<thead>
|
|
7422
|
+
<tr>
|
|
7423
|
+
<th style="text-align:left">Type</th>
|
|
7424
|
+
<th style="text-align:left">Description</th>
|
|
7425
|
+
</tr>
|
|
7426
|
+
</thead>
|
|
7427
|
+
<tbody>
|
|
7428
|
+
<tr>
|
|
7429
|
+
<td style="text-align:left">Map</td>
|
|
7430
|
+
<td style="text-align:left">The $value if it was a map, else empty map</td>
|
|
7431
|
+
</tr>
|
|
7432
|
+
</tbody>
|
|
7433
|
+
</table>
|
|
7434
|
+
<h4 id="require-20" tabindex="-1">Require</h4>
|
|
7435
|
+
<ul>
|
|
7436
|
+
<li><a href="/frontend/sass/core/utils/#function-is-map">is-map()</a></li>
|
|
7437
|
+
</ul>
|
|
7438
|
+
<div class="sassdoc-item-header">
|
|
7439
|
+
<h3 id="function-is-end" tabindex="-1">is-end()</h3>
|
|
7440
|
+
<div class="sassdoc-item-header__labels">
|
|
7441
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7442
|
+
</div>
|
|
7443
|
+
</div>
|
|
7444
|
+
<p>Returns true if edge passed is an end (top/bottom)</p>
|
|
7445
|
+
<details>
|
|
7446
|
+
<summary>File Information</summary>
|
|
7447
|
+
<ul>
|
|
7448
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7449
|
+
<li><strong>Group:</strong> utils</li>
|
|
7450
|
+
<li><strong>Type:</strong> function</li>
|
|
7451
|
+
<li><strong>Lines (comments):</strong> 684-687</li>
|
|
7452
|
+
<li><strong>Lines (code):</strong> 689-697</li>
|
|
7453
|
+
</ul>
|
|
7454
|
+
</details>
|
|
7455
|
+
<h4 id="parameters-37" tabindex="-1">Parameters</h4>
|
|
7456
|
+
<table>
|
|
7457
|
+
<thead>
|
|
7458
|
+
<tr>
|
|
7459
|
+
<th style="text-align:left">Name</th>
|
|
7460
|
+
<th style="text-align:left">Type</th>
|
|
7461
|
+
<th style="text-align:left">Description</th>
|
|
7462
|
+
</tr>
|
|
7463
|
+
</thead>
|
|
7464
|
+
<tbody>
|
|
7465
|
+
<tr>
|
|
7466
|
+
<td style="text-align:left">$edge</td>
|
|
7467
|
+
<td style="text-align:left"><code>String</code></td>
|
|
7468
|
+
<td style="text-align:left">The edge string to test</td>
|
|
7469
|
+
</tr>
|
|
7470
|
+
</tbody>
|
|
7471
|
+
</table>
|
|
7472
|
+
<h4 id="returns-28" tabindex="-1">Returns</h4>
|
|
7473
|
+
<table>
|
|
7474
|
+
<thead>
|
|
7475
|
+
<tr>
|
|
7476
|
+
<th style="text-align:left">Type</th>
|
|
7477
|
+
<th style="text-align:left">Description</th>
|
|
7478
|
+
</tr>
|
|
7479
|
+
</thead>
|
|
7480
|
+
<tbody>
|
|
7481
|
+
<tr>
|
|
7482
|
+
<td style="text-align:left">Boolean</td>
|
|
7483
|
+
<td style="text-align:left">Whether the edge was an end (versus side/x-axis)</td>
|
|
7484
|
+
</tr>
|
|
7485
|
+
</tbody>
|
|
7486
|
+
</table>
|
|
7487
|
+
<h4 id="throw-9" tabindex="-1">Throw</h4>
|
|
7488
|
+
<ul>
|
|
7489
|
+
<li>Expected side to be top/bottom/left/right, got #{ $edge }</li>
|
|
7490
|
+
</ul>
|
|
7491
|
+
<div class="sassdoc-item-header">
|
|
7492
|
+
<h3 id="function-is-side" tabindex="-1">is-side()</h3>
|
|
7493
|
+
<div class="sassdoc-item-header__labels">
|
|
7494
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7495
|
+
</div>
|
|
7496
|
+
</div>
|
|
7497
|
+
<p>Returns true if edge passed is an side (left/right)</p>
|
|
7498
|
+
<details>
|
|
7499
|
+
<summary>File Information</summary>
|
|
7500
|
+
<ul>
|
|
7501
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7502
|
+
<li><strong>Group:</strong> utils</li>
|
|
7503
|
+
<li><strong>Type:</strong> function</li>
|
|
7504
|
+
<li><strong>Lines (comments):</strong> 699-702</li>
|
|
7505
|
+
<li><strong>Lines (code):</strong> 704-706</li>
|
|
7506
|
+
</ul>
|
|
7507
|
+
</details>
|
|
7508
|
+
<h4 id="parameters-38" tabindex="-1">Parameters</h4>
|
|
7509
|
+
<table>
|
|
7510
|
+
<thead>
|
|
7511
|
+
<tr>
|
|
7512
|
+
<th style="text-align:left">Name</th>
|
|
7513
|
+
<th style="text-align:left">Type</th>
|
|
7514
|
+
<th style="text-align:left">Description</th>
|
|
7515
|
+
</tr>
|
|
7516
|
+
</thead>
|
|
7517
|
+
<tbody>
|
|
7518
|
+
<tr>
|
|
7519
|
+
<td style="text-align:left">$edge</td>
|
|
7520
|
+
<td style="text-align:left"><code>String</code></td>
|
|
7521
|
+
<td style="text-align:left">The edge string to test</td>
|
|
7522
|
+
</tr>
|
|
7523
|
+
</tbody>
|
|
7524
|
+
</table>
|
|
7525
|
+
<h4 id="returns-29" tabindex="-1">Returns</h4>
|
|
7526
|
+
<table>
|
|
7527
|
+
<thead>
|
|
7528
|
+
<tr>
|
|
7529
|
+
<th style="text-align:left">Type</th>
|
|
7530
|
+
<th style="text-align:left">Description</th>
|
|
7531
|
+
</tr>
|
|
7532
|
+
</thead>
|
|
7533
|
+
<tbody>
|
|
7534
|
+
<tr>
|
|
7535
|
+
<td style="text-align:left">Boolean</td>
|
|
7536
|
+
<td style="text-align:left">Whether the edge was an side (versus end/y-axis)</td>
|
|
7537
|
+
</tr>
|
|
7538
|
+
</tbody>
|
|
7539
|
+
</table>
|
|
7540
|
+
<h4 id="throw-10" tabindex="-1">Throw</h4>
|
|
7541
|
+
<ul>
|
|
7542
|
+
<li>If $edge is not a valid value (not top/bottom/left/right)</li>
|
|
7543
|
+
</ul>
|
|
7544
|
+
<h4 id="require-21" tabindex="-1">Require</h4>
|
|
7545
|
+
<ul>
|
|
7546
|
+
<li><a href="/frontend/sass/core/utils/#function-is-end">is-end()</a></li>
|
|
7547
|
+
</ul>
|
|
7548
|
+
<h2 id="css" tabindex="-1">CSS</h2>
|
|
7549
|
+
<div class="sassdoc-item-header">
|
|
7550
|
+
<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>
|
|
7551
|
+
<p>@function units-match($number, $other-number) {#css-// Could be made into multiple arguments in future if needed</p>
|
|
7552
|
+
<p>@function units-match($number, $other-number)}</p>
|
|
7553
|
+
<div class="sassdoc-item-header__labels">
|
|
7554
|
+
<span class="tag tag--primary"><strong>Css</strong></span>
|
|
7555
|
+
</div>
|
|
7556
|
+
</div>
|
|
7557
|
+
<p>Checks if two numbers are the same unit</p>
|
|
7558
|
+
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-punctuation">{</span>
|
|
7559
|
+
<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>
|
|
7560
|
+
<span class="pjs-token pjs-punctuation">}</span></code></pre>
|
|
7561
|
+
<details>
|
|
7562
|
+
<summary>File Information</summary>
|
|
7563
|
+
<ul>
|
|
7564
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7565
|
+
<li><strong>Group:</strong> utils</li>
|
|
7566
|
+
<li><strong>Type:</strong> css</li>
|
|
7567
|
+
<li><strong>Lines (comments):</strong> 164-167</li>
|
|
7568
|
+
<li><strong>Lines (code):</strong> 170-706</li>
|
|
7569
|
+
</ul>
|
|
7570
|
+
</details>
|
|
7337
7571
|
|
|
7338
7572
|
</div>
|
|
7339
7573
|
</div>
|