@ix_waterford/lib 1.0.3 → 1.0.5
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 +4 -4
- package/dist/index.html +1 -1
- package/dist/static/css/index.css +96 -0
- package/dist/static/css/index.css.map +1 -0
- package/dist/static/js/index.js +1999 -27
- package/dist/static/js/index.js.map +1 -1
- package/dist/static/js/{vendors-node_modules_dayjs_plugin_utc_js-node_modules_react-color_es_index_js-node_modules_mu-c151eb.js → vendors-node_modules_rspack_core_dist_cssExtractHmr_js-node_modules_dayjs_plugin_utc_js-node_-897cfa.js} +75917 -51343
- package/dist/static/js/vendors-node_modules_rspack_core_dist_cssExtractHmr_js-node_modules_dayjs_plugin_utc_js-node_-897cfa.js.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/static/js/vendors-node_modules_dayjs_plugin_utc_js-node_modules_react-color_es_index_js-node_modules_mu-c151eb.js.map +0 -1
package/README.md
CHANGED
|
@@ -18,15 +18,15 @@ npm run build
|
|
|
18
18
|
# Run ESLint for code quality checks (shows errors only)
|
|
19
19
|
npm run lint
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
### Fix ESLint issues manually (optional)
|
|
22
22
|
npm run lint:fix
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
### Run TypeScript type checking
|
|
25
25
|
npm run type-check
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
### Check changes with local bundling
|
|
28
28
|
npm pack
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
### Publish the repo to npm
|
|
31
31
|
npm publish
|
|
32
32
|
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Rsbuild App</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.js"></script><script defer src="/static/js/vendors-node_modules_dayjs_plugin_utc_js-
|
|
1
|
+
<!doctype html><html><head><title>Rsbuild App</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.js"></script><script defer src="/static/js/vendors-node_modules_rspack_core_dist_cssExtractHmr_js-node_modules_dayjs_plugin_utc_js-node_-897cfa.js"></script><script defer src="/static/js/index.js"></script><link href="/static/css/index.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
.editor-input {
|
|
2
|
+
outline: none;
|
|
3
|
+
min-height: 200px;
|
|
4
|
+
padding: 12px;
|
|
5
|
+
font-size: 16px;
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.editor-placeholder {
|
|
10
|
+
color: #aaa;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
padding: 12px;
|
|
13
|
+
position: absolute;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.editor-textBold {
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.editor-textItalic {
|
|
21
|
+
font-style: italic;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.editor-textUnderline {
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.editor-textStrikethrough {
|
|
29
|
+
text-decoration: line-through;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.editor-textSubscript {
|
|
33
|
+
vertical-align: sub;
|
|
34
|
+
font-size: .8em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.editor-textSuperscript {
|
|
38
|
+
vertical-align: super;
|
|
39
|
+
font-size: .8em;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.editor-heading-h1 {
|
|
43
|
+
margin: .67em 0;
|
|
44
|
+
font-size: 2em;
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.editor-heading-h2 {
|
|
49
|
+
margin: .75em 0;
|
|
50
|
+
font-size: 1.75em;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.editor-heading-h3 {
|
|
55
|
+
margin: .83em 0;
|
|
56
|
+
font-size: 1.5em;
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.editor-heading-h4 {
|
|
61
|
+
margin: 1em 0;
|
|
62
|
+
font-size: 1.25em;
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.editor-heading-h5 {
|
|
67
|
+
margin: 1.17em 0;
|
|
68
|
+
font-size: 1.1em;
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.editor-heading-h6 {
|
|
73
|
+
margin: 1.33em 0;
|
|
74
|
+
font-size: 1em;
|
|
75
|
+
font-weight: bold;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.editor-list-ol, .editor-list-ul {
|
|
79
|
+
margin: .5em 0;
|
|
80
|
+
padding-left: 30px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.editor-list-item {
|
|
84
|
+
margin: .25em 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.editor-quote {
|
|
88
|
+
color: #666;
|
|
89
|
+
border-left: 4px solid #ccc;
|
|
90
|
+
margin: 0;
|
|
91
|
+
padding-left: 20px;
|
|
92
|
+
font-style: italic;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/*# sourceMappingURL=index.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/css/index.css","sources":["/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/textEditor/lexicalStyles.css"],"sourcesContent":[".editor-input {\n min-height: 200px;\n padding: 12px;\n outline: none;\n font-size: 16px;\n line-height: 1.5;\n }\n \n.editor-placeholder {\n color: #aaa;\n padding: 12px;\n position: absolute;\n pointer-events: none;\n}\n\n.editor-textBold {\n font-weight: bold;\n}\n\n.editor-textItalic {\n font-style: italic;\n}\n\n.editor-textUnderline {\n text-decoration: underline;\n}\n\n.editor-textStrikethrough {\n text-decoration: line-through;\n}\n\n.editor-textSubscript {\n vertical-align: sub;\n font-size: 0.8em;\n}\n\n.editor-textSuperscript {\n vertical-align: super;\n font-size: 0.8em;\n}\n\n.editor-heading-h1 {\n font-size: 2em;\n font-weight: bold;\n margin: 0.67em 0;\n}\n\n.editor-heading-h2 {\n font-size: 1.75em;\n font-weight: bold;\n margin: 0.75em 0;\n}\n\n.editor-heading-h3 {\n font-size: 1.5em;\n font-weight: bold;\n margin: 0.83em 0;\n}\n\n.editor-heading-h4 {\n font-size: 1.25em;\n font-weight: bold;\n margin: 1em 0;\n}\n\n.editor-heading-h5 {\n font-size: 1.1em;\n font-weight: bold;\n margin: 1.17em 0;\n}\n\n.editor-heading-h6 {\n font-size: 1em;\n font-weight: bold;\n margin: 1.33em 0;\n}\n\n.editor-list-ol {\n padding-left: 30px;\n margin: 0.5em 0;\n}\n\n.editor-list-ul {\n padding-left: 30px;\n margin: 0.5em 0;\n}\n\n.editor-list-item {\n margin: 0.25em 0;\n}\n\n.editor-quote {\n margin: 0;\n padding-left: 20px;\n border-left: 4px solid #ccc;\n color: #666;\n font-style: italic;\n}\n"],"names":[],"mappings":"AADA;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA"}
|