@entur/chip 0.6.8 → 0.6.9-alpha.0

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 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.9-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.8...@entur/chip@0.6.9-alpha.0) (2022-10-20)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
6
10
  ## [0.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.7...@entur/chip@0.6.8) (2022-10-12)
7
11
 
8
12
  **Note:** Version bump only for package @entur/chip
package/dist/styles.css CHANGED
@@ -71,100 +71,6 @@
71
71
  box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
72
72
  }/* DO NOT CHANGE!*/
73
73
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
74
- .eds-filter-chip {
75
- cursor: pointer;
76
- -webkit-user-select: none;
77
- -moz-user-select: none;
78
- -ms-user-select: none;
79
- user-select: none;
80
- padding-left: 0.25rem;
81
- width: -webkit-fit-content;
82
- width: -moz-fit-content;
83
- width: fit-content;
84
- }
85
- .eds-filter-chip__input {
86
- position: absolute;
87
- opacity: 0;
88
- height: 0;
89
- width: 0;
90
- }
91
- .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon {
92
- visibility: visible;
93
- }
94
- .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
95
- stroke: #181c56;
96
- -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
97
- animation: stroke ease-in-out 0.2s 0.1s forwards;
98
- }
99
- .eds-contrast .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
100
- stroke: #5ac39a;
101
- }
102
- .eds-filter-chip[focus-within] {
103
- outline: none;
104
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
105
- outline-offset: 0.125rem;
106
- }
107
- .eds-filter-chip:focus-within {
108
- outline: none;
109
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
110
- outline-offset: 0.125rem;
111
- }
112
- .eds-contrast .eds-filter-chip[focus-within] {
113
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
114
- }
115
- .eds-contrast .eds-filter-chip:focus-within {
116
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
117
- }
118
- .eds-filter-chip:hover {
119
- border-color: #181c56;
120
- }
121
- .eds-contrast .eds-filter-chip:hover {
122
- background-color: #54568c;
123
- border-color: #54568c;
124
- }
125
- .eds-filter-chip__icon {
126
- display: inline-flex;
127
- justify-content: center;
128
- align-items: center;
129
- position: relative;
130
- margin-right: 0.5rem;
131
- height: 1.5rem;
132
- width: 1.5rem;
133
- border: 0.125rem solid transparent;
134
- border-radius: 50%;
135
- background-color: #ffffff;
136
- color: #ffffff;
137
- }
138
- .eds-contrast .eds-filter-chip__icon {
139
- background-color: #181c56;
140
- }
141
- .eds-filter-chip__icon .eds-filter-chip-icon {
142
- height: 1rem;
143
- width: 1rem;
144
- visibility: hidden;
145
- }
146
- .eds-contrast .eds-filter-chip__icon .eds-filter-chip-icon {
147
- color: #ffffff;
148
- }
149
- .eds-filter-chip__icon .eds-filter-chip-icon__path {
150
- transform-origin: 50% 50%;
151
- stroke-dasharray: 48;
152
- stroke-dashoffset: 48;
153
- stroke-width: 0.375rem;
154
- }
155
-
156
- @-webkit-keyframes stroke {
157
- 100% {
158
- stroke-dashoffset: 0;
159
- }
160
- }
161
-
162
- @keyframes stroke {
163
- 100% {
164
- stroke-dashoffset: 0;
165
- }
166
- }/* DO NOT CHANGE!*/
167
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
168
74
  .eds-choice-chip {
169
75
  cursor: pointer;
170
76
  display: inline-block;
@@ -273,4 +179,98 @@
273
179
  }
274
180
  .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
275
181
  background-color: #ffffff;
182
+ }/* DO NOT CHANGE!*/
183
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
184
+ .eds-filter-chip {
185
+ cursor: pointer;
186
+ -webkit-user-select: none;
187
+ -moz-user-select: none;
188
+ -ms-user-select: none;
189
+ user-select: none;
190
+ padding-left: 0.25rem;
191
+ width: -webkit-fit-content;
192
+ width: -moz-fit-content;
193
+ width: fit-content;
194
+ }
195
+ .eds-filter-chip__input {
196
+ position: absolute;
197
+ opacity: 0;
198
+ height: 0;
199
+ width: 0;
200
+ }
201
+ .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon {
202
+ visibility: visible;
203
+ }
204
+ .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
205
+ stroke: #181c56;
206
+ -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
207
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
208
+ }
209
+ .eds-contrast .eds-filter-chip__input:checked + .eds-filter-chip__icon .eds-filter-chip-icon__path {
210
+ stroke: #5ac39a;
211
+ }
212
+ .eds-filter-chip[focus-within] {
213
+ outline: none;
214
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
215
+ outline-offset: 0.125rem;
216
+ }
217
+ .eds-filter-chip:focus-within {
218
+ outline: none;
219
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
220
+ outline-offset: 0.125rem;
221
+ }
222
+ .eds-contrast .eds-filter-chip[focus-within] {
223
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
224
+ }
225
+ .eds-contrast .eds-filter-chip:focus-within {
226
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
227
+ }
228
+ .eds-filter-chip:hover {
229
+ border-color: #181c56;
230
+ }
231
+ .eds-contrast .eds-filter-chip:hover {
232
+ background-color: #54568c;
233
+ border-color: #54568c;
234
+ }
235
+ .eds-filter-chip__icon {
236
+ display: inline-flex;
237
+ justify-content: center;
238
+ align-items: center;
239
+ position: relative;
240
+ margin-right: 0.5rem;
241
+ height: 1.5rem;
242
+ width: 1.5rem;
243
+ border: 0.125rem solid transparent;
244
+ border-radius: 50%;
245
+ background-color: #ffffff;
246
+ color: #ffffff;
247
+ }
248
+ .eds-contrast .eds-filter-chip__icon {
249
+ background-color: #181c56;
250
+ }
251
+ .eds-filter-chip__icon .eds-filter-chip-icon {
252
+ height: 1rem;
253
+ width: 1rem;
254
+ visibility: hidden;
255
+ }
256
+ .eds-contrast .eds-filter-chip__icon .eds-filter-chip-icon {
257
+ color: #ffffff;
258
+ }
259
+ .eds-filter-chip__icon .eds-filter-chip-icon__path {
260
+ transform-origin: 50% 50%;
261
+ stroke-dasharray: 48;
262
+ stroke-dashoffset: 48;
263
+ stroke-width: 0.375rem;
264
+ }
265
+
266
+ @-webkit-keyframes stroke {
267
+ 100% {
268
+ stroke-dashoffset: 0;
269
+ }
270
+ }
271
+
272
+ @keyframes stroke {
273
+ 100% {
274
+ stroke-dashoffset: 0;
275
+ }
276
276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.8",
3
+ "version": "0.6.9-alpha.0",
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.5",
30
+ "@entur/form": "^5.4.6-alpha.0",
31
31
  "@entur/tokens": "^3.4.1",
32
- "@entur/utils": "^0.4.5",
32
+ "@entur/utils": "^0.4.6-alpha.0",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "e6da59550f3ace8e356155d60ce72d480aa17d51"
35
+ "gitHead": "497df350c3af082f714f461c7089a1fec1b4f8c9"
36
36
  }