@atlaskit/link-datasource 6.5.0 → 6.7.0

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 (254) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/cjs/analytics/generated/use-analytics-events.js +2 -2
  3. package/dist/cjs/analytics/ufoExperiences/index.js +11 -10
  4. package/dist/cjs/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +2 -2
  5. package/dist/cjs/hooks/useAssetsClient.js +2 -2
  6. package/dist/cjs/hooks/useDatasourceTableFlag.js +2 -2
  7. package/dist/cjs/hooks/useLoadOptions.js +2 -2
  8. package/dist/cjs/services/getAvailableSites.js +2 -2
  9. package/dist/cjs/ui/assets-modal/modal/index.js +11 -7
  10. package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
  11. package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +13 -11
  12. package/dist/cjs/ui/assets-modal/search-container/index.js +3 -3
  13. package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +6 -6
  14. package/dist/cjs/ui/common/error-state/access-required.js +1 -1
  15. package/dist/cjs/ui/common/error-state/loading-error.js +1 -1
  16. package/dist/cjs/ui/common/error-state/modal-loading-error.js +2 -2
  17. package/dist/cjs/ui/common/error-state/provider-auth-required.js +9 -8
  18. package/dist/cjs/ui/common/initial-state-view/index.js +2 -2
  19. package/dist/cjs/ui/common/modal/basic-search-input/index.js +6 -6
  20. package/dist/cjs/ui/common/modal/datasource-context/index.js +4 -2
  21. package/dist/cjs/ui/common/modal/datasource-modal/createDatasourceModal.js +2 -2
  22. package/dist/cjs/ui/common/modal/datasource-modal/index.js +1 -1
  23. package/dist/cjs/ui/common/modal/datasources-table-in-modal-preview/index.js +5 -1
  24. package/dist/cjs/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.js +22 -0
  25. package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +9 -9
  26. package/dist/cjs/ui/common/modal/mode-switcher/index.js +2 -2
  27. package/dist/cjs/ui/common/modal/popup-select/control.js +2 -2
  28. package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.js +4 -4
  29. package/dist/cjs/ui/common/modal/popup-select/dropdownIndicator.js +2 -2
  30. package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
  31. package/dist/cjs/ui/common/modal/popup-select/index.js +2 -2
  32. package/dist/cjs/ui/common/modal/popup-select/menu-list/index.js +3 -3
  33. package/dist/cjs/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
  34. package/dist/cjs/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
  35. package/dist/cjs/ui/common/modal/popup-select/menu-list/showMoreButton.js +2 -2
  36. package/dist/cjs/ui/common/modal/popup-select/trigger.js +4 -4
  37. package/dist/cjs/ui/common/modal/search-count/index.js +2 -2
  38. package/dist/cjs/ui/common/modal/site-selector/index.js +5 -5
  39. package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +2 -2
  40. package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +2 -2
  41. package/dist/cjs/ui/confluence-search-modal/modal/index.js +13 -9
  42. package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +13 -9
  43. package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +5 -4
  44. package/dist/cjs/ui/issue-like-table/column-picker/index.js +20 -6
  45. package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +19 -17
  46. package/dist/cjs/ui/issue-like-table/edit-type/icon/index.js +4 -4
  47. package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +5 -5
  48. package/dist/cjs/ui/issue-like-table/edit-type/text/index.js +2 -2
  49. package/dist/cjs/ui/issue-like-table/edit-type/user/index.js +7 -6
  50. package/dist/cjs/ui/issue-like-table/index.compiled.css +3 -0
  51. package/dist/cjs/ui/issue-like-table/index.js +155 -102
  52. package/dist/cjs/ui/issue-like-table/render-type/status/index.js +1 -1
  53. package/dist/cjs/ui/issue-like-table/render-type/tag/index.js +2 -2
  54. package/dist/cjs/ui/issue-like-table/render-type/user/index.js +4 -4
  55. package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.js +3 -3
  56. package/dist/cjs/ui/issue-like-table/table-cell-content/index.js +13 -20
  57. package/dist/cjs/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  58. package/dist/cjs/ui/issue-like-table/table-settings-menu/index.compiled.css +6 -0
  59. package/dist/cjs/ui/issue-like-table/table-settings-menu/index.js +96 -0
  60. package/dist/cjs/ui/issue-like-table/table-settings-menu/messages.js +24 -0
  61. package/dist/cjs/ui/jira-issues-modal/jql-editor/index.js +2 -2
  62. package/dist/cjs/ui/jira-issues-modal/modal/index.js +15 -10
  63. package/dist/cjs/ui/table-footer/index.js +2 -2
  64. package/dist/es2019/analytics/generated/use-analytics-events.js +1 -1
  65. package/dist/es2019/analytics/ufoExperiences/index.js +2 -1
  66. package/dist/es2019/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
  67. package/dist/es2019/hooks/useAssetsClient.js +1 -1
  68. package/dist/es2019/hooks/useDatasourceTableFlag.js +1 -1
  69. package/dist/es2019/hooks/useLoadOptions.js +1 -1
  70. package/dist/es2019/services/getAvailableSites.js +1 -1
  71. package/dist/es2019/ui/assets-modal/modal/index.js +6 -2
  72. package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
  73. package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
  74. package/dist/es2019/ui/assets-modal/search-container/index.js +2 -2
  75. package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
  76. package/dist/es2019/ui/common/error-state/access-required.js +1 -1
  77. package/dist/es2019/ui/common/error-state/loading-error.js +1 -1
  78. package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -1
  79. package/dist/es2019/ui/common/error-state/provider-auth-required.js +5 -4
  80. package/dist/es2019/ui/common/initial-state-view/index.js +2 -2
  81. package/dist/es2019/ui/common/modal/basic-search-input/index.js +3 -3
  82. package/dist/es2019/ui/common/modal/datasource-context/index.js +4 -2
  83. package/dist/es2019/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
  84. package/dist/es2019/ui/common/modal/datasource-modal/index.js +1 -1
  85. package/dist/es2019/ui/common/modal/datasources-table-in-modal-preview/index.js +5 -1
  86. package/dist/es2019/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.js +22 -0
  87. package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
  88. package/dist/es2019/ui/common/modal/mode-switcher/index.js +1 -1
  89. package/dist/es2019/ui/common/modal/popup-select/control.js +1 -1
  90. package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
  91. package/dist/es2019/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
  92. package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
  93. package/dist/es2019/ui/common/modal/popup-select/index.js +1 -1
  94. package/dist/es2019/ui/common/modal/popup-select/menu-list/index.js +2 -2
  95. package/dist/es2019/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
  96. package/dist/es2019/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
  97. package/dist/es2019/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
  98. package/dist/es2019/ui/common/modal/popup-select/trigger.js +3 -3
  99. package/dist/es2019/ui/common/modal/search-count/index.js +1 -1
  100. package/dist/es2019/ui/common/modal/site-selector/index.js +3 -3
  101. package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
  102. package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
  103. package/dist/es2019/ui/confluence-search-modal/modal/index.js +7 -3
  104. package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +7 -3
  105. package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
  106. package/dist/es2019/ui/issue-like-table/column-picker/index.js +36 -20
  107. package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +11 -9
  108. package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +2 -2
  109. package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +3 -3
  110. package/dist/es2019/ui/issue-like-table/edit-type/text/index.js +1 -1
  111. package/dist/es2019/ui/issue-like-table/edit-type/user/index.js +4 -3
  112. package/dist/es2019/ui/issue-like-table/index.compiled.css +3 -0
  113. package/dist/es2019/ui/issue-like-table/index.js +59 -11
  114. package/dist/es2019/ui/issue-like-table/render-type/status/index.js +1 -1
  115. package/dist/es2019/ui/issue-like-table/render-type/tag/index.js +1 -1
  116. package/dist/es2019/ui/issue-like-table/render-type/user/index.js +3 -3
  117. package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.js +2 -2
  118. package/dist/es2019/ui/issue-like-table/table-cell-content/index.js +12 -19
  119. package/dist/es2019/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  120. package/dist/es2019/ui/issue-like-table/table-settings-menu/index.compiled.css +6 -0
  121. package/dist/es2019/ui/issue-like-table/table-settings-menu/index.js +76 -0
  122. package/dist/es2019/ui/issue-like-table/table-settings-menu/messages.js +18 -0
  123. package/dist/es2019/ui/jira-issues-modal/jql-editor/index.js +1 -1
  124. package/dist/es2019/ui/jira-issues-modal/modal/index.js +8 -3
  125. package/dist/es2019/ui/table-footer/index.js +1 -1
  126. package/dist/esm/analytics/generated/use-analytics-events.js +1 -1
  127. package/dist/esm/analytics/ufoExperiences/index.js +2 -1
  128. package/dist/esm/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
  129. package/dist/esm/hooks/useAssetsClient.js +1 -1
  130. package/dist/esm/hooks/useDatasourceTableFlag.js +1 -1
  131. package/dist/esm/hooks/useLoadOptions.js +1 -1
  132. package/dist/esm/services/getAvailableSites.js +1 -1
  133. package/dist/esm/ui/assets-modal/modal/index.js +6 -2
  134. package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
  135. package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
  136. package/dist/esm/ui/assets-modal/search-container/index.js +2 -2
  137. package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
  138. package/dist/esm/ui/common/error-state/access-required.js +1 -1
  139. package/dist/esm/ui/common/error-state/loading-error.js +1 -1
  140. package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -1
  141. package/dist/esm/ui/common/error-state/provider-auth-required.js +5 -4
  142. package/dist/esm/ui/common/initial-state-view/index.js +2 -2
  143. package/dist/esm/ui/common/modal/basic-search-input/index.js +3 -3
  144. package/dist/esm/ui/common/modal/datasource-context/index.js +4 -2
  145. package/dist/esm/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
  146. package/dist/esm/ui/common/modal/datasource-modal/index.js +1 -1
  147. package/dist/esm/ui/common/modal/datasources-table-in-modal-preview/index.js +5 -1
  148. package/dist/esm/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.js +22 -0
  149. package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
  150. package/dist/esm/ui/common/modal/mode-switcher/index.js +1 -1
  151. package/dist/esm/ui/common/modal/popup-select/control.js +1 -1
  152. package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
  153. package/dist/esm/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
  154. package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
  155. package/dist/esm/ui/common/modal/popup-select/index.js +1 -1
  156. package/dist/esm/ui/common/modal/popup-select/menu-list/index.js +2 -2
  157. package/dist/esm/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
  158. package/dist/esm/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
  159. package/dist/esm/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
  160. package/dist/esm/ui/common/modal/popup-select/trigger.js +3 -3
  161. package/dist/esm/ui/common/modal/search-count/index.js +1 -1
  162. package/dist/esm/ui/common/modal/site-selector/index.js +3 -3
  163. package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
  164. package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
  165. package/dist/esm/ui/confluence-search-modal/modal/index.js +7 -3
  166. package/dist/esm/ui/datasource-table-view/datasourceTableView.js +7 -3
  167. package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
  168. package/dist/esm/ui/issue-like-table/column-picker/index.js +17 -3
  169. package/dist/esm/ui/issue-like-table/draggable-table-heading.js +11 -9
  170. package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +2 -2
  171. package/dist/esm/ui/issue-like-table/edit-type/status/index.js +3 -3
  172. package/dist/esm/ui/issue-like-table/edit-type/text/index.js +1 -1
  173. package/dist/esm/ui/issue-like-table/edit-type/user/index.js +4 -3
  174. package/dist/esm/ui/issue-like-table/index.compiled.css +3 -0
  175. package/dist/esm/ui/issue-like-table/index.js +146 -93
  176. package/dist/esm/ui/issue-like-table/render-type/status/index.js +1 -1
  177. package/dist/esm/ui/issue-like-table/render-type/tag/index.js +1 -1
  178. package/dist/esm/ui/issue-like-table/render-type/user/index.js +3 -3
  179. package/dist/esm/ui/issue-like-table/shared-components/avatar/index.js +2 -2
  180. package/dist/esm/ui/issue-like-table/table-cell-content/index.js +12 -19
  181. package/dist/esm/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
  182. package/dist/esm/ui/issue-like-table/table-settings-menu/index.compiled.css +6 -0
  183. package/dist/esm/ui/issue-like-table/table-settings-menu/index.js +87 -0
  184. package/dist/esm/ui/issue-like-table/table-settings-menu/messages.js +18 -0
  185. package/dist/esm/ui/jira-issues-modal/jql-editor/index.js +1 -1
  186. package/dist/esm/ui/jira-issues-modal/modal/index.js +8 -3
  187. package/dist/esm/ui/table-footer/index.js +1 -1
  188. package/dist/types/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +1 -1
  189. package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +1 -1
  190. package/dist/types/common/types.d.ts +1 -1
  191. package/dist/types/hooks/useDatasourceTableFlag.d.ts +1 -1
  192. package/dist/types/hooks/useDatasourceTableState.d.ts +1 -1
  193. package/dist/types/hooks/useLoadOptions.d.ts +3 -3
  194. package/dist/types/services/makeGetJqlAutocompleteData.d.ts +1 -1
  195. package/dist/types/services/makeGetJqlSuggestionsData.d.ts +1 -1
  196. package/dist/types/state/actions/index.d.ts +3 -3
  197. package/dist/types/state/index.d.ts +3 -3
  198. package/dist/types/ui/assets-modal/modal/index.d.ts +1 -1
  199. package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
  200. package/dist/types/ui/assets-modal/types.d.ts +1 -1
  201. package/dist/types/ui/common/error-state/provider-auth-required.d.ts +1 -1
  202. package/dist/types/ui/common/modal/datasource-context/index.d.ts +1 -1
  203. package/dist/types/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +1 -1
  204. package/dist/types/ui/common/modal/datasource-modal/index.d.ts +1 -1
  205. package/dist/types/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.d.ts +1 -1
  206. package/dist/types/ui/common/modal/insert-button/index.d.ts +1 -1
  207. package/dist/types/ui/common/modal/popup-select/control.d.ts +1 -1
  208. package/dist/types/ui/common/modal/popup-select/custom-checkbox-option.d.ts +1 -1
  209. package/dist/types/ui/common/modal/popup-select/dropdownIndicator.d.ts +1 -1
  210. package/dist/types/ui/common/modal/popup-select/index.d.ts +1 -1
  211. package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +1 -1
  212. package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
  213. package/dist/types/ui/confluence-search-modal/types.d.ts +1 -1
  214. package/dist/types/ui/datasource-table-view/datasource-column-sort.d.ts +1 -1
  215. package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +4 -4
  216. package/dist/types/ui/datasource-table-view/types.d.ts +2 -2
  217. package/dist/types/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +1 -1
  218. package/dist/types/ui/issue-like-table/column-picker/types.d.ts +1 -1
  219. package/dist/types/ui/issue-like-table/custom-icons.d.ts +1 -1
  220. package/dist/types/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
  221. package/dist/types/ui/issue-like-table/edit-type/index.d.ts +2 -2
  222. package/dist/types/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
  223. package/dist/types/ui/issue-like-table/edit-type/text/index.d.ts +1 -1
  224. package/dist/types/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
  225. package/dist/types/ui/issue-like-table/index.d.ts +1 -1
  226. package/dist/types/ui/issue-like-table/render-type/boolean/index.d.ts +1 -1
  227. package/dist/types/ui/issue-like-table/render-type/date-range/index.d.ts +1 -1
  228. package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
  229. package/dist/types/ui/issue-like-table/render-type/icon/index.d.ts +1 -1
  230. package/dist/types/ui/issue-like-table/render-type/index.d.ts +1 -1
  231. package/dist/types/ui/issue-like-table/render-type/link/index.d.ts +1 -1
  232. package/dist/types/ui/issue-like-table/render-type/number/index.d.ts +1 -1
  233. package/dist/types/ui/issue-like-table/render-type/richtext/index.d.ts +1 -1
  234. package/dist/types/ui/issue-like-table/render-type/status/index.d.ts +1 -1
  235. package/dist/types/ui/issue-like-table/render-type/tag/index.d.ts +1 -1
  236. package/dist/types/ui/issue-like-table/render-type/text/index.d.ts +1 -1
  237. package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +2 -2
  238. package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
  239. package/dist/types/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
  240. package/dist/types/ui/issue-like-table/table-settings-menu/index.d.ts +8 -0
  241. package/dist/types/ui/issue-like-table/table-settings-menu/messages.d.ts +17 -0
  242. package/dist/types/ui/issue-like-table/types.d.ts +7 -1
  243. package/dist/types/ui/issue-like-table/utils.d.ts +7 -7
  244. package/dist/types/ui/jira-issues-modal/types.d.ts +1 -1
  245. package/examples-helpers/buildAssetsIssuesTable.tsx +3 -1
  246. package/examples-helpers/buildConfluenceSearchTable.tsx +3 -1
  247. package/examples-helpers/buildIssueLikeTable.tsx +2 -0
  248. package/examples-helpers/buildJiraIssuesTable.tsx +2 -0
  249. package/examples-helpers/mockJqlSmartLinkData.ts +1 -1
  250. package/examples-helpers/mockSmartLinkData.ts +1 -1
  251. package/examples-helpers/smartLinkCustomClient.ts +1 -1
  252. package/examples-helpers/useAssetsTableProps.tsx +6 -0
  253. package/examples-helpers/useCommonTableProps.tsx +5 -2
  254. package/package.json +47 -43
@@ -9,10 +9,15 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  /* eslint-disable @atlaskit/platform/no-preconditioning */
10
10
  import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
11
11
  import { FormattedMessage, useIntl } from 'react-intl';
12
- import FeatureGates from '@atlaskit/feature-gate-js-client';
12
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
13
13
  import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
14
- import LinkComponent from '@atlaskit/link';
15
- import { CloseButton, ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
14
+ import LinkComponent from '@atlaskit/link/link';
15
+ import { CloseButton } from '@atlaskit/modal-dialog/close-button';
16
+ import ModalBody from '@atlaskit/modal-dialog/modal-body';
17
+ import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
18
+ import ModalHeader from '@atlaskit/modal-dialog/modal-header';
19
+ import ModalTitle from '@atlaskit/modal-dialog/modal-title';
20
+ import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
16
21
  import { fg } from '@atlaskit/platform-feature-flags/fg';
17
22
  import { Flex } from '@atlaskit/primitives/compiled';
18
23
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
@@ -6,7 +6,7 @@ import * as React from 'react';
6
6
  import { ax, ix } from "@compiled/react/runtime";
7
7
  import { useEffect, useState } from 'react';
8
8
  import { FormattedMessage, useIntl } from 'react-intl';
9
- import { IconButton } from '@atlaskit/button/new';
9
+ import IconButton from '@atlaskit/button/icon/button';
10
10
  import RefreshIcon from '@atlaskit/icon/core/refresh';
11
11
  import { Box, Flex, Inline } from '@atlaskit/primitives/compiled';
12
12
  import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../assets-modal';
@@ -1,2 +1,2 @@
1
- import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import type { DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
2
2
  export declare const useColumnPickerRenderedFailedUfoExperience: (status: DatasourceTableStatusType, experienceId: string) => void;
@@ -1,4 +1,4 @@
1
- import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import type { DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
2
2
  interface DataRenderedUfoExperienceProps {
3
3
  canBeLink?: boolean;
4
4
  experienceId: string;
@@ -1,5 +1,5 @@
1
1
  import type { RefObject } from 'react';
2
- import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
3
  import { type IssueLikeDataTableViewProps } from '../ui/issue-like-table/types';
4
4
  export type JiraSearchMethod = 'basic' | 'jql';
5
5
  export interface Site {
@@ -1,4 +1,4 @@
1
- import { type CreateFlagArgs } from '@atlaskit/flag';
1
+ import type { CreateFlagArgs } from '@atlaskit/flag/flag-provider';
2
2
  interface DatasourceTableFlagOptions {
3
3
  isFetchAction?: boolean;
4
4
  url?: string;
@@ -1,4 +1,4 @@
1
- import { type DatasourceDataResponseItem, type DatasourceMeta, type DatasourceParameters, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import type { DatasourceDataResponseItem, DatasourceMeta, DatasourceParameters, DatasourceResponseSchemaProperty, DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
2
2
  export declare const INCREASED_DATASOURCE_DATA_PAGE_SIZE = 100;
3
3
  export interface onNextPageProps {
4
4
  isSchemaFromData?: boolean;
@@ -1,4 +1,4 @@
1
- import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types';
1
+ import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types/datasource-actions';
2
2
  import type { ExecuteFetch } from '../state/actions';
3
3
  export type LoadOptionsProps<T> = {
4
4
  emptyOption?: T;
@@ -6,7 +6,7 @@ export type LoadOptionsProps<T> = {
6
6
  fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
7
7
  };
8
8
  export declare const useLoadOptions: <T>({ fetchInputs, executeFetch, emptyOption, }: LoadOptionsProps<T>) => {
9
- options: T[];
10
- isLoading: boolean;
11
9
  hasFailed: boolean;
10
+ isLoading: boolean;
11
+ options: T[];
12
12
  };
@@ -1,4 +1,4 @@
1
- import { type GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest';
1
+ import type { GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest/types';
2
2
  export type AutocompleteInitialDataResponse = {
3
3
  jqlFields: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFields'];
4
4
  jqlFunctions: Awaited<ReturnType<GetAutocompleteInitialData>>['jqlFunctions'];
@@ -1,4 +1,4 @@
1
- import { type GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest';
1
+ import type { GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest/types';
2
2
  export type AutocompleteSuggestionsResponse = {
3
3
  results: Awaited<ReturnType<GetAutocompleteSuggestions>>['results'];
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { type Action, type BoundActions, type HookFunction, type Store } from 'react-sweet-state';
2
2
  import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
3
- import type { ActionsDiscoveryRequest, AtomicActionExecuteRequest, AtomicActionExecuteResponse, AtomicActionInterface } from '@atlaskit/linking-types';
3
+ import type { ActionsDiscoveryRequest, AtomicActionExecuteRequest, AtomicActionExecuteResponse, AtomicActionInterface } from '@atlaskit/linking-types/datasource-actions';
4
4
  import { type DatasourceOperationFailedAttributesType, type EventKey } from '../../../src/analytics/generated/analytics.types';
5
5
  import type createEventPayload from '../../../src/analytics/generated/create-event-payload';
6
6
  type IntegrationKey = string;
@@ -82,13 +82,13 @@ export declare const useDiscoverActions: ({ captureError, fireEvent, }: UseDisco
82
82
  * Retrieves the action schema for a given ARI + fieldKey + integrationKey
83
83
  */
84
84
  export declare const useAtomicUpdateActionSchema: HookFunction<{
85
- schema?: undefined;
86
85
  fetchSchema?: undefined;
86
+ schema?: undefined;
87
87
  } | {
88
+ fetchSchema: Pick<AtomicActionInterface, 'type' | 'inputs' | 'actionKey'> | undefined;
88
89
  schema: Pick<AtomicActionInterface, 'type' | 'description' | 'actionKey'> & {
89
90
  fetchAction?: Pick<AtomicActionInterface, 'actionKey' | 'type' | 'inputs'>;
90
91
  };
91
- fetchSchema: Pick<AtomicActionInterface, 'type' | 'inputs' | 'actionKey'> | undefined;
92
92
  }, BoundActions<ActionsStoreState, {
93
93
  discoverActions: (captureError: AnalyticsCaptureError, fireEvent: AnalyticsFireEvent, api: Client, request: ActionsDiscoveryRequest) => Action<ActionsStoreState>;
94
94
  }>, {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type Action, type BoundActions, type HookActionsFunction, type HookStateFunction, type Store as StoreType } from 'react-sweet-state';
3
- import type { DatasourceDataResponseItem } from '@atlaskit/linking-types';
3
+ import type { DatasourceDataResponseItem } from '@atlaskit/linking-types/datasource';
4
4
  type UniqueIdentifier = string;
5
5
  export interface DatasourceItem {
6
6
  ari: string | undefined;
@@ -16,15 +16,15 @@ export declare const actions: {
16
16
  onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
17
17
  };
18
18
  export declare const Store: StoreType<State, {
19
- onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
20
19
  onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
20
+ onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
21
21
  }>;
22
22
  export declare const useDatasourceItem: HookStateFunction<DatasourceItem | undefined, {
23
23
  id: string;
24
24
  }>;
25
25
  export declare const useDatasourceActions: HookActionsFunction<BoundActions<State, {
26
- onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
27
26
  onAddItems: (items: DatasourceDataResponseItem[], integrationKey: string | undefined, entityType: string | undefined) => Action<State, void, string[]>;
27
+ onUpdateItem: (id: string, data: DatasourceDataResponseItem) => Action<State, void, void>;
28
28
  }>>;
29
29
  export declare const StoreContainer: ({ children }: {
30
30
  children: JSX.Element;
@@ -3,6 +3,6 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
6
- import { type WithContextProps } from '@atlaskit/analytics-next';
6
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
7
7
  import { type AssetsConfigModalProps } from '../types';
8
8
  export declare const AssetsConfigModal: ForwardRefExoticComponent<AssetsConfigModalProps & WithContextProps & RefAttributes<any>>;
@@ -1,4 +1,4 @@
1
- import { type DatasourceDataResponseItem, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import type { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType } from '@atlaskit/linking-types/datasource';
2
2
  export interface RenderAssetsContentProps {
3
3
  aql?: string;
4
4
  columns: DatasourceResponseSchemaProperty[];
@@ -1,5 +1,5 @@
1
1
  import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
2
- import { type DatasourceParameters } from '@atlaskit/linking-types';
2
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
3
3
  import { type ConfigModalProps } from '../../common/types';
4
4
  export type AssetsDatasourceParameters = {
5
5
  aql: string;
@@ -1,4 +1,4 @@
1
- import { type DatasourceMeta } from '@atlaskit/linking-types';
1
+ import type { DatasourceMeta } from '@atlaskit/linking-types/datasource';
2
2
  interface ProviderAuthRequiredProps {
3
3
  auth: DatasourceMeta['auth'];
4
4
  datasourceId: string;
@@ -1,6 +1,6 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
2
  import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common';
3
- import type { DatasourceParameters } from '@atlaskit/linking-types';
3
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
4
4
  import { type OnInsertFunction } from '../../../../common/types';
5
5
  import { type DatasourceTableState } from '../../../../hooks/useDatasourceTableState';
6
6
  import type { ColumnSizesMap } from '../../../issue-like-table/types';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common';
3
- import { type DatasourceParameters } from '@atlaskit/linking-types';
3
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
4
4
  import { type ConfigModalProps } from '../../../../common/types';
5
5
  export type ConnectedConfigModalProps<Parameters extends DatasourceParameters> = Omit<ConfigModalProps<DatasourceAdf<Parameters> | InlineCardAdf, Parameters>, 'onInsert' | 'parameters'>;
6
6
  export declare const createDatasourceModal: <Parameters extends DatasourceParameters>({ isValidParameters, dataProvider, component: ModalContent, }: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type ModalDialogProps } from '@atlaskit/modal-dialog';
2
+ import type { ModalDialogProps } from '@atlaskit/modal-dialog/types';
3
3
  type DatasourceModalProps = Pick<ModalDialogProps, 'testId' | 'onClose' | 'children' | 'shouldReturnFocus'>;
4
4
  export declare const DatasourceModal: ({ testId, onClose, children, shouldReturnFocus, }: DatasourceModalProps) => React.JSX.Element;
5
5
  export {};
@@ -1,3 +1,3 @@
1
1
  import { type IssueLikeDataTableViewProps } from '../../../../issue-like-table/types';
2
- export type ColumnWrappingProps = Required<Pick<IssueLikeDataTableViewProps, 'wrappedColumnKeys' | 'onWrappedColumnChange'>>;
2
+ export type ColumnWrappingProps = Required<Pick<IssueLikeDataTableViewProps, 'wrappedColumnKeys' | 'onWrappedColumnChange'>> & Pick<IssueLikeDataTableViewProps, 'onWrappedColumnsChange'>;
3
3
  export declare const useColumnWrapping: (initialWrappedColumnKeys?: string[]) => ColumnWrappingProps;
@@ -1,5 +1,5 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
- import { type DatasourceParameters } from '@atlaskit/linking-types';
2
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
3
3
  export type InsertButtonProps<Parameters extends DatasourceParameters> = PropsWithChildren<{
4
4
  getAnalyticsPayload: () => Record<string, any>;
5
5
  hasErrors?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type ControlProps } from '@atlaskit/select';
2
+ import type { ControlProps } from '@atlaskit/select/types';
3
3
  import { type SelectOption } from './types';
4
4
  export declare const CustomControl: ({ children, ...innerProps }: ControlProps<SelectOption, true>) => React.JSX.Element;
5
5
  export default CustomControl;
@@ -1,3 +1,3 @@
1
- import { type OptionProps } from '@atlaskit/react-select';
1
+ import type { OptionProps } from '@atlaskit/react-select/option';
2
2
  import type { SelectOption } from './types';
3
3
  export declare const CustomCheckboxOption: ({ children, ...props }: OptionProps<SelectOption, true>) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type DropdownIndicatorProps } from '@atlaskit/select';
2
+ import type { DropdownIndicatorProps } from '@atlaskit/select/types';
3
3
  import { type SelectOption } from './types';
4
4
  declare const CustomDropdownIndicator: (props: DropdownIndicatorProps<SelectOption, true>) => React.JSX.Element;
5
5
  export default CustomDropdownIndicator;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type InputActionMeta, type ValueType } from '@atlaskit/select';
2
+ import type { InputActionMeta, ValueType } from '@atlaskit/select/types';
3
3
  import { type CustomMenuListProps } from './menu-list';
4
4
  import { type SelectOption } from './types';
5
5
  export interface FilterPopupSelectProps {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type MenuListComponentProps } from '@atlaskit/select';
2
+ import type { MenuListComponentProps } from '@atlaskit/select/types';
3
3
  import { type SelectOption } from '../types';
4
4
  export type CustomMenuListProps = {
5
5
  errors?: unknown[];
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import type { PopupComponentProps } from '@atlaskit/popup';
2
+ import type { PopupComponentProps } from '@atlaskit/popup/types';
3
3
  export declare const PopupComponent: React.ForwardRefExoticComponent<PopupComponentProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
1
  import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
2
- import { type DatasourceParameters } from '@atlaskit/linking-types';
2
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
3
3
  import { type ConfigModalProps } from '../../common/types';
4
4
  import { type ConnectedConfigModalProps } from '../common/modal/datasource-modal/createDatasourceModal';
5
5
  import { type DateRangeType } from '../common/modal/popup-select/types';
@@ -1,4 +1,4 @@
1
- import type { DatasourceParameters } from '@atlaskit/linking-types';
1
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
2
2
  import type { DatasourceTableSortState } from '../issue-like-table/types';
3
3
  export type { DatasourceTableSortState } from '../issue-like-table/types';
4
4
  export type DatasourceColumnSortGetter = ({ parameters, columnKey, currentSort, }: {
@@ -3,16 +3,16 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
6
- import { type WithContextProps } from '@atlaskit/analytics-next';
7
- import type { DatasourceParameters } from '@atlaskit/linking-types';
6
+ import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
7
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
8
8
  import type { IssueLikeDataTableViewProps } from '../issue-like-table/types';
9
9
  export declare const DatasourceTableView: ForwardRefExoticComponent<{
10
10
  datasourceId: string;
11
11
  parameters: DatasourceParameters;
12
12
  url?: string;
13
- } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>> & WithContextProps & RefAttributes<any>>;
13
+ } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onWrappedColumnsChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>> & WithContextProps & RefAttributes<any>>;
14
14
  export declare const DataSourceTableViewNoSuspense: ForwardRefExoticComponent<{
15
15
  datasourceId: string;
16
16
  parameters: DatasourceParameters;
17
17
  url?: string;
18
- } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>> & WithContextProps & RefAttributes<any>>;
18
+ } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onWrappedColumnsChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>> & WithContextProps & RefAttributes<any>>;
@@ -1,4 +1,4 @@
1
- import type { DatasourceParameters } from '@atlaskit/linking-types';
1
+ import type { DatasourceParameters } from '@atlaskit/linking-types/datasource';
2
2
  import { type IssueLikeDataTableViewProps } from '../issue-like-table/types';
3
3
  export type DatasourceTableViewProps = {
4
4
  /** Unique identifier for which type of datasource is being rendered and for making its requests */
@@ -7,4 +7,4 @@ export type DatasourceTableViewProps = {
7
7
  parameters: DatasourceParameters;
8
8
  /** Url for an existing datasource, initially used for displaying to a user unauthorized to query that site */
9
9
  url?: string;
10
- } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>>;
10
+ } & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'onVisibleColumnKeysChange' | 'wrappedColumnKeys' | 'onWrappedColumnChange' | 'onWrappedColumnsChange' | 'onColumnResize' | 'onColumnSort' | 'sortState' | 'columnCustomSizes' | 'scrollableContainerHeight'>>;
@@ -1,4 +1,4 @@
1
- import { type MenuListComponentProps, type OptionProps, type OptionType } from '@atlaskit/select';
1
+ import type { MenuListComponentProps, OptionProps, OptionType } from '@atlaskit/select/types';
2
2
  export declare const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
3
3
  export declare const ConcatenatedMenuList: ({ children, ...props }: MenuListComponentProps<OptionType, true>) => JSX.Element;
4
4
  export declare const MenuItem: ({ children, ...props }: OptionProps<OptionType, true>) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type DatasourceResponseSchemaProperty } from '@atlaskit/linking-types';
1
+ import type { DatasourceResponseSchemaProperty } from '@atlaskit/linking-types/datasource';
2
2
  export type ColumnPickerProps = {
3
3
  columns: DatasourceResponseSchemaProperty[];
4
4
  onOpen?: () => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type IconProps } from '@atlaskit/icon';
2
+ import type { IconProps } from '@atlaskit/icon/types';
3
3
  export declare const GlyphPlaceholder: (props: IconProps) => React.JSX.Element;
4
4
  export declare const WrapTextIcon: () => React.JSX.Element;
5
5
  export declare const UnwrapTextIcon: () => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type FieldProps } from '@atlaskit/form';
2
+ import type { FieldProps } from '@atlaskit/form/field';
3
3
  import { type ExecuteFetch } from '../../../../state/actions';
4
4
  import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
5
5
  interface IconEditTypeProps extends Omit<FieldProps<string>, 'value'> {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type InlineEdit from '@atlaskit/inline-edit';
3
- import type { DatasourceType } from '@atlaskit/linking-types';
2
+ import type InlineEdit from '@atlaskit/inline-edit/inline-edit';
3
+ import type { DatasourceType } from '@atlaskit/linking-types/datasource';
4
4
  import { type ExecuteFetch } from '../../../state/actions';
5
5
  import { type DatasourceTypeWithOnlyValues } from '../types';
6
6
  export declare const editType: ({ defaultValue, currentValue, labelId, setEditValues, executeFetch, }: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type FieldProps } from '@atlaskit/form';
2
+ import type { FieldProps } from '@atlaskit/form/field';
3
3
  import type { ExecuteFetch } from '../../../../state/actions';
4
4
  import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
5
5
  interface StatusEditTypeProps extends Omit<FieldProps<string>, 'value'> {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type FieldProps } from '@atlaskit/form';
2
+ import type { FieldProps } from '@atlaskit/form/field';
3
3
  import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
4
4
  interface TextEditTypeProps extends Omit<FieldProps<string>, 'value'> {
5
5
  currentValue: DatasourceTypeWithOnlyTypeValues<'string'>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type FieldProps } from '@atlaskit/form';
2
+ import type { FieldProps } from '@atlaskit/form/field';
3
3
  import type { ExecuteFetch } from '../../../../state/actions';
4
4
  import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
5
5
  interface UserEditTypeProps extends Omit<FieldProps<string>, 'value'> {
@@ -2,5 +2,5 @@ import { type DatasourceResponseSchemaProperty } from '@atlaskit/linking-types/d
2
2
  import { type Props } from './empty-state';
3
3
  import { type IssueLikeDataTableViewProps } from './types';
4
4
  export declare const getOrderedColumns: (columns: DatasourceResponseSchemaProperty[], visibleColumnKeys: string[]) => DatasourceResponseSchemaProperty[];
5
- export declare const IssueLikeDataTableView: ({ testId, onNextPage, onLoadDatasourceDetails, items, itemIds, columns, renderItem, visibleColumnKeys, onVisibleColumnKeysChange, columnCustomSizes, onColumnResize, onColumnSort, wrappedColumnKeys, onWrappedColumnChange, sortState, status, hasNextPage, scrollableContainerHeight, extensionKey, }: IssueLikeDataTableViewProps) => JSX.Element;
5
+ export declare const IssueLikeDataTableView: ({ testId, onNextPage, onLoadDatasourceDetails, items, itemIds, columns, renderItem, visibleColumnKeys, onVisibleColumnKeysChange, columnCustomSizes, onColumnResize, onColumnSort, wrappedColumnKeys, onWrappedColumnChange, onWrappedColumnsChange, sortState, status, hasNextPage, scrollableContainerHeight, extensionKey, }: IssueLikeDataTableViewProps) => JSX.Element;
6
6
  export declare const EmptyState: ({ isCompact, testId }: Props) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type BooleanType } from '@atlaskit/linking-types';
2
+ import type { BooleanType } from '@atlaskit/linking-types/datasource';
3
3
  interface BooleanProps {
4
4
  testId?: string;
5
5
  value: BooleanType['value'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type IntlShape } from 'react-intl';
3
- import { type DateRangeType } from '@atlaskit/linking-types';
3
+ import type { DateRangeType } from '@atlaskit/linking-types/datasource';
4
4
  export interface DateRangeProps {
5
5
  testId?: string;
6
6
  value: DateRangeType['value'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type IntlShape } from 'react-intl';
3
- import { type DateTimeType, type DateType, type TimeType } from '@atlaskit/linking-types';
3
+ import type { DateTimeType, DateType, TimeType } from '@atlaskit/linking-types/datasource';
4
4
  export interface DateProps {
5
5
  display: (DateType | TimeType | DateTimeType)['type'];
6
6
  testId?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type Icon } from '@atlaskit/linking-types';
2
+ import type { Icon } from '@atlaskit/linking-types/datasource';
3
3
  interface IconProps extends Icon {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { type IntlShape } from 'react-intl';
2
- import { type DatasourceType } from '@atlaskit/linking-types';
2
+ import type { DatasourceType } from '@atlaskit/linking-types/datasource';
3
3
  import { type TableViewPropsRenderType } from '../types';
4
4
  export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape['formatMessage'], formatDate: IntlShape['formatDate']) => string;
5
5
  export declare const renderType: TableViewPropsRenderType;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type Link } from '@atlaskit/linking-types/datasource';
2
+ import type { Link } from '@atlaskit/linking-types/datasource';
3
3
  interface LinkProps extends Link {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type NumberType } from '@atlaskit/linking-types';
2
+ import type { NumberType } from '@atlaskit/linking-types/datasource';
3
3
  interface NumberProps {
4
4
  number: NumberType['value'];
5
5
  testId?: string;
@@ -1,4 +1,4 @@
1
- import { type RichText } from '@atlaskit/linking-types';
1
+ import type { RichText } from '@atlaskit/linking-types/datasource';
2
2
  export declare const parseRichText: (value: RichText) => string | null;
3
3
  declare const RichTextType: ({ value }: {
4
4
  value: RichText;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type Status } from '@atlaskit/linking-types';
2
+ import type { Status } from '@atlaskit/linking-types/datasource';
3
3
  interface StatusProps extends Status {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type TagType } from '@atlaskit/linking-types';
2
+ import type { TagType } from '@atlaskit/linking-types/datasource';
3
3
  interface TagProps {
4
4
  tag: TagType['value'];
5
5
  testId?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type StringType } from '@atlaskit/linking-types';
2
+ import type { StringType } from '@atlaskit/linking-types/datasource';
3
3
  interface TextProps {
4
4
  testId?: string;
5
5
  text: StringType['value'];
@@ -3,8 +3,8 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import { type SizeType } from '@atlaskit/avatar';
7
- import { type User } from '@atlaskit/linking-types';
6
+ import type { SizeType } from '@atlaskit/avatar/types';
7
+ import type { User } from '@atlaskit/linking-types/datasource';
8
8
  export interface UserProps extends User {
9
9
  avatarSize?: SizeType;
10
10
  children?: React.ReactElement;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type DatasourceType } from '@atlaskit/linking-types/datasource';
2
+ import type { DatasourceType } from '@atlaskit/linking-types/datasource';
3
3
  import { type TableViewPropsRenderType } from '../types';
4
4
  interface TableCellContentProps {
5
5
  columnKey: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type AtomicActionExecuteResponse } from '@atlaskit/linking-types';
2
+ import type { AtomicActionExecuteResponse } from '@atlaskit/linking-types/datasource-actions';
3
3
  import type { DatasourceTypeWithOnlyValues } from '../types';
4
4
  export declare const InlineEditUFOExperience = "inline-edit-rendered";
5
5
  interface InlineEditProps {
@@ -0,0 +1,8 @@
1
+ export type TableSettingsMenuProps = {
2
+ wrapTextSetting?: {
3
+ isChecked: boolean;
4
+ onChange: () => void;
5
+ };
6
+ };
7
+ export declare const hasAvailableTableSettings: ({ wrapTextSetting }: TableSettingsMenuProps) => boolean;
8
+ export declare const TableSettingsMenu: (props: TableSettingsMenuProps) => React.JSX.Element | null;
@@ -0,0 +1,17 @@
1
+ export declare const tableSettingsMenuMessages: {
2
+ moreActions: {
3
+ defaultMessage: string;
4
+ description: string;
5
+ id: string;
6
+ };
7
+ tableSettings: {
8
+ defaultMessage: string;
9
+ description: string;
10
+ id: string;
11
+ };
12
+ wrapTextOnAllColumns: {
13
+ defaultMessage: string;
14
+ description: string;
15
+ id: string;
16
+ };
17
+ };
@@ -1,5 +1,5 @@
1
1
  import { type Ref } from 'react';
2
- import type { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType } from '@atlaskit/linking-types';
2
+ import type { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType } from '@atlaskit/linking-types/datasource';
3
3
  import type { NextPageType } from '../../hooks/useDatasourceTableState';
4
4
  export type DatasourceTypeWithOnlyValues = {
5
5
  [K in DatasourceType['type']]: {
@@ -67,6 +67,12 @@ export interface IssueLikeDataTableViewProps {
67
67
  * @param shouldWrap Whenever column should wrap
68
68
  */
69
69
  onWrappedColumnChange?: (key: string, shouldWrap: boolean) => void;
70
+ /**
71
+ * Callback to be invoked whenever wrap is toggled for all currently visible columns.
72
+ *
73
+ * @param wrappedColumnKeys the full list of column keys that should wrap after the change
74
+ */
75
+ onWrappedColumnsChange?: (wrappedColumnKeys: string[]) => void;
70
76
  /**
71
77
  * A function to define new or override existing render components.
72
78
  * eg:
@@ -1,5 +1,5 @@
1
1
  import type { FormEvent } from 'react';
2
- import { type FieldProps } from '@atlaskit/form';
2
+ import type { FieldProps } from '@atlaskit/form/field';
3
3
  import { DatasourceAction } from '../../analytics/types';
4
4
  export declare const COLUMN_BASE_WIDTH = 8;
5
5
  export type GetWidthCss = (arg: {
@@ -26,16 +26,16 @@ export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibl
26
26
  * Remove deprecated `aria-labelledby` prop from select component props.
27
27
  */
28
28
  export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, 'value'>) => {
29
- name: string;
30
- id: string;
31
29
  'aria-describedby'?: string | undefined;
32
30
  'aria-invalid': 'true' | 'false';
33
- onFocus: () => void;
34
- onBlur: () => void;
35
- onChange: (value: string | FormEvent<HTMLInputElement>) => void;
36
- isRequired: boolean;
31
+ id: string;
37
32
  isDisabled: boolean;
38
33
  isInvalid: boolean;
34
+ isRequired: boolean;
35
+ name: string;
36
+ onBlur: () => void;
37
+ onChange: (value: string | FormEvent<HTMLInputElement>) => void;
38
+ onFocus: () => void;
39
39
  };
40
40
  /**
41
41
  * Create id for table header to be used as aria-labelledby on form fields.