tutuca 0.9.39 → 0.9.41
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/tutuca-cli.js +92 -39
- package/dist/tutuca-dev.js +18 -0
- package/dist/tutuca-dev.min.js +1 -1
- package/package.json +6 -7
- package/skill/immutable-js/SKILL.md +79 -0
- package/skill/immutable-js/references/collection.md +346 -0
- package/skill/immutable-js/references/conversions.md +99 -0
- package/skill/immutable-js/references/deep-updates.md +172 -0
- package/skill/immutable-js/references/equality.md +95 -0
- package/skill/immutable-js/references/list.md +266 -0
- package/skill/immutable-js/references/map.md +300 -0
- package/skill/immutable-js/references/predicates.md +93 -0
- package/skill/immutable-js/references/range-repeat.md +55 -0
- package/skill/immutable-js/references/record.md +196 -0
- package/skill/immutable-js/references/seq.md +248 -0
- package/skill/immutable-js/references/set.md +270 -0
- package/skill/immutable-js/references/shallow-functional.md +99 -0
- package/skill/immutable-js/references/stack.md +210 -0
- package/skill/margaui/SKILL.md +101 -0
- package/skill/margaui/components/accordion.md +127 -0
- package/skill/margaui/components/alert.md +174 -0
- package/skill/margaui/components/avatar.md +220 -0
- package/skill/margaui/components/badge.md +193 -0
- package/skill/margaui/components/breadcrumbs.md +103 -0
- package/skill/margaui/components/button.md +322 -0
- package/skill/margaui/components/calendar.md +67 -0
- package/skill/margaui/components/card.md +373 -0
- package/skill/margaui/components/carousel.md +387 -0
- package/skill/margaui/components/chat.md +171 -0
- package/skill/margaui/components/checkbox.md +101 -0
- package/skill/margaui/components/collapse.md +172 -0
- package/skill/margaui/components/countdown.md +165 -0
- package/skill/margaui/components/diff.md +53 -0
- package/skill/margaui/components/divider.md +107 -0
- package/skill/margaui/components/dock.md +173 -0
- package/skill/margaui/components/drawer.md +184 -0
- package/skill/margaui/components/dropdown.md +388 -0
- package/skill/margaui/components/fab.md +346 -0
- package/skill/margaui/components/fieldset.md +88 -0
- package/skill/margaui/components/file-input.md +84 -0
- package/skill/margaui/components/filter.md +52 -0
- package/skill/margaui/components/footer.md +583 -0
- package/skill/margaui/components/hero.md +135 -0
- package/skill/margaui/components/hover-3d.md +129 -0
- package/skill/margaui/components/hover-gallery.md +49 -0
- package/skill/margaui/components/indicator.md +265 -0
- package/skill/margaui/components/input.md +389 -0
- package/skill/margaui/components/join.md +100 -0
- package/skill/margaui/components/kbd.md +127 -0
- package/skill/margaui/components/label.md +102 -0
- package/skill/margaui/components/link.md +96 -0
- package/skill/margaui/components/list.md +182 -0
- package/skill/margaui/components/loading.md +105 -0
- package/skill/margaui/components/mask.md +168 -0
- package/skill/margaui/components/menu.md +856 -0
- package/skill/margaui/components/mockup-browser.md +39 -0
- package/skill/margaui/components/mockup-code.md +81 -0
- package/skill/margaui/components/mockup-phone.md +39 -0
- package/skill/margaui/components/mockup-window.md +33 -0
- package/skill/margaui/components/modal.md +178 -0
- package/skill/margaui/components/navbar.md +282 -0
- package/skill/margaui/components/pagination.md +122 -0
- package/skill/margaui/components/progress.md +135 -0
- package/skill/margaui/components/radial-progress.md +67 -0
- package/skill/margaui/components/radio.md +133 -0
- package/skill/margaui/components/range.md +134 -0
- package/skill/margaui/components/rating.md +170 -0
- package/skill/margaui/components/select.md +225 -0
- package/skill/margaui/components/skeleton.md +64 -0
- package/skill/margaui/components/stack.md +142 -0
- package/skill/margaui/components/stat.md +254 -0
- package/skill/margaui/components/status.md +73 -0
- package/skill/margaui/components/steps.md +138 -0
- package/skill/margaui/components/swap.md +152 -0
- package/skill/margaui/components/tab.md +248 -0
- package/skill/margaui/components/table.md +1018 -0
- package/skill/margaui/components/text-rotate.md +91 -0
- package/skill/margaui/components/textarea.md +85 -0
- package/skill/margaui/components/theme-controller.md +266 -0
- package/skill/margaui/components/timeline.md +1356 -0
- package/skill/margaui/components/toast.md +165 -0
- package/skill/margaui/components/toggle.md +135 -0
- package/skill/margaui/components/tooltip.md +181 -0
- package/skill/margaui/components/validator.md +163 -0
- package/skill/{advanced.md → tutuca/advanced.md} +5 -0
- package/skill/{cli.md → tutuca/cli.md} +17 -0
- package/skill/{core.md → tutuca/core.md} +5 -0
- /package/skill/{SKILL.md → tutuca/SKILL.md} +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# label
|
|
2
|
+
|
|
3
|
+
_input label (inline or floating)_
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
Themed label, including a floating-label variant.
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Labelling form inputs.
|
|
12
|
+
|
|
13
|
+
## Core classes
|
|
14
|
+
|
|
15
|
+
`label`, `floating-label`.
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
### Floating label with different sizes
|
|
20
|
+
|
|
21
|
+
Source: `playground/components/label/floating-label-with-different-sizes.html`
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<label class="floating-label">
|
|
25
|
+
<input type="text" placeholder="Extra Small" class="input input-xs" />
|
|
26
|
+
<span>Extra Small</span>
|
|
27
|
+
</label>
|
|
28
|
+
<label class="floating-label">
|
|
29
|
+
<input type="text" placeholder="Small" class="input input-sm" />
|
|
30
|
+
<span>Small</span>
|
|
31
|
+
</label>
|
|
32
|
+
<label class="floating-label">
|
|
33
|
+
<input type="text" placeholder="Medium" class="input input-md" />
|
|
34
|
+
<span>Medium</span>
|
|
35
|
+
</label>
|
|
36
|
+
<label class="floating-label">
|
|
37
|
+
<input type="text" placeholder="Large" class="input input-lg" />
|
|
38
|
+
<span>Large</span>
|
|
39
|
+
</label>
|
|
40
|
+
<label class="floating-label">
|
|
41
|
+
<input type="text" placeholder="Extra Large" class="input input-xl" />
|
|
42
|
+
<span>Extra Large</span>
|
|
43
|
+
</label>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Floating label
|
|
47
|
+
|
|
48
|
+
Source: `playground/components/label/floating-label.html`
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<label class="floating-label">
|
|
52
|
+
<span>Your Email</span>
|
|
53
|
+
<input type="text" placeholder="mail@site.com" class="input input-md" />
|
|
54
|
+
</label>
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Label for date input
|
|
58
|
+
|
|
59
|
+
Source: `playground/components/label/label-for-date-input.html`
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<label class="input">
|
|
63
|
+
<span class="label">Publish date</span>
|
|
64
|
+
<input type="date" />
|
|
65
|
+
</label>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Label for input at the end
|
|
69
|
+
|
|
70
|
+
Source: `playground/components/label/label-for-input-at-the-end.html`
|
|
71
|
+
|
|
72
|
+
```html
|
|
73
|
+
<label class="input">
|
|
74
|
+
<input type="text" placeholder="domain name" />
|
|
75
|
+
<span class="label">.com</span>
|
|
76
|
+
</label>
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Label for input
|
|
80
|
+
|
|
81
|
+
Source: `playground/components/label/label-for-input.html`
|
|
82
|
+
|
|
83
|
+
```html
|
|
84
|
+
<label class="input">
|
|
85
|
+
<span class="label">https://</span>
|
|
86
|
+
<input type="text" placeholder="URL" />
|
|
87
|
+
</label>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Label for select
|
|
91
|
+
|
|
92
|
+
Source: `playground/components/label/label-for-select.html`
|
|
93
|
+
|
|
94
|
+
```html
|
|
95
|
+
<label class="select">
|
|
96
|
+
<span class="label">Type</span>
|
|
97
|
+
<select>
|
|
98
|
+
<option>Personal</option>
|
|
99
|
+
<option>Business</option>
|
|
100
|
+
</select>
|
|
101
|
+
</label>
|
|
102
|
+
```
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# link
|
|
2
|
+
|
|
3
|
+
_themed `<a>`_
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
Themed inline link.
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Inline anchors in body text.
|
|
12
|
+
- For action-style links rendered as buttons, use **button** with `btn-link`.
|
|
13
|
+
|
|
14
|
+
## Core classes
|
|
15
|
+
|
|
16
|
+
`link`; color `link-primary|secondary|accent|info|success|warning|error`; modifier `link-hover` (underline only on hover).
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
### Link
|
|
21
|
+
|
|
22
|
+
Source: `playground/components/link/link.html`
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<p>
|
|
26
|
+
Tailwind CSS resets the style of links by default.
|
|
27
|
+
<br />
|
|
28
|
+
Add "link" class to make it look like a
|
|
29
|
+
<a class="link">normal link</a>
|
|
30
|
+
again.
|
|
31
|
+
</p>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Accent color
|
|
35
|
+
|
|
36
|
+
Source: `playground/components/link/accent-color.html`
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<a class="link link-accent">Click me</a>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Error color
|
|
43
|
+
|
|
44
|
+
Source: `playground/components/link/error-color.html`
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<a class="link link-error">Click me</a>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Info color
|
|
51
|
+
|
|
52
|
+
Source: `playground/components/link/info-color.html`
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<a class="link link-info">Click me</a>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Primary color
|
|
59
|
+
|
|
60
|
+
Source: `playground/components/link/primary-color.html`
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<a class="link link-primary">Click me</a>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Secondary color
|
|
67
|
+
|
|
68
|
+
Source: `playground/components/link/secondary-color.html`
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<a class="link link-secondary">Click me</a>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Show underline only on hover
|
|
75
|
+
|
|
76
|
+
Source: `playground/components/link/show-underline-only-on-hover.html`
|
|
77
|
+
|
|
78
|
+
```html
|
|
79
|
+
<a class="link link-hover">Click me</a>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Success color
|
|
83
|
+
|
|
84
|
+
Source: `playground/components/link/success-color.html`
|
|
85
|
+
|
|
86
|
+
```html
|
|
87
|
+
<a class="link link-success">Click me</a>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Warning color
|
|
91
|
+
|
|
92
|
+
Source: `playground/components/link/warning-color.html`
|
|
93
|
+
|
|
94
|
+
```html
|
|
95
|
+
<a class="link link-warning">Click me</a>
|
|
96
|
+
```
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# list
|
|
2
|
+
|
|
3
|
+
_vertical list with grid-style columns_
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
Vertical list where each row is a multi-column layout (image + text + actions).
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Compact rows of records (chat list, file list, settings list).
|
|
12
|
+
|
|
13
|
+
## Core classes
|
|
14
|
+
|
|
15
|
+
`list`; row `list-row`; modifiers `list-col-grow`, `list-col-wrap`.
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
### List second column grows — default
|
|
20
|
+
|
|
21
|
+
Source: `playground/components/list/list-second-column-grows---default.html`
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<ul class="list bg-base-100 rounded-box shadow-md">
|
|
25
|
+
|
|
26
|
+
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide">Most played songs this week</li>
|
|
27
|
+
|
|
28
|
+
<li class="list-row">
|
|
29
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/1@94.webp"/></div>
|
|
30
|
+
<div>
|
|
31
|
+
<div>Dio Lupa</div>
|
|
32
|
+
<div class="text-xs uppercase font-semibold opacity-60">Remaining Reason</div>
|
|
33
|
+
</div>
|
|
34
|
+
<button class="btn btn-square btn-ghost">
|
|
35
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
36
|
+
</button>
|
|
37
|
+
<button class="btn btn-square btn-ghost">
|
|
38
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
39
|
+
</button>
|
|
40
|
+
</li>
|
|
41
|
+
|
|
42
|
+
<li class="list-row">
|
|
43
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/4@94.webp"/></div>
|
|
44
|
+
<div>
|
|
45
|
+
<div>Ellie Beilish</div>
|
|
46
|
+
<div class="text-xs uppercase font-semibold opacity-60">Bears of a fever</div>
|
|
47
|
+
</div>
|
|
48
|
+
<button class="btn btn-square btn-ghost">
|
|
49
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
50
|
+
</button>
|
|
51
|
+
<button class="btn btn-square btn-ghost">
|
|
52
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
53
|
+
</button>
|
|
54
|
+
</li>
|
|
55
|
+
|
|
56
|
+
<li class="list-row">
|
|
57
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/3@94.webp"/></div>
|
|
58
|
+
<div>
|
|
59
|
+
<div>Sabrino Gardener</div>
|
|
60
|
+
<div class="text-xs uppercase font-semibold opacity-60">Cappuccino</div>
|
|
61
|
+
</div>
|
|
62
|
+
<button class="btn btn-square btn-ghost">
|
|
63
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
64
|
+
</button>
|
|
65
|
+
<button class="btn btn-square btn-ghost">
|
|
66
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
67
|
+
</button>
|
|
68
|
+
</li>
|
|
69
|
+
|
|
70
|
+
</ul>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### List third column grows
|
|
74
|
+
|
|
75
|
+
Source: `playground/components/list/list-third-column-grows.html`
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<ul class="list bg-base-100 rounded-box shadow-md">
|
|
79
|
+
|
|
80
|
+
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide">Most played songs this week</li>
|
|
81
|
+
|
|
82
|
+
<li class="list-row">
|
|
83
|
+
<div class="text-4xl font-thin opacity-30 tabular-nums">01</div>
|
|
84
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/1@94.webp"/></div>
|
|
85
|
+
<div class="list-col-grow">
|
|
86
|
+
<div>Dio Lupa</div>
|
|
87
|
+
<div class="text-xs uppercase font-semibold opacity-60">Remaining Reason</div>
|
|
88
|
+
</div>
|
|
89
|
+
<button class="btn btn-square btn-ghost">
|
|
90
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
91
|
+
</button>
|
|
92
|
+
</li>
|
|
93
|
+
|
|
94
|
+
<li class="list-row">
|
|
95
|
+
<div class="text-4xl font-thin opacity-30 tabular-nums">02</div>
|
|
96
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/4@94.webp"/></div>
|
|
97
|
+
<div class="list-col-grow">
|
|
98
|
+
<div>Ellie Beilish</div>
|
|
99
|
+
<div class="text-xs uppercase font-semibold opacity-60">Bears of a fever</div>
|
|
100
|
+
</div>
|
|
101
|
+
<button class="btn btn-square btn-ghost">
|
|
102
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
103
|
+
</button>
|
|
104
|
+
</li>
|
|
105
|
+
|
|
106
|
+
<li class="list-row">
|
|
107
|
+
<div class="text-4xl font-thin opacity-30 tabular-nums">03</div>
|
|
108
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/3@94.webp"/></div>
|
|
109
|
+
<div class="list-col-grow">
|
|
110
|
+
<div>Sabrino Gardener</div>
|
|
111
|
+
<div class="text-xs uppercase font-semibold opacity-60">Cappuccino</div>
|
|
112
|
+
</div>
|
|
113
|
+
<button class="btn btn-square btn-ghost">
|
|
114
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
115
|
+
</button>
|
|
116
|
+
</li>
|
|
117
|
+
|
|
118
|
+
</ul>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### List third column wraps to next row
|
|
122
|
+
|
|
123
|
+
Source: `playground/components/list/list-third-column-wraps-to-next-row.html`
|
|
124
|
+
|
|
125
|
+
```html
|
|
126
|
+
<ul class="list bg-base-100 rounded-box shadow-md">
|
|
127
|
+
|
|
128
|
+
<li class="p-4 pb-2 text-xs opacity-60 tracking-wide">Most played songs this week</li>
|
|
129
|
+
|
|
130
|
+
<li class="list-row">
|
|
131
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/1@94.webp"/></div>
|
|
132
|
+
<div>
|
|
133
|
+
<div>Dio Lupa</div>
|
|
134
|
+
<div class="text-xs uppercase font-semibold opacity-60">Remaining Reason</div>
|
|
135
|
+
</div>
|
|
136
|
+
<p class="list-col-wrap text-xs">
|
|
137
|
+
"Remaining Reason" became an instant hit, praised for its haunting sound and emotional depth. A viral performance brought it widespread recognition, making it one of Dio Lupa’s most iconic tracks.
|
|
138
|
+
</p>
|
|
139
|
+
<button class="btn btn-square btn-ghost">
|
|
140
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
141
|
+
</button>
|
|
142
|
+
<button class="btn btn-square btn-ghost">
|
|
143
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
144
|
+
</button>
|
|
145
|
+
</li>
|
|
146
|
+
|
|
147
|
+
<li class="list-row">
|
|
148
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/4@94.webp"/></div>
|
|
149
|
+
<div>
|
|
150
|
+
<div>Ellie Beilish</div>
|
|
151
|
+
<div class="text-xs uppercase font-semibold opacity-60">Bears of a fever</div>
|
|
152
|
+
</div>
|
|
153
|
+
<p class="list-col-wrap text-xs">
|
|
154
|
+
"Bears of a Fever" captivated audiences with its intense energy and mysterious lyrics. Its popularity skyrocketed after fans shared it widely online, earning Ellie critical acclaim.
|
|
155
|
+
</p>
|
|
156
|
+
<button class="btn btn-square btn-ghost">
|
|
157
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
158
|
+
</button>
|
|
159
|
+
<button class="btn btn-square btn-ghost">
|
|
160
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
161
|
+
</button>
|
|
162
|
+
</li>
|
|
163
|
+
|
|
164
|
+
<li class="list-row">
|
|
165
|
+
<div><img class="size-10 rounded-box" src="https://img.daisyui.com/images/profile/demo/3@94.webp"/></div>
|
|
166
|
+
<div>
|
|
167
|
+
<div>Sabrino Gardener</div>
|
|
168
|
+
<div class="text-xs uppercase font-semibold opacity-60">Cappuccino</div>
|
|
169
|
+
</div>
|
|
170
|
+
<p class="list-col-wrap text-xs">
|
|
171
|
+
"Cappuccino" quickly gained attention for its smooth melody and relatable themes. The song’s success propelled Sabrino into the spotlight, solidifying their status as a rising star.
|
|
172
|
+
</p>
|
|
173
|
+
<button class="btn btn-square btn-ghost">
|
|
174
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M6 3L20 12 6 21 6 3z"></path></g></svg>
|
|
175
|
+
</button>
|
|
176
|
+
<button class="btn btn-square btn-ghost">
|
|
177
|
+
<svg class="size-[1.2em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g stroke-linejoin="round" stroke-linecap="round" stroke-width="2" fill="none" stroke="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"></path></g></svg>
|
|
178
|
+
</button>
|
|
179
|
+
</li>
|
|
180
|
+
|
|
181
|
+
</ul>
|
|
182
|
+
```
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# loading
|
|
2
|
+
|
|
3
|
+
_loading spinner / dots / bars / ring / ball / infinity_
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
Inline loading indicator with several visual styles.
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Pending async operations, skeleton-less loading states.
|
|
12
|
+
- For content-shaped placeholders, use **skeleton**.
|
|
13
|
+
|
|
14
|
+
## Core classes
|
|
15
|
+
|
|
16
|
+
`loading`; style `loading-spinner|dots|ring|ball|bars|infinity`; size `loading-xs|sm|md|lg|xl`; color via standard `text-primary|…` utilities.
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
### Loading ball
|
|
21
|
+
|
|
22
|
+
Source: `playground/components/loading/loading-ball.html`
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<span class="loading loading-ball loading-xs"></span>
|
|
26
|
+
<span class="loading loading-ball loading-sm"></span>
|
|
27
|
+
<span class="loading loading-ball loading-md"></span>
|
|
28
|
+
<span class="loading loading-ball loading-lg"></span>
|
|
29
|
+
<span class="loading loading-ball loading-xl"></span>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Loading bars
|
|
33
|
+
|
|
34
|
+
Source: `playground/components/loading/loading-bars.html`
|
|
35
|
+
|
|
36
|
+
```html
|
|
37
|
+
<span class="loading loading-bars loading-xs"></span>
|
|
38
|
+
<span class="loading loading-bars loading-sm"></span>
|
|
39
|
+
<span class="loading loading-bars loading-md"></span>
|
|
40
|
+
<span class="loading loading-bars loading-lg"></span>
|
|
41
|
+
<span class="loading loading-bars loading-xl"></span>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Loading dots
|
|
45
|
+
|
|
46
|
+
Source: `playground/components/loading/loading-dots.html`
|
|
47
|
+
|
|
48
|
+
```html
|
|
49
|
+
<span class="loading loading-dots loading-xs"></span>
|
|
50
|
+
<span class="loading loading-dots loading-sm"></span>
|
|
51
|
+
<span class="loading loading-dots loading-md"></span>
|
|
52
|
+
<span class="loading loading-dots loading-lg"></span>
|
|
53
|
+
<span class="loading loading-dots loading-xl"></span>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Loading infinity
|
|
57
|
+
|
|
58
|
+
Source: `playground/components/loading/loading-infinity.html`
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<span class="loading loading-infinity loading-xs"></span>
|
|
62
|
+
<span class="loading loading-infinity loading-sm"></span>
|
|
63
|
+
<span class="loading loading-infinity loading-md"></span>
|
|
64
|
+
<span class="loading loading-infinity loading-lg"></span>
|
|
65
|
+
<span class="loading loading-infinity loading-xl"></span>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Loading ring
|
|
69
|
+
|
|
70
|
+
Source: `playground/components/loading/loading-ring.html`
|
|
71
|
+
|
|
72
|
+
```html
|
|
73
|
+
<span class="loading loading-ring loading-xs"></span>
|
|
74
|
+
<span class="loading loading-ring loading-sm"></span>
|
|
75
|
+
<span class="loading loading-ring loading-md"></span>
|
|
76
|
+
<span class="loading loading-ring loading-lg"></span>
|
|
77
|
+
<span class="loading loading-ring loading-xl"></span>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Loading spinner
|
|
81
|
+
|
|
82
|
+
Source: `playground/components/loading/loading-spinner.html`
|
|
83
|
+
|
|
84
|
+
```html
|
|
85
|
+
<span class="loading loading-spinner loading-xs"></span>
|
|
86
|
+
<span class="loading loading-spinner loading-sm"></span>
|
|
87
|
+
<span class="loading loading-spinner loading-md"></span>
|
|
88
|
+
<span class="loading loading-spinner loading-lg"></span>
|
|
89
|
+
<span class="loading loading-spinner loading-xl"></span>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Loading with colors
|
|
93
|
+
|
|
94
|
+
Source: `playground/components/loading/loading-with-colors.html`
|
|
95
|
+
|
|
96
|
+
```html
|
|
97
|
+
<span class="loading loading-spinner text-primary"></span>
|
|
98
|
+
<span class="loading loading-spinner text-secondary"></span>
|
|
99
|
+
<span class="loading loading-spinner text-accent"></span>
|
|
100
|
+
<span class="loading loading-spinner text-neutral"></span>
|
|
101
|
+
<span class="loading loading-spinner text-info"></span>
|
|
102
|
+
<span class="loading loading-spinner text-success"></span>
|
|
103
|
+
<span class="loading loading-spinner text-warning"></span>
|
|
104
|
+
<span class="loading loading-spinner text-error"></span>
|
|
105
|
+
```
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# mask
|
|
2
|
+
|
|
3
|
+
_clip an element to a shape (circle, hex, star, …)_
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
CSS mask utilities to clip an element (typically an image) to a shape.
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
- Decorative image shaping, avatar shaping.
|
|
12
|
+
- For avatars specifically, use **avatar** (which composes mask).
|
|
13
|
+
|
|
14
|
+
## Core classes
|
|
15
|
+
|
|
16
|
+
`mask`; shape `mask-circle|squircle|square|heart|hexagon|hexagon-2|decagon|pentagon|diamond|star|star-2|triangle|triangle-2|triangle-3|triangle-4`.
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
### Circle
|
|
21
|
+
|
|
22
|
+
Source: `playground/components/mask/circle.html`
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<img
|
|
26
|
+
class="mask mask-circle"
|
|
27
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Decagon
|
|
31
|
+
|
|
32
|
+
Source: `playground/components/mask/decagon.html`
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<img
|
|
36
|
+
class="mask mask-decagon"
|
|
37
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Diamond
|
|
41
|
+
|
|
42
|
+
Source: `playground/components/mask/diamond.html`
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<img
|
|
46
|
+
class="mask mask-diamond"
|
|
47
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Heart
|
|
51
|
+
|
|
52
|
+
Source: `playground/components/mask/heart.html`
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<img
|
|
56
|
+
class="mask mask-heart"
|
|
57
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Hexagon 2 horizontal hexagon
|
|
61
|
+
|
|
62
|
+
Source: `playground/components/mask/hexagon-2-horizontal-hexagon.html`
|
|
63
|
+
|
|
64
|
+
```html
|
|
65
|
+
<img
|
|
66
|
+
class="mask mask-hexagon-2"
|
|
67
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Hexagon
|
|
71
|
+
|
|
72
|
+
Source: `playground/components/mask/hexagon.html`
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<img
|
|
76
|
+
class="mask mask-hexagon"
|
|
77
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Pentagon
|
|
81
|
+
|
|
82
|
+
Source: `playground/components/mask/pentagon.html`
|
|
83
|
+
|
|
84
|
+
```html
|
|
85
|
+
<img
|
|
86
|
+
class="mask mask-pentagon"
|
|
87
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Square
|
|
91
|
+
|
|
92
|
+
Source: `playground/components/mask/square.html`
|
|
93
|
+
|
|
94
|
+
```html
|
|
95
|
+
<img
|
|
96
|
+
class="mask mask-square"
|
|
97
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Squircle
|
|
101
|
+
|
|
102
|
+
Source: `playground/components/mask/squircle.html`
|
|
103
|
+
|
|
104
|
+
```html
|
|
105
|
+
<img
|
|
106
|
+
class="mask mask-squircle"
|
|
107
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Star 2 bold star
|
|
111
|
+
|
|
112
|
+
Source: `playground/components/mask/star-2-bold-star.html`
|
|
113
|
+
|
|
114
|
+
```html
|
|
115
|
+
<img
|
|
116
|
+
class="mask mask-star-2"
|
|
117
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Star
|
|
121
|
+
|
|
122
|
+
Source: `playground/components/mask/star.html`
|
|
123
|
+
|
|
124
|
+
```html
|
|
125
|
+
<img
|
|
126
|
+
class="mask mask-star"
|
|
127
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Triangle 2 pointing down
|
|
131
|
+
|
|
132
|
+
Source: `playground/components/mask/triangle-2-pointing-down.html`
|
|
133
|
+
|
|
134
|
+
```html
|
|
135
|
+
<img
|
|
136
|
+
class="mask mask-triangle-2"
|
|
137
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Triangle 3 pointing left
|
|
141
|
+
|
|
142
|
+
Source: `playground/components/mask/triangle-3-pointing-left.html`
|
|
143
|
+
|
|
144
|
+
```html
|
|
145
|
+
<img
|
|
146
|
+
class="mask mask-triangle-3"
|
|
147
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Triangle 4 pointing right
|
|
151
|
+
|
|
152
|
+
Source: `playground/components/mask/triangle-4-pointing-right.html`
|
|
153
|
+
|
|
154
|
+
```html
|
|
155
|
+
<img
|
|
156
|
+
class="mask mask-triangle-4"
|
|
157
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Triangle pointing top
|
|
161
|
+
|
|
162
|
+
Source: `playground/components/mask/triangle-pointing-top.html`
|
|
163
|
+
|
|
164
|
+
```html
|
|
165
|
+
<img
|
|
166
|
+
class="mask mask-triangle"
|
|
167
|
+
src="https://img.daisyui.com/images/stock/photo-1567653418876-5bb0e566e1c2.webp" />
|
|
168
|
+
```
|