@entur/chip 0.6.34 → 0.6.35
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 +69 -69
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -3,36 +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-chip {
|
|
7
|
-
background: #ebebf1;
|
|
8
|
-
border: 0.0625rem solid #d1d4e3;
|
|
9
|
-
border-radius: 1rem;
|
|
10
|
-
color: inherit;
|
|
11
|
-
font-family: inherit;
|
|
12
|
-
font-size: 0.875rem;
|
|
13
|
-
height: 2rem;
|
|
14
|
-
min-width: 3rem;
|
|
15
|
-
padding: 0 0.75rem;
|
|
16
|
-
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
align-items: center;
|
|
20
|
-
}
|
|
21
|
-
.eds-chip svg {
|
|
22
|
-
font-size: 0.875rem;
|
|
23
|
-
}
|
|
24
|
-
.eds-contrast .eds-chip {
|
|
25
|
-
background-color: #393d79;
|
|
26
|
-
border-color: transparent;
|
|
27
|
-
}
|
|
28
|
-
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
29
|
-
margin-right: 0.5rem;
|
|
30
|
-
}
|
|
31
|
-
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
32
|
-
margin-left: 0.5rem;
|
|
33
|
-
}
|
|
34
|
-
/* DO NOT CHANGE!*/
|
|
35
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
36
6
|
.eds-choice-chip {
|
|
37
7
|
cursor: pointer;
|
|
38
8
|
display: inline-block;
|
|
@@ -105,6 +75,45 @@
|
|
|
105
75
|
}
|
|
106
76
|
/* DO NOT CHANGE!*/
|
|
107
77
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
78
|
+
.eds-action-chip {
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
.eds-action-chip:focus {
|
|
82
|
+
outline: none;
|
|
83
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
84
|
+
outline-offset: 0.125rem;
|
|
85
|
+
}
|
|
86
|
+
.eds-contrast .eds-action-chip:focus {
|
|
87
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
88
|
+
}
|
|
89
|
+
.eds-action-chip:hover {
|
|
90
|
+
border-color: #181c56;
|
|
91
|
+
}
|
|
92
|
+
.eds-contrast .eds-action-chip:hover {
|
|
93
|
+
background-color: #54568c;
|
|
94
|
+
border-color: #54568c;
|
|
95
|
+
}
|
|
96
|
+
.eds-action-chip:active {
|
|
97
|
+
background: #d1d4e3;
|
|
98
|
+
}
|
|
99
|
+
.eds-contrast .eds-action-chip:active {
|
|
100
|
+
background-color: #292b6a;
|
|
101
|
+
border-color: #292b6a;
|
|
102
|
+
}
|
|
103
|
+
.eds-action-chip--disabled {
|
|
104
|
+
opacity: 0.5;
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
}
|
|
107
|
+
.eds-action-chip--disabled__wrapper {
|
|
108
|
+
cursor: not-allowed;
|
|
109
|
+
width: -moz-fit-content;
|
|
110
|
+
width: fit-content;
|
|
111
|
+
}
|
|
112
|
+
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
113
|
+
background-color: #ffffff;
|
|
114
|
+
}
|
|
115
|
+
/* DO NOT CHANGE!*/
|
|
116
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
108
117
|
.eds-tag-chip {
|
|
109
118
|
cursor: default;
|
|
110
119
|
padding-right: 0.25rem;
|
|
@@ -145,45 +154,6 @@
|
|
|
145
154
|
}
|
|
146
155
|
/* DO NOT CHANGE!*/
|
|
147
156
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
148
|
-
.eds-action-chip {
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
}
|
|
151
|
-
.eds-action-chip:focus {
|
|
152
|
-
outline: none;
|
|
153
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
154
|
-
outline-offset: 0.125rem;
|
|
155
|
-
}
|
|
156
|
-
.eds-contrast .eds-action-chip:focus {
|
|
157
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
158
|
-
}
|
|
159
|
-
.eds-action-chip:hover {
|
|
160
|
-
border-color: #181c56;
|
|
161
|
-
}
|
|
162
|
-
.eds-contrast .eds-action-chip:hover {
|
|
163
|
-
background-color: #54568c;
|
|
164
|
-
border-color: #54568c;
|
|
165
|
-
}
|
|
166
|
-
.eds-action-chip:active {
|
|
167
|
-
background: #d1d4e3;
|
|
168
|
-
}
|
|
169
|
-
.eds-contrast .eds-action-chip:active {
|
|
170
|
-
background-color: #292b6a;
|
|
171
|
-
border-color: #292b6a;
|
|
172
|
-
}
|
|
173
|
-
.eds-action-chip--disabled {
|
|
174
|
-
opacity: 0.5;
|
|
175
|
-
pointer-events: none;
|
|
176
|
-
}
|
|
177
|
-
.eds-action-chip--disabled__wrapper {
|
|
178
|
-
cursor: not-allowed;
|
|
179
|
-
width: -moz-fit-content;
|
|
180
|
-
width: fit-content;
|
|
181
|
-
}
|
|
182
|
-
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
183
|
-
background-color: #ffffff;
|
|
184
|
-
}
|
|
185
|
-
/* DO NOT CHANGE!*/
|
|
186
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
187
157
|
.eds-filter-chip {
|
|
188
158
|
cursor: pointer;
|
|
189
159
|
-webkit-user-select: none;
|
|
@@ -268,3 +238,33 @@
|
|
|
268
238
|
stroke-dashoffset: 0;
|
|
269
239
|
}
|
|
270
240
|
}
|
|
241
|
+
/* DO NOT CHANGE!*/
|
|
242
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
243
|
+
.eds-chip {
|
|
244
|
+
background: #ebebf1;
|
|
245
|
+
border: 0.0625rem solid #d1d4e3;
|
|
246
|
+
border-radius: 1rem;
|
|
247
|
+
color: inherit;
|
|
248
|
+
font-family: inherit;
|
|
249
|
+
font-size: 0.875rem;
|
|
250
|
+
height: 2rem;
|
|
251
|
+
min-width: 3rem;
|
|
252
|
+
padding: 0 0.75rem;
|
|
253
|
+
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
254
|
+
display: flex;
|
|
255
|
+
justify-content: center;
|
|
256
|
+
align-items: center;
|
|
257
|
+
}
|
|
258
|
+
.eds-chip svg {
|
|
259
|
+
font-size: 0.875rem;
|
|
260
|
+
}
|
|
261
|
+
.eds-contrast .eds-chip {
|
|
262
|
+
background-color: #393d79;
|
|
263
|
+
border-color: transparent;
|
|
264
|
+
}
|
|
265
|
+
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
266
|
+
margin-right: 0.5rem;
|
|
267
|
+
}
|
|
268
|
+
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
269
|
+
margin-left: 0.5rem;
|
|
270
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.35",
|
|
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.
|
|
30
|
+
"@entur/form": "^7.0.8",
|
|
31
|
+
"@entur/icons": "^6.3.0",
|
|
32
32
|
"@entur/loader": "^0.4.30",
|
|
33
33
|
"@entur/tokens": "^3.9.0",
|
|
34
34
|
"@entur/utils": "^0.9.0",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a4e1d50fdac6ac767d5a90e92360c8d07e7c5e9c"
|
|
38
38
|
}
|