@iblai/web-containers 1.54.1 → 1.56.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/cjs/_virtual/index2.js +2 -2
- package/dist/cjs/_virtual/index3.js +2 -2
- package/dist/cjs/components/chat/hooks/use-chat-file-drag-drop.js +1 -0
- package/dist/cjs/components/chat/hooks/use-chat-file-drag-drop.js.map +1 -1
- package/dist/cjs/components/chat/hooks/use-chat-file-upload.js +19 -2
- package/dist/cjs/components/chat/hooks/use-chat-file-upload.js.map +1 -1
- package/dist/cjs/components/chat-input-form.js +6 -3
- package/dist/cjs/components/chat-input-form.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js +83 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js +38 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +12 -8
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +28 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +21 -0
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js +2 -1
- package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js.map +1 -1
- package/dist/cjs/components/profile/chat-history/chat-history-tab.js +10 -6
- package/dist/cjs/components/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/cjs/components/profile/use-profile.js +39 -5
- package/dist/cjs/components/profile/use-profile.js.map +1 -1
- package/dist/cjs/components/skills-profile/hooks/use-user-metadata.js +10 -10
- package/dist/cjs/components/skills-profile/hooks/use-user-metadata.js.map +1 -1
- package/dist/cjs/components/user-profile-dropdown/index.js +3 -4
- package/dist/cjs/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/cjs/components/welcome-chat/welcome-heading.js +1 -6
- package/dist/cjs/components/welcome-chat/welcome-heading.js.map +1 -1
- package/dist/cjs/i18n/messages/en.json.js +28 -1
- package/dist/cjs/i18n/messages/en.json.js.map +1 -1
- package/dist/cjs/i18n/messages/es.json.js +28 -1
- package/dist/cjs/i18n/messages/es.json.js.map +1 -1
- package/dist/cjs/i18n/messages/fr.json.js +28 -1
- package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
- package/dist/cjs/i18n/messages/zh.json.js +28 -1
- package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
- package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/web-containers/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/components/chat/hooks/use-chat-file-drag-drop.js +1 -0
- package/dist/esm/components/chat/hooks/use-chat-file-drag-drop.js.map +1 -1
- package/dist/esm/components/chat/hooks/use-chat-file-upload.js +20 -3
- package/dist/esm/components/chat/hooks/use-chat-file-upload.js.map +1 -1
- package/dist/esm/components/chat-input-form.js +6 -3
- package/dist/esm/components/chat-input-form.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js +79 -0
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-dialog.js.map +1 -0
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js +36 -0
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/allowed-file-types-field.js.map +1 -0
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js +5 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/capabilities-sub-tab.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js +28 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/labels.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js +23 -2
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/use-edit-mentor-settings.js.map +1 -1
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js +3 -2
- package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js.map +1 -1
- package/dist/esm/components/profile/chat-history/chat-history-tab.js +10 -6
- package/dist/esm/components/profile/chat-history/chat-history-tab.js.map +1 -1
- package/dist/esm/components/profile/use-profile.js +40 -6
- package/dist/esm/components/profile/use-profile.js.map +1 -1
- package/dist/esm/components/skills-profile/hooks/use-user-metadata.js +10 -10
- package/dist/esm/components/skills-profile/hooks/use-user-metadata.js.map +1 -1
- package/dist/esm/components/user-profile-dropdown/index.js +5 -6
- package/dist/esm/components/user-profile-dropdown/index.js.map +1 -1
- package/dist/esm/components/welcome-chat/welcome-heading.js +2 -7
- package/dist/esm/components/welcome-chat/welcome-heading.js.map +1 -1
- package/dist/esm/i18n/messages/en.json.js +28 -1
- package/dist/esm/i18n/messages/en.json.js.map +1 -1
- package/dist/esm/i18n/messages/es.json.js +28 -1
- package/dist/esm/i18n/messages/es.json.js.map +1 -1
- package/dist/esm/i18n/messages/fr.json.js +28 -1
- package/dist/esm/i18n/messages/fr.json.js.map +1 -1
- package/dist/esm/i18n/messages/zh.json.js +28 -1
- package/dist/esm/i18n/messages/zh.json.js.map +1 -1
- package/dist/esm/web-containers/tsconfig.tsbuildinfo +1 -1
- package/dist/index.d.ts +5 -6
- package/dist/next/index.d.ts +28 -0
- package/dist/package.json +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ChatPrivacyEffective, StorageService, NotificationTemplate, TranscriptR
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { Dispatch, SetStateAction, PointerEvent, MouseEvent, DragEvent, KeyboardEvent, ElementType, ReactNode, AnchorHTMLAttributes, ReactElement, RefObject } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import * as _iblai_web_utils from '@iblai/web-utils';
|
|
6
7
|
import { Tenant, ToolCallInfo, RedirectToAuthSpaOptions, Message } from '@iblai/web-utils';
|
|
7
8
|
import { Profile as Profile$1 } from '@web-containers/components/profile';
|
|
8
9
|
import * as _iblai_iblai_api from '@iblai/iblai-api';
|
|
@@ -3473,14 +3474,12 @@ declare const useProfileTimeSpent: () => {
|
|
|
3473
3474
|
};
|
|
3474
3475
|
|
|
3475
3476
|
/**
|
|
3476
|
-
*
|
|
3477
|
-
*
|
|
3478
|
-
*
|
|
3479
|
-
*
|
|
3480
|
-
* Ported from the skillsai SPA (hooks/users/use-usermetadata.tsx).
|
|
3477
|
+
* The current user's metadata, read from the `user_metadata` localStorage key
|
|
3478
|
+
* the auth app forwards at login — replacing the /metadata/proxy/ API call.
|
|
3479
|
+
* The read is synchronous, so it never loads or errors.
|
|
3481
3480
|
*/
|
|
3482
3481
|
declare const useUserMetadata: () => {
|
|
3483
|
-
userMetaData:
|
|
3482
|
+
userMetaData: _iblai_web_utils.StoredUserMetadata | undefined;
|
|
3484
3483
|
userMetaDataLoading: boolean;
|
|
3485
3484
|
userMetaDataError: boolean;
|
|
3486
3485
|
};
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1477,6 +1477,11 @@ interface SettingsTabLabels {
|
|
|
1477
1477
|
cancel: string;
|
|
1478
1478
|
confirm: string;
|
|
1479
1479
|
};
|
|
1480
|
+
/**
|
|
1481
|
+
* File Uploads group of the Capabilities sub-tab and its Allowed File Types
|
|
1482
|
+
* dialog. Optional for the same reason as `adminVisibilityConfirm`.
|
|
1483
|
+
*/
|
|
1484
|
+
allowedFileTypes?: AllowedFileTypesLabels;
|
|
1480
1485
|
copyModal: {
|
|
1481
1486
|
title: string;
|
|
1482
1487
|
description: string;
|
|
@@ -1498,6 +1503,29 @@ interface SettingsTabLabels {
|
|
|
1498
1503
|
missingContextToast: string;
|
|
1499
1504
|
};
|
|
1500
1505
|
}
|
|
1506
|
+
/** `{count}` and `{ext}` are filled in when rendered. */
|
|
1507
|
+
interface AllowedFileTypesLabels {
|
|
1508
|
+
heading: string;
|
|
1509
|
+
title: string;
|
|
1510
|
+
tooltip: string;
|
|
1511
|
+
tooltipAriaLabel: string;
|
|
1512
|
+
openButton: string;
|
|
1513
|
+
countAll: string;
|
|
1514
|
+
countOne: string;
|
|
1515
|
+
countMany: string;
|
|
1516
|
+
dialogTitle: string;
|
|
1517
|
+
dialogDescription: string;
|
|
1518
|
+
commonHeading: string;
|
|
1519
|
+
customHeading: string;
|
|
1520
|
+
inputPlaceholder: string;
|
|
1521
|
+
inputAriaLabel: string;
|
|
1522
|
+
add: string;
|
|
1523
|
+
removeAriaLabel: string;
|
|
1524
|
+
duplicateError: string;
|
|
1525
|
+
invalidError: string;
|
|
1526
|
+
clearAll: string;
|
|
1527
|
+
done: string;
|
|
1528
|
+
}
|
|
1501
1529
|
interface ContextLimitLabels {
|
|
1502
1530
|
label: string;
|
|
1503
1531
|
tooltip: string;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/web-containers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.0",
|
|
4
4
|
"description": "ibl web containers",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
"react-remove-scroll-bar": "^2.3.8",
|
|
181
181
|
"sonner": "^2.0.0",
|
|
182
182
|
"@iblai/agent-ai": "2.13.3",
|
|
183
|
-
"@iblai/
|
|
184
|
-
"@iblai/
|
|
183
|
+
"@iblai/web-utils": "2.16.0",
|
|
184
|
+
"@iblai/data-layer": "1.36.0"
|
|
185
185
|
},
|
|
186
186
|
"peerDependenciesMeta": {
|
|
187
187
|
"@livekit/components-react": {
|