@astral/features 4.18.0-rc.1 → 4.18.0-rc.2

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.
@@ -1,26 +1,11 @@
1
- /// <reference types="react" />
2
- export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuProps> & {
3
- title?: string | undefined;
4
- } & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- }, {}, {}>;
7
- export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
8
- disabledReason?: string | undefined;
9
- note?: string | undefined;
10
- tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
11
- component?: TComponent | undefined;
12
- href?: string | undefined;
13
- } & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
14
- export declare const Logo: import("@emotion/styled").StyledComponent<{
1
+ import { Grid, MenuItem, type StyledComponent, ToggleButton, ToggleButtonGroup } from '@astral/ui';
2
+ import type { ComponentProps } from 'react';
3
+ export declare const StyledMenu: ({ children, onClose, open, title, ...restProps }: import("@astral/ui").MenuProps) => JSX.Element;
4
+ export declare const StyledMenuItem: typeof MenuItem;
5
+ export declare const Logo: StyledComponent<{
15
6
  theme?: import("@emotion/react").Theme | undefined;
16
7
  as?: import("react").ElementType<any> | undefined;
17
8
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
18
- export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- } & import("@astral/ui/src/components/Grid/styles").StyledGridProps, {}, {}>;
21
- export declare const TenantsToggleButtonGroup: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui").ToggleButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- }, {}, {}>;
24
- export declare const TenantToggleButton: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/ToggleButton/types").ToggleButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
25
- theme?: import("@emotion/react").Theme | undefined;
26
- }, {}, {}>;
9
+ export declare const ErrorContainer: StyledComponent<ComponentProps<typeof Grid>>;
10
+ export declare const TenantsToggleButtonGroup: StyledComponent<ComponentProps<typeof ToggleButtonGroup>>;
11
+ export declare const TenantToggleButton: StyledComponent<ComponentProps<typeof ToggleButton>>;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@astral/features",
3
3
  "main": "./node/index.js",
4
- "version": "4.18.0-rc.1",
4
+ "version": "4.18.0-rc.2",
5
5
  "dependencies": {
6
- "@astral/ui": "4.18.0-rc.1",
6
+ "@astral/ui": "4.18.0-rc.2",
7
7
  "mobx": "^6.8.0",
8
8
  "mobx-react-lite": "^3.4.0",
9
9
  "@astral/cryptopro-cades": "^1.5.1"
@@ -20,6 +20,13 @@
20
20
  "types": "./index.d.ts",
21
21
  "default": "./index.js",
22
22
  "import": "./index.js"
23
+ },
24
+ "./*": {
25
+ "module": "./*/public.js",
26
+ "require": "./node/*/public.js",
27
+ "types": "./*/public.d.ts",
28
+ "default": "./*/public.js",
29
+ "import": "./*/public.js"
23
30
  }
24
31
  },
25
32
  "author": "Astral.Soft",
@@ -1,26 +1,11 @@
1
- /// <reference types="react" />
2
- export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuProps> & {
3
- title?: string | undefined;
4
- } & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- }, {}, {}>;
7
- export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
8
- disabledReason?: string | undefined;
9
- note?: string | undefined;
10
- tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
11
- component?: TComponent | undefined;
12
- href?: string | undefined;
13
- } & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
14
- export declare const Logo: import("@emotion/styled").StyledComponent<{
1
+ import { Grid, MenuItem, type StyledComponent, ToggleButton, ToggleButtonGroup } from '@astral/ui';
2
+ import type { ComponentProps } from 'react';
3
+ export declare const StyledMenu: ({ children, onClose, open, title, ...restProps }: import("@astral/ui").MenuProps) => JSX.Element;
4
+ export declare const StyledMenuItem: typeof MenuItem;
5
+ export declare const Logo: StyledComponent<{
15
6
  theme?: import("@emotion/react").Theme | undefined;
16
7
  as?: import("react").ElementType<any> | undefined;
17
8
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
18
- export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- } & import("@astral/ui/src/components/Grid/styles").StyledGridProps, {}, {}>;
21
- export declare const TenantsToggleButtonGroup: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui").ToggleButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- }, {}, {}>;
24
- export declare const TenantToggleButton: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/ToggleButton/types").ToggleButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
25
- theme?: import("@emotion/react").Theme | undefined;
26
- }, {}, {}>;
9
+ export declare const ErrorContainer: StyledComponent<ComponentProps<typeof Grid>>;
10
+ export declare const TenantsToggleButtonGroup: StyledComponent<ComponentProps<typeof ToggleButtonGroup>>;
11
+ export declare const TenantToggleButton: StyledComponent<ComponentProps<typeof ToggleButton>>;