@ulu/frontend 0.1.0-beta.37 → 0.1.0-beta.38
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.
- package/CHANGELOG.md +14 -3
- package/dist/ulu-frontend.min.css +1 -1
- package/dist/ulu-frontend.min.js +2 -2
- package/docs-dev/changelog/index.html +137 -30
- package/docs-dev/demos/accordion/index.html +60 -30
- package/docs-dev/demos/breakpoints-manager/index.html +5186 -0
- package/docs-dev/demos/button/index.html +60 -30
- package/docs-dev/demos/button-verbose/index.html +60 -30
- package/docs-dev/demos/callout/index.html +60 -30
- package/docs-dev/demos/captioned-figure/index.html +60 -30
- package/docs-dev/demos/card/index.html +76 -46
- package/docs-dev/demos/card-grid/index.html +60 -30
- package/docs-dev/demos/css-icons/index.html +60 -30
- package/docs-dev/demos/data-grid/index.html +60 -30
- package/docs-dev/demos/data-table/index.html +160 -130
- package/docs-dev/demos/details-group/index.html +60 -30
- package/docs-dev/demos/file-save/index.html +60 -30
- package/docs-dev/demos/flipcard/index.html +60 -30
- package/docs-dev/demos/form-theme/index.html +60 -30
- package/docs-dev/demos/index.html +60 -30
- package/docs-dev/demos/list-inline/index.html +60 -30
- package/docs-dev/demos/list-lines/index.html +60 -30
- package/docs-dev/demos/menu-stack/index.html +60 -30
- package/docs-dev/demos/modals/index.html +111 -30
- package/docs-dev/demos/nav-strip/index.html +60 -30
- package/docs-dev/demos/overlay-section/index.html +60 -30
- package/docs-dev/demos/popovers/index.html +117 -31
- package/docs-dev/demos/print/index.html +60 -30
- package/docs-dev/demos/pull-quote/index.html +60 -30
- package/docs-dev/demos/rule/index.html +60 -30
- package/docs-dev/demos/scrollpoints/index.html +60 -30
- package/docs-dev/demos/spoke-spinner/index.html +60 -30
- package/docs-dev/demos/sticky-list/index.html +60 -30
- package/docs-dev/demos/tabs/index.html +60 -30
- package/docs-dev/demos/tag/index.html +60 -30
- package/docs-dev/demos/theme-toggle/index.html +60 -30
- package/docs-dev/demos/tiles/index.html +60 -30
- package/docs-dev/demos/tooltip/index.html +60 -30
- package/docs-dev/guide/building-stylesheet/index.html +60 -30
- package/docs-dev/guide/developing-ulu-scss-module/index.html +60 -30
- package/docs-dev/guide/index.html +60 -30
- package/docs-dev/index.html +60 -30
- package/docs-dev/javascript/events/index.html +60 -30
- package/docs-dev/javascript/index.html +60 -30
- package/docs-dev/javascript/settings/index.html +132 -36
- package/docs-dev/javascript/ui-breakpoints/index.html +75 -45
- package/docs-dev/javascript/ui-collapsible/index.html +60 -30
- package/docs-dev/javascript/ui-details-group/index.html +60 -30
- package/docs-dev/javascript/ui-dialog/index.html +60 -30
- package/docs-dev/javascript/ui-flipcard/index.html +60 -30
- package/docs-dev/javascript/ui-grid/index.html +60 -30
- package/docs-dev/javascript/ui-modal-builder/index.html +60 -30
- package/docs-dev/javascript/ui-overflow-scroller/index.html +60 -30
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +60 -30
- package/docs-dev/javascript/ui-page/index.html +60 -30
- package/docs-dev/javascript/ui-popover/index.html +60 -30
- package/docs-dev/javascript/ui-print/index.html +60 -30
- package/docs-dev/javascript/ui-print-details/index.html +60 -30
- package/docs-dev/javascript/ui-programmatic-modal/index.html +60 -30
- package/docs-dev/javascript/ui-proxy-click/index.html +60 -30
- package/docs-dev/javascript/ui-resizer/index.html +60 -30
- package/docs-dev/javascript/ui-scroll-slider/index.html +60 -30
- package/docs-dev/javascript/ui-scrollpoint/index.html +60 -30
- package/docs-dev/javascript/ui-slider/index.html +60 -30
- package/docs-dev/javascript/ui-tabs/index.html +60 -30
- package/docs-dev/javascript/ui-theme-toggle/index.html +60 -30
- package/docs-dev/javascript/ui-tooltip/index.html +60 -30
- package/docs-dev/javascript/utils-class-logger/index.html +60 -30
- package/docs-dev/javascript/utils-css/index.html +5164 -0
- package/docs-dev/javascript/utils-dom/index.html +60 -30
- package/docs-dev/javascript/utils-file-save/index.html +60 -30
- package/docs-dev/javascript/utils-floating-ui/index.html +60 -30
- package/docs-dev/javascript/utils-id/index.html +60 -30
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +60 -30
- package/docs-dev/javascript/utils-system/index.html +60 -30
- package/docs-dev/sass/base/color/index.html +60 -30
- package/docs-dev/sass/base/elements/index.html +60 -30
- package/docs-dev/sass/base/index/index.html +60 -30
- package/docs-dev/sass/base/index.html +60 -30
- package/docs-dev/sass/base/keyframes/index.html +60 -30
- package/docs-dev/sass/base/layout/index.html +60 -30
- package/docs-dev/sass/base/normalize/index.html +60 -30
- package/docs-dev/sass/base/print/index.html +60 -30
- package/docs-dev/sass/base/root/index.html +60 -30
- package/docs-dev/sass/base/typography/index.html +60 -30
- package/docs-dev/sass/components/accordion/index.html +60 -30
- package/docs-dev/sass/components/adaptive-spacing/index.html +60 -30
- package/docs-dev/sass/components/badge/index.html +60 -30
- package/docs-dev/sass/components/basic-hero/index.html +60 -30
- package/docs-dev/sass/components/button/index.html +60 -30
- package/docs-dev/sass/components/button-verbose/index.html +82 -38
- package/docs-dev/sass/components/callout/index.html +60 -30
- package/docs-dev/sass/components/captioned-figure/index.html +60 -30
- package/docs-dev/sass/components/card/index.html +61 -31
- package/docs-dev/sass/components/card-grid/index.html +60 -30
- package/docs-dev/sass/components/css-icon/index.html +60 -30
- package/docs-dev/sass/components/data-grid/index.html +80 -43
- package/docs-dev/sass/components/data-table/index.html +60 -30
- package/docs-dev/sass/components/fill-context/index.html +60 -30
- package/docs-dev/sass/components/flipcard/index.html +60 -30
- package/docs-dev/sass/components/flipcard-grid/index.html +60 -30
- package/docs-dev/sass/components/form-theme/index.html +60 -30
- package/docs-dev/sass/components/hero/index.html +60 -30
- package/docs-dev/sass/components/horizontal-rule/index.html +60 -30
- package/docs-dev/sass/components/image-grid/index.html +60 -30
- package/docs-dev/sass/components/index/index.html +60 -30
- package/docs-dev/sass/components/index.html +60 -30
- package/docs-dev/sass/components/links/index.html +60 -30
- package/docs-dev/sass/components/list-inline/index.html +60 -30
- package/docs-dev/sass/components/list-lines/index.html +60 -30
- package/docs-dev/sass/components/list-ordered/index.html +60 -30
- package/docs-dev/sass/components/list-unordered/index.html +60 -30
- package/docs-dev/sass/components/menu-stack/index.html +60 -30
- package/docs-dev/sass/components/modal/index.html +61 -31
- package/docs-dev/sass/components/nav-strip/index.html +60 -30
- package/docs-dev/sass/components/overlay-section/index.html +60 -30
- package/docs-dev/sass/components/pager/index.html +60 -30
- package/docs-dev/sass/components/placeholder-block/index.html +60 -30
- package/docs-dev/sass/components/popover/index.html +60 -30
- package/docs-dev/sass/components/pull-quote/index.html +60 -30
- package/docs-dev/sass/components/ratio-box/index.html +60 -30
- package/docs-dev/sass/components/rule/index.html +60 -30
- package/docs-dev/sass/components/scroll-slider/index.html +60 -30
- package/docs-dev/sass/components/skip-link/index.html +60 -30
- package/docs-dev/sass/components/slider/index.html +60 -30
- package/docs-dev/sass/components/spoke-spinner/index.html +60 -30
- package/docs-dev/sass/components/sticky-list/index.html +60 -30
- package/docs-dev/sass/components/tabs/index.html +60 -30
- package/docs-dev/sass/components/tag/index.html +60 -30
- package/docs-dev/sass/components/tile-button/index.html +60 -30
- package/docs-dev/sass/components/tile-grid/index.html +60 -30
- package/docs-dev/sass/components/tile-grid-overlay/index.html +60 -30
- package/docs-dev/sass/components/vignette/index.html +60 -30
- package/docs-dev/sass/components/wysiwyg/index.html +60 -30
- package/docs-dev/sass/core/breakpoint/index.html +106 -62
- package/docs-dev/sass/core/button/index.html +60 -30
- package/docs-dev/sass/core/color/index.html +60 -30
- package/docs-dev/sass/core/cssvar/index.html +60 -30
- package/docs-dev/sass/core/element/index.html +60 -30
- package/docs-dev/sass/core/index.html +60 -30
- package/docs-dev/sass/core/layout/index.html +60 -30
- package/docs-dev/sass/core/path/index.html +60 -30
- package/docs-dev/sass/core/selector/index.html +60 -30
- package/docs-dev/sass/core/typography/index.html +60 -30
- package/docs-dev/sass/core/units/index.html +60 -30
- package/docs-dev/sass/core/utils/index.html +175 -123
- package/docs-dev/sass/helpers/color/index.html +60 -30
- package/docs-dev/sass/helpers/display/index.html +61 -31
- package/docs-dev/sass/helpers/index/index.html +60 -30
- package/docs-dev/sass/helpers/index.html +60 -30
- package/docs-dev/sass/helpers/print/index.html +60 -0
- package/docs-dev/sass/helpers/typography/index.html +60 -30
- package/docs-dev/sass/helpers/units/index.html +60 -30
- package/docs-dev/sass/helpers/utilities/index.html +62 -32
- package/docs-dev/sass/index.html +60 -30
- package/package.json +1 -1
- package/scss/helpers/_display.scss +15 -18
- package/scss/helpers/_print.scss +12 -7
- package/scss/helpers/_utilities.scss +42 -32
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
@use "../utils";
|
|
7
7
|
@use "../layout";
|
|
8
|
+
@use "../selector";
|
|
8
9
|
|
|
9
10
|
/// Print utilities helper styles
|
|
10
11
|
/// - Includes classes like (.crop-margins, .no-scroll-y, .image-full-width, etc)
|
|
@@ -13,99 +14,108 @@
|
|
|
13
14
|
|
|
14
15
|
@mixin styles {
|
|
15
16
|
|
|
17
|
+
$prefix-no-scroll: selector.class("no-scroll");
|
|
18
|
+
$prefix-image: selector.class("image");
|
|
19
|
+
$prefix-margin: selector.class("margin");
|
|
20
|
+
$prefix-no-margin: selector.class("no-margin");
|
|
21
|
+
$prefix-crop-margins: selector.class("crop-margins");
|
|
22
|
+
$prefix-no-padding: selector.class("no-padding");
|
|
23
|
+
$prefix-align-self: selector.class("align-self");
|
|
24
|
+
|
|
25
|
+
|
|
16
26
|
@include utils.file-header('helpers', 'utilities');
|
|
17
27
|
|
|
18
28
|
// Consider removing
|
|
19
|
-
|
|
29
|
+
#{ $prefix-no-scroll }-y {
|
|
20
30
|
overflow-y: hidden;
|
|
21
31
|
}
|
|
22
|
-
|
|
32
|
+
#{ $prefix-no-scroll }-x {
|
|
23
33
|
overflow-x: hidden;
|
|
24
34
|
}
|
|
25
|
-
.full-height {
|
|
35
|
+
#{ selector.class("full-height") } {
|
|
26
36
|
height: 100%;
|
|
27
37
|
}
|
|
28
|
-
.full-width {
|
|
38
|
+
#{ selector.class("full-width") } {
|
|
29
39
|
width: 100%;
|
|
30
40
|
}
|
|
31
|
-
.flex-basis-full {
|
|
41
|
+
#{ selector.class("flex-basis-full") } {
|
|
32
42
|
flex-basis: 100%;
|
|
33
43
|
}
|
|
34
|
-
.full-min-height {
|
|
44
|
+
#{ selector.class("full-min-height") } {
|
|
35
45
|
min-height: 100%;
|
|
36
46
|
}
|
|
37
|
-
|
|
47
|
+
#{ $prefix-image }-fill {
|
|
38
48
|
width: 100%;
|
|
39
49
|
height: 100%;
|
|
40
50
|
object-fit: cover;
|
|
41
51
|
}
|
|
42
|
-
|
|
43
|
-
|
|
52
|
+
#{ $prefix-image }-full-width img,
|
|
53
|
+
#{ $prefix-image }-full-width {
|
|
44
54
|
width: 100%;
|
|
45
55
|
height: auto;
|
|
46
56
|
}
|
|
47
|
-
|
|
48
|
-
.center {
|
|
57
|
+
#{ $prefix-margin }-auto,
|
|
58
|
+
#{ selector.class("center") } {
|
|
49
59
|
margin-left: auto;
|
|
50
60
|
margin-right: auto;
|
|
51
61
|
}
|
|
52
|
-
|
|
53
|
-
|
|
62
|
+
#{ $prefix-margin }-left-auto {
|
|
63
|
+
margin-left: auto;
|
|
54
64
|
}
|
|
55
|
-
|
|
65
|
+
#{ $prefix-margin }-right-auto {
|
|
56
66
|
margin-right: auto;
|
|
57
67
|
}
|
|
58
|
-
|
|
68
|
+
#{ $prefix-no-margin } {
|
|
59
69
|
margin: 0;
|
|
60
70
|
}
|
|
61
|
-
|
|
71
|
+
#{ $prefix-no-margin }-top {
|
|
62
72
|
margin-top: 0;
|
|
63
73
|
}
|
|
64
|
-
|
|
74
|
+
#{ $prefix-no-margin }-bottom {
|
|
65
75
|
margin-bottom: 0;
|
|
66
76
|
}
|
|
67
|
-
|
|
77
|
+
#{ $prefix-no-margin }-left {
|
|
68
78
|
margin-left: 0;
|
|
69
79
|
}
|
|
70
|
-
|
|
80
|
+
#{ $prefix-no-margin }-right {
|
|
71
81
|
margin-right: 0;
|
|
72
82
|
}
|
|
73
|
-
|
|
74
|
-
&:not(
|
|
83
|
+
#{ $prefix-crop-margins } {
|
|
84
|
+
&:not( #{ $prefix-crop-margins }--last) >:first-child {
|
|
75
85
|
margin-top: 0;
|
|
76
86
|
}
|
|
77
|
-
&:not(
|
|
87
|
+
&:not( #{ $prefix-crop-margins }--first) >:last-child {
|
|
78
88
|
margin-bottom: 0;
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
|
-
|
|
91
|
+
#{ $prefix-no-padding } {
|
|
82
92
|
padding: 0;
|
|
83
93
|
}
|
|
84
|
-
|
|
94
|
+
#{ $prefix-no-padding }-top {
|
|
85
95
|
padding-top: 0;
|
|
86
96
|
}
|
|
87
|
-
|
|
97
|
+
#{ $prefix-no-padding }-bottom {
|
|
88
98
|
padding-bottom: 0;
|
|
89
99
|
}
|
|
90
|
-
|
|
100
|
+
#{ $prefix-no-padding }-left {
|
|
91
101
|
padding-left: 0;
|
|
92
102
|
}
|
|
93
|
-
|
|
103
|
+
#{ $prefix-no-padding }-right {
|
|
94
104
|
padding-right: 0;
|
|
95
105
|
}
|
|
96
|
-
|
|
106
|
+
#{ $prefix-align-self }-start {
|
|
97
107
|
align-self: start;
|
|
98
108
|
}
|
|
99
|
-
|
|
109
|
+
#{ $prefix-align-self }-center {
|
|
100
110
|
align-self: center;
|
|
101
111
|
}
|
|
102
|
-
|
|
112
|
+
#{ $prefix-align-self }-end {
|
|
103
113
|
align-self: end;
|
|
104
114
|
}
|
|
105
|
-
|
|
115
|
+
#{ $prefix-align-self }-baseline {
|
|
106
116
|
align-self: baseline;
|
|
107
117
|
}
|
|
108
|
-
.overflow-hidden {
|
|
118
|
+
#{ selector.class("overflow-hidden") } {
|
|
109
119
|
overflow: hidden;
|
|
110
120
|
}
|
|
111
121
|
// .justify-self-center {
|