@atlaskit/jql-editor 6.2.1 → 6.2.2
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 +6 -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/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/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/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/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/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/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 +601 -601
- 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 +601 -601
- 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 +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -9,5 +9,11 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
9
9
|
var _styled2 = require("../common/styled");
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
|
+
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
|
+
var ScreenReaderText = exports.ScreenReaderText =
|
|
12
18
|
// 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
|
|
13
|
-
|
|
19
|
+
_styled.default.div(_styled2.hiddenMixin);
|
|
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useJqlEditorAnalytics = void 0;
|
|
7
7
|
var _jqlEditorCommon = require("@atlaskit/jql-editor-common");
|
|
8
8
|
var useJqlEditorAnalytics = exports.useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
|
|
9
|
-
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "
|
|
9
|
+
return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
|
|
10
10
|
};
|
package/dist/cjs/async.js
CHANGED
|
@@ -14,9 +14,13 @@ var _errorBoundary = require("./ui/error-boundary");
|
|
|
14
14
|
var _intlProvider = require("./ui/intl-provider");
|
|
15
15
|
var _jqlEditorLayout = require("./ui/jql-editor-layout");
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } // oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
17
|
+
// eslint-disable-next-line import/order
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line import/order
|
|
20
|
+
|
|
17
21
|
var JQLEditor = (0, _reactLooselyLazy.lazyForPaint)(function () {
|
|
18
22
|
return Promise.resolve().then(function () {
|
|
19
|
-
return _interopRequireWildcard(require( /* webpackChunkName: "async-jql-editor" */'./ui/jql-editor'));
|
|
23
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlassian/async-jql-editor-ui" */'./ui/jql-editor'));
|
|
20
24
|
}).then(function (_ref) {
|
|
21
25
|
var JQLEditorUI = _ref.default;
|
|
22
26
|
return JQLEditorUI;
|
|
@@ -11,6 +11,8 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
14
16
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
17
|
var hiddenMixin = exports.hiddenMixin = (0, _react.css)({
|
|
16
18
|
clip: 'rect(1px, 1px, 1px, 1px)',
|
|
@@ -24,7 +26,9 @@ var hiddenMixin = exports.hiddenMixin = (0, _react.css)({
|
|
|
24
26
|
position: 'absolute'
|
|
25
27
|
});
|
|
26
28
|
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
|
+
var TooltipContent = exports.TooltipContent =
|
|
27
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
|
-
|
|
32
|
+
_styled.default.div({
|
|
29
33
|
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
30
34
|
});
|
|
@@ -9,8 +9,14 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
9
9
|
var _constants = require("@atlaskit/theme/constants");
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
|
+
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
|
+
var AutocompleteContainer = exports.AutocompleteContainer =
|
|
12
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
|
-
|
|
19
|
+
_styled.default.div({
|
|
14
20
|
position: 'absolute',
|
|
15
21
|
backgroundColor: "var(--ds-surface-overlay, #FFFFFF)",
|
|
16
22
|
borderRadius: "var(--ds-radius-small, 3px)",
|
|
@@ -43,21 +49,27 @@ function (_ref2) {
|
|
|
43
49
|
};
|
|
44
50
|
});
|
|
45
51
|
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
|
+
var AutocompleteOptionsContainer = exports.AutocompleteOptionsContainer =
|
|
46
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
47
|
-
|
|
55
|
+
_styled.default.div({
|
|
48
56
|
maxHeight: '288px',
|
|
49
57
|
overflow: 'auto'
|
|
50
58
|
});
|
|
51
59
|
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
|
+
var OptionList = exports.OptionList =
|
|
52
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
|
-
|
|
63
|
+
_styled.default.ul({
|
|
54
64
|
listStyle: 'none',
|
|
55
65
|
margin: "var(--ds-space-0, 0px)",
|
|
56
66
|
padding: "var(--ds-space-0, 0px)"
|
|
57
67
|
});
|
|
58
68
|
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
70
|
+
var AutocompleteLoadingFooter = exports.AutocompleteLoadingFooter =
|
|
59
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
60
|
-
|
|
72
|
+
_styled.default.div({
|
|
61
73
|
display: 'flex',
|
|
62
74
|
justifyContent: 'center',
|
|
63
75
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
@@ -8,13 +8,21 @@ exports.TooltipContent = exports.OptionName = exports.OptionListItem = exports.O
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var TooltipContent = exports.TooltipContent =
|
|
11
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
18
|
+
_styled.default.div({
|
|
13
19
|
fontFamily: "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
14
20
|
});
|
|
15
21
|
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
|
+
var OptionListItem = exports.OptionListItem =
|
|
16
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
|
-
|
|
25
|
+
_styled.default.li({
|
|
18
26
|
cursor: 'pointer',
|
|
19
27
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
20
28
|
fontFamily: "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
@@ -37,8 +45,10 @@ function (_ref2) {
|
|
|
37
45
|
};
|
|
38
46
|
});
|
|
39
47
|
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
49
|
+
var OptionName = exports.OptionName =
|
|
40
50
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
41
|
-
|
|
51
|
+
_styled.default.div({
|
|
42
52
|
color: "var(--ds-text, #292A2E)",
|
|
43
53
|
overflow: 'hidden',
|
|
44
54
|
whiteSpace: 'nowrap',
|
|
@@ -47,29 +57,37 @@ var OptionName = exports.OptionName = _styled.default.div({
|
|
|
47
57
|
flex: 1
|
|
48
58
|
});
|
|
49
59
|
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
|
+
var DeprecatedOptionContainer = exports.DeprecatedOptionContainer =
|
|
50
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
|
-
|
|
63
|
+
_styled.default.div({
|
|
52
64
|
color: "var(--ds-text-disabled, #080F214A)",
|
|
53
65
|
display: 'flex',
|
|
54
66
|
justifyContent: 'space-between',
|
|
55
67
|
opacity: 0.6
|
|
56
68
|
});
|
|
57
69
|
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
71
|
+
var OptionHighlight = exports.OptionHighlight =
|
|
58
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
59
|
-
|
|
73
|
+
_styled.default.span({
|
|
60
74
|
fontWeight: "var(--ds-font-weight-bold, 653)"
|
|
61
75
|
});
|
|
62
76
|
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
78
|
+
var FieldType = exports.FieldType =
|
|
63
79
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
64
|
-
|
|
80
|
+
_styled.default.div({
|
|
65
81
|
display: 'flex',
|
|
66
82
|
alignItems: 'center',
|
|
67
83
|
marginTop: "var(--ds-space-negative-025, -2px)",
|
|
68
84
|
color: "var(--ds-text-subtlest, #6B6E76)"
|
|
69
85
|
});
|
|
70
86
|
|
|
87
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
88
|
+
var FieldTypeIcon = exports.FieldTypeIcon =
|
|
71
89
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
72
|
-
|
|
90
|
+
_styled.default.span({
|
|
73
91
|
display: 'flex',
|
|
74
92
|
marginRight: "var(--ds-space-050, 4px)"
|
|
75
93
|
});
|
|
@@ -45,7 +45,9 @@ var NodeBase = exports.NodeBase = function NodeBase(props) {
|
|
|
45
45
|
selected = props.selected,
|
|
46
46
|
error = props.error,
|
|
47
47
|
isRichNodeDisplay = props.isRichNodeDisplay;
|
|
48
|
-
var isNewExperienceEnabled =
|
|
48
|
+
var isNewExperienceEnabled =
|
|
49
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils -- Statsig migration pending for this experiment gate
|
|
50
|
+
_featureGateJsClient.default.checkGate('projects_in_jira_ga_drop') || isRichNodeDisplay;
|
|
49
51
|
return /*#__PURE__*/_react.default.createElement(_compiled.Pressable, (0, _extends2.default)({
|
|
50
52
|
xcss: (0, _css.cx)(styles.nodeWrapper, !isNewExperienceEnabled && styles.nodeWrapperWithHeight, error && styles.nodeWrapperError, selected && (error ? styles.nodeWrapperErrorSelected : styles.nodeWrapperSelected))
|
|
51
53
|
}, isNewExperienceEnabled ? {
|
|
@@ -47,8 +47,8 @@ var GoalNode = exports.GoalNode = function GoalNode(props) {
|
|
|
47
47
|
xcss: styles.iconWrapper
|
|
48
48
|
}, /*#__PURE__*/_react.default.createElement(_goalIcon.GoalIcon, {
|
|
49
49
|
size: "16",
|
|
50
|
-
status: (_goal$status = goal === null || goal === void 0 ? void 0 : goal.status) !== null && _goal$status !== void 0 ? _goal$status :
|
|
51
|
-
iconKey: toGoalIconKey(
|
|
50
|
+
status: (_goal$status = goal === null || goal === void 0 ? void 0 : goal.status) !== null && _goal$status !== void 0 ? _goal$status : 'DEFAULT',
|
|
51
|
+
iconKey: toGoalIconKey('GOAL')
|
|
52
52
|
})),
|
|
53
53
|
text: name,
|
|
54
54
|
isRichNodeDisplay: true
|
|
@@ -11,8 +11,12 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/
|
|
15
|
-
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
|
+
var TeamContainer = exports.TeamContainer =
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
19
|
+
_styled.default.span({
|
|
16
20
|
display: 'inline-flex',
|
|
17
21
|
alignItems: 'baseline',
|
|
18
22
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
@@ -70,8 +74,10 @@ function (_ref) {
|
|
|
70
74
|
}
|
|
71
75
|
});
|
|
72
76
|
|
|
73
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
74
|
-
var NameContainer = exports.NameContainer =
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
78
|
+
var NameContainer = exports.NameContainer =
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
80
|
+
_styled.default.span({
|
|
75
81
|
marginLeft: "var(--ds-space-075, 6px)",
|
|
76
82
|
marginRight: "var(--ds-space-050, 4px)",
|
|
77
83
|
// eslint-disable-next-line -- Ignored via go/DSP-18766
|
|
@@ -79,8 +85,10 @@ var NameContainer = exports.NameContainer = _styled.default.span({
|
|
|
79
85
|
});
|
|
80
86
|
|
|
81
87
|
/* Override Avatar styles to match design spec */
|
|
82
|
-
// eslint-disable-next-line @atlaskit/
|
|
83
|
-
var AvatarWrapper = exports.AvatarWrapper =
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
89
|
+
var AvatarWrapper = exports.AvatarWrapper =
|
|
90
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
|
|
91
|
+
_styled.default.div({
|
|
84
92
|
height: "var(--ds-space-200, 16px)",
|
|
85
93
|
width: "var(--ds-space-200, 16px)",
|
|
86
94
|
alignSelf: 'center'
|
|
@@ -12,8 +12,12 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
|
+
var UserContainer = exports.UserContainer =
|
|
15
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
-
|
|
20
|
+
_styled.default.span({
|
|
17
21
|
display: 'inline-flex',
|
|
18
22
|
alignItems: 'baseline',
|
|
19
23
|
paddingLeft: "var(--ds-space-025, 2px)",
|
|
@@ -71,8 +75,10 @@ function (_ref) {
|
|
|
71
75
|
}
|
|
72
76
|
});
|
|
73
77
|
|
|
78
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
79
|
+
var NameContainer = exports.NameContainer =
|
|
74
80
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
75
|
-
|
|
81
|
+
_styled.default.span({
|
|
76
82
|
marginLeft: "var(--ds-space-075, 6px)",
|
|
77
83
|
marginRight: "var(--ds-space-100, 8px)",
|
|
78
84
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -80,8 +86,10 @@ var NameContainer = exports.NameContainer = _styled.default.span({
|
|
|
80
86
|
});
|
|
81
87
|
|
|
82
88
|
/* Override Avatar styles to match design spec */
|
|
89
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
90
|
+
var AvatarWrapper = exports.AvatarWrapper =
|
|
83
91
|
// 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
|
|
84
|
-
|
|
92
|
+
_styled.default.div({
|
|
85
93
|
height: "var(--ds-space-200, 16px)",
|
|
86
94
|
width: "var(--ds-space-200, 16px)",
|
|
87
95
|
alignSelf: 'center',
|
|
@@ -116,6 +116,7 @@ var ReactNodeView = exports.ReactNodeView = /*#__PURE__*/function () {
|
|
|
116
116
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
117
117
|
this.portalKey = (0, _uuid.v4)();
|
|
118
118
|
// Creating span under the assumption that all node views will be inline elements in JQL Editor
|
|
119
|
+
// eslint-disable-next-line @atlaskit/platform/no-direct-document-usage -- ProseMirror NodeView requires a real DOM container
|
|
119
120
|
this.dom = document.createElement('span');
|
|
120
121
|
this.dom.setAttribute('data-testid', 'jql-editor-node-view');
|
|
121
122
|
}
|
package/dist/cjs/schema/index.js
CHANGED
|
@@ -20,7 +20,7 @@ var _createNodeSpec = require("../plugins/rich-inline-nodes/util/create-node-spe
|
|
|
20
20
|
var _documentText = require("../utils/document-text");
|
|
21
21
|
var _splitTextByNewLine = require("../utils/split-text-by-new-line");
|
|
22
22
|
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; }
|
|
23
|
-
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) { (0, _defineProperty2.default)(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; }
|
|
23
|
+
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) { (0, _defineProperty2.default)(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; } /* eslint-disable @atlaskit/platform/no-direct-document-usage -- ProseMirror schema uses document to build DOM markers */
|
|
24
24
|
var createMarkWithStyle = function createMarkWithStyle(tokenType) {
|
|
25
25
|
var mark = document.createElement('span');
|
|
26
26
|
mark.className = "mark-token-".concat(tokenType);
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -8,4 +8,5 @@ exports.default = void 0;
|
|
|
8
8
|
var _errorBoundary = require("./error-boundary");
|
|
9
9
|
var _intlProvider = require("./intl-provider");
|
|
10
10
|
var _jqlEditor = _interopRequireDefault(require("./jql-editor"));
|
|
11
|
-
var
|
|
11
|
+
var _default_1 = (0, _intlProvider.withIntlProvider)((0, _errorBoundary.withErrorBoundary)(_jqlEditor.default));
|
|
12
|
+
var _default = exports.default = _default_1;
|
|
@@ -76,4 +76,5 @@ var JQLEditorInner = function JQLEditorInner(_ref) {
|
|
|
76
76
|
inputRef: inputRef
|
|
77
77
|
}))));
|
|
78
78
|
};
|
|
79
|
-
var
|
|
79
|
+
var _default_1 = (0, _reactIntl.injectIntl)(JQLEditorInner);
|
|
80
|
+
var _default = exports.default = _default_1;
|
|
@@ -8,8 +8,14 @@ exports.ExpandToggleContainer = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var ExpandToggleContainer = exports.ExpandToggleContainer =
|
|
11
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
18
|
+
_styled.default.div({
|
|
13
19
|
/* Override background styles for our button to match designs */
|
|
14
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
15
21
|
'> button': {
|
|
@@ -8,8 +8,14 @@ exports.SyntaxHelpContainer = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var SyntaxHelpContainer = exports.SyntaxHelpContainer =
|
|
11
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
18
|
+
_styled.default.div({
|
|
13
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
14
20
|
'> a': {
|
|
15
21
|
background: "var(--ds-background-neutral-bold, #292A2E)",
|
|
@@ -12,8 +12,12 @@ var _styled2 = require("../../../common/styled");
|
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
14
|
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
|
+
var HelpContainer = exports.HelpContainer =
|
|
15
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
-
|
|
20
|
+
_styled.default.div({
|
|
17
21
|
display: 'flex',
|
|
18
22
|
marginLeft: 'auto',
|
|
19
23
|
marginRight: 0,
|
|
@@ -8,16 +8,24 @@ exports.MessageList = exports.MessageContainer = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var MessageContainer = exports.MessageContainer =
|
|
11
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
18
|
+
_styled.default.div(function (props) {
|
|
13
19
|
return {
|
|
14
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
21
|
paddingLeft: props.isSearch ? "var(--ds-space-100, 8px)" : "var(--ds-space-0, 0px)"
|
|
16
22
|
};
|
|
17
23
|
});
|
|
18
24
|
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
|
+
var MessageList = exports.MessageList =
|
|
19
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
|
-
|
|
28
|
+
_styled.default.ul({
|
|
21
29
|
margin: 0,
|
|
22
30
|
paddingLeft: "var(--ds-space-300, 24px)"
|
|
23
31
|
});
|
|
@@ -11,7 +11,8 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
11
11
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
12
|
var _constants = require("@atlaskit/theme/constants");
|
|
13
13
|
var _constants2 = require("../../plugins/validation-tooltip/constants");
|
|
14
|
-
var _templateObject, _templateObject2, _templateObject3
|
|
14
|
+
var _templateObject, _templateObject2, _templateObject3; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
var fadeIn = (0, _react.keyframes)({
|
|
17
18
|
from: {
|
|
@@ -31,11 +32,14 @@ var fadeOut = (0, _react.keyframes)({
|
|
|
31
32
|
}
|
|
32
33
|
});
|
|
33
34
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/
|
|
35
|
-
var EditorMain = exports.EditorMain =
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
36
|
+
var EditorMain = exports.EditorMain = // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
37
|
+
_styled.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\t/* CSS reset */\n\t\tfont-family: ", ";\n\t\tfont-size: 14px;\n\t\tflex-grow: 1;\n\n\t\t/* These styles and animations are derived from @atlaskit/tooltip */\n\n\t\t.", " {\n\t\t\tbackground-color: ", ";\n\t\t\tcolor: ", ";\n\t\t\tborder-radius: ", ";\n\t\t\tbox-sizing: border-box;\n\t\t\tfont: ", ";\n\t\t\tline-height: 1.3;\n\t\t\tmax-width: 240px;\n\t\t\tpadding: ", " ", ";\n\t\t\tword-wrap: break-word;\n\t\t\toverflow-wrap: break-word;\n\t\t\tz-index: ", ";\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\tvisibility: hidden;\n\n\t\t\t/* Horizontally center and vertically position above the target element */\n\t\t\ttransform: translate(-50%, calc(-100% - ", "));\n\n\t\t\t&.", " {\n\t\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t\t\tvisibility: visible;\n\t\t\t}\n\n\t\t\t&.", " {\n\t\t\t\tanimation: ", " 350ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\t\t}\n\t\t}\n\t"])), "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", _constants2.TOOLTIP_CLASSNAME, "var(--ds-background-neutral-bold, #292A2E)", "var(--ds-text-inverse, #FFFFFF)", "var(--ds-radius-small, 3px)", "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", _constants.layers.tooltip(), "var(--ds-space-200, 16px)", _constants2.TOOLTIP_ENTER_CLASSNAME, fadeIn, _constants2.TOOLTIP_EXIT_CLASSNAME, fadeOut);
|
|
36
38
|
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
40
|
+
var EditorFooter = exports.EditorFooter =
|
|
37
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
|
-
|
|
42
|
+
_styled.default.div({
|
|
39
43
|
display: 'flex',
|
|
40
44
|
justifyContent: 'space-between',
|
|
41
45
|
minHeight: '20px'
|
|
@@ -48,8 +52,10 @@ var getEditorInputVerticalPadding = function getEditorInputVerticalPadding(isCom
|
|
|
48
52
|
return isCompact ? 3 : 7;
|
|
49
53
|
};
|
|
50
54
|
var editorInputHorizontalPadding = 6;
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
56
|
+
var EditorViewContainer = exports.EditorViewContainer =
|
|
51
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
52
|
-
|
|
58
|
+
_styled.default.div({
|
|
53
59
|
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
54
60
|
borderStyle: 'solid',
|
|
55
61
|
borderWidth: "var(--ds-border-width, 1px)",
|
|
@@ -88,15 +94,19 @@ function (props) {
|
|
|
88
94
|
});
|
|
89
95
|
});
|
|
90
96
|
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
98
|
+
var ReadOnlyEditorViewContainer = exports.ReadOnlyEditorViewContainer =
|
|
91
99
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
92
|
-
|
|
100
|
+
(0, _styled.default)(EditorViewContainer)({
|
|
93
101
|
backgroundColor: "var(--ds-background-disabled, #17171708)",
|
|
94
102
|
color: "var(--ds-text-disabled, #080F214A)",
|
|
95
103
|
pointerEvents: 'none'
|
|
96
104
|
});
|
|
97
105
|
|
|
106
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
107
|
+
var LineNumberToolbar = exports.LineNumberToolbar =
|
|
98
108
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
99
|
-
|
|
109
|
+
_styled.default.div({
|
|
100
110
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
101
111
|
flexShrink: 0,
|
|
102
112
|
width: '30px',
|
|
@@ -115,8 +125,9 @@ function (props) {
|
|
|
115
125
|
/**
|
|
116
126
|
* The main div which the Prosemirror editor will be rendered into.
|
|
117
127
|
*/
|
|
118
|
-
// eslint-disable-next-line @atlaskit/
|
|
119
|
-
var EditorView = exports.EditorView =
|
|
128
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
129
|
+
var EditorView = exports.EditorView = // eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
130
|
+
_styled.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\t\tcounter-reset: lineNumber;\n\t\tflex-grow: 1;\n\n\t\ttransition:\n\t\t\theight 250ms cubic-bezier(0.15, 1, 0.3, 1),\n\t\t\tmax-height 250ms cubic-bezier(0.15, 1, 0.3, 1);\n\t\tmax-height: ", "px;\n\t\tline-height: ", ";\n\t\t", "\n\t\t", "\n\tfont-family: ", ";\n\t\tword-break: break-word;\n\t\toverflow-wrap: anywhere;\n\t\twhite-space: pre-wrap;\n\n\t\t&[data-expanded] {\n\t\t\theight: ", "px;\n\t\t\tmax-height: ", "px;\n\t\t}\n\n\t\t.ProseMirror {\n\t\t\tcolor: ", ";\n\t\t\tpadding: ", "px\n\t\t\t\t", "px;\n\n\t\t\t&:focus {\n\t\t\t\toutline: none;\n\t\t\t}\n\n\t\t\t.mark-token-keyword {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-field {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-operator {\n\t\t\t\tcolor: ", ";\n\t\t\t}\n\n\t\t\t.mark-token-error {\n\t\t\t\tcolor: ", ";\n\t\t\t\ttext-decoration: wavy underline;\n\t\t\t\ttext-decoration-thickness: 1px;\n\t\t\t\ttext-decoration-skip-ink: none;\n\t\t\t}\n\t\t}\n\n\t\tp {\n\t\t\tmargin: 0;\n\t\t\tcounter-increment: lineNumber;\n\t\t\tposition: relative;\n\n\t\t\t/* Show the current line number before each paragraph block. */\n\n\t\t\t&::before {\n\t\t\t\tcontent: counter(lineNumber);\n\t\t\t\tcolor: ", ";\n\t\t\t\tfont-size: 10px;\n\t\t\t\tline-height: ", ";\n\t\t\t\tpadding: 0 ", " 0 ", ";\n\t\t\t\tposition: absolute;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\t/* Shift the line number tag 100% (plus 8px padding) to the left to position it inside the LineNumberToolbar */\n\t\t\t\ttransform: translateX(calc(-100% - ", "));\n\n\t\t\t\t/* We can fit 3 digits before ellipses. This is not very responsive but saves us having to add expensive width\n recalculation logic to the LineNumberToolbar for a scenario that *should* never happen. */\n\t\t\t\tmax-width: 30px;\n\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\toverflow: hidden;\n\t\t\t\twhite-space: nowrap;\n\n\t\t\t\t", "\n\t\t\t}\n\t\t}\n\t"])), function (props) {
|
|
120
131
|
return rowHeight * props.defaultMaxRows + getEditorInputVerticalPadding(props.isCompact) * 2;
|
|
121
132
|
}, rowHeight / 14, function (props) {
|
|
122
133
|
return props.defaultRows && (0, _platformFeatureFlags.fg)('list_lovability_improving_filters') ? 'height: ' + (rowHeight * props.defaultRows + getEditorInputVerticalPadding(props.isCompact) * 2) + 'px;' : '';
|
|
@@ -130,19 +141,27 @@ var EditorView = exports.EditorView = _styled.default.div(_templateObject2 || (_
|
|
|
130
141
|
return getEditorInputVerticalPadding(props.isCompact);
|
|
131
142
|
}, editorInputHorizontalPadding, "var(--ds-text-accent-purple, #803FA5)", "var(--ds-text-accent-blue, #1558BC)", "var(--ds-text-accent-green, #216E4E)", "var(--ds-text-danger, #AE2E24)", "var(--ds-text-subtlest, #6B6E76)", rowHeight / 10, "var(--ds-space-100, 8px)", "var(--ds-space-025, 2px)", "var(--ds-space-100, 8px)", function (props) {
|
|
132
143
|
return !props.lineNumbersVisible && // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression
|
|
133
|
-
(0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\tdisplay: none;\n\t\t\t\t"])));
|
|
144
|
+
(0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t\t\tdisplay: none;\n\t\t\t\t\t"])));
|
|
134
145
|
});
|
|
135
146
|
|
|
136
147
|
// FIXME: convert-props-syntax rule doesn't catch this
|
|
137
|
-
// eslint-disable-next-line @atlaskit/
|
|
138
|
-
var ReadOnlyEditorView = exports.ReadOnlyEditorView =
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
148
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
149
|
+
var ReadOnlyEditorView = exports.ReadOnlyEditorView = /* eslint-disable @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-dynamic-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766 */
|
|
150
|
+
(0, _styled.default)(EditorView)(function (props) {
|
|
151
|
+
return {
|
|
152
|
+
padding: "".concat(getEditorInputVerticalPadding(props.isCompact), "px ").concat(editorInputHorizontalPadding, "px"),
|
|
153
|
+
maxHeight: "".concat(rowHeight * props.defaultMaxRows, "px"),
|
|
154
|
+
'> p': {
|
|
155
|
+
minHeight: "".concat(rowHeight, "px")
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
});
|
|
159
|
+
/* eslint-enable @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-dynamic-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-nested-selectors */
|
|
143
160
|
|
|
161
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
162
|
+
var EditorControls = exports.EditorControls =
|
|
144
163
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
145
|
-
|
|
164
|
+
_styled.default.div(function (props) {
|
|
146
165
|
return {
|
|
147
166
|
alignItems: 'center',
|
|
148
167
|
display: 'flex',
|
|
@@ -8,7 +8,13 @@ exports.StyledTooltipTag = void 0;
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
|
+
var StyledTooltipTag = exports.StyledTooltipTag =
|
|
11
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
18
|
+
_styled.default.div({
|
|
13
19
|
display: 'flex'
|
|
14
20
|
});
|
|
@@ -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
|