@nexia/sdk 0.9.1 → 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.2
4
+ date: 2026-11-19
5
+ title: Ordered stage editing
6
+ description: Compose numbered, sortable stages with App-owned content.
7
+ ---
8
+
9
+ `NxStageBuilder` provides numbered, sortable stages with add/remove controls and App-owned row content. Enable this export only when the Core frontend serves React SDK 0.9.2 or a compatible version and exposes NxStageBuilder in its frontend inventory. [Guide](https://developers.nexia.to/en/docs/app-sdk-frontend-host-contracts)
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.2
4
+ date: 2026-11-19
5
+ title: 순서가 있는 단계 편집
6
+ description: 앱 소유 콘텐츠로 번호가 붙고 정렬 가능한 단계를 구성할 수 있습니다.
7
+ ---
8
+
9
+ `NxStageBuilder`로 번호·정렬·추가·삭제를 공통화하고 각 단계 내용은 앱에서 구성할 수 있습니다. Core 프런트엔드가 React SDK 0.9.2 또는 호환 버전을 제공하고 프런트엔드 인벤토리에 NxStageBuilder를 노출하는 환경에서 사용하세요. [프런트엔드 호스트 가이드](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)
@@ -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/host.d.ts CHANGED
@@ -9,7 +9,7 @@ import type { ApprovalBusinessFormRegistrar, ApprovalBusinessFormRegistry } from
9
9
  import type { ContextQueryResult, PermissionsQueryResult } from './context';
10
10
  import type { DataMigrationBackgroundOperationClient, DataMigrationProviderRegistration, DataMigrationRegistrar, DataMigrationRegistry, DataMigrationStageRegistration, DataMigrationTargetRegistration } from './data-migration';
11
11
  import type { ProcessUserTaskFormRegistration, ProcessUserTaskFormRegistrar, ProcessUserTaskFormRegistry } from './process';
12
- import type { AppRouteFrameProps, AutoRegisterPackageSurfacesOptions, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, MessageApi, MutationFormError, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserProps, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxDropdownMenuProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxOverviewBandProps, InsightFilterControls, UseInsightFilterStateOptions, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxPageFrameProps, NxPaginationProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxSearchFieldProps, NxSectionCardProps, SectionRowProps, NxSectionStackProps, NxResponsiveRegionProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxSwitchProps, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, OpenResourceWorkTab, ResourceCreateCompletion, ResourceCreateReceiverRegistration, ResourceInspectorAdapterRegistry, ResourceInspectorAdapterRegistrar, ResourceInspectorPanelProps, ResourceInspectorQueryProps, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListParams, ResourceListParamsControls, ResourceListToolbarMoreMenuProps, ResourcePrimaryCellProps, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableProps, ResourceTableSort, ResourceTextCellProps, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, TabContextActionRegistration, RegisterDraftActionOptions, ToastOptions, WorkSectionProps, FavoriteTarget, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps } from './shell';
12
+ import type { AppRouteFrameProps, AutoRegisterPackageSurfacesOptions, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, MessageApi, MutationFormError, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserProps, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxDropdownMenuProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxOverviewBandProps, InsightFilterControls, UseInsightFilterStateOptions, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxPageFrameProps, NxPaginationProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxSearchFieldProps, NxSectionCardProps, NxStageBuilderProps, SectionRowProps, NxSectionStackProps, NxResponsiveRegionProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxSwitchProps, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, OpenResourceWorkTab, ResourceCreateCompletion, ResourceCreateReceiverRegistration, ResourceInspectorAdapterRegistry, ResourceInspectorAdapterRegistrar, ResourceInspectorPanelProps, ResourceInspectorQueryProps, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListParams, ResourceListParamsControls, ResourceListToolbarMoreMenuProps, ResourcePrimaryCellProps, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableProps, ResourceTableSort, ResourceTextCellProps, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, TabContextActionRegistration, RegisterDraftActionOptions, ToastOptions, WorkSectionProps, FavoriteTarget, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps } from './shell';
13
13
  import type { AgentComponentRenderer, AttachmentDeleteResult, AttachmentQueryResult, AttachmentUploadOptions, AttachmentUploadResult, ApprovalRoutePoliciesQueryResult, ApprovalSharedLinesQueryResult, DashboardWidgetAutoHeightRef, LegalEntityMemberListParams, LegalEntityMemberQueryResult, LegalEntityApplicabilityQueryResult, LegalEntityQueryResult, MediaUploadResult, OperatingUnitQueryResult, OperatingUnitQueryScope, OperatingUnitScopeFieldProps, OperatingUnitScopeResult, OperatingUnitSelectionResult, PartyListParams, PartyQueryResult, TrustedAssetListParams, TrustedAssetsQueryResult, UploadFileClient } from './platform';
14
14
  import type { NxOrganizationTargetSelectorProps, NxOperatingUnitSelectorProps, OrganizationListScopeMode, OrganizationListScopeResult, OrganizationTargetQuery, OrganizationTargetQueryResult } from './organization-target';
15
15
  import type { NxCalendarProps, NxResourceSchedulerProps, ResourceBoardProps, ResourceScheduleProps } from './resources/resource-projections';
@@ -20,7 +20,7 @@ import type { ResourceProjectionChangeSubscription } from './resource-reference'
20
20
  import type { ResourceCreateDestinationRegistry } from './resource-create-destination';
21
21
  export type { ResourceProjectionChangeSubscription } from './resource-reference';
22
22
  /** Host-only visual component prop contracts. App packages import these from ./host. */
23
- export type { AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, NxAdaptiveSplitAsideWidth, NxAdaptiveSplitBreakpoint, NxAdaptiveSplitDensity, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxDropdownMenuProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartItem, NxOrgChartLabels, NxOrgChartMember, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxOverviewBandProps, NxPageFrameProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxResponsiveRegionProps, ResourceListToolbarMoreMenuProps, NxSearchFieldProps, NxSectionCardProps, SectionRowProps, NxSectionStackProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxSwitchProps, NxTabNavItem, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, ResourceListRefreshConfig, ResourceTableDensity, ResourceTableStyle, ResourceTableSummaryRow, } from './shell';
23
+ export type { AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, NxAdaptiveSplitAsideWidth, NxAdaptiveSplitBreakpoint, NxAdaptiveSplitDensity, NxAdaptiveSplitProps, NxActionButtonProps, NxAlertProps, NxButtonProps, NxLinkButtonProps, NxIconButtonProps, NxIconLinkProps, NxCanonicalRoutePaneProps, NxCheckboxProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxComboboxProps, NxDatePickerProps, NxDateRangePickerProps, NxDetailRowProps, NxDropdownMenuProps, NxEmptyViewProps, NxFieldGroupProps, NxFieldLegendProps, NxFieldsetProps, NxFileDropzoneProps, NxFormFieldProps, NxFormSectionProps, NxInsightFilterBarProps, NxInsightSurfaceProps, NxHelpTooltipProps, NxLoadingBlockProps, NxModalDialogProps, NxOrgChartItem, NxOrgChartLabels, NxOrgChartMember, NxOrgChartProps, NxMissingRequiredReferencesAlertProps, NxOverviewBandProps, NxPageFrameProps, NxRadioGroupProps, NxRadioProps, NxRefreshControlProps, NxResponsiveRegionProps, ResourceListToolbarMoreMenuProps, NxSearchFieldProps, NxSectionCardProps, NxStageBuilderProps, SectionRowProps, NxSectionStackProps, NxSelectProps, NxStatCardProps, NxStatusBadgeProps, NxSwitchProps, NxTabNavItem, NxTabNavProps, NxTextAreaProps, NxTextInputProps, NxTooltipProps, ResourceListRefreshConfig, ResourceTableDensity, ResourceTableStyle, ResourceTableSummaryRow, } from './shell';
24
24
  export type { NxCalendarActionBinding, NxCalendarActionCommand, NxCalendarActionResult, NxCalendarInteraction, NxCalendarOccurrence, NxCalendarProps, NxCalendarRange, NxCalendarSelection, NxCalendarTemporalRange, NxCalendarView, NxResourceSchedulerActionBinding, NxResourceSchedulerActionCommand, NxResourceSchedulerActionResult, NxResourceSchedulerInteraction, NxResourceSchedulerOccurrence, NxResourceSchedulerProps, NxResourceSchedulerResource, NxResourceSchedulerSelection, NxResourceSchedulerView, ResourceBoardCard, ResourceBoardLabels, ResourceBoardLane, ResourceBoardLoadState, ResourceBoardMoveCommand, ResourceBoardMutationResult, ResourceBoardProjection, ResourceBoardProps, ResourceBoardSummaryField, ResourceProjectionReference, ResourceScheduleActionBinding, ResourceScheduleActionCommand, ResourceScheduleDatePair, ResourceScheduleDateSemantics, ResourceScheduleDependency, ResourceScheduleDependencyType, ResourceScheduleInteraction, ResourceScheduleItem, ResourceScheduleItemType, ResourceScheduleLoadState, ResourceScheduleMutationResult, ResourceScheduleProjection, ResourceScheduleProps, ResourceScheduleTimeUnit, ResourceScheduleView, } from './resources/resource-projections';
25
25
  export type { DatasetImportConfirmationSummary, NxDatasetExportWorkspaceProps, NxDatasetImportWorkspaceProps, NxInlineResourceCreateProps, NxResourceImportDialogProps, NxResourceTransferActionsProps, } from './resources/resource-transfer';
26
26
  export { projectSignatureCapabilityCatalog, signatureCapabilityIdentity, } from './signature';
@@ -222,6 +222,7 @@ export interface NexiaAppFrontendHostBindings {
222
222
  NxRefreshControl: ComponentType<NxRefreshControlProps>;
223
223
  NxSearchField: typeof NxSearchField;
224
224
  NxSectionCard: typeof NxSectionCard;
225
+ NxStageBuilder: typeof NxStageBuilder;
225
226
  NxSectionRow: typeof NxSectionRow;
226
227
  NxSectionStack: typeof NxSectionStack;
227
228
  NxResponsiveRegion: typeof NxResponsiveRegion;
@@ -461,6 +462,7 @@ export declare function NxPageFrame(props: NxPageFrameProps): ReactNode;
461
462
  export declare function NxResponsiveRegion(props: NxResponsiveRegionProps): ReactNode;
462
463
  export declare function NxPagination(props: NxPaginationProps): ReactNode;
463
464
  export declare function NxSearchField(props: NxSearchFieldProps): ReactNode;
465
+ export declare function NxStageBuilder(props: NxStageBuilderProps): ReactNode;
464
466
  export declare function NxSectionCard(props: NxSectionCardProps): ReactNode;
465
467
  export declare function NxSectionRow(props: SectionRowProps): ReactNode;
466
468
  export declare function NxSwitch(props: NxSwitchProps): ReactNode;
package/dist/host.js CHANGED
@@ -416,6 +416,9 @@ export function NxPagination(props) {
416
416
  export function NxSearchField(props) {
417
417
  return render(host().components.NxSearchField, props);
418
418
  }
419
+ export function NxStageBuilder(props) {
420
+ return render(host().components.NxStageBuilder, props);
421
+ }
419
422
  export function NxSectionCard(props) {
420
423
  return render(host().components.NxSectionCard, props);
421
424
  }
package/dist/index.d.ts CHANGED
@@ -48,3 +48,4 @@ export { documentDataFieldIdentity } from './document-data';
48
48
  export type { DocumentDataFieldBinding, DocumentDataCatalogItem, DocumentDataCatalogFilters, DocumentDataCatalogPage, NxDocumentDataFieldPickerProps } from './document-data';
49
49
  export { buildAppCatalogTree } from './app-catalog';
50
50
  export type { AppCatalogGroup, AppCatalogLeaf } from './app-catalog';
51
+ export type { NxStageBuilderProps } from "./shell";
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;
@@ -890,6 +892,29 @@ export interface NxSearchFieldProps {
890
892
  "aria-label"?: string;
891
893
  "data-testid"?: string;
892
894
  }
895
+ export interface NxStageBuilderProps {
896
+ /** Stable, unique identities in the current order. Never use array indexes. */
897
+ stageIds: string[];
898
+ renderStage: (index: number) => ReactNode;
899
+ onAdd: () => void;
900
+ /** Both indexes refer to the current order; target is the final position. */
901
+ onMove: (index: number, target: number) => void;
902
+ onRemove: (index: number) => void;
903
+ draftStageAddition?: boolean;
904
+ minCount?: number;
905
+ maxCount?: number;
906
+ disabled?: boolean;
907
+ readOnly?: boolean;
908
+ stageChromeAlignment?: 'start' | 'controls';
909
+ labels?: {
910
+ add?: string;
911
+ empty?: string;
912
+ stage?: (position: number) => string;
913
+ drag?: (stage: string) => string;
914
+ remove?: (stage: string) => string;
915
+ dragInstructions?: string;
916
+ };
917
+ }
893
918
  export interface NxSectionCardProps {
894
919
  title?: ReactNode;
895
920
  description?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",