@sb1/ffe-tables-react 6.0.26 → 6.0.30
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/es/DefaultTable/DefaultTable.js +5 -5
- package/es/SortableTable/SortableTable.js +6 -6
- package/es/SortableTable/sort-data.js +1 -1
- package/es/Table.js +3 -1
- package/es/TableParts/TableRow.js +2 -2
- package/es/TableParts/TableRowExpandable.js +6 -6
- package/lib/DefaultTable/DefaultTable.js +7 -7
- package/lib/SortableTable/SortableTable.js +8 -8
- package/lib/SortableTable/sort-data.js +1 -1
- package/lib/Table.js +3 -1
- package/lib/TableParts/TableRow.js +2 -2
- package/lib/TableParts/TableRowExpandable.js +8 -8
- package/package.json +8 -10
- package/CHANGELOG.md +0 -769
- package/es/DefaultTable/DefaultTable.spec.js +0 -573
- package/es/SortableTable/SortableTable.spec.js +0 -87
- package/es/SortableTable/sort-data.spec.js +0 -81
- package/es/TableParts/TableRowExpandable.spec.js +0 -96
- package/lib/DefaultTable/DefaultTable.spec.js +0 -581
- package/lib/SortableTable/SortableTable.spec.js +0 -97
- package/lib/SortableTable/sort-data.spec.js +0 -86
- package/lib/TableParts/TableRowExpandable.spec.js +0 -103
package/CHANGELOG.md
DELETED
|
@@ -1,769 +0,0 @@
|
|
|
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
|
-
## [6.0.26](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.25...@sb1/ffe-tables-react@6.0.26) (2021-03-26)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* **ffe-tables-react:** fix naming of source directory ([a760192](https://github.com/SpareBank1/designsystem/commit/a7601927fc3aabb066f859ce22b2886467bcbf64))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [6.0.25](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.24...@sb1/ffe-tables-react@6.0.25) (2021-03-15)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Bug Fixes
|
|
21
|
-
|
|
22
|
-
* **ffe-tables-react:** broadens version of peer dependencies ([8f9101a](https://github.com/SpareBank1/designsystem/commit/8f9101abe601d3812e2e8ce7ea7372a9c03d1af9))
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## [6.0.24](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.23...@sb1/ffe-tables-react@6.0.24) (2021-02-03)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
### Bug Fixes
|
|
32
|
-
|
|
33
|
-
* packages/ffe-tables-react/package.json to reduce vulnerabilities ([c8ac722](https://github.com/SpareBank1/designsystem/commit/c8ac722507b50c965c5cbbb768a6593e07ffc3a9))
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## [6.0.23](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.22...@sb1/ffe-tables-react@6.0.23) (2021-02-02)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
### Bug Fixes
|
|
43
|
-
|
|
44
|
-
* **ffe-tables-react:** reduce vulnerabilities ([0bf6476](https://github.com/SpareBank1/designsystem/commit/0bf647686aa7e604ef5a2d84be29bb7c441539e6))
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
## [6.0.22](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.21...@sb1/ffe-tables-react@6.0.22) (2020-11-18)
|
|
51
|
-
|
|
52
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
## [6.0.21](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.20...@sb1/ffe-tables-react@6.0.21) (2020-09-15)
|
|
59
|
-
|
|
60
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
## [6.0.20](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.19...@sb1/ffe-tables-react@6.0.20) (2020-08-27)
|
|
67
|
-
|
|
68
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
## [6.0.19](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.18...@sb1/ffe-tables-react@6.0.19) (2020-08-04)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## [6.0.18](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.17...@sb1/ffe-tables-react@6.0.18) (2020-07-30)
|
|
83
|
-
|
|
84
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
## [6.0.17](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.16...@sb1/ffe-tables-react@6.0.17) (2020-06-29)
|
|
91
|
-
|
|
92
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
## [6.0.16](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.15...@sb1/ffe-tables-react@6.0.16) (2020-06-24)
|
|
99
|
-
|
|
100
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
## [6.0.15](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.14...@sb1/ffe-tables-react@6.0.15) (2020-05-27)
|
|
107
|
-
|
|
108
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## [6.0.14](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.13...@sb1/ffe-tables-react@6.0.14) (2020-04-21)
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### Bug Fixes
|
|
118
|
-
|
|
119
|
-
* **ffe-tables-react:** dont mutate passed columns ([d5e4a5d](https://github.com/SpareBank1/designsystem/commit/d5e4a5d1fd0051392b2ac74a727abe22d90ce94a)), closes [#883](https://github.com/SpareBank1/designsystem/issues/883)
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
## [6.0.13](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.12...@sb1/ffe-tables-react@6.0.13) (2020-03-31)
|
|
126
|
-
|
|
127
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
128
|
-
|
|
129
|
-
## [6.0.12](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.11...@sb1/ffe-tables-react@6.0.12) (2020-03-18)
|
|
130
|
-
|
|
131
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
132
|
-
|
|
133
|
-
## [6.0.11](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.10...@sb1/ffe-tables-react@6.0.11) (2020-03-16)
|
|
134
|
-
|
|
135
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
136
|
-
|
|
137
|
-
## [6.0.10](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.9...@sb1/ffe-tables-react@6.0.10) (2020-03-13)
|
|
138
|
-
|
|
139
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
140
|
-
|
|
141
|
-
## [6.0.9](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.8...@sb1/ffe-tables-react@6.0.9) (2020-03-10)
|
|
142
|
-
|
|
143
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
144
|
-
|
|
145
|
-
## [6.0.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.7...@sb1/ffe-tables-react@6.0.8) (2020-03-06)
|
|
146
|
-
|
|
147
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
148
|
-
|
|
149
|
-
## [6.0.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.6...@sb1/ffe-tables-react@6.0.7) (2020-02-26)
|
|
150
|
-
|
|
151
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
152
|
-
|
|
153
|
-
## [6.0.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.5...@sb1/ffe-tables-react@6.0.6) (2020-02-26)
|
|
154
|
-
|
|
155
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
156
|
-
|
|
157
|
-
## [6.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.3...@sb1/ffe-tables-react@6.0.5) (2020-02-26)
|
|
158
|
-
|
|
159
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
160
|
-
|
|
161
|
-
## [6.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.3...@sb1/ffe-tables-react@6.0.4) (2020-02-25)
|
|
162
|
-
|
|
163
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
164
|
-
|
|
165
|
-
## [6.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.2...@sb1/ffe-tables-react@6.0.3) (2019-11-20)
|
|
166
|
-
|
|
167
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
168
|
-
|
|
169
|
-
## [6.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.1...@sb1/ffe-tables-react@6.0.2) (2019-10-28)
|
|
170
|
-
|
|
171
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
172
|
-
|
|
173
|
-
## [6.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@6.0.0...@sb1/ffe-tables-react@6.0.1) (2019-10-03)
|
|
174
|
-
|
|
175
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
176
|
-
|
|
177
|
-
# [6.0.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.4.1...@sb1/ffe-tables-react@6.0.0) (2019-08-27)
|
|
178
|
-
|
|
179
|
-
### chore
|
|
180
|
-
|
|
181
|
-
- bump React to 16.9 to allow for using hooks etc ([e3901f1](https://github.com/SpareBank1/designsystem/commit/e3901f1))
|
|
182
|
-
|
|
183
|
-
### BREAKING CHANGES
|
|
184
|
-
|
|
185
|
-
- peerDep of React is raised to 16.9. While this in itself
|
|
186
|
-
isn't a breaking change, it allows for the use of hooks in later releases.
|
|
187
|
-
Such changes would just be a minor version, or even a patch, but without
|
|
188
|
-
this major version bump it would result in a runtime error for consumers.
|
|
189
|
-
|
|
190
|
-
## [5.4.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.4.0...@sb1/ffe-tables-react@5.4.1) (2019-08-12)
|
|
191
|
-
|
|
192
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
193
|
-
|
|
194
|
-
# [5.4.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.3.1...@sb1/ffe-tables-react@5.4.0) (2019-05-10)
|
|
195
|
-
|
|
196
|
-
### Features
|
|
197
|
-
|
|
198
|
-
- **ffe-tables-react:** Added type definitions for typescript ([2e25360](https://github.com/SpareBank1/designsystem/commit/2e25360))
|
|
199
|
-
|
|
200
|
-
## [5.3.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.3.0...@sb1/ffe-tables-react@5.3.1) (2019-04-24)
|
|
201
|
-
|
|
202
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
203
|
-
|
|
204
|
-
# [5.3.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.8...@sb1/ffe-tables-react@5.3.0) (2019-04-09)
|
|
205
|
-
|
|
206
|
-
### Features
|
|
207
|
-
|
|
208
|
-
- **ffe-tables-react:** Expandable table rows may be expanded as default ([9217453](https://github.com/SpareBank1/designsystem/commit/9217453))
|
|
209
|
-
|
|
210
|
-
## [5.2.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.7...@sb1/ffe-tables-react@5.2.8) (2019-04-08)
|
|
211
|
-
|
|
212
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
213
|
-
|
|
214
|
-
## [5.2.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.6...@sb1/ffe-tables-react@5.2.7) (2019-03-25)
|
|
215
|
-
|
|
216
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
217
|
-
|
|
218
|
-
## [5.2.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.5...@sb1/ffe-tables-react@5.2.6) (2019-02-26)
|
|
219
|
-
|
|
220
|
-
### Bug Fixes
|
|
221
|
-
|
|
222
|
-
- **package:** update memoize-one to version 5.0.0 ([778a8a6](https://github.com/SpareBank1/designsystem/commit/778a8a6))
|
|
223
|
-
|
|
224
|
-
## [5.2.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.4...@sb1/ffe-tables-react@5.2.5) (2019-02-19)
|
|
225
|
-
|
|
226
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
227
|
-
|
|
228
|
-
## [5.2.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.3...@sb1/ffe-tables-react@5.2.4) (2019-02-18)
|
|
229
|
-
|
|
230
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
231
|
-
|
|
232
|
-
## [5.2.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.2...@sb1/ffe-tables-react@5.2.3) (2019-01-29)
|
|
233
|
-
|
|
234
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
235
|
-
|
|
236
|
-
## [5.2.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.1...@sb1/ffe-tables-react@5.2.2) (2018-12-19)
|
|
237
|
-
|
|
238
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
239
|
-
|
|
240
|
-
## [5.2.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.2.0...@sb1/ffe-tables-react@5.2.1) (2018-12-18)
|
|
241
|
-
|
|
242
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
243
|
-
|
|
244
|
-
# [5.2.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.11...@sb1/ffe-tables-react@5.2.0) (2018-12-11)
|
|
245
|
-
|
|
246
|
-
### Bug Fixes
|
|
247
|
-
|
|
248
|
-
- **ffe-tables-react:** rows with non-expandable should not be expandable ([81d7353](https://github.com/SpareBank1/designsystem/commit/81d7353)), closes [#514](https://github.com/SpareBank1/designsystem/issues/514)
|
|
249
|
-
- Build tree shakeable packages ([fb4a9ea](https://github.com/SpareBank1/designsystem/commit/fb4a9ea))
|
|
250
|
-
|
|
251
|
-
### Features
|
|
252
|
-
|
|
253
|
-
- **ffe-tables-react:** Migrate from deprecated componentWillReceiveProps to getDerivedStateFromProps ([bc969f1](https://github.com/SpareBank1/designsystem/commit/bc969f1))
|
|
254
|
-
|
|
255
|
-
## [5.1.11](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.10...@sb1/ffe-tables-react@5.1.11) (2018-12-04)
|
|
256
|
-
|
|
257
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
258
|
-
|
|
259
|
-
## [5.1.10](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.9...@sb1/ffe-tables-react@5.1.10) (2018-11-26)
|
|
260
|
-
|
|
261
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
262
|
-
|
|
263
|
-
## [5.1.9](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.8...@sb1/ffe-tables-react@5.1.9) (2018-11-16)
|
|
264
|
-
|
|
265
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
266
|
-
|
|
267
|
-
## [5.1.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.7...@sb1/ffe-tables-react@5.1.8) (2018-11-13)
|
|
268
|
-
|
|
269
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
270
|
-
|
|
271
|
-
## [5.1.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.6...@sb1/ffe-tables-react@5.1.7) (2018-10-17)
|
|
272
|
-
|
|
273
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
274
|
-
|
|
275
|
-
<a name="5.1.6"></a>
|
|
276
|
-
|
|
277
|
-
## [5.1.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.5...@sb1/ffe-tables-react@5.1.6) (2018-09-24)
|
|
278
|
-
|
|
279
|
-
### Bug Fixes
|
|
280
|
-
|
|
281
|
-
- **ffe-tables-react:** fixed async issues with setState ([d0c6954](https://github.com/SpareBank1/designsystem/commit/d0c6954))
|
|
282
|
-
- **ffe-tables-react:** fixed async issues with setState ([44dccea](https://github.com/SpareBank1/designsystem/commit/44dccea))
|
|
283
|
-
|
|
284
|
-
<a name="5.1.5"></a>
|
|
285
|
-
|
|
286
|
-
## [5.1.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.4...@sb1/ffe-tables-react@5.1.5) (2018-08-09)
|
|
287
|
-
|
|
288
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
289
|
-
|
|
290
|
-
<a name="5.1.4"></a>
|
|
291
|
-
|
|
292
|
-
## [5.1.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.3...@sb1/ffe-tables-react@5.1.4) (2018-06-14)
|
|
293
|
-
|
|
294
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
295
|
-
|
|
296
|
-
<a name="5.1.3"></a>
|
|
297
|
-
|
|
298
|
-
## [5.1.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.2...@sb1/ffe-tables-react@5.1.3) (2018-06-04)
|
|
299
|
-
|
|
300
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
301
|
-
|
|
302
|
-
<a name="5.1.2"></a>
|
|
303
|
-
|
|
304
|
-
## [5.1.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.1...@sb1/ffe-tables-react@5.1.2) (2018-06-04)
|
|
305
|
-
|
|
306
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
307
|
-
|
|
308
|
-
<a name="5.1.1"></a>
|
|
309
|
-
|
|
310
|
-
## [5.1.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.1.0...@sb1/ffe-tables-react@5.1.1) (2018-05-29)
|
|
311
|
-
|
|
312
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
313
|
-
|
|
314
|
-
<a name="5.1.0"></a>
|
|
315
|
-
|
|
316
|
-
# [5.1.0](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.9...@sb1/ffe-tables-react@5.1.0) (2018-05-16)
|
|
317
|
-
|
|
318
|
-
### Features
|
|
319
|
-
|
|
320
|
-
- **ffe-tables-react:** added render override functions ([#228](https://github.com/SpareBank1/designsystem/issues/228)) ([88908a0](https://github.com/SpareBank1/designsystem/commit/88908a0))
|
|
321
|
-
|
|
322
|
-
<a name="5.0.9"></a>
|
|
323
|
-
|
|
324
|
-
## [5.0.9](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.8...@sb1/ffe-tables-react@5.0.9) (2018-05-04)
|
|
325
|
-
|
|
326
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
327
|
-
|
|
328
|
-
<a name="5.0.8"></a>
|
|
329
|
-
|
|
330
|
-
## [5.0.8](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.7...@sb1/ffe-tables-react@5.0.8) (2018-04-11)
|
|
331
|
-
|
|
332
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
333
|
-
|
|
334
|
-
<a name="5.0.7"></a>
|
|
335
|
-
|
|
336
|
-
## [5.0.7](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.6...@sb1/ffe-tables-react@5.0.7) (2018-04-06)
|
|
337
|
-
|
|
338
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
339
|
-
|
|
340
|
-
<a name="5.0.6"></a>
|
|
341
|
-
|
|
342
|
-
## [5.0.6](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.5...@sb1/ffe-tables-react@5.0.6) (2018-04-05)
|
|
343
|
-
|
|
344
|
-
### Bug Fixes
|
|
345
|
-
|
|
346
|
-
- **ffe-tables-react:** Fix aria-issue with expandable rows ([a204fe2](https://github.com/SpareBank1/designsystem/commit/a204fe2))
|
|
347
|
-
|
|
348
|
-
<a name="5.0.5"></a>
|
|
349
|
-
|
|
350
|
-
## [5.0.5](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.4...@sb1/ffe-tables-react@5.0.5) (2018-04-05)
|
|
351
|
-
|
|
352
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
353
|
-
|
|
354
|
-
<a name="5.0.4"></a>
|
|
355
|
-
|
|
356
|
-
## [5.0.4](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.3...@sb1/ffe-tables-react@5.0.4) (2018-03-27)
|
|
357
|
-
|
|
358
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
359
|
-
|
|
360
|
-
<a name="5.0.3"></a>
|
|
361
|
-
|
|
362
|
-
## [5.0.3](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.2...@sb1/ffe-tables-react@5.0.3) (2018-03-13)
|
|
363
|
-
|
|
364
|
-
**Note:** Version bump only for package @sb1/ffe-tables-react
|
|
365
|
-
|
|
366
|
-
<a name="5.0.2"></a>
|
|
367
|
-
|
|
368
|
-
## [5.0.2](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.0...@sb1/ffe-tables-react@5.0.2) (2018-03-07)
|
|
369
|
-
|
|
370
|
-
### Bug Fixes
|
|
371
|
-
|
|
372
|
-
- Correct peerDependencies after breaking change ([aab59ce](https://github.com/SpareBank1/designsystem/commit/aab59ce))
|
|
373
|
-
|
|
374
|
-
<a name="5.0.1"></a>
|
|
375
|
-
|
|
376
|
-
## [5.0.1](https://github.com/SpareBank1/designsystem/compare/@sb1/ffe-tables-react@5.0.0...@sb1/ffe-tables-react@5.0.1) (2018-03-02)
|
|
377
|
-
|
|
378
|
-
### Bug Fixes
|
|
379
|
-
|
|
380
|
-
- Correct peerDependencies after breaking change ([4318363](https://github.com/SpareBank1/designsystem/commit/4318363))
|
|
381
|
-
|
|
382
|
-
<a name="5.0.0"></a>
|
|
383
|
-
|
|
384
|
-
# 5.0.0 (2018-02-25)
|
|
385
|
-
|
|
386
|
-
### Bug Fixes
|
|
387
|
-
|
|
388
|
-
- **ffe-tables-react:** Correct main file in package.json ([4aaf79d](https://github.com/SpareBank1/designsystem/commit/4aaf79d))
|
|
389
|
-
- **ffe-tables-react:** Properly handle zero as row id ([8c8cc67](https://github.com/SpareBank1/designsystem/commit/8c8cc67))
|
|
390
|
-
- Treeshake ffe-icons ([6bc9d6f](https://github.com/SpareBank1/designsystem/commit/6bc9d6f))
|
|
391
|
-
- Upgrade ffe-icons-react to v4 ([01bc161](https://github.com/SpareBank1/designsystem/commit/01bc161))
|
|
392
|
-
|
|
393
|
-
### Chores
|
|
394
|
-
|
|
395
|
-
- add [@sb1](https://github.com/sb1)/ scope to all packages ([37efbb4](https://github.com/SpareBank1/designsystem/commit/37efbb4))
|
|
396
|
-
|
|
397
|
-
### Features
|
|
398
|
-
|
|
399
|
-
- **ffe-tables-react:** Add prop onSort ([2dc9652](https://github.com/SpareBank1/designsystem/commit/2dc9652))
|
|
400
|
-
- **ffe-tables-react:** Add property className ([86552d1](https://github.com/SpareBank1/designsystem/commit/86552d1))
|
|
401
|
-
|
|
402
|
-
### BREAKING CHANGES
|
|
403
|
-
|
|
404
|
-
- All packages have been renamed to add the @sb1 scope.
|
|
405
|
-
|
|
406
|
-
See links [1] and [2] to read more about package scopes.
|
|
407
|
-
|
|
408
|
-
Unfortunately this requires you update both your dependencies in
|
|
409
|
-
`package.json` and all `import` or `require` statements in your code.
|
|
410
|
-
Also, you unfortunately have to upgrade all FFE packages at once due to
|
|
411
|
-
dependency between packages. If you are on the latest version prior to
|
|
412
|
-
this breaking change the upgrade should be a matter of updating
|
|
413
|
-
`package.json` with new package names and versions, and updating your
|
|
414
|
-
imports.
|
|
415
|
-
|
|
416
|
-
To help find the proper package versions you can either browse to the
|
|
417
|
-
packages you need or check out the list of Git tags either on
|
|
418
|
-
Github [3] or by cloning the repository and running the `git tag`
|
|
419
|
-
command. All package versions get a tag in the format
|
|
420
|
-
_package@version_.
|
|
421
|
-
|
|
422
|
-
Update your `package.json` with the latest package version and add the
|
|
423
|
-
@sb1 scope to the package name:
|
|
424
|
-
|
|
425
|
-
```diff
|
|
426
|
-
- "ffe-core": "11.0.2",
|
|
427
|
-
+ "@sb1/ffe-core": "11.0.2",
|
|
428
|
-
```
|
|
429
|
-
|
|
430
|
-
Scoped packages all get put in a subdirectory in `node_modules/`. In our
|
|
431
|
-
case packages will be put in the `node_modules/@sb1/` directory. If your
|
|
432
|
-
build depends on file paths (for instance for copying fonts) you need to
|
|
433
|
-
update that path to include the scope.
|
|
434
|
-
|
|
435
|
-
The directory structure also means you have to update your imports, both
|
|
436
|
-
in Less and in JavaScript.
|
|
437
|
-
|
|
438
|
-
Using `less-plugin-npm-import`:
|
|
439
|
-
|
|
440
|
-
```diff
|
|
441
|
-
- @import 'npm://ffe-core/less/ffe';
|
|
442
|
-
+ @import 'npm://@sb1/ffe-core/less/ffe';
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
Using Webpack:
|
|
446
|
-
|
|
447
|
-
```diff
|
|
448
|
-
- @import '~ffe-core/less/ffe';
|
|
449
|
-
+ @import '~@sb1/ffe-core/less/ffe';
|
|
450
|
-
```
|
|
451
|
-
|
|
452
|
-
Using plain old paths:
|
|
453
|
-
|
|
454
|
-
```diff
|
|
455
|
-
- @import '../path/to/node_modules/ffe-core/less/ffe';
|
|
456
|
-
+ @import '../path/to/node_modules/@sb1/ffe-core/less/ffe';
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
JavaScript `import`:
|
|
460
|
-
|
|
461
|
-
```diff
|
|
462
|
-
- import { ActionButton } from 'ffe-buttons-react';
|
|
463
|
-
+ import { ActionButton } from '@sb1/ffe-buttons-react';
|
|
464
|
-
```
|
|
465
|
-
|
|
466
|
-
JavaScript `require`:
|
|
467
|
-
|
|
468
|
-
```diff
|
|
469
|
-
- const { ActionButton } = require('ffe-buttons-react').default;
|
|
470
|
-
+ const { ActionButton } = require('@sb1/ffe-buttons-react').default;
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
[1]: https://docs.npmjs.com/misc/scope
|
|
474
|
-
[2]: https://docs.npmjs.com/getting-started/scoped-packages
|
|
475
|
-
[3]: https://github.com/sparebank1/designsystem/tags
|
|
476
|
-
|
|
477
|
-
<a name="4.11.1"></a>
|
|
478
|
-
|
|
479
|
-
## [4.11.1](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.11.0...ffe-tables-react@4.11.1) (2018-02-23)
|
|
480
|
-
|
|
481
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
482
|
-
|
|
483
|
-
<a name="4.11.0"></a>
|
|
484
|
-
|
|
485
|
-
# [4.11.0](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.7...ffe-tables-react@4.11.0) (2018-02-22)
|
|
486
|
-
|
|
487
|
-
### Features
|
|
488
|
-
|
|
489
|
-
- **ffe-tables-react:** Add property className
|
|
490
|
-
|
|
491
|
-
<a name="4.10.7"></a>
|
|
492
|
-
|
|
493
|
-
## [4.10.7](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.6...ffe-tables-react@4.10.7) (2018-02-22)
|
|
494
|
-
|
|
495
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
496
|
-
|
|
497
|
-
<a name="4.10.6"></a>
|
|
498
|
-
|
|
499
|
-
## [4.10.6](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.5...ffe-tables-react@4.10.6) (2018-02-20)
|
|
500
|
-
|
|
501
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
502
|
-
|
|
503
|
-
<a name="4.10.5"></a>
|
|
504
|
-
|
|
505
|
-
## [4.10.5](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.4...ffe-tables-react@4.10.5) (2018-02-15)
|
|
506
|
-
|
|
507
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
508
|
-
|
|
509
|
-
<a name="4.10.4"></a>
|
|
510
|
-
|
|
511
|
-
## [4.10.4](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.3...ffe-tables-react@4.10.4) (2018-02-07)
|
|
512
|
-
|
|
513
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
514
|
-
|
|
515
|
-
<a name="4.10.3"></a>
|
|
516
|
-
|
|
517
|
-
## [4.10.3](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.2...ffe-tables-react@4.10.3) (2018-02-01)
|
|
518
|
-
|
|
519
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
520
|
-
|
|
521
|
-
<a name="4.10.2"></a>
|
|
522
|
-
|
|
523
|
-
## [4.10.2](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.1...ffe-tables-react@4.10.2) (2018-01-31)
|
|
524
|
-
|
|
525
|
-
### Bug Fixes
|
|
526
|
-
|
|
527
|
-
- Treeshake ffe-icons
|
|
528
|
-
|
|
529
|
-
<a name="4.10.1"></a>
|
|
530
|
-
|
|
531
|
-
## [4.10.1](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.10.0...ffe-tables-react@4.10.1) (2018-01-30)
|
|
532
|
-
|
|
533
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
534
|
-
|
|
535
|
-
<a name="4.10.0"></a>
|
|
536
|
-
|
|
537
|
-
# [4.10.0](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.9...ffe-tables-react@4.10.0) (2018-01-26)
|
|
538
|
-
|
|
539
|
-
### Features
|
|
540
|
-
|
|
541
|
-
- **ffe-tables-react:** Add prop onSort
|
|
542
|
-
|
|
543
|
-
<a name="4.9.9"></a>
|
|
544
|
-
|
|
545
|
-
## [4.9.9](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.8...ffe-tables-react@4.9.9) (2018-01-19)
|
|
546
|
-
|
|
547
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
548
|
-
|
|
549
|
-
<a name="4.9.8"></a>
|
|
550
|
-
|
|
551
|
-
## [4.9.8](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.7...ffe-tables-react@4.9.8) (2018-01-19)
|
|
552
|
-
|
|
553
|
-
### Bug Fixes
|
|
554
|
-
|
|
555
|
-
- Upgrade ffe-icons-react to v4
|
|
556
|
-
|
|
557
|
-
<a name="4.9.7"></a>
|
|
558
|
-
|
|
559
|
-
## [4.9.7](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.6...ffe-tables-react@4.9.7) (2018-01-19)
|
|
560
|
-
|
|
561
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
562
|
-
|
|
563
|
-
<a name="4.9.6"></a>
|
|
564
|
-
|
|
565
|
-
## [4.9.6](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.5...ffe-tables-react@4.9.6) (2018-01-18)
|
|
566
|
-
|
|
567
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
568
|
-
|
|
569
|
-
<a name="4.9.5"></a>
|
|
570
|
-
|
|
571
|
-
## [4.9.5](https://github.com/SpareBank1/designsystem/compare/ffe-tables-react@4.9.4...ffe-tables-react@4.9.5) (2018-01-16)
|
|
572
|
-
|
|
573
|
-
**Note:** Version bump only for package ffe-tables-react
|
|
574
|
-
|
|
575
|
-
<a name="4.9.4"></a>
|
|
576
|
-
|
|
577
|
-
## 4.9.4 (2018-01-10)
|
|
578
|
-
|
|
579
|
-
### Bug Fixes
|
|
580
|
-
|
|
581
|
-
- **ffe-tables-react:** Correct main file in package.json
|
|
582
|
-
- **ffe-tables-react:** Properly handle zero as row id
|
|
583
|
-
|
|
584
|
-
## 4.9.3
|
|
585
|
-
|
|
586
|
-
- Fixed broken prop type for data IDs
|
|
587
|
-
|
|
588
|
-
## 4.9.2
|
|
589
|
-
|
|
590
|
-
- Added documentation and refactored slightly.
|
|
591
|
-
- Added missing prop types for documented props
|
|
592
|
-
|
|
593
|
-
## 4.9.1
|
|
594
|
-
|
|
595
|
-
- Fixed prop type of `caption` from `string` to `node` to allow rendering React components.
|
|
596
|
-
This was always intended based on `README.md`.
|
|
597
|
-
- Replace `flow.sh` with `buildCI.sh`.
|
|
598
|
-
- Added support for sorting on potentially undefined values in columns.
|
|
599
|
-
|
|
600
|
-
# 4.9.0
|
|
601
|
-
|
|
602
|
-
- Improve performance of table row rendering/sorting by utilizing an optional `id` property on each row object.
|
|
603
|
-
- The `id` property also fixes a bug where updating table rows (i.e pagination) didn't cause an unmount/mount of the new rows.
|
|
604
|
-
|
|
605
|
-
# 4.8.0
|
|
606
|
-
|
|
607
|
-
- Added optional props `descending` and `sortBy` to set initial sort.
|
|
608
|
-
|
|
609
|
-
# 4.7.0
|
|
610
|
-
|
|
611
|
-
- Bump peerDep on `ffe-tables` to `^8.1.0`.
|
|
612
|
-
- Added optional prop `alignTop` to table cells.
|
|
613
|
-
- Added optional prop `hideOnDesktop` to support hiding columns on desktop.
|
|
614
|
-
|
|
615
|
-
# 4.6.0
|
|
616
|
-
|
|
617
|
-
- Bump peerDep on `ffe-tables` to `^8.0.0`.
|
|
618
|
-
- Added optional prop `breakpoint` to table component.
|
|
619
|
-
- Added optional prop `hideOnSmallTablet` to support hiding columns responsively on smaller tablet screen sizes.
|
|
620
|
-
- Fixed lists of `PropTypes` to include recently added props.
|
|
621
|
-
- Fixed `alignLeft` not working on `SortableTable`.
|
|
622
|
-
|
|
623
|
-
# 4.5.0
|
|
624
|
-
|
|
625
|
-
- Added `hideOnMobile` boolean to support hiding columns responsively on mobile screen sizes.
|
|
626
|
-
- Added `columnLayoutMobile` boolean to support two column layout on mobile screen sizes.
|
|
627
|
-
|
|
628
|
-
## 4.4.1
|
|
629
|
-
|
|
630
|
-
- Allow sending in React components instead of strings as headings
|
|
631
|
-
|
|
632
|
-
# 4.4.0
|
|
633
|
-
|
|
634
|
-
- Added optional boolean prop `alignLeft` to support table modifier `--text-left` from `ffe-tables`.
|
|
635
|
-
|
|
636
|
-
# 4.3.0
|
|
637
|
-
|
|
638
|
-
- Added `hideOnTablet` boolean to support hiding columns responsively on tablet screen sizes.
|
|
639
|
-
- Added dep on `prop-types` and changed all `PropTypes` to use this package.
|
|
640
|
-
|
|
641
|
-
## 4.2.1
|
|
642
|
-
|
|
643
|
-
- Expand peerDep scope of `ffe-tables` to include `5.x`.
|
|
644
|
-
- Remove peerDep on `ffe-core` and `ffe-icons-react`.
|
|
645
|
-
|
|
646
|
-
# 4.2.0
|
|
647
|
-
|
|
648
|
-
- Added prop `srOnlyCaption` which visually hides the caption but keeps it available to screen readers.
|
|
649
|
-
- Added props `limit` and `offset` to render only a subset of given data.
|
|
650
|
-
|
|
651
|
-
## 4.1.1
|
|
652
|
-
|
|
653
|
-
- Reverted attempted fix on `onKeyDown`-events on expandable rows as it caused unforseen issues.
|
|
654
|
-
Consumers should be responsible for stopping event propagation when needed anyways.
|
|
655
|
-
- Added `event.stopPropagation()` to buttons in table examples to demonstrate the need for this.
|
|
656
|
-
- Improved logic to collapse rows on sort.
|
|
657
|
-
|
|
658
|
-
# 4.1.0
|
|
659
|
-
|
|
660
|
-
- Added optional boolean props `condensed` and `smallHeader` to support table modifiers from `ffe-tables`.
|
|
661
|
-
|
|
662
|
-
## 4.0.1
|
|
663
|
-
|
|
664
|
-
- All rows will now collapse on sort.
|
|
665
|
-
We do this because expanded state belongs to the row number,
|
|
666
|
-
not to the row data. Thus expanding and then sorting would result
|
|
667
|
-
in the same row number being expanded, even though it gets new data.
|
|
668
|
-
|
|
669
|
-
# 4.0.0
|
|
670
|
-
|
|
671
|
-
- BREAKING: Major API changes as we introduce the magic table which is both expandable and sortable.
|
|
672
|
-
- BREAKING: Column header values can no longer be nodes, only strings are accepted.
|
|
673
|
-
- Added support for custom compare function on each sortable column through the column prop `compare`.
|
|
674
|
-
- Added support for explicitly making a column not sortable through the column prop `notSortable`.
|
|
675
|
-
- Removed `isRequired` on prop `children` in `TableRowExpandable` as this produced a warning for unexpandable rows in expandable table.
|
|
676
|
-
- Fixed issue where having a button in the clickable part of an expandable row could cause the row to expand onKeyDown on the button.
|
|
677
|
-
- The consumer is still responsible for handling propagation of onClick-events.
|
|
678
|
-
|
|
679
|
-
### Migrating to v4.0.0
|
|
680
|
-
|
|
681
|
-
- Exports has changed from 3 components to a single default export.
|
|
682
|
-
- Tables are now made sortable by the boolean prop `sortable`.
|
|
683
|
-
- Tables are now made expandable by providing a function on prop `expandedContentMapper`.
|
|
684
|
-
- This replaces both the boolean `expandable` and the mapping to `TableRowExpandable` in table `children`.
|
|
685
|
-
- Please consult `README.md` for details about this function.
|
|
686
|
-
|
|
687
|
-
## 3.0.3
|
|
688
|
-
|
|
689
|
-
- Update dependency ffe-tables to 4.x
|
|
690
|
-
- Update dependency ffe-core to >= 8.2.3 < 9
|
|
691
|
-
|
|
692
|
-
## 3.0.2
|
|
693
|
-
|
|
694
|
-
- Fixed: When no children, or a falsy value, is passed as children to `TableRowExpandable` the row will set the expanded value in this.state to false in componentWillReceiveProps.
|
|
695
|
-
|
|
696
|
-
## 3.0.1
|
|
697
|
-
|
|
698
|
-
- Fixed: State change on props update in `SortableTable` will now only trigger if props have actually changed.
|
|
699
|
-
Also, this data will only be sorted if `sortBy` is set in component state.
|
|
700
|
-
- Fixed: Component will only update if props or state has actually changed
|
|
701
|
-
(avoid updating if equal props are given through a prop change in a parent component).
|
|
702
|
-
|
|
703
|
-
# 3.0.0
|
|
704
|
-
|
|
705
|
-
- BREAKING: Behavioural change on `TableRowExpandable`. If no children, or a falsy value is passed as children,
|
|
706
|
-
the row will not be expandable. This will remove chevron, tabIndex and event listeners from the `tr`.
|
|
707
|
-
This is intended used when there are no details available for the row, or if the expandable area contains
|
|
708
|
-
actions which are currently blocked on this item.
|
|
709
|
-
- Fixed: `TableRow` in a plain `ResponsiveTable` should not have a `tabIndex` (should not be focusable).
|
|
710
|
-
|
|
711
|
-
## 2.0.1
|
|
712
|
-
|
|
713
|
-
- Update dependency ffe-icons-react to ^2.3.0
|
|
714
|
-
- Update peerDependencies ffe-icons-react to ^2.3.0
|
|
715
|
-
- Removing sorting arrow in header cell if header is empty string
|
|
716
|
-
|
|
717
|
-
# 2.0.0
|
|
718
|
-
|
|
719
|
-
- BREAKING: `headers` prop is renamed to `columns` to include footers
|
|
720
|
-
- data is no longer a required prop in ResponsiveTable
|
|
721
|
-
|
|
722
|
-
### Migrating to v2.0.0
|
|
723
|
-
|
|
724
|
-
- Rename `headers` prop to `columns` in all tables
|
|
725
|
-
- Rename the `content` prop in the columns objects to `header`
|
|
726
|
-
|
|
727
|
-
change this:
|
|
728
|
-
|
|
729
|
-
```javascript
|
|
730
|
-
const headers = [
|
|
731
|
-
{ key: 'name', content: 'Varenavn' },
|
|
732
|
-
{ key: 'price', content: 'Pris', alignRight: true }
|
|
733
|
-
];
|
|
734
|
-
<ResponsiveTable headers={headers} data={data}>
|
|
735
|
-
```
|
|
736
|
-
|
|
737
|
-
to this:
|
|
738
|
-
|
|
739
|
-
```javascript
|
|
740
|
-
const columns = [
|
|
741
|
-
{ key: 'name', header: 'Varenavn' },
|
|
742
|
-
{ key: 'price', header: 'Pris', alignRight: true }
|
|
743
|
-
];
|
|
744
|
-
<ResponsiveTable columns={columns} data={data}>
|
|
745
|
-
```
|
|
746
|
-
|
|
747
|
-
## 1.0.2
|
|
748
|
-
|
|
749
|
-
- exports in index.js
|
|
750
|
-
- refactoring
|
|
751
|
-
|
|
752
|
-
## 1.0.1
|
|
753
|
-
|
|
754
|
-
- Update dependency ffe-icons-react to ^2.1.0
|
|
755
|
-
|
|
756
|
-
# 1.0.0
|
|
757
|
-
|
|
758
|
-
- Responsive table
|
|
759
|
-
- Sortable table
|
|
760
|
-
- Expandable row
|
|
761
|
-
- Update dependency ffe-tables to ^3.0.0
|
|
762
|
-
|
|
763
|
-
## 0.1.1
|
|
764
|
-
|
|
765
|
-
- Updgrade eslint to use latest FFE configuration
|
|
766
|
-
|
|
767
|
-
## 0.1.0
|
|
768
|
-
|
|
769
|
-
- Initial release
|