@1d1s/design-system 0.2.8 → 0.2.10
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/dist/components/BannerCarousel/BannerCarousel.stories.d.ts +1 -0
- package/dist/components/ChallengeCard/ChallengeCard.stories.d.ts +1 -0
- package/dist/components/ChallengeListItem/ChallengeListItem.stories.d.ts +2 -0
- package/dist/components/DiaryCard/DiaryCard.stories.d.ts +1 -0
- package/dist/components/DiaryListItem/DiaryListItem.stories.d.ts +2 -0
- package/dist/components/InfoButton/InfoButton.stories.d.ts +3 -0
- package/dist/components/RightSidebar/RightSidebar.stories.d.ts +1 -0
- package/dist/components/ScheduleCalendar/ScheduleCalendar.stories.d.ts +2 -0
- package/dist/index.es.js +57 -58
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
|
@@ -5,5 +5,6 @@ export default meta;
|
|
|
5
5
|
type Story = StoryObj<typeof BannerCarousel>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const ImageBackground: Story;
|
|
8
|
+
export declare const Mobile: Story;
|
|
8
9
|
export declare const NoAutoSlide: Story;
|
|
9
10
|
export declare const NoIndicators: Story;
|
|
@@ -4,6 +4,7 @@ declare const meta: Meta<typeof ChallengeCard>;
|
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof ChallengeCard>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const Mobile: Story;
|
|
7
8
|
export declare const Recruiting: Story;
|
|
8
9
|
export declare const IndividualParticipant: Story;
|
|
9
10
|
export declare const GroupParticipantCount: Story;
|
|
@@ -8,4 +8,6 @@ export declare const Recruiting: Story;
|
|
|
8
8
|
export declare const Ended: Story;
|
|
9
9
|
export declare const Individual: Story;
|
|
10
10
|
export declare const WithImage: Story;
|
|
11
|
+
export declare const Mobile: Story;
|
|
12
|
+
export declare const MobileList: Story;
|
|
11
13
|
export declare const List: Story;
|
|
@@ -6,4 +6,6 @@ type Story = StoryObj<typeof DiaryListItem>;
|
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const NoImage: Story;
|
|
8
8
|
export declare const ControlledLike: Story;
|
|
9
|
+
export declare const Mobile: Story;
|
|
10
|
+
export declare const MobileList: Story;
|
|
9
11
|
export declare const List: Story;
|
|
@@ -4,3 +4,6 @@ declare const meta: Meta<typeof InfoButton>;
|
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof InfoButton>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const MobileGrid: Story;
|
|
8
|
+
export declare const TabletGrid: Story;
|
|
9
|
+
export declare const DesktopGrid: Story;
|
package/dist/index.es.js
CHANGED
|
@@ -4263,7 +4263,7 @@ function Qb({
|
|
|
4263
4263
|
enableLoop: r = !0,
|
|
4264
4264
|
showIndicators: o = !0,
|
|
4265
4265
|
aspectRatioClassName: a = "aspect-[4/1]",
|
|
4266
|
-
minHeightPx: i =
|
|
4266
|
+
minHeightPx: i = 180,
|
|
4267
4267
|
componentId: l,
|
|
4268
4268
|
enableDataLayerTracking: c = !1,
|
|
4269
4269
|
impressionMode: d = "once",
|
|
@@ -4344,7 +4344,7 @@ function Qb({
|
|
|
4344
4344
|
k === 0 && (S(!1), M(g));
|
|
4345
4345
|
}
|
|
4346
4346
|
};
|
|
4347
|
-
return g === 0 ? null : /* @__PURE__ */ s("div", { className: _("w-full", b), ...m, children: /* @__PURE__ */ A("div", { className: "relative overflow-hidden rounded-4", children: [
|
|
4347
|
+
return g === 0 ? null : /* @__PURE__ */ s("div", { className: _("@container w-full", b), ...m, children: /* @__PURE__ */ A("div", { className: "relative overflow-hidden rounded-4", children: [
|
|
4348
4348
|
/* @__PURE__ */ s(
|
|
4349
4349
|
"div",
|
|
4350
4350
|
{
|
|
@@ -4366,7 +4366,7 @@ function Qb({
|
|
|
4366
4366
|
"data-banner-title": R.title,
|
|
4367
4367
|
"data-banner-image-url": V ?? "",
|
|
4368
4368
|
className: _(
|
|
4369
|
-
"relative w-full shrink-0 overflow-hidden p-
|
|
4369
|
+
"relative w-full shrink-0 overflow-hidden p-4 text-left text-white transition hover:brightness-105 @[480px]:p-6",
|
|
4370
4370
|
"cursor-pointer",
|
|
4371
4371
|
a
|
|
4372
4372
|
),
|
|
@@ -4391,10 +4391,10 @@ function Qb({
|
|
|
4391
4391
|
/* @__PURE__ */ s(T, { size: "caption3", weight: "medium", className: "text-white/85", children: R.type }),
|
|
4392
4392
|
/* @__PURE__ */ A("div", { className: "flex items-end justify-between gap-4", children: [
|
|
4393
4393
|
/* @__PURE__ */ A("div", { className: "flex flex-col gap-2", children: [
|
|
4394
|
-
/* @__PURE__ */ s(T, { size: "
|
|
4395
|
-
/* @__PURE__ */ s(T, { size: "
|
|
4394
|
+
/* @__PURE__ */ s(T, { size: "heading2", weight: "bold", className: "line-clamp-1 text-white @[480px]:text-3xl", children: R.title }),
|
|
4395
|
+
/* @__PURE__ */ s(T, { size: "caption1", weight: "medium", className: "line-clamp-1 text-white/90 @[480px]:text-lg", children: R.subtitle })
|
|
4396
4396
|
] }),
|
|
4397
|
-
/* @__PURE__ */ s(T, { size: "
|
|
4397
|
+
/* @__PURE__ */ s(T, { size: "heading2", weight: "bold", className: "text-white @[480px]:text-3xl", children: "→" })
|
|
4398
4398
|
] })
|
|
4399
4399
|
] })
|
|
4400
4400
|
]
|
|
@@ -7190,14 +7190,14 @@ function Xb({
|
|
|
7190
7190
|
"div",
|
|
7191
7191
|
{
|
|
7192
7192
|
className: _(
|
|
7193
|
-
"min-w-60 w-full overflow-hidden rounded-[12px] border border-gray-200 bg-white",
|
|
7193
|
+
"@container min-w-60 w-full overflow-hidden rounded-[12px] border border-gray-200 bg-white",
|
|
7194
7194
|
f && "cursor-pointer",
|
|
7195
7195
|
"transition-all duration-200 ease-in-out hover:-translate-y-1 hover:shadow-default",
|
|
7196
7196
|
u
|
|
7197
7197
|
),
|
|
7198
7198
|
onClick: f,
|
|
7199
7199
|
children: [
|
|
7200
|
-
/* @__PURE__ */ A("div", { className: "relative h-
|
|
7200
|
+
/* @__PURE__ */ A("div", { className: "relative h-40 w-full overflow-hidden bg-gray-100 @[280px]:h-52", children: [
|
|
7201
7201
|
p ? /* @__PURE__ */ s("div", { className: "absolute inset-0", children: /* @__PURE__ */ s(
|
|
7202
7202
|
gt,
|
|
7203
7203
|
{
|
|
@@ -7214,27 +7214,27 @@ function Xb({
|
|
|
7214
7214
|
/* @__PURE__ */ s(Sn, { size: "caption2", weight: "bold", className: m, children: b })
|
|
7215
7215
|
] })
|
|
7216
7216
|
] }),
|
|
7217
|
-
/* @__PURE__ */ A("div", { className: "w-full bg-white px-5 py-5", children: [
|
|
7217
|
+
/* @__PURE__ */ A("div", { className: "w-full bg-white px-4 py-4 @[280px]:px-5 @[280px]:py-5", children: [
|
|
7218
7218
|
/* @__PURE__ */ s(
|
|
7219
7219
|
T,
|
|
7220
7220
|
{
|
|
7221
|
-
size: "
|
|
7221
|
+
size: "body1",
|
|
7222
7222
|
weight: "bold",
|
|
7223
|
-
className: "line-clamp-2 min-h-
|
|
7223
|
+
className: "line-clamp-2 min-h-8 text-gray-900 @[280px]:text-2xl @[280px]:min-h-10",
|
|
7224
7224
|
children: e
|
|
7225
7225
|
}
|
|
7226
7226
|
),
|
|
7227
|
-
/* @__PURE__ */ A("div", { className: "mt-
|
|
7227
|
+
/* @__PURE__ */ A("div", { className: "mt-3 flex w-full items-center justify-between @[280px]:mt-4", children: [
|
|
7228
7228
|
/* @__PURE__ */ A("div", { className: "flex items-center gap-1.5", children: [
|
|
7229
|
-
/* @__PURE__ */ s(Pt, { className: "h-3
|
|
7230
|
-
/* @__PURE__ */ s(T, { size: "
|
|
7229
|
+
/* @__PURE__ */ s(Pt, { className: "h-3 w-3 text-gray-600 @[280px]:h-3.5 @[280px]:w-3.5" }),
|
|
7230
|
+
/* @__PURE__ */ s(T, { size: "caption2", weight: "medium", className: "text-gray-600 @[280px]:text-base", children: t })
|
|
7231
7231
|
] }),
|
|
7232
7232
|
/* @__PURE__ */ A("div", { className: "flex items-center gap-1.5", children: [
|
|
7233
|
-
/* @__PURE__ */ s(oo, { className: "h-3
|
|
7234
|
-
/* @__PURE__ */ s(T, { size: "
|
|
7233
|
+
/* @__PURE__ */ s(oo, { className: "h-3 w-3 text-gray-600 @[280px]:h-3.5 @[280px]:w-3.5" }),
|
|
7234
|
+
/* @__PURE__ */ s(T, { size: "caption2", weight: "medium", className: "text-gray-600 @[280px]:text-base", children: v })
|
|
7235
7235
|
] })
|
|
7236
7236
|
] }),
|
|
7237
|
-
/* @__PURE__ */ A(T, { size: "
|
|
7237
|
+
/* @__PURE__ */ A(T, { size: "caption2", weight: "regular", className: "mt-2 text-gray-500 @[280px]:mt-3 @[280px]:text-base", children: [
|
|
7238
7238
|
i,
|
|
7239
7239
|
" - ",
|
|
7240
7240
|
l
|
|
@@ -7264,13 +7264,13 @@ function qb({
|
|
|
7264
7264
|
"div",
|
|
7265
7265
|
{
|
|
7266
7266
|
className: _(
|
|
7267
|
-
"flex
|
|
7267
|
+
"@container flex gap-3 rounded-4 border border-gray-200 bg-white p-3 transition-all duration-200 ease-in-out hover:-translate-y-1 hover:shadow-default @[400px]:gap-4 @[400px]:p-4",
|
|
7268
7268
|
p && "cursor-pointer",
|
|
7269
7269
|
f
|
|
7270
7270
|
),
|
|
7271
7271
|
onClick: p,
|
|
7272
7272
|
children: [
|
|
7273
|
-
/* @__PURE__ */ s("div", { className: "relative -mb-3 -ml-3 -mt-3 w-[120px] shrink-0 self-stretch overflow-hidden rounded-l-3 bg-gray-100
|
|
7273
|
+
/* @__PURE__ */ s("div", { className: "relative -mb-3 -ml-3 -mt-3 w-[120px] shrink-0 self-stretch overflow-hidden rounded-l-3 bg-gray-100 @[400px]:-mb-4 @[400px]:-ml-4 @[400px]:-mt-4 @[400px]:w-[140px]", children: v ? /* @__PURE__ */ s(
|
|
7274
7274
|
gt,
|
|
7275
7275
|
{
|
|
7276
7276
|
src: o,
|
|
@@ -7287,7 +7287,7 @@ function qb({
|
|
|
7287
7287
|
as: "p",
|
|
7288
7288
|
size: "caption1",
|
|
7289
7289
|
weight: "bold",
|
|
7290
|
-
className: "truncate text-gray-900
|
|
7290
|
+
className: "truncate text-gray-900 @[400px]:text-lg",
|
|
7291
7291
|
children: e
|
|
7292
7292
|
}
|
|
7293
7293
|
),
|
|
@@ -7299,7 +7299,7 @@ function qb({
|
|
|
7299
7299
|
b ? /* @__PURE__ */ s(Pt, { className: "h-3.5 w-3.5 text-gray-400" }) : /* @__PURE__ */ s(oo, { className: "h-3.5 w-3.5 text-gray-400" }),
|
|
7300
7300
|
/* @__PURE__ */ s(T, { size: "caption3", weight: "medium", className: "text-gray-500", children: b ? "개인 목표" : `고정 목표 · ${a} / ${i}` })
|
|
7301
7301
|
] }),
|
|
7302
|
-
/* @__PURE__ */ A(T, { size: "caption3", weight: "regular", className: "hidden text-gray-400
|
|
7302
|
+
/* @__PURE__ */ A(T, { size: "caption3", weight: "regular", className: "hidden text-gray-400 @[400px]:block", children: [
|
|
7303
7303
|
l,
|
|
7304
7304
|
" – ",
|
|
7305
7305
|
c
|
|
@@ -10844,7 +10844,7 @@ function Kv({
|
|
|
10844
10844
|
}
|
|
10845
10845
|
) : /* @__PURE__ */ s(jn, { className: "h-full w-full", logoSize: "lg" }),
|
|
10846
10846
|
d ? /* @__PURE__ */ s("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-10 bg-linear-to-t from-black/15 to-transparent" }) : null,
|
|
10847
|
-
/* @__PURE__ */ s("div", { className: "absolute top-3 left-3 z-20", children: /* @__PURE__ */ s("div", { className: "relative flex h-
|
|
10847
|
+
/* @__PURE__ */ s("div", { className: "absolute top-3 left-3 z-20", children: /* @__PURE__ */ s("div", { className: "relative flex h-10 w-10 items-center justify-center rounded-full bg-white shadow-[0_6px_14px_rgba(34,34,34,0.2)] @[280px]:h-12 @[280px]:w-12", children: /* @__PURE__ */ s(
|
|
10848
10848
|
Qi,
|
|
10849
10849
|
{
|
|
10850
10850
|
value: c,
|
|
@@ -10852,7 +10852,7 @@ function Kv({
|
|
|
10852
10852
|
showPercentage: !0
|
|
10853
10853
|
}
|
|
10854
10854
|
) }) }),
|
|
10855
|
-
/* @__PURE__ */ s("div", { className: "absolute top-3 right-3 z-20 text-
|
|
10855
|
+
/* @__PURE__ */ s("div", { className: "absolute top-3 right-3 z-20 text-2xl leading-none @[280px]:text-3xl", children: /* @__PURE__ */ s("span", { role: "img", "aria-label": r, children: l[r] }) }),
|
|
10856
10856
|
/* @__PURE__ */ s("div", { className: "absolute bottom-3 left-3 z-20", children: /* @__PURE__ */ A(
|
|
10857
10857
|
"button",
|
|
10858
10858
|
{
|
|
@@ -10877,14 +10877,14 @@ function Qv({
|
|
|
10877
10877
|
onChallengeClick: o,
|
|
10878
10878
|
date: a
|
|
10879
10879
|
}) {
|
|
10880
|
-
return /* @__PURE__ */ A("div", { className: "flex w-full flex-col gap-3 p-4", children: [
|
|
10880
|
+
return /* @__PURE__ */ A("div", { className: "flex w-full flex-col gap-2 p-3 @[280px]:gap-3 @[280px]:p-4", children: [
|
|
10881
10881
|
/* @__PURE__ */ s(
|
|
10882
10882
|
T,
|
|
10883
10883
|
{
|
|
10884
10884
|
as: "p",
|
|
10885
|
-
size: "
|
|
10885
|
+
size: "body2",
|
|
10886
10886
|
weight: "bold",
|
|
10887
|
-
className: "line-clamp-2 min-h-
|
|
10887
|
+
className: "line-clamp-2 min-h-8 leading-tight text-gray-900 @[280px]:text-xl @[280px]:min-h-10",
|
|
10888
10888
|
children: e
|
|
10889
10889
|
}
|
|
10890
10890
|
),
|
|
@@ -10902,20 +10902,20 @@ function Qv({
|
|
|
10902
10902
|
children: /* @__PURE__ */ s(
|
|
10903
10903
|
T,
|
|
10904
10904
|
{
|
|
10905
|
-
size: "
|
|
10905
|
+
size: "caption1",
|
|
10906
10906
|
weight: "medium",
|
|
10907
|
-
className: "block w-full truncate text-blue-500",
|
|
10907
|
+
className: "block w-full truncate text-blue-500 @[280px]:text-lg",
|
|
10908
10908
|
children: r
|
|
10909
10909
|
}
|
|
10910
10910
|
)
|
|
10911
10911
|
}
|
|
10912
10912
|
),
|
|
10913
10913
|
/* @__PURE__ */ s("div", { className: "h-px w-full bg-gray-200" }),
|
|
10914
|
-
/* @__PURE__ */ A("div", { className: "flex items-center gap-3", children: [
|
|
10914
|
+
/* @__PURE__ */ A("div", { className: "flex items-center gap-2 @[280px]:gap-3", children: [
|
|
10915
10915
|
/* @__PURE__ */ s(Yt, { imageUrl: n, size: "sm" }),
|
|
10916
|
-
/* @__PURE__ */ A("div", { className: "flex flex-col gap-1", children: [
|
|
10917
|
-
/* @__PURE__ */ s(T, { size: "
|
|
10918
|
-
/* @__PURE__ */ s(T, { size: "
|
|
10916
|
+
/* @__PURE__ */ A("div", { className: "flex flex-col gap-0.5 @[280px]:gap-1", children: [
|
|
10917
|
+
/* @__PURE__ */ s(T, { size: "caption1", weight: "bold", className: "text-gray-900 @[280px]:text-lg", children: t }),
|
|
10918
|
+
/* @__PURE__ */ s(T, { size: "caption3", weight: "regular", className: "text-gray-500 @[280px]:text-sm", children: a })
|
|
10919
10919
|
] })
|
|
10920
10920
|
] })
|
|
10921
10921
|
] });
|
|
@@ -10948,7 +10948,7 @@ function uy({
|
|
|
10948
10948
|
return /* @__PURE__ */ s(
|
|
10949
10949
|
"div",
|
|
10950
10950
|
{
|
|
10951
|
-
className: _("block w-full", b && "cursor-pointer"),
|
|
10951
|
+
className: _("@container block w-full", b && "cursor-pointer"),
|
|
10952
10952
|
onClick: b,
|
|
10953
10953
|
children: /* @__PURE__ */ A("div", { className: "overflow-hidden rounded-4 border border-gray-200 bg-white transition-transform duration-200 hover:-translate-y-1 hover:shadow-lg", children: [
|
|
10954
10954
|
/* @__PURE__ */ s(
|
|
@@ -11014,13 +11014,13 @@ function fy({
|
|
|
11014
11014
|
"div",
|
|
11015
11015
|
{
|
|
11016
11016
|
className: _(
|
|
11017
|
-
"flex min-w-[
|
|
11017
|
+
"@container flex min-w-[320px] gap-3 rounded-4 border border-gray-200 bg-white p-3 transition-all duration-200 ease-in-out hover:-translate-y-1 hover:shadow-default @[480px]:min-w-[560px]",
|
|
11018
11018
|
b && "cursor-pointer",
|
|
11019
11019
|
m
|
|
11020
11020
|
),
|
|
11021
11021
|
onClick: b,
|
|
11022
11022
|
children: [
|
|
11023
|
-
/* @__PURE__ */ A("div", { className: "relative -mb-3 -ml-3 -mt-3 w-[
|
|
11023
|
+
/* @__PURE__ */ A("div", { className: "relative -mb-3 -ml-3 -mt-3 w-[100px] shrink-0 self-stretch overflow-hidden rounded-l-3 bg-gray-100 @[480px]:w-[140px]", children: [
|
|
11024
11024
|
S ? /* @__PURE__ */ s(gt, { src: t, alt: e, width: 128, height: 128, className: "h-full w-full object-cover" }) : /* @__PURE__ */ s(jn, { className: "h-full w-full", logoSize: "sm" }),
|
|
11025
11025
|
S ? /* @__PURE__ */ s("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-6 bg-linear-to-t from-black/10 to-transparent" }) : null,
|
|
11026
11026
|
/* @__PURE__ */ s("div", { className: "absolute top-2 left-2 z-10", children: /* @__PURE__ */ s("div", { className: "relative flex h-9 w-9 items-center justify-center rounded-full bg-white shadow-[0_4px_10px_rgba(34,34,34,0.18)]", children: /* @__PURE__ */ s(Qi, { value: W, size: "sm", showPercentage: !0 }) }) }),
|
|
@@ -12237,12 +12237,11 @@ function Ny({
|
|
|
12237
12237
|
"div",
|
|
12238
12238
|
{
|
|
12239
12239
|
className: _(
|
|
12240
|
-
"
|
|
12240
|
+
"relative overflow-hidden rounded-2 text-white",
|
|
12241
12241
|
"flex flex-col justify-between",
|
|
12242
|
-
"
|
|
12243
|
-
"
|
|
12244
|
-
"hover:-translate-y-1",
|
|
12245
|
-
"transition-all duration-300",
|
|
12242
|
+
"p-2 sm:p-4 lg:p-6",
|
|
12243
|
+
"h-24 w-full sm:h-36 lg:h-47.5 lg:w-56",
|
|
12244
|
+
"hover:shadow-default hover:-translate-y-1 transition-all duration-300",
|
|
12246
12245
|
i && "cursor-pointer",
|
|
12247
12246
|
l
|
|
12248
12247
|
),
|
|
@@ -12252,25 +12251,25 @@ function Ny({
|
|
|
12252
12251
|
onClick: i,
|
|
12253
12252
|
children: [
|
|
12254
12253
|
/* @__PURE__ */ A("div", { className: "flex w-full flex-col gap-0.5 sm:gap-1", children: [
|
|
12255
|
-
/* @__PURE__ */ s(T, { size: "caption3", weight: "medium", className: "opacity-80
|
|
12256
|
-
/* @__PURE__ */ s(T, { size: "
|
|
12254
|
+
/* @__PURE__ */ s(T, { size: "caption3", weight: "medium", className: "opacity-80", children: e }),
|
|
12255
|
+
/* @__PURE__ */ s(T, { size: "caption2", weight: "bold", className: "mt-0.5 sm:text-xl sm:mt-1 lg:text-2xl", children: t })
|
|
12257
12256
|
] }),
|
|
12258
|
-
/* @__PURE__ */ s("div", { className: "absolute bottom-
|
|
12257
|
+
/* @__PURE__ */ s("div", { className: "absolute bottom-2 left-2 sm:bottom-4 sm:left-4 lg:bottom-6 lg:left-6", children: /* @__PURE__ */ s(
|
|
12259
12258
|
gt,
|
|
12260
12259
|
{
|
|
12261
12260
|
src: n,
|
|
12262
12261
|
alt: r,
|
|
12263
|
-
width:
|
|
12264
|
-
height:
|
|
12265
|
-
className: "object-contain sm:w-
|
|
12262
|
+
width: 24,
|
|
12263
|
+
height: 40,
|
|
12264
|
+
className: "object-contain sm:w-9 sm:h-15 lg:w-12 lg:h-19.5"
|
|
12266
12265
|
}
|
|
12267
12266
|
) }),
|
|
12268
12267
|
/* @__PURE__ */ s(
|
|
12269
12268
|
T,
|
|
12270
12269
|
{
|
|
12271
|
-
size: "
|
|
12270
|
+
size: "body2",
|
|
12272
12271
|
weight: "bold",
|
|
12273
|
-
className: "absolute right-4 bottom-4 sm:right-6
|
|
12272
|
+
className: "absolute right-2 bottom-2 sm:right-4 sm:bottom-4 sm:text-3xl lg:right-6 lg:bottom-6 lg:text-4xl",
|
|
12274
12273
|
children: "→"
|
|
12275
12274
|
}
|
|
12276
12275
|
)
|
|
@@ -12845,16 +12844,16 @@ function Py({
|
|
|
12845
12844
|
cellMinHeight: n = 140,
|
|
12846
12845
|
className: r
|
|
12847
12846
|
}) {
|
|
12848
|
-
return /* @__PURE__ */ s("div", { className: _("w-full overflow-hidden rounded-4 border border-gray-300 bg-white", r), children: /* @__PURE__ */ A("table", { className: "w-full table-fixed border-collapse", children: [
|
|
12847
|
+
return /* @__PURE__ */ s("div", { className: _("@container w-full overflow-hidden rounded-4 border border-gray-300 bg-white", r), children: /* @__PURE__ */ A("table", { className: "w-full table-fixed border-collapse", children: [
|
|
12849
12848
|
/* @__PURE__ */ s("thead", { children: /* @__PURE__ */ s("tr", { children: t.map((o, a) => /* @__PURE__ */ s(
|
|
12850
12849
|
"th",
|
|
12851
12850
|
{
|
|
12852
12851
|
className: _(
|
|
12853
|
-
"h-
|
|
12852
|
+
"h-8 border-b border-r border-gray-300 bg-gray-100 px-1 text-center align-middle @[480px]:h-12 @[480px]:px-2.5",
|
|
12854
12853
|
a === t.length - 1 && "border-r-0"
|
|
12855
12854
|
),
|
|
12856
12855
|
scope: "col",
|
|
12857
|
-
children: /* @__PURE__ */ s(T, { size: "
|
|
12856
|
+
children: /* @__PURE__ */ s(T, { size: "caption3", weight: "bold", className: "text-gray-600 @[480px]:text-lg", children: o })
|
|
12858
12857
|
},
|
|
12859
12858
|
`${o}-${a}`
|
|
12860
12859
|
)) }) }),
|
|
@@ -12872,7 +12871,7 @@ function Py({
|
|
|
12872
12871
|
"div",
|
|
12873
12872
|
{
|
|
12874
12873
|
className: _(
|
|
12875
|
-
"flex h-full
|
|
12874
|
+
"flex h-full flex-col gap-1 p-1 @[480px]:gap-2 @[480px]:p-2",
|
|
12876
12875
|
i.muted && "bg-gray-300",
|
|
12877
12876
|
i.highlighted && "bg-main-200 ring-1 ring-inset ring-main-400"
|
|
12878
12877
|
),
|
|
@@ -12881,25 +12880,25 @@ function Py({
|
|
|
12881
12880
|
i.day !== void 0 ? /* @__PURE__ */ s(
|
|
12882
12881
|
T,
|
|
12883
12882
|
{
|
|
12884
|
-
size: "
|
|
12883
|
+
size: "caption3",
|
|
12885
12884
|
weight: "medium",
|
|
12886
|
-
className: _("leading-tight", H0(i.dayTone)),
|
|
12885
|
+
className: _("leading-tight @[480px]:text-lg", H0(i.dayTone)),
|
|
12887
12886
|
children: i.day
|
|
12888
12887
|
}
|
|
12889
12888
|
) : null,
|
|
12890
|
-
i.title !== void 0 ? /* @__PURE__ */ s(T, { size: "
|
|
12891
|
-
i.bars && i.bars.length > 0 ? /* @__PURE__ */ s("div", { className: "mt-0.5 flex flex-col gap-1
|
|
12889
|
+
i.title !== void 0 ? /* @__PURE__ */ s(T, { size: "caption3", weight: "bold", className: "line-clamp-1 text-gray-900 @[480px]:text-lg", children: i.title }) : null,
|
|
12890
|
+
i.bars && i.bars.length > 0 ? /* @__PURE__ */ s("div", { className: "mt-0.5 flex flex-col gap-1", children: i.bars.map((f, p) => /* @__PURE__ */ s(
|
|
12892
12891
|
"span",
|
|
12893
12892
|
{
|
|
12894
12893
|
className: _(
|
|
12895
|
-
"block h-1
|
|
12894
|
+
"block h-1 rounded-full transition-all duration-200 @[480px]:h-1.5",
|
|
12896
12895
|
j0(f.tone)
|
|
12897
12896
|
),
|
|
12898
12897
|
style: { width: $0(f.width) }
|
|
12899
12898
|
},
|
|
12900
12899
|
`${d}-bar-${p}`
|
|
12901
12900
|
)) }) : null,
|
|
12902
|
-
i.subtitle !== void 0 ? /* @__PURE__ */ s(T, { size: "
|
|
12901
|
+
i.subtitle !== void 0 ? /* @__PURE__ */ s(T, { size: "caption3", weight: "medium", className: "hidden text-gray-600 @[480px]:block", children: i.subtitle }) : null
|
|
12903
12902
|
] })
|
|
12904
12903
|
}
|
|
12905
12904
|
)
|