@entur/chip 0.6.20 → 0.6.21
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/dist/styles.css +68 -68
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
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-chip {
|
|
6
|
+
background: #ebebf1;
|
|
7
|
+
border: 0.0625rem solid #d1d4e3;
|
|
8
|
+
border-radius: 1rem;
|
|
9
|
+
color: inherit;
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
font-size: 0.875rem;
|
|
12
|
+
height: 2rem;
|
|
13
|
+
min-width: 3rem;
|
|
14
|
+
padding: 0 0.75rem;
|
|
15
|
+
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
.eds-chip svg {
|
|
21
|
+
font-size: 0.875rem;
|
|
22
|
+
}
|
|
23
|
+
.eds-contrast .eds-chip {
|
|
24
|
+
background-color: #393d79;
|
|
25
|
+
border-color: transparent;
|
|
26
|
+
}
|
|
27
|
+
.eds-chip--leading-icon .eds-icon {
|
|
28
|
+
margin-right: 0.5rem;
|
|
29
|
+
}
|
|
30
|
+
.eds-chip--trailing-icon .eds-icon {
|
|
31
|
+
margin-left: 0.5rem;
|
|
32
|
+
}/* DO NOT CHANGE!*/
|
|
33
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
34
|
.eds-choice-chip {
|
|
6
35
|
cursor: pointer;
|
|
7
36
|
display: inline-block;
|
|
@@ -73,35 +102,6 @@
|
|
|
73
102
|
color: #babbcf;
|
|
74
103
|
}/* DO NOT CHANGE!*/
|
|
75
104
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
76
|
-
.eds-chip {
|
|
77
|
-
background: #ebebf1;
|
|
78
|
-
border: 0.0625rem solid #d1d4e3;
|
|
79
|
-
border-radius: 1rem;
|
|
80
|
-
color: inherit;
|
|
81
|
-
font-family: inherit;
|
|
82
|
-
font-size: 0.875rem;
|
|
83
|
-
height: 2rem;
|
|
84
|
-
min-width: 3rem;
|
|
85
|
-
padding: 0 0.75rem;
|
|
86
|
-
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
.eds-chip svg {
|
|
92
|
-
font-size: 0.875rem;
|
|
93
|
-
}
|
|
94
|
-
.eds-contrast .eds-chip {
|
|
95
|
-
background-color: #393d79;
|
|
96
|
-
border-color: transparent;
|
|
97
|
-
}
|
|
98
|
-
.eds-chip--leading-icon .eds-icon {
|
|
99
|
-
margin-right: 0.5rem;
|
|
100
|
-
}
|
|
101
|
-
.eds-chip--trailing-icon .eds-icon {
|
|
102
|
-
margin-left: 0.5rem;
|
|
103
|
-
}/* DO NOT CHANGE!*/
|
|
104
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
105
105
|
.eds-action-chip {
|
|
106
106
|
cursor: pointer;
|
|
107
107
|
}
|
|
@@ -140,6 +140,45 @@
|
|
|
140
140
|
background-color: #ffffff;
|
|
141
141
|
}/* DO NOT CHANGE!*/
|
|
142
142
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
+
.eds-tag-chip {
|
|
144
|
+
cursor: default;
|
|
145
|
+
padding-right: 0.25rem;
|
|
146
|
+
width: -moz-fit-content;
|
|
147
|
+
width: fit-content;
|
|
148
|
+
}
|
|
149
|
+
.eds-tag-chip__close-button {
|
|
150
|
+
-webkit-appearance: none;
|
|
151
|
+
-moz-appearance: none;
|
|
152
|
+
appearance: none;
|
|
153
|
+
background: none;
|
|
154
|
+
border: none;
|
|
155
|
+
border-radius: 50%;
|
|
156
|
+
color: #181c56;
|
|
157
|
+
cursor: pointer;
|
|
158
|
+
display: flex;
|
|
159
|
+
font-size: 0.875rem;
|
|
160
|
+
padding: 0.25rem;
|
|
161
|
+
margin-left: 0.25rem;
|
|
162
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
163
|
+
}
|
|
164
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
165
|
+
color: #ffffff;
|
|
166
|
+
}
|
|
167
|
+
.eds-tag-chip__close-button:hover {
|
|
168
|
+
background: #babbcf;
|
|
169
|
+
}
|
|
170
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
171
|
+
background: #54568c;
|
|
172
|
+
}
|
|
173
|
+
.eds-tag-chip__close-button:focus {
|
|
174
|
+
outline-offset: 0.125rem;
|
|
175
|
+
outline: none;
|
|
176
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
177
|
+
}
|
|
178
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
179
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
180
|
+
}/* DO NOT CHANGE!*/
|
|
181
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
182
|
.eds-filter-chip {
|
|
144
183
|
cursor: pointer;
|
|
145
184
|
-webkit-user-select: none;
|
|
@@ -223,43 +262,4 @@
|
|
|
223
262
|
100% {
|
|
224
263
|
stroke-dashoffset: 0;
|
|
225
264
|
}
|
|
226
|
-
}/* DO NOT CHANGE!*/
|
|
227
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
|
-
.eds-tag-chip {
|
|
229
|
-
cursor: default;
|
|
230
|
-
padding-right: 0.25rem;
|
|
231
|
-
width: -moz-fit-content;
|
|
232
|
-
width: fit-content;
|
|
233
|
-
}
|
|
234
|
-
.eds-tag-chip__close-button {
|
|
235
|
-
-webkit-appearance: none;
|
|
236
|
-
-moz-appearance: none;
|
|
237
|
-
appearance: none;
|
|
238
|
-
background: none;
|
|
239
|
-
border: none;
|
|
240
|
-
border-radius: 50%;
|
|
241
|
-
color: #181c56;
|
|
242
|
-
cursor: pointer;
|
|
243
|
-
display: flex;
|
|
244
|
-
font-size: 0.875rem;
|
|
245
|
-
padding: 0.25rem;
|
|
246
|
-
margin-left: 0.25rem;
|
|
247
|
-
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
248
|
-
}
|
|
249
|
-
.eds-contrast .eds-tag-chip__close-button {
|
|
250
|
-
color: #ffffff;
|
|
251
|
-
}
|
|
252
|
-
.eds-tag-chip__close-button:hover {
|
|
253
|
-
background: #babbcf;
|
|
254
|
-
}
|
|
255
|
-
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
256
|
-
background: #54568c;
|
|
257
|
-
}
|
|
258
|
-
.eds-tag-chip__close-button:focus {
|
|
259
|
-
outline-offset: 0.125rem;
|
|
260
|
-
outline: none;
|
|
261
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
262
|
-
}
|
|
263
|
-
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
264
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
265
265
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
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": "^5.4.
|
|
31
|
-
"@entur/icons": "^5.
|
|
32
|
-
"@entur/loader": "^0.4.
|
|
33
|
-
"@entur/tokens": "^3.
|
|
34
|
-
"@entur/utils": "^0.5.
|
|
30
|
+
"@entur/form": "^5.4.18",
|
|
31
|
+
"@entur/icons": "^5.8.0",
|
|
32
|
+
"@entur/loader": "^0.4.22",
|
|
33
|
+
"@entur/tokens": "^3.8.0",
|
|
34
|
+
"@entur/utils": "^0.5.5",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
|
|
38
38
|
}
|