@ulu/frontend 0.1.0-beta.29 → 0.1.0-beta.30
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 +11 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/changelog/index.html +26 -7
- package/docs-dev/demos/button-verbose/index.html +11 -2
- package/docs-dev/demos/card/index.html +14 -14
- package/docs-dev/demos/data-table/index.html +25 -25
- package/docs-dev/sass/components/button-verbose/index.html +3 -3
- package/docs-dev/sass/components/popover/index.html +20 -13
- package/docs-dev/sass/core/utils/index.html +523 -10
- package/package.json +1 -1
- package/scss/_layout.scss +1 -4
- package/scss/_utils.scss +152 -1
- package/scss/components/_button-verbose.scss +8 -3
- package/scss/components/_form-theme.scss +58 -58
- package/scss/components/_popover.scss +67 -4
|
@@ -5157,6 +5157,33 @@
|
|
|
5157
5157
|
|
|
5158
5158
|
<li><a href="#function-hypotenuse">hypotenuse()</a>
|
|
5159
5159
|
</li>
|
|
5160
|
+
|
|
5161
|
+
<li><a href="#function-box-shadow-info">box-shadow-info()</a>
|
|
5162
|
+
</li>
|
|
5163
|
+
|
|
5164
|
+
<li><a href="#function-box-shadow-extent">box-shadow-extent()</a>
|
|
5165
|
+
</li>
|
|
5166
|
+
|
|
5167
|
+
<li><a href="#function-is-list">is-list()</a>
|
|
5168
|
+
</li>
|
|
5169
|
+
|
|
5170
|
+
<li><a href="#function-is-map">is-map()</a>
|
|
5171
|
+
</li>
|
|
5172
|
+
|
|
5173
|
+
<li><a href="#function-is-number">is-number()</a>
|
|
5174
|
+
</li>
|
|
5175
|
+
|
|
5176
|
+
<li><a href="#function-is-string">is-string()</a>
|
|
5177
|
+
</li>
|
|
5178
|
+
|
|
5179
|
+
<li><a href="#function-is-color">is-color()</a>
|
|
5180
|
+
</li>
|
|
5181
|
+
|
|
5182
|
+
<li><a href="#function-is-even">is-even()</a>
|
|
5183
|
+
</li>
|
|
5184
|
+
|
|
5185
|
+
<li><a href="#function-is-odd">is-odd()</a>
|
|
5186
|
+
</li>
|
|
5160
5187
|
</ol>
|
|
5161
5188
|
</li>
|
|
5162
5189
|
</ol>
|
|
@@ -5431,8 +5458,8 @@
|
|
|
5431
5458
|
<li><strong>File:</strong> _utils.scss</li>
|
|
5432
5459
|
<li><strong>Group:</strong> utils</li>
|
|
5433
5460
|
<li><strong>Type:</strong> mixin</li>
|
|
5434
|
-
<li><strong>Lines (comments):</strong>
|
|
5435
|
-
<li><strong>Lines (code):</strong>
|
|
5461
|
+
<li><strong>Lines (comments):</strong> 499-502</li>
|
|
5462
|
+
<li><strong>Lines (code):</strong> 504-511</li>
|
|
5436
5463
|
</ul>
|
|
5437
5464
|
</details>
|
|
5438
5465
|
<h4 id="parameters-4" tabindex="-1">Parameters</h4>
|
|
@@ -6641,13 +6668,21 @@
|
|
|
6641
6668
|
<li><strong>Group:</strong> utils</li>
|
|
6642
6669
|
<li><strong>Type:</strong> function</li>
|
|
6643
6670
|
<li><strong>Lines (comments):</strong> 463-465</li>
|
|
6644
|
-
<li><strong>Lines (code):</strong> 467-
|
|
6671
|
+
<li><strong>Lines (code):</strong> 467-477</li>
|
|
6645
6672
|
</ul>
|
|
6646
6673
|
</details>
|
|
6674
|
+
<h4 id="throw-6" tabindex="-1">Throw</h4>
|
|
6675
|
+
<ul>
|
|
6676
|
+
<li>Expected number, got #{ $value }</li>
|
|
6677
|
+
</ul>
|
|
6647
6678
|
<h4 id="related-links" tabindex="-1">Related Links</h4>
|
|
6648
6679
|
<ul>
|
|
6649
6680
|
<li><a href="https://stackoverflow.com/questions/12328259/how-do-you-strip-the-unit-from-any-number-in-sass/12335841#12335841">Original source (Miriam Suzanne)</a></li>
|
|
6650
6681
|
</ul>
|
|
6682
|
+
<h4 id="require-15" tabindex="-1">Require</h4>
|
|
6683
|
+
<ul>
|
|
6684
|
+
<li><a href="/frontend/sass/core/utils/#function-is-number">is-number()</a></li>
|
|
6685
|
+
</ul>
|
|
6651
6686
|
<div class="sassdoc-item-header">
|
|
6652
6687
|
<h3 id="function-ratio-scale-size" tabindex="-1">ratio-scale-size()</h3>
|
|
6653
6688
|
<div class="sassdoc-item-header__labels">
|
|
@@ -6661,8 +6696,8 @@
|
|
|
6661
6696
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6662
6697
|
<li><strong>Group:</strong> utils</li>
|
|
6663
6698
|
<li><strong>Type:</strong> function</li>
|
|
6664
|
-
<li><strong>Lines (comments):</strong>
|
|
6665
|
-
<li><strong>Lines (code):</strong>
|
|
6699
|
+
<li><strong>Lines (comments):</strong> 479-484</li>
|
|
6700
|
+
<li><strong>Lines (code):</strong> 486-488</li>
|
|
6666
6701
|
</ul>
|
|
6667
6702
|
</details>
|
|
6668
6703
|
<h4 id="parameters-24" tabindex="-1">Parameters</h4>
|
|
@@ -6710,7 +6745,7 @@
|
|
|
6710
6745
|
</tr>
|
|
6711
6746
|
</tbody>
|
|
6712
6747
|
</table>
|
|
6713
|
-
<h4 id="require-
|
|
6748
|
+
<h4 id="require-16" tabindex="-1">Require</h4>
|
|
6714
6749
|
<ul>
|
|
6715
6750
|
<li><a href="/frontend/sass/core/breakpoint/#variable-sizes">$sizes</a></li>
|
|
6716
6751
|
</ul>
|
|
@@ -6727,8 +6762,8 @@
|
|
|
6727
6762
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6728
6763
|
<li><strong>Group:</strong> utils</li>
|
|
6729
6764
|
<li><strong>Type:</strong> function</li>
|
|
6730
|
-
<li><strong>Lines (comments):</strong>
|
|
6731
|
-
<li><strong>Lines (code):</strong>
|
|
6765
|
+
<li><strong>Lines (comments):</strong> 490-493</li>
|
|
6766
|
+
<li><strong>Lines (code):</strong> 495-497</li>
|
|
6732
6767
|
</ul>
|
|
6733
6768
|
</details>
|
|
6734
6769
|
<h4 id="parameters-25" tabindex="-1">Parameters</h4>
|
|
@@ -6784,8 +6819,8 @@
|
|
|
6784
6819
|
<li><strong>File:</strong> _utils.scss</li>
|
|
6785
6820
|
<li><strong>Group:</strong> utils</li>
|
|
6786
6821
|
<li><strong>Type:</strong> function</li>
|
|
6787
|
-
<li><strong>Lines (comments):</strong>
|
|
6788
|
-
<li><strong>Lines (code):</strong>
|
|
6822
|
+
<li><strong>Lines (comments):</strong> 513-517</li>
|
|
6823
|
+
<li><strong>Lines (code):</strong> 519-521</li>
|
|
6789
6824
|
</ul>
|
|
6790
6825
|
</details>
|
|
6791
6826
|
<h4 id="parameters-26" tabindex="-1">Parameters</h4>
|
|
@@ -6825,6 +6860,484 @@
|
|
|
6825
6860
|
</tr>
|
|
6826
6861
|
</tbody>
|
|
6827
6862
|
</table>
|
|
6863
|
+
<div class="sassdoc-item-header">
|
|
6864
|
+
<h3 id="function-box-shadow-info" tabindex="-1">box-shadow-info()</h3>
|
|
6865
|
+
<div class="sassdoc-item-header__labels">
|
|
6866
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
6867
|
+
</div>
|
|
6868
|
+
</div>
|
|
6869
|
+
<p>Get's the info about a box shadow</p>
|
|
6870
|
+
<details>
|
|
6871
|
+
<summary>File Information</summary>
|
|
6872
|
+
<ul>
|
|
6873
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
6874
|
+
<li><strong>Group:</strong> utils</li>
|
|
6875
|
+
<li><strong>Type:</strong> function</li>
|
|
6876
|
+
<li><strong>Lines (comments):</strong> 523-526</li>
|
|
6877
|
+
<li><strong>Lines (code):</strong> 528-559</li>
|
|
6878
|
+
</ul>
|
|
6879
|
+
</details>
|
|
6880
|
+
<h4 id="parameters-27" tabindex="-1">Parameters</h4>
|
|
6881
|
+
<table>
|
|
6882
|
+
<thead>
|
|
6883
|
+
<tr>
|
|
6884
|
+
<th style="text-align:left">Name</th>
|
|
6885
|
+
<th style="text-align:left">Type</th>
|
|
6886
|
+
<th style="text-align:left">Description</th>
|
|
6887
|
+
</tr>
|
|
6888
|
+
</thead>
|
|
6889
|
+
<tbody>
|
|
6890
|
+
<tr>
|
|
6891
|
+
<td style="text-align:left">$shadow</td>
|
|
6892
|
+
<td style="text-align:left"><code>List</code></td>
|
|
6893
|
+
<td style="text-align:left">The box shadow property (ie. 0 0 4px red)</td>
|
|
6894
|
+
</tr>
|
|
6895
|
+
</tbody>
|
|
6896
|
+
</table>
|
|
6897
|
+
<h4 id="returns-18" tabindex="-1">Returns</h4>
|
|
6898
|
+
<table>
|
|
6899
|
+
<thead>
|
|
6900
|
+
<tr>
|
|
6901
|
+
<th style="text-align:left">Type</th>
|
|
6902
|
+
<th style="text-align:left">Description</th>
|
|
6903
|
+
</tr>
|
|
6904
|
+
</thead>
|
|
6905
|
+
<tbody>
|
|
6906
|
+
<tr>
|
|
6907
|
+
<td style="text-align:left">Map</td>
|
|
6908
|
+
<td style="text-align:left">Map with info about the shadow with the following keys (inset, offset-x, offset-y, blur, spread, color)</td>
|
|
6909
|
+
</tr>
|
|
6910
|
+
</tbody>
|
|
6911
|
+
</table>
|
|
6912
|
+
<h4 id="throw-7" tabindex="-1">Throw</h4>
|
|
6913
|
+
<ul>
|
|
6914
|
+
<li>Box shadow passed is not correct type (list)</li>
|
|
6915
|
+
</ul>
|
|
6916
|
+
<div class="sassdoc-item-header">
|
|
6917
|
+
<h3 id="function-box-shadow-extent" tabindex="-1">box-shadow-extent()</h3>
|
|
6918
|
+
<div class="sassdoc-item-header__labels">
|
|
6919
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
6920
|
+
</div>
|
|
6921
|
+
</div>
|
|
6922
|
+
<p>Get's the extent (how far the shadow extends past the box's edge)</p>
|
|
6923
|
+
<ul>
|
|
6924
|
+
<li>This will only work on box-shadows that have matching units for the numbers</li>
|
|
6925
|
+
</ul>
|
|
6926
|
+
<details>
|
|
6927
|
+
<summary>File Information</summary>
|
|
6928
|
+
<ul>
|
|
6929
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
6930
|
+
<li><strong>Group:</strong> utils</li>
|
|
6931
|
+
<li><strong>Type:</strong> function</li>
|
|
6932
|
+
<li><strong>Lines (comments):</strong> 561-565</li>
|
|
6933
|
+
<li><strong>Lines (code):</strong> 567-585</li>
|
|
6934
|
+
</ul>
|
|
6935
|
+
</details>
|
|
6936
|
+
<h4 id="parameters-28" tabindex="-1">Parameters</h4>
|
|
6937
|
+
<table>
|
|
6938
|
+
<thead>
|
|
6939
|
+
<tr>
|
|
6940
|
+
<th style="text-align:left">Name</th>
|
|
6941
|
+
<th style="text-align:left">Type</th>
|
|
6942
|
+
<th style="text-align:left">Description</th>
|
|
6943
|
+
</tr>
|
|
6944
|
+
</thead>
|
|
6945
|
+
<tbody>
|
|
6946
|
+
<tr>
|
|
6947
|
+
<td style="text-align:left">$shadow</td>
|
|
6948
|
+
<td style="text-align:left"><code>List</code></td>
|
|
6949
|
+
<td style="text-align:left">The box shadow property (ie. 0 0 4px red)</td>
|
|
6950
|
+
</tr>
|
|
6951
|
+
<tr>
|
|
6952
|
+
<td style="text-align:left">$side</td>
|
|
6953
|
+
<td style="text-align:left"><code>String</code></td>
|
|
6954
|
+
<td style="text-align:left">Optionally pass the side of box to get extend for, if not specified offsets are ignored and just the extent of the shadow is passed</td>
|
|
6955
|
+
</tr>
|
|
6956
|
+
</tbody>
|
|
6957
|
+
</table>
|
|
6958
|
+
<h4 id="returns-19" tabindex="-1">Returns</h4>
|
|
6959
|
+
<table>
|
|
6960
|
+
<thead>
|
|
6961
|
+
<tr>
|
|
6962
|
+
<th style="text-align:left">Type</th>
|
|
6963
|
+
<th style="text-align:left">Description</th>
|
|
6964
|
+
</tr>
|
|
6965
|
+
</thead>
|
|
6966
|
+
<tbody>
|
|
6967
|
+
<tr>
|
|
6968
|
+
<td style="text-align:left">Number</td>
|
|
6969
|
+
<td style="text-align:left">The size the shadow extends past it's box</td>
|
|
6970
|
+
</tr>
|
|
6971
|
+
</tbody>
|
|
6972
|
+
</table>
|
|
6973
|
+
<h4 id="require-17" tabindex="-1">Require</h4>
|
|
6974
|
+
<ul>
|
|
6975
|
+
<li><a href="/frontend/sass/core/utils/#function-box-shadow-info">box-shadow-info()</a></li>
|
|
6976
|
+
<li><a href="/frontend/sass/core/breakpoint/#function-get">get()</a></li>
|
|
6977
|
+
</ul>
|
|
6978
|
+
<div class="sassdoc-item-header">
|
|
6979
|
+
<h3 id="function-is-list" tabindex="-1">is-list()</h3>
|
|
6980
|
+
<div class="sassdoc-item-header__labels">
|
|
6981
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
6982
|
+
</div>
|
|
6983
|
+
</div>
|
|
6984
|
+
<p>Determines if value passed is a list</p>
|
|
6985
|
+
<details>
|
|
6986
|
+
<summary>File Information</summary>
|
|
6987
|
+
<ul>
|
|
6988
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
6989
|
+
<li><strong>Group:</strong> utils</li>
|
|
6990
|
+
<li><strong>Type:</strong> function</li>
|
|
6991
|
+
<li><strong>Lines (comments):</strong> 587-589</li>
|
|
6992
|
+
<li><strong>Lines (code):</strong> 591-593</li>
|
|
6993
|
+
</ul>
|
|
6994
|
+
</details>
|
|
6995
|
+
<h4 id="parameters-29" tabindex="-1">Parameters</h4>
|
|
6996
|
+
<table>
|
|
6997
|
+
<thead>
|
|
6998
|
+
<tr>
|
|
6999
|
+
<th style="text-align:left">Name</th>
|
|
7000
|
+
<th style="text-align:left">Type</th>
|
|
7001
|
+
<th style="text-align:left">Description</th>
|
|
7002
|
+
</tr>
|
|
7003
|
+
</thead>
|
|
7004
|
+
<tbody>
|
|
7005
|
+
<tr>
|
|
7006
|
+
<td style="text-align:left">$value</td>
|
|
7007
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7008
|
+
<td style="text-align:left">Value to check</td>
|
|
7009
|
+
</tr>
|
|
7010
|
+
</tbody>
|
|
7011
|
+
</table>
|
|
7012
|
+
<h4 id="returns-20" tabindex="-1">Returns</h4>
|
|
7013
|
+
<table>
|
|
7014
|
+
<thead>
|
|
7015
|
+
<tr>
|
|
7016
|
+
<th style="text-align:left">Type</th>
|
|
7017
|
+
<th style="text-align:left">Description</th>
|
|
7018
|
+
</tr>
|
|
7019
|
+
</thead>
|
|
7020
|
+
<tbody>
|
|
7021
|
+
<tr>
|
|
7022
|
+
<td style="text-align:left">Boolean</td>
|
|
7023
|
+
<td style="text-align:left">Whether the item was type list</td>
|
|
7024
|
+
</tr>
|
|
7025
|
+
</tbody>
|
|
7026
|
+
</table>
|
|
7027
|
+
<div class="sassdoc-item-header">
|
|
7028
|
+
<h3 id="function-is-map" tabindex="-1">is-map()</h3>
|
|
7029
|
+
<div class="sassdoc-item-header__labels">
|
|
7030
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7031
|
+
</div>
|
|
7032
|
+
</div>
|
|
7033
|
+
<p>Determines if value passed is a map</p>
|
|
7034
|
+
<details>
|
|
7035
|
+
<summary>File Information</summary>
|
|
7036
|
+
<ul>
|
|
7037
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7038
|
+
<li><strong>Group:</strong> utils</li>
|
|
7039
|
+
<li><strong>Type:</strong> function</li>
|
|
7040
|
+
<li><strong>Lines (comments):</strong> 595-597</li>
|
|
7041
|
+
<li><strong>Lines (code):</strong> 599-601</li>
|
|
7042
|
+
</ul>
|
|
7043
|
+
</details>
|
|
7044
|
+
<h4 id="parameters-30" tabindex="-1">Parameters</h4>
|
|
7045
|
+
<table>
|
|
7046
|
+
<thead>
|
|
7047
|
+
<tr>
|
|
7048
|
+
<th style="text-align:left">Name</th>
|
|
7049
|
+
<th style="text-align:left">Type</th>
|
|
7050
|
+
<th style="text-align:left">Description</th>
|
|
7051
|
+
</tr>
|
|
7052
|
+
</thead>
|
|
7053
|
+
<tbody>
|
|
7054
|
+
<tr>
|
|
7055
|
+
<td style="text-align:left">$value</td>
|
|
7056
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7057
|
+
<td style="text-align:left">Value to check</td>
|
|
7058
|
+
</tr>
|
|
7059
|
+
</tbody>
|
|
7060
|
+
</table>
|
|
7061
|
+
<h4 id="returns-21" tabindex="-1">Returns</h4>
|
|
7062
|
+
<table>
|
|
7063
|
+
<thead>
|
|
7064
|
+
<tr>
|
|
7065
|
+
<th style="text-align:left">Type</th>
|
|
7066
|
+
<th style="text-align:left">Description</th>
|
|
7067
|
+
</tr>
|
|
7068
|
+
</thead>
|
|
7069
|
+
<tbody>
|
|
7070
|
+
<tr>
|
|
7071
|
+
<td style="text-align:left">Boolean</td>
|
|
7072
|
+
<td style="text-align:left">Whether the item was type map</td>
|
|
7073
|
+
</tr>
|
|
7074
|
+
</tbody>
|
|
7075
|
+
</table>
|
|
7076
|
+
<div class="sassdoc-item-header">
|
|
7077
|
+
<h3 id="function-is-number" tabindex="-1">is-number()</h3>
|
|
7078
|
+
<div class="sassdoc-item-header__labels">
|
|
7079
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7080
|
+
</div>
|
|
7081
|
+
</div>
|
|
7082
|
+
<p>Determines if value passed is a number</p>
|
|
7083
|
+
<details>
|
|
7084
|
+
<summary>File Information</summary>
|
|
7085
|
+
<ul>
|
|
7086
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7087
|
+
<li><strong>Group:</strong> utils</li>
|
|
7088
|
+
<li><strong>Type:</strong> function</li>
|
|
7089
|
+
<li><strong>Lines (comments):</strong> 603-605</li>
|
|
7090
|
+
<li><strong>Lines (code):</strong> 607-609</li>
|
|
7091
|
+
</ul>
|
|
7092
|
+
</details>
|
|
7093
|
+
<h4 id="parameters-31" tabindex="-1">Parameters</h4>
|
|
7094
|
+
<table>
|
|
7095
|
+
<thead>
|
|
7096
|
+
<tr>
|
|
7097
|
+
<th style="text-align:left">Name</th>
|
|
7098
|
+
<th style="text-align:left">Type</th>
|
|
7099
|
+
<th style="text-align:left">Description</th>
|
|
7100
|
+
</tr>
|
|
7101
|
+
</thead>
|
|
7102
|
+
<tbody>
|
|
7103
|
+
<tr>
|
|
7104
|
+
<td style="text-align:left">$value</td>
|
|
7105
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7106
|
+
<td style="text-align:left">Value to check</td>
|
|
7107
|
+
</tr>
|
|
7108
|
+
</tbody>
|
|
7109
|
+
</table>
|
|
7110
|
+
<h4 id="returns-22" tabindex="-1">Returns</h4>
|
|
7111
|
+
<table>
|
|
7112
|
+
<thead>
|
|
7113
|
+
<tr>
|
|
7114
|
+
<th style="text-align:left">Type</th>
|
|
7115
|
+
<th style="text-align:left">Description</th>
|
|
7116
|
+
</tr>
|
|
7117
|
+
</thead>
|
|
7118
|
+
<tbody>
|
|
7119
|
+
<tr>
|
|
7120
|
+
<td style="text-align:left">Boolean</td>
|
|
7121
|
+
<td style="text-align:left">Whether the item was type number</td>
|
|
7122
|
+
</tr>
|
|
7123
|
+
</tbody>
|
|
7124
|
+
</table>
|
|
7125
|
+
<div class="sassdoc-item-header">
|
|
7126
|
+
<h3 id="function-is-string" tabindex="-1">is-string()</h3>
|
|
7127
|
+
<div class="sassdoc-item-header__labels">
|
|
7128
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7129
|
+
</div>
|
|
7130
|
+
</div>
|
|
7131
|
+
<p>Determines if value passed is a string</p>
|
|
7132
|
+
<details>
|
|
7133
|
+
<summary>File Information</summary>
|
|
7134
|
+
<ul>
|
|
7135
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7136
|
+
<li><strong>Group:</strong> utils</li>
|
|
7137
|
+
<li><strong>Type:</strong> function</li>
|
|
7138
|
+
<li><strong>Lines (comments):</strong> 611-613</li>
|
|
7139
|
+
<li><strong>Lines (code):</strong> 615-617</li>
|
|
7140
|
+
</ul>
|
|
7141
|
+
</details>
|
|
7142
|
+
<h4 id="parameters-32" tabindex="-1">Parameters</h4>
|
|
7143
|
+
<table>
|
|
7144
|
+
<thead>
|
|
7145
|
+
<tr>
|
|
7146
|
+
<th style="text-align:left">Name</th>
|
|
7147
|
+
<th style="text-align:left">Type</th>
|
|
7148
|
+
<th style="text-align:left">Description</th>
|
|
7149
|
+
</tr>
|
|
7150
|
+
</thead>
|
|
7151
|
+
<tbody>
|
|
7152
|
+
<tr>
|
|
7153
|
+
<td style="text-align:left">$value</td>
|
|
7154
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7155
|
+
<td style="text-align:left">Value to check</td>
|
|
7156
|
+
</tr>
|
|
7157
|
+
</tbody>
|
|
7158
|
+
</table>
|
|
7159
|
+
<h4 id="returns-23" tabindex="-1">Returns</h4>
|
|
7160
|
+
<table>
|
|
7161
|
+
<thead>
|
|
7162
|
+
<tr>
|
|
7163
|
+
<th style="text-align:left">Type</th>
|
|
7164
|
+
<th style="text-align:left">Description</th>
|
|
7165
|
+
</tr>
|
|
7166
|
+
</thead>
|
|
7167
|
+
<tbody>
|
|
7168
|
+
<tr>
|
|
7169
|
+
<td style="text-align:left">Boolean</td>
|
|
7170
|
+
<td style="text-align:left">Whether the item was type string</td>
|
|
7171
|
+
</tr>
|
|
7172
|
+
</tbody>
|
|
7173
|
+
</table>
|
|
7174
|
+
<div class="sassdoc-item-header">
|
|
7175
|
+
<h3 id="function-is-color" tabindex="-1">is-color()</h3>
|
|
7176
|
+
<div class="sassdoc-item-header__labels">
|
|
7177
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7178
|
+
</div>
|
|
7179
|
+
</div>
|
|
7180
|
+
<p>Determines if value passed is a color</p>
|
|
7181
|
+
<details>
|
|
7182
|
+
<summary>File Information</summary>
|
|
7183
|
+
<ul>
|
|
7184
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7185
|
+
<li><strong>Group:</strong> utils</li>
|
|
7186
|
+
<li><strong>Type:</strong> function</li>
|
|
7187
|
+
<li><strong>Lines (comments):</strong> 619-621</li>
|
|
7188
|
+
<li><strong>Lines (code):</strong> 623-625</li>
|
|
7189
|
+
</ul>
|
|
7190
|
+
</details>
|
|
7191
|
+
<h4 id="parameters-33" tabindex="-1">Parameters</h4>
|
|
7192
|
+
<table>
|
|
7193
|
+
<thead>
|
|
7194
|
+
<tr>
|
|
7195
|
+
<th style="text-align:left">Name</th>
|
|
7196
|
+
<th style="text-align:left">Type</th>
|
|
7197
|
+
<th style="text-align:left">Description</th>
|
|
7198
|
+
</tr>
|
|
7199
|
+
</thead>
|
|
7200
|
+
<tbody>
|
|
7201
|
+
<tr>
|
|
7202
|
+
<td style="text-align:left">$value</td>
|
|
7203
|
+
<td style="text-align:left"><code>*</code></td>
|
|
7204
|
+
<td style="text-align:left">Value to check</td>
|
|
7205
|
+
</tr>
|
|
7206
|
+
</tbody>
|
|
7207
|
+
</table>
|
|
7208
|
+
<h4 id="returns-24" tabindex="-1">Returns</h4>
|
|
7209
|
+
<table>
|
|
7210
|
+
<thead>
|
|
7211
|
+
<tr>
|
|
7212
|
+
<th style="text-align:left">Type</th>
|
|
7213
|
+
<th style="text-align:left">Description</th>
|
|
7214
|
+
</tr>
|
|
7215
|
+
</thead>
|
|
7216
|
+
<tbody>
|
|
7217
|
+
<tr>
|
|
7218
|
+
<td style="text-align:left">Boolean</td>
|
|
7219
|
+
<td style="text-align:left">Whether the item was type color</td>
|
|
7220
|
+
</tr>
|
|
7221
|
+
</tbody>
|
|
7222
|
+
</table>
|
|
7223
|
+
<div class="sassdoc-item-header">
|
|
7224
|
+
<h3 id="function-is-even" tabindex="-1">is-even()</h3>
|
|
7225
|
+
<div class="sassdoc-item-header__labels">
|
|
7226
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7227
|
+
</div>
|
|
7228
|
+
</div>
|
|
7229
|
+
<p>Returns true if number passed is even</p>
|
|
7230
|
+
<ul>
|
|
7231
|
+
<li>Allows unit and unitless numbers</li>
|
|
7232
|
+
</ul>
|
|
7233
|
+
<details>
|
|
7234
|
+
<summary>File Information</summary>
|
|
7235
|
+
<ul>
|
|
7236
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7237
|
+
<li><strong>Group:</strong> utils</li>
|
|
7238
|
+
<li><strong>Type:</strong> function</li>
|
|
7239
|
+
<li><strong>Lines (comments):</strong> 645-648</li>
|
|
7240
|
+
<li><strong>Lines (code):</strong> 650-656</li>
|
|
7241
|
+
</ul>
|
|
7242
|
+
</details>
|
|
7243
|
+
<h4 id="parameters-34" tabindex="-1">Parameters</h4>
|
|
7244
|
+
<table>
|
|
7245
|
+
<thead>
|
|
7246
|
+
<tr>
|
|
7247
|
+
<th style="text-align:left">Name</th>
|
|
7248
|
+
<th style="text-align:left">Type</th>
|
|
7249
|
+
<th style="text-align:left">Description</th>
|
|
7250
|
+
</tr>
|
|
7251
|
+
</thead>
|
|
7252
|
+
<tbody>
|
|
7253
|
+
<tr>
|
|
7254
|
+
<td style="text-align:left">$number</td>
|
|
7255
|
+
<td style="text-align:left"><code>Number</code></td>
|
|
7256
|
+
<td style="text-align:left">The number to check</td>
|
|
7257
|
+
</tr>
|
|
7258
|
+
</tbody>
|
|
7259
|
+
</table>
|
|
7260
|
+
<h4 id="returns-25" tabindex="-1">Returns</h4>
|
|
7261
|
+
<table>
|
|
7262
|
+
<thead>
|
|
7263
|
+
<tr>
|
|
7264
|
+
<th style="text-align:left">Type</th>
|
|
7265
|
+
<th style="text-align:left">Description</th>
|
|
7266
|
+
</tr>
|
|
7267
|
+
</thead>
|
|
7268
|
+
<tbody>
|
|
7269
|
+
<tr>
|
|
7270
|
+
<td style="text-align:left">Boolean</td>
|
|
7271
|
+
<td style="text-align:left">Whether or not it is an even number</td>
|
|
7272
|
+
</tr>
|
|
7273
|
+
</tbody>
|
|
7274
|
+
</table>
|
|
7275
|
+
<h4 id="throw-8" tabindex="-1">Throw</h4>
|
|
7276
|
+
<ul>
|
|
7277
|
+
<li>Expected Number, got #{ $number }</li>
|
|
7278
|
+
</ul>
|
|
7279
|
+
<h4 id="require-18" tabindex="-1">Require</h4>
|
|
7280
|
+
<ul>
|
|
7281
|
+
<li><a href="/frontend/sass/core/utils/#function-is-number">is-number()</a></li>
|
|
7282
|
+
<li><a href="/frontend/sass/core/utils/#function-strip-unit">strip-unit()</a></li>
|
|
7283
|
+
</ul>
|
|
7284
|
+
<div class="sassdoc-item-header">
|
|
7285
|
+
<h3 id="function-is-odd" tabindex="-1">is-odd()</h3>
|
|
7286
|
+
<div class="sassdoc-item-header__labels">
|
|
7287
|
+
<span class="tag tag--primary"><strong>Function</strong></span>
|
|
7288
|
+
</div>
|
|
7289
|
+
</div>
|
|
7290
|
+
<p>Returns true if number passed is odd</p>
|
|
7291
|
+
<details>
|
|
7292
|
+
<summary>File Information</summary>
|
|
7293
|
+
<ul>
|
|
7294
|
+
<li><strong>File:</strong> _utils.scss</li>
|
|
7295
|
+
<li><strong>Group:</strong> utils</li>
|
|
7296
|
+
<li><strong>Type:</strong> function</li>
|
|
7297
|
+
<li><strong>Lines (comments):</strong> 658-661</li>
|
|
7298
|
+
<li><strong>Lines (code):</strong> 662-664</li>
|
|
7299
|
+
</ul>
|
|
7300
|
+
</details>
|
|
7301
|
+
<h4 id="parameters-35" tabindex="-1">Parameters</h4>
|
|
7302
|
+
<table>
|
|
7303
|
+
<thead>
|
|
7304
|
+
<tr>
|
|
7305
|
+
<th style="text-align:left">Name</th>
|
|
7306
|
+
<th style="text-align:left">Type</th>
|
|
7307
|
+
<th style="text-align:left">Description</th>
|
|
7308
|
+
</tr>
|
|
7309
|
+
</thead>
|
|
7310
|
+
<tbody>
|
|
7311
|
+
<tr>
|
|
7312
|
+
<td style="text-align:left">$number</td>
|
|
7313
|
+
<td style="text-align:left"><code>Number</code></td>
|
|
7314
|
+
<td style="text-align:left">The number to check</td>
|
|
7315
|
+
</tr>
|
|
7316
|
+
</tbody>
|
|
7317
|
+
</table>
|
|
7318
|
+
<h4 id="returns-26" tabindex="-1">Returns</h4>
|
|
7319
|
+
<table>
|
|
7320
|
+
<thead>
|
|
7321
|
+
<tr>
|
|
7322
|
+
<th style="text-align:left">Type</th>
|
|
7323
|
+
<th style="text-align:left">Description</th>
|
|
7324
|
+
</tr>
|
|
7325
|
+
</thead>
|
|
7326
|
+
<tbody>
|
|
7327
|
+
<tr>
|
|
7328
|
+
<td style="text-align:left">Boolean</td>
|
|
7329
|
+
<td style="text-align:left">Whether or not it is an odd number</td>
|
|
7330
|
+
</tr>
|
|
7331
|
+
<tr>
|
|
7332
|
+
<td style="text-align:left"></td>
|
|
7333
|
+
<td style="text-align:left"></td>
|
|
7334
|
+
</tr>
|
|
7335
|
+
</tbody>
|
|
7336
|
+
</table>
|
|
7337
|
+
<h4 id="require-19" tabindex="-1">Require</h4>
|
|
7338
|
+
<ul>
|
|
7339
|
+
<li><a href="/frontend/sass/core/utils/#function-is-even">is-even()</a></li>
|
|
7340
|
+
</ul>
|
|
6828
7341
|
|
|
6829
7342
|
</div>
|
|
6830
7343
|
</div>
|
package/package.json
CHANGED
package/scss/_layout.scss
CHANGED
|
@@ -215,10 +215,7 @@ $containers: (
|
|
|
215
215
|
$breakpoints: map.get($container, "breakpoints");
|
|
216
216
|
|
|
217
217
|
$width: map.get($container, "width");
|
|
218
|
-
|
|
219
|
-
// @if $specific-breakpoint {
|
|
220
|
-
// @debug $container;
|
|
221
|
-
// }
|
|
218
|
+
|
|
222
219
|
@if ($width == null) {
|
|
223
220
|
$width: 100%;
|
|
224
221
|
}
|