react-native-chatbot-ai 0.0.3 → 0.0.4

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,15 +1,11 @@
1
1
  "use strict";
2
2
 
3
- import { Text, View } from 'react-native';
3
+ import { KContainer, KNavigation } from '@droppii/libs';
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export const ChatBotAI = () => {
6
- return /*#__PURE__*/_jsx(View, {
7
- style: {
8
- backgroundColor: 'red',
9
- flex: 1
10
- },
11
- children: /*#__PURE__*/_jsx(Text, {
12
- children: "Chatbot AI"
6
+ return /*#__PURE__*/_jsx(KContainer.Page, {
7
+ children: /*#__PURE__*/_jsx(KNavigation.HeaderV2, {
8
+ title: "Chatbot AI"
13
9
  })
14
10
  });
15
11
  };
@@ -1 +1 @@
1
- {"version":3,"names":["Text","View","jsx","_jsx","ChatBotAI","style","backgroundColor","flex","children"],"sourceRoot":"../../../../src","sources":["components/chat/index.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE1C,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC7B,oBACED,IAAA,CAACF,IAAI;IAACI,KAAK,EAAE;MAAEC,eAAe,EAAE,KAAK;MAAEC,IAAI,EAAE;IAAE,CAAE;IAAAC,QAAA,eAC/CL,IAAA,CAACH,IAAI;MAAAQ,QAAA,EAAC;IAAU,CAAM;EAAC,CACnB,CAAC;AAEX,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["KContainer","KNavigation","jsx","_jsx","ChatBotAI","Page","children","HeaderV2","title"],"sourceRoot":"../../../../src","sources":["components/chat/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,WAAW,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExD,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC7B,oBACED,IAAA,CAACH,UAAU,CAACK,IAAI;IAAAC,QAAA,eACdH,IAAA,CAACF,WAAW,CAACM,QAAQ;MACnBC,KAAK,EAAC;IAAY,CACnB;EAAC,CACa,CAAC;AAEtB,CAAC","ignoreList":[]}
@@ -1,7 +1,2 @@
1
1
  "use strict";
2
-
3
- export const plusOne = num => {
4
- console.log(num);
5
- return num + 1;
6
- };
7
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["plusOne","num","console","log"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;AAAA,OAAO,MAAMA,OAAO,GAAIC,GAAW,IAAK;EACtCC,OAAO,CAACC,GAAG,CAACF,GAAG,CAAC;EAChB,OAAOA,GAAG,GAAG,CAAC;AAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,+CAMrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,+CAQrB,CAAC"}
@@ -1,2 +1 @@
1
- export declare const plusOne: (num: number) => number;
2
1
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,WAGlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-chatbot-ai",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "React Native library for Chatbot AI",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -60,7 +60,6 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@commitlint/config-conventional": "^19.8.1",
63
- "@droppii/libs": "git+ssh://git@github.com:droppii/mobile-components.git#v1.0.77",
64
63
  "@eslint/compat": "^1.3.2",
65
64
  "@eslint/eslintrc": "^3.3.1",
66
65
  "@eslint/js": "^9.35.0",
@@ -1,9 +1,11 @@
1
- import { Text, View } from 'react-native';
1
+ import { KContainer, KNavigation } from '@droppii/libs';
2
2
 
3
3
  export const ChatBotAI = () => {
4
4
  return (
5
- <View style={{ backgroundColor: 'red', flex: 1 }}>
6
- <Text>Chatbot AI</Text>
7
- </View>
5
+ <KContainer.Page>
6
+ <KNavigation.HeaderV2
7
+ title="Chatbot AI"
8
+ />
9
+ </KContainer.Page>
8
10
  );
9
11
  };
package/src/ignore.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  declare module '@droppii/libs/*';
2
- declare module '@droppii/libs';
2
+ declare module '@droppii/libs';
@@ -1,4 +0,0 @@
1
- export const plusOne = (num: number) => {
2
- console.log(num);
3
- return num + 1;
4
- };