@entur/table 4.5.26-beta.3 → 4.5.26

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