@atlaskit/link-datasource 6.5.0 → 6.6.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.
- package/CHANGELOG.md +26 -0
- package/dist/cjs/analytics/generated/use-analytics-events.js +2 -2
- package/dist/cjs/analytics/ufoExperiences/index.js +11 -10
- package/dist/cjs/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +2 -2
- package/dist/cjs/hooks/useAssetsClient.js +2 -2
- package/dist/cjs/hooks/useDatasourceTableFlag.js +2 -2
- package/dist/cjs/hooks/useLoadOptions.js +2 -2
- package/dist/cjs/services/getAvailableSites.js +2 -2
- package/dist/cjs/ui/assets-modal/modal/index.js +11 -7
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +13 -11
- package/dist/cjs/ui/assets-modal/search-container/index.js +3 -3
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +6 -6
- package/dist/cjs/ui/common/error-state/access-required.js +1 -1
- package/dist/cjs/ui/common/error-state/loading-error.js +1 -1
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +2 -2
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +9 -8
- package/dist/cjs/ui/common/initial-state-view/index.js +2 -2
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +6 -6
- package/dist/cjs/ui/common/modal/datasource-modal/createDatasourceModal.js +2 -2
- package/dist/cjs/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +9 -9
- package/dist/cjs/ui/common/modal/mode-switcher/index.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/control.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.js +4 -4
- package/dist/cjs/ui/common/modal/popup-select/dropdownIndicator.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/index.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/menu-list/index.js +3 -3
- package/dist/cjs/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/menu-list/showMoreButton.js +2 -2
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +4 -4
- package/dist/cjs/ui/common/modal/search-count/index.js +2 -2
- package/dist/cjs/ui/common/modal/site-selector/index.js +5 -5
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +2 -2
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +2 -2
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +13 -9
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +8 -8
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +5 -4
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +8 -7
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +19 -17
- package/dist/cjs/ui/issue-like-table/edit-type/icon/index.js +4 -4
- package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +5 -5
- package/dist/cjs/ui/issue-like-table/edit-type/text/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/edit-type/user/index.js +7 -6
- package/dist/cjs/ui/issue-like-table/index.js +17 -17
- package/dist/cjs/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/tag/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +4 -4
- package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.js +3 -3
- package/dist/cjs/ui/issue-like-table/table-cell-content/index.js +13 -20
- package/dist/cjs/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jql-editor/index.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +15 -10
- package/dist/cjs/ui/table-footer/index.js +2 -2
- package/dist/es2019/analytics/generated/use-analytics-events.js +1 -1
- package/dist/es2019/analytics/ufoExperiences/index.js +2 -1
- package/dist/es2019/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
- package/dist/es2019/hooks/useAssetsClient.js +1 -1
- package/dist/es2019/hooks/useDatasourceTableFlag.js +1 -1
- package/dist/es2019/hooks/useLoadOptions.js +1 -1
- package/dist/es2019/services/getAvailableSites.js +1 -1
- package/dist/es2019/ui/assets-modal/modal/index.js +6 -2
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
- package/dist/es2019/ui/assets-modal/search-container/index.js +2 -2
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
- package/dist/es2019/ui/common/error-state/access-required.js +1 -1
- package/dist/es2019/ui/common/error-state/loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +5 -4
- package/dist/es2019/ui/common/initial-state-view/index.js +2 -2
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +3 -3
- package/dist/es2019/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
- package/dist/es2019/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
- package/dist/es2019/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/control.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/index.js +2 -2
- package/dist/es2019/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +3 -3
- package/dist/es2019/ui/common/modal/search-count/index.js +1 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +3 -3
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +7 -3
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +4 -3
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +11 -9
- package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/user/index.js +4 -3
- package/dist/es2019/ui/issue-like-table/index.js +7 -7
- package/dist/es2019/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/tag/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/table-cell-content/index.js +12 -19
- package/dist/es2019/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/jql-editor/index.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +8 -3
- package/dist/es2019/ui/table-footer/index.js +1 -1
- package/dist/esm/analytics/generated/use-analytics-events.js +1 -1
- package/dist/esm/analytics/ufoExperiences/index.js +2 -1
- package/dist/esm/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.js +1 -1
- package/dist/esm/hooks/useAssetsClient.js +1 -1
- package/dist/esm/hooks/useDatasourceTableFlag.js +1 -1
- package/dist/esm/hooks/useLoadOptions.js +1 -1
- package/dist/esm/services/getAvailableSites.js +1 -1
- package/dist/esm/ui/assets-modal/modal/index.js +6 -2
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -1
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +8 -6
- package/dist/esm/ui/assets-modal/search-container/index.js +2 -2
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +3 -3
- package/dist/esm/ui/common/error-state/access-required.js +1 -1
- package/dist/esm/ui/common/error-state/loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -1
- package/dist/esm/ui/common/error-state/provider-auth-required.js +5 -4
- package/dist/esm/ui/common/initial-state-view/index.js +2 -2
- package/dist/esm/ui/common/modal/basic-search-input/index.js +3 -3
- package/dist/esm/ui/common/modal/datasource-modal/createDatasourceModal.js +1 -1
- package/dist/esm/ui/common/modal/datasource-modal/index.js +1 -1
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +5 -3
- package/dist/esm/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/control.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/dropdownIndicator.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/index.js +2 -2
- package/dist/esm/ui/common/modal/popup-select/menu-list/loadingMessage.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/selectMessage.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/menu-list/showMoreButton.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/trigger.js +3 -3
- package/dist/esm/ui/common/modal/search-count/index.js +1 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +3 -3
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +1 -1
- package/dist/esm/ui/confluence-search-modal/modal/index.js +7 -3
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +2 -2
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -1
- package/dist/esm/ui/issue-like-table/column-picker/index.js +4 -3
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +11 -9
- package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +2 -2
- package/dist/esm/ui/issue-like-table/edit-type/status/index.js +3 -3
- package/dist/esm/ui/issue-like-table/edit-type/text/index.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/user/index.js +4 -3
- package/dist/esm/ui/issue-like-table/index.js +7 -7
- package/dist/esm/ui/issue-like-table/render-type/status/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/tag/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +3 -3
- package/dist/esm/ui/issue-like-table/shared-components/avatar/index.js +2 -2
- package/dist/esm/ui/issue-like-table/table-cell-content/index.js +12 -19
- package/dist/esm/ui/issue-like-table/table-cell-content/inline-edit.js +1 -1
- package/dist/esm/ui/jira-issues-modal/jql-editor/index.js +1 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.js +8 -3
- package/dist/esm/ui/table-footer/index.js +1 -1
- package/dist/types/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +1 -1
- package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +1 -1
- package/dist/types/common/types.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableState.d.ts +1 -1
- package/dist/types/hooks/useLoadOptions.d.ts +3 -3
- package/dist/types/services/makeGetJqlAutocompleteData.d.ts +1 -1
- package/dist/types/services/makeGetJqlSuggestionsData.d.ts +1 -1
- package/dist/types/state/actions/index.d.ts +3 -3
- package/dist/types/state/index.d.ts +3 -3
- package/dist/types/ui/assets-modal/modal/index.d.ts +1 -1
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/dist/types/ui/assets-modal/types.d.ts +1 -1
- package/dist/types/ui/common/error-state/provider-auth-required.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-context/index.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +1 -1
- package/dist/types/ui/common/modal/datasource-modal/index.d.ts +1 -1
- package/dist/types/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/control.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/custom-checkbox-option.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/dropdownIndicator.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/index.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/types.d.ts +1 -1
- package/dist/types/ui/datasource-table-view/datasource-column-sort.d.ts +1 -1
- package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types/ui/datasource-table-view/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +1 -1
- package/dist/types/ui/issue-like-table/column-picker/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/custom-icons.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/text/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/boolean/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-range/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/link/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/richtext/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/tag/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/text/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types/ui/issue-like-table/types.d.ts +1 -1
- package/dist/types/ui/issue-like-table/utils.d.ts +7 -7
- package/dist/types/ui/jira-issues-modal/types.d.ts +1 -1
- package/examples-helpers/buildAssetsIssuesTable.tsx +1 -1
- package/examples-helpers/buildConfluenceSearchTable.tsx +1 -1
- package/examples-helpers/mockJqlSmartLinkData.ts +1 -1
- package/examples-helpers/mockSmartLinkData.ts +1 -1
- package/examples-helpers/smartLinkCustomClient.ts +1 -1
- package/package.json +41 -41
|
@@ -5,10 +5,10 @@ import { forwardRef } from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
|
-
import Avatar from '@atlaskit/avatar';
|
|
9
|
-
import AvatarGroup from '@atlaskit/avatar-group';
|
|
8
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
9
|
+
import AvatarGroup from '@atlaskit/avatar-group/avatar-group';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { WidthObserver } from '@atlaskit/width-detector';
|
|
11
|
+
import { WidthObserver } from '@atlaskit/width-detector/width-observer';
|
|
12
12
|
import { userTypeMessages } from './messages';
|
|
13
13
|
const styles = {
|
|
14
14
|
userWrapperStyles: "_11c8fhey _1e0c1txw _4cvr1h6o",
|
|
@@ -3,9 +3,9 @@ import "./index.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
6
|
-
import Avatar from '@atlaskit/avatar';
|
|
6
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
9
|
import { USER_TYPE_TEST_ID } from '../../render-type/user';
|
|
10
10
|
import { userTypeMessages } from '../../render-type/user/messages';
|
|
11
11
|
const styles = {
|
|
@@ -6,7 +6,7 @@ import { useIntl } from 'react-intl';
|
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
9
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import { useDatasourceCrossProductAttribution } from '../../../analytics/xpc/useDatasourceCrossProductAttribution';
|
|
11
11
|
import { useDatasourceItem } from '../../../state';
|
|
12
12
|
import { useExecuteAtomicAction } from '../../../state/actions';
|
|
@@ -114,25 +114,18 @@ export const ReadOnlyCell = ({
|
|
|
114
114
|
type: columnType,
|
|
115
115
|
values
|
|
116
116
|
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
const issueLinkData = getIssueLinkData(rowData);
|
|
120
|
-
return /*#__PURE__*/React.createElement(TooltipWrapper, {
|
|
121
|
-
columnKey: columnKey,
|
|
122
|
-
datasourceTypeWithValues: datasourceTypeWithValues,
|
|
123
|
-
wrappedColumnKeys: wrappedColumnKeys
|
|
124
|
-
}, isIssueTypeColumn && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
125
|
-
issueLinkData: issueLinkData
|
|
126
|
-
}, renderItem(datasourceTypeWithValues)) : getLinkedCellContent({
|
|
127
|
-
children: renderItem(datasourceTypeWithValues),
|
|
128
|
-
issueLinkData
|
|
129
|
-
}) : renderItem(datasourceTypeWithValues));
|
|
130
|
-
}
|
|
117
|
+
const isIssueTypeColumn = isIssueTypeColumnFn(columnKey);
|
|
118
|
+
const issueLinkData = getIssueLinkData(rowData);
|
|
131
119
|
return /*#__PURE__*/React.createElement(TooltipWrapper, {
|
|
132
120
|
columnKey: columnKey,
|
|
133
121
|
datasourceTypeWithValues: datasourceTypeWithValues,
|
|
134
122
|
wrappedColumnKeys: wrappedColumnKeys
|
|
135
|
-
},
|
|
123
|
+
}, isIssueTypeColumn && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
124
|
+
issueLinkData: issueLinkData
|
|
125
|
+
}, renderItem(datasourceTypeWithValues)) : getLinkedCellContent({
|
|
126
|
+
children: renderItem(datasourceTypeWithValues),
|
|
127
|
+
issueLinkData
|
|
128
|
+
}) : renderItem(datasourceTypeWithValues));
|
|
136
129
|
};
|
|
137
130
|
const InlineEditableCell = ({
|
|
138
131
|
ari,
|
|
@@ -171,12 +164,12 @@ const InlineEditableCell = ({
|
|
|
171
164
|
style: {
|
|
172
165
|
minHeight: 'calc(40px - 2px * 2)'
|
|
173
166
|
}
|
|
174
|
-
},
|
|
167
|
+
}, !isEditable && isIssueTypeColumnFn(columnKey) && issueLinkData ? fg('electric_issue_like_table_xpc_url_wrapping') ? /*#__PURE__*/React.createElement(LinkedCellContentWrapped, {
|
|
175
168
|
issueLinkData: issueLinkData
|
|
176
169
|
}, renderItem(values)) : getLinkedCellContent({
|
|
177
170
|
children: renderItem(values),
|
|
178
171
|
issueLinkData
|
|
179
|
-
}) : renderItem(values)
|
|
172
|
+
}) : renderItem(values)));
|
|
180
173
|
if (!isEditable) {
|
|
181
174
|
return readView;
|
|
182
175
|
}
|
|
@@ -234,7 +227,7 @@ export const TableCellContent = ({
|
|
|
234
227
|
columnTitle: columnTitle,
|
|
235
228
|
renderItem: renderItem,
|
|
236
229
|
integrationKey: integrationKey,
|
|
237
|
-
issueLinkData:
|
|
230
|
+
issueLinkData: getIssueLinkData(rowData),
|
|
238
231
|
values: toDatasourceTypeWithValues({
|
|
239
232
|
rowData,
|
|
240
233
|
columnKey,
|
|
@@ -4,7 +4,7 @@ import "./inline-edit.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { useCallback, useMemo, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import AKInlineEdit from '@atlaskit/inline-edit';
|
|
7
|
+
import AKInlineEdit from '@atlaskit/inline-edit/inline-edit';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import { useSmartLinkReload } from '@atlaskit/smart-card/hooks';
|
|
10
10
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useRef } from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { JQLEditor } from '@atlaskit/jql-editor';
|
|
4
|
-
import { useAutocompleteProvider } from '@atlaskit/jql-editor-autocomplete-rest';
|
|
4
|
+
import { useAutocompleteProvider } from '@atlaskit/jql-editor-autocomplete-rest/use-autocomplete-provider';
|
|
5
5
|
import { makeGetJqlAutocompleteData } from '../../../services/makeGetJqlAutocompleteData';
|
|
6
6
|
import { makeGetJqlSuggestionsData } from '../../../services/makeGetJqlSuggestionsData';
|
|
7
7
|
export const JiraJQLEditor = ({
|
|
@@ -5,10 +5,15 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
/* eslint-disable @atlaskit/platform/no-preconditioning */
|
|
6
6
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
8
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
8
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
9
9
|
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
10
|
-
import LinkComponent from '@atlaskit/link';
|
|
11
|
-
import { CloseButton
|
|
10
|
+
import LinkComponent from '@atlaskit/link/link';
|
|
11
|
+
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
12
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
13
|
+
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
14
|
+
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
15
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
16
|
+
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
12
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
18
|
import { Flex } from '@atlaskit/primitives/compiled';
|
|
14
19
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
8
|
-
import
|
|
8
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
9
9
|
import RefreshIcon from '@atlaskit/icon/core/refresh';
|
|
10
10
|
import { Box, Flex, Inline } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { ASSETS_LIST_OF_LINKS_DATASOURCE_ID } from '../assets-modal';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
|
|
8
8
|
*/
|
|
9
9
|
import { useCallback } from 'react';
|
|
10
|
-
import { useAnalyticsEvents as useAnalyticsNextEvents } from '@atlaskit/analytics-next';
|
|
10
|
+
import { useAnalyticsEvents as useAnalyticsNextEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
11
11
|
import { EVENT_CHANNEL } from '../constants';
|
|
12
12
|
import createEventPayload from './create-event-payload';
|
|
13
13
|
export var useAnalyticsEvents = function useAnalyticsEvents() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ConcurrentExperience
|
|
1
|
+
import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
|
|
2
|
+
import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
|
|
2
3
|
var datasourcePageSegmentLoadExperienceConfig = {
|
|
3
4
|
platform: {
|
|
4
5
|
component: 'datasource'
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
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; }
|
|
3
3
|
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) { _defineProperty(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; }
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
|
-
import
|
|
5
|
+
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
6
6
|
import { logToSentry } from '../../../hooks/useErrorLogger';
|
|
7
7
|
import { componentMetadata } from '../../constants';
|
|
8
8
|
import { useDatasourceAnalyticsEvents } from '../../index';
|
|
@@ -2,7 +2,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import { useEffect, useState } from 'react';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
6
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
7
7
|
import { fetchObjectSchema, fetchObjectSchemas, getWorkspaceId, resolvePrimaryWorkspace } from '../services/cmdbService';
|
|
8
8
|
import { getMeta } from '../services/getMeta';
|
|
@@ -5,7 +5,7 @@ import React, { useCallback } from 'react';
|
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
7
7
|
import uuid from 'uuid';
|
|
8
|
-
import { useFlags } from '@atlaskit/flag';
|
|
8
|
+
import { useFlags } from '@atlaskit/flag/use-flags';
|
|
9
9
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
10
10
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
11
11
|
import { issueLikeTableMessages } from '../ui/issue-like-table/messages';
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
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) { _defineProperty(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; }
|
|
7
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
import { useEffect, useReducer } from 'react';
|
|
9
|
-
import { ActionOperationStatus } from '@atlaskit/linking-types';
|
|
9
|
+
import { ActionOperationStatus } from '@atlaskit/linking-types/datasource-actions';
|
|
10
10
|
import { useDatasourceTableFlag } from './useDatasourceTableFlag';
|
|
11
11
|
var loadOptions = /*#__PURE__*/function () {
|
|
12
12
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import { mapAccessibleProductsToAvailableSites } from '@atlaskit/linking-common/hooks';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
export var getAccessibleProducts = /*#__PURE__*/function () {
|
|
6
6
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(product) {
|
|
7
7
|
var requestConfig, endpoint, response, res, _t, _t2, _t3;
|
|
@@ -9,10 +9,14 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
9
9
|
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) { _defineProperty(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; }
|
|
10
10
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
11
11
|
import { FormattedMessage } from 'react-intl';
|
|
12
|
-
import
|
|
12
|
+
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
13
13
|
import Button from '@atlaskit/button/standard-button';
|
|
14
14
|
import IntlMessagesProvider from '@atlaskit/intl-messages-provider/main';
|
|
15
|
-
import
|
|
15
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
16
|
+
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
17
|
+
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
18
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
19
|
+
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
16
20
|
import { EVENT_CHANNEL, useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
17
21
|
import { componentMetadata } from '../../../analytics/constants';
|
|
18
22
|
import { DatasourceAction, DatasourceDisplay, DatasourceSearchMethod } from '../../../analytics/types';
|
|
@@ -3,7 +3,7 @@ import "./index.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
|
-
import Link from '@atlaskit/link';
|
|
6
|
+
import Link from '@atlaskit/link/link';
|
|
7
7
|
import { RichIconSearch } from '../../../../../common/ui/rich-icon/search';
|
|
8
8
|
import { initialStateViewMessages } from './messages';
|
|
9
9
|
var initialStateViewContainerStyles = null;
|
|
@@ -8,17 +8,19 @@ import * as React from 'react';
|
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
9
|
import { Fragment } from 'react';
|
|
10
10
|
import { useIntl } from 'react-intl';
|
|
11
|
-
import
|
|
12
|
-
import { ErrorMessage
|
|
11
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
12
|
+
import { ErrorMessage } from '@atlaskit/form/error-message';
|
|
13
|
+
import Field from '@atlaskit/form/field';
|
|
14
|
+
import { MessageWrapper } from '@atlaskit/form/message-wrapper';
|
|
13
15
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
14
16
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
15
17
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
16
18
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
17
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
20
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
19
|
-
import Spinner from '@atlaskit/spinner';
|
|
20
|
-
import Textfield from '@atlaskit/textfield';
|
|
21
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
21
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
22
|
+
import Textfield from '@atlaskit/textfield/text-field';
|
|
23
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
22
24
|
import { useValidateAqlText } from '../../../../hooks/useValidateAqlText';
|
|
23
25
|
import { aqlKey } from '../../../../types/assets/types';
|
|
24
26
|
import { searchInputMessages } from './messages';
|
|
@@ -6,8 +6,8 @@ import "./index.compiled.css";
|
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
|
-
import Form from '@atlaskit/form';
|
|
10
|
-
import { CloseButton } from '@atlaskit/modal-dialog';
|
|
9
|
+
import Form from '@atlaskit/form/form';
|
|
10
|
+
import { CloseButton } from '@atlaskit/modal-dialog/close-button';
|
|
11
11
|
import { Flex } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
13
13
|
import { AqlSearchInput } from './aql-search-input';
|
|
@@ -17,10 +17,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
17
17
|
import { useCallback, useRef, useState } from 'react';
|
|
18
18
|
import debounce from 'debounce-promise';
|
|
19
19
|
import { useIntl } from 'react-intl';
|
|
20
|
-
import Button from '@atlaskit/button/
|
|
21
|
-
import
|
|
20
|
+
import Button from '@atlaskit/button/default/button';
|
|
21
|
+
import Field from '@atlaskit/form/field';
|
|
22
22
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
23
|
-
import { PopupSelect } from '@atlaskit/select';
|
|
23
|
+
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
24
24
|
import { layers } from '@atlaskit/theme/constants';
|
|
25
25
|
import { useObjectSchemas } from '../../../../hooks/useObjectSchemas';
|
|
26
26
|
import { objectSchemaKey } from '../../../../types/assets/types';
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import EmptyState from '@atlaskit/empty-state';
|
|
7
|
+
import EmptyState from '@atlaskit/empty-state/empty-state';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
10
10
|
import { SpotPadlockKey } from '../../../common/ui/spot/basics/padlock-key';
|
|
@@ -6,7 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import { useEffect } from 'react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
8
|
import Button from '@atlaskit/button/standard-button';
|
|
9
|
-
import AKLink from '@atlaskit/link';
|
|
9
|
+
import AKLink from '@atlaskit/link/link';
|
|
10
10
|
import { Box, Inline, Text } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
12
12
|
import { SpotErrorSearch } from '../../../common/ui/spot/error-state/search';
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
6
|
import { cx } from '@compiled/react';
|
|
7
7
|
import { FormattedMessage } from 'react-intl';
|
|
8
|
-
import Button from '@atlaskit/button/
|
|
8
|
+
import Button from '@atlaskit/button/default/button';
|
|
9
9
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
10
10
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
11
11
|
import { SpotErrorSearch } from '../../../common/ui/spot/error-state/search';
|
|
@@ -6,10 +6,11 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
7
7
|
import React, { useEffect } from 'react';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
|
-
import Button from '@atlaskit/button/
|
|
10
|
-
import EmptyState from '@atlaskit/empty-state';
|
|
11
|
-
import { AuthError
|
|
12
|
-
import {
|
|
9
|
+
import Button from '@atlaskit/button/default/button';
|
|
10
|
+
import EmptyState from '@atlaskit/empty-state/empty-state';
|
|
11
|
+
import { AuthError } from '@atlaskit/outbound-auth-flow-client/error';
|
|
12
|
+
import { auth as outboundAuth } from '@atlaskit/outbound-auth-flow-client/auth';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
14
|
import { Anchor, Box } from '@atlaskit/primitives/compiled';
|
|
14
15
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
15
16
|
import useErrorLogger from '../../../hooks/useErrorLogger';
|
|
@@ -3,8 +3,8 @@ import "./index.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
6
|
-
import Link from '@atlaskit/link';
|
|
7
|
-
import Lozenge from '@atlaskit/lozenge';
|
|
6
|
+
import Link from '@atlaskit/link/link';
|
|
7
|
+
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
8
8
|
import { initialStateViewMessages } from './messages';
|
|
9
9
|
var initialStateViewContainerStyles = null;
|
|
10
10
|
var svgAndTextsWrapperStyles = null;
|
|
@@ -4,11 +4,11 @@ import "./index.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import
|
|
7
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import Textfield from '@atlaskit/textfield';
|
|
11
|
+
import Textfield from '@atlaskit/textfield/text-field';
|
|
12
12
|
import { useDatasourceAnalyticsEvents } from '../../../../analytics';
|
|
13
13
|
import { basicSearchInputMessages } from './messages';
|
|
14
14
|
var styles = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import AnalyticsContext from '@atlaskit/analytics-next/AnalyticsContext';
|
|
3
3
|
import { DatasourceExperienceIdProvider } from '../../../../contexts/datasource-experience-id';
|
|
4
4
|
import { UserInteractionsProvider } from '../../../../contexts/user-interactions';
|
|
5
5
|
import { DatasourceContextProvider } from '../datasource-context';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect } from 'react';
|
|
2
|
-
import Modal from '@atlaskit/modal-dialog';
|
|
2
|
+
import Modal from '@atlaskit/modal-dialog/modal-dialog';
|
|
3
3
|
import { useDatasourceAnalyticsEvents } from '../../../../analytics';
|
|
4
4
|
var ScreenEvent = function ScreenEvent() {
|
|
5
5
|
var _useDatasourceAnalyti = useDatasourceAnalyticsEvents(),
|
|
@@ -6,10 +6,12 @@ import "./display-view-drop-down.compiled.css";
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
9
|
-
import Button from '@atlaskit/button/
|
|
10
|
-
import DropdownMenu
|
|
9
|
+
import Button from '@atlaskit/button/default/button';
|
|
10
|
+
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
11
|
+
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
12
|
+
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
11
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
15
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
16
|
import { displayViewDropDownMessages } from './messages';
|
|
15
17
|
var styles = {
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
7
7
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
8
8
|
import { DatasourceAction } from '../../../../analytics/types';
|
|
9
9
|
import { useUserInteractions } from '../../../../contexts/user-interactions';
|
|
@@ -6,7 +6,7 @@ import "./control.compiled.css";
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { components } from '@atlaskit/select';
|
|
9
|
+
import { components } from '@atlaskit/react-select/components';
|
|
10
10
|
var getPopupCustomControlStyles = function getPopupCustomControlStyles() {
|
|
11
11
|
return {
|
|
12
12
|
display: 'flex',
|
|
@@ -5,8 +5,8 @@ var _excluded = ["children"];
|
|
|
5
5
|
import "./custom-checkbox-option.compiled.css";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
-
import { CheckboxOption } from '@atlaskit/select';
|
|
9
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
+
import { CheckboxOption } from '@atlaskit/select/checkbox-option';
|
|
9
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
var checkboxStyles = null;
|
|
11
11
|
var checkboxSelectedStyles = null;
|
|
12
12
|
var checkboxFocusedStyles = null;
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import CloseIcon from '@atlaskit/icon/core/cross-circle';
|
|
6
6
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
7
7
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
8
|
-
import { components } from '@atlaskit/select';
|
|
8
|
+
import { components } from '@atlaskit/react-select/components';
|
|
9
9
|
var styles = {
|
|
10
10
|
customDropdownIndicatorStylesOld: "_1e0c1txw _80omtlke _1bah1h6o _1bsbzwfg",
|
|
11
11
|
customDropdownIndicatorStyles: "_1e0c1txw _80omtlke _1bah1h6o _1bsbzwfg _bfhk1j28 _syazazsu"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import "./formatOptionLabel.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import Avatar from '@atlaskit/avatar';
|
|
5
|
+
import Avatar from '@atlaskit/avatar/avatar';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import PeopleGroupIcon from '@atlaskit/icon/core/people-group';
|
|
8
|
-
import Lozenge from '@atlaskit/lozenge';
|
|
8
|
+
import Lozenge from '@atlaskit/lozenge/lozenge';
|
|
9
9
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
10
10
|
var styles = {
|
|
11
11
|
commonLabelStyles: "_1reo15vq _18m915vq _1bto1l2s",
|
|
@@ -11,7 +11,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
11
11
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
12
12
|
import isEqual from 'lodash/isEqual';
|
|
13
13
|
import { useIntl } from 'react-intl';
|
|
14
|
-
import { PopupSelect } from '@atlaskit/select';
|
|
14
|
+
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
15
15
|
import { useDatasourceAnalyticsEvents } from '../../../../analytics';
|
|
16
16
|
import CustomControl from './control';
|
|
17
17
|
import { CustomCheckboxOption } from './custom-checkbox-option';
|
|
@@ -6,8 +6,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { cx } from '@compiled/react';
|
|
8
8
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { components } from '@atlaskit/select';
|
|
10
|
-
import Spinner from '@atlaskit/spinner';
|
|
9
|
+
import { components } from '@atlaskit/react-select/components';
|
|
10
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
11
11
|
import CustomErrorMessage from './errorMessage';
|
|
12
12
|
import CustomDropdownLoadingMessage from './loadingMessage';
|
|
13
13
|
import CustomNoOptionsMessage from './noOptionsMessage';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Spinner from '@atlaskit/spinner';
|
|
2
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
3
3
|
import { asyncPopupSelectMessages } from './messages';
|
|
4
4
|
import CustomSelectMessage from './selectMessage';
|
|
5
5
|
var CustomDropdownLoadingMessage = function CustomDropdownLoadingMessage(_ref) {
|
|
@@ -3,7 +3,7 @@ import "./selectMessage.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
|
-
import Heading from '@atlaskit/heading';
|
|
6
|
+
import Heading from '@atlaskit/heading/heading';
|
|
7
7
|
import { Flex, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
8
8
|
var styles = {
|
|
9
9
|
boxStyles: "_4t3i16xz",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
|
-
import Button from '@atlaskit/button/
|
|
3
|
+
import Button from '@atlaskit/button/default/button';
|
|
4
4
|
import { useDatasourceAnalyticsEvents } from '../../../../../analytics';
|
|
5
5
|
import { asyncPopupSelectMessages } from './messages';
|
|
6
6
|
var ShowMoreButton = function ShowMoreButton(_ref) {
|
|
@@ -6,12 +6,12 @@ var _excluded = ["as", "style"];
|
|
|
6
6
|
import "./trigger.compiled.css";
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
8
|
import React, { forwardRef, useMemo } from 'react';
|
|
9
|
-
import Badge from '@atlaskit/badge';
|
|
10
|
-
import NewButton from '@atlaskit/button/
|
|
9
|
+
import Badge from '@atlaskit/badge/badge';
|
|
10
|
+
import NewButton from '@atlaskit/button/default/button';
|
|
11
11
|
import Button from '@atlaskit/button/standard-button';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
13
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
14
|
-
import Spinner from '@atlaskit/spinner';
|
|
14
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
15
15
|
var styles = {
|
|
16
16
|
triggerButtonLabelStyles: "_1reo15vq _18m915vq _1bto1l2s",
|
|
17
17
|
badgeStyles: "_18u0utpp"
|
|
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
7
|
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) { _defineProperty(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; }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { FormattedMessage, FormattedNumber } from 'react-intl';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { Flex } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
13
13
|
import { footerMessages } from '../../../table-footer/messages';
|
|
@@ -7,11 +7,11 @@ import * as React from 'react';
|
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
8
|
import { useMemo } from 'react';
|
|
9
9
|
import { useIntl } from 'react-intl';
|
|
10
|
-
import Button from '@atlaskit/button/
|
|
11
|
-
import Heading from '@atlaskit/heading';
|
|
10
|
+
import Button from '@atlaskit/button/default/button';
|
|
11
|
+
import Heading from '@atlaskit/heading/heading';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
|
-
import { PopupSelect } from '@atlaskit/select';
|
|
14
|
+
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
15
15
|
import { siteSelectorMessages } from './messages';
|
|
16
16
|
var styles = {
|
|
17
17
|
dropdownContainerStyles: "_zulpu2gc _1e0c1txw _4cvr1h6o _1tke1ylp"
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
|
17
17
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
18
18
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
19
19
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
20
|
-
import Popup from '@atlaskit/popup';
|
|
20
|
+
import { Popup } from '@atlaskit/popup/popup';
|
|
21
21
|
import { layers } from '@atlaskit/theme/constants';
|
|
22
22
|
import { useDatasourceAnalyticsEvents } from '../../../../../analytics';
|
|
23
23
|
import { dateRangeMessages } from './messages';
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import NewButton from '@atlaskit/button/
|
|
3
|
+
import NewButton from '@atlaskit/button/default/button';
|
|
4
4
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
5
5
|
export var PopupTrigger = function PopupTrigger(_ref) {
|
|
6
6
|
var triggerProps = _ref.triggerProps,
|