@ethberry/mui-lexical 1.0.17 → 1.0.19
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/README.md +42 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1,43 @@
|
|
|
1
1
|
# mui-lexical
|
|
2
|
+
|
|
3
|
+
# Installation
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm run install
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
# Storybook Configuration
|
|
10
|
+
|
|
11
|
+
Storybook is configured to work with:
|
|
12
|
+
- **Webpack 5** - bundler
|
|
13
|
+
- **TypeScript** - type checking
|
|
14
|
+
- **Material-UI** - UI library
|
|
15
|
+
- **Emotion** - CSS-in-JS
|
|
16
|
+
- **Lexical Editor** - rich text editor
|
|
17
|
+
|
|
18
|
+
## Running
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm run storybook
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Storybook will be available at: http://localhost:6006
|
|
25
|
+
|
|
26
|
+
## Build
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm run build-storybook
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Structure
|
|
33
|
+
|
|
34
|
+
- `.storybook/main.ts` - main Storybook configuration
|
|
35
|
+
- `.storybook/preview.ts` - preview settings (MUI Theme Provider)
|
|
36
|
+
- `.storybook/manager.ts` - Storybook UI settings
|
|
37
|
+
|
|
38
|
+
## Stories
|
|
39
|
+
|
|
40
|
+
Stories are located in `src/**/*.stories.tsx`
|
|
41
|
+
|
|
42
|
+
Example: `src/components/LexicalEditorWrapper/LexicalEditorWrapper.stories.tsx`
|
|
43
|
+
|
package/package.json
CHANGED