@atlaskit/jql-editor 6.2.1 → 6.2.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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/accessibility/styled.js +7 -1
- package/dist/cjs/analytics/util.js +1 -1
- package/dist/cjs/async.js +5 -1
- package/dist/cjs/common/styled.js +5 -1
- package/dist/cjs/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/cjs/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/cjs/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/cjs/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/cjs/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/cjs/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/cjs/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/cjs/schema/index.js +1 -1
- package/dist/cjs/state/index.js +3 -0
- package/dist/cjs/ui/index.js +2 -1
- package/dist/cjs/ui/jql-editor/index.js +2 -1
- package/dist/cjs/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/cjs/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/cjs/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/cjs/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/cjs/ui/jql-editor-layout/styled.js +36 -17
- package/dist/cjs/ui/jql-editor-view/index.js +4 -1
- package/dist/cjs/ui/tooltip-tag/styled.js +7 -1
- package/dist/es2019/accessibility/styled.js +7 -1
- package/dist/es2019/analytics/util.js +1 -1
- package/dist/es2019/async.js +6 -1
- package/dist/es2019/common/styled.js +5 -1
- package/dist/es2019/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/es2019/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/es2019/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/es2019/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/es2019/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/es2019/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/es2019/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/es2019/schema/index.js +2 -0
- package/dist/es2019/state/index.js +3 -0
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/ui/jql-editor/index.js +2 -1
- package/dist/es2019/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/es2019/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/es2019/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/es2019/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/es2019/ui/jql-editor-layout/styled.js +126 -113
- package/dist/es2019/ui/jql-editor-view/index.js +4 -0
- package/dist/es2019/ui/tooltip-tag/styled.js +7 -1
- package/dist/esm/accessibility/styled.js +7 -1
- package/dist/esm/analytics/util.js +1 -1
- package/dist/esm/async.js +6 -1
- package/dist/esm/common/styled.js +5 -1
- package/dist/esm/plugins/autocomplete/components/autocomplete-dropdown/styled.js +16 -4
- package/dist/esm/plugins/autocomplete/components/autocomplete-option/styled.js +25 -7
- package/dist/esm/plugins/rich-inline-nodes/nodes/base/index.js +3 -1
- package/dist/esm/plugins/rich-inline-nodes/nodes/goal/goal-node.js +2 -2
- package/dist/esm/plugins/rich-inline-nodes/nodes/team/styled.js +14 -6
- package/dist/esm/plugins/rich-inline-nodes/nodes/user/styled.js +11 -3
- package/dist/esm/plugins/rich-inline-nodes/util/react-node-view.js +1 -0
- package/dist/esm/schema/index.js +2 -0
- package/dist/esm/state/index.js +3 -0
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/ui/jql-editor/index.js +2 -1
- package/dist/esm/ui/jql-editor-controls-content/base-expand-toggle/styled.js +7 -1
- package/dist/esm/ui/jql-editor-controls-content/base-syntax-help/styled.js +7 -1
- package/dist/esm/ui/jql-editor-footer-content/jql-editor-help/styled.js +5 -1
- package/dist/esm/ui/jql-editor-footer-content/jql-messages/format/styled.js +10 -2
- package/dist/esm/ui/jql-editor-layout/styled.js +37 -17
- package/dist/esm/ui/jql-editor-view/index.js +4 -1
- package/dist/esm/ui/tooltip-tag/styled.js +7 -1
- package/dist/types/accessibility/styled.d.ts +6 -3
- package/dist/types/analytics/util.d.ts +2 -1
- package/dist/types/async.d.ts +2 -1
- package/dist/types/common/messages.d.ts +1 -1
- package/dist/types/common/styled.d.ts +7 -4
- package/dist/types/hooks/use-editor-theme/index.d.ts +2 -1
- package/dist/types/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
- package/dist/types/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
- package/dist/types/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
- package/dist/types/plugins/autocomplete/messages.d.ts +1 -1
- package/dist/types/plugins/common/plugin-keymap.d.ts +2 -1
- package/dist/types/plugins/jql-ast/messages.d.ts +64 -64
- package/dist/types/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
- package/dist/types/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
- package/dist/types/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
- package/dist/types/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
- package/dist/types/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
- package/dist/types/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
- package/dist/types/state/index.d.ts +59 -894
- package/dist/types/ui/index.d.ts +2 -2
- package/dist/types/ui/jql-editor/index.d.ts +3 -3
- package/dist/types/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
- package/dist/types/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
- package/dist/types/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
- package/dist/types/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
- package/dist/types/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
- package/dist/types/ui/jql-editor-layout/styled.d.ts +29 -26
- package/dist/types/ui/jql-editor-portal-provider/context.d.ts +2 -1
- package/dist/types/ui/messages.d.ts +1 -1
- package/dist/types/ui/tooltip-tag/styled.d.ts +6 -3
- package/dist/types-ts4.5/accessibility/styled.d.ts +6 -3
- package/dist/types-ts4.5/analytics/util.d.ts +2 -1
- package/dist/types-ts4.5/async.d.ts +2 -1
- package/dist/types-ts4.5/common/messages.d.ts +1 -1
- package/dist/types-ts4.5/common/styled.d.ts +7 -4
- package/dist/types-ts4.5/hooks/use-editor-theme/index.d.ts +2 -1
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-dropdown/styled.d.ts +15 -12
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/messages.d.ts +2 -2
- package/dist/types-ts4.5/plugins/autocomplete/components/autocomplete-option/styled.d.ts +24 -21
- package/dist/types-ts4.5/plugins/autocomplete/messages.d.ts +1 -1
- package/dist/types-ts4.5/plugins/common/plugin-keymap.d.ts +2 -1
- package/dist/types-ts4.5/plugins/jql-ast/messages.d.ts +64 -64
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/goal/goal-icon.d.ts +1 -1
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/index.d.ts +9 -4
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/project/messages.d.ts +1 -1
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/team/styled.d.ts +12 -9
- package/dist/types-ts4.5/plugins/rich-inline-nodes/nodes/user/styled.d.ts +12 -9
- package/dist/types-ts4.5/plugins/rich-inline-nodes/util/react-node-view.d.ts +3 -3
- package/dist/types-ts4.5/state/index.d.ts +59 -894
- package/dist/types-ts4.5/ui/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-expand-toggle/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/base-syntax-help/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-controls-content/expand-toggle/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-controls-content/search/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-controls-content/syntax-help/messages.d.ts +2 -2
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-editor-help/styled.d.ts +6 -3
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/errors/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/format/styled.d.ts +9 -6
- package/dist/types-ts4.5/ui/jql-editor-footer-content/jql-messages/warnings/messages.d.ts +5 -5
- package/dist/types-ts4.5/ui/jql-editor-layout/styled.d.ts +29 -26
- package/dist/types-ts4.5/ui/jql-editor-portal-provider/context.d.ts +2 -1
- package/dist/types-ts4.5/ui/messages.d.ts +1 -1
- package/dist/types-ts4.5/ui/tooltip-tag/styled.d.ts +6 -3
- package/package.json +8 -8
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
3
7
|
import { hiddenMixin } from '../common/styled';
|
|
4
8
|
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
|
+
export const ScreenReaderText =
|
|
5
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
6
|
-
|
|
12
|
+
styled.div(hiddenMixin);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
|
|
2
2
|
export const useJqlEditorAnalytics = analyticsSource => {
|
|
3
|
-
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "
|
|
3
|
+
return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
|
|
4
4
|
};
|
package/dist/es2019/async.js
CHANGED
|
@@ -7,7 +7,12 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
7
7
|
import { withErrorBoundary } from './ui/error-boundary';
|
|
8
8
|
import { withIntlProvider } from './ui/intl-provider';
|
|
9
9
|
import { JQLEditorReadOnly } from './ui/jql-editor-layout';
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line import/order
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line import/order
|
|
14
|
+
|
|
15
|
+
const JQLEditor = lazyForPaint(() => import( /* webpackChunkName: "@atlassian/async-jql-editor-ui" */'./ui/jql-editor').then(({
|
|
11
16
|
default: JQLEditorUI
|
|
12
17
|
}) => JQLEditorUI), {
|
|
13
18
|
ssr: false
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import { css } from '@emotion/react';
|
|
3
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -15,7 +17,9 @@ export const hiddenMixin = css({
|
|
|
15
17
|
position: 'absolute'
|
|
16
18
|
});
|
|
17
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
|
+
export const TooltipContent =
|
|
18
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
|
-
|
|
23
|
+
styled.div({
|
|
20
24
|
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
21
25
|
});
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
3
7
|
import { layers } from '@atlaskit/theme/constants';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
+
export const AutocompleteContainer =
|
|
4
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
|
-
|
|
11
|
+
styled.div({
|
|
6
12
|
position: 'absolute',
|
|
7
13
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
8
14
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
@@ -33,21 +39,27 @@ export const AutocompleteContainer = styled.div({
|
|
|
33
39
|
marginTop: "var(--ds-space-100, 8px)"
|
|
34
40
|
});
|
|
35
41
|
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
43
|
+
export const AutocompleteOptionsContainer =
|
|
36
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
37
|
-
|
|
45
|
+
styled.div({
|
|
38
46
|
maxHeight: '288px',
|
|
39
47
|
overflow: 'auto'
|
|
40
48
|
});
|
|
41
49
|
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
|
+
export const OptionList =
|
|
42
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
43
|
-
|
|
53
|
+
styled.ul({
|
|
44
54
|
listStyle: 'none',
|
|
45
55
|
margin: `${"var(--ds-space-0, 0px)"}`,
|
|
46
56
|
padding: `${"var(--ds-space-0, 0px)"}`
|
|
47
57
|
});
|
|
48
58
|
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
60
|
+
export const AutocompleteLoadingFooter =
|
|
49
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
50
|
-
|
|
62
|
+
styled.div({
|
|
51
63
|
display: 'flex',
|
|
52
64
|
justifyContent: 'center',
|
|
53
65
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const TooltipContent =
|
|
3
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
|
|
10
|
+
styled.div({
|
|
5
11
|
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
6
12
|
});
|
|
7
13
|
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
|
+
export const OptionListItem =
|
|
8
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
-
|
|
17
|
+
styled.li({
|
|
10
18
|
cursor: 'pointer',
|
|
11
19
|
padding: `${"var(--ds-space-075, 6px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
12
20
|
fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
@@ -27,8 +35,10 @@ export const OptionListItem = styled.li({
|
|
|
27
35
|
color: "var(--ds-text-disabled, #080F214A)"
|
|
28
36
|
});
|
|
29
37
|
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
|
+
export const OptionName =
|
|
30
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
31
|
-
|
|
41
|
+
styled.div({
|
|
32
42
|
color: "var(--ds-text, #292A2E)",
|
|
33
43
|
overflow: 'hidden',
|
|
34
44
|
whiteSpace: 'nowrap',
|
|
@@ -37,29 +47,37 @@ export const OptionName = styled.div({
|
|
|
37
47
|
flex: 1
|
|
38
48
|
});
|
|
39
49
|
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
|
+
export const DeprecatedOptionContainer =
|
|
40
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
41
|
-
|
|
53
|
+
styled.div({
|
|
42
54
|
color: "var(--ds-text-disabled, #080F214A)",
|
|
43
55
|
display: 'flex',
|
|
44
56
|
justifyContent: 'space-between',
|
|
45
57
|
opacity: 0.6
|
|
46
58
|
});
|
|
47
59
|
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
|
+
export const OptionHighlight =
|
|
48
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
49
|
-
|
|
63
|
+
styled.span({
|
|
50
64
|
fontWeight: "var(--ds-font-weight-bold, 653)"
|
|
51
65
|
});
|
|
52
66
|
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
68
|
+
export const FieldType =
|
|
53
69
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
|
-
|
|
70
|
+
styled.div({
|
|
55
71
|
display: 'flex',
|
|
56
72
|
alignItems: 'center',
|
|
57
73
|
marginTop: "var(--ds-space-negative-025, -2px)",
|
|
58
74
|
color: "var(--ds-text-subtlest, #6B6E76)"
|
|
59
75
|
});
|
|
60
76
|
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
78
|
+
export const FieldTypeIcon =
|
|
61
79
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
62
|
-
|
|
80
|
+
styled.span({
|
|
63
81
|
display: 'flex',
|
|
64
82
|
marginRight: "var(--ds-space-050, 4px)"
|
|
65
83
|
});
|
|
@@ -40,7 +40,9 @@ export const NodeBase = props => {
|
|
|
40
40
|
error,
|
|
41
41
|
isRichNodeDisplay
|
|
42
42
|
} = props;
|
|
43
|
-
const isNewExperienceEnabled =
|
|
43
|
+
const isNewExperienceEnabled =
|
|
44
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils -- Statsig migration pending for this experiment gate
|
|
45
|
+
FeatureGates.checkGate('projects_in_jira_ga_drop') || isRichNodeDisplay;
|
|
44
46
|
return /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
45
47
|
xcss: cx(styles.nodeWrapper, !isNewExperienceEnabled && styles.nodeWrapperWithHeight, error && styles.nodeWrapperError, selected && (error ? styles.nodeWrapperErrorSelected : styles.nodeWrapperSelected))
|
|
46
48
|
}, isNewExperienceEnabled ? {
|
|
@@ -37,8 +37,8 @@ export const GoalNode = props => {
|
|
|
37
37
|
xcss: styles.iconWrapper
|
|
38
38
|
}, /*#__PURE__*/React.createElement(GoalIcon, {
|
|
39
39
|
size: "16",
|
|
40
|
-
status: (_goal$status = goal === null || goal === void 0 ? void 0 : goal.status) !== null && _goal$status !== void 0 ? _goal$status :
|
|
41
|
-
iconKey: toGoalIconKey(
|
|
40
|
+
status: (_goal$status = goal === null || goal === void 0 ? void 0 : goal.status) !== null && _goal$status !== void 0 ? _goal$status : 'DEFAULT',
|
|
41
|
+
iconKey: toGoalIconKey('GOAL')
|
|
42
42
|
})),
|
|
43
43
|
text: name,
|
|
44
44
|
isRichNodeDisplay: true
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import { css } from '@emotion/react';
|
|
3
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
6
|
-
export const TeamContainer =
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const TeamContainer =
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
10
|
+
styled.span({
|
|
7
11
|
display: 'inline-flex',
|
|
8
12
|
alignItems: 'baseline',
|
|
9
13
|
paddingLeft: `${"var(--ds-space-025, 2px)"}`,
|
|
@@ -62,8 +66,10 @@ export const TeamContainer = styled.span({
|
|
|
62
66
|
}
|
|
63
67
|
});
|
|
64
68
|
|
|
65
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
66
|
-
export const NameContainer =
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
70
|
+
export const NameContainer =
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
72
|
+
styled.span({
|
|
67
73
|
marginLeft: "var(--ds-space-075, 6px)",
|
|
68
74
|
marginRight: "var(--ds-space-050, 4px)",
|
|
69
75
|
// eslint-disable-next-line -- Ignored via go/DSP-18766
|
|
@@ -71,8 +77,10 @@ export const NameContainer = styled.span({
|
|
|
71
77
|
});
|
|
72
78
|
|
|
73
79
|
/* Override Avatar styles to match design spec */
|
|
74
|
-
// eslint-disable-next-line @atlaskit/
|
|
75
|
-
export const AvatarWrapper =
|
|
80
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
81
|
+
export const AvatarWrapper =
|
|
82
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
83
|
+
styled.div({
|
|
76
84
|
height: "var(--ds-space-200, 16px)",
|
|
77
85
|
width: "var(--ds-space-200, 16px)",
|
|
78
86
|
alignSelf: 'center'
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import { css } from '@emotion/react';
|
|
3
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
+
export const UserContainer =
|
|
6
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
|
-
|
|
11
|
+
styled.span({
|
|
8
12
|
display: 'inline-flex',
|
|
9
13
|
alignItems: 'baseline',
|
|
10
14
|
paddingLeft: `${"var(--ds-space-025, 2px)"}`,
|
|
@@ -63,8 +67,10 @@ export const UserContainer = styled.span({
|
|
|
63
67
|
}
|
|
64
68
|
});
|
|
65
69
|
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
71
|
+
export const NameContainer =
|
|
66
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
67
|
-
|
|
73
|
+
styled.span({
|
|
68
74
|
marginLeft: "var(--ds-space-075, 6px)",
|
|
69
75
|
marginRight: "var(--ds-space-100, 8px)",
|
|
70
76
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -72,8 +78,10 @@ export const NameContainer = styled.span({
|
|
|
72
78
|
});
|
|
73
79
|
|
|
74
80
|
/* Override Avatar styles to match design spec */
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
82
|
+
export const AvatarWrapper =
|
|
75
83
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
76
|
-
|
|
84
|
+
styled.div({
|
|
77
85
|
height: "var(--ds-space-200, 16px)",
|
|
78
86
|
width: "var(--ds-space-200, 16px)",
|
|
79
87
|
alignSelf: 'center',
|
|
@@ -94,6 +94,7 @@ export class ReactNodeView {
|
|
|
94
94
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
95
95
|
this.portalKey = uuid();
|
|
96
96
|
// Creating span under the assumption that all node views will be inline elements in JQL Editor
|
|
97
|
+
// eslint-disable-next-line @atlaskit/platform/no-direct-document-usage -- ProseMirror NodeView requires a real DOM container
|
|
97
98
|
this.dom = document.createElement('span');
|
|
98
99
|
this.dom.setAttribute('data-testid', 'jql-editor-node-view');
|
|
99
100
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/platform/no-direct-document-usage -- ProseMirror schema uses document to build DOM markers */
|
|
2
|
+
|
|
1
3
|
import mapValues from 'lodash/mapValues';
|
|
2
4
|
import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
|
|
3
5
|
import { keydownHandler, keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
@@ -74,6 +74,9 @@ export const initialState = {
|
|
|
74
74
|
* Line numbers should be shown if there are more than 1 paragraph blocks in the document.
|
|
75
75
|
*/
|
|
76
76
|
const isLineNumbersVisible = editorState => editorState.doc.childCount > 1;
|
|
77
|
+
|
|
78
|
+
// Explicit type declaration for actions is required for IsoDec compliance
|
|
79
|
+
|
|
77
80
|
export const actions = {
|
|
78
81
|
onEditorViewBlur: () => ({
|
|
79
82
|
setState,
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { withErrorBoundary } from './error-boundary';
|
|
2
2
|
import { withIntlProvider } from './intl-provider';
|
|
3
3
|
import JQLEditorUI from './jql-editor';
|
|
4
|
-
|
|
4
|
+
const _default_1 = withIntlProvider(withErrorBoundary(JQLEditorUI));
|
|
5
|
+
export default _default_1;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const ExpandToggleContainer =
|
|
3
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
|
|
10
|
+
styled.div({
|
|
5
11
|
/* Override background styles for our button to match designs */
|
|
6
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
7
13
|
'> button': {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const SyntaxHelpContainer =
|
|
3
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
|
|
10
|
+
styled.div({
|
|
5
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
6
12
|
'> a': {
|
|
7
13
|
background: "var(--ds-background-neutral-bold, #292A2E)",
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import { css } from '@emotion/react';
|
|
3
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import styled from '@emotion/styled';
|
|
5
7
|
import { hiddenMixin } from '../../../common/styled';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
|
+
export const HelpContainer =
|
|
6
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
|
-
|
|
11
|
+
styled.div({
|
|
8
12
|
display: 'flex',
|
|
9
13
|
marginLeft: 'auto',
|
|
10
14
|
marginRight: 0,
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
|
+
|
|
1
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import styled from '@emotion/styled';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
|
+
export const MessageContainer =
|
|
3
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
|
|
10
|
+
styled.div(props => ({
|
|
5
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
6
12
|
paddingLeft: props.isSearch ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
|
|
7
13
|
}));
|
|
8
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
export const MessageList =
|
|
9
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
|
-
|
|
18
|
+
styled.ul({
|
|
11
19
|
margin: 0,
|
|
12
20
|
paddingLeft: "var(--ds-space-300, 24px)"
|
|
13
21
|
});
|