@webiny/app-admin 0.0.0-unstable.e53eceafb5 → 0.0.0-unstable.eb196ccd2f
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/base/ui/Layout.d.ts +2 -0
- package/base/ui/Layout.js.map +1 -1
- package/base/ui/LoginScreen.d.ts +1 -0
- package/base/ui/LoginScreen.js +12 -2
- package/base/ui/LoginScreen.js.map +1 -1
- package/base/ui/Navigation.d.ts +1 -0
- package/base/ui/Navigation.js +12 -1
- package/base/ui/Navigation.js.map +1 -1
- package/components/IconPicker/config/index.d.ts +1 -1
- package/components/IconPicker/config/index.js.map +1 -1
- package/components/OverlayLayout/components/OverlayHeader.d.ts +1 -1
- package/components/ResizablePanels/index.d.ts +1 -1
- package/components/ResizablePanels/index.js +1 -1
- package/components/ResizablePanels/index.js.map +1 -1
- package/components/SimpleForm/SimpleForm.d.ts +1 -1
- package/index.d.ts +3 -3
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/package.json +22 -22
package/base/ui/Layout.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface LayoutProps {
|
|
3
3
|
title?: string;
|
|
4
|
+
startElement?: React.ReactNode;
|
|
5
|
+
hideNavigation?: boolean;
|
|
4
6
|
children: React.ReactNode;
|
|
5
7
|
}
|
|
6
8
|
export declare const Layout: (({ children, ...props }: LayoutProps) => React.JSX.Element) & {
|
package/base/ui/Layout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Layout","children","props","createElement","LayoutRenderer"],"sources":["Layout.tsx"],"sourcesContent":["import React from \"react\";\nimport { createVoidComponent, makeDecoratable } from \"@webiny/app\";\n\nexport interface LayoutProps {\n title?: string;\n children: React.ReactNode;\n}\n\nexport const Layout = makeDecoratable(\"Layout\", ({ children, ...props }: LayoutProps) => {\n return <LayoutRenderer {...props}>{children}</LayoutRenderer>;\n});\n\nexport const LayoutRenderer = makeDecoratable(\"LayoutRenderer\", createVoidComponent<LayoutProps>());\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,EAAEC,eAAe,QAAQ,aAAa;
|
|
1
|
+
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Layout","children","props","createElement","LayoutRenderer"],"sources":["Layout.tsx"],"sourcesContent":["import React from \"react\";\nimport { createVoidComponent, makeDecoratable } from \"@webiny/app\";\n\nexport interface LayoutProps {\n title?: string;\n startElement?: React.ReactNode;\n hideNavigation?: boolean;\n children: React.ReactNode;\n}\n\nexport const Layout = makeDecoratable(\"Layout\", ({ children, ...props }: LayoutProps) => {\n return <LayoutRenderer {...props}>{children}</LayoutRenderer>;\n});\n\nexport const LayoutRenderer = makeDecoratable(\"LayoutRenderer\", createVoidComponent<LayoutProps>());\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,EAAEC,eAAe,QAAQ,aAAa;AASlE,OAAO,MAAMC,MAAM,GAAGD,eAAe,CAAC,QAAQ,EAAE,CAAC;EAAEE,QAAQ;EAAE,GAAGC;AAAmB,CAAC,KAAK;EACrF,oBAAOL,KAAA,CAAAM,aAAA,CAACC,cAAc,EAAKF,KAAK,EAAGD,QAAyB,CAAC;AACjE,CAAC,CAAC;AAEF,OAAO,MAAMG,cAAc,GAAGL,eAAe,CAAC,gBAAgB,EAAED,mBAAmB,CAAc,CAAC,CAAC","ignoreList":[]}
|
package/base/ui/LoginScreen.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
export interface LoginScreenProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
+
export declare const useIsInLoginScreen: () => boolean;
|
|
5
6
|
export declare const LoginScreen: ({ children }: LoginScreenProps) => React.JSX.Element;
|
|
6
7
|
export declare const LoginScreenRenderer: ((props: LoginScreenProps) => JSX.Element | null) & {
|
|
7
8
|
original: (props: LoginScreenProps) => JSX.Element | null;
|
package/base/ui/LoginScreen.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createVoidComponent, makeDecoratable } from "@webiny/app";
|
|
3
|
-
import { Tags } from "./Tags";
|
|
3
|
+
import { Tags, useTags } from "./Tags";
|
|
4
|
+
export const useIsInLoginScreen = () => {
|
|
5
|
+
const {
|
|
6
|
+
location
|
|
7
|
+
} = useTags();
|
|
8
|
+
return location === "loginScreen";
|
|
9
|
+
};
|
|
4
10
|
export const LoginScreen = ({
|
|
5
11
|
children
|
|
6
12
|
}) => {
|
|
@@ -8,7 +14,11 @@ export const LoginScreen = ({
|
|
|
8
14
|
tags: {
|
|
9
15
|
location: "loginScreen"
|
|
10
16
|
}
|
|
11
|
-
}, /*#__PURE__*/React.createElement(LoginScreenRenderer, null,
|
|
17
|
+
}, /*#__PURE__*/React.createElement(LoginScreenRenderer, null, /*#__PURE__*/React.createElement(Tags, {
|
|
18
|
+
tags: {
|
|
19
|
+
location: "loggedIn"
|
|
20
|
+
}
|
|
21
|
+
}, children)));
|
|
12
22
|
};
|
|
13
23
|
export const LoginScreenRenderer = makeDecoratable("LoginScreenRenderer", createVoidComponent());
|
|
14
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Tags","LoginScreen","children","createElement","tags","
|
|
1
|
+
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Tags","useTags","useIsInLoginScreen","location","LoginScreen","children","createElement","tags","LoginScreenRenderer"],"sources":["LoginScreen.tsx"],"sourcesContent":["import React from \"react\";\nimport { createVoidComponent, makeDecoratable } from \"@webiny/app\";\nimport { Tags, useTags } from \"./Tags\";\n\nexport interface LoginScreenProps {\n children: React.ReactNode;\n}\n\nexport const useIsInLoginScreen = () => {\n const { location } = useTags();\n return location === \"loginScreen\";\n};\n\nexport const LoginScreen = ({ children }: LoginScreenProps) => {\n return (\n <Tags tags={{ location: \"loginScreen\" }}>\n <LoginScreenRenderer>\n <Tags tags={{ location: \"loggedIn\" }}>{children}</Tags>\n </LoginScreenRenderer>\n </Tags>\n );\n};\n\nexport const LoginScreenRenderer = makeDecoratable(\n \"LoginScreenRenderer\",\n createVoidComponent<LoginScreenProps>()\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,EAAEC,eAAe,QAAQ,aAAa;AAClE,SAASC,IAAI,EAAEC,OAAO;AAMtB,OAAO,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;EACpC,MAAM;IAAEC;EAAS,CAAC,GAAGF,OAAO,CAAC,CAAC;EAC9B,OAAOE,QAAQ,KAAK,aAAa;AACrC,CAAC;AAED,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAA2B,CAAC,KAAK;EAC3D,oBACIR,KAAA,CAAAS,aAAA,CAACN,IAAI;IAACO,IAAI,EAAE;MAAEJ,QAAQ,EAAE;IAAc;EAAE,gBACpCN,KAAA,CAAAS,aAAA,CAACE,mBAAmB,qBAChBX,KAAA,CAAAS,aAAA,CAACN,IAAI;IAACO,IAAI,EAAE;MAAEJ,QAAQ,EAAE;IAAW;EAAE,GAAEE,QAAe,CACrC,CACnB,CAAC;AAEf,CAAC;AAED,OAAO,MAAMG,mBAAmB,GAAGT,eAAe,CAC9C,qBAAqB,EACrBD,mBAAmB,CAAmB,CAC1C,CAAC","ignoreList":[]}
|
package/base/ui/Navigation.d.ts
CHANGED
package/base/ui/Navigation.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { createVoidComponent, makeDecoratable } from "@webiny/app";
|
|
3
|
+
import { Tags, useTags } from "./Tags";
|
|
4
|
+
export const useIsInNavigation = () => {
|
|
5
|
+
const {
|
|
6
|
+
location
|
|
7
|
+
} = useTags();
|
|
8
|
+
return location === "navigation";
|
|
9
|
+
};
|
|
3
10
|
export const Navigation = makeDecoratable("Navigation", () => {
|
|
4
|
-
return /*#__PURE__*/React.createElement(
|
|
11
|
+
return /*#__PURE__*/React.createElement(Tags, {
|
|
12
|
+
tags: {
|
|
13
|
+
location: "navigation"
|
|
14
|
+
}
|
|
15
|
+
}, /*#__PURE__*/React.createElement(NavigationRenderer, null));
|
|
5
16
|
});
|
|
6
17
|
export const NavigationRenderer = makeDecoratable("NavigationRenderer", createVoidComponent());
|
|
7
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Navigation","createElement","NavigationRenderer"],"sources":["Navigation.tsx"],"sourcesContent":["import React from \"react\";\nimport { createVoidComponent, makeDecoratable } from \"@webiny/app\";\n\nexport const Navigation = makeDecoratable(\"Navigation\", () => {\n return <NavigationRenderer
|
|
1
|
+
{"version":3,"names":["React","createVoidComponent","makeDecoratable","Tags","useTags","useIsInNavigation","location","Navigation","createElement","tags","NavigationRenderer"],"sources":["Navigation.tsx"],"sourcesContent":["import React from \"react\";\nimport { createVoidComponent, makeDecoratable } from \"@webiny/app\";\nimport { Tags, useTags } from \"~/base/ui/Tags\";\n\nexport const useIsInNavigation = () => {\n const { location } = useTags();\n return location === \"navigation\";\n};\n\nexport const Navigation = makeDecoratable(\"Navigation\", () => {\n return (\n <Tags tags={{ location: \"navigation\" }}>\n <NavigationRenderer />\n </Tags>\n );\n});\n\nexport const NavigationRenderer = makeDecoratable(\"NavigationRenderer\", createVoidComponent());\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,EAAEC,eAAe,QAAQ,aAAa;AAClE,SAASC,IAAI,EAAEC,OAAO;AAEtB,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACnC,MAAM;IAAEC;EAAS,CAAC,GAAGF,OAAO,CAAC,CAAC;EAC9B,OAAOE,QAAQ,KAAK,YAAY;AACpC,CAAC;AAED,OAAO,MAAMC,UAAU,GAAGL,eAAe,CAAC,YAAY,EAAE,MAAM;EAC1D,oBACIF,KAAA,CAAAQ,aAAA,CAACL,IAAI;IAACM,IAAI,EAAE;MAAEH,QAAQ,EAAE;IAAa;EAAE,gBACnCN,KAAA,CAAAQ,aAAA,CAACE,kBAAkB,MAAE,CACnB,CAAC;AAEf,CAAC,CAAC;AAEF,OAAO,MAAMA,kBAAkB,GAAGR,eAAe,CAAC,oBAAoB,EAAED,mBAAmB,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -13,7 +13,7 @@ export interface IconPackLoader {
|
|
|
13
13
|
interface IconTypeInterface {
|
|
14
14
|
name: string;
|
|
15
15
|
}
|
|
16
|
-
export { IconTypeInterface as IconType };
|
|
16
|
+
export type { IconTypeInterface as IconType };
|
|
17
17
|
export interface IconPackProviderInterface {
|
|
18
18
|
name: string;
|
|
19
19
|
getIcons(): Promise<Icon[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","createConfigurableComponent","IconPackProvider","IconPack","IconType","SimpleIconPlugin","EmojiPlugin","CustomIconPlugin","createProvider","Emojis","FontAwesomeIcons","base","IconPickerConfig","Object","assign","Config","IconPickerWithConfig","WithConfig","IconPickerConfigProvider","Original","children","createElement","constructor","name","loader","getIcons","useIconPickerConfig","config","useConfig","iconPackProviders","iconTypes","map","provider","load","DefaultIcons","Fragment"],"sources":["index.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { createConfigurableComponent } from \"@webiny/react-properties\";\nimport { IconPackProvider as IconPack } from \"./IconPackProvider\";\nimport { IconType } from \"./IconType\";\nimport { SimpleIconPlugin } from \"../plugins/iconsPlugin\";\nimport { EmojiPlugin } from \"../plugins/emojisPlugin\";\nimport { CustomIconPlugin } from \"../plugins/customPlugin\";\nimport type { Icon } from \"../types\";\nimport { createProvider } from \"@webiny/app\";\nimport { Emojis } from \"./Emojis\";\nimport { FontAwesomeIcons } from \"./FontAwesomeIcons\";\n\nconst base = createConfigurableComponent<IconPickerConfig>(\"IconPicker\");\n\nexport const IconPickerConfig = Object.assign(base.Config, { IconPack, IconType });\nexport const IconPickerWithConfig = base.WithConfig;\n\nexport const IconPickerConfigProvider = createProvider(Original => {\n return function IconPickerConfigProvider({ children }) {\n return (\n <IconPickerWithConfig>\n <Original>{children}</Original>\n </IconPickerWithConfig>\n );\n };\n});\n\nexport interface IconPackLoader {\n (): Promise<Icon[]>;\n}\n\ninterface IconTypeInterface {\n name: string;\n}\n\nexport { IconTypeInterface as IconType };\n\ninterface IconPickerConfig {\n iconTypes: IconTypeInterface[];\n iconPackProviders: {\n name: string;\n load: IconPackLoader;\n }[];\n}\n\nexport interface IconPackProviderInterface {\n name: string;\n getIcons(): Promise<Icon[]>;\n}\n\nclass IconPackProvider implements IconPackProviderInterface {\n public readonly name: string;\n private readonly loader: IconPackLoader;\n\n constructor(name: string, loader: IconPackLoader) {\n this.name = name;\n this.loader = loader;\n }\n\n getIcons(): Promise<Icon[]> {\n return this.loader();\n }\n}\n\nexport function useIconPickerConfig() {\n const config = base.useConfig();\n\n const iconPackProviders = config.iconPackProviders || [];\n\n return useMemo(\n () => ({\n iconTypes: config.iconTypes || [],\n iconPackProviders: iconPackProviders.map(\n provider => new IconPackProvider(provider.name, provider.load)\n )\n }),\n [config]\n );\n}\n\nexport const DefaultIcons = () => {\n return (\n <>\n <SimpleIconPlugin />\n <EmojiPlugin />\n <CustomIconPlugin />\n <Emojis />\n <FontAwesomeIcons />\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,2BAA2B,QAAQ,0BAA0B;AACtE,SAASC,gBAAgB,IAAIC,QAAQ;AACrC,SAASC,QAAQ;AACjB,SAASC,gBAAgB;AACzB,SAASC,WAAW;AACpB,SAASC,gBAAgB;AAEzB,SAASC,cAAc,QAAQ,aAAa;AAC5C,SAASC,MAAM;AACf,SAASC,gBAAgB;AAEzB,MAAMC,IAAI,GAAGV,2BAA2B,CAAmB,YAAY,CAAC;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,qBACIpC,KAAA,CAAAsB,aAAA,CAAChB,gBAAgB,MAAE,CAAC,eACpBN,KAAA,CAAAsB,aAAA,CAACf,WAAW,MAAE,CAAC,eACfP,KAAA,CAAAsB,aAAA,CAACd,gBAAgB,MAAE,CAAC,eACpBR,KAAA,CAAAsB,aAAA,CAACZ,MAAM,MAAE,CAAC,eACVV,KAAA,CAAAsB,aAAA,CAACX,gBAAgB,MAAE,CACrB,CAAC;AAEX,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","useMemo","createConfigurableComponent","IconPackProvider","IconPack","IconType","SimpleIconPlugin","EmojiPlugin","CustomIconPlugin","createProvider","Emojis","FontAwesomeIcons","base","IconPickerConfig","Object","assign","Config","IconPickerWithConfig","WithConfig","IconPickerConfigProvider","Original","children","createElement","constructor","name","loader","getIcons","useIconPickerConfig","config","useConfig","iconPackProviders","iconTypes","map","provider","load","DefaultIcons","Fragment"],"sources":["index.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { createConfigurableComponent } from \"@webiny/react-properties\";\nimport { IconPackProvider as IconPack } from \"./IconPackProvider\";\nimport { IconType } from \"./IconType\";\nimport { SimpleIconPlugin } from \"../plugins/iconsPlugin\";\nimport { EmojiPlugin } from \"../plugins/emojisPlugin\";\nimport { CustomIconPlugin } from \"../plugins/customPlugin\";\nimport type { Icon } from \"../types\";\nimport { createProvider } from \"@webiny/app\";\nimport { Emojis } from \"./Emojis\";\nimport { FontAwesomeIcons } from \"./FontAwesomeIcons\";\n\nconst base = createConfigurableComponent<IconPickerConfig>(\"IconPicker\");\n\nexport const IconPickerConfig = Object.assign(base.Config, { IconPack, IconType });\nexport const IconPickerWithConfig = base.WithConfig;\n\nexport const IconPickerConfigProvider = createProvider(Original => {\n return function IconPickerConfigProvider({ children }) {\n return (\n <IconPickerWithConfig>\n <Original>{children}</Original>\n </IconPickerWithConfig>\n );\n };\n});\n\nexport interface IconPackLoader {\n (): Promise<Icon[]>;\n}\n\ninterface IconTypeInterface {\n name: string;\n}\n\nexport type { IconTypeInterface as IconType };\n\ninterface IconPickerConfig {\n iconTypes: IconTypeInterface[];\n iconPackProviders: {\n name: string;\n load: IconPackLoader;\n }[];\n}\n\nexport interface IconPackProviderInterface {\n name: string;\n getIcons(): Promise<Icon[]>;\n}\n\nclass IconPackProvider implements IconPackProviderInterface {\n public readonly name: string;\n private readonly loader: IconPackLoader;\n\n constructor(name: string, loader: IconPackLoader) {\n this.name = name;\n this.loader = loader;\n }\n\n getIcons(): Promise<Icon[]> {\n return this.loader();\n }\n}\n\nexport function useIconPickerConfig() {\n const config = base.useConfig();\n\n const iconPackProviders = config.iconPackProviders || [];\n\n return useMemo(\n () => ({\n iconTypes: config.iconTypes || [],\n iconPackProviders: iconPackProviders.map(\n provider => new IconPackProvider(provider.name, provider.load)\n )\n }),\n [config]\n );\n}\n\nexport const DefaultIcons = () => {\n return (\n <>\n <SimpleIconPlugin />\n <EmojiPlugin />\n <CustomIconPlugin />\n <Emojis />\n <FontAwesomeIcons />\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,2BAA2B,QAAQ,0BAA0B;AACtE,SAASC,gBAAgB,IAAIC,QAAQ;AACrC,SAASC,QAAQ;AACjB,SAASC,gBAAgB;AACzB,SAASC,WAAW;AACpB,SAASC,gBAAgB;AAEzB,SAASC,cAAc,QAAQ,aAAa;AAC5C,SAASC,MAAM;AACf,SAASC,gBAAgB;AAEzB,MAAMC,IAAI,GAAGV,2BAA2B,CAAmB,YAAY,CAAC;AAExE,OAAO,MAAMW,gBAAgB,GAAGC,MAAM,CAACC,MAAM,CAACH,IAAI,CAACI,MAAM,EAAE;EAAEZ,QAAQ;EAAEC;AAAS,CAAC,CAAC;AAClF,OAAO,MAAMY,oBAAoB,GAAGL,IAAI,CAACM,UAAU;AAEnD,OAAO,MAAMC,wBAAwB,GAAGV,cAAc,CAACW,QAAQ,IAAI;EAC/D,OAAO,SAASD,wB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E,CACrB,CAAC;AAEX,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type VariantProps } from "@webiny/admin-ui";
|
|
3
3
|
declare const overlayHeaderVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "strong" | "default" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
6
|
interface OverlayHeaderProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof overlayHeaderVariants> {
|
|
7
7
|
start?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Panel, PanelProps, PanelGroup, PanelGroupProps, PanelResizeHandle, PanelResizeHandleProps } from "react-resizable-panels";
|
|
1
|
+
export { Panel, type PanelProps, PanelGroup, type PanelGroupProps, PanelResizeHandle, type PanelResizeHandleProps } from "react-resizable-panels";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Panel","
|
|
1
|
+
{"version":3,"names":["Panel","PanelGroup","PanelResizeHandle"],"sources":["index.tsx"],"sourcesContent":["export {\n Panel,\n type PanelProps,\n PanelGroup,\n type PanelGroupProps,\n PanelResizeHandle,\n type PanelResizeHandleProps\n} from \"react-resizable-panels\";\n"],"mappings":"AAAA,SACIA,KAAK,EAELC,UAAU,EAEVC,iBAAiB,QAEd,wBAAwB","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type VariantProps } from "@webiny/admin-ui";
|
|
3
3
|
declare const simpleFormInnerVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "md" | "lg" | "full" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
6
|
interface SimpleFormProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof simpleFormInnerVariants> {
|
|
7
7
|
children: React.ReactNode;
|
package/index.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export * from "./components/OptionsMenu";
|
|
|
27
27
|
export * from "./components/Filters";
|
|
28
28
|
export * from "./components/BulkActions";
|
|
29
29
|
export * from "./components/ResizablePanels";
|
|
30
|
-
export { OverlayLayout, OverlayLayoutProps } from "./components/OverlayLayout";
|
|
31
|
-
export { default as SingleImageUpload, SingleImageUploadProps } from "./components/SingleImageUpload";
|
|
30
|
+
export { OverlayLayout, type OverlayLayoutProps } from "./components/OverlayLayout";
|
|
31
|
+
export { default as SingleImageUpload, type SingleImageUploadProps } from "./components/SingleImageUpload";
|
|
32
32
|
export { LexicalEditor } from "./components/LexicalEditor/LexicalEditor";
|
|
33
33
|
export { Wcp } from "./components/Wcp";
|
|
34
34
|
export * from "./components/IconPicker";
|
|
@@ -36,7 +36,7 @@ export { FileManager, FileManagerRenderer } from "./base/ui/FileManager";
|
|
|
36
36
|
export type { FileManagerProps, FileManagerRendererProps, FileManagerFileItem, FileManagerOnChange } from "./base/ui/FileManager";
|
|
37
37
|
export * from "./hooks";
|
|
38
38
|
export { useWcp } from "@webiny/app-wcp";
|
|
39
|
-
export { AaclPermission } from "@webiny/app-wcp/types";
|
|
39
|
+
export type { AaclPermission } from "@webiny/app-wcp/types";
|
|
40
40
|
export { useTheme, ThemeProvider } from "@webiny/app-theme";
|
|
41
41
|
export * from "@webiny/app/renderApp";
|
|
42
42
|
export * from "@webiny/app/utils/getApiUrl";
|
package/index.js
CHANGED
|
@@ -29,8 +29,8 @@ export * from "./components/OptionsMenu";
|
|
|
29
29
|
export * from "./components/Filters";
|
|
30
30
|
export * from "./components/BulkActions";
|
|
31
31
|
export * from "./components/ResizablePanels";
|
|
32
|
-
export { OverlayLayout
|
|
33
|
-
export { default as SingleImageUpload
|
|
32
|
+
export { OverlayLayout } from "./components/OverlayLayout";
|
|
33
|
+
export { default as SingleImageUpload } from "./components/SingleImageUpload";
|
|
34
34
|
export { LexicalEditor } from "./components/LexicalEditor/LexicalEditor";
|
|
35
35
|
export { Wcp } from "./components/Wcp";
|
|
36
36
|
export * from "./components/IconPicker";
|
|
@@ -38,8 +38,6 @@ export { FileManager, FileManagerRenderer } from "./base/ui/FileManager";
|
|
|
38
38
|
// Hooks
|
|
39
39
|
export * from "./hooks";
|
|
40
40
|
export { useWcp } from "@webiny/app-wcp";
|
|
41
|
-
export { AaclPermission } from "@webiny/app-wcp/types";
|
|
42
|
-
|
|
43
41
|
// Theme
|
|
44
42
|
export { useTheme, ThemeProvider } from "@webiny/app-theme";
|
|
45
43
|
export * from "@webiny/app/renderApp";
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Admin","useViewComposition","AppInstaller","DialogsProvider","OverlayLayout","
|
|
1
|
+
{"version":3,"names":["Admin","useViewComposition","AppInstaller","DialogsProvider","OverlayLayout","default","SingleImageUpload","LexicalEditor","Wcp","FileManager","FileManagerRenderer","useWcp","useTheme","ThemeProvider"],"sources":["index.ts"],"sourcesContent":["export * from \"@webiny/app\";\nexport type { HigherOrderComponent, ProviderProps, ComposeProps } from \"@webiny/app\";\n// UI components\nexport * from \"./base/ui/Tags\";\nexport * from \"./base/ui/Layout\";\nexport * from \"./base/ui/LocaleSelector\";\nexport * from \"./base/ui/TenantSelector\";\nexport type { LayoutProps } from \"./base/ui/Layout\";\nexport * from \"./base/ui/Navigation\";\nexport * from \"./base/ui/Brand\";\nexport * from \"./base/ui/Logo\";\nexport * from \"./base/ui/UserMenu\";\nexport * from \"./base/ui/LoginScreen\";\nexport * from \"./base/ui/CenteredView\";\nexport * from \"./base/ui/Dashboard\";\nexport * from \"./base/ui/NotFound\";\n\n// Base admin app\nexport { Admin } from \"./base/Admin\";\nexport * from \"./config/AdminConfig\";\n\nexport type { AdminProps } from \"./base/Admin\";\nexport { useViewComposition } from \"./base/providers/ViewCompositionProvider\";\nexport type { ViewCompositionContext, ViewElement } from \"./base/providers/ViewCompositionProvider\";\n\n// Plugins\nexport * from \"./base/plugins/AddGraphQLQuerySelection\";\nexport * from \"./plugins/PermissionRendererPlugin\";\n\n// Components\nexport { AppInstaller } from \"./components/AppInstaller\";\nexport * from \"./components/Buttons\";\nexport { DialogsProvider } from \"./components/Dialogs/DialogsContext\";\nexport * from \"./components/OptionsMenu\";\nexport * from \"./components/Filters\";\nexport * from \"./components/BulkActions\";\nexport * from \"./components/ResizablePanels\";\nexport { OverlayLayout, type OverlayLayoutProps } from \"./components/OverlayLayout\";\nexport {\n default as SingleImageUpload,\n type SingleImageUploadProps\n} from \"./components/SingleImageUpload\";\nexport { LexicalEditor } from \"./components/LexicalEditor/LexicalEditor\";\nexport { Wcp } from \"./components/Wcp\";\nexport * from \"./components/IconPicker\";\n\nexport { FileManager, FileManagerRenderer } from \"./base/ui/FileManager\";\nexport type {\n FileManagerProps,\n FileManagerRendererProps,\n FileManagerFileItem,\n FileManagerOnChange\n} from \"./base/ui/FileManager\";\n\n// Hooks\nexport * from \"./hooks\";\nexport { useWcp } from \"@webiny/app-wcp\";\nexport type { AaclPermission } from \"@webiny/app-wcp/types\";\n\n// Theme\nexport { useTheme, ThemeProvider } from \"@webiny/app-theme\";\n\nexport * from \"@webiny/app/renderApp\";\n\n// Exporting chosen utils from `@webiny/app` package.\nexport * from \"@webiny/app/utils/getApiUrl\";\nexport * from \"@webiny/app/utils/getGqlApiUrl\";\nexport * from \"@webiny/app/utils/getHeadlessCmsGqlApiUrl\";\nexport * from \"@webiny/app/utils/getLocaleCode\";\nexport * from \"@webiny/app/utils/getTenantId\";\nexport * from \"@webiny/app/utils/isLocalhost\";\n"],"mappings":"AAAA,cAAc,aAAa;AAE3B;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAASA,KAAK;AACd;AAGA,SAASC,kBAAkB;AAG3B;AACA;AACA;;AAEA;AACA,SAASC,YAAY;AACrB;AACA,SAASC,eAAe;AACxB;AACA;AACA;AACA;AACA,SAASC,aAAa;AACtB,SACIC,OAAO,IAAIC,iBAAiB;AAGhC,SAASC,aAAa;AACtB,SAASC,GAAG;AACZ;AAEA,SAASC,WAAW,EAAEC,mBAAmB;AAQzC;AACA;AACA,SAASC,MAAM,QAAQ,iBAAiB;AAGxC;AACA,SAASC,QAAQ,EAAEC,aAAa,QAAQ,mBAAmB;AAE3D,cAAc,uBAAuB;;AAErC;AACA,cAAc,6BAA6B;AAC3C,cAAc,gCAAgC;AAC9C,cAAc,2CAA2C;AACzD,cAAc,iCAAiC;AAC/C,cAAc,+BAA+B;AAC7C,cAAc,+BAA+B","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-admin",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.eb196ccd2f",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "A collection of plugins that together form a complete admin interface, customizable and extensible with Webiny apps and plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"@svgr/webpack": "6.5.1",
|
|
21
21
|
"@types/mime": "2.0.3",
|
|
22
22
|
"@types/react": "18.2.79",
|
|
23
|
-
"@webiny/admin-ui": "0.0.0-unstable.
|
|
24
|
-
"@webiny/app": "0.0.0-unstable.
|
|
25
|
-
"@webiny/app-security": "0.0.0-unstable.
|
|
26
|
-
"@webiny/app-theme": "0.0.0-unstable.
|
|
27
|
-
"@webiny/app-wcp": "0.0.0-unstable.
|
|
28
|
-
"@webiny/form": "0.0.0-unstable.
|
|
29
|
-
"@webiny/icons": "0.0.0-unstable.
|
|
30
|
-
"@webiny/lexical-editor": "0.0.0-unstable.
|
|
31
|
-
"@webiny/lexical-theme": "0.0.0-unstable.
|
|
32
|
-
"@webiny/plugins": "0.0.0-unstable.
|
|
33
|
-
"@webiny/react-composition": "0.0.0-unstable.
|
|
34
|
-
"@webiny/react-properties": "0.0.0-unstable.
|
|
35
|
-
"@webiny/react-router": "0.0.0-unstable.
|
|
36
|
-
"@webiny/telemetry": "0.0.0-unstable.
|
|
37
|
-
"@webiny/ui": "0.0.0-unstable.
|
|
38
|
-
"@webiny/ui-composer": "0.0.0-unstable.
|
|
39
|
-
"@webiny/utils": "0.0.0-unstable.
|
|
40
|
-
"@webiny/validation": "0.0.0-unstable.
|
|
23
|
+
"@webiny/admin-ui": "0.0.0-unstable.eb196ccd2f",
|
|
24
|
+
"@webiny/app": "0.0.0-unstable.eb196ccd2f",
|
|
25
|
+
"@webiny/app-security": "0.0.0-unstable.eb196ccd2f",
|
|
26
|
+
"@webiny/app-theme": "0.0.0-unstable.eb196ccd2f",
|
|
27
|
+
"@webiny/app-wcp": "0.0.0-unstable.eb196ccd2f",
|
|
28
|
+
"@webiny/form": "0.0.0-unstable.eb196ccd2f",
|
|
29
|
+
"@webiny/icons": "0.0.0-unstable.eb196ccd2f",
|
|
30
|
+
"@webiny/lexical-editor": "0.0.0-unstable.eb196ccd2f",
|
|
31
|
+
"@webiny/lexical-theme": "0.0.0-unstable.eb196ccd2f",
|
|
32
|
+
"@webiny/plugins": "0.0.0-unstable.eb196ccd2f",
|
|
33
|
+
"@webiny/react-composition": "0.0.0-unstable.eb196ccd2f",
|
|
34
|
+
"@webiny/react-properties": "0.0.0-unstable.eb196ccd2f",
|
|
35
|
+
"@webiny/react-router": "0.0.0-unstable.eb196ccd2f",
|
|
36
|
+
"@webiny/telemetry": "0.0.0-unstable.eb196ccd2f",
|
|
37
|
+
"@webiny/ui": "0.0.0-unstable.eb196ccd2f",
|
|
38
|
+
"@webiny/ui-composer": "0.0.0-unstable.eb196ccd2f",
|
|
39
|
+
"@webiny/utils": "0.0.0-unstable.eb196ccd2f",
|
|
40
|
+
"@webiny/validation": "0.0.0-unstable.eb196ccd2f",
|
|
41
41
|
"apollo-cache": "1.3.5",
|
|
42
42
|
"apollo-client": "2.6.10",
|
|
43
43
|
"apollo-link": "1.2.14",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@types/react-transition-group": "4.4.12",
|
|
75
75
|
"@types/store": "2.0.2",
|
|
76
76
|
"@types/tinycolor2": "1.4.6",
|
|
77
|
-
"@webiny/cli": "0.0.0-unstable.
|
|
78
|
-
"@webiny/project-utils": "0.0.0-unstable.
|
|
77
|
+
"@webiny/cli": "0.0.0-unstable.eb196ccd2f",
|
|
78
|
+
"@webiny/project-utils": "0.0.0-unstable.eb196ccd2f",
|
|
79
79
|
"monaco-editor": "0.52.2",
|
|
80
80
|
"rimraf": "6.0.1",
|
|
81
81
|
"typescript": "5.3.3"
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
]
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "eb196ccd2f32296e10f7add6dd7220d4e3abece4"
|
|
111
111
|
}
|