@norges-domstoler/dds-components 0.0.0-dev-20250124122149 → 0.0.0-dev-20250128122329
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 +14 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -3957,8 +3957,6 @@
|
|
|
3957
3957
|
width: fit-content;
|
|
3958
3958
|
border: 1px solid var(--dds-color-border-default);
|
|
3959
3959
|
border-radius: var(--dds-border-radius-rounded);
|
|
3960
|
-
gap: var(--dds-spacing-x0-25);
|
|
3961
|
-
padding: var(--dds-spacing-x0-5) var(--dds-spacing-x1);
|
|
3962
3960
|
background-color: var(--dds-color-surface-default);
|
|
3963
3961
|
color: var(--dds-color-text-default);
|
|
3964
3962
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -3972,8 +3970,21 @@
|
|
|
3972
3970
|
background-color: var(--dds-color-surface-hover-default);
|
|
3973
3971
|
}
|
|
3974
3972
|
}
|
|
3973
|
+
.ToggleButton_small {
|
|
3974
|
+
gap: var(--dds-spacing-x0-25);
|
|
3975
|
+
padding: var(--dds-spacing-x0-5) var(--dds-spacing-x1);
|
|
3976
|
+
}
|
|
3977
|
+
.ToggleButton_xsmall {
|
|
3978
|
+
gap: var(--dds-spacing-x0-125);
|
|
3979
|
+
padding: var(--dds-spacing-x0-25) var(--dds-spacing-x0-5);
|
|
3980
|
+
}
|
|
3975
3981
|
.ToggleButton_content--with-icon {
|
|
3976
|
-
|
|
3982
|
+
&.ToggleButton_small {
|
|
3983
|
+
padding-inline-start: var(--dds-spacing-x0-75);
|
|
3984
|
+
}
|
|
3985
|
+
&.ToggleButton_xsmall {
|
|
3986
|
+
padding-inline-start: var(--dds-spacing-x0-25);
|
|
3987
|
+
}
|
|
3977
3988
|
}
|
|
3978
3989
|
input:checked + .ToggleButton_content {
|
|
3979
3990
|
color: var(--dds-color-text-on-action);
|