@astral/ui 0.23.0-alpha.3 → 0.23.0-alpha.4

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.
@@ -3,8 +3,18 @@ export declare const PaginationWrapper: import("@emotion/styled").StyledComponen
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const Range: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
7
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
8
- } & {
6
+ export declare const Range: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
7
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
8
+ children?: import("react").ReactNode;
9
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
10
+ gutterBottom?: boolean | undefined;
11
+ noWrap?: boolean | undefined;
12
+ paragraph?: boolean | undefined;
13
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
14
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
15
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
16
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
17
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
18
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
9
19
  theme?: import("@emotion/react").Theme | undefined;
10
20
  }, {}, {}>;
@@ -11,14 +11,34 @@ export declare const StyledImage: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
12
  as?: import("react").ElementType<any> | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
14
- export declare const StyledTitle: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
15
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
16
- } & {
14
+ export declare const StyledTitle: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
15
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
16
+ children?: import("react").ReactNode;
17
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
18
+ gutterBottom?: boolean | undefined;
19
+ noWrap?: boolean | undefined;
20
+ paragraph?: boolean | undefined;
21
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
22
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
23
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
24
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
25
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
26
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
17
27
  theme?: import("@emotion/react").Theme | undefined;
18
28
  }, {}, {}>;
19
- export declare const StyledDescription: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
20
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
21
- } & {
29
+ export declare const StyledDescription: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
30
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
31
+ children?: import("react").ReactNode;
32
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
33
+ gutterBottom?: boolean | undefined;
34
+ noWrap?: boolean | undefined;
35
+ paragraph?: boolean | undefined;
36
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
37
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
38
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
39
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
40
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
41
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
22
42
  theme?: import("@emotion/react").Theme | undefined;
23
43
  }, {}, {}>;
24
44
  export declare const StyledActions: import("@emotion/styled").StyledComponent<{
@@ -1,8 +1 @@
1
- /// <reference types="react" />
2
- import { TypographyProps as MuiTypographyProps } from '@mui/material/Typography';
3
- import { Variant } from '@mui/material/styles/createTypography';
4
- export declare type TypographyProps = Omit<MuiTypographyProps, 'variant'> & {
5
- variant?: Variant | 'h7' | 'h8' | 'h9' | 'ui' | 'link' | 'pointer' | 'small' | 'code';
6
- };
7
- export declare const Typography: ({ variant, children, ...props }: TypographyProps) => JSX.Element;
8
- export default Typography;
1
+ export { default as Typography } from '@mui/material/Typography';
@@ -1,36 +1,8 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
25
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
4
  };
27
5
  Object.defineProperty(exports, "__esModule", { value: true });
28
6
  exports.Typography = void 0;
29
- var jsx_runtime_1 = require("react/jsx-runtime");
30
- var Typography_1 = __importDefault(require("@mui/material/Typography"));
31
- var Typography = function (_a) {
32
- var variant = _a.variant, children = _a.children, props = __rest(_a, ["variant", "children"]);
33
- return ((0, jsx_runtime_1.jsx)(Typography_1.default, __assign({ variant: variant }, props, { children: children }), void 0));
34
- };
35
- exports.Typography = Typography;
36
- exports.default = exports.Typography;
7
+ var Typography_1 = require("@mui/material/Typography");
8
+ Object.defineProperty(exports, "Typography", { enumerable: true, get: function () { return __importDefault(Typography_1).default; } });
@@ -0,0 +1,18 @@
1
+ import { TypographyProps as MuiTypographyProps } from '@mui/material/Typography';
2
+ import { Variant } from '@mui/material/styles/createTypography';
3
+ declare module '@mui/material/Typography' {
4
+ interface TypographyPropsVariantOverrides {
5
+ h7: true;
6
+ h8: true;
7
+ h9: true;
8
+ ui: true;
9
+ link: true;
10
+ pointer: true;
11
+ small: true;
12
+ code: true;
13
+ div: true;
14
+ }
15
+ }
16
+ export declare type TypographyProps = Omit<MuiTypographyProps, 'variant'> & {
17
+ variant?: Variant | 'h7' | 'h8' | 'h9' | 'ui' | 'link' | 'pointer' | 'small' | 'code' | 'div';
18
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,8 +3,18 @@ export declare const PaginationWrapper: import("@emotion/styled").StyledComponen
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const Range: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
7
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
8
- } & {
6
+ export declare const Range: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
7
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
8
+ children?: import("react").ReactNode;
9
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
10
+ gutterBottom?: boolean | undefined;
11
+ noWrap?: boolean | undefined;
12
+ paragraph?: boolean | undefined;
13
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
14
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
15
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
16
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
17
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
18
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
9
19
  theme?: import("@emotion/react").Theme | undefined;
10
20
  }, {}, {}>;
@@ -11,14 +11,34 @@ export declare const StyledImage: import("@emotion/styled").StyledComponent<{
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
12
  as?: import("react").ElementType<any> | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
14
- export declare const StyledTitle: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
15
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
16
- } & {
14
+ export declare const StyledTitle: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
15
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
16
+ children?: import("react").ReactNode;
17
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
18
+ gutterBottom?: boolean | undefined;
19
+ noWrap?: boolean | undefined;
20
+ paragraph?: boolean | undefined;
21
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
22
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
23
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
24
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
25
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
26
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
17
27
  theme?: import("@emotion/react").Theme | undefined;
18
28
  }, {}, {}>;
19
- export declare const StyledDescription: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyProps<"span", {}>, "variant"> & {
20
- variant?: "link" | "small" | "code" | "pointer" | import("@mui/material").TypographyVariant | "h7" | "h8" | "h9" | "ui" | undefined;
21
- } & {
29
+ export declare const StyledDescription: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
30
+ align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
31
+ children?: import("react").ReactNode;
32
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
33
+ gutterBottom?: boolean | undefined;
34
+ noWrap?: boolean | undefined;
35
+ paragraph?: boolean | undefined;
36
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
37
+ variant?: "link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui" | undefined;
38
+ variantMapping?: Partial<Record<"link" | "small" | "button" | "caption" | "code" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "pointer" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | "h7" | "h8" | "h9" | "ui", string>> | undefined;
39
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
40
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
41
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("margin" | "p" | "color" | "fontSize" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "left" | "right" | "top" | "bottom" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
22
42
  theme?: import("@emotion/react").Theme | undefined;
23
43
  }, {}, {}>;
24
44
  export declare const StyledActions: import("@emotion/styled").StyledComponent<{
@@ -1,8 +1 @@
1
- /// <reference types="react" />
2
- import { TypographyProps as MuiTypographyProps } from '@mui/material/Typography';
3
- import { Variant } from '@mui/material/styles/createTypography';
4
- export declare type TypographyProps = Omit<MuiTypographyProps, 'variant'> & {
5
- variant?: Variant | 'h7' | 'h8' | 'h9' | 'ui' | 'link' | 'pointer' | 'small' | 'code';
6
- };
7
- export declare const Typography: ({ variant, children, ...props }: TypographyProps) => JSX.Element;
8
- export default Typography;
1
+ export { default as Typography } from '@mui/material/Typography';
@@ -1,29 +1 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import MuiTypography from '@mui/material/Typography';
25
- export var Typography = function (_a) {
26
- var variant = _a.variant, children = _a.children, props = __rest(_a, ["variant", "children"]);
27
- return (_jsx(MuiTypography, __assign({ variant: variant }, props, { children: children }), void 0));
28
- };
29
- export default Typography;
1
+ export { default as Typography } from '@mui/material/Typography';
@@ -0,0 +1,18 @@
1
+ import { TypographyProps as MuiTypographyProps } from '@mui/material/Typography';
2
+ import { Variant } from '@mui/material/styles/createTypography';
3
+ declare module '@mui/material/Typography' {
4
+ interface TypographyPropsVariantOverrides {
5
+ h7: true;
6
+ h8: true;
7
+ h9: true;
8
+ ui: true;
9
+ link: true;
10
+ pointer: true;
11
+ small: true;
12
+ code: true;
13
+ div: true;
14
+ }
15
+ }
16
+ export declare type TypographyProps = Omit<MuiTypographyProps, 'variant'> & {
17
+ variant?: Variant | 'h7' | 'h8' | 'h9' | 'ui' | 'link' | 'pointer' | 'small' | 'code' | 'div';
18
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.23.0-alpha.3",
3
+ "version": "0.23.0-alpha.4",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^0.23.0-alpha.3",
11
+ "@astral/icons": "^0.23.0-alpha.4",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.8.1",
14
14
  "@emotion/server": "11.4.0",