Files
klz-cables.com/.pnpm-store/v10/files/44/7633ae2f084202009f65ff6b7ed6dc28f8db9f3c5fe7e59412ea845da8dc4e1bf2a8888ca2816a1aa5592e8fff836752d812072f55b63cef16550faf582adc
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
1.5 KiB
Plaintext

import type { StaticLabel } from '../../config/types.js';
import type { Field } from '../../fields/config/types.js';
import type { ClientFieldWithOptionalType, ServerComponentProps } from './Field.js';
export type GenericLabelProps = {
readonly as?: 'h3' | 'label' | 'span';
readonly hideLocale?: boolean;
readonly htmlFor?: string;
readonly label?: StaticLabel;
readonly localized?: boolean;
readonly path?: string;
readonly required?: boolean;
readonly unstyled?: boolean;
};
export type FieldLabelClientProps<TFieldClient extends Partial<ClientFieldWithOptionalType> = Partial<ClientFieldWithOptionalType>> = {
field?: TFieldClient;
} & GenericLabelProps;
export type FieldLabelServerProps<TFieldServer extends Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = {
clientField: TFieldClient;
readonly field: TFieldServer;
} & GenericLabelProps & ServerComponentProps;
export type SanitizedLabelProps<TFieldClient extends ClientFieldWithOptionalType> = Omit<FieldLabelClientProps<TFieldClient>, 'label' | 'required'>;
export type FieldLabelClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldLabelClientProps<TFieldClient>>;
export type FieldLabelServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldLabelServerProps<TFieldServer, TFieldClient>>;
//# sourceMappingURL=Label.d.ts.map