@flamingo-stack/openframe-frontend-core 0.0.191 → 0.0.192-snapshot.20260518123256

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 (54) hide show
  1. package/dist/{chunk-EWIC26TW.cjs → chunk-4CWSZPXH.cjs} +8 -8
  2. package/dist/{chunk-EWIC26TW.cjs.map → chunk-4CWSZPXH.cjs.map} +1 -1
  3. package/dist/{chunk-HIMEIPED.cjs → chunk-CVMSC7M4.cjs} +38 -38
  4. package/dist/{chunk-HIMEIPED.cjs.map → chunk-CVMSC7M4.cjs.map} +1 -1
  5. package/dist/{chunk-QAXTP73H.js → chunk-E6VCRL42.js} +86 -34
  6. package/dist/chunk-E6VCRL42.js.map +1 -0
  7. package/dist/{chunk-LVBPFEK2.cjs → chunk-GMC5VU7X.cjs} +1316 -1264
  8. package/dist/chunk-GMC5VU7X.cjs.map +1 -0
  9. package/dist/{chunk-F7ETWH2M.js → chunk-N57KWHDB.js} +2 -2
  10. package/dist/{chunk-6XYXWVYY.js → chunk-PJ5KFD2V.js} +3 -3
  11. package/dist/{chunk-DV5GLSYR.js → chunk-SZPJ5R5B.js} +2 -1
  12. package/dist/{chunk-HSTU7Y4R.js → chunk-TMD44IKJ.js} +2 -2
  13. package/dist/{chunk-OFAYLG6D.cjs → chunk-UC43NICZ.cjs} +3 -2
  14. package/dist/chunk-UC43NICZ.cjs.map +1 -0
  15. package/dist/{chunk-BJTOSUT4.cjs → chunk-V2FNIPZJ.cjs} +49 -49
  16. package/dist/{chunk-BJTOSUT4.cjs.map → chunk-V2FNIPZJ.cjs.map} +1 -1
  17. package/dist/components/chat/chat-ref.types.d.ts +7 -0
  18. package/dist/components/chat/chat-ref.types.d.ts.map +1 -1
  19. package/dist/components/features/board/board.d.ts.map +1 -1
  20. package/dist/components/features/index.cjs +6 -6
  21. package/dist/components/features/index.js +5 -5
  22. package/dist/components/icons/index.cjs +3 -3
  23. package/dist/components/icons/index.js +2 -2
  24. package/dist/components/index.cjs +6 -6
  25. package/dist/components/index.js +5 -5
  26. package/dist/components/navigation/index.cjs +6 -6
  27. package/dist/components/navigation/index.js +5 -5
  28. package/dist/components/ui/file-manager/index.cjs +69 -69
  29. package/dist/components/ui/file-manager/index.js +2 -2
  30. package/dist/components/ui/index.cjs +6 -6
  31. package/dist/components/ui/index.js +5 -5
  32. package/dist/components/ui/search-input.d.ts +15 -2
  33. package/dist/components/ui/search-input.d.ts.map +1 -1
  34. package/dist/hooks/index.cjs +4 -4
  35. package/dist/hooks/index.js +3 -3
  36. package/dist/index.cjs +8 -6
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.js +8 -6
  39. package/dist/utils/index.cjs +1 -0
  40. package/dist/utils/index.d.ts +1 -1
  41. package/dist/utils/index.d.ts.map +1 -1
  42. package/dist/utils/index.js +1 -1
  43. package/package.json +1 -1
  44. package/src/components/chat/chat-ref.types.ts +7 -0
  45. package/src/components/features/board/board.tsx +64 -25
  46. package/src/components/ui/search-input.tsx +29 -5
  47. package/src/utils/index.ts +1 -1
  48. package/dist/chunk-LVBPFEK2.cjs.map +0 -1
  49. package/dist/chunk-OFAYLG6D.cjs.map +0 -1
  50. package/dist/chunk-QAXTP73H.js.map +0 -1
  51. /package/dist/{chunk-F7ETWH2M.js.map → chunk-N57KWHDB.js.map} +0 -0
  52. /package/dist/{chunk-6XYXWVYY.js.map → chunk-PJ5KFD2V.js.map} +0 -0
  53. /package/dist/{chunk-DV5GLSYR.js.map → chunk-SZPJ5R5B.js.map} +0 -0
  54. /package/dist/{chunk-HSTU7Y4R.js.map → chunk-TMD44IKJ.js.map} +0 -0
@@ -16,7 +16,7 @@ import {
16
16
  useNearViewport,
17
17
  useOnboardingState,
18
18
  useToast
19
- } from "./chunk-6XYXWVYY.js";
19
+ } from "./chunk-PJ5KFD2V.js";
20
20
  import {
21
21
  Button,
22
22
  Checkbox,
@@ -31,7 +31,7 @@ import {
31
31
  buttonVariants,
32
32
  init_button,
33
33
  init_button2
34
- } from "./chunk-HSTU7Y4R.js";
34
+ } from "./chunk-TMD44IKJ.js";
35
35
  import {
36
36
  BashIcon,
37
37
  CmdIcon,
@@ -68,12 +68,12 @@ import {
68
68
  WindowsIcon,
69
69
  XLogo,
70
70
  YouTubeIcon
71
- } from "./chunk-F7ETWH2M.js";
71
+ } from "./chunk-N57KWHDB.js";
72
72
  import {
73
73
  cn,
74
74
  getBaseUrl,
75
75
  init_cn
76
- } from "./chunk-DV5GLSYR.js";
76
+ } from "./chunk-SZPJ5R5B.js";
77
77
  import {
78
78
  AlertCircleIcon,
79
79
  AnthropicLogoGreyIcon,
@@ -25117,8 +25117,17 @@ function SearchInput({
25117
25117
  }
25118
25118
  inputRef.current?.focus();
25119
25119
  };
25120
- const handleResultClick = (result) => {
25121
- onResultSelect?.(result);
25120
+ const handleResultClick = (result, e) => {
25121
+ onResultSelect?.(
25122
+ result,
25123
+ e ? {
25124
+ metaKey: e.metaKey,
25125
+ ctrlKey: e.ctrlKey,
25126
+ shiftKey: e.shiftKey,
25127
+ altKey: e.altKey,
25128
+ button: e.button
25129
+ } : void 0
25130
+ );
25122
25131
  setIsOpen(false);
25123
25132
  };
25124
25133
  const handleKeyDown = (e) => {
@@ -25181,7 +25190,7 @@ function SearchInput({
25181
25190
  isHighlighted && "bg-ods-bg-hover",
25182
25191
  !isHighlighted && "hover:bg-ods-bg-hover"
25183
25192
  ),
25184
- onClick: () => handleResultClick(result),
25193
+ onClick: (e) => handleResultClick(result, e),
25185
25194
  onMouseEnter: () => setHighlightedIndex(index),
25186
25195
  children: renderResult ? renderResult(result, isHighlighted) : defaultRenderResult(result, isHighlighted)
25187
25196
  },
@@ -32648,7 +32657,6 @@ function WaitlistForm({
32648
32657
  }
32649
32658
 
32650
32659
  // src/components/features/board/board.tsx
32651
- init_cn();
32652
32660
  import * as React102 from "react";
32653
32661
  import {
32654
32662
  DndContext,
@@ -32662,6 +32670,7 @@ import {
32662
32670
  useSensors
32663
32671
  } from "@dnd-kit/core";
32664
32672
  import { arrayMove, sortableKeyboardCoordinates } from "@dnd-kit/sortable";
32673
+ init_cn();
32665
32674
 
32666
32675
  // src/components/features/board/board-column.tsx
32667
32676
  import { useDroppable } from "@dnd-kit/core";
@@ -33101,6 +33110,18 @@ function Board({
33101
33110
  className
33102
33111
  }) {
33103
33112
  const { collapsed, toggle } = useBoardCollapse(collapseStorageKey);
33113
+ const {
33114
+ scrollRef,
33115
+ trackRef,
33116
+ thumbRef,
33117
+ thumbRatio,
33118
+ onScroll,
33119
+ onTrackClick,
33120
+ onTrackWheel,
33121
+ onThumbPointerDown,
33122
+ onThumbPointerMove,
33123
+ onThumbPointerUp
33124
+ } = useHorizontalScrollbar();
33104
33125
  const [items, setItems] = React102.useState(columns);
33105
33126
  const isDraggingRef = React102.useRef(false);
33106
33127
  React102.useEffect(() => {
@@ -33253,31 +33274,62 @@ function Board({
33253
33274
  onDragEnd: handleDragEnd,
33254
33275
  onDragCancel: handleDragCancel,
33255
33276
  children: [
33256
- /* @__PURE__ */ jsx299("div", { className: cn("flex h-full overflow-x-auto", className), children: items.map((column, i) => {
33257
- const prev = items[i - 1];
33258
- const next = items[i + 1];
33259
- const joinLeft = !!(column.system && prev?.system);
33260
- const joinRight = !!(column.system && next?.system);
33261
- const showGap = i > 0 && !joinLeft;
33262
- return /* @__PURE__ */ jsxs246(React102.Fragment, { children: [
33263
- showGap && /* @__PURE__ */ jsx299("div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
33264
- /* @__PURE__ */ jsx299(
33265
- BoardColumn,
33266
- {
33267
- column,
33268
- collapsed: !!collapsed[column.id],
33269
- onToggleCollapse: () => toggle(column.id),
33270
- onAddTicket,
33271
- getTicketHref,
33272
- renderAssignSlot,
33273
- onLoadMore,
33274
- loadMoreRootMargin,
33275
- joinLeft,
33276
- joinRight
33277
- }
33278
- )
33279
- ] }, column.id);
33280
- }) }),
33277
+ /* @__PURE__ */ jsxs246("div", { className: cn("flex flex-col h-full", className), children: [
33278
+ /* @__PURE__ */ jsx299(
33279
+ "div",
33280
+ {
33281
+ ref: scrollRef,
33282
+ onScroll,
33283
+ className: "flex flex-1 min-h-0 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
33284
+ children: items.map((column, i) => {
33285
+ const prev = items[i - 1];
33286
+ const next = items[i + 1];
33287
+ const joinLeft = !!(column.system && prev?.system);
33288
+ const joinRight = !!(column.system && next?.system);
33289
+ const showGap = i > 0 && !joinLeft;
33290
+ return /* @__PURE__ */ jsxs246(React102.Fragment, { children: [
33291
+ showGap && /* @__PURE__ */ jsx299("div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
33292
+ /* @__PURE__ */ jsx299(
33293
+ BoardColumn,
33294
+ {
33295
+ column,
33296
+ collapsed: !!collapsed[column.id],
33297
+ onToggleCollapse: () => toggle(column.id),
33298
+ onAddTicket,
33299
+ getTicketHref,
33300
+ renderAssignSlot,
33301
+ onLoadMore,
33302
+ loadMoreRootMargin,
33303
+ joinLeft,
33304
+ joinRight
33305
+ }
33306
+ )
33307
+ ] }, column.id);
33308
+ })
33309
+ }
33310
+ ),
33311
+ thumbRatio > 0 && /* @__PURE__ */ jsx299(
33312
+ "div",
33313
+ {
33314
+ ref: trackRef,
33315
+ onClick: onTrackClick,
33316
+ onWheel: onTrackWheel,
33317
+ className: "relative h-2 mt-[var(--spacing-system-mf)] rounded-full bg-ods-border cursor-pointer shrink-0",
33318
+ children: /* @__PURE__ */ jsx299(
33319
+ "div",
33320
+ {
33321
+ ref: thumbRef,
33322
+ "data-scrollbar-thumb": true,
33323
+ className: "absolute top-0 h-full rounded-full bg-ods-text-secondary transition-colors",
33324
+ style: { width: `${thumbRatio * 100}%`, cursor: "grab" },
33325
+ onPointerDown: onThumbPointerDown,
33326
+ onPointerMove: onThumbPointerMove,
33327
+ onPointerUp: onThumbPointerUp
33328
+ }
33329
+ )
33330
+ }
33331
+ )
33332
+ ] }),
33281
33333
  /* @__PURE__ */ jsx299(DragOverlay, { dropAnimation: null, children: activeTicket ? /* @__PURE__ */ jsx299(TicketCard, { ticket: activeTicket.ticket, columnId: activeTicket.columnId, isOverlay: true }) : null })
33282
33334
  ]
33283
33335
  }
@@ -33956,4 +34008,4 @@ export {
33956
34008
  TMCG_SOCIAL_PLATFORMS,
33957
34009
  assets
33958
34010
  };
33959
- //# sourceMappingURL=chunk-QAXTP73H.js.map
34011
+ //# sourceMappingURL=chunk-E6VCRL42.js.map