@flamingo-stack/openframe-frontend-core 0.0.548 → 0.0.549-1808.4785.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 (99) hide show
  1. package/dist/{chunk-I5AVSFMX.js → chunk-5AFOMTZZ.js} +6 -6
  2. package/dist/{chunk-UYH2NLM4.cjs → chunk-7JLNQ2LA.cjs} +4 -4
  3. package/dist/{chunk-UYH2NLM4.cjs.map → chunk-7JLNQ2LA.cjs.map} +1 -1
  4. package/dist/{chunk-FORSAXLQ.js → chunk-AABXUR27.js} +2 -2
  5. package/dist/{chunk-DSOJBDJ2.js → chunk-CKBQMO4Y.js} +3 -3
  6. package/dist/{chunk-2XBUB2OM.js → chunk-D342GZWX.js} +4 -4
  7. package/dist/{chunk-7NWFATGX.js → chunk-EYF2PTSM.js} +2 -2
  8. package/dist/{chunk-2JFML4CT.cjs → chunk-G4EYSPMG.cjs} +61 -61
  9. package/dist/{chunk-2JFML4CT.cjs.map → chunk-G4EYSPMG.cjs.map} +1 -1
  10. package/dist/{chunk-WLDFAJDL.js → chunk-GQH3AGTY.js} +2 -2
  11. package/dist/{chunk-NFUVR7OE.cjs → chunk-HK7PQ64P.cjs} +5 -5
  12. package/dist/{chunk-NFUVR7OE.cjs.map → chunk-HK7PQ64P.cjs.map} +1 -1
  13. package/dist/{chunk-HLJXBIQT.js → chunk-HXZ6YYXZ.js} +6 -6
  14. package/dist/{chunk-4S6HEFR7.cjs → chunk-I3U42G3E.cjs} +97 -97
  15. package/dist/{chunk-4S6HEFR7.cjs.map → chunk-I3U42G3E.cjs.map} +1 -1
  16. package/dist/{chunk-53WLIAKO.cjs → chunk-I4ZJKC37.cjs} +37 -37
  17. package/dist/{chunk-53WLIAKO.cjs.map → chunk-I4ZJKC37.cjs.map} +1 -1
  18. package/dist/{chunk-QUPQLQ4R.cjs → chunk-IU6D4HAU.cjs} +115 -115
  19. package/dist/{chunk-QUPQLQ4R.cjs.map → chunk-IU6D4HAU.cjs.map} +1 -1
  20. package/dist/{chunk-5UBALP5G.js → chunk-JYFDOTEE.js} +4 -4
  21. package/dist/{chunk-64FJ5QLI.js → chunk-KG3LUSWJ.js} +2 -2
  22. package/dist/{chunk-3NECEXDF.cjs → chunk-KGMOXLYO.cjs} +7 -2
  23. package/dist/chunk-KGMOXLYO.cjs.map +1 -0
  24. package/dist/{chunk-XDPVVHBF.js → chunk-M6QFDPLV.js} +2 -2
  25. package/dist/{chunk-CZGRFEDX.cjs → chunk-MEWNZFX4.cjs} +31 -31
  26. package/dist/{chunk-CZGRFEDX.cjs.map → chunk-MEWNZFX4.cjs.map} +1 -1
  27. package/dist/{chunk-UHP554ZG.cjs → chunk-NGKHOTSP.cjs} +7 -7
  28. package/dist/{chunk-UHP554ZG.cjs.map → chunk-NGKHOTSP.cjs.map} +1 -1
  29. package/dist/{chunk-4TPHYUPY.cjs → chunk-OTVIDETC.cjs} +9 -9
  30. package/dist/{chunk-4TPHYUPY.cjs.map → chunk-OTVIDETC.cjs.map} +1 -1
  31. package/dist/{chunk-V7WUMODL.cjs → chunk-PZYHSHF5.cjs} +3 -3
  32. package/dist/{chunk-V7WUMODL.cjs.map → chunk-PZYHSHF5.cjs.map} +1 -1
  33. package/dist/{chunk-57V3X73U.cjs → chunk-Q7AMYZLL.cjs} +27 -27
  34. package/dist/{chunk-57V3X73U.cjs.map → chunk-Q7AMYZLL.cjs.map} +1 -1
  35. package/dist/{chunk-XCJPDYKU.js → chunk-QU6L2DKT.js} +2 -2
  36. package/dist/{chunk-27OKD7ZV.js → chunk-QX5AXGLP.js} +7 -2
  37. package/dist/chunk-QX5AXGLP.js.map +1 -0
  38. package/dist/{chunk-343RZD5C.cjs → chunk-RTCJSXKP.cjs} +11 -11
  39. package/dist/{chunk-343RZD5C.cjs.map → chunk-RTCJSXKP.cjs.map} +1 -1
  40. package/dist/{chunk-APKL3K57.js → chunk-SHE5KQTW.js} +2 -2
  41. package/dist/{chunk-WGJFHOU4.cjs → chunk-SHIS6JEK.cjs} +29 -29
  42. package/dist/{chunk-WGJFHOU4.cjs.map → chunk-SHIS6JEK.cjs.map} +1 -1
  43. package/dist/{chunk-77NHAQIC.cjs → chunk-TZ7D4TED.cjs} +14 -14
  44. package/dist/{chunk-77NHAQIC.cjs.map → chunk-TZ7D4TED.cjs.map} +1 -1
  45. package/dist/{chunk-KMOPF7BT.js → chunk-YX5KQZIT.js} +2 -2
  46. package/dist/{chunk-77C6Q622.js → chunk-ZX5Z3SHR.js} +2 -2
  47. package/dist/components/case-studies/index.cjs +9 -9
  48. package/dist/components/case-studies/index.js +3 -3
  49. package/dist/components/chat/index.cjs +3 -3
  50. package/dist/components/chat/index.js +2 -2
  51. package/dist/components/contact/index.cjs +4 -4
  52. package/dist/components/contact/index.js +3 -3
  53. package/dist/components/docs/index.cjs +6 -6
  54. package/dist/components/docs/index.js +5 -5
  55. package/dist/components/embeds/index.cjs +4 -4
  56. package/dist/components/embeds/index.js +3 -3
  57. package/dist/components/faq/index.cjs +4 -4
  58. package/dist/components/faq/index.js +3 -3
  59. package/dist/components/features/index.cjs +3 -3
  60. package/dist/components/features/index.js +2 -2
  61. package/dist/components/help-center-pages/index.cjs +23 -23
  62. package/dist/components/help-center-pages/index.js +14 -14
  63. package/dist/components/index.cjs +140 -140
  64. package/dist/components/index.js +12 -12
  65. package/dist/components/meeting-scheduler/index.cjs +59 -59
  66. package/dist/components/meeting-scheduler/index.js +4 -4
  67. package/dist/components/navigation/index.cjs +3 -3
  68. package/dist/components/navigation/index.js +2 -2
  69. package/dist/components/onboarding-guides/index.cjs +6 -6
  70. package/dist/components/onboarding-guides/index.js +5 -5
  71. package/dist/components/related-content/index.cjs +4 -4
  72. package/dist/components/related-content/index.js +3 -3
  73. package/dist/components/tickets/index.cjs +7 -7
  74. package/dist/components/tickets/index.js +6 -6
  75. package/dist/components/ui/field-wrapper.d.ts.map +1 -1
  76. package/dist/components/ui/file-manager/index.cjs +36 -36
  77. package/dist/components/ui/file-manager/index.js +1 -1
  78. package/dist/components/ui/index.cjs +3 -3
  79. package/dist/components/ui/index.js +2 -2
  80. package/dist/index.cjs +3 -3
  81. package/dist/index.js +2 -2
  82. package/package.json +1 -1
  83. package/src/components/ui/field-wrapper.tsx +6 -1
  84. package/dist/chunk-27OKD7ZV.js.map +0 -1
  85. package/dist/chunk-3NECEXDF.cjs.map +0 -1
  86. /package/dist/{chunk-I5AVSFMX.js.map → chunk-5AFOMTZZ.js.map} +0 -0
  87. /package/dist/{chunk-FORSAXLQ.js.map → chunk-AABXUR27.js.map} +0 -0
  88. /package/dist/{chunk-DSOJBDJ2.js.map → chunk-CKBQMO4Y.js.map} +0 -0
  89. /package/dist/{chunk-2XBUB2OM.js.map → chunk-D342GZWX.js.map} +0 -0
  90. /package/dist/{chunk-7NWFATGX.js.map → chunk-EYF2PTSM.js.map} +0 -0
  91. /package/dist/{chunk-WLDFAJDL.js.map → chunk-GQH3AGTY.js.map} +0 -0
  92. /package/dist/{chunk-HLJXBIQT.js.map → chunk-HXZ6YYXZ.js.map} +0 -0
  93. /package/dist/{chunk-5UBALP5G.js.map → chunk-JYFDOTEE.js.map} +0 -0
  94. /package/dist/{chunk-64FJ5QLI.js.map → chunk-KG3LUSWJ.js.map} +0 -0
  95. /package/dist/{chunk-XDPVVHBF.js.map → chunk-M6QFDPLV.js.map} +0 -0
  96. /package/dist/{chunk-XCJPDYKU.js.map → chunk-QU6L2DKT.js.map} +0 -0
  97. /package/dist/{chunk-APKL3K57.js.map → chunk-SHE5KQTW.js.map} +0 -0
  98. /package/dist/{chunk-KMOPF7BT.js.map → chunk-YX5KQZIT.js.map} +0 -0
  99. /package/dist/{chunk-77C6Q622.js.map → chunk-ZX5Z3SHR.js.map} +0 -0
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  ArticleAuthorByline,
4
4
  DetailPageSkeleton
5
- } from "./chunk-XCJPDYKU.js";
5
+ } from "./chunk-QU6L2DKT.js";
6
6
  import {
7
7
  DocSearchBar,
8
8
  useDocSearch
9
- } from "./chunk-7NWFATGX.js";
9
+ } from "./chunk-EYF2PTSM.js";
10
10
  import {
11
11
  useSelfFetch
12
12
  } from "./chunk-LQPHB2YF.js";
@@ -26,7 +26,7 @@ import {
26
26
  resolveContentHref,
27
27
  toStripProfile,
28
28
  useVideoWarmup
29
- } from "./chunk-KMOPF7BT.js";
29
+ } from "./chunk-YX5KQZIT.js";
30
30
  import {
31
31
  buildOgPlaceholderUrl
32
32
  } from "./chunk-4A736Z6S.js";
@@ -398,4 +398,4 @@ export {
398
398
  useOnboardingGuide,
399
399
  useOnboardingGuideSections
400
400
  };
401
- //# sourceMappingURL=chunk-5UBALP5G.js.map
401
+ //# sourceMappingURL=chunk-JYFDOTEE.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatFileSize,
5
5
  toGoogleSheetsEmbedUrl,
6
6
  toGoogleSheetsOriginalUrl
7
- } from "./chunk-KMOPF7BT.js";
7
+ } from "./chunk-YX5KQZIT.js";
8
8
  import {
9
9
  AdobePdfIcon,
10
10
  GoogleSheetsIcon
@@ -134,4 +134,4 @@ export {
134
134
  GoogleSheetsViewer,
135
135
  FileDownloadCard
136
136
  };
137
- //# sourceMappingURL=chunk-64FJ5QLI.js.map
137
+ //# sourceMappingURL=chunk-KG3LUSWJ.js.map
@@ -21,7 +21,12 @@ var FieldWrapper = React.forwardRef(
21
21
  ({ label, error, errorVariant = "error", className, children }, ref) => {
22
22
  const hasChrome = label != null || error != null;
23
23
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunkKI4EGKNVcjs.cn.call(void 0, hasChrome ? "relative flex w-full flex-col" : "contents", className), children: [
24
- label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "text-h4 text-ods-text-primary mb-1", children: label }),
24
+ label && // text-h6, NOT text-h4: `Field` (ui/field.tsx) renders its label via
25
+ // `Label variant="small"` = text-h6, and every form that mixes
26
+ // Field-wrapped controls with `label=`-prop controls showed two label
27
+ // sizes side by side — the exact inconsistency the admin editors kept
28
+ // reporting. One label scale, owned here and in Field together.
29
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "text-h6 text-ods-text-primary mb-1", children: label }),
25
30
  children,
26
31
  error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "absolute bottom-0 left-0 right-0 translate-y-full text-h6 truncate", errorVariantClasses[errorVariant]), title: error, children: error })
27
32
  ] });
@@ -515,4 +520,4 @@ SkeletonNavigation.displayName = "SkeletonNavigation";
515
520
 
516
521
 
517
522
  exports.FieldWrapper = FieldWrapper; exports.Input = Input; exports.Checkbox = Checkbox; exports.PortalContainerContext = PortalContainerContext; exports.usePortalContainer = usePortalContainer; exports.CollisionBoundaryContext = CollisionBoundaryContext; exports.useCollisionBoundary = useCollisionBoundary; exports.COLLISION_PADDING_PX = COLLISION_PADDING_PX; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Skeleton = Skeleton; exports.SkeletonText = SkeletonText; exports.SkeletonCard = SkeletonCard; exports.SkeletonGrid = SkeletonGrid; exports.SkeletonButton = SkeletonButton; exports.SkeletonHeading = SkeletonHeading; exports.SkeletonList = SkeletonList; exports.SkeletonNavigation = SkeletonNavigation;
518
- //# sourceMappingURL=chunk-3NECEXDF.cjs.map
523
+ //# sourceMappingURL=chunk-KGMOXLYO.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-KGMOXLYO.cjs","../src/components/ui/field-wrapper.tsx","../src/components/ui/input.tsx","../src/components/ui/checkbox.tsx","../src/components/ui/dropdown-menu.tsx","../src/components/ui/portal-container.tsx","../src/components/ui/skeleton.tsx"],"names":["jsx","jsxs"],"mappings":"AAAA,2cAAY;AACZ;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACA;ACNA,uCAAA,CAAA;AADA,iTAAuB;AAoCjB,+CAAA;AAZN,IAAM,oBAAA,EAAsB;AAAA,EAC1B,KAAA,EAAO,gBAAA;AAAA,EACP,OAAA,EAAS,kBAAA;AAAA,EACT,OAAA,EAAS,kBAAA;AAAA,EACT,KAAA,EAAO;AACT,CAAA;AAEA,IAAM,aAAA,EAAqB,KAAA,CAAA,UAAA;AAAA,EACzB,CAAC,EAAE,KAAA,EAAO,KAAA,EAAO,aAAA,EAAe,OAAA,EAAS,SAAA,EAAW,SAAS,CAAA,EAAG,GAAA,EAAA,GAAQ;AACtE,IAAA,MAAM,UAAA,EAAY,MAAA,GAAS,KAAA,GAAQ,MAAA,GAAS,IAAA;AAE5C,IAAA,uBACE,8BAAA,KAAC,EAAA,EAAI,GAAA,EAAU,SAAA,EAAW,kCAAA,UAAG,EAAY,gCAAA,EAAkC,UAAA,EAAY,SAAS,CAAA,EAC7F,QAAA,EAAA;AAAA,MAAA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAMC,6BAAA,OAAC,EAAA,EAAM,SAAA,EAAU,oCAAA,EACd,QAAA,EAAA,MAAA,CACH,CAAA;AAAA,MAED,QAAA;AAAA,MACA,MAAA,mBACC,6BAAA,GAAC,EAAA,EAAE,SAAA,EAAW,kCAAA,oEAAG,EAAsE,mBA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AQ,MAAM,CAAC,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,EAAG,CAAA,EAAA,mBACrCA,6BAAAA,QAAC,EAAA,EAAiB,SAAA,EAAU,WAAA,CAAA,EAAb,CAAwB,CACxC,EAAA,CACH,CAAA;AAAA,EAEJ;AACF,CAAA;AACA,kBAAA,CAAmB,YAAA,EAAc,oBAAA;ANyRjC;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,45CAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-KGMOXLYO.cjs","sourcesContent":[null,"\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"../../utils/cn\"\n\nexport interface FieldWrapperProps {\n /** Label text displayed above the field */\n label?: string\n /**\n * Status message displayed below the field, on ONE line, ellipsized on\n * overflow (full text via the native `title`).\n *\n * It is positioned OUT OF FLOW (absolute, hanging below the wrapper), so it\n * never changes the field's height when it appears — the same treatment\n * `CheckboxBlock` uses. The trade is that it overlaps whatever sits directly\n * below: a form stacking fields needs at least ~20px of vertical gap (e.g.\n * `gap-[var(--spacing-system-lf)]`) for the message to land in clear space.\n */\n error?: string\n /** Color variant for the message: \"error\" (red), \"warning\" (yellow), \"success\" (green) or \"muted\" (grey) */\n errorVariant?: \"error\" | \"warning\" | \"success\" | \"muted\"\n /** Additional className for the outer wrapper */\n className?: string\n children: React.ReactNode\n}\n\nconst errorVariantClasses = {\n error: \"text-ods-error\",\n warning: \"text-ods-warning\",\n success: \"text-ods-success\",\n muted: \"text-ods-text-secondary\",\n} as const\n\nconst FieldWrapper = React.forwardRef<HTMLDivElement, FieldWrapperProps>(\n ({ label, error, errorVariant = \"error\", className, children }, ref) => {\n const hasChrome = label != null || error != null\n\n return (\n <div ref={ref} className={cn(hasChrome ? \"relative flex w-full flex-col\" : \"contents\", className)}>\n {label && (\n // text-h6, NOT text-h4: `Field` (ui/field.tsx) renders its label via\n // `Label variant=\"small\"` = text-h6, and every form that mixes\n // Field-wrapped controls with `label=`-prop controls showed two label\n // sizes side by side — the exact inconsistency the admin editors kept\n // reporting. One label scale, owned here and in Field together.\n <label className=\"text-h6 text-ods-text-primary mb-1\">\n {label}\n </label>\n )}\n {children}\n {error && (\n <p className={cn(\"absolute bottom-0 left-0 right-0 translate-y-full text-h6 truncate\", errorVariantClasses[errorVariant])} title={error}>\n {error}\n </p>\n )}\n </div>\n )\n }\n)\nFieldWrapper.displayName = \"FieldWrapper\"\n\nexport { FieldWrapper }\n","\"use client\"\n\nimport * as React from \"react\";\n\nimport { Loader2 } from \"lucide-react\";\nimport { cn } from \"../../utils/cn\";\nimport { FieldWrapper } from \"./field-wrapper\";\n\nexport interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {\n /** When true, renders error border & ring */\n invalid?: boolean;\n /** Element displayed at the start (left) of the input */\n startAdornment?: React.ReactNode;\n /** Element displayed at the end (right) of the input */\n endAdornment?: React.ReactNode;\n /** Label text displayed above the input */\n label?: string;\n /** Status message displayed below the input */\n error?: string;\n /** Color variant for the message: \"error\" (red), \"warning\" (yellow), \"success\" (green) or \"muted\" (grey).\n Only \"error\" and \"warning\" mark the field invalid (colored border). */\n errorVariant?: \"error\" | \"warning\" | \"success\" | \"muted\";\n /** When true, shows a loading spinner as end adornment */\n loading?: boolean;\n}\n\nconst invalidBorderClasses = {\n error: \"border-ods-error hover:border-ods-error has-[:focus]:border-ods-error\",\n warning: \"!border-ods-warning hover:!border-ods-warning has-[:focus]:!border-ods-warning\",\n} as const;\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, invalid = false, startAdornment, endAdornment, label, error, errorVariant = \"error\", loading = false, ...props }, ref) => {\n // success/muted are informational — they never paint the invalid border\n const variantIsInvalid = errorVariant === \"error\" || errorVariant === \"warning\"\n const isInvalid = invalid || (!!error && variantIsInvalid)\n\n // Range inputs get a clean slider rendering — no label wrapper, borders, or adornments\n if (type === 'range') {\n const rangeInput = (\n <input\n type=\"range\"\n className={cn(\n \"w-full cursor-pointer appearance-none rounded-full bg-white/30 h-1\",\n // Webkit (Chrome/Safari) thumb\n \"[&::-webkit-slider-thumb]:appearance-none\",\n \"[&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3\",\n \"[&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white\",\n \"[&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:shadow-sm\",\n // Firefox thumb\n \"[&::-moz-range-thumb]:w-3 [&::-moz-range-thumb]:h-3\",\n \"[&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white\",\n \"[&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:cursor-pointer\",\n // Firefox track\n \"[&::-moz-range-track]:bg-transparent\",\n // Disabled\n \"disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n ref={ref}\n {...props}\n />\n )\n return label ? (\n <FieldWrapper label={label} error={error} errorVariant={errorVariant}>\n {rangeInput}\n </FieldWrapper>\n ) : rangeInput\n }\n\n const content = (\n <label\n data-invalid={isInvalid || undefined}\n className={cn(\n // Layout & spacing\n \"flex w-full items-center gap-2 rounded-[6px] border px-3 h-11 md:h-12 cursor-text\",\n // Focus-within states\n \"has-[:focus-visible]:outline-none\",\n \"group\",\n // Animations & touch UX\n \"transition-colors duration-200\",\n // Theme palette\n \"bg-ods-card border-ods-border has-[:focus]:border-ods-accent\",\n // Hover & active (not disabled)\n !props.disabled && \"hover:bg-ods-bg-hover hover:border-ods-border-hover active:bg-ods-bg-active active:border-ods-border-active\",\n // Disabled. The adornments (and any icon inside them) carry their own\n // `text-ods-text-secondary`, so grey them from here — a disabled field\n // must read as one flat colour, not grey text next to a live icon.\n // Scoped to the DIRECT span children (the two adornment wrappers): a\n // descendant rule would also repaint whatever the caller renders INSIDE\n // an adornment, which is passed verbatim precisely so it can own its\n // colour (a `Tag` there went invisible against its own fill).\n props.disabled && \"!cursor-not-allowed bg-ods-bg\",\n \"has-[:disabled]:[&>span]:text-ods-text-disabled has-[:disabled]:[&_svg]:text-ods-text-disabled\",\n // Invalid\n isInvalid && invalidBorderClasses[variantIsInvalid ? (errorVariant as \"error\" | \"warning\") : \"error\"],\n className\n )}\n >\n {startAdornment && (\n <span className=\"text-h6 flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent group-data-[invalid]:text-ods-error [&_svg]:size-4 md:[&_svg]:size-6\">\n {startAdornment}\n </span>\n )}\n <input\n type={type}\n className={cn(\n // Layout\n \"flex-1 min-w-0 bg-transparent border-none outline-none\",\n // Typography\n \"text-h4\",\n // Colors\n \"text-ods-text-primary placeholder:text-ods-text-secondary\",\n // File input adjustments\n \"file:border-0 file:bg-transparent\",\n // Disabled\n \"disabled:cursor-not-allowed disabled:text-ods-text-disabled disabled:placeholder:text-ods-border\",\n // Touch\n \"touch-manipulation\",\n // Autofill override\n \"[&:-webkit-autofill]:[-webkit-box-shadow:0_0_0_9999px_transparent_inset] [&:-webkit-autofill]:[-webkit-text-fill-color:var(--color-text-primary)] [&:-webkit-autofill]:[caret-color:var(--color-text-primary)] [&:-webkit-autofill]:[transition:background-color_9999s_ease-in-out_0s]\"\n )}\n ref={ref}\n {...props}\n />\n {loading && (\n <Loader2 className=\"animate-spin flex-shrink-0 text-ods-text-secondary size-4 md:size-6\" />\n )}\n {!loading && endAdornment && (\n <span className=\"text-h6 flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent group-data-[invalid]:text-ods-error [&_svg]:size-4 md:[&_svg]:size-6\">\n {endAdornment}\n </span>\n )}\n </label>\n )\n\n return (\n <FieldWrapper label={label} error={error} errorVariant={errorVariant}>\n {content}\n </FieldWrapper>\n )\n }\n)\nInput.displayName = \"Input\"\n\nexport { Input };\n","\"use client\"\n\nimport * as React from \"react\"\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\"\n\nimport { cn } from \"../../utils/cn\"\nimport { CheckboxCheckmarkIcon } from \"../icons-v2-generated/signs-and-symbols/checkbox-checkmark-icon\"\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n \"peer h-4 w-4 shrink-0 rounded-sm border border-ods-border bg-ods-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-ods-accent data-[state=checked]:border-ods-accent\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn(\"flex items-center justify-center text-ods-text-on-accent\")}\n >\n <CheckboxCheckmarkIcon size={10} />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n))\nCheckbox.displayName = CheckboxPrimitive.Root.displayName\n\nexport { Checkbox }\n","\"use client\"\n\nimport * as React from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\n\nimport { cn } from \"../../utils/cn\"\nimport {\n COLLISION_PADDING_PX,\n useCollisionBoundary,\n usePortalContainer,\n} from \"./portal-container\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n \"flex cursor-pointer gap-2 select-none items-center rounded-sm px-2 py-1.5 text-h6 outline-none hover:bg-ods-bg-hover focus:bg-ods-bg-hover data-[state=open]:bg-ods-bg-hover [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, collisionBoundary, collisionPadding, hideWhenDetached, ...props }, ref) => {\n // Same container as the root content — `DropdownMenuContent` portals, and a\n // submenu left un-portaled inherits whatever clipping/stacking context its\n // parent sits in instead of the one the host published. (The hand-rolled\n // submenu in `actions-menu` already portals; this keeps the shared primitive\n // consistent with both.)\n const container = usePortalContainer()\n // Same boundary as the root content — a submenu must not escape the surface\n // its parent menu is confined to.\n const boundary = useCollisionBoundary()\n const resolvedBoundary = collisionBoundary ?? boundary ?? undefined\n return (\n <DropdownMenuPrimitive.Portal container={container ?? undefined}>\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n collisionBoundary={resolvedBoundary}\n collisionPadding={collisionPadding ?? (resolvedBoundary ? COLLISION_PADDING_PX : undefined)}\n // Only defaulted ON where a boundary was published (i.e. inside a panel\n // that owns its menus) — see `DropdownMenuContent`.\n hideWhenDetached={hideWhenDetached ?? (resolvedBoundary ? true : undefined)}\n className={cn(\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n )\n})\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({\n className,\n sideOffset = 4,\n collisionBoundary,\n collisionPadding,\n hideWhenDetached,\n ...props\n}, ref) => {\n // Portal into the active container (e.g. a drawer) so the menu inherits its\n // stacking context; falls back to `document.body` when none is provided.\n const container = usePortalContainer()\n // Keep flip/shift inside the surface that owns the menu. Without this Radix\n // collides against the VIEWPORT, so a menu opened near the top of the chat\n // panel grows upward past the panel and lands over the app header. An\n // explicit prop still wins; no provider → viewport, Radix's own default.\n const boundary = useCollisionBoundary()\n const resolvedBoundary = collisionBoundary ?? boundary ?? undefined\n return (\n <DropdownMenuPrimitive.Portal container={container ?? undefined}>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n collisionBoundary={resolvedBoundary}\n collisionPadding={collisionPadding ?? (resolvedBoundary ? COLLISION_PADDING_PX : undefined)}\n // A menu tracks its trigger for as long as it is open. When the trigger\n // scrolls out of its clipping ancestor — a chat card carried away by the\n // thread's auto-scroll while the menu is open — Radix keeps the menu\n // pinned to that off-screen anchor, so it slides to the surface edge and\n // reads as a detached popup floating over unrelated chrome.\n // `hideWhenDetached` makes it disappear with its trigger instead.\n //\n // Defaulted ON only where a boundary was published. This is a SHARED\n // primitive: flipping it on globally would change dismissal behavior for\n // every dropdown in every consumer, and the detached-popup problem it\n // solves is specific to a menu living inside a scrolling panel.\n hideWhenDetached={hideWhenDetached ?? (resolvedBoundary ? true : undefined)}\n className={cn(\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border border-ods-border bg-ods-card p-1 text-ods-text-primary shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n )\n})\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n \"relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-h6 outline-none transition-colors text-ods-text-primary hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n \"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-h6 outline-none transition-colors text-ods-text-primary hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n \"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-h6 outline-none transition-colors text-ods-text-primary hover:bg-ods-bg-hover hover:text-ods-text-primary focus:bg-ods-bg-hover focus:text-ods-text-primary data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"h-2 w-2 fill-ods-accent\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(\n \"px-2 py-1.5 text-h6 font-semibold text-ods-text-secondary\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 my-1 h-px bg-ods-border\", className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn(\"ml-auto text-h6 text-ods-text-secondary opacity-60\", className)}\n {...props}\n />\n )\n}\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n","'use client'\n\nimport * as React from 'react'\n\n/**\n * The DOM node that Radix overlays (dropdown menus, tooltips) should portal\n * into, instead of the default `document.body`.\n *\n * Portaling to `document.body` lifts content out of every local stacking\n * context, which forces overlays opened *inside* a high-z surface (e.g. the\n * chat drawer) to escalate their own z-index to compete at the document\n * root. Pointing the portal at a node *inside* that surface instead\n * lets the content inherit the surface's stacking context — small, local\n * z-indices then \"just work\" and no escalation is needed. Radix positions\n * content with `strategy: \"fixed\"`, so it still escapes ancestor\n * `overflow: hidden` clipping regardless of where it is portaled.\n *\n * Default `null` → Radix falls back to `document.body` (unchanged behaviour\n * everywhere a provider isn't present).\n */\nexport const PortalContainerContext = React.createContext<HTMLElement | null>(\n null,\n)\n\n/** Read the active portal container (or `null` to use `document.body`). */\nexport function usePortalContainer(): HTMLElement | null {\n return React.useContext(PortalContainerContext)\n}\n\n/**\n * The element Radix overlays should treat as their COLLISION boundary — the\n * surface they must stay inside of.\n *\n * Separate from {@link PortalContainerContext} on purpose: the portal target is\n * a `display: contents` node (no box, so it can't be measured), while a\n * collision boundary must be a real, laid-out element.\n *\n * Why it matters: Radix positions overlays `position: fixed` and, by default,\n * flips/shifts them against the VIEWPORT. A menu opened near the top of a\n * panel therefore happily grows upward past the panel's edge and lands on top\n * of the app header — visually detached from the surface it belongs to. Handing\n * Radix the panel element instead keeps flip/shift (and the\n * `--radix-popper-available-height` a menu sizes itself by) inside that panel.\n *\n * Default `null` → viewport, i.e. Radix's own default, unchanged everywhere a\n * provider isn't present.\n */\nexport const CollisionBoundaryContext = React.createContext<HTMLElement | null>(\n null,\n)\n\n/** Read the active collision boundary (or `null` for the viewport). */\nexport function useCollisionBoundary(): HTMLElement | null {\n return React.useContext(CollisionBoundaryContext)\n}\n\n/** Padding (px) kept between an overlay and its boundary edge. Matches the\n * panel's own gutter so a shifted menu never sits flush against the edge. */\nexport const COLLISION_PADDING_PX = 8\n","\"use client\"\n\nimport * as React from 'react'\nimport { cn } from \"../../utils/cn\"\n\ninterface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {\n className?: string\n}\n\nconst Skeleton = React.forwardRef<HTMLDivElement, SkeletonProps>(\n ({ className, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n \"animate-pulse rounded-md bg-ods-border\",\n className\n )}\n {...props}\n />\n )\n }\n)\nSkeleton.displayName = 'Skeleton'\n\ninterface SkeletonTextProps extends React.HTMLAttributes<HTMLDivElement> {\n lines?: number\n className?: string\n}\n\nconst SkeletonText = React.forwardRef<HTMLDivElement, SkeletonTextProps>(\n ({ lines = 1, className, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(\"space-y-2\", className)} {...props}>\n {Array.from({ length: lines }).map((_, i) => (\n <Skeleton \n key={i} \n className={cn(\n \"h-4\",\n i === lines - 1 && lines > 1 && \"w-3/4\" // Last line shorter for multi-line\n )} \n />\n ))}\n </div>\n )\n }\n)\nSkeletonText.displayName = 'SkeletonText'\n\ninterface SkeletonCardProps extends React.HTMLAttributes<HTMLDivElement> {\n showImage?: boolean\n className?: string\n}\n\nconst SkeletonCard = React.forwardRef<HTMLDivElement, SkeletonCardProps>(\n ({ showImage = false, className, ...props }, ref) => {\n return (\n <div \n ref={ref}\n className={cn(\n \"rounded-lg border border-ods-border overflow-hidden\",\n className\n )}\n {...props}\n >\n {showImage && (\n <Skeleton className=\"h-48 w-full\" />\n )}\n <div className=\"p-6\">\n <Skeleton className=\"h-6 w-3/4 mb-4\" />\n <SkeletonText lines={3} />\n </div>\n </div>\n )\n }\n)\nSkeletonCard.displayName = 'SkeletonCard'\n\ninterface SkeletonGridProps extends React.HTMLAttributes<HTMLDivElement> {\n columns?: number\n items?: number\n showImages?: boolean\n className?: string\n}\n\nconst SkeletonGrid = React.forwardRef<HTMLDivElement, SkeletonGridProps>(\n ({ columns = 3, items = 6, showImages = false, className, ...props }, ref) => {\n return (\n <div \n ref={ref}\n className={cn(\n `grid grid-cols-1 gap-6`,\n columns === 2 && \"md:grid-cols-2\",\n columns === 3 && \"md:grid-cols-3\",\n columns === 4 && \"md:grid-cols-4\",\n className\n )}\n {...props}\n >\n {Array.from({ length: items }).map((_, i) => (\n <SkeletonCard key={i} showImage={showImages} />\n ))}\n </div>\n )\n }\n)\nSkeletonGrid.displayName = 'SkeletonGrid'\n\ninterface SkeletonButtonProps extends React.HTMLAttributes<HTMLDivElement> {\n size?: 'sm' | 'default' | 'lg'\n className?: string\n}\n\nconst SkeletonButton = React.forwardRef<HTMLDivElement, SkeletonButtonProps>(\n ({ size = 'default', className, ...props }, ref) => {\n const sizeClasses = {\n sm: 'h-8 w-20',\n default: 'h-10 w-32',\n lg: 'h-12 w-40'\n }\n \n return (\n <Skeleton \n ref={ref}\n className={cn(\n \"rounded-lg\",\n sizeClasses[size],\n className\n )}\n {...props}\n />\n )\n }\n)\nSkeletonButton.displayName = 'SkeletonButton'\n\ninterface SkeletonHeadingProps extends React.HTMLAttributes<HTMLDivElement> {\n level?: 1 | 2 | 3 | 4 | 5 | 6\n className?: string\n}\n\nconst SkeletonHeading = React.forwardRef<HTMLDivElement, SkeletonHeadingProps>(\n ({ level = 1, className, ...props }, ref) => {\n const heightClasses = {\n 1: 'h-12',\n 2: 'h-10',\n 3: 'h-8',\n 4: 'h-7',\n 5: 'h-6',\n 6: 'h-5'\n }\n \n return (\n <Skeleton \n ref={ref}\n className={cn(\n heightClasses[level],\n \"w-3/4\",\n className\n )}\n {...props}\n />\n )\n }\n)\nSkeletonHeading.displayName = 'SkeletonHeading'\n\ninterface SkeletonListProps extends React.HTMLAttributes<HTMLDivElement> {\n items?: number\n className?: string\n}\n\nconst SkeletonList = React.forwardRef<HTMLDivElement, SkeletonListProps>(\n ({ items = 5, className, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(\"space-y-3\", className)} {...props}>\n {Array.from({ length: items }).map((_, i) => (\n <div key={i} className=\"flex items-center gap-3\">\n <Skeleton className=\"h-10 w-10 rounded-full flex-shrink-0\" />\n <div className=\"flex-1\">\n <Skeleton className=\"h-4 w-1/3 mb-1\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n )\n }\n)\nSkeletonList.displayName = 'SkeletonList'\n\ninterface SkeletonNavigationProps extends React.HTMLAttributes<HTMLDivElement> {\n items?: number\n className?: string\n}\n\nconst SkeletonNavigation = React.forwardRef<HTMLDivElement, SkeletonNavigationProps>(\n ({ items = 6, className, ...props }, ref) => {\n return (\n <div ref={ref} className={cn(\"flex items-center gap-6\", className)} {...props}>\n {Array.from({ length: items }).map((_, i) => (\n <Skeleton key={i} className=\"h-5 w-20\" />\n ))}\n </div>\n )\n }\n)\nSkeletonNavigation.displayName = 'SkeletonNavigation'\n\nexport { \n Skeleton,\n SkeletonText,\n SkeletonCard,\n SkeletonGrid,\n SkeletonButton,\n SkeletonHeading,\n SkeletonList,\n SkeletonNavigation\n}"]}
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  init_unified_pagination,
4
4
  unified_pagination_exports
5
- } from "./chunk-77C6Q622.js";
5
+ } from "./chunk-ZX5Z3SHR.js";
6
6
  import {
7
7
  cn,
8
8
  init_cn
@@ -172,4 +172,4 @@ export {
172
172
  usePaginationLoading,
173
173
  PersistentPaginationWrapper
174
174
  };
175
- //# sourceMappingURL=chunk-XDPVVHBF.js.map
175
+ //# sourceMappingURL=chunk-M6QFDPLV.js.map
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkUHP554ZGcjs = require('./chunk-UHP554ZG.cjs');
6
+ var _chunkNGKHOTSPcjs = require('./chunk-NGKHOTSP.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunk4TPHYUPYcjs = require('./chunk-4TPHYUPY.cjs');
10
+ var _chunkOTVIDETCcjs = require('./chunk-OTVIDETC.cjs');
11
11
 
12
12
 
13
13
 
@@ -19,7 +19,7 @@ var _chunk4TPHYUPYcjs = require('./chunk-4TPHYUPY.cjs');
19
19
 
20
20
 
21
21
 
22
- var _chunkQUPQLQ4Rcjs = require('./chunk-QUPQLQ4R.cjs');
22
+ var _chunkIU6D4HAUcjs = require('./chunk-IU6D4HAU.cjs');
23
23
 
24
24
 
25
25
 
@@ -1065,8 +1065,8 @@ function findFirstDocPath(folder) {
1065
1065
  }
1066
1066
  function useDocumentTree(config, initialPath) {
1067
1067
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
1068
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkQUPQLQ4Rcjs.DEFAULT_FOLDER_INDEX_FILE));
1069
- const cleanInitialPath = _chunkQUPQLQ4Rcjs.stripFolderIndexFromPath.call(void 0,
1068
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkIU6D4HAUcjs.DEFAULT_FOLDER_INDEX_FILE));
1069
+ const cleanInitialPath = _chunkIU6D4HAUcjs.stripFolderIndexFromPath.call(void 0,
1070
1070
  _optionalChain([initialPath, 'optionalAccess', _2 => _2.replace, 'call', _3 => _3(/\/$/, "")]) || "",
1071
1071
  folderIndexFile
1072
1072
  );
@@ -1092,12 +1092,12 @@ function useDocumentTree(config, initialPath) {
1092
1092
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
1093
1093
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
1094
1094
  }
1095
- pathFromUrl = _chunkQUPQLQ4Rcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
1095
+ pathFromUrl = _chunkIU6D4HAUcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
1096
1096
  if (pathFromUrl !== selectedPathRef.current) {
1097
1097
  setSelectedPath(pathFromUrl);
1098
1098
  if (pathFromUrl) {
1099
1099
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
1100
- setExpandedNodes(new Set(_chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
1100
+ setExpandedNodes(new Set(_chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
1101
1101
  }
1102
1102
  setTimeout(() => {
1103
1103
  scrollToContent();
@@ -1112,7 +1112,7 @@ function useDocumentTree(config, initialPath) {
1112
1112
  setSelectedPath(cleanInitialPath);
1113
1113
  if (cleanInitialPath) {
1114
1114
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
1115
- setExpandedNodes(new Set(_chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
1115
+ setExpandedNodes(new Set(_chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
1116
1116
  }
1117
1117
  setTimeout(scrollToContent, 150);
1118
1118
  }, [cleanInitialPath]);
@@ -1132,7 +1132,7 @@ function useDocumentTree(config, initialPath) {
1132
1132
  if (selectedPath === "") {
1133
1133
  pathToFetch = folderIndexFile;
1134
1134
  } else {
1135
- const node = _chunkQUPQLQ4Rcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
1135
+ const node = _chunkIU6D4HAUcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
1136
1136
  if (node && node.type === "folder" && !node.hasReadme) {
1137
1137
  const firstDocPath = findFirstDocPath(node);
1138
1138
  if (!firstDocPath) {
@@ -1174,7 +1174,7 @@ function useDocumentTree(config, initialPath) {
1174
1174
  if (cleanInitialPath) {
1175
1175
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
1176
1176
  if (pathForExpansion) {
1177
- setExpandedNodes(new Set(_chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
1177
+ setExpandedNodes(new Set(_chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
1178
1178
  }
1179
1179
  } else if (result.data.length > 0) {
1180
1180
  const hasRootReadme = result.data.some(
@@ -1216,8 +1216,8 @@ function useDocumentTree(config, initialPath) {
1216
1216
  setContent(null);
1217
1217
  return;
1218
1218
  }
1219
- const probe = _chunkQUPQLQ4Rcjs.findDocNodeByPath.call(void 0,
1220
- _chunkQUPQLQ4Rcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile),
1219
+ const probe = _chunkIU6D4HAUcjs.findDocNodeByPath.call(void 0,
1220
+ _chunkIU6D4HAUcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile),
1221
1221
  structure
1222
1222
  );
1223
1223
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
@@ -1274,16 +1274,16 @@ function useDocumentTree(config, initialPath) {
1274
1274
  if (node.type === "folder") {
1275
1275
  setExpandedNodes((prev) => {
1276
1276
  if (prev.has(node.id)) {
1277
- const ancestorIds = _chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, node.path);
1277
+ const ancestorIds = _chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, node.path);
1278
1278
  ancestorIds.pop();
1279
1279
  return new Set(ancestorIds);
1280
1280
  }
1281
- return new Set(_chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, node.path));
1281
+ return new Set(_chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, node.path));
1282
1282
  });
1283
1283
  } else {
1284
1284
  const lastSlash = node.path.lastIndexOf("/");
1285
1285
  if (lastSlash > 0) {
1286
- setExpandedNodes(new Set(_chunkQUPQLQ4Rcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
1286
+ setExpandedNodes(new Set(_chunkIU6D4HAUcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
1287
1287
  }
1288
1288
  }
1289
1289
  lastFetchedPath.current = null;
@@ -1295,7 +1295,7 @@ function useDocumentTree(config, initialPath) {
1295
1295
  const hashIndex = path.indexOf("#");
1296
1296
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
1297
1297
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
1298
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _4 => _4.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkQUPQLQ4Rcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
1298
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _4 => _4.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkIU6D4HAUcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
1299
1299
  if (anchor && _optionalChain([options, 'optionalAccess', _5 => _5.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
1300
1300
  _chunk5RJUHUCIcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunk5RJUHUCIcjs.HUB_HEADER_OFFSET_PX });
1301
1301
  return;
@@ -1357,8 +1357,8 @@ function useDocumentTree(config, initialPath) {
1357
1357
  return docNavigation.register({
1358
1358
  baseRoute: normalizedBaseRoute,
1359
1359
  findNodeByPath: (path) => {
1360
- const clean = _chunkQUPQLQ4Rcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
1361
- return _nullishCoalesce(_chunkQUPQLQ4Rcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
1360
+ const clean = _chunkIU6D4HAUcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
1361
+ return _nullishCoalesce(_chunkIU6D4HAUcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
1362
1362
  },
1363
1363
  selectNode
1364
1364
  });
@@ -1531,7 +1531,7 @@ function DocViewerContent({
1531
1531
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _23 => _23.label]), () => ( "Back to home")),
1532
1532
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _24 => _24.href]), () => ( "/")))
1533
1533
  };
1534
- const docSearch = _chunk4TPHYUPYcjs.useDocSearch.call(void 0, {
1534
+ const docSearch = _chunkOTVIDETCcjs.useDocSearch.call(void 0, {
1535
1535
  source: chatSource,
1536
1536
  baseRoute,
1537
1537
  searchEndpoint,
@@ -1555,7 +1555,7 @@ function DocViewerContent({
1555
1555
  onResolveLink: resolveLink
1556
1556
  });
1557
1557
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
1558
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkQUPQLQ4Rcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _25 => _25.documentType]) : void 0;
1558
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkIU6D4HAUcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _25 => _25.documentType]) : void 0;
1559
1559
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _26 => _26.documentType]), () => ( selectedNodeDocType));
1560
1560
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
1561
1561
  const showStickyNav = isMarkdownContent;
@@ -1566,9 +1566,9 @@ function DocViewerContent({
1566
1566
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
1567
1567
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
1568
1568
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
1569
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQUPQLQ4Rcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-10", children: [
1569
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIU6D4HAUcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-10", children: [
1570
1570
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1571
- _chunk4TPHYUPYcjs.DocSearchBar,
1571
+ _chunkOTVIDETCcjs.DocSearchBar,
1572
1572
  {
1573
1573
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _30 => _30.toLowerCase, 'call', _31 => _31()]) || "documents"}...`,
1574
1574
  query: docSearch.query,
@@ -1589,7 +1589,7 @@ function DocViewerContent({
1589
1589
  !error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col lg:flex-row gap-6 lg:gap-10 items-start flex-1", children: [
1590
1590
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full lg:w-[320px] lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "lg:sticky lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1591
1591
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1592
- _chunkQUPQLQ4Rcjs.MobileNavigationDropdown,
1592
+ _chunkIU6D4HAUcjs.MobileNavigationDropdown,
1593
1593
  {
1594
1594
  nodes: structure,
1595
1595
  selectedPath,
@@ -1603,7 +1603,7 @@ function DocViewerContent({
1603
1603
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
1604
1604
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h5 font-semibold text-ods-text-secondary", children: sidebarLabel }),
1605
1605
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1606
- _chunkQUPQLQ4Rcjs.MultiLevelNavigation,
1606
+ _chunkIU6D4HAUcjs.MultiLevelNavigation,
1607
1607
  {
1608
1608
  nodes: structure,
1609
1609
  selectedPath,
@@ -1648,7 +1648,7 @@ function DocViewerContent({
1648
1648
  showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
1649
1649
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h5 font-semibold text-ods-text-secondary mb-4", children: "ON THIS PAGE" }),
1650
1650
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1651
- _chunkQUPQLQ4Rcjs.StickySectionNav,
1651
+ _chunkIU6D4HAUcjs.StickySectionNav,
1652
1652
  {
1653
1653
  sections: stickyNavSections,
1654
1654
  activeSection,
@@ -1663,7 +1663,7 @@ function DocViewerContent({
1663
1663
  ) })
1664
1664
  ] })
1665
1665
  ] }) }) });
1666
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQUPQLQ4Rcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
1666
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIU6D4HAUcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
1667
1667
  }
1668
1668
 
1669
1669
  // src/components/docs/skeletons.tsx
@@ -1759,11 +1759,11 @@ function EmbedSkeleton({ documentType } = {}) {
1759
1759
 
1760
1760
  var DEFAULT_TITLE = "Documents";
1761
1761
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-center py-16", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
1762
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHP554ZGcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1763
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHP554ZGcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1764
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQUPQLQ4Rcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1762
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNGKHOTSPcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1763
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNGKHOTSPcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1764
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIU6D4HAUcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1765
1765
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1766
- _chunkUHP554ZGcjs.FileDownloadCard,
1766
+ _chunkNGKHOTSPcjs.FileDownloadCard,
1767
1767
  {
1768
1768
  fileName: content.fileName,
1769
1769
  mimeType: content.mimeType,
@@ -1845,4 +1845,4 @@ function DocsHubPage({
1845
1845
 
1846
1846
 
1847
1847
  exports.PersistentFilterControls = PersistentFilterControls; exports.PersistentSearchContainer = PersistentSearchContainer; exports.PersistentSidebar = PersistentSidebar; exports.PersistentMobileDropdown = PersistentMobileDropdown; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.DocNavigationProvider = DocNavigationProvider; exports.useDocNavigation = useDocNavigation; exports.useDocumentTree = useDocumentTree; exports.useScrollSpy = useScrollSpy; exports.DocViewer = DocViewer; exports.MarkdownSkeleton = MarkdownSkeleton; exports.EmbedSkeleton = EmbedSkeleton; exports.DocsHubPage = DocsHubPage;
1848
- //# sourceMappingURL=chunk-CZGRFEDX.cjs.map
1848
+ //# sourceMappingURL=chunk-MEWNZFX4.cjs.map