@elliemae/ds-hooks-on-overflow-change 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.
@@ -35,8 +35,8 @@ var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_react = __toESM(require("react"));
37
37
  var import_ds_hooks_on_overflow_change = require("@elliemae/ds-hooks-on-overflow-change");
38
- var import_ds_system = require("@elliemae/ds-system");
39
- const DSHooksIsOverflowingTestRenderer = (0, import_ds_system.themeProviderHOC)(() => {
38
+ var import_ds_test_utils = require("@elliemae/ds-test-utils");
39
+ const DSHooksIsOverflowingTestRenderer = (0, import_ds_test_utils.themeProviderHOC)(() => {
40
40
  const [isOverflowing, setIsOverflowing] = (0, import_react.useState)(false);
41
41
  const { handleRef } = (0, import_ds_hooks_on_overflow_change.useOnOverflowChange)({
42
42
  onOverflowStateChange: setIsOverflowing
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/tests/overflow/DSHooksIsOverflowingTestRenderer.jsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React, { useState } from 'react';\nimport { useOnOverflowChange } from '@elliemae/ds-hooks-on-overflow-change';\nimport { themeProviderHOC } from '@elliemae/ds-system';\n\nexport const DSHooksIsOverflowingTestRenderer = themeProviderHOC(() => {\n const [isOverflowing, setIsOverflowing] = useState(false);\n\n const { handleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsOverflowing,\n });\n\n return (\n <div>\n <div data-testid=\"overflow-state\">Overflowing: {isOverflowing ? 'true' : 'false'}</div>\n <div\n data-testid=\"container\"\n ref={handleRef}\n style={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n background: 'rgba(30, 121, 194, 0.2)',\n padding: '10px',\n }}\n >\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.\n </div>\n </div>\n );\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADajB;AAbN,mBAAgC;AAChC,yCAAoC;AACpC,uBAAiC;AAE1B,MAAM,uCAAmC,mCAAiB,MAAM;AACrE,QAAM,CAAC,eAAe,gBAAgB,QAAI,uBAAS,KAAK;AAExD,QAAM,EAAE,UAAU,QAAI,wDAAoB;AAAA,IACxC,uBAAuB;AAAA,EACzB,CAAC;AAED,SACE,6CAAC,SACC;AAAA,iDAAC,SAAI,eAAY,kBAAiB;AAAA;AAAA,MAAc,gBAAgB,SAAS;AAAA,OAAQ;AAAA,IACjF;AAAA,MAAC;AAAA;AAAA,QACC,eAAY;AAAA,QACZ,KAAK;AAAA,QACL,OAAO;AAAA,UACL,YAAY;AAAA,UACZ,UAAU;AAAA,UACV,cAAc;AAAA,UACd,YAAY;AAAA,UACZ,SAAS;AAAA,QACX;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ,CAAC;",
4
+ "sourcesContent": ["import React, { useState } from 'react';\nimport { useOnOverflowChange } from '@elliemae/ds-hooks-on-overflow-change';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\n\nexport const DSHooksIsOverflowingTestRenderer = themeProviderHOC(() => {\n const [isOverflowing, setIsOverflowing] = useState(false);\n\n const { handleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsOverflowing,\n });\n\n return (\n <div>\n <div data-testid=\"overflow-state\">Overflowing: {isOverflowing ? 'true' : 'false'}</div>\n <div\n data-testid=\"container\"\n ref={handleRef}\n style={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n background: 'rgba(30, 121, 194, 0.2)',\n padding: '10px',\n }}\n >\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.\n </div>\n </div>\n );\n});\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADajB;AAbN,mBAAgC;AAChC,yCAAoC;AACpC,2BAAiC;AAE1B,MAAM,uCAAmC,uCAAiB,MAAM;AACrE,QAAM,CAAC,eAAe,gBAAgB,QAAI,uBAAS,KAAK;AAExD,QAAM,EAAE,UAAU,QAAI,wDAAoB;AAAA,IACxC,uBAAuB;AAAA,EACzB,CAAC;AAED,SACE,6CAAC,SACC;AAAA,iDAAC,SAAI,eAAY,kBAAiB;AAAA;AAAA,MAAc,gBAAgB,SAAS;AAAA,OAAQ;AAAA,IACjF;AAAA,MAAC;AAAA;AAAA,QACC,eAAY;AAAA,QACZ,KAAK;AAAA,QACL,OAAO;AAAA,UACL,YAAY;AAAA,UACZ,UAAU;AAAA,UACV,cAAc;AAAA,UACd,YAAY;AAAA,UACZ,SAAS;AAAA,QACX;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ,CAAC;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import React2, { useState } from "react";
4
4
  import { useOnOverflowChange } from "@elliemae/ds-hooks-on-overflow-change";
5
- import { themeProviderHOC } from "@elliemae/ds-system";
5
+ import { themeProviderHOC } from "@elliemae/ds-test-utils";
6
6
  const DSHooksIsOverflowingTestRenderer = themeProviderHOC(() => {
7
7
  const [isOverflowing, setIsOverflowing] = useState(false);
8
8
  const { handleRef } = useOnOverflowChange({
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/overflow/DSHooksIsOverflowingTestRenderer.jsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useState } from 'react';\nimport { useOnOverflowChange } from '@elliemae/ds-hooks-on-overflow-change';\nimport { themeProviderHOC } from '@elliemae/ds-system';\n\nexport const DSHooksIsOverflowingTestRenderer = themeProviderHOC(() => {\n const [isOverflowing, setIsOverflowing] = useState(false);\n\n const { handleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsOverflowing,\n });\n\n return (\n <div>\n <div data-testid=\"overflow-state\">Overflowing: {isOverflowing ? 'true' : 'false'}</div>\n <div\n data-testid=\"container\"\n ref={handleRef}\n style={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n background: 'rgba(30, 121, 194, 0.2)',\n padding: '10px',\n }}\n >\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.\n </div>\n </div>\n );\n});\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useState } from 'react';\nimport { useOnOverflowChange } from '@elliemae/ds-hooks-on-overflow-change';\nimport { themeProviderHOC } from '@elliemae/ds-test-utils';\n\nexport const DSHooksIsOverflowingTestRenderer = themeProviderHOC(() => {\n const [isOverflowing, setIsOverflowing] = useState(false);\n\n const { handleRef } = useOnOverflowChange({\n onOverflowStateChange: setIsOverflowing,\n });\n\n return (\n <div>\n <div data-testid=\"overflow-state\">Overflowing: {isOverflowing ? 'true' : 'false'}</div>\n <div\n data-testid=\"container\"\n ref={handleRef}\n style={{\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n background: 'rgba(30, 121, 194, 0.2)',\n padding: '10px',\n }}\n >\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.\n </div>\n </div>\n );\n});\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACajB,SACA,KADA;AAbN,OAAOA,UAAS,gBAAgB;AAChC,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AAE1B,MAAM,mCAAmC,iBAAiB,MAAM;AACrE,QAAM,CAAC,eAAe,gBAAgB,IAAI,SAAS,KAAK;AAExD,QAAM,EAAE,UAAU,IAAI,oBAAoB;AAAA,IACxC,uBAAuB;AAAA,EACzB,CAAC;AAED,SACE,qBAAC,SACC;AAAA,yBAAC,SAAI,eAAY,kBAAiB;AAAA;AAAA,MAAc,gBAAgB,SAAS;AAAA,OAAQ;AAAA,IACjF;AAAA,MAAC;AAAA;AAAA,QACC,eAAY;AAAA,QACZ,KAAK;AAAA,QACL,OAAO;AAAA,UACL,YAAY;AAAA,UACZ,UAAU;AAAA,UACV,cAAc;AAAA,UACd,YAAY;AAAA,UACZ,SAAS;AAAA,QACX;AAAA,QACD;AAAA;AAAA,IAED;AAAA,KACF;AAEJ,CAAC;",
6
6
  "names": ["React"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-hooks-on-overflow-change",
3
- "version": "3.53.0-beta.7",
3
+ "version": "3.53.0-beta.9",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Hooks Is Overflowing",
6
6
  "files": [
@@ -37,18 +37,19 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@xstyled/styled-components": "~3.7.3",
40
- "@elliemae/ds-grid": "3.53.0-beta.7",
41
- "@elliemae/ds-hooks-on-blur-out": "3.53.0-beta.7",
42
- "@elliemae/ds-props-helpers": "3.53.0-beta.7",
43
- "@elliemae/ds-system": "3.53.0-beta.7"
40
+ "@elliemae/ds-grid": "3.53.0-beta.9",
41
+ "@elliemae/ds-hooks-on-blur-out": "3.53.0-beta.9",
42
+ "@elliemae/ds-props-helpers": "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
  "@playwright/experimental-ct-react": "^1.51.1",
48
48
  "jest": "~29.7.0",
49
49
  "styled-components": "~5.3.9",
50
- "@elliemae/ds-monorepo-devops": "3.53.0-beta.7",
51
- "@elliemae/ds-typescript-helpers": "3.53.0-beta.7"
50
+ "@elliemae/ds-monorepo-devops": "3.53.0-beta.9",
51
+ "@elliemae/ds-typescript-helpers": "3.53.0-beta.9",
52
+ "@elliemae/ds-test-utils": "3.53.0-beta.9"
52
53
  },
53
54
  "peerDependencies": {
54
55
  "@testing-library/jest-dom": "^6.6.3",