@iblai/web-containers 1.55.0 → 1.56.1

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.
Files changed (34) hide show
  1. package/dist/cjs/_virtual/index2.js +2 -2
  2. package/dist/cjs/_virtual/index3.js +2 -2
  3. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js +2 -1
  4. package/dist/cjs/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js.map +1 -1
  5. package/dist/cjs/components/profile/chat-history/chat-history-tab.js +10 -6
  6. package/dist/cjs/components/profile/chat-history/chat-history-tab.js.map +1 -1
  7. package/dist/cjs/components/profile/use-profile.js +39 -5
  8. package/dist/cjs/components/profile/use-profile.js.map +1 -1
  9. package/dist/cjs/components/skills-profile/hooks/use-user-metadata.js +10 -10
  10. package/dist/cjs/components/skills-profile/hooks/use-user-metadata.js.map +1 -1
  11. package/dist/cjs/components/user-profile-dropdown/index.js +16 -7
  12. package/dist/cjs/components/user-profile-dropdown/index.js.map +1 -1
  13. package/dist/cjs/components/welcome-chat/welcome-heading.js +1 -6
  14. package/dist/cjs/components/welcome-chat/welcome-heading.js.map +1 -1
  15. package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
  16. package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
  17. package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  18. package/dist/cjs/web-containers/tsconfig.tsbuildinfo +1 -1
  19. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js +3 -2
  20. package/dist/esm/components/modals/edit-mentor-modal/tabs/settings-tab/welcome-screen-sub-tab.js.map +1 -1
  21. package/dist/esm/components/profile/chat-history/chat-history-tab.js +10 -6
  22. package/dist/esm/components/profile/chat-history/chat-history-tab.js.map +1 -1
  23. package/dist/esm/components/profile/use-profile.js +40 -6
  24. package/dist/esm/components/profile/use-profile.js.map +1 -1
  25. package/dist/esm/components/skills-profile/hooks/use-user-metadata.js +10 -10
  26. package/dist/esm/components/skills-profile/hooks/use-user-metadata.js.map +1 -1
  27. package/dist/esm/components/user-profile-dropdown/index.js +18 -9
  28. package/dist/esm/components/user-profile-dropdown/index.js.map +1 -1
  29. package/dist/esm/components/welcome-chat/welcome-heading.js +2 -7
  30. package/dist/esm/components/welcome-chat/welcome-heading.js.map +1 -1
  31. package/dist/esm/web-containers/tsconfig.tsbuildinfo +1 -1
  32. package/dist/index.d.ts +5 -6
  33. package/dist/package.json +1 -1
  34. package/package.json +2 -2
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
- * Thin wrapper around useGetUserMetadataQuery that reads the username
3477
- * from localStorage and skips the request when there is no logged-in
3478
- * user.
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: _iblai_data_layer.UserProfile | undefined;
3482
+ userMetaData: _iblai_web_utils.StoredUserMetadata | undefined;
3484
3483
  userMetaDataLoading: boolean;
3485
3484
  userMetaDataError: boolean;
3486
3485
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "1.54.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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-containers",
3
- "version": "1.55.0",
3
+ "version": "1.56.1",
4
4
  "description": "ibl web containers",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -181,7 +181,7 @@
181
181
  "sonner": "^2.0.0",
182
182
  "@iblai/agent-ai": "2.13.3",
183
183
  "@iblai/data-layer": "1.36.0",
184
- "@iblai/web-utils": "2.15.0"
184
+ "@iblai/web-utils": "2.16.0"
185
185
  },
186
186
  "peerDependenciesMeta": {
187
187
  "@livekit/components-react": {