@dreamcommerce/aurora 3.0.0-88 → 3.0.0-89
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/build/cjs/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js +4 -2
- package/build/cjs/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js.map +1 -1
- package/build/cjs/packages/aurora/src/components/controls/select_control/select_control.js +3 -1
- package/build/cjs/packages/aurora/src/components/controls/select_control/select_control.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js +4 -2
- package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control_types.d.ts +1 -0
- package/build/esm/packages/aurora/src/components/controls/select_control/select_control.js +3 -1
- package/build/esm/packages/aurora/src/components/controls/select_control/select_control.js.map +1 -1
- package/build/esm/packages/aurora/src/components/controls/select_control/select_control_types.d.ts +1 -0
- package/package.json +1 -1
package/build/cjs/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js
CHANGED
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
|
|
17
|
-
var _excluded = ["id", "options", "isGrouped", "placeholder", "disabled", "label", "helperText", "tooltip", "errors", "onValueChange"];
|
|
17
|
+
var _excluded = ["id", "options", "isGrouped", "placeholder", "disabled", "label", "helperText", "tooltip", "errors", "onValueChange", "required"];
|
|
18
18
|
var MultiSelectControl = function MultiSelectControl(_ref) {
|
|
19
19
|
var id = _ref.id,
|
|
20
20
|
options = _ref.options,
|
|
@@ -26,13 +26,15 @@ var MultiSelectControl = function MultiSelectControl(_ref) {
|
|
|
26
26
|
tooltip = _ref.tooltip,
|
|
27
27
|
errors = _ref.errors,
|
|
28
28
|
onValueChange = _ref.onValueChange,
|
|
29
|
+
required = _ref.required,
|
|
29
30
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
30
31
|
return /*#__PURE__*/React__default['default'].createElement(control.Control, {
|
|
31
32
|
classname: "aurora-flex-col"
|
|
32
33
|
}, label$1 && (/*#__PURE__*/React__default['default'].createElement(label.Label, {
|
|
33
34
|
htmlFor: id,
|
|
34
35
|
className: "aurora-pb-1 aurora-text",
|
|
35
|
-
tooltip: tooltip
|
|
36
|
+
tooltip: tooltip,
|
|
37
|
+
required: required
|
|
36
38
|
}, label$1)), /*#__PURE__*/React__default['default'].createElement(multiselect.MultiSelect, _rollupPluginBabelHelpers.objectSpread2({
|
|
37
39
|
id: id,
|
|
38
40
|
options: options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
|
|
17
|
-
var _excluded = ["options", "id", "name", "label", "helperText", "tooltip", "placeholder", "searchPlaceholder", "hasSearch", "hasClearValueButton", "errors", "disabled", "defaultValue", "onValueChange", "innerAdditionalContent"];
|
|
17
|
+
var _excluded = ["options", "id", "name", "label", "helperText", "tooltip", "placeholder", "searchPlaceholder", "hasSearch", "hasClearValueButton", "errors", "disabled", "defaultValue", "onValueChange", "innerAdditionalContent", "required"];
|
|
18
18
|
var SelectControl = function SelectControl(_ref) {
|
|
19
19
|
var options = _ref.options,
|
|
20
20
|
id = _ref.id,
|
|
@@ -31,6 +31,7 @@ var SelectControl = function SelectControl(_ref) {
|
|
|
31
31
|
defaultValue = _ref.defaultValue,
|
|
32
32
|
onValueChange = _ref.onValueChange,
|
|
33
33
|
innerAdditionalContent = _ref.innerAdditionalContent,
|
|
34
|
+
required = _ref.required,
|
|
34
35
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
35
36
|
return /*#__PURE__*/React__default['default'].createElement(control.Control, {
|
|
36
37
|
classname: "aurora-flex-col"
|
|
@@ -39,6 +40,7 @@ var SelectControl = function SelectControl(_ref) {
|
|
|
39
40
|
}, /*#__PURE__*/React__default['default'].createElement(label.Label, {
|
|
40
41
|
htmlFor: id,
|
|
41
42
|
tooltip: tooltip,
|
|
43
|
+
required: required,
|
|
42
44
|
className: "aurora-text"
|
|
43
45
|
}, label$1))), /*#__PURE__*/React__default['default'].createElement(select.Select, _rollupPluginBabelHelpers.objectSpread2({
|
|
44
46
|
id: id,
|
package/build/cjs/packages/aurora/src/components/controls/select_control/select_control.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
package/build/esm/packages/aurora/src/components/controls/multiselect_control/multiselect_control.js
CHANGED
|
@@ -6,7 +6,7 @@ import { ErrorList } from '../../error_list/error_list.js';
|
|
|
6
6
|
import { Control } from '../../control/control.js';
|
|
7
7
|
import { MultiSelect } from '../../multiselect/multiselect.js';
|
|
8
8
|
|
|
9
|
-
var _excluded = ["id", "options", "isGrouped", "placeholder", "disabled", "label", "helperText", "tooltip", "errors", "onValueChange"];
|
|
9
|
+
var _excluded = ["id", "options", "isGrouped", "placeholder", "disabled", "label", "helperText", "tooltip", "errors", "onValueChange", "required"];
|
|
10
10
|
var MultiSelectControl = function MultiSelectControl(_ref) {
|
|
11
11
|
var id = _ref.id,
|
|
12
12
|
options = _ref.options,
|
|
@@ -18,13 +18,15 @@ var MultiSelectControl = function MultiSelectControl(_ref) {
|
|
|
18
18
|
tooltip = _ref.tooltip,
|
|
19
19
|
errors = _ref.errors,
|
|
20
20
|
onValueChange = _ref.onValueChange,
|
|
21
|
+
required = _ref.required,
|
|
21
22
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
22
23
|
return /*#__PURE__*/React.createElement(Control, {
|
|
23
24
|
classname: "aurora-flex-col"
|
|
24
25
|
}, label && (/*#__PURE__*/React.createElement(Label, {
|
|
25
26
|
htmlFor: id,
|
|
26
27
|
className: "aurora-pb-1 aurora-text",
|
|
27
|
-
tooltip: tooltip
|
|
28
|
+
tooltip: tooltip,
|
|
29
|
+
required: required
|
|
28
30
|
}, label)), /*#__PURE__*/React.createElement(MultiSelect, _objectSpread2({
|
|
29
31
|
id: id,
|
|
30
32
|
options: options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -6,7 +6,7 @@ import { ErrorList } from '../../error_list/error_list.js';
|
|
|
6
6
|
import { Control } from '../../control/control.js';
|
|
7
7
|
import { Select } from '../../select/select.js';
|
|
8
8
|
|
|
9
|
-
var _excluded = ["options", "id", "name", "label", "helperText", "tooltip", "placeholder", "searchPlaceholder", "hasSearch", "hasClearValueButton", "errors", "disabled", "defaultValue", "onValueChange", "innerAdditionalContent"];
|
|
9
|
+
var _excluded = ["options", "id", "name", "label", "helperText", "tooltip", "placeholder", "searchPlaceholder", "hasSearch", "hasClearValueButton", "errors", "disabled", "defaultValue", "onValueChange", "innerAdditionalContent", "required"];
|
|
10
10
|
var SelectControl = function SelectControl(_ref) {
|
|
11
11
|
var options = _ref.options,
|
|
12
12
|
id = _ref.id,
|
|
@@ -23,6 +23,7 @@ var SelectControl = function SelectControl(_ref) {
|
|
|
23
23
|
defaultValue = _ref.defaultValue,
|
|
24
24
|
onValueChange = _ref.onValueChange,
|
|
25
25
|
innerAdditionalContent = _ref.innerAdditionalContent,
|
|
26
|
+
required = _ref.required,
|
|
26
27
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
27
28
|
return /*#__PURE__*/React.createElement(Control, {
|
|
28
29
|
classname: "aurora-flex-col"
|
|
@@ -31,6 +32,7 @@ var SelectControl = function SelectControl(_ref) {
|
|
|
31
32
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
32
33
|
htmlFor: id,
|
|
33
34
|
tooltip: tooltip,
|
|
35
|
+
required: required,
|
|
34
36
|
className: "aurora-text"
|
|
35
37
|
}, label))), /*#__PURE__*/React.createElement(Select, _objectSpread2({
|
|
36
38
|
id: id,
|
package/build/esm/packages/aurora/src/components/controls/select_control/select_control.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|