@pieai/swimmer-ui-kit 3.0.0 → 3.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/CHANGELOG.md +11 -2
- package/README.md +3 -3
- package/dist/GameAvatar-CRJ1r8l5.js +920 -0
- package/dist/GameStageTile-F41PxXDG.js +687 -0
- package/dist/{LiquidGroup-BXw1tv9H.js → LiquidGroup-RTK_Uvgw.js} +845 -376
- package/dist/index.d.ts +10 -1
- package/dist/index.js +159 -159
- package/dist/liquid-effects.js +36 -37
- package/dist/liquid-presence.d.ts +48 -0
- package/dist/liquid-presence.js +584 -413
- package/dist/preview.js +132 -132
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/GameStageTile-DwU_Vvi8.js +0 -1597
- package/dist/reducedMotion-B8kv-v64.js +0 -473
package/dist/preview.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
2
|
+
import { A as e, D as t, E as n, F as r, M as i, N as a, O as o, P as s, T as c, _ as l, f as u, h as ee, i as d, j as f, k as te, t as p, w as ne } from "./LiquidGroup-RTK_Uvgw.js";
|
|
3
|
+
import { C as re, S as m, _ as h, a as g, b as _, c as ie, d as v, f as ae, g as oe, h as se, i as y, l as b, m as ce, n as le, o as x, p as ue, r as de, s as fe, t as S, u as C, v as w, w as T, x as E, y as pe } from "./GameStageTile-F41PxXDG.js";
|
|
4
|
+
import { _ as D, g as O, h as me, i as k, n as A, r as he, t as j, v as M, y as N } from "./GameAvatar-CRJ1r8l5.js";
|
|
5
5
|
import { createContext as P, createElement as F, useContext as I, useEffect as L, useRef as R, useState as z } from "react";
|
|
6
6
|
import { Fragment as B, jsx as V, jsxs as H } from "react/jsx-runtime";
|
|
7
7
|
//#region src/preview/GameUiPreview/previewStates.ts
|
|
@@ -442,27 +442,27 @@ function ge() {
|
|
|
442
442
|
/* @__PURE__ */ H("div", {
|
|
443
443
|
className: "game-ui-component-row",
|
|
444
444
|
children: [
|
|
445
|
-
/* @__PURE__ */ V(
|
|
445
|
+
/* @__PURE__ */ V(k, {
|
|
446
446
|
variant: "primary",
|
|
447
447
|
children: e.openTable
|
|
448
448
|
}),
|
|
449
|
-
/* @__PURE__ */ V(
|
|
449
|
+
/* @__PURE__ */ V(k, {
|
|
450
450
|
variant: "secondary",
|
|
451
451
|
children: e.useCode
|
|
452
452
|
}),
|
|
453
|
-
/* @__PURE__ */ V(
|
|
453
|
+
/* @__PURE__ */ V(k, {
|
|
454
454
|
variant: "ghost",
|
|
455
455
|
children: e.continueHost
|
|
456
456
|
}),
|
|
457
|
-
/* @__PURE__ */ V(
|
|
457
|
+
/* @__PURE__ */ V(k, {
|
|
458
458
|
variant: "success",
|
|
459
459
|
children: e.readyUp
|
|
460
460
|
}),
|
|
461
|
-
/* @__PURE__ */ V(
|
|
461
|
+
/* @__PURE__ */ V(k, {
|
|
462
462
|
variant: "danger",
|
|
463
463
|
children: e.leaveTable
|
|
464
464
|
}),
|
|
465
|
-
/* @__PURE__ */ V(
|
|
465
|
+
/* @__PURE__ */ V(k, {
|
|
466
466
|
disabled: !0,
|
|
467
467
|
variant: "secondary",
|
|
468
468
|
children: e.waiting
|
|
@@ -472,38 +472,38 @@ function ge() {
|
|
|
472
472
|
/* @__PURE__ */ H("div", {
|
|
473
473
|
className: "game-ui-component-row",
|
|
474
474
|
children: [
|
|
475
|
-
/* @__PURE__ */ V(
|
|
475
|
+
/* @__PURE__ */ V(ie, {
|
|
476
476
|
label: e.settingsTip,
|
|
477
|
-
children: /* @__PURE__ */ V(
|
|
477
|
+
children: /* @__PURE__ */ V(E, {
|
|
478
478
|
label: e.settingsTip,
|
|
479
|
-
children: /* @__PURE__ */ V(
|
|
479
|
+
children: /* @__PURE__ */ V(w, {
|
|
480
480
|
icon: "settings",
|
|
481
481
|
size: "sm"
|
|
482
482
|
})
|
|
483
483
|
})
|
|
484
484
|
}),
|
|
485
|
-
/* @__PURE__ */ V(
|
|
485
|
+
/* @__PURE__ */ V(E, {
|
|
486
486
|
label: e.copyInvite,
|
|
487
|
-
children: /* @__PURE__ */ V(
|
|
487
|
+
children: /* @__PURE__ */ V(w, {
|
|
488
488
|
icon: "copy",
|
|
489
489
|
size: "sm"
|
|
490
490
|
})
|
|
491
491
|
}),
|
|
492
|
-
/* @__PURE__ */ V(
|
|
492
|
+
/* @__PURE__ */ V(A, {
|
|
493
493
|
tone: "ai",
|
|
494
494
|
children: e.aiBadge
|
|
495
495
|
}),
|
|
496
|
-
/* @__PURE__ */ V(
|
|
496
|
+
/* @__PURE__ */ V(A, {
|
|
497
497
|
tone: "success",
|
|
498
498
|
children: e.readyBadge
|
|
499
499
|
}),
|
|
500
|
-
/* @__PURE__ */ V(
|
|
500
|
+
/* @__PURE__ */ V(A, {
|
|
501
501
|
tone: "warning",
|
|
502
502
|
children: e.hostGateBadge
|
|
503
503
|
})
|
|
504
504
|
]
|
|
505
505
|
}),
|
|
506
|
-
/* @__PURE__ */ V(
|
|
506
|
+
/* @__PURE__ */ V(oe, {
|
|
507
507
|
activeId: "live",
|
|
508
508
|
label: e.segmentedLabel,
|
|
509
509
|
options: [
|
|
@@ -521,7 +521,7 @@ function ge() {
|
|
|
521
521
|
}
|
|
522
522
|
]
|
|
523
523
|
}),
|
|
524
|
-
/* @__PURE__ */ V(
|
|
524
|
+
/* @__PURE__ */ V(he, {
|
|
525
525
|
activeId: "portal",
|
|
526
526
|
tabs: [
|
|
527
527
|
{
|
|
@@ -538,7 +538,7 @@ function ge() {
|
|
|
538
538
|
}
|
|
539
539
|
]
|
|
540
540
|
}),
|
|
541
|
-
/* @__PURE__ */ V(
|
|
541
|
+
/* @__PURE__ */ V(le, {
|
|
542
542
|
items: [
|
|
543
543
|
{
|
|
544
544
|
id: "wave",
|
|
@@ -555,13 +555,13 @@ function ge() {
|
|
|
555
555
|
],
|
|
556
556
|
label: e.radialLabel
|
|
557
557
|
}),
|
|
558
|
-
/* @__PURE__ */ V(
|
|
558
|
+
/* @__PURE__ */ V(se, {
|
|
559
559
|
label: e.sliderLabel,
|
|
560
560
|
max: 100,
|
|
561
561
|
min: 0,
|
|
562
562
|
value: 68
|
|
563
563
|
}),
|
|
564
|
-
/* @__PURE__ */ V(
|
|
564
|
+
/* @__PURE__ */ V(ue, {
|
|
565
565
|
checked: !0,
|
|
566
566
|
label: e.toggleLabel
|
|
567
567
|
})
|
|
@@ -576,7 +576,7 @@ function _e() {
|
|
|
576
576
|
className: "game-ui-first-session-preview",
|
|
577
577
|
children: [/* @__PURE__ */ V("div", { className: "game-ui-first-session-world" }), /* @__PURE__ */ V("div", {
|
|
578
578
|
className: "game-ui-first-session-modal-slot",
|
|
579
|
-
children: /* @__PURE__ */ V(
|
|
579
|
+
children: /* @__PURE__ */ V(de, {
|
|
580
580
|
open: !0,
|
|
581
581
|
onDismiss: () => void 0,
|
|
582
582
|
labels: {
|
|
@@ -614,25 +614,25 @@ function ve() {
|
|
|
614
614
|
title: e.formsTitle,
|
|
615
615
|
tone: "strong",
|
|
616
616
|
children: [
|
|
617
|
-
/* @__PURE__ */ V(
|
|
617
|
+
/* @__PURE__ */ V(m, {
|
|
618
618
|
hint: e.roomCodeHint,
|
|
619
619
|
label: e.roomCodeLabel,
|
|
620
|
-
children: /* @__PURE__ */ V(
|
|
620
|
+
children: /* @__PURE__ */ V(_, { placeholder: e.roomCodePlaceholder })
|
|
621
621
|
}),
|
|
622
|
-
/* @__PURE__ */ V(
|
|
622
|
+
/* @__PURE__ */ V(m, {
|
|
623
623
|
label: e.nameLabel,
|
|
624
624
|
required: !0,
|
|
625
|
-
children: /* @__PURE__ */ V(
|
|
625
|
+
children: /* @__PURE__ */ V(_, { placeholder: e.namePlaceholder })
|
|
626
626
|
}),
|
|
627
|
-
/* @__PURE__ */ V(
|
|
627
|
+
/* @__PURE__ */ V(m, {
|
|
628
628
|
error: e.readError,
|
|
629
629
|
label: e.readLabel,
|
|
630
|
-
children: /* @__PURE__ */ V(
|
|
630
|
+
children: /* @__PURE__ */ V(ce, {
|
|
631
631
|
invalid: !0,
|
|
632
632
|
placeholder: e.readPlaceholder
|
|
633
633
|
})
|
|
634
634
|
}),
|
|
635
|
-
/* @__PURE__ */ V(
|
|
635
|
+
/* @__PURE__ */ V(re, {
|
|
636
636
|
defaultChecked: !0,
|
|
637
637
|
label: e.rememberLabel
|
|
638
638
|
})
|
|
@@ -644,38 +644,38 @@ function ve() {
|
|
|
644
644
|
/* @__PURE__ */ H("div", {
|
|
645
645
|
className: "game-ui-component-row",
|
|
646
646
|
children: [
|
|
647
|
-
/* @__PURE__ */ V(
|
|
647
|
+
/* @__PURE__ */ V(j, {
|
|
648
648
|
name: "Mika Ono",
|
|
649
649
|
status: "online"
|
|
650
650
|
}),
|
|
651
|
-
/* @__PURE__ */ V(
|
|
651
|
+
/* @__PURE__ */ V(j, {
|
|
652
652
|
name: "River",
|
|
653
653
|
size: "lg",
|
|
654
654
|
status: "busy"
|
|
655
655
|
}),
|
|
656
|
-
/* @__PURE__ */ V(
|
|
656
|
+
/* @__PURE__ */ V(j, {
|
|
657
657
|
name: "Noa",
|
|
658
658
|
status: "away"
|
|
659
659
|
}),
|
|
660
|
-
/* @__PURE__ */ V(
|
|
660
|
+
/* @__PURE__ */ V(j, {
|
|
661
661
|
name: e.guestName,
|
|
662
662
|
size: "sm"
|
|
663
663
|
})
|
|
664
664
|
]
|
|
665
665
|
}),
|
|
666
|
-
/* @__PURE__ */ V(
|
|
666
|
+
/* @__PURE__ */ V(C, {
|
|
667
667
|
label: e.revealLabel,
|
|
668
668
|
showValue: !0,
|
|
669
669
|
value: 64
|
|
670
670
|
}),
|
|
671
|
-
/* @__PURE__ */ V(
|
|
671
|
+
/* @__PURE__ */ V(C, {
|
|
672
672
|
label: e.batteryLabel,
|
|
673
673
|
max: 20,
|
|
674
674
|
showValue: !0,
|
|
675
675
|
value: 14
|
|
676
676
|
}),
|
|
677
|
-
/* @__PURE__ */ V(
|
|
678
|
-
action: /* @__PURE__ */ V(
|
|
677
|
+
/* @__PURE__ */ V(ae, {
|
|
678
|
+
action: /* @__PURE__ */ V(k, {
|
|
679
679
|
variant: "primary",
|
|
680
680
|
children: e.emptyCta
|
|
681
681
|
}),
|
|
@@ -697,17 +697,17 @@ function q() {
|
|
|
697
697
|
"aria-label": "Flat world HUD preview",
|
|
698
698
|
className: "game-ui-stage-world",
|
|
699
699
|
children: [
|
|
700
|
-
/* @__PURE__ */ H(
|
|
700
|
+
/* @__PURE__ */ H(g, {
|
|
701
701
|
label: e.tools,
|
|
702
|
-
children: [/* @__PURE__ */ V(
|
|
702
|
+
children: [/* @__PURE__ */ V(E, {
|
|
703
703
|
label: e.history,
|
|
704
|
-
children: /* @__PURE__ */ V(
|
|
704
|
+
children: /* @__PURE__ */ V(w, {
|
|
705
705
|
icon: "scroll",
|
|
706
706
|
size: "sm"
|
|
707
707
|
})
|
|
708
|
-
}), /* @__PURE__ */ V(
|
|
708
|
+
}), /* @__PURE__ */ V(E, {
|
|
709
709
|
label: e.settings,
|
|
710
|
-
children: /* @__PURE__ */ V(
|
|
710
|
+
children: /* @__PURE__ */ V(w, {
|
|
711
711
|
icon: "settings",
|
|
712
712
|
size: "sm"
|
|
713
713
|
})
|
|
@@ -732,10 +732,10 @@ function q() {
|
|
|
732
732
|
}),
|
|
733
733
|
/* @__PURE__ */ H("div", {
|
|
734
734
|
className: "game-ui-input-strip",
|
|
735
|
-
children: [/* @__PURE__ */ V(
|
|
735
|
+
children: [/* @__PURE__ */ V(k, {
|
|
736
736
|
variant: "secondary",
|
|
737
737
|
children: e.emote
|
|
738
|
-
}), /* @__PURE__ */ V(
|
|
738
|
+
}), /* @__PURE__ */ V(k, {
|
|
739
739
|
variant: "primary",
|
|
740
740
|
children: e.sendRead
|
|
741
741
|
})]
|
|
@@ -744,7 +744,7 @@ function q() {
|
|
|
744
744
|
}), /* @__PURE__ */ H("div", {
|
|
745
745
|
className: "game-ui-stage-sidecar",
|
|
746
746
|
children: [
|
|
747
|
-
/* @__PURE__ */ V(
|
|
747
|
+
/* @__PURE__ */ V(S, {
|
|
748
748
|
badge: t.daily.badge,
|
|
749
749
|
icon: "scroll",
|
|
750
750
|
kicker: t.daily.kicker,
|
|
@@ -753,7 +753,7 @@ function q() {
|
|
|
753
753
|
title: t.daily.title,
|
|
754
754
|
tone: "daily"
|
|
755
755
|
}),
|
|
756
|
-
/* @__PURE__ */ V(
|
|
756
|
+
/* @__PURE__ */ V(S, {
|
|
757
757
|
badge: t.portal.badge,
|
|
758
758
|
icon: "portal",
|
|
759
759
|
kicker: t.portal.kicker,
|
|
@@ -761,7 +761,7 @@ function q() {
|
|
|
761
761
|
title: t.portal.title,
|
|
762
762
|
tone: "portal"
|
|
763
763
|
}),
|
|
764
|
-
/* @__PURE__ */ V(
|
|
764
|
+
/* @__PURE__ */ V(S, {
|
|
765
765
|
icon: "energy",
|
|
766
766
|
kicker: t.host.kicker,
|
|
767
767
|
summary: t.host.summary,
|
|
@@ -778,9 +778,9 @@ function ye() {
|
|
|
778
778
|
return /* @__PURE__ */ V("div", {
|
|
779
779
|
className: "game-ui-icon-grid",
|
|
780
780
|
"aria-label": "全部线条图标",
|
|
781
|
-
children:
|
|
781
|
+
children: pe.map((e) => /* @__PURE__ */ H("figure", {
|
|
782
782
|
className: "game-ui-icon-cell",
|
|
783
|
-
children: [/* @__PURE__ */ V(
|
|
783
|
+
children: [/* @__PURE__ */ V(w, {
|
|
784
784
|
icon: e,
|
|
785
785
|
size: "lg"
|
|
786
786
|
}), /* @__PURE__ */ V("figcaption", { children: e })]
|
|
@@ -807,11 +807,11 @@ function be() {
|
|
|
807
807
|
].map((t) => /* @__PURE__ */ H("div", {
|
|
808
808
|
className: "game-ui-liquid-showcase__pair",
|
|
809
809
|
children: [
|
|
810
|
-
/* @__PURE__ */ V(
|
|
810
|
+
/* @__PURE__ */ V(k, {
|
|
811
811
|
variant: t,
|
|
812
812
|
children: t
|
|
813
813
|
}),
|
|
814
|
-
/* @__PURE__ */ V(
|
|
814
|
+
/* @__PURE__ */ V(k, {
|
|
815
815
|
variant: t,
|
|
816
816
|
children: t
|
|
817
817
|
}),
|
|
@@ -830,11 +830,11 @@ function be() {
|
|
|
830
830
|
className: "game-ui-liquid-showcase__grid",
|
|
831
831
|
children: /* @__PURE__ */ H("div", {
|
|
832
832
|
className: "game-ui-liquid-showcase__pair",
|
|
833
|
-
children: [/* @__PURE__ */ V(
|
|
833
|
+
children: [/* @__PURE__ */ V(k, {
|
|
834
834
|
disabled: !0,
|
|
835
835
|
variant: "primary",
|
|
836
836
|
children: "flat"
|
|
837
|
-
}), /* @__PURE__ */ V(
|
|
837
|
+
}), /* @__PURE__ */ V(k, {
|
|
838
838
|
disabled: !0,
|
|
839
839
|
variant: "primary",
|
|
840
840
|
children: "liquid"
|
|
@@ -863,14 +863,14 @@ function xe() {
|
|
|
863
863
|
let { modals: e } = K();
|
|
864
864
|
return /* @__PURE__ */ H("div", {
|
|
865
865
|
className: "game-ui-preview-two-up",
|
|
866
|
-
children: [/* @__PURE__ */ H(
|
|
866
|
+
children: [/* @__PURE__ */ H(fe, {
|
|
867
867
|
title: e.dialogTitle,
|
|
868
|
-
children: [/* @__PURE__ */ V("p", { children: e.dialogBody }), /* @__PURE__ */ H(
|
|
868
|
+
children: [/* @__PURE__ */ V("p", { children: e.dialogBody }), /* @__PURE__ */ H(g, {
|
|
869
869
|
label: e.actionsLabel,
|
|
870
|
-
children: [/* @__PURE__ */ V(
|
|
870
|
+
children: [/* @__PURE__ */ V(k, {
|
|
871
871
|
variant: "primary",
|
|
872
872
|
children: e.confirm
|
|
873
|
-
}), /* @__PURE__ */ V(
|
|
873
|
+
}), /* @__PURE__ */ V(k, {
|
|
874
874
|
variant: "ghost",
|
|
875
875
|
children: e.back
|
|
876
876
|
})]
|
|
@@ -879,16 +879,16 @@ function xe() {
|
|
|
879
879
|
title: e.panelTitle,
|
|
880
880
|
tone: "strong",
|
|
881
881
|
children: [
|
|
882
|
-
/* @__PURE__ */ V(
|
|
882
|
+
/* @__PURE__ */ V(b, {
|
|
883
883
|
tone: "success",
|
|
884
884
|
children: e.toastOk
|
|
885
885
|
}),
|
|
886
|
-
/* @__PURE__ */ V(
|
|
886
|
+
/* @__PURE__ */ V(b, {
|
|
887
887
|
tone: "danger",
|
|
888
888
|
children: e.toastErr
|
|
889
889
|
}),
|
|
890
|
-
/* @__PURE__ */ V(
|
|
891
|
-
/* @__PURE__ */ V(
|
|
890
|
+
/* @__PURE__ */ V(v, { label: e.loading }),
|
|
891
|
+
/* @__PURE__ */ V(v, {
|
|
892
892
|
label: e.loadingErr,
|
|
893
893
|
tone: "error"
|
|
894
894
|
})
|
|
@@ -906,23 +906,23 @@ function Se() {
|
|
|
906
906
|
className: [
|
|
907
907
|
"game-ui-stage-world",
|
|
908
908
|
"game-ui-overlay-glass-proof",
|
|
909
|
-
r ?
|
|
909
|
+
r ? T.scopeClass : void 0
|
|
910
910
|
].filter(Boolean).join(" "),
|
|
911
911
|
...r ? {
|
|
912
|
-
[
|
|
913
|
-
[
|
|
912
|
+
[T.toneAttr]: T.toneGlass,
|
|
913
|
+
[T.densityAttr]: T.densityCompact
|
|
914
914
|
} : {},
|
|
915
|
-
children: [/* @__PURE__ */ H(
|
|
915
|
+
children: [/* @__PURE__ */ H(g, {
|
|
916
916
|
label: e.tools,
|
|
917
|
-
children: [/* @__PURE__ */ V(
|
|
917
|
+
children: [/* @__PURE__ */ V(E, {
|
|
918
918
|
label: e.history,
|
|
919
|
-
children: /* @__PURE__ */ V(
|
|
919
|
+
children: /* @__PURE__ */ V(w, {
|
|
920
920
|
icon: "scroll",
|
|
921
921
|
size: "sm"
|
|
922
922
|
})
|
|
923
|
-
}), /* @__PURE__ */ V(
|
|
923
|
+
}), /* @__PURE__ */ V(E, {
|
|
924
924
|
label: e.settings,
|
|
925
|
-
children: /* @__PURE__ */ V(
|
|
925
|
+
children: /* @__PURE__ */ V(w, {
|
|
926
926
|
icon: "settings",
|
|
927
927
|
size: "sm"
|
|
928
928
|
})
|
|
@@ -932,15 +932,15 @@ function Se() {
|
|
|
932
932
|
children: [/* @__PURE__ */ H("div", {
|
|
933
933
|
className: "game-ui-preview-actions",
|
|
934
934
|
children: [
|
|
935
|
-
/* @__PURE__ */ V(
|
|
935
|
+
/* @__PURE__ */ V(A, {
|
|
936
936
|
tone: "ai",
|
|
937
937
|
children: t.aiBadge
|
|
938
938
|
}),
|
|
939
|
-
/* @__PURE__ */ V(
|
|
939
|
+
/* @__PURE__ */ V(A, {
|
|
940
940
|
tone: "success",
|
|
941
941
|
children: t.readyBadge
|
|
942
942
|
}),
|
|
943
|
-
/* @__PURE__ */ V(
|
|
943
|
+
/* @__PURE__ */ V(C, {
|
|
944
944
|
label: e.reveal,
|
|
945
945
|
value: 68
|
|
946
946
|
})
|
|
@@ -948,15 +948,15 @@ function Se() {
|
|
|
948
948
|
}), /* @__PURE__ */ H("div", {
|
|
949
949
|
className: "game-ui-input-strip",
|
|
950
950
|
children: [
|
|
951
|
-
/* @__PURE__ */ V(
|
|
951
|
+
/* @__PURE__ */ V(k, {
|
|
952
952
|
variant: "secondary",
|
|
953
953
|
children: e.emote
|
|
954
954
|
}),
|
|
955
|
-
/* @__PURE__ */ V(
|
|
955
|
+
/* @__PURE__ */ V(k, {
|
|
956
956
|
variant: "primary",
|
|
957
957
|
children: e.sendRead
|
|
958
958
|
}),
|
|
959
|
-
/* @__PURE__ */ V(
|
|
959
|
+
/* @__PURE__ */ V(k, {
|
|
960
960
|
variant: "ghost",
|
|
961
961
|
children: t.leaveTable
|
|
962
962
|
})
|
|
@@ -978,14 +978,14 @@ function Se() {
|
|
|
978
978
|
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V("strong", { children: "Overlay glass + compact" }), /* @__PURE__ */ H("span", {
|
|
979
979
|
className: "game-ui-small-copy",
|
|
980
980
|
children: [
|
|
981
|
-
|
|
981
|
+
T.toneAttr,
|
|
982
982
|
"=\"",
|
|
983
|
-
|
|
983
|
+
T.toneGlass,
|
|
984
984
|
"\" ·",
|
|
985
985
|
" ",
|
|
986
|
-
|
|
986
|
+
T.densityAttr,
|
|
987
987
|
"=\"",
|
|
988
|
-
|
|
988
|
+
T.densityCompact,
|
|
989
989
|
"\""
|
|
990
990
|
]
|
|
991
991
|
})] }), n("glass")]
|
|
@@ -1000,10 +1000,10 @@ function Ce() {
|
|
|
1000
1000
|
className: "game-ui-proof-frames",
|
|
1001
1001
|
children: [/* @__PURE__ */ H("article", {
|
|
1002
1002
|
className: "game-ui-proof-frame is-desktop",
|
|
1003
|
-
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V(
|
|
1003
|
+
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V(A, { children: e.desktop }), /* @__PURE__ */ V("strong", { children: "1440×900" })] }), /* @__PURE__ */ V(q, {})]
|
|
1004
1004
|
}), /* @__PURE__ */ H("article", {
|
|
1005
1005
|
className: "game-ui-proof-frame is-mobile-landscape",
|
|
1006
|
-
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V(
|
|
1006
|
+
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V(A, { children: e.mobileLandscape }), /* @__PURE__ */ V("strong", { children: "844×390" })] }), /* @__PURE__ */ V(q, {})]
|
|
1007
1007
|
})]
|
|
1008
1008
|
});
|
|
1009
1009
|
}
|
|
@@ -1012,39 +1012,39 @@ function Ce() {
|
|
|
1012
1012
|
var we = [
|
|
1013
1013
|
{
|
|
1014
1014
|
id: "semantic",
|
|
1015
|
-
tokens:
|
|
1015
|
+
tokens: i
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
id: "typography",
|
|
1019
|
-
tokens:
|
|
1019
|
+
tokens: r
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
1022
|
id: "spacing",
|
|
1023
|
-
tokens:
|
|
1023
|
+
tokens: a
|
|
1024
1024
|
},
|
|
1025
1025
|
{
|
|
1026
1026
|
id: "radius",
|
|
1027
|
-
tokens:
|
|
1027
|
+
tokens: e
|
|
1028
1028
|
},
|
|
1029
1029
|
{
|
|
1030
1030
|
id: "scrollbars",
|
|
1031
|
-
tokens:
|
|
1031
|
+
tokens: f
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
1034
|
id: "elevation",
|
|
1035
|
-
tokens:
|
|
1035
|
+
tokens: c
|
|
1036
1036
|
},
|
|
1037
1037
|
{
|
|
1038
1038
|
id: "motion",
|
|
1039
|
-
tokens:
|
|
1039
|
+
tokens: o
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
1042
|
id: "overlayGlass",
|
|
1043
|
-
tokens:
|
|
1043
|
+
tokens: te
|
|
1044
1044
|
},
|
|
1045
1045
|
{
|
|
1046
1046
|
id: "liquidGooey",
|
|
1047
|
-
tokens:
|
|
1047
|
+
tokens: t
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
1050
|
id: "layers",
|
|
@@ -1052,11 +1052,11 @@ var we = [
|
|
|
1052
1052
|
},
|
|
1053
1053
|
{
|
|
1054
1054
|
id: "targets",
|
|
1055
|
-
tokens:
|
|
1055
|
+
tokens: s
|
|
1056
1056
|
},
|
|
1057
1057
|
{
|
|
1058
1058
|
id: "assetSizing",
|
|
1059
|
-
tokens:
|
|
1059
|
+
tokens: ne
|
|
1060
1060
|
}
|
|
1061
1061
|
];
|
|
1062
1062
|
function Te({ id: e, label: t, tokens: n }) {
|
|
@@ -1077,7 +1077,7 @@ function Ee() {
|
|
|
1077
1077
|
return /* @__PURE__ */ V("div", {
|
|
1078
1078
|
"aria-label": "Flat color swatches",
|
|
1079
1079
|
className: "game-ui-swatch-grid",
|
|
1080
|
-
children: Object.entries(
|
|
1080
|
+
children: Object.entries(i).map(([e, t]) => /* @__PURE__ */ H("figure", {
|
|
1081
1081
|
className: "game-ui-swatch",
|
|
1082
1082
|
children: [/* @__PURE__ */ V("span", { style: { background: t } }), /* @__PURE__ */ H("figcaption", { children: [/* @__PURE__ */ V("strong", { children: e }), /* @__PURE__ */ V("code", { children: t })] })]
|
|
1083
1083
|
}, e))
|
|
@@ -1116,11 +1116,11 @@ function Oe({ title: e, body: t }) {
|
|
|
1116
1116
|
/* @__PURE__ */ H("header", {
|
|
1117
1117
|
className: "game-ui-preview-hero",
|
|
1118
1118
|
children: [
|
|
1119
|
-
/* @__PURE__ */ V(
|
|
1119
|
+
/* @__PURE__ */ V(A, {
|
|
1120
1120
|
tone: "ai",
|
|
1121
1121
|
children: "@pieai/swimmer-ui-kit"
|
|
1122
1122
|
}),
|
|
1123
|
-
/* @__PURE__ */ V(
|
|
1123
|
+
/* @__PURE__ */ V(h, {
|
|
1124
1124
|
currentLabel: i.triggerLabel,
|
|
1125
1125
|
label: i.langMenuLabel,
|
|
1126
1126
|
onSelect: (e) => r(e),
|
|
@@ -1185,13 +1185,13 @@ function Oe({ title: e, body: t }) {
|
|
|
1185
1185
|
className: "game-ui-preview-two-up",
|
|
1186
1186
|
children: [/* @__PURE__ */ H(y, {
|
|
1187
1187
|
title: n === "zh-CN" ? "普通主按钮" : "Ordinary primary action",
|
|
1188
|
-
children: [/* @__PURE__ */ V(
|
|
1188
|
+
children: [/* @__PURE__ */ V(k, {
|
|
1189
1189
|
variant: "primary",
|
|
1190
1190
|
children: n === "zh-CN" ? "开始学习" : "Start learning"
|
|
1191
1191
|
}), /* @__PURE__ */ V("pre", { children: /* @__PURE__ */ V("code", { children: "<GameButton variant=\"primary\">Start learning</GameButton>" }) })]
|
|
1192
1192
|
}), /* @__PURE__ */ H(y, {
|
|
1193
1193
|
title: n === "zh-CN" ? "全宽液体主按钮" : "Full-width liquid CTA",
|
|
1194
|
-
children: [/* @__PURE__ */ V(
|
|
1194
|
+
children: [/* @__PURE__ */ V(k, {
|
|
1195
1195
|
fullWidth: !0,
|
|
1196
1196
|
variant: "primary",
|
|
1197
1197
|
children: n === "zh-CN" ? "进入课程" : "Enter course"
|
|
@@ -1253,7 +1253,7 @@ function Oe({ title: e, body: t }) {
|
|
|
1253
1253
|
/* @__PURE__ */ V(ge, {}),
|
|
1254
1254
|
/* @__PURE__ */ V(q, {}),
|
|
1255
1255
|
/* @__PURE__ */ V(xe, {}),
|
|
1256
|
-
/* @__PURE__ */ V(
|
|
1256
|
+
/* @__PURE__ */ V(x, {
|
|
1257
1257
|
entries: i.history,
|
|
1258
1258
|
label: i.historyLabel
|
|
1259
1259
|
})
|
|
@@ -1458,7 +1458,7 @@ var X = {
|
|
|
1458
1458
|
ghost: "var(--game-ui-accent-pale)"
|
|
1459
1459
|
};
|
|
1460
1460
|
function Z({ form: e, engaged: t, fill: n = "var(--game-ui-accent)", style: r = Ae, radius: i = 999 }) {
|
|
1461
|
-
return /* @__PURE__ */ V(
|
|
1461
|
+
return /* @__PURE__ */ V(me, {
|
|
1462
1462
|
active: t,
|
|
1463
1463
|
fill: n,
|
|
1464
1464
|
form: e,
|
|
@@ -1472,7 +1472,7 @@ function Z({ form: e, engaged: t, fill: n = "var(--game-ui-accent)", style: r =
|
|
|
1472
1472
|
//#endregion
|
|
1473
1473
|
//#region src/preview/LiquidPreview/GroupStage.tsx
|
|
1474
1474
|
function je({ form: e, engaged: t, fill: n }) {
|
|
1475
|
-
let r =
|
|
1475
|
+
let r = M(e), i = N(e), a = {
|
|
1476
1476
|
blur: r.blur,
|
|
1477
1477
|
contrast: r.contrast,
|
|
1478
1478
|
filterPadding: r.filterPadding,
|
|
@@ -1493,16 +1493,16 @@ function je({ form: e, engaged: t, fill: n }) {
|
|
|
1493
1493
|
});
|
|
1494
1494
|
if (e === "merge" || e === "split") {
|
|
1495
1495
|
let n = e === "merge" ? t ? 0 : 30 : t ? 32 : 0;
|
|
1496
|
-
return /* @__PURE__ */ H(
|
|
1496
|
+
return /* @__PURE__ */ H(p, {
|
|
1497
1497
|
...a,
|
|
1498
1498
|
"aria-hidden": "true",
|
|
1499
1499
|
className: "game-ui-liquid-page__stage",
|
|
1500
|
-
children: [/* @__PURE__ */ V(
|
|
1500
|
+
children: [/* @__PURE__ */ V(p.Item, {
|
|
1501
1501
|
...o,
|
|
1502
1502
|
radius: 999,
|
|
1503
1503
|
x: -n,
|
|
1504
1504
|
children: /* @__PURE__ */ V("span", { style: s(46) })
|
|
1505
|
-
}), /* @__PURE__ */ V(
|
|
1505
|
+
}), /* @__PURE__ */ V(p.Item, {
|
|
1506
1506
|
...o,
|
|
1507
1507
|
radius: 999,
|
|
1508
1508
|
x: n,
|
|
@@ -1512,11 +1512,11 @@ function je({ form: e, engaged: t, fill: n }) {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
if (e === "follow") return /* @__PURE__ */ H("span", {
|
|
1514
1514
|
className: "game-ui-liquid-page__rail",
|
|
1515
|
-
children: [/* @__PURE__ */ V(
|
|
1515
|
+
children: [/* @__PURE__ */ V(p, {
|
|
1516
1516
|
...a,
|
|
1517
1517
|
"aria-hidden": "true",
|
|
1518
1518
|
className: "game-ui-liquid-page__stage",
|
|
1519
|
-
children: /* @__PURE__ */ V(
|
|
1519
|
+
children: /* @__PURE__ */ V(p.Item, {
|
|
1520
1520
|
...o,
|
|
1521
1521
|
radius: 14,
|
|
1522
1522
|
x: t ? 62 : -62,
|
|
@@ -1549,11 +1549,11 @@ function je({ form: e, engaged: t, fill: n }) {
|
|
|
1549
1549
|
[29, 9],
|
|
1550
1550
|
[50, -7]
|
|
1551
1551
|
], l = .24;
|
|
1552
|
-
return /* @__PURE__ */ V(
|
|
1552
|
+
return /* @__PURE__ */ V(p, {
|
|
1553
1553
|
...a,
|
|
1554
1554
|
"aria-hidden": "true",
|
|
1555
1555
|
className: "game-ui-liquid-page__stage",
|
|
1556
|
-
children: c.map(([e, n], r) => /* @__PURE__ */ F(
|
|
1556
|
+
children: c.map(([e, n], r) => /* @__PURE__ */ F(p.Item, {
|
|
1557
1557
|
...o,
|
|
1558
1558
|
key: r,
|
|
1559
1559
|
delay: r * 40,
|
|
@@ -1566,7 +1566,7 @@ function je({ form: e, engaged: t, fill: n }) {
|
|
|
1566
1566
|
//#endregion
|
|
1567
1567
|
//#region src/preview/LiquidPreview/FormStage.tsx
|
|
1568
1568
|
function Me({ form: e, engaged: t, fill: n }) {
|
|
1569
|
-
return
|
|
1569
|
+
return O[e].kind === "body" ? /* @__PURE__ */ V(Z, {
|
|
1570
1570
|
engaged: t,
|
|
1571
1571
|
fill: n,
|
|
1572
1572
|
form: e
|
|
@@ -1579,13 +1579,13 @@ function Me({ form: e, engaged: t, fill: n }) {
|
|
|
1579
1579
|
//#endregion
|
|
1580
1580
|
//#region src/preview/LiquidPreview/Knobs.tsx
|
|
1581
1581
|
function Q(e) {
|
|
1582
|
-
return e === void 0 ? null :
|
|
1582
|
+
return e === void 0 ? null : d(e).map((e) => {
|
|
1583
1583
|
let t = /(\d+(?:\.\d+)?)%/.exec(e.color)?.[1];
|
|
1584
1584
|
return `${e.y}/${e.blur}${t === void 0 ? "" : ` · ${t}%`}`;
|
|
1585
1585
|
}).join(" + ");
|
|
1586
1586
|
}
|
|
1587
1587
|
function Ne({ form: e, copy: t }) {
|
|
1588
|
-
let { blur: n, contrast: r, blob: i, lobes: a, gloss: o, shadow: s } =
|
|
1588
|
+
let { blur: n, contrast: r, blob: i, lobes: a, gloss: o, shadow: s } = O[e].group, c = l(n, r), u = 2.5628 * n / c, d = Q(s), f = Q(s);
|
|
1589
1589
|
return /* @__PURE__ */ H("dl", {
|
|
1590
1590
|
className: "game-ui-liquid-page__knobs",
|
|
1591
1591
|
children: [
|
|
@@ -1599,9 +1599,9 @@ function Ne({ form: e, copy: t }) {
|
|
|
1599
1599
|
"· ",
|
|
1600
1600
|
t.edgeNote,
|
|
1601
1601
|
" ",
|
|
1602
|
-
|
|
1602
|
+
u.toFixed(2),
|
|
1603
1603
|
"px",
|
|
1604
|
-
c < r ? ` → ${
|
|
1604
|
+
c < r ? ` → ${ee}px` : ""
|
|
1605
1605
|
]
|
|
1606
1606
|
})] }),
|
|
1607
1607
|
/* @__PURE__ */ V("dt", { children: "blob" }),
|
|
@@ -1618,23 +1618,23 @@ function Ne({ form: e, copy: t }) {
|
|
|
1618
1618
|
/* @__PURE__ */ V("dt", { children: "gloss" }),
|
|
1619
1619
|
/* @__PURE__ */ V("dd", { children: o }),
|
|
1620
1620
|
/* @__PURE__ */ V("dt", { children: "shadow" }),
|
|
1621
|
-
/* @__PURE__ */ H("dd", { children: [
|
|
1621
|
+
/* @__PURE__ */ H("dd", { children: [d ?? t.noShadow, d === null ? null : /* @__PURE__ */ V("span", {
|
|
1622
1622
|
className: "game-ui-liquid-page__derived",
|
|
1623
1623
|
children: " · y/blur"
|
|
1624
1624
|
})] }),
|
|
1625
|
-
|
|
1625
|
+
f === null ? null : /* @__PURE__ */ H(B, { children: [/* @__PURE__ */ V("dt", { children: t.engagedKnob }), /* @__PURE__ */ V("dd", { children: f })] })
|
|
1626
1626
|
]
|
|
1627
1627
|
});
|
|
1628
1628
|
}
|
|
1629
1629
|
//#endregion
|
|
1630
1630
|
//#region src/preview/LiquidPreview/Shelf.tsx
|
|
1631
1631
|
function $({ kind: e, copy: t, tone: n }) {
|
|
1632
|
-
let [r, i] = Y(), a =
|
|
1632
|
+
let [r, i] = Y(), a = D.filter((t) => O[t].kind === e), [o, s] = z(() => a[0]);
|
|
1633
1633
|
return /* @__PURE__ */ H(B, { children: [/* @__PURE__ */ V("div", {
|
|
1634
1634
|
className: "game-ui-liquid-demo-controls",
|
|
1635
1635
|
role: "group",
|
|
1636
1636
|
"aria-label": e === "body" ? "单体形态" : "多体形态",
|
|
1637
|
-
children: a.map((e) => /* @__PURE__ */ V(
|
|
1637
|
+
children: a.map((e) => /* @__PURE__ */ V(k, {
|
|
1638
1638
|
"aria-pressed": o === e,
|
|
1639
1639
|
onClick: () => s(e),
|
|
1640
1640
|
children: e
|
|
@@ -1658,9 +1658,9 @@ function $({ kind: e, copy: t, tone: n }) {
|
|
|
1658
1658
|
/* @__PURE__ */ V("h4", { children: e }),
|
|
1659
1659
|
/* @__PURE__ */ V("p", {
|
|
1660
1660
|
className: "game-ui-liquid-page__prose",
|
|
1661
|
-
children:
|
|
1661
|
+
children: O[e].summary
|
|
1662
1662
|
}),
|
|
1663
|
-
/* @__PURE__ */ V(
|
|
1663
|
+
/* @__PURE__ */ V(k, {
|
|
1664
1664
|
onClick: () => i(e),
|
|
1665
1665
|
variant: "ghost",
|
|
1666
1666
|
children: e === "ripple" ? t.pulse : a ? t.reset : t.trigger
|
|
@@ -1677,12 +1677,12 @@ function $({ kind: e, copy: t, tone: n }) {
|
|
|
1677
1677
|
//#endregion
|
|
1678
1678
|
//#region src/preview/LiquidPreview/Sizes.tsx
|
|
1679
1679
|
function Pe({ copy: e }) {
|
|
1680
|
-
let [t, n] = Y(), r =
|
|
1680
|
+
let [t, n] = Y(), r = D.filter((e) => O[e].kind === "body"), [i, a] = z("press"), o = (e, t) => Math.min(e, t * u).toFixed(2);
|
|
1681
1681
|
return /* @__PURE__ */ H(B, { children: [/* @__PURE__ */ V("div", {
|
|
1682
1682
|
className: "game-ui-liquid-demo-controls",
|
|
1683
1683
|
role: "group",
|
|
1684
1684
|
"aria-label": "尺寸对照的形态",
|
|
1685
|
-
children: r.map((e) => /* @__PURE__ */ V(
|
|
1685
|
+
children: r.map((e) => /* @__PURE__ */ V(k, {
|
|
1686
1686
|
"aria-pressed": i === e,
|
|
1687
1687
|
onClick: () => a(e),
|
|
1688
1688
|
children: e
|
|
@@ -1690,11 +1690,11 @@ function Pe({ copy: e }) {
|
|
|
1690
1690
|
}), /* @__PURE__ */ V("div", {
|
|
1691
1691
|
className: "game-ui-liquid-page__sizes",
|
|
1692
1692
|
children: r.filter((e) => e === i).map((r) => {
|
|
1693
|
-
let i = t.has(r), { blob: a } =
|
|
1693
|
+
let i = t.has(r), { blob: a } = O[r].group;
|
|
1694
1694
|
return /* @__PURE__ */ H(y, {
|
|
1695
1695
|
className: "game-ui-liquid-page__size-row",
|
|
1696
1696
|
tone: "strong",
|
|
1697
|
-
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V("h4", { children: r }), /* @__PURE__ */ V(
|
|
1697
|
+
children: [/* @__PURE__ */ H("header", { children: [/* @__PURE__ */ V("h4", { children: r }), /* @__PURE__ */ V(k, {
|
|
1698
1698
|
onClick: () => n(r),
|
|
1699
1699
|
variant: "ghost",
|
|
1700
1700
|
children: r === "ripple" ? e.pulse : i ? e.reset : e.trigger
|
|
@@ -1744,7 +1744,7 @@ function Fe({ copy: e }) {
|
|
|
1744
1744
|
className: "game-ui-liquid-demo-controls",
|
|
1745
1745
|
role: "group",
|
|
1746
1746
|
"aria-label": "颜色对照",
|
|
1747
|
-
children: J.map((e) => /* @__PURE__ */ V(
|
|
1747
|
+
children: J.map((e) => /* @__PURE__ */ V(k, {
|
|
1748
1748
|
"aria-pressed": t === e,
|
|
1749
1749
|
onClick: () => n(e),
|
|
1750
1750
|
children: e
|
|
@@ -1756,7 +1756,7 @@ function Fe({ copy: e }) {
|
|
|
1756
1756
|
tone: "strong",
|
|
1757
1757
|
children: [
|
|
1758
1758
|
/* @__PURE__ */ V("h4", { children: t }),
|
|
1759
|
-
/* @__PURE__ */ V(
|
|
1759
|
+
/* @__PURE__ */ V(k, {
|
|
1760
1760
|
variant: t,
|
|
1761
1761
|
children: e.flat
|
|
1762
1762
|
}),
|
|
@@ -1765,7 +1765,7 @@ function Fe({ copy: e }) {
|
|
|
1765
1765
|
onPointerDown: () => i(t),
|
|
1766
1766
|
onPointerLeave: () => i(null),
|
|
1767
1767
|
onPointerUp: () => i(null),
|
|
1768
|
-
children: /* @__PURE__ */ V(
|
|
1768
|
+
children: /* @__PURE__ */ V(k, {
|
|
1769
1769
|
variant: t,
|
|
1770
1770
|
children: e.liquid
|
|
1771
1771
|
})
|
|
@@ -1784,13 +1784,13 @@ function Ie({ copy: e }) {
|
|
|
1784
1784
|
title: e.rest,
|
|
1785
1785
|
children: [
|
|
1786
1786
|
/* @__PURE__ */ V("p", { children: "按住观察轮廓,松开回弹;文字和点击位置保持不动。" }),
|
|
1787
|
-
/* @__PURE__ */ V(
|
|
1787
|
+
/* @__PURE__ */ V(k, {
|
|
1788
1788
|
variant: "primary",
|
|
1789
1789
|
disabled: t,
|
|
1790
1790
|
onClick: () => i((e) => e + 1),
|
|
1791
1791
|
children: e.liquid
|
|
1792
1792
|
}),
|
|
1793
|
-
/* @__PURE__ */ V(
|
|
1793
|
+
/* @__PURE__ */ V(k, {
|
|
1794
1794
|
"aria-pressed": t,
|
|
1795
1795
|
onClick: () => n((e) => !e),
|
|
1796
1796
|
children: e.disabled
|
|
@@ -1815,11 +1815,11 @@ function Le() {
|
|
|
1815
1815
|
/* @__PURE__ */ H("header", {
|
|
1816
1816
|
className: "game-ui-preview-hero",
|
|
1817
1817
|
children: [
|
|
1818
|
-
/* @__PURE__ */ V(
|
|
1818
|
+
/* @__PURE__ */ V(A, {
|
|
1819
1819
|
tone: "ai",
|
|
1820
1820
|
children: "@pieai/swimmer-ui-kit"
|
|
1821
1821
|
}),
|
|
1822
|
-
/* @__PURE__ */ V(
|
|
1822
|
+
/* @__PURE__ */ V(h, {
|
|
1823
1823
|
currentLabel: o.triggerLabel,
|
|
1824
1824
|
label: o.langMenuLabel,
|
|
1825
1825
|
onSelect: (e) => t(e),
|
|
@@ -1862,7 +1862,7 @@ function Le() {
|
|
|
1862
1862
|
"tones",
|
|
1863
1863
|
"states",
|
|
1864
1864
|
"knobs"
|
|
1865
|
-
].map((e) => /* @__PURE__ */ V(
|
|
1865
|
+
].map((e) => /* @__PURE__ */ V(k, {
|
|
1866
1866
|
"aria-pressed": n === e,
|
|
1867
1867
|
onClick: () => {
|
|
1868
1868
|
r(e), window.history.replaceState(null, "", `#liquid-${e}-title`);
|
|
@@ -1888,7 +1888,7 @@ function Le() {
|
|
|
1888
1888
|
className: "game-ui-liquid-page__tone-picker",
|
|
1889
1889
|
role: "group",
|
|
1890
1890
|
"aria-label": o.tonePicker,
|
|
1891
|
-
children: [/* @__PURE__ */ V("span", { children: o.tonePicker }), J.map((e) => /* @__PURE__ */ V(
|
|
1891
|
+
children: [/* @__PURE__ */ V("span", { children: o.tonePicker }), J.map((e) => /* @__PURE__ */ V(k, {
|
|
1892
1892
|
"aria-pressed": i === e,
|
|
1893
1893
|
onClick: () => a(e),
|
|
1894
1894
|
variant: "secondary",
|