@flamingo-stack/openframe-frontend-core 0.0.628-snapshot.20260914045040 → 0.0.628
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-T46STYS2.js → chunk-2E543KJD.js} +2 -2
- package/dist/{chunk-LQLL4S4V.js → chunk-6AFJQOT2.js} +2 -2
- package/dist/{chunk-LHYRLL64.cjs → chunk-6QLOSGE7.cjs} +33 -33
- package/dist/{chunk-LHYRLL64.cjs.map → chunk-6QLOSGE7.cjs.map} +1 -1
- package/dist/{chunk-CKMJQ46H.cjs → chunk-BND25SXU.cjs} +18 -18
- package/dist/{chunk-CKMJQ46H.cjs.map → chunk-BND25SXU.cjs.map} +1 -1
- package/dist/{chunk-3ZY4CE7N.cjs → chunk-C3DDNRJG.cjs} +3 -3
- package/dist/{chunk-3ZY4CE7N.cjs.map → chunk-C3DDNRJG.cjs.map} +1 -1
- package/dist/{chunk-HVWNOPDV.cjs → chunk-E523WX5V.cjs} +3 -3
- package/dist/{chunk-HVWNOPDV.cjs.map → chunk-E523WX5V.cjs.map} +1 -1
- package/dist/{chunk-K7EJ7HYJ.cjs → chunk-GH4WLDPS.cjs} +10 -10
- package/dist/{chunk-K7EJ7HYJ.cjs.map → chunk-GH4WLDPS.cjs.map} +1 -1
- package/dist/{chunk-OXTV63QO.js → chunk-HLZKMYST.js} +2 -2
- package/dist/{chunk-4NMVDTHA.js → chunk-HNNR5CGX.js} +2 -2
- package/dist/{chunk-PFBMVQ5R.js → chunk-JVLLA3Z7.js} +2 -2
- package/dist/{chunk-4VPCIREO.js → chunk-JWXEEZKD.js} +2 -2
- package/dist/{chunk-2MXKO5BN.js → chunk-K43T7N7O.js} +4 -4
- package/dist/{chunk-W523NIJ6.cjs → chunk-KT47FRJC.cjs} +3 -3
- package/dist/{chunk-W523NIJ6.cjs.map → chunk-KT47FRJC.cjs.map} +1 -1
- package/dist/{chunk-KO52PXL4.cjs → chunk-KTBZJP5J.cjs} +4 -4
- package/dist/{chunk-KO52PXL4.cjs.map → chunk-KTBZJP5J.cjs.map} +1 -1
- package/dist/{chunk-DLHGJYYA.cjs → chunk-L6GJV7E7.cjs} +36 -36
- package/dist/{chunk-DLHGJYYA.cjs.map → chunk-L6GJV7E7.cjs.map} +1 -1
- package/dist/{chunk-MTLDYBXK.js → chunk-LCMXGM2P.js} +4 -4
- package/dist/{chunk-MOB5AA3X.js → chunk-LLSX5T7X.js} +3 -3
- package/dist/{chunk-SCPJ53CM.js → chunk-MB4IEWLH.js} +2 -2
- package/dist/{chunk-7P6M5G3W.cjs → chunk-Q544C4Z7.cjs} +17 -17
- package/dist/{chunk-7P6M5G3W.cjs.map → chunk-Q544C4Z7.cjs.map} +1 -1
- package/dist/{chunk-XNC37UQP.cjs → chunk-SWJ6QLD7.cjs} +51 -51
- package/dist/{chunk-XNC37UQP.cjs.map → chunk-SWJ6QLD7.cjs.map} +1 -1
- package/dist/{chunk-5OMBSMRI.cjs → chunk-TDKOW2C5.cjs} +13 -13
- package/dist/{chunk-5OMBSMRI.cjs.map → chunk-TDKOW2C5.cjs.map} +1 -1
- package/dist/{chunk-DGY4NVIB.js → chunk-TUUSLED7.js} +5 -5
- package/dist/{chunk-GR3WOOM7.js → chunk-U4UNC3RP.js} +5 -5
- package/dist/{chunk-WR67VM2J.cjs → chunk-UBX3ATG5.cjs} +145 -172
- package/dist/chunk-UBX3ATG5.cjs.map +1 -0
- package/dist/{chunk-5JAB5LVO.cjs → chunk-VCY2KHOE.cjs} +17 -17
- package/dist/{chunk-5JAB5LVO.cjs.map → chunk-VCY2KHOE.cjs.map} +1 -1
- package/dist/{chunk-2ZSGDKZI.cjs → chunk-WIP5JO2O.cjs} +4 -4
- package/dist/{chunk-2ZSGDKZI.cjs.map → chunk-WIP5JO2O.cjs.map} +1 -1
- package/dist/{chunk-PJZYJDR7.js → chunk-XQ4II4BK.js} +2 -2
- package/dist/{chunk-CV2SESZT.cjs → chunk-Y5QXDVPP.cjs} +3 -3
- package/dist/{chunk-CV2SESZT.cjs.map → chunk-Y5QXDVPP.cjs.map} +1 -1
- package/dist/{chunk-QGWBMPQY.js → chunk-YZJL6WGP.js} +7 -34
- package/dist/chunk-YZJL6WGP.js.map +1 -0
- package/dist/{chunk-D5CKXMMC.js → chunk-ZRCWXJDW.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- 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/changelog-manager.d.ts +1 -17
- package/dist/components/features/changelog-manager.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -31
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-release.d.ts +0 -5
- package/dist/types/product-release.d.ts.map +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/features/changelog-manager.tsx +5 -69
- package/src/types/product-release.ts +0 -5
- package/dist/chunk-QGWBMPQY.js.map +0 -1
- package/dist/chunk-WR67VM2J.cjs.map +0 -1
- package/src/components/features/__tests__/changelog-manager-tags.test.tsx +0 -57
- /package/dist/{chunk-T46STYS2.js.map → chunk-2E543KJD.js.map} +0 -0
- /package/dist/{chunk-LQLL4S4V.js.map → chunk-6AFJQOT2.js.map} +0 -0
- /package/dist/{chunk-OXTV63QO.js.map → chunk-HLZKMYST.js.map} +0 -0
- /package/dist/{chunk-4NMVDTHA.js.map → chunk-HNNR5CGX.js.map} +0 -0
- /package/dist/{chunk-PFBMVQ5R.js.map → chunk-JVLLA3Z7.js.map} +0 -0
- /package/dist/{chunk-4VPCIREO.js.map → chunk-JWXEEZKD.js.map} +0 -0
- /package/dist/{chunk-2MXKO5BN.js.map → chunk-K43T7N7O.js.map} +0 -0
- /package/dist/{chunk-MTLDYBXK.js.map → chunk-LCMXGM2P.js.map} +0 -0
- /package/dist/{chunk-MOB5AA3X.js.map → chunk-LLSX5T7X.js.map} +0 -0
- /package/dist/{chunk-SCPJ53CM.js.map → chunk-MB4IEWLH.js.map} +0 -0
- /package/dist/{chunk-DGY4NVIB.js.map → chunk-TUUSLED7.js.map} +0 -0
- /package/dist/{chunk-GR3WOOM7.js.map → chunk-U4UNC3RP.js.map} +0 -0
- /package/dist/{chunk-PJZYJDR7.js.map → chunk-XQ4II4BK.js.map} +0 -0
- /package/dist/{chunk-D5CKXMMC.js.map → chunk-ZRCWXJDW.js.map} +0 -0
package/package.json
CHANGED
|
@@ -3,23 +3,7 @@
|
|
|
3
3
|
import { Trash2, Plus, ChevronDown, ChevronUp, Eye, EyeOff } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import type { ChangelogEntry } from '../../types/product-release';
|
|
6
|
-
import {
|
|
7
|
-
Button,
|
|
8
|
-
Input,
|
|
9
|
-
Label,
|
|
10
|
-
Select,
|
|
11
|
-
SelectContent,
|
|
12
|
-
SelectItem,
|
|
13
|
-
SelectTrigger,
|
|
14
|
-
SelectValue,
|
|
15
|
-
StatusBadge,
|
|
16
|
-
Textarea,
|
|
17
|
-
} from '../ui';
|
|
18
|
-
|
|
19
|
-
export interface ChangelogTagOption {
|
|
20
|
-
value: string;
|
|
21
|
-
label: string;
|
|
22
|
-
}
|
|
6
|
+
import { Button, Input, Textarea, Label } from '../ui';
|
|
23
7
|
|
|
24
8
|
interface ChangelogManagerProps {
|
|
25
9
|
title: string;
|
|
@@ -34,18 +18,6 @@ interface ChangelogManagerProps {
|
|
|
34
18
|
* — leave undefined for product releases so they keep their existing UX.
|
|
35
19
|
*/
|
|
36
20
|
showVisibilityToggle?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* When given, each entry gets a tag select (stored as `entry.tag`) and its header
|
|
39
|
-
* shows the chosen tag as a badge. New entries start on the first option.
|
|
40
|
-
*/
|
|
41
|
-
tagOptions?: readonly ChangelogTagOption[];
|
|
42
|
-
/** Label of the tag select. Default "Tag". */
|
|
43
|
-
tagLabel?: string;
|
|
44
|
-
/** Entry field labels and placeholders. Defaults are the product-release wording. */
|
|
45
|
-
titleLabel?: string;
|
|
46
|
-
titlePlaceholder?: string;
|
|
47
|
-
descriptionLabel?: string;
|
|
48
|
-
descriptionPlaceholder?: string;
|
|
49
21
|
}
|
|
50
22
|
|
|
51
23
|
export function ChangelogManager({
|
|
@@ -55,14 +27,7 @@ export function ChangelogManager({
|
|
|
55
27
|
className = '',
|
|
56
28
|
expandAll = false,
|
|
57
29
|
showVisibilityToggle = false,
|
|
58
|
-
tagOptions,
|
|
59
|
-
tagLabel = 'Tag',
|
|
60
|
-
titleLabel = 'Title',
|
|
61
|
-
titlePlaceholder = 'e.g., New dark mode theme support',
|
|
62
|
-
descriptionLabel = 'Description',
|
|
63
|
-
descriptionPlaceholder = 'Detailed explanation of the change...',
|
|
64
30
|
}: ChangelogManagerProps) {
|
|
65
|
-
const tagLabelOf = (value?: string) => tagOptions?.find(o => o.value === value)?.label;
|
|
66
31
|
const entryCount = entries.length;
|
|
67
32
|
const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
|
|
68
33
|
|
|
@@ -90,7 +55,6 @@ export function ChangelogManager({
|
|
|
90
55
|
title: '',
|
|
91
56
|
description: '',
|
|
92
57
|
...(showVisibilityToggle && { visibility: 'public' as const }),
|
|
93
|
-
...(tagOptions?.length && { tag: tagOptions[0].value }),
|
|
94
58
|
};
|
|
95
59
|
onChange([...entries, newEntry]);
|
|
96
60
|
// Expand the newly added entry
|
|
@@ -177,15 +141,6 @@ export function ChangelogManager({
|
|
|
177
141
|
)}
|
|
178
142
|
</div>
|
|
179
143
|
|
|
180
|
-
{tagOptions && tagLabelOf(entry.tag) && (
|
|
181
|
-
<StatusBadge
|
|
182
|
-
variant="button"
|
|
183
|
-
singleLine
|
|
184
|
-
text={tagLabelOf(entry.tag) as string}
|
|
185
|
-
className="shrink-0 whitespace-nowrap"
|
|
186
|
-
/>
|
|
187
|
-
)}
|
|
188
|
-
|
|
189
144
|
{showVisibilityToggle && (
|
|
190
145
|
<Button
|
|
191
146
|
type="button"
|
|
@@ -219,9 +174,9 @@ export function ChangelogManager({
|
|
|
219
174
|
<div className="space-y-3 border-t border-ods-border px-3 pb-3 pt-3">
|
|
220
175
|
{/* Title */}
|
|
221
176
|
<div className="space-y-1">
|
|
222
|
-
<Label className="text-ods-text-secondary">
|
|
177
|
+
<Label className="text-ods-text-secondary">Title *</Label>
|
|
223
178
|
<Input
|
|
224
|
-
placeholder=
|
|
179
|
+
placeholder="e.g., New dark mode theme support"
|
|
225
180
|
value={entry.title}
|
|
226
181
|
onChange={e => updateEntry(index, 'title', e.target.value)}
|
|
227
182
|
onKeyDown={e => e.key === 'Enter' && e.preventDefault()}
|
|
@@ -231,34 +186,15 @@ export function ChangelogManager({
|
|
|
231
186
|
|
|
232
187
|
{/* Description */}
|
|
233
188
|
<div className="space-y-1">
|
|
234
|
-
<Label className="text-ods-text-secondary">
|
|
189
|
+
<Label className="text-ods-text-secondary">Description</Label>
|
|
235
190
|
<Textarea
|
|
236
|
-
placeholder=
|
|
191
|
+
placeholder="Detailed explanation of the change..."
|
|
237
192
|
value={entry.description || ''}
|
|
238
193
|
onChange={e => updateEntry(index, 'description', e.target.value)}
|
|
239
194
|
rows={2}
|
|
240
195
|
className="bg-ods-bg"
|
|
241
196
|
/>
|
|
242
197
|
</div>
|
|
243
|
-
|
|
244
|
-
{/* Tag */}
|
|
245
|
-
{tagOptions && (
|
|
246
|
-
<div className="space-y-1">
|
|
247
|
-
<Label className="text-ods-text-secondary">{tagLabel}</Label>
|
|
248
|
-
<Select value={entry.tag ?? ''} onValueChange={value => updateEntry(index, 'tag', value)}>
|
|
249
|
-
<SelectTrigger className="bg-ods-bg">
|
|
250
|
-
<SelectValue placeholder={tagLabel} />
|
|
251
|
-
</SelectTrigger>
|
|
252
|
-
<SelectContent>
|
|
253
|
-
{tagOptions.map(option => (
|
|
254
|
-
<SelectItem key={option.value} value={option.value}>
|
|
255
|
-
{option.label}
|
|
256
|
-
</SelectItem>
|
|
257
|
-
))}
|
|
258
|
-
</SelectContent>
|
|
259
|
-
</Select>
|
|
260
|
-
</div>
|
|
261
|
-
)}
|
|
262
198
|
</div>
|
|
263
199
|
)}
|
|
264
200
|
</div>
|
|
@@ -15,11 +15,6 @@ export interface ChangelogEntry {
|
|
|
15
15
|
* because each entry can be marked internal — see investor-update-utils.ts.
|
|
16
16
|
*/
|
|
17
17
|
visibility?: 'public' | 'internal';
|
|
18
|
-
/**
|
|
19
|
-
* Optional per-entry classification chosen from the manager's `tagOptions`
|
|
20
|
-
* (e.g. an owner, a priority, a severity). Product releases never set it.
|
|
21
|
-
*/
|
|
22
|
-
tag?: string;
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
export interface ReleaseMedia {
|