@ulu/frontend 0.6.18 → 0.6.20

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.
@@ -46,6 +46,7 @@ $config: (
46
46
  /// @prop {Map} [name] The width definition
47
47
  /// @prop {String|Number} [name].value The base width value
48
48
  /// @prop {Boolean} [name].helper-class Output a helper class for this width
49
+ /// @prop {Boolean} [name].match-font-size If enabled will set font size equal to width for font based icon fonts (only output with helper class)
49
50
  /// @prop {Map} [name].breakpoints Responsive breakpoints (optional)
50
51
 
51
52
  $widths: (
@@ -139,7 +139,7 @@ $config: (
139
139
  "footer-min-height": 2.5rem,
140
140
  "footer-justify": flex-end,
141
141
  "footer-inline-padding": 0.5rem,
142
- "footer-background-color": null,
142
+ "footer-background-color": red,
143
143
 
144
144
  // Horizontal
145
145
  "horizontal-enabled" : false,
@@ -257,6 +257,8 @@ $config: (
257
257
  min-height: get("footer-min-height");
258
258
  justify-content: get("footer-justify");
259
259
  background-color: color.get(get("footer-background-color"));
260
+ border-bottom-left-radius: get("border-radius");
261
+ border-bottom-right-radius: get("border-radius");
260
262
  }
261
263
  #{ $prefix }__aside {
262
264
  background-color: color.get(get("aside-background-color"));
@@ -356,6 +358,8 @@ $config: (
356
358
 
357
359
  padding: get("footer-inline-padding");
358
360
  flex-direction: column;
361
+ border-top-right-radius: get("border-radius");
362
+ border-bottom-left-radius: 0;
359
363
  }
360
364
  }
361
365
  #{ $prefix }--footer-inline:not(#{ $prefix }--overlay) {
@@ -580,6 +584,9 @@ $config: (
580
584
  #{ $prefix }__footer {
581
585
  grid-column: 2 / 3;
582
586
  }
587
+ #{ $prefix }__footer {
588
+ border-bottom-left-radius: 0;
589
+ }
583
590
  #{ $prefix }__body {
584
591
  flex-direction: row;
585
592
  justify-content: space-between;
@@ -19,8 +19,12 @@
19
19
  @each $name, $props in layout.$widths {
20
20
  @if map.get($props, "helper-class") {
21
21
  #{ $prefix-width }-#{ $name } {
22
- width: cssvar.use-ulu("width-#{ $name }");
22
+ $var-name: "width-#{ $name }";
23
+ width: cssvar.use-ulu($var-name);
23
24
  max-width: 100%;
25
+ @if (map.get($props, "match-font-size")) {
26
+ font-size: cssvar.use-ulu($var-name);
27
+ }
24
28
  }
25
29
  }
26
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.6.18",
3
+ "version": "0.6.20",
4
4
  "description": "A framework-agnostic frontend toolkit providing a modular, tree-shakable library of accessible components and utilities. Designed for seamless integration, it features a highly configurable SCSS system for any environment and vanilla JavaScript modules optimized for traditional websites and content management systems.",
5
5
  "type": "module",
6
6
  "files": [