@elliemae/ds-tooltip 2.2.0 → 2.3.0-alpha.3

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 (70) hide show
  1. package/cjs/index.js +41 -23
  2. package/cjs/index.js.map +7 -0
  3. package/cjs/v1/DSTooltip.js +108 -105
  4. package/cjs/v1/DSTooltip.js.map +7 -0
  5. package/cjs/v1/TooltipType.js +36 -8
  6. package/cjs/v1/TooltipType.js.map +7 -0
  7. package/cjs/v2/DSTooltip.js +117 -121
  8. package/cjs/v2/DSTooltip.js.map +7 -0
  9. package/cjs/v2/DSTooltipArrow.js +50 -38
  10. package/cjs/v2/DSTooltipArrow.js.map +7 -0
  11. package/cjs/v2/TooltipType.js +36 -8
  12. package/cjs/v2/TooltipType.js.map +7 -0
  13. package/cjs/v2/index.d.js +27 -2
  14. package/cjs/v2/index.d.js.map +7 -0
  15. package/cjs/v2/propTypes.js +54 -25
  16. package/cjs/v2/propTypes.js.map +7 -0
  17. package/cjs/v2/styles.js +128 -59
  18. package/cjs/v2/styles.js.map +7 -0
  19. package/cjs/v2/utils/setMultipleRefs.js +41 -21
  20. package/cjs/v2/utils/setMultipleRefs.js.map +7 -0
  21. package/cjs/v2/utils/tooltipPositions.js +46 -18
  22. package/cjs/v2/utils/tooltipPositions.js.map +7 -0
  23. package/cjs/v3/TooltipV3DatatestId.js +36 -8
  24. package/cjs/v3/TooltipV3DatatestId.js.map +7 -0
  25. package/cjs/v3/config/useWithDefaultProps.js +40 -14
  26. package/cjs/v3/config/useWithDefaultProps.js.map +7 -0
  27. package/cjs/v3/index.d.js +27 -2
  28. package/cjs/v3/index.d.js.map +7 -0
  29. package/cjs/v3/index.js +90 -103
  30. package/cjs/v3/index.js.map +7 -0
  31. package/cjs/v3/propsTypes.js +78 -94
  32. package/cjs/v3/propsTypes.js.map +7 -0
  33. package/cjs/v3/styleds.js +69 -46
  34. package/cjs/v3/styleds.js.map +7 -0
  35. package/esm/index.js +12 -5
  36. package/esm/index.js.map +7 -0
  37. package/esm/v1/DSTooltip.js +88 -87
  38. package/esm/v1/DSTooltip.js.map +7 -0
  39. package/esm/v1/TooltipType.js +7 -4
  40. package/esm/v1/TooltipType.js.map +7 -0
  41. package/esm/v2/DSTooltip.js +80 -97
  42. package/esm/v2/DSTooltip.js.map +7 -0
  43. package/esm/v2/DSTooltipArrow.js +21 -30
  44. package/esm/v2/DSTooltipArrow.js.map +7 -0
  45. package/esm/v2/TooltipType.js +7 -4
  46. package/esm/v2/TooltipType.js.map +7 -0
  47. package/esm/v2/index.d.js +2 -1
  48. package/esm/v2/index.d.js.map +7 -0
  49. package/esm/v2/propTypes.js +25 -21
  50. package/esm/v2/propTypes.js.map +7 -0
  51. package/esm/v2/styles.js +100 -47
  52. package/esm/v2/styles.js.map +7 -0
  53. package/esm/v2/utils/setMultipleRefs.js +13 -18
  54. package/esm/v2/utils/setMultipleRefs.js.map +7 -0
  55. package/esm/v2/utils/tooltipPositions.js +17 -14
  56. package/esm/v2/utils/tooltipPositions.js.map +7 -0
  57. package/esm/v3/TooltipV3DatatestId.js +7 -4
  58. package/esm/v3/TooltipV3DatatestId.js.map +7 -0
  59. package/esm/v3/config/useWithDefaultProps.js +11 -10
  60. package/esm/v3/config/useWithDefaultProps.js.map +7 -0
  61. package/esm/v3/index.d.js +2 -1
  62. package/esm/v3/index.d.js.map +7 -0
  63. package/esm/v3/index.js +54 -79
  64. package/esm/v3/index.js.map +7 -0
  65. package/esm/v3/propsTypes.js +49 -90
  66. package/esm/v3/propsTypes.js.map +7 -0
  67. package/esm/v3/styleds.js +41 -36
  68. package/esm/v3/styleds.js.map +7 -0
  69. package/package.json +10 -10
  70. package/types/index.d.ts +1 -1
@@ -1,92 +1,51 @@
1
- import { PropTypes } from 'react-desc';
2
-
1
+ import * as React from "react";
2
+ import { PropTypes } from "react-desc";
3
3
  const dsTooltipPropTypes = {
4
- /**
5
- * Tooltip text to be displayed on hover/focus
6
- */
7
- text: PropTypes.string.description('Tooltip text to be displayed on hover/focus').isRequired,
8
-
9
- /**
10
- * Tooltip text alignment
11
- */
12
- textAlign: PropTypes.oneOf(['left', 'right', 'center', 'justify', 'initial', 'inherit']).description('Tooltip text alignment').defaultValue('left'),
13
-
14
- /**
15
- * Element to tie the tooltip to, must be a single node
16
- */
17
- children: PropTypes.node.description('Element to tie the tooltip to, must be a single node').isRequired,
18
-
19
- /**
20
- * Wheter or not the tooltip content should appear in a DOM portal or not
21
- */
22
- withoutPortal: PropTypes.bool.description('Whether or not the tooltip content should appear in a DOM portal or not').defaultValue(true),
23
-
24
- /**
25
- * Wheter or not the tooltip should use the arrow
26
- */
27
- withoutArrow: PropTypes.bool.description('Whether or not the tooltip should use the arrow').defaultValue(false),
28
-
29
- /**
30
- * Bounding element to calculate upon, defaults to it is "clippingParents",
31
- * which are the scrolling containers that may cause the element to be partially or fully cut off.
32
- */
33
- boundaryElement: PropTypes.element.description('Bounding element to calculate upon, defaults to "clippingParents",' + 'which are the scrolling containers that may cause element to be partially or fully cut off').defaultValue(undefined),
34
-
35
- /**
36
- * Whether or not the popper context menu should be animated
37
- */
38
- withoutAnimation: PropTypes.bool.description('Whether or not the popper context menu should be animated').defaultValue(false),
39
-
40
- /**
41
- * Popper context menus Animation duration in ms
42
- */
43
- animationDuration: PropTypes.number.description('Popper context menus Animation duration in ms').defaultValue(100),
44
-
45
- /**
46
- * When using portal, the container in which to append the DOM content, defaults to document body
47
- */
48
- portalDOMContainer: PropTypes.element.description('When using portal, the container in which to append the DOM content, defaults to document body').defaultValue(undefined),
49
-
50
- /**
51
- * start placement preferences, as per popperjs placement option
52
- */
53
- startPlacementPreference: PropTypes.oneOf(['top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']).description('start placement preferences, as per popperjs placement option').defaultValue("'top'"),
54
-
55
- /**
56
- * Array of placement preferences, as per popperjs "flip" placement option
57
- */
58
- placementOrderPreference: PropTypes.arrayOf(PropTypes.oneOf(['top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'])).description('Array of placement preferences, as per popperjs "flip" placement option').defaultValue("['top', 'bottom', 'left', 'right']"),
59
-
60
- /**
61
- * tooltip wrapper z-index
62
- */
63
- zIndex: PropTypes.number.description('popperjs content z-index').defaultValue(1),
64
-
65
- /**
66
- * placement offset array
67
- */
68
- customOffset: PropTypes.arrayOf(PropTypes.number).description('placement offset array').defaultValue([0, 14]),
69
-
70
- /**
71
- * modifiers array for full-custom tooltip-js override
72
- * https://tooltip.js.org/docs/v2/modifiers/
73
- */
74
- modifiers: PropTypes.array.description('modifiers array for full-custom tooltip-js override, https://tooltip.js.org/docs/v2/modifiers/').defaultValue(1),
75
-
76
- /**
77
- * Optional id appended to data-testid
78
- */
79
- id: PropTypes.string.description('Optional id appended to data-testid').defaultValue(''),
80
-
81
- /**
82
- * Optional callback to be invoked when the tooltip opens
83
- */
84
- onOpen: PropTypes.func.description('Optional callback to be invoked when the tooltip opens').defaultValue('() => {}'),
85
-
86
- /**
87
- * 'Optional callback to be invoked when the tooltip closes
88
- */
89
- onClose: PropTypes.func.description('Optional callback to be invoked when the tooltip closes').defaultValue('() => {}')
4
+ text: PropTypes.string.description("Tooltip text to be displayed on hover/focus").isRequired,
5
+ textAlign: PropTypes.oneOf(["left", "right", "center", "justify", "initial", "inherit"]).description("Tooltip text alignment").defaultValue("left"),
6
+ children: PropTypes.node.description("Element to tie the tooltip to, must be a single node").isRequired,
7
+ withoutPortal: PropTypes.bool.description("Whether or not the tooltip content should appear in a DOM portal or not").defaultValue(true),
8
+ withoutArrow: PropTypes.bool.description("Whether or not the tooltip should use the arrow").defaultValue(false),
9
+ boundaryElement: PropTypes.element.description('Bounding element to calculate upon, defaults to "clippingParents",which are the scrolling containers that may cause element to be partially or fully cut off').defaultValue(void 0),
10
+ withoutAnimation: PropTypes.bool.description("Whether or not the popper context menu should be animated").defaultValue(false),
11
+ animationDuration: PropTypes.number.description("Popper context menus Animation duration in ms").defaultValue(100),
12
+ portalDOMContainer: PropTypes.element.description("When using portal, the container in which to append the DOM content, defaults to document body").defaultValue(void 0),
13
+ startPlacementPreference: PropTypes.oneOf([
14
+ "top-start",
15
+ "top",
16
+ "top-end",
17
+ "right-start",
18
+ "right",
19
+ "right-end",
20
+ "bottom-end",
21
+ "bottom",
22
+ "bottom-start",
23
+ "left-end",
24
+ "left",
25
+ "left-start"
26
+ ]).description("start placement preferences, as per popperjs placement option").defaultValue("'top'"),
27
+ placementOrderPreference: PropTypes.arrayOf(PropTypes.oneOf([
28
+ "top-start",
29
+ "top",
30
+ "top-end",
31
+ "right-start",
32
+ "right",
33
+ "right-end",
34
+ "bottom-end",
35
+ "bottom",
36
+ "bottom-start",
37
+ "left-end",
38
+ "left",
39
+ "left-start"
40
+ ])).description('Array of placement preferences, as per popperjs "flip" placement option').defaultValue("['top', 'bottom', 'left', 'right']"),
41
+ zIndex: PropTypes.number.description("popperjs content z-index").defaultValue(1),
42
+ customOffset: PropTypes.arrayOf(PropTypes.number).description("placement offset array").defaultValue([0, 14]),
43
+ modifiers: PropTypes.array.description("modifiers array for full-custom tooltip-js override, https://tooltip.js.org/docs/v2/modifiers/").defaultValue(1),
44
+ id: PropTypes.string.description("Optional id appended to data-testid").defaultValue(""),
45
+ onOpen: PropTypes.func.description("Optional callback to be invoked when the tooltip opens").defaultValue("() => {}"),
46
+ onClose: PropTypes.func.description("Optional callback to be invoked when the tooltip closes").defaultValue("() => {}")
90
47
  };
91
-
92
- export { dsTooltipPropTypes };
48
+ export {
49
+ dsTooltipPropTypes
50
+ };
51
+ //# sourceMappingURL=propsTypes.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/v3/propsTypes.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from 'react-desc';\n\nexport const dsTooltipPropTypes = {\n /**\n * Tooltip text to be displayed on hover/focus\n */\n text: PropTypes.string.description('Tooltip text to be displayed on hover/focus').isRequired,\n /**\n * Tooltip text alignment\n */\n textAlign: PropTypes.oneOf(['left', 'right', 'center', 'justify', 'initial', 'inherit'])\n .description('Tooltip text alignment')\n .defaultValue('left'),\n /**\n * Element to tie the tooltip to, must be a single node\n */\n children: PropTypes.node.description('Element to tie the tooltip to, must be a single node').isRequired,\n /**\n * Wheter or not the tooltip content should appear in a DOM portal or not\n */\n withoutPortal: PropTypes.bool\n .description('Whether or not the tooltip content should appear in a DOM portal or not')\n .defaultValue(true),\n /**\n * Wheter or not the tooltip should use the arrow\n */\n withoutArrow: PropTypes.bool.description('Whether or not the tooltip should use the arrow').defaultValue(false),\n /**\n * Bounding element to calculate upon, defaults to it is \"clippingParents\",\n * which are the scrolling containers that may cause the element to be partially or fully cut off.\n */\n boundaryElement: PropTypes.element\n .description(\n 'Bounding element to calculate upon, defaults to \"clippingParents\",' +\n 'which are the scrolling containers that may cause element to be partially or fully cut off',\n )\n .defaultValue(undefined),\n /**\n * Whether or not the popper context menu should be animated\n */\n withoutAnimation: PropTypes.bool\n .description('Whether or not the popper context menu should be animated')\n .defaultValue(false),\n /**\n * Popper context menus Animation duration in ms\n */\n animationDuration: PropTypes.number.description('Popper context menus Animation duration in ms').defaultValue(100),\n /**\n * When using portal, the container in which to append the DOM content, defaults to document body\n */\n portalDOMContainer: PropTypes.element\n .description('When using portal, the container in which to append the DOM content, defaults to document body')\n .defaultValue(undefined),\n /**\n * start placement preferences, as per popperjs placement option\n */\n startPlacementPreference: PropTypes.oneOf([\n 'top-start',\n 'top',\n 'top-end',\n 'right-start',\n 'right',\n 'right-end',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'left-end',\n 'left',\n 'left-start',\n ])\n .description('start placement preferences, as per popperjs placement option')\n .defaultValue(\"'top'\"),\n /**\n * Array of placement preferences, as per popperjs \"flip\" placement option\n */\n placementOrderPreference: PropTypes.arrayOf(\n PropTypes.oneOf([\n 'top-start',\n 'top',\n 'top-end',\n 'right-start',\n 'right',\n 'right-end',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'left-end',\n 'left',\n 'left-start',\n ]),\n )\n .description('Array of placement preferences, as per popperjs \"flip\" placement option')\n .defaultValue(\"['top', 'bottom', 'left', 'right']\"),\n /**\n * tooltip wrapper z-index\n */\n zIndex: PropTypes.number.description('popperjs content z-index').defaultValue(1),\n /**\n * placement offset array\n */\n customOffset: PropTypes.arrayOf(PropTypes.number).description('placement offset array').defaultValue([0, 14]),\n /**\n * modifiers array for full-custom tooltip-js override\n * https://tooltip.js.org/docs/v2/modifiers/\n */\n modifiers: PropTypes.array\n .description('modifiers array for full-custom tooltip-js override, https://tooltip.js.org/docs/v2/modifiers/')\n .defaultValue(1),\n /**\n * Optional id appended to data-testid\n */\n id: PropTypes.string.description('Optional id appended to data-testid').defaultValue(''),\n /**\n * Optional callback to be invoked when the tooltip opens\n */\n onOpen: PropTypes.func.description('Optional callback to be invoked when the tooltip opens').defaultValue('() => {}'),\n /**\n * 'Optional callback to be invoked when the tooltip closes\n */\n onClose: PropTypes.func\n .description('Optional callback to be invoked when the tooltip closes')\n .defaultValue('() => {}'),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAEO,MAAM,qBAAqB;AAAA,EAIhC,MAAM,UAAU,OAAO,YAAY,+CAA+C;AAAA,EAIlF,WAAW,UAAU,MAAM,CAAC,QAAQ,SAAS,UAAU,WAAW,WAAW,YAC1E,YAAY,0BACZ,aAAa;AAAA,EAIhB,UAAU,UAAU,KAAK,YAAY,wDAAwD;AAAA,EAI7F,eAAe,UAAU,KACtB,YAAY,2EACZ,aAAa;AAAA,EAIhB,cAAc,UAAU,KAAK,YAAY,mDAAmD,aAAa;AAAA,EAKzG,iBAAiB,UAAU,QACxB,YACC,gKAGD,aAAa;AAAA,EAIhB,kBAAkB,UAAU,KACzB,YAAY,6DACZ,aAAa;AAAA,EAIhB,mBAAmB,UAAU,OAAO,YAAY,iDAAiD,aAAa;AAAA,EAI9G,oBAAoB,UAAU,QAC3B,YAAY,kGACZ,aAAa;AAAA,EAIhB,0BAA0B,UAAU,MAAM;AAAA,IACxC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,KAEC,YAAY,iEACZ,aAAa;AAAA,EAIhB,0BAA0B,UAAU,QAClC,UAAU,MAAM;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MAGD,YAAY,2EACZ,aAAa;AAAA,EAIhB,QAAQ,UAAU,OAAO,YAAY,4BAA4B,aAAa;AAAA,EAI9E,cAAc,UAAU,QAAQ,UAAU,QAAQ,YAAY,0BAA0B,aAAa,CAAC,GAAG;AAAA,EAKzG,WAAW,UAAU,MAClB,YAAY,kGACZ,aAAa;AAAA,EAIhB,IAAI,UAAU,OAAO,YAAY,uCAAuC,aAAa;AAAA,EAIrF,QAAQ,UAAU,KAAK,YAAY,0DAA0D,aAAa;AAAA,EAI1G,SAAS,UAAU,KAChB,YAAY,2DACZ,aAAa;AAAA;",
6
+ "names": []
7
+ }
package/esm/v3/styleds.js CHANGED
@@ -1,36 +1,41 @@
1
- import styled from 'styled-components';
2
-
3
- const StyledTooltipContainer = /*#__PURE__*/styled.div.withConfig({
4
- componentId: "sc-18a4gem-0"
5
- })(["text-align:center;min-width:", ";max-width:250px;min-height:30px;display:grid;align-items:center;padding:", ";position:relative;background-color:white;border-radius:2px;font-size:13px;color:", ";"], _ref => {
6
- let {
7
- theme
8
- } = _ref;
9
- return theme.space.l;
10
- }, _ref2 => {
11
- let {
12
- theme
13
- } = _ref2;
14
- return "".concat(theme.space.xxxs, " ").concat(theme.space.xs);
15
- }, _ref3 => {
16
- let {
17
- theme
18
- } = _ref3;
19
- return theme.colors.neutral[600];
20
- });
21
- const StyledTooltipText = /*#__PURE__*/styled.div.withConfig({
22
- componentId: "sc-18a4gem-1"
23
- })(["white-space:normal;word-wrap:break-word;display:inline-block;text-align:", ";"], _ref4 => {
24
- let {
25
- textAlign
26
- } = _ref4;
27
- return textAlign;
28
- });
29
- const StyledMouseOverDetectionBox = /*#__PURE__*/styled.div.withConfig({
30
- componentId: "sc-18a4gem-2"
31
- })(["position:absolute;top:-15px;right:-15px;width:calc(100% + 30px);height:calc(100% + 30px);z-index:-1;"]);
32
- const StyledTriggerWrapper = /*#__PURE__*/styled.div.withConfig({
33
- componentId: "sc-18a4gem-3"
34
- })(["display:inline-flex;width:100%;"]);
35
-
36
- export { StyledMouseOverDetectionBox, StyledTooltipContainer, StyledTooltipText, StyledTriggerWrapper };
1
+ import * as React from "react";
2
+ import styled from "styled-components";
3
+ const StyledTooltipContainer = styled.div`
4
+ text-align: center;
5
+ min-width: ${({ theme }) => theme.space.l};
6
+ max-width: 250px;
7
+ min-height: 30px;
8
+ display: grid;
9
+ align-items: center;
10
+ padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};
11
+ position: relative;
12
+ background-color: white;
13
+ border-radius: 2px;
14
+ font-size: 13px;
15
+ color: ${({ theme }) => theme.colors.neutral[600]};
16
+ `;
17
+ const StyledTooltipText = styled.div`
18
+ white-space: normal;
19
+ word-wrap: break-word;
20
+ display: inline-block;
21
+ text-align: ${({ textAlign }) => textAlign};
22
+ `;
23
+ const StyledMouseOverDetectionBox = styled.div`
24
+ position: absolute;
25
+ top: -15px;
26
+ right: -15px;
27
+ width: calc(100% + 30px);
28
+ height: calc(100% + 30px);
29
+ z-index: -1;
30
+ `;
31
+ const StyledTriggerWrapper = styled.div`
32
+ display: inline-flex;
33
+ width: 100%;
34
+ `;
35
+ export {
36
+ StyledMouseOverDetectionBox,
37
+ StyledTooltipContainer,
38
+ StyledTooltipText,
39
+ StyledTriggerWrapper
40
+ };
41
+ //# sourceMappingURL=styleds.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/v3/styleds.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import styled from 'styled-components';\n\nexport const StyledTooltipContainer = styled.div`\n text-align: center;\n min-width: ${({ theme }) => theme.space.l};\n max-width: 250px;\n min-height: 30px;\n display: grid;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};\n position: relative;\n background-color: white;\n border-radius: 2px;\n font-size: 13px;\n color: ${({ theme }) => theme.colors.neutral[600]};\n`;\n\nexport const StyledTooltipText = styled.div<{ textAlign: string }>`\n white-space: normal;\n word-wrap: break-word;\n display: inline-block;\n text-align: ${({ textAlign }) => textAlign};\n`;\n\nexport const StyledMouseOverDetectionBox = styled.div`\n position: absolute;\n top: -15px;\n right: -15px;\n width: calc(100% + 30px);\n height: calc(100% + 30px);\n z-index: -1;\n`;\n\nexport const StyledTriggerWrapper = styled.div`\n display: inline-flex;\n width: 100%;\n`;\n"],
5
+ "mappings": "AAAA;ACAA;AAEO,MAAM,yBAAyB,OAAO;AAAA;AAAA,eAE9B,CAAC,EAAE,YAAY,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,aAK7B,CAAC,EAAE,YAAY,GAAG,MAAM,MAAM,QAAQ,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,WAKpD,CAAC,EAAE,YAAY,MAAM,OAAO,QAAQ;AAAA;AAGxC,MAAM,oBAAoB,OAAO;AAAA;AAAA;AAAA;AAAA,gBAIxB,CAAC,EAAE,gBAAgB;AAAA;AAG5B,MAAM,8BAA8B,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS3C,MAAM,uBAAuB,OAAO;AAAA;AAAA;AAAA;",
6
+ "names": []
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-tooltip",
3
- "version": "2.2.0",
3
+ "version": "2.3.0-alpha.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Tooltip",
6
6
  "module": "./esm/index.js",
@@ -92,15 +92,15 @@
92
92
  "build": "node ../../scripts/build/build.js"
93
93
  },
94
94
  "dependencies": {
95
- "@elliemae/ds-button": "2.2.0",
96
- "@elliemae/ds-classnames": "2.2.0",
97
- "@elliemae/ds-popper": "2.2.0",
98
- "@elliemae/ds-popperjs": "2.2.0",
99
- "@elliemae/ds-portal": "2.2.0",
100
- "@elliemae/ds-props-helpers": "2.2.0",
101
- "@elliemae/ds-shared": "2.2.0",
102
- "@elliemae/ds-system": "2.2.0",
103
- "@elliemae/ds-utilities": "2.2.0",
95
+ "@elliemae/ds-button": "2.3.0-alpha.3",
96
+ "@elliemae/ds-classnames": "2.3.0-alpha.3",
97
+ "@elliemae/ds-popper": "2.3.0-alpha.3",
98
+ "@elliemae/ds-popperjs": "2.3.0-alpha.3",
99
+ "@elliemae/ds-portal": "2.3.0-alpha.3",
100
+ "@elliemae/ds-props-helpers": "2.3.0-alpha.3",
101
+ "@elliemae/ds-shared": "2.3.0-alpha.3",
102
+ "@elliemae/ds-system": "2.3.0-alpha.3",
103
+ "@elliemae/ds-utilities": "2.3.0-alpha.3",
104
104
  "@popperjs/core": "~2.9.2",
105
105
  "react-desc": "~4.1.3",
106
106
  "react-popper": "~2.2.5"
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './v1/DSTooltip';
2
- export { default } from './v1/DSTooltip';
3
2
  export * from './v2/DSTooltip';
4
3
  export { tooltipPositions } from './v2/utils/tooltipPositions';
5
4
  export * from './v2/TooltipType';
6
5
  export * from './v3';
6
+ export { default } from './v1/DSTooltip';