@entur/chip 0.6.6 → 0.6.7
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 +79 -79
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,45 @@
|
|
|
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-action-chip {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.eds-action-chip:focus {
|
|
9
|
+
outline: none;
|
|
10
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
11
|
+
outline-offset: 0.125rem;
|
|
12
|
+
}
|
|
13
|
+
.eds-contrast .eds-action-chip:focus {
|
|
14
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
15
|
+
}
|
|
16
|
+
.eds-action-chip:hover {
|
|
17
|
+
border-color: #181c56;
|
|
18
|
+
}
|
|
19
|
+
.eds-contrast .eds-action-chip:hover {
|
|
20
|
+
background-color: #54568c;
|
|
21
|
+
border-color: #54568c;
|
|
22
|
+
}
|
|
23
|
+
.eds-action-chip:active {
|
|
24
|
+
background: #d1d4e3;
|
|
25
|
+
}
|
|
26
|
+
.eds-contrast .eds-action-chip:active {
|
|
27
|
+
background-color: #292b6a;
|
|
28
|
+
border-color: #292b6a;
|
|
29
|
+
}
|
|
30
|
+
.eds-action-chip--disabled {
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
.eds-action-chip--disabled__wrapper {
|
|
35
|
+
cursor: not-allowed;
|
|
36
|
+
width: -webkit-fit-content;
|
|
37
|
+
width: -moz-fit-content;
|
|
38
|
+
width: fit-content;
|
|
39
|
+
}
|
|
40
|
+
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
41
|
+
background-color: #ffffff;
|
|
42
|
+
}/* DO NOT CHANGE!*/
|
|
43
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
44
|
.eds-chip {
|
|
6
45
|
background: #ebebf1;
|
|
7
46
|
border: 0.0625rem solid #d1d4e3;
|
|
@@ -31,6 +70,46 @@
|
|
|
31
70
|
margin-left: 0.5rem;
|
|
32
71
|
}/* DO NOT CHANGE!*/
|
|
33
72
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
73
|
+
.eds-tag-chip {
|
|
74
|
+
cursor: default;
|
|
75
|
+
padding-right: 0.25rem;
|
|
76
|
+
width: -webkit-fit-content;
|
|
77
|
+
width: -moz-fit-content;
|
|
78
|
+
width: fit-content;
|
|
79
|
+
}
|
|
80
|
+
.eds-tag-chip__close-button {
|
|
81
|
+
-webkit-appearance: none;
|
|
82
|
+
-moz-appearance: none;
|
|
83
|
+
appearance: none;
|
|
84
|
+
background: none;
|
|
85
|
+
border: none;
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
color: #181c56;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
display: flex;
|
|
90
|
+
font-size: 0.875rem;
|
|
91
|
+
padding: 0.25rem;
|
|
92
|
+
margin-left: 0.25rem;
|
|
93
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
94
|
+
}
|
|
95
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
96
|
+
color: #ffffff;
|
|
97
|
+
}
|
|
98
|
+
.eds-tag-chip__close-button:hover {
|
|
99
|
+
background: #babbcf;
|
|
100
|
+
}
|
|
101
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
102
|
+
background: #54568c;
|
|
103
|
+
}
|
|
104
|
+
.eds-tag-chip__close-button:focus {
|
|
105
|
+
outline-offset: 0.125rem;
|
|
106
|
+
outline: none;
|
|
107
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
108
|
+
}
|
|
109
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
110
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
111
|
+
}/* DO NOT CHANGE!*/
|
|
112
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
34
113
|
.eds-choice-chip {
|
|
35
114
|
cursor: pointer;
|
|
36
115
|
display: inline-block;
|
|
@@ -102,46 +181,6 @@
|
|
|
102
181
|
color: #babbcf;
|
|
103
182
|
}/* DO NOT CHANGE!*/
|
|
104
183
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
105
|
-
.eds-tag-chip {
|
|
106
|
-
cursor: default;
|
|
107
|
-
padding-right: 0.25rem;
|
|
108
|
-
width: -webkit-fit-content;
|
|
109
|
-
width: -moz-fit-content;
|
|
110
|
-
width: fit-content;
|
|
111
|
-
}
|
|
112
|
-
.eds-tag-chip__close-button {
|
|
113
|
-
-webkit-appearance: none;
|
|
114
|
-
-moz-appearance: none;
|
|
115
|
-
appearance: none;
|
|
116
|
-
background: none;
|
|
117
|
-
border: none;
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
color: #181c56;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
display: flex;
|
|
122
|
-
font-size: 0.875rem;
|
|
123
|
-
padding: 0.25rem;
|
|
124
|
-
margin-left: 0.25rem;
|
|
125
|
-
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
126
|
-
}
|
|
127
|
-
.eds-contrast .eds-tag-chip__close-button {
|
|
128
|
-
color: #ffffff;
|
|
129
|
-
}
|
|
130
|
-
.eds-tag-chip__close-button:hover {
|
|
131
|
-
background: #babbcf;
|
|
132
|
-
}
|
|
133
|
-
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
134
|
-
background: #54568c;
|
|
135
|
-
}
|
|
136
|
-
.eds-tag-chip__close-button:focus {
|
|
137
|
-
outline-offset: 0.125rem;
|
|
138
|
-
outline: none;
|
|
139
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
140
|
-
}
|
|
141
|
-
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
142
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
143
|
-
}/* DO NOT CHANGE!*/
|
|
144
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
145
184
|
.eds-filter-chip {
|
|
146
185
|
cursor: pointer;
|
|
147
186
|
-webkit-user-select: none;
|
|
@@ -234,43 +273,4 @@
|
|
|
234
273
|
100% {
|
|
235
274
|
stroke-dashoffset: 0;
|
|
236
275
|
}
|
|
237
|
-
}/* DO NOT CHANGE!*/
|
|
238
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
239
|
-
.eds-action-chip {
|
|
240
|
-
cursor: pointer;
|
|
241
|
-
}
|
|
242
|
-
.eds-action-chip:focus {
|
|
243
|
-
outline: none;
|
|
244
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
245
|
-
outline-offset: 0.125rem;
|
|
246
|
-
}
|
|
247
|
-
.eds-contrast .eds-action-chip:focus {
|
|
248
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
249
|
-
}
|
|
250
|
-
.eds-action-chip:hover {
|
|
251
|
-
border-color: #181c56;
|
|
252
|
-
}
|
|
253
|
-
.eds-contrast .eds-action-chip:hover {
|
|
254
|
-
background-color: #54568c;
|
|
255
|
-
border-color: #54568c;
|
|
256
|
-
}
|
|
257
|
-
.eds-action-chip:active {
|
|
258
|
-
background: #d1d4e3;
|
|
259
|
-
}
|
|
260
|
-
.eds-contrast .eds-action-chip:active {
|
|
261
|
-
background-color: #292b6a;
|
|
262
|
-
border-color: #292b6a;
|
|
263
|
-
}
|
|
264
|
-
.eds-action-chip--disabled {
|
|
265
|
-
opacity: 0.5;
|
|
266
|
-
pointer-events: none;
|
|
267
|
-
}
|
|
268
|
-
.eds-action-chip--disabled__wrapper {
|
|
269
|
-
cursor: not-allowed;
|
|
270
|
-
width: -webkit-fit-content;
|
|
271
|
-
width: -moz-fit-content;
|
|
272
|
-
width: fit-content;
|
|
273
|
-
}
|
|
274
|
-
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
275
|
-
background-color: #ffffff;
|
|
276
276
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/chip.esm.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/form": "^5.4.
|
|
30
|
+
"@entur/form": "^5.4.4",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
32
|
"@entur/utils": "^0.4.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c1318d134c4097efd550872cabf41b1e67940eae"
|
|
36
36
|
}
|