@entur/chip 0.6.15 → 0.6.16
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/CHANGELOG.md +4 -0
- package/dist/styles.css +40 -50
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.6.16](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.15...@entur/chip@0.6.16) (2023-01-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/chip
|
|
9
|
+
|
|
6
10
|
## [0.6.15](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.12...@entur/chip@0.6.15) (2022-12-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/chip
|
package/dist/styles.css
CHANGED
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
}
|
|
34
34
|
.eds-action-chip--disabled__wrapper {
|
|
35
35
|
cursor: not-allowed;
|
|
36
|
-
width: -webkit-fit-content;
|
|
37
36
|
width: -moz-fit-content;
|
|
38
37
|
width: fit-content;
|
|
39
38
|
}
|
|
@@ -70,46 +69,6 @@
|
|
|
70
69
|
margin-left: 0.5rem;
|
|
71
70
|
}/* DO NOT CHANGE!*/
|
|
72
71
|
/* 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. */
|
|
113
72
|
.eds-choice-chip {
|
|
114
73
|
cursor: pointer;
|
|
115
74
|
display: inline-block;
|
|
@@ -181,6 +140,45 @@
|
|
|
181
140
|
color: #babbcf;
|
|
182
141
|
}/* DO NOT CHANGE!*/
|
|
183
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. */
|
|
184
182
|
.eds-filter-chip {
|
|
185
183
|
cursor: pointer;
|
|
186
184
|
-webkit-user-select: none;
|
|
@@ -188,7 +186,6 @@
|
|
|
188
186
|
-ms-user-select: none;
|
|
189
187
|
user-select: none;
|
|
190
188
|
padding-left: 0.25rem;
|
|
191
|
-
width: -webkit-fit-content;
|
|
192
189
|
width: -moz-fit-content;
|
|
193
190
|
width: fit-content;
|
|
194
191
|
}
|
|
@@ -203,8 +200,7 @@
|
|
|
203
200
|
}
|
|
204
201
|
.eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
|
|
205
202
|
stroke: #181c56;
|
|
206
|
-
|
|
207
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
203
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
208
204
|
}
|
|
209
205
|
.eds-contrast .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
|
|
210
206
|
stroke: #5ac39a;
|
|
@@ -263,12 +259,6 @@
|
|
|
263
259
|
stroke-width: 0.375rem;
|
|
264
260
|
}
|
|
265
261
|
|
|
266
|
-
@-webkit-keyframes stroke {
|
|
267
|
-
100% {
|
|
268
|
-
stroke-dashoffset: 0;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
262
|
@keyframes stroke {
|
|
273
263
|
100% {
|
|
274
264
|
stroke-dashoffset: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/chip.esm.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"start": "dts watch --noClean",
|
|
21
21
|
"build": "dts build",
|
|
22
|
-
"test": "dts test
|
|
22
|
+
"test": "dts test",
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -27,10 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/form": "^5.4.
|
|
31
|
-
"@entur/
|
|
32
|
-
"@entur/
|
|
30
|
+
"@entur/form": "^5.4.13",
|
|
31
|
+
"@entur/icons": "^5.4.1",
|
|
32
|
+
"@entur/loader": "^0.4.16",
|
|
33
|
+
"@entur/tokens": "^3.4.4",
|
|
34
|
+
"@entur/utils": "^0.4.9",
|
|
33
35
|
"classnames": "^2.3.1"
|
|
34
36
|
},
|
|
35
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "de71e205560a699e2dce301e133966dc9348c459"
|
|
36
38
|
}
|