@elliemae/ds-zipcode-search 2.0.0-rc.9 → 2.1.0-rc.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.
- package/cjs/DSZipCodeSearch.js +2 -2
- package/cjs/components/helper.js +2 -2
- package/esm/DSZipCodeSearch.js +2 -2
- package/esm/components/helper.js +2 -2
- package/package.json +4 -4
- package/types/DSZipCodeSearch.d.ts +25 -25
- package/types/props.d.ts +25 -25
package/cjs/DSZipCodeSearch.js
CHANGED
|
@@ -25,9 +25,9 @@ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_definePropert
|
|
|
25
25
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
26
26
|
var DSDropdownMenu__default = /*#__PURE__*/_interopDefaultLegacy(DSDropdownMenu);
|
|
27
27
|
|
|
28
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
+
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; }
|
|
29
29
|
|
|
30
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
30
|
+
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; }
|
|
31
31
|
|
|
32
32
|
const DSZipCodeSearch = _ref2 => {
|
|
33
33
|
let {
|
package/cjs/components/helper.js
CHANGED
|
@@ -15,9 +15,9 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
|
|
16
16
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
17
17
|
|
|
18
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
18
|
+
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; }
|
|
19
19
|
|
|
20
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
20
|
+
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; }
|
|
21
21
|
function createDisabledOption(label) {
|
|
22
22
|
return {
|
|
23
23
|
id: 'no-option',
|
package/esm/DSZipCodeSearch.js
CHANGED
|
@@ -15,9 +15,9 @@ import { createDisabledOption, noAddonOptions } from './components/helper.js';
|
|
|
15
15
|
import { zipcodeSearchProps, defaultProps } from './props.js';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
18
|
+
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; }
|
|
19
19
|
|
|
20
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
20
|
+
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(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; }
|
|
21
21
|
|
|
22
22
|
const DSZipCodeSearch = _ref2 => {
|
|
23
23
|
let {
|
package/esm/components/helper.js
CHANGED
|
@@ -7,9 +7,9 @@ import 'core-js/modules/esnext.iterator.filter.js';
|
|
|
7
7
|
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
8
8
|
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
10
|
+
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; }
|
|
11
11
|
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
12
|
+
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(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; }
|
|
13
13
|
function createDisabledOption(label) {
|
|
14
14
|
return {
|
|
15
15
|
id: 'no-option',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-zipcode-search",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Zipcode Search",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"build": "node ../../scripts/build/build.js"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-classnames": "2.
|
|
52
|
-
"@elliemae/ds-dropdownmenu": "2.
|
|
53
|
-
"@elliemae/ds-form": "2.
|
|
51
|
+
"@elliemae/ds-classnames": "2.1.0-rc.0",
|
|
52
|
+
"@elliemae/ds-dropdownmenu": "2.1.0-rc.0",
|
|
53
|
+
"@elliemae/ds-form": "2.1.0-rc.0",
|
|
54
54
|
"react-desc": "~4.1.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -17,77 +17,77 @@ declare const DSZipCodeSearch: {
|
|
|
17
17
|
}): JSX.Element;
|
|
18
18
|
propTypes: {
|
|
19
19
|
className: {
|
|
20
|
-
defaultValue
|
|
20
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
21
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
22
|
};
|
|
23
|
-
isRequired: import("react-desc").
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
24
|
};
|
|
25
25
|
containerProps: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
tabIndex: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
disabled: {
|
|
38
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
40
|
};
|
|
41
|
-
isRequired: import("react-desc").
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
42
|
};
|
|
43
|
-
value: import("react-desc").
|
|
43
|
+
value: import("react-desc").PropTypesDescValue;
|
|
44
44
|
onBlur: {
|
|
45
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
47
|
};
|
|
48
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
49
|
};
|
|
50
50
|
onChange: {
|
|
51
|
-
defaultValue
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
52
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
53
|
};
|
|
54
|
-
isRequired: import("react-desc").
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
55
|
};
|
|
56
56
|
options: {
|
|
57
|
-
defaultValue
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
58
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
59
|
};
|
|
60
|
-
isRequired: import("react-desc").
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
61
|
};
|
|
62
62
|
placeholder: {
|
|
63
|
-
defaultValue
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
64
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
65
|
};
|
|
66
|
-
isRequired: import("react-desc").
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
67
|
};
|
|
68
68
|
mask: {
|
|
69
|
-
defaultValue
|
|
69
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
70
70
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
71
|
};
|
|
72
|
-
isRequired: import("react-desc").
|
|
72
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
73
73
|
};
|
|
74
74
|
onSearch: {
|
|
75
|
-
defaultValue
|
|
75
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
76
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
77
|
};
|
|
78
|
-
isRequired: import("react-desc").
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
79
|
};
|
|
80
80
|
selectRightOptions: {
|
|
81
|
-
defaultValue
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
82
82
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
83
|
};
|
|
84
|
-
isRequired: import("react-desc").
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
85
|
};
|
|
86
86
|
activeCount: {
|
|
87
|
-
defaultValue
|
|
87
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
88
88
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
89
|
};
|
|
90
|
-
isRequired: import("react-desc").
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
defaultProps: {
|
package/types/props.d.ts
CHANGED
|
@@ -2,89 +2,89 @@
|
|
|
2
2
|
export declare const zipcodeSearchProps: {
|
|
3
3
|
/** html class attribute */
|
|
4
4
|
className: {
|
|
5
|
-
defaultValue
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
6
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
7
|
};
|
|
8
|
-
isRequired: import("react-desc").
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
9
|
};
|
|
10
10
|
/** Set of Properties attached to the main container */
|
|
11
11
|
containerProps: {
|
|
12
|
-
defaultValue
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
13
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
14
|
};
|
|
15
|
-
isRequired: import("react-desc").
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
16
|
};
|
|
17
17
|
/** native tabindex property to handle focus order */
|
|
18
18
|
tabIndex: {
|
|
19
|
-
defaultValue
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
21
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
23
|
};
|
|
24
24
|
/** disable component */
|
|
25
25
|
disabled: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
/** input value */
|
|
32
|
-
value: import("react-desc").
|
|
32
|
+
value: import("react-desc").PropTypesDescValue;
|
|
33
33
|
/** function called on blur */
|
|
34
34
|
onBlur: {
|
|
35
|
-
defaultValue
|
|
35
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
36
36
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
37
|
};
|
|
38
|
-
isRequired: import("react-desc").
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
39
39
|
};
|
|
40
40
|
/** function called on change */
|
|
41
41
|
onChange: {
|
|
42
|
-
defaultValue
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
43
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
44
|
};
|
|
45
|
-
isRequired: import("react-desc").
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
46
|
};
|
|
47
47
|
/** options to display */
|
|
48
48
|
options: {
|
|
49
|
-
defaultValue
|
|
49
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
50
50
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
51
|
};
|
|
52
|
-
isRequired: import("react-desc").
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
53
53
|
};
|
|
54
54
|
/** placeholder value */
|
|
55
55
|
placeholder: {
|
|
56
|
-
defaultValue
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
57
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
58
|
};
|
|
59
|
-
isRequired: import("react-desc").
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
60
|
};
|
|
61
61
|
/** format mask to apply */
|
|
62
62
|
mask: {
|
|
63
|
-
defaultValue
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
64
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
65
|
};
|
|
66
|
-
isRequired: import("react-desc").
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
67
|
};
|
|
68
68
|
/** function called onsearch */
|
|
69
69
|
onSearch: {
|
|
70
|
-
defaultValue
|
|
70
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
71
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
72
|
};
|
|
73
|
-
isRequired: import("react-desc").
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
74
|
};
|
|
75
75
|
/** Correction messange */
|
|
76
76
|
selectRightOptions: {
|
|
77
|
-
defaultValue
|
|
77
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
78
78
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
79
79
|
};
|
|
80
|
-
isRequired: import("react-desc").
|
|
80
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
81
81
|
};
|
|
82
82
|
/** current amount */
|
|
83
83
|
activeCount: {
|
|
84
|
-
defaultValue
|
|
84
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
85
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
86
|
};
|
|
87
|
-
isRequired: import("react-desc").
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
export declare const defaultProps: {
|