@seamapi/react 2.4.0 → 2.5.1

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 (51) hide show
  1. package/README.md +1 -1
  2. package/dist/elements.js +3759 -3725
  3. package/dist/elements.js.map +1 -1
  4. package/dist/index.css +39 -11
  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/seam/components/AccessCodeTable/AccessCodeMainIcon.d.ts +6 -0
  9. package/lib/seam/components/AccessCodeTable/AccessCodeMainIcon.js +27 -0
  10. package/lib/seam/components/AccessCodeTable/AccessCodeMainIcon.js.map +1 -0
  11. package/lib/seam/components/AccessCodeTable/AccessCodeRow.js +2 -2
  12. package/lib/seam/components/AccessCodeTable/AccessCodeRow.js.map +1 -1
  13. package/lib/seam/components/AccessCodeTable/CodeDetails.js +1 -1
  14. package/lib/seam/components/AccessCodeTable/CodeDetails.js.map +1 -1
  15. package/lib/seam/components/DeviceDetails/ThermostatDeviceDetails.js +24 -18
  16. package/lib/seam/components/DeviceDetails/ThermostatDeviceDetails.js.map +1 -1
  17. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js +0 -5
  18. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js.map +1 -1
  19. package/lib/seam/thermostats/use-cool-thermostat.d.ts +6 -0
  20. package/lib/seam/thermostats/use-cool-thermostat.js +50 -0
  21. package/lib/seam/thermostats/use-cool-thermostat.js.map +1 -0
  22. package/lib/seam/thermostats/use-heat-cool-thermostat.d.ts +6 -0
  23. package/lib/seam/thermostats/use-heat-cool-thermostat.js +45 -0
  24. package/lib/seam/thermostats/use-heat-cool-thermostat.js.map +1 -0
  25. package/lib/seam/thermostats/use-heat-thermostat.d.ts +6 -0
  26. package/lib/seam/thermostats/use-heat-thermostat.js +50 -0
  27. package/lib/seam/thermostats/use-heat-thermostat.js.map +1 -0
  28. package/lib/seam/thermostats/use-set-thermostat-off.d.ts +6 -0
  29. package/lib/seam/thermostats/use-set-thermostat-off.js +48 -0
  30. package/lib/seam/thermostats/use-set-thermostat-off.js.map +1 -0
  31. package/lib/version.d.ts +1 -1
  32. package/lib/version.js +1 -1
  33. package/package.json +2 -2
  34. package/src/lib/seam/components/AccessCodeTable/AccessCodeMainIcon.tsx +65 -0
  35. package/src/lib/seam/components/AccessCodeTable/AccessCodeRow.tsx +10 -6
  36. package/src/lib/seam/components/AccessCodeTable/CodeDetails.tsx +2 -1
  37. package/src/lib/seam/components/DeviceDetails/ThermostatDeviceDetails.tsx +56 -44
  38. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.tsx +0 -16
  39. package/src/lib/seam/thermostats/use-cool-thermostat.ts +90 -0
  40. package/src/lib/seam/thermostats/use-heat-cool-thermostat.ts +83 -0
  41. package/src/lib/seam/thermostats/use-heat-thermostat.ts +90 -0
  42. package/src/lib/seam/thermostats/use-set-thermostat-off.ts +83 -0
  43. package/src/lib/version.ts +1 -1
  44. package/src/styles/_main.scss +2 -0
  45. package/src/styles/_seam-table.scss +18 -3
  46. package/src/styles/_supported-device-table.scss +0 -12
  47. package/src/styles/_visibility.scss +25 -0
  48. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRow.d.ts +0 -8
  49. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRow.js +0 -10
  50. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRow.js.map +0 -1
  51. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterResultRow.tsx +0 -47
package/README.md CHANGED
@@ -87,7 +87,7 @@ export function App() {
87
87
  <seam-device-table publishable-key="your_publishable_key"></seam-device-table>
88
88
  <script
89
89
  type="module"
90
- src="https://react.seam.co/v/2.4.0/dist/elements.js"
90
+ src="https://react.seam.co/v/2.5.1/dist/elements.js"
91
91
  ></script>
92
92
  </body>
93
93
  ```