fix(web): remove redundant prop-types and unblock lint pipeline
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Failing after 2m24s
Build & Deploy / 🏗️ Build (push) Failing after 3m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s

This commit is contained in:
2026-02-24 11:38:43 +01:00
parent 95a8b702fe
commit 6864903cff
205 changed files with 6570 additions and 1324 deletions

View File

@@ -0,0 +1,60 @@
import { MintelBlock } from "./types";
import type { Block } from "payload";
export const StatsDisplayBlock: MintelBlock = {
slug: "statsDisplay",
labels: {
singular: "Stats Display",
plural: "Stats Displays",
},
admin: {
group: "MDX Components",
},
ai: {
name: "StatsDisplay",
description:
"A single large stat card with prominent value, label, and optional subtext.",
usageExample:
'\'<StatsDisplay value="-20%" label="Conversion" subtext="Jede Sekunde Verzögerung kostet." />\'',
},
fields: [
{
name: "label",
type: "text",
admin: {
components: {
afterInput: [
"@/src/payload/components/FieldGenerators/AiFieldButton#AiFieldButton",
],
},
description: "Geben Sie den Text für label ein.",
},
},
{
name: "value",
type: "text",
required: true,
admin: {
components: {
afterInput: [
"@/src/payload/components/FieldGenerators/AiFieldButton#AiFieldButton",
],
},
description: "Geben Sie den Text für value ein.",
},
},
{
name: "subtext",
type: "text",
admin: {
components: {
afterInput: [
"@/src/payload/components/FieldGenerators/AiFieldButton#AiFieldButton",
],
},
description: "Geben Sie den Text für subtext ein.",
},
},
],
};