@ulu/frontend 0.1.0-beta.28 → 0.1.0-beta.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.
- package/CHANGELOG.md +14 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/docs-dev/assets/main.js +832 -421
- package/docs-dev/assets/placeholder/icon-calendar.svg +1 -0
- package/docs-dev/assets/placeholder/icon-check.svg +1 -0
- package/docs-dev/assets/style.css +629 -233
- package/docs-dev/changelog/index.html +68 -8
- package/docs-dev/demos/accordion/index.html +38 -8
- package/docs-dev/demos/button/index.html +38 -8
- package/docs-dev/demos/button-verbose/index.html +5109 -0
- package/docs-dev/demos/callout/index.html +38 -8
- package/docs-dev/demos/captioned-figure/index.html +38 -8
- package/docs-dev/demos/card/index.html +105 -473
- package/docs-dev/demos/card-grid/index.html +88 -12
- package/docs-dev/demos/card-new/index.html +5088 -0
- package/docs-dev/demos/card-old/index.html +5223 -0
- package/docs-dev/demos/card.1/index.html +5223 -0
- package/docs-dev/demos/card.TRASH/index.html +5541 -0
- package/docs-dev/demos/css-icons/index.html +38 -8
- package/docs-dev/demos/data-grid/index.html +38 -8
- package/docs-dev/demos/data-table/index.html +63 -33
- package/docs-dev/demos/details-group/index.html +38 -8
- package/docs-dev/demos/file-save/index.html +38 -8
- package/docs-dev/demos/flipcard/index.html +38 -8
- package/docs-dev/demos/form-theme/index.html +38 -8
- package/docs-dev/demos/index.html +38 -8
- package/docs-dev/demos/list-inline/index.html +38 -8
- package/docs-dev/demos/list-lines/index.html +38 -8
- package/docs-dev/demos/menu-stack/index.html +38 -8
- package/docs-dev/demos/modals/index.html +38 -8
- package/docs-dev/demos/nav-strip/index.html +38 -8
- package/docs-dev/demos/overlay-section/index.html +38 -8
- package/docs-dev/demos/popovers/index.html +38 -8
- package/docs-dev/demos/print/index.html +38 -8
- package/docs-dev/demos/pull-quote/index.html +38 -8
- package/docs-dev/demos/rule/index.html +38 -8
- package/docs-dev/demos/scrollpoints/index.html +38 -8
- package/docs-dev/demos/spoke-spinner/index.html +38 -8
- package/docs-dev/demos/sticky-list/index.html +38 -8
- package/docs-dev/demos/tabs/index.html +38 -8
- package/docs-dev/demos/tag/index.html +38 -8
- package/docs-dev/demos/theme-toggle/index.html +38 -8
- package/docs-dev/demos/tiles/index.html +38 -8
- package/docs-dev/demos/tooltip/index.html +38 -8
- package/docs-dev/guide/building-stylesheet/index.html +38 -8
- package/docs-dev/guide/developing-ulu-scss-module/index.html +38 -8
- package/docs-dev/guide/index.html +38 -8
- package/docs-dev/index.html +38 -8
- package/docs-dev/javascript/events/index.html +38 -8
- package/docs-dev/javascript/index.html +38 -8
- package/docs-dev/javascript/settings/index.html +38 -8
- package/docs-dev/javascript/ui-breakpoints/index.html +38 -8
- package/docs-dev/javascript/ui-collapsible/index.html +38 -8
- package/docs-dev/javascript/ui-details-group/index.html +38 -8
- package/docs-dev/javascript/ui-dialog/index.html +38 -8
- package/docs-dev/javascript/ui-flipcard/index.html +38 -8
- package/docs-dev/javascript/ui-grid/index.html +38 -8
- package/docs-dev/javascript/ui-modal-builder/index.html +38 -8
- package/docs-dev/javascript/ui-overflow-scroller/index.html +38 -8
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +38 -8
- package/docs-dev/javascript/ui-page/index.html +38 -8
- package/docs-dev/javascript/ui-popover/index.html +38 -8
- package/docs-dev/javascript/ui-print/index.html +38 -8
- package/docs-dev/javascript/ui-print-details/index.html +38 -8
- package/docs-dev/javascript/ui-programmatic-modal/index.html +38 -8
- package/docs-dev/javascript/ui-proxy-click/index.html +38 -8
- package/docs-dev/javascript/ui-resizer/index.html +38 -8
- package/docs-dev/javascript/ui-scroll-slider/index.html +38 -8
- package/docs-dev/javascript/ui-scrollpoint/index.html +38 -8
- package/docs-dev/javascript/ui-slider/index.html +38 -8
- package/docs-dev/javascript/ui-tabs/index.html +38 -8
- package/docs-dev/javascript/ui-theme-toggle/index.html +38 -8
- package/docs-dev/javascript/ui-tooltip/index.html +38 -8
- package/docs-dev/javascript/utils-class-logger/index.html +38 -8
- package/docs-dev/javascript/utils-dom/index.html +38 -8
- package/docs-dev/javascript/utils-file-save/index.html +38 -8
- package/docs-dev/javascript/utils-floating-ui/index.html +38 -8
- package/docs-dev/javascript/utils-id/index.html +38 -8
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +38 -8
- package/docs-dev/sass/base/color/index.html +38 -8
- package/docs-dev/sass/base/elements/index.html +38 -8
- package/docs-dev/sass/base/index/index.html +38 -8
- package/docs-dev/sass/base/index.html +38 -8
- package/docs-dev/sass/base/keyframes/index.html +38 -8
- package/docs-dev/sass/base/layout/index.html +38 -8
- package/docs-dev/sass/base/normalize/index.html +38 -8
- package/docs-dev/sass/base/print/index.html +38 -8
- package/docs-dev/sass/base/root/index.html +38 -8
- package/docs-dev/sass/base/typography/index.html +38 -8
- package/docs-dev/sass/components/accordion/index.html +38 -8
- package/docs-dev/sass/components/adaptive-spacing/index.html +38 -8
- package/docs-dev/sass/components/badge/index.html +38 -8
- package/docs-dev/sass/components/basic-hero/index.html +38 -8
- package/docs-dev/sass/components/button/index.html +38 -8
- package/docs-dev/sass/components/button-verbose/index.html +96 -17
- package/docs-dev/sass/components/callout/index.html +38 -8
- package/docs-dev/sass/components/captioned-figure/index.html +38 -8
- package/docs-dev/sass/components/card/index.html +44 -14
- package/docs-dev/sass/components/card-grid/index.html +38 -8
- package/docs-dev/sass/components/css-icon/index.html +38 -8
- package/docs-dev/sass/components/data-grid/index.html +38 -8
- package/docs-dev/sass/components/data-table/index.html +38 -8
- package/docs-dev/sass/components/fill-context/index.html +38 -8
- package/docs-dev/sass/components/flipcard/index.html +38 -8
- package/docs-dev/sass/components/flipcard-grid/index.html +38 -8
- package/docs-dev/sass/components/form-theme/index.html +124 -93
- package/docs-dev/sass/components/hero/index.html +38 -8
- package/docs-dev/sass/components/horizontal-rule/index.html +38 -8
- package/docs-dev/sass/components/image-grid/index.html +38 -8
- package/docs-dev/sass/components/index/index.html +38 -8
- package/docs-dev/sass/components/index.html +38 -8
- package/docs-dev/sass/components/links/index.html +38 -8
- package/docs-dev/sass/components/list-inline/index.html +38 -8
- package/docs-dev/sass/components/list-lines/index.html +38 -8
- package/docs-dev/sass/components/list-ordered/index.html +38 -8
- package/docs-dev/sass/components/list-unordered/index.html +38 -8
- package/docs-dev/sass/components/menu-stack/index.html +38 -8
- package/docs-dev/sass/components/modal/index.html +38 -8
- package/docs-dev/sass/components/nav-strip/index.html +38 -8
- package/docs-dev/sass/components/overlay-section/index.html +38 -8
- package/docs-dev/sass/components/pager/index.html +38 -8
- package/docs-dev/sass/components/placeholder-block/index.html +38 -8
- package/docs-dev/sass/components/popover/index.html +38 -8
- package/docs-dev/sass/components/pull-quote/index.html +38 -8
- package/docs-dev/sass/components/ratio-box/index.html +38 -8
- package/docs-dev/sass/components/rule/index.html +38 -8
- package/docs-dev/sass/components/scroll-slider/index.html +38 -8
- package/docs-dev/sass/components/skip-link/index.html +38 -8
- package/docs-dev/sass/components/slider/index.html +38 -8
- package/docs-dev/sass/components/spoke-spinner/index.html +38 -8
- package/docs-dev/sass/components/sticky-list/index.html +38 -8
- package/docs-dev/sass/components/tabs/index.html +38 -8
- package/docs-dev/sass/components/tag/index.html +38 -8
- package/docs-dev/sass/components/tile-button/index.html +38 -8
- package/docs-dev/sass/components/tile-grid/index.html +38 -8
- package/docs-dev/sass/components/tile-grid-overlay/index.html +38 -8
- package/docs-dev/sass/components/vignette/index.html +38 -8
- package/docs-dev/sass/components/wysiwyg/index.html +38 -8
- package/docs-dev/sass/core/breakpoint/index.html +38 -8
- package/docs-dev/sass/core/button/index.html +38 -8
- package/docs-dev/sass/core/color/index.html +38 -8
- package/docs-dev/sass/core/cssvar/index.html +38 -8
- package/docs-dev/sass/core/element/index.html +38 -8
- package/docs-dev/sass/core/index.html +38 -8
- package/docs-dev/sass/core/layout/index.html +38 -8
- package/docs-dev/sass/core/path/index.html +38 -8
- package/docs-dev/sass/core/selector/index.html +38 -8
- package/docs-dev/sass/core/typography/index.html +38 -8
- package/docs-dev/sass/core/units/index.html +38 -8
- package/docs-dev/sass/core/utils/index.html +38 -8
- package/docs-dev/sass/helpers/color/index.html +38 -8
- package/docs-dev/sass/helpers/display/index.html +38 -8
- package/docs-dev/sass/helpers/index/index.html +38 -8
- package/docs-dev/sass/helpers/index.html +38 -8
- package/docs-dev/sass/helpers/print/index.html +38 -8
- package/docs-dev/sass/helpers/typography/index.html +38 -8
- package/docs-dev/sass/helpers/units/index.html +38 -8
- package/docs-dev/sass/helpers/utilities/index.html +38 -8
- package/docs-dev/sass/index.html +38 -8
- package/package.json +8 -6
- package/scss/components/_button-verbose.scss +57 -9
- package/scss/components/_card.scss +34 -18
- package/scss/components/_form-theme.scss +52 -40
|
@@ -7,54 +7,62 @@
|
|
|
7
7
|
@use "sass:meta";
|
|
8
8
|
@use "sass:math";
|
|
9
9
|
@use "sass:list";
|
|
10
|
+
|
|
10
11
|
@use "../selector";
|
|
11
12
|
@use "../utils";
|
|
12
13
|
@use "../color";
|
|
13
14
|
@use "../element";
|
|
14
15
|
@use "../typography";
|
|
15
16
|
|
|
17
|
+
// Used for function fallback
|
|
18
|
+
$-fallbacks: (
|
|
19
|
+
"description-line-height" : (
|
|
20
|
+
"function" : meta.get-function("get", false, "typography"),
|
|
21
|
+
"property" : "line-height-dense",
|
|
22
|
+
),
|
|
23
|
+
);
|
|
24
|
+
|
|
16
25
|
/// Module Settings
|
|
17
26
|
/// @type Map
|
|
18
27
|
/// @prop {CssValue} color [inherit] Color of the text of the form.
|
|
19
|
-
/// @prop {CssValue} color-placeholder ["type-tertiary"] Color for the
|
|
20
|
-
/// @prop {} drupal [false]
|
|
21
|
-
/// @prop {} error-color ["danger"]
|
|
22
|
-
/// @prop {} error-highlight-color [rgb(251, 242, 242)]
|
|
23
|
-
/// @prop {} error-selector [".is-danger"]
|
|
24
|
-
/// @prop {} file-button-style [true]
|
|
25
|
-
/// @prop {} font-weight-label [bold]
|
|
26
|
-
/// @prop {} font-weight-legend [bold]
|
|
27
|
-
/// @prop {} font-weight-placeholder [normal]
|
|
28
|
-
/// @prop {} font-weight-input [null]
|
|
29
|
-
/// @prop {} font-weight-textarea [null]
|
|
30
|
-
/// @prop {} font-weight-select [null]
|
|
31
|
-
/// @prop {} input-border [element.get-rule-style()]
|
|
32
|
-
/// @prop {} input-border-radius [0]
|
|
33
|
-
/// @prop {} input-
|
|
34
|
-
/// @prop {} input-padding-
|
|
35
|
-
/// @prop {} input-
|
|
36
|
-
/// @prop {} input-
|
|
37
|
-
/// @prop {}
|
|
38
|
-
/// @prop {} item-
|
|
39
|
-
/// @prop {}
|
|
40
|
-
/// @prop {}
|
|
41
|
-
/// @prop {} text-input-margin-
|
|
42
|
-
/// @prop {}
|
|
43
|
-
/// @prop {} warning-color [
|
|
44
|
-
/// @prop {} warning-
|
|
45
|
-
/// @prop {}
|
|
46
|
-
/// @prop {} check-input-
|
|
47
|
-
/// @prop {} check-input-size [
|
|
48
|
-
/// @prop {} check-input-
|
|
49
|
-
/// @prop {} check-input-background-color [white]
|
|
50
|
-
/// @prop {} check-input-background-color-
|
|
51
|
-
/// @prop {} check-input-background-color-
|
|
52
|
-
/// @prop {} check-input-
|
|
53
|
-
/// @prop {} check-input-border [null]
|
|
54
|
-
/// @prop {} check-input-border-color-
|
|
55
|
-
/// @prop {} check-input-border-color-
|
|
56
|
-
/// @prop {} check-input-border-color-
|
|
57
|
-
/// @prop {} check-input-border-color-focus [null]
|
|
28
|
+
/// @prop {CssValue} color-placeholder ["type-tertiary"] Color for the placeholder text.
|
|
29
|
+
/// @prop {Boolean} drupal [false] Toggle if using drupal to include drupal specific styling.
|
|
30
|
+
/// @prop {Color} error-color ["danger"] Type color for errors.
|
|
31
|
+
/// @prop {Color} error-highlight-color [rgb(251, 242, 242)] Outline color of error container.
|
|
32
|
+
/// @prop {String} error-selector [".is-danger"] Class for error styling.
|
|
33
|
+
/// @prop {} file-button-style [true] @joe-check should this have a fallback
|
|
34
|
+
/// @prop {CssValue} font-weight-label [bold] Font weight of the labels.
|
|
35
|
+
/// @prop {CssValue} font-weight-legend [bold] Font weight of the legend.
|
|
36
|
+
/// @prop {CssValue} font-weight-placeholder [normal] Font weight of placeholder text.
|
|
37
|
+
/// @prop {CssValue} font-weight-input [null] Font weight of input text.
|
|
38
|
+
/// @prop {CssValue} font-weight-textarea [null] Font weight of textarea text.
|
|
39
|
+
/// @prop {CssValue} font-weight-select [null] Font weight of select text.
|
|
40
|
+
/// @prop {CssValue} input-border [element.get-rule-style()] Border of the input.
|
|
41
|
+
/// @prop {Dimension} input-border-radius [0] Border radius of the input.
|
|
42
|
+
/// @prop {Dimension} input-padding-x [0.5em] Horizontal padding of the input.
|
|
43
|
+
/// @prop {Dimension} input-padding-y [0.25em] Vertical padding of the input.
|
|
44
|
+
/// @prop {Dimension} input-min-width [10em] Min width of the input.
|
|
45
|
+
/// @prop {Color} input-background-color [white] Background color of the input.
|
|
46
|
+
/// @prop {Dimension} item-border-radius [null] Border radius for __item.
|
|
47
|
+
/// @prop {Dimension} item-highlight-width [6px] Width of the item box highlight.
|
|
48
|
+
/// @prop {Color} required-color ["danger"] Color for required text.
|
|
49
|
+
/// @prop {Dimension} text-input-margin-bottom [0.5em]
|
|
50
|
+
/// @prop {Dimension} text-input-margin-top [1em]
|
|
51
|
+
/// @prop {Color} warning-color ["warning"]
|
|
52
|
+
/// @prop {Color} warning-highlight-color [rgb(255, 249, 237)]
|
|
53
|
+
/// @prop {String} warning-selector [".is-warning"]
|
|
54
|
+
/// @prop {Color} check-input-color [currentColor]
|
|
55
|
+
/// @prop {Dimension} check-input-size [1.15em]
|
|
56
|
+
/// @prop {Dimension} check-input-touch-size [2em]
|
|
57
|
+
/// @prop {Color} check-input-background-color [white]
|
|
58
|
+
/// @prop {Color} check-input-background-color-checked [white]
|
|
59
|
+
/// @prop {Color} check-input-background-color-hover [white]
|
|
60
|
+
/// @prop {Color} check-input-background-color-indeterminate [white]
|
|
61
|
+
/// @prop {} check-input-border [null] @joe-check check how this is called with a fallback in the styles mixin
|
|
62
|
+
/// @prop {Color} check-input-border-color-hover [null]
|
|
63
|
+
/// @prop {Color} check-input-border-color-checked [null]
|
|
64
|
+
/// @prop {Color} check-input-border-color-indeterminate [null]
|
|
65
|
+
/// @prop {Color} check-input-border-color-focus [null]
|
|
58
66
|
/// @prop {} check-input-outline [null]
|
|
59
67
|
/// @prop {} check-input-outline-hover [null]
|
|
60
68
|
/// @prop {} check-input-outline-checked [null]
|
|
@@ -76,6 +84,7 @@
|
|
|
76
84
|
/// @prop {} description-color [false]
|
|
77
85
|
/// @prop {} description-margin [(0.25em 0)]
|
|
78
86
|
/// @prop {} description-max-width [25em]
|
|
87
|
+
/// @prop {Number} description-line-height [true] Line height for description element, defaults to typograpahy line-height-dense
|
|
79
88
|
/// @prop {} fieldset-background [transparent]
|
|
80
89
|
/// @prop {} fieldset-border [none]
|
|
81
90
|
/// @prop {} fieldset-margin-bottom [1rem]
|
|
@@ -160,6 +169,7 @@ $config: (
|
|
|
160
169
|
"description-color" : false,
|
|
161
170
|
"description-margin" : (0.25em 0),
|
|
162
171
|
"description-max-width" : 25em,
|
|
172
|
+
"description-line-height" : true,
|
|
163
173
|
"fieldset-background" : transparent,
|
|
164
174
|
"fieldset-border" : none,
|
|
165
175
|
"fieldset-margin-bottom" : 1rem,
|
|
@@ -198,7 +208,8 @@ $config: (
|
|
|
198
208
|
/// @include ulu.component-form-theme-get("property");
|
|
199
209
|
|
|
200
210
|
@function get($name) {
|
|
201
|
-
|
|
211
|
+
$value: utils.require-map-get($config, $name, "component-form-theme [config]");
|
|
212
|
+
@return utils.function-fallback($name, $value, $-fallbacks);
|
|
202
213
|
}
|
|
203
214
|
|
|
204
215
|
@function -fallback($op1, $op2) {
|
|
@@ -500,6 +511,7 @@ $config: (
|
|
|
500
511
|
margin: get("description-margin");
|
|
501
512
|
font-style: italic;
|
|
502
513
|
@include typography.size("small", null, true);
|
|
514
|
+
line-height: get("description-line-height");
|
|
503
515
|
max-width: get("description-max-width");
|
|
504
516
|
color: color.get(get("description-color"));
|
|
505
517
|
}
|