@ulu/frontend 0.6.28 → 0.6.29

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.
@@ -36,6 +36,10 @@ $-fallbacks: (
36
36
  "function" : meta.get-function("get", false, "element"),
37
37
  "property" : "icon-centered-vertical-offset",
38
38
  ),
39
+ "title-line-height" : (
40
+ "function" : meta.get-function("get", false, "typography"),
41
+ "property" : "line-height-dense",
42
+ )
39
43
  );
40
44
 
41
45
  /// Module Settings
@@ -79,6 +83,7 @@ $-fallbacks: (
79
83
  /// @prop {CssValue} title-font-weight [bold] Font weight of the title.
80
84
  /// @prop {CssValue} title-font-family [null] Font family for title
81
85
  /// @prop {Dimension} title-icon-margin [0.5em] The margin of the title icon
86
+ /// @prop {Boolean|CssValue} title-line-height [true] If true will default to typography "line-height-dense", or set your own value
82
87
  /// @prop {String} title-size [large] The font-size of the title. This uses typography.scss, so the value of this options should be a variable from typography.scss.
83
88
  /// @prop {CssValue} title-text-transform [null] Transform option for the title.
84
89
  /// @prop {Map} sizes [Map] Size options to enable unique stylings.
@@ -129,6 +134,7 @@ $config: (
129
134
  "title-font-family" : null,
130
135
  "title-icon-margin" : 0.5em,
131
136
  "title-size" : "large",
137
+ "title-line-height" : true,
132
138
  "title-text-transform" : null,
133
139
  "breakpoint" : true,
134
140
  "frame-aspect-ratio" : list.slash(16, 9),
@@ -239,6 +245,7 @@ $config: (
239
245
  font-weight: get("title-font-weight");
240
246
  font-family: get("title-font-family");
241
247
  text-transform: get("title-text-transform");
248
+ line-height: get("title-line-height");
242
249
  @if (get("title-size")) {
243
250
  @include typography.size(get("title-size"), $only-font-size: true);
244
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.6.28",
3
+ "version": "0.6.29",
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": [