@nexia/sdk 0.9.4 → 0.9.6

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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Public frontend contracts for Nexia App Packages. Import supported contracts from the package root, `/host` or `/testing`. This package does not contain the Nexia Core workspace runtime.
4
4
 
5
+ ### Single-choice toggle group
6
+
7
+ Import `NxToggleGroup` from `@nexia/sdk/host` and pass `value`, `items`, `onChange`, and `ariaLabel`. The optional `variant` controls the selected button's color using the existing button variants, such as `primary`; omitting it keeps the standard appearance. Adopt a Core host that provides `NxToggleGroup` before using this export.
8
+
5
9
  Development Fast Refresh requires the standard `nexiaAppConfig(import.meta.url)`
6
10
  configuration, Vite 7.3.x, a compatible Nexia CLI and sandbox Core development
7
11
  assets. Custom Vite configurations retain compiled development. Backend changes
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.5
4
+ date: 2026-11-25
5
+ title: Shared selection buttons
6
+ description: Use NxToggleGroup for single-choice controls in Apps.
7
+ ---
8
+
9
+ Apps can use `NxToggleGroup` for single-choice segmented controls. The selected option uses the default appearance or a button `variant`. Adopt the matching Core host before using this export.
@@ -0,0 +1,9 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.5
4
+ date: 2026-11-25
5
+ title: 공통 선택 버튼
6
+ description: 앱에서 NxToggleGroup 단일 선택 버튼을 사용할 수 있습니다.
7
+ ---
8
+
9
+ `NxToggleGroup`으로 단일 선택 버튼을 표시할 수 있습니다. 기본 선택 색을 사용하거나 `variant`로 버튼 색을 지정할 수 있으며, 사용 전에 대응하는 Core 호스트가 필요합니다.
@@ -0,0 +1,12 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.6
4
+ date: 2026-11-28
5
+ title: App interaction analytics
6
+ description: Record App UI interactions with the React SDK.
7
+ ---
8
+
9
+ Use `useAppAnalytics()` from `@nexia/sdk` to record an App interaction with a
10
+ stable key such as `request.submit_clicked`. Pass the key alone. The matching
11
+ Core host supplies the App and tenant context and makes tracking optional. See
12
+ the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#app-analytics).
@@ -0,0 +1,12 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.6
4
+ date: 2026-11-28
5
+ title: App 화면 동작 분석
6
+ description: React SDK에서 App 화면 동작을 기록할 수 있습니다.
7
+ ---
8
+
9
+ `@nexia/sdk`의 `useAppAnalytics()`로 `request.submit_clicked`처럼 고정된 키를
10
+ 기록할 수 있습니다. 이벤트 키만 전달합니다. 대응하는 Core 호스트가 App과
11
+ 테넌트 정보를 확인하며 수집 활성화를 관리합니다.
12
+ [프런트엔드 호스트 가이드](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts#app-analytics)에서 사용법을 확인하세요.
@@ -3,6 +3,7 @@ status: draft
3
3
  ---
4
4
 
5
5
 
6
+
6
7
  The `organization.workforce` v1 slot lets Apps supply workforce views for an authorized Legal Entity. The detailed guide covers props, registration, scoped permissions, and verification.
7
8
 
8
9
  [Implement the workforce slot](https://developers.nexia.to/docs/platform-extensions-add-slot-widget)
@@ -3,6 +3,7 @@ status: draft
3
3
  ---
4
4
 
5
5
 
6
+
6
7
  `organization.workforce` v1 슬롯으로 App이 권한 있는 법인의 직원 배치 보기를 제공할 수 있습니다. 상세 문서에서 props, 등록, 범위별 권한과 확인 방법을 설명합니다.
7
8
 
8
9
  [직원 배치 슬롯 구현하기](https://developers.nexia.to/ko/docs/platform-extensions-add-slot-widget)
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, 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';
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, NxToggleGroupProps, 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, NxStageBuilderProps, 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, NxToggleGroupItem, NxToggleGroupProps, 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';
@@ -231,6 +231,7 @@ export interface NexiaAppFrontendHostBindings {
231
231
  NxStatusBadge: typeof NxStatusBadge;
232
232
  NxSwitch: typeof NxSwitch;
233
233
  NxTabNav: typeof NxTabNav;
234
+ NxToggleGroup: <TValue extends string>(props: NxToggleGroupProps<TValue>) => ReactNode;
234
235
  NxTextArea: typeof NxTextArea;
235
236
  NxTextInput: typeof NxTextInput;
236
237
  NxTooltip: ComponentType<NxTooltipProps>;
@@ -260,6 +261,7 @@ export interface NexiaAppFrontendHostBindings {
260
261
  WorkSurface: typeof WorkSurface;
261
262
  };
262
263
  hooks: {
264
+ useAppAnalytics?: () => (eventKey: string) => void;
263
265
  useWidgetQueryRuntime: () => WidgetQueryRuntime;
264
266
  useDashboardDataSource: (queryKey: readonly unknown[], enabled?: boolean) => void;
265
267
  useContextQuery: () => ContextQueryResult;
@@ -376,6 +378,8 @@ export declare function bindNexiaAppRequestServices(appKey: string): {
376
378
  * Core calls this once before installed App entries execute.
377
379
  */
378
380
  export declare function configureNexiaAppFrontendHost(bindings: NexiaAppFrontendHostBindings): void;
381
+ /** Record a stable App interaction key without including user or record data. */
382
+ export declare function useAppAnalytics(): (eventKey: string) => void;
379
383
  /** The host retains authentication and file bytes outside an isolated App frame. */
380
384
  export declare function openFile(href: string, options?: OpenFileOptions): Promise<void>;
381
385
  /** Axios-compatible host client carrying the active shell CSRF configuration. */
@@ -471,6 +475,7 @@ export declare function NxSelect<TValue extends string | number>(props: NxSelect
471
475
  export declare function NxStatCard(props: NxStatCardProps): ReactNode;
472
476
  export declare function NxStatusBadge(props: NxStatusBadgeProps): ReactNode;
473
477
  export declare function NxTabNav(props: NxTabNavProps): ReactNode;
478
+ export declare function NxToggleGroup<TValue extends string>(props: NxToggleGroupProps<TValue>): ReactNode;
474
479
  export declare function NxTextArea(props: NxTextAreaProps): ReactNode;
475
480
  export declare function NxTextInput(props: NxTextInputProps): ReactNode;
476
481
  export declare function NxTooltip(props: NxTooltipProps): ReactNode;
package/dist/host.js CHANGED
@@ -91,6 +91,13 @@ function host() {
91
91
  }
92
92
  return activeHost;
93
93
  }
94
+ const ignoreAppEvent = (_eventKey) => { };
95
+ const useUnavailableAppAnalytics = () => ignoreAppEvent;
96
+ /** Record a stable App interaction key without including user or record data. */
97
+ export function useAppAnalytics() {
98
+ const useAnalytics = activeHost?.hooks?.useAppAnalytics ?? useUnavailableAppAnalytics;
99
+ return useAnalytics();
100
+ }
94
101
  /** The host retains authentication and file bytes outside an isolated App frame. */
95
102
  export function openFile(href, options) {
96
103
  return host().runtime.openFile(href, options);
@@ -443,6 +450,9 @@ export function NxStatusBadge(props) {
443
450
  export function NxTabNav(props) {
444
451
  return render(host().components.NxTabNav, props);
445
452
  }
453
+ export function NxToggleGroup(props) {
454
+ return createElement((host().components.NxToggleGroup), props);
455
+ }
446
456
  export function NxTextArea(props) {
447
457
  return render(host().components.NxTextArea, props);
448
458
  }
package/dist/index.d.ts CHANGED
@@ -37,8 +37,8 @@ export { APPROVAL_STATES, APPROVAL_STEP_KINDS } from "./approval";
37
37
  export { queueApprovalRequest } from "./approval-request";
38
38
  export type { BpmnEditorDocument, BpmnEditorElement, BpmnEditorNodeType, BpmnEditorProcess, DmnEditorDocument, DmnEditorHitPolicy, DmnEditorInputClause, DmnEditorOutputClause, DmnEditorRule, DmnEditorValueType, ProcessUserTaskFormController, ProcessUserTaskFormRegistrar, ProcessUserTaskFormRegistration, ProcessUserTaskFormRegistry, ProcessUserTaskFormSlotPropsV1, ProcessUserTaskFormWidgetLoader, ProcessUserTaskResourceRef, } from "./process";
39
39
  export { DMN_EDITOR_HIT_POLICIES } from "./process";
40
- export type { AppRouteFrameProps, AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, ListLocateRecord, MessageApi, MutationFormError, NxCanonicalRoutePaneProps, NxActionKind, NxIconButtonProps, NxComboboxOption, NxComboboxProps, NxRefreshControlProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxDatePickerLabels, NxDatePickerProps, NxDateRangePickerProps, NxDateRangeValue, NxDropdownMenuItem, NxHelpTooltipProps, InsightFilterControls, InsightFilterState, InsightQueryLike, InsightRangePreset, UseInsightFilterStateOptions, NxOverviewBandCard, NxSelectOption, NxStatDelta, NxStatDeltaDirection, NxStatDeltaTone, NxTabNavItem, NxTabNavProps, NxTooltipAlign, NxTooltipProps, NxTooltipSide, OpenResourceWorkTab, OpenResourceWorkTabOptions, ResourceCreateCompletion, ResourceCreateCompletionInput, ResourceCreateContinuationTarget, ResourceCreateReceiverRegistration, ResourceInspectorAdapter, ResourceInspectorAdapterLoader, ResourceInspectorAdapterProps, ResourceInspectorQueryProps, ResourceInspectorAdapterRegistry, ResourceInspectorPanelProps, ResourceInspectorStack, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListFilters, ResourceListFilterValue, ResourceListFooterConfig, ResourceListParams, ResourceListParamsControls, ResourceListRefreshConfig, ResourceListToolbarConfig, ResourceListToolbarMoreMenuProps, ResourceListToolbarViewOption, ResourcePrimaryCellProps, ResourceActionDescriptor, ResourceRef, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableColumn, ResourceTableAccess, ResourceTableDensity, ResourceTableProps, ResourceTableStyle, ResourceTableSummaryRow, ResourceTableSort, TabContextActionContext, TabContextActionRegistration, DraftFieldBinding, RegisterDraftActionOptions, TabContextActionResult, ResourceTextCellProps, ToastOptions, ToastSource, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, WorkSectionProps, FavoriteTarget, WorkTabRef, WorkSurfaceAction, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps, } from "./shell";
41
- export { FavoriteButton, NEXIA_READ_ONLY_HEADER } from "./host";
40
+ export type { AppRouteFrameProps, AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, ListLocateRecord, MessageApi, MutationFormError, NxCanonicalRoutePaneProps, NxActionKind, NxIconButtonProps, NxComboboxOption, NxComboboxProps, NxRefreshControlProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxDatePickerLabels, NxDatePickerProps, NxDateRangePickerProps, NxDateRangeValue, NxDropdownMenuItem, NxHelpTooltipProps, InsightFilterControls, InsightFilterState, InsightQueryLike, InsightRangePreset, UseInsightFilterStateOptions, NxOverviewBandCard, NxSelectOption, NxStatDelta, NxStatDeltaDirection, NxStatDeltaTone, NxTabNavItem, NxTabNavProps, NxToggleGroupItem, NxToggleGroupProps, NxTooltipAlign, NxTooltipProps, NxTooltipSide, OpenResourceWorkTab, OpenResourceWorkTabOptions, ResourceCreateCompletion, ResourceCreateCompletionInput, ResourceCreateContinuationTarget, ResourceCreateReceiverRegistration, ResourceInspectorAdapter, ResourceInspectorAdapterLoader, ResourceInspectorAdapterProps, ResourceInspectorQueryProps, ResourceInspectorAdapterRegistry, ResourceInspectorPanelProps, ResourceInspectorStack, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListFilters, ResourceListFilterValue, ResourceListFooterConfig, ResourceListParams, ResourceListParamsControls, ResourceListRefreshConfig, ResourceListToolbarConfig, ResourceListToolbarMoreMenuProps, ResourceListToolbarViewOption, ResourcePrimaryCellProps, ResourceActionDescriptor, ResourceRef, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableColumn, ResourceTableAccess, ResourceTableDensity, ResourceTableProps, ResourceTableStyle, ResourceTableSummaryRow, ResourceTableSort, TabContextActionContext, TabContextActionRegistration, DraftFieldBinding, RegisterDraftActionOptions, TabContextActionResult, ResourceTextCellProps, ToastOptions, ToastSource, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, WorkSectionProps, FavoriteTarget, WorkTabRef, WorkSurfaceAction, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps, } from "./shell";
41
+ export { FavoriteButton, NEXIA_READ_ONLY_HEADER, useAppAnalytics } from "./host";
42
42
  export type { FavoriteButtonProps } from "./host";
43
43
  export { createSpreadsheetWorkbook } from "./spreadsheet";
44
44
  export type { SpreadsheetWorkbook, SpreadsheetWorksheet, SpreadsheetCell, NxSpreadsheetEditorProps } from "./spreadsheet";
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ export { isRetryableHandoffFailure } from "./handoff-result.js";
19
19
  export { APPROVAL_STATES, APPROVAL_STEP_KINDS } from "./approval.js";
20
20
  export { queueApprovalRequest } from "./approval-request.js";
21
21
  export { DMN_EDITOR_HIT_POLICIES } from "./process.js";
22
- export { FavoriteButton, NEXIA_READ_ONLY_HEADER } from "./host.js";
22
+ export { FavoriteButton, NEXIA_READ_ONLY_HEADER, useAppAnalytics } from "./host.js";
23
23
  export { createSpreadsheetWorkbook } from "./spreadsheet.js";
24
24
  export { documentDataFieldIdentity } from './document-data.js';
25
25
  export { buildAppCatalogTree } from './app-catalog.js';
package/dist/shell.d.ts CHANGED
@@ -880,6 +880,23 @@ export interface NxTabNavProps {
880
880
  className?: string;
881
881
  scrollable?: boolean;
882
882
  }
883
+ export interface NxToggleGroupItem<TValue extends string> {
884
+ value: TValue;
885
+ label: ReactNode;
886
+ icon?: ReactNode;
887
+ iconOnly?: boolean;
888
+ disabled?: boolean;
889
+ tooltip?: ReactNode;
890
+ }
891
+ export interface NxToggleGroupProps<TValue extends string> {
892
+ value: TValue;
893
+ items: readonly NxToggleGroupItem<TValue>[];
894
+ onChange: (value: TValue) => void;
895
+ ariaLabel: string;
896
+ fullWidth?: boolean;
897
+ className?: string;
898
+ variant?: "default" | NxActionVariant;
899
+ }
883
900
  export interface NxSearchFieldProps {
884
901
  id?: string;
885
902
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",