@atlaskit/renderer 128.3.6 → 128.3.8

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,22 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 128.3.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`85bf86ad39118`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85bf86ad39118) -
8
+ Replace deprecated @atlaskit/navigation-next with @atlaskit/navigation-system in renderer examples
9
+ - Updated dependencies
10
+
11
+ ## 128.3.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [`ff6221892c2d0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff6221892c2d0) -
16
+ EDITOR-6158: Stop hiding list markers on list items containing nested task lists to fix
17
+ inconsistent marker visibility
18
+ - Updated dependencies
19
+
3
20
  ## 128.3.6
4
21
 
5
22
  ### Patch Changes
@@ -107,7 +107,7 @@ function HeadingWithDuplicateAnchor(props) {
107
107
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
108
108
  "data-as-inline": asInline,
109
109
  onMouseEnter: mouseEnterHandler,
110
- tabIndex: (0, _expValEquals.expValEquals)("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
110
+ tabIndex: (0, _expValEquals.expValEquals)('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
111
111
  }, (0, _react2.jsx)(_react.default.Fragment, null, showAnchorLink && headingId && isRightAligned && (0, _react2.jsx)(WrappedHeadingAnchor, {
112
112
  level: props.level,
113
113
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -173,7 +173,7 @@ function HeadingWithWrapper(props) {
173
173
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
174
174
  "data-as-inline": asInline,
175
175
  onMouseEnter: mouseEnterHandler,
176
- tabIndex: (0, _expValEquals.expValEquals)("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
176
+ tabIndex: (0, _expValEquals.expValEquals)('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
177
177
  }, props.children), showAnchorLink && headingId && !isRightAligned && (0, _react2.jsx)(WrappedHeadingAnchor, {
178
178
  level: props.level,
179
179
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -711,14 +711,14 @@ var listsSharedStylesForGekko = (0, _react.css)({
711
711
  var listItemHiddenMarkerStyles = (0, _react.css)({
712
712
  // Hide markers and remove spacing for wrapper list items (items containing only nested lists)
713
713
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
714
- 'li:has(> ul:only-child), li:has(> ol:only-child), li:has(> div[data-node-type="actionList"]:only-child)': {
714
+ 'li:has(> ul:only-child), li:has(> ol:only-child)': {
715
715
  listStyleType: 'none',
716
716
  marginTop: 0,
717
717
  marginBottom: 0
718
718
  },
719
719
  // Remove margin from nested lists inside wrapper list items to avoid double spacing
720
720
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
721
- 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol, li:has(> div[data-node-type="actionList"]:only-child) > div[data-node-type="actionList"]': {
721
+ 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol': {
722
722
  marginTop: 0
723
723
  },
724
724
  // Collapse wrapper task items (empty task items followed by a sibling nested task list)
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
71
71
  var TABLE_INFO_TIMEOUT = 10000;
72
72
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
73
73
  var packageName = "@atlaskit/renderer";
74
- var packageVersion = "128.3.5";
74
+ var packageVersion = "128.3.7";
75
75
  var setAsQueryContainerStyles = (0, _react2.css)({
76
76
  containerName: 'ak-renderer-wrapper',
77
77
  containerType: 'inline-size'
@@ -97,7 +97,7 @@ function HeadingWithDuplicateAnchor(props) {
97
97
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
98
98
  "data-as-inline": asInline,
99
99
  onMouseEnter: mouseEnterHandler,
100
- tabIndex: expValEquals("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
100
+ tabIndex: expValEquals('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
101
101
  }, jsx(React.Fragment, null, showAnchorLink && headingId && isRightAligned && jsx(WrappedHeadingAnchor, {
102
102
  level: props.level,
103
103
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -165,7 +165,7 @@ function HeadingWithWrapper(props) {
165
165
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
166
166
  "data-as-inline": asInline,
167
167
  onMouseEnter: mouseEnterHandler,
168
- tabIndex: expValEquals("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
168
+ tabIndex: expValEquals('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
169
169
  }, props.children), showAnchorLink && headingId && !isRightAligned && jsx(WrappedHeadingAnchor, {
170
170
  level: props.level,
171
171
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -834,14 +834,14 @@ const listsSharedStylesForGekko = css({
834
834
  const listItemHiddenMarkerStyles = css({
835
835
  // Hide markers and remove spacing for wrapper list items (items containing only nested lists)
836
836
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
837
- 'li:has(> ul:only-child), li:has(> ol:only-child), li:has(> div[data-node-type="actionList"]:only-child)': {
837
+ 'li:has(> ul:only-child), li:has(> ol:only-child)': {
838
838
  listStyleType: 'none',
839
839
  marginTop: 0,
840
840
  marginBottom: 0
841
841
  },
842
842
  // Remove margin from nested lists inside wrapper list items to avoid double spacing
843
843
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
844
- 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol, li:has(> div[data-node-type="actionList"]:only-child) > div[data-node-type="actionList"]': {
844
+ 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol': {
845
845
  marginTop: 0
846
846
  },
847
847
  // Collapse wrapper task items (empty task items followed by a sibling nested task list)
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  const TABLE_INFO_TIMEOUT = 10000;
58
58
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
59
59
  const packageName = "@atlaskit/renderer";
60
- const packageVersion = "128.3.5";
60
+ const packageVersion = "128.3.7";
61
61
  const setAsQueryContainerStyles = css({
62
62
  containerName: 'ak-renderer-wrapper',
63
63
  containerType: 'inline-size'
@@ -98,7 +98,7 @@ function HeadingWithDuplicateAnchor(props) {
98
98
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
99
99
  "data-as-inline": asInline,
100
100
  onMouseEnter: mouseEnterHandler,
101
- tabIndex: expValEquals("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
101
+ tabIndex: expValEquals('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
102
102
  }, jsx(React.Fragment, null, showAnchorLink && headingId && isRightAligned && jsx(WrappedHeadingAnchor, {
103
103
  level: props.level,
104
104
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -164,7 +164,7 @@ function HeadingWithWrapper(props) {
164
164
  "data-renderer-start-pos": dataAttributes['data-renderer-start-pos'],
165
165
  "data-as-inline": asInline,
166
166
  onMouseEnter: mouseEnterHandler,
167
- tabIndex: expValEquals("confluence_toc_nav_a11y", "isEnabled", true) ? -1 : undefined
167
+ tabIndex: expValEquals('confluence_toc_nav_a11y', 'isEnabled', true) ? -1 : undefined
168
168
  }, props.children), showAnchorLink && headingId && !isRightAligned && jsx(WrappedHeadingAnchor, {
169
169
  level: props.level,
170
170
  enableNestedHeaderLinks: enableNestedHeaderLinks,
@@ -704,14 +704,14 @@ var listsSharedStylesForGekko = css({
704
704
  var listItemHiddenMarkerStyles = css({
705
705
  // Hide markers and remove spacing for wrapper list items (items containing only nested lists)
706
706
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
707
- 'li:has(> ul:only-child), li:has(> ol:only-child), li:has(> div[data-node-type="actionList"]:only-child)': {
707
+ 'li:has(> ul:only-child), li:has(> ol:only-child)': {
708
708
  listStyleType: 'none',
709
709
  marginTop: 0,
710
710
  marginBottom: 0
711
711
  },
712
712
  // Remove margin from nested lists inside wrapper list items to avoid double spacing
713
713
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
714
- 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol, li:has(> div[data-node-type="actionList"]:only-child) > div[data-node-type="actionList"]': {
714
+ 'li:has(> ul:only-child) > ul, li:has(> ol:only-child) > ol': {
715
715
  marginTop: 0
716
716
  },
717
717
  // Collapse wrapper task items (empty task items followed by a sibling nested task list)
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
62
62
  var TABLE_INFO_TIMEOUT = 10000;
63
63
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
64
64
  var packageName = "@atlaskit/renderer";
65
- var packageVersion = "128.3.5";
65
+ var packageVersion = "128.3.7";
66
66
  var setAsQueryContainerStyles = css({
67
67
  containerName: 'ak-renderer-wrapper',
68
68
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "128.3.6",
3
+ "version": "128.3.8",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,12 +55,12 @@
55
55
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
56
56
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
57
57
  "@atlaskit/react-ufo": "^5.5.0",
58
- "@atlaskit/smart-card": "^43.27.0",
58
+ "@atlaskit/smart-card": "^43.28.0",
59
59
  "@atlaskit/status": "^3.1.0",
60
60
  "@atlaskit/task-decision": "^19.3.0",
61
61
  "@atlaskit/theme": "^22.0.0",
62
- "@atlaskit/tmp-editor-statsig": "^46.1.0",
63
- "@atlaskit/tokens": "^11.2.0",
62
+ "@atlaskit/tmp-editor-statsig": "^48.0.0",
63
+ "@atlaskit/tokens": "^11.3.0",
64
64
  "@atlaskit/tooltip": "^21.0.0",
65
65
  "@atlaskit/visually-hidden": "^3.0.0",
66
66
  "@babel/runtime": "^7.0.0",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^3.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^112.10.0",
76
+ "@atlaskit/editor-common": "^112.11.0",
77
77
  "@atlaskit/link-provider": "^4.3.0",
78
78
  "@atlaskit/media-core": "^37.0.0",
79
79
  "react": "^18.2.0",
@@ -90,9 +90,10 @@
90
90
  "@atlaskit/media-integration-test-helpers": "workspace:^",
91
91
  "@atlaskit/media-test-helpers": "^40.0.0",
92
92
  "@atlaskit/mention": "^24.6.0",
93
- "@atlaskit/modal-dialog": "^14.12.0",
94
- "@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
93
+ "@atlaskit/modal-dialog": "^14.13.0",
94
+ "@atlaskit/navigation-system": "^7.1.0",
95
95
  "@atlaskit/profilecard": "^24.44.0",
96
+ "@atlaskit/side-nav-items": "^1.12.0",
96
97
  "@atlaskit/util-data-test": "^18.5.0",
97
98
  "@atlassian/a11y-jest-testing": "^0.10.0",
98
99
  "@atlassian/feature-flags-test-utils": "^1.0.0",