@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.
Files changed (62) hide show
  1. package/README.md +15 -4
  2. package/dist/elements.js +3624 -3588
  3. package/dist/elements.js.map +1 -1
  4. package/dist/index.css +65 -0
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.min.css.map +1 -1
  8. package/lib/icons/Info.d.ts +2 -0
  9. package/lib/icons/Info.js +7 -0
  10. package/lib/icons/Info.js.map +1 -0
  11. package/lib/icons/InfoDark.d.ts +2 -0
  12. package/lib/icons/InfoDark.js +7 -0
  13. package/lib/icons/InfoDark.js.map +1 -0
  14. package/lib/seam/components/AccessCodeDetails/AccessCodeDetails.js.map +1 -1
  15. package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js +1 -1
  16. package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js.map +1 -1
  17. package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.d.ts +6 -1
  18. package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js +21 -4
  19. package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js.map +1 -1
  20. package/lib/seam/components/DeviceDetails/DeviceModel.js +2 -2
  21. package/lib/seam/components/DeviceDetails/DeviceModel.js.map +1 -1
  22. package/lib/seam/components/DeviceTable/DeviceRow.js +2 -2
  23. package/lib/seam/components/DeviceTable/DeviceRow.js.map +1 -1
  24. package/lib/seam/components/DeviceTable/DeviceTable.js +2 -2
  25. package/lib/seam/components/DeviceTable/DeviceTable.js.map +1 -1
  26. package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.d.ts +5 -0
  27. package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.js +24 -0
  28. package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.js.map +1 -0
  29. package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.js +1 -0
  30. package/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.js.map +1 -1
  31. package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.d.ts +5 -0
  32. package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.js +21 -0
  33. package/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.js.map +1 -0
  34. package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.d.ts +5 -0
  35. package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.js +27 -0
  36. package/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.js.map +1 -0
  37. package/lib/ui/Tooltip/Tooltip.d.ts +2 -0
  38. package/lib/ui/Tooltip/Tooltip.js +33 -0
  39. package/lib/ui/Tooltip/Tooltip.js.map +1 -0
  40. package/lib/ui/thermostat/ClimateSettingStatus.js +10 -3
  41. package/lib/ui/thermostat/ClimateSettingStatus.js.map +1 -1
  42. package/lib/version.d.ts +1 -1
  43. package/lib/version.js +1 -1
  44. package/package.json +4 -4
  45. package/src/lib/icons/Info.tsx +36 -0
  46. package/src/lib/icons/InfoDark.tsx +37 -0
  47. package/src/lib/seam/components/AccessCodeDetails/AccessCodeDetails.tsx +0 -2
  48. package/src/lib/seam/components/AccessCodeDetails/AccessCodeDevice.tsx +1 -1
  49. package/src/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.element.ts +4 -0
  50. package/src/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.tsx +59 -6
  51. package/src/lib/seam/components/DeviceDetails/DeviceModel.tsx +1 -0
  52. package/src/lib/seam/components/DeviceTable/DeviceRow.tsx +1 -0
  53. package/src/lib/seam/components/DeviceTable/DeviceTable.tsx +2 -2
  54. package/src/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedule.ts +47 -0
  55. package/src/lib/seam/thermostats/climate-setting-schedules/use-climate-setting-schedules.ts +1 -0
  56. package/src/lib/seam/thermostats/climate-setting-schedules/use-create-climate-setting-schedule.ts +48 -0
  57. package/src/lib/seam/thermostats/climate-setting-schedules/use-delete-climate-setting-schedule.ts +53 -0
  58. package/src/lib/ui/Tooltip/Tooltip.tsx +64 -0
  59. package/src/lib/ui/thermostat/ClimateSettingStatus.tsx +12 -10
  60. package/src/lib/version.ts +1 -1
  61. package/src/styles/_main.scss +2 -0
  62. 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 with Client Side Components](https://docs.seam.co/latest/seam-components/get-started-with-client-side-components).
21
- - [Get started with React and Client Session Tokens](https://docs.seam.co/latest/seam-components/get-started-with-react-components-and-client-session-tokens).
22
- - [Make a Supported Devices Page with React](https://docs.seam.co/latest/seam-components/make-a-supported-devices-page-with-react).
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.46.4/dist/elements.js"
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.