@ulu/frontend 0.1.0-beta.8 → 0.1.0-beta.9
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
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## Version 0.1.0-beta.9
|
|
4
|
+
|
|
5
|
+
- Updates to "scss/component/card" - Fix card overlay border-radius (body and footer), fix card border being conditional on interactive (proxy-click)
|
|
6
|
+
|
|
3
7
|
## Version 0.1.0-beta.8
|
|
4
8
|
|
|
5
9
|
- Update "scss/components/data-table" to have border and no margin on caption by default, add caption config properties (caption-text-align, caption-background-color)
|
|
@@ -4751,7 +4751,7 @@
|
|
|
4751
4751
|
<td><strong>columns</strong></td>
|
|
4752
4752
|
<td><strong>12</strong></td>
|
|
4753
4753
|
<td>
|
|
4754
|
-
<p
|
|
4754
|
+
<p>Number of columns for grid, must match grids that are setup in site. For most projects this is just '12'. This is set up this way to allow mutliple grids.</p>
|
|
4755
4755
|
<p class="options-table__example"><code><div data-grid="columns: 12">...</code></p>
|
|
4756
4756
|
</td>
|
|
4757
4757
|
</tr>
|
|
@@ -4759,7 +4759,7 @@
|
|
|
4759
4759
|
<td><strong>justify</strong></td>
|
|
4760
4760
|
<td><strong>(center|end)</strong></td>
|
|
4761
4761
|
<td>
|
|
4762
|
-
<p
|
|
4762
|
+
<p>Allows you to justify the columns (horizontal alignment). The defualt is start (left aligned)</p>
|
|
4763
4763
|
<p class="options-table__example"><code><div data-grid="..., justify: center">...</code></p>
|
|
4764
4764
|
</td>
|
|
4765
4765
|
</tr>
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
<td><strong>align</strong></td>
|
|
4768
4768
|
<td><strong>(center|start|end|stretch-end|stretch-center)</strong></td>
|
|
4769
4769
|
<td>
|
|
4770
|
-
<p
|
|
4770
|
+
<p>Allows you to align the columns (vertical alignment within row). The defualt is stretch start. Note using stretch-end or stretch-center will stretch all columns to be the same height but will align the columns content to the end or center.</p>
|
|
4771
4771
|
<p class="options-table__example"><code><div data-grid="..., align: center">...</code></p>
|
|
4772
4772
|
</td>
|
|
4773
4773
|
</tr>
|
|
@@ -4775,7 +4775,7 @@
|
|
|
4775
4775
|
<td><strong>gutters</strong></td>
|
|
4776
4776
|
<td><strong>false</strong></td>
|
|
4777
4777
|
<td>
|
|
4778
|
-
<p
|
|
4778
|
+
<p>You can remove the gutters between columns by adding this setting. The grid shows the default gutters size by default.</p>
|
|
4779
4779
|
<p class="options-table__example"><code><div data-grid="..., gutters: false">...</code></p>
|
|
4780
4780
|
</td>
|
|
4781
4781
|
</tr>
|
|
@@ -4783,7 +4783,7 @@
|
|
|
4783
4783
|
<td><strong>gutters-row</strong></td>
|
|
4784
4784
|
<td><strong>(true|top|bottom|fit)</strong></td>
|
|
4785
4785
|
<td>
|
|
4786
|
-
<p
|
|
4786
|
+
<p>If set to 'top' gutters will be between items starting at the top including the first row (so it makes space above the first grid row. Bottom works the same way but on the bottom. True adds gutters between rows and to the top and bottom of the first/last grid row. Fit will only put gutters between the rows.</p>
|
|
4787
4787
|
<p class="options-table__example"><code><div data-grid="..., gutters-row: true">...</code></p>
|
|
4788
4788
|
</td>
|
|
4789
4789
|
</tr>
|
|
@@ -4791,7 +4791,7 @@
|
|
|
4791
4791
|
<td><strong>gutter-scale</strong></td>
|
|
4792
4792
|
<td><strong>[scale key]</strong></td>
|
|
4793
4793
|
<td>
|
|
4794
|
-
<p
|
|
4794
|
+
<p>No alternated scales are configured for this site. Allows for different gutter scales to be used with grid. Requires setting up the scales when you configure/create the grid.</p>
|
|
4795
4795
|
<p class="options-table__example"><code><div data-grid="..., gutter-scale: large">...</code></p>
|
|
4796
4796
|
</td>
|
|
4797
4797
|
</tr>
|
|
@@ -4799,7 +4799,7 @@
|
|
|
4799
4799
|
<td><strong>rules-row</strong></td>
|
|
4800
4800
|
<td><strong>(top|bottom|between)</strong></td>
|
|
4801
4801
|
<td>
|
|
4802
|
-
<p
|
|
4802
|
+
<p>Sets rules (dividers) between rows. Top adds rules to the rows top edge. Bottom adds rules to the rows bottom edge. Between adds rules between rows but not on top or bottom.</p>
|
|
4803
4803
|
<p class="options-table__example"><code><div data-grid="..., rules-row: true">...</code></p>
|
|
4804
4804
|
</td>
|
|
4805
4805
|
</tr>
|
|
@@ -4807,7 +4807,7 @@
|
|
|
4807
4807
|
<td><strong>rules-row-style</strong></td>
|
|
4808
4808
|
<td><strong>[style key]</strong></td>
|
|
4809
4809
|
<td>
|
|
4810
|
-
<p
|
|
4810
|
+
<p>If alternate rule styles are configured, applies them by the key that was used to configure the alternate style when initializing the grid in SCSS.</p>
|
|
4811
4811
|
<p class="options-table__example"><code><div data-grid="..., rules-row-style: light">...</code></p>
|
|
4812
4812
|
</td>
|
|
4813
4813
|
</tr>
|
|
@@ -4815,7 +4815,7 @@
|
|
|
4815
4815
|
<td><strong>rules-row-align</strong></td>
|
|
4816
4816
|
<td><strong>(gutter)</strong></td>
|
|
4817
4817
|
<td>
|
|
4818
|
-
<p
|
|
4818
|
+
<p>The default (without this set), will align to the outer edge of the grid item. If this is set to 'gutter' it will align to the grid columns gutters instead of extending to the edge.</p>
|
|
4819
4819
|
<p class="options-table__example"><code><div data-grid="..., rules-row-align: gutter">...</code></p>
|
|
4820
4820
|
</td>
|
|
4821
4821
|
</tr>
|
|
@@ -4823,7 +4823,7 @@
|
|
|
4823
4823
|
<td><strong>rules-row-persist</strong></td>
|
|
4824
4824
|
<td><strong>true</strong></td>
|
|
4825
4825
|
<td>
|
|
4826
|
-
<p
|
|
4826
|
+
<p>If set the rules between rows will persist when the grid is no longer in use (ie. mobile, smallest breakpoint before columns start to show. Useful to retain divider between rows on mobile.</p>
|
|
4827
4827
|
<p class="options-table__example"><code><div data-grid="..., rules-row-persist: true">...</code></p>
|
|
4828
4828
|
</td>
|
|
4829
4829
|
</tr>
|
|
@@ -4831,7 +4831,7 @@
|
|
|
4831
4831
|
<td><strong>rules-row-stacked-only</strong></td>
|
|
4832
4832
|
<td><strong>true</strong></td>
|
|
4833
4833
|
<td>
|
|
4834
|
-
<p
|
|
4834
|
+
<p>Same as persist adds rules to row before grid is being used (ie. mobile/small), except there will only be rules during this smallest breakpoint (mobile). Useful for when dividers don't make sense when the grid is displaying in columns but do make sense when columns are stacked on mobile.</p>
|
|
4835
4835
|
<p class="options-table__example"><code><div data-grid="..., rules-row-stacked-only: true">...</code></p>
|
|
4836
4836
|
</td>
|
|
4837
4837
|
</tr>
|
|
@@ -4839,7 +4839,7 @@
|
|
|
4839
4839
|
<td><strong>rules-column</strong></td>
|
|
4840
4840
|
<td><strong>(left|right)</strong></td>
|
|
4841
4841
|
<td>
|
|
4842
|
-
<p
|
|
4842
|
+
<p>Sets rules (dividers) between columns. Left adds rules between columns using the left side of the column. Right adds rules between columns using the left side of the column</p>
|
|
4843
4843
|
<p class="options-table__example"><code><div data-grid="..., rules-column: left">...</code></p>
|
|
4844
4844
|
</td>
|
|
4845
4845
|
</tr>
|
|
@@ -4847,7 +4847,7 @@
|
|
|
4847
4847
|
<td><strong>rules-column-style</strong></td>
|
|
4848
4848
|
<td><strong>[style key]</strong></td>
|
|
4849
4849
|
<td>
|
|
4850
|
-
<p
|
|
4850
|
+
<p>If alternate rule styles are configured, applies them by the key that was used to configure the alternate style when initializing the grid in SCSS.</p>
|
|
4851
4851
|
<p class="options-table__example"><code><div data-grid="..., rules-row-style: light">...</code></p>
|
|
4852
4852
|
</td>
|
|
4853
4853
|
</tr>
|
|
@@ -4855,7 +4855,7 @@
|
|
|
4855
4855
|
<td><strong>rules-column-ends</strong></td>
|
|
4856
4856
|
<td><strong>true</strong></td>
|
|
4857
4857
|
<td>
|
|
4858
|
-
<p
|
|
4858
|
+
<p>Specify that the rules should not be removed at the beginning or end of rows. Which happens by default depending on if the rules are on the left or right of the element.</p>
|
|
4859
4859
|
<p class="options-table__example"><code><div data-grid="..., rules-column-ends: true">...</code></p>
|
|
4860
4860
|
</td>
|
|
4861
4861
|
</tr>
|
|
@@ -4863,7 +4863,7 @@
|
|
|
4863
4863
|
<td><strong>rules-column-align</strong></td>
|
|
4864
4864
|
<td><strong>true</strong></td>
|
|
4865
4865
|
<td>
|
|
4866
|
-
<p
|
|
4866
|
+
<p>Sets rules (dividers) between columns</p>
|
|
4867
4867
|
<p class="options-table__example"><code><div data-grid="..., rules-column: true">...</code></p>
|
|
4868
4868
|
</td>
|
|
4869
4869
|
</tr>
|
|
@@ -4883,7 +4883,7 @@
|
|
|
4883
4883
|
<td><strong>width</strong></td>
|
|
4884
4884
|
<td><strong>[# of columns]</strong></td>
|
|
4885
4885
|
<td>
|
|
4886
|
-
<p
|
|
4886
|
+
<p>Number of columns for grid, must match grids that are setup in site. For most projects this is just '12'. This is set up this way to allow mutliple grids.</p>
|
|
4887
4887
|
<p class="options-table__example"><code><div data-grid-item="width: 4">...</code></p>
|
|
4888
4888
|
</td>
|
|
4889
4889
|
</tr>
|
|
@@ -4891,7 +4891,7 @@
|
|
|
4891
4891
|
<td><strong>width-[breakpoint]</strong></td>
|
|
4892
4892
|
<td><strong>[# of columns]</strong></td>
|
|
4893
4893
|
<td>
|
|
4894
|
-
<p
|
|
4894
|
+
<p>Sets the width at a given breakpoint. Breakpoints are configured when initializing the grid in SCSS. Note this can be combined or used independently with the 'width' setting (above). For example if you only wanted the grid to start at the medium breakpoint you would just set 'width-medium'</p>
|
|
4895
4895
|
<p class="options-table__example"><code><div data-grid-item="width-medium: 2">...</code></p>
|
|
4896
4896
|
</td>
|
|
4897
4897
|
</tr>
|
|
@@ -4899,7 +4899,7 @@
|
|
|
4899
4899
|
<td><strong>offset</strong></td>
|
|
4900
4900
|
<td><strong>[# of columns]</strong></td>
|
|
4901
4901
|
<td>
|
|
4902
|
-
<p
|
|
4902
|
+
<p>Offsets the column by a certain number of columns</p>
|
|
4903
4903
|
<p class="options-table__example"><code><div data-grid-item="..., offset: 2">...</code></p>
|
|
4904
4904
|
</td>
|
|
4905
4905
|
</tr>
|
|
@@ -4907,7 +4907,7 @@
|
|
|
4907
4907
|
<td><strong>offset-[breakpoint]</strong></td>
|
|
4908
4908
|
<td><strong>[# of columns]</strong></td>
|
|
4909
4909
|
<td>
|
|
4910
|
-
<p
|
|
4910
|
+
<p>Same as width-[breakpoint] except for offset instead of width</p>
|
|
4911
4911
|
<p class="options-table__example"><code><div data-grid-item="..., offset: 2">...</code></p>
|
|
4912
4912
|
</td>
|
|
4913
4913
|
</tr>
|
|
@@ -4915,7 +4915,7 @@
|
|
|
4915
4915
|
<td><strong>sticky</strong></td>
|
|
4916
4916
|
<td><strong>[top, bottom]</strong></td>
|
|
4917
4917
|
<td>
|
|
4918
|
-
<p
|
|
4918
|
+
<p>Set's a column to be sticky</p>
|
|
4919
4919
|
<p class="options-table__example"><code><div data-grid-item="..., sticky: top">...</code></p>
|
|
4920
4920
|
</td>
|
|
4921
4921
|
</tr>
|
|
@@ -4728,46 +4728,46 @@
|
|
|
4728
4728
|
</tfoot>
|
|
4729
4729
|
</table>
|
|
4730
4730
|
<h2 class="h2">Complex Table</h2>
|
|
4731
|
-
<table class="data-table" id="dt-
|
|
4731
|
+
<table class="data-table" id="dt-21">
|
|
4732
4732
|
<caption>
|
|
4733
4733
|
This Is The Table's Caption
|
|
4734
4734
|
</caption>
|
|
4735
4735
|
<thead>
|
|
4736
4736
|
<tr>
|
|
4737
|
-
<th id="dt-
|
|
4738
|
-
<th id="dt-
|
|
4739
|
-
<th id="dt-
|
|
4740
|
-
<th id="dt-
|
|
4737
|
+
<th id="dt-21-type" rowspan="2">Type</th>
|
|
4738
|
+
<th id="dt-21-group" colspan="2">Group</th>
|
|
4739
|
+
<th id="dt-21-details" colspan="2">Details</th>
|
|
4740
|
+
<th id="dt-21-id" rowspan="2">Id</th>
|
|
4741
4741
|
</tr>
|
|
4742
4742
|
<tr>
|
|
4743
|
-
<th headers="dt-
|
|
4744
|
-
<th headers="dt-
|
|
4745
|
-
<th headers="dt-
|
|
4746
|
-
<th headers="dt-
|
|
4743
|
+
<th headers="dt-21-group" id="dt-21-primary">Primary</th>
|
|
4744
|
+
<th headers="dt-21-group" id="dt-21-secondary">Secondary</th>
|
|
4745
|
+
<th headers="dt-21-details" id="dt-21-before">Before Task</th>
|
|
4746
|
+
<th headers="dt-21-details" id="dt-21-after">After Task</th>
|
|
4747
4747
|
</tr>
|
|
4748
4748
|
</thead>
|
|
4749
4749
|
<tbody>
|
|
4750
4750
|
<tr>
|
|
4751
|
-
<th rowspan="3" headers="dt-
|
|
4752
|
-
<td headers="dt-
|
|
4753
|
-
<td headers="dt-
|
|
4754
|
-
<td headers="dt-
|
|
4755
|
-
<td headers="dt-
|
|
4756
|
-
<td headers="dt-
|
|
4751
|
+
<th rowspan="3" headers="dt-21-type dt-21-r1" id="dt-21-r1">Default</th>
|
|
4752
|
+
<td headers="dt-21-group dt-21-primary dt-21-r1">Lorem Ipsum</td>
|
|
4753
|
+
<td headers="dt-21-group dt-21-secondary dt-21-r1">Lorem Ipsum</td>
|
|
4754
|
+
<td headers="dt-21-details dt-21-before dt-21-r1">Lorem Ipsum</td>
|
|
4755
|
+
<td headers="dt-21-details dt-21-after dt-21-r1">Lorem Ipsum</td>
|
|
4756
|
+
<td headers="dt-21-id">OL-53-GHSLE</td>
|
|
4757
4757
|
</tr>
|
|
4758
4758
|
<tr>
|
|
4759
|
-
<td headers="dt-
|
|
4760
|
-
<td headers="dt-
|
|
4761
|
-
<td headers="dt-
|
|
4762
|
-
<td headers="dt-
|
|
4763
|
-
<td headers="dt-
|
|
4759
|
+
<td headers="dt-21-group dt-21-primary dt-21-r1">Lorem Ipsum</td>
|
|
4760
|
+
<td headers="dt-21-group dt-21-secondary dt-21-r1">Lorem Ipsum</td>
|
|
4761
|
+
<td headers="dt-21-details dt-21-before dt-21-r1">Lorem Ipsum</td>
|
|
4762
|
+
<td headers="dt-21-details dt-21-after dt-21-r1">Lorem Ipsum</td>
|
|
4763
|
+
<td headers="dt-21-id">OL-53-GHSLE</td>
|
|
4764
4764
|
</tr>
|
|
4765
4765
|
<tr>
|
|
4766
|
-
<td headers="dt-
|
|
4767
|
-
<td headers="dt-
|
|
4768
|
-
<td headers="dt-
|
|
4769
|
-
<td headers="dt-
|
|
4770
|
-
<td headers="dt-
|
|
4766
|
+
<td headers="dt-21-group dt-21-primary dt-21-r1">Lorem Ipsum</td>
|
|
4767
|
+
<td headers="dt-21-group dt-21-secondary dt-21-r1">Lorem Ipsum</td>
|
|
4768
|
+
<td headers="dt-21-details dt-21-before dt-21-r1">Lorem Ipsum</td>
|
|
4769
|
+
<td headers="dt-21-details dt-21-after dt-21-r1">Lorem Ipsum</td>
|
|
4770
|
+
<td headers="dt-21-id">OL-53-GHSLE</td>
|
|
4771
4771
|
</tr>
|
|
4772
4772
|
</tbody>
|
|
4773
4773
|
</table>
|
|
@@ -5163,7 +5163,7 @@
|
|
|
5163
5163
|
<li><strong>Group:</strong> card</li>
|
|
5164
5164
|
<li><strong>Type:</strong> mixin</li>
|
|
5165
5165
|
<li><strong>Lines (comments):</strong> 161-165</li>
|
|
5166
|
-
<li><strong>Lines (code):</strong> 167-
|
|
5166
|
+
<li><strong>Lines (code):</strong> 167-433</li>
|
|
5167
5167
|
</ul>
|
|
5168
5168
|
</details>
|
|
5169
5169
|
<div class="callout callout--demo crop-margins">
|
package/package.json
CHANGED
|
@@ -179,21 +179,18 @@ $config: (
|
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
justify-content: flex-end;
|
|
181
181
|
max-width: get("max-width");
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
z-index: 4;
|
|
195
|
-
pointer-events: none;
|
|
196
|
-
}
|
|
182
|
+
// Border is on pseudo so that it's on top of image/etc
|
|
183
|
+
&:after {
|
|
184
|
+
position: absolute;
|
|
185
|
+
content: if(get("border"), "", false);
|
|
186
|
+
top: 0;
|
|
187
|
+
bottom: 0;
|
|
188
|
+
right: 0;
|
|
189
|
+
left: 0;
|
|
190
|
+
border: get("border");
|
|
191
|
+
border-radius: get("border-radius");
|
|
192
|
+
z-index: 4;
|
|
193
|
+
pointer-events: none;
|
|
197
194
|
}
|
|
198
195
|
}
|
|
199
196
|
|
|
@@ -346,6 +343,10 @@ $config: (
|
|
|
346
343
|
min-height: 0;
|
|
347
344
|
padding-top: get("overlay-body-padding-y");
|
|
348
345
|
padding-bottom: get("overlay-body-padding-y");
|
|
346
|
+
&:not(:has(~ #{ $prefix }__footer)) {
|
|
347
|
+
border-bottom-left-radius: get("border-radius");
|
|
348
|
+
border-bottom-right-radius: get("border-radius");
|
|
349
|
+
}
|
|
349
350
|
@if (get("overlay-shading")) {
|
|
350
351
|
margin-top: 4rem;
|
|
351
352
|
&::before {
|
|
@@ -362,6 +363,15 @@ $config: (
|
|
|
362
363
|
#{ $prefix }__footer {
|
|
363
364
|
background-color: color.get(get("overlay-background-color"));
|
|
364
365
|
color: color.get(get("color-overlay"));
|
|
366
|
+
border-bottom-left-radius: get("border-radius");
|
|
367
|
+
border-bottom-right-radius: get("border-radius");
|
|
368
|
+
}
|
|
369
|
+
#{ $prefix }__body,
|
|
370
|
+
#{ $prefix }__footer {
|
|
371
|
+
&:last-child {
|
|
372
|
+
border-bottom-left-radius: get("border-radius");
|
|
373
|
+
border-bottom-right-radius: get("border-radius");
|
|
374
|
+
}
|
|
365
375
|
}
|
|
366
376
|
#{ $prefix }__title {
|
|
367
377
|
color: color.get(get("color-overlay"));
|