@norges-domstoler/dds-components 0.0.0-dev-20240613084800 → 0.0.0-dev-20240614080547
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 +13 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +22 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -1812,7 +1812,8 @@
|
|
|
1812
1812
|
gap: var(--dds-spacing-x1);
|
|
1813
1813
|
border-color: var(--dds-color-border-default);
|
|
1814
1814
|
background-color: var(--dds-color-surface-default);
|
|
1815
|
-
|
|
1815
|
+
border-radius: var(--dds-border-radius-1);
|
|
1816
|
+
padding: var(--dds-spacing-x1-5) var(--dds-spacing-x1-5) var(--dds-spacing-x2) var(--dds-spacing-x1-5);
|
|
1816
1817
|
@media (prefers-reduced-motion: no-preference) {
|
|
1817
1818
|
transition: background-color 0.2s, border-color 0.2s;
|
|
1818
1819
|
}
|
|
@@ -1835,12 +1836,22 @@
|
|
|
1835
1836
|
padding: var(--dds-spacing-x0-5) var(--dds-spacing-x1);
|
|
1836
1837
|
margin-top: var(--dds-spacing-x0-5);
|
|
1837
1838
|
background-color: var(--dds-color-surface-subtle);
|
|
1839
|
+
border-radius: var(--dds-border-radius-1);
|
|
1840
|
+
border: 1px solid var(--dds-color-border-default);
|
|
1838
1841
|
}
|
|
1839
1842
|
.FileUploader_file--invalid {
|
|
1840
|
-
|
|
1843
|
+
border: 1px solid var(--dds-color-border-danger);
|
|
1844
|
+
box-shadow: inset 0 0 0 1px var(--dds-color-border-danger);
|
|
1845
|
+
}
|
|
1846
|
+
.FileUploader_file__icon--invalid {
|
|
1847
|
+
color: var(--dds-color-icon-on-danger-default);
|
|
1848
|
+
}
|
|
1849
|
+
.FileUploader_file__icon--valid {
|
|
1850
|
+
color: var(--dds-color-icon-on-success-default);
|
|
1841
1851
|
}
|
|
1842
1852
|
.FileUploader_file__name {
|
|
1843
1853
|
word-break: break-all;
|
|
1854
|
+
width: 100%;
|
|
1844
1855
|
}
|
|
1845
1856
|
|
|
1846
1857
|
/* src/components/GlobalMessage/GlobalMessage.module.css */
|