@ai12z/react 2.0.17 → 2.0.19
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/components/stencil-generated/index.js +1 -0
- package/dist/global.css +8 -0
- package/dist/index.js +2 -2
- package/dist/types/components/stencil-generated/index.d.ts +1 -0
- package/dist/types/index.d.ts +2 -2
- package/lib/components/stencil-generated/index.ts +1 -0
- package/lib/index.ts +2 -2
- package/package.json +3 -3
|
@@ -6,6 +6,7 @@ export const Ai12zCarousel = createReactComponent('ai12z-carousel');
|
|
|
6
6
|
export const Ai12zCategory = createReactComponent('ai12z-category');
|
|
7
7
|
export const Ai12zChat = createReactComponent('ai12z-chat');
|
|
8
8
|
export const Ai12zCta = createReactComponent('ai12z-cta');
|
|
9
|
+
export const Ai12zInlineSearch = createReactComponent('ai12z-inline-search');
|
|
9
10
|
export const Ai12zInputForm = createReactComponent('ai12z-input-form');
|
|
10
11
|
export const Ai12zKnowledgeBox = createReactComponent('ai12z-knowledge-box');
|
|
11
12
|
export const Ai12zMic = createReactComponent('ai12z-mic');
|
package/dist/global.css
CHANGED
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
--ai12z-feedback-selected: rgb(55 65 81);
|
|
41
41
|
--ai12z-feedback-color: rgb(107 114 128);
|
|
42
42
|
|
|
43
|
+
--ai12z-button-bgcolor: #007bff;
|
|
44
|
+
--ai12z-mic-color: #007bff;
|
|
45
|
+
--ai12z-searchbar-bgcolor: rgba(75, 85, 99, 0.05);
|
|
46
|
+
--ai12z-plus-icon-color: #007bff;
|
|
47
|
+
|
|
48
|
+
--ai12z-inlinesearchbar-bgcolor: #fff;
|
|
49
|
+
--ai12z-inlinesearchbar-border-color: rgba(156, 163, 175, 0.4);
|
|
50
|
+
|
|
43
51
|
--ai12z-dialog-margin: 3rem 0 0 0;
|
|
44
52
|
|
|
45
53
|
--ai12z-knowledge-box-font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { defineCustomElements } from "ai12z/loader";
|
|
2
|
-
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox } from "./components/stencil-generated";
|
|
3
|
-
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox };
|
|
2
|
+
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch } from "./components/stencil-generated";
|
|
3
|
+
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch };
|
|
@@ -5,6 +5,7 @@ export declare const Ai12zCarousel: import("react").ForwardRefExoticComponent<JS
|
|
|
5
5
|
export declare const Ai12zCategory: import("react").ForwardRefExoticComponent<JSX.Ai12zCategory & Omit<import("react").HTMLAttributes<HTMLAi12zCategoryElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zCategoryElement>>;
|
|
6
6
|
export declare const Ai12zChat: import("react").ForwardRefExoticComponent<JSX.Ai12zChat & Omit<import("react").HTMLAttributes<HTMLAi12zChatElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zChatElement>>;
|
|
7
7
|
export declare const Ai12zCta: import("react").ForwardRefExoticComponent<JSX.Ai12zCta & Omit<import("react").HTMLAttributes<HTMLAi12zCtaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zCtaElement>>;
|
|
8
|
+
export declare const Ai12zInlineSearch: import("react").ForwardRefExoticComponent<JSX.Ai12zInlineSearch & Omit<import("react").HTMLAttributes<HTMLAi12zInlineSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zInlineSearchElement>>;
|
|
8
9
|
export declare const Ai12zInputForm: import("react").ForwardRefExoticComponent<JSX.Ai12zInputForm & Omit<import("react").HTMLAttributes<HTMLAi12zInputFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zInputFormElement>>;
|
|
9
10
|
export declare const Ai12zKnowledgeBox: import("react").ForwardRefExoticComponent<JSX.Ai12zKnowledgeBox & Omit<import("react").HTMLAttributes<HTMLAi12zKnowledgeBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zKnowledgeBoxElement>>;
|
|
10
11
|
export declare const Ai12zMic: import("react").ForwardRefExoticComponent<JSX.Ai12zMic & Omit<import("react").HTMLAttributes<HTMLAi12zMicElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLAi12zMicElement>>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { defineCustomElements } from "ai12z/loader";
|
|
2
|
-
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox } from "./components/stencil-generated";
|
|
3
|
-
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox };
|
|
2
|
+
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch } from "./components/stencil-generated";
|
|
3
|
+
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch };
|
|
@@ -13,6 +13,7 @@ export const Ai12zCarousel = /*@__PURE__*/createReactComponent<JSX.Ai12zCarousel
|
|
|
13
13
|
export const Ai12zCategory = /*@__PURE__*/createReactComponent<JSX.Ai12zCategory, HTMLAi12zCategoryElement>('ai12z-category');
|
|
14
14
|
export const Ai12zChat = /*@__PURE__*/createReactComponent<JSX.Ai12zChat, HTMLAi12zChatElement>('ai12z-chat');
|
|
15
15
|
export const Ai12zCta = /*@__PURE__*/createReactComponent<JSX.Ai12zCta, HTMLAi12zCtaElement>('ai12z-cta');
|
|
16
|
+
export const Ai12zInlineSearch = /*@__PURE__*/createReactComponent<JSX.Ai12zInlineSearch, HTMLAi12zInlineSearchElement>('ai12z-inline-search');
|
|
16
17
|
export const Ai12zInputForm = /*@__PURE__*/createReactComponent<JSX.Ai12zInputForm, HTMLAi12zInputFormElement>('ai12z-input-form');
|
|
17
18
|
export const Ai12zKnowledgeBox = /*@__PURE__*/createReactComponent<JSX.Ai12zKnowledgeBox, HTMLAi12zKnowledgeBoxElement>('ai12z-knowledge-box');
|
|
18
19
|
export const Ai12zMic = /*@__PURE__*/createReactComponent<JSX.Ai12zMic, HTMLAi12zMicElement>('ai12z-mic');
|
package/lib/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// export * from "./components/stencil-generated"
|
|
2
2
|
export { defineCustomElements } from "ai12z/loader"
|
|
3
|
-
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox } from "./components/stencil-generated"
|
|
3
|
+
import { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch } from "./components/stencil-generated"
|
|
4
4
|
// import packageJson from "../package.json" // Adjust path as needed
|
|
5
5
|
|
|
6
6
|
// Ai12zBot.defaultProps = { assetPath: `https://unpkg.com/@ai12z/react@${packageJson.version}/dist/build/assets` }
|
|
7
7
|
// Ai12zCta.defaultProps = { assetPath: `https://unpkg.com/@ai12z/react@${packageJson.version}/dist/build/assets` }
|
|
8
8
|
// Ai12zKnowledgeBox.defaultProps = { assetPath: `https://unpkg.com/@ai12z/react@${packageJson.version}/dist/build/assets` }
|
|
9
9
|
|
|
10
|
-
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox }
|
|
10
|
+
export { Ai12zBot, Ai12zCta, Ai12zKnowledgeBox, Ai12zInlineSearch }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai12z/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "ai12z React Library",
|
|
5
5
|
"author": "Alpesh Patel <alpesh@ai12z.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"tsc": "tsc -p . --outDir ./dist"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"ai12z": "^2.0.
|
|
25
|
+
"ai12z": "^2.0.19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/react": "^18.2.55",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "7dd5566b176987e6ae653f2addc9eb25b081ba90"
|
|
37
37
|
}
|