@flamingo-stack/openframe-frontend-core 0.0.411-snapshot.20260711170430 → 0.0.411

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flamingo-stack/openframe-frontend-core",
3
- "version": "0.0.411-snapshot.20260711170430",
3
+ "version": "0.0.411",
4
4
  "description": "Shared design system and components for all Flamingo platforms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -233,21 +233,14 @@ export function AnnouncementBar({
233
233
  styles win over the variant's hover classes on every state,
234
234
  so hover feedback is opacity (the bar's original treatment);
235
235
  nothing can render dark-on-dark. Hidden on mobile, where the
236
- whole bar is the tap target.
237
-
238
- In-bar geometry: size="small" is 32px tall — nearly flush in
239
- the 44px strip (6px clearance). Banner pills run ~28px with
240
- horizontal-dominant padding (Polaris micro, Vercel/Tailwind UI
241
- banners), so the bar pins h-7 (28px = 8px clearance, above the
242
- 24px WCAG 2.5.8 floor) and swaps the uniform pad for
243
- py-0 px-sf (12px sides at every breakpoint). */}
236
+ whole bar is the tap target. */}
244
237
  {hasCta && displayAnnouncement.cta_text && (
245
238
  <div className="hidden md:flex flex-shrink-0 ml-2 md:ml-4">
246
239
  <Button
247
240
  onClick={handleCtaClick}
248
241
  variant="outline"
249
242
  size="small"
250
- className="h-7 md:h-7 py-0 px-[var(--spacing-system-sf)] transition-opacity hover:opacity-90"
243
+ className="transition-opacity hover:opacity-90"
251
244
  style={{
252
245
  backgroundColor: displayAnnouncement.cta_button_background_color || ANNOUNCEMENT_CTA_DEFAULTS.background,
253
246
  color: displayAnnouncement.cta_button_text_color || ANNOUNCEMENT_CTA_DEFAULTS.text,