@flamingo-stack/openframe-frontend-core 0.0.611-snapshot.20260908213426 → 0.0.611
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-BG7TRGKP.cjs → chunk-24KS3ZL3.cjs} +17 -17
- package/dist/{chunk-BG7TRGKP.cjs.map → chunk-24KS3ZL3.cjs.map} +1 -1
- package/dist/{chunk-2ARMWGMN.js → chunk-2R36JUKN.js} +2 -2
- package/dist/{chunk-QMUFGSVF.cjs → chunk-4MOB63HI.cjs} +5 -9
- package/dist/chunk-4MOB63HI.cjs.map +1 -0
- package/dist/{chunk-HBG6576N.js → chunk-55M4LRMY.js} +2 -2
- package/dist/{chunk-TKRHBU7W.js → chunk-5EEUZULX.js} +3 -3
- package/dist/{chunk-DZMEAV47.js → chunk-AQABZFS2.js} +5 -9
- package/dist/{chunk-DZMEAV47.js.map → chunk-AQABZFS2.js.map} +1 -1
- package/dist/{chunk-CFFY6TT3.js → chunk-CEW2A4PV.js} +2 -2
- package/dist/{chunk-B4G3TQOP.cjs → chunk-CFJFWJG7.cjs} +17 -17
- package/dist/{chunk-B4G3TQOP.cjs.map → chunk-CFJFWJG7.cjs.map} +1 -1
- package/dist/{chunk-F7Y55UK5.js → chunk-D4R3QSNG.js} +4 -4
- package/dist/{chunk-EJTSKGAA.js → chunk-DOIBUVVN.js} +5 -5
- package/dist/{chunk-J2RTUYK7.cjs → chunk-DQHAT6VG.cjs} +34 -34
- package/dist/{chunk-J2RTUYK7.cjs.map → chunk-DQHAT6VG.cjs.map} +1 -1
- package/dist/{chunk-2XG3XBWA.cjs → chunk-DV4UKIPN.cjs} +13 -13
- package/dist/{chunk-2XG3XBWA.cjs.map → chunk-DV4UKIPN.cjs.map} +1 -1
- package/dist/{chunk-FXP2J34I.cjs → chunk-GEKWQVSG.cjs} +18 -18
- package/dist/{chunk-FXP2J34I.cjs.map → chunk-GEKWQVSG.cjs.map} +1 -1
- package/dist/{chunk-X4LTHAY5.js → chunk-HS4YYQA6.js} +2 -2
- package/dist/{chunk-2YQMBF2V.cjs → chunk-IIE5NCTX.cjs} +50 -50
- package/dist/{chunk-2YQMBF2V.cjs.map → chunk-IIE5NCTX.cjs.map} +1 -1
- package/dist/{chunk-NTUOX5QC.cjs → chunk-IRUSFKE4.cjs} +3 -3
- package/dist/{chunk-NTUOX5QC.cjs.map → chunk-IRUSFKE4.cjs.map} +1 -1
- package/dist/{chunk-IDVXWDYF.js → chunk-JOMGPWBN.js} +2 -2
- package/dist/{chunk-2LSVHTRX.js → chunk-LLYGTLJ4.js} +2 -2
- package/dist/{chunk-3GICERNL.cjs → chunk-NWET25AT.cjs} +4 -4
- package/dist/{chunk-3GICERNL.cjs.map → chunk-NWET25AT.cjs.map} +1 -1
- package/dist/{chunk-PAC2VMWE.cjs → chunk-O5FEBR3Q.cjs} +3 -3
- package/dist/{chunk-PAC2VMWE.cjs.map → chunk-O5FEBR3Q.cjs.map} +1 -1
- package/dist/{chunk-LEKBOXVT.cjs → chunk-PI7AV4GT.cjs} +3 -3
- package/dist/{chunk-LEKBOXVT.cjs.map → chunk-PI7AV4GT.cjs.map} +1 -1
- package/dist/{chunk-LTYDKO22.js → chunk-QI2CAZES.js} +2 -2
- package/dist/{chunk-Y775VLFS.cjs → chunk-QQ5G6PM4.cjs} +3 -3
- package/dist/{chunk-Y775VLFS.cjs.map → chunk-QQ5G6PM4.cjs.map} +1 -1
- package/dist/{chunk-WYRBZJTT.js → chunk-QQYV4CMH.js} +5 -5
- package/dist/{chunk-M2QZI32A.cjs → chunk-ROBMD5C5.cjs} +10 -10
- package/dist/{chunk-M2QZI32A.cjs.map → chunk-ROBMD5C5.cjs.map} +1 -1
- package/dist/{chunk-X2YX5HN5.js → chunk-SPUW2YXQ.js} +2 -2
- package/dist/{chunk-UYT24TGS.js → chunk-THAE6Y2T.js} +4 -4
- package/dist/{chunk-XSDNHDSX.cjs → chunk-UZQ25ZD6.cjs} +4 -4
- package/dist/{chunk-XSDNHDSX.cjs.map → chunk-UZQ25ZD6.cjs.map} +1 -1
- package/dist/{chunk-44XMSKIY.js → chunk-VFYAJDFR.js} +2 -2
- package/dist/{chunk-4QD4JCG3.cjs → chunk-WMFG2QJ2.cjs} +33 -33
- package/dist/{chunk-4QD4JCG3.cjs.map → chunk-WMFG2QJ2.cjs.map} +1 -1
- 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/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/components/ui/search-input.d.ts +1 -9
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/dist/types/design-doc.d.ts +0 -19
- package/dist/types/design-doc.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/search-input.tsx +4 -18
- package/src/types/design-doc.ts +0 -19
- package/dist/chunk-QMUFGSVF.cjs.map +0 -1
- /package/dist/{chunk-2ARMWGMN.js.map → chunk-2R36JUKN.js.map} +0 -0
- /package/dist/{chunk-HBG6576N.js.map → chunk-55M4LRMY.js.map} +0 -0
- /package/dist/{chunk-TKRHBU7W.js.map → chunk-5EEUZULX.js.map} +0 -0
- /package/dist/{chunk-CFFY6TT3.js.map → chunk-CEW2A4PV.js.map} +0 -0
- /package/dist/{chunk-F7Y55UK5.js.map → chunk-D4R3QSNG.js.map} +0 -0
- /package/dist/{chunk-EJTSKGAA.js.map → chunk-DOIBUVVN.js.map} +0 -0
- /package/dist/{chunk-X4LTHAY5.js.map → chunk-HS4YYQA6.js.map} +0 -0
- /package/dist/{chunk-IDVXWDYF.js.map → chunk-JOMGPWBN.js.map} +0 -0
- /package/dist/{chunk-2LSVHTRX.js.map → chunk-LLYGTLJ4.js.map} +0 -0
- /package/dist/{chunk-LTYDKO22.js.map → chunk-QI2CAZES.js.map} +0 -0
- /package/dist/{chunk-WYRBZJTT.js.map → chunk-QQYV4CMH.js.map} +0 -0
- /package/dist/{chunk-X2YX5HN5.js.map → chunk-SPUW2YXQ.js.map} +0 -0
- /package/dist/{chunk-UYT24TGS.js.map → chunk-THAE6Y2T.js.map} +0 -0
- /package/dist/{chunk-44XMSKIY.js.map → chunk-VFYAJDFR.js.map} +0 -0
|
@@ -93,14 +93,6 @@ export interface SearchInputProps {
|
|
|
93
93
|
dropdownClassName?: string;
|
|
94
94
|
/** Minimum characters before showing results. Default 2 */
|
|
95
95
|
minQueryLength?: number;
|
|
96
|
-
/**
|
|
97
|
-
* Read-only mode. The input is natively `disabled` (the greyed value +
|
|
98
|
-
* dimmed placeholder styles are already in `innerInputStyles`), the dropdown
|
|
99
|
-
* cannot be opened, chips lose their remove affordance and the clear button
|
|
100
|
-
* is hidden — so a bar used as a multi-select FIELD can be shown read-only
|
|
101
|
-
* without the host having to grey it out from the outside.
|
|
102
|
-
*/
|
|
103
|
-
disabled?: boolean;
|
|
104
96
|
/** Maximum visible filter chips. "auto" measures available width. Default "auto" */
|
|
105
97
|
limitTags?: number | 'auto';
|
|
106
98
|
/** Custom render for the "+N" overflow text */
|
|
@@ -174,7 +166,6 @@ export function SearchInput({
|
|
|
174
166
|
className,
|
|
175
167
|
dropdownClassName,
|
|
176
168
|
minQueryLength = 2,
|
|
177
|
-
disabled = false,
|
|
178
169
|
limitTags = 'auto',
|
|
179
170
|
getLimitTagsText = (more: number) => `+${more}`,
|
|
180
171
|
}: SearchInputProps) {
|
|
@@ -271,7 +262,7 @@ export function SearchInput({
|
|
|
271
262
|
// ---- Auto-show logic ----
|
|
272
263
|
const meetsMinQuery = debouncedValue.length >= minQueryLength;
|
|
273
264
|
const autoShow = meetsMinQuery;
|
|
274
|
-
const dropdownVisible =
|
|
265
|
+
const dropdownVisible = showDropdownProp ?? (isOpen && autoShow);
|
|
275
266
|
|
|
276
267
|
// ---- Reset highlight when results change ----
|
|
277
268
|
// Adjusted while rendering, not from an effect: the highlight is drawn from
|
|
@@ -438,13 +429,10 @@ export function SearchInput({
|
|
|
438
429
|
<div
|
|
439
430
|
className={cn(
|
|
440
431
|
containerStyles,
|
|
441
|
-
|
|
442
|
-
? 'cursor-not-allowed opacity-60'
|
|
443
|
-
: 'hover:border-ods-border-hover hover:bg-ods-bg-hover active:border-ods-border-active active:bg-ods-bg-active',
|
|
432
|
+
'hover:border-ods-border-hover hover:bg-ods-bg-hover active:border-ods-border-active active:bg-ods-bg-active',
|
|
444
433
|
dropdownVisible && '!border-ods-accent',
|
|
445
434
|
)}
|
|
446
435
|
onClick={() => {
|
|
447
|
-
if (disabled) return;
|
|
448
436
|
inputRef.current?.focus();
|
|
449
437
|
setIsOpen(true);
|
|
450
438
|
}}
|
|
@@ -463,7 +451,7 @@ export function SearchInput({
|
|
|
463
451
|
variant={chipVariantToTagVariant(chip.variant)}
|
|
464
452
|
label={chip.label}
|
|
465
453
|
labelClassName="max-w-[120px] truncate"
|
|
466
|
-
onClose={onFilterRemove
|
|
454
|
+
onClose={onFilterRemove ? () => onFilterRemove(chip.id) : undefined}
|
|
467
455
|
/>
|
|
468
456
|
))}
|
|
469
457
|
|
|
@@ -497,9 +485,7 @@ export function SearchInput({
|
|
|
497
485
|
value={currentValue}
|
|
498
486
|
onChange={handleChange}
|
|
499
487
|
onKeyDown={handleKeyDown}
|
|
500
|
-
disabled={disabled}
|
|
501
488
|
onFocus={() => {
|
|
502
|
-
if (disabled) return;
|
|
503
489
|
setIsOpen(true);
|
|
504
490
|
setShowHiddenTags(false);
|
|
505
491
|
}}
|
|
@@ -510,7 +496,7 @@ export function SearchInput({
|
|
|
510
496
|
|
|
511
497
|
{/* End adornment / Clear — pinned right, shrink-0 */}
|
|
512
498
|
<div className="ml-auto flex shrink-0 items-center gap-1">
|
|
513
|
-
{hasValue &&
|
|
499
|
+
{hasValue && (
|
|
514
500
|
<button
|
|
515
501
|
type="button"
|
|
516
502
|
onClick={handleClear}
|
package/src/types/design-doc.ts
CHANGED
|
@@ -241,17 +241,6 @@ export interface DesignDoc {
|
|
|
241
241
|
updated_at: string;
|
|
242
242
|
/** DRI, hydrated via the shared author hydrator. */
|
|
243
243
|
author?: EntityAuthor;
|
|
244
|
-
/**
|
|
245
|
-
* Engineering feature leads — the people reviewing the doc alongside the
|
|
246
|
-
* department sign-off sections. DISPLAY-ONLY attribution, like
|
|
247
|
-
* `how_i_work_participants`: being listed grants NO rights (nothing in the
|
|
248
|
-
* hub's `design-doc-gate.ts` reads it) and is NOT an input to the approval
|
|
249
|
-
* gate. The doc-level owner with actual levers is the DRI (`author_id`).
|
|
250
|
-
*
|
|
251
|
-
* Carried on BOTH the list and the detail payload — the dashboard renders
|
|
252
|
-
* their avatars in its own column.
|
|
253
|
-
*/
|
|
254
|
-
feature_leads: DesignDocPerson[];
|
|
255
244
|
participants: DesignDocParticipant[];
|
|
256
245
|
links: DesignDocLink[];
|
|
257
246
|
/** Doc-level comments only (participant-scoped comments ride on their participant). */
|
|
@@ -301,8 +290,6 @@ export interface CreateDesignDocData {
|
|
|
301
290
|
content?: string | null;
|
|
302
291
|
/** DRI; defaults to the caller. */
|
|
303
292
|
author_id?: string | null;
|
|
304
|
-
/** Feature leads (profile ids). Display-only — see `DesignDoc.feature_leads`. */
|
|
305
|
-
feature_lead_ids?: string[];
|
|
306
293
|
participants: CreateDesignDocParticipantInput[];
|
|
307
294
|
links: DesignDocLinkInput[];
|
|
308
295
|
}
|
|
@@ -318,12 +305,6 @@ export interface UpdateDesignDocData {
|
|
|
318
305
|
summary?: string | null;
|
|
319
306
|
content?: string | null;
|
|
320
307
|
author_id?: string | null;
|
|
321
|
-
/**
|
|
322
|
-
* Replaces the whole feature-lead set (`[]` clears it); omitted leaves it
|
|
323
|
-
* untouched. Display-only, so it rides the STANDING floor like the title —
|
|
324
|
-
* not the DRI-only levers, and not the frozen decision record.
|
|
325
|
-
*/
|
|
326
|
-
feature_lead_ids?: string[];
|
|
327
308
|
links?: DesignDocLinkInput[];
|
|
328
309
|
/** OCC token — the `updated_at` the editor seeded from; mismatch → 409. */
|
|
329
310
|
expected_updated_at?: string;
|