@atlaskit/editor-plugin-status 3.1.0 → 3.1.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.1.0
4
10
 
5
11
  ### Minor Changes
@@ -100,7 +100,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
100
100
  * @returns
101
101
  */
102
102
  var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
103
- if (isSSR || (0, _experiments.editorExperiment)("platform_editor_inline_node_virtualization", "off")) {
103
+ if (isSSR || (0, _experiments.editorExperiment)('platform_editor_inline_node_virtualization', 'off')) {
104
104
  return _adfSchema.status;
105
105
  }
106
106
  return _objectSpread(_objectSpread({}, _adfSchema.status), {}, {
@@ -165,7 +165,7 @@ var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
165
165
  style: (0, _lazyNodeView.convertToInlineCss)({
166
166
  color: appearanceStyle === 'subtle' ? "var(--ds-text, #172B4D)" : '#292A2E',
167
167
  maxWidth: '100%',
168
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
168
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
169
169
  fontWeight: "var(--ds-font-weight-bold, 700)",
170
170
  overflow: 'hidden',
171
171
  textOverflow: 'ellipsis',
@@ -196,8 +196,8 @@ var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
196
196
  };
197
197
  var legacyLozengeTextAttrs = {
198
198
  style: (0, _lazyNodeView.convertToInlineCss)({
199
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
200
- fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
199
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
200
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
201
201
  fontWeight: "var(--ds-font-weight-bold, 700)",
202
202
  overflow: 'hidden',
203
203
  textOverflow: 'ellipsis',
@@ -90,7 +90,7 @@ const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/
90
90
  * @returns
91
91
  */
92
92
  export const statusNodeSpec = () => {
93
- if (isSSR || editorExperiment("platform_editor_inline_node_virtualization", "off")) {
93
+ if (isSSR || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
94
94
  return status;
95
95
  }
96
96
  return {
@@ -159,7 +159,7 @@ export const statusNodeSpec = () => {
159
159
  style: convertToInlineCss({
160
160
  color: appearanceStyle === 'subtle' ? "var(--ds-text, #172B4D)" : '#292A2E',
161
161
  maxWidth: '100%',
162
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
162
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
163
163
  fontWeight: "var(--ds-font-weight-bold, 700)",
164
164
  overflow: 'hidden',
165
165
  textOverflow: 'ellipsis',
@@ -190,8 +190,8 @@ export const statusNodeSpec = () => {
190
190
  };
191
191
  const legacyLozengeTextAttrs = {
192
192
  style: convertToInlineCss({
193
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
194
- fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
193
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
194
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
195
195
  fontWeight: "var(--ds-font-weight-bold, 700)",
196
196
  overflow: 'hidden',
197
197
  textOverflow: 'ellipsis',
@@ -93,7 +93,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
93
93
  * @returns
94
94
  */
95
95
  export var statusNodeSpec = function statusNodeSpec() {
96
- if (isSSR || editorExperiment("platform_editor_inline_node_virtualization", "off")) {
96
+ if (isSSR || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
97
97
  return status;
98
98
  }
99
99
  return _objectSpread(_objectSpread({}, status), {}, {
@@ -158,7 +158,7 @@ export var statusNodeSpec = function statusNodeSpec() {
158
158
  style: convertToInlineCss({
159
159
  color: appearanceStyle === 'subtle' ? "var(--ds-text, #172B4D)" : '#292A2E',
160
160
  maxWidth: '100%',
161
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
161
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
162
162
  fontWeight: "var(--ds-font-weight-bold, 700)",
163
163
  overflow: 'hidden',
164
164
  textOverflow: 'ellipsis',
@@ -189,8 +189,8 @@ export var statusNodeSpec = function statusNodeSpec() {
189
189
  };
190
190
  var legacyLozengeTextAttrs = {
191
191
  style: convertToInlineCss({
192
- font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
193
- fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
192
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
193
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
194
194
  fontWeight: "var(--ds-font-weight-bold, 700)",
195
195
  overflow: 'hidden',
196
196
  textOverflow: 'ellipsis',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
37
  "@atlaskit/analytics-next": "^11.0.0",
38
- "@atlaskit/editor-common": "^100.5.0",
38
+ "@atlaskit/editor-common": "^101.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^2.1.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.4.0",