@fluentui/react-tooltip 0.0.0-nightlyff78d1e27a20220217.1 → 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/CHANGELOG.json +583 -17
  2. package/CHANGELOG.md +280 -111
  3. package/MIGRATION.md +51 -43
  4. package/Spec.md +201 -337
  5. package/dist/{react-tooltip.d.ts → index.d.ts} +42 -35
  6. package/{lib → dist}/tsdoc-metadata.json +0 -0
  7. package/lib/components/Tooltip/Tooltip.js.map +1 -1
  8. package/lib/components/Tooltip/Tooltip.types.js.map +1 -1
  9. package/lib/components/Tooltip/renderTooltip.js +3 -1
  10. package/lib/components/Tooltip/renderTooltip.js.map +1 -1
  11. package/lib/components/Tooltip/useTooltip.js +14 -12
  12. package/lib/components/Tooltip/useTooltip.js.map +1 -1
  13. package/lib/components/Tooltip/useTooltipStyles.js +20 -18
  14. package/lib/components/Tooltip/useTooltipStyles.js.map +1 -1
  15. package/lib/index.js +1 -1
  16. package/lib/index.js.map +1 -1
  17. package/lib-commonjs/components/Tooltip/Tooltip.js.map +1 -1
  18. package/lib-commonjs/components/Tooltip/renderTooltip.js +3 -1
  19. package/lib-commonjs/components/Tooltip/renderTooltip.js.map +1 -1
  20. package/lib-commonjs/components/Tooltip/useTooltip.js +13 -11
  21. package/lib-commonjs/components/Tooltip/useTooltip.js.map +1 -1
  22. package/lib-commonjs/components/Tooltip/useTooltipStyles.js +21 -19
  23. package/lib-commonjs/components/Tooltip/useTooltipStyles.js.map +1 -1
  24. package/lib-commonjs/index.js +32 -2
  25. package/lib-commonjs/index.js.map +1 -1
  26. package/package.json +20 -25
  27. package/lib/Tooltip.d.ts +0 -1
  28. package/lib/components/Tooltip/Tooltip.d.ts +0 -7
  29. package/lib/components/Tooltip/Tooltip.types.d.ts +0 -108
  30. package/lib/components/Tooltip/index.d.ts +0 -5
  31. package/lib/components/Tooltip/private/constants.d.ts +0 -12
  32. package/lib/components/Tooltip/renderTooltip.d.ts +0 -5
  33. package/lib/components/Tooltip/useTooltip.d.ts +0 -10
  34. package/lib/components/Tooltip/useTooltipStyles.d.ts +0 -6
  35. package/lib/index.d.ts +0 -1
  36. package/lib-commonjs/Tooltip.d.ts +0 -1
  37. package/lib-commonjs/components/Tooltip/Tooltip.d.ts +0 -7
  38. package/lib-commonjs/components/Tooltip/Tooltip.types.d.ts +0 -108
  39. package/lib-commonjs/components/Tooltip/index.d.ts +0 -5
  40. package/lib-commonjs/components/Tooltip/private/constants.d.ts +0 -12
  41. package/lib-commonjs/components/Tooltip/renderTooltip.d.ts +0 -5
  42. package/lib-commonjs/components/Tooltip/useTooltip.d.ts +0 -10
  43. package/lib-commonjs/components/Tooltip/useTooltipStyles.d.ts +0 -6
  44. package/lib-commonjs/index.d.ts +0 -1
@@ -1,10 +0,0 @@
1
- import type { TooltipProps, TooltipState } from './Tooltip.types';
2
- /**
3
- * Create the state required to render Tooltip.
4
- *
5
- * The returned state can be modified with hooks such as useTooltipStyles_unstable,
6
- * before being passed to renderTooltip_unstable.
7
- *
8
- * @param props - props from this instance of Tooltip
9
- */
10
- export declare const useTooltip_unstable: (props: TooltipProps) => TooltipState;
@@ -1,6 +0,0 @@
1
- import type { TooltipState } from './Tooltip.types';
2
- export declare const tooltipClassName = "fui-Tooltip";
3
- /**
4
- * Apply styling to the Tooltip slots based on the state
5
- */
6
- export declare const useTooltipStyles_unstable: (state: TooltipState) => TooltipState;
@@ -1 +0,0 @@
1
- export * from './Tooltip';