@limetech/lime-elements 37.15.1 → 37.16.0
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/CHANGELOG.md +8 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-text-editor.cjs.entry.js +15887 -0
- package/dist/cjs/limel-text-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/text-editor/text-editor.css +669 -0
- package/dist/collection/components/text-editor/text-editor.js +82 -0
- package/dist/collection/components/text-editor/text-editor.js.map +1 -0
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-text-editor.entry.js +15883 -0
- package/dist/esm/limel-text-editor.entry.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -1
- package/dist/lime-elements/p-56a13153.entry.js +2 -0
- package/dist/lime-elements/p-56a13153.entry.js.map +1 -0
- package/dist/types/components/text-editor/text-editor.d.ts +25 -0
- package/dist/types/components.d.ts +65 -0
- package/package.json +4 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This editor offers a rich text editing experience with markdown support,
|
|
3
|
+
* in the sense that you can easily type markdown syntax and see the rendered
|
|
4
|
+
* result as rich text in real-time. For instance, you can type `# Hello, world!`
|
|
5
|
+
* and see it directly turning to a heading 1 (an `<h1>` HTML element).
|
|
6
|
+
*
|
|
7
|
+
* Naturally, you can use standard keyboard hotkeys such as <kbd>Ctrl</kbd> + <kbd>B</kbd>
|
|
8
|
+
* to toggle bold text, <kbd>Ctrl</kbd> + <kbd>I</kbd> to toggle italic text, and so on.
|
|
9
|
+
*
|
|
10
|
+
* @exampleComponent limel-example-text-editor-basic
|
|
11
|
+
* @beta
|
|
12
|
+
* @private
|
|
13
|
+
*/
|
|
14
|
+
export declare class TextEditor {
|
|
15
|
+
private host;
|
|
16
|
+
private view;
|
|
17
|
+
/**
|
|
18
|
+
* Dispatched when a change is made to the editor
|
|
19
|
+
*/
|
|
20
|
+
private change;
|
|
21
|
+
componentWillLoad(): void;
|
|
22
|
+
render(): any;
|
|
23
|
+
componentDidLoad(): void;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=text-editor.d.ts.map
|
|
@@ -2457,6 +2457,19 @@ export namespace Components {
|
|
|
2457
2457
|
*/
|
|
2458
2458
|
"totalRows": number;
|
|
2459
2459
|
}
|
|
2460
|
+
/**
|
|
2461
|
+
* This editor offers a rich text editing experience with markdown support,
|
|
2462
|
+
* in the sense that you can easily type markdown syntax and see the rendered
|
|
2463
|
+
* result as rich text in real-time. For instance, you can type `# Hello, world!`
|
|
2464
|
+
* and see it directly turning to a heading 1 (an `<h1>` HTML element).
|
|
2465
|
+
* Naturally, you can use standard keyboard hotkeys such as <kbd>Ctrl</kbd> + <kbd>B</kbd>
|
|
2466
|
+
* to toggle bold text, <kbd>Ctrl</kbd> + <kbd>I</kbd> to toggle italic text, and so on.
|
|
2467
|
+
* @exampleComponent limel-example-text-editor-basic
|
|
2468
|
+
* @beta
|
|
2469
|
+
* @private
|
|
2470
|
+
*/
|
|
2471
|
+
interface LimelTextEditor {
|
|
2472
|
+
}
|
|
2460
2473
|
/**
|
|
2461
2474
|
* A tooltip can be used to display a descriptive text for any element.
|
|
2462
2475
|
* The displayed content must be a brief and supplemental string of text,
|
|
@@ -2693,6 +2706,10 @@ export interface LimelTableCustomEvent<T> extends CustomEvent<T> {
|
|
|
2693
2706
|
detail: T;
|
|
2694
2707
|
target: HTMLLimelTableElement;
|
|
2695
2708
|
}
|
|
2709
|
+
export interface LimelTextEditorCustomEvent<T> extends CustomEvent<T> {
|
|
2710
|
+
detail: T;
|
|
2711
|
+
target: HTMLLimelTextEditorElement;
|
|
2712
|
+
}
|
|
2696
2713
|
declare global {
|
|
2697
2714
|
/**
|
|
2698
2715
|
* An action bar is a user interface element commonly found in software applications and websites.
|
|
@@ -3935,6 +3952,23 @@ declare global {
|
|
|
3935
3952
|
prototype: HTMLLimelTableElement;
|
|
3936
3953
|
new (): HTMLLimelTableElement;
|
|
3937
3954
|
};
|
|
3955
|
+
/**
|
|
3956
|
+
* This editor offers a rich text editing experience with markdown support,
|
|
3957
|
+
* in the sense that you can easily type markdown syntax and see the rendered
|
|
3958
|
+
* result as rich text in real-time. For instance, you can type `# Hello, world!`
|
|
3959
|
+
* and see it directly turning to a heading 1 (an `<h1>` HTML element).
|
|
3960
|
+
* Naturally, you can use standard keyboard hotkeys such as <kbd>Ctrl</kbd> + <kbd>B</kbd>
|
|
3961
|
+
* to toggle bold text, <kbd>Ctrl</kbd> + <kbd>I</kbd> to toggle italic text, and so on.
|
|
3962
|
+
* @exampleComponent limel-example-text-editor-basic
|
|
3963
|
+
* @beta
|
|
3964
|
+
* @private
|
|
3965
|
+
*/
|
|
3966
|
+
interface HTMLLimelTextEditorElement extends Components.LimelTextEditor, HTMLStencilElement {
|
|
3967
|
+
}
|
|
3968
|
+
var HTMLLimelTextEditorElement: {
|
|
3969
|
+
prototype: HTMLLimelTextEditorElement;
|
|
3970
|
+
new (): HTMLLimelTextEditorElement;
|
|
3971
|
+
};
|
|
3938
3972
|
/**
|
|
3939
3973
|
* A tooltip can be used to display a descriptive text for any element.
|
|
3940
3974
|
* The displayed content must be a brief and supplemental string of text,
|
|
@@ -4052,6 +4086,7 @@ declare global {
|
|
|
4052
4086
|
"limel-tab-bar": HTMLLimelTabBarElement;
|
|
4053
4087
|
"limel-tab-panel": HTMLLimelTabPanelElement;
|
|
4054
4088
|
"limel-table": HTMLLimelTableElement;
|
|
4089
|
+
"limel-text-editor": HTMLLimelTextEditorElement;
|
|
4055
4090
|
"limel-tooltip": HTMLLimelTooltipElement;
|
|
4056
4091
|
"limel-tooltip-content": HTMLLimelTooltipContentElement;
|
|
4057
4092
|
}
|
|
@@ -6674,6 +6709,23 @@ declare namespace LocalJSX {
|
|
|
6674
6709
|
*/
|
|
6675
6710
|
"totalRows"?: number;
|
|
6676
6711
|
}
|
|
6712
|
+
/**
|
|
6713
|
+
* This editor offers a rich text editing experience with markdown support,
|
|
6714
|
+
* in the sense that you can easily type markdown syntax and see the rendered
|
|
6715
|
+
* result as rich text in real-time. For instance, you can type `# Hello, world!`
|
|
6716
|
+
* and see it directly turning to a heading 1 (an `<h1>` HTML element).
|
|
6717
|
+
* Naturally, you can use standard keyboard hotkeys such as <kbd>Ctrl</kbd> + <kbd>B</kbd>
|
|
6718
|
+
* to toggle bold text, <kbd>Ctrl</kbd> + <kbd>I</kbd> to toggle italic text, and so on.
|
|
6719
|
+
* @exampleComponent limel-example-text-editor-basic
|
|
6720
|
+
* @beta
|
|
6721
|
+
* @private
|
|
6722
|
+
*/
|
|
6723
|
+
interface LimelTextEditor {
|
|
6724
|
+
/**
|
|
6725
|
+
* Dispatched when a change is made to the editor
|
|
6726
|
+
*/
|
|
6727
|
+
"onChange"?: (event: LimelTextEditorCustomEvent<{ html: string }>) => void;
|
|
6728
|
+
}
|
|
6677
6729
|
/**
|
|
6678
6730
|
* A tooltip can be used to display a descriptive text for any element.
|
|
6679
6731
|
* The displayed content must be a brief and supplemental string of text,
|
|
@@ -6815,6 +6867,7 @@ declare namespace LocalJSX {
|
|
|
6815
6867
|
"limel-tab-bar": LimelTabBar;
|
|
6816
6868
|
"limel-tab-panel": LimelTabPanel;
|
|
6817
6869
|
"limel-table": LimelTable;
|
|
6870
|
+
"limel-text-editor": LimelTextEditor;
|
|
6818
6871
|
"limel-tooltip": LimelTooltip;
|
|
6819
6872
|
"limel-tooltip-content": LimelTooltipContent;
|
|
6820
6873
|
}
|
|
@@ -7759,6 +7812,18 @@ declare module "@stencil/core" {
|
|
|
7759
7812
|
* @exampleComponent limel-example-table-interactive-rows
|
|
7760
7813
|
*/
|
|
7761
7814
|
"limel-table": LocalJSX.LimelTable & JSXBase.HTMLAttributes<HTMLLimelTableElement>;
|
|
7815
|
+
/**
|
|
7816
|
+
* This editor offers a rich text editing experience with markdown support,
|
|
7817
|
+
* in the sense that you can easily type markdown syntax and see the rendered
|
|
7818
|
+
* result as rich text in real-time. For instance, you can type `# Hello, world!`
|
|
7819
|
+
* and see it directly turning to a heading 1 (an `<h1>` HTML element).
|
|
7820
|
+
* Naturally, you can use standard keyboard hotkeys such as <kbd>Ctrl</kbd> + <kbd>B</kbd>
|
|
7821
|
+
* to toggle bold text, <kbd>Ctrl</kbd> + <kbd>I</kbd> to toggle italic text, and so on.
|
|
7822
|
+
* @exampleComponent limel-example-text-editor-basic
|
|
7823
|
+
* @beta
|
|
7824
|
+
* @private
|
|
7825
|
+
*/
|
|
7826
|
+
"limel-text-editor": LocalJSX.LimelTextEditor & JSXBase.HTMLAttributes<HTMLLimelTextEditorElement>;
|
|
7762
7827
|
/**
|
|
7763
7828
|
* A tooltip can be used to display a descriptive text for any element.
|
|
7764
7829
|
* The displayed content must be a brief and supplemental string of text,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.16.0",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@commitlint/config-conventional": "^19.1.0",
|
|
47
|
-
"@microsoft/api-extractor": "^7.43.
|
|
47
|
+
"@microsoft/api-extractor": "^7.43.1",
|
|
48
48
|
"@popperjs/core": "^2.11.8",
|
|
49
49
|
"@rjsf/core": "^2.4.2",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
@@ -83,6 +83,8 @@
|
|
|
83
83
|
"number-abbreviate": "^2.0.0",
|
|
84
84
|
"parse-css-color": "^0.2.1",
|
|
85
85
|
"prettier": "^3.2.5",
|
|
86
|
+
"prosemirror-example-setup": "^1.2.2",
|
|
87
|
+
"prosemirror-schema-basic": "^1.2.2",
|
|
86
88
|
"puppeteer": "^19.11.1",
|
|
87
89
|
"react": "^18.2.0",
|
|
88
90
|
"react-dom": "^18.2.0",
|