@fremtind/jokul 1.4.0 → 1.5.0
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/build/build-stats.html +1 -1
- package/build/cjs/components/button/Button.cjs.map +1 -1
- package/build/cjs/components/button/Button.d.cts +12 -0
- package/build/cjs/components/button/types.cjs.map +1 -1
- package/build/cjs/components/button/types.d.cts +1 -1
- package/build/cjs/components/card/CardImage.cjs.map +1 -1
- package/build/cjs/components/card/CardImage.d.cts +2 -1
- package/build/cjs/components/cookie-consent/CookieConsent.cjs +1 -1
- package/build/cjs/components/cookie-consent/CookieConsent.cjs.map +1 -1
- package/build/cjs/components/feedback/questions/SmileyQuestion.cjs +1 -1
- package/build/cjs/components/feedback/questions/SmileyQuestion.cjs.map +1 -1
- package/build/cjs/components/icon-button/IconButton.cjs.map +1 -1
- package/build/cjs/components/icon-button/IconButton.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/build.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/build.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/build.d.cts +0 -0
- package/build/cjs/core/tokens/style-dictionary/config.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/config.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/config.d.cts +4 -0
- package/build/cjs/core/tokens/style-dictionary/filters/index.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/filters/index.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/filters/index.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-dynamic-color-variables.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/css-theme-variables.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/formats/index.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/index.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/index.d.cts +6 -0
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/javascript-esm.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/scss-theme-variables.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/formats/tailwindcss-colors.d.cts +3 -0
- package/build/cjs/core/tokens/style-dictionary/register.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/register.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/register.d.cts +1 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/index.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/index.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/index.d.cts +2 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.cjs +2 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.cjs.map +1 -0
- package/build/cjs/core/tokens/style-dictionary/transforms/strip-light-dark.d.cts +3 -0
- package/build/cjs/core/tokens.cjs +1 -1
- package/build/cjs/core/tokens.cjs.map +1 -1
- package/build/cjs/core/tokens.d.cts +15 -52
- package/build/cjs/tailwind/colors.cjs.map +1 -1
- package/build/cjs/tailwind/colors.d.cts +1 -2
- package/build/es/components/button/Button.d.ts +12 -0
- package/build/es/components/button/Button.js.map +1 -1
- package/build/es/components/button/types.d.ts +1 -1
- package/build/es/components/button/types.js.map +1 -1
- package/build/es/components/card/CardImage.d.ts +2 -1
- package/build/es/components/card/CardImage.js.map +1 -1
- package/build/es/components/cookie-consent/CookieConsent.js +1 -1
- package/build/es/components/cookie-consent/CookieConsent.js.map +1 -1
- package/build/es/components/feedback/questions/SmileyQuestion.js +1 -1
- package/build/es/components/feedback/questions/SmileyQuestion.js.map +1 -1
- package/build/es/components/icon-button/IconButton.d.ts +3 -0
- package/build/es/components/icon-button/IconButton.js.map +1 -1
- package/build/es/core/tokens/style-dictionary/build.d.ts +0 -0
- package/build/es/core/tokens/style-dictionary/build.js +2 -0
- package/build/es/core/tokens/style-dictionary/build.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/config.d.ts +4 -0
- package/build/es/core/tokens/style-dictionary/config.js +2 -0
- package/build/es/core/tokens/style-dictionary/config.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/filters/index.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/filters/index.js +2 -0
- package/build/es/core/tokens/style-dictionary/filters/index.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/css-dynamic-color-variables.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/css-theme-variables.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/index.d.ts +6 -0
- package/build/es/core/tokens/style-dictionary/formats/index.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/index.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/javascript-esm.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/scss-theme-variables.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.js +2 -0
- package/build/es/core/tokens/style-dictionary/formats/tailwindcss-colors.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/register.d.ts +1 -0
- package/build/es/core/tokens/style-dictionary/register.js +2 -0
- package/build/es/core/tokens/style-dictionary/register.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/transforms/index.d.ts +2 -0
- package/build/es/core/tokens/style-dictionary/transforms/index.js +2 -0
- package/build/es/core/tokens/style-dictionary/transforms/index.js.map +1 -0
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.d.ts +3 -0
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.js +2 -0
- package/build/es/core/tokens/style-dictionary/transforms/strip-light-dark.js.map +1 -0
- package/build/es/core/tokens.d.ts +15 -52
- package/build/es/core/tokens.js +1 -1
- package/build/es/core/tokens.js.map +1 -1
- package/build/es/tailwind/colors.d.ts +1 -2
- package/build/es/tailwind/colors.js.map +1 -1
- package/package.json +3 -2
- package/styles/components/autosuggest/autosuggest.css +8 -6
- package/styles/components/breadcrumb/breadcrumb.css +4 -2
- package/styles/components/button/button.css +7 -2
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/button/button.scss +4 -0
- package/styles/components/card/card.css +8 -5
- package/styles/components/card/card.min.css +1 -1
- package/styles/components/card/card.scss +6 -4
- package/styles/components/checkbox/checkbox.css +181 -179
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/checkbox/checkbox.scss +189 -180
- package/styles/components/checkbox-panel/checkbox-panel.css +60 -54
- package/styles/components/checkbox-panel/checkbox-panel.min.css +3 -1
- package/styles/components/checkbox-panel/checkbox-panel.scss +58 -54
- package/styles/components/checkbox-panel/development/styles.css +4 -2
- package/styles/components/chip/chip.css +4 -2
- package/styles/components/combobox/combobox.css +6 -4
- package/styles/components/cookie-consent/cookie-consent.css +4 -2
- package/styles/components/countdown/countdown.css +34 -31
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/countdown/countdown.scss +14 -12
- package/styles/components/datepicker/datepicker.css +8 -6
- package/styles/components/description-list/description-list.css +38 -34
- package/styles/components/description-list/description-list.min.css +1 -1
- package/styles/components/description-list/description-list.scss +18 -16
- package/styles/components/expander/expandable.css +4 -2
- package/styles/components/feedback/feedback.css +6 -4
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file/file.css +4 -2
- package/styles/components/file-input/file-input.css +217 -215
- package/styles/components/file-input/file-input.min.css +1 -1
- package/styles/components/help/help.css +4 -14
- package/styles/components/help/help.min.css +1 -1
- package/styles/components/help/help.scss +1 -16
- package/styles/components/icon/icon.css +128 -130
- package/styles/components/icon/icon.min.css +1 -1
- package/styles/components/icon/icon.scss +96 -92
- package/styles/components/icon-button/icon-button.css +51 -47
- package/styles/components/icon-button/icon-button.min.css +1 -1
- package/styles/components/icon-button/icon-button.scss +26 -24
- package/styles/components/image/image.css +31 -27
- package/styles/components/image/image.min.css +1 -1
- package/styles/components/image/image.scss +27 -25
- package/styles/components/input-group/input-group.css +6 -4
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/link/link.css +4 -2
- package/styles/components/link-list/link-list.css +4 -2
- package/styles/components/list/list.css +66 -62
- package/styles/components/list/list.min.css +1 -1
- package/styles/components/list/list.scss +69 -67
- package/styles/components/loader/loader.css +98 -95
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/loader.scss +91 -88
- package/styles/components/loader/skeleton-loader.css +119 -121
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.scss +128 -126
- package/styles/components/logo/logo.css +83 -83
- package/styles/components/logo/logo.min.css +1 -1
- package/styles/components/logo/logo.scss +71 -67
- package/styles/components/menu/_menu-divider.scss +7 -5
- package/styles/components/menu/_menu-item.scss +55 -53
- package/styles/components/menu/menu.css +121 -119
- package/styles/components/menu/menu.min.css +1 -1
- package/styles/components/menu/menu.scss +28 -24
- package/styles/components/message/message.css +6 -4
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/modal/modal.css +104 -108
- package/styles/components/modal/modal.min.css +1 -1
- package/styles/components/modal/modal.scss +82 -79
- package/styles/components/nav-link/nav-link.css +66 -62
- package/styles/components/nav-link/nav-link.min.css +1 -1
- package/styles/components/nav-link/nav-link.scss +48 -46
- package/styles/components/pagination/development/styles.css +4 -2
- package/styles/components/pagination/pagination.css +4 -2
- package/styles/components/popover/popover.css +23 -21
- package/styles/components/popover/popover.min.css +1 -1
- package/styles/components/popover/popover.scss +14 -12
- package/styles/components/progress-bar/progress-bar.css +35 -32
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.scss +16 -14
- package/styles/components/radio-button/radio-button.css +6 -4
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-panel/development/styles.css +4 -2
- package/styles/components/radio-panel/radio-panel.css +60 -56
- package/styles/components/radio-panel/radio-panel.min.css +1 -1
- package/styles/components/radio-panel/radio-panel.scss +55 -54
- package/styles/components/segmented-control/segmented-control.css +133 -136
- package/styles/components/segmented-control/segmented-control.min.css +1 -1
- package/styles/components/segmented-control/segmented-control.scss +1 -1
- package/styles/components/select/select.css +4 -2
- package/styles/components/summary-table/development/summary-table-example.css +4 -2
- package/styles/components/summary-table/summary-table.css +56 -54
- package/styles/components/summary-table/summary-table.min.css +1 -1
- package/styles/components/summary-table/summary-table.scss +44 -42
- package/styles/components/system-message/system-message.css +6 -4
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/table/table.css +4 -2
- package/styles/components/tabs/tabs.css +125 -128
- package/styles/components/tabs/tabs.min.css +1 -1
- package/styles/components/tabs/tabs.scss +90 -93
- package/styles/components/tag/tag.css +4 -2
- package/styles/components/text-area/text-area.css +4 -2
- package/styles/components/text-input/text-input.css +4 -2
- package/styles/components/toast/toast.css +8 -6
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/toggle-switch/toggle-switch.css +14 -12
- package/styles/components/tooltip/tooltip.css +4 -2
- package/styles/core/_layers.scss +3 -0
- package/styles/core/core.css +1568 -1434
- package/styles/core/core.min.css +2 -1
- package/styles/core/core.scss +5 -76
- package/styles/core/global/_base-class.scss +27 -0
- package/styles/core/global/_index.scss +2 -0
- package/styles/core/global/_top-layer.scss +20 -0
- package/styles/core/jkl/_index.scss +1 -1
- package/styles/core/jkl/_legacy-tokens.scss +152 -5
- package/styles/core/jkl/_tokens.scss +36 -152
- package/styles/core/jkl/_typography.scss +1 -0
- package/styles/core/resets/_index.scss +2 -0
- package/styles/core/resets/_normalize.scss +251 -0
- package/styles/core/resets/_reset.scss +68 -0
- package/styles/core/theme/_color-tokens.scss +73 -0
- package/styles/core/theme/_dynamic-spacing.scss +55 -0
- package/styles/core/theme/_index.scss +8 -0
- package/styles/core/theme/_legacy-color-tokens.scss +81 -0
- package/styles/core/theme/_legacy-tokens.scss +150 -0
- package/styles/core/theme/_old-vars.scss +30 -0
- package/styles/core/theme/_spacing-tokens.scss +30 -0
- package/styles/core/theme/_tokens.scss +30 -0
- package/styles/core/theme/_typography.scss +27 -0
- package/styles/core/utility/_headings.scss +31 -0
- package/styles/core/utility/_index.scss +4 -0
- package/styles/core/utility/_paragraphs.scss +18 -0
- package/styles/core/utility/_screen-reader.scss +11 -0
- package/styles/core/utility/_spacing.scss +49 -0
- package/styles/shared/input/shared-input-styles.css +4 -2
- package/styles/shared/input-panel/shared.css +4 -2
- package/styles/shared/track/track.css +4 -2
- package/styles/styles.css +1448 -1471
- package/styles/styles.min.css +3 -1
- package/styles/core/_color-tokens.scss +0 -78
- package/styles/core/_headings.scss +0 -29
- package/styles/core/_index.scss +0 -9
- package/styles/core/_legacy-tokens.scss +0 -38
- package/styles/core/_normalize.scss +0 -250
- package/styles/core/_paragraphs.scss +0 -16
- package/styles/core/_reset.scss +0 -66
- package/styles/core/_screen-reader.scss +0 -9
- package/styles/core/_spacing.scss +0 -86
- package/styles/core/_tokens.scss +0 -129
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
@use "../../core/jkl";
|
|
3
3
|
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
@layer jokul.components {
|
|
5
|
+
.jkl-icon-button {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
color: inherit;
|
|
9
|
+
position: relative;
|
|
10
|
+
transition-property: box-shadow;
|
|
11
|
+
padding: 0;
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
@include jkl.motion(focus, snappy);
|
|
14
|
+
@include jkl.reset-outline;
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
.jkl-icon {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
&--animated {
|
|
21
|
+
display: revert;
|
|
22
|
+
}
|
|
21
23
|
}
|
|
22
|
-
}
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
&:focus-visible {
|
|
26
|
+
@include jkl.focus-outline;
|
|
27
|
+
}
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
&:hover {
|
|
30
|
+
color: var(--jkl-color-text-interactive-hover);
|
|
31
|
+
}
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
@include jkl.forced-colors-mode {
|
|
34
|
+
border: none;
|
|
35
|
+
background: none;
|
|
36
|
+
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 18 Dec 2024 12:25:37 GMT
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
3
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Do not edit directly, this file was auto-generated.
|
|
6
|
+
*/
|
|
7
|
+
@layer jokul.components {
|
|
8
|
+
.jkl-image {
|
|
9
|
+
display: block;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
.jkl-image__placeholder {
|
|
14
|
+
filter: blur(20px);
|
|
15
|
+
}
|
|
16
|
+
.jkl-image__image {
|
|
17
|
+
transition-timing-function: ease;
|
|
18
|
+
transition-duration: 400ms;
|
|
19
|
+
transition-property: opacity;
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
.jkl-image__image, .jkl-image__placeholder {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 50%;
|
|
27
|
+
left: 50%;
|
|
28
|
+
transform: translate3d(-50%, -50%, 0);
|
|
29
|
+
object-fit: cover;
|
|
30
|
+
}
|
|
31
|
+
.jkl-image--loading .jkl-image__image {
|
|
32
|
+
opacity: 0;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.jkl-image{display:block;overflow:hidden;position:relative}.jkl-image__placeholder{filter:blur(20px)}.jkl-image__image{opacity:1;transition-duration:.4s;transition-property:opacity;transition-timing-function:ease}.jkl-image__image,.jkl-image__placeholder{height:100%;left:50%;object-fit:cover;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:100%}.jkl-image--loading .jkl-image__image{opacity:0}
|
|
1
|
+
@layer jokul.components{.jkl-image{display:block;overflow:hidden;position:relative}.jkl-image__placeholder{filter:blur(20px)}.jkl-image__image{opacity:1;transition-duration:.4s;transition-property:opacity;transition-timing-function:ease}.jkl-image__image,.jkl-image__placeholder{height:100%;left:50%;object-fit:cover;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:100%}.jkl-image--loading .jkl-image__image{opacity:0}}
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
@use "../../core/jkl";
|
|
3
3
|
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
@layer jokul.components {
|
|
5
|
+
.jkl-image {
|
|
6
|
+
display: block;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
position: relative;
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
&__placeholder {
|
|
11
|
+
filter: blur(20px);
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
&__image {
|
|
15
|
+
@include jkl.motion("standard", "lazy");
|
|
16
|
+
transition-property: opacity;
|
|
17
|
+
opacity: 1;
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
&__image,
|
|
21
|
+
&__placeholder {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 50%;
|
|
26
|
+
left: 50%;
|
|
27
|
+
transform: translate3d(-50%, -50%, 0);
|
|
28
|
+
object-fit: cover;
|
|
29
|
+
}
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
&--loading {
|
|
32
|
+
.jkl-image__image {
|
|
33
|
+
opacity: 0;
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
6
|
*/
|
|
5
7
|
.jkl-field-group {
|
|
6
8
|
outline: 0;
|
|
@@ -78,7 +80,7 @@
|
|
|
78
80
|
--color: var(--jkl-color-text-default);
|
|
79
81
|
}
|
|
80
82
|
.jkl-form-support-label--error .jkl-form-support-label__icon, .jkl-form-support-label--warning .jkl-form-support-label__icon, .jkl-form-support-label--success .jkl-form-support-label__icon {
|
|
81
|
-
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-
|
|
83
|
+
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-uh81j2w forwards;
|
|
82
84
|
}
|
|
83
85
|
.jkl-form-support-label--sr-only {
|
|
84
86
|
border: 0 !important;
|
|
@@ -153,7 +155,7 @@
|
|
|
153
155
|
white-space: nowrap !important; /* 3 */
|
|
154
156
|
}
|
|
155
157
|
|
|
156
|
-
@keyframes jkl-support-icon-entrance-
|
|
158
|
+
@keyframes jkl-support-icon-entrance-uh81j2w {
|
|
157
159
|
0% {
|
|
158
160
|
margin-right: 0;
|
|
159
161
|
opacity: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.jkl-field-group{border-style:none}.jkl-field-group,.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-field-group{border-style:revert}.jkl-field-group,.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:revert;outline-style:revert}}.jkl-dormant-form-support-label{display:none;opacity:0;pointer-events:none}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-form-support-label-font-size:var(--jkl-small-font-size);--jkl-form-support-label-line-height:var(--jkl-small-line-height);--jkl-form-support-label-font-weight:var(--jkl-small-font-weight);--jkl-form-support-label-margin:0.5rem 0 0;--jkl-form-support-label-icon-size:1.25rem;--jkl-form-support-label-icon-margin:0 -1.25rem -0.375rem 0}[data-density=compact],[data-layout-density=compact]{--jkl-form-support-label-icon-size:1.375rem;--jkl-form-support-label-icon-margin:0 -1.375rem -0.3125rem 0}.jkl-form-support-label{--color:var(--jkl-color-text-subdued);color:var(--color);display:flex;font-size:var(--jkl-form-support-label-font-size);font-weight:var(--jkl-form-support-label-font-weight);line-height:var(--jkl-form-support-label-line-height);margin:var(--jkl-form-support-label-margin);transition-delay:.15s;transition-duration:.4s;transition-property:color;transition-timing-function:ease}.jkl-form-support-label__icon,.jkl-form-support-label__icon.jkl-icon{height:var(--jkl-form-support-label-icon-size);margin:var(--jkl-form-support-label-icon-margin);opacity:0}@media screen and (forced-colors:active){.jkl-form-support-label__icon,.jkl-form-support-label__icon path,.jkl-form-support-label__icon svg,.jkl-form-support-label__icon.jkl-icon,.jkl-form-support-label__icon.jkl-icon path,.jkl-form-support-label__icon.jkl-icon svg{stroke:CanvasText;fill:Canvas}}.jkl-form-support-label--error,.jkl-form-support-label--success,.jkl-form-support-label--warning{--color:var(--jkl-color-text-default)}.jkl-form-support-label--error .jkl-form-support-label__icon,.jkl-form-support-label--success .jkl-form-support-label__icon,.jkl-form-support-label--warning .jkl-form-support-label__icon{animation:jkl-support-icon-entrance-
|
|
1
|
+
.jkl-field-group{border-style:none}.jkl-field-group,.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-field-group{border-style:revert}.jkl-field-group,.jkl-field-group:active,.jkl-field-group:focus,.jkl-field-group:hover{outline:revert;outline-style:revert}}.jkl-dormant-form-support-label{display:none;opacity:0;pointer-events:none}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-form-support-label-font-size:var(--jkl-small-font-size);--jkl-form-support-label-line-height:var(--jkl-small-line-height);--jkl-form-support-label-font-weight:var(--jkl-small-font-weight);--jkl-form-support-label-margin:0.5rem 0 0;--jkl-form-support-label-icon-size:1.25rem;--jkl-form-support-label-icon-margin:0 -1.25rem -0.375rem 0}[data-density=compact],[data-layout-density=compact]{--jkl-form-support-label-icon-size:1.375rem;--jkl-form-support-label-icon-margin:0 -1.375rem -0.3125rem 0}.jkl-form-support-label{--color:var(--jkl-color-text-subdued);color:var(--color);display:flex;font-size:var(--jkl-form-support-label-font-size);font-weight:var(--jkl-form-support-label-font-weight);line-height:var(--jkl-form-support-label-line-height);margin:var(--jkl-form-support-label-margin);transition-delay:.15s;transition-duration:.4s;transition-property:color;transition-timing-function:ease}.jkl-form-support-label__icon,.jkl-form-support-label__icon.jkl-icon{height:var(--jkl-form-support-label-icon-size);margin:var(--jkl-form-support-label-icon-margin);opacity:0}@media screen and (forced-colors:active){.jkl-form-support-label__icon,.jkl-form-support-label__icon path,.jkl-form-support-label__icon svg,.jkl-form-support-label__icon.jkl-icon,.jkl-form-support-label__icon.jkl-icon path,.jkl-form-support-label__icon.jkl-icon svg{stroke:CanvasText;fill:Canvas}}.jkl-form-support-label--error,.jkl-form-support-label--success,.jkl-form-support-label--warning{--color:var(--jkl-color-text-default)}.jkl-form-support-label--error .jkl-form-support-label__icon,.jkl-form-support-label--success .jkl-form-support-label__icon,.jkl-form-support-label--warning .jkl-form-support-label__icon{animation:jkl-support-icon-entrance-uh81j2w .4s cubic-bezier(0,0,.3,1) .25s forwards}.jkl-form-support-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 1rem -0.0625rem;--jkl-label-small-font-size:var(--jkl-small-font-size);--jkl-label-small-line-height:var(--jkl-small-line-height);--jkl-label-small-font-weight:var(--jkl-small-font-weight);--jkl-label-medium-font-size:var(--jkl-body-font-size);--jkl-label-medium-line-height:var(--jkl-body-line-height);--jkl-label-medium-font-weight:var(--jkl-body-font-weight);--jkl-label-large-font-size:var(--jkl-heading-2-font-size);--jkl-label-large-line-height:var(--jkl-heading-2-line-height);--jkl-label-large-font-weight:var(--jkl-heading-2-font-weight)}[data-density=compact],[data-layout-density=compact]{--jkl-label-small-margin:0 0 0.25rem 0;--jkl-label-medium-margin:0 0 0.5rem 0;--jkl-label-large-margin:0 0 0.75rem -0.0625rem}.jkl-label{color:var(--jkl-color-text-default);display:block;margin-left:0}.jkl-label--small{font-size:var(--jkl-label-small-font-size);font-weight:var(--jkl-label-small-font-weight);line-height:var(--jkl-label-small-line-height);margin:var(--jkl-label-small-margin)}.jkl-label--medium{font-size:var(--jkl-label-medium-font-size);font-weight:var(--jkl-label-medium-font-weight);line-height:var(--jkl-label-medium-line-height);margin:var(--jkl-label-medium-margin)}.jkl-label--large{font-size:var(--jkl-label-large-font-size);font-weight:var(--jkl-label-large-font-weight);line-height:var(--jkl-label-large-line-height);margin:var(--jkl-label-large-margin)}.jkl-label--sr-only{border:0!important;clip:rect(1px,1px,1px,1px)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}@keyframes jkl-support-icon-entrance-uh81j2w{0%{margin-right:0;opacity:0;transform:scale(1)}30%{margin-right:.5rem}50%{opacity:1}70%{transform:scale(1.1)}85%{transform:scale(.9)}to{margin-right:.5rem;opacity:1;transform:scale(1)}}@media screen and (forced-colors:active){.jkl-text-input-action-button,.jkl-text-input-action-button path,.jkl-text-input-action-button svg{stroke:ButtonText;fill:ButtonFace}}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
* Do not edit directly
|
|
4
|
-
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Do not edit directly, this file was auto-generated.
|
|
5
7
|
*/
|
|
6
8
|
.jkl-link {
|
|
7
9
|
--link-color: var(--jkl-color-text-default);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
* Do not edit directly
|
|
4
|
-
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Do not edit directly, this file was auto-generated.
|
|
5
7
|
*/
|
|
6
8
|
/*
|
|
7
9
|
* NOTE: These icon also exists as a copy in the jkl-icons-react package.
|
|
@@ -34,66 +36,68 @@
|
|
|
34
36
|
--jkl-list-text-color: #f9f9f9;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
.
|
|
38
|
-
list
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
list-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
@media screen and (forced-colors: active) {
|
|
93
|
-
.jkl-list .jkl-list__item--check::before {
|
|
94
|
-
background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='CanvasText'/%3E%3Cpath d='M4.75 11l2.35 2.36 7.84-7.84' stroke='Canvas' stroke-width='1.5'/%3E%3C/svg%3E%0A");
|
|
39
|
+
@layer jokul.components {
|
|
40
|
+
.jkl-list {
|
|
41
|
+
list-style-type: "•";
|
|
42
|
+
padding-left: calc(var(--jkl-unit-10) * 2);
|
|
43
|
+
margin: 0;
|
|
44
|
+
}
|
|
45
|
+
.jkl-list > .jkl-list__item > .jkl-list {
|
|
46
|
+
margin: 0.5rem 0;
|
|
47
|
+
}
|
|
48
|
+
.jkl-list:has(.jkl-list__item--iconed) {
|
|
49
|
+
padding: 0;
|
|
50
|
+
}
|
|
51
|
+
.jkl-list--ordered {
|
|
52
|
+
padding-left: revert;
|
|
53
|
+
}
|
|
54
|
+
.jkl-list--ordered > .jkl-list__item {
|
|
55
|
+
padding-left: revert;
|
|
56
|
+
list-style: decimal;
|
|
57
|
+
}
|
|
58
|
+
.jkl-list--ordered .jkl-list--ordered > .jkl-list__item {
|
|
59
|
+
list-style: lower-alpha;
|
|
60
|
+
}
|
|
61
|
+
.jkl-list__item {
|
|
62
|
+
color: var(--jkl-list-text-color);
|
|
63
|
+
padding-left: calc(var(--jkl-unit-10) * 1.5);
|
|
64
|
+
}
|
|
65
|
+
.jkl-list__item::marker {
|
|
66
|
+
color: var(--jkl-list-text-color);
|
|
67
|
+
}
|
|
68
|
+
.jkl-list__item--iconed {
|
|
69
|
+
display: flex;
|
|
70
|
+
list-style: none;
|
|
71
|
+
position: relative;
|
|
72
|
+
padding-left: 0;
|
|
73
|
+
}
|
|
74
|
+
.jkl-list__item--iconed::before {
|
|
75
|
+
text-indent: -9999px;
|
|
76
|
+
background-size: contain;
|
|
77
|
+
width: 1em;
|
|
78
|
+
height: 1em;
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
margin-right: 0.5em;
|
|
81
|
+
margin-top: 0.2em;
|
|
82
|
+
}
|
|
83
|
+
.jkl-list__item--check::before {
|
|
84
|
+
content: "✓";
|
|
85
|
+
content: "✓"/"";
|
|
86
|
+
alt: " ";
|
|
87
|
+
background-image: var(--jkl-list-marker-check);
|
|
88
|
+
}
|
|
89
|
+
.jkl-list__item--cross::before {
|
|
90
|
+
content: "❌";
|
|
91
|
+
content: "❌"/"";
|
|
92
|
+
alt: " ";
|
|
93
|
+
background-image: var(--jkl-list-marker-cross);
|
|
95
94
|
}
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
@media screen and (forced-colors: active) {
|
|
96
|
+
.jkl-list .jkl-list__item--check::before {
|
|
97
|
+
background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='CanvasText'/%3E%3Cpath d='M4.75 11l2.35 2.36 7.84-7.84' stroke='Canvas' stroke-width='1.5'/%3E%3C/svg%3E%0A");
|
|
98
|
+
}
|
|
99
|
+
.jkl-list .jkl-list__item--cross::before {
|
|
100
|
+
background-image: url("data:image/svg+xml,%3Csvg width='19' height='19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='CanvasText'/%3E%3Cpath fill='Canvas' d='M5.54 12.68l7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='Canvas' d='M12.67 13.47l-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E%0A");
|
|
101
|
+
}
|
|
98
102
|
}
|
|
99
103
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@media screen and (prefers-color-scheme:light){:root{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23f6b3b3'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23acd3b5'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#1b1917}}[data-theme=light]{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23f6b3b3'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23acd3b5'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#1b1917}@media screen and (prefers-color-scheme:dark){:root{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23de9e9e'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%2394b79b'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#f9f9f9}}[data-theme=dark]{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23de9e9e'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%2394b79b'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#f9f9f9}.jkl-list{list-style-type:"•";margin:0;padding-left:calc(var(--jkl-unit-10)*2)}.jkl-list>.jkl-list__item>.jkl-list{margin:.5rem 0}.jkl-list:has(.jkl-list__item--iconed){padding:0}.jkl-list--ordered{padding-left:revert}.jkl-list--ordered>.jkl-list__item{list-style:decimal;padding-left:revert}.jkl-list--ordered .jkl-list--ordered>.jkl-list__item{list-style:lower-alpha}.jkl-list__item{color:var(--jkl-list-text-color);padding-left:calc(var(--jkl-unit-10)*1.5)}.jkl-list__item::marker{color:var(--jkl-list-text-color)}.jkl-list__item--iconed{display:flex;list-style:none;padding-left:0;position:relative}.jkl-list__item--iconed:before{background-size:contain;flex-shrink:0;height:1em;margin-right:.5em;margin-top:.2em;text-indent:-9999px;width:1em}.jkl-list__item--check:before{content:"✓";content:"✓"/"";alt:" ";background-image:var(--jkl-list-marker-check)}.jkl-list__item--cross:before{content:"❌";content:"❌"/"";alt:" ";background-image:var(--jkl-list-marker-cross)}@media screen and (forced-colors:active){.jkl-list .jkl-list__item--check:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='canvastext'/%3E%3Cpath stroke='canvas' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E")}.jkl-list .jkl-list__item--cross:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='canvastext'/%3E%3Cpath fill='canvas' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='canvas' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E")}}
|
|
1
|
+
@charset "UTF-8";@media screen and (prefers-color-scheme:light){:root{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23f6b3b3'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23acd3b5'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#1b1917}}[data-theme=light]{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23f6b3b3'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23acd3b5'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#1b1917}@media screen and (prefers-color-scheme:dark){:root{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23de9e9e'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%2394b79b'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#f9f9f9}}[data-theme=dark]{--jkl-list-marker-cross:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='%23de9e9e'/%3E%3Cpath fill='%231b1917' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='%231b1917' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E");--jkl-list-marker-check:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%2394b79b'/%3E%3Cpath stroke='%231b1917' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E");--jkl-list-text-color:#f9f9f9}@layer jokul.components{.jkl-list{list-style-type:"•";margin:0;padding-left:calc(var(--jkl-unit-10)*2)}.jkl-list>.jkl-list__item>.jkl-list{margin:.5rem 0}.jkl-list:has(.jkl-list__item--iconed){padding:0}.jkl-list--ordered{padding-left:revert}.jkl-list--ordered>.jkl-list__item{list-style:decimal;padding-left:revert}.jkl-list--ordered .jkl-list--ordered>.jkl-list__item{list-style:lower-alpha}.jkl-list__item{color:var(--jkl-list-text-color);padding-left:calc(var(--jkl-unit-10)*1.5)}.jkl-list__item::marker{color:var(--jkl-list-text-color)}.jkl-list__item--iconed{display:flex;list-style:none;padding-left:0;position:relative}.jkl-list__item--iconed:before{background-size:contain;flex-shrink:0;height:1em;margin-right:.5em;margin-top:.2em;text-indent:-9999px;width:1em}.jkl-list__item--check:before{content:"✓";content:"✓"/"";alt:" ";background-image:var(--jkl-list-marker-check)}.jkl-list__item--cross:before{content:"❌";content:"❌"/"";alt:" ";background-image:var(--jkl-list-marker-cross)}@media screen and (forced-colors:active){.jkl-list .jkl-list__item--check:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='canvastext'/%3E%3Cpath stroke='canvas' stroke-width='1.5' d='m4.75 11 2.35 2.36 7.84-7.84'/%3E%3C/svg%3E")}.jkl-list .jkl-list__item--cross:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Ccircle cx='9.5' cy='9.5' r='8.75' fill='canvastext'/%3E%3Cpath fill='canvas' d='m5.54 12.68 7.14-7.1.84.85-7.13 7.09z'/%3E%3Cpath fill='canvas' d='m12.67 13.47-7.13-7.1.85-.83 7.13 7.1z'/%3E%3C/svg%3E")}}}
|
|
@@ -22,100 +22,102 @@
|
|
|
22
22
|
|
|
23
23
|
@include jkl.light-mode-variables {
|
|
24
24
|
--jkl-list-marker-cross: #{_cross(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
jkl.$color-functional-error,
|
|
26
|
+
jkl.$color-granitt
|
|
27
|
+
)};
|
|
28
28
|
--jkl-list-marker-check: #{_check(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
jkl.$color-functional-success,
|
|
30
|
+
jkl.$color-granitt
|
|
31
|
+
)};
|
|
32
32
|
--jkl-list-text-color: #{jkl.$color-granitt};
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@include jkl.dark-mode-variables {
|
|
36
36
|
--jkl-list-marker-cross: #{_cross(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
jkl.$color-functional-error-dark,
|
|
38
|
+
jkl.$color-granitt
|
|
39
|
+
)};
|
|
40
40
|
--jkl-list-marker-check: #{_check(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
jkl.$color-functional-success-dark,
|
|
42
|
+
jkl.$color-granitt
|
|
43
|
+
)};
|
|
44
44
|
--jkl-list-text-color: #{jkl.$color-snohvit};
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
48
|
-
list
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
& > .jkl-list__item {
|
|
53
|
-
& > .jkl-list {
|
|
54
|
-
margin: jkl.$unit-10 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:has(.jkl-list__item--iconed) {
|
|
59
|
-
padding: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&--ordered {
|
|
63
|
-
padding-left: revert;
|
|
47
|
+
@layer jokul.components {
|
|
48
|
+
.jkl-list {
|
|
49
|
+
list-style-type: "\2022";
|
|
50
|
+
padding-left: jkl.$unit-20;
|
|
51
|
+
margin: 0;
|
|
64
52
|
|
|
65
53
|
& > .jkl-list__item {
|
|
66
|
-
|
|
67
|
-
|
|
54
|
+
& > .jkl-list {
|
|
55
|
+
margin: jkl.$unit-10 0;
|
|
56
|
+
}
|
|
68
57
|
}
|
|
69
58
|
|
|
70
|
-
|
|
71
|
-
|
|
59
|
+
&:has(.jkl-list__item--iconed) {
|
|
60
|
+
padding: 0;
|
|
72
61
|
}
|
|
73
|
-
}
|
|
74
62
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
padding-left: jkl.$unit-15;
|
|
63
|
+
&--ordered {
|
|
64
|
+
padding-left: revert;
|
|
78
65
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
66
|
+
& > .jkl-list__item {
|
|
67
|
+
padding-left: revert;
|
|
68
|
+
list-style: decimal;
|
|
69
|
+
}
|
|
82
70
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
list-style: none;
|
|
86
|
-
position: relative;
|
|
87
|
-
padding-left: 0;
|
|
88
|
-
|
|
89
|
-
&::before {
|
|
90
|
-
text-indent: -9999px;
|
|
91
|
-
background-size: contain;
|
|
92
|
-
width: 1em;
|
|
93
|
-
height: 1em;
|
|
94
|
-
flex-shrink: 0;
|
|
95
|
-
margin-right: 0.5em;
|
|
96
|
-
margin-top: 0.2em; // Vertical offset (using em for font-size scaling) to align icon properly with the first line.
|
|
71
|
+
& & > .jkl-list__item {
|
|
72
|
+
list-style: lower-alpha;
|
|
97
73
|
}
|
|
98
74
|
}
|
|
99
75
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
76
|
+
&__item {
|
|
77
|
+
color: var(--jkl-list-text-color);
|
|
78
|
+
padding-left: jkl.$unit-15;
|
|
104
79
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
80
|
+
&::marker {
|
|
81
|
+
color: var(--jkl-list-text-color);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&--iconed {
|
|
85
|
+
display: flex;
|
|
86
|
+
list-style: none;
|
|
87
|
+
position: relative;
|
|
88
|
+
padding-left: 0;
|
|
89
|
+
|
|
90
|
+
&::before {
|
|
91
|
+
text-indent: -9999px;
|
|
92
|
+
background-size: contain;
|
|
93
|
+
width: 1em;
|
|
94
|
+
height: 1em;
|
|
95
|
+
flex-shrink: 0;
|
|
96
|
+
margin-right: 0.5em;
|
|
97
|
+
margin-top: 0.2em; // Vertical offset (using em for font-size scaling) to align icon properly with the first line.
|
|
98
|
+
}
|
|
99
|
+
}
|
|
110
100
|
|
|
111
|
-
@include jkl.forced-colors-mode {
|
|
112
|
-
& .jkl-list__item {
|
|
113
101
|
&--check::before {
|
|
114
|
-
|
|
102
|
+
@include jkl.decorative($content: "\2713");
|
|
103
|
+
background-image: var(--jkl-list-marker-check);
|
|
115
104
|
}
|
|
116
105
|
|
|
117
106
|
&--cross::before {
|
|
118
|
-
|
|
107
|
+
@include jkl.decorative($content: "\274C");
|
|
108
|
+
background-image: var(--jkl-list-marker-cross);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@include jkl.forced-colors-mode {
|
|
113
|
+
& .jkl-list__item {
|
|
114
|
+
&--check::before {
|
|
115
|
+
background-image: _check(CanvasText, Canvas);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&--cross::before {
|
|
119
|
+
background-image: _cross(CanvasText, Canvas);
|
|
120
|
+
}
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
}
|