loseta 0.9.0 → 0.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loseta",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Native CSS component scaffolds with the shadcn feel.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -0,0 +1,84 @@
1
+ /* Attachment */
2
+ @layer loseta.components {
3
+ .attachment {
4
+ position: relative;
5
+ display: flex;
6
+ width: fit-content;
7
+ max-width: 100%;
8
+ min-width: 0;
9
+ flex-shrink: 0;
10
+ flex-wrap: wrap;
11
+ border-style: solid;
12
+ border-width: 1px;
13
+
14
+ &[data-orientation='vertical'] {
15
+ width: 7rem;
16
+ flex-direction: column;
17
+ }
18
+
19
+ > [data-slot='media'] {
20
+ position: relative;
21
+ display: flex;
22
+ aspect-ratio: 1 / 1;
23
+ flex-shrink: 0;
24
+ align-items: center;
25
+ justify-content: center;
26
+ overflow: hidden;
27
+
28
+ > :is(img, svg) {
29
+ width: 100%;
30
+ height: 100%;
31
+ }
32
+
33
+ > img {
34
+ object-fit: cover;
35
+ }
36
+ }
37
+
38
+ > [data-slot='content'] {
39
+ display: flex;
40
+ flex: 1 1 auto;
41
+ min-width: 0;
42
+ flex-direction: column;
43
+
44
+ :is([data-slot='title'], [data-slot='description']) {
45
+ display: block;
46
+ max-width: 100%;
47
+ overflow: hidden;
48
+ text-overflow: ellipsis;
49
+ white-space: nowrap;
50
+ }
51
+
52
+ > [data-slot='description'][role='alert'] {
53
+ white-space: normal;
54
+ }
55
+ }
56
+
57
+ > [data-slot='actions'] {
58
+ display: flex;
59
+ flex-shrink: 0;
60
+ align-items: center;
61
+ }
62
+
63
+ &[data-orientation='vertical'] > [data-slot='actions'] {
64
+ position: absolute;
65
+ z-index: 2;
66
+ inset-block-start: 0.75rem;
67
+ inset-inline-end: 0.75rem;
68
+ }
69
+
70
+ > [data-slot='trigger'] {
71
+ position: absolute;
72
+ z-index: 1;
73
+ inset: 0;
74
+ border-style: none;
75
+ background-color: transparent;
76
+ outline-style: none;
77
+
78
+ @media (forced-colors: active) {
79
+ outline: 2px solid transparent;
80
+ outline-offset: 2px;
81
+ }
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,92 @@
1
+ /* Bubble */
2
+ @layer loseta.components {
3
+ .bubble-group {
4
+ display: flex;
5
+ min-width: 0;
6
+ flex-direction: column;
7
+ gap: 0.5rem;
8
+ }
9
+
10
+ .bubble {
11
+ position: relative;
12
+ display: flex;
13
+ width: fit-content;
14
+ max-width: 80%;
15
+ min-width: 0;
16
+ flex-direction: column;
17
+ gap: 0.25rem;
18
+
19
+ &[data-align='end'] {
20
+ align-self: flex-end;
21
+ }
22
+
23
+ &[data-variant='ghost'] {
24
+ max-width: 100%;
25
+ }
26
+
27
+ > [data-slot='content'] {
28
+ width: fit-content;
29
+ max-width: 100%;
30
+ min-width: 0;
31
+ overflow: hidden;
32
+ overflow-wrap: anywhere;
33
+ border-style: solid;
34
+ border-width: 1px;
35
+ border-color: transparent;
36
+ outline-style: none;
37
+
38
+ &:is(a, button) {
39
+ text-align: start;
40
+ }
41
+
42
+ @media (forced-colors: active) {
43
+ &:is(a, button) {
44
+ outline: 2px solid transparent;
45
+ outline-offset: 2px;
46
+ }
47
+ }
48
+ }
49
+
50
+ > [data-slot='reactions'] {
51
+ position: absolute;
52
+ z-index: 1;
53
+ display: flex;
54
+ width: fit-content;
55
+ align-items: center;
56
+ justify-content: center;
57
+ gap: 0.25rem;
58
+ inset-block-end: 0;
59
+ inset-inline-end: 0.75rem;
60
+ translate: 0 75%;
61
+
62
+ &[data-side='top'] {
63
+ inset-block-start: 0;
64
+ inset-block-end: auto;
65
+ translate: 0 -75%;
66
+ }
67
+
68
+ &[data-align='start'] {
69
+ inset-inline-start: 0.75rem;
70
+ inset-inline-end: auto;
71
+ }
72
+ }
73
+
74
+ [data-slot='reaction'] {
75
+ display: inline-flex;
76
+ flex-shrink: 0;
77
+ align-items: center;
78
+ justify-content: center;
79
+ gap: 0.25rem;
80
+ border-style: none;
81
+ border-radius: var(--radius-full);
82
+ font: inherit;
83
+ cursor: pointer;
84
+ outline-style: none;
85
+
86
+ @media (forced-colors: active) {
87
+ outline: 2px solid transparent;
88
+ outline-offset: 2px;
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,47 @@
1
+ /* Marker */
2
+ @layer loseta.components {
3
+ .marker {
4
+ position: relative;
5
+ display: flex;
6
+ min-height: 1rem;
7
+ width: 100%;
8
+ align-items: center;
9
+ gap: 0.5rem;
10
+ text-align: start;
11
+
12
+ > [data-slot='icon'] {
13
+ display: inline-flex;
14
+ width: 1rem;
15
+ height: 1rem;
16
+ flex-shrink: 0;
17
+ align-items: center;
18
+ justify-content: center;
19
+ }
20
+
21
+ > [data-slot='content'] {
22
+ min-width: 0;
23
+ overflow-wrap: anywhere;
24
+ }
25
+
26
+ &[data-variant='separator'] {
27
+ &::before,
28
+ &::after {
29
+ height: 1px;
30
+ min-width: 0;
31
+ flex: 1;
32
+ content: '';
33
+ }
34
+
35
+ > [data-slot='content'] {
36
+ flex: none;
37
+ text-align: center;
38
+ }
39
+ }
40
+
41
+ &[data-variant='border'] {
42
+ border-block-end-style: solid;
43
+ border-block-end-width: 1px;
44
+ padding-block-end: 0.5rem;
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,56 @@
1
+ /* Message Scroller */
2
+ @layer loseta.components {
3
+ .message-scroller {
4
+ position: relative;
5
+ display: flex;
6
+ min-height: 0;
7
+ width: 100%;
8
+ flex-direction: column;
9
+ overflow: hidden;
10
+ }
11
+
12
+ .message-scroller-viewport {
13
+ min-height: 0;
14
+ flex: 1 1 auto;
15
+ overflow-y: auto;
16
+ overscroll-behavior: contain;
17
+ scrollbar-width: thin;
18
+ outline-style: none;
19
+
20
+ @media (forced-colors: active) {
21
+ outline: 2px solid transparent;
22
+ outline-offset: 2px;
23
+ }
24
+ }
25
+
26
+ .message-scroller [data-slot='content'] {
27
+ display: flex;
28
+ min-height: 100%;
29
+ min-width: 0;
30
+ flex-direction: column;
31
+ gap: 1rem;
32
+ }
33
+
34
+ .message-scroller [data-slot='jump'] {
35
+ position: absolute;
36
+ z-index: 2;
37
+ inset-block-end: 1rem;
38
+ inset-inline-end: 1rem;
39
+ display: inline-flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ border-style: solid;
43
+ border-width: 1px;
44
+ outline-style: none;
45
+ cursor: pointer;
46
+
47
+ &[hidden] {
48
+ display: none;
49
+ }
50
+
51
+ @media (forced-colors: active) {
52
+ outline: 2px solid transparent;
53
+ outline-offset: 2px;
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,61 @@
1
+ /* Message */
2
+ @layer loseta.components {
3
+ .message-group {
4
+ display: flex;
5
+ width: 100%;
6
+ min-width: 0;
7
+ flex-direction: column;
8
+ gap: 0.5rem;
9
+ }
10
+
11
+ .message {
12
+ position: relative;
13
+ display: flex;
14
+ width: 100%;
15
+ min-width: 0;
16
+ gap: 0.5rem;
17
+
18
+ &[data-align='end'] {
19
+ flex-direction: row-reverse;
20
+ }
21
+
22
+ > [data-slot='avatar'] {
23
+ display: flex;
24
+ flex-shrink: 0;
25
+ align-items: center;
26
+ align-self: flex-end;
27
+ justify-content: center;
28
+ }
29
+
30
+ > [data-slot='content'] {
31
+ display: flex;
32
+ flex: 1 1 auto;
33
+ min-width: 0;
34
+ flex-direction: column;
35
+ align-items: flex-start;
36
+ gap: 0.5rem;
37
+ }
38
+
39
+ &[data-align='end'] > [data-slot='content'] {
40
+ align-items: flex-end;
41
+ }
42
+
43
+ [data-slot='header'],
44
+ [data-slot='footer'] {
45
+ display: flex;
46
+ max-width: 100%;
47
+ min-width: 0;
48
+ align-items: center;
49
+ gap: 0.5rem;
50
+ }
51
+
52
+ &[data-align='end'] [data-slot='footer'] {
53
+ justify-content: flex-end;
54
+ }
55
+
56
+ [data-slot='header'] > *,
57
+ [data-slot='footer'] > * {
58
+ min-width: 0;
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,92 @@
1
+ /* Questionnaire */
2
+ @layer loseta.components {
3
+ .questionnaire {
4
+ display: flex;
5
+ width: 100%;
6
+ min-width: 0;
7
+ flex-direction: column;
8
+ gap: 1rem;
9
+
10
+ > [data-slot='progress'] {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 0.5rem;
14
+
15
+ > progress {
16
+ display: block;
17
+ width: 100%;
18
+ appearance: none;
19
+ overflow: hidden;
20
+
21
+ &::-webkit-progress-bar {
22
+ appearance: none;
23
+ }
24
+ }
25
+ }
26
+
27
+ [data-slot='item'] {
28
+ display: flex;
29
+ min-width: 0;
30
+ flex-direction: column;
31
+ gap: 0.75rem;
32
+ border-style: none;
33
+ margin: 0;
34
+ padding: 0;
35
+
36
+ &[hidden] {
37
+ display: none;
38
+ }
39
+
40
+ > legend {
41
+ padding: 0;
42
+ }
43
+ }
44
+
45
+ [data-slot='choices'] {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: 0.5rem;
49
+ }
50
+
51
+ .questionnaire-choice {
52
+ position: relative;
53
+ display: flex;
54
+ align-items: flex-start;
55
+ gap: 0.75rem;
56
+ border-style: solid;
57
+ border-width: 1px;
58
+ cursor: pointer;
59
+
60
+ > input {
61
+ flex-shrink: 0;
62
+ margin-block-start: 0.125rem;
63
+ }
64
+
65
+ > [data-slot='text'] {
66
+ display: flex;
67
+ min-width: 0;
68
+ flex-direction: column;
69
+ gap: 0.125rem;
70
+ }
71
+ }
72
+
73
+ [data-slot='input'] {
74
+ width: 100%;
75
+ }
76
+
77
+ [data-slot='actions'] {
78
+ display: flex;
79
+ flex-wrap: wrap;
80
+ align-items: center;
81
+ gap: 0.5rem;
82
+ }
83
+
84
+ [data-slot='skip'] {
85
+ margin-inline-end: auto;
86
+ }
87
+
88
+ [data-slot='error'] {
89
+ margin: 0;
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,78 @@
1
+ /* Trace */
2
+ @layer loseta.components {
3
+ .trace {
4
+ display: block;
5
+
6
+ > summary {
7
+ display: flex;
8
+ width: 100%;
9
+ min-width: 0;
10
+ align-items: center;
11
+ gap: 0.5rem;
12
+ list-style-type: none;
13
+ cursor: pointer;
14
+ outline-style: none;
15
+
16
+ &::-webkit-details-marker {
17
+ display: none;
18
+ }
19
+
20
+ &::after {
21
+ width: 0.375rem;
22
+ height: 0.375rem;
23
+ flex-shrink: 0;
24
+ border-inline-end-style: solid;
25
+ border-inline-end-width: 1px;
26
+ border-block-end-style: solid;
27
+ border-block-end-width: 1px;
28
+ content: '';
29
+ rotate: -45deg;
30
+ transition-property: rotate;
31
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
32
+ transition-duration: 150ms;
33
+ }
34
+
35
+ @media (forced-colors: active) {
36
+ outline: 2px solid transparent;
37
+ outline-offset: 2px;
38
+ }
39
+ }
40
+
41
+ &[open] > summary::after {
42
+ rotate: 45deg;
43
+ }
44
+
45
+ > summary > [data-slot='icon'] {
46
+ display: inline-flex;
47
+ width: 1rem;
48
+ height: 1rem;
49
+ flex-shrink: 0;
50
+ align-items: center;
51
+ justify-content: center;
52
+ }
53
+
54
+ > summary > [data-slot='title'] {
55
+ min-width: 0;
56
+ overflow: hidden;
57
+ text-overflow: ellipsis;
58
+ white-space: nowrap;
59
+ }
60
+
61
+ > summary > [data-slot='status'] {
62
+ flex-shrink: 0;
63
+ }
64
+
65
+ > [data-slot='body'] {
66
+ display: flex;
67
+ min-width: 0;
68
+ flex-direction: column;
69
+ gap: 0.5rem;
70
+ }
71
+
72
+ [data-slot='source'] {
73
+ display: inline-flex;
74
+ align-items: center;
75
+ gap: 0.25rem;
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,41 @@
1
+ <!-- States -->
2
+ <div style="display: flex; flex-direction: column; gap: 0.75rem; max-width: 24rem">
3
+ <div class="attachment">
4
+ <div data-slot="media"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></svg></div>
5
+ <div data-slot="content">
6
+ <span data-slot="title">report.pdf</span>
7
+ <span data-slot="description">PDF · 2.4 MB</span>
8
+ </div>
9
+ <div data-slot="actions">
10
+ <button type="button" class="btn" data-variant="ghost" data-size="icon-xs" aria-label="Remove report.pdf">×</button>
11
+ </div>
12
+ </div>
13
+ <div class="attachment" aria-busy="true">
14
+ <div data-slot="media"><span class="spinner" data-size="sm"></span></div>
15
+ <div data-slot="content">
16
+ <span data-slot="title">sales-dashboard.csv</span>
17
+ <span data-slot="description">Uploading · 64%</span>
18
+ </div>
19
+ </div>
20
+ <div class="attachment">
21
+ <div data-slot="media"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="12" x2="12" y1="8" y2="12"/><line x1="12" x2="12.01" y1="16" y2="16"/></svg></div>
22
+ <div data-slot="content">
23
+ <span data-slot="title">workspace.zip</span>
24
+ <span data-slot="description" role="alert">Upload failed. The file is larger than 10 MB.</span>
25
+ </div>
26
+ </div>
27
+ </div>
28
+
29
+ <!-- Media -->
30
+ <div class="attachment" data-orientation="vertical">
31
+ <div data-slot="media">
32
+ <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2394a3b8'/%3E%3Cstop offset='1' stop-color='%23e2e8f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='90' fill='url(%23g)'/%3E%3Ctext x='80' y='49' text-anchor='middle' font-family='sans-serif' font-size='12' fill='%23334155'%3E16:9%3C/text%3E%3C/svg%3E" alt="Workspace preview">
33
+ </div>
34
+ <div data-slot="content">
35
+ <span data-slot="title">cover.png</span>
36
+ <span data-slot="description">PNG · 840 KB</span>
37
+ </div>
38
+ <div data-slot="actions">
39
+ <button type="button" class="btn" data-variant="secondary" data-size="icon-xs" aria-label="Remove cover.png">×</button>
40
+ </div>
41
+ </div>
@@ -0,0 +1,21 @@
1
+ <!-- Variants -->
2
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start">
3
+ <div class="bubble"><div data-slot="content">Default</div></div>
4
+ <div class="bubble" data-variant="secondary"><div data-slot="content">Secondary</div></div>
5
+ <div class="bubble" data-variant="muted"><div data-slot="content">Muted</div></div>
6
+ <div class="bubble" data-variant="tinted"><div data-slot="content">Tinted</div></div>
7
+ <div class="bubble" data-variant="outline"><div data-slot="content">Outline</div></div>
8
+ <div class="bubble" data-variant="ghost"><div data-slot="content">Ghost content</div></div>
9
+ <div class="bubble" data-variant="destructive"><div data-slot="content">Something went wrong.</div></div>
10
+ </div>
11
+
12
+ <!-- Reactions -->
13
+ <div style="display: flex; flex-direction: column; gap: 2rem; padding-block: 1rem; max-width: 22rem">
14
+ <div class="bubble" data-variant="muted" data-align="start">
15
+ <div data-slot="content">The install failure came from an out-of-date lockfile.</div>
16
+ <div data-slot="reactions">
17
+ <button type="button" data-slot="reaction" aria-pressed="true" aria-label="Helpful, 2 reactions">👍 <span>2</span></button>
18
+ <button type="button" data-slot="reaction" aria-pressed="false" aria-label="Celebrate, 0 reactions">🎉</button>
19
+ </div>
20
+ </div>
21
+ </div>
@@ -0,0 +1,14 @@
1
+ <!-- Variants -->
2
+ <div style="display: flex; flex-direction: column; gap: 1rem">
3
+ <div class="marker">
4
+ <span data-slot="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span>
5
+ <span data-slot="content">Assistant is thinking…</span>
6
+ </div>
7
+ <div class="marker" data-variant="separator">
8
+ <span data-slot="content">Today</span>
9
+ </div>
10
+ <div class="marker" data-variant="border">
11
+ <span data-slot="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"/><path d="M2 12h20"/></svg></span>
12
+ <span data-slot="content">Searched 3 sources · <a href="#">View sources</a></span>
13
+ </div>
14
+ </div>
@@ -0,0 +1,54 @@
1
+ <!-- Default -->
2
+ <div class="message-scroller" style="height: 22rem">
3
+ <div class="message-scroller-viewport" tabindex="0" role="log" aria-label="Conversation">
4
+ <div data-slot="content">
5
+ <div class="marker" data-variant="separator">
6
+ <span data-slot="content">Today</span>
7
+ </div>
8
+ <div class="message" data-align="start">
9
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">CN</span></span></div>
10
+ <div data-slot="content">
11
+ <div data-slot="header">shadcn</div>
12
+ <div class="bubble" data-variant="muted"><div data-slot="content">I checked the registry build.</div></div>
13
+ </div>
14
+ </div>
15
+ <div class="message" data-align="end">
16
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">YO</span></span></div>
17
+ <div data-slot="content">
18
+ <div class="bubble"><div data-slot="content">Did the docs bundle pick up the new files?</div></div>
19
+ </div>
20
+ </div>
21
+ <div class="message" data-align="start">
22
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">CN</span></span></div>
23
+ <div data-slot="content">
24
+ <div class="bubble" data-variant="muted"><div data-slot="content">Yes. The experimental bundle imports the base and Nova files.</div></div>
25
+ </div>
26
+ </div>
27
+ <div class="message" data-align="end">
28
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">YO</span></span></div>
29
+ <div data-slot="content">
30
+ <div class="bubble"><div data-slot="content">Great. Run the registry validator before the browser suite.</div></div>
31
+ </div>
32
+ </div>
33
+ <div class="message" data-align="start">
34
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">CN</span></span></div>
35
+ <div data-slot="content">
36
+ <div class="bubble" data-variant="muted"><div data-slot="content">Both are green. The chat components are ready for review.</div></div>
37
+ </div>
38
+ </div>
39
+ <div class="message" data-align="end">
40
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">YO</span></span></div>
41
+ <div data-slot="content">
42
+ <div class="bubble"><div data-slot="content">Then this scroller needs enough history to prove the jump button.</div></div>
43
+ </div>
44
+ </div>
45
+ <div class="message" data-align="start">
46
+ <div data-slot="avatar"><span class="avatar" data-size="sm"><span data-slot="fallback">CN</span></span></div>
47
+ <div data-slot="content">
48
+ <div class="bubble" data-variant="muted"><div data-slot="content">Scroll up and the jump button appears; it returns you here.</div></div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <button type="button" data-slot="jump" aria-label="Jump to latest"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14"/><path d="m19 12-7 7-7-7"/></svg></button>
54
+ </div>
@@ -0,0 +1,31 @@
1
+ <!-- Conversation -->
2
+ <div class="message-group" role="log" aria-label="Conversation">
3
+ <article class="message" data-align="start">
4
+ <div data-slot="avatar">
5
+ <span class="avatar" data-size="sm">
6
+ <span data-slot="fallback">CN</span>
7
+ </span>
8
+ </div>
9
+ <div data-slot="content">
10
+ <div data-slot="header">shadcn</div>
11
+ <div class="bubble" data-variant="muted">
12
+ <div data-slot="content">How can I help you today?</div>
13
+ </div>
14
+ <div data-slot="footer">10:42 AM</div>
15
+ </div>
16
+ </article>
17
+ <article class="message" data-align="end">
18
+ <div data-slot="avatar">
19
+ <span class="avatar" data-size="sm">
20
+ <span data-slot="fallback">YO</span>
21
+ </span>
22
+ </div>
23
+ <div data-slot="content">
24
+ <div data-slot="header">You</div>
25
+ <div class="bubble">
26
+ <div data-slot="content">Add a calendar and a date picker to the docs.</div>
27
+ </div>
28
+ <div data-slot="footer">Delivered</div>
29
+ </div>
30
+ </article>
31
+ </div>