@entur/chip 0.6.37 → 0.6.38
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 +62 -62
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -3,43 +3,33 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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;
|
|
6
|
+
.eds-chip {
|
|
7
|
+
background: #ebebf1;
|
|
8
|
+
border: 0.0625rem solid #d1d4e3;
|
|
9
|
+
border-radius: 1rem;
|
|
10
|
+
color: inherit;
|
|
11
|
+
font-family: inherit;
|
|
22
12
|
font-size: 0.875rem;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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;
|
|
29
20
|
}
|
|
30
|
-
.eds-
|
|
31
|
-
|
|
21
|
+
.eds-chip svg {
|
|
22
|
+
font-size: 0.875rem;
|
|
32
23
|
}
|
|
33
|
-
.eds-contrast .eds-
|
|
34
|
-
background: #
|
|
24
|
+
.eds-contrast .eds-chip {
|
|
25
|
+
background-color: #393d79;
|
|
26
|
+
border-color: transparent;
|
|
35
27
|
}
|
|
36
|
-
.eds-
|
|
37
|
-
|
|
38
|
-
outline: none;
|
|
39
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
28
|
+
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
29
|
+
margin-right: 0.5rem;
|
|
40
30
|
}
|
|
41
|
-
.eds-
|
|
42
|
-
|
|
31
|
+
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
32
|
+
margin-left: 0.5rem;
|
|
43
33
|
}
|
|
44
34
|
/* DO NOT CHANGE!*/
|
|
45
35
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -82,36 +72,6 @@
|
|
|
82
72
|
}
|
|
83
73
|
/* DO NOT CHANGE!*/
|
|
84
74
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
85
|
-
.eds-chip {
|
|
86
|
-
background: #ebebf1;
|
|
87
|
-
border: 0.0625rem solid #d1d4e3;
|
|
88
|
-
border-radius: 1rem;
|
|
89
|
-
color: inherit;
|
|
90
|
-
font-family: inherit;
|
|
91
|
-
font-size: 0.875rem;
|
|
92
|
-
height: 2rem;
|
|
93
|
-
min-width: 3rem;
|
|
94
|
-
padding: 0 0.75rem;
|
|
95
|
-
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
96
|
-
display: flex;
|
|
97
|
-
justify-content: center;
|
|
98
|
-
align-items: center;
|
|
99
|
-
}
|
|
100
|
-
.eds-chip svg {
|
|
101
|
-
font-size: 0.875rem;
|
|
102
|
-
}
|
|
103
|
-
.eds-contrast .eds-chip {
|
|
104
|
-
background-color: #393d79;
|
|
105
|
-
border-color: transparent;
|
|
106
|
-
}
|
|
107
|
-
.eds-chip--leading-icon .eds-icon:first-of-type {
|
|
108
|
-
margin-right: 0.5rem;
|
|
109
|
-
}
|
|
110
|
-
.eds-chip--trailing-icon .eds-icon:last-of-type {
|
|
111
|
-
margin-left: 0.5rem;
|
|
112
|
-
}
|
|
113
|
-
/* DO NOT CHANGE!*/
|
|
114
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
115
75
|
.eds-choice-chip {
|
|
116
76
|
cursor: pointer;
|
|
117
77
|
display: inline-block;
|
|
@@ -184,6 +144,46 @@
|
|
|
184
144
|
}
|
|
185
145
|
/* DO NOT CHANGE!*/
|
|
186
146
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
147
|
+
.eds-tag-chip {
|
|
148
|
+
cursor: default;
|
|
149
|
+
padding-right: 0.25rem;
|
|
150
|
+
width: -moz-fit-content;
|
|
151
|
+
width: fit-content;
|
|
152
|
+
}
|
|
153
|
+
.eds-tag-chip__close-button {
|
|
154
|
+
-webkit-appearance: none;
|
|
155
|
+
-moz-appearance: none;
|
|
156
|
+
appearance: none;
|
|
157
|
+
background: none;
|
|
158
|
+
border: none;
|
|
159
|
+
border-radius: 50%;
|
|
160
|
+
color: #181c56;
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
display: flex;
|
|
163
|
+
font-size: 0.875rem;
|
|
164
|
+
padding: 0.25rem;
|
|
165
|
+
margin-left: 0.25rem;
|
|
166
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
167
|
+
}
|
|
168
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
169
|
+
color: #ffffff;
|
|
170
|
+
}
|
|
171
|
+
.eds-tag-chip__close-button:hover {
|
|
172
|
+
background: #babbcf;
|
|
173
|
+
}
|
|
174
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
175
|
+
background: #54568c;
|
|
176
|
+
}
|
|
177
|
+
.eds-tag-chip__close-button:focus {
|
|
178
|
+
outline-offset: 0.125rem;
|
|
179
|
+
outline: none;
|
|
180
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
181
|
+
}
|
|
182
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
183
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
184
|
+
}
|
|
185
|
+
/* DO NOT CHANGE!*/
|
|
186
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
187
187
|
.eds-filter-chip {
|
|
188
188
|
cursor: pointer;
|
|
189
189
|
-webkit-user-select: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.38",
|
|
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.
|
|
30
|
+
"@entur/form": "^7.0.11",
|
|
31
31
|
"@entur/icons": "^6.3.1",
|
|
32
|
-
"@entur/loader": "^0.4.
|
|
32
|
+
"@entur/loader": "^0.4.33",
|
|
33
33
|
"@entur/tokens": "^3.10.0",
|
|
34
|
-
"@entur/utils": "^0.9.
|
|
34
|
+
"@entur/utils": "^0.9.2",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
|
|
38
38
|
}
|