sellmate-design-system-react 9.0.0-beta.33 → 9.0.0-beta.35

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/index.cjs CHANGED
@@ -7,7 +7,7 @@ var react = require('react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var reactDom = require('react-dom');
9
9
  var RCheckbox = require('@radix-ui/react-checkbox');
10
- var RPopover11 = require('@radix-ui/react-popover');
10
+ var RPopover12 = require('@radix-ui/react-popover');
11
11
  var client = require('react-dom/client');
12
12
  var RTooltip = require('@radix-ui/react-tooltip');
13
13
  var RDropdown2 = require('@radix-ui/react-dropdown-menu');
@@ -34,7 +34,7 @@ function _interopNamespace(e) {
34
34
  }
35
35
 
36
36
  var RCheckbox__namespace = /*#__PURE__*/_interopNamespace(RCheckbox);
37
- var RPopover11__namespace = /*#__PURE__*/_interopNamespace(RPopover11);
37
+ var RPopover12__namespace = /*#__PURE__*/_interopNamespace(RPopover12);
38
38
  var RTooltip__namespace = /*#__PURE__*/_interopNamespace(RTooltip);
39
39
  var RDropdown2__namespace = /*#__PURE__*/_interopNamespace(RDropdown2);
40
40
  var RSwitch__namespace = /*#__PURE__*/_interopNamespace(RSwitch);
@@ -5192,8 +5192,8 @@ function SGhostButton({
5192
5192
  }
5193
5193
  );
5194
5194
  if (!hasTooltip) return btn2;
5195
- return /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: setOpen, children: [
5196
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
5195
+ return /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: setOpen, children: [
5196
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
5197
5197
  "span",
5198
5198
  {
5199
5199
  className: cn("inline-flex", anchorClassName),
@@ -5205,8 +5205,8 @@ function SGhostButton({
5205
5205
  children: btn2
5206
5206
  }
5207
5207
  ) }),
5208
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
5209
- RPopover11__namespace.Content,
5208
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
5209
+ RPopover12__namespace.Content,
5210
5210
  {
5211
5211
  side: "top",
5212
5212
  sideOffset: 4,
@@ -5782,14 +5782,14 @@ var STooltipImpl = /* @__PURE__ */ react.forwardRef(function STooltip({
5782
5782
  ...style,
5783
5783
  ...contentPropsStyle
5784
5784
  };
5785
- return /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: setOpenState, children: [
5785
+ return /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: setOpenState, children: [
5786
5786
  isNone ? (
5787
5787
  // 트리거 없음: children 을 래퍼 없이 그대로 앵커로 쓴다 (소비자 레이아웃 보존).
5788
5788
  // mouse/focus 핸들러가 없으므로 useClose 없이도 자동 닫힘이 발생하지 않는다.
5789
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { asChild: true, children: triggerNode })
5789
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { asChild: true, children: triggerNode })
5790
5790
  ) : isHover ? (
5791
5791
  // hover: Anchor(위치 기준) + 직접 mouse 핸들러 — 클릭으로 토글되지 않도록 Trigger 미사용
5792
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
5792
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
5793
5793
  "span",
5794
5794
  {
5795
5795
  className: "inline-flex",
@@ -5800,9 +5800,9 @@ var STooltipImpl = /* @__PURE__ */ react.forwardRef(function STooltip({
5800
5800
  children: triggerNode
5801
5801
  }
5802
5802
  ) })
5803
- ) : /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: triggerNode }),
5804
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
5805
- RPopover11__namespace.Content,
5803
+ ) : /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: triggerNode }),
5804
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
5805
+ RPopover12__namespace.Content,
5806
5806
  {
5807
5807
  side: placement,
5808
5808
  sideOffset,
@@ -5836,7 +5836,7 @@ var STooltipImpl = /* @__PURE__ */ react.forwardRef(function STooltip({
5836
5836
  }
5837
5837
  )
5838
5838
  ] }),
5839
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Arrow, { width: 16, height: 12, style: { fill: bg } })
5839
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Arrow, { width: 16, height: 12, style: { fill: bg } })
5840
5840
  ]
5841
5841
  }
5842
5842
  ) })
@@ -6528,6 +6528,7 @@ var STextLink = /* @__PURE__ */ react.forwardRef(function STextLink2({
6528
6528
  iconRotate,
6529
6529
  labelClass,
6530
6530
  rightArrow = "none",
6531
+ rightArrowRotate,
6531
6532
  underline = false,
6532
6533
  disabled = false,
6533
6534
  size = "sm",
@@ -6582,7 +6583,8 @@ var STextLink = /* @__PURE__ */ react.forwardRef(function STextLink2({
6582
6583
  {
6583
6584
  name: rightArrow === "chevron" ? "chevronRight" : "caretRight",
6584
6585
  size: 12,
6585
- color: disabled ? "var(--cmp-textLink-icon-disabled)" : "var(--color-grey-65)"
6586
+ color: disabled ? "var(--cmp-textLink-icon-disabled)" : "var(--color-grey-65)",
6587
+ rotate: rightArrowRotate
6586
6588
  }
6587
6589
  ) })
6588
6590
  ]
@@ -6914,7 +6916,7 @@ function SPortal({
6914
6916
  const portalContainer = usePortalContainer();
6915
6917
  const { minWidth: styleMinWidth, maxWidth: styleMaxWidth, ...restStyle } = style ?? {};
6916
6918
  return /* @__PURE__ */ jsxRuntime.jsxs(
6917
- RPopover11__namespace.Root,
6919
+ RPopover12__namespace.Root,
6918
6920
  {
6919
6921
  open,
6920
6922
  onOpenChange: (next) => {
@@ -6922,9 +6924,9 @@ function SPortal({
6922
6924
  if (!next) onClose?.();
6923
6925
  },
6924
6926
  children: [
6925
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { virtualRef: anchorRef }),
6926
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
6927
- RPopover11__namespace.Content,
6927
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { virtualRef: anchorRef }),
6928
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
6929
+ RPopover12__namespace.Content,
6928
6930
  {
6929
6931
  side: placement,
6930
6932
  align,
@@ -7368,12 +7370,15 @@ var SYSTEM_ACTION_BUTTON_COLOR_CONFIG = {
7368
7370
  dark: {
7369
7371
  bg: item2("dark-bg-default"),
7370
7372
  bgHover: item2("dark-bg-hover"),
7373
+ // 프레임은 hover 에서도 행의 기본 표면색을 지킨다 — 표면만 한 단계 밝아지고 프레임은
7374
+ // 제자리에 남아, 밝아진 면에 뚫린 구멍처럼 읽힌다. `dark-icon-bg-hover`(흰색) 토큰은
7375
+ // 이 시안과 어긋나 쓰지 않는다.
7371
7376
  iconBg: item2("dark-icon-bg-default"),
7372
- iconBgHover: item2("dark-icon-bg-hover"),
7373
- // 어두운 면에는 글리프색 토큰이 없다. 기본은 프레임이 배경과 블렌딩되므로 라벨색(흰색),
7374
- // hover 는 프레임이 흰색이 되므로 그 위에 표면색을 그대로 얹는다.
7377
+ iconBgHover: item2("dark-icon-bg-default"),
7378
+ // 어두운 면에는 글리프색 토큰이 없다. 프레임이 배경과 블렌딩되므로 라벨색(흰색)을 쓰고,
7379
+ // 프레임이 hover 에서 그대로이므로 글리프도 그대로 둔다.
7375
7380
  iconGlyph: item2("dark-text"),
7376
- iconGlyphHover: item2("dark-bg-hover"),
7381
+ iconGlyphHover: item2("dark-text"),
7377
7382
  text: item2("dark-text"),
7378
7383
  actionText: {
7379
7384
  switch: action("switch-text-dark"),
@@ -7385,10 +7390,11 @@ var SYSTEM_ACTION_BUTTON_COLOR_CONFIG = {
7385
7390
  darker: {
7386
7391
  bg: item2("darker-bg-default"),
7387
7392
  bgHover: item2("darker-bg-hover"),
7393
+ // dark 와 같은 규칙 — 프레임은 hover 에서도 행의 기본 표면색을 지킨다.
7388
7394
  iconBg: item2("darker-icon-bg-default"),
7389
- iconBgHover: item2("darker-icon-bg-hover"),
7395
+ iconBgHover: item2("darker-icon-bg-default"),
7390
7396
  iconGlyph: item2("darker-text"),
7391
- iconGlyphHover: item2("darker-bg-hover"),
7397
+ iconGlyphHover: item2("darker-text"),
7392
7398
  text: item2("darker-text"),
7393
7399
  actionText: {
7394
7400
  switch: action("switch-text-dark"),
@@ -7433,7 +7439,13 @@ var SYSTEM_ACTION_BUTTON_LAYOUT = {
7433
7439
  /** 우측 여백 */
7434
7440
  paddingRight: action("paddingRight"),
7435
7441
  /** 액션 텍스트 ↔ 액션 아이콘 간격 */
7436
- actionGap: action("selectData-gap")
7442
+ actionGap: action("selectData-gap"),
7443
+ /**
7444
+ * 액션 아이콘 글리프 한 변. 프레임 한 변은 타입별 토큰(`actionButton.*-icon`)이 정하고
7445
+ * 그 안에 글리프가 이 크기로 놓인다 — 선행 아이콘의 프레임(24)/글리프(20) 과 같은 구조다.
7446
+ * 대응 토큰이 없어 디자인 값을 그대로 쓴다.
7447
+ */
7448
+ actionIconGlyph: "12px"
7437
7449
  };
7438
7450
  function TokenIcon2({ name, size }) {
7439
7451
  return /* @__PURE__ */ jsxRuntime.jsx(SIcon, { name, size: "100%", style: { width: size, height: size } });
@@ -7536,7 +7548,15 @@ var SSystemActionButton = /* @__PURE__ */ react.forwardRef(
7536
7548
  children: actionText
7537
7549
  }
7538
7550
  ),
7539
- spec.actionIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex shrink-0 items-center text-(--sab-action-icon)", children: /* @__PURE__ */ jsxRuntime.jsx(TokenIcon2, { name: spec.actionIcon.name, size: spec.actionIcon.size }) })
7551
+ spec.actionIcon && // 토큰이 정하는 크기는 글리프가 아니라 프레임이다 — 그 안에 글리프를 가운데로 놓는다.
7552
+ /* @__PURE__ */ jsxRuntime.jsx(
7553
+ "span",
7554
+ {
7555
+ className: "inline-flex shrink-0 items-center justify-center text-(--sab-action-icon)",
7556
+ style: { width: spec.actionIcon.size, height: spec.actionIcon.size },
7557
+ children: /* @__PURE__ */ jsxRuntime.jsx(TokenIcon2, { name: spec.actionIcon.name, size: SYSTEM_ACTION_BUTTON_LAYOUT.actionIconGlyph })
7558
+ }
7559
+ )
7540
7560
  ] })
7541
7561
  ]
7542
7562
  }
@@ -7657,10 +7677,10 @@ function SPopover({
7657
7677
  const descColor = type === "default" ? "var(--cmp-popover-default-description)" : "var(--cmp-popover-light-description)";
7658
7678
  const leftLinkLabelClass = type === "default" ? "text-[color:var(--cmp-popover-default-subAction)]" : "text-[color:var(--cmp-popover-light-subAction)]";
7659
7679
  const triggerNode = trigger ?? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-flex cursor-pointer", "aria-label": ariaLabel, children: /* @__PURE__ */ jsxRuntime.jsx(SIcon, { name: icon, size: iconSize, color }) });
7660
- return /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: actualOpen, onOpenChange: setOpen, children: [
7661
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: triggerNode }),
7662
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
7663
- RPopover11__namespace.Content,
7680
+ return /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: actualOpen, onOpenChange: setOpen, children: [
7681
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: triggerNode }),
7682
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
7683
+ RPopover12__namespace.Content,
7664
7684
  {
7665
7685
  side: placement,
7666
7686
  sideOffset: 8,
@@ -7726,7 +7746,7 @@ function SPopover({
7726
7746
  ]
7727
7747
  }
7728
7748
  ),
7729
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Arrow, { width: 16, height: 12, style: { fill: bg } })
7749
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Arrow, { width: 16, height: 12, style: { fill: bg } })
7730
7750
  ]
7731
7751
  }
7732
7752
  ) })
@@ -7837,10 +7857,10 @@ function SGuide({
7837
7857
  );
7838
7858
  if (isNotion)
7839
7859
  return /* @__PURE__ */ jsxRuntime.jsx("span", { className, style, children: trigger });
7840
- return /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: setOpen, children: [
7841
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: trigger }),
7842
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
7843
- RPopover11__namespace.Content,
7860
+ return /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: setOpen, children: [
7861
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: trigger }),
7862
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsxs(
7863
+ RPopover12__namespace.Content,
7844
7864
  {
7845
7865
  side: "bottom",
7846
7866
  align: "start",
@@ -9991,10 +10011,10 @@ var SGnb = /* @__PURE__ */ react.forwardRef(function SGnb2({
9991
10011
  }
9992
10012
  ),
9993
10013
  header === "fix" && menuResizeHandle,
9994
- /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: labelTip !== null, onOpenChange: (open) => !open && setLabelTip(null), children: [
9995
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { virtualRef: labelTipAnchorRef }),
9996
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
9997
- RPopover11__namespace.Content,
10014
+ /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: labelTip !== null, onOpenChange: (open) => !open && setLabelTip(null), children: [
10015
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { virtualRef: labelTipAnchorRef }),
10016
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
10017
+ RPopover12__namespace.Content,
9998
10018
  {
9999
10019
  side: "right",
10000
10020
  sideOffset: 4,
@@ -10178,8 +10198,10 @@ var SystemButton = /* @__PURE__ */ react.forwardRef(function SystemButton2({
10178
10198
  ]
10179
10199
  }
10180
10200
  ),
10181
- label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-sm-semibold min-w-0 flex-1 truncate", children: label }),
10182
- count != null && count > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-md-bold shrink-0", style: { color: accentColor }, children: count.toLocaleString() })
10201
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-sm-semibold min-w-0 truncate", children: label }),
10202
+ count != null && count > 0 && // 개수 오른쪽은 버튼 여백(alertButton.paddingX)만으로는 좁다 — 시안이 4px 을 더 준다.
10203
+ // 대응 토큰이 없어 디자인 값을 그대로 쓴다.
10204
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-md-bold me-[4px] shrink-0", style: { color: accentColor }, children: count.toLocaleString() })
10183
10205
  ]
10184
10206
  }
10185
10207
  );
@@ -11550,6 +11572,636 @@ var SStepper = /* @__PURE__ */ react.forwardRef(function SStepper2({
11550
11572
  );
11551
11573
  });
11552
11574
 
11575
+ // src/lib/date.ts
11576
+ function todayStr() {
11577
+ const d = /* @__PURE__ */ new Date();
11578
+ return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
11579
+ }
11580
+ function formatDate(year, month, day) {
11581
+ return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
11582
+ }
11583
+ function calcYearMonth(year, month, dir) {
11584
+ if (dir === "prev")
11585
+ return month === 1 ? { year: year - 1, month: 12 } : { year, month: month - 1 };
11586
+ return month === 12 ? { year: year + 1, month: 1 } : { year, month: month + 1 };
11587
+ }
11588
+ function monthCells(year, month) {
11589
+ const firstDayIndex = new Date(year, month - 1, 1).getDay();
11590
+ const daysInCurrent = new Date(year, month, 0).getDate();
11591
+ const prev = calcYearMonth(year, month, "prev");
11592
+ const daysInPrev = new Date(prev.year, prev.month, 0).getDate();
11593
+ const next = calcYearMonth(year, month, "next");
11594
+ const cells = [];
11595
+ for (let i = firstDayIndex - 1; i >= 0; i--) {
11596
+ const day = daysInPrev - i;
11597
+ cells.push({ date: formatDate(prev.year, prev.month, day), day, inCurrentMonth: false });
11598
+ }
11599
+ for (let day = 1; day <= daysInCurrent; day++) {
11600
+ cells.push({ date: formatDate(year, month, day), day, inCurrentMonth: true });
11601
+ }
11602
+ const remaining = (7 - cells.length % 7) % 7;
11603
+ for (let day = 1; day <= remaining; day++) {
11604
+ cells.push({ date: formatDate(next.year, next.month, day), day, inCurrentMonth: false });
11605
+ }
11606
+ return cells;
11607
+ }
11608
+ var WEEK_LABELS = ["\uC77C", "\uC6D4", "\uD654", "\uC218", "\uBAA9", "\uAE08", "\uD1A0"];
11609
+
11610
+ // src/components/SCalendarBoard/calendarBoard.config.ts
11611
+ var CALENDAR_BOARD_EVENT_COLORS = [
11612
+ "default",
11613
+ "blue",
11614
+ "oceanBlue",
11615
+ "lightBlue",
11616
+ "green",
11617
+ "yellow",
11618
+ "orange",
11619
+ "red",
11620
+ "white"
11621
+ ];
11622
+ var BG = (name) => `var(--cmp-calendarBoard-eventButton-bg-${name})`;
11623
+ var CALENDAR_BOARD_EVENT_PRESETS = {
11624
+ default: { bg: BG("default"), dot: "indigo" },
11625
+ blue: { bg: BG("blue"), dot: "blue" },
11626
+ oceanBlue: { bg: BG("oceanBlue"), dot: "darkblue" },
11627
+ lightBlue: { bg: BG("lightBlue"), dot: "lightblue" },
11628
+ green: { bg: BG("green"), dot: "green" },
11629
+ yellow: { bg: BG("yellow"), dot: "yellow" },
11630
+ orange: { bg: BG("orange"), dot: "orange" },
11631
+ red: { bg: BG("red"), dot: "red" },
11632
+ white: { bg: BG("white"), dot: "grey" }
11633
+ };
11634
+ var CALENDAR_BOARD_MAX_VISIBLE_EVENTS = 4;
11635
+ var CALENDAR_BOARD_DAY_COLORS = [
11636
+ "default",
11637
+ "danger",
11638
+ "accent",
11639
+ "complete",
11640
+ "dim"
11641
+ ];
11642
+ var CALENDAR_BOARD_DAY_BG = {
11643
+ default: "var(--cmp-calendarBoard-dayCard-bg)",
11644
+ danger: "var(--color-red-30)",
11645
+ accent: "var(--color-brilliantblue-40)",
11646
+ complete: "var(--color-green-45)",
11647
+ dim: "var(--color-grey-25)"
11648
+ };
11649
+ function CalendarEventButton({
11650
+ event,
11651
+ onSelect,
11652
+ className
11653
+ }) {
11654
+ const preset = CALENDAR_BOARD_EVENT_PRESETS[event.color ?? "default"];
11655
+ const dot = event.dotColor ?? preset.dot;
11656
+ const disabled = event.disabled === true;
11657
+ const hasDescription = event.description != null && event.description !== "";
11658
+ const hasValue = event.value != null && event.value !== "";
11659
+ const title = [event.label.replace(/<[^>]*>/g, ""), event.description, event.value].filter((v) => v != null && v !== "").join(" ") || void 0;
11660
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11661
+ "button",
11662
+ {
11663
+ type: "button",
11664
+ disabled,
11665
+ title,
11666
+ className: cn(
11667
+ // hover 는 배경 위에 8% 오버레이를 얹는다 — 프리셋 배경이 9종이라 색마다 hover 색을 두지 않는다.
11668
+ "group relative flex w-full min-w-0 items-center overflow-hidden text-left",
11669
+ "h-(--cmp-calendarBoard-item-height) shrink-0 rounded-(--cmp-calendarBoard-item-radius)",
11670
+ "gap-(--cmp-calendarBoard-eventButton-inline-gap) px-(--cmp-calendarBoard-item-paddingX)",
11671
+ "bg-(--ceb-bg) text-(--cmp-calendarBoard-eventButton-text-color-default)",
11672
+ disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer",
11673
+ className
11674
+ ),
11675
+ style: { "--ceb-bg": preset.bg },
11676
+ onClick: (e) => {
11677
+ if (disabled) return;
11678
+ onSelect?.(event, e);
11679
+ },
11680
+ children: [
11681
+ !disabled && /* @__PURE__ */ jsxRuntime.jsx(
11682
+ "span",
11683
+ {
11684
+ "aria-hidden": true,
11685
+ className: "pointer-events-none absolute inset-0 rounded-(--cmp-calendarBoard-item-radius) bg-(--cmp-calendarBoard-eventButton-hover-overlay-color) opacity-0 transition-opacity group-hover:opacity-(--cmp-calendarBoard-eventButton-hover-overlay-opacity)"
11686
+ }
11687
+ ),
11688
+ /* @__PURE__ */ jsxRuntime.jsx(SBadge, { "aria-hidden": true, color: dot, className: "shrink-0" }),
11689
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex min-w-0 flex-1 items-center gap-(--cmp-calendarBoard-eventButton-label-gap)", children: [
11690
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "typo-body-sm-default min-w-0 flex-1 truncate", children: [
11691
+ /* @__PURE__ */ jsxRuntime.jsx(
11692
+ "span",
11693
+ {
11694
+ className: cn(
11695
+ "typo-body-sm-semibold",
11696
+ hasDescription && "me-(--cmp-calendarBoard-eventButton-label-gap)"
11697
+ ),
11698
+ dangerouslySetInnerHTML: { __html: sanitizeInlineHtml(event.label) }
11699
+ }
11700
+ ),
11701
+ hasDescription && event.description
11702
+ ] }),
11703
+ hasValue && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex shrink-0 items-center gap-(--cmp-calendarBoard-eventButton-label-gap)", children: [
11704
+ /* @__PURE__ */ jsxRuntime.jsx(
11705
+ "span",
11706
+ {
11707
+ "aria-hidden": true,
11708
+ className: "typo-body-sm-default text-(--cmp-calendarBoard-eventButton-text-color-separator)",
11709
+ children: "/"
11710
+ }
11711
+ ),
11712
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-sm-default whitespace-nowrap", children: event.value })
11713
+ ] })
11714
+ ] })
11715
+ ]
11716
+ }
11717
+ );
11718
+ }
11719
+ var CalendarMoreButton = /* @__PURE__ */ react.forwardRef(function CalendarMoreButton2({ count, label = "\uB354\uBCF4\uAE30", onClick, className }, ref) {
11720
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11721
+ "button",
11722
+ {
11723
+ ref,
11724
+ type: "button",
11725
+ className: cn(
11726
+ "group relative flex w-full min-w-0 cursor-pointer items-center overflow-hidden text-left",
11727
+ "h-(--cmp-calendarBoard-item-height) shrink-0 rounded-(--cmp-calendarBoard-item-radius)",
11728
+ "gap-(--cmp-calendarBoard-moreButton-gap) px-(--cmp-calendarBoard-item-paddingX)",
11729
+ "bg-(--cmp-calendarBoard-moreButton-bg)",
11730
+ className
11731
+ ),
11732
+ onClick,
11733
+ children: [
11734
+ /* @__PURE__ */ jsxRuntime.jsx(
11735
+ "span",
11736
+ {
11737
+ "aria-hidden": true,
11738
+ className: "pointer-events-none absolute inset-0 rounded-(--cmp-calendarBoard-item-radius) bg-(--cmp-calendarBoard-moreButton-hover-overlay-color) opacity-0 transition-opacity group-hover:opacity-(--cmp-calendarBoard-moreButton-hover-overlay-opacity)"
11739
+ }
11740
+ ),
11741
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "typo-body-sm-semibold shrink-0 text-(--cmp-calendarBoard-moreButton-count-color)", children: [
11742
+ count,
11743
+ "\uAC1C"
11744
+ ] }),
11745
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-body-sm-default min-w-0 truncate text-(--cmp-calendarBoard-moreButton-label-color)", children: label })
11746
+ ]
11747
+ }
11748
+ );
11749
+ });
11750
+ var CalendarDayCard = /* @__PURE__ */ react.forwardRef(function CalendarDayCard2({
11751
+ date,
11752
+ day,
11753
+ inCurrentMonth,
11754
+ isToday,
11755
+ isSelected,
11756
+ selectable,
11757
+ color,
11758
+ events,
11759
+ body,
11760
+ hiddenCount,
11761
+ isOpen,
11762
+ moreLabel,
11763
+ onDaySelect,
11764
+ onEventClick,
11765
+ onOpenEvents,
11766
+ ...rest
11767
+ }, ref) {
11768
+ const hasEvents = events.length + hiddenCount > 0;
11769
+ const interactive = selectable || hasEvents;
11770
+ const activate = () => {
11771
+ if (hasEvents) onOpenEvents?.();
11772
+ if (selectable) onDaySelect?.(date);
11773
+ };
11774
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11775
+ "div",
11776
+ {
11777
+ ...rest,
11778
+ ref,
11779
+ role: "gridcell",
11780
+ "data-date": date,
11781
+ "aria-selected": selectable ? isSelected : void 0,
11782
+ "aria-current": isToday ? "date" : void 0,
11783
+ "aria-haspopup": hasEvents ? "dialog" : void 0,
11784
+ "aria-expanded": hasEvents ? isOpen : void 0,
11785
+ tabIndex: interactive ? 0 : void 0,
11786
+ onClick: interactive ? activate : void 0,
11787
+ onKeyDown: interactive ? (e) => {
11788
+ if (e.key === "Enter" || e.key === " ") {
11789
+ e.preventDefault();
11790
+ activate();
11791
+ }
11792
+ } : void 0,
11793
+ className: cn(
11794
+ "relative flex min-h-(--cmp-calendarBoard-dayCard-minHeight) min-w-(--cmp-calendarBoard-dayCard-minWidth) flex-col bg-(--cdc-bg) px-(--cmp-calendarBoard-dayCard-paddingX) outline-none",
11795
+ interactive && "cursor-pointer"
11796
+ ),
11797
+ style: { ...rest.style, "--cdc-bg": CALENDAR_BOARD_DAY_BG[color] },
11798
+ children: [
11799
+ isSelected && /* @__PURE__ */ jsxRuntime.jsx(
11800
+ "span",
11801
+ {
11802
+ "aria-hidden": true,
11803
+ className: "pointer-events-none absolute inset-[1px] rounded-(--cmp-calendarBoard-dayCard-focus-border-radius) border-(length:--cmp-calendarBoard-dayCard-focus-border-width) border-solid border-(--cmp-calendarBoard-dayCard-focus-border-color)"
11804
+ }
11805
+ ),
11806
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 pt-(--cmp-calendarBoard-dayCard-header-paddingTop) pb-(--cmp-calendarBoard-dayCard-header-paddingBottom)", children: /* @__PURE__ */ jsxRuntime.jsx(
11807
+ "span",
11808
+ {
11809
+ className: cn(
11810
+ "inline-flex size-(--cmp-calendarBoard-daySequence-size) items-center justify-center rounded-(--cmp-calendarBoard-daySequence-radius)",
11811
+ isToday ? "typo-body-md-bold bg-(--cmp-calendarBoard-daySequence-bg-today) text-(--cmp-calendarBoard-daySequence-text-today)" : cn(
11812
+ "typo-body-md-medium",
11813
+ inCurrentMonth ? "text-(--cmp-calendarBoard-daySequence-text-default)" : "text-(--cmp-calendarBoard-daySequence-text-otherMonth)"
11814
+ ),
11815
+ // 오늘이 아니면서 선택된 날은 테두리 원으로 표시한다 (오늘은 이미 채운 원이라 겹치지 않는다).
11816
+ // 굵기는 1px 로 고정한다 — 칸을 감싸는 focus 테두리(2px)와 달리 얇은 원이고, 대응 토큰이 없다.
11817
+ isSelected && !isToday && "border border-solid border-(--cmp-calendarBoard-daySequence-border-selected)"
11818
+ ),
11819
+ children: day
11820
+ }
11821
+ ) }),
11822
+ /* @__PURE__ */ jsxRuntime.jsxs(
11823
+ "div",
11824
+ {
11825
+ className: cn(
11826
+ "flex min-h-0 flex-col gap-(--cmp-calendarBoard-dayCard-grid-gap) pb-(--cmp-calendarBoard-dayCard-grid-paddingBottom)",
11827
+ // 슬롯은 남는 세로를 다 갖는다 — 안에서 h-full 로 칸을 채울 수 있어야 한다.
11828
+ body != null && "flex-1"
11829
+ ),
11830
+ children: [
11831
+ body,
11832
+ body == null && events.map((event, i) => /* @__PURE__ */ jsxRuntime.jsx(
11833
+ CalendarEventButton,
11834
+ {
11835
+ event,
11836
+ onSelect: (ev, e) => {
11837
+ e.stopPropagation();
11838
+ onEventClick?.(ev, e);
11839
+ }
11840
+ },
11841
+ event.id ?? `${event.date}-${i}`
11842
+ )),
11843
+ hiddenCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(
11844
+ CalendarMoreButton,
11845
+ {
11846
+ count: hiddenCount,
11847
+ label: moreLabel,
11848
+ onClick: (e) => {
11849
+ e.stopPropagation();
11850
+ onOpenEvents?.();
11851
+ }
11852
+ }
11853
+ )
11854
+ ]
11855
+ }
11856
+ )
11857
+ ]
11858
+ }
11859
+ );
11860
+ });
11861
+ var MAX_HEIGHT = 480;
11862
+ var MAX_WIDTH = "calc(100vw - 16px)";
11863
+ function CalendarDayEventListBox({
11864
+ date,
11865
+ events,
11866
+ onEventClick,
11867
+ minWidth,
11868
+ minHeight,
11869
+ onClose,
11870
+ closeLabel = "\uB2EB\uAE30"
11871
+ }) {
11872
+ const [y, m, d] = date.split("-").map(Number);
11873
+ const weekday = WEEK_LABELS[new Date(y, m - 1, d).getDay()];
11874
+ return /* @__PURE__ */ jsxRuntime.jsxs(
11875
+ "div",
11876
+ {
11877
+ className: "flex w-max flex-col overflow-hidden rounded-(--cmp-calendarBoard-radius) bg-(--cmp-calendarBoard-bg) shadow-(--shadow-overlay)",
11878
+ style: { minWidth, maxWidth: MAX_WIDTH, minHeight, maxHeight: MAX_HEIGHT },
11879
+ children: [
11880
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-(--cmp-calendarBoard-dayEvent-header-gap) px-(--cmp-calendarBoard-dayEvent-header-paddingX) py-(--cmp-calendarBoard-dayEvent-header-paddingY)", children: [
11881
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "typo-heading-md text-(--cmp-calendarBoard-header-content-color)", children: [
11882
+ d,
11883
+ "\uC77C"
11884
+ ] }),
11885
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "typo-body-lg-default flex-1 text-(--cmp-calendarBoard-header-content-color)", children: [
11886
+ "(",
11887
+ weekday,
11888
+ ")"
11889
+ ] }),
11890
+ /* @__PURE__ */ jsxRuntime.jsx(
11891
+ SGhostButton,
11892
+ {
11893
+ icon: "close",
11894
+ size: "xs",
11895
+ ariaLabel: closeLabel,
11896
+ className: "shrink-0",
11897
+ onClick: onClose
11898
+ }
11899
+ )
11900
+ ] }),
11901
+ /* @__PURE__ */ jsxRuntime.jsx(SScrollArea, { axis: "vertical", className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-(--cmp-calendarBoard-dayEvent-body-gap) px-(--cmp-calendarBoard-dayEvent-body-paddingX) pb-(--cmp-calendarBoard-dayEvent-body-paddingBottom)", children: events.map((event, i) => /* @__PURE__ */ jsxRuntime.jsx(
11902
+ CalendarEventButton,
11903
+ {
11904
+ event,
11905
+ onSelect: onEventClick
11906
+ },
11907
+ event.id ?? `${event.date}-${i}`
11908
+ )) }) })
11909
+ ]
11910
+ }
11911
+ );
11912
+ }
11913
+ var DAY_EVENT_OUTDENT = 16;
11914
+ var VIEWPORT_PADDING2 = 8;
11915
+ function shiftIntoView(desired, size, viewport) {
11916
+ const max = Math.max(viewport - size - VIEWPORT_PADDING2, VIEWPORT_PADDING2);
11917
+ return Math.min(Math.max(desired, VIEWPORT_PADDING2), max) - desired;
11918
+ }
11919
+ function measureRowCapacity(cell) {
11920
+ const cs = getComputedStyle(cell);
11921
+ const v = (name) => Number.parseFloat(cs.getPropertyValue(name)) || 0;
11922
+ const gap = v("--cmp-calendarBoard-dayCard-grid-gap");
11923
+ const row = v("--cmp-calendarBoard-item-height") + gap;
11924
+ if (row <= 0) return null;
11925
+ const header = v("--cmp-calendarBoard-dayCard-header-paddingTop") + v("--cmp-calendarBoard-daySequence-size") + v("--cmp-calendarBoard-dayCard-header-paddingBottom");
11926
+ const free = cell.getBoundingClientRect().height - header - v("--cmp-calendarBoard-dayCard-grid-paddingBottom") + gap;
11927
+ if (free <= 0) return null;
11928
+ return Math.max(1, Math.floor(free / row));
11929
+ }
11930
+ function SCalendarBoard({
11931
+ year,
11932
+ month,
11933
+ defaultYear,
11934
+ defaultMonth,
11935
+ onViewChange,
11936
+ selectable = false,
11937
+ value,
11938
+ onValueChange,
11939
+ events,
11940
+ dayColors,
11941
+ dayContent,
11942
+ onEventClick,
11943
+ onMoreClick,
11944
+ todayLabel = "\uC624\uB298",
11945
+ moreLabel,
11946
+ headerRight,
11947
+ className,
11948
+ style
11949
+ }) {
11950
+ const today = todayStr();
11951
+ const [ty, tm] = [Number(today.slice(0, 4)), Number(today.slice(5, 7))];
11952
+ const [innerView, setInnerView] = react.useState(() => ({
11953
+ year: defaultYear ?? ty,
11954
+ month: defaultMonth ?? tm
11955
+ }));
11956
+ const controlled = year != null && month != null;
11957
+ const view = controlled ? { year, month } : innerView;
11958
+ const [openDate, setOpenDate] = react.useState(null);
11959
+ const [placement, setPlacement] = react.useState({ cellWidth: 0, cellHeight: 0, side: 0, align: 0 });
11960
+ const [panelEl, setPanelEl] = react.useState(null);
11961
+ const portalContainer = usePortalContainer();
11962
+ const setView = react.useCallback(
11963
+ (next) => {
11964
+ setOpenDate(null);
11965
+ if (!controlled) setInnerView(next);
11966
+ onViewChange?.(next);
11967
+ },
11968
+ [controlled, onViewChange]
11969
+ );
11970
+ const cells = react.useMemo(() => monthCells(view.year, view.month), [view.year, view.month]);
11971
+ const rowCount = cells.length / 7;
11972
+ const gridRef = react.useRef(null);
11973
+ const [rowCapacity, setRowCapacity] = react.useState(CALENDAR_BOARD_MAX_VISIBLE_EVENTS);
11974
+ react.useEffect(() => {
11975
+ const grid = gridRef.current;
11976
+ if (grid == null || typeof ResizeObserver === "undefined") return;
11977
+ const cell = grid.querySelector('[role="gridcell"]');
11978
+ if (cell == null) return;
11979
+ const apply = () => {
11980
+ const next = measureRowCapacity(cell);
11981
+ if (next != null) setRowCapacity(next);
11982
+ };
11983
+ apply();
11984
+ const observer = new ResizeObserver(apply);
11985
+ observer.observe(cell);
11986
+ return () => observer.disconnect();
11987
+ }, [rowCount]);
11988
+ const eventMap = react.useMemo(() => {
11989
+ const map = /* @__PURE__ */ new Map();
11990
+ (events ?? []).forEach((event) => {
11991
+ const list = map.get(event.date);
11992
+ if (list) list.push(event);
11993
+ else map.set(event.date, [event]);
11994
+ });
11995
+ return map;
11996
+ }, [events]);
11997
+ const openEvents = openDate ? eventMap.get(openDate) ?? [] : [];
11998
+ react.useLayoutEffect(() => {
11999
+ if (openDate == null || panelEl == null) return;
12000
+ const cell = gridRef.current?.querySelector(`[data-date="${openDate}"]`);
12001
+ if (cell == null) return;
12002
+ const adjust = () => {
12003
+ const cellRect = cell.getBoundingClientRect();
12004
+ const panelRect = panelEl.getBoundingClientRect();
12005
+ const next = {
12006
+ cellWidth: cellRect.width,
12007
+ cellHeight: cellRect.height,
12008
+ side: -(cellRect.height + DAY_EVENT_OUTDENT) + shiftIntoView(cellRect.top - DAY_EVENT_OUTDENT, panelRect.height, window.innerHeight),
12009
+ align: -DAY_EVENT_OUTDENT + shiftIntoView(cellRect.left - DAY_EVENT_OUTDENT, panelRect.width, window.innerWidth)
12010
+ };
12011
+ setPlacement(
12012
+ (prev) => prev.cellWidth === next.cellWidth && prev.cellHeight === next.cellHeight && prev.side === next.side && prev.align === next.align ? prev : next
12013
+ );
12014
+ };
12015
+ adjust();
12016
+ const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(adjust);
12017
+ observer?.observe(panelEl);
12018
+ window.addEventListener("scroll", adjust, true);
12019
+ window.addEventListener("resize", adjust);
12020
+ return () => {
12021
+ observer?.disconnect();
12022
+ window.removeEventListener("scroll", adjust, true);
12023
+ window.removeEventListener("resize", adjust);
12024
+ };
12025
+ }, [openDate, panelEl]);
12026
+ const columns = "repeat(7, minmax(var(--cmp-calendarBoard-dayCard-minWidth), 1fr))";
12027
+ const openEventList = (date, list) => {
12028
+ if (onMoreClick) {
12029
+ onMoreClick({ date, events: list });
12030
+ return;
12031
+ }
12032
+ setOpenDate((prev) => prev === date ? null : date);
12033
+ };
12034
+ return /* @__PURE__ */ jsxRuntime.jsxs(
12035
+ "div",
12036
+ {
12037
+ className: cn(
12038
+ // 판 높이는 부모가 정한다 — 행이 그 높이를 균등 분할하고, 칸 높이가 다시 "몇 줄 보일지" 를 정한다.
12039
+ "flex h-full w-full flex-col overflow-hidden rounded-(--cmp-calendarBoard-radius) border border-solid border-(--cmp-calendarBoard-border) bg-(--cmp-calendarBoard-bg)",
12040
+ className
12041
+ ),
12042
+ style,
12043
+ children: [
12044
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-(--cmp-calendarBoard-header-gap) px-sd-16 py-sd-12", children: [
12045
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-(--cmp-calendarBoard-header-content-gap)", children: [
12046
+ /* @__PURE__ */ jsxRuntime.jsx(
12047
+ SGhostButton,
12048
+ {
12049
+ icon: "chevronLeft",
12050
+ size: "xxs",
12051
+ ariaLabel: "\uC774\uC804 \uD574",
12052
+ onClick: () => setView({ year: view.year - 1, month: view.month })
12053
+ }
12054
+ ),
12055
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-heading-lg inline-flex min-w-[48px] justify-center text-(--cmp-calendarBoard-header-content-color)", children: view.year }),
12056
+ /* @__PURE__ */ jsxRuntime.jsx(
12057
+ SGhostButton,
12058
+ {
12059
+ icon: "chevronRight",
12060
+ size: "xxs",
12061
+ ariaLabel: "\uB2E4\uC74C \uD574",
12062
+ onClick: () => setView({ year: view.year + 1, month: view.month })
12063
+ }
12064
+ )
12065
+ ] }),
12066
+ /* @__PURE__ */ jsxRuntime.jsx(SDivider, { vertical: true, height: "var(--cmp-calendarBoard-header-content-divider-height)" }),
12067
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-(--cmp-calendarBoard-header-content-gap)", children: [
12068
+ /* @__PURE__ */ jsxRuntime.jsx(
12069
+ SGhostButton,
12070
+ {
12071
+ icon: "chevronLeft",
12072
+ size: "xxs",
12073
+ ariaLabel: "\uC774\uC804 \uB2EC",
12074
+ onClick: () => setView(calcYearMonth(view.year, view.month, "prev"))
12075
+ }
12076
+ ),
12077
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "typo-heading-lg inline-flex min-w-[48px] justify-center text-(--cmp-calendarBoard-header-content-color)", children: [
12078
+ view.month,
12079
+ "\uC6D4"
12080
+ ] }),
12081
+ /* @__PURE__ */ jsxRuntime.jsx(
12082
+ SGhostButton,
12083
+ {
12084
+ icon: "chevronRight",
12085
+ size: "xxs",
12086
+ ariaLabel: "\uB2E4\uC74C \uB2EC",
12087
+ onClick: () => setView(calcYearMonth(view.year, view.month, "next"))
12088
+ }
12089
+ )
12090
+ ] }),
12091
+ todayLabel !== "" && /* @__PURE__ */ jsxRuntime.jsx(
12092
+ SButton,
12093
+ {
12094
+ color: "neutral",
12095
+ outline: true,
12096
+ size: "xs",
12097
+ label: todayLabel,
12098
+ onClick: () => setView({ year: ty, month: tm })
12099
+ }
12100
+ ),
12101
+ headerRight != null && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ml-auto flex items-center", children: headerRight })
12102
+ ] }),
12103
+ /* @__PURE__ */ jsxRuntime.jsx(SDivider, {}),
12104
+ /* @__PURE__ */ jsxRuntime.jsx(
12105
+ "div",
12106
+ {
12107
+ className: "grid shrink-0 bg-(--cmp-calendarBoard-grid-bg) pt-(--cmp-calendarBoard-grid-paddingTop) pb-(--cmp-calendarBoard-grid-gap)",
12108
+ style: { gridTemplateColumns: columns },
12109
+ children: WEEK_LABELS.map((label) => /* @__PURE__ */ jsxRuntime.jsx(
12110
+ "div",
12111
+ {
12112
+ className: "typo-body-md-default flex justify-center text-(--cmp-calendarBoard-grid-weekRow-color)",
12113
+ children: label
12114
+ },
12115
+ label
12116
+ ))
12117
+ }
12118
+ ),
12119
+ /* @__PURE__ */ jsxRuntime.jsxs(
12120
+ RPopover12__namespace.Root,
12121
+ {
12122
+ open: openDate !== null,
12123
+ onOpenChange: (open) => {
12124
+ if (!open) setOpenDate(null);
12125
+ },
12126
+ children: [
12127
+ /* @__PURE__ */ jsxRuntime.jsx(
12128
+ "div",
12129
+ {
12130
+ ref: gridRef,
12131
+ role: "grid",
12132
+ className: "grid min-h-0 flex-1 gap-px overflow-auto border-t border-solid border-(--cmp-calendarBoard-grid-month-border) bg-(--cmp-calendarBoard-grid-month-border)",
12133
+ style: {
12134
+ gridTemplateColumns: columns,
12135
+ // 행은 판 높이를 균등하게 나눠 갖는다 — 일정이 많은 주만 길어지면 격자가 깨진다.
12136
+ gridTemplateRows: `repeat(${rowCount}, minmax(var(--cmp-calendarBoard-dayCard-minHeight), 1fr))`
12137
+ },
12138
+ children: cells.map((cell) => {
12139
+ const content = dayContent?.[cell.date];
12140
+ const list = content == null ? eventMap.get(cell.date) ?? [] : [];
12141
+ const folded = list.length > rowCapacity;
12142
+ const visible = folded ? list.slice(0, rowCapacity - 1) : list;
12143
+ const card = /* @__PURE__ */ jsxRuntime.jsx(
12144
+ CalendarDayCard,
12145
+ {
12146
+ date: cell.date,
12147
+ day: cell.day,
12148
+ inCurrentMonth: cell.inCurrentMonth,
12149
+ isToday: cell.date === today,
12150
+ isSelected: value != null && value === cell.date,
12151
+ selectable,
12152
+ color: dayColors?.[cell.date] ?? "default",
12153
+ events: visible,
12154
+ body: content,
12155
+ hiddenCount: folded ? list.length - (rowCapacity - 1) : 0,
12156
+ isOpen: openDate === cell.date,
12157
+ moreLabel,
12158
+ onDaySelect: (date) => onValueChange?.(date, list),
12159
+ onEventClick,
12160
+ onOpenEvents: () => openEventList(cell.date, list)
12161
+ },
12162
+ cell.date
12163
+ );
12164
+ return cell.date === openDate ? /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { asChild: true, children: card }, cell.date) : card;
12165
+ })
12166
+ }
12167
+ ),
12168
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
12169
+ RPopover12__namespace.Content,
12170
+ {
12171
+ onInteractOutside: (e) => {
12172
+ const target = e.detail.originalEvent.target;
12173
+ if (target instanceof Node && gridRef.current?.contains(target)) e.preventDefault();
12174
+ },
12175
+ side: "bottom",
12176
+ align: "start",
12177
+ ref: setPanelEl,
12178
+ sideOffset: placement.side,
12179
+ alignOffset: placement.align,
12180
+ avoidCollisions: false,
12181
+ className: cn("z-50 outline-none", FLOATING_SLIDE_ANIM),
12182
+ onOpenAutoFocus: (e) => e.preventDefault(),
12183
+ children: openDate != null && /* @__PURE__ */ jsxRuntime.jsx(
12184
+ CalendarDayEventListBox,
12185
+ {
12186
+ date: openDate,
12187
+ minWidth: placement.cellWidth > 0 ? placement.cellWidth + DAY_EVENT_OUTDENT * 2 : void 0,
12188
+ minHeight: placement.cellHeight > 0 ? placement.cellHeight + DAY_EVENT_OUTDENT * 2 : void 0,
12189
+ events: openEvents,
12190
+ onEventClick,
12191
+ onClose: () => setOpenDate(null)
12192
+ }
12193
+ )
12194
+ },
12195
+ openDate
12196
+ ) })
12197
+ ]
12198
+ }
12199
+ )
12200
+ ]
12201
+ }
12202
+ );
12203
+ }
12204
+
11553
12205
  // src/lib/floating-height.ts
11554
12206
  var POPOVER_AVAILABLE_HEIGHT = "var(--radix-popover-content-available-height)";
11555
12207
  function clampToAvailableHeight(value, availableHeight) {
@@ -13505,10 +14157,10 @@ function useTruncatedValueTooltip({
13505
14157
  valueRef: elRef,
13506
14158
  onMouseEnter: active ? onMouseEnter : cancelHide,
13507
14159
  onMouseLeave: active ? startHide : cancelHide,
13508
- tooltip: active ? /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: setOpen, children: [
13509
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Anchor, { virtualRef: elRef }),
13510
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
13511
- RPopover11__namespace.Content,
14160
+ tooltip: active ? /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: setOpen, children: [
14161
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Anchor, { virtualRef: elRef }),
14162
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
14163
+ RPopover12__namespace.Content,
13512
14164
  {
13513
14165
  side: "top",
13514
14166
  sideOffset: 4,
@@ -14264,41 +14916,6 @@ function SRadioGroup({
14264
14916
  }
14265
14917
  );
14266
14918
  }
14267
-
14268
- // src/lib/date.ts
14269
- function todayStr() {
14270
- const d = /* @__PURE__ */ new Date();
14271
- return `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
14272
- }
14273
- function formatDate(year, month, day) {
14274
- return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
14275
- }
14276
- function calcYearMonth(year, month, dir) {
14277
- if (dir === "prev")
14278
- return month === 1 ? { year: year - 1, month: 12 } : { year, month: month - 1 };
14279
- return month === 12 ? { year: year + 1, month: 1 } : { year, month: month + 1 };
14280
- }
14281
- function monthCells(year, month) {
14282
- const firstDayIndex = new Date(year, month - 1, 1).getDay();
14283
- const daysInCurrent = new Date(year, month, 0).getDate();
14284
- const prev = calcYearMonth(year, month, "prev");
14285
- const daysInPrev = new Date(prev.year, prev.month, 0).getDate();
14286
- const next = calcYearMonth(year, month, "next");
14287
- const cells = [];
14288
- for (let i = firstDayIndex - 1; i >= 0; i--) {
14289
- const day = daysInPrev - i;
14290
- cells.push({ date: formatDate(prev.year, prev.month, day), day, inCurrentMonth: false });
14291
- }
14292
- for (let day = 1; day <= daysInCurrent; day++) {
14293
- cells.push({ date: formatDate(year, month, day), day, inCurrentMonth: true });
14294
- }
14295
- const remaining = (7 - cells.length % 7) % 7;
14296
- for (let day = 1; day <= remaining; day++) {
14297
- cells.push({ date: formatDate(next.year, next.month, day), day, inCurrentMonth: false });
14298
- }
14299
- return cells;
14300
- }
14301
- var WEEK_LABELS = ["\uC77C", "\uC6D4", "\uD654", "\uC218", "\uBAA9", "\uAE08", "\uD1A0"];
14302
14919
  function SCalendar({
14303
14920
  value,
14304
14921
  onValueChange,
@@ -14877,8 +15494,8 @@ function SDatePicker({
14877
15494
  disabled,
14878
15495
  className,
14879
15496
  style,
14880
- children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: (o) => !disabled && setOpen(o), children: [
14881
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
15497
+ children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: (o) => !disabled && setOpen(o), children: [
15498
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
14882
15499
  "div",
14883
15500
  {
14884
15501
  role: "button",
@@ -14937,8 +15554,8 @@ function SDatePicker({
14937
15554
  ]
14938
15555
  }
14939
15556
  ) }),
14940
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
14941
- RPopover11__namespace.Content,
15557
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
15558
+ RPopover12__namespace.Content,
14942
15559
  {
14943
15560
  side: "bottom",
14944
15561
  align: mode === "date" ? "start" : "center",
@@ -15411,7 +16028,7 @@ function SDateRangePicker({
15411
16028
  className,
15412
16029
  style,
15413
16030
  children: /* @__PURE__ */ jsxRuntime.jsxs(
15414
- RPopover11__namespace.Root,
16031
+ RPopover12__namespace.Root,
15415
16032
  {
15416
16033
  open,
15417
16034
  onOpenChange: (o) => {
@@ -15420,7 +16037,7 @@ function SDateRangePicker({
15420
16037
  if (!o) setPendingStart(null);
15421
16038
  },
15422
16039
  children: [
15423
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
16040
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
15424
16041
  "div",
15425
16042
  {
15426
16043
  role: "button",
@@ -15484,8 +16101,8 @@ function SDateRangePicker({
15484
16101
  ]
15485
16102
  }
15486
16103
  ) }),
15487
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
15488
- RPopover11__namespace.Content,
16104
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
16105
+ RPopover12__namespace.Content,
15489
16106
  {
15490
16107
  side: "bottom",
15491
16108
  align: "start",
@@ -17982,10 +18599,10 @@ function EditorToolbarBar({
17982
18599
  },
17983
18600
  item4
17984
18601
  );
17985
- return /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: linkOpen, onOpenChange: setLinkOpen, children: [
17986
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, disabled: off, children: /* @__PURE__ */ jsxRuntime.jsx(ToolbarButton, { label: "\uB9C1\uD06C", active: state2.link, disabled: off, children: /* @__PURE__ */ jsxRuntime.jsx(IconLink, { size: ICON_SIZE }) }) }),
17987
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
17988
- RPopover11__namespace.Content,
18602
+ return /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: linkOpen, onOpenChange: setLinkOpen, children: [
18603
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, disabled: off, children: /* @__PURE__ */ jsxRuntime.jsx(ToolbarButton, { label: "\uB9C1\uD06C", active: state2.link, disabled: off, children: /* @__PURE__ */ jsxRuntime.jsx(IconLink, { size: ICON_SIZE }) }) }),
18604
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
18605
+ RPopover12__namespace.Content,
17989
18606
  {
17990
18607
  sideOffset: 4,
17991
18608
  align: "start",
@@ -19193,7 +19810,7 @@ var SChipFilter = /* @__PURE__ */ react.forwardRef(function SChipFilter2({
19193
19810
  "div",
19194
19811
  {
19195
19812
  className: cn(
19196
- "flex w-full items-start gap-[var(--chipfilter-bar-gap)] border-b border-solid bg-[var(--chipfilter-bar-bg)] px-[var(--chipfilter-bar-padding-x)] py-[var(--chipfilter-bar-padding-y)]",
19813
+ "flex w-full items-start gap-[var(--chipfilter-bar-gap)] bg-[var(--chipfilter-bar-bg)] px-[var(--chipfilter-bar-padding-x)] py-[var(--chipfilter-bar-padding-y)]",
19197
19814
  className
19198
19815
  ),
19199
19816
  style: { ...rootStyle, borderColor: "var(--chipfilter-bar-border)" },
@@ -19321,8 +19938,8 @@ var SChipFilter = /* @__PURE__ */ react.forwardRef(function SChipFilter2({
19321
19938
  })(),
19322
19939
  hasRightActions && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
19323
19940
  /* @__PURE__ */ jsxRuntime.jsx(Divider, { inset: true }),
19324
- hasAddButton && /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: addOpen, onOpenChange: setAddOpen, children: [
19325
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
19941
+ hasAddButton && /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: addOpen, onOpenChange: setAddOpen, children: [
19942
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
19326
19943
  "button",
19327
19944
  {
19328
19945
  type: "button",
@@ -19347,8 +19964,8 @@ var SChipFilter = /* @__PURE__ */ react.forwardRef(function SChipFilter2({
19347
19964
  ]
19348
19965
  }
19349
19966
  ) }),
19350
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
19351
- RPopover11__namespace.Content,
19967
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
19968
+ RPopover12__namespace.Content,
19352
19969
  {
19353
19970
  side: "bottom",
19354
19971
  align: "start",
@@ -19383,17 +20000,17 @@ var SChipFilter = /* @__PURE__ */ react.forwardRef(function SChipFilter2({
19383
20000
  )
19384
20001
  ] })
19385
20002
  ] }),
19386
- /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: openKey != null, onOpenChange: (next) => !next && setOpenKey(null), children: [
20003
+ /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: openKey != null, onOpenChange: (next) => !next && setOpenKey(null), children: [
19387
20004
  /* @__PURE__ */ jsxRuntime.jsx(
19388
- RPopover11__namespace.Anchor,
20005
+ RPopover12__namespace.Anchor,
19389
20006
  {
19390
20007
  virtualRef: {
19391
20008
  current: openKey ? triggerRefs.current.get(openKey) : null
19392
20009
  }
19393
20010
  }
19394
20011
  ),
19395
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
19396
- RPopover11__namespace.Content,
20012
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
20013
+ RPopover12__namespace.Content,
19397
20014
  {
19398
20015
  side: "bottom",
19399
20016
  align: "start",
@@ -19985,8 +20602,8 @@ function InlineDatePresetFilter({
19985
20602
  applied && (rangeValue ? (
19986
20603
  // 뱃지 모양은 그대로 두고, 눌렀을 때 캘린더가 열려 기간을 직접 다시 고를 수 있게 한다.
19987
20604
  // 직접 고르면 프리셋 선택은 해제된다.
19988
- /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open: pickerOpen, onOpenChange: setPickerOpen, children: [
19989
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
20605
+ /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open: pickerOpen, onOpenChange: setPickerOpen, children: [
20606
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
19990
20607
  "button",
19991
20608
  {
19992
20609
  type: "button",
@@ -19995,8 +20612,8 @@ function InlineDatePresetFilter({
19995
20612
  children: badge
19996
20613
  }
19997
20614
  ) }),
19998
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
19999
- RPopover11__namespace.Content,
20615
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
20616
+ RPopover12__namespace.Content,
20000
20617
  {
20001
20618
  side: "bottom",
20002
20619
  align: "start",
@@ -21304,8 +21921,8 @@ function STimePicker({
21304
21921
  disabled,
21305
21922
  className,
21306
21923
  style,
21307
- children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: commitOpen, children: [
21308
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
21924
+ children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: commitOpen, children: [
21925
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
21309
21926
  "div",
21310
21927
  {
21311
21928
  ref: triggerRef,
@@ -21365,8 +21982,8 @@ function STimePicker({
21365
21982
  ]
21366
21983
  }
21367
21984
  ) }),
21368
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
21369
- RPopover11__namespace.Content,
21985
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
21986
+ RPopover12__namespace.Content,
21370
21987
  {
21371
21988
  side: "bottom",
21372
21989
  align: "start",
@@ -21771,8 +22388,8 @@ function STimeRangePicker({
21771
22388
  disabled,
21772
22389
  className,
21773
22390
  style,
21774
- children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover11__namespace.Root, { open, onOpenChange: commitOpen, children: [
21775
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
22391
+ children: /* @__PURE__ */ jsxRuntime.jsxs(RPopover12__namespace.Root, { open, onOpenChange: commitOpen, children: [
22392
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Trigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
21776
22393
  "div",
21777
22394
  {
21778
22395
  ref: triggerRef,
@@ -21832,8 +22449,8 @@ function STimeRangePicker({
21832
22449
  ]
21833
22450
  }
21834
22451
  ) }),
21835
- /* @__PURE__ */ jsxRuntime.jsx(RPopover11__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
21836
- RPopover11__namespace.Content,
22452
+ /* @__PURE__ */ jsxRuntime.jsx(RPopover12__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
22453
+ RPopover12__namespace.Content,
21837
22454
  {
21838
22455
  side: "bottom",
21839
22456
  align: "start",
@@ -21868,6 +22485,11 @@ exports.ACCOUNT_LIST_BOX_TONE_CONFIG = ACCOUNT_LIST_BOX_TONE_CONFIG;
21868
22485
  exports.BADGE_COLORS = BADGE_COLORS;
21869
22486
  exports.BUTTON_COLORS = BUTTON_COLORS;
21870
22487
  exports.BUTTON_SIZES = BUTTON_SIZES;
22488
+ exports.CALENDAR_BOARD_DAY_BG = CALENDAR_BOARD_DAY_BG;
22489
+ exports.CALENDAR_BOARD_DAY_COLORS = CALENDAR_BOARD_DAY_COLORS;
22490
+ exports.CALENDAR_BOARD_EVENT_COLORS = CALENDAR_BOARD_EVENT_COLORS;
22491
+ exports.CALENDAR_BOARD_EVENT_PRESETS = CALENDAR_BOARD_EVENT_PRESETS;
22492
+ exports.CALENDAR_BOARD_MAX_VISIBLE_EVENTS = CALENDAR_BOARD_MAX_VISIBLE_EVENTS;
21871
22493
  exports.COLOR_KEYS = COLOR_KEYS;
21872
22494
  exports.FIELD_WIDTH_GRADES = FIELD_WIDTH_GRADES;
21873
22495
  exports.GNB_COLORS = GNB_COLORS;
@@ -21896,6 +22518,7 @@ exports.SBarcodeInput = SBarcodeInput;
21896
22518
  exports.SButton = SButton;
21897
22519
  exports.SCROLL_AREA_AXES = SCROLL_AREA_AXES;
21898
22520
  exports.SCalendar = SCalendar;
22521
+ exports.SCalendarBoard = SCalendarBoard;
21899
22522
  exports.SCallout = SCallout;
21900
22523
  exports.SCard = SCard;
21901
22524
  exports.SCheckbox = SCheckbox;