@entur/chip 0.6.8 → 0.6.9

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](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.8...@entur/chip@0.6.9) (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
@@ -31,6 +31,116 @@
31
31
  margin-left: 0.5rem;
32
32
  }/* DO NOT CHANGE!*/
33
33
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
+ .eds-choice-chip {
35
+ cursor: pointer;
36
+ display: inline-block;
37
+ margin-right: 0.75rem;
38
+ position: relative;
39
+ transition: all 0.1s ease-out;
40
+ }
41
+ .eds-choice-chip__input {
42
+ -moz-appearance: none;
43
+ appearance: none;
44
+ height: 0;
45
+ position: absolute;
46
+ width: 0;
47
+ -webkit-appearance: none;
48
+ }
49
+ .eds-choice-chip__input ~ .eds-chip {
50
+ background-color: transparent;
51
+ }
52
+ .eds-contrast .eds-choice-chip__input ~ .eds-chip {
53
+ border-color: #aeb7e2;
54
+ color: #ffffff;
55
+ }
56
+ .eds-choice-chip__input:checked ~ .eds-chip {
57
+ background-color: #181c56;
58
+ border-color: #181c56;
59
+ color: #ffffff;
60
+ }
61
+ .eds-contrast .eds-choice-chip__input:checked ~ .eds-chip {
62
+ border-color: #aeb7e2;
63
+ background-color: #aeb7e2;
64
+ color: #181c56;
65
+ }
66
+ .eds-choice-chip__input:focus ~ .eds-chip {
67
+ outline: none;
68
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
69
+ outline-offset: 0.125rem;
70
+ }
71
+ .eds-contrast .eds-choice-chip__input:focus ~ .eds-chip {
72
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
73
+ }
74
+ .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
75
+ border-color: #181c56;
76
+ }
77
+ .eds-contrast .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
78
+ border-color: #ffffff;
79
+ }
80
+ .eds-choice-chip__input:checked:hover ~ .eds-chip {
81
+ background-color: #3b3e6f;
82
+ border-color: #3b3e6f;
83
+ }
84
+ .eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
85
+ background-color: #bac2e6;
86
+ border-color: #bac2e6;
87
+ }
88
+ .eds-choice-chip__input:active ~ .eds-chip {
89
+ background-color: #d1d4e3;
90
+ border-color: #d1d4e3;
91
+ }
92
+ .eds-contrast .eds-choice-chip__input:active ~ .eds-chip {
93
+ background: #33376d;
94
+ }
95
+ .eds-choice-chip .eds-chip--disabled {
96
+ border-style: dashed;
97
+ cursor: not-allowed;
98
+ }
99
+ .eds-contrast .eds-choice-chip .eds-chip--disabled {
100
+ opacity: 1;
101
+ border-color: #8285a8;
102
+ color: #babbcf;
103
+ }/* DO NOT CHANGE!*/
104
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
105
+ .eds-action-chip {
106
+ cursor: pointer;
107
+ }
108
+ .eds-action-chip:focus {
109
+ outline: none;
110
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
111
+ outline-offset: 0.125rem;
112
+ }
113
+ .eds-contrast .eds-action-chip:focus {
114
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
115
+ }
116
+ .eds-action-chip:hover {
117
+ border-color: #181c56;
118
+ }
119
+ .eds-contrast .eds-action-chip:hover {
120
+ background-color: #54568c;
121
+ border-color: #54568c;
122
+ }
123
+ .eds-action-chip:active {
124
+ background: #d1d4e3;
125
+ }
126
+ .eds-contrast .eds-action-chip:active {
127
+ background-color: #292b6a;
128
+ border-color: #292b6a;
129
+ }
130
+ .eds-action-chip--disabled {
131
+ opacity: 0.5;
132
+ pointer-events: none;
133
+ }
134
+ .eds-action-chip--disabled__wrapper {
135
+ cursor: not-allowed;
136
+ width: -webkit-fit-content;
137
+ width: -moz-fit-content;
138
+ width: fit-content;
139
+ }
140
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
141
+ background-color: #ffffff;
142
+ }/* DO NOT CHANGE!*/
143
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
144
  .eds-tag-chip {
35
145
  cursor: default;
36
146
  padding-right: 0.25rem;
@@ -163,114 +273,4 @@
163
273
  100% {
164
274
  stroke-dashoffset: 0;
165
275
  }
166
- }/* DO NOT CHANGE!*/
167
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
168
- .eds-choice-chip {
169
- cursor: pointer;
170
- display: inline-block;
171
- margin-right: 0.75rem;
172
- position: relative;
173
- transition: all 0.1s ease-out;
174
- }
175
- .eds-choice-chip__input {
176
- -moz-appearance: none;
177
- appearance: none;
178
- height: 0;
179
- position: absolute;
180
- width: 0;
181
- -webkit-appearance: none;
182
- }
183
- .eds-choice-chip__input ~ .eds-chip {
184
- background-color: transparent;
185
- }
186
- .eds-contrast .eds-choice-chip__input ~ .eds-chip {
187
- border-color: #aeb7e2;
188
- color: #ffffff;
189
- }
190
- .eds-choice-chip__input:checked ~ .eds-chip {
191
- background-color: #181c56;
192
- border-color: #181c56;
193
- color: #ffffff;
194
- }
195
- .eds-contrast .eds-choice-chip__input:checked ~ .eds-chip {
196
- border-color: #aeb7e2;
197
- background-color: #aeb7e2;
198
- color: #181c56;
199
- }
200
- .eds-choice-chip__input:focus ~ .eds-chip {
201
- outline: none;
202
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
203
- outline-offset: 0.125rem;
204
- }
205
- .eds-contrast .eds-choice-chip__input:focus ~ .eds-chip {
206
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
207
- }
208
- .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
209
- border-color: #181c56;
210
- }
211
- .eds-contrast .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
212
- border-color: #ffffff;
213
- }
214
- .eds-choice-chip__input:checked:hover ~ .eds-chip {
215
- background-color: #3b3e6f;
216
- border-color: #3b3e6f;
217
- }
218
- .eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
219
- background-color: #bac2e6;
220
- border-color: #bac2e6;
221
- }
222
- .eds-choice-chip__input:active ~ .eds-chip {
223
- background-color: #d1d4e3;
224
- border-color: #d1d4e3;
225
- }
226
- .eds-contrast .eds-choice-chip__input:active ~ .eds-chip {
227
- background: #33376d;
228
- }
229
- .eds-choice-chip .eds-chip--disabled {
230
- border-style: dashed;
231
- cursor: not-allowed;
232
- }
233
- .eds-contrast .eds-choice-chip .eds-chip--disabled {
234
- opacity: 1;
235
- border-color: #8285a8;
236
- 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",
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",
31
31
  "@entur/tokens": "^3.4.1",
32
32
  "@entur/utils": "^0.4.5",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "e6da59550f3ace8e356155d60ce72d480aa17d51"
35
+ "gitHead": "9d0450ea38d34dffbd45ab0b65eb9f02f499392b"
36
36
  }