@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.
- package/dist/{chunk-TISXEAGH.cjs → chunk-27ZGHJDS.cjs} +7 -7
- package/dist/{chunk-TISXEAGH.cjs.map → chunk-27ZGHJDS.cjs.map} +1 -1
- package/dist/{chunk-HVLMAT4T.cjs → chunk-2W3BAKMP.cjs} +5 -5
- package/dist/{chunk-HVLMAT4T.cjs.map → chunk-2W3BAKMP.cjs.map} +1 -1
- package/dist/{chunk-VYUEOKI6.js → chunk-6O47KXGR.js} +2 -2
- package/dist/{chunk-EZESVVIM.js → chunk-7HNLEZ6N.js} +4 -4
- package/dist/{chunk-O2QOC5FA.js → chunk-7WT3K34L.js} +4 -4
- package/dist/{chunk-AEM7ADDG.js → chunk-AYNDMF5C.js} +2 -2
- package/dist/{chunk-J6CE6HZS.cjs → chunk-C667B74I.cjs} +11 -11
- package/dist/{chunk-J6CE6HZS.cjs.map → chunk-C667B74I.cjs.map} +1 -1
- package/dist/{chunk-3PLQWO4H.cjs → chunk-CGUYR6DR.cjs} +39 -25
- package/dist/chunk-CGUYR6DR.cjs.map +1 -0
- package/dist/{chunk-L3BWGFHT.cjs → chunk-DK42EGBQ.cjs} +15 -15
- package/dist/{chunk-L3BWGFHT.cjs.map → chunk-DK42EGBQ.cjs.map} +1 -1
- package/dist/{chunk-IUMPVRSH.js → chunk-H5SCS5XW.js} +2 -2
- package/dist/{chunk-3TU6QURP.js → chunk-JI24IMOW.js} +2 -2
- package/dist/{chunk-MULVIGIN.cjs → chunk-MAZGXV4D.cjs} +59 -59
- package/dist/{chunk-MULVIGIN.cjs.map → chunk-MAZGXV4D.cjs.map} +1 -1
- package/dist/{chunk-3I34MUEG.cjs → chunk-MCO55ART.cjs} +62 -62
- package/dist/{chunk-3I34MUEG.cjs.map → chunk-MCO55ART.cjs.map} +1 -1
- package/dist/{chunk-P5SLNM3C.js → chunk-NPN4WYOI.js} +39 -25
- package/dist/chunk-NPN4WYOI.js.map +1 -0
- package/dist/{chunk-2WZAR2MB.cjs → chunk-O7N2PGM2.cjs} +37 -37
- package/dist/{chunk-2WZAR2MB.cjs.map → chunk-O7N2PGM2.cjs.map} +1 -1
- package/dist/{chunk-QTGYQ2U7.js → chunk-QA5LN5NS.js} +2 -2
- package/dist/{chunk-CLW2S55N.js → chunk-QNWYTEM6.js} +4 -4
- package/dist/{chunk-ELIY4AO2.cjs → chunk-RRCWF5N3.cjs} +26 -26
- package/dist/{chunk-ELIY4AO2.cjs.map → chunk-RRCWF5N3.cjs.map} +1 -1
- package/dist/{chunk-QZJN5OHK.js → chunk-V3SOAVX4.js} +4 -4
- package/dist/{chunk-VHFH3BG6.cjs → chunk-V6OVMRXL.cjs} +31 -31
- package/dist/{chunk-VHFH3BG6.cjs.map → chunk-V6OVMRXL.cjs.map} +1 -1
- package/dist/{chunk-JW3UNHGW.js → chunk-VWNYNJWU.js} +2 -2
- package/dist/{chunk-X77X3RKH.cjs → chunk-WPNVOQ4O.cjs} +9 -9
- package/dist/{chunk-X77X3RKH.cjs.map → chunk-WPNVOQ4O.cjs.map} +1 -1
- package/dist/{chunk-VRJXY6TM.cjs → chunk-WSKUYW3G.cjs} +26 -26
- package/dist/{chunk-VRJXY6TM.cjs.map → chunk-WSKUYW3G.cjs.map} +1 -1
- package/dist/{chunk-HTSWLPMU.js → chunk-ZWVQULAJ.js} +2 -2
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +142 -141
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +21 -20
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/announcement-bar-view.d.ts +26 -28
- package/dist/components/ui/announcement-bar-view.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/tailwind.config.cjs +9 -0
- package/dist/tailwind.config.cjs.map +1 -1
- package/dist/tailwind.config.js +9 -0
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +1 -1
- package/src/ODS_TOKEN_RULES.md +7 -0
- package/src/components/announcement-bar.tsx +21 -22
- package/src/components/ui/announcement-bar-view.tsx +68 -51
- package/src/components/ui/badge.tsx +4 -1
- package/src/components/ui/status-badge.tsx +11 -1
- package/src/styles/ods-responsive-tokens.css +9 -0
- package/tailwind.config.ts +9 -0
- package/dist/chunk-3PLQWO4H.cjs.map +0 -1
- package/dist/chunk-P5SLNM3C.js.map +0 -1
- /package/dist/{chunk-VYUEOKI6.js.map → chunk-6O47KXGR.js.map} +0 -0
- /package/dist/{chunk-EZESVVIM.js.map → chunk-7HNLEZ6N.js.map} +0 -0
- /package/dist/{chunk-O2QOC5FA.js.map → chunk-7WT3K34L.js.map} +0 -0
- /package/dist/{chunk-AEM7ADDG.js.map → chunk-AYNDMF5C.js.map} +0 -0
- /package/dist/{chunk-IUMPVRSH.js.map → chunk-H5SCS5XW.js.map} +0 -0
- /package/dist/{chunk-3TU6QURP.js.map → chunk-JI24IMOW.js.map} +0 -0
- /package/dist/{chunk-QTGYQ2U7.js.map → chunk-QA5LN5NS.js.map} +0 -0
- /package/dist/{chunk-CLW2S55N.js.map → chunk-QNWYTEM6.js.map} +0 -0
- /package/dist/{chunk-QZJN5OHK.js.map → chunk-V3SOAVX4.js.map} +0 -0
- /package/dist/{chunk-JW3UNHGW.js.map → chunk-VWNYNJWU.js.map} +0 -0
- /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
|
-
|
|
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
|
|
14267
|
-
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
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
|
-
|
|
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-
|
|
55454
|
+
//# sourceMappingURL=chunk-NPN4WYOI.js.map
|