@revikornmann/muka-ui 0.15.0 → 0.17.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/build/manifest.json +10 -0
- package/dist/cjs/components/BottomBar/BottomBar.css +19 -4
- package/dist/cjs/components/ChatComposer/ChatComposer.js +12 -4
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatMessage/ChatMessage.css +7 -1
- package/dist/cjs/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/cjs/components/ChatMessageList/ChatMessageList.css +1 -1
- package/dist/cjs/components/Combobox/Combobox.css +59 -1
- package/dist/cjs/components/Combobox/Combobox.js +22 -3
- package/dist/cjs/components/Combobox/Combobox.js.map +1 -1
- package/dist/cjs/components/EmojiPicker/EmojiPicker.css +19 -0
- package/dist/cjs/components/EmojiPicker/EmojiPicker.js +54 -0
- package/dist/cjs/components/EmojiPicker/EmojiPicker.js.map +1 -0
- package/dist/cjs/components/EmojiPicker/index.js +12 -0
- package/dist/cjs/components/EmojiPicker/index.js.map +1 -0
- package/dist/cjs/components/PhotoDraftStrip/PhotoDraftStrip.css +27 -0
- package/dist/cjs/components/PhotoDraftStrip/PhotoDraftStrip.js +36 -0
- package/dist/cjs/components/PhotoDraftStrip/PhotoDraftStrip.js.map +1 -0
- package/dist/cjs/components/PhotoDraftStrip/index.js +11 -0
- package/dist/cjs/components/PhotoDraftStrip/index.js.map +1 -0
- package/dist/cjs/components/RecordingBar/RecordingBar.css +47 -0
- package/dist/cjs/components/RecordingBar/RecordingBar.js +22 -0
- package/dist/cjs/components/RecordingBar/RecordingBar.js.map +1 -0
- package/dist/cjs/components/RecordingBar/index.js +11 -0
- package/dist/cjs/components/RecordingBar/index.js.map +1 -0
- package/dist/cjs/components/SearchInput/SearchInput.js +7 -2
- package/dist/cjs/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/cjs/components/TextLink/TextLink.css +79 -0
- package/dist/cjs/components/TextLink/TextLink.js +28 -0
- package/dist/cjs/components/TextLink/TextLink.js.map +1 -0
- package/dist/cjs/components/TextLink/index.js +11 -0
- package/dist/cjs/components/TextLink/index.js.map +1 -0
- package/dist/cjs/components/VoiceMessage/VoiceMessage.css +29 -0
- package/dist/cjs/components/VoiceMessage/VoiceMessage.js +85 -0
- package/dist/cjs/components/VoiceMessage/VoiceMessage.js.map +1 -0
- package/dist/cjs/components/VoiceMessage/index.js +11 -0
- package/dist/cjs/components/VoiceMessage/index.js.map +1 -0
- package/dist/cjs/components/VoiceRecorder/audio.js +61 -0
- package/dist/cjs/components/VoiceRecorder/audio.js.map +1 -0
- package/dist/cjs/components/VoiceRecorder/index.js +16 -0
- package/dist/cjs/components/VoiceRecorder/index.js.map +1 -0
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js +213 -0
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js.map +1 -0
- package/dist/cjs/components/Waveform/Waveform.css +23 -0
- package/dist/cjs/components/Waveform/Waveform.js +36 -0
- package/dist/cjs/components/Waveform/Waveform.js.map +1 -0
- package/dist/cjs/components/Waveform/index.js +11 -0
- package/dist/cjs/components/Waveform/index.js.map +1 -0
- package/dist/cjs/components/index.js +20 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +19 -4
- package/dist/esm/components/ChatComposer/ChatComposer.js +12 -4
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatMessage/ChatMessage.css +7 -1
- package/dist/esm/components/ChatMessage/ChatMessage.js.map +1 -1
- package/dist/esm/components/ChatMessageList/ChatMessageList.css +1 -1
- package/dist/esm/components/Combobox/Combobox.css +59 -1
- package/dist/esm/components/Combobox/Combobox.js +23 -4
- package/dist/esm/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/components/EmojiPicker/EmojiPicker.css +19 -0
- package/dist/esm/components/EmojiPicker/EmojiPicker.js +50 -0
- package/dist/esm/components/EmojiPicker/EmojiPicker.js.map +1 -0
- package/dist/esm/components/EmojiPicker/index.js +3 -0
- package/dist/esm/components/EmojiPicker/index.js.map +1 -0
- package/dist/esm/components/PhotoDraftStrip/PhotoDraftStrip.css +27 -0
- package/dist/esm/components/PhotoDraftStrip/PhotoDraftStrip.js +32 -0
- package/dist/esm/components/PhotoDraftStrip/PhotoDraftStrip.js.map +1 -0
- package/dist/esm/components/PhotoDraftStrip/index.js +3 -0
- package/dist/esm/components/PhotoDraftStrip/index.js.map +1 -0
- package/dist/esm/components/RecordingBar/RecordingBar.css +47 -0
- package/dist/esm/components/RecordingBar/RecordingBar.js +18 -0
- package/dist/esm/components/RecordingBar/RecordingBar.js.map +1 -0
- package/dist/esm/components/RecordingBar/index.js +3 -0
- package/dist/esm/components/RecordingBar/index.js.map +1 -0
- package/dist/esm/components/SearchInput/SearchInput.js +7 -2
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/TextLink/TextLink.css +79 -0
- package/dist/esm/components/TextLink/TextLink.js +24 -0
- package/dist/esm/components/TextLink/TextLink.js.map +1 -0
- package/dist/esm/components/TextLink/index.js +3 -0
- package/dist/esm/components/TextLink/index.js.map +1 -0
- package/dist/esm/components/VoiceMessage/VoiceMessage.css +29 -0
- package/dist/esm/components/VoiceMessage/VoiceMessage.js +81 -0
- package/dist/esm/components/VoiceMessage/VoiceMessage.js.map +1 -0
- package/dist/esm/components/VoiceMessage/index.js +3 -0
- package/dist/esm/components/VoiceMessage/index.js.map +1 -0
- package/dist/esm/components/VoiceRecorder/audio.js +55 -0
- package/dist/esm/components/VoiceRecorder/audio.js.map +1 -0
- package/dist/esm/components/VoiceRecorder/index.js +4 -0
- package/dist/esm/components/VoiceRecorder/index.js.map +1 -0
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js +210 -0
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js.map +1 -0
- package/dist/esm/components/Waveform/Waveform.css +23 -0
- package/dist/esm/components/Waveform/Waveform.js +32 -0
- package/dist/esm/components/Waveform/Waveform.js.map +1 -0
- package/dist/esm/components/Waveform/index.js +3 -0
- package/dist/esm/components/Waveform/index.js.map +1 -0
- package/dist/esm/components/index.js +7 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/BottomBar.css +19 -4
- package/dist/styles/components/ChatMessage.css +7 -1
- package/dist/styles/components/ChatMessageList.css +1 -1
- package/dist/styles/components/Combobox.css +59 -1
- package/dist/styles/components/EmojiPicker.css +19 -0
- package/dist/styles/components/PhotoDraftStrip.css +27 -0
- package/dist/styles/components/RecordingBar.css +47 -0
- package/dist/styles/components/TextLink.css +79 -0
- package/dist/styles/components/VoiceMessage.css +29 -0
- package/dist/styles/components/Waveform.css +23 -0
- package/dist/styles/index.css +373 -50
- package/dist/styles/muka-dark.css +373 -50
- package/dist/styles/muka-light.css +373 -50
- package/dist/styles/tokens-bouwplan-dark.css +4 -2
- package/dist/styles/tokens-bouwplan-light.css +4 -2
- package/dist/styles/tokens-fscl-dark.css +4 -2
- package/dist/styles/tokens-fscl-light.css +4 -2
- package/dist/styles/tokens-grip-dark.css +4 -2
- package/dist/styles/tokens-grip-light.css +4 -2
- package/dist/styles/tokens-muka-dark.css +4 -2
- package/dist/styles/tokens-muka-light.css +4 -2
- package/dist/styles/tokens-wireframe-dark.css +4 -2
- package/dist/styles/tokens-wireframe-light.css +4 -2
- package/dist/styles/wireframe-dark.css +373 -50
- package/dist/styles/wireframe-light.css +373 -50
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +7 -0
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatMessage/ChatMessage.d.ts +4 -1
- package/dist/types/components/ChatMessage/ChatMessage.d.ts.map +1 -1
- package/dist/types/components/Combobox/Combobox.d.ts +7 -0
- package/dist/types/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/EmojiPicker/EmojiPicker.d.ts +28 -0
- package/dist/types/components/EmojiPicker/EmojiPicker.d.ts.map +1 -0
- package/dist/types/components/EmojiPicker/index.d.ts +3 -0
- package/dist/types/components/EmojiPicker/index.d.ts.map +1 -0
- package/dist/types/components/PhotoDraftStrip/PhotoDraftStrip.d.ts +51 -0
- package/dist/types/components/PhotoDraftStrip/PhotoDraftStrip.d.ts.map +1 -0
- package/dist/types/components/PhotoDraftStrip/index.d.ts +3 -0
- package/dist/types/components/PhotoDraftStrip/index.d.ts.map +1 -0
- package/dist/types/components/RecordingBar/RecordingBar.d.ts +22 -0
- package/dist/types/components/RecordingBar/RecordingBar.d.ts.map +1 -0
- package/dist/types/components/RecordingBar/index.d.ts +3 -0
- package/dist/types/components/RecordingBar/index.d.ts.map +1 -0
- package/dist/types/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/types/components/TextLink/TextLink.d.ts +30 -0
- package/dist/types/components/TextLink/TextLink.d.ts.map +1 -0
- package/dist/types/components/TextLink/index.d.ts +3 -0
- package/dist/types/components/TextLink/index.d.ts.map +1 -0
- package/dist/types/components/VoiceMessage/VoiceMessage.d.ts +34 -0
- package/dist/types/components/VoiceMessage/VoiceMessage.d.ts.map +1 -0
- package/dist/types/components/VoiceMessage/index.d.ts +3 -0
- package/dist/types/components/VoiceMessage/index.d.ts.map +1 -0
- package/dist/types/components/VoiceRecorder/audio.d.ts +20 -0
- package/dist/types/components/VoiceRecorder/audio.d.ts.map +1 -0
- package/dist/types/components/VoiceRecorder/index.d.ts +4 -0
- package/dist/types/components/VoiceRecorder/index.d.ts.map +1 -0
- package/dist/types/components/VoiceRecorder/useVoiceRecorder.d.ts +48 -0
- package/dist/types/components/VoiceRecorder/useVoiceRecorder.d.ts.map +1 -0
- package/dist/types/components/Waveform/Waveform.d.ts +31 -0
- package/dist/types/components/Waveform/Waveform.d.ts.map +1 -0
- package/dist/types/components/Waveform/index.d.ts +3 -0
- package/dist/types/components/Waveform/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/tokens/t4-components/bottombar.json +2 -1
- package/tokens/t4-components/chat.json +15 -0
- package/tokens/t4-components/chatbubble.json +7 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './PhotoDraftStrip.css';
|
|
3
|
+
export interface DraftPhoto {
|
|
4
|
+
/** Stable identifier used as the React key and passed to `onRemove`. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Local object URL for the preview tile. */
|
|
7
|
+
previewUrl: string;
|
|
8
|
+
/** Upload lifecycle for this tile. */
|
|
9
|
+
status: 'uploading' | 'ready' | 'error';
|
|
10
|
+
/** Upload progress 0..100 while `status === 'uploading'`. */
|
|
11
|
+
progress: number;
|
|
12
|
+
/** File name, shown as the error caption and the tile's alt text. */
|
|
13
|
+
fileName: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PhotoDraftStripProps {
|
|
16
|
+
/** Staged photos, in order. Renders nothing when empty. */
|
|
17
|
+
photos: DraftPhoto[];
|
|
18
|
+
/** Called with the photo id when its remove (×) control is activated. */
|
|
19
|
+
onRemove: (id: string) => void;
|
|
20
|
+
/** Called when the send button is pressed. Omit with `showSend={false}`. */
|
|
21
|
+
onSend?: () => void;
|
|
22
|
+
/** When true the send button shows a spinner and is disabled. */
|
|
23
|
+
sending?: boolean;
|
|
24
|
+
/** Show the trailing send button. Default: true. */
|
|
25
|
+
showSend?: boolean;
|
|
26
|
+
/** Send button aria-label. Default: 'Send photos'. */
|
|
27
|
+
sendLabel?: string;
|
|
28
|
+
/** Remove button aria-label (per tile). Default: 'Remove photo'. */
|
|
29
|
+
removeLabel?: string;
|
|
30
|
+
/** View label for a tile (per tile). Default: 'View photo'. */
|
|
31
|
+
viewLabel?: string;
|
|
32
|
+
/** Caption shown under a tile in the error state. Default: 'Upload failed'. */
|
|
33
|
+
errorCaption?: string;
|
|
34
|
+
/** Additional CSS classes */
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* PhotoDraftStrip — a controlled, horizontally-scrolling strip of staged photos
|
|
39
|
+
* shown above the composer while they upload. Each tile is a Muka `Thumbnail`
|
|
40
|
+
* carrying its own upload progress / error and a remove (×) control, so a
|
|
41
|
+
* per-item failure never blocks sending the rest.
|
|
42
|
+
*
|
|
43
|
+
* Controlled and network-free: the app owns upload, object URLs and the cap on
|
|
44
|
+
* how many photos may be staged. The optional send button lives here because
|
|
45
|
+
* the composer only enables its own send once text is non-empty — it can't send
|
|
46
|
+
* a caption-less gallery. Sending is enabled once every tile has settled and at
|
|
47
|
+
* least one uploaded successfully.
|
|
48
|
+
*/
|
|
49
|
+
export declare const PhotoDraftStrip: React.FC<PhotoDraftStripProps>;
|
|
50
|
+
export default PhotoDraftStrip;
|
|
51
|
+
//# sourceMappingURL=PhotoDraftStrip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoDraftStrip.d.ts","sourceRoot":"","sources":["../../../../components/PhotoDraftStrip/PhotoDraftStrip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,uBAAuB,CAAC;AAE/B,MAAM,WAAW,UAAU;IACzB,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,EAAE,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;IACxC,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAC;IACjB,qEAAqE;IACrE,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,MAAM,EAAE,UAAU,EAAE,CAAC;IAErB,yEAAyE;IACzE,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAE/B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8D1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/PhotoDraftStrip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './RecordingBar.css';
|
|
3
|
+
export interface RecordingBarProps {
|
|
4
|
+
/** Elapsed recording time in milliseconds (from `useVoiceRecorder`). */
|
|
5
|
+
elapsedMs: number;
|
|
6
|
+
/** Live normalized amplitudes (0..1) for the moving waveform. */
|
|
7
|
+
livePeaks: number[];
|
|
8
|
+
/** Accessible status label. Default: 'Recording'. */
|
|
9
|
+
recordingLabel?: string;
|
|
10
|
+
/** Additional CSS classes */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* RecordingBar — drop-in content for `ChatComposer.recordingSlot` while a voice
|
|
15
|
+
* note is being recorded. A pulsing record dot, an elapsed timer, and the live
|
|
16
|
+
* `Waveform`. Muka delegates this slot to the app, but ships this default so
|
|
17
|
+
* consumers don't rebuild it. Feed it straight from `useVoiceRecorder`
|
|
18
|
+
* (`elapsedMs`, `livePeaks`). Tokens only; the label comes via props.
|
|
19
|
+
*/
|
|
20
|
+
export declare const RecordingBar: React.FC<RecordingBarProps>;
|
|
21
|
+
export default RecordingBar;
|
|
22
|
+
//# sourceMappingURL=RecordingBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordingBar.d.ts","sourceRoot":"","sources":["../../../../components/RecordingBar/RecordingBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,oBAAoB,CAAC;AAE5B,MAAM,WAAW,iBAAiB;IAChC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAC;IAElB,iEAAiE;IACjE,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/RecordingBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,gBACf,SAA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Link label */
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
/**
|
|
7
|
+
* Colour variant.
|
|
8
|
+
* - `default` — accent coloured, for links that carry the action
|
|
9
|
+
* - `subtle` — neutral coloured, for links inside dense or secondary copy
|
|
10
|
+
*/
|
|
11
|
+
variant?: 'default' | 'subtle';
|
|
12
|
+
/** Type scale, matching the body text scale it sits in */
|
|
13
|
+
size?: 'sm' | 'base' | 'lg';
|
|
14
|
+
/** Additional CSS classes */
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* TextLink Component
|
|
19
|
+
*
|
|
20
|
+
* An underlined inline text link. Renders a native `<a>`, so `href`, `target`,
|
|
21
|
+
* `rel`, `download` and the rest of the anchor attributes pass straight through.
|
|
22
|
+
*
|
|
23
|
+
* Variants: default (accent), subtle (neutral)
|
|
24
|
+
* Sizes: sm, base, lg
|
|
25
|
+
* States: hover, focus-visible, pressed. Visited is pinned to the default colour
|
|
26
|
+
* so the browser's purple never leaks in.
|
|
27
|
+
*/
|
|
28
|
+
export declare const TextLink: React.FC<TextLinkProps>;
|
|
29
|
+
export default TextLink;
|
|
30
|
+
//# sourceMappingURL=TextLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextLink.d.ts","sourceRoot":"","sources":["../../../../components/TextLink/TextLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAClF,iBAAiB;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAE/B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAE5B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmB5C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/TextLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './VoiceMessage.css';
|
|
3
|
+
export type VoiceMessageVariant = 'own' | 'peer' | 'agent';
|
|
4
|
+
export interface VoiceMessageProps {
|
|
5
|
+
/**
|
|
6
|
+
* Playable audio source (e.g. a short-lived signed URL the app minted), or
|
|
7
|
+
* null while unresolved / unavailable. Muka never fetches or signs this.
|
|
8
|
+
*/
|
|
9
|
+
src: string | null;
|
|
10
|
+
/** Persisted clip length in seconds (fallback until metadata loads). */
|
|
11
|
+
durationSec: number;
|
|
12
|
+
/** Persisted, normalized waveform peaks (0..1). */
|
|
13
|
+
peaks: number[];
|
|
14
|
+
/** Bubble variant — drives which side the played bars are tinted for. */
|
|
15
|
+
variant: VoiceMessageVariant;
|
|
16
|
+
/** Play button aria-label. Default: 'Play voice message'. */
|
|
17
|
+
playLabel?: string;
|
|
18
|
+
/** Pause button aria-label. Default: 'Pause voice message'. */
|
|
19
|
+
pauseLabel?: string;
|
|
20
|
+
/** Waveform label used when `src` is null. Default: 'Voice message unavailable'. */
|
|
21
|
+
unavailableLabel?: string;
|
|
22
|
+
/** Additional CSS classes */
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* VoiceMessage — inline play/pause player for a sent voice note.
|
|
27
|
+
*
|
|
28
|
+
* Composes a Muka `Button` with the shared token-based `Waveform`; the media
|
|
29
|
+
* stays with the app (`src` is whatever URL it hands over — Muka never fetches
|
|
30
|
+
* or signs it). Play/pause only: there is no transcription/speech-to-text.
|
|
31
|
+
*/
|
|
32
|
+
export declare const VoiceMessage: React.FC<VoiceMessageProps>;
|
|
33
|
+
export default VoiceMessage;
|
|
34
|
+
//# sourceMappingURL=VoiceMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoiceMessage.d.ts","sourceRoot":"","sources":["../../../../components/VoiceMessage/VoiceMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3D,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAC;IAEpB,mDAAmD;IACnD,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,yEAAyE;IACzE,OAAO,EAAE,mBAAmB,CAAC;IAE7B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2GpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/VoiceMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Audio helpers shared by the voice-recording hook and the players.
|
|
3
|
+
*
|
|
4
|
+
* Pure, DOM-light utilities: peak downsampling for a compact persisted waveform
|
|
5
|
+
* and a clock formatter for the recorder timer / player countdown. No upload,
|
|
6
|
+
* no network, no speech-to-text.
|
|
7
|
+
*/
|
|
8
|
+
/** Default number of persisted waveform bars. Apps may override per clip. */
|
|
9
|
+
export declare const VOICE_PEAK_COUNT = 48;
|
|
10
|
+
/**
|
|
11
|
+
* Downsample a stream of amplitude samples (each already 0..1) into exactly
|
|
12
|
+
* `count` normalized peaks by taking the max of each bucket, then scaling so the
|
|
13
|
+
* loudest bar reaches 1. Pure — unit-testable independently of the DOM.
|
|
14
|
+
*/
|
|
15
|
+
export declare function downsamplePeaks(samples: number[], count?: number): number[];
|
|
16
|
+
/** Format a number of seconds as `m:ss` for the recorder timer / player. */
|
|
17
|
+
export declare function formatClock(totalSeconds: number): string;
|
|
18
|
+
/** True when this browser can record audio at all (SSR-safe). */
|
|
19
|
+
export declare function isVoiceRecordingSupported(): boolean;
|
|
20
|
+
//# sourceMappingURL=audio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../../../components/VoiceRecorder/audio.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,6EAA6E;AAC7E,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EAAE,EACjB,KAAK,GAAE,MAAyB,GAC/B,MAAM,EAAE,CAoBV;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CASxD;AAED,iEAAiE;AACjE,wBAAgB,yBAAyB,IAAI,OAAO,CAQnD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { useVoiceRecorder, type UseVoiceRecorder, type VoiceClip, type VoiceRecorderStatus, } from './useVoiceRecorder';
|
|
2
|
+
export { downsamplePeaks, formatClock, isVoiceRecordingSupported, VOICE_PEAK_COUNT, } from './audio';
|
|
3
|
+
export { default } from './useVoiceRecorder';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/VoiceRecorder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,eAAe,EACf,WAAW,EACX,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Headless voice-note recording.
|
|
3
|
+
*
|
|
4
|
+
* Wraps `MediaRecorder` for the capture and a Web Audio `AnalyserNode` for a
|
|
5
|
+
* live amplitude reading, so a composer can draw a moving waveform while the
|
|
6
|
+
* user records. On stop it hands back the recorded `Blob`, its duration, and a
|
|
7
|
+
* downsampled, normalized waveform (0..1) that is persisted with the message and
|
|
8
|
+
* redrawn by the player — no re-decoding on read.
|
|
9
|
+
*
|
|
10
|
+
* Muka owns the local media UX state; the app owns upload, signed URLs and
|
|
11
|
+
* persistence. There is deliberately NO upload and NO speech-to-text here: this
|
|
12
|
+
* records audio and returns a clip, nothing more.
|
|
13
|
+
*/
|
|
14
|
+
export type VoiceRecorderStatus = 'idle' | 'requesting' | 'recording' | 'stopping' | 'error';
|
|
15
|
+
export interface VoiceClip {
|
|
16
|
+
/** The recorded audio. */
|
|
17
|
+
blob: Blob;
|
|
18
|
+
/** Container mime type reported by the recorder. */
|
|
19
|
+
mimeType: string;
|
|
20
|
+
/** File extension implied by the mime type (e.g. `webm`). */
|
|
21
|
+
ext: string;
|
|
22
|
+
/** Clip length in seconds. */
|
|
23
|
+
durationSec: number;
|
|
24
|
+
/** Downsampled, normalized waveform peaks (0..1) for persistence. */
|
|
25
|
+
peaks: number[];
|
|
26
|
+
}
|
|
27
|
+
export interface UseVoiceRecorder {
|
|
28
|
+
status: VoiceRecorderStatus;
|
|
29
|
+
/** Elapsed recording time in milliseconds. */
|
|
30
|
+
elapsedMs: number;
|
|
31
|
+
/** Recent normalized amplitudes (0..1) for the live waveform, oldest first. */
|
|
32
|
+
livePeaks: number[];
|
|
33
|
+
/** Human-readable error message when `status === 'error'`, else null. */
|
|
34
|
+
error: string | null;
|
|
35
|
+
start: () => Promise<void>;
|
|
36
|
+
/** Stop and resolve the finished clip, or null if nothing usable. */
|
|
37
|
+
stop: () => Promise<VoiceClip | null>;
|
|
38
|
+
/** Abort and discard the in-flight recording. */
|
|
39
|
+
cancel: () => void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* `useVoiceRecorder` — headless hook exposing recorder status, the live waveform
|
|
43
|
+
* and the finished {@link VoiceClip}. Feed `elapsedMs` + `livePeaks` into a
|
|
44
|
+
* `RecordingBar`, and persist the returned clip's `peaks` for `VoiceMessage`.
|
|
45
|
+
*/
|
|
46
|
+
export declare function useVoiceRecorder(): UseVoiceRecorder;
|
|
47
|
+
export default useVoiceRecorder;
|
|
48
|
+
//# sourceMappingURL=useVoiceRecorder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVoiceRecorder.d.ts","sourceRoot":"","sources":["../../../../components/VoiceRecorder/useVoiceRecorder.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;GAYG;AAEH,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,YAAY,GACZ,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,WAAW,SAAS;IACxB,0BAA0B;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC;IACZ,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,yEAAyE;IACzE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,qEAAqE;IACrE,IAAI,EAAE,MAAM,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;IACtC,iDAAiD;IACjD,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAyBD;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,gBAAgB,CA6LnD;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Waveform.css';
|
|
3
|
+
export interface WaveformProps {
|
|
4
|
+
/** Normalized amplitudes 0..1, oldest→newest / left→right. */
|
|
5
|
+
peaks: number[];
|
|
6
|
+
/** Fraction 0..1 of the waveform that reads as "played"/active (progress fill). */
|
|
7
|
+
progress?: number;
|
|
8
|
+
/** Bar color for the played/active portion. Default: `--color-action-default`. */
|
|
9
|
+
activeColor?: string;
|
|
10
|
+
/** Bar color for the unplayed/inactive portion. Default: `--color-border-contrast`. */
|
|
11
|
+
inactiveColor?: string;
|
|
12
|
+
/** Height of the strip as a CSS length. Default: `--spacing-6`. */
|
|
13
|
+
height?: string;
|
|
14
|
+
/** Accessible label. When omitted the strip is decorative. */
|
|
15
|
+
'aria-label'?: string;
|
|
16
|
+
/** Additional CSS classes */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Waveform — a bar visualization of an audio amplitude series.
|
|
21
|
+
*
|
|
22
|
+
* Shared by the composer's recording state (live amplitudes) and the
|
|
23
|
+
* `VoiceMessage` player (persisted peaks with a played/unplayed split). Pure and
|
|
24
|
+
* network-free: it renders whatever `peaks` it is handed. `progress` tints the
|
|
25
|
+
* leading fraction of bars with `activeColor`; the rest use `inactiveColor`.
|
|
26
|
+
* Both default to Muka tokens but are overridable so a tinted (`own`) bubble can
|
|
27
|
+
* pass an inverse color for contrast.
|
|
28
|
+
*/
|
|
29
|
+
export declare const Waveform: React.FC<WaveformProps>;
|
|
30
|
+
export default Waveform;
|
|
31
|
+
//# sourceMappingURL=Waveform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Waveform.d.ts","sourceRoot":"","sources":["../../../../components/Waveform/Waveform.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAa;IAC5B,8DAA8D;IAC9D,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,kFAAkF;IAClF,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsC5C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/Waveform/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -69,6 +69,12 @@ export { ChatMessageStack, type ChatMessageStackProps } from './ChatMessageStack
|
|
|
69
69
|
export { ChatMessageList, type ChatMessageListProps } from './ChatMessageList';
|
|
70
70
|
export { ChatPhotoGrid, type ChatPhotoGridProps, type ChatPhoto, } from './ChatPhotoGrid';
|
|
71
71
|
export { ChatComposer, type ChatComposerProps } from './ChatComposer';
|
|
72
|
+
export { Waveform, type WaveformProps } from './Waveform';
|
|
73
|
+
export { RecordingBar, type RecordingBarProps } from './RecordingBar';
|
|
74
|
+
export { VoiceMessage, type VoiceMessageProps, type VoiceMessageVariant, } from './VoiceMessage';
|
|
75
|
+
export { useVoiceRecorder, type UseVoiceRecorder, type VoiceClip, type VoiceRecorderStatus, downsamplePeaks, formatClock, isVoiceRecordingSupported, VOICE_PEAK_COUNT, } from './VoiceRecorder';
|
|
76
|
+
export { PhotoDraftStrip, type PhotoDraftStripProps, type DraftPhoto, } from './PhotoDraftStrip';
|
|
77
|
+
export { EmojiPicker, type EmojiPickerProps, DEFAULT_EMOJI, } from './EmojiPicker';
|
|
72
78
|
export { AgentTaskList, type AgentTaskListProps, type AgentTask, } from './AgentTaskList';
|
|
73
79
|
export { TypingIndicator, type TypingIndicatorProps } from './TypingIndicator';
|
|
74
80
|
export { ChatAttachmentChip, type ChatAttachmentChipProps, } from './ChatAttachmentChip';
|
|
@@ -79,4 +85,5 @@ export { LicensePlateInput, type LicensePlateInputProps, } from './LicensePlateI
|
|
|
79
85
|
export type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps, } from './Accordion';
|
|
80
86
|
export { Thumbnail, type ThumbnailProps } from './Thumbnail';
|
|
81
87
|
export { PhotoUploader, type PhotoUploaderProps, } from './PhotoUploader';
|
|
88
|
+
export { TextLink, type TextLinkProps } from './TextLink';
|
|
82
89
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,OAAO,EACP,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,QAAQ,C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M,iBAAiB,CAAC;AACzE,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revikornmann/muka-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Muka Design System - Multi-brand design tokens and React components",
|
|
5
5
|
"main": "dist/cjs/components/index.js",
|
|
6
6
|
"module": "dist/esm/components/index.js",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"figma:connect:dev": "figma-code-connect --dev",
|
|
62
62
|
"figma:connect:publish": "figma-code-connect --publish",
|
|
63
63
|
"typecheck": "tsc --project tsconfig.typecheck.json",
|
|
64
|
+
"check:docs": "node scripts/check-doc-sync.js",
|
|
64
65
|
"lint": "eslint .",
|
|
65
66
|
"lint:rsc": "eslint --config eslint.rsc.mjs \"components/**/*.{ts,tsx}\"",
|
|
66
67
|
"validate:tokens": "node scripts/validate-tokens.js",
|
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
"chat": {
|
|
66
66
|
"max-width": {
|
|
67
67
|
"$type": "sizing",
|
|
68
|
-
"$value": "{
|
|
68
|
+
"$value": "{chat.column.max-width}",
|
|
69
|
+
"$description": "Derived from the conversation column so the composer lines up with the messages above it. Override the column, not this."
|
|
69
70
|
},
|
|
70
71
|
"padding": {
|
|
71
72
|
"$type": "dimension",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": {
|
|
3
|
+
"$type": "other",
|
|
4
|
+
"$value": "https://design-tokens.org/schemas/1.0/schema.json"
|
|
5
|
+
},
|
|
6
|
+
"chat": {
|
|
7
|
+
"column": {
|
|
8
|
+
"max-width": {
|
|
9
|
+
"$type": "sizing",
|
|
10
|
+
"$value": "{container.max-width.md}",
|
|
11
|
+
"$description": "Width of the conversation column. Single source for every element that lines up with the conversation: the ChatMessageList inner column and the BottomBar chat variant that carries the composer. Figma 5379:46770 draws the row at 780px; md (768px) is the scale step that matches it."
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -6,7 +6,13 @@
|
|
|
6
6
|
"chatbubble": {
|
|
7
7
|
"max-width": {
|
|
8
8
|
"$type": "sizing",
|
|
9
|
-
"$value": "{
|
|
9
|
+
"$value": "{size.40xl}",
|
|
10
|
+
"$description": "The bubble's ceiling, a fraction of chat.column.max-width and never the whole column: a long message has to stop short of the far edge or the alignment that tells own from peer has no room to show. 592px against a 768px column is the ratio Figma 5379:46770 draws (600 of 780)."
|
|
11
|
+
},
|
|
12
|
+
"max-width-ratio": {
|
|
13
|
+
"$type": "other",
|
|
14
|
+
"$value": "77%",
|
|
15
|
+
"$description": "The same ratio expressed as a share of the row, so it holds below the column cap too, where the conversation runs full-bleed. The bubble takes whichever of the two is smaller, so it stops short of the far edge at every width."
|
|
10
16
|
},
|
|
11
17
|
"radius": {
|
|
12
18
|
"$type": "borderRadius",
|