@ulu/frontend 0.1.0-beta.6 → 0.1.0-beta.8
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 +9 -0
- package/docs-dev/demos/accordion/index.html +90 -0
- package/docs-dev/demos/button/index.html +90 -0
- package/docs-dev/demos/callout/index.html +90 -0
- package/docs-dev/demos/captioned-figure/index.html +90 -0
- package/docs-dev/demos/card/index.html +90 -0
- package/docs-dev/demos/css-icons/index.html +90 -0
- package/docs-dev/demos/data-grid/index.html +198 -188
- package/docs-dev/demos/data-table/index.html +115 -25
- package/docs-dev/demos/file-save/index.html +90 -0
- package/docs-dev/demos/flipcard/index.html +90 -0
- package/docs-dev/demos/form-theme/index.html +90 -0
- package/docs-dev/demos/index.html +90 -0
- package/docs-dev/demos/list-inline/index.html +4727 -0
- package/docs-dev/demos/list-inline.1/index.html +4727 -0
- package/docs-dev/demos/list-lines/index.html +4717 -0
- package/docs-dev/demos/menu-stack/index.html +90 -0
- package/docs-dev/demos/modals/index.html +90 -0
- package/docs-dev/demos/nav-strip/index.html +90 -0
- package/docs-dev/demos/overlay-section/index.html +90 -0
- package/docs-dev/demos/popovers/index.html +90 -0
- package/docs-dev/demos/print/index.html +90 -0
- package/docs-dev/demos/pull-quote/index.html +90 -0
- package/docs-dev/demos/rule/index.html +90 -0
- package/docs-dev/demos/scrollpoints/index.html +90 -0
- package/docs-dev/demos/spoke-spinner/index.html +90 -0
- package/docs-dev/demos/tabs/index.html +90 -0
- package/docs-dev/demos/tag/index.html +90 -0
- package/docs-dev/demos/tiles/index.html +90 -0
- package/docs-dev/demos/tooltip/index.html +90 -0
- package/docs-dev/guide/building-stylesheet/index.html +90 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +90 -0
- package/docs-dev/guide/index.html +90 -0
- package/docs-dev/index.html +90 -0
- package/docs-dev/javascript/events/index.html +90 -0
- package/docs-dev/javascript/index.html +90 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +90 -0
- package/docs-dev/javascript/ui-collapsible/index.html +90 -0
- package/docs-dev/javascript/ui-dialog/index.html +90 -0
- package/docs-dev/javascript/ui-flipcard/index.html +90 -0
- package/docs-dev/javascript/ui-grid/index.html +90 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +90 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +90 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +90 -0
- package/docs-dev/javascript/ui-page/index.html +90 -0
- package/docs-dev/javascript/ui-popover/index.html +90 -0
- package/docs-dev/javascript/ui-print/index.html +90 -0
- package/docs-dev/javascript/ui-print-details/index.html +90 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +90 -0
- package/docs-dev/javascript/ui-proxy-click/index.html +90 -0
- package/docs-dev/javascript/ui-resizer/index.html +90 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +90 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +90 -0
- package/docs-dev/javascript/ui-slider/index.html +90 -0
- package/docs-dev/javascript/ui-tabs/index.html +90 -0
- package/docs-dev/javascript/ui-tooltip/index.html +90 -0
- package/docs-dev/javascript/utils-class-logger/index.html +90 -0
- package/docs-dev/javascript/utils-dom/index.html +90 -0
- package/docs-dev/javascript/utils-file-save/index.html +90 -0
- package/docs-dev/javascript/utils-floating-ui/index.html +90 -0
- package/docs-dev/javascript/utils-id/index.html +90 -0
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +90 -0
- package/docs-dev/sass/base/color/index.html +90 -0
- package/docs-dev/sass/base/elements/index.html +90 -0
- package/docs-dev/sass/base/index/index.html +90 -0
- package/docs-dev/sass/base/index.html +90 -0
- package/docs-dev/sass/base/keyframes/index.html +90 -0
- package/docs-dev/sass/base/layout/index.html +90 -0
- package/docs-dev/sass/base/normalize/index.html +90 -0
- package/docs-dev/sass/base/print/index.html +90 -0
- package/docs-dev/sass/base/root/index.html +90 -0
- package/docs-dev/sass/base/typography/index.html +90 -0
- package/docs-dev/sass/components/accordion/index.html +95 -5
- package/docs-dev/sass/components/adaptive-spacing/index.html +90 -0
- package/docs-dev/sass/components/badge/index.html +98 -8
- package/docs-dev/sass/components/button/index.html +90 -0
- package/docs-dev/sass/components/button-verbose/index.html +90 -0
- package/docs-dev/sass/components/callout/index.html +108 -14
- package/docs-dev/sass/components/captioned-figure/index.html +98 -8
- package/docs-dev/sass/components/card/index.html +100 -10
- package/docs-dev/sass/components/card-grid/index.html +90 -0
- package/docs-dev/sass/components/css-icon/index.html +100 -10
- package/docs-dev/sass/components/data-grid/index.html +90 -0
- package/docs-dev/sass/components/data-table/index.html +101 -9
- package/docs-dev/sass/components/fill-context/index.html +90 -0
- package/docs-dev/sass/components/flipcard/index.html +98 -8
- package/docs-dev/sass/components/flipcard-grid/index.html +90 -0
- package/docs-dev/sass/components/form-theme/index.html +90 -0
- package/docs-dev/sass/components/hero/index.html +90 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +90 -0
- package/docs-dev/sass/components/image-grid/index.html +90 -0
- package/docs-dev/sass/components/index/index.html +101 -10
- package/docs-dev/sass/components/index.html +90 -0
- package/docs-dev/sass/components/links/index.html +90 -0
- package/docs-dev/sass/components/list-inline/index.html +4908 -0
- package/docs-dev/sass/components/list-lines/index.html +122 -36
- package/docs-dev/sass/components/list-ordered/index.html +92 -2
- package/docs-dev/sass/components/list-unordered/index.html +90 -0
- package/docs-dev/sass/components/menu-stack/index.html +90 -0
- package/docs-dev/sass/components/modal/index.html +105 -8
- package/docs-dev/sass/components/nav-strip/index.html +91 -1
- package/docs-dev/sass/components/overlay-section/index.html +98 -8
- package/docs-dev/sass/components/pager/index.html +90 -0
- package/docs-dev/sass/components/placeholder-block/index.html +90 -0
- package/docs-dev/sass/components/popover/index.html +90 -0
- package/docs-dev/sass/components/pull-quote/index.html +90 -0
- package/docs-dev/sass/components/ratio-box/index.html +90 -0
- package/docs-dev/sass/components/rule/index.html +98 -8
- package/docs-dev/sass/components/scroll-slider/index.html +90 -0
- package/docs-dev/sass/components/skip-link/index.html +98 -8
- package/docs-dev/sass/components/slider/index.html +95 -5
- package/docs-dev/sass/components/spoke-spinner/index.html +90 -0
- package/docs-dev/sass/components/tabs/index.html +90 -0
- package/docs-dev/sass/components/tag/index.html +90 -0
- package/docs-dev/sass/components/tile-button/index.html +90 -0
- package/docs-dev/sass/components/tile-grid/index.html +90 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +90 -0
- package/docs-dev/sass/components/vignette/index.html +90 -0
- package/docs-dev/sass/components/wysiwyg/index.html +90 -0
- package/docs-dev/sass/core/breakpoint/index.html +90 -0
- package/docs-dev/sass/core/button/index.html +90 -0
- package/docs-dev/sass/core/color/index.html +120 -29
- package/docs-dev/sass/core/cssvar/index.html +90 -0
- package/docs-dev/sass/core/element/index.html +90 -0
- package/docs-dev/sass/core/index.html +90 -0
- package/docs-dev/sass/core/layout/index.html +90 -0
- package/docs-dev/sass/core/path/index.html +90 -0
- package/docs-dev/sass/core/selector/index.html +90 -0
- package/docs-dev/sass/core/typography/index.html +90 -0
- package/docs-dev/sass/core/units/index.html +90 -0
- package/docs-dev/sass/core/utils/index.html +90 -0
- package/docs-dev/sass/helpers/color/index.html +90 -0
- package/docs-dev/sass/helpers/display/index.html +90 -0
- package/docs-dev/sass/helpers/index/index.html +90 -0
- package/docs-dev/sass/helpers/index.html +90 -0
- package/docs-dev/sass/helpers/print/index.html +90 -0
- package/docs-dev/sass/helpers/typography/index.html +90 -0
- package/docs-dev/sass/helpers/units/index.html +90 -0
- package/docs-dev/sass/helpers/utilities/index.html +90 -0
- package/docs-dev/sass/index.html +90 -0
- package/package.json +1 -1
- package/scss/components/_data-table.scss +7 -3
- package/scss/components/_index.scss +6 -0
- package/scss/components/_list-inline.scss +80 -0
- package/scss/components/_list-lines.scss +44 -32
|
@@ -339,6 +339,36 @@
|
|
|
339
339
|
</li>
|
|
340
340
|
|
|
341
341
|
|
|
342
|
+
<li class="nav-tree__item ">
|
|
343
|
+
|
|
344
|
+
<a class="nav-tree__link " href="/frontend/demos/list-inline/">
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<span class="nav-tree__text">
|
|
348
|
+
List Inline
|
|
349
|
+
</span>
|
|
350
|
+
|
|
351
|
+
</a>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
</li>
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
<li class="nav-tree__item ">
|
|
358
|
+
|
|
359
|
+
<a class="nav-tree__link " href="/frontend/demos/list-lines/">
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
<span class="nav-tree__text">
|
|
363
|
+
List Lines
|
|
364
|
+
</span>
|
|
365
|
+
|
|
366
|
+
</a>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
</li>
|
|
370
|
+
|
|
371
|
+
|
|
342
372
|
<li class="nav-tree__item ">
|
|
343
373
|
|
|
344
374
|
<a class="nav-tree__link " href="/frontend/demos/menu-stack/">
|
|
@@ -1358,6 +1388,21 @@
|
|
|
1358
1388
|
</li>
|
|
1359
1389
|
|
|
1360
1390
|
|
|
1391
|
+
<li class="nav-tree__item ">
|
|
1392
|
+
|
|
1393
|
+
<a class="nav-tree__link " href="/frontend/sass/components/list-inline/">
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
<span class="nav-tree__text">
|
|
1397
|
+
List-inline
|
|
1398
|
+
</span>
|
|
1399
|
+
|
|
1400
|
+
</a>
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
</li>
|
|
1404
|
+
|
|
1405
|
+
|
|
1361
1406
|
<li class="nav-tree__item ">
|
|
1362
1407
|
|
|
1363
1408
|
<a class="nav-tree__link " href="/frontend/sass/components/list-lines/">
|
|
@@ -2598,6 +2643,36 @@
|
|
|
2598
2643
|
</li>
|
|
2599
2644
|
|
|
2600
2645
|
|
|
2646
|
+
<li class="nav-tree__item ">
|
|
2647
|
+
|
|
2648
|
+
<a class="nav-tree__link " href="/frontend/demos/list-inline/">
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
<span class="nav-tree__text">
|
|
2652
|
+
List Inline
|
|
2653
|
+
</span>
|
|
2654
|
+
|
|
2655
|
+
</a>
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
</li>
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
<li class="nav-tree__item ">
|
|
2662
|
+
|
|
2663
|
+
<a class="nav-tree__link " href="/frontend/demos/list-lines/">
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
<span class="nav-tree__text">
|
|
2667
|
+
List Lines
|
|
2668
|
+
</span>
|
|
2669
|
+
|
|
2670
|
+
</a>
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
</li>
|
|
2674
|
+
|
|
2675
|
+
|
|
2601
2676
|
<li class="nav-tree__item ">
|
|
2602
2677
|
|
|
2603
2678
|
<a class="nav-tree__link " href="/frontend/demos/menu-stack/">
|
|
@@ -3617,6 +3692,21 @@
|
|
|
3617
3692
|
</li>
|
|
3618
3693
|
|
|
3619
3694
|
|
|
3695
|
+
<li class="nav-tree__item ">
|
|
3696
|
+
|
|
3697
|
+
<a class="nav-tree__link " href="/frontend/sass/components/list-inline/">
|
|
3698
|
+
|
|
3699
|
+
|
|
3700
|
+
<span class="nav-tree__text">
|
|
3701
|
+
List-inline
|
|
3702
|
+
</span>
|
|
3703
|
+
|
|
3704
|
+
</a>
|
|
3705
|
+
|
|
3706
|
+
|
|
3707
|
+
</li>
|
|
3708
|
+
|
|
3709
|
+
|
|
3620
3710
|
<li class="nav-tree__item ">
|
|
3621
3711
|
|
|
3622
3712
|
<a class="nav-tree__link " href="/frontend/sass/components/list-lines/">
|
|
@@ -4647,7 +4737,7 @@
|
|
|
4647
4737
|
<p>The grid is for page layout, it provides different column sizes at each of the configured breakpoints.</p>
|
|
4648
4738
|
<p>On the smallest size the grid columns will span 100%. The grid is setup using two attributes, data-grid="" for the parent grid container and data-grid-item="" for each grid column. The grid uses a script to set position classes, which are used for rule placement since the grid and reflow at different breakpoints.</p>
|
|
4649
4739
|
<h2 id="options" tabindex="-1">Options</h2>
|
|
4650
|
-
<
|
|
4740
|
+
<table class="data-table options-table">
|
|
4651
4741
|
<caption> Options for 'data-grid'</caption>
|
|
4652
4742
|
<thead>
|
|
4653
4743
|
<tr>
|
|
@@ -4656,190 +4746,130 @@
|
|
|
4656
4746
|
<th>Description/Example</th>
|
|
4657
4747
|
</tr>
|
|
4658
4748
|
</thead>
|
|
4659
|
-
<tbody
|
|
4660
|
-
<
|
|
4749
|
+
<tbody>
|
|
4750
|
+
<tr>
|
|
4661
4751
|
<td><strong>columns</strong></td>
|
|
4662
4752
|
<td><strong>12</strong></td>
|
|
4663
4753
|
<td>
|
|
4664
|
-
<p v-if="item.description">
|
|
4665
|
-
|
|
4666
|
-
</
|
|
4667
|
-
|
|
4668
|
-
<
|
|
4669
|
-
</div>
|
|
4670
|
-
|
|
4671
|
-
<p></p>
|
|
4672
|
-
<p><tr>
|
|
4754
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="columns: 12">...</code></p>
|
|
4756
|
+
</td>
|
|
4757
|
+
</tr>
|
|
4758
|
+
<tr>
|
|
4673
4759
|
<td><strong>justify</strong></td>
|
|
4674
4760
|
<td><strong>(center|end)</strong></td>
|
|
4675
4761
|
<td>
|
|
4676
|
-
<p v-if="item.description">
|
|
4677
|
-
|
|
4678
|
-
</
|
|
4679
|
-
|
|
4680
|
-
<
|
|
4681
|
-
</div>
|
|
4682
|
-
|
|
4683
|
-
<p></p>
|
|
4684
|
-
<p><tr>
|
|
4762
|
+
<p v-if="item.description">Allows you to justify the columns (horizontal alignment). The defualt is start (left aligned)</p>
|
|
4763
|
+
<p class="options-table__example"><code><div data-grid="..., justify: center">...</code></p>
|
|
4764
|
+
</td>
|
|
4765
|
+
</tr>
|
|
4766
|
+
<tr>
|
|
4685
4767
|
<td><strong>align</strong></td>
|
|
4686
4768
|
<td><strong>(center|start|end|stretch-end|stretch-center)</strong></td>
|
|
4687
4769
|
<td>
|
|
4688
|
-
<p v-if="item.description">
|
|
4689
|
-
|
|
4690
|
-
</
|
|
4691
|
-
|
|
4692
|
-
<
|
|
4693
|
-
</div>
|
|
4694
|
-
|
|
4695
|
-
<p></p>
|
|
4696
|
-
<p><tr>
|
|
4770
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., align: center">...</code></p>
|
|
4772
|
+
</td>
|
|
4773
|
+
</tr>
|
|
4774
|
+
<tr>
|
|
4697
4775
|
<td><strong>gutters</strong></td>
|
|
4698
4776
|
<td><strong>false</strong></td>
|
|
4699
4777
|
<td>
|
|
4700
|
-
<p v-if="item.description">
|
|
4701
|
-
|
|
4702
|
-
</
|
|
4703
|
-
|
|
4704
|
-
<
|
|
4705
|
-
</div>
|
|
4706
|
-
|
|
4707
|
-
<p></p>
|
|
4708
|
-
<p><tr>
|
|
4778
|
+
<p v-if="item.description">You can remove the gutters between columns by adding this setting. The grid shows the default gutters size by default.</p>
|
|
4779
|
+
<p class="options-table__example"><code><div data-grid="..., gutters: false">...</code></p>
|
|
4780
|
+
</td>
|
|
4781
|
+
</tr>
|
|
4782
|
+
<tr>
|
|
4709
4783
|
<td><strong>gutters-row</strong></td>
|
|
4710
4784
|
<td><strong>(true|top|bottom|fit)</strong></td>
|
|
4711
4785
|
<td>
|
|
4712
|
-
<p v-if="item.description">
|
|
4713
|
-
|
|
4714
|
-
</
|
|
4715
|
-
|
|
4716
|
-
<
|
|
4717
|
-
</div>
|
|
4718
|
-
|
|
4719
|
-
<p></p>
|
|
4720
|
-
<p><tr>
|
|
4786
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., gutters-row: true">...</code></p>
|
|
4788
|
+
</td>
|
|
4789
|
+
</tr>
|
|
4790
|
+
<tr>
|
|
4721
4791
|
<td><strong>gutter-scale</strong></td>
|
|
4722
4792
|
<td><strong>[scale key]</strong></td>
|
|
4723
4793
|
<td>
|
|
4724
|
-
<p v-if="item.description">
|
|
4725
|
-
|
|
4726
|
-
</
|
|
4727
|
-
|
|
4728
|
-
<
|
|
4729
|
-
</div>
|
|
4730
|
-
|
|
4731
|
-
<p></p>
|
|
4732
|
-
<p><tr>
|
|
4794
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., gutter-scale: large">...</code></p>
|
|
4796
|
+
</td>
|
|
4797
|
+
</tr>
|
|
4798
|
+
<tr>
|
|
4733
4799
|
<td><strong>rules-row</strong></td>
|
|
4734
4800
|
<td><strong>(top|bottom|between)</strong></td>
|
|
4735
4801
|
<td>
|
|
4736
|
-
<p v-if="item.description">
|
|
4737
|
-
|
|
4738
|
-
</
|
|
4739
|
-
|
|
4740
|
-
<
|
|
4741
|
-
</div>
|
|
4742
|
-
|
|
4743
|
-
<p></p>
|
|
4744
|
-
<p><tr>
|
|
4802
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row: true">...</code></p>
|
|
4804
|
+
</td>
|
|
4805
|
+
</tr>
|
|
4806
|
+
<tr>
|
|
4745
4807
|
<td><strong>rules-row-style</strong></td>
|
|
4746
4808
|
<td><strong>[style key]</strong></td>
|
|
4747
4809
|
<td>
|
|
4748
|
-
<p v-if="item.description">
|
|
4749
|
-
|
|
4750
|
-
</
|
|
4751
|
-
|
|
4752
|
-
<
|
|
4753
|
-
</div>
|
|
4754
|
-
|
|
4755
|
-
<p></p>
|
|
4756
|
-
<p><tr>
|
|
4810
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row-style: light">...</code></p>
|
|
4812
|
+
</td>
|
|
4813
|
+
</tr>
|
|
4814
|
+
<tr>
|
|
4757
4815
|
<td><strong>rules-row-align</strong></td>
|
|
4758
4816
|
<td><strong>(gutter)</strong></td>
|
|
4759
4817
|
<td>
|
|
4760
|
-
<p v-if="item.description">
|
|
4761
|
-
|
|
4762
|
-
</
|
|
4763
|
-
|
|
4764
|
-
<
|
|
4765
|
-
</div>
|
|
4766
|
-
|
|
4767
|
-
<p></p>
|
|
4768
|
-
<p><tr>
|
|
4818
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row-align: gutter">...</code></p>
|
|
4820
|
+
</td>
|
|
4821
|
+
</tr>
|
|
4822
|
+
<tr>
|
|
4769
4823
|
<td><strong>rules-row-persist</strong></td>
|
|
4770
4824
|
<td><strong>true</strong></td>
|
|
4771
4825
|
<td>
|
|
4772
|
-
<p v-if="item.description">
|
|
4773
|
-
|
|
4774
|
-
</
|
|
4775
|
-
|
|
4776
|
-
<
|
|
4777
|
-
</div>
|
|
4778
|
-
|
|
4779
|
-
<p></p>
|
|
4780
|
-
<p><tr>
|
|
4826
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row-persist: true">...</code></p>
|
|
4828
|
+
</td>
|
|
4829
|
+
</tr>
|
|
4830
|
+
<tr>
|
|
4781
4831
|
<td><strong>rules-row-stacked-only</strong></td>
|
|
4782
4832
|
<td><strong>true</strong></td>
|
|
4783
4833
|
<td>
|
|
4784
|
-
<p v-if="item.description">
|
|
4785
|
-
|
|
4786
|
-
</
|
|
4787
|
-
|
|
4788
|
-
<
|
|
4789
|
-
</div>
|
|
4790
|
-
|
|
4791
|
-
<p></p>
|
|
4792
|
-
<p><tr>
|
|
4834
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row-stacked-only: true">...</code></p>
|
|
4836
|
+
</td>
|
|
4837
|
+
</tr>
|
|
4838
|
+
<tr>
|
|
4793
4839
|
<td><strong>rules-column</strong></td>
|
|
4794
4840
|
<td><strong>(left|right)</strong></td>
|
|
4795
4841
|
<td>
|
|
4796
|
-
<p v-if="item.description">
|
|
4797
|
-
|
|
4798
|
-
</
|
|
4799
|
-
|
|
4800
|
-
<
|
|
4801
|
-
</div>
|
|
4802
|
-
|
|
4803
|
-
<p></p>
|
|
4804
|
-
<p><tr>
|
|
4842
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-column: left">...</code></p>
|
|
4844
|
+
</td>
|
|
4845
|
+
</tr>
|
|
4846
|
+
<tr>
|
|
4805
4847
|
<td><strong>rules-column-style</strong></td>
|
|
4806
4848
|
<td><strong>[style key]</strong></td>
|
|
4807
4849
|
<td>
|
|
4808
|
-
<p v-if="item.description">
|
|
4809
|
-
|
|
4810
|
-
</
|
|
4811
|
-
|
|
4812
|
-
<
|
|
4813
|
-
</div>
|
|
4814
|
-
|
|
4815
|
-
<p></p>
|
|
4816
|
-
<p><tr>
|
|
4850
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-row-style: light">...</code></p>
|
|
4852
|
+
</td>
|
|
4853
|
+
</tr>
|
|
4854
|
+
<tr>
|
|
4817
4855
|
<td><strong>rules-column-ends</strong></td>
|
|
4818
4856
|
<td><strong>true</strong></td>
|
|
4819
4857
|
<td>
|
|
4820
|
-
<p v-if="item.description">
|
|
4821
|
-
|
|
4822
|
-
</
|
|
4823
|
-
|
|
4824
|
-
<
|
|
4825
|
-
</div>
|
|
4826
|
-
|
|
4827
|
-
<p></p>
|
|
4828
|
-
<p><tr>
|
|
4858
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid="..., rules-column-ends: true">...</code></p>
|
|
4860
|
+
</td>
|
|
4861
|
+
</tr>
|
|
4862
|
+
<tr>
|
|
4829
4863
|
<td><strong>rules-column-align</strong></td>
|
|
4830
4864
|
<td><strong>true</strong></td>
|
|
4831
4865
|
<td>
|
|
4832
|
-
<p v-if="item.description">
|
|
4833
|
-
|
|
4834
|
-
</
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
</
|
|
4838
|
-
|
|
4839
|
-
<p></p>
|
|
4840
|
-
<p></p></tbody>
|
|
4841
|
-
</table><p></p>
|
|
4842
|
-
<p></p><table class="data-table options-table">
|
|
4866
|
+
<p v-if="item.description">Sets rules (dividers) between columns</p>
|
|
4867
|
+
<p class="options-table__example"><code><div data-grid="..., rules-column: true">...</code></p>
|
|
4868
|
+
</td>
|
|
4869
|
+
</tr>
|
|
4870
|
+
</tbody>
|
|
4871
|
+
</table>
|
|
4872
|
+
<table class="data-table options-table">
|
|
4843
4873
|
<caption> Options for 'data-grid-item'</caption>
|
|
4844
4874
|
<thead>
|
|
4845
4875
|
<tr>
|
|
@@ -4848,69 +4878,49 @@ Sets rules (dividers) between columns
|
|
|
4848
4878
|
<th>Description/Example</th>
|
|
4849
4879
|
</tr>
|
|
4850
4880
|
</thead>
|
|
4851
|
-
<tbody
|
|
4852
|
-
<
|
|
4881
|
+
<tbody>
|
|
4882
|
+
<tr>
|
|
4853
4883
|
<td><strong>width</strong></td>
|
|
4854
4884
|
<td><strong>[# of columns]</strong></td>
|
|
4855
4885
|
<td>
|
|
4856
|
-
<p v-if="item.description">
|
|
4857
|
-
|
|
4858
|
-
</
|
|
4859
|
-
|
|
4860
|
-
<
|
|
4861
|
-
</div>
|
|
4862
|
-
|
|
4863
|
-
<p></p>
|
|
4864
|
-
<p><tr>
|
|
4886
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid-item="width: 4">...</code></p>
|
|
4888
|
+
</td>
|
|
4889
|
+
</tr>
|
|
4890
|
+
<tr>
|
|
4865
4891
|
<td><strong>width-[breakpoint]</strong></td>
|
|
4866
4892
|
<td><strong>[# of columns]</strong></td>
|
|
4867
4893
|
<td>
|
|
4868
|
-
<p v-if="item.description">
|
|
4869
|
-
|
|
4870
|
-
</
|
|
4871
|
-
|
|
4872
|
-
<
|
|
4873
|
-
</div>
|
|
4874
|
-
|
|
4875
|
-
<p></p>
|
|
4876
|
-
<p><tr>
|
|
4894
|
+
<p v-if="item.description">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
|
+
<p class="options-table__example"><code><div data-grid-item="width-medium: 2">...</code></p>
|
|
4896
|
+
</td>
|
|
4897
|
+
</tr>
|
|
4898
|
+
<tr>
|
|
4877
4899
|
<td><strong>offset</strong></td>
|
|
4878
4900
|
<td><strong>[# of columns]</strong></td>
|
|
4879
4901
|
<td>
|
|
4880
|
-
<p v-if="item.description">
|
|
4881
|
-
|
|
4882
|
-
</
|
|
4883
|
-
|
|
4884
|
-
<
|
|
4885
|
-
</div>
|
|
4886
|
-
|
|
4887
|
-
<p></p>
|
|
4888
|
-
<p><tr>
|
|
4902
|
+
<p v-if="item.description">Offsets the column by a certain number of columns</p>
|
|
4903
|
+
<p class="options-table__example"><code><div data-grid-item="..., offset: 2">...</code></p>
|
|
4904
|
+
</td>
|
|
4905
|
+
</tr>
|
|
4906
|
+
<tr>
|
|
4889
4907
|
<td><strong>offset-[breakpoint]</strong></td>
|
|
4890
4908
|
<td><strong>[# of columns]</strong></td>
|
|
4891
4909
|
<td>
|
|
4892
|
-
<p v-if="item.description">
|
|
4893
|
-
|
|
4894
|
-
</
|
|
4895
|
-
|
|
4896
|
-
<
|
|
4897
|
-
</div>
|
|
4898
|
-
|
|
4899
|
-
<p></p>
|
|
4900
|
-
<p><tr>
|
|
4910
|
+
<p v-if="item.description">Same as width-[breakpoint] except for offset instead of width</p>
|
|
4911
|
+
<p class="options-table__example"><code><div data-grid-item="..., offset: 2">...</code></p>
|
|
4912
|
+
</td>
|
|
4913
|
+
</tr>
|
|
4914
|
+
<tr>
|
|
4901
4915
|
<td><strong>sticky</strong></td>
|
|
4902
4916
|
<td><strong>[top, bottom]</strong></td>
|
|
4903
4917
|
<td>
|
|
4904
|
-
<p v-if="item.description">
|
|
4905
|
-
|
|
4906
|
-
</
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
</
|
|
4910
|
-
|
|
4911
|
-
<p></p>
|
|
4912
|
-
<p></p></tbody>
|
|
4913
|
-
</table><p></p>
|
|
4918
|
+
<p v-if="item.description">Set's a column to be sticky</p>
|
|
4919
|
+
<p class="options-table__example"><code><div data-grid-item="..., sticky: top">...</code></p>
|
|
4920
|
+
</td>
|
|
4921
|
+
</tr>
|
|
4922
|
+
</tbody>
|
|
4923
|
+
</table>
|
|
4914
4924
|
<h2 id="examples" tabindex="-1">Examples</h2>
|
|
4915
4925
|
<ul>
|
|
4916
4926
|
<li>Dotted Line is the container holding the data-grid</li>
|