@elliemae/ds-data-table-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_useDataTableCell = require("./config/useDataTableCell.js");
|
|
41
41
|
var import_constants = require("./constants/index.js");
|
|
42
|
-
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
43
42
|
const StyledWrapper = (0, import_ds_system.styled)("div", { name: import_constants.DSDataTableCellName, slot: import_constants.DATA_TABLE_CELL_SLOTS.ROOT })`
|
|
44
43
|
display: flex;
|
|
45
44
|
align-items: center;
|
|
@@ -49,7 +48,7 @@ const StyledWrapper = (0, import_ds_system.styled)("div", { name: import_constan
|
|
|
49
48
|
`;
|
|
50
49
|
const DSDataTableCell = (props) => {
|
|
51
50
|
const { propsWithDefault, xstyledProps } = (0, import_useDataTableCell.useDataTableCell)(props);
|
|
52
|
-
const ownerPropsConfig = (0,
|
|
51
|
+
const ownerPropsConfig = (0, import_ds_props_helpers.useOwnerProps)(propsWithDefault);
|
|
53
52
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledWrapper, { className: propsWithDefault.className, ...ownerPropsConfig, ...xstyledProps, children: propsWithDefault.children });
|
|
54
53
|
};
|
|
55
54
|
DSDataTableCell.displayName = import_constants.DSDataTableCellName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSDataTableCell.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 DSDataTableCellT, DSDataTableCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableCell } from './config/useDataTableCell.js';\nimport { DATA_TABLE_CELL_SLOTS, DSDataTableCellName } from './constants/index.js';\
|
|
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 DSDataTableCellT, DSDataTableCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableCell } from './config/useDataTableCell.js';\nimport { DATA_TABLE_CELL_SLOTS, DSDataTableCellName } from './constants/index.js';\n\nconst StyledWrapper = styled('div', { name: DSDataTableCellName, slot: DATA_TABLE_CELL_SLOTS.ROOT })`\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n padding: 0 ${({ theme }) => theme.space.xxs};\n`;\n\nconst DSDataTableCell: React.ComponentType<DSDataTableCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper className={propsWithDefault.className} {...ownerPropsConfig} {...xstyledProps}>\n {propsWithDefault.children}\n </StyledWrapper>\n );\n};\n\nDSDataTableCell.displayName = DSDataTableCellName;\nconst DSDataTableCellWithSchema = describe(DSDataTableCell);\nDSDataTableCellWithSchema.propTypes = DSDataTableCellPropTypesSchema;\n\nexport { DSDataTableCell, DSDataTableCellWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmBnB;AAlBJ,8BAAwC;AACxC,uBAAuB;AACvB,mCAAsE;AACtE,8BAAiC;AACjC,uBAA2D;AAE3D,MAAM,oBAAgB,yBAAO,OAAO,EAAE,MAAM,sCAAqB,MAAM,uCAAsB,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,eAKpF,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,GAAG;AAAA;AAG7C,MAAM,kBAA+D,CAAC,UAAU;AAC9E,QAAM,EAAE,kBAAkB,aAAa,QAAI,0CAAiB,KAAK;AACjE,QAAM,uBAAmB,uCAAc,gBAAgB;AACvD,SACE,4CAAC,iBAAc,WAAW,iBAAiB,WAAY,GAAG,kBAAmB,GAAG,cAC7E,2BAAiB,UACpB;AAEJ;AAEA,gBAAgB,cAAc;AAC9B,MAAM,gCAA4B,kCAAS,eAAe;AAC1D,0BAA0B,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 { DSDataTableCellPropTypesSchema } from "./react-desc-prop-types.js";
|
|
6
6
|
import { useDataTableCell } from "./config/useDataTableCell.js";
|
|
7
7
|
import { DATA_TABLE_CELL_SLOTS, DSDataTableCellName } from "./constants/index.js";
|
|
8
|
-
import { useOwnerProps } from "@elliemae/ds-utilities";
|
|
9
8
|
const StyledWrapper = styled("div", { name: DSDataTableCellName, slot: DATA_TABLE_CELL_SLOTS.ROOT })`
|
|
10
9
|
display: flex;
|
|
11
10
|
align-items: center;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSDataTableCell.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 DSDataTableCellT, DSDataTableCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableCell } from './config/useDataTableCell.js';\nimport { DATA_TABLE_CELL_SLOTS, DSDataTableCellName } from './constants/index.js';\
|
|
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 DSDataTableCellT, DSDataTableCellPropTypesSchema } from './react-desc-prop-types.js';\nimport { useDataTableCell } from './config/useDataTableCell.js';\nimport { DATA_TABLE_CELL_SLOTS, DSDataTableCellName } from './constants/index.js';\n\nconst StyledWrapper = styled('div', { name: DSDataTableCellName, slot: DATA_TABLE_CELL_SLOTS.ROOT })`\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n padding: 0 ${({ theme }) => theme.space.xxs};\n`;\n\nconst DSDataTableCell: React.ComponentType<DSDataTableCellT.Props> = (props) => {\n const { propsWithDefault, xstyledProps } = useDataTableCell(props);\n const ownerPropsConfig = useOwnerProps(propsWithDefault);\n return (\n <StyledWrapper className={propsWithDefault.className} {...ownerPropsConfig} {...xstyledProps}>\n {propsWithDefault.children}\n </StyledWrapper>\n );\n};\n\nDSDataTableCell.displayName = DSDataTableCellName;\nconst DSDataTableCellWithSchema = describe(DSDataTableCell);\nDSDataTableCellWithSchema.propTypes = DSDataTableCellPropTypesSchema;\n\nexport { DSDataTableCell, DSDataTableCellWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACmBnB;AAlBJ,SAAS,UAAU,qBAAqB;AACxC,SAAS,cAAc;AACvB,SAAgC,sCAAsC;AACtE,SAAS,wBAAwB;AACjC,SAAS,uBAAuB,2BAA2B;AAE3D,MAAM,gBAAgB,OAAO,OAAO,EAAE,MAAM,qBAAqB,MAAM,sBAAsB,KAAK,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,eAKpF,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,GAAG;AAAA;AAG7C,MAAM,kBAA+D,CAAC,UAAU;AAC9E,QAAM,EAAE,kBAAkB,aAAa,IAAI,iBAAiB,KAAK;AACjE,QAAM,mBAAmB,cAAc,gBAAgB;AACvD,SACE,oBAAC,iBAAc,WAAW,iBAAiB,WAAY,GAAG,kBAAmB,GAAG,cAC7E,2BAAiB,UACpB;AAEJ;AAEA,gBAAgB,cAAc;AAC9B,MAAM,4BAA4B,SAAS,eAAe;AAC1D,0BAA0B,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table-cell",
|
|
3
|
-
"version": "3.37.0
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table Cell",
|
|
6
6
|
"files": [
|
|
@@ -37,15 +37,14 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@xstyled/styled-components": "~3.6.0",
|
|
40
|
-
"@elliemae/ds-props-helpers": "3.37.0
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-utilities": "3.37.0-rc.4"
|
|
40
|
+
"@elliemae/ds-props-helpers": "3.37.0",
|
|
41
|
+
"@elliemae/ds-system": "3.37.0",
|
|
42
|
+
"@elliemae/ds-typescript-helpers": "3.37.0"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@elliemae/pui-cli": "9.0.0-next.50",
|
|
47
46
|
"styled-components": "~5.3.9",
|
|
48
|
-
"@elliemae/ds-monorepo-devops": "3.37.0
|
|
47
|
+
"@elliemae/ds-monorepo-devops": "3.37.0"
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
|
51
50
|
"@testing-library/jest-dom": "~5.16.4",
|