@shortwind/catalog 0.1.0-beta.3

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 (83) hide show
  1. package/dist/expand.js +3 -0
  2. package/dist/expand@0.0.1.js +3 -0
  3. package/dist/registry/badge/CHANGELOG.md +5 -0
  4. package/dist/registry/badge.css +44 -0
  5. package/dist/registry/badge@0.0.1.css +44 -0
  6. package/dist/registry/button/CHANGELOG.md +5 -0
  7. package/dist/registry/button.css +74 -0
  8. package/dist/registry/button@0.0.1.css +74 -0
  9. package/dist/registry/card/CHANGELOG.md +5 -0
  10. package/dist/registry/card.css +43 -0
  11. package/dist/registry/card@0.0.1.css +43 -0
  12. package/dist/registry/code/CHANGELOG.md +5 -0
  13. package/dist/registry/code.css +22 -0
  14. package/dist/registry/code@0.0.1.css +22 -0
  15. package/dist/registry/dialog/CHANGELOG.md +5 -0
  16. package/dist/registry/dialog.css +33 -0
  17. package/dist/registry/dialog@0.0.1.css +33 -0
  18. package/dist/registry/empty/CHANGELOG.md +5 -0
  19. package/dist/registry/empty.css +27 -0
  20. package/dist/registry/empty@0.0.1.css +27 -0
  21. package/dist/registry/feedback/CHANGELOG.md +5 -0
  22. package/dist/registry/feedback.css +47 -0
  23. package/dist/registry/feedback@0.0.1.css +47 -0
  24. package/dist/registry/form/CHANGELOG.md +5 -0
  25. package/dist/registry/form.css +67 -0
  26. package/dist/registry/form@0.0.1.css +67 -0
  27. package/dist/registry/icon/CHANGELOG.md +5 -0
  28. package/dist/registry/icon.css +27 -0
  29. package/dist/registry/icon@0.0.1.css +27 -0
  30. package/dist/registry/index.json +23 -0
  31. package/dist/registry/layout/CHANGELOG.md +5 -0
  32. package/dist/registry/layout.css +70 -0
  33. package/dist/registry/layout@0.0.1.css +70 -0
  34. package/dist/registry/list/CHANGELOG.md +5 -0
  35. package/dist/registry/list.css +37 -0
  36. package/dist/registry/list@0.0.1.css +37 -0
  37. package/dist/registry/manifest.json +1867 -0
  38. package/dist/registry/media/CHANGELOG.md +5 -0
  39. package/dist/registry/media.css +37 -0
  40. package/dist/registry/media@0.0.1.css +37 -0
  41. package/dist/registry/navigation/CHANGELOG.md +5 -0
  42. package/dist/registry/navigation.css +38 -0
  43. package/dist/registry/navigation@0.0.1.css +38 -0
  44. package/dist/registry/presets.json +6 -0
  45. package/dist/registry/progress/CHANGELOG.md +5 -0
  46. package/dist/registry/progress.css +22 -0
  47. package/dist/registry/progress@0.0.1.css +22 -0
  48. package/dist/registry/recipes/badge.css +44 -0
  49. package/dist/registry/recipes/button.css +74 -0
  50. package/dist/registry/recipes/card.css +43 -0
  51. package/dist/registry/recipes/code.css +22 -0
  52. package/dist/registry/recipes/dialog.css +33 -0
  53. package/dist/registry/recipes/empty.css +27 -0
  54. package/dist/registry/recipes/feedback.css +47 -0
  55. package/dist/registry/recipes/form.css +67 -0
  56. package/dist/registry/recipes/icon.css +27 -0
  57. package/dist/registry/recipes/layout.css +70 -0
  58. package/dist/registry/recipes/list.css +37 -0
  59. package/dist/registry/recipes/media.css +37 -0
  60. package/dist/registry/recipes/navigation.css +38 -0
  61. package/dist/registry/recipes/progress.css +22 -0
  62. package/dist/registry/recipes/skeleton.css +22 -0
  63. package/dist/registry/recipes/surface.css +45 -0
  64. package/dist/registry/recipes/table.css +37 -0
  65. package/dist/registry/recipes/text.css +59 -0
  66. package/dist/registry/recipes/tooltip.css +11 -0
  67. package/dist/registry/skeleton/CHANGELOG.md +5 -0
  68. package/dist/registry/skeleton.css +22 -0
  69. package/dist/registry/skeleton@0.0.1.css +22 -0
  70. package/dist/registry/surface/CHANGELOG.md +5 -0
  71. package/dist/registry/surface.css +45 -0
  72. package/dist/registry/surface@0.0.2.css +45 -0
  73. package/dist/registry/table/CHANGELOG.md +5 -0
  74. package/dist/registry/table.css +37 -0
  75. package/dist/registry/table@0.0.1.css +37 -0
  76. package/dist/registry/text/CHANGELOG.md +5 -0
  77. package/dist/registry/text.css +59 -0
  78. package/dist/registry/text@0.0.1.css +59 -0
  79. package/dist/registry/tooltip/CHANGELOG.md +5 -0
  80. package/dist/registry/tooltip.css +11 -0
  81. package/dist/registry/tooltip@0.0.1.css +11 -0
  82. package/dist/tsconfig.tsbuildinfo +1 -0
  83. package/package.json +33 -0
@@ -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,5 @@
1
+ # list
2
+
3
+ ## 0.0.1
4
+
5
+ Initial release.
@@ -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
+ }