@flamingo-stack/openframe-frontend-core 0.0.526 → 0.0.527-snapshot.20260810123324
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/{chunk-MQRAQNAR.js → chunk-2BJE6RJL.js} +2 -2
- package/dist/{chunk-HBIRPADQ.js → chunk-2CINL7LX.js} +2 -2
- package/dist/{chunk-PBQT3IWK.cjs → chunk-A4L6WECD.cjs} +87 -87
- package/dist/{chunk-PBQT3IWK.cjs.map → chunk-A4L6WECD.cjs.map} +1 -1
- package/dist/{chunk-5IWPP3RL.cjs → chunk-BNZZW22T.cjs} +4 -4
- package/dist/{chunk-5IWPP3RL.cjs.map → chunk-BNZZW22T.cjs.map} +1 -1
- package/dist/{chunk-R7EKC7AZ.js → chunk-CEW75UG3.js} +6 -6
- package/dist/{chunk-GG6YOGVH.js → chunk-DMZEPDVA.js} +2 -2
- package/dist/{chunk-7JA7OJFV.cjs → chunk-GXHLS4BG.cjs} +26 -26
- package/dist/{chunk-7JA7OJFV.cjs.map → chunk-GXHLS4BG.cjs.map} +1 -1
- package/dist/{chunk-O7D5WD7C.js → chunk-HPD7C5HN.js} +2 -2
- package/dist/{chunk-4U7VWPYB.js → chunk-ILAQ6JAP.js} +125 -63
- package/dist/chunk-ILAQ6JAP.js.map +1 -0
- package/dist/{chunk-Y5QKF6OV.cjs → chunk-J3F2MKEN.cjs} +125 -63
- package/dist/chunk-J3F2MKEN.cjs.map +1 -0
- package/dist/{chunk-MGQPOPVP.js → chunk-JNCGKJAQ.js} +2 -2
- package/dist/{chunk-V7QM26BZ.cjs → chunk-JUYDVY52.cjs} +7 -7
- package/dist/{chunk-V7QM26BZ.cjs.map → chunk-JUYDVY52.cjs.map} +1 -1
- package/dist/{chunk-K3PJVHEN.js → chunk-L5FCJQV5.js} +4 -4
- package/dist/{chunk-EG2DNJND.cjs → chunk-LHIHJY7R.cjs} +37 -37
- package/dist/{chunk-EG2DNJND.cjs.map → chunk-LHIHJY7R.cjs.map} +1 -1
- package/dist/{chunk-45SKPFZV.cjs → chunk-M2FDNO7X.cjs} +31 -31
- package/dist/{chunk-45SKPFZV.cjs.map → chunk-M2FDNO7X.cjs.map} +1 -1
- package/dist/{chunk-2QLJL5F3.js → chunk-M776O7UE.js} +2 -2
- package/dist/{chunk-LRMEMIP2.cjs → chunk-NKS47IL3.cjs} +26 -26
- package/dist/{chunk-LRMEMIP2.cjs.map → chunk-NKS47IL3.cjs.map} +1 -1
- package/dist/{chunk-LAV2PJTG.js → chunk-PIVTJ6ON.js} +2 -2
- package/dist/{chunk-7LQH4E67.cjs → chunk-Q5VC7YZB.cjs} +5 -5
- package/dist/{chunk-7LQH4E67.cjs.map → chunk-Q5VC7YZB.cjs.map} +1 -1
- package/dist/{chunk-V2KE4GUJ.cjs → chunk-QIDOKHTY.cjs} +9 -9
- package/dist/{chunk-V2KE4GUJ.cjs.map → chunk-QIDOKHTY.cjs.map} +1 -1
- package/dist/{chunk-YLUIDGNP.js → chunk-R36QWZH7.js} +4 -4
- package/dist/{chunk-QWHZT5XR.cjs → chunk-RAPSFNOB.cjs} +11 -11
- package/dist/{chunk-QWHZT5XR.cjs.map → chunk-RAPSFNOB.cjs.map} +1 -1
- package/dist/{chunk-USOVNTME.js → chunk-RNSH2XXF.js} +5 -5
- package/dist/{chunk-ZWWMMB7Q.js → chunk-UPNHXQCV.js} +2 -2
- package/dist/{chunk-R4KS2O47.cjs → chunk-VTQMYRTR.cjs} +3 -3
- package/dist/{chunk-R4KS2O47.cjs.map → chunk-VTQMYRTR.cjs.map} +1 -1
- package/dist/{chunk-EIDXGILD.js → chunk-Y22BJ35V.js} +2 -2
- package/dist/{chunk-2CG423QM.cjs → chunk-Y667ZH35.cjs} +14 -14
- package/dist/{chunk-2CG423QM.cjs.map → chunk-Y667ZH35.cjs.map} +1 -1
- package/dist/{chunk-BHOU44EM.cjs → chunk-ZDKZA5SX.cjs} +61 -61
- package/dist/{chunk-BHOU44EM.cjs.map → chunk-ZDKZA5SX.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/board/index.d.ts +1 -1
- package/dist/components/features/board/index.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +18 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +132 -132
- package/dist/components/index.js +11 -11
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/board/index.ts +2 -0
- package/src/components/features/board/ticket-card.tsx +24 -2
- package/src/components/features/board/types.ts +20 -0
- package/src/components/ui/alert-dialog.tsx +10 -1
- package/src/components/ui/dialog.tsx +24 -2
- package/src/components/ui/modal-v2.tsx +24 -2
- package/src/stories/TicketCard.stories.tsx +39 -0
- package/dist/chunk-4U7VWPYB.js.map +0 -1
- package/dist/chunk-Y5QKF6OV.cjs.map +0 -1
- /package/dist/{chunk-MQRAQNAR.js.map → chunk-2BJE6RJL.js.map} +0 -0
- /package/dist/{chunk-HBIRPADQ.js.map → chunk-2CINL7LX.js.map} +0 -0
- /package/dist/{chunk-R7EKC7AZ.js.map → chunk-CEW75UG3.js.map} +0 -0
- /package/dist/{chunk-GG6YOGVH.js.map → chunk-DMZEPDVA.js.map} +0 -0
- /package/dist/{chunk-O7D5WD7C.js.map → chunk-HPD7C5HN.js.map} +0 -0
- /package/dist/{chunk-MGQPOPVP.js.map → chunk-JNCGKJAQ.js.map} +0 -0
- /package/dist/{chunk-K3PJVHEN.js.map → chunk-L5FCJQV5.js.map} +0 -0
- /package/dist/{chunk-2QLJL5F3.js.map → chunk-M776O7UE.js.map} +0 -0
- /package/dist/{chunk-LAV2PJTG.js.map → chunk-PIVTJ6ON.js.map} +0 -0
- /package/dist/{chunk-YLUIDGNP.js.map → chunk-R36QWZH7.js.map} +0 -0
- /package/dist/{chunk-USOVNTME.js.map → chunk-RNSH2XXF.js.map} +0 -0
- /package/dist/{chunk-ZWWMMB7Q.js.map → chunk-UPNHXQCV.js.map} +0 -0
- /package/dist/{chunk-EIDXGILD.js.map → chunk-Y22BJ35V.js.map} +0 -0
|
@@ -137,6 +137,7 @@ import {
|
|
|
137
137
|
Chevrons03LeftIcon,
|
|
138
138
|
ClickupLogoGreyIcon,
|
|
139
139
|
ClockHistoryIcon,
|
|
140
|
+
ClockIcon,
|
|
140
141
|
CodeIcon,
|
|
141
142
|
CodingCommitIcon,
|
|
142
143
|
CodingPullRequestIcon,
|
|
@@ -10867,62 +10868,76 @@ var Modal = React26.forwardRef(
|
|
|
10867
10868
|
}, [isOpen, onClose]);
|
|
10868
10869
|
if (!isMounted) return null;
|
|
10869
10870
|
const state = isOpen ? "open" : "closed";
|
|
10870
|
-
return /* @__PURE__ */ jsx57(RemoveScroll, { enabled: isOpen, removeScrollBar: false, children: /* @__PURE__ */ jsxs46(
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
"
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
panelRef.current = node;
|
|
10894
|
-
if (typeof ref === "function") ref(node);
|
|
10895
|
-
else if (ref) ref.current = node;
|
|
10896
|
-
},
|
|
10897
|
-
tabIndex: -1,
|
|
10898
|
-
"data-state": state,
|
|
10899
|
-
className: cn(
|
|
10900
|
-
// min() keeps the desktop cap at 28rem while never letting content
|
|
10901
|
-
// stretch the panel past the viewport (minus the mx-4 margins) on
|
|
10902
|
-
// narrow screens. A single base utility (not md:max-w-md) so consumer
|
|
10903
|
-
// max-w-* overrides via className still win at every breakpoint.
|
|
10904
|
-
"relative z-10 w-full min-w-0 max-w-[min(28rem,calc(100vw-2rem))] flex flex-col",
|
|
10905
|
-
"mx-4 mb-4 md:mb-0",
|
|
10906
|
-
"max-h-[90vh]",
|
|
10907
|
-
"bg-ods-bg md:bg-ods-card",
|
|
10908
|
-
"border border-ods-border rounded-md shadow-xl",
|
|
10909
|
-
"p-[var(--spacing-system-xl)] gap-[var(--spacing-system-l)]",
|
|
10910
|
-
"duration-200 fill-mode-forwards",
|
|
10911
|
-
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
10912
|
-
"data-[state=open]:slide-in-from-bottom-4 md:data-[state=open]:slide-in-from-bottom-0 md:data-[state=open]:zoom-in-95",
|
|
10913
|
-
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
10914
|
-
"data-[state=closed]:slide-out-to-bottom-4 md:data-[state=closed]:slide-out-to-bottom-0 md:data-[state=closed]:zoom-out-95",
|
|
10915
|
-
// Hold the hidden end-state until unmount so the panel doesn't snap
|
|
10916
|
-
// back to opacity/scale 1 for a frame before it unmounts.
|
|
10917
|
-
"data-[state=closed]:fill-mode-forwards",
|
|
10918
|
-
className
|
|
10871
|
+
return /* @__PURE__ */ jsx57(RemoveScroll, { enabled: isOpen, removeScrollBar: false, children: /* @__PURE__ */ jsxs46(
|
|
10872
|
+
"div",
|
|
10873
|
+
{
|
|
10874
|
+
className: "fixed inset-0 z-[1300] flex items-end md:items-center justify-center transition-[padding] duration-200",
|
|
10875
|
+
style: { paddingBottom: "var(--of-keyboard-inset, 0px)" },
|
|
10876
|
+
children: [
|
|
10877
|
+
/* @__PURE__ */ jsx57(
|
|
10878
|
+
"div",
|
|
10879
|
+
{
|
|
10880
|
+
"data-state": state,
|
|
10881
|
+
className: cn(
|
|
10882
|
+
"absolute inset-0 bg-ods-overlay backdrop-blur-[2px] md:backdrop-blur-none",
|
|
10883
|
+
"duration-200 fill-mode-forwards",
|
|
10884
|
+
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
10885
|
+
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
10886
|
+
// Hold the hidden end-state until unmount so the backdrop doesn't
|
|
10887
|
+
// flash back to full opacity when the animation finishes a frame
|
|
10888
|
+
// before the unmount timeout fires.
|
|
10889
|
+
"data-[state=closed]:fill-mode-forwards"
|
|
10890
|
+
),
|
|
10891
|
+
onClick: onClose,
|
|
10892
|
+
"aria-hidden": "true"
|
|
10893
|
+
}
|
|
10919
10894
|
),
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10895
|
+
/* @__PURE__ */ jsx57(
|
|
10896
|
+
"div",
|
|
10897
|
+
{
|
|
10898
|
+
ref: (node) => {
|
|
10899
|
+
panelRef.current = node;
|
|
10900
|
+
if (typeof ref === "function") ref(node);
|
|
10901
|
+
else if (ref) ref.current = node;
|
|
10902
|
+
},
|
|
10903
|
+
tabIndex: -1,
|
|
10904
|
+
"data-state": state,
|
|
10905
|
+
className: cn(
|
|
10906
|
+
// min() keeps the desktop cap at 28rem while never letting content
|
|
10907
|
+
// stretch the panel past the viewport (minus the mx-4 margins) on
|
|
10908
|
+
// narrow screens. A single base utility (not md:max-w-md) so consumer
|
|
10909
|
+
// max-w-* overrides via className still win at every breakpoint.
|
|
10910
|
+
"relative z-10 w-full min-w-0 max-w-[min(28rem,calc(100vw-2rem))] flex flex-col",
|
|
10911
|
+
"mx-4 mb-4 md:mb-0",
|
|
10912
|
+
// dvh, not vh: vh ignores a mobile browser's retracting URL bar, so
|
|
10913
|
+
// 90vh already overflowed behind Safari's toolbar. The `100%-2rem`
|
|
10914
|
+
// arm resolves against the keyboard-padded wrapper above and caps
|
|
10915
|
+
// the panel to what's left of it, less the 1rem `mb-4` and a
|
|
10916
|
+
// matching 1rem of breathing room at the top — header and footer
|
|
10917
|
+
// stay pinned, ModalV2Content scrolls. min() picks 90dvh on any
|
|
10918
|
+
// viewport over 320px tall, so desktop is untouched.
|
|
10919
|
+
"max-h-[min(90dvh,100%-2rem)]",
|
|
10920
|
+
"bg-ods-bg md:bg-ods-card",
|
|
10921
|
+
"border border-ods-border rounded-md shadow-xl",
|
|
10922
|
+
"p-[var(--spacing-system-xl)] gap-[var(--spacing-system-l)]",
|
|
10923
|
+
"duration-200 fill-mode-forwards",
|
|
10924
|
+
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
10925
|
+
"data-[state=open]:slide-in-from-bottom-4 md:data-[state=open]:slide-in-from-bottom-0 md:data-[state=open]:zoom-in-95",
|
|
10926
|
+
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
10927
|
+
"data-[state=closed]:slide-out-to-bottom-4 md:data-[state=closed]:slide-out-to-bottom-0 md:data-[state=closed]:zoom-out-95",
|
|
10928
|
+
// Hold the hidden end-state until unmount so the panel doesn't snap
|
|
10929
|
+
// back to opacity/scale 1 for a frame before it unmounts.
|
|
10930
|
+
"data-[state=closed]:fill-mode-forwards",
|
|
10931
|
+
className
|
|
10932
|
+
),
|
|
10933
|
+
role: "dialog",
|
|
10934
|
+
"aria-modal": "true",
|
|
10935
|
+
children: /* @__PURE__ */ jsx57(ModalContext.Provider, { value: { onClose }, children })
|
|
10936
|
+
}
|
|
10937
|
+
)
|
|
10938
|
+
]
|
|
10939
|
+
}
|
|
10940
|
+
) });
|
|
10926
10941
|
}
|
|
10927
10942
|
);
|
|
10928
10943
|
Modal.displayName = "ModalV2";
|
|
@@ -21311,7 +21326,16 @@ var AlertDialogContent = React67.forwardRef(({ className, ...props }, ref) => /*
|
|
|
21311
21326
|
{
|
|
21312
21327
|
ref,
|
|
21313
21328
|
className: cn(
|
|
21314
|
-
|
|
21329
|
+
// Centered on the KEYBOARD-FREE area, not the layout viewport: nothing
|
|
21330
|
+
// resizes the viewport when a mobile software keyboard opens, so a
|
|
21331
|
+
// plain top-[50%] leaves the lower half of the dialog behind it. The
|
|
21332
|
+
// max-height keeps that upward shift from pushing the top off-screen.
|
|
21333
|
+
// See modal-v2.tsx for the full reasoning; --of-keyboard-inset is
|
|
21334
|
+
// published by the app (keyboard-inset.ts) and 0 everywhere else.
|
|
21335
|
+
// Content scrolls directly here, where DialogContent has to hand that
|
|
21336
|
+
// job to a wrapper: this Content has no absolutely-positioned close
|
|
21337
|
+
// button for a scroll container to carry off the top.
|
|
21338
|
+
"fixed left-[50%] top-[calc(50%_-_var(--of-keyboard-inset,0px)/2)] z-50 grid w-full max-w-lg max-h-[calc(100dvh_-_var(--of-keyboard-inset,0px)_-_2rem)] overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-[var(--spacing-system-mf)] border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 md:rounded-lg",
|
|
21315
21339
|
className
|
|
21316
21340
|
),
|
|
21317
21341
|
...props
|
|
@@ -21421,12 +21445,31 @@ var DialogContent = React68.forwardRef(({ className, children, ...props }, ref)
|
|
|
21421
21445
|
{
|
|
21422
21446
|
ref,
|
|
21423
21447
|
className: cn(
|
|
21424
|
-
|
|
21448
|
+
// Centered on the KEYBOARD-FREE area, not the layout viewport: nothing
|
|
21449
|
+
// resizes the viewport when a mobile software keyboard opens, so a
|
|
21450
|
+
// plain top-[50%] leaves the lower half of the dialog behind it. See
|
|
21451
|
+
// modal-v2.tsx for the full reasoning; --of-keyboard-inset is published
|
|
21452
|
+
// by the app (keyboard-inset.ts) and 0 everywhere else.
|
|
21453
|
+
//
|
|
21454
|
+
// The cap is on THIS box but the scrolling is not: the close button
|
|
21455
|
+
// below is `absolute` against it, so a scroll container here would
|
|
21456
|
+
// carry the X off the top. The wrapper around `children` scrolls
|
|
21457
|
+
// instead, and carries the section gap that used to sit here so
|
|
21458
|
+
// header/body/footer keep their spacing.
|
|
21459
|
+
//
|
|
21460
|
+
// `grid-rows-[minmax(0,1fr)]` is what makes the cap bite. An implicit
|
|
21461
|
+
// row track is `auto`-sized, so it grows to its content and overflows
|
|
21462
|
+
// the max-height no matter what min-height the wrapper carries —
|
|
21463
|
+
// measured at 1136px of rows inside an 843px box. Constraining the
|
|
21464
|
+
// track is what hands the wrapper a scrollbar; `1fr` still collapses to
|
|
21465
|
+
// max-content when the dialog is shorter than the cap, so short dialogs
|
|
21466
|
+
// keep hugging their content.
|
|
21467
|
+
"fixed left-[50%] top-[calc(50%_-_var(--of-keyboard-inset,0px)/2)] z-[9999] grid grid-rows-[minmax(0,1fr)] w-full max-w-lg max-h-[calc(100dvh_-_var(--of-keyboard-inset,0px)_-_2rem)] translate-x-[-50%] translate-y-[-50%] border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-1/2 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-1/2 md:rounded-lg",
|
|
21425
21468
|
className
|
|
21426
21469
|
),
|
|
21427
21470
|
...props,
|
|
21428
21471
|
children: [
|
|
21429
|
-
children,
|
|
21472
|
+
/* @__PURE__ */ jsx141("div", { className: "grid min-h-0 gap-[var(--spacing-system-mf)] overflow-y-auto", children }),
|
|
21430
21473
|
/* @__PURE__ */ jsxs110(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
21431
21474
|
/* @__PURE__ */ jsx141(X3, { className: "h-4 w-4" }),
|
|
21432
21475
|
/* @__PURE__ */ jsx141("span", { className: "sr-only", children: "Close" })
|
|
@@ -23603,7 +23646,7 @@ var ExternalLinkIcon2 = () => /* @__PURE__ */ jsxs124("svg", { width: "16", heig
|
|
|
23603
23646
|
/* @__PURE__ */ jsx161("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
23604
23647
|
] });
|
|
23605
23648
|
var ArrowUpIcon = () => /* @__PURE__ */ jsx161("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx161("polyline", { points: "18,15 12,9 6,15" }) });
|
|
23606
|
-
var
|
|
23649
|
+
var ClockIcon2 = () => /* @__PURE__ */ jsxs124("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
23607
23650
|
/* @__PURE__ */ jsx161("circle", { cx: "12", cy: "12", r: "10" }),
|
|
23608
23651
|
/* @__PURE__ */ jsx161("polyline", { points: "12,6 12,12 16,14" })
|
|
23609
23652
|
] });
|
|
@@ -23876,7 +23919,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
23876
23919
|
"u/",
|
|
23877
23920
|
redditData.author
|
|
23878
23921
|
] }),
|
|
23879
|
-
/* @__PURE__ */ jsx161(
|
|
23922
|
+
/* @__PURE__ */ jsx161(ClockIcon2, {}),
|
|
23880
23923
|
/* @__PURE__ */ jsx161("span", { children: formatTimeAgo(redditData.created_utc) })
|
|
23881
23924
|
] })
|
|
23882
23925
|
] })
|
|
@@ -23947,7 +23990,7 @@ var RepeatIcon = () => /* @__PURE__ */ jsxs125("svg", { width: "16", height: "16
|
|
|
23947
23990
|
/* @__PURE__ */ jsx162("polyline", { points: "7,23 3,19 7,15" }),
|
|
23948
23991
|
/* @__PURE__ */ jsx162("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })
|
|
23949
23992
|
] });
|
|
23950
|
-
var
|
|
23993
|
+
var ClockIcon3 = () => /* @__PURE__ */ jsxs125("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
23951
23994
|
/* @__PURE__ */ jsx162("circle", { cx: "12", cy: "12", r: "10" }),
|
|
23952
23995
|
/* @__PURE__ */ jsx162("polyline", { points: "12,6 12,12 16,14" })
|
|
23953
23996
|
] });
|
|
@@ -24069,7 +24112,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
|
|
|
24069
24112
|
/* @__PURE__ */ jsxs125("div", { className: "flex items-center space-x-2 text-ods-text-secondary text-h6", children: [
|
|
24070
24113
|
/* @__PURE__ */ jsx162(UserIcon4, {}),
|
|
24071
24114
|
/* @__PURE__ */ jsx162("span", { children: tweetData.author_name }),
|
|
24072
|
-
/* @__PURE__ */ jsx162(
|
|
24115
|
+
/* @__PURE__ */ jsx162(ClockIcon3, {}),
|
|
24073
24116
|
/* @__PURE__ */ jsx162("span", { children: formatTime2() })
|
|
24074
24117
|
] })
|
|
24075
24118
|
] })
|
|
@@ -39553,6 +39596,12 @@ var PRIORITY_COLOR_CLASS = {
|
|
|
39553
39596
|
};
|
|
39554
39597
|
var MAX_VISIBLE_TAGS = 2;
|
|
39555
39598
|
var MAX_VISIBLE_ASSIGNEES = 3;
|
|
39599
|
+
var ACTIVITY_DEFAULT_LABEL = {
|
|
39600
|
+
"ai-working": "AI assistant is working",
|
|
39601
|
+
"user-typing": "User typing",
|
|
39602
|
+
"waiting-external": "Waiting for client response",
|
|
39603
|
+
stale: "No activity"
|
|
39604
|
+
};
|
|
39556
39605
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
39557
39606
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
39558
39607
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
@@ -39610,6 +39659,19 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
39610
39659
|
/* @__PURE__ */ jsx291(UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
39611
39660
|
/* @__PURE__ */ jsx291("span", { className: "truncate", children: "Escalated by User" })
|
|
39612
39661
|
] }),
|
|
39662
|
+
ticket.activity && /* @__PURE__ */ jsxs225(
|
|
39663
|
+
"div",
|
|
39664
|
+
{
|
|
39665
|
+
className: cn(
|
|
39666
|
+
"flex items-center gap-[var(--spacing-system-xxs)] text-h6",
|
|
39667
|
+
ticket.activity.kind === "stale" ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
39668
|
+
),
|
|
39669
|
+
children: [
|
|
39670
|
+
ticket.activity.kind === "stale" ? /* @__PURE__ */ jsx291(ClockIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ jsx291(DotsLoaderIcon, { className: "size-4 shrink-0" }),
|
|
39671
|
+
/* @__PURE__ */ jsx291("span", { className: "truncate", children: ticket.activity.label ?? ACTIVITY_DEFAULT_LABEL[ticket.activity.kind] })
|
|
39672
|
+
]
|
|
39673
|
+
}
|
|
39674
|
+
),
|
|
39613
39675
|
showNewMessage && /* @__PURE__ */ jsx291(
|
|
39614
39676
|
Tag,
|
|
39615
39677
|
{
|
|
@@ -62005,4 +62067,4 @@ export {
|
|
|
62005
62067
|
LogsList,
|
|
62006
62068
|
assets
|
|
62007
62069
|
};
|
|
62008
|
-
//# sourceMappingURL=chunk-
|
|
62070
|
+
//# sourceMappingURL=chunk-ILAQ6JAP.js.map
|