@fremtind/jokul 5.2.2 → 6.0.0-next.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/README.md +1 -1
- package/build/build-stats.html +1 -1
- package/build/cjs/components/datepicker/DatePicker.cjs +1 -1
- package/build/cjs/components/datepicker/internal/Calendar.cjs +1 -1
- package/build/cjs/components/datepicker/internal/useCalendar.cjs +1 -1
- package/build/cjs/components/datepicker/internal/utils.cjs +1 -1
- package/build/cjs/components/file/File.cjs +1 -1
- package/build/cjs/components/file/File.cjs.map +1 -1
- package/build/cjs/components/file/types.d.cts +10 -1
- package/build/cjs/components/input-group/FieldGroup.cjs +1 -1
- package/build/cjs/components/input-group/FieldGroup.cjs.map +1 -1
- package/build/cjs/components/input-group/types.d.cts +6 -0
- package/build/cjs/components/tabs/Tabs.cjs.map +1 -1
- package/build/cjs/hooks/index.cjs +1 -1
- package/build/cjs/hooks/index.d.cts +0 -1
- package/build/cjs/utilities/formatters/index.cjs +1 -1
- package/build/cjs/utilities/formatters/index.d.cts +1 -1
- package/build/cjs/utilities/formatters/util/registerWithMask.cjs +1 -1
- package/build/cjs/utilities/formatters/util/registerWithMask.cjs.map +1 -1
- package/build/cjs/utilities/formatters/util/registerWithMask.d.cts +0 -8
- package/build/cjs/utilities/index.cjs +1 -1
- package/build/cjs/utilities/validators/index.cjs +1 -1
- package/build/cjs/utilities/validators/index.d.cts +0 -1
- package/build/es/components/datepicker/DatePicker.js +1 -1
- package/build/es/components/datepicker/internal/Calendar.js +1 -1
- package/build/es/components/datepicker/internal/useCalendar.js +1 -1
- package/build/es/components/datepicker/internal/utils.js +1 -1
- package/build/es/components/file/File.js +1 -1
- package/build/es/components/file/File.js.map +1 -1
- package/build/es/components/file/types.d.ts +10 -1
- package/build/es/components/input-group/FieldGroup.js +1 -1
- package/build/es/components/input-group/FieldGroup.js.map +1 -1
- package/build/es/components/input-group/types.d.ts +6 -0
- package/build/es/components/tabs/Tabs.js.map +1 -1
- package/build/es/hooks/index.d.ts +0 -1
- package/build/es/hooks/index.js +1 -1
- package/build/es/utilities/formatters/index.d.ts +1 -1
- package/build/es/utilities/formatters/index.js +1 -1
- package/build/es/utilities/formatters/util/registerWithMask.d.ts +0 -8
- package/build/es/utilities/formatters/util/registerWithMask.js +1 -1
- package/build/es/utilities/formatters/util/registerWithMask.js.map +1 -1
- package/build/es/utilities/index.js +1 -1
- package/build/es/utilities/validators/index.d.ts +0 -1
- package/build/es/utilities/validators/index.js +1 -1
- package/build/utils-C5AH4j8B.js +2 -0
- package/build/{utils-DxmZDrR9.cjs.map → utils-C5AH4j8B.js.map} +1 -1
- package/build/utils-CD_aHC6R.cjs +2 -0
- package/build/utils-CD_aHC6R.cjs.map +1 -0
- package/codemods/CODEMODS.md +16 -0
- package/codemods/__tests__/import-paths.test.mjs +43 -0
- package/codemods/import-paths.mjs +8 -2
- package/codemods/transforms/register-with-mask.mjs +267 -0
- package/package.json +22 -22
- package/src/fonts/Jokul-Icons.woff2 +0 -0
- package/src/fonts/brands/fremtind/Jokul-Icons.woff2 +0 -0
- package/styles/base.css +4 -4
- package/styles/base.min.css +1 -1
- package/styles/components/autosuggest/autosuggest.min.css +1 -1
- package/styles/components/beta/nav-link/navlink.min.css +1 -1
- package/styles/components/beta/select/select.min.css +1 -1
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/card/card.min.css +1 -1
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
- package/styles/components/combobox/combobox.min.css +1 -1
- package/styles/components/cookie-consent/cookie-consent.min.css +1 -1
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/datepicker/datepicker.min.css +1 -1
- package/styles/components/description-list/description-list.min.css +1 -1
- package/styles/components/expander/accordion.min.css +1 -1
- package/styles/components/expander/expandable.min.css +1 -1
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file/file.css +50 -61
- package/styles/components/file/file.min.css +1 -1
- package/styles/components/file/file.scss +66 -79
- package/styles/components/file-input/file-input.css +59 -70
- package/styles/components/file-input/file-input.min.css +1 -1
- package/styles/components/icon-button/icon-button.min.css +1 -1
- package/styles/components/input-group/input-group.css +2 -2
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/input-panel/input-panel.min.css +1 -1
- package/styles/components/link-list/link-list.min.css +1 -1
- package/styles/components/list/list.min.css +1 -1
- package/styles/components/loader/loader.css +6 -6
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.css +3 -3
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/menu/menu.min.css +1 -1
- package/styles/components/message/message.css +2 -2
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/modal/modal.min.css +1 -1
- package/styles/components/nav-link/nav-link.min.css +1 -1
- package/styles/components/number-input/number-input.min.css +1 -1
- package/styles/components/popover/popover.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.css +1 -1
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-panel/radio-panel.min.css +1 -1
- package/styles/components/search/search-with-submit-button.css +5 -0
- package/styles/components/search/search-with-submit-button.min.css +1 -1
- package/styles/components/search/search-with-submit-button.scss +6 -0
- package/styles/components/search/search.css +8 -0
- package/styles/components/search/search.min.css +1 -1
- package/styles/components/search/search.scss +9 -0
- package/styles/components/segmented-control/segmented-control.css +2 -2
- package/styles/components/segmented-control/segmented-control.min.css +1 -1
- package/styles/components/select/select.min.css +1 -1
- package/styles/components/system-message/system-message.css +2 -2
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/table/table.min.css +1 -1
- package/styles/components/tabs/tabs.min.css +1 -1
- package/styles/components/text-area/text-area.min.css +1 -1
- package/styles/components/text-input/text-input.min.css +1 -1
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/components/toggle-switch/toggle-switch.min.css +1 -1
- package/styles/components/tooltip/tooltip.min.css +1 -1
- package/styles/components.css +87 -85
- package/styles/components.min.css +1 -1
- package/styles/jkl/_shadows.scss +0 -12
- package/styles/tailwind.css +12 -0
- package/styles/theme/_fonts.scss +1 -1
- package/build/cjs/hooks/useAnimatedDetails/index.cjs +0 -2
- package/build/cjs/hooks/useAnimatedDetails/index.cjs.map +0 -1
- package/build/cjs/hooks/useAnimatedDetails/index.d.cts +0 -1
- package/build/cjs/hooks/useAnimatedDetails/useAnimatedDetails.cjs +0 -2
- package/build/cjs/hooks/useAnimatedDetails/useAnimatedDetails.cjs.map +0 -1
- package/build/cjs/hooks/useAnimatedDetails/useAnimatedDetails.d.cts +0 -21
- package/build/cjs/utilities/validators/isValidDogId/isValidDogId.cjs +0 -2
- package/build/cjs/utilities/validators/isValidDogId/isValidDogId.cjs.map +0 -1
- package/build/cjs/utilities/validators/isValidDogId/isValidDogId.d.cts +0 -7
- package/build/es/hooks/useAnimatedDetails/index.d.ts +0 -1
- package/build/es/hooks/useAnimatedDetails/index.js +0 -2
- package/build/es/hooks/useAnimatedDetails/index.js.map +0 -1
- package/build/es/hooks/useAnimatedDetails/useAnimatedDetails.d.ts +0 -21
- package/build/es/hooks/useAnimatedDetails/useAnimatedDetails.js +0 -2
- package/build/es/hooks/useAnimatedDetails/useAnimatedDetails.js.map +0 -1
- package/build/es/utilities/validators/isValidDogId/isValidDogId.d.ts +0 -7
- package/build/es/utilities/validators/isValidDogId/isValidDogId.js +0 -2
- package/build/es/utilities/validators/isValidDogId/isValidDogId.js.map +0 -1
- package/build/utils-CtwpNW4I.js +0 -2
- package/build/utils-CtwpNW4I.js.map +0 -1
- package/build/utils-DxmZDrR9.cjs +0 -2
- package/src/fonts/Fremtind-Material-Symbols.woff2 +0 -0
- package/src/fonts/brands/fremtind/Fremtind-Material-Symbols.woff2 +0 -0
package/styles/components.css
CHANGED
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
display: inline-flex;
|
|
426
426
|
}
|
|
427
427
|
.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 {
|
|
428
|
-
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-
|
|
428
|
+
animation: var(--jkl-motion-timing-lazy) cubic-bezier(0, 0, 0.3, 1) var(--jkl-motion-timing-expressive) jkl-support-icon-entrance-ustvnfd forwards;
|
|
429
429
|
}
|
|
430
430
|
.jkl-form-support-label--sr-only {
|
|
431
431
|
border: 0 !important;
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
.jkl-label:has(+ .jkl-input-group-description) {
|
|
480
480
|
margin-block-end: var(--jkl-spacing-4);
|
|
481
481
|
}
|
|
482
|
-
@keyframes jkl-support-icon-entrance-
|
|
482
|
+
@keyframes jkl-support-icon-entrance-ustvnfd {
|
|
483
483
|
0% {
|
|
484
484
|
margin-right: 0;
|
|
485
485
|
opacity: 0;
|
|
@@ -839,22 +839,22 @@
|
|
|
839
839
|
animation: 2500ms linear infinite;
|
|
840
840
|
}
|
|
841
841
|
.jkl-loader__dot--left {
|
|
842
|
-
animation-name: jkl-loader-left-spin-
|
|
842
|
+
animation-name: jkl-loader-left-spin-ustvng5;
|
|
843
843
|
margin-right: calc(var(--jkl-loader-spacing) * 0.9);
|
|
844
844
|
}
|
|
845
845
|
.jkl-loader__dot--middle {
|
|
846
|
-
animation-name: jkl-loader-middle-spin-
|
|
846
|
+
animation-name: jkl-loader-middle-spin-ustvngg;
|
|
847
847
|
margin-right: var(--jkl-loader-spacing);
|
|
848
848
|
}
|
|
849
849
|
.jkl-loader__dot--right {
|
|
850
|
-
animation-name: jkl-loader-right-spin-
|
|
850
|
+
animation-name: jkl-loader-right-spin-ustvnh8;
|
|
851
851
|
}
|
|
852
852
|
@media screen and (forced-colors: active) {
|
|
853
853
|
.jkl-loader__dot {
|
|
854
854
|
background-color: CanvasText;
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
@keyframes jkl-loader-left-spin-
|
|
857
|
+
@keyframes jkl-loader-left-spin-ustvng5 {
|
|
858
858
|
0% {
|
|
859
859
|
transform: rotate(0) scale(0);
|
|
860
860
|
}
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
transform: rotate(180deg) scale(0);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
@keyframes jkl-loader-middle-spin-
|
|
871
|
+
@keyframes jkl-loader-middle-spin-ustvngg {
|
|
872
872
|
0% {
|
|
873
873
|
transform: rotate(20deg) scale(0);
|
|
874
874
|
}
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
transform: rotate(200deg) scale(0);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
@keyframes jkl-loader-right-spin-
|
|
888
|
+
@keyframes jkl-loader-right-spin-ustvnh8 {
|
|
889
889
|
0% {
|
|
890
890
|
transform: rotate(40deg) scale(0);
|
|
891
891
|
}
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
@media screen and (forced-colors: active) {
|
|
926
926
|
.jkl-skeleton-element {
|
|
927
927
|
border: 1px solid CanvasText;
|
|
928
|
-
animation: 2s ease infinite jkl-blink-
|
|
928
|
+
animation: 2s ease infinite jkl-blink-ustvnho;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
931
|
.jkl-skeleton-input {
|
|
@@ -973,10 +973,10 @@
|
|
|
973
973
|
}
|
|
974
974
|
@media screen and (forced-colors: active) {
|
|
975
975
|
.jkl-skeleton-table {
|
|
976
|
-
animation: 2s ease-in-out infinite jkl-blink-
|
|
976
|
+
animation: 2s ease-in-out infinite jkl-blink-ustvnho;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
@keyframes jkl-blink-
|
|
979
|
+
@keyframes jkl-blink-ustvnho {
|
|
980
980
|
0% {
|
|
981
981
|
opacity: 1;
|
|
982
982
|
}
|
|
@@ -2140,10 +2140,10 @@
|
|
|
2140
2140
|
}
|
|
2141
2141
|
}
|
|
2142
2142
|
.jkl-countdown__tracker {
|
|
2143
|
-
animation: jkl-downcount-
|
|
2143
|
+
animation: jkl-downcount-ustvnie var(--duration) linear forwards;
|
|
2144
2144
|
animation-play-state: var(--play-state, running);
|
|
2145
2145
|
}
|
|
2146
|
-
@keyframes jkl-downcount-
|
|
2146
|
+
@keyframes jkl-downcount-ustvnie {
|
|
2147
2147
|
from {
|
|
2148
2148
|
width: 100%;
|
|
2149
2149
|
}
|
|
@@ -2644,12 +2644,12 @@
|
|
|
2644
2644
|
font: var(--jkl-text-style-paragraph-small);
|
|
2645
2645
|
}
|
|
2646
2646
|
.jkl-feedback__fade-in {
|
|
2647
|
-
animation: jkl-show-
|
|
2647
|
+
animation: jkl-show-ustvnj8 0.25s ease-out;
|
|
2648
2648
|
}
|
|
2649
2649
|
.jkl-feedback__buttons {
|
|
2650
2650
|
display: flex;
|
|
2651
2651
|
}
|
|
2652
|
-
@keyframes jkl-show-
|
|
2652
|
+
@keyframes jkl-show-ustvnj8 {
|
|
2653
2653
|
from {
|
|
2654
2654
|
transform: translate3d(0, 0.5rem, 0);
|
|
2655
2655
|
opacity: 0;
|
|
@@ -2861,7 +2861,7 @@
|
|
|
2861
2861
|
--icon-color: var(--jkl-color-success-background-contrast);
|
|
2862
2862
|
}
|
|
2863
2863
|
.jkl-message--dismissed {
|
|
2864
|
-
animation: jkl-dismiss-
|
|
2864
|
+
animation: jkl-dismiss-ustvnk7 var(--jkl-motion-timing-lazy) ease-in-out forwards;
|
|
2865
2865
|
transition: visibility 0ms var(--jkl-motion-timing-lazy);
|
|
2866
2866
|
visibility: hidden;
|
|
2867
2867
|
}
|
|
@@ -2883,7 +2883,7 @@
|
|
|
2883
2883
|
.jkl-form-error-message {
|
|
2884
2884
|
padding-bottom: var(--jkl-unit-50);
|
|
2885
2885
|
}
|
|
2886
|
-
@keyframes jkl-dismiss-
|
|
2886
|
+
@keyframes jkl-dismiss-ustvnk7 {
|
|
2887
2887
|
from {
|
|
2888
2888
|
opacity: 1;
|
|
2889
2889
|
transform: translate3d(0, 0, 0);
|
|
@@ -3279,69 +3279,37 @@
|
|
|
3279
3279
|
@layer jokul.components {
|
|
3280
3280
|
.jkl-file {
|
|
3281
3281
|
--jkl-file-padding: var(--jkl-unit-10);
|
|
3282
|
-
--jkl-file-thumbnail-
|
|
3283
|
-
--jkl-file-thumbnail-
|
|
3282
|
+
--jkl-file-thumbnail-max-height: var(--jkl-unit-210);
|
|
3283
|
+
--jkl-file-thumbnail-width: var(--jkl-unit-60);
|
|
3284
3284
|
--jkl-file-thumbnail-aspect-ratio: 1;
|
|
3285
|
-
--jkl-file-gap: var(--jkl-unit-10)
|
|
3285
|
+
--jkl-file-gap: var(--jkl-unit-10);
|
|
3286
3286
|
--jkl-file-button-width: var(--jkl-unit-50);
|
|
3287
3287
|
--text-color: var(--jkl-color-text-default);
|
|
3288
3288
|
--border: 1px solid var(--jkl-color-border-subdued);
|
|
3289
|
-
--border-radius:
|
|
3289
|
+
--border-radius: var(--jkl-border-radius-s);
|
|
3290
3290
|
--bg: transparent;
|
|
3291
3291
|
--transition-time: var(--jkl-motion-timing-expressive);
|
|
3292
3292
|
}
|
|
3293
|
-
.jkl-
|
|
3294
|
-
|
|
3295
|
-
transition-duration: var(--jkl-motion-timing-snappy);
|
|
3296
|
-
transition-property: background-color, border-color, color;
|
|
3297
|
-
color: var(--text-color);
|
|
3298
|
-
padding: var(--jkl-file-padding);
|
|
3299
|
-
border: var(--border);
|
|
3300
|
-
border-radius: var(--border-radius);
|
|
3301
|
-
background: var(--bg);
|
|
3302
|
-
display: grid;
|
|
3303
|
-
grid-template-columns: var(--jkl-file-thumbnail-width) 1fr var(--jkl-file-button-width);
|
|
3304
|
-
grid-template-areas: "image text button";
|
|
3305
|
-
gap: var(--jkl-file-gap);
|
|
3306
|
-
align-items: center;
|
|
3307
|
-
height: fit-content;
|
|
3308
|
-
}
|
|
3309
|
-
.jkl-file__content__name {
|
|
3310
|
-
font: var(--jkl-text-style-paragraph-small);
|
|
3311
|
-
grid-area: text;
|
|
3312
|
-
/* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
|
|
3313
|
-
word-break: break-word;
|
|
3314
|
-
}
|
|
3315
|
-
.jkl-file__content__name__size {
|
|
3316
|
-
word-break: keep-all;
|
|
3317
|
-
}
|
|
3318
|
-
.jkl-file__content__delete {
|
|
3319
|
-
aspect-ratio: 1;
|
|
3320
|
-
grid-area: button;
|
|
3321
|
-
}
|
|
3322
|
-
.jkl-file__content__thumbnail {
|
|
3323
|
-
width: 100%;
|
|
3293
|
+
.jkl-file__thumbnail {
|
|
3294
|
+
flex-shrink: 0;
|
|
3324
3295
|
aspect-ratio: var(--jkl-file-thumbnail-aspect-ratio);
|
|
3325
|
-
|
|
3296
|
+
width: var(--jkl-file-thumbnail-width);
|
|
3297
|
+
height: auto;
|
|
3326
3298
|
max-height: var(--jkl-file-thumbnail-max-height);
|
|
3327
|
-
grid-area: image;
|
|
3328
3299
|
position: relative;
|
|
3329
3300
|
display: flex;
|
|
3330
3301
|
align-items: center;
|
|
3331
3302
|
justify-content: center;
|
|
3332
3303
|
background: var(--jkl-color-background-page);
|
|
3333
|
-
border-radius:
|
|
3304
|
+
border-radius: var(--jkl-border-radius-xs);
|
|
3334
3305
|
overflow: hidden;
|
|
3335
|
-
container-type: inline-size;
|
|
3336
3306
|
anchor-name: --thumb;
|
|
3337
3307
|
anchor-scope: all;
|
|
3338
3308
|
outline: 1px solid color-mix(in srgb, currentColor 3%, transparent);
|
|
3339
3309
|
}
|
|
3340
|
-
.jkl-
|
|
3310
|
+
.jkl-file__thumbnail::after {
|
|
3341
3311
|
position: absolute;
|
|
3342
3312
|
z-index: 1;
|
|
3343
|
-
}
|
|
3344
|
-
.jkl-file__content__thumbnail::after {
|
|
3345
3313
|
content: ""/"Laster opp";
|
|
3346
3314
|
position-anchor: --thumb;
|
|
3347
3315
|
position-area: center;
|
|
@@ -3354,50 +3322,71 @@
|
|
|
3354
3322
|
transition: display var(--transition-time) allow-discrete ease-in, scale var(--transition-time) ease-in;
|
|
3355
3323
|
}
|
|
3356
3324
|
@starting-style {
|
|
3357
|
-
.jkl-
|
|
3325
|
+
.jkl-file__thumbnail::after {
|
|
3358
3326
|
scale: 0;
|
|
3359
3327
|
}
|
|
3360
3328
|
}
|
|
3361
|
-
.jkl-
|
|
3329
|
+
.jkl-file__thumbnail img {
|
|
3362
3330
|
opacity: 1;
|
|
3363
3331
|
transition: opacity var(--transition-time) ease-in-out;
|
|
3364
3332
|
}
|
|
3365
|
-
.jkl-
|
|
3366
|
-
width: 100%;
|
|
3367
|
-
height: 100%;
|
|
3333
|
+
.jkl-file__thumbnail img[src] {
|
|
3334
|
+
min-width: 100%;
|
|
3335
|
+
min-height: 100%;
|
|
3368
3336
|
object-fit: cover;
|
|
3337
|
+
object-position: center;
|
|
3338
|
+
}
|
|
3339
|
+
.jkl-file__content {
|
|
3340
|
+
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
3341
|
+
transition-duration: var(--jkl-motion-timing-snappy);
|
|
3342
|
+
transition-property: background-color, border-color, color;
|
|
3343
|
+
color: var(--text-color);
|
|
3344
|
+
padding: var(--jkl-file-padding);
|
|
3345
|
+
border: var(--border);
|
|
3346
|
+
border-radius: var(--border-radius);
|
|
3347
|
+
background: var(--bg);
|
|
3348
|
+
height: fit-content;
|
|
3349
|
+
}
|
|
3350
|
+
.jkl-file__content:not(:has(.jkl-file__thumbnail)):has(.jkl-file__button) {
|
|
3351
|
+
--jkl-file-padding: 0 var(--jkl-unit-10);
|
|
3352
|
+
}
|
|
3353
|
+
.jkl-file__info {
|
|
3354
|
+
flex-grow: 999;
|
|
3355
|
+
}
|
|
3356
|
+
.jkl-file__name {
|
|
3357
|
+
/* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
|
|
3358
|
+
word-break: break-word;
|
|
3359
|
+
}
|
|
3360
|
+
.jkl-file__size {
|
|
3361
|
+
word-break: keep-all;
|
|
3362
|
+
}
|
|
3363
|
+
.jkl-file__button {
|
|
3364
|
+
aspect-ratio: 1;
|
|
3365
|
+
flex-shrink: 0;
|
|
3369
3366
|
}
|
|
3370
3367
|
.jkl-file[class*=card] {
|
|
3371
3368
|
--jkl-file-thumbnail-width: 100%;
|
|
3372
|
-
--jkl-file-thumbnail-aspect-ratio: 16/
|
|
3373
|
-
}
|
|
3374
|
-
.jkl-file[class*=card] .jkl-file__content {
|
|
3375
|
-
grid-template-columns: 1fr var(--jkl-file-button-width);
|
|
3376
|
-
grid-template-rows: var(--jkl-file-thumbnail-max-height) auto;
|
|
3377
|
-
grid-template-areas: "image image" "text button";
|
|
3369
|
+
--jkl-file-thumbnail-aspect-ratio: 16/10;
|
|
3378
3370
|
}
|
|
3379
|
-
.jkl-file:not([data-state*=loading]) .jkl-
|
|
3371
|
+
.jkl-file:not([data-state*=loading]) .jkl-file__thumbnail:not(:has(img[src]))::before {
|
|
3380
3372
|
font: var(--jkl-text-style-paragraph-small);
|
|
3373
|
+
position: absolute;
|
|
3374
|
+
z-index: 1;
|
|
3381
3375
|
content: attr(data-filetype);
|
|
3382
3376
|
}
|
|
3383
|
-
.jkl-file[data-state=loading]:not(:has(.jkl-file__support-label)) .jkl-
|
|
3377
|
+
.jkl-file[data-state=loading]:not(:has(.jkl-file__support-label)) .jkl-file__thumbnail img {
|
|
3384
3378
|
opacity: 0;
|
|
3385
3379
|
}
|
|
3386
|
-
.jkl-file[data-state=loading]:not(:has(.jkl-file__support-label)) .jkl-
|
|
3380
|
+
.jkl-file[data-state=loading]:not(:has(.jkl-file__support-label)) .jkl-file__thumbnail::after {
|
|
3387
3381
|
display: block;
|
|
3388
3382
|
scale: 1;
|
|
3389
3383
|
}
|
|
3390
|
-
.jkl-file[data-state=error] {
|
|
3391
|
-
--bg: var(--jkl-color-error-background-container);
|
|
3392
|
-
}
|
|
3393
3384
|
.jkl-file[data-state=error],
|
|
3394
3385
|
.jkl-file[data-state=error] a,
|
|
3395
3386
|
.jkl-file[data-state=error] a:hover,
|
|
3396
3387
|
.jkl-file[data-state=error] button,
|
|
3397
3388
|
.jkl-file[data-state=error] span {
|
|
3398
3389
|
--text-color: var(--jkl-color-error-text-default);
|
|
3399
|
-
--link-color: var(--text-color);
|
|
3400
|
-
--jkl-color-border-strong: currentColor;
|
|
3401
3390
|
}
|
|
3402
3391
|
.jkl-file[data-state=error] .jkl-file__content {
|
|
3403
3392
|
border-color: var(--jkl-color-error-border-default);
|
|
@@ -4483,7 +4472,7 @@
|
|
|
4483
4472
|
transition-timing-function: var(--jkl-motion-easing-standard);
|
|
4484
4473
|
transition-duration: var(--jkl-motion-timing-productive);
|
|
4485
4474
|
}
|
|
4486
|
-
@keyframes jkl-downcount-
|
|
4475
|
+
@keyframes jkl-downcount-ustvnku {
|
|
4487
4476
|
from {
|
|
4488
4477
|
width: 100%;
|
|
4489
4478
|
}
|
|
@@ -4608,6 +4597,9 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4608
4597
|
width: 100%;
|
|
4609
4598
|
font: var(--jkl-text-style-text-medium);
|
|
4610
4599
|
}
|
|
4600
|
+
.jkl-search .jkl-input-group {
|
|
4601
|
+
display: contents;
|
|
4602
|
+
}
|
|
4611
4603
|
.jkl-search input[type=search] {
|
|
4612
4604
|
appearance: none;
|
|
4613
4605
|
padding: 0;
|
|
@@ -4664,6 +4656,11 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4664
4656
|
.jkl-search .input-wrapper:has(.clear-button) {
|
|
4665
4657
|
grid-template-columns: 1.3em 1fr 1.3em;
|
|
4666
4658
|
}
|
|
4659
|
+
.jkl-search .input-wrapper:has(input:focus-visible) {
|
|
4660
|
+
outline: 3px solid var(--jkl-color-border-strong);
|
|
4661
|
+
outline-offset: 3px;
|
|
4662
|
+
background-color: var(--jkl-color-background-container);
|
|
4663
|
+
}
|
|
4667
4664
|
.jkl-search:has(input:not(:valid), input:placeholder-shown) .clear-button {
|
|
4668
4665
|
display: none;
|
|
4669
4666
|
}
|
|
@@ -4727,6 +4724,11 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4727
4724
|
grid-template-columns: 1fr max-content;
|
|
4728
4725
|
align-items: end;
|
|
4729
4726
|
}
|
|
4727
|
+
.jkl-search:has(button.jkl-search-submit) .jkl-input-group-description,
|
|
4728
|
+
.jkl-search:has(button.jkl-search-submit) .jkl-label,
|
|
4729
|
+
.jkl-search:has(button.jkl-search-submit) .input-wrapper {
|
|
4730
|
+
grid-column: 1/2;
|
|
4731
|
+
}
|
|
4730
4732
|
.jkl-search:has(button.jkl-search-submit) .input-wrapper {
|
|
4731
4733
|
border-inline-end: 0;
|
|
4732
4734
|
border-top-right-radius: 0;
|
|
@@ -4984,7 +4986,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
4984
4986
|
margin-bottom: 0;
|
|
4985
4987
|
}
|
|
4986
4988
|
.jkl-system-message--dismissed {
|
|
4987
|
-
animation: jkl-dismiss-
|
|
4989
|
+
animation: jkl-dismiss-ustvnlj var(--jkl-motion-timing-lazy) forwards;
|
|
4988
4990
|
transition: block var(--jkl-motion-timing-lazy) var(--jkl-motion-timing-lazy);
|
|
4989
4991
|
}
|
|
4990
4992
|
.jkl-system-message--info {
|
|
@@ -5022,7 +5024,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5022
5024
|
border-width: 4px;
|
|
5023
5025
|
}
|
|
5024
5026
|
}
|
|
5025
|
-
@keyframes jkl-dismiss-
|
|
5027
|
+
@keyframes jkl-dismiss-ustvnlj {
|
|
5026
5028
|
from {
|
|
5027
5029
|
opacity: 1;
|
|
5028
5030
|
transform: translateY(0);
|
|
@@ -5850,12 +5852,12 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5850
5852
|
}
|
|
5851
5853
|
.jkl-toast[data-animation=entering],
|
|
5852
5854
|
.jkl-toast[data-animation=queued] {
|
|
5853
|
-
animation: jkl-entering-
|
|
5855
|
+
animation: jkl-entering-ustvnmb var(--jkl-motion-timing-polite) var(--jkl-motion-easing-entrance) forwards;
|
|
5854
5856
|
}
|
|
5855
5857
|
.jkl-toast[data-animation=exiting] {
|
|
5856
|
-
animation: jkl-exiting-
|
|
5858
|
+
animation: jkl-exiting-ustvnn5 var(--jkl-motion-timing-productive) var(--jkl-motion-easing-exit) forwards;
|
|
5857
5859
|
}
|
|
5858
|
-
@keyframes jkl-entering-
|
|
5860
|
+
@keyframes jkl-entering-ustvnmb {
|
|
5859
5861
|
from {
|
|
5860
5862
|
opacity: 0;
|
|
5861
5863
|
transform: translate3d(0, 50%, 0);
|
|
@@ -5865,7 +5867,7 @@ html:not([data-mousenavigation]):not([data-touchnavigation]) .jkl-select--beta s
|
|
|
5865
5867
|
transform: translate3d(0, 0, 0);
|
|
5866
5868
|
}
|
|
5867
5869
|
}
|
|
5868
|
-
@keyframes jkl-exiting-
|
|
5870
|
+
@keyframes jkl-exiting-ustvnn5 {
|
|
5869
5871
|
from {
|
|
5870
5872
|
opacity: 1;
|
|
5871
5873
|
transform: translate3d(0, 0, 0);
|