@entur/chip 0.6.38 → 0.6.39

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 +70 -70
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -33,45 +33,6 @@
33
33
  }
34
34
  /* DO NOT CHANGE!*/
35
35
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
36
- .eds-action-chip {
37
- cursor: pointer;
38
- }
39
- .eds-action-chip:focus {
40
- outline: none;
41
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
42
- outline-offset: 0.125rem;
43
- }
44
- .eds-contrast .eds-action-chip:focus {
45
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
46
- }
47
- .eds-action-chip:hover {
48
- border-color: #181c56;
49
- }
50
- .eds-contrast .eds-action-chip:hover {
51
- background-color: #54568c;
52
- border-color: #54568c;
53
- }
54
- .eds-action-chip:active {
55
- background: #d1d4e3;
56
- }
57
- .eds-contrast .eds-action-chip:active {
58
- background-color: #292b6a;
59
- border-color: #292b6a;
60
- }
61
- .eds-action-chip--disabled {
62
- opacity: 0.5;
63
- pointer-events: none;
64
- }
65
- .eds-action-chip--disabled__wrapper {
66
- cursor: not-allowed;
67
- width: -moz-fit-content;
68
- width: fit-content;
69
- }
70
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
71
- background-color: #ffffff;
72
- }
73
- /* DO NOT CHANGE!*/
74
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
75
36
  .eds-choice-chip {
76
37
  cursor: pointer;
77
38
  display: inline-block;
@@ -144,44 +105,43 @@
144
105
  }
145
106
  /* DO NOT CHANGE!*/
146
107
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
147
- .eds-tag-chip {
148
- cursor: default;
149
- padding-right: 0.25rem;
150
- width: -moz-fit-content;
151
- width: fit-content;
152
- }
153
- .eds-tag-chip__close-button {
154
- -webkit-appearance: none;
155
- -moz-appearance: none;
156
- appearance: none;
157
- background: none;
158
- border: none;
159
- border-radius: 50%;
160
- color: #181c56;
108
+ .eds-action-chip {
161
109
  cursor: pointer;
162
- display: flex;
163
- font-size: 0.875rem;
164
- padding: 0.25rem;
165
- margin-left: 0.25rem;
166
- transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
167
- }
168
- .eds-contrast .eds-tag-chip__close-button {
169
- color: #ffffff;
170
110
  }
171
- .eds-tag-chip__close-button:hover {
172
- background: #babbcf;
173
- }
174
- .eds-contrast .eds-tag-chip__close-button:hover {
175
- background: #54568c;
176
- }
177
- .eds-tag-chip__close-button:focus {
178
- outline-offset: 0.125rem;
111
+ .eds-action-chip:focus {
179
112
  outline: none;
180
113
  box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
114
+ outline-offset: 0.125rem;
181
115
  }
182
- .eds-contrast .eds-tag-chip__close-button:focus {
116
+ .eds-contrast .eds-action-chip:focus {
183
117
  box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
184
118
  }
119
+ .eds-action-chip:hover {
120
+ border-color: #181c56;
121
+ }
122
+ .eds-contrast .eds-action-chip:hover {
123
+ background-color: #54568c;
124
+ border-color: #54568c;
125
+ }
126
+ .eds-action-chip:active {
127
+ background: #d1d4e3;
128
+ }
129
+ .eds-contrast .eds-action-chip:active {
130
+ background-color: #292b6a;
131
+ border-color: #292b6a;
132
+ }
133
+ .eds-action-chip--disabled {
134
+ opacity: 0.5;
135
+ pointer-events: none;
136
+ }
137
+ .eds-action-chip--disabled__wrapper {
138
+ cursor: not-allowed;
139
+ width: -moz-fit-content;
140
+ width: fit-content;
141
+ }
142
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
143
+ background-color: #ffffff;
144
+ }
185
145
  /* DO NOT CHANGE!*/
186
146
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
187
147
  .eds-filter-chip {
@@ -268,3 +228,43 @@
268
228
  stroke-dashoffset: 0;
269
229
  }
270
230
  }
231
+ /* DO NOT CHANGE!*/
232
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
233
+ .eds-tag-chip {
234
+ cursor: default;
235
+ padding-right: 0.25rem;
236
+ width: -moz-fit-content;
237
+ width: fit-content;
238
+ }
239
+ .eds-tag-chip__close-button {
240
+ -webkit-appearance: none;
241
+ -moz-appearance: none;
242
+ appearance: none;
243
+ background: none;
244
+ border: none;
245
+ border-radius: 50%;
246
+ color: #181c56;
247
+ cursor: pointer;
248
+ display: flex;
249
+ font-size: 0.875rem;
250
+ padding: 0.25rem;
251
+ margin-left: 0.25rem;
252
+ transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
253
+ }
254
+ .eds-contrast .eds-tag-chip__close-button {
255
+ color: #ffffff;
256
+ }
257
+ .eds-tag-chip__close-button:hover {
258
+ background: #babbcf;
259
+ }
260
+ .eds-contrast .eds-tag-chip__close-button:hover {
261
+ background: #54568c;
262
+ }
263
+ .eds-tag-chip__close-button:focus {
264
+ outline-offset: 0.125rem;
265
+ outline: none;
266
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
267
+ }
268
+ .eds-contrast .eds-tag-chip__close-button:focus {
269
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
270
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.38",
3
+ "version": "0.6.39",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/chip.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/form": "^7.0.11",
30
+ "@entur/form": "^7.0.12",
31
31
  "@entur/icons": "^6.3.1",
32
- "@entur/loader": "^0.4.33",
32
+ "@entur/loader": "^0.4.34",
33
33
  "@entur/tokens": "^3.10.0",
34
- "@entur/utils": "^0.9.2",
34
+ "@entur/utils": "^0.9.3",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
37
+ "gitHead": "9bf0838160519db9fb072af36dc19731dfb5e2dd"
38
38
  }