@elliemae/ds-tooltip-v3 3.53.0-beta.7 → 3.53.0-beta.9

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.
@@ -34,10 +34,10 @@ module.exports = __toCommonJS(ControlledTestRenderer_exports);
34
34
  var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_ds_grid = require("@elliemae/ds-grid");
37
- var import_ds_system = require("@elliemae/ds-system");
37
+ var import_ds_test_utils = require("@elliemae/ds-test-utils");
38
38
  var import_react = __toESM(require("react"));
39
39
  var import_DSTooltipV3 = require("../../DSTooltipV3");
40
- const ControlledTestRenderer = (0, import_ds_system.themeProviderHOC)(() => {
40
+ const ControlledTestRenderer = (0, import_ds_test_utils.themeProviderHOC)(() => {
41
41
  const [showPopover, setShowPopover] = import_react.default.useState(false);
42
42
  const handleOnOpen = import_react.default.useCallback(() => setShowPopover(true), []);
43
43
  const handleOnClose = import_react.default.useCallback(() => setShowPopover(false), []);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/tests/controlled/ControlledTestRenderer.jsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-system';\nimport React from 'react';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const ControlledTestRenderer = themeProviderHOC(() => {\n const [showPopover, setShowPopover] = React.useState(false);\n const handleOnOpen = React.useCallback(() => setShowPopover(true), []);\n const handleOnClose = React.useCallback(() => setShowPopover(false), []);\n return (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\" showPopover={showPopover} onOpen={handleOnOpen} onClose={handleOnClose}>\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n );\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADUnB;AAVJ,qBAAqB;AACrB,uBAAiC;AACjC,mBAAkB;AAClB,yBAA4B;AAErB,MAAM,6BAAyB,mCAAiB,MAAM;AAC3D,QAAM,CAAC,aAAa,cAAc,IAAI,aAAAA,QAAM,SAAS,KAAK;AAC1D,QAAM,eAAe,aAAAA,QAAM,YAAY,MAAM,eAAe,IAAI,GAAG,CAAC,CAAC;AACrE,QAAM,gBAAgB,aAAAA,QAAM,YAAY,MAAM,eAAe,KAAK,GAAG,CAAC,CAAC;AACvE,SACE,6CAAC,UACC;AAAA,gDAAC,uBAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,sDAAC,kCAAY,MAAK,WAAU,aAA0B,QAAQ,cAAc,SAAS,eACnF,sDAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,IACA,4CAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,KAEF;AAEJ,CAAC;",
4
+ "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\nimport React from 'react';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const ControlledTestRenderer = themeProviderHOC(() => {\n const [showPopover, setShowPopover] = React.useState(false);\n const handleOnOpen = React.useCallback(() => setShowPopover(true), []);\n const handleOnClose = React.useCallback(() => setShowPopover(false), []);\n return (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\" showPopover={showPopover} onOpen={handleOnOpen} onClose={handleOnClose}>\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n );\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADUnB;AAVJ,qBAAqB;AACrB,2BAAiC;AACjC,mBAAkB;AAClB,yBAA4B;AAErB,MAAM,6BAAyB,uCAAiB,MAAM;AAC3D,QAAM,CAAC,aAAa,cAAc,IAAI,aAAAA,QAAM,SAAS,KAAK;AAC1D,QAAM,eAAe,aAAAA,QAAM,YAAY,MAAM,eAAe,IAAI,GAAG,CAAC,CAAC;AACrE,QAAM,gBAAgB,aAAAA,QAAM,YAAY,MAAM,eAAe,KAAK,GAAG,CAAC,CAAC;AACvE,SACE,6CAAC,UACC;AAAA,gDAAC,uBAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,sDAAC,kCAAY,MAAK,WAAU,aAA0B,QAAQ,cAAc,SAAS,eACnF,sDAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,IACA,4CAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,KAEF;AAEJ,CAAC;",
6
6
  "names": ["React"]
7
7
  }
@@ -34,9 +34,9 @@ module.exports = __toCommonJS(UncontrolledTooltipTestRender_exports);
34
34
  var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_ds_grid = require("@elliemae/ds-grid");
37
- var import_ds_system = require("@elliemae/ds-system");
37
+ var import_ds_test_utils = require("@elliemae/ds-test-utils");
38
38
  var import_DSTooltipV3 = require("../../DSTooltipV3");
39
- const UncontrolledTooltipTestRender = (0, import_ds_system.themeProviderHOC)(() => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("main", { children: [
39
+ const UncontrolledTooltipTestRender = (0, import_ds_test_utils.themeProviderHOC)(() => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("main", { children: [
40
40
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_grid.Grid, { justifyContent: "center", alignItems: "center", style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DSTooltipV3.DSTooltipV3, { text: "tooltip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "data-testid": "test-button", children: "test" }) }) }),
41
41
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", "data-testid": "test-button2", children: "test 2" })
42
42
  ] }));
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/tests/uncontrolled/UncontrolledTooltipTestRender.jsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-system';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const UncontrolledTooltipTestRender = themeProviderHOC(() => (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\">\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n));\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADKrB;AALF,qBAAqB;AACrB,uBAAiC;AACjC,yBAA4B;AAErB,MAAM,oCAAgC,mCAAiB,MAC5D,6CAAC,UACC;AAAA,8CAAC,uBAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,sDAAC,kCAAY,MAAK,WAChB,sDAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,EACA,4CAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,GAEF,CACD;",
4
+ "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const UncontrolledTooltipTestRender = themeProviderHOC(() => (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\">\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n));\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADKrB;AALF,qBAAqB;AACrB,2BAAiC;AACjC,yBAA4B;AAErB,MAAM,oCAAgC,uCAAiB,MAC5D,6CAAC,UACC;AAAA,8CAAC,uBAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,sDAAC,kCAAY,MAAK,WAChB,sDAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,EACA,4CAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,GAEF,CACD;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Grid } from "@elliemae/ds-grid";
4
- import { themeProviderHOC } from "@elliemae/ds-system";
4
+ import { themeProviderHOC } from "@elliemae/ds-test-utils";
5
5
  import React2 from "react";
6
6
  import { DSTooltipV3 } from "../../DSTooltipV3";
7
7
  const ControlledTestRenderer = themeProviderHOC(() => {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/controlled/ControlledTestRenderer.jsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-system';\nimport React from 'react';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const ControlledTestRenderer = themeProviderHOC(() => {\n const [showPopover, setShowPopover] = React.useState(false);\n const handleOnOpen = React.useCallback(() => setShowPopover(true), []);\n const handleOnClose = React.useCallback(() => setShowPopover(false), []);\n return (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\" showPopover={showPopover} onOpen={handleOnOpen} onClose={handleOnClose}>\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n );\n});\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\nimport React from 'react';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const ControlledTestRenderer = themeProviderHOC(() => {\n const [showPopover, setShowPopover] = React.useState(false);\n const handleOnOpen = React.useCallback(() => setShowPopover(true), []);\n const handleOnClose = React.useCallback(() => setShowPopover(false), []);\n return (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\" showPopover={showPopover} onOpen={handleOnOpen} onClose={handleOnClose}>\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n );\n});\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACUnB,SAGM,KAHN;AAVJ,SAAS,YAAY;AACrB,SAAS,wBAAwB;AACjC,OAAOA,YAAW;AAClB,SAAS,mBAAmB;AAErB,MAAM,yBAAyB,iBAAiB,MAAM;AAC3D,QAAM,CAAC,aAAa,cAAc,IAAIA,OAAM,SAAS,KAAK;AAC1D,QAAM,eAAeA,OAAM,YAAY,MAAM,eAAe,IAAI,GAAG,CAAC,CAAC;AACrE,QAAM,gBAAgBA,OAAM,YAAY,MAAM,eAAe,KAAK,GAAG,CAAC,CAAC;AACvE,SACE,qBAAC,UACC;AAAA,wBAAC,QAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,8BAAC,eAAY,MAAK,WAAU,aAA0B,QAAQ,cAAc,SAAS,eACnF,8BAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,IACA,oBAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,KAEF;AAEJ,CAAC;",
6
6
  "names": ["React"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Grid } from "@elliemae/ds-grid";
4
- import { themeProviderHOC } from "@elliemae/ds-system";
4
+ import { themeProviderHOC } from "@elliemae/ds-test-utils";
5
5
  import { DSTooltipV3 } from "../../DSTooltipV3";
6
6
  const UncontrolledTooltipTestRender = themeProviderHOC(() => /* @__PURE__ */ jsxs("main", { children: [
7
7
  /* @__PURE__ */ jsx(Grid, { justifyContent: "center", alignItems: "center", style: { height: "100%" }, children: /* @__PURE__ */ jsx(DSTooltipV3, { text: "tooltip", children: /* @__PURE__ */ jsx("button", { type: "button", "data-testid": "test-button", children: "test" }) }) }),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/uncontrolled/UncontrolledTooltipTestRender.jsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-system';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const UncontrolledTooltipTestRender = themeProviderHOC(() => (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\">\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n));\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\nimport { DSTooltipV3 } from '../../DSTooltipV3';\n\nexport const UncontrolledTooltipTestRender = themeProviderHOC(() => (\n <main>\n <Grid justifyContent=\"center\" alignItems=\"center\" style={{ height: '100%' }}>\n <DSTooltipV3 text=\"tooltip\">\n <button type=\"button\" data-testid=\"test-button\">\n test\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </DSTooltipV3>\n </Grid>\n <button type=\"button\" data-testid=\"test-button2\">\n test 2\n </button>\n {/* we use html button to avoid dependency with ds-button-v2 package */}\n </main>\n));\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACKrB,SAGM,KAHN;AALF,SAAS,YAAY;AACrB,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAErB,MAAM,gCAAgC,iBAAiB,MAC5D,qBAAC,UACC;AAAA,sBAAC,QAAK,gBAAe,UAAS,YAAW,UAAS,OAAO,EAAE,QAAQ,OAAO,GACxE,8BAAC,eAAY,MAAK,WAChB,8BAAC,YAAO,MAAK,UAAS,eAAY,eAAc,kBAEhD,GAEF,GACF;AAAA,EACA,oBAAC,YAAO,MAAK,UAAS,eAAY,gBAAe,oBAEjD;AAAA,GAEF,CACD;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-tooltip-v3",
3
- "version": "3.53.0-beta.7",
3
+ "version": "3.53.0-beta.9",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Tooltip V3",
6
6
  "files": [
@@ -36,20 +36,21 @@
36
36
  "indent": 4
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-button": "3.53.0-beta.7",
40
- "@elliemae/ds-floating-context": "3.53.0-beta.7",
41
- "@elliemae/ds-props-helpers": "3.53.0-beta.7",
42
- "@elliemae/ds-shared": "3.53.0-beta.7",
43
- "@elliemae/ds-system": "3.53.0-beta.7"
39
+ "@elliemae/ds-button": "3.53.0-beta.9",
40
+ "@elliemae/ds-floating-context": "3.53.0-beta.9",
41
+ "@elliemae/ds-props-helpers": "3.53.0-beta.9",
42
+ "@elliemae/ds-shared": "3.53.0-beta.9",
43
+ "@elliemae/ds-system": "3.53.0-beta.9"
44
44
  },
45
45
  "devDependencies": {
46
- "@elliemae/pui-cli": "9.0.0-next.63",
46
+ "@elliemae/pui-cli": "9.0.0-next.65",
47
47
  "jest": "~29.7.0",
48
48
  "react": "^18.3.1",
49
49
  "react-dom": "^18.3.1",
50
50
  "styled-components": "~5.3.9",
51
- "@elliemae/ds-grid": "3.53.0-beta.7",
52
- "@elliemae/ds-monorepo-devops": "3.53.0-beta.7"
51
+ "@elliemae/ds-grid": "3.53.0-beta.9",
52
+ "@elliemae/ds-monorepo-devops": "3.53.0-beta.9",
53
+ "@elliemae/ds-test-utils": "3.53.0-beta.9"
53
54
  },
54
55
  "peerDependencies": {
55
56
  "react": "^18.3.1",