@entur/chip 0.6.40 → 0.6.42
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 +70 -70
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -3,76 +3,6 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-tag-chip {
|
|
7
|
-
cursor: default;
|
|
8
|
-
padding-right: 0.25rem;
|
|
9
|
-
width: -moz-fit-content;
|
|
10
|
-
width: fit-content;
|
|
11
|
-
}
|
|
12
|
-
.eds-tag-chip__close-button {
|
|
13
|
-
-webkit-appearance: none;
|
|
14
|
-
-moz-appearance: none;
|
|
15
|
-
appearance: none;
|
|
16
|
-
background: none;
|
|
17
|
-
border: none;
|
|
18
|
-
border-radius: 50%;
|
|
19
|
-
color: #181c56;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
display: flex;
|
|
22
|
-
font-size: 0.875rem;
|
|
23
|
-
padding: 0.25rem;
|
|
24
|
-
margin-left: 0.25rem;
|
|
25
|
-
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
26
|
-
}
|
|
27
|
-
.eds-contrast .eds-tag-chip__close-button {
|
|
28
|
-
color: #ffffff;
|
|
29
|
-
}
|
|
30
|
-
.eds-tag-chip__close-button:hover {
|
|
31
|
-
background: #babbcf;
|
|
32
|
-
}
|
|
33
|
-
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
34
|
-
background: #54568c;
|
|
35
|
-
}
|
|
36
|
-
.eds-tag-chip__close-button:focus {
|
|
37
|
-
outline-offset: 0.125rem;
|
|
38
|
-
outline: none;
|
|
39
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
40
|
-
}
|
|
41
|
-
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
42
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
43
|
-
}
|
|
44
|
-
/* DO NOT CHANGE!*/
|
|
45
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
46
|
-
.eds-chip {
|
|
47
|
-
background: #ebebf1;
|
|
48
|
-
border: 0.0625rem solid #d1d4e3;
|
|
49
|
-
border-radius: 1rem;
|
|
50
|
-
color: inherit;
|
|
51
|
-
font-family: inherit;
|
|
52
|
-
font-size: 0.875rem;
|
|
53
|
-
height: 2rem;
|
|
54
|
-
min-width: 3rem;
|
|
55
|
-
padding: 0 0.75rem;
|
|
56
|
-
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
.eds-chip svg {
|
|
62
|
-
font-size: 0.875rem;
|
|
63
|
-
}
|
|
64
|
-
.eds-contrast .eds-chip {
|
|
65
|
-
background-color: #393d79;
|
|
66
|
-
border-color: transparent;
|
|
67
|
-
}
|
|
68
|
-
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
69
|
-
margin-right: 0.5rem;
|
|
70
|
-
}
|
|
71
|
-
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
72
|
-
margin-left: 0.5rem;
|
|
73
|
-
}
|
|
74
|
-
/* DO NOT CHANGE!*/
|
|
75
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
76
6
|
.eds-action-chip {
|
|
77
7
|
cursor: pointer;
|
|
78
8
|
}
|
|
@@ -112,6 +42,36 @@
|
|
|
112
42
|
}
|
|
113
43
|
/* DO NOT CHANGE!*/
|
|
114
44
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
45
|
+
.eds-chip {
|
|
46
|
+
background: #ebebf1;
|
|
47
|
+
border: 0.0625rem solid #d1d4e3;
|
|
48
|
+
border-radius: 1rem;
|
|
49
|
+
color: inherit;
|
|
50
|
+
font-family: inherit;
|
|
51
|
+
font-size: 0.875rem;
|
|
52
|
+
height: 2rem;
|
|
53
|
+
min-width: 3rem;
|
|
54
|
+
padding: 0 0.75rem;
|
|
55
|
+
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
align-items: center;
|
|
59
|
+
}
|
|
60
|
+
.eds-chip svg {
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
}
|
|
63
|
+
.eds-contrast .eds-chip {
|
|
64
|
+
background-color: #393d79;
|
|
65
|
+
border-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
68
|
+
margin-right: 0.5rem;
|
|
69
|
+
}
|
|
70
|
+
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
71
|
+
margin-left: 0.5rem;
|
|
72
|
+
}
|
|
73
|
+
/* DO NOT CHANGE!*/
|
|
74
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
115
75
|
.eds-filter-chip {
|
|
116
76
|
cursor: pointer;
|
|
117
77
|
-webkit-user-select: none;
|
|
@@ -198,6 +158,46 @@
|
|
|
198
158
|
}
|
|
199
159
|
/* DO NOT CHANGE!*/
|
|
200
160
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
161
|
+
.eds-tag-chip {
|
|
162
|
+
cursor: default;
|
|
163
|
+
padding-right: 0.25rem;
|
|
164
|
+
width: -moz-fit-content;
|
|
165
|
+
width: fit-content;
|
|
166
|
+
}
|
|
167
|
+
.eds-tag-chip__close-button {
|
|
168
|
+
-webkit-appearance: none;
|
|
169
|
+
-moz-appearance: none;
|
|
170
|
+
appearance: none;
|
|
171
|
+
background: none;
|
|
172
|
+
border: none;
|
|
173
|
+
border-radius: 50%;
|
|
174
|
+
color: #181c56;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
display: flex;
|
|
177
|
+
font-size: 0.875rem;
|
|
178
|
+
padding: 0.25rem;
|
|
179
|
+
margin-left: 0.25rem;
|
|
180
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
181
|
+
}
|
|
182
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
183
|
+
color: #ffffff;
|
|
184
|
+
}
|
|
185
|
+
.eds-tag-chip__close-button:hover {
|
|
186
|
+
background: #babbcf;
|
|
187
|
+
}
|
|
188
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
189
|
+
background: #54568c;
|
|
190
|
+
}
|
|
191
|
+
.eds-tag-chip__close-button:focus {
|
|
192
|
+
outline-offset: 0.125rem;
|
|
193
|
+
outline: none;
|
|
194
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
195
|
+
}
|
|
196
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
197
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
198
|
+
}
|
|
199
|
+
/* DO NOT CHANGE!*/
|
|
200
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
201
201
|
.eds-choice-chip {
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
display: inline-block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.42",
|
|
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.
|
|
31
|
-
"@entur/icons": "^6.4.
|
|
32
|
-
"@entur/loader": "^0.4.
|
|
30
|
+
"@entur/form": "^7.0.15",
|
|
31
|
+
"@entur/icons": "^6.4.2",
|
|
32
|
+
"@entur/loader": "^0.4.37",
|
|
33
33
|
"@entur/tokens": "^3.10.0",
|
|
34
34
|
"@entur/utils": "^0.9.3",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "5fcad4b449082b80b796ab52e68f178977f2eba7"
|
|
38
38
|
}
|