@tailor-cms/ce-accordion-edit 0.0.10 → 0.0.12

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 (4) hide show
  1. package/dist/index.cjs +1286 -24664
  2. package/dist/index.js +1290 -24668
  3. package/dist/style.css +10 -491
  4. package/package.json +4 -5
package/dist/style.css CHANGED
@@ -1,510 +1,29 @@
1
- .user-avatar-container[data-v-45935d71] {
2
- padding: 0.125rem;
3
- overflow: hidden !important;
1
+ .v-expansion-panel[data-v-15f10ea6] {
2
+ border: thin solid rgba(0, 0, 0, 0.12);
4
3
  }
5
- .user-avatar-container .user-avatar[data-v-45935d71] {
6
- background-position: center;
7
- background-repeat: no-repeat;
8
- background-size: cover;
9
- border-radius: 50%;
10
- }.header[data-v-be7786f0] {
11
- display: flex;
12
- align-items: flex-start;
13
- }
14
- .header .info-container[data-v-be7786f0] {
15
- display: flex;
16
- flex-direction: column;
17
- flex: 0 100%;
18
- max-width: calc(100% - 12rem);
19
- margin-left: 0.75rem;
20
- }
21
- .header .info-container .author[data-v-be7786f0] {
22
- display: inline-block;
23
- max-width: 75%;
24
- font-size: 1rem;
25
- }
26
- .header .info-container .edited[data-v-be7786f0],
27
- .header .info-container .time[data-v-be7786f0] {
28
- font-size: 0.75rem;
29
- }
30
- .header .info-container hr.v-divider--vertical[data-v-be7786f0] {
31
- margin: 0.25rem 0.125rem 0.125rem 0.625rem;
32
- }
33
- .header .info-container[data-v-be7786f0] .editor-link {
34
- display: inline-flex;
35
- align-self: flex-end;
36
- }
37
- .header .actions[data-v-be7786f0] {
38
- margin-left: auto;
39
- }.content[data-v-40deed1f] {
40
- margin-top: 0.375rem;
41
- }
42
- .content pre[data-v-40deed1f] {
43
- height: 100%;
44
- margin: 0;
45
- padding: 0 0.25rem 0.5rem 0;
46
- font: inherit;
47
- white-space: pre-wrap;
48
- word-break: break-all;
49
- word-wrap: break-word;
50
- overflow-wrap: break-word;
51
- background: inherit;
52
- border: none;
53
- overflow: hidden;
54
- }
55
- .content.resolved[data-v-40deed1f] {
56
- opacity: 0.7;
57
- }
58
- .content.resolved .resolvement-options[data-v-40deed1f] {
59
- display: flex;
60
- align-items: center;
61
- margin-bottom: 0.25rem;
62
- font-size: 0.75rem;
63
- }.comment[data-v-a3fef950] {
64
- display: flex;
65
- flex-direction: column;
66
- font-family: Roboto, Arial, sans-serif;
67
- }
68
- .comment-body[data-v-a3fef950] {
69
- flex: 1;
70
- padding: 0 0.25rem 0 3.25rem;
71
- }
72
- .comment-editor.v-textarea[data-v-a3fef950] {
73
- margin: 0.75rem 0 0 0;
74
- }
75
- .comment-editor.v-textarea[data-v-a3fef950] .v-input__slot {
76
- width: auto;
77
- }.thread-list[data-v-4ecec4f3] {
78
- margin: 0;
79
- padding: 0;
80
- list-style: none;
81
- }
82
- .thread-list .thread-list-item .v-divider[data-v-4ecec4f3] {
83
- margin: 0 0.25rem 1rem 0.25rem;
84
- color: #fafafa;
85
- opacity: 0.3;
86
- }
87
- .thread-list .thread-list-item:first-child .v-divider[data-v-4ecec4f3] {
88
- display: none;
89
- }.unseen-divider[data-v-4263ea62] {
90
- text-align: center;
91
- }
92
- .unseen-divider .v-divider[data-v-4263ea62] {
93
- margin: 1rem 0 0.25rem;
94
- }
95
- .unseen-divider[data-v-4263ea62] .v-chip.v-chip--outlined.v-chip {
96
- margin: -1.5rem 0 0.5rem 0;
97
- border-radius: 1rem !important;
98
- background-color: #fafafa !important;
99
- }
100
- .unseen-divider[data-v-4263ea62] .v-chip.v-chip--outlined.v-chip .v-chip__content .v-chip__close {
101
- margin-top: 0.125rem;
102
- font-size: 0.75rem !important;
103
- }.discussion-thread[data-v-07bad38e] {
104
- width: 100%;
105
- }
106
- .discussion-thread.scroll-container[data-v-07bad38e] {
107
- max-height: 31.25rem;
108
- box-sizing: content-box;
109
- overflow-y: scroll;
110
- overflow-x: hidden;
111
- -ms-overflow-style: none !important;
112
- scrollbar-width: none !important;
113
- }
114
- .discussion-thread.scroll-container[data-v-07bad38e]::-webkit-scrollbar {
115
- display: none !important;
116
- }
117
- .discussion-thread .fade-enter-active[data-v-07bad38e],
118
- .discussion-thread .fade-leave-active[data-v-07bad38e] {
119
- transition: opacity 0.5s;
120
- }
121
- .discussion-thread .fade-enter[data-v-07bad38e],
122
- .discussion-thread .fade-leave-to[data-v-07bad38e] {
123
- opacity: 0;
124
- }.embedded-discussion[data-v-99396f68] {
125
- font-family: Roboto, Arial, sans-serif;
126
- }
127
- .embedded-discussion .discussion-heading[data-v-99396f68] {
128
- padding: 0 0 0.5rem 0;
129
- font-size: 0.875rem;
130
- font-weight: 700;
131
- text-transform: uppercase;
132
- letter-spacing: 1px;
133
- }
134
- .embedded-discussion .resolve-btn-container[data-v-99396f68] {
135
- display: flex;
136
- justify-content: flex-end;
137
- margin: 0.5rem 0 0 0;
138
- }
139
- .embedded-discussion .header[data-v-99396f68] {
140
- margin: 0.75rem 0 1.25rem 0;
141
- font-size: 1.125rem;
142
- font-weight: 400;
143
- }
144
- .embedded-discussion .comment-input[data-v-99396f68] {
145
- margin: 0 0.25rem 0 0.25rem;
146
- }
147
- .embedded-discussion .alert[data-v-99396f68] .v-icon {
148
- color: var(--v-primary-darken2) !important;
149
- }
150
- .embedded-discussion .v-input[data-v-99396f68] textarea::placeholder {
151
- opacity: 0.85;
152
- }[data-v-338458c5] .v-menu__content {
153
- background: #fff;
154
- }
155
- [data-v-338458c5] .v-menu__content .embedded-discussion {
156
- text-align: left;
157
- }
158
- [data-v-338458c5] .v-menu__content .comment .author {
159
- font-size: 0.875rem;
160
- }
161
- [data-v-338458c5] .comment-body {
162
- padding: 0 0.25rem 0 3.9375rem;
163
- }
164
- .unseen[data-v-338458c5] {
165
- font-size: 0.75rem;
166
- }.content-element[data-v-383f7426] {
167
- position: relative;
168
- border: 1px solid transparent;
169
- }
170
- .content-element[data-v-383f7426]::after {
171
- content: "";
172
- display: none;
173
- position: absolute;
174
- top: 0;
175
- right: -0.125rem;
176
- width: 0.125rem;
177
- height: 100%;
178
- }
179
- .content-element.focused[data-v-383f7426] {
180
- border: 1px dashed #1de9b6;
181
- }
182
- .content-element.focused[data-v-383f7426]::after {
183
- display: block;
184
- background: #1de9b6;
185
- }
186
- .content-element.selected[data-v-383f7426] {
187
- border: 1px dashed #ff4081;
188
- }
189
- .content-element.selected[data-v-383f7426]::after {
190
- display: block;
191
- background: #ff4081;
192
- }
193
- .frame[data-v-383f7426] {
194
- padding: 10px 20px;
195
- border: 1px solid #e1e1e1;
196
- }
197
- .element-actions[data-v-383f7426] {
198
- display: flex;
199
- flex-direction: column;
200
- position: absolute;
201
- top: -0.0625rem;
202
- right: -2.5rem;
203
- width: 3rem;
204
- height: 100%;
205
- padding-left: 0.75rem;
206
- }
207
- .element-actions > *[data-v-383f7426] {
208
- min-height: 1.75rem;
209
- opacity: 0;
210
- transition: opacity 0.1s linear;
211
- }
212
- .element-actions > .is-visible[data-v-383f7426] {
213
- opacity: 1;
214
- transition: opacity 0.5s linear;
215
- }
216
- .active-users[data-v-383f7426] {
217
- position: absolute;
218
- top: 0;
219
- left: -1.625rem;
220
- }
221
- .save-indicator[data-v-383f7426] {
222
- position: absolute;
223
- left: 0;
224
- }
225
- .header[data-v-383f7426] {
226
- width: 100%;
227
- max-height: 0;
228
- }
229
- .header.visible[data-v-383f7426] {
230
- max-height: unset;
231
- padding: 0 0 0.5rem;
232
- }
233
- .diff.new[data-v-383f7426] {
234
- border: none;
235
- box-shadow: 0 0 0 2px rgb(var(--v-theme-success-lighten-4)) !important;
236
- }
237
- .diff.changed[data-v-383f7426], .diff.removed[data-v-383f7426] {
238
- border: none;
239
- box-shadow: 0 0 0 2px rgb(var(--v-theme-secondary-lighten-4)) !important;
240
- }
241
- .diff .element-actions[data-v-383f7426] {
242
- display: none;
243
- }.drag-handle[data-v-c1b775ac] {
244
- position: absolute;
245
- left: -0.1875rem;
246
- z-index: 2;
247
- width: 1.625rem;
248
- opacity: 0;
249
- }
250
- .drag-handle .mdi[data-v-c1b775ac] {
251
- color: #888;
252
- font-size: 1.75rem;
253
- }
254
- .hovered .drag-handle[data-v-c1b775ac] {
255
- opacity: 1;
256
- transition: opacity 0.6s ease-in-out;
257
- cursor: pointer;
258
- }
259
- .disabled .drag-handle[data-v-c1b775ac] {
260
- display: none;
261
- }
262
- .contained-content[data-v-c1b775ac] {
263
- position: relative;
264
- margin: 7px 0;
265
- padding: 0;
266
- }.content-element[data-v-30027808] {
267
- border: 1px solid #e1e1e1;
268
- }
269
- .content-element.selected[data-v-30027808] {
270
- border-style: dashed;
271
- border-color: #444;
272
- }
273
- .content-element.selected[data-v-30027808]::after {
274
- display: none;
275
- }
276
- .element-wrapper[data-v-30027808] {
277
- position: relative;
278
- }
279
- .open-element-button[data-v-30027808] {
280
- position: absolute;
281
- top: -0.75rem;
282
- right: -0.75rem;
283
- }.dialog-title[data-v-7f696b46] {
284
- display: flex;
285
- }
286
- .dialog-title .text-truncate[data-v-7f696b46] {
287
- flex: 1;
288
- text-align: left;
289
- }.v-treeview[data-v-eedd142d] {
290
- max-height: 31.25rem;
291
- }.element-container[data-v-52ffe34b] {
292
- min-height: 20rem;
293
- padding: 0 0 1.875rem;
294
- border-top-left-radius: 0.5rem;
295
- border-top-right-radius: 0.5rem;
296
- overflow: hidden;
297
- }
298
- .group-heading[data-v-52ffe34b] {
299
- margin: 0 2.5rem 0.75rem;
300
- padding-top: 0.5rem;
301
- font-size: 0.875rem;
302
- font-weight: 500;
303
- line-height: 1rem;
304
- text-align: left;
305
- }
306
- .group-elements[data-v-52ffe34b] {
307
- display: flex;
308
- flex-wrap: wrap;
309
- width: 100%;
310
- padding: 0 2.25rem;
311
- }
312
- .add-element[data-v-52ffe34b] {
313
- width: 8.125rem;
314
- min-width: 8.125rem;
315
- height: auto !important;
316
- min-height: 4.75rem;
317
- padding: 0.5rem 0.375rem !important;
318
- }
319
- .add-element[data-v-52ffe34b] .v-btn__content {
320
- text-transform: none;
321
- }
322
- .add-element[data-v-52ffe34b] .v-btn__prepend {
323
- margin-bottom: 0.25rem;
324
- }/* Do not remove! Makes sure vuedraggable detects correct scrollable parent */
325
- .list-group[data-v-72a17b8e] {
326
- padding: 0.625rem 1.5rem;
327
- }
328
- [data-v-72a17b8e] .sortable-ghost .drag-handle {
329
- display: none;
330
- }
331
- [data-v-72a17b8e] .sortable-ghost .content-element {
332
- max-height: 9.375rem;
333
- background: #f4f5f5;
334
- }
335
- [data-v-72a17b8e] .sortable-ghost .content-element > * {
336
- visibility: hidden;
337
- }
338
- [data-v-72a17b8e] .sortable-drag .content-element {
339
- max-height: auto;
340
- background: #fff;
341
- }.default-activator-state[data-v-8bab654d], .inline-activator.disabled[data-v-8bab654d], .inline-activator.disabled[data-v-8bab654d]:hover, .inline-activator[data-v-8bab654d] {
342
- padding: 0 3.125rem;
343
- opacity: 0;
344
- }
345
- .inline-activator[data-v-8bab654d] {
346
- display: flex;
347
- align-items: center;
348
- width: 100%;
349
- margin: 0;
350
- padding: 0 3.125rem;
351
- opacity: 0;
352
- transition: opacity 0.3s, padding 0.3s;
353
- }
354
- .inline-activator hr[data-v-8bab654d] {
355
- flex: 1;
356
- display: inline-flex;
357
- margin: 0;
358
- border-top: 0.0625rem solid #455a64;
359
- }
360
- .inline-activator[data-v-8bab654d]:hover, .inline-activator[data-v-8bab654d]:focus {
361
- padding: 0 0 1.25rem 0;
362
- opacity: 1;
363
- outline: none;
364
- transition: opacity 0.3s 0.25s, padding 0.3s 0.1s;
365
- }
366
- .inline-activator.disabled[data-v-8bab654d], .inline-activator.disabled[data-v-8bab654d]:hover {
367
- pointer-events: none;
368
- }.list-item[data-v-bb7ebfba] .v-list-item__append i {
369
- opacity: 1 !important;
370
- }
371
- .list-item.readonly[data-v-bb7ebfba] {
372
- pointer-events: none;
373
- }
374
- .list-item.readonly .v-btn[data-v-bb7ebfba] {
375
- pointer-events: auto;
376
- }
377
- .list-item-active[data-v-bb7ebfba] {
378
- color: #f9c2d5;
379
- }.v-list-group[data-v-aa0a487f] {
380
- --list-indent-size: 0.75rem;
381
- }.file-name[data-v-d2256d71] {
382
- font-size: 1rem;
383
- display: -webkit-box;
384
- -webkit-line-clamp: 2;
385
- -webkit-box-orient: vertical;
386
- overflow: hidden !important;
387
- text-overflow: ellipsis !important;
388
- word-wrap: break-word;
389
- word-break: break-all;
390
- }
391
- .v-overlay[data-v-d2256d71] {
392
- transition: all 0.3s ease;
393
- }
394
- .v-overlay.expanded[data-v-d2256d71] {
395
- backdrop-filter: blur(18px);
396
- }
397
- .v-overlay[data-v-d2256d71] img {
398
- max-width: 100%;
399
- }
400
- .v-label[data-v-d2256d71] {
401
- opacity: 0.65;
402
- }.v-sheet[data-v-9f40ea62] {
403
- display: flex;
404
- padding: 0.25rem;
405
- gap: 0.125rem;
406
- }
407
- .v-sheet .v-divider[data-v-9f40ea62] {
408
- margin: 0 0.125rem;
409
- }
410
- .v-btn[data-v-9f40ea62] {
411
- color: currentColor !important;
412
- }
413
- .v-btn[data-v-9f40ea62] .v-icon {
414
- font-size: 1.24rem !important;
415
- }[data-v-46860bbe] .ProseMirror {
416
- overflow-y: auto;
417
- outline: none;
418
- width: 100%;
419
- }
420
- [data-v-46860bbe] .ProseMirror > * + * {
421
- margin-top: 0.75em;
422
- }
423
- [data-v-46860bbe] .ProseMirror ul,[data-v-46860bbe] .ProseMirror ol {
424
- padding: 0 1rem;
425
- }
426
- [data-v-46860bbe] .ProseMirror pre {
427
- background: #0d0d0d;
428
- color: #fff;
429
- padding: 0.75rem 1rem;
430
- border-radius: 0.5rem;
431
- }
432
- [data-v-46860bbe] .ProseMirror pre code {
433
- color: inherit;
434
- padding: 0;
435
- background: none;
436
- font-size: 0.8rem;
437
- }
438
- [data-v-46860bbe] .ProseMirror blockquote {
439
- padding-left: 1rem;
440
- border-left: 2px solid color-mix(in srgb, currentColor 20%, transparent);
441
- }
442
- .v-field--center-affix[data-v-46860bbe] .v-label.v-field-label:not(.v-field-label--floating) {
443
- top: calc(50% - 1.125rem);
444
- }[data-v-e9b75b4e] .add-element-container {
445
- margin-top: 1rem !important;
446
- }
447
- [data-v-e9b75b4e] .add-element-container .v-btn {
448
- margin-top: 0 !important;
449
- margin-bottom: 0.5rem !important;
450
- }
451
- [data-v-e9b75b4e] .list-group {
452
- padding: 1rem 2.5rem;
453
- }
454
- [data-v-e9b75b4e] .list-group .contained-content {
455
- margin: 0;
456
- }
457
- [data-v-e9b75b4e] .v-input__details {
458
- padding-inline: 1rem;
459
- }
460
- .question[data-v-e9b75b4e] {
461
- position: relative;
462
- }
463
- .question[data-v-e9b75b4e]::after {
464
- content: "";
465
- position: absolute;
466
- height: 100%;
467
- left: 0;
468
- top: 0;
469
- width: 100%;
470
- border: 1px solid currentColor;
471
- opacity: 0.38;
472
- pointer-events: none;
473
- border-radius: inherit;
474
- transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
475
- }
476
- .question.focused[data-v-e9b75b4e]::after {
477
- opacity: 1;
478
- border-width: 2px;
479
- }
480
- .question[data-v-e9b75b4e]:hover::after {
481
- opacity: 0.87;
482
- }
483
- .v-input--error .question[data-v-e9b75b4e]::after {
484
- color: rgb(var(--v-theme-error));
485
- opacity: 1;
486
- }[data-v-0c4fbd95] .v-input__control {
487
- flex-wrap: wrap;
488
- }.accordion-title[data-v-e73c8d01] {
4
+ .accordion-title[data-v-15f10ea6] {
489
5
  font-size: 1rem;
490
6
  font-weight: 500;
491
7
  letter-spacing: 0.009375em;
492
8
  }
493
- .v-input[data-v-e73c8d01] {
9
+ .v-input[data-v-15f10ea6] {
494
10
  position: relative;
495
11
  }
496
- .v-input[data-v-e73c8d01] .v-input__details {
12
+ .v-input[data-v-15f10ea6] .v-input__details {
497
13
  position: absolute;
498
14
  padding: 0 !important;
499
15
  z-index: 9;
500
16
  }
501
- .v-input[data-v-e73c8d01] .v-input__details .v-messages__message {
17
+ .v-input[data-v-15f10ea6] .v-input__details .v-messages__message {
502
18
  margin-top: 0.25rem;
503
19
  border-radius: 4px;
504
20
  padding: 0.5rem 0.75rem;
505
21
  background: #424242;
506
22
  color: #fff !important;
507
- }.tce-accordion[data-v-3645ad06] {
23
+ }.tce-accordion[data-v-9edcde9f] {
508
24
  text-align: left;
509
25
  margin: 1rem 0;
26
+ }
27
+ [data-v-9edcde9f] .sortable-ghost > * {
28
+ visibility: hidden;
510
29
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS accordion element",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "0.0.10",
6
+ "version": "0.0.12",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -25,13 +25,12 @@
25
25
  "typescript": "^5.1.6",
26
26
  "vite": "^4.4.5",
27
27
  "vue-tsc": "^1.8.5",
28
- "@tailor-cms/ce-accordion-manifest": "0.0.10"
28
+ "@tailor-cms/ce-accordion-manifest": "0.0.12"
29
29
  },
30
30
  "dependencies": {
31
- "@paralleldrive/cuid2": "^2.2.2",
32
- "@tailor-cms/core-components": "^1.0.24",
33
31
  "lodash": "^4.17.21",
34
- "sortablejs": "^1.15.3"
32
+ "sortablejs": "^1.15.3",
33
+ "uuid": "^11.0.5"
35
34
  },
36
35
  "publishConfig": {
37
36
  "access": "public"