@instructure/ui-view 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 CHANGED
@@ -3,6 +3,16 @@
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
+ ### Bug Fixes
9
+
10
+ - **ui-popover,ui-tooltip:** fixed Tooltip triggers being transformed to links/buttons ([07b0037](https://github.com/instructure/instructure-ui/commit/07b0037b0ddaf6d4f19cca140fc82fc9a2f1efc9))
11
+
12
+ ### Features
13
+
14
+ - **ui-view:** vendor prefix all view style props ([4814652](https://github.com/instructure/instructure-ui/commit/48146521e58bef8e0f75c299278072c715448277))
15
+
6
16
  # [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
17
 
8
18
  **Note:** Version bump only for package @instructure/ui-view
@@ -40,8 +40,8 @@ category: components
40
40
  @tsProps
41
41
  **/
42
42
  let ContextView = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = class ContextView extends Component {
43
- constructor(...args) {
44
- super(...args);
43
+ constructor() {
44
+ super(...arguments);
45
45
  this.ref = null;
46
46
 
47
47
  this.handleRef = el => {
@@ -53,7 +53,10 @@ export default {
53
53
  filter: props => {
54
54
  return (// Border radius and border width list 0 in addition to none in their object values
55
55
  // so we filter those here as they are redundant
56
- props.withFocusOutline && props.position !== 'relative' || props.withVisualDebug && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || props.background !== 'transparent' && (props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || props.borderWidth !== '0' && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center')
56
+ props.withFocusOutline && props.position !== 'relative' || // Only generate a 1 variation for withVisualDebug
57
+ props.withVisualDebug && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || // Only generate a 1 variation for non-'transparent' background
58
+ props.background !== 'transparent' && (props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || // Only generate a 1 variation for non-'0' borderWidth
59
+ props.borderWidth !== '0' && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center')
57
60
  );
58
61
  }
59
62
  };
package/es/View/index.js CHANGED
@@ -155,8 +155,7 @@ let View = (_dec = textDirectionContextConsumer(), _dec2 = withStyle(generateSty
155
155
  const ElementType = getElementType(View, this.props);
156
156
  return jsx(ElementType, Object.assign({}, passthroughProps(props), {
157
157
  className: className,
158
- css: styles === null || styles === void 0 ? void 0 : styles.view,
159
- style: styles === null || styles === void 0 ? void 0 : styles.inlineStyles,
158
+ css: [styles === null || styles === void 0 ? void 0 : styles.view, styles === null || styles === void 0 ? void 0 : styles.inlineStyles],
160
159
  ref: this.handleElementRef
161
160
  }), children);
162
161
  }
package/es/View/styles.js CHANGED
@@ -26,12 +26,11 @@ import { getShorthandPropValue, mirrorShorthandEdges, mirrorShorthandCorners } f
26
26
  import { pickProps } from '@instructure/ui-react-utils';
27
27
  import { logError as error } from '@instructure/console';
28
28
 
29
- const getBorderStyle = ({
30
- borderRadius,
31
- borderWidth,
32
- dir,
33
- theme
34
- }) => {
29
+ const getBorderStyle = _ref => {
30
+ let borderRadius = _ref.borderRadius,
31
+ borderWidth = _ref.borderWidth,
32
+ dir = _ref.dir,
33
+ theme = _ref.theme;
35
34
  const isRtlDirection = dir === DIRECTION.rtl;
36
35
  return {
37
36
  borderRadius: getShorthandPropValue('View', theme, isRtlDirection ? mirrorShorthandCorners(borderRadius) : borderRadius, 'borderRadius'),
@@ -39,12 +38,11 @@ const getBorderStyle = ({
39
38
  };
40
39
  };
41
40
 
42
- const getSpacingStyle = ({
43
- margin,
44
- padding,
45
- dir,
46
- theme
47
- }) => {
41
+ const getSpacingStyle = _ref2 => {
42
+ let margin = _ref2.margin,
43
+ padding = _ref2.padding,
44
+ dir = _ref2.dir,
45
+ theme = _ref2.theme;
48
46
  const isRtlDirection = dir === DIRECTION.rtl;
49
47
  return {
50
48
  margin: getShorthandPropValue('View', theme, isRtlDirection ? mirrorShorthandEdges(margin) : margin, 'margin'),
@@ -52,13 +50,12 @@ const getSpacingStyle = ({
52
50
  };
53
51
  };
54
52
 
55
- const getOffsetStyle = ({
56
- insetBlockStart,
57
- insetBlockEnd,
58
- insetInlineStart,
59
- insetInlineEnd,
60
- dir
61
- }) => {
53
+ const getOffsetStyle = _ref3 => {
54
+ let insetBlockStart = _ref3.insetBlockStart,
55
+ insetBlockEnd = _ref3.insetBlockEnd,
56
+ insetInlineStart = _ref3.insetInlineStart,
57
+ insetInlineEnd = _ref3.insetInlineEnd,
58
+ dir = _ref3.dir;
62
59
  const isRtlDirection = dir === DIRECTION.rtl;
63
60
  const blockStart = {
64
61
  top: insetBlockStart,
@@ -78,10 +75,9 @@ const getOffsetStyle = ({
78
75
  };
79
76
  };
80
77
 
81
- const getStyleProps = ({
82
- cursor,
83
- style
84
- }) => {
78
+ const getStyleProps = _ref4 => {
79
+ let cursor = _ref4.cursor,
80
+ style = _ref4.style;
85
81
  const whitelisted = pickProps(style || {}, {}, [// Position/calculateElementPosition:
86
82
  'top', 'left', 'position', 'display', 'transform', 'overflow', 'minWidth', 'minHeight', // Img:
87
83
  'filter', // Flex.Item:
@@ -467,16 +463,20 @@ const generateStyle = (componentTheme, props) => {
467
463
  } : {}),
468
464
  ...(shouldUseFocusStyles ? focusStyles : {})
469
465
  },
470
- inlineStyles: { ...spacingStyle,
471
- ...borderStyle,
472
- ...offsetStyle,
473
- width,
474
- height,
475
- minWidth,
476
- minHeight,
477
- maxWidth,
478
- maxHeight,
479
- ...getStyleProps(props)
466
+ inlineStyles: {
467
+ //every '&' symbol will add another class to the rule, so it will be stronger
468
+ //making an accidental override less likely
469
+ '&&&&&&&&&&': { ...spacingStyle,
470
+ ...borderStyle,
471
+ ...offsetStyle,
472
+ width,
473
+ height,
474
+ minWidth,
475
+ minHeight,
476
+ maxWidth,
477
+ maxHeight,
478
+ ...getStyleProps(props)
479
+ }
480
480
  }
481
481
  };
482
482
  };
@@ -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.ContextView = exports.default = void 0;
8
+ exports.default = exports.ContextView = void 0;
9
9
 
10
10
  var _react = require("react");
11
11
 
@@ -30,8 +30,8 @@ category: components
30
30
  @tsProps
31
31
  **/
32
32
  let ContextView = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = class ContextView extends _react.Component {
33
- constructor(...args) {
34
- super(...args);
33
+ constructor() {
34
+ super(...arguments);
35
35
  this.ref = null;
36
36
 
37
37
  this.handleRef = el => {
@@ -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.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -61,7 +61,10 @@ var _default = {
61
61
  filter: props => {
62
62
  return (// Border radius and border width list 0 in addition to none in their object values
63
63
  // so we filter those here as they are redundant
64
- props.withFocusOutline && props.position !== 'relative' || props.withVisualDebug && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || props.background !== 'transparent' && (props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || props.borderWidth !== '0' && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center')
64
+ props.withFocusOutline && props.position !== 'relative' || // Only generate a 1 variation for withVisualDebug
65
+ props.withVisualDebug && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || // Only generate a 1 variation for non-'transparent' background
66
+ props.background !== 'transparent' && (props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center') || // Only generate a 1 variation for non-'0' borderWidth
67
+ props.borderWidth !== '0' && (props.background !== 'transparent' || props.borderRadius !== '0' || props.position !== 'static' || props.shadow !== 'none' || props.textAlign !== 'center')
65
68
  );
66
69
  }
67
70
  };
package/lib/View/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.View = exports.default = void 0;
8
+ exports.default = exports.View = void 0;
9
9
 
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
 
@@ -153,8 +153,7 @@ let View = (_dec = (0, _textDirectionContextConsumer.textDirectionContextConsume
153
153
  const ElementType = (0, _getElementType.getElementType)(View, this.props);
154
154
  return (0, _emotion.jsx)(ElementType, Object.assign({}, (0, _passthroughProps.passthroughProps)(props), {
155
155
  className: className,
156
- css: styles === null || styles === void 0 ? void 0 : styles.view,
157
- style: styles === null || styles === void 0 ? void 0 : styles.inlineStyles,
156
+ css: [styles === null || styles === void 0 ? void 0 : styles.view, styles === null || styles === void 0 ? void 0 : styles.inlineStyles],
158
157
  ref: this.handleElementRef
159
158
  }), children);
160
159
  }
package/lib/View/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.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -36,12 +36,11 @@ var _console = require("@instructure/console");
36
36
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37
37
  * SOFTWARE.
38
38
  */
39
- const getBorderStyle = ({
40
- borderRadius,
41
- borderWidth,
42
- dir,
43
- theme
44
- }) => {
39
+ const getBorderStyle = _ref => {
40
+ let borderRadius = _ref.borderRadius,
41
+ borderWidth = _ref.borderWidth,
42
+ dir = _ref.dir,
43
+ theme = _ref.theme;
45
44
  const isRtlDirection = dir === _uiI18n.DIRECTION.rtl;
46
45
  return {
47
46
  borderRadius: (0, _emotion.getShorthandPropValue)('View', theme, isRtlDirection ? (0, _emotion.mirrorShorthandCorners)(borderRadius) : borderRadius, 'borderRadius'),
@@ -49,12 +48,11 @@ const getBorderStyle = ({
49
48
  };
50
49
  };
51
50
 
52
- const getSpacingStyle = ({
53
- margin,
54
- padding,
55
- dir,
56
- theme
57
- }) => {
51
+ const getSpacingStyle = _ref2 => {
52
+ let margin = _ref2.margin,
53
+ padding = _ref2.padding,
54
+ dir = _ref2.dir,
55
+ theme = _ref2.theme;
58
56
  const isRtlDirection = dir === _uiI18n.DIRECTION.rtl;
59
57
  return {
60
58
  margin: (0, _emotion.getShorthandPropValue)('View', theme, isRtlDirection ? (0, _emotion.mirrorShorthandEdges)(margin) : margin, 'margin'),
@@ -62,13 +60,12 @@ const getSpacingStyle = ({
62
60
  };
63
61
  };
64
62
 
65
- const getOffsetStyle = ({
66
- insetBlockStart,
67
- insetBlockEnd,
68
- insetInlineStart,
69
- insetInlineEnd,
70
- dir
71
- }) => {
63
+ const getOffsetStyle = _ref3 => {
64
+ let insetBlockStart = _ref3.insetBlockStart,
65
+ insetBlockEnd = _ref3.insetBlockEnd,
66
+ insetInlineStart = _ref3.insetInlineStart,
67
+ insetInlineEnd = _ref3.insetInlineEnd,
68
+ dir = _ref3.dir;
72
69
  const isRtlDirection = dir === _uiI18n.DIRECTION.rtl;
73
70
  const blockStart = {
74
71
  top: insetBlockStart,
@@ -88,10 +85,9 @@ const getOffsetStyle = ({
88
85
  };
89
86
  };
90
87
 
91
- const getStyleProps = ({
92
- cursor,
93
- style
94
- }) => {
88
+ const getStyleProps = _ref4 => {
89
+ let cursor = _ref4.cursor,
90
+ style = _ref4.style;
95
91
  const whitelisted = (0, _pickProps.pickProps)(style || {}, {}, [// Position/calculateElementPosition:
96
92
  'top', 'left', 'position', 'display', 'transform', 'overflow', 'minWidth', 'minHeight', // Img:
97
93
  'filter', // Flex.Item:
@@ -477,16 +473,20 @@ const generateStyle = (componentTheme, props) => {
477
473
  } : {}),
478
474
  ...(shouldUseFocusStyles ? focusStyles : {})
479
475
  },
480
- inlineStyles: { ...spacingStyle,
481
- ...borderStyle,
482
- ...offsetStyle,
483
- width,
484
- height,
485
- minWidth,
486
- minHeight,
487
- maxWidth,
488
- maxHeight,
489
- ...getStyleProps(props)
476
+ inlineStyles: {
477
+ //every '&' symbol will add another class to the rule, so it will be stronger
478
+ //making an accidental override less likely
479
+ '&&&&&&&&&&': { ...spacingStyle,
480
+ ...borderStyle,
481
+ ...offsetStyle,
482
+ width,
483
+ height,
484
+ minWidth,
485
+ minHeight,
486
+ maxWidth,
487
+ maxHeight,
488
+ ...getStyleProps(props)
489
+ }
490
490
  }
491
491
  };
492
492
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-view",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.0",
4
4
  "description": "A component for basic styles including spacing, sizing, borders, display, positioning, and focus states.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,21 +25,21 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
29
- "@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
30
- "@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
31
- "@instructure/ui-color-utils": "8.12.1-snapshot.7+1e7ac8219",
32
- "@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
33
- "@instructure/ui-i18n": "8.12.1-snapshot.7+1e7ac8219",
34
- "@instructure/ui-position": "8.12.1-snapshot.7+1e7ac8219",
35
- "@instructure/ui-prop-types": "8.12.1-snapshot.7+1e7ac8219",
36
- "@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
28
+ "@instructure/console": "8.13.0",
29
+ "@instructure/emotion": "8.13.0",
30
+ "@instructure/shared-types": "8.13.0",
31
+ "@instructure/ui-color-utils": "8.13.0",
32
+ "@instructure/ui-dom-utils": "8.13.0",
33
+ "@instructure/ui-i18n": "8.13.0",
34
+ "@instructure/ui-position": "8.13.0",
35
+ "@instructure/ui-prop-types": "8.13.0",
36
+ "@instructure/ui-react-utils": "8.13.0",
37
37
  "prop-types": "^15"
38
38
  },
39
39
  "devDependencies": {
40
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
41
- "@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219",
42
- "@instructure/ui-themes": "8.12.1-snapshot.7+1e7ac8219"
40
+ "@instructure/ui-babel-preset": "8.13.0",
41
+ "@instructure/ui-test-utils": "8.13.0",
42
+ "@instructure/ui-themes": "8.13.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8 <=17"
@@ -47,6 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "sideEffects": false,
51
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
50
+ "sideEffects": false
52
51
  }
@@ -72,12 +72,8 @@ type ContextViewProps = ContextViewOwnProps &
72
72
  OtherHTMLAttributes<ContextViewOwnProps>
73
73
 
74
74
  type ContextViewStyle = ComponentStyle<
75
- | 'contextView'
76
- | 'contextView__content'
77
- | 'contextView__arrow'
78
- | 'arrowSize'
79
- | 'arrowBorderWidth'
80
- >
75
+ 'contextView' | 'contextView__content' | 'contextView__arrow'
76
+ > & { arrowSize: string | 0; arrowBorderWidth: string | 0 }
81
77
 
82
78
  const propTypes: PropValidators<PropKeys> = {
83
79
  /**
@@ -218,8 +218,7 @@ class View extends Component<ViewProps> {
218
218
  //@ts-expect-error TODO: `ref` prop causes: "Expression produces a union type that is too complex to represent.ts(2590)"
219
219
  {...passthroughProps(props)}
220
220
  className={className}
221
- css={styles?.view}
222
- style={styles?.inlineStyles}
221
+ css={[styles?.view, styles?.inlineStyles]}
223
222
  ref={this.handleElementRef}
224
223
  >
225
224
  {children}
@@ -600,16 +600,20 @@ const generateStyle = (
600
600
  ...(shouldUseFocusStyles ? focusStyles : {})
601
601
  },
602
602
  inlineStyles: {
603
- ...spacingStyle,
604
- ...borderStyle,
605
- ...offsetStyle,
606
- width,
607
- height,
608
- minWidth,
609
- minHeight,
610
- maxWidth,
611
- maxHeight,
612
- ...getStyleProps(props)
603
+ //every '&' symbol will add another class to the rule, so it will be stronger
604
+ //making an accidental override less likely
605
+ '&&&&&&&&&&': {
606
+ ...spacingStyle,
607
+ ...borderStyle,
608
+ ...offsetStyle,
609
+ width,
610
+ height,
611
+ minWidth,
612
+ minHeight,
613
+ maxWidth,
614
+ maxHeight,
615
+ ...getStyleProps(props)
616
+ }
613
617
  }
614
618
  }
615
619
  }
@@ -24,7 +24,10 @@ declare type ContextViewOwnProps = {
24
24
  declare type PropKeys = keyof ContextViewOwnProps;
25
25
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
26
26
  declare type ContextViewProps = ContextViewOwnProps & WithStyleProps<ContextViewTheme, ContextViewStyle> & OtherHTMLAttributes<ContextViewOwnProps>;
27
- declare type ContextViewStyle = ComponentStyle<'contextView' | 'contextView__content' | 'contextView__arrow' | 'arrowSize' | 'arrowBorderWidth'>;
27
+ declare type ContextViewStyle = ComponentStyle<'contextView' | 'contextView__content' | 'contextView__arrow'> & {
28
+ arrowSize: string | 0;
29
+ arrowBorderWidth: string | 0;
30
+ };
28
31
  declare const propTypes: PropValidators<PropKeys>;
29
32
  declare const allowedProps: AllowedPropKeys;
30
33
  export type { ContextViewProps, ContextViewStyle };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ContextView/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EACV,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAE7B,aAAK,mBAAmB,GAAG;IACzB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IACtC,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM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,eAkBnB,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/View/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAWhD,OAAO,EAAE,GAAG,EAAa,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;;;;GAQG;AACH,cAEM,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IACrC,MAAM,CAAC,WAAW,SAAS;IAC3B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;MAUT;IAgBV,MAAM,CAAC,aAAa,UACX,OAAO,MAAM,EAAE,GAAG,CAAC,aACf,cAAc,GAAG,CAAC,yBAiB9B;IAED,OAAO,CAAC,kBAAkB,CAAS;IACnC,IAAI,QAAQ,mBAMX;gBAEW,KAAK,EAAE,SAAS;IAK5B,iBAAiB;IAIjB,kBAAkB;IAoDlB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAKrC;IAED,MAAM;CA2CP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/View/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAWhD,OAAO,EAAE,GAAG,EAAa,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;;;;GAQG;AACH,cAEM,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IACrC,MAAM,CAAC,WAAW,SAAS;IAC3B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;MAUT;IAgBV,MAAM,CAAC,aAAa,UACX,OAAO,MAAM,EAAE,GAAG,CAAC,aACf,cAAc,GAAG,CAAC,yBAiB9B;IAED,OAAO,CAAC,kBAAkB,CAAS;IACnC,IAAI,QAAQ,mBAMX;gBAEW,KAAK,EAAE,SAAS;IAK5B,iBAAiB;IAIjB,kBAAkB;IAoDlB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAKrC;IAED,MAAM;CA0CP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/View/styles.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAGV,SAAS,EACV,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA0UnD;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,SAAS,SAClB,SAAS,KACf,SAyOF,CAAA;AACD,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/View/styles.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAGV,SAAS,EACV,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA0UnD;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,SAAS,SAClB,SAAS,KACf,SA6OF,CAAA;AACD,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.