@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.4.38",
3
+ "version": "0.4.39",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -9,13 +9,13 @@ import ArrayCombo from './ArrayCombo.js';
9
9
  import {
10
10
  METER_TYPES__HOURS,
11
11
  METER_TYPES__MILES,
12
- } from '../../../../constants/MeterTypes.js';
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 MeterTypeCombo(props) {
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 MeterTypeCombo;
27
+ export default MeterTypesCombo;
@@ -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 MeterTypeCombo from './Form/Field/Combo/MeterTypeCombo.js';
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
- MeterTypeCombo,
464
+ MeterTypesCombo,
465
465
  MeterTypeText,
466
466
  MonthsCombo,
467
467
  Number,