@elliemae/ds-button-v2 3.51.0-next.2 → 3.51.0-next.3

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.
@@ -34,11 +34,13 @@ __export(DSButtonV3Definitions_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(DSButtonV3Definitions_exports);
36
36
  var React = __toESM(require("react"));
37
+ var import_ds_system = require("@elliemae/ds-system");
37
38
  const DSButtonV3Name = "DSButtonV3";
38
- const DSButtonV3DataTestId = {
39
- ROOT: "ds-button-v3"
40
- };
41
39
  const DSButtonV3Slots = {
42
40
  ROOT: "root"
43
41
  };
42
+ const DSButtonV3DataTestId = {
43
+ ...(0, import_ds_system.slotObjectToDataTestIds)(DSButtonV3Name, DSButtonV3Slots),
44
+ ROOT: "ds-button"
45
+ };
44
46
  //# sourceMappingURL=DSButtonV3Definitions.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/parts/DSButtonV3/DSButtonV3Definitions.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const DSButtonV3Name = 'DSButtonV3';\n\nexport const DSButtonV3DataTestId = {\n ROOT: 'ds-button-v3',\n};\nexport const DSButtonV3Slots = {\n ROOT: 'root',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,iBAAiB;AAEvB,MAAM,uBAAuB;AAAA,EAClC,MAAM;AACR;AACO,MAAM,kBAAkB;AAAA,EAC7B,MAAM;AACR;",
4
+ "sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\nexport const DSButtonV3Name = 'DSButtonV3';\n\nexport const DSButtonV3Slots = {\n ROOT: 'root',\n};\nexport const DSButtonV3DataTestId = {\n ...(slotObjectToDataTestIds(DSButtonV3Name, DSButtonV3Slots) as Record<keyof typeof DSButtonV3Slots, string>),\n ROOT: 'ds-button',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AACjC,MAAM,iBAAiB;AAEvB,MAAM,kBAAkB;AAAA,EAC7B,MAAM;AACR;AACO,MAAM,uBAAuB;AAAA,EAClC,OAAI,0CAAwB,gBAAgB,eAAe;AAAA,EAC3D,MAAM;AACR;",
6
6
  "names": []
7
7
  }
@@ -34,11 +34,13 @@ __export(DSButtonDefinitions_exports, {
34
34
  });
35
35
  module.exports = __toCommonJS(DSButtonDefinitions_exports);
36
36
  var React = __toESM(require("react"));
37
+ var import_ds_system = require("@elliemae/ds-system");
37
38
  const DSButtonName = "DSButton";
38
39
  const DSButtonSlots = {
39
40
  ROOT: "root"
40
41
  };
41
42
  const DSButtonDataTestId = {
43
+ ...(0, import_ds_system.slotObjectToDataTestIds)(DSButtonName, DSButtonSlots),
42
44
  ROOT: "ds-button"
43
45
  };
44
46
  //# sourceMappingURL=DSButtonDefinitions.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/parts/SharedButtonBaseline/DSButtonDefinitions.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const DSButtonName = 'DSButton';\n\nexport const DSButtonSlots = {\n ROOT: 'root',\n} as const;\n\nexport const DSButtonDataTestId = {\n ROOT: 'ds-button',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AACR;AAEO,MAAM,qBAAqB;AAAA,EAChC,MAAM;AACR;",
4
+ "sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\nexport const DSButtonName = 'DSButton';\n\nexport const DSButtonSlots = {\n ROOT: 'root',\n} as const;\n\nexport const DSButtonDataTestId = {\n ...(slotObjectToDataTestIds(DSButtonName, DSButtonSlots) as Record<keyof typeof DSButtonSlots, string>),\n ROOT: 'ds-button',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AACjC,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AACR;AAEO,MAAM,qBAAqB;AAAA,EAChC,OAAI,0CAAwB,cAAc,aAAa;AAAA,EACvD,MAAM;AACR;",
6
6
  "names": []
7
7
  }
@@ -1,11 +1,13 @@
1
1
  import * as React from "react";
2
+ import { slotObjectToDataTestIds } from "@elliemae/ds-system";
2
3
  const DSButtonV3Name = "DSButtonV3";
3
- const DSButtonV3DataTestId = {
4
- ROOT: "ds-button-v3"
5
- };
6
4
  const DSButtonV3Slots = {
7
5
  ROOT: "root"
8
6
  };
7
+ const DSButtonV3DataTestId = {
8
+ ...slotObjectToDataTestIds(DSButtonV3Name, DSButtonV3Slots),
9
+ ROOT: "ds-button"
10
+ };
9
11
  export {
10
12
  DSButtonV3DataTestId,
11
13
  DSButtonV3Name,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/DSButtonV3/DSButtonV3Definitions.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSButtonV3Name = 'DSButtonV3';\n\nexport const DSButtonV3DataTestId = {\n ROOT: 'ds-button-v3',\n};\nexport const DSButtonV3Slots = {\n ROOT: 'root',\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,iBAAiB;AAEvB,MAAM,uBAAuB;AAAA,EAClC,MAAM;AACR;AACO,MAAM,kBAAkB;AAAA,EAC7B,MAAM;AACR;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\nexport const DSButtonV3Name = 'DSButtonV3';\n\nexport const DSButtonV3Slots = {\n ROOT: 'root',\n};\nexport const DSButtonV3DataTestId = {\n ...(slotObjectToDataTestIds(DSButtonV3Name, DSButtonV3Slots) as Record<keyof typeof DSButtonV3Slots, string>),\n ROOT: 'ds-button',\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AACjC,MAAM,iBAAiB;AAEvB,MAAM,kBAAkB;AAAA,EAC7B,MAAM;AACR;AACO,MAAM,uBAAuB;AAAA,EAClC,GAAI,wBAAwB,gBAAgB,eAAe;AAAA,EAC3D,MAAM;AACR;",
6
6
  "names": []
7
7
  }
@@ -1,9 +1,11 @@
1
1
  import * as React from "react";
2
+ import { slotObjectToDataTestIds } from "@elliemae/ds-system";
2
3
  const DSButtonName = "DSButton";
3
4
  const DSButtonSlots = {
4
5
  ROOT: "root"
5
6
  };
6
7
  const DSButtonDataTestId = {
8
+ ...slotObjectToDataTestIds(DSButtonName, DSButtonSlots),
7
9
  ROOT: "ds-button"
8
10
  };
9
11
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/SharedButtonBaseline/DSButtonDefinitions.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSButtonName = 'DSButton';\n\nexport const DSButtonSlots = {\n ROOT: 'root',\n} as const;\n\nexport const DSButtonDataTestId = {\n ROOT: 'ds-button',\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AACR;AAEO,MAAM,qBAAqB;AAAA,EAChC,MAAM;AACR;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\nexport const DSButtonName = 'DSButton';\n\nexport const DSButtonSlots = {\n ROOT: 'root',\n} as const;\n\nexport const DSButtonDataTestId = {\n ...(slotObjectToDataTestIds(DSButtonName, DSButtonSlots) as Record<keyof typeof DSButtonSlots, string>),\n ROOT: 'ds-button',\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AACjC,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AACR;AAEO,MAAM,qBAAqB;AAAA,EAChC,GAAI,wBAAwB,cAAc,aAAa;AAAA,EACvD,MAAM;AACR;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  export declare const DSButtonV3Name = "DSButtonV3";
2
- export declare const DSButtonV3DataTestId: {
2
+ export declare const DSButtonV3Slots: {
3
3
  ROOT: string;
4
4
  };
5
- export declare const DSButtonV3Slots: {
5
+ export declare const DSButtonV3DataTestId: {
6
6
  ROOT: string;
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-button-v2",
3
- "version": "3.51.0-next.2",
3
+ "version": "3.51.0-next.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Button",
6
6
  "files": [
@@ -36,15 +36,15 @@
36
36
  "indent": 4
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-props-helpers": "3.51.0-next.2",
40
- "@elliemae/ds-system": "3.51.0-next.2",
41
- "@elliemae/ds-typescript-helpers": "3.51.0-next.2"
39
+ "@elliemae/ds-props-helpers": "3.51.0-next.3",
40
+ "@elliemae/ds-system": "3.51.0-next.3",
41
+ "@elliemae/ds-typescript-helpers": "3.51.0-next.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@elliemae/pui-cli": "9.0.0-next.50",
45
45
  "jest": "~29.7.0",
46
46
  "styled-components": "~5.3.9",
47
- "@elliemae/ds-monorepo-devops": "3.51.0-next.2"
47
+ "@elliemae/ds-monorepo-devops": "3.51.0-next.3"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": "^18.3.1",