@xo-union/tk-ui-typography
Advanced tools
Comparing version 8.0.0-uep1.beta.10 to 8.0.0-uep1.beta.11
import { ElementType, ComponentRef, ComponentProps } from 'react'; | ||
import { TextBodyProps } from '@tkww/orion-web-ds-typography'; | ||
import { TextBodyProps } from '@tkww/orion-web-ds-text'; | ||
export type TextBodyNProps<P, T extends ElementType<P> = 'div'> = Omit<TextBodyProps<P, T>, 'size'> & ComponentProps<T>; | ||
export declare const Body1: <P, T extends ElementType<P> = "div">(props: Omit<TextBodyProps<P, T>, "size"> & ComponentProps<T> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export declare const Body2: <P, T extends ElementType<P> = "div">(props: Omit<TextBodyProps<P, T>, "size"> & ComponentProps<T> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export declare const Body1: <P, T extends ElementType<P> = "div">(props: Omit<TextBodyProps<P, T>, "size"> & ComponentProps<T> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; | ||
export declare const Body2: <P, T extends ElementType<P> = "div">(props: Omit<TextBodyProps<P, T>, "size"> & ComponentProps<T> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; |
import { forwardRef } from "react"; | ||
import { TextBody } from "@tkww/orion-web-ds-typography"; | ||
import { TextBody } from "@tkww/orion-web-ds-text"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -4,0 +4,0 @@ export const Body1 = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/_jsx(TextBody, { |
@@ -1,8 +0,9 @@ | ||
import { ElementType, ComponentRef, ComponentPropsWithoutRef } from 'react'; | ||
import { TextTitleProps } from '@tkww/orion-web-ds-typography'; | ||
import { ComponentRef, ComponentPropsWithoutRef } from 'react'; | ||
import { TextTitleProps } from '@tkww/orion-web-ds-text'; | ||
import { Polymorphic } from '@tkww/orion-web-ui-lib'; | ||
export type HeadingLevel = '1' | '2' | '3' | '4' | 1 | 2 | 3 | 4; | ||
export type TextTitleNProps<P, T extends ElementType<P> = `h${HeadingLevel}`> = Omit<TextTitleProps<P, T>, 'size'> & ComponentPropsWithoutRef<T>; | ||
export declare const H1: <P, T extends ElementType<P> = "h1">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export declare const H2: <P, T extends ElementType<P> = "h2">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export declare const H3: <P, T extends ElementType<P> = "h3">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export declare const H4: <P, T extends ElementType<P> = "h4">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
export type TextTitleNProps<P, T extends Polymorphic.ElementType<P> = `h${HeadingLevel}`> = Omit<TextTitleProps<P, T>, 'size'> & ComponentPropsWithoutRef<T>; | ||
export declare const H1: <P, T extends Polymorphic.ElementType<P> = "h1">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; | ||
export declare const H2: <P, T extends Polymorphic.ElementType<P> = "h2">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; | ||
export declare const H3: <P, T extends Polymorphic.ElementType<P> = "h3">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; | ||
export declare const H4: <P, T extends Polymorphic.ElementType<P> = "h4">(props: Omit<TextTitleProps<P, T>, "size"> & import("react").PropsWithoutRef<import("react").ComponentProps<T>> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; |
import { forwardRef } from "react"; | ||
import { TextTitle } from "@tkww/orion-web-ds-typography"; | ||
import { TextTitle } from "@tkww/orion-web-ds-text"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -4,0 +4,0 @@ export const H1 = /*#__PURE__*/forwardRef((props, ref) => /*#__PURE__*/_jsx(TextTitle, { |
@@ -1,2 +0,2 @@ | ||
export { TextCaption as Caption, TextEditorial as Editorial, TextOverline as Overline, TextSubhead as Subhead, TextHero as Hero, } from '@tkww/orion-web-ds-typography'; | ||
export { TextCaption as Caption, TextEditorial as Editorial, TextOverline as Overline, TextSubhead as Subhead, TextHero as Hero, } from '@tkww/orion-web-ds-text'; | ||
export { H1 } from './H'; | ||
@@ -3,0 +3,0 @@ export { H2 } from './H'; |
@@ -1,2 +0,2 @@ | ||
export { TextCaption as Caption, TextEditorial as Editorial, TextOverline as Overline, TextSubhead as Subhead, TextHero as Hero } from "@tkww/orion-web-ds-typography"; | ||
export { TextCaption as Caption, TextEditorial as Editorial, TextOverline as Overline, TextSubhead as Subhead, TextHero as Hero } from "@tkww/orion-web-ds-text"; | ||
export { H1 } from "./H.js"; | ||
@@ -3,0 +3,0 @@ export { H2 } from "./H.js"; |
@@ -9,2 +9,2 @@ import { ElementType, ComponentProps, ComponentRef } from 'react'; | ||
className?: string; | ||
} & Omit<ComponentProps<T>, "className" | "as"> & import("react").RefAttributes<ComponentRef<T>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>; | ||
} & Omit<ComponentProps<T>, "className" | "as"> & import("react").RefAttributes<ComponentRef<T>>) => React.ReactElement | null; |
{ | ||
"name": "@xo-union/tk-ui-typography", | ||
"version": "8.0.0-uep1.beta.10", | ||
"version": "8.0.0-uep1.beta.11", | ||
"main": "lib/index.cjs", | ||
@@ -51,5 +51,5 @@ "module": "lib/index.js", | ||
"dependencies": { | ||
"@babel/runtime-corejs3": "^7.23.9", | ||
"@tkww/orion-web-ds-typography": "^1.0.0-uep1.beta.10", | ||
"@tkww/orion-web-ui-lib": "^1.0.0-uep1.beta.8" | ||
"@babel/runtime-corejs3": "^7.24.7", | ||
"@tkww/orion-web-ds-text": "^1.0.0-uep1.beta.11", | ||
"@tkww/orion-web-ui-lib": "^1.0.0-uep1.beta.9" | ||
}, | ||
@@ -60,5 +60,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@tkww/browserslist-config-orion-web": "^1.0.0-uep1.beta.10", | ||
"@tkww/fep-scripts": "^1.0.0-uep1.beta.8", | ||
"@tkww/orion-web-package-lint": "^1.0.0-uep1.beta.10", | ||
"@tkww/browserslist-config-orion-web": "^1.0.0-uep1.beta.11", | ||
"@tkww/fep-scripts": "^1.0.0-uep1.beta.9", | ||
"@tkww/orion-web-package-lint": "^1.0.0-uep1.beta.11", | ||
"react": "^18.3.1" | ||
@@ -65,0 +65,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30657
506