Skip to content

Commit

Permalink
Up Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Neox63 committed Jul 5, 2023
1 parent 02b1f92 commit 7f51220
Show file tree
Hide file tree
Showing 10 changed files with 168 additions and 156 deletions.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.1.2</version>
<version>2.1.3</version>
<authors>
<author>
<name></name>
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"husky": "^8.0.1"
},
"dependencies": {
"@thelia/blocks-editor": "^1.3.0"
"@thelia/blocks-editor": "^1.3.2"
}
}
2 changes: 1 addition & 1 deletion templates/backOffice/default/vendor/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/backOffice/default/vendor/index.css.map

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions templates/backOffice/default/vendor/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Locale, BlockModuleComponentProps, IBlock, BlockPluginDefinition, Video } from './types/types.js';
export { BlockModuleComponentProps, BlockPluginDefinition, IBlock } from './types/types.js';
import { Locale, BlockModuleComponentProps, IBlock, BlockPluginDefinition, Video } from './utils/types.js';
export { BlockModuleComponentProps, BlockPluginDefinition, IBlock } from './utils/types.js';
export { nanoid as generateId } from 'nanoid';
import * as react from 'react';
import { ReactElement } from 'react';

interface IBlocksEditorProps {
apiUrl: string;
Expand Down Expand Up @@ -42,6 +43,11 @@ declare const LocaleContext: react.Context<{
getUrlWithPrefix: (url: string, prefix?: string) => string;
setCurrentLocale: Function;
}>;
declare function LocaleProvider({ locales, prefix, children, }: {
locales: Locale[];
prefix: string;
children: ReactElement;
}): JSX.Element;

declare type AccordionContentData = IBlock[];
declare type AccordionItem = {
Expand Down Expand Up @@ -188,6 +194,9 @@ declare const Group: {
noExclude?: boolean | undefined;
}) => JSX.Element;
initialData: GroupData;
icon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
title?: string | undefined;
}>;
title: {
default: string;
fr: string;
Expand Down Expand Up @@ -222,6 +231,9 @@ declare const BlockHighlight: {
backgroundColor: string;
};
};
icon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
title?: string | undefined;
}>;
title: {
default: string;
fr: string;
Expand Down Expand Up @@ -423,4 +435,4 @@ declare namespace index {
};
}

export { BlocksEditor, BlocksList, LinkBlockToItem, LocaleContext, index as blocks, registerPlugin };
export { BlocksEditor, BlocksList, LinkBlockToItem, LocaleContext, LocaleProvider, index as blocks, registerPlugin };
162 changes: 81 additions & 81 deletions templates/backOffice/default/vendor/index.global.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/backOffice/default/vendor/index.global.js.map

Large diffs are not rendered by default.

118 changes: 59 additions & 59 deletions templates/backOffice/default/vendor/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/backOffice/default/vendor/index.js.map

Large diffs are not rendered by default.

0 comments on commit 7f51220

Please sign in to comment.