@operato/property-editor 2.0.0-alpha.12 → 2.0.0-alpha.121

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 (33) hide show
  1. package/CHANGELOG.md +598 -0
  2. package/demo/index.html +33 -3
  3. package/dist/src/ox-properties-dynamic-view.d.ts +1 -1
  4. package/dist/src/ox-properties-dynamic-view.js +6 -1
  5. package/dist/src/ox-properties-dynamic-view.js.map +1 -1
  6. package/dist/src/ox-property-editor-action.d.ts +1 -1
  7. package/dist/src/ox-property-editor-action.js +5 -4
  8. package/dist/src/ox-property-editor-action.js.map +1 -1
  9. package/dist/src/ox-property-editor-textarea.d.ts +1 -0
  10. package/dist/src/ox-property-editor-textarea.js +12 -5
  11. package/dist/src/ox-property-editor-textarea.js.map +1 -1
  12. package/dist/src/ox-property-editor.js +1 -1
  13. package/dist/src/ox-property-editor.js.map +1 -1
  14. package/dist/src/types.d.ts +6 -0
  15. package/dist/src/types.js.map +1 -1
  16. package/dist/stories/ox-properties-dynamic-view.stories.d.ts +53 -0
  17. package/dist/stories/ox-properties-dynamic-view.stories.js +274 -0
  18. package/dist/stories/ox-properties-dynamic-view.stories.js.map +1 -0
  19. package/dist/stories/{index.stories.d.ts → ox-properties-editor-textarea.stories.d.ts} +2 -4
  20. package/dist/stories/ox-properties-editor-textarea.stories.js +76 -0
  21. package/dist/stories/ox-properties-editor-textarea.stories.js.map +1 -0
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +19 -19
  24. package/src/ox-properties-dynamic-view.ts +8 -2
  25. package/src/ox-property-editor-action.ts +5 -4
  26. package/src/ox-property-editor-textarea.ts +12 -4
  27. package/src/ox-property-editor.ts +1 -1
  28. package/src/types.ts +7 -0
  29. package/stories/ox-properties-dynamic-view.stories.ts +296 -0
  30. package/stories/ox-properties-editor-textarea.stories.ts +97 -0
  31. package/dist/stories/index.stories.js +0 -33
  32. package/dist/stories/index.stories.js.map +0 -1
  33. package/stories/index.stories.ts +0 -52
package/CHANGELOG.md CHANGED
@@ -3,6 +3,604 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0-alpha.121](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.120...v2.0.0-alpha.121) (2024-05-05)
7
+
8
+ **Note:** Version bump only for package @operato/property-editor
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.120](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.119...v2.0.0-alpha.120) (2024-05-05)
15
+
16
+ **Note:** Version bump only for package @operato/property-editor
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.119](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.118...v2.0.0-alpha.119) (2024-05-04)
23
+
24
+ **Note:** Version bump only for package @operato/property-editor
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.0-alpha.118](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.117...v2.0.0-alpha.118) (2024-05-04)
31
+
32
+ **Note:** Version bump only for package @operato/property-editor
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.0-alpha.117](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.116...v2.0.0-alpha.117) (2024-05-04)
39
+
40
+ **Note:** Version bump only for package @operato/property-editor
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.0-alpha.116](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.115...v2.0.0-alpha.116) (2024-05-04)
47
+
48
+ **Note:** Version bump only for package @operato/property-editor
49
+
50
+
51
+
52
+
53
+
54
+ ## [2.0.0-alpha.115](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.114...v2.0.0-alpha.115) (2024-05-04)
55
+
56
+ **Note:** Version bump only for package @operato/property-editor
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.0.0-alpha.114](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.113...v2.0.0-alpha.114) (2024-05-04)
63
+
64
+ **Note:** Version bump only for package @operato/property-editor
65
+
66
+
67
+
68
+
69
+
70
+ ## [2.0.0-alpha.112](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.111...v2.0.0-alpha.112) (2024-05-02)
71
+
72
+ **Note:** Version bump only for package @operato/property-editor
73
+
74
+
75
+
76
+
77
+
78
+ ## [2.0.0-alpha.111](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.110...v2.0.0-alpha.111) (2024-05-02)
79
+
80
+ **Note:** Version bump only for package @operato/property-editor
81
+
82
+
83
+
84
+
85
+
86
+ ## [2.0.0-alpha.110](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.109...v2.0.0-alpha.110) (2024-05-02)
87
+
88
+ **Note:** Version bump only for package @operato/property-editor
89
+
90
+
91
+
92
+
93
+
94
+ ## [2.0.0-alpha.109](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.108...v2.0.0-alpha.109) (2024-05-02)
95
+
96
+ **Note:** Version bump only for package @operato/property-editor
97
+
98
+
99
+
100
+
101
+
102
+ ## [2.0.0-alpha.108](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.107...v2.0.0-alpha.108) (2024-05-02)
103
+
104
+ **Note:** Version bump only for package @operato/property-editor
105
+
106
+
107
+
108
+
109
+
110
+ ## [2.0.0-alpha.107](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.106...v2.0.0-alpha.107) (2024-05-01)
111
+
112
+ **Note:** Version bump only for package @operato/property-editor
113
+
114
+
115
+
116
+
117
+
118
+ ## [2.0.0-alpha.106](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.105...v2.0.0-alpha.106) (2024-04-26)
119
+
120
+ **Note:** Version bump only for package @operato/property-editor
121
+
122
+
123
+
124
+
125
+
126
+ ## [2.0.0-alpha.105](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.104...v2.0.0-alpha.105) (2024-04-26)
127
+
128
+ **Note:** Version bump only for package @operato/property-editor
129
+
130
+
131
+
132
+
133
+
134
+ ## [2.0.0-alpha.104](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.103...v2.0.0-alpha.104) (2024-04-26)
135
+
136
+ **Note:** Version bump only for package @operato/property-editor
137
+
138
+
139
+
140
+
141
+
142
+ ## [2.0.0-alpha.103](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.102...v2.0.0-alpha.103) (2024-04-26)
143
+
144
+ **Note:** Version bump only for package @operato/property-editor
145
+
146
+
147
+
148
+
149
+
150
+ ## [2.0.0-alpha.102](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.101...v2.0.0-alpha.102) (2024-04-22)
151
+
152
+ **Note:** Version bump only for package @operato/property-editor
153
+
154
+
155
+
156
+
157
+
158
+ ## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
159
+
160
+ **Note:** Version bump only for package @operato/property-editor
161
+
162
+
163
+
164
+
165
+
166
+ ## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
167
+
168
+ **Note:** Version bump only for package @operato/property-editor
169
+
170
+
171
+
172
+
173
+
174
+ ## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
175
+
176
+ **Note:** Version bump only for package @operato/property-editor
177
+
178
+
179
+
180
+
181
+
182
+ ## [2.0.0-alpha.97](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.96...v2.0.0-alpha.97) (2024-04-21)
183
+
184
+
185
+ ### :bug: Bug Fix
186
+
187
+ * support show-line-numbers for ox-property-editor-textarea ([f92e064](https://github.com/hatiolab/operato/commit/f92e064a646f12c47f30cc3e97219c5bcd7bbaef))
188
+
189
+
190
+
191
+ ## [2.0.0-alpha.96](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.95...v2.0.0-alpha.96) (2024-04-21)
192
+
193
+
194
+ ### :bug: Bug Fix
195
+
196
+ * style for ox-parameters-builder ([6a9a3fb](https://github.com/hatiolab/operato/commit/6a9a3fb74493257790677ecc2664f27beb6b849e))
197
+
198
+
199
+
200
+ ## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
201
+
202
+
203
+ ### :bug: Bug Fix
204
+
205
+ * add styles for CSStyles property into PropertySpec ([1c18564](https://github.com/hatiolab/operato/commit/1c185645c2f8e8b0c8a654d15e3b7603b80d2864))
206
+
207
+
208
+
209
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
210
+
211
+ **Note:** Version bump only for package @operato/property-editor
212
+
213
+
214
+
215
+
216
+
217
+ ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
218
+
219
+ **Note:** Version bump only for package @operato/property-editor
220
+
221
+
222
+
223
+
224
+
225
+ ## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
226
+
227
+ **Note:** Version bump only for package @operato/property-editor
228
+
229
+
230
+
231
+
232
+
233
+ ## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
234
+
235
+ **Note:** Version bump only for package @operato/property-editor
236
+
237
+
238
+
239
+
240
+
241
+ ## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
242
+
243
+ **Note:** Version bump only for package @operato/property-editor
244
+
245
+
246
+
247
+
248
+
249
+ ## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
250
+
251
+ **Note:** Version bump only for package @operato/property-editor
252
+
253
+
254
+
255
+
256
+
257
+ ## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
258
+
259
+ **Note:** Version bump only for package @operato/property-editor
260
+
261
+
262
+
263
+
264
+
265
+ ## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
266
+
267
+ **Note:** Version bump only for package @operato/property-editor
268
+
269
+
270
+
271
+
272
+
273
+ ## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
274
+
275
+ **Note:** Version bump only for package @operato/property-editor
276
+
277
+
278
+
279
+
280
+
281
+ ## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
282
+
283
+ **Note:** Version bump only for package @operato/property-editor
284
+
285
+
286
+
287
+
288
+
289
+ ## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
290
+
291
+ **Note:** Version bump only for package @operato/property-editor
292
+
293
+
294
+
295
+
296
+
297
+ ## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
298
+
299
+ **Note:** Version bump only for package @operato/property-editor
300
+
301
+
302
+
303
+
304
+
305
+ ## [2.0.0-alpha.77](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.76...v2.0.0-alpha.77) (2024-04-14)
306
+
307
+ **Note:** Version bump only for package @operato/property-editor
308
+
309
+
310
+
311
+
312
+
313
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
314
+
315
+ **Note:** Version bump only for package @operato/property-editor
316
+
317
+
318
+
319
+
320
+
321
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
322
+
323
+ **Note:** Version bump only for package @operato/property-editor
324
+
325
+
326
+
327
+
328
+
329
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
330
+
331
+
332
+ ### :bug: Bug Fix
333
+
334
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
335
+
336
+
337
+
338
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
339
+
340
+ **Note:** Version bump only for package @operato/property-editor
341
+
342
+
343
+
344
+
345
+
346
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
347
+
348
+ **Note:** Version bump only for package @operato/property-editor
349
+
350
+
351
+
352
+
353
+
354
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
355
+
356
+ **Note:** Version bump only for package @operato/property-editor
357
+
358
+
359
+
360
+
361
+
362
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
363
+
364
+ **Note:** Version bump only for package @operato/property-editor
365
+
366
+
367
+
368
+
369
+
370
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
371
+
372
+ **Note:** Version bump only for package @operato/property-editor
373
+
374
+
375
+
376
+
377
+
378
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
379
+
380
+ **Note:** Version bump only for package @operato/property-editor
381
+
382
+
383
+
384
+
385
+
386
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
387
+
388
+ **Note:** Version bump only for package @operato/property-editor
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+ **Note:** Version bump only for package @operato/property-editor
397
+
398
+
399
+
400
+
401
+
402
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
403
+
404
+ **Note:** Version bump only for package @operato/property-editor
405
+
406
+
407
+
408
+
409
+
410
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
411
+
412
+ **Note:** Version bump only for package @operato/property-editor
413
+
414
+
415
+
416
+
417
+
418
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
419
+
420
+
421
+ ### :bug: Bug Fix
422
+
423
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
424
+
425
+
426
+
427
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
428
+
429
+ **Note:** Version bump only for package @operato/property-editor
430
+
431
+
432
+
433
+
434
+
435
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
436
+
437
+ **Note:** Version bump only for package @operato/property-editor
438
+
439
+
440
+
441
+
442
+
443
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
444
+
445
+ **Note:** Version bump only for package @operato/property-editor
446
+
447
+
448
+
449
+
450
+
451
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
452
+
453
+ **Note:** Version bump only for package @operato/property-editor
454
+
455
+
456
+
457
+
458
+
459
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
460
+
461
+ **Note:** Version bump only for package @operato/property-editor
462
+
463
+
464
+
465
+
466
+
467
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
468
+
469
+ **Note:** Version bump only for package @operato/property-editor
470
+
471
+
472
+
473
+
474
+
475
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
476
+
477
+ **Note:** Version bump only for package @operato/property-editor
478
+
479
+
480
+
481
+
482
+
483
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
484
+
485
+ **Note:** Version bump only for package @operato/property-editor
486
+
487
+
488
+
489
+
490
+
491
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
492
+
493
+ **Note:** Version bump only for package @operato/property-editor
494
+
495
+
496
+
497
+
498
+
499
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
500
+
501
+ **Note:** Version bump only for package @operato/property-editor
502
+
503
+
504
+
505
+
506
+
507
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
508
+
509
+ **Note:** Version bump only for package @operato/property-editor
510
+
511
+
512
+
513
+
514
+
515
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
516
+
517
+ **Note:** Version bump only for package @operato/property-editor
518
+
519
+
520
+
521
+
522
+
523
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
524
+
525
+
526
+ ### :bug: Bug Fix
527
+
528
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
529
+
530
+
531
+
532
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
533
+
534
+ **Note:** Version bump only for package @operato/property-editor
535
+
536
+
537
+
538
+
539
+
540
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
541
+
542
+ **Note:** Version bump only for package @operato/property-editor
543
+
544
+
545
+
546
+
547
+
548
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
549
+
550
+ **Note:** Version bump only for package @operato/property-editor
551
+
552
+
553
+
554
+
555
+
556
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
557
+
558
+ **Note:** Version bump only for package @operato/property-editor
559
+
560
+
561
+
562
+
563
+
564
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
565
+
566
+ **Note:** Version bump only for package @operato/property-editor
567
+
568
+
569
+
570
+
571
+
572
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
573
+
574
+ **Note:** Version bump only for package @operato/property-editor
575
+
576
+
577
+
578
+
579
+
580
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
581
+
582
+ **Note:** Version bump only for package @operato/property-editor
583
+
584
+
585
+
586
+
587
+
588
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
589
+
590
+ **Note:** Version bump only for package @operato/property-editor
591
+
592
+
593
+
594
+
595
+
596
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
597
+
598
+ **Note:** Version bump only for package @operato/property-editor
599
+
600
+
601
+
602
+
603
+
6
604
  ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
7
605
 
8
606
  **Note:** Version bump only for package @operato/property-editor
package/demo/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -16,13 +16,40 @@
16
16
 
17
17
  ox-properties-dynamic-view {
18
18
  width: 100vw;
19
+
20
+ display: flex;
21
+ flex-direction: column;
19
22
  }
20
23
  </style>
21
24
 
22
25
  <script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.2/web-animations-next-lite.min.js"></script>
23
26
 
24
27
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
25
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
36
+ <link
37
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
38
+ rel="stylesheet"
39
+ />
40
+
41
+ <link
42
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
43
+ rel="stylesheet"
44
+ />
45
+ <link
46
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
47
+ rel="stylesheet"
48
+ />
49
+ <link
50
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
51
+ rel="stylesheet"
52
+ />
26
53
  </head>
27
54
  <body>
28
55
  <div id="demo"></div>
@@ -173,7 +200,10 @@
173
200
  {
174
201
  type: 'textarea',
175
202
  label: 'TA',
176
- name: 'TA'
203
+ name: 'TA',
204
+ styles: {
205
+ flex: '1'
206
+ }
177
207
  },
178
208
  {
179
209
  type: 'options',
@@ -8,7 +8,7 @@ export declare class OxPropertiesDynamicView extends LitElement {
8
8
  [name: string]: any;
9
9
  };
10
10
  props?: PropertySpec[];
11
- render(): import("lit").TemplateResult<1>;
11
+ render(): import("lit-html").TemplateResult<1>;
12
12
  firstUpdated(): void;
13
13
  updated(changes: PropertyValues<this>): void;
14
14
  _onPropsChanged(props: PropertySpec[]): void;
@@ -56,7 +56,7 @@ let OxPropertiesDynamicView = class OxPropertiesDynamicView extends LitElement {
56
56
  const specs = this.props || [];
57
57
  this.textContent = '';
58
58
  specs.forEach(spec => {
59
- const { label, type, name, placeholder, editor, quantifier, observe, property, defaultValue } = spec;
59
+ const { label, type, name, placeholder, editor, quantifier, observe, property, defaultValue, styles } = spec;
60
60
  let elementType = OxPropertyEditor.getEditor(type);
61
61
  if (!elementType) {
62
62
  console.warn('Property Editor not defined', type);
@@ -76,6 +76,11 @@ let OxPropertiesDynamicView = class OxPropertiesDynamicView extends LitElement {
76
76
  }
77
77
  element.property = property;
78
78
  element.setAttribute('property-editor', 'true');
79
+ if (styles) {
80
+ Object.keys(styles).forEach((key) => {
81
+ element.style[key] = styles[key];
82
+ });
83
+ }
79
84
  this.appendChild(element);
80
85
  });
81
86
  }