@entur/dropdown 6.0.4 → 6.0.5

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 +71 -71
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,76 +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
- .eds-inline-spinner {
66
- align-items: center;
67
- display: flex;
68
- justify-content: center;
69
- height: 100%;
70
- width: 100%;
71
- }
72
- /* DO NOT CHANGE!*/
73
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
74
3
  .eds-dropdown__searchable-selected-item {
75
4
  display: block;
76
5
  font-size: 1rem;
@@ -152,6 +81,77 @@
152
81
  .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
153
82
  background-color: #8285a8;
154
83
  }
84
+ .eds-inline-spinner {
85
+ align-items: center;
86
+ display: flex;
87
+ justify-content: center;
88
+ height: 100%;
89
+ width: 100%;
90
+ }
91
+ /* DO NOT CHANGE!*/
92
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
93
+ .eds-dropdown-list {
94
+ border-radius: 0.25rem;
95
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
96
+ display: none;
97
+ list-style: none;
98
+ margin: 0;
99
+ max-height: 50vh;
100
+ padding: 0;
101
+ position: relative;
102
+ overflow-y: auto;
103
+ width: 100%;
104
+ z-index: 20;
105
+ }
106
+ .eds-contrast .eds-dropdown-list {
107
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
108
+ }
109
+ .eds-dropdown-list--open {
110
+ display: inline-block;
111
+ }
112
+ .eds-dropdown-list:focus {
113
+ outline: none;
114
+ }
115
+ @media all and (min-width: 50rem) {
116
+ .eds-dropdown-list {
117
+ max-height: 30vh;
118
+ }
119
+ }
120
+ .eds-dropdown-list__item {
121
+ align-items: center;
122
+ background-color: #f8f8f8;
123
+ border-bottom: 0.125rem solid #e9e9e9;
124
+ border-left: 0.125rem solid #e9e9e9;
125
+ border-right: 0.125rem solid #e9e9e9;
126
+ color: #181c56;
127
+ display: flex;
128
+ justify-content: space-between;
129
+ font-family: inherit;
130
+ font-size: 1rem;
131
+ line-height: 1.25rem;
132
+ padding: 0.75rem 1rem;
133
+ width: 100%;
134
+ }
135
+ .eds-dropdown-list__item:first-child {
136
+ border-top: 0.125rem solid #e9e9e9;
137
+ }
138
+ .eds-dropdown-list__item:last-child {
139
+ border-bottom: none;
140
+ }
141
+ .eds-contrast .eds-dropdown-list__item {
142
+ color: #181c56;
143
+ border-color: #54568c;
144
+ background-color: #ffffff;
145
+ }
146
+ .eds-dropdown-list__item--highlighted {
147
+ background-color: #d1d4e3;
148
+ }
149
+ .eds-contrast .eds-dropdown-list__item--highlighted {
150
+ background-color: #d1d4e3;
151
+ }
152
+ .eds-dropdown-list-icon {
153
+ margin-left: 0.75rem;
154
+ }
155
155
  /* DO NOT CHANGE!*/
156
156
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
157
157
  .eds-dropdown__toggle-button {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
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.90",
31
31
  "@entur/button": "^3.2.32",
32
- "@entur/chip": "^0.7.19",
33
- "@entur/form": "^8.1.1",
32
+ "@entur/chip": "^0.7.20",
33
+ "@entur/form": "^8.1.2",
34
34
  "@entur/icons": "^7.4.0",
35
35
  "@entur/loader": "^0.5.10",
36
36
  "@entur/tokens": "^3.17.0",
@@ -40,5 +40,5 @@
40
40
  "classnames": "^2.3.1",
41
41
  "downshift": "^9.0.8"
42
42
  },
43
- "gitHead": "045cada5d95c62d8ddfc95d82b4526742ab07d0a"
43
+ "gitHead": "65cfc261417f26cadf2be3d5cfa4786ecf262a18"
44
44
  }