@atlaskit/jql-editor 5.6.5 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/jql-editor
2
2
 
3
+ ## 5.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`8e600a4218a79`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e600a4218a79) -
8
+ [ux] Fixed offset of anonymous user icon in jqlEditor and edited user example to showcase the
9
+ anonymous user icon
10
+
3
11
  ## 5.6.5
4
12
 
5
13
  ### Patch Changes
@@ -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", "5.6.4", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -88,5 +88,12 @@ var AvatarWrapper = exports.AvatarWrapper = _styled.default.div({
88
88
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
89
89
  '> div span': {
90
90
  margin: "var(--ds-space-0, 0px)"
91
+ },
92
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
93
+ // This contains the icon background and needs to move as a unit
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
95
+ '> div > span:has(> span)': {
96
+ position: 'relative',
97
+ top: '-2px'
91
98
  }
92
99
  });
@@ -88,5 +88,12 @@ var AvatarWrapper = exports.AvatarWrapper = _styled.default.div({
88
88
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
89
89
  '> div span': {
90
90
  margin: "var(--ds-space-0, 0px)"
91
+ },
92
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
93
+ // This contains the icon background and needs to move as a unit
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
95
+ '> div > span:has(> span)': {
96
+ position: 'relative',
97
+ top: '-2px'
91
98
  }
92
99
  });
@@ -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", "5.6.4", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
4
4
  };
@@ -80,5 +80,12 @@ export const AvatarWrapper = styled.div({
80
80
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
81
81
  '> div span': {
82
82
  margin: "var(--ds-space-0, 0px)"
83
+ },
84
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
85
+ // This contains the icon background and needs to move as a unit
86
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
87
+ '> div > span:has(> span)': {
88
+ position: 'relative',
89
+ top: '-2px'
83
90
  }
84
91
  });
@@ -80,5 +80,12 @@ export const AvatarWrapper = styled.div({
80
80
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
81
81
  '> div span': {
82
82
  margin: "var(--ds-space-0, 0px)"
83
+ },
84
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
85
+ // This contains the icon background and needs to move as a unit
86
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
87
+ '> div > span:has(> span)': {
88
+ position: 'relative',
89
+ top: '-2px'
83
90
  }
84
91
  });
@@ -1,4 +1,4 @@
1
1
  import { ANALYTICS_CHANNEL, useJqlPackageAnalytics } from '@atlaskit/jql-editor-common';
2
2
  export var useJqlEditorAnalytics = function useJqlEditorAnalytics(analyticsSource) {
3
- return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "5.6.4", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "0.0.0-development", ANALYTICS_CHANNEL);
4
4
  };
@@ -79,5 +79,12 @@ export var AvatarWrapper = styled.div({
79
79
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
80
80
  '> div span': {
81
81
  margin: "var(--ds-space-0, 0px)"
82
+ },
83
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
84
+ // This contains the icon background and needs to move as a unit
85
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
86
+ '> div > span:has(> span)': {
87
+ position: 'relative',
88
+ top: '-2px'
82
89
  }
83
90
  });
@@ -79,5 +79,12 @@ export var AvatarWrapper = styled.div({
79
79
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
80
80
  '> div span': {
81
81
  margin: "var(--ds-space-0, 0px)"
82
+ },
83
+ // Fix fallback icon alignment by targeting the outer AvatarContent span
84
+ // This contains the icon background and needs to move as a unit
85
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
86
+ '> div > span:has(> span)': {
87
+ position: 'relative',
88
+ top: '-2px'
82
89
  }
83
90
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/jql-editor",
3
- "version": "5.6.5",
3
+ "version": "5.7.0",
4
4
  "description": "This package allows consumers to render an advanced JQL editor component to enable autocomplete-assisted authoring and validation of JQL queries.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/afm-i18n-platform-jql-jql-editor": "2.7.0",
36
36
  "@atlaskit/analytics-gas-types": "^5.1.0",
37
37
  "@atlaskit/analytics-next": "^11.1.0",
38
- "@atlaskit/avatar": "^25.4.0",
38
+ "@atlaskit/avatar": "^25.5.0",
39
39
  "@atlaskit/button": "^23.5.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/form": "^14.2.0",