@eleven-labs/design-system 0.30.5 → 0.32.0
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/components/Molecules/Cards/PostCard/PostCard.d.ts +1 -1
- package/dist/components/Molecules/PostMetadata/PostMetadata.d.ts +1 -2
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/constants/tokenVariablesDesktop.d.ts +1 -1
- package/dist/helpers/systemPropsHelper/typographySystemClassName.d.ts +1 -1
- package/dist/index.es.js +746 -720
- package/dist/index.umd.cjs +13 -13
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/types/SystemProps/TypographySystemProps.d.ts +5 -1
- package/dist/types/tokenTypes.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
|
4
4
|
export declare const postCardVariant: readonly ["highlight-light", "highlight-dark", "side-image"];
|
|
5
5
|
export type PostCardVariantType = (typeof postCardVariant)[number];
|
|
6
6
|
export interface PostCardProps extends BoxProps {
|
|
7
|
+
slug?: string;
|
|
7
8
|
contentType?: 'article' | 'tutorial';
|
|
8
9
|
variant?: PostCardVariantType;
|
|
9
10
|
cover?: PictureProps;
|
|
10
|
-
slug?: string;
|
|
11
11
|
title?: string;
|
|
12
12
|
excerpt?: string;
|
|
13
13
|
date?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SpacingSystemProps } from '../../../types';
|
|
3
3
|
export declare const postMetadataVariant: readonly ["primary", "secondary"];
|
|
4
4
|
export type PostMetadataVariantType = (typeof postMetadataVariant)[number];
|
|
5
5
|
export interface PostMetadataProps extends SpacingSystemProps {
|
|
@@ -9,7 +9,6 @@ export interface PostMetadataProps extends SpacingSystemProps {
|
|
|
9
9
|
authors?: {
|
|
10
10
|
username: string;
|
|
11
11
|
name: string;
|
|
12
|
-
link?: ComponentPropsWithoutRef<'a'>;
|
|
13
12
|
}[];
|
|
14
13
|
isLoading?: boolean;
|
|
15
14
|
displayedFields?: ('date' | 'readingTime' | 'authors')[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TypographySystemProps } from '../../types';
|
|
2
|
-
export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, textSize, ...props }: TProps) => string;
|
|
2
|
+
export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, textSize, lineClamp, ...props }: TProps) => string;
|