@rippling/pebble-sdui-mobile 0.18.0 → 0.19.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.
@@ -108,6 +108,34 @@ on: {
108
108
  }
109
109
  ```
110
110
 
111
+ ## openChatAssistantWithMessage
112
+
113
+ Open Chat Assistant and send an initial message in a new conversation.
114
+
115
+ text: prompt/message that should be sent immediately after Chat Assistant opens.
116
+ target: optional Chat Assistant surface target. Omit to use the default chat surface.
117
+
118
+ Catalog key: `openChatAssistantWithMessage`
119
+ Creator: `openChatAssistantWithMessage`
120
+ Params type: `OpenChatAssistantWithMessageParams`
121
+
122
+ ### Params
123
+
124
+ | Name | Required | Type | Description |
125
+ |---|---:|---|---|
126
+ | `target` | no | [openChatAssistantWithMessageTarget](./definitions.md#openchatassistantwithmessagetarget) | Optional Chat Assistant surface target. |
127
+ | `text` | yes | string | Initial message to send in a new Chat Assistant conversation. Must contain at least one non-whitespace character. |
128
+
129
+ No additional properties.
130
+
131
+ ### Usage Shape
132
+
133
+ ```ts
134
+ on: {
135
+ press: openChatAssistantWithMessage({ ... })
136
+ }
137
+ ```
138
+
111
139
  ## push
112
140
 
113
141
  Push a React Navigation screen onto the current stack by name using the mobile route registered in the navigator.
@@ -3165,6 +3165,28 @@ Referenced by:
3165
3165
  |---|---|---|
3166
3166
  | component | `ObjectItem` | `appearance` |
3167
3167
 
3168
+ ## openChatAssistantWithMessageTarget
3169
+
3170
+ TypeScript type:
3171
+
3172
+ ```ts
3173
+ "sidepane" | "fullscreen" | "copilot"
3174
+ ```
3175
+
3176
+ Allowed values:
3177
+
3178
+ | Value |
3179
+ |---|
3180
+ | `sidepane` |
3181
+ | `fullscreen` |
3182
+ | `copilot` |
3183
+
3184
+ Referenced by:
3185
+
3186
+ | Kind | Entity | Field |
3187
+ |---|---|---|
3188
+ | action | `openChatAssistantWithMessage` | `target` |
3189
+
3168
3190
  ## PageContentPadding
3169
3191
 
3170
3192
  TypeScript type:
@@ -2,7 +2,7 @@
2
2
  # custom-apps Catalog
3
3
 
4
4
  Catalog: `custom-apps`
5
- Version: `1.11.0`
5
+ Version: `1.12.0`
6
6
  SDK language: `typescript`
7
7
 
8
8
  Use this catalog index after you have chosen this catalog for the spec. Do not mix components, actions, computed functions, or render helpers from another catalog unless that catalog explicitly documents compatibility.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rippling/pebble-sdui-mobile",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Type-safe TypeScript mobile SDK for authoring json-render specs",
5
5
  "repository": {
6
6
  "type": "git",