@entur/table 4.5.26-beta.3 → 4.5.27

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +532 -0
  2. package/dist/styles.css +60 -60
  3. package/package.json +11 -14
package/CHANGELOG.md ADDED
@@ -0,0 +1,532 @@
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
+ ## [4.5.27](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.26...@entur/table@4.5.27) (2022-10-31)
7
+
8
+ **Note:** Version bump only for package @entur/table
9
+
10
+ ## [4.5.26](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.25...@entur/table@4.5.26) (2022-10-31)
11
+
12
+ **Note:** Version bump only for package @entur/table
13
+
14
+ ## [4.5.25](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.24...@entur/table@4.5.25) (2022-10-20)
15
+
16
+ **Note:** Version bump only for package @entur/table
17
+
18
+ ## [4.5.24](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.23...@entur/table@4.5.24) (2022-10-20)
19
+
20
+ **Note:** Version bump only for package @entur/table
21
+
22
+ ## [4.5.23](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.22...@entur/table@4.5.23) (2022-10-12)
23
+
24
+ ### Bug Fixes
25
+
26
+ - **sortable table:** add aria-label to indicate sorting status for column ([e5e265c](https://bitbucket.org/enturas/design-system/commits/e5e265cce215e01976f7dc03a352101eceb74dfa))
27
+ - **sortable table:** add icon to indicate that a column is sortable ([5b3c164](https://bitbucket.org/enturas/design-system/commits/5b3c1645ba70b85cd4fc5bc2c2ca8c429430182a))
28
+
29
+ ## [4.5.22](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.21...@entur/table@4.5.22) (2022-10-05)
30
+
31
+ ### Bug Fixes
32
+
33
+ - **expandable table button:** change expandable table button to reflect icon button styling ([1814f1c](https://bitbucket.org/enturas/design-system/commits/1814f1ca0bbaa4025e6ba9f1d8dda295aba08523))
34
+
35
+ ## [4.5.20](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.19...@entur/table@4.5.20) (2022-08-31)
36
+
37
+ **Note:** Version bump only for package @entur/table
38
+
39
+ ## [4.5.19](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.18...@entur/table@4.5.19) (2022-08-24)
40
+
41
+ ### Bug Fixes
42
+
43
+ - fix lint errors, mostly related to hooks ([f753806](https://bitbucket.org/enturas/design-system/commits/f75380657d95357f89917ddd7a2bce6f5e04b490))
44
+
45
+ ## [4.5.18](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.17...@entur/table@4.5.18) (2022-08-12)
46
+
47
+ **Note:** Version bump only for package @entur/table
48
+
49
+ ## [4.5.17](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.16...@entur/table@4.5.17) (2022-08-09)
50
+
51
+ **Note:** Version bump only for package @entur/table
52
+
53
+ ## [4.5.16](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.15...@entur/table@4.5.16) (2022-08-09)
54
+
55
+ **Note:** Version bump only for package @entur/table
56
+
57
+ ## [4.5.15](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.14...@entur/table@4.5.15) (2022-07-05)
58
+
59
+ **Note:** Version bump only for package @entur/table
60
+
61
+ ## [4.5.14](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.13...@entur/table@4.5.14) (2022-06-28)
62
+
63
+ **Note:** Version bump only for package @entur/table
64
+
65
+ ## [4.5.13](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.12...@entur/table@4.5.13) (2022-06-24)
66
+
67
+ **Note:** Version bump only for package @entur/table
68
+
69
+ ## [4.5.12](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.11...@entur/table@4.5.12) (2022-06-02)
70
+
71
+ **Note:** Version bump only for package @entur/table
72
+
73
+ ## [4.5.11](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.10...@entur/table@4.5.11) (2022-05-13)
74
+
75
+ **Note:** Version bump only for package @entur/table
76
+
77
+ ## [4.5.10](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.9...@entur/table@4.5.10) (2022-05-04)
78
+
79
+ **Note:** Version bump only for package @entur/table
80
+
81
+ ## [4.5.9](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.8...@entur/table@4.5.9) (2022-04-27)
82
+
83
+ **Note:** Version bump only for package @entur/table
84
+
85
+ ## [4.5.8](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.7...@entur/table@4.5.8) (2022-04-20)
86
+
87
+ **Note:** Version bump only for package @entur/table
88
+
89
+ ## [4.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.6...@entur/table@4.5.7) (2022-04-19)
90
+
91
+ ### Bug Fixes
92
+
93
+ - **table:** fix incorrect header padding in table ([0efe315](https://bitbucket.org/enturas/design-system/commits/0efe315f5a508e3a9eecfe6b992e8a6a7083555b))
94
+
95
+ ## [4.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.5...@entur/table@4.5.6) (2022-03-14)
96
+
97
+ **Note:** Version bump only for package @entur/table
98
+
99
+ ## [4.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.4...@entur/table@4.5.5) (2022-03-01)
100
+
101
+ **Note:** Version bump only for package @entur/table
102
+
103
+ ## [4.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.3...@entur/table@4.5.4) (2022-02-09)
104
+
105
+ **Note:** Version bump only for package @entur/table
106
+
107
+ ## [4.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.2...@entur/table@4.5.3) (2022-01-21)
108
+
109
+ **Note:** Version bump only for package @entur/table
110
+
111
+ ## [4.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.1...@entur/table@4.5.2) (2022-01-05)
112
+
113
+ **Note:** Version bump only for package @entur/table
114
+
115
+ ## [4.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.5.0...@entur/table@4.5.1) (2021-12-10)
116
+
117
+ **Note:** Version bump only for package @entur/table
118
+
119
+ # [4.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.4.1...@entur/table@4.5.0) (2021-11-17)
120
+
121
+ ### Bug Fixes
122
+
123
+ - **headercell:** improve typings of props ([f8fff33](https://bitbucket.org/enturas/design-system/commits/f8fff33a6a94d1932d9d21df946ee62702ba6690))
124
+ - **useSortableTable:** apply focus styling for sortable HeaderCells ([cf481eb](https://bitbucket.org/enturas/design-system/commits/cf481eb8528c056e3e07ab8e37b94e374d1ca5d7))
125
+
126
+ ### Features
127
+
128
+ - **usesortabletable:** add buttonProps to getSortableeHeaderProps ([a5f3d48](https://bitbucket.org/enturas/design-system/commits/a5f3d48518f2ab729a91df0c58e367279fbdaa69))
129
+
130
+ ## [4.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.4.0...@entur/table@4.4.1) (2021-10-25)
131
+
132
+ ### Bug Fixes
133
+
134
+ - **tablebody:** fix typing for ref prop ([fe133f2](https://bitbucket.org/enturas/design-system/commits/fe133f25f882d39b682baf6fb3b214305ac75dfc))
135
+
136
+ # [4.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.18...@entur/table@4.4.0) (2021-10-18)
137
+
138
+ ### Bug Fixes
139
+
140
+ - **sortable table:** fix sort icon position on small and middle table ([f57062f](https://bitbucket.org/enturas/design-system/commits/f57062f6753df1cdba8cd3ba1290e5b1b1f6c724))
141
+ - improve useTableKeyboardNavigation ([2d112cf](https://bitbucket.org/enturas/design-system/commits/2d112cf263a73f9c4ad9dcbaa20db6be27829702))
142
+ - **expand row button:** fix focus styling ([9d94b9c](https://bitbucket.org/enturas/design-system/commits/9d94b9c0bb7b44f881cd769694491d294874988c))
143
+ - **tablebody:** improve typings ([729f69d](https://bitbucket.org/enturas/design-system/commits/729f69d733df82f75bbc010a35757f5bd6c9af06))
144
+ - **tablerow:** export props for component ([8119df0](https://bitbucket.org/enturas/design-system/commits/8119df03209d33603335fd744866bfbee6b0d4c7))
145
+
146
+ ### Features
147
+
148
+ - add hook for enabling keyboard navigation in tables ([cd7ef12](https://bitbucket.org/enturas/design-system/commits/cd7ef12474810aa813a275804e2356b26814c56f))
149
+
150
+ ## [4.3.18](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.17...@entur/table@4.3.18) (2021-09-23)
151
+
152
+ **Note:** Version bump only for package @entur/table
153
+
154
+ ## [4.3.17](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.16...@entur/table@4.3.17) (2021-09-13)
155
+
156
+ **Note:** Version bump only for package @entur/table
157
+
158
+ ## [4.3.16](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.15...@entur/table@4.3.16) (2021-09-07)
159
+
160
+ ### Bug Fixes
161
+
162
+ - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
163
+ - **headercell:** fix lint warning ([45e0c2f](https://bitbucket.org/enturas/design-system/commits/45e0c2fc2fcdf6cc037c1e4a30acf93d00b92deb))
164
+
165
+ ## [4.3.15](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.14...@entur/table@4.3.15) (2021-08-13)
166
+
167
+ **Note:** Version bump only for package @entur/table
168
+
169
+ ## [4.3.14](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.13...@entur/table@4.3.14) (2021-07-16)
170
+
171
+ **Note:** Version bump only for package @entur/table
172
+
173
+ ## [4.3.13](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.12...@entur/table@4.3.13) (2021-06-25)
174
+
175
+ ### Bug Fixes
176
+
177
+ - update dependencies ([e5c719c](https://bitbucket.org/enturas/design-system/commits/e5c719cc9146d06acca1c7f286d093064f71d6cb))
178
+ - **editablecell:** conditionally show tooltip instead of entire tree ([2b4a302](https://bitbucket.org/enturas/design-system/commits/2b4a302f7369944956569f5a5ec4d742d53b5eea))
179
+
180
+ ## [4.3.12](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.11...@entur/table@4.3.12) (2021-06-04)
181
+
182
+ **Note:** Version bump only for package @entur/table
183
+
184
+ ## [4.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.10...@entur/table@4.3.11) (2021-05-26)
185
+
186
+ ### Bug Fixes
187
+
188
+ - **header cell:** add support for forward ref ([e2a2eef](https://bitbucket.org/enturas/design-system/commits/e2a2eefc3c654b7f3038fdb5f74670b56c13f6fe))
189
+ - **table:** add support for forward ref ([3d23e2a](https://bitbucket.org/enturas/design-system/commits/3d23e2afafd1b77d4f4d4e44296a6b98282b45c9))
190
+ - **table body:** add support for forward ref ([b7b3721](https://bitbucket.org/enturas/design-system/commits/b7b37216eb105b48412575e6e1f03b0e6eee073e))
191
+ - **table footer:** add support for forward ref ([794c1af](https://bitbucket.org/enturas/design-system/commits/794c1af48b0012fd5f726c6dca3d5b7d45771764))
192
+ - **table head:** add support for forward ref ([b0a8941](https://bitbucket.org/enturas/design-system/commits/b0a8941aa88a009db1a19cf5871de5056c94cd60))
193
+ - **table row:** add support for forward ref ([6fd802b](https://bitbucket.org/enturas/design-system/commits/6fd802be096294608d244bc2689a535622822977))
194
+
195
+ ## [4.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.9...@entur/table@4.3.10) (2021-05-19)
196
+
197
+ **Note:** Version bump only for package @entur/table
198
+
199
+ ## [4.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.8...@entur/table@4.3.9) (2021-05-05)
200
+
201
+ **Note:** Version bump only for package @entur/table
202
+
203
+ ## [4.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.7...@entur/table@4.3.8) (2021-04-23)
204
+
205
+ ### Bug Fixes
206
+
207
+ - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
208
+
209
+ ## [4.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.6...@entur/table@4.3.7) (2021-04-09)
210
+
211
+ **Note:** Version bump only for package @entur/table
212
+
213
+ ## [4.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.5...@entur/table@4.3.6) (2021-03-02)
214
+
215
+ ### Bug Fixes
216
+
217
+ - **datacell:** improve typing of rest props ([585aff2](https://bitbucket.org/enturas/design-system/commits/585aff2634d3b7f0c2c736c7b4c1a482fce8132e))
218
+
219
+ ## [4.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.4...@entur/table@4.3.5) (2021-02-17)
220
+
221
+ **Note:** Version bump only for package @entur/table
222
+
223
+ ## [4.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.3...@entur/table@4.3.4) (2021-02-05)
224
+
225
+ **Note:** Version bump only for package @entur/table
226
+
227
+ ## [4.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.2...@entur/table@4.3.3) (2021-01-29)
228
+
229
+ **Note:** Version bump only for package @entur/table
230
+
231
+ ## [4.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.1...@entur/table@4.3.2) (2021-01-20)
232
+
233
+ **Note:** Version bump only for package @entur/table
234
+
235
+ ## [4.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.3.0...@entur/table@4.3.1) (2021-01-13)
236
+
237
+ ### Bug Fixes
238
+
239
+ - transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
240
+
241
+ # [4.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.2.2...@entur/table@4.3.0) (2021-01-05)
242
+
243
+ ### Features
244
+
245
+ - **editablecell:** add outlined prop ([467b272](https://bitbucket.org/enturas/design-system/commits/467b2728b5a2206c7ab1c5fa3592458bb212872e))
246
+
247
+ ## [4.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.2.1...@entur/table@4.2.2) (2020-12-04)
248
+
249
+ ### Bug Fixes
250
+
251
+ - **datacell:** improve typings ([d1eac68](https://bitbucket.org/enturas/design-system/commits/d1eac685c4ec51a3d7b6e8e7cdf04198a2149ac4))
252
+
253
+ ## [4.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.2.0...@entur/table@4.2.1) (2020-11-26)
254
+
255
+ **Note:** Version bump only for package @entur/table
256
+
257
+ # [4.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.1.3...@entur/table@4.2.0) (2020-11-10)
258
+
259
+ ### Features
260
+
261
+ - **sortable data:** add support for nested object in sort key ([41c108d](https://bitbucket.org/enturas/design-system/commits/41c108dc378faefa9b65d3fbc24a0738c42404ec))
262
+
263
+ ## [4.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.1.2...@entur/table@4.1.3) (2020-11-05)
264
+
265
+ **Note:** Version bump only for package @entur/table
266
+
267
+ ## [4.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.1.1...@entur/table@4.1.2) (2020-10-28)
268
+
269
+ **Note:** Version bump only for package @entur/table
270
+
271
+ ## [4.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.1.0...@entur/table@4.1.1) (2020-10-23)
272
+
273
+ **Note:** Version bump only for package @entur/table
274
+
275
+ # [4.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.6...@entur/table@4.1.0) (2020-10-16)
276
+
277
+ ### Bug Fixes
278
+
279
+ - **expandablerow:** improve props of expandable row ([ff53994](https://bitbucket.org/enturas/design-system/commits/ff539943eefb01e3beb996fd61dbde849904731d))
280
+ - **expandrowbutton:** improve typing of expandRowButton ([6554213](https://bitbucket.org/enturas/design-system/commits/6554213db245e2abb2c7fd2f76a3f669440ca8f8))
281
+ - **table:** adjust height of middle density table ([a4304c9](https://bitbucket.org/enturas/design-system/commits/a4304c9e4cea0a04c5ff92b5f7a52867a8a2c885))
282
+
283
+ ### Features
284
+
285
+ - **expandable row:** add expand row button component ([ac712ae](https://bitbucket.org/enturas/design-system/commits/ac712ae14e1199710e4c7cd13e926d9f18743fb8))
286
+ - **expandable row:** add expandable row component ([a0400c0](https://bitbucket.org/enturas/design-system/commits/a0400c0a6c62cf3a0781348a089c9a5d96d7f2d2))
287
+
288
+ ## [4.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.5...@entur/table@4.0.6) (2020-10-09)
289
+
290
+ **Note:** Version bump only for package @entur/table
291
+
292
+ ## [4.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.4...@entur/table@4.0.5) (2020-10-09)
293
+
294
+ **Note:** Version bump only for package @entur/table
295
+
296
+ ## [4.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.3...@entur/table@4.0.4) (2020-09-25)
297
+
298
+ ### Bug Fixes
299
+
300
+ - **header cell:** improve sort arrow position ([2bfa956](https://bitbucket.org/enturas/design-system/commits/2bfa956a96959ead6f208ab865c3c0f9861272e2))
301
+ - **use sortable table:** fix broken typing for sort hook ([efbb272](https://bitbucket.org/enturas/design-system/commits/efbb272b4f4cedfcdf99d88ea76eff684fc70455))
302
+
303
+ ## [4.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.2...@entur/table@4.0.3) (2020-09-14)
304
+
305
+ **Note:** Version bump only for package @entur/table
306
+
307
+ ## [4.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.1...@entur/table@4.0.2) (2020-09-10)
308
+
309
+ **Note:** Version bump only for package @entur/table
310
+
311
+ ## [4.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@4.0.0...@entur/table@4.0.1) (2020-09-02)
312
+
313
+ **Note:** Version bump only for package @entur/table
314
+
315
+ # [4.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.2.0...@entur/table@4.0.0) (2020-08-26)
316
+
317
+ ### Bug Fixes
318
+
319
+ - **datacell:** forward referencing for datacell ([e7b1340](https://bitbucket.org/enturas/design-system/commits/e7b1340e18fc0359d6a4f9797ab4bdc222c5b8b9))
320
+ - **editable cell:** remove value and onchange props ([7aef4ee](https://bitbucket.org/enturas/design-system/commits/7aef4ee3c66fcf1a33fe89f4245798030af89d22))
321
+ - **editable cell:** rework editable cell api ([3f6efee](https://bitbucket.org/enturas/design-system/commits/3f6efeed5c26a9112dbf2f91edc67be72a25c914))
322
+
323
+ ### Features
324
+
325
+ - **editable cell:** add variant and feedback prop ([4ff9752](https://bitbucket.org/enturas/design-system/commits/4ff975286e241b3ed7877c71234880a8e4a31bd5))
326
+
327
+ ### BREAKING CHANGES
328
+
329
+ - **editable cell:** must use a input component as children to function
330
+ - **editable cell:** will be breaking for editable cell users | use input components directly (see documentation),
331
+ instead of value prop
332
+
333
+ # [3.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.1.2...@entur/table@3.2.0) (2020-08-14)
334
+
335
+ ### Features
336
+
337
+ - **table row:** add error prop to table row ([69907ec](https://bitbucket.org/enturas/design-system/commits/69907ecd9e062ca3f0ea701a0704343f9fc85094))
338
+
339
+ ## [3.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.1.1...@entur/table@3.1.2) (2020-08-11)
340
+
341
+ **Note:** Version bump only for package @entur/table
342
+
343
+ ## [3.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.1.0...@entur/table@3.1.1) (2020-07-16)
344
+
345
+ ### Bug Fixes
346
+
347
+ - improve styling hierarchy for tables ([2f50425](https://bitbucket.org/enturas/design-system/commits/2f50425e18ef5171fabcf16c8f6f54fd88284159))
348
+
349
+ # [3.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.0.3...@entur/table@3.1.0) (2020-07-09)
350
+
351
+ ### Features
352
+
353
+ - add editable cell component ([57ffbb4](https://bitbucket.org/enturas/design-system/commits/57ffbb42cb48d06c4768670f31b19f95168a6e59))
354
+
355
+ ## [3.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.0.2...@entur/table@3.0.3) (2020-07-03)
356
+
357
+ **Note:** Version bump only for package @entur/table
358
+
359
+ ## [3.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.0.1...@entur/table@3.0.2) (2020-06-17)
360
+
361
+ ### Bug Fixes
362
+
363
+ - remove top padding from header-row in tables ([2b3167f](https://bitbucket.org/enturas/design-system/commits/2b3167fb44b73d8af13f2a11f7f76f760d549601))
364
+
365
+ ## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@3.0.0...@entur/table@3.0.1) (2020-05-27)
366
+
367
+ ### Bug Fixes
368
+
369
+ - fix naming change of density->spacing ([5f5c447](https://bitbucket.org/enturas/design-system/commits/5f5c447f6a34167b87899579ea48ed76ec91c03c))
370
+
371
+ # [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@2.1.2...@entur/table@3.0.0) (2020-05-26)
372
+
373
+ ### Bug Fixes
374
+
375
+ - table: prop name change from density to spacing ([b05f03e](https://bitbucket.org/enturas/design-system/commits/b05f03e77ac29965caa8866a5626aef318887e21))
376
+
377
+ ### BREAKING CHANGES
378
+
379
+ - prop name change density --> spacing in Table
380
+
381
+ ## [2.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@2.1.1...@entur/table@2.1.2) (2020-05-20)
382
+
383
+ **Note:** Version bump only for package @entur/table
384
+
385
+ ## [2.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@2.1.0...@entur/table@2.1.1) (2020-04-27)
386
+
387
+ **Note:** Version bump only for package @entur/table
388
+
389
+ # [2.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@2.0.1...@entur/table@2.1.0) (2020-04-23)
390
+
391
+ ### Features
392
+
393
+ - add status prop for datacells ([996288b](https://bitbucket.org/enturas/design-system/commits/996288b4c1b3d95d5fc0fa6dc621c366c2d37cea))
394
+
395
+ ## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@2.0.0...@entur/table@2.0.1) (2020-04-08)
396
+
397
+ ### Bug Fixes
398
+
399
+ - **padding prop:** add "overflow-menu" for padding prop ([cb5be81](https://bitbucket.org/enturas/design-system/commits/cb5be81e9bf144ed3a8e8f10e65b5ebe84fcab76))
400
+
401
+ # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.5.0...@entur/table@2.0.0) (2020-03-25)
402
+
403
+ ### Features
404
+
405
+ - add middle and small table density ([18e71a6](https://bitbucket.org/enturas/design-system/commits/18e71a683c5dd67bf6e744742ace106da25ca321))
406
+ - add padding capabilities needed for checkbox and radio tables ([79a729c](https://bitbucket.org/enturas/design-system/commits/79a729c58052e901bd4d6f8d9ee51120db3a0c31))
407
+
408
+ ### BREAKING CHANGES
409
+
410
+ - the compact prop is now deprecated, use density="middle" instead
411
+
412
+ ISSUES CLOSED: DS-295 DS-296 DS-298
413
+
414
+ # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.5.0...@entur/table@1.0.0) (2020-03-25)
415
+
416
+ ### Features
417
+
418
+ - add middle and small table density ([18e71a6](https://bitbucket.org/enturas/design-system/commits/18e71a683c5dd67bf6e744742ace106da25ca321))
419
+ - add padding capabilities needed for checkbox and radio tables ([79a729c](https://bitbucket.org/enturas/design-system/commits/79a729c58052e901bd4d6f8d9ee51120db3a0c31))
420
+
421
+ ### BREAKING CHANGES
422
+
423
+ - the compact prop is now deprecated, use density="middle" instead
424
+
425
+ ISSUES CLOSED: DS-295 DS-296 DS-298
426
+
427
+ # [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.4.1...@entur/table@0.5.0) (2020-03-20)
428
+
429
+ ### Features
430
+
431
+ - add hover and active props for tablerow ([0e5e90a](https://bitbucket.org/enturas/design-system/commits/0e5e90aedff1e1fd2f927de51133356b41eae58c))
432
+
433
+ ## [0.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.4.0...@entur/table@0.4.1) (2020-03-18)
434
+
435
+ **Note:** Version bump only for package @entur/table
436
+
437
+ # [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.14...@entur/table@0.4.0) (2020-03-05)
438
+
439
+ ### Features
440
+
441
+ - **sorting:** add useSortableTable hook to sort tables ([77be21e](https://bitbucket.org/enturas/design-system/commits/77be21e1de51b8e17ed4b45fc89e8d9ad9b8ad48))
442
+
443
+ ## [0.3.14](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.13...@entur/table@0.3.14) (2020-02-20)
444
+
445
+ **Note:** Version bump only for package @entur/table
446
+
447
+ ## [0.3.13](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.12...@entur/table@0.3.13) (2020-02-14)
448
+
449
+ ### Bug Fixes
450
+
451
+ - remove hover effect for tables ([7a23e4b](https://bitbucket.org/enturas/design-system/commits/7a23e4b1fb8a537b2cb89889f095c636cef63646))
452
+
453
+ ## [0.3.12](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.11...@entur/table@0.3.12) (2020-02-12)
454
+
455
+ ### Bug Fixes
456
+
457
+ - fix missing type for spreading of props ([0e5beba](https://bitbucket.org/enturas/design-system/commits/0e5beba82ea7dde39915cd626e665aa6c15dafbf))
458
+
459
+ ## [0.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.10...@entur/table@0.3.11) (2020-02-05)
460
+
461
+ ### Bug Fixes
462
+
463
+ - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
464
+
465
+ ## [0.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.9...@entur/table@0.3.10) (2020-01-28)
466
+
467
+ **Note:** Version bump only for package @entur/table
468
+
469
+ ## [0.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.8...@entur/table@0.3.9) (2020-01-27)
470
+
471
+ ### Bug Fixes
472
+
473
+ - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
474
+
475
+ ## [0.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.7...@entur/table@0.3.8) (2020-01-14)
476
+
477
+ **Note:** Version bump only for package @entur/table
478
+
479
+ ## [0.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.6...@entur/table@0.3.7) (2020-01-08)
480
+
481
+ ### Bug Fixes
482
+
483
+ - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
484
+
485
+ ## [0.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.5...@entur/table@0.3.6) (2020-01-06)
486
+
487
+ **Note:** Version bump only for package @entur/table
488
+
489
+ ## [0.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.4...@entur/table@0.3.5) (2019-12-10)
490
+
491
+ ### Bug Fixes
492
+
493
+ - adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
494
+
495
+ ## [0.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.3...@entur/table@0.3.4) (2019-11-29)
496
+
497
+ **Note:** Version bump only for package @entur/table
498
+
499
+ ## [0.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.2...@entur/table@0.3.3) (2019-11-27)
500
+
501
+ ### Bug Fixes
502
+
503
+ - **types:** simplify the types to avoid extraneous props ([571ac56](https://bitbucket.org/enturas/design-system/commits/571ac568abb5a6b2c353d5711418d1058b51a91b))
504
+
505
+ ## [0.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.1...@entur/table@0.3.2) (2019-11-22)
506
+
507
+ ### Bug Fixes
508
+
509
+ - make table rows always have the same padding ([cbebeee](https://bitbucket.org/enturas/design-system/commits/cbebeeead42d597f4a8c56c38ab52cdbe94e820e))
510
+
511
+ ## [0.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.3.0...@entur/table@0.3.1) (2019-11-14)
512
+
513
+ ### Bug Fixes
514
+
515
+ - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
516
+
517
+ # [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/table@0.2.0...@entur/table@0.3.0) (2019-10-30)
518
+
519
+ ### Bug Fixes
520
+
521
+ - migrate to latest version of space tokens ([4330496](https://bitbucket.org/enturas/design-system/commits/4330496e269bf628f7b9b7aec75f704800201101))
522
+ - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
523
+
524
+ ### Features
525
+
526
+ - **table:** add new option "compact" to Table component ([6de5abd](https://bitbucket.org/enturas/design-system/commits/6de5abdc3655fb72b3595c447d814b3e51e30e17))
527
+
528
+ # 0.2.0 (2019-10-22)
529
+
530
+ ### Features
531
+
532
+ - **table:** new package @entur/table ([45d7e3b](https://bitbucket.org/enturas/design-system/commits/45d7e3b151b6ff4e59bf58d776da5b45df34f196))
package/dist/styles.css CHANGED
@@ -108,6 +108,66 @@
108
108
  border-color: #393d79;
109
109
  }/* DO NOT CHANGE!*/
110
110
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
111
+ .eds-table__header-cell {
112
+ color: #656782;
113
+ font-size: 0.875rem;
114
+ font-weight: 500;
115
+ text-align: left;
116
+ height: 3rem;
117
+ padding: 0 1.5rem;
118
+ }
119
+ .eds-table--middle .eds-table__header-cell, .eds-table--small .eds-table__header-cell {
120
+ padding: 0 1rem;
121
+ }
122
+ .eds-contrast .eds-table__header-cell {
123
+ color: #aeb7e2;
124
+ border-bottom-color: #393d79;
125
+ }
126
+ .eds-table__header-cell--padding-checkbox {
127
+ width: 3rem;
128
+ padding: 0 0 1rem 1.25rem;
129
+ }
130
+ .eds-table__header-cell--padding-radio {
131
+ width: 3rem;
132
+ padding: 0 0 1rem 1.25rem;
133
+ }
134
+ .eds-table__header-cell--padding-overflow-menu {
135
+ width: 3rem;
136
+ padding: 1rem 0.75rem;
137
+ }
138
+ .eds-table__header-cell--sortable:focus {
139
+ outline: none;
140
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
141
+ outline-offset: 0.125rem;
142
+ }
143
+ .eds-table__header-cell-button {
144
+ position: relative;
145
+ text-align: left;
146
+ height: 100%;
147
+ width: 100%;
148
+ padding: 0;
149
+ cursor: pointer;
150
+ -webkit-appearance: none;
151
+ -moz-appearance: none;
152
+ appearance: none;
153
+ border: none;
154
+ background: none;
155
+ color: inherit;
156
+ font-size: inherit;
157
+ font-weight: inherit;
158
+ font-family: inherit;
159
+ }
160
+ .eds-table__header-cell-button-icon {
161
+ position: absolute;
162
+ margin-left: 0.25rem;
163
+ }
164
+ .eds-table__header-cell-button:focus {
165
+ outline: 2px solid #181c56;
166
+ }
167
+ .eds-contrast .eds-table__header-cell-button:focus {
168
+ outline: 2px solid #ffffff;
169
+ }/* DO NOT CHANGE!*/
170
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
111
171
  .eds-editable-cell {
112
172
  padding: 0.25rem 0.75rem;
113
173
  }
@@ -229,64 +289,4 @@
229
289
  }
230
290
  .eds-expand-row-button--open .eds-expand-row-button__icon {
231
291
  transform: rotate(180deg);
232
- }/* DO NOT CHANGE!*/
233
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
234
- .eds-table__header-cell {
235
- color: #656782;
236
- font-size: 0.875rem;
237
- font-weight: 500;
238
- text-align: left;
239
- height: 3rem;
240
- padding: 0 1.5rem;
241
- }
242
- .eds-table--middle .eds-table__header-cell, .eds-table--small .eds-table__header-cell {
243
- padding: 0 1rem;
244
- }
245
- .eds-contrast .eds-table__header-cell {
246
- color: #aeb7e2;
247
- border-bottom-color: #393d79;
248
- }
249
- .eds-table__header-cell--padding-checkbox {
250
- width: 3rem;
251
- padding: 0 0 1rem 1.25rem;
252
- }
253
- .eds-table__header-cell--padding-radio {
254
- width: 3rem;
255
- padding: 0 0 1rem 1.25rem;
256
- }
257
- .eds-table__header-cell--padding-overflow-menu {
258
- width: 3rem;
259
- padding: 1rem 0.75rem;
260
- }
261
- .eds-table__header-cell--sortable:focus {
262
- outline: none;
263
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
264
- outline-offset: 0.125rem;
265
- }
266
- .eds-table__header-cell-button {
267
- position: relative;
268
- text-align: left;
269
- height: 100%;
270
- width: 100%;
271
- padding: 0;
272
- cursor: pointer;
273
- -webkit-appearance: none;
274
- -moz-appearance: none;
275
- appearance: none;
276
- border: none;
277
- background: none;
278
- color: inherit;
279
- font-size: inherit;
280
- font-weight: inherit;
281
- font-family: inherit;
282
- }
283
- .eds-table__header-cell-button-icon {
284
- position: absolute;
285
- margin-left: 0.25rem;
286
- }
287
- .eds-table__header-cell-button:focus {
288
- outline: 2px solid #181c56;
289
- }
290
- .eds-contrast .eds-table__header-cell-button:focus {
291
- outline: 2px solid #ffffff;
292
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/table",
3
- "version": "4.5.26-beta.3",
3
+ "version": "4.5.27",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/table.esm.js",
@@ -17,29 +17,26 @@
17
17
  "access": "public"
18
18
  },
19
19
  "scripts": {
20
- "start": "yarn run dts watch --noClean",
21
- "build": "yarn run dts build",
22
- "test": "yarn run dts test --env=jsdom",
23
- "lint": "yarn run dts 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/button": "^2.10.5-beta.3",
31
- "@entur/expand": "^3.3.24-beta.3",
32
- "@entur/form": "^5.4.8-beta.3",
33
- "@entur/utils": "^0.4.6-beta.2",
30
+ "@entur/button": "^2.10.4",
31
+ "@entur/expand": "^3.3.25",
32
+ "@entur/form": "^5.4.9",
33
+ "@entur/utils": "^0.4.5",
34
34
  "@types/lodash.get": "^4.4.6",
35
35
  "classnames": "^2.3.1",
36
36
  "lodash.get": "^4.4.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@entur/tokens": "^3.4.2-beta.2",
40
- "dts-cli": "^1.1.6",
41
- "jest-watch-typeahead": "^2.2.0",
42
- "ts-jest": "^27.0.0"
39
+ "@entur/tokens": "^3.4.1"
43
40
  },
44
- "gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
41
+ "gitHead": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
45
42
  }