@flamingo-stack/openframe-frontend-core 0.0.313 → 0.0.314-snapshot.20260624043952

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 (111) hide show
  1. package/dist/{chunk-SQQXCVZZ.cjs → chunk-2JPSWDSM.cjs} +77 -58
  2. package/dist/chunk-2JPSWDSM.cjs.map +1 -0
  3. package/dist/{chunk-SPFGSUNE.js → chunk-2MLMZAK4.js} +3 -3
  4. package/dist/{chunk-6FZD5KFP.js → chunk-47JZOP7Y.js} +3 -3
  5. package/dist/{chunk-OZYAAJHM.js → chunk-4D37W55K.js} +5 -5
  6. package/dist/{chunk-G56GYN7Z.cjs → chunk-5ATH263N.cjs} +4 -1
  7. package/dist/chunk-5ATH263N.cjs.map +1 -0
  8. package/dist/{chunk-YI2ACYRX.js → chunk-6W54MBU2.js} +2 -2
  9. package/dist/{chunk-66JU4VP2.js → chunk-7U4YFQX2.js} +27 -8
  10. package/dist/{chunk-66JU4VP2.js.map → chunk-7U4YFQX2.js.map} +1 -1
  11. package/dist/{chunk-DDLJTRF4.cjs → chunk-A2H6TFS4.cjs} +29 -29
  12. package/dist/{chunk-DDLJTRF4.cjs.map → chunk-A2H6TFS4.cjs.map} +1 -1
  13. package/dist/{chunk-YSMKPNYZ.cjs → chunk-BSAFGQVW.cjs} +7 -7
  14. package/dist/{chunk-YSMKPNYZ.cjs.map → chunk-BSAFGQVW.cjs.map} +1 -1
  15. package/dist/{chunk-JQ2EYXWR.js → chunk-E4CQ4RUG.js} +4 -1
  16. package/dist/chunk-E4CQ4RUG.js.map +1 -0
  17. package/dist/{chunk-DE2BQKQV.cjs → chunk-HATCNFQL.cjs} +12 -12
  18. package/dist/{chunk-DE2BQKQV.cjs.map → chunk-HATCNFQL.cjs.map} +1 -1
  19. package/dist/{chunk-FXTT7K3A.js → chunk-MOOV4ORG.js} +3 -3
  20. package/dist/{chunk-REHUG3RH.cjs → chunk-OSEKWT6X.cjs} +19 -19
  21. package/dist/{chunk-REHUG3RH.cjs.map → chunk-OSEKWT6X.cjs.map} +1 -1
  22. package/dist/{chunk-XHGE5XBH.cjs → chunk-QW6OL4NY.cjs} +5 -5
  23. package/dist/{chunk-XHGE5XBH.cjs.map → chunk-QW6OL4NY.cjs.map} +1 -1
  24. package/dist/{chunk-E6BHNYTA.js → chunk-TK6OABYF.js} +4 -4
  25. package/dist/{chunk-BFNTSETG.cjs → chunk-TQ7CMFSY.cjs} +14 -14
  26. package/dist/{chunk-BFNTSETG.cjs.map → chunk-TQ7CMFSY.cjs.map} +1 -1
  27. package/dist/{chunk-JQLC2FVM.js → chunk-TRSDXD23.js} +2 -2
  28. package/dist/{chunk-GHK2FCIM.cjs → chunk-TVNILN2F.cjs} +40 -40
  29. package/dist/{chunk-GHK2FCIM.cjs.map → chunk-TVNILN2F.cjs.map} +1 -1
  30. package/dist/{chunk-BVDHLEP2.js → chunk-VFIWQGJZ.js} +2 -2
  31. package/dist/{chunk-RM3M3SZ6.js → chunk-VY5YF4B7.js} +2 -2
  32. package/dist/{chunk-BFSKFC6S.cjs → chunk-WFHNXCI3.cjs} +38 -38
  33. package/dist/{chunk-BFSKFC6S.cjs.map → chunk-WFHNXCI3.cjs.map} +1 -1
  34. package/dist/{chunk-2ZHDP22R.cjs → chunk-ZPK5HW7B.cjs} +3 -3
  35. package/dist/{chunk-2ZHDP22R.cjs.map → chunk-ZPK5HW7B.cjs.map} +1 -1
  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/push-button-selector.d.ts +1 -0
  51. package/dist/components/features/push-button-selector.d.ts.map +1 -1
  52. package/dist/components/index.cjs +190 -188
  53. package/dist/components/index.cjs.map +1 -1
  54. package/dist/components/index.js +12 -10
  55. package/dist/components/index.js.map +1 -1
  56. package/dist/components/layout/page-layout.d.ts +1 -1
  57. package/dist/components/layout/page-layout.d.ts.map +1 -1
  58. package/dist/components/layout/title-block.d.ts +10 -0
  59. package/dist/components/layout/title-block.d.ts.map +1 -1
  60. package/dist/components/navigation/index.cjs +3 -3
  61. package/dist/components/navigation/index.js +2 -2
  62. package/dist/components/onboarding-guides/index.cjs +29 -29
  63. package/dist/components/onboarding-guides/index.js +5 -5
  64. package/dist/components/related-content/index.cjs +5 -5
  65. package/dist/components/related-content/index.js +4 -4
  66. package/dist/components/tickets/help-center-list.d.ts +5 -1
  67. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  68. package/dist/components/tickets/index.cjs +84 -73
  69. package/dist/components/tickets/index.cjs.map +1 -1
  70. package/dist/components/tickets/index.js +21 -10
  71. package/dist/components/tickets/index.js.map +1 -1
  72. package/dist/components/tool-icon.d.ts.map +1 -1
  73. package/dist/components/ui/index.cjs +5 -3
  74. package/dist/components/ui/index.cjs.map +1 -1
  75. package/dist/components/ui/index.js +4 -2
  76. package/dist/hooks/index.cjs +2 -2
  77. package/dist/hooks/index.js +1 -1
  78. package/dist/index.cjs +5 -3
  79. package/dist/index.cjs.map +1 -1
  80. package/dist/index.js +4 -2
  81. package/dist/types/index.cjs +2 -0
  82. package/dist/types/index.cjs.map +1 -1
  83. package/dist/types/index.js +2 -0
  84. package/dist/types/index.js.map +1 -1
  85. package/dist/types/tool.types.d.ts +1 -0
  86. package/dist/types/tool.types.d.ts.map +1 -1
  87. package/dist/utils/index.cjs +11 -0
  88. package/dist/utils/index.cjs.map +1 -1
  89. package/dist/utils/index.js +11 -0
  90. package/dist/utils/index.js.map +1 -1
  91. package/dist/utils/tool-utils.d.ts.map +1 -1
  92. package/package.json +1 -1
  93. package/src/components/features/push-button-selector.tsx +21 -3
  94. package/src/components/layout/page-layout.tsx +1 -1
  95. package/src/components/layout/title-block.tsx +12 -1
  96. package/src/components/tickets/help-center-list.tsx +16 -4
  97. package/src/components/tool-icon.tsx +1 -0
  98. package/src/types/tool.types.ts +2 -0
  99. package/src/utils/tool-utils.ts +11 -0
  100. package/dist/chunk-G56GYN7Z.cjs.map +0 -1
  101. package/dist/chunk-JQ2EYXWR.js.map +0 -1
  102. package/dist/chunk-SQQXCVZZ.cjs.map +0 -1
  103. /package/dist/{chunk-SPFGSUNE.js.map → chunk-2MLMZAK4.js.map} +0 -0
  104. /package/dist/{chunk-6FZD5KFP.js.map → chunk-47JZOP7Y.js.map} +0 -0
  105. /package/dist/{chunk-OZYAAJHM.js.map → chunk-4D37W55K.js.map} +0 -0
  106. /package/dist/{chunk-YI2ACYRX.js.map → chunk-6W54MBU2.js.map} +0 -0
  107. /package/dist/{chunk-FXTT7K3A.js.map → chunk-MOOV4ORG.js.map} +0 -0
  108. /package/dist/{chunk-E6BHNYTA.js.map → chunk-TK6OABYF.js.map} +0 -0
  109. /package/dist/{chunk-JQLC2FVM.js.map → chunk-TRSDXD23.js.map} +0 -0
  110. /package/dist/{chunk-BVDHLEP2.js.map → chunk-VFIWQGJZ.js.map} +0 -0
  111. /package/dist/{chunk-RM3M3SZ6.js.map → chunk-VY5YF4B7.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  formatFileSize,
5
5
  toGoogleSheetsEmbedUrl,
6
6
  toGoogleSheetsOriginalUrl
7
- } from "./chunk-66JU4VP2.js";
7
+ } from "./chunk-7U4YFQX2.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-YI2ACYRX.js.map
144
+ //# sourceMappingURL=chunk-6W54MBU2.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
@@ -24853,14 +24864,14 @@ function PushButtonSelector({
24853
24864
  const getSelectedOptions = () => options.filter((option) => validSelectedIds.includes(option.id));
24854
24865
  const renderOption = (option) => {
24855
24866
  const isSelected = validSelectedIds.includes(option.id);
24856
- return /* @__PURE__ */ jsx186(
24867
+ const optionEl = /* @__PURE__ */ jsx186(
24857
24868
  "div",
24858
24869
  {
24859
24870
  className: `
24860
24871
  p-4 rounded-lg border transition-all duration-200 group
24861
- ${option.disabled ? "cursor-not-allowed opacity-40 bg-ods-card border-ods-border" : isSelected ? "cursor-pointer bg-ods-bg-secondary border-ods-accent shadow-sm" : "cursor-pointer bg-ods-bg-primary border-ods-border hover:border-ods-border-hover hover:bg-ods-bg-hover"}
24872
+ ${option.disabled ? `${isSelected ? "cursor-pointer" : "cursor-not-allowed"} opacity-40 bg-ods-card border-ods-border` : isSelected ? "cursor-pointer bg-ods-bg-secondary border-ods-accent shadow-sm" : "cursor-pointer bg-ods-bg-primary border-ods-border hover:border-ods-border-hover hover:bg-ods-bg-hover"}
24862
24873
  `,
24863
- onClick: () => !option.disabled && toggleSelection(option.id),
24874
+ onClick: () => (!option.disabled || isSelected) && toggleSelection(option.id),
24864
24875
  children: /* @__PURE__ */ jsxs145("div", { className: "flex items-center justify-between gap-4", children: [
24865
24876
  /* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
24866
24877
  option.icon && /* @__PURE__ */ jsx186("div", { className: `flex-shrink-0 transition-transform duration-200 ${isSelected ? "scale-110" : "group-hover:scale-105"}`, children: option.icon }),
@@ -24877,6 +24888,13 @@ function PushButtonSelector({
24877
24888
  },
24878
24889
  option.id
24879
24890
  );
24891
+ if (option.disabled && option.disabledReason) {
24892
+ return /* @__PURE__ */ jsxs145(Tooltip, { children: [
24893
+ /* @__PURE__ */ jsx186(TooltipTrigger, { asChild: true, children: optionEl }),
24894
+ /* @__PURE__ */ jsx186(TooltipContent, { className: "max-w-xs", children: option.disabledReason })
24895
+ ] }, option.id);
24896
+ }
24897
+ return optionEl;
24880
24898
  };
24881
24899
  const renderOptionsContent = () => {
24882
24900
  if (!sections || sections.length === 0) {
@@ -24910,7 +24928,7 @@ function PushButtonSelector({
24910
24928
  ungroupedOptions.length > 0 && /* @__PURE__ */ jsx186("div", { className: "space-y-2", children: ungroupedOptions.map(renderOption) })
24911
24929
  ] });
24912
24930
  };
24913
- return /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
24931
+ return /* @__PURE__ */ jsx186(TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
24914
24932
  title && /* @__PURE__ */ jsx186("h3", { className: "text-h5 text-ods-text-primary", children: title }),
24915
24933
  renderOptionsContent(),
24916
24934
  selectionSummary && validSelectedIds.length > 0 && /* @__PURE__ */ jsxs145("div", { className: "p-4 bg-ods-attention-green-success-secondary border border-ods-attention-green-success/30 rounded-lg", children: [
@@ -24934,7 +24952,7 @@ function PushButtonSelector({
24934
24952
  ] }),
24935
24953
  helpText && /* @__PURE__ */ jsx186("div", { className: "text-[12px] text-ods-text-secondary font-['DM_Sans']", children: helpText }),
24936
24954
  validSelectedIds.length === 0 && title && !optional && /* @__PURE__ */ jsx186("div", { className: "p-3 bg-ods-attention-red-error-secondary border border-ods-attention-red-error/30 rounded-lg", children: /* @__PURE__ */ jsx186("div", { className: "font-['DM_Sans'] text-[12px] text-ods-attention-red-error", children: "\u26A0\uFE0F Please select at least one option" }) })
24937
- ] });
24955
+ ] }) });
24938
24956
  }
24939
24957
 
24940
24958
  // src/components/features/release-media-manager.tsx
@@ -48694,6 +48712,7 @@ export {
48694
48712
  ContentPageContainer,
48695
48713
  ListPageLayout,
48696
48714
  EntityImage,
48715
+ TITLE_BLOCK_MIN_HEIGHT,
48697
48716
  TitleBlock,
48698
48717
  PageLayout,
48699
48718
  PageShell,
@@ -49065,4 +49084,4 @@ export {
49065
49084
  LogsList,
49066
49085
  assets
49067
49086
  };
49068
- //# sourceMappingURL=chunk-66JU4VP2.js.map
49087
+ //# sourceMappingURL=chunk-7U4YFQX2.js.map