@datarobot/design-system 30.6.0 → 30.6.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.
- package/LICENSE +2 -2
- package/cjs/typeahead/multi-select-typeahead/checkbox-multiselect-typeahead.js +4 -4
- package/esm/typeahead/multi-select-typeahead/checkbox-multiselect-typeahead.js +4 -4
- package/js/bundle/bundle.js +21 -22
- package/js/bundle/bundle.min.js +1 -1
- package/package.json +1 -1
- package/styles/index.css +5 -0
- package/styles/index.min.css +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
DATAROBOT TOOL AND UTILITY AGREEMENT
|
|
2
2
|
|
|
3
|
-
This Tool and Utility Agreement (this “Agreement”) between DataRobot, Inc., a Delaware Corporation, with its principal place of business located at
|
|
3
|
+
This Tool and Utility Agreement (this “Agreement”) between DataRobot, Inc., a Delaware Corporation, with its principal place of business located at 33 ARCH STREET, SUITE 1700, 17TH FLOOR, BOSTON, MASSACHUSETTS 02110, USA (“DataRobot”) and you and the organization you represent (“You”), is effective as of the date that You are first granted access to the Tool and Utility Software (as defined below) (the “Effective Date”).
|
|
4
4
|
|
|
5
5
|
This Agreement supersedes any other agreement between DataRobot and You with respect to the Tool and Utility Software.
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ The Tool and Utility Software and Documentation are the proprietary intellectual
|
|
|
37
37
|
|
|
38
38
|
7. NOTICES
|
|
39
39
|
7.1. All notices required to be given under this Agreement shall be in writing and delivered by hand, email, first class prepaid mail or recorded delivery mail.
|
|
40
|
-
7.2. Notices for DataRobot shall be sent to legal@datarobot.com or DataRobot Inc.,
|
|
40
|
+
7.2. Notices for DataRobot shall be sent to legal@datarobot.com or DataRobot Inc., 33 Arch Street; Suite 1700, 17th Floor, Boston, MA 02110, U.S.A., Attn: Legal.
|
|
41
41
|
7.3. Notice will be deemed given:
|
|
42
42
|
(a) when received, if delivered by hand or email; or
|
|
43
43
|
(b) the next business day after it is sent, if sent by first class prepaid mail or recorded delivery;
|
|
@@ -127,10 +127,10 @@ function CheckboxOptionList({
|
|
|
127
127
|
"test-id": "typeahead-dropdown-list",
|
|
128
128
|
id: listId,
|
|
129
129
|
ref: el => {
|
|
130
|
-
//
|
|
131
|
-
//
|
|
132
|
-
//
|
|
133
|
-
scrollableContainerRef.current = el
|
|
130
|
+
// The element itself is the scrollable container (overflow-y: auto on
|
|
131
|
+
// .checkbox-multiselect-container); keyboard navigation needs the ref
|
|
132
|
+
// here so active options can be scrolled into view.
|
|
133
|
+
scrollableContainerRef.current = el;
|
|
134
134
|
},
|
|
135
135
|
children: visibleOptions.map(option => /*#__PURE__*/(0, _jsxRuntime.jsx)(CheckboxListItem, {
|
|
136
136
|
option: option,
|
|
@@ -119,10 +119,10 @@ function CheckboxOptionList({
|
|
|
119
119
|
"test-id": "typeahead-dropdown-list",
|
|
120
120
|
id: listId,
|
|
121
121
|
ref: el => {
|
|
122
|
-
//
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
scrollableContainerRef.current = el
|
|
122
|
+
// The element itself is the scrollable container (overflow-y: auto on
|
|
123
|
+
// .checkbox-multiselect-container); keyboard navigation needs the ref
|
|
124
|
+
// here so active options can be scrolled into view.
|
|
125
|
+
scrollableContainerRef.current = el;
|
|
126
126
|
},
|
|
127
127
|
children: visibleOptions.map(option => /*#__PURE__*/_jsx(CheckboxListItem, {
|
|
128
128
|
option: option,
|
package/js/bundle/bundle.js
CHANGED
|
@@ -88092,11 +88092,10 @@ function CheckboxOptionList(_ref2) {
|
|
|
88092
88092
|
"test-id": "typeahead-dropdown-list",
|
|
88093
88093
|
id: listId,
|
|
88094
88094
|
ref: function ref(el) {
|
|
88095
|
-
|
|
88096
|
-
//
|
|
88097
|
-
//
|
|
88098
|
-
|
|
88099
|
-
scrollableContainerRef.current = (_ref3 = el === null || el === void 0 ? void 0 : el.parentElement) !== null && _ref3 !== void 0 ? _ref3 : null;
|
|
88095
|
+
// The element itself is the scrollable container (overflow-y: auto on
|
|
88096
|
+
// .checkbox-multiselect-container); keyboard navigation needs the ref
|
|
88097
|
+
// here so active options can be scrolled into view.
|
|
88098
|
+
scrollableContainerRef.current = el;
|
|
88100
88099
|
}
|
|
88101
88100
|
}, visibleOptions.map(function (option) {
|
|
88102
88101
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CheckboxListItem, {
|
|
@@ -88113,24 +88112,24 @@ function CheckboxOptionList(_ref2) {
|
|
|
88113
88112
|
});
|
|
88114
88113
|
}));
|
|
88115
88114
|
}
|
|
88116
|
-
function CheckboxMultiselectTypeahead(
|
|
88115
|
+
function CheckboxMultiselectTypeahead(_ref3) {
|
|
88117
88116
|
var _items$map, _options$map;
|
|
88118
|
-
var options =
|
|
88119
|
-
optionId =
|
|
88120
|
-
|
|
88121
|
-
optionLabel =
|
|
88122
|
-
|
|
88123
|
-
items =
|
|
88124
|
-
isDisabled =
|
|
88125
|
-
validity =
|
|
88126
|
-
|
|
88127
|
-
onChange =
|
|
88128
|
-
selectAllRow =
|
|
88129
|
-
|
|
88130
|
-
optionComponent =
|
|
88131
|
-
|
|
88132
|
-
shouldShowValidityOnTouched =
|
|
88133
|
-
otherMultiSelectTypeaheadProps = _objectWithoutProperties(
|
|
88117
|
+
var options = _ref3.options,
|
|
88118
|
+
optionId = _ref3.optionId,
|
|
88119
|
+
_ref3$optionLabel = _ref3.optionLabel,
|
|
88120
|
+
optionLabel = _ref3$optionLabel === void 0 ? 'label' : _ref3$optionLabel,
|
|
88121
|
+
_ref3$items = _ref3.items,
|
|
88122
|
+
items = _ref3$items === void 0 ? [] : _ref3$items,
|
|
88123
|
+
isDisabled = _ref3.isDisabled,
|
|
88124
|
+
validity = _ref3.validity,
|
|
88125
|
+
_ref3$onSelect = _ref3.onSelect,
|
|
88126
|
+
onChange = _ref3$onSelect === void 0 ? function () {} : _ref3$onSelect,
|
|
88127
|
+
selectAllRow = _ref3.selectAllRow,
|
|
88128
|
+
_ref3$optionComponent = _ref3.optionComponent,
|
|
88129
|
+
optionComponent = _ref3$optionComponent === void 0 ? null : _ref3$optionComponent,
|
|
88130
|
+
_ref3$shouldShowValid = _ref3.shouldShowValidityOnTouched,
|
|
88131
|
+
shouldShowValidityOnTouched = _ref3$shouldShowValid === void 0 ? false : _ref3$shouldShowValid,
|
|
88132
|
+
otherMultiSelectTypeaheadProps = _objectWithoutProperties(_ref3, _excluded);
|
|
88134
88133
|
// multiselect typeahead does not use typeahead logic for rendering validity message,
|
|
88135
88134
|
// but in its logic it does not do checks on whether input was touched or not
|
|
88136
88135
|
// didn't want to introduce this to multiselect typeahead component cause not sure if it's needed there,
|