@entur/chip 0.6.11-beta.3 → 0.6.12
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 +488 -0
- package/dist/styles.css +29 -29
- package/package.json +9 -14
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.11...@entur/chip@0.6.12) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/chip
|
|
9
|
+
|
|
10
|
+
## [0.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.10...@entur/chip@0.6.11) (2022-10-31)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/chip
|
|
13
|
+
|
|
14
|
+
## [0.6.10](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.9...@entur/chip@0.6.10) (2022-10-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/chip
|
|
17
|
+
|
|
18
|
+
## [0.6.9](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.8...@entur/chip@0.6.9) (2022-10-20)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/chip
|
|
21
|
+
|
|
22
|
+
## [0.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.7...@entur/chip@0.6.8) (2022-10-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @entur/chip
|
|
25
|
+
|
|
26
|
+
## [0.6.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.5...@entur/chip@0.6.6) (2022-08-31)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @entur/chip
|
|
29
|
+
|
|
30
|
+
## [0.6.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.4...@entur/chip@0.6.5) (2022-08-24)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @entur/chip
|
|
33
|
+
|
|
34
|
+
## [0.6.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.3...@entur/chip@0.6.4) (2022-08-12)
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
- **choice chip:** remove opacitiy when chip is disabled ([7412724](https://bitbucket.org/enturas/design-system/commits/741272400dda7ff77aa58b5032dd91f91d3a0393))
|
|
39
|
+
|
|
40
|
+
## [0.6.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.2...@entur/chip@0.6.3) (2022-08-09)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @entur/chip
|
|
43
|
+
|
|
44
|
+
## [0.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.1...@entur/chip@0.6.2) (2022-08-09)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @entur/chip
|
|
47
|
+
|
|
48
|
+
## [0.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.0...@entur/chip@0.6.1) (2022-07-05)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @entur/chip
|
|
51
|
+
|
|
52
|
+
# [0.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.8...@entur/chip@0.6.0) (2022-06-28)
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
- **action chip:** add aria-loading and aria-label text to action chip when loading ([2eaadbe](https://bitbucket.org/enturas/design-system/commits/2eaadbe743049a57613d0c89cb17fab8128da915))
|
|
57
|
+
- **action chip:** add visual disabled indicator to actionChip ([15edd0d](https://bitbucket.org/enturas/design-system/commits/15edd0da4111c79465f620dd008b7047fbf9cee7))
|
|
58
|
+
- **tag chip:** add autogenerated aria-label for tag close/remove button ([9e63b0a](https://bitbucket.org/enturas/design-system/commits/9e63b0af9dfb618caa301aab3c954974aecb9bb0))
|
|
59
|
+
|
|
60
|
+
### BREAKING CHANGES
|
|
61
|
+
|
|
62
|
+
- **tag chip:** This change will add aria-label to all tag chip close buttons. If you already use this component,
|
|
63
|
+
you should check that the accessible text makes sense and if it doesn't, change the text using the
|
|
64
|
+
closeButtonAriaLabel prop
|
|
65
|
+
|
|
66
|
+
## [0.5.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.7...@entur/chip@0.5.8) (2022-06-24)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @entur/chip
|
|
69
|
+
|
|
70
|
+
## [0.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.6...@entur/chip@0.5.7) (2022-06-02)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @entur/chip
|
|
73
|
+
|
|
74
|
+
## [0.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.5...@entur/chip@0.5.6) (2022-05-13)
|
|
75
|
+
|
|
76
|
+
**Note:** Version bump only for package @entur/chip
|
|
77
|
+
|
|
78
|
+
## [0.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.4...@entur/chip@0.5.5) (2022-05-04)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @entur/chip
|
|
81
|
+
|
|
82
|
+
## [0.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.3...@entur/chip@0.5.4) (2022-04-27)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @entur/chip
|
|
85
|
+
|
|
86
|
+
## [0.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.2...@entur/chip@0.5.3) (2022-04-20)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @entur/chip
|
|
89
|
+
|
|
90
|
+
## [0.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.1...@entur/chip@0.5.2) (2022-04-19)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package @entur/chip
|
|
93
|
+
|
|
94
|
+
## [0.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.0...@entur/chip@0.5.1) (2022-03-17)
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
- **ChoiceChip:** add -webkit fallback for Safari ([d19f8c3](https://bitbucket.org/enturas/design-system/commits/d19f8c34b401676283ff5fbc3b10ec0a1f04d3b8))
|
|
99
|
+
|
|
100
|
+
# [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.24...@entur/chip@0.5.0) (2022-03-14)
|
|
101
|
+
|
|
102
|
+
### Features
|
|
103
|
+
|
|
104
|
+
- **action chip:** add loading state to action chip ([290e709](https://bitbucket.org/enturas/design-system/commits/290e709baef2c7513fc3b85e834fabb34697842e))
|
|
105
|
+
|
|
106
|
+
## [0.4.24](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.23...@entur/chip@0.4.24) (2022-03-01)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @entur/chip
|
|
109
|
+
|
|
110
|
+
## [0.4.23](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.22...@entur/chip@0.4.23) (2022-02-09)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @entur/chip
|
|
113
|
+
|
|
114
|
+
## [0.4.22](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.21...@entur/chip@0.4.22) (2022-01-21)
|
|
115
|
+
|
|
116
|
+
**Note:** Version bump only for package @entur/chip
|
|
117
|
+
|
|
118
|
+
## [0.4.21](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.20...@entur/chip@0.4.21) (2022-01-05)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @entur/chip
|
|
121
|
+
|
|
122
|
+
## [0.4.20](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.19...@entur/chip@0.4.20) (2021-12-10)
|
|
123
|
+
|
|
124
|
+
**Note:** Version bump only for package @entur/chip
|
|
125
|
+
|
|
126
|
+
## [0.4.19](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.18...@entur/chip@0.4.19) (2021-11-17)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @entur/chip
|
|
129
|
+
|
|
130
|
+
## [0.4.18](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.17...@entur/chip@0.4.18) (2021-10-25)
|
|
131
|
+
|
|
132
|
+
**Note:** Version bump only for package @entur/chip
|
|
133
|
+
|
|
134
|
+
## [0.4.17](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.16...@entur/chip@0.4.17) (2021-10-18)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @entur/chip
|
|
137
|
+
|
|
138
|
+
## [0.4.16](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.15...@entur/chip@0.4.16) (2021-09-23)
|
|
139
|
+
|
|
140
|
+
**Note:** Version bump only for package @entur/chip
|
|
141
|
+
|
|
142
|
+
## [0.4.15](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.14...@entur/chip@0.4.15) (2021-09-13)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @entur/chip
|
|
145
|
+
|
|
146
|
+
## [0.4.14](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.13...@entur/chip@0.4.14) (2021-09-07)
|
|
147
|
+
|
|
148
|
+
### Bug Fixes
|
|
149
|
+
|
|
150
|
+
- improve typings ([423e06a](https://bitbucket.org/enturas/design-system/commits/423e06a1048731509fe0d3d6606e3fe390a868e1))
|
|
151
|
+
- utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
|
|
152
|
+
|
|
153
|
+
## [0.4.13](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.12...@entur/chip@0.4.13) (2021-08-13)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @entur/chip
|
|
156
|
+
|
|
157
|
+
## [0.4.12](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.11...@entur/chip@0.4.12) (2021-07-16)
|
|
158
|
+
|
|
159
|
+
**Note:** Version bump only for package @entur/chip
|
|
160
|
+
|
|
161
|
+
## [0.4.11](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.10...@entur/chip@0.4.11) (2021-06-25)
|
|
162
|
+
|
|
163
|
+
### Bug Fixes
|
|
164
|
+
|
|
165
|
+
- update dependencies ([b7f5e2d](https://bitbucket.org/enturas/design-system/commits/b7f5e2dd6ccfd066d61fdda5d1892994ea5b28dd))
|
|
166
|
+
|
|
167
|
+
## [0.4.10](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.9...@entur/chip@0.4.10) (2021-06-04)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @entur/chip
|
|
170
|
+
|
|
171
|
+
## [0.4.9](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.8...@entur/chip@0.4.9) (2021-05-19)
|
|
172
|
+
|
|
173
|
+
**Note:** Version bump only for package @entur/chip
|
|
174
|
+
|
|
175
|
+
## [0.4.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.7...@entur/chip@0.4.8) (2021-05-05)
|
|
176
|
+
|
|
177
|
+
**Note:** Version bump only for package @entur/chip
|
|
178
|
+
|
|
179
|
+
## [0.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.6...@entur/chip@0.4.7) (2021-04-23)
|
|
180
|
+
|
|
181
|
+
### Bug Fixes
|
|
182
|
+
|
|
183
|
+
- utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
|
|
184
|
+
|
|
185
|
+
## [0.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.5...@entur/chip@0.4.6) (2021-04-09)
|
|
186
|
+
|
|
187
|
+
**Note:** Version bump only for package @entur/chip
|
|
188
|
+
|
|
189
|
+
## [0.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.4...@entur/chip@0.4.5) (2021-03-02)
|
|
190
|
+
|
|
191
|
+
**Note:** Version bump only for package @entur/chip
|
|
192
|
+
|
|
193
|
+
## [0.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.3...@entur/chip@0.4.4) (2021-02-17)
|
|
194
|
+
|
|
195
|
+
**Note:** Version bump only for package @entur/chip
|
|
196
|
+
|
|
197
|
+
## [0.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.2...@entur/chip@0.4.3) (2021-02-05)
|
|
198
|
+
|
|
199
|
+
**Note:** Version bump only for package @entur/chip
|
|
200
|
+
|
|
201
|
+
## [0.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.1...@entur/chip@0.4.2) (2021-01-29)
|
|
202
|
+
|
|
203
|
+
**Note:** Version bump only for package @entur/chip
|
|
204
|
+
|
|
205
|
+
## [0.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.4.0...@entur/chip@0.4.1) (2021-01-20)
|
|
206
|
+
|
|
207
|
+
### Bug Fixes
|
|
208
|
+
|
|
209
|
+
- **choicechipgroup:** add label prop explicitly to typings ([eace8d6](https://bitbucket.org/enturas/design-system/commits/eace8d6cd2a91dc79003b9a54042d007d8cd5a8c))
|
|
210
|
+
|
|
211
|
+
# [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.41...@entur/chip@0.4.0) (2021-01-13)
|
|
212
|
+
|
|
213
|
+
### Features
|
|
214
|
+
|
|
215
|
+
- **choicechip:** update value type with support for null ([0311c32](https://bitbucket.org/enturas/design-system/commits/0311c329f9a35a8d150c48e26d53bb902e4b3787))
|
|
216
|
+
|
|
217
|
+
## [0.3.41](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.40...@entur/chip@0.3.41) (2021-01-05)
|
|
218
|
+
|
|
219
|
+
### Bug Fixes
|
|
220
|
+
|
|
221
|
+
- **actionchip:** improved typings ([66b3acc](https://bitbucket.org/enturas/design-system/commits/66b3accad09a69a2c9cd0f8cd1221f2b32931489))
|
|
222
|
+
- **choicechip:** improve typings ([c839400](https://bitbucket.org/enturas/design-system/commits/c839400ca651020bc685840d7a18a5d382d907b0))
|
|
223
|
+
|
|
224
|
+
## [0.3.40](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.39...@entur/chip@0.3.40) (2020-12-04)
|
|
225
|
+
|
|
226
|
+
### Bug Fixes
|
|
227
|
+
|
|
228
|
+
- **actionchip:** improve typings ([3999811](https://bitbucket.org/enturas/design-system/commits/399981153891f5131bd7af1e28bb5fc7f8fdf874))
|
|
229
|
+
- **choicechip:** improve typings ([17b93c1](https://bitbucket.org/enturas/design-system/commits/17b93c197b05c277cec1b9bc28b0106b7e244be0))
|
|
230
|
+
- **filterchip:** improve typings ([c9ad609](https://bitbucket.org/enturas/design-system/commits/c9ad6099243911b427885382dc0f5c1001cdee1d))
|
|
231
|
+
- **tagchip:** improve typings ([33b4310](https://bitbucket.org/enturas/design-system/commits/33b431078ac73cde364a40dd27a44c4497f58d89))
|
|
232
|
+
|
|
233
|
+
## [0.3.39](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.38...@entur/chip@0.3.39) (2020-11-26)
|
|
234
|
+
|
|
235
|
+
**Note:** Version bump only for package @entur/chip
|
|
236
|
+
|
|
237
|
+
## [0.3.38](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.37...@entur/chip@0.3.38) (2020-11-10)
|
|
238
|
+
|
|
239
|
+
### Bug Fixes
|
|
240
|
+
|
|
241
|
+
- **choice chip:** improve typing of onchange prop ([e790234](https://bitbucket.org/enturas/design-system/commits/e79023473e27c2c21016cb6394070a2ce8cd6f89))
|
|
242
|
+
|
|
243
|
+
## [0.3.37](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.36...@entur/chip@0.3.37) (2020-11-05)
|
|
244
|
+
|
|
245
|
+
**Note:** Version bump only for package @entur/chip
|
|
246
|
+
|
|
247
|
+
## [0.3.36](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.35...@entur/chip@0.3.36) (2020-10-28)
|
|
248
|
+
|
|
249
|
+
**Note:** Version bump only for package @entur/chip
|
|
250
|
+
|
|
251
|
+
## [0.3.35](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.34...@entur/chip@0.3.35) (2020-10-23)
|
|
252
|
+
|
|
253
|
+
**Note:** Version bump only for package @entur/chip
|
|
254
|
+
|
|
255
|
+
## [0.3.34](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.33...@entur/chip@0.3.34) (2020-10-16)
|
|
256
|
+
|
|
257
|
+
**Note:** Version bump only for package @entur/chip
|
|
258
|
+
|
|
259
|
+
## [0.3.33](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.32...@entur/chip@0.3.33) (2020-10-09)
|
|
260
|
+
|
|
261
|
+
**Note:** Version bump only for package @entur/chip
|
|
262
|
+
|
|
263
|
+
## [0.3.32](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.31...@entur/chip@0.3.32) (2020-10-09)
|
|
264
|
+
|
|
265
|
+
**Note:** Version bump only for package @entur/chip
|
|
266
|
+
|
|
267
|
+
## [0.3.31](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.30...@entur/chip@0.3.31) (2020-09-25)
|
|
268
|
+
|
|
269
|
+
**Note:** Version bump only for package @entur/chip
|
|
270
|
+
|
|
271
|
+
## [0.3.30](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.29...@entur/chip@0.3.30) (2020-09-14)
|
|
272
|
+
|
|
273
|
+
**Note:** Version bump only for package @entur/chip
|
|
274
|
+
|
|
275
|
+
## [0.3.29](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.28...@entur/chip@0.3.29) (2020-09-10)
|
|
276
|
+
|
|
277
|
+
**Note:** Version bump only for package @entur/chip
|
|
278
|
+
|
|
279
|
+
## [0.3.28](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.27...@entur/chip@0.3.28) (2020-09-02)
|
|
280
|
+
|
|
281
|
+
**Note:** Version bump only for package @entur/chip
|
|
282
|
+
|
|
283
|
+
## [0.3.27](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.26...@entur/chip@0.3.27) (2020-08-26)
|
|
284
|
+
|
|
285
|
+
**Note:** Version bump only for package @entur/chip
|
|
286
|
+
|
|
287
|
+
## [0.3.26](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.25...@entur/chip@0.3.26) (2020-08-20)
|
|
288
|
+
|
|
289
|
+
**Note:** Version bump only for package @entur/chip
|
|
290
|
+
|
|
291
|
+
## [0.3.25](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.24...@entur/chip@0.3.25) (2020-08-19)
|
|
292
|
+
|
|
293
|
+
**Note:** Version bump only for package @entur/chip
|
|
294
|
+
|
|
295
|
+
## [0.3.24](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.23...@entur/chip@0.3.24) (2020-08-14)
|
|
296
|
+
|
|
297
|
+
**Note:** Version bump only for package @entur/chip
|
|
298
|
+
|
|
299
|
+
## [0.3.23](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.22...@entur/chip@0.3.23) (2020-08-11)
|
|
300
|
+
|
|
301
|
+
### Bug Fixes
|
|
302
|
+
|
|
303
|
+
- adjust disabled choicechip styling ([713a2ab](https://bitbucket.org/enturas/design-system/commits/713a2abfc0285f0d78ee4c990e6bd2ee0c2b5e08))
|
|
304
|
+
|
|
305
|
+
## [0.3.22](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.21...@entur/chip@0.3.22) (2020-07-24)
|
|
306
|
+
|
|
307
|
+
**Note:** Version bump only for package @entur/chip
|
|
308
|
+
|
|
309
|
+
## [0.3.21](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.20...@entur/chip@0.3.21) (2020-07-22)
|
|
310
|
+
|
|
311
|
+
**Note:** Version bump only for package @entur/chip
|
|
312
|
+
|
|
313
|
+
## [0.3.20](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.19...@entur/chip@0.3.20) (2020-07-16)
|
|
314
|
+
|
|
315
|
+
**Note:** Version bump only for package @entur/chip
|
|
316
|
+
|
|
317
|
+
## [0.3.19](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.18...@entur/chip@0.3.19) (2020-07-13)
|
|
318
|
+
|
|
319
|
+
**Note:** Version bump only for package @entur/chip
|
|
320
|
+
|
|
321
|
+
## [0.3.18](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.17...@entur/chip@0.3.18) (2020-07-09)
|
|
322
|
+
|
|
323
|
+
### Bug Fixes
|
|
324
|
+
|
|
325
|
+
- adjust choice chip background color ([0097236](https://bitbucket.org/enturas/design-system/commits/009723686e9ff61e1fe9a24dee8e2c7a38cecb81))
|
|
326
|
+
|
|
327
|
+
## [0.3.17](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.16...@entur/chip@0.3.17) (2020-07-03)
|
|
328
|
+
|
|
329
|
+
**Note:** Version bump only for package @entur/chip
|
|
330
|
+
|
|
331
|
+
## [0.3.16](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.15...@entur/chip@0.3.16) (2020-06-17)
|
|
332
|
+
|
|
333
|
+
### Bug Fixes
|
|
334
|
+
|
|
335
|
+
- fix wrong definition of forward referencing ([e5cad92](https://bitbucket.org/enturas/design-system/commits/e5cad92c59bc6453ab4dbe9a18c4c7e42dd7e00d))
|
|
336
|
+
|
|
337
|
+
## [0.3.15](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.14...@entur/chip@0.3.15) (2020-05-27)
|
|
338
|
+
|
|
339
|
+
**Note:** Version bump only for package @entur/chip
|
|
340
|
+
|
|
341
|
+
## [0.3.14](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.13...@entur/chip@0.3.14) (2020-05-26)
|
|
342
|
+
|
|
343
|
+
**Note:** Version bump only for package @entur/chip
|
|
344
|
+
|
|
345
|
+
## [0.3.13](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.12...@entur/chip@0.3.13) (2020-05-20)
|
|
346
|
+
|
|
347
|
+
### Bug Fixes
|
|
348
|
+
|
|
349
|
+
- add forward referencing to TagChip ([08d0a57](https://bitbucket.org/enturas/design-system/commits/08d0a579469ce615e2dfbe63d8ddc20e56b490a2))
|
|
350
|
+
|
|
351
|
+
## [0.3.12](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.11...@entur/chip@0.3.12) (2020-04-27)
|
|
352
|
+
|
|
353
|
+
**Note:** Version bump only for package @entur/chip
|
|
354
|
+
|
|
355
|
+
## [0.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.10...@entur/chip@0.3.11) (2020-04-23)
|
|
356
|
+
|
|
357
|
+
### Bug Fixes
|
|
358
|
+
|
|
359
|
+
- updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
|
|
360
|
+
|
|
361
|
+
## [0.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.9...@entur/chip@0.3.10) (2020-04-08)
|
|
362
|
+
|
|
363
|
+
**Note:** Version bump only for package @entur/chip
|
|
364
|
+
|
|
365
|
+
## [0.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.7...@entur/chip@0.3.9) (2020-03-25)
|
|
366
|
+
|
|
367
|
+
**Note:** Version bump only for package @entur/chip
|
|
368
|
+
|
|
369
|
+
## [0.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.7...@entur/chip@0.3.8) (2020-03-25)
|
|
370
|
+
|
|
371
|
+
**Note:** Version bump only for package @entur/chip
|
|
372
|
+
|
|
373
|
+
## [0.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.6...@entur/chip@0.3.7) (2020-03-20)
|
|
374
|
+
|
|
375
|
+
**Note:** Version bump only for package @entur/chip
|
|
376
|
+
|
|
377
|
+
## [0.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.5...@entur/chip@0.3.6) (2020-03-18)
|
|
378
|
+
|
|
379
|
+
**Note:** Version bump only for package @entur/chip
|
|
380
|
+
|
|
381
|
+
## [0.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.4...@entur/chip@0.3.5) (2020-03-05)
|
|
382
|
+
|
|
383
|
+
**Note:** Version bump only for package @entur/chip
|
|
384
|
+
|
|
385
|
+
## [0.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.3...@entur/chip@0.3.4) (2020-02-26)
|
|
386
|
+
|
|
387
|
+
**Note:** Version bump only for package @entur/chip
|
|
388
|
+
|
|
389
|
+
## [0.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.2...@entur/chip@0.3.3) (2020-02-20)
|
|
390
|
+
|
|
391
|
+
**Note:** Version bump only for package @entur/chip
|
|
392
|
+
|
|
393
|
+
## [0.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.1...@entur/chip@0.3.2) (2020-02-14)
|
|
394
|
+
|
|
395
|
+
**Note:** Version bump only for package @entur/chip
|
|
396
|
+
|
|
397
|
+
## [0.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.3.0...@entur/chip@0.3.1) (2020-02-12)
|
|
398
|
+
|
|
399
|
+
**Note:** Version bump only for package @entur/chip
|
|
400
|
+
|
|
401
|
+
# [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.14...@entur/chip@0.3.0) (2020-02-10)
|
|
402
|
+
|
|
403
|
+
### Features
|
|
404
|
+
|
|
405
|
+
- add new components: tagchip and filterchip ([9363b20](https://bitbucket.org/enturas/design-system/commits/9363b204f04c8d10a2cee3a8076313b0800e027e))
|
|
406
|
+
|
|
407
|
+
## [0.2.14](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.13...@entur/chip@0.2.14) (2020-02-05)
|
|
408
|
+
|
|
409
|
+
### Bug Fixes
|
|
410
|
+
|
|
411
|
+
- remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
|
|
412
|
+
|
|
413
|
+
## [0.2.13](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.12...@entur/chip@0.2.13) (2020-01-31)
|
|
414
|
+
|
|
415
|
+
**Note:** Version bump only for package @entur/chip
|
|
416
|
+
|
|
417
|
+
## [0.2.12](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.11...@entur/chip@0.2.12) (2020-01-28)
|
|
418
|
+
|
|
419
|
+
**Note:** Version bump only for package @entur/chip
|
|
420
|
+
|
|
421
|
+
## [0.2.11](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.10...@entur/chip@0.2.11) (2020-01-27)
|
|
422
|
+
|
|
423
|
+
### Bug Fixes
|
|
424
|
+
|
|
425
|
+
- **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
|
|
426
|
+
|
|
427
|
+
## [0.2.10](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.9...@entur/chip@0.2.10) (2020-01-20)
|
|
428
|
+
|
|
429
|
+
**Note:** Version bump only for package @entur/chip
|
|
430
|
+
|
|
431
|
+
## [0.2.9](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.8...@entur/chip@0.2.9) (2020-01-14)
|
|
432
|
+
|
|
433
|
+
**Note:** Version bump only for package @entur/chip
|
|
434
|
+
|
|
435
|
+
## [0.2.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.7...@entur/chip@0.2.8) (2020-01-13)
|
|
436
|
+
|
|
437
|
+
**Note:** Version bump only for package @entur/chip
|
|
438
|
+
|
|
439
|
+
## [0.2.7](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.6...@entur/chip@0.2.7) (2020-01-10)
|
|
440
|
+
|
|
441
|
+
**Note:** Version bump only for package @entur/chip
|
|
442
|
+
|
|
443
|
+
## [0.2.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.5...@entur/chip@0.2.6) (2020-01-08)
|
|
444
|
+
|
|
445
|
+
### Bug Fixes
|
|
446
|
+
|
|
447
|
+
- warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
|
|
448
|
+
|
|
449
|
+
## [0.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.4...@entur/chip@0.2.5) (2020-01-06)
|
|
450
|
+
|
|
451
|
+
**Note:** Version bump only for package @entur/chip
|
|
452
|
+
|
|
453
|
+
## [0.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.3...@entur/chip@0.2.4) (2019-12-17)
|
|
454
|
+
|
|
455
|
+
**Note:** Version bump only for package @entur/chip
|
|
456
|
+
|
|
457
|
+
## [0.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.2...@entur/chip@0.2.3) (2019-12-10)
|
|
458
|
+
|
|
459
|
+
### Bug Fixes
|
|
460
|
+
|
|
461
|
+
- decreasing min-width for chips to 48px ([fe273db](https://bitbucket.org/enturas/design-system/commits/fe273dbd587a31514d852e743da564c2402ef13a))
|
|
462
|
+
- fixing label support for choice chips group ([8bebf95](https://bitbucket.org/enturas/design-system/commits/8bebf9503ccb7dadd100fbd177b3da31a9375483))
|
|
463
|
+
|
|
464
|
+
## [0.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.1...@entur/chip@0.2.2) (2019-12-10)
|
|
465
|
+
|
|
466
|
+
### Bug Fixes
|
|
467
|
+
|
|
468
|
+
- spreading styles on ChoiceChip-components ([4bdfef8](https://bitbucket.org/enturas/design-system/commits/4bdfef86acdc29e3620a9b20792812672b58bfa6))
|
|
469
|
+
- **icon position:** consistent spacing for icons in chips ([f8ab91f](https://bitbucket.org/enturas/design-system/commits/f8ab91f255e70f1945d7145e6aef7c5136232bc1))
|
|
470
|
+
- adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
|
|
471
|
+
|
|
472
|
+
## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.2.0...@entur/chip@0.2.1) (2019-11-29)
|
|
473
|
+
|
|
474
|
+
### Bug Fixes
|
|
475
|
+
|
|
476
|
+
- using new box shadow tokens ([9ff30bd](https://bitbucket.org/enturas/design-system/commits/9ff30bd52ad2b6e6d770565684a05e15f0b0ba9a))
|
|
477
|
+
|
|
478
|
+
# [0.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.1.1...@entur/chip@0.2.0) (2019-11-22)
|
|
479
|
+
|
|
480
|
+
### Features
|
|
481
|
+
|
|
482
|
+
- **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
|
|
483
|
+
|
|
484
|
+
## 0.1.1 (2019-11-18)
|
|
485
|
+
|
|
486
|
+
### Bug Fixes
|
|
487
|
+
|
|
488
|
+
- fixing improper styling of chips ([eb48017](https://bitbucket.org/enturas/design-system/commits/eb48017876785665900062461470b35ef05a1e9f))
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
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-chip {
|
|
6
|
+
background: #ebebf1;
|
|
7
|
+
border: 0.0625rem solid #d1d4e3;
|
|
8
|
+
border-radius: 1rem;
|
|
9
|
+
color: inherit;
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
font-size: 0.875rem;
|
|
12
|
+
height: 2rem;
|
|
13
|
+
min-width: 3rem;
|
|
14
|
+
padding: 0 0.75rem;
|
|
15
|
+
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
.eds-chip svg {
|
|
21
|
+
font-size: 0.875rem;
|
|
22
|
+
}
|
|
23
|
+
.eds-contrast .eds-chip {
|
|
24
|
+
background-color: #393d79;
|
|
25
|
+
border-color: transparent;
|
|
26
|
+
}
|
|
27
|
+
.eds-chip--leading-icon .eds-icon {
|
|
28
|
+
margin-right: 0.5rem;
|
|
29
|
+
}
|
|
30
|
+
.eds-chip--trailing-icon .eds-icon {
|
|
31
|
+
margin-left: 0.5rem;
|
|
32
|
+
}/* DO NOT CHANGE!*/
|
|
33
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
34
|
.eds-action-chip {
|
|
6
35
|
cursor: pointer;
|
|
7
36
|
}
|
|
@@ -41,35 +70,6 @@
|
|
|
41
70
|
background-color: #ffffff;
|
|
42
71
|
}/* DO NOT CHANGE!*/
|
|
43
72
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
44
|
-
.eds-chip {
|
|
45
|
-
background: #ebebf1;
|
|
46
|
-
border: 0.0625rem solid #d1d4e3;
|
|
47
|
-
border-radius: 1rem;
|
|
48
|
-
color: inherit;
|
|
49
|
-
font-family: inherit;
|
|
50
|
-
font-size: 0.875rem;
|
|
51
|
-
height: 2rem;
|
|
52
|
-
min-width: 3rem;
|
|
53
|
-
padding: 0 0.75rem;
|
|
54
|
-
transition: background 0.1s ease-out, border 0.1s ease-out;
|
|
55
|
-
display: flex;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
align-items: center;
|
|
58
|
-
}
|
|
59
|
-
.eds-chip svg {
|
|
60
|
-
font-size: 0.875rem;
|
|
61
|
-
}
|
|
62
|
-
.eds-contrast .eds-chip {
|
|
63
|
-
background-color: #393d79;
|
|
64
|
-
border-color: transparent;
|
|
65
|
-
}
|
|
66
|
-
.eds-chip--leading-icon .eds-icon {
|
|
67
|
-
margin-right: 0.5rem;
|
|
68
|
-
}
|
|
69
|
-
.eds-chip--trailing-icon .eds-icon {
|
|
70
|
-
margin-left: 0.5rem;
|
|
71
|
-
}/* DO NOT CHANGE!*/
|
|
72
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
73
73
|
.eds-tag-chip {
|
|
74
74
|
cursor: default;
|
|
75
75
|
padding-right: 0.25rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/chip.esm.js",
|
|
@@ -17,25 +17,20 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"start": "
|
|
21
|
-
"build": "
|
|
22
|
-
"test": "
|
|
23
|
-
"lint": "
|
|
20
|
+
"start": "dts watch --noClean",
|
|
21
|
+
"build": "dts build",
|
|
22
|
+
"test": "dts test --env=jsdom",
|
|
23
|
+
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.8.0",
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/form": "^5.4.
|
|
31
|
-
"@entur/tokens": "^3.4.
|
|
32
|
-
"@entur/utils": "^0.4.
|
|
30
|
+
"@entur/form": "^5.4.9",
|
|
31
|
+
"@entur/tokens": "^3.4.1",
|
|
32
|
+
"@entur/utils": "^0.4.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"dts-cli": "^1.1.6",
|
|
37
|
-
"jest-watch-typeahead": "^2.2.0",
|
|
38
|
-
"ts-jest": "^27.0.0"
|
|
39
|
-
},
|
|
40
|
-
"gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
|
|
35
|
+
"gitHead": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
|
|
41
36
|
}
|