@shortwind/catalog 0.1.0-beta.13 → 0.1.0-beta.14

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 (46) hide show
  1. package/dist/registry/badge/CHANGELOG.md +1 -1
  2. package/dist/registry/badge.css +17 -7
  3. package/dist/registry/{badge@0.0.1.css → badge@0.0.2.css} +17 -7
  4. package/dist/registry/button/CHANGELOG.md +1 -1
  5. package/dist/registry/button.css +49 -6
  6. package/dist/registry/button@0.0.2.css +117 -0
  7. package/dist/registry/index.json +5 -0
  8. package/dist/registry/layout/CHANGELOG.md +1 -1
  9. package/dist/registry/layout.css +9 -5
  10. package/dist/registry/{layout@0.0.1.css → layout@0.0.2.css} +9 -5
  11. package/dist/registry/list/CHANGELOG.md +1 -1
  12. package/dist/registry/list.css +16 -3
  13. package/dist/registry/{list@0.0.1.css → list@0.0.2.css} +16 -3
  14. package/dist/registry/manifest.json +858 -153
  15. package/dist/registry/menu/CHANGELOG.md +5 -0
  16. package/dist/registry/menu.css +30 -0
  17. package/dist/registry/menu@0.0.1.css +30 -0
  18. package/dist/registry/navigation/CHANGELOG.md +1 -1
  19. package/dist/registry/navigation.css +18 -5
  20. package/dist/registry/{navigation@0.0.1.css → navigation@0.0.2.css} +18 -5
  21. package/dist/registry/presets.json +1 -1
  22. package/dist/registry/recipes/badge.css +17 -7
  23. package/dist/registry/recipes/button.css +49 -6
  24. package/dist/registry/recipes/layout.css +9 -5
  25. package/dist/registry/recipes/list.css +16 -3
  26. package/dist/registry/recipes/menu.css +30 -0
  27. package/dist/registry/recipes/navigation.css +18 -5
  28. package/dist/registry/recipes/segmented.css +19 -0
  29. package/dist/registry/recipes/sheet.css +38 -0
  30. package/dist/registry/recipes/stat.css +30 -0
  31. package/dist/registry/recipes/switch.css +19 -0
  32. package/dist/registry/segmented/CHANGELOG.md +5 -0
  33. package/dist/registry/segmented.css +19 -0
  34. package/dist/registry/segmented@0.0.1.css +19 -0
  35. package/dist/registry/sheet/CHANGELOG.md +5 -0
  36. package/dist/registry/sheet.css +38 -0
  37. package/dist/registry/sheet@0.0.1.css +38 -0
  38. package/dist/registry/stat/CHANGELOG.md +5 -0
  39. package/dist/registry/stat.css +30 -0
  40. package/dist/registry/stat@0.0.1.css +30 -0
  41. package/dist/registry/switch/CHANGELOG.md +5 -0
  42. package/dist/registry/switch.css +19 -0
  43. package/dist/registry/switch@0.0.1.css +19 -0
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +2 -2
  46. package/dist/registry/button@0.0.1.css +0 -74
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@shortwind/catalog",
3
- "version": "0.1.0-beta.13",
3
+ "version": "0.1.0-beta.14",
4
4
  "description": "The Shortwind recipe catalog — built, versioned recipe files the CLI installs from.",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "dependencies": {
10
- "@shortwind/core": "0.1.0-beta.13"
10
+ "@shortwind/core": "0.1.0-beta.14"
11
11
  },
12
12
  "devDependencies": {
13
13
  "tsx": "^4.21.0"
@@ -1,74 +0,0 @@
1
- /* shortwind: button@0.0.1 sha:777fa510c4ab4aeb */
2
-
3
- /* @guide
4
- Name order is @btn-<intent>[-<size>]: intent first (primary/secondary/ghost/
5
- danger/outline), size second (sm/lg; omit for default). One intent per
6
- button — never combine @btn-primary with @btn-danger. @btn-ghost is text-only,
7
- @btn-outline is bordered with no fill, @btn-icon is a square icon button.
8
- @btn-base is the shared shell; don't use it on its own.
9
- */
10
-
11
- /* Shared button base — sizing, focus ring, disabled state. */
12
- @recipe btn-base {
13
- inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:cursor-not-allowed disabled:opacity-50
14
- }
15
-
16
- /* Primary call-to-action button. */
17
- @recipe btn-primary {
18
- @btn-base bg-primary text-primary-foreground hover:bg-primary/90
19
- }
20
-
21
- /* Small primary button. */
22
- @recipe btn-primary-sm {
23
- @btn-primary px-3 py-1.5 text-xs
24
- }
25
-
26
- /* Large primary button. */
27
- @recipe btn-primary-lg {
28
- @btn-primary px-6 py-3 text-base
29
- }
30
-
31
- /* Secondary button — bordered surface tone. */
32
- @recipe btn-secondary {
33
- @btn-base border border-border bg-secondary text-secondary-foreground hover:bg-secondary/80
34
- }
35
-
36
- /* Small secondary button. */
37
- @recipe btn-secondary-sm {
38
- @btn-secondary px-3 py-1.5 text-xs
39
- }
40
-
41
- /* Large secondary button. */
42
- @recipe btn-secondary-lg {
43
- @btn-secondary px-6 py-3 text-base
44
- }
45
-
46
- /* Ghost button — text only, no background. */
47
- @recipe btn-ghost {
48
- @btn-base text-foreground hover:bg-muted
49
- }
50
-
51
- /* Small ghost button. */
52
- @recipe btn-ghost-sm {
53
- @btn-ghost px-3 py-1.5 text-xs
54
- }
55
-
56
- /* Large ghost button. */
57
- @recipe btn-ghost-lg {
58
- @btn-ghost px-6 py-3 text-base
59
- }
60
-
61
- /* Destructive button. */
62
- @recipe btn-danger {
63
- @btn-base bg-destructive text-destructive-foreground hover:bg-destructive/90
64
- }
65
-
66
- /* Outline button — bordered without fill. */
67
- @recipe btn-outline {
68
- @btn-base border border-primary text-primary hover:bg-primary/10
69
- }
70
-
71
- /* Square icon-only button. */
72
- @recipe btn-icon {
73
- inline-flex h-9 w-9 items-center justify-center rounded-md text-foreground transition-colors hover:bg-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:cursor-not-allowed disabled:opacity-50
74
- }