@entur/dropdown 5.2.0 → 5.2.1-beta.0
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 +52 -52
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -1,27 +1,37 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
.eds-dropdown__toggle-button {
|
|
4
|
+
-webkit-appearance: none;
|
|
5
|
+
-moz-appearance: none;
|
|
6
|
+
appearance: none;
|
|
7
|
+
background: none;
|
|
8
|
+
border: none;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
color: inherit;
|
|
11
|
+
font-size: inherit;
|
|
9
12
|
font-family: inherit;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
margin-right: -0.75rem;
|
|
14
|
+
padding: 0.5rem;
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
13
17
|
}
|
|
14
|
-
.eds-
|
|
15
|
-
|
|
18
|
+
.eds-dropdown__toggle-button--open svg {
|
|
19
|
+
transform: rotate(180deg);
|
|
16
20
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
.eds-dropdown__toggle-button:focus {
|
|
22
|
+
outline-offset: 0.125rem;
|
|
23
|
+
outline: none;
|
|
24
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
21
25
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
27
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
28
|
+
}
|
|
29
|
+
.eds-inline-spinner {
|
|
30
|
+
align-items: center;
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
height: 100%;
|
|
34
|
+
width: 100%;
|
|
25
35
|
}
|
|
26
36
|
/* DO NOT CHANGE!*/
|
|
27
37
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -81,12 +91,30 @@
|
|
|
81
91
|
.eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
|
|
82
92
|
background-color: #8285a8;
|
|
83
93
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
94
|
+
/* DO NOT CHANGE!*/
|
|
95
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
96
|
+
.eds-dropdown__searchable-selected-item {
|
|
97
|
+
display: block;
|
|
98
|
+
font-size: 1rem;
|
|
99
|
+
line-height: 1rem;
|
|
100
|
+
margin-right: -1rem;
|
|
101
|
+
padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
|
|
102
|
+
font-family: inherit;
|
|
103
|
+
overflow-x: hidden;
|
|
104
|
+
text-overflow: ellipsis;
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
}
|
|
107
|
+
.eds-dropdown__searchable-selected-item__wrapper {
|
|
108
|
+
max-width: 65%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
112
|
+
-moz-transition: none;
|
|
113
|
+
transition: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.eds-form-control.eds-dropdown__input::placeholder {
|
|
117
|
+
transition: none;
|
|
90
118
|
}
|
|
91
119
|
/* DO NOT CHANGE!*/
|
|
92
120
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -154,34 +182,6 @@
|
|
|
154
182
|
}
|
|
155
183
|
/* DO NOT CHANGE!*/
|
|
156
184
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
157
|
-
.eds-dropdown__toggle-button {
|
|
158
|
-
-webkit-appearance: none;
|
|
159
|
-
-moz-appearance: none;
|
|
160
|
-
appearance: none;
|
|
161
|
-
background: none;
|
|
162
|
-
border: none;
|
|
163
|
-
border-radius: 0;
|
|
164
|
-
color: inherit;
|
|
165
|
-
font-size: inherit;
|
|
166
|
-
font-family: inherit;
|
|
167
|
-
margin-right: -0.75rem;
|
|
168
|
-
padding: 0.5rem;
|
|
169
|
-
display: flex;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
}
|
|
172
|
-
.eds-dropdown__toggle-button--open svg {
|
|
173
|
-
transform: rotate(180deg);
|
|
174
|
-
}
|
|
175
|
-
.eds-dropdown__toggle-button:focus {
|
|
176
|
-
outline-offset: 0.125rem;
|
|
177
|
-
outline: none;
|
|
178
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
179
|
-
}
|
|
180
|
-
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
181
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
182
|
-
}
|
|
183
|
-
/* DO NOT CHANGE!*/
|
|
184
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
185
185
|
.eds-multi-select {
|
|
186
186
|
position: relative;
|
|
187
187
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.2.0",
|
|
3
|
+
"version": "5.2.1-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.75",
|
|
31
31
|
"@entur/button": "^3.2.10",
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
32
|
+
"@entur/chip": "^0.6.66-beta.0",
|
|
33
|
+
"@entur/form": "^7.0.38-beta.0",
|
|
34
34
|
"@entur/icons": "^6.15.0",
|
|
35
35
|
"@entur/loader": "^0.4.54",
|
|
36
36
|
"@entur/tokens": "^3.12.0",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
+
"@entur/tooltip": "^2.6.47-beta.0",
|
|
38
38
|
"@entur/utils": "^0.10.0",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^7.6.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "453c823f5b935959f701f0c777236a8e0c23601e"
|
|
43
43
|
}
|