@cakejp/design-system 0.5.0 → 0.6.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 +19 -0
- package/CLAUDE.md +22 -128
- package/README.md +5 -0
- package/bin/init.js +2 -2
- package/contracts/rules.json +17 -0
- package/dist/index.css +1 -1
- package/dist/index.js +570 -555
- package/dist/types/components/primitives/list-item.d.ts +4 -1
- package/package.json +3 -3
- package/templates/AGENTS.md +1 -1
- package/templates/CLAUDE.md +1 -1
- package/AGENTS.md +0 -144
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { clsx as
|
|
2
|
+
import { clsx as Pa } from "clsx";
|
|
3
3
|
import { twMerge as Ba } from "tailwind-merge";
|
|
4
|
-
import { jsx as e, jsxs as i, Fragment as
|
|
4
|
+
import { jsx as e, jsxs as i, Fragment as D } from "react/jsx-runtime";
|
|
5
5
|
import * as w from "react";
|
|
6
|
-
import
|
|
7
|
-
import { ChevronDownIcon as ne, MoreHorizontal as
|
|
8
|
-
import { Accordion as re, Slot as ye, AlertDialog as
|
|
9
|
-
import { cva as
|
|
10
|
-
import { Warning2 as
|
|
6
|
+
import Ha from "react";
|
|
7
|
+
import { ChevronDownIcon as ne, MoreHorizontal as ja, ChevronRight as La, ChevronLeftIcon as la, ChevronRightIcon as oe, XIcon as da, SearchIcon as _a, CheckIcon as ge, CircleIcon as _e, ChevronUpIcon as Ia, MoreHorizontalIcon as Aa, Check as Ie, Loader2Icon as Da, OctagonXIcon as Oa, TriangleAlertIcon as Ra, InfoIcon as Fa, CircleCheckIcon as $a, X as xe, Loader2 as Wa, StarHalf as Va } from "lucide-react";
|
|
8
|
+
import { Accordion as re, Slot as ye, AlertDialog as q, AspectRatio as qa, Avatar as Ae, Checkbox as me, Collapsible as De, Dialog as H, ContextMenu as j, Select as O, DropdownMenu as L, Label as Ga, HoverCard as ue, Menubar as _, NavigationMenu as K, Popover as pe, Progress as qe, RadioGroup as Be, ScrollArea as te, Separator as Ka, Slider as de, Switch as Ge, Tabs as Ne, Toggle as Ua, ToggleGroup as ca, Tooltip as ae } from "radix-ui";
|
|
9
|
+
import { cva as R } from "class-variance-authority";
|
|
10
|
+
import { Warning2 as Xa, CloseCircle as Ja, InfoCircle as we, TickCircle as Ya, MinusSquare as Qa, TickSquare as ma, ArrowLeft2 as le, ArrowRight2 as V, Setting4 as Za, ArrowDown2 as Y, Trash as He, Add as se, More as et, ArrowUp2 as at, Notification as Oe, Minus as je, SearchNormal1 as Te, Link2 as tt, Home2 as ua, ShoppingCart as pa, Cake as rt, Shop as ke, Chart2 as st, Box as ha, Setting2 as va, HamburgerMenu as it, User as fa, Calendar as Re, Ticket2 as Fe, Clock as nt, Bookmark as ba, Monitor as ot, Star1 as Le, Edit2 as lt, Gift as dt, People as ct, Sms as mt, Card as ut, Logout as pt, ShieldTick as ht, Tag2 as vt, ExportSquare as ft, Like1 as bt, Camera as gt, Location as xt, TrendUp as yt, TrendDown as Nt, ArrowLeft as Ke } from "iconsax-reactjs";
|
|
11
11
|
import { getDefaultClassNames as ga, DayPicker as wt } from "react-day-picker";
|
|
12
12
|
import { Command as Q } from "cmdk";
|
|
13
|
-
import { Drawer as
|
|
14
|
-
import { FormProvider as Tt, Controller as kt, useFormContext as zt, useFormState as
|
|
15
|
-
import { useTheme as
|
|
16
|
-
import { Toaster as
|
|
13
|
+
import { Drawer as U } from "vaul";
|
|
14
|
+
import { FormProvider as Tt, Controller as kt, useFormContext as zt, useFormState as Et } from "react-hook-form";
|
|
15
|
+
import { useTheme as St } from "next-themes";
|
|
16
|
+
import { Toaster as Ct } from "sonner";
|
|
17
17
|
function s(...a) {
|
|
18
|
-
return Ba(
|
|
18
|
+
return Ba(Pa(a));
|
|
19
19
|
}
|
|
20
20
|
function Ns({
|
|
21
21
|
...a
|
|
@@ -30,7 +30,7 @@ function ws({
|
|
|
30
30
|
re.Item,
|
|
31
31
|
{
|
|
32
32
|
"data-slot": "accordion-item",
|
|
33
|
-
className: s("border-b last:border-b-0", a),
|
|
33
|
+
className: s("border-b border-[var(--Border-Medium-Emphasis)] last:border-b-0", a),
|
|
34
34
|
...t
|
|
35
35
|
}
|
|
36
36
|
);
|
|
@@ -45,7 +45,7 @@ function Ts({
|
|
|
45
45
|
{
|
|
46
46
|
"data-slot": "accordion-trigger",
|
|
47
47
|
className: s(
|
|
48
|
-
"flex w-full flex-1 cursor-pointer items-center justify-between gap-4 py-4 text-left typo-label-md transition-all outline-none hover:bg-[var(--Surface-Tertiary)]/60 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
48
|
+
"flex w-full flex-1 cursor-pointer items-center justify-between gap-4 py-4 text-left typo-label-md text-[var(--Text-High-Emphasis)] transition-all outline-none hover:bg-[var(--Surface-Tertiary)]/60 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
49
49
|
a
|
|
50
50
|
),
|
|
51
51
|
...r,
|
|
@@ -71,7 +71,7 @@ function ks({
|
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const Ue = R(
|
|
75
75
|
"relative w-full",
|
|
76
76
|
{
|
|
77
77
|
variants: {
|
|
@@ -124,7 +124,7 @@ const Xe = D(
|
|
|
124
124
|
variant: "info"
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
),
|
|
127
|
+
), Xe = R(
|
|
128
128
|
"flex w-full gap-2 items-start p-4 rounded-lg border",
|
|
129
129
|
{
|
|
130
130
|
variants: {
|
|
@@ -142,11 +142,11 @@ const Xe = D(
|
|
|
142
142
|
variant: "info"
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
), he = w.createContext("info"),
|
|
145
|
+
), he = w.createContext("info"), Mt = (a) => a === "success" || a === "info" || a === "error" || a === "warning", Pt = {
|
|
146
146
|
success: { Icon: Ya, color: "text-[var(--Text-Success)]" },
|
|
147
147
|
info: { Icon: we, color: "text-[var(--Text-Medium-Emphasis)]" },
|
|
148
148
|
error: { Icon: Ja, color: "text-[var(--Text-Caution)]" },
|
|
149
|
-
warning: { Icon:
|
|
149
|
+
warning: { Icon: Xa, color: "text-[var(--Text-Warning)]" }
|
|
150
150
|
};
|
|
151
151
|
function zs({
|
|
152
152
|
className: a,
|
|
@@ -158,18 +158,18 @@ function zs({
|
|
|
158
158
|
action: d,
|
|
159
159
|
...u
|
|
160
160
|
}) {
|
|
161
|
-
const c =
|
|
161
|
+
const c = Mt(t);
|
|
162
162
|
if (c && !r && (n || o)) {
|
|
163
|
-
const { Icon: v, color: h } =
|
|
163
|
+
const { Icon: v, color: h } = Pt[t], b = xa[t] ?? "", p = l ?? /* @__PURE__ */ e(v, { size: 24, className: s("shrink-0", h) });
|
|
164
164
|
return /* @__PURE__ */ e(he.Provider, { value: t, children: /* @__PURE__ */ e(
|
|
165
165
|
"div",
|
|
166
166
|
{
|
|
167
167
|
"data-slot": "alert",
|
|
168
168
|
"data-variant": t,
|
|
169
169
|
role: "alert",
|
|
170
|
-
className: s(
|
|
170
|
+
className: s(Ue({ variant: t }), a),
|
|
171
171
|
...u,
|
|
172
|
-
children: /* @__PURE__ */ i("div", { className:
|
|
172
|
+
children: /* @__PURE__ */ i("div", { className: Xe({ variant: t }), children: [
|
|
173
173
|
p,
|
|
174
174
|
/* @__PURE__ */ i("div", { className: "flex-1 min-w-0", children: [
|
|
175
175
|
n && /* @__PURE__ */ e("div", { className: s("typo-label-md", b), children: n }),
|
|
@@ -186,9 +186,9 @@ function zs({
|
|
|
186
186
|
"data-slot": "alert",
|
|
187
187
|
"data-variant": t,
|
|
188
188
|
role: "alert",
|
|
189
|
-
className: s(
|
|
189
|
+
className: s(Ue({ variant: t }), a),
|
|
190
190
|
...u,
|
|
191
|
-
children: c ? /* @__PURE__ */ e("div", { className:
|
|
191
|
+
children: c ? /* @__PURE__ */ e("div", { className: Xe({ variant: t }), children: r }) : r
|
|
192
192
|
}
|
|
193
193
|
) });
|
|
194
194
|
}
|
|
@@ -201,7 +201,7 @@ const xa = {
|
|
|
201
201
|
"inline-caution": "text-[var(--Text-Caution)]",
|
|
202
202
|
"inline-warning": "text-[var(--Text-Warning)]"
|
|
203
203
|
};
|
|
204
|
-
function
|
|
204
|
+
function Es({ className: a, ...t }) {
|
|
205
205
|
const r = w.useContext(he), n = xa[r ?? "info"] ?? "";
|
|
206
206
|
return /* @__PURE__ */ e(
|
|
207
207
|
"div",
|
|
@@ -221,7 +221,7 @@ const Bt = {
|
|
|
221
221
|
"inline-caution": "text-[var(--Text-Caution)]",
|
|
222
222
|
"inline-warning": "text-[var(--Text-Warning)]"
|
|
223
223
|
};
|
|
224
|
-
function
|
|
224
|
+
function Ss({
|
|
225
225
|
className: a,
|
|
226
226
|
...t
|
|
227
227
|
}) {
|
|
@@ -239,8 +239,8 @@ function Cs({
|
|
|
239
239
|
}
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
const ve =
|
|
243
|
-
"inline-flex shrink-0 items-center justify-center gap-2 rounded-
|
|
242
|
+
const ve = R(
|
|
243
|
+
"inline-flex shrink-0 items-center justify-center gap-2 rounded-lg typo-label-md whitespace-nowrap transition-all outline-none focus-visible:border-[var(--Focus-High-Emphasis)] focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50 disabled:pointer-events-none aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
244
244
|
{
|
|
245
245
|
variants: {
|
|
246
246
|
variant: {
|
|
@@ -265,20 +265,20 @@ const ve = D(
|
|
|
265
265
|
},
|
|
266
266
|
size: {
|
|
267
267
|
default: "h-10 px-5 py-2 has-[>svg]:px-4",
|
|
268
|
-
xs: "h-6 gap-1 rounded
|
|
269
|
-
sm: "h-8 gap-1.5 rounded-
|
|
270
|
-
lg: "h-12 rounded-
|
|
271
|
-
xl: "h-14 rounded-[
|
|
268
|
+
xs: "h-6 gap-1 rounded px-2 typo-label-sm has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
269
|
+
sm: "h-8 gap-1.5 rounded-lg px-3 has-[>svg]:px-2.5",
|
|
270
|
+
lg: "h-12 rounded-xl px-6 typo-label-lg has-[>svg]:px-5",
|
|
271
|
+
xl: "h-14 rounded-[14px] px-6 typo-label-lg has-[>svg]:px-5",
|
|
272
272
|
/**
|
|
273
273
|
* hero — トップページの hero / final-CTA 専用の特大 CTA。
|
|
274
274
|
* min-height 3.5rem (56px), padding 0 1.5rem, fully rounded。
|
|
275
275
|
* xl と異なり pill shape (rounded-full) で印象的に。
|
|
276
276
|
*/
|
|
277
277
|
hero: "min-h-14 rounded-full px-6 typo-label-lg has-[>svg]:px-5",
|
|
278
|
-
icon: "size-9 rounded-
|
|
279
|
-
"icon-xs": "size-6 rounded
|
|
280
|
-
"icon-sm": "size-8 rounded-
|
|
281
|
-
"icon-lg": "size-10 rounded-
|
|
278
|
+
icon: "size-9 rounded-lg",
|
|
279
|
+
"icon-xs": "size-6 rounded [&_svg:not([class*='size-'])]:size-3",
|
|
280
|
+
"icon-sm": "size-8 rounded-lg",
|
|
281
|
+
"icon-lg": "size-10 rounded-lg"
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
defaultVariants: {
|
|
@@ -306,27 +306,27 @@ function T({
|
|
|
306
306
|
}
|
|
307
307
|
);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Cs({
|
|
310
310
|
...a
|
|
311
311
|
}) {
|
|
312
|
-
return /* @__PURE__ */ e(
|
|
312
|
+
return /* @__PURE__ */ e(q.Root, { "data-slot": "alert-dialog", ...a });
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Ms({
|
|
315
315
|
...a
|
|
316
316
|
}) {
|
|
317
|
-
return /* @__PURE__ */ e(
|
|
317
|
+
return /* @__PURE__ */ e(q.Trigger, { "data-slot": "alert-dialog-trigger", ...a });
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function Ht({
|
|
320
320
|
...a
|
|
321
321
|
}) {
|
|
322
|
-
return /* @__PURE__ */ e(
|
|
322
|
+
return /* @__PURE__ */ e(q.Portal, { "data-slot": "alert-dialog-portal", ...a });
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function jt({
|
|
325
325
|
className: a,
|
|
326
326
|
...t
|
|
327
327
|
}) {
|
|
328
328
|
return /* @__PURE__ */ e(
|
|
329
|
-
|
|
329
|
+
q.Overlay,
|
|
330
330
|
{
|
|
331
331
|
"data-slot": "alert-dialog-overlay",
|
|
332
332
|
className: s(
|
|
@@ -337,21 +337,21 @@ function Ht({
|
|
|
337
337
|
}
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Ps({
|
|
341
341
|
className: a,
|
|
342
342
|
size: t = "default",
|
|
343
343
|
...r
|
|
344
344
|
}) {
|
|
345
|
-
return /* @__PURE__ */ i(
|
|
346
|
-
/* @__PURE__ */ e(
|
|
345
|
+
return /* @__PURE__ */ i(Ht, { children: [
|
|
346
|
+
/* @__PURE__ */ e(jt, {}),
|
|
347
347
|
/* @__PURE__ */ e(
|
|
348
|
-
|
|
348
|
+
q.Content,
|
|
349
349
|
{
|
|
350
350
|
"data-slot": "alert-dialog-content",
|
|
351
351
|
"data-size": t,
|
|
352
352
|
onOpenAutoFocus: (n) => n.preventDefault(),
|
|
353
353
|
className: s(
|
|
354
|
-
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
354
|
+
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-[var(--Border-Medium-Emphasis)] bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
355
355
|
a
|
|
356
356
|
),
|
|
357
357
|
...r
|
|
@@ -375,7 +375,7 @@ function Bs({
|
|
|
375
375
|
}
|
|
376
376
|
);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Hs({
|
|
379
379
|
className: a,
|
|
380
380
|
...t
|
|
381
381
|
}) {
|
|
@@ -391,16 +391,16 @@ function js({
|
|
|
391
391
|
}
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function js({
|
|
395
395
|
className: a,
|
|
396
396
|
...t
|
|
397
397
|
}) {
|
|
398
398
|
return /* @__PURE__ */ e(
|
|
399
|
-
|
|
399
|
+
q.Title,
|
|
400
400
|
{
|
|
401
401
|
"data-slot": "alert-dialog-title",
|
|
402
402
|
className: s(
|
|
403
|
-
"typo-heading-lg sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
|
|
403
|
+
"typo-heading-lg text-[var(--Text-High-Emphasis)] sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
|
|
404
404
|
a
|
|
405
405
|
),
|
|
406
406
|
...t
|
|
@@ -412,7 +412,7 @@ function Ls({
|
|
|
412
412
|
...t
|
|
413
413
|
}) {
|
|
414
414
|
return /* @__PURE__ */ e(
|
|
415
|
-
|
|
415
|
+
q.Description,
|
|
416
416
|
{
|
|
417
417
|
"data-slot": "alert-dialog-description",
|
|
418
418
|
className: s("typo-body-sm text-muted-foreground", a),
|
|
@@ -427,7 +427,7 @@ function _s({
|
|
|
427
427
|
...n
|
|
428
428
|
}) {
|
|
429
429
|
return /* @__PURE__ */ e(T, { variant: t, size: r, asChild: !0, children: /* @__PURE__ */ e(
|
|
430
|
-
|
|
430
|
+
q.Action,
|
|
431
431
|
{
|
|
432
432
|
"data-slot": "alert-dialog-action",
|
|
433
433
|
className: s(a),
|
|
@@ -442,7 +442,7 @@ function Is({
|
|
|
442
442
|
...n
|
|
443
443
|
}) {
|
|
444
444
|
return /* @__PURE__ */ e(T, { variant: t, size: r, asChild: !0, children: /* @__PURE__ */ e(
|
|
445
|
-
|
|
445
|
+
q.Cancel,
|
|
446
446
|
{
|
|
447
447
|
"data-slot": "alert-dialog-cancel",
|
|
448
448
|
className: s(a),
|
|
@@ -502,7 +502,7 @@ function Rs({
|
|
|
502
502
|
}
|
|
503
503
|
);
|
|
504
504
|
}
|
|
505
|
-
const Lt =
|
|
505
|
+
const Lt = R(
|
|
506
506
|
"inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 typo-label-sm whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
507
507
|
{
|
|
508
508
|
variants: {
|
|
@@ -631,7 +631,7 @@ function Fs({
|
|
|
631
631
|
className: s("flex size-9 items-center justify-center", a),
|
|
632
632
|
...t,
|
|
633
633
|
children: [
|
|
634
|
-
/* @__PURE__ */ e(
|
|
634
|
+
/* @__PURE__ */ e(ja, { className: "size-4" }),
|
|
635
635
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "More" })
|
|
636
636
|
]
|
|
637
637
|
}
|
|
@@ -701,7 +701,7 @@ function $s({
|
|
|
701
701
|
c.dropdown
|
|
702
702
|
),
|
|
703
703
|
caption_label: s(
|
|
704
|
-
"typo-label-sm select-none",
|
|
704
|
+
"typo-label-sm select-none text-[var(--Text-Medium-Emphasis)]",
|
|
705
705
|
n === "label" ? "" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
|
|
706
706
|
c.caption_label
|
|
707
707
|
),
|
|
@@ -806,7 +806,7 @@ function Wt({ className: a, ...t }) {
|
|
|
806
806
|
{
|
|
807
807
|
"data-slot": "card",
|
|
808
808
|
className: s(
|
|
809
|
-
"flex flex-col gap-4 rounded-2xl border bg-card p-4 text-card-foreground",
|
|
809
|
+
"flex flex-col gap-4 rounded-2xl border border-[var(--Border-Medium-Emphasis)] bg-card p-4 text-card-foreground",
|
|
810
810
|
a
|
|
811
811
|
),
|
|
812
812
|
...t
|
|
@@ -869,7 +869,7 @@ function Vt({ className: a, ...t }) {
|
|
|
869
869
|
}
|
|
870
870
|
);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ks({ className: a, ...t }) {
|
|
873
873
|
return /* @__PURE__ */ e(
|
|
874
874
|
"div",
|
|
875
875
|
{
|
|
@@ -908,7 +908,7 @@ function Je({
|
|
|
908
908
|
}
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function Us({
|
|
912
912
|
label: a,
|
|
913
913
|
description: t,
|
|
914
914
|
count: r,
|
|
@@ -942,7 +942,7 @@ function Xs({
|
|
|
942
942
|
}
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function Xs({
|
|
946
946
|
className: a,
|
|
947
947
|
...t
|
|
948
948
|
}) {
|
|
@@ -1069,29 +1069,29 @@ function Zs({
|
|
|
1069
1069
|
function qt({
|
|
1070
1070
|
...a
|
|
1071
1071
|
}) {
|
|
1072
|
-
return /* @__PURE__ */ e(
|
|
1072
|
+
return /* @__PURE__ */ e(H.Root, { "data-slot": "dialog", ...a });
|
|
1073
1073
|
}
|
|
1074
1074
|
function ei({
|
|
1075
1075
|
...a
|
|
1076
1076
|
}) {
|
|
1077
|
-
return /* @__PURE__ */ e(
|
|
1077
|
+
return /* @__PURE__ */ e(H.Trigger, { "data-slot": "dialog-trigger", ...a });
|
|
1078
1078
|
}
|
|
1079
1079
|
function Gt({
|
|
1080
1080
|
...a
|
|
1081
1081
|
}) {
|
|
1082
|
-
return /* @__PURE__ */ e(
|
|
1082
|
+
return /* @__PURE__ */ e(H.Portal, { "data-slot": "dialog-portal", ...a });
|
|
1083
1083
|
}
|
|
1084
1084
|
function ai({
|
|
1085
1085
|
...a
|
|
1086
1086
|
}) {
|
|
1087
|
-
return /* @__PURE__ */ e(
|
|
1087
|
+
return /* @__PURE__ */ e(H.Close, { "data-slot": "dialog-close", ...a });
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function Kt({
|
|
1090
1090
|
className: a,
|
|
1091
1091
|
...t
|
|
1092
1092
|
}) {
|
|
1093
1093
|
return /* @__PURE__ */ e(
|
|
1094
|
-
|
|
1094
|
+
H.Overlay,
|
|
1095
1095
|
{
|
|
1096
1096
|
"data-slot": "dialog-overlay",
|
|
1097
1097
|
className: s(
|
|
@@ -1102,16 +1102,16 @@ function Ut({
|
|
|
1102
1102
|
}
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Ut({
|
|
1106
1106
|
className: a,
|
|
1107
1107
|
children: t,
|
|
1108
1108
|
showCloseButton: r = !0,
|
|
1109
1109
|
...n
|
|
1110
1110
|
}) {
|
|
1111
1111
|
return /* @__PURE__ */ i(Gt, { "data-slot": "dialog-portal", children: [
|
|
1112
|
-
/* @__PURE__ */ e(
|
|
1112
|
+
/* @__PURE__ */ e(Kt, {}),
|
|
1113
1113
|
/* @__PURE__ */ i(
|
|
1114
|
-
|
|
1114
|
+
H.Content,
|
|
1115
1115
|
{
|
|
1116
1116
|
"data-slot": "dialog-content",
|
|
1117
1117
|
onOpenAutoFocus: (o) => o.preventDefault(),
|
|
@@ -1123,7 +1123,7 @@ function Xt({
|
|
|
1123
1123
|
children: [
|
|
1124
1124
|
t,
|
|
1125
1125
|
r && /* @__PURE__ */ i(
|
|
1126
|
-
|
|
1126
|
+
H.Close,
|
|
1127
1127
|
{
|
|
1128
1128
|
"data-slot": "dialog-close",
|
|
1129
1129
|
className: "absolute top-2 right-2 flex size-10 items-center justify-center rounded-full text-[var(--Text-Low-Emphasis)] transition-colors hover:bg-[var(--Surface-Tertiary)] hover:text-[var(--Text-High-Emphasis)] focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)] focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
@@ -1138,7 +1138,7 @@ function Xt({
|
|
|
1138
1138
|
)
|
|
1139
1139
|
] });
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Xt({ className: a, ...t }) {
|
|
1142
1142
|
return /* @__PURE__ */ e(
|
|
1143
1143
|
"div",
|
|
1144
1144
|
{
|
|
@@ -1165,7 +1165,7 @@ function ti({
|
|
|
1165
1165
|
...n,
|
|
1166
1166
|
children: [
|
|
1167
1167
|
r,
|
|
1168
|
-
t && /* @__PURE__ */ e(
|
|
1168
|
+
t && /* @__PURE__ */ e(H.Close, { asChild: !0, children: /* @__PURE__ */ e(T, { variant: "tertiary", children: "Close" }) })
|
|
1169
1169
|
]
|
|
1170
1170
|
}
|
|
1171
1171
|
);
|
|
@@ -1175,7 +1175,7 @@ function Jt({
|
|
|
1175
1175
|
...t
|
|
1176
1176
|
}) {
|
|
1177
1177
|
return /* @__PURE__ */ e(
|
|
1178
|
-
|
|
1178
|
+
H.Title,
|
|
1179
1179
|
{
|
|
1180
1180
|
"data-slot": "dialog-title",
|
|
1181
1181
|
className: s("typo-heading-lg text-[var(--Text-High-Emphasis)]", a),
|
|
@@ -1188,7 +1188,7 @@ function Yt({
|
|
|
1188
1188
|
...t
|
|
1189
1189
|
}) {
|
|
1190
1190
|
return /* @__PURE__ */ e(
|
|
1191
|
-
|
|
1191
|
+
H.Description,
|
|
1192
1192
|
{
|
|
1193
1193
|
"data-slot": "dialog-description",
|
|
1194
1194
|
className: s("typo-body-sm text-[var(--Text-Medium-Emphasis)]", a),
|
|
@@ -1221,12 +1221,12 @@ function ri({
|
|
|
1221
1221
|
...l
|
|
1222
1222
|
}) {
|
|
1223
1223
|
return /* @__PURE__ */ i(qt, { ...l, children: [
|
|
1224
|
-
/* @__PURE__ */ i(
|
|
1224
|
+
/* @__PURE__ */ i(Xt, { className: "sr-only", children: [
|
|
1225
1225
|
/* @__PURE__ */ e(Jt, { children: a }),
|
|
1226
1226
|
/* @__PURE__ */ e(Yt, { children: t })
|
|
1227
1227
|
] }),
|
|
1228
1228
|
/* @__PURE__ */ e(
|
|
1229
|
-
|
|
1229
|
+
Ut,
|
|
1230
1230
|
{
|
|
1231
1231
|
className: s("overflow-hidden p-0", n),
|
|
1232
1232
|
showCloseButton: o,
|
|
@@ -1243,7 +1243,7 @@ function si({
|
|
|
1243
1243
|
"div",
|
|
1244
1244
|
{
|
|
1245
1245
|
"data-slot": "command-input-wrapper",
|
|
1246
|
-
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
1246
|
+
className: "flex h-9 items-center gap-2 border-b border-[var(--Border-Medium-Emphasis)] px-3",
|
|
1247
1247
|
children: [
|
|
1248
1248
|
/* @__PURE__ */ e(_a, { className: "size-4 shrink-0 opacity-50" }),
|
|
1249
1249
|
/* @__PURE__ */ e(
|
|
@@ -1353,33 +1353,33 @@ function ci({
|
|
|
1353
1353
|
function mi({
|
|
1354
1354
|
...a
|
|
1355
1355
|
}) {
|
|
1356
|
-
return /* @__PURE__ */ e(
|
|
1356
|
+
return /* @__PURE__ */ e(j.Root, { "data-slot": "context-menu", ...a });
|
|
1357
1357
|
}
|
|
1358
1358
|
function ui({
|
|
1359
1359
|
...a
|
|
1360
1360
|
}) {
|
|
1361
|
-
return /* @__PURE__ */ e(
|
|
1361
|
+
return /* @__PURE__ */ e(j.Trigger, { "data-slot": "context-menu-trigger", ...a });
|
|
1362
1362
|
}
|
|
1363
1363
|
function pi({
|
|
1364
1364
|
...a
|
|
1365
1365
|
}) {
|
|
1366
|
-
return /* @__PURE__ */ e(
|
|
1366
|
+
return /* @__PURE__ */ e(j.Group, { "data-slot": "context-menu-group", ...a });
|
|
1367
1367
|
}
|
|
1368
1368
|
function hi({
|
|
1369
1369
|
...a
|
|
1370
1370
|
}) {
|
|
1371
|
-
return /* @__PURE__ */ e(
|
|
1371
|
+
return /* @__PURE__ */ e(j.Portal, { "data-slot": "context-menu-portal", ...a });
|
|
1372
1372
|
}
|
|
1373
1373
|
function vi({
|
|
1374
1374
|
...a
|
|
1375
1375
|
}) {
|
|
1376
|
-
return /* @__PURE__ */ e(
|
|
1376
|
+
return /* @__PURE__ */ e(j.Sub, { "data-slot": "context-menu-sub", ...a });
|
|
1377
1377
|
}
|
|
1378
1378
|
function fi({
|
|
1379
1379
|
...a
|
|
1380
1380
|
}) {
|
|
1381
1381
|
return /* @__PURE__ */ e(
|
|
1382
|
-
|
|
1382
|
+
j.RadioGroup,
|
|
1383
1383
|
{
|
|
1384
1384
|
"data-slot": "context-menu-radio-group",
|
|
1385
1385
|
...a
|
|
@@ -1393,7 +1393,7 @@ function bi({
|
|
|
1393
1393
|
...n
|
|
1394
1394
|
}) {
|
|
1395
1395
|
return /* @__PURE__ */ i(
|
|
1396
|
-
|
|
1396
|
+
j.SubTrigger,
|
|
1397
1397
|
{
|
|
1398
1398
|
"data-slot": "context-menu-sub-trigger",
|
|
1399
1399
|
"data-inset": t,
|
|
@@ -1414,11 +1414,11 @@ function gi({
|
|
|
1414
1414
|
...t
|
|
1415
1415
|
}) {
|
|
1416
1416
|
return /* @__PURE__ */ e(
|
|
1417
|
-
|
|
1417
|
+
j.SubContent,
|
|
1418
1418
|
{
|
|
1419
1419
|
"data-slot": "context-menu-sub-content",
|
|
1420
1420
|
className: s(
|
|
1421
|
-
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1421
|
+
"z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1422
1422
|
a
|
|
1423
1423
|
),
|
|
1424
1424
|
...t
|
|
@@ -1429,13 +1429,13 @@ function xi({
|
|
|
1429
1429
|
className: a,
|
|
1430
1430
|
...t
|
|
1431
1431
|
}) {
|
|
1432
|
-
return /* @__PURE__ */ e(
|
|
1433
|
-
|
|
1432
|
+
return /* @__PURE__ */ e(j.Portal, { children: /* @__PURE__ */ e(
|
|
1433
|
+
j.Content,
|
|
1434
1434
|
{
|
|
1435
1435
|
"data-slot": "context-menu-content",
|
|
1436
1436
|
collisionPadding: 8,
|
|
1437
1437
|
className: s(
|
|
1438
|
-
"fixed z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1438
|
+
"fixed z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1439
1439
|
a
|
|
1440
1440
|
),
|
|
1441
1441
|
...t
|
|
@@ -1449,7 +1449,7 @@ function yi({
|
|
|
1449
1449
|
...n
|
|
1450
1450
|
}) {
|
|
1451
1451
|
return /* @__PURE__ */ e(
|
|
1452
|
-
|
|
1452
|
+
j.Item,
|
|
1453
1453
|
{
|
|
1454
1454
|
"data-slot": "context-menu-item",
|
|
1455
1455
|
"data-inset": t,
|
|
@@ -1469,7 +1469,7 @@ function Ni({
|
|
|
1469
1469
|
...n
|
|
1470
1470
|
}) {
|
|
1471
1471
|
return /* @__PURE__ */ i(
|
|
1472
|
-
|
|
1472
|
+
j.CheckboxItem,
|
|
1473
1473
|
{
|
|
1474
1474
|
"data-slot": "context-menu-checkbox-item",
|
|
1475
1475
|
className: s(
|
|
@@ -1479,7 +1479,7 @@ function Ni({
|
|
|
1479
1479
|
checked: r,
|
|
1480
1480
|
...n,
|
|
1481
1481
|
children: [
|
|
1482
|
-
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(
|
|
1482
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(j.ItemIndicator, { children: /* @__PURE__ */ e(ge, { className: "size-4" }) }) }),
|
|
1483
1483
|
t
|
|
1484
1484
|
]
|
|
1485
1485
|
}
|
|
@@ -1491,7 +1491,7 @@ function wi({
|
|
|
1491
1491
|
...r
|
|
1492
1492
|
}) {
|
|
1493
1493
|
return /* @__PURE__ */ i(
|
|
1494
|
-
|
|
1494
|
+
j.RadioItem,
|
|
1495
1495
|
{
|
|
1496
1496
|
"data-slot": "context-menu-radio-item",
|
|
1497
1497
|
className: s(
|
|
@@ -1500,7 +1500,7 @@ function wi({
|
|
|
1500
1500
|
),
|
|
1501
1501
|
...r,
|
|
1502
1502
|
children: [
|
|
1503
|
-
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(
|
|
1503
|
+
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(j.ItemIndicator, { children: /* @__PURE__ */ e(_e, { className: "size-2 fill-current" }) }) }),
|
|
1504
1504
|
t
|
|
1505
1505
|
]
|
|
1506
1506
|
}
|
|
@@ -1512,7 +1512,7 @@ function Ti({
|
|
|
1512
1512
|
...r
|
|
1513
1513
|
}) {
|
|
1514
1514
|
return /* @__PURE__ */ e(
|
|
1515
|
-
|
|
1515
|
+
j.Label,
|
|
1516
1516
|
{
|
|
1517
1517
|
"data-slot": "context-menu-label",
|
|
1518
1518
|
"data-inset": t,
|
|
@@ -1529,7 +1529,7 @@ function ki({
|
|
|
1529
1529
|
...t
|
|
1530
1530
|
}) {
|
|
1531
1531
|
return /* @__PURE__ */ e(
|
|
1532
|
-
|
|
1532
|
+
j.Separator,
|
|
1533
1533
|
{
|
|
1534
1534
|
"data-slot": "context-menu-separator",
|
|
1535
1535
|
className: s("-mx-1 my-1 h-px bg-border", a),
|
|
@@ -1553,29 +1553,29 @@ function zi({
|
|
|
1553
1553
|
}
|
|
1554
1554
|
);
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Ei({
|
|
1557
1557
|
...a
|
|
1558
1558
|
}) {
|
|
1559
|
-
return /* @__PURE__ */ e(
|
|
1559
|
+
return /* @__PURE__ */ e(O.Root, { "data-slot": "select", ...a });
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Si({
|
|
1562
1562
|
...a
|
|
1563
1563
|
}) {
|
|
1564
|
-
return /* @__PURE__ */ e(
|
|
1564
|
+
return /* @__PURE__ */ e(O.Group, { "data-slot": "select-group", ...a });
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function Ci({
|
|
1567
1567
|
...a
|
|
1568
1568
|
}) {
|
|
1569
|
-
return /* @__PURE__ */ e(
|
|
1569
|
+
return /* @__PURE__ */ e(O.Value, { "data-slot": "select-value", ...a });
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function Mi({
|
|
1572
1572
|
className: a,
|
|
1573
1573
|
size: t = "default",
|
|
1574
1574
|
children: r,
|
|
1575
1575
|
...n
|
|
1576
1576
|
}) {
|
|
1577
1577
|
return /* @__PURE__ */ i(
|
|
1578
|
-
|
|
1578
|
+
O.Trigger,
|
|
1579
1579
|
{
|
|
1580
1580
|
"data-slot": "select-trigger",
|
|
1581
1581
|
"data-size": t,
|
|
@@ -1586,24 +1586,24 @@ function Pi({
|
|
|
1586
1586
|
...n,
|
|
1587
1587
|
children: [
|
|
1588
1588
|
r,
|
|
1589
|
-
/* @__PURE__ */ e(
|
|
1589
|
+
/* @__PURE__ */ e(O.Icon, { asChild: !0, children: /* @__PURE__ */ e(ne, { className: "size-4 text-[var(--Text-High-Emphasis)]" }) })
|
|
1590
1590
|
]
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function Pi({
|
|
1595
1595
|
className: a,
|
|
1596
1596
|
children: t,
|
|
1597
1597
|
position: r = "item-aligned",
|
|
1598
1598
|
align: n = "center",
|
|
1599
1599
|
...o
|
|
1600
1600
|
}) {
|
|
1601
|
-
return /* @__PURE__ */ e(
|
|
1602
|
-
|
|
1601
|
+
return /* @__PURE__ */ e(O.Portal, { children: /* @__PURE__ */ i(
|
|
1602
|
+
O.Content,
|
|
1603
1603
|
{
|
|
1604
1604
|
"data-slot": "select-content",
|
|
1605
1605
|
className: s(
|
|
1606
|
-
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1606
|
+
"relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1607
1607
|
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
1608
1608
|
a
|
|
1609
1609
|
),
|
|
@@ -1613,7 +1613,7 @@ function Mi({
|
|
|
1613
1613
|
children: [
|
|
1614
1614
|
/* @__PURE__ */ e(Zt, {}),
|
|
1615
1615
|
/* @__PURE__ */ e(
|
|
1616
|
-
|
|
1616
|
+
O.Viewport,
|
|
1617
1617
|
{
|
|
1618
1618
|
className: s(
|
|
1619
1619
|
"p-1",
|
|
@@ -1632,7 +1632,7 @@ function Bi({
|
|
|
1632
1632
|
...t
|
|
1633
1633
|
}) {
|
|
1634
1634
|
return /* @__PURE__ */ e(
|
|
1635
|
-
|
|
1635
|
+
O.Label,
|
|
1636
1636
|
{
|
|
1637
1637
|
"data-slot": "select-label",
|
|
1638
1638
|
className: s("px-2 py-1.5 typo-body-sm text-muted-foreground", a),
|
|
@@ -1640,13 +1640,13 @@ function Bi({
|
|
|
1640
1640
|
}
|
|
1641
1641
|
);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Hi({
|
|
1644
1644
|
className: a,
|
|
1645
1645
|
children: t,
|
|
1646
1646
|
...r
|
|
1647
1647
|
}) {
|
|
1648
1648
|
return /* @__PURE__ */ i(
|
|
1649
|
-
|
|
1649
|
+
O.Item,
|
|
1650
1650
|
{
|
|
1651
1651
|
"data-slot": "select-item",
|
|
1652
1652
|
className: s(
|
|
@@ -1660,20 +1660,20 @@ function ji({
|
|
|
1660
1660
|
{
|
|
1661
1661
|
"data-slot": "select-item-indicator",
|
|
1662
1662
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
1663
|
-
children: /* @__PURE__ */ e(
|
|
1663
|
+
children: /* @__PURE__ */ e(O.ItemIndicator, { children: /* @__PURE__ */ e(ge, { className: "size-4" }) })
|
|
1664
1664
|
}
|
|
1665
1665
|
),
|
|
1666
|
-
/* @__PURE__ */ e(
|
|
1666
|
+
/* @__PURE__ */ e(O.ItemText, { children: t })
|
|
1667
1667
|
]
|
|
1668
1668
|
}
|
|
1669
1669
|
);
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function ji({
|
|
1672
1672
|
className: a,
|
|
1673
1673
|
...t
|
|
1674
1674
|
}) {
|
|
1675
1675
|
return /* @__PURE__ */ e(
|
|
1676
|
-
|
|
1676
|
+
O.Separator,
|
|
1677
1677
|
{
|
|
1678
1678
|
"data-slot": "select-separator",
|
|
1679
1679
|
className: s("pointer-events-none -mx-1 my-1 h-px bg-border", a),
|
|
@@ -1686,7 +1686,7 @@ function Zt({
|
|
|
1686
1686
|
...t
|
|
1687
1687
|
}) {
|
|
1688
1688
|
return /* @__PURE__ */ e(
|
|
1689
|
-
|
|
1689
|
+
O.ScrollUpButton,
|
|
1690
1690
|
{
|
|
1691
1691
|
"data-slot": "select-scroll-up-button",
|
|
1692
1692
|
className: s(
|
|
@@ -1703,7 +1703,7 @@ function er({
|
|
|
1703
1703
|
...t
|
|
1704
1704
|
}) {
|
|
1705
1705
|
return /* @__PURE__ */ e(
|
|
1706
|
-
|
|
1706
|
+
O.ScrollDownButton,
|
|
1707
1707
|
{
|
|
1708
1708
|
"data-slot": "select-scroll-down-button",
|
|
1709
1709
|
className: s(
|
|
@@ -1747,7 +1747,7 @@ function rr({
|
|
|
1747
1747
|
"data-slot": "dropdown-menu-content",
|
|
1748
1748
|
sideOffset: t,
|
|
1749
1749
|
className: s(
|
|
1750
|
-
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 typo-body-md text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1750
|
+
"z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 typo-body-md text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1751
1751
|
a
|
|
1752
1752
|
),
|
|
1753
1753
|
...r
|
|
@@ -1918,7 +1918,7 @@ function Vi({
|
|
|
1918
1918
|
{
|
|
1919
1919
|
"data-slot": "dropdown-menu-sub-content",
|
|
1920
1920
|
className: s(
|
|
1921
|
-
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1921
|
+
"z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
1922
1922
|
a
|
|
1923
1923
|
),
|
|
1924
1924
|
...t
|
|
@@ -1935,7 +1935,7 @@ function qi({ className: a, ...t }) {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
);
|
|
1937
1937
|
}
|
|
1938
|
-
|
|
1938
|
+
R(
|
|
1939
1939
|
"group/row border-b border-[var(--Border-Low-Emphasis)] transition-colors",
|
|
1940
1940
|
{
|
|
1941
1941
|
variants: {
|
|
@@ -1949,7 +1949,7 @@ D(
|
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
1951
|
);
|
|
1952
|
-
|
|
1952
|
+
R(
|
|
1953
1953
|
"px-4 py-4 align-middle whitespace-nowrap typo-body-md text-[var(--Text-High-Emphasis)] [&:has([role=checkbox])]:w-12 [&:has([role=checkbox])]:pr-0",
|
|
1954
1954
|
{
|
|
1955
1955
|
variants: {
|
|
@@ -1973,29 +1973,29 @@ D(
|
|
|
1973
1973
|
function Gi({
|
|
1974
1974
|
...a
|
|
1975
1975
|
}) {
|
|
1976
|
-
return /* @__PURE__ */ e(
|
|
1976
|
+
return /* @__PURE__ */ e(U.Root, { "data-slot": "drawer", ...a });
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function Ki({
|
|
1979
1979
|
...a
|
|
1980
1980
|
}) {
|
|
1981
|
-
return /* @__PURE__ */ e(
|
|
1981
|
+
return /* @__PURE__ */ e(U.Trigger, { "data-slot": "drawer-trigger", ...a });
|
|
1982
1982
|
}
|
|
1983
1983
|
function ir({
|
|
1984
1984
|
...a
|
|
1985
1985
|
}) {
|
|
1986
|
-
return /* @__PURE__ */ e(
|
|
1986
|
+
return /* @__PURE__ */ e(U.Portal, { "data-slot": "drawer-portal", ...a });
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function Ui({
|
|
1989
1989
|
...a
|
|
1990
1990
|
}) {
|
|
1991
|
-
return /* @__PURE__ */ e(
|
|
1991
|
+
return /* @__PURE__ */ e(U.Close, { "data-slot": "drawer-close", ...a });
|
|
1992
1992
|
}
|
|
1993
1993
|
function nr({
|
|
1994
1994
|
className: a,
|
|
1995
1995
|
...t
|
|
1996
1996
|
}) {
|
|
1997
1997
|
return /* @__PURE__ */ e(
|
|
1998
|
-
|
|
1998
|
+
U.Overlay,
|
|
1999
1999
|
{
|
|
2000
2000
|
"data-slot": "drawer-overlay",
|
|
2001
2001
|
className: s(
|
|
@@ -2006,7 +2006,7 @@ function nr({
|
|
|
2006
2006
|
}
|
|
2007
2007
|
);
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function Xi({
|
|
2010
2010
|
className: a,
|
|
2011
2011
|
children: t,
|
|
2012
2012
|
...r
|
|
@@ -2014,11 +2014,11 @@ function Ki({
|
|
|
2014
2014
|
return /* @__PURE__ */ i(ir, { "data-slot": "drawer-portal", children: [
|
|
2015
2015
|
/* @__PURE__ */ e(nr, {}),
|
|
2016
2016
|
/* @__PURE__ */ i(
|
|
2017
|
-
|
|
2017
|
+
U.Content,
|
|
2018
2018
|
{
|
|
2019
2019
|
"data-slot": "drawer-content",
|
|
2020
2020
|
className: s(
|
|
2021
|
-
"group/drawer-content fixed z-50 flex h-auto flex-col bg-background",
|
|
2021
|
+
"group/drawer-content fixed z-50 flex h-auto flex-col border-[var(--Border-Medium-Emphasis)] bg-background",
|
|
2022
2022
|
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
2023
2023
|
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
2024
2024
|
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
@@ -2062,7 +2062,7 @@ function Qi({
|
|
|
2062
2062
|
...t
|
|
2063
2063
|
}) {
|
|
2064
2064
|
return /* @__PURE__ */ e(
|
|
2065
|
-
|
|
2065
|
+
U.Title,
|
|
2066
2066
|
{
|
|
2067
2067
|
"data-slot": "drawer-title",
|
|
2068
2068
|
className: s("typo-heading-lg text-[var(--Text-High-Emphasis)]", a),
|
|
@@ -2075,7 +2075,7 @@ function Zi({
|
|
|
2075
2075
|
...t
|
|
2076
2076
|
}) {
|
|
2077
2077
|
return /* @__PURE__ */ e(
|
|
2078
|
-
|
|
2078
|
+
U.Description,
|
|
2079
2079
|
{
|
|
2080
2080
|
"data-slot": "drawer-description",
|
|
2081
2081
|
className: s("typo-body-sm text-[var(--Text-Medium-Emphasis)]", a),
|
|
@@ -2110,7 +2110,7 @@ const en = Tt, ya = w.createContext(
|
|
|
2110
2110
|
), an = ({
|
|
2111
2111
|
...a
|
|
2112
2112
|
}) => /* @__PURE__ */ e(ya.Provider, { value: { name: a.name }, children: /* @__PURE__ */ e(kt, { ...a }) }), ze = () => {
|
|
2113
|
-
const a = w.useContext(ya), t = w.useContext(Na), { getFieldState: r } = zt(), n =
|
|
2113
|
+
const a = w.useContext(ya), t = w.useContext(Na), { getFieldState: r } = zt(), n = Et({ name: a.name }), o = r(a.name, n);
|
|
2114
2114
|
if (!a)
|
|
2115
2115
|
throw new Error("useFormField should be used within <FormField>");
|
|
2116
2116
|
const { id: l } = t;
|
|
@@ -2215,7 +2215,7 @@ function cn({
|
|
|
2215
2215
|
align: t,
|
|
2216
2216
|
sideOffset: r,
|
|
2217
2217
|
className: s(
|
|
2218
|
-
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2218
|
+
"z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2219
2219
|
a
|
|
2220
2220
|
),
|
|
2221
2221
|
...n
|
|
@@ -2247,7 +2247,7 @@ function mn({
|
|
|
2247
2247
|
{
|
|
2248
2248
|
"data-slot": "menubar",
|
|
2249
2249
|
className: s(
|
|
2250
|
-
"flex h-9 items-center gap-1 rounded-md border bg-background p-1 shadow-xs",
|
|
2250
|
+
"flex h-9 items-center gap-1 rounded-md border border-[var(--Border-Medium-Emphasis)] bg-background p-1 shadow-xs",
|
|
2251
2251
|
a
|
|
2252
2252
|
),
|
|
2253
2253
|
...t
|
|
@@ -2305,7 +2305,7 @@ function fn({
|
|
|
2305
2305
|
alignOffset: r,
|
|
2306
2306
|
sideOffset: n,
|
|
2307
2307
|
className: s(
|
|
2308
|
-
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2308
|
+
"z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2309
2309
|
a
|
|
2310
2310
|
),
|
|
2311
2311
|
...o
|
|
@@ -2460,21 +2460,21 @@ function zn({
|
|
|
2460
2460
|
{
|
|
2461
2461
|
"data-slot": "menubar-sub-content",
|
|
2462
2462
|
className: s(
|
|
2463
|
-
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2463
|
+
"z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2464
2464
|
a
|
|
2465
2465
|
),
|
|
2466
2466
|
...t
|
|
2467
2467
|
}
|
|
2468
2468
|
);
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function En({
|
|
2471
2471
|
className: a,
|
|
2472
2472
|
children: t,
|
|
2473
2473
|
viewport: r = !0,
|
|
2474
2474
|
...n
|
|
2475
2475
|
}) {
|
|
2476
2476
|
return /* @__PURE__ */ i(
|
|
2477
|
-
|
|
2477
|
+
K.Root,
|
|
2478
2478
|
{
|
|
2479
2479
|
"data-slot": "navigation-menu",
|
|
2480
2480
|
"data-viewport": r,
|
|
@@ -2490,12 +2490,12 @@ function Sn({
|
|
|
2490
2490
|
}
|
|
2491
2491
|
);
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Sn({
|
|
2494
2494
|
className: a,
|
|
2495
2495
|
...t
|
|
2496
2496
|
}) {
|
|
2497
2497
|
return /* @__PURE__ */ e(
|
|
2498
|
-
|
|
2498
|
+
K.List,
|
|
2499
2499
|
{
|
|
2500
2500
|
"data-slot": "navigation-menu-list",
|
|
2501
2501
|
className: s(
|
|
@@ -2506,12 +2506,12 @@ function Cn({
|
|
|
2506
2506
|
}
|
|
2507
2507
|
);
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function Cn({
|
|
2510
2510
|
className: a,
|
|
2511
2511
|
...t
|
|
2512
2512
|
}) {
|
|
2513
2513
|
return /* @__PURE__ */ e(
|
|
2514
|
-
|
|
2514
|
+
K.Item,
|
|
2515
2515
|
{
|
|
2516
2516
|
"data-slot": "navigation-menu-item",
|
|
2517
2517
|
className: s("relative", a),
|
|
@@ -2519,16 +2519,16 @@ function En({
|
|
|
2519
2519
|
}
|
|
2520
2520
|
);
|
|
2521
2521
|
}
|
|
2522
|
-
const dr =
|
|
2523
|
-
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 typo-label-md transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
2522
|
+
const dr = R(
|
|
2523
|
+
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 typo-label-md text-foreground transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
2524
2524
|
);
|
|
2525
|
-
function
|
|
2525
|
+
function Mn({
|
|
2526
2526
|
className: a,
|
|
2527
2527
|
children: t,
|
|
2528
2528
|
...r
|
|
2529
2529
|
}) {
|
|
2530
2530
|
return /* @__PURE__ */ i(
|
|
2531
|
-
|
|
2531
|
+
K.Trigger,
|
|
2532
2532
|
{
|
|
2533
2533
|
"data-slot": "navigation-menu-trigger",
|
|
2534
2534
|
className: s(dr(), "group", a),
|
|
@@ -2547,17 +2547,17 @@ function Pn({
|
|
|
2547
2547
|
}
|
|
2548
2548
|
);
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2550
|
+
function Pn({
|
|
2551
2551
|
className: a,
|
|
2552
2552
|
...t
|
|
2553
2553
|
}) {
|
|
2554
2554
|
return /* @__PURE__ */ e(
|
|
2555
|
-
|
|
2555
|
+
K.Content,
|
|
2556
2556
|
{
|
|
2557
2557
|
"data-slot": "navigation-menu-content",
|
|
2558
2558
|
className: s(
|
|
2559
2559
|
"top-0 left-0 w-full p-2 pr-2.5 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out md:absolute md:w-auto",
|
|
2560
|
-
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
2560
|
+
"group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-[var(--Border-Medium-Emphasis)] group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95",
|
|
2561
2561
|
a
|
|
2562
2562
|
),
|
|
2563
2563
|
...t
|
|
@@ -2575,11 +2575,11 @@ function cr({
|
|
|
2575
2575
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
2576
2576
|
),
|
|
2577
2577
|
children: /* @__PURE__ */ e(
|
|
2578
|
-
|
|
2578
|
+
K.Viewport,
|
|
2579
2579
|
{
|
|
2580
2580
|
"data-slot": "navigation-menu-viewport",
|
|
2581
2581
|
className: s(
|
|
2582
|
-
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2582
|
+
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
2583
2583
|
a
|
|
2584
2584
|
),
|
|
2585
2585
|
...t
|
|
@@ -2593,7 +2593,7 @@ function Bn({
|
|
|
2593
2593
|
...t
|
|
2594
2594
|
}) {
|
|
2595
2595
|
return /* @__PURE__ */ e(
|
|
2596
|
-
|
|
2596
|
+
K.Link,
|
|
2597
2597
|
{
|
|
2598
2598
|
"data-slot": "navigation-menu-link",
|
|
2599
2599
|
className: s(
|
|
@@ -2604,12 +2604,12 @@ function Bn({
|
|
|
2604
2604
|
}
|
|
2605
2605
|
);
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2607
|
+
function Hn({
|
|
2608
2608
|
className: a,
|
|
2609
2609
|
...t
|
|
2610
2610
|
}) {
|
|
2611
2611
|
return /* @__PURE__ */ e(
|
|
2612
|
-
|
|
2612
|
+
K.Indicator,
|
|
2613
2613
|
{
|
|
2614
2614
|
"data-slot": "navigation-menu-indicator",
|
|
2615
2615
|
className: s(
|
|
@@ -2621,7 +2621,7 @@ function jn({
|
|
|
2621
2621
|
}
|
|
2622
2622
|
);
|
|
2623
2623
|
}
|
|
2624
|
-
function
|
|
2624
|
+
function jn({ className: a, ...t }) {
|
|
2625
2625
|
return /* @__PURE__ */ e(
|
|
2626
2626
|
"nav",
|
|
2627
2627
|
{
|
|
@@ -2718,7 +2718,7 @@ function Dn({
|
|
|
2718
2718
|
{
|
|
2719
2719
|
"aria-hidden": !0,
|
|
2720
2720
|
"data-slot": "pagination-ellipsis",
|
|
2721
|
-
className: s("flex size-10 items-center justify-center", a),
|
|
2721
|
+
className: s("flex size-10 items-center justify-center text-muted-foreground", a),
|
|
2722
2722
|
...t,
|
|
2723
2723
|
children: [
|
|
2724
2724
|
/* @__PURE__ */ e(Aa, { className: "size-4" }),
|
|
@@ -2750,7 +2750,7 @@ function Fn({
|
|
|
2750
2750
|
align: t,
|
|
2751
2751
|
sideOffset: r,
|
|
2752
2752
|
className: s(
|
|
2753
|
-
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2753
|
+
"z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-[var(--Border-Medium-Emphasis)] bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
2754
2754
|
a
|
|
2755
2755
|
),
|
|
2756
2756
|
...n
|
|
@@ -2935,7 +2935,7 @@ function Ta({
|
|
|
2935
2935
|
...n
|
|
2936
2936
|
}) {
|
|
2937
2937
|
return /* @__PURE__ */ e(
|
|
2938
|
-
|
|
2938
|
+
Ka.Root,
|
|
2939
2939
|
{
|
|
2940
2940
|
"data-slot": "separator",
|
|
2941
2941
|
decorative: r,
|
|
@@ -2949,29 +2949,29 @@ function Ta({
|
|
|
2949
2949
|
);
|
|
2950
2950
|
}
|
|
2951
2951
|
function Gn({ ...a }) {
|
|
2952
|
-
return /* @__PURE__ */ e(
|
|
2952
|
+
return /* @__PURE__ */ e(H.Root, { "data-slot": "sheet", ...a });
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Kn({
|
|
2955
2955
|
...a
|
|
2956
2956
|
}) {
|
|
2957
|
-
return /* @__PURE__ */ e(
|
|
2957
|
+
return /* @__PURE__ */ e(H.Trigger, { "data-slot": "sheet-trigger", ...a });
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function Un({
|
|
2960
2960
|
...a
|
|
2961
2961
|
}) {
|
|
2962
|
-
return /* @__PURE__ */ e(
|
|
2962
|
+
return /* @__PURE__ */ e(H.Close, { "data-slot": "sheet-close", ...a });
|
|
2963
2963
|
}
|
|
2964
2964
|
function ur({
|
|
2965
2965
|
...a
|
|
2966
2966
|
}) {
|
|
2967
|
-
return /* @__PURE__ */ e(
|
|
2967
|
+
return /* @__PURE__ */ e(H.Portal, { "data-slot": "sheet-portal", ...a });
|
|
2968
2968
|
}
|
|
2969
2969
|
function pr({
|
|
2970
2970
|
className: a,
|
|
2971
2971
|
...t
|
|
2972
2972
|
}) {
|
|
2973
2973
|
return /* @__PURE__ */ e(
|
|
2974
|
-
|
|
2974
|
+
H.Overlay,
|
|
2975
2975
|
{
|
|
2976
2976
|
"data-slot": "sheet-overlay",
|
|
2977
2977
|
className: s(
|
|
@@ -2982,7 +2982,7 @@ function pr({
|
|
|
2982
2982
|
}
|
|
2983
2983
|
);
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function Xn({
|
|
2986
2986
|
className: a,
|
|
2987
2987
|
children: t,
|
|
2988
2988
|
side: r = "right",
|
|
@@ -2992,13 +2992,13 @@ function Kn({
|
|
|
2992
2992
|
return /* @__PURE__ */ i(ur, { children: [
|
|
2993
2993
|
/* @__PURE__ */ e(pr, {}),
|
|
2994
2994
|
/* @__PURE__ */ i(
|
|
2995
|
-
|
|
2995
|
+
H.Content,
|
|
2996
2996
|
{
|
|
2997
2997
|
"data-slot": "sheet-content",
|
|
2998
2998
|
onOpenAutoFocus: (l) => l.preventDefault(),
|
|
2999
2999
|
onCloseAutoFocus: (l) => l.preventDefault(),
|
|
3000
3000
|
className: s(
|
|
3001
|
-
"fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
|
|
3001
|
+
"fixed z-50 flex flex-col gap-4 border-[var(--Border-Medium-Emphasis)] bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
|
|
3002
3002
|
r === "right" && "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
|
|
3003
3003
|
r === "left" && "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
3004
3004
|
r === "top" && "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
@@ -3008,7 +3008,7 @@ function Kn({
|
|
|
3008
3008
|
...o,
|
|
3009
3009
|
children: [
|
|
3010
3010
|
t,
|
|
3011
|
-
n && /* @__PURE__ */ i(
|
|
3011
|
+
n && /* @__PURE__ */ i(H.Close, { className: "absolute top-2 right-2 flex size-10 items-center justify-center rounded-full text-[var(--Text-Low-Emphasis)] transition-colors hover:bg-[var(--Surface-Tertiary)] hover:text-[var(--Text-High-Emphasis)] focus:ring-2 focus:ring-[var(--Focus-High-Emphasis)] focus:outline-hidden disabled:pointer-events-none", children: [
|
|
3012
3012
|
/* @__PURE__ */ e(da, { className: "size-5" }),
|
|
3013
3013
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "閉じる" })
|
|
3014
3014
|
] })
|
|
@@ -3042,7 +3042,7 @@ function Qn({
|
|
|
3042
3042
|
...t
|
|
3043
3043
|
}) {
|
|
3044
3044
|
return /* @__PURE__ */ e(
|
|
3045
|
-
|
|
3045
|
+
H.Title,
|
|
3046
3046
|
{
|
|
3047
3047
|
"data-slot": "sheet-title",
|
|
3048
3048
|
className: s("typo-heading-lg text-foreground", a),
|
|
@@ -3055,7 +3055,7 @@ function Zn({
|
|
|
3055
3055
|
...t
|
|
3056
3056
|
}) {
|
|
3057
3057
|
return /* @__PURE__ */ e(
|
|
3058
|
-
|
|
3058
|
+
H.Description,
|
|
3059
3059
|
{
|
|
3060
3060
|
"data-slot": "sheet-description",
|
|
3061
3061
|
className: s("typo-body-sm text-muted-foreground", a),
|
|
@@ -3216,7 +3216,7 @@ function so({ className: a, ...t }) {
|
|
|
3216
3216
|
"thead",
|
|
3217
3217
|
{
|
|
3218
3218
|
"data-slot": "table-header",
|
|
3219
|
-
className: s("[&_tr]:border-b", a),
|
|
3219
|
+
className: s("[&_tr]:border-b [&_tr]:border-[var(--Border-Medium-Emphasis)]", a),
|
|
3220
3220
|
...t
|
|
3221
3221
|
}
|
|
3222
3222
|
);
|
|
@@ -3237,7 +3237,7 @@ function no({ className: a, ...t }) {
|
|
|
3237
3237
|
{
|
|
3238
3238
|
"data-slot": "table-footer",
|
|
3239
3239
|
className: s(
|
|
3240
|
-
"border-t bg-muted/50 typo-label-sm [&>tr]:last:border-b-0",
|
|
3240
|
+
"border-t border-[var(--Border-Medium-Emphasis)] bg-muted/50 typo-label-sm [&>tr]:last:border-b-0",
|
|
3241
3241
|
a
|
|
3242
3242
|
),
|
|
3243
3243
|
...t
|
|
@@ -3250,7 +3250,7 @@ function oo({ className: a, ...t }) {
|
|
|
3250
3250
|
{
|
|
3251
3251
|
"data-slot": "table-row",
|
|
3252
3252
|
className: s(
|
|
3253
|
-
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
3253
|
+
"border-b border-[var(--Border-Medium-Emphasis)] transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
3254
3254
|
a
|
|
3255
3255
|
),
|
|
3256
3256
|
...t
|
|
@@ -3309,7 +3309,7 @@ function uo({
|
|
|
3309
3309
|
}
|
|
3310
3310
|
);
|
|
3311
3311
|
}
|
|
3312
|
-
const vr =
|
|
3312
|
+
const vr = R(
|
|
3313
3313
|
"group/tabs-list inline-flex items-center",
|
|
3314
3314
|
{
|
|
3315
3315
|
variants: {
|
|
@@ -3400,9 +3400,9 @@ function fr({ className: a, ...t }) {
|
|
|
3400
3400
|
);
|
|
3401
3401
|
}
|
|
3402
3402
|
const fo = ({ ...a }) => {
|
|
3403
|
-
const { theme: t = "system" } =
|
|
3403
|
+
const { theme: t = "system" } = St();
|
|
3404
3404
|
return /* @__PURE__ */ e(
|
|
3405
|
-
|
|
3405
|
+
Ct,
|
|
3406
3406
|
{
|
|
3407
3407
|
theme: t,
|
|
3408
3408
|
className: "toaster group",
|
|
@@ -3436,7 +3436,7 @@ const fo = ({ ...a }) => {
|
|
|
3436
3436
|
...a
|
|
3437
3437
|
}
|
|
3438
3438
|
);
|
|
3439
|
-
}, br =
|
|
3439
|
+
}, br = R(
|
|
3440
3440
|
"inline-flex items-center justify-center gap-2 rounded-md typo-label-sm whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3441
3441
|
{
|
|
3442
3442
|
variants: {
|
|
@@ -3463,7 +3463,7 @@ function bo({
|
|
|
3463
3463
|
...n
|
|
3464
3464
|
}) {
|
|
3465
3465
|
return /* @__PURE__ */ e(
|
|
3466
|
-
|
|
3466
|
+
Ua.Root,
|
|
3467
3467
|
{
|
|
3468
3468
|
"data-slot": "toggle",
|
|
3469
3469
|
className: s(br({ variant: t, size: r, className: a })),
|
|
@@ -3471,7 +3471,7 @@ function bo({
|
|
|
3471
3471
|
}
|
|
3472
3472
|
);
|
|
3473
3473
|
}
|
|
3474
|
-
const gr =
|
|
3474
|
+
const gr = R(
|
|
3475
3475
|
"flex items-center gap-1.5 py-1.5 overflow-x-auto scrollbar-none",
|
|
3476
3476
|
{
|
|
3477
3477
|
variants: {
|
|
@@ -3485,7 +3485,7 @@ const gr = D(
|
|
|
3485
3485
|
width: "fit"
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
|
-
), xr =
|
|
3488
|
+
), xr = R(
|
|
3489
3489
|
[
|
|
3490
3490
|
"inline-flex shrink-0 items-center justify-center",
|
|
3491
3491
|
"h-9 rounded-full px-3",
|
|
@@ -3739,7 +3739,7 @@ function fe({
|
|
|
3739
3739
|
as: b,
|
|
3740
3740
|
...p
|
|
3741
3741
|
}) {
|
|
3742
|
-
const f = b ?? wr[h], x = ["3xl", "2xl", "xl", "lg"].includes(h), k = u || c, g = n || l,
|
|
3742
|
+
const f = b ?? wr[h], x = ["3xl", "2xl", "xl", "lg"].includes(h), k = u || c, g = n || l, N = !!n, y = /* @__PURE__ */ i(D, { children: [
|
|
3743
3743
|
/* @__PURE__ */ e(
|
|
3744
3744
|
f,
|
|
3745
3745
|
{
|
|
@@ -3768,7 +3768,7 @@ function fe({
|
|
|
3768
3768
|
className: s("flex flex-col gap-2", a),
|
|
3769
3769
|
...p,
|
|
3770
3770
|
children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 min-w-0", children: [
|
|
3771
|
-
|
|
3771
|
+
N ? /* @__PURE__ */ e("a", { href: n, className: "flex min-w-0 flex-1 flex-col gap-1", children: y }) : /* @__PURE__ */ e("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: y }),
|
|
3772
3772
|
/* @__PURE__ */ i("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
3773
3773
|
g && (n ? /* @__PURE__ */ e(
|
|
3774
3774
|
"a",
|
|
@@ -3811,7 +3811,7 @@ function fe({
|
|
|
3811
3811
|
onClick: c,
|
|
3812
3812
|
disabled: v,
|
|
3813
3813
|
className: "rounded-full border border-[var(--Border-Medium-Emphasis)]",
|
|
3814
|
-
children: /* @__PURE__ */ e(
|
|
3814
|
+
children: /* @__PURE__ */ e(V, { size: 16 })
|
|
3815
3815
|
}
|
|
3816
3816
|
)
|
|
3817
3817
|
] })
|
|
@@ -3860,7 +3860,7 @@ function zo({
|
|
|
3860
3860
|
),
|
|
3861
3861
|
/* @__PURE__ */ i("div", { className: "flex gap-3 overflow-x-auto px-4 pb-2 scrollbar-hide mt-3", children: [
|
|
3862
3862
|
l.map((m, v) => {
|
|
3863
|
-
const h = /* @__PURE__ */ i(
|
|
3863
|
+
const h = /* @__PURE__ */ i(D, { children: [
|
|
3864
3864
|
/* @__PURE__ */ e(
|
|
3865
3865
|
"div",
|
|
3866
3866
|
{
|
|
@@ -3910,7 +3910,7 @@ function zo({
|
|
|
3910
3910
|
}
|
|
3911
3911
|
);
|
|
3912
3912
|
}
|
|
3913
|
-
function
|
|
3913
|
+
function Eo({
|
|
3914
3914
|
className: a,
|
|
3915
3915
|
bordered: t = !0,
|
|
3916
3916
|
children: r,
|
|
@@ -3930,7 +3930,7 @@ function So({
|
|
|
3930
3930
|
}
|
|
3931
3931
|
);
|
|
3932
3932
|
}
|
|
3933
|
-
const zr =
|
|
3933
|
+
const zr = R(
|
|
3934
3934
|
"absolute flex items-center justify-center rounded-full typo-label-xs",
|
|
3935
3935
|
{
|
|
3936
3936
|
variants: {
|
|
@@ -3949,7 +3949,7 @@ const zr = D(
|
|
|
3949
3949
|
}
|
|
3950
3950
|
}
|
|
3951
3951
|
);
|
|
3952
|
-
function
|
|
3952
|
+
function Er({
|
|
3953
3953
|
className: a,
|
|
3954
3954
|
children: t,
|
|
3955
3955
|
count: r,
|
|
@@ -3983,7 +3983,7 @@ function Sr({
|
|
|
3983
3983
|
)
|
|
3984
3984
|
] });
|
|
3985
3985
|
}
|
|
3986
|
-
function
|
|
3986
|
+
function Sr({
|
|
3987
3987
|
className: a,
|
|
3988
3988
|
items: t,
|
|
3989
3989
|
banner: r,
|
|
@@ -4028,7 +4028,7 @@ function Cr({
|
|
|
4028
4028
|
o.isActive && "bg-[var(--Surface-Accent-Primary-Light)]"
|
|
4029
4029
|
),
|
|
4030
4030
|
children: /* @__PURE__ */ e(
|
|
4031
|
-
|
|
4031
|
+
Er,
|
|
4032
4032
|
{
|
|
4033
4033
|
count: o.badgeCount,
|
|
4034
4034
|
size: "md",
|
|
@@ -4057,7 +4057,7 @@ function Cr({
|
|
|
4057
4057
|
}
|
|
4058
4058
|
);
|
|
4059
4059
|
}
|
|
4060
|
-
function
|
|
4060
|
+
function So({ selectedCount: a, children: t, className: r }) {
|
|
4061
4061
|
return /* @__PURE__ */ i(
|
|
4062
4062
|
"div",
|
|
4063
4063
|
{
|
|
@@ -4078,7 +4078,7 @@ function Co({ selectedCount: a, children: t, className: r }) {
|
|
|
4078
4078
|
}
|
|
4079
4079
|
);
|
|
4080
4080
|
}
|
|
4081
|
-
function
|
|
4081
|
+
function Co({ items: a, className: t }) {
|
|
4082
4082
|
return /* @__PURE__ */ i(
|
|
4083
4083
|
"div",
|
|
4084
4084
|
{
|
|
@@ -4138,20 +4138,20 @@ function Eo({ items: a, className: t }) {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
);
|
|
4140
4140
|
}
|
|
4141
|
-
const
|
|
4141
|
+
const Cr = {
|
|
4142
4142
|
sm: "size-[60px]",
|
|
4143
4143
|
md: "size-[100px]",
|
|
4144
4144
|
lg: "size-[120px]"
|
|
4145
|
-
},
|
|
4145
|
+
}, Mr = {
|
|
4146
4146
|
sm: "max-w-[60px]",
|
|
4147
4147
|
md: "max-w-[100px]",
|
|
4148
4148
|
lg: "max-w-[120px]"
|
|
4149
|
-
},
|
|
4149
|
+
}, Pr = {
|
|
4150
4150
|
sm: "calc((100vw - 32px) / 4.05)",
|
|
4151
4151
|
md: "calc((100vw - 32px) / 3.5)",
|
|
4152
4152
|
lg: "calc((100vw - 32px) / 3.0)"
|
|
4153
4153
|
};
|
|
4154
|
-
function
|
|
4154
|
+
function Mo({
|
|
4155
4155
|
title: a,
|
|
4156
4156
|
moreHref: t,
|
|
4157
4157
|
headerSize: r = "lg",
|
|
@@ -4175,7 +4175,7 @@ function Po({
|
|
|
4175
4175
|
{
|
|
4176
4176
|
className: s(
|
|
4177
4177
|
"overflow-hidden shrink-0",
|
|
4178
|
-
f ? "size-24" : x ? "w-full aspect-square" :
|
|
4178
|
+
f ? "size-24" : x ? "w-full aspect-square" : Cr[o],
|
|
4179
4179
|
h
|
|
4180
4180
|
),
|
|
4181
4181
|
children: /* @__PURE__ */ e(
|
|
@@ -4193,7 +4193,7 @@ function Po({
|
|
|
4193
4193
|
{
|
|
4194
4194
|
className: s(
|
|
4195
4195
|
"typo-label-sm text-[var(--Text-High-Emphasis)] text-center",
|
|
4196
|
-
f ? "max-w-[96px]" : x ? "w-full" :
|
|
4196
|
+
f ? "max-w-[96px]" : x ? "w-full" : Mr[o]
|
|
4197
4197
|
),
|
|
4198
4198
|
children: p.name
|
|
4199
4199
|
}
|
|
@@ -4204,7 +4204,7 @@ function Po({
|
|
|
4204
4204
|
);
|
|
4205
4205
|
return /* @__PURE__ */ i("section", { "data-slot": "category-scroll", className: s("py-4 @[960px]:max-w-[960px] @[960px]:mx-auto", v), children: [
|
|
4206
4206
|
/* @__PURE__ */ e(fe, { title: a, moreHref: t, size: r, className: "px-4" }),
|
|
4207
|
-
d === "grid" ? /* @__PURE__ */ i(
|
|
4207
|
+
d === "grid" ? /* @__PURE__ */ i(D, { children: [
|
|
4208
4208
|
/* @__PURE__ */ i("div", { className: s("mt-3 overflow-x-auto pl-4 pb-2 scrollbar-hide", m && "@[960px]:hidden"), children: [
|
|
4209
4209
|
/* @__PURE__ */ e(
|
|
4210
4210
|
"div",
|
|
@@ -4213,7 +4213,7 @@ function Po({
|
|
|
4213
4213
|
style: {
|
|
4214
4214
|
gridTemplateRows: `repeat(${u}, auto)`,
|
|
4215
4215
|
gridAutoFlow: "column",
|
|
4216
|
-
gridAutoColumns:
|
|
4216
|
+
gridAutoColumns: Pr[o]
|
|
4217
4217
|
},
|
|
4218
4218
|
children: n.map((p) => b(p, !1, !0))
|
|
4219
4219
|
}
|
|
@@ -4237,7 +4237,7 @@ function Po({
|
|
|
4237
4237
|
)
|
|
4238
4238
|
] });
|
|
4239
4239
|
}
|
|
4240
|
-
const Qe =
|
|
4240
|
+
const Qe = R(
|
|
4241
4241
|
"inline-flex items-center justify-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)]",
|
|
4242
4242
|
{
|
|
4243
4243
|
variants: {
|
|
@@ -4294,7 +4294,7 @@ function za({
|
|
|
4294
4294
|
),
|
|
4295
4295
|
children: m
|
|
4296
4296
|
}
|
|
4297
|
-
), k = /* @__PURE__ */ i(
|
|
4297
|
+
), k = /* @__PURE__ */ i(D, { children: [
|
|
4298
4298
|
v,
|
|
4299
4299
|
x,
|
|
4300
4300
|
p && /* @__PURE__ */ e("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ e("div", { className: "h-[67px] w-px origin-center rotate-45 bg-[var(--Text-Disable)]" }) }),
|
|
@@ -4339,7 +4339,7 @@ function za({
|
|
|
4339
4339
|
}
|
|
4340
4340
|
);
|
|
4341
4341
|
}
|
|
4342
|
-
function
|
|
4342
|
+
function Po({
|
|
4343
4343
|
className: a,
|
|
4344
4344
|
icon: t,
|
|
4345
4345
|
title: r,
|
|
@@ -4396,7 +4396,7 @@ function Bo({
|
|
|
4396
4396
|
}
|
|
4397
4397
|
);
|
|
4398
4398
|
}
|
|
4399
|
-
function
|
|
4399
|
+
function Ho({
|
|
4400
4400
|
filters: a,
|
|
4401
4401
|
resultCount: t,
|
|
4402
4402
|
sortLabel: r,
|
|
@@ -4530,7 +4530,7 @@ function Br({ className: a }) {
|
|
|
4530
4530
|
}
|
|
4531
4531
|
);
|
|
4532
4532
|
}
|
|
4533
|
-
function
|
|
4533
|
+
function Hr({
|
|
4534
4534
|
title: a,
|
|
4535
4535
|
children: t
|
|
4536
4536
|
}) {
|
|
@@ -4578,7 +4578,7 @@ function jr({
|
|
|
4578
4578
|
)
|
|
4579
4579
|
] });
|
|
4580
4580
|
}
|
|
4581
|
-
function
|
|
4581
|
+
function jr({ groups: a }) {
|
|
4582
4582
|
const t = a.length <= 4 ? "@lg:grid-cols-4" : a.length === 5 ? "@lg:grid-cols-5" : "@lg:grid-cols-6";
|
|
4583
4583
|
return /* @__PURE__ */ e("div", { className: s("grid grid-cols-3 gap-6", t), children: a.map((r) => /* @__PURE__ */ i("div", { children: [
|
|
4584
4584
|
/* @__PURE__ */ e("h3", { className: "typo-label-md text-[var(--Text-High-Emphasis)] mb-3", children: r.title }),
|
|
@@ -4633,7 +4633,7 @@ function Ze({ links: a }) {
|
|
|
4633
4633
|
}
|
|
4634
4634
|
) }, t.label)) });
|
|
4635
4635
|
}
|
|
4636
|
-
function
|
|
4636
|
+
function jo({
|
|
4637
4637
|
className: a,
|
|
4638
4638
|
linkGroups: t = [],
|
|
4639
4639
|
copyright: r = "© Cake.jp Co., Ltd.",
|
|
@@ -4657,8 +4657,8 @@ function Ho({
|
|
|
4657
4657
|
),
|
|
4658
4658
|
...v,
|
|
4659
4659
|
children: [
|
|
4660
|
-
t.length > 0 && /* @__PURE__ */ i(
|
|
4661
|
-
/* @__PURE__ */ e("nav", { "aria-label": "フッターナビゲーション", "data-slot": "footer-links", className: "border-t border-[var(--Border-Medium-Emphasis)] @lg:hidden", children: t.map((h) => /* @__PURE__ */ i(
|
|
4660
|
+
t.length > 0 && /* @__PURE__ */ i(D, { children: [
|
|
4661
|
+
/* @__PURE__ */ e("nav", { "aria-label": "フッターナビゲーション", "data-slot": "footer-links", className: "border-t border-[var(--Border-Medium-Emphasis)] @lg:hidden", children: t.map((h) => /* @__PURE__ */ i(Hr, { title: h.title, children: [
|
|
4662
4662
|
/* @__PURE__ */ e(Ze, { links: h.links }),
|
|
4663
4663
|
h.subGroups?.map((b) => /* @__PURE__ */ i("div", { children: [
|
|
4664
4664
|
/* @__PURE__ */ e("div", { className: "border-t border-[var(--Border-Low-Emphasis)] px-5 py-5 typo-body-md text-[var(--Text-High-Emphasis)]", children: b.title }),
|
|
@@ -4671,7 +4671,7 @@ function Ho({
|
|
|
4671
4671
|
"aria-label": "フッターナビゲーション",
|
|
4672
4672
|
"data-slot": "footer-links-pc",
|
|
4673
4673
|
className: "hidden @lg:block border-t border-[var(--Border-Medium-Emphasis)]",
|
|
4674
|
-
children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-[1065px] px-5 py-16", children: /* @__PURE__ */ e(
|
|
4674
|
+
children: /* @__PURE__ */ e("div", { className: "mx-auto max-w-[1065px] px-5 py-16", children: /* @__PURE__ */ e(jr, { groups: t }) })
|
|
4675
4675
|
}
|
|
4676
4676
|
)
|
|
4677
4677
|
] }),
|
|
@@ -4808,33 +4808,33 @@ function _o({
|
|
|
4808
4808
|
}) {
|
|
4809
4809
|
const v = w.useRef(null), [h, b] = w.useState(0), p = a.length, f = t === "square" ? "aspect-square" : t === "video" ? "aspect-video" : t === "ogp" ? "aspect-[1.91/1]" : "aspect-[311/162.5]";
|
|
4810
4810
|
w.useEffect(() => {
|
|
4811
|
-
const
|
|
4812
|
-
if (!
|
|
4813
|
-
const
|
|
4811
|
+
const N = v.current;
|
|
4812
|
+
if (!N) return;
|
|
4813
|
+
const y = new IntersectionObserver(
|
|
4814
4814
|
(z) => {
|
|
4815
4815
|
for (const B of z)
|
|
4816
4816
|
if (B.isIntersecting) {
|
|
4817
|
-
const
|
|
4817
|
+
const E = Number(
|
|
4818
4818
|
B.target.dataset.index
|
|
4819
4819
|
);
|
|
4820
|
-
Number.isNaN(
|
|
4820
|
+
Number.isNaN(E) || b(E);
|
|
4821
4821
|
}
|
|
4822
4822
|
},
|
|
4823
|
-
{ root:
|
|
4823
|
+
{ root: N, threshold: 0.6 }
|
|
4824
4824
|
);
|
|
4825
|
-
return
|
|
4825
|
+
return N.querySelectorAll("[data-slide]").forEach((z) => y.observe(z)), () => y.disconnect();
|
|
4826
4826
|
}, [p]), w.useEffect(() => {
|
|
4827
4827
|
if (o <= 0 || p <= 1) return;
|
|
4828
|
-
const
|
|
4828
|
+
const N = setInterval(() => {
|
|
4829
4829
|
x((h + 1) % p);
|
|
4830
4830
|
}, o);
|
|
4831
|
-
return () => clearInterval(
|
|
4831
|
+
return () => clearInterval(N);
|
|
4832
4832
|
}, [o, h, p]);
|
|
4833
|
-
function x(
|
|
4834
|
-
const
|
|
4835
|
-
if (!
|
|
4836
|
-
const S =
|
|
4837
|
-
S &&
|
|
4833
|
+
function x(N) {
|
|
4834
|
+
const y = v.current;
|
|
4835
|
+
if (!y) return;
|
|
4836
|
+
const S = y.children[N];
|
|
4837
|
+
S && y.scrollTo({ left: S.offsetLeft, behavior: "smooth" });
|
|
4838
4838
|
}
|
|
4839
4839
|
function k() {
|
|
4840
4840
|
x(h <= 0 ? p - 1 : h - 1);
|
|
@@ -4866,40 +4866,40 @@ function _o({
|
|
|
4866
4866
|
d > 1 && "@[960px]:gap-6"
|
|
4867
4867
|
),
|
|
4868
4868
|
style: { scrollbarWidth: "none", msOverflowStyle: "none" },
|
|
4869
|
-
children: a.map((
|
|
4869
|
+
children: a.map((N, y) => /* @__PURE__ */ e(
|
|
4870
4870
|
"div",
|
|
4871
4871
|
{
|
|
4872
4872
|
"data-slide": !0,
|
|
4873
|
-
"data-index":
|
|
4873
|
+
"data-index": y,
|
|
4874
4874
|
className: s(
|
|
4875
4875
|
"shrink-0 snap-start",
|
|
4876
4876
|
// centeredSlides: タブレットで snap-center、PC で snap-start に戻す
|
|
4877
4877
|
u && "@[768px]:snap-center @[960px]:snap-start",
|
|
4878
4878
|
l ? d > 1 ? "w-[calc(100%-48px)] pr-3 @[960px]:w-[calc((100%-48px)/3)] @[960px]:pr-0" : "w-[calc(100%-48px)] pr-3 @[960px]:w-full @[960px]:pr-0" : d > 1 ? "w-full @[960px]:w-[calc((100%-48px)/3)]" : "w-full"
|
|
4879
4879
|
),
|
|
4880
|
-
children:
|
|
4880
|
+
children: N.href ? /* @__PURE__ */ e("a", { href: N.href, className: "block", children: /* @__PURE__ */ e(
|
|
4881
4881
|
"img",
|
|
4882
4882
|
{
|
|
4883
|
-
src:
|
|
4884
|
-
alt:
|
|
4885
|
-
loading:
|
|
4883
|
+
src: N.src,
|
|
4884
|
+
alt: N.alt,
|
|
4885
|
+
loading: y === 0 ? "eager" : "lazy",
|
|
4886
4886
|
className: s("w-full rounded-md object-cover @[960px]:rounded-lg", f)
|
|
4887
4887
|
}
|
|
4888
4888
|
) }) : /* @__PURE__ */ e(
|
|
4889
4889
|
"img",
|
|
4890
4890
|
{
|
|
4891
|
-
src:
|
|
4892
|
-
alt:
|
|
4893
|
-
loading:
|
|
4891
|
+
src: N.src,
|
|
4892
|
+
alt: N.alt,
|
|
4893
|
+
loading: y === 0 ? "eager" : "lazy",
|
|
4894
4894
|
className: s("w-full rounded-md object-cover @[960px]:rounded-lg", f)
|
|
4895
4895
|
}
|
|
4896
4896
|
)
|
|
4897
4897
|
},
|
|
4898
|
-
|
|
4898
|
+
y
|
|
4899
4899
|
))
|
|
4900
4900
|
}
|
|
4901
4901
|
),
|
|
4902
|
-
n && p > 1 && /* @__PURE__ */ i(
|
|
4902
|
+
n && p > 1 && /* @__PURE__ */ i(D, { children: [
|
|
4903
4903
|
/* @__PURE__ */ e(
|
|
4904
4904
|
"button",
|
|
4905
4905
|
{
|
|
@@ -4917,22 +4917,22 @@ function _o({
|
|
|
4917
4917
|
onClick: g,
|
|
4918
4918
|
"aria-label": "次へ",
|
|
4919
4919
|
className: "absolute right-2 top-1/2 z-10 hidden size-10 -translate-y-1/2 items-center justify-center rounded-full border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Secondary)] shadow-md transition-opacity hover:bg-[var(--Surface-Tertiary)] @md:flex @[960px]:opacity-0 @[960px]:group-hover/carousel:opacity-100",
|
|
4920
|
-
children: /* @__PURE__ */ e(
|
|
4920
|
+
children: /* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Object-High-Emphasis)]" })
|
|
4921
4921
|
}
|
|
4922
4922
|
)
|
|
4923
4923
|
] }),
|
|
4924
|
-
r && p > 1 && /* @__PURE__ */ e("div", { className: "mt-2 flex items-center justify-center gap-1.5 @[960px]:hidden", children: a.map((
|
|
4924
|
+
r && p > 1 && /* @__PURE__ */ e("div", { className: "mt-2 flex items-center justify-center gap-1.5 @[960px]:hidden", children: a.map((N, y) => /* @__PURE__ */ e(
|
|
4925
4925
|
"button",
|
|
4926
4926
|
{
|
|
4927
4927
|
type: "button",
|
|
4928
|
-
onClick: () => x(
|
|
4929
|
-
"aria-label": `スライド ${
|
|
4928
|
+
onClick: () => x(y),
|
|
4929
|
+
"aria-label": `スライド ${y + 1}`,
|
|
4930
4930
|
className: s(
|
|
4931
4931
|
"size-2 rounded-full transition-colors",
|
|
4932
|
-
|
|
4932
|
+
y === h ? "bg-[var(--Text-High-Emphasis)]" : "bg-[var(--Surface-Tertiary)]"
|
|
4933
4933
|
)
|
|
4934
4934
|
},
|
|
4935
|
-
|
|
4935
|
+
y
|
|
4936
4936
|
)) })
|
|
4937
4937
|
]
|
|
4938
4938
|
}
|
|
@@ -5036,7 +5036,7 @@ function Io({
|
|
|
5036
5036
|
))
|
|
5037
5037
|
}
|
|
5038
5038
|
),
|
|
5039
|
-
a.length > 1 && /* @__PURE__ */ i(
|
|
5039
|
+
a.length > 1 && /* @__PURE__ */ i(D, { children: [
|
|
5040
5040
|
/* @__PURE__ */ e(
|
|
5041
5041
|
"button",
|
|
5042
5042
|
{
|
|
@@ -5054,7 +5054,7 @@ function Io({
|
|
|
5054
5054
|
className: "absolute right-2 top-1/2 flex size-10 -translate-y-1/2 items-center justify-center rounded-full bg-[var(--Surface-Primary)]/80 shadow-sm transition-colors hover:bg-[var(--Surface-Primary)]",
|
|
5055
5055
|
onClick: () => v(c + 1),
|
|
5056
5056
|
"aria-label": "次の画像",
|
|
5057
|
-
children: /* @__PURE__ */ e(
|
|
5057
|
+
children: /* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Text-High-Emphasis)]" })
|
|
5058
5058
|
}
|
|
5059
5059
|
)
|
|
5060
5060
|
] }),
|
|
@@ -5144,7 +5144,7 @@ function Ao({
|
|
|
5144
5144
|
className: "size-8 rounded-full bg-[var(--Primitive-White-alpha-1000)]/80 flex items-center justify-center",
|
|
5145
5145
|
"aria-label": `${u.alt}を削除`,
|
|
5146
5146
|
onClick: () => r?.(c),
|
|
5147
|
-
children: /* @__PURE__ */ e(
|
|
5147
|
+
children: /* @__PURE__ */ e(He, { size: 16, className: "text-[var(--Text-Caution)]" })
|
|
5148
5148
|
}
|
|
5149
5149
|
) }),
|
|
5150
5150
|
/* @__PURE__ */ e("div", { className: "absolute top-1 left-1 size-5 rounded bg-[var(--Primitive-Black-alpha-1000)]/60 text-[var(--Primitive-White-alpha-1000)] flex items-center justify-center typo-label-xs", children: c + 1 })
|
|
@@ -5217,42 +5217,57 @@ function Oo({
|
|
|
5217
5217
|
className: f,
|
|
5218
5218
|
...x
|
|
5219
5219
|
}) {
|
|
5220
|
-
const g = t ? "md" : !!(u || c) ? "lg" : m,
|
|
5220
|
+
const g = t ? "md" : !!(u || c) ? "lg" : m, N = !!p, y = !N && typeof x.onClick == "function", S = N || y, z = y ? (I) => {
|
|
5221
|
+
x.onKeyDown?.(I), !I.defaultPrevented && (I.key === "Enter" || I.key === " ") && (I.preventDefault(), I.currentTarget.click());
|
|
5222
|
+
} : x.onKeyDown, B = g === "lg" ? "min-h-16 py-4" : g === "md" ? "min-h-14 py-2" : "min-h-11 py-2", E = g === "lg" ? "typo-body-lg text-[var(--Text-High-Emphasis)]" : "typo-body-md text-[var(--Text-High-Emphasis)]", P = s(
|
|
5223
|
+
"relative flex w-full items-center gap-2 bg-[var(--Surface-Primary)] px-4 rounded-lg",
|
|
5224
|
+
B,
|
|
5225
|
+
v && "bg-[var(--Surface-Secondary)]",
|
|
5226
|
+
S && "transition-colors hover:bg-[var(--Surface-Tertiary)]",
|
|
5227
|
+
y && "cursor-pointer focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50",
|
|
5228
|
+
f
|
|
5229
|
+
), $ = /* @__PURE__ */ i(D, { children: [
|
|
5230
|
+
c && /* @__PURE__ */ e("div", { className: "relative shrink-0 size-8 overflow-hidden rounded-[var(--radius-sm,4px)]", children: /* @__PURE__ */ e("img", { src: c, alt: "", className: "size-full object-cover" }) }),
|
|
5231
|
+
u && !c && /* @__PURE__ */ e("div", { className: "shrink-0 size-5 flex items-center justify-center text-[var(--Object-High-Emphasis)]", children: u }),
|
|
5232
|
+
/* @__PURE__ */ i("div", { className: "flex flex-1 min-w-0 flex-col gap-0", children: [
|
|
5233
|
+
/* @__PURE__ */ e("span", { className: s("truncate", E), children: a }),
|
|
5234
|
+
t && /* @__PURE__ */ e("span", { className: "truncate typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
5235
|
+
] }),
|
|
5236
|
+
r === "arrow-right" && /* @__PURE__ */ e(V, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5237
|
+
r === "arrow-down" && /* @__PURE__ */ e(Y, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5238
|
+
r === "text" && n && /* @__PURE__ */ e("span", { className: "shrink-0 typo-body-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
5239
|
+
r === "badge" && o !== void 0 && /* @__PURE__ */ e("span", { className: "flex shrink-0 h-[13px] min-w-[13px] items-center justify-center rounded-full bg-[var(--Surface-Caution,#ec0000)] px-1 typo-label-xs text-white", children: o }),
|
|
5240
|
+
r === "toggle" && /* @__PURE__ */ e(
|
|
5241
|
+
hr,
|
|
5242
|
+
{
|
|
5243
|
+
checked: l,
|
|
5244
|
+
onCheckedChange: d,
|
|
5245
|
+
className: "shrink-0"
|
|
5246
|
+
}
|
|
5247
|
+
),
|
|
5248
|
+
b && /* @__PURE__ */ e("span", { className: "absolute left-1 top-1/2 -translate-y-1/2 size-2 rounded-full bg-[var(--Surface-Caution,#ec0000)]", "aria-hidden": !0 }),
|
|
5249
|
+
h && g !== "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Surface-Secondary)]", "aria-hidden": !0 }),
|
|
5250
|
+
h && g === "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Border-Medium-Emphasis)]", "aria-hidden": !0 })
|
|
5251
|
+
] });
|
|
5252
|
+
return p ? /* @__PURE__ */ e(
|
|
5253
|
+
"a",
|
|
5254
|
+
{
|
|
5255
|
+
href: p,
|
|
5256
|
+
...x,
|
|
5257
|
+
className: "block rounded-lg focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[var(--Focus-High-Emphasis)]/50",
|
|
5258
|
+
children: /* @__PURE__ */ e("div", { className: P, children: $ })
|
|
5259
|
+
}
|
|
5260
|
+
) : /* @__PURE__ */ e(
|
|
5221
5261
|
"div",
|
|
5222
5262
|
{
|
|
5223
|
-
className:
|
|
5224
|
-
"relative flex w-full items-center gap-2 bg-[var(--Surface-Primary)] px-4 rounded-lg",
|
|
5225
|
-
y,
|
|
5226
|
-
v && "bg-[var(--Surface-Secondary)]",
|
|
5227
|
-
f
|
|
5228
|
-
),
|
|
5263
|
+
className: P,
|
|
5229
5264
|
...x,
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
/* @__PURE__ */ e("span", { className: s("truncate", N), children: a }),
|
|
5235
|
-
t && /* @__PURE__ */ e("span", { className: "truncate typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
5236
|
-
] }),
|
|
5237
|
-
r === "arrow-right" && /* @__PURE__ */ e($, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5238
|
-
r === "arrow-down" && /* @__PURE__ */ e(Y, { size: 20, className: "shrink-0 text-[var(--Object-Low-Emphasis)]" }),
|
|
5239
|
-
r === "text" && n && /* @__PURE__ */ e("span", { className: "shrink-0 typo-body-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
5240
|
-
r === "badge" && o !== void 0 && /* @__PURE__ */ e("span", { className: "flex shrink-0 h-[13px] min-w-[13px] items-center justify-center rounded-full bg-[var(--Surface-Caution,#ec0000)] px-1 typo-label-xs text-white", children: o }),
|
|
5241
|
-
r === "toggle" && /* @__PURE__ */ e(
|
|
5242
|
-
hr,
|
|
5243
|
-
{
|
|
5244
|
-
checked: l,
|
|
5245
|
-
onCheckedChange: d,
|
|
5246
|
-
className: "shrink-0"
|
|
5247
|
-
}
|
|
5248
|
-
),
|
|
5249
|
-
b && /* @__PURE__ */ e("span", { className: "absolute left-1 top-1/2 -translate-y-1/2 size-2 rounded-full bg-[var(--Surface-Caution,#ec0000)]", "aria-hidden": !0 }),
|
|
5250
|
-
h && g !== "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Surface-Secondary)]", "aria-hidden": !0 }),
|
|
5251
|
-
h && g === "lg" && /* @__PURE__ */ e("div", { className: "absolute bottom-0 left-4 right-4 h-px bg-[var(--Border-Medium-Emphasis)]", "aria-hidden": !0 })
|
|
5252
|
-
]
|
|
5265
|
+
role: y ? "button" : x.role,
|
|
5266
|
+
tabIndex: y ? 0 : x.tabIndex,
|
|
5267
|
+
onKeyDown: z,
|
|
5268
|
+
children: $
|
|
5253
5269
|
}
|
|
5254
5270
|
);
|
|
5255
|
-
return p ? /* @__PURE__ */ e("a", { href: p, className: "block", children: S }) : S;
|
|
5256
5271
|
}
|
|
5257
5272
|
function Ro({
|
|
5258
5273
|
userName: a,
|
|
@@ -5300,7 +5315,7 @@ function Ro({
|
|
|
5300
5315
|
}
|
|
5301
5316
|
)
|
|
5302
5317
|
] }),
|
|
5303
|
-
!t && !r && /* @__PURE__ */ i(
|
|
5318
|
+
!t && !r && /* @__PURE__ */ i(D, { children: [
|
|
5304
5319
|
/* @__PURE__ */ e("div", { className: "py-2", children: /* @__PURE__ */ e("ul", { children: /* @__PURE__ */ e("li", { children: /* @__PURE__ */ i(
|
|
5305
5320
|
"a",
|
|
5306
5321
|
{
|
|
@@ -5326,7 +5341,7 @@ function Ro({
|
|
|
5326
5341
|
/* @__PURE__ */ e("span", { children: p.title })
|
|
5327
5342
|
] }) }),
|
|
5328
5343
|
/* @__PURE__ */ e("ul", { children: p.items.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(ea, { item: x }) }, x.label)) }),
|
|
5329
|
-
p.itemsExtra && p.itemsExtra.length > 0 && /* @__PURE__ */ i(
|
|
5344
|
+
p.itemsExtra && p.itemsExtra.length > 0 && /* @__PURE__ */ i(D, { children: [
|
|
5330
5345
|
v.has(f) && /* @__PURE__ */ e("ul", { children: p.itemsExtra.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(ea, { item: x }) }, x.label)) }),
|
|
5331
5346
|
/* @__PURE__ */ e(
|
|
5332
5347
|
T,
|
|
@@ -5334,10 +5349,10 @@ function Ro({
|
|
|
5334
5349
|
variant: "ghost",
|
|
5335
5350
|
className: "flex w-full items-center justify-center gap-1 rounded-none px-4 py-3 typo-label-md text-[var(--Text-Accent-Primary)]",
|
|
5336
5351
|
onClick: () => b(f),
|
|
5337
|
-
children: v.has(f) ? /* @__PURE__ */ i(
|
|
5352
|
+
children: v.has(f) ? /* @__PURE__ */ i(D, { children: [
|
|
5338
5353
|
/* @__PURE__ */ e("span", { children: "折りたたむ" }),
|
|
5339
5354
|
/* @__PURE__ */ e(at, { size: 16 })
|
|
5340
|
-
] }) : /* @__PURE__ */ i(
|
|
5355
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
5341
5356
|
/* @__PURE__ */ e("span", { children: "すべて表示" }),
|
|
5342
5357
|
/* @__PURE__ */ e(Y, { size: 16 })
|
|
5343
5358
|
] })
|
|
@@ -5390,7 +5405,7 @@ function ea({ item: a }) {
|
|
|
5390
5405
|
a.badge && /* @__PURE__ */ e("span", { className: "rounded-full bg-[var(--Brand-Cake-Orange)] px-2 py-0.5 typo-label-xs text-[var(--Text-on-Inverse)]", children: a.badge }),
|
|
5391
5406
|
a.subText && /* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: a.subText })
|
|
5392
5407
|
] }),
|
|
5393
|
-
a.hasChildren && /* @__PURE__ */ e(
|
|
5408
|
+
a.hasChildren && /* @__PURE__ */ e(V, { size: 16, className: "shrink-0 text-[var(--Object-High-Emphasis)]" })
|
|
5394
5409
|
]
|
|
5395
5410
|
}
|
|
5396
5411
|
);
|
|
@@ -5496,7 +5511,7 @@ function $o({
|
|
|
5496
5511
|
l.isUnread && /* @__PURE__ */ e(_t, { variant: "destructive", className: "shrink-0 w-fit", children: "NEW" }),
|
|
5497
5512
|
/* @__PURE__ */ e("span", { className: "typo-body-md text-[var(--Text-High-Emphasis)] truncate", children: l.message })
|
|
5498
5513
|
] }),
|
|
5499
|
-
/* @__PURE__ */ e(
|
|
5514
|
+
/* @__PURE__ */ e(V, { size: 16, className: "text-[var(--Text-Low-Emphasis)] shrink-0 ml-auto" })
|
|
5500
5515
|
]
|
|
5501
5516
|
},
|
|
5502
5517
|
l.id
|
|
@@ -5519,7 +5534,7 @@ function $o({
|
|
|
5519
5534
|
}
|
|
5520
5535
|
);
|
|
5521
5536
|
}
|
|
5522
|
-
const Lr =
|
|
5537
|
+
const Lr = R("inline-flex items-baseline gap-0.5 text-[var(--Text-High-Emphasis)]", {
|
|
5523
5538
|
variants: {
|
|
5524
5539
|
size: {
|
|
5525
5540
|
sm: "typo-label-md",
|
|
@@ -5585,13 +5600,13 @@ function be({
|
|
|
5585
5600
|
h && "text-[var(--Text-Caution)]"
|
|
5586
5601
|
),
|
|
5587
5602
|
children: [
|
|
5588
|
-
b ? /* @__PURE__ */ i(
|
|
5603
|
+
b ? /* @__PURE__ */ i(D, { children: [
|
|
5589
5604
|
l,
|
|
5590
5605
|
c,
|
|
5591
5606
|
"〜",
|
|
5592
5607
|
l,
|
|
5593
5608
|
m
|
|
5594
|
-
] }) : /* @__PURE__ */ i(
|
|
5609
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
5595
5610
|
l,
|
|
5596
5611
|
c
|
|
5597
5612
|
] }),
|
|
@@ -5667,7 +5682,7 @@ function Wo({
|
|
|
5667
5682
|
}
|
|
5668
5683
|
);
|
|
5669
5684
|
}
|
|
5670
|
-
function
|
|
5685
|
+
function Ea({
|
|
5671
5686
|
className: a,
|
|
5672
5687
|
value: t,
|
|
5673
5688
|
min: r = 1,
|
|
@@ -5685,26 +5700,26 @@ function Sa({
|
|
|
5685
5700
|
w.useEffect(() => {
|
|
5686
5701
|
p(String(t));
|
|
5687
5702
|
}, [t]);
|
|
5688
|
-
const
|
|
5703
|
+
const N = () => {
|
|
5689
5704
|
if (f) {
|
|
5690
5705
|
v?.();
|
|
5691
5706
|
return;
|
|
5692
5707
|
}
|
|
5693
5708
|
x && o?.(t - 1);
|
|
5694
|
-
},
|
|
5709
|
+
}, y = () => {
|
|
5695
5710
|
k && o?.(t + 1);
|
|
5696
|
-
}, S = (
|
|
5697
|
-
const
|
|
5698
|
-
if (
|
|
5711
|
+
}, S = (E) => {
|
|
5712
|
+
const P = E.target.value;
|
|
5713
|
+
if (P === "") {
|
|
5699
5714
|
p("");
|
|
5700
5715
|
return;
|
|
5701
5716
|
}
|
|
5702
|
-
/^\d+$/.test(
|
|
5717
|
+
/^\d+$/.test(P) && p(P);
|
|
5703
5718
|
}, z = () => {
|
|
5704
|
-
const
|
|
5705
|
-
isNaN(
|
|
5706
|
-
}, B = (
|
|
5707
|
-
|
|
5719
|
+
const E = parseInt(b, 10);
|
|
5720
|
+
isNaN(E) || E < r ? (o?.(r), p(String(r))) : E > n ? (o?.(n), p(String(n))) : (o?.(E), p(String(E)));
|
|
5721
|
+
}, B = (E) => {
|
|
5722
|
+
E.key === "Enter" && z();
|
|
5708
5723
|
};
|
|
5709
5724
|
return u === "sm" ? /* @__PURE__ */ i(
|
|
5710
5725
|
"div",
|
|
@@ -5729,10 +5744,10 @@ function Sa({
|
|
|
5729
5744
|
"flex size-7 items-center justify-center rounded-full transition-colors",
|
|
5730
5745
|
x || g ? "text-[var(--Object-High-Emphasis)] hover:bg-[var(--Overlay-Light)] active:bg-[var(--Overlay-Medium)]" : "text-[var(--Object-Disable)]"
|
|
5731
5746
|
),
|
|
5732
|
-
onClick:
|
|
5747
|
+
onClick: N,
|
|
5733
5748
|
disabled: !(x || g),
|
|
5734
5749
|
"aria-label": f ? "削除" : "数量を減らす",
|
|
5735
|
-
children: f ? /* @__PURE__ */ e(
|
|
5750
|
+
children: f ? /* @__PURE__ */ e(He, { size: 14 }) : /* @__PURE__ */ e(je, { size: 14 })
|
|
5736
5751
|
}
|
|
5737
5752
|
),
|
|
5738
5753
|
c ? /* @__PURE__ */ e(
|
|
@@ -5774,7 +5789,7 @@ function Sa({
|
|
|
5774
5789
|
"flex size-7 items-center justify-center rounded-full transition-colors",
|
|
5775
5790
|
k ? "text-[var(--Object-High-Emphasis)] hover:bg-[var(--Overlay-Light)] active:bg-[var(--Overlay-Medium)]" : "text-[var(--Object-Disable)]"
|
|
5776
5791
|
),
|
|
5777
|
-
onClick:
|
|
5792
|
+
onClick: y,
|
|
5778
5793
|
disabled: !k,
|
|
5779
5794
|
"aria-label": "数量を増やす",
|
|
5780
5795
|
children: /* @__PURE__ */ e(se, { size: 14 })
|
|
@@ -5800,10 +5815,10 @@ function Sa({
|
|
|
5800
5815
|
"flex size-10 items-center justify-center rounded-full border transition-colors",
|
|
5801
5816
|
x || g ? "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-High-Emphasis)] hover:border-[var(--Border-High-Emphasis)] hover:bg-[var(--Surface-Tertiary)] active:bg-[var(--Surface-Tertiary)]" : "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-Disable)]"
|
|
5802
5817
|
),
|
|
5803
|
-
onClick:
|
|
5818
|
+
onClick: N,
|
|
5804
5819
|
disabled: !(x || g),
|
|
5805
5820
|
"aria-label": f ? "削除" : "数量を減らす",
|
|
5806
|
-
children: f ? /* @__PURE__ */ e(
|
|
5821
|
+
children: f ? /* @__PURE__ */ e(He, { size: 18 }) : /* @__PURE__ */ e(je, { size: 18 })
|
|
5807
5822
|
}
|
|
5808
5823
|
),
|
|
5809
5824
|
c ? /* @__PURE__ */ e(
|
|
@@ -5847,7 +5862,7 @@ function Sa({
|
|
|
5847
5862
|
"flex size-10 items-center justify-center rounded-full border transition-colors",
|
|
5848
5863
|
k ? "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-High-Emphasis)] hover:border-[var(--Border-High-Emphasis)] hover:bg-[var(--Surface-Tertiary)] active:bg-[var(--Surface-Tertiary)]" : "border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Object-Disable)]"
|
|
5849
5864
|
),
|
|
5850
|
-
onClick:
|
|
5865
|
+
onClick: y,
|
|
5851
5866
|
disabled: !k,
|
|
5852
5867
|
"aria-label": "数量を増やす",
|
|
5853
5868
|
children: /* @__PURE__ */ e(se, { size: 18 })
|
|
@@ -6107,7 +6122,7 @@ function $r({
|
|
|
6107
6122
|
}
|
|
6108
6123
|
),
|
|
6109
6124
|
/* @__PURE__ */ e("span", { className: "flex-1", children: u.label }),
|
|
6110
|
-
/* @__PURE__ */ e(
|
|
6125
|
+
/* @__PURE__ */ e(V, { size: 14, className: "text-[var(--Object-Low-Emphasis)]" })
|
|
6111
6126
|
]
|
|
6112
6127
|
}
|
|
6113
6128
|
) }, u.key);
|
|
@@ -6185,9 +6200,9 @@ function Go({
|
|
|
6185
6200
|
{
|
|
6186
6201
|
type: "button",
|
|
6187
6202
|
className: s(
|
|
6188
|
-
"flex size-12 items-center justify-center rounded-lg border border-[var(--Border-Low-Emphasis)] bg-[var(--Surface-Primary)] transition-colors hover:bg-[var(--Surface-Secondary)]",
|
|
6203
|
+
"flex size-12 items-center justify-center rounded-lg border border-[var(--Border-Low-Emphasis)] bg-[var(--Surface-Primary)] text-[var(--Text-High-Emphasis)] transition-colors hover:bg-[var(--Surface-Secondary)]",
|
|
6189
6204
|
a === "apple" && "border-[var(--Primitive-Gray-alpha-900)] bg-[var(--Primitive-Gray-alpha-900)] text-[var(--Primitive-White-alpha-1000)] hover:opacity-90 dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-200)] dark:text-[var(--Primitive-White-alpha-1000)]",
|
|
6190
|
-
(a === "amazon" || a === "google") && "dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-100)]",
|
|
6205
|
+
(a === "amazon" || a === "google") && "text-[var(--Text-High-Emphasis)] dark:border-[var(--Primitive-White-alpha-200)] dark:bg-[var(--Primitive-White-alpha-100)] dark:text-[var(--Text-High-Emphasis)]",
|
|
6191
6206
|
n
|
|
6192
6207
|
),
|
|
6193
6208
|
"aria-label": l.label,
|
|
@@ -6206,7 +6221,7 @@ function Go({
|
|
|
6206
6221
|
{
|
|
6207
6222
|
type: "button",
|
|
6208
6223
|
className: s(
|
|
6209
|
-
"flex w-full items-center justify-center gap-3 rounded-lg border px-4 py-3 typo-label-md transition-opacity hover:opacity-90",
|
|
6224
|
+
"flex w-full items-center justify-center gap-3 rounded-lg border border-[var(--Border-Medium-Emphasis)] px-4 py-3 typo-label-md transition-opacity hover:opacity-90",
|
|
6210
6225
|
d,
|
|
6211
6226
|
n
|
|
6212
6227
|
),
|
|
@@ -6218,7 +6233,7 @@ function Go({
|
|
|
6218
6233
|
}
|
|
6219
6234
|
);
|
|
6220
6235
|
}
|
|
6221
|
-
function
|
|
6236
|
+
function Ko({
|
|
6222
6237
|
items: a,
|
|
6223
6238
|
activeIndex: t = 0,
|
|
6224
6239
|
onSelect: r,
|
|
@@ -6249,7 +6264,7 @@ function Uo({
|
|
|
6249
6264
|
}
|
|
6250
6265
|
);
|
|
6251
6266
|
}
|
|
6252
|
-
const Vr =
|
|
6267
|
+
const Vr = R(
|
|
6253
6268
|
"inline-flex items-center gap-1 rounded text-nowrap",
|
|
6254
6269
|
{
|
|
6255
6270
|
variants: {
|
|
@@ -6368,7 +6383,7 @@ const ta = [
|
|
|
6368
6383
|
{ label: "メールテンプレート", href: "#" }
|
|
6369
6384
|
]
|
|
6370
6385
|
};
|
|
6371
|
-
function
|
|
6386
|
+
function Uo({
|
|
6372
6387
|
children: a,
|
|
6373
6388
|
activeNav: t = "home",
|
|
6374
6389
|
title: r = "",
|
|
@@ -6377,7 +6392,7 @@ function Xo({
|
|
|
6377
6392
|
}) {
|
|
6378
6393
|
const [l, d] = w.useState(null), [u, c] = w.useState(!1);
|
|
6379
6394
|
return /* @__PURE__ */ i("div", { className: "@container flex min-h-screen bg-[var(--Surface-Secondary)]", "data-slot": "admin-layout", children: [
|
|
6380
|
-
/* @__PURE__ */ e(aa, { name: "AdminSideNav", className: "hidden @md:block border-0 rounded-none border-r-2", children: /* @__PURE__ */ e("nav", { className: "fixed left-0 top-0 z-40 flex h-full w-[72px] flex-col items-center bg-[var(--Surface-Primary)] border-r border-[var(--Border-Low-Emphasis)] pt-16", children: ta.map((m) => {
|
|
6395
|
+
/* @__PURE__ */ e(aa, { name: "AdminSideNav", className: "hidden @md:block border-0 rounded-none border-r-2 border-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ e("nav", { className: "fixed left-0 top-0 z-40 flex h-full w-[72px] flex-col items-center bg-[var(--Surface-Primary)] border-r border-[var(--Border-Low-Emphasis)] pt-16", children: ta.map((m) => {
|
|
6381
6396
|
const v = m.icon, h = t === m.id, b = m.id in ce;
|
|
6382
6397
|
return /* @__PURE__ */ i(
|
|
6383
6398
|
"div",
|
|
@@ -6443,7 +6458,7 @@ function Xo({
|
|
|
6443
6458
|
] })
|
|
6444
6459
|
] }),
|
|
6445
6460
|
/* @__PURE__ */ i("div", { className: "@container/main flex flex-1 flex-col @md:pl-[72px]", children: [
|
|
6446
|
-
/* @__PURE__ */ e(aa, { name: "AdminHeader", className: "border-0 rounded-none border-b-2", children: /* @__PURE__ */ i("header", { className: "fixed top-0 left-0 @md:left-[72px] right-0 z-30 flex h-14 @md:h-16 items-center justify-between bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)] px-3 @md:px-4", children: [
|
|
6461
|
+
/* @__PURE__ */ e(aa, { name: "AdminHeader", className: "border-0 rounded-none border-b-2 border-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ i("header", { className: "fixed top-0 left-0 @md:left-[72px] right-0 z-30 flex h-14 @md:h-16 items-center justify-between bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)] px-3 @md:px-4", children: [
|
|
6447
6462
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2 @md:gap-3", children: [
|
|
6448
6463
|
/* @__PURE__ */ e(
|
|
6449
6464
|
"button",
|
|
@@ -6470,7 +6485,7 @@ function Xo({
|
|
|
6470
6485
|
/* @__PURE__ */ i("main", { className: "mt-14 @md:mt-16 flex-1 p-4 @md:p-6", children: [
|
|
6471
6486
|
(n || r) && /* @__PURE__ */ i("div", { className: "mb-4 space-y-1", children: [
|
|
6472
6487
|
n && n.length > 0 && /* @__PURE__ */ e("nav", { className: "flex items-center gap-1 typo-body-sm text-[var(--Text-Low-Emphasis)]", "aria-label": "パンくず", children: n.map((m, v) => /* @__PURE__ */ i(w.Fragment, { children: [
|
|
6473
|
-
v > 0 && /* @__PURE__ */ e(
|
|
6488
|
+
v > 0 && /* @__PURE__ */ e(V, { size: 12 }),
|
|
6474
6489
|
m.href ? /* @__PURE__ */ e("a", { href: m.href, className: "hover:text-[var(--Text-Accent-Primary)] transition-colors", children: m.label }) : /* @__PURE__ */ e("span", { className: "text-[var(--Text-High-Emphasis)]", children: m.label })
|
|
6475
6490
|
] }, v)) }),
|
|
6476
6491
|
r && /* @__PURE__ */ e("h1", { className: "typo-heading-2xl text-[var(--Text-High-Emphasis)]", children: r })
|
|
@@ -6480,7 +6495,7 @@ function Xo({
|
|
|
6480
6495
|
] })
|
|
6481
6496
|
] });
|
|
6482
6497
|
}
|
|
6483
|
-
function
|
|
6498
|
+
function Xo({
|
|
6484
6499
|
name: a,
|
|
6485
6500
|
relation: t,
|
|
6486
6501
|
type: r,
|
|
@@ -6498,7 +6513,7 @@ function Ko({
|
|
|
6498
6513
|
{
|
|
6499
6514
|
"data-slot": "anniversary-card",
|
|
6500
6515
|
className: s(
|
|
6501
|
-
"min-w-[200px] rounded-xl border border-[var(--Border-Medium-Emphasis)] p-4 space-y-2",
|
|
6516
|
+
"min-w-[200px] rounded-xl border border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] p-4 space-y-2",
|
|
6502
6517
|
c
|
|
6503
6518
|
),
|
|
6504
6519
|
...m,
|
|
@@ -6598,17 +6613,17 @@ function Jo({
|
|
|
6598
6613
|
children: [
|
|
6599
6614
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: v }),
|
|
6600
6615
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-0.5", children: [
|
|
6601
|
-
/* @__PURE__ */ e(
|
|
6616
|
+
/* @__PURE__ */ e(Me, { value: c(l) }),
|
|
6602
6617
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: ":" }),
|
|
6603
|
-
/* @__PURE__ */ e(
|
|
6618
|
+
/* @__PURE__ */ e(Me, { value: c(d) }),
|
|
6604
6619
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: ":" }),
|
|
6605
|
-
/* @__PURE__ */ e(
|
|
6620
|
+
/* @__PURE__ */ e(Me, { value: c(u) })
|
|
6606
6621
|
] })
|
|
6607
6622
|
]
|
|
6608
6623
|
}
|
|
6609
6624
|
);
|
|
6610
6625
|
}
|
|
6611
|
-
function
|
|
6626
|
+
function Me({ value: a }) {
|
|
6612
6627
|
return /* @__PURE__ */ e("span", { className: "flex h-7 min-w-7 items-center justify-center rounded bg-[var(--Primitive-Gray-900)] px-1 typo-label-md tabular-nums text-[var(--Primitive-White-alpha-1000)]", children: a });
|
|
6613
6628
|
}
|
|
6614
6629
|
function Yo({
|
|
@@ -6676,7 +6691,7 @@ function Yo({
|
|
|
6676
6691
|
t && /* @__PURE__ */ e("p", { className: "mt-1 break-words typo-body-md text-[var(--Text-Medium-Emphasis)]", children: t })
|
|
6677
6692
|
] }),
|
|
6678
6693
|
/* @__PURE__ */ e("div", { className: "px-4 py-3", children: /* @__PURE__ */ e("div", { className: "border-t border-dashed border-[var(--Border-Medium-Emphasis)]" }) }),
|
|
6679
|
-
/* @__PURE__ */ e("div", { className: "px-4 pb-4", children: /* @__PURE__ */ e(
|
|
6694
|
+
/* @__PURE__ */ e("div", { className: "px-4 pb-4", children: /* @__PURE__ */ e(Sa, { status: d, onAcquire: u, label: c, size: "lg" }) })
|
|
6680
6695
|
]
|
|
6681
6696
|
}
|
|
6682
6697
|
);
|
|
@@ -6708,12 +6723,12 @@ function Gr({
|
|
|
6708
6723
|
] })
|
|
6709
6724
|
] }),
|
|
6710
6725
|
/* @__PURE__ */ e("div", { className: "flex items-stretch justify-center", children: /* @__PURE__ */ e("svg", { width: "2", height: "100%", preserveAspectRatio: "none", className: "text-[var(--Border-Medium-Emphasis)]", children: /* @__PURE__ */ e("line", { x1: "1", y1: "0", x2: "1", y2: "100%", stroke: "currentColor", strokeWidth: "2", strokeDasharray: "4 3" }) }) }),
|
|
6711
|
-
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center rounded-r-lg border-b border-r border-t border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] px-3", children: /* @__PURE__ */ e(
|
|
6726
|
+
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center justify-center rounded-r-lg border-b border-r border-t border-[var(--Border-Medium-Emphasis)] bg-[var(--Surface-Primary)] px-3", children: /* @__PURE__ */ e(Sa, { status: o, onAcquire: l, label: "獲得する", size: "sm" }) })
|
|
6712
6727
|
]
|
|
6713
6728
|
}
|
|
6714
6729
|
);
|
|
6715
6730
|
}
|
|
6716
|
-
function
|
|
6731
|
+
function Sa({
|
|
6717
6732
|
status: a,
|
|
6718
6733
|
onAcquire: t,
|
|
6719
6734
|
label: r,
|
|
@@ -6739,7 +6754,7 @@ function Ca({
|
|
|
6739
6754
|
"獲得済み"
|
|
6740
6755
|
] }) : /* @__PURE__ */ e("div", { className: s(l, "bg-[var(--Surface-Secondary)] text-[var(--Text-Low-Emphasis)]"), children: "獲得不可" });
|
|
6741
6756
|
}
|
|
6742
|
-
const
|
|
6757
|
+
const Kr = ["日", "月", "火", "水", "木", "金", "土"];
|
|
6743
6758
|
function Qo({
|
|
6744
6759
|
year: a,
|
|
6745
6760
|
month: t,
|
|
@@ -6753,11 +6768,11 @@ function Qo({
|
|
|
6753
6768
|
const c = new Date(a, t - 1, 1), m = new Date(a, t, 0), v = c.getDay(), h = m.getDate(), b = [];
|
|
6754
6769
|
let p = Array(v).fill(null);
|
|
6755
6770
|
for (let g = 1; g <= h; g++) {
|
|
6756
|
-
const
|
|
6771
|
+
const N = new Date(a, t - 1, g), y = r.find(
|
|
6757
6772
|
(S) => S.date.getFullYear() === a && S.date.getMonth() === t - 1 && S.date.getDate() === g
|
|
6758
6773
|
);
|
|
6759
6774
|
p.push(
|
|
6760
|
-
|
|
6775
|
+
y ?? { date: N, availability: "available" }
|
|
6761
6776
|
), p.length === 7 && (b.push(p), p = []);
|
|
6762
6777
|
}
|
|
6763
6778
|
if (p.length > 0) {
|
|
@@ -6784,58 +6799,58 @@ function Qo({
|
|
|
6784
6799
|
t,
|
|
6785
6800
|
"月"
|
|
6786
6801
|
] }),
|
|
6787
|
-
/* @__PURE__ */ e(T, { variant: "ghost", size: "icon-sm", onClick: x, "aria-label": "次月", children: /* @__PURE__ */ e(
|
|
6802
|
+
/* @__PURE__ */ e(T, { variant: "ghost", size: "icon-sm", onClick: x, "aria-label": "次月", children: /* @__PURE__ */ e(V, { size: 16 }) })
|
|
6788
6803
|
] }),
|
|
6789
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children:
|
|
6804
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children: Kr.map((g, N) => /* @__PURE__ */ e(
|
|
6790
6805
|
"span",
|
|
6791
6806
|
{
|
|
6792
6807
|
className: s(
|
|
6793
6808
|
"py-1 typo-label-sm",
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
|
|
6809
|
+
N === 0 && "text-[var(--Text-Caution)]",
|
|
6810
|
+
N === 6 && "text-[var(--Primitive-Sea-600)]",
|
|
6811
|
+
N > 0 && N < 6 && "text-[var(--Text-Medium-Emphasis)]"
|
|
6797
6812
|
),
|
|
6798
6813
|
children: g
|
|
6799
6814
|
},
|
|
6800
6815
|
g
|
|
6801
6816
|
)) }),
|
|
6802
|
-
b.map((g,
|
|
6803
|
-
if (!
|
|
6817
|
+
b.map((g, N) => /* @__PURE__ */ e("div", { className: "grid grid-cols-7 text-center", children: g.map((y, S) => {
|
|
6818
|
+
if (!y)
|
|
6804
6819
|
return /* @__PURE__ */ e("div", { className: "py-1" }, `empty-${S}`);
|
|
6805
|
-
const z =
|
|
6820
|
+
const z = y.date.getDay(), B = k(y.date), E = y.availability !== "unavailable";
|
|
6806
6821
|
return /* @__PURE__ */ i(
|
|
6807
6822
|
"button",
|
|
6808
6823
|
{
|
|
6809
6824
|
type: "button",
|
|
6810
|
-
disabled: !
|
|
6811
|
-
onClick: () =>
|
|
6825
|
+
disabled: !E,
|
|
6826
|
+
onClick: () => E && o?.(y.date),
|
|
6812
6827
|
className: s(
|
|
6813
6828
|
"flex flex-col items-center gap-0.5 rounded-md py-1.5 typo-body-md transition-colors",
|
|
6814
|
-
|
|
6829
|
+
E && "cursor-pointer hover:bg-[var(--Surface-Secondary)]",
|
|
6815
6830
|
B && "relative z-10 bg-[var(--Brand-Cake-Orange)]/10 ring-1 ring-inset ring-[var(--Brand-Cake-Orange)]",
|
|
6816
|
-
!
|
|
6831
|
+
!E && "cursor-default opacity-60",
|
|
6817
6832
|
z === 0 && "text-[var(--Text-Caution)]",
|
|
6818
6833
|
z === 6 && "text-[var(--Primitive-Sea-600)]",
|
|
6819
6834
|
z > 0 && z < 6 && "text-[var(--Text-High-Emphasis)]"
|
|
6820
6835
|
),
|
|
6821
6836
|
children: [
|
|
6822
|
-
/* @__PURE__ */ e("span", { children:
|
|
6823
|
-
/* @__PURE__ */ e(
|
|
6837
|
+
/* @__PURE__ */ e("span", { children: y.date.getDate() }),
|
|
6838
|
+
/* @__PURE__ */ e(Ur, { availability: y.availability })
|
|
6824
6839
|
]
|
|
6825
6840
|
},
|
|
6826
|
-
|
|
6841
|
+
y.date.getDate()
|
|
6827
6842
|
);
|
|
6828
|
-
}) },
|
|
6843
|
+
}) }, N))
|
|
6829
6844
|
]
|
|
6830
6845
|
}
|
|
6831
6846
|
);
|
|
6832
6847
|
}
|
|
6833
|
-
function
|
|
6848
|
+
function Ur({
|
|
6834
6849
|
availability: a
|
|
6835
6850
|
}) {
|
|
6836
6851
|
return a === "available" ? /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Success)]", children: "○" }) : a === "few" ? /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Warning)]", children: "△" }) : /* @__PURE__ */ e("span", { className: "typo-heading-lg text-[var(--Text-Low-Emphasis)]", children: "×" });
|
|
6837
6852
|
}
|
|
6838
|
-
const
|
|
6853
|
+
const Xr = [
|
|
6839
6854
|
{
|
|
6840
6855
|
items: [
|
|
6841
6856
|
{
|
|
@@ -7017,7 +7032,7 @@ function Zo({
|
|
|
7017
7032
|
className: "flex shrink-0 items-center gap-0.5 typo-body-md text-[var(--Text-Accent-Primary)] transition-colors hover:opacity-80",
|
|
7018
7033
|
children: [
|
|
7019
7034
|
n,
|
|
7020
|
-
/* @__PURE__ */ e(
|
|
7035
|
+
/* @__PURE__ */ e(V, { size: 20, className: "text-[var(--Text-Accent-Primary)]" })
|
|
7021
7036
|
]
|
|
7022
7037
|
}
|
|
7023
7038
|
)
|
|
@@ -7107,7 +7122,7 @@ const Jr = {
|
|
|
7107
7122
|
amex: "https://assets.cake.jp/bp/img/carts/ec/logo/amex.png",
|
|
7108
7123
|
diners: "https://assets.cake.jp/bp/img/carts/ec/logo/diners.png"
|
|
7109
7124
|
};
|
|
7110
|
-
function
|
|
7125
|
+
function Pe({ brand: a, className: t, ...r }) {
|
|
7111
7126
|
return /* @__PURE__ */ e(
|
|
7112
7127
|
"img",
|
|
7113
7128
|
{
|
|
@@ -7136,7 +7151,7 @@ function al({
|
|
|
7136
7151
|
...u,
|
|
7137
7152
|
children: [
|
|
7138
7153
|
o === "registered" && t && /* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
|
|
7139
|
-
/* @__PURE__ */ e(
|
|
7154
|
+
/* @__PURE__ */ e(Pe, { brand: t }),
|
|
7140
7155
|
/* @__PURE__ */ i("div", { children: [
|
|
7141
7156
|
/* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-High-Emphasis)]", children: a }),
|
|
7142
7157
|
r && /* @__PURE__ */ i("p", { className: "typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: [
|
|
@@ -7154,7 +7169,7 @@ function al({
|
|
|
7154
7169
|
"が登録されていません"
|
|
7155
7170
|
] }),
|
|
7156
7171
|
o === "expired" && /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
7157
|
-
t && /* @__PURE__ */ e(
|
|
7172
|
+
t && /* @__PURE__ */ e(Pe, { brand: t }),
|
|
7158
7173
|
/* @__PURE__ */ i("div", { children: [
|
|
7159
7174
|
/* @__PURE__ */ e("p", { className: "typo-label-sm text-[var(--Text-Caution)]", children: "有効期限切れ" }),
|
|
7160
7175
|
r && /* @__PURE__ */ i("p", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: [
|
|
@@ -7163,12 +7178,12 @@ function al({
|
|
|
7163
7178
|
] })
|
|
7164
7179
|
] })
|
|
7165
7180
|
] }),
|
|
7166
|
-
l && l.length > 0 && /* @__PURE__ */ e("ul", { className: "flex items-center gap-2 list-none p-0 m-0", children: l.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
7181
|
+
l && l.length > 0 && /* @__PURE__ */ e("ul", { className: "flex items-center gap-2 list-none p-0 m-0", children: l.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(Pe, { brand: c }) }, c)) })
|
|
7167
7182
|
]
|
|
7168
7183
|
}
|
|
7169
7184
|
);
|
|
7170
7185
|
}
|
|
7171
|
-
function
|
|
7186
|
+
function Ee({
|
|
7172
7187
|
size: a = 14,
|
|
7173
7188
|
className: t
|
|
7174
7189
|
}) {
|
|
@@ -7210,7 +7225,7 @@ function ie({
|
|
|
7210
7225
|
...d,
|
|
7211
7226
|
children: [
|
|
7212
7227
|
/* @__PURE__ */ e(
|
|
7213
|
-
|
|
7228
|
+
Ee,
|
|
7214
7229
|
{
|
|
7215
7230
|
size: c,
|
|
7216
7231
|
className: "text-[var(--Brand-Cake-Orange)]"
|
|
@@ -7260,7 +7275,7 @@ function ra({
|
|
|
7260
7275
|
}
|
|
7261
7276
|
) : null;
|
|
7262
7277
|
}
|
|
7263
|
-
function
|
|
7278
|
+
function Se({ size: a = 20, filled: t = !1 }) {
|
|
7264
7279
|
return /* @__PURE__ */ e(
|
|
7265
7280
|
"svg",
|
|
7266
7281
|
{
|
|
@@ -7301,7 +7316,7 @@ function sa({
|
|
|
7301
7316
|
},
|
|
7302
7317
|
"aria-label": a ? "お気に入りから削除" : "お気に入りに追加",
|
|
7303
7318
|
children: /* @__PURE__ */ e(
|
|
7304
|
-
|
|
7319
|
+
Se,
|
|
7305
7320
|
{
|
|
7306
7321
|
size: r === "sm" ? 16 : 20,
|
|
7307
7322
|
filled: a
|
|
@@ -7354,13 +7369,13 @@ function es({
|
|
|
7354
7369
|
ranking: x,
|
|
7355
7370
|
deliveryDate: k,
|
|
7356
7371
|
orientation: g = "vertical",
|
|
7357
|
-
showDiscountBadge:
|
|
7358
|
-
showCartButton:
|
|
7372
|
+
showDiscountBadge: N = !0,
|
|
7373
|
+
showCartButton: y = !1,
|
|
7359
7374
|
onCartAdd: S,
|
|
7360
7375
|
cartButtonLabel: z = "カートに追加",
|
|
7361
7376
|
...B
|
|
7362
7377
|
}) {
|
|
7363
|
-
const
|
|
7378
|
+
const E = N ? Zr(o, l) : null;
|
|
7364
7379
|
return g === "horizontal" ? /* @__PURE__ */ i(
|
|
7365
7380
|
"div",
|
|
7366
7381
|
{
|
|
@@ -7373,8 +7388,8 @@ function es({
|
|
|
7373
7388
|
x != null && /* @__PURE__ */ e(ia, { rank: x }),
|
|
7374
7389
|
/* @__PURE__ */ i("div", { className: "relative h-auto w-28 shrink-0 overflow-hidden rounded-lg @sm:w-36", children: [
|
|
7375
7390
|
/* @__PURE__ */ e("img", { src: r, alt: n ?? t, className: "h-full w-full object-cover", loading: "lazy" }),
|
|
7376
|
-
|
|
7377
|
-
v.length > 0 && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 left-1.5 z-[2] flex flex-wrap gap-1", children: !
|
|
7391
|
+
E && /* @__PURE__ */ e(ee, { variant: "sale", size: "sm", className: "absolute bottom-1.5 left-1.5 z-[2]", children: E }),
|
|
7392
|
+
v.length > 0 && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 left-1.5 z-[2] flex flex-wrap gap-1", children: !E && v.map((P) => /* @__PURE__ */ e(ee, { variant: P.variant, size: "sm", children: P.label }, P.label)) }),
|
|
7378
7393
|
b && /* @__PURE__ */ e("div", { className: "absolute bottom-1 right-1 z-10", children: /* @__PURE__ */ e(sa, { isFavorite: h, onToggle: b, size: "sm" }) })
|
|
7379
7394
|
] }),
|
|
7380
7395
|
/* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col justify-between py-1 pl-3 pr-1", children: [
|
|
@@ -7409,8 +7424,8 @@ function es({
|
|
|
7409
7424
|
/* @__PURE__ */ i("div", { className: "aspect-square overflow-hidden rounded-lg", children: [
|
|
7410
7425
|
/* @__PURE__ */ e("img", { src: r, alt: n ?? t, className: "h-full w-full object-cover transition-transform duration-200 group-hover:scale-105", loading: "lazy" }),
|
|
7411
7426
|
/* @__PURE__ */ e("div", { className: "absolute inset-x-1 bottom-1 z-[3] flex items-end", children: /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-1", children: [
|
|
7412
|
-
|
|
7413
|
-
v.map((
|
|
7427
|
+
E && /* @__PURE__ */ e(ee, { variant: "sale", size: "sm", children: E }),
|
|
7428
|
+
v.map((P) => /* @__PURE__ */ e(ee, { variant: P.variant, size: "sm", children: P.label }, P.label))
|
|
7414
7429
|
] }) })
|
|
7415
7430
|
] }),
|
|
7416
7431
|
b && /* @__PURE__ */ e("div", { className: "absolute bottom-1.5 right-1.5 z-[4]", children: /* @__PURE__ */ e(sa, { isFavorite: h, onToggle: b }) })
|
|
@@ -7427,13 +7442,13 @@ function es({
|
|
|
7427
7442
|
] }),
|
|
7428
7443
|
/* @__PURE__ */ e(be, { price: o, originalPrice: l, size: "md", showTaxLabel: !1 })
|
|
7429
7444
|
] }),
|
|
7430
|
-
|
|
7445
|
+
y && /* @__PURE__ */ e(
|
|
7431
7446
|
"button",
|
|
7432
7447
|
{
|
|
7433
7448
|
type: "button",
|
|
7434
7449
|
className: "relative z-10 flex h-9 w-full items-center justify-center gap-0.5 rounded-xl bg-[var(--Brand-Cake-Orange)] typo-label-md text-[var(--Text-on-Inverse)] transition-colors hover:bg-[var(--Hover-Primary-Button)] active:bg-[var(--Active-Primary-Button)]",
|
|
7435
|
-
onClick: (
|
|
7436
|
-
|
|
7450
|
+
onClick: (P) => {
|
|
7451
|
+
P.preventDefault(), P.stopPropagation(), S?.();
|
|
7437
7452
|
},
|
|
7438
7453
|
children: z
|
|
7439
7454
|
}
|
|
@@ -7497,7 +7512,7 @@ function tl({
|
|
|
7497
7512
|
),
|
|
7498
7513
|
r && /* @__PURE__ */ e("p", { className: "mt-1 line-clamp-3 typo-body-md text-[var(--Text-Medium-Emphasis)]", children: r })
|
|
7499
7514
|
] })
|
|
7500
|
-
] }) : /* @__PURE__ */ i(
|
|
7515
|
+
] }) : /* @__PURE__ */ i(D, { children: [
|
|
7501
7516
|
/* @__PURE__ */ e(
|
|
7502
7517
|
fe,
|
|
7503
7518
|
{
|
|
@@ -7517,21 +7532,21 @@ function tl({
|
|
|
7517
7532
|
h === "responsive" ? "gap-2 @[736px]:gap-4 @[928px]:gap-6" : "gap-3",
|
|
7518
7533
|
p && "items-stretch"
|
|
7519
7534
|
), children: [
|
|
7520
|
-
v.map((
|
|
7535
|
+
v.map((N, y) => /* @__PURE__ */ e(
|
|
7521
7536
|
"div",
|
|
7522
7537
|
{
|
|
7523
7538
|
className: s("shrink-0", as[h]),
|
|
7524
7539
|
children: /* @__PURE__ */ e(
|
|
7525
7540
|
es,
|
|
7526
7541
|
{
|
|
7527
|
-
...
|
|
7528
|
-
ranking: b ?
|
|
7542
|
+
...N,
|
|
7543
|
+
ranking: b ? y + 1 : N.ranking,
|
|
7529
7544
|
showCartButton: p,
|
|
7530
|
-
className: s(
|
|
7545
|
+
className: s(N.className, p && "h-full")
|
|
7531
7546
|
}
|
|
7532
7547
|
)
|
|
7533
7548
|
},
|
|
7534
|
-
|
|
7549
|
+
N.name + y
|
|
7535
7550
|
)),
|
|
7536
7551
|
/* @__PURE__ */ e("div", { className: "shrink-0 w-4 @[736px]:w-4 @[928px]:w-4", "aria-hidden": "true" })
|
|
7537
7552
|
] })
|
|
@@ -7657,7 +7672,7 @@ function sl({
|
|
|
7657
7672
|
/* @__PURE__ */ e("p", { className: "line-clamp-1 typo-label-sm text-[var(--Text-High-Emphasis)]", children: r }),
|
|
7658
7673
|
/* @__PURE__ */ i("div", { className: "flex items-center", children: [
|
|
7659
7674
|
/* @__PURE__ */ i("div", { className: s(
|
|
7660
|
-
"flex items-baseline",
|
|
7675
|
+
"flex items-baseline text-[var(--Text-High-Emphasis)]",
|
|
7661
7676
|
o && "text-[var(--Text-Caution)]"
|
|
7662
7677
|
), children: [
|
|
7663
7678
|
/* @__PURE__ */ i("span", { className: "typo-heading-md text-inherit", children: [
|
|
@@ -7709,16 +7724,16 @@ function il({
|
|
|
7709
7724
|
onSizeInfoClick: x,
|
|
7710
7725
|
deliveryPrefecture: k,
|
|
7711
7726
|
onPrefectureChange: g,
|
|
7712
|
-
earliestDelivery:
|
|
7713
|
-
quantity:
|
|
7727
|
+
earliestDelivery: N,
|
|
7728
|
+
quantity: y = 1,
|
|
7714
7729
|
onQuantityChange: S,
|
|
7715
7730
|
pointInfo: z,
|
|
7716
7731
|
onAddToCart: B,
|
|
7717
|
-
addToCartLabel:
|
|
7718
|
-
onBookmark:
|
|
7719
|
-
isBookmarked:
|
|
7720
|
-
promoBanner:
|
|
7721
|
-
...
|
|
7732
|
+
addToCartLabel: E = "カートに追加",
|
|
7733
|
+
onBookmark: P,
|
|
7734
|
+
isBookmarked: $ = !1,
|
|
7735
|
+
promoBanner: I,
|
|
7736
|
+
...C
|
|
7722
7737
|
}) {
|
|
7723
7738
|
return /* @__PURE__ */ i(
|
|
7724
7739
|
"div",
|
|
@@ -7728,11 +7743,11 @@ function il({
|
|
|
7728
7743
|
"flex w-[400px] max-w-full flex-col rounded-2xl border-2 border-[var(--Surface-Tertiary)] bg-[var(--Surface-Primary)]",
|
|
7729
7744
|
a
|
|
7730
7745
|
),
|
|
7731
|
-
...
|
|
7746
|
+
...C,
|
|
7732
7747
|
children: [
|
|
7733
7748
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 overflow-hidden px-6 pb-2 pt-6", children: [
|
|
7734
7749
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
|
|
7735
|
-
n && n.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: n.map((
|
|
7750
|
+
n && n.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: n.map((M, F) => /* @__PURE__ */ e(ee, { variant: M.variant, size: "md", children: M.label }, F)) }),
|
|
7736
7751
|
/* @__PURE__ */ e("h2", { className: "typo-heading-2xl text-[var(--Text-High-Emphasis)]", children: t }),
|
|
7737
7752
|
o && /* @__PURE__ */ i("div", { className: "flex w-full items-center gap-1", children: [
|
|
7738
7753
|
/* @__PURE__ */ e(
|
|
@@ -7787,37 +7802,37 @@ function il({
|
|
|
7787
7802
|
/* @__PURE__ */ e(Fe, { size: 16, className: "text-[var(--Text-on-Inverse)]" }),
|
|
7788
7803
|
/* @__PURE__ */ e("span", { className: "typo-label-sm text-[var(--Text-on-Inverse)]", children: "対象クーポン" })
|
|
7789
7804
|
] }),
|
|
7790
|
-
/* @__PURE__ */ e("div", { className: "-mt-2 z-[1] flex flex-col gap-0 rounded-lg bg-[var(--Surface-Info-Light)] px-4 py-3 pt-5", children: v.map((
|
|
7791
|
-
|
|
7805
|
+
/* @__PURE__ */ e("div", { className: "-mt-2 z-[1] flex flex-col gap-0 rounded-lg bg-[var(--Surface-Info-Light)] px-4 py-3 pt-5", children: v.map((M, F) => /* @__PURE__ */ i(w.Fragment, { children: [
|
|
7806
|
+
F > 0 && /* @__PURE__ */ e("div", { className: "my-2 border-t border-dashed border-[var(--Border-Info)]" }),
|
|
7792
7807
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 py-1", children: [
|
|
7793
|
-
/* @__PURE__ */ e("span", { className: "min-w-0 truncate typo-label-lg text-[var(--Text-Info)]", children:
|
|
7794
|
-
|
|
7808
|
+
/* @__PURE__ */ e("span", { className: "min-w-0 truncate typo-label-lg text-[var(--Text-Info)]", children: M.label }),
|
|
7809
|
+
M.actionLabel && /* @__PURE__ */ e(
|
|
7795
7810
|
"button",
|
|
7796
7811
|
{
|
|
7797
7812
|
type: "button",
|
|
7798
7813
|
className: "shrink-0 typo-body-md text-[var(--Text-Info)] underline",
|
|
7799
|
-
onClick:
|
|
7800
|
-
children:
|
|
7814
|
+
onClick: M.onAction,
|
|
7815
|
+
children: M.actionLabel
|
|
7801
7816
|
}
|
|
7802
7817
|
)
|
|
7803
7818
|
] })
|
|
7804
|
-
] },
|
|
7819
|
+
] }, F)) })
|
|
7805
7820
|
] })
|
|
7806
7821
|
] }),
|
|
7807
7822
|
h && h.length > 0 && /* @__PURE__ */ i("div", { className: "flex flex-col py-2", children: [
|
|
7808
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-3 overflow-hidden px-6 py-2", children: h.map((
|
|
7823
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-3 overflow-hidden px-6 py-2", children: h.map((M, F) => /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-[11px]", children: M.map((A) => /* @__PURE__ */ e(
|
|
7809
7824
|
za,
|
|
7810
7825
|
{
|
|
7811
7826
|
shape: "square",
|
|
7812
7827
|
size: "tile",
|
|
7813
7828
|
variant: "filled",
|
|
7814
|
-
selected: b ===
|
|
7815
|
-
soldOut:
|
|
7816
|
-
onClick: () => p?.(
|
|
7817
|
-
children:
|
|
7829
|
+
selected: b === A.value,
|
|
7830
|
+
soldOut: A.soldOut,
|
|
7831
|
+
onClick: () => p?.(A.value),
|
|
7832
|
+
children: A.label
|
|
7818
7833
|
},
|
|
7819
|
-
|
|
7820
|
-
)) },
|
|
7834
|
+
A.value
|
|
7835
|
+
)) }, F)) }),
|
|
7821
7836
|
f && /* @__PURE__ */ i(
|
|
7822
7837
|
"button",
|
|
7823
7838
|
{
|
|
@@ -7837,7 +7852,7 @@ function il({
|
|
|
7837
7852
|
}
|
|
7838
7853
|
)
|
|
7839
7854
|
] }),
|
|
7840
|
-
(k ||
|
|
7855
|
+
(k || N) && /* @__PURE__ */ i("div", { className: "flex min-w-0 items-center gap-2 rounded-lg px-4 py-2", children: [
|
|
7841
7856
|
k && /* @__PURE__ */ i(
|
|
7842
7857
|
"button",
|
|
7843
7858
|
{
|
|
@@ -7856,19 +7871,19 @@ function il({
|
|
|
7856
7871
|
]
|
|
7857
7872
|
}
|
|
7858
7873
|
),
|
|
7859
|
-
|
|
7874
|
+
N && /* @__PURE__ */ i("div", { className: "min-w-0 shrink text-[var(--Text-High-Emphasis)]", children: [
|
|
7860
7875
|
/* @__PURE__ */ e("span", { className: "typo-body-md", children: "への最短お届け日は" }),
|
|
7861
7876
|
/* @__PURE__ */ e("br", {}),
|
|
7862
|
-
/* @__PURE__ */ e("span", { className: "typo-label-md", children:
|
|
7877
|
+
/* @__PURE__ */ e("span", { className: "typo-label-md", children: N }),
|
|
7863
7878
|
/* @__PURE__ */ e("span", { className: "typo-body-md", children: "です" })
|
|
7864
7879
|
] })
|
|
7865
7880
|
] }),
|
|
7866
7881
|
S && /* @__PURE__ */ i("div", { className: "flex items-center gap-6 px-6 py-2", children: [
|
|
7867
7882
|
/* @__PURE__ */ e("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: "数量" }),
|
|
7868
7883
|
/* @__PURE__ */ e(
|
|
7869
|
-
|
|
7884
|
+
Ea,
|
|
7870
7885
|
{
|
|
7871
|
-
value:
|
|
7886
|
+
value: y,
|
|
7872
7887
|
onChange: S,
|
|
7873
7888
|
size: "md",
|
|
7874
7889
|
editable: !1
|
|
@@ -7916,7 +7931,7 @@ function il({
|
|
|
7916
7931
|
className: "w-full",
|
|
7917
7932
|
onClick: B,
|
|
7918
7933
|
disabled: !B,
|
|
7919
|
-
children:
|
|
7934
|
+
children: E
|
|
7920
7935
|
}
|
|
7921
7936
|
),
|
|
7922
7937
|
/* @__PURE__ */ i(
|
|
@@ -7925,33 +7940,33 @@ function il({
|
|
|
7925
7940
|
variant: "tertiary",
|
|
7926
7941
|
size: "xl",
|
|
7927
7942
|
className: "mb-2 w-full",
|
|
7928
|
-
onClick:
|
|
7943
|
+
onClick: P,
|
|
7929
7944
|
children: [
|
|
7930
7945
|
/* @__PURE__ */ e(
|
|
7931
|
-
|
|
7946
|
+
Se,
|
|
7932
7947
|
{
|
|
7933
7948
|
size: 20,
|
|
7934
|
-
filled:
|
|
7949
|
+
filled: $
|
|
7935
7950
|
}
|
|
7936
7951
|
),
|
|
7937
|
-
|
|
7952
|
+
$ ? "ブックマーク済み" : "ブックマークに追加"
|
|
7938
7953
|
]
|
|
7939
7954
|
}
|
|
7940
7955
|
)
|
|
7941
7956
|
] }) }),
|
|
7942
|
-
|
|
7957
|
+
I && /* @__PURE__ */ e("div", { className: "p-4", "data-missing-component": "PromoBanner", children: /* @__PURE__ */ i(
|
|
7943
7958
|
"button",
|
|
7944
7959
|
{
|
|
7945
7960
|
type: "button",
|
|
7946
7961
|
className: "flex w-full items-center gap-2 rounded-lg border border-[var(--Border-Info)] bg-[var(--Surface-Info-Light)] px-4 py-4",
|
|
7947
|
-
onClick:
|
|
7962
|
+
onClick: I.onClick,
|
|
7948
7963
|
children: [
|
|
7949
7964
|
/* @__PURE__ */ i("div", { className: "flex flex-1 flex-col items-start gap-2", children: [
|
|
7950
|
-
/* @__PURE__ */ e("span", { className: "rounded bg-[var(--Surface-Info)] px-2 py-1 typo-label-md text-[var(--Text-on-Inverse)]", children:
|
|
7951
|
-
/* @__PURE__ */ e("span", { className: "typo-body-md text-left text-[var(--Text-Info)]", children:
|
|
7965
|
+
/* @__PURE__ */ e("span", { className: "rounded bg-[var(--Surface-Info)] px-2 py-1 typo-label-md text-[var(--Text-on-Inverse)]", children: I.badge }),
|
|
7966
|
+
/* @__PURE__ */ e("span", { className: "typo-body-md text-left text-[var(--Text-Info)]", children: I.text })
|
|
7952
7967
|
] }),
|
|
7953
7968
|
/* @__PURE__ */ e(
|
|
7954
|
-
|
|
7969
|
+
V,
|
|
7955
7970
|
{
|
|
7956
7971
|
size: 24,
|
|
7957
7972
|
className: "shrink-0 text-[var(--Text-Info)]"
|
|
@@ -7983,27 +7998,27 @@ function nl({
|
|
|
7983
7998
|
href: x,
|
|
7984
7999
|
orderDate: k,
|
|
7985
8000
|
deliveryInfo: g,
|
|
7986
|
-
totalPrice:
|
|
7987
|
-
showReviewButton:
|
|
8001
|
+
totalPrice: N,
|
|
8002
|
+
showReviewButton: y = !1,
|
|
7988
8003
|
optionInfo: S,
|
|
7989
8004
|
// cart variant props
|
|
7990
8005
|
quantity: z,
|
|
7991
8006
|
onQuantityChange: B,
|
|
7992
|
-
quantitySize:
|
|
7993
|
-
originalPrice:
|
|
7994
|
-
priceLabel:
|
|
7995
|
-
deliveryText:
|
|
7996
|
-
onDelete:
|
|
7997
|
-
onSaveForLater:
|
|
7998
|
-
imageSize:
|
|
8007
|
+
quantitySize: E = "sm",
|
|
8008
|
+
originalPrice: P,
|
|
8009
|
+
priceLabel: $,
|
|
8010
|
+
deliveryText: I,
|
|
8011
|
+
onDelete: C,
|
|
8012
|
+
onSaveForLater: M,
|
|
8013
|
+
imageSize: F = "size-20",
|
|
7999
8014
|
// slot props
|
|
8000
|
-
leftSlot:
|
|
8015
|
+
leftSlot: A,
|
|
8001
8016
|
rightSlot: Z,
|
|
8002
8017
|
bottomSlot: We,
|
|
8003
|
-
className:
|
|
8004
|
-
...
|
|
8018
|
+
className: Ca,
|
|
8019
|
+
...Ma
|
|
8005
8020
|
}) {
|
|
8006
|
-
const
|
|
8021
|
+
const X = m === "small" || m === "xsm", J = m === "review", W = m === "cart", Ve = W ? F : m === "xsm" ? "size-10" : X ? "size-14" : "size-[102px]";
|
|
8007
8022
|
return /* @__PURE__ */ i(
|
|
8008
8023
|
"div",
|
|
8009
8024
|
{
|
|
@@ -8011,17 +8026,17 @@ function nl({
|
|
|
8011
8026
|
className: s(
|
|
8012
8027
|
"flex flex-col bg-[var(--Surface-Primary)]",
|
|
8013
8028
|
m === "lp" && "flex-col rounded-xl bg-[var(--Surface-Secondary)] p-4",
|
|
8014
|
-
|
|
8029
|
+
Ca
|
|
8015
8030
|
),
|
|
8016
|
-
...
|
|
8031
|
+
...Ma,
|
|
8017
8032
|
children: [
|
|
8018
8033
|
/* @__PURE__ */ i("div", { className: s(
|
|
8019
8034
|
"flex gap-2 px-4 py-2 min-w-0 overflow-hidden",
|
|
8020
|
-
|
|
8021
|
-
|
|
8035
|
+
X && "gap-2 px-3 py-2",
|
|
8036
|
+
W && "gap-3 p-4",
|
|
8022
8037
|
m === "lp" && "gap-3 px-0 py-0"
|
|
8023
8038
|
), children: [
|
|
8024
|
-
|
|
8039
|
+
A ? /* @__PURE__ */ e("div", { className: "shrink-0", children: A }) : t && !W ? /* @__PURE__ */ i("a", { href: x ?? "#", className: "relative shrink-0", children: [
|
|
8025
8040
|
/* @__PURE__ */ e(
|
|
8026
8041
|
"img",
|
|
8027
8042
|
{
|
|
@@ -8036,7 +8051,7 @@ function nl({
|
|
|
8036
8051
|
),
|
|
8037
8052
|
c && /* @__PURE__ */ e("span", { className: "absolute top-1.5 left-1.5 rounded bg-[var(--Surface-Primary)]/80 px-1.5 py-0.5 typo-label-xs text-[var(--Text-Medium-Emphasis)]", children: c })
|
|
8038
8053
|
] }) : null,
|
|
8039
|
-
!
|
|
8054
|
+
!A && t && W && /* @__PURE__ */ i(
|
|
8040
8055
|
"div",
|
|
8041
8056
|
{
|
|
8042
8057
|
className: s(
|
|
@@ -8058,9 +8073,9 @@ function nl({
|
|
|
8058
8073
|
),
|
|
8059
8074
|
/* @__PURE__ */ i("div", { className: s(
|
|
8060
8075
|
"min-w-0 flex-1",
|
|
8061
|
-
J ? "flex flex-col justify-between self-stretch" :
|
|
8076
|
+
J ? "flex flex-col justify-between self-stretch" : W ? "flex flex-col gap-2" : "space-y-1"
|
|
8062
8077
|
), children: [
|
|
8063
|
-
(n || l) && !
|
|
8078
|
+
(n || l) && !X && !J && (o ? /* @__PURE__ */ i(
|
|
8064
8079
|
"a",
|
|
8065
8080
|
{
|
|
8066
8081
|
href: o,
|
|
@@ -8074,82 +8089,82 @@ function nl({
|
|
|
8074
8089
|
n,
|
|
8075
8090
|
l && ` / ${l}`
|
|
8076
8091
|
] })),
|
|
8077
|
-
|
|
8092
|
+
W ? /* @__PURE__ */ e("h3", { className: "line-clamp-2 typo-body-md text-[var(--Text-High-Emphasis)] min-w-0 break-words", children: a }) : /* @__PURE__ */ e(
|
|
8078
8093
|
"a",
|
|
8079
8094
|
{
|
|
8080
8095
|
href: x ?? "#",
|
|
8081
8096
|
className: s(
|
|
8082
8097
|
"block text-[var(--Text-High-Emphasis)]",
|
|
8083
|
-
|
|
8098
|
+
X ? "truncate typo-body-sm" : "line-clamp-2 typo-label-md"
|
|
8084
8099
|
),
|
|
8085
8100
|
children: a
|
|
8086
8101
|
}
|
|
8087
8102
|
),
|
|
8088
|
-
u && u.length > 0 && !
|
|
8103
|
+
u && u.length > 0 && !X && !J && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-x-1", children: u.map((G) => /* @__PURE__ */ i("span", { className: "typo-body-xs text-[var(--Text-Medium-Emphasis)]", children: [
|
|
8089
8104
|
"#",
|
|
8090
8105
|
G
|
|
8091
8106
|
] }, G)) }),
|
|
8092
|
-
d && d.length > 0 && !
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
/* @__PURE__ */ e("div", { className: s("min-w-0 shrink-0",
|
|
8107
|
+
d && d.length > 0 && !X && !J && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-1", children: d.map((G, Ce) => /* @__PURE__ */ e(ee, { variant: G.variant, size: W ? "sm" : void 0, children: G.label }, Ce)) }),
|
|
8108
|
+
W && I && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: I }),
|
|
8109
|
+
W && r !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center justify-between min-w-0 gap-2 overflow-hidden", children: [
|
|
8110
|
+
$ && /* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)] shrink-0", children: $ }),
|
|
8111
|
+
/* @__PURE__ */ e("div", { className: s("min-w-0 shrink-0", !$ && "ml-auto"), children: /* @__PURE__ */ e(
|
|
8097
8112
|
be,
|
|
8098
8113
|
{
|
|
8099
8114
|
price: r,
|
|
8100
|
-
originalPrice:
|
|
8115
|
+
originalPrice: P,
|
|
8101
8116
|
size: "sm",
|
|
8102
8117
|
showTaxLabel: !1
|
|
8103
8118
|
}
|
|
8104
8119
|
) })
|
|
8105
8120
|
] }),
|
|
8106
|
-
|
|
8121
|
+
W && (z !== void 0 || C || M) && /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
8107
8122
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
|
|
8108
|
-
|
|
8123
|
+
C && /* @__PURE__ */ e(
|
|
8109
8124
|
T,
|
|
8110
8125
|
{
|
|
8111
8126
|
variant: "tertiary",
|
|
8112
8127
|
size: "sm",
|
|
8113
|
-
onClick:
|
|
8128
|
+
onClick: C,
|
|
8114
8129
|
"aria-label": "削除",
|
|
8115
8130
|
children: "削除"
|
|
8116
8131
|
}
|
|
8117
8132
|
),
|
|
8118
|
-
|
|
8133
|
+
M && /* @__PURE__ */ i(
|
|
8119
8134
|
T,
|
|
8120
8135
|
{
|
|
8121
8136
|
variant: "tertiary",
|
|
8122
8137
|
size: "sm",
|
|
8123
|
-
onClick:
|
|
8138
|
+
onClick: M,
|
|
8124
8139
|
"aria-label": "あとで買う",
|
|
8125
8140
|
children: [
|
|
8126
|
-
/* @__PURE__ */ e(
|
|
8141
|
+
/* @__PURE__ */ e(Se, { size: 16 }),
|
|
8127
8142
|
"あとで買う"
|
|
8128
8143
|
]
|
|
8129
8144
|
}
|
|
8130
8145
|
)
|
|
8131
8146
|
] }),
|
|
8132
8147
|
z !== void 0 && /* @__PURE__ */ e(
|
|
8133
|
-
|
|
8148
|
+
Ea,
|
|
8134
8149
|
{
|
|
8135
8150
|
value: z,
|
|
8136
|
-
size:
|
|
8151
|
+
size: E,
|
|
8137
8152
|
onChange: B
|
|
8138
8153
|
}
|
|
8139
8154
|
)
|
|
8140
8155
|
] }),
|
|
8141
|
-
r !== void 0 && !J && !
|
|
8156
|
+
r !== void 0 && !J && !W && /* @__PURE__ */ i("p", { className: s(
|
|
8142
8157
|
"text-[var(--Text-High-Emphasis)]",
|
|
8143
|
-
|
|
8158
|
+
X ? "typo-label-sm" : "typo-label-md"
|
|
8144
8159
|
), children: [
|
|
8145
8160
|
"¥",
|
|
8146
8161
|
r.toLocaleString()
|
|
8147
8162
|
] }),
|
|
8148
|
-
J &&
|
|
8163
|
+
J && N !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
8149
8164
|
/* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-Low-Emphasis)]", children: "合計" }),
|
|
8150
8165
|
/* @__PURE__ */ i("span", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: [
|
|
8151
8166
|
"¥",
|
|
8152
|
-
|
|
8167
|
+
N.toLocaleString()
|
|
8153
8168
|
] })
|
|
8154
8169
|
] }),
|
|
8155
8170
|
m === "order-history" && /* @__PURE__ */ i("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: [
|
|
@@ -8161,18 +8176,18 @@ function nl({
|
|
|
8161
8176
|
"お届け先:",
|
|
8162
8177
|
g
|
|
8163
8178
|
] }),
|
|
8164
|
-
|
|
8179
|
+
N !== void 0 && /* @__PURE__ */ i("p", { children: [
|
|
8165
8180
|
"合計:",
|
|
8166
8181
|
/* @__PURE__ */ i("span", { className: "typo-label-sm text-[var(--Text-High-Emphasis)]", children: [
|
|
8167
8182
|
"¥",
|
|
8168
|
-
|
|
8183
|
+
N.toLocaleString()
|
|
8169
8184
|
] })
|
|
8170
8185
|
] })
|
|
8171
8186
|
] }),
|
|
8172
|
-
S && /* @__PURE__ */ e("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: Object.entries(S).map(([G,
|
|
8187
|
+
S && /* @__PURE__ */ e("div", { className: "space-y-0.5 typo-body-sm text-[var(--Text-Low-Emphasis)]", children: Object.entries(S).map(([G, Ce]) => /* @__PURE__ */ i("p", { children: [
|
|
8173
8188
|
G,
|
|
8174
8189
|
":",
|
|
8175
|
-
/* @__PURE__ */ e("span", { className: "text-[var(--Text-Medium-Emphasis)]", children:
|
|
8190
|
+
/* @__PURE__ */ e("span", { className: "text-[var(--Text-Medium-Emphasis)]", children: Ce })
|
|
8176
8191
|
] }, G)) })
|
|
8177
8192
|
] }),
|
|
8178
8193
|
Z ? /* @__PURE__ */ e("div", { className: "shrink-0 self-start", children: Z }) : f && !J && /* @__PURE__ */ e(
|
|
@@ -8196,9 +8211,9 @@ function nl({
|
|
|
8196
8211
|
}
|
|
8197
8212
|
)
|
|
8198
8213
|
] }),
|
|
8199
|
-
We ? /* @__PURE__ */ e("div", { className: "px-4 py-3", children: We }) : (v || b ||
|
|
8214
|
+
We ? /* @__PURE__ */ e("div", { className: "px-4 py-3", children: We }) : (v || b || y) && /* @__PURE__ */ i("div", { className: "flex justify-end gap-3.5 px-4 py-3", children: [
|
|
8200
8215
|
b && /* @__PURE__ */ e(T, { variant: "tertiary", size: "sm", onClick: p, children: "商品詳細を見る" }),
|
|
8201
|
-
|
|
8216
|
+
y && /* @__PURE__ */ e(T, { variant: "secondary", size: "sm", children: "レビューを書く" }),
|
|
8202
8217
|
v && /* @__PURE__ */ e(T, { size: "sm", onClick: h, children: "カートに追加" })
|
|
8203
8218
|
] })
|
|
8204
8219
|
]
|
|
@@ -8265,7 +8280,7 @@ function ll({
|
|
|
8265
8280
|
onClick: () => n?.(Math.max(t, a - 1)),
|
|
8266
8281
|
disabled: a <= t,
|
|
8267
8282
|
"aria-label": "減らす",
|
|
8268
|
-
children: /* @__PURE__ */ e(
|
|
8283
|
+
children: /* @__PURE__ */ e(je, { size: 16 })
|
|
8269
8284
|
}
|
|
8270
8285
|
),
|
|
8271
8286
|
/* @__PURE__ */ e("span", { className: "w-8 text-center typo-label-md tabular-nums text-[var(--Text-High-Emphasis)]", "aria-live": "polite", children: a }),
|
|
@@ -8370,7 +8385,7 @@ function ul({
|
|
|
8370
8385
|
maxLength: b = 80,
|
|
8371
8386
|
...p
|
|
8372
8387
|
}) {
|
|
8373
|
-
const f = t === "pc", x = t === "card", k = o.length > b ? o.slice(0, b) + "..." : o, g = o.length > b,
|
|
8388
|
+
const f = t === "pc", x = t === "card", k = o.length > b ? o.slice(0, b) + "..." : o, g = o.length > b, N = f ? "size-64" : "size-20";
|
|
8374
8389
|
return /* @__PURE__ */ i(
|
|
8375
8390
|
"div",
|
|
8376
8391
|
{
|
|
@@ -8395,8 +8410,8 @@ function ul({
|
|
|
8395
8410
|
/* @__PURE__ */ e("span", { className: "typo-body-sm text-[var(--Text-High-Emphasis)]", children: d })
|
|
8396
8411
|
] }),
|
|
8397
8412
|
/* @__PURE__ */ i("div", { className: "flex w-full items-center justify-between", children: [
|
|
8398
|
-
/* @__PURE__ */ e("div", { className: "flex items-start", children: Array.from({ length: 5 }).map((
|
|
8399
|
-
|
|
8413
|
+
/* @__PURE__ */ e("div", { className: "flex items-start", children: Array.from({ length: 5 }).map((y, S) => /* @__PURE__ */ e(
|
|
8414
|
+
Ee,
|
|
8400
8415
|
{
|
|
8401
8416
|
size: 20,
|
|
8402
8417
|
className: s(
|
|
@@ -8427,7 +8442,7 @@ function ul({
|
|
|
8427
8442
|
}
|
|
8428
8443
|
)
|
|
8429
8444
|
] }),
|
|
8430
|
-
l && /* @__PURE__ */ e("div", { className: s("shrink-0 overflow-hidden rounded-lg",
|
|
8445
|
+
l && /* @__PURE__ */ e("div", { className: s("shrink-0 overflow-hidden rounded-lg", N), children: /* @__PURE__ */ e(
|
|
8431
8446
|
"img",
|
|
8432
8447
|
{
|
|
8433
8448
|
src: l,
|
|
@@ -8485,23 +8500,23 @@ function pl({
|
|
|
8485
8500
|
className: m,
|
|
8486
8501
|
...v
|
|
8487
8502
|
}) {
|
|
8488
|
-
const [h, b] = w.useState(a), [p, f] = w.useState(0), [x, k] = w.useState(t), [g,
|
|
8489
|
-
function C
|
|
8490
|
-
const
|
|
8491
|
-
|
|
8492
|
-
const
|
|
8493
|
-
|
|
8503
|
+
const [h, b] = w.useState(a), [p, f] = w.useState(0), [x, k] = w.useState(t), [g, N] = w.useState([]), [y, S] = w.useState([]), z = w.useRef(null), B = p || h;
|
|
8504
|
+
function E(C) {
|
|
8505
|
+
const M = Array.from(C.target.files ?? []), F = [...g, ...M].slice(0, l);
|
|
8506
|
+
N(F);
|
|
8507
|
+
const A = F.map((Z) => URL.createObjectURL(Z));
|
|
8508
|
+
y.forEach((Z) => URL.revokeObjectURL(Z)), S(A), z.current && (z.current.value = "");
|
|
8494
8509
|
}
|
|
8495
|
-
function
|
|
8496
|
-
URL.revokeObjectURL(
|
|
8510
|
+
function P(C) {
|
|
8511
|
+
URL.revokeObjectURL(y[C]), N((M) => M.filter((F, A) => A !== C)), S((M) => M.filter((F, A) => A !== C));
|
|
8497
8512
|
}
|
|
8498
|
-
function
|
|
8499
|
-
|
|
8513
|
+
function $(C) {
|
|
8514
|
+
C.preventDefault(), h !== 0 && r?.({ rating: h, text: x, images: g });
|
|
8500
8515
|
}
|
|
8501
8516
|
w.useEffect(() => () => {
|
|
8502
|
-
|
|
8517
|
+
y.forEach((C) => URL.revokeObjectURL(C));
|
|
8503
8518
|
}, []);
|
|
8504
|
-
const
|
|
8519
|
+
const I = ["", "残念", "いまいち", "普通", "満足", "最高!"];
|
|
8505
8520
|
return /* @__PURE__ */ i(
|
|
8506
8521
|
"form",
|
|
8507
8522
|
{
|
|
@@ -8510,7 +8525,7 @@ function pl({
|
|
|
8510
8525
|
"flex flex-col gap-4 rounded-xl bg-[var(--Surface-Primary)] p-4",
|
|
8511
8526
|
m
|
|
8512
8527
|
),
|
|
8513
|
-
onSubmit:
|
|
8528
|
+
onSubmit: $,
|
|
8514
8529
|
...v,
|
|
8515
8530
|
children: [
|
|
8516
8531
|
u && /* @__PURE__ */ i("div", { className: "flex items-center gap-2 rounded-lg bg-[var(--Surface-Secondary)] p-3", children: [
|
|
@@ -8526,31 +8541,31 @@ function pl({
|
|
|
8526
8541
|
] }),
|
|
8527
8542
|
/* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-2", children: [
|
|
8528
8543
|
/* @__PURE__ */ e("p", { className: "typo-label-md text-[var(--Text-High-Emphasis)]", children: "評価を選択してください" }),
|
|
8529
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-1", role: "radiogroup", "aria-label": "星評価", children: [1, 2, 3, 4, 5].map((
|
|
8544
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-1", role: "radiogroup", "aria-label": "星評価", children: [1, 2, 3, 4, 5].map((C) => /* @__PURE__ */ e(
|
|
8530
8545
|
"button",
|
|
8531
8546
|
{
|
|
8532
8547
|
type: "button",
|
|
8533
8548
|
role: "radio",
|
|
8534
|
-
"aria-checked": h ===
|
|
8535
|
-
"aria-label": `${
|
|
8549
|
+
"aria-checked": h === C,
|
|
8550
|
+
"aria-label": `${C}つ星`,
|
|
8536
8551
|
className: "rounded-full p-1 transition-transform hover:scale-110 focus-visible:ring-2 focus-visible:ring-[var(--Focus-High-Emphasis)]",
|
|
8537
|
-
onClick: () => b(
|
|
8538
|
-
onMouseEnter: () => f(
|
|
8552
|
+
onClick: () => b(C),
|
|
8553
|
+
onMouseEnter: () => f(C),
|
|
8539
8554
|
onMouseLeave: () => f(0),
|
|
8540
8555
|
children: /* @__PURE__ */ e(
|
|
8541
|
-
|
|
8556
|
+
Ee,
|
|
8542
8557
|
{
|
|
8543
8558
|
size: 32,
|
|
8544
8559
|
className: s(
|
|
8545
8560
|
"transition-colors",
|
|
8546
|
-
|
|
8561
|
+
C <= B ? "text-[var(--Brand-Cake-Orange)]" : "text-[var(--Border-Medium-Emphasis)]"
|
|
8547
8562
|
)
|
|
8548
8563
|
}
|
|
8549
8564
|
)
|
|
8550
8565
|
},
|
|
8551
|
-
|
|
8566
|
+
C
|
|
8552
8567
|
)) }),
|
|
8553
|
-
B > 0 && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Accent-Primary)]", children:
|
|
8568
|
+
B > 0 && /* @__PURE__ */ e("p", { className: "typo-body-sm text-[var(--Text-Accent-Primary)]", children: I[B] })
|
|
8554
8569
|
] }),
|
|
8555
8570
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-1.5", children: [
|
|
8556
8571
|
/* @__PURE__ */ e(
|
|
@@ -8558,7 +8573,7 @@ function pl({
|
|
|
8558
8573
|
{
|
|
8559
8574
|
placeholder: "商品の感想を書いてください(任意)",
|
|
8560
8575
|
value: x,
|
|
8561
|
-
onChange: (
|
|
8576
|
+
onChange: (C) => k(C.target.value.slice(0, d)),
|
|
8562
8577
|
rows: 5,
|
|
8563
8578
|
className: "resize-none"
|
|
8564
8579
|
}
|
|
@@ -8576,19 +8591,19 @@ function pl({
|
|
|
8576
8591
|
"枚)"
|
|
8577
8592
|
] }),
|
|
8578
8593
|
/* @__PURE__ */ i("div", { className: "flex flex-wrap gap-2", children: [
|
|
8579
|
-
|
|
8580
|
-
/* @__PURE__ */ e("img", { src:
|
|
8594
|
+
y.map((C, M) => /* @__PURE__ */ i("div", { className: "relative size-20 overflow-hidden rounded-lg", children: [
|
|
8595
|
+
/* @__PURE__ */ e("img", { src: C, alt: `添付画像${M + 1}`, className: "size-full object-cover" }),
|
|
8581
8596
|
/* @__PURE__ */ e(
|
|
8582
8597
|
"button",
|
|
8583
8598
|
{
|
|
8584
8599
|
type: "button",
|
|
8585
|
-
onClick: () => M
|
|
8600
|
+
onClick: () => P(M),
|
|
8586
8601
|
className: "absolute right-1 top-1 flex size-5 items-center justify-center rounded-full bg-[var(--Overlay-Dark)] text-[var(--Text-on-Inverse)] transition-colors hover:bg-[var(--Overlay-Dark)]",
|
|
8587
|
-
"aria-label": `画像${
|
|
8602
|
+
"aria-label": `画像${M + 1}を削除`,
|
|
8588
8603
|
children: /* @__PURE__ */ e(xe, { className: "size-3" })
|
|
8589
8604
|
}
|
|
8590
8605
|
)
|
|
8591
|
-
] },
|
|
8606
|
+
] }, M)),
|
|
8592
8607
|
g.length < l && /* @__PURE__ */ i(
|
|
8593
8608
|
"button",
|
|
8594
8609
|
{
|
|
@@ -8610,7 +8625,7 @@ function pl({
|
|
|
8610
8625
|
accept: "image/*",
|
|
8611
8626
|
multiple: !0,
|
|
8612
8627
|
className: "hidden",
|
|
8613
|
-
onChange:
|
|
8628
|
+
onChange: E
|
|
8614
8629
|
}
|
|
8615
8630
|
)
|
|
8616
8631
|
] })
|
|
@@ -8659,7 +8674,7 @@ function hl({
|
|
|
8659
8674
|
children: [
|
|
8660
8675
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
|
|
8661
8676
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-1.5", children: [
|
|
8662
|
-
/* @__PURE__ */ e(
|
|
8677
|
+
/* @__PURE__ */ e(Ee, { size: 28, className: "text-[var(--Brand-Cake-Orange)]" }),
|
|
8663
8678
|
/* @__PURE__ */ e("span", { className: "typo-heading-3xl tabular-nums text-[var(--Text-High-Emphasis)]", children: a.toFixed(2) })
|
|
8664
8679
|
] }),
|
|
8665
8680
|
/* @__PURE__ */ i("span", { className: "typo-body-sm text-[var(--Text-Medium-Emphasis)]", children: [
|
|
@@ -8879,7 +8894,7 @@ function fl({
|
|
|
8879
8894
|
),
|
|
8880
8895
|
"aria-label": c ? "お気に入り解除" : "お気に入りに追加",
|
|
8881
8896
|
children: /* @__PURE__ */ e(
|
|
8882
|
-
|
|
8897
|
+
Se,
|
|
8883
8898
|
{
|
|
8884
8899
|
size: 20,
|
|
8885
8900
|
filled: c
|
|
@@ -8984,15 +8999,15 @@ function oa({
|
|
|
8984
8999
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-6", children: [
|
|
8985
9000
|
x,
|
|
8986
9001
|
/* @__PURE__ */ e("nav", { className: "flex items-center gap-0.5", children: u.map((g) => {
|
|
8987
|
-
const
|
|
9002
|
+
const N = g.href ? "a" : "button", y = g.href ? { href: g.href } : { type: "button", onClick: g.onClick };
|
|
8988
9003
|
return /* @__PURE__ */ e(
|
|
8989
|
-
|
|
9004
|
+
N,
|
|
8990
9005
|
{
|
|
8991
9006
|
className: s(
|
|
8992
9007
|
"px-3 py-1.5 typo-body-sm rounded-md transition-colors whitespace-nowrap",
|
|
8993
9008
|
g.isActive ? "text-[var(--Text-High-Emphasis)] font-bold" : "text-[var(--Text-Medium-Emphasis)] hover:text-[var(--Text-High-Emphasis)] hover:bg-[var(--Surface-Secondary)]"
|
|
8994
9009
|
),
|
|
8995
|
-
...
|
|
9010
|
+
...y,
|
|
8996
9011
|
children: g.label
|
|
8997
9012
|
},
|
|
8998
9013
|
g.label
|
|
@@ -9038,7 +9053,7 @@ function oa({
|
|
|
9038
9053
|
size: "icon-sm",
|
|
9039
9054
|
"aria-label": l,
|
|
9040
9055
|
onClick: o,
|
|
9041
|
-
children: /* @__PURE__ */ e(
|
|
9056
|
+
children: /* @__PURE__ */ e(Ke, { size: 20 })
|
|
9042
9057
|
}
|
|
9043
9058
|
),
|
|
9044
9059
|
m && /* @__PURE__ */ e("div", { className: "flex-1", children: m })
|
|
@@ -9063,7 +9078,7 @@ function oa({
|
|
|
9063
9078
|
size: "icon-sm",
|
|
9064
9079
|
"aria-label": l,
|
|
9065
9080
|
onClick: o,
|
|
9066
|
-
children: /* @__PURE__ */ e(
|
|
9081
|
+
children: /* @__PURE__ */ e(Ke, { size: 20 })
|
|
9067
9082
|
}
|
|
9068
9083
|
),
|
|
9069
9084
|
/* @__PURE__ */ e("h1", { className: "flex-1 text-center typo-heading-md text-[var(--Text-High-Emphasis)]", children: n }),
|
|
@@ -9115,19 +9130,19 @@ function gl({
|
|
|
9115
9130
|
/* @__PURE__ */ e("div", { className: "hidden @md:block", children: /* @__PURE__ */ e(oa, { logo: /* @__PURE__ */ e(qr, {}), variant: "logo", actions: ss }) }),
|
|
9116
9131
|
/* @__PURE__ */ e("div", { className: "hidden @md:block bg-[var(--Surface-Primary)] border-b border-[var(--Border-Low-Emphasis)]", children: /* @__PURE__ */ e("div", { className: "max-w-[1280px] mx-auto px-6 py-3", children: /* @__PURE__ */ e(It, { children: /* @__PURE__ */ e(At, { children: d.map((u, c) => {
|
|
9117
9132
|
const m = c === d.length - 1;
|
|
9118
|
-
return /* @__PURE__ */ i(
|
|
9133
|
+
return /* @__PURE__ */ i(Ha.Fragment, { children: [
|
|
9119
9134
|
c > 0 && /* @__PURE__ */ e(Ft, {}),
|
|
9120
9135
|
/* @__PURE__ */ e(Dt, { children: m ? /* @__PURE__ */ e(Rt, { children: u.label }) : /* @__PURE__ */ e(Ot, { href: u.href ?? "#", children: u.label }) })
|
|
9121
9136
|
] }, c);
|
|
9122
9137
|
}) }) }) }) }),
|
|
9123
9138
|
/* @__PURE__ */ i("div", { className: "@md:max-w-[1280px] @md:mx-auto @md:mt-10 @md:mb-10 @md:grid @md:[grid-template:'side_main'_1fr_/_256px_1fr] @md:gap-6 @md:items-start", children: [
|
|
9124
|
-
/* @__PURE__ */ e("div", { className: "hidden @md:block @md:[grid-area:side] rounded-2xl overflow-hidden shadow-sm", children: /* @__PURE__ */ e($r, { groups:
|
|
9139
|
+
/* @__PURE__ */ e("div", { className: "hidden @md:block @md:[grid-area:side] rounded-2xl overflow-hidden shadow-sm", children: /* @__PURE__ */ e($r, { groups: Xr, activeMenu: t, ariaLabel: "マイページメニュー" }) }),
|
|
9125
9140
|
/* @__PURE__ */ i("main", { className: "@md:[grid-area:main] bg-[var(--Surface-Primary)] @md:rounded-2xl @md:shadow-sm pb-20 @md:pb-8", children: [
|
|
9126
9141
|
/* @__PURE__ */ e("div", { className: "hidden @md:flex items-center gap-3 px-6 py-5 border-b border-[var(--Border-Low-Emphasis)]", children: /* @__PURE__ */ e("h1", { className: "typo-heading-lg text-[var(--Text-High-Emphasis)]", children: a }) }),
|
|
9127
9142
|
r
|
|
9128
9143
|
] })
|
|
9129
9144
|
] }),
|
|
9130
|
-
/* @__PURE__ */ e(
|
|
9145
|
+
/* @__PURE__ */ e(Sr, { items: o, className: "@md:hidden" })
|
|
9131
9146
|
] });
|
|
9132
9147
|
}
|
|
9133
9148
|
export {
|
|
@@ -9135,29 +9150,29 @@ export {
|
|
|
9135
9150
|
ks as AccordionContent,
|
|
9136
9151
|
ws as AccordionItem,
|
|
9137
9152
|
Ts as AccordionTrigger,
|
|
9138
|
-
|
|
9153
|
+
Uo as AdminLayout,
|
|
9139
9154
|
zs as Alert,
|
|
9140
|
-
|
|
9141
|
-
|
|
9155
|
+
Ss as AlertDescription,
|
|
9156
|
+
Cs as AlertDialog,
|
|
9142
9157
|
_s as AlertDialogAction,
|
|
9143
9158
|
Is as AlertDialogCancel,
|
|
9144
|
-
|
|
9159
|
+
Ps as AlertDialogContent,
|
|
9145
9160
|
Ls as AlertDialogDescription,
|
|
9146
|
-
|
|
9161
|
+
Hs as AlertDialogFooter,
|
|
9147
9162
|
Bs as AlertDialogHeader,
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9163
|
+
jt as AlertDialogOverlay,
|
|
9164
|
+
Ht as AlertDialogPortal,
|
|
9165
|
+
js as AlertDialogTitle,
|
|
9166
|
+
Ms as AlertDialogTrigger,
|
|
9167
|
+
Es as AlertTitle,
|
|
9168
|
+
Xo as AnniversaryCard,
|
|
9154
9169
|
As as AspectRatio,
|
|
9155
9170
|
Ds as Avatar,
|
|
9156
9171
|
Rs as AvatarFallback,
|
|
9157
9172
|
Os as AvatarImage,
|
|
9158
9173
|
_t as Badge,
|
|
9159
9174
|
zo as BannerCarousel,
|
|
9160
|
-
|
|
9175
|
+
Sr as BottomTabBar,
|
|
9161
9176
|
It as Breadcrumb,
|
|
9162
9177
|
Fs as BreadcrumbEllipsis,
|
|
9163
9178
|
Dt as BreadcrumbItem,
|
|
@@ -9165,7 +9180,7 @@ export {
|
|
|
9165
9180
|
At as BreadcrumbList,
|
|
9166
9181
|
Rt as BreadcrumbPage,
|
|
9167
9182
|
Ft as BreadcrumbSeparator,
|
|
9168
|
-
|
|
9183
|
+
So as BulkActionBar,
|
|
9169
9184
|
T as Button,
|
|
9170
9185
|
Lo as CakeFormField,
|
|
9171
9186
|
qr as CakeLogo,
|
|
@@ -9174,13 +9189,13 @@ export {
|
|
|
9174
9189
|
Gs as CardAction,
|
|
9175
9190
|
Vt as CardContent,
|
|
9176
9191
|
qs as CardDescription,
|
|
9177
|
-
|
|
9192
|
+
Ks as CardFooter,
|
|
9178
9193
|
Ws as CardHeader,
|
|
9179
9194
|
Vs as CardTitle,
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9195
|
+
Mo as CategoryScroll,
|
|
9196
|
+
Co as CategoryShortcuts,
|
|
9197
|
+
Us as Checkbox,
|
|
9198
|
+
Xs as CheckboxCardGroup,
|
|
9184
9199
|
Js as CheckboxCardItem,
|
|
9185
9200
|
za as Chip,
|
|
9186
9201
|
ko as CoachMark,
|
|
@@ -9213,29 +9228,29 @@ export {
|
|
|
9213
9228
|
ui as ContextMenuTrigger,
|
|
9214
9229
|
Jo as CountdownTimer,
|
|
9215
9230
|
Yo as CouponCard,
|
|
9216
|
-
|
|
9231
|
+
Pe as CreditCardIcon,
|
|
9217
9232
|
qi as DataTable,
|
|
9218
9233
|
Qo as DeliveryCalendar,
|
|
9219
9234
|
qt as Dialog,
|
|
9220
9235
|
ai as DialogClose,
|
|
9221
|
-
|
|
9236
|
+
Ut as DialogContent,
|
|
9222
9237
|
Yt as DialogDescription,
|
|
9223
9238
|
ti as DialogFooter,
|
|
9224
|
-
|
|
9225
|
-
|
|
9239
|
+
Xt as DialogHeader,
|
|
9240
|
+
Kt as DialogOverlay,
|
|
9226
9241
|
Gt as DialogPortal,
|
|
9227
9242
|
Jt as DialogTitle,
|
|
9228
9243
|
ei as DialogTrigger,
|
|
9229
9244
|
Gi as Drawer,
|
|
9230
|
-
|
|
9231
|
-
|
|
9245
|
+
Ui as DrawerClose,
|
|
9246
|
+
Xi as DrawerContent,
|
|
9232
9247
|
Zi as DrawerDescription,
|
|
9233
9248
|
Yi as DrawerFooter,
|
|
9234
9249
|
Ji as DrawerHeader,
|
|
9235
9250
|
nr as DrawerOverlay,
|
|
9236
9251
|
ir as DrawerPortal,
|
|
9237
9252
|
Qi as DrawerTitle,
|
|
9238
|
-
|
|
9253
|
+
Ki as DrawerTrigger,
|
|
9239
9254
|
ar as DropdownMenu,
|
|
9240
9255
|
Ii as DropdownMenuCheckboxItem,
|
|
9241
9256
|
rr as DropdownMenuContent,
|
|
@@ -9251,10 +9266,10 @@ export {
|
|
|
9251
9266
|
Vi as DropdownMenuSubContent,
|
|
9252
9267
|
Wi as DropdownMenuSubTrigger,
|
|
9253
9268
|
tr as DropdownMenuTrigger,
|
|
9254
|
-
|
|
9269
|
+
Po as EmptyState,
|
|
9255
9270
|
Bo as ErrorState,
|
|
9256
|
-
|
|
9257
|
-
|
|
9271
|
+
Ho as FilterBar,
|
|
9272
|
+
jo as Footer,
|
|
9258
9273
|
en as Form,
|
|
9259
9274
|
sn as FormControl,
|
|
9260
9275
|
nn as FormDescription,
|
|
@@ -9292,15 +9307,15 @@ export {
|
|
|
9292
9307
|
vn as MenubarTrigger,
|
|
9293
9308
|
aa as MissingComponent,
|
|
9294
9309
|
gl as MypageShell,
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9310
|
+
En as NavigationMenu,
|
|
9311
|
+
Pn as NavigationMenuContent,
|
|
9312
|
+
Hn as NavigationMenuIndicator,
|
|
9313
|
+
Cn as NavigationMenuItem,
|
|
9299
9314
|
Bn as NavigationMenuLink,
|
|
9300
|
-
|
|
9301
|
-
|
|
9315
|
+
Sn as NavigationMenuList,
|
|
9316
|
+
Mn as NavigationMenuTrigger,
|
|
9302
9317
|
cr as NavigationMenuViewport,
|
|
9303
|
-
|
|
9318
|
+
Er as NotificationBadge,
|
|
9304
9319
|
$o as NotificationList,
|
|
9305
9320
|
ml as OptionImageUpload,
|
|
9306
9321
|
ll as OptionQuantity,
|
|
@@ -9308,7 +9323,7 @@ export {
|
|
|
9308
9323
|
cl as OptionText,
|
|
9309
9324
|
Zo as OrderSection,
|
|
9310
9325
|
el as OrderSummary,
|
|
9311
|
-
|
|
9326
|
+
jn as Pagination,
|
|
9312
9327
|
Ln as PaginationContent,
|
|
9313
9328
|
Dn as PaginationEllipsis,
|
|
9314
9329
|
_n as PaginationItem,
|
|
@@ -9329,7 +9344,7 @@ export {
|
|
|
9329
9344
|
ol as ProductOption,
|
|
9330
9345
|
$n as Progress,
|
|
9331
9346
|
Wo as ProgressSteps,
|
|
9332
|
-
|
|
9347
|
+
Ea as QuantitySelector,
|
|
9333
9348
|
Wn as RadioGroup,
|
|
9334
9349
|
Vn as RadioGroupItem,
|
|
9335
9350
|
ie as RatingStars,
|
|
@@ -9342,36 +9357,36 @@ export {
|
|
|
9342
9357
|
Ar as SearchBar,
|
|
9343
9358
|
Vo as SearchPanel,
|
|
9344
9359
|
fe as SectionHeader,
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9360
|
+
Ei as Select,
|
|
9361
|
+
Pi as SelectContent,
|
|
9362
|
+
Si as SelectGroup,
|
|
9363
|
+
Hi as SelectItem,
|
|
9349
9364
|
Bi as SelectLabel,
|
|
9350
9365
|
er as SelectScrollDownButton,
|
|
9351
9366
|
Zt as SelectScrollUpButton,
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9367
|
+
ji as SelectSeparator,
|
|
9368
|
+
Mi as SelectTrigger,
|
|
9369
|
+
Ci as SelectValue,
|
|
9355
9370
|
Ta as Separator,
|
|
9356
9371
|
qo as ShareButtons,
|
|
9357
9372
|
Gn as Sheet,
|
|
9358
|
-
|
|
9359
|
-
|
|
9373
|
+
Un as SheetClose,
|
|
9374
|
+
Xn as SheetContent,
|
|
9360
9375
|
Zn as SheetDescription,
|
|
9361
9376
|
Yn as SheetFooter,
|
|
9362
9377
|
Jn as SheetHeader,
|
|
9363
9378
|
Qn as SheetTitle,
|
|
9364
|
-
|
|
9379
|
+
Kn as SheetTrigger,
|
|
9365
9380
|
fl as ShopCard,
|
|
9366
9381
|
$r as SideNav,
|
|
9367
9382
|
eo as Skeleton,
|
|
9368
9383
|
ao as Slider,
|
|
9369
9384
|
Go as SocialLoginButton,
|
|
9370
|
-
|
|
9385
|
+
Ee as SparkleIcon,
|
|
9371
9386
|
to as Spinner,
|
|
9372
9387
|
bl as StatCard,
|
|
9373
|
-
|
|
9374
|
-
|
|
9388
|
+
Ko as StatusCountTabs,
|
|
9389
|
+
Eo as StickyActionBar,
|
|
9375
9390
|
Fo as SubNav,
|
|
9376
9391
|
hr as Switch,
|
|
9377
9392
|
ro as Table,
|
|
@@ -9400,7 +9415,7 @@ export {
|
|
|
9400
9415
|
ve as buttonVariants,
|
|
9401
9416
|
Qe as chipVariants,
|
|
9402
9417
|
s as cn,
|
|
9403
|
-
|
|
9418
|
+
Xr as mypageMenuGroups,
|
|
9404
9419
|
dr as navigationMenuTriggerStyle,
|
|
9405
9420
|
zr as notificationBadgeVariants,
|
|
9406
9421
|
Lr as priceDisplayVariants,
|