@instructure/ui-select 8.12.1-snapshot.7 → 8.13.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/CHANGELOG.md +7 -0
- package/es/Select/SelectLocator.js +8 -2
- package/es/Select/index.js +37 -37
- package/es/Select/props.js +1 -1
- package/lib/Select/Group/index.js +1 -1
- package/lib/Select/Group/props.js +1 -1
- package/lib/Select/Option/index.js +1 -1
- package/lib/Select/Option/props.js +1 -1
- package/lib/Select/SelectLocator.js +8 -2
- package/lib/Select/index.js +38 -38
- package/lib/Select/props.js +2 -2
- package/package.json +23 -24
- package/src/Select/props.ts +1 -1
- package/types/Select/index.d.ts +2 -2
- package/LICENSE.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **canvas-theme,ui-theme-tokens,ui-themes:** update canvas theme colors ([a72237d](https://github.com/instructure/instructure-ui/commit/a72237dc213b86aa8f18da2618559ea4c118e1dd))
|
|
11
|
+
- **ui-form-field:** make FormField messages accept `ReactNode` text, not just `string` ([4d36973](https://github.com/instructure/instructure-ui/commit/4d369733414715a70bae0628378e8d82214eab3e))
|
|
12
|
+
|
|
6
13
|
# [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @instructure/ui-select
|
|
@@ -30,8 +30,14 @@ import { PopoverLocator } from '@instructure/ui-popover/es/Popover/PopoverLocato
|
|
|
30
30
|
|
|
31
31
|
import { Select } from './index';
|
|
32
32
|
export const SelectLocator = locator(Select.selector, {
|
|
33
|
-
findInput: (
|
|
34
|
-
|
|
33
|
+
findInput: function () {
|
|
34
|
+
return locator('input').find(...arguments);
|
|
35
|
+
},
|
|
36
|
+
findOptionsList: async function (element) {
|
|
37
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
38
|
+
args[_key - 1] = arguments[_key];
|
|
39
|
+
}
|
|
40
|
+
|
|
35
41
|
const content = await PopoverLocator.findContent(element, ...args);
|
|
36
42
|
return content ? OptionsLocator.find(content.getDOMNode()) : null;
|
|
37
43
|
}
|
package/es/Select/index.js
CHANGED
|
@@ -56,8 +56,8 @@ tags: autocomplete, typeahead, combobox, dropdown, search, form
|
|
|
56
56
|
**/
|
|
57
57
|
|
|
58
58
|
let Select = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Select extends Component {
|
|
59
|
-
constructor(
|
|
60
|
-
super(...
|
|
59
|
+
constructor() {
|
|
60
|
+
super(...arguments);
|
|
61
61
|
this.ref = null;
|
|
62
62
|
this.state = {
|
|
63
63
|
hasInputRef: false
|
|
@@ -228,10 +228,9 @@ let Select = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
|
|
|
228
228
|
onRequestHideOptions: event => {
|
|
229
229
|
onRequestHideOptions(event);
|
|
230
230
|
},
|
|
231
|
-
onRequestHighlightOption: (event, {
|
|
232
|
-
id,
|
|
233
|
-
|
|
234
|
-
}) => {
|
|
231
|
+
onRequestHighlightOption: (event, _ref) => {
|
|
232
|
+
let id = _ref.id,
|
|
233
|
+
direction = _ref.direction;
|
|
235
234
|
if (!isShowingOptions) return; // if id exists, use that
|
|
236
235
|
|
|
237
236
|
let highlightId = this._optionIds.indexOf(id) > -1 ? id : null;
|
|
@@ -259,9 +258,9 @@ let Select = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
|
|
|
259
258
|
onRequestHighlightLastOption: event => {
|
|
260
259
|
this.highlightOption(event, this._optionIds[this._optionIds.length - 1]);
|
|
261
260
|
},
|
|
262
|
-
onRequestSelectOption: (event, {
|
|
263
|
-
id
|
|
264
|
-
|
|
261
|
+
onRequestSelectOption: (event, _ref2) => {
|
|
262
|
+
let id = _ref2.id;
|
|
263
|
+
|
|
265
264
|
if (id && this._optionIds.indexOf(id) !== -1) {
|
|
266
265
|
// only select if id exists as a valid option
|
|
267
266
|
onRequestSelectOption(event, {
|
|
@@ -514,34 +513,35 @@ let Select = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
|
|
|
514
513
|
highlightedOptionId: highlightedOptionId,
|
|
515
514
|
isShowingOptions: isShowingOptions,
|
|
516
515
|
selectedOptionId: selectedOptionId ? selectedOptionId : null
|
|
517
|
-
}, this.getEventHandlers()),
|
|
518
|
-
getRootProps,
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
516
|
+
}, this.getEventHandlers()), _ref3 => {
|
|
517
|
+
let getRootProps = _ref3.getRootProps,
|
|
518
|
+
getInputProps = _ref3.getInputProps,
|
|
519
|
+
getTriggerProps = _ref3.getTriggerProps,
|
|
520
|
+
getListProps = _ref3.getListProps,
|
|
521
|
+
getOptionProps = _ref3.getOptionProps,
|
|
522
|
+
getDisabledOptionProps = _ref3.getDisabledOptionProps,
|
|
523
|
+
getDescriptionProps = _ref3.getDescriptionProps;
|
|
524
|
+
return jsx("span", getRootProps({
|
|
525
|
+
css: styles === null || styles === void 0 ? void 0 : styles.select
|
|
526
|
+
}), this.renderInput({
|
|
527
|
+
getInputProps,
|
|
528
|
+
getTriggerProps
|
|
529
|
+
}), jsx("span", Object.assign({}, getDescriptionProps(), {
|
|
530
|
+
css: styles === null || styles === void 0 ? void 0 : styles.assistiveText
|
|
531
|
+
}), assistiveText), jsx(Popover, {
|
|
532
|
+
constrain: constrain,
|
|
533
|
+
placement: placement,
|
|
534
|
+
mountNode: mountNode,
|
|
535
|
+
positionTarget: this._inputContainer,
|
|
536
|
+
isShowingContent: isShowingOptions,
|
|
537
|
+
shouldReturnFocus: false,
|
|
538
|
+
withArrow: false
|
|
539
|
+
}, this.renderList({
|
|
540
|
+
getListProps,
|
|
541
|
+
getOptionProps,
|
|
542
|
+
getDisabledOptionProps
|
|
543
|
+
})));
|
|
544
|
+
});
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
}, _class2.displayName = "Select", _class2.componentId = 'Select', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
|
package/es/Select/props.js
CHANGED
|
@@ -110,7 +110,7 @@ const propTypes = {
|
|
|
110
110
|
* Displays messages and validation for the input. It should be an object
|
|
111
111
|
* with the following shape:
|
|
112
112
|
* `{
|
|
113
|
-
* text: PropTypes.
|
|
113
|
+
* text: PropTypes.node,
|
|
114
114
|
* type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
115
115
|
* }`
|
|
116
116
|
*/
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -41,8 +41,14 @@ var _index = require("./index");
|
|
|
41
41
|
|
|
42
42
|
/* eslint-enable no-restricted-imports */
|
|
43
43
|
const SelectLocator = (0, _locator.locator)(_index.Select.selector, {
|
|
44
|
-
findInput: (
|
|
45
|
-
|
|
44
|
+
findInput: function () {
|
|
45
|
+
return (0, _locator.locator)('input').find(...arguments);
|
|
46
|
+
},
|
|
47
|
+
findOptionsList: async function (element) {
|
|
48
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
49
|
+
args[_key - 1] = arguments[_key];
|
|
50
|
+
}
|
|
51
|
+
|
|
46
52
|
const content = await _PopoverLocator.PopoverLocator.findContent(element, ...args);
|
|
47
53
|
return content ? _OptionsLocator.OptionsLocator.find(content.getDOMNode()) : null;
|
|
48
54
|
}
|
package/lib/Select/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.Select = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -66,8 +66,8 @@ tags: autocomplete, typeahead, combobox, dropdown, search, form
|
|
|
66
66
|
---
|
|
67
67
|
**/
|
|
68
68
|
let Select = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Select extends _react.Component {
|
|
69
|
-
constructor(
|
|
70
|
-
super(...
|
|
69
|
+
constructor() {
|
|
70
|
+
super(...arguments);
|
|
71
71
|
this.ref = null;
|
|
72
72
|
this.state = {
|
|
73
73
|
hasInputRef: false
|
|
@@ -242,10 +242,9 @@ let Select = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
|
|
|
242
242
|
onRequestHideOptions: event => {
|
|
243
243
|
onRequestHideOptions(event);
|
|
244
244
|
},
|
|
245
|
-
onRequestHighlightOption: (event, {
|
|
246
|
-
id,
|
|
247
|
-
|
|
248
|
-
}) => {
|
|
245
|
+
onRequestHighlightOption: (event, _ref) => {
|
|
246
|
+
let id = _ref.id,
|
|
247
|
+
direction = _ref.direction;
|
|
249
248
|
if (!isShowingOptions) return; // if id exists, use that
|
|
250
249
|
|
|
251
250
|
let highlightId = this._optionIds.indexOf(id) > -1 ? id : null;
|
|
@@ -273,9 +272,9 @@ let Select = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
|
|
|
273
272
|
onRequestHighlightLastOption: event => {
|
|
274
273
|
this.highlightOption(event, this._optionIds[this._optionIds.length - 1]);
|
|
275
274
|
},
|
|
276
|
-
onRequestSelectOption: (event, {
|
|
277
|
-
id
|
|
278
|
-
|
|
275
|
+
onRequestSelectOption: (event, _ref2) => {
|
|
276
|
+
let id = _ref2.id;
|
|
277
|
+
|
|
279
278
|
if (id && this._optionIds.indexOf(id) !== -1) {
|
|
280
279
|
// only select if id exists as a valid option
|
|
281
280
|
onRequestSelectOption(event, {
|
|
@@ -524,34 +523,35 @@ let Select = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
|
|
|
524
523
|
highlightedOptionId: highlightedOptionId,
|
|
525
524
|
isShowingOptions: isShowingOptions,
|
|
526
525
|
selectedOptionId: selectedOptionId ? selectedOptionId : null
|
|
527
|
-
}, this.getEventHandlers()),
|
|
528
|
-
getRootProps,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
526
|
+
}, this.getEventHandlers()), _ref3 => {
|
|
527
|
+
let getRootProps = _ref3.getRootProps,
|
|
528
|
+
getInputProps = _ref3.getInputProps,
|
|
529
|
+
getTriggerProps = _ref3.getTriggerProps,
|
|
530
|
+
getListProps = _ref3.getListProps,
|
|
531
|
+
getOptionProps = _ref3.getOptionProps,
|
|
532
|
+
getDisabledOptionProps = _ref3.getDisabledOptionProps,
|
|
533
|
+
getDescriptionProps = _ref3.getDescriptionProps;
|
|
534
|
+
return (0, _emotion.jsx)("span", getRootProps({
|
|
535
|
+
css: styles === null || styles === void 0 ? void 0 : styles.select
|
|
536
|
+
}), this.renderInput({
|
|
537
|
+
getInputProps,
|
|
538
|
+
getTriggerProps
|
|
539
|
+
}), (0, _emotion.jsx)("span", Object.assign({}, getDescriptionProps(), {
|
|
540
|
+
css: styles === null || styles === void 0 ? void 0 : styles.assistiveText
|
|
541
|
+
}), assistiveText), (0, _emotion.jsx)(_Popover.Popover, {
|
|
542
|
+
constrain: constrain,
|
|
543
|
+
placement: placement,
|
|
544
|
+
mountNode: mountNode,
|
|
545
|
+
positionTarget: this._inputContainer,
|
|
546
|
+
isShowingContent: isShowingOptions,
|
|
547
|
+
shouldReturnFocus: false,
|
|
548
|
+
withArrow: false
|
|
549
|
+
}, this.renderList({
|
|
550
|
+
getListProps,
|
|
551
|
+
getOptionProps,
|
|
552
|
+
getDisabledOptionProps
|
|
553
|
+
})));
|
|
554
|
+
});
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
}, _class2.displayName = "Select", _class2.componentId = 'Select', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
|
package/lib/Select/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -125,7 +125,7 @@ const propTypes = {
|
|
|
125
125
|
* Displays messages and validation for the input. It should be an object
|
|
126
126
|
* with the following shape:
|
|
127
127
|
* `{
|
|
128
|
-
* text: PropTypes.
|
|
128
|
+
* text: PropTypes.node,
|
|
129
129
|
* type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
130
130
|
* }`
|
|
131
131
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-select",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.13.0",
|
|
4
4
|
"description": "A component for select and autocomplete behavior.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,30 +24,30 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.
|
|
28
|
-
"@instructure/ui-color-utils": "8.
|
|
29
|
-
"@instructure/ui-test-locator": "8.
|
|
30
|
-
"@instructure/ui-test-utils": "8.
|
|
31
|
-
"@instructure/ui-themes": "8.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.13.0",
|
|
28
|
+
"@instructure/ui-color-utils": "8.13.0",
|
|
29
|
+
"@instructure/ui-test-locator": "8.13.0",
|
|
30
|
+
"@instructure/ui-test-utils": "8.13.0",
|
|
31
|
+
"@instructure/ui-themes": "8.13.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/emotion": "8.
|
|
36
|
-
"@instructure/shared-types": "8.
|
|
37
|
-
"@instructure/ui-dom-utils": "8.
|
|
38
|
-
"@instructure/ui-form-field": "8.
|
|
39
|
-
"@instructure/ui-icons": "8.
|
|
40
|
-
"@instructure/ui-options": "8.
|
|
41
|
-
"@instructure/ui-popover": "8.
|
|
42
|
-
"@instructure/ui-position": "8.
|
|
43
|
-
"@instructure/ui-prop-types": "8.
|
|
44
|
-
"@instructure/ui-react-utils": "8.
|
|
45
|
-
"@instructure/ui-selectable": "8.
|
|
46
|
-
"@instructure/ui-testable": "8.
|
|
47
|
-
"@instructure/ui-text-input": "8.
|
|
48
|
-
"@instructure/ui-utils": "8.
|
|
49
|
-
"@instructure/ui-view": "8.
|
|
50
|
-
"@instructure/uid": "8.
|
|
35
|
+
"@instructure/emotion": "8.13.0",
|
|
36
|
+
"@instructure/shared-types": "8.13.0",
|
|
37
|
+
"@instructure/ui-dom-utils": "8.13.0",
|
|
38
|
+
"@instructure/ui-form-field": "8.13.0",
|
|
39
|
+
"@instructure/ui-icons": "8.13.0",
|
|
40
|
+
"@instructure/ui-options": "8.13.0",
|
|
41
|
+
"@instructure/ui-popover": "8.13.0",
|
|
42
|
+
"@instructure/ui-position": "8.13.0",
|
|
43
|
+
"@instructure/ui-prop-types": "8.13.0",
|
|
44
|
+
"@instructure/ui-react-utils": "8.13.0",
|
|
45
|
+
"@instructure/ui-selectable": "8.13.0",
|
|
46
|
+
"@instructure/ui-testable": "8.13.0",
|
|
47
|
+
"@instructure/ui-text-input": "8.13.0",
|
|
48
|
+
"@instructure/ui-utils": "8.13.0",
|
|
49
|
+
"@instructure/ui-view": "8.13.0",
|
|
50
|
+
"@instructure/uid": "8.13.0",
|
|
51
51
|
"prop-types": "^15"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -56,6 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"sideEffects": false
|
|
60
|
-
"gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
|
|
59
|
+
"sideEffects": false
|
|
61
60
|
}
|
package/src/Select/props.ts
CHANGED
|
@@ -158,7 +158,7 @@ const propTypes: PropValidators<PropKeys> = {
|
|
|
158
158
|
* Displays messages and validation for the input. It should be an object
|
|
159
159
|
* with the following shape:
|
|
160
160
|
* `{
|
|
161
|
-
* text: PropTypes.
|
|
161
|
+
* text: PropTypes.node,
|
|
162
162
|
* type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
163
163
|
* }`
|
|
164
164
|
*/
|
package/types/Select/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare class Select extends Component<SelectProps> {
|
|
|
27
27
|
htmlSize?: string | number | undefined;
|
|
28
28
|
optionsMaxWidth?: string | undefined;
|
|
29
29
|
visibleOptionsCount?: number | undefined;
|
|
30
|
-
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
30
|
+
messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
|
|
31
31
|
placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
|
|
32
32
|
constrain?: import("@instructure/ui-position").PositionConstraint | undefined;
|
|
33
33
|
mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
|
|
@@ -60,7 +60,7 @@ declare class Select extends Component<SelectProps> {
|
|
|
60
60
|
htmlSize?: string | number | undefined;
|
|
61
61
|
optionsMaxWidth?: string | undefined;
|
|
62
62
|
visibleOptionsCount?: number | undefined;
|
|
63
|
-
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
63
|
+
messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
|
|
64
64
|
placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
|
|
65
65
|
constrain?: import("@instructure/ui-position").PositionConstraint | undefined;
|
|
66
66
|
mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|