Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Update TailwindCSS to 2.0
Uku Tahteca27283c1d7
diff --git a/assets/css/app.css b/assets/css/app.cssindex 990c187f19..69a4d122d0 100644--- a/assets/css/app.css+++ b/assets/css/app.css@@ -7,19 +7,7 @@@import "tooltip.css";.button {- @apply bg-indigo-600 border border-transparent rounded-md py-2 px-4 inline-flex justify-center text-sm leading-5 font-medium text-white transition-all duration-150 ease-in-out;-}--.button:hover {- @apply bg-gray-700;-}--.button:focus {- @apply outline-none border-gray-900 shadow-outline-gray;-}--.button:active {- @apply bg-gray-900;+ @apply bg-indigo-600 border border-transparent rounded-md py-2 px-4 inline-flex justify-center text-sm leading-5 font-medium text-white transition hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;}.button-outline {diff --git a/assets/js/dashboard/datepicker.js b/assets/js/dashboard/datepicker.jsindex edd1c61294..04ad60f7ae 100644--- a/assets/js/dashboard/datepicker.js+++ b/assets/js/dashboard/datepicker.js@@ -182,7 +182,7 @@ class DatePicker extends React.Component {if (this.state.mode === 'menu') {return (<div className="absolute mt-2 rounded shadow-md z-10" style={{width: '235px', right: '-14px'}}>- <div className="rounded bg-white shadow-xs font-medium text-gray-800">+ <div className="rounded bg-white ring-1 ring-black ring-opacity-5 font-medium text-gray-800"><div className="py-1">{ this.renderLink('day', 'Today') }{ this.renderLink('realtime', 'Realtime') }diff --git a/assets/js/dashboard/site-switcher.js b/assets/js/dashboard/site-switcher.jsindex 644515bbe4..2ebf661c54 100644--- a/assets/js/dashboard/site-switcher.js+++ b/assets/js/dashboard/site-switcher.js@@ -88,7 +88,7 @@ export default class SiteSwitcher extends React.Component {}render() {- const hoverClass = this.props.loggedIn ? 'hover:text-gray-500 focus:border-blue-300 focus:shadow-outline-blue ' : 'cursor-default'+ const hoverClass = this.props.loggedIn ? 'hover:text-gray-500 focus:border-blue-300 focus:ring ' : 'cursor-default'return (<div className="relative inline-block text-left z-10 mr-8">@@ -109,7 +109,7 @@ export default class SiteSwitcher extends React.Component {leaveTo="opacity-0 scale-95"><div className="origin-top-left absolute left-0 mt-2 w-64 rounded-md shadow-lg" ref={node => this.dropDownNode = node} >- <div className="rounded-md bg-white shadow-xs">+ <div className="rounded-md bg-white ring-1 ring-black ring-opacity-5">{ this.renderDropdown() }</div></div>diff --git a/assets/js/dashboard/stats/modals/sources.js b/assets/js/dashboard/stats/modals/sources.jsindex b7716be7cd..e2b792e6b2 100644--- a/assets/js/dashboard/stats/modals/sources.js+++ b/assets/js/dashboard/stats/modals/sources.js@@ -106,7 +106,7 @@ class SourcesModal extends React.Component {} else if (this.state.moreResultsAvailable) {return (<div className="w-full text-center my-4">- <button onClick={this.loadMore.bind(this)} type="button" className="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150">+ <button onClick={this.loadMore.bind(this)} type="button" className="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150">Load more</button></div>diff --git a/assets/package-lock.json b/assets/package-lock.jsonindex 60ca5d4b04..de82d9dc7d 100644--- a/assets/package-lock.json+++ b/assets/package-lock.json@@ -1094,12 +1094,57 @@}},"@fullhuman/postcss-purgecss": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-2.3.0.tgz",- "integrity": "sha512-qnKm5dIOyPGJ70kPZ5jiz0I9foVOic0j+cOzNDoo8KoCf6HjicIZ99UfO2OmE7vCYSKAAepEwJtNzpiiZAh9xw==",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.0.0.tgz",+ "integrity": "sha512-cvuOgMwIVlfgWcUMqg5p33NbGUxLwMrKtDKkm3QRfOo4PRVNR6+y/xd9OyXTVZiB1bIpKNJ0ZObYPWD3DRQDtw==","requires": {"postcss": "7.0.32",- "purgecss": "^2.3.0"+ "purgecss": "^3.0.0"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.32",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",+ "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},"@nodelib/fs.scandir": {@@ -1140,25 +1185,23 @@}}},- "@tailwindcss/custom-forms": {+ "@tailwindcss/aspect-ratio": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/@tailwindcss/aspect-ratio/-/aspect-ratio-0.2.0.tgz",+ "integrity": "sha512-v5LyHkwXj/4lI74B06zUrmWEdmSqS43+jw717pkt3fAXqb7ALwu77A8t7j+Bej+ZbdlIIqNMYheGN7wSGV1A6w=="+ },+ "@tailwindcss/forms": {"version": "0.2.1",- "resolved": "https://registry.npmjs.org/@tailwindcss/custom-forms/-/custom-forms-0.2.1.tgz",- "integrity": "sha512-XdP5XY6kxo3x5o50mWUyoYWxOPV16baagLoZ5uM41gh6IhXzhz/vJYzqrTb/lN58maGIKlpkxgVsQUNSsbAS3Q==",+ "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.2.1.tgz",+ "integrity": "sha512-czfvEdY+J2Ogfd6RUSr/ZSUmDxTujr34M++YLnp2cCPC3oJ4kFvFMaRXA6cEXKw7F1hJuapdjXRjsXIEXGgORg==","requires": {- "lodash": "^4.17.11",- "mini-svg-data-uri": "^1.0.3",- "traverse": "^0.6.6"+ "mini-svg-data-uri": "^1.2.3"}},- "@tailwindcss/ui": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/@tailwindcss/ui/-/ui-0.1.4.tgz",- "integrity": "sha512-ZEfWbr3igOd/iOJPljVKC1/q1Y5eAVcAD2xRgAWhYsMjgtPj2jKVRHQz1SARNAUYr+8vkDzRiRMRatpUvfWncA==",- "requires": {- "@tailwindcss/custom-forms": "^0.2.1",- "hex-rgb": "^4.1.0",- "postcss-selector-parser": "^6.0.2"- }+ "@tailwindcss/typography": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.3.1.tgz",+ "integrity": "sha512-HyZ+3Eay8SGaPq7kcFoANZLr4EjeXQ19yjjb9fp6B0PHHpvZoe00jdsnpnooMEbx9J5rQ93nxPUG3MQmXVxGMQ=="},"@types/d3": {"version": "3.5.38",@@ -1176,6 +1219,11 @@"integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==","dev": true},+ "@types/parse-json": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz",+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA=="+ },"@types/q": {"version": "1.5.4","resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz",@@ -1527,6 +1575,11 @@"integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==","optional": true},+ "at-least-node": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="+ },"atob": {"version": "2.1.2","resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",@@ -1547,25 +1600,36 @@},"dependencies": {"browserslist": {- "version": "4.14.0",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.0.tgz",- "integrity": "sha512-pUsXKAF2lVwhmtpeA3LJrZ76jXuusrNyhduuQs7CDFf9foT4Y38aQOserd2lMe5DSSrjf3fx34oHwryuvxAUgQ==",+ "version": "4.14.7",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.7.tgz",+ "integrity": "sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==","requires": {- "caniuse-lite": "^1.0.30001111",- "electron-to-chromium": "^1.3.523",- "escalade": "^3.0.2",- "node-releases": "^1.1.60"+ "caniuse-lite": "^1.0.30001157",+ "colorette": "^1.2.1",+ "electron-to-chromium": "^1.3.591",+ "escalade": "^3.1.1",+ "node-releases": "^1.1.66"}},"caniuse-lite": {- "version": "1.0.30001114",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001114.tgz",- "integrity": "sha512-ml/zTsfNBM+T1+mjglWRPgVsu2L76GAaADKX5f4t0pbhttEp0WMawJsHDYlFkVZkoA+89uvBRrVrEE4oqenzXQ=="+ "version": "1.0.30001159",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001159.tgz",+ "integrity": "sha512-w9Ph56jOsS8RL20K9cLND3u/+5WASWdhC/PPrf+V3/HsM3uHOavWOR1Xzakbv4Puo/srmPHudkmCRWM7Aq+/UA=="+ },+ "electron-to-chromium": {+ "version": "1.3.601",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.601.tgz",+ "integrity": "sha512-ctRyXD9y0mZu8pgeNwBUhLP3Guyr5YuqkfLKYmpTwYx7o9JtCEJme9JVX4xBXPr5ZNvr/iBXUvHLFEVJQThATg=="+ },+ "escalade": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="},"node-releases": {- "version": "1.1.60",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.60.tgz",- "integrity": "sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA=="+ "version": "1.1.67",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz",+ "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg=="},"postcss-value-parser": {"version": "4.1.0",@@ -2597,24 +2661,41 @@"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="},"cosmiconfig": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz",- "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==",- "requires": {- "is-directory": "^0.3.1",- "js-yaml": "^3.9.0",- "parse-json": "^4.0.0",- "require-from-string": "^2.0.1"+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",+ "requires": {+ "@types/parse-json": "^4.0.0",+ "import-fresh": "^3.2.1",+ "parse-json": "^5.0.0",+ "path-type": "^4.0.0",+ "yaml": "^1.10.0"},"dependencies": {- "js-yaml": {- "version": "3.14.0",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",- "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",+ "import-fresh": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz",+ "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==",+ "requires": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ }+ },+ "parse-json": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",+ "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==","requires": {- "argparse": "^1.0.7",- "esprima": "^4.0.0"+ "@babel/code-frame": "^7.0.0",+ "error-ex": "^1.3.1",+ "json-parse-even-better-errors": "^2.3.0",+ "lines-and-columns": "^1.1.6"}+ },+ "resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="}}},@@ -2782,6 +2863,26 @@"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz","integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="},+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },"emojis-list": {"version": "3.0.0","resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",@@ -2810,6 +2911,16 @@"json5": "^1.0.1"}},+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },"postcss-value-parser": {"version": "4.1.0","resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",@@ -2829,6 +2940,19 @@"version": "6.3.0","resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz","integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }}}},@@ -3265,6 +3389,11 @@"minimist": "^1.1.1"}},+ "didyoumean": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.1.tgz",+ "integrity": "sha1-6S7f2tplN9SE1zwBcv0eugxJdv8="+ },"diffie-hellman": {"version": "5.0.3","resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",@@ -3881,13 +4010,14 @@}},"fs-extra": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",- "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz",+ "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==","requires": {+ "at-least-node": "^1.0.0","graceful-fs": "^4.2.0",- "jsonfile": "^4.0.0",- "universalify": "^0.1.0"+ "jsonfile": "^6.0.1",+ "universalify": "^1.0.0"},"dependencies": {"graceful-fs": {@@ -4106,11 +4236,6 @@"resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz","integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ=="},- "hex-rgb": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/hex-rgb/-/hex-rgb-4.1.0.tgz",- "integrity": "sha512-n7xsIfyBkFChITGPh6FLtxNzAt2HxZLcQIY9hYH4gm2gmMQJHMguMH3E+jnmvUbSTF5QrmFnGab5Ippi+D7e/g=="- },"history": {"version": "4.10.1","resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz",@@ -4186,6 +4311,51 @@"integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==","requires": {"postcss": "^7.0.14"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},"ieee754": {@@ -4203,14 +4373,6 @@"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz","integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw=="},- "import-cwd": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",- "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=",- "requires": {- "import-from": "^2.1.0"- }- },"import-fresh": {"version": "2.0.0","resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",@@ -4220,14 +4382,6 @@"resolve-from": "^3.0.0"}},- "import-from": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz",- "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=",- "requires": {- "resolve-from": "^3.0.0"- }- },"import-local": {"version": "2.0.0","resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",@@ -4349,6 +4503,14 @@"rgba-regex": "^1.0.0"}},+ "is-core-module": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz",+ "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==",+ "requires": {+ "has": "^1.0.3"+ }+ },"is-data-descriptor": {"version": "0.1.4","resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",@@ -4566,6 +4728,11 @@"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz","integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="},+ "json-parse-even-better-errors": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="+ },"json-schema-traverse": {"version": "0.4.1","resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",@@ -4580,11 +4747,19 @@}},"jsonfile": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",- "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==","requires": {- "graceful-fs": "^4.1.6"+ "graceful-fs": "^4.1.6",+ "universalify": "^2.0.0"+ },+ "dependencies": {+ "universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="+ }}},"kind-of": {@@ -4592,6 +4767,11 @@"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz","integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="},+ "klona": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.4.tgz",+ "integrity": "sha512-ZRbnvdg/NxqzC7L9Uyqzf4psi1OM4Cuc+sJAkQPjO6XkQIJTNbfK2Rsmbw8fx1p2mkZdp2FZYo2+LwXYY/uwIA=="+ },"last-call-webpack-plugin": {"version": "3.0.0","resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz",@@ -4623,6 +4803,11 @@"type-check": "~0.3.2"}},+ "lines-and-columns": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA="+ },"loader-runner": {"version": "2.4.0","resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",@@ -4944,6 +5129,11 @@"minimist": "^1.2.5"}},+ "modern-normalize": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/modern-normalize/-/modern-normalize-1.0.0.tgz",+ "integrity": "sha512-1lM+BMLGuDfsdwf3rsgBSrxJwAZHFIrQ8YR61xIqdHo0uNKI9M52wNpHSrliZATJp51On6JD0AfRxd4YGSU0lw=="+ },"moment": {"version": "2.24.0","resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",@@ -5075,11 +5265,6 @@"sort-keys": "^1.0.0"}},- "normalize.css": {- "version": "8.0.1",- "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz",- "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg=="- },"nth-check": {"version": "1.0.2","resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",@@ -5275,6 +5460,21 @@"readable-stream": "^2.1.5"}},+ "parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "requires": {+ "callsites": "^3.0.0"+ },+ "dependencies": {+ "callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="+ }+ }+ },"parse-asn1": {"version": "5.1.4","resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz",@@ -5400,9 +5600,9 @@"integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs="},"postcss": {- "version": "7.0.32",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",- "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==","requires": {"chalk": "^2.4.2","source-map": "^0.6.1",@@ -5875,54 +6075,92 @@"postcss": "^7.0.18"}},- "postcss-load-config": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.0.0.tgz",- "integrity": "sha512-V5JBLzw406BB8UIfsAWSK2KSwIJ5yoEIVFb4gVkXci0QdKgA24jLmHZ/ghe/GgX0lJ0/D1uUK1ejhzEY94MChQ==",- "requires": {- "cosmiconfig": "^4.0.0",- "import-cwd": "^2.0.0"- }- },"postcss-loader": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz",- "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==",+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-4.0.4.tgz",+ "integrity": "sha512-pntA9zIR14drQo84yGTjQJg1m7T0DkXR4vXYHBngiRZdJtEeCrojL6lOpqUanMzG375lIJbT4Yug85zC/AJWGw==","requires": {- "loader-utils": "^1.1.0",- "postcss": "^7.0.0",- "postcss-load-config": "^2.0.0",- "schema-utils": "^1.0.0"+ "cosmiconfig": "^7.0.0",+ "klona": "^2.0.4",+ "loader-utils": "^2.0.0",+ "schema-utils": "^3.0.0",+ "semver": "^7.3.2"},"dependencies": {- "postcss": {+ "@types/json-schema": {"version": "7.0.6",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.6.tgz",- "integrity": "sha512-Nq/rNjnHFcKgCDDZYO0lNsl6YWe6U7tTy+ESN+PnLxebL8uBtYX59HZqvrj7YLK5UCyll2hqDsJOo3ndzEW8Ug==",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz",+ "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw=="+ },+ "ajv": {+ "version": "6.12.6",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==","requires": {- "chalk": "^2.4.1",- "source-map": "^0.6.1",- "supports-color": "^5.5.0"+ "fast-deep-equal": "^3.1.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"}},- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="- }- }- },- "postcss-merge-longhand": {- "version": "4.0.11",- "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",- "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==",- "requires": {- "css-color-names": "0.0.4",- "postcss": "^7.0.0",- "postcss-value-parser": "^3.0.0",- "stylehacks": "^4.0.0"- },- "dependencies": {+ "ajv-keywords": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",+ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ=="+ },+ "big.js": {+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="+ },+ "emojis-list": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",+ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="+ },+ "fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="+ },+ "loader-utils": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",+ "requires": {+ "big.js": "^5.2.2",+ "emojis-list": "^3.0.0",+ "json5": "^2.1.2"+ }+ },+ "schema-utils": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",+ "requires": {+ "@types/json-schema": "^7.0.6",+ "ajv": "^6.12.5",+ "ajv-keywords": "^3.5.2"+ }+ },+ "semver": {+ "version": "7.3.2",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",+ "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="+ }+ }+ },+ "postcss-merge-longhand": {+ "version": "4.0.11",+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",+ "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==",+ "requires": {+ "css-color-names": "0.0.4",+ "postcss": "^7.0.0",+ "postcss-value-parser": "^3.0.0",+ "stylehacks": "^4.0.0"+ },+ "dependencies": {"chalk": {"version": "2.4.2","resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",@@ -6306,6 +6544,51 @@"integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==","requires": {"postcss": "^7.0.5"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},"postcss-modules-local-by-default": {@@ -6319,10 +6602,53 @@"postcss-value-parser": "^4.1.0"},"dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },"postcss-value-parser": {"version": "4.1.0","resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz","integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ=="+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }}}},@@ -6333,6 +6659,51 @@"requires": {"postcss": "^7.0.6","postcss-selector-parser": "^6.0.0"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},"postcss-modules-values": {@@ -6342,6 +6713,51 @@"requires": {"icss-utils": "^4.0.0","postcss": "^7.0.6"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },+ "postcss": {+ "version": "7.0.35",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }}},"postcss-nested": {@@ -7158,7 +7574,7 @@},"pretty-hrtime": {"version": "1.0.3",- "resolved": "http://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",+ "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz","integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE="},"process": {@@ -7240,20 +7656,63 @@"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="},"purgecss": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-2.3.0.tgz",- "integrity": "sha512-BE5CROfVGsx2XIhxGuZAT7rTH9lLeQx/6M0P7DTXQH4IUc3BBzs9JUzt4yzGf3JrH9enkeq6YJBe9CTtkm1WmQ==",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-3.0.0.tgz",+ "integrity": "sha512-t3FGCwyX9XWV3ffvnAXTw6Y3Z9kNlcgm14VImNK66xKi5sdqxSA2I0SFYxtmZbAKuIZVckPdazw5iKL/oY/2TA==","requires": {- "commander": "^5.0.0",+ "commander": "^6.0.0","glob": "^7.0.0","postcss": "7.0.32","postcss-selector-parser": "^6.0.2"},"dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ },+ "dependencies": {+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "requires": {+ "has-flag": "^3.0.0"+ }+ }+ }+ },"commander": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz",- "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg=="+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",+ "integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q=="+ },+ "postcss": {+ "version": "7.0.32",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",+ "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",+ "requires": {+ "chalk": "^2.4.2",+ "source-map": "^0.6.1",+ "supports-color": "^6.1.0"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "supports-color": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",+ "requires": {+ "has-flag": "^3.0.0"+ }}}},@@ -7521,11 +7980,6 @@"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz","integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I="},- "require-from-string": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",- "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="- },"require-main-filename": {"version": "2.0.0","resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",@@ -8238,32 +8692,32 @@}},"tailwindcss": {- "version": "1.9.6",- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-1.9.6.tgz",- "integrity": "sha512-nY8WYM/RLPqGsPEGEV2z63riyQPcHYZUJpAwdyBzVpxQHOHqHE+F/fvbCeXhdF1+TA5l72vSkZrtYCB9hRcwkQ==",+ "version": "2.0.1-compat",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-2.0.1-compat.tgz",+ "integrity": "sha512-6lRJGPW7NlM7cemvGeuyrzb/Doj1hScnCMmAVNt8iTmMhIy4n6rUo84RC8m65+AAyOpSybS4b06lb4GI6Rw6Kw==","requires": {- "@fullhuman/postcss-purgecss": "^2.1.2",- "autoprefixer": "^9.4.5",- "browserslist": "^4.12.0",+ "@fullhuman/postcss-purgecss": "^3.0.0",+ "autoprefixer": "^9","bytes": "^3.0.0",- "chalk": "^3.0.0 || ^4.0.0",- "color": "^3.1.2",+ "chalk": "^4.1.0",+ "color": "^3.1.3","detective": "^5.2.0",- "fs-extra": "^8.0.0",+ "didyoumean": "^1.2.1",+ "fs-extra": "^9.0.1","html-tags": "^3.1.0","lodash": "^4.17.20",+ "modern-normalize": "^1.0.0","node-emoji": "^1.8.1",- "normalize.css": "^8.0.1","object-hash": "^2.0.3",- "postcss": "^7.0.11",- "postcss-functions": "^3.0.0",- "postcss-js": "^2.0.0",- "postcss-nested": "^4.1.1",- "postcss-selector-parser": "^6.0.0",+ "postcss": "^7",+ "postcss-functions": "^3",+ "postcss-js": "^2",+ "postcss-nested": "^4",+ "postcss-selector-parser": "^6.0.4","postcss-value-parser": "^4.1.0","pretty-hrtime": "^1.0.3","reduce-css-calc": "^2.1.6",- "resolve": "^1.14.2"+ "resolve": "^1.19.0"},"dependencies": {"ansi-styles": {@@ -8274,23 +8728,6 @@"color-convert": "^2.0.1"}},- "browserslist": {- "version": "4.14.7",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.7.tgz",- "integrity": "sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==",- "requires": {- "caniuse-lite": "^1.0.30001157",- "colorette": "^1.2.1",- "electron-to-chromium": "^1.3.591",- "escalade": "^3.1.1",- "node-releases": "^1.1.66"- }- },- "caniuse-lite": {- "version": "1.0.30001157",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001157.tgz",- "integrity": "sha512-gOerH9Wz2IRZ2ZPdMfBvyOi3cjaz4O4dgNwPGzx8EhqAs4+2IL/O+fJsbt+znSigujoZG8bVcIAUM/I/E5K3MA=="- },"chalk": {"version": "4.1.0","resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",@@ -8300,6 +8737,30 @@"supports-color": "^7.1.0"}},+ "color": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz",+ "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==",+ "requires": {+ "color-convert": "^1.9.1",+ "color-string": "^1.5.4"+ },+ "dependencies": {+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="+ }+ }+ },"color-convert": {"version": "2.0.1","resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",@@ -8313,15 +8774,14 @@"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz","integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="},- "electron-to-chromium": {- "version": "1.3.593",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.593.tgz",- "integrity": "sha512-GvO7G1ZxvffnMvPCr4A7+iQPVuvpyqMrx2VWSERAjG+pHK6tmO9XqYdBfMIq9corRyi4bNImSDEiDvIoDb8HrA=="- },- "escalade": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="+ "color-string": {+ "version": "1.5.4",+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz",+ "integrity": "sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==",+ "requires": {+ "color-name": "^1.0.0",+ "simple-swizzle": "^0.2.2"+ }},"has-flag": {"version": "4.0.0",@@ -8333,16 +8793,31 @@"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz","integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="},- "node-releases": {- "version": "1.1.66",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.66.tgz",- "integrity": "sha512-JHEQ1iWPGK+38VLB2H9ef2otU4l8s3yAMt9Xf934r6+ojCYDMHPMqvCc9TnzfeFSP1QEOeU6YZEd3+De0LTCgg=="+ "postcss-selector-parser": {+ "version": "6.0.4",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz",+ "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==",+ "requires": {+ "cssesc": "^3.0.0",+ "indexes-of": "^1.0.1",+ "uniq": "^1.0.1",+ "util-deprecate": "^1.0.2"+ }},"postcss-value-parser": {"version": "4.1.0","resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz","integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ=="},+ "resolve": {+ "version": "1.19.0",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",+ "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",+ "requires": {+ "is-core-module": "^2.1.0",+ "path-parse": "^1.0.6"+ }+ },"supports-color": {"version": "7.2.0","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",@@ -8748,11 +9223,6 @@"shapefile": "0.3"}},- "traverse": {- "version": "0.6.6",- "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz",- "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc="- },"tslib": {"version": "1.10.0","resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",@@ -8838,9 +9308,9 @@}},"universalify": {- "version": "0.1.2",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",- "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",+ "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug=="},"unquote": {"version": "1.1.1",@@ -9370,6 +9840,11 @@"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz","integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A=="},+ "yaml": {+ "version": "1.10.0",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",+ "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg=="+ },"yargs": {"version": "13.3.2","resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",diff --git a/assets/package.json b/assets/package.jsonindex cf5c1d39be..34f40d7295 100644--- a/assets/package.json+++ b/assets/package.json@@ -9,8 +9,9 @@"@babel/core": "^7.11.1","@babel/preset-env": "^7.11.0","@babel/preset-react": "^7.10.4",- "@fullhuman/postcss-purgecss": "^2.3.0",- "@tailwindcss/ui": "^0.1.4",+ "@tailwindcss/aspect-ratio": "^0.2.0",+ "@tailwindcss/forms": "^0.2.1",+ "@tailwindcss/typography": "^0.3.1","abortcontroller-polyfill": "^1.5.0","alpinejs": "^2.7.3","autoprefixer": "^9.8.6",@@ -23,14 +24,15 @@"optimize-css-assets-webpack-plugin": "^5.0.3","phoenix": "file:../deps/phoenix","phoenix_html": "file:../deps/phoenix_html",- "postcss-loader": "^3.0.0",+ "postcss": "^7.0.35",+ "postcss-loader": "^4.0.4","react": "^16.13.1","react-dom": "^16.13.1","react-flatpickr": "^3.10.5","react-flip-move": "^3.0.4","react-router-dom": "^5.2.0","react-transition-group": "^4.4.1",- "tailwindcss": "^1.9.6",+ "tailwindcss": "^2.0.1-compat","url-search-params-polyfill": "^8.0.0","webpack": "4.39.2","webpack-cli": "^3.3.12"diff --git a/assets/postcss.config.js b/assets/postcss.config.jsindex 94041aad69..f1c8dac8d2 100644--- a/assets/postcss.config.js+++ b/assets/postcss.config.js@@ -1,19 +1,6 @@-const purgecss = require('@fullhuman/postcss-purgecss')({- content: [- './js/**/*.js',- '../lib/plausible_web/templates/**/*.html.eex',- ],- defaultExtractor: content => content.match(/[\w-/.:]+(?<!:)/g) || [],- whitelistPatterns: [/flatpickr\S+/],- whitelistPatternsChildren: [/flatpickr\S+/]-})-module.exports = {- plugins: [- require('tailwindcss'),- require('autoprefixer'),- ...process.env.NODE_ENV === 'production'- ? [purgecss]- : []- ]+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ }}diff --git a/assets/tailwind.config.js b/assets/tailwind.config.jsindex 94030cdba1..4f9f0e4720 100644--- a/assets/tailwind.config.js+++ b/assets/tailwind.config.js@@ -1,4 +1,9 @@module.exports = {+ purge: [+ './js/**/*.js',+ '../lib/plausible_web/templates/**/*.html.eex',+ ],+ darkMode: false,theme: {container: {center: true,@@ -17,8 +22,9 @@ module.exports = {textColor: ['responsive', 'hover', 'focus', 'group-hover'],display: ['responsive', 'hover', 'focus', 'group-hover']},- corePlugins: {},plugins: [- require('@tailwindcss/ui')- ],+ require('@tailwindcss/forms'),+ require('@tailwindcss/typography'),+ require('@tailwindcss/aspect-ratio'),+ ]}diff --git a/lib/plausible_web/templates/auth/user_settings.html.eex b/lib/plausible_web/templates/auth/user_settings.html.eexindex 80d35476f0..1e71ddf181 100644--- a/lib/plausible_web/templates/auth/user_settings.html.eex+++ b/lib/plausible_web/templates/auth/user_settings.html.eex@@ -80,11 +80,11 @@<%= cond do %><% @subscription && @subscription.status in ["active", "past_due", "paused"] && @subscription.cancel_url -> %><div class="mt-8">- <%= link("Cancel my subscription", to: @subscription.cancel_url, class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150") %>+ <%= link("Cancel my subscription", to: @subscription.cancel_url, class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150") %></div><% true -> %><div class="mt-8">- <%= link("Upgrade", to: "/billing/upgrade", class: "inline-block px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150") %>+ <%= link("Upgrade", to: "/billing/upgrade", class: "inline-block px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150") %></div><% end %></div>@@ -123,6 +123,6 @@<span class="button bg-gray-300 mt-6 hover:shadow-none">Delete my account</span><p class="text-gray-600 text-sm mt-2">Your account cannot be deleted because you have an active subscription. If you want to delete your account, please cancel your subscription first.</p><% else %>- <%= link("Delete my account", to: "/me", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete", data: [confirm: "Deleting your account cannot be reversed. Are you sure?"]) %>+ <%= link("Delete my account", to: "/me", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete", data: [confirm: "Deleting your account cannot be reversed. Are you sure?"]) %><% end %></div>diff --git a/lib/plausible_web/templates/billing/change_plan.html.eex b/lib/plausible_web/templates/billing/change_plan.html.eexindex 00db4be08c..ca72f44f63 100644--- a/lib/plausible_web/templates/billing/change_plan.html.eex+++ b/lib/plausible_web/templates/billing/change_plan.html.eex@@ -20,10 +20,10 @@<div class="pt-8"></div><span class="relative z-0 inline-flex shadow-sm w-full">- <button type="button" @click="billingCycle = 'monthly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'monthly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'yearly'}" class="relative w-full text-center px-4 py-2 rounded-l-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:shadow-outline-blue transition ease-in-out duration-150">+ <button type="button" @click="billingCycle = 'monthly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'monthly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'yearly'}" class="relative w-full text-center px-4 py-2 rounded-l-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:ring transition ease-in-out duration-150">Monthly billing</button>- <button type="button" @click="billingCycle = 'yearly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'yearly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'monthly'}" class="-ml-px relative w-full text-center px-4 py-2 rounded-r-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:shadow-outline-blue transition ease-in-out duration-150">+ <button type="button" @click="billingCycle = 'yearly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'yearly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'monthly'}" class="-ml-px relative w-full text-center px-4 py-2 rounded-r-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:ring transition ease-in-out duration-150">Yearly billing<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium leading-4 bg-yellow-100 text-yellow-800">-33%@@ -105,7 +105,7 @@<div class="text-right mt-6"><span class="inline-flex rounded-md shadow-sm">- <a x-show="window.plans[billingCycle][volume].product_id !== '<%= @subscription.paddle_plan_id %>'" style="display: none;" :href="'/billing/change-plan/preview/' + window.plans[billingCycle][volume].product_id" class="inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150">+ <a x-show="window.plans[billingCycle][volume].product_id !== '<%= @subscription.paddle_plan_id %>'" style="display: none;" :href="'/billing/change-plan/preview/' + window.plans[billingCycle][volume].product_id" class="inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150"><svg fill="currentColor" viewBox="0 0 20 20" class="w-4 h-4 inline mr-2"><path d="M10 12a2 2 0 100-4 2 2 0 000 4z"></path><path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd"></path></svg>Preview changes</a>diff --git a/lib/plausible_web/templates/billing/change_plan_preview.html.eex b/lib/plausible_web/templates/billing/change_plan_preview.html.eexindex ff2330d043..7ae177d13b 100644--- a/lib/plausible_web/templates/billing/change_plan_preview.html.eex+++ b/lib/plausible_web/templates/billing/change_plan_preview.html.eex@@ -66,12 +66,12 @@<div class="flex items-center justify-between mt-10"><span class="flex rounded-md shadow-sm">- <a href="/billing/change-plan" type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150">+ <a href="/billing/change-plan" type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:ring active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150">Back</a></span><span class="flex space-betwee rounded-md shadow-sm">- <%= button("Confirm plan change", to: "/billing/change-plan/#{@preview_info["plan_id"]}", method: :post, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150") %>+ <%= button("Confirm plan change", to: "/billing/change-plan/#{@preview_info["plan_id"]}", method: :post, class: "inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150") %></span></div></div>diff --git a/lib/plausible_web/templates/billing/upgrade.html.eex b/lib/plausible_web/templates/billing/upgrade.html.eexindex d885de67c9..db8ea41d0a 100644--- a/lib/plausible_web/templates/billing/upgrade.html.eex+++ b/lib/plausible_web/templates/billing/upgrade.html.eex@@ -16,10 +16,10 @@<div class="pt-2"></div><span class="relative z-0 inline-flex shadow-sm w-full">- <button type="button" @click="billingCycle = 'monthly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'monthly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'yearly'}" class="relative w-full text-center px-4 py-2 rounded-l-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:shadow-outline-blue transition ease-in-out duration-150">+ <button type="button" @click="billingCycle = 'monthly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'monthly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'yearly'}" class="relative w-full text-center px-4 py-2 rounded-l-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:ring transition ease-in-out duration-150">Monthly billing</button>- <button type="button" @click="billingCycle = 'yearly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'yearly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'monthly'}" class="-ml-px relative w-full text-center px-4 py-2 rounded-r-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:shadow-outline-blue transition ease-in-out duration-150">+ <button type="button" @click="billingCycle = 'yearly'" :class="{'bg-indigo-600 text-white border-indigo-600': billingCycle === 'yearly', 'bg-white text-gray-700 hover:text-gray-500 border-gray-300': billingCycle === 'monthly'}" class="-ml-px relative w-full text-center px-4 py-2 rounded-r-md border text-sm leading-5 font-medium focus:outline-none focus:border-blue-300 focus:ring transition ease-in-out duration-150">Yearly billing<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium leading-4 bg-yellow-100 text-yellow-800">-33%@@ -102,7 +102,7 @@<div class="text-right mt-6"><div class="mb-4 text-sm font-medium">Due today: <b x-text="window.plans[billingCycle][planSize].due_now">$6</b></div><span class="inline-flex rounded-md shadow-sm">- <button type="button" data-theme="none" :data-product="window.plans[billingCycle][planSize].product_id" data-email="<%= @conn.assigns[:current_user].email %>" data-disable-logout="true" data-passthrough="<%= @conn.assigns[:current_user].id %>" data-success="/billing/upgrade-success" class="paddle_button inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700 transition ease-in-out duration-150">+ <button type="button" data-theme="none" :data-product="window.plans[billingCycle][planSize].product_id" data-email="<%= @conn.assigns[:current_user].email %>" data-disable-logout="true" data-passthrough="<%= @conn.assigns[:current_user].id %>" data-success="/billing/upgrade-success" class="paddle_button inline-flex items-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:ring active:bg-indigo-700 transition ease-in-out duration-150"><svg fill="currentColor" viewBox="0 0 20 20" class="w-4 h-4 inline mr-2"><path fill-rule="evenodd" d="M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z" clip-rule="evenodd"></path></svg>Pay securely via Paddle</button>diff --git a/lib/plausible_web/templates/layout/_flash.html.eex b/lib/plausible_web/templates/layout/_flash.html.eexindex 64ad10583a..9892943d69 100644--- a/lib/plausible_web/templates/layout/_flash.html.eex+++ b/lib/plausible_web/templates/layout/_flash.html.eex@@ -1,7 +1,7 @@<%= if get_flash(@conn, :success) do %><div class="z-50 fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end"><div x-data="{ show: true }" x-show="show" x-init="setTimeout(() => show = false, 4000)" x-transition:enter="transform ease-out duration-300 transition" x-transition:enter-start="translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2" x-transition:enter-end="translate-y-0 opacity-100 sm:translate-x-0" x-transition:leave="transition ease-in duration-100" x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" class="max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto">- <div class="rounded-lg shadow-xs overflow-hidden">+ <div class="rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden"><div class="p-4"><div class="flex items-start"><div class="flex-shrink-0">diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eexindex 2266fded96..04320e9610 100644--- a/lib/plausible_web/templates/layout/app.html.eex+++ b/lib/plausible_web/templates/layout/app.html.eex@@ -51,7 +51,7 @@<ul class="flex" x-show="!document.cookie.includes('logged_in=true')"><li><div class="inline-flex rounded shadow ml-6">- <a href="/" class="inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">My Sites</a>+ <a href="/" class="inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:ring transition duration-150 ease-in-out">My Sites</a></div></li></ul>@@ -70,7 +70,7 @@<a href="/login" class="font-medium text-gray-500 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition duration-150 ease-in-out">Login</a></div><div class="inline-flex rounded shadow ml-6">- <a href="/register" class="inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">Sign up</a>+ <a href="/register" class="inline-flex items-center justify-center px-5 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:ring transition duration-150 ease-in-out">Sign up</a></div></li></ul>@@ -102,7 +102,7 @@</div><div class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"><div class="rounded-md shadow-sm">- <%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline transition ease-in-out duration-150") %>+ <%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:ring transition ease-in-out duration-150") %></div></div></div>@@ -124,7 +124,7 @@</div><div class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"><div class="rounded-md shadow-sm">- <%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline transition ease-in-out duration-150") %>+ <%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:ring transition ease-in-out duration-150") %></div></div></div>diff --git a/lib/plausible_web/templates/layout/site_settings.html.eex b/lib/plausible_web/templates/layout/site_settings.html.eexindex 7b7102ec66..b295c7a773 100644--- a/lib/plausible_web/templates/layout/site_settings.html.eex+++ b/lib/plausible_web/templates/layout/site_settings.html.eex@@ -9,7 +9,7 @@<div class="lg:grid lg:grid-cols-12 lg:gap-x-5 mt-6"><div class="py-6 px-2 sm:px-6 lg:py-0 lg:px-0 lg:col-span-3"><div class="lg:hidden">- <select class="mt-1 form-select block w-full pl-3 pr-10 py-2 text-base leading-6 border-gray-300 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5 transition ease-in-out duration-150">+ <select class="mt-1 form-select block w-full pl-3 pr-10 py-2 text-base leading-6 border-gray-300 focus:outline-none focus:ring focus:border-blue-300 sm:text-sm sm:leading-5 transition ease-in-out duration-150"><option selected>General</option><option>Password</option>diff --git a/lib/plausible_web/templates/site/settings_custom_domain.html.eex b/lib/plausible_web/templates/site/settings_custom_domain.html.eexindex b5ffaee9cc..1d12ce9956 100644--- a/lib/plausible_web/templates/site/settings_custom_domain.html.eex+++ b/lib/plausible_web/templates/site/settings_custom_domain.html.eex@@ -6,7 +6,7 @@<div class="mt-6"><%= if @site.custom_domain do %>Configured domain: <b><%= @site.custom_domain.domain %></b>- <%= link("Remove custom domain", to: "/sites/#{URI.encode_www_form(@site.domain)}/custom-domains/#{@site.custom_domain.id}", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete") %>+ <%= link("Remove custom domain", to: "/sites/#{URI.encode_www_form(@site.domain)}/custom-domains/#{@site.custom_domain.id}", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete") %><% else %><%= link("Add custom domain", to: "/sites/#{URI.encode_www_form(@site.domain)}/custom-domains/new", class: "button") %><% end %>diff --git a/lib/plausible_web/templates/site/settings_email_reports.html.eex b/lib/plausible_web/templates/site/settings_email_reports.html.eexindex 7e52fa5942..b8d488e5ca 100644--- a/lib/plausible_web/templates/site/settings_email_reports.html.eex+++ b/lib/plausible_web/templates/site/settings_email_reports.html.eex@@ -6,11 +6,11 @@<div class="my-8 flex items-center"><%= if @weekly_report do %>- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/disable", method: :post, class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/disable", method: :post, class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-5 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><% else %>- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/enable", method: :post, class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/enable", method: :post, class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><% end %>@@ -30,7 +30,7 @@<%= form_for @conn, "/sites/#{URI.encode_www_form(@site.domain)}/weekly-report/recipients", fn f -> %><div class="flex justify-between my-2 max-w-md"><%= email_input f, :recipient, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "[email protected]" %>- <%= submit "Add recipient", class: "button rounded-l-none whitespace-no-wrap" %>+ <%= submit "Add recipient", class: "button rounded-l-none whitespace-nowrap" %></div><% end %></div>@@ -38,11 +38,11 @@<div class="my-8 border-b border-gray-300"></div><div class="my-8 flex items-center"><%= if @monthly_report do %>- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/disable", method: :post, class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/disable", method: :post, class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-5 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><% else %>- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/enable", method: :post, class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/enable", method: :post, class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><% end %>@@ -62,7 +62,7 @@<%= form_for @conn, "/sites/#{URI.encode_www_form(@site.domain)}/monthly-report/recipients", fn f -> %><div class="flex justify-between my-2 max-w-md"><%= email_input f, :recipient, class: "transition bg-gray-100 appearance-none border border-transparent rounded w-full p-2 text-gray-700 leading-normal appearance-none focus:outline-none focus:border-gray-300", style: "flex-grow: 2", placeholder: "[email protected]" %>- <%= submit "Add recipient", class: "button rounded-l-none whitespace-no-wrap" %>+ <%= submit "Add recipient", class: "button rounded-l-none whitespace-nowrap" %></div><% end %></div>diff --git a/lib/plausible_web/templates/site/settings_general.html.eex b/lib/plausible_web/templates/site/settings_general.html.eexindex a54b322837..b97663cee6 100644--- a/lib/plausible_web/templates/site/settings_general.html.eex+++ b/lib/plausible_web/templates/site/settings_general.html.eex@@ -9,18 +9,18 @@<div class="grid grid-cols-4 gap-6"><div class="col-span-4 sm:col-span-2"><%= label f, :domain, class: "block text-sm font-medium leading-5 text-gray-700" %>- <%= text_input f, :domain, class: "form-input mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5", disabled: "disabled" %>+ <%= text_input f, :domain, class: "mt-1 block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:max-w-xs sm:text-sm border-gray-300 rounded-md", disabled: "disabled" %></div><div class="col-span-4 sm:col-span-2"><%= label f, :timezone, "Reporting Timezone", class: "block text-sm font-medium leading-5 text-gray-700" %>- <%= select f, :timezone, Plausible.Timezones.options(), class: "form-select mt-1 block w-full bg-white border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:text-sm sm:leading-5" %>+ <%= select f, :timezone, Plausible.Timezones.options(), class: "mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md" %></div></div></div><div class="px-4 py-3 bg-gray-50 text-right sm:px-6"><span class="inline-flex rounded-md shadow-sm">- <%= submit "Save", class: "bg-indigo-600 border border-transparent rounded-md py-2 px-4 inline-flex justify-center text-sm leading-5 font-medium text-white hover:bg-gray-700 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray active:bg-gray-900 transition duration-150 ease-in-out" %>+ <%= submit "Save", class: "bg-indigo-600 border border-transparent rounded-md py-2 px-4 inline-flex justify-center text-sm leading-5 font-medium text-white hover:bg-gray-700 focus:outline-none focus:border-gray-900 focus:ring active:bg-gray-900 transition duration-150 ease-in-out" %></span></div></div>@@ -34,14 +34,14 @@<%= if @site.public do %><div class="flex items-center space-x-3 mt-4">- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/make-private", method: "POST", class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/make-private", method: "POST", class: "bg-indigo-600 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-5 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><span class="text-sm leading-5 font-medium text-gray-900">Make stats publicly available on <a href="<%= plausible_url() <> "/" <> URI.encode_www_form(@site.domain)%>" class="text-indigo-500"><%= plausible_url() <> "/" <> URI.encode_www_form(@site.domain)%></a></span></div><% else %><div class="flex items-center space-x-3 mt-4">- <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/make-public", method: "POST", class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:shadow-outline") do %>+ <%= button(to: "/sites/#{URI.encode_www_form(@site.domain)}/make-public", method: "POST", class: "bg-gray-200 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring") do %><span class="translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform transition ease-in-out duration-200"></span><% end %><span class="text-sm leading-5 font-medium text-gray-900">Make stats publicly available on <a href="<%= plausible_url() <> "/" <> URI.encode_www_form(@site.domain)%>" class="text-indigo-500"><%= plausible_url() <> "/" <> URI.encode_www_form(@site.domain)%></a></span>@@ -87,7 +87,7 @@Removes all pageviews but keeps the site configuration</p></div>- <%= link("Reset #{@site.domain} stats", to: "/#{URI.encode_www_form(@site.domain)}/stats", method: :delete, class: "inline-block px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", data: [confirm: "Resetting the stats cannot be reversed. Are you sure?"]) %>+ <%= link("Reset #{@site.domain} stats", to: "/#{URI.encode_www_form(@site.domain)}/stats", method: :delete, class: "inline-block px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", data: [confirm: "Resetting the stats cannot be reversed. Are you sure?"]) %></li><div class="border-b border-gray-200"></div>@@ -100,7 +100,7 @@Removes all stats along with the site configuration</p></div>- <%= link "Delete #{@site.domain}", to: "/#{URI.encode_www_form(@site.domain)}", method: :delete, class: "inline-block px-4 py-2 border border-transparent font-medium rounded-md text-red-700 bg-red-100 hover:bg-red-50 focus:outline-none focus:border-red-300 focus:shadow-outline-red active:bg-red-200 transition ease-in-out duration-150 sm:text-sm sm:leading-5", data: [confirm: "Deleting the site data cannot be reversed. Are you sure?"] %>+ <%= link "Delete #{@site.domain}", to: "/#{URI.encode_www_form(@site.domain)}", method: :delete, class: "inline-block px-4 py-2 border border-transparent font-medium rounded-md text-red-700 bg-red-100 hover:bg-red-50 focus:outline-none focus:border-red-300 focus:ring active:bg-red-200 transition ease-in-out duration-150 sm:text-sm sm:leading-5", data: [confirm: "Deleting the site data cannot be reversed. Are you sure?"] %></li></div></div>diff --git a/lib/plausible_web/templates/site/settings_header.html.eex b/lib/plausible_web/templates/site/settings_header.html.eexdeleted file mode 100644index d412a5d3c3..0000000000--- a/lib/plausible_web/templates/site/settings_header.html.eex+++ /dev/null@@ -1,25 +0,0 @@-<div class="py-6 px-2 sm:px-6 lg:py-0 lg:px-0 lg:col-span-3">- <div class="lg:hidden">- <select class="mt-1 form-select block w-full pl-3 pr-10 py-2 text-base leading-6 border-gray-300 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5 transition ease-in-out duration-150">- <option selected>General</option>-- <option>Password</option>-- <option>Notifications</option>-- <option>Plan</option>-- <option>Billing</option>-- <option>Team Members</option>- </select>- </div>- <div class="hidden lg:block">- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "general", text: "General", site: @site) %>- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "goals", text: "Goals", site: @site) %>- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "search-console", text: "Search Console", site: @site) %>- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "email-reports", text: "Email reports", site: @site) %>- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "custom-domain", text: "Custom domain", site: @site) %>- <%= render("_settings_tab.html", current_tab: @tab, this_tab: "js-snippet", text: "JS snippet", site: @site) %>- </div>-</div>diff --git a/lib/plausible_web/templates/site/settings_search_console.html.eex b/lib/plausible_web/templates/site/settings_search_console.html.eexindex ff5421d309..f8c26fbe5d 100644--- a/lib/plausible_web/templates/site/settings_search_console.html.eex+++ b/lib/plausible_web/templates/site/settings_search_console.html.eex@@ -8,7 +8,7 @@<div class="py-2"></div><span class="text-gray-700">Linked Google account: <b><%= @site.google_auth.email %></b></span>- <%= link("Unlink Google account", to: "/#{URI.encode_www_form(@site.domain)}/settings/google", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete") %>+ <%= link("Unlink Google account", to: "/#{URI.encode_www_form(@site.domain)}/settings/google", class: "inline-block mt-4 px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-red-700 bg-white hover:text-red-500 focus:outline-none focus:border-blue-300 focus:ring active:text-red-800 active:bg-gray-50 transition ease-in-out duration-150", method: "delete") %><%= case @search_console_domains do %><% {:ok, domains} -> %>@@ -25,10 +25,7 @@<%= form_for Plausible.Site.GoogleAuth.changeset(@site.google_auth), "/#{URI.encode_www_form(@site.domain)}/settings/google", [class: "max-w-xs"], fn f -> %><div class="my-6"><div class="inline-block relative w-full">- <%= select f, :property, domains, prompt: "(Choose property)", class: "block appearance-none w-full bg-gray-100 text-gray-700 cursor-pointer hover:border-gray-500 p-2 pr-8 rounded leading-normal focus:outline-none" %>- <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-pink-500">- <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"/></svg>- </div>+ <%= select f, :property, domains, prompt: "(Choose property)", class: "mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md" %></div></div>diff --git a/lib/plausible_web/templates/stats/stats.html.eex b/lib/plausible_web/templates/stats/stats.html.eexindex 7e13018298..4f0174d475 100644--- a/lib/plausible_web/templates/stats/stats.html.eex+++ b/lib/plausible_web/templates/stats/stats.html.eex@@ -17,12 +17,12 @@</h2><div class="mt-8 flex lg:flex-shrink-0 lg:mt-0"><div class="inline-flex rounded-md shadow">- <a href="/register" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">+ <a href="/register" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-500 focus:outline-none focus:ring transition duration-150 ease-in-out">Get started</a></div><div class="ml-3 inline-flex rounded-md shadow">- <a href="/" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-indigo-600 bg-white hover:text-indigo-500 focus:outline-none focus:shadow-outline transition duration-150 ease-in-out">+ <a href="/" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-indigo-600 bg-white hover:text-indigo-500 focus:outline-none focus:ring transition duration-150 ease-in-out">Learn more</a></div>