@seamapi/react 1.46.4 → 1.48.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 +15 -4
- package/dist/elements.js +3624 -3588
- package/dist/elements.js.map +1 -1
- package/dist/index.css +65 -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/icons/Info.d.ts +2 -0
- package/lib/icons/Info.js +7 -0
- package/lib/icons/Info.js.map +1 -0
- package/lib/icons/InfoDark.d.ts +2 -0
- package/lib/icons/InfoDark.js +7 -0
- package/lib/icons/InfoDark.js.map +1 -0
- package/lib/seam/components/AccessCodeDetails/AccessCodeDetails.js.map +1 -1
- package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js +1 -1
- package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js.map +1 -1
- package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.d.ts +6 -1
- package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js +21 -4
- package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js.map +1 -1
- package/lib/seam/components/DeviceDetails/DeviceModel.js +2 -2
- package/lib/seam/components/DeviceDetails/DeviceModel.js.map +1 -1
- package/lib/seam/components/DeviceTable/DeviceRow.js +2 -2
- package/lib/seam/components/DeviceTable/DeviceRow.js.map +1 -1
- package/lib/seam/components/DeviceTable/DeviceTable.js +2 -2
- package/lib/seam/components/DeviceTable/DeviceTable.js.map +1 -1
- package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.d.ts +5 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.js +24 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.js.map +1 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.js +1 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.js.map +1 -1
- package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.d.ts +5 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.js +21 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.js.map +1 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.d.ts +5 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.js +27 -0
- package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.js.map +1 -0
- package/lib/ui/Tooltip/Tooltip.d.ts +2 -0
- package/lib/ui/Tooltip/Tooltip.js +33 -0
- package/lib/ui/Tooltip/Tooltip.js.map +1 -0
- package/lib/ui/thermostat/ClimateSettingStatus.js +10 -3
- package/lib/ui/thermostat/ClimateSettingStatus.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/src/lib/icons/Info.tsx +36 -0
- package/src/lib/icons/InfoDark.tsx +37 -0
- package/src/lib/seam/components/AccessCodeDetails/AccessCodeDetails.tsx +0 -2
- package/src/lib/seam/components/AccessCodeDetails/AccessCodeDevice.tsx +1 -1
- package/src/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.element.ts +4 -0
- package/src/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.tsx +59 -6
- package/src/lib/seam/components/DeviceDetails/DeviceModel.tsx +1 -0
- package/src/lib/seam/components/DeviceTable/DeviceRow.tsx +1 -0
- package/src/lib/seam/components/DeviceTable/DeviceTable.tsx +2 -2
- package/src/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.ts +47 -0
- package/src/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.ts +1 -0
- package/src/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.ts +48 -0
- package/src/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.ts +53 -0
- package/src/lib/ui/Tooltip/Tooltip.tsx +64 -0
- package/src/lib/ui/thermostat/ClimateSettingStatus.tsx +12 -10
- package/src/lib/version.ts +1 -1
- package/src/styles/_main.scss +2 -0
- package/src/styles/_tooltip.scss +83 -0
package/README.md
CHANGED
|
@@ -17,13 +17,21 @@ refreshing data, and performing actions.
|
|
|
17
17
|
|
|
18
18
|
- [Seam Components Overview](https://docs.seam.co/latest/seam-components/overview)
|
|
19
19
|
- [Get started with Seam](https://www.seam.co/).
|
|
20
|
-
- [Get started
|
|
21
|
-
- [Get started with
|
|
22
|
-
- [
|
|
20
|
+
- [Get started without needing a backend](https://docs.seam.co/latest/seam-components/get-started-with-client-side-components).
|
|
21
|
+
- [Get started with Angular](https://docs.seam.co/latest/seam-components/overview/angular).
|
|
22
|
+
- [Get started with Vue](https://docs.seam.co/latest/seam-components/overview/vue).
|
|
23
|
+
- [Get started with Client Sessions](https://docs.seam.co/latest/seam-components/get-started-with-react-components-and-client-session-tokens).
|
|
24
|
+
- [Make a Supported Devices Page](https://docs.seam.co/latest/seam-components/make-a-supported-devices-page).
|
|
23
25
|
- Reference the [Component API](https://docs.seam.co/latest/seam-components/react-components).
|
|
24
26
|
- Find developer specific technical documentation in the [README](https://github.com/seamapi/react/).
|
|
25
27
|
- Play with the components live in the interactive [Storybook](https://react.seam.co/)!
|
|
26
28
|
- See how the components work with a real Seam sandbox workspace in this [live example app](https://react.seam.co/examples/basic/).
|
|
29
|
+
- Clone a [sample app in your preferred framework](https://github.com/seamapi/seam-components-sample-apps).
|
|
30
|
+
|
|
31
|
+
### Live Examples
|
|
32
|
+
|
|
33
|
+
- <a href='/examples/basic/'>Basic Example App</a> ([source](https://github.com/seamapi/react/tree/main/examples/basic/))
|
|
34
|
+
- <a href='/examples/web-components/'>Web Components Example App</a> ([source](https://github.com/seamapi/react/tree/main/examples/web-components/))
|
|
27
35
|
|
|
28
36
|
## Installation
|
|
29
37
|
|
|
@@ -78,7 +86,7 @@ export function App() {
|
|
|
78
86
|
<seam-device-table publishable-key="your_publishable_key"></seam-device-table>
|
|
79
87
|
<script
|
|
80
88
|
type="module"
|
|
81
|
-
src="https://react.seam.co/v/1.
|
|
89
|
+
src="https://react.seam.co/v/1.48.0/dist/elements.js"
|
|
82
90
|
></script>
|
|
83
91
|
</body>
|
|
84
92
|
```
|
|
@@ -322,6 +330,9 @@ $ npm run docs:start
|
|
|
322
330
|
|
|
323
331
|
[Chromatic] automates visual and interaction tests for Storybook.
|
|
324
332
|
|
|
333
|
+
The full storybook for the main branch is hosted at
|
|
334
|
+
[storybook.react.seam.co](https://storybook.react.seam.co).
|
|
335
|
+
|
|
325
336
|
On each commit, the full storybook is published to Chromatic for review.
|
|
326
337
|
On pull requests, Chromatic will run UI regressions tests on each commit.
|
|
327
338
|
Chromatic reports results as status checks that link directly to the storybook.
|