@atlaskit/spotlight 0.10.4 → 0.10.5

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/spotlight
2
2
 
3
+ ## 0.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.10.4
4
10
 
5
11
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { type Dispatch, type MutableRefObject, type ReactNode, type SetStateAction } from 'react';
5
+ import { type Context, type Dispatch, type MutableRefObject, type ReactNode, type SetStateAction } from 'react';
6
6
  import type { BackEvent, DismissEvent, DoneEvent, Placement } from '../types';
7
7
  export interface SpotlightContextType {
8
8
  card: {
@@ -32,7 +32,7 @@ export interface SpotlightContextType {
32
32
  setAction: (backFn: (_event: BackEvent) => void) => void;
33
33
  };
34
34
  }
35
- export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
35
+ export declare const SpotlightContext: Context<SpotlightContextType>;
36
36
  export declare const SpotlightContextProvider: ({ children }: {
37
37
  children: ReactNode;
38
38
  }) => JSX.Element;
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { type Dispatch, type MutableRefObject, type ReactNode, type SetStateAction } from 'react';
5
+ import { type Context, type Dispatch, type MutableRefObject, type ReactNode, type SetStateAction } from 'react';
6
6
  import type { BackEvent, DismissEvent, DoneEvent, Placement } from '../types';
7
7
  export interface SpotlightContextType {
8
8
  card: {
@@ -32,7 +32,7 @@ export interface SpotlightContextType {
32
32
  setAction: (backFn: (_event: BackEvent) => void) => void;
33
33
  };
34
34
  }
35
- export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
35
+ export declare const SpotlightContext: Context<SpotlightContextType>;
36
36
  export declare const SpotlightContextProvider: ({ children }: {
37
37
  children: ReactNode;
38
38
  }) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/spotlight",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "A spotlight introduces users to points of interest, from focused messages to multi-step tours.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,8 +36,8 @@
36
36
  "@atlaskit/button": "^23.9.0",
37
37
  "@atlaskit/css": "^0.19.0",
38
38
  "@atlaskit/ds-lib": "^5.3.0",
39
- "@atlaskit/heading": "^5.2.0",
40
- "@atlaskit/icon": "^30.0.0",
39
+ "@atlaskit/heading": "^5.3.0",
40
+ "@atlaskit/icon": "^31.0.0",
41
41
  "@atlaskit/image": "^3.0.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@atlaskit/popper": "^7.1.0",
@@ -57,7 +57,7 @@
57
57
  "@af/visual-regression": "workspace:^",
58
58
  "@atlaskit/dropdown-menu": "^16.4.0",
59
59
  "@atlaskit/ssr": "workspace:^",
60
- "@atlassian/a11y-jest-testing": "^0.8.0",
60
+ "@atlassian/a11y-jest-testing": "^0.10.0",
61
61
  "@testing-library/react": "^16.3.0",
62
62
  "react-dom": "^18.2.0"
63
63
  },