@ulu/frontend 0.1.0-beta.7 → 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 CHANGED
@@ -1,9 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## Version 0.1.0-beta.8
4
+
5
+ - 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)
6
+
3
7
  ## Version 0.1.0-beta.7
4
8
 
5
- - Add "list-inline" component
6
- - Update "list-lines" component to have adjustable base selector
9
+ - Add "scss/components/list-inline" component
10
+ - Update "scss/components/list-lines" component to have adjustable base selector
7
11
 
8
12
  ## Version 0.1.0-beta.6
9
13
 
@@ -4737,7 +4737,7 @@
4737
4737
  <p>The grid is for page layout, it provides different column sizes at each of the configured breakpoints.</p>
4738
4738
  <p>On the smallest size the grid columns will span 100%. The grid is setup using two attributes, data-grid=&quot;&quot; for the parent grid container and data-grid-item=&quot;&quot; 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>
4739
4739
  <h2 id="options" tabindex="-1">Options</h2>
4740
- <p></p><table class="data-table options-table">
4740
+ <table class="data-table options-table">
4741
4741
  <caption> Options for 'data-grid'</caption>
4742
4742
  <thead>
4743
4743
  <tr>
@@ -4746,190 +4746,130 @@
4746
4746
  <th>Description/Example</th>
4747
4747
  </tr>
4748
4748
  </thead>
4749
- <tbody><p></p>
4750
- <p><tr>
4749
+ <tbody>
4750
+ <tr>
4751
4751
  <td><strong>columns</strong></td>
4752
4752
  <td><strong>12</strong></td>
4753
4753
  <td>
4754
- <p v-if="item.description">
4755
- 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.
4756
- </p></td></tr></p>
4757
- <p></p><div class="options-table__example">
4758
- <code>&lt;div data-grid=&quot;columns: 12&quot;&gt;...</code>
4759
- </div>
4760
-
4761
- <p></p>
4762
- <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>&lt;div data-grid="columns: 12"&gt;...</code></p>
4756
+ </td>
4757
+ </tr>
4758
+ <tr>
4763
4759
  <td><strong>justify</strong></td>
4764
4760
  <td><strong>(center|end)</strong></td>
4765
4761
  <td>
4766
- <p v-if="item.description">
4767
- Allows you to justify the columns (horizontal alignment). The defualt is start (left aligned)
4768
- </p></td></tr></p>
4769
- <p></p><div class="options-table__example">
4770
- <code>&lt;div data-grid=&quot;..., justify: center&quot;&gt;...</code>
4771
- </div>
4772
-
4773
- <p></p>
4774
- <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>&lt;div data-grid="..., justify: center"&gt;...</code></p>
4764
+ </td>
4765
+ </tr>
4766
+ <tr>
4775
4767
  <td><strong>align</strong></td>
4776
4768
  <td><strong>(center|start|end|stretch-end|stretch-center)</strong></td>
4777
4769
  <td>
4778
- <p v-if="item.description">
4779
- 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.
4780
- </p></td></tr></p>
4781
- <p></p><div class="options-table__example">
4782
- <code>&lt;div data-grid=&quot;..., align: center&quot;&gt;...</code>
4783
- </div>
4784
-
4785
- <p></p>
4786
- <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>&lt;div data-grid="..., align: center"&gt;...</code></p>
4772
+ </td>
4773
+ </tr>
4774
+ <tr>
4787
4775
  <td><strong>gutters</strong></td>
4788
4776
  <td><strong>false</strong></td>
4789
4777
  <td>
4790
- <p v-if="item.description">
4791
- You can remove the gutters between columns by adding this setting. The grid shows the default gutters size by default.
4792
- </p></td></tr></p>
4793
- <p></p><div class="options-table__example">
4794
- <code>&lt;div data-grid=&quot;..., gutters: false&quot;&gt;...</code>
4795
- </div>
4796
-
4797
- <p></p>
4798
- <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>&lt;div data-grid="..., gutters: false"&gt;...</code></p>
4780
+ </td>
4781
+ </tr>
4782
+ <tr>
4799
4783
  <td><strong>gutters-row</strong></td>
4800
4784
  <td><strong>(true|top|bottom|fit)</strong></td>
4801
4785
  <td>
4802
- <p v-if="item.description">
4803
- 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.
4804
- </p></td></tr></p>
4805
- <p></p><div class="options-table__example">
4806
- <code>&lt;div data-grid=&quot;..., gutters-row: true&quot;&gt;...</code>
4807
- </div>
4808
-
4809
- <p></p>
4810
- <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>&lt;div data-grid="..., gutters-row: true"&gt;...</code></p>
4788
+ </td>
4789
+ </tr>
4790
+ <tr>
4811
4791
  <td><strong>gutter-scale</strong></td>
4812
4792
  <td><strong>[scale key]</strong></td>
4813
4793
  <td>
4814
- <p v-if="item.description">
4815
- 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.
4816
- </p></td></tr></p>
4817
- <p></p><div class="options-table__example">
4818
- <code>&lt;div data-grid=&quot;..., gutter-scale: large&quot;&gt;...</code>
4819
- </div>
4820
-
4821
- <p></p>
4822
- <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>&lt;div data-grid="..., gutter-scale: large"&gt;...</code></p>
4796
+ </td>
4797
+ </tr>
4798
+ <tr>
4823
4799
  <td><strong>rules-row</strong></td>
4824
4800
  <td><strong>(top|bottom|between)</strong></td>
4825
4801
  <td>
4826
- <p v-if="item.description">
4827
- 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.
4828
- </p></td></tr></p>
4829
- <p></p><div class="options-table__example">
4830
- <code>&lt;div data-grid=&quot;..., rules-row: true&quot;&gt;...</code>
4831
- </div>
4832
-
4833
- <p></p>
4834
- <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>&lt;div data-grid="..., rules-row: true"&gt;...</code></p>
4804
+ </td>
4805
+ </tr>
4806
+ <tr>
4835
4807
  <td><strong>rules-row-style</strong></td>
4836
4808
  <td><strong>[style key]</strong></td>
4837
4809
  <td>
4838
- <p v-if="item.description">
4839
- 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.
4840
- </p></td></tr></p>
4841
- <p></p><div class="options-table__example">
4842
- <code>&lt;div data-grid=&quot;..., rules-row-style: light&quot;&gt;...</code>
4843
- </div>
4844
-
4845
- <p></p>
4846
- <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>&lt;div data-grid="..., rules-row-style: light"&gt;...</code></p>
4812
+ </td>
4813
+ </tr>
4814
+ <tr>
4847
4815
  <td><strong>rules-row-align</strong></td>
4848
4816
  <td><strong>(gutter)</strong></td>
4849
4817
  <td>
4850
- <p v-if="item.description">
4851
- 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.
4852
- </p></td></tr></p>
4853
- <p></p><div class="options-table__example">
4854
- <code>&lt;div data-grid=&quot;..., rules-row-align: gutter&quot;&gt;...</code>
4855
- </div>
4856
-
4857
- <p></p>
4858
- <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>&lt;div data-grid="..., rules-row-align: gutter"&gt;...</code></p>
4820
+ </td>
4821
+ </tr>
4822
+ <tr>
4859
4823
  <td><strong>rules-row-persist</strong></td>
4860
4824
  <td><strong>true</strong></td>
4861
4825
  <td>
4862
- <p v-if="item.description">
4863
- 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.
4864
- </p></td></tr></p>
4865
- <p></p><div class="options-table__example">
4866
- <code>&lt;div data-grid=&quot;..., rules-row-persist: true&quot;&gt;...</code>
4867
- </div>
4868
-
4869
- <p></p>
4870
- <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>&lt;div data-grid="..., rules-row-persist: true"&gt;...</code></p>
4828
+ </td>
4829
+ </tr>
4830
+ <tr>
4871
4831
  <td><strong>rules-row-stacked-only</strong></td>
4872
4832
  <td><strong>true</strong></td>
4873
4833
  <td>
4874
- <p v-if="item.description">
4875
- 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.
4876
- </p></td></tr></p>
4877
- <p></p><div class="options-table__example">
4878
- <code>&lt;div data-grid=&quot;..., rules-row-stacked-only: true&quot;&gt;...</code>
4879
- </div>
4880
-
4881
- <p></p>
4882
- <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>&lt;div data-grid="..., rules-row-stacked-only: true"&gt;...</code></p>
4836
+ </td>
4837
+ </tr>
4838
+ <tr>
4883
4839
  <td><strong>rules-column</strong></td>
4884
4840
  <td><strong>(left|right)</strong></td>
4885
4841
  <td>
4886
- <p v-if="item.description">
4887
- 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
4888
- </p></td></tr></p>
4889
- <p></p><div class="options-table__example">
4890
- <code>&lt;div data-grid=&quot;..., rules-column: left&quot;&gt;...</code>
4891
- </div>
4892
-
4893
- <p></p>
4894
- <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>&lt;div data-grid="..., rules-column: left"&gt;...</code></p>
4844
+ </td>
4845
+ </tr>
4846
+ <tr>
4895
4847
  <td><strong>rules-column-style</strong></td>
4896
4848
  <td><strong>[style key]</strong></td>
4897
4849
  <td>
4898
- <p v-if="item.description">
4899
- 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.
4900
- </p></td></tr></p>
4901
- <p></p><div class="options-table__example">
4902
- <code>&lt;div data-grid=&quot;..., rules-row-style: light&quot;&gt;...</code>
4903
- </div>
4904
-
4905
- <p></p>
4906
- <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>&lt;div data-grid="..., rules-row-style: light"&gt;...</code></p>
4852
+ </td>
4853
+ </tr>
4854
+ <tr>
4907
4855
  <td><strong>rules-column-ends</strong></td>
4908
4856
  <td><strong>true</strong></td>
4909
4857
  <td>
4910
- <p v-if="item.description">
4911
- 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.
4912
- </p></td></tr></p>
4913
- <p></p><div class="options-table__example">
4914
- <code>&lt;div data-grid=&quot;..., rules-column-ends: true&quot;&gt;...</code>
4915
- </div>
4916
-
4917
- <p></p>
4918
- <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>&lt;div data-grid="..., rules-column-ends: true"&gt;...</code></p>
4860
+ </td>
4861
+ </tr>
4862
+ <tr>
4919
4863
  <td><strong>rules-column-align</strong></td>
4920
4864
  <td><strong>true</strong></td>
4921
4865
  <td>
4922
- <p v-if="item.description">
4923
- Sets rules (dividers) between columns
4924
- </p></td></tr></p>
4925
- <p></p><div class="options-table__example">
4926
- <code>&lt;div data-grid=&quot;..., rules-column: true&quot;&gt;...</code>
4927
- </div>
4928
-
4929
- <p></p>
4930
- <p></p></tbody>
4931
- </table><p></p>
4932
- <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>&lt;div data-grid="..., rules-column: true"&gt;...</code></p>
4868
+ </td>
4869
+ </tr>
4870
+ </tbody>
4871
+ </table>
4872
+ <table class="data-table options-table">
4933
4873
  <caption> Options for 'data-grid-item'</caption>
4934
4874
  <thead>
4935
4875
  <tr>
@@ -4938,69 +4878,49 @@ Sets rules (dividers) between columns
4938
4878
  <th>Description/Example</th>
4939
4879
  </tr>
4940
4880
  </thead>
4941
- <tbody><p></p>
4942
- <p><tr>
4881
+ <tbody>
4882
+ <tr>
4943
4883
  <td><strong>width</strong></td>
4944
4884
  <td><strong>[# of columns]</strong></td>
4945
4885
  <td>
4946
- <p v-if="item.description">
4947
- 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.
4948
- </p></td></tr></p>
4949
- <p></p><div class="options-table__example">
4950
- <code>&lt;div data-grid-item=&quot;width: 4&quot;&gt;...</code>
4951
- </div>
4952
-
4953
- <p></p>
4954
- <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>&lt;div data-grid-item="width: 4"&gt;...</code></p>
4888
+ </td>
4889
+ </tr>
4890
+ <tr>
4955
4891
  <td><strong>width-[breakpoint]</strong></td>
4956
4892
  <td><strong>[# of columns]</strong></td>
4957
4893
  <td>
4958
- <p v-if="item.description">
4959
- 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'
4960
- </p></td></tr></p>
4961
- <p></p><div class="options-table__example">
4962
- <code>&lt;div data-grid-item=&quot;width-medium: 2&quot;&gt;...</code>
4963
- </div>
4964
-
4965
- <p></p>
4966
- <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>&lt;div data-grid-item="width-medium: 2"&gt;...</code></p>
4896
+ </td>
4897
+ </tr>
4898
+ <tr>
4967
4899
  <td><strong>offset</strong></td>
4968
4900
  <td><strong>[# of columns]</strong></td>
4969
4901
  <td>
4970
- <p v-if="item.description">
4971
- Offsets the column by a certain number of columns
4972
- </p></td></tr></p>
4973
- <p></p><div class="options-table__example">
4974
- <code>&lt;div data-grid-item=&quot;..., offset: 2&quot;&gt;...</code>
4975
- </div>
4976
-
4977
- <p></p>
4978
- <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>&lt;div data-grid-item="..., offset: 2"&gt;...</code></p>
4904
+ </td>
4905
+ </tr>
4906
+ <tr>
4979
4907
  <td><strong>offset-[breakpoint]</strong></td>
4980
4908
  <td><strong>[# of columns]</strong></td>
4981
4909
  <td>
4982
- <p v-if="item.description">
4983
- Same as width-[breakpoint] except for offset instead of width
4984
- </p></td></tr></p>
4985
- <p></p><div class="options-table__example">
4986
- <code>&lt;div data-grid-item=&quot;..., offset: 2&quot;&gt;...</code>
4987
- </div>
4988
-
4989
- <p></p>
4990
- <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>&lt;div data-grid-item="..., offset: 2"&gt;...</code></p>
4912
+ </td>
4913
+ </tr>
4914
+ <tr>
4991
4915
  <td><strong>sticky</strong></td>
4992
4916
  <td><strong>[top, bottom]</strong></td>
4993
4917
  <td>
4994
- <p v-if="item.description">
4995
- Set's a column to be sticky
4996
- </p></td></tr></p>
4997
- <p></p><div class="options-table__example">
4998
- <code>&lt;div data-grid-item=&quot;..., sticky: top&quot;&gt;...</code>
4999
- </div>
5000
-
5001
- <p></p>
5002
- <p></p></tbody>
5003
- </table><p></p>
4918
+ <p v-if="item.description">Set's a column to be sticky</p>
4919
+ <p class="options-table__example"><code>&lt;div data-grid-item="..., sticky: top"&gt;...</code></p>
4920
+ </td>
4921
+ </tr>
4922
+ </tbody>
4923
+ </table>
5004
4924
  <h2 id="examples" tabindex="-1">Examples</h2>
5005
4925
  <ul>
5006
4926
  <li>Dotted Line is the container holding the data-grid</li>
@@ -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-31">
4731
+ <table class="data-table" id="dt-39">
4732
4732
  <caption>
4733
4733
  This Is The Table's Caption
4734
4734
  </caption>
4735
4735
  <thead>
4736
4736
  <tr>
4737
- <th id="dt-31-type" rowspan="2">Type</th>
4738
- <th id="dt-31-group" colspan="2">Group</th>
4739
- <th id="dt-31-details" colspan="2">Details</th>
4740
- <th id="dt-31-id" rowspan="2">Id</th>
4737
+ <th id="dt-39-type" rowspan="2">Type</th>
4738
+ <th id="dt-39-group" colspan="2">Group</th>
4739
+ <th id="dt-39-details" colspan="2">Details</th>
4740
+ <th id="dt-39-id" rowspan="2">Id</th>
4741
4741
  </tr>
4742
4742
  <tr>
4743
- <th headers="dt-31-group" id="dt-31-primary">Primary</th>
4744
- <th headers="dt-31-group" id="dt-31-secondary">Secondary</th>
4745
- <th headers="dt-31-details" id="dt-31-before">Before Task</th>
4746
- <th headers="dt-31-details" id="dt-31-after">After Task</th>
4743
+ <th headers="dt-39-group" id="dt-39-primary">Primary</th>
4744
+ <th headers="dt-39-group" id="dt-39-secondary">Secondary</th>
4745
+ <th headers="dt-39-details" id="dt-39-before">Before Task</th>
4746
+ <th headers="dt-39-details" id="dt-39-after">After Task</th>
4747
4747
  </tr>
4748
4748
  </thead>
4749
4749
  <tbody>
4750
4750
  <tr>
4751
- <th rowspan="3" headers="dt-31-type dt-31-r1" id="dt-31-r1">Default</th>
4752
- <td headers="dt-31-group dt-31-primary dt-31-r1">Lorem Ipsum</td>
4753
- <td headers="dt-31-group dt-31-secondary dt-31-r1">Lorem Ipsum</td>
4754
- <td headers="dt-31-details dt-31-before dt-31-r1">Lorem Ipsum</td>
4755
- <td headers="dt-31-details dt-31-after dt-31-r1">Lorem Ipsum</td>
4756
- <td headers="dt-31-id">OL-53-GHSLE</td>
4751
+ <th rowspan="3" headers="dt-39-type dt-39-r1" id="dt-39-r1">Default</th>
4752
+ <td headers="dt-39-group dt-39-primary dt-39-r1">Lorem Ipsum</td>
4753
+ <td headers="dt-39-group dt-39-secondary dt-39-r1">Lorem Ipsum</td>
4754
+ <td headers="dt-39-details dt-39-before dt-39-r1">Lorem Ipsum</td>
4755
+ <td headers="dt-39-details dt-39-after dt-39-r1">Lorem Ipsum</td>
4756
+ <td headers="dt-39-id">OL-53-GHSLE</td>
4757
4757
  </tr>
4758
4758
  <tr>
4759
- <td headers="dt-31-group dt-31-primary dt-31-r1">Lorem Ipsum</td>
4760
- <td headers="dt-31-group dt-31-secondary dt-31-r1">Lorem Ipsum</td>
4761
- <td headers="dt-31-details dt-31-before dt-31-r1">Lorem Ipsum</td>
4762
- <td headers="dt-31-details dt-31-after dt-31-r1">Lorem Ipsum</td>
4763
- <td headers="dt-31-id">OL-53-GHSLE</td>
4759
+ <td headers="dt-39-group dt-39-primary dt-39-r1">Lorem Ipsum</td>
4760
+ <td headers="dt-39-group dt-39-secondary dt-39-r1">Lorem Ipsum</td>
4761
+ <td headers="dt-39-details dt-39-before dt-39-r1">Lorem Ipsum</td>
4762
+ <td headers="dt-39-details dt-39-after dt-39-r1">Lorem Ipsum</td>
4763
+ <td headers="dt-39-id">OL-53-GHSLE</td>
4764
4764
  </tr>
4765
4765
  <tr>
4766
- <td headers="dt-31-group dt-31-primary dt-31-r1">Lorem Ipsum</td>
4767
- <td headers="dt-31-group dt-31-secondary dt-31-r1">Lorem Ipsum</td>
4768
- <td headers="dt-31-details dt-31-before dt-31-r1">Lorem Ipsum</td>
4769
- <td headers="dt-31-details dt-31-after dt-31-r1">Lorem Ipsum</td>
4770
- <td headers="dt-31-id">OL-53-GHSLE</td>
4766
+ <td headers="dt-39-group dt-39-primary dt-39-r1">Lorem Ipsum</td>
4767
+ <td headers="dt-39-group dt-39-secondary dt-39-r1">Lorem Ipsum</td>
4768
+ <td headers="dt-39-details dt-39-before dt-39-r1">Lorem Ipsum</td>
4769
+ <td headers="dt-39-details dt-39-after dt-39-r1">Lorem Ipsum</td>
4770
+ <td headers="dt-39-id">OL-53-GHSLE</td>
4771
4771
  </tr>
4772
4772
  </tbody>
4773
4773
  </table>
@@ -4748,9 +4748,11 @@
4748
4748
  <span class="pjs-token pjs-string">"highlighted-row-border-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>
4749
4749
  <span class="pjs-token pjs-string">"large-header-cell-padding-y"</span> <span class="pjs-token pjs-punctuation">:</span> 1em<span class="pjs-token pjs-punctuation">,</span>
4750
4750
  <span class="pjs-token pjs-string">"caption-type-size"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"large"</span><span class="pjs-token pjs-punctuation">,</span>
4751
+ <span class="pjs-token pjs-string">"caption-background-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>
4751
4752
  <span class="pjs-token pjs-string">"caption-font-weight"</span> <span class="pjs-token pjs-punctuation">:</span> bold<span class="pjs-token pjs-punctuation">,</span>
4752
- <span class="pjs-token pjs-string">"caption-margin"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>0 0 1em 0<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
4753
- <span class="pjs-token pjs-string">"caption-padding"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>0<span class="pjs-token pjs-punctuation">,</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
4753
+ <span class="pjs-token pjs-string">"caption-margin"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>0<span class="pjs-token pjs-punctuation">,</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
4754
+ <span class="pjs-token pjs-string">"caption-padding"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>0.5em<span class="pjs-token pjs-punctuation">,</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
4755
+ <span class="pjs-token pjs-string">"caption-text-align"</span> <span class="pjs-token pjs-punctuation">:</span> left<span class="pjs-token pjs-punctuation">,</span>
4754
4756
  <span class="pjs-token pjs-string">"extra-selector"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">".wysiwyg table"</span>
4755
4757
  <span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
4756
4758
  <details>
@@ -4760,7 +4762,7 @@
4760
4762
  <li><strong>Group:</strong> data-table</li>
4761
4763
  <li><strong>Type:</strong> variable</li>
4762
4764
  <li><strong>Lines (comments):</strong> 25-26</li>
4763
- <li><strong>Lines (code):</strong> 28-53</li>
4765
+ <li><strong>Lines (code):</strong> 28-55</li>
4764
4766
  </ul>
4765
4767
  </details>
4766
4768
  <h2 id="mixins" tabindex="-1">Mixins</h2>
@@ -4777,8 +4779,8 @@
4777
4779
  <li><strong>File:</strong> _data-table.scss</li>
4778
4780
  <li><strong>Group:</strong> data-table</li>
4779
4781
  <li><strong>Type:</strong> mixin</li>
4780
- <li><strong>Lines (comments):</strong> 55-58</li>
4781
- <li><strong>Lines (code):</strong> 60-62</li>
4782
+ <li><strong>Lines (comments):</strong> 57-60</li>
4783
+ <li><strong>Lines (code):</strong> 62-64</li>
4782
4784
  </ul>
4783
4785
  </details>
4784
4786
  <h4 id="examples" tabindex="-1">Examples</h4>
@@ -4817,8 +4819,8 @@
4817
4819
  <li><strong>File:</strong> _data-table.scss</li>
4818
4820
  <li><strong>Group:</strong> data-table</li>
4819
4821
  <li><strong>Type:</strong> mixin</li>
4820
- <li><strong>Lines (comments):</strong> 74-76</li>
4821
- <li><strong>Lines (code):</strong> 78-180</li>
4822
+ <li><strong>Lines (comments):</strong> 76-78</li>
4823
+ <li><strong>Lines (code):</strong> 80-184</li>
4822
4824
  </ul>
4823
4825
  </details>
4824
4826
  <h4 id="examples-1" tabindex="-1">Examples</h4>
@@ -4841,8 +4843,8 @@
4841
4843
  <li><strong>File:</strong> _data-table.scss</li>
4842
4844
  <li><strong>Group:</strong> data-table</li>
4843
4845
  <li><strong>Type:</strong> function</li>
4844
- <li><strong>Lines (comments):</strong> 64-67</li>
4845
- <li><strong>Lines (code):</strong> 69-72</li>
4846
+ <li><strong>Lines (comments):</strong> 66-69</li>
4847
+ <li><strong>Lines (code):</strong> 71-74</li>
4846
4848
  </ul>
4847
4849
  </details>
4848
4850
  <h4 id="examples-2" tabindex="-1">Examples</h4>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.7",
3
+ "version": "0.1.0-beta.8",
4
4
  "description": "Modular Sass Theming Library",
5
5
  "browser": "js/index.js",
6
6
  "main": "index.js",
@@ -46,9 +46,11 @@ $config: (
46
46
  "highlighted-row-border-color" : null,
47
47
  "large-header-cell-padding-y" : 1em,
48
48
  "caption-type-size" : "large",
49
+ "caption-background-color" : null,
49
50
  "caption-font-weight" : bold,
50
- "caption-margin" : (0 0 1em 0),
51
- "caption-padding" : (0,),
51
+ "caption-margin" : (0,),
52
+ "caption-padding" : (0.5em,),
53
+ "caption-text-align" : left,
52
54
  "extra-selector" : ".wysiwyg table"
53
55
  ) !default;
54
56
 
@@ -107,9 +109,11 @@ $config: (
107
109
  @include typography.size(get("caption-type-size"));
108
110
  }
109
111
  font-weight: get("caption-font-weight");
110
- text-align: left;
112
+ text-align: get("caption-text-align");
111
113
  margin: get("caption-margin");
112
114
  padding: get("caption-padding");
115
+ background-color: get("caption-background-color");
116
+ border-bottom: $border;
113
117
  }
114
118
  th,
115
119
  tr,