@ulu/frontend 0.6.25 → 0.6.27
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.
|
@@ -362,13 +362,19 @@ $config: (
|
|
|
362
362
|
|
|
363
363
|
#{ $prefix }--footer-inline {
|
|
364
364
|
#{ $prefix }__footer {
|
|
365
|
-
|
|
366
365
|
padding: get("footer-inline-padding");
|
|
367
366
|
flex-direction: column;
|
|
368
|
-
border-top-right-radius: get("border-radius");
|
|
369
367
|
border-bottom-left-radius: 0;
|
|
370
368
|
}
|
|
371
369
|
}
|
|
370
|
+
// Only add the top-right radius to the footer if there is no image.
|
|
371
|
+
// When an image is present, it occupies the top row, meaning the footer
|
|
372
|
+
// sits below it and shouldn't be rounded on the top-right.
|
|
373
|
+
#{ $prefix }--footer-inline:not(:has(> #{ $prefix }__image)) {
|
|
374
|
+
#{ $prefix }__footer {
|
|
375
|
+
border-top-right-radius: get("border-radius");
|
|
376
|
+
}
|
|
377
|
+
}
|
|
372
378
|
#{ $prefix }--footer-inline:not(#{ $prefix }--overlay) {
|
|
373
379
|
// The second column (footer) collapses if unused
|
|
374
380
|
grid-template-columns: 1fr auto;
|
|
@@ -23,6 +23,7 @@ $config: (
|
|
|
23
23
|
"exclude-selector" : ".wysiwyg__exclude",
|
|
24
24
|
"img-excluded-selectors" : (),
|
|
25
25
|
"ul-excluded-selectors" : (".list-lines",),
|
|
26
|
+
"ol-excluded-selectors" : (".counter-list",),
|
|
26
27
|
"link-excluded-selectors" : ("[class]",),
|
|
27
28
|
"headline-sizes" : (
|
|
28
29
|
"h2" : "h2",
|
|
@@ -31,8 +32,8 @@ $config: (
|
|
|
31
32
|
"h5" : "h5",
|
|
32
33
|
"h6" : "h6",
|
|
33
34
|
),
|
|
34
|
-
"
|
|
35
|
-
"
|
|
35
|
+
"ul-marker-color" : "bullet",
|
|
36
|
+
"ol-marker-color" : inherit,
|
|
36
37
|
) !default;
|
|
37
38
|
|
|
38
39
|
/// Change modules $config
|
|
@@ -75,6 +76,7 @@ $config: (
|
|
|
75
76
|
@mixin _styles() {
|
|
76
77
|
$exclude-selector: get("exclude-selector");
|
|
77
78
|
$ul-excludes: list.join(get("ul-excluded-selectors"), ($exclude-selector), $separator: comma);
|
|
79
|
+
$ol-excludes: list.join(get("ol-excluded-selectors"), ($exclude-selector), $separator: comma);
|
|
78
80
|
$img-excludes: list.join(get("img-excluded-selectors"), ($exclude-selector), $separator: comma);
|
|
79
81
|
$link-excludes: list.join(get("link-excluded-selectors"), ($exclude-selector), $separator: comma);
|
|
80
82
|
|
|
@@ -82,11 +84,11 @@ $config: (
|
|
|
82
84
|
@include element.link($visited: true, $active: true);
|
|
83
85
|
}
|
|
84
86
|
ul:not(#{ $ul-excludes }) {
|
|
85
|
-
@include element.styles-unordered-list(get("
|
|
87
|
+
@include element.styles-unordered-list(get("ul-marker-color"));
|
|
86
88
|
margin-bottom: element.get("margin");
|
|
87
89
|
}
|
|
88
|
-
ol:not(#{ $
|
|
89
|
-
@include element.styles-ordered-list(get("
|
|
90
|
+
ol:not(#{ $ol-excludes }) {
|
|
91
|
+
@include element.styles-ordered-list(get("ol-marker-color"));
|
|
90
92
|
margin-bottom: element.get("margin");
|
|
91
93
|
}
|
|
92
94
|
// ul,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulu/frontend",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.27",
|
|
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": [
|