@eleven-labs/design-system 0.6.3 → 0.10.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 (61) hide show
  1. package/dist/components/Atoms/Blockquote/Blockquote.d.ts +4 -3
  2. package/dist/components/Atoms/Button/Button.d.ts +7 -5
  3. package/dist/components/Atoms/Icon/Icon.d.ts +1 -1
  4. package/dist/components/Atoms/Layout/Box/Box.d.ts +7 -3
  5. package/dist/components/Atoms/Layout/Flex/Flex.d.ts +6 -5
  6. package/dist/components/Atoms/Logo/Logo.d.ts +5 -4
  7. package/dist/components/Atoms/Skeleton/Skeleton.d.ts +4 -4
  8. package/dist/components/Atoms/Svgs/AccessTime.d.ts +2 -2
  9. package/dist/components/Atoms/Svgs/ArrowBack.d.ts +2 -2
  10. package/dist/components/Atoms/Svgs/Calendar.d.ts +2 -2
  11. package/dist/components/Atoms/Svgs/Close.d.ts +2 -2
  12. package/dist/components/Atoms/Svgs/Facebook.d.ts +2 -2
  13. package/dist/components/Atoms/Svgs/Github.d.ts +2 -2
  14. package/dist/components/Atoms/Svgs/Language.d.ts +2 -2
  15. package/dist/components/Atoms/Svgs/Link.d.ts +2 -2
  16. package/dist/components/Atoms/Svgs/Linkedin.d.ts +2 -2
  17. package/dist/components/Atoms/Svgs/Logo.d.ts +2 -2
  18. package/dist/components/Atoms/Svgs/Message.d.ts +2 -2
  19. package/dist/components/Atoms/Svgs/Person.d.ts +2 -2
  20. package/dist/components/Atoms/Svgs/Rss.d.ts +2 -2
  21. package/dist/components/Atoms/Svgs/Search.d.ts +2 -2
  22. package/dist/components/Atoms/Svgs/Tuto.d.ts +2 -2
  23. package/dist/components/Atoms/Svgs/Twitter.d.ts +2 -2
  24. package/dist/components/Atoms/Svgs/Welcometothejungle.d.ts +2 -2
  25. package/dist/components/Atoms/Svgs/index.d.ts +17 -17
  26. package/dist/components/Atoms/SyntaxHighlighter/SyntaxHighlighter.d.ts +2 -2
  27. package/dist/components/Atoms/Typography/Heading/Heading.d.ts +5 -4
  28. package/dist/components/Atoms/Typography/Text/Text.d.ts +5 -4
  29. package/dist/components/Molecules/Link/Link.d.ts +7 -6
  30. package/dist/components/Molecules/Reminder/Reminder.d.ts +4 -5
  31. package/dist/components/Molecules/SearchField/SearchField.d.ts +8 -9
  32. package/dist/components/Molecules/TextHighlight/TextHighlight.d.ts +5 -6
  33. package/dist/constants/systemProps/systemProps.d.ts +1 -1
  34. package/dist/constants/tokenVariables.d.ts +1 -1
  35. package/dist/helpers/index.d.ts +1 -0
  36. package/dist/helpers/polyRef.d.ts +2 -0
  37. package/dist/helpers/stringHelper.d.ts +3 -3
  38. package/dist/helpers/systemPropsHelper/classNamesWithModifiers.d.ts +1 -1
  39. package/dist/helpers/systemPropsHelper/hiddenSystemClassName.d.ts +1 -1
  40. package/dist/helpers/systemPropsHelper/index.d.ts +0 -1
  41. package/dist/helpers/systemPropsHelper/systemClassName.d.ts +1 -1
  42. package/dist/helpers/systemPropsHelper/typographySystemClassName.d.ts +1 -1
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.es.js +853 -999
  45. package/dist/index.umd.cjs +9 -9
  46. package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
  47. package/dist/scss/abstracts/variables/_variables.scss +1 -1
  48. package/dist/style.css +1 -1
  49. package/dist/types/MediaQueryType.d.ts +1 -1
  50. package/dist/types/SystemProps/FlexBoxSystemProps.d.ts +1 -1
  51. package/dist/types/SystemProps/HiddenSystemProps.d.ts +1 -1
  52. package/dist/types/SystemProps/LayoutSystemProps.d.ts +1 -1
  53. package/dist/types/SystemProps/SystemProps.d.ts +2 -2
  54. package/dist/types/SystemProps/index.d.ts +0 -2
  55. package/dist/types/TypeWithModifier.d.ts +1 -1
  56. package/dist/types/cssPropertyTypes.d.ts +1 -1
  57. package/dist/types/tokenTypes.d.ts +1 -1
  58. package/package.json +8 -10
  59. package/dist/helpers/systemPropsHelper/forwardRef.d.ts +0 -7
  60. package/dist/types/SystemProps/AsProps.d.ts +0 -4
  61. package/dist/types/SystemProps/ComponentWithAs.d.ts +0 -16
@@ -1,4 +1,5 @@
1
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>;
2
+ import type { BoxProps } from '../../../components';
3
+ export interface BlockquoteProps extends BoxProps {
4
+ }
5
+ export declare const Blockquote: import("react-polymorphed").PolyForwardComponent<"blockquote", BlockquoteProps, React.ElementType<any>>;
@@ -1,9 +1,11 @@
1
- import { As, AsProps, SpacingSystemProps } from '../../../types';
1
+ import * as React from 'react';
2
+ import type { SpacingSystemProps } from '../../../types';
2
3
  export declare const buttonVariant: readonly ["primary", "secondary"];
3
4
  export type ButtonVariantType = (typeof buttonVariant)[number];
4
- export type ButtonOptions = {
5
+ export interface ButtonProps extends SpacingSystemProps {
6
+ className?: string;
5
7
  variant?: ButtonVariantType;
6
8
  isChoiceChip?: boolean;
7
- };
8
- export type ButtonProps<T extends As = 'button'> = AsProps<T> & SpacingSystemProps & ButtonOptions;
9
- export declare const Button: import('../../../types').ComponentWithAs<"button", ButtonProps<"button">>;
9
+ children: React.ReactNode;
10
+ }
11
+ export declare const Button: import("react-polymorphed").PolyForwardComponent<"button", ButtonProps, React.ElementType<any>>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ColorSystemProps, IconNameType, MarginSystemProps } from '../../../types';
2
+ import type { ColorSystemProps, IconNameType, MarginSystemProps } from '../../../types';
3
3
  export type IconProps = Omit<React.SVGProps<SVGSVGElement>, 'name' | 'color'> & MarginSystemProps & Pick<ColorSystemProps, 'color'> & {
4
4
  name: IconNameType;
5
5
  size?: string | number;
@@ -1,3 +1,7 @@
1
- import { As, AsProps, SystemProps } from '../../../../types';
2
- export type BoxProps<T extends As = 'div'> = AsProps<T> & SystemProps;
3
- export declare const Box: import('../../../../types').ComponentWithAs<"div", BoxProps<"div">>;
1
+ import * as React from 'react';
2
+ import type { SystemProps } from '../../../../types';
3
+ export interface BoxProps extends SystemProps {
4
+ className?: string;
5
+ children?: React.ReactNode;
6
+ }
7
+ export declare const Box: import("react-polymorphed").PolyForwardComponent<"div", BoxProps, React.ElementType<any>>;
@@ -1,6 +1,7 @@
1
- import { BoxProps } from '../../../../components';
2
- import { As, DisplayType, TypeWithMediaQueriesType } from '../../../../types';
3
- export type FlexProps<T extends As = 'div'> = Omit<BoxProps<T>, 'display'> & {
1
+ import * as React from 'react';
2
+ import type { BoxProps } from '../../../../components';
3
+ import type { DisplayType, FlexBoxSystemProps, TypeWithMediaQueriesType } from '../../../../types';
4
+ export interface FlexProps extends Omit<BoxProps, 'display'>, FlexBoxSystemProps {
4
5
  display?: TypeWithMediaQueriesType<Extract<DisplayType, 'flex' | 'inline-flex'>>;
5
- };
6
- export declare const Flex: import('../../../../types').ComponentWithAs<"div", FlexProps<"div">>;
6
+ }
7
+ export declare const Flex: import("react-polymorphed").PolyForwardComponent<"div", FlexProps, React.ElementType<any>>;
@@ -1,8 +1,9 @@
1
- import { AsProps, ColorSystemProps, MarginSystemProps } from '../../../types';
1
+ import * as React from 'react';
2
+ import type { FlexProps } from '../../../components';
2
3
  export declare const logoName: readonly ["website", "blog"];
3
4
  export type LogoNameType = (typeof logoName)[number];
4
- export type LogoProps = AsProps<'div'> & MarginSystemProps & Pick<ColorSystemProps, 'color'> & {
5
+ export interface LogoProps extends FlexProps {
5
6
  name: LogoNameType;
6
7
  size?: string | number;
7
- };
8
- export declare const Logo: import('../../../types').ComponentWithAs<"div", LogoProps>;
8
+ }
9
+ export declare const Logo: import("react-polymorphed").PolyForwardComponent<"div", LogoProps, React.ElementType<any>>;
@@ -1,6 +1,6 @@
1
- import { BoxProps } from '../../../components';
2
- export interface SkeletonOptions {
1
+ import React from 'react';
2
+ import type { BoxProps } from '../../../components';
3
+ export interface SkeletonProps extends BoxProps {
3
4
  isLoading?: boolean;
4
5
  }
5
- export type SkeletonProps = BoxProps<'div'> & SkeletonOptions;
6
- export declare const Skeleton: import("../../..").ComponentWithAs<"div", SkeletonProps>;
6
+ export declare const Skeleton: import("react-polymorphed").PolyForwardComponent<"div", SkeletonProps, React.ElementType<any>>;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgAccessTime: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgAccessTime;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgArrowBack;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgCalendar: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgCalendar;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgClose: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgClose;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgFacebook: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgFacebook;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgGithub: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgGithub;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgLanguage;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgLink: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgLink;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgLinkedin: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgLinkedin;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgLogo: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgLogo;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgMessage: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgMessage;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgPerson: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgPerson;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgRss: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgRss;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgSearch: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgSearch;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgTuto: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgTuto;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgTwitter: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgTwitter;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
2
- import type { SVGProps } from "react";
1
+ import * as React from 'react';
2
+ import type { SVGProps } from 'react';
3
3
  declare const SvgWelcometothejungle: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWelcometothejungle;
@@ -1,17 +1,17 @@
1
- export { default as AccessTime } from "./AccessTime";
2
- export { default as ArrowBack } from "./ArrowBack";
3
- export { default as Calendar } from "./Calendar";
4
- export { default as Close } from "./Close";
5
- export { default as Facebook } from "./Facebook";
6
- export { default as Github } from "./Github";
7
- export { default as Language } from "./Language";
8
- export { default as Link } from "./Link";
9
- export { default as Linkedin } from "./Linkedin";
10
- export { default as Logo } from "./Logo";
11
- export { default as Message } from "./Message";
12
- export { default as Person } from "./Person";
13
- export { default as Rss } from "./Rss";
14
- export { default as Search } from "./Search";
15
- export { default as Tuto } from "./Tuto";
16
- export { default as Twitter } from "./Twitter";
17
- export { default as Welcometothejungle } from "./Welcometothejungle";
1
+ export { default as AccessTime } from './AccessTime';
2
+ export { default as ArrowBack } from './ArrowBack';
3
+ export { default as Calendar } from './Calendar';
4
+ export { default as Close } from './Close';
5
+ export { default as Facebook } from './Facebook';
6
+ export { default as Github } from './Github';
7
+ export { default as Language } from './Language';
8
+ export { default as Link } from './Link';
9
+ export { default as Linkedin } from './Linkedin';
10
+ export { default as Logo } from './Logo';
11
+ export { default as Message } from './Message';
12
+ export { default as Person } from './Person';
13
+ export { default as Rss } from './Rss';
14
+ export { default as Search } from './Search';
15
+ export { default as Tuto } from './Tuto';
16
+ export { default as Twitter } from './Twitter';
17
+ export { default as Welcometothejungle } from './Welcometothejungle';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SyntaxHighlighterProps as SyntaxHighlighterBaseProps } from 'react-syntax-highlighter';
3
- import { MarginSystemProps } from '../../../types';
2
+ import type { SyntaxHighlighterProps as SyntaxHighlighterBaseProps } from 'react-syntax-highlighter';
3
+ import type { MarginSystemProps } from '../../../types';
4
4
  export type SyntaxHighlighterProps = MarginSystemProps & Pick<SyntaxHighlighterBaseProps, 'language' | 'children'>;
5
5
  export declare const SyntaxHighlighter: React.FC<SyntaxHighlighterProps>;
@@ -1,6 +1,7 @@
1
- import { As, AsProps, ColorSystemProps, HeadingSizeType, SpacingSystemProps, TypographySystemProps } from '../../../../types';
2
- export interface HeadingOptions {
1
+ import * as React from 'react';
2
+ import type { BoxProps } from '../../../../components';
3
+ import type { HeadingSizeType, TypographySystemProps } from '../../../../types';
4
+ export interface HeadingProps extends BoxProps, TypographySystemProps {
3
5
  size?: HeadingSizeType;
4
6
  }
5
- export type HeadingProps<T extends As = 'h1'> = AsProps<T> & HeadingOptions & Omit<TypographySystemProps, 'textSize' | 'fontWeight'> & Pick<ColorSystemProps, 'color'> & SpacingSystemProps;
6
- export declare const Heading: import('../../../../types').ComponentWithAs<"h1", HeadingProps<"h1">>;
7
+ export declare const Heading: import("react-polymorphed").PolyForwardComponent<"h1", HeadingProps, React.ElementType<any>>;
@@ -1,6 +1,7 @@
1
- import { As, AsProps, ColorSystemProps, HiddenSystemProps, SpacingSystemProps, TextSizeType, TypographySystemProps } from '../../../../types';
2
- export interface TextOptions {
1
+ import * as React from 'react';
2
+ import type { BoxProps } from '../../../../components';
3
+ import type { TextSizeType, TypographySystemProps } from '../../../../types';
4
+ export interface TextProps extends BoxProps, TypographySystemProps {
3
5
  size?: TextSizeType;
4
6
  }
5
- export type TextProps<T extends As = 'p'> = AsProps<T> & TextOptions & Omit<TypographySystemProps, 'textSize'> & Pick<ColorSystemProps, 'color'> & SpacingSystemProps & HiddenSystemProps;
6
- export declare const Text: import('../../../../types').ComponentWithAs<"p", TextProps<"p">>;
7
+ export declare const Text: import("react-polymorphed").PolyForwardComponent<"p", TextProps, React.ElementType<any>>;
@@ -1,7 +1,8 @@
1
- import { TextProps } from '../../../components';
2
- import { As, IconNameType } from '../../../types';
3
- export type LinkOptions = {
1
+ import * as React from 'react';
2
+ import type { IconNameType } from '../../../types';
3
+ export interface LinkProps {
4
+ className?: string;
4
5
  icon?: IconNameType;
5
- };
6
- export type LinkProps<T extends As = 'a'> = Omit<TextProps<T>, 'color' | 'underline' | 'fontWeight'> & LinkOptions;
7
- export declare const Link: import('../../../types').ComponentWithAs<"a", LinkProps<"a">>;
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const Link: import("react-polymorphed").PolyForwardComponent<"a", LinkProps, React.ElementType<any>>;
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import { BoxProps } from '../../../components';
2
+ import type { BoxProps } from '../../../components';
3
3
  export declare const reminderVariantList: readonly ["note", "summary", "info", "tip", "success", "question", "warning", "failure", "danger", "bug", "example", "quote"];
4
4
  export type ReminderVariantType = (typeof reminderVariantList)[number];
5
- export type ReminderOptions = {
5
+ export interface ReminderProps extends BoxProps {
6
6
  variant: ReminderVariantType;
7
7
  title: React.ReactNode;
8
- };
9
- export type ReminderProps = BoxProps & ReminderOptions;
10
- export declare const Reminder: React.FC<ReminderProps>;
8
+ }
9
+ export declare const Reminder: import("react-polymorphed").PolyForwardComponent<"div", ReminderProps, React.ElementType<any>>;
@@ -1,10 +1,9 @@
1
1
  import * as React from 'react';
2
- import { BoxProps } from '../../../components';
3
- import { AsProps } from '../../../types';
4
- export type SearchFieldOptions = {
5
- input: React.ComponentPropsWithRef<'input'>;
6
- buttonSearch: AsProps<'button'>;
7
- buttonClose?: AsProps<'button'>;
8
- };
9
- export type SearchFieldProps = BoxProps & SearchFieldOptions;
10
- export declare const SearchField: import('../../../types').ComponentWithAs<"div", SearchFieldProps>;
2
+ import type { PolymorphicPropsWithoutRef } from 'react-polymorphed';
3
+ import type { BoxProps } from '../../../components';
4
+ export interface SearchFieldProps extends BoxProps {
5
+ input: Omit<PolymorphicPropsWithoutRef<'input', {}>, keyof BoxProps>;
6
+ buttonSearch: Omit<PolymorphicPropsWithoutRef<'button', {}>, keyof BoxProps>;
7
+ buttonClose?: Omit<PolymorphicPropsWithoutRef<'button', {}>, keyof BoxProps>;
8
+ }
9
+ export declare const SearchField: import("react-polymorphed").PolyForwardComponent<"div", SearchFieldProps, React.ElementType<any>>;
@@ -1,8 +1,7 @@
1
- import { TextOptions } from '../../../components';
2
- import { As, AsProps, HiddenSystemProps, MarginSystemProps } from '../../../types';
3
- export type TextHighlightOptions = {
1
+ import * as React from 'react';
2
+ import type { TextProps } from '../../../components';
3
+ export interface TextHighlightProps extends TextProps {
4
4
  text: string;
5
5
  textQuery?: string;
6
- };
7
- export type TextHighlightProps<T extends As = 'p'> = AsProps<T> & MarginSystemProps & HiddenSystemProps & TextOptions & TextHighlightOptions;
8
- export declare const TextHighlight: import('../../../types').ComponentWithAs<"p", TextHighlightProps<"p">>;
6
+ }
7
+ export declare const TextHighlight: import("react-polymorphed").PolyForwardComponent<"p", TextHighlightProps, React.ElementType<any>>;
@@ -1,2 +1,2 @@
1
- import { SystemProps } from '../../types';
1
+ import type { SystemProps } from '../../types';
2
2
  export declare const systemProps: Record<keyof SystemProps, readonly string[]>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 18 Oct 2023 18:37:56 GMT
3
+ * Generated on Mon, 06 Nov 2023 12:39:00 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
6
  asset: {
@@ -0,0 +1 @@
1
+ export * from './polyRef';
@@ -0,0 +1,2 @@
1
+ import type { PolyRefFunction } from 'react-polymorphed';
2
+ export declare const polyRef: PolyRefFunction;
@@ -1,3 +1,3 @@
1
- export declare const kebabCase: (str: string) => string;
2
- export declare const pascalCase: (str: string) => string;
3
- export declare const capitalize: (str: string) => string;
1
+ export declare const kebabCase: (string_: string) => string;
2
+ export declare const pascalCase: (string_: string) => string;
3
+ export declare const capitalize: (string_: string) => string;
@@ -1,4 +1,4 @@
1
- import { TypeWithModifierType } from '../../types';
1
+ import type { TypeWithModifierType } from '../../types';
2
2
  export declare const classNamesWithModifiers: <TModifierType extends string, TPropValue extends string | number | boolean>(options: {
3
3
  className: string;
4
4
  defaultModifier?: string | undefined;
@@ -1,2 +1,2 @@
1
- import { HiddenSystemProps } from '../../types';
1
+ import type { HiddenSystemProps } from '../../types';
2
2
  export declare const hiddenSystemClassName: <TProps extends HiddenSystemProps>(props: TProps) => string;
@@ -8,4 +8,3 @@ export * from './typographySystemClassName';
8
8
  export * from './hiddenSystemClassName';
9
9
  export * from './omitSystemProps';
10
10
  export * from './systemClassName';
11
- export * from './forwardRef';
@@ -1,2 +1,2 @@
1
- import { SystemProps } from '../../types';
1
+ import type { SystemProps } from '../../types';
2
2
  export declare const systemClassName: <TProps extends SystemProps = SystemProps>(props: TProps) => string;
@@ -1,2 +1,2 @@
1
- import { TypographySystemProps } from '../../types';
1
+ import type { TypographySystemProps } from '../../types';
2
2
  export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, ...props }: TProps) => string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './hooks';
3
+ export * from './helpers';
3
4
  export * from './types';
4
- export * from './helpers/systemPropsHelper/forwardRef';