@norges-domstoler/dds-components 0.0.0-dev-20240611103334 → 0.0.0-dev-20240613084800
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 +12 -14
- package/dist/index.css.map +1 -1
- package/dist/index.js +128 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +128 -81
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.css
CHANGED
|
@@ -600,7 +600,6 @@
|
|
|
600
600
|
background-color: var(--dds-color-surface-default);
|
|
601
601
|
padding: var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x0-75) var(--dds-spacing-x0-75);
|
|
602
602
|
border-radius: var(--dds-border-radius-1);
|
|
603
|
-
width: 100%;
|
|
604
603
|
margin: 0;
|
|
605
604
|
box-sizing: border-box;
|
|
606
605
|
box-shadow: none;
|
|
@@ -700,6 +699,9 @@
|
|
|
700
699
|
.Input_input--with-affix {
|
|
701
700
|
gap: var(--dds-spacing-x1);
|
|
702
701
|
}
|
|
702
|
+
.Input_label {
|
|
703
|
+
display: block;
|
|
704
|
+
}
|
|
703
705
|
|
|
704
706
|
/* src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.module.css */
|
|
705
707
|
.TextOverflowEllipsis_wrapper {
|
|
@@ -1269,20 +1271,12 @@
|
|
|
1269
1271
|
}
|
|
1270
1272
|
|
|
1271
1273
|
/* src/components/date-inputs/common/DateInput.module.css */
|
|
1272
|
-
.DateInput_container--medium {
|
|
1273
|
-
width: 160px;
|
|
1274
|
-
}
|
|
1275
|
-
.DateInput_container--small {
|
|
1276
|
-
width: 148px;
|
|
1277
|
-
}
|
|
1278
|
-
.DateInput_container--tiny {
|
|
1279
|
-
width: 125px;
|
|
1280
|
-
}
|
|
1281
1274
|
.DateInput_date-input {
|
|
1282
1275
|
display: inline-flex;
|
|
1283
1276
|
flex-direction: row;
|
|
1284
1277
|
align-items: center;
|
|
1285
1278
|
gap: var(--dds-spacing-x0-25);
|
|
1279
|
+
width: var(--dds-date-input-width);
|
|
1286
1280
|
}
|
|
1287
1281
|
.DateInput_date-input--medium {
|
|
1288
1282
|
padding-inline: var(--dds-spacing-x0-5) !important;
|
|
@@ -1769,10 +1763,8 @@
|
|
|
1769
1763
|
}
|
|
1770
1764
|
|
|
1771
1765
|
/* src/components/TextArea/TextArea.module.css */
|
|
1772
|
-
.TextArea_container {
|
|
1773
|
-
width: var(--dds-input-default-width);
|
|
1774
|
-
}
|
|
1775
1766
|
.TextArea_textarea {
|
|
1767
|
+
width: var(--dds-text-area-width);
|
|
1776
1768
|
height: auto;
|
|
1777
1769
|
resize: vertical;
|
|
1778
1770
|
vertical-align: bottom;
|
|
@@ -3048,7 +3040,6 @@
|
|
|
3048
3040
|
|
|
3049
3041
|
/* src/components/TextInput/TextInput.module.css */
|
|
3050
3042
|
.TextInput_container--medium {
|
|
3051
|
-
width: var(--dds-input-default-width);
|
|
3052
3043
|
}
|
|
3053
3044
|
.TextInput_container--tiny {
|
|
3054
3045
|
width: 210px;
|
|
@@ -3058,6 +3049,9 @@
|
|
|
3058
3049
|
display: flex;
|
|
3059
3050
|
align-items: center;
|
|
3060
3051
|
}
|
|
3052
|
+
.TextInput_input-width {
|
|
3053
|
+
width: var(--dds-textinput-width);
|
|
3054
|
+
}
|
|
3061
3055
|
.TextInput_input {
|
|
3062
3056
|
&.TextInput_with-icon--medium {
|
|
3063
3057
|
padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-5));
|
|
@@ -3086,6 +3080,9 @@
|
|
|
3086
3080
|
left: var(--dds-spacing-x0-5);
|
|
3087
3081
|
top: calc(50% - (var(--dds-icon-size-small) / 2));
|
|
3088
3082
|
}
|
|
3083
|
+
.TextInput_label {
|
|
3084
|
+
display: block;
|
|
3085
|
+
}
|
|
3089
3086
|
.TextInput_affix {
|
|
3090
3087
|
position: absolute;
|
|
3091
3088
|
height: 100%;
|
|
@@ -3121,6 +3118,7 @@
|
|
|
3121
3118
|
.TextInput_message-container {
|
|
3122
3119
|
display: flex;
|
|
3123
3120
|
justify-content: space-between;
|
|
3121
|
+
gap: var(--dds-spacing-x0-5);
|
|
3124
3122
|
}
|
|
3125
3123
|
.TextInput_char-counter {
|
|
3126
3124
|
margin-left: auto;
|