@guideai/react-native 0.7.0 → 0.8.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.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const useConversations = require("./useConversations-CTbQBTz-.cjs");
3
+ const useConversations = require("./useConversations-CJEaVqch.cjs");
4
4
  const jsxRuntime = require("react/jsx-runtime");
5
5
  const React = require("react");
6
6
  function GuideAIScreen({
package/dist/index.d.ts CHANGED
@@ -1232,6 +1232,36 @@ type BoardItem = {
1232
1232
  } | {
1233
1233
  kind: 'erase';
1234
1234
  erase: string;
1235
+ } | MotionItem;
1236
+ /** Something already drawn, moving: each names its target by id. */
1237
+ type MotionItem =
1238
+ /** Slides so its centre passes through each spot. */
1239
+ {
1240
+ kind: 'move';
1241
+ move: string;
1242
+ path: Point[];
1243
+ }
1244
+ /** Dashes run along a drawn line. */
1245
+ | {
1246
+ kind: 'flow';
1247
+ flow: string;
1248
+ }
1249
+ /** Spins about its centre, in degrees (clockwise is +). */
1250
+ | {
1251
+ kind: 'turn';
1252
+ turn: string;
1253
+ by: number;
1254
+ }
1255
+ /** Swells once and settles. */
1256
+ | {
1257
+ kind: 'pulse';
1258
+ pulse: string;
1259
+ }
1260
+ /** Handwriting whose number counts to *value*. */
1261
+ | {
1262
+ kind: 'count';
1263
+ count: string;
1264
+ value: string;
1235
1265
  };
1236
1266
  interface BoardStep {
1237
1267
  say: string;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { u as useGuideAIRuntime, S as ScreenRegistry, R as RegistryContext, a as useScreenRegistry, L as LIMITS } from "./useConversations-B_7km_uH.js";
2
- import { G, b, c, d, e } from "./useConversations-B_7km_uH.js";
1
+ import { u as useGuideAIRuntime, S as ScreenRegistry, R as RegistryContext, a as useScreenRegistry, L as LIMITS } from "./useConversations-SbhtYN_R.js";
2
+ import { G, b, c, d, e } from "./useConversations-SbhtYN_R.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { useMemo, useEffect, useRef } from "react";
5
5
  function GuideAIScreen({
package/dist/ui.cjs CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const reactNative = require("react-native");
6
- const GuideAIChat = require("./GuideAIChat-CxyWFl_o.cjs");
7
- const useConversations = require("./useConversations-CTbQBTz-.cjs");
6
+ const GuideAIChat = require("./GuideAIChat-W8KQ4Y6i.cjs");
7
+ const useConversations = require("./useConversations-CJEaVqch.cjs");
8
8
  const POLL_INTERVAL_MS = 3e3;
9
9
  const CONVERSATION_KEY = "guideai_support_conversation";
10
10
  function useStoredConversation() {
package/dist/ui.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect, useCallback, useMemo, useContext, createContext } from "react";
3
3
  import { Platform, StatusBar, KeyboardAvoidingView, View, Text, Pressable, ScrollView, TextInput, ActivityIndicator, FlatList, StyleSheet, Dimensions, Animated, PanResponder, Modal, Easing } from "react-native";
4
- import { r as resolveTheme, G as GuideAIChat } from "./GuideAIChat-DOC4zx-a.js";
5
- import { D, a, b, c, d, M, e, l } from "./GuideAIChat-DOC4zx-a.js";
6
- import { r as requireConfigured, E as EP, d as useOnboarding } from "./useConversations-B_7km_uH.js";
4
+ import { r as resolveTheme, G as GuideAIChat } from "./GuideAIChat-Ba6n1ePs.js";
5
+ import { D, a, b, c, d, M, e, l } from "./GuideAIChat-Ba6n1ePs.js";
6
+ import { r as requireConfigured, E as EP, d as useOnboarding } from "./useConversations-SbhtYN_R.js";
7
7
  const POLL_INTERVAL_MS = 3e3;
8
8
  const CONVERSATION_KEY = "guideai_support_conversation";
9
9
  function useStoredConversation() {