@getsoren/design-system 4.87.0 → 4.89.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/main.cjs +75 -73
- package/dist/main.js +12063 -11341
- package/dist/node_modules/@mui/material/esm/useMediaQuery/index.d.ts +7 -0
- package/dist/src/components/DataDisplay/AiAssistant/AiAssistant.d.ts +14 -10
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantAvatar.d.ts +4 -0
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantConfirmationCard.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantEmptyState.d.ts +2 -2
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantFab.d.ts +3 -6
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantHeader.d.ts +2 -2
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantMark.d.ts +4 -0
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantNudge.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantPanel.d.ts +4 -7
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantReplyActions.d.ts +4 -0
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantShape.d.ts +3 -0
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantSuggestion.d.ts +4 -0
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantThinking.d.ts +7 -0
- package/dist/src/components/DataDisplay/AiAssistant/constants.d.ts +23 -0
- package/dist/src/components/DataDisplay/AiAssistant/types.d.ts +102 -29
- package/dist/src/components/DataDisplay/AiAssistant/utils/docked.d.ts +24 -0
- package/dist/src/components/DataDisplay/AiAssistant/utils/gradient.d.ts +8 -11
- package/dist/src/components/DataDisplay/Chat/components/ChatMessageBubble.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/components/ChatMessageInput.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/types.d.ts +8 -0
- package/dist/src/components/DataDisplay/EventFlag/EventFlag.d.ts +7 -0
- package/dist/src/components/DataDisplay/Icons/CloseLineIcon.d.ts +8 -0
- package/dist/src/components/DataDisplay/Icons/CollapseIcon.d.ts +8 -0
- package/dist/src/components/DataDisplay/Icons/CopyIcon.d.ts +8 -0
- package/dist/src/components/DataDisplay/Icons/MicIcon.d.ts +3 -2
- package/dist/src/components/DataDisplay/Icons/NewChatIcon.d.ts +8 -0
- package/dist/src/components/DataDisplay/Icons/ThumbDownIcon.d.ts +10 -0
- package/dist/src/components/DataDisplay/Icons/ThumbUpIcon.d.ts +10 -0
- package/dist/src/components/Inputs/Counter/Counter.d.ts +1 -1
- package/dist/src/components/Inputs/PillGroup/PillGroup.d.ts +1 -1
- package/dist/src/components/Inputs/TextFieldGroup/TextFieldGroup.d.ts +1 -1
- package/dist/src/components/Layout/Backoffice/Backoffice.d.ts +3 -1
- package/dist/src/components/Layout/CollapsingHeader/CollapsingHeader.d.ts +1 -1
- package/dist/src/components/Layout/CollapsingHeader/types.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationMenu/NavigationMenu.d.ts +5 -1
- package/dist/src/config/theme.d.ts +1 -0
- package/dist/src/constants/appBar.d.ts +2 -0
- package/dist/src/main.d.ts +6 -2
- package/dist/src/utils/colors.d.ts +14 -0
- package/package.json +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantThinkingOrb.d.ts +0 -9
- package/dist/src/components/DataDisplay/Icons/AiSparkIcon.d.ts +0 -7
- package/dist/src/utils/getInvalidColor.d.ts +0 -5
- package/dist/src/utils/getOutlineColor.d.ts +0 -4
package/dist/src/main.d.ts
CHANGED
|
@@ -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';
|
|
@@ -140,9 +144,9 @@ export { default as useSnackbar } from './hooks/useSnackbar/useSnackbar';
|
|
|
140
144
|
export * from './hooks/useTabs/useTabs';
|
|
141
145
|
export { default as useTabs } from './hooks/useTabs/useTabs';
|
|
142
146
|
export type { DataAttributes } from './types/dataAttributes';
|
|
147
|
+
export * from './utils/colors';
|
|
143
148
|
export * from './utils/getBackgroundImageElevation';
|
|
144
149
|
export { default as getBackgroundImageElevation } from './utils/getBackgroundImageElevation';
|
|
145
|
-
export type { InvalidColor } from './utils/getInvalidColor';
|
|
146
150
|
export { default as isoToEmojiFlag } from './utils/isoToEmojiFlag';
|
|
147
151
|
export { default as pickDataAttributes } from './utils/pickDataAttributes';
|
|
148
152
|
export * from './utils/pxToRem';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
import { Palette } from '@mui/material/styles';
|
|
3
|
+
export type InvalidColor = "error" | "warning";
|
|
4
|
+
/** Resting border of a control: grey 400 in light mode, the translucent outline of the dark palette otherwise */
|
|
5
|
+
export declare const getOutlineColor: (theme: Theme) => string;
|
|
6
|
+
/**
|
|
7
|
+
* Resting border of a surface read as content rather than as a form control (card, text area): grey 200 in light
|
|
8
|
+
* mode, the same dark outline as a control otherwise
|
|
9
|
+
*/
|
|
10
|
+
export declare const getSoftOutlineColor: ({ border, grey, mode }: Palette) => string;
|
|
11
|
+
/** Colour of an invalid control: the error palette, or the softer warning one for an answer still to be given */
|
|
12
|
+
export declare const getInvalidColor: (theme: Theme, color?: InvalidColor) => string;
|
|
13
|
+
/** Grey that sets a surface apart from the paper it sits on (avatar round, own message, filled composer), in both modes. */
|
|
14
|
+
export declare const getSubtleSurfaceColor: ({ grey, mode }: Palette) => string;
|
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@mui/material';
|
|
2
|
-
export type InvalidColor = "error" | "warning";
|
|
3
|
-
/** Colour of an invalid control: the error palette, or the softer warning one for an answer still to be given */
|
|
4
|
-
declare const getInvalidColor: (theme: Theme, color?: InvalidColor) => string;
|
|
5
|
-
export default getInvalidColor;
|