@ulu/frontend 0.1.0-beta.42 → 0.1.0-beta.44
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 +11 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/changelog/index.html +27 -0
- package/docs-dev/demos/card/index.html +2 -2
- package/docs-dev/demos/popovers/index.html +5453 -0
- package/docs-dev/sass/base/elements/index.html +70 -70
- package/docs-dev/sass/base/index/index.html +56 -56
- package/docs-dev/sass/base/layout/index.html +63 -63
- package/docs-dev/sass/components/accordion/index.html +118 -118
- package/docs-dev/sass/components/adaptive-spacing/index.html +124 -124
- package/docs-dev/sass/components/badge/index.html +96 -96
- package/docs-dev/sass/components/basic-hero/index.html +62 -62
- package/docs-dev/sass/components/button/index.html +49 -49
- package/docs-dev/sass/components/button-verbose/index.html +128 -128
- package/docs-dev/sass/components/callout/index.html +163 -163
- package/docs-dev/sass/components/captioned-figure/index.html +114 -114
- package/docs-dev/sass/components/card/index.html +198 -175
- package/docs-dev/sass/components/card-grid/index.html +70 -70
- package/docs-dev/sass/components/counter-list/index.html +119 -119
- package/docs-dev/sass/components/css-icon/index.html +140 -140
- package/docs-dev/sass/components/data-grid/index.html +166 -166
- package/docs-dev/sass/components/data-table/index.html +114 -114
- package/docs-dev/sass/components/flipcard/index.html +162 -162
- package/docs-dev/sass/components/flipcard-grid/index.html +57 -57
- package/docs-dev/sass/components/form-theme/index.html +265 -265
- package/docs-dev/sass/components/hero/index.html +107 -107
- package/docs-dev/sass/components/horizontal-rule/index.html +56 -56
- package/docs-dev/sass/components/image-grid/index.html +63 -63
- package/docs-dev/sass/components/index/index.html +95 -95
- package/docs-dev/sass/components/list-inline/index.html +77 -77
- package/docs-dev/sass/components/list-lines/index.html +98 -98
- package/docs-dev/sass/components/menu-stack/index.html +119 -119
- package/docs-dev/sass/components/modal/index.html +114 -114
- package/docs-dev/sass/components/nav-strip/index.html +114 -114
- package/docs-dev/sass/components/overlay-section/index.html +101 -101
- package/docs-dev/sass/components/pager/index.html +114 -114
- package/docs-dev/sass/components/placeholder-block/index.html +114 -114
- package/docs-dev/sass/components/popover/index.html +114 -114
- package/docs-dev/sass/components/pull-quote/index.html +114 -114
- package/docs-dev/sass/components/ratio-box/index.html +60 -60
- package/docs-dev/sass/components/rule/index.html +63 -63
- package/docs-dev/sass/components/scroll-slider/index.html +114 -114
- package/docs-dev/sass/components/skip-link/index.html +34 -34
- package/docs-dev/sass/components/slider/index.html +114 -114
- package/docs-dev/sass/components/spoke-spinner/index.html +56 -56
- package/docs-dev/sass/components/sticky-list/index.html +145 -145
- package/docs-dev/sass/components/tabs/index.html +114 -114
- package/docs-dev/sass/components/tag/index.html +161 -161
- package/docs-dev/sass/components/tile-button/index.html +101 -101
- package/docs-dev/sass/components/tile-grid/index.html +142 -142
- package/docs-dev/sass/components/tile-grid-overlay/index.html +37 -37
- package/docs-dev/sass/components/vignette/index.html +56 -56
- package/docs-dev/sass/components/wysiwyg/index.html +65 -65
- package/docs-dev/sass/core/breakpoint/index.html +100 -100
- package/docs-dev/sass/core/button/index.html +535 -535
- package/docs-dev/sass/core/color/index.html +157 -157
- package/docs-dev/sass/core/cssvar/index.html +49 -49
- package/docs-dev/sass/core/element/index.html +504 -504
- package/docs-dev/sass/core/layout/index.html +107 -107
- package/docs-dev/sass/core/path/index.html +32 -32
- package/docs-dev/sass/core/selector/index.html +49 -49
- package/docs-dev/sass/core/typography/index.html +265 -265
- package/docs-dev/sass/core/units/index.html +81 -81
- package/docs-dev/sass/core/utils/index.html +70 -70
- package/docs-dev/sass/helpers/index/index.html +53 -53
- package/docs-dev/sass/helpers/units/index.html +47 -47
- package/package.json +5 -2
- package/scss/components/_card.scss +25 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulu/frontend",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.44",
|
|
4
4
|
"description": "Modular Sass Theming Library",
|
|
5
5
|
"browser": "js/index.js",
|
|
6
6
|
"main": "index.js",
|
|
@@ -46,7 +46,10 @@
|
|
|
46
46
|
"modules",
|
|
47
47
|
"javascript",
|
|
48
48
|
"framework",
|
|
49
|
-
"mixin"
|
|
49
|
+
"mixin",
|
|
50
|
+
"components",
|
|
51
|
+
"HTML",
|
|
52
|
+
"frontend framework"
|
|
50
53
|
],
|
|
51
54
|
"authors": {
|
|
52
55
|
"name": "Joe Scherben, Informatics Studio",
|
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
/// @prop {Unit} horizontal-min-height [10rem] Minimum height when horizontal
|
|
67
67
|
/// @prop {Unit} horizontal-max-width [40rem] Maximum width when horizontal
|
|
68
68
|
/// @prop {Unit} horizontal-body-max-width [80rem] The max-width of body when horizontal
|
|
69
|
+
/// @prop {Boolean} aside-rule [false] Whether or not to have a rule separating body and aside
|
|
70
|
+
/// @prop {CssUnit} aside-rule-width [1px] Size of rule
|
|
71
|
+
/// @prop {CssUnit} aside-rule-color ["rule-light"] Color of rule
|
|
72
|
+
/// @prop {CssUnit} aside-rule-background-color [transparent] Color of aside background color
|
|
69
73
|
|
|
70
74
|
$config: (
|
|
71
75
|
"background-color" : white,
|
|
@@ -85,9 +89,9 @@ $config: (
|
|
|
85
89
|
"footer-min-height" : 2.5rem,
|
|
86
90
|
"horizontal-breakpoint" : "small",
|
|
87
91
|
"horizontal-image-width" : min(33%, 20rem),
|
|
88
|
-
"horizontal-body-max-width" :
|
|
89
|
-
"horizontal-min-height" :
|
|
90
|
-
"horizontal-max-width" :
|
|
92
|
+
"horizontal-body-max-width" : 40rem,
|
|
93
|
+
"horizontal-min-height" : 20rem,
|
|
94
|
+
"horizontal-max-width" : 80rem,
|
|
91
95
|
"header-margin" : 0.75em,
|
|
92
96
|
"image-ratio" : 56.25%,
|
|
93
97
|
"image-aspect-ratio": list.slash(5, 3),
|
|
@@ -123,11 +127,10 @@ $config: (
|
|
|
123
127
|
"overlay-shading": true,
|
|
124
128
|
"overlay-body-padding-y": 1rem,
|
|
125
129
|
// new below
|
|
126
|
-
"
|
|
127
|
-
"aside-rule-width" :
|
|
130
|
+
"aside-rule" : false,
|
|
131
|
+
"aside-rule-width" : 1px,
|
|
128
132
|
"aside-background-color" : transparent,
|
|
129
|
-
"aside-rule-color": "rule",
|
|
130
|
-
|
|
133
|
+
"aside-rule-color": "rule-light",
|
|
131
134
|
) !default;
|
|
132
135
|
|
|
133
136
|
/// Change modules $config
|
|
@@ -353,7 +356,7 @@ $config: (
|
|
|
353
356
|
flex-grow: 1;
|
|
354
357
|
min-height: get("body-min-height");
|
|
355
358
|
}
|
|
356
|
-
@if(get("
|
|
359
|
+
@if(get("aside-rule")) {
|
|
357
360
|
#{ $prefix }__aside {
|
|
358
361
|
background-color: color.get(get("aside-background-color"));
|
|
359
362
|
}
|
|
@@ -395,10 +398,12 @@ $config: (
|
|
|
395
398
|
min-height: 0;
|
|
396
399
|
padding-top: get("overlay-body-padding-y");
|
|
397
400
|
padding-bottom: get("overlay-body-padding-y");
|
|
401
|
+
|
|
398
402
|
&:not(:has(~ #{ $prefix }__footer)) {
|
|
399
403
|
border-bottom-left-radius: get("border-radius");
|
|
400
404
|
border-bottom-right-radius: get("border-radius");
|
|
401
405
|
}
|
|
406
|
+
|
|
402
407
|
@if (get("overlay-shading")) {
|
|
403
408
|
margin-top: 4rem;
|
|
404
409
|
&::before {
|
|
@@ -492,6 +497,11 @@ $config: (
|
|
|
492
497
|
grid-template-rows: auto auto;
|
|
493
498
|
min-height: get("horizontal-min-height");
|
|
494
499
|
max-width: get("horizontal-max-width");
|
|
500
|
+
|
|
501
|
+
// When no footer remove extra row
|
|
502
|
+
&:not(:has(> #{ $prefix }__footer)) {
|
|
503
|
+
grid-template-rows: auto;
|
|
504
|
+
}
|
|
495
505
|
#{ $prefix }__image {
|
|
496
506
|
grid-column: 1 / 2;
|
|
497
507
|
grid-row: 1 / -1;
|
|
@@ -504,12 +514,11 @@ $config: (
|
|
|
504
514
|
grid-column: 2 / 3;
|
|
505
515
|
}
|
|
506
516
|
#{ $prefix }__body {
|
|
507
|
-
// display: flex;
|
|
508
517
|
flex-direction: row;
|
|
509
|
-
justify-content: center;
|
|
510
518
|
max-width: get("horizontal-body-max-width");
|
|
511
519
|
}
|
|
512
|
-
|
|
520
|
+
|
|
521
|
+
@if(get("aside-rule")) {
|
|
513
522
|
#{ $prefix }__main {
|
|
514
523
|
flex: 1 1 60%;
|
|
515
524
|
}
|
|
@@ -539,6 +548,11 @@ $config: (
|
|
|
539
548
|
@include -card-horizontal-no-image-styles();
|
|
540
549
|
}
|
|
541
550
|
}
|
|
551
|
+
#{ $prefix }--horizontal-center {
|
|
552
|
+
#{ $prefix }__body {
|
|
553
|
+
align-self: center;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
542
556
|
}
|
|
543
557
|
|
|
544
558
|
@mixin -card-horizontal-no-image-styles() {
|