diff --git a/package.json b/package.json index a1f87aab..94094989 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,7 @@ "caniuse-lite": "^1.0.30000745", "cross-env": "^5.0.2", "css-loader": "^0.28.7", + "cssnano": "^v4.0.0-rc.2", "deep-equal": "^1.0.1", "enzyme": "^3.0.0", "enzyme-adapter-react-15": "^1.0.0", diff --git a/postcss.config.js b/postcss.config.js index 62390d83..377a7b27 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -12,5 +12,8 @@ module.exports = { }, }, }), + require('cssnano')({ + preset: 'default', + }), ], }; diff --git a/src/backends/git-gateway/AuthenticationPage.css b/src/backends/git-gateway/AuthenticationPage.css index 56400cfe..d71790be 100644 --- a/src/backends/git-gateway/AuthenticationPage.css +++ b/src/backends/git-gateway/AuthenticationPage.css @@ -1,31 +1,31 @@ -.root { +.nc-gitGatewayAuthenticationPage-root { display: flex; align-items: center; justify-content: center; height: 100vh; } -.card { +.nc-gitGatewayAuthenticationPage-card { width: 350px; padding: 10px; } -.card img { +.nc-gitGatewayAuthenticationPage-card img { display: block; margin: auto; padding-bottom: 5px; } -.errorMsg { +.nc-gitGatewayAuthenticationPage-errorMsg { color: #dd0000; } -.message { +.nc-gitGatewayAuthenticationPage-message { font-size: 1.1em; margin: 20px 10px; } -.button { +.nc-gitGatewayAuthenticationPage-button { padding: .25em 1em; height: auto; } diff --git a/src/backends/git-gateway/AuthenticationPage.js b/src/backends/git-gateway/AuthenticationPage.js index 9962b117..c1cbc3e8 100644 --- a/src/backends/git-gateway/AuthenticationPage.js +++ b/src/backends/git-gateway/AuthenticationPage.js @@ -6,7 +6,6 @@ import { Notifs } from 'redux-notifications'; import { Toast } from '../../components/UI/index'; import { Card, Icon } from "../../components/UI"; import logo from "./netlify_logo.svg"; -import styles from "./AuthenticationPage.css"; let component = null; @@ -94,24 +93,24 @@ export default class AuthenticationPage extends React.Component { const { error } = this.props; if (window.netlifyIdentity) { - return
+ return
-
} return ( -
- +
+
{error &&

- {error} + {error}

} {errors.server &&

- {errors.server} + {errors.server}

} - - -
{this.objectLabel(item)}
+
{this.objectLabel(item)}
{value && value.map((item, index) => this.renderItem(item, index))} - ); } diff --git a/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.css b/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.css index 30b75f9c..7783ab5b 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.css +++ b/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.css @@ -1,18 +1,8 @@ -@import "../../../../UI/theme"; - -.rawWrapper { +.nc-rawEditor-rawWrapper { position: relative; } -.editorControlBar { - composes: editorControlBar from "../VisualEditor/index.css"; -} - -.editorControlBarSticky { - composes: editorControlBarSticky from "../VisualEditor/index.css"; -} - -.rawEditor { +.nc-rawEditor-rawEditor { position: relative; overflow: hidden; overflow-x: auto; diff --git a/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.js b/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.js index e4738b56..b3d4cbe5 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.js +++ b/src/components/Widgets/Markdown/MarkdownControl/RawEditor/index.js @@ -5,7 +5,6 @@ import Plain from 'slate-plain-serializer'; import { debounce } from 'lodash'; import Toolbar from '../Toolbar/Toolbar'; import { Sticky } from '../../../../UI/Sticky/Sticky'; -import styles from './index.css'; export default class RawEditor extends React.Component { constructor(props) { @@ -53,16 +52,16 @@ export default class RawEditor extends React.Component { render() { return ( -
+
+
{ buttonsConfig.map((btn, i) => ( } - +
); } diff --git a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.css b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.css index 201c0ee8..dc853c5b 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.css +++ b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.css @@ -1,6 +1,4 @@ -@import "../../../../UI/theme"; - -.button { +.nc-toolbarButton-button { display: inline-block; padding: 6px; border: none; @@ -11,6 +9,6 @@ } } -.active { +.nc-toolbarButton-active { background-color: var(--highlightFGAltColor); } diff --git a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.js b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.js index cc5d1d7f..2fdac53a 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.js +++ b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.js @@ -2,11 +2,10 @@ import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; import { Icon } from '../../../../UI'; -import styles from './ToolbarButton.css'; const ToolbarButton = ({ label, icon, action, active, disabled }) => ( {' '} diff --git a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.css b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.css deleted file mode 100644 index a9e6c0ba..00000000 --- a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.css +++ /dev/null @@ -1,7 +0,0 @@ -.control { - composes: control from "../../../../ControlPanel/ControlPane.css" -} - -.label { - composes: label from "../../../../ControlPanel/ControlPane.css"; -} diff --git a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.js b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.js index ebd58c2d..082ea7e4 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.js +++ b/src/components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginFormControl.js @@ -1,7 +1,6 @@ import PropTypes from 'prop-types'; import React from 'react'; import { resolveWidget } from '../../../../Widgets'; -import styles from './ToolbarPluginFormControl.css'; const ToolbarPluginFormControl = ({ field, @@ -18,8 +17,8 @@ const ToolbarPluginFormControl = ({ const controlProps = { field, value, onAddAsset, onRemoveAsset, getAsset, onChange }; return ( -
- +
+
); diff --git a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/components.js b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/components.js index 21c6421e..cdae5ee2 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/components.js +++ b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/components.js @@ -1,7 +1,6 @@ import React from 'react'; import { List } from 'immutable'; import cn from 'classnames'; -import styles from './index.css'; /** * Slate uses React components to render each type of node that it receives. @@ -62,7 +61,7 @@ export const NODE_COMPONENTS = { 'shortcode': props => { const { attributes, node, state: editorState } = props; const isSelected = editorState.selection.hasFocusIn(node); - const className = cn(styles.shortcode, { [styles.shortcodeSelected]: isSelected }); + const className = cn('nc-visualEditor-shortcode', { ['nc-visualEditor-shortcodeSelected']: isSelected }); return
{node.data.get('shortcode')}
; }, }; diff --git a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.css b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.css index 69b85d6c..c0e4ccf8 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.css +++ b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.css @@ -1,133 +1,136 @@ -@import "../../../../UI/theme"; - -.editorControlBar { +.nc-visualEditor-editorControlBar { z-index: 1; border: 2px solid transparent; border-top: 0; background-color: var(--controlBGColor); } -.editorControlBarSticky { +.nc-visualEditor-editorControlBarSticky { border-color: var(--textFieldBorderColor); } -.wrapper { +.nc-visualEditor-wrapper { position: relative; } -.editor { +.nc-visualEditor-editor { position: relative; overflow: hidden; overflow-x: auto; min-height: var(--richTextEditorMinHeight); font-family: var(--fontFamily); - - & h1 { - font-size: 32px; - margin-top: 16px; - } - - & h2 { - font-size: 24px; - margin-top: 12px; - } - - & h3 { - font-size: 20px; - margin-top: 8px; - } - - & h4 { - font-size: 18px; - margin-top: 8px; - } - - & h5, - & h6 { - font-size: 16px; - margin-top: 8px; - } - - & h1, & h2, & h3, & h4, & h5, & h6 { - font-weight: 700; - line-height: 1; - } - - & p, - & pre, - & blockquote, - & ul, - & ol { - margin-top: 16px; - margin-bottom: 16px; - } - - & a { - text-decoration: underline; - } - - & hr { - border: 1px solid; - margin-bottom: 16px; - } - - & li > p { - margin: 0; - } - - & ul, - & ol { - padding-left: 30px; - } - - & pre { - white-space: pre-wrap; - } - - & pre > code { - display: block; - width: 100%; - overflow-y: auto; - background-color: #000; - color: #ccc; - border-radius: var(--borderRadius); - padding: 10px; - } - - & code { - background-color: var(--backgroundColorShaded); - border-radius: var(--borderRadius); - padding: 0 2px; - font-size: 85%; - } - - & blockquote { - padding-left: 16px; - border-left: 3px solid var(--backgroundColorShaded); - margin-left: 0; - margin-right: 0; - } - - & table { - border-collapse: collapse; - } - - & td, - & th { - border: 2px solid black; - padding: 8px; - text-align: left; - } } -.shortcode { +.nc-visualEditor-editor h1 { + font-size: 32px; + margin-top: 16px; +} + +.nc-visualEditor-editor h2 { + font-size: 24px; + margin-top: 12px; +} + +.nc-visualEditor-editor h3 { + font-size: 20px; + margin-top: 8px; +} + +.nc-visualEditor-editor h4 { + font-size: 18px; + margin-top: 8px; +} + +.nc-visualEditor-editor h5, +.nc-visualEditor-editor h6 { + font-size: 16px; + margin-top: 8px; +} + +.nc-visualEditor-editor h1, +.nc-visualEditor-editor h2, +.nc-visualEditor-editor h3, +.nc-visualEditor-editor h4, +.nc-visualEditor-editor h5, +.nc-visualEditor-editor h6 { + font-weight: 700; + line-height: 1; +} + +.nc-visualEditor-editor p, +.nc-visualEditor-editor pre, +.nc-visualEditor-editor blockquote, +.nc-visualEditor-editor ul, +.nc-visualEditor-editor ol { + margin-top: 16px; + margin-bottom: 16px; +} + +.nc-visualEditor-editor a { + text-decoration: underline; +} + +.nc-visualEditor-editor hr { + border: 1px solid; + margin-bottom: 16px; +} + +.nc-visualEditor-editor li > p { + margin: 0; +} + +.nc-visualEditor-editor ul, +.nc-visualEditor-editor ol { + padding-left: 30px; +} + +.nc-visualEditor-editor pre { + white-space: pre-wrap; +} + +.nc-visualEditor-editor pre > code { + display: block; + width: 100%; + overflow-y: auto; + background-color: #000; + color: #ccc; + border-radius: var(--borderRadius); + padding: 10px; +} + +.nc-visualEditor-editor code { + background-color: var(--backgroundColorShaded); + border-radius: var(--borderRadius); + padding: 0 2px; + font-size: 85%; +} + +.nc-visualEditor-editor blockquote { + padding-left: 16px; + border-left: 3px solid var(--backgroundColorShaded); + margin-left: 0; + margin-right: 0; +} + +.nc-visualEditor-editor table { + border-collapse: collapse; +} + +.nc-visualEditor-editor td, +.nc-visualEditor-editor th { + border: 2px solid black; + padding: 8px; + text-align: left; +} + +.nc-visualEditor-shortcode { border: 2px solid black; padding: 8px; margin: 2px 0; cursor: pointer; } -.shortcodeSelected { +.nc-visualEditor-shortcodeSelected { border-color: var(--primaryColor); color: var(--primaryColor); } diff --git a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.js b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.js index f50b8077..0b4220cb 100644 --- a/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.js +++ b/src/components/Widgets/Markdown/MarkdownControl/VisualEditor/index.js @@ -11,7 +11,6 @@ import { MARK_COMPONENTS, NODE_COMPONENTS } from './components'; import RULES from './rules'; import plugins, { EditListConfigured } from './plugins'; import onKeyDown from './keys'; -import styles from './index.css'; export default class Editor extends Component { constructor(props) { @@ -179,10 +178,10 @@ export default class Editor extends Component { const { onAddAsset, onRemoveAsset, getAsset } = this.props; return ( -
+
-
- + return (
+
+ { React.createElement(widget.control, { id: field.get('name'), @@ -64,7 +62,7 @@ export default class ObjectControl extends Component { const className = this.props.className || ''; if (multiFields) { - return (
+ return (
{multiFields.map(f => this.controlFor(f))}
); } else if (singleField) { diff --git a/src/components/stories/Card.js b/src/components/stories/Card.js index 368a85cf..e1ded550 100644 --- a/src/components/stories/Card.js +++ b/src/components/stories/Card.js @@ -8,8 +8,8 @@ const styles = { backgroundColor: '#555', textAlign: 'center', marginTop: 5, - padding: 10 - } + padding: 10, + }, }; storiesOf('Card', module) diff --git a/src/containers/App.css b/src/containers/App.css index 16eb8b8c..9c3d7fa8 100644 --- a/src/containers/App.css +++ b/src/containers/App.css @@ -1,4 +1,4 @@ -.entriesPanel { +.nc-app-entriesPanel { padding: 0 40px; } diff --git a/src/containers/App.js b/src/containers/App.js index eaa1b04a..0c2080f5 100644 --- a/src/containers/App.js +++ b/src/containers/App.js @@ -26,8 +26,6 @@ import CollectionPage from './CollectionPage'; import EntryPage from './EntryPage'; import SearchPage from './SearchPage'; import NotFoundPage from './NotFoundPage'; -import styles from './App.css'; -import sidebarStyles from './Sidebar.css'; TopBarProgress.config({ barColors: { @@ -137,26 +135,26 @@ class App extends React.Component { const sidebarContent = (
- + { publishMode === SIMPLE ? null :
-

Publishing

-
- Editorial Workflow +

Publishing

+
+ Editorial Workflow
}
-

Collections

+

Collections

{ collections.valueSeq().map((collection) => { const collectionName = collection.get('name'); return ( -
+
this.handleLinkClick(e, navigateToCollection, collectionName)} > {collection.get('label')} @@ -165,7 +163,7 @@ class App extends React.Component { collection.get('create') ? ( this.handleLinkClick(e, createNewEntryInCollection, collectionName)} > @@ -193,7 +191,7 @@ class App extends React.Component { onLogoutClick={logoutUser} toggleDrawer={toggleSidebar} /> -
+
{ isFetching && }
diff --git a/src/containers/CollectionPage.css b/src/containers/CollectionPage.css index e410953f..349676e2 100644 --- a/src/containers/CollectionPage.css +++ b/src/containers/CollectionPage.css @@ -1,4 +1,4 @@ -.noEntries { +.nc-collectionPage-noEntries { position: absolute; top: 50%; left: 50%; @@ -7,4 +7,4 @@ z-index: 1000; transform: translateX(-50%) translateY(-50%); margin-top: 28px; -} \ No newline at end of file +} diff --git a/src/containers/CollectionPage.js b/src/containers/CollectionPage.js index e1762bd8..cd625c1b 100644 --- a/src/containers/CollectionPage.js +++ b/src/containers/CollectionPage.js @@ -6,7 +6,6 @@ import { loadEntries } from '../actions/entries'; import { selectEntries } from '../reducers'; import { Loader } from '../components/UI'; import EntryListing from '../components/EntryListing/EntryListing'; -import styles from "./CollectionPage.css"; class CollectionPage extends React.Component { @@ -58,7 +57,7 @@ class CollectionPage extends React.Component { const fetchingEntriesContent = ( {['Loading Entries', 'Caching Entries', 'This might take several minutes']} ); - const noEntriesContent =
No Entries
; + const noEntriesContent =
No Entries
; const fallbackContent = isFetching ? fetchingEntriesContent : noEntriesContent; return (
{entries ? entriesContent : fallbackContent}
); diff --git a/src/containers/Sidebar.css b/src/containers/Sidebar.css index 2f9f270a..4591ffc2 100644 --- a/src/containers/Sidebar.css +++ b/src/containers/Sidebar.css @@ -1,26 +1,24 @@ -@import '../components/UI/theme'; - -.root { +.nc-sidebar-root { margin-top: 54px; } -.sidebar { +.nc-sidebar-sidebar { padding: 0 16px; width: 220px; background-color: var(--backgroundAltColor); color: var(--defaultColorLight); } -.heading { +.nc-sidebar-heading { margin-bottom: 8px; color: var(--defaultColorLight); } -.nav { +.nc-sidebar-nav { padding: 0; } -.linkWrapper { +.nc-sidebar-linkWrapper { color: #fff; border-radius: var(--borderRadius); display: flex; @@ -32,7 +30,7 @@ } } -.viewEntriesLink { +.nc-sidebar-viewEntriesLink { font-size: 18px; color: inherit; padding: 10px 6px; @@ -40,7 +38,7 @@ width: 100%; } -.createEntryLink { +.nc-sidebar-createEntryLink { color: inherit; padding: 0 6px; display: block; diff --git a/src/containers/Sidebar.js b/src/containers/Sidebar.js index 8bb59447..b437d598 100644 --- a/src/containers/Sidebar.js +++ b/src/containers/Sidebar.js @@ -4,7 +4,6 @@ import { connect } from 'react-redux'; import ReactSidebar from 'react-sidebar'; import _ from 'lodash'; import { openSidebar } from '../actions/globalUI'; -import styles from './Sidebar.css'; class Sidebar extends React.Component { @@ -43,8 +42,8 @@ class Sidebar extends React.Component { return ( div { - float: left; - } - - & .rdtCounter { - height: 100px; - } - - & .rdtCounter { - width: 40px; - } - - & .rdtCounterSeparator { - line-height: 100px; - } - - & .rdtCounter .rdtBtn { - height: 40%; - line-height: 40px; - cursor: pointer; - display: block; - - -webkit-touch-callout: none; /* iOS Safari */ - -webkit-user-select: none; /* Chrome/Safari/Opera */ - -khtml-user-select: none; /* Konqueror */ - -moz-user-select: none; /* Firefox */ - -ms-user-select: none; /* Internet Explorer/Edge */ - user-select: none; - } - & .rdtCounter .rdtBtn:hover { - background: #eee; - } - & .rdtCounter .rdtCount { - height: 20%; - font-size: 1.2em; - } - - & .rdtMilli { - vertical-align: middle; - padding-left: 8px; - width: 48px; - } - - & .rdtMilli input { - width: 100%; - font-size: 1.2em; - margin-top: 37px; - } +.react-autosuggest__container { + position: relative; +} + +.react-autosuggest__input { + width: 240px; + height: 30px; + padding: 10px 20px; + font-family: Helvetica, sans-serif; + font-weight: 300; + font-size: 16px; + border: 1px solid #aaa; + border-radius: 4px; +} + +.react-autosuggest__input:focus { + outline: none; +} + +.react-autosuggest__container--open .react-autosuggest__input { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.react-autosuggest__suggestions-container { + display: none; +} + +.react-autosuggest__container--open .react-autosuggest__suggestions-container { + display: block; + position: absolute; + top: 51px; + width: 100%; + border: 1px solid #aaa; + background-color: #fff; + font-family: Helvetica, sans-serif; + font-weight: 300; + font-size: 16px; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + z-index: 2; +} + +.react-autosuggest__suggestions-list { + margin: 0; + padding: 0; + list-style-type: none; +} + +.react-autosuggest__suggestion { + cursor: pointer; + padding: 10px 20px; +} + +.react-autosuggest__suggestion--focused { + background-color: #ddd; +} + +.Resizer { + background: #000; + opacity: .2; + z-index: 1; + box-sizing: border-box; + background-clip: padding-box; +} + +.Resizer:hover { + -webkit-transition: all 2s ease; + transition: all 2s ease; +} + +.Resizer.vertical { + width: 11px; + margin: 0 -5px; + border-left: 5px solid rgba(255, 255, 255, 0); + border-right: 5px solid rgba(255, 255, 255, 0); + cursor: col-resize; +} + +.Resizer.vertical:hover { + border-left: 5px solid rgba(0, 0, 0, 0.5); + border-right: 5px solid rgba(0, 0, 0, 0.5); +} +.Resizer.disabled { + cursor: not-allowed; +} +.Resizer.disabled:hover { + border-color: transparent; +} + + +.rdt { + position: relative; +} +.rdtPicker { + display: none; + position: absolute; + width: 250px; + padding: 4px; + margin-top: 1px; + z-index: 99999 !important; + background: #fff; + border: 2px solid var(--secondaryColor); + border-radius: 2px; + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .16); +} +.rdtOpen .rdtPicker { + display: block; +} +.rdtStatic .rdtPicker { + box-shadow: none; + position: static; +} + +.rdtPicker .rdtTimeToggle { + text-align: center; +} + +.rdtPicker table { + width: 100%; + margin: 0; +} +.rdtPicker td, +.rdtPicker th { + text-align: center; + height: 28px; +} +.rdtPicker td { + cursor: pointer; +} +.rdtPicker td.rdtDay:hover, +.rdtPicker td.rdtHour:hover, +.rdtPicker td.rdtMinute:hover, +.rdtPicker td.rdtSecond:hover, +.rdtPicker .rdtTimeToggle:hover { + background: #eeeeee; + cursor: pointer; +} +.rdtPicker td.rdtOld, +.rdtPicker td.rdtNew { + color: #999999; +} +.rdtPicker td.rdtToday { + position: relative; +} +.rdtPicker td.rdtToday:before { + content: ''; + display: inline-block; + border-left: 7px solid transparent; + border-bottom: 7px solid #428bca; + border-top-color: rgba(0, 0, 0, 0.2); + position: absolute; + bottom: 4px; + right: 4px; +} +.rdtPicker td.rdtActive, +.rdtPicker td.rdtActive:hover { + background-color: #428bca; + color: #fff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} +.rdtPicker td.rdtActive.rdtToday:before { + border-bottom-color: #fff; +} +.rdtPicker td.rdtDisabled, +.rdtPicker td.rdtDisabled:hover { + background: none; + color: #999999; + cursor: not-allowed; +} + +.rdtPicker td span.rdtOld { + color: #999999; +} +.rdtPicker td span.rdtDisabled, +.rdtPicker td span.rdtDisabled:hover { + background: none; + color: #999999; + cursor: not-allowed; +} +.rdtPicker th { + border-bottom: 1px solid #f9f9f9; +} +.rdtPicker .dow { + width: 14.2857%; + border-bottom: none; +} +.rdtPicker th.rdtSwitch { + width: 100px; +} +.rdtPicker th.rdtNext, +.rdtPicker th.rdtPrev { + font-size: 21px; + vertical-align: top; +} + +.rdtPrev span, +.rdtNext span { + display: block; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Chrome/Safari/Opera */ + -khtml-user-select: none; /* Konqueror */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; +} + +.rdtPicker th.rdtDisabled, +.rdtPicker th.rdtDisabled:hover { + background: none; + color: #999999; + cursor: not-allowed; +} +.rdtPicker thead tr:first-child th { + cursor: pointer; +} +.rdtPicker thead tr:first-child th:hover { + background: #eeeeee; +} + +.rdtPicker tfoot { + border-top: 1px solid #f9f9f9; +} + +.rdtPicker button { + border: none; + background: none; + cursor: pointer; +} +.rdtPicker button:hover { + background-color: #eee; +} + +.rdtPicker thead button { + width: 100%; + height: 100%; +} + +td.rdtMonth, +td.rdtYear { + height: 50px; + width: 25%; + cursor: pointer; +} +td.rdtMonth:hover, +td.rdtYear:hover { + background: #eee; +} + +.rdtCounters { + display: inline-block; +} + +.rdtCounters > div { + float: left; +} + +.rdtCounter { + height: 100px; +} + +.rdtCounter { + width: 40px; +} + +.rdtCounterSeparator { + line-height: 100px; +} + +.rdtCounter .rdtBtn { + height: 40%; + line-height: 40px; + cursor: pointer; + display: block; + + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Chrome/Safari/Opera */ + -khtml-user-select: none; /* Konqueror */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; +} +.rdtCounter .rdtBtn:hover { + background: #eee; +} +.rdtCounter .rdtCount { + height: 20%; + font-size: 1.2em; +} + +.rdtMilli { + vertical-align: middle; + padding-left: 8px; + width: 48px; +} + +.rdtMilli input { + width: 100%; + font-size: 1.2em; + margin-top: 37px; } diff --git a/src/material-icons.css b/src/material-icons.css index a2807ad5..ca09b2d0 100644 --- a/src/material-icons.css +++ b/src/material-icons.css @@ -4,12 +4,13 @@ font-weight: 400; src: local('Material Icons'), local('MaterialIcons-Regular'), - url('material-design-icons/iconfont/MaterialIcons-Regular.woff2') format('woff2'), - url('material-design-icons/iconfont/MaterialIcons-Regular.woff') format('woff'), - url('material-design-icons/iconfont/MaterialIcons-Regular.ttf') format('truetype'); + + url('~material-design-icons/iconfont/MaterialIcons-Regular.woff2') format('woff2'), + url('~material-design-icons/iconfont/MaterialIcons-Regular.woff') format('woff'), + url('~material-design-icons/iconfont/MaterialIcons-Regular.ttf') format('truetype'); } -:global .material-icons { +.material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; diff --git a/src/utils.css b/src/utils.css index 85da4449..ceb2c8a1 100644 --- a/src/utils.css +++ b/src/utils.css @@ -1,25 +1,23 @@ /* stylelint-disable */ /* This is an utility file that should not be included in production build */ -:global { - & .undefined { - position: fixed !important; - top: 0 !important; - right: 0 !important; - bottom: 0 !important; - left: 0 !important; - display: flex !important; - align-items: center !important; - justify-content: center !important; - background: red !important; - color: white !important; - font-weight: bold !important; - font-size: 30px !important; - } +.undefined { + position: fixed !important; + top: 0 !important; + right: 0 !important; + bottom: 0 !important; + left: 0 !important; + display: flex !important; + align-items: center !important; + justify-content: center !important; + background: red !important; + color: white !important; + font-weight: bold !important; + font-size: 30px !important; +} - & .undefined::after { - display: block !important; - padding: 15px 30px !important; - content: 'ERROR! You are missing a class definition in your css module! Inspect me to find out where.' !important; - } +.undefined::after { + display: block !important; + padding: 15px 30px !important; + content: 'ERROR! You are missing a class definition in your css module! Inspect me to find out where.' !important; } /* stylelint-enable */ diff --git a/webpack.base.js b/webpack.base.js index 79bdfc59..07a3e74b 100644 --- a/webpack.base.js +++ b/webpack.base.js @@ -43,7 +43,7 @@ module.exports = { }), }, { - /* We use CSS-modules and PostCSS for CMS styles */ + /* We use PostCSS for CMS styles */ test: /\.css$/, exclude: [/node_modules/], use: ExtractTextPlugin.extract({ @@ -52,9 +52,7 @@ module.exports = { { loader: 'css-loader', options: { - modules: true, importLoaders: 1, - localIdentName: "cms__[name]__[local]" }, }, { loader: 'postcss-loader' }, diff --git a/yarn.lock b/yarn.lock index 4c5a154d..27735f10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -170,7 +170,7 @@ all-contributors-cli@^4.4.0: request "^2.72.0" yargs "^4.7.0" -alphanum-sort@^1.0.1, alphanum-sort@^1.0.2: +alphanum-sort@^1.0.0, alphanum-sort@^1.0.1, alphanum-sort@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" @@ -242,6 +242,10 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" +argh@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/argh/-/argh-0.1.4.tgz#3eb4d612973fc6b6dc6ef338f56f759f2ac5c3a6" + argparse@^1.0.7: version "1.0.9" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" @@ -1740,7 +1744,7 @@ color@^0.11.0: color-convert "^1.3.0" color-string "^0.3.0" -color@^1.0.3: +color@^1.0.0, color@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/color/-/color-1.0.3.tgz#e48e832d85f14ef694fb468811c2d5cfe729b55d" dependencies: @@ -1914,7 +1918,7 @@ cosmiconfig@^1.1.0: pinkie-promise "^2.0.0" require-from-string "^1.1.0" -cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: +cosmiconfig@^2.0.0, cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: version "2.2.2" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-2.2.2.tgz#6173cebd56fac042c1f4390edf7af6c07c7cb892" dependencies: @@ -2052,10 +2056,20 @@ css-color-names@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.3.tgz#de0cef16f4d8aa8222a320d5b6d7e9bbada7b9f6" -css-color-names@0.0.4: +css-color-names@0.0.4, css-color-names@^0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" +css-declaration-sorter@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-2.1.0.tgz#ac342d22883467cab81271d8427ae2699688855d" + dependencies: + argh "^0.1.4" + postcss "^6.0.0" + read-file-stdin "^0.2.0" + timsort "^0.3.0" + write-file-stdout "0.0.2" + css-in-js-utils@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/css-in-js-utils/-/css-in-js-utils-2.0.0.tgz#5af1dd70f4b06b331f48d22a3d86e0786c0b9435" @@ -2126,6 +2140,59 @@ cssesc@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4" +cssnano-preset-default@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-4.0.0-rc.2.tgz#c5f38cdf858fa6e00e52186f77a96c6be48bbced" + dependencies: + css-declaration-sorter "^2.0.1" + cssnano-util-raw-cache "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-calc "^6.0.0" + postcss-colormin "^4.0.0-rc.2" + postcss-convert-values "^4.0.0-rc.2" + postcss-discard-comments "^4.0.0-rc.2" + postcss-discard-duplicates "^4.0.0-rc.2" + postcss-discard-empty "^4.0.0-rc.2" + postcss-discard-overridden "^4.0.0-rc.2" + postcss-merge-longhand "^4.0.0-rc.2" + postcss-merge-rules "^4.0.0-rc.2" + postcss-minify-font-values "^4.0.0-rc.2" + postcss-minify-gradients "^4.0.0-rc.2" + postcss-minify-params "^4.0.0-rc.2" + postcss-minify-selectors "^4.0.0-rc.2" + postcss-normalize-charset "^4.0.0-rc.2" + postcss-normalize-display-values "^4.0.0-rc.2" + postcss-normalize-positions "^4.0.0-rc.2" + postcss-normalize-repeat-style "^4.0.0-rc.2" + postcss-normalize-string "^4.0.0-rc.2" + postcss-normalize-timing-functions "^4.0.0-rc.2" + postcss-normalize-unicode "^4.0.0-rc.2" + postcss-normalize-url "^4.0.0-rc.2" + postcss-normalize-whitespace "^4.0.0-rc.2" + postcss-ordered-values "^4.0.0-rc.2" + postcss-reduce-initial "^4.0.0-rc.2" + postcss-reduce-transforms "^4.0.0-rc.2" + postcss-svgo "^4.0.0-rc.2" + postcss-unique-selectors "^4.0.0-rc.2" + +cssnano-util-get-arguments@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0-rc.2.tgz#39d5cf9caee9e9027066c37954655c14419c06d4" + +cssnano-util-get-match@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0-rc.2.tgz#e48fad41c5d14875f7401fa7c87c5f0ae6d6ff9b" + +cssnano-util-raw-cache@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.0-rc.2.tgz#8b33cec7ba839bfc6a59a2c90fbd80dd404bef75" + dependencies: + postcss "^6.0.0" + +cssnano-util-same-parent@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.0-rc.2.tgz#b036b89f0d7c7516aafd1dc9e70f0ed05768834a" + "cssnano@>=2.6.1 <4": version "3.10.0" resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38" @@ -2163,6 +2230,15 @@ cssesc@^0.1.0: postcss-value-parser "^3.2.3" postcss-zindex "^2.0.1" +cssnano@^v4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-4.0.0-rc.2.tgz#bcc06fe303d4f0f14070e59c121667c1727e2feb" + dependencies: + cosmiconfig "^2.0.0" + cssnano-preset-default "^4.0.0-rc.2" + is-resolvable "^1.0.0" + postcss "^6.0.0" + csso@~2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/csso/-/csso-2.3.2.tgz#ddd52c587033f49e94b71fc55569f252e8ff5f85" @@ -2391,20 +2467,13 @@ dns-txt@^2.0.2: dependencies: buffer-indexof "^1.0.0" -doctrine@1.3.x: +doctrine@1.3.x, doctrine@^1.2.2: version "1.3.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.3.0.tgz#13e75682b55518424276f7c173783456ef913d26" dependencies: esutils "^2.0.2" isarray "^1.0.0" -doctrine@^1.2.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" - dependencies: - esutils "^2.0.2" - isarray "^1.0.0" - doctrine@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63" @@ -2462,21 +2531,14 @@ domhandler@^2.3.0: dependencies: domelementtype "1" -domutils@1.5.1: +domutils@1.5.1, domutils@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" dependencies: dom-serializer "0" domelementtype "1" -domutils@^1.5.1: - version "1.6.2" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.6.2.tgz#1958cc0b4c9426e9ed367fb1c8e854891b0fa3ff" - dependencies: - dom-serializer "0" - domelementtype "1" - -dot-prop@^4.1.0: +dot-prop@^4.1.0, dot-prop@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" dependencies: @@ -3642,7 +3704,7 @@ has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" -has@^1.0.1, has@~1.0.1: +has@^1.0.0, has@^1.0.1, has@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" dependencies: @@ -3767,6 +3829,10 @@ hawk@~6.0.2: hoek "4.x.x" sntp "2.x.x" +hex-color-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" + highlight-es@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/highlight-es/-/highlight-es-1.0.1.tgz#3bb01eb1f2062ddaab72f8b23766a3bf8c1a771f" @@ -3835,6 +3901,14 @@ hpack.js@^2.1.6: readable-stream "^2.0.1" wbuf "^1.1.0" +hsl-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/hsl-regex/-/hsl-regex-1.0.0.tgz#d49330c789ed819e276a4c0d272dffa30b18fe6e" + +hsla-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38" + html-comment-regex@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.1.tgz#668b93776eaae55ebde8f3ad464b307a4963625e" @@ -4172,6 +4246,17 @@ is-ci@^1.0.10, is-ci@^1.0.8: dependencies: ci-info "^1.0.0" +is-color-stop@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-color-stop/-/is-color-stop-1.1.0.tgz#cfff471aee4dd5c9e158598fbe12967b5cdad345" + dependencies: + css-color-names "^0.0.4" + hex-color-regex "^1.1.0" + hsl-regex "^1.0.0" + hsla-regex "^1.0.0" + rgb-regex "^1.0.1" + rgba-regex "^1.0.0" + is-date-object@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" @@ -5438,11 +5523,11 @@ mime-types@^2.1.12, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.17, dependencies: mime-db "~1.30.0" -mime@1.3.x: +mime@1.3.x, mime@^1.3.4: version "1.3.6" resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0" -mime@1.4.1, mime@^1.3.4: +mime@1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" @@ -5476,7 +5561,7 @@ minimatch@3.0.3: dependencies: brace-expansion "^1.0.0" -minimist@0.0.8: +minimist@0.0.8, minimist@~0.0.1: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" @@ -5484,10 +5569,6 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@~1. version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" @@ -5720,7 +5801,7 @@ normalize-selector@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/normalize-selector/-/normalize-selector-0.2.0.tgz#d0b145eb691189c63a78d201dc4fdb1293ef0c03" -normalize-url@^1.4.0: +normalize-url@^1.0.0, normalize-url@^1.4.0: version "1.9.1" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c" dependencies: @@ -6354,6 +6435,16 @@ postcss-colormin@^2.1.8: postcss "^5.0.13" postcss-value-parser "^3.2.3" +postcss-colormin@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-4.0.0-rc.2.tgz#978e17b77552cdde52e5e15503062b5cb7579272" + dependencies: + browserslist "^2.0.0" + color "^1.0.0" + has "^1.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-convert-values@^2.3.4: version "2.6.1" resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz#bbd8593c5c1fd2e3d1c322bb925dcae8dae4d62d" @@ -6361,6 +6452,13 @@ postcss-convert-values@^2.3.4: postcss "^5.0.11" postcss-value-parser "^3.1.2" +postcss-convert-values@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-4.0.0-rc.2.tgz#6255e099cfc064212ace00fa68bca74ecf6b4b7d" + dependencies: + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-cssnext@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/postcss-cssnext/-/postcss-cssnext-3.0.2.tgz#63b77adb0b8a4c1d5ec32cd345539535a3417d48" @@ -6423,24 +6521,48 @@ postcss-discard-comments@^2.0.4: dependencies: postcss "^5.0.14" +postcss-discard-comments@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-4.0.0-rc.2.tgz#9874d406414f554d017e1a1c8938d9b1ff0f2aa9" + dependencies: + postcss "^6.0.0" + postcss-discard-duplicates@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz#b9abf27b88ac188158a5eb12abcae20263b91932" dependencies: postcss "^5.0.4" +postcss-discard-duplicates@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.0-rc.2.tgz#6218b98f65862dfc1dd35525ab954fc4bb78188d" + dependencies: + postcss "^6.0.0" + postcss-discard-empty@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz#d2b4bd9d5ced5ebd8dcade7640c7d7cd7f4f92b5" dependencies: postcss "^5.0.14" +postcss-discard-empty@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-4.0.0-rc.2.tgz#3791106c7711d4468fe08bf0bf644a477788c880" + dependencies: + postcss "^6.0.0" + postcss-discard-overridden@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz#8b1eaf554f686fb288cd874c55667b0aa3668d58" dependencies: postcss "^5.0.16" +postcss-discard-overridden@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-4.0.0-rc.2.tgz#88507319a505afaa58acb93d3ef760270053388b" + dependencies: + postcss "^6.0.0" + postcss-discard-unused@^2.2.1: version "2.2.3" resolved "https://registry.yarnpkg.com/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz#bce30b2cc591ffc634322b5fb3464b6d934f4433" @@ -6554,6 +6676,14 @@ postcss-merge-longhand@^2.0.1: dependencies: postcss "^5.0.4" +postcss-merge-longhand@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-4.0.0-rc.2.tgz#5aae5b86750d9a16e7bef6482dab65a9d4b3c03a" + dependencies: + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + stylehacks "^4.0.0-rc.2" + postcss-merge-rules@^2.0.3: version "2.1.2" resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz#d1df5dfaa7b1acc3be553f0e9e10e87c61b5f721" @@ -6564,6 +6694,17 @@ postcss-merge-rules@^2.0.3: postcss-selector-parser "^2.2.2" vendors "^1.0.0" +postcss-merge-rules@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-4.0.0-rc.2.tgz#18d89d1a6ddcf91c7288775bfbefb881367ab944" + dependencies: + browserslist "^2.0.0" + caniuse-api "^2.0.0" + cssnano-util-same-parent "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-selector-parser "^3.0.0-rc.0" + vendors "^1.0.0" + postcss-message-helpers@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz#a4f2f4fab6e4fe002f0aed000478cdf52f9ba60e" @@ -6576,6 +6717,13 @@ postcss-minify-font-values@^1.0.2: postcss "^5.0.4" postcss-value-parser "^3.0.2" +postcss-minify-font-values@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-4.0.0-rc.2.tgz#e5fd79c97525e79421ea736d857baedce65a5ea9" + dependencies: + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-minify-gradients@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz#5dbda11373703f83cfb4a3ea3881d8d75ff5e6e1" @@ -6583,6 +6731,15 @@ postcss-minify-gradients@^1.0.1: postcss "^5.0.12" postcss-value-parser "^3.3.0" +postcss-minify-gradients@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-4.0.0-rc.2.tgz#c07e95a4f4f9f8a056e59ac0817e72e891bc62dc" + dependencies: + cssnano-util-get-arguments "^4.0.0-rc.2" + is-color-stop "^1.1.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-minify-params@^1.0.4: version "1.2.2" resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz#ad2ce071373b943b3d930a3fa59a358c28d6f1f3" @@ -6592,6 +6749,16 @@ postcss-minify-params@^1.0.4: postcss-value-parser "^3.0.2" uniqs "^2.0.0" +postcss-minify-params@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-4.0.0-rc.2.tgz#4bd747f4ba7fd5b1f31ecc8823aa9a589e7f8980" + dependencies: + alphanum-sort "^1.0.0" + cssnano-util-get-arguments "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + uniqs "^2.0.0" + postcss-minify-selectors@^2.0.4: version "2.1.1" resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz#b2c6a98c0072cf91b932d1a496508114311735bf" @@ -6601,6 +6768,15 @@ postcss-minify-selectors@^2.0.4: postcss "^5.0.14" postcss-selector-parser "^2.0.0" +postcss-minify-selectors@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-4.0.0-rc.2.tgz#86089c9d8a6a9166815f19bfa2d01b7da5d173f6" + dependencies: + alphanum-sort "^1.0.0" + has "^1.0.0" + postcss "^6.0.0" + postcss-selector-parser "^3.0.0-rc.0" + postcss-modules-extract-imports@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz#66140ecece38ef06bf0d3e355d69bf59d141ea85" @@ -6640,6 +6816,61 @@ postcss-normalize-charset@^1.1.0: dependencies: postcss "^5.0.5" +postcss-normalize-charset@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-4.0.0-rc.2.tgz#898b67c77bea2ff7c318cf56b427bce10bc35db6" + dependencies: + postcss "^6.0.0" + +postcss-normalize-display-values@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.0-rc.2.tgz#d802d77dc7fba66f72a201e94804029b24acd271" + dependencies: + cssnano-util-get-match "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-positions@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-4.0.0-rc.2.tgz#f12cb691438e8cb91abe914052ac2381e563da32" + dependencies: + cssnano-util-get-arguments "^4.0.0-rc.2" + has "^1.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-repeat-style@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.0-rc.2.tgz#c949358201116a20d01975c6e471611a5ddc9083" + dependencies: + cssnano-util-get-arguments "^4.0.0-rc.2" + cssnano-util-get-match "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-string@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-4.0.0-rc.2.tgz#924f2a98bf9b44d40591434acf8f31b71a977606" + dependencies: + has "^1.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-timing-functions@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.0-rc.2.tgz#a03474b4ddc4a1278ec276557105cf552fa501f0" + dependencies: + cssnano-util-get-match "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-unicode@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.0-rc.2.tgz#953650b1449ec23da462fa45570435c43bed9dd6" + dependencies: + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-normalize-url@^3.0.7: version "3.0.8" resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz#108f74b3f2fcdaf891a2ffa3ea4592279fc78222" @@ -6649,6 +6880,22 @@ postcss-normalize-url@^3.0.7: postcss "^5.0.14" postcss-value-parser "^3.2.3" +postcss-normalize-url@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-4.0.0-rc.2.tgz#3ccad023b8e30ff434546a6e4b7baab1fa112c42" + dependencies: + is-absolute-url "^2.0.0" + normalize-url "^1.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + +postcss-normalize-whitespace@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.0-rc.2.tgz#d8df79a51bab0003d009226be0cb1af87f308f43" + dependencies: + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-ordered-values@^2.1.0: version "2.2.3" resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz#eec6c2a67b6c412a8db2042e77fe8da43f95c11d" @@ -6656,6 +6903,14 @@ postcss-ordered-values@^2.1.0: postcss "^5.0.4" postcss-value-parser "^3.0.1" +postcss-ordered-values@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-4.0.0-rc.2.tgz#7894a80b65be50c9361128087b48ea6e7a1db8bf" + dependencies: + cssnano-util-get-arguments "^4.0.0-rc.2" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-pseudo-class-any-link@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-4.0.0.tgz#9152a0613d3450720513e8892854bae42d0ee68e" @@ -6682,6 +6937,15 @@ postcss-reduce-initial@^1.0.0: dependencies: postcss "^5.0.4" +postcss-reduce-initial@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-4.0.0-rc.2.tgz#ab2e1cca7903745a77b99630445c939152e0cd62" + dependencies: + browserslist "^2.0.0" + caniuse-api "^2.0.0" + has "^1.0.0" + postcss "^6.0.0" + postcss-reduce-transforms@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz#ff76f4d8212437b31c298a42d2e1444025771ae1" @@ -6690,6 +6954,15 @@ postcss-reduce-transforms@^1.0.3: postcss "^5.0.8" postcss-value-parser "^3.0.1" +postcss-reduce-transforms@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.0-rc.2.tgz#1c92610e9c595edd367a0988d64f59c371fe66d1" + dependencies: + cssnano-util-get-match "^4.0.0-rc.2" + has "^1.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + postcss-replace-overflow-wrap@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-2.0.0.tgz#794db6faa54f8db100854392a93af45768b4e25b" @@ -6752,6 +7025,14 @@ postcss-selector-parser@^2.0.0, postcss-selector-parser@^2.1.1, postcss-selector indexes-of "^1.0.1" uniq "^1.0.1" +postcss-selector-parser@^3.0.0-rc.0: + version "3.0.0-rc.0" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-3.0.0-rc.0.tgz#dfb74f1cf3bc043d5692e37203170ac2da40a150" + dependencies: + dot-prop "^4.1.1" + indexes-of "^1.0.1" + uniq "^1.0.1" + postcss-sorting@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/postcss-sorting/-/postcss-sorting-1.7.0.tgz#69b92db051ed4181c5b8c585ee8b8c5f40915a82" @@ -6768,6 +7049,15 @@ postcss-svgo@^2.1.1: postcss-value-parser "^3.2.3" svgo "^0.7.0" +postcss-svgo@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-4.0.0-rc.2.tgz#c9a650e895bf6fcf517612d26331190ad696f30f" + dependencies: + is-svg "^2.0.0" + postcss "^6.0.0" + postcss-value-parser "^3.0.0" + svgo "^0.7.0" + postcss-unique-selectors@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz#981d57d29ddcb33e7b1dfe1fd43b8649f933ca1d" @@ -6776,7 +7066,15 @@ postcss-unique-selectors@^2.0.2: postcss "^5.0.4" uniqs "^2.0.0" -postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: +postcss-unique-selectors@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-4.0.0-rc.2.tgz#bb7773d522748bd87595248739ee045bed6f280b" + dependencies: + alphanum-sort "^1.0.0" + postcss "^6.0.0" + uniqs "^2.0.0" + +postcss-value-parser@^3.0.0, postcss-value-parser@^3.0.1, postcss-value-parser@^3.0.2, postcss-value-parser@^3.1.1, postcss-value-parser@^3.1.2, postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz#87f38f9f18f774a4ab4c8a232f5c5ce8872a9d15" @@ -7302,7 +7600,7 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-file-stdin@^0.2.1: +read-file-stdin@^0.2.0, read-file-stdin@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/read-file-stdin/-/read-file-stdin-0.2.1.tgz#25eccff3a153b6809afacb23ee15387db9e0ee61" dependencies: @@ -7771,10 +8069,18 @@ rgb-hex@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/rgb-hex/-/rgb-hex-2.1.0.tgz#c773c5fe2268a25578d92539a82a7a5ce53beda6" +rgb-regex@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" + rgb@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/rgb/-/rgb-0.1.0.tgz#be27b291e8feffeac1bd99729721bfa40fc037b5" +rgba-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" + right-align@^0.1.1: version "0.1.3" resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" @@ -8472,6 +8778,14 @@ stylehacks@^2.3.0, stylehacks@^2.3.2: text-table "^0.2.0" write-file-stdout "0.0.2" +stylehacks@^4.0.0-rc.2: + version "4.0.0-rc.2" + resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-4.0.0-rc.2.tgz#6626611341fd09fcdf0d87042306483f22949a2f" + dependencies: + browserslist "^2.0.0" + postcss "^6.0.0" + postcss-selector-parser "^3.0.0-rc.0" + stylelint-config-css-modules@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/stylelint-config-css-modules/-/stylelint-config-css-modules-0.1.0.tgz#6fc47c31836caad878e8daabde2b675899c2f4b6" @@ -8771,6 +9085,10 @@ timers-browserify@^2.0.2: dependencies: setimmediate "^1.0.4" +timsort@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" + tmp@0.0.30: version "0.0.30" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.30.tgz#72419d4a8be7d6ce75148fd8b324e593a711c2ed"