@elliemae/ds-menu-tree-item 3.32.0-rc.2 → 3.32.0-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/config/useValidateProps.js +1 -1
- package/dist/cjs/config/useValidateProps.js.map +1 -1
- package/dist/cjs/constants/index.js.map +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/config/useValidateProps.js +1 -1
- package/dist/esm/config/useValidateProps.js.map +1 -1
- package/dist/esm/constants/index.js.map +1 -1
- package/dist/esm/index.js +3 -9
- package/dist/esm/index.js.map +2 -2
- package/dist/types/config/useValidateProps.d.ts +2 -2
- package/dist/types/index.d.ts +3 -3
- package/package.json +14 -16
@@ -33,7 +33,7 @@ __export(useValidateProps_exports, {
|
|
33
33
|
module.exports = __toCommonJS(useValidateProps_exports);
|
34
34
|
var React = __toESM(require("react"));
|
35
35
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
36
|
-
var import_constants = require("../constants");
|
36
|
+
var import_constants = require("../constants/index.js");
|
37
37
|
const useValidateProps = (props, propTypes) => {
|
38
38
|
(0, import_ds_props_helpers.useValidateTypescriptPropTypes)(props, propTypes, import_constants.DSMenuTreeItemName);
|
39
39
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/config/useValidateProps.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport { WeakValidationMap } from 'react';\nimport { type DSMenuTreeItemT } from '../react-desc-prop-types';\nimport { DSMenuTreeItemName } from '../constants';\n\nexport const useValidateProps = (props: DSMenuTreeItemT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSMenuTreeItemName);\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
4
|
+
"sourcesContent": ["import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nimport { type DSMenuTreeItemT } from '../react-desc-prop-types.js';\nimport { DSMenuTreeItemName } from '../constants/index.js';\n\nexport const useValidateProps = (props: DSMenuTreeItemT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSMenuTreeItemName);\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA+C;AAG/C,uBAAmC;AAE5B,MAAM,mBAAmB,CAAC,OAAsC,cAAgD;AAErH,8DAA+B,OAAO,WAAW,mCAAkB;AACrE;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/constants/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSMenuTreeItemName = 'DSMenuTreeItem';\n\nexport const EXAMPLE_CONSTANTS = {\n HELLO: 'WORLD',\n FOO: 'BAR',\n} as const;\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators
|
4
|
+
"sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSMenuTreeItemName = 'DSMenuTreeItem';\n\nexport const EXAMPLE_CONSTANTS = {\n HELLO: 'WORLD',\n FOO: 'BAR',\n} as const;\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const MENU_TREE_ITEM_SLOTS = {\n ROOT: 'root',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const MENU_TREE_ITEM_DATA_TESTID = slotObjectToDataTestIds(DSMenuTreeItemName, MENU_TREE_ITEM_SLOTS);\n", "import * as React from 'react';\nexport { React };\n"],
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AAEjC,MAAM,qBAAqB;AAE3B,MAAM,oBAAoB;AAAA,EAC/B,OAAO;AAAA,EACP,KAAK;AACP;AAGO,MAAM,uBAAuB;AAAA,EAClC,MAAM;AACR;AAGO,MAAM,iCAA6B,0CAAwB,oBAAoB,oBAAoB;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
@@ -35,7 +35,7 @@ __export(src_exports, {
|
|
35
35
|
});
|
36
36
|
module.exports = __toCommonJS(src_exports);
|
37
37
|
var React = __toESM(require("react"));
|
38
|
-
var import_DSMenuTreeItem = require("./DSMenuTreeItem");
|
39
|
-
var import_react_desc_prop_types = require("./react-desc-prop-types");
|
40
|
-
var import_constants = require("./constants");
|
38
|
+
var import_DSMenuTreeItem = require("./DSMenuTreeItem.js");
|
39
|
+
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
40
|
+
var import_constants = require("./constants/index.js");
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/index.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
4
|
-
"sourcesContent": ["// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport {
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,
|
4
|
+
"sourcesContent": ["// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { DSMenuTreeItem, DSMenuTreeItemWithSchema } from './DSMenuTreeItem.js';\nexport { type DSMenuTreeItemT } from './react-desc-prop-types.js';\nexport { MENU_TREE_ITEM_SLOTS, MENU_TREE_ITEM_DATA_TESTID } from './constants/index.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,4BAAyD;AACzD,mCAAqC;AACrC,uBAAiE;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { useValidateTypescriptPropTypes } from "@elliemae/ds-props-helpers";
|
3
|
-
import { DSMenuTreeItemName } from "../constants";
|
3
|
+
import { DSMenuTreeItemName } from "../constants/index.js";
|
4
4
|
const useValidateProps = (props, propTypes) => {
|
5
5
|
useValidateTypescriptPropTypes(props, propTypes, DSMenuTreeItemName);
|
6
6
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useValidateProps.ts"],
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport { WeakValidationMap } from 'react';\nimport { type DSMenuTreeItemT } from '../react-desc-prop-types';\nimport { DSMenuTreeItemName } from '../constants';\n\nexport const useValidateProps = (props: DSMenuTreeItemT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSMenuTreeItemName);\n};\n"],
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nimport { type DSMenuTreeItemT } from '../react-desc-prop-types.js';\nimport { DSMenuTreeItemName } from '../constants/index.js';\n\nexport const useValidateProps = (props: DSMenuTreeItemT.InternalProps, propTypes: WeakValidationMap<unknown>): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSMenuTreeItemName);\n};\n"],
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,sCAAsC;AAG/C,SAAS,0BAA0B;AAE5B,MAAM,mBAAmB,CAAC,OAAsC,cAAgD;AAErH,iCAA+B,OAAO,WAAW,kBAAkB;AACrE;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/constants/index.ts"],
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSMenuTreeItemName = 'DSMenuTreeItem';\n\nexport const EXAMPLE_CONSTANTS = {\n HELLO: 'WORLD',\n FOO: 'BAR',\n} as const;\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSMenuTreeItemName = 'DSMenuTreeItem';\n\nexport const EXAMPLE_CONSTANTS = {\n HELLO: 'WORLD',\n FOO: 'BAR',\n} as const;\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const MENU_TREE_ITEM_SLOTS = {\n ROOT: 'root',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const MENU_TREE_ITEM_DATA_TESTID = slotObjectToDataTestIds(DSMenuTreeItemName, MENU_TREE_ITEM_SLOTS);\n"],
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AAEjC,MAAM,qBAAqB;AAE3B,MAAM,oBAAoB;AAAA,EAC/B,OAAO;AAAA,EACP,KAAK;AACP;AAGO,MAAM,uBAAuB;AAAA,EAClC,MAAM;AACR;AAGO,MAAM,6BAA6B,wBAAwB,oBAAoB,oBAAoB;",
|
6
6
|
"names": []
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
} from "./DSMenuTreeItem";
|
6
|
-
import {} from "./react-desc-prop-types";
|
7
|
-
import {
|
8
|
-
MENU_TREE_ITEM_SLOTS,
|
9
|
-
MENU_TREE_ITEM_DATA_TESTID
|
10
|
-
} from "./constants";
|
2
|
+
import { DSMenuTreeItem, DSMenuTreeItemWithSchema } from "./DSMenuTreeItem.js";
|
3
|
+
import {} from "./react-desc-prop-types.js";
|
4
|
+
import { MENU_TREE_ITEM_SLOTS, MENU_TREE_ITEM_DATA_TESTID } from "./constants/index.js";
|
11
5
|
export {
|
12
6
|
DSMenuTreeItem,
|
13
7
|
DSMenuTreeItemWithSchema,
|
package/dist/esm/index.js.map
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.ts"],
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport {
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACGvB
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// this is a workaround to typescript error TS2742\n// https://github.com/microsoft/TypeScript/issues/47663\nimport type {} from '@xstyled/system';\nexport { DSMenuTreeItem, DSMenuTreeItemWithSchema } from './DSMenuTreeItem.js';\nexport { type DSMenuTreeItemT } from './react-desc-prop-types.js';\nexport { MENU_TREE_ITEM_SLOTS, MENU_TREE_ITEM_DATA_TESTID } from './constants/index.js';\n"],
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,gBAAgB,gCAAgC;AACzD,eAAqC;AACrC,SAAS,sBAAsB,kCAAkC;",
|
6
6
|
"names": []
|
7
7
|
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { WeakValidationMap } from 'react';
|
2
|
-
import { type DSMenuTreeItemT } from '../react-desc-prop-types';
|
1
|
+
import type { WeakValidationMap } from 'react';
|
2
|
+
import { type DSMenuTreeItemT } from '../react-desc-prop-types.js';
|
3
3
|
export declare const useValidateProps: (props: DSMenuTreeItemT.InternalProps, propTypes: WeakValidationMap<unknown>) => void;
|
package/dist/types/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export { DSMenuTreeItem, DSMenuTreeItemWithSchema } from './DSMenuTreeItem';
|
2
|
-
export { type DSMenuTreeItemT } from './react-desc-prop-types';
|
3
|
-
export { MENU_TREE_ITEM_SLOTS, MENU_TREE_ITEM_DATA_TESTID
|
1
|
+
export { DSMenuTreeItem, DSMenuTreeItemWithSchema } from './DSMenuTreeItem.js';
|
2
|
+
export { type DSMenuTreeItemT } from './react-desc-prop-types.js';
|
3
|
+
export { MENU_TREE_ITEM_SLOTS, MENU_TREE_ITEM_DATA_TESTID } from './constants/index.js';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@elliemae/ds-menu-tree-item",
|
3
|
-
"version": "3.32.0-rc.
|
3
|
+
"version": "3.32.0-rc.3",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "ICE MT - Dimsum - Menu Tree Item",
|
6
6
|
"files": [
|
@@ -36,22 +36,22 @@
|
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
38
|
"@xstyled/styled-components": "~3.6.0",
|
39
|
-
"@elliemae/ds-button-v2": "3.32.0-rc.
|
40
|
-
"@elliemae/ds-
|
41
|
-
"@elliemae/ds-form-radio": "3.32.0-rc.
|
42
|
-
"@elliemae/ds-
|
43
|
-
"@elliemae/ds-
|
44
|
-
"@elliemae/ds-
|
45
|
-
"@elliemae/ds-
|
46
|
-
"@elliemae/ds-
|
47
|
-
"@elliemae/ds-
|
48
|
-
"@elliemae/ds-utilities": "3.32.0-rc.
|
49
|
-
"@elliemae/ds-
|
39
|
+
"@elliemae/ds-button-v2": "3.32.0-rc.3",
|
40
|
+
"@elliemae/ds-form-checkbox": "3.32.0-rc.3",
|
41
|
+
"@elliemae/ds-form-radio": "3.32.0-rc.3",
|
42
|
+
"@elliemae/ds-grid": "3.32.0-rc.3",
|
43
|
+
"@elliemae/ds-separator": "3.32.0-rc.3",
|
44
|
+
"@elliemae/ds-icons": "3.32.0-rc.3",
|
45
|
+
"@elliemae/ds-system": "3.32.0-rc.3",
|
46
|
+
"@elliemae/ds-typescript-helpers": "3.32.0-rc.3",
|
47
|
+
"@elliemae/ds-props-helpers": "3.32.0-rc.3",
|
48
|
+
"@elliemae/ds-utilities": "3.32.0-rc.3",
|
49
|
+
"@elliemae/ds-typography": "3.32.0-rc.3"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"@elliemae/pui-cli": "~9.0.0-next.31",
|
53
53
|
"styled-components": "~5.3.9",
|
54
|
-
"@elliemae/ds-monorepo-devops": "3.32.0-rc.
|
54
|
+
"@elliemae/ds-monorepo-devops": "3.32.0-rc.3"
|
55
55
|
},
|
56
56
|
"peerDependencies": {
|
57
57
|
"@testing-library/jest-dom": "~5.16.4",
|
@@ -70,11 +70,9 @@
|
|
70
70
|
"test": "pui-cli test --passWithNoTests",
|
71
71
|
"lint": "node ../../../scripts/lint.mjs --fix",
|
72
72
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
|
73
|
-
"dts": "node
|
73
|
+
"dts": "node ../../../scripts/dts.mjs",
|
74
74
|
"dts:withdeps": "pnpm --filter {.}... dts",
|
75
75
|
"build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
|
76
|
-
"dev:build": "pnpm --filter {.}... build",
|
77
|
-
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
78
76
|
"checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
79
77
|
}
|
80
78
|
}
|