@entur/chip 0.5.0 → 0.5.1
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 +6 -0
- package/dist/styles.css +66 -65
- package/package.json +2 -2
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
|
+
## [0.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.0...@entur/chip@0.5.1) (2022-03-17)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **ChoiceChip:** add -webkit fallback for Safari ([d19f8c3](https://bitbucket.org/enturas/design-system/commits/d19f8c34b401676283ff5fbc3b10ec0a1f04d3b8))
|
|
11
|
+
|
|
6
12
|
# [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.24...@entur/chip@0.5.0) (2022-03-14)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,71 @@
|
|
|
2
2
|
--eds-chip: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
.eds-tag-chip {
|
|
6
|
+
cursor: default;
|
|
7
|
+
padding-right: 0.25rem;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
}
|
|
10
|
+
.eds-tag-chip__close-button {
|
|
11
|
+
appearance: none;
|
|
12
|
+
background: none;
|
|
13
|
+
border: none;
|
|
14
|
+
border-radius: 50%;
|
|
15
|
+
color: #181c56;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
display: flex;
|
|
18
|
+
font-size: 0.875rem;
|
|
19
|
+
padding: 0.25rem;
|
|
20
|
+
margin-left: 0.25rem;
|
|
21
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
22
|
+
}
|
|
23
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
}
|
|
26
|
+
.eds-tag-chip__close-button:hover {
|
|
27
|
+
background: #babbcf;
|
|
28
|
+
}
|
|
29
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
30
|
+
background: #54568c;
|
|
31
|
+
}
|
|
32
|
+
.eds-tag-chip__close-button:focus {
|
|
33
|
+
outline-offset: 0.125rem;
|
|
34
|
+
outline: none;
|
|
35
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
36
|
+
}
|
|
37
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
38
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
39
|
+
}/* DO NOT CHANGE!*/
|
|
40
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
41
|
+
.eds-action-chip {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
.eds-action-chip:focus {
|
|
45
|
+
outline: none;
|
|
46
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
47
|
+
outline-offset: 0.125rem;
|
|
48
|
+
}
|
|
49
|
+
.eds-contrast .eds-action-chip:focus {
|
|
50
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
51
|
+
}
|
|
52
|
+
.eds-action-chip:hover {
|
|
53
|
+
border-color: #181c56;
|
|
54
|
+
}
|
|
55
|
+
.eds-contrast .eds-action-chip:hover {
|
|
56
|
+
background-color: #54568c;
|
|
57
|
+
border-color: #54568c;
|
|
58
|
+
}
|
|
59
|
+
.eds-action-chip:active {
|
|
60
|
+
background: #d1d4e3;
|
|
61
|
+
}
|
|
62
|
+
.eds-contrast .eds-action-chip:active {
|
|
63
|
+
background-color: #292b6a;
|
|
64
|
+
border-color: #292b6a;
|
|
65
|
+
}
|
|
66
|
+
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
67
|
+
background-color: #ffffff;
|
|
68
|
+
}/* DO NOT CHANGE!*/
|
|
69
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
70
|
.eds-chip {
|
|
6
71
|
background: #ebebf1;
|
|
7
72
|
border: 0.0625rem solid #d1d4e3;
|
|
@@ -117,6 +182,7 @@
|
|
|
117
182
|
height: 0;
|
|
118
183
|
position: absolute;
|
|
119
184
|
width: 0;
|
|
185
|
+
-webkit-appearance: none;
|
|
120
186
|
}
|
|
121
187
|
.eds-choice-chip__input ~ .eds-chip {
|
|
122
188
|
background-color: transparent;
|
|
@@ -173,69 +239,4 @@
|
|
|
173
239
|
opacity: 1;
|
|
174
240
|
border-color: #8285a8;
|
|
175
241
|
color: #babbcf;
|
|
176
|
-
}/* DO NOT CHANGE!*/
|
|
177
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
178
|
-
.eds-action-chip {
|
|
179
|
-
cursor: pointer;
|
|
180
|
-
}
|
|
181
|
-
.eds-action-chip:focus {
|
|
182
|
-
outline: none;
|
|
183
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
184
|
-
outline-offset: 0.125rem;
|
|
185
|
-
}
|
|
186
|
-
.eds-contrast .eds-action-chip:focus {
|
|
187
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
188
|
-
}
|
|
189
|
-
.eds-action-chip:hover {
|
|
190
|
-
border-color: #181c56;
|
|
191
|
-
}
|
|
192
|
-
.eds-contrast .eds-action-chip:hover {
|
|
193
|
-
background-color: #54568c;
|
|
194
|
-
border-color: #54568c;
|
|
195
|
-
}
|
|
196
|
-
.eds-action-chip:active {
|
|
197
|
-
background: #d1d4e3;
|
|
198
|
-
}
|
|
199
|
-
.eds-contrast .eds-action-chip:active {
|
|
200
|
-
background-color: #292b6a;
|
|
201
|
-
border-color: #292b6a;
|
|
202
|
-
}
|
|
203
|
-
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
204
|
-
background-color: #ffffff;
|
|
205
|
-
}/* DO NOT CHANGE!*/
|
|
206
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
207
|
-
.eds-tag-chip {
|
|
208
|
-
cursor: default;
|
|
209
|
-
padding-right: 0.25rem;
|
|
210
|
-
width: fit-content;
|
|
211
|
-
}
|
|
212
|
-
.eds-tag-chip__close-button {
|
|
213
|
-
appearance: none;
|
|
214
|
-
background: none;
|
|
215
|
-
border: none;
|
|
216
|
-
border-radius: 50%;
|
|
217
|
-
color: #181c56;
|
|
218
|
-
cursor: pointer;
|
|
219
|
-
display: flex;
|
|
220
|
-
font-size: 0.875rem;
|
|
221
|
-
padding: 0.25rem;
|
|
222
|
-
margin-left: 0.25rem;
|
|
223
|
-
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
224
|
-
}
|
|
225
|
-
.eds-contrast .eds-tag-chip__close-button {
|
|
226
|
-
color: #ffffff;
|
|
227
|
-
}
|
|
228
|
-
.eds-tag-chip__close-button:hover {
|
|
229
|
-
background: #babbcf;
|
|
230
|
-
}
|
|
231
|
-
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
232
|
-
background: #54568c;
|
|
233
|
-
}
|
|
234
|
-
.eds-tag-chip__close-button:focus {
|
|
235
|
-
outline-offset: 0.125rem;
|
|
236
|
-
outline: none;
|
|
237
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
238
|
-
}
|
|
239
|
-
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
240
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
241
242
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/chip.esm.js",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"@entur/utils": "^0.4.3",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "bac1c320b3de1c10ab25a76ebb15b0cce989a27d"
|
|
36
36
|
}
|