@arbidocs/react 0.4.70 → 0.4.72
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/README.md +6 -4
- package/dist/ProductionDialog-BRrZ5Lj5.d.cts +84 -0
- package/dist/ProductionDialog-DUC9BXWS.d.ts +84 -0
- package/dist/annotations/freeze/index.cjs +45 -1100
- package/dist/annotations/freeze/index.cjs.map +1 -1
- package/dist/annotations/freeze/index.d.cts +2 -85
- package/dist/annotations/freeze/index.d.ts +2 -85
- package/dist/annotations/freeze/index.js +4 -1084
- package/dist/annotations/freeze/index.js.map +1 -1
- package/dist/annotations/index.cjs +48 -48
- package/dist/annotations/index.d.cts +3 -51
- package/dist/annotations/index.d.ts +3 -51
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +9 -9
- package/dist/artifacts/index.js +2 -2
- package/dist/bundle-BnCSbHy2.d.cts +85 -0
- package/dist/bundle-BnCSbHy2.d.ts +85 -0
- package/dist/bundle-N2JIJ2T6.js +4 -0
- package/dist/bundle-N2JIJ2T6.js.map +1 -0
- package/dist/bundle-T6BEVYHE.cjs +13 -0
- package/dist/bundle-T6BEVYHE.cjs.map +1 -0
- package/dist/{chunk-7CL7QHT6.cjs → chunk-GE5TAR7Y.cjs} +26 -25
- package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
- package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
- package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
- package/dist/{chunk-ZMTLGO3K.cjs → chunk-IIT7DMQL.cjs} +6 -2
- package/dist/chunk-IIT7DMQL.cjs.map +1 -0
- package/dist/{chunk-SYPUFZGA.js → chunk-IQ5TYPVU.js} +4 -3
- package/dist/chunk-IQ5TYPVU.js.map +1 -0
- package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
- package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
- package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
- package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
- package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
- package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
- package/dist/chunk-QJXFRP5R.cjs +1103 -0
- package/dist/chunk-QJXFRP5R.cjs.map +1 -0
- package/dist/{chunk-J4MX2W4H.js → chunk-WBYNKFUO.js} +6 -3
- package/dist/chunk-WBYNKFUO.js.map +1 -0
- package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
- package/dist/chunk-WYZJLZ67.cjs.map +1 -0
- package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
- package/dist/chunk-YNNAJJ5Z.js.map +1 -0
- package/dist/chunk-ZJMUNGOY.js +1088 -0
- package/dist/chunk-ZJMUNGOY.js.map +1 -0
- package/dist/document-tools/index.cjs +226 -11
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +139 -9
- package/dist/document-tools/index.d.ts +139 -9
- package/dist/document-tools/index.js +207 -9
- package/dist/document-tools/index.js.map +1 -1
- package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
- package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
- package/dist/index.cjs +688 -369
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +208 -4
- package/dist/index.d.ts +208 -4
- package/dist/index.js +313 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +137 -133
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/dist/viewers/index.cjs +2 -2
- package/dist/viewers/index.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-7CL7QHT6.cjs.map +0 -1
- package/dist/chunk-BTRIS3HY.cjs.map +0 -1
- package/dist/chunk-J4MX2W4H.js.map +0 -1
- package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
- package/dist/chunk-SYPUFZGA.js.map +0 -1
- package/dist/chunk-WS6DF5X4.js.map +0 -1
- package/dist/chunk-ZMTLGO3K.cjs.map +0 -1
- package/dist/store-CqkkD7Ho.d.cts +0 -35
- package/dist/store-D1nhbkgk.d.ts +0 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk5SZ2J2WT_cjs = require('./chunk-5SZ2J2WT.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
5
5
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
6
6
|
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
7
7
|
var React = require('react');
|
|
@@ -709,8 +709,6 @@ function classifyMediaError(err, kind) {
|
|
|
709
709
|
}
|
|
710
710
|
return `Could not access the ${kind}. Please try again.`;
|
|
711
711
|
}
|
|
712
|
-
|
|
713
|
-
// src/documents/useAudioRecorder.ts
|
|
714
712
|
var LEVEL_UPDATE_INTERVAL_MS = 50;
|
|
715
713
|
function useAudioRecorder() {
|
|
716
714
|
const [state, setState] = React.useState("idle");
|
|
@@ -1721,7 +1719,7 @@ var Command = React__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1721
1719
|
));
|
|
1722
1720
|
Command.displayName = cmdk.Command.displayName;
|
|
1723
1721
|
var CommandDialog = ({ children, ...props }) => {
|
|
1724
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1722
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.Dialog, { ...props, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWYZJLZ67_cjs.DialogContent, { className: "overflow-hidden p-0", children: /* @__PURE__ */ jsxRuntime.jsx(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
|
|
1725
1723
|
};
|
|
1726
1724
|
var CommandInput = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "data-cmdk-input-wrapper": "", children: [
|
|
1727
1725
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
@@ -2932,6 +2930,18 @@ function ProjectEntity({
|
|
|
2932
2930
|
}
|
|
2933
2931
|
);
|
|
2934
2932
|
}
|
|
2933
|
+
function VerifiedBadge({ className, label = "Identity verified" }) {
|
|
2934
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2935
|
+
lucideReact.BadgeCheck,
|
|
2936
|
+
{
|
|
2937
|
+
role: "img",
|
|
2938
|
+
"aria-label": label,
|
|
2939
|
+
"data-testid": "verified-badge",
|
|
2940
|
+
className: chunkS6A6FSG7_cjs.cn("h-3.5 w-3.5 shrink-0 text-sky-500", className),
|
|
2941
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("title", { children: label })
|
|
2942
|
+
}
|
|
2943
|
+
);
|
|
2944
|
+
}
|
|
2935
2945
|
var sizeClasses = {
|
|
2936
2946
|
xs: "h-5 w-5",
|
|
2937
2947
|
sm: "h-6 w-6",
|
|
@@ -2983,6 +2993,7 @@ var UserEntity = React.memo(function UserEntity2({
|
|
|
2983
2993
|
avatarImageClassName,
|
|
2984
2994
|
colorClass = "",
|
|
2985
2995
|
isAgent = false,
|
|
2996
|
+
isVerified = false,
|
|
2986
2997
|
agentStyle,
|
|
2987
2998
|
avatarStyle,
|
|
2988
2999
|
isMe = false,
|
|
@@ -3082,6 +3093,7 @@ var UserEntity = React.memo(function UserEntity2({
|
|
|
3082
3093
|
const row = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3083
3094
|
pillAvatar,
|
|
3084
3095
|
displayName && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 max-w-[320px] truncate text-sm leading-tight", children: displayName }),
|
|
3096
|
+
isVerified && !isAgent && /* @__PURE__ */ jsxRuntime.jsx(VerifiedBadge, {}),
|
|
3085
3097
|
agentBadge
|
|
3086
3098
|
] });
|
|
3087
3099
|
const rowClass = "group/pill inline-flex min-w-0 items-center gap-2";
|
|
@@ -4047,6 +4059,7 @@ exports.TxtIcon = TxtIcon;
|
|
|
4047
4059
|
exports.UserEntity = UserEntity;
|
|
4048
4060
|
exports.UserMenu = UserMenu;
|
|
4049
4061
|
exports.VISIBILITY_ICONS = VISIBILITY_ICONS;
|
|
4062
|
+
exports.VerifiedBadge = VerifiedBadge;
|
|
4050
4063
|
exports.VidIcon = VidIcon;
|
|
4051
4064
|
exports.VisibilityIcon = VisibilityIcon;
|
|
4052
4065
|
exports.VisibilityToggle = VisibilityToggle;
|
|
@@ -4070,5 +4083,5 @@ exports.getWorkspaceColor = getWorkspaceColor;
|
|
|
4070
4083
|
exports.returnFocusToMark = returnFocusToMark;
|
|
4071
4084
|
exports.toggleVariants = toggleVariants;
|
|
4072
4085
|
exports.useAudioRecorder = useAudioRecorder;
|
|
4073
|
-
//# sourceMappingURL=chunk-
|
|
4074
|
-
//# sourceMappingURL=chunk-
|
|
4086
|
+
//# sourceMappingURL=chunk-QJRP2LLQ.cjs.map
|
|
4087
|
+
//# sourceMappingURL=chunk-QJRP2LLQ.cjs.map
|