@atlaskit/editor-plugin-status 4.1.3 → 4.1.4

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
+ ## 4.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.1.3
4
10
 
5
11
  ### Patch Changes
@@ -13,7 +13,9 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
13
  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; }
14
14
  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; }
15
15
  // eg. Version/4.0 Chrome/95.0.4638.50
16
- var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* Chrome\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/.test(window.navigator.userAgent);
16
+ var isAndroidChromium =
17
+ // @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
18
+ typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* Chrome\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/.test(window.navigator.userAgent);
17
19
  var statusToDOM = exports.statusToDOM = function statusToDOM(node) {
18
20
  var _node$attrs = node.attrs,
19
21
  text = _node$attrs.text,
@@ -4,7 +4,9 @@ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
5
 
6
6
  // eg. Version/4.0 Chrome/95.0.4638.50
7
- const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/.*/u.test(window.navigator.userAgent);
7
+ const isAndroidChromium =
8
+ // @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
9
+ typeof window !== 'undefined' && /Version\/.* Chrome\/.*/u.test(window.navigator.userAgent);
8
10
  export const statusToDOM = node => {
9
11
  const {
10
12
  text,
@@ -7,7 +7,9 @@ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
 
9
9
  // eg. Version/4.0 Chrome/95.0.4638.50
10
- var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* Chrome\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/.test(window.navigator.userAgent);
10
+ var isAndroidChromium =
11
+ // @ts-ignore - TS1501 TypeScript 5.9.2 upgrade
12
+ typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* Chrome\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/.test(window.navigator.userAgent);
11
13
  export var statusToDOM = function statusToDOM(node) {
12
14
  var _node$attrs = node.attrs,
13
15
  text = _node$attrs.text,
@@ -41,6 +41,6 @@ export declare const StatusPickerWithoutAnalytcs: React.FC<import("react-intl-ne
41
41
  WrappedComponent: React.ComponentType<Props>;
42
42
  };
43
43
  declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Props, "intl"> & {
44
- forwardedRef?: React.Ref<any> | undefined;
44
+ forwardedRef?: React.Ref<any>;
45
45
  }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
46
46
  export default _default;
@@ -41,6 +41,6 @@ export declare const StatusPickerWithoutAnalytcs: React.FC<import("react-intl-ne
41
41
  WrappedComponent: React.ComponentType<Props>;
42
42
  };
43
43
  declare const _default: React.ForwardRefExoticComponent<Omit<Omit<Props, "intl"> & {
44
- forwardedRef?: React.Ref<any> | undefined;
44
+ forwardedRef?: React.Ref<any>;
45
45
  }, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
46
46
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,19 +36,19 @@
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
- "@atlaskit/editor-shared-styles": "^3.5.0",
40
- "@atlaskit/icon": "^27.9.0",
39
+ "@atlaskit/editor-shared-styles": "^3.6.0",
40
+ "@atlaskit/icon": "^27.12.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
42
  "@atlaskit/status": "^3.0.0",
43
43
  "@atlaskit/theme": "^19.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^9.22.0",
44
+ "@atlaskit/tmp-editor-statsig": "^10.0.0",
45
45
  "@atlaskit/tokens": "^6.0.0",
46
46
  "@atlaskit/visually-hidden": "^3.0.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@emotion/react": "^11.7.1"
49
49
  },
50
50
  "peerDependencies": {
51
- "@atlaskit/editor-common": "^107.16.0",
51
+ "@atlaskit/editor-common": "^107.25.0",
52
52
  "react": "^18.2.0",
53
53
  "react-dom": "^18.2.0",
54
54
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -58,8 +58,7 @@
58
58
  "@atlaskit/ssr": "workspace:^",
59
59
  "@atlaskit/visual-regression": "workspace:^",
60
60
  "@testing-library/react": "^13.4.0",
61
- "raf-stub": "^2.0.1",
62
- "typescript": "~5.4.2"
61
+ "raf-stub": "^2.0.1"
63
62
  },
64
63
  "techstack": {
65
64
  "@atlassian/frontend": {