@entur/dropdown 5.4.5 → 5.4.6

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 +68 -68
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -25,70 +25,6 @@
25
25
  }
26
26
  /* DO NOT CHANGE!*/
27
27
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
28
- .eds-dropdown-list {
29
- border-radius: 0.25rem;
30
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
31
- display: none;
32
- list-style: none;
33
- margin: 0;
34
- max-height: 50vh;
35
- padding: 0;
36
- position: relative;
37
- overflow-y: auto;
38
- width: 100%;
39
- z-index: 20;
40
- }
41
- .eds-contrast .eds-dropdown-list {
42
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
43
- }
44
- .eds-dropdown-list--open {
45
- display: inline-block;
46
- }
47
- .eds-dropdown-list:focus {
48
- outline: none;
49
- }
50
- @media all and (min-width: 50rem) {
51
- .eds-dropdown-list {
52
- max-height: 30vh;
53
- }
54
- }
55
- .eds-dropdown-list__item {
56
- align-items: center;
57
- background-color: #f8f8f8;
58
- border-bottom: 0.125rem solid #e9e9e9;
59
- border-left: 0.125rem solid #e9e9e9;
60
- border-right: 0.125rem solid #e9e9e9;
61
- color: #181c56;
62
- display: flex;
63
- justify-content: space-between;
64
- font-family: inherit;
65
- font-size: 1rem;
66
- line-height: 1.25rem;
67
- padding: 0.75rem 1rem;
68
- width: 100%;
69
- }
70
- .eds-dropdown-list__item:first-child {
71
- border-top: 0.125rem solid #e9e9e9;
72
- }
73
- .eds-dropdown-list__item:last-child {
74
- border-bottom: none;
75
- }
76
- .eds-contrast .eds-dropdown-list__item {
77
- color: #181c56;
78
- border-color: #54568c;
79
- background-color: #ffffff;
80
- }
81
- .eds-dropdown-list__item--highlighted {
82
- background-color: #d1d4e3;
83
- }
84
- .eds-contrast .eds-dropdown-list__item--highlighted {
85
- background-color: #d1d4e3;
86
- }
87
- .eds-dropdown-list-icon {
88
- margin-left: 0.75rem;
89
- }
90
- /* DO NOT CHANGE!*/
91
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
92
28
  .eds-multi-select {
93
29
  position: relative;
94
30
  }
@@ -178,6 +114,70 @@
178
114
  stroke-dashoffset: 0;
179
115
  }
180
116
  }
117
+ /* DO NOT CHANGE!*/
118
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
119
+ .eds-dropdown-list {
120
+ border-radius: 0.25rem;
121
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
122
+ display: none;
123
+ list-style: none;
124
+ margin: 0;
125
+ max-height: 50vh;
126
+ padding: 0;
127
+ position: relative;
128
+ overflow-y: auto;
129
+ width: 100%;
130
+ z-index: 20;
131
+ }
132
+ .eds-contrast .eds-dropdown-list {
133
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
134
+ }
135
+ .eds-dropdown-list--open {
136
+ display: inline-block;
137
+ }
138
+ .eds-dropdown-list:focus {
139
+ outline: none;
140
+ }
141
+ @media all and (min-width: 50rem) {
142
+ .eds-dropdown-list {
143
+ max-height: 30vh;
144
+ }
145
+ }
146
+ .eds-dropdown-list__item {
147
+ align-items: center;
148
+ background-color: #f8f8f8;
149
+ border-bottom: 0.125rem solid #e9e9e9;
150
+ border-left: 0.125rem solid #e9e9e9;
151
+ border-right: 0.125rem solid #e9e9e9;
152
+ color: #181c56;
153
+ display: flex;
154
+ justify-content: space-between;
155
+ font-family: inherit;
156
+ font-size: 1rem;
157
+ line-height: 1.25rem;
158
+ padding: 0.75rem 1rem;
159
+ width: 100%;
160
+ }
161
+ .eds-dropdown-list__item:first-child {
162
+ border-top: 0.125rem solid #e9e9e9;
163
+ }
164
+ .eds-dropdown-list__item:last-child {
165
+ border-bottom: none;
166
+ }
167
+ .eds-contrast .eds-dropdown-list__item {
168
+ color: #181c56;
169
+ border-color: #54568c;
170
+ background-color: #ffffff;
171
+ }
172
+ .eds-dropdown-list__item--highlighted {
173
+ background-color: #d1d4e3;
174
+ }
175
+ .eds-contrast .eds-dropdown-list__item--highlighted {
176
+ background-color: #d1d4e3;
177
+ }
178
+ .eds-dropdown-list-icon {
179
+ margin-left: 0.75rem;
180
+ }
181
181
  .eds-inline-spinner {
182
182
  align-items: center;
183
183
  display: flex;
@@ -394,18 +394,18 @@
394
394
  border-color: transparent;
395
395
  color: var(--components-dropdown-dropdown-standard-text-disabled);
396
396
  }
397
- .eds-dropdown .eds-icon-button {
397
+ .eds-contrast .eds-dropdown .eds-icon-button {
398
398
  color: var(--components-button-iconbutton-standard-text);
399
399
  }
400
- .eds-dropdown .eds-icon-button:hover {
400
+ .eds-contrast .eds-dropdown .eds-icon-button:hover {
401
401
  background-color: var(--components-button-iconbutton-standard-hover);
402
402
  }
403
- .eds-dropdown .eds-icon-button:focus {
403
+ .eds-contrast .eds-dropdown .eds-icon-button:focus {
404
404
  outline: 2px solid #181c56;
405
405
  outline-color: var(--basecolors-stroke-focus-standard);
406
406
  outline-offset: 0.125rem;
407
407
  }
408
- .eds-dropdown .eds-icon-button:active {
408
+ .eds-contrast .eds-dropdown .eds-icon-button:active {
409
409
  background-color: var(--components-button-iconbutton-standard-active);
410
410
  }
411
411
  .eds-dropdown__appendix {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.4.5",
3
+ "version": "5.4.6",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.84",
31
31
  "@entur/button": "^3.2.21",
32
- "@entur/chip": "^0.7.6",
33
- "@entur/form": "^7.1.5",
32
+ "@entur/chip": "^0.7.7",
33
+ "@entur/form": "^7.1.6",
34
34
  "@entur/icons": "^6.16.0",
35
35
  "@entur/loader": "^0.4.65",
36
36
  "@entur/tokens": "^3.14.0",
@@ -39,5 +39,5 @@
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^8.3.3"
41
41
  },
42
- "gitHead": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
42
+ "gitHead": "3c7f2eef6a200733249c13a3eaf5796054e44fb6"
43
43
  }