@entur/dropdown 5.4.9 → 5.4.10

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 CHANGED
@@ -1,69 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-dropdown-list {
4
- border-radius: 0.25rem;
5
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
6
- display: none;
7
- list-style: none;
8
- margin: 0;
9
- max-height: 50vh;
10
- padding: 0;
11
- position: relative;
12
- overflow-y: auto;
13
- width: 100%;
14
- z-index: 20;
15
- }
16
- .eds-contrast .eds-dropdown-list {
17
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
18
- }
19
- .eds-dropdown-list--open {
20
- display: inline-block;
21
- }
22
- .eds-dropdown-list:focus {
23
- outline: none;
24
- }
25
- @media all and (min-width: 50rem) {
26
- .eds-dropdown-list {
27
- max-height: 30vh;
28
- }
29
- }
30
- .eds-dropdown-list__item {
31
- align-items: center;
32
- background-color: #f8f8f8;
33
- border-bottom: 0.125rem solid #e9e9e9;
34
- border-left: 0.125rem solid #e9e9e9;
35
- border-right: 0.125rem solid #e9e9e9;
36
- color: #181c56;
37
- display: flex;
38
- justify-content: space-between;
39
- font-family: inherit;
40
- font-size: 1rem;
41
- line-height: 1.25rem;
42
- padding: 0.75rem 1rem;
43
- width: 100%;
44
- }
45
- .eds-dropdown-list__item:first-child {
46
- border-top: 0.125rem solid #e9e9e9;
47
- }
48
- .eds-dropdown-list__item:last-child {
49
- border-bottom: none;
50
- }
51
- .eds-contrast .eds-dropdown-list__item {
52
- color: #181c56;
53
- border-color: #54568c;
54
- background-color: #ffffff;
55
- }
56
- .eds-dropdown-list__item--highlighted {
57
- background-color: #d1d4e3;
58
- }
59
- .eds-contrast .eds-dropdown-list__item--highlighted {
60
- background-color: #d1d4e3;
61
- }
62
- .eds-dropdown-list-icon {
63
- margin-left: 0.75rem;
64
- }
65
- /* DO NOT CHANGE!*/
66
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
67
3
  .eds-multi-select {
68
4
  position: relative;
69
5
  }
@@ -153,6 +89,70 @@
153
89
  stroke-dashoffset: 0;
154
90
  }
155
91
  }
92
+ /* DO NOT CHANGE!*/
93
+ /* 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
156
  .eds-inline-spinner {
157
157
  align-items: center;
158
158
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.4.9",
3
+ "version": "5.4.10",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -28,16 +28,16 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.85",
31
- "@entur/button": "^3.2.24",
32
- "@entur/chip": "^0.7.10",
33
- "@entur/form": "^7.1.9",
34
- "@entur/icons": "^6.17.0",
35
- "@entur/loader": "^0.5.2",
31
+ "@entur/button": "^3.2.25",
32
+ "@entur/chip": "^0.7.11",
33
+ "@entur/form": "^7.1.10",
34
+ "@entur/icons": "^6.17.1",
35
+ "@entur/loader": "^0.5.3",
36
36
  "@entur/tokens": "^3.15.0",
37
- "@entur/tooltip": "^2.7.8",
37
+ "@entur/tooltip": "^2.7.9",
38
38
  "@entur/utils": "^0.11.1",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^8.3.3"
41
41
  },
42
- "gitHead": "74491efb25596a135f38b50d15305803afe963ae"
42
+ "gitHead": "8f5dd2a35e3794050cdc8664efeb078254404632"
43
43
  }