@rippling/pebble-sdui-mobile 0.16.0 → 0.17.0

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.
@@ -1,4 +1,7 @@
1
1
  import { NavigateParamsParam, Payload, PushParamsParam } from './component-props';
2
+ export interface CopyToClipboardParams {
3
+ text: string;
4
+ }
2
5
  export interface GoBackParams {
3
6
  }
4
7
  export interface NavigateParams {
@@ -1,6 +1,7 @@
1
1
  import { ActionBinding, ActionOptions } from '../../core/action-utils';
2
2
  import { WrapWithActionParamValue } from '../../core/expressions';
3
- import { GoBackParams, NavigateParams, PushParams, SetStateParams, TriggerApiParams } from './action-params';
3
+ import { CopyToClipboardParams, GoBackParams, NavigateParams, PushParams, SetStateParams, TriggerApiParams } from './action-params';
4
+ export declare const copyToClipboard: (params: WrapWithActionParamValue<CopyToClipboardParams>, options?: ActionOptions) => ActionBinding;
4
5
  export declare const goBack: (params: WrapWithActionParamValue<GoBackParams>, options?: ActionOptions) => ActionBinding;
5
6
  export declare const navigate: (params: WrapWithActionParamValue<NavigateParams>, options?: ActionOptions) => ActionBinding;
6
7
  export declare const push: (params: WrapWithActionParamValue<PushParams>, options?: ActionOptions) => ActionBinding;
@@ -7,7 +7,7 @@
7
7
  * action definitions, directive definitions, and spec validation.
8
8
  */
9
9
  export declare const CATALOG_NAME = "custom-apps";
10
- export declare const CATALOG_VERSION = "1.7.0";
10
+ export declare const CATALOG_VERSION = "1.8.0";
11
11
  /** Return component descriptions keyed by component name. */
12
12
  export declare function getComponents(): Record<string, string>;
13
13
  /** Return action descriptions keyed by action name. */
@@ -20,6 +20,8 @@ export declare function getComputedFunctions(): Record<string, Record<string, un
20
20
  export declare function getDefs(): Record<string, Record<string, unknown>>;
21
21
  /** Get the full JSON definition of a component by name. */
22
22
  export declare function getComponent(name: string): Record<string, unknown>;
23
+ /** Render LLM-ready Markdown with the SDUI contract taking precedence. */
24
+ export declare function getComponentMarkdown(name: string): string;
23
25
  /** Get the full JSON definition of an action by name. */
24
26
  export declare function getAction(name: string): Record<string, unknown>;
25
27
  /** Get the full JSON definition of a computed function by name. */