@flamingo-stack/openframe-frontend-core 0.0.550-1809.4793.1 → 0.0.550
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-4ARE6T4J.js → chunk-2I6KJN7F.js} +4 -4
- package/dist/{chunk-72SQSKU7.cjs → chunk-4A5RDQ6L.cjs} +61 -61
- package/dist/{chunk-72SQSKU7.cjs.map → chunk-4A5RDQ6L.cjs.map} +1 -1
- package/dist/{chunk-SZMZJ5Z7.js → chunk-5KAQ2JUQ.js} +2 -2
- package/dist/{chunk-TKAWA4FY.js → chunk-5VGIDZAM.js} +2 -2
- package/dist/{chunk-TV6GBR7P.cjs → chunk-6M6EZK4R.cjs} +31 -31
- package/dist/{chunk-TV6GBR7P.cjs.map → chunk-6M6EZK4R.cjs.map} +1 -1
- package/dist/{chunk-KAM2YLU4.js → chunk-6RTSYEBE.js} +2 -2
- package/dist/{chunk-SRNY3MXC.js → chunk-7T2HI44L.js} +2 -2
- package/dist/{chunk-GN2Q3WBA.js → chunk-7YDLMRVR.js} +6 -6
- package/dist/{chunk-WBGSHUXJ.cjs → chunk-A4L6BEB7.cjs} +7 -7
- package/dist/{chunk-WBGSHUXJ.cjs.map → chunk-A4L6BEB7.cjs.map} +1 -1
- package/dist/{chunk-QVW4B4YQ.cjs → chunk-CN2VQPLX.cjs} +4 -4
- package/dist/{chunk-QVW4B4YQ.cjs.map → chunk-CN2VQPLX.cjs.map} +1 -1
- package/dist/{chunk-KGMOXLYO.cjs → chunk-DCB4EBA5.cjs} +70 -28
- package/dist/chunk-DCB4EBA5.cjs.map +1 -0
- package/dist/{chunk-NRRY2RZR.cjs → chunk-EVCAPL5A.cjs} +39 -39
- package/dist/{chunk-NRRY2RZR.cjs.map → chunk-EVCAPL5A.cjs.map} +1 -1
- package/dist/{chunk-I4N3VQCU.cjs → chunk-GXNSFW3N.cjs} +30 -30
- package/dist/{chunk-I4N3VQCU.cjs.map → chunk-GXNSFW3N.cjs.map} +1 -1
- package/dist/{chunk-Q4NLR45P.cjs → chunk-H7ORFGB6.cjs} +11 -11
- package/dist/{chunk-Q4NLR45P.cjs.map → chunk-H7ORFGB6.cjs.map} +1 -1
- package/dist/{chunk-HT7P4QSO.cjs → chunk-HCGS2AAS.cjs} +14 -14
- package/dist/{chunk-HT7P4QSO.cjs.map → chunk-HCGS2AAS.cjs.map} +1 -1
- package/dist/{chunk-4WE5VFJX.js → chunk-HWYUSB5A.js} +2 -2
- package/dist/{chunk-44ERGZJT.js → chunk-IRV6TOEZ.js} +5 -5
- package/dist/{chunk-LALK7AGK.cjs → chunk-ISCWUJ72.cjs} +3 -3
- package/dist/{chunk-LALK7AGK.cjs.map → chunk-ISCWUJ72.cjs.map} +1 -1
- package/dist/{chunk-GAIU563C.cjs → chunk-ISLQTWWW.cjs} +9 -9
- package/dist/{chunk-GAIU563C.cjs.map → chunk-ISLQTWWW.cjs.map} +1 -1
- package/dist/{chunk-XQU5QBMJ.js → chunk-JS7FDV27.js} +3515 -3561
- package/dist/chunk-JS7FDV27.js.map +1 -0
- package/dist/{chunk-DDECEP24.cjs → chunk-LDS54O26.cjs} +505 -551
- package/dist/chunk-LDS54O26.cjs.map +1 -0
- package/dist/{chunk-2RTORV23.cjs → chunk-LLBU7RI5.cjs} +27 -27
- package/dist/{chunk-2RTORV23.cjs.map → chunk-LLBU7RI5.cjs.map} +1 -1
- package/dist/{chunk-CILHIWXK.js → chunk-M3GOE7OF.js} +2 -2
- package/dist/{chunk-5HTVPIQG.cjs → chunk-MGRCFN2K.cjs} +5 -5
- package/dist/{chunk-5HTVPIQG.cjs.map → chunk-MGRCFN2K.cjs.map} +1 -1
- package/dist/{chunk-WBWGQOAH.js → chunk-R7RCGLII.js} +7 -7
- package/dist/{chunk-QX5AXGLP.js → chunk-RSZXB6J2.js} +108 -66
- package/dist/chunk-RSZXB6J2.js.map +1 -0
- package/dist/{chunk-NGYZMQHP.js → chunk-U7UPMD3Z.js} +4 -4
- package/dist/{chunk-CUZTTZ5T.cjs → chunk-UYQFUEIK.cjs} +98 -98
- package/dist/{chunk-CUZTTZ5T.cjs.map → chunk-UYQFUEIK.cjs.map} +1 -1
- package/dist/{chunk-VYX4X7ND.js → chunk-WTCXDYK7.js} +2 -2
- package/dist/{chunk-6X3C2YAR.js → chunk-XO4YU5GN.js} +2 -2
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/command.d.ts +3 -3
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +141 -141
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +60 -60
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/resizable.d.ts +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/checkbox-with-description.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +3 -3
- package/dist/components/ui/label.d.ts +1 -1
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/status-badge.d.ts +1 -1
- package/dist/components/ui/tags-input.d.ts.map +1 -1
- package/dist/hooks/use-toast.d.ts +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/components/features/array-entry-manager.tsx +1 -1
- package/src/components/features/changelog-manager.tsx +3 -3
- package/src/components/features/highlight-video-section.tsx +1 -1
- package/src/components/features/og-editor-preview.tsx +4 -4
- package/src/components/features/release-media-manager.tsx +1 -1
- package/src/components/features/seo-editor-preview.tsx +1 -1
- package/src/components/ui/checkbox-with-description.tsx +0 -1
- package/src/components/ui/field-wrapper.tsx +3 -2
- package/src/components/ui/field.tsx +1 -1
- package/src/components/ui/label.tsx +31 -15
- package/src/components/ui/tags-input.tsx +3 -2
- package/dist/chunk-DDECEP24.cjs.map +0 -1
- package/dist/chunk-KGMOXLYO.cjs.map +0 -1
- package/dist/chunk-QX5AXGLP.js.map +0 -1
- package/dist/chunk-XQU5QBMJ.js.map +0 -1
- /package/dist/{chunk-4ARE6T4J.js.map → chunk-2I6KJN7F.js.map} +0 -0
- /package/dist/{chunk-SZMZJ5Z7.js.map → chunk-5KAQ2JUQ.js.map} +0 -0
- /package/dist/{chunk-TKAWA4FY.js.map → chunk-5VGIDZAM.js.map} +0 -0
- /package/dist/{chunk-KAM2YLU4.js.map → chunk-6RTSYEBE.js.map} +0 -0
- /package/dist/{chunk-SRNY3MXC.js.map → chunk-7T2HI44L.js.map} +0 -0
- /package/dist/{chunk-GN2Q3WBA.js.map → chunk-7YDLMRVR.js.map} +0 -0
- /package/dist/{chunk-4WE5VFJX.js.map → chunk-HWYUSB5A.js.map} +0 -0
- /package/dist/{chunk-44ERGZJT.js.map → chunk-IRV6TOEZ.js.map} +0 -0
- /package/dist/{chunk-CILHIWXK.js.map → chunk-M3GOE7OF.js.map} +0 -0
- /package/dist/{chunk-WBWGQOAH.js.map → chunk-R7RCGLII.js.map} +0 -0
- /package/dist/{chunk-NGYZMQHP.js.map → chunk-U7UPMD3Z.js.map} +0 -0
- /package/dist/{chunk-VYX4X7ND.js.map → chunk-WTCXDYK7.js.map} +0 -0
- /package/dist/{chunk-6X3C2YAR.js.map → chunk-XO4YU5GN.js.map} +0 -0
|
@@ -57,7 +57,7 @@ export function OGEditorPreview({
|
|
|
57
57
|
{/* SEO Title & Keywords - Same Row */}
|
|
58
58
|
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
|
|
59
59
|
<div className="space-y-2">
|
|
60
|
-
<Label
|
|
60
|
+
<Label>
|
|
61
61
|
SEO Title
|
|
62
62
|
</Label>
|
|
63
63
|
<Input
|
|
@@ -70,7 +70,7 @@ export function OGEditorPreview({
|
|
|
70
70
|
</div>
|
|
71
71
|
|
|
72
72
|
<div className="space-y-2">
|
|
73
|
-
<Label
|
|
73
|
+
<Label>
|
|
74
74
|
SEO Keywords
|
|
75
75
|
</Label>
|
|
76
76
|
<Input
|
|
@@ -86,7 +86,7 @@ export function OGEditorPreview({
|
|
|
86
86
|
{/* SEO Description & OG Image - Same Row */}
|
|
87
87
|
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
|
|
88
88
|
<div className="space-y-2 flex flex-col h-full">
|
|
89
|
-
<Label
|
|
89
|
+
<Label>
|
|
90
90
|
SEO Description
|
|
91
91
|
</Label>
|
|
92
92
|
<Textarea
|
|
@@ -100,7 +100,7 @@ export function OGEditorPreview({
|
|
|
100
100
|
</div>
|
|
101
101
|
|
|
102
102
|
<div className="space-y-2 flex flex-col h-full">
|
|
103
|
-
<Label
|
|
103
|
+
<Label>
|
|
104
104
|
OG Image
|
|
105
105
|
</Label>
|
|
106
106
|
<div className="flex-1">
|
|
@@ -169,7 +169,7 @@ export function ReleaseMediaManager({
|
|
|
169
169
|
{media.length > 0 && (
|
|
170
170
|
<div>
|
|
171
171
|
<div className="flex items-center justify-between mb-4">
|
|
172
|
-
<Label
|
|
172
|
+
<Label>Media Gallery ({media.length})</Label>
|
|
173
173
|
<p className="text-h6 text-ods-text-secondary">Drag to reorder</p>
|
|
174
174
|
</div>
|
|
175
175
|
|
|
@@ -227,7 +227,7 @@ export function SEOEditorPreview({
|
|
|
227
227
|
<div className="flex flex-col gap-[var(--spacing-system-xxs)]">
|
|
228
228
|
{/* Group label for the upload widget — Field's exact label treatment,
|
|
229
229
|
so the OG column's label row aligns with the Description Field. */}
|
|
230
|
-
<Label
|
|
230
|
+
<Label>
|
|
231
231
|
OG Image
|
|
232
232
|
</Label>
|
|
233
233
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
|
+
import { Label } from './label'
|
|
3
4
|
import * as React from "react"
|
|
4
5
|
import { cn } from "../../utils/cn"
|
|
5
6
|
|
|
@@ -43,9 +44,9 @@ const FieldWrapper = React.forwardRef<HTMLDivElement, FieldWrapperProps>(
|
|
|
43
44
|
// Field-wrapped controls with `label=`-prop controls showed two label
|
|
44
45
|
// sizes side by side — the exact inconsistency the admin editors kept
|
|
45
46
|
// reporting. One label scale, owned here and in Field together.
|
|
46
|
-
<
|
|
47
|
+
<Label className="mb-1">
|
|
47
48
|
{label}
|
|
48
|
-
</
|
|
49
|
+
</Label>
|
|
49
50
|
)}
|
|
50
51
|
{children}
|
|
51
52
|
{error && (
|
|
@@ -67,7 +67,7 @@ export function Field({ label, hint, required, children, error, labelExtras, lab
|
|
|
67
67
|
return (
|
|
68
68
|
<div className="flex flex-col gap-[var(--spacing-system-xxs)]">
|
|
69
69
|
<div className="flex items-center gap-1.5">
|
|
70
|
-
<Label htmlFor={controlId}
|
|
70
|
+
<Label htmlFor={controlId}>
|
|
71
71
|
{label}
|
|
72
72
|
{required && ' *'}
|
|
73
73
|
</Label>
|
|
@@ -6,22 +6,38 @@ import { cva, type VariantProps } from "class-variance-authority"
|
|
|
6
6
|
|
|
7
7
|
import { cn } from "../../utils/cn"
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* THE form label. One treatment, stated once:
|
|
11
|
+
*
|
|
12
|
+
* - Scale + color live in the BASE (`text-h6 text-ods-text-primary`), so call
|
|
13
|
+
* sites never restate them — before this, ~100 call sites carried a
|
|
14
|
+
* `className="text-ods-text-primary"` override and ~115 cargo-culted
|
|
15
|
+
* `variant="small"` because the base under-specified.
|
|
16
|
+
* - NO margin. Layout belongs to the CONTAINER (`Field`'s gap, a `space-y-2`
|
|
17
|
+
* wrapper) — a margin inside a text primitive stacks with container gaps,
|
|
18
|
+
* which is exactly how `Field` rows ended up 12px label→control while the
|
|
19
|
+
* hand-rolled rows were 8px, and how labels sat 2px off their inline badges
|
|
20
|
+
* in `items-center` rows. Opt into `spacing` ONLY when the label truly has
|
|
21
|
+
* no spacing container.
|
|
22
|
+
*
|
|
23
|
+
* Raw `<label>` elements remain correct for CLICK-SURFACES (a field's adorned
|
|
24
|
+
* chrome, checkbox/radio rows, upload dropzones) — those are interaction
|
|
25
|
+
* wrappers, not text labels, and must not inherit this typography.
|
|
26
|
+
*/
|
|
9
27
|
const labelVariants = cva(
|
|
10
|
-
"block text-ods-text-primary",
|
|
28
|
+
"block text-h6 text-ods-text-primary",
|
|
11
29
|
{
|
|
12
30
|
variants: {
|
|
13
31
|
variant: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
small: "text-h6",
|
|
20
|
-
medium: "text-h6",
|
|
32
|
+
default: "",
|
|
33
|
+
/** @deprecated alias of `default` — the three small scales converged on text-h6. */
|
|
34
|
+
small: "",
|
|
35
|
+
/** @deprecated alias of `default`. */
|
|
36
|
+
medium: "",
|
|
21
37
|
large: "text-h4"
|
|
22
38
|
},
|
|
23
39
|
spacing: {
|
|
24
|
-
|
|
40
|
+
none: "",
|
|
25
41
|
tight: "mb-0.5",
|
|
26
42
|
normal: "mb-2",
|
|
27
43
|
loose: "mb-3"
|
|
@@ -29,7 +45,7 @@ const labelVariants = cva(
|
|
|
29
45
|
},
|
|
30
46
|
defaultVariants: {
|
|
31
47
|
variant: "default",
|
|
32
|
-
spacing: "
|
|
48
|
+
spacing: "none"
|
|
33
49
|
}
|
|
34
50
|
}
|
|
35
51
|
)
|
|
@@ -38,12 +54,12 @@ const Label = React.forwardRef<
|
|
|
38
54
|
React.ElementRef<typeof LabelPrimitive.Root>,
|
|
39
55
|
React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>
|
|
40
56
|
>(({ className, variant, spacing, ...props }, ref) => (
|
|
41
|
-
<LabelPrimitive.Root
|
|
42
|
-
ref={ref}
|
|
43
|
-
className={cn(labelVariants({ variant, spacing }), className)}
|
|
44
|
-
{...props}
|
|
57
|
+
<LabelPrimitive.Root
|
|
58
|
+
ref={ref}
|
|
59
|
+
className={cn(labelVariants({ variant, spacing }), className)}
|
|
60
|
+
{...props}
|
|
45
61
|
/>
|
|
46
62
|
))
|
|
47
63
|
Label.displayName = LabelPrimitive.Root.displayName
|
|
48
64
|
|
|
49
|
-
export { Label }
|
|
65
|
+
export { Label }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
|
+
import { Label } from './label'
|
|
4
5
|
import { X, Plus } from "lucide-react"
|
|
5
6
|
import { Input } from "./input"
|
|
6
7
|
import { Button } from "./button"
|
|
@@ -66,9 +67,9 @@ export function TagsInput({
|
|
|
66
67
|
return (
|
|
67
68
|
<div className={cn("space-y-2", className)}>
|
|
68
69
|
{label && (
|
|
69
|
-
<
|
|
70
|
+
<Label>
|
|
70
71
|
{label}
|
|
71
|
-
</
|
|
72
|
+
</Label>
|
|
72
73
|
)}
|
|
73
74
|
|
|
74
75
|
<div className="flex items-center gap-2">
|