@entur/dropdown 3.0.7 → 3.0.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.7...@entur/dropdown@3.0.8) (2022-06-28)
7
+
8
+ **Note:** Version bump only for package @entur/dropdown
9
+
6
10
  ## [3.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.6...@entur/dropdown@3.0.7) (2022-06-24)
7
11
 
8
12
  **Note:** Version bump only for package @entur/dropdown
package/dist/styles.css CHANGED
@@ -2,71 +2,6 @@
2
2
  --eds-dropdown: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- .eds-dropdown-list {
6
- border-radius: 0.25rem;
7
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
8
- display: none;
9
- list-style: none;
10
- margin: 0;
11
- max-height: 50vh;
12
- padding: 0;
13
- position: relative;
14
- overflow-y: auto;
15
- width: 100%;
16
- z-index: 20;
17
- }
18
- .eds-contrast .eds-dropdown-list {
19
- box-shadow: 0 0.0625rem 0.1875rem #393d79;
20
- }
21
- .eds-dropdown-list--open {
22
- display: inline-block;
23
- }
24
- .eds-dropdown-list:focus {
25
- outline: none;
26
- }
27
- @media all and (min-width: 50rem) {
28
- .eds-dropdown-list {
29
- max-height: 30vh;
30
- }
31
- }
32
-
33
- .eds-dropdown-list__item {
34
- align-items: center;
35
- background-color: #f8f8f8;
36
- border-bottom: 0.125rem solid #e9e9e9;
37
- border-left: 0.125rem solid #e9e9e9;
38
- border-right: 0.125rem solid #e9e9e9;
39
- color: #181c56;
40
- display: flex;
41
- justify-content: space-between;
42
- font-family: inherit;
43
- font-size: 1rem;
44
- line-height: 1.25rem;
45
- padding: 0.75rem 1rem;
46
- width: 100%;
47
- }
48
- .eds-dropdown-list__item:first-child {
49
- border-top: 0.125rem solid #e9e9e9;
50
- }
51
- .eds-dropdown-list__item:last-child {
52
- border-bottom: none;
53
- }
54
- .eds-contrast .eds-dropdown-list__item {
55
- color: #181c56;
56
- border-color: #54568c;
57
- background-color: #ffffff;
58
- }
59
- .eds-dropdown-list__item--highlighted {
60
- background-color: #d1d4e3;
61
- }
62
- .eds-contrast .eds-dropdown-list__item--highlighted {
63
- background-color: #d1d4e3;
64
- }
65
-
66
- .eds-dropdown-list__item-icon {
67
- margin-left: 0.75rem;
68
- }/* DO NOT CHANGE!*/
69
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
70
5
  .eds-multi-select {
71
6
  position: relative;
72
7
  }
@@ -177,12 +112,69 @@
177
112
  color: #181c56;
178
113
  }/* DO NOT CHANGE!*/
179
114
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
180
- .eds-inline-spinner {
115
+ .eds-dropdown-list {
116
+ border-radius: 0.25rem;
117
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
118
+ display: none;
119
+ list-style: none;
120
+ margin: 0;
121
+ max-height: 50vh;
122
+ padding: 0;
123
+ position: relative;
124
+ overflow-y: auto;
125
+ width: 100%;
126
+ z-index: 20;
127
+ }
128
+ .eds-contrast .eds-dropdown-list {
129
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
130
+ }
131
+ .eds-dropdown-list--open {
132
+ display: inline-block;
133
+ }
134
+ .eds-dropdown-list:focus {
135
+ outline: none;
136
+ }
137
+ @media all and (min-width: 50rem) {
138
+ .eds-dropdown-list {
139
+ max-height: 30vh;
140
+ }
141
+ }
142
+
143
+ .eds-dropdown-list__item {
181
144
  align-items: center;
145
+ background-color: #f8f8f8;
146
+ border-bottom: 0.125rem solid #e9e9e9;
147
+ border-left: 0.125rem solid #e9e9e9;
148
+ border-right: 0.125rem solid #e9e9e9;
149
+ color: #181c56;
182
150
  display: flex;
183
- justify-content: center;
184
- height: 100%;
151
+ justify-content: space-between;
152
+ font-family: inherit;
153
+ font-size: 1rem;
154
+ line-height: 1.25rem;
155
+ padding: 0.75rem 1rem;
185
156
  width: 100%;
157
+ }
158
+ .eds-dropdown-list__item:first-child {
159
+ border-top: 0.125rem solid #e9e9e9;
160
+ }
161
+ .eds-dropdown-list__item:last-child {
162
+ border-bottom: none;
163
+ }
164
+ .eds-contrast .eds-dropdown-list__item {
165
+ color: #181c56;
166
+ border-color: #54568c;
167
+ background-color: #ffffff;
168
+ }
169
+ .eds-dropdown-list__item--highlighted {
170
+ background-color: #d1d4e3;
171
+ }
172
+ .eds-contrast .eds-dropdown-list__item--highlighted {
173
+ background-color: #d1d4e3;
174
+ }
175
+
176
+ .eds-dropdown-list__item-icon {
177
+ margin-left: 0.75rem;
186
178
  }/* DO NOT CHANGE!*/
187
179
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
188
180
  .eds-dropdown__searchable-selected-item {
@@ -214,6 +206,14 @@
214
206
  transition: none;
215
207
  }/* DO NOT CHANGE!*/
216
208
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
209
+ .eds-inline-spinner {
210
+ align-items: center;
211
+ display: flex;
212
+ justify-content: center;
213
+ height: 100%;
214
+ width: 100%;
215
+ }/* DO NOT CHANGE!*/
216
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
217
217
  .eds-dropdown-wrapper {
218
218
  position: relative;
219
219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.45",
31
- "@entur/chip": "^0.5.8",
32
- "@entur/form": "^5.3.7",
31
+ "@entur/chip": "^0.6.0",
32
+ "@entur/form": "^5.3.8",
33
33
  "@entur/icons": "^4.2.0",
34
34
  "@entur/loader": "^0.4.8",
35
35
  "@entur/tokens": "^3.3.2",
36
- "@entur/tooltip": "^2.5.10",
36
+ "@entur/tooltip": "^2.5.11",
37
37
  "@entur/utils": "^0.4.3",
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "gitHead": "974289b6579ade4460d12aa877a89e454c983d48"
41
+ "gitHead": "b8c747624dc3cb71b5710305c958ece5ba460e23"
42
42
  }