@entur/dropdown 3.0.17 → 3.0.19-RC.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.19-RC.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.19-alpha.1...@entur/dropdown@3.0.19-RC.0) (2022-11-21)
7
+
8
+ **Note:** Version bump only for package @entur/dropdown
9
+
10
+ ## [3.0.19-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.19-alpha.0...@entur/dropdown@3.0.19-alpha.1) (2022-10-26)
11
+
12
+ **Note:** Version bump only for package @entur/dropdown
13
+
14
+ ## [3.0.19-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.18...@entur/dropdown@3.0.19-alpha.0) (2022-10-20)
15
+
16
+ **Note:** Version bump only for package @entur/dropdown
17
+
18
+ ## [3.0.18](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.17...@entur/dropdown@3.0.18) (2022-10-12)
19
+
20
+ **Note:** Version bump only for package @entur/dropdown
21
+
6
22
  ## [3.0.17](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.16...@entur/dropdown@3.0.17) (2022-10-05)
7
23
 
8
24
  ### Bug Fixes
package/dist/styles.css CHANGED
@@ -15,6 +15,71 @@
15
15
  color: #181c56;
16
16
  }/* DO NOT CHANGE!*/
17
17
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
+ .eds-dropdown-list {
19
+ border-radius: 0.25rem;
20
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
21
+ display: none;
22
+ list-style: none;
23
+ margin: 0;
24
+ max-height: 50vh;
25
+ padding: 0;
26
+ position: relative;
27
+ overflow-y: auto;
28
+ width: 100%;
29
+ z-index: 20;
30
+ }
31
+ .eds-contrast .eds-dropdown-list {
32
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
33
+ }
34
+ .eds-dropdown-list--open {
35
+ display: inline-block;
36
+ }
37
+ .eds-dropdown-list:focus {
38
+ outline: none;
39
+ }
40
+ @media all and (min-width: 50rem) {
41
+ .eds-dropdown-list {
42
+ max-height: 30vh;
43
+ }
44
+ }
45
+
46
+ .eds-dropdown-list__item {
47
+ align-items: center;
48
+ background-color: #f8f8f8;
49
+ border-bottom: 0.125rem solid #e9e9e9;
50
+ border-left: 0.125rem solid #e9e9e9;
51
+ border-right: 0.125rem solid #e9e9e9;
52
+ color: #181c56;
53
+ display: flex;
54
+ justify-content: space-between;
55
+ font-family: inherit;
56
+ font-size: 1rem;
57
+ line-height: 1.25rem;
58
+ padding: 0.75rem 1rem;
59
+ width: 100%;
60
+ }
61
+ .eds-dropdown-list__item:first-child {
62
+ border-top: 0.125rem solid #e9e9e9;
63
+ }
64
+ .eds-dropdown-list__item:last-child {
65
+ border-bottom: none;
66
+ }
67
+ .eds-contrast .eds-dropdown-list__item {
68
+ color: #181c56;
69
+ border-color: #54568c;
70
+ background-color: #ffffff;
71
+ }
72
+ .eds-dropdown-list__item--highlighted {
73
+ background-color: #d1d4e3;
74
+ }
75
+ .eds-contrast .eds-dropdown-list__item--highlighted {
76
+ background-color: #d1d4e3;
77
+ }
78
+
79
+ .eds-dropdown-list__item-icon {
80
+ margin-left: 0.75rem;
81
+ }/* DO NOT CHANGE!*/
82
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
83
  .eds-multi-select {
19
84
  position: relative;
20
85
  }
@@ -112,71 +177,6 @@
112
177
  }
113
178
  }/* DO NOT CHANGE!*/
114
179
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
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 {
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;
150
- display: flex;
151
- justify-content: space-between;
152
- font-family: inherit;
153
- font-size: 1rem;
154
- line-height: 1.25rem;
155
- padding: 0.75rem 1rem;
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;
178
- }/* DO NOT CHANGE!*/
179
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
180
180
  .eds-inline-spinner {
181
181
  align-items: center;
182
182
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.17",
3
+ "version": "3.0.19-RC.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.49",
31
- "@entur/chip": "^0.6.7",
32
- "@entur/form": "^5.4.4",
33
- "@entur/icons": "^4.3.3",
34
- "@entur/loader": "^0.4.12",
30
+ "@entur/a11y": "^0.2.50-RC.0",
31
+ "@entur/chip": "^0.6.9-RC.0",
32
+ "@entur/form": "^5.4.6-RC.0",
33
+ "@entur/icons": "^5.0.1-RC.0",
34
+ "@entur/loader": "^0.4.13-RC.0",
35
35
  "@entur/tokens": "^3.4.1",
36
- "@entur/tooltip": "^2.5.16",
37
- "@entur/utils": "^0.4.5",
36
+ "@entur/tooltip": "^2.5.18-RC.0",
37
+ "@entur/utils": "^0.5.0-RC.0",
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "gitHead": "9ae8c78160b6a9c946b95ceb81f300ca79625e11"
41
+ "gitHead": "eb50f5092d80dcdfe5c35bdcd7970e9af29e620a"
42
42
  }