@khanacademy/wonder-blocks-tooltip 1.4.0 → 1.4.2

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.
@@ -1,2 +0,0 @@
1
- // @flow
2
- export * from "../src/index.js";
package/docs.md DELETED
@@ -1,4 +0,0 @@
1
- Documentation for `@khanacademy/wonder-blocks-tooltip` is now in Storybook.
2
-
3
- Visit the [Storybook
4
- Tooltip](https://khan.github.io/wonder-blocks/?path=/docs/tooltip) docs on GitHub Pages.
@@ -1,9 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`TooltipTail #render unknown placement, throws 1`] = `"Unknown placement: notaplacement"`;
4
-
5
- exports[`TooltipTail INTERNALS _calculateDimensionsFromPlacement throws on bad placement 1`] = `"Unknown placement: notaplacement"`;
6
-
7
- exports[`TooltipTail INTERNALS _getFilterPositioning throws on bad placement 1`] = `"Unknown placement: notaplacement"`;
8
-
9
- exports[`TooltipTail INTERNALS _minDistanceFromCorners throws on bad placement 1`] = `"Unknown placement: notaplacement"`;
@@ -1,53 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Tooltip Controlled can be opened programmatically: Similar to <TooltipContent>Content</TooltipContent> 1`] = `
4
- <TooltipContent>
5
- Content
6
- </TooltipContent>
7
- `;
8
-
9
- exports[`Tooltip content is TooltipContent with title, overrides title of TooltipContent: Similar to <Body>Some custom content</Body> 1`] = `
10
- <Body
11
- tag="span"
12
- >
13
- Some custom content
14
- </Body>
15
- `;
16
-
17
- exports[`Tooltip content is TooltipContent with title, sets title of TooltipContent: Similar to <HeadingSmall>Some custom content</HeadingSmall> 1`] = `
18
- <HeadingSmall
19
- tag="h4"
20
- >
21
- Some custom content
22
- </HeadingSmall>
23
- `;
24
-
25
- exports[`Tooltip content is TooltipContent with title, sets title of TooltipContent: Similar to <HeadingSmall>Title</HeadingSmall> 1`] = `
26
- <HeadingSmall
27
- tag="h4"
28
- >
29
- Title
30
- </HeadingSmall>
31
- `;
32
-
33
- exports[`Tooltip content is TooltipContent without title, renders content as-is: <Body>Some custom content</Body> 1`] = `
34
- <Body
35
- tag="span"
36
- >
37
- Some custom content
38
- </Body>
39
- `;
40
-
41
- exports[`Tooltip content is a string, wraps in TooltipContent with title: Similar to <TooltipContent title="Title">Content</TooltipContent> 1`] = `
42
- <TooltipContent
43
- title="Title"
44
- >
45
- Content
46
- </TooltipContent>
47
- `;
48
-
49
- exports[`Tooltip content is a string, wraps in TooltipContent without title: Similar to <TooltipContent>Content</TooltipContent> 1`] = `
50
- <TooltipContent>
51
- Content
52
- </TooltipContent>
53
- `;