@ulu/frontend 0.1.0-beta.27 → 0.1.0-beta.28
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 +6 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/changelog/index.html +30 -0
- package/docs-dev/demos/card/index.html +3 -7
- package/docs-dev/demos/data-table/index.html +25 -25
- package/docs-dev/demos/popovers/index.html +3 -1
- package/docs-dev/sass/components/popover/index.html +22 -23
- package/docs-dev/sass/core/utils/index.html +210 -85
- package/package.json +1 -1
- package/scss/components/_popover.scss +16 -11
|
@@ -5016,6 +5016,12 @@
|
|
|
5016
5016
|
<div class="toc">
|
|
5017
5017
|
<ol>
|
|
5018
5018
|
|
|
5019
|
+
<li><a href="#version-0.1.0-beta.28">Version 0.1.0-beta.28</a>
|
|
5020
|
+
</li>
|
|
5021
|
+
|
|
5022
|
+
<li><a href="#version-0.1.0-beta.27">Version 0.1.0-beta.27</a>
|
|
5023
|
+
</li>
|
|
5024
|
+
|
|
5019
5025
|
<li><a href="#version-0.1.0-beta.26">Version 0.1.0-beta.26</a>
|
|
5020
5026
|
</li>
|
|
5021
5027
|
|
|
@@ -5151,6 +5157,30 @@
|
|
|
5151
5157
|
|
|
5152
5158
|
<div class="changelog">
|
|
5153
5159
|
<h1 id="change-log" tabindex="-1">Change Log</h1>
|
|
5160
|
+
<h2 id="version-0.1.0-beta.28" tabindex="-1">Version 0.1.0-beta.28</h2>
|
|
5161
|
+
<ul>
|
|
5162
|
+
<li>scss/components/popover
|
|
5163
|
+
<ul>
|
|
5164
|
+
<li>Remove options (footer-box-shadow, footer-box-shadow-color) as it interferes with main popover box shadow and arrow box shadow.</li>
|
|
5165
|
+
<li>Added "footer-border-top" to separate footer from content (useful for showing overflow)</li>
|
|
5166
|
+
</ul>
|
|
5167
|
+
</li>
|
|
5168
|
+
</ul>
|
|
5169
|
+
<h2 id="version-0.1.0-beta.27" tabindex="-1">Version 0.1.0-beta.27</h2>
|
|
5170
|
+
<ul>
|
|
5171
|
+
<li>scss/components/popover
|
|
5172
|
+
<ul>
|
|
5173
|
+
<li>Add popover's content box-shadow to arrow (using the other pseudo to mask the shadow)</li>
|
|
5174
|
+
</ul>
|
|
5175
|
+
</li>
|
|
5176
|
+
<li>scss/components/utils
|
|
5177
|
+
<ul>
|
|
5178
|
+
<li>Fix number-info function, and add errors option</li>
|
|
5179
|
+
<li>Add function add-unit() to add unit to a number</li>
|
|
5180
|
+
<li>Add function hypotenuse() which returns hypotenuse of triangle</li>
|
|
5181
|
+
</ul>
|
|
5182
|
+
</li>
|
|
5183
|
+
</ul>
|
|
5154
5184
|
<h2 id="version-0.1.0-beta.26" tabindex="-1">Version 0.1.0-beta.26</h2>
|
|
5155
5185
|
<ul>
|
|
5156
5186
|
<li>scss/components/card
|
|
@@ -5030,7 +5030,8 @@
|
|
|
5030
5030
|
|
|
5031
5031
|
<hr class="rule rule--light rule--margin-large">
|
|
5032
5032
|
|
|
5033
|
-
<
|
|
5033
|
+
<h2 class="h2">Interactive Card Demo</h2>
|
|
5034
|
+
<div id="icd" class="interactive-demo">
|
|
5034
5035
|
<div id="icd-display" class="interactive-demo__display">
|
|
5035
5036
|
</div>
|
|
5036
5037
|
<form id="icdForm" class="interactive-demo__form form-theme">
|
|
@@ -5065,17 +5066,12 @@
|
|
|
5065
5066
|
<option value="horizontal">Horizontal</option>
|
|
5066
5067
|
<option value="overlay">Overlay</option>
|
|
5067
5068
|
</select>
|
|
5069
|
+
<div class="form-theme__description">Note: Overlay is not compatible with "Icon" and "No Image" options.</div>
|
|
5068
5070
|
</div>
|
|
5069
5071
|
<div class="form-theme__actions">
|
|
5070
5072
|
<button type="button" id="icdSubmit" class="button">Refresh</button>
|
|
5071
5073
|
</div>
|
|
5072
5074
|
</form>
|
|
5073
|
-
<div><em>Note the following config combinations are not currently supported</em></div>
|
|
5074
|
-
<dl>
|
|
5075
|
-
<dt>Overlay</dt>
|
|
5076
|
-
<dd>No Image</dd>
|
|
5077
|
-
<dd>Icon</dd>
|
|
5078
|
-
</dl>
|
|
5079
5075
|
</div>
|
|
5080
5076
|
<!-- Note you will need to run the pageModified event after re-rendering the card, you can add the following to cause the scripts to update
|
|
5081
5077
|
|
|
@@ -5071,46 +5071,46 @@
|
|
|
5071
5071
|
</tfoot>
|
|
5072
5072
|
</table>
|
|
5073
5073
|
<h2 class="h2">Complex Table</h2>
|
|
5074
|
-
<table class="data-table" id="dt-
|
|
5074
|
+
<table class="data-table" id="dt-3">
|
|
5075
5075
|
<caption>
|
|
5076
5076
|
This Is The Table's Caption
|
|
5077
5077
|
</caption>
|
|
5078
5078
|
<thead>
|
|
5079
5079
|
<tr>
|
|
5080
|
-
<th id="dt-
|
|
5081
|
-
<th id="dt-
|
|
5082
|
-
<th id="dt-
|
|
5083
|
-
<th id="dt-
|
|
5080
|
+
<th id="dt-3-type" rowspan="2">Type</th>
|
|
5081
|
+
<th id="dt-3-group" colspan="2">Group</th>
|
|
5082
|
+
<th id="dt-3-details" colspan="2">Details</th>
|
|
5083
|
+
<th id="dt-3-id" rowspan="2">Id</th>
|
|
5084
5084
|
</tr>
|
|
5085
5085
|
<tr>
|
|
5086
|
-
<th headers="dt-
|
|
5087
|
-
<th headers="dt-
|
|
5088
|
-
<th headers="dt-
|
|
5089
|
-
<th headers="dt-
|
|
5086
|
+
<th headers="dt-3-group" id="dt-3-primary">Primary</th>
|
|
5087
|
+
<th headers="dt-3-group" id="dt-3-secondary">Secondary</th>
|
|
5088
|
+
<th headers="dt-3-details" id="dt-3-before">Before Task</th>
|
|
5089
|
+
<th headers="dt-3-details" id="dt-3-after">After Task</th>
|
|
5090
5090
|
</tr>
|
|
5091
5091
|
</thead>
|
|
5092
5092
|
<tbody>
|
|
5093
5093
|
<tr>
|
|
5094
|
-
<th rowspan="3" headers="dt-
|
|
5095
|
-
<td headers="dt-
|
|
5096
|
-
<td headers="dt-
|
|
5097
|
-
<td headers="dt-
|
|
5098
|
-
<td headers="dt-
|
|
5099
|
-
<td headers="dt-
|
|
5094
|
+
<th rowspan="3" headers="dt-3-type dt-3-r1" id="dt-3-r1">Default</th>
|
|
5095
|
+
<td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
|
|
5096
|
+
<td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
|
|
5097
|
+
<td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
|
|
5098
|
+
<td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
|
|
5099
|
+
<td headers="dt-3-id">OL-53-GHSLE</td>
|
|
5100
5100
|
</tr>
|
|
5101
5101
|
<tr>
|
|
5102
|
-
<td headers="dt-
|
|
5103
|
-
<td headers="dt-
|
|
5104
|
-
<td headers="dt-
|
|
5105
|
-
<td headers="dt-
|
|
5106
|
-
<td headers="dt-
|
|
5102
|
+
<td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
|
|
5103
|
+
<td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
|
|
5104
|
+
<td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
|
|
5105
|
+
<td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
|
|
5106
|
+
<td headers="dt-3-id">OL-53-GHSLE</td>
|
|
5107
5107
|
</tr>
|
|
5108
5108
|
<tr>
|
|
5109
|
-
<td headers="dt-
|
|
5110
|
-
<td headers="dt-
|
|
5111
|
-
<td headers="dt-
|
|
5112
|
-
<td headers="dt-
|
|
5113
|
-
<td headers="dt-
|
|
5109
|
+
<td headers="dt-3-group dt-3-primary dt-3-r1">Lorem Ipsum</td>
|
|
5110
|
+
<td headers="dt-3-group dt-3-secondary dt-3-r1">Lorem Ipsum</td>
|
|
5111
|
+
<td headers="dt-3-details dt-3-before dt-3-r1">Lorem Ipsum</td>
|
|
5112
|
+
<td headers="dt-3-details dt-3-after dt-3-r1">Lorem Ipsum</td>
|
|
5113
|
+
<td headers="dt-3-id">OL-53-GHSLE</td>
|
|
5114
5114
|
</tr>
|
|
5115
5115
|
</tbody>
|
|
5116
5116
|
</table>
|
|
@@ -5118,7 +5118,9 @@
|
|
|
5118
5118
|
</button>
|
|
5119
5119
|
<div class="popover" data-ulu-popover-content="">
|
|
5120
5120
|
<div class="popover__inner">
|
|
5121
|
-
|
|
5121
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo felis nisi, nec pretium justo varius sit amet. Vestibulum vitae quam in velit scelerisque tincidunt et vitae mauris. Fusce aliquet, ipsum sit amet lacinia euismod, est risus rhoncus ligula, eget egestas urna ligula nec enim. Fusce vulputate ornare ligula ut tempus. Sed accumsan orci sed turpis iaculis, at aliquam nibh rhoncus. Maecenas porta lorem a sem tincidunt, sed tristique ex laoreet. Nullam accumsan metus at lobortis interdum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam sagittis sem erat, quis fermentum lectus ultrices quis.</p>
|
|
5122
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo felis nisi, nec pretium justo varius sit amet. Vestibulum vitae quam in velit scelerisque tincidunt et vitae mauris. Fusce aliquet, ipsum sit amet lacinia euismod, est risus rhoncus ligula, eget egestas urna ligula nec enim. Fusce vulputate ornare ligula ut tempus. Sed accumsan orci sed turpis iaculis, at aliquam nibh rhoncus. Maecenas porta lorem a sem tincidunt, sed tristique ex laoreet. Nullam accumsan metus at lobortis interdum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam sagittis sem erat, quis fermentum lectus ultrices quis.</p>
|
|
5123
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam commodo felis nisi, nec pretium justo varius sit amet. Vestibulum vitae quam in velit scelerisque tincidunt et vitae mauris. Fusce aliquet, ipsum sit amet lacinia euismod, est risus rhoncus ligula, eget egestas urna ligula nec enim. Fusce vulputate ornare ligula ut tempus. Sed accumsan orci sed turpis iaculis, at aliquam nibh rhoncus. Maecenas porta lorem a sem tincidunt, sed tristique ex laoreet. Nullam accumsan metus at lobortis interdum. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam sagittis sem erat, quis fermentum lectus ultrices quis.</p>
|
|
5122
5124
|
</div>
|
|
5123
5125
|
<div class="popover__footer">Popover Footer</div>
|
|
5124
5126
|
<span class="popover__arrow" data-ulu-popover-arrow=""></span>
|
|
@@ -5069,6 +5069,7 @@
|
|
|
5069
5069
|
<p>Module Settings</p>
|
|
5070
5070
|
<pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$config</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
|
|
5071
5071
|
<span class="pjs-token pjs-string">"arrow-size"</span> <span class="pjs-token pjs-punctuation">:</span> 16px<span class="pjs-token pjs-punctuation">,</span>
|
|
5072
|
+
<span class="pjs-token pjs-string">"arrow-mask-overlap"</span> <span class="pjs-token pjs-punctuation">:</span> 4px<span class="pjs-token pjs-punctuation">,</span>
|
|
5072
5073
|
<span class="pjs-token pjs-string">"background-color"</span> <span class="pjs-token pjs-punctuation">:</span> white<span class="pjs-token pjs-punctuation">,</span>
|
|
5073
5074
|
<span class="pjs-token pjs-string">"border-radius"</span> <span class="pjs-token pjs-punctuation">:</span> 6px<span class="pjs-token pjs-punctuation">,</span>
|
|
5074
5075
|
<span class="pjs-token pjs-string">"color"</span> <span class="pjs-token pjs-punctuation">:</span> inherit<span class="pjs-token pjs-punctuation">,</span>
|
|
@@ -5078,14 +5079,12 @@
|
|
|
5078
5079
|
<span class="pjs-token pjs-string">"padding-large"</span> <span class="pjs-token pjs-punctuation">:</span> 2rem<span class="pjs-token pjs-punctuation">,</span>
|
|
5079
5080
|
<span class="pjs-token pjs-string">"type-size"</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>
|
|
5080
5081
|
<span class="pjs-token pjs-string">"z-index"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span><span class="pjs-token pjs-punctuation">,</span>
|
|
5081
|
-
|
|
5082
5082
|
<span class="pjs-token pjs-string">"box-shadow"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-boolean">true</span><span class="pjs-token pjs-punctuation">,</span>
|
|
5083
|
-
<span class="pjs-token pjs-string">"box-shadow-footer"</span> <span class="pjs-token pjs-punctuation">:</span> 0 0 4px<span class="pjs-token pjs-punctuation">,</span>
|
|
5084
|
-
<span class="pjs-token pjs-string">"box-shadow-footer-color"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"box-shadow"</span><span class="pjs-token pjs-punctuation">,</span>
|
|
5085
5083
|
<span class="pjs-token pjs-string">"header-background-color"</span> <span class="pjs-token pjs-punctuation">:</span> #ccc<span class="pjs-token pjs-punctuation">,</span>
|
|
5086
5084
|
<span class="pjs-token pjs-string">"header-color"</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>
|
|
5087
5085
|
<span class="pjs-token pjs-string">"header-media-background-color"</span><span class="pjs-token pjs-punctuation">:</span> black<span class="pjs-token pjs-punctuation">,</span>
|
|
5088
5086
|
<span class="pjs-token pjs-string">"header-padding-y"</span> <span class="pjs-token pjs-punctuation">:</span> 0.25rem<span class="pjs-token pjs-punctuation">,</span>
|
|
5087
|
+
<span class="pjs-token pjs-string">"footer-border-top"</span> <span class="pjs-token pjs-punctuation">:</span> 1px solid #dfdfdf<span class="pjs-token pjs-punctuation">,</span>
|
|
5089
5088
|
<span class="pjs-token pjs-string">"footer-background-color"</span> <span class="pjs-token pjs-punctuation">:</span> #ccc<span class="pjs-token pjs-punctuation">,</span>
|
|
5090
5089
|
<span class="pjs-token pjs-string">"footer-color"</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>
|
|
5091
5090
|
<span class="pjs-token pjs-string">"footer-padding-y"</span> <span class="pjs-token pjs-punctuation">:</span> 0.25rem<span class="pjs-token pjs-punctuation">,</span>
|
|
@@ -5106,7 +5105,7 @@
|
|
|
5106
5105
|
<li><strong>Group:</strong> popover</li>
|
|
5107
5106
|
<li><strong>Type:</strong> variable</li>
|
|
5108
5107
|
<li><strong>Lines (comments):</strong> 30-60</li>
|
|
5109
|
-
<li><strong>Lines (code):</strong> 62-
|
|
5108
|
+
<li><strong>Lines (code):</strong> 62-92</li>
|
|
5110
5109
|
</ul>
|
|
5111
5110
|
</details>
|
|
5112
5111
|
<h4 id="map-properties" tabindex="-1">Map Properties</h4>
|
|
@@ -5124,7 +5123,13 @@
|
|
|
5124
5123
|
<td style="text-align:left">arrow-size</td>
|
|
5125
5124
|
<td style="text-align:left">Dimension</td>
|
|
5126
5125
|
<td style="text-align:left">16px</td>
|
|
5127
|
-
<td style="text-align:left">
|
|
5126
|
+
<td style="text-align:left">Size of the dropdown arrow.</td>
|
|
5127
|
+
</tr>
|
|
5128
|
+
<tr>
|
|
5129
|
+
<td style="text-align:left">arrow-mask-overlap</td>
|
|
5130
|
+
<td style="text-align:left">Dimension</td>
|
|
5131
|
+
<td style="text-align:left">4px</td>
|
|
5132
|
+
<td style="text-align:left">Size that the mask extends beyond the arrow size (which covers up the arrow box shadow inside the popover content). This should be adjusted based on the size of the box-shadow being used)</td>
|
|
5128
5133
|
</tr>
|
|
5129
5134
|
<tr>
|
|
5130
5135
|
<td style="text-align:left">background-color</td>
|
|
@@ -5187,18 +5192,6 @@
|
|
|
5187
5192
|
<td style="text-align:left">Box shadow of the popover.</td>
|
|
5188
5193
|
</tr>
|
|
5189
5194
|
<tr>
|
|
5190
|
-
<td style="text-align:left">box-shadow-footer</td>
|
|
5191
|
-
<td style="text-align:left">CssValue</td>
|
|
5192
|
-
<td style="text-align:left">0 0 4px</td>
|
|
5193
|
-
<td style="text-align:left">Box shadow of the popover footer.</td>
|
|
5194
|
-
</tr>
|
|
5195
|
-
<tr>
|
|
5196
|
-
<td style="text-align:left">box-shadow-footer-color</td>
|
|
5197
|
-
<td style="text-align:left">String</td>
|
|
5198
|
-
<td style="text-align:left">"box-shadow"</td>
|
|
5199
|
-
<td style="text-align:left">Color of the footer's box shadow.</td>
|
|
5200
|
-
</tr>
|
|
5201
|
-
<tr>
|
|
5202
5195
|
<td style="text-align:left">header-background-color</td>
|
|
5203
5196
|
<td style="text-align:left">Color</td>
|
|
5204
5197
|
<td style="text-align:left">#ccc</td>
|
|
@@ -5229,6 +5222,12 @@
|
|
|
5229
5222
|
<td style="text-align:left">Background color of the footer.</td>
|
|
5230
5223
|
</tr>
|
|
5231
5224
|
<tr>
|
|
5225
|
+
<td style="text-align:left">footer-border-top</td>
|
|
5226
|
+
<td style="text-align:left">Color</td>
|
|
5227
|
+
<td style="text-align:left">1px solid #dfdfdf</td>
|
|
5228
|
+
<td style="text-align:left">Optional border used to separate the content from footer</td>
|
|
5229
|
+
</tr>
|
|
5230
|
+
<tr>
|
|
5232
5231
|
<td style="text-align:left">footer-color</td>
|
|
5233
5232
|
<td style="text-align:left">Color</td>
|
|
5234
5233
|
<td style="text-align:left">null</td>
|
|
@@ -5310,8 +5309,8 @@
|
|
|
5310
5309
|
<li><strong>File:</strong> _popover.scss</li>
|
|
5311
5310
|
<li><strong>Group:</strong> popover</li>
|
|
5312
5311
|
<li><strong>Type:</strong> mixin</li>
|
|
5313
|
-
<li><strong>Lines (comments):</strong>
|
|
5314
|
-
<li><strong>Lines (code):</strong>
|
|
5312
|
+
<li><strong>Lines (comments):</strong> 94-97</li>
|
|
5313
|
+
<li><strong>Lines (code):</strong> 99-101</li>
|
|
5315
5314
|
</ul>
|
|
5316
5315
|
</details>
|
|
5317
5316
|
<h4 id="examples" tabindex="-1">Examples</h4>
|
|
@@ -5350,8 +5349,8 @@
|
|
|
5350
5349
|
<li><strong>File:</strong> _popover.scss</li>
|
|
5351
5350
|
<li><strong>Group:</strong> popover</li>
|
|
5352
5351
|
<li><strong>Type:</strong> mixin</li>
|
|
5353
|
-
<li><strong>Lines (comments):</strong>
|
|
5354
|
-
<li><strong>Lines (code):</strong>
|
|
5352
|
+
<li><strong>Lines (comments):</strong> 113-115</li>
|
|
5353
|
+
<li><strong>Lines (code):</strong> 117-232</li>
|
|
5355
5354
|
</ul>
|
|
5356
5355
|
</details>
|
|
5357
5356
|
<h4 id="examples-1" tabindex="-1">Examples</h4>
|
|
@@ -5374,8 +5373,8 @@
|
|
|
5374
5373
|
<li><strong>File:</strong> _popover.scss</li>
|
|
5375
5374
|
<li><strong>Group:</strong> popover</li>
|
|
5376
5375
|
<li><strong>Type:</strong> function</li>
|
|
5377
|
-
<li><strong>Lines (comments):</strong>
|
|
5378
|
-
<li><strong>Lines (code):</strong>
|
|
5376
|
+
<li><strong>Lines (comments):</strong> 103-106</li>
|
|
5377
|
+
<li><strong>Lines (code):</strong> 108-111</li>
|
|
5379
5378
|
</ul>
|
|
5380
5379
|
</details>
|
|
5381
5380
|
<h4 id="examples-2" tabindex="-1">Examples</h4>
|