@flamingo-stack/openframe-frontend-core 0.0.335 → 0.0.336

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 (84) hide show
  1. package/dist/{chunk-3QXLR4YB.cjs → chunk-2FVULOIK.cjs} +25 -25
  2. package/dist/{chunk-3QXLR4YB.cjs.map → chunk-2FVULOIK.cjs.map} +1 -1
  3. package/dist/{chunk-EVNZOQ6Z.cjs → chunk-45BYRANY.cjs} +15 -15
  4. package/dist/{chunk-EVNZOQ6Z.cjs.map → chunk-45BYRANY.cjs.map} +1 -1
  5. package/dist/{chunk-LLA2LEKE.js → chunk-7D5UKWEA.js} +2 -2
  6. package/dist/{chunk-ISXD2332.js → chunk-CIE66RSH.js} +2 -2
  7. package/dist/{chunk-2R6XOAWC.js → chunk-CPALUGYN.js} +2 -2
  8. package/dist/{chunk-KIIZ4GVW.cjs → chunk-H2OKGWDK.cjs} +31 -31
  9. package/dist/{chunk-KIIZ4GVW.cjs.map → chunk-H2OKGWDK.cjs.map} +1 -1
  10. package/dist/{chunk-R7XUM6M5.cjs → chunk-H5VFN7IP.cjs} +39 -10
  11. package/dist/chunk-H5VFN7IP.cjs.map +1 -0
  12. package/dist/{chunk-OZHQVHAI.cjs → chunk-HIRDBLM3.cjs} +62 -62
  13. package/dist/{chunk-OZHQVHAI.cjs.map → chunk-HIRDBLM3.cjs.map} +1 -1
  14. package/dist/{chunk-PZJ7MNBI.cjs → chunk-I5KS2YDX.cjs} +56 -56
  15. package/dist/{chunk-PZJ7MNBI.cjs.map → chunk-I5KS2YDX.cjs.map} +1 -1
  16. package/dist/{chunk-42SYNACI.js → chunk-JTW23UXA.js} +4 -4
  17. package/dist/{chunk-NREXQHPH.js → chunk-KDJJPHQE.js} +4 -4
  18. package/dist/{chunk-KYTXPVW7.js → chunk-KY6RWDEB.js} +2 -2
  19. package/dist/{chunk-4YCDGKTT.js → chunk-L5TSBYSQ.js} +4 -4
  20. package/dist/{chunk-FFMWYQYH.js → chunk-LDTSPXZU.js} +39 -10
  21. package/dist/{chunk-FFMWYQYH.js.map → chunk-LDTSPXZU.js.map} +1 -1
  22. package/dist/{chunk-EIY66GS7.cjs → chunk-MDYAGMLF.cjs} +7 -7
  23. package/dist/{chunk-EIY66GS7.cjs.map → chunk-MDYAGMLF.cjs.map} +1 -1
  24. package/dist/{chunk-OV4N3HIB.cjs → chunk-MVXX2JTT.cjs} +5 -5
  25. package/dist/{chunk-OV4N3HIB.cjs.map → chunk-MVXX2JTT.cjs.map} +1 -1
  26. package/dist/{chunk-YJTKUWC6.cjs → chunk-NW57Y4CP.cjs} +37 -37
  27. package/dist/{chunk-YJTKUWC6.cjs.map → chunk-NW57Y4CP.cjs.map} +1 -1
  28. package/dist/{chunk-NH4IDOJU.cjs → chunk-OQ4VKWYU.cjs} +9 -9
  29. package/dist/{chunk-NH4IDOJU.cjs.map → chunk-OQ4VKWYU.cjs.map} +1 -1
  30. package/dist/{chunk-FTVXOI7L.js → chunk-R2TWMVBP.js} +4 -4
  31. package/dist/{chunk-6CZT6GPC.js → chunk-RESNZ4Z3.js} +2 -2
  32. package/dist/{chunk-NI7NDOH7.cjs → chunk-SD2J3HJ5.cjs} +12 -12
  33. package/dist/{chunk-NI7NDOH7.cjs.map → chunk-SD2J3HJ5.cjs.map} +1 -1
  34. package/dist/{chunk-2Z2CABNH.js → chunk-TFNK6B4T.js} +2 -2
  35. package/dist/{chunk-7VNS5A4U.cjs → chunk-US3DF2WZ.cjs} +26 -26
  36. package/dist/{chunk-7VNS5A4U.cjs.map → chunk-US3DF2WZ.cjs.map} +1 -1
  37. package/dist/{chunk-Y6G7TQID.js → chunk-XVZ62VX4.js} +2 -2
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/index.cjs +2 -2
  51. package/dist/components/features/index.js +1 -1
  52. package/dist/components/help-center-pages/index.cjs +20 -20
  53. package/dist/components/help-center-pages/index.js +11 -11
  54. package/dist/components/index.cjs +121 -121
  55. package/dist/components/index.js +9 -9
  56. package/dist/components/navigation/index.cjs +2 -2
  57. package/dist/components/navigation/index.js +1 -1
  58. package/dist/components/onboarding-guides/index.cjs +5 -5
  59. package/dist/components/onboarding-guides/index.js +4 -4
  60. package/dist/components/related-content/index.cjs +3 -3
  61. package/dist/components/related-content/index.js +2 -2
  62. package/dist/components/tickets/index.cjs +5 -5
  63. package/dist/components/tickets/index.js +4 -4
  64. package/dist/components/ui/dashboard-info-card.d.ts +17 -1
  65. package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
  66. package/dist/components/ui/index.cjs +2 -2
  67. package/dist/components/ui/index.js +1 -1
  68. package/dist/index.cjs +2 -2
  69. package/dist/index.js +1 -1
  70. package/package.json +1 -1
  71. package/src/components/ui/dashboard-info-card.tsx +57 -8
  72. package/src/stories/DashboardInfoCard.stories.tsx +39 -1
  73. package/dist/chunk-R7XUM6M5.cjs.map +0 -1
  74. /package/dist/{chunk-LLA2LEKE.js.map → chunk-7D5UKWEA.js.map} +0 -0
  75. /package/dist/{chunk-ISXD2332.js.map → chunk-CIE66RSH.js.map} +0 -0
  76. /package/dist/{chunk-2R6XOAWC.js.map → chunk-CPALUGYN.js.map} +0 -0
  77. /package/dist/{chunk-42SYNACI.js.map → chunk-JTW23UXA.js.map} +0 -0
  78. /package/dist/{chunk-NREXQHPH.js.map → chunk-KDJJPHQE.js.map} +0 -0
  79. /package/dist/{chunk-KYTXPVW7.js.map → chunk-KY6RWDEB.js.map} +0 -0
  80. /package/dist/{chunk-4YCDGKTT.js.map → chunk-L5TSBYSQ.js.map} +0 -0
  81. /package/dist/{chunk-FTVXOI7L.js.map → chunk-R2TWMVBP.js.map} +0 -0
  82. /package/dist/{chunk-6CZT6GPC.js.map → chunk-RESNZ4Z3.js.map} +0 -0
  83. /package/dist/{chunk-2Z2CABNH.js.map → chunk-TFNK6B4T.js.map} +0 -0
  84. /package/dist/{chunk-Y6G7TQID.js.map → chunk-XVZ62VX4.js.map} +0 -0
@@ -4,10 +4,10 @@ import {
4
4
  EmptyState,
5
5
  init_unified_pagination,
6
6
  unified_pagination_exports
7
- } from "./chunk-KYTXPVW7.js";
7
+ } from "./chunk-KY6RWDEB.js";
8
8
  import {
9
9
  DetailPageSkeleton
10
- } from "./chunk-2Z2CABNH.js";
10
+ } from "./chunk-TFNK6B4T.js";
11
11
  import {
12
12
  useSelfFetch
13
13
  } from "./chunk-65VXW6GZ.js";
@@ -39,7 +39,7 @@ import {
39
39
  isModifierClick,
40
40
  resolveContentHref,
41
41
  useEntityCardLink
42
- } from "./chunk-FFMWYQYH.js";
42
+ } from "./chunk-LDTSPXZU.js";
43
43
  import {
44
44
  STICKY_HEADER_OFFSET_PX,
45
45
  contentFetch,
@@ -1461,4 +1461,4 @@ export {
1461
1461
  useLegalDocs,
1462
1462
  LegalDocumentPage
1463
1463
  };
1464
- //# sourceMappingURL=chunk-42SYNACI.js.map
1464
+ //# sourceMappingURL=chunk-JTW23UXA.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  ContactForm
4
- } from "./chunk-Y6G7TQID.js";
4
+ } from "./chunk-XVZ62VX4.js";
5
5
  import {
6
6
  DeliveryRow,
7
7
  DevCardRowContent,
@@ -10,7 +10,7 @@ import {
10
10
  EmptyState,
11
11
  UnifiedPagination,
12
12
  init_unified_pagination
13
- } from "./chunk-KYTXPVW7.js";
13
+ } from "./chunk-KY6RWDEB.js";
14
14
  import {
15
15
  AlertDialog,
16
16
  AlertDialogAction,
@@ -37,7 +37,7 @@ import {
37
37
  getStatusColorScheme,
38
38
  useChatAttachments,
39
39
  useChatIdentity
40
- } from "./chunk-FFMWYQYH.js";
40
+ } from "./chunk-LDTSPXZU.js";
41
41
  import {
42
42
  STICKY_HEADER_OFFSET_PX,
43
43
  embedAuthedFetch,
@@ -1913,4 +1913,4 @@ export {
1913
1913
  HelpCenterCreateForm,
1914
1914
  HelpCenterList
1915
1915
  };
1916
- //# sourceMappingURL=chunk-NREXQHPH.js.map
1916
+ //# sourceMappingURL=chunk-KDJJPHQE.js.map
@@ -11,7 +11,7 @@ import {
11
11
  TASK_TYPE_TEXT_COLORS,
12
12
  getStatusColorScheme,
13
13
  init_pagination
14
- } from "./chunk-FFMWYQYH.js";
14
+ } from "./chunk-LDTSPXZU.js";
15
15
  import {
16
16
  init_next_navigation,
17
17
  usePathname,
@@ -459,4 +459,4 @@ export {
459
459
  DevCardRowSkeletonList,
460
460
  DeliveryRow
461
461
  };
462
- //# sourceMappingURL=chunk-KYTXPVW7.js.map
462
+ //# sourceMappingURL=chunk-KY6RWDEB.js.map
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  ArticleAuthorByline,
4
4
  DetailPageSkeleton
5
- } from "./chunk-2Z2CABNH.js";
5
+ } from "./chunk-TFNK6B4T.js";
6
6
  import {
7
7
  DocSearchBar,
8
8
  useDocSearch
9
- } from "./chunk-ISXD2332.js";
9
+ } from "./chunk-CIE66RSH.js";
10
10
  import {
11
11
  useSelfFetch
12
12
  } from "./chunk-65VXW6GZ.js";
@@ -25,7 +25,7 @@ import {
25
25
  getCaptionsUrl,
26
26
  resolveContentHref,
27
27
  useVideoWarmup
28
- } from "./chunk-FFMWYQYH.js";
28
+ } from "./chunk-LDTSPXZU.js";
29
29
  import {
30
30
  buildOgPlaceholderUrl
31
31
  } from "./chunk-SWGXCGQ3.js";
@@ -391,4 +391,4 @@ export {
391
391
  useOnboardingGuide,
392
392
  useOnboardingGuideSections
393
393
  };
394
- //# sourceMappingURL=chunk-4YCDGKTT.js.map
394
+ //# sourceMappingURL=chunk-L5TSBYSQ.js.map
@@ -22665,6 +22665,7 @@ function DashboardInfoCard({
22665
22665
  progressVariant,
22666
22666
  percentageDisplay = "auto",
22667
22667
  progressOverflow,
22668
+ progressSize,
22668
22669
  className,
22669
22670
  href,
22670
22671
  tooltip,
@@ -22685,6 +22686,42 @@ function DashboardInfoCard({
22685
22686
  "%)"
22686
22687
  ] });
22687
22688
  };
22689
+ const renderProgress = () => {
22690
+ if (!showProgress || percentage === void 0) return null;
22691
+ const strokeFor = (size) => Math.max(2, Math.round(size * 10 / 56));
22692
+ const common = {
22693
+ percentage,
22694
+ variant: progressVariant,
22695
+ overflow: progressOverflow,
22696
+ showLabel: false
22697
+ };
22698
+ if (progressSize === void 0) {
22699
+ return /* @__PURE__ */ jsx158(CircularProgress, { ...common });
22700
+ }
22701
+ if (typeof progressSize === "number") {
22702
+ return /* @__PURE__ */ jsx158(CircularProgress, { ...common, size: progressSize, strokeWidth: strokeFor(progressSize) });
22703
+ }
22704
+ return /* @__PURE__ */ jsxs126(Fragment31, { children: [
22705
+ /* @__PURE__ */ jsx158(
22706
+ CircularProgress,
22707
+ {
22708
+ ...common,
22709
+ size: progressSize.base,
22710
+ strokeWidth: strokeFor(progressSize.base),
22711
+ className: "lg:hidden"
22712
+ }
22713
+ ),
22714
+ /* @__PURE__ */ jsx158(
22715
+ CircularProgress,
22716
+ {
22717
+ ...common,
22718
+ size: progressSize.lg,
22719
+ strokeWidth: strokeFor(progressSize.lg),
22720
+ className: "hidden lg:block"
22721
+ }
22722
+ )
22723
+ ] });
22724
+ };
22688
22725
  const cardContent = /* @__PURE__ */ jsxs126(Fragment31, { children: [
22689
22726
  /* @__PURE__ */ jsxs126("div", { className: "flex-1 flex flex-col", children: [
22690
22727
  titleSlot ?? /* @__PURE__ */ jsx158("p", { className: "text-h5 text-ods-text-secondary", children: title }),
@@ -22695,15 +22732,7 @@ function DashboardInfoCard({
22695
22732
  tooltip && /* @__PURE__ */ jsx158(FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ jsx158("span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ jsx158(QuestionCircleIcon, { size: 20 }) }) })
22696
22733
  ] })
22697
22734
  ] }),
22698
- showProgress && percentage !== void 0 && /* @__PURE__ */ jsx158(
22699
- CircularProgress,
22700
- {
22701
- percentage,
22702
- variant: progressVariant,
22703
- overflow: progressOverflow,
22704
- showLabel: false
22705
- }
22706
- )
22735
+ renderProgress()
22707
22736
  ] });
22708
22737
  const baseClassName = "bg-ods-card border border-ods-border rounded-sm p-[var(--spacing-system-m)] flex gap-[var(--spacing-system-s)] items-center transition-all";
22709
22738
  if (href) {
@@ -50070,4 +50099,4 @@ export {
50070
50099
  FAE_AVATAR_DATA_URI,
50071
50100
  assets
50072
50101
  };
50073
- //# sourceMappingURL=chunk-FFMWYQYH.js.map
50102
+ //# sourceMappingURL=chunk-LDTSPXZU.js.map