@attraccess/plugin-matter 0.3.0-alpha.0 → 0.4.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/dist/index.js +3918 -1181
- package/dist/migrations.js +69 -0
- package/frontend/__federation_expose_Plugin-AcefbZx2.js +2105 -0
- package/frontend/remoteEntry.js +1 -1
- package/frontend/style.css +166 -0
- package/package.json +7 -5
- package/frontend/__federation_expose_Plugin-CDuGnCB9.js +0 -783
package/frontend/remoteEntry.js
CHANGED
|
@@ -75,7 +75,7 @@ var exportSet = /* @__PURE__ */ new Set([
|
|
|
75
75
|
]);
|
|
76
76
|
var moduleMap = { "./plugin": () => {
|
|
77
77
|
dynamicLoadingCss(["style.css"], false, "./plugin");
|
|
78
|
-
return __federation_import("./__federation_expose_Plugin-
|
|
78
|
+
return __federation_import("./__federation_expose_Plugin-AcefbZx2.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
|
|
79
79
|
} };
|
|
80
80
|
var seen = {};
|
|
81
81
|
var dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
|
package/frontend/style.css
CHANGED
|
@@ -2,26 +2,54 @@
|
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
5
|
+
--tw-divide-y-reverse: 0;
|
|
6
|
+
--tw-border-style: solid;
|
|
5
7
|
--tw-font-weight: initial;
|
|
6
8
|
}
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
:root, :host {
|
|
13
|
+
--mt-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
14
|
+
monospace;
|
|
11
15
|
--mt-spacing: .25rem;
|
|
12
16
|
--mt-container-5xl: 64rem;
|
|
13
17
|
--mt-text-xs: .75rem;
|
|
14
18
|
--mt-text-xs--line-height: calc(1 / .75);
|
|
19
|
+
--mt-text-sm: .875rem;
|
|
20
|
+
--mt-text-sm--line-height: calc(1.25 / .875);
|
|
21
|
+
--mt-text-base: 1rem;
|
|
22
|
+
--mt-text-base--line-height: calc(1.5 / 1);
|
|
15
23
|
--mt-text-lg: 1.125rem;
|
|
16
24
|
--mt-text-lg--line-height: calc(1.75 / 1.125);
|
|
17
25
|
--mt-font-weight-medium: 500;
|
|
18
26
|
--mt-font-weight-semibold: 600;
|
|
19
27
|
}
|
|
20
28
|
|
|
29
|
+
.mt\:sr-only {
|
|
30
|
+
clip-path: inset(50%);
|
|
31
|
+
white-space: nowrap;
|
|
32
|
+
border-width: 0;
|
|
33
|
+
width: 1px;
|
|
34
|
+
height: 1px;
|
|
35
|
+
margin: -1px;
|
|
36
|
+
padding: 0;
|
|
37
|
+
position: absolute;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
}
|
|
40
|
+
|
|
21
41
|
.mt\:mx-auto {
|
|
22
42
|
margin-inline: auto;
|
|
23
43
|
}
|
|
24
44
|
|
|
45
|
+
.mt\:mt-1 {
|
|
46
|
+
margin-top: var(--mt-spacing);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.mt\:mb-1 {
|
|
50
|
+
margin-bottom: var(--mt-spacing);
|
|
51
|
+
}
|
|
52
|
+
|
|
25
53
|
.mt\:block {
|
|
26
54
|
display: block;
|
|
27
55
|
}
|
|
@@ -58,6 +86,14 @@
|
|
|
58
86
|
max-width: var(--mt-container-5xl);
|
|
59
87
|
}
|
|
60
88
|
|
|
89
|
+
.mt\:shrink-0 {
|
|
90
|
+
flex-shrink: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.mt\:cursor-pointer {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
61
97
|
.mt\:list-disc {
|
|
62
98
|
list-style-type: disc;
|
|
63
99
|
}
|
|
@@ -82,6 +118,10 @@
|
|
|
82
118
|
justify-content: space-between;
|
|
83
119
|
}
|
|
84
120
|
|
|
121
|
+
.mt\:gap-1 {
|
|
122
|
+
gap: var(--mt-spacing);
|
|
123
|
+
}
|
|
124
|
+
|
|
85
125
|
.mt\:gap-2 {
|
|
86
126
|
gap: calc(var(--mt-spacing) * 2);
|
|
87
127
|
}
|
|
@@ -98,19 +138,65 @@
|
|
|
98
138
|
gap: calc(var(--mt-spacing) * 6);
|
|
99
139
|
}
|
|
100
140
|
|
|
141
|
+
:where(.mt\:divide-y > :not(:last-child)) {
|
|
142
|
+
--tw-divide-y-reverse: 0;
|
|
143
|
+
border-bottom-style: var(--tw-border-style);
|
|
144
|
+
border-top-style: var(--tw-border-style);
|
|
145
|
+
border-top-width: calc(1px * var(--tw-divide-y-reverse));
|
|
146
|
+
border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:where(.mt\:divide-separator > :not(:last-child)) {
|
|
150
|
+
border-color: var(--separator);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mt\:rounded-lg {
|
|
154
|
+
border-radius: calc(var(--radius) * 1);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.mt\:bg-surface-secondary {
|
|
158
|
+
background-color: var(--surface-secondary);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mt\:p-3 {
|
|
162
|
+
padding: calc(var(--mt-spacing) * 3);
|
|
163
|
+
}
|
|
164
|
+
|
|
101
165
|
.mt\:p-4 {
|
|
102
166
|
padding: calc(var(--mt-spacing) * 4);
|
|
103
167
|
}
|
|
104
168
|
|
|
169
|
+
.mt\:py-2 {
|
|
170
|
+
padding-block: calc(var(--mt-spacing) * 2);
|
|
171
|
+
}
|
|
172
|
+
|
|
105
173
|
.mt\:pl-5 {
|
|
106
174
|
padding-left: calc(var(--mt-spacing) * 5);
|
|
107
175
|
}
|
|
108
176
|
|
|
177
|
+
.mt\:text-center {
|
|
178
|
+
text-align: center;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.mt\:font-mono {
|
|
182
|
+
font-family: var(--mt-font-mono);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.mt\:text-base {
|
|
186
|
+
font-size: var(--mt-text-base);
|
|
187
|
+
line-height: var(--tw-leading, var(--mt-text-base--line-height));
|
|
188
|
+
}
|
|
189
|
+
|
|
109
190
|
.mt\:text-lg {
|
|
110
191
|
font-size: var(--mt-text-lg);
|
|
111
192
|
line-height: var(--tw-leading, var(--mt-text-lg--line-height));
|
|
112
193
|
}
|
|
113
194
|
|
|
195
|
+
.mt\:text-sm {
|
|
196
|
+
font-size: var(--mt-text-sm);
|
|
197
|
+
line-height: var(--tw-leading, var(--mt-text-sm--line-height));
|
|
198
|
+
}
|
|
199
|
+
|
|
114
200
|
.mt\:text-xs {
|
|
115
201
|
font-size: var(--mt-text-xs);
|
|
116
202
|
line-height: var(--tw-leading, var(--mt-text-xs--line-height));
|
|
@@ -130,6 +216,10 @@
|
|
|
130
216
|
overflow-wrap: break-word;
|
|
131
217
|
}
|
|
132
218
|
|
|
219
|
+
.mt\:break-all {
|
|
220
|
+
word-break: break-all;
|
|
221
|
+
}
|
|
222
|
+
|
|
133
223
|
.mt\:text-accent-soft-foreground {
|
|
134
224
|
color: var(--accent-soft-foreground);
|
|
135
225
|
}
|
|
@@ -138,10 +228,74 @@
|
|
|
138
228
|
color: var(--muted);
|
|
139
229
|
}
|
|
140
230
|
|
|
231
|
+
.mt\:select-all {
|
|
232
|
+
-webkit-user-select: all;
|
|
233
|
+
user-select: all;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.mt\:file\:mr-3::file-selector-button {
|
|
237
|
+
margin-right: calc(var(--mt-spacing) * 3);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.mt\:file\:cursor-pointer::file-selector-button {
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.mt\:file\:rounded-lg::file-selector-button {
|
|
245
|
+
border-radius: calc(var(--radius) * 1);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.mt\:file\:border-0::file-selector-button {
|
|
249
|
+
border-style: var(--tw-border-style);
|
|
250
|
+
border-width: 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mt\:file\:bg-default::file-selector-button {
|
|
254
|
+
background-color: var(--default);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.mt\:file\:px-3::file-selector-button {
|
|
258
|
+
padding-inline: calc(var(--mt-spacing) * 3);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.mt\:file\:py-1\.5::file-selector-button {
|
|
262
|
+
padding-block: calc(var(--mt-spacing) * 1.5);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.mt\:file\:text-sm::file-selector-button {
|
|
266
|
+
font-size: var(--mt-text-sm);
|
|
267
|
+
line-height: var(--tw-leading, var(--mt-text-sm--line-height));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.mt\:file\:font-medium::file-selector-button {
|
|
271
|
+
--tw-font-weight: var(--mt-font-weight-medium);
|
|
272
|
+
font-weight: var(--mt-font-weight-medium);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.mt\:file\:text-foreground::file-selector-button {
|
|
276
|
+
color: var(--foreground);
|
|
277
|
+
}
|
|
278
|
+
|
|
141
279
|
@media (min-width: 40rem) {
|
|
142
280
|
.mt\:sm\:grid-cols-2 {
|
|
143
281
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
144
282
|
}
|
|
283
|
+
|
|
284
|
+
.mt\:sm\:grid-cols-3 {
|
|
285
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.mt\:sm\:flex-row {
|
|
289
|
+
flex-direction: row;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.mt\:sm\:items-center {
|
|
293
|
+
align-items: center;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.mt\:sm\:justify-between {
|
|
297
|
+
justify-content: space-between;
|
|
298
|
+
}
|
|
145
299
|
}
|
|
146
300
|
|
|
147
301
|
@media (min-width: 48rem) {
|
|
@@ -150,6 +304,18 @@
|
|
|
150
304
|
}
|
|
151
305
|
}
|
|
152
306
|
|
|
307
|
+
@property --tw-divide-y-reverse {
|
|
308
|
+
syntax: "*";
|
|
309
|
+
inherits: false;
|
|
310
|
+
initial-value: 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@property --tw-border-style {
|
|
314
|
+
syntax: "*";
|
|
315
|
+
inherits: false;
|
|
316
|
+
initial-value: solid;
|
|
317
|
+
}
|
|
318
|
+
|
|
153
319
|
@property --tw-font-weight {
|
|
154
320
|
syntax: "*";
|
|
155
321
|
inherits: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attraccess/plugin-matter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Official Attraccess integration for Matter devices. Connects to the Matter sidecar; no device features yet.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@attraccess/plugins-backend-sdk": "^1.9.0",
|
|
26
26
|
"@attraccess/plugins-frontend-sdk": "^1.9.0",
|
|
27
|
-
"@attraccess/plugins-frontend-ui": "^1.11.0"
|
|
27
|
+
"@attraccess/plugins-frontend-ui": "^1.11.0-0"
|
|
28
28
|
},
|
|
29
29
|
"attraccess": {
|
|
30
30
|
"displayName": "Matter",
|
|
31
31
|
"description": "Matter device support for Attraccess. Secure connection to the Matter sidecar; device features follow.",
|
|
32
|
-
"host": "^1.11.0",
|
|
32
|
+
"host": "^1.11.0-0",
|
|
33
33
|
"backend": "dist/index.js",
|
|
34
34
|
"frontend": "frontend/remoteEntry.js",
|
|
35
35
|
"migrations": "dist/migrations.js",
|
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
"sdk": {
|
|
42
42
|
"backend": "^1.9.0",
|
|
43
43
|
"frontend": "^1.9.0"
|
|
44
|
-
}
|
|
45
|
-
|
|
44
|
+
},
|
|
45
|
+
"publishedCommit": "f1a7ce7d2895bbe85e0fc94088a045c7768200be"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "f1a7ce7d2895bbe85e0fc94088a045c7768200be"
|
|
46
48
|
}
|