Rename tag selector JSX files

Might as well stick to camel case for filenames
This commit is contained in:
Dan Stillman 2019-10-28 05:36:23 -04:00
parent b3d185c0ae
commit 046637d76b
6 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
const React = require('react'); const React = require('react');
const PropTypes = require('prop-types'); const PropTypes = require('prop-types');
const TagList = require('./tag-selector/tag-list'); const TagList = require('./tagSelector/tagSelectorList');
const { Button } = require('./button'); const { Button } = require('./button');
const { IconTagSelectorMenu } = require('./icons'); const { IconTagSelectorMenu } = require('./icons');
const Search = require('./search'); const Search = require('./search');

View file

@ -29,5 +29,5 @@
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://zotero/content/include.js"></script> <script src="chrome://zotero/content/include.js"></script>
<script src="tagSelector.js"></script> <script src="tagSelectorContainer.js"></script>
</overlay> </overlay>

View file

@ -7,7 +7,7 @@ const React = require('react');
const ReactDOM = require('react-dom'); const ReactDOM = require('react-dom');
const PropTypes = require('prop-types'); const PropTypes = require('prop-types');
const { IntlProvider } = require('react-intl'); const { IntlProvider } = require('react-intl');
const TagSelector = require('components/tag-selector.js'); const TagSelector = require('components/tagSelector.js');
const defaults = { const defaults = {
tagColors: new Map(), tagColors: new Map(),
tags: [], tags: [],

View file

@ -23,4 +23,4 @@
@import "components/button"; @import "components/button";
@import "components/icons"; @import "components/icons";
@import "components/search"; @import "components/search";
@import "components/tag-selector"; @import "components/tagSelector";

View file

@ -74,7 +74,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: pre; white-space: pre;
padding: 1px 4px 3px; // See also tag-list.jsx padding: 1px 4px 3px; // See also TagSelectorList.jsx
&.colored { &.colored {
font-weight: bold; font-weight: bold;