@flamingo-stack/openframe-frontend-core 0.0.621 → 0.0.622-2162.6154.1

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.
Files changed (39) hide show
  1. package/dist/{chunk-ADT6RYCG.cjs → chunk-6TML2UIF.cjs} +26 -37
  2. package/dist/chunk-6TML2UIF.cjs.map +1 -0
  3. package/dist/{chunk-OEXGPFM2.js → chunk-7E24VV6D.js} +26 -37
  4. package/dist/chunk-7E24VV6D.js.map +1 -0
  5. package/dist/{chunk-5Y2V24GT.cjs → chunk-7OYQ6RVB.cjs} +24 -26
  6. package/dist/chunk-7OYQ6RVB.cjs.map +1 -0
  7. package/dist/{chunk-MSEHEEF7.cjs → chunk-C6Y5FZMJ.cjs} +38 -3
  8. package/dist/chunk-C6Y5FZMJ.cjs.map +1 -0
  9. package/dist/{chunk-62TUSJHG.js → chunk-EQ7AOKFK.js} +17 -19
  10. package/dist/{chunk-62TUSJHG.js.map → chunk-EQ7AOKFK.js.map} +1 -1
  11. package/dist/{chunk-ALHMMNAZ.js → chunk-QUL55PJP.js} +72 -37
  12. package/dist/chunk-QUL55PJP.js.map +1 -0
  13. package/dist/components/help-center-pages/index.cjs +11 -11
  14. package/dist/components/help-center-pages/index.js +3 -3
  15. package/dist/components/index.cjs +5 -3
  16. package/dist/components/index.cjs.map +1 -1
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.d.ts.map +1 -1
  19. package/dist/components/index.js +5 -3
  20. package/dist/components/index.js.map +1 -1
  21. package/dist/components/list-empty-state.d.ts +32 -0
  22. package/dist/components/list-empty-state.d.ts.map +1 -0
  23. package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
  24. package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
  25. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  26. package/dist/components/tickets/index.cjs +3 -3
  27. package/dist/components/tickets/index.js +2 -2
  28. package/package.json +1 -1
  29. package/src/components/__tests__/list-empty-state.test.tsx +106 -0
  30. package/src/components/index.ts +1 -0
  31. package/src/components/list-empty-state.tsx +57 -0
  32. package/src/components/shared/delivery/delivery-lists.tsx +18 -25
  33. package/src/components/shared/product-release/product-releases-view.tsx +11 -18
  34. package/src/components/tickets/help-center-list.tsx +19 -22
  35. package/dist/chunk-5Y2V24GT.cjs.map +0 -1
  36. package/dist/chunk-ADT6RYCG.cjs.map +0 -1
  37. package/dist/chunk-ALHMMNAZ.js.map +0 -1
  38. package/dist/chunk-MSEHEEF7.cjs.map +0 -1
  39. package/dist/chunk-OEXGPFM2.js.map +0 -1
@@ -6,8 +6,9 @@ import {
6
6
  DeliveryRow,
7
7
  DevCardRowContent,
8
8
  DevCardRowSkeletonList,
9
- DevSectionPage
10
- } from "./chunk-ALHMMNAZ.js";
9
+ DevSectionPage,
10
+ ListEmptyState
11
+ } from "./chunk-QUL55PJP.js";
11
12
  import {
12
13
  EmptyState,
13
14
  UnifiedPagination
@@ -1773,29 +1774,26 @@ function HelpCenterListAuthed({
1773
1774
  // for ~50ms between `removeOptimistic` and the server
1774
1775
  // response landing.
1775
1776
  /* @__PURE__ */ jsx9(DevCardRowSkeletonList, { rows: 1 })
1776
- ) : !hasResults ? hasActiveFilters ? /* @__PURE__ */ jsx9(
1777
- EmptyState,
1777
+ ) : !hasResults ? /* @__PURE__ */ jsx9(
1778
+ ListEmptyState,
1778
1779
  {
1779
- type: "search",
1780
- title: "No tickets found",
1781
- description: "No tickets match your current filters. Try clearing them or broadening your search.",
1782
- showCTA: true,
1783
- ctaText: "Reset filters",
1784
- onCtaClick: () => {
1780
+ isFiltered: hasActiveFilters,
1781
+ filtered: {
1782
+ title: "No tickets found",
1783
+ description: "No tickets match your current filters. Try clearing them or broadening your search.",
1784
+ clearText: "Reset filters"
1785
+ },
1786
+ onClearFilters: () => {
1785
1787
  const params = new URLSearchParams(searchParams.toString());
1786
1788
  params.delete("search");
1787
1789
  params.delete("status");
1788
1790
  router.replace(`${pathname}?${params.toString()}`, { scroll: false });
1791
+ },
1792
+ empty: {
1793
+ title: "No tickets yet",
1794
+ description: "Open one above to start the conversation with the support team."
1789
1795
  }
1790
1796
  }
1791
- ) : /* @__PURE__ */ jsx9(
1792
- EmptyState,
1793
- {
1794
- type: "generic",
1795
- title: "No tickets yet",
1796
- description: "Open one above to start the conversation with the support team.",
1797
- showCTA: false
1798
- }
1799
1797
  ) : (
1800
1798
  // `overflow-clip` (NOT `overflow-hidden`) — both visually
1801
1799
  // clip the rounded corners, but `hidden` makes the element
@@ -1845,4 +1843,4 @@ export {
1845
1843
  HelpCenterCreateForm,
1846
1844
  HelpCenterList
1847
1845
  };
1848
- //# sourceMappingURL=chunk-62TUSJHG.js.map
1846
+ //# sourceMappingURL=chunk-EQ7AOKFK.js.map