@entur/dropdown 5.0.22 → 5.0.23-alpha.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.
Files changed (2) hide show
  1. package/dist/styles.css +96 -96
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,3 +1,99 @@
1
+ .eds-inline-spinner {
2
+ align-items: center;
3
+ display: flex;
4
+ justify-content: center;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
8
+ /* DO NOT CHANGE!*/
9
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
10
+ .eds-dropdown__searchable-selected-item {
11
+ display: block;
12
+ font-size: 1rem;
13
+ line-height: 1rem;
14
+ margin-right: -1rem;
15
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
16
+ font-family: inherit;
17
+ overflow-x: hidden;
18
+ text-overflow: ellipsis;
19
+ white-space: nowrap;
20
+ }
21
+ .eds-dropdown__searchable-selected-item__wrapper {
22
+ max-width: 65%;
23
+ }
24
+
25
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
26
+ -moz-transition: none;
27
+ transition: none;
28
+ }
29
+
30
+ .eds-form-control.eds-dropdown__input::placeholder {
31
+ transition: none;
32
+ }
33
+ /* DO NOT CHANGE!*/
34
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
35
+ .eds-dropdown-list {
36
+ border-radius: 0.25rem;
37
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
38
+ display: none;
39
+ list-style: none;
40
+ margin: 0;
41
+ max-height: 50vh;
42
+ padding: 0;
43
+ position: relative;
44
+ overflow-y: auto;
45
+ width: 100%;
46
+ z-index: 20;
47
+ }
48
+ .eds-contrast .eds-dropdown-list {
49
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
50
+ }
51
+ .eds-dropdown-list--open {
52
+ display: inline-block;
53
+ }
54
+ .eds-dropdown-list:focus {
55
+ outline: none;
56
+ }
57
+ @media all and (min-width: 50rem) {
58
+ .eds-dropdown-list {
59
+ max-height: 30vh;
60
+ }
61
+ }
62
+ .eds-dropdown-list__item {
63
+ align-items: center;
64
+ background-color: #f8f8f8;
65
+ border-bottom: 0.125rem solid #e9e9e9;
66
+ border-left: 0.125rem solid #e9e9e9;
67
+ border-right: 0.125rem solid #e9e9e9;
68
+ color: #181c56;
69
+ display: flex;
70
+ justify-content: space-between;
71
+ font-family: inherit;
72
+ font-size: 1rem;
73
+ line-height: 1.25rem;
74
+ padding: 0.75rem 1rem;
75
+ width: 100%;
76
+ }
77
+ .eds-dropdown-list__item:first-child {
78
+ border-top: 0.125rem solid #e9e9e9;
79
+ }
80
+ .eds-dropdown-list__item:last-child {
81
+ border-bottom: none;
82
+ }
83
+ .eds-contrast .eds-dropdown-list__item {
84
+ color: #181c56;
85
+ border-color: #54568c;
86
+ background-color: #ffffff;
87
+ }
88
+ .eds-dropdown-list__item--highlighted {
89
+ background-color: #d1d4e3;
90
+ }
91
+ .eds-contrast .eds-dropdown-list__item--highlighted {
92
+ background-color: #d1d4e3;
93
+ }
94
+ .eds-dropdown-list-icon {
95
+ margin-left: 0.75rem;
96
+ }
1
97
  /* DO NOT CHANGE!*/
2
98
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
99
  .eds-multi-select {
@@ -91,95 +187,6 @@
91
187
  }
92
188
  /* DO NOT CHANGE!*/
93
189
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
94
- .eds-dropdown-list {
95
- border-radius: 0.25rem;
96
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
97
- display: none;
98
- list-style: none;
99
- margin: 0;
100
- max-height: 50vh;
101
- padding: 0;
102
- position: relative;
103
- overflow-y: auto;
104
- width: 100%;
105
- z-index: 20;
106
- }
107
- .eds-contrast .eds-dropdown-list {
108
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
109
- }
110
- .eds-dropdown-list--open {
111
- display: inline-block;
112
- }
113
- .eds-dropdown-list:focus {
114
- outline: none;
115
- }
116
- @media all and (min-width: 50rem) {
117
- .eds-dropdown-list {
118
- max-height: 30vh;
119
- }
120
- }
121
- .eds-dropdown-list__item {
122
- align-items: center;
123
- background-color: #f8f8f8;
124
- border-bottom: 0.125rem solid #e9e9e9;
125
- border-left: 0.125rem solid #e9e9e9;
126
- border-right: 0.125rem solid #e9e9e9;
127
- color: #181c56;
128
- display: flex;
129
- justify-content: space-between;
130
- font-family: inherit;
131
- font-size: 1rem;
132
- line-height: 1.25rem;
133
- padding: 0.75rem 1rem;
134
- width: 100%;
135
- }
136
- .eds-dropdown-list__item:first-child {
137
- border-top: 0.125rem solid #e9e9e9;
138
- }
139
- .eds-dropdown-list__item:last-child {
140
- border-bottom: none;
141
- }
142
- .eds-contrast .eds-dropdown-list__item {
143
- color: #181c56;
144
- border-color: #54568c;
145
- background-color: #ffffff;
146
- }
147
- .eds-dropdown-list__item--highlighted {
148
- background-color: #d1d4e3;
149
- }
150
- .eds-contrast .eds-dropdown-list__item--highlighted {
151
- background-color: #d1d4e3;
152
- }
153
- .eds-dropdown-list-icon {
154
- margin-left: 0.75rem;
155
- }
156
- /* DO NOT CHANGE!*/
157
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
158
- .eds-dropdown__searchable-selected-item {
159
- display: block;
160
- font-size: 1rem;
161
- line-height: 1rem;
162
- margin-right: -1rem;
163
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
164
- font-family: inherit;
165
- overflow-x: hidden;
166
- text-overflow: ellipsis;
167
- white-space: nowrap;
168
- }
169
- .eds-dropdown__searchable-selected-item__wrapper {
170
- max-width: 65%;
171
- }
172
-
173
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
174
- -moz-transition: none;
175
- transition: none;
176
- }
177
-
178
- .eds-form-control.eds-dropdown__input::placeholder {
179
- transition: none;
180
- }
181
- /* DO NOT CHANGE!*/
182
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
183
190
  .eds-dropdown__toggle-button {
184
191
  -webkit-appearance: none;
185
192
  -moz-appearance: none;
@@ -206,13 +213,6 @@
206
213
  .eds-contrast .eds-dropdown__toggle-button:focus {
207
214
  box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
208
215
  }
209
- .eds-inline-spinner {
210
- align-items: center;
211
- display: flex;
212
- justify-content: center;
213
- height: 100%;
214
- width: 100%;
215
- }
216
216
  /* DO NOT CHANGE!*/
217
217
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
218
  .eds-dropdown-wrapper {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.0.22",
3
+ "version": "5.0.23-alpha.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,17 +27,17 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.71",
31
- "@entur/button": "^3.1.10",
32
- "@entur/chip": "^0.6.54",
33
- "@entur/form": "^7.0.26",
34
- "@entur/icons": "^6.12.0",
35
- "@entur/loader": "^0.4.47",
36
- "@entur/tokens": "^3.11.0",
37
- "@entur/tooltip": "^2.6.35",
30
+ "@entur/a11y": "^0.2.72-alpha.0",
31
+ "@entur/button": "^3.1.11-alpha.0",
32
+ "@entur/chip": "^0.6.55-alpha.0",
33
+ "@entur/form": "^7.0.27-alpha.0",
34
+ "@entur/icons": "^6.12.1-alpha.0",
35
+ "@entur/loader": "^0.4.48-alpha.0",
36
+ "@entur/tokens": "^3.11.1-alpha.0",
37
+ "@entur/tooltip": "^2.6.36-alpha.0",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^7.6.1"
41
41
  },
42
- "gitHead": "2f0cf444d6a85a45199d8286b97fd02536dfb9f6"
42
+ "gitHead": "957d432b3633e7f973ea9ffb0219d21f6b598980"
43
43
  }