@jfrader/ui 0.7.0 → 0.7.3
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 +14 -28
- package/dist/avatar-BuM1zB_f.js +164 -0
- package/dist/{avatar-group-BlMLNw4J.js → avatar-group-D1UEihvh.js} +1 -1
- package/dist/avatar-group.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/card-frame-CcLa6NQ4.js +13 -0
- package/dist/{chat-thread-DkB-WMWJ.js → chat-thread-CMhwxhoA.js} +1 -1
- package/dist/chat-thread.js +1 -1
- package/dist/{comment-thread-DXfqgRNI.js → comment-thread-DbOzYr0q.js} +1 -1
- package/dist/comment-thread.js +1 -1
- package/dist/editable-details-BndqEnYF.js +365 -0
- package/dist/editable-details.js +2 -0
- package/dist/flip-game-card-BOJIhBrh.js +104 -0
- package/dist/flip-game-card.js +2 -0
- package/dist/{game-card-Oeu74giK.js → game-card-Bnhpz78f.js} +42 -49
- package/dist/game-card.js +1 -1
- package/dist/{hover-card-Dgu2CwMD.js → hover-card--ijYr1cd.js} +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/index.js +90 -90
- package/dist/{locale-switcher-DTkySKsM.js → locale-switcher-Ce_tN4Gb.js} +2 -2
- package/dist/locale-switcher.js +1 -1
- package/dist/{thread-parts-Cpktor6D.js → thread-parts-DbKhuwVU.js} +1 -1
- package/dist/{timeline-BcF46lG9.js → timeline-BPKY94mT.js} +1 -1
- package/dist/timeline.js +1 -1
- package/dist/{billing-toggle-CgC7yxxo.js → toggle-subscription-Ytz7ew1q.js} +19 -19
- package/dist/toggle-subscription.js +2 -0
- package/dist/types/components/avatar/avatar.d.ts +3 -1
- package/dist/types/components/editable-details/editable-details.d.ts +58 -0
- package/dist/types/components/editable-details/index.d.ts +2 -0
- package/dist/types/components/flip-game-card/flip-game-card.d.ts +22 -0
- package/dist/types/components/flip-game-card/index.d.ts +2 -0
- package/dist/types/components/locale-switcher/locale-switcher.d.ts +2 -2
- package/dist/types/components/toggle-subscription/index.d.ts +2 -0
- package/dist/types/components/toggle-subscription/toggle-subscription.d.ts +57 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types/styling/motion-timings.d.ts +8 -0
- package/dist/types/styling/theme.d.ts +5 -0
- package/dist/{user-menu-MctRu_Lh.js → user-menu-Czrrk93A.js} +1 -1
- package/dist/user-menu.js +1 -1
- package/package.json +14 -14
- package/dist/avatar-sPxDqFiZ.js +0 -133
- package/dist/billing-toggle.js +0 -2
- package/dist/in-view-title-BUZCMqge.js +0 -225
- package/dist/in-view-title.js +0 -2
- package/dist/shortcut-recorder-VgTQdjjn.js +0 -688
- package/dist/shortcut-recorder.js +0 -2
- package/dist/types/components/billing-toggle/billing-toggle.d.ts +0 -57
- package/dist/types/components/billing-toggle/index.d.ts +0 -2
- package/dist/types/components/in-view-title/in-view-title.d.ts +0 -23
- package/dist/types/components/in-view-title/index.d.ts +0 -1
- package/dist/types/components/shortcut-recorder/index.d.ts +0 -2
- package/dist/types/components/shortcut-recorder/shortcut-recorder.d.ts +0 -117
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { i as e } from "./css-BYJhdGh-.js";
|
|
3
|
+
import { r as t } from "./media-8yrN85VT.js";
|
|
4
|
+
import { t as n } from "./sx-BJXJ2xJK.js";
|
|
5
|
+
import { n as r } from "./card-frame-CcLa6NQ4.js";
|
|
6
|
+
import { useEffect as i, useState as a } from "react";
|
|
7
|
+
import { vars as o } from "@jfrader/tokens/vars";
|
|
8
|
+
import { jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { MotionConfig as l, useReducedMotion as u } from "motion/react";
|
|
10
|
+
//#region src/components/flip-game-card/flip-game-card.tsx
|
|
11
|
+
var d = e({
|
|
12
|
+
label: "flip-game-card",
|
|
13
|
+
position: "relative",
|
|
14
|
+
flexShrink: 0,
|
|
15
|
+
inlineSize: "var(--flip-game-card-width)",
|
|
16
|
+
blockSize: `calc(var(--flip-game-card-width) * ${r.ratio})`,
|
|
17
|
+
perspective: o.size.gameCardPerspective
|
|
18
|
+
}), f = {
|
|
19
|
+
sm: e({ "--flip-game-card-width": o.size.gameCardSm }),
|
|
20
|
+
md: e({ "--flip-game-card-width": o.size.gameCardMd }),
|
|
21
|
+
lg: e({ "--flip-game-card-width": o.size.gameCardLg })
|
|
22
|
+
}, p = e({ "& > [data-ui=\"flip-game-card-rotator\"]": {
|
|
23
|
+
transform: "none",
|
|
24
|
+
transition: "none",
|
|
25
|
+
"& > [aria-hidden=\"true\"]": { visibility: "hidden" }
|
|
26
|
+
} }), m = e({
|
|
27
|
+
"&[data-reduced-motion=\"true\"]": p,
|
|
28
|
+
[t]: p
|
|
29
|
+
}), h = e({
|
|
30
|
+
position: "relative",
|
|
31
|
+
inlineSize: "100%",
|
|
32
|
+
blockSize: "100%",
|
|
33
|
+
transformStyle: "preserve-3d",
|
|
34
|
+
transform: "rotateY(0deg)",
|
|
35
|
+
transition: `transform ${o.motion.duration.cardFlip} ${o.motion.easeCardFlip}`,
|
|
36
|
+
"&[data-state=\"back\"]": { transform: "rotateY(180deg)" }
|
|
37
|
+
}), g = e({
|
|
38
|
+
position: "absolute",
|
|
39
|
+
inset: 0,
|
|
40
|
+
backfaceVisibility: "hidden",
|
|
41
|
+
"& > [data-ui=\"game-card\"]": {
|
|
42
|
+
inlineSize: "100%",
|
|
43
|
+
blockSize: "100%"
|
|
44
|
+
}
|
|
45
|
+
}), _ = e({
|
|
46
|
+
transform: "rotateY(180deg)",
|
|
47
|
+
"&[data-reduced-motion=\"true\"]": { transform: "none" },
|
|
48
|
+
[t]: { transform: "none" }
|
|
49
|
+
});
|
|
50
|
+
function v({ ref: e, flipped: t, front: r, back: o, size: p = "md", slotProps: v, className: y, sx: b, ...x }) {
|
|
51
|
+
let S = u(), [C, w] = a(!1);
|
|
52
|
+
i(() => w(!0), []);
|
|
53
|
+
let T = t ? "back" : "front";
|
|
54
|
+
return /* @__PURE__ */ s(l, {
|
|
55
|
+
reducedMotion: "user",
|
|
56
|
+
children: /* @__PURE__ */ s(n, {
|
|
57
|
+
className: y,
|
|
58
|
+
styles: [
|
|
59
|
+
d,
|
|
60
|
+
f[p],
|
|
61
|
+
m
|
|
62
|
+
],
|
|
63
|
+
sx: b,
|
|
64
|
+
children: (n) => /* @__PURE__ */ s("div", {
|
|
65
|
+
...x,
|
|
66
|
+
ref: e,
|
|
67
|
+
className: n,
|
|
68
|
+
"data-ui": "flip-game-card",
|
|
69
|
+
"data-state": T,
|
|
70
|
+
"data-size": p,
|
|
71
|
+
"data-reduced-motion": C && S || void 0,
|
|
72
|
+
children: /* @__PURE__ */ c("div", {
|
|
73
|
+
"data-ui": "flip-game-card-rotator",
|
|
74
|
+
"data-state": T,
|
|
75
|
+
className: v?.rotator?.className,
|
|
76
|
+
css: [h, v?.rotator?.css],
|
|
77
|
+
children: [/* @__PURE__ */ s("div", {
|
|
78
|
+
"data-ui": "flip-game-card-front",
|
|
79
|
+
inert: t,
|
|
80
|
+
"aria-hidden": t || void 0,
|
|
81
|
+
className: v?.front?.className,
|
|
82
|
+
css: [g, v?.front?.css],
|
|
83
|
+
children: r
|
|
84
|
+
}), /* @__PURE__ */ s("div", {
|
|
85
|
+
"data-ui": "flip-game-card-back",
|
|
86
|
+
"data-reduced-motion": C && S || void 0,
|
|
87
|
+
inert: !t,
|
|
88
|
+
"aria-hidden": !t || void 0,
|
|
89
|
+
className: v?.back?.className,
|
|
90
|
+
css: [
|
|
91
|
+
g,
|
|
92
|
+
_,
|
|
93
|
+
v?.back?.css
|
|
94
|
+
],
|
|
95
|
+
children: o
|
|
96
|
+
})]
|
|
97
|
+
})
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
v.displayName = "FlipGameCard";
|
|
103
|
+
//#endregion
|
|
104
|
+
export { v as t };
|
|
@@ -2,18 +2,11 @@
|
|
|
2
2
|
import { i as e } from "./css-BYJhdGh-.js";
|
|
3
3
|
import { t } from "./sx-BJXJ2xJK.js";
|
|
4
4
|
import { t as n } from "./renderable-DzcIj1Lo.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
cornerDivisor: 13
|
|
11
|
-
}, s = {
|
|
12
|
-
markWidthRatio: .35,
|
|
13
|
-
watermarkInsetPercent: 3,
|
|
14
|
-
watermarkOpacity: .15,
|
|
15
|
-
contentPaddingPercent: 4
|
|
16
|
-
}, c = {
|
|
5
|
+
import { n as r, t as i } from "./card-frame-CcLa6NQ4.js";
|
|
6
|
+
import { vars as a } from "@jfrader/tokens/vars";
|
|
7
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
8
|
+
//#region src/components/game-card/decks.ts
|
|
9
|
+
var c = {
|
|
17
10
|
oros: "💰",
|
|
18
11
|
copas: "🍷",
|
|
19
12
|
espadas: "🗡️",
|
|
@@ -45,31 +38,31 @@ var o = {
|
|
|
45
38
|
Q: "Q",
|
|
46
39
|
K: "K"
|
|
47
40
|
}, d = e({
|
|
48
|
-
"--game-card-width":
|
|
41
|
+
"--game-card-width": a.size.gameCardMd,
|
|
49
42
|
position: "relative",
|
|
50
43
|
display: "block",
|
|
51
44
|
flexShrink: 0,
|
|
52
45
|
boxSizing: "border-box",
|
|
53
46
|
inlineSize: "var(--game-card-width)",
|
|
54
|
-
blockSize: `calc(var(--game-card-width) * ${
|
|
55
|
-
borderRadius: `calc(var(--game-card-width) / ${
|
|
47
|
+
blockSize: `calc(var(--game-card-width) * ${r.ratio})`,
|
|
48
|
+
borderRadius: `calc(var(--game-card-width) / ${r.cornerDivisor})`,
|
|
56
49
|
overflow: "hidden",
|
|
57
50
|
containerType: "inline-size",
|
|
58
51
|
userSelect: "none",
|
|
59
52
|
verticalAlign: "middle"
|
|
60
53
|
}), f = e({
|
|
61
|
-
backgroundColor:
|
|
62
|
-
color:
|
|
63
|
-
border: `1px solid ${
|
|
54
|
+
backgroundColor: a.color.cardFace,
|
|
55
|
+
color: a.color.cardInk,
|
|
56
|
+
border: `1px solid ${a.color.cardInk}`
|
|
64
57
|
}), p = e({ opacity: .55 }), m = e({
|
|
65
58
|
position: "absolute",
|
|
66
59
|
inset: 0
|
|
67
60
|
}), h = e({
|
|
68
61
|
display: "grid",
|
|
69
62
|
placeItems: "center",
|
|
70
|
-
paddingInline: `${
|
|
71
|
-
fontSize: `${
|
|
72
|
-
fontWeight:
|
|
63
|
+
paddingInline: `${i.contentPaddingPercent}%`,
|
|
64
|
+
fontSize: `${i.markWidthRatio * 100}cqw`,
|
|
65
|
+
fontWeight: a.fontWeight.semibold,
|
|
73
66
|
lineHeight: 1,
|
|
74
67
|
whiteSpace: "nowrap"
|
|
75
68
|
}), g = e({
|
|
@@ -87,36 +80,36 @@ var o = {
|
|
|
87
80
|
gap: "0.1em"
|
|
88
81
|
}), v = e({
|
|
89
82
|
position: "absolute",
|
|
90
|
-
fontSize: `${
|
|
83
|
+
fontSize: `${i.markWidthRatio * 100}cqw`,
|
|
91
84
|
lineHeight: 1,
|
|
92
|
-
opacity:
|
|
85
|
+
opacity: i.watermarkOpacity
|
|
93
86
|
}), y = e({
|
|
94
|
-
insetBlockStart: `${
|
|
87
|
+
insetBlockStart: `${i.watermarkInsetPercent}%`,
|
|
95
88
|
insetInlineEnd: 0
|
|
96
89
|
}), b = e({
|
|
97
|
-
insetBlockEnd: `${
|
|
90
|
+
insetBlockEnd: `${i.watermarkInsetPercent}%`,
|
|
98
91
|
insetInlineStart: 0
|
|
99
92
|
}), x = {
|
|
100
|
-
red: e({ color:
|
|
101
|
-
ink: e({ color:
|
|
93
|
+
red: e({ color: a.color.cardRed }),
|
|
94
|
+
ink: e({ color: a.color.cardInk })
|
|
102
95
|
}, S = e({
|
|
103
|
-
backgroundColor:
|
|
104
|
-
backgroundImage: `repeating-linear-gradient(45deg, ${
|
|
96
|
+
backgroundColor: a.color.surfaceRaised,
|
|
97
|
+
backgroundImage: `repeating-linear-gradient(45deg, ${a.color.surfaceHover} 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, ${a.color.surfaceHover} 0 2px, transparent 2px 6px)`,
|
|
105
98
|
"&::after": {
|
|
106
99
|
content: "\"\"",
|
|
107
100
|
position: "absolute",
|
|
108
101
|
inset: "8%",
|
|
109
|
-
border: `1px solid ${
|
|
102
|
+
border: `1px solid ${a.color.borderControl}`,
|
|
110
103
|
borderRadius: "inherit"
|
|
111
104
|
}
|
|
112
105
|
}), C = {
|
|
113
|
-
sm: e({ "--game-card-width":
|
|
114
|
-
md: e({ "--game-card-width":
|
|
115
|
-
lg: e({ "--game-card-width":
|
|
106
|
+
sm: e({ "--game-card-width": a.size.gameCardSm }),
|
|
107
|
+
md: e({ "--game-card-width": a.size.gameCardMd }),
|
|
108
|
+
lg: e({ "--game-card-width": a.size.gameCardLg })
|
|
116
109
|
};
|
|
117
|
-
function w({ ref: e, label: r, value:
|
|
118
|
-
let b =
|
|
119
|
-
return /* @__PURE__ */
|
|
110
|
+
function w({ ref: e, label: r, value: i, face: a, size: s = "md", rankLabel: c, dimmed: l = !1, children: u, slotProps: h, className: _, sx: v, ...y }) {
|
|
111
|
+
let b = a ?? (i === void 0 ? "back" : "emoji"), x = b === "back" || i === void 0;
|
|
112
|
+
return /* @__PURE__ */ o(t, {
|
|
120
113
|
className: _,
|
|
121
114
|
styles: [
|
|
122
115
|
d,
|
|
@@ -125,16 +118,16 @@ function w({ ref: e, label: r, value: a, face: o, size: s = "md", rankLabel: c,
|
|
|
125
118
|
l && p
|
|
126
119
|
],
|
|
127
120
|
sx: v,
|
|
128
|
-
children: (t) => /* @__PURE__ */
|
|
121
|
+
children: (t) => /* @__PURE__ */ o("div", {
|
|
129
122
|
...y,
|
|
130
123
|
ref: e,
|
|
131
124
|
role: "img",
|
|
132
125
|
"aria-label": r,
|
|
133
126
|
"data-ui": "game-card",
|
|
134
127
|
"data-face": b,
|
|
135
|
-
"data-deck": x ? void 0 :
|
|
128
|
+
"data-deck": x ? void 0 : i.deck,
|
|
136
129
|
className: t,
|
|
137
|
-
children: x ? /* @__PURE__ */
|
|
130
|
+
children: x ? /* @__PURE__ */ o("span", {
|
|
138
131
|
"data-ui": "game-card-back",
|
|
139
132
|
"aria-hidden": "true",
|
|
140
133
|
className: h?.back?.className,
|
|
@@ -143,7 +136,7 @@ function w({ ref: e, label: r, value: a, face: o, size: s = "md", rankLabel: c,
|
|
|
143
136
|
S,
|
|
144
137
|
h?.back?.css
|
|
145
138
|
]
|
|
146
|
-
}) : n(u) ? /* @__PURE__ */
|
|
139
|
+
}) : n(u) ? /* @__PURE__ */ o("span", {
|
|
147
140
|
"data-ui": "game-card-art",
|
|
148
141
|
"aria-hidden": "true",
|
|
149
142
|
className: h?.face?.className,
|
|
@@ -153,8 +146,8 @@ function w({ ref: e, label: r, value: a, face: o, size: s = "md", rankLabel: c,
|
|
|
153
146
|
h?.face?.css
|
|
154
147
|
],
|
|
155
148
|
children: u
|
|
156
|
-
}) : /* @__PURE__ */
|
|
157
|
-
value:
|
|
149
|
+
}) : /* @__PURE__ */ o(T, {
|
|
150
|
+
value: i,
|
|
158
151
|
rankLabel: c,
|
|
159
152
|
slotProps: h
|
|
160
153
|
})
|
|
@@ -163,27 +156,27 @@ function w({ ref: e, label: r, value: a, face: o, size: s = "md", rankLabel: c,
|
|
|
163
156
|
}
|
|
164
157
|
w.displayName = "GameCard";
|
|
165
158
|
function T({ value: e, rankLabel: t, slotProps: n }) {
|
|
166
|
-
let r = c[e.suit],
|
|
167
|
-
return /* @__PURE__ */
|
|
159
|
+
let r = c[e.suit], i = t ?? u[e.rank], a = l[e.suit];
|
|
160
|
+
return /* @__PURE__ */ s("span", {
|
|
168
161
|
"data-ui": "game-card-print",
|
|
169
162
|
"aria-hidden": "true",
|
|
170
163
|
className: n?.face?.className,
|
|
171
164
|
css: [
|
|
172
165
|
m,
|
|
173
166
|
h,
|
|
174
|
-
|
|
167
|
+
a !== void 0 && x[a],
|
|
175
168
|
n?.face?.css
|
|
176
169
|
],
|
|
177
170
|
children: [
|
|
178
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ o("span", {
|
|
179
172
|
css: [v, y],
|
|
180
173
|
children: r
|
|
181
174
|
}),
|
|
182
|
-
/* @__PURE__ */
|
|
175
|
+
/* @__PURE__ */ s("span", {
|
|
183
176
|
css: _,
|
|
184
|
-
children: [/* @__PURE__ */
|
|
177
|
+
children: [/* @__PURE__ */ o("span", { children: i }), /* @__PURE__ */ o("span", { children: r })]
|
|
185
178
|
}),
|
|
186
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ o("span", {
|
|
187
180
|
css: [v, b],
|
|
188
181
|
children: r
|
|
189
182
|
})
|
package/dist/game-card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { t as GameCard, n as RANK_MARKS, r as SUIT_GLYPHS, i as SUIT_INK } from "./game-card-
|
|
2
|
+
export { t as GameCard, n as RANK_MARKS, r as SUIT_GLYPHS, i as SUIT_INK } from "./game-card-Bnhpz78f.js";
|
|
@@ -4,7 +4,7 @@ import { r as n } from "./media-8yrN85VT.js";
|
|
|
4
4
|
import { t as r } from "./sx-BJXJ2xJK.js";
|
|
5
5
|
import { t as i } from "./use-controlled-state-DpeVQZNR.js";
|
|
6
6
|
import { t as a } from "./renderable-DzcIj1Lo.js";
|
|
7
|
-
import { t as o } from "./avatar-
|
|
7
|
+
import { t as o } from "./avatar-BuM1zB_f.js";
|
|
8
8
|
import { n as s } from "./surface-C69kwSuk.js";
|
|
9
9
|
import { t as c } from "./trigger-style-CtOrdPk4.js";
|
|
10
10
|
import { a as l, i as u } from "./overlay-layer-qEbpEtb8.js";
|
package/dist/hover-card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { t as HoverCard } from "./hover-card
|
|
2
|
+
export { t as HoverCard } from "./hover-card--ijYr1cd.js";
|
package/dist/index.js
CHANGED
|
@@ -5,100 +5,100 @@ import { t as n } from "./alert-Bhj-qSMs.js";
|
|
|
5
5
|
import { t as r } from "./button-C6OV0C7J.js";
|
|
6
6
|
import { t as i } from "./countdown-EcpV6rXy.js";
|
|
7
7
|
import { t as a } from "./announcement-bar-B5J33QUh.js";
|
|
8
|
-
import { t as o } from "./avatar-
|
|
9
|
-
import { t as s } from "./avatar-group-
|
|
8
|
+
import { t as o } from "./avatar-BuM1zB_f.js";
|
|
9
|
+
import { t as s } from "./avatar-group-D1UEihvh.js";
|
|
10
10
|
import { t as c } from "./badge-CfhTcA-Z.js";
|
|
11
|
-
import { t as l } from "./
|
|
12
|
-
import { t as u } from "./
|
|
13
|
-
import { t as d } from "./
|
|
14
|
-
import { t as f } from "./
|
|
15
|
-
import { t as p } from "./
|
|
16
|
-
import { t as m } from "./
|
|
17
|
-
import { t as h } from "./
|
|
18
|
-
import { t as g } from "./
|
|
19
|
-
import { t as _ } from "./
|
|
20
|
-
import { t as v } from "./
|
|
21
|
-
import { t as y } from "./
|
|
22
|
-
import { t as b } from "./
|
|
23
|
-
import { t as x } from "./
|
|
24
|
-
import { t as S } from "./
|
|
25
|
-
import { t as C } from "./
|
|
26
|
-
import { t as w } from "./
|
|
27
|
-
import { t as T } from "./
|
|
28
|
-
import { t as E } from "./
|
|
29
|
-
import { t as D } from "./
|
|
30
|
-
import { t as O } from "./
|
|
31
|
-
import { t as k } from "./
|
|
32
|
-
import { t as A } from "./
|
|
33
|
-
import { t as j } from "./
|
|
34
|
-
import { t as M } from "./
|
|
35
|
-
import { t as N } from "./
|
|
36
|
-
import { t as P } from "./
|
|
37
|
-
import { t as F } from "./
|
|
38
|
-
import { t as I } from "./
|
|
39
|
-
import { t as L } from "./
|
|
40
|
-
import { t as R } from "./
|
|
41
|
-
import { t as z } from "./search-
|
|
42
|
-
import { t as B } from "./
|
|
43
|
-
import { t as V } from "./
|
|
44
|
-
import { t as H } from "./
|
|
45
|
-
import { t as U } from "./
|
|
46
|
-
import { t as W } from "./
|
|
47
|
-
import { i as G, n as K, r as q, t as J } from "./game-card-
|
|
11
|
+
import { t as l } from "./bottom-sheet-BFQKO0Wo.js";
|
|
12
|
+
import { t as u } from "./breadcrumbs-CG3akw-b.js";
|
|
13
|
+
import { t as d } from "./menu-CVzpsyXn.js";
|
|
14
|
+
import { t as f } from "./tooltip-IajLwdUb.js";
|
|
15
|
+
import { t as p } from "./button-group-B9wP2ddS.js";
|
|
16
|
+
import { t as m } from "./calendar-Bg6D2sul.js";
|
|
17
|
+
import { t as h } from "./card-C008OQCp.js";
|
|
18
|
+
import { t as g } from "./carousel-lTH4Foke.js";
|
|
19
|
+
import { t as _ } from "./textarea-D1YwEPmn.js";
|
|
20
|
+
import { t as v } from "./chat-thread-CMhwxhoA.js";
|
|
21
|
+
import { t as y } from "./checkbox-CClE61GV.js";
|
|
22
|
+
import { t as b } from "./chip-group-BZUX9KPF.js";
|
|
23
|
+
import { t as x } from "./copy-button-C0p_qrgf.js";
|
|
24
|
+
import { t as S } from "./code-block-CYP89_6h.js";
|
|
25
|
+
import { t as C } from "./command-palette-BrT1n9bb.js";
|
|
26
|
+
import { t as w } from "./text-field-D0VP7b4P.js";
|
|
27
|
+
import { t as T } from "./combobox-D2Oc-co7.js";
|
|
28
|
+
import { t as E } from "./comment-thread-DbOzYr0q.js";
|
|
29
|
+
import { t as D } from "./container-BxtwJSSD.js";
|
|
30
|
+
import { t as O } from "./context-menu-I4i0LRpm.js";
|
|
31
|
+
import { t as k } from "./date-picker-D-bn-iHs.js";
|
|
32
|
+
import { t as A } from "./date-range-picker-rXcZsI1Y.js";
|
|
33
|
+
import { t as j } from "./dialog-CR1xdkrC.js";
|
|
34
|
+
import { t as M } from "./divider-zOJzkcHh.js";
|
|
35
|
+
import { t as N } from "./drawer-CceaEhCr.js";
|
|
36
|
+
import { t as P } from "./editable-details-BndqEnYF.js";
|
|
37
|
+
import { t as F } from "./emblem-DnXmpZCh.js";
|
|
38
|
+
import { t as I } from "./empty-state-DO0ApylK.js";
|
|
39
|
+
import { t as L } from "./expandable-card-W97vjix9.js";
|
|
40
|
+
import { t as R } from "./search-field-CbsajaZb.js";
|
|
41
|
+
import { t as z } from "./expanding-search-Bb2_YfNx.js";
|
|
42
|
+
import { t as B } from "./progress-Bcuz3Ob4.js";
|
|
43
|
+
import { t as V } from "./file-dropzone-Bi5ikRIz.js";
|
|
44
|
+
import { t as H } from "./filter-toolbar-QRnC4S_H.js";
|
|
45
|
+
import { t as U } from "./flex-CS7eMRcK.js";
|
|
46
|
+
import { t as W } from "./flip-game-card-BOJIhBrh.js";
|
|
47
|
+
import { i as G, n as K, r as q, t as J } from "./game-card-Bnhpz78f.js";
|
|
48
48
|
import { t as Y } from "./hold-to-confirm-CVBA0wNT.js";
|
|
49
49
|
import { t as X } from "./image-compare-Ln2UUqTU.js";
|
|
50
|
-
import { t as Z } from "./
|
|
51
|
-
import { t as Q } from "./
|
|
52
|
-
import { t as $ } from "./
|
|
53
|
-
import { t as ee } from "./
|
|
54
|
-
import { t as te } from "./
|
|
55
|
-
import { t as ne } from "./
|
|
56
|
-
import { t as re } from "./
|
|
57
|
-
import { t as ie } from "./
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import { t as le } from "./
|
|
61
|
-
import { t as ue } from "./
|
|
62
|
-
import { t as de } from "./
|
|
63
|
-
import { t as fe } from "./
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { t as ge } from "./
|
|
67
|
-
import { t as _e } from "./
|
|
68
|
-
import { t as ve } from "./
|
|
69
|
-
import { t as ye } from "./
|
|
70
|
-
import { t as be } from "./radio-
|
|
71
|
-
import { t as xe } from "./
|
|
72
|
-
import { t as Se } from "./
|
|
73
|
-
import { t as Ce } from "./
|
|
50
|
+
import { t as Z } from "./inline-edit-D-pR2RPC.js";
|
|
51
|
+
import { t as Q } from "./hover-card--ijYr1cd.js";
|
|
52
|
+
import { t as $ } from "./json-viewer-Dro3WrjS.js";
|
|
53
|
+
import { t as ee } from "./kbd-BI_9qzYr.js";
|
|
54
|
+
import { t as te } from "./keycap-keyboard-Cdx-OAS1.js";
|
|
55
|
+
import { t as ne } from "./lightbox-gallery-D0YaSTut.js";
|
|
56
|
+
import { t as re } from "./link-unfurl-CReyIjyy.js";
|
|
57
|
+
import { t as ie } from "./locale-switcher-Ce_tN4Gb.js";
|
|
58
|
+
import { n as ae, r as oe, t as se } from "./mention-input-BjjAbJCf.js";
|
|
59
|
+
import { t as ce } from "./pill-Dd7pog19.js";
|
|
60
|
+
import { t as le } from "./metric-card-BnFssTXj.js";
|
|
61
|
+
import { t as ue } from "./multi-select-B3puEVo0.js";
|
|
62
|
+
import { t as de } from "./navigation-C_JD43gA.js";
|
|
63
|
+
import { t as fe } from "./slider-DjAnGmlC.js";
|
|
64
|
+
import { n as pe, t as me } from "./now-playing-DjVm1Phm.js";
|
|
65
|
+
import { t as he } from "./pagination-Dkh4bJQh.js";
|
|
66
|
+
import { t as ge } from "./password-field-Da58GP1g.js";
|
|
67
|
+
import { t as _e } from "./photo-grid-Dtl17D74.js";
|
|
68
|
+
import { t as ve } from "./popover-CUMOcMtj.js";
|
|
69
|
+
import { t as ye } from "./radio-cards-FkAhESb5.js";
|
|
70
|
+
import { t as be } from "./radio-group-DItMf2YM.js";
|
|
71
|
+
import { t as xe } from "./resizable-panels-61h9hA3B.js";
|
|
72
|
+
import { t as Se } from "./scroll-area-B8KkCPOM.js";
|
|
73
|
+
import { t as Ce } from "./segmented-control-DCh-4ca-.js";
|
|
74
74
|
import { t as we } from "./select-SrcQqZjo.js";
|
|
75
75
|
import { n as Te, t as Ee } from "./sheet-stack-DYX1SGSB.js";
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import { t as
|
|
79
|
-
import { t as
|
|
80
|
-
import { t as
|
|
81
|
-
import { t as
|
|
82
|
-
import { t as
|
|
83
|
-
import { t as
|
|
84
|
-
import { t as
|
|
85
|
-
import { t as
|
|
86
|
-
import { t as
|
|
87
|
-
import { t as
|
|
88
|
-
import { t as
|
|
89
|
-
import { n as
|
|
90
|
-
import {
|
|
91
|
-
import { t as
|
|
92
|
-
import { t as
|
|
93
|
-
import {
|
|
94
|
-
import { a as it, n as at } from "./toast-CSAbl5yK.js";
|
|
76
|
+
import { i as De, n as Oe, r as ke, t as Ae } from "./signature-pad-khL2yhQI.js";
|
|
77
|
+
import { t as je } from "./skeleton-LJsQsveI.js";
|
|
78
|
+
import { t as Me } from "./sortable-data-table-Bpitup_d.js";
|
|
79
|
+
import { t as Ne } from "./spinner-CvzajSg9.js";
|
|
80
|
+
import { t as Pe } from "./split-button-Bu41f2AY.js";
|
|
81
|
+
import { t as Fe } from "./stack-Bac4sJeI.js";
|
|
82
|
+
import { t as Ie } from "./stepper-C8Ncavbr.js";
|
|
83
|
+
import { t as Le } from "./stretch-refresh-OrnTEj7P.js";
|
|
84
|
+
import { t as Re } from "./swipe-actions-1H5UOZKE.js";
|
|
85
|
+
import { t as ze } from "./switch-79-hkQqg.js";
|
|
86
|
+
import { t as Be } from "./tabs-Bb5-noYE.js";
|
|
87
|
+
import { t as Ve } from "./tag-input-BQaueKEb.js";
|
|
88
|
+
import { n as He, r as Ue, t as We } from "./theme-provider-BvcY-iJu.js";
|
|
89
|
+
import { n as Ge, r as Ke, t as qe } from "./theme-root-BrYVcTzt.js";
|
|
90
|
+
import { t as Je } from "./theme-switch-CP42mVDb.js";
|
|
91
|
+
import { t as Ye } from "./time-picker-Tnd-JBLC.js";
|
|
92
|
+
import { t as Xe } from "./timeline-BPKY94mT.js";
|
|
93
|
+
import { a as Ze, n as Qe } from "./toast-CSAbl5yK.js";
|
|
95
94
|
import "./toast.js";
|
|
96
|
-
import { t as
|
|
97
|
-
import { t as
|
|
95
|
+
import { t as $e } from "./toast-stack-BCR4Cu7V.js";
|
|
96
|
+
import { t as et } from "./toggle-group-C7ye1v4s.js";
|
|
97
|
+
import { t as tt } from "./toggle-subscription-Ytz7ew1q.js";
|
|
98
98
|
import "./tooltip.js";
|
|
99
|
-
import { t as
|
|
100
|
-
import { t as
|
|
101
|
-
import { t as
|
|
102
|
-
import { t as
|
|
103
|
-
import
|
|
104
|
-
export { e as Accordion, t as ActivityRings, n as Alert, a as AnnouncementBar, o as Avatar, s as AvatarGroup, c as Badge,
|
|
99
|
+
import { t as nt } from "./tree-view-CoW4oJIZ.js";
|
|
100
|
+
import { t as rt } from "./typewriter-terminal-BUEsMzo3.js";
|
|
101
|
+
import { t as it } from "./usage-meter-CYvlB6l3.js";
|
|
102
|
+
import { t as at } from "./user-menu-Czrrk93A.js";
|
|
103
|
+
import ot from "@emotion/styled";
|
|
104
|
+
export { e as Accordion, t as ActivityRings, n as Alert, a as AnnouncementBar, o as Avatar, s as AvatarGroup, c as Badge, l as BottomSheet, u as Breadcrumbs, r as Button, p as ButtonGroup, m as Calendar, h as Card, g as Carousel, v as ChatThread, y as Checkbox, b as ChipGroup, S as CodeBlock, T as Combobox, C as CommandPalette, E as CommentThread, D as Container, O as ContextMenu, x as CopyButton, i as Countdown, k as DatePicker, A as DateRangePicker, j as Dialog, M as Divider, N as Drawer, P as EditableDetails, F as Emblem, I as EmptyState, L as ExpandableCard, z as ExpandingSearch, V as FileDropzone, H as FilterToolbar, U as Flex, W as FlipGameCard, J as GameCard, Y as HoldToConfirm, Q as HoverCard, X as ImageCompare, Z as InlineEdit, $ as JsonViewer, ee as Kbd, te as KeycapKeyboard, ne as LightboxGallery, re as LinkUnfurl, ie as LocaleSwitcher, se as MentionInput, d as Menu, le as MetricCard, ue as MultiSelect, de as Navigation, me as NowPlaying, pe as NowPlayingLevels, he as Pagination, ge as PasswordField, _e as PhotoGrid, ce as Pill, ve as Popover, B as Progress, K as RANK_MARKS, ye as RadioCards, be as RadioGroup, xe as ResizablePanels, q as SUIT_GLYPHS, G as SUIT_INK, Se as ScrollArea, R as SearchField, Ce as SegmentedControl, we as Select, Ee as SheetStack, Ae as SignatureExportError, Oe as SignaturePad, je as Skeleton, fe as Slider, Me as SortableDataTable, Ne as Spinner, Pe as SplitButton, Fe as Stack, Ie as Stepper, Le as StretchRefresh, Re as SwipeActions, ze as Switch, Be as Tabs, Ve as TagInput, w as TextField, _ as Textarea, We as ThemeProvider, qe as ThemeRoot, Je as ThemeSwitch, Ye as TimePicker, Xe as Timeline, Qe as Toast, $e as ToastStack, et as ToggleGroup, tt as ToggleSubscription, f as Tooltip, nt as TreeView, rt as TypewriterTerminal, it as UsageMeter, at as UserMenu, Ge as createTheme, ae as mentionText, oe as serializeMentions, ke as signatureToPng, De as signatureToSvg, ot as styled, Ue as theme, Ke as themeTokenStyle, Te as useSheetStack, He as useTheme, Ze as useToast };
|
|
@@ -324,12 +324,12 @@ var Q = {
|
|
|
324
324
|
menu: q,
|
|
325
325
|
swap: J,
|
|
326
326
|
inline: X,
|
|
327
|
-
|
|
327
|
+
pills: Z
|
|
328
328
|
}, ee = {
|
|
329
329
|
menu: "div",
|
|
330
330
|
swap: "div",
|
|
331
331
|
inline: "nav",
|
|
332
|
-
|
|
332
|
+
pills: "nav"
|
|
333
333
|
};
|
|
334
334
|
function $({ ref: e, options: t, value: n, variant: r = "menu", size: a = "md", triggerLabel: o, label: s, icon: c = U, open: l, defaultOpen: u, onOpenChange: d, placement: f, slotProps: p, className: m, sx: h, ...g }) {
|
|
335
335
|
let _ = w([e]), y = t.find((e) => e.value === n), b = t.length, x = y !== void 0, C = !!o;
|
package/dist/locale-switcher.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { t as LocaleSwitcher } from "./locale-switcher-
|
|
2
|
+
export { t as LocaleSwitcher } from "./locale-switcher-Ce_tN4Gb.js";
|
|
@@ -4,7 +4,7 @@ import { n as t } from "./media-8yrN85VT.js";
|
|
|
4
4
|
import { n } from "./roving-focus-CYlo_Kf8.js";
|
|
5
5
|
import { t as r } from "./visually-hidden-DgVO3NaB.js";
|
|
6
6
|
import { t as i } from "./button-C6OV0C7J.js";
|
|
7
|
-
import { t as a } from "./avatar-
|
|
7
|
+
import { t as a } from "./avatar-BuM1zB_f.js";
|
|
8
8
|
import { n as o, o as s, s as c, t as l } from "./listbox-style-DNOxAulu.js";
|
|
9
9
|
import { t as u } from "./overlay-portal-C9igMHnC.js";
|
|
10
10
|
import { t as d } from "./part-id-D0zksy32.js";
|
|
@@ -9,7 +9,7 @@ import { t as c } from "./use-controlled-state-DpeVQZNR.js";
|
|
|
9
9
|
import { t as l } from "./visually-hidden-DgVO3NaB.js";
|
|
10
10
|
import { t as u } from "./renderable-DzcIj1Lo.js";
|
|
11
11
|
import { t as d } from "./icon-wrapper-C-zMD0uL.js";
|
|
12
|
-
import { t as f } from "./avatar-
|
|
12
|
+
import { t as f } from "./avatar-BuM1zB_f.js";
|
|
13
13
|
import { t as p } from "./part-id-D0zksy32.js";
|
|
14
14
|
import { useEffect as ee, useId as te, useLayoutEffect as ne, useMemo as m, useRef as h, useState as re } from "react";
|
|
15
15
|
import { vars as g } from "@jfrader/tokens/vars";
|
package/dist/timeline.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { t as Timeline } from "./timeline-
|
|
2
|
+
export { t as Timeline } from "./timeline-BPKY94mT.js";
|