@getsoren/design-system 4.86.0 → 4.88.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.
Files changed (43) hide show
  1. package/dist/main.cjs +75 -73
  2. package/dist/main.js +11190 -10472
  3. package/dist/node_modules/@mui/material/esm/useMediaQuery/index.d.ts +7 -0
  4. package/dist/src/components/DataDisplay/AiAssistant/AiAssistant.d.ts +14 -10
  5. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantAvatar.d.ts +4 -0
  6. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantConfirmationCard.d.ts +1 -1
  7. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantEmptyState.d.ts +2 -2
  8. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantFab.d.ts +3 -6
  9. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantHeader.d.ts +2 -2
  10. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantMark.d.ts +4 -0
  11. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantNudge.d.ts +1 -1
  12. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantPanel.d.ts +4 -7
  13. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantReplyActions.d.ts +4 -0
  14. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantShape.d.ts +3 -0
  15. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantSuggestion.d.ts +4 -0
  16. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantThinking.d.ts +7 -0
  17. package/dist/src/components/DataDisplay/AiAssistant/constants.d.ts +23 -0
  18. package/dist/src/components/DataDisplay/AiAssistant/types.d.ts +102 -29
  19. package/dist/src/components/DataDisplay/AiAssistant/utils/docked.d.ts +24 -0
  20. package/dist/src/components/DataDisplay/AiAssistant/utils/gradient.d.ts +8 -11
  21. package/dist/src/components/DataDisplay/Chat/components/ChatMessageBubble.d.ts +1 -1
  22. package/dist/src/components/DataDisplay/Chat/components/ChatMessageInput.d.ts +1 -1
  23. package/dist/src/components/DataDisplay/Chat/types.d.ts +8 -0
  24. package/dist/src/components/DataDisplay/EventFlag/EventFlag.d.ts +7 -0
  25. package/dist/src/components/DataDisplay/Icons/CloseLineIcon.d.ts +8 -0
  26. package/dist/src/components/DataDisplay/Icons/CollapseIcon.d.ts +8 -0
  27. package/dist/src/components/DataDisplay/Icons/CopyIcon.d.ts +8 -0
  28. package/dist/src/components/DataDisplay/Icons/MicIcon.d.ts +3 -2
  29. package/dist/src/components/DataDisplay/Icons/NewChatIcon.d.ts +8 -0
  30. package/dist/src/components/DataDisplay/Icons/ThumbDownIcon.d.ts +10 -0
  31. package/dist/src/components/DataDisplay/Icons/ThumbUpIcon.d.ts +10 -0
  32. package/dist/src/components/Inputs/TextFieldGroup/TextFieldGroup.d.ts +4 -1
  33. package/dist/src/components/Layout/Backoffice/Backoffice.d.ts +3 -1
  34. package/dist/src/components/Layout/CollapsingHeader/CollapsingHeader.d.ts +1 -1
  35. package/dist/src/components/Layout/CollapsingHeader/types.d.ts +2 -0
  36. package/dist/src/components/Navigation/NavigationMenu/NavigationMenu.d.ts +5 -1
  37. package/dist/src/config/theme.d.ts +1 -0
  38. package/dist/src/constants/appBar.d.ts +2 -0
  39. package/dist/src/main.d.ts +5 -1
  40. package/dist/src/utils/getSubtleSurfaceColor.d.ts +4 -0
  41. package/package.json +1 -1
  42. package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantThinkingOrb.d.ts +0 -9
  43. package/dist/src/components/DataDisplay/Icons/AiSparkIcon.d.ts +0 -7
@@ -7,7 +7,9 @@
7
7
  export * from '@mui/material';
8
8
  export * from '@mui/material/transitions';
9
9
  export { default as AiAssistant } from './components/DataDisplay/AiAssistant/AiAssistant';
10
+ export { AI_ASSISTANT_DOCKED_SPACE } from './components/DataDisplay/AiAssistant/constants';
10
11
  export * from './components/DataDisplay/AiAssistant/types';
12
+ export { getAiAssistantNeighbourSx } from './components/DataDisplay/AiAssistant/utils/docked';
11
13
  export * from './components/DataDisplay/ArticleImage/ArticleImage';
12
14
  export { default as ArticleImage } from './components/DataDisplay/ArticleImage/ArticleImage';
13
15
  export type { AvatarProps } from './components/DataDisplay/Avatar/Avatar';
@@ -28,9 +30,10 @@ export { default as ChatVoiceRecorder } from './components/DataDisplay/Chat/comp
28
30
  export * from './components/DataDisplay/Chat/types';
29
31
  export * from './components/DataDisplay/Chip/Chip';
30
32
  export { default as Chip } from './components/DataDisplay/Chip/Chip';
33
+ export * from './components/DataDisplay/EventFlag/EventFlag';
34
+ export { default as EventFlag } from './components/DataDisplay/EventFlag/EventFlag';
31
35
  export * from './components/DataDisplay/FileViewer/FileViewer';
32
36
  export { default as FileViewer } from './components/DataDisplay/FileViewer/FileViewer';
33
- export { default as AiSparkIcon } from './components/DataDisplay/Icons/AiSparkIcon';
34
37
  export * from './components/DataDisplay/Kanban/Kanban';
35
38
  export { default as Kanban } from './components/DataDisplay/Kanban/Kanban';
36
39
  export * from './components/DataDisplay/ListAvatar/ListAvatar';
@@ -123,6 +126,7 @@ export { default as CardModal } from './components/Surface/CardModal/CardModal';
123
126
  export * from './components/Utils/HasPermission/HasPermission';
124
127
  export { default as HasPermission } from './components/Utils/HasPermission/HasPermission';
125
128
  export { default as theme } from './config/theme';
129
+ export * from './constants/appBar';
126
130
  export * from './context/Permission/PermissionProvider';
127
131
  export { default as PermissionProvider } from './context/Permission/PermissionProvider';
128
132
  export * from './context/Snackbar/SnackbarProvider';
@@ -0,0 +1,4 @@
1
+ import { Palette } from '@mui/material/styles';
2
+ /** Grey that sets a surface apart from the paper it sits on (avatar round, own message, filled composer), in both modes. */
3
+ declare const getSubtleSurfaceColor: ({ grey, mode }: Palette) => string;
4
+ export default getSubtleSurfaceColor;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.86.0",
5
+ "version": "4.88.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",
@@ -1,9 +0,0 @@
1
- import { AiAssistantThinkingOrbProps } from '../types';
2
- /**
3
- * Living mini-orb shown while the assistant thinks — same visual language as the FAB orb: the brand
4
- * orange flowing into black, blob morph, breath and pulsing aura (aura spread scales with size).
5
- * Emotion emits @keyframes globally, hence the size-suffixed aura name (its content differs per
6
- * size — the same name would collide).
7
- */
8
- declare const AiAssistantThinkingOrb: ({ size }: AiAssistantThinkingOrbProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
- export default AiAssistantThinkingOrb;
@@ -1,7 +0,0 @@
1
- import { AiSparkIconProps } from '../AiAssistant/types';
2
- /**
3
- * Four-point spark with concave curved edges — the filled, organic "AI" glyph
4
- * used across the AiAssistant components (FAB, panel header).
5
- */
6
- declare const AiSparkIcon: ({ size, color, variant }: AiSparkIconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
- export default AiSparkIcon;