@atlaskit/link-datasource 2.3.2 → 2.3.3

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 (175) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/ui/assets-modal/search-container/styled.js +6 -0
  3. package/dist/cjs/ui/common/modal/popup-select/trigger.js +2 -0
  4. package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -0
  5. package/dist/cjs/ui/issue-like-table/drag-column-preview.js +3 -0
  6. package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +1 -0
  7. package/dist/cjs/ui/issue-like-table/empty-state/type.js +1 -0
  8. package/dist/cjs/ui/issue-like-table/index.js +3 -0
  9. package/dist/cjs/ui/issue-like-table/render-type/date-time/index.js +2 -0
  10. package/dist/cjs/ui/issue-like-table/render-type/icon/index.js +1 -0
  11. package/dist/cjs/ui/issue-like-table/render-type/text/index.js +2 -0
  12. package/dist/cjs/ui/issue-like-table/render-type/user/index.js +2 -0
  13. package/dist/cjs/ui/issue-like-table/styled.js +4 -0
  14. package/dist/cjs/ui/table-footer/index.js +9 -0
  15. package/dist/es2019/ui/assets-modal/search-container/styled.js +6 -0
  16. package/dist/es2019/ui/common/modal/popup-select/trigger.js +2 -0
  17. package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -0
  18. package/dist/es2019/ui/issue-like-table/drag-column-preview.js +3 -0
  19. package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +1 -0
  20. package/dist/es2019/ui/issue-like-table/empty-state/type.js +1 -0
  21. package/dist/es2019/ui/issue-like-table/index.js +3 -0
  22. package/dist/es2019/ui/issue-like-table/render-type/date-time/index.js +2 -0
  23. package/dist/es2019/ui/issue-like-table/render-type/icon/index.js +1 -0
  24. package/dist/es2019/ui/issue-like-table/render-type/text/index.js +2 -0
  25. package/dist/es2019/ui/issue-like-table/render-type/user/index.js +2 -0
  26. package/dist/es2019/ui/issue-like-table/styled.js +4 -0
  27. package/dist/es2019/ui/table-footer/index.js +9 -0
  28. package/dist/esm/ui/assets-modal/search-container/styled.js +6 -0
  29. package/dist/esm/ui/common/modal/popup-select/trigger.js +2 -0
  30. package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -0
  31. package/dist/esm/ui/issue-like-table/drag-column-preview.js +3 -0
  32. package/dist/esm/ui/issue-like-table/draggable-table-heading.js +1 -0
  33. package/dist/esm/ui/issue-like-table/empty-state/type.js +1 -0
  34. package/dist/esm/ui/issue-like-table/index.js +3 -0
  35. package/dist/esm/ui/issue-like-table/render-type/date-time/index.js +2 -0
  36. package/dist/esm/ui/issue-like-table/render-type/icon/index.js +1 -0
  37. package/dist/esm/ui/issue-like-table/render-type/text/index.js +2 -0
  38. package/dist/esm/ui/issue-like-table/render-type/user/index.js +2 -0
  39. package/dist/esm/ui/issue-like-table/styled.js +4 -0
  40. package/dist/esm/ui/table-footer/index.js +9 -0
  41. package/dist/types/analytics/generated/create-event-payload.d.ts +1 -1
  42. package/dist/types/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +1 -1
  43. package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +1 -1
  44. package/dist/types/common/types.d.ts +1 -1
  45. package/dist/types/common/utils/locale/fetch-messages-for-locale.d.ts +1 -1
  46. package/dist/types/hooks/useAssetsClient.d.ts +2 -2
  47. package/dist/types/hooks/useObjectSchemas.d.ts +1 -1
  48. package/dist/types/services/cmdbService.d.ts +3 -3
  49. package/dist/types/services/makeGetJqlAutocompleteData.d.ts +1 -1
  50. package/dist/types/services/makeGetJqlSuggestionsData.d.ts +1 -1
  51. package/dist/types/services/mocks.d.ts +2 -2
  52. package/dist/types/services/useBasicFilterAGG.d.ts +2 -2
  53. package/dist/types/ui/assets-modal/index.d.ts +1 -1
  54. package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
  55. package/dist/types/ui/assets-modal/search-container/object-schema-select/index.d.ts +1 -1
  56. package/dist/types/ui/assets-modal/search-container/object-schema-select/utils.d.ts +1 -1
  57. package/dist/types/ui/common/error-state/no-instances.d.ts +1 -1
  58. package/dist/types/ui/common/error-state/provider-auth-required.d.ts +1 -1
  59. package/dist/types/ui/common/initial-state-view/index.d.ts +1 -1
  60. package/dist/types/ui/common/modal/basic-search-input/index.d.ts +1 -1
  61. package/dist/types/ui/common/modal/cancel-button/index.d.ts +1 -1
  62. package/dist/types/ui/common/modal/content-container/index.d.ts +1 -1
  63. package/dist/types/ui/common/modal/count-view-smart-link/index.d.ts +1 -1
  64. package/dist/types/ui/common/modal/popup-select/control.d.ts +2 -2
  65. package/dist/types/ui/common/modal/popup-select/dropdownIndicator.d.ts +2 -2
  66. package/dist/types/ui/common/modal/popup-select/formatOptionLabel.d.ts +1 -1
  67. package/dist/types/ui/common/modal/popup-select/index.d.ts +3 -3
  68. package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +2 -2
  69. package/dist/types/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
  70. package/dist/types/ui/common/modal/popup-select/trigger.d.ts +1 -1
  71. package/dist/types/ui/common/modal/popup-select/types.d.ts +1 -1
  72. package/dist/types/ui/common/modal/site-selector/index.d.ts +1 -1
  73. package/dist/types/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
  74. package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
  75. package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +2 -2
  76. package/dist/types/ui/confluence-search-modal/basic-filters/types.d.ts +1 -1
  77. package/dist/types/ui/confluence-search-modal/index.d.ts +1 -1
  78. package/dist/types/ui/datasource-table-view/index.d.ts +1 -1
  79. package/dist/types/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +1 -1
  80. package/dist/types/ui/issue-like-table/column-picker/index.d.ts +1 -1
  81. package/dist/types/ui/issue-like-table/column-picker/types.d.ts +1 -1
  82. package/dist/types/ui/issue-like-table/custom-icons.d.ts +1 -1
  83. package/dist/types/ui/issue-like-table/empty-state/priority.d.ts +1 -1
  84. package/dist/types/ui/issue-like-table/empty-state/type.d.ts +1 -1
  85. package/dist/types/ui/issue-like-table/render-type/boolean/index.d.ts +1 -1
  86. package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +2 -2
  87. package/dist/types/ui/issue-like-table/render-type/icon/index.d.ts +1 -1
  88. package/dist/types/ui/issue-like-table/render-type/link/index.d.ts +1 -1
  89. package/dist/types/ui/issue-like-table/render-type/status/index.d.ts +1 -1
  90. package/dist/types/ui/issue-like-table/render-type/tag/index.d.ts +1 -1
  91. package/dist/types/ui/issue-like-table/render-type/text/index.d.ts +1 -1
  92. package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +2 -2
  93. package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +3 -3
  94. package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +2 -2
  95. package/dist/types/ui/jira-issues-modal/basic-filters/types.d.ts +1 -1
  96. package/dist/types/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
  97. package/dist/types/ui/jira-issues-modal/basic-filters/ui/index.d.ts +1 -1
  98. package/dist/types/ui/jira-issues-modal/basic-filters/utils/isClauseTooComplex.d.ts +1 -1
  99. package/dist/types/ui/jira-issues-modal/basic-filters/utils/transformers.d.ts +2 -2
  100. package/dist/types/ui/jira-issues-modal/index.d.ts +1 -1
  101. package/dist/types/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +1 -1
  102. package/dist/types/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
  103. package/dist/types/ui/jira-issues-modal/types.d.ts +3 -3
  104. package/dist/types-ts4.5/analytics/generated/create-event-payload.d.ts +1 -1
  105. package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +1 -1
  106. package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +1 -1
  107. package/dist/types-ts4.5/common/types.d.ts +1 -1
  108. package/dist/types-ts4.5/common/utils/locale/fetch-messages-for-locale.d.ts +1 -1
  109. package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +2 -2
  110. package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +1 -1
  111. package/dist/types-ts4.5/services/cmdbService.d.ts +3 -3
  112. package/dist/types-ts4.5/services/makeGetJqlAutocompleteData.d.ts +1 -1
  113. package/dist/types-ts4.5/services/makeGetJqlSuggestionsData.d.ts +1 -1
  114. package/dist/types-ts4.5/services/mocks.d.ts +2 -2
  115. package/dist/types-ts4.5/services/useBasicFilterAGG.d.ts +2 -2
  116. package/dist/types-ts4.5/ui/assets-modal/index.d.ts +1 -1
  117. package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
  118. package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +1 -1
  119. package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/utils.d.ts +1 -1
  120. package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +1 -1
  121. package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +1 -1
  122. package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +1 -1
  123. package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +1 -1
  124. package/dist/types-ts4.5/ui/common/modal/cancel-button/index.d.ts +1 -1
  125. package/dist/types-ts4.5/ui/common/modal/content-container/index.d.ts +1 -1
  126. package/dist/types-ts4.5/ui/common/modal/count-view-smart-link/index.d.ts +1 -1
  127. package/dist/types-ts4.5/ui/common/modal/popup-select/control.d.ts +2 -2
  128. package/dist/types-ts4.5/ui/common/modal/popup-select/dropdownIndicator.d.ts +2 -2
  129. package/dist/types-ts4.5/ui/common/modal/popup-select/formatOptionLabel.d.ts +1 -1
  130. package/dist/types-ts4.5/ui/common/modal/popup-select/index.d.ts +3 -3
  131. package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/index.d.ts +2 -2
  132. package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
  133. package/dist/types-ts4.5/ui/common/modal/popup-select/trigger.d.ts +1 -1
  134. package/dist/types-ts4.5/ui/common/modal/popup-select/types.d.ts +1 -1
  135. package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +1 -1
  136. package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
  137. package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
  138. package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +2 -2
  139. package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/types.d.ts +1 -1
  140. package/dist/types-ts4.5/ui/confluence-search-modal/index.d.ts +1 -1
  141. package/dist/types-ts4.5/ui/datasource-table-view/index.d.ts +1 -1
  142. package/dist/types-ts4.5/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +1 -1
  143. package/dist/types-ts4.5/ui/issue-like-table/column-picker/index.d.ts +1 -1
  144. package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +1 -1
  145. package/dist/types-ts4.5/ui/issue-like-table/custom-icons.d.ts +1 -1
  146. package/dist/types-ts4.5/ui/issue-like-table/empty-state/priority.d.ts +1 -1
  147. package/dist/types-ts4.5/ui/issue-like-table/empty-state/type.d.ts +1 -1
  148. package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/index.d.ts +1 -1
  149. package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +2 -2
  150. package/dist/types-ts4.5/ui/issue-like-table/render-type/icon/index.d.ts +1 -1
  151. package/dist/types-ts4.5/ui/issue-like-table/render-type/link/index.d.ts +1 -1
  152. package/dist/types-ts4.5/ui/issue-like-table/render-type/status/index.d.ts +1 -1
  153. package/dist/types-ts4.5/ui/issue-like-table/render-type/tag/index.d.ts +1 -1
  154. package/dist/types-ts4.5/ui/issue-like-table/render-type/text/index.d.ts +1 -1
  155. package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +2 -2
  156. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +3 -3
  157. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +2 -2
  158. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/types.d.ts +1 -1
  159. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
  160. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/index.d.ts +1 -1
  161. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/isClauseTooComplex.d.ts +1 -1
  162. package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/transformers.d.ts +2 -2
  163. package/dist/types-ts4.5/ui/jira-issues-modal/index.d.ts +1 -1
  164. package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +1 -1
  165. package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
  166. package/dist/types-ts4.5/ui/jira-issues-modal/types.d.ts +3 -3
  167. package/examples-helpers/buildAssetsIssuesTable.tsx +2 -2
  168. package/examples-helpers/buildConfluenceSearchTable.tsx +2 -2
  169. package/examples-helpers/buildIssueLikeTable.tsx +2 -1
  170. package/examples-helpers/buildJiraIssuesTable.tsx +2 -2
  171. package/examples-helpers/mockJqlSmartLinkData.ts +1 -1
  172. package/examples-helpers/mockSmartLinkData.ts +1 -1
  173. package/examples-helpers/smartLinkCustomClient.ts +1 -1
  174. package/examples-helpers/useAssetsTableProps.tsx +2 -2
  175. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { Site } from '../../../../common/types';
3
- import { SelectOption } from '../../../common/modal/popup-select/types';
3
+ import { type SelectOption } from '../../../common/modal/popup-select/types';
4
4
  import type { BasicFilterFieldType, SelectedOptionsMap } from '../types';
5
5
  export declare const availableBasicFilterTypes: BasicFilterFieldType[];
6
6
  export interface BasicFilterContainerProps {
@@ -1,3 +1,3 @@
1
- import { Clause } from '@atlaskit/jql-ast';
1
+ import { type Clause } from '@atlaskit/jql-ast';
2
2
  export declare const removeFuzzyCharacter: (value?: string) => string | undefined;
3
3
  export declare const isClauseTooComplex: (clauses: Clause[], key: string) => boolean;
@@ -1,5 +1,5 @@
1
- import { SelectOption } from '../../../common/modal/popup-select/types';
2
- import { FieldValuesResponse, HydrateResponse, SelectedOptionsMap } from '../types';
1
+ import { type SelectOption } from '../../../common/modal/popup-select/types';
2
+ import { type FieldValuesResponse, type HydrateResponse, type SelectedOptionsMap } from '../types';
3
3
  export declare function mapHydrateResponseData({ data }: HydrateResponse): SelectedOptionsMap;
4
4
  export declare function mapFieldValuesToFilterOptions({ data, siteUrl, }: FieldValuesResponse & {
5
5
  siteUrl?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { JiraConfigModalProps } from './types';
2
+ import { type JiraConfigModalProps } from './types';
3
3
  export declare const JIRA_LIST_OF_LINKS_DATASOURCE_ID = "d8b75300-dfda-4519-b6cd-e49abbd50401";
4
4
  declare const JiraIssuesConfigModalWithWrappers: (props: JiraConfigModalProps) => JSX.Element;
5
5
  export default JiraIssuesConfigModalWithWrappers;
@@ -1,4 +1,4 @@
1
- import { SelectedOptionsMap } from '../basic-filters/types';
1
+ import { type SelectedOptionsMap } from '../basic-filters/types';
2
2
  type BuildJQLInput = {
3
3
  rawSearch: string;
4
4
  orderDirection?: string;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  import type { JiraSearchMethod, Site } from '../../../common/types';
3
- import { SelectedOptionsMap } from '../basic-filters/types';
4
- import { JiraIssueDatasourceParameters, JiraIssueDatasourceParametersQuery } from '../types';
3
+ import { type SelectedOptionsMap } from '../basic-filters/types';
4
+ import { type JiraIssueDatasourceParameters, type JiraIssueDatasourceParametersQuery } from '../types';
5
5
  export declare const DEFAULT_JQL_QUERY = "ORDER BY created DESC";
6
6
  export declare const ALLOWED_ORDER_BY_KEYS: string[];
7
7
  export interface SearchContainerProps {
@@ -1,6 +1,6 @@
1
- import { DatasourceAdf, InlineCardAdf } from '@atlaskit/linking-common/types';
2
- import { DatasourceParameters } from '@atlaskit/linking-types';
3
- import { ConfigModalProps } from '../../common/types';
1
+ import { type DatasourceAdf, type InlineCardAdf } from '@atlaskit/linking-common/types';
2
+ import { type DatasourceParameters } from '@atlaskit/linking-types';
3
+ import { type ConfigModalProps } from '../../common/types';
4
4
  type XOR<T1, T2> = (T1 & {
5
5
  [k in Exclude<keyof T2, keyof T1>]?: never;
6
6
  }) | (T2 & {
@@ -6,7 +6,7 @@
6
6
  * @codegen <<SignedSource::819168596ba17484cadda969f8ecf82d>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
- import { AnalyticsEventAttributes, EventKey } from './analytics.types';
9
+ import { type AnalyticsEventAttributes, type EventKey } from './analytics.types';
10
10
  type OptionalIfUndefined<T> = undefined extends T ? [
11
11
  param?: T
12
12
  ] : [
@@ -1,2 +1,2 @@
1
- import { DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
2
2
  export declare const useColumnPickerRenderedFailedUfoExperience: (status: DatasourceTableStatusType, experienceId: string) => void;
@@ -1,4 +1,4 @@
1
- import { DatasourceTableStatusType } from '@atlaskit/linking-types';
1
+ import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
2
2
  interface DataRenderedUfoExperienceProps {
3
3
  status: DatasourceTableStatusType;
4
4
  experienceId: string;
@@ -1,5 +1,5 @@
1
1
  import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
2
- import { IssueLikeDataTableViewProps } from '../ui/issue-like-table/types';
2
+ import { type IssueLikeDataTableViewProps } from '../ui/issue-like-table/types';
3
3
  export type JiraSearchMethod = 'basic' | 'jql';
4
4
  export interface Site {
5
5
  cloudId: string;
@@ -1,2 +1,2 @@
1
- import { I18NMessages } from '@atlaskit/intl-messages-provider';
1
+ import { type I18NMessages } from '@atlaskit/intl-messages-provider';
2
2
  export declare const fetchMessagesForLocale: (locale: string) => Promise<I18NMessages | undefined>;
@@ -1,5 +1,5 @@
1
- import { ObjectSchema } from '../types/assets/types';
2
- import { AssetsDatasourceParameters } from '../ui/assets-modal/types';
1
+ import { type ObjectSchema } from '../types/assets/types';
2
+ import { type AssetsDatasourceParameters } from '../ui/assets-modal/types';
3
3
  export type UseAssetsClientState = {
4
4
  workspaceId: string | undefined;
5
5
  workspaceError: Error | undefined;
@@ -1,4 +1,4 @@
1
- import { ObjectSchema } from '../types/assets/types';
1
+ import { type ObjectSchema } from '../types/assets/types';
2
2
  export type FetchObjectSchemasDetails = Pick<UseObjectSchemasState, 'objectSchemas' | 'totalObjectSchemas'>;
3
3
  export type UseObjectSchemasState = {
4
4
  objectSchemasLoading: boolean;
@@ -1,6 +1,6 @@
1
- import { EventKey } from '../analytics/generated/analytics.types';
2
- import createEventPayload from '../analytics/generated/create-event-payload';
3
- import { AqlValidateResponse, FetchObjectSchemasResponse } from '../types/assets/types';
1
+ import { type EventKey } from '../analytics/generated/analytics.types';
2
+ import type createEventPayload from '../analytics/generated/create-event-payload';
3
+ import { type AqlValidateResponse, type FetchObjectSchemasResponse } from '../types/assets/types';
4
4
  type AnalyticsFireEvent = <K extends EventKey>(...params: Parameters<typeof createEventPayload<K>>) => void;
5
5
  export declare const getWorkspaceId: (fireEvent?: AnalyticsFireEvent) => Promise<string>;
6
6
  export declare const validateAql: (workspaceId: string, data: {
@@ -1,4 +1,4 @@
1
- import { GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest';
1
+ import { type GetAutocompleteInitialData } from '@atlaskit/jql-editor-autocomplete-rest';
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 { GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest';
1
+ import { type GetAutocompleteSuggestions } from '@atlaskit/jql-editor-autocomplete-rest';
2
2
  export type AutocompleteSuggestionsResponse = {
3
3
  results: Awaited<ReturnType<GetAutocompleteSuggestions>>['results'];
4
4
  };
@@ -1,5 +1,5 @@
1
- import { SelectOption } from '../ui/common/modal/popup-select/types';
2
- import { FieldValuesResponse, HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
1
+ import { type SelectOption } from '../ui/common/modal/popup-select/types';
2
+ import { type FieldValuesResponse, type HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
3
3
  export declare const mockHydrateJqlResponse: HydrateResponse;
4
4
  export declare const mockFieldValuesResponse: FieldValuesResponse;
5
5
  export declare const mockUserRecommendationsResponse: {
@@ -1,5 +1,5 @@
1
- import { UserHydrationAGGResponse, UserInfoAGGResponse } from '../ui/confluence-search-modal/basic-filters/types';
2
- import { BasicFilterFieldType, FieldValuesResponse, HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
1
+ import { type UserHydrationAGGResponse, type UserInfoAGGResponse } from '../ui/confluence-search-modal/basic-filters/types';
2
+ import { type BasicFilterFieldType, type FieldValuesResponse, type HydrateResponse } from '../ui/jira-issues-modal/basic-filters/types';
3
3
  interface GetFieldValuesProps {
4
4
  cloudId: string;
5
5
  jql: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AssetsConfigModalProps } from './types';
2
+ import { type AssetsConfigModalProps } from './types';
3
3
  export declare const ASSETS_LIST_OF_LINKS_DATASOURCE_ID = "361d618a-3c04-40ad-9b27-3c8ea6927020";
4
4
  declare const AssetsConfigModalWithWrappers: (props: AssetsConfigModalProps) => JSX.Element;
5
5
  export default AssetsConfigModalWithWrappers;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType } from '@atlaskit/linking-types';
2
+ import { type DatasourceDataResponseItem, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
3
3
  export interface RenderAssetsContentProps {
4
4
  isFetchingInitialData: boolean;
5
5
  status: DatasourceTableStatusType;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { ObjectSchema } from '../../../../types/assets/types';
3
+ import { type ObjectSchema } from '../../../../types/assets/types';
4
4
  type AssetsObjectSchemaSelectProps = {
5
5
  value: ObjectSchema | undefined;
6
6
  workspaceId: string;
@@ -1,2 +1,2 @@
1
- import { ObjectSchema, ObjectSchemaOption } from '../../../../types/assets/types';
1
+ import { type ObjectSchema, type ObjectSchemaOption } from '../../../../types/assets/types';
2
2
  export declare const objectSchemaToSelectOption: (objectSchema: ObjectSchema) => ObjectSchemaOption;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { MessageDescriptor } from 'react-intl-next';
3
+ import { type MessageDescriptor } from 'react-intl-next';
4
4
  interface NoInstanceViewProps {
5
5
  title: MessageDescriptor;
6
6
  description: MessageDescriptor;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { DatasourceMeta } from '@atlaskit/linking-types';
2
+ import { type DatasourceMeta } from '@atlaskit/linking-types';
3
3
  interface ProviderAuthRequiredProps {
4
4
  auth: DatasourceMeta['auth'];
5
5
  onAuthSuccess: () => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /** @jsx jsx */
3
3
  import { jsx } from '@emotion/react';
4
- import { MessageDescriptor } from 'react-intl-next';
4
+ import { type MessageDescriptor } from 'react-intl-next';
5
5
  interface InitialStateViewProps {
6
6
  icon: JSX.Element;
7
7
  showBeta?: boolean;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  /** @jsx jsx */
3
3
  import { jsx } from '@emotion/react';
4
- import { MessageDescriptor } from 'react-intl-next';
4
+ import { type MessageDescriptor } from 'react-intl-next';
5
5
  export interface BasicSearchInputProps {
6
6
  isDisabled?: boolean;
7
7
  isSearching?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ButtonClickedCancelAttributesType } from '../../../../analytics/generated/analytics.types';
2
+ import { type ButtonClickedCancelAttributesType } from '../../../../analytics/generated/analytics.types';
3
3
  export interface CancelButtonProps {
4
4
  getAnalyticsPayload: () => ButtonClickedCancelAttributesType;
5
5
  onCancel: () => void;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  export interface ContentContainerProps {
5
5
  children: ReactNode;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { MessageDescriptor } from 'react-intl-next';
3
+ import { type MessageDescriptor } from 'react-intl-next';
4
4
  export declare const SmartCardPlaceholder: ({ placeholderText, }: {
5
5
  placeholderText: MessageDescriptor;
6
6
  }) => jsx.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ControlProps } from '@atlaskit/select';
3
- import { SelectOption } from './types';
2
+ import { type ControlProps } from '@atlaskit/select';
3
+ import { type SelectOption } from './types';
4
4
  export declare const CustomControl: ({ children, ...innerProps }: ControlProps<SelectOption, true>) => JSX.Element;
5
5
  export default CustomControl;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { DropdownIndicatorProps } from '@atlaskit/select';
3
- import { SelectOption } from './types';
2
+ import { type DropdownIndicatorProps } from '@atlaskit/select';
3
+ import { type SelectOption } from './types';
4
4
  declare const CustomDropdownIndicator: (props: DropdownIndicatorProps<SelectOption, true>) => JSX.Element;
5
5
  export default CustomDropdownIndicator;
@@ -1,3 +1,3 @@
1
- import { FormatOptionLabel } from './types';
1
+ import { type FormatOptionLabel } from './types';
2
2
  declare const formatOptionLabel: FormatOptionLabel;
3
3
  export default formatOptionLabel;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { InputActionMeta, ValueType } from '@atlaskit/select';
3
- import { CustomMenuListProps } from './menu-list';
4
- import { SelectOption } from './types';
2
+ import { type InputActionMeta, type ValueType } from '@atlaskit/select';
3
+ import { type CustomMenuListProps } from './menu-list';
4
+ import { type SelectOption } from './types';
5
5
  export interface FilterPopupSelectProps {
6
6
  buttonLabel: string;
7
7
  totalCount?: number;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { MenuListComponentProps } from '@atlaskit/select';
3
- import { SelectOption } from '../types';
2
+ import { type MenuListComponentProps } from '@atlaskit/select';
3
+ import { type SelectOption } from '../types';
4
4
  export type CustomMenuListProps = {
5
5
  isError?: boolean;
6
6
  isLoading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { MessageDescriptor } from 'react-intl-next';
2
+ import { type MessageDescriptor } from 'react-intl-next';
3
3
  interface CustomSelectMessageProps {
4
4
  icon: React.ReactNode;
5
5
  message: MessageDescriptor;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SelectOption } from './types';
2
+ import { type SelectOption } from './types';
3
3
  export interface PopupTriggerProps {
4
4
  label: string;
5
5
  testId?: string;
@@ -1,4 +1,4 @@
1
- import { ReactElement } from 'react';
1
+ import { type ReactElement } from 'react';
2
2
  export interface OptionBase {
3
3
  label: string;
4
4
  value: string;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { MessageDescriptor } from 'react-intl-next';
2
+ import { type MessageDescriptor } from 'react-intl-next';
3
3
  import type { Site } from '../../../../common/types';
4
4
  export interface SiteSelectorProps {
5
5
  availableSites: Site[] | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SelectOption } from '../../../../common/modal/popup-select/types';
2
+ import { type SelectOption } from '../../../../common/modal/popup-select/types';
3
3
  import { CLOLBasicFilters } from '../../types';
4
4
  interface EditedOrCreatedByFilterProps {
5
5
  cloudId?: string;
@@ -1,4 +1,4 @@
1
- import { UserInfo } from '../types';
1
+ import { type UserInfo } from '../types';
2
2
  interface useUserInfoState {
3
3
  user?: UserInfo;
4
4
  getCurrentUserInfo: () => Promise<void>;
@@ -1,5 +1,5 @@
1
- import { FilterPopupSelectProps } from '../../../common/modal/popup-select';
2
- import { SelectOption } from '../../../common/modal/popup-select/types';
1
+ import { type FilterPopupSelectProps } from '../../../common/modal/popup-select';
2
+ import { type SelectOption } from '../../../common/modal/popup-select/types';
3
3
  interface FetchFilterOptionsProps {
4
4
  cloudId: string;
5
5
  userId: string;
@@ -1,4 +1,4 @@
1
- import { SelectOption } from '../../common/modal/popup-select/types';
1
+ import { type SelectOption } from '../../common/modal/popup-select/types';
2
2
  export interface UserInfo {
3
3
  accountId: string;
4
4
  id: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ConfluenceSearchConfigModalProps } from './types';
2
+ import { type ConfluenceSearchConfigModalProps } from './types';
3
3
  export declare const CONFLUENCE_SEARCH_DATASOURCE_ID = "768fc736-3af4-4a8f-b27e-203602bff8ca";
4
4
  declare const ConfluenceSearchConfigModalWithWrappers: (props: ConfluenceSearchConfigModalProps) => JSX.Element;
5
5
  export default ConfluenceSearchConfigModalWithWrappers;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { DatasourceTableViewProps } from './types';
2
+ import { type DatasourceTableViewProps } from './types';
3
3
  declare const DatasourceTableViewWithWrappers: (props: DatasourceTableViewProps) => JSX.Element;
4
4
  export default DatasourceTableViewWithWrappers;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
- import { MenuListComponentProps, OptionType } from '@atlaskit/select';
3
+ import { type MenuListComponentProps, type OptionType } from '@atlaskit/select';
4
4
  export declare const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
5
5
  export declare const ConcatenatedMenuList: ({ children, ...props }: MenuListComponentProps<OptionType, true>) => jsx.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ColumnPickerProps } from './types';
2
+ import { type ColumnPickerProps } from './types';
3
3
  export declare const ColumnPicker: ({ columns, selectedColumnKeys, onSelectedColumnKeysChange, onOpen, parentContainerRenderInstanceId, }: ColumnPickerProps) => jsx.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { DatasourceResponseSchemaProperty } from '@atlaskit/linking-types';
1
+ import { type DatasourceResponseSchemaProperty } from '@atlaskit/linking-types';
2
2
  export type ColumnPickerProps = {
3
3
  columns: DatasourceResponseSchemaProperty[];
4
4
  selectedColumnKeys: string[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from '@atlaskit/icon';
2
+ import { type IconProps } from '@atlaskit/icon';
3
3
  export declare const GlyphPlaceholder: (props: IconProps) => JSX.Element;
4
4
  export declare const WrapTextIcon: () => JSX.Element;
5
5
  export declare const UnwrapTextIcon: () => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IssuePriority } from './types';
2
+ import { type IssuePriority } from './types';
3
3
  declare const _default: ({ priority }: {
4
4
  priority: IssuePriority;
5
5
  }) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { IssueType } from './types';
2
+ import { type IssueType } from './types';
3
3
  declare const _default: ({ type }: {
4
4
  type: IssueType;
5
5
  }) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BooleanType } from '@atlaskit/linking-types';
2
+ import { type BooleanType } from '@atlaskit/linking-types';
3
3
  interface BooleanProps {
4
4
  testId?: string;
5
5
  value: BooleanType['value'];
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { IntlShape } from 'react-intl-next';
3
- import { DateTimeType, DateType, TimeType } from '@atlaskit/linking-types';
2
+ import { type IntlShape } from 'react-intl-next';
3
+ import { type DateTimeType, type DateType, type TimeType } from '@atlaskit/linking-types';
4
4
  export interface DateProps {
5
5
  testId?: string;
6
6
  value: (DateType | TimeType | DateTimeType)['value'];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Icon } from '@atlaskit/linking-types';
2
+ import { type Icon } from '@atlaskit/linking-types';
3
3
  interface IconProps extends Icon {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Link } from '@atlaskit/linking-types';
2
+ import { type Link } from '@atlaskit/linking-types';
3
3
  interface LinkProps extends Link {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Status } from '@atlaskit/linking-types';
2
+ import { type Status } from '@atlaskit/linking-types';
3
3
  interface StatusProps extends Status {
4
4
  testId?: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TagType } from '@atlaskit/linking-types';
2
+ import { type TagType } from '@atlaskit/linking-types';
3
3
  interface TagProps {
4
4
  tag: TagType['value'];
5
5
  testId?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { StringType } from '@atlaskit/linking-types';
2
+ import { type StringType } from '@atlaskit/linking-types';
3
3
  interface TextProps {
4
4
  testId?: string;
5
5
  text: StringType['value'];
@@ -1,8 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { SizeType } from '@atlaskit/avatar';
5
- import { User } from '@atlaskit/linking-types';
4
+ import { type SizeType } from '@atlaskit/avatar';
5
+ import { type User } from '@atlaskit/linking-types';
6
6
  export interface UserProps extends User {
7
7
  children?: React.ReactElement;
8
8
  testId?: string;
@@ -1,7 +1,7 @@
1
- import { IntlShape } from 'react-intl-next';
1
+ import { type IntlShape } from 'react-intl-next';
2
2
  import type { Site } from '../../../../common/types';
3
- import { AvatarLabelOption, SelectOption } from '../../../common/modal/popup-select/types';
4
- import { BasicFilterFieldType } from '../types';
3
+ import { type AvatarLabelOption, type SelectOption } from '../../../common/modal/popup-select/types';
4
+ import { type BasicFilterFieldType } from '../types';
5
5
  interface FilterOptionsProps {
6
6
  filterType: BasicFilterFieldType;
7
7
  site?: Site;
@@ -1,5 +1,5 @@
1
- import { CommonBasicFilterHookState } from '../../../common/modal/popup-select/types';
2
- import { SelectedOptionsMap } from '../types';
1
+ import { type CommonBasicFilterHookState } from '../../../common/modal/popup-select/types';
2
+ import { type SelectedOptionsMap } from '../types';
3
3
  export interface HydrateJqlState extends CommonBasicFilterHookState {
4
4
  hydratedOptions: SelectedOptionsMap & {
5
5
  basicInputTextValue?: string;
@@ -1,4 +1,4 @@
1
- import { SelectOption } from '../../common/modal/popup-select/types';
1
+ import { type SelectOption } from '../../common/modal/popup-select/types';
2
2
  export type BasicFilterFieldType = 'project' | 'assignee' | 'type' | 'status';
3
3
  export type SelectedOptionsMap = {
4
4
  [key in BasicFilterFieldType]?: SelectOption[];
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Site } from '../../../../../common/types';
3
- import { SelectOption } from '../../../../common/modal/popup-select/types';
4
- import { BasicFilterFieldType } from '../../types';
3
+ import { type SelectOption } from '../../../../common/modal/popup-select/types';
4
+ import { type BasicFilterFieldType } from '../../types';
5
5
  export interface AsyncPopupSelectProps {
6
6
  filterType: BasicFilterFieldType;
7
7
  selection: SelectOption[];
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { Site } from '../../../../common/types';
3
- import { SelectOption } from '../../../common/modal/popup-select/types';
3
+ import { type SelectOption } from '../../../common/modal/popup-select/types';
4
4
  import type { BasicFilterFieldType, SelectedOptionsMap } from '../types';
5
5
  export declare const availableBasicFilterTypes: BasicFilterFieldType[];
6
6
  export interface BasicFilterContainerProps {
@@ -1,3 +1,3 @@
1
- import { Clause } from '@atlaskit/jql-ast';
1
+ import { type Clause } from '@atlaskit/jql-ast';
2
2
  export declare const removeFuzzyCharacter: (value?: string) => string | undefined;
3
3
  export declare const isClauseTooComplex: (clauses: Clause[], key: string) => boolean;
@@ -1,5 +1,5 @@
1
- import { SelectOption } from '../../../common/modal/popup-select/types';
2
- import { FieldValuesResponse, HydrateResponse, SelectedOptionsMap } from '../types';
1
+ import { type SelectOption } from '../../../common/modal/popup-select/types';
2
+ import { type FieldValuesResponse, type HydrateResponse, type SelectedOptionsMap } from '../types';
3
3
  export declare function mapHydrateResponseData({ data }: HydrateResponse): SelectedOptionsMap;
4
4
  export declare function mapFieldValuesToFilterOptions({ data, siteUrl, }: FieldValuesResponse & {
5
5
  siteUrl?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { JiraConfigModalProps } from './types';
2
+ import { type JiraConfigModalProps } from './types';
3
3
  export declare const JIRA_LIST_OF_LINKS_DATASOURCE_ID = "d8b75300-dfda-4519-b6cd-e49abbd50401";
4
4
  declare const JiraIssuesConfigModalWithWrappers: (props: JiraConfigModalProps) => JSX.Element;
5
5
  export default JiraIssuesConfigModalWithWrappers;
@@ -1,4 +1,4 @@
1
- import { SelectedOptionsMap } from '../basic-filters/types';
1
+ import { type SelectedOptionsMap } from '../basic-filters/types';
2
2
  type BuildJQLInput = {
3
3
  rawSearch: string;
4
4
  orderDirection?: string;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from '@emotion/react';
2
2
  import type { JiraSearchMethod, Site } from '../../../common/types';
3
- import { SelectedOptionsMap } from '../basic-filters/types';
4
- import { JiraIssueDatasourceParameters, JiraIssueDatasourceParametersQuery } from '../types';
3
+ import { type SelectedOptionsMap } from '../basic-filters/types';
4
+ import { type JiraIssueDatasourceParameters, type JiraIssueDatasourceParametersQuery } from '../types';
5
5
  export declare const DEFAULT_JQL_QUERY = "ORDER BY created DESC";
6
6
  export declare const ALLOWED_ORDER_BY_KEYS: string[];
7
7
  export interface SearchContainerProps {