@seamapi/react 4.14.2 → 5.1.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 (191) hide show
  1. package/README.md +111 -3
  2. package/dist/ecosystem.js +45 -0
  3. package/dist/ecosystem.js.map +1 -0
  4. package/dist/elements.js +11464 -11007
  5. package/dist/elements.js.map +1 -1
  6. package/dist/index.css +469 -345
  7. package/dist/index.css.map +1 -1
  8. package/dist/index.min.css +1 -1
  9. package/dist/index.min.css.map +1 -1
  10. package/lib/seam/SeamProvider.d.ts +10 -3
  11. package/lib/seam/SeamProvider.js +5 -3
  12. package/lib/seam/SeamProvider.js.map +1 -1
  13. package/lib/seam/components/CompatibleApps/CompatibleApps.d.ts +26 -0
  14. package/lib/seam/components/CompatibleApps/CompatibleApps.js +126 -0
  15. package/lib/seam/components/CompatibleApps/CompatibleApps.js.map +1 -0
  16. package/lib/seam/components/SupportedDevices/DeviceModelRow.d.ts +8 -0
  17. package/lib/seam/components/SupportedDevices/DeviceModelRow.js +31 -0
  18. package/lib/seam/components/SupportedDevices/DeviceModelRow.js.map +1 -0
  19. package/lib/seam/components/SupportedDevices/FilterSelect.d.ts +12 -0
  20. package/lib/seam/components/SupportedDevices/FilterSelect.js +9 -0
  21. package/lib/seam/components/SupportedDevices/FilterSelect.js.map +1 -0
  22. package/lib/seam/components/SupportedDevices/ManufacturerSection.d.ts +10 -0
  23. package/lib/seam/components/SupportedDevices/ManufacturerSection.js +35 -0
  24. package/lib/seam/components/SupportedDevices/ManufacturerSection.js.map +1 -0
  25. package/lib/seam/components/SupportedDevices/SupportedDevices.d.ts +24 -0
  26. package/lib/seam/components/SupportedDevices/SupportedDevices.js +151 -0
  27. package/lib/seam/components/SupportedDevices/SupportedDevices.js.map +1 -0
  28. package/lib/seam/components/SupportedDevices/device-models.d.ts +47 -0
  29. package/lib/seam/components/SupportedDevices/device-models.js +217 -0
  30. package/lib/seam/components/SupportedDevices/device-models.js.map +1 -0
  31. package/lib/seam/components/index.d.ts +2 -2
  32. package/lib/seam/components/index.js +2 -2
  33. package/lib/seam/components/index.js.map +1 -1
  34. package/lib/seam/ecosystem/EcosystemProvider.d.ts +37 -0
  35. package/lib/seam/ecosystem/EcosystemProvider.js +56 -0
  36. package/lib/seam/ecosystem/EcosystemProvider.js.map +1 -0
  37. package/lib/seam/ecosystem/client.d.ts +28 -0
  38. package/lib/seam/ecosystem/client.js +74 -0
  39. package/lib/seam/ecosystem/client.js.map +1 -0
  40. package/lib/seam/ecosystem/index.d.ts +9 -0
  41. package/lib/seam/ecosystem/index.js +8 -0
  42. package/lib/seam/ecosystem/index.js.map +1 -0
  43. package/lib/seam/ecosystem/types.d.ts +253 -0
  44. package/lib/seam/ecosystem/types.js +10 -0
  45. package/lib/seam/ecosystem/types.js.map +1 -0
  46. package/lib/seam/ecosystem/use-compatible-partners.d.ts +21 -0
  47. package/lib/seam/ecosystem/use-compatible-partners.js +36 -0
  48. package/lib/seam/ecosystem/use-compatible-partners.js.map +1 -0
  49. package/lib/seam/ecosystem/use-ecosystem-device-models.d.ts +20 -0
  50. package/lib/seam/ecosystem/use-ecosystem-device-models.js +51 -0
  51. package/lib/seam/ecosystem/use-ecosystem-device-models.js.map +1 -0
  52. package/lib/seam/ecosystem/use-ecosystem-manufacturers.d.ts +11 -0
  53. package/lib/seam/ecosystem/use-ecosystem-manufacturers.js +49 -0
  54. package/lib/seam/ecosystem/use-ecosystem-manufacturers.js.map +1 -0
  55. package/lib/seam/ecosystem/use-ecosystem-query-result.d.ts +7 -0
  56. package/lib/seam/ecosystem/use-ecosystem-query-result.js +7 -0
  57. package/lib/seam/ecosystem/use-ecosystem-query-result.js.map +1 -0
  58. package/lib/seam/ecosystem/use-embed-key-resolution.d.ts +20 -0
  59. package/lib/seam/ecosystem/use-embed-key-resolution.js +51 -0
  60. package/lib/seam/ecosystem/use-embed-key-resolution.js.map +1 -0
  61. package/lib/seam/index.d.ts +1 -0
  62. package/lib/seam/index.js +1 -0
  63. package/lib/seam/index.js.map +1 -1
  64. package/lib/seam/seam-components-class-name.d.ts +1 -0
  65. package/lib/seam/seam-components-class-name.js +2 -0
  66. package/lib/seam/seam-components-class-name.js.map +1 -0
  67. package/lib/ui/ecosystem/SearchField.d.ts +9 -0
  68. package/lib/ui/ecosystem/SearchField.js +8 -0
  69. package/lib/ui/ecosystem/SearchField.js.map +1 -0
  70. package/lib/ui/ecosystem/StateMessage.d.ts +8 -0
  71. package/lib/ui/ecosystem/StateMessage.js +5 -0
  72. package/lib/ui/ecosystem/StateMessage.js.map +1 -0
  73. package/lib/ui/ecosystem/errors.d.ts +5 -0
  74. package/lib/ui/ecosystem/errors.js +25 -0
  75. package/lib/ui/ecosystem/errors.js.map +1 -0
  76. package/lib/ui/ecosystem/storybook.d.ts +15 -0
  77. package/lib/ui/ecosystem/storybook.js +16 -0
  78. package/lib/ui/ecosystem/storybook.js.map +1 -0
  79. package/lib/ui/ecosystem/theme.d.ts +6 -0
  80. package/lib/ui/ecosystem/theme.js +11 -0
  81. package/lib/ui/ecosystem/theme.js.map +1 -0
  82. package/lib/version.d.ts +1 -1
  83. package/lib/version.js +1 -1
  84. package/lib/version.js.map +1 -1
  85. package/package.json +11 -3
  86. package/src/ecosystem.d.ts +2 -0
  87. package/src/ecosystem.ts +12 -0
  88. package/src/elements.ts +4 -0
  89. package/src/lib/ecosystem-element.tsx +154 -0
  90. package/src/lib/element.tsx +6 -0
  91. package/src/lib/seam/SeamProvider.tsx +18 -2
  92. package/src/lib/seam/components/CompatibleApps/CompatibleApps.element.ts +19 -0
  93. package/src/lib/seam/components/CompatibleApps/CompatibleApps.tsx +344 -0
  94. package/src/lib/seam/components/SupportedDevices/DeviceModelRow.tsx +105 -0
  95. package/src/lib/seam/components/SupportedDevices/FilterSelect.tsx +43 -0
  96. package/src/lib/seam/components/SupportedDevices/ManufacturerSection.tsx +114 -0
  97. package/src/lib/seam/components/SupportedDevices/SupportedDevices.element.ts +17 -0
  98. package/src/lib/seam/components/SupportedDevices/SupportedDevices.tsx +382 -0
  99. package/src/lib/seam/components/SupportedDevices/device-models.ts +326 -0
  100. package/src/lib/seam/components/ecosystem-elements.ts +2 -0
  101. package/src/lib/seam/components/elements.ts +0 -2
  102. package/src/lib/seam/components/index.ts +2 -2
  103. package/src/lib/seam/ecosystem/EcosystemProvider.tsx +133 -0
  104. package/src/lib/seam/ecosystem/client.ts +116 -0
  105. package/src/lib/seam/ecosystem/index.ts +19 -0
  106. package/src/lib/seam/ecosystem/types.ts +334 -0
  107. package/src/lib/seam/ecosystem/use-compatible-partners.ts +80 -0
  108. package/src/lib/seam/ecosystem/use-ecosystem-device-models.ts +96 -0
  109. package/src/lib/seam/ecosystem/use-ecosystem-manufacturers.ts +86 -0
  110. package/src/lib/seam/ecosystem/use-ecosystem-query-result.ts +19 -0
  111. package/src/lib/seam/ecosystem/use-embed-key-resolution.ts +80 -0
  112. package/src/lib/seam/index.ts +1 -0
  113. package/src/lib/seam/seam-components-class-name.ts +1 -0
  114. package/src/lib/ui/ecosystem/SearchField.tsx +32 -0
  115. package/src/lib/ui/ecosystem/StateMessage.tsx +29 -0
  116. package/src/lib/ui/ecosystem/errors.ts +30 -0
  117. package/src/lib/ui/ecosystem/storybook.tsx +40 -0
  118. package/src/lib/ui/ecosystem/theme.ts +14 -0
  119. package/src/lib/version.ts +1 -1
  120. package/src/styles/_compatible-apps.scss +102 -0
  121. package/src/styles/_ecosystem.scss +295 -0
  122. package/src/styles/_main.scss +6 -4
  123. package/src/styles/_supported-devices.scss +153 -0
  124. package/lib/seam/components/SupportedDeviceTable/FilterCategoryMenu.d.ts +0 -20
  125. package/lib/seam/components/SupportedDeviceTable/FilterCategoryMenu.js +0 -22
  126. package/lib/seam/components/SupportedDeviceTable/FilterCategoryMenu.js.map +0 -1
  127. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.d.ts +0 -6
  128. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.js +0 -8
  129. package/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.js.map +0 -1
  130. package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.d.ts +0 -9
  131. package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.js +0 -14
  132. package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.js.map +0 -1
  133. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.d.ts +0 -13
  134. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js +0 -58
  135. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.js.map +0 -1
  136. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContentRows.d.ts +0 -7
  137. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContentRows.js +0 -6
  138. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceContentRows.js.map +0 -1
  139. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.d.ts +0 -12
  140. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.js +0 -58
  141. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.js.map +0 -1
  142. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceManufacturerSection.d.ts +0 -8
  143. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceManufacturerSection.js +0 -39
  144. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceManufacturerSection.js.map +0 -1
  145. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.d.ts +0 -10
  146. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js +0 -35
  147. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js.map +0 -1
  148. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.d.ts +0 -11
  149. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.js +0 -20
  150. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.js.map +0 -1
  151. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.d.ts +0 -6
  152. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.js +0 -21
  153. package/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.js.map +0 -1
  154. package/lib/seam/components/SupportedDeviceTable/use-device-model.d.ts +0 -7
  155. package/lib/seam/components/SupportedDeviceTable/use-device-model.js +0 -21
  156. package/lib/seam/components/SupportedDeviceTable/use-device-model.js.map +0 -1
  157. package/lib/seam/components/SupportedDeviceTable/use-device-models.d.ts +0 -7
  158. package/lib/seam/components/SupportedDeviceTable/use-device-models.js +0 -30
  159. package/lib/seam/components/SupportedDeviceTable/use-device-models.js.map +0 -1
  160. package/lib/seam/components/SupportedDeviceTable/use-filtered-device-models.d.ts +0 -15
  161. package/lib/seam/components/SupportedDeviceTable/use-filtered-device-models.js +0 -45
  162. package/lib/seam/components/SupportedDeviceTable/use-filtered-device-models.js.map +0 -1
  163. package/lib/seam/components/SupportedDeviceTable/use-filtered-manufacturers.d.ts +0 -10
  164. package/lib/seam/components/SupportedDeviceTable/use-filtered-manufacturers.js +0 -42
  165. package/lib/seam/components/SupportedDeviceTable/use-filtered-manufacturers.js.map +0 -1
  166. package/lib/seam/components/SupportedDeviceTable/use-manufacturer.d.ts +0 -7
  167. package/lib/seam/components/SupportedDeviceTable/use-manufacturer.js +0 -17
  168. package/lib/seam/components/SupportedDeviceTable/use-manufacturer.js.map +0 -1
  169. package/lib/seam/components/SupportedDeviceTable/use-manufacturers.d.ts +0 -7
  170. package/lib/seam/components/SupportedDeviceTable/use-manufacturers.js +0 -26
  171. package/lib/seam/components/SupportedDeviceTable/use-manufacturers.js.map +0 -1
  172. package/src/lib/seam/components/SupportedDeviceTable/FilterCategoryMenu.tsx +0 -78
  173. package/src/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.tsx +0 -13
  174. package/src/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.tsx +0 -32
  175. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.tsx +0 -161
  176. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContentRows.tsx +0 -22
  177. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceFilterArea.tsx +0 -145
  178. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceManufacturerSection.tsx +0 -109
  179. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.tsx +0 -93
  180. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.element.ts +0 -15
  181. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTable.tsx +0 -70
  182. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.element.ts +0 -9
  183. package/src/lib/seam/components/SupportedDeviceTable/SupportedDeviceTableManufacturerKeys.tsx +0 -64
  184. package/src/lib/seam/components/SupportedDeviceTable/use-device-model.ts +0 -44
  185. package/src/lib/seam/components/SupportedDeviceTable/use-device-models.ts +0 -57
  186. package/src/lib/seam/components/SupportedDeviceTable/use-filtered-device-models.ts +0 -88
  187. package/src/lib/seam/components/SupportedDeviceTable/use-filtered-manufacturers.ts +0 -69
  188. package/src/lib/seam/components/SupportedDeviceTable/use-manufacturer.ts +0 -40
  189. package/src/lib/seam/components/SupportedDeviceTable/use-manufacturers.ts +0 -53
  190. package/src/styles/_supported-device-table-manufacturer-keys.scss +0 -20
  191. package/src/styles/_supported-device-table.scss +0 -412
@@ -0,0 +1,295 @@
1
+ @use './colors';
2
+
3
+ // Shared styles for the Seam Ecosystem components (CompatibleApps, SupportedDevices).
4
+ // Colors are CSS custom properties so the light, dark and auto themes share one set of rules.
5
+
6
+ @mixin light-tokens {
7
+ --seam-ecosystem-fg-1: #{colors.$text-default};
8
+ --seam-ecosystem-fg-2: #{colors.$text-gray-1};
9
+ --seam-ecosystem-fg-3: #{colors.$text-gray-2};
10
+ --seam-ecosystem-surface-1: #{colors.$white};
11
+ --seam-ecosystem-surface-2: #{colors.$bg-a};
12
+ --seam-ecosystem-line-1: #{colors.$bg-b};
13
+ --seam-ecosystem-line-2: #{colors.$bg-d};
14
+ --seam-ecosystem-accent: #{colors.$primary};
15
+ --seam-ecosystem-accent-soft: #{colors.$primary-transparent};
16
+ --seam-ecosystem-skeleton: #{colors.$bg-b};
17
+ }
18
+
19
+ @mixin dark-tokens {
20
+ --seam-ecosystem-fg-1: #f1f3f4;
21
+ --seam-ecosystem-fg-2: #b9bec5;
22
+ --seam-ecosystem-fg-3: #8a9099;
23
+ --seam-ecosystem-surface-1: #16191d;
24
+ --seam-ecosystem-surface-2: #22262c;
25
+ --seam-ecosystem-line-1: #2c3138;
26
+ --seam-ecosystem-line-2: #434a54;
27
+ --seam-ecosystem-accent: #4da3ff;
28
+ --seam-ecosystem-accent-soft: rgb(77 163 255 / 14%);
29
+ --seam-ecosystem-skeleton: #2c3138;
30
+ }
31
+
32
+ @mixin dark-images {
33
+ .seam-ecosystem-light-only {
34
+ display: none;
35
+ }
36
+
37
+ .seam-ecosystem-dark-only {
38
+ display: block;
39
+ }
40
+ }
41
+
42
+ @mixin all {
43
+ .seam-ecosystem {
44
+ @include light-tokens;
45
+
46
+ width: 100%;
47
+ color: var(--seam-ecosystem-fg-1);
48
+ font-size: 16px;
49
+ line-height: 1.4;
50
+
51
+ &.seam-ecosystem-theme-dark {
52
+ @include dark-tokens;
53
+ @include dark-images;
54
+ }
55
+
56
+ @media (prefers-color-scheme: dark) {
57
+ &.seam-ecosystem-theme-auto {
58
+ @include dark-tokens;
59
+ @include dark-images;
60
+ }
61
+ }
62
+
63
+ .seam-ecosystem-dark-only {
64
+ display: none;
65
+ }
66
+
67
+ a {
68
+ color: inherit;
69
+ text-decoration: none;
70
+ }
71
+
72
+ img {
73
+ max-width: 100%;
74
+ }
75
+ }
76
+
77
+ .seam-ecosystem-header {
78
+ display: flex;
79
+ flex-flow: row wrap;
80
+ align-items: center;
81
+ gap: 8px 12px;
82
+ margin-bottom: 16px;
83
+ }
84
+
85
+ .seam-ecosystem-title {
86
+ margin: 0 auto 0 0;
87
+ font-size: 20px;
88
+ font-weight: 600;
89
+ line-height: 1.3;
90
+ color: var(--seam-ecosystem-fg-1);
91
+ }
92
+
93
+ .seam-ecosystem-controls {
94
+ display: flex;
95
+ flex-flow: row wrap;
96
+ align-items: center;
97
+ gap: 8px;
98
+ margin-left: auto;
99
+ }
100
+
101
+ .seam-ecosystem-search {
102
+ position: relative;
103
+ display: flex;
104
+ align-items: center;
105
+ min-width: 200px;
106
+
107
+ .seam-ecosystem-search-icon {
108
+ position: absolute;
109
+ left: 10px;
110
+ font-size: 18px;
111
+ pointer-events: none;
112
+
113
+ path {
114
+ fill: var(--seam-ecosystem-fg-3);
115
+ }
116
+ }
117
+
118
+ .seam-ecosystem-search-input {
119
+ width: 100%;
120
+ height: 36px;
121
+ padding: 0 12px 0 34px;
122
+ border: 1px solid var(--seam-ecosystem-line-2);
123
+ border-radius: 8px;
124
+ background: var(--seam-ecosystem-surface-1);
125
+ color: var(--seam-ecosystem-fg-1);
126
+ font: inherit;
127
+ font-size: 14px;
128
+
129
+ &::placeholder {
130
+ color: var(--seam-ecosystem-fg-3);
131
+ }
132
+
133
+ &:focus {
134
+ outline: 2px solid var(--seam-ecosystem-accent);
135
+ outline-offset: -1px;
136
+ border-color: transparent;
137
+ }
138
+
139
+ &:disabled {
140
+ opacity: 0.6;
141
+ cursor: not-allowed;
142
+ }
143
+ }
144
+ }
145
+
146
+ .seam-ecosystem-select {
147
+ position: relative;
148
+ display: inline-flex;
149
+ align-items: center;
150
+
151
+ .seam-ecosystem-select-input {
152
+ appearance: none;
153
+ height: 36px;
154
+ max-width: 220px;
155
+ padding: 0 32px 0 12px;
156
+ border: 1px solid var(--seam-ecosystem-line-2);
157
+ border-radius: 8px;
158
+ background: var(--seam-ecosystem-surface-1);
159
+ color: var(--seam-ecosystem-fg-1);
160
+ font: inherit;
161
+ font-size: 14px;
162
+ text-overflow: ellipsis;
163
+ cursor: pointer;
164
+
165
+ &:focus {
166
+ outline: 2px solid var(--seam-ecosystem-accent);
167
+ outline-offset: -1px;
168
+ border-color: transparent;
169
+ }
170
+
171
+ &:disabled {
172
+ opacity: 0.6;
173
+ cursor: not-allowed;
174
+ }
175
+ }
176
+
177
+ .seam-ecosystem-select-icon {
178
+ position: absolute;
179
+ right: 8px;
180
+ font-size: 18px;
181
+ pointer-events: none;
182
+
183
+ path {
184
+ fill: var(--seam-ecosystem-fg-2);
185
+ }
186
+ }
187
+ }
188
+
189
+ .seam-ecosystem-button {
190
+ display: inline-flex;
191
+ align-items: center;
192
+ justify-content: center;
193
+ height: 32px;
194
+ padding: 0 14px;
195
+ border: 1px solid var(--seam-ecosystem-line-2);
196
+ border-radius: 8px;
197
+ background: var(--seam-ecosystem-surface-1);
198
+ color: var(--seam-ecosystem-fg-1);
199
+ font: inherit;
200
+ font-size: 14px;
201
+ font-weight: 600;
202
+ cursor: pointer;
203
+
204
+ &:hover {
205
+ background: var(--seam-ecosystem-surface-2);
206
+ }
207
+
208
+ &:focus-visible {
209
+ outline: 2px solid var(--seam-ecosystem-accent);
210
+ outline-offset: 2px;
211
+ }
212
+ }
213
+
214
+ .seam-ecosystem-message {
215
+ display: flex;
216
+ flex-direction: column;
217
+ align-items: center;
218
+ gap: 12px;
219
+ padding: 32px 16px;
220
+ border: 1px dashed var(--seam-ecosystem-line-2);
221
+ border-radius: 12px;
222
+ color: var(--seam-ecosystem-fg-2);
223
+ font-size: 14px;
224
+ text-align: center;
225
+
226
+ p {
227
+ margin: 0;
228
+ }
229
+ }
230
+
231
+ .seam-ecosystem-badge {
232
+ display: inline-flex;
233
+ align-items: center;
234
+ padding: 2px 8px;
235
+ border: 1px solid transparent;
236
+ border-radius: 999px;
237
+ background: var(--seam-ecosystem-accent-soft);
238
+ color: var(--seam-ecosystem-accent);
239
+ font-size: 12px;
240
+ font-weight: 600;
241
+ line-height: 18px;
242
+ white-space: nowrap;
243
+
244
+ &.seam-ecosystem-badge-type {
245
+ background: var(--seam-ecosystem-surface-2);
246
+ color: var(--seam-ecosystem-fg-1);
247
+ }
248
+
249
+ &.seam-ecosystem-badge-conditional {
250
+ border: 1px dashed var(--seam-ecosystem-accent);
251
+ background: transparent;
252
+ cursor: help;
253
+ }
254
+ }
255
+
256
+ .seam-ecosystem-skeleton {
257
+ border-radius: 6px;
258
+ background: var(--seam-ecosystem-skeleton);
259
+ animation: seam-ecosystem-pulse 1.5s ease-in-out infinite;
260
+ }
261
+
262
+ .seam-ecosystem-skeleton-line {
263
+ width: 60%;
264
+ height: 14px;
265
+ }
266
+
267
+ .seam-ecosystem-skeleton-line-short {
268
+ width: 35%;
269
+ height: 12px;
270
+ }
271
+
272
+ .seam-ecosystem-visually-hidden {
273
+ position: absolute;
274
+ width: 1px;
275
+ height: 1px;
276
+ padding: 0;
277
+ margin: -1px;
278
+ overflow: hidden;
279
+ clip: rect(0 0 0 0);
280
+ white-space: nowrap;
281
+ border: 0;
282
+ }
283
+
284
+ @keyframes seam-ecosystem-pulse {
285
+ 50% {
286
+ opacity: 0.5;
287
+ }
288
+ }
289
+
290
+ @media (prefers-reduced-motion: reduce) {
291
+ .seam-ecosystem-skeleton {
292
+ animation: none;
293
+ }
294
+ }
295
+ }
@@ -13,8 +13,6 @@
13
13
  @use './device-details';
14
14
  @use './device-table';
15
15
  @use './access-code-details';
16
- @use './supported-device-table';
17
- @use './supported-device-table-manufacturer-keys';
18
16
  @use './access-code-form';
19
17
  @use './input-label';
20
18
  @use './form-field';
@@ -31,6 +29,9 @@
31
29
  @use './noise-sensor';
32
30
  @use './seam-editable-device-name';
33
31
  @use './popover';
32
+ @use './ecosystem';
33
+ @use './compatible-apps';
34
+ @use './supported-devices';
34
35
 
35
36
  .seam-components {
36
37
  // Reset
@@ -64,10 +65,11 @@
64
65
  @include access-code-details.all;
65
66
  @include access-code-form.all;
66
67
  @include alert.all;
67
- @include supported-device-table.all;
68
- @include supported-device-table-manufacturer-keys.all;
69
68
  @include thermostat.all;
70
69
  @include seam-table.all;
71
70
  @include noise-sensor.all;
72
71
  @include popover.all;
72
+ @include ecosystem.all;
73
+ @include compatible-apps.all;
74
+ @include supported-devices.all;
73
75
  }
@@ -0,0 +1,153 @@
1
+ @mixin all {
2
+ .seam-supported-devices {
3
+ container-type: inline-size;
4
+
5
+ .seam-supported-devices-sections {
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 24px;
9
+ }
10
+
11
+ .seam-supported-devices-section {
12
+ overflow: hidden;
13
+ border: 1px solid var(--seam-ecosystem-line-1);
14
+ border-radius: 12px;
15
+ background: var(--seam-ecosystem-surface-1);
16
+ }
17
+
18
+ .seam-supported-devices-section-header {
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 12px;
22
+ padding: 12px 16px;
23
+ border-bottom: 1px solid var(--seam-ecosystem-line-1);
24
+ }
25
+
26
+ .seam-supported-devices-logo {
27
+ display: flex;
28
+ flex-shrink: 0;
29
+ align-items: center;
30
+ justify-content: center;
31
+ width: 40px;
32
+ height: 40px;
33
+ overflow: hidden;
34
+ border-radius: 8px;
35
+ background: var(--seam-ecosystem-surface-2);
36
+ color: var(--seam-ecosystem-fg-2);
37
+ font-weight: 600;
38
+
39
+ img {
40
+ width: 100%;
41
+ height: 100%;
42
+ padding: 4px;
43
+ object-fit: contain;
44
+ }
45
+ }
46
+
47
+ .seam-supported-devices-section-title {
48
+ flex: 1;
49
+ min-width: 0;
50
+ margin: 0;
51
+ overflow: hidden;
52
+ font-size: 18px;
53
+ font-weight: 600;
54
+ white-space: nowrap;
55
+ text-overflow: ellipsis;
56
+ }
57
+
58
+ .seam-supported-devices-count {
59
+ flex-shrink: 0;
60
+ color: var(--seam-ecosystem-fg-2);
61
+ font-size: 14px;
62
+ }
63
+
64
+ .seam-supported-devices-rows {
65
+ margin: 0;
66
+ padding: 0;
67
+ list-style: none;
68
+ }
69
+
70
+ .seam-supported-devices-row {
71
+ display: grid;
72
+ grid-template-columns: 48px minmax(0, 1fr);
73
+ align-items: center;
74
+ gap: 8px 12px;
75
+ padding: 12px 16px;
76
+
77
+ &:not(:last-child) {
78
+ border-bottom: 1px solid var(--seam-ecosystem-line-1);
79
+ }
80
+ }
81
+
82
+ .seam-supported-devices-image {
83
+ display: flex;
84
+ align-items: center;
85
+ justify-content: center;
86
+ width: 48px;
87
+ height: 48px;
88
+ overflow: hidden;
89
+ border-radius: 8px;
90
+ background: var(--seam-ecosystem-surface-2);
91
+ color: var(--seam-ecosystem-fg-3);
92
+ font-weight: 600;
93
+
94
+ img {
95
+ width: 100%;
96
+ height: 100%;
97
+ object-fit: contain;
98
+ }
99
+ }
100
+
101
+ .seam-supported-devices-info {
102
+ display: flex;
103
+ flex-direction: column;
104
+ gap: 2px;
105
+ min-width: 0;
106
+ }
107
+
108
+ .seam-supported-devices-name {
109
+ color: var(--seam-ecosystem-fg-1);
110
+ font-weight: 600;
111
+ }
112
+
113
+ a.seam-supported-devices-name:hover {
114
+ text-decoration: underline;
115
+ }
116
+
117
+ .seam-supported-devices-meta {
118
+ overflow: hidden;
119
+ color: var(--seam-ecosystem-fg-2);
120
+ font-size: 13px;
121
+ white-space: nowrap;
122
+ text-overflow: ellipsis;
123
+ }
124
+
125
+ .seam-supported-devices-badges {
126
+ display: flex;
127
+ flex-wrap: wrap;
128
+ grid-column: 2;
129
+ gap: 4px;
130
+ margin: 0;
131
+ padding: 0;
132
+ list-style: none;
133
+ }
134
+
135
+ .seam-supported-devices-section-footer {
136
+ display: flex;
137
+ justify-content: center;
138
+ padding: 12px 16px;
139
+ border-top: 1px solid var(--seam-ecosystem-line-1);
140
+ }
141
+
142
+ @container (width >= 720px) {
143
+ .seam-supported-devices-row {
144
+ grid-template-columns: 48px minmax(0, 1fr) minmax(0, 45%);
145
+ }
146
+
147
+ .seam-supported-devices-badges {
148
+ grid-column: 3;
149
+ justify-content: flex-end;
150
+ }
151
+ }
152
+ }
153
+ }
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- export type FilterCategoryMenuProps = FilterCategoryMenuPropsWithAllOption | FilterCategoryMenuPropsWithoutAllOption;
3
- interface FilterCategoryMenuPropsWithAllOption extends FilterCategoryMenuBaseProps {
4
- hideAllOption?: false;
5
- allLabel: string;
6
- onAllOptionSelect: () => void;
7
- }
8
- interface FilterCategoryMenuPropsWithoutAllOption extends FilterCategoryMenuBaseProps {
9
- hideAllOption: true;
10
- allLabel: never;
11
- onAllOptionSelect?: never;
12
- }
13
- interface FilterCategoryMenuBaseProps {
14
- label: string;
15
- options: string[];
16
- onSelect: (option: string) => void;
17
- buttonLabel?: string;
18
- }
19
- export declare function FilterCategoryMenu({ label, allLabel, options, hideAllOption, onSelect, onAllOptionSelect, buttonLabel, }: FilterCategoryMenuProps): JSX.Element;
20
- export {};
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ChevronDownIcon } from '../../../../lib/icons/ChevronDown.js';
3
- import { Menu } from '../../../../lib/ui/Menu/Menu.js';
4
- import { MenuItem } from '../../../../lib/ui/Menu/MenuItem.js';
5
- export function FilterCategoryMenu({ label = t.filter, allLabel, options, hideAllOption = false, onSelect, onAllOptionSelect, buttonLabel, }) {
6
- const sortedOptions = [...options].sort((a, b) => a.localeCompare(b));
7
- const usableOptions = hideAllOption
8
- ? sortedOptions
9
- : [allLabel, ...sortedOptions];
10
- return (_jsxs("div", { className: 'seam-supported-device-table-filter-menu-wrap', children: [_jsx("p", { children: label }), _jsx(Menu, { renderButton: ({ onOpen }) => (_jsxs("button", { type: 'button', onClick: onOpen, children: [_jsx("span", { children: buttonLabel }), _jsx(ChevronDownIcon, {})] })), children: _jsx("div", { className: 'seam-supported-device-table-filter-menu-content', children: usableOptions.map((option, index) => (_jsx(MenuItem, { onClick: () => {
11
- if (option === allLabel) {
12
- onAllOptionSelect?.();
13
- }
14
- else {
15
- onSelect(option);
16
- }
17
- }, children: _jsx("span", { children: option }) }, `${index}:${option}`))) }) })] }));
18
- }
19
- const t = {
20
- filter: 'Filter',
21
- };
22
- //# sourceMappingURL=FilterCategoryMenu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterCategoryMenu.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDeviceTable/FilterCategoryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AA2BlD,MAAM,UAAU,kBAAkB,CAAC,EACjC,KAAK,GAAG,CAAC,CAAC,MAAM,EAChB,QAAQ,EACR,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,QAAQ,EACR,iBAAiB,EACjB,WAAW,GACa;IACxB,MAAM,aAAa,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;IACrE,MAAM,aAAa,GAAG,aAAa;QACjC,CAAC,CAAC,aAAa;QACf,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,aAAa,CAAC,CAAA;IAEhC,OAAO,CACL,eAAK,SAAS,EAAC,8CAA8C,aAC3D,sBAAI,KAAK,GAAK,EACd,KAAC,IAAI,IACH,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAC5B,kBAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,aACnC,yBAAO,WAAW,GAAQ,EAC1B,KAAC,eAAe,KAAG,IACZ,CACV,YAED,cAAK,SAAS,EAAC,iDAAiD,YAC7D,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,KAAC,QAAQ,IAEP,OAAO,EAAE,GAAG,EAAE;4BACZ,IAAI,MAAM,KAAK,QAAQ,EAAE,CAAC;gCACxB,iBAAiB,EAAE,EAAE,CAAA;4BACvB,CAAC;iCAAM,CAAC;gCACN,QAAQ,CAAC,MAAM,CAAC,CAAA;4BAClB,CAAC;wBACH,CAAC,YAED,yBAAO,MAAM,GAAQ,IAThB,GAAG,KAAK,IAAI,MAAM,EAAE,CAUhB,CACZ,CAAC,GACE,GACD,IACH,CACP,CAAA;AACH,CAAC;AAED,MAAM,CAAC,GAAG;IACR,MAAM,EAAE,QAAQ;CACjB,CAAA"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface HiddenDevicesOverlayProps {
3
- visible: boolean;
4
- }
5
- export declare function HiddenDevicesOverlay({ visible, }: HiddenDevicesOverlayProps): JSX.Element | null;
6
- export {};
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function HiddenDevicesOverlay({ visible, }) {
3
- if (!visible) {
4
- return null;
5
- }
6
- return _jsx("div", { className: 'hidden-devices-overlay' });
7
- }
8
- //# sourceMappingURL=HiddenDevicesOverlay.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HiddenDevicesOverlay.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDeviceTable/HiddenDevicesOverlay.tsx"],"names":[],"mappings":";AAIA,MAAM,UAAU,oBAAoB,CAAC,EACnC,OAAO,GACmB;IAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,cAAK,SAAS,EAAC,wBAAwB,GAAG,CAAA;AACnD,CAAC"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface ShowAllDevicesButtonProps {
3
- onClick: () => void;
4
- visible: boolean;
5
- expanded: boolean;
6
- totalDeviceCount: number;
7
- }
8
- export declare function ShowAllDevicesButton({ onClick, visible, expanded, totalDeviceCount, }: ShowAllDevicesButtonProps): JSX.Element | null;
9
- export {};
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ChevronRightIcon } from '../../../../lib/icons/ChevronRight.js';
3
- export function ShowAllDevicesButton({ onClick, visible, expanded, totalDeviceCount, }) {
4
- if (!visible) {
5
- return null;
6
- }
7
- const label = expanded ? t.showLess : t.showAll(totalDeviceCount);
8
- return (_jsxs("button", { type: 'button', className: 'show-all-devices-button', onClick: onClick, children: [_jsx(ChevronRightIcon, {}), " ", label] }));
9
- }
10
- const t = {
11
- showLess: 'Show less',
12
- showAll: (count) => `See all ${count}`,
13
- };
14
- //# sourceMappingURL=ShowAllDevicesButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShowAllDevicesButton.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAS5D,MAAM,UAAU,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAO,EACP,QAAQ,EACR,gBAAgB,GACU;IAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;IAEjE,OAAO,CACL,kBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,yBAAyB,EAAC,OAAO,EAAE,OAAO,aACxE,KAAC,gBAAgB,KAAG,OAAE,KAAK,IACpB,CACV,CAAA;AACH,CAAC;AAED,MAAM,CAAC,GAAG;IACR,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,WAAW,KAAK,EAAE;CAC/C,CAAA"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { type DeviceModelFilters } from '../../../../lib/seam/components/SupportedDeviceTable/use-filtered-device-models.js';
3
- interface SupportedDeviceContentProps {
4
- filterValue: string;
5
- resetFilterValue: () => void;
6
- filters: DeviceModelFilters;
7
- manufacturers: string[] | null;
8
- excludedManufacturers: string[];
9
- includeIf: string[] | null;
10
- excludeIf: string[];
11
- }
12
- export declare function SupportedDeviceContent({ resetFilterValue, filterValue, filters, manufacturers, excludedManufacturers, includeIf, excludeIf, }: SupportedDeviceContentProps): JSX.Element | null;
13
- export {};
@@ -1,58 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { useMemo } from 'react';
3
- import { SupportedDeviceManufacturerSection } from '../../../../lib/seam/components/SupportedDeviceTable/SupportedDeviceManufacturerSection.js';
4
- import { useFilteredDeviceModels, } from '../../../../lib/seam/components/SupportedDeviceTable/use-filtered-device-models.js';
5
- import { Button } from '../../../../lib/ui/Button.js';
6
- export function SupportedDeviceContent({ resetFilterValue, filterValue, filters, manufacturers, excludedManufacturers, includeIf, excludeIf, }) {
7
- const { deviceModels, isPending, isError, refetch } = useFilteredDeviceModels({
8
- filterValue,
9
- filters,
10
- manufacturers,
11
- excludedManufacturers,
12
- includeIf,
13
- excludeIf,
14
- });
15
- const groupedDeviceModels = useMemo(() => groupDeviceModelsByManufacturer(deviceModels ?? []), [deviceModels]);
16
- if (isPending) {
17
- return (_jsx("div", { className: 'seam-supported-device-table-content-state-block', children: _jsx("p", { children: t.loading }) }));
18
- }
19
- if (isError) {
20
- return (_jsxs("div", { className: 'seam-supported-device-table-content-state-block', children: [_jsx("p", { children: t.error }), _jsx(Button, { variant: 'solid', size: 'small', onClick: () => {
21
- void refetch();
22
- }, children: t.retry })] }));
23
- }
24
- if (deviceModels == null) {
25
- return null;
26
- }
27
- const isEmpty = deviceModels.length === 0;
28
- if (isEmpty) {
29
- return (_jsx("div", { className: 'seam-supported-device-table-content', children: _jsx(EmptyResult, { filterValue: filterValue, resetFilterValue: resetFilterValue }) }));
30
- }
31
- return (_jsx(_Fragment, { children: Object.entries(groupedDeviceModels)
32
- .sort((e1, e2) => e1[1][0]?.manufacturer.display_name.localeCompare(e2[1][0]?.manufacturer.display_name ?? '') ?? 0)
33
- .map(([manufacturerId, models]) => {
34
- return (_jsx(SupportedDeviceManufacturerSection, { manufacturerId: manufacturerId, deviceModels: models }, manufacturerId));
35
- }) }));
36
- }
37
- function EmptyResult({ filterValue, resetFilterValue, }) {
38
- const noMatchingRows = (_jsxs(_Fragment, { children: [_jsx("p", { children: t.noMatch }), _jsx(Button, { variant: 'outline', size: 'small', onClick: resetFilterValue, className: 'seam-supported-device-table-content-message-clear-search', children: t.clear })] }));
39
- return (_jsx("div", { className: 'seam-supported-device-table-content-message-row', children: _jsx("div", { children: _jsx("div", { className: 'seam-supported-device-table-content-message', children: filterValue.length === 0 ? _jsx("p", { children: t.noneFound }) : noMatchingRows }) }) }));
40
- }
41
- const groupDeviceModelsByManufacturer = (deviceModels) => {
42
- const result = {};
43
- for (const model of deviceModels) {
44
- const { manufacturer } = model;
45
- const list = result[manufacturer.manufacturer_id] ?? [];
46
- result[manufacturer.manufacturer_id] = [...list, model];
47
- }
48
- return result;
49
- };
50
- const t = {
51
- loading: 'Loading device models...',
52
- retry: 'Retry',
53
- error: 'There was an error fetching device models.',
54
- noneFound: 'No device models found.',
55
- noMatch: 'No device models matched your search.',
56
- clear: 'Clear search terms',
57
- };
58
- //# sourceMappingURL=SupportedDeviceContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupportedDeviceContent.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContent.tsx"],"names":[],"mappings":"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"}
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import type { DeviceModel } from '@seamapi/types/devicedb';
3
- interface SupportedDeviceContentRowsProps {
4
- deviceModels: DeviceModel[];
5
- }
6
- export declare function SupportedDeviceContentRows({ deviceModels, }: SupportedDeviceContentRowsProps): JSX.Element | null;
7
- export {};
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { SupportedDeviceRow } from '../../../../lib/seam/components/SupportedDeviceTable/SupportedDeviceRow.js';
3
- export function SupportedDeviceContentRows({ deviceModels, }) {
4
- return (_jsx("div", { className: 'seam-supported-device-table-content', children: deviceModels.map((deviceModel) => (_jsx(SupportedDeviceRow, { deviceModel: deviceModel }, deviceModel.device_model_id))) }));
5
- }
6
- //# sourceMappingURL=SupportedDeviceContentRows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SupportedDeviceContentRows.js","sourceRoot":"","sources":["../../../../src/lib/seam/components/SupportedDeviceTable/SupportedDeviceContentRows.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gEAAgE,CAAA;AAMnG,MAAM,UAAU,0BAA0B,CAAC,EACzC,YAAY,GACoB;IAChC,OAAO,CACL,cAAK,SAAS,EAAC,qCAAqC,YACjD,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CACjC,KAAC,kBAAkB,IAEjB,WAAW,EAAE,WAAW,IADnB,WAAW,CAAC,eAAe,CAEhC,CACH,CAAC,GACE,CACP,CAAA;AACH,CAAC"}