@flamingo-stack/openframe-frontend-core 0.0.222 → 0.0.223
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-AIKPR6BE.js → chunk-4VHWSAQR.js} +6069 -5235
- package/dist/chunk-4VHWSAQR.js.map +1 -0
- package/dist/{chunk-GMNE7P7V.cjs → chunk-4WBVMIKQ.cjs} +26 -26
- package/dist/{chunk-GMNE7P7V.cjs.map → chunk-4WBVMIKQ.cjs.map} +1 -1
- package/dist/{chunk-QYRV6MKX.js → chunk-53EA4QPZ.js} +13 -7
- package/dist/chunk-53EA4QPZ.js.map +1 -0
- package/dist/{chunk-4JOWZLEL.cjs → chunk-7TKYFZ3L.cjs} +7 -7
- package/dist/{chunk-4JOWZLEL.cjs.map → chunk-7TKYFZ3L.cjs.map} +1 -1
- package/dist/{chunk-IZA5WF44.cjs → chunk-ABBU7QOM.cjs} +12 -12
- package/dist/{chunk-IZA5WF44.cjs.map → chunk-ABBU7QOM.cjs.map} +1 -1
- package/dist/{chunk-KM4KK2A6.cjs → chunk-ENDUMC7Z.cjs} +2558 -1724
- package/dist/chunk-ENDUMC7Z.cjs.map +1 -0
- package/dist/{chunk-CCSEXVI4.js → chunk-GYYGA24C.js} +2 -2
- package/dist/{chunk-RMOHKAHA.js → chunk-ISWWP2BH.js} +3 -3
- package/dist/{chunk-QNYH3WUU.cjs → chunk-JUWPBMQM.cjs} +13 -7
- package/dist/chunk-JUWPBMQM.cjs.map +1 -0
- package/dist/{chunk-A2SFHYVF.cjs → chunk-KXLTWANQ.cjs} +10 -10
- package/dist/{chunk-A2SFHYVF.cjs.map → chunk-KXLTWANQ.cjs.map} +1 -1
- package/dist/{chunk-ND24XSVT.js → chunk-TA6Z2AKD.js} +3 -3
- package/dist/chunk-TA6Z2AKD.js.map +1 -0
- package/dist/{chunk-HRIAZQ5D.js → chunk-WOKB6RJ7.js} +3 -3
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-skeleton.d.ts +19 -4
- package/dist/components/chat/chat-message-skeleton.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-header-mobile.d.ts +24 -0
- package/dist/components/chat/chat-panel-header-mobile.d.ts.map +1 -0
- package/dist/components/chat/chat-panel-header.d.ts +6 -0
- package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
- package/dist/components/chat/chat-quick-action-row.d.ts +31 -0
- package/dist/components/chat/chat-quick-action-row.d.ts.map +1 -0
- package/dist/components/chat/embeddable-chat.d.ts +27 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts +14 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +10 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +9 -0
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-slash-commands.d.ts +26 -0
- package/dist/components/chat/hooks/use-slash-commands.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts +12 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts +12 -0
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +8 -2
- package/dist/components/chat/mingo-chat-history.d.ts +10 -0
- package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.d.ts +63 -0
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -0
- package/dist/components/chat/mingo-welcome.d.ts +14 -1
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/types/chat.types.d.ts +6 -0
- package/dist/components/chat/types/chat.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +30 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/index.cjs +110 -104
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +36 -30
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts +7 -0
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +26 -26
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +67 -67
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/actions-menu.d.ts +9 -0
- package/dist/components/ui/actions-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-button.d.ts +2 -2
- package/dist/components/ui/dropdown-button.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +9 -3
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +8 -2
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/more-actions-menu.d.ts +13 -0
- package/dist/components/ui/more-actions-menu.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.d.ts +4 -0
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/ui/use-auto-limit-tags.d.ts +7 -1
- package/dist/hooks/ui/use-auto-limit-tags.d.ts.map +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -2
- package/package.json +1 -1
- package/src/components/chat/chat-archive-page.tsx +32 -7
- package/src/components/chat/chat-composer.tsx +6 -2
- package/src/components/chat/chat-message-enhanced.tsx +24 -7
- package/src/components/chat/chat-message-list.tsx +1 -1
- package/src/components/chat/chat-message-skeleton.tsx +60 -60
- package/src/components/chat/chat-panel-header-mobile.tsx +94 -0
- package/src/components/chat/chat-panel-header.tsx +78 -50
- package/src/components/chat/chat-quick-action-row.tsx +146 -0
- package/src/components/chat/embeddable-chat.tsx +140 -45
- package/src/components/chat/entity-cards/dispatch.tsx +770 -232
- package/src/components/chat/entity-cards/github-activity-card.tsx +9 -3
- package/src/components/chat/guide-welcome.tsx +11 -8
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +80 -7
- package/src/components/chat/hooks/use-slash-commands.ts +39 -0
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +49 -45
- package/src/components/chat/hooks/use-unified-chat.ts +31 -8
- package/src/components/chat/mingo-chat-history.tsx +118 -36
- package/src/components/chat/mingo-info-card.tsx +214 -0
- package/src/components/chat/mingo-welcome.tsx +89 -36
- package/src/components/chat/types/chat.types.ts +4 -0
- package/src/components/chat/types/unified-chat-state.types.ts +35 -0
- package/src/components/chat/utils/process-historical-messages.ts +8 -0
- package/src/components/content-loading-container.tsx +1 -1
- package/src/components/empty-state.tsx +3 -3
- package/src/components/faq-accordion.tsx +2 -2
- package/src/components/features/changelog-manager.tsx +2 -2
- package/src/components/features/highlight-config-section.tsx +2 -2
- package/src/components/features/og-editor-preview.tsx +3 -3
- package/src/components/features/release-media-manager.tsx +2 -2
- package/src/components/loading/card-skeleton.tsx +3 -3
- package/src/components/loading/device-card-skeleton.tsx +1 -1
- package/src/components/loading/margin-report-skeleton.tsx +2 -2
- package/src/components/loading/organization-card-skeleton.tsx +1 -1
- package/src/components/loading/organization-icon-skeleton.tsx +1 -1
- package/src/components/loading/page-layout-skeleton.tsx +9 -9
- package/src/components/loading/users-grid-skeleton.tsx +2 -2
- package/src/components/logs-list.tsx +1 -1
- package/src/components/media-carousel.tsx +1 -1
- package/src/components/navigation/app-layout-drawer.tsx +70 -6
- package/src/components/open-source-features.tsx +2 -2
- package/src/components/ui/actions-menu.tsx +36 -13
- package/src/components/ui/allowed-domains-input.tsx +3 -3
- package/src/components/ui/cursor-pagination.tsx +1 -1
- package/src/components/ui/dropdown-button.tsx +6 -6
- package/src/components/ui/info-row.tsx +2 -2
- package/src/components/ui/modal-v2.tsx +8 -1
- package/src/components/ui/more-actions-menu.tsx +13 -0
- package/src/components/ui/square-avatar.tsx +6 -1
- package/src/components/ui/tags-input.tsx +1 -1
- package/src/components/ui/textarea.tsx +18 -4
- package/src/components/vendor-icon.tsx +1 -1
- package/src/components/vendor-tag.tsx +1 -1
- package/src/components/why-it-matters.tsx +1 -1
- package/src/hooks/ui/use-auto-limit-tags.ts +22 -8
- package/src/stories/ActionsMenu.stories.tsx +256 -0
- package/src/stories/AppLayoutSidebar.stories.tsx +6 -0
- package/src/stories/Board.stories.tsx +1 -1
- package/src/stories/ChatMingoInfoCards.stories.tsx +748 -0
- package/src/stories/ChatTicketList.stories.tsx +1 -1
- package/src/stories/DataTable.stories.tsx +17 -13
- package/src/stories/EmbeddableChat.stories.tsx +233 -1
- package/src/stories/MingoInfoCard.stories.tsx +193 -0
- package/src/stories/MingoOnboardingCard.stories.tsx +1 -1
- package/src/stories/Modal.stories.tsx +1 -0
- package/src/stories/NotificationDrawer.stories.tsx +14 -3
- package/src/stories/PageActions.stories.tsx +4 -4
- package/src/stories/PageContainer.stories.tsx +5 -5
- package/src/stories/PageLayout.stories.tsx +1 -1
- package/src/stories/TabSelector.stories.tsx +2 -2
- package/src/stories/Tag.stories.tsx +10 -5
- package/src/stories/TicketInfoSection.stories.tsx +23 -11
- package/src/stories/Toaster.stories.tsx +5 -5
- package/src/stories/__fixtures__/chat-card-decorator.tsx +44 -0
- package/dist/chunk-AIKPR6BE.js.map +0 -1
- package/dist/chunk-KM4KK2A6.cjs.map +0 -1
- package/dist/chunk-ND24XSVT.js.map +0 -1
- package/dist/chunk-QNYH3WUU.cjs.map +0 -1
- package/dist/chunk-QYRV6MKX.js.map +0 -1
- package/src/stories/.TicketDescriptionViewer.stories.md +0 -39
- package/src/stories/.TicketKnowledgeBaseList.stories.md +0 -36
- package/src/stories/TicketDescriptionViewer.stories.tsx +0 -70
- package/src/stories/TicketKnowledgeBaseList.stories.tsx +0 -51
- /package/dist/{chunk-CCSEXVI4.js.map → chunk-GYYGA24C.js.map} +0 -0
- /package/dist/{chunk-RMOHKAHA.js.map → chunk-ISWWP2BH.js.map} +0 -0
- /package/dist/{chunk-HRIAZQ5D.js.map → chunk-WOKB6RJ7.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
UnifiedPagination,
|
|
7
7
|
init_unified_pagination,
|
|
8
8
|
unified_pagination_exports
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-TA6Z2AKD.js";
|
|
10
10
|
import {
|
|
11
11
|
DetailPageSkeleton,
|
|
12
12
|
DocSearchBar,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
resolveSearchResultAction,
|
|
17
17
|
useDocSearch,
|
|
18
18
|
useSelfFetch
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-WOKB6RJ7.js";
|
|
20
20
|
import {
|
|
21
21
|
DevCardRowContent,
|
|
22
22
|
DevCardRowSkeleton,
|
|
23
23
|
DevCardRowSkeletonList,
|
|
24
24
|
DevSectionPage,
|
|
25
25
|
DevSectionView
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-GYYGA24C.js";
|
|
27
27
|
import "../chunk-ORJREQ2W.js";
|
|
28
28
|
import {
|
|
29
29
|
AIEnrichButton,
|
|
@@ -122,6 +122,7 @@ import {
|
|
|
122
122
|
COMPACT_CARD_TEXT_COL,
|
|
123
123
|
COMPACT_CARD_TITLE,
|
|
124
124
|
COMPACT_CARD_TITLE_ROW,
|
|
125
|
+
COMPACT_HEADER_BUTTON,
|
|
125
126
|
CONNECTION_STATUS,
|
|
126
127
|
CUSTOM_ITEM_ID,
|
|
127
128
|
CUSTOM_PRESET_KEY,
|
|
@@ -327,6 +328,7 @@ import {
|
|
|
327
328
|
MenubarTrigger,
|
|
328
329
|
MessageSegmentAccumulator,
|
|
329
330
|
MingoChatHistory,
|
|
331
|
+
MingoChatHistorySkeleton,
|
|
330
332
|
MingoOnboardingCard,
|
|
331
333
|
MingoOnboardingCardSkeleton,
|
|
332
334
|
MingoOnboardingListSkeleton,
|
|
@@ -673,6 +675,7 @@ import {
|
|
|
673
675
|
useRealtimeChunkProcessor,
|
|
674
676
|
useSSE,
|
|
675
677
|
useSectionNavigation,
|
|
678
|
+
useSlashCommandRegistry,
|
|
676
679
|
useSlashCommands,
|
|
677
680
|
useSseChatAdapter,
|
|
678
681
|
useTheme,
|
|
@@ -681,7 +684,7 @@ import {
|
|
|
681
684
|
useVideoOriginPreconnect,
|
|
682
685
|
useVideoWarmup,
|
|
683
686
|
usesCanonicalStatusStyle
|
|
684
|
-
} from "../chunk-
|
|
687
|
+
} from "../chunk-4VHWSAQR.js";
|
|
685
688
|
import {
|
|
686
689
|
next_image_default
|
|
687
690
|
} from "../chunk-LXC6P2EO.js";
|
|
@@ -732,7 +735,7 @@ import {
|
|
|
732
735
|
showToast,
|
|
733
736
|
useOnboardingState,
|
|
734
737
|
useToast
|
|
735
|
-
} from "../chunk-
|
|
738
|
+
} from "../chunk-53EA4QPZ.js";
|
|
736
739
|
import {
|
|
737
740
|
init_next_navigation,
|
|
738
741
|
usePathname,
|
|
@@ -1260,7 +1263,7 @@ var imageSizeMap = {
|
|
|
1260
1263
|
xl: { width: 40, height: 40 }
|
|
1261
1264
|
};
|
|
1262
1265
|
var backgroundClasses = {
|
|
1263
|
-
dark: "bg-
|
|
1266
|
+
dark: "bg-ods-bg border border-ods-border",
|
|
1264
1267
|
light: "bg-ods-card border border-ods-border",
|
|
1265
1268
|
white: "bg-white border border-[#E5E5E5]"
|
|
1266
1269
|
};
|
|
@@ -1738,7 +1741,7 @@ function ContentLoadingContainer({
|
|
|
1738
1741
|
isLoading && /* @__PURE__ */ jsx11(
|
|
1739
1742
|
"div",
|
|
1740
1743
|
{
|
|
1741
|
-
className: "absolute inset-0 z-10 bg-
|
|
1744
|
+
className: "absolute inset-0 z-10 bg-ods-bg",
|
|
1742
1745
|
style: {
|
|
1743
1746
|
opacity: loadingOpacity,
|
|
1744
1747
|
transition: `opacity ${transitionDuration}ms ease-in-out`
|
|
@@ -2047,13 +2050,13 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
2047
2050
|
return next;
|
|
2048
2051
|
});
|
|
2049
2052
|
};
|
|
2050
|
-
return /* @__PURE__ */ jsx13("div", { className: "rounded-3xl border border-ods-border divide-y divide-
|
|
2053
|
+
return /* @__PURE__ */ jsx13("div", { className: "rounded-3xl border border-ods-border divide-y divide-ods-border bg-ods-card overflow-hidden", children: items.map((item) => {
|
|
2051
2054
|
const isOpen = openSet.has(item.id);
|
|
2052
2055
|
const { ref, maxHeight } = useMeasuredHeight(isOpen);
|
|
2053
2056
|
return /* @__PURE__ */ jsxs10(
|
|
2054
2057
|
"div",
|
|
2055
2058
|
{
|
|
2056
|
-
className: cn("group transition-colors hover:bg-[#1E1E1E]", isOpen ? "bg-
|
|
2059
|
+
className: cn("group transition-colors hover:bg-[#1E1E1E]", isOpen ? "bg-ods-bg" : "bg-transparent"),
|
|
2057
2060
|
children: [
|
|
2058
2061
|
/* @__PURE__ */ jsxs10(
|
|
2059
2062
|
"div",
|
|
@@ -3268,7 +3271,7 @@ var MediaCarousel = memo(function MediaCarousel2({
|
|
|
3268
3271
|
{
|
|
3269
3272
|
ref: carouselRef,
|
|
3270
3273
|
className: cn(
|
|
3271
|
-
"relative bg-
|
|
3274
|
+
"relative bg-ods-bg border border-ods-border rounded-2xl overflow-hidden group w-full",
|
|
3272
3275
|
getAspectRatioClass()
|
|
3273
3276
|
),
|
|
3274
3277
|
onTouchStart,
|
|
@@ -3835,7 +3838,7 @@ function VendorTag({
|
|
|
3835
3838
|
accentColor
|
|
3836
3839
|
}) {
|
|
3837
3840
|
const baseClasses = cn(
|
|
3838
|
-
"flex items-center gap-1.5 bg-
|
|
3841
|
+
"flex items-center gap-1.5 bg-ods-bg border border-ods-border rounded whitespace-nowrap",
|
|
3839
3842
|
size === "sm" ? "px-2 py-1" : "px-2.5 py-1.5"
|
|
3840
3843
|
);
|
|
3841
3844
|
const getTagContent = () => {
|
|
@@ -4207,7 +4210,7 @@ function CardSkeleton({
|
|
|
4207
4210
|
function VendorCardContent({ showActions, showMetadata }) {
|
|
4208
4211
|
return /* @__PURE__ */ jsxs26("div", { className: "p-4 gap-3 flex flex-col", children: [
|
|
4209
4212
|
/* @__PURE__ */ jsxs26("div", { className: "flex items-start gap-3 w-full", children: [
|
|
4210
|
-
/* @__PURE__ */ jsx34("div", { className: "w-[60px] h-[60px] bg-
|
|
4213
|
+
/* @__PURE__ */ jsx34("div", { className: "w-[60px] h-[60px] bg-ods-bg border border-ods-border rounded-lg p-2 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx34(MediaSkeleton.Avatar, { size: "sm", className: "w-11 h-11" }) }),
|
|
4211
4214
|
/* @__PURE__ */ jsxs26("div", { className: "flex-1 flex flex-col justify-center py-2 min-w-0 space-y-1", children: [
|
|
4212
4215
|
/* @__PURE__ */ jsx34(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
4213
4216
|
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-1/2" })
|
|
@@ -4228,7 +4231,7 @@ function VendorCardContent({ showActions, showMetadata }) {
|
|
|
4228
4231
|
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-10" })
|
|
4229
4232
|
] })
|
|
4230
4233
|
] }),
|
|
4231
|
-
/* @__PURE__ */ jsx34("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-1.5 bg-
|
|
4234
|
+
/* @__PURE__ */ jsx34("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-1.5 bg-ods-bg border border-ods-border rounded px-2.5 py-1.5", children: [
|
|
4232
4235
|
/* @__PURE__ */ jsx34("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx34(MediaSkeleton.Icon, { size: "sm", className: "w-2.5 h-2.5" }) }),
|
|
4233
4236
|
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-16" })
|
|
4234
4237
|
] }) })
|
|
@@ -4237,7 +4240,7 @@ function VendorCardContent({ showActions, showMetadata }) {
|
|
|
4237
4240
|
}
|
|
4238
4241
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
4239
4242
|
return /* @__PURE__ */ jsxs26(Fragment7, { children: [
|
|
4240
|
-
/* @__PURE__ */ jsx34("div", { className: "blog-card-image-container relative w-full aspect-[1200/630] overflow-hidden bg-
|
|
4243
|
+
/* @__PURE__ */ jsx34("div", { className: "blog-card-image-container relative w-full aspect-[1200/630] overflow-hidden bg-ods-bg", children: /* @__PURE__ */ jsx34(MediaSkeleton.CardImage, {}) }),
|
|
4241
4244
|
/* @__PURE__ */ jsxs26("div", { className: "p-4 flex flex-col flex-grow", children: [
|
|
4242
4245
|
/* @__PURE__ */ jsx34("div", { className: "mb-3 flex items-center min-h-[50.4px] md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-1 w-full", children: [
|
|
4243
4246
|
/* @__PURE__ */ jsx34(TextSkeleton.Subheading, { className: "w-full" }),
|
|
@@ -4500,7 +4503,7 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
4500
4503
|
] });
|
|
4501
4504
|
}
|
|
4502
4505
|
function VendorDetailLayoutSkeleton({ className }) {
|
|
4503
|
-
return /* @__PURE__ */ jsx35("main", { className: cn("bg-
|
|
4506
|
+
return /* @__PURE__ */ jsx35("main", { className: cn("bg-ods-bg min-h-screen", className), children: /* @__PURE__ */ jsxs27("div", { className: "max-w-[1920px] mx-auto px-6 md:px-20 py-6 md:py-10", children: [
|
|
4504
4507
|
/* @__PURE__ */ jsx35(BreadcrumbSkeleton, { className: "mb-6" }),
|
|
4505
4508
|
/* @__PURE__ */ jsxs27("div", { className: "flex flex-col lg:flex-row lg:gap-10", children: [
|
|
4506
4509
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1 min-w-0", children: [
|
|
@@ -4585,7 +4588,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
4585
4588
|
/* @__PURE__ */ jsxs27("div", { className: "flex flex-col gap-6", children: [
|
|
4586
4589
|
/* @__PURE__ */ jsx35("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-16" }),
|
|
4587
4590
|
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs27("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 flex gap-3", children: [
|
|
4588
|
-
/* @__PURE__ */ jsx35("div", { className: "w-12 h-12 bg-
|
|
4591
|
+
/* @__PURE__ */ jsx35("div", { className: "w-12 h-12 bg-ods-bg border border-ods-border rounded flex-shrink-0 animate-pulse" }),
|
|
4589
4592
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1 space-y-2", children: [
|
|
4590
4593
|
/* @__PURE__ */ jsx35("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-2/3" }),
|
|
4591
4594
|
/* @__PURE__ */ jsx35("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" })
|
|
@@ -4595,7 +4598,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
4595
4598
|
/* @__PURE__ */ jsxs27("div", { className: "flex flex-col gap-6", children: [
|
|
4596
4599
|
/* @__PURE__ */ jsx35("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-16" }),
|
|
4597
4600
|
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs27("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 flex gap-3", children: [
|
|
4598
|
-
/* @__PURE__ */ jsx35("div", { className: "w-12 h-12 bg-
|
|
4601
|
+
/* @__PURE__ */ jsx35("div", { className: "w-12 h-12 bg-ods-bg border border-ods-border rounded flex-shrink-0 animate-pulse" }),
|
|
4599
4602
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1 space-y-2", children: [
|
|
4600
4603
|
/* @__PURE__ */ jsx35("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-2/3" }),
|
|
4601
4604
|
/* @__PURE__ */ jsx35("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" })
|
|
@@ -4608,7 +4611,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
4608
4611
|
/* @__PURE__ */ jsx35("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-72" }),
|
|
4609
4612
|
/* @__PURE__ */ jsx35("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs27("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6 space-y-4", children: [
|
|
4610
4613
|
/* @__PURE__ */ jsxs27("div", { className: "flex items-start gap-4", children: [
|
|
4611
|
-
/* @__PURE__ */ jsx35("div", { className: "w-16 h-16 bg-
|
|
4614
|
+
/* @__PURE__ */ jsx35("div", { className: "w-16 h-16 bg-ods-bg border border-ods-border rounded-lg animate-pulse flex-shrink-0" }),
|
|
4612
4615
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1 space-y-2", children: [
|
|
4613
4616
|
/* @__PURE__ */ jsx35("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-3/4" }),
|
|
4614
4617
|
/* @__PURE__ */ jsx35("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-1/2" })
|
|
@@ -4630,7 +4633,7 @@ function VendorDetailLayoutSkeleton({ className }) {
|
|
|
4630
4633
|
/* @__PURE__ */ jsxs27("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4631
4634
|
/* @__PURE__ */ jsx35("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-64" }),
|
|
4632
4635
|
/* @__PURE__ */ jsx35("div", { className: "space-y-3", children: /* @__PURE__ */ jsxs27("div", { className: "flex gap-3", children: [
|
|
4633
|
-
/* @__PURE__ */ jsxs27("div", { className: "flex-1 bg-
|
|
4636
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex-1 bg-ods-bg border border-ods-border rounded-lg overflow-hidden", children: [
|
|
4634
4637
|
/* @__PURE__ */ jsxs27("div", { className: "border-b border-ods-border p-3", children: [
|
|
4635
4638
|
/* @__PURE__ */ jsx35("div", { className: "h-3 bg-[#2A2A2A] rounded animate-pulse w-8 mb-2" }),
|
|
4636
4639
|
/* @__PURE__ */ jsx35("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-full" })
|
|
@@ -4738,12 +4741,12 @@ function SlackCommunitySkeleton() {
|
|
|
4738
4741
|
return /* @__PURE__ */ jsx35(
|
|
4739
4742
|
"section",
|
|
4740
4743
|
{
|
|
4741
|
-
className: "w-full bg-
|
|
4744
|
+
className: "w-full bg-ods-bg px-4 md:px-20 lg:px-20 py-12 md:py-20",
|
|
4742
4745
|
"aria-label": "Slack Community Loading",
|
|
4743
4746
|
children: /* @__PURE__ */ jsxs27("div", { className: "w-full flex flex-col gap-4 md:gap-6", children: [
|
|
4744
4747
|
/* @__PURE__ */ jsx35("div", { className: "w-full", children: /* @__PURE__ */ jsx35("div", { className: "h-8 md:h-12 lg:h-14 bg-[#2A2A2A] rounded-lg animate-pulse max-w-md" }) }),
|
|
4745
4748
|
/* @__PURE__ */ jsxs27("div", { className: "w-full flex flex-col lg:flex-row lg:justify-end lg:items-start gap-4 md:gap-6 min-w-0", children: [
|
|
4746
|
-
/* @__PURE__ */ jsx35("div", { className: "w-full lg:w-[290px] lg:max-w-[290px] bg-
|
|
4749
|
+
/* @__PURE__ */ jsx35("div", { className: "w-full lg:w-[290px] lg:max-w-[290px] bg-ods-bg border border-ods-border rounded flex flex-col flex-shrink-0 overflow-hidden animate-pulse", children: /* @__PURE__ */ jsxs27("div", { className: "p-4 space-y-4", children: [
|
|
4747
4750
|
/* @__PURE__ */ jsxs27("div", { className: "flex flex-col gap-2", children: [
|
|
4748
4751
|
/* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between", children: [
|
|
4749
4752
|
/* @__PURE__ */ jsx35("div", { className: "h-4 bg-[#2A2A2A] rounded w-24" }),
|
|
@@ -4773,14 +4776,14 @@ function SlackCommunitySkeleton() {
|
|
|
4773
4776
|
] }) })
|
|
4774
4777
|
] }) }),
|
|
4775
4778
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1 min-h-[450px] h-[450px] md:min-h-[500px] md:h-[500px] lg:min-h-[600px] lg:h-[600px] bg-ods-card border border-ods-border rounded-lg flex flex-col min-w-0 animate-pulse", children: [
|
|
4776
|
-
/* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between p-4 md:p-6 border-b border-ods-border bg-
|
|
4779
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between p-4 md:p-6 border-b border-ods-border bg-ods-bg h-[56px] md:h-[60px] flex-shrink-0", children: [
|
|
4777
4780
|
/* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2", children: [
|
|
4778
4781
|
/* @__PURE__ */ jsx35("div", { className: "h-3 md:h-4 bg-[#2A2A2A] rounded w-3 md:w-4" }),
|
|
4779
4782
|
/* @__PURE__ */ jsx35("div", { className: "h-3 md:h-4 bg-[#2A2A2A] rounded w-24 md:w-32" })
|
|
4780
4783
|
] }),
|
|
4781
4784
|
/* @__PURE__ */ jsx35("div", { className: "h-3 bg-[#2A2A2A] rounded w-12 md:w-16" })
|
|
4782
4785
|
] }),
|
|
4783
|
-
/* @__PURE__ */ jsx35("div", { className: "flex-1 bg-
|
|
4786
|
+
/* @__PURE__ */ jsx35("div", { className: "flex-1 bg-ods-bg p-4 md:p-6 space-y-3 md:space-y-4 overflow-hidden min-h-[280px] md:min-h-[320px] lg:min-h-[420px]", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs27("div", { className: "flex gap-2 md:gap-3", children: [
|
|
4784
4787
|
/* @__PURE__ */ jsx35("div", { className: "w-10 h-10 md:w-12 md:h-12 bg-[#2A2A2A] rounded-lg flex-shrink-0" }),
|
|
4785
4788
|
/* @__PURE__ */ jsxs27("div", { className: "flex-1", children: [
|
|
4786
4789
|
/* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2 mb-1", children: [
|
|
@@ -5147,7 +5150,7 @@ function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
|
5147
5150
|
// src/components/loading/margin-report-skeleton.tsx
|
|
5148
5151
|
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5149
5152
|
function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
5150
|
-
return /* @__PURE__ */ jsxs34("main", { className: `bg-
|
|
5153
|
+
return /* @__PURE__ */ jsxs34("main", { className: `bg-ods-bg ${animate ? "animate-pulse" : ""} relative min-h-screen`, children: [
|
|
5151
5154
|
/* @__PURE__ */ jsxs34("div", { className: "max-w-[1920px] px-6 md:px-20 py-6 md:py-10 mx-auto space-y-10", children: [
|
|
5152
5155
|
/* @__PURE__ */ jsxs34("div", { className: "space-y-3", children: [
|
|
5153
5156
|
/* @__PURE__ */ jsx42("div", { className: "h-10 w-72 bg-[#2A2A2A] rounded" }),
|
|
@@ -5184,7 +5187,7 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
5184
5187
|
/* @__PURE__ */ jsx42("div", { className: "h-4 w-10 bg-[#2A2A2A] rounded" })
|
|
5185
5188
|
] })
|
|
5186
5189
|
] }),
|
|
5187
|
-
/* @__PURE__ */ jsx42("div", { className: "flex-1 flex flex-col gap-3 p-3", children: Array.from({ length: 5 }).map((_, j) => /* @__PURE__ */ jsxs34("div", { className: "bg-
|
|
5190
|
+
/* @__PURE__ */ jsx42("div", { className: "flex-1 flex flex-col gap-3 p-3", children: Array.from({ length: 5 }).map((_, j) => /* @__PURE__ */ jsxs34("div", { className: "bg-ods-bg border border-ods-border rounded-lg px-4 py-3 flex items-center justify-between", children: [
|
|
5188
5191
|
/* @__PURE__ */ jsxs34("div", { className: "flex items-center gap-3 min-w-0", children: [
|
|
5189
5192
|
/* @__PURE__ */ jsx42("div", { className: "w-12 h-12 bg-[#2A2A2A] rounded-lg flex-shrink-0" }),
|
|
5190
5193
|
/* @__PURE__ */ jsxs34("div", { className: "flex flex-col min-w-0", children: [
|
|
@@ -5223,9 +5226,9 @@ init_cn();
|
|
|
5223
5226
|
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
5224
5227
|
function UsersGridSkeleton({ rows = 10, className }) {
|
|
5225
5228
|
const skeletonRows = Array.from({ length: rows });
|
|
5226
|
-
return /* @__PURE__ */ jsx43("div", { className: cn("overflow-x-auto rounded-lg border border-ods-border bg-ods-card animate-pulse", className), children: /* @__PURE__ */ jsxs35("table", { className: "min-w-full divide-y divide-
|
|
5229
|
+
return /* @__PURE__ */ jsx43("div", { className: cn("overflow-x-auto rounded-lg border border-ods-border bg-ods-card animate-pulse", className), children: /* @__PURE__ */ jsxs35("table", { className: "min-w-full divide-y divide-ods-border", children: [
|
|
5227
5230
|
/* @__PURE__ */ jsx43("thead", { className: "bg-[#2A2A2A]", children: /* @__PURE__ */ jsx43("tr", { children: ["Name", "Email", "Role", "Created", "Last Sign-In"].map((h) => /* @__PURE__ */ jsx43("th", { className: "px-4 py-3 text-left text-[12px] font-medium text-ods-text-primary font-['DM_Sans']", children: h }, h)) }) }),
|
|
5228
|
-
/* @__PURE__ */ jsx43("tbody", { className: "divide-y divide-
|
|
5231
|
+
/* @__PURE__ */ jsx43("tbody", { className: "divide-y divide-ods-border", children: skeletonRows.map((_, idx) => /* @__PURE__ */ jsx43("tr", { children: Array.from({ length: 5 }).map((__, cell) => /* @__PURE__ */ jsx43("td", { className: "px-4 py-3 whitespace-nowrap", children: /* @__PURE__ */ jsx43("div", { className: "h-4 bg-ods-border rounded w-full" }) }, cell)) }, idx)) })
|
|
5229
5232
|
] }) });
|
|
5230
5233
|
}
|
|
5231
5234
|
|
|
@@ -5241,7 +5244,7 @@ var sizeClasses2 = {
|
|
|
5241
5244
|
xl: "w-16 h-16"
|
|
5242
5245
|
};
|
|
5243
5246
|
var backgroundClasses2 = {
|
|
5244
|
-
dark: "bg-
|
|
5247
|
+
dark: "bg-ods-bg border border-ods-border",
|
|
5245
5248
|
light: "bg-ods-card border border-ods-border",
|
|
5246
5249
|
white: "bg-white border border-[#E5E5E5]"
|
|
5247
5250
|
};
|
|
@@ -5319,7 +5322,7 @@ function OrganizationCardSkeleton({
|
|
|
5319
5322
|
/* @__PURE__ */ jsx45(TextSkeleton.Caption, { className: "w-10" })
|
|
5320
5323
|
] })
|
|
5321
5324
|
] }),
|
|
5322
|
-
/* @__PURE__ */ jsx45("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-1.5 bg-
|
|
5325
|
+
/* @__PURE__ */ jsx45("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-1.5 bg-ods-bg border border-ods-border rounded px-2.5 py-1.5", children: [
|
|
5323
5326
|
/* @__PURE__ */ jsx45("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx45(MediaSkeleton.Icon, { size: "sm", className: "w-2.5 h-2.5" }) }),
|
|
5324
5327
|
/* @__PURE__ */ jsx45(TextSkeleton.Caption, { className: "w-16" })
|
|
5325
5328
|
] }) })
|
|
@@ -5372,7 +5375,7 @@ function DeviceCardSkeleton({ className }) {
|
|
|
5372
5375
|
"aria-label": "Loading device card",
|
|
5373
5376
|
children: [
|
|
5374
5377
|
/* @__PURE__ */ jsxs37("div", { className: "flex gap-4 items-center px-4 py-3", children: [
|
|
5375
|
-
/* @__PURE__ */ jsx46("div", { className: "w-8 h-8 bg-
|
|
5378
|
+
/* @__PURE__ */ jsx46("div", { className: "w-8 h-8 bg-ods-bg border border-ods-border rounded-[6px] flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx46("div", { className: "w-4 h-4 bg-ods-border rounded animate-pulse" }) }),
|
|
5376
5379
|
/* @__PURE__ */ jsx46("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ jsx46("div", { className: "h-6 w-3/4 bg-ods-border rounded animate-pulse" }) }),
|
|
5377
5380
|
/* @__PURE__ */ jsx46("div", { className: "w-12 h-12 bg-ods-border rounded-[6px] flex-shrink-0 animate-pulse" })
|
|
5378
5381
|
] }),
|
|
@@ -7048,6 +7051,7 @@ export {
|
|
|
7048
7051
|
COMPACT_CARD_TEXT_COL,
|
|
7049
7052
|
COMPACT_CARD_TITLE,
|
|
7050
7053
|
COMPACT_CARD_TITLE_ROW,
|
|
7054
|
+
COMPACT_HEADER_BUTTON,
|
|
7051
7055
|
CONNECTION_STATUS,
|
|
7052
7056
|
CUSTOM_ITEM_ID,
|
|
7053
7057
|
CUSTOM_PRESET_KEY,
|
|
@@ -7387,6 +7391,7 @@ export {
|
|
|
7387
7391
|
MiamiCyberGangLogoFaceOnly,
|
|
7388
7392
|
MicrosoftIcon,
|
|
7389
7393
|
MingoChatHistory,
|
|
7394
|
+
MingoChatHistorySkeleton,
|
|
7390
7395
|
MingoIcon,
|
|
7391
7396
|
MingoOnboardingCard,
|
|
7392
7397
|
MingoOnboardingCardSkeleton,
|
|
@@ -7870,6 +7875,7 @@ export {
|
|
|
7870
7875
|
useRoadmapVoting,
|
|
7871
7876
|
useSSE,
|
|
7872
7877
|
useSectionNavigation,
|
|
7878
|
+
useSlashCommandRegistry,
|
|
7873
7879
|
useSlashCommands,
|
|
7874
7880
|
useSseChatAdapter,
|
|
7875
7881
|
useTheme,
|