@onehat/ui 0.4.38 → 0.4.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -9,13 +9,13 @@ import ArrayCombo from './ArrayCombo.js';
|
|
|
9
9
|
import {
|
|
10
10
|
METER_TYPES__HOURS,
|
|
11
11
|
METER_TYPES__MILES,
|
|
12
|
-
} from '../../../../
|
|
12
|
+
} from '../../../../Constants/MeterTypes.js';
|
|
13
13
|
|
|
14
14
|
const data = [
|
|
15
15
|
[METER_TYPES__HOURS, 'Hours'],
|
|
16
16
|
[METER_TYPES__MILES, 'Miles'],
|
|
17
17
|
];
|
|
18
|
-
function
|
|
18
|
+
function MeterTypesCombo(props) {
|
|
19
19
|
return <ArrayCombo
|
|
20
20
|
reference="MeterTypeCombo"
|
|
21
21
|
data={data}
|
|
@@ -24,4 +24,4 @@ function MeterTypeCombo(props) {
|
|
|
24
24
|
/>;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export default
|
|
27
|
+
export default MeterTypesCombo;
|
package/src/Components/index.js
CHANGED
|
@@ -218,7 +218,7 @@ import Input from './Form/Field/Input.js';
|
|
|
218
218
|
import IntervalsCombo from './Form/Field/Combo/IntervalsCombo.js';
|
|
219
219
|
import Json from './Form/Field/Json.js';
|
|
220
220
|
import Label from './Form/Label.js';
|
|
221
|
-
import
|
|
221
|
+
import MeterTypesCombo from './Form/Field/Combo/MeterTypesCombo.js';
|
|
222
222
|
import MeterTypeText from './Viewer/MeterTypeText.js';
|
|
223
223
|
import MonthsCombo from './Form/Field/Combo/MonthsCombo.js';
|
|
224
224
|
import Number from './Form/Field/Number.js';
|
|
@@ -461,7 +461,7 @@ const components = {
|
|
|
461
461
|
IntervalsCombo,
|
|
462
462
|
Json,
|
|
463
463
|
Label,
|
|
464
|
-
|
|
464
|
+
MeterTypesCombo,
|
|
465
465
|
MeterTypeText,
|
|
466
466
|
MonthsCombo,
|
|
467
467
|
Number,
|