@flamingo-stack/openframe-frontend-core 0.0.717 → 0.0.718

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 (91) hide show
  1. package/dist/{chunk-3MJPCKB6.js → chunk-45F7PXUI.js} +2 -2
  2. package/dist/{chunk-TYVS64YN.js → chunk-67QBMN4R.js} +1 -1
  3. package/dist/{chunk-3RKBJT6K.cjs → chunk-6A43ZDWV.cjs} +2 -2
  4. package/dist/chunk-A6P6DHEZ.cjs +130 -0
  5. package/dist/{chunk-M2A5SC6H.cjs → chunk-BOTM373R.cjs} +2 -2
  6. package/dist/{chunk-X3RVDBXU.cjs → chunk-BWIN42ZA.cjs} +15 -15
  7. package/dist/{chunk-6MZI5SQ4.js → chunk-DCD5WZUF.js} +3 -3
  8. package/dist/{chunk-2EK7PA73.js → chunk-DEZDMTBM.js} +4 -4
  9. package/dist/{chunk-NB6EWUDE.cjs → chunk-DXCBOZVT.cjs} +13 -13
  10. package/dist/{chunk-J3Q53TWW.cjs → chunk-EZC2F5OT.cjs} +22 -22
  11. package/dist/{chunk-2AI2E3O2.cjs → chunk-GN4A7PMB.cjs} +27 -27
  12. package/dist/{chunk-6T3BTD6Q.js → chunk-IWCPXJEE.js} +201 -327
  13. package/dist/{chunk-2X2P3VHF.js → chunk-JIWMBIVZ.js} +4 -4
  14. package/dist/{chunk-NPAQSMRY.js → chunk-LOYPRJWA.js} +1053 -357
  15. package/dist/{chunk-U3TP4UGA.cjs → chunk-MIQLUUVF.cjs} +6 -6
  16. package/dist/{chunk-FGKSAQR3.js → chunk-MM7MCIXL.js} +4 -4
  17. package/dist/{chunk-B5XU6KOA.js → chunk-N2PF5CFX.js} +4836 -5424
  18. package/dist/{chunk-LANNTTKP.cjs → chunk-NDZ5ZXOQ.cjs} +6 -6
  19. package/dist/{chunk-WH5GJSID.js → chunk-PQ6HBLZ7.js} +3 -3
  20. package/dist/{chunk-FROXS52D.cjs → chunk-QBCDSTLE.cjs} +2 -2
  21. package/dist/{chunk-NQWJAOHO.js → chunk-QXZCLQNV.js} +1 -1
  22. package/dist/{chunk-3QAMMWV2.cjs → chunk-S2FUFMLW.cjs} +20 -20
  23. package/dist/{chunk-PD4W2VMH.js → chunk-SGFTTJKO.js} +1 -1
  24. package/dist/{chunk-E6FLX4TX.js → chunk-TBCZCRQ5.js} +5 -5
  25. package/dist/{chunk-OHLBO4LM.cjs → chunk-WALCXC7J.cjs} +3 -3
  26. package/dist/{chunk-VZI5BA4L.js → chunk-XGHGGBM3.js} +1 -1
  27. package/dist/{chunk-VYKFM2NB.cjs → chunk-YC5COB5V.cjs} +32 -32
  28. package/dist/{chunk-47FISYO5.js → chunk-YEMCCYIF.js} +2 -2
  29. package/dist/chunk-YYYVS7CX.js +130 -0
  30. package/dist/{chunk-5MF3NMYC.cjs → chunk-Z3CVSPO3.cjs} +581 -1169
  31. package/dist/{chunk-PPXR22YC.cjs → chunk-Z5UWW3Z2.cjs} +707 -11
  32. package/dist/{chunk-JO5TLJPM.cjs → chunk-ZXCZYMN4.cjs} +37 -163
  33. package/dist/{cloud-tenants-KDWTVHSI.cjs → cloud-tenants-PFDF7O5U.cjs} +5 -4
  34. package/dist/{cloud-tenants-LNC26WY2.js → cloud-tenants-TAKOWXLD.js} +4 -3
  35. package/dist/components/case-studies/index.cjs +13 -12
  36. package/dist/components/case-studies/index.js +5 -4
  37. package/dist/components/contact/index.cjs +6 -5
  38. package/dist/components/contact/index.js +5 -4
  39. package/dist/components/docs/index.cjs +8 -7
  40. package/dist/components/docs/index.js +7 -6
  41. package/dist/components/embeds/index.cjs +6 -5
  42. package/dist/components/embeds/index.js +5 -4
  43. package/dist/components/faq/index.cjs +6 -5
  44. package/dist/components/faq/index.js +5 -4
  45. package/dist/components/features/index.cjs +9 -4
  46. package/dist/components/features/index.js +8 -3
  47. package/dist/components/features/remote-session/index.d.ts +2 -0
  48. package/dist/components/features/remote-session/index.d.ts.map +1 -1
  49. package/dist/components/features/remote-session/remote-session-keep-modals.d.ts +3 -3
  50. package/dist/components/features/remote-session/remote-session-keep-modals.d.ts.map +1 -1
  51. package/dist/components/features/remote-session/remote-session-ticket-modals.d.ts +29 -0
  52. package/dist/components/features/remote-session/remote-session-ticket-modals.d.ts.map +1 -0
  53. package/dist/components/help-center-pages/index.cjs +48 -47
  54. package/dist/components/help-center-pages/index.js +14 -13
  55. package/dist/components/index.cjs +30 -25
  56. package/dist/components/index.js +19 -14
  57. package/dist/components/meeting-scheduler/index.cjs +25 -24
  58. package/dist/components/meeting-scheduler/index.js +4 -3
  59. package/dist/components/navigation/index.cjs +6 -5
  60. package/dist/components/navigation/index.js +5 -4
  61. package/dist/components/onboarding-guides/index.cjs +8 -7
  62. package/dist/components/onboarding-guides/index.js +7 -6
  63. package/dist/components/product-demo/index.cjs +7 -7
  64. package/dist/components/product-demo/index.js +7 -7
  65. package/dist/components/tickets/index.cjs +8 -7
  66. package/dist/components/tickets/index.js +7 -6
  67. package/dist/components/ui/autocomplete.d.ts +6 -0
  68. package/dist/components/ui/autocomplete.d.ts.map +1 -1
  69. package/dist/components/ui/index.cjs +7 -6
  70. package/dist/components/ui/index.js +6 -5
  71. package/dist/{devices-ATHYJUVQ.cjs → devices-KRCGZMGA.cjs} +6 -5
  72. package/dist/{devices-NYCRQ3PG.js → devices-LHEX7O5T.js} +4 -3
  73. package/dist/hooks/index.cjs +6 -4
  74. package/dist/hooks/index.js +5 -3
  75. package/dist/index.cjs +14 -8
  76. package/dist/index.js +15 -9
  77. package/dist/{knowledge-EHNRYT7U.cjs → knowledge-KLVPVEYZ.cjs} +5 -4
  78. package/dist/{knowledge-DEKYJXBS.js → knowledge-RZSFNR33.js} +4 -3
  79. package/dist/{logs-Q7YFIVYI.js → logs-E5DOV5JO.js} +4 -3
  80. package/dist/{logs-3V765P7O.cjs → logs-OX3XTVL2.cjs} +13 -12
  81. package/dist/{policies-TXU5AIXS.cjs → policies-FOSCIZGK.cjs} +9 -8
  82. package/dist/{policies-BTIENK5A.js → policies-MC2S4S5G.js} +4 -3
  83. package/dist/{remote-session-R6VAFESR.cjs → remote-session-DRFE5XZE.cjs} +4 -3
  84. package/dist/{remote-session-GSGZOFDX.js → remote-session-JQ2BPIE3.js} +2 -1
  85. package/dist/{software-update-SW2HOBHW.js → software-update-D4OEIH65.js} +6 -4
  86. package/dist/{software-update-MINTICZY.cjs → software-update-HOBSTWVO.cjs} +11 -9
  87. package/package.json +1 -1
  88. package/src/components/features/remote-session/index.ts +2 -0
  89. package/src/components/features/remote-session/remote-session-keep-modals.tsx +4 -4
  90. package/src/components/features/remote-session/remote-session-ticket-modals.tsx +140 -0
  91. package/src/components/ui/autocomplete.tsx +18 -4
@@ -140,6 +140,12 @@ export interface AutocompleteMultipleProps<T = string> extends AutocompleteBaseP
140
140
  limitTags?: number | 'auto';
141
141
  /** Custom render function for the "+N" overflow chip */
142
142
  getLimitTagsText?: (more: number) => ReactNode;
143
+ /**
144
+ * Show every tag in full, wrapping onto more lines: the field grows instead
145
+ * of truncating labels and collapsing the rest into "+N". `limitTags` is
146
+ * ignored. For short pickers whose picks must stay readable (ticket titles).
147
+ */
148
+ wrapTags?: boolean;
143
149
  }
144
150
 
145
151
  export type AutocompleteProps<T = string> = AutocompleteSingleProps<T> | AutocompleteMultipleProps<T>;
@@ -189,6 +195,7 @@ function AutocompleteInner<T = string>(props: AutocompleteProps<T>, ref: Forward
189
195
  // Multiple-only props
190
196
  const maxItems = multiple ? (props as AutocompleteMultipleProps<T>).maxItems : undefined;
191
197
  const renderTag = multiple ? (props as AutocompleteMultipleProps<T>).renderTag : undefined;
198
+ const wrapTags = multiple && ((props as AutocompleteMultipleProps<T>).wrapTags ?? false);
192
199
  const limitTagsProp = multiple ? ((props as AutocompleteMultipleProps<T>).limitTags ?? 'auto') : 'auto';
193
200
  const getLimitTagsText = multiple
194
201
  ? ((props as AutocompleteMultipleProps<T>).getLimitTagsText ?? ((more: number) => `+${more}`))
@@ -252,7 +259,7 @@ function AutocompleteInner<T = string>(props: AutocompleteProps<T>, ref: Forward
252
259
  inputRef,
253
260
  } = useAutoLimitTags({
254
261
  count: multiple ? selectedOptions.length : 0,
255
- limitTags: multiple ? limitTagsProp : 0,
262
+ limitTags: multiple ? (wrapTags ? selectedOptions.length : limitTagsProp) : 0,
256
263
  placeholder: inputPlaceholder,
257
264
  });
258
265
 
@@ -506,15 +513,22 @@ function AutocompleteInner<T = string>(props: AutocompleteProps<T>, ref: Forward
506
513
  </span>
507
514
  )}
508
515
 
509
- {/* Middle zone: tags + input — single line with overflow */}
510
- <div ref={middleRef} className="flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2">
516
+ {/* Middle zone: tags + input — single line with overflow, or wrapped lines with `wrapTags` */}
517
+ <div
518
+ ref={middleRef}
519
+ className={cn(
520
+ 'flex min-w-0 flex-1 items-center gap-2 px-2',
521
+ wrapTags ? 'flex-wrap py-[var(--spacing-system-xsf)]' : 'overflow-hidden',
522
+ )}
523
+ >
511
524
  {/* Tags (multiple mode only) */}
512
525
  {multiple &&
513
526
  visibleTags.map(option => (
514
527
  <Tag
515
528
  key={String(option.value)}
516
529
  variant="outline"
517
- labelClassName="max-w-[90px] truncate"
530
+ className={wrapTags ? 'max-w-full' : undefined}
531
+ labelClassName={wrapTags ? 'truncate' : 'max-w-[90px] truncate'}
518
532
  label={renderTag ? renderTag(option) : option.label}
519
533
  onClose={
520
534
  !disabled