@flamingo-stack/openframe-frontend-core 0.0.502 → 0.0.503-snapshot.20260731162644

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 (136) hide show
  1. package/dist/{chunk-O45BOJMS.js → chunk-32J4AXWO.js} +3 -3
  2. package/dist/{chunk-I64ZGPA6.cjs → chunk-5JEL52KB.cjs} +3 -3
  3. package/dist/{chunk-I64ZGPA6.cjs.map → chunk-5JEL52KB.cjs.map} +1 -1
  4. package/dist/{chunk-5W6IMPJW.js → chunk-AFHWEJXM.js} +6 -6
  5. package/dist/{chunk-KOZAEN36.cjs → chunk-AI7ASU6V.cjs} +93 -93
  6. package/dist/{chunk-KOZAEN36.cjs.map → chunk-AI7ASU6V.cjs.map} +1 -1
  7. package/dist/{chunk-C5R2OX7A.cjs → chunk-C6Q3BJDJ.cjs} +3 -3
  8. package/dist/chunk-C6Q3BJDJ.cjs.map +1 -0
  9. package/dist/{chunk-INZAM757.cjs → chunk-CQ6O6ER2.cjs} +12 -12
  10. package/dist/{chunk-INZAM757.cjs.map → chunk-CQ6O6ER2.cjs.map} +1 -1
  11. package/dist/{chunk-ZEEQTDDD.js → chunk-CSRGIQ2G.js} +3 -3
  12. package/dist/{chunk-2Z75A5MH.cjs → chunk-D3VTZBWC.cjs} +32 -32
  13. package/dist/{chunk-2Z75A5MH.cjs.map → chunk-D3VTZBWC.cjs.map} +1 -1
  14. package/dist/{chunk-ZGU3KBAM.js → chunk-EFBKOCEA.js} +3 -3
  15. package/dist/{chunk-EMMJIXDF.js → chunk-FW2U6U4P.js} +3336 -3292
  16. package/dist/chunk-FW2U6U4P.js.map +1 -0
  17. package/dist/{chunk-IRR6733A.js → chunk-GCVAZR52.js} +5 -5
  18. package/dist/{chunk-EC3G3BIT.js → chunk-HNDHCJV4.js} +6 -6
  19. package/dist/{chunk-IHYEMZ2B.cjs → chunk-IZTXVVGY.cjs} +40 -40
  20. package/dist/{chunk-IHYEMZ2B.cjs.map → chunk-IZTXVVGY.cjs.map} +1 -1
  21. package/dist/{chunk-NZEQGBVS.js → chunk-JCF55O7G.js} +2 -2
  22. package/dist/{chunk-JJV237MJ.js → chunk-JQDGP4CE.js} +4 -4
  23. package/dist/{chunk-4YDUZB5N.cjs → chunk-KHE3OBHD.cjs} +18 -18
  24. package/dist/{chunk-4YDUZB5N.cjs.map → chunk-KHE3OBHD.cjs.map} +1 -1
  25. package/dist/{chunk-AHZCNPTI.cjs → chunk-KZSQMZUL.cjs} +19 -19
  26. package/dist/{chunk-AHZCNPTI.cjs.map → chunk-KZSQMZUL.cjs.map} +1 -1
  27. package/dist/{chunk-LS3DMQTE.js → chunk-MRPFFHBK.js} +3 -3
  28. package/dist/{chunk-GE6DRWPN.cjs → chunk-NNQMA3N6.cjs} +12 -12
  29. package/dist/{chunk-GE6DRWPN.cjs.map → chunk-NNQMA3N6.cjs.map} +1 -1
  30. package/dist/{chunk-LA4UJ2D3.cjs → chunk-OK34RZWT.cjs} +73 -73
  31. package/dist/{chunk-LA4UJ2D3.cjs.map → chunk-OK34RZWT.cjs.map} +1 -1
  32. package/dist/{chunk-ABVQ54WR.cjs → chunk-Q6RMV5WK.cjs} +5 -5
  33. package/dist/{chunk-ABVQ54WR.cjs.map → chunk-Q6RMV5WK.cjs.map} +1 -1
  34. package/dist/{chunk-2Q6X4SE3.js → chunk-QFQBYNQJ.js} +4 -4
  35. package/dist/{chunk-WHJGRRK2.js → chunk-QW7SW5HY.js} +52 -43
  36. package/dist/chunk-QW7SW5HY.js.map +1 -0
  37. package/dist/{chunk-L5CI57RM.cjs → chunk-T3BF6JTQ.cjs} +52 -43
  38. package/dist/chunk-T3BF6JTQ.cjs.map +1 -0
  39. package/dist/{chunk-ADM7LRDY.cjs → chunk-US2F5GJO.cjs} +40 -40
  40. package/dist/{chunk-ADM7LRDY.cjs.map → chunk-US2F5GJO.cjs.map} +1 -1
  41. package/dist/{chunk-BRXSYV4M.cjs → chunk-WXARO2KA.cjs} +33 -33
  42. package/dist/{chunk-BRXSYV4M.cjs.map → chunk-WXARO2KA.cjs.map} +1 -1
  43. package/dist/{chunk-LBSC62XJ.cjs → chunk-X5USQ6UC.cjs} +995 -951
  44. package/dist/chunk-X5USQ6UC.cjs.map +1 -0
  45. package/dist/{chunk-VPQBQJ4S.js → chunk-XRGAQM3F.js} +2 -2
  46. package/dist/{chunk-QJMFF2YG.js → chunk-XT4P4JGJ.js} +6 -6
  47. package/dist/{chunk-P7IOCYGD.js → chunk-YKF25XRY.js} +3 -3
  48. package/dist/chunk-YKF25XRY.js.map +1 -0
  49. package/dist/components/case-studies/index.cjs +10 -10
  50. package/dist/components/case-studies/index.js +4 -4
  51. package/dist/components/chat/index.cjs +4 -4
  52. package/dist/components/chat/index.js +3 -3
  53. package/dist/components/contact/index.cjs +5 -5
  54. package/dist/components/contact/index.js +4 -4
  55. package/dist/components/content-loading-container.d.ts +1 -1
  56. package/dist/components/docs/index.cjs +7 -7
  57. package/dist/components/docs/index.js +6 -6
  58. package/dist/components/embeds/index.cjs +5 -5
  59. package/dist/components/embeds/index.js +4 -4
  60. package/dist/components/faq/index.cjs +6 -6
  61. package/dist/components/faq/index.js +5 -5
  62. package/dist/components/features/index.cjs +4 -4
  63. package/dist/components/features/index.js +3 -3
  64. package/dist/components/help-center-pages/index.cjs +23 -23
  65. package/dist/components/help-center-pages/index.js +14 -14
  66. package/dist/components/index.cjs +161 -161
  67. package/dist/components/index.js +12 -12
  68. package/dist/components/navigation/header-button.d.ts.map +1 -1
  69. package/dist/components/navigation/header.d.ts.map +1 -1
  70. package/dist/components/navigation/index.cjs +4 -4
  71. package/dist/components/navigation/index.js +3 -3
  72. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  73. package/dist/components/navigation/top-navigation.d.ts +5 -1
  74. package/dist/components/navigation/top-navigation.d.ts.map +1 -1
  75. package/dist/components/onboarding-guides/index.cjs +8 -8
  76. package/dist/components/onboarding-guides/index.js +7 -7
  77. package/dist/components/related-content/index.cjs +6 -6
  78. package/dist/components/related-content/index.js +5 -5
  79. package/dist/components/tickets/index.cjs +7 -7
  80. package/dist/components/tickets/index.js +6 -6
  81. package/dist/components/ui/autocomplete.d.ts.map +1 -1
  82. package/dist/components/ui/button/button.d.ts +6 -5
  83. package/dist/components/ui/button/button.d.ts.map +1 -1
  84. package/dist/components/ui/file-manager/index.cjs +50 -50
  85. package/dist/components/ui/file-manager/index.js +1 -1
  86. package/dist/components/ui/floating-tooltip.d.ts +9 -4
  87. package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
  88. package/dist/components/ui/index.cjs +4 -4
  89. package/dist/components/ui/index.js +3 -3
  90. package/dist/components/ui/service-card.d.ts.map +1 -1
  91. package/dist/components/ui/status-badge.d.ts +1 -1
  92. package/dist/components/ui/tag.d.ts +1 -1
  93. package/dist/components/ui/tag.d.ts.map +1 -1
  94. package/dist/components/ui/truncate-text.d.ts +14 -1
  95. package/dist/components/ui/truncate-text.d.ts.map +1 -1
  96. package/dist/hooks/index.cjs +2 -2
  97. package/dist/hooks/index.js +1 -1
  98. package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
  99. package/dist/index.cjs +4 -4
  100. package/dist/index.js +3 -3
  101. package/package.json +1 -1
  102. package/src/components/features/time-tracker/time-tracker-header-button.tsx +1 -1
  103. package/src/components/navigation/app-header.tsx +10 -10
  104. package/src/components/navigation/header-button.tsx +4 -1
  105. package/src/components/navigation/header-mingo-button.tsx +2 -2
  106. package/src/components/navigation/header-skeleton.tsx +4 -4
  107. package/src/components/navigation/header.tsx +20 -14
  108. package/src/components/navigation/mingo-ai-button.tsx +23 -22
  109. package/src/components/navigation/mobile-burger-menu.tsx +3 -3
  110. package/src/components/navigation/top-navigation.tsx +17 -1
  111. package/src/components/ui/autocomplete.tsx +5 -2
  112. package/src/components/ui/button/button.tsx +165 -133
  113. package/src/components/ui/floating-tooltip.tsx +11 -5
  114. package/src/components/ui/service-card.tsx +18 -3
  115. package/src/components/ui/tag.tsx +34 -1
  116. package/src/components/ui/truncate-text.tsx +20 -0
  117. package/src/hooks/ui/use-header-height.ts +3 -1
  118. package/src/stories/TopNavigation.stories.tsx +20 -1
  119. package/dist/chunk-C5R2OX7A.cjs.map +0 -1
  120. package/dist/chunk-EMMJIXDF.js.map +0 -1
  121. package/dist/chunk-L5CI57RM.cjs.map +0 -1
  122. package/dist/chunk-LBSC62XJ.cjs.map +0 -1
  123. package/dist/chunk-P7IOCYGD.js.map +0 -1
  124. package/dist/chunk-WHJGRRK2.js.map +0 -1
  125. /package/dist/{chunk-O45BOJMS.js.map → chunk-32J4AXWO.js.map} +0 -0
  126. /package/dist/{chunk-5W6IMPJW.js.map → chunk-AFHWEJXM.js.map} +0 -0
  127. /package/dist/{chunk-ZEEQTDDD.js.map → chunk-CSRGIQ2G.js.map} +0 -0
  128. /package/dist/{chunk-ZGU3KBAM.js.map → chunk-EFBKOCEA.js.map} +0 -0
  129. /package/dist/{chunk-IRR6733A.js.map → chunk-GCVAZR52.js.map} +0 -0
  130. /package/dist/{chunk-EC3G3BIT.js.map → chunk-HNDHCJV4.js.map} +0 -0
  131. /package/dist/{chunk-NZEQGBVS.js.map → chunk-JCF55O7G.js.map} +0 -0
  132. /package/dist/{chunk-JJV237MJ.js.map → chunk-JQDGP4CE.js.map} +0 -0
  133. /package/dist/{chunk-LS3DMQTE.js.map → chunk-MRPFFHBK.js.map} +0 -0
  134. /package/dist/{chunk-2Q6X4SE3.js.map → chunk-QFQBYNQJ.js.map} +0 -0
  135. /package/dist/{chunk-VPQBQJ4S.js.map → chunk-XRGAQM3F.js.map} +0 -0
  136. /package/dist/{chunk-QJMFF2YG.js.map → chunk-XT4P4JGJ.js.map} +0 -0
@@ -26,6 +26,19 @@ export interface TruncateTextProps {
26
26
  tone?: TruncateTextTone
27
27
  /** Force the monospace (heading) font family — preserves the variant's size while swapping family. */
28
28
  mono?: boolean
29
+ /**
30
+ * Extra classes for the tooltip trigger wrapper — the element that becomes the
31
+ * flex/grid item in the caller's layout (e.g. `flex-1`). Merged after the
32
+ * built-in `min-w-0 max-w-full`, which is what lets the trigger shrink inside
33
+ * flex rows so the text ellipsizes instead of clipping.
34
+ */
35
+ triggerClassName?: string
36
+ /**
37
+ * Trigger wrapper element. Default `'div'`. Use `'span'` where a block element
38
+ * is invalid HTML — inside a `<p>`, a heading, or another `<span>`; the span
39
+ * trigger is `inline-block` so the inner truncation still measures.
40
+ */
41
+ as?: 'div' | 'span'
29
42
  }
30
43
 
31
44
  const VARIANT_CLASS: Record<TruncateTextVariant, string> = {
@@ -69,6 +82,8 @@ export function TruncateText({
69
82
  variant = 'h4',
70
83
  tone = 'primary',
71
84
  mono = false,
85
+ triggerClassName,
86
+ as = 'div',
72
87
  }: TruncateTextProps) {
73
88
  const isMultiLine = lines > 1
74
89
  const { ref, isTruncated } = useIsTruncated<HTMLSpanElement>(children, { multiline: isMultiLine })
@@ -83,6 +98,11 @@ export function TruncateText({
83
98
  side={side}
84
99
  disabled={!isTruncated}
85
100
  className="max-w-xs whitespace-pre-line [overflow-wrap:anywhere]"
101
+ as={as}
102
+ // min-w-0: a flex/grid item's automatic minimum size is content-based when
103
+ // overflow is visible, so without this the trigger refuses to shrink and the
104
+ // text clips with no ellipsis and no tooltip.
105
+ triggerClassName={cn('min-w-0 max-w-full', as === 'span' && 'inline-block align-bottom', triggerClassName)}
86
106
  >
87
107
  <span
88
108
  ref={ref}
@@ -9,7 +9,9 @@ import { useEffect, useState } from 'react'
9
9
  * overlap the header.
10
10
  */
11
11
  export function useHeaderHeight(
12
- defaultHeight = 64,
12
+ // First-paint fallback = the unified top-navigation `big` bar (72px), the
13
+ // size every hub/marketing site renders; replaced by the live measurement.
14
+ defaultHeight = 72,
13
15
  options: {
14
16
  /**
15
17
  * When false, no observers are attached and the default height is
@@ -23,7 +23,7 @@ const logo = (
23
23
  const navLinks = (
24
24
  <nav className="flex items-center gap-2" aria-label="Main navigation">
25
25
  {['OpenFrame', 'OpenMSP', 'Resources', 'Pricing'].map(label => (
26
- <Button key={label} variant="transparent" size="small-legacy" className="text-h3 font-bold tracking-[-0.36px]">
26
+ <Button key={label} variant="transparent" size="default" font="regular">
27
27
  {label}
28
28
  </Button>
29
29
  ))}
@@ -79,6 +79,7 @@ const meta = {
79
79
  tags: ['autodocs'],
80
80
  argTypes: {
81
81
  centerBreakpoint: { control: 'radio', options: ['md', 'lg'] },
82
+ size: { control: 'radio', options: ['small', 'big'] },
82
83
  backgroundClassName: { control: 'text' },
83
84
  mobileTopBorder: { control: 'boolean' },
84
85
  },
@@ -115,6 +116,24 @@ export const MarketingFull: Story = {
115
116
  },
116
117
  };
117
118
 
119
+ /**
120
+ * The `big` (72px) bar every hub/marketing site renders — same zones, taller
121
+ * bar and 72px cells (Figma 2936-6812). `small` (56px) is the console size.
122
+ */
123
+ export const MarketingBig: Story = {
124
+ args: {
125
+ ...MarketingFull.args,
126
+ size: 'big',
127
+ // Big bar carries the full default-size CTA (Figma 2936-6812), not the
128
+ // 32px mono control.
129
+ cta: (
130
+ <Button variant="accent" onClick={fn()}>
131
+ Try for Free
132
+ </Button>
133
+ ),
134
+ },
135
+ };
136
+
118
137
  /**
119
138
  * Console-style arrangement: no logo/nav (the app sidebar owns branding),
120
139
  * `centerBreakpoint="md"` so the center zone (here just the spacer) starts at