@astral/ui 0.4.1-alpha.8 → 0.5.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 (55) hide show
  1. package/Badge/styled.d.ts +1 -1
  2. package/Button/styled.d.ts +1 -1
  3. package/ButtonBase/styled.d.ts +1 -1
  4. package/Checkbox/styled.d.ts +1 -1
  5. package/CircularProgress/styled.d.ts +1 -1
  6. package/DashboardLayout/Header/styled.d.ts +5 -5
  7. package/DashboardLayout/Main/styled.d.ts +1 -1
  8. package/DashboardLayout/SideBar/styled.d.ts +1 -1
  9. package/DashboardLayout/styled.d.ts +1 -1
  10. package/FormControlLabel/styled.d.ts +1 -1
  11. package/FormHelperText/styled.d.ts +3 -3
  12. package/Grid/styled.d.ts +1 -1
  13. package/IconButton/styled.d.ts +1 -1
  14. package/MenuList/styled.d.ts +1 -1
  15. package/Radio/styled.d.ts +1 -1
  16. package/Tag/styled.d.ts +1 -1
  17. package/Tooltip/styled.d.ts +1 -1
  18. package/esm/Badge/styled.d.ts +1 -1
  19. package/esm/Button/styled.d.ts +1 -1
  20. package/esm/ButtonBase/styled.d.ts +1 -1
  21. package/esm/Checkbox/styled.d.ts +1 -1
  22. package/esm/CircularProgress/styled.d.ts +1 -1
  23. package/esm/DashboardLayout/Header/styled.d.ts +5 -5
  24. package/esm/DashboardLayout/Main/styled.d.ts +1 -1
  25. package/esm/DashboardLayout/SideBar/styled.d.ts +1 -1
  26. package/esm/DashboardLayout/styled.d.ts +1 -1
  27. package/esm/FormControlLabel/styled.d.ts +1 -1
  28. package/esm/FormHelperText/styled.d.ts +3 -3
  29. package/esm/Grid/styled.d.ts +1 -1
  30. package/esm/IconButton/styled.d.ts +1 -1
  31. package/esm/MenuList/styled.d.ts +1 -1
  32. package/esm/Radio/styled.d.ts +1 -1
  33. package/esm/Tag/styled.d.ts +1 -1
  34. package/esm/Tooltip/styled.d.ts +1 -1
  35. package/esm/index.d.ts +1 -0
  36. package/esm/index.js +1 -0
  37. package/esm/styles/index.d.ts +1 -1
  38. package/esm/styles/index.js +1 -1
  39. package/index.d.ts +1 -0
  40. package/index.js +1 -0
  41. package/package.json +4 -3
  42. package/styles/index.d.ts +1 -1
  43. package/styles/index.js +5 -10
  44. package/esm/styles/styled/index.d.ts +0 -1
  45. package/esm/styles/styled/index.js +0 -1
  46. package/esm/styles/styled/styled.d.ts +0 -2
  47. package/esm/styles/styled/styled.js +0 -2
  48. package/esm/styles/styled/types.d.ts +0 -48
  49. package/esm/styles/styled/types.js +0 -1
  50. package/styles/styled/index.d.ts +0 -1
  51. package/styles/styled/index.js +0 -13
  52. package/styles/styled/styled.d.ts +0 -2
  53. package/styles/styled/styled.js +0 -8
  54. package/styles/styled/types.d.ts +0 -48
  55. package/styles/styled/types.js +0 -2
package/Badge/styled.d.ts CHANGED
@@ -43,7 +43,7 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
43
43
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
44
44
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
45
45
  }, "color" | "components" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
46
- theme?: import("@mui/material").Theme | undefined;
46
+ theme?: import("@emotion/react").Theme | undefined;
47
47
  } & Omit<BadgeProps, "color"> & {
48
48
  customColor: BadgeColor;
49
49
  }, {}, {}>;
@@ -4,7 +4,7 @@ export declare const StyledButton: import("@emotion/styled").StyledComponent<Omi
4
4
  variant?: "link" | "light" | "text" | "contained" | undefined;
5
5
  size?: "large" | "medium" | undefined;
6
6
  } & {
7
- theme?: import("@mui/material").Theme | undefined;
7
+ theme?: import("@emotion/react").Theme | undefined;
8
8
  } & {
9
9
  loading?: boolean | undefined;
10
10
  startIcon?: import("react").ReactNode;
@@ -19,7 +19,7 @@ export declare const getDisabledBgColor: ({ theme, customVariant, }: StyledButto
19
19
  export declare const StyledButtonBase: import("@emotion/styled").StyledComponent<Pick<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
20
20
  component?: import("react").ElementType<any> | undefined;
21
21
  }, string | number | symbol> & import("react").RefAttributes<any> & {
22
- theme?: import("@mui/material").Theme | undefined;
22
+ theme?: import("@emotion/react").Theme | undefined;
23
23
  } & Omit<BaseButtonProps, "color" | "variant"> & {
24
24
  customColor?: "primary" | "error" | "warning" | "success" | undefined;
25
25
  customVariant?: "link" | "light" | "text" | "contained" | undefined;
@@ -1,4 +1,4 @@
1
1
  import { CheckboxProps } from './types';
2
2
  export declare const StyledCheckbox: import("@emotion/styled").StyledComponent<import("@mui/material").CheckboxProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & CheckboxProps, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { CircularProgressProps } from './types';
2
2
  export declare const StyledCircularProgress: import("@emotion/styled").StyledComponent<import("@mui/material").CircularProgressProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & Omit<CircularProgressProps, "color" | "size"> & {
5
5
  customColor?: "primary" | "inverted" | undefined;
6
6
  }, {}, {}>;
@@ -1,23 +1,23 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
6
  export declare const InnerContainer: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@mui/material").Theme | undefined;
7
+ theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any> | undefined;
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
10
  export declare const LeftContainer: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@mui/material").Theme | undefined;
11
+ theme?: import("@emotion/react").Theme | undefined;
12
12
  as?: import("react").ElementType<any> | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
14
  export declare const LogoContainer: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@mui/material").Theme | undefined;
15
+ theme?: import("@emotion/react").Theme | undefined;
16
16
  as?: import("react").ElementType<any> | undefined;
17
17
  } & {
18
18
  withWidget: boolean;
19
19
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
20
  export declare const LogoStyle: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@mui/material").Theme | undefined;
21
+ theme?: import("@emotion/react").Theme | undefined;
22
22
  as?: import("react").ElementType<any> | undefined;
23
23
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledMain: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledDrawer: import("@emotion/styled").StyledComponent<import("@mui/material").DrawerProps & {
2
- theme?: import("@mui/material").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme | undefined;
3
3
  }, {}, {}>;
@@ -2,5 +2,5 @@
2
2
  export declare const StyledDashboard: import("@emotion/styled").StyledComponent<import("../Grid").GridContainerProps & import("../Grid").GridElementsProps & {
3
3
  children?: import("react").ReactNode;
4
4
  } & {
5
- theme?: import("@mui/material").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme | undefined;
6
6
  }, {}, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledFormControlLabel: import("@emotion/styled").StyledComponent<import("@mui/material").FormControlLabelProps & {
2
- theme?: import("@mui/material").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme | undefined;
3
3
  }, {}, {}>;
@@ -15,7 +15,7 @@ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
15
15
  }, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
16
16
  children?: import("react").ReactNode;
17
17
  } & {
18
- theme?: import("@mui/material").Theme | undefined;
18
+ theme?: import("@emotion/react").Theme | undefined;
19
19
  }, {}, {}>;
20
20
  export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
21
21
  children?: import("react").ReactNode;
@@ -33,9 +33,9 @@ export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
33
33
  }, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
34
34
  children?: import("react").ReactNode;
35
35
  } & {
36
- theme?: import("@mui/material").Theme | undefined;
36
+ theme?: import("@emotion/react").Theme | undefined;
37
37
  }, {}, {}>;
38
38
  export declare const Content: import("@emotion/styled").StyledComponent<{
39
- theme?: import("@mui/material").Theme | undefined;
39
+ theme?: import("@emotion/react").Theme | undefined;
40
40
  as?: import("react").ElementType<any> | undefined;
41
41
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
package/Grid/styled.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
7
7
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
9
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "p" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY") | "component"> & {
10
- theme?: import("@mui/material").Theme | undefined;
10
+ theme?: import("@emotion/react").Theme | undefined;
11
11
  } & {
12
12
  container: boolean;
13
13
  }, {}, {}>;
@@ -10,7 +10,7 @@ export declare const StyledIconButton: import("@emotion/styled").StyledComponent
10
10
  variant?: "link" | "light" | "text" | "contained" | undefined;
11
11
  size?: "large" | "medium" | undefined;
12
12
  } & {
13
- theme?: import("@mui/material").Theme | undefined;
13
+ theme?: import("@emotion/react").Theme | undefined;
14
14
  } & {
15
15
  loading?: boolean | undefined;
16
16
  startIcon?: import("react").ReactNode;
@@ -16,5 +16,5 @@ export declare const StyledMenuList: import("@emotion/styled").StyledComponent<{
16
16
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
17
17
  ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
18
18
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "autoFocus" | "dense" | "subheader" | "disablePadding" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap"> & {
19
- theme?: import("@mui/material").Theme | undefined;
19
+ theme?: import("@emotion/react").Theme | undefined;
20
20
  }, {}, {}>;
package/Radio/styled.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { RadioProps } from './types';
2
2
  export declare const StyledRadio: import("@emotion/styled").StyledComponent<import("@mui/material").RadioProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & RadioProps, {}, {}>;
package/Tag/styled.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare const StyledTag: import("@emotion/styled").StyledComponent<{
17
17
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
18
18
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
19
  }, "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "label" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
20
- theme?: import("@mui/material").Theme | undefined;
20
+ theme?: import("@emotion/react").Theme | undefined;
21
21
  } & Omit<TagProps, "color"> & {
22
22
  customColor?: "primary" | "default" | "error" | "grey" | "warning" | "success" | undefined;
23
23
  customVariant?: "light" | "contained" | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const StyledTooltip: import("@emotion/styled").StyledComponent<import("@mui/material").TooltipProps & {
2
2
  size?: "medium" | "small" | undefined;
3
3
  } & {
4
- theme?: import("@mui/material").Theme | undefined;
4
+ theme?: import("@emotion/react").Theme | undefined;
5
5
  }, {}, {}>;
@@ -43,7 +43,7 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
43
43
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
44
44
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
45
45
  }, "color" | "components" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
46
- theme?: import("@mui/material").Theme | undefined;
46
+ theme?: import("@emotion/react").Theme | undefined;
47
47
  } & Omit<BadgeProps, "color"> & {
48
48
  customColor: BadgeColor;
49
49
  }, {}, {}>;
@@ -4,7 +4,7 @@ export declare const StyledButton: import("@emotion/styled").StyledComponent<Omi
4
4
  variant?: "link" | "light" | "text" | "contained" | undefined;
5
5
  size?: "large" | "medium" | undefined;
6
6
  } & {
7
- theme?: import("@mui/material").Theme | undefined;
7
+ theme?: import("@emotion/react").Theme | undefined;
8
8
  } & {
9
9
  loading?: boolean | undefined;
10
10
  startIcon?: import("react").ReactNode;
@@ -19,7 +19,7 @@ export declare const getDisabledBgColor: ({ theme, customVariant, }: StyledButto
19
19
  export declare const StyledButtonBase: import("@emotion/styled").StyledComponent<Pick<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
20
20
  component?: import("react").ElementType<any> | undefined;
21
21
  }, string | number | symbol> & import("react").RefAttributes<any> & {
22
- theme?: import("@mui/material").Theme | undefined;
22
+ theme?: import("@emotion/react").Theme | undefined;
23
23
  } & Omit<BaseButtonProps, "color" | "variant"> & {
24
24
  customColor?: "primary" | "error" | "warning" | "success" | undefined;
25
25
  customVariant?: "link" | "light" | "text" | "contained" | undefined;
@@ -1,4 +1,4 @@
1
1
  import { CheckboxProps } from './types';
2
2
  export declare const StyledCheckbox: import("@emotion/styled").StyledComponent<import("@mui/material").CheckboxProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & CheckboxProps, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { CircularProgressProps } from './types';
2
2
  export declare const StyledCircularProgress: import("@emotion/styled").StyledComponent<import("@mui/material").CircularProgressProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & Omit<CircularProgressProps, "color" | "size"> & {
5
5
  customColor?: "primary" | "inverted" | undefined;
6
6
  }, {}, {}>;
@@ -1,23 +1,23 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
6
  export declare const InnerContainer: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@mui/material").Theme | undefined;
7
+ theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any> | undefined;
9
9
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
10
  export declare const LeftContainer: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@mui/material").Theme | undefined;
11
+ theme?: import("@emotion/react").Theme | undefined;
12
12
  as?: import("react").ElementType<any> | undefined;
13
13
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
14
  export declare const LogoContainer: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@mui/material").Theme | undefined;
15
+ theme?: import("@emotion/react").Theme | undefined;
16
16
  as?: import("react").ElementType<any> | undefined;
17
17
  } & {
18
18
  withWidget: boolean;
19
19
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
20
  export declare const LogoStyle: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@mui/material").Theme | undefined;
21
+ theme?: import("@emotion/react").Theme | undefined;
22
22
  as?: import("react").ElementType<any> | undefined;
23
23
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledMain: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledDrawer: import("@emotion/styled").StyledComponent<import("@mui/material").DrawerProps & {
2
- theme?: import("@mui/material").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme | undefined;
3
3
  }, {}, {}>;
@@ -2,5 +2,5 @@
2
2
  export declare const StyledDashboard: import("@emotion/styled").StyledComponent<import("../Grid").GridContainerProps & import("../Grid").GridElementsProps & {
3
3
  children?: import("react").ReactNode;
4
4
  } & {
5
- theme?: import("@mui/material").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme | undefined;
6
6
  }, {}, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const StyledFormControlLabel: import("@emotion/styled").StyledComponent<import("@mui/material").FormControlLabelProps & {
2
- theme?: import("@mui/material").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme | undefined;
3
3
  }, {}, {}>;
@@ -15,7 +15,7 @@ export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
15
15
  }, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
16
16
  children?: import("react").ReactNode;
17
17
  } & {
18
- theme?: import("@mui/material").Theme | undefined;
18
+ theme?: import("@emotion/react").Theme | undefined;
19
19
  }, {}, {}>;
20
20
  export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
21
21
  children?: import("react").ReactNode;
@@ -33,9 +33,9 @@ export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
33
33
  }, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
34
34
  children?: import("react").ReactNode;
35
35
  } & {
36
- theme?: import("@mui/material").Theme | undefined;
36
+ theme?: import("@emotion/react").Theme | undefined;
37
37
  }, {}, {}>;
38
38
  export declare const Content: import("@emotion/styled").StyledComponent<{
39
- theme?: import("@mui/material").Theme | undefined;
39
+ theme?: import("@emotion/react").Theme | undefined;
40
40
  as?: import("react").ElementType<any> | undefined;
41
41
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -7,7 +7,7 @@ export declare const StyledGrid: import("@emotion/styled").StyledComponent<impor
7
7
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
9
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "p" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY") | "component"> & {
10
- theme?: import("@mui/material").Theme | undefined;
10
+ theme?: import("@emotion/react").Theme | undefined;
11
11
  } & {
12
12
  container: boolean;
13
13
  }, {}, {}>;
@@ -10,7 +10,7 @@ export declare const StyledIconButton: import("@emotion/styled").StyledComponent
10
10
  variant?: "link" | "light" | "text" | "contained" | undefined;
11
11
  size?: "large" | "medium" | undefined;
12
12
  } & {
13
- theme?: import("@mui/material").Theme | undefined;
13
+ theme?: import("@emotion/react").Theme | undefined;
14
14
  } & {
15
15
  loading?: boolean | undefined;
16
16
  startIcon?: import("react").ReactNode;
@@ -16,5 +16,5 @@ export declare const StyledMenuList: import("@emotion/styled").StyledComponent<{
16
16
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
17
17
  ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
18
18
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "autoFocus" | "dense" | "subheader" | "disablePadding" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap"> & {
19
- theme?: import("@mui/material").Theme | undefined;
19
+ theme?: import("@emotion/react").Theme | undefined;
20
20
  }, {}, {}>;
@@ -1,4 +1,4 @@
1
1
  import { RadioProps } from './types';
2
2
  export declare const StyledRadio: import("@emotion/styled").StyledComponent<import("@mui/material").RadioProps & {
3
- theme?: import("@mui/material").Theme | undefined;
3
+ theme?: import("@emotion/react").Theme | undefined;
4
4
  } & RadioProps, {}, {}>;
@@ -17,7 +17,7 @@ export declare const StyledTag: import("@emotion/styled").StyledComponent<{
17
17
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
18
18
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
19
  }, "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "label" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
20
- theme?: import("@mui/material").Theme | undefined;
20
+ theme?: import("@emotion/react").Theme | undefined;
21
21
  } & Omit<TagProps, "color"> & {
22
22
  customColor?: "primary" | "default" | "error" | "grey" | "warning" | "success" | undefined;
23
23
  customVariant?: "light" | "contained" | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const StyledTooltip: import("@emotion/styled").StyledComponent<import("@mui/material").TooltipProps & {
2
2
  size?: "medium" | "small" | undefined;
3
3
  } & {
4
- theme?: import("@mui/material").Theme | undefined;
4
+ theme?: import("@emotion/react").Theme | undefined;
5
5
  }, {}, {}>;
package/esm/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export * from './Grid';
19
19
  export * from './Tag';
20
20
  export * from './Tooltip';
21
21
  export * from './TextArea';
22
+ export * from './DashboardLayout';
package/esm/index.js CHANGED
@@ -19,3 +19,4 @@ export * from './Grid';
19
19
  export * from './Tag';
20
20
  export * from './Tooltip';
21
21
  export * from './TextArea';
22
+ export * from './DashboardLayout';
@@ -1 +1 @@
1
- export * from './styled';
1
+ export { default as styled } from '@emotion/styled';
@@ -1 +1 @@
1
- export * from './styled';
1
+ export { default as styled } from '@emotion/styled';
package/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export * from './Grid';
19
19
  export * from './Tag';
20
20
  export * from './Tooltip';
21
21
  export * from './TextArea';
22
+ export * from './DashboardLayout';
package/index.js CHANGED
@@ -31,3 +31,4 @@ __exportStar(require("./Grid"), exports);
31
31
  __exportStar(require("./Tag"), exports);
32
32
  __exportStar(require("./Tooltip"), exports);
33
33
  __exportStar(require("./TextArea"), exports);
34
+ __exportStar(require("./DashboardLayout"), exports);
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.4.1-alpha.8",
3
+ "version": "0.5.1",
4
+ "browser": "./src/index.ts",
4
5
  "jest": {
5
6
  "moduleNameMapper": {
6
7
  "^lodash-es$": "lodash"
7
8
  }
8
9
  },
9
10
  "dependencies": {
10
- "@astral/icons": "^0.3.0",
11
+ "@astral/icons": "^0.5.1",
11
12
  "@emotion/cache": "11.7.1",
12
13
  "@emotion/react": "11.5.0",
13
14
  "@emotion/server": "11.4.0",
@@ -34,4 +35,4 @@
34
35
  "types": "./esm/index.d.ts",
35
36
  "main": "./index.js",
36
37
  "module": "./esm/index.js"
37
- }
38
+ }
package/styles/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './styled';
1
+ export { default as styled } from '@emotion/styled';
package/styles/index.js CHANGED
@@ -1,13 +1,8 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11
4
  };
12
5
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./styled"), exports);
6
+ exports.styled = void 0;
7
+ var styled_1 = require("@emotion/styled");
8
+ Object.defineProperty(exports, "styled", { enumerable: true, get: function () { return __importDefault(styled_1).default; } });
@@ -1 +0,0 @@
1
- export * from './styled';
@@ -1 +0,0 @@
1
- export * from './styled';
@@ -1,2 +0,0 @@
1
- import { CreateStyled } from './types';
2
- export declare const styled: CreateStyled;
@@ -1,2 +0,0 @@
1
- import emotionStyled from '@emotion/styled';
2
- export var styled = emotionStyled;
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsOf } from '@emotion/react';
3
- import { CreateStyledComponent, FilteringStyledOptions, StyledOptions } from '@emotion/styled/base';
4
- import { Theme } from '../../theme';
5
- /**
6
- * @desc
7
- * This function accepts a React component or tag ('div', 'a' etc).
8
- *
9
- * @example styled(MyComponent)({ width: 100 })
10
- * @example styled(MyComponent)(myComponentProps => ({ width: myComponentProps.width })
11
- * @example styled('div')({ width: 100 })
12
- * @example styled('div')<Props>(props => ({ width: props.width })
13
- */
14
- interface BaseCreateStyled {
15
- <C extends React.ComponentClass<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
16
- theme?: Theme;
17
- }, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
19
- }>;
20
- <C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
21
- theme?: Theme;
22
- }, {}, {
23
- ref?: React.Ref<InstanceType<C>>;
24
- }>;
25
- <C extends React.ComponentType<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
26
- theme?: Theme;
27
- }>;
28
- <C extends React.ComponentType<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
29
- theme?: Theme;
30
- }>;
31
- <Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] = keyof JSX.IntrinsicElements[Tag]>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps>): CreateStyledComponent<{
32
- theme?: Theme;
33
- as?: React.ElementType;
34
- }, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>>;
35
- <Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]>): CreateStyledComponent<{
36
- theme?: Theme;
37
- as?: React.ElementType;
38
- }, JSX.IntrinsicElements[Tag]>;
39
- }
40
- declare type StyledTags = {
41
- [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<{
42
- theme?: Theme;
43
- as?: React.ElementType;
44
- }, JSX.IntrinsicElements[Tag]>;
45
- };
46
- export interface CreateStyled extends BaseCreateStyled, StyledTags {
47
- }
48
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './styled';
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./styled"), exports);
@@ -1,2 +0,0 @@
1
- import { CreateStyled } from './types';
2
- export declare const styled: CreateStyled;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.styled = void 0;
7
- var styled_1 = __importDefault(require("@emotion/styled"));
8
- exports.styled = styled_1.default;
@@ -1,48 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsOf } from '@emotion/react';
3
- import { CreateStyledComponent, FilteringStyledOptions, StyledOptions } from '@emotion/styled/base';
4
- import { Theme } from '../../theme';
5
- /**
6
- * @desc
7
- * This function accepts a React component or tag ('div', 'a' etc).
8
- *
9
- * @example styled(MyComponent)({ width: 100 })
10
- * @example styled(MyComponent)(myComponentProps => ({ width: myComponentProps.width })
11
- * @example styled('div')({ width: 100 })
12
- * @example styled('div')<Props>(props => ({ width: props.width })
13
- */
14
- interface BaseCreateStyled {
15
- <C extends React.ComponentClass<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
16
- theme?: Theme;
17
- }, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
19
- }>;
20
- <C extends React.ComponentClass<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
21
- theme?: Theme;
22
- }, {}, {
23
- ref?: React.Ref<InstanceType<C>>;
24
- }>;
25
- <C extends React.ComponentType<React.ComponentProps<C>>, ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>>(component: C, options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps>): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & {
26
- theme?: Theme;
27
- }>;
28
- <C extends React.ComponentType<React.ComponentProps<C>>>(component: C, options?: StyledOptions<React.ComponentProps<C>>): CreateStyledComponent<PropsOf<C> & {
29
- theme?: Theme;
30
- }>;
31
- <Tag extends keyof JSX.IntrinsicElements, ForwardedProps extends keyof JSX.IntrinsicElements[Tag] = keyof JSX.IntrinsicElements[Tag]>(tag: Tag, options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps>): CreateStyledComponent<{
32
- theme?: Theme;
33
- as?: React.ElementType;
34
- }, Pick<JSX.IntrinsicElements[Tag], ForwardedProps>>;
35
- <Tag extends keyof JSX.IntrinsicElements>(tag: Tag, options?: StyledOptions<JSX.IntrinsicElements[Tag]>): CreateStyledComponent<{
36
- theme?: Theme;
37
- as?: React.ElementType;
38
- }, JSX.IntrinsicElements[Tag]>;
39
- }
40
- declare type StyledTags = {
41
- [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<{
42
- theme?: Theme;
43
- as?: React.ElementType;
44
- }, JSX.IntrinsicElements[Tag]>;
45
- };
46
- export interface CreateStyled extends BaseCreateStyled, StyledTags {
47
- }
48
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });