@xiongtao.xt/tau-plugins 0.52.0 → 0.54.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/CHANGELOG.md +10 -0
- package/client/{chunk-M4KRTX2I.js → chunk-6XAEU7BJ.js} +2 -1
- package/client/{chunk-7ZRTRNIF.js → chunk-PRE35AOA.js} +1 -1
- package/docs/ai.md +2 -2
- package/docs/editor.md +0 -2
- package/docs/flashcards.md +3 -3
- package/docs/mcp.md +1 -1
- package/docs/plugin-basics.md +2 -0
- package/docs/portability.md +42 -34
- package/docs/providers/README.md +12 -11
- package/docs/providers/images.md +2 -0
- package/docs/skills.md +6 -7
- package/docs/storage-and-network.md +1 -1
- package/docs/ui.md +105 -26
- package/docs/user-data.md +48 -43
- package/package.js +1 -1
- package/package.json +1 -1
- package/portable.js +2 -2
- package/publish-artifacts.js +109 -106
- package/types/packages/collaboration/src/index.d.ts +1 -1
- package/types/packages/collaboration/src/node-document.d.ts +8 -4
- package/types/packages/collaboration/src/protocol.d.ts +3 -0
- package/types/packages/collaboration/src/resource-policy.d.ts +4 -0
- package/types/packages/db-schema/content-resources.d.ts +10 -0
- package/types/packages/editor/src/builtin-types.d.ts +1 -0
- package/types/packages/editor/src/core/api/ingest.d.ts +2 -2
- package/types/packages/editor/src/extensions/bookmark/src/augmentations.d.ts +6 -0
- package/types/packages/editor/src/extensions/bookmark/src/types.d.ts +31 -0
- package/types/packages/plugins/src/ai.d.ts +1 -1
- package/types/packages/plugins/src/home.d.ts +1 -1
- package/types/packages/plugins/src/index.d.ts +2 -0
- package/types/packages/plugins/src/permissions.d.ts +1 -1
- package/types/packages/plugins/src/settings-draft.d.ts +79 -0
- package/types/packages/plugins/src/tts.d.ts +23 -0
- package/types/packages/plugins/src/upload.d.ts +7 -0
- package/types/packages/ui/src/index.d.ts +1 -0
- package/types/packages/ui/src/primitives/ProgressStatus.d.ts +5 -0
- package/types/packages/ui/src/primitives/ResizableAndHideableSidebar.d.ts +0 -2
package/publish-artifacts.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PORTABLE_SHARED_MODULES,
|
|
3
3
|
validatePortablePluginManifest
|
|
4
|
-
} from "./client/chunk-
|
|
4
|
+
} from "./client/chunk-PRE35AOA.js";
|
|
5
5
|
import {
|
|
6
6
|
PLUGIN_SHARED_MODULES,
|
|
7
7
|
validatePluginManifest
|
|
8
|
-
} from "./client/chunk-
|
|
8
|
+
} from "./client/chunk-6XAEU7BJ.js";
|
|
9
9
|
import {
|
|
10
10
|
__commonJS,
|
|
11
11
|
__toESM
|
|
@@ -6888,12 +6888,21 @@ var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
|
|
|
6888
6888
|
// packages/ui/src/primitives/IconButton.tsx
|
|
6889
6889
|
var import_jsx_runtime12 = __toESM(require_jsx_runtime(), 1);
|
|
6890
6890
|
|
|
6891
|
-
// packages/ui/src/primitives/
|
|
6891
|
+
// packages/ui/src/primitives/Tag.tsx
|
|
6892
6892
|
var import_jsx_runtime13 = __toESM(require_jsx_runtime(), 1);
|
|
6893
6893
|
|
|
6894
|
-
// packages/ui/src/primitives/
|
|
6894
|
+
// packages/ui/src/primitives/ValueDisplay.tsx
|
|
6895
6895
|
var import_jsx_runtime14 = __toESM(require_jsx_runtime(), 1);
|
|
6896
6896
|
|
|
6897
|
+
// packages/ui/src/primitives/ProgressStatus.tsx
|
|
6898
|
+
var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1);
|
|
6899
|
+
|
|
6900
|
+
// packages/ui/src/primitives/Panel.tsx
|
|
6901
|
+
var import_jsx_runtime16 = __toESM(require_jsx_runtime(), 1);
|
|
6902
|
+
|
|
6903
|
+
// packages/ui/src/primitives/DocumentCard.tsx
|
|
6904
|
+
var import_jsx_runtime17 = __toESM(require_jsx_runtime(), 1);
|
|
6905
|
+
|
|
6897
6906
|
// packages/ui/src/primitives/Toast.tsx
|
|
6898
6907
|
var import_react23 = __toESM(require_react(), 1);
|
|
6899
6908
|
|
|
@@ -6967,7 +6976,7 @@ var createImpl = (createState) => {
|
|
|
6967
6976
|
var create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
6968
6977
|
|
|
6969
6978
|
// packages/ui/src/primitives/Toast.tsx
|
|
6970
|
-
var
|
|
6979
|
+
var import_jsx_runtime18 = __toESM(require_jsx_runtime(), 1);
|
|
6971
6980
|
var MAX_VISIBLE = 4;
|
|
6972
6981
|
var useToastStore = create()((set) => ({
|
|
6973
6982
|
items: [],
|
|
@@ -6983,7 +6992,7 @@ var useToastStore = create()((set) => ({
|
|
|
6983
6992
|
|
|
6984
6993
|
// packages/ui/src/primitives/Notification.tsx
|
|
6985
6994
|
var import_react24 = __toESM(require_react(), 1);
|
|
6986
|
-
var
|
|
6995
|
+
var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
|
|
6987
6996
|
var DEFAULT_DURATION = 8e3;
|
|
6988
6997
|
var LEAVE_MS = 260;
|
|
6989
6998
|
var useNotificationStore = create()((set, get) => ({
|
|
@@ -7106,9 +7115,9 @@ function applyArrowPosition({ side, arrowX, arrowY }, pop) {
|
|
|
7106
7115
|
}
|
|
7107
7116
|
|
|
7108
7117
|
// packages/ui/src/primitives/FloatingArrow.tsx
|
|
7109
|
-
var
|
|
7118
|
+
var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
|
|
7110
7119
|
function FloatingArrow({ tone = "surface" }) {
|
|
7111
|
-
return /* @__PURE__ */ (0,
|
|
7120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
7112
7121
|
"span",
|
|
7113
7122
|
{
|
|
7114
7123
|
"aria-hidden": true,
|
|
@@ -7212,7 +7221,7 @@ function useAnchoredPosition({
|
|
|
7212
7221
|
}
|
|
7213
7222
|
|
|
7214
7223
|
// packages/ui/src/primitives/Tooltip.tsx
|
|
7215
|
-
var
|
|
7224
|
+
var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
|
|
7216
7225
|
|
|
7217
7226
|
// packages/ui/src/primitives/Select.tsx
|
|
7218
7227
|
var import_react29 = __toESM(require_react(), 1);
|
|
@@ -7360,7 +7369,7 @@ function useListNavigation(opts) {
|
|
|
7360
7369
|
}
|
|
7361
7370
|
|
|
7362
7371
|
// packages/ui/src/primitives/Select.tsx
|
|
7363
|
-
var
|
|
7372
|
+
var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
|
|
7364
7373
|
|
|
7365
7374
|
// packages/ui/src/primitives/Menu.tsx
|
|
7366
7375
|
var import_react31 = __toESM(require_react(), 1);
|
|
@@ -7395,7 +7404,7 @@ function useMenuTree({ open: openProp, onOpenChange, focusReturn }) {
|
|
|
7395
7404
|
}
|
|
7396
7405
|
|
|
7397
7406
|
// packages/ui/src/primitives/Menu.tsx
|
|
7398
|
-
var
|
|
7407
|
+
var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
|
|
7399
7408
|
var GAP = 4;
|
|
7400
7409
|
var SUBMENU_HOVER_MS = 260;
|
|
7401
7410
|
var MenuRootContext = (0, import_react31.createContext)(null);
|
|
@@ -7535,7 +7544,7 @@ function MenuSurface({
|
|
|
7535
7544
|
);
|
|
7536
7545
|
}
|
|
7537
7546
|
};
|
|
7538
|
-
return /* @__PURE__ */ (0,
|
|
7547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuLevelContext.Provider, { value: levelValue, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7539
7548
|
"div",
|
|
7540
7549
|
{
|
|
7541
7550
|
ref: containerRef,
|
|
@@ -7556,14 +7565,14 @@ function MenuSurface({
|
|
|
7556
7565
|
!open && "data-[dir=up]:-translate-y-[4px]",
|
|
7557
7566
|
className
|
|
7558
7567
|
),
|
|
7559
|
-
children: /* @__PURE__ */ (0,
|
|
7568
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "min-h-0 overflow-y-auto pr-[6px]", children })
|
|
7560
7569
|
}
|
|
7561
7570
|
) });
|
|
7562
7571
|
}
|
|
7563
7572
|
var kbdChipClass = "font-tau-mono border-line-1 bg-surface text-ink-2 rounded-[5px] border px-[6px] py-px text-[11px] leading-[1.5]";
|
|
7564
7573
|
function MenuKbd({ kbd, hlDanger }) {
|
|
7565
7574
|
if (!kbd) return null;
|
|
7566
|
-
return /* @__PURE__ */ (0,
|
|
7575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7567
7576
|
"span",
|
|
7568
7577
|
{
|
|
7569
7578
|
className: cn(
|
|
@@ -7577,7 +7586,7 @@ function MenuKbd({ kbd, hlDanger }) {
|
|
|
7577
7586
|
}
|
|
7578
7587
|
function MenuIconSlot({ icon, hlDanger }) {
|
|
7579
7588
|
if (!icon) return null;
|
|
7580
|
-
return /* @__PURE__ */ (0,
|
|
7589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7581
7590
|
"span",
|
|
7582
7591
|
{
|
|
7583
7592
|
className: cn(
|
|
@@ -7596,7 +7605,7 @@ function MenuItem({ icon, kbd, danger, disabled, onSelect, children, className }
|
|
|
7596
7605
|
const id = (0, import_react31.useId)();
|
|
7597
7606
|
const isHl = level.hlId === id;
|
|
7598
7607
|
const hlDanger = isHl && danger === true;
|
|
7599
|
-
return /* @__PURE__ */ (0,
|
|
7608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
7600
7609
|
"div",
|
|
7601
7610
|
{
|
|
7602
7611
|
id,
|
|
@@ -7622,9 +7631,9 @@ function MenuItem({ icon, kbd, danger, disabled, onSelect, children, className }
|
|
|
7622
7631
|
className
|
|
7623
7632
|
),
|
|
7624
7633
|
children: [
|
|
7625
|
-
/* @__PURE__ */ (0,
|
|
7626
|
-
/* @__PURE__ */ (0,
|
|
7627
|
-
/* @__PURE__ */ (0,
|
|
7634
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuIconSlot, { icon, hlDanger }),
|
|
7635
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "min-w-0 flex-1 truncate", children }),
|
|
7636
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuKbd, { kbd, hlDanger })
|
|
7628
7637
|
]
|
|
7629
7638
|
}
|
|
7630
7639
|
);
|
|
@@ -7641,7 +7650,7 @@ function MenuCheckboxItem({
|
|
|
7641
7650
|
const level = useMenuLevel();
|
|
7642
7651
|
const id = (0, import_react31.useId)();
|
|
7643
7652
|
const isHl = level.hlId === id;
|
|
7644
|
-
return /* @__PURE__ */ (0,
|
|
7653
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
7645
7654
|
"div",
|
|
7646
7655
|
{
|
|
7647
7656
|
id,
|
|
@@ -7662,7 +7671,7 @@ function MenuCheckboxItem({
|
|
|
7662
7671
|
className
|
|
7663
7672
|
),
|
|
7664
7673
|
children: [
|
|
7665
|
-
/* @__PURE__ */ (0,
|
|
7674
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7666
7675
|
"span",
|
|
7667
7676
|
{
|
|
7668
7677
|
className: cn(
|
|
@@ -7671,7 +7680,7 @@ function MenuCheckboxItem({
|
|
|
7671
7680
|
checked ? "border-accent bg-accent" : "border-ink-3",
|
|
7672
7681
|
disabled === true && "opacity-50"
|
|
7673
7682
|
),
|
|
7674
|
-
children: /* @__PURE__ */ (0,
|
|
7683
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7675
7684
|
Check,
|
|
7676
7685
|
{
|
|
7677
7686
|
className: cn(
|
|
@@ -7683,15 +7692,15 @@ function MenuCheckboxItem({
|
|
|
7683
7692
|
)
|
|
7684
7693
|
}
|
|
7685
7694
|
),
|
|
7686
|
-
/* @__PURE__ */ (0,
|
|
7687
|
-
/* @__PURE__ */ (0,
|
|
7688
|
-
/* @__PURE__ */ (0,
|
|
7695
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuIconSlot, { icon }),
|
|
7696
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "min-w-0 flex-1 truncate", children }),
|
|
7697
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuKbd, { kbd })
|
|
7689
7698
|
]
|
|
7690
7699
|
}
|
|
7691
7700
|
);
|
|
7692
7701
|
}
|
|
7693
7702
|
function MenuRadioGroup({ value, onValueChange, children }) {
|
|
7694
|
-
return /* @__PURE__ */ (0,
|
|
7703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(RadioGroupContext.Provider, { value: { value, onValueChange }, children });
|
|
7695
7704
|
}
|
|
7696
7705
|
function MenuRadioItem({ value, icon, kbd, disabled, children, className }) {
|
|
7697
7706
|
const group = (0, import_react31.useContext)(RadioGroupContext);
|
|
@@ -7699,7 +7708,7 @@ function MenuRadioItem({ value, icon, kbd, disabled, children, className }) {
|
|
|
7699
7708
|
const id = (0, import_react31.useId)();
|
|
7700
7709
|
const isHl = level.hlId === id;
|
|
7701
7710
|
const checked = group?.value === value;
|
|
7702
|
-
return /* @__PURE__ */ (0,
|
|
7711
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
7703
7712
|
"div",
|
|
7704
7713
|
{
|
|
7705
7714
|
id,
|
|
@@ -7720,7 +7729,7 @@ function MenuRadioItem({ value, icon, kbd, disabled, children, className }) {
|
|
|
7720
7729
|
className
|
|
7721
7730
|
),
|
|
7722
7731
|
children: [
|
|
7723
|
-
/* @__PURE__ */ (0,
|
|
7732
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7724
7733
|
"span",
|
|
7725
7734
|
{
|
|
7726
7735
|
className: cn(
|
|
@@ -7728,7 +7737,7 @@ function MenuRadioItem({ value, icon, kbd, disabled, children, className }) {
|
|
|
7728
7737
|
checked ? "border-accent" : "border-ink-3",
|
|
7729
7738
|
disabled === true && "opacity-50"
|
|
7730
7739
|
),
|
|
7731
|
-
children: /* @__PURE__ */ (0,
|
|
7740
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7732
7741
|
"span",
|
|
7733
7742
|
{
|
|
7734
7743
|
className: cn(
|
|
@@ -7740,9 +7749,9 @@ function MenuRadioItem({ value, icon, kbd, disabled, children, className }) {
|
|
|
7740
7749
|
)
|
|
7741
7750
|
}
|
|
7742
7751
|
),
|
|
7743
|
-
/* @__PURE__ */ (0,
|
|
7744
|
-
/* @__PURE__ */ (0,
|
|
7745
|
-
/* @__PURE__ */ (0,
|
|
7752
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuIconSlot, { icon }),
|
|
7753
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "min-w-0 flex-1 truncate", children }),
|
|
7754
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuKbd, { kbd })
|
|
7746
7755
|
]
|
|
7747
7756
|
}
|
|
7748
7757
|
);
|
|
@@ -7755,8 +7764,8 @@ function MenuSubmenu({ label, icon, disabled, children }) {
|
|
|
7755
7764
|
const open = !disabled && level.activeSubId === id;
|
|
7756
7765
|
const isHl = level.hlId === id;
|
|
7757
7766
|
(0, import_react31.useEffect)(() => () => window.clearTimeout(hoverTimer.current), [disabled, open]);
|
|
7758
|
-
return /* @__PURE__ */ (0,
|
|
7759
|
-
/* @__PURE__ */ (0,
|
|
7767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
|
|
7768
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
7760
7769
|
"div",
|
|
7761
7770
|
{
|
|
7762
7771
|
id,
|
|
@@ -7787,15 +7796,15 @@ function MenuSubmenu({ label, icon, disabled, children }) {
|
|
|
7787
7796
|
"data-[disabled=true]:text-ink-3 data-[disabled=true]:pointer-events-none"
|
|
7788
7797
|
),
|
|
7789
7798
|
children: [
|
|
7790
|
-
/* @__PURE__ */ (0,
|
|
7791
|
-
/* @__PURE__ */ (0,
|
|
7792
|
-
/* @__PURE__ */ (0,
|
|
7799
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuIconSlot, { icon }),
|
|
7800
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "min-w-0 flex-1 truncate", children: label }),
|
|
7801
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronRight, { className: "text-ink-3 ml-auto h-3 w-3 shrink-0", strokeWidth: 2 })
|
|
7793
7802
|
]
|
|
7794
7803
|
}
|
|
7795
7804
|
),
|
|
7796
7805
|
open && (0, import_react_dom4.createPortal)(
|
|
7797
7806
|
// 子层瞬开(不做 160ms 进场):动态挂载的两帧动画换不来可感知收益,换来测试与时序复杂度
|
|
7798
|
-
/* @__PURE__ */ (0,
|
|
7807
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7799
7808
|
MenuSurface,
|
|
7800
7809
|
{
|
|
7801
7810
|
open: true,
|
|
@@ -7813,10 +7822,10 @@ function MenuSubmenu({ label, icon, disabled, children }) {
|
|
|
7813
7822
|
] });
|
|
7814
7823
|
}
|
|
7815
7824
|
function MenuSeparator() {
|
|
7816
|
-
return /* @__PURE__ */ (0,
|
|
7825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { role: "separator", className: "bg-line-1 mx-1 my-1.5 h-px" });
|
|
7817
7826
|
}
|
|
7818
7827
|
function MenuGroup({ children }) {
|
|
7819
|
-
return /* @__PURE__ */ (0,
|
|
7828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "text-ink-3 text-tau-tiny px-2.5 pb-1 pt-2 font-semibold tracking-[0.03em] first:pt-1", children });
|
|
7820
7829
|
}
|
|
7821
7830
|
function Menu({
|
|
7822
7831
|
trigger,
|
|
@@ -7864,10 +7873,10 @@ function Menu({
|
|
|
7864
7873
|
}
|
|
7865
7874
|
}
|
|
7866
7875
|
};
|
|
7867
|
-
return /* @__PURE__ */ (0,
|
|
7876
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenuRootContext.Provider, { value: rootValue, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(MenuFitContext.Provider, { value: fit, children: [
|
|
7868
7877
|
cloneTrigger(triggerEl, injected),
|
|
7869
7878
|
(0, import_react_dom4.createPortal)(
|
|
7870
|
-
/* @__PURE__ */ (0,
|
|
7879
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
7871
7880
|
MenuSurface,
|
|
7872
7881
|
{
|
|
7873
7882
|
open,
|
|
@@ -7896,7 +7905,7 @@ Menu.Group = MenuGroup;
|
|
|
7896
7905
|
// packages/ui/src/primitives/AnchoredPanel.tsx
|
|
7897
7906
|
var import_react32 = __toESM(require_react(), 1);
|
|
7898
7907
|
var import_react_dom5 = __toESM(require_react_dom(), 1);
|
|
7899
|
-
var
|
|
7908
|
+
var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
|
|
7900
7909
|
var PanelHasHeaderContext = (0, import_react32.createContext)(null);
|
|
7901
7910
|
function AnchoredPanel({
|
|
7902
7911
|
anchor,
|
|
@@ -7923,7 +7932,7 @@ function AnchoredPanel({
|
|
|
7923
7932
|
});
|
|
7924
7933
|
if (!anchor) return null;
|
|
7925
7934
|
return (0, import_react_dom5.createPortal)(
|
|
7926
|
-
/* @__PURE__ */ (0,
|
|
7935
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
7927
7936
|
"div",
|
|
7928
7937
|
{
|
|
7929
7938
|
ref: mergeRefs(externalRef, popRef),
|
|
@@ -7941,7 +7950,7 @@ function AnchoredPanel({
|
|
|
7941
7950
|
className
|
|
7942
7951
|
),
|
|
7943
7952
|
children: [
|
|
7944
|
-
arrow && /* @__PURE__ */ (0,
|
|
7953
|
+
arrow && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(FloatingArrow, { tone: "surface" }),
|
|
7945
7954
|
children
|
|
7946
7955
|
]
|
|
7947
7956
|
}
|
|
@@ -7953,7 +7962,7 @@ function AnchoredPanelBody({ children, className }) {
|
|
|
7953
7962
|
const hasHeader = (0, import_react32.useContext)(PanelHasHeaderContext) ?? false;
|
|
7954
7963
|
const [scrollEl, setScrollEl] = (0, import_react32.useState)(null);
|
|
7955
7964
|
useEdgeFade(scrollEl);
|
|
7956
|
-
return /* @__PURE__ */ (0,
|
|
7965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
7957
7966
|
"div",
|
|
7958
7967
|
{
|
|
7959
7968
|
ref: setScrollEl,
|
|
@@ -7969,7 +7978,7 @@ function AnchoredPanelBody({ children, className }) {
|
|
|
7969
7978
|
);
|
|
7970
7979
|
}
|
|
7971
7980
|
function AnchoredPanelFooter({ children, className }) {
|
|
7972
|
-
return /* @__PURE__ */ (0,
|
|
7981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
7973
7982
|
"div",
|
|
7974
7983
|
{
|
|
7975
7984
|
className: cn(
|
|
@@ -7986,21 +7995,21 @@ AnchoredPanel.Footer = AnchoredPanelFooter;
|
|
|
7986
7995
|
// packages/ui/src/primitives/Dialog.tsx
|
|
7987
7996
|
var import_react33 = __toESM(require_react(), 1);
|
|
7988
7997
|
var import_react_dom6 = __toESM(require_react_dom(), 1);
|
|
7989
|
-
var
|
|
7998
|
+
var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
|
|
7990
7999
|
var DialogContext = (0, import_react33.createContext)({ hasFooter: false });
|
|
7991
8000
|
|
|
7992
8001
|
// packages/ui/src/primitives/ConfirmDialog.tsx
|
|
7993
8002
|
var import_react34 = __toESM(require_react(), 1);
|
|
7994
|
-
var
|
|
8003
|
+
var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
|
|
7995
8004
|
|
|
7996
8005
|
// packages/ui/src/primitives/Drawer.tsx
|
|
7997
8006
|
var import_react35 = __toESM(require_react(), 1);
|
|
7998
8007
|
var import_react_dom7 = __toESM(require_react_dom(), 1);
|
|
7999
|
-
var
|
|
8008
|
+
var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
|
|
8000
8009
|
|
|
8001
8010
|
// packages/ui/src/primitives/Popover.tsx
|
|
8002
8011
|
var import_react36 = __toESM(require_react(), 1);
|
|
8003
|
-
var
|
|
8012
|
+
var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
|
|
8004
8013
|
var PopoverRootContext = (0, import_react36.createContext)(null);
|
|
8005
8014
|
var usePopoverRoot = () => {
|
|
8006
8015
|
const v2 = (0, import_react36.useContext)(PopoverRootContext);
|
|
@@ -8111,9 +8120,9 @@ function Popover({
|
|
|
8111
8120
|
close(true);
|
|
8112
8121
|
}
|
|
8113
8122
|
};
|
|
8114
|
-
return /* @__PURE__ */ (0,
|
|
8123
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
|
|
8115
8124
|
triggerEl && (0, import_react36.cloneElement)(triggerEl, injected),
|
|
8116
|
-
/* @__PURE__ */ (0,
|
|
8125
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
8117
8126
|
AnchoredPanel,
|
|
8118
8127
|
{
|
|
8119
8128
|
anchor: anchorEl,
|
|
@@ -8127,24 +8136,24 @@ function Popover({
|
|
|
8127
8136
|
"aria-labelledby": hasHeader ? headerId : void 0,
|
|
8128
8137
|
onKeyDown: onCardKeyDown,
|
|
8129
8138
|
className,
|
|
8130
|
-
children: /* @__PURE__ */ (0,
|
|
8139
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(PopoverRootContext.Provider, { value: { close, headerId }, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(PanelHasHeaderContext.Provider, { value: hasHeader, children }) })
|
|
8131
8140
|
}
|
|
8132
8141
|
)
|
|
8133
8142
|
] });
|
|
8134
8143
|
}
|
|
8135
8144
|
function PopoverHeader({ icon, children }) {
|
|
8136
8145
|
const root = usePopoverRoot();
|
|
8137
|
-
return /* @__PURE__ */ (0,
|
|
8138
|
-
icon && /* @__PURE__ */ (0,
|
|
8139
|
-
/* @__PURE__ */ (0,
|
|
8140
|
-
/* @__PURE__ */ (0,
|
|
8146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2.5 px-4 pb-1 pt-3.5", children: [
|
|
8147
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "bg-accent-soft text-accent-text flex size-[26px] shrink-0 items-center justify-center rounded-[8px] [&>svg]:size-3.5", children: icon }),
|
|
8148
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("h4", { id: root.headerId, className: "text-ink-1 flex-1 truncate text-[13.5px] font-[600]", children }),
|
|
8149
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
8141
8150
|
"button",
|
|
8142
8151
|
{
|
|
8143
8152
|
type: "button",
|
|
8144
8153
|
"aria-label": "\u5173\u95ED",
|
|
8145
8154
|
onClick: () => root.close(true),
|
|
8146
8155
|
className: "text-ink-3 hover:bg-hover hover:text-ink-1 -mr-1 grid size-7 shrink-0 cursor-pointer place-items-center rounded-[8px] outline-none focus-visible:shadow-[var(--tau-focus-ring)]",
|
|
8147
|
-
children: /* @__PURE__ */ (0,
|
|
8156
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(X, { className: "size-[13px]", strokeWidth: 2 })
|
|
8148
8157
|
}
|
|
8149
8158
|
)
|
|
8150
8159
|
] });
|
|
@@ -8155,47 +8164,47 @@ Popover.Footer = AnchoredPanel.Footer;
|
|
|
8155
8164
|
|
|
8156
8165
|
// packages/ui/src/primitives/YearHeatmap.tsx
|
|
8157
8166
|
var import_react37 = __toESM(require_react(), 1);
|
|
8158
|
-
var
|
|
8167
|
+
var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1);
|
|
8159
8168
|
|
|
8160
8169
|
// packages/ui/src/primitives/input/Input.tsx
|
|
8161
8170
|
var import_react38 = __toESM(require_react(), 1);
|
|
8162
|
-
var
|
|
8171
|
+
var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1);
|
|
8163
8172
|
|
|
8164
8173
|
// packages/ui/src/primitives/input/Textarea.tsx
|
|
8165
8174
|
var import_react39 = __toESM(require_react(), 1);
|
|
8166
|
-
var
|
|
8175
|
+
var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1);
|
|
8167
8176
|
|
|
8168
8177
|
// packages/ui/src/primitives/input/NumberInput.tsx
|
|
8169
8178
|
var import_react40 = __toESM(require_react(), 1);
|
|
8170
|
-
var
|
|
8179
|
+
var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1);
|
|
8171
8180
|
|
|
8172
8181
|
// packages/ui/src/patterns/FormRow.tsx
|
|
8173
8182
|
var import_react41 = __toESM(require_react(), 1);
|
|
8174
|
-
var
|
|
8183
|
+
var import_jsx_runtime33 = __toESM(require_jsx_runtime(), 1);
|
|
8175
8184
|
|
|
8176
8185
|
// packages/ui/src/patterns/SettingRow.tsx
|
|
8177
|
-
var
|
|
8186
|
+
var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1);
|
|
8178
8187
|
|
|
8179
8188
|
// packages/ui/src/primitives/Checkbox.tsx
|
|
8180
8189
|
var import_react42 = __toESM(require_react(), 1);
|
|
8181
|
-
var
|
|
8190
|
+
var import_jsx_runtime35 = __toESM(require_jsx_runtime(), 1);
|
|
8182
8191
|
|
|
8183
8192
|
// packages/ui/src/primitives/Switch.tsx
|
|
8184
8193
|
var import_react43 = __toESM(require_react(), 1);
|
|
8185
|
-
var
|
|
8194
|
+
var import_jsx_runtime36 = __toESM(require_jsx_runtime(), 1);
|
|
8186
8195
|
|
|
8187
8196
|
// packages/ui/src/primitives/RadioGroup.tsx
|
|
8188
8197
|
var import_react44 = __toESM(require_react(), 1);
|
|
8189
|
-
var
|
|
8198
|
+
var import_jsx_runtime37 = __toESM(require_jsx_runtime(), 1);
|
|
8190
8199
|
var RadioGroupContext2 = (0, import_react44.createContext)(null);
|
|
8191
8200
|
|
|
8192
8201
|
// packages/ui/src/primitives/Radio.tsx
|
|
8193
8202
|
var import_react45 = __toESM(require_react(), 1);
|
|
8194
|
-
var
|
|
8203
|
+
var import_jsx_runtime38 = __toESM(require_jsx_runtime(), 1);
|
|
8195
8204
|
|
|
8196
8205
|
// packages/ui/src/primitives/Segmented.tsx
|
|
8197
8206
|
var import_react46 = __toESM(require_react(), 1);
|
|
8198
|
-
var
|
|
8207
|
+
var import_jsx_runtime39 = __toESM(require_jsx_runtime(), 1);
|
|
8199
8208
|
var SegmentedContext = (0, import_react46.createContext)(null);
|
|
8200
8209
|
function SegmentedRoot({
|
|
8201
8210
|
label,
|
|
@@ -8211,7 +8220,7 @@ function SegmentedRoot({
|
|
|
8211
8220
|
const autoName = (0, import_react46.useId)();
|
|
8212
8221
|
const [internal, setInternal] = (0, import_react46.useState)(defaultValue);
|
|
8213
8222
|
const value = valueProp ?? internal ?? null;
|
|
8214
|
-
return /* @__PURE__ */ (0,
|
|
8223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8215
8224
|
"div",
|
|
8216
8225
|
{
|
|
8217
8226
|
role: "radiogroup",
|
|
@@ -8221,7 +8230,7 @@ function SegmentedRoot({
|
|
|
8221
8230
|
size === "md" && "rounded-[9px]",
|
|
8222
8231
|
className
|
|
8223
8232
|
),
|
|
8224
|
-
children: /* @__PURE__ */ (0,
|
|
8233
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8225
8234
|
SegmentedContext.Provider,
|
|
8226
8235
|
{
|
|
8227
8236
|
value: {
|
|
@@ -8253,7 +8262,7 @@ function SegmentedItem({
|
|
|
8253
8262
|
props.onChange?.(event);
|
|
8254
8263
|
if (group && event.target.checked) group.onValueChange(value);
|
|
8255
8264
|
};
|
|
8256
|
-
return /* @__PURE__ */ (0,
|
|
8265
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
8257
8266
|
"label",
|
|
8258
8267
|
{
|
|
8259
8268
|
className: cn(
|
|
@@ -8272,7 +8281,7 @@ function SegmentedItem({
|
|
|
8272
8281
|
className
|
|
8273
8282
|
),
|
|
8274
8283
|
children: [
|
|
8275
|
-
/* @__PURE__ */ (0,
|
|
8284
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8276
8285
|
"input",
|
|
8277
8286
|
{
|
|
8278
8287
|
...props,
|
|
@@ -8285,14 +8294,14 @@ function SegmentedItem({
|
|
|
8285
8294
|
className: "peer absolute inset-0 cursor-pointer opacity-0 disabled:cursor-default"
|
|
8286
8295
|
}
|
|
8287
8296
|
),
|
|
8288
|
-
/* @__PURE__ */ (0,
|
|
8297
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8289
8298
|
"span",
|
|
8290
8299
|
{
|
|
8291
8300
|
"aria-hidden": true,
|
|
8292
8301
|
className: "pointer-events-none invisible absolute inset-[2px] rounded-[5px] shadow-[var(--tau-focus-ring)] peer-focus-visible:visible"
|
|
8293
8302
|
}
|
|
8294
8303
|
),
|
|
8295
|
-
Icon2 && /* @__PURE__ */ (0,
|
|
8304
|
+
Icon2 && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8296
8305
|
Icon2,
|
|
8297
8306
|
{
|
|
8298
8307
|
size: label == null ? 15 : group?.size === "md" ? 14 : 13,
|
|
@@ -8300,7 +8309,7 @@ function SegmentedItem({
|
|
|
8300
8309
|
className: "shrink-0"
|
|
8301
8310
|
}
|
|
8302
8311
|
),
|
|
8303
|
-
label != null && /* @__PURE__ */ (0,
|
|
8312
|
+
label != null && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "min-w-0 truncate", children: label })
|
|
8304
8313
|
]
|
|
8305
8314
|
}
|
|
8306
8315
|
);
|
|
@@ -8308,17 +8317,11 @@ function SegmentedItem({
|
|
|
8308
8317
|
var Segmented = Object.assign(SegmentedRoot, { Item: SegmentedItem });
|
|
8309
8318
|
|
|
8310
8319
|
// packages/ui/src/primitives/FilterPill.tsx
|
|
8311
|
-
var
|
|
8320
|
+
var import_jsx_runtime40 = __toESM(require_jsx_runtime(), 1);
|
|
8312
8321
|
|
|
8313
8322
|
// packages/ui/src/primitives/ResizeHandle.tsx
|
|
8314
8323
|
var import_react47 = __toESM(require_react(), 1);
|
|
8315
|
-
var
|
|
8316
|
-
|
|
8317
|
-
// packages/ui/src/primitives/Tag.tsx
|
|
8318
|
-
var import_jsx_runtime39 = __toESM(require_jsx_runtime(), 1);
|
|
8319
|
-
|
|
8320
|
-
// packages/ui/src/primitives/ValueDisplay.tsx
|
|
8321
|
-
var import_jsx_runtime40 = __toESM(require_jsx_runtime(), 1);
|
|
8324
|
+
var import_jsx_runtime41 = __toESM(require_jsx_runtime(), 1);
|
|
8322
8325
|
|
|
8323
8326
|
// packages/ui/src/primitives/datepicker/DatePicker.tsx
|
|
8324
8327
|
var import_react50 = __toESM(require_react(), 1);
|
|
@@ -8326,44 +8329,44 @@ var import_react_dom8 = __toESM(require_react_dom(), 1);
|
|
|
8326
8329
|
|
|
8327
8330
|
// packages/ui/src/primitives/datepicker/CalendarPanel.tsx
|
|
8328
8331
|
var import_react48 = __toESM(require_react(), 1);
|
|
8329
|
-
var
|
|
8332
|
+
var import_jsx_runtime42 = __toESM(require_jsx_runtime(), 1);
|
|
8330
8333
|
|
|
8331
8334
|
// packages/ui/src/primitives/datepicker/TimeField.tsx
|
|
8332
8335
|
var import_react49 = __toESM(require_react(), 1);
|
|
8333
|
-
var
|
|
8336
|
+
var import_jsx_runtime43 = __toESM(require_jsx_runtime(), 1);
|
|
8334
8337
|
|
|
8335
8338
|
// packages/ui/src/primitives/datepicker/DatePicker.tsx
|
|
8336
|
-
var
|
|
8339
|
+
var import_jsx_runtime44 = __toESM(require_jsx_runtime(), 1);
|
|
8337
8340
|
|
|
8338
8341
|
// packages/ui/src/primitives/datepicker/DateRangePicker.tsx
|
|
8339
8342
|
var import_react51 = __toESM(require_react(), 1);
|
|
8340
8343
|
var import_react_dom9 = __toESM(require_react_dom(), 1);
|
|
8341
|
-
var
|
|
8344
|
+
var import_jsx_runtime45 = __toESM(require_jsx_runtime(), 1);
|
|
8342
8345
|
|
|
8343
8346
|
// packages/ui/src/primitives/ImagePreview.tsx
|
|
8344
|
-
var
|
|
8347
|
+
var import_jsx_runtime46 = __toESM(require_jsx_runtime(), 1);
|
|
8345
8348
|
|
|
8346
8349
|
// packages/ui/src/primitives/Tabs.tsx
|
|
8347
8350
|
var import_react52 = __toESM(require_react(), 1);
|
|
8348
|
-
var
|
|
8351
|
+
var import_jsx_runtime47 = __toESM(require_jsx_runtime(), 1);
|
|
8349
8352
|
|
|
8350
8353
|
// packages/ui/src/primitives/FileDropZone.tsx
|
|
8351
8354
|
var import_react53 = __toESM(require_react(), 1);
|
|
8352
|
-
var
|
|
8355
|
+
var import_jsx_runtime48 = __toESM(require_jsx_runtime(), 1);
|
|
8353
8356
|
|
|
8354
8357
|
// packages/ui/src/primitives/Sortable.tsx
|
|
8355
8358
|
var import_react54 = __toESM(require_react(), 1);
|
|
8356
|
-
var
|
|
8359
|
+
var import_jsx_runtime49 = __toESM(require_jsx_runtime(), 1);
|
|
8357
8360
|
|
|
8358
8361
|
// packages/ui/src/primitives/LoadingOverlay.tsx
|
|
8359
|
-
var
|
|
8362
|
+
var import_jsx_runtime50 = __toESM(require_jsx_runtime(), 1);
|
|
8360
8363
|
|
|
8361
8364
|
// packages/ui/src/patterns/ConfigurationPanel.tsx
|
|
8362
8365
|
var import_react55 = __toESM(require_react(), 1);
|
|
8363
|
-
var
|
|
8366
|
+
var import_jsx_runtime51 = __toESM(require_jsx_runtime(), 1);
|
|
8364
8367
|
|
|
8365
8368
|
// packages/whiteboard/src/chrome/index.tsx
|
|
8366
|
-
var
|
|
8369
|
+
var import_jsx_runtime52 = __toESM(require_jsx_runtime(), 1);
|
|
8367
8370
|
var ToolbarContext = (0, import_react56.createContext)(false);
|
|
8368
8371
|
var AttrBarContext = (0, import_react56.createContext)({ side: "top" });
|
|
8369
8372
|
|
|
@@ -9196,19 +9199,19 @@ var useThemeStore = defaultRuntime.useThemeStore;
|
|
|
9196
9199
|
var initThemeRuntime = defaultRuntime.init;
|
|
9197
9200
|
|
|
9198
9201
|
// packages/whiteboard/src/components/SketchPaths/index.tsx
|
|
9199
|
-
var
|
|
9202
|
+
var import_jsx_runtime53 = __toESM(require_jsx_runtime(), 1);
|
|
9200
9203
|
var LINES_OPACITY = { light: 0.85, dark: 0.55 };
|
|
9201
9204
|
var SketchPaths = (0, import_react57.memo)(({ paths, dashFlowDuration }) => {
|
|
9202
9205
|
const isDark = useThemeStore((s2) => s2.mode) === "dark";
|
|
9203
9206
|
const idPrefix = `sk${(0, import_react57.useId)().replace(/[^a-zA-Z0-9]/g, "")}`;
|
|
9204
|
-
return /* @__PURE__ */ (0,
|
|
9207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_jsx_runtime53.Fragment, { children: paths.map((path, index) => {
|
|
9205
9208
|
const clipId = path.clip ? `${idPrefix}-c${index}` : void 0;
|
|
9206
9209
|
const maskId = path.dashMask ? `${idPrefix}-m${index}` : void 0;
|
|
9207
9210
|
const opacity = path.role === "lines" ? (path.opacity ?? 1) * (isDark ? LINES_OPACITY.dark : LINES_OPACITY.light) : path.opacity;
|
|
9208
9211
|
const mask = path.dashMask;
|
|
9209
|
-
return /* @__PURE__ */ (0,
|
|
9210
|
-
clipId && /* @__PURE__ */ (0,
|
|
9211
|
-
mask && maskId && /* @__PURE__ */ (0,
|
|
9212
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("g", { children: [
|
|
9213
|
+
clipId && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("clipPath", { id: clipId, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("path", { d: path.clip }) }),
|
|
9214
|
+
mask && maskId && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
9212
9215
|
"mask",
|
|
9213
9216
|
{
|
|
9214
9217
|
id: maskId,
|
|
@@ -9217,7 +9220,7 @@ var SketchPaths = (0, import_react57.memo)(({ paths, dashFlowDuration }) => {
|
|
|
9217
9220
|
y: -1e5,
|
|
9218
9221
|
width: 2e5,
|
|
9219
9222
|
height: 2e5,
|
|
9220
|
-
children: mask.map((m2, maskIndex) => /* @__PURE__ */ (0,
|
|
9223
|
+
children: mask.map((m2, maskIndex) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
9221
9224
|
"path",
|
|
9222
9225
|
{
|
|
9223
9226
|
d: m2.d,
|
|
@@ -9227,7 +9230,7 @@ var SketchPaths = (0, import_react57.memo)(({ paths, dashFlowDuration }) => {
|
|
|
9227
9230
|
strokeLinecap: "round",
|
|
9228
9231
|
strokeDasharray: `${m2.dash} ${m2.gap}`,
|
|
9229
9232
|
strokeDashoffset: m2.offset,
|
|
9230
|
-
children: dashFlowDuration && /* @__PURE__ */ (0,
|
|
9233
|
+
children: dashFlowDuration && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
9231
9234
|
"animate",
|
|
9232
9235
|
{
|
|
9233
9236
|
attributeName: "stroke-dashoffset",
|
|
@@ -9242,7 +9245,7 @@ var SketchPaths = (0, import_react57.memo)(({ paths, dashFlowDuration }) => {
|
|
|
9242
9245
|
))
|
|
9243
9246
|
}
|
|
9244
9247
|
),
|
|
9245
|
-
/* @__PURE__ */ (0,
|
|
9248
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
9246
9249
|
"path",
|
|
9247
9250
|
{
|
|
9248
9251
|
d: path.d,
|
|
@@ -9258,7 +9261,7 @@ var SketchPaths = (0, import_react57.memo)(({ paths, dashFlowDuration }) => {
|
|
|
9258
9261
|
var SketchPaths_default = SketchPaths;
|
|
9259
9262
|
|
|
9260
9263
|
// packages/whiteboard/src/components/SketchPopover.tsx
|
|
9261
|
-
var
|
|
9264
|
+
var import_jsx_runtime54 = __toESM(require_jsx_runtime(), 1);
|
|
9262
9265
|
var SketchGlyph = (0, import_react59.memo)(
|
|
9263
9266
|
({
|
|
9264
9267
|
level,
|
|
@@ -9280,7 +9283,7 @@ var SketchGlyph = (0, import_react59.memo)(
|
|
|
9280
9283
|
}),
|
|
9281
9284
|
[level, seed, fillStyle, fill]
|
|
9282
9285
|
);
|
|
9283
|
-
return /* @__PURE__ */ (0,
|
|
9286
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("svg", { width: 38, height: 26, viewBox: "-4 -4 38 26", "aria-hidden": true, className: "overflow-visible", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SketchPaths_default, { paths }) });
|
|
9284
9287
|
}
|
|
9285
9288
|
);
|
|
9286
9289
|
|