@fibery/ui-kit 15.0.1 → 15.1.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/lib/abbreviate-name.js +3 -3
- package/lib/avatar.d.ts +3 -3
- package/lib/avatar.js +6 -6
- package/lib/box.d.ts +2 -1
- package/lib/box.js +3 -3
- package/lib/box.wyw-in-js.css +1 -1
- package/lib/chat/bubble.d.ts +13 -0
- package/lib/chat/bubble.js +28 -0
- package/lib/chat/bubble.wyw-in-js.css +4 -0
- package/lib/chat/file-attachment.d.ts +12 -0
- package/lib/chat/file-attachment.js +52 -0
- package/lib/chat/file-attachment.wyw-in-js.css +12 -0
- package/lib/chat/marker.d.ts +16 -0
- package/lib/chat/marker.js +31 -0
- package/lib/chat/marker.wyw-in-js.css +5 -0
- package/lib/chat/message.d.ts +15 -0
- package/lib/chat/message.js +28 -0
- package/lib/chat/message.wyw-in-js.css +4 -0
- package/lib/chat/shimmer-text.d.ts +1 -0
- package/lib/chat/shimmer-text.js +5 -0
- package/lib/chat/shimmer-text.wyw-in-js.css +10 -0
- package/lib/chat/trace.d.ts +15 -0
- package/lib/chat/trace.js +91 -0
- package/lib/chat/trace.wyw-in-js.css +9 -0
- package/lib/checkbox.d.ts +1 -1
- package/lib/checkbox.js +20 -13
- package/lib/code-syntax-highlight.d.ts +1 -0
- package/lib/code-syntax-highlight.js +5 -0
- package/lib/code-syntax-highlight.wyw-in-js.css +1 -0
- package/lib/deleted-user.d.ts +7 -0
- package/lib/deleted-user.js +34 -0
- package/lib/design-system/colors.d.ts +9 -0
- package/lib/design-system/colors.js +21 -1
- package/lib/design-system/token-name.js +2 -2
- package/lib/download-file.js +1 -1
- package/lib/emoji-picker/primitives/grid.js +2 -2
- package/lib/emoji-picker/primitives/skin-tone.js +13 -7
- package/lib/emoji-picker/utils/store.js +2 -2
- package/lib/file-item/file-icon.js +12 -12
- package/lib/images-gallery/get-gallery-src.js +7 -7
- package/lib/images-gallery/images-gallery.d.ts +1 -0
- package/lib/images-gallery/images-gallery.js +17 -4
- package/lib/mobile-drawer.d.ts +3 -1
- package/lib/mobile-drawer.js +10 -7
- package/lib/mobile-drawer.wyw-in-js.css +6 -5
- package/lib/number-input/utils.js +2 -2
- package/lib/palettes/common.d.ts +14 -0
- package/lib/palettes/common.js +15 -1
- package/lib/popover/mobile-popover.js +1 -1
- package/lib/select/components/use-flat-menu-items.js +2 -2
- package/lib/select/index.js +1 -1
- package/lib/select/styles.js +1 -1
- package/lib/sidebar/sidebar.js +1 -1
- package/lib/styles.generated.d.ts +18 -0
- package/lib/styles.generated.js +18 -0
- package/lib/styles.neutral-dark.generated.css +13 -0
- package/lib/styles.neutral-dark.generated.d.ts +9 -0
- package/lib/styles.neutral-dark.generated.js +9 -0
- package/lib/styles.neutral-light.generated.css +13 -0
- package/lib/styles.neutral-light.generated.d.ts +9 -0
- package/lib/styles.neutral-light.generated.js +9 -0
- package/lib/styles.warm-dark.generated.css +13 -0
- package/lib/styles.warm-dark.generated.d.ts +9 -0
- package/lib/styles.warm-dark.generated.js +9 -0
- package/lib/styles.warm-light.generated.css +15 -0
- package/lib/styles.warm-light.generated.d.ts +9 -0
- package/lib/styles.warm-light.generated.js +9 -0
- package/lib/tab-nav/tab-nav.js +1 -1
- package/lib/thematic-controls.js +2 -2
- package/lib/theme-settings-core.js +1 -1
- package/lib/theming.generated.d.ts +1 -1
- package/lib/theming.generated.js +9 -0
- package/package.json +3 -3
package/lib/abbreviate-name.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/abbreviate-name.ts
|
|
2
|
-
var preservedNameEmojis = [
|
|
2
|
+
var preservedNameEmojis = /* @__PURE__ */ new Set([
|
|
3
3
|
"🤖",
|
|
4
4
|
"👻",
|
|
5
5
|
"🧮",
|
|
@@ -7,10 +7,10 @@ var preservedNameEmojis = [
|
|
|
7
7
|
"🔌",
|
|
8
8
|
"🔗",
|
|
9
9
|
"🔒"
|
|
10
|
-
];
|
|
10
|
+
]);
|
|
11
11
|
var abbreviateName = (name) => {
|
|
12
12
|
if (name === void 0) return "…";
|
|
13
|
-
if (name && preservedNameEmojis.
|
|
13
|
+
if (name && preservedNameEmojis.has(name)) return name;
|
|
14
14
|
const hasComma = (name || "").includes(",");
|
|
15
15
|
let parts = (name || "").replace(/\p{Emoji_Presentation}|\p{Emoji}\uFE0F?/gu, "").replace(/[^\p{L}\p{M}'\-\s,]+/gu, " ").trim().split(/[,\s]+/).filter(Boolean);
|
|
16
16
|
if (hasComma && parts.length > 1) parts = parts.reverse();
|
package/lib/avatar.d.ts
CHANGED
|
@@ -14,14 +14,14 @@ type AvatarImageProps = {
|
|
|
14
14
|
placeholder?: React.ReactNode;
|
|
15
15
|
};
|
|
16
16
|
declare const AvatarImage: FC<AvatarImageProps>;
|
|
17
|
-
type
|
|
17
|
+
type EmptyAvatarProps = {
|
|
18
18
|
size: number;
|
|
19
19
|
containerSize: number;
|
|
20
20
|
};
|
|
21
|
-
declare const
|
|
21
|
+
declare const EmptyAvatar: FC<EmptyAvatarProps>;
|
|
22
22
|
declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
23
23
|
declare function Avatar({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
24
24
|
declare function AvatarGroupCount({ className, size, ...props }: {
|
|
25
25
|
size: number;
|
|
26
26
|
} & React.ComponentProps<"div">): import("react").JSX.Element;
|
|
27
|
-
export { Avatar, AvatarGroup, AvatarGroupCount, AvatarImage, FibermojiPlaceholder as AvatarPlaceholder,
|
|
27
|
+
export { Avatar, AvatarGroup, AvatarGroupCount, AvatarImage, FibermojiPlaceholder as AvatarPlaceholder, EmptyAvatar };
|
package/lib/avatar.js
CHANGED
|
@@ -137,11 +137,11 @@ var AvatarImage = memo(function AvatarImage({ size, containerSize, title, badges
|
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
|
-
var
|
|
140
|
+
var getEmptyAvatarContainerStyle = ({ containerSize }) => ({
|
|
141
141
|
width: containerSize,
|
|
142
142
|
height: containerSize
|
|
143
143
|
});
|
|
144
|
-
var
|
|
144
|
+
var getEmptyAvatarStyle = ({ size, containerSize }) => {
|
|
145
145
|
const diff = containerSize - size;
|
|
146
146
|
const sizeShift = diff ? diff / 2 : 0;
|
|
147
147
|
return {
|
|
@@ -154,13 +154,13 @@ var getNullUserAvatarStyle = ({ size, containerSize }) => {
|
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
var magicCoefficient = 4.5;
|
|
157
|
-
var
|
|
157
|
+
var EmptyAvatar = memo(function EmptyAvatar({ size, containerSize }) {
|
|
158
158
|
const dashSize = Math.PI * size / magicCoefficient / 12;
|
|
159
159
|
return /* @__PURE__ */ jsx("div", {
|
|
160
|
-
style:
|
|
160
|
+
style: getEmptyAvatarContainerStyle({ containerSize }),
|
|
161
161
|
children: jsx("svg", {
|
|
162
162
|
viewBox: `0 0 ${size} ${size}`,
|
|
163
|
-
style:
|
|
163
|
+
style: getEmptyAvatarStyle({
|
|
164
164
|
size,
|
|
165
165
|
containerSize
|
|
166
166
|
}),
|
|
@@ -200,4 +200,4 @@ function AvatarGroupCount({ className, size, ...props }) {
|
|
|
200
200
|
...props
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
export { Avatar, AvatarGroup, AvatarGroupCount, AvatarImage, FibermojiPlaceholder as AvatarPlaceholder,
|
|
203
|
+
export { Avatar, AvatarGroup, AvatarGroupCount, AvatarImage, FibermojiPlaceholder as AvatarPlaceholder, EmptyAvatar };
|
package/lib/box.d.ts
CHANGED
|
@@ -21,8 +21,9 @@ export declare function useBoxBackgroundColors({ backgroundColors }: {
|
|
|
21
21
|
}): string[];
|
|
22
22
|
export declare const CardBgColorProvider: import("react").Provider<string | null>;
|
|
23
23
|
export declare const useCardBgColor: () => string | null;
|
|
24
|
-
export declare function getBoxColorCoding({ backgroundColors }: {
|
|
24
|
+
export declare function getBoxColorCoding({ backgroundColors, neutralElevation }: {
|
|
25
25
|
backgroundColors: string[] | null | undefined;
|
|
26
|
+
neutralElevation?: boolean;
|
|
26
27
|
}): {
|
|
27
28
|
colorCodingClassName: string;
|
|
28
29
|
colorCodingStyle: {};
|
package/lib/box.js
CHANGED
|
@@ -54,7 +54,7 @@ function useBoxBackgroundColors({ backgroundColors }) {
|
|
|
54
54
|
var CardBgColorContext = createContext(null);
|
|
55
55
|
var CardBgColorProvider = CardBgColorContext.Provider;
|
|
56
56
|
var useCardBgColor = () => useContext(CardBgColorContext);
|
|
57
|
-
function getBoxColorCoding({ backgroundColors }) {
|
|
57
|
+
function getBoxColorCoding({ backgroundColors, neutralElevation = false }) {
|
|
58
58
|
if (!backgroundColors || !backgroundColors.length) return {
|
|
59
59
|
colorCodingClassName: "",
|
|
60
60
|
colorCodingStyle: emptyColorCodingStyle
|
|
@@ -67,9 +67,9 @@ function getBoxColorCoding({ backgroundColors }) {
|
|
|
67
67
|
colorCodingClassName,
|
|
68
68
|
colorCodingStyle: {
|
|
69
69
|
[colorCodingBackgroundCustomProperty]: colorCodingColor,
|
|
70
|
-
[colorCodingShadowEntityBoxDefaultCustomProperty]: elevation(2, 4),
|
|
70
|
+
[colorCodingShadowEntityBoxDefaultCustomProperty]: neutralElevation ? "var(--shadow-entity-box)" : elevation(2, 4),
|
|
71
71
|
[colorCodingShadowStrokeEntityBoxDefaultCustomProperty]: stroke(1, alphaCoefficients.stroke.default),
|
|
72
|
-
[colorCodingBackgroundHoverShadowCustomProperty]: elevation(4, 8),
|
|
72
|
+
[colorCodingBackgroundHoverShadowCustomProperty]: neutralElevation ? "var(--shadow-entity-box_hover)" : elevation(4, 8),
|
|
73
73
|
[colorCodingFocusShadowStrokeEntityBoxDefaultCustomProperty]: stroke(2, alphaCoefficients.stroke.emphasis),
|
|
74
74
|
[colorCodingHoverFocusShadowStrokeEntityBoxDefaultCustomProperty]: stroke(2, alphaCoefficients.stroke.strong),
|
|
75
75
|
[colorCodingShadowStrokeEntityBoxSelectedCustomProperty]: `${stroke(1, alphaCoefficients.stroke.strong)}, ${stroke(3, alphaCoefficients.stroke.emphasis)}`
|
package/lib/box.wyw-in-js.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
in srgb,
|
|
12
12
|
var(--dynamic-bg-card-color-coding),
|
|
13
13
|
var(--bg-entity-box_hover) 90%
|
|
14
|
-
);box-shadow:var(--dynamic-shadow-card-color-coding_hover);}.c1n31q32-colorCoding.b69pf4o-BoxRoot:is(.focus, [data-entity-batch-selected]){background-color:color-mix(
|
|
14
|
+
);box-shadow:var(--dynamic-shadow-card-color-coding_hover);}.c1n31q32-colorCoding.b69pf4o-BoxRoot.drag,.c1n31q32-colorCoding.b69pf4o-BoxRoot.drag.hover{box-shadow:var(--shadow-entity-box_dragging);}.c1n31q32-colorCoding.b69pf4o-BoxRoot:is(.focus, [data-entity-batch-selected]){background-color:color-mix(
|
|
15
15
|
in srgb,
|
|
16
16
|
var(--dynamic-bg-card-color-coding),
|
|
17
17
|
var(--bg-entity-box_focus) 90%
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type BubbleVariant = "secondary" | "ghost";
|
|
3
|
+
export type BubbleAlign = "start" | "end";
|
|
4
|
+
export declare function Bubble({ variant, align, className, children }: {
|
|
5
|
+
variant?: BubbleVariant;
|
|
6
|
+
align?: BubbleAlign;
|
|
7
|
+
className?: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
export declare function BubbleContent({ className, children }: {
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./bubble.wyw-in-js.css";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { createContext, useContext } from "react";
|
|
6
|
+
// src/chat/bubble.tsx
|
|
7
|
+
var BubbleContext = createContext("secondary");
|
|
8
|
+
var rootCss = "ru5laiz-root";
|
|
9
|
+
var alignEndCss = "a1m3nsxp-alignEnd";
|
|
10
|
+
var contentBaseCss = "c1c3ral8-contentBase";
|
|
11
|
+
var contentSecondaryCss = "cx9lwgd-contentSecondary";
|
|
12
|
+
function Bubble({ variant = "secondary", align = "start", className, children }) {
|
|
13
|
+
return /* @__PURE__ */ jsx(BubbleContext.Provider, {
|
|
14
|
+
value: variant,
|
|
15
|
+
children: jsx("div", {
|
|
16
|
+
className: cx(rootCss, align === "end" && alignEndCss, className),
|
|
17
|
+
children
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function BubbleContent({ className, children }) {
|
|
22
|
+
const variant = useContext(BubbleContext);
|
|
23
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: cx(contentBaseCss, variant === "secondary" && contentSecondaryCss, className),
|
|
25
|
+
children
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export { Bubble, BubbleContent };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
.ru5laiz-root{display:flex;min-width:0;flex-direction:column;}
|
|
2
|
+
.a1m3nsxp-alignEnd{align-items:flex-end;}
|
|
3
|
+
.c1c3ral8-contentBase{min-width:0;}
|
|
4
|
+
.cx9lwgd-contentSecondary{border-radius:12px;background-color:var(--bg-message-container);padding:8px 12px;border:1.5px solid var(--bg-transparent);outline:0.5px solid var(--border-separator);}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export declare const attachmentPreviewSize = 48;
|
|
3
|
+
type FileAttachmentProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
preview: ReactNode;
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
status?: "uploading" | "error";
|
|
9
|
+
actionVisibility?: "always" | "hover";
|
|
10
|
+
onOpen?: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function FileAttachment({ name, description, preview, action, status, actionVisibility, onOpen }: FileAttachmentProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import "./file-attachment.wyw-in-js.css";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
// src/chat/file-attachment.tsx
|
|
6
|
+
var actionClassName = "chat-file-attachment-action";
|
|
7
|
+
var rootCss = "rzrgp6l-root";
|
|
8
|
+
var contentCss = "c12u7g7o-content";
|
|
9
|
+
var clickableCss = "c1wu83t-clickable";
|
|
10
|
+
var attachmentPreviewSize = 48;
|
|
11
|
+
var previewCss = "ppio07t-preview";
|
|
12
|
+
var textCss = "t1riqdox-text";
|
|
13
|
+
var nameCss = "nhqzphg-name";
|
|
14
|
+
var descriptionCss = "d1kxov1-description";
|
|
15
|
+
var actionCss = "a12ztqg0-action";
|
|
16
|
+
var actionVisibleCss = "aleozgn-actionVisible";
|
|
17
|
+
var uploadingPreviewCss = "uq90xu3-uploadingPreview";
|
|
18
|
+
var errorCss = "e1a9or77-error";
|
|
19
|
+
var errorTextCss = "e1blfe7e-errorText";
|
|
20
|
+
function FileAttachment({ name, description, preview, action, status, actionVisibility = "always", onOpen }) {
|
|
21
|
+
const content = /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: cx(previewCss, status === "uploading" && uploadingPreviewCss),
|
|
23
|
+
children: preview
|
|
24
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
25
|
+
className: textCss,
|
|
26
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
27
|
+
className: nameCss,
|
|
28
|
+
children: name
|
|
29
|
+
}), description ? /* @__PURE__ */ jsx("span", {
|
|
30
|
+
className: cx(descriptionCss, status === "error" && errorTextCss),
|
|
31
|
+
children: description
|
|
32
|
+
}) : null]
|
|
33
|
+
})] });
|
|
34
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
35
|
+
className: cx(rootCss, status === "error" && errorCss),
|
|
36
|
+
children: [onOpen ? /* @__PURE__ */ jsx("button", {
|
|
37
|
+
type: "button",
|
|
38
|
+
className: cx(contentCss, clickableCss),
|
|
39
|
+
onClick: onOpen,
|
|
40
|
+
title: name,
|
|
41
|
+
children: content
|
|
42
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
43
|
+
className: contentCss,
|
|
44
|
+
title: name,
|
|
45
|
+
children: content
|
|
46
|
+
}), action ? /* @__PURE__ */ jsx("span", {
|
|
47
|
+
className: cx(actionClassName, actionCss, actionVisibility === "always" && actionVisibleCss),
|
|
48
|
+
children: action
|
|
49
|
+
}) : null]
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
export { FileAttachment, attachmentPreviewSize };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.rzrgp6l-root{position:relative;display:flex;flex:none;align-items:center;width:280px;max-width:100%;min-width:0;border:var(--stroke-separator);border-radius:8px;background:var(--bg-button-soft-neutral);}.rzrgp6l-root:hover{background:var(--bg-navigation-item_hover);}.rzrgp6l-root:hover .chat-file-attachment-action,.rzrgp6l-root:focus-within .chat-file-attachment-action{opacity:1;}
|
|
2
|
+
.c12u7g7o-content{display:flex;flex:1;min-width:0;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:0;background:transparent;color:var(--fg);font:inherit;text-align:start;}
|
|
3
|
+
.c1wu83t-clickable{cursor:pointer;}.c1wu83t-clickable:focus-visible{outline:2px solid var(--border-accent_focus);outline-offset:-2px;}
|
|
4
|
+
.ppio07t-preview{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;overflow:hidden;border-radius:6px;background:var(--bg-button-soft-neutral_hover);}.ppio07t-preview>img{display:block;width:100%;height:100%;object-fit:cover;}
|
|
5
|
+
.t1riqdox-text{display:flex;flex:1;min-width:0;flex-direction:column;}
|
|
6
|
+
.nhqzphg-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;}
|
|
7
|
+
.d1kxov1-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.5;color:var(--fg-secondary);}
|
|
8
|
+
.a12ztqg0-action{display:flex;flex:none;align-items:center;justify-content:center;margin-right:4px;opacity:0;transition:opacity 0.1s ease-in-out;}
|
|
9
|
+
.aleozgn-actionVisible{opacity:1;}
|
|
10
|
+
.uq90xu3-uploadingPreview{opacity:var(--opacity-pending);}
|
|
11
|
+
.e1a9or77-error{border-color:var(--fg-error);}
|
|
12
|
+
.e1blfe7e-errorText{color:var(--fg-error);}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
export type MarkerVariant = "default" | "border" | "separator";
|
|
3
|
+
type MarkerProps = {
|
|
4
|
+
variant?: MarkerVariant;
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
export declare function Marker({ variant, className, children, ...rest }: MarkerProps): import("react").JSX.Element;
|
|
9
|
+
export declare function MarkerIcon({ className, children }: {
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export declare function MarkerContent({ className, children }: {
|
|
14
|
+
className?: string;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./marker.wyw-in-js.css";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
// src/chat/marker.tsx
|
|
6
|
+
var rootCss = "r10fvtpe-root";
|
|
7
|
+
var borderVariantCss = "bp0wsvq-borderVariant";
|
|
8
|
+
var separatorVariantCss = "sj78nau-separatorVariant";
|
|
9
|
+
var iconCss = "ia3wqu7-icon";
|
|
10
|
+
var contentCss = "c1fwtve1-content";
|
|
11
|
+
function Marker({ variant = "default", className, children, ...rest }) {
|
|
12
|
+
return /* @__PURE__ */ jsx("div", {
|
|
13
|
+
className: cx(rootCss, variant === "border" && borderVariantCss, variant === "separator" && separatorVariantCss, className),
|
|
14
|
+
...rest,
|
|
15
|
+
children
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function MarkerIcon({ className, children }) {
|
|
19
|
+
return /* @__PURE__ */ jsx("span", {
|
|
20
|
+
"aria-hidden": true,
|
|
21
|
+
className: cx(iconCss, className),
|
|
22
|
+
children
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function MarkerContent({ className, children }) {
|
|
26
|
+
return /* @__PURE__ */ jsx("span", {
|
|
27
|
+
className: cx(contentCss, className),
|
|
28
|
+
children
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
export { Marker, MarkerContent, MarkerIcon };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
.r10fvtpe-root{display:flex;min-width:0;align-items:center;gap:6px;font-size:14px;color:var(--fg-secondary);}
|
|
2
|
+
.bp0wsvq-borderVariant{padding:6px 12px;border:1px solid var(--border-separator);border-radius:12px;}
|
|
3
|
+
.sj78nau-separatorVariant{gap:8px;}.sj78nau-separatorVariant::before,.sj78nau-separatorVariant::after{content:"";flex:1;height:1px;background-color:var(--border-separator);}
|
|
4
|
+
.ia3wqu7-icon{display:inline-flex;flex-shrink:0;align-items:center;color:var(--fg-secondary);}
|
|
5
|
+
.c1fwtve1-content{min-width:0;}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type MessageAlign = "start" | "end";
|
|
3
|
+
export declare function Message({ align, className, children }: {
|
|
4
|
+
align?: MessageAlign;
|
|
5
|
+
className?: string;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
export declare function MessageAvatar({ className, children }: {
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
export declare function MessageContent({ className, children }: {
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./message.wyw-in-js.css";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { cx } from "@linaria/core";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
// src/chat/message.tsx
|
|
6
|
+
var rootCss = "runxf8m-root";
|
|
7
|
+
var alignEndCss = "a12yf7oc-alignEnd";
|
|
8
|
+
var avatarCss = "a1wpbdie-avatar";
|
|
9
|
+
var contentCss = "c15nwain-content";
|
|
10
|
+
function Message({ align = "start", className, children }) {
|
|
11
|
+
return /* @__PURE__ */ jsx("div", {
|
|
12
|
+
className: cx(rootCss, align === "end" && alignEndCss, className),
|
|
13
|
+
children
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function MessageAvatar({ className, children }) {
|
|
17
|
+
return /* @__PURE__ */ jsx("div", {
|
|
18
|
+
className: cx(avatarCss, className),
|
|
19
|
+
children
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function MessageContent({ className, children }) {
|
|
23
|
+
return /* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: cx(contentCss, className),
|
|
25
|
+
children
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export { Message, MessageAvatar, MessageContent };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
.runxf8m-root{display:flex;min-width:0;flex-direction:row;align-items:flex-start;gap:8px;}
|
|
2
|
+
.a12yf7oc-alignEnd{justify-content:flex-end;}
|
|
3
|
+
.a1wpbdie-avatar{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:32px;height:32px;margin-top:4px;}
|
|
4
|
+
.c15nwain-content{display:flex;min-width:0;flex-direction:column;}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const shimmerTextCss: import("@linaria/core").LinariaClassName;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
.sng495m-shimmerText{--chat-shimmer-spread:calc(3ch + 40px);--chat-shimmer-base:currentColor;--chat-shimmer-highlight:oklch(from currentColor l c h / calc(alpha * 0.2));color:var(--fg-subtle);background-image:linear-gradient(
|
|
2
|
+
110deg,
|
|
3
|
+
var(--chat-shimmer-base) calc(50% - var(--chat-shimmer-spread)),
|
|
4
|
+
color-mix(in oklch, var(--chat-shimmer-highlight), var(--chat-shimmer-base) 50%)
|
|
5
|
+
calc(50% - var(--chat-shimmer-spread) * 0.5),
|
|
6
|
+
var(--chat-shimmer-highlight) 50%,
|
|
7
|
+
color-mix(in oklch, var(--chat-shimmer-highlight), var(--chat-shimmer-base) 50%)
|
|
8
|
+
calc(50% + var(--chat-shimmer-spread) * 0.5),
|
|
9
|
+
var(--chat-shimmer-base) calc(50% + var(--chat-shimmer-spread))
|
|
10
|
+
);background-repeat:no-repeat;background-size:calc(200% + var(--chat-shimmer-spread) * 2) 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:chat-text-shimmer-sng495m-shimmerText 2s linear infinite;}@keyframes chat-text-shimmer-sng495m-shimmerText{from{background-position:100% 0;}to{background-position:0 0;}}.dark .sng495m-shimmerText{--chat-shimmer-highlight:oklch(from currentColor max(0.8, calc(l + 0.4)) c h / calc(alpha + 0.4));}@media (prefers-reduced-motion: reduce){.sng495m-shimmerText{animation:none;background-image:none;-webkit-text-fill-color:currentColor;}}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CollapsibleContent, CollapsibleRoot, CollapsibleTrigger } from "../collapsible/index.js";
|
|
2
|
+
import { ComponentProps, HTMLAttributes } from "react";
|
|
3
|
+
export type TraceStatus = "running" | "error" | "pending";
|
|
4
|
+
export declare function Trace({ className, ...rest }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
5
|
+
export declare function TraceLine({ status, className, ...rest }: HTMLAttributes<HTMLSpanElement> & {
|
|
6
|
+
status?: TraceStatus;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
export declare function TraceIcon({ className, ...rest }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
9
|
+
export declare function TraceTitle({ className, ...rest }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
10
|
+
export declare function TraceDescription({ className, ...rest }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
11
|
+
export declare function TraceCollapsible(props: ComponentProps<typeof CollapsibleRoot>): import("react").JSX.Element;
|
|
12
|
+
export declare function TraceCollapsibleTrigger({ className, children, ...rest }: Omit<ComponentProps<typeof CollapsibleTrigger>, "asChild">): import("react").JSX.Element;
|
|
13
|
+
export declare function TraceCollapsibleContent({ keepMounted, className, children, ...rest }: Omit<ComponentProps<typeof CollapsibleContent>, "forceMount"> & {
|
|
14
|
+
keepMounted?: boolean;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import "./trace.wyw-in-js.css";
|
|
2
|
+
import { CollapsibleContent, CollapsibleRoot, CollapsibleTrigger } from "../collapsible/index.js";
|
|
3
|
+
import arrow_down_default from "../icons/react/arrow-down.js";
|
|
4
|
+
import "./shimmer-text.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { cx } from "@linaria/core";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { createContext, useContext } from "react";
|
|
9
|
+
// src/chat/trace.tsx
|
|
10
|
+
var rootCss = "r1rx1hjd-root";
|
|
11
|
+
function Trace({ className, ...rest }) {
|
|
12
|
+
return /* @__PURE__ */ jsx("div", {
|
|
13
|
+
"data-slot": "trace",
|
|
14
|
+
className: cx(rootCss, className),
|
|
15
|
+
...rest
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
var lineCss = "l1hh0zd7-line";
|
|
19
|
+
var TraceLineStatusContext = createContext(void 0);
|
|
20
|
+
function TraceLine({ status, className, ...rest }) {
|
|
21
|
+
return /* @__PURE__ */ jsx(TraceLineStatusContext.Provider, {
|
|
22
|
+
value: status,
|
|
23
|
+
children: jsx("span", {
|
|
24
|
+
"data-slot": "trace-line",
|
|
25
|
+
"data-status": status,
|
|
26
|
+
className: cx(lineCss, className),
|
|
27
|
+
...rest
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
var iconCss = "i1fuon85-icon";
|
|
32
|
+
function TraceIcon({ className, ...rest }) {
|
|
33
|
+
return /* @__PURE__ */ jsx("span", {
|
|
34
|
+
"aria-hidden": true,
|
|
35
|
+
"data-slot": "trace-icon",
|
|
36
|
+
className: cx(iconCss, className),
|
|
37
|
+
...rest
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
var titleCss = "t1hapjis-title";
|
|
41
|
+
function TraceTitle({ className, ...rest }) {
|
|
42
|
+
const running = useContext(TraceLineStatusContext) === "running";
|
|
43
|
+
return /* @__PURE__ */ jsx("span", {
|
|
44
|
+
"data-slot": "trace-title",
|
|
45
|
+
className: cx(titleCss, running && "sng495m-shimmerText", className),
|
|
46
|
+
...rest
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
var descriptionCss = "d1tskyc3-description";
|
|
50
|
+
function TraceDescription({ className, ...rest }) {
|
|
51
|
+
return /* @__PURE__ */ jsx("span", {
|
|
52
|
+
"data-slot": "trace-description",
|
|
53
|
+
className: cx(descriptionCss, className),
|
|
54
|
+
...rest
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function TraceCollapsible(props) {
|
|
58
|
+
return /* @__PURE__ */ jsx(CollapsibleRoot, {
|
|
59
|
+
"data-slot": "trace-collapsible",
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
var triggerChevronCss = "tfrlq2n-triggerChevron";
|
|
64
|
+
var triggerCss = "t1uoakje-trigger";
|
|
65
|
+
function TraceCollapsibleTrigger({ className, children, ...rest }) {
|
|
66
|
+
return /* @__PURE__ */ jsxs(CollapsibleTrigger, {
|
|
67
|
+
"data-slot": "trace-collapsible-trigger",
|
|
68
|
+
className: cx(triggerCss, className),
|
|
69
|
+
...rest,
|
|
70
|
+
children: [children, /* @__PURE__ */ jsx(arrow_down_default, {
|
|
71
|
+
className: triggerChevronCss,
|
|
72
|
+
iconSize: 16,
|
|
73
|
+
color: "var(--fg-subtle)"
|
|
74
|
+
})]
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
var contentKeptCss = "cz9uj8m-contentKept";
|
|
78
|
+
var contentInnerCss = "c4zfghv-contentInner";
|
|
79
|
+
function TraceCollapsibleContent({ keepMounted, className, children, ...rest }) {
|
|
80
|
+
return /* @__PURE__ */ jsx(CollapsibleContent, {
|
|
81
|
+
"data-slot": "trace-collapsible-content",
|
|
82
|
+
forceMount: keepMounted || void 0,
|
|
83
|
+
className: keepMounted ? contentKeptCss : void 0,
|
|
84
|
+
...rest,
|
|
85
|
+
children: jsx("div", {
|
|
86
|
+
className: cx(contentInnerCss, className),
|
|
87
|
+
children
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
export { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.r1rx1hjd-root{display:flex;min-width:0;flex-direction:column;gap:8px;}
|
|
2
|
+
.l1hh0zd7-line{display:flex;min-width:0;align-items:center;gap:8px;font-size:14px;color:var(--fg-subtle);}.l1hh0zd7-line[data-status="error"]{color:var(--fg-error);}.l1hh0zd7-line[data-status="pending"]{opacity:0.6;}
|
|
3
|
+
.i1fuon85-icon{display:inline-flex;flex-shrink:0;align-items:center;--dynamic-size-icon:16px;--dynamic-fg-icon:currentColor;}
|
|
4
|
+
.t1hapjis-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
|
5
|
+
.d1tskyc3-description{flex-shrink:0;font-size:12px;font-variant-numeric:tabular-nums;color:var(--fg-muted);}
|
|
6
|
+
.tfrlq2n-triggerChevron{flex-shrink:0;transform:rotate(-90deg);transition:transform 200ms ease-in-out;}
|
|
7
|
+
.t1uoakje-trigger{display:flex;min-width:0;max-width:100%;align-items:center;gap:4px;padding:0;border:0;background:transparent;cursor:pointer;font:inherit;text-align:left;border-radius:4px;}.t1uoakje-trigger:focus{outline:none;}.t1uoakje-trigger:focus-visible{outline:2px solid var(--ring-neutral_focus);outline-offset:2px;}.t1uoakje-trigger:hover>.l1hh0zd7-line:not([data-status="error"]){color:var(--fg);}.t1uoakje-trigger[aria-expanded="true"] .tfrlq2n-triggerChevron{transform:none;}
|
|
8
|
+
.cz9uj8m-contentKept[data-state="closed"]{display:none;}
|
|
9
|
+
.c4zfghv-contentInner{display:flex;min-width:0;flex-direction:column;gap:8px;margin-top:8px;margin-left:7px;padding-left:16px;border-left:1px solid var(--border-separator);}
|
package/lib/checkbox.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ type CheckboxComponentProps = Omit<ComponentProps<"input">, "checked" | "default
|
|
|
11
11
|
size?: "small";
|
|
12
12
|
theme: Theme;
|
|
13
13
|
};
|
|
14
|
-
declare const CheckboxComponent: ({ color, size, disabled, theme, checked, defaultChecked, className, ...rest }: CheckboxComponentProps) => import("react").JSX.Element;
|
|
14
|
+
declare const CheckboxComponent: ({ color, size, disabled, theme, checked, defaultChecked, onChange, className, ...rest }: CheckboxComponentProps) => import("react").JSX.Element;
|
|
15
15
|
export declare const Checkbox: FC<Omit<ComponentPropsWithoutRef<typeof CheckboxComponent>, "theme">>;
|
|
16
16
|
interface CheckboxWithTextProps {
|
|
17
17
|
checked?: boolean;
|
package/lib/checkbox.js
CHANGED
|
@@ -27,10 +27,9 @@ var inputStyle = "i1n3occ1-input";
|
|
|
27
27
|
var disabledInputStyle = "d15ntl1g-disabledInput";
|
|
28
28
|
var checkmarkStyle = "c1a0urkz-checkmark";
|
|
29
29
|
var hoverFill = memoizeColor((panelBg, color) => mixSrgb(panelBg, color, alphaCoefficients.tint.subtle[0]), (panelBg, color) => `${panelBg}/${color}`);
|
|
30
|
-
var CheckboxComponent = ({ color, size, disabled, theme, checked, defaultChecked, className, ...rest }) => {
|
|
30
|
+
var CheckboxComponent = ({ color, size, disabled, theme, checked, defaultChecked, onChange, className, ...rest }) => {
|
|
31
31
|
const ref = useRef(null);
|
|
32
32
|
const indeterminate = checked === null;
|
|
33
|
-
const defaultIndeterminate = defaultChecked === null;
|
|
34
33
|
const cColor = color || theme.var("--fg-accent");
|
|
35
34
|
const fColor = alpha(cColor, alphaCoefficients.stroke.default[0]);
|
|
36
35
|
const hColor = hoverFill(theme.var("--bg-panel"), cColor);
|
|
@@ -47,18 +46,26 @@ var CheckboxComponent = ({ color, size, disabled, theme, checked, defaultChecked
|
|
|
47
46
|
useEffect(() => {
|
|
48
47
|
if (ref.current) ref.current.indeterminate = checked === null;
|
|
49
48
|
}, [checked]);
|
|
49
|
+
const inputProps = {
|
|
50
|
+
ref,
|
|
51
|
+
className: cx(inputStyle, disabled && "d15ntl1g-disabledInput"),
|
|
52
|
+
disabled,
|
|
53
|
+
...rest
|
|
54
|
+
};
|
|
50
55
|
return /* @__PURE__ */ jsxs("span", {
|
|
51
56
|
style,
|
|
52
57
|
className: cx(checkboxRootStyle, disabled && "d1m3prw4-disabledCheckbox", className),
|
|
53
58
|
children: [
|
|
54
|
-
/* @__PURE__ */ jsx("input", {
|
|
59
|
+
checked === void 0 ? /* @__PURE__ */ jsx("input", {
|
|
60
|
+
type: "checkbox",
|
|
61
|
+
...inputProps,
|
|
62
|
+
defaultChecked: defaultChecked === null ? true : defaultChecked,
|
|
63
|
+
onChange
|
|
64
|
+
}) : /* @__PURE__ */ jsx("input", {
|
|
55
65
|
type: "checkbox",
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
checked: indeterminate ? true : checked ?? void 0,
|
|
60
|
-
defaultChecked: defaultIndeterminate ? true : defaultChecked ?? void 0,
|
|
61
|
-
...rest
|
|
66
|
+
...inputProps,
|
|
67
|
+
checked: checked ?? true,
|
|
68
|
+
onChange
|
|
62
69
|
}),
|
|
63
70
|
/* @__PURE__ */ jsx("span", { className: backgroundStyle }),
|
|
64
71
|
/* @__PURE__ */ jsx("svg", {
|
|
@@ -131,10 +138,10 @@ function createCheckboxElement(checked, disabled) {
|
|
|
131
138
|
svg.classList.add(checkmarkStyle);
|
|
132
139
|
const path = document.createElementNS(NS, "path");
|
|
133
140
|
path.setAttribute("d", "M3 8.5L6.5 12L13 4");
|
|
134
|
-
svg.
|
|
135
|
-
root.
|
|
136
|
-
root.
|
|
137
|
-
root.
|
|
141
|
+
svg.append(path);
|
|
142
|
+
root.append(input);
|
|
143
|
+
root.append(background);
|
|
144
|
+
root.append(svg);
|
|
138
145
|
return {
|
|
139
146
|
root,
|
|
140
147
|
input
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const codeSyntaxHighlight: import("@linaria/core").LinariaClassName;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.c2dua6h-codeSyntaxHighlight{--code-syntax-key:var(--fg-code-key);--code-syntax-string:var(--fg-code-string);--code-syntax-literal:var(--fg-code-literal);}.c2dua6h-codeSyntaxHighlight .code-block pre>code{font-size:14px;line-height:20px;}.c2dua6h-codeSyntaxHighlight code .hljs-attr,.c2dua6h-codeSyntaxHighlight code .hljs-attribute,.c2dua6h-codeSyntaxHighlight code .hljs-keyword,.c2dua6h-codeSyntaxHighlight code .hljs-name,.c2dua6h-codeSyntaxHighlight code .hljs-selector-class,.c2dua6h-codeSyntaxHighlight code .hljs-selector-id,.c2dua6h-codeSyntaxHighlight code .hljs-selector-tag,.c2dua6h-codeSyntaxHighlight code .hljs-template-tag,.c2dua6h-codeSyntaxHighlight code .hljs-title,.c2dua6h-codeSyntaxHighlight code .hljs-variable.language_{color:var(--code-syntax-key);}.c2dua6h-codeSyntaxHighlight code .hljs-quote,.c2dua6h-codeSyntaxHighlight code .hljs-regexp,.c2dua6h-codeSyntaxHighlight code .hljs-string{color:var(--code-syntax-string);}.c2dua6h-codeSyntaxHighlight code .hljs-built_in,.c2dua6h-codeSyntaxHighlight code .hljs-literal,.c2dua6h-codeSyntaxHighlight code .hljs-literal .hljs-keyword,.c2dua6h-codeSyntaxHighlight code .hljs-meta,.c2dua6h-codeSyntaxHighlight code .hljs-number,.c2dua6h-codeSyntaxHighlight code .hljs-symbol,.c2dua6h-codeSyntaxHighlight code .hljs-template-variable,.c2dua6h-codeSyntaxHighlight code .hljs-type{color:var(--code-syntax-literal);}.c2dua6h-codeSyntaxHighlight code .hljs-code,.c2dua6h-codeSyntaxHighlight code .hljs-comment,.c2dua6h-codeSyntaxHighlight code .hljs-doctag,.c2dua6h-codeSyntaxHighlight code .hljs-formula{color:var(--fg-code-comment);}.c2dua6h-codeSyntaxHighlight code .hljs-section,.c2dua6h-codeSyntaxHighlight code .hljs-strong{font-weight:bold;}.c2dua6h-codeSyntaxHighlight code .hljs-emphasis{font-style:italic;}.c2dua6h-codeSyntaxHighlight code .hljs-addition{color:var(--fg-success);}.c2dua6h-codeSyntaxHighlight code .hljs-deletion{color:var(--fg-danger);}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EmptyValue } from "./empty-value.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
// src/deleted-user.tsx
|
|
4
|
+
var deletedUserName = "Deleted user";
|
|
5
|
+
var DeletedUserName = () => /* @__PURE__ */ jsx(EmptyValue, { children: deletedUserName });
|
|
6
|
+
var DeletedUserAvatar = ({ size = 20 }) => {
|
|
7
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
8
|
+
role: "img",
|
|
9
|
+
"aria-label": deletedUserName,
|
|
10
|
+
width: size,
|
|
11
|
+
height: size,
|
|
12
|
+
viewBox: "0 0 20 20",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ jsx("circle", {
|
|
17
|
+
cx: "10",
|
|
18
|
+
cy: "10",
|
|
19
|
+
r: "10",
|
|
20
|
+
fill: "var(--bg-avatar-deleted-user)"
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ jsx("path", {
|
|
23
|
+
opacity: "0.4",
|
|
24
|
+
d: "M16.9234 12.7312C16.4575 10.9412 15.9004 9.8871 15.2218 8.39544C13.9455 5.56127 13.044 4 9.99523 4C6.94642 4 6.05508 5.56127 4.76871 8.39544C4.09007 9.8871 3.53299 10.9412 3.07718 12.7312C2.7328 13.845 3.58362 15.0184 4.77884 14.561C5.06244 14.4118 5.47774 14.2726 5.96392 14.4218C6.43998 14.561 6.63243 14.9886 6.65269 15.0284C7.08823 16.0526 8.18215 16.3709 9.09376 15.4759C9.35711 15.277 9.64072 15.098 9.99523 15.1079C10.3599 15.098 10.6334 15.277 10.9068 15.4759C11.8083 16.3709 12.9022 16.0526 13.3479 15.0284C13.3682 14.9886 13.5505 14.561 14.0367 14.4218C14.5127 14.2726 14.928 14.4118 15.2218 14.561C16.4068 15.0184 17.2678 13.845 16.9234 12.7312Z",
|
|
25
|
+
fill: "var(--fg-avatar-deleted-user)"
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ jsx("path", {
|
|
28
|
+
d: "M12.0949 7.48033C12.9299 7.36141 13.6953 7.9382 13.8146 8.7733C13.9216 9.52318 13.467 10.2151 12.7687 10.4354C12.9417 10.6965 13.0715 10.9443 13.1613 11.1405C13.22 11.269 13.2632 11.3782 13.2921 11.4559C13.4004 11.7471 13.3675 12.1034 13.0079 12.2147C12.7442 12.2959 12.4645 12.1472 12.3829 11.8837C12.3821 11.8812 12.3802 11.8755 12.3781 11.869C12.3735 11.8554 12.3653 11.8332 12.3546 11.8045C12.3331 11.7466 12.2986 11.6604 12.2511 11.5565C12.1553 11.347 12.007 11.0698 11.7999 10.7958C11.3845 10.2463 10.7677 9.75111 9.86732 9.75084C8.96699 9.75084 8.35242 10.2458 7.93958 10.7948C7.7338 11.0685 7.58728 11.3451 7.49232 11.5545C7.44519 11.6585 7.41112 11.7446 7.38978 11.8026C7.28783 12.0797 7.06923 12.3157 6.73841 12.2157C6.37423 12.105 6.34415 11.7492 6.4513 11.4579C6.47994 11.3801 6.52286 11.2711 6.58118 11.1424C6.67019 10.9461 6.79782 10.6978 6.96985 10.4364C6.27554 10.217 5.8119 9.52418 5.91907 8.7733C6.03838 7.93812 6.81358 7.36127 7.6388 7.48033C8.35607 7.58415 8.8926 8.18374 8.94251 8.88072C9.22262 8.79765 9.53098 8.75084 9.86732 8.75084C10.2065 8.75091 10.5167 8.79922 10.799 8.88365C10.8438 8.18532 11.3678 7.5842 12.0949 7.48033ZM10.5236 10.5897C10.7994 10.5899 11.0233 10.8139 11.0236 11.0897C11.0236 11.3657 10.7995 11.5895 10.5236 11.5897H9.22083C8.94469 11.5897 8.72083 11.3658 8.72083 11.0897C8.72108 10.8138 8.94484 10.5897 9.22083 10.5897H10.5236Z",
|
|
29
|
+
fill: "var(--fg-avatar-deleted-user)"
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
export { DeletedUserAvatar, DeletedUserName, deletedUserName };
|