@smart-cloud/ai-kit-ui 1.1.39 → 1.1.41
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/ai-kit-ui.css +22 -11
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +9 -9
- package/package.json +9 -8
- package/src/ai-feature/AiFeature.tsx +63 -62
- package/src/doc-search/DocSearch.tsx +498 -0
- package/src/doc-search/index.tsx +1 -0
- package/src/i18n/ar.ts +55 -44
- package/src/i18n/de.ts +56 -45
- package/src/i18n/en.ts +56 -45
- package/src/i18n/es.ts +56 -44
- package/src/i18n/fr.ts +56 -44
- package/src/i18n/he.ts +55 -44
- package/src/i18n/hi.ts +55 -44
- package/src/i18n/hu.ts +63 -51
- package/src/i18n/id.ts +56 -44
- package/src/i18n/it.ts +56 -44
- package/src/i18n/ja.ts +56 -45
- package/src/i18n/ko.ts +55 -44
- package/src/i18n/nb.ts +56 -45
- package/src/i18n/nl.ts +56 -45
- package/src/i18n/pl.ts +57 -45
- package/src/i18n/pt.ts +55 -44
- package/src/i18n/ru.ts +56 -45
- package/src/i18n/sv.ts +56 -45
- package/src/i18n/th.ts +55 -44
- package/src/i18n/tr.ts +55 -44
- package/src/i18n/ua.ts +55 -46
- package/src/i18n/zh.ts +54 -43
- package/src/index.tsx +1 -0
- package/src/poweredBy.tsx +39 -0
- package/src/styles/ai-kit-ui.css +22 -11
package/dist/ai-kit-ui.css
CHANGED
|
@@ -185,31 +185,37 @@
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
/* ==========================================================================
|
|
188
|
-
AI Feature
|
|
188
|
+
AI Feature & Doc Search – Shared styles
|
|
189
189
|
========================================================================== */
|
|
190
190
|
|
|
191
|
-
.ai-feature-root
|
|
191
|
+
.ai-feature-root,
|
|
192
|
+
.doc-search-root {
|
|
192
193
|
--mb-z-index: var(--ai-kit-position-z-index) !important;
|
|
193
194
|
border: var(--ai-kit-border-width) solid var(--ai-kit-border-color);
|
|
194
195
|
border-radius: var(--ai-kit-radius);
|
|
195
196
|
}
|
|
196
197
|
|
|
197
|
-
.ai-feature-root .Mantine-Paper-root
|
|
198
|
+
.ai-feature-root .Mantine-Paper-root,
|
|
199
|
+
.doc-search-root .Mantine-Paper-root {
|
|
198
200
|
background-color: transparent;
|
|
199
201
|
}
|
|
200
202
|
|
|
201
|
-
.ai-feature-title-icon
|
|
203
|
+
.ai-feature-title-icon,
|
|
204
|
+
.doc-search-title-icon {
|
|
202
205
|
width: 24px;
|
|
203
206
|
height: 24px;
|
|
204
207
|
fill: none;
|
|
205
208
|
margin-right: var(--ai-kit-space-2);
|
|
206
209
|
}
|
|
207
210
|
|
|
208
|
-
.ai-feature-open-button-no-title
|
|
211
|
+
.ai-feature-open-button-no-title,
|
|
212
|
+
.doc-search-button-no-title {
|
|
209
213
|
padding-inline-start: var(--ai-kit-button-padding-x);
|
|
214
|
+
padding-inline-end: var(--ai-kit-button-padding-x);
|
|
210
215
|
}
|
|
211
216
|
|
|
212
|
-
.ai-feature-open-button-no-title .mantine-Button-section
|
|
217
|
+
.ai-feature-open-button-no-title .mantine-Button-section,
|
|
218
|
+
.doc-search-button-no-title .mantine-Button-section {
|
|
213
219
|
margin-inline-end: unset;
|
|
214
220
|
}
|
|
215
221
|
|
|
@@ -835,11 +841,16 @@
|
|
|
835
841
|
}
|
|
836
842
|
|
|
837
843
|
/* Markdown formatting */
|
|
838
|
-
.ai-
|
|
839
|
-
.
|
|
840
|
-
.ai-
|
|
841
|
-
.
|
|
842
|
-
.ai-
|
|
844
|
+
.ai-feature-root p,
|
|
845
|
+
.doc-search-root p,
|
|
846
|
+
.ai-feature-root ul,
|
|
847
|
+
.doc-search-root ul,
|
|
848
|
+
.ai-feature-root ol,
|
|
849
|
+
.doc-search-root ol,
|
|
850
|
+
.ai-feature-root pre,
|
|
851
|
+
.doc-search-root pre,
|
|
852
|
+
.ai-feature-root code,
|
|
853
|
+
.doc-search-root code {
|
|
843
854
|
margin: 0;
|
|
844
855
|
word-wrap: break-word;
|
|
845
856
|
overflow-wrap: break-word;
|