@nexia/sdk 0.9.2 → 0.9.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.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.3
4
+ date: 2026-11-20
5
+ title: Draft controls
6
+ description: Mark local draft edits with NxButton.draftAction or NxStageBuilder.draftStageAddition.
7
+ ---
8
+
9
+ Mark local draft edits with NxButton.draftAction or NxStageBuilder.draftStageAddition. These controls require a Core host that supports the new properties. Use them only for unsaved edits.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.3
4
+ date: 2026-11-20
5
+ title: 초안 편집 버튼
6
+ description: 저장 전 초안만 편집하는 버튼에 NxButton.draftAction 또는 NxStageBuilder.draftStageAddition을 지정할 수 있습니다.
7
+ ---
8
+
9
+ 저장 전 초안만 편집하는 버튼에 NxButton.draftAction 또는 NxStageBuilder.draftStageAddition을 지정할 수 있습니다. 이 속성을 지원하는 Core 호스트에서 사용하세요.
package/dist/shell.d.ts CHANGED
@@ -615,6 +615,8 @@ export interface NxActionButtonProps extends Omit<ButtonHTMLAttributes<HTMLButto
615
615
  variant?: NxActionVariant;
616
616
  }
617
617
  export interface NxButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> {
618
+ /** A local draft edit that does not persist or submit data. */
619
+ draftAction?: boolean;
618
620
  variant?: NxActionVariant;
619
621
  size?: "xs" | "sm" | "md";
620
622
  radius?: NxButtonRadius;
@@ -898,6 +900,7 @@ export interface NxStageBuilderProps {
898
900
  /** Both indexes refer to the current order; target is the final position. */
899
901
  onMove: (index: number, target: number) => void;
900
902
  onRemove: (index: number) => void;
903
+ draftStageAddition?: boolean;
901
904
  minCount?: number;
902
905
  maxCount?: number;
903
906
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",