sh-ui-cli 0.58.1 → 0.58.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 (95) hide show
  1. package/data/changelog/versions.json +30 -0
  2. package/data/registry/react/components/accordion/index.tailwind.tsx +1 -1
  3. package/data/registry/react/components/accordion/styles.css +1 -1
  4. package/data/registry/react/components/accordion/styles.module.css +1 -1
  5. package/data/registry/react/components/breadcrumb/index.tailwind.tsx +1 -1
  6. package/data/registry/react/components/breadcrumb/styles.css +1 -1
  7. package/data/registry/react/components/breadcrumb/styles.module.css +1 -1
  8. package/data/registry/react/components/button/index.tailwind.tsx +1 -1
  9. package/data/registry/react/components/button/styles.css +1 -2
  10. package/data/registry/react/components/button/styles.css.ts +1 -2
  11. package/data/registry/react/components/button/styles.module.css +1 -2
  12. package/data/registry/react/components/calendar/index.tailwind.tsx +3 -3
  13. package/data/registry/react/components/calendar/styles.css +3 -3
  14. package/data/registry/react/components/calendar/styles.module.css +3 -3
  15. package/data/registry/react/components/card/index.tailwind.tsx +1 -1
  16. package/data/registry/react/components/card/styles.css +1 -0
  17. package/data/registry/react/components/card/styles.css.ts +1 -0
  18. package/data/registry/react/components/card/styles.module.css +1 -0
  19. package/data/registry/react/components/carousel/index.tailwind.tsx +2 -2
  20. package/data/registry/react/components/carousel/styles.css +2 -2
  21. package/data/registry/react/components/carousel/styles.module.css +2 -2
  22. package/data/registry/react/components/checkbox/index.tailwind.tsx +1 -1
  23. package/data/registry/react/components/checkbox/styles.css +1 -1
  24. package/data/registry/react/components/checkbox/styles.module.css +1 -1
  25. package/data/registry/react/components/code-editor/index.tailwind.tsx +1 -1
  26. package/data/registry/react/components/code-editor/styles.css +1 -1
  27. package/data/registry/react/components/code-editor/styles.module.css +1 -1
  28. package/data/registry/react/components/code-panel/styles.css +1 -1
  29. package/data/registry/react/components/code-panel/styles.module.css +1 -1
  30. package/data/registry/react/components/color-picker/index.tailwind.tsx +1 -1
  31. package/data/registry/react/components/color-picker/styles.css +1 -1
  32. package/data/registry/react/components/color-picker/styles.module.css +1 -1
  33. package/data/registry/react/components/combobox/index.tailwind.tsx +1 -1
  34. package/data/registry/react/components/combobox/styles.css +1 -1
  35. package/data/registry/react/components/combobox/styles.module.css +1 -1
  36. package/data/registry/react/components/dialog/index.tailwind.tsx +2 -2
  37. package/data/registry/react/components/dialog/styles.css +2 -2
  38. package/data/registry/react/components/dialog/styles.module.css +2 -2
  39. package/data/registry/react/components/dropdown-menu/index.tailwind.tsx +1 -1
  40. package/data/registry/react/components/dropdown-menu/styles.css +1 -1
  41. package/data/registry/react/components/dropdown-menu/styles.module.css +1 -1
  42. package/data/registry/react/components/file-upload/index.tailwind.tsx +3 -3
  43. package/data/registry/react/components/file-upload/styles.css +3 -3
  44. package/data/registry/react/components/file-upload/styles.module.css +3 -3
  45. package/data/registry/react/components/header/index.tailwind.tsx +3 -3
  46. package/data/registry/react/components/header/styles.css +3 -3
  47. package/data/registry/react/components/header/styles.module.css +3 -3
  48. package/data/registry/react/components/input/index.tailwind.tsx +1 -1
  49. package/data/registry/react/components/input/styles.css +1 -1
  50. package/data/registry/react/components/input/styles.css.ts +1 -1
  51. package/data/registry/react/components/input/styles.module.css +1 -1
  52. package/data/registry/react/components/menubar/styles.css +1 -1
  53. package/data/registry/react/components/menubar/styles.module.css +1 -1
  54. package/data/registry/react/components/page-toc/index.tailwind.tsx +1 -1
  55. package/data/registry/react/components/page-toc/styles.css +1 -1
  56. package/data/registry/react/components/page-toc/styles.module.css +1 -1
  57. package/data/registry/react/components/pagination/index.tailwind.tsx +1 -1
  58. package/data/registry/react/components/pagination/styles.css +1 -1
  59. package/data/registry/react/components/pagination/styles.module.css +1 -1
  60. package/data/registry/react/components/popover/index.tailwind.tsx +1 -1
  61. package/data/registry/react/components/popover/styles.css +1 -1
  62. package/data/registry/react/components/popover/styles.module.css +1 -1
  63. package/data/registry/react/components/radio/index.tailwind.tsx +1 -1
  64. package/data/registry/react/components/radio/styles.css +1 -1
  65. package/data/registry/react/components/radio/styles.module.css +1 -1
  66. package/data/registry/react/components/rich-text-editor/index.tailwind.tsx +2 -2
  67. package/data/registry/react/components/rich-text-editor/styles.css +2 -2
  68. package/data/registry/react/components/rich-text-editor/styles.module.css +2 -2
  69. package/data/registry/react/components/select/index.tailwind.tsx +1 -1
  70. package/data/registry/react/components/select/styles.css +2 -2
  71. package/data/registry/react/components/select/styles.module.css +2 -2
  72. package/data/registry/react/components/sidebar/index.tailwind.tsx +3 -3
  73. package/data/registry/react/components/sidebar/styles.css +3 -3
  74. package/data/registry/react/components/sidebar/styles.module.css +3 -3
  75. package/data/registry/react/components/slider/index.tailwind.tsx +1 -1
  76. package/data/registry/react/components/slider/styles.css +1 -1
  77. package/data/registry/react/components/slider/styles.module.css +1 -1
  78. package/data/registry/react/components/switch/index.tailwind.tsx +1 -1
  79. package/data/registry/react/components/switch/styles.css +1 -1
  80. package/data/registry/react/components/switch/styles.module.css +1 -1
  81. package/data/registry/react/components/tabs/index.tailwind.tsx +2 -2
  82. package/data/registry/react/components/tabs/styles.css +2 -2
  83. package/data/registry/react/components/tabs/styles.module.css +2 -2
  84. package/data/registry/react/components/toast/index.tailwind.tsx +1 -1
  85. package/data/registry/react/components/toast/styles.css +1 -1
  86. package/data/registry/react/components/toast/styles.module.css +1 -1
  87. package/data/registry/react/components/toggle/index.tailwind.tsx +1 -1
  88. package/data/registry/react/components/toggle/styles.css +1 -1
  89. package/data/registry/react/components/toggle/styles.module.css +1 -1
  90. package/package.json +1 -1
  91. package/templates/nextjs-standalone/_arch/flat/lib/styles/tokens.css +1 -0
  92. package/templates/nextjs-standalone/_arch/fsd/src/shared/styles/tokens.css +1 -0
  93. package/templates/nextjs-standalone/app/globals.css +1 -0
  94. package/templates/ui-app-template/src/styles/globals.css +1 -0
  95. package/templates/ui-app-template/src/styles/tokens.css +1 -0
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .tabs__trigger:focus-visible {
51
- outline: var(--border-width-strong) solid var(--foreground);
51
+ outline: var(--border-width-strong) solid var(--ring);
52
52
  outline-offset: 2px;
53
53
  }
54
54
 
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  .tabs__content:focus-visible {
80
- outline: var(--border-width-strong) solid var(--foreground);
80
+ outline: var(--border-width-strong) solid var(--ring);
81
81
  outline-offset: 2px;
82
82
  border-radius: var(--radius);
83
83
  }
@@ -133,7 +133,7 @@ function ToastCard({ item, onDismiss }: { item: ToastItem; onDismiss: () => void
133
133
  )}
134
134
  <button
135
135
  type="button"
136
- className="absolute top-1.5 right-1.5 inline-flex items-center justify-center w-6 h-6 p-0 border-none rounded-[calc(var(--radius)-2px)] bg-transparent text-foreground-muted text-[length:var(--text-sm)] leading-none cursor-pointer transition-[background-color,color] duration-[var(--duration-fast)] hover:bg-background-muted hover:text-foreground focus-visible:outline-[length:var(--border-width-strong)] focus-visible:outline-foreground focus-visible:outline-offset-2 motion-reduce:transition-none"
136
+ className="absolute top-1.5 right-1.5 inline-flex items-center justify-center w-6 h-6 p-0 border-none rounded-[calc(var(--radius)-2px)] bg-transparent text-foreground-muted text-[length:var(--text-sm)] leading-none cursor-pointer transition-[background-color,color] duration-[var(--duration-fast)] hover:bg-background-muted hover:text-foreground focus-visible:outline-[length:var(--border-width-strong)] focus-visible:outline-ring focus-visible:outline-offset-2 motion-reduce:transition-none"
137
137
  onClick={() => setExiting(true)}
138
138
  aria-label="닫기"
139
139
  >
@@ -276,7 +276,7 @@
276
276
  }
277
277
 
278
278
  .sh-ui-toast__close:focus-visible {
279
- outline: var(--border-width-strong) solid var(--foreground);
279
+ outline: var(--border-width-strong) solid var(--ring);
280
280
  outline-offset: 2px;
281
281
  }
282
282
 
@@ -276,7 +276,7 @@
276
276
  }
277
277
 
278
278
  .toast__close:focus-visible {
279
- outline: var(--border-width-strong) solid var(--foreground);
279
+ outline: var(--border-width-strong) solid var(--ring);
280
280
  outline-offset: 2px;
281
281
  }
282
282
 
@@ -8,7 +8,7 @@ import { cva, type VariantProps } from "class-variance-authority";
8
8
 
9
9
  import { cn } from "@SH_UI_UTILS@";
10
10
  const toggleVariants = cva(
11
- "inline-flex items-center justify-center gap-1.5 border border-transparent rounded-[var(--radius)] font-medium leading-none cursor-pointer text-foreground-muted bg-transparent transition-[background-color,color,border-color] duration-[var(--duration-fast)] select-none focus-visible:outline-[length:var(--border-width-strong)] focus-visible:outline-foreground focus-visible:outline-offset-2 disabled:opacity-[var(--opacity-disabled)] disabled:pointer-events-none data-[pressed]:bg-background-muted data-[pressed]:text-foreground motion-reduce:transition-none",
11
+ "inline-flex items-center justify-center gap-1.5 border border-transparent rounded-[var(--radius)] font-medium leading-none cursor-pointer text-foreground-muted bg-transparent transition-[background-color,color,border-color] duration-[var(--duration-fast)] select-none focus-visible:outline-[length:var(--border-width-strong)] focus-visible:outline-ring focus-visible:outline-offset-2 disabled:opacity-[var(--opacity-disabled)] disabled:pointer-events-none data-[pressed]:bg-background-muted data-[pressed]:text-foreground motion-reduce:transition-none",
12
12
  {
13
13
  variants: {
14
14
  variant: {
@@ -56,7 +56,7 @@
56
56
 
57
57
  /* focus */
58
58
  .sh-ui-toggle:focus-visible {
59
- outline: var(--border-width-strong) solid var(--foreground);
59
+ outline: var(--border-width-strong) solid var(--ring);
60
60
  outline-offset: 2px;
61
61
  }
62
62
 
@@ -56,7 +56,7 @@
56
56
 
57
57
  /* focus */
58
58
  .toggle:focus-visible {
59
- outline: var(--border-width-strong) solid var(--foreground);
59
+ outline: var(--border-width-strong) solid var(--ring);
60
60
  outline-offset: 2px;
61
61
  }
62
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sh-ui-cli",
3
- "version": "0.58.1",
3
+ "version": "0.58.3",
4
4
  "description": "sh-ui CLI — 프로젝트 스캐폴드(create) + 컴포넌트 추가(add/list/remove) + IDE-내 AI용 MCP 서버",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,6 +16,7 @@
16
16
  --primary: #171717;
17
17
  --primary-foreground: #FAFAFA;
18
18
  --primary-hover: #262626;
19
+ --ring: color-mix(in srgb, var(--primary) 50%, transparent);
19
20
  --danger: #DC2626;
20
21
  --danger-foreground: #FFFFFF;
21
22
  }
@@ -16,6 +16,7 @@
16
16
  --primary: #171717;
17
17
  --primary-foreground: #FAFAFA;
18
18
  --primary-hover: #262626;
19
+ --ring: color-mix(in srgb, var(--primary) 50%, transparent);
19
20
  --danger: #DC2626;
20
21
  --danger-foreground: #FFFFFF;
21
22
  }
@@ -21,6 +21,7 @@
21
21
  --color-primary: var(--primary);
22
22
  --color-primary-foreground: var(--primary-foreground);
23
23
  --color-primary-hover: var(--primary-hover);
24
+ --color-ring: var(--ring);
24
25
  --color-danger: var(--danger);
25
26
  --color-danger-foreground: var(--danger-foreground);
26
27
  --color-success: var(--success);
@@ -25,6 +25,7 @@
25
25
  --color-primary: var(--primary);
26
26
  --color-primary-foreground: var(--primary-foreground);
27
27
  --color-primary-hover: var(--primary-hover);
28
+ --color-ring: var(--ring);
28
29
  --color-danger: var(--danger);
29
30
  --color-danger-foreground: var(--danger-foreground);
30
31
  --color-success: var(--success);
@@ -16,6 +16,7 @@
16
16
  --primary: #171717;
17
17
  --primary-foreground: #FAFAFA;
18
18
  --primary-hover: #262626;
19
+ --ring: color-mix(in srgb, var(--primary) 50%, transparent);
19
20
  --danger: #DC2626;
20
21
  --danger-foreground: #FFFFFF;
21
22
  }