@instructure/ui-byline 8.11.2-snapshot.17 → 8.11.2-snapshot.19

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.
@@ -37,6 +37,7 @@ import { propTypes, allowedProps } from './props';
37
37
  ---
38
38
  category: components
39
39
  ---
40
+ @tsProps
40
41
  **/
41
42
  let Byline = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_temp = _class2 = class Byline extends Component {
42
43
  constructor(...args) {
@@ -54,11 +55,15 @@ let Byline = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_cla
54
55
  }
55
56
 
56
57
  componentDidMount() {
57
- this.props.makeStyles();
58
+ var _this$props$makeStyle, _this$props;
59
+
60
+ (_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
58
61
  }
59
62
 
60
- componentDidUpdate(prevProps, prevState, snapshot) {
61
- this.props.makeStyles();
63
+ componentDidUpdate() {
64
+ var _this$props$makeStyle2, _this$props2;
65
+
66
+ (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
62
67
  }
63
68
 
64
69
  render() {
@@ -24,37 +24,12 @@
24
24
  import PropTypes from 'prop-types';
25
25
  import { ThemeablePropTypes } from '@instructure/emotion';
26
26
  const propTypes = {
27
- /**
28
- * the Byline visual/object
29
- */
30
27
  children: PropTypes.node.isRequired,
31
-
32
- /**
33
- * the Byline title
34
- */
35
28
  title: PropTypes.node,
36
-
37
- /**
38
- * the Byline description
39
- */
40
29
  description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
41
-
42
- /**
43
- * how should the title and description align
44
- */
45
30
  alignContent: PropTypes.oneOf(['top', 'center']),
46
-
47
- /**
48
- * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
49
- * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
50
- * familiar CSS-like shorthand. For example: `margin="small auto large"`.
51
- */
52
31
  margin: ThemeablePropTypes.spacing,
53
32
  size: PropTypes.oneOf(['small', 'medium', 'large']),
54
-
55
- /**
56
- * provides a reference to the underlying html root element
57
- */
58
33
  elementRef: PropTypes.func
59
34
  };
60
35
  const allowedProps = ['alignContent', 'children', 'description', 'elementRef', 'margin', 'size', 'title'];
@@ -29,7 +29,6 @@
29
29
  * Generates the style object from the theme and provided additional information
30
30
  * @param {Object} componentTheme The theme variable object.
31
31
  * @param {Object} props the props of the component, the style is applied to
32
- * @param {Object} state the state of the component, the style is applied to
33
32
  * @return {Object} The final style object, which will be used in the component
34
33
  */
35
34
  const generateStyle = (componentTheme, props) => {
@@ -27,6 +27,7 @@ var _dec, _class, _class2, _temp;
27
27
  ---
28
28
  category: components
29
29
  ---
30
+ @tsProps
30
31
  **/
31
32
  let Byline = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = class Byline extends _react.Component {
32
33
  constructor(...args) {
@@ -44,11 +45,15 @@ let Byline = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
44
45
  }
45
46
 
46
47
  componentDidMount() {
47
- this.props.makeStyles();
48
+ var _this$props$makeStyle, _this$props;
49
+
50
+ (_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
48
51
  }
49
52
 
50
- componentDidUpdate(prevProps, prevState, snapshot) {
51
- this.props.makeStyles();
53
+ componentDidUpdate() {
54
+ var _this$props$makeStyle2, _this$props2;
55
+
56
+ (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
52
57
  }
53
58
 
54
59
  render() {
@@ -35,37 +35,12 @@ var _emotion = require("@instructure/emotion");
35
35
  * SOFTWARE.
36
36
  */
37
37
  const propTypes = {
38
- /**
39
- * the Byline visual/object
40
- */
41
38
  children: _propTypes.default.node.isRequired,
42
-
43
- /**
44
- * the Byline title
45
- */
46
39
  title: _propTypes.default.node,
47
-
48
- /**
49
- * the Byline description
50
- */
51
40
  description: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node]),
52
-
53
- /**
54
- * how should the title and description align
55
- */
56
41
  alignContent: _propTypes.default.oneOf(['top', 'center']),
57
-
58
- /**
59
- * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
60
- * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
61
- * familiar CSS-like shorthand. For example: `margin="small auto large"`.
62
- */
63
42
  margin: _emotion.ThemeablePropTypes.spacing,
64
43
  size: _propTypes.default.oneOf(['small', 'medium', 'large']),
65
-
66
- /**
67
- * provides a reference to the underlying html root element
68
- */
69
44
  elementRef: _propTypes.default.func
70
45
  };
71
46
  exports.propTypes = propTypes;
@@ -36,7 +36,6 @@ exports.default = void 0;
36
36
  * Generates the style object from the theme and provided additional information
37
37
  * @param {Object} componentTheme The theme variable object.
38
38
  * @param {Object} props the props of the component, the style is applied to
39
- * @param {Object} state the state of the component, the style is applied to
40
39
  * @return {Object} The final style object, which will be used in the component
41
40
  */
42
41
  const generateStyle = (componentTheme, props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-byline",
3
- "version": "8.11.2-snapshot.17+82b8314a5",
3
+ "version": "8.11.2-snapshot.19+2e2cc205c",
4
4
  "description": "A Byline component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,18 +25,18 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/emotion": "8.11.2-snapshot.17+82b8314a5",
29
- "@instructure/shared-types": "8.11.2-snapshot.17+82b8314a5",
30
- "@instructure/ui-react-utils": "8.11.2-snapshot.17+82b8314a5",
31
- "@instructure/ui-testable": "8.11.2-snapshot.17+82b8314a5",
32
- "@instructure/ui-view": "8.11.2-snapshot.17+82b8314a5",
28
+ "@instructure/emotion": "8.11.2-snapshot.19+2e2cc205c",
29
+ "@instructure/shared-types": "8.11.2-snapshot.19+2e2cc205c",
30
+ "@instructure/ui-react-utils": "8.11.2-snapshot.19+2e2cc205c",
31
+ "@instructure/ui-testable": "8.11.2-snapshot.19+2e2cc205c",
32
+ "@instructure/ui-view": "8.11.2-snapshot.19+2e2cc205c",
33
33
  "prop-types": "^15"
34
34
  },
35
35
  "devDependencies": {
36
- "@instructure/ui-babel-preset": "8.11.2-snapshot.17+82b8314a5",
37
- "@instructure/ui-color-utils": "8.11.2-snapshot.17+82b8314a5",
38
- "@instructure/ui-test-utils": "8.11.2-snapshot.17+82b8314a5",
39
- "@instructure/ui-themes": "8.11.2-snapshot.17+82b8314a5"
36
+ "@instructure/ui-babel-preset": "8.11.2-snapshot.19+2e2cc205c",
37
+ "@instructure/ui-color-utils": "8.11.2-snapshot.19+2e2cc205c",
38
+ "@instructure/ui-test-utils": "8.11.2-snapshot.19+2e2cc205c",
39
+ "@instructure/ui-themes": "8.11.2-snapshot.19+2e2cc205c"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8 <=17"
@@ -45,5 +45,5 @@
45
45
  "access": "public"
46
46
  },
47
47
  "sideEffects": false,
48
- "gitHead": "82b8314a5ce13ef30c3f03125b1e2104ba81c889"
48
+ "gitHead": "2e2cc205c1969e2992e480602ab9b407c43fc39c"
49
49
  }
@@ -40,6 +40,7 @@ import type { BylineProps } from './props'
40
40
  ---
41
41
  category: components
42
42
  ---
43
+ @tsProps
43
44
  **/
44
45
 
45
46
  @withStyle(generateStyle, generateComponentTheme)
@@ -65,14 +66,11 @@ class Byline extends Component<BylineProps> {
65
66
  }
66
67
 
67
68
  componentDidMount() {
68
- // @ts-expect-error ts-migrate(2722) FIXME: Cannot invoke an object which is possibly 'undefin... Remove this comment to see the full error message
69
- this.props.makeStyles()
69
+ this.props.makeStyles?.()
70
70
  }
71
71
 
72
- // @ts-expect-error ts-migrate(6133) FIXME: 'prevProps' is declared but its value is never rea... Remove this comment to see the full error message
73
- componentDidUpdate(prevProps, prevState, snapshot) {
74
- // @ts-expect-error ts-migrate(2722) FIXME: Cannot invoke an object which is possibly 'undefin... Remove this comment to see the full error message
75
- this.props.makeStyles()
72
+ componentDidUpdate() {
73
+ this.props.makeStyles?.()
76
74
  }
77
75
 
78
76
  render() {
@@ -88,7 +86,6 @@ class Byline extends Component<BylineProps> {
88
86
  css={this.props.styles?.byline}
89
87
  as="figure"
90
88
  margin={this.props.margin}
91
- // @ts-expect-error TODO: fix
92
89
  maxWidth={this.props.styles?.maxWidth}
93
90
  >
94
91
  <div css={this.props.styles?.figure}>{this.props.children}</div>
@@ -39,12 +39,35 @@ import type {
39
39
  } from '@instructure/shared-types'
40
40
 
41
41
  type BylineOwnProps = {
42
+ /**
43
+ * the Byline visual/object
44
+ */
42
45
  children: React.ReactNode
46
+ /**
47
+ * the Byline title
48
+ */
43
49
  title?: React.ReactNode
50
+ /**
51
+ * the Byline description
52
+ */
44
53
  description?: string | React.ReactNode
54
+ /**
55
+ * how should the title and description align
56
+ */
45
57
  alignContent?: 'top' | 'center'
58
+ /**
59
+ * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
60
+ * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
61
+ * familiar CSS-like shorthand. For example: `margin="small auto large"`.
62
+ */
46
63
  margin?: Spacing
64
+ /*
65
+ * Determines the `max-width` of this element.
66
+ */
47
67
  size?: 'small' | 'medium' | 'large'
68
+ /**
69
+ * Provides a reference to the underlying html root element
70
+ */
48
71
  elementRef?: (element: Element | null) => void
49
72
  }
50
73
 
@@ -58,35 +81,17 @@ type BylineProps = BylineOwnProps &
58
81
 
59
82
  type BylineStyle = ComponentStyle<
60
83
  'byline' | 'figure' | 'caption' | 'title' | 'description' | 'maxWidth'
61
- >
84
+ > & {
85
+ maxWidth?: string
86
+ }
62
87
 
63
88
  const propTypes: PropValidators<PropKeys> = {
64
- /**
65
- * the Byline visual/object
66
- */
67
89
  children: PropTypes.node.isRequired,
68
- /**
69
- * the Byline title
70
- */
71
90
  title: PropTypes.node,
72
- /**
73
- * the Byline description
74
- */
75
91
  description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
76
- /**
77
- * how should the title and description align
78
- */
79
92
  alignContent: PropTypes.oneOf(['top', 'center']),
80
- /**
81
- * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
82
- * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
83
- * familiar CSS-like shorthand. For example: `margin="small auto large"`.
84
- */
85
93
  margin: ThemeablePropTypes.spacing,
86
94
  size: PropTypes.oneOf(['small', 'medium', 'large']),
87
- /**
88
- * provides a reference to the underlying html root element
89
- */
90
95
  elementRef: PropTypes.func
91
96
  }
92
97
 
@@ -32,7 +32,6 @@ import type { BylineProps, BylineStyle } from './props'
32
32
  * Generates the style object from the theme and provided additional information
33
33
  * @param {Object} componentTheme The theme variable object.
34
34
  * @param {Object} props the props of the component, the style is applied to
35
- * @param {Object} state the state of the component, the style is applied to
36
35
  * @return {Object} The final style object, which will be used in the component
37
36
  */
38
37
  const generateStyle = (
@@ -6,6 +6,7 @@ import type { BylineProps } from './props';
6
6
  ---
7
7
  category: components
8
8
  ---
9
+ @tsProps
9
10
  **/
10
11
  declare class Byline extends Component<BylineProps> {
11
12
  static readonly componentId = "Byline";
@@ -33,7 +34,7 @@ declare class Byline extends Component<BylineProps> {
33
34
  ref: Element | null;
34
35
  handleRef: (el: Element | null) => void;
35
36
  componentDidMount(): void;
36
- componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void;
37
+ componentDidUpdate(): void;
37
38
  render(): jsx.JSX.Element;
38
39
  }
39
40
  export default Byline;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Byline/index.tsx"],"names":[],"mappings":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A6BP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -2,18 +2,40 @@ import React from 'react';
2
2
  import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
3
  import type { PropValidators, BylineTheme, OtherHTMLAttributes } from '@instructure/shared-types';
4
4
  declare type BylineOwnProps = {
5
+ /**
6
+ * the Byline visual/object
7
+ */
5
8
  children: React.ReactNode;
9
+ /**
10
+ * the Byline title
11
+ */
6
12
  title?: React.ReactNode;
13
+ /**
14
+ * the Byline description
15
+ */
7
16
  description?: string | React.ReactNode;
17
+ /**
18
+ * how should the title and description align
19
+ */
8
20
  alignContent?: 'top' | 'center';
21
+ /**
22
+ * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
23
+ * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
24
+ * familiar CSS-like shorthand. For example: `margin="small auto large"`.
25
+ */
9
26
  margin?: Spacing;
10
27
  size?: 'small' | 'medium' | 'large';
28
+ /**
29
+ * Provides a reference to the underlying html root element
30
+ */
11
31
  elementRef?: (element: Element | null) => void;
12
32
  };
13
33
  declare type PropKeys = keyof BylineOwnProps;
14
34
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
15
35
  declare type BylineProps = BylineOwnProps & WithStyleProps<BylineTheme, BylineStyle> & OtherHTMLAttributes<BylineOwnProps>;
16
- declare type BylineStyle = ComponentStyle<'byline' | 'figure' | 'caption' | 'title' | 'description' | 'maxWidth'>;
36
+ declare type BylineStyle = ComponentStyle<'byline' | 'figure' | 'caption' | 'title' | 'description' | 'maxWidth'> & {
37
+ maxWidth?: string;
38
+ };
17
39
  declare const propTypes: PropValidators<PropKeys>;
18
40
  declare const allowedProps: AllowedPropKeys;
19
41
  export type { BylineProps, BylineStyle };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Byline/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MA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AS,EAAE,YAAY,EAAE,CAAA"}
@@ -7,7 +7,6 @@ import type { BylineProps, BylineStyle } from './props';
7
7
  * Generates the style object from the theme and provided additional information
8
8
  * @param {Object} componentTheme The theme variable object.
9
9
  * @param {Object} props the props of the component, the style is applied to
10
- * @param {Object} state the state of the component, the style is applied to
11
10
  * @return {Object} The final style object, which will be used in the component
12
11
  */
13
12
  declare const generateStyle: (componentTheme: BylineTheme, props: BylineProps) => BylineStyle;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/Byline/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,WAAW,SACpB,WAAW,KACjB,WAgEF,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/Byline/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEvD;;;;;;;;GAQG;AACH,QAAA,MAAM,aAAa,mBACD,WAAW,SACpB,WAAW,KACjB,WAgEF,CAAA;AAED,eAAe,aAAa,CAAA"}