markdown-flow-ui 0.2.5 → 0.2.6
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/dist/_virtual/index.cjs8.js +1 -1
- package/dist/_virtual/index.cjs9.js +1 -1
- package/dist/_virtual/index.es8.js +2 -2
- package/dist/_virtual/index.es9.js +2 -2
- package/dist/assets/markdown-flow-ui.css +1 -1
- package/dist/components/ContentRender/CodeBlock.cjs.js.map +1 -1
- package/dist/components/ContentRender/CodeBlock.d.ts +1 -1
- package/dist/components/ContentRender/CodeBlock.es.js.map +1 -1
- package/dist/components/ContentRender/ContentRender.cjs.js.map +1 -1
- package/dist/components/ContentRender/ContentRender.es.js +6 -1
- package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
- package/dist/components/MarkdownFlowEditor/locales/en-US.json.d.ts +70 -0
- package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.d.ts +70 -0
- package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.d.ts +70 -0
- package/dist/components/Slide/Slide.cjs.js +1 -1
- package/dist/components/Slide/Slide.cjs.js.map +1 -1
- package/dist/components/Slide/Slide.es.js +258 -254
- package/dist/components/Slide/Slide.es.js.map +1 -1
- package/dist/components/Slide/diff-utils.cjs.js +4 -4
- package/dist/components/Slide/diff-utils.cjs.js.map +1 -1
- package/dist/components/Slide/diff-utils.es.js +49 -49
- package/dist/components/Slide/diff-utils.es.js.map +1 -1
- package/dist/components/Slide/types.d.ts +1 -0
- package/dist/components/ui/inputGroup/input-group.cjs.js +1 -1
- package/dist/components/ui/inputGroup/input-group.cjs.js.map +1 -1
- package/dist/components/ui/inputGroup/input-group.d.ts +21 -1
- package/dist/components/ui/inputGroup/input-group.es.js +19 -17
- package/dist/components/ui/inputGroup/input-group.es.js.map +1 -1
- package/dist/components/ui/inputGroup/textarea.cjs.js.map +1 -1
- package/dist/components/ui/inputGroup/textarea.d.ts +2 -1
- package/dist/components/ui/inputGroup/textarea.es.js.map +1 -1
- package/dist/markdown-flow-ui-lib.css +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs.js +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/node_modules/classnames/index.cjs.js +1 -1
- package/dist/node_modules/classnames/index.es.js +1 -1
- package/package.json +1 -1
- package/dist/components/ContentRender/ContentRender.stories.d.ts +0 -37
- package/dist/components/ContentRender/MarkdownFlowInput.stories.d.ts +0 -33
- package/dist/components/MarkdownFlow/MarkdownFlow.stories.d.ts +0 -31
- package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.stories.d.ts +0 -64
- package/dist/components/Slide/Slide.stories.d.ts +0 -2590
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/nextjs-vite';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./MarkdownFlowInput').MarkdownFlowInputProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
locale: {
|
|
12
|
-
control: "select";
|
|
13
|
-
options: string[];
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
placeholder: {
|
|
17
|
-
control: "text";
|
|
18
|
-
description: string;
|
|
19
|
-
};
|
|
20
|
-
disabled: {
|
|
21
|
-
control: "boolean";
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
args: {
|
|
26
|
-
placeholder: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
export declare const Default: Story;
|
|
32
|
-
export declare const Disabled: Story;
|
|
33
|
-
export declare const FrenchLocale: Story;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/nextjs-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import('react').FC<import('./MarkdownFlow').MarkdownFlowProps>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
locale: {
|
|
11
|
-
control: "select";
|
|
12
|
-
options: string[];
|
|
13
|
-
description: string;
|
|
14
|
-
};
|
|
15
|
-
initialContentList: {
|
|
16
|
-
description: string;
|
|
17
|
-
table: {
|
|
18
|
-
type: {
|
|
19
|
-
summary: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
args: {
|
|
25
|
-
initialContentList: never[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default meta;
|
|
29
|
-
type Story = StoryObj<typeof meta>;
|
|
30
|
-
export declare const MarkdownFlowStory: Story;
|
|
31
|
-
export declare const FrenchLocale: Story;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/nextjs-vite';
|
|
3
|
-
import { EditMode } from './MarkdownFlowEditor';
|
|
4
|
-
import { EditorApi, EditorAction } from './types';
|
|
5
|
-
import { UploadProps } from './uploadTypes';
|
|
6
|
-
declare const meta: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: React.FC<{
|
|
9
|
-
content?: string;
|
|
10
|
-
editMode?: EditMode;
|
|
11
|
-
variables?: import('./types').Variable[];
|
|
12
|
-
systemVariables?: import('./types').Variable[];
|
|
13
|
-
onChange?: (value: string) => void;
|
|
14
|
-
onBlur?: () => void;
|
|
15
|
-
locale?: import('.').MarkdownFlowLocale;
|
|
16
|
-
uploadProps?: UploadProps;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
toolbarActionsRight?: EditorAction[];
|
|
19
|
-
onReady?: (api: EditorApi) => void;
|
|
20
|
-
}>;
|
|
21
|
-
parameters: {
|
|
22
|
-
layout: string;
|
|
23
|
-
};
|
|
24
|
-
tags: string[];
|
|
25
|
-
argTypes: {
|
|
26
|
-
value: {
|
|
27
|
-
control: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
onChange: {
|
|
31
|
-
action: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
className: {
|
|
35
|
-
control: string;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
readOnly: {
|
|
39
|
-
control: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
disabled: {
|
|
43
|
-
control: "boolean";
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
args: {
|
|
48
|
-
value: string;
|
|
49
|
-
className: string;
|
|
50
|
-
readOnly: boolean;
|
|
51
|
-
disabled: false;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export default meta;
|
|
55
|
-
type Story = StoryObj<typeof meta>;
|
|
56
|
-
export declare const MarkdownFlowEditorWithCodeEditStory: Story;
|
|
57
|
-
export declare const MarkdownFlowEditorWithQuickEditStory: Story;
|
|
58
|
-
export declare const MarkdownFlowEditorWithImage: Story;
|
|
59
|
-
export declare const MarkdownFlowEditorWithDivider: Story;
|
|
60
|
-
export declare const MarkdownFlowEditorWithVariables: Story;
|
|
61
|
-
export declare const MarkdownFlowEditorWithFixedText: Story;
|
|
62
|
-
export declare const MarkdownFlowEditorDisabled: Story;
|
|
63
|
-
export declare const MarkdownFlowEditorFrenchLocale: Story;
|
|
64
|
-
export declare const MarkdownFlowEditorWithToolbarRight: Story;
|