@astral/features 4.18.0-rc.0 → 4.18.0-rc.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.
- package/AutoSaveIndicatorService/public.d.ts +2 -0
- package/AutoSaveIndicatorService/public.js +2 -0
- package/node/AutoSaveIndicatorService/public.d.ts +2 -0
- package/node/AutoSaveIndicatorService/public.js +18 -0
- package/node/productSwitcher/components/AstralProductSwitcher/AstralProductSwitcher.d.ts +2 -1
- package/node/productSwitcher/components/AstralProductSwitcher/public.d.ts +2 -0
- package/node/productSwitcher/components/AstralProductSwitcher/public.js +18 -0
- package/node/productSwitcher/components/AstralProductSwitcher/stories/BasicUsage.story.d.ts +2 -1
- package/node/productSwitcher/components/AstralProductSwitcher/stories/Group.story.d.ts +2 -1
- package/node/productSwitcher/components/AstralProductSwitcher/stories/Tenant.story.d.ts +2 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/IdentityProductSwitcher.d.ts +2 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/public.d.ts +1 -0
- package/node/productSwitcher/components/IdentityProductSwitcher/public.js +17 -0
- package/node/productSwitcher/components/IdentityProductSwitcher/stories/BasicUsage.story.d.ts +2 -1
- package/node/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +3 -3
- package/package.json +7 -7
- package/productSwitcher/components/AstralProductSwitcher/AstralProductSwitcher.d.ts +2 -1
- package/productSwitcher/components/AstralProductSwitcher/public.d.ts +2 -0
- package/productSwitcher/components/AstralProductSwitcher/public.js +2 -0
- package/productSwitcher/components/AstralProductSwitcher/stories/BasicUsage.story.d.ts +2 -1
- package/productSwitcher/components/AstralProductSwitcher/stories/Group.story.d.ts +2 -1
- package/productSwitcher/components/AstralProductSwitcher/stories/Tenant.story.d.ts +2 -1
- package/productSwitcher/components/IdentityProductSwitcher/IdentityProductSwitcher.d.ts +2 -1
- package/productSwitcher/components/IdentityProductSwitcher/public.d.ts +1 -0
- package/productSwitcher/components/IdentityProductSwitcher/public.js +1 -0
- package/productSwitcher/components/IdentityProductSwitcher/stories/BasicUsage.story.d.ts +2 -1
- package/productSwitcher/components/IdentityProductSwitcher/styles.d.ts +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./hooks/useInitAutoSaveIndicatorStore"), exports);
|
|
18
|
+
__exportStar(require("./stores/AutoSaveIndicatorStore"), exports);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type ProductSwitcherProps } from '@astral/ui';
|
|
2
3
|
import { ProductFilterType } from './enums';
|
|
3
4
|
export type AstralProductSwitcherType = {
|
|
@@ -14,4 +15,4 @@ export type AstralProductSwitcherType = {
|
|
|
14
15
|
*/
|
|
15
16
|
filter?: ProductSwitcherProps['filter'];
|
|
16
17
|
};
|
|
17
|
-
export declare const AstralProductSwitcher: ({ identityUrl, filterBy, code, filter, }: AstralProductSwitcherType) =>
|
|
18
|
+
export declare const AstralProductSwitcher: ({ identityUrl, filterBy, code, filter, }: AstralProductSwitcherType) => JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AstralProductSwitcher"), exports);
|
|
18
|
+
__exportStar(require("./enums"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
|
-
export declare const BasicUsage: () =>
|
|
5
|
+
export declare const BasicUsage: () => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
5
|
/**
|
|
5
6
|
* Чтобы получить список продуктов, отфильтрованных по группам, необходимо указать параметр ```filterBy``` в значение ```group``` и указать параметр ```code```, равный ```коду вашей группы```
|
|
6
7
|
*/
|
|
7
|
-
export declare const Group: () =>
|
|
8
|
+
export declare const Group: () => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
5
|
/**
|
|
5
6
|
* Чтобы получить список продуктов, отфильтрованных по экосистемам, необходимо указать параметр ```filterBy``` в значение ```tenant``` и указать параметр ```code```, равный ```коду вашей экосистемы```
|
|
6
7
|
*/
|
|
7
|
-
export declare const Tenant: () =>
|
|
8
|
+
export declare const Tenant: () => JSX.Element;
|
package/node/productSwitcher/components/IdentityProductSwitcher/IdentityProductSwitcher.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ASTRAL_IDENTITY_DEFAULT_TENANT = "astral";
|
|
2
3
|
export type IdentityProductSwitcherType = {
|
|
3
4
|
/**
|
|
@@ -5,4 +6,4 @@ export type IdentityProductSwitcherType = {
|
|
|
5
6
|
* */
|
|
6
7
|
identityUrl: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const IdentityProductSwitcher: ({ identityUrl, }: IdentityProductSwitcherType) =>
|
|
9
|
+
export declare const IdentityProductSwitcher: ({ identityUrl, }: IdentityProductSwitcherType) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IdentityProductSwitcher"), exports);
|
package/node/productSwitcher/components/IdentityProductSwitcher/stories/BasicUsage.story.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
|
-
export declare const BasicUsage: () =>
|
|
5
|
+
export declare const BasicUsage: () => JSX.Element;
|
|
@@ -4,16 +4,16 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
|
|
|
4
4
|
} & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
|
-
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<
|
|
7
|
+
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
|
|
8
8
|
disabledReason?: string | undefined;
|
|
9
9
|
note?: string | undefined;
|
|
10
10
|
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
11
11
|
component?: TComponent | undefined;
|
|
12
12
|
href?: string | undefined;
|
|
13
|
-
} & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<
|
|
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
14
|
export declare const Logo: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
17
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
18
18
|
export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/features",
|
|
3
3
|
"main": "./node/index.js",
|
|
4
|
-
"version": "4.18.0-rc.
|
|
4
|
+
"version": "4.18.0-rc.1",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@astral/ui": "4.18.0-rc.
|
|
7
|
-
"mobx": "6.
|
|
8
|
-
"mobx-react-lite": "4.
|
|
6
|
+
"@astral/ui": "4.18.0-rc.1",
|
|
7
|
+
"mobx": "^6.8.0",
|
|
8
|
+
"mobx-react-lite": "^3.4.0",
|
|
9
9
|
"@astral/cryptopro-cades": "^1.5.1"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"react": "^17.0.0 || ^18.0.0
|
|
13
|
-
"react-dom": "^17.0.0 || ^18.0.0
|
|
14
|
-
"@types/react": "^17.0.0 || ^18.0.0
|
|
12
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
13
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
14
|
+
"@types/react": "^17.0.0 || ^18.0.0"
|
|
15
15
|
},
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type ProductSwitcherProps } from '@astral/ui';
|
|
2
3
|
import { ProductFilterType } from './enums';
|
|
3
4
|
export type AstralProductSwitcherType = {
|
|
@@ -14,4 +15,4 @@ export type AstralProductSwitcherType = {
|
|
|
14
15
|
*/
|
|
15
16
|
filter?: ProductSwitcherProps['filter'];
|
|
16
17
|
};
|
|
17
|
-
export declare const AstralProductSwitcher: ({ identityUrl, filterBy, code, filter, }: AstralProductSwitcherType) =>
|
|
18
|
+
export declare const AstralProductSwitcher: ({ identityUrl, filterBy, code, filter, }: AstralProductSwitcherType) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
|
-
export declare const BasicUsage: () =>
|
|
5
|
+
export declare const BasicUsage: () => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
5
|
/**
|
|
5
6
|
* Чтобы получить список продуктов, отфильтрованных по группам, необходимо указать параметр ```filterBy``` в значение ```group``` и указать параметр ```code```, равный ```коду вашей группы```
|
|
6
7
|
*/
|
|
7
|
-
export declare const Group: () =>
|
|
8
|
+
export declare const Group: () => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
5
|
/**
|
|
5
6
|
* Чтобы получить список продуктов, отфильтрованных по экосистемам, необходимо указать параметр ```filterBy``` в значение ```tenant``` и указать параметр ```code```, равный ```коду вашей экосистемы```
|
|
6
7
|
*/
|
|
7
|
-
export declare const Tenant: () =>
|
|
8
|
+
export declare const Tenant: () => JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ASTRAL_IDENTITY_DEFAULT_TENANT = "astral";
|
|
2
3
|
export type IdentityProductSwitcherType = {
|
|
3
4
|
/**
|
|
@@ -5,4 +6,4 @@ export type IdentityProductSwitcherType = {
|
|
|
5
6
|
* */
|
|
6
7
|
identityUrl: string;
|
|
7
8
|
};
|
|
8
|
-
export declare const IdentityProductSwitcher: ({ identityUrl, }: IdentityProductSwitcherType) =>
|
|
9
|
+
export declare const IdentityProductSwitcher: ({ identityUrl, }: IdentityProductSwitcherType) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IdentityProductSwitcher';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { type Meta } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: Meta;
|
|
3
4
|
export default meta;
|
|
4
|
-
export declare const BasicUsage: () =>
|
|
5
|
+
export declare const BasicUsage: () => JSX.Element;
|
|
@@ -4,16 +4,16 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
|
|
|
4
4
|
} & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
|
-
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<
|
|
7
|
+
export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
|
|
8
8
|
disabledReason?: string | undefined;
|
|
9
9
|
note?: string | undefined;
|
|
10
10
|
tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
|
|
11
11
|
component?: TComponent | undefined;
|
|
12
12
|
href?: string | undefined;
|
|
13
|
-
} & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<
|
|
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
14
|
export declare const Logo: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
17
|
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
18
18
|
export declare const ErrorContainer: import("@emotion/styled").StyledComponent<Omit<import("@astral/ui/src/components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|