@shortwind/catalog 0.1.0-beta.10
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/README.md +31 -0
- package/dist/registry/badge/CHANGELOG.md +5 -0
- package/dist/registry/badge.css +44 -0
- package/dist/registry/badge@0.0.1.css +44 -0
- package/dist/registry/button/CHANGELOG.md +5 -0
- package/dist/registry/button.css +74 -0
- package/dist/registry/button@0.0.1.css +74 -0
- package/dist/registry/card/CHANGELOG.md +5 -0
- package/dist/registry/card.css +43 -0
- package/dist/registry/card@0.0.1.css +43 -0
- package/dist/registry/code/CHANGELOG.md +5 -0
- package/dist/registry/code.css +22 -0
- package/dist/registry/code@0.0.1.css +22 -0
- package/dist/registry/dialog/CHANGELOG.md +5 -0
- package/dist/registry/dialog.css +33 -0
- package/dist/registry/dialog@0.0.1.css +33 -0
- package/dist/registry/empty/CHANGELOG.md +5 -0
- package/dist/registry/empty.css +27 -0
- package/dist/registry/empty@0.0.1.css +27 -0
- package/dist/registry/feedback/CHANGELOG.md +5 -0
- package/dist/registry/feedback.css +47 -0
- package/dist/registry/feedback@0.0.1.css +47 -0
- package/dist/registry/form/CHANGELOG.md +5 -0
- package/dist/registry/form.css +67 -0
- package/dist/registry/form@0.0.1.css +67 -0
- package/dist/registry/icon/CHANGELOG.md +5 -0
- package/dist/registry/icon.css +27 -0
- package/dist/registry/icon@0.0.1.css +27 -0
- package/dist/registry/index.json +23 -0
- package/dist/registry/layout/CHANGELOG.md +5 -0
- package/dist/registry/layout.css +70 -0
- package/dist/registry/layout@0.0.1.css +70 -0
- package/dist/registry/list/CHANGELOG.md +5 -0
- package/dist/registry/list.css +37 -0
- package/dist/registry/list@0.0.1.css +37 -0
- package/dist/registry/manifest.json +1867 -0
- package/dist/registry/media/CHANGELOG.md +5 -0
- package/dist/registry/media.css +37 -0
- package/dist/registry/media@0.0.1.css +37 -0
- package/dist/registry/navigation/CHANGELOG.md +5 -0
- package/dist/registry/navigation.css +38 -0
- package/dist/registry/navigation@0.0.1.css +38 -0
- package/dist/registry/presets.json +6 -0
- package/dist/registry/progress/CHANGELOG.md +5 -0
- package/dist/registry/progress.css +22 -0
- package/dist/registry/progress@0.0.1.css +22 -0
- package/dist/registry/recipes/badge.css +44 -0
- package/dist/registry/recipes/button.css +74 -0
- package/dist/registry/recipes/card.css +43 -0
- package/dist/registry/recipes/code.css +22 -0
- package/dist/registry/recipes/dialog.css +33 -0
- package/dist/registry/recipes/empty.css +27 -0
- package/dist/registry/recipes/feedback.css +47 -0
- package/dist/registry/recipes/form.css +67 -0
- package/dist/registry/recipes/icon.css +27 -0
- package/dist/registry/recipes/layout.css +70 -0
- package/dist/registry/recipes/list.css +37 -0
- package/dist/registry/recipes/media.css +37 -0
- package/dist/registry/recipes/navigation.css +38 -0
- package/dist/registry/recipes/progress.css +22 -0
- package/dist/registry/recipes/skeleton.css +22 -0
- package/dist/registry/recipes/surface.css +45 -0
- package/dist/registry/recipes/table.css +37 -0
- package/dist/registry/recipes/text.css +59 -0
- package/dist/registry/recipes/tooltip.css +11 -0
- package/dist/registry/skeleton/CHANGELOG.md +5 -0
- package/dist/registry/skeleton.css +22 -0
- package/dist/registry/skeleton@0.0.1.css +22 -0
- package/dist/registry/surface/CHANGELOG.md +5 -0
- package/dist/registry/surface.css +45 -0
- package/dist/registry/surface@0.0.2.css +45 -0
- package/dist/registry/table/CHANGELOG.md +5 -0
- package/dist/registry/table.css +37 -0
- package/dist/registry/table@0.0.1.css +37 -0
- package/dist/registry/text/CHANGELOG.md +5 -0
- package/dist/registry/text.css +59 -0
- package/dist/registry/text@0.0.1.css +59 -0
- package/dist/registry/tooltip/CHANGELOG.md +5 -0
- package/dist/registry/tooltip.css +11 -0
- package/dist/registry/tooltip@0.0.1.css +11 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +33 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* shortwind: form@0.0.1 sha:bc12a9cc520a2d85 */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Wrap each label+control+message in @field (use @field-error for the invalid
|
|
5
|
+
state); group related fields with @fieldset. Controls are bare: @input,
|
|
6
|
+
@textarea, @select, @checkbox, @radio, plus @input-error for invalid text
|
|
7
|
+
and @input-shell for the transparent shadcn-style shell. Helper text is
|
|
8
|
+
@help. There is no @form-group (use @field), @form-input (use @input),
|
|
9
|
+
@form-helper (use @help) or @form-checkbox (use @checkbox); the field label
|
|
10
|
+
recipe is @label, in the text family.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Text input field. */
|
|
14
|
+
@recipe input {
|
|
15
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* shadcn/dinachi-style input shell — transparent background, h-9, file/
|
|
19
|
+
placeholder/selection/aria-invalid/focus-visible states baked in. */
|
|
20
|
+
@recipe input-shell {
|
|
21
|
+
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Input in error state. */
|
|
25
|
+
@recipe input-error {
|
|
26
|
+
@input border-destructive focus:border-destructive focus:outline-destructive
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Multi-line textarea. */
|
|
30
|
+
@recipe textarea {
|
|
31
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Native select control. */
|
|
35
|
+
@recipe select {
|
|
36
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Checkbox input. */
|
|
40
|
+
@recipe checkbox {
|
|
41
|
+
h-4 w-4 rounded border-input text-primary focus:outline-2 focus:outline-offset-2 focus:outline-ring
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Radio input. */
|
|
45
|
+
@recipe radio {
|
|
46
|
+
h-4 w-4 border-input text-primary focus:outline-2 focus:outline-offset-2 focus:outline-ring
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Form field wrapper — label + input + help/error. */
|
|
50
|
+
@recipe field {
|
|
51
|
+
flex flex-col gap-1.5
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Form field in error state. */
|
|
55
|
+
@recipe field-error {
|
|
56
|
+
flex flex-col gap-1.5
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Grouped form section with optional legend. */
|
|
60
|
+
@recipe fieldset {
|
|
61
|
+
flex flex-col gap-4 rounded-md border border-border p-4
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Field-level helper text. */
|
|
65
|
+
@recipe help {
|
|
66
|
+
text-xs text-muted-foreground
|
|
67
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* shortwind: form@0.0.1 sha:bc12a9cc520a2d85 */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Wrap each label+control+message in @field (use @field-error for the invalid
|
|
5
|
+
state); group related fields with @fieldset. Controls are bare: @input,
|
|
6
|
+
@textarea, @select, @checkbox, @radio, plus @input-error for invalid text
|
|
7
|
+
and @input-shell for the transparent shadcn-style shell. Helper text is
|
|
8
|
+
@help. There is no @form-group (use @field), @form-input (use @input),
|
|
9
|
+
@form-helper (use @help) or @form-checkbox (use @checkbox); the field label
|
|
10
|
+
recipe is @label, in the text family.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Text input field. */
|
|
14
|
+
@recipe input {
|
|
15
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* shadcn/dinachi-style input shell — transparent background, h-9, file/
|
|
19
|
+
placeholder/selection/aria-invalid/focus-visible states baked in. */
|
|
20
|
+
@recipe input-shell {
|
|
21
|
+
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Input in error state. */
|
|
25
|
+
@recipe input-error {
|
|
26
|
+
@input border-destructive focus:border-destructive focus:outline-destructive
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Multi-line textarea. */
|
|
30
|
+
@recipe textarea {
|
|
31
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Native select control. */
|
|
35
|
+
@recipe select {
|
|
36
|
+
block w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground focus:border-ring focus:outline-2 focus:outline-offset-2 focus:outline-ring disabled:cursor-not-allowed disabled:opacity-50
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Checkbox input. */
|
|
40
|
+
@recipe checkbox {
|
|
41
|
+
h-4 w-4 rounded border-input text-primary focus:outline-2 focus:outline-offset-2 focus:outline-ring
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Radio input. */
|
|
45
|
+
@recipe radio {
|
|
46
|
+
h-4 w-4 border-input text-primary focus:outline-2 focus:outline-offset-2 focus:outline-ring
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Form field wrapper — label + input + help/error. */
|
|
50
|
+
@recipe field {
|
|
51
|
+
flex flex-col gap-1.5
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Form field in error state. */
|
|
55
|
+
@recipe field-error {
|
|
56
|
+
flex flex-col gap-1.5
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Grouped form section with optional legend. */
|
|
60
|
+
@recipe fieldset {
|
|
61
|
+
flex flex-col gap-4 rounded-md border border-border p-4
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Field-level helper text. */
|
|
65
|
+
@recipe help {
|
|
66
|
+
text-xs text-muted-foreground
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* shortwind: icon@0.0.1 sha:fab3b2d3a0c089fb */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Size an icon with @icon-sm/md/lg (16/20/24px) — these set width and height
|
|
5
|
+
only; add @icon-muted for secondary color. They're for SVG/icon elements, not
|
|
6
|
+
to be confused with @btn-icon (the icon button in the button family).
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Small icon — 16px. */
|
|
10
|
+
@recipe icon-sm {
|
|
11
|
+
h-4 w-4 shrink-0
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Default icon size — 20px. */
|
|
15
|
+
@recipe icon-md {
|
|
16
|
+
h-5 w-5 shrink-0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Large icon — 24px. */
|
|
20
|
+
@recipe icon-lg {
|
|
21
|
+
h-6 w-6 shrink-0
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Icon with muted color. */
|
|
25
|
+
@recipe icon-muted {
|
|
26
|
+
text-muted-foreground
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* shortwind: icon@0.0.1 sha:fab3b2d3a0c089fb */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Size an icon with @icon-sm/md/lg (16/20/24px) — these set width and height
|
|
5
|
+
only; add @icon-muted for secondary color. They're for SVG/icon elements, not
|
|
6
|
+
to be confused with @btn-icon (the icon button in the button family).
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Small icon — 16px. */
|
|
10
|
+
@recipe icon-sm {
|
|
11
|
+
h-4 w-4 shrink-0
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Default icon size — 20px. */
|
|
15
|
+
@recipe icon-md {
|
|
16
|
+
h-5 w-5 shrink-0
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Large icon — 24px. */
|
|
20
|
+
@recipe icon-lg {
|
|
21
|
+
h-6 w-6 shrink-0
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Icon with muted color. */
|
|
25
|
+
@recipe icon-muted {
|
|
26
|
+
text-muted-foreground
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"families": [
|
|
3
|
+
"badge",
|
|
4
|
+
"button",
|
|
5
|
+
"card",
|
|
6
|
+
"code",
|
|
7
|
+
"dialog",
|
|
8
|
+
"empty",
|
|
9
|
+
"feedback",
|
|
10
|
+
"form",
|
|
11
|
+
"icon",
|
|
12
|
+
"layout",
|
|
13
|
+
"list",
|
|
14
|
+
"media",
|
|
15
|
+
"navigation",
|
|
16
|
+
"progress",
|
|
17
|
+
"skeleton",
|
|
18
|
+
"surface",
|
|
19
|
+
"table",
|
|
20
|
+
"text",
|
|
21
|
+
"tooltip"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* shortwind: layout@0.0.1 sha:48a2a7b6e1a5d7ad */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Composition primitives. @stack-* stacks children vertically (flex-col);
|
|
5
|
+
@row* lays them out horizontally (flex-row). Choose the gap with the size
|
|
6
|
+
suffix (xs/sm/md/lg on stacks). Use @grid-2/3/4 only for true multi-column
|
|
7
|
+
grids, @center to center on both axes, @full to fill the parent. Common
|
|
8
|
+
slips: there is no @flex-row (use @row) or @flex-col (use a @stack-*), and
|
|
9
|
+
the grids are @grid-3, not @grid-cols-3.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* Vertical stack with extra-small gap. */
|
|
13
|
+
@recipe stack-xs {
|
|
14
|
+
flex flex-col gap-1
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Vertical stack with small gap. */
|
|
18
|
+
@recipe stack-sm {
|
|
19
|
+
flex flex-col gap-2
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Vertical stack with medium gap. */
|
|
23
|
+
@recipe stack-md {
|
|
24
|
+
flex flex-col gap-4
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Vertical stack with large gap. */
|
|
28
|
+
@recipe stack-lg {
|
|
29
|
+
flex flex-col gap-8
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Horizontal row with default gap and centered items. */
|
|
33
|
+
@recipe row {
|
|
34
|
+
flex flex-row items-center gap-2
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Horizontal row with space between children. */
|
|
38
|
+
@recipe row-between {
|
|
39
|
+
flex flex-row items-center justify-between gap-2
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Horizontal row aligned to the end. */
|
|
43
|
+
@recipe row-end {
|
|
44
|
+
flex flex-row items-center justify-end gap-2
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Two-column responsive grid. */
|
|
48
|
+
@recipe grid-2 {
|
|
49
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Three-column responsive grid. */
|
|
53
|
+
@recipe grid-3 {
|
|
54
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Four-column responsive grid. */
|
|
58
|
+
@recipe grid-4 {
|
|
59
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Center content horizontally and vertically. */
|
|
63
|
+
@recipe center {
|
|
64
|
+
flex items-center justify-center
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Fill the available width and height. */
|
|
68
|
+
@recipe full {
|
|
69
|
+
h-full w-full
|
|
70
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* shortwind: layout@0.0.1 sha:48a2a7b6e1a5d7ad */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
Composition primitives. @stack-* stacks children vertically (flex-col);
|
|
5
|
+
@row* lays them out horizontally (flex-row). Choose the gap with the size
|
|
6
|
+
suffix (xs/sm/md/lg on stacks). Use @grid-2/3/4 only for true multi-column
|
|
7
|
+
grids, @center to center on both axes, @full to fill the parent. Common
|
|
8
|
+
slips: there is no @flex-row (use @row) or @flex-col (use a @stack-*), and
|
|
9
|
+
the grids are @grid-3, not @grid-cols-3.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/* Vertical stack with extra-small gap. */
|
|
13
|
+
@recipe stack-xs {
|
|
14
|
+
flex flex-col gap-1
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Vertical stack with small gap. */
|
|
18
|
+
@recipe stack-sm {
|
|
19
|
+
flex flex-col gap-2
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Vertical stack with medium gap. */
|
|
23
|
+
@recipe stack-md {
|
|
24
|
+
flex flex-col gap-4
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Vertical stack with large gap. */
|
|
28
|
+
@recipe stack-lg {
|
|
29
|
+
flex flex-col gap-8
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Horizontal row with default gap and centered items. */
|
|
33
|
+
@recipe row {
|
|
34
|
+
flex flex-row items-center gap-2
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Horizontal row with space between children. */
|
|
38
|
+
@recipe row-between {
|
|
39
|
+
flex flex-row items-center justify-between gap-2
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Horizontal row aligned to the end. */
|
|
43
|
+
@recipe row-end {
|
|
44
|
+
flex flex-row items-center justify-end gap-2
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Two-column responsive grid. */
|
|
48
|
+
@recipe grid-2 {
|
|
49
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Three-column responsive grid. */
|
|
53
|
+
@recipe grid-3 {
|
|
54
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Four-column responsive grid. */
|
|
58
|
+
@recipe grid-4 {
|
|
59
|
+
grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Center content horizontally and vertically. */
|
|
63
|
+
@recipe center {
|
|
64
|
+
flex items-center justify-center
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Fill the available width and height. */
|
|
68
|
+
@recipe full {
|
|
69
|
+
h-full w-full
|
|
70
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* shortwind: list@0.0.1 sha:f662887791fabb8d */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
@list wraps a stack of @list-item rows; use @list-bordered for divided rows.
|
|
5
|
+
Definition lists are separate: @dl with @dt (term) and @dd (description).
|
|
6
|
+
For site navigation reach for the navigation family (@nav), not @list.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Vertical list with default gap. */
|
|
10
|
+
@recipe list {
|
|
11
|
+
flex flex-col gap-1
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Single list item. */
|
|
15
|
+
@recipe list-item {
|
|
16
|
+
flex items-center gap-2 rounded-md px-3 py-2 text-sm text-foreground
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* List with dividing borders between items. */
|
|
20
|
+
@recipe list-bordered {
|
|
21
|
+
divide-y divide-border rounded-md border border-border
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Definition list container. */
|
|
25
|
+
@recipe dl {
|
|
26
|
+
grid grid-cols-1 gap-2 sm:grid-cols-3 sm:gap-4
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Definition term. */
|
|
30
|
+
@recipe dt {
|
|
31
|
+
text-sm font-medium text-muted-foreground
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Definition description. */
|
|
35
|
+
@recipe dd {
|
|
36
|
+
text-sm text-foreground sm:col-span-2
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* shortwind: list@0.0.1 sha:f662887791fabb8d */
|
|
2
|
+
|
|
3
|
+
/* @guide
|
|
4
|
+
@list wraps a stack of @list-item rows; use @list-bordered for divided rows.
|
|
5
|
+
Definition lists are separate: @dl with @dt (term) and @dd (description).
|
|
6
|
+
For site navigation reach for the navigation family (@nav), not @list.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/* Vertical list with default gap. */
|
|
10
|
+
@recipe list {
|
|
11
|
+
flex flex-col gap-1
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Single list item. */
|
|
15
|
+
@recipe list-item {
|
|
16
|
+
flex items-center gap-2 rounded-md px-3 py-2 text-sm text-foreground
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* List with dividing borders between items. */
|
|
20
|
+
@recipe list-bordered {
|
|
21
|
+
divide-y divide-border rounded-md border border-border
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Definition list container. */
|
|
25
|
+
@recipe dl {
|
|
26
|
+
grid grid-cols-1 gap-2 sm:grid-cols-3 sm:gap-4
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Definition term. */
|
|
30
|
+
@recipe dt {
|
|
31
|
+
text-sm font-medium text-muted-foreground
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Definition description. */
|
|
35
|
+
@recipe dd {
|
|
36
|
+
text-sm text-foreground sm:col-span-2
|
|
37
|
+
}
|