@entur/dropdown 2.2.2 → 2.2.3

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,12 @@
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
+ ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.2...@entur/dropdown@2.2.3) (2022-02-16)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **dropdown:** add missing styling for truncating searchable dropdown input ([c628982](https://bitbucket.org/enturas/design-system/commits/c628982588035720aab68745c2fbe6f612ec4fde))
11
+
6
12
  ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.1...@entur/dropdown@2.2.2) (2022-02-09)
7
13
 
8
14
  ### Bug Fixes
package/dist/styles.css CHANGED
@@ -2,19 +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
- }/* DO NOT CHANGE!*/
17
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
5
  .eds-dropdown-list {
19
6
  border-radius: 0.25rem;
20
7
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -170,13 +157,17 @@
170
157
  }
171
158
  }/* DO NOT CHANGE!*/
172
159
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
173
- .eds-dropdown__searchable-selected-item {
174
- display: block;
175
- font-size: 1rem;
176
- line-height: 1rem;
177
- margin-right: -1rem;
178
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
179
- font-family: inherit;
160
+ .eds-dropdown + .eds-form-control__append {
161
+ margin-left: -2em;
162
+ pointer-events: none;
163
+ }
164
+
165
+ .eds-dropdown option {
166
+ color: #181c56;
167
+ background-color: #ffffff;
168
+ }
169
+ .eds-contrast .eds-dropdown option {
170
+ color: #181c56;
180
171
  }/* DO NOT CHANGE!*/
181
172
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
182
173
  .eds-inline-spinner {
@@ -187,6 +178,18 @@
187
178
  width: 100%;
188
179
  }/* DO NOT CHANGE!*/
189
180
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
181
+ .eds-dropdown__searchable-selected-item {
182
+ display: block;
183
+ font-size: 1rem;
184
+ line-height: 1rem;
185
+ margin-right: -1rem;
186
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
187
+ font-family: inherit;
188
+ overflow-x: hidden;
189
+ text-overflow: ellipsis;
190
+ white-space: nowrap;
191
+ }/* DO NOT CHANGE!*/
192
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
190
193
  .eds-dropdown-wrapper {
191
194
  position: relative;
192
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -38,5 +38,5 @@
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "gitHead": "61e643371cfc5653c93160b7c220152e5b2bafeb"
41
+ "gitHead": "4c564a22ba6a2fb1d1e3b633547663ad48ee7a57"
42
42
  }