feat(admin-ui): catalog refresh + token migration (Stage 3.2)
This commit is contained in:
@@ -49,9 +49,9 @@ export const PropertyEditor = ({
|
||||
const update = (patch: Partial<PropertyDef>) => onChange({ ...prop, ...patch })
|
||||
|
||||
return (
|
||||
<div className="border border-regolith rounded-lg p-3 space-y-3 bg-white">
|
||||
<div className="border border-line rounded-lg p-3 space-y-3 bg-white">
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<span className="text-2xs uppercase tracking-label text-carbon/60">
|
||||
<span className="text-2xs uppercase tracking-[0.10em] text-mute">
|
||||
{t('schema.property')} #{index + 1}
|
||||
</span>
|
||||
<div className="flex items-center gap-1">
|
||||
@@ -119,13 +119,13 @@ export const PropertyEditor = ({
|
||||
|
||||
{prop.kind === 'opaque' && (
|
||||
<div className="bg-amber-50 border border-amber-200 rounded-md p-3 text-2xs space-y-2">
|
||||
<div className="font-medium text-carbon">
|
||||
<div className="font-medium text-ink">
|
||||
{t('schema.opaque.title')}
|
||||
</div>
|
||||
<div className="text-carbon/70">
|
||||
<div className="text-ink-2">
|
||||
{t('schema.opaque.hint')}
|
||||
</div>
|
||||
<pre className="font-mono text-2xs bg-white border border-regolith rounded p-2 overflow-auto max-h-40">
|
||||
<pre className="font-mono text-2xs bg-white border border-line rounded p-2 overflow-auto max-h-40">
|
||||
{JSON.stringify(prop.rawSchema ?? {}, null, 2)}
|
||||
</pre>
|
||||
</div>
|
||||
@@ -260,7 +260,7 @@ const ReferenceTargetPicker = ({ value, onChange }: ReferenceTargetPickerProps)
|
||||
const isValid = Boolean(refDict && refField)
|
||||
|
||||
return (
|
||||
<div className="border border-ultramarain/20 bg-ultramarain/4 rounded-md p-3 space-y-3">
|
||||
<div className="border border-accent/20 bg-accent/4 rounded-md p-3 space-y-3">
|
||||
<div>
|
||||
<FieldLabel required>{t('schema.reference.title')}</FieldLabel>
|
||||
<FieldHint>{t('schema.reference.hint')}</FieldHint>
|
||||
|
||||
Reference in New Issue
Block a user