From 4aa9df1427b6aabbe41df64ebb82640dace5bde5 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 23 Feb 2022 09:22:57 +0100 Subject: [PATCH] move number range to data components --- .../number-range-data-entry.css | 0 .../number-range-data-entry.tsx | 7 +++---- .../data-containers/dynamics/dynamics-data-entry.tsx | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) rename app/src/frontend/building/{data-containers/dynamics => data-components}/number-range-data-entry.css (100%) rename app/src/frontend/building/{data-containers/dynamics => data-components}/number-range-data-entry.tsx (94%) diff --git a/app/src/frontend/building/data-containers/dynamics/number-range-data-entry.css b/app/src/frontend/building/data-components/number-range-data-entry.css similarity index 100% rename from app/src/frontend/building/data-containers/dynamics/number-range-data-entry.css rename to app/src/frontend/building/data-components/number-range-data-entry.css diff --git a/app/src/frontend/building/data-containers/dynamics/number-range-data-entry.tsx b/app/src/frontend/building/data-components/number-range-data-entry.tsx similarity index 94% rename from app/src/frontend/building/data-containers/dynamics/number-range-data-entry.tsx rename to app/src/frontend/building/data-components/number-range-data-entry.tsx index b6fbe83f..5f87c46a 100644 --- a/app/src/frontend/building/data-containers/dynamics/number-range-data-entry.tsx +++ b/app/src/frontend/building/data-components/number-range-data-entry.tsx @@ -1,9 +1,8 @@ import React, { useCallback, useState } from 'react'; -import { BaseDataEntryProps } from '../../data-components/data-entry'; -import { DataTitleCopyable } from '../../data-components/data-title'; -import { FieldRow } from '../../data-components/field-row'; - +import { BaseDataEntryProps } from './data-entry'; +import { DataTitleCopyable } from './data-title'; +import { FieldRow } from './field-row'; import './number-range-data-entry.css'; interface NumberRangeDataEntryProps extends BaseDataEntryProps { diff --git a/app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx b/app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx index 8383040d..4f33dc10 100644 --- a/app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx +++ b/app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx @@ -7,7 +7,7 @@ import DataEntry, { BaseDataEntryProps } from '../../data-components/data-entry' import { dataFields } from '../../../config/data-fields-config'; import SelectDataEntry from '../../data-components/select-data-entry'; import { MultiDataEntry } from '../../data-components/multi-data-entry/multi-data-entry'; -import { NumberRangeDataEntry } from './number-range-data-entry'; +import { NumberRangeDataEntry } from '../../data-components/number-range-data-entry'; import './dynamics-data-entry.css'; import { CloseIcon } from '../../../components/icons';