@atlaskit/link-datasource 2.3.8 → 2.3.10
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 +17 -0
- package/dist/cjs/ui/assets-modal/modal/index.js +2 -3
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.js +2 -0
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +2 -0
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/index.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/styled.js +2 -0
- package/dist/cjs/ui/common/error-state/access-required.js +2 -0
- package/dist/cjs/ui/common/error-state/loading-error.js +2 -0
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +2 -0
- package/dist/cjs/ui/common/error-state/no-instances.js +1 -0
- package/dist/cjs/ui/common/error-state/no-results.js +2 -0
- package/dist/cjs/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/cjs/ui/common/initial-state-view/index.js +1 -0
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +2 -0
- package/dist/cjs/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/cjs/ui/common/modal/content-container/index.js +2 -0
- package/dist/cjs/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/cjs/ui/common/modal/datasource-modal/index.js +0 -2
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +2 -0
- package/dist/cjs/ui/common/modal/site-selector/index.js +1 -0
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +2 -0
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +1 -1
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +1 -0
- package/dist/cjs/ui/issue-like-table/drag-column-preview.js +4 -0
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +2 -0
- package/dist/cjs/ui/issue-like-table/empty-state/index.js +1 -0
- package/dist/cjs/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/cjs/ui/issue-like-table/index.js +2 -0
- package/dist/cjs/ui/issue-like-table/render-type/date-time/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/cjs/ui/issue-like-table/render-type/richtext/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/text/index.js +2 -0
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +4 -0
- package/dist/cjs/ui/issue-like-table/styled.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/mode-switcher/index.js +2 -0
- package/dist/cjs/ui/table-footer/index.js +4 -0
- package/dist/es2019/ui/assets-modal/modal/index.js +3 -2
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.js +2 -0
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/styled.js +1 -0
- package/dist/es2019/ui/common/error-state/access-required.js +2 -0
- package/dist/es2019/ui/common/error-state/loading-error.js +2 -0
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +2 -0
- package/dist/es2019/ui/common/error-state/no-instances.js +1 -0
- package/dist/es2019/ui/common/error-state/no-results.js +2 -0
- package/dist/es2019/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/es2019/ui/common/initial-state-view/index.js +1 -0
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +1 -0
- package/dist/es2019/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/es2019/ui/common/modal/content-container/index.js +1 -0
- package/dist/es2019/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/es2019/ui/common/modal/datasource-modal/index.js +0 -2
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +2 -0
- package/dist/es2019/ui/common/modal/site-selector/index.js +2 -0
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +1 -0
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +2 -0
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/drag-column-preview.js +3 -0
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +3 -0
- package/dist/es2019/ui/issue-like-table/empty-state/index.js +1 -0
- package/dist/es2019/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/es2019/ui/issue-like-table/index.js +3 -0
- package/dist/es2019/ui/issue-like-table/render-type/date-time/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/richtext/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/text/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +3 -0
- package/dist/es2019/ui/issue-like-table/styled.js +1 -0
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/index.js +2 -0
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +2 -0
- package/dist/es2019/ui/jira-issues-modal/mode-switcher/index.js +2 -0
- package/dist/es2019/ui/table-footer/index.js +3 -0
- package/dist/esm/ui/assets-modal/modal/index.js +3 -2
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.js +2 -0
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/styled.js +1 -0
- package/dist/esm/ui/common/error-state/access-required.js +2 -0
- package/dist/esm/ui/common/error-state/loading-error.js +2 -0
- package/dist/esm/ui/common/error-state/modal-loading-error.js +2 -0
- package/dist/esm/ui/common/error-state/no-instances.js +1 -0
- package/dist/esm/ui/common/error-state/no-results.js +2 -0
- package/dist/esm/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/esm/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/esm/ui/common/initial-state-view/index.js +1 -0
- package/dist/esm/ui/common/modal/basic-search-input/index.js +1 -0
- package/dist/esm/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/esm/ui/common/modal/content-container/index.js +1 -0
- package/dist/esm/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/esm/ui/common/modal/datasource-modal/index.js +0 -2
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/esm/ui/common/modal/popup-select/trigger.js +2 -0
- package/dist/esm/ui/common/modal/site-selector/index.js +2 -0
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +1 -0
- package/dist/esm/ui/confluence-search-modal/modal/index.js +2 -0
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/esm/ui/issue-like-table/column-picker/index.js +2 -0
- package/dist/esm/ui/issue-like-table/drag-column-preview.js +3 -0
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +3 -0
- package/dist/esm/ui/issue-like-table/empty-state/index.js +1 -0
- package/dist/esm/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/esm/ui/issue-like-table/index.js +3 -0
- package/dist/esm/ui/issue-like-table/render-type/date-time/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/richtext/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/text/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +3 -0
- package/dist/esm/ui/issue-like-table/styled.js +1 -0
- package/dist/esm/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/esm/ui/jira-issues-modal/jira-search-container/index.js +2 -0
- package/dist/esm/ui/jira-issues-modal/modal/index.js +2 -0
- package/dist/esm/ui/jira-issues-modal/mode-switcher/index.js +2 -0
- package/dist/esm/ui/table-footer/index.js +3 -0
- package/dist/types/ui/common/modal/datasource-modal/index.d.ts +2 -2
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/examples-helpers/buildIssueLikeTable.tsx +2 -0
- package/examples-helpers/hoverableContainer.tsx +1 -0
- package/package.json +37 -16
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { AssetsAqlSearchInputSkeleton } from './aql-search-input/loading-state';
|
|
4
5
|
import { AssetsObjectSchemaSelectSkeleton } from './object-schema-select/loading-state';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { jsx } from '@emotion/react';
|
|
5
6
|
import debounce from 'debounce-promise';
|
|
6
7
|
import { useIntl } from 'react-intl-next';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
4
5
|
export const AssetsObjectSchemaSelectSkeleton = () => jsx(Skeleton, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import styled from '@emotion/styled';
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
3
4
|
export const FormRowContainer = styled.div(props => ({
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import EmptyState from '@atlaskit/empty-state';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -13,7 +13,6 @@ const ScreenEvent = () => {
|
|
|
13
13
|
export const DatasourceModal = ({
|
|
14
14
|
testId,
|
|
15
15
|
onClose,
|
|
16
|
-
shouldCloseOnOverlayClick,
|
|
17
16
|
children
|
|
18
17
|
}) => {
|
|
19
18
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
@@ -21,7 +20,6 @@ export const DatasourceModal = ({
|
|
|
21
20
|
onClose: onClose,
|
|
22
21
|
width: "calc(100% - 80px)",
|
|
23
22
|
shouldScrollInViewport: true,
|
|
24
|
-
shouldCloseOnOverlayClick: shouldCloseOnOverlayClick,
|
|
25
23
|
shouldReturnFocus: false
|
|
26
24
|
}, /*#__PURE__*/React.createElement(ScreenEvent, null), children);
|
|
27
25
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
4
5
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import Badge from '@atlaskit/badge';
|
|
4
6
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { FormattedMessage, FormattedNumber } from 'react-intl-next';
|
|
6
8
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback, useEffect, useRef } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
5
7
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css, jsx } from '@emotion/react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { components } from '@atlaskit/select';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { useIntl } from 'react-intl-next';
|
|
6
8
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import styled from '@emotion/styled';
|
|
5
8
|
import { N40 } from '@atlaskit/theme/colors';
|
|
6
9
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
8
|
import styled from '@emotion/styled';
|
|
6
9
|
import ReactDOM from 'react-dom';
|
|
7
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import Bug16Icon from '@atlaskit/icon-object/glyph/bug/16';
|
|
4
6
|
import Commit16Icon from '@atlaskit/icon-object/glyph/commit/16';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
8
|
import styled from '@emotion/styled';
|
|
6
9
|
import debounce from 'lodash/debounce';
|
|
7
10
|
import { useIntl } from 'react-intl-next';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import Image from '@atlaskit/image';
|
|
4
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
|
|
5
7
|
import { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import { fieldTextFontSize } from '../../styled';
|
|
4
6
|
export const TEXT_TYPE_TEST_ID = 'link-datasource-render-type--text';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import styled from '@emotion/styled';
|
|
5
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
9
|
import Avatar from '@atlaskit/avatar';
|
|
@@ -34,7 +34,7 @@ export const buildJQL = input => {
|
|
|
34
34
|
const text = constructTerminalClause('text', OPERATOR_LIKE, `${basicSearch}${fuzzy}`);
|
|
35
35
|
const summary = constructTerminalClause('summary', OPERATOR_LIKE, `${basicSearch}${fuzzy}`);
|
|
36
36
|
const orClauseFields = [text, summary];
|
|
37
|
-
if (jiraIssueKeyRegExp.test(trimmedRawSearch)) {
|
|
37
|
+
if (jiraIssueKeyRegExp.test(trimmedRawSearch.toUpperCase())) {
|
|
38
38
|
const key = constructTerminalClause('key', OPERATOR_EQUALS, basicSearch);
|
|
39
39
|
orClauseFields.push(key);
|
|
40
40
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import { useDebouncedCallback } from 'use-debounce';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { FormattedMessage, FormattedNumber } from 'react-intl-next';
|
|
6
8
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { N0, N20, N30A, N60, N700 } from '@atlaskit/theme/colors';
|
|
6
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useEffect, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
8
|
import styled from '@emotion/styled';
|
|
6
9
|
import { FormattedMessage, FormattedNumber, useIntl } from 'react-intl-next';
|
|
7
10
|
import Button from '@atlaskit/button';
|
|
@@ -5,6 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
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; }
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
12
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -339,8 +341,7 @@ var PlainAssetsConfigModal = function PlainAssetsConfigModal(props) {
|
|
|
339
341
|
loaderFn: fetchMessagesForLocale
|
|
340
342
|
}, jsx(ModalTransition, null, jsx(DatasourceModal, {
|
|
341
343
|
testId: "asset-datasource-modal",
|
|
342
|
-
onClose: onCancel
|
|
343
|
-
shouldCloseOnOverlayClick: false
|
|
344
|
+
onClose: onCancel
|
|
344
345
|
}, jsx(ModalHeader, null, renderModalTitleContent()), jsx(ModalBody, null, errorState ? jsx("div", {
|
|
345
346
|
css: modalBodyErrorWrapperStyles
|
|
346
347
|
}, renderErrorState()) : jsx(RenderAssetsContent, {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback, useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { N40 } from '@atlaskit/theme/colors';
|
|
5
7
|
import { AccessRequired } from '../../../common/error-state/access-required';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { useIntl } from 'react-intl-next';
|
|
6
8
|
import { LoadingButton } from '@atlaskit/button';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
4
5
|
export var AssetsAqlSearchInputSkeleton = function AssetsAqlSearchInputSkeleton() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx } from '@emotion/react';
|
|
4
5
|
import Form from '@atlaskit/form';
|
|
5
6
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { AssetsAqlSearchInputSkeleton } from './aql-search-input/loading-state';
|
|
4
5
|
import { AssetsObjectSchemaSelectSkeleton } from './object-schema-select/loading-state';
|
|
@@ -8,6 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
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; }
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
import { jsx } from '@emotion/react';
|
|
12
13
|
import debounce from 'debounce-promise';
|
|
13
14
|
import { useIntl } from 'react-intl-next';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
4
5
|
export var AssetsObjectSchemaSelectSkeleton = function AssetsObjectSchemaSelectSkeleton() {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import styled from '@emotion/styled';
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
3
4
|
export var FormRowContainer = styled.div(function (props) {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import EmptyState from '@atlaskit/empty-state';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -3,6 +3,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import React, { useEffect } from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import { css, jsx } from '@emotion/react';
|
|
7
9
|
import { useIntl } from 'react-intl-next';
|
|
8
10
|
import Button from '@atlaskit/button';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
4
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -12,14 +12,12 @@ var ScreenEvent = function ScreenEvent() {
|
|
|
12
12
|
export var DatasourceModal = function DatasourceModal(_ref) {
|
|
13
13
|
var testId = _ref.testId,
|
|
14
14
|
onClose = _ref.onClose,
|
|
15
|
-
shouldCloseOnOverlayClick = _ref.shouldCloseOnOverlayClick,
|
|
16
15
|
children = _ref.children;
|
|
17
16
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
18
17
|
testId: testId,
|
|
19
18
|
onClose: onClose,
|
|
20
19
|
width: "calc(100% - 80px)",
|
|
21
20
|
shouldScrollInViewport: true,
|
|
22
|
-
shouldCloseOnOverlayClick: shouldCloseOnOverlayClick,
|
|
23
21
|
shouldReturnFocus: false
|
|
24
22
|
}, /*#__PURE__*/React.createElement(ScreenEvent, null), children);
|
|
25
23
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
4
5
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { forwardRef, useCallback } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import styled from '@emotion/styled';
|
|
4
6
|
import Badge from '@atlaskit/badge';
|
|
5
7
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -5,6 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
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; }
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { useMemo } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { useIntl } from 'react-intl-next';
|
|
10
12
|
import { Box, xcss } from '@atlaskit/primitives';
|