@norges-domstoler/dds-components 0.0.0-dev-20241015082650 → 0.0.0-dev-20241015083410
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/dist/index.css +47 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -2
- package/dist/index.d.ts +23 -2
- package/dist/index.js +383 -285
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +320 -223
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -2987,6 +2987,53 @@
|
|
|
2987
2987
|
text-decoration-color: var(--dds-color-text-medium);
|
|
2988
2988
|
}
|
|
2989
2989
|
|
|
2990
|
+
/* src/components/ProgressBar/ProgressBar.module.css */
|
|
2991
|
+
.ProgressBar_container {
|
|
2992
|
+
width: 100%;
|
|
2993
|
+
}
|
|
2994
|
+
.ProgressBar_progress {
|
|
2995
|
+
width: var(--dds-progressbar-width);
|
|
2996
|
+
height: 48px;
|
|
2997
|
+
background-color: var(--dds-color-surface-medium);
|
|
2998
|
+
border: 1px solid var(--dds-color-border-default);
|
|
2999
|
+
border-radius: var(--dds-border-radius-surface);
|
|
3000
|
+
}
|
|
3001
|
+
.ProgressBar_progress--small {
|
|
3002
|
+
height: var(--dds-spacing-x0-75);
|
|
3003
|
+
}
|
|
3004
|
+
.ProgressBar_progress--medium {
|
|
3005
|
+
height: var(--dds-spacing-x1-5);
|
|
3006
|
+
}
|
|
3007
|
+
.ProgressBar_fill {
|
|
3008
|
+
height: 100%;
|
|
3009
|
+
width: var(--dds-progressbar-fill-width);
|
|
3010
|
+
background-color: var(--dds-color-surface-action-resting);
|
|
3011
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3012
|
+
transition: width 0.2s, background-color 0.2s;
|
|
3013
|
+
}
|
|
3014
|
+
}
|
|
3015
|
+
.ProgressBar_fill--done {
|
|
3016
|
+
background-color: var(--dds-color-surface-success-strong);
|
|
3017
|
+
}
|
|
3018
|
+
.ProgressBar_fill--error {
|
|
3019
|
+
background-color: var(--dds-color-surface-action-danger-resting);
|
|
3020
|
+
}
|
|
3021
|
+
.ProgressBar_fill--indeterminate {
|
|
3022
|
+
width: 25%;
|
|
3023
|
+
animation: ProgressBar_indeterminate 2s infinite linear;
|
|
3024
|
+
}
|
|
3025
|
+
@keyframes ProgressBar_indeterminate {
|
|
3026
|
+
0% {
|
|
3027
|
+
transform: translateX(0);
|
|
3028
|
+
}
|
|
3029
|
+
50% {
|
|
3030
|
+
transform: translateX(300%);
|
|
3031
|
+
}
|
|
3032
|
+
100% {
|
|
3033
|
+
transform: translateX(0);
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
|
|
2990
3037
|
/* src/components/Search/Search.module.css */
|
|
2991
3038
|
.Search_container {
|
|
2992
3039
|
display: flex;
|