@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.
Files changed (125) hide show
  1. package/dist/{chunk-4ARE6T4J.js → chunk-2I6KJN7F.js} +4 -4
  2. package/dist/{chunk-72SQSKU7.cjs → chunk-4A5RDQ6L.cjs} +61 -61
  3. package/dist/{chunk-72SQSKU7.cjs.map → chunk-4A5RDQ6L.cjs.map} +1 -1
  4. package/dist/{chunk-SZMZJ5Z7.js → chunk-5KAQ2JUQ.js} +2 -2
  5. package/dist/{chunk-TKAWA4FY.js → chunk-5VGIDZAM.js} +2 -2
  6. package/dist/{chunk-TV6GBR7P.cjs → chunk-6M6EZK4R.cjs} +31 -31
  7. package/dist/{chunk-TV6GBR7P.cjs.map → chunk-6M6EZK4R.cjs.map} +1 -1
  8. package/dist/{chunk-KAM2YLU4.js → chunk-6RTSYEBE.js} +2 -2
  9. package/dist/{chunk-SRNY3MXC.js → chunk-7T2HI44L.js} +2 -2
  10. package/dist/{chunk-GN2Q3WBA.js → chunk-7YDLMRVR.js} +6 -6
  11. package/dist/{chunk-WBGSHUXJ.cjs → chunk-A4L6BEB7.cjs} +7 -7
  12. package/dist/{chunk-WBGSHUXJ.cjs.map → chunk-A4L6BEB7.cjs.map} +1 -1
  13. package/dist/{chunk-QVW4B4YQ.cjs → chunk-CN2VQPLX.cjs} +4 -4
  14. package/dist/{chunk-QVW4B4YQ.cjs.map → chunk-CN2VQPLX.cjs.map} +1 -1
  15. package/dist/{chunk-KGMOXLYO.cjs → chunk-DCB4EBA5.cjs} +70 -28
  16. package/dist/chunk-DCB4EBA5.cjs.map +1 -0
  17. package/dist/{chunk-NRRY2RZR.cjs → chunk-EVCAPL5A.cjs} +39 -39
  18. package/dist/{chunk-NRRY2RZR.cjs.map → chunk-EVCAPL5A.cjs.map} +1 -1
  19. package/dist/{chunk-I4N3VQCU.cjs → chunk-GXNSFW3N.cjs} +30 -30
  20. package/dist/{chunk-I4N3VQCU.cjs.map → chunk-GXNSFW3N.cjs.map} +1 -1
  21. package/dist/{chunk-Q4NLR45P.cjs → chunk-H7ORFGB6.cjs} +11 -11
  22. package/dist/{chunk-Q4NLR45P.cjs.map → chunk-H7ORFGB6.cjs.map} +1 -1
  23. package/dist/{chunk-HT7P4QSO.cjs → chunk-HCGS2AAS.cjs} +14 -14
  24. package/dist/{chunk-HT7P4QSO.cjs.map → chunk-HCGS2AAS.cjs.map} +1 -1
  25. package/dist/{chunk-4WE5VFJX.js → chunk-HWYUSB5A.js} +2 -2
  26. package/dist/{chunk-44ERGZJT.js → chunk-IRV6TOEZ.js} +5 -5
  27. package/dist/{chunk-LALK7AGK.cjs → chunk-ISCWUJ72.cjs} +3 -3
  28. package/dist/{chunk-LALK7AGK.cjs.map → chunk-ISCWUJ72.cjs.map} +1 -1
  29. package/dist/{chunk-GAIU563C.cjs → chunk-ISLQTWWW.cjs} +9 -9
  30. package/dist/{chunk-GAIU563C.cjs.map → chunk-ISLQTWWW.cjs.map} +1 -1
  31. package/dist/{chunk-XQU5QBMJ.js → chunk-JS7FDV27.js} +3515 -3561
  32. package/dist/chunk-JS7FDV27.js.map +1 -0
  33. package/dist/{chunk-DDECEP24.cjs → chunk-LDS54O26.cjs} +505 -551
  34. package/dist/chunk-LDS54O26.cjs.map +1 -0
  35. package/dist/{chunk-2RTORV23.cjs → chunk-LLBU7RI5.cjs} +27 -27
  36. package/dist/{chunk-2RTORV23.cjs.map → chunk-LLBU7RI5.cjs.map} +1 -1
  37. package/dist/{chunk-CILHIWXK.js → chunk-M3GOE7OF.js} +2 -2
  38. package/dist/{chunk-5HTVPIQG.cjs → chunk-MGRCFN2K.cjs} +5 -5
  39. package/dist/{chunk-5HTVPIQG.cjs.map → chunk-MGRCFN2K.cjs.map} +1 -1
  40. package/dist/{chunk-WBWGQOAH.js → chunk-R7RCGLII.js} +7 -7
  41. package/dist/{chunk-QX5AXGLP.js → chunk-RSZXB6J2.js} +108 -66
  42. package/dist/chunk-RSZXB6J2.js.map +1 -0
  43. package/dist/{chunk-NGYZMQHP.js → chunk-U7UPMD3Z.js} +4 -4
  44. package/dist/{chunk-CUZTTZ5T.cjs → chunk-UYQFUEIK.cjs} +98 -98
  45. package/dist/{chunk-CUZTTZ5T.cjs.map → chunk-UYQFUEIK.cjs.map} +1 -1
  46. package/dist/{chunk-VYX4X7ND.js → chunk-WTCXDYK7.js} +2 -2
  47. package/dist/{chunk-6X3C2YAR.js → chunk-XO4YU5GN.js} +2 -2
  48. package/dist/components/case-studies/index.cjs +9 -9
  49. package/dist/components/case-studies/index.js +3 -3
  50. package/dist/components/chat/index.cjs +3 -3
  51. package/dist/components/chat/index.js +2 -2
  52. package/dist/components/command.d.ts +3 -3
  53. package/dist/components/contact/index.cjs +4 -4
  54. package/dist/components/contact/index.js +3 -3
  55. package/dist/components/docs/index.cjs +6 -6
  56. package/dist/components/docs/index.js +5 -5
  57. package/dist/components/embeds/index.cjs +4 -4
  58. package/dist/components/embeds/index.js +3 -3
  59. package/dist/components/faq/index.cjs +4 -4
  60. package/dist/components/faq/index.js +3 -3
  61. package/dist/components/features/index.cjs +3 -3
  62. package/dist/components/features/index.js +2 -2
  63. package/dist/components/help-center-pages/index.cjs +23 -23
  64. package/dist/components/help-center-pages/index.js +14 -14
  65. package/dist/components/index.cjs +141 -141
  66. package/dist/components/index.cjs.map +1 -1
  67. package/dist/components/index.js +13 -13
  68. package/dist/components/meeting-scheduler/index.cjs +60 -60
  69. package/dist/components/meeting-scheduler/index.cjs.map +1 -1
  70. package/dist/components/meeting-scheduler/index.js +5 -5
  71. package/dist/components/navigation/index.cjs +3 -3
  72. package/dist/components/navigation/index.js +2 -2
  73. package/dist/components/onboarding-guides/index.cjs +6 -6
  74. package/dist/components/onboarding-guides/index.js +5 -5
  75. package/dist/components/related-content/index.cjs +4 -4
  76. package/dist/components/related-content/index.js +3 -3
  77. package/dist/components/resizable.d.ts +1 -1
  78. package/dist/components/tickets/index.cjs +7 -7
  79. package/dist/components/tickets/index.js +6 -6
  80. package/dist/components/ui/alert.d.ts +1 -1
  81. package/dist/components/ui/badge.d.ts +1 -1
  82. package/dist/components/ui/checkbox-with-description.d.ts.map +1 -1
  83. package/dist/components/ui/field-wrapper.d.ts.map +1 -1
  84. package/dist/components/ui/file-manager/index.cjs +36 -36
  85. package/dist/components/ui/file-manager/index.js +1 -1
  86. package/dist/components/ui/index.cjs +4 -4
  87. package/dist/components/ui/index.cjs.map +1 -1
  88. package/dist/components/ui/index.js +3 -3
  89. package/dist/components/ui/label.d.ts +1 -1
  90. package/dist/components/ui/label.d.ts.map +1 -1
  91. package/dist/components/ui/status-badge.d.ts +1 -1
  92. package/dist/components/ui/tags-input.d.ts.map +1 -1
  93. package/dist/hooks/use-toast.d.ts +1 -1
  94. package/dist/index.cjs +4 -4
  95. package/dist/index.cjs.map +1 -1
  96. package/dist/index.js +3 -3
  97. package/package.json +1 -1
  98. package/src/components/features/array-entry-manager.tsx +1 -1
  99. package/src/components/features/changelog-manager.tsx +3 -3
  100. package/src/components/features/highlight-video-section.tsx +1 -1
  101. package/src/components/features/og-editor-preview.tsx +4 -4
  102. package/src/components/features/release-media-manager.tsx +1 -1
  103. package/src/components/features/seo-editor-preview.tsx +1 -1
  104. package/src/components/ui/checkbox-with-description.tsx +0 -1
  105. package/src/components/ui/field-wrapper.tsx +3 -2
  106. package/src/components/ui/field.tsx +1 -1
  107. package/src/components/ui/label.tsx +31 -15
  108. package/src/components/ui/tags-input.tsx +3 -2
  109. package/dist/chunk-DDECEP24.cjs.map +0 -1
  110. package/dist/chunk-KGMOXLYO.cjs.map +0 -1
  111. package/dist/chunk-QX5AXGLP.js.map +0 -1
  112. package/dist/chunk-XQU5QBMJ.js.map +0 -1
  113. /package/dist/{chunk-4ARE6T4J.js.map → chunk-2I6KJN7F.js.map} +0 -0
  114. /package/dist/{chunk-SZMZJ5Z7.js.map → chunk-5KAQ2JUQ.js.map} +0 -0
  115. /package/dist/{chunk-TKAWA4FY.js.map → chunk-5VGIDZAM.js.map} +0 -0
  116. /package/dist/{chunk-KAM2YLU4.js.map → chunk-6RTSYEBE.js.map} +0 -0
  117. /package/dist/{chunk-SRNY3MXC.js.map → chunk-7T2HI44L.js.map} +0 -0
  118. /package/dist/{chunk-GN2Q3WBA.js.map → chunk-7YDLMRVR.js.map} +0 -0
  119. /package/dist/{chunk-4WE5VFJX.js.map → chunk-HWYUSB5A.js.map} +0 -0
  120. /package/dist/{chunk-44ERGZJT.js.map → chunk-IRV6TOEZ.js.map} +0 -0
  121. /package/dist/{chunk-CILHIWXK.js.map → chunk-M3GOE7OF.js.map} +0 -0
  122. /package/dist/{chunk-WBWGQOAH.js.map → chunk-R7RCGLII.js.map} +0 -0
  123. /package/dist/{chunk-NGYZMQHP.js.map → chunk-U7UPMD3Z.js.map} +0 -0
  124. /package/dist/{chunk-VYX4X7ND.js.map → chunk-WTCXDYK7.js.map} +0 -0
  125. /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 className="text-h6 text-ods-text-primary">
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 className="text-h6 text-ods-text-primary">
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 className="text-h6 text-ods-text-primary">
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 className="text-h6 text-ods-text-primary">
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 className="text-h6 text-ods-text-primary">Media Gallery ({media.length})</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 variant="small" className="text-ods-text-primary">
230
+ <Label>
231
231
  OG Image
232
232
  </Label>
233
233
 
@@ -47,7 +47,6 @@ const CheckboxWithDescription = React.forwardRef<
47
47
  <div className="flex flex-col gap-1">
48
48
  <Label
49
49
  htmlFor={id}
50
- variant="small"
51
50
  spacing="tight"
52
51
  className={cn(
53
52
  "leading-none cursor-pointer",
@@ -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
- <label className="text-h6 text-ods-text-primary mb-1">
47
+ <Label className="mb-1">
47
48
  {label}
48
- </label>
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} variant="small" className="text-ods-text-primary">
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
- // default is text-h6, matching `Field`'s label (Label variant="small")
15
- // and FieldWrapper every bare <Label> is a form label, and the three
16
- // primitives must agree on ONE label scale. Use variant="large" for an
17
- // intentionally bigger label.
18
- default: "text-h6",
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
- default: "mb-1",
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: "default"
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
- <label className="text-h6 text-ods-text-primary">
70
+ <Label>
70
71
  {label}
71
- </label>
72
+ </Label>
72
73
  )}
73
74
 
74
75
  <div className="flex items-center gap-2">