@elliemae/ds-form-single-combobox 3.60.0-next.9 → 3.61.0-rc.2

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,20 +34,15 @@ __export(SingleCombobox_exports, {
34
34
  module.exports = __toCommonJS(SingleCombobox_exports);
35
35
  var React = __toESM(require("react"));
36
36
  var import_jsx_runtime = require("react/jsx-runtime");
37
- var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
38
37
  var import_ds_form_combobox = require("@elliemae/ds-form-combobox");
38
+ var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
39
39
  const DSSingleComboBox = (props) => {
40
40
  const { selectedValue } = props;
41
41
  if (Array.isArray(selectedValue))
42
42
  throw new Error("DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.");
43
43
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_form_combobox.DSComboBox, { ...props, selectedValues: selectedValue });
44
44
  };
45
- const { selectedValues, ...restComboBoxPropTypes } = import_ds_form_combobox.ComboboxPropTypes;
46
- const SingleComboboxPropTypes = {
47
- ...restComboBoxPropTypes,
48
- selectedValue: import_ds_props_helpers.PropTypes.object.description("The selected value of the combobox.").isRequired
49
- };
50
45
  DSSingleComboBox.displayName = "DSSingleComboBox";
51
46
  const DSSingleComboBoxWithSchema = (0, import_ds_props_helpers.describe)(DSSingleComboBox);
52
- DSSingleComboBoxWithSchema.propTypes = SingleComboboxPropTypes;
47
+ DSSingleComboBoxWithSchema.propTypes = import_ds_form_combobox.singleComboboxPropTypesSchema;
53
48
  //# sourceMappingURL=SingleCombobox.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/SingleCombobox.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable no-unused-vars */\nimport React, { type WeakValidationMap } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\nimport { DSComboBox, type DSComboboxT, ComboboxPropTypes } from '@elliemae/ds-form-combobox';\n\ninterface Props extends Omit<DSComboboxT.Props, 'selectedValues'> {\n selectedValue: DSComboboxT.ItemOption | null;\n}\n\nexport type { DSComboboxT };\nconst DSSingleComboBox: React.ComponentType<Props> = (props) => {\n const { selectedValue } = props;\n\n if (Array.isArray(selectedValue))\n throw new Error('DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.');\n return <DSComboBox {...props} selectedValues={selectedValue} />;\n};\n\nconst { selectedValues, ...restComboBoxPropTypes } = ComboboxPropTypes;\n\nconst SingleComboboxPropTypes = {\n ...restComboBoxPropTypes,\n selectedValue: PropTypes.object.description('The selected value of the combobox.').isRequired,\n};\n\nDSSingleComboBox.displayName = 'DSSingleComboBox';\nconst DSSingleComboBoxWithSchema = describe(DSSingleComboBox);\n\nDSSingleComboBoxWithSchema.propTypes = SingleComboboxPropTypes as WeakValidationMap<unknown>;\n\nexport { DSSingleComboBox, DSSingleComboBoxWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADed;AAbT,8BAAoC;AACpC,8BAAgE;AAOhE,MAAM,mBAA+C,CAAC,UAAU;AAC9D,QAAM,EAAE,cAAc,IAAI;AAE1B,MAAI,MAAM,QAAQ,aAAa;AAC7B,UAAM,IAAI,MAAM,+FAA+F;AACjH,SAAO,4CAAC,sCAAY,GAAG,OAAO,gBAAgB,eAAe;AAC/D;AAEA,MAAM,EAAE,gBAAgB,GAAG,sBAAsB,IAAI;AAErD,MAAM,0BAA0B;AAAA,EAC9B,GAAG;AAAA,EACH,eAAe,kCAAU,OAAO,YAAY,qCAAqC,EAAE;AACrF;AAEA,iBAAiB,cAAc;AAC/B,MAAM,iCAA6B,kCAAS,gBAAgB;AAE5D,2BAA2B,YAAY;",
4
+ "sourcesContent": ["/* eslint-disable no-unused-vars */\nimport { DSComboBox, singleComboboxPropTypesSchema, type DSComboboxSingleT } from '@elliemae/ds-form-combobox';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport React from 'react';\n\nconst DSSingleComboBox: React.ComponentType<DSComboboxSingleT.Props> = (props) => {\n const { selectedValue } = props;\n\n if (Array.isArray(selectedValue))\n throw new Error('DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.');\n return <DSComboBox {...props} selectedValues={selectedValue} />;\n};\n\nDSSingleComboBox.displayName = 'DSSingleComboBox';\nconst DSSingleComboBoxWithSchema = describe(DSSingleComboBox);\n\nDSSingleComboBoxWithSchema.propTypes = singleComboboxPropTypesSchema;\n\nexport { DSSingleComboBox, DSSingleComboBoxWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADUd;AATT,8BAAkF;AAClF,8BAAyB;AAGzB,MAAM,mBAAiE,CAAC,UAAU;AAChF,QAAM,EAAE,cAAc,IAAI;AAE1B,MAAI,MAAM,QAAQ,aAAa;AAC7B,UAAM,IAAI,MAAM,+FAA+F;AACjH,SAAO,4CAAC,sCAAY,GAAG,OAAO,gBAAgB,eAAe;AAC/D;AAEA,iBAAiB,cAAc;AAC/B,MAAM,iCAA6B,kCAAS,gBAAgB;AAE5D,2BAA2B,YAAY;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export * from './SingleCombobox.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAc,gCAAd;",
4
+ "sourcesContent": ["export type { DSComboboxSingleT } from '@elliemae/ds-form-combobox';\nexport * from './SingleCombobox.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;ACAA,YAAuB;ADCvB,0BAAc,gCADd;",
6
6
  "names": []
7
7
  }
@@ -3,8 +3,5 @@
3
3
  "sideEffects": [
4
4
  "*.css",
5
5
  "*.scss"
6
- ],
7
- "publishConfig": {
8
- "access": "public"
9
- }
6
+ ]
10
7
  }
@@ -1,21 +1,16 @@
1
1
  import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- import { describe, PropTypes } from "@elliemae/ds-props-helpers";
4
- import { DSComboBox, ComboboxPropTypes } from "@elliemae/ds-form-combobox";
3
+ import { DSComboBox, singleComboboxPropTypesSchema } from "@elliemae/ds-form-combobox";
4
+ import { describe } from "@elliemae/ds-props-helpers";
5
5
  const DSSingleComboBox = (props) => {
6
6
  const { selectedValue } = props;
7
7
  if (Array.isArray(selectedValue))
8
8
  throw new Error("DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.");
9
9
  return /* @__PURE__ */ jsx(DSComboBox, { ...props, selectedValues: selectedValue });
10
10
  };
11
- const { selectedValues, ...restComboBoxPropTypes } = ComboboxPropTypes;
12
- const SingleComboboxPropTypes = {
13
- ...restComboBoxPropTypes,
14
- selectedValue: PropTypes.object.description("The selected value of the combobox.").isRequired
15
- };
16
11
  DSSingleComboBox.displayName = "DSSingleComboBox";
17
12
  const DSSingleComboBoxWithSchema = describe(DSSingleComboBox);
18
- DSSingleComboBoxWithSchema.propTypes = SingleComboboxPropTypes;
13
+ DSSingleComboBoxWithSchema.propTypes = singleComboboxPropTypesSchema;
19
14
  export {
20
15
  DSSingleComboBox,
21
16
  DSSingleComboBoxWithSchema
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/SingleCombobox.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-unused-vars */\nimport React, { type WeakValidationMap } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\nimport { DSComboBox, type DSComboboxT, ComboboxPropTypes } from '@elliemae/ds-form-combobox';\n\ninterface Props extends Omit<DSComboboxT.Props, 'selectedValues'> {\n selectedValue: DSComboboxT.ItemOption | null;\n}\n\nexport type { DSComboboxT };\nconst DSSingleComboBox: React.ComponentType<Props> = (props) => {\n const { selectedValue } = props;\n\n if (Array.isArray(selectedValue))\n throw new Error('DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.');\n return <DSComboBox {...props} selectedValues={selectedValue} />;\n};\n\nconst { selectedValues, ...restComboBoxPropTypes } = ComboboxPropTypes;\n\nconst SingleComboboxPropTypes = {\n ...restComboBoxPropTypes,\n selectedValue: PropTypes.object.description('The selected value of the combobox.').isRequired,\n};\n\nDSSingleComboBox.displayName = 'DSSingleComboBox';\nconst DSSingleComboBoxWithSchema = describe(DSSingleComboBox);\n\nDSSingleComboBoxWithSchema.propTypes = SingleComboboxPropTypes as WeakValidationMap<unknown>;\n\nexport { DSSingleComboBox, DSSingleComboBoxWithSchema };\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACed;AAbT,SAAS,UAAU,iBAAiB;AACpC,SAAS,YAA8B,yBAAyB;AAOhE,MAAM,mBAA+C,CAAC,UAAU;AAC9D,QAAM,EAAE,cAAc,IAAI;AAE1B,MAAI,MAAM,QAAQ,aAAa;AAC7B,UAAM,IAAI,MAAM,+FAA+F;AACjH,SAAO,oBAAC,cAAY,GAAG,OAAO,gBAAgB,eAAe;AAC/D;AAEA,MAAM,EAAE,gBAAgB,GAAG,sBAAsB,IAAI;AAErD,MAAM,0BAA0B;AAAA,EAC9B,GAAG;AAAA,EACH,eAAe,UAAU,OAAO,YAAY,qCAAqC,EAAE;AACrF;AAEA,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB;AAE5D,2BAA2B,YAAY;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-unused-vars */\nimport { DSComboBox, singleComboboxPropTypesSchema, type DSComboboxSingleT } from '@elliemae/ds-form-combobox';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport React from 'react';\n\nconst DSSingleComboBox: React.ComponentType<DSComboboxSingleT.Props> = (props) => {\n const { selectedValue } = props;\n\n if (Array.isArray(selectedValue))\n throw new Error('DSSingleCombobox cannot be used with selectedValues as an array. Use DSMultiCombobox instead.');\n return <DSComboBox {...props} selectedValues={selectedValue} />;\n};\n\nDSSingleComboBox.displayName = 'DSSingleComboBox';\nconst DSSingleComboBoxWithSchema = describe(DSSingleComboBox);\n\nDSSingleComboBoxWithSchema.propTypes = singleComboboxPropTypesSchema;\n\nexport { DSSingleComboBox, DSSingleComboBoxWithSchema };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACUd;AATT,SAAS,YAAY,qCAA6D;AAClF,SAAS,gBAAgB;AAGzB,MAAM,mBAAiE,CAAC,UAAU;AAChF,QAAM,EAAE,cAAc,IAAI;AAE1B,MAAI,MAAM,QAAQ,aAAa;AAC7B,UAAM,IAAI,MAAM,+FAA+F;AACjH,SAAO,oBAAC,cAAY,GAAG,OAAO,gBAAgB,eAAe;AAC/D;AAEA,iBAAiB,cAAc;AAC/B,MAAM,6BAA6B,SAAS,gBAAgB;AAE5D,2BAA2B,YAAY;",
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/index.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './SingleCombobox.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export type { DSComboboxSingleT } from '@elliemae/ds-form-combobox';\nexport * from './SingleCombobox.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACCvB,cAAc;",
6
6
  "names": []
7
7
  }
@@ -3,8 +3,5 @@
3
3
  "sideEffects": [
4
4
  "*.css",
5
5
  "*.scss"
6
- ],
7
- "publishConfig": {
8
- "access": "public"
9
- }
6
+ ]
10
7
  }
@@ -1,9 +1,5 @@
1
+ import { type DSComboboxSingleT } from '@elliemae/ds-form-combobox';
1
2
  import React from 'react';
2
- import { type DSComboboxT } from '@elliemae/ds-form-combobox';
3
- interface Props extends Omit<DSComboboxT.Props, 'selectedValues'> {
4
- selectedValue: DSComboboxT.ItemOption | null;
5
- }
6
- export type { DSComboboxT };
7
- declare const DSSingleComboBox: React.ComponentType<Props>;
8
- declare const DSSingleComboBoxWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<Props>;
3
+ declare const DSSingleComboBox: React.ComponentType<DSComboboxSingleT.Props>;
4
+ declare const DSSingleComboBoxWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<DSComboboxSingleT.Props>;
9
5
  export { DSSingleComboBox, DSSingleComboBoxWithSchema };
@@ -1 +1,2 @@
1
+ export type { DSComboboxSingleT } from '@elliemae/ds-form-combobox';
1
2
  export * from './SingleCombobox.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-form-single-combobox",
3
- "version": "3.60.0-next.9",
3
+ "version": "3.61.0-rc.2",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Controlled Form Single Combobox",
6
6
  "files": [
@@ -35,37 +35,35 @@
35
35
  "reportFile": "tests.xml",
36
36
  "indent": 4
37
37
  },
38
- "scripts": {
39
- "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
40
- "test": "pui-cli test --passWithNoTests --coverage=\"false\"",
41
- "lint": "node ../../../scripts/lint.mjs --fix",
42
- "lint:strict": "node ../../../scripts/lint-strict.mjs",
43
- "dts": "node ../../../scripts/dts.mjs",
44
- "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
45
- "checkDeps": "npm exec ../../util/ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
46
- },
47
38
  "dependencies": {
48
- "@elliemae/ds-form-combobox": "3.60.0-next.9",
49
- "@elliemae/ds-props-helpers": "3.60.0-next.9"
39
+ "@elliemae/ds-form-combobox": "3.61.0-rc.2",
40
+ "@elliemae/ds-props-helpers": "3.61.0-rc.2"
50
41
  },
51
42
  "devDependencies": {
52
- "@elliemae/ds-monorepo-devops": "3.60.0-next.9",
53
- "@elliemae/pui-cli": "catalog:",
54
- "@elliemae/pui-theme": "catalog:",
55
- "jest": "catalog:",
56
- "styled-components": "catalog:",
57
- "styled-system": "catalog:"
43
+ "@elliemae/pui-theme": "~2.13.0",
44
+ "jest": "^30.0.0",
45
+ "styled-components": "~5.3.9",
46
+ "styled-system": "^5.1.5",
47
+ "@elliemae/ds-monorepo-devops": "3.61.0-rc.2"
58
48
  },
59
49
  "peerDependencies": {
60
- "@elliemae/pui-theme": "catalog:",
61
- "react": "catalog:",
62
- "react-dom": "catalog:",
63
- "styled-components": "catalog:",
64
- "styled-system": "catalog:"
50
+ "@elliemae/pui-theme": "~2.13.0",
51
+ "react": "^18.3.1",
52
+ "react-dom": "^18.3.1",
53
+ "styled-components": "~5.3.9",
54
+ "styled-system": "^5.1.5"
65
55
  },
66
56
  "publishConfig": {
67
57
  "access": "public",
68
58
  "typeSafety": false
69
59
  },
70
- "gitHead": "7b49878bf6b481e639c5412a4c816ee349d91b46"
71
- }
60
+ "scripts": {
61
+ "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
62
+ "test": "ds-monorepo-devops test --passWithNoTests --coverage=\"false\"",
63
+ "lint": "node ../../../scripts/lint.mjs --fix",
64
+ "lint:strict": "node ../../../scripts/lint-strict.mjs",
65
+ "dts": "node ../../../scripts/dts.mjs",
66
+ "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
67
+ "checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
68
+ }
69
+ }