@atlaskit/spotlight 0.3.4 → 0.3.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/types/ui/actions/index.d.ts +1 -1
  3. package/dist/types/ui/body/index.d.ts +1 -1
  4. package/dist/types/ui/card/caret/index.d.ts +1 -1
  5. package/dist/types/ui/card/index.d.ts +1 -1
  6. package/dist/types/ui/controls/index.d.ts +1 -1
  7. package/dist/types/ui/dismiss-control/index.d.ts +1 -1
  8. package/dist/types/ui/footer/index.d.ts +1 -1
  9. package/dist/types/ui/header/index.d.ts +1 -1
  10. package/dist/types/ui/headline/index.d.ts +1 -1
  11. package/dist/types/ui/media/index.d.ts +1 -1
  12. package/dist/types/ui/primary-action/index.d.ts +1 -1
  13. package/dist/types/ui/secondary-action/index.d.ts +1 -1
  14. package/dist/types/ui/show-more-control/index.d.ts +1 -1
  15. package/dist/types/ui/step-count/index.d.ts +1 -1
  16. package/dist/types-ts4.5/ui/actions/index.d.ts +1 -1
  17. package/dist/types-ts4.5/ui/body/index.d.ts +1 -1
  18. package/dist/types-ts4.5/ui/card/caret/index.d.ts +1 -1
  19. package/dist/types-ts4.5/ui/card/index.d.ts +1 -1
  20. package/dist/types-ts4.5/ui/controls/index.d.ts +1 -1
  21. package/dist/types-ts4.5/ui/dismiss-control/index.d.ts +1 -1
  22. package/dist/types-ts4.5/ui/footer/index.d.ts +1 -1
  23. package/dist/types-ts4.5/ui/header/index.d.ts +1 -1
  24. package/dist/types-ts4.5/ui/headline/index.d.ts +1 -1
  25. package/dist/types-ts4.5/ui/media/index.d.ts +1 -1
  26. package/dist/types-ts4.5/ui/primary-action/index.d.ts +1 -1
  27. package/dist/types-ts4.5/ui/secondary-action/index.d.ts +1 -1
  28. package/dist/types-ts4.5/ui/show-more-control/index.d.ts +1 -1
  29. package/dist/types-ts4.5/ui/step-count/index.d.ts +1 -1
  30. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/spotlight
2
2
 
3
+ ## 0.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
3
11
  ## 0.3.4
4
12
 
5
13
  ### Patch Changes
@@ -21,4 +21,4 @@ export interface SpotlightActionsProps {
21
21
  * `SpotlightActions` groups `SpotlightAction` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightActions: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightActionsProps> & React.RefAttributes<HTMLDivElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightBodyProps {
22
22
  * `SpotlightBody` is required in a `Spotlight`. The content should be brief and direct to elaborate on the intent.
23
23
  *
24
24
  */
25
- export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightBody: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightBodyProps> & React.RefAttributes<HTMLDivElement>>;
@@ -12,4 +12,4 @@ export interface CaretProps {
12
12
  * A `Caret` is a purely visual pointer displayed on the edge of a spotlight, which points to the target element.
13
13
  *
14
14
  */
15
- export declare const Caret: import("react").ForwardRefExoticComponent<CaretProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ export declare const Caret: React.ForwardRefExoticComponent<React.PropsWithoutRef<CaretProps> & React.RefAttributes<HTMLDivElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightCardProps {
21
21
  * The base UI card that wraps composable spotlight components.
22
22
  *
23
23
  */
24
- export declare const SpotlightCard: import("react").ForwardRefExoticComponent<SpotlightCardProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightCard: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightCardProps> & React.RefAttributes<HTMLDivElement>>;
@@ -20,4 +20,4 @@ export interface SpotlightControlsProps {
20
20
  *
21
21
  * `SpotlightControls` groups spotlight control components.
22
22
  */
23
- export declare const SpotlightControls: import("react").ForwardRefExoticComponent<SpotlightControlsProps & import("react").RefAttributes<HTMLDivElement>>;
23
+ export declare const SpotlightControls: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightControlsProps> & React.RefAttributes<HTMLDivElement>>;
@@ -25,4 +25,4 @@ export interface SpotlightDismissControlProps {
25
25
  * SpotlightDismissControl allows the user to close the `Spotlight`.
26
26
  *
27
27
  */
28
- export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
28
+ export declare const SpotlightDismissControl: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightDismissControlProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightFooterProps {
21
21
  * `SpotlightFooter` is intended to display the `SpotlightActions` and `SpotLightStepCount` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightFooter: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightFooterProps> & React.RefAttributes<HTMLDivElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightHeaderProps {
22
22
  * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
23
23
  *
24
24
  */
25
- export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightHeader: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightHeaderProps> & React.RefAttributes<HTMLDivElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightHeadlineProps {
21
21
  * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
22
22
  *
23
23
  */
24
- export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
24
+ export declare const SpotlightHeadline: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightHeadlineProps> & React.RefAttributes<HTMLHeadingElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightMediaProps {
22
22
  * `SpotlightMedia` is optional in a `Spotlight`.
23
23
  *
24
24
  */
25
- export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightMedia: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightMediaProps> & React.RefAttributes<HTMLDivElement>>;
@@ -31,4 +31,4 @@ export interface SpotlightPrimaryActionProps {
31
31
  * for single step spotlights, or to show the next step on multi step spotlight tours.
32
32
  *
33
33
  */
34
- export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
34
+ export declare const SpotlightPrimaryAction: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightPrimaryActionProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -31,4 +31,4 @@ export interface SpotlightSecondaryActionProps {
31
31
  * It is intended to be used to go back to the previous step in multi step spotlight tours, or other similar actions.
32
32
  *
33
33
  */
34
- export declare const SpotlightSecondaryAction: import("react").ForwardRefExoticComponent<SpotlightSecondaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
34
+ export declare const SpotlightSecondaryAction: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightSecondaryActionProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -17,4 +17,4 @@ export interface SpotlightShowMoreControlProps {
17
17
  * SpotlightShowMoreControl allows the user to close the `Spotlight`.
18
18
  *
19
19
  */
20
- export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightShowMoreControl: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightShowMoreControlProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightStepCountProps {
21
21
  * `SpotlightStepCount` groups `SpotlightAction` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;
24
+ export declare const SpotlightStepCount: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightStepCountProps> & React.RefAttributes<HTMLSpanElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightActionsProps {
21
21
  * `SpotlightActions` groups `SpotlightAction` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightActions: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightActionsProps> & React.RefAttributes<HTMLDivElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightBodyProps {
22
22
  * `SpotlightBody` is required in a `Spotlight`. The content should be brief and direct to elaborate on the intent.
23
23
  *
24
24
  */
25
- export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightBody: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightBodyProps> & React.RefAttributes<HTMLDivElement>>;
@@ -12,4 +12,4 @@ export interface CaretProps {
12
12
  * A `Caret` is a purely visual pointer displayed on the edge of a spotlight, which points to the target element.
13
13
  *
14
14
  */
15
- export declare const Caret: import("react").ForwardRefExoticComponent<CaretProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ export declare const Caret: React.ForwardRefExoticComponent<React.PropsWithoutRef<CaretProps> & React.RefAttributes<HTMLDivElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightCardProps {
21
21
  * The base UI card that wraps composable spotlight components.
22
22
  *
23
23
  */
24
- export declare const SpotlightCard: import("react").ForwardRefExoticComponent<SpotlightCardProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightCard: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightCardProps> & React.RefAttributes<HTMLDivElement>>;
@@ -20,4 +20,4 @@ export interface SpotlightControlsProps {
20
20
  *
21
21
  * `SpotlightControls` groups spotlight control components.
22
22
  */
23
- export declare const SpotlightControls: import("react").ForwardRefExoticComponent<SpotlightControlsProps & import("react").RefAttributes<HTMLDivElement>>;
23
+ export declare const SpotlightControls: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightControlsProps> & React.RefAttributes<HTMLDivElement>>;
@@ -25,4 +25,4 @@ export interface SpotlightDismissControlProps {
25
25
  * SpotlightDismissControl allows the user to close the `Spotlight`.
26
26
  *
27
27
  */
28
- export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
28
+ export declare const SpotlightDismissControl: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightDismissControlProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightFooterProps {
21
21
  * `SpotlightFooter` is intended to display the `SpotlightActions` and `SpotLightStepCount` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightFooter: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightFooterProps> & React.RefAttributes<HTMLDivElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightHeaderProps {
22
22
  * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
23
23
  *
24
24
  */
25
- export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightHeader: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightHeaderProps> & React.RefAttributes<HTMLDivElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightHeadlineProps {
21
21
  * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
22
22
  *
23
23
  */
24
- export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
24
+ export declare const SpotlightHeadline: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightHeadlineProps> & React.RefAttributes<HTMLHeadingElement>>;
@@ -22,4 +22,4 @@ export interface SpotlightMediaProps {
22
22
  * `SpotlightMedia` is optional in a `Spotlight`.
23
23
  *
24
24
  */
25
- export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightMedia: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightMediaProps> & React.RefAttributes<HTMLDivElement>>;
@@ -31,4 +31,4 @@ export interface SpotlightPrimaryActionProps {
31
31
  * for single step spotlights, or to show the next step on multi step spotlight tours.
32
32
  *
33
33
  */
34
- export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
34
+ export declare const SpotlightPrimaryAction: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightPrimaryActionProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -31,4 +31,4 @@ export interface SpotlightSecondaryActionProps {
31
31
  * It is intended to be used to go back to the previous step in multi step spotlight tours, or other similar actions.
32
32
  *
33
33
  */
34
- export declare const SpotlightSecondaryAction: import("react").ForwardRefExoticComponent<SpotlightSecondaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
34
+ export declare const SpotlightSecondaryAction: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightSecondaryActionProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -17,4 +17,4 @@ export interface SpotlightShowMoreControlProps {
17
17
  * SpotlightShowMoreControl allows the user to close the `Spotlight`.
18
18
  *
19
19
  */
20
- export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightShowMoreControl: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightShowMoreControlProps> & React.RefAttributes<HTMLButtonElement>>;
@@ -21,4 +21,4 @@ export interface SpotlightStepCountProps {
21
21
  * `SpotlightStepCount` groups `SpotlightAction` components.
22
22
  *
23
23
  */
24
- export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;
24
+ export declare const SpotlightStepCount: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightStepCountProps> & React.RefAttributes<HTMLSpanElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/spotlight",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "A spotlight introduces users to various points of interest across Atlassian through focused messages or multi-step tours.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  "@atlaskit/image": "^3.0.0",
34
34
  "@atlaskit/popper": "^7.1.0",
35
35
  "@atlaskit/primitives": "^14.15.0",
36
- "@atlaskit/tokens": "^6.3.0",
36
+ "@atlaskit/tokens": "^6.4.0",
37
37
  "@atlaskit/visually-hidden": "^3.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@compiled/react": "^0.18.3"