@instructure/ui-radio-input 8.10.3-snapshot.4 → 8.11.1
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 +8 -0
- package/es/RadioInputGroup/index.js +5 -3
- package/lib/RadioInputGroup/index.js +5 -3
- package/package.json +15 -16
- package/src/RadioInput/props.ts +11 -2
- package/src/RadioInputGroup/index.tsx +5 -3
- package/src/RadioInputGroup/props.ts +6 -2
- package/types/RadioInput/props.d.ts +3 -3
- package/types/RadioInput/props.d.ts.map +1 -1
- package/types/RadioInputGroup/index.d.ts +1 -0
- package/types/RadioInputGroup/index.d.ts.map +1 -1
- package/types/RadioInputGroup/props.d.ts +2 -2
- package/types/RadioInputGroup/props.d.ts.map +1 -1
- package/LICENSE.md +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.11.1](https://github.com/instructure/instructure-ui/compare/v8.11.0...v8.11.1) (2021-10-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-radio-input
|
|
9
|
+
|
|
10
|
+
# [8.11.0](https://github.com/instructure/instructure-ui/compare/v8.10.2...v8.11.0) (2021-10-15)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @instructure/ui-radio-input
|
|
13
|
+
|
|
6
14
|
## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-radio-input
|
|
@@ -41,6 +41,10 @@ let RadioInputGroup = (_dec = testable(), _dec(_class = (_temp = _class2 = class
|
|
|
41
41
|
super();
|
|
42
42
|
this.ref = null;
|
|
43
43
|
|
|
44
|
+
this.handleRef = el => {
|
|
45
|
+
this.ref = el;
|
|
46
|
+
};
|
|
47
|
+
|
|
44
48
|
this.handleChange = e => {
|
|
45
49
|
const value = e.target.value;
|
|
46
50
|
|
|
@@ -128,9 +132,7 @@ let RadioInputGroup = (_dec = testable(), _dec(_class = (_temp = _class2 = class
|
|
|
128
132
|
,
|
|
129
133
|
startAt: variant === 'toggle' ? 'small' : void 0,
|
|
130
134
|
messagesId: this._messagesId,
|
|
131
|
-
elementRef:
|
|
132
|
-
this.ref = el;
|
|
133
|
-
}
|
|
135
|
+
elementRef: this.handleRef
|
|
134
136
|
}), this.renderChildren())
|
|
135
137
|
);
|
|
136
138
|
}
|
|
@@ -39,6 +39,10 @@ let RadioInputGroup = (_dec = (0, _testable.testable)(), _dec(_class = (_temp =
|
|
|
39
39
|
super();
|
|
40
40
|
this.ref = null;
|
|
41
41
|
|
|
42
|
+
this.handleRef = el => {
|
|
43
|
+
this.ref = el;
|
|
44
|
+
};
|
|
45
|
+
|
|
42
46
|
this.handleChange = e => {
|
|
43
47
|
const value = e.target.value;
|
|
44
48
|
|
|
@@ -126,9 +130,7 @@ let RadioInputGroup = (_dec = (0, _testable.testable)(), _dec(_class = (_temp =
|
|
|
126
130
|
,
|
|
127
131
|
startAt: variant === 'toggle' ? 'small' : void 0,
|
|
128
132
|
messagesId: this._messagesId,
|
|
129
|
-
elementRef:
|
|
130
|
-
this.ref = el;
|
|
131
|
-
}
|
|
133
|
+
elementRef: this.handleRef
|
|
132
134
|
}), this.renderChildren())
|
|
133
135
|
);
|
|
134
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-radio-input",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.1",
|
|
4
4
|
"description": "A styled HTML input type='radio' element",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/emotion": "8.
|
|
29
|
-
"@instructure/shared-types": "8.
|
|
30
|
-
"@instructure/ui-dom-utils": "8.
|
|
31
|
-
"@instructure/ui-form-field": "8.
|
|
32
|
-
"@instructure/ui-prop-types": "8.
|
|
33
|
-
"@instructure/ui-react-utils": "8.
|
|
34
|
-
"@instructure/ui-testable": "8.
|
|
35
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/emotion": "8.11.1",
|
|
29
|
+
"@instructure/shared-types": "8.11.1",
|
|
30
|
+
"@instructure/ui-dom-utils": "8.11.1",
|
|
31
|
+
"@instructure/ui-form-field": "8.11.1",
|
|
32
|
+
"@instructure/ui-prop-types": "8.11.1",
|
|
33
|
+
"@instructure/ui-react-utils": "8.11.1",
|
|
34
|
+
"@instructure/ui-testable": "8.11.1",
|
|
35
|
+
"@instructure/uid": "8.11.1",
|
|
36
36
|
"prop-types": "^15"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-babel-preset": "8.
|
|
40
|
-
"@instructure/ui-color-utils": "8.
|
|
41
|
-
"@instructure/ui-test-locator": "8.
|
|
42
|
-
"@instructure/ui-test-utils": "8.
|
|
43
|
-
"@instructure/ui-themes": "8.
|
|
39
|
+
"@instructure/ui-babel-preset": "8.11.1",
|
|
40
|
+
"@instructure/ui-color-utils": "8.11.1",
|
|
41
|
+
"@instructure/ui-test-locator": "8.11.1",
|
|
42
|
+
"@instructure/ui-test-utils": "8.11.1",
|
|
43
|
+
"@instructure/ui-themes": "8.11.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8 <=17"
|
|
@@ -48,6 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"sideEffects": false
|
|
52
|
-
"gitHead": "118e47643bbadaf5beac7f8ffb047b29eb0618d1"
|
|
51
|
+
"sideEffects": false
|
|
53
52
|
}
|
package/src/RadioInput/props.ts
CHANGED
|
@@ -23,8 +23,13 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import PropTypes from 'prop-types'
|
|
25
25
|
|
|
26
|
-
import type {
|
|
26
|
+
import type {
|
|
27
|
+
OtherHTMLAttributes,
|
|
28
|
+
PropValidators,
|
|
29
|
+
RadioInputTheme
|
|
30
|
+
} from '@instructure/shared-types'
|
|
27
31
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
32
|
+
import { InputHTMLAttributes } from 'react'
|
|
28
33
|
|
|
29
34
|
type RadioInputOwnProps = {
|
|
30
35
|
label: React.ReactNode
|
|
@@ -47,7 +52,11 @@ type PropKeys = keyof RadioInputOwnProps
|
|
|
47
52
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
48
53
|
|
|
49
54
|
type RadioInputProps = RadioInputOwnProps &
|
|
50
|
-
WithStyleProps<RadioInputTheme, RadioInputStyle>
|
|
55
|
+
WithStyleProps<RadioInputTheme, RadioInputStyle> &
|
|
56
|
+
OtherHTMLAttributes<
|
|
57
|
+
RadioInputOwnProps,
|
|
58
|
+
InputHTMLAttributes<RadioInputOwnProps>
|
|
59
|
+
>
|
|
51
60
|
|
|
52
61
|
type RadioInputStyle = ComponentStyle<
|
|
53
62
|
'radioInput' | 'input' | 'control' | 'facade' | 'label'
|
|
@@ -61,6 +61,10 @@ class RadioInputGroup extends Component<RadioInputGroupProps> {
|
|
|
61
61
|
|
|
62
62
|
ref: Element | null = null
|
|
63
63
|
|
|
64
|
+
handleRef = (el: Element | null) => {
|
|
65
|
+
this.ref = el
|
|
66
|
+
}
|
|
67
|
+
|
|
64
68
|
// @ts-expect-error ts-migrate(7006) FIXME: Parameter 'props' implicitly has an 'any' type.
|
|
65
69
|
constructor(props) {
|
|
66
70
|
// @ts-expect-error ts-migrate(2554) FIXME: Expected 1-2 arguments, but got 0.
|
|
@@ -158,9 +162,7 @@ class RadioInputGroup extends Component<RadioInputGroupProps> {
|
|
|
158
162
|
startAt={variant === 'toggle' ? 'small' : undefined}
|
|
159
163
|
// @ts-expect-error ts-migrate(2339) FIXME: Property '_messagesId' does not exist on type 'Rad... Remove this comment to see the full error message
|
|
160
164
|
messagesId={this._messagesId}
|
|
161
|
-
elementRef={
|
|
162
|
-
this.ref = el
|
|
163
|
-
}}
|
|
165
|
+
elementRef={this.handleRef}
|
|
164
166
|
>
|
|
165
167
|
{this.renderChildren()}
|
|
166
168
|
</FormFieldGroup>
|
|
@@ -29,7 +29,10 @@ import { controllable } from '@instructure/ui-prop-types'
|
|
|
29
29
|
import { FormPropTypes } from '@instructure/ui-form-field'
|
|
30
30
|
|
|
31
31
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
32
|
-
import type {
|
|
32
|
+
import type {
|
|
33
|
+
OtherHTMLAttributes,
|
|
34
|
+
PropValidators
|
|
35
|
+
} from '@instructure/shared-types'
|
|
33
36
|
|
|
34
37
|
type RadioInputGroupOwnProps = {
|
|
35
38
|
name: string
|
|
@@ -50,7 +53,8 @@ type PropKeys = keyof RadioInputGroupOwnProps
|
|
|
50
53
|
|
|
51
54
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
52
55
|
|
|
53
|
-
type RadioInputGroupProps = RadioInputGroupOwnProps
|
|
56
|
+
type RadioInputGroupProps = RadioInputGroupOwnProps &
|
|
57
|
+
OtherHTMLAttributes<RadioInputGroupOwnProps>
|
|
54
58
|
|
|
55
59
|
const propTypes: PropValidators<PropKeys> = {
|
|
56
60
|
name: PropTypes.string.isRequired,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import type { PropValidators, RadioInputTheme } from '@instructure/shared-types';
|
|
1
|
+
import type { OtherHTMLAttributes, PropValidators, RadioInputTheme } from '@instructure/shared-types';
|
|
3
2
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
|
+
import { InputHTMLAttributes } from 'react';
|
|
4
4
|
declare type RadioInputOwnProps = {
|
|
5
5
|
label: React.ReactNode;
|
|
6
6
|
value?: string | number;
|
|
@@ -18,7 +18,7 @@ declare type RadioInputOwnProps = {
|
|
|
18
18
|
};
|
|
19
19
|
declare type PropKeys = keyof RadioInputOwnProps;
|
|
20
20
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
21
|
-
declare type RadioInputProps = RadioInputOwnProps & WithStyleProps<RadioInputTheme, RadioInputStyle
|
|
21
|
+
declare type RadioInputProps = RadioInputOwnProps & WithStyleProps<RadioInputTheme, RadioInputStyle> & OtherHTMLAttributes<RadioInputOwnProps, InputHTMLAttributes<RadioInputOwnProps>>;
|
|
22
22
|
declare type RadioInputStyle = ComponentStyle<'radioInput' | 'input' | 'control' | 'facade' | 'label'>;
|
|
23
23
|
declare const propTypes: PropValidators<PropKeys>;
|
|
24
24
|
declare const allowedProps: AllowedPropKeys;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RadioInput/props.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RadioInput/props.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAE3C,aAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC7B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CACnC,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,kBAAkB,CAAA;AAExC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,eAAe,GAAG,kBAAkB,GACvC,cAAc,CAAC,eAAe,EAAE,eAAe,CAAC,GAChD,mBAAmB,CACjB,kBAAkB,EAClB,mBAAmB,CAAC,kBAAkB,CAAC,CACxC,CAAA;AAEH,aAAK,eAAe,GAAG,cAAc,CACnC,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CACxD,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAoBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAcnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -44,6 +44,7 @@ declare class RadioInputGroup extends Component<RadioInputGroupProps> {
|
|
|
44
44
|
children: null;
|
|
45
45
|
};
|
|
46
46
|
ref: Element | null;
|
|
47
|
+
handleRef: (el: Element | null) => void;
|
|
47
48
|
constructor(props: any);
|
|
48
49
|
get hasMessages(): boolean | undefined;
|
|
49
50
|
handleChange: (e: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RadioInputGroup/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAY,SAAS,EAAgB,MAAM,OAAO,CAAA;AAahE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAGnD;;;;GAIG;AACH,cACM,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,YAAY;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;MAOlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RadioInputGroup/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAY,SAAS,EAAgB,MAAM,OAAO,CAAA;AAahE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAGnD;;;;GAIG;AACH,cACM,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,YAAY;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;MAOlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;gBAGW,KAAK,KAAA;IAcjB,IAAI,WAAW,wBAEd;IAGD,YAAY,mBAeX;IAED,IAAI,KAAK,QAKR;IAED,cAAc;IAmCd,MAAM;CAwBP;AAED,eAAe,eAAe,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
3
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
3
|
+
import type { OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
|
|
4
4
|
declare type RadioInputGroupOwnProps = {
|
|
5
5
|
name: string;
|
|
6
6
|
description: React.ReactNode;
|
|
@@ -17,7 +17,7 @@ declare type RadioInputGroupOwnProps = {
|
|
|
17
17
|
};
|
|
18
18
|
declare type PropKeys = keyof RadioInputGroupOwnProps;
|
|
19
19
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
20
|
-
declare type RadioInputGroupProps = RadioInputGroupOwnProps
|
|
20
|
+
declare type RadioInputGroupProps = RadioInputGroupOwnProps & OtherHTMLAttributes<RadioInputGroupOwnProps>;
|
|
21
21
|
declare const propTypes: PropValidators<PropKeys>;
|
|
22
22
|
declare const allowedProps: AllowedPropKeys;
|
|
23
23
|
export type { RadioInputGroupProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RadioInputGroup/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RadioInputGroup/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAElC,aAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC9B,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC7B,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,uBAAuB,CAAA;AAE7C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,oBAAoB,GAAG,uBAAuB,GACjD,mBAAmB,CAAC,uBAAuB,CAAC,CAAA;AAE9C,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAkCvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAanB,CAAA;AAED,YAAY,EAAE,oBAAoB,EAAE,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
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.
|