@eleven-labs/design-system 0.5.4 → 0.6.1
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/Atoms/Blockquote/Blockquote.d.ts +4 -0
- package/dist/components/Atoms/Blockquote/index.d.ts +1 -0
- package/dist/components/Atoms/Logo/Logo.d.ts +3 -1
- package/dist/components/Atoms/Skeleton/Skeleton.d.ts +6 -0
- package/dist/components/Atoms/Skeleton/index.d.ts +1 -0
- package/dist/components/Atoms/Svgs/AccessTime.d.ts +3 -2
- package/dist/components/Atoms/Svgs/ArrowBack.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Calendar.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Close.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Facebook.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Language.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Link.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Linkedin.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Logo.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Message.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Person.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Rss.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Search.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Twitter.d.ts +3 -2
- package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +3 -2
- package/dist/components/Atoms/SyntaxHighlighter/SyntaxHighlighter.d.ts +5 -0
- package/dist/components/Atoms/SyntaxHighlighter/index.d.ts +1 -0
- package/dist/components/Atoms/index.d.ts +6 -3
- package/dist/components/Molecules/Reminder/Reminder.d.ts +10 -0
- package/dist/components/Molecules/Reminder/index.d.ts +1 -0
- package/dist/components/Molecules/index.d.ts +1 -0
- package/dist/constants/tokenNameList.d.ts +0 -1
- package/dist/constants/tokenVariables.d.ts +1 -9
- package/dist/index.es.js +4329 -1258
- package/dist/index.umd.cjs +10 -28
- 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/tokenTypes.d.ts +0 -1
- package/package.json +38 -34
- package/dist/typings.d.ts +0 -5
- package/dist/vite-env.d.ts +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AsProps, ColorSystemProps, MarginSystemProps } from '../../../types';
|
|
3
|
+
export type BlockquoteProps = AsProps<'blockquote'> & MarginSystemProps & Pick<ColorSystemProps, 'bg'>;
|
|
4
|
+
export declare const Blockquote: React.FC<BlockquoteProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Blockquote';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { AsProps, ColorSystemProps,
|
|
1
|
+
import { AsProps, ColorSystemProps, MarginSystemProps } from '../../../types';
|
|
2
|
+
export declare const logoName: readonly ["website", "blog"];
|
|
3
|
+
export type LogoNameType = (typeof logoName)[number];
|
|
2
4
|
export type LogoProps = AsProps<'div'> & MarginSystemProps & Pick<ColorSystemProps, 'color'> & {
|
|
3
5
|
name: LogoNameType;
|
|
4
6
|
size?: string | number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Skeleton';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgAccessTime: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgAccessTime;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgArrowBack;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgCalendar: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgCalendar;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgClose: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgClose;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgFacebook: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgFacebook;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgLanguage;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgLink: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgLink;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgLinkedin: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgLinkedin;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgLogo: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgLogo;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgMessage: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgMessage;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgPerson: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgPerson;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgRss: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgRss;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgSearch: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgSearch;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgTwitter: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgTwitter;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
declare const SvgWelcometothejungle: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
export default SvgWelcometothejungle;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SyntaxHighlighterProps as SyntaxHighlighterBaseProps } from 'react-syntax-highlighter';
|
|
3
|
+
import { MarginSystemProps } from '../../../types';
|
|
4
|
+
export type SyntaxHighlighterProps = MarginSystemProps & Pick<SyntaxHighlighterBaseProps, 'language' | 'children'>;
|
|
5
|
+
export declare const SyntaxHighlighter: React.FC<SyntaxHighlighterProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SyntaxHighlighter';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
export * from './Layout';
|
|
2
|
-
export * from './Typography';
|
|
3
1
|
export * as Svgs from './Svgs';
|
|
2
|
+
export * from './Button';
|
|
4
3
|
export * from './Icon';
|
|
4
|
+
export * from './Layout';
|
|
5
5
|
export * from './Logo';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './SyntaxHighlighter';
|
|
7
|
+
export * from './Typography';
|
|
8
|
+
export * from './Blockquote';
|
|
9
|
+
export * from './Skeleton';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps } from '../../../components';
|
|
3
|
+
export declare const reminderVariantList: readonly ["note", "summary", "info", "tip", "success", "question", "warning", "failure", "danger", "bug", "example", "quote"];
|
|
4
|
+
export type ReminderVariantType = (typeof reminderVariantList)[number];
|
|
5
|
+
export type ReminderOptions = {
|
|
6
|
+
variant: ReminderVariantType;
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export type ReminderProps = BoxProps & ReminderOptions;
|
|
10
|
+
export declare const Reminder: React.FC<ReminderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Reminder';
|
|
@@ -5,6 +5,5 @@ export declare const widthTokenNameList: readonly ("full" | "screen")[];
|
|
|
5
5
|
export declare const heightTokenNameList: readonly ("full" | "screen")[];
|
|
6
6
|
export declare const fontWeightTokenNameList: readonly ("regular" | "medium" | "bold")[];
|
|
7
7
|
export declare const iconTokenNameList: readonly ("access-time" | "arrow-back" | "calendar" | "close" | "facebook" | "language" | "link" | "linkedin" | "rss" | "message" | "person" | "search" | "twitter" | "welcometothejungle")[];
|
|
8
|
-
export declare const logoTokenNameList: readonly ("website" | "blog")[];
|
|
9
8
|
export declare const headingSizeTokenNameList: readonly ("s" | "m" | "l" | "xl")[];
|
|
10
9
|
export declare const textSizeTokenNameList: readonly ("xs" | "s" | "m")[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 21 Jun 2023 14:59:19 GMT
|
|
4
4
|
*/
|
|
5
5
|
export declare const tokenVariables: {
|
|
6
6
|
asset: {
|
|
@@ -68,14 +68,6 @@ export declare const tokenVariables: {
|
|
|
68
68
|
value: string;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
|
-
logo: {
|
|
72
|
-
website: {
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
blog: {
|
|
76
|
-
value: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
71
|
};
|
|
80
72
|
breakpoint: {
|
|
81
73
|
xs: {
|