@elliemae/ds-data-table-drag-and-drop-cell 3.31.0-next.6

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 (34) hide show
  1. package/dist/cjs/DSDataTableDragAndDropCell.js +118 -0
  2. package/dist/cjs/DSDataTableDragAndDropCell.js.map +7 -0
  3. package/dist/cjs/config/useDataTableDragAndDropCell.js +54 -0
  4. package/dist/cjs/config/useDataTableDragAndDropCell.js.map +7 -0
  5. package/dist/cjs/config/useValidateProps.js +40 -0
  6. package/dist/cjs/config/useValidateProps.js.map +7 -0
  7. package/dist/cjs/constants/index.js +47 -0
  8. package/dist/cjs/constants/index.js.map +7 -0
  9. package/dist/cjs/index.js +41 -0
  10. package/dist/cjs/index.js.map +7 -0
  11. package/dist/cjs/package.json +7 -0
  12. package/dist/cjs/react-desc-prop-types.js +53 -0
  13. package/dist/cjs/react-desc-prop-types.js.map +7 -0
  14. package/dist/esm/DSDataTableDragAndDropCell.js +90 -0
  15. package/dist/esm/DSDataTableDragAndDropCell.js.map +7 -0
  16. package/dist/esm/config/useDataTableDragAndDropCell.js +27 -0
  17. package/dist/esm/config/useDataTableDragAndDropCell.js.map +7 -0
  18. package/dist/esm/config/useValidateProps.js +10 -0
  19. package/dist/esm/config/useValidateProps.js.map +7 -0
  20. package/dist/esm/constants/index.js +17 -0
  21. package/dist/esm/constants/index.js.map +7 -0
  22. package/dist/esm/index.js +11 -0
  23. package/dist/esm/index.js.map +7 -0
  24. package/dist/esm/package.json +7 -0
  25. package/dist/esm/react-desc-prop-types.js +23 -0
  26. package/dist/esm/react-desc-prop-types.js.map +7 -0
  27. package/dist/types/DSDataTableDragAndDropCell.d.ts +5 -0
  28. package/dist/types/config/useDataTableDragAndDropCell.d.ts +11 -0
  29. package/dist/types/config/useValidateProps.d.ts +3 -0
  30. package/dist/types/constants/index.d.ts +6 -0
  31. package/dist/types/index.d.ts +3 -0
  32. package/dist/types/react-desc-prop-types.d.ts +23 -0
  33. package/dist/types/tests/DSDataTableDragAndDropCell.test.d.ts +1 -0
  34. package/package.json +75 -0
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var DSDataTableDragAndDropCell_exports = {};
30
+ __export(DSDataTableDragAndDropCell_exports, {
31
+ DSDataTableDragAndDropCell: () => DSDataTableDragAndDropCell,
32
+ DSDataTableDragAndDropCellWithSchema: () => DSDataTableDragAndDropCellWithSchema
33
+ });
34
+ module.exports = __toCommonJS(DSDataTableDragAndDropCell_exports);
35
+ var React = __toESM(require("react"));
36
+ var import_jsx_runtime = require("react/jsx-runtime");
37
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
38
+ var import_ds_system = require("@elliemae/ds-system");
39
+ var import_react_desc_prop_types = require("./react-desc-prop-types.js");
40
+ var import_useDataTableDragAndDropCell = require("./config/useDataTableDragAndDropCell.js");
41
+ var import_constants = require("./constants/index.js");
42
+ var import_ds_utilities = require("@elliemae/ds-utilities");
43
+ var import_ds_icons = require("@elliemae/ds-icons");
44
+ var import_ds_data_table_cell = require("@elliemae/ds-data-table-cell");
45
+ const StyledWrapper = (0, import_ds_system.styled)(import_ds_data_table_cell.DSDataTableCell, {
46
+ name: import_constants.DSDataTableDragAndDropCellName,
47
+ slot: import_constants.DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.ROOT
48
+ })`
49
+ padding: 0;
50
+ justify-content: center;
51
+ ${({ shouldShowFocus, theme }) => shouldShowFocus ? `:focus-within {
52
+ &:after {
53
+ display: block;
54
+ content: ' ';
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ right: 0;
59
+ bottom: 0;
60
+ border: 2px solid ${theme.colors.brand[700]};
61
+ pointer-events: none;
62
+ z-index: 7;
63
+ }
64
+ }` : void 0}
65
+
66
+ svg {
67
+ fill: brand-800;
68
+ }
69
+ `;
70
+ const StyledGripper = (0, import_ds_system.styled)("div", {
71
+ name: import_constants.DSDataTableDragAndDropCellName,
72
+ slot: import_constants.DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.GRIPPER
73
+ })`
74
+ pointer-events: ${({ isDisabled }) => isDisabled ? "none" : ""};
75
+ cursor: ${({ isActive, isDisabled }) => {
76
+ if (isDisabled)
77
+ return "not-allowed";
78
+ if (isActive)
79
+ return "grabbing";
80
+ return "grab";
81
+ }};
82
+ outline: none;
83
+ display: flex;
84
+ align-items: center;
85
+ touch-action: none;
86
+
87
+ svg {
88
+ fill: ${({ isActive, theme }) => isActive && theme.colors.neutral["500"]};
89
+ }
90
+ `;
91
+ const DSDataTableDragAndDropCell = (props) => {
92
+ const { propsWithDefault, xstyledProps } = (0, import_useDataTableDragAndDropCell.useDataTableDragAndDropCell)(props);
93
+ const ownerPropsConfig = (0, import_ds_utilities.useOwnerProps)(propsWithDefault);
94
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
95
+ StyledWrapper,
96
+ {
97
+ className: propsWithDefault.className,
98
+ ...ownerPropsConfig,
99
+ ...xstyledProps,
100
+ shouldShowFocus: propsWithDefault.shouldShowFocus,
101
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
102
+ StyledGripper,
103
+ {
104
+ role: "button",
105
+ "aria-label": "Drag handle",
106
+ isDisabled: propsWithDefault.disabled,
107
+ isActive: propsWithDefault.active,
108
+ ...ownerPropsConfig,
109
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_icons.GripperVertical, { size: "s" })
110
+ }
111
+ )
112
+ }
113
+ );
114
+ };
115
+ DSDataTableDragAndDropCell.displayName = import_constants.DSDataTableDragAndDropCellName;
116
+ const DSDataTableDragAndDropCellWithSchema = (0, import_ds_props_helpers.describe)(DSDataTableDragAndDropCell);
117
+ DSDataTableDragAndDropCellWithSchema.propTypes = import_react_desc_prop_types.DSDataTableDragAndDropCellPropTypesSchema;
118
+ //# sourceMappingURL=DSDataTableDragAndDropCell.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/DSDataTableDragAndDropCell.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { styled } from '@elliemae/ds-system';\nimport {\n type DSDataTableDragAndDropCellT,\n DSDataTableDragAndDropCellPropTypesSchema,\n} from './react-desc-prop-types.js';\nimport { useDataTableDragAndDropCell } from './config/useDataTableDragAndDropCell.js';\nimport { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DSDataTableDragAndDropCellName } from './constants/index.js';\nimport { useOwnerProps } from '@elliemae/ds-utilities';\nimport { GripperVertical } from '@elliemae/ds-icons';\nimport { DSDataTableCell } from '@elliemae/ds-data-table-cell';\n\nconst StyledWrapper = styled(DSDataTableCell, {\n name: DSDataTableDragAndDropCellName,\n slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.ROOT,\n})<{ shouldShowFocus: boolean }>`\n padding: 0;\n justify-content: center;\n ${({ shouldShowFocus, theme }) =>\n shouldShowFocus\n ? `:focus-within {\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid ${theme.colors.brand[700]};\n pointer-events: none;\n z-index: 7;\n }\n }`\n : undefined}\n\n svg {\n fill: brand-800;\n }\n`;\n\nconst StyledGripper = styled('div', {\n name: DSDataTableDragAndDropCellName,\n slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.GRIPPER,\n})<{ isDisabled: boolean; isActive: boolean }>`\n pointer-events: ${({ isDisabled }) => (isDisabled ? 'none' : '')};\n cursor: ${({ isActive, isDisabled }) => {\n if (isDisabled) return 'not-allowed';\n if (isActive) return 'grabbing';\n return 'grab';\n }};\n outline: none;\n display: flex;\n align-items: center;\n touch-action: none;\n\n svg {\n fill: ${({ isActive, theme }) => isActive && theme.colors.neutral['500']};\n }\n`;\n\nconst DSDataTableDragAndDropCell: React.ComponentType<DSDataTableDragAndDropCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableDragAndDropCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper\n className={propsWithDefault.className}\n {...ownerPropsConfig}\n {...xstyledProps}\n shouldShowFocus={propsWithDefault.shouldShowFocus}\n >\n <StyledGripper\n role=\"button\"\n aria-label=\"Drag handle\"\n isDisabled={propsWithDefault.disabled}\n isActive={propsWithDefault.active}\n {...ownerPropsConfig}\n >\n <GripperVertical size=\"s\" />\n </StyledGripper>\n </StyledWrapper>\n );\n};\n\nDSDataTableDragAndDropCell.displayName = DSDataTableDragAndDropCellName;\nconst DSDataTableDragAndDropCellWithSchema = describe(DSDataTableDragAndDropCell);\nDSDataTableDragAndDropCellWithSchema.propTypes = DSDataTableDragAndDropCellPropTypesSchema;\n\nexport { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD+Ef;AA9ER,8BAAyB;AACzB,uBAAuB;AACvB,mCAGO;AACP,yCAA4C;AAC5C,uBAAoF;AACpF,0BAA8B;AAC9B,sBAAgC;AAChC,gCAAgC;AAEhC,MAAM,oBAAgB,yBAAO,2CAAiB;AAAA,EAC5C,MAAM;AAAA,EACN,MAAM,qDAAoC;AAC5C,CAAC;AAAA;AAAA;AAAA,IAGG,CAAC,EAAE,iBAAiB,MAAM,MAC1B,kBACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BASkB,MAAM,OAAO,MAAM,GAAG;AAAA;AAAA;AAAA;AAAA,OAKxC;AAAA;AAAA;AAAA;AAAA;AAAA;AAOR,MAAM,oBAAgB,yBAAO,OAAO;AAAA,EAClC,MAAM;AAAA,EACN,MAAM,qDAAoC;AAC5C,CAAC;AAAA,oBACmB,CAAC,EAAE,WAAW,MAAO,aAAa,SAAS;AAAA,YACnD,CAAC,EAAE,UAAU,WAAW,MAAM;AACtC,MAAI;AAAY,WAAO;AACvB,MAAI;AAAU,WAAO;AACrB,SAAO;AACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOU,CAAC,EAAE,UAAU,MAAM,MAAM,YAAY,MAAM,OAAO,QAAQ,KAAK;AAAA;AAAA;AAI3E,MAAM,6BAAqF,CAAC,UAAU;AACpG,QAAM,EAAE,kBAAkB,aAAa,QAAI,gEAA4B,KAAK;AAC5E,QAAM,uBAAmB,mCAAc,gBAAgB;AACvD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,iBAAiB;AAAA,MAC3B,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,iBAAiB,iBAAiB;AAAA,MAElC;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,YAAY,iBAAiB;AAAA,UAC7B,UAAU,iBAAiB;AAAA,UAC1B,GAAG;AAAA,UAEJ,sDAAC,mCAAgB,MAAK,KAAI;AAAA;AAAA,MAC5B;AAAA;AAAA,EACF;AAEJ;AAEA,2BAA2B,cAAc;AACzC,MAAM,2CAAuC,kCAAS,0BAA0B;AAChF,qCAAqC,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var useDataTableDragAndDropCell_exports = {};
30
+ __export(useDataTableDragAndDropCell_exports, {
31
+ useDataTableDragAndDropCell: () => useDataTableDragAndDropCell
32
+ });
33
+ module.exports = __toCommonJS(useDataTableDragAndDropCell_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_react = __toESM(require("react"));
36
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
37
+ var import_react_desc_prop_types = require("../react-desc-prop-types.js");
38
+ var import_useValidateProps = require("./useValidateProps.js");
39
+ const useDataTableDragAndDropCell = (propsFromUser) => {
40
+ const propsWithDefault = (0, import_ds_props_helpers.useMemoMergePropsWithDefault)(
41
+ propsFromUser,
42
+ import_react_desc_prop_types.defaultProps
43
+ );
44
+ (0, import_useValidateProps.useValidateProps)(propsWithDefault, import_react_desc_prop_types.DSDataTableDragAndDropCellPropTypes);
45
+ const xstyledProps = (0, import_ds_props_helpers.useGetXstyledProps)(propsWithDefault);
46
+ return import_react.default.useMemo(
47
+ () => ({
48
+ propsWithDefault,
49
+ xstyledProps
50
+ }),
51
+ [propsWithDefault, xstyledProps]
52
+ );
53
+ };
54
+ //# sourceMappingURL=useDataTableDragAndDropCell.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/config/useDataTableDragAndDropCell.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\nimport { useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport {\n type DSDataTableDragAndDropCellT,\n DSDataTableDragAndDropCellPropTypes,\n defaultProps,\n} from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface DataTableDragAndDropCellCTX {\n propsWithDefault: DSDataTableDragAndDropCellT.InternalProps;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useDataTableDragAndDropCell = (propsFromUser: DSDataTableDragAndDropCellT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSDataTableDragAndDropCellT.InternalProps>(\n propsFromUser,\n defaultProps,\n );\n useValidateProps(propsWithDefault, DSDataTableDragAndDropCellPropTypes);\n // =============================================================================\n // XSTYLED PROPS\n // =============================================================================\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n xstyledProps,\n }),\n [propsWithDefault, xstyledProps],\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,8BAAiE;AACjE,mCAIO;AACP,8BAAiC;AAQ1B,MAAM,8BAA8B,CAAC,kBAAqD;AAI/F,QAAM,uBAAmB;AAAA,IACvB;AAAA,IACA;AAAA,EACF;AACA,gDAAiB,kBAAkB,gEAAmC;AAItE,QAAM,mBAAe,4CAAmB,gBAAgB;AAExD,SAAO,aAAAA,QAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,IACF;AAAA,IACA,CAAC,kBAAkB,YAAY;AAAA,EACjC;AACF;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var useValidateProps_exports = {};
30
+ __export(useValidateProps_exports, {
31
+ useValidateProps: () => useValidateProps
32
+ });
33
+ module.exports = __toCommonJS(useValidateProps_exports);
34
+ var React = __toESM(require("react"));
35
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
36
+ var import_constants = require("../constants/index.js");
37
+ const useValidateProps = (props, propTypes) => {
38
+ (0, import_ds_props_helpers.useValidateTypescriptPropTypes)(props, propTypes, import_constants.DSDataTableDragAndDropCellName);
39
+ };
40
+ //# sourceMappingURL=useValidateProps.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/config/useValidateProps.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport type { WeakValidationMap } from 'react';\nimport { type DSDataTableDragAndDropCellT } from '../react-desc-prop-types.js';\nimport { DSDataTableDragAndDropCellName } from '../constants/index.js';\n\nexport const useValidateProps = (\n props: DSDataTableDragAndDropCellT.InternalProps,\n propTypes: WeakValidationMap<unknown>,\n): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSDataTableDragAndDropCellName);\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA+C;AAG/C,uBAA+C;AAExC,MAAM,mBAAmB,CAC9B,OACA,cACS;AAET,8DAA+B,OAAO,WAAW,+CAA8B;AACjF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var constants_exports = {};
30
+ __export(constants_exports, {
31
+ DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID: () => DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID,
32
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS: () => DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,
33
+ DSDataTableDragAndDropCellName: () => DSDataTableDragAndDropCellName
34
+ });
35
+ module.exports = __toCommonJS(constants_exports);
36
+ var React = __toESM(require("react"));
37
+ var import_ds_system = require("@elliemae/ds-system");
38
+ const DSDataTableDragAndDropCellName = "DSDataTableDragAndDropCell";
39
+ const DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS = {
40
+ ROOT: "root",
41
+ GRIPPER: "gripper"
42
+ };
43
+ const DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID = (0, import_ds_system.slotObjectToDataTestIds)(
44
+ DSDataTableDragAndDropCellName,
45
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS
46
+ );
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/constants/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSDataTableDragAndDropCellName = 'DSDataTableDragAndDropCell';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS = {\n ROOT: 'root',\n GRIPPER: 'gripper',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID = slotObjectToDataTestIds(\n DSDataTableDragAndDropCellName,\n DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,\n);\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AAEjC,MAAM,iCAAiC;AAGvC,MAAM,sCAAsC;AAAA,EACjD,MAAM;AAAA,EACN,SAAS;AACX;AAGO,MAAM,gDAA4C;AAAA,EACvD;AAAA,EACA;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var src_exports = {};
30
+ __export(src_exports, {
31
+ DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID: () => import_constants.DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID,
32
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS: () => import_constants.DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,
33
+ DSDataTableDragAndDropCell: () => import_DSDataTableDragAndDropCell.DSDataTableDragAndDropCell,
34
+ DSDataTableDragAndDropCellWithSchema: () => import_DSDataTableDragAndDropCell.DSDataTableDragAndDropCellWithSchema
35
+ });
36
+ module.exports = __toCommonJS(src_exports);
37
+ var React = __toESM(require("react"));
38
+ var import_DSDataTableDragAndDropCell = require("./DSDataTableDragAndDropCell.js");
39
+ var import_react_desc_prop_types = require("./react-desc-prop-types.js");
40
+ var import_constants = require("./constants/index.js");
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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 { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema } from './DSDataTableDragAndDropCell.js';\nexport { type DSDataTableDragAndDropCellT } from './react-desc-prop-types.js';\nexport { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DATA_TABLE_DRAG_AND_DROP_CELL_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,wCAAiF;AACjF,mCAAiD;AACjD,uBAA+F;",
6
+ "names": []
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "type": "commonjs",
3
+ "sideEffects": [
4
+ "*.css",
5
+ "*.scss"
6
+ ]
7
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var react_desc_prop_types_exports = {};
30
+ __export(react_desc_prop_types_exports, {
31
+ DSDataTableDragAndDropCellPropTypes: () => DSDataTableDragAndDropCellPropTypes,
32
+ DSDataTableDragAndDropCellPropTypesSchema: () => DSDataTableDragAndDropCellPropTypesSchema,
33
+ defaultProps: () => defaultProps
34
+ });
35
+ module.exports = __toCommonJS(react_desc_prop_types_exports);
36
+ var React = __toESM(require("react"));
37
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
38
+ var import_constants = require("./constants/index.js");
39
+ const defaultProps = {
40
+ disabled: false,
41
+ active: false,
42
+ shouldShowFocus: true
43
+ };
44
+ const DSDataTableDragAndDropCellPropTypes = {
45
+ ...import_ds_props_helpers.xstyledPropTypes,
46
+ ...(0, import_ds_props_helpers.getPropsPerSlotPropTypes)(import_constants.DSDataTableDragAndDropCellName, import_constants.DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS),
47
+ className: import_ds_props_helpers.PropTypes.string.description("className for the wrapper"),
48
+ disabled: import_ds_props_helpers.PropTypes.bool.description("Whether its disabled or not"),
49
+ active: import_ds_props_helpers.PropTypes.bool.description("Whether its active or not"),
50
+ shouldShowFocus: import_ds_props_helpers.PropTypes.bool.description("Whether its should the focus or not")
51
+ };
52
+ const DSDataTableDragAndDropCellPropTypesSchema = DSDataTableDragAndDropCellPropTypes;
53
+ //# sourceMappingURL=react-desc-prop-types.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, xstyledPropTypes, getPropsPerSlotPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS } from './constants/index.js';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSDataTableDragAndDropCellT {\n export interface RequiredProps {}\n\n export interface DefaultProps {\n disabled: boolean;\n active: boolean;\n shouldShowFocus: boolean;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSDataTableDragAndDropCellName,\n typeof DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS\n > {\n className?: string;\n }\n\n export interface Props extends Partial<DefaultProps>, OptionalProps, XstyledProps, RequiredProps {}\n\n export interface InternalProps extends DefaultProps, OptionalProps, XstyledProps, RequiredProps {}\n}\n\nexport const defaultProps: DSDataTableDragAndDropCellT.DefaultProps = {\n disabled: false,\n active: false,\n shouldShowFocus: true,\n};\n\nexport const DSDataTableDragAndDropCellPropTypes: DSPropTypesSchema<DSDataTableDragAndDropCellT.Props> = {\n ...xstyledPropTypes,\n ...getPropsPerSlotPropTypes(DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS),\n className: PropTypes.string.description('className for the wrapper'),\n disabled: PropTypes.bool.description('Whether its disabled or not'),\n active: PropTypes.bool.description('Whether its active or not'),\n shouldShowFocus: PropTypes.bool.description('Whether its should the focus or not'),\n};\n\nexport const DSDataTableDragAndDropCellPropTypesSchema =\n DSDataTableDragAndDropCellPropTypes as unknown as WeakValidationMap<DSDataTableDragAndDropCellT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAAsE;AAEtE,uBAAoF;AAyB7E,MAAM,eAAyD;AAAA,EACpE,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,iBAAiB;AACnB;AAEO,MAAM,sCAA4F;AAAA,EACvG,GAAG;AAAA,EACH,OAAG,kDAAyB,iDAAgC,oDAAmC;AAAA,EAC/F,WAAW,kCAAU,OAAO,YAAY,2BAA2B;AAAA,EACnE,UAAU,kCAAU,KAAK,YAAY,6BAA6B;AAAA,EAClE,QAAQ,kCAAU,KAAK,YAAY,2BAA2B;AAAA,EAC9D,iBAAiB,kCAAU,KAAK,YAAY,qCAAqC;AACnF;AAEO,MAAM,4CACX;",
6
+ "names": []
7
+ }
@@ -0,0 +1,90 @@
1
+ import * as React from "react";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { describe } from "@elliemae/ds-props-helpers";
4
+ import { styled } from "@elliemae/ds-system";
5
+ import {
6
+ DSDataTableDragAndDropCellPropTypesSchema
7
+ } from "./react-desc-prop-types.js";
8
+ import { useDataTableDragAndDropCell } from "./config/useDataTableDragAndDropCell.js";
9
+ import { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DSDataTableDragAndDropCellName } from "./constants/index.js";
10
+ import { useOwnerProps } from "@elliemae/ds-utilities";
11
+ import { GripperVertical } from "@elliemae/ds-icons";
12
+ import { DSDataTableCell } from "@elliemae/ds-data-table-cell";
13
+ const StyledWrapper = styled(DSDataTableCell, {
14
+ name: DSDataTableDragAndDropCellName,
15
+ slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.ROOT
16
+ })`
17
+ padding: 0;
18
+ justify-content: center;
19
+ ${({ shouldShowFocus, theme }) => shouldShowFocus ? `:focus-within {
20
+ &:after {
21
+ display: block;
22
+ content: ' ';
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ right: 0;
27
+ bottom: 0;
28
+ border: 2px solid ${theme.colors.brand[700]};
29
+ pointer-events: none;
30
+ z-index: 7;
31
+ }
32
+ }` : void 0}
33
+
34
+ svg {
35
+ fill: brand-800;
36
+ }
37
+ `;
38
+ const StyledGripper = styled("div", {
39
+ name: DSDataTableDragAndDropCellName,
40
+ slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.GRIPPER
41
+ })`
42
+ pointer-events: ${({ isDisabled }) => isDisabled ? "none" : ""};
43
+ cursor: ${({ isActive, isDisabled }) => {
44
+ if (isDisabled)
45
+ return "not-allowed";
46
+ if (isActive)
47
+ return "grabbing";
48
+ return "grab";
49
+ }};
50
+ outline: none;
51
+ display: flex;
52
+ align-items: center;
53
+ touch-action: none;
54
+
55
+ svg {
56
+ fill: ${({ isActive, theme }) => isActive && theme.colors.neutral["500"]};
57
+ }
58
+ `;
59
+ const DSDataTableDragAndDropCell = (props) => {
60
+ const { propsWithDefault, xstyledProps } = useDataTableDragAndDropCell(props);
61
+ const ownerPropsConfig = useOwnerProps(propsWithDefault);
62
+ return /* @__PURE__ */ jsx(
63
+ StyledWrapper,
64
+ {
65
+ className: propsWithDefault.className,
66
+ ...ownerPropsConfig,
67
+ ...xstyledProps,
68
+ shouldShowFocus: propsWithDefault.shouldShowFocus,
69
+ children: /* @__PURE__ */ jsx(
70
+ StyledGripper,
71
+ {
72
+ role: "button",
73
+ "aria-label": "Drag handle",
74
+ isDisabled: propsWithDefault.disabled,
75
+ isActive: propsWithDefault.active,
76
+ ...ownerPropsConfig,
77
+ children: /* @__PURE__ */ jsx(GripperVertical, { size: "s" })
78
+ }
79
+ )
80
+ }
81
+ );
82
+ };
83
+ DSDataTableDragAndDropCell.displayName = DSDataTableDragAndDropCellName;
84
+ const DSDataTableDragAndDropCellWithSchema = describe(DSDataTableDragAndDropCell);
85
+ DSDataTableDragAndDropCellWithSchema.propTypes = DSDataTableDragAndDropCellPropTypesSchema;
86
+ export {
87
+ DSDataTableDragAndDropCell,
88
+ DSDataTableDragAndDropCellWithSchema
89
+ };
90
+ //# sourceMappingURL=DSDataTableDragAndDropCell.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSDataTableDragAndDropCell.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { styled } from '@elliemae/ds-system';\nimport {\n type DSDataTableDragAndDropCellT,\n DSDataTableDragAndDropCellPropTypesSchema,\n} from './react-desc-prop-types.js';\nimport { useDataTableDragAndDropCell } from './config/useDataTableDragAndDropCell.js';\nimport { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DSDataTableDragAndDropCellName } from './constants/index.js';\nimport { useOwnerProps } from '@elliemae/ds-utilities';\nimport { GripperVertical } from '@elliemae/ds-icons';\nimport { DSDataTableCell } from '@elliemae/ds-data-table-cell';\n\nconst StyledWrapper = styled(DSDataTableCell, {\n name: DSDataTableDragAndDropCellName,\n slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.ROOT,\n})<{ shouldShowFocus: boolean }>`\n padding: 0;\n justify-content: center;\n ${({ shouldShowFocus, theme }) =>\n shouldShowFocus\n ? `:focus-within {\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid ${theme.colors.brand[700]};\n pointer-events: none;\n z-index: 7;\n }\n }`\n : undefined}\n\n svg {\n fill: brand-800;\n }\n`;\n\nconst StyledGripper = styled('div', {\n name: DSDataTableDragAndDropCellName,\n slot: DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS.GRIPPER,\n})<{ isDisabled: boolean; isActive: boolean }>`\n pointer-events: ${({ isDisabled }) => (isDisabled ? 'none' : '')};\n cursor: ${({ isActive, isDisabled }) => {\n if (isDisabled) return 'not-allowed';\n if (isActive) return 'grabbing';\n return 'grab';\n }};\n outline: none;\n display: flex;\n align-items: center;\n touch-action: none;\n\n svg {\n fill: ${({ isActive, theme }) => isActive && theme.colors.neutral['500']};\n }\n`;\n\nconst DSDataTableDragAndDropCell: React.ComponentType<DSDataTableDragAndDropCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableDragAndDropCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper\n className={propsWithDefault.className}\n {...ownerPropsConfig}\n {...xstyledProps}\n shouldShowFocus={propsWithDefault.shouldShowFocus}\n >\n <StyledGripper\n role=\"button\"\n aria-label=\"Drag handle\"\n isDisabled={propsWithDefault.disabled}\n isActive={propsWithDefault.active}\n {...ownerPropsConfig}\n >\n <GripperVertical size=\"s\" />\n </StyledGripper>\n </StyledWrapper>\n );\n};\n\nDSDataTableDragAndDropCell.displayName = DSDataTableDragAndDropCellName;\nconst DSDataTableDragAndDropCellWithSchema = describe(DSDataTableDragAndDropCell);\nDSDataTableDragAndDropCellWithSchema.propTypes = DSDataTableDragAndDropCellPropTypesSchema;\n\nexport { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;AC+Ef;AA9ER,SAAS,gBAAgB;AACzB,SAAS,cAAc;AACvB;AAAA,EAEE;AAAA,OACK;AACP,SAAS,mCAAmC;AAC5C,SAAS,qCAAqC,sCAAsC;AACpF,SAAS,qBAAqB;AAC9B,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAEhC,MAAM,gBAAgB,OAAO,iBAAiB;AAAA,EAC5C,MAAM;AAAA,EACN,MAAM,oCAAoC;AAC5C,CAAC;AAAA;AAAA;AAAA,IAGG,CAAC,EAAE,iBAAiB,MAAM,MAC1B,kBACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BASkB,MAAM,OAAO,MAAM,GAAG;AAAA;AAAA;AAAA;AAAA,OAKxC;AAAA;AAAA;AAAA;AAAA;AAAA;AAOR,MAAM,gBAAgB,OAAO,OAAO;AAAA,EAClC,MAAM;AAAA,EACN,MAAM,oCAAoC;AAC5C,CAAC;AAAA,oBACmB,CAAC,EAAE,WAAW,MAAO,aAAa,SAAS;AAAA,YACnD,CAAC,EAAE,UAAU,WAAW,MAAM;AACtC,MAAI;AAAY,WAAO;AACvB,MAAI;AAAU,WAAO;AACrB,SAAO;AACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOU,CAAC,EAAE,UAAU,MAAM,MAAM,YAAY,MAAM,OAAO,QAAQ,KAAK;AAAA;AAAA;AAI3E,MAAM,6BAAqF,CAAC,UAAU;AACpG,QAAM,EAAE,kBAAkB,aAAa,IAAI,4BAA4B,KAAK;AAC5E,QAAM,mBAAmB,cAAc,gBAAgB;AACvD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,iBAAiB;AAAA,MAC3B,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,iBAAiB,iBAAiB;AAAA,MAElC;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,YAAY,iBAAiB;AAAA,UAC7B,UAAU,iBAAiB;AAAA,UAC1B,GAAG;AAAA,UAEJ,8BAAC,mBAAgB,MAAK,KAAI;AAAA;AAAA,MAC5B;AAAA;AAAA,EACF;AAEJ;AAEA,2BAA2B,cAAc;AACzC,MAAM,uCAAuC,SAAS,0BAA0B;AAChF,qCAAqC,YAAY;",
6
+ "names": []
7
+ }
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ import React2 from "react";
3
+ import { useGetXstyledProps, useMemoMergePropsWithDefault } from "@elliemae/ds-props-helpers";
4
+ import {
5
+ DSDataTableDragAndDropCellPropTypes,
6
+ defaultProps
7
+ } from "../react-desc-prop-types.js";
8
+ import { useValidateProps } from "./useValidateProps.js";
9
+ const useDataTableDragAndDropCell = (propsFromUser) => {
10
+ const propsWithDefault = useMemoMergePropsWithDefault(
11
+ propsFromUser,
12
+ defaultProps
13
+ );
14
+ useValidateProps(propsWithDefault, DSDataTableDragAndDropCellPropTypes);
15
+ const xstyledProps = useGetXstyledProps(propsWithDefault);
16
+ return React2.useMemo(
17
+ () => ({
18
+ propsWithDefault,
19
+ xstyledProps
20
+ }),
21
+ [propsWithDefault, xstyledProps]
22
+ );
23
+ };
24
+ export {
25
+ useDataTableDragAndDropCell
26
+ };
27
+ //# sourceMappingURL=useDataTableDragAndDropCell.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/config/useDataTableDragAndDropCell.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useGetXstyledProps, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport {\n type DSDataTableDragAndDropCellT,\n DSDataTableDragAndDropCellPropTypes,\n defaultProps,\n} from '../react-desc-prop-types.js';\nimport { useValidateProps } from './useValidateProps.js';\n\nexport interface DataTableDragAndDropCellCTX {\n propsWithDefault: DSDataTableDragAndDropCellT.InternalProps;\n xstyledProps: ReturnType<typeof useGetXstyledProps>;\n instanceUid: string;\n}\n\nexport const useDataTableDragAndDropCell = (propsFromUser: DSDataTableDragAndDropCellT.Props) => {\n // =============================================================================\n // MERGE WITH DEFAULT AND VALIDATE PROPS\n // =============================================================================\n const propsWithDefault = useMemoMergePropsWithDefault<DSDataTableDragAndDropCellT.InternalProps>(\n propsFromUser,\n defaultProps,\n );\n useValidateProps(propsWithDefault, DSDataTableDragAndDropCellPropTypes);\n // =============================================================================\n // XSTYLED PROPS\n // =============================================================================\n const xstyledProps = useGetXstyledProps(propsWithDefault);\n\n return React.useMemo(\n () => ({\n propsWithDefault,\n xstyledProps,\n }),\n [propsWithDefault, xstyledProps],\n );\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,OAAOA,YAAW;AAClB,SAAS,oBAAoB,oCAAoC;AACjE;AAAA,EAEE;AAAA,EACA;AAAA,OACK;AACP,SAAS,wBAAwB;AAQ1B,MAAM,8BAA8B,CAAC,kBAAqD;AAI/F,QAAM,mBAAmB;AAAA,IACvB;AAAA,IACA;AAAA,EACF;AACA,mBAAiB,kBAAkB,mCAAmC;AAItE,QAAM,eAAe,mBAAmB,gBAAgB;AAExD,SAAOA,OAAM;AAAA,IACX,OAAO;AAAA,MACL;AAAA,MACA;AAAA,IACF;AAAA,IACA,CAAC,kBAAkB,YAAY;AAAA,EACjC;AACF;",
6
+ "names": ["React"]
7
+ }
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import { useValidateTypescriptPropTypes } from "@elliemae/ds-props-helpers";
3
+ import { DSDataTableDragAndDropCellName } from "../constants/index.js";
4
+ const useValidateProps = (props, propTypes) => {
5
+ useValidateTypescriptPropTypes(props, propTypes, DSDataTableDragAndDropCellName);
6
+ };
7
+ export {
8
+ useValidateProps
9
+ };
10
+ //# sourceMappingURL=useValidateProps.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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 type { WeakValidationMap } from 'react';\nimport { type DSDataTableDragAndDropCellT } from '../react-desc-prop-types.js';\nimport { DSDataTableDragAndDropCellName } from '../constants/index.js';\n\nexport const useValidateProps = (\n props: DSDataTableDragAndDropCellT.InternalProps,\n propTypes: WeakValidationMap<unknown>,\n): void => {\n // we validate the \"required if\" via 'isRequiredIf from our custom PropTypes\n useValidateTypescriptPropTypes(props, propTypes, DSDataTableDragAndDropCellName);\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,sCAAsC;AAG/C,SAAS,sCAAsC;AAExC,MAAM,mBAAmB,CAC9B,OACA,cACS;AAET,iCAA+B,OAAO,WAAW,8BAA8B;AACjF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { slotObjectToDataTestIds } from "@elliemae/ds-system";
3
+ const DSDataTableDragAndDropCellName = "DSDataTableDragAndDropCell";
4
+ const DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS = {
5
+ ROOT: "root",
6
+ GRIPPER: "gripper"
7
+ };
8
+ const DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID = slotObjectToDataTestIds(
9
+ DSDataTableDragAndDropCellName,
10
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS
11
+ );
12
+ export {
13
+ DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID,
14
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,
15
+ DSDataTableDragAndDropCellName
16
+ };
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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 DSDataTableDragAndDropCellName = 'DSDataTableDragAndDropCell';\n\n// we are giving \"component_name_slots\" to avoid errors on duplicate exports variables in aggregators\nexport const DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS = {\n ROOT: 'root',\n GRIPPER: 'gripper',\n} as const;\n\n// we are giving \"component_name_data_testid\" to avoid errors on duplicate exports variables in aggregators\nexport const DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID = slotObjectToDataTestIds(\n DSDataTableDragAndDropCellName,\n DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,\n);\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AAEjC,MAAM,iCAAiC;AAGvC,MAAM,sCAAsC;AAAA,EACjD,MAAM;AAAA,EACN,SAAS;AACX;AAGO,MAAM,4CAA4C;AAAA,EACvD;AAAA,EACA;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema } from "./DSDataTableDragAndDropCell.js";
3
+ import {} from "./react-desc-prop-types.js";
4
+ import { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID } from "./constants/index.js";
5
+ export {
6
+ DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID,
7
+ DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS,
8
+ DSDataTableDragAndDropCell,
9
+ DSDataTableDragAndDropCellWithSchema
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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 { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema } from './DSDataTableDragAndDropCell.js';\nexport { type DSDataTableDragAndDropCellT } from './react-desc-prop-types.js';\nexport { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID } from './constants/index.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,4BAA4B,4CAA4C;AACjF,eAAiD;AACjD,SAAS,qCAAqC,iDAAiD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": [
4
+ "*.css",
5
+ "*.scss"
6
+ ]
7
+ }
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { PropTypes, xstyledPropTypes, getPropsPerSlotPropTypes } from "@elliemae/ds-props-helpers";
3
+ import { DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS } from "./constants/index.js";
4
+ const defaultProps = {
5
+ disabled: false,
6
+ active: false,
7
+ shouldShowFocus: true
8
+ };
9
+ const DSDataTableDragAndDropCellPropTypes = {
10
+ ...xstyledPropTypes,
11
+ ...getPropsPerSlotPropTypes(DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS),
12
+ className: PropTypes.string.description("className for the wrapper"),
13
+ disabled: PropTypes.bool.description("Whether its disabled or not"),
14
+ active: PropTypes.bool.description("Whether its active or not"),
15
+ shouldShowFocus: PropTypes.bool.description("Whether its should the focus or not")
16
+ };
17
+ const DSDataTableDragAndDropCellPropTypesSchema = DSDataTableDragAndDropCellPropTypes;
18
+ export {
19
+ DSDataTableDragAndDropCellPropTypes,
20
+ DSDataTableDragAndDropCellPropTypesSchema,
21
+ defaultProps
22
+ };
23
+ //# sourceMappingURL=react-desc-prop-types.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes, xstyledPropTypes, getPropsPerSlotPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS } from './constants/index.js';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSDataTableDragAndDropCellT {\n export interface RequiredProps {}\n\n export interface DefaultProps {\n disabled: boolean;\n active: boolean;\n shouldShowFocus: boolean;\n }\n\n export interface OptionalProps\n extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSDataTableDragAndDropCellName,\n typeof DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS\n > {\n className?: string;\n }\n\n export interface Props extends Partial<DefaultProps>, OptionalProps, XstyledProps, RequiredProps {}\n\n export interface InternalProps extends DefaultProps, OptionalProps, XstyledProps, RequiredProps {}\n}\n\nexport const defaultProps: DSDataTableDragAndDropCellT.DefaultProps = {\n disabled: false,\n active: false,\n shouldShowFocus: true,\n};\n\nexport const DSDataTableDragAndDropCellPropTypes: DSPropTypesSchema<DSDataTableDragAndDropCellT.Props> = {\n ...xstyledPropTypes,\n ...getPropsPerSlotPropTypes(DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS),\n className: PropTypes.string.description('className for the wrapper'),\n disabled: PropTypes.bool.description('Whether its disabled or not'),\n active: PropTypes.bool.description('Whether its active or not'),\n shouldShowFocus: PropTypes.bool.description('Whether its should the focus or not'),\n};\n\nexport const DSDataTableDragAndDropCellPropTypesSchema =\n DSDataTableDragAndDropCellPropTypes as unknown as WeakValidationMap<DSDataTableDragAndDropCellT.Props>;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,kBAAkB,gCAAgC;AAEtE,SAAS,gCAAgC,2CAA2C;AAyB7E,MAAM,eAAyD;AAAA,EACpE,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,iBAAiB;AACnB;AAEO,MAAM,sCAA4F;AAAA,EACvG,GAAG;AAAA,EACH,GAAG,yBAAyB,gCAAgC,mCAAmC;AAAA,EAC/F,WAAW,UAAU,OAAO,YAAY,2BAA2B;AAAA,EACnE,UAAU,UAAU,KAAK,YAAY,6BAA6B;AAAA,EAClE,QAAQ,UAAU,KAAK,YAAY,2BAA2B;AAAA,EAC9D,iBAAiB,UAAU,KAAK,YAAY,qCAAqC;AACnF;AAEO,MAAM,4CACX;",
6
+ "names": []
7
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSDataTableDragAndDropCellT } from './react-desc-prop-types.js';
3
+ declare const DSDataTableDragAndDropCell: React.ComponentType<DSDataTableDragAndDropCellT.Props>;
4
+ declare const DSDataTableDragAndDropCellWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSDataTableDragAndDropCellT.Props>;
5
+ export { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema };
@@ -0,0 +1,11 @@
1
+ import { useGetXstyledProps } from '@elliemae/ds-props-helpers';
2
+ import { type DSDataTableDragAndDropCellT } from '../react-desc-prop-types.js';
3
+ export interface DataTableDragAndDropCellCTX {
4
+ propsWithDefault: DSDataTableDragAndDropCellT.InternalProps;
5
+ xstyledProps: ReturnType<typeof useGetXstyledProps>;
6
+ instanceUid: string;
7
+ }
8
+ export declare const useDataTableDragAndDropCell: (propsFromUser: DSDataTableDragAndDropCellT.Props) => {
9
+ propsWithDefault: DSDataTableDragAndDropCellT.InternalProps;
10
+ xstyledProps: import("@elliemae/ds-props-helpers").XstyledProps;
11
+ };
@@ -0,0 +1,3 @@
1
+ import type { WeakValidationMap } from 'react';
2
+ import { type DSDataTableDragAndDropCellT } from '../react-desc-prop-types.js';
3
+ export declare const useValidateProps: (props: DSDataTableDragAndDropCellT.InternalProps, propTypes: WeakValidationMap<unknown>) => void;
@@ -0,0 +1,6 @@
1
+ export declare const DSDataTableDragAndDropCellName = "DSDataTableDragAndDropCell";
2
+ export declare const DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS: {
3
+ readonly ROOT: "root";
4
+ readonly GRIPPER: "gripper";
5
+ };
6
+ export declare const DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID: Record<string, string>;
@@ -0,0 +1,3 @@
1
+ export { DSDataTableDragAndDropCell, DSDataTableDragAndDropCellWithSchema } from './DSDataTableDragAndDropCell.js';
2
+ export { type DSDataTableDragAndDropCellT } from './react-desc-prop-types.js';
3
+ export { DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS, DATA_TABLE_DRAG_AND_DROP_CELL_DATA_TESTID } from './constants/index.js';
@@ -0,0 +1,23 @@
1
+ import type { XstyledProps, DSPropTypesSchema } from '@elliemae/ds-props-helpers';
2
+ import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
3
+ import { DSDataTableDragAndDropCellName, DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS } from './constants/index.js';
4
+ import type { WeakValidationMap } from 'react';
5
+ export declare namespace DSDataTableDragAndDropCellT {
6
+ interface RequiredProps {
7
+ }
8
+ interface DefaultProps {
9
+ disabled: boolean;
10
+ active: boolean;
11
+ shouldShowFocus: boolean;
12
+ }
13
+ interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSDataTableDragAndDropCellName, typeof DATA_TABLE_DRAG_AND_DROP_CELL_SLOTS> {
14
+ className?: string;
15
+ }
16
+ interface Props extends Partial<DefaultProps>, OptionalProps, XstyledProps, RequiredProps {
17
+ }
18
+ interface InternalProps extends DefaultProps, OptionalProps, XstyledProps, RequiredProps {
19
+ }
20
+ }
21
+ export declare const defaultProps: DSDataTableDragAndDropCellT.DefaultProps;
22
+ export declare const DSDataTableDragAndDropCellPropTypes: DSPropTypesSchema<DSDataTableDragAndDropCellT.Props>;
23
+ export declare const DSDataTableDragAndDropCellPropTypesSchema: WeakValidationMap<DSDataTableDragAndDropCellT.Props>;
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@elliemae/ds-data-table-drag-and-drop-cell",
3
+ "version": "3.31.0-next.6",
4
+ "license": "MIT",
5
+ "description": "ICE MT - Dimsum - Data Table Drag And Drop Cell",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/esm/index.js",
10
+ "main": "./dist/cjs/index.js",
11
+ "types": "./dist/types/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.js"
16
+ }
17
+ },
18
+ "sideEffects": [
19
+ "*.css",
20
+ "*.scss"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
25
+ },
26
+ "engines": {
27
+ "pnpm": ">=6",
28
+ "node": ">=16"
29
+ },
30
+ "author": "ICE MT",
31
+ "jestSonar": {
32
+ "sonar56x": true,
33
+ "reportPath": "reports",
34
+ "reportFile": "tests.xml",
35
+ "indent": 4
36
+ },
37
+ "dependencies": {
38
+ "@xstyled/styled-components": "~3.6.0",
39
+ "@elliemae/ds-data-table-cell": "3.31.0-next.6",
40
+ "@elliemae/ds-icons": "3.31.0-next.6",
41
+ "@elliemae/ds-props-helpers": "3.31.0-next.6",
42
+ "@elliemae/ds-system": "3.31.0-next.6",
43
+ "@elliemae/ds-typescript-helpers": "3.31.0-next.6",
44
+ "@elliemae/ds-utilities": "3.31.0-next.6"
45
+ },
46
+ "devDependencies": {
47
+ "@elliemae/pui-cli": "~9.0.0-next.31",
48
+ "styled-components": "~5.3.9",
49
+ "@elliemae/ds-monorepo-devops": "3.31.0-next.6"
50
+ },
51
+ "peerDependencies": {
52
+ "@testing-library/jest-dom": "~5.16.4",
53
+ "@testing-library/react": "~12.1.3",
54
+ "@testing-library/user-event": "~13.5.0",
55
+ "react": "^17.0.2",
56
+ "react-dom": "^17.0.2",
57
+ "styled-components": "~5.3.9"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public",
61
+ "typeSafety": true
62
+ },
63
+ "scripts": {
64
+ "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
65
+ "test": "pui-cli test --passWithNoTests",
66
+ "lint": "node ../../../scripts/lint.mjs --fix",
67
+ "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
68
+ "dts": "node ../../scripts/dts.mjs",
69
+ "dts:withdeps": "pnpm --filter {.}... dts",
70
+ "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
71
+ "dev:build": "pnpm --filter {.}... build",
72
+ "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
73
+ "checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
74
+ }
75
+ }