@designa8/vibedesign-tinkerly-dryrun-ds-176b 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @designa8/vibedesign-tinkerly-dryrun-ds-176b
2
2
 
3
- Complete design system generated by Atoms Design, version **0.0.6**.
3
+ Complete design system generated by Atoms Design, version **0.0.8**.
4
4
  Tokens, atoms, molecules, organisms, and templates — import from the package root;
5
5
  never hardcode visual values in consumer code.
6
6
 
package/dist/index.cjs CHANGED
@@ -3642,9 +3642,12 @@ Breadcrumb.displayName = "Breadcrumb";
3642
3642
 
3643
3643
  // virtual-pkg:src/molecules/ButtonGroup/ButtonGroup.tsx
3644
3644
  var React28 = __toESM(require("react"));
3645
+ var import_react_dom = require("react-dom");
3645
3646
  var import_jsx_runtime28 = require("react/jsx-runtime");
3646
3647
  var cn13 = (...parts) => parts.filter(Boolean).join(" ");
3647
3648
  var ICON_SIZE = { sm: 16, md: 18 };
3649
+ var TIP_ROOM = 44;
3650
+ var TIP_INSET = 8;
3648
3651
  var ButtonGroup = React28.forwardRef(
3649
3652
  ({
3650
3653
  options,
@@ -3655,6 +3658,7 @@ var ButtonGroup = React28.forwardRef(
3655
3658
  fullWidth = false,
3656
3659
  disabled = false,
3657
3660
  label = "View options",
3661
+ tooltipPlacement = "bottom",
3658
3662
  className,
3659
3663
  ...props
3660
3664
  }, ref) => {
@@ -3699,6 +3703,56 @@ var ButtonGroup = React28.forwardRef(
3699
3703
  grid.querySelectorAll("[data-segment]").forEach((cell) => observer.observe(cell));
3700
3704
  return () => observer.disconnect();
3701
3705
  }, [selectedIndex, count, size, fullWidth, hasIconOnly]);
3706
+ const generatedId = React28.useId();
3707
+ const tipId = `button-group-tip-${generatedId}`;
3708
+ const tipRef = React28.useRef(null);
3709
+ const [tip, setTip] = React28.useState(null);
3710
+ const [tipOpen, setTipOpen] = React28.useState(false);
3711
+ const hideTip = React28.useCallback(() => setTipOpen(false), []);
3712
+ const showTip = React28.useCallback(
3713
+ (index, trigger) => {
3714
+ const rect = trigger.getBoundingClientRect();
3715
+ const distanceToBottom = window.innerHeight - rect.bottom;
3716
+ const distanceToTop = rect.top;
3717
+ let side = tooltipPlacement;
3718
+ if (side === "bottom" && distanceToBottom < TIP_ROOM && distanceToTop > distanceToBottom) {
3719
+ side = "top";
3720
+ } else if (side === "top" && distanceToTop < TIP_ROOM && distanceToBottom > distanceToTop) {
3721
+ side = "bottom";
3722
+ }
3723
+ setTip({
3724
+ index,
3725
+ center: rect.left + rect.width / 2,
3726
+ edge: side === "bottom" ? rect.bottom : rect.top,
3727
+ side
3728
+ });
3729
+ setTipOpen(true);
3730
+ },
3731
+ [tooltipPlacement]
3732
+ );
3733
+ React28.useLayoutEffect(() => {
3734
+ if (!tipOpen) return;
3735
+ const panel = tipRef.current;
3736
+ if (!panel) return;
3737
+ const half = panel.offsetWidth / 2;
3738
+ const viewport = window.innerWidth;
3739
+ const min = TIP_INSET + half;
3740
+ const max = viewport - TIP_INSET - half;
3741
+ const next = max < min ? viewport / 2 : Math.min(Math.max(tip?.center ?? 0, min), max);
3742
+ setTip(
3743
+ (prev) => prev && Math.abs(prev.center - next) > 0.5 ? { ...prev, center: next } : prev
3744
+ );
3745
+ }, [tipOpen, tip]);
3746
+ React28.useEffect(() => {
3747
+ if (!tipOpen) return;
3748
+ const close = () => setTipOpen(false);
3749
+ window.addEventListener("scroll", close, true);
3750
+ window.addEventListener("resize", close);
3751
+ return () => {
3752
+ window.removeEventListener("scroll", close, true);
3753
+ window.removeEventListener("resize", close);
3754
+ };
3755
+ }, [tipOpen]);
3702
3756
  const select = (next) => {
3703
3757
  if (disabled) return;
3704
3758
  if (value === void 0) setInnerValue(next);
@@ -3715,121 +3769,179 @@ var ButtonGroup = React28.forwardRef(
3715
3769
  }
3716
3770
  }
3717
3771
  };
3718
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { ref, className: cn13("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3719
- "div",
3720
- {
3721
- role: "group",
3722
- "aria-label": label,
3723
- "aria-disabled": disabled || void 0,
3724
- className: cn13(
3725
- "inline-flex p-xxs",
3726
- "rounded-md border border-hairline bg-surface",
3727
- "transition duration-150 ease-out",
3728
- "has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-focus-blue",
3729
- fullWidth ? "w-full" : "w-auto"
3730
- ),
3731
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3732
- "div",
3733
- {
3734
- ref: gridRef,
3735
- className: cn13(
3736
- "relative grid grid-flow-col items-stretch",
3737
- fullWidth || !hasIconOnly ? "auto-cols-fr" : "auto-cols-auto",
3738
- fullWidth && "w-full"
3739
- ),
3740
- children: [
3741
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3742
- "span",
3743
- {
3744
- "aria-hidden": "true",
3745
- className: cn13(
3746
- "pointer-events-none absolute left-0 top-0 bottom-0 rounded-sm",
3747
- "transition-[transform,width,opacity,background-color] duration-[220ms] ease-out",
3748
- "motion-reduce:transition-none",
3749
- selectedDisabled ? "bg-surface-strong" : "bg-primary-soft",
3750
- hasSelection && pill ? "opacity-100" : "opacity-0"
3751
- ),
3752
- style: {
3753
- width: pill ? pill.width : 0,
3754
- transform: `translateX(${pill ? pill.x : 0}px)`
3755
- }
3756
- }
3772
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { ref, className: cn13("w-full", className), ...props, children: [
3773
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3774
+ "div",
3775
+ {
3776
+ role: "group",
3777
+ "aria-label": label,
3778
+ "aria-disabled": disabled || void 0,
3779
+ className: cn13(
3780
+ "inline-flex p-xxs",
3781
+ "rounded-md border border-hairline bg-surface",
3782
+ "transition duration-150 ease-out",
3783
+ "has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-focus-blue",
3784
+ fullWidth ? "w-full" : "w-auto"
3785
+ ),
3786
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3787
+ "div",
3788
+ {
3789
+ ref: gridRef,
3790
+ className: cn13(
3791
+ "relative grid grid-flow-col items-stretch",
3792
+ fullWidth || !hasIconOnly ? "auto-cols-fr" : "auto-cols-auto",
3793
+ fullWidth && "w-full"
3757
3794
  ),
3758
- options.map((option, index) => {
3759
- const isSelected = index === selectedIndex;
3760
- const isDisabled = disabled || option.disabled === true;
3761
- const seamHidden = isSelected || index + 1 === selectedIndex;
3762
- const isIconOnly = option.iconOnly === true && option.icon !== void 0;
3763
- const segment = /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3764
- Button,
3795
+ children: [
3796
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3797
+ "span",
3765
3798
  {
3766
- chrome: "none",
3767
- variant: "ghost",
3768
- size,
3769
- square: isIconOnly,
3770
- fullWidth: !isIconOnly,
3771
- disabled: isDisabled,
3772
- "aria-pressed": isSelected,
3773
- "aria-label": isIconOnly ? option.label : void 0,
3774
- leadingIcon: option.icon,
3775
- iconSize: ICON_SIZE[size],
3776
- onClick: () => select(option.value),
3777
- onKeyDown: (event) => {
3778
- if (event.key === "ArrowRight" || event.key === "ArrowDown") {
3779
- event.preventDefault();
3780
- step(index, 1);
3781
- } else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
3782
- event.preventDefault();
3783
- step(index, -1);
3784
- }
3785
- },
3799
+ "aria-hidden": "true",
3786
3800
  className: cn13(
3787
- "relative z-10 rounded-sm",
3788
- isDisabled ? "text-muted-soft" : isSelected ? "text-primary" : "text-ink"
3801
+ "pointer-events-none absolute left-0 top-0 bottom-0 rounded-sm",
3802
+ "transition-[transform,width,opacity,background-color] duration-[220ms] ease-out",
3803
+ "motion-reduce:transition-none",
3804
+ selectedDisabled ? "bg-surface-strong" : "bg-primary-soft",
3805
+ hasSelection && pill ? "opacity-100" : "opacity-0"
3789
3806
  ),
3790
- labelClassName: option.badge ? void 0 : "truncate",
3791
- children: [
3792
- isIconOnly ? void 0 : option.label,
3793
- option.badge && !isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "ml-xs inline-flex shrink-0 items-center", children: option.badge }) : null
3794
- ]
3807
+ style: {
3808
+ width: pill ? pill.width : 0,
3809
+ transform: `translateX(${pill ? pill.x : 0}px)`
3810
+ }
3795
3811
  }
3796
- );
3797
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3798
- "div",
3799
- {
3800
- "data-segment": "",
3801
- className: "relative flex justify-center",
3802
- children: [
3803
- isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Tooltip, { label: option.label, placement: "top", children: segment }) : segment,
3804
- index < count - 1 ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3805
- "span",
3806
- {
3807
- "aria-hidden": "true",
3808
- className: cn13(
3809
- "pointer-events-none absolute right-0 top-1/2 z-20 w-px -translate-y-1/2",
3810
- "bg-hairline transition-opacity duration-150 ease-out",
3811
- size === "sm" ? "h-3" : "h-4",
3812
- seamHidden ? "opacity-0" : "opacity-100"
3813
- )
3812
+ ),
3813
+ options.map((option, index) => {
3814
+ const isSelected = index === selectedIndex;
3815
+ const isDisabled = disabled || option.disabled === true;
3816
+ const seamHidden = isSelected || index + 1 === selectedIndex;
3817
+ const isIconOnly = option.iconOnly === true && option.icon !== void 0;
3818
+ const tipVisible = isIconOnly && tipOpen && tip !== null && tip.index === index;
3819
+ const segment = /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3820
+ Button,
3821
+ {
3822
+ chrome: "none",
3823
+ variant: "ghost",
3824
+ size,
3825
+ square: isIconOnly,
3826
+ fullWidth: !isIconOnly,
3827
+ disabled: isDisabled,
3828
+ "aria-pressed": isSelected,
3829
+ "aria-label": isIconOnly ? option.label : void 0,
3830
+ "aria-describedby": tipVisible ? tipId : void 0,
3831
+ leadingIcon: option.icon,
3832
+ iconSize: ICON_SIZE[size],
3833
+ onClick: () => select(option.value),
3834
+ onKeyDown: (event) => {
3835
+ if (event.key === "ArrowRight" || event.key === "ArrowDown") {
3836
+ event.preventDefault();
3837
+ step(index, 1);
3838
+ } else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
3839
+ event.preventDefault();
3840
+ step(index, -1);
3841
+ } else if (event.key === "Escape") {
3842
+ hideTip();
3814
3843
  }
3815
- ) : null
3816
- ]
3817
- },
3818
- option.value
3819
- );
3820
- })
3821
- ]
3844
+ },
3845
+ className: cn13(
3846
+ "relative z-10 rounded-sm",
3847
+ isDisabled ? "text-muted-soft" : isSelected ? "text-primary" : "text-ink"
3848
+ ),
3849
+ labelClassName: option.badge ? void 0 : "truncate",
3850
+ children: [
3851
+ isIconOnly ? void 0 : option.label,
3852
+ option.badge && !isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "ml-xs inline-flex shrink-0 items-center", children: option.badge }) : null
3853
+ ]
3854
+ }
3855
+ );
3856
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3857
+ "div",
3858
+ {
3859
+ "data-segment": "",
3860
+ className: "relative flex justify-center",
3861
+ children: [
3862
+ isIconOnly ? (
3863
+ /* The wrapper only drives visibility; the bubble itself is
3864
+ portaled out of the group so nothing can clip it. */
3865
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3866
+ "span",
3867
+ {
3868
+ className: "inline-flex",
3869
+ onMouseEnter: (event) => showTip(index, event.currentTarget),
3870
+ onMouseLeave: hideTip,
3871
+ onFocusCapture: (event) => showTip(index, event.currentTarget),
3872
+ onBlurCapture: hideTip,
3873
+ children: segment
3874
+ }
3875
+ )
3876
+ ) : segment,
3877
+ index < count - 1 ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3878
+ "span",
3879
+ {
3880
+ "aria-hidden": "true",
3881
+ className: cn13(
3882
+ "pointer-events-none absolute right-0 top-1/2 z-20 w-px -translate-y-1/2",
3883
+ "bg-hairline transition-opacity duration-150 ease-out",
3884
+ size === "sm" ? "h-3" : "h-4",
3885
+ seamHidden ? "opacity-0" : "opacity-100"
3886
+ )
3887
+ }
3888
+ ) : null
3889
+ ]
3890
+ },
3891
+ option.value
3892
+ );
3893
+ })
3894
+ ]
3895
+ }
3896
+ )
3897
+ }
3898
+ ),
3899
+ typeof document !== "undefined" && tip ? (0, import_react_dom.createPortal)(
3900
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3901
+ "div",
3902
+ {
3903
+ ref: tipRef,
3904
+ id: tipId,
3905
+ role: "tooltip",
3906
+ "data-state": tipOpen ? "open" : "closed",
3907
+ "aria-hidden": tipOpen ? void 0 : true,
3908
+ style: {
3909
+ position: "fixed",
3910
+ top: tip.edge,
3911
+ left: tip.center,
3912
+ zIndex: "var(--z-popover, 1300)"
3913
+ },
3914
+ className: cn13(
3915
+ "pointer-events-none fixed -translate-x-1/2",
3916
+ tip.side === "bottom" ? "pt-xxs" : "pb-xxs -translate-y-full"
3917
+ ),
3918
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3919
+ "span",
3920
+ {
3921
+ "data-state": tipOpen ? "open" : "closed",
3922
+ className: cn13(
3923
+ "inline-flex max-w-max items-center whitespace-nowrap",
3924
+ "rounded-md bg-ink px-md py-sm text-label-md text-canvas shadow-md",
3925
+ "transition duration-200 ease-out",
3926
+ "data-[state=open]:translate-y-0 data-[state=open]:opacity-100",
3927
+ "data-[state=closed]:opacity-0",
3928
+ tip.side === "bottom" ? "data-[state=closed]:-translate-y-1" : "data-[state=closed]:translate-y-1"
3929
+ ),
3930
+ children: options[tip.index]?.label
3931
+ }
3932
+ )
3822
3933
  }
3823
- )
3824
- }
3825
- ) });
3934
+ ),
3935
+ document.body
3936
+ ) : null
3937
+ ] });
3826
3938
  }
3827
3939
  );
3828
3940
  ButtonGroup.displayName = "ButtonGroup";
3829
3941
 
3830
3942
  // virtual-pkg:src/molecules/CardFooter/CardFooter.tsx
3831
3943
  var React30 = __toESM(require("react"));
3832
- var import_react_dom = require("react-dom");
3944
+ var import_react_dom2 = require("react-dom");
3833
3945
 
3834
3946
  // virtual-pkg:src/molecules/MenuItem/MenuItem.tsx
3835
3947
  var React29 = __toESM(require("react"));
@@ -4183,7 +4295,7 @@ var CardFooter = React30.forwardRef(
4183
4295
  ) : null,
4184
4296
  trailing !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex shrink-0 items-center justify-end", children: trailing }) : null
4185
4297
  ] }) : null,
4186
- mounted && hasRows ? (0, import_react_dom.createPortal)(
4298
+ mounted && hasRows ? (0, import_react_dom2.createPortal)(
4187
4299
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4188
4300
  "div",
4189
4301
  {
@@ -4331,7 +4443,7 @@ CardHeader.displayName = "CardHeader";
4331
4443
 
4332
4444
  // virtual-pkg:src/molecules/Combobox/Combobox.tsx
4333
4445
  var React32 = __toESM(require("react"));
4334
- var import_react_dom2 = require("react-dom");
4446
+ var import_react_dom3 = require("react-dom");
4335
4447
  var import_jsx_runtime32 = require("react/jsx-runtime");
4336
4448
  var PANEL_GAP = 4;
4337
4449
  var VIEWPORT_MARGIN2 = 8;
@@ -4601,7 +4713,7 @@ var Combobox = React32.forwardRef(
4601
4713
  ]
4602
4714
  }
4603
4715
  ),
4604
- (0, import_react_dom2.createPortal)(
4716
+ (0, import_react_dom3.createPortal)(
4605
4717
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4606
4718
  "div",
4607
4719
  {
@@ -4680,7 +4792,7 @@ Combobox.displayName = "Combobox";
4680
4792
 
4681
4793
  // virtual-pkg:src/molecules/DatePickerInput/DatePickerInput.tsx
4682
4794
  var React33 = __toESM(require("react"));
4683
- var import_react_dom3 = require("react-dom");
4795
+ var import_react_dom4 = require("react-dom");
4684
4796
  var import_jsx_runtime33 = require("react/jsx-runtime");
4685
4797
  var MONTHS = [
4686
4798
  "January",
@@ -4910,7 +5022,7 @@ var DatePickerInput = React33.forwardRef(
4910
5022
  ]
4911
5023
  }
4912
5024
  ) : null,
4913
- (0, import_react_dom3.createPortal)(
5025
+ (0, import_react_dom4.createPortal)(
4914
5026
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
4915
5027
  "div",
4916
5028
  {
@@ -5016,7 +5128,7 @@ DatePickerInput.displayName = "DatePickerInput";
5016
5128
 
5017
5129
  // virtual-pkg:src/molecules/Dropdown/Dropdown.tsx
5018
5130
  var React34 = __toESM(require("react"));
5019
- var import_react_dom4 = require("react-dom");
5131
+ var import_react_dom5 = require("react-dom");
5020
5132
  var import_jsx_runtime34 = require("react/jsx-runtime");
5021
5133
  var PANEL_GAP3 = 4;
5022
5134
  var VIEWPORT_MARGIN4 = 8;
@@ -5209,7 +5321,7 @@ var Dropdown = React34.forwardRef(
5209
5321
  children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: selectedOption ? "text-ink" : "text-muted", children: selectedOption ? selectedOption.label : placeholder })
5210
5322
  }
5211
5323
  ),
5212
- (0, import_react_dom4.createPortal)(
5324
+ (0, import_react_dom5.createPortal)(
5213
5325
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5214
5326
  "div",
5215
5327
  {
@@ -6740,7 +6852,7 @@ TableRow.displayName = "TableRow";
6740
6852
 
6741
6853
  // virtual-pkg:src/molecules/TaskBoardCard/TaskBoardCard.tsx
6742
6854
  var React44 = __toESM(require("react"));
6743
- var import_react_dom5 = require("react-dom");
6855
+ var import_react_dom6 = require("react-dom");
6744
6856
  var import_jsx_runtime44 = require("react/jsx-runtime");
6745
6857
  var DUE_TONE = {
6746
6858
  default: "text-muted",
@@ -6977,7 +7089,7 @@ var TaskBoardCard = React44.forwardRef(
6977
7089
  card.assignee ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Avatar, { size: "xs", name: card.assignee.name, src: card.assignee.src }) : null
6978
7090
  ] })
6979
7091
  ] }),
6980
- (0, import_react_dom5.createPortal)(
7092
+ (0, import_react_dom6.createPortal)(
6981
7093
  /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
6982
7094
  "div",
6983
7095
  {
@@ -7258,7 +7370,7 @@ Accordion.displayName = "Accordion";
7258
7370
 
7259
7371
  // virtual-pkg:src/organisms/Card/Card.tsx
7260
7372
  var React47 = __toESM(require("react"));
7261
- var import_react_dom6 = require("react-dom");
7373
+ var import_react_dom7 = require("react-dom");
7262
7374
  var import_jsx_runtime47 = require("react/jsx-runtime");
7263
7375
  var MENU_GAP2 = 6;
7264
7376
  var VIEWPORT_MARGIN6 = 8;
@@ -7463,7 +7575,7 @@ var Card = React47.forwardRef(
7463
7575
  }
7464
7576
  ) })
7465
7577
  ] }) : null,
7466
- mounted ? (0, import_react_dom6.createPortal)(
7578
+ mounted ? (0, import_react_dom7.createPortal)(
7467
7579
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7468
7580
  "div",
7469
7581
  {
@@ -7672,7 +7784,7 @@ Carousel.displayName = "Carousel";
7672
7784
 
7673
7785
  // virtual-pkg:src/organisms/ChatWindow/ChatWindow.tsx
7674
7786
  var React49 = __toESM(require("react"));
7675
- var import_react_dom7 = require("react-dom");
7787
+ var import_react_dom8 = require("react-dom");
7676
7788
  var import_jsx_runtime49 = require("react/jsx-runtime");
7677
7789
  var cn33 = (...parts) => parts.filter(Boolean).join(" ");
7678
7790
  var ASSISTANT_ACTIONS = [
@@ -7686,6 +7798,7 @@ var MAX_COMPOSER_ROWS = 6;
7686
7798
  var ChatWindow = React49.forwardRef(
7687
7799
  ({
7688
7800
  variant = "channel",
7801
+ chrome = "card",
7689
7802
  channelName = "Project Kickoff",
7690
7803
  title,
7691
7804
  subtitle,
@@ -7715,6 +7828,7 @@ var ChatWindow = React49.forwardRef(
7715
7828
  const [reactions, setReactions] = React49.useState({});
7716
7829
  const [selectedMode, setSelectedMode] = React49.useState("");
7717
7830
  const isAssistant = variant === "assistant";
7831
+ const isFlush = chrome === "none";
7718
7832
  const heading = (isAssistant ? title ?? channelName : channelName) || channelName;
7719
7833
  const threadLabel = "Conversation in " + heading;
7720
7834
  const placeholder = "Message " + heading;
@@ -7829,7 +7943,8 @@ var ChatWindow = React49.forwardRef(
7829
7943
  {
7830
7944
  ref,
7831
7945
  className: cn33(
7832
- "flex w-full flex-col overflow-hidden rounded-lg border border-hairline bg-surface shadow-card",
7946
+ "flex w-full flex-col overflow-hidden",
7947
+ isFlush ? "h-full" : "rounded-lg border border-hairline bg-surface shadow-card",
7833
7948
  className
7834
7949
  ),
7835
7950
  ...rest,
@@ -8238,7 +8353,7 @@ var ChatWindow = React49.forwardRef(
8238
8353
  ]
8239
8354
  }
8240
8355
  ),
8241
- hasTitleMenu ? (0, import_react_dom7.createPortal)(
8356
+ hasTitleMenu ? (0, import_react_dom8.createPortal)(
8242
8357
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
8243
8358
  "div",
8244
8359
  {
@@ -10581,7 +10696,7 @@ DateRangePicker.displayName = "DateRangePicker";
10581
10696
 
10582
10697
  // virtual-pkg:src/organisms/Drawer/Drawer.tsx
10583
10698
  var React55 = __toESM(require("react"));
10584
- var import_react_dom8 = require("react-dom");
10699
+ var import_react_dom9 = require("react-dom");
10585
10700
  var import_jsx_runtime55 = require("react/jsx-runtime");
10586
10701
  var cn39 = (...parts) => parts.filter(Boolean).join(" ");
10587
10702
  var Drawer = React55.forwardRef(
@@ -10741,9 +10856,9 @@ var Drawer = React55.forwardRef(
10741
10856
  ]
10742
10857
  }
10743
10858
  );
10744
- if (embedded) return (0, import_react_dom8.createPortal)(overlay, container);
10859
+ if (embedded) return (0, import_react_dom9.createPortal)(overlay, container);
10745
10860
  if (typeof document === "undefined") return null;
10746
- return (0, import_react_dom8.createPortal)(overlay, document.body);
10861
+ return (0, import_react_dom9.createPortal)(overlay, document.body);
10747
10862
  }
10748
10863
  );
10749
10864
  Drawer.displayName = "Drawer";
@@ -11911,7 +12026,7 @@ HeroSection.displayName = "HeroSection";
11911
12026
 
11912
12027
  // virtual-pkg:src/organisms/Modal/Modal.tsx
11913
12028
  var React63 = __toESM(require("react"));
11914
- var import_react_dom9 = require("react-dom");
12029
+ var import_react_dom10 = require("react-dom");
11915
12030
  var import_jsx_runtime63 = require("react/jsx-runtime");
11916
12031
  var cn47 = (...parts) => parts.filter(Boolean).join(" ");
11917
12032
  var sizeClasses6 = {
@@ -12109,9 +12224,9 @@ var Modal = React63.forwardRef(
12109
12224
  ]
12110
12225
  }
12111
12226
  );
12112
- if (embedded) return (0, import_react_dom9.createPortal)(overlay, portalTarget);
12227
+ if (embedded) return (0, import_react_dom10.createPortal)(overlay, portalTarget);
12113
12228
  if (typeof document === "undefined") return null;
12114
- return (0, import_react_dom9.createPortal)(overlay, document.body);
12229
+ return (0, import_react_dom10.createPortal)(overlay, document.body);
12115
12230
  }
12116
12231
  );
12117
12232
  Modal.displayName = "Modal";
@@ -12121,7 +12236,7 @@ var React66 = __toESM(require("react"));
12121
12236
 
12122
12237
  // virtual-pkg:src/organisms/NavbarDesktop/NavbarDesktop.tsx
12123
12238
  var React64 = __toESM(require("react"));
12124
- var import_react_dom10 = require("react-dom");
12239
+ var import_react_dom11 = require("react-dom");
12125
12240
  var import_jsx_runtime64 = require("react/jsx-runtime");
12126
12241
  var DEFAULT_TABS = [
12127
12242
  { id: "home", label: "Home", href: "#home" },
@@ -12379,7 +12494,7 @@ var NavbarDesktop = React64.forwardRef(
12379
12494
  )
12380
12495
  ] })
12381
12496
  ] }),
12382
- (0, import_react_dom10.createPortal)(
12497
+ (0, import_react_dom11.createPortal)(
12383
12498
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
12384
12499
  "div",
12385
12500
  {
@@ -12446,7 +12561,7 @@ NavbarDesktop.displayName = "NavbarDesktop";
12446
12561
 
12447
12562
  // virtual-pkg:src/organisms/NavbarMobile/NavbarMobile.tsx
12448
12563
  var React65 = __toESM(require("react"));
12449
- var import_react_dom11 = require("react-dom");
12564
+ var import_react_dom12 = require("react-dom");
12450
12565
  var import_jsx_runtime65 = require("react/jsx-runtime");
12451
12566
  var DEFAULT_ITEMS = [
12452
12567
  { id: "home", label: "Home", icon: "house", href: "#home" },
@@ -12733,7 +12848,7 @@ var NavbarMobile = React65.forwardRef(
12733
12848
  }
12734
12849
  )
12735
12850
  ] }),
12736
- (0, import_react_dom11.createPortal)(
12851
+ (0, import_react_dom12.createPortal)(
12737
12852
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
12738
12853
  "div",
12739
12854
  {
@@ -12913,7 +13028,7 @@ var React69 = __toESM(require("react"));
12913
13028
 
12914
13029
  // virtual-pkg:src/organisms/NavigationMenuDesktop/NavigationMenuDesktop.tsx
12915
13030
  var React67 = __toESM(require("react"));
12916
- var import_react_dom12 = require("react-dom");
13031
+ var import_react_dom13 = require("react-dom");
12917
13032
  var import_jsx_runtime67 = require("react/jsx-runtime");
12918
13033
  var DEFAULT_NAV = [
12919
13034
  {
@@ -13263,7 +13378,7 @@ var NavigationMenuDesktop = React67.forwardRef(
13263
13378
  ]
13264
13379
  }
13265
13380
  ) }),
13266
- (0, import_react_dom12.createPortal)(
13381
+ (0, import_react_dom13.createPortal)(
13267
13382
  /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
13268
13383
  "div",
13269
13384
  {
@@ -13379,7 +13494,7 @@ NavigationMenuDesktop.displayName = "NavigationMenuDesktop";
13379
13494
 
13380
13495
  // virtual-pkg:src/organisms/NavigationMenuMobile/NavigationMenuMobile.tsx
13381
13496
  var React68 = __toESM(require("react"));
13382
- var import_react_dom13 = require("react-dom");
13497
+ var import_react_dom14 = require("react-dom");
13383
13498
  var import_jsx_runtime68 = require("react/jsx-runtime");
13384
13499
  var DEFAULT_ITEMS2 = [
13385
13500
  {
@@ -13729,7 +13844,7 @@ var NavigationMenuMobile = React68.forwardRef(
13729
13844
  ]
13730
13845
  }
13731
13846
  ),
13732
- (0, import_react_dom13.createPortal)(
13847
+ (0, import_react_dom14.createPortal)(
13733
13848
  /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
13734
13849
  "div",
13735
13850
  {
@@ -16171,7 +16286,7 @@ SidebarDesktop.displayName = "SidebarDesktop";
16171
16286
 
16172
16287
  // virtual-pkg:src/organisms/SidebarMobile/SidebarMobile.tsx
16173
16288
  var React78 = __toESM(require("react"));
16174
- var import_react_dom14 = require("react-dom");
16289
+ var import_react_dom15 = require("react-dom");
16175
16290
  var import_jsx_runtime78 = require("react/jsx-runtime");
16176
16291
  var cn62 = (...parts) => parts.filter(Boolean).join(" ");
16177
16292
  var DEFAULT_WORKSPACES2 = [
@@ -16650,7 +16765,7 @@ var SidebarMobile = React78.forwardRef(
16650
16765
  ...rest,
16651
16766
  children: [
16652
16767
  bar,
16653
- hasOpened ? (0, import_react_dom14.createPortal)(
16768
+ hasOpened ? (0, import_react_dom15.createPortal)(
16654
16769
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
16655
16770
  "div",
16656
16771
  {
@@ -17810,7 +17925,7 @@ Wizard.displayName = "Wizard";
17810
17925
 
17811
17926
  // virtual-pkg:src/templates/TaskBoardTemplate/TaskBoardTemplate.tsx
17812
17927
  var React87 = __toESM(require("react"));
17813
- var import_react_dom15 = require("react-dom");
17928
+ var import_react_dom16 = require("react-dom");
17814
17929
  var import_jsx_runtime87 = require("react/jsx-runtime");
17815
17930
  var VIEW_OPTIONS = [
17816
17931
  { value: "tasks", label: "Tasks" },
@@ -18214,7 +18329,7 @@ var TaskBoardTemplate = React87.forwardRef(
18214
18329
  }
18215
18330
  ) })
18216
18331
  ] }),
18217
- typeof document !== "undefined" ? (0, import_react_dom15.createPortal)(
18332
+ typeof document !== "undefined" ? (0, import_react_dom16.createPortal)(
18218
18333
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
18219
18334
  "div",
18220
18335
  {