mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Moved tag helper components from utils to tags/helpers folder
This commit is contained in:
parent
fd57d70a0b
commit
b454810357
11 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@ import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { Collapse } from 'reactstrap';
|
import { Collapse } from 'reactstrap';
|
||||||
import DateInput from '../common/DateInput';
|
import DateInput from '../common/DateInput';
|
||||||
import TagsSelector from '../utils/TagsSelector';
|
import TagsSelector from '../tags/helpers/TagsSelector';
|
||||||
import CreateShortUrlResult from './helpers/CreateShortUrlResult';
|
import CreateShortUrlResult from './helpers/CreateShortUrlResult';
|
||||||
import { createShortUrl, resetCreateShortUrl } from './reducers/shortUrlCreationResult';
|
import { createShortUrl, resetCreateShortUrl } from './reducers/shortUrlCreationResult';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { isEmpty, pick } from 'ramda';
|
import { isEmpty, pick } from 'ramda';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Tag from '../utils/Tag';
|
import Tag from '../tags/helpers/Tag';
|
||||||
import SearchField from '../utils/SearchField';
|
import SearchField from '../utils/SearchField';
|
||||||
import { listShortUrls } from './reducers/shortUrlsList';
|
import { listShortUrls } from './reducers/shortUrlsList';
|
||||||
import './SearchBar.scss';
|
import './SearchBar.scss';
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { connect } from 'react-redux';
|
||||||
import { Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';
|
import { Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { pick } from 'ramda';
|
import { pick } from 'ramda';
|
||||||
import TagsSelector from '../../utils/TagsSelector';
|
import TagsSelector from '../../tags/helpers/TagsSelector';
|
||||||
import {
|
import {
|
||||||
editShortUrlTags,
|
editShortUrlTags,
|
||||||
resetShortUrlsTags,
|
resetShortUrlsTags,
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { isEmpty } from 'ramda';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Moment from 'react-moment';
|
import Moment from 'react-moment';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Tag from '../../utils/Tag';
|
import Tag from '../../tags/helpers/Tag';
|
||||||
import { shortUrlsListParamsType } from '../reducers/shortUrlsListParams';
|
import { shortUrlsListParamsType } from '../reducers/shortUrlsListParams';
|
||||||
import { serverType } from '../../servers/prop-types';
|
import { serverType } from '../../servers/prop-types';
|
||||||
import ExternalLink from '../../utils/ExternalLink';
|
import ExternalLink from '../../utils/ExternalLink';
|
||||||
|
|
|
@ -5,7 +5,7 @@ import editIcon from '@fortawesome/fontawesome-free-solid/faPencilAlt';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import TagBullet from '../utils/TagBullet';
|
import TagBullet from './helpers/TagBullet';
|
||||||
import './TagCard.scss';
|
import './TagCard.scss';
|
||||||
import DeleteTagConfirmModal from './helpers/DeleteTagConfirmModal';
|
import DeleteTagConfirmModal from './helpers/DeleteTagConfirmModal';
|
||||||
import EditTagModal from './helpers/EditTagModal';
|
import EditTagModal from './helpers/EditTagModal';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import colorGenerator, { colorGeneratorType } from '../utils/ColorGenerator';
|
import colorGenerator, { colorGeneratorType } from '../../utils/ColorGenerator';
|
||||||
import './Tag.scss';
|
import './Tag.scss';
|
||||||
|
|
||||||
const propTypes = {
|
const propTypes = {
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import * as PropTypes from 'prop-types';
|
import * as PropTypes from 'prop-types';
|
||||||
import colorGenerator, { colorGeneratorType } from './ColorGenerator';
|
import colorGenerator, { colorGeneratorType } from '../../utils/ColorGenerator';
|
||||||
import './TagBullet.scss';
|
import './TagBullet.scss';
|
||||||
|
|
||||||
const propTypes = {
|
const propTypes = {
|
|
@ -4,8 +4,8 @@ import TagsInput from 'react-tagsinput';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Autosuggest from 'react-autosuggest';
|
import Autosuggest from 'react-autosuggest';
|
||||||
import { pick, identity } from 'ramda';
|
import { pick, identity } from 'ramda';
|
||||||
import { listTags } from '../tags/reducers/tagsList';
|
import { listTags } from '../reducers/tagsList';
|
||||||
import colorGenerator, { colorGeneratorType } from './ColorGenerator';
|
import colorGenerator, { colorGeneratorType } from '../../utils/ColorGenerator';
|
||||||
import './TagsSelector.scss';
|
import './TagsSelector.scss';
|
||||||
import TagBullet from './TagBullet';
|
import TagBullet from './TagBullet';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import './base';
|
@import '../../utils/base';
|
||||||
|
|
||||||
.react-autosuggest__suggestions-list {
|
.react-autosuggest__suggestions-list {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
Loading…
Reference in a new issue