@elliemae/ds-form 2.3.0-next.2 → 2.3.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.
@@ -5,7 +5,7 @@ require('core-js/modules/esnext.iterator.constructor.js');
5
5
  require('core-js/modules/esnext.iterator.filter.js');
6
6
  require('core-js/modules/esnext.async-iterator.for-each.js');
7
7
  require('core-js/modules/esnext.iterator.for-each.js');
8
- var _jsx = require('@babel/runtime/helpers/jsx');
8
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
9
9
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
10
10
  require('react');
11
11
  var lodash = require('lodash');
@@ -15,12 +15,15 @@ var MultiValueLabel = require('./components/MultiValueLabel.js');
15
15
  var MultiValueRemove = require('./components/MultiValueRemove.js');
16
16
  var SingleValue = require('./components/SingleValue.js');
17
17
  var SingleValueRemove = require('./components/SingleValueRemove.js');
18
+ var jsxRuntime = require('react/jsx-runtime');
18
19
 
19
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
21
 
21
- var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
22
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
22
23
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
23
24
 
25
+ const _excluded = ["isMulti", "options", "value", "onChange", "onChangeV2", "onInputChange", "onFocus", "onBlur", "containerProps", "disabled", "menuIsOpen", "placeholder", "formatCreateLabel", "maxOptions"];
26
+
24
27
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
25
28
 
26
29
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -63,8 +66,10 @@ function ComboBoxFreeSolo(_ref) {
63
66
  placeholder = 'Select values',
64
67
  formatCreateLabel = val => "Create ".concat(val),
65
68
  maxOptions = undefined
66
- } = _ref;
67
- return /*#__PURE__*/_jsx__default["default"](Combobox.DSComboBox2, {
69
+ } = _ref,
70
+ rest = _objectWithoutProperties__default["default"](_ref, _excluded);
71
+
72
+ return /*#__PURE__*/jsxRuntime.jsx(Combobox.DSComboBox2, _objectSpread(_objectSpread({}, rest), {}, {
68
73
  isFreeSolo: true,
69
74
  clearable: true,
70
75
  isMulti: isMulti,
@@ -89,7 +94,7 @@ function ComboBoxFreeSolo(_ref) {
89
94
  SingleValue: SingleValue.SingleValue
90
95
  },
91
96
  componentsStyle: customStyles
92
- });
97
+ }));
93
98
  }
94
99
 
95
100
  module.exports = ComboBoxFreeSolo;
@@ -3,7 +3,7 @@ import 'core-js/modules/esnext.iterator.constructor.js';
3
3
  import 'core-js/modules/esnext.iterator.filter.js';
4
4
  import 'core-js/modules/esnext.async-iterator.for-each.js';
5
5
  import 'core-js/modules/esnext.iterator.for-each.js';
6
- import _jsx from '@babel/runtime/helpers/esm/jsx';
6
+ import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
7
7
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
8
8
  import 'react';
9
9
  import { noop } from 'lodash';
@@ -13,6 +13,9 @@ import { MultiValueLabel } from './components/MultiValueLabel.js';
13
13
  import { MultiValueRemove } from './components/MultiValueRemove.js';
14
14
  import { SingleValue } from './components/SingleValue.js';
15
15
  import { SingleValueRemove } from './components/SingleValueRemove.js';
16
+ import { jsx } from 'react/jsx-runtime';
17
+
18
+ const _excluded = ["isMulti", "options", "value", "onChange", "onChangeV2", "onInputChange", "onFocus", "onBlur", "containerProps", "disabled", "menuIsOpen", "placeholder", "formatCreateLabel", "maxOptions"];
16
19
 
17
20
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
18
21
 
@@ -56,8 +59,10 @@ function ComboBoxFreeSolo(_ref) {
56
59
  placeholder = 'Select values',
57
60
  formatCreateLabel = val => "Create ".concat(val),
58
61
  maxOptions = undefined
59
- } = _ref;
60
- return /*#__PURE__*/_jsx(DSComboBox2, {
62
+ } = _ref,
63
+ rest = _objectWithoutProperties(_ref, _excluded);
64
+
65
+ return /*#__PURE__*/jsx(DSComboBox2, _objectSpread(_objectSpread({}, rest), {}, {
61
66
  isFreeSolo: true,
62
67
  clearable: true,
63
68
  isMulti: isMulti,
@@ -82,7 +87,7 @@ function ComboBoxFreeSolo(_ref) {
82
87
  SingleValue
83
88
  },
84
89
  componentsStyle: customStyles
85
- });
90
+ }));
86
91
  }
87
92
 
88
93
  export { ComboBoxFreeSolo as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-form",
3
- "version": "2.3.0-next.2",
3
+ "version": "2.3.0-next.6",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Form",
6
6
  "module": "./esm/index.js",
@@ -748,28 +748,28 @@
748
748
  "build": "node ../../scripts/build/build.js"
749
749
  },
750
750
  "dependencies": {
751
- "@elliemae/ds-button": "2.3.0-next.2",
752
- "@elliemae/ds-circular-progress-indicator": "2.3.0-next.2",
753
- "@elliemae/ds-classnames": "2.3.0-next.2",
754
- "@elliemae/ds-controlled-form": "2.3.0-next.1",
755
- "@elliemae/ds-dropdownmenu": "2.3.0-next.2",
756
- "@elliemae/ds-form": "2.3.0-next.2",
757
- "@elliemae/ds-grid": "2.3.0-next.2",
758
- "@elliemae/ds-icon": "2.3.0-next.2",
759
- "@elliemae/ds-icons": "2.3.0-next.2",
760
- "@elliemae/ds-menu": "2.3.0-next.2",
761
- "@elliemae/ds-overlay": "2.3.0-next.2",
762
- "@elliemae/ds-pills": "2.3.0-next.2",
763
- "@elliemae/ds-popper": "2.3.0-next.2",
764
- "@elliemae/ds-popperjs": "2.3.0-next.2",
765
- "@elliemae/ds-props-helpers": "2.3.0-next.2",
766
- "@elliemae/ds-separator": "2.3.0-next.2",
767
- "@elliemae/ds-shared": "2.3.0-next.2",
768
- "@elliemae/ds-system": "2.3.0-next.1",
769
- "@elliemae/ds-text-wrapper": "2.3.0-next.2",
770
- "@elliemae/ds-tooltip": "2.3.0-next.2",
771
- "@elliemae/ds-truncated-tooltip-text": "2.3.0-next.2",
772
- "@elliemae/ds-utilities": "2.3.0-next.2",
751
+ "@elliemae/ds-button": "2.3.0-next.6",
752
+ "@elliemae/ds-circular-progress-indicator": "2.3.0-next.6",
753
+ "@elliemae/ds-classnames": "2.3.0-next.6",
754
+ "@elliemae/ds-controlled-form": "2.3.0-next.6",
755
+ "@elliemae/ds-dropdownmenu": "2.3.0-next.6",
756
+ "@elliemae/ds-form": "2.3.0-next.6",
757
+ "@elliemae/ds-grid": "2.3.0-next.6",
758
+ "@elliemae/ds-icon": "2.3.0-next.6",
759
+ "@elliemae/ds-icons": "2.3.0-next.6",
760
+ "@elliemae/ds-menu": "2.3.0-next.6",
761
+ "@elliemae/ds-overlay": "2.3.0-next.6",
762
+ "@elliemae/ds-pills": "2.3.0-next.6",
763
+ "@elliemae/ds-popper": "2.3.0-next.6",
764
+ "@elliemae/ds-popperjs": "2.3.0-next.6",
765
+ "@elliemae/ds-props-helpers": "2.3.0-next.6",
766
+ "@elliemae/ds-separator": "2.3.0-next.6",
767
+ "@elliemae/ds-shared": "2.3.0-next.6",
768
+ "@elliemae/ds-system": "2.3.0-next.6",
769
+ "@elliemae/ds-text-wrapper": "2.3.0-next.6",
770
+ "@elliemae/ds-tooltip": "2.3.0-next.6",
771
+ "@elliemae/ds-truncated-tooltip-text": "2.3.0-next.6",
772
+ "@elliemae/ds-utilities": "2.3.0-next.6",
773
773
  "memoize-one": "~5.1.1",
774
774
  "moment": "~2.29.1",
775
775
  "prop-types": "~15.7.2",
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import PropTypes from 'prop-types';
3
- declare function ComboBoxFreeSolo({ isMulti, options, value, onChange, onChangeV2, onInputChange, onFocus, onBlur, containerProps, disabled, menuIsOpen, placeholder, formatCreateLabel, maxOptions, }: {
3
+ declare function ComboBoxFreeSolo({ isMulti, options, value, onChange, onChangeV2, onInputChange, onFocus, onBlur, containerProps, disabled, menuIsOpen, placeholder, formatCreateLabel, maxOptions, ...rest }: {
4
+ [x: string]: any;
4
5
  isMulti?: boolean | undefined;
5
6
  options?: {} | undefined;
6
7
  value?: never[] | undefined;