@entur/dropdown 7.0.0 → 7.0.1
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/styles.css +15 -6
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
3
|
.eds-dropdown__list {
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 100%;
|
|
4
6
|
box-sizing: content-box;
|
|
5
7
|
max-height: 50vh;
|
|
6
8
|
overflow-y: auto;
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
}
|
|
15
17
|
.eds-dropdown__list__floating-container {
|
|
16
18
|
z-index: 20;
|
|
17
|
-
width:
|
|
19
|
+
width: 100%;
|
|
18
20
|
}
|
|
19
21
|
.eds-dropdown__list:focus {
|
|
20
22
|
outline: none;
|
|
@@ -112,14 +114,21 @@
|
|
|
112
114
|
.eds-dropdown__selected-item-tag--readonly .eds-tag-chip__close-button, .eds-dropdown__selected-item-tag--disabled .eds-tag-chip__close-button {
|
|
113
115
|
display: none;
|
|
114
116
|
}
|
|
117
|
+
.eds-dropdown__selected-item-tag--readonly {
|
|
118
|
+
cursor: text;
|
|
119
|
+
}
|
|
115
120
|
.eds-contrast .eds-dropdown__selected-item-tag--readonly {
|
|
116
121
|
background-color: var(--components-dropdown-dropdown-standard-fill-readonly);
|
|
117
|
-
border-color:
|
|
122
|
+
border-color: var(--components-chip-contrast-border);
|
|
118
123
|
color: var(--components-dropdown-dropdown-standard-text-readonly);
|
|
119
124
|
}
|
|
125
|
+
.eds-dropdown__selected-item-tag--disabled {
|
|
126
|
+
cursor: not-allowed;
|
|
127
|
+
border: 1px dashed var(--components-chip-standard-border-disabled);
|
|
128
|
+
}
|
|
120
129
|
.eds-contrast .eds-dropdown__selected-item-tag--disabled {
|
|
121
130
|
background-color: var(--components-dropdown-dropdown-standard-fill-disabled);
|
|
122
|
-
border
|
|
131
|
+
border: 1px dashed var(--components-chip-contrast-border-disabled);
|
|
123
132
|
color: var(--components-dropdown-dropdown-standard-text-disabled);
|
|
124
133
|
}
|
|
125
134
|
.eds-dropdown__selected-item-tag__text {
|
|
@@ -195,9 +204,6 @@
|
|
|
195
204
|
.eds-contrast .eds-dropdown__appendix__toggle-button:focus-visible {
|
|
196
205
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
197
206
|
}
|
|
198
|
-
:root {
|
|
199
|
-
--eds-dropdown: 1;
|
|
200
|
-
}
|
|
201
207
|
/* DO NOT CHANGE!*/
|
|
202
208
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
203
209
|
.eds-dropdown {
|
|
@@ -278,3 +284,6 @@
|
|
|
278
284
|
.eds-contrast .eds-dropdown--native option {
|
|
279
285
|
color: var(--components-form-basemenu-text);
|
|
280
286
|
}
|
|
287
|
+
:root {
|
|
288
|
+
--eds-dropdown: 1;
|
|
289
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.3.
|
|
32
|
-
"@entur/chip": "^0.8.
|
|
33
|
-
"@entur/form": "^8.2.
|
|
34
|
-
"@entur/icons": "^7.6.
|
|
35
|
-
"@entur/loader": "^0.5.
|
|
36
|
-
"@entur/tokens": "^3.17.
|
|
37
|
-
"@entur/tooltip": "^5.2.
|
|
30
|
+
"@entur/a11y": "^0.2.96",
|
|
31
|
+
"@entur/button": "^3.3.1",
|
|
32
|
+
"@entur/chip": "^0.8.1",
|
|
33
|
+
"@entur/form": "^8.2.1",
|
|
34
|
+
"@entur/icons": "^7.6.1",
|
|
35
|
+
"@entur/loader": "^0.5.18",
|
|
36
|
+
"@entur/tokens": "^3.17.6",
|
|
37
|
+
"@entur/tooltip": "^5.2.1",
|
|
38
38
|
"@entur/utils": "^0.12.2",
|
|
39
39
|
"@floating-ui/react-dom": "^2.1.0",
|
|
40
40
|
"classnames": "^2.3.1",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"dts-cli": "2.0.5"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "d7798b768ab73d677162cebcf3edd58680dc626f"
|
|
47
47
|
}
|