@atlaskit/jql-editor 4.0.3 → 4.0.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/jql-editor
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+
3
9
  ## 4.0.3
4
10
 
5
11
  ### 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", "4.0.3", _jqlEditorCommon.ANALYTICS_CHANNEL);
9
+ return (0, _jqlEditorCommon.useJqlPackageAnalytics)(analyticsSource, "@atlaskit/jql-editor", "4.0.4", _jqlEditorCommon.ANALYTICS_CHANNEL);
10
10
  };
@@ -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", "4.0.3", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.0.4", ANALYTICS_CHANNEL);
4
4
  };
@@ -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", "4.0.3", ANALYTICS_CHANNEL);
3
+ return useJqlPackageAnalytics(analyticsSource, "@atlaskit/jql-editor", "4.0.4", ANALYTICS_CHANNEL);
4
4
  };
@@ -1,4 +1,4 @@
1
- import React, { ComponentClass, FunctionComponent } from 'react';
1
+ import { ComponentClass, FunctionComponent } from 'react';
2
2
  import { JQLEditorUIProps } from '../jql-editor/types';
3
3
  type WithErrorBoundaryProps = {
4
4
  /**
@@ -21,5 +21,5 @@ type WithErrorBoundaryProps = {
21
21
  */
22
22
  isCompact?: boolean;
23
23
  };
24
- export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: React.FunctionComponent<Props> | React.ComponentClass<Props, any>) => (props: Props) => JSX.Element;
24
+ export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => JSX.Element;
25
25
  export {};
@@ -1,4 +1,4 @@
1
- import React, { ComponentClass, FunctionComponent } from 'react';
1
+ import { ComponentClass, FunctionComponent } from 'react';
2
2
  type WithIntlProviderProps = {
3
3
  /**
4
4
  * React-intl locale. This should be set to "en" if alternate message sets are not being loaded higher in the React
@@ -6,5 +6,5 @@ type WithIntlProviderProps = {
6
6
  */
7
7
  locale?: string;
8
8
  };
9
- export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: React.FunctionComponent<Omit<Props, "locale">> | React.ComponentClass<Omit<Props, "locale">, any>) => (props: Props) => JSX.Element;
9
+ export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => JSX.Element;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- import React, { ComponentClass, FunctionComponent } from 'react';
1
+ import { ComponentClass, FunctionComponent } from 'react';
2
2
  import { JQLEditorUIProps } from '../jql-editor/types';
3
3
  type WithErrorBoundaryProps = {
4
4
  /**
@@ -21,5 +21,5 @@ type WithErrorBoundaryProps = {
21
21
  */
22
22
  isCompact?: boolean;
23
23
  };
24
- export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: React.FunctionComponent<Props> | React.ComponentClass<Props, any>) => (props: Props) => JSX.Element;
24
+ export declare const withErrorBoundary: <Props extends WithErrorBoundaryProps>(WrappedComponent: FunctionComponent<Props> | ComponentClass<Props>) => (props: Props) => JSX.Element;
25
25
  export {};
@@ -1,4 +1,4 @@
1
- import React, { ComponentClass, FunctionComponent } from 'react';
1
+ import { ComponentClass, FunctionComponent } from 'react';
2
2
  type WithIntlProviderProps = {
3
3
  /**
4
4
  * React-intl locale. This should be set to "en" if alternate message sets are not being loaded higher in the React
@@ -6,5 +6,5 @@ type WithIntlProviderProps = {
6
6
  */
7
7
  locale?: string;
8
8
  };
9
- export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: React.FunctionComponent<Omit<Props, "locale">> | React.ComponentClass<Omit<Props, "locale">, any>) => (props: Props) => JSX.Element;
9
+ export declare const withIntlProvider: <Props extends WithIntlProviderProps>(WrappedComponent: FunctionComponent<Omit<Props, 'locale'>> | ComponentClass<Omit<Props, 'locale'>>) => (props: Props) => JSX.Element;
10
10
  export {};
package/i18n/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/i18n/index.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/i18n/index.d.ts"
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/jql-editor",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
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",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/jql-parser": "^2.0.0",
50
50
  "@atlaskit/spinner": "^16.0.0",
51
51
  "@atlaskit/theme": "^12.6.0",
52
- "@atlaskit/tokens": "^1.41.0",
52
+ "@atlaskit/tokens": "^1.42.0",
53
53
  "@atlaskit/tooltip": "^18.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
@@ -81,7 +81,7 @@
81
81
  "@testing-library/jest-dom": "^5.16.5",
82
82
  "@testing-library/react": "^12.1.5",
83
83
  "@testing-library/react-hooks": "^8.0.1",
84
- "typescript": "~4.9.5",
84
+ "typescript": "~5.4.2",
85
85
  "wait-for-expect": "^1.2.0"
86
86
  },
87
87
  "techstack": {
@@ -124,4 +124,4 @@
124
124
  }
125
125
  },
126
126
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
127
- }
127
+ }