@hivcd-printshop/design-system 1.2.2 → 1.2.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.
package/dist/index.mjs CHANGED
@@ -953,7 +953,7 @@ var ModalBase = ({ isVisible, header, children, className, onClose }) => {
953
953
  {
954
954
  "aria-hidden": true,
955
955
  onClick: onClose,
956
- className: cn("fixed inset-0 z-1000 bg-black/10", onClose && "cursor-pointer")
956
+ className: cn("fixed inset-0 z-1000 bg-[#212121]/30", onClose && "cursor-pointer")
957
957
  }
958
958
  ),
959
959
  /* @__PURE__ */ jsx25("div", { className: "fixed inset-0 z-1001 flex items-center justify-center pointer-events-none", children: /* @__PURE__ */ jsxs14(
@@ -1356,8 +1356,9 @@ var RadioToggleItem = ({
1356
1356
  onClick: onSelect,
1357
1357
  style,
1358
1358
  className: cn(
1359
- "w-full flex items-center gap-1.5 p-3",
1360
- "text-body1-regular text-secondary text-left cursor-pointer",
1359
+ "group w-full flex items-center gap-1.5 p-3",
1360
+ "text-body1-regular text-left cursor-pointer",
1361
+ open ? "text-strong" : "text-secondary",
1361
1362
  rowBg,
1362
1363
  className
1363
1364
  ),
@@ -1384,7 +1385,21 @@ var RadioToggleItem = ({
1384
1385
  };
1385
1386
  var Radio = ({ selected = false, className }) => {
1386
1387
  const Icon = selected ? IconRadioSelected : IconRadioUnselected;
1387
- return /* @__PURE__ */ jsx33(Icon, { className: cn("w-6 h-6", className) });
1388
+ return (
1389
+ // 디자인 스펙(Figma "radio" 5:781): 아이콘 자체 색은 고정, hover/pressed 시
1390
+ // 24px 원형 배경 칩만 나타난다(gray00/gray01). 부모 버튼의 group-hover/active로 동기화.
1391
+ /* @__PURE__ */ jsx33(
1392
+ "span",
1393
+ {
1394
+ className: cn(
1395
+ "inline-flex size-6 shrink-0 items-center justify-center rounded-full transition-colors",
1396
+ "group-hover:bg-gray00 group-active:bg-gray01",
1397
+ className
1398
+ ),
1399
+ children: /* @__PURE__ */ jsx33(Icon, { className: "size-6" })
1400
+ }
1401
+ )
1402
+ );
1388
1403
  };
1389
1404
  var TextButton2 = ({ label, onClick, showIcon = false, className }) => {
1390
1405
  return /* @__PURE__ */ jsxs18(
@@ -1821,14 +1836,10 @@ var UpperPart = ({
1821
1836
  ] }),
1822
1837
  /* @__PURE__ */ jsxs21("div", { className: "flex items-stretch", children: [
1823
1838
  /* @__PURE__ */ jsx37("span", { "aria-hidden": true, className: "w-px self-stretch bg-gray02" }),
1824
- upperPartIconList.map((icon, index) => /* @__PURE__ */ jsx37(
1825
- NavIconButton,
1826
- {
1827
- ...icon,
1828
- linkComponent
1829
- },
1830
- icon.id ?? icon.src ?? icon.label ?? index
1831
- ))
1839
+ upperPartIconList.map((icon, index) => /* @__PURE__ */ jsxs21(Fragment2, { children: [
1840
+ /* @__PURE__ */ jsx37(NavIconButton, { ...icon, linkComponent }),
1841
+ /* @__PURE__ */ jsx37("span", { "aria-hidden": true, className: "w-px self-stretch bg-gray02" })
1842
+ ] }, icon.id ?? icon.src ?? icon.label ?? index))
1832
1843
  ] })
1833
1844
  ]
1834
1845
  }
@@ -1850,7 +1861,9 @@ var UpperPartTab = ({
1850
1861
  linkComponent,
1851
1862
  current: selected,
1852
1863
  className: cn(
1853
- "inline-flex min-h-13 flex-col items-center gap-2 pt-2.5 cursor-pointer no-underline",
1864
+ // 헤더 바닥 border-b와 언더라인이 겹치도록 높이를 52px로 고정하고
1865
+ // justify-between으로 라벨/언더라인을 위-아래 끝에 붙인다.
1866
+ "inline-flex h-13 flex-col items-center justify-between pt-2.5 cursor-pointer no-underline",
1854
1867
  "transition-colors hover:bg-gray00 active:bg-gray01",
1855
1868
  className
1856
1869
  ),