@instructure/ui-toggle-details 8.9.2-snapshot.3 → 8.10.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 CHANGED
@@ -3,6 +3,10 @@
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.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-toggle-details
9
+
6
10
  ## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
7
11
 
8
12
  **Note:** Version bump only for package @instructure/ui-toggle-details
@@ -97,7 +97,7 @@ let ToggleDetails = (_dec = withStyle(generateStyle, generateComponentTheme), _d
97
97
 
98
98
  renderToggle(toggleProps, expanded) {
99
99
  const variant = this.props.variant;
100
- const props = { ...omitProps(this.props, ToggleDetails.propTypes),
100
+ const props = { ...omitProps(this.props, ToggleDetails.allowedProps),
101
101
  ...toggleProps,
102
102
  children: this.renderSummary()
103
103
  };
@@ -159,7 +159,7 @@ let ToggleDetails = (_dec = withStyle(generateStyle, generateComponentTheme), _d
159
159
  }
160
160
 
161
161
  render() {
162
- return jsx(Expandable, Object.assign({}, pickProps(this.props, Expandable.propTypes), {
162
+ return jsx(Expandable, Object.assign({}, pickProps(this.props, Expandable.allowedProps), {
163
163
  onToggle: this.handleToggle
164
164
  }), ({
165
165
  expanded,
@@ -100,12 +100,12 @@ let ToggleGroup = (_dec = testable(), _dec(_class = (_temp = _class2 = class Tog
100
100
 
101
101
  render() {
102
102
  const Element = getElementType(ToggleGroup, this.props);
103
- return /*#__PURE__*/React.createElement(Expandable, pickProps(this.props, Expandable.propTypes), ({
103
+ return /*#__PURE__*/React.createElement(Expandable, pickProps(this.props, Expandable.allowedProps), ({
104
104
  expanded,
105
105
  getToggleProps,
106
106
  getDetailsProps
107
107
  }) => {
108
- return /*#__PURE__*/React.createElement(View, Object.assign({}, omitProps(this.props, ToggleGroup.propTypes), {
108
+ return /*#__PURE__*/React.createElement(View, Object.assign({}, omitProps(this.props, ToggleGroup.allowedProps), {
109
109
  borderWidth: this.props.border ? 'small' : 'none',
110
110
  as: Element,
111
111
  elementRef: this.props.elementRef,
@@ -95,7 +95,7 @@ let ToggleDetails = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defa
95
95
 
96
96
  renderToggle(toggleProps, expanded) {
97
97
  const variant = this.props.variant;
98
- const props = { ...(0, _omitProps.omitProps)(this.props, ToggleDetails.propTypes),
98
+ const props = { ...(0, _omitProps.omitProps)(this.props, ToggleDetails.allowedProps),
99
99
  ...toggleProps,
100
100
  children: this.renderSummary()
101
101
  };
@@ -157,7 +157,7 @@ let ToggleDetails = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defa
157
157
  }
158
158
 
159
159
  render() {
160
- return (0, _emotion.jsx)(_Expandable.Expandable, Object.assign({}, (0, _pickProps.pickProps)(this.props, _Expandable.Expandable.propTypes), {
160
+ return (0, _emotion.jsx)(_Expandable.Expandable, Object.assign({}, (0, _pickProps.pickProps)(this.props, _Expandable.Expandable.allowedProps), {
161
161
  onToggle: this.handleToggle
162
162
  }), ({
163
163
  expanded,
@@ -102,12 +102,12 @@ let ToggleGroup = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _cla
102
102
 
103
103
  render() {
104
104
  const Element = (0, _getElementType.getElementType)(ToggleGroup, this.props);
105
- return /*#__PURE__*/_react.default.createElement(_Expandable.Expandable, (0, _pickProps.pickProps)(this.props, _Expandable.Expandable.propTypes), ({
105
+ return /*#__PURE__*/_react.default.createElement(_Expandable.Expandable, (0, _pickProps.pickProps)(this.props, _Expandable.Expandable.allowedProps), ({
106
106
  expanded,
107
107
  getToggleProps,
108
108
  getDetailsProps
109
109
  }) => {
110
- return /*#__PURE__*/_react.default.createElement(_View.View, Object.assign({}, (0, _omitProps.omitProps)(this.props, ToggleGroup.propTypes), {
110
+ return /*#__PURE__*/_react.default.createElement(_View.View, Object.assign({}, (0, _omitProps.omitProps)(this.props, ToggleGroup.allowedProps), {
111
111
  borderWidth: this.props.border ? 'small' : 'none',
112
112
  as: Element,
113
113
  elementRef: this.props.elementRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-toggle-details",
3
- "version": "8.9.2-snapshot.3+ddc7880d5",
3
+ "version": "8.10.0",
4
4
  "description": "A styled toggleable, accordion-like component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,29 +24,29 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.9.2-snapshot.3+ddc7880d5",
28
- "@instructure/ui-test-locator": "8.9.2-snapshot.3+ddc7880d5",
29
- "@instructure/ui-test-queries": "8.9.2-snapshot.3+ddc7880d5",
30
- "@instructure/ui-test-utils": "8.9.2-snapshot.3+ddc7880d5",
31
- "@instructure/ui-themes": "8.9.2-snapshot.3+ddc7880d5"
27
+ "@instructure/ui-babel-preset": "8.10.0",
28
+ "@instructure/ui-test-locator": "8.10.0",
29
+ "@instructure/ui-test-queries": "8.10.0",
30
+ "@instructure/ui-test-utils": "8.10.0",
31
+ "@instructure/ui-themes": "8.10.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.13.10",
35
- "@instructure/emotion": "8.9.2-snapshot.3+ddc7880d5",
36
- "@instructure/shared-types": "8.9.2-snapshot.3+ddc7880d5",
37
- "@instructure/ui-buttons": "8.9.2-snapshot.3+ddc7880d5",
38
- "@instructure/ui-dom-utils": "8.9.2-snapshot.3+ddc7880d5",
39
- "@instructure/ui-expandable": "8.9.2-snapshot.3+ddc7880d5",
40
- "@instructure/ui-flex": "8.9.2-snapshot.3+ddc7880d5",
41
- "@instructure/ui-icons": "8.9.2-snapshot.3+ddc7880d5",
42
- "@instructure/ui-menu": "8.9.2-snapshot.3+ddc7880d5",
43
- "@instructure/ui-motion": "8.9.2-snapshot.3+ddc7880d5",
44
- "@instructure/ui-prop-types": "8.9.2-snapshot.3+ddc7880d5",
45
- "@instructure/ui-react-utils": "8.9.2-snapshot.3+ddc7880d5",
46
- "@instructure/ui-testable": "8.9.2-snapshot.3+ddc7880d5",
47
- "@instructure/ui-utils": "8.9.2-snapshot.3+ddc7880d5",
48
- "@instructure/ui-view": "8.9.2-snapshot.3+ddc7880d5",
49
- "@instructure/uid": "8.9.2-snapshot.3+ddc7880d5",
35
+ "@instructure/emotion": "8.10.0",
36
+ "@instructure/shared-types": "8.10.0",
37
+ "@instructure/ui-buttons": "8.10.0",
38
+ "@instructure/ui-dom-utils": "8.10.0",
39
+ "@instructure/ui-expandable": "8.10.0",
40
+ "@instructure/ui-flex": "8.10.0",
41
+ "@instructure/ui-icons": "8.10.0",
42
+ "@instructure/ui-menu": "8.10.0",
43
+ "@instructure/ui-motion": "8.10.0",
44
+ "@instructure/ui-prop-types": "8.10.0",
45
+ "@instructure/ui-react-utils": "8.10.0",
46
+ "@instructure/ui-testable": "8.10.0",
47
+ "@instructure/ui-utils": "8.10.0",
48
+ "@instructure/ui-view": "8.10.0",
49
+ "@instructure/uid": "8.10.0",
50
50
  "prop-types": "^15"
51
51
  },
52
52
  "peerDependencies": {
@@ -55,6 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "sideEffects": false,
59
- "gitHead": "ddc7880d5a2f7d4d0596332e8d49cb9b1de68024"
58
+ "sideEffects": false
60
59
  }
@@ -105,7 +105,7 @@ class ToggleDetails extends Component<ToggleDetailsProps> {
105
105
  const { variant } = this.props
106
106
 
107
107
  const props = {
108
- ...omitProps(this.props, ToggleDetails.propTypes),
108
+ ...omitProps(this.props, ToggleDetails.allowedProps),
109
109
  ...toggleProps,
110
110
  // @ts-expect-error ts-migrate(2554) FIXME: Expected 1 arguments, but got 0.
111
111
  children: this.renderSummary()
@@ -181,7 +181,7 @@ class ToggleDetails extends Component<ToggleDetailsProps> {
181
181
  render() {
182
182
  return (
183
183
  <Expandable
184
- {...pickProps(this.props, Expandable.propTypes)}
184
+ {...pickProps(this.props, Expandable.allowedProps)}
185
185
  onToggle={this.handleToggle}
186
186
  >
187
187
  {({ expanded, getToggleProps, getDetailsProps }) => {
@@ -21,13 +21,17 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
+
24
25
  import React from 'react'
25
26
  import PropTypes from 'prop-types'
26
27
 
27
28
  import { controllable } from '@instructure/ui-prop-types'
28
29
 
29
- import type { PropValidators } from '@instructure/shared-types'
30
- import type { WithStyleProps } from '@instructure/emotion'
30
+ import type {
31
+ PropValidators,
32
+ ToggleDetailsTheme
33
+ } from '@instructure/shared-types'
34
+ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
31
35
 
32
36
  type ToggleDetailsOwnProps = {
33
37
  variant?: 'default' | 'filled'
@@ -47,7 +51,22 @@ type PropKeys = keyof ToggleDetailsOwnProps
47
51
 
48
52
  type AllowedPropKeys = Readonly<Array<PropKeys>>
49
53
 
50
- type ToggleDetailsProps = ToggleDetailsOwnProps & WithStyleProps
54
+ type ToggleDetailsProps = ToggleDetailsOwnProps &
55
+ WithStyleProps<ToggleDetailsTheme, ToggleDetailsStyle>
56
+
57
+ type ToggleDetailsStyle = ComponentStyle<
58
+ | 'toggleDetails'
59
+ | 'summary'
60
+ | 'summaryText'
61
+ | 'toggle'
62
+ | 'icon'
63
+ | 'details'
64
+ | 'content'
65
+ >
66
+
67
+ type ToggleDetailsStyleProps = {
68
+ animate: boolean
69
+ }
51
70
 
52
71
  const propTypes: PropValidators<PropKeys> = {
53
72
  variant: PropTypes.oneOf(['default', 'filled']),
@@ -104,9 +123,5 @@ const allowedProps: AllowedPropKeys = [
104
123
  'size'
105
124
  ]
106
125
 
107
- export type { ToggleDetailsProps }
126
+ export type { ToggleDetailsProps, ToggleDetailsStyleProps, ToggleDetailsStyle }
108
127
  export { propTypes, allowedProps }
109
-
110
- export type ToggleDetailsStyleProps = {
111
- animate: boolean
112
- }
@@ -23,8 +23,14 @@
23
23
  */
24
24
 
25
25
  import { keyframes } from '@instructure/emotion'
26
- import { ToggleDetailsTheme } from '@instructure/shared-types'
27
- import { ToggleDetailsProps, ToggleDetailsStyleProps } from './props'
26
+
27
+ import type { ToggleDetailsTheme } from '@instructure/shared-types'
28
+ import type {
29
+ ToggleDetailsProps,
30
+ ToggleDetailsStyleProps,
31
+ ToggleDetailsStyle
32
+ } from './props'
33
+
28
34
  const contentAnimation = keyframes`
29
35
  to {
30
36
  opacity: 1;
@@ -44,7 +50,7 @@ const generateStyle = (
44
50
  componentTheme: ToggleDetailsTheme,
45
51
  props: ToggleDetailsProps,
46
52
  state: ToggleDetailsStyleProps
47
- ): any => {
53
+ ): ToggleDetailsStyle => {
48
54
  const { fluidWidth, iconPosition, size, variant } = props
49
55
  const { animate } = state
50
56
 
@@ -140,11 +140,11 @@ class ToggleGroup extends Component<ToggleGroupProps> {
140
140
  const Element = getElementType(ToggleGroup, this.props)
141
141
 
142
142
  return (
143
- <Expandable {...pickProps(this.props, Expandable.propTypes)}>
143
+ <Expandable {...pickProps(this.props, Expandable.allowedProps)}>
144
144
  {({ expanded, getToggleProps, getDetailsProps }) => {
145
145
  return (
146
146
  <View
147
- {...omitProps(this.props, ToggleGroup.propTypes)}
147
+ {...omitProps(this.props, ToggleGroup.allowedProps)}
148
148
  borderWidth={this.props.border ? 'small' : 'none'}
149
149
  as={Element}
150
150
  elementRef={this.props.elementRef}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { PropValidators } from '@instructure/shared-types';
3
- import type { WithStyleProps } from '@instructure/emotion';
2
+ import type { PropValidators, ToggleDetailsTheme } from '@instructure/shared-types';
3
+ import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
4
4
  declare type ToggleDetailsOwnProps = {
5
5
  variant?: 'default' | 'filled';
6
6
  summary: React.ReactNode;
@@ -16,12 +16,13 @@ declare type ToggleDetailsOwnProps = {
16
16
  };
17
17
  declare type PropKeys = keyof ToggleDetailsOwnProps;
18
18
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
19
- declare type ToggleDetailsProps = ToggleDetailsOwnProps & WithStyleProps;
19
+ declare type ToggleDetailsProps = ToggleDetailsOwnProps & WithStyleProps<ToggleDetailsTheme, ToggleDetailsStyle>;
20
+ declare type ToggleDetailsStyle = ComponentStyle<'toggleDetails' | 'summary' | 'summaryText' | 'toggle' | 'icon' | 'details' | 'content'>;
21
+ declare type ToggleDetailsStyleProps = {
22
+ animate: boolean;
23
+ };
20
24
  declare const propTypes: PropValidators<PropKeys>;
21
25
  declare const allowedProps: AllowedPropKeys;
22
- export type { ToggleDetailsProps };
26
+ export type { ToggleDetailsProps, ToggleDetailsStyleProps, ToggleDetailsStyle };
23
27
  export { propTypes, allowedProps };
24
- export declare type ToggleDetailsStyleProps = {
25
- animate: boolean;
26
- };
27
28
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ToggleDetails/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,aAAK,qBAAqB,GAAG;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC9B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAC9B,YAAY,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACtC,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,qBAAqB,CAAA;AAE3C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,kBAAkB,GAAG,qBAAqB,GAAG,cAAc,CAAA;AAEhE,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAuCvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAYnB,CAAA;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA;AAElC,oBAAY,uBAAuB,GAAG;IACpC,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ToggleDetails/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,qBAAqB,GAAG;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC9B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAC9B,YAAY,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACtC,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,qBAAqB,CAAA;AAE3C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,kBAAkB,GAAG,qBAAqB,GAC7C,cAAc,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAA;AAExD,aAAK,kBAAkB,GAAG,cAAc,CACpC,eAAe,GACf,SAAS,GACT,aAAa,GACb,QAAQ,GACR,MAAM,GACN,SAAS,GACT,SAAS,CACZ,CAAA;AAED,aAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAuCvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAYnB,CAAA;AAED,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,CAAA;AAC/E,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
- import { ToggleDetailsTheme } from '@instructure/shared-types';
2
- import { ToggleDetailsProps, ToggleDetailsStyleProps } from './props';
1
+ import type { ToggleDetailsTheme } from '@instructure/shared-types';
2
+ import type { ToggleDetailsProps, ToggleDetailsStyleProps, ToggleDetailsStyle } from './props';
3
3
  /**
4
4
  * ---
5
5
  * private: true
@@ -10,6 +10,6 @@ import { ToggleDetailsProps, ToggleDetailsStyleProps } from './props';
10
10
  * @param {Object} state the state of the component, the style is applied to
11
11
  * @return {Object} The final style object, which will be used in the component
12
12
  */
13
- declare const generateStyle: (componentTheme: ToggleDetailsTheme, props: ToggleDetailsProps, state: ToggleDetailsStyleProps) => any;
13
+ declare const generateStyle: (componentTheme: ToggleDetailsTheme, props: ToggleDetailsProps, state: ToggleDetailsStyleProps) => ToggleDetailsStyle;
14
14
  export default generateStyle;
15
15
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/ToggleDetails/styles.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAMrE;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,kBAAkB,SAC3B,kBAAkB,SAClB,uBAAuB,KAC7B,GA0IF,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/ToggleDetails/styles.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,KAAK,EACV,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAOhB;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,kBAAkB,SAC3B,kBAAkB,SAClB,uBAAuB,KAC7B,kBA0IF,CAAA;AAED,eAAe,aAAa,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.