Skip to content

Version Packages - #810

Merged
itwillbeoptimal merged 1 commit into
devfrom
changeset-release/dev
Nov 30, 2026
Merged

itwillbeoptimal merged 1 commit into
devfrom
changeset-release/dev

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to dev, this PR will be updated.

Releases

@jects/jds@0.10.0

Minor Changes

  • e4cf822: BlockButton

    loading prop을 추가하고, 버튼 내용을 감싸는 요소를 추가했습니다. 버튼의 직계 자식을 기준으로 스타일을 지정하던 소비처는 확인이 필요합니다.

    추가

    • loading — 기본값 false, 내용을 숨겨 너비를 유지한 채 아이콘 크기의 스피너를 가운데에 표시, aria-busy와 aria-disabled를 지정하고 클릭과 부모로의 클릭 전파, hover, pressed 오버레이를 막음, 포커스는 유지, 움직임 줄이기 설정에서는 스피너가 호 길이 변화 없이 느리게 회전
    • disabled와 함께 지정하면 disabled 우선, asChild와는 함께 쓸 수 없음

    동작 변경 (코드 수정 불필요)

    • 렌더 구조 — asChild가 아니면 아이콘과 레이블이 button의 직계 자식이 아니라 내부 span의 자식으로 렌더링, button > [data-part='icon'] 같은 직계 자식 선택자나 루트의 justify-content로 아이콘과 레이블을 배치하던 스타일은 확인 필요
  • b0ebd12: AlertDialog

    Dialog를 AlertDialog로 대체했습니다. 제목, 본문, 버튼을 prop으로 전달하는 대신 하위 컴포넌트로 구성합니다. 기존 Dialog는 제거되었으므로 아래 표와 예시를 참고해 코드를 변경해야 합니다.

    소비처 영향 (코드 수정 필요)

    AS-IS TO-BE
    open, onOpenChange 등 Radix Dialog prop <AlertDialog.Root>의 동일한 prop
    header <AlertDialog.Title>
    body <AlertDialog.Description>
    checkboxAction <AlertDialog.Checkbox>
    primaryAction <AlertDialog.Action>
    secondaryAction <AlertDialog.Action hierarchy="secondary">
    buttonLayout <AlertDialog.Footer>의 buttonLayout
    closeOnInteractOutside, container, width <AlertDialog.Content>의 동일한 prop
    DialogProps 하위 컴포넌트별 타입 (예: AlertDialogContentProps)
    DialogButtonLayout AlertDialogButtonLayout

    Title, Description, Footer는 <AlertDialog.Content> 안에, Checkbox와 Action은 <AlertDialog.Footer> 안에 배치합니다. <AlertDialog.Action>을 클릭해도 다이얼로그는 자동으로 닫히지 않습니다. 다이얼로그를 닫으려면 onClick에서 open을 false로 변경해야 합니다.

    - <Dialog
    -   open={open}
    -   onOpenChange={setOpen}
    -   header="작성된 내용이 모두 사라집니다"
    -   body="지금 나가면 복구할 수 없습니다."
    -   checkboxAction={{ label: "다시 보지 않기", checked, onCheckedChange: setChecked }}
    -   primaryAction={{ children: "나가기", onClick: leave }}
    -   secondaryAction={{ children: "계속 작성", onClick: () => setOpen(false) }}
    - />
    + <AlertDialog.Root open={open} onOpenChange={setOpen}>
    +   <AlertDialog.Content>
    +     <AlertDialog.Title>작성된 내용이 모두 사라집니다</AlertDialog.Title>
    +     <AlertDialog.Description>지금 나가면 복구할 수 없습니다.</AlertDialog.Description>
    +     <AlertDialog.Footer>
    +       <AlertDialog.Checkbox label="다시 보지 않기" checked={checked} onCheckedChange={setChecked} />
    +       <AlertDialog.Action hierarchy="secondary" onClick={() => setOpen(false)}>계속 작성</AlertDialog.Action>
    +       <AlertDialog.Action onClick={() => { leave(); setOpen(false); }}>나가기</AlertDialog.Action>
    +     </AlertDialog.Footer>
    +   </AlertDialog.Content>
    + </AlertDialog.Root>

    추가

    • <AlertDialog.Trigger> — 다이얼로그를 여는 버튼, asChild를 지정하면 다른 요소를 트리거로 사용 가능
    • <AlertDialog.Action>의 hierarchy — 기본값 primary, 보조 액션에는 secondary 지정
    • <AlertDialog.Action>의 feedback — 기본값 없음, destructive만 지정 가능, hierarchy와 함께 사용 불가

    동작 변경 (코드 수정 불필요)

    • closeOnInteractOutside 기본값 — true에서 false로 변경, 바깥을 클릭해 닫는 동작이 필요하면 closeOnInteractOutside 지정
    • 열릴 때 포커스 — 첫 번째 포커스 가능 요소에서 secondary Action으로 변경, secondary Action이 없거나 비활성 상태면 기존과 동일
    • 버튼 순서 — 작성 순서와 관계없이 위계에 따라 결정, horizontal에서는 primary를 가장 오른쪽, vertical에서는 가장 위에 배치, feedback 버튼은 primary와 같은 위치, <AlertDialog.Checkbox>는 항상 버튼 위에 배치
    • 컨테이너 role — dialog에서 alertdialog로 변경
    • 개발 모드 경고 — <AlertDialog.Content> 안에 <AlertDialog.Title>이나 <AlertDialog.Description>이 없거나 두 개 이상이면 콘솔에 경고 출력, 프로덕션 빌드에서는 출력하지 않음
  • e4cf822: LabelButton

    loading prop을 추가하고, 버튼 내용을 감싸는 요소를 추가했습니다. 버튼의 직계 자식을 기준으로 스타일을 지정하던 소비처는 확인이 필요합니다.

    추가

    • loading — 기본값 false, 내용을 숨겨 너비를 유지한 채 아이콘 크기의 스피너를 가운데에 표시, aria-busy와 aria-disabled를 지정하고 클릭과 부모로의 클릭 전파, hover, pressed 오버레이를 막음, 포커스는 유지, 움직임 줄이기 설정에서는 스피너가 호 길이 변화 없이 느리게 회전
    • disabled와 함께 지정하면 disabled 우선, asChild와는 함께 쓸 수 없음

    동작 변경 (코드 수정 불필요)

    • 렌더 구조 — asChild가 아니면 아이콘과 레이블이 button의 직계 자식이 아니라 내부 span의 자식으로 렌더링, button > [data-part='icon'] 같은 직계 자식 선택자나 루트의 justify-content로 아이콘과 레이블을 배치하던 스타일은 확인 필요
  • 6a36b3a: TimePicker

    오전/오후, 시, 분, 초 열에서 시각 하나를 고르는 TimePicker 패널을 추가합니다. 트리거와 팝오버는 포함하지 않습니다. 값은 날짜 없는 { hour, minute, second } 객체이고 hour는 0~23입니다.

    prop 기본값 용도
    format "hh:mm" 열 구성, hh, hh:mm, hh:mm:ss, HH:mm, mm, mm:ss, ss
    value 선택 시각, 넘기면 제어 모드, null은 선택 없음
    defaultValue null 비제어 모드의 시작 선택값
    onChange 선택 확정 시 새 시각으로 호출
    minuteStep, secondStep 5 분, 초 목록 간격, 1, 5, 10, 15, 30
    minTime, maxTime 선택 가능 범위, 범위 밖 항목은 비활성, 자정을 넘는 범위 미지원
    withActionBar false 적용 버튼 표시, 켜면 적용을 눌러야 확정
    disabled, readOnly false 조작 차단, 읽기 전용
    import { TimePicker, type TimeValue } from "@jects/jds";
    
    const [time, setTime] = useState<TimeValue | null>(null);
    
    <TimePicker format='hh:mm' value={time} onChange={setTime} withActionBar />;

Patch Changes

  • ca72072: BlockButton

    variant='outlined' 테두리와 상호작용 오버레이 불투명도를 변경했습니다. variant='outlined'의 border를 덮어쓰던 스타일이 아니면 호출부 수정은 필요하지 않습니다.

    동작 변경 (코드 수정 불필요)

    • variant='outlined' 테두리 — border에서 박스 안쪽 box-shadow로 변경, 높이와 너비 2px 감소해 다른 variant와 같아짐, border나 border-color로 테두리를 덮어쓰던 스타일은 확인 필요
    • variant='outlined', variant='hollow', hierarchy='secondary' variant='solid' 오버레이 불투명도 — hover 8%에서 5%로, pressed 12%에서 8%로 변경, accent와 primary의 solid는 그대로
  • e4cf822: IconButton

    loading prop을 추가했습니다. 기존 호출부는 수정할 필요가 없습니다.

    • loading — 기본값 false, 내용을 숨겨 너비를 유지한 채 아이콘 크기의 스피너를 가운데에 표시, aria-busy와 aria-disabled를 지정하고 클릭과 부모로의 클릭 전파, hover, pressed 오버레이를 막음, 포커스는 유지, 움직임 줄이기 설정에서는 스피너가 호 길이 변화 없이 느리게 회전
    • disabled와 함께 지정하면 disabled 우선, asChild와는 함께 쓸 수 없음
  • ca72072: IconButton

    상호작용 오버레이와 모서리를 변경했습니다. 호출부 수정은 필요하지 않으며, 렌더 결과만 달라집니다. IconButton을 쓰는 Chip, ContentBadge의 삭제 버튼도 같은 결과가 적용됩니다.

    동작 변경 (코드 수정 불필요)

    • 오버레이 불투명도 — 모든 hierarchy에서 hover 8%에서 5%로, pressed 12%에서 8%로 변경
    • primary, secondary, tertiary 오버레이 색 — object.neutral에서 fill.boldest로 변경
    • 오버레이와 focus ring 모서리 — 크기별로 한 단계 커짐, 기본 2xsmd 4px에서 6px로, lg 4px에서 8px로, xl3xl 6px에서 8px로, condensed 2xsmd 2px에서 4px로, lg3xl 4px에서 6px로 변경
  • ca72072: LabelButton

    상호작용 오버레이를 변경했습니다. 호출부 수정은 필요하지 않으며, 렌더 결과만 달라집니다.

    동작 변경 (코드 수정 불필요)

    • 오버레이 불투명도 — hierarchy와 feedback 모두 hover 8%에서 5%로, pressed 12%에서 8%로 변경
    • secondary, tertiary 오버레이 색 — object.boldest에서 fill.boldest로 변경

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 235429a1-ae34-45b3-8484-da900ca1b514

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions
github-actions Bot force-pushed the changeset-release/dev branch 2 times, most recently from 30fd88d to 5e089b2 Compare November 30, 2026 15:29
@github-actions
github-actions Bot force-pushed the changeset-release/dev branch from 5e089b2 to f5a4638 Compare November 30, 2026 16:48
@itwillbeoptimal
itwillbeoptimal merged commit 7838bdb into dev Nov 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant