@entur/chip 0.6.8 → 0.6.9-alpha.1

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,14 @@
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.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.9-alpha.0...@entur/chip@0.6.9-alpha.1) (2022-10-26)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
10
+ ## [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)
11
+
12
+ **Note:** Version bump only for package @entur/chip
13
+
6
14
  ## [0.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.7...@entur/chip@0.6.8) (2022-10-12)
7
15
 
8
16
  **Note:** Version bump only for package @entur/chip
package/dist/styles.css CHANGED
@@ -2,6 +2,45 @@
2
2
  --eds-chip: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-action-chip {
6
+ cursor: pointer;
7
+ }
8
+ .eds-action-chip:focus {
9
+ outline: none;
10
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
11
+ outline-offset: 0.125rem;
12
+ }
13
+ .eds-contrast .eds-action-chip:focus {
14
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
15
+ }
16
+ .eds-action-chip:hover {
17
+ border-color: #181c56;
18
+ }
19
+ .eds-contrast .eds-action-chip:hover {
20
+ background-color: #54568c;
21
+ border-color: #54568c;
22
+ }
23
+ .eds-action-chip:active {
24
+ background: #d1d4e3;
25
+ }
26
+ .eds-contrast .eds-action-chip:active {
27
+ background-color: #292b6a;
28
+ border-color: #292b6a;
29
+ }
30
+ .eds-action-chip--disabled {
31
+ opacity: 0.5;
32
+ pointer-events: none;
33
+ }
34
+ .eds-action-chip--disabled__wrapper {
35
+ cursor: not-allowed;
36
+ width: -webkit-fit-content;
37
+ width: -moz-fit-content;
38
+ width: fit-content;
39
+ }
40
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
41
+ background-color: #ffffff;
42
+ }/* DO NOT CHANGE!*/
43
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
44
  .eds-chip {
6
45
  background: #ebebf1;
7
46
  border: 0.0625rem solid #d1d4e3;
@@ -31,46 +70,6 @@
31
70
  margin-left: 0.5rem;
32
71
  }/* DO NOT CHANGE!*/
33
72
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
- .eds-tag-chip {
35
- cursor: default;
36
- padding-right: 0.25rem;
37
- width: -webkit-fit-content;
38
- width: -moz-fit-content;
39
- width: fit-content;
40
- }
41
- .eds-tag-chip__close-button {
42
- -webkit-appearance: none;
43
- -moz-appearance: none;
44
- appearance: none;
45
- background: none;
46
- border: none;
47
- border-radius: 50%;
48
- color: #181c56;
49
- cursor: pointer;
50
- display: flex;
51
- font-size: 0.875rem;
52
- padding: 0.25rem;
53
- margin-left: 0.25rem;
54
- transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
55
- }
56
- .eds-contrast .eds-tag-chip__close-button {
57
- color: #ffffff;
58
- }
59
- .eds-tag-chip__close-button:hover {
60
- background: #babbcf;
61
- }
62
- .eds-contrast .eds-tag-chip__close-button:hover {
63
- background: #54568c;
64
- }
65
- .eds-tag-chip__close-button:focus {
66
- outline-offset: 0.125rem;
67
- outline: none;
68
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
69
- }
70
- .eds-contrast .eds-tag-chip__close-button:focus {
71
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
72
- }/* DO NOT CHANGE!*/
73
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
74
73
  .eds-filter-chip {
75
74
  cursor: pointer;
76
75
  -webkit-user-select: none;
@@ -165,6 +164,46 @@
165
164
  }
166
165
  }/* DO NOT CHANGE!*/
167
166
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
167
+ .eds-tag-chip {
168
+ cursor: default;
169
+ padding-right: 0.25rem;
170
+ width: -webkit-fit-content;
171
+ width: -moz-fit-content;
172
+ width: fit-content;
173
+ }
174
+ .eds-tag-chip__close-button {
175
+ -webkit-appearance: none;
176
+ -moz-appearance: none;
177
+ appearance: none;
178
+ background: none;
179
+ border: none;
180
+ border-radius: 50%;
181
+ color: #181c56;
182
+ cursor: pointer;
183
+ display: flex;
184
+ font-size: 0.875rem;
185
+ padding: 0.25rem;
186
+ margin-left: 0.25rem;
187
+ transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
188
+ }
189
+ .eds-contrast .eds-tag-chip__close-button {
190
+ color: #ffffff;
191
+ }
192
+ .eds-tag-chip__close-button:hover {
193
+ background: #babbcf;
194
+ }
195
+ .eds-contrast .eds-tag-chip__close-button:hover {
196
+ background: #54568c;
197
+ }
198
+ .eds-tag-chip__close-button:focus {
199
+ outline-offset: 0.125rem;
200
+ outline: none;
201
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
202
+ }
203
+ .eds-contrast .eds-tag-chip__close-button:focus {
204
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
205
+ }/* DO NOT CHANGE!*/
206
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
168
207
  .eds-choice-chip {
169
208
  cursor: pointer;
170
209
  display: inline-block;
@@ -234,43 +273,4 @@
234
273
  opacity: 1;
235
274
  border-color: #8285a8;
236
275
  color: #babbcf;
237
- }/* DO NOT CHANGE!*/
238
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
239
- .eds-action-chip {
240
- cursor: pointer;
241
- }
242
- .eds-action-chip:focus {
243
- outline: none;
244
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
245
- outline-offset: 0.125rem;
246
- }
247
- .eds-contrast .eds-action-chip:focus {
248
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
249
- }
250
- .eds-action-chip:hover {
251
- border-color: #181c56;
252
- }
253
- .eds-contrast .eds-action-chip:hover {
254
- background-color: #54568c;
255
- border-color: #54568c;
256
- }
257
- .eds-action-chip:active {
258
- background: #d1d4e3;
259
- }
260
- .eds-contrast .eds-action-chip:active {
261
- background-color: #292b6a;
262
- border-color: #292b6a;
263
- }
264
- .eds-action-chip--disabled {
265
- opacity: 0.5;
266
- pointer-events: none;
267
- }
268
- .eds-action-chip--disabled__wrapper {
269
- cursor: not-allowed;
270
- width: -webkit-fit-content;
271
- width: -moz-fit-content;
272
- width: fit-content;
273
- }
274
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
275
- background-color: #ffffff;
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.1",
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.1",
31
31
  "@entur/tokens": "^3.4.1",
32
- "@entur/utils": "^0.4.5",
32
+ "@entur/utils": "^0.5.0-alpha.0",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "e6da59550f3ace8e356155d60ce72d480aa17d51"
35
+ "gitHead": "8e5d6c63d180d5b3a7b2d0c6c4cdbb8ecb8af8f4"
36
36
  }