@elliemae/ds-data-table-action-cell 3.37.0-rc.4 → 3.37.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.
|
@@ -39,7 +39,6 @@ var import_ds_system = require("@elliemae/ds-system");
|
|
|
39
39
|
var import_react_desc_prop_types = require("./react-desc-prop-types.js");
|
|
40
40
|
var import_useDataTableActionCell = require("./config/useDataTableActionCell.js");
|
|
41
41
|
var import_constants = require("./constants/index.js");
|
|
42
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
43
42
|
var import_ds_data_table_cell = require("@elliemae/ds-data-table-cell");
|
|
44
43
|
const StyledWrapper = (0, import_ds_system.styled)(import_ds_data_table_cell.DSDataTableCell, {
|
|
45
44
|
name: import_constants.DSDataTableActionCellName,
|
|
@@ -54,7 +53,7 @@ const StyledWrapper = (0, import_ds_system.styled)(import_ds_data_table_cell.DSD
|
|
|
54
53
|
`;
|
|
55
54
|
const DSDataTableActionCell = (props) => {
|
|
56
55
|
const { propsWithDefault, xstyledProps } = (0, import_useDataTableActionCell.useDataTableActionCell)(props);
|
|
57
|
-
const ownerPropsConfig = (0,
|
|
56
|
+
const ownerPropsConfig = (0, import_ds_props_helpers.useOwnerProps)(propsWithDefault);
|
|
58
57
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledWrapper, { className: propsWithDefault.className, ...ownerPropsConfig, ...xstyledProps, children: propsWithDefault.children });
|
|
59
58
|
};
|
|
60
59
|
DSDataTableActionCell.displayName = import_constants.DSDataTableActionCellName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSDataTableActionCell.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 { type DSDataTableActionCellT, DSDataTableActionCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableActionCell } from './config/useDataTableActionCell.js';\nimport { DATA_TABLE_ACTION_CELL_SLOTS, DSDataTableActionCellName } from './constants/index.js';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { describe, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { styled } from '@elliemae/ds-system';\nimport { type DSDataTableActionCellT, DSDataTableActionCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableActionCell } from './config/useDataTableActionCell.js';\nimport { DATA_TABLE_ACTION_CELL_SLOTS, DSDataTableActionCellName } from './constants/index.js';\nimport { DSDataTableCell } from '@elliemae/ds-data-table-cell';\n\nconst StyledWrapper = styled(DSDataTableCell, {\n name: DSDataTableActionCellName,\n slot: DATA_TABLE_ACTION_CELL_SLOTS.ROOT,\n})`\n padding: 0;\n position: sticky;\n display: flex;\n right: 0;\n background: white;\n overflow: visible;\n`;\n\nconst DSDataTableActionCell: React.ComponentType<DSDataTableActionCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableActionCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper className={propsWithDefault.className} {...ownerPropsConfig} {...xstyledProps}>\n {propsWithDefault.children}\n </StyledWrapper>\n );\n};\n\nDSDataTableActionCell.displayName = DSDataTableActionCellName;\nconst DSDataTableActionCellWithSchema = describe(DSDataTableActionCell);\nDSDataTableActionCellWithSchema.propTypes = DSDataTableActionCellPropTypesSchema;\n\nexport { DSDataTableActionCell, DSDataTableActionCellWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADwBnB;AAvBJ,8BAAwC;AACxC,uBAAuB;AACvB,mCAAkF;AAClF,oCAAuC;AACvC,uBAAwE;AACxE,gCAAgC;AAEhC,MAAM,oBAAgB,yBAAO,2CAAiB;AAAA,EAC5C,MAAM;AAAA,EACN,MAAM,8CAA6B;AACrC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASD,MAAM,wBAA2E,CAAC,UAAU;AAC1F,QAAM,EAAE,kBAAkB,aAAa,QAAI,sDAAuB,KAAK;AACvE,QAAM,uBAAmB,uCAAc,gBAAgB;AACvD,SACE,4CAAC,iBAAc,WAAW,iBAAiB,WAAY,GAAG,kBAAmB,GAAG,cAC7E,2BAAiB,UACpB;AAEJ;AAEA,sBAAsB,cAAc;AACpC,MAAM,sCAAkC,kCAAS,qBAAqB;AACtE,gCAAgC,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { describe } from "@elliemae/ds-props-helpers";
|
|
3
|
+
import { describe, useOwnerProps } from "@elliemae/ds-props-helpers";
|
|
4
4
|
import { styled } from "@elliemae/ds-system";
|
|
5
5
|
import { DSDataTableActionCellPropTypesSchema } from "./react-desc-prop-types.js";
|
|
6
6
|
import { useDataTableActionCell } from "./config/useDataTableActionCell.js";
|
|
7
7
|
import { DATA_TABLE_ACTION_CELL_SLOTS, DSDataTableActionCellName } from "./constants/index.js";
|
|
8
|
-
import { useOwnerProps } from "@elliemae/ds-utilities";
|
|
9
8
|
import { DSDataTableCell } from "@elliemae/ds-data-table-cell";
|
|
10
9
|
const StyledWrapper = styled(DSDataTableCell, {
|
|
11
10
|
name: DSDataTableActionCellName,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSDataTableActionCell.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 { type DSDataTableActionCellT, DSDataTableActionCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableActionCell } from './config/useDataTableActionCell.js';\nimport { DATA_TABLE_ACTION_CELL_SLOTS, DSDataTableActionCellName } from './constants/index.js';\nimport {
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe, useOwnerProps } from '@elliemae/ds-props-helpers';\nimport { styled } from '@elliemae/ds-system';\nimport { type DSDataTableActionCellT, DSDataTableActionCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableActionCell } from './config/useDataTableActionCell.js';\nimport { DATA_TABLE_ACTION_CELL_SLOTS, DSDataTableActionCellName } from './constants/index.js';\nimport { DSDataTableCell } from '@elliemae/ds-data-table-cell';\n\nconst StyledWrapper = styled(DSDataTableCell, {\n name: DSDataTableActionCellName,\n slot: DATA_TABLE_ACTION_CELL_SLOTS.ROOT,\n})`\n padding: 0;\n position: sticky;\n display: flex;\n right: 0;\n background: white;\n overflow: visible;\n`;\n\nconst DSDataTableActionCell: React.ComponentType<DSDataTableActionCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableActionCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper className={propsWithDefault.className} {...ownerPropsConfig} {...xstyledProps}>\n {propsWithDefault.children}\n </StyledWrapper>\n );\n};\n\nDSDataTableActionCell.displayName = DSDataTableActionCellName;\nconst DSDataTableActionCellWithSchema = describe(DSDataTableActionCell);\nDSDataTableActionCellWithSchema.propTypes = DSDataTableActionCellPropTypesSchema;\n\nexport { DSDataTableActionCell, DSDataTableActionCellWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACwBnB;AAvBJ,SAAS,UAAU,qBAAqB;AACxC,SAAS,cAAc;AACvB,SAAsC,4CAA4C;AAClF,SAAS,8BAA8B;AACvC,SAAS,8BAA8B,iCAAiC;AACxE,SAAS,uBAAuB;AAEhC,MAAM,gBAAgB,OAAO,iBAAiB;AAAA,EAC5C,MAAM;AAAA,EACN,MAAM,6BAA6B;AACrC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASD,MAAM,wBAA2E,CAAC,UAAU;AAC1F,QAAM,EAAE,kBAAkB,aAAa,IAAI,uBAAuB,KAAK;AACvE,QAAM,mBAAmB,cAAc,gBAAgB;AACvD,SACE,oBAAC,iBAAc,WAAW,iBAAiB,WAAY,GAAG,kBAAmB,GAAG,cAC7E,2BAAiB,UACpB;AAEJ;AAEA,sBAAsB,cAAc;AACpC,MAAM,kCAAkC,SAAS,qBAAqB;AACtE,gCAAgC,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table-action-cell",
|
|
3
|
-
"version": "3.37.0
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table Action Cell",
|
|
6
6
|
"files": [
|
|
@@ -37,16 +37,15 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@xstyled/styled-components": "~3.6.0",
|
|
40
|
-
"@elliemae/ds-data-table-cell": "3.37.0
|
|
41
|
-
"@elliemae/ds-system": "3.37.0
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-typescript-helpers": "3.37.0-rc.4"
|
|
40
|
+
"@elliemae/ds-data-table-cell": "3.37.0",
|
|
41
|
+
"@elliemae/ds-system": "3.37.0",
|
|
42
|
+
"@elliemae/ds-props-helpers": "3.37.0",
|
|
43
|
+
"@elliemae/ds-typescript-helpers": "3.37.0"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
|
48
47
|
"styled-components": "~5.3.9",
|
|
49
|
-
"@elliemae/ds-monorepo-devops": "3.37.0
|
|
48
|
+
"@elliemae/ds-monorepo-devops": "3.37.0"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
51
|
"@testing-library/jest-dom": "~5.16.4",
|