@seamapi/react 1.7.0 → 1.8.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 (27) hide show
  1. package/README.md +11 -0
  2. package/dist/elements.js +1249 -1226
  3. package/dist/elements.js.map +1 -1
  4. package/lib/seam/components/AccessCodeDetails/AccessCodeDetails.d.ts +2 -1
  5. package/lib/seam/components/AccessCodeDetails/AccessCodeDetails.js +4 -3
  6. package/lib/seam/components/AccessCodeDetails/AccessCodeDetails.js.map +1 -1
  7. package/lib/seam/components/AccessCodeTable/AccessCodeTable.d.ts +2 -1
  8. package/lib/seam/components/AccessCodeTable/AccessCodeTable.js +5 -5
  9. package/lib/seam/components/AccessCodeTable/AccessCodeTable.js.map +1 -1
  10. package/lib/seam/components/DeviceDetails/DeviceDetails.d.ts +2 -1
  11. package/lib/seam/components/DeviceDetails/DeviceDetails.js +6 -6
  12. package/lib/seam/components/DeviceDetails/DeviceDetails.js.map +1 -1
  13. package/lib/seam/components/DeviceTable/DeviceTable.d.ts +2 -1
  14. package/lib/seam/components/DeviceTable/DeviceTable.js +7 -6
  15. package/lib/seam/components/DeviceTable/DeviceTable.js.map +1 -1
  16. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.d.ts +2 -1
  17. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.js +3 -2
  18. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.js.map +1 -1
  19. package/lib/version.d.ts +1 -1
  20. package/lib/version.js +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/seam/components/AccessCodeDetails/AccessCodeDetails.tsx +5 -1
  23. package/src/lib/seam/components/AccessCodeTable/AccessCodeTable.tsx +10 -6
  24. package/src/lib/seam/components/DeviceDetails/DeviceDetails.tsx +14 -6
  25. package/src/lib/seam/components/DeviceTable/DeviceTable.tsx +8 -5
  26. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.tsx +9 -1
  27. package/src/lib/version.ts +1 -1
package/README.md CHANGED
@@ -74,6 +74,17 @@ or place the following in the `<head>` tag:
74
74
  <link rel="stylesheet" href="https://react.seam.co/v/1.0.0/index.min.css" />
75
75
  ```
76
76
 
77
+ #### Customizing Styles
78
+
79
+ > The `seam-` prefixed CSS class names are not part of the stable API and may change unexpectedly.
80
+
81
+ Each component accepts a `className` prop.
82
+ The class name will be set on the top level container, or if a sub-component is rendered, passed though.
83
+ This makes them compatible with native CSS and most CSS-in-JS systems, e.g., [Emotion] and [styled-components].
84
+
85
+ [Emotion]: https://emotion.sh/
86
+ [styled-components]: https://styled-components.com/
87
+
77
88
  ### Fonts
78
89
 
79
90
  > Fonts are automatically included unless using `<SeamProvider disableFontInjection />`.