@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.
Files changed (37) hide show
  1. package/dist/components/Atoms/Blockquote/Blockquote.d.ts +4 -0
  2. package/dist/components/Atoms/Blockquote/index.d.ts +1 -0
  3. package/dist/components/Atoms/Logo/Logo.d.ts +3 -1
  4. package/dist/components/Atoms/Skeleton/Skeleton.d.ts +6 -0
  5. package/dist/components/Atoms/Skeleton/index.d.ts +1 -0
  6. package/dist/components/Atoms/Svgs/AccessTime.d.ts +3 -2
  7. package/dist/components/Atoms/Svgs/ArrowBack.d.ts +3 -2
  8. package/dist/components/Atoms/Svgs/Calendar.d.ts +3 -2
  9. package/dist/components/Atoms/Svgs/Close.d.ts +3 -2
  10. package/dist/components/Atoms/Svgs/Facebook.d.ts +3 -2
  11. package/dist/components/Atoms/Svgs/Language.d.ts +3 -2
  12. package/dist/components/Atoms/Svgs/Link.d.ts +3 -2
  13. package/dist/components/Atoms/Svgs/Linkedin.d.ts +3 -2
  14. package/dist/components/Atoms/Svgs/Logo.d.ts +3 -2
  15. package/dist/components/Atoms/Svgs/Message.d.ts +3 -2
  16. package/dist/components/Atoms/Svgs/Person.d.ts +3 -2
  17. package/dist/components/Atoms/Svgs/Rss.d.ts +3 -2
  18. package/dist/components/Atoms/Svgs/Search.d.ts +3 -2
  19. package/dist/components/Atoms/Svgs/Twitter.d.ts +3 -2
  20. package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +3 -2
  21. package/dist/components/Atoms/SyntaxHighlighter/SyntaxHighlighter.d.ts +5 -0
  22. package/dist/components/Atoms/SyntaxHighlighter/index.d.ts +1 -0
  23. package/dist/components/Atoms/index.d.ts +6 -3
  24. package/dist/components/Molecules/Reminder/Reminder.d.ts +10 -0
  25. package/dist/components/Molecules/Reminder/index.d.ts +1 -0
  26. package/dist/components/Molecules/index.d.ts +1 -0
  27. package/dist/constants/tokenNameList.d.ts +0 -1
  28. package/dist/constants/tokenVariables.d.ts +1 -9
  29. package/dist/index.es.js +4329 -1258
  30. package/dist/index.umd.cjs +10 -28
  31. package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
  32. package/dist/scss/abstracts/variables/_variables.scss +1 -1
  33. package/dist/style.css +1 -1
  34. package/dist/types/tokenTypes.d.ts +0 -1
  35. package/package.json +38 -34
  36. package/dist/typings.d.ts +0 -5
  37. 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, LogoNameType, MarginSystemProps } from '../../../types';
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,6 @@
1
+ import { BoxProps } from '../../../components';
2
+ export interface SkeletonOptions {
3
+ isLoading?: boolean;
4
+ }
5
+ export type SkeletonProps = BoxProps<'div'> & SkeletonOptions;
6
+ export declare const Skeleton: import("../../..").ComponentWithAs<"div", SkeletonProps>;
@@ -0,0 +1 @@
1
+ export * from './Skeleton';
@@ -1,3 +1,4 @@
1
- import { SVGProps } from "react";
2
- declare const SvgAccessTime: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgCalendar: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgClose: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgFacebook: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgLink: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgLinkedin: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgLogo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgMessage: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgPerson: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgRss: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgSearch: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgTwitter: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 { SVGProps } from "react";
2
- declare const SvgWelcometothejungle: (props: SVGProps<SVGSVGElement>) => JSX.Element;
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 './Button';
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';
@@ -1,3 +1,4 @@
1
1
  export * from './Link';
2
+ export * from './Reminder';
2
3
  export * from './SearchField';
3
4
  export * from './TextHighlight';
@@ -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 Tue, 07 Mar 2023 20:34:52 GMT
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: {