@generative.fm/web-ui 0.5.0 → 0.6.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.
@@ -1,7 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { CSSTransition } from 'react-transition-group';
3
3
  import classnames from 'classnames';
4
- import { Link } from 'react-router-dom';
5
4
  import PropTypes from 'prop-types';
6
5
  import useActivePatrons from '../use-active-patrons';
7
6
  import styles from './about.module.scss';
@@ -105,7 +104,7 @@ var About = function About(_ref) {
105
104
  rel: "noreferrer noopener"
106
105
  }, "Message me.")), /*#__PURE__*/React.createElement("h2", {
107
106
  className: styles['about__text__subtitle']
108
- }, "Generative.fm Sponsors"), /*#__PURE__*/React.createElement("div", null, "Generative.fm is a pay-what-you-want service made possible with funding from the following:"), /*#__PURE__*/React.createElement("div", {
107
+ }, "Generative.fm Sponsors"), activePatrons && activePatrons.length > 0 && /*#__PURE__*/React.createElement("div", null, "Generative.fm is a pay-what-you-want service made possible with funding from the following:"), /*#__PURE__*/React.createElement("div", {
109
108
  className: classnames(styles['about__text__sponsors'], styles['about__text__sponsors--seeders'])
110
109
  }, formatPatronList(seeders)), seeders.length > 0 && /*#__PURE__*/React.createElement("div", {
111
110
  className: styles['about__text__sponsor-message']
@@ -113,9 +112,7 @@ var About = function About(_ref) {
113
112
  className: classnames(styles['about__text__sponsors'], styles['about__text__sponsors--fans'])
114
113
  }, formatPatronList(fans)), /*#__PURE__*/React.createElement("div", {
115
114
  className: classnames(styles['about__text__sponsors'], styles['about__text__sponsors--benefactors'])
116
- }, formatPatronList(benefactors)), /*#__PURE__*/React.createElement("div", null, "Please consider ", /*#__PURE__*/React.createElement(Link, {
117
- to: "/donate"
118
- }, "sponsoring"), " the development of Generative.fm.")));
115
+ }, formatPatronList(benefactors))));
119
116
  };
120
117
 
121
118
  About.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@generative.fm/web-ui",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Styles and components used for Generative.fm products",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@material-ui/icons": "^4.11.3",
54
- "react": "^17.0.2",
54
+ "react": "^16 || ^17",
55
55
  "react-router-dom": "^5.2.0"
56
56
  },
57
57
  "publishConfig": {