@ulu/frontend 0.1.0-beta.100 → 0.1.0-beta.102

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.
@@ -83,9 +83,9 @@ Scroll-Slider
83
83
  </li><p></p>
84
84
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
85
85
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
86
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 1 Title</a>
86
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem ipsum dolor sit amet</a>
87
87
  </h5><div>
88
- This is the card content. It can contain around 2-3 sentences.
88
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
89
89
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
90
90
  <img src="/frontend/assets/placeholder/image-1.jpg">
91
91
  </div><div class="card__footer">
@@ -94,9 +94,9 @@ This is the card content. It can contain around 2-3 sentences.
94
94
  </li></p>
95
95
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
96
96
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
97
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 2 Title</a>
97
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem ipsum dolor sit amet, consectetur adipiscing elit</a>
98
98
  </h5><div>
99
- This is the card content. It can contain around 2-3 sentences.
99
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
100
100
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
101
101
  <img src="/frontend/assets/placeholder/image-1.jpg">
102
102
  </div><div class="card__footer">
@@ -105,9 +105,9 @@ This is the card content. It can contain around 2-3 sentences.
105
105
  </li></p>
106
106
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
107
107
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
108
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 3 Title</a>
108
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem Ipsum</a>
109
109
  </h5><div>
110
- This is the card content. It can contain around 2-3 sentences.
110
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
111
111
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
112
112
  <img src="/frontend/assets/placeholder/image-1.jpg">
113
113
  </div><div class="card__footer">
@@ -116,7 +116,7 @@ This is the card content. It can contain around 2-3 sentences.
116
116
  </li></p>
117
117
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
118
118
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
119
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 4 Title</a>
119
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem ipsum dolor sit amet</a>
120
120
  </h5><div>
121
121
  This is the card content. It can contain around 2-3 sentences.
122
122
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
@@ -127,9 +127,9 @@ This is the card content. It can contain around 2-3 sentences.
127
127
  </li></p>
128
128
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
129
129
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
130
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 5 Title</a>
130
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem ipsum dolor sit amet, consectetur adipiscing elit</a>
131
131
  </h5><div>
132
- This is the card content. It can contain around 2-3 sentences.
132
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
133
133
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
134
134
  <img src="/frontend/assets/placeholder/image-1.jpg">
135
135
  </div><div class="card__footer">
@@ -138,9 +138,9 @@ This is the card content. It can contain around 2-3 sentences.
138
138
  </li></p>
139
139
  <p><li class="scroll-slider__slide" data-ulu-scroll-slider-slide="">
140
140
  <article class="card " data-ulu-proxy-click=""><div class="card__body"><div class="card__main"><h5 class="card__title">
141
- <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Card 6 Title</a>
141
+ <a class="card__title-link" href="https://www.google.com" data-ulu-proxy-click-source="">Lorem Ipsum</a>
142
142
  </h5><div>
143
- This is the card content. It can contain around 2-3 sentences.
143
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
144
144
  </div></div><div class="card__aside">This is the aside content</div></div><div class="card__image ">
145
145
  <img src="/frontend/assets/placeholder/image-1.jpg">
146
146
  </div><div class="card__footer">
@@ -5591,6 +5591,12 @@
5591
5591
 
5592
5592
  <li><a href="#alternate-styles">Alternate Styles</a>
5593
5593
  </li>
5594
+
5595
+ <li><a href="#sizes">Sizes</a>
5596
+ </li>
5597
+
5598
+ <li><a href="#counter-modifier">Counter Modifier</a>
5599
+ </li>
5594
5600
  </ol>
5595
5601
  </div>
5596
5602
  </div>
@@ -5607,7 +5613,7 @@
5607
5613
  <hr class="rule rule--light rule--margin-large">
5608
5614
 
5609
5615
  <div class="wysiwyg">
5610
- <h2 id="title-with-tag-new" tabindex="-1">Title with Tag <span class="tag">New</span></h2>
5616
+ <h2 id="title-with-tag-new" tabindex="-1">Title with Tag <sup><span class="tag">New</span></sup></h2>
5611
5617
  <p>This is a tag inline <span class="tag">Some Definition</span> lorem ipsum, et depsi anu.</p>
5612
5618
  <h2 id="alternate-styles" tabindex="-1">Alternate Styles</h2>
5613
5619
  <p>Alternate styles are user set this shows defaults.</p>
@@ -5616,6 +5622,12 @@
5616
5622
  <li><span class="tag tag--danger">danger</span></li>
5617
5623
  <li><span class="tag tag--outline">outline</span></li>
5618
5624
  </ul>
5625
+ <h2 id="sizes" tabindex="-1">Sizes</h2>
5626
+ <p><span class="tag tag--small">Small Tag</span></p>
5627
+ <p><span class="tag">Default Tag</span></p>
5628
+ <h2 id="counter-modifier" tabindex="-1">Counter Modifier</h2>
5629
+ <p><span class="tag tag--counter">30</span> <span class="tag tag--counter">30,000</span></p>
5630
+ <p><span class="tag tag--small tag--counter">30</span> <span class="tag tag--small tag--counter">30,000</span></p>
5619
5631
 
5620
5632
  </div>
5621
5633
  </div>
@@ -5595,6 +5595,9 @@
5595
5595
 
5596
5596
  <li><a href="#variable-styles">$styles</a>
5597
5597
  </li>
5598
+
5599
+ <li><a href="#variable-sizes">$sizes</a>
5600
+ </li>
5598
5601
  </ol>
5599
5602
  </li>
5600
5603
 
@@ -5608,6 +5611,9 @@
5608
5611
  <li><a href="#mixin-set-styles">set-styles()</a>
5609
5612
  </li>
5610
5613
 
5614
+ <li><a href="#mixin-set-sizes">set-sizes()</a>
5615
+ </li>
5616
+
5611
5617
  <li><a href="#mixin-styles">styles()</a>
5612
5618
  </li>
5613
5619
  </ol>
@@ -5659,6 +5665,9 @@
5659
5665
  <span class="pjs-token pjs-string">"border-color"</span> <span class="pjs-token pjs-punctuation">:</span> transparent<span class="pjs-token pjs-punctuation">,</span>
5660
5666
  <span class="pjs-token pjs-string">"border-width"</span> <span class="pjs-token pjs-punctuation">:</span> 1px<span class="pjs-token pjs-punctuation">,</span>
5661
5667
  <span class="pjs-token pjs-string">"color"</span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"type-tertiary"</span><span class="pjs-token pjs-punctuation">,</span>
5668
+ <span class="pjs-token pjs-string">"counter-size"</span> <span class="pjs-token pjs-punctuation">:</span> 1.75em<span class="pjs-token pjs-punctuation">,</span>
5669
+ <span class="pjs-token pjs-string">"counter-border-radius"</span> <span class="pjs-token pjs-punctuation">:</span> 20px<span class="pjs-token pjs-punctuation">,</span>
5670
+ <span class="pjs-token pjs-string">"counter-padding-sides"</span> <span class="pjs-token pjs-punctuation">:</span> 0.26em
5662
5671
  <span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
5663
5672
  <details>
5664
5673
  <summary>File Information</summary>
@@ -5666,8 +5675,8 @@
5666
5675
  <li><strong>File:</strong> _tag.scss</li>
5667
5676
  <li><strong>Group:</strong> tag</li>
5668
5677
  <li><strong>Type:</strong> variable</li>
5669
- <li><strong>Lines (comments):</strong> 24-39</li>
5670
- <li><strong>Lines (code):</strong> 41-56</li>
5678
+ <li><strong>Lines (comments):</strong> 24-42</li>
5679
+ <li><strong>Lines (code):</strong> 44-62</li>
5671
5680
  </ul>
5672
5681
  </details>
5673
5682
  <h4 id="map-properties" tabindex="-1">Map Properties</h4>
@@ -5765,6 +5774,24 @@
5765
5774
  <td style="text-align:left">&quot;type-tertiary&quot;</td>
5766
5775
  <td style="text-align:left">Color of the tag text.</td>
5767
5776
  </tr>
5777
+ <tr>
5778
+ <td style="text-align:left">counter-size</td>
5779
+ <td style="text-align:left">String</td>
5780
+ <td style="text-align:left">1.5em</td>
5781
+ <td style="text-align:left">Size when used as a counter (for numbers), will be this size by default and expand horizontally as needed (ie. circle/rounded rectangle or square/rectangle if without border radius)</td>
5782
+ </tr>
5783
+ <tr>
5784
+ <td style="text-align:left">counter-border-radius</td>
5785
+ <td style="text-align:left">String</td>
5786
+ <td style="text-align:left">20px</td>
5787
+ <td style="text-align:left">May need to be adjusted or can be set to 0 for square/rectangle</td>
5788
+ </tr>
5789
+ <tr>
5790
+ <td style="text-align:left">counter-padding-sides</td>
5791
+ <td style="text-align:left">String</td>
5792
+ <td style="text-align:left">0.26em</td>
5793
+ <td style="text-align:left">Counter left/right padding (this is the space/margin on the inside when the number can't fit in the circle/square</td>
5794
+ </tr>
5768
5795
  </tbody>
5769
5796
  </table>
5770
5797
  <div class="sassdoc-item-header">
@@ -5794,8 +5821,31 @@
5794
5821
  <li><strong>File:</strong> _tag.scss</li>
5795
5822
  <li><strong>Group:</strong> tag</li>
5796
5823
  <li><strong>Type:</strong> variable</li>
5797
- <li><strong>Lines (comments):</strong> 58-58</li>
5798
- <li><strong>Lines (code):</strong> 60-73</li>
5824
+ <li><strong>Lines (comments):</strong> 64-64</li>
5825
+ <li><strong>Lines (code):</strong> 66-79</li>
5826
+ </ul>
5827
+ </details>
5828
+ <div class="sassdoc-item-header">
5829
+ <h3 id="variable-sizes" tabindex="-1">$sizes</h3>
5830
+ <div class="sassdoc-item-header__labels">
5831
+ <span class="tag tag--primary"><strong>Variable</strong></span>
5832
+ </div>
5833
+ </div>
5834
+ <p>Map of alternate sizes</p>
5835
+ <pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-property"><span class="pjs-token pjs-variable">$sizes</span></span><span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
5836
+ <span class="pjs-token pjs-string">"small"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>
5837
+ <span class="pjs-token pjs-string">"padding"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-punctuation">(</span>0.25em 0.5em<span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">,</span>
5838
+ <span class="pjs-token pjs-string">"type-size"</span> <span class="pjs-token pjs-punctuation">:</span> <span class="pjs-token pjs-string">"small-x"</span>
5839
+ <span class="pjs-token pjs-punctuation">)</span>
5840
+ <span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
5841
+ <details>
5842
+ <summary>File Information</summary>
5843
+ <ul>
5844
+ <li><strong>File:</strong> _tag.scss</li>
5845
+ <li><strong>Group:</strong> tag</li>
5846
+ <li><strong>Type:</strong> variable</li>
5847
+ <li><strong>Lines (comments):</strong> 81-81</li>
5848
+ <li><strong>Lines (code):</strong> 82-87</li>
5799
5849
  </ul>
5800
5850
  </details>
5801
5851
  <h2 id="mixins" tabindex="-1">Mixins</h2>
@@ -5812,8 +5862,8 @@
5812
5862
  <li><strong>File:</strong> _tag.scss</li>
5813
5863
  <li><strong>Group:</strong> tag</li>
5814
5864
  <li><strong>Type:</strong> mixin</li>
5815
- <li><strong>Lines (comments):</strong> 76-79</li>
5816
- <li><strong>Lines (code):</strong> 81-83</li>
5865
+ <li><strong>Lines (comments):</strong> 89-92</li>
5866
+ <li><strong>Lines (code):</strong> 94-96</li>
5817
5867
  </ul>
5818
5868
  </details>
5819
5869
  <h4 id="examples" tabindex="-1">Examples</h4>
@@ -5852,8 +5902,8 @@
5852
5902
  <li><strong>File:</strong> _tag.scss</li>
5853
5903
  <li><strong>Group:</strong> tag</li>
5854
5904
  <li><strong>Type:</strong> mixin</li>
5855
- <li><strong>Lines (comments):</strong> 85-87</li>
5856
- <li><strong>Lines (code):</strong> 89-91</li>
5905
+ <li><strong>Lines (comments):</strong> 98-100</li>
5906
+ <li><strong>Lines (code):</strong> 102-104</li>
5857
5907
  </ul>
5858
5908
  </details>
5859
5909
  <h4 id="parameters-1" tabindex="-1">Parameters</h4>
@@ -5883,6 +5933,49 @@
5883
5933
  <li><a href="/frontend/sass/components/callout/#variable-styles">$styles</a></li>
5884
5934
  </ul>
5885
5935
  <div class="sassdoc-item-header">
5936
+ <h3 id="mixin-set-sizes" tabindex="-1">set-sizes()</h3>
5937
+ <div class="sassdoc-item-header__labels">
5938
+ <span class="tag tag--primary"><strong>Mixin</strong></span>
5939
+ </div>
5940
+ </div>
5941
+ <p>Set tag sizes</p>
5942
+ <details>
5943
+ <summary>File Information</summary>
5944
+ <ul>
5945
+ <li><strong>File:</strong> _tag.scss</li>
5946
+ <li><strong>Group:</strong> tag</li>
5947
+ <li><strong>Type:</strong> mixin</li>
5948
+ <li><strong>Lines (comments):</strong> 106-108</li>
5949
+ <li><strong>Lines (code):</strong> 110-112</li>
5950
+ </ul>
5951
+ </details>
5952
+ <h4 id="parameters-2" tabindex="-1">Parameters</h4>
5953
+ <table>
5954
+ <thead>
5955
+ <tr>
5956
+ <th style="text-align:left">Name</th>
5957
+ <th style="text-align:left">Type</th>
5958
+ <th style="text-align:left">Description</th>
5959
+ </tr>
5960
+ </thead>
5961
+ <tbody>
5962
+ <tr>
5963
+ <td style="text-align:left">$changes</td>
5964
+ <td style="text-align:left"><code>Map</code></td>
5965
+ <td style="text-align:left">Map of changes</td>
5966
+ </tr>
5967
+ <tr>
5968
+ <td style="text-align:left">$merge-mode</td>
5969
+ <td style="text-align:left"><code>String</code></td>
5970
+ <td style="text-align:left">Merge mode see utils.map-merge() [null</td>
5971
+ </tr>
5972
+ </tbody>
5973
+ </table>
5974
+ <h4 id="require-2" tabindex="-1">Require</h4>
5975
+ <ul>
5976
+ <li><a href="/frontend/sass/components/adaptive-spacing/#variable-sizes">$sizes</a></li>
5977
+ </ul>
5978
+ <div class="sassdoc-item-header">
5886
5979
  <h3 id="mixin-styles" tabindex="-1">styles()</h3>
5887
5980
  <div class="sassdoc-item-header__labels">
5888
5981
  <span class="tag tag--primary"><strong>Mixin</strong></span>
@@ -5895,15 +5988,16 @@
5895
5988
  <li><strong>File:</strong> _tag.scss</li>
5896
5989
  <li><strong>Group:</strong> tag</li>
5897
5990
  <li><strong>Type:</strong> mixin</li>
5898
- <li><strong>Lines (comments):</strong> 103-105</li>
5899
- <li><strong>Lines (code):</strong> 107-156</li>
5991
+ <li><strong>Lines (comments):</strong> 124-126</li>
5992
+ <li><strong>Lines (code):</strong> 128-198</li>
5900
5993
  </ul>
5901
5994
  </details>
5902
5995
  <h4 id="examples-1" tabindex="-1">Examples</h4>
5903
5996
  <pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-keyword">@include</span> ulu.<span class="pjs-token pjs-function">component-tag-styles</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
5904
- <h4 id="require-2" tabindex="-1">Require</h4>
5997
+ <h4 id="require-3" tabindex="-1">Require</h4>
5905
5998
  <ul>
5906
5999
  <li><a href="/frontend/sass/components/accordion/#function-get">get()</a></li>
6000
+ <li><a href="/frontend/sass/components/adaptive-spacing/#variable-sizes">$sizes</a></li>
5907
6001
  <li><a href="/frontend/sass/components/callout/#variable-styles">$styles</a></li>
5908
6002
  </ul>
5909
6003
  <h2 id="functions" tabindex="-1">Functions</h2>
@@ -5920,13 +6014,13 @@
5920
6014
  <li><strong>File:</strong> _tag.scss</li>
5921
6015
  <li><strong>Group:</strong> tag</li>
5922
6016
  <li><strong>Type:</strong> function</li>
5923
- <li><strong>Lines (comments):</strong> 93-96</li>
5924
- <li><strong>Lines (code):</strong> 98-101</li>
6017
+ <li><strong>Lines (comments):</strong> 114-117</li>
6018
+ <li><strong>Lines (code):</strong> 119-122</li>
5925
6019
  </ul>
5926
6020
  </details>
5927
6021
  <h4 id="examples-2" tabindex="-1">Examples</h4>
5928
6022
  <pre class="language-scss"><code class="language-scss"><span class="pjs-token pjs-keyword">@include</span> ulu.<span class="pjs-token pjs-function">component-tag-get</span><span class="pjs-token pjs-punctuation">(</span><span class="pjs-token pjs-string">"property"</span><span class="pjs-token pjs-punctuation">)</span><span class="pjs-token pjs-punctuation">;</span></code></pre>
5929
- <h4 id="parameters-2" tabindex="-1">Parameters</h4>
6023
+ <h4 id="parameters-3" tabindex="-1">Parameters</h4>
5930
6024
  <table>
5931
6025
  <thead>
5932
6026
  <tr>
@@ -5943,7 +6037,7 @@
5943
6037
  </tr>
5944
6038
  </tbody>
5945
6039
  </table>
5946
- <h4 id="require-3" tabindex="-1">Require</h4>
6040
+ <h4 id="require-4" tabindex="-1">Require</h4>
5947
6041
  <ul>
5948
6042
  <li><a href="/frontend/sass/components/accordion/#variable-config">$config</a></li>
5949
6043
  </ul>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.100",
3
+ "version": "0.1.0-beta.102",
4
4
  "description": "A versatile SCSS and JavaScript component library offering configurable, accessible components and flexible integration into any project, with SCSS modules suitable for modern JS frameworks.",
5
5
  "browser": "js/index.js",
6
6
  "main": "index.js",
@@ -35,6 +35,7 @@
35
35
  /// @prop {Number} line-height-dense [1.3] Default dense line height
36
36
  /// @prop {Number} line-height-densest [1.1]
37
37
  /// @prop {Number} line-height-spaced [1.75]
38
+ /// @prop {CssUnit} space-size [0.38em] The size of a space for the site's typography (used when creating faux spaces, like for .flow-inline utility)
38
39
 
39
40
  $config: (
40
41
  "letter-spacing-uppercase": 0.04em,
@@ -61,6 +62,7 @@ $config: (
61
62
  "max-width": 60em,
62
63
  "max-width-large": 75em,
63
64
  "max-width-small": 45em,
65
+ "space-size": 0.38em
64
66
  ) !default;
65
67
 
66
68
  /// Change modules $config
@@ -37,6 +37,9 @@ $-fallbacks: (
37
37
  /// @prop {Color} border-color [transparent] Border color for the tag.
38
38
  /// @prop {Dimension} border-width [1px] Border width of the tag.
39
39
  /// @prop {String} color ["type-tertiary"] Color of the tag text.
40
+ /// @prop {String} counter-size [1.5em] Size when used as a counter (for numbers), will be this size by default and expand horizontally as needed (ie. circle/rounded rectangle or square/rectangle if without border radius)
41
+ /// @prop {String} counter-border-radius [20px] May need to be adjusted or can be set to 0 for square/rectangle
42
+ /// @prop {String} counter-padding-sides [0.26em] Counter left/right padding (this is the space/margin on the inside when the number can't fit in the circle/square
40
43
 
41
44
  $config: (
42
45
  "font-weight" : normal,
@@ -53,6 +56,9 @@ $config: (
53
56
  "border-color" : transparent,
54
57
  "border-width" : 1px,
55
58
  "color": "type-tertiary",
59
+ "counter-size" : 1.75em,
60
+ "counter-border-radius" : 20px,
61
+ "counter-padding-sides" : 0.26em
56
62
  ) !default;
57
63
 
58
64
  /// Style Map (alternate tag styles)
@@ -72,6 +78,13 @@ $styles: (
72
78
  )
73
79
  ) !default;
74
80
 
81
+ /// Map of alternate sizes
82
+ $sizes: (
83
+ "small" : (
84
+ "padding" : (0.25em 0.5em),
85
+ "type-size" : "small-x"
86
+ )
87
+ ) !default;
75
88
 
76
89
  /// Change modules $config
77
90
  /// @param {Map} $changes Map of changes
@@ -90,6 +103,14 @@ $styles: (
90
103
  $styles: utils.map-merge($styles, $changes, $merge-mode) !global;
91
104
  }
92
105
 
106
+ /// Set tag sizes
107
+ /// @param {Map} $changes Map of changes
108
+ /// @param {String} $merge-mode Merge mode see utils.map-merge() [null|"deep"|"overwrite"]
109
+
110
+ @mixin set-sizes($changes, $merge-mode: null) {
111
+ $sizes: utils.map-merge($sizes, $changes, $merge-mode) !global;
112
+ }
113
+
93
114
  /// Get a config option
94
115
  /// @param {Map} $name Name of property
95
116
  /// @example scss
@@ -121,10 +142,10 @@ $styles: (
121
142
  background-color: color.get(get("background-color"));
122
143
  color: color.get(get("color"));
123
144
  font-family: get("font-family");
145
+ line-height: get("line-height");
124
146
  @if (typography.has-size(get("type-size"))) {
125
147
  @include typography.size(get("type-size"), $only-font-size: true);
126
148
  }
127
- line-height: get("line-height");
128
149
  &:not(:last-child) {
129
150
  margin-right: get("margin-between");
130
151
  }
@@ -136,8 +157,32 @@ $styles: (
136
157
  }
137
158
  }
138
159
 
160
+
161
+
162
+ @each $name, $size in $sizes {
163
+ $type-size: map.get($size, "type-size");
164
+
165
+ #{ $prefix }--#{ $name } {
166
+ padding: map.get($size, "padding");
167
+ line-height: map.get($size, "line-height");
168
+ @if (typography.has-size($type-size)) {
169
+ @include typography.size($type-size, $only-font-size: true);
170
+ }
171
+ }
172
+ }
173
+
174
+ // Order Reason: Needs to inherit from sizes but not styles
175
+ #{ $prefix }--counter {
176
+ display: inline-flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ min-width: get("counter-size");
180
+ height: get("counter-size");
181
+ border-radius: get("counter-border-radius");
182
+ padding: 0 get("counter-padding-sides");
183
+ }
184
+
139
185
  @each $name, $style in $styles {
140
- $type-size: map.get($style, "type-size");
141
186
  #{ $prefix }--#{ $name } {
142
187
  background-color: color.get(map.get($style, "background-color"));
143
188
  color: color.get(map.get($style, "color"));
@@ -146,11 +191,8 @@ $styles: (
146
191
  border-color: color.get(map.get($style, "border-color"));
147
192
  border-width: map.get($style, "border-width");
148
193
  box-shadow: map.get($style, "box-shadow");
149
- padding: map.get($style, "padding");
150
- @if (typography.has-size($type-size)) {
151
- @include typography.size($type-size, $only-font-size: true);
152
- }
153
- line-height: map.get($style, "line-height");
154
194
  }
155
195
  }
196
+
197
+
156
198
  }
@@ -6,6 +6,7 @@
6
6
  @use "../utils";
7
7
  @use "../layout";
8
8
  @use "../selector";
9
+ @use "../typography";
9
10
 
10
11
  /// Print utilities helper styles
11
12
  /// - Includes classes like (.crop-margins, .no-scroll-y, .image-full-width, etc)
@@ -118,7 +119,12 @@
118
119
  #{ selector.class("overflow-hidden") } {
119
120
  overflow: hidden;
120
121
  }
121
- // .justify-self-center {
122
- // justify-self: center;
123
- // }
122
+ #{ selector.class("flow-inline") } {
123
+ &:not(:first-child) {
124
+ margin-left: typography.get("space-size");
125
+ }
126
+ &:not(:last-child) {
127
+ margin-right: typography.get("space-size");
128
+ }
129
+ }
124
130
  }