@flamingo-stack/openframe-frontend-core 0.0.469 → 0.0.470

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-TISXEAGH.cjs → chunk-27ZGHJDS.cjs} +7 -7
  2. package/dist/{chunk-TISXEAGH.cjs.map → chunk-27ZGHJDS.cjs.map} +1 -1
  3. package/dist/{chunk-HVLMAT4T.cjs → chunk-2W3BAKMP.cjs} +5 -5
  4. package/dist/{chunk-HVLMAT4T.cjs.map → chunk-2W3BAKMP.cjs.map} +1 -1
  5. package/dist/{chunk-VYUEOKI6.js → chunk-6O47KXGR.js} +2 -2
  6. package/dist/{chunk-EZESVVIM.js → chunk-7HNLEZ6N.js} +4 -4
  7. package/dist/{chunk-O2QOC5FA.js → chunk-7WT3K34L.js} +4 -4
  8. package/dist/{chunk-AEM7ADDG.js → chunk-AYNDMF5C.js} +2 -2
  9. package/dist/{chunk-J6CE6HZS.cjs → chunk-C667B74I.cjs} +11 -11
  10. package/dist/{chunk-J6CE6HZS.cjs.map → chunk-C667B74I.cjs.map} +1 -1
  11. package/dist/{chunk-3PLQWO4H.cjs → chunk-CGUYR6DR.cjs} +39 -25
  12. package/dist/chunk-CGUYR6DR.cjs.map +1 -0
  13. package/dist/{chunk-L3BWGFHT.cjs → chunk-DK42EGBQ.cjs} +15 -15
  14. package/dist/{chunk-L3BWGFHT.cjs.map → chunk-DK42EGBQ.cjs.map} +1 -1
  15. package/dist/{chunk-IUMPVRSH.js → chunk-H5SCS5XW.js} +2 -2
  16. package/dist/{chunk-3TU6QURP.js → chunk-JI24IMOW.js} +2 -2
  17. package/dist/{chunk-MULVIGIN.cjs → chunk-MAZGXV4D.cjs} +59 -59
  18. package/dist/{chunk-MULVIGIN.cjs.map → chunk-MAZGXV4D.cjs.map} +1 -1
  19. package/dist/{chunk-3I34MUEG.cjs → chunk-MCO55ART.cjs} +62 -62
  20. package/dist/{chunk-3I34MUEG.cjs.map → chunk-MCO55ART.cjs.map} +1 -1
  21. package/dist/{chunk-P5SLNM3C.js → chunk-NPN4WYOI.js} +39 -25
  22. package/dist/chunk-NPN4WYOI.js.map +1 -0
  23. package/dist/{chunk-2WZAR2MB.cjs → chunk-O7N2PGM2.cjs} +37 -37
  24. package/dist/{chunk-2WZAR2MB.cjs.map → chunk-O7N2PGM2.cjs.map} +1 -1
  25. package/dist/{chunk-QTGYQ2U7.js → chunk-QA5LN5NS.js} +2 -2
  26. package/dist/{chunk-CLW2S55N.js → chunk-QNWYTEM6.js} +4 -4
  27. package/dist/{chunk-ELIY4AO2.cjs → chunk-RRCWF5N3.cjs} +26 -26
  28. package/dist/{chunk-ELIY4AO2.cjs.map → chunk-RRCWF5N3.cjs.map} +1 -1
  29. package/dist/{chunk-QZJN5OHK.js → chunk-V3SOAVX4.js} +4 -4
  30. package/dist/{chunk-VHFH3BG6.cjs → chunk-V6OVMRXL.cjs} +31 -31
  31. package/dist/{chunk-VHFH3BG6.cjs.map → chunk-V6OVMRXL.cjs.map} +1 -1
  32. package/dist/{chunk-JW3UNHGW.js → chunk-VWNYNJWU.js} +2 -2
  33. package/dist/{chunk-X77X3RKH.cjs → chunk-WPNVOQ4O.cjs} +9 -9
  34. package/dist/{chunk-X77X3RKH.cjs.map → chunk-WPNVOQ4O.cjs.map} +1 -1
  35. package/dist/{chunk-VRJXY6TM.cjs → chunk-WSKUYW3G.cjs} +26 -26
  36. package/dist/{chunk-VRJXY6TM.cjs.map → chunk-WSKUYW3G.cjs.map} +1 -1
  37. package/dist/{chunk-HTSWLPMU.js → chunk-ZWVQULAJ.js} +2 -2
  38. package/dist/components/announcement-bar.d.ts.map +1 -1
  39. package/dist/components/case-studies/index.cjs +8 -8
  40. package/dist/components/case-studies/index.js +2 -2
  41. package/dist/components/chat/index.cjs +2 -2
  42. package/dist/components/chat/index.js +1 -1
  43. package/dist/components/contact/index.cjs +3 -3
  44. package/dist/components/contact/index.js +2 -2
  45. package/dist/components/docs/index.cjs +5 -5
  46. package/dist/components/docs/index.js +4 -4
  47. package/dist/components/embeds/index.cjs +3 -3
  48. package/dist/components/embeds/index.js +2 -2
  49. package/dist/components/faq/index.cjs +3 -3
  50. package/dist/components/faq/index.js +2 -2
  51. package/dist/components/features/index.cjs +2 -2
  52. package/dist/components/features/index.js +1 -1
  53. package/dist/components/help-center-pages/index.cjs +20 -20
  54. package/dist/components/help-center-pages/index.js +11 -11
  55. package/dist/components/index.cjs +142 -141
  56. package/dist/components/index.cjs.map +1 -1
  57. package/dist/components/index.js +21 -20
  58. package/dist/components/index.js.map +1 -1
  59. package/dist/components/navigation/index.cjs +2 -2
  60. package/dist/components/navigation/index.js +1 -1
  61. package/dist/components/onboarding-guides/index.cjs +5 -5
  62. package/dist/components/onboarding-guides/index.js +4 -4
  63. package/dist/components/related-content/index.cjs +3 -3
  64. package/dist/components/related-content/index.js +2 -2
  65. package/dist/components/tickets/index.cjs +5 -5
  66. package/dist/components/tickets/index.js +4 -4
  67. package/dist/components/ui/announcement-bar-view.d.ts +26 -28
  68. package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
  69. package/dist/components/ui/badge.d.ts.map +1 -1
  70. package/dist/components/ui/index.cjs +2 -2
  71. package/dist/components/ui/index.js +1 -1
  72. package/dist/components/ui/status-badge.d.ts.map +1 -1
  73. package/dist/index.cjs +2 -2
  74. package/dist/index.js +1 -1
  75. package/dist/tailwind.config.cjs +9 -0
  76. package/dist/tailwind.config.cjs.map +1 -1
  77. package/dist/tailwind.config.js +9 -0
  78. package/dist/tailwind.config.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/ODS_TOKEN_RULES.md +7 -0
  81. package/src/components/announcement-bar.tsx +21 -22
  82. package/src/components/ui/announcement-bar-view.tsx +68 -51
  83. package/src/components/ui/badge.tsx +4 -1
  84. package/src/components/ui/status-badge.tsx +11 -1
  85. package/src/styles/ods-responsive-tokens.css +9 -0
  86. package/tailwind.config.ts +9 -0
  87. package/dist/chunk-3PLQWO4H.cjs.map +0 -1
  88. package/dist/chunk-P5SLNM3C.js.map +0 -1
  89. /package/dist/{chunk-VYUEOKI6.js.map → chunk-6O47KXGR.js.map} +0 -0
  90. /package/dist/{chunk-EZESVVIM.js.map → chunk-7HNLEZ6N.js.map} +0 -0
  91. /package/dist/{chunk-O2QOC5FA.js.map → chunk-7WT3K34L.js.map} +0 -0
  92. /package/dist/{chunk-AEM7ADDG.js.map → chunk-AYNDMF5C.js.map} +0 -0
  93. /package/dist/{chunk-IUMPVRSH.js.map → chunk-H5SCS5XW.js.map} +0 -0
  94. /package/dist/{chunk-3TU6QURP.js.map → chunk-JI24IMOW.js.map} +0 -0
  95. /package/dist/{chunk-QTGYQ2U7.js.map → chunk-QA5LN5NS.js.map} +0 -0
  96. /package/dist/{chunk-CLW2S55N.js.map → chunk-QNWYTEM6.js.map} +0 -0
  97. /package/dist/{chunk-QZJN5OHK.js.map → chunk-V3SOAVX4.js.map} +0 -0
  98. /package/dist/{chunk-JW3UNHGW.js.map → chunk-VWNYNJWU.js.map} +0 -0
  99. /package/dist/{chunk-HTSWLPMU.js.map → chunk-ZWVQULAJ.js.map} +0 -0
@@ -10331,9 +10331,18 @@ var statusBadgeVariants = cva2(
10331
10331
  "inline-flex items-center justify-center rounded",
10332
10332
  {
10333
10333
  variants: {
10334
+ // Two densities, not one style at two paddings. Both are the ODS h5
10335
+ // label treatment (Azeret Mono 500, uppercase, -0.02em); they differ in
10336
+ // scale. Putting BOTH on `text-h5` is what regressed the stamp: at
10337
+ // 14/20 on desktop every inline badge grew ~40% and its box doubled,
10338
+ // because the caption line-height replaced `leading-none`.
10334
10339
  variant: {
10340
+ // Standalone badge — the ODS caption composite, unmodified.
10335
10341
  card: "px-3 py-1.5 text-h5",
10336
- button: "px-2 py-0.5 text-h5"
10342
+ // Dense inline stamp. Family, weight and casing come from the SAME h5
10343
+ // tokens as `card`; only the scale is set here, because ODS has no
10344
+ // step below the 12/14px caption and this stamp is 10px by design.
10345
+ button: "px-2 py-0.5 font-[family-name:var(--font-h5-family)] font-[number:var(--font-h5-weight)] text-badge uppercase tracking-[-0.02em]"
10337
10346
  },
10338
10347
  colorScheme: {
10339
10348
  cyan: "bg-[var(--ods-flamingo-cyan-base)] text-ods-text-on-accent",
@@ -14255,36 +14264,38 @@ AllowedDomainsInput.displayName = "AllowedDomainsInput";
14255
14264
  // src/components/ui/announcement-bar-view.tsx
14256
14265
  init_cn();
14257
14266
  import { jsx as jsx96, jsxs as jsxs74 } from "react/jsx-runtime";
14267
+ var MD_QUERY = "(min-width: 800px)";
14258
14268
  function AnnouncementBarView({
14259
14269
  startAdornment,
14260
14270
  title,
14261
14271
  actionBlock,
14262
14272
  endAdornment,
14273
+ onContentClick,
14274
+ contentClassName,
14263
14275
  className,
14264
14276
  style
14265
14277
  }) {
14266
- const adornmentBox = "flex h-5 shrink-0 items-center md:h-auto";
14267
- return /* @__PURE__ */ jsxs74(
14268
- "div",
14269
- {
14270
- className: cn(
14271
- "flex w-full flex-col gap-[var(--spacing-system-s)] px-[var(--spacing-system-l)] py-[var(--spacing-system-sf)] md:flex-row md:items-center",
14272
- className
14273
- ),
14274
- style,
14275
- children: [
14276
- /* @__PURE__ */ jsxs74("div", { className: "flex min-w-0 flex-1 items-start gap-[var(--spacing-system-s)] md:items-center", children: [
14277
- startAdornment && /* @__PURE__ */ jsx96("div", { className: adornmentBox, children: startAdornment }),
14278
- typeof title === "string" ? /* @__PURE__ */ jsx96("p", { className: "min-w-0 flex-1 break-words text-h4 md:truncate", children: title }) : title != null && /* @__PURE__ */ jsx96("div", { className: "min-w-0 flex-1", children: title }),
14279
- endAdornment && /* @__PURE__ */ jsx96("div", { className: cn(adornmentBox, actionBlock && "md:hidden"), children: endAdornment })
14280
- ] }),
14281
- actionBlock && /* @__PURE__ */ jsxs74("div", { className: "flex w-full shrink-0 items-center gap-[var(--spacing-system-s)] md:w-auto", children: [
14282
- /* @__PURE__ */ jsx96("div", { className: "flex min-w-0 flex-1 md:flex-none [&>*]:w-full md:[&>*]:w-auto", children: actionBlock }),
14283
- endAdornment && /* @__PURE__ */ jsx96("div", { className: "hidden shrink-0 md:flex", children: endAdornment })
14284
- ] })
14285
- ]
14286
- }
14287
- );
14278
+ const handleContentClick = onContentClick ? () => {
14279
+ if (!window.matchMedia(MD_QUERY).matches) onContentClick();
14280
+ } : void 0;
14281
+ return /* @__PURE__ */ jsxs74("div", { className: cn("flex w-full max-w-full min-h-11 items-center", className), style, children: [
14282
+ /* @__PURE__ */ jsxs74(
14283
+ "div",
14284
+ {
14285
+ className: cn(
14286
+ "flex min-w-0 flex-1 flex-row items-center gap-[var(--spacing-system-s)] py-[var(--spacing-system-xs)] pl-[var(--spacing-system-l)]",
14287
+ contentClassName
14288
+ ),
14289
+ onClick: handleContentClick,
14290
+ children: [
14291
+ startAdornment && /* @__PURE__ */ jsx96("div", { className: "flex shrink-0 items-center", children: startAdornment }),
14292
+ typeof title === "string" ? /* @__PURE__ */ jsx96("p", { className: "mb-0 min-w-0 max-w-full flex-1 truncate text-h6", children: title }) : title != null && /* @__PURE__ */ jsx96("div", { className: "min-w-0 max-w-full flex-1", children: title }),
14293
+ actionBlock && /* @__PURE__ */ jsx96("div", { className: "ml-[var(--spacing-system-m)] sr-only shrink-0 focus-within:not-sr-only md:not-sr-only md:flex", children: actionBlock })
14294
+ ]
14295
+ }
14296
+ ),
14297
+ endAdornment && /* @__PURE__ */ jsx96("div", { className: "ml-[var(--spacing-system-xs)] mr-[var(--spacing-system-m)] shrink-0", children: endAdornment })
14298
+ ] });
14288
14299
  }
14289
14300
 
14290
14301
  // src/components/ui/autocomplete.tsx
@@ -17319,7 +17330,10 @@ init_cn();
17319
17330
  import { cva as cva5 } from "class-variance-authority";
17320
17331
  import { jsx as jsx119 } from "react/jsx-runtime";
17321
17332
  var badgeVariants = cva5(
17322
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-h6 font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
17333
+ // Weight from the ODS token. Scale stays at 12px rather than the `text-h6`
17334
+ // composite: a badge is a stamp, and that composite is 14/20 on desktop —
17335
+ // moving badges onto it grew every one of them.
17336
+ "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-[number:var(--font-weight-semibold)] transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
17323
17337
  {
17324
17338
  variants: {
17325
17339
  variant: {
@@ -55437,4 +55451,4 @@ export {
55437
55451
  LogsList,
55438
55452
  assets
55439
55453
  };
55440
- //# sourceMappingURL=chunk-P5SLNM3C.js.map
55454
+ //# sourceMappingURL=chunk-NPN4WYOI.js.map