@flamingo-stack/openframe-frontend-core 0.0.680 → 0.0.682
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-FCGZIXI5.cjs → chunk-AHXAD26W.cjs} +17 -17
- package/dist/{chunk-FCGZIXI5.cjs.map → chunk-AHXAD26W.cjs.map} +1 -1
- package/dist/{chunk-UL2TY6GY.cjs → chunk-BOM6MMWB.cjs} +3 -3
- package/dist/{chunk-UL2TY6GY.cjs.map → chunk-BOM6MMWB.cjs.map} +1 -1
- package/dist/{chunk-F5N2P2GD.js → chunk-KLLH632Q.js} +3 -3
- package/dist/{chunk-XRQKJ22I.cjs → chunk-NMXL34Z2.cjs} +4 -4
- package/dist/{chunk-XRQKJ22I.cjs.map → chunk-NMXL34Z2.cjs.map} +1 -1
- package/dist/{chunk-FN7DMNA4.js → chunk-Q76YVNCQ.js} +4 -4
- package/dist/chunk-Q76YVNCQ.js.map +1 -0
- package/dist/{chunk-M7ILWHDA.js → chunk-RF2EYX3B.js} +2 -2
- package/dist/{chunk-VWYK6TSE.cjs → chunk-RNRAPL6V.cjs} +4 -4
- package/dist/{chunk-VWYK6TSE.cjs.map → chunk-RNRAPL6V.cjs.map} +1 -1
- package/dist/{chunk-SPI7DCD3.js → chunk-S3OS6FIM.js} +2 -2
- package/dist/{chunk-RLUXVMSD.cjs → chunk-UOZXREDM.cjs} +9 -9
- package/dist/{chunk-RLUXVMSD.cjs.map → chunk-UOZXREDM.cjs.map} +1 -1
- package/dist/{chunk-75S3RKYX.js → chunk-VKTQQ7TS.js} +4 -4
- package/dist/components/empty-state.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +14 -14
- package/dist/components/help-center-pages/index.js +5 -5
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.js +4 -4
- package/dist/components/meeting-scheduler/index.cjs +5 -5
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/tickets/index.cjs +4 -4
- package/dist/components/tickets/index.js +3 -3
- package/package.json +1 -1
- package/src/components/__tests__/empty-state-cta.test.tsx +31 -0
- package/src/components/empty-state.tsx +5 -6
- package/dist/chunk-FN7DMNA4.js.map +0 -1
- /package/dist/{chunk-F5N2P2GD.js.map → chunk-KLLH632Q.js.map} +0 -0
- /package/dist/{chunk-M7ILWHDA.js.map → chunk-RF2EYX3B.js.map} +0 -0
- /package/dist/{chunk-SPI7DCD3.js.map → chunk-S3OS6FIM.js.map} +0 -0
- /package/dist/{chunk-75S3RKYX.js.map → chunk-VKTQQ7TS.js.map} +0 -0
|
@@ -8,11 +8,11 @@ var _chunkSJC2XUTEcjs = require('./chunk-SJC2XUTE.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkRNRAPL6Vcjs = require('./chunk-RNRAPL6V.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkNMXL34Z2cjs = require('./chunk-NMXL34Z2.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -786,7 +786,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
786
786
|
dateClosed: clickup.date_closed,
|
|
787
787
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
788
788
|
};
|
|
789
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden rounded-md border border-ods-border bg-ods-bg ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
789
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden rounded-md border border-ods-border bg-ods-bg ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -1002,7 +1002,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
if (bodyTurns.length === 0 && engagements.length === 0) {
|
|
1004
1004
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1005
|
-
|
|
1005
|
+
_chunkNMXL34Z2cjs.EmptyState,
|
|
1006
1006
|
{
|
|
1007
1007
|
type: "generic",
|
|
1008
1008
|
title: "No conversation yet",
|
|
@@ -1242,7 +1242,7 @@ function TicketCenter({ toast: toast2 = _chunk2UTUZGMFcjs.toast } = {}) {
|
|
|
1242
1242
|
}
|
|
1243
1243
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _62 => _62.user, 'optionalAccess', _63 => _63.email])) {
|
|
1244
1244
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1245
|
-
|
|
1245
|
+
_chunkNMXL34Z2cjs.EmptyState,
|
|
1246
1246
|
{
|
|
1247
1247
|
type: "generic",
|
|
1248
1248
|
title: "Sign in to manage tickets",
|
|
@@ -1324,7 +1324,7 @@ function TicketCenterAuthed({
|
|
|
1324
1324
|
] })
|
|
1325
1325
|
] }),
|
|
1326
1326
|
isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketListSkeleton, {}) : merged.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDQOQ3KTPcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1327
|
-
|
|
1327
|
+
_chunkNMXL34Z2cjs.EmptyState,
|
|
1328
1328
|
{
|
|
1329
1329
|
type: "generic",
|
|
1330
1330
|
title: "No tickets yet",
|
|
@@ -1464,7 +1464,7 @@ function HelpCenterCard({
|
|
|
1464
1464
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1465
1465
|
className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default md:p-[16px]",
|
|
1466
1466
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1467
|
-
|
|
1467
|
+
_chunkRNRAPL6Vcjs.DevCardRowContent,
|
|
1468
1468
|
{
|
|
1469
1469
|
title,
|
|
1470
1470
|
subtitle,
|
|
@@ -1614,20 +1614,20 @@ function HelpCenterList({ toast: toast2 = _chunk2UTUZGMFcjs.toast, backButton, t
|
|
|
1614
1614
|
const page = _chunkJGVJRUGBcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1615
1615
|
if (identity.isLoading) {
|
|
1616
1616
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1617
|
-
|
|
1617
|
+
_chunkRNRAPL6Vcjs.DevSectionPage,
|
|
1618
1618
|
{
|
|
1619
1619
|
sectionKey: "tickets",
|
|
1620
1620
|
backButton,
|
|
1621
1621
|
title,
|
|
1622
1622
|
shell,
|
|
1623
1623
|
preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
|
|
1624
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1624
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DevCardRowSkeletonList, {})
|
|
1625
1625
|
}
|
|
1626
1626
|
);
|
|
1627
1627
|
}
|
|
1628
1628
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1629
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1630
|
-
|
|
1629
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1630
|
+
_chunkNMXL34Z2cjs.EmptyState,
|
|
1631
1631
|
{
|
|
1632
1632
|
type: "generic",
|
|
1633
1633
|
title: "Sign in to manage tickets",
|
|
@@ -1756,15 +1756,15 @@ function HelpCenterListAuthed({
|
|
|
1756
1756
|
] }),
|
|
1757
1757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1758
1758
|
] }),
|
|
1759
|
-
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1759
|
+
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
|
|
1760
1760
|
// Bridge state — background refetch in flight and the
|
|
1761
1761
|
// optimistic placeholder was just removed by the mutation
|
|
1762
1762
|
// callback. Without this branch "No tickets yet" would flash
|
|
1763
1763
|
// for ~50ms between `removeOptimistic` and the server
|
|
1764
1764
|
// response landing.
|
|
1765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DevCardRowSkeletonList, { rows: 1 })
|
|
1766
1766
|
) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1767
|
-
|
|
1767
|
+
_chunkRNRAPL6Vcjs.ListEmptyState,
|
|
1768
1768
|
{
|
|
1769
1769
|
isFiltered: hasActiveFilters,
|
|
1770
1770
|
filtered: {
|
|
@@ -1811,9 +1811,9 @@ function HelpCenterListAuthed({
|
|
|
1811
1811
|
ticket.id
|
|
1812
1812
|
)) })
|
|
1813
1813
|
) }),
|
|
1814
|
-
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1814
|
+
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNMXL34Z2cjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1815
1815
|
] });
|
|
1816
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1816
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRNRAPL6Vcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
1819
|
|
|
@@ -1832,4 +1832,4 @@ function HelpCenterListAuthed({
|
|
|
1832
1832
|
|
|
1833
1833
|
|
|
1834
1834
|
exports.useTicketActions = useTicketActions; exports.mapTicketActionError = mapTicketActionError; exports.useTicketsList = useTicketsList; exports.TicketOpenForm = TicketOpenForm; exports.useTicketEngagements = useTicketEngagements; exports.TicketLinkedDeliveryCard = TicketLinkedDeliveryCard; exports.TicketReplyComposer = TicketReplyComposer; exports.TicketDetailDrawer = TicketDetailDrawer; exports.TicketRow = TicketRow; exports.TicketCenter = TicketCenter; exports.HelpCenterCard = HelpCenterCard; exports.HelpCenterCreateFormSkeleton = HelpCenterCreateFormSkeleton; exports.HelpCenterCreateForm = HelpCenterCreateForm; exports.HelpCenterList = HelpCenterList;
|
|
1835
|
-
//# sourceMappingURL=chunk-
|
|
1835
|
+
//# sourceMappingURL=chunk-AHXAD26W.cjs.map
|