@entur/chip 0.6.36 → 0.6.38

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 +7 -7
package/dist/styles.css CHANGED
@@ -33,6 +33,45 @@
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. */
36
75
  .eds-choice-chip {
37
76
  cursor: pointer;
38
77
  display: inline-block;
@@ -105,42 +144,43 @@
105
144
  }
106
145
  /* DO NOT CHANGE!*/
107
146
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
108
- .eds-action-chip {
109
- cursor: pointer;
110
- }
111
- .eds-action-chip:focus {
112
- outline: none;
113
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
114
- outline-offset: 0.125rem;
115
- }
116
- .eds-contrast .eds-action-chip:focus {
117
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
118
- }
119
- .eds-action-chip:hover {
120
- border-color: #181c56;
147
+ .eds-tag-chip {
148
+ cursor: default;
149
+ padding-right: 0.25rem;
150
+ width: -moz-fit-content;
151
+ width: fit-content;
121
152
  }
122
- .eds-contrast .eds-action-chip:hover {
123
- background-color: #54568c;
124
- border-color: #54568c;
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;
161
+ 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;
125
167
  }
126
- .eds-action-chip:active {
127
- background: #d1d4e3;
168
+ .eds-contrast .eds-tag-chip__close-button {
169
+ color: #ffffff;
128
170
  }
129
- .eds-contrast .eds-action-chip:active {
130
- background-color: #292b6a;
131
- border-color: #292b6a;
171
+ .eds-tag-chip__close-button:hover {
172
+ background: #babbcf;
132
173
  }
133
- .eds-action-chip--disabled {
134
- opacity: 0.5;
135
- pointer-events: none;
174
+ .eds-contrast .eds-tag-chip__close-button:hover {
175
+ background: #54568c;
136
176
  }
137
- .eds-action-chip--disabled__wrapper {
138
- cursor: not-allowed;
139
- width: -moz-fit-content;
140
- width: fit-content;
177
+ .eds-tag-chip__close-button:focus {
178
+ outline-offset: 0.125rem;
179
+ outline: none;
180
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
141
181
  }
142
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
143
- background-color: #ffffff;
182
+ .eds-contrast .eds-tag-chip__close-button:focus {
183
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
144
184
  }
145
185
  /* DO NOT CHANGE!*/
146
186
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -228,43 +268,3 @@
228
268
  stroke-dashoffset: 0;
229
269
  }
230
270
  }
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.36",
3
+ "version": "0.6.38",
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.9",
31
- "@entur/icons": "^6.3.0",
32
- "@entur/loader": "^0.4.31",
33
- "@entur/tokens": "^3.9.0",
34
- "@entur/utils": "^0.9.0",
30
+ "@entur/form": "^7.0.11",
31
+ "@entur/icons": "^6.3.1",
32
+ "@entur/loader": "^0.4.33",
33
+ "@entur/tokens": "^3.10.0",
34
+ "@entur/utils": "^0.9.2",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "8f124a94b17be084024892eca96ab800f18ceca2"
37
+ "gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
38
38
  }