@ulu/frontend 0.1.0-beta.97 → 0.1.0-beta.99

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.
@@ -5599,64 +5599,64 @@
5599
5599
 
5600
5600
  <h2 class="h2">Media Block</h2>
5601
5601
 
5602
- <div class="skeleton" style="max-width: 350px;">
5603
- <div class="skeleton__block skeleton__block--media layout-flex-center-all">
5602
+ <div style="max-width: 350px;">
5603
+ <div class="skeleton-block skeleton-block--media layout-flex-center-all">
5604
5604
  <span class="fas fa-image type-large-xx" aria-hidden="true"></span>
5605
5605
  </div>
5606
5606
  </div>
5607
5607
 
5608
5608
  <h2 class="h2">Lines of Content/Text</h2>
5609
5609
 
5610
- <div class="skeleton">
5611
- <p class="skeleton__text"></p>
5612
- <p class="skeleton__text"></p>
5613
- <p class="skeleton__text skeleton__text--small"></p>
5614
- <p class="skeleton__text"></p>
5610
+ <div>
5611
+ <p class="skeleton-text"></p>
5612
+ <p class="skeleton-text"></p>
5613
+ <p class="skeleton-text skeleton-text--small"></p>
5614
+ <p class="skeleton-text"></p>
5615
5615
  </div>
5616
5616
 
5617
5617
  <h2 class="h2">Paragraph</h2>
5618
5618
 
5619
- <div class="skeleton">
5619
+ <div>
5620
5620
  <div>
5621
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-xx"></span>
5622
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-x"></span>
5623
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-xx"></span>
5621
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-xx"></span>
5622
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-x"></span>
5623
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-xx"></span>
5624
5624
  </div>
5625
5625
  <div>
5626
- <span class="skeleton__text skeleton__text--inline skeleton__alt skeleton__text--small-x"></span>
5627
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-x"></span>
5626
+ <span class="skeleton-text skeleton-text--inline skeleton-alt skeleton-text--small-x"></span>
5627
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-x"></span>
5628
5628
  </div>
5629
5629
  <div>
5630
- <span class="skeleton__text skeleton__text--inline skeleton__alt skeleton__text--large-x"></span>
5630
+ <span class="skeleton-text skeleton-text--inline skeleton-alt skeleton-text--large-x"></span>
5631
5631
  </div>
5632
5632
  <div>
5633
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-x"></span>
5634
- <span class="skeleton__text skeleton__text--inline skeleton__alt skeleton__text--large"></span>
5633
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-x"></span>
5634
+ <span class="skeleton-text skeleton-text--inline skeleton-alt skeleton-text--large"></span>
5635
5635
  </div>
5636
5636
  <div>
5637
- <span class="skeleton__text skeleton__text--inline skeleton__alt skeleton__text--large"></span>
5637
+ <span class="skeleton-text skeleton-text--inline skeleton-alt skeleton-text--large"></span>
5638
5638
  </div>
5639
5639
  <div>
5640
- <span class="skeleton__text skeleton__text--inline skeleton__text--large"></span>
5640
+ <span class="skeleton-text skeleton-text--inline skeleton-text--large"></span>
5641
5641
  </div>
5642
5642
  </div>
5643
5643
 
5644
5644
  <h2 class="h2">Card</h2>
5645
5645
 
5646
- <article class="card skeleton">
5646
+ <article class="card">
5647
5647
  <div class="card__body">
5648
5648
  <div class="card__main">
5649
5649
  <div class="card__title">
5650
- <div class="skeleton__text skeleton__text--large skeleton__alt"></div>
5650
+ <div class="skeleton-text skeleton-text--large skeleton-alt"></div>
5651
5651
  </div>
5652
5652
  <div class="card__content">
5653
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-xxx"></span>
5654
- <span class="skeleton__text skeleton__text--inline skeleton__text--small-xxx"></span>
5653
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-xxx"></span>
5654
+ <span class="skeleton-text skeleton-text--inline skeleton-text--small-xxx"></span>
5655
5655
  </div>
5656
5656
  </div>
5657
5657
  </div>
5658
5658
  <div class="card__image">
5659
- <div class="skeleton__block skeleton__block--media card__image-media layout-flex-center-all">
5659
+ <div class="skeleton-block card__image-media layout-flex-center-all">
5660
5660
  <span class="fas fa-image type-large-xx" aria-hidden="true"></span>
5661
5661
  </div>
5662
5662
  </div>
@@ -5789,7 +5789,7 @@
5789
5789
  <li><strong>Group:</strong> skeleton</li>
5790
5790
  <li><strong>Type:</strong> mixin</li>
5791
5791
  <li><strong>Lines (comments):</strong> 75-78</li>
5792
- <li><strong>Lines (code):</strong> 80-117</li>
5792
+ <li><strong>Lines (code):</strong> 80-122</li>
5793
5793
  </ul>
5794
5794
  </details>
5795
5795
  <div class="callout callout--demo crop-margins">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.97",
3
+ "version": "0.1.0-beta.99",
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",
@@ -79,38 +79,43 @@ $config: (
79
79
 
80
80
  @mixin styles {
81
81
  $prefix: selector.class("skeleton");
82
-
83
- #{ $prefix } {
84
- animation: get("animation") ;
82
+ #{ $prefix },
83
+ #{ $prefix }-background,
84
+ #{ $prefix }-block,
85
+ #{ $prefix }-text {
86
+ animation: get("animation");
85
87
  color: color.get(get("color"));
86
88
  }
87
- #{ $prefix }__background-color {
89
+ #{ $prefix }-background {
90
+ animation: get("animation");
88
91
  background-color: color.get(get("background-color")) !important;
89
92
  }
90
- #{ $prefix }__block,
91
- #{ $prefix }__text {
93
+ #{ $prefix }-background--alt {
94
+ background-color: color.get(get("background-color-alt"));
95
+ }
96
+ #{ $prefix }-block,
97
+ #{ $prefix }-text {
98
+ animation: get("animation");
99
+ color: color.get(get("color"));
92
100
  background-color: color.get(get("background-color")) !important;
93
101
  border-radius: get("border-radius");
94
102
  }
95
- #{ $prefix }__alt {
96
- background-color: color.get(get("background-color-alt"));
97
- }
98
- #{ $prefix }__block--media {
103
+ #{ $prefix }-block--media {
99
104
  aspect-ratio: 4/3;
100
105
  }
101
- #{ $prefix }__text {
106
+ #{ $prefix }-text {
102
107
  height: 1em;
103
108
  width: 60%;
104
109
  border-radius: get("text-border-radius");
105
110
  }
106
- #{ $prefix }__text--inline {
111
+ #{ $prefix }-text--inline {
107
112
  display: inline-block;
108
113
  }
109
- #{ $prefix }__text--inline + #{ $prefix }__text--inline {
114
+ #{ $prefix }-text--inline + #{ $prefix }-text--inline {
110
115
  margin-left: get("inline-margin");
111
116
  }
112
117
  @each $name, $value in get("text-sizes") {
113
- #{ $prefix }__text--#{ $name } {
118
+ #{ $prefix }-text--#{ $name } {
114
119
  width: $value;
115
120
  }
116
121
  }