@seamapi/react 2.0.1 → 2.1.0
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/README.md +1 -1
- package/dist/elements.js +2580 -2532
- package/dist/elements.js.map +1 -1
- package/dist/index.css +40 -0
- package/dist/index.css.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.min.css.map +1 -1
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.js +10 -2
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.js.map +1 -1
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js +2 -1
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js.map +1 -1
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.d.ts +6 -0
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.js +21 -0
- package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.js.map +1 -0
- package/lib/seam/components/index.d.ts +1 -0
- package/lib/seam/components/index.js +1 -0
- package/lib/seam/components/index.js.map +1 -1
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleForm.d.ts +6 -1
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleForm.js +12 -1
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleForm.js.map +1 -1
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleFormClimateSetting.d.ts +15 -0
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleFormClimateSetting.js +42 -0
- package/lib/ui/ClimateSettingForm/ClimateSettingScheduleFormClimateSetting.js.map +1 -0
- package/lib/ui/thermostat/ClimateSettingControlGroup.d.ts +9 -0
- package/lib/ui/thermostat/ClimateSettingControlGroup.js +8 -0
- package/lib/ui/thermostat/ClimateSettingControlGroup.js.map +1 -0
- package/lib/ui/thermostat/TemperatureControlGroup.d.ts +1 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.tsx +12 -6
- package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.tsx +3 -2
- package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.element.ts +9 -0
- package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.tsx +65 -0
- package/src/lib/seam/components/elements.ts +1 -0
- package/src/lib/seam/components/index.ts +1 -0
- package/src/lib/ui/ClimateSettingForm/ClimateSettingScheduleForm.tsx +30 -2
- package/src/lib/ui/ClimateSettingForm/ClimateSettingScheduleFormClimateSetting.tsx +149 -0
- package/src/lib/ui/thermostat/ClimateSettingControlGroup.tsx +32 -0
- package/src/lib/ui/thermostat/TemperatureControlGroup.tsx +1 -1
- package/src/lib/version.ts +1 -1
- package/src/styles/_climate-setting-schedule-form.scss +24 -0
- package/src/styles/_main.scss +2 -0
- package/src/styles/_supported-device-table-manufacturer-keys.scss +19 -0
- package/src/styles/_thermostat.scss +15 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from 'lib/temperature-bounds.js'
|
|
11
11
|
import { TemperatureControl } from 'lib/ui/thermostat/TemperatureControl.js'
|
|
12
12
|
|
|
13
|
-
interface TemperatureControlGroupProps {
|
|
13
|
+
export interface TemperatureControlGroupProps {
|
|
14
14
|
mode: Exclude<HvacModeSetting, 'off'>
|
|
15
15
|
heatValue: number
|
|
16
16
|
onHeatValueChange: (temperature: number) => void
|
package/src/lib/version.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
.seam-climate-setting-schedule-form {
|
|
5
5
|
@include main;
|
|
6
6
|
@include name-and-schedule;
|
|
7
|
+
@include climate-setting;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
|
|
@@ -55,3 +56,26 @@
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
}
|
|
59
|
+
|
|
60
|
+
@mixin climate-setting {
|
|
61
|
+
.seam-climate-setting-schedule-form-climate-setting {
|
|
62
|
+
.seam-content {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
gap: 16px;
|
|
66
|
+
width: 100%;
|
|
67
|
+
margin-top: 24px;
|
|
68
|
+
margin-bottom: 24px;
|
|
69
|
+
|
|
70
|
+
.seam-label {
|
|
71
|
+
color: colors.$text-gray-2;
|
|
72
|
+
font-size: 14px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.seam-climate-setting-slider-container {
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
package/src/styles/_main.scss
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@use './device-table';
|
|
14
14
|
@use './access-code-details';
|
|
15
15
|
@use './supported-device-table';
|
|
16
|
+
@use './supported-device-table-manufacturer-keys';
|
|
16
17
|
@use './access-code-form';
|
|
17
18
|
@use './input-label';
|
|
18
19
|
@use './form-field';
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
@include climate-setting-schedule-form.all;
|
|
60
61
|
@include alert.all;
|
|
61
62
|
@include supported-device-table.all;
|
|
63
|
+
@include supported-device-table-manufacturer-keys.all;
|
|
62
64
|
@include thermostat.all;
|
|
63
65
|
@include seam-table.all;
|
|
64
66
|
@include climate-setting-schedule-details.all;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@mixin all {
|
|
2
|
+
.supported-device-table-manufacturer-keys {
|
|
3
|
+
font-size: 18px;
|
|
4
|
+
|
|
5
|
+
.seam-manufacturer-key {
|
|
6
|
+
display: table-row;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.seam-manufacturer-key-value {
|
|
10
|
+
display: table-cell;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.seam-copy-button {
|
|
14
|
+
display: table-cell;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
padding-left: 10px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
@use './colors';
|
|
2
2
|
|
|
3
|
+
@mixin climate-setting-control-group {
|
|
4
|
+
.seam-climate-setting-control-group {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
.seam-climate-setting-slider-container {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
3
17
|
@mixin temperature-control-group {
|
|
4
18
|
.seam-temperature-control-group {
|
|
5
19
|
display: flex;
|
|
@@ -690,6 +704,7 @@
|
|
|
690
704
|
}
|
|
691
705
|
|
|
692
706
|
@mixin all {
|
|
707
|
+
@include climate-setting-control-group;
|
|
693
708
|
@include temperature-control-group;
|
|
694
709
|
@include temperature-control;
|
|
695
710
|
@include climate-setting-status;
|