@entur/dropdown 3.0.30 → 3.0.31

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 +79 -79
  2. package/package.json +11 -11
package/dist/styles.css CHANGED
@@ -2,85 +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 + .eds-form-control__append {
6
- margin-left: -2em;
7
- pointer-events: none;
8
- }
9
-
10
- .eds-dropdown option {
11
- color: #181c56;
12
- background-color: #ffffff;
13
- }
14
- .eds-contrast .eds-dropdown option {
15
- color: #181c56;
16
- }@charset "UTF-8";
17
- /* DO NOT CHANGE!*/
18
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
19
- .eds-dropdown-list {
20
- border-radius: 0.25rem;
21
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
22
- display: none;
23
- list-style: none;
24
- margin: 0;
25
- max-height: 50vh;
26
- padding: 0;
27
- position: relative;
28
- overflow-y: auto;
29
- width: 100%;
30
- z-index: 20;
31
- }
32
- .eds-contrast .eds-dropdown-list {
33
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
34
- }
35
- .eds-dropdown-list--open {
36
- display: inline-block;
37
- }
38
- .eds-dropdown-list:focus {
39
- outline: none;
40
- }
41
- @media all and (min-width: 50rem) {
42
- .eds-dropdown-list {
43
- max-height: 30vh;
44
- }
45
- }
46
-
47
- .eds-dropdown-list__item {
48
- align-items: center;
49
- background-color: #f8f8f8;
50
- border-bottom: 0.125rem solid #e9e9e9;
51
- border-left: 0.125rem solid #e9e9e9;
52
- border-right: 0.125rem solid #e9e9e9;
53
- color: #181c56;
54
- display: flex;
55
- justify-content: space-between;
56
- font-family: inherit;
57
- font-size: 1rem;
58
- line-height: 1.25rem;
59
- padding: 0.75rem 1rem;
60
- width: 100%;
61
- }
62
- .eds-dropdown-list__item:first-child {
63
- border-top: 0.125rem solid #e9e9e9;
64
- }
65
- .eds-dropdown-list__item:last-child {
66
- border-bottom: none;
67
- }
68
- .eds-contrast .eds-dropdown-list__item {
69
- color: #181c56;
70
- border-color: #54568c;
71
- background-color: #ffffff;
72
- }
73
- .eds-dropdown-list__item--highlighted  {
74
- background-color: #d1d4e3;
75
- }
76
- .eds-contrast .eds-dropdown-list__item--highlighted  {
77
- background-color: #d1d4e3;
78
- }
79
-
80
- .eds-dropdown-list__item-icon {
81
- margin-left: 0.75rem;
82
- }/* DO NOT CHANGE!*/
83
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
84
5
  .eds-multi-select {
85
6
  position: relative;
86
7
  }
@@ -169,6 +90,85 @@
169
90
  100% {
170
91
  stroke-dashoffset: 0;
171
92
  }
93
+ }@charset "UTF-8";
94
+ /* DO NOT CHANGE!*/
95
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
96
+ .eds-dropdown-list {
97
+ border-radius: 0.25rem;
98
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
99
+ display: none;
100
+ list-style: none;
101
+ margin: 0;
102
+ max-height: 50vh;
103
+ padding: 0;
104
+ position: relative;
105
+ overflow-y: auto;
106
+ width: 100%;
107
+ z-index: 20;
108
+ }
109
+ .eds-contrast .eds-dropdown-list {
110
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
111
+ }
112
+ .eds-dropdown-list--open {
113
+ display: inline-block;
114
+ }
115
+ .eds-dropdown-list:focus {
116
+ outline: none;
117
+ }
118
+ @media all and (min-width: 50rem) {
119
+ .eds-dropdown-list {
120
+ max-height: 30vh;
121
+ }
122
+ }
123
+
124
+ .eds-dropdown-list__item {
125
+ align-items: center;
126
+ background-color: #f8f8f8;
127
+ border-bottom: 0.125rem solid #e9e9e9;
128
+ border-left: 0.125rem solid #e9e9e9;
129
+ border-right: 0.125rem solid #e9e9e9;
130
+ color: #181c56;
131
+ display: flex;
132
+ justify-content: space-between;
133
+ font-family: inherit;
134
+ font-size: 1rem;
135
+ line-height: 1.25rem;
136
+ padding: 0.75rem 1rem;
137
+ width: 100%;
138
+ }
139
+ .eds-dropdown-list__item:first-child {
140
+ border-top: 0.125rem solid #e9e9e9;
141
+ }
142
+ .eds-dropdown-list__item:last-child {
143
+ border-bottom: none;
144
+ }
145
+ .eds-contrast .eds-dropdown-list__item {
146
+ color: #181c56;
147
+ border-color: #54568c;
148
+ background-color: #ffffff;
149
+ }
150
+ .eds-dropdown-list__item--highlighted  {
151
+ background-color: #d1d4e3;
152
+ }
153
+ .eds-contrast .eds-dropdown-list__item--highlighted  {
154
+ background-color: #d1d4e3;
155
+ }
156
+
157
+ .eds-dropdown-list__item-icon {
158
+ margin-left: 0.75rem;
159
+ }/* DO NOT CHANGE!*/
160
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
161
+ .eds-dropdown + .eds-form-control__append {
162
+ margin-left: -2em;
163
+ pointer-events: none;
164
+ }
165
+
166
+ .eds-dropdown option {
167
+ color: #181c56;
168
+ background-color: #ffffff;
169
+ }
170
+ .eds-contrast .eds-dropdown option {
171
+ color: #181c56;
172
172
  }/* DO NOT CHANGE!*/
173
173
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
174
174
  .eds-inline-spinner {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.30",
3
+ "version": "3.0.31",
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.58",
31
- "@entur/button": "^2.10.13",
32
- "@entur/chip": "^0.6.20",
33
- "@entur/form": "^5.4.17",
34
- "@entur/icons": "^5.7.0",
35
- "@entur/loader": "^0.4.21",
36
- "@entur/tokens": "^3.7.0",
37
- "@entur/tooltip": "^2.6.4",
38
- "@entur/utils": "^0.5.4",
30
+ "@entur/a11y": "^0.2.59",
31
+ "@entur/button": "^2.10.14",
32
+ "@entur/chip": "^0.6.21",
33
+ "@entur/form": "^5.4.18",
34
+ "@entur/icons": "^5.8.0",
35
+ "@entur/loader": "^0.4.22",
36
+ "@entur/tokens": "^3.8.0",
37
+ "@entur/tooltip": "^2.6.5",
38
+ "@entur/utils": "^0.5.5",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^6.1.7"
41
41
  },
42
- "gitHead": "ff44073d29948fc811c0dbd6921c003794285c06"
42
+ "gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
43
43
  }