@seamapi/react 1.17.0 → 1.18.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 +2 -4
- package/dist/elements.js +3220 -3200
- package/dist/elements.js.map +1 -1
- package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js +11 -7
- package/lib/seam/components/AccessCodeDetails/AccessCodeDevice.js.map +1 -1
- package/lib/seam/components/AccessCodeTable/AccessCodeTable.js +2 -2
- package/lib/seam/components/AccessCodeTable/AccessCodeTable.js.map +1 -1
- package/lib/seam/components/DeviceDetails/DeviceDetails.js +6 -69
- package/lib/seam/components/DeviceDetails/DeviceDetails.js.map +1 -1
- package/lib/seam/components/DeviceDetails/DeviceModel.d.ts +2 -3
- package/lib/seam/components/DeviceDetails/DeviceModel.js +1 -11
- package/lib/seam/components/DeviceDetails/DeviceModel.js.map +1 -1
- package/lib/seam/components/DeviceDetails/LockDeviceDetails.d.ts +7 -0
- package/lib/seam/components/DeviceDetails/LockDeviceDetails.js +68 -0
- package/lib/seam/components/DeviceDetails/LockDeviceDetails.js.map +1 -0
- package/lib/seam/components/DeviceTable/DeviceRow.js +1 -12
- package/lib/seam/components/DeviceTable/DeviceRow.js.map +1 -1
- package/lib/seam/components/DeviceTable/DeviceTable.js +4 -3
- package/lib/seam/components/DeviceTable/DeviceTable.js.map +1 -1
- package/lib/seam/devices/use-device.d.ts +2 -2
- package/lib/seam/devices/use-device.js.map +1 -1
- package/lib/seam/devices/use-devices.d.ts +2 -2
- package/lib/seam/devices/use-devices.js.map +1 -1
- package/lib/seam/devices/use-toggle-lock.d.ts +1 -1
- package/lib/seam/devices/use-toggle-lock.js +1 -1
- package/lib/seam/devices/use-toggle-lock.js.map +1 -1
- package/lib/ui/device/BatteryStatus.d.ts +2 -2
- package/lib/ui/device/BatteryStatus.js +9 -15
- package/lib/ui/device/BatteryStatus.js.map +1 -1
- package/lib/ui/device/DeviceImage.d.ts +2 -2
- package/lib/ui/device/DeviceImage.js.map +1 -1
- package/lib/ui/device/LockStatus.d.ts +3 -3
- package/lib/ui/device/LockStatus.js +4 -0
- package/lib/ui/device/LockStatus.js.map +1 -1
- package/lib/ui/device/OnlineStatus.d.ts +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/components/AccessCodeDetails/AccessCodeDevice.tsx +13 -8
- package/src/lib/seam/components/AccessCodeTable/AccessCodeTable.tsx +2 -2
- package/src/lib/seam/components/DeviceDetails/DeviceDetails.tsx +7 -153
- package/src/lib/seam/components/DeviceDetails/DeviceModel.tsx +5 -19
- package/src/lib/seam/components/DeviceDetails/LockDeviceDetails.tsx +158 -0
- package/src/lib/seam/components/DeviceTable/DeviceRow.tsx +3 -15
- package/src/lib/seam/components/DeviceTable/DeviceTable.tsx +4 -3
- package/src/lib/seam/devices/use-device.ts +2 -3
- package/src/lib/seam/devices/use-devices.ts +2 -3
- package/src/lib/seam/devices/use-toggle-lock.ts +7 -8
- package/src/lib/ui/device/BatteryStatus.tsx +19 -29
- package/src/lib/ui/device/DeviceImage.tsx +4 -2
- package/src/lib/ui/device/LockStatus.tsx +7 -3
- package/src/lib/ui/device/OnlineStatus.tsx +2 -2
- package/src/lib/version.ts +1 -1
- package/lib/seam/devices/types.d.ts +0 -2
- package/lib/seam/devices/types.js +0 -2
- package/lib/seam/devices/types.js.map +0 -1
- package/src/lib/seam/devices/types.ts +0 -5
package/README.md
CHANGED
|
@@ -275,9 +275,6 @@ Edit the seed data for the fake or find relevant ids for testing components here
|
|
|
275
275
|
- [Storybook fake seed](./.storybook/seed-fake.js).
|
|
276
276
|
- [Jest test fake seed](./test/jest/global-setup.cjs).
|
|
277
277
|
|
|
278
|
-
> Note that the Chromatic tests use the fake seed data on the main branch, not the Vercel Preview Deployment.
|
|
279
|
-
> To review UI changes with new seed data, update the seed data on the main branch first.
|
|
280
|
-
|
|
281
278
|
### Previews
|
|
282
279
|
|
|
283
280
|
Every pull request deploys the Storybook with the examples
|
|
@@ -355,10 +352,11 @@ The following repository secrets must be set on [GitHub Actions]:
|
|
|
355
352
|
- `GIT_USER_EMAIL`: The GitHub bot user's email.
|
|
356
353
|
- `GPG_PRIVATE_KEY`: The GitHub bot user's [GPG private key].
|
|
357
354
|
- `GPG_PASSPHRASE`: The GitHub bot user's GPG passphrase.
|
|
358
|
-
- `
|
|
355
|
+
- `VERCEL_ACCESS_TOKEN`: The Vercel project token.
|
|
359
356
|
|
|
360
357
|
The following repository variables must be set on [GitHub Actions]:
|
|
361
358
|
|
|
359
|
+
- `VERCEL_TEAM_ID`: The Vercel team id.
|
|
362
360
|
- `STORYBOOK_SEAM_ENDPOINT`: The Seam endpoint to use with Storybook.
|
|
363
361
|
- `STORYBOOK_SEAM_PUBLISHABLE_KEY`: The Seam publishable key to use with Storybook.
|
|
364
362
|
- `STORYBOOK_SEAM_USER_IDENTIFIER_KEY`: The Seam user identifer key to use with Storybook.
|