@fremtind/jokul 0.27.6 → 0.28.1
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/file-input/File.cjs +2 -0
- package/build/cjs/components/file-input/File.cjs.map +1 -0
- package/build/cjs/components/file-input/File.d.cts +15 -0
- package/build/cjs/components/file-input/FileInput.cjs +2 -0
- package/build/cjs/components/file-input/FileInput.cjs.map +1 -0
- package/build/cjs/components/file-input/FileInput.d.cts +26 -0
- package/build/cjs/components/file-input/index.cjs +2 -0
- package/build/cjs/components/file-input/index.cjs.map +1 -0
- package/build/cjs/components/file-input/index.d.cts +4 -0
- package/build/cjs/components/file-input/internal/Dropzone.cjs +2 -0
- package/build/cjs/components/file-input/internal/Dropzone.cjs.map +1 -0
- package/build/cjs/components/file-input/internal/Dropzone.d.cts +6 -0
- package/build/cjs/components/file-input/internal/Input.cjs +2 -0
- package/build/cjs/components/file-input/internal/Input.cjs.map +1 -0
- package/build/cjs/components/file-input/internal/Input.d.cts +8 -0
- package/build/cjs/components/file-input/internal/Thumbnail.cjs +2 -0
- package/build/cjs/components/file-input/internal/Thumbnail.cjs.map +1 -0
- package/build/cjs/components/file-input/internal/Thumbnail.d.cts +11 -0
- package/build/cjs/components/file-input/internal/fileInputContext.cjs +2 -0
- package/build/cjs/components/file-input/internal/fileInputContext.cjs.map +1 -0
- package/build/cjs/components/file-input/internal/fileInputContext.d.cts +15 -0
- package/build/cjs/components/file-input/internal/validateFile.cjs +2 -0
- package/build/cjs/components/file-input/internal/validateFile.cjs.map +1 -0
- package/build/cjs/components/file-input/internal/validateFile.d.cts +2 -0
- package/build/cjs/components/file-input/types.cjs +2 -0
- package/build/cjs/components/file-input/types.cjs.map +1 -0
- package/build/cjs/components/file-input/types.d.cts +11 -0
- package/build/cjs/components/file-input/utils.cjs +2 -0
- package/build/cjs/components/file-input/utils.cjs.map +1 -0
- package/build/cjs/components/file-input/utils.d.cts +11 -0
- package/build/cjs/components/select/Select.cjs +1 -1
- package/build/cjs/components/select/Select.cjs.map +1 -1
- package/build/cjs/core/tokens.cjs +1 -1
- package/build/cjs/core/tokens.cjs.map +1 -1
- package/build/cjs/core/tokens.d.cts +5 -1
- package/build/es/components/file-input/File.d.ts +15 -0
- package/build/es/components/file-input/File.js +2 -0
- package/build/es/components/file-input/File.js.map +1 -0
- package/build/es/components/file-input/FileInput.d.ts +26 -0
- package/build/es/components/file-input/FileInput.js +2 -0
- package/build/es/components/file-input/FileInput.js.map +1 -0
- package/build/es/components/file-input/index.d.ts +4 -0
- package/build/es/components/file-input/index.js +2 -0
- package/build/es/components/file-input/index.js.map +1 -0
- package/build/es/components/file-input/internal/Dropzone.d.ts +6 -0
- package/build/es/components/file-input/internal/Dropzone.js +2 -0
- package/build/es/components/file-input/internal/Dropzone.js.map +1 -0
- package/build/es/components/file-input/internal/Input.d.ts +8 -0
- package/build/es/components/file-input/internal/Input.js +2 -0
- package/build/es/components/file-input/internal/Input.js.map +1 -0
- package/build/es/components/file-input/internal/Thumbnail.d.ts +11 -0
- package/build/es/components/file-input/internal/Thumbnail.js +2 -0
- package/build/es/components/file-input/internal/Thumbnail.js.map +1 -0
- package/build/es/components/file-input/internal/fileInputContext.d.ts +15 -0
- package/build/es/components/file-input/internal/fileInputContext.js +2 -0
- package/build/es/components/file-input/internal/fileInputContext.js.map +1 -0
- package/build/es/components/file-input/internal/validateFile.d.ts +2 -0
- package/build/es/components/file-input/internal/validateFile.js +2 -0
- package/build/es/components/file-input/internal/validateFile.js.map +1 -0
- package/build/es/components/file-input/types.d.ts +11 -0
- package/build/es/components/file-input/types.js +2 -0
- package/build/es/components/file-input/types.js.map +1 -0
- package/build/es/components/file-input/utils.d.ts +11 -0
- package/build/es/components/file-input/utils.js +2 -0
- package/build/es/components/file-input/utils.js.map +1 -0
- package/build/es/components/select/Select.js +1 -1
- package/build/es/components/select/Select.js.map +1 -1
- package/build/es/core/tokens.d.ts +5 -1
- package/build/es/core/tokens.js +1 -1
- package/build/es/core/tokens.js.map +1 -1
- package/package.json +12 -2
- package/styles/components/accordion/accordion.css +1 -1
- package/styles/components/breadcrumb/breadcrumb.css +1 -1
- package/styles/components/button/button.css +3 -3
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/card/card.css +1 -1
- package/styles/components/checkbox/checkbox.css +5 -5
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/combobox/combobox.css +1 -1
- package/styles/components/cookie-consent/cookie-consent.css +1 -1
- package/styles/components/datepicker/datepicker.css +1 -1
- package/styles/components/description-list/description-list.css +1 -1
- package/styles/components/expander/expander.css +1 -1
- package/styles/components/feedback/feedback.css +3 -3
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file-input/_file.scss +172 -0
- package/styles/components/file-input/_index.scss +1 -0
- package/styles/components/file-input/file-input.css +290 -0
- package/styles/components/file-input/file-input.min.css +1 -0
- package/styles/components/file-input/file-input.scss +119 -0
- package/styles/components/icon/icon.css +1 -1
- package/styles/components/icon-button/icon-button.css +1 -1
- package/styles/components/image/image.css +1 -1
- package/styles/components/input-group/input-group.css +3 -3
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/link/link.css +1 -1
- package/styles/components/link-list/link-list.css +1 -1
- package/styles/components/list/list.css +1 -1
- package/styles/components/loader/loader.css +7 -7
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.css +6 -6
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/logo/logo.css +1 -1
- package/styles/components/menu/menu.css +1 -1
- package/styles/components/message/message.css +3 -3
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/modal/modal.css +1 -1
- package/styles/components/pagination/pagination.css +1 -1
- package/styles/components/popover/popover.css +1 -1
- package/styles/components/progress-bar/progress-bar.css +3 -3
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/radio-button/radio-button.css +3 -3
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-panel/radio-panel.css +3 -3
- package/styles/components/radio-panel/radio-panel.min.css +1 -1
- package/styles/components/select/select.css +55 -145
- package/styles/components/select/select.min.css +1 -1
- package/styles/components/select/select.scss +62 -119
- package/styles/components/summary-table/summary-table.css +1 -1
- package/styles/components/system-message/system-message.css +3 -3
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/table/table.css +1 -1
- package/styles/components/tabs/tabs.css +1 -1
- package/styles/components/tag/tag.css +1 -1
- package/styles/components/text-input/text-input.css +3 -3
- package/styles/components/text-input/text-input.min.css +1 -1
- package/styles/components/text-input/text-input.scss +1 -1
- package/styles/components/toast/toast.css +5 -5
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/toggle-switch/toggle-switch.css +1 -1
- package/styles/components/tooltip/tooltip.css +1 -1
- package/styles/core/_color-tokens.scss +3 -1
- package/styles/core/_legacy-tokens.scss +1 -1
- package/styles/core/_tokens.scss +1 -1
- package/styles/core/core.css +8 -4
- package/styles/core/core.min.css +1 -1
- package/styles/core/jkl/_legacy-tokens.scss +1 -1
- package/styles/core/jkl/_tokens.scss +2 -1
- package/styles/styles.css +91 -181
- package/styles/styles.min.css +1 -1
- package/styles/vind/vind.css +1 -1
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
@use "../../core/jkl";
|
|
2
|
+
@use "../../core/jkl/colors";
|
|
3
|
+
|
|
4
|
+
.jkl-file {
|
|
5
|
+
--text-color: var(--jkl-color-text-default);
|
|
6
|
+
|
|
7
|
+
@include jkl.motion(
|
|
8
|
+
"standard",
|
|
9
|
+
"snappy",
|
|
10
|
+
background-color,
|
|
11
|
+
border-color,
|
|
12
|
+
color
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
color: var(--jkl-color-text-default);
|
|
16
|
+
margin: 0;
|
|
17
|
+
min-width: jkl.rem(240px);
|
|
18
|
+
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-flow: nowrap row;
|
|
21
|
+
|
|
22
|
+
@include jkl.text-style("small");
|
|
23
|
+
@include jkl.reset-outline;
|
|
24
|
+
|
|
25
|
+
@include jkl.comfortable-density {
|
|
26
|
+
--jkl-file-padding: #{jkl.$spacing-24};
|
|
27
|
+
--jkl-file-thumbnail-size: #{jkl.rem(64px)};
|
|
28
|
+
--jkl-file-gap: #{jkl.$spacing-16};
|
|
29
|
+
--jkl-file-font-size: #{jkl.rem(20px)};
|
|
30
|
+
--jkl-file-line-height: #{jkl.rem(32px)};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include jkl.compact-density {
|
|
34
|
+
--jkl-file-padding: #{jkl.$spacing-12};
|
|
35
|
+
--jkl-file-thumbnail-size: #{jkl.rem(44px)};
|
|
36
|
+
--jkl-file-gap: #{jkl.$spacing-8};
|
|
37
|
+
--jkl-file-font-size: #{jkl.rem(16px)};
|
|
38
|
+
--jkl-file-line-height: #{jkl.rem(24px)};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__content {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-basis: 100%;
|
|
44
|
+
gap: 1em;
|
|
45
|
+
background-color: var(--jkl-color-background-container-high);
|
|
46
|
+
padding: var(--jkl-file-padding);
|
|
47
|
+
border-radius: jkl.rem(2px);
|
|
48
|
+
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
|
|
49
|
+
color: var(--text-color);
|
|
50
|
+
|
|
51
|
+
&--error {
|
|
52
|
+
background-color: var(--jkl-color-background-alert-error);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--warning {
|
|
56
|
+
background-color: var(--jkl-color-background-alert-warning);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--error,
|
|
60
|
+
&--warning {
|
|
61
|
+
--text-color: var(--jkl-color-text-on-alert);
|
|
62
|
+
|
|
63
|
+
.jkl-form-support-label {
|
|
64
|
+
--color: var(--jkl-color-text-on-alert);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__content:not(div) {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
text-decoration: none;
|
|
72
|
+
color: var(--jkl-color-text-default);
|
|
73
|
+
|
|
74
|
+
&:hover ~ .jkl-file__description {
|
|
75
|
+
@include jkl.no-grow-bold;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include jkl.keyboard-navigation {
|
|
79
|
+
&:focus {
|
|
80
|
+
outline: jkl.rem(2px) solid var(--jkl-color-border-input-focus);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@include jkl.forced-colors-mode {
|
|
85
|
+
outline: revert;
|
|
86
|
+
border: jkl.rem(2px) solid LinkText;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__delete {
|
|
91
|
+
padding: 0 var(--jkl-spacing-24);
|
|
92
|
+
align-items: stretch;
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: var(--jkl-color-background-interactive-hover);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__thumbnail-wrapper {
|
|
100
|
+
position: relative;
|
|
101
|
+
|
|
102
|
+
& > :nth-child(2) {
|
|
103
|
+
position: absolute;
|
|
104
|
+
inset: 0;
|
|
105
|
+
margin: auto;
|
|
106
|
+
width: 80%;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__thumbnail {
|
|
111
|
+
width: var(--jkl-file-thumbnail-size);
|
|
112
|
+
height: var(--jkl-file-thumbnail-size);
|
|
113
|
+
flex: 0 0 var(--jkl-file-thumbnail-size);
|
|
114
|
+
display: flex;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
align-items: center;
|
|
117
|
+
object-fit: contain;
|
|
118
|
+
opacity: 1;
|
|
119
|
+
border-radius: jkl.rem(4px);
|
|
120
|
+
color: var(--jkl-color-text-subdued);
|
|
121
|
+
|
|
122
|
+
@include jkl.motion;
|
|
123
|
+
transition-property: opacity;
|
|
124
|
+
|
|
125
|
+
&--selected {
|
|
126
|
+
opacity: 0.7;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--uploading {
|
|
130
|
+
opacity: 0.4;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&__thumbnail:not(img) {
|
|
135
|
+
background: var(--jkl-color-background-container-low);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&__file-info {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
flex: 1 1 auto;
|
|
142
|
+
overflow-wrap: break-word;
|
|
143
|
+
gap: var(--jkl-spacing-8);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&__title {
|
|
147
|
+
@include jkl.text-style("heading-5");
|
|
148
|
+
overflow-wrap: anywhere;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&__name,
|
|
152
|
+
&__description {
|
|
153
|
+
font-size: var(--jkl-file-font-size);
|
|
154
|
+
line-height: var(--jkl-file-line-height);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&__name {
|
|
158
|
+
font-weight: #{jkl.$typography-weight-bold};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__description {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-wrap: nowrap;
|
|
164
|
+
gap: jkl.$spacing-12;
|
|
165
|
+
align-items: center;
|
|
166
|
+
justify-content: flex-start;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&__support-label {
|
|
170
|
+
margin: 0;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "file-input";
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 28 Oct 2024 14:22:00 GMT
|
|
4
|
+
*/
|
|
5
|
+
.jkl-file {
|
|
6
|
+
--text-color: var(--jkl-color-text-default);
|
|
7
|
+
transition-timing-function: ease;
|
|
8
|
+
transition-duration: 100ms;
|
|
9
|
+
transition-property: background-color, border-color, color;
|
|
10
|
+
color: var(--jkl-color-text-default);
|
|
11
|
+
margin: 0;
|
|
12
|
+
min-width: 15rem;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-flow: nowrap row;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
line-height: 1.5rem;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
--jkl-icon-weight: 300;
|
|
19
|
+
--jkl-icon-size: 1.25rem;
|
|
20
|
+
--jkl-icon-opsz: 20;
|
|
21
|
+
outline: 0;
|
|
22
|
+
border-style: none;
|
|
23
|
+
outline-style: none;
|
|
24
|
+
}
|
|
25
|
+
.jkl-file:active, .jkl-file:hover, .jkl-file:focus {
|
|
26
|
+
outline: 0;
|
|
27
|
+
outline-style: none;
|
|
28
|
+
}
|
|
29
|
+
@media screen and (forced-colors: active) {
|
|
30
|
+
.jkl-file {
|
|
31
|
+
outline: revert;
|
|
32
|
+
border-style: revert;
|
|
33
|
+
outline-style: revert;
|
|
34
|
+
}
|
|
35
|
+
.jkl-file:active, .jkl-file:hover, .jkl-file:focus {
|
|
36
|
+
outline: revert;
|
|
37
|
+
outline-style: revert;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.jkl .jkl-file, .jkl-file[data-layout-density=comfortable], .jkl-file[data-density=comfortable], [data-layout-density=comfortable] .jkl-file, [data-density=comfortable] .jkl-file {
|
|
41
|
+
--jkl-file-padding: 1.5rem;
|
|
42
|
+
--jkl-file-thumbnail-size: 4rem;
|
|
43
|
+
--jkl-file-gap: 1rem;
|
|
44
|
+
--jkl-file-font-size: 1.25rem;
|
|
45
|
+
--jkl-file-line-height: 2rem;
|
|
46
|
+
}
|
|
47
|
+
.jkl-file[data-layout-density=compact], .jkl-file[data-density=compact], [data-layout-density=compact] .jkl-file, [data-density=compact] .jkl-file {
|
|
48
|
+
--jkl-file-padding: 0.75rem;
|
|
49
|
+
--jkl-file-thumbnail-size: 2.75rem;
|
|
50
|
+
--jkl-file-gap: 0.5rem;
|
|
51
|
+
--jkl-file-font-size: 1rem;
|
|
52
|
+
--jkl-file-line-height: 1.5rem;
|
|
53
|
+
}
|
|
54
|
+
.jkl-file__content {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-basis: 100%;
|
|
57
|
+
gap: 1em;
|
|
58
|
+
background-color: var(--jkl-color-background-container-high);
|
|
59
|
+
padding: var(--jkl-file-padding);
|
|
60
|
+
border-radius: 0.125rem;
|
|
61
|
+
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
|
|
62
|
+
color: var(--text-color);
|
|
63
|
+
}
|
|
64
|
+
.jkl-file__content--error {
|
|
65
|
+
background-color: var(--jkl-color-background-alert-error);
|
|
66
|
+
}
|
|
67
|
+
.jkl-file__content--warning {
|
|
68
|
+
background-color: var(--jkl-color-background-alert-warning);
|
|
69
|
+
}
|
|
70
|
+
.jkl-file__content--error, .jkl-file__content--warning {
|
|
71
|
+
--text-color: var(--jkl-color-text-on-alert);
|
|
72
|
+
}
|
|
73
|
+
.jkl-file__content--error .jkl-form-support-label, .jkl-file__content--warning .jkl-form-support-label {
|
|
74
|
+
--color: var(--jkl-color-text-on-alert);
|
|
75
|
+
}
|
|
76
|
+
.jkl-file__content:not(div) {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
text-decoration: none;
|
|
79
|
+
color: var(--jkl-color-text-default);
|
|
80
|
+
}
|
|
81
|
+
.jkl-file__content:not(div):hover ~ .jkl-file__description {
|
|
82
|
+
--jkl-icon-weight: 500;
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
letter-spacing: -0.014em;
|
|
85
|
+
}
|
|
86
|
+
html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file__content:not(div):focus {
|
|
87
|
+
outline: 0.125rem solid var(--jkl-color-border-input-focus);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media screen and (forced-colors: active) {
|
|
91
|
+
.jkl-file__content:not(div) {
|
|
92
|
+
outline: revert;
|
|
93
|
+
border: 0.125rem solid LinkText;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
.jkl-file__delete {
|
|
97
|
+
padding: 0 var(--jkl-spacing-24);
|
|
98
|
+
align-items: stretch;
|
|
99
|
+
}
|
|
100
|
+
.jkl-file__delete:hover {
|
|
101
|
+
background-color: var(--jkl-color-background-interactive-hover);
|
|
102
|
+
}
|
|
103
|
+
.jkl-file__thumbnail-wrapper {
|
|
104
|
+
position: relative;
|
|
105
|
+
}
|
|
106
|
+
.jkl-file__thumbnail-wrapper > :nth-child(2) {
|
|
107
|
+
position: absolute;
|
|
108
|
+
inset: 0;
|
|
109
|
+
margin: auto;
|
|
110
|
+
width: 80%;
|
|
111
|
+
}
|
|
112
|
+
.jkl-file__thumbnail {
|
|
113
|
+
width: var(--jkl-file-thumbnail-size);
|
|
114
|
+
height: var(--jkl-file-thumbnail-size);
|
|
115
|
+
flex: 0 0 var(--jkl-file-thumbnail-size);
|
|
116
|
+
display: flex;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
align-items: center;
|
|
119
|
+
object-fit: contain;
|
|
120
|
+
opacity: 1;
|
|
121
|
+
border-radius: 0.25rem;
|
|
122
|
+
color: var(--jkl-color-text-subdued);
|
|
123
|
+
transition-timing-function: ease;
|
|
124
|
+
transition-duration: 150ms;
|
|
125
|
+
transition-property: opacity;
|
|
126
|
+
}
|
|
127
|
+
.jkl-file__thumbnail--selected {
|
|
128
|
+
opacity: 0.7;
|
|
129
|
+
}
|
|
130
|
+
.jkl-file__thumbnail--uploading {
|
|
131
|
+
opacity: 0.4;
|
|
132
|
+
}
|
|
133
|
+
.jkl-file__thumbnail:not(img) {
|
|
134
|
+
background: var(--jkl-color-background-container-low);
|
|
135
|
+
}
|
|
136
|
+
.jkl-file__file-info {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
flex: 1 1 auto;
|
|
140
|
+
overflow-wrap: break-word;
|
|
141
|
+
gap: var(--jkl-spacing-8);
|
|
142
|
+
}
|
|
143
|
+
.jkl-file__title {
|
|
144
|
+
font-size: 1rem;
|
|
145
|
+
line-height: 1.5rem;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
--jkl-icon-weight: 500;
|
|
148
|
+
--jkl-icon-size: 1.25rem;
|
|
149
|
+
--jkl-icon-opsz: 20;
|
|
150
|
+
overflow-wrap: anywhere;
|
|
151
|
+
}
|
|
152
|
+
.jkl-file__name, .jkl-file__description {
|
|
153
|
+
font-size: var(--jkl-file-font-size);
|
|
154
|
+
line-height: var(--jkl-file-line-height);
|
|
155
|
+
}
|
|
156
|
+
.jkl-file__name {
|
|
157
|
+
font-weight: 700;
|
|
158
|
+
}
|
|
159
|
+
.jkl-file__description {
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-wrap: nowrap;
|
|
162
|
+
gap: 0.75rem;
|
|
163
|
+
align-items: center;
|
|
164
|
+
justify-content: flex-start;
|
|
165
|
+
}
|
|
166
|
+
.jkl-file__support-label {
|
|
167
|
+
margin: 0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:root,
|
|
171
|
+
[data-layout-density=comfortable],
|
|
172
|
+
[data-density=comfortable] {
|
|
173
|
+
--jkl-file-input-drag-font-size: var(--jkl-heading-2-font-size);
|
|
174
|
+
--jkl-file-input-drag-line-height: var(--jkl-heading-2-line-height);
|
|
175
|
+
--jkl-file-input-drag-font-weight: var(--jkl-heading-2-font-weight);
|
|
176
|
+
--jkl-file-size-hint-font-size: var(--jkl-small-font-size);
|
|
177
|
+
--jkl-file-size-hint-line-height: var(--jkl-small-line-height);
|
|
178
|
+
--jkl-file-size-hint-font-weight: var(--jkl-small-font-weight);
|
|
179
|
+
--jkl-file-input-dropzone-padding: 1.5rem;
|
|
180
|
+
--jkl-file-input-dropzone-gap: 1.5rem;
|
|
181
|
+
--jkl-file-cta-gap: 1.5rem;
|
|
182
|
+
--jkl-file-cta-with-files-gap: 0.75rem;
|
|
183
|
+
--jkl-file-list-gap: 1rem;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
[data-layout-density=compact],
|
|
187
|
+
[data-density=compact] {
|
|
188
|
+
--jkl-file-input-drag-font-size: var(--jkl-body-font-size);
|
|
189
|
+
--jkl-file-input-drag-line-height: var(--jkl-body-line-height);
|
|
190
|
+
--jkl-file-input-drag-font-weight: var(--jkl-body-font-weight);
|
|
191
|
+
--jkl-file-input-dropzone-padding: 1rem;
|
|
192
|
+
--jkl-file-input-dropzone-gap: 1rem;
|
|
193
|
+
--jkl-file-cta-gap: 0.75rem;
|
|
194
|
+
--jkl-file-cta-with-files-gap: 0.25rem;
|
|
195
|
+
--jkl-file-list-gap: 0.5rem;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.jkl-file-input__dropzone {
|
|
199
|
+
--border-color: var(--jkl-color-border-input);
|
|
200
|
+
--background-color: transparent;
|
|
201
|
+
border: var(--border-color) 1px dashed;
|
|
202
|
+
border-radius: 0.25rem;
|
|
203
|
+
padding: var(--jkl-file-input-dropzone-padding);
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: center;
|
|
206
|
+
align-items: center;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
flex-wrap: nowrap;
|
|
209
|
+
gap: var(--jkl-file-input-dropzone-gap);
|
|
210
|
+
transition-timing-function: ease;
|
|
211
|
+
transition-duration: 150ms;
|
|
212
|
+
transition-property: background-color;
|
|
213
|
+
background-color: var(--background-color);
|
|
214
|
+
}
|
|
215
|
+
.jkl-file-input__dropzone--enter {
|
|
216
|
+
--border-color: var(--jkl-color-border-input-focus);
|
|
217
|
+
--background-color: var(--jkl-color-background-container-high);
|
|
218
|
+
border-style: solid;
|
|
219
|
+
}
|
|
220
|
+
.jkl-file-input__dropzone__drag-text {
|
|
221
|
+
font-size: var(--jkl-file-input-drag-font-size);
|
|
222
|
+
line-height: var(--jkl-file-input-drag-line-height);
|
|
223
|
+
font-weight: var(--jkl-file-input-drag-font-weight);
|
|
224
|
+
}
|
|
225
|
+
@media (width >= 0) and (max-width: 679px) {
|
|
226
|
+
.jkl-file-input__dropzone__drag-text {
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
.jkl-file-input__call-to-action {
|
|
231
|
+
gap: var(--jkl-file-cta-gap);
|
|
232
|
+
display: flex;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
align-items: center;
|
|
235
|
+
flex-direction: column;
|
|
236
|
+
flex-wrap: nowrap;
|
|
237
|
+
}
|
|
238
|
+
html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button {
|
|
239
|
+
transform: scale(1.05);
|
|
240
|
+
outline: 2px solid var(--jkl-color-border-action);
|
|
241
|
+
outline-offset: 2px;
|
|
242
|
+
}
|
|
243
|
+
html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button:active {
|
|
244
|
+
transform: scale(1);
|
|
245
|
+
}
|
|
246
|
+
.jkl-file-input--has-files .jkl-file-input__call-to-action {
|
|
247
|
+
gap: var(--jkl-file-cta-with-files-gap);
|
|
248
|
+
}
|
|
249
|
+
.jkl-file-input__max-size-text {
|
|
250
|
+
font-size: var(--jkl-file-size-hint-font-size);
|
|
251
|
+
line-height: var(--jkl-file-size-hint-line-height);
|
|
252
|
+
font-weight: var(--jkl-file-size-hint-font-weight);
|
|
253
|
+
color: var(--jkl-color-text-subdued);
|
|
254
|
+
}
|
|
255
|
+
.jkl-file-input__files {
|
|
256
|
+
list-style: none;
|
|
257
|
+
margin: 0;
|
|
258
|
+
padding: 0;
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
gap: var(--jkl-file-list-gap);
|
|
262
|
+
}
|
|
263
|
+
.jkl-file-input--small .jkl-file-input__dropzone {
|
|
264
|
+
padding: 1rem;
|
|
265
|
+
gap: 1rem;
|
|
266
|
+
margin-bottom: 1rem;
|
|
267
|
+
justify-content: flex-start;
|
|
268
|
+
flex-direction: row;
|
|
269
|
+
max-width: fit-content;
|
|
270
|
+
}
|
|
271
|
+
.jkl-file-input--small .jkl-file-input__call-to-action {
|
|
272
|
+
font-size: var(--jkl-file-size-hint-font-size);
|
|
273
|
+
line-height: var(--jkl-file-size-hint-line-height);
|
|
274
|
+
font-weight: var(--jkl-file-size-hint-font-weight);
|
|
275
|
+
gap: 0.75rem;
|
|
276
|
+
flex-direction: row;
|
|
277
|
+
justify-content: flex-start;
|
|
278
|
+
}
|
|
279
|
+
.jkl-file-input--small .jkl-file-input__max-size-text {
|
|
280
|
+
border: 0 !important;
|
|
281
|
+
clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
|
|
282
|
+
clip-path: inset(50%) !important; /* 2 */
|
|
283
|
+
height: 1px !important;
|
|
284
|
+
margin: -1px !important;
|
|
285
|
+
overflow: hidden !important;
|
|
286
|
+
padding: 0 !important;
|
|
287
|
+
position: absolute !important;
|
|
288
|
+
width: 1px !important;
|
|
289
|
+
white-space: nowrap !important; /* 3 */
|
|
290
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.jkl-file{--text-color:var(--jkl-color-text-default);color:var(--jkl-color-text-default);display:flex;flex-flow:row nowrap;font-size:1rem;font-weight:400;line-height:1.5rem;margin:0;min-width:15rem;transition-duration:.1s;transition-property:background-color,border-color,color;transition-timing-function:ease;--jkl-icon-weight:300;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;border-style:none;outline:0;outline-style:none}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:0;outline-style:none}@media screen and (forced-colors:active){.jkl-file{border-style:revert;outline:revert;outline-style:revert}.jkl-file:active,.jkl-file:focus,.jkl-file:hover{outline:revert;outline-style:revert}}.jkl .jkl-file,.jkl-file[data-density=comfortable],.jkl-file[data-layout-density=comfortable],[data-density=comfortable] .jkl-file,[data-layout-density=comfortable] .jkl-file{--jkl-file-padding:1.5rem;--jkl-file-thumbnail-size:4rem;--jkl-file-gap:1rem;--jkl-file-font-size:1.25rem;--jkl-file-line-height:2rem}.jkl-file[data-density=compact],.jkl-file[data-layout-density=compact],[data-density=compact] .jkl-file,[data-layout-density=compact] .jkl-file{--jkl-file-padding:0.75rem;--jkl-file-thumbnail-size:2.75rem;--jkl-file-gap:0.5rem;--jkl-file-font-size:1rem;--jkl-file-line-height:1.5rem}.jkl-file__content{background-color:var(--jkl-color-background-container-high);border-radius:.125rem;box-shadow:0 0 5px 0 rgba(0,0,0,.05);color:var(--text-color);display:flex;flex-basis:100%;gap:1em;padding:var(--jkl-file-padding)}.jkl-file__content--error{background-color:var(--jkl-color-background-alert-error)}.jkl-file__content--warning{background-color:var(--jkl-color-background-alert-warning)}.jkl-file__content--error,.jkl-file__content--warning{--text-color:var(--jkl-color-text-on-alert)}.jkl-file__content--error .jkl-form-support-label,.jkl-file__content--warning .jkl-form-support-label{--color:var(--jkl-color-text-on-alert)}.jkl-file__content:not(div){color:var(--jkl-color-text-default);cursor:pointer;text-decoration:none}.jkl-file__content:not(div):hover~.jkl-file__description{--jkl-icon-weight:500;font-weight:700;letter-spacing:-.014em}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file__content:not(div):focus{outline:.125rem solid var(--jkl-color-border-input-focus)}@media screen and (forced-colors:active){.jkl-file__content:not(div){border:.125rem solid LinkText;outline:revert}}.jkl-file__delete{align-items:stretch;padding:0 var(--jkl-spacing-24)}.jkl-file__delete:hover{background-color:var(--jkl-color-background-interactive-hover)}.jkl-file__thumbnail-wrapper{position:relative}.jkl-file__thumbnail-wrapper>:nth-child(2){inset:0;margin:auto;position:absolute;width:80%}.jkl-file__thumbnail{align-items:center;border-radius:.25rem;color:var(--jkl-color-text-subdued);display:flex;flex:0 0 var(--jkl-file-thumbnail-size);height:var(--jkl-file-thumbnail-size);justify-content:center;object-fit:contain;opacity:1;transition-duration:.15s;transition-property:opacity;transition-timing-function:ease;width:var(--jkl-file-thumbnail-size)}.jkl-file__thumbnail--selected{opacity:.7}.jkl-file__thumbnail--uploading{opacity:.4}.jkl-file__thumbnail:not(img){background:var(--jkl-color-background-container-low)}.jkl-file__file-info{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--jkl-spacing-8);overflow-wrap:break-word}.jkl-file__title{font-size:1rem;font-weight:700;line-height:1.5rem;--jkl-icon-weight:500;--jkl-icon-size:1.25rem;--jkl-icon-opsz:20;overflow-wrap:anywhere}.jkl-file__description,.jkl-file__name{font-size:var(--jkl-file-font-size);line-height:var(--jkl-file-line-height)}.jkl-file__name{font-weight:700}.jkl-file__description{align-items:center;display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:flex-start}.jkl-file__support-label{margin:0}:root,[data-density=comfortable],[data-layout-density=comfortable]{--jkl-file-input-drag-font-size:var(--jkl-heading-2-font-size);--jkl-file-input-drag-line-height:var(--jkl-heading-2-line-height);--jkl-file-input-drag-font-weight:var(--jkl-heading-2-font-weight);--jkl-file-size-hint-font-size:var(--jkl-small-font-size);--jkl-file-size-hint-line-height:var(--jkl-small-line-height);--jkl-file-size-hint-font-weight:var(--jkl-small-font-weight);--jkl-file-input-dropzone-padding:1.5rem;--jkl-file-input-dropzone-gap:1.5rem;--jkl-file-cta-gap:1.5rem;--jkl-file-cta-with-files-gap:0.75rem;--jkl-file-list-gap:1rem}[data-density=compact],[data-layout-density=compact]{--jkl-file-input-drag-font-size:var(--jkl-body-font-size);--jkl-file-input-drag-line-height:var(--jkl-body-line-height);--jkl-file-input-drag-font-weight:var(--jkl-body-font-weight);--jkl-file-input-dropzone-padding:1rem;--jkl-file-input-dropzone-gap:1rem;--jkl-file-cta-gap:0.75rem;--jkl-file-cta-with-files-gap:0.25rem;--jkl-file-list-gap:0.5rem}.jkl-file-input__dropzone{--border-color:var(--jkl-color-border-input);--background-color:transparent;align-items:center;background-color:var(--background-color);border:1px dashed var(--border-color);border-radius:.25rem;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-input-dropzone-gap);justify-content:center;padding:var(--jkl-file-input-dropzone-padding);transition-duration:.15s;transition-property:background-color;transition-timing-function:ease}.jkl-file-input__dropzone--enter{--border-color:var(--jkl-color-border-input-focus);--background-color:var(--jkl-color-background-container-high);border-style:solid}.jkl-file-input__dropzone__drag-text{font-size:var(--jkl-file-input-drag-font-size);font-weight:var(--jkl-file-input-drag-font-weight);line-height:var(--jkl-file-input-drag-line-height)}@media (width >= 0) and (max-width:679px){.jkl-file-input__dropzone__drag-text{display:none}}.jkl-file-input__call-to-action{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--jkl-file-cta-gap);justify-content:center}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button{outline:2px solid var(--jkl-color-border-action);outline-offset:2px;transform:scale(1.05)}html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-file-input__call-to-action:focus-within .jkl-button:active{transform:scale(1)}.jkl-file-input--has-files .jkl-file-input__call-to-action{gap:var(--jkl-file-cta-with-files-gap)}.jkl-file-input__max-size-text{color:var(--jkl-color-text-subdued);font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input__files{display:flex;flex-direction:column;gap:var(--jkl-file-list-gap);list-style:none;margin:0;padding:0}.jkl-file-input--small .jkl-file-input__dropzone{flex-direction:row;gap:1rem;justify-content:flex-start;margin-bottom:1rem;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:1rem}.jkl-file-input--small .jkl-file-input__call-to-action{flex-direction:row;font-size:var(--jkl-file-size-hint-font-size);font-weight:var(--jkl-file-size-hint-font-weight);gap:.75rem;justify-content:flex-start;line-height:var(--jkl-file-size-hint-line-height)}.jkl-file-input--small .jkl-file-input__max-size-text{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}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@use "../../core/jkl";
|
|
2
|
+
@use "./file";
|
|
3
|
+
|
|
4
|
+
@include jkl.comfortable-density-variables {
|
|
5
|
+
@include jkl.declare-font-variables("jkl-file-input-drag", "heading-2");
|
|
6
|
+
@include jkl.declare-font-variables("jkl-file-size-hint", "small");
|
|
7
|
+
|
|
8
|
+
--jkl-file-input-dropzone-padding: #{jkl.$spacing-24};
|
|
9
|
+
--jkl-file-input-dropzone-gap: #{jkl.$spacing-24};
|
|
10
|
+
--jkl-file-cta-gap: #{jkl.$spacing-24};
|
|
11
|
+
--jkl-file-cta-with-files-gap: #{jkl.$spacing-12};
|
|
12
|
+
--jkl-file-list-gap: #{jkl.$spacing-16};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include jkl.compact-density-variables {
|
|
16
|
+
@include jkl.declare-font-variables("jkl-file-input-drag", "body");
|
|
17
|
+
|
|
18
|
+
--jkl-file-input-dropzone-padding: #{jkl.$spacing-16};
|
|
19
|
+
--jkl-file-input-dropzone-gap: #{jkl.$spacing-16};
|
|
20
|
+
--jkl-file-cta-gap: #{jkl.$spacing-12};
|
|
21
|
+
--jkl-file-cta-with-files-gap: #{jkl.$spacing-4};
|
|
22
|
+
--jkl-file-list-gap: #{jkl.$spacing-8};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.jkl-file-input {
|
|
26
|
+
&__dropzone {
|
|
27
|
+
--border-color: var(--jkl-color-border-input);
|
|
28
|
+
--background-color: transparent;
|
|
29
|
+
|
|
30
|
+
border: var(--border-color) 1px dashed;
|
|
31
|
+
border-radius: jkl.rem(4px);
|
|
32
|
+
padding: var(--jkl-file-input-dropzone-padding);
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
align-items: center;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
flex-wrap: nowrap;
|
|
38
|
+
gap: var(--jkl-file-input-dropzone-gap);
|
|
39
|
+
@include jkl.motion("standard", "productive");
|
|
40
|
+
transition-property: background-color;
|
|
41
|
+
background-color: var(--background-color);
|
|
42
|
+
|
|
43
|
+
&--enter {
|
|
44
|
+
--border-color: var(--jkl-color-border-input-focus);
|
|
45
|
+
--background-color: var(--jkl-color-background-container-high);
|
|
46
|
+
border-style: solid;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__drag-text {
|
|
50
|
+
@include jkl.use-font-variables("jkl-file-input-drag");
|
|
51
|
+
@include jkl.small-device {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__call-to-action {
|
|
58
|
+
gap: var(--jkl-file-cta-gap);
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
flex-wrap: nowrap;
|
|
64
|
+
|
|
65
|
+
html:not([data-mousenavigation]):not([data-touchnavigation])
|
|
66
|
+
&:focus-within {
|
|
67
|
+
.jkl-button {
|
|
68
|
+
transform: scale(1.05);
|
|
69
|
+
|
|
70
|
+
@include jkl.focus-outline;
|
|
71
|
+
|
|
72
|
+
&:active {
|
|
73
|
+
transform: scale(1);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&--has-files &__call-to-action {
|
|
80
|
+
gap: var(--jkl-file-cta-with-files-gap);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__max-size-text {
|
|
84
|
+
@include jkl.use-font-variables("jkl-file-size-hint");
|
|
85
|
+
color: var(--jkl-color-text-subdued);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__files {
|
|
89
|
+
list-style: none;
|
|
90
|
+
margin: 0;
|
|
91
|
+
padding: 0;
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
gap: var(--jkl-file-list-gap);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--small {
|
|
98
|
+
.jkl-file-input__dropzone {
|
|
99
|
+
padding: jkl.$spacing-16;
|
|
100
|
+
gap: jkl.$spacing-16;
|
|
101
|
+
margin-bottom: jkl.$spacing-16;
|
|
102
|
+
justify-content: flex-start;
|
|
103
|
+
flex-direction: row;
|
|
104
|
+
max-width: fit-content;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.jkl-file-input__call-to-action {
|
|
108
|
+
@include jkl.use-font-variables("jkl-file-size-hint");
|
|
109
|
+
|
|
110
|
+
gap: #{jkl.$spacing-12};
|
|
111
|
+
flex-direction: row;
|
|
112
|
+
justify-content: flex-start;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.jkl-file-input__max-size-text {
|
|
116
|
+
@include jkl.screenreader-only;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 28 Oct 2024 14:22:00 GMT
|
|
4
4
|
*/
|
|
5
5
|
.jkl-field-group {
|
|
6
6
|
outline: 0;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
--color: var(--jkl-color-text-default);
|
|
79
79
|
}
|
|
80
80
|
.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-
|
|
81
|
+
animation: 400ms cubic-bezier(0, 0, 0.3, 1) 250ms jkl-support-icon-entrance-urgdh93 forwards;
|
|
82
82
|
}
|
|
83
83
|
.jkl-form-support-label--sr-only {
|
|
84
84
|
border: 0 !important;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
white-space: nowrap !important; /* 3 */
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
@keyframes jkl-support-icon-entrance-
|
|
156
|
+
@keyframes jkl-support-icon-entrance-urgdh93 {
|
|
157
157
|
0% {
|
|
158
158
|
margin-right: 0;
|
|
159
159
|
opacity: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.jkl-field-group{border-style:none;outline:0;outline-style:none}.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;outline:revert;outline-style:revert}.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;outline:0;outline-style:none}.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;outline:revert;outline-style:revert}.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-urgdh93 .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-urgdh93{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}}
|