@inploi/plugin-chatbot 3.2.6 → 3.2.8

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,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const framerMotion = require("framer-motion");
4
- const index = require("./index-4a06c2aa.cjs");
3
+ const index = require("./index-08db93e2.cjs");
5
4
  require("@inploi/sdk");
6
5
  const followNodes = ({
7
6
  node,
@@ -553,8 +552,8 @@ const InputError = ({
553
552
  error,
554
553
  onAnimationComplete
555
554
  }) => {
556
- return index.o(framerMotion.AnimatePresence, {
557
- children: error && index.o(framerMotion.m.div, {
555
+ return index.o(index.AnimatePresence, {
556
+ children: error && index.o(index.m.div, {
558
557
  initial: {
559
558
  height: 0,
560
559
  opacity: 0
@@ -2454,7 +2453,7 @@ const ChatInput = ({
2454
2453
  type,
2455
2454
  value
2456
2455
  });
2457
- return index.o(framerMotion.m.div, {
2456
+ return index.o(index.m.div, {
2458
2457
  initial: {
2459
2458
  height: 0
2460
2459
  },
@@ -2597,7 +2596,7 @@ const ChatBubble = ({
2597
2596
  side,
2598
2597
  ...props
2599
2598
  }) => {
2600
- return index.o(framerMotion.m.p, {
2599
+ return index.o(index.m.p, {
2601
2600
  variants: motionVariants,
2602
2601
  initial: "hidden",
2603
2602
  animate: "shown",
@@ -2657,7 +2656,7 @@ const JobApplicationMessages = ({
2657
2656
  return index.o("ol", {
2658
2657
  "aria-label": "Chat messages",
2659
2658
  class: "flex flex-grow flex-col justify-end gap-2 p-2 pt-[calc(var(--header-height)+1rem)]",
2660
- children: [index.o(framerMotion.AnimatePresence, {
2659
+ children: [index.o(index.AnimatePresence, {
2661
2660
  initial: false,
2662
2661
  children: messages.map((message, i2) => index.o("li", {
2663
2662
  class: "flex",
@@ -2894,7 +2893,7 @@ const JobApplicationContent = ({
2894
2893
  WebkitOverflowScrolling: "touch",
2895
2894
  paddingBottom: index.inputHeight.value
2896
2895
  },
2897
- children: index.o(framerMotion.AnimatePresence, {
2896
+ children: index.o(index.AnimatePresence, {
2898
2897
  children: index.o(JobApplicationMessages, {
2899
2898
  isBotTyping,
2900
2899
  messages: currentApplication.data.messages
@@ -1,5 +1,4 @@
1
- import { m, AnimatePresence } from "framer-motion";
2
- import { _, g as getHeadOrThrow, A as AbortedError, N, a as getApplicationSubmissionsPayload, o as o$1, c as clsx, b as _$1, p, d as parse, e as picklist, f as application, h, k, i as invariant, j as isSubmissionOfType, C as Cn, l as parseAsync, V as ValiError, m as object, t as transform, n as maxLength, q as minLength, r as record, s as boolean, u as string, v as email, w as url, x as regex, y, T, z as inputHeight, F, B as viewState, E as ERROR_MESSAGES } from "./index-ba66a5e9.js";
1
+ import { _, g as getHeadOrThrow, A as AbortedError, N, a as getApplicationSubmissionsPayload, o as o$1, c as clsx, b as _$1, p, d as parse, e as picklist, m, f as AnimatePresence, h as application, i as h, k, j as invariant, l as isSubmissionOfType, C as Cn, n as parseAsync, V as ValiError, q as object, t as transform, r as maxLength, s as minLength, u as record, v as boolean, w as string, x as email, y as url, z as regex, B as y, T, D as inputHeight, F, E as viewState, G as ERROR_MESSAGES } from "./index-17b40695.js";
3
2
  import "@inploi/sdk";
4
3
  const followNodes = ({
5
4
  node,
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-4a06c2aa.cjs");
3
+ const index = require("./index-08db93e2.cjs");
4
4
  require("@inploi/sdk");
5
- require("framer-motion");
6
5
  exports.chatbotPlugin = index.chatbotPlugin;
@@ -1,6 +1,5 @@
1
- import { D } from "./index-ba66a5e9.js";
1
+ import { H } from "./index-17b40695.js";
2
2
  import "@inploi/sdk";
3
- import "framer-motion";
4
3
  export {
5
- D as chatbotPlugin
4
+ H as chatbotPlugin
6
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-chatbot",
3
- "version": "3.2.6",
3
+ "version": "3.2.8",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-chatbot.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,7 @@
19
19
  "framer-motion": "^10.16.5"
20
20
  },
21
21
  "peerDependencies": {
22
- "@inploi/sdk": "*",
23
- "framer-motion": "^10.16.5"
22
+ "@inploi/sdk": "*"
24
23
  },
25
24
  "devDependencies": {
26
25
  "@happy-dom/global-registrator": "^12.6.0",
@@ -68,8 +67,8 @@
68
67
  "vite-plugin-dts": "^3.7.0",
69
68
  "vite-tsconfig-paths": "^4.2.1",
70
69
  "@inploi/core": "1.6.2",
71
- "@inploi/sdk": "1.7.4",
72
70
  "eslint-config-custom": "0.1.0",
71
+ "@inploi/sdk": "1.7.4",
73
72
  "tsconfig": "0.1.0"
74
73
  },
75
74
  "msw": {