@atlaskit/dynamic-table 14.11.6 → 14.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -52
- package/dist/cjs/components/body.js +2 -3
- package/dist/cjs/components/loading-container-advanced.js +1 -2
- package/dist/cjs/components/loading-container.js +1 -2
- package/dist/cjs/components/managed-pagination.js +2 -3
- package/dist/cjs/components/rankable/body.js +5 -6
- package/dist/cjs/components/rankable/table-cell.js +2 -4
- package/dist/cjs/components/rankable/table-head-cell.js +1 -2
- package/dist/cjs/components/rankable/table-row.js +8 -5
- package/dist/cjs/components/stateful.js +1 -2
- package/dist/cjs/components/stateless.js +4 -6
- package/dist/cjs/components/table-head-cell.js +1 -2
- package/dist/cjs/components/table-head.js +1 -2
- package/dist/cjs/components/table-row.js +1 -2
- package/dist/cjs/internal/constants.js +5 -10
- package/dist/cjs/internal/helpers.js +7 -13
- package/dist/cjs/styled/constants.js +7 -18
- package/dist/cjs/styled/dynamic-table.js +5 -9
- package/dist/cjs/styled/empty-body.js +3 -5
- package/dist/cjs/styled/loading-container-advanced.js +4 -7
- package/dist/cjs/styled/loading-container.js +5 -9
- package/dist/cjs/styled/rankable/table-cell.js +2 -3
- package/dist/cjs/styled/rankable/table-row.js +2 -3
- package/dist/cjs/styled/table-cell.js +2 -3
- package/dist/cjs/styled/table-head.js +3 -5
- package/dist/cjs/styled/table-row.js +2 -3
- package/dist/cjs/theme.js +6 -11
- package/dist/es2019/components/rankable/body.js +3 -0
- package/dist/es2019/components/rankable/table-row.js +31 -22
- package/dist/es2019/components/stateless.js +1 -1
- package/dist/es2019/styled/constants.js +1 -7
- package/dist/esm/components/rankable/body.js +3 -0
- package/dist/esm/components/rankable/table-row.js +7 -0
- package/dist/esm/components/stateless.js +1 -1
- package/dist/esm/styled/constants.js +1 -7
- package/dist/types/styled/dynamic-table.d.ts +1 -1
- package/dist/types/styled/loading-container-advanced.d.ts +2 -2
- package/dist/types/styled/table-head.d.ts +1 -1
- package/dist/types-ts4.5/styled/dynamic-table.d.ts +1 -1
- package/dist/types-ts4.5/styled/loading-container-advanced.d.ts +2 -2
- package/dist/types-ts4.5/styled/table-head.d.ts +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,52 +1,64 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 14.11.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42646) [`97c42c39867`](https://bitbucket.org/atlassian/atlassian-frontend/commits/97c42c39867) - Fix screen reader announcements for table row
|
|
8
|
+
|
|
9
|
+
## 14.11.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40650) [`07aa588c8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07aa588c8a4) - Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.
|
|
14
|
+
|
|
3
15
|
## 14.11.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
19
|
+
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
|
|
8
20
|
|
|
9
21
|
## 14.11.5
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
25
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
14
26
|
|
|
15
27
|
## 14.11.4
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
31
|
+
- [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
|
|
20
32
|
|
|
21
33
|
## 14.11.3
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
- [`a486e54d1ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a486e54d1ef) - Improved performance of built-in table sorting for stateful dynamic tables
|
|
37
|
+
- [#38128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38128) [`a486e54d1ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a486e54d1ef) - Improved performance of built-in table sorting for stateful dynamic tables
|
|
26
38
|
|
|
27
39
|
## 14.11.2
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
43
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
32
44
|
|
|
33
45
|
## 14.11.1
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
49
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
38
50
|
|
|
39
51
|
## 14.11.0
|
|
40
52
|
|
|
41
53
|
### Minor Changes
|
|
42
54
|
|
|
43
|
-
- [`ec1f82f8027`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec1f82f8027) - Move away from findDOMNode API to refs
|
|
55
|
+
- [#34915](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34915) [`ec1f82f8027`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec1f82f8027) - Move away from findDOMNode API to refs
|
|
44
56
|
|
|
45
57
|
## 14.10.0
|
|
46
58
|
|
|
47
59
|
### Minor Changes
|
|
48
60
|
|
|
49
|
-
- [`12d9c63d4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d9c63d4c1) - [ux] pass pageLabel to dynamic-table component and updat prev label in examples, add description in the types file, update example files
|
|
61
|
+
- [#34947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34947) [`12d9c63d4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d9c63d4c1) - [ux] pass pageLabel to dynamic-table component and updat prev label in examples, add description in the types file, update example files
|
|
50
62
|
|
|
51
63
|
### Patch Changes
|
|
52
64
|
|
|
@@ -56,25 +68,25 @@
|
|
|
56
68
|
|
|
57
69
|
### Patch Changes
|
|
58
70
|
|
|
59
|
-
- [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
|
|
71
|
+
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124) [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
|
|
60
72
|
|
|
61
73
|
## 14.9.2
|
|
62
74
|
|
|
63
75
|
### Patch Changes
|
|
64
76
|
|
|
65
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
77
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
66
78
|
|
|
67
79
|
## 14.9.1
|
|
68
80
|
|
|
69
81
|
### Patch Changes
|
|
70
82
|
|
|
71
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
83
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
72
84
|
|
|
73
85
|
## 14.9.0
|
|
74
86
|
|
|
75
87
|
### Minor Changes
|
|
76
88
|
|
|
77
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
89
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
78
90
|
|
|
79
91
|
### Patch Changes
|
|
80
92
|
|
|
@@ -84,31 +96,31 @@
|
|
|
84
96
|
|
|
85
97
|
### Patch Changes
|
|
86
98
|
|
|
87
|
-
- [`cdb1910463d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdb1910463d) - [ux] Adds buttons to sortable table head cells for better accessibility for keyboard and assistive technology users.
|
|
99
|
+
- [#32202](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32202) [`cdb1910463d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cdb1910463d) - [ux] Adds buttons to sortable table head cells for better accessibility for keyboard and assistive technology users.
|
|
88
100
|
|
|
89
101
|
## 14.8.16
|
|
90
102
|
|
|
91
103
|
### Patch Changes
|
|
92
104
|
|
|
93
|
-
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
105
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
94
106
|
|
|
95
107
|
## 14.8.15
|
|
96
108
|
|
|
97
109
|
### Patch Changes
|
|
98
110
|
|
|
99
|
-
- [`e2f0271eaf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2f0271eaf9) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
111
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`e2f0271eaf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2f0271eaf9) - This changeset exists because a PR touches these packages in a way that doesn't require a release
|
|
100
112
|
|
|
101
113
|
## 14.8.14
|
|
102
114
|
|
|
103
115
|
### Patch Changes
|
|
104
116
|
|
|
105
|
-
- [`df9b2633fe4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9b2633fe4) - [ux] Adds `aria-sort` to sortable headers when being used to sort.
|
|
117
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`df9b2633fe4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9b2633fe4) - [ux] Adds `aria-sort` to sortable headers when being used to sort.
|
|
106
118
|
|
|
107
119
|
## 14.8.13
|
|
108
120
|
|
|
109
121
|
### Patch Changes
|
|
110
122
|
|
|
111
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
123
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
112
124
|
- Updated dependencies
|
|
113
125
|
|
|
114
126
|
## 14.8.12
|
|
@@ -127,19 +139,19 @@
|
|
|
127
139
|
|
|
128
140
|
### Patch Changes
|
|
129
141
|
|
|
130
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
142
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
131
143
|
|
|
132
144
|
## 14.8.9
|
|
133
145
|
|
|
134
146
|
### Patch Changes
|
|
135
147
|
|
|
136
|
-
- [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
148
|
+
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064) [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) - Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
137
149
|
|
|
138
150
|
## 14.8.8
|
|
139
151
|
|
|
140
152
|
### Patch Changes
|
|
141
153
|
|
|
142
|
-
- [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux] Use color.background.neutral.subtle token to represent transparent background.
|
|
154
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux] Use color.background.neutral.subtle token to represent transparent background.
|
|
143
155
|
- [`d0298c778ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0298c778ed) - Added additional testId props for testing purposes
|
|
144
156
|
|
|
145
157
|
## 14.8.7
|
|
@@ -164,31 +176,31 @@
|
|
|
164
176
|
|
|
165
177
|
### Patch Changes
|
|
166
178
|
|
|
167
|
-
- [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
179
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
168
180
|
|
|
169
181
|
## 14.8.3
|
|
170
182
|
|
|
171
183
|
### Patch Changes
|
|
172
184
|
|
|
173
|
-
- [`ba5370e80b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba5370e80b4) - Update table row background color on drag to better match design token semantics
|
|
185
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`ba5370e80b4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba5370e80b4) - Update table row background color on drag to better match design token semantics
|
|
174
186
|
|
|
175
187
|
## 14.8.2
|
|
176
188
|
|
|
177
189
|
### Patch Changes
|
|
178
190
|
|
|
179
|
-
- [`f9cd9e55e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd9e55e43) - Update to disabled tokens which slightly affects the opacity in disabled states
|
|
191
|
+
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968) [`f9cd9e55e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd9e55e43) - Update to disabled tokens which slightly affects the opacity in disabled states
|
|
180
192
|
|
|
181
193
|
## 14.8.1
|
|
182
194
|
|
|
183
195
|
### Patch Changes
|
|
184
196
|
|
|
185
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
197
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
186
198
|
|
|
187
199
|
## 14.8.0
|
|
188
200
|
|
|
189
201
|
### Minor Changes
|
|
190
202
|
|
|
191
|
-
- [`f88eb89b356`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88eb89b356) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
203
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`f88eb89b356`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88eb89b356) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
192
204
|
|
|
193
205
|
### Patch Changes
|
|
194
206
|
|
|
@@ -199,13 +211,13 @@
|
|
|
199
211
|
|
|
200
212
|
### Patch Changes
|
|
201
213
|
|
|
202
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
214
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
203
215
|
|
|
204
216
|
## 14.7.0
|
|
205
217
|
|
|
206
218
|
### Minor Changes
|
|
207
219
|
|
|
208
|
-
- [`266abf54eea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/266abf54eea) - [ux] Pagination no longer renders when rowsPerPage is set, but there's only one page of content
|
|
220
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`266abf54eea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/266abf54eea) - [ux] Pagination no longer renders when rowsPerPage is set, but there's only one page of content
|
|
209
221
|
|
|
210
222
|
### Patch Changes
|
|
211
223
|
|
|
@@ -220,13 +232,13 @@
|
|
|
220
232
|
|
|
221
233
|
### Patch Changes
|
|
222
234
|
|
|
223
|
-
- [`deca22d60e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deca22d60e1) - Update DynamicTable HeaderCellType to make it clear that the width prop takes a percentage not a pixel value
|
|
235
|
+
- [#23340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23340) [`deca22d60e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/deca22d60e1) - Update DynamicTable HeaderCellType to make it clear that the width prop takes a percentage not a pixel value
|
|
224
236
|
|
|
225
237
|
## 14.6.0
|
|
226
238
|
|
|
227
239
|
### Minor Changes
|
|
228
240
|
|
|
229
|
-
- [`1cc3c9f1c8f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cc3c9f1c8f) - Add test ID to table pagination so it can be queried in tests. It will be prefixed with the `testId` prop: `{testId}--pagination`.
|
|
241
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`1cc3c9f1c8f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cc3c9f1c8f) - Add test ID to table pagination so it can be queried in tests. It will be prefixed with the `testId` prop: `{testId}--pagination`.
|
|
230
242
|
|
|
231
243
|
### Patch Changes
|
|
232
244
|
|
|
@@ -242,7 +254,7 @@
|
|
|
242
254
|
|
|
243
255
|
### Patch Changes
|
|
244
256
|
|
|
245
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
257
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
246
258
|
|
|
247
259
|
## 14.5.3
|
|
248
260
|
|
|
@@ -254,7 +266,7 @@
|
|
|
254
266
|
|
|
255
267
|
### Patch Changes
|
|
256
268
|
|
|
257
|
-
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
269
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
258
270
|
- Updated dependencies
|
|
259
271
|
|
|
260
272
|
## 14.5.1
|
|
@@ -267,7 +279,7 @@
|
|
|
267
279
|
|
|
268
280
|
### Minor Changes
|
|
269
281
|
|
|
270
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Rows can now also be highlighted using the isHighlighted property inside the rows data
|
|
282
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Rows can now also be highlighted using the isHighlighted property inside the rows data
|
|
271
283
|
|
|
272
284
|
### Patch Changes
|
|
273
285
|
|
|
@@ -284,26 +296,26 @@
|
|
|
284
296
|
|
|
285
297
|
### Patch Changes
|
|
286
298
|
|
|
287
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
299
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
288
300
|
- Updated dependencies
|
|
289
301
|
|
|
290
302
|
## 14.4.2
|
|
291
303
|
|
|
292
304
|
### Patch Changes
|
|
293
305
|
|
|
294
|
-
- [`78a7ffa81f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a7ffa81f8) - Fixes a bug that meant an undefined width would still be stringifed and applied to the inline styles of table cells.
|
|
306
|
+
- [#16499](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16499) [`78a7ffa81f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78a7ffa81f8) - Fixes a bug that meant an undefined width would still be stringifed and applied to the inline styles of table cells.
|
|
295
307
|
|
|
296
308
|
## 14.4.1
|
|
297
309
|
|
|
298
310
|
### Patch Changes
|
|
299
311
|
|
|
300
|
-
- [`1601e51ab32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1601e51ab32) - Fixes for internal types.
|
|
312
|
+
- [#16038](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16038) [`1601e51ab32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1601e51ab32) - Fixes for internal types.
|
|
301
313
|
|
|
302
314
|
## 14.4.0
|
|
303
315
|
|
|
304
316
|
### Minor Changes
|
|
305
317
|
|
|
306
|
-
- [`dc35866892f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc35866892f) - [ux] Instrumented dynamic-table with the new theming package, @atlaskit/tokens.
|
|
318
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`dc35866892f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc35866892f) - [ux] Instrumented dynamic-table with the new theming package, @atlaskit/tokens.
|
|
307
319
|
|
|
308
320
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
309
321
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
@@ -318,20 +330,20 @@
|
|
|
318
330
|
|
|
319
331
|
### Patch Changes
|
|
320
332
|
|
|
321
|
-
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Internal changes to remove `@atlaskit/theme/math` usage.
|
|
333
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Internal changes to remove `@atlaskit/theme/math` usage.
|
|
322
334
|
- Updated dependencies
|
|
323
335
|
|
|
324
336
|
## 14.3.1
|
|
325
337
|
|
|
326
338
|
### Patch Changes
|
|
327
339
|
|
|
328
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
340
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
329
341
|
|
|
330
342
|
## 14.3.0
|
|
331
343
|
|
|
332
344
|
### Minor Changes
|
|
333
345
|
|
|
334
|
-
- [`7da3e890032`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da3e890032) - [ux] `highlightedRowIndex` now can be a list of numbers (`number[]`), as well as `number`. Also highlighted rows now have B50/B75 colour.
|
|
346
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`7da3e890032`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da3e890032) - [ux] `highlightedRowIndex` now can be a list of numbers (`number[]`), as well as `number`. Also highlighted rows now have B50/B75 colour.
|
|
335
347
|
- [`aa66648082f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa66648082f) - Add support for aria attributes on the table
|
|
336
348
|
|
|
337
349
|
### Patch Changes
|
|
@@ -342,7 +354,7 @@
|
|
|
342
354
|
|
|
343
355
|
### Patch Changes
|
|
344
356
|
|
|
345
|
-
- [`cbd4258c692`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbd4258c692) - Update the `rows` prop types to extend HTML table row props
|
|
357
|
+
- [#11126](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11126) [`cbd4258c692`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbd4258c692) - Update the `rows` prop types to extend HTML table row props
|
|
346
358
|
|
|
347
359
|
## 14.2.2
|
|
348
360
|
|
|
@@ -354,13 +366,13 @@
|
|
|
354
366
|
|
|
355
367
|
### Patch Changes
|
|
356
368
|
|
|
357
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
369
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
358
370
|
|
|
359
371
|
## 14.2.0
|
|
360
372
|
|
|
361
373
|
### Minor Changes
|
|
362
374
|
|
|
363
|
-
- [`cd41357bdb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd41357bdb0) - Added total number of records for paginated data set to be passed as an optional prop
|
|
375
|
+
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`cd41357bdb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd41357bdb0) - Added total number of records for paginated data set to be passed as an optional prop
|
|
364
376
|
|
|
365
377
|
### Patch Changes
|
|
366
378
|
|
|
@@ -370,13 +382,13 @@
|
|
|
370
382
|
|
|
371
383
|
### Patch Changes
|
|
372
384
|
|
|
373
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
385
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
374
386
|
|
|
375
387
|
## 14.1.4
|
|
376
388
|
|
|
377
389
|
### Patch Changes
|
|
378
390
|
|
|
379
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
391
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
380
392
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
381
393
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
382
394
|
|
|
@@ -390,13 +402,13 @@
|
|
|
390
402
|
|
|
391
403
|
### Patch Changes
|
|
392
404
|
|
|
393
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
405
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
394
406
|
|
|
395
407
|
## 14.1.1
|
|
396
408
|
|
|
397
409
|
### Patch Changes
|
|
398
410
|
|
|
399
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
411
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
400
412
|
|
|
401
413
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
402
414
|
to prevent duplicates of tslib being bundled.
|
|
@@ -405,7 +417,7 @@
|
|
|
405
417
|
|
|
406
418
|
### Minor Changes
|
|
407
419
|
|
|
408
|
-
- [`dff687b37a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dff687b37a) - Expose onKeyPress prop for dynamic-table and use it to show mediaViewer
|
|
420
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`dff687b37a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dff687b37a) - Expose onKeyPress prop for dynamic-table and use it to show mediaViewer
|
|
409
421
|
- [`e9a1942ae0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e9a1942ae0) - Set the attribute `data-testid` on the loading spinners. The convention follows the existing \${testId}--loadingSpinner.
|
|
410
422
|
|
|
411
423
|
### Patch Changes
|
|
@@ -416,13 +428,13 @@
|
|
|
416
428
|
|
|
417
429
|
### Patch Changes
|
|
418
430
|
|
|
419
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
431
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
420
432
|
|
|
421
433
|
## 14.0.0
|
|
422
434
|
|
|
423
435
|
### Major Changes
|
|
424
436
|
|
|
425
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
437
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
426
438
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
427
439
|
|
|
428
440
|
### Patch Changes
|
|
@@ -433,7 +445,7 @@
|
|
|
433
445
|
|
|
434
446
|
### Patch Changes
|
|
435
447
|
|
|
436
|
-
- [`e8b1104637`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8b1104637) - Previously when sorting the rows weren’t using a stable key - thus they would re-mount unexpectedly! This has been fixed now.
|
|
448
|
+
- [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`e8b1104637`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8b1104637) - Previously when sorting the rows weren’t using a stable key - thus they would re-mount unexpectedly! This has been fixed now.
|
|
437
449
|
- [`3cac2203ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cac2203ba) - Previously, sorting columns in dynamic table wouldn’t persist the page when table was updated, Now user will be able to apply sorting on dynamic table and page will be remain same even after updating table
|
|
438
450
|
|
|
439
451
|
## 13.7.8
|
|
@@ -446,13 +458,13 @@
|
|
|
446
458
|
|
|
447
459
|
### Patch Changes
|
|
448
460
|
|
|
449
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
461
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
450
462
|
|
|
451
463
|
## 13.7.6
|
|
452
464
|
|
|
453
465
|
### Patch Changes
|
|
454
466
|
|
|
455
|
-
- [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
|
|
467
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
|
|
456
468
|
- [`baaad91b65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/baaad91b65) - Updated to use the latest and more performant version of `@atlaskit/avatar`
|
|
457
469
|
- Updated dependencies
|
|
458
470
|
|
|
@@ -50,9 +50,8 @@ var Body = /*#__PURE__*/function (_React$Component) {
|
|
|
50
50
|
}]);
|
|
51
51
|
return Body;
|
|
52
52
|
}(_react.default.Component);
|
|
53
|
-
var _default = (0, _withSortedPageRows.default)( /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
53
|
+
var _default = exports.default = (0, _withSortedPageRows.default)( /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
54
54
|
return /*#__PURE__*/_react.default.createElement(Body, (0, _extends2.default)({}, props, {
|
|
55
55
|
forwardedRef: ref
|
|
56
56
|
}));
|
|
57
|
-
}));
|
|
58
|
-
exports.default = _default;
|
|
57
|
+
}));
|
|
@@ -19,7 +19,7 @@ var _constants = require("../internal/constants");
|
|
|
19
19
|
var _loadingContainerAdvanced = require("../styled/loading-container-advanced");
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* eslint-disable @repo/internal/dom-events/no-unsafe-event-listeners */
|
|
22
|
-
var LoadingContainerAdvanced = /*#__PURE__*/function (_React$Component) {
|
|
22
|
+
var LoadingContainerAdvanced = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
23
23
|
(0, _inherits2.default)(LoadingContainerAdvanced, _React$Component);
|
|
24
24
|
var _super = _createSuper(LoadingContainerAdvanced);
|
|
25
25
|
function LoadingContainerAdvanced() {
|
|
@@ -193,7 +193,6 @@ var LoadingContainerAdvanced = /*#__PURE__*/function (_React$Component) {
|
|
|
193
193
|
}]);
|
|
194
194
|
return LoadingContainerAdvanced;
|
|
195
195
|
}(_react.default.Component);
|
|
196
|
-
exports.default = LoadingContainerAdvanced;
|
|
197
196
|
(0, _defineProperty2.default)(LoadingContainerAdvanced, "defaultProps", {
|
|
198
197
|
isLoading: true,
|
|
199
198
|
spinnerSize: _constants.LARGE,
|
|
@@ -17,7 +17,7 @@ var _constants = require("../internal/constants");
|
|
|
17
17
|
var _loadingContainer = require("../styled/loading-container");
|
|
18
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
19
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
20
|
-
var LoadingContainer = /*#__PURE__*/function (_React$Component) {
|
|
20
|
+
var LoadingContainer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
21
21
|
(0, _inherits2.default)(LoadingContainer, _React$Component);
|
|
22
22
|
var _super = _createSuper(LoadingContainer);
|
|
23
23
|
function LoadingContainer() {
|
|
@@ -48,7 +48,6 @@ var LoadingContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
48
48
|
}]);
|
|
49
49
|
return LoadingContainer;
|
|
50
50
|
}(_react.default.Component);
|
|
51
|
-
exports.default = LoadingContainer;
|
|
52
51
|
(0, _defineProperty2.default)(LoadingContainer, "defaultProps", {
|
|
53
52
|
isLoading: true,
|
|
54
53
|
spinnerSize: _constants.LARGE,
|
|
@@ -17,7 +17,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
17
17
|
var _pagination = _interopRequireDefault(require("@atlaskit/pagination"));
|
|
18
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
19
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
20
|
-
var ManagedPagination = /*#__PURE__*/function (_React$Component) {
|
|
20
|
+
var ManagedPagination = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
21
21
|
(0, _inherits2.default)(ManagedPagination, _React$Component);
|
|
22
22
|
var _super = _createSuper(ManagedPagination);
|
|
23
23
|
function ManagedPagination() {
|
|
@@ -60,5 +60,4 @@ var ManagedPagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60
60
|
}
|
|
61
61
|
}]);
|
|
62
62
|
return ManagedPagination;
|
|
63
|
-
}(_react.default.Component);
|
|
64
|
-
exports.default = ManagedPagination;
|
|
63
|
+
}(_react.default.Component);
|
|
@@ -18,7 +18,8 @@ var _reactBeautifulDnd = require("react-beautiful-dnd");
|
|
|
18
18
|
var _withSortedPageRows = _interopRequireDefault(require("../../hoc/with-sorted-page-rows"));
|
|
19
19
|
var _tableRow = _interopRequireDefault(require("./table-row"));
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
21
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // Allowing existing usage of non Pragmatic drag and drop solution
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
22
23
|
// computes destination of ranking
|
|
23
24
|
// - if drag was cancelled returns undefined
|
|
24
25
|
// - if drag was finished, returns new position and after/before key
|
|
@@ -39,7 +40,7 @@ var computeRankDestination = function computeRankDestination(result, pageRows) {
|
|
|
39
40
|
}
|
|
40
41
|
return undefined;
|
|
41
42
|
};
|
|
42
|
-
var RankableBody = /*#__PURE__*/function (_React$Component) {
|
|
43
|
+
var RankableBody = exports.RankableBody = /*#__PURE__*/function (_React$Component) {
|
|
43
44
|
(0, _inherits2.default)(RankableBody, _React$Component);
|
|
44
45
|
var _super = _createSuper(RankableBody);
|
|
45
46
|
function RankableBody() {
|
|
@@ -121,10 +122,8 @@ var RankableBody = /*#__PURE__*/function (_React$Component) {
|
|
|
121
122
|
}]);
|
|
122
123
|
return RankableBody;
|
|
123
124
|
}(_react.default.Component);
|
|
124
|
-
exports.
|
|
125
|
-
var _default = (0, _withSortedPageRows.default)( /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
125
|
+
var _default = exports.default = (0, _withSortedPageRows.default)( /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
126
126
|
return /*#__PURE__*/_react.default.createElement(RankableBody, (0, _extends2.default)({}, props, {
|
|
127
127
|
forwardedRef: ref
|
|
128
128
|
}));
|
|
129
|
-
}));
|
|
130
|
-
exports.default = _default;
|
|
129
|
+
}));
|
|
@@ -19,7 +19,7 @@ var _tableCell = require("../../styled/rankable/table-cell");
|
|
|
19
19
|
var _excluded = ["content"];
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
|
-
var RankableTableCell = /*#__PURE__*/function (_React$Component) {
|
|
22
|
+
var RankableTableCell = exports.RankableTableCell = /*#__PURE__*/function (_React$Component) {
|
|
23
23
|
(0, _inherits2.default)(RankableTableCell, _React$Component);
|
|
24
24
|
var _super = _createSuper(RankableTableCell);
|
|
25
25
|
function RankableTableCell() {
|
|
@@ -59,6 +59,4 @@ var RankableTableCell = /*#__PURE__*/function (_React$Component) {
|
|
|
59
59
|
}]);
|
|
60
60
|
return RankableTableCell;
|
|
61
61
|
}(_react.default.Component);
|
|
62
|
-
exports.
|
|
63
|
-
var _default = (0, _withDimensions.default)(RankableTableCell);
|
|
64
|
-
exports.default = _default;
|
|
62
|
+
var _default = exports.default = (0, _withDimensions.default)(RankableTableCell);
|
|
@@ -42,5 +42,4 @@ var RankableTableHeadCell = /*#__PURE__*/function (_React$Component) {
|
|
|
42
42
|
}]);
|
|
43
43
|
return RankableTableHeadCell;
|
|
44
44
|
}(_react.default.Component);
|
|
45
|
-
var _default = (0, _withDimensions.default)(RankableTableHeadCell);
|
|
46
|
-
exports.default = _default;
|
|
45
|
+
var _default = exports.default = (0, _withDimensions.default)(RankableTableHeadCell);
|
|
@@ -24,8 +24,9 @@ var _excluded = ["cells", "key", "isHighlighted"];
|
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
27
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
28
|
-
|
|
27
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // Allowing existing usage of non Pragmatic drag and drop solution
|
|
28
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
29
|
+
var RankableTableRow = exports.RankableTableRow = /*#__PURE__*/function (_React$Component) {
|
|
29
30
|
(0, _inherits2.default)(RankableTableRow, _React$Component);
|
|
30
31
|
var _super = _createSuper(RankableTableRow);
|
|
31
32
|
function RankableTableRow() {
|
|
@@ -72,7 +73,11 @@ var RankableTableRow = /*#__PURE__*/function (_React$Component) {
|
|
|
72
73
|
index: rowIndex,
|
|
73
74
|
isDragDisabled: isRankingDisabled
|
|
74
75
|
}, function (provided, snapshot) {
|
|
76
|
+
var _provided$dragHandleP;
|
|
75
77
|
return /*#__PURE__*/_react.default.createElement(_tableRow.RankableTableBodyRow, (0, _extends2.default)({}, restRowProps, provided.dragHandleProps, provided.draggableProps, {
|
|
78
|
+
// It is necessary to prevent the passing of aria-labelledby
|
|
79
|
+
"aria-labelledby": undefined,
|
|
80
|
+
"aria-describedby": (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP['aria-labelledby'],
|
|
76
81
|
ref: _this2.innerRef(provided.innerRef),
|
|
77
82
|
style: _objectSpread(_objectSpread({}, provided.draggableProps.style), inlineStyles),
|
|
78
83
|
isHighlighted: isHighlighted || isRowHighlighted,
|
|
@@ -97,6 +102,4 @@ var RankableTableRow = /*#__PURE__*/function (_React$Component) {
|
|
|
97
102
|
}]);
|
|
98
103
|
return RankableTableRow;
|
|
99
104
|
}(_react.default.Component);
|
|
100
|
-
exports.
|
|
101
|
-
var _default = (0, _withDimensions.default)(RankableTableRow);
|
|
102
|
-
exports.default = _default;
|
|
105
|
+
var _default = exports.default = (0, _withDimensions.default)(RankableTableRow);
|
|
@@ -44,7 +44,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
44
44
|
* }
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
var DynamicTable = /*#__PURE__*/function (_React$Component) {
|
|
47
|
+
var DynamicTable = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
48
48
|
(0, _inherits2.default)(DynamicTable, _React$Component);
|
|
49
49
|
var _super = _createSuper(DynamicTable);
|
|
50
50
|
function DynamicTable() {
|
|
@@ -174,7 +174,6 @@ var DynamicTable = /*#__PURE__*/function (_React$Component) {
|
|
|
174
174
|
}]);
|
|
175
175
|
return DynamicTable;
|
|
176
176
|
}(_react.default.Component);
|
|
177
|
-
exports.default = DynamicTable;
|
|
178
177
|
(0, _defineProperty2.default)(DynamicTable, "defaultProps", {
|
|
179
178
|
defaultPage: 1,
|
|
180
179
|
isLoading: false,
|