@flamingo-stack/openframe-frontend-core 0.0.314 → 0.0.315

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 (69) hide show
  1. package/dist/{chunk-EC4DGRN6.cjs → chunk-2JPSWDSM.cjs} +13 -6
  2. package/dist/chunk-2JPSWDSM.cjs.map +1 -0
  3. package/dist/{chunk-ZW3NHMG7.js → chunk-2MLMZAK4.js} +2 -2
  4. package/dist/{chunk-OD3BEWDQ.js → chunk-47JZOP7Y.js} +2 -2
  5. package/dist/{chunk-BJ6JXN5Z.js → chunk-4D37W55K.js} +4 -4
  6. package/dist/{chunk-L7BROXZ7.js → chunk-6W54MBU2.js} +2 -2
  7. package/dist/{chunk-NH2RY6VM.js → chunk-7U4YFQX2.js} +13 -6
  8. package/dist/{chunk-NH2RY6VM.js.map → chunk-7U4YFQX2.js.map} +1 -1
  9. package/dist/{chunk-46UZAYUT.cjs → chunk-A2H6TFS4.cjs} +26 -26
  10. package/dist/{chunk-46UZAYUT.cjs.map → chunk-A2H6TFS4.cjs.map} +1 -1
  11. package/dist/{chunk-2LFQJYLQ.cjs → chunk-BSAFGQVW.cjs} +7 -7
  12. package/dist/{chunk-2LFQJYLQ.cjs.map → chunk-BSAFGQVW.cjs.map} +1 -1
  13. package/dist/{chunk-VCJOLKED.cjs → chunk-HATCNFQL.cjs} +9 -9
  14. package/dist/{chunk-VCJOLKED.cjs.map → chunk-HATCNFQL.cjs.map} +1 -1
  15. package/dist/{chunk-UO27TVAO.js → chunk-MOOV4ORG.js} +2 -2
  16. package/dist/{chunk-UNKIRZVY.cjs → chunk-OSEKWT6X.cjs} +12 -12
  17. package/dist/{chunk-UNKIRZVY.cjs.map → chunk-OSEKWT6X.cjs.map} +1 -1
  18. package/dist/{chunk-AD7TII2A.cjs → chunk-QW6OL4NY.cjs} +5 -5
  19. package/dist/{chunk-AD7TII2A.cjs.map → chunk-QW6OL4NY.cjs.map} +1 -1
  20. package/dist/{chunk-XKVSR3IV.js → chunk-TK6OABYF.js} +2 -2
  21. package/dist/{chunk-WJCOWYAP.cjs → chunk-TQ7CMFSY.cjs} +14 -14
  22. package/dist/{chunk-WJCOWYAP.cjs.map → chunk-TQ7CMFSY.cjs.map} +1 -1
  23. package/dist/{chunk-DD35H7HA.cjs → chunk-TVNILN2F.cjs} +37 -37
  24. package/dist/{chunk-DD35H7HA.cjs.map → chunk-TVNILN2F.cjs.map} +1 -1
  25. package/dist/{chunk-JWX6NIQ4.js → chunk-VFIWQGJZ.js} +2 -2
  26. package/dist/{chunk-E2LC43T3.js → chunk-VY5YF4B7.js} +2 -2
  27. package/dist/{chunk-BHOGI57O.cjs → chunk-WFHNXCI3.cjs} +30 -30
  28. package/dist/{chunk-BHOGI57O.cjs.map → chunk-WFHNXCI3.cjs.map} +1 -1
  29. package/dist/components/case-studies/index.cjs +8 -8
  30. package/dist/components/case-studies/index.js +2 -2
  31. package/dist/components/chat/index.cjs +2 -2
  32. package/dist/components/chat/index.js +1 -1
  33. package/dist/components/contact/index.cjs +3 -3
  34. package/dist/components/contact/index.js +2 -2
  35. package/dist/components/docs/index.cjs +5 -5
  36. package/dist/components/docs/index.js +4 -4
  37. package/dist/components/embeds/index.cjs +3 -3
  38. package/dist/components/embeds/index.js +2 -2
  39. package/dist/components/faq/index.cjs +3 -3
  40. package/dist/components/faq/index.js +2 -2
  41. package/dist/components/features/index.cjs +2 -2
  42. package/dist/components/features/index.js +1 -1
  43. package/dist/components/features/push-button-selector.d.ts +1 -0
  44. package/dist/components/features/push-button-selector.d.ts.map +1 -1
  45. package/dist/components/index.cjs +172 -172
  46. package/dist/components/index.js +8 -8
  47. package/dist/components/navigation/index.cjs +2 -2
  48. package/dist/components/navigation/index.js +1 -1
  49. package/dist/components/onboarding-guides/index.cjs +23 -23
  50. package/dist/components/onboarding-guides/index.js +3 -3
  51. package/dist/components/related-content/index.cjs +3 -3
  52. package/dist/components/related-content/index.js +2 -2
  53. package/dist/components/tickets/index.cjs +61 -61
  54. package/dist/components/tickets/index.js +3 -3
  55. package/dist/components/ui/index.cjs +2 -2
  56. package/dist/components/ui/index.js +1 -1
  57. package/dist/index.cjs +2 -2
  58. package/dist/index.js +1 -1
  59. package/package.json +1 -1
  60. package/src/components/features/push-button-selector.tsx +21 -3
  61. package/dist/chunk-EC4DGRN6.cjs.map +0 -1
  62. /package/dist/{chunk-ZW3NHMG7.js.map → chunk-2MLMZAK4.js.map} +0 -0
  63. /package/dist/{chunk-OD3BEWDQ.js.map → chunk-47JZOP7Y.js.map} +0 -0
  64. /package/dist/{chunk-BJ6JXN5Z.js.map → chunk-4D37W55K.js.map} +0 -0
  65. /package/dist/{chunk-L7BROXZ7.js.map → chunk-6W54MBU2.js.map} +0 -0
  66. /package/dist/{chunk-UO27TVAO.js.map → chunk-MOOV4ORG.js.map} +0 -0
  67. /package/dist/{chunk-XKVSR3IV.js.map → chunk-TK6OABYF.js.map} +0 -0
  68. /package/dist/{chunk-JWX6NIQ4.js.map → chunk-VFIWQGJZ.js.map} +0 -0
  69. /package/dist/{chunk-E2LC43T3.js.map → chunk-VY5YF4B7.js.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  SelectValue,
13
13
  Textarea,
14
14
  useChatAttachments
15
- } from "./chunk-NH2RY6VM.js";
15
+ } from "./chunk-7U4YFQX2.js";
16
16
  import {
17
17
  useContactSubmission,
18
18
  useHumanitySignals
@@ -372,4 +372,4 @@ function ContactForm({
372
372
  export {
373
373
  ContactForm
374
374
  };
375
- //# sourceMappingURL=chunk-ZW3NHMG7.js.map
375
+ //# sourceMappingURL=chunk-2MLMZAK4.js.map
@@ -6,7 +6,7 @@ import {
6
6
  resolveExternalNavigation,
7
7
  resolveSourceIcon,
8
8
  stripSameOriginToPath
9
- } from "./chunk-NH2RY6VM.js";
9
+ } from "./chunk-7U4YFQX2.js";
10
10
  import {
11
11
  contentFetch,
12
12
  useDebounce
@@ -347,4 +347,4 @@ export {
347
347
  resolveSearchResultAction,
348
348
  useDocSearch
349
349
  };
350
- //# sourceMappingURL=chunk-OD3BEWDQ.js.map
350
+ //# sourceMappingURL=chunk-47JZOP7Y.js.map
@@ -3,11 +3,11 @@ import {
3
3
  FileDownloadCard,
4
4
  GoogleSheetsViewer,
5
5
  PdfViewer
6
- } from "./chunk-L7BROXZ7.js";
6
+ } from "./chunk-6W54MBU2.js";
7
7
  import {
8
8
  DocSearchBar,
9
9
  useDocSearch
10
- } from "./chunk-OD3BEWDQ.js";
10
+ } from "./chunk-47JZOP7Y.js";
11
11
  import {
12
12
  DEFAULT_FOLDER_INDEX_FILE,
13
13
  FigmaEmbed,
@@ -19,7 +19,7 @@ import {
19
19
  findDocNodeByPath,
20
20
  getDocAncestorNodeIds,
21
21
  stripFolderIndexFromPath
22
- } from "./chunk-NH2RY6VM.js";
22
+ } from "./chunk-7U4YFQX2.js";
23
23
  import {
24
24
  HUB_HEADER_OFFSET_PX,
25
25
  contentFetch,
@@ -1866,4 +1866,4 @@ export {
1866
1866
  EmbedSkeleton,
1867
1867
  DocsHubPage
1868
1868
  };
1869
- //# sourceMappingURL=chunk-BJ6JXN5Z.js.map
1869
+ //# sourceMappingURL=chunk-4D37W55K.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatFileSize,
5
5
  toGoogleSheetsEmbedUrl,
6
6
  toGoogleSheetsOriginalUrl
7
- } from "./chunk-NH2RY6VM.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-L7BROXZ7.js.map
144
+ //# sourceMappingURL=chunk-6W54MBU2.js.map
@@ -24864,14 +24864,14 @@ function PushButtonSelector({
24864
24864
  const getSelectedOptions = () => options.filter((option) => validSelectedIds.includes(option.id));
24865
24865
  const renderOption = (option) => {
24866
24866
  const isSelected = validSelectedIds.includes(option.id);
24867
- return /* @__PURE__ */ jsx186(
24867
+ const optionEl = /* @__PURE__ */ jsx186(
24868
24868
  "div",
24869
24869
  {
24870
24870
  className: `
24871
24871
  p-4 rounded-lg border transition-all duration-200 group
24872
- ${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"}
24873
24873
  `,
24874
- onClick: () => !option.disabled && toggleSelection(option.id),
24874
+ onClick: () => (!option.disabled || isSelected) && toggleSelection(option.id),
24875
24875
  children: /* @__PURE__ */ jsxs145("div", { className: "flex items-center justify-between gap-4", children: [
24876
24876
  /* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
24877
24877
  option.icon && /* @__PURE__ */ jsx186("div", { className: `flex-shrink-0 transition-transform duration-200 ${isSelected ? "scale-110" : "group-hover:scale-105"}`, children: option.icon }),
@@ -24888,6 +24888,13 @@ function PushButtonSelector({
24888
24888
  },
24889
24889
  option.id
24890
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;
24891
24898
  };
24892
24899
  const renderOptionsContent = () => {
24893
24900
  if (!sections || sections.length === 0) {
@@ -24921,7 +24928,7 @@ function PushButtonSelector({
24921
24928
  ungroupedOptions.length > 0 && /* @__PURE__ */ jsx186("div", { className: "space-y-2", children: ungroupedOptions.map(renderOption) })
24922
24929
  ] });
24923
24930
  };
24924
- 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: [
24925
24932
  title && /* @__PURE__ */ jsx186("h3", { className: "text-h5 text-ods-text-primary", children: title }),
24926
24933
  renderOptionsContent(),
24927
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: [
@@ -24945,7 +24952,7 @@ function PushButtonSelector({
24945
24952
  ] }),
24946
24953
  helpText && /* @__PURE__ */ jsx186("div", { className: "text-[12px] text-ods-text-secondary font-['DM_Sans']", children: helpText }),
24947
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" }) })
24948
- ] });
24955
+ ] }) });
24949
24956
  }
24950
24957
 
24951
24958
  // src/components/features/release-media-manager.tsx
@@ -49077,4 +49084,4 @@ export {
49077
49084
  LogsList,
49078
49085
  assets
49079
49086
  };
49080
- //# sourceMappingURL=chunk-NH2RY6VM.js.map
49087
+ //# sourceMappingURL=chunk-7U4YFQX2.js.map