@flamingo-stack/openframe-frontend-core 0.0.312 → 0.0.313-snapshot.20260623203621

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 (118) hide show
  1. package/dist/{chunk-7KKIACLD.cjs → chunk-2LFQJYLQ.cjs} +7 -7
  2. package/dist/{chunk-7KKIACLD.cjs.map → chunk-2LFQJYLQ.cjs.map} +1 -1
  3. package/dist/{chunk-UFJVTOGS.cjs → chunk-46UZAYUT.cjs} +29 -29
  4. package/dist/{chunk-UFJVTOGS.cjs.map → chunk-46UZAYUT.cjs.map} +1 -1
  5. package/dist/{chunk-G56GYN7Z.cjs → chunk-5ATH263N.cjs} +4 -1
  6. package/dist/chunk-5ATH263N.cjs.map +1 -0
  7. package/dist/{chunk-52MEECZB.cjs → chunk-AD7TII2A.cjs} +5 -5
  8. package/dist/{chunk-52MEECZB.cjs.map → chunk-AD7TII2A.cjs.map} +1 -1
  9. package/dist/{chunk-AHVG5CFA.cjs → chunk-BHOGI57O.cjs} +38 -38
  10. package/dist/{chunk-AHVG5CFA.cjs.map → chunk-BHOGI57O.cjs.map} +1 -1
  11. package/dist/{chunk-CGR2DPPQ.js → chunk-BJ6JXN5Z.js} +5 -5
  12. package/dist/{chunk-7G7QJNLY.cjs → chunk-DD35H7HA.cjs} +40 -40
  13. package/dist/{chunk-7G7QJNLY.cjs.map → chunk-DD35H7HA.cjs.map} +1 -1
  14. package/dist/{chunk-F45P357Q.js → chunk-E2LC43T3.js} +2 -2
  15. package/dist/{chunk-JQ2EYXWR.js → chunk-E4CQ4RUG.js} +4 -1
  16. package/dist/chunk-E4CQ4RUG.js.map +1 -0
  17. package/dist/{chunk-NQDC366J.cjs → chunk-EC4DGRN6.cjs} +88 -63
  18. package/dist/chunk-EC4DGRN6.cjs.map +1 -0
  19. package/dist/{chunk-GRBFBBSX.js → chunk-JWX6NIQ4.js} +2 -2
  20. package/dist/{chunk-PH2RLC4E.js → chunk-L7BROXZ7.js} +2 -2
  21. package/dist/{chunk-MI6TET5N.js → chunk-NH2RY6VM.js} +38 -13
  22. package/dist/{chunk-MI6TET5N.js.map → chunk-NH2RY6VM.js.map} +1 -1
  23. package/dist/{chunk-GZPOUZAY.js → chunk-OD3BEWDQ.js} +3 -3
  24. package/dist/{chunk-JQLC2FVM.js → chunk-TRSDXD23.js} +2 -2
  25. package/dist/{chunk-64JGK22Q.cjs → chunk-UNKIRZVY.cjs} +19 -19
  26. package/dist/{chunk-64JGK22Q.cjs.map → chunk-UNKIRZVY.cjs.map} +1 -1
  27. package/dist/{chunk-DJBMLHN7.js → chunk-UO27TVAO.js} +3 -3
  28. package/dist/{chunk-SPFV5TFS.cjs → chunk-VCJOLKED.cjs} +12 -12
  29. package/dist/{chunk-SPFV5TFS.cjs.map → chunk-VCJOLKED.cjs.map} +1 -1
  30. package/dist/{chunk-6GKJXZZM.cjs → chunk-WJCOWYAP.cjs} +14 -14
  31. package/dist/{chunk-6GKJXZZM.cjs.map → chunk-WJCOWYAP.cjs.map} +1 -1
  32. package/dist/{chunk-BX4MDVBL.js → chunk-XKVSR3IV.js} +4 -4
  33. package/dist/{chunk-2ZHDP22R.cjs → chunk-ZPK5HW7B.cjs} +3 -3
  34. package/dist/{chunk-2ZHDP22R.cjs.map → chunk-ZPK5HW7B.cjs.map} +1 -1
  35. package/dist/{chunk-IHCOTCIG.js → chunk-ZW3NHMG7.js} +3 -3
  36. package/dist/components/case-studies/index.cjs +9 -9
  37. package/dist/components/case-studies/index.js +3 -3
  38. package/dist/components/chat/index.cjs +3 -3
  39. package/dist/components/chat/index.js +2 -2
  40. package/dist/components/contact/index.cjs +4 -4
  41. package/dist/components/contact/index.js +3 -3
  42. package/dist/components/docs/index.cjs +6 -6
  43. package/dist/components/docs/index.js +5 -5
  44. package/dist/components/embeds/index.cjs +4 -4
  45. package/dist/components/embeds/index.js +3 -3
  46. package/dist/components/faq/index.cjs +5 -5
  47. package/dist/components/faq/index.js +4 -4
  48. package/dist/components/features/index.cjs +3 -3
  49. package/dist/components/features/index.js +2 -2
  50. package/dist/components/features/time-tracker/time-tracker-panel.d.ts +1 -1
  51. package/dist/components/features/time-tracker/time-tracker-panel.d.ts.map +1 -1
  52. package/dist/components/features/time-tracker/types.d.ts +2 -2
  53. package/dist/components/features/time-tracker/types.d.ts.map +1 -1
  54. package/dist/components/index.cjs +190 -188
  55. package/dist/components/index.cjs.map +1 -1
  56. package/dist/components/index.js +12 -10
  57. package/dist/components/index.js.map +1 -1
  58. package/dist/components/layout/page-layout.d.ts +1 -1
  59. package/dist/components/layout/page-layout.d.ts.map +1 -1
  60. package/dist/components/layout/title-block.d.ts +10 -0
  61. package/dist/components/layout/title-block.d.ts.map +1 -1
  62. package/dist/components/navigation/index.cjs +3 -3
  63. package/dist/components/navigation/index.js +2 -2
  64. package/dist/components/onboarding-guides/index.cjs +29 -29
  65. package/dist/components/onboarding-guides/index.js +5 -5
  66. package/dist/components/related-content/index.cjs +5 -5
  67. package/dist/components/related-content/index.js +4 -4
  68. package/dist/components/tickets/help-center-list.d.ts +5 -1
  69. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  70. package/dist/components/tickets/index.cjs +84 -73
  71. package/dist/components/tickets/index.cjs.map +1 -1
  72. package/dist/components/tickets/index.js +21 -10
  73. package/dist/components/tickets/index.js.map +1 -1
  74. package/dist/components/tool-icon.d.ts.map +1 -1
  75. package/dist/components/ui/dashboard-info-card.d.ts +3 -1
  76. package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
  77. package/dist/components/ui/index.cjs +5 -3
  78. package/dist/components/ui/index.cjs.map +1 -1
  79. package/dist/components/ui/index.js +4 -2
  80. package/dist/hooks/index.cjs +2 -2
  81. package/dist/hooks/index.js +1 -1
  82. package/dist/index.cjs +5 -3
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.js +4 -2
  85. package/dist/types/index.cjs +2 -0
  86. package/dist/types/index.cjs.map +1 -1
  87. package/dist/types/index.js +2 -0
  88. package/dist/types/index.js.map +1 -1
  89. package/dist/types/tool.types.d.ts +1 -0
  90. package/dist/types/tool.types.d.ts.map +1 -1
  91. package/dist/utils/index.cjs +11 -0
  92. package/dist/utils/index.cjs.map +1 -1
  93. package/dist/utils/index.js +11 -0
  94. package/dist/utils/index.js.map +1 -1
  95. package/dist/utils/tool-utils.d.ts.map +1 -1
  96. package/package.json +1 -1
  97. package/src/components/features/time-tracker/time-tracker-panel.tsx +27 -9
  98. package/src/components/features/time-tracker/types.ts +2 -2
  99. package/src/components/layout/page-layout.tsx +1 -1
  100. package/src/components/layout/title-block.tsx +12 -1
  101. package/src/components/tickets/help-center-list.tsx +16 -4
  102. package/src/components/tool-icon.tsx +1 -0
  103. package/src/components/ui/dashboard-info-card.tsx +9 -1
  104. package/src/stories/TimeTracker.stories.tsx +10 -10
  105. package/src/types/tool.types.ts +2 -0
  106. package/src/utils/tool-utils.ts +11 -0
  107. package/dist/chunk-G56GYN7Z.cjs.map +0 -1
  108. package/dist/chunk-JQ2EYXWR.js.map +0 -1
  109. package/dist/chunk-NQDC366J.cjs.map +0 -1
  110. /package/dist/{chunk-CGR2DPPQ.js.map → chunk-BJ6JXN5Z.js.map} +0 -0
  111. /package/dist/{chunk-F45P357Q.js.map → chunk-E2LC43T3.js.map} +0 -0
  112. /package/dist/{chunk-GRBFBBSX.js.map → chunk-JWX6NIQ4.js.map} +0 -0
  113. /package/dist/{chunk-PH2RLC4E.js.map → chunk-L7BROXZ7.js.map} +0 -0
  114. /package/dist/{chunk-GZPOUZAY.js.map → chunk-OD3BEWDQ.js.map} +0 -0
  115. /package/dist/{chunk-JQLC2FVM.js.map → chunk-TRSDXD23.js.map} +0 -0
  116. /package/dist/{chunk-DJBMLHN7.js.map → chunk-UO27TVAO.js.map} +0 -0
  117. /package/dist/{chunk-BX4MDVBL.js.map → chunk-XKVSR3IV.js.map} +0 -0
  118. /package/dist/{chunk-IHCOTCIG.js.map → chunk-ZW3NHMG7.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  PageLayout,
4
4
  formatBioText,
5
5
  getProxiedImageUrl
6
- } from "./chunk-MI6TET5N.js";
6
+ } from "./chunk-NH2RY6VM.js";
7
7
  import {
8
8
  useChatRuntime
9
9
  } from "./chunk-2FI3USTC.js";
@@ -146,4 +146,4 @@ export {
146
146
  DetailPageSkeleton,
147
147
  ArticleAuthorByline
148
148
  };
149
- //# sourceMappingURL=chunk-GRBFBBSX.js.map
149
+ //# sourceMappingURL=chunk-JWX6NIQ4.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatFileSize,
5
5
  toGoogleSheetsEmbedUrl,
6
6
  toGoogleSheetsOriginalUrl
7
- } from "./chunk-MI6TET5N.js";
7
+ } from "./chunk-NH2RY6VM.js";
8
8
  import {
9
9
  Button
10
10
  } from "./chunk-JALO4TAZ.js";
@@ -141,4 +141,4 @@ export {
141
141
  GoogleSheetsViewer,
142
142
  FileDownloadCard
143
143
  };
144
- //# sourceMappingURL=chunk-PH2RLC4E.js.map
144
+ //# sourceMappingURL=chunk-L7BROXZ7.js.map
@@ -25,7 +25,7 @@ import {
25
25
  useOgPlaceholderUrl,
26
26
  useOnboardingState,
27
27
  useToast
28
- } from "./chunk-JQ2EYXWR.js";
28
+ } from "./chunk-E4CQ4RUG.js";
29
29
  import {
30
30
  useChatRuntime,
31
31
  useRequiredChatRuntime
@@ -18897,6 +18897,7 @@ function EntityImage({ src, alt, fallbackText, className }) {
18897
18897
 
18898
18898
  // src/components/layout/title-block.tsx
18899
18899
  import { jsx as jsx139, jsxs as jsxs111 } from "react/jsx-runtime";
18900
+ var TITLE_BLOCK_MIN_HEIGHT = "min-h-11 md:min-h-12";
18900
18901
  function TitleBlock({
18901
18902
  title,
18902
18903
  subtitle,
@@ -18928,7 +18929,7 @@ function TitleBlock({
18928
18929
  className
18929
18930
  ),
18930
18931
  children: [
18931
- /* @__PURE__ */ jsxs111("div", { className: "flex flex-col gap-[var(--spacing-system-xs)] flex-1 min-w-0", children: [
18932
+ /* @__PURE__ */ jsxs111("div", { className: cn("flex flex-col justify-center gap-[var(--spacing-system-xs)] flex-1 min-w-0", TITLE_BLOCK_MIN_HEIGHT), children: [
18932
18933
  backButton && /* @__PURE__ */ jsx139(
18933
18934
  BackButton,
18934
18935
  {
@@ -19531,6 +19532,16 @@ var toolAliasMap = {
19531
19532
  "openframe_client": "OPENFRAME_CLIENT",
19532
19533
  "openframe-client": "OPENFRAME_CLIENT",
19533
19534
  "openframeclient": "OPENFRAME_CLIENT",
19535
+ // OpenFrame RMM
19536
+ "RMM": "OPENFRAME_RMM",
19537
+ "rmm": "OPENFRAME_RMM",
19538
+ "OPENFRAME_RMM": "OPENFRAME_RMM",
19539
+ "OPENFRAME-RMM": "OPENFRAME_RMM",
19540
+ "OPENFRAMERMM": "OPENFRAME_RMM",
19541
+ "openframe_rmm": "OPENFRAME_RMM",
19542
+ "openframe-rmm": "OPENFRAME_RMM",
19543
+ "openframermm": "OPENFRAME_RMM",
19544
+ "openframe-rmm-agent": "OPENFRAME_RMM",
19534
19545
  // OSQUERY
19535
19546
  "OSQUERY": "OSQUERY",
19536
19547
  // System
@@ -21534,7 +21545,8 @@ function DashboardInfoCard({
21534
21545
  className,
21535
21546
  href,
21536
21547
  tooltip,
21537
- valueClassName
21548
+ valueClassName,
21549
+ subValue
21538
21550
  }) {
21539
21551
  const formattedValue = typeof value === "number" ? value.toLocaleString() : value;
21540
21552
  const cardContent = /* @__PURE__ */ jsxs120(Fragment28, { children: [
@@ -21542,6 +21554,7 @@ function DashboardInfoCard({
21542
21554
  titleSlot ?? /* @__PURE__ */ jsx152("p", { className: "text-h5 text-ods-text-secondary", children: title }),
21543
21555
  /* @__PURE__ */ jsxs120("div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
21544
21556
  /* @__PURE__ */ jsx152("p", { className: cn("text-h2 text-ods-text-primary", valueClassName), children: formattedValue }),
21557
+ subValue && /* @__PURE__ */ jsx152("p", { className: "text-h6 text-ods-text-secondary", children: subValue }),
21545
21558
  percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ jsx152(Tag, { variant: progressVariant, label: `${percentage}%` }) : /* @__PURE__ */ jsxs120("p", { className: "text-h4 text-ods-text-secondary", children: [
21546
21559
  "(",
21547
21560
  percentage,
@@ -29143,8 +29156,8 @@ function TimeTrackerPanel({
29143
29156
  runningSince,
29144
29157
  accumulatedMs,
29145
29158
  ticketOptions,
29146
- selectedTicketIds,
29147
- onSelectedTicketsChange,
29159
+ selectedTicketId,
29160
+ onSelectedTicketChange,
29148
29161
  onTicketSearch,
29149
29162
  ticketsLoading,
29150
29163
  notes,
@@ -29168,7 +29181,7 @@ function TimeTrackerPanel({
29168
29181
  const [showValidationError, setShowValidationError] = useState70(false);
29169
29182
  const isRunning = status === "tracking";
29170
29183
  const isActive = status !== "ready";
29171
- const hasContent = selectedTicketIds.length > 0 || notes.trim() !== "";
29184
+ const hasContent = selectedTicketId != null || notes.trim() !== "";
29172
29185
  const showFieldError = isActive && showValidationError && !hasContent;
29173
29186
  useEffect52(() => {
29174
29187
  if (status === "ready") setShowValidationError(false);
@@ -29180,6 +29193,18 @@ function TimeTrackerPanel({
29180
29193
  }
29181
29194
  onSubmit();
29182
29195
  };
29196
+ const handleManualEntry = onManualEntry ? () => {
29197
+ onClose();
29198
+ onManualEntry();
29199
+ } : void 0;
29200
+ const handleEntryClick = onEntryClick ? (entry) => {
29201
+ onClose();
29202
+ onEntryClick(entry);
29203
+ } : void 0;
29204
+ const handleOpenMyTime = onOpenMyTime ? () => {
29205
+ onClose();
29206
+ onOpenMyTime();
29207
+ } : void 0;
29183
29208
  const ticketAutocompleteOptions = ticketOptions.map((t) => ({
29184
29209
  label: t.label,
29185
29210
  value: t.id
@@ -29256,9 +29281,8 @@ function TimeTrackerPanel({
29256
29281
  /* @__PURE__ */ jsx222(
29257
29282
  Autocomplete,
29258
29283
  {
29259
- multiple: true,
29260
- value: selectedTicketIds,
29261
- onChange: onSelectedTicketsChange,
29284
+ value: selectedTicketId,
29285
+ onChange: onSelectedTicketChange,
29262
29286
  options: ticketAutocompleteOptions,
29263
29287
  placeholder: "Assign Ticket",
29264
29288
  loading: ticketsLoading,
@@ -29285,7 +29309,7 @@ function TimeTrackerPanel({
29285
29309
  /* @__PURE__ */ jsxs173("div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
29286
29310
  /* @__PURE__ */ jsxs173("div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
29287
29311
  /* @__PURE__ */ jsx222("p", { className: "font-mono text-h6 uppercase tracking-wide text-ods-text-secondary", children: "Last Entries" }),
29288
- /* @__PURE__ */ jsx222("div", { className: "overflow-hidden rounded-md border border-ods-border bg-ods-card", children: visibleEntries.length === 0 ? /* @__PURE__ */ jsx222("div", { className: "flex items-center justify-center px-[var(--spacing-system-m)] py-[var(--spacing-system-l)]", children: /* @__PURE__ */ jsx222("p", { className: "text-h6 text-ods-text-secondary", children: "No tracked sessions yet" }) }) : visibleEntries.map((entry) => /* @__PURE__ */ jsx222(LastEntryRow, { entry, onClick: onEntryClick }, entry.id)) })
29312
+ /* @__PURE__ */ jsx222("div", { className: "overflow-hidden rounded-md border border-ods-border bg-ods-card", children: visibleEntries.length === 0 ? /* @__PURE__ */ jsx222("div", { className: "flex items-center justify-center px-[var(--spacing-system-m)] py-[var(--spacing-system-l)]", children: /* @__PURE__ */ jsx222("p", { className: "text-h6 text-ods-text-secondary", children: "No tracked sessions yet" }) }) : visibleEntries.map((entry) => /* @__PURE__ */ jsx222(LastEntryRow, { entry, onClick: handleEntryClick }, entry.id)) })
29289
29313
  ] }),
29290
29314
  /* @__PURE__ */ jsxs173("div", { className: "flex w-full flex-wrap gap-[var(--spacing-system-m)]", children: [
29291
29315
  /* @__PURE__ */ jsx222(
@@ -29293,7 +29317,7 @@ function TimeTrackerPanel({
29293
29317
  {
29294
29318
  variant: "outline",
29295
29319
  className: "min-w-0 flex-1",
29296
- onClick: onManualEntry,
29320
+ onClick: handleManualEntry,
29297
29321
  disabled: !onManualEntry,
29298
29322
  leftIcon: /* @__PURE__ */ jsx222(PlusCircleIcon, { className: "text-ods-text-secondary" }),
29299
29323
  children: "Manual Entry"
@@ -29303,7 +29327,7 @@ function TimeTrackerPanel({
29303
29327
  SplitButton,
29304
29328
  {
29305
29329
  variant: "outline",
29306
- onClick: onOpenMyTime,
29330
+ onClick: handleOpenMyTime,
29307
29331
  disabled: !onOpenMyTime && !onOpenMyTimeMenu,
29308
29332
  mainDisabled: !onOpenMyTime,
29309
29333
  groupAriaLabel: "Open my time",
@@ -48681,6 +48705,7 @@ export {
48681
48705
  ContentPageContainer,
48682
48706
  ListPageLayout,
48683
48707
  EntityImage,
48708
+ TITLE_BLOCK_MIN_HEIGHT,
48684
48709
  TitleBlock,
48685
48710
  PageLayout,
48686
48711
  PageShell,
@@ -49052,4 +49077,4 @@ export {
49052
49077
  LogsList,
49053
49078
  assets
49054
49079
  };
49055
- //# sourceMappingURL=chunk-MI6TET5N.js.map
49080
+ //# sourceMappingURL=chunk-NH2RY6VM.js.map