@elliemae/ds-props-helpers 3.49.0-rc.9 → 3.49.0
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.
- package/dist/cjs/tests/globalProps/TestComponent.js +2 -3
- package/dist/cjs/tests/globalProps/TestComponent.js.map +2 -2
- package/dist/cjs/tests/xstyledProps/TestComponent.js +0 -1
- package/dist/cjs/tests/xstyledProps/TestComponent.js.map +2 -2
- package/dist/esm/tests/globalProps/TestComponent.js +1 -2
- package/dist/esm/tests/globalProps/TestComponent.js.map +3 -3
- package/dist/esm/tests/xstyledProps/TestComponent.js +0 -1
- package/dist/esm/tests/xstyledProps/TestComponent.js.map +3 -3
- package/package.json +8 -6
|
@@ -33,10 +33,9 @@ __export(TestComponent_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(TestComponent_exports);
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
-
var
|
|
37
|
-
var import_globalProps = require("../../globalProps");
|
|
36
|
+
var import_useGetGlobalAttributes = require("../../globalProps/useGetGlobalAttributes");
|
|
38
37
|
const TestComponent = (props) => {
|
|
39
|
-
const globalAttributes = (0,
|
|
38
|
+
const globalAttributes = (0, import_useGetGlobalAttributes.useGetGlobalAttributes)(props);
|
|
40
39
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...globalAttributes, children: "Some random div" });
|
|
41
40
|
};
|
|
42
41
|
//# sourceMappingURL=TestComponent.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/tests/globalProps/TestComponent.js", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADMd;
|
|
4
|
+
"sourcesContent": ["// eslint-disable-next-line import/extensions\nimport { useGetGlobalAttributes } from '../../globalProps/useGetGlobalAttributes';\n\nexport const TestComponent = (props) => {\n const globalAttributes = useGetGlobalAttributes(props);\n\n return <div {...globalAttributes}>Some random div</div>;\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADMd;AALT,oCAAuC;AAEhC,MAAM,gBAAgB,CAAC,UAAU;AACtC,QAAM,uBAAmB,sDAAuB,KAAK;AAErD,SAAO,4CAAC,SAAK,GAAG,kBAAkB,6BAAe;AACnD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -33,7 +33,6 @@ __export(TestComponent_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(TestComponent_exports);
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
-
var import_react = __toESM(require("react"));
|
|
37
36
|
var import_xstyledProps = require("../../xstyledProps");
|
|
38
37
|
const TestComponent = (props) => {
|
|
39
38
|
const xstyledProps = (0, import_xstyledProps.useGetXstyledProps)(props);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/tests/xstyledProps/TestComponent.js", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable react/prop-types */\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADUnB;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable react/prop-types */\n// eslint-disable-next-line import/extensions\nimport { useGetXstyledProps } from '../../xstyledProps';\n\nexport const TestComponent = (props) => {\n const xstyledProps = useGetXstyledProps(props);\n\n props.signal(xstyledProps);\n\n return (\n <div {...xstyledProps} data-testid=\"xstyled-div\">\n Some random div\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADUnB;AARJ,0BAAmC;AAE5B,MAAM,gBAAgB,CAAC,UAAU;AACtC,QAAM,mBAAe,wCAAmB,KAAK;AAE7C,QAAM,OAAO,YAAY;AAEzB,SACE,4CAAC,SAAK,GAAG,cAAc,eAAY,eAAc,6BAEjD;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
import { useGetGlobalAttributes } from "../../globalProps";
|
|
3
|
+
import { useGetGlobalAttributes } from "../../globalProps/useGetGlobalAttributes";
|
|
5
4
|
const TestComponent = (props) => {
|
|
6
5
|
const globalAttributes = useGetGlobalAttributes(props);
|
|
7
6
|
return /* @__PURE__ */ jsx("div", { ...globalAttributes, children: "Some random div" });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/globalProps/TestComponent.js"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACMd;
|
|
6
|
-
"names": [
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// eslint-disable-next-line import/extensions\nimport { useGetGlobalAttributes } from '../../globalProps/useGetGlobalAttributes';\n\nexport const TestComponent = (props) => {\n const globalAttributes = useGetGlobalAttributes(props);\n\n return <div {...globalAttributes}>Some random div</div>;\n};\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACMd;AALT,SAAS,8BAA8B;AAEhC,MAAM,gBAAgB,CAAC,UAAU;AACtC,QAAM,mBAAmB,uBAAuB,KAAK;AAErD,SAAO,oBAAC,SAAK,GAAG,kBAAkB,6BAAe;AACnD;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/tests/xstyledProps/TestComponent.js"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/prop-types */\
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACUnB;
|
|
6
|
-
"names": [
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable react/prop-types */\n// eslint-disable-next-line import/extensions\nimport { useGetXstyledProps } from '../../xstyledProps';\n\nexport const TestComponent = (props) => {\n const xstyledProps = useGetXstyledProps(props);\n\n props.signal(xstyledProps);\n\n return (\n <div {...xstyledProps} data-testid=\"xstyled-div\">\n Some random div\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACUnB;AARJ,SAAS,0BAA0B;AAE5B,MAAM,gBAAgB,CAAC,UAAU;AACtC,QAAM,eAAe,mBAAmB,KAAK;AAE7C,QAAM,OAAO,YAAY;AAEzB,SACE,oBAAC,SAAK,GAAG,cAAc,eAAY,eAAc,6BAEjD;AAEJ;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-props-helpers",
|
|
3
|
-
"version": "3.49.0
|
|
3
|
+
"version": "3.49.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Props Helpers",
|
|
6
6
|
"files": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"pnpm": ">=
|
|
26
|
-
"node": ">=
|
|
25
|
+
"pnpm": ">=9",
|
|
26
|
+
"node": ">=22"
|
|
27
27
|
},
|
|
28
28
|
"author": "ICE MT",
|
|
29
29
|
"jestSonar": {
|
|
@@ -35,12 +35,14 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"fast-deep-equal": "~3.1.3",
|
|
37
37
|
"prop-types": "~15.8.1",
|
|
38
|
-
"@elliemae/ds-system": "3.49.0
|
|
39
|
-
"@elliemae/ds-typescript-helpers": "3.49.0
|
|
38
|
+
"@elliemae/ds-system": "3.49.0",
|
|
39
|
+
"@elliemae/ds-typescript-helpers": "3.49.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
|
43
|
-
"
|
|
43
|
+
"jest": "~29.7.0",
|
|
44
|
+
"jest-cli": "~29.7.0",
|
|
45
|
+
"@elliemae/ds-monorepo-devops": "3.49.0"
|
|
44
46
|
},
|
|
45
47
|
"peerDependencies": {
|
|
46
48
|
"lodash": "^4.17.21",
|