@aquera/nile-elements 2.0.0 → 2.0.2
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 +11 -0
- package/demo/nxtgen-dark.css +2 -2
- package/dist/{index-ccff99d6.esm.js → index-0fe57384.esm.js} +1 -1
- package/dist/index-f6944844.cjs.js +2 -0
- package/dist/{index-e43755f5.cjs.js.map → index-f6944844.cjs.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1127 -741
- package/dist/nile-code-editor/extensionSetup.cjs.js +1 -1
- package/dist/nile-code-editor/extensionSetup.esm.js +1 -1
- package/dist/nile-code-editor/index.cjs.js +1 -1
- package/dist/nile-code-editor/index.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.esm.js +2 -2
- package/dist/nile-code-editor/nile-code-editor.esm.js +4 -4
- package/dist/nile-code-editor/theme.cjs.js +1 -1
- package/dist/nile-code-editor/theme.cjs.js.map +1 -1
- package/dist/nile-code-editor/theme.esm.js +1 -1
- package/dist/nile-combobox/nile-combobox.css.cjs.js +1 -1
- package/dist/nile-combobox/nile-combobox.css.cjs.js.map +1 -1
- package/dist/nile-combobox/nile-combobox.css.esm.js +1 -1
- package/dist/nile-detail/nile-detail.css.cjs.js +1 -1
- package/dist/nile-detail/nile-detail.css.cjs.js.map +1 -1
- package/dist/nile-detail/nile-detail.css.esm.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +3 -3
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +13 -7
- package/dist/nile-timestamp-builder/index.cjs.js +2 -0
- package/dist/nile-timestamp-builder/index.cjs.js.map +1 -0
- package/dist/nile-timestamp-builder/index.esm.js +1 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder-utils.cjs.js +2 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder-utils.cjs.js.map +1 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder-utils.esm.js +1 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.cjs.js +2 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.cjs.js.map +1 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.css.cjs.js +2 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.css.cjs.js.map +1 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.css.esm.js +195 -0
- package/dist/nile-timestamp-builder/nile-timestamp-builder.esm.js +154 -0
- package/dist/nile-timestamp-builder/timezones.cjs.js +2 -0
- package/dist/nile-timestamp-builder/timezones.cjs.js.map +1 -0
- package/dist/nile-timestamp-builder/timezones.esm.js +1 -0
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.esm.js +91 -58
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.esm.js +19 -19
- package/dist/nile-wysiwyg-editor/ui/bookmark-panel.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/bookmark-panel.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/bookmark-panel.esm.js +14 -14
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/bubble-menu.esm.js +13 -13
- package/dist/nile-wysiwyg-editor/ui/code-block-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/code-block-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/code-block-menu.esm.js +12 -12
- package/dist/nile-wysiwyg-editor/ui/embed-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-menu.esm.js +10 -10
- package/dist/nile-wysiwyg-editor/ui/embed-panel.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-panel.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/embed-panel.esm.js +4 -4
- package/dist/nile-wysiwyg-editor/ui/emoji-picker.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/emoji-picker.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/emoji-picker.esm.js +11 -11
- package/dist/nile-wysiwyg-editor/ui/find-replace.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/find-replace.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/find-replace.esm.js +9 -9
- package/dist/nile-wysiwyg-editor/ui/image-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-menu.esm.js +11 -11
- package/dist/nile-wysiwyg-editor/ui/image-panel.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-panel.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/image-panel.esm.js +6 -6
- package/dist/nile-wysiwyg-editor/ui/insert-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/insert-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/insert-menu.esm.js +14 -14
- package/dist/nile-wysiwyg-editor/ui/link-editor.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/link-editor.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/link-editor.esm.js +16 -16
- package/dist/nile-wysiwyg-editor/ui/markdown-panel.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/markdown-panel.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/markdown-panel.esm.js +8 -8
- package/dist/nile-wysiwyg-editor/ui/math-panel.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/math-panel.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/math-panel.esm.js +4 -4
- package/dist/nile-wysiwyg-editor/ui/shortcut-help.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/shortcut-help.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/shortcut-help.esm.js +16 -16
- package/dist/nile-wysiwyg-editor/ui/source-view.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/source-view.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/source-view.esm.js +29 -29
- package/dist/nile-wysiwyg-editor/ui/special-chars.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/special-chars.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/special-chars.esm.js +8 -8
- package/dist/nile-wysiwyg-editor/ui/suggest-list.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/suggest-list.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/suggest-list.esm.js +9 -9
- package/dist/nile-wysiwyg-editor/ui/table-grid-picker.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-grid-picker.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-grid-picker.esm.js +23 -23
- package/dist/nile-wysiwyg-editor/ui/table-menu.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-menu.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/ui/table-menu.esm.js +7 -7
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.css.js +2 -2
- package/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +15 -0
- package/dist/src/nile-code-editor/nile-code-editor.js +65 -6
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-code-editor/theme.d.ts +6 -117
- package/dist/src/nile-code-editor/theme.js +100 -147
- package/dist/src/nile-code-editor/theme.js.map +1 -1
- package/dist/src/nile-combobox/nile-combobox.css.js +1 -1
- package/dist/src/nile-combobox/nile-combobox.css.js.map +1 -1
- package/dist/src/nile-detail/nile-detail.css.js +1 -1
- package/dist/src/nile-detail/nile-detail.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +3 -3
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +11 -5
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
- package/dist/src/nile-timestamp-builder/index.d.ts +1 -0
- package/dist/src/nile-timestamp-builder/index.js +2 -0
- package/dist/src/nile-timestamp-builder/index.js.map +1 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder-utils.d.ts +54 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder-utils.js +254 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder-utils.js.map +1 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.css.d.ts +7 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.css.js +203 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.css.js.map +1 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.d.ts +94 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.js +578 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.js.map +1 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.test.d.ts +1 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.test.js +890 -0
- package/dist/src/nile-timestamp-builder/nile-timestamp-builder.test.js.map +1 -0
- package/dist/src/nile-timestamp-builder/timezones.d.ts +8 -0
- package/dist/src/nile-timestamp-builder/timezones.js +357 -0
- package/dist/src/nile-timestamp-builder/timezones.js.map +1 -0
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js +91 -58
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.d.ts +2 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js +23 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js +19 -19
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/bookmark-panel.js +10 -10
- package/dist/src/nile-wysiwyg-editor/ui/bookmark-panel.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/bubble-menu.js +7 -7
- package/dist/src/nile-wysiwyg-editor/ui/bubble-menu.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/code-block-menu.js +5 -5
- package/dist/src/nile-wysiwyg-editor/ui/code-block-menu.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/embed-menu.js +6 -6
- package/dist/src/nile-wysiwyg-editor/ui/embed-menu.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/embed-panel.js +4 -4
- package/dist/src/nile-wysiwyg-editor/ui/embed-panel.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/emoji-picker.js +6 -6
- package/dist/src/nile-wysiwyg-editor/ui/emoji-picker.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/find-replace.js +7 -7
- package/dist/src/nile-wysiwyg-editor/ui/find-replace.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/image-menu.js +6 -6
- package/dist/src/nile-wysiwyg-editor/ui/image-menu.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/image-panel.js +6 -6
- package/dist/src/nile-wysiwyg-editor/ui/image-panel.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/insert-menu.js +7 -7
- package/dist/src/nile-wysiwyg-editor/ui/insert-menu.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/link-editor.js +9 -9
- package/dist/src/nile-wysiwyg-editor/ui/link-editor.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/markdown-panel.js +8 -8
- package/dist/src/nile-wysiwyg-editor/ui/markdown-panel.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/math-panel.js +4 -4
- package/dist/src/nile-wysiwyg-editor/ui/math-panel.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/shortcut-help.js +9 -9
- package/dist/src/nile-wysiwyg-editor/ui/shortcut-help.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/source-view.js +24 -24
- package/dist/src/nile-wysiwyg-editor/ui/source-view.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/special-chars.js +4 -4
- package/dist/src/nile-wysiwyg-editor/ui/special-chars.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/suggest-list.js +7 -7
- package/dist/src/nile-wysiwyg-editor/ui/suggest-list.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/table-grid-picker.js +16 -16
- package/dist/src/nile-wysiwyg-editor/ui/table-grid-picker.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/ui/table-menu.js +4 -4
- package/dist/src/nile-wysiwyg-editor/ui/table-menu.js.map +1 -1
- package/dist/src/version.js +2 -2
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/nile-code-editor/nile-code-editor.css.ts +2 -2
- package/src/nile-code-editor/nile-code-editor.ts +68 -5
- package/src/nile-code-editor/theme.ts +129 -162
- package/src/nile-combobox/nile-combobox.css.ts +1 -1
- package/src/nile-detail/nile-detail.css.ts +1 -1
- package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +3 -3
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +11 -5
- package/src/nile-timestamp-builder/index.ts +1 -0
- package/src/nile-timestamp-builder/nile-timestamp-builder-utils.ts +321 -0
- package/src/nile-timestamp-builder/nile-timestamp-builder.css.ts +204 -0
- package/src/nile-timestamp-builder/nile-timestamp-builder.test.ts +1089 -0
- package/src/nile-timestamp-builder/nile-timestamp-builder.ts +625 -0
- package/src/nile-timestamp-builder/timezones.ts +356 -0
- package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.ts +91 -58
- package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.ts +21 -1
- package/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.ts +19 -19
- package/src/nile-wysiwyg-editor/ui/bookmark-panel.ts +10 -10
- package/src/nile-wysiwyg-editor/ui/bubble-menu.ts +7 -7
- package/src/nile-wysiwyg-editor/ui/code-block-menu.ts +5 -5
- package/src/nile-wysiwyg-editor/ui/embed-menu.ts +6 -6
- package/src/nile-wysiwyg-editor/ui/embed-panel.ts +4 -4
- package/src/nile-wysiwyg-editor/ui/emoji-picker.ts +6 -6
- package/src/nile-wysiwyg-editor/ui/find-replace.ts +7 -7
- package/src/nile-wysiwyg-editor/ui/image-menu.ts +6 -6
- package/src/nile-wysiwyg-editor/ui/image-panel.ts +6 -6
- package/src/nile-wysiwyg-editor/ui/insert-menu.ts +7 -7
- package/src/nile-wysiwyg-editor/ui/link-editor.ts +9 -9
- package/src/nile-wysiwyg-editor/ui/markdown-panel.ts +8 -8
- package/src/nile-wysiwyg-editor/ui/math-panel.ts +4 -4
- package/src/nile-wysiwyg-editor/ui/shortcut-help.ts +9 -9
- package/src/nile-wysiwyg-editor/ui/source-view.ts +24 -24
- package/src/nile-wysiwyg-editor/ui/special-chars.ts +4 -4
- package/src/nile-wysiwyg-editor/ui/suggest-list.ts +7 -7
- package/src/nile-wysiwyg-editor/ui/table-grid-picker.ts +16 -16
- package/src/nile-wysiwyg-editor/ui/table-menu.ts +4 -4
- package/vscode-html-custom-data.json +94 -2
- package/dist/index-e43755f5.cjs.js +0 -2
|
@@ -71,9 +71,9 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
71
71
|
justify-content: space-between;
|
|
72
72
|
padding: 6px 12px;
|
|
73
73
|
font-size: 12px;
|
|
74
|
-
color: var(--nile-colors-neutral-600,
|
|
75
|
-
border-bottom: 1px solid var(--nile-colors-neutral-300,
|
|
76
|
-
background: var(--nile-wysiwyg-toolbar-bg, var(--nile-colors-neutral-50,
|
|
74
|
+
color: var(--nile-colors-neutral-600, var(--ng-colors-text-tertiary-600));
|
|
75
|
+
border-bottom: 1px solid var(--nile-colors-neutral-300, var(--ng-colors-border-secondary));
|
|
76
|
+
background: var(--nile-wysiwyg-toolbar-bg, var(--nile-colors-neutral-50, var(--ng-colors-bg-secondary)));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.actions {
|
|
@@ -89,12 +89,12 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
89
89
|
border: 1px solid transparent;
|
|
90
90
|
cursor: pointer;
|
|
91
91
|
background: transparent;
|
|
92
|
-
color: var(--nile-colors-neutral-700,
|
|
92
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
button.primary {
|
|
96
|
-
background: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600
|
|
97
|
-
color:
|
|
96
|
+
background: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600));
|
|
97
|
+
color: var(--ng-colors-text-white);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.body {
|
|
@@ -125,7 +125,7 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
125
125
|
/* --- Lightweight code editor: gutter + highlighted textarea --- */
|
|
126
126
|
.pane--code {
|
|
127
127
|
display: flex;
|
|
128
|
-
background: var(--nile-colors-white-base,
|
|
128
|
+
background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
129
129
|
/* Shared code metrics, inherited by the gutter, highlight and textarea
|
|
130
130
|
so every line lines up to the pixel. */
|
|
131
131
|
font-family: var(--nile-wysiwyg-code-font, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
@@ -141,9 +141,9 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
141
141
|
box-sizing: border-box;
|
|
142
142
|
padding: 12px 8px 0;
|
|
143
143
|
text-align: right;
|
|
144
|
-
color: var(--nile-colors-neutral-400,
|
|
145
|
-
background: var(--nile-colors-neutral-50,
|
|
146
|
-
border-right: 1px solid var(--nile-colors-neutral-200,
|
|
144
|
+
color: var(--nile-colors-neutral-400, var(--ng-colors-text-quaternary-500));
|
|
145
|
+
background: var(--nile-colors-neutral-50, var(--ng-colors-bg-secondary));
|
|
146
|
+
border-right: 1px solid var(--nile-colors-neutral-200, var(--ng-colors-border-secondary));
|
|
147
147
|
user-select: none;
|
|
148
148
|
}
|
|
149
149
|
|
|
@@ -187,7 +187,7 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
187
187
|
.hl {
|
|
188
188
|
overflow: hidden;
|
|
189
189
|
pointer-events: none;
|
|
190
|
-
color: var(--nile-colors-neutral-900,
|
|
190
|
+
color: var(--nile-colors-neutral-900, var(--ng-colors-text-primary-900));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.hl > code {
|
|
@@ -202,7 +202,7 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
202
202
|
overflow: auto;
|
|
203
203
|
background: transparent;
|
|
204
204
|
color: transparent;
|
|
205
|
-
caret-color: var(--nile-colors-neutral-900,
|
|
205
|
+
caret-color: var(--nile-colors-neutral-900, var(--ng-colors-text-primary-900));
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/* Must be translucent: the textarea's text is transparent and the
|
|
@@ -217,26 +217,26 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
217
217
|
|
|
218
218
|
/* highlight.js token palette (Atom One Light), matching code blocks. */
|
|
219
219
|
.hl .hljs-comment,
|
|
220
|
-
.hl .hljs-quote { color:
|
|
220
|
+
.hl .hljs-quote { color: var(--ng-componentcolors-utility-gray-500); font-style: italic; }
|
|
221
221
|
.hl .hljs-keyword,
|
|
222
222
|
.hl .hljs-selector-tag,
|
|
223
|
-
.hl .hljs-doctag { color:
|
|
223
|
+
.hl .hljs-doctag { color: var(--ng-componentcolors-utility-purple-600); }
|
|
224
224
|
.hl .hljs-name,
|
|
225
225
|
.hl .hljs-selector-id,
|
|
226
226
|
.hl .hljs-selector-class,
|
|
227
|
-
.hl .hljs-tag { color:
|
|
227
|
+
.hl .hljs-tag { color: var(--ng-componentcolors-utility-error-600); }
|
|
228
228
|
.hl .hljs-literal,
|
|
229
|
-
.hl .hljs-built_in { color:
|
|
229
|
+
.hl .hljs-built_in { color: var(--ng-componentcolors-utility-blue-600); }
|
|
230
230
|
.hl .hljs-string,
|
|
231
231
|
.hl .hljs-attribute,
|
|
232
|
-
.hl .hljs-meta .hljs-string { color:
|
|
232
|
+
.hl .hljs-meta .hljs-string { color: var(--ng-componentcolors-utility-green-600); }
|
|
233
233
|
.hl .hljs-attr,
|
|
234
234
|
.hl .hljs-variable,
|
|
235
235
|
.hl .hljs-type,
|
|
236
|
-
.hl .hljs-number { color:
|
|
236
|
+
.hl .hljs-number { color: var(--ng-componentcolors-utility-orange-600); }
|
|
237
237
|
.hl .hljs-symbol,
|
|
238
238
|
.hl .hljs-meta,
|
|
239
|
-
.hl .hljs-title { color:
|
|
239
|
+
.hl .hljs-title { color: var(--ng-componentcolors-utility-indigo-600); }
|
|
240
240
|
|
|
241
241
|
/* Draggable divider between the code and preview panes. */
|
|
242
242
|
.gutter {
|
|
@@ -244,7 +244,7 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
244
244
|
position: relative;
|
|
245
245
|
width: 1px;
|
|
246
246
|
align-self: stretch;
|
|
247
|
-
background: var(--nile-colors-neutral-300,
|
|
247
|
+
background: var(--nile-colors-neutral-300, var(--ng-colors-border-secondary));
|
|
248
248
|
cursor: col-resize;
|
|
249
249
|
touch-action: none;
|
|
250
250
|
}
|
|
@@ -257,14 +257,14 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
257
257
|
|
|
258
258
|
.gutter:hover,
|
|
259
259
|
.body--dragging .gutter {
|
|
260
|
-
background: var(--ng-colors-bg-brand-primary
|
|
260
|
+
background: var(--ng-colors-bg-brand-primary);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.pane--preview {
|
|
264
264
|
flex: 1 1 0;
|
|
265
265
|
overflow: auto;
|
|
266
|
-
border-left: 1px solid var(--nile-colors-neutral-200,
|
|
267
|
-
background: var(--nile-colors-white-base,
|
|
266
|
+
border-left: 1px solid var(--nile-colors-neutral-200, var(--ng-colors-border-secondary));
|
|
267
|
+
background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
nile-wysiwyg-preview {
|
|
@@ -274,7 +274,7 @@ export class NileWysiwygSourceView extends NileElement {
|
|
|
274
274
|
.preview-empty {
|
|
275
275
|
display: block;
|
|
276
276
|
padding: 12px 16px;
|
|
277
|
-
color: var(--nile-colors-neutral-500,
|
|
277
|
+
color: var(--nile-colors-neutral-500, var(--ng-colors-text-quaternary-500));
|
|
278
278
|
font-size: 12px;
|
|
279
279
|
opacity: 0.7;
|
|
280
280
|
}
|
|
@@ -102,8 +102,8 @@ export class NileWysiwygSpecialChars extends NileElement {
|
|
|
102
102
|
.panel {
|
|
103
103
|
width: 316px;
|
|
104
104
|
padding: 8px;
|
|
105
|
-
background: var(--nile-wysiwyg-popover-bg,
|
|
106
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
105
|
+
background: var(--nile-wysiwyg-popover-bg, var(--ng-colors-bg-primary));
|
|
106
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
107
107
|
border-radius: 8px;
|
|
108
108
|
box-shadow: var(--nile-wysiwyg-popover-shadow, 0 4px 12px rgba(16, 24, 40, 0.12));
|
|
109
109
|
}
|
|
@@ -139,11 +139,11 @@ export class NileWysiwygSpecialChars extends NileElement {
|
|
|
139
139
|
border-radius: 5px;
|
|
140
140
|
background: transparent;
|
|
141
141
|
cursor: pointer;
|
|
142
|
-
color: var(--nile-colors-dark-900,
|
|
142
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.char:hover {
|
|
146
|
-
background: var(--nile-colors-neutral-100,
|
|
146
|
+
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));
|
|
147
147
|
}
|
|
148
148
|
`,
|
|
149
149
|
];
|
|
@@ -46,8 +46,8 @@ export class NileWysiwygSuggestList extends NileElement {
|
|
|
46
46
|
max-height: 240px;
|
|
47
47
|
overflow-y: auto;
|
|
48
48
|
padding: 4px;
|
|
49
|
-
background: var(--nile-wysiwyg-popover-bg,
|
|
50
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
49
|
+
background: var(--nile-wysiwyg-popover-bg, var(--ng-colors-bg-primary));
|
|
50
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
51
51
|
border-radius: 8px;
|
|
52
52
|
box-shadow: var(--nile-wysiwyg-popover-shadow, 0 4px 12px rgba(16, 24, 40, 0.12));
|
|
53
53
|
font-size: 13px;
|
|
@@ -61,22 +61,22 @@ export class NileWysiwygSuggestList extends NileElement {
|
|
|
61
61
|
padding: 6px 8px;
|
|
62
62
|
border-radius: 5px;
|
|
63
63
|
cursor: pointer;
|
|
64
|
-
color: var(--nile-colors-neutral-700,
|
|
64
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.item.active {
|
|
68
|
-
background: var(--nile-colors-primary-50, var(--ng-componentcolors-utility-blue-50
|
|
69
|
-
color: var(--nile-colors-primary-700, var(--ng-componentcolors-utility-blue-700
|
|
68
|
+
background: var(--nile-colors-primary-50, var(--ng-componentcolors-utility-blue-50));
|
|
69
|
+
color: var(--nile-colors-primary-700, var(--ng-componentcolors-utility-blue-700));
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.hint {
|
|
73
73
|
font-size: 11px;
|
|
74
|
-
color: var(--nile-colors-neutral-500,
|
|
74
|
+
color: var(--nile-colors-neutral-500, var(--ng-colors-text-quaternary-500));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.empty {
|
|
78
78
|
padding: 6px 8px;
|
|
79
|
-
color: var(--nile-colors-neutral-500,
|
|
79
|
+
color: var(--nile-colors-neutral-500, var(--ng-colors-text-quaternary-500));
|
|
80
80
|
}
|
|
81
81
|
`,
|
|
82
82
|
];
|
|
@@ -56,11 +56,11 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
56
56
|
border-radius: var(--nile-radius-radius-lg, var(--ng-radius-md, 8px));
|
|
57
57
|
background: transparent;
|
|
58
58
|
cursor: pointer;
|
|
59
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900
|
|
59
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
button.trigger:hover:not(:disabled) {
|
|
63
|
-
background: var(--nile-colors-neutral-100,
|
|
63
|
+
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
button.trigger:disabled {
|
|
@@ -74,8 +74,8 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
74
74
|
left: 0;
|
|
75
75
|
z-index: 30;
|
|
76
76
|
padding: 8px;
|
|
77
|
-
background: var(--nile-wysiwyg-popover-bg,
|
|
78
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
77
|
+
background: var(--nile-wysiwyg-popover-bg, var(--ng-colors-bg-primary));
|
|
78
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
79
79
|
border-radius: 8px;
|
|
80
80
|
box-shadow: var(--nile-wysiwyg-popover-shadow, 0 4px 12px rgba(16, 24, 40, 0.12));
|
|
81
81
|
}
|
|
@@ -88,22 +88,22 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
88
88
|
.cell {
|
|
89
89
|
width: 14px;
|
|
90
90
|
height: 14px;
|
|
91
|
-
border: 1px solid var(--nile-colors-neutral-300,
|
|
91
|
+
border: 1px solid var(--nile-colors-neutral-300, var(--ng-colors-border-primary));
|
|
92
92
|
border-radius: 2px;
|
|
93
93
|
box-sizing: border-box;
|
|
94
94
|
cursor: pointer;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.cell.hot {
|
|
98
|
-
background: var(--nile-colors-primary-100, var(--ng-componentcolors-utility-blue-100
|
|
99
|
-
border-color: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600
|
|
98
|
+
background: var(--nile-colors-primary-100, var(--ng-componentcolors-utility-blue-100));
|
|
99
|
+
border-color: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.label {
|
|
103
103
|
margin-top: 6px;
|
|
104
104
|
text-align: center;
|
|
105
105
|
font-size: 12px;
|
|
106
|
-
color: var(--nile-colors-neutral-600,
|
|
106
|
+
color: var(--nile-colors-neutral-600, var(--ng-colors-text-tertiary-600));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.custom {
|
|
@@ -112,19 +112,19 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
112
112
|
gap: 6px;
|
|
113
113
|
margin-top: 8px;
|
|
114
114
|
padding-top: 8px;
|
|
115
|
-
border-top: 1px solid var(--nile-colors-neutral-300,
|
|
115
|
+
border-top: 1px solid var(--nile-colors-neutral-300, var(--ng-colors-border-secondary));
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.custom input {
|
|
119
119
|
width: 44px;
|
|
120
120
|
height: 26px;
|
|
121
121
|
padding: 0 6px;
|
|
122
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
122
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
123
123
|
border-radius: 6px;
|
|
124
124
|
font-size: 12px;
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
text-align: center;
|
|
127
|
-
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900
|
|
127
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
|
|
128
128
|
font-family: inherit;
|
|
129
129
|
/* Hide native number spinners: they overlap the centered text in this
|
|
130
130
|
narrow field and a stray click on the arrows mutates the value. */
|
|
@@ -140,12 +140,12 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
140
140
|
|
|
141
141
|
.custom input:focus {
|
|
142
142
|
outline: none;
|
|
143
|
-
border-color: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600
|
|
143
|
+
border-color: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600));
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.custom .times {
|
|
147
147
|
font-size: 12px;
|
|
148
|
-
color: var(--nile-colors-neutral-600,
|
|
148
|
+
color: var(--nile-colors-neutral-600, var(--ng-colors-text-tertiary-600));
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.custom button.insert {
|
|
@@ -154,8 +154,8 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
154
154
|
padding: 0 12px;
|
|
155
155
|
border: none;
|
|
156
156
|
border-radius: 6px;
|
|
157
|
-
background: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600
|
|
158
|
-
color:
|
|
157
|
+
background: var(--nile-colors-primary-600, var(--ng-componentcolors-utility-blue-600));
|
|
158
|
+
color: var(--ng-colors-text-white);
|
|
159
159
|
font-size: 12px;
|
|
160
160
|
font-weight: 600;
|
|
161
161
|
font-family: inherit;
|
|
@@ -163,7 +163,7 @@ export class NileWysiwygTablePicker extends NileElement {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.custom button.insert:hover:not(:disabled) {
|
|
166
|
-
background: var(--nile-colors-primary-700,
|
|
166
|
+
background: var(--nile-colors-primary-700, var(--ng-componentcolors-utility-blue-700));
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.custom button.insert:disabled {
|
|
@@ -54,8 +54,8 @@ export class NileWysiwygTableMenu extends NileElement {
|
|
|
54
54
|
display: flex;
|
|
55
55
|
gap: 2px;
|
|
56
56
|
padding: 4px;
|
|
57
|
-
background: var(--nile-wysiwyg-popover-bg,
|
|
58
|
-
border: 1px solid var(--nile-colors-neutral-400,
|
|
57
|
+
background: var(--nile-wysiwyg-popover-bg, var(--ng-colors-bg-primary));
|
|
58
|
+
border: 1px solid var(--nile-colors-neutral-400, var(--ng-colors-border-primary));
|
|
59
59
|
border-radius: 8px;
|
|
60
60
|
box-shadow: var(--nile-wysiwyg-popover-shadow, 0 4px 12px rgba(16, 24, 40, 0.12));
|
|
61
61
|
}
|
|
@@ -73,11 +73,11 @@ export class NileWysiwygTableMenu extends NileElement {
|
|
|
73
73
|
cursor: pointer;
|
|
74
74
|
font-size: 12px;
|
|
75
75
|
font-weight: 600;
|
|
76
|
-
color: var(--nile-colors-neutral-700,
|
|
76
|
+
color: var(--nile-colors-neutral-700, var(--ng-colors-text-secondary-700));
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
button:hover {
|
|
80
|
-
background: var(--nile-colors-neutral-100,
|
|
80
|
+
background: var(--nile-colors-neutral-100, var(--ng-colors-bg-secondary));
|
|
81
81
|
}
|
|
82
82
|
`,
|
|
83
83
|
];
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
},
|
|
1098
1098
|
{
|
|
1099
1099
|
"name": "nile-code-editor",
|
|
1100
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `aboveCursor` {`boolean`} - \n\n * `tabCompletion` {`boolean`} - \n\n * `defaultFont` {`boolean`} - \n\n * `hideReadOnlyCursor` {`boolean`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `aboveCursor` {`boolean`} - \n\n * `tabCompletion` {`boolean`} - \n\n * `defaultFont` {`boolean`} - \n\n * `autoCompleteStyle` {`{ width?: string | undefined; multiline?: boolean | undefined; } | undefined`} - \n\n * `hideReadOnlyCursor` {`boolean`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `resizeObserver` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `autoCompletionComp` - \n\n * `autoCompleteStyleComp` - \n\n * `isSpacePressed` {`boolean`} - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
1100
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `aboveCursor` {`boolean`} - \n\n * `tabCompletion` {`boolean`} - \n\n * `defaultFont` {`boolean`} - \n\n * `hideReadOnlyCursor` {`boolean`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `enableSearch` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `aboveCursor` {`boolean`} - \n\n * `tabCompletion` {`boolean`} - \n\n * `defaultFont` {`boolean`} - \n\n * `autoCompleteStyle` {`{ width?: string | undefined; multiline?: boolean | undefined; } | undefined`} - \n\n * `hideReadOnlyCursor` {`boolean`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `resizeObserver` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `autoCompletionComp` - \n\n * `autoCompleteStyleComp` - \n\n * `darkThemeComp` - \n\n * `isSpacePressed` {`boolean`} - \n\n * `themeObserver` {`MutationObserver | undefined`} - \n\n * `colorSchemeQuery` {`MediaQueryList | undefined`} - \n\n * `onThemeChange` - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
1101
1101
|
"attributes": [
|
|
1102
1102
|
{
|
|
1103
1103
|
"name": "value",
|
|
@@ -7525,6 +7525,98 @@
|
|
|
7525
7525
|
}
|
|
7526
7526
|
]
|
|
7527
7527
|
},
|
|
7528
|
+
{
|
|
7529
|
+
"name": "nile-timestamp-builder",
|
|
7530
|
+
"description": "Events:\n\n * `nile-init` {} - Emitted when the component is added to the DOM.\n\n * `nile-destroy` {} - Emitted when the component is removed from the DOM.\n\n * `nile-change` {} - Emitted when the value is committed.\n\n * `nile-input` {} - Emitted as fields change, before the value is committed.\n\n * `nile-expand` {} - Emitted when the editor opens.\n\n * `nile-collapse` {} - Emitted when the editor closes.\n\n * `nile-copy` {} - Emitted after the value is written to the clipboard.\n\n * `nile-copy-error` {} - Emitted when the clipboard write is refused.\n\nAttributes:\n\n * `timezone` {`string`} - \n\n * `readonly` {`boolean`} - \n\n * `copyable` {`boolean`} - \n\n * `open` {`boolean`} - \n\n * `label` {`string`} - \n\n * `minYear` {`number`} - \n\n * `maxYear` {`number`} - \n\n * `name` {`string`} - \n\n * `value` {`Date | null`} - \n\n * `disabled` {`boolean`} - \n\n * `form` {`string`} - \n\n * `required` {`boolean`} - \n\nProperties:\n\n * `formControlController` - \n\n * `internalValueUpdate` {`boolean`} - \n\n * `internalTimezoneUpdate` {`boolean`} - \n\n * `valueInput` {`HTMLInputElement`} - \n\n * `_value` {`Date | null`} - \n\n * `timezone` {`string`} - \n\n * `readonly` {`boolean`} - \n\n * `copyable` {`boolean`} - \n\n * `open` {`boolean`} - \n\n * `label` {`string`} - \n\n * `minYear` {`number`} - \n\n * `maxYear` {`number`} - \n\n * `wallClock` {`WallClock`} - \n\n * `timezoneList` {`string[]`} - \n\n * `hasValue` {`boolean`} - \n\n * `justCopied` {`boolean`} - \n\n * `handleSetNow` - \n\n * `handleCopy` - Copies the canonical zoned value\n\n * `handleStageNow` - \n\n * `handleUseLocalTz` - \n\n * `handleUseUtc` - \n\n * `DOUBLE_TAP_MS` {`300`} - Touch input has no reliable `dblclick`, so double-taps are timed by hand.\n\n * `COPIED_FEEDBACK_MS` {`1600`} - \n\n * `lastTapAt` {`number`} - \n\n * `copiedTimer` {`number`} - \n\n * `handleDisplayDoubleClick` - \n\n * `handleDisplayPointerUp` - \n\n * `handleDisplayKeyDown` - Keyboard equivalent of the double-click/double-tap edit affordance.\n\n * `handleEdit` - \n\n * `handleDone` - \n\n * `name` {`string`} - \n\n * `value` {`Date | null`} - \n\n * `disabled` {`boolean`} - \n\n * `defaultValue` {`Date | null`} - \n\n * `defaultChecked` {`boolean | undefined`} - \n\n * `form` {`string`} - \n\n * `pattern` {`string | undefined`} - \n\n * `min` {`string | number | Date | undefined`} - \n\n * `max` {`string | number | Date | undefined`} - \n\n * `step` {`number | \"any\" | undefined`} - \n\n * `required` {`boolean`} - \n\n * `minlength` {`number | undefined`} - \n\n * `maxlength` {`number | undefined`} - \n\n * `validity` {`ValidityState`} - \n\n * `validationMessage` {`string`} - \n\n * `checkValidity` - \n\n * `getForm` - \n\n * `reportValidity` - \n\n * `setCustomValidity` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
7531
|
+
"attributes": [
|
|
7532
|
+
{
|
|
7533
|
+
"name": "timezone",
|
|
7534
|
+
"description": "`timezone` {`string`} - \n\nProperty: timezone\n\nDefault: getLocalTimeZone()"
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"name": "readonly",
|
|
7538
|
+
"description": "`readonly` {`boolean`} - \n\nProperty: readonly\n\nDefault: false",
|
|
7539
|
+
"valueSet": "v"
|
|
7540
|
+
},
|
|
7541
|
+
{
|
|
7542
|
+
"name": "copyable",
|
|
7543
|
+
"description": "`copyable` {`boolean`} - \n\nProperty: copyable\n\nDefault: false",
|
|
7544
|
+
"valueSet": "v"
|
|
7545
|
+
},
|
|
7546
|
+
{
|
|
7547
|
+
"name": "open",
|
|
7548
|
+
"description": "`open` {`boolean`} - \n\nProperty: open\n\nDefault: false",
|
|
7549
|
+
"valueSet": "v"
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
"name": "label",
|
|
7553
|
+
"description": "`label` {`string`} - \n\nProperty: label\n\nDefault: "
|
|
7554
|
+
},
|
|
7555
|
+
{
|
|
7556
|
+
"name": "minYear",
|
|
7557
|
+
"description": "`minYear` {`number`} - \n\nProperty: minYear\n\nDefault: 1"
|
|
7558
|
+
},
|
|
7559
|
+
{
|
|
7560
|
+
"name": "maxYear",
|
|
7561
|
+
"description": "`maxYear` {`number`} - \n\nProperty: maxYear\n\nDefault: 9999"
|
|
7562
|
+
},
|
|
7563
|
+
{
|
|
7564
|
+
"name": "name",
|
|
7565
|
+
"description": "`name` {`string`} - \n\nProperty: name\n\nDefault: "
|
|
7566
|
+
},
|
|
7567
|
+
{
|
|
7568
|
+
"name": "value",
|
|
7569
|
+
"description": "`value` {`Date | null`} - \n\nProperty: value",
|
|
7570
|
+
"values": []
|
|
7571
|
+
},
|
|
7572
|
+
{
|
|
7573
|
+
"name": "disabled",
|
|
7574
|
+
"description": "`disabled` {`boolean`} - \n\nProperty: disabled\n\nDefault: false",
|
|
7575
|
+
"valueSet": "v"
|
|
7576
|
+
},
|
|
7577
|
+
{
|
|
7578
|
+
"name": "form",
|
|
7579
|
+
"description": "`form` {`string`} - \n\nProperty: form\n\nDefault: "
|
|
7580
|
+
},
|
|
7581
|
+
{
|
|
7582
|
+
"name": "required",
|
|
7583
|
+
"description": "`required` {`boolean`} - \n\nProperty: required\n\nDefault: false",
|
|
7584
|
+
"valueSet": "v"
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
"name": "onnile-init",
|
|
7588
|
+
"description": "`nile-init` {} - Emitted when the component is added to the DOM."
|
|
7589
|
+
},
|
|
7590
|
+
{
|
|
7591
|
+
"name": "onnile-destroy",
|
|
7592
|
+
"description": "`nile-destroy` {} - Emitted when the component is removed from the DOM."
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"name": "onnile-change",
|
|
7596
|
+
"description": "`nile-change` {} - Emitted when the value is committed."
|
|
7597
|
+
},
|
|
7598
|
+
{
|
|
7599
|
+
"name": "onnile-input",
|
|
7600
|
+
"description": "`nile-input` {} - Emitted as fields change, before the value is committed."
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
"name": "onnile-expand",
|
|
7604
|
+
"description": "`nile-expand` {} - Emitted when the editor opens."
|
|
7605
|
+
},
|
|
7606
|
+
{
|
|
7607
|
+
"name": "onnile-collapse",
|
|
7608
|
+
"description": "`nile-collapse` {} - Emitted when the editor closes."
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
"name": "onnile-copy",
|
|
7612
|
+
"description": "`nile-copy` {} - Emitted after the value is written to the clipboard."
|
|
7613
|
+
},
|
|
7614
|
+
{
|
|
7615
|
+
"name": "onnile-copy-error",
|
|
7616
|
+
"description": "`nile-copy-error` {} - Emitted when the clipboard write is refused."
|
|
7617
|
+
}
|
|
7618
|
+
]
|
|
7619
|
+
},
|
|
7528
7620
|
{
|
|
7529
7621
|
"name": "nile-title",
|
|
7530
7622
|
"description": "Nile title component.\n\nAttributes:\n\n * `headerText` {`string`} - \n\n * `pageTitle` {`string`} - \n\nProperties:\n\n * `headerText` {`string`} - \n\n * `pageTitle` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
@@ -8124,7 +8216,7 @@
|
|
|
8124
8216
|
},
|
|
8125
8217
|
{
|
|
8126
8218
|
"name": "nile-wysiwyg-editor",
|
|
8127
|
-
"description": "WYSIWYG rich text editor powered by ProseMirror.\n\nRequires evergreen browsers: selection inside shadow DOM relies on\n`Selection.getComposedRanges()` (Safari 17+, recent Firefox) or Chrome's\n`shadowRoot.getSelection()`.\n\nEvents:\n\n * `nile-change` {} - Debounced content change. detail: { value, json, content }\n\n * `nile-input` {} - Every document change. detail: { value, json, content }\n\n * `nile-focus` {} - Editor gained focus.\n\n * `nile-blur` {} - Editor lost focus.\n\n * `nile-selection-change` {} - detail: ToolbarState snapshot.\n\n * `nile-image-upload-request` {} - Cancelable. detail: { file, insert(src, alt) }.\nCall preventDefault() and use insert() to fully own the upload.\n\n * `nile-image-upload-error` {} - detail: { file, error } when uploadHandler rejects.\n\n * `nile-mention-query` {} - detail: { trigger, query, provide(items) } for async sources.\n\n * `nile-mention-select` {} - detail: { trigger, key, label } when a mention is inserted.\n\n * `nile-word-count` {} - detail: { words, characters } on every document change.\n\n * `nile-autosave` {} - detail: { value, json, content } on the autosave interval.\n\nAttributes:\n\n * `value` {`string`} - Document content as HTML. Not reflected to the attribute.\n\n * `placeholder` {`string`} - \n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `toolbar` {`string`} - Toolbar config string; `\"none\"` hides the toolbar.\n\n * `bubble-menu` {`boolean`} - Shows a balloon toolbar over text selections.\n\n * `sanitize` {`boolean`} - Sanitizes incoming HTML (value, paste, insertHTML). Leave on.\n\n * `singleline` {`boolean`} - Constrains content to a single paragraph.\n\n * `name` {`string`} - Form field name.\n\n * `required` {`boolean`} - \n\n * `upload-from-computer` {`boolean`} - Shows an \"Upload from computer\" button in the Insert Image dialog. Off by\ndefault (URL-only, like the RTE's default); files can always be added via\ndrag & drop or paste regardless.\n\n * `image-max-file-size` {`number`} - Max upload size (bytes) shown/enforced by the image dialog. Default 2 MB.\n\n * `mentions` - Mention config: trigger character → items, same shape and JSON attribute\nformat as nile-rich-text-editor. For async sources, configure the\ntrigger with an empty array and listen to nile-mention-query.\n\n * `no-slash-commands` {`boolean`} - Disables the \"/\" command menu.\n\n * `no-emoji` {`boolean`} - Disables the \":\" emoji picker.\n\n * `maxlength` {`number`} - Maximum character count; further input is rejected. 0 = unlimited.\n\n * `show-counter` {`boolean`} - Always show the word/character counter footer (implied by maxlength).\n\n * `sticky-toolbar` {`boolean`} - Keeps the toolbar pinned to the viewport while scrolling long content.\n\n * `snippets` {`SnippetConfig[]`} - Reusable snippets surfaced in the \"/\" menu (JSON attribute).\n\n * `merge-fields` {`MergeFieldConfig[]`} - Merge fields offered in the merge-field picker (JSON attribute).\n\n * `templates` {`TemplateConfig[]`} - Content templates offered in the template picker (JSON attribute).\n\n * `autosave-interval` {`number`} - Emit nile-autosave every N ms while the document has changed. 0 = off.\n\n * `paste-as-plain-text` {`boolean`} - When on, every paste drops formatting and inserts plain text.\n\n * `no-markdown-paste` {`boolean`} - Disables Markdown detection on plain-text pastes.\n\n * `no-text-transform` {`boolean`} - Disables typography autocorrect (smart quotes, dashes, (c) → ©).\n\n * `fullscreen` {`boolean`} - Expands the editor to fill the viewport. Esc exits.\n\n * `show-blocks` {`boolean`} - Outlines block boundaries (paragraphs, headings, lists…) while editing.\n\nProperties:\n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - Document content as HTML. Not reflected to the attribute.\n\n * `placeholder` {`string`} - \n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `toolbar` {`string`} - Toolbar config string; `\"none\"` hides the toolbar.\n\n * `authoredToolbar` {`AuthoredToolbarItem[] | undefined`} - Toolbar built from authored `<nile-wysiwyg-toolbar-item>` light-DOM\nchildren. When present it takes precedence over the `toolbar` string.\n\n * `authoredBubble` {`AuthoredToolbarItem[] | undefined`} - Bubble menu built from authored `<nile-wysiwyg-bubble-item>` light-DOM\nchildren. When present it replaces the built-in bold/italic/underline/\nstrike/link set.\n\n * `toolbarObserver` {`MutationObserver | undefined`} - Watches authored toolbar/bubble children so edits re-render them.\n\n * `bubbleMenu` {`boolean`} - Shows a balloon toolbar over text selections.\n\n * `sanitize` {`boolean`} - Sanitizes incoming HTML (value, paste, insertHTML). Leave on.\n\n * `singleLine` {`boolean`} - Constrains content to a single paragraph.\n\n * `name` {`string`} - Form field name.\n\n * `required` {`boolean`} - \n\n * `uploadHandler` - Async image upload handler. When set, pasted/dropped/picked image files\nare uploaded through it (an \"Uploading…\" placeholder shows meanwhile)\nand the returned src is inserted.\n\n * `allowBase64Images` {`boolean`} - Fallback when no uploadHandler is set and no nile-image-upload-request\nlistener takes over: embed image files as base64 data URLs.\n\n * `uploadFromComputer` {`boolean`} - Shows an \"Upload from computer\" button in the Insert Image dialog. Off by\ndefault (URL-only, like the RTE's default); files can always be added via\ndrag & drop or paste regardless.\n\n * `imageMaxFileSize` {`number`} - Max upload size (bytes) shown/enforced by the image dialog. Default 2 MB.\n\n * `mentions` - Mention config: trigger character → items, same shape and JSON attribute\nformat as nile-rich-text-editor. For async sources, configure the\ntrigger with an empty array and listen to nile-mention-query.\n\n * `noSlashCommands` {`boolean`} - Disables the \"/\" command menu.\n\n * `noEmoji` {`boolean`} - Disables the \":\" emoji picker.\n\n * `maxLength` {`number`} - Maximum character count; further input is rejected. 0 = unlimited.\n\n * `showCounter` {`boolean`} - Always show the word/character counter footer (implied by maxlength).\n\n * `stickyToolbar` {`boolean`} - Keeps the toolbar pinned to the viewport while scrolling long content.\n\n * `snippets` {`SnippetConfig[]`} - Reusable snippets surfaced in the \"/\" menu (JSON attribute).\n\n * `mergeFields` {`MergeFieldConfig[]`} - Merge fields offered in the merge-field picker (JSON attribute).\n\n * `templates` {`TemplateConfig[]`} - Content templates offered in the template picker (JSON attribute).\n\n * `mathRenderer` - Renders a math node's LaTeX to HTML (KaTeX/MathJax/MathML). When unset,\nthe raw LaTeX is shown. Same trust level as uploadHandler — output is\ninserted as HTML.\n\n * `autosaveInterval` {`number`} - Emit nile-autosave every N ms while the document has changed. 0 = off.\n\n * `pasteAsPlainText` {`boolean`} - When on, every paste drops formatting and inserts plain text.\n\n * `noMarkdownPaste` {`boolean`} - Disables Markdown detection on plain-text pastes.\n\n * `noTextTransform` {`boolean`} - Disables typography autocorrect (smart quotes, dashes, (c) → ©).\n\n * `fullscreen` {`boolean`} - Expands the editor to fill the viewport. Esc exits.\n\n * `showBlocks` {`boolean`} - Outlines block boundaries (paragraphs, headings, lists…) while editing.\n\n * `toolbarState` {`ToolbarState | undefined`} - \n\n * `hasFocus` {`boolean`} - \n\n * `sourceMode` {`boolean`} - \n\n * `counter` {`{ words: number; characters: number; }`} - \n\n * `insertMenuMode` {`\"template\" | \"merge\" | null`} - Which list the shared insert-menu is showing, if open.\n\n * `baseEl` {`HTMLElement`} - \n\n * `toolbarEl` {`HTMLElement | undefined`} - \n\n * `surfaceEl` {`HTMLElement`} - \n\n * `linkEditorEl` - \n\n * `bubbleMenuEl` - \n\n * `imagePanelEl` - \n\n * `tableMenuEl` - \n\n * `suggestListEl` - \n\n * `findBarEl` - \n\n * `sourceViewEl` - \n\n * `embedPanelEl` - \n\n * `bookmarkPanelEl` - \n\n * `codeMenuEl` - \n\n * `shortcutHelpEl` - \n\n * `imageMenuEl` - \n\n * `embedMenuEl` - \n\n * `specialCharsEl` - \n\n * `emojiPickerEl` - \n\n * `insertMenuEl` - \n\n * `mathPanelEl` - \n\n * `markdownPanelEl` - \n\n * `view` - \n\n * `mentionMatch` {`SuggestionMatch | null`} - \n\n * `slashMatch` {`SuggestionMatch | null`} - \n\n * `emojiMatch` {`SuggestionMatch | null`} - \n\n * `activeSuggestSource` {`\"mention\" | \"slash\" | \"emoji\" | null`} - \n\n * `suggestDismissed` {`string | null`} - \n\n * `mentionQueryToken` {`string`} - \n\n * `autosaveTimer` - \n\n * `lastAutosaveValue` {`string`} - \n\n * `internals` - \n\n * `defaultValue` {`string`} - \n\n * `syncingValue` {`boolean`} - \n\n * `changeTimer` - \n\n * `pendingChange` {`boolean`} - \n\n * `previousBodyOverflow` {`string | null`} - Body overflow value before fullscreen locked it; null = not locked.\n\n * `painterDragActive` {`boolean`} - True while a drag-selection is in progress with the format painter armed.\nSuppresses the mid-drag auto-apply in {@link handleTransaction} so the\ncopied formatting lands on the final, complete selection (on mouse-up).\n\n * `onPainterPointerDown` - \n\n * `onPainterPointerUp` - \n\n * `contentRoot` {`HTMLElement | null`} - The live, styled content element used as the source for exports.\n\n * `pmView` - The underlying ProseMirror EditorView. Advanced escape hatch.\n\n * `json` - Document as ProseMirror JSON.\n\n * `override` - \n\n * `floatingPanels` {`({ open: boolean; } | undefined)[]`} - The floating insert panels that should dismiss on outside interaction.\n\n * `onOutsidePointerDown` - Closes any open insert panel when the pointer goes down outside of it —\nwhether elsewhere in the editor (e.g. the content area) or off the widget.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
8219
|
+
"description": "WYSIWYG rich text editor powered by ProseMirror.\n\nRequires evergreen browsers: selection inside shadow DOM relies on\n`Selection.getComposedRanges()` (Safari 17+, recent Firefox) or Chrome's\n`shadowRoot.getSelection()`.\n\nEvents:\n\n * `nile-change` {} - Debounced content change. detail: { value, json, content }\n\n * `nile-input` {} - Every document change. detail: { value, json, content }\n\n * `nile-focus` {} - Editor gained focus.\n\n * `nile-blur` {} - Editor lost focus.\n\n * `nile-selection-change` {} - detail: ToolbarState snapshot.\n\n * `nile-image-upload-request` {} - Cancelable. detail: { file, insert(src, alt) }.\nCall preventDefault() and use insert() to fully own the upload.\n\n * `nile-image-upload-error` {} - detail: { file, error } when uploadHandler rejects.\n\n * `nile-mention-query` {} - detail: { trigger, query, provide(items) } for async sources.\n\n * `nile-mention-select` {} - detail: { trigger, key, label } when a mention is inserted.\n\n * `nile-word-count` {} - detail: { words, characters } on every document change.\n\n * `nile-autosave` {} - detail: { value, json, content } on the autosave interval.\n\nAttributes:\n\n * `value` {`string`} - Document content as HTML. Not reflected to the attribute.\n\n * `placeholder` {`string`} - \n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `toolbar` {`string`} - Toolbar config string; `\"none\"` hides the toolbar.\n\n * `bubble-menu` {`boolean`} - Shows a balloon toolbar over text selections.\n\n * `sanitize` {`boolean`} - Sanitizes incoming HTML (value, paste, insertHTML). Leave on.\n\n * `singleline` {`boolean`} - Constrains content to a single paragraph.\n\n * `name` {`string`} - Form field name.\n\n * `required` {`boolean`} - \n\n * `upload-from-computer` {`boolean`} - Shows an \"Upload from computer\" button in the Insert Image dialog. Off by\ndefault (URL-only, like the RTE's default); files can always be added via\ndrag & drop or paste regardless.\n\n * `image-max-file-size` {`number`} - Max upload size (bytes) shown/enforced by the image dialog. Default 2 MB.\n\n * `mentions` - Mention config: trigger character → items, same shape and JSON attribute\nformat as nile-rich-text-editor. For async sources, configure the\ntrigger with an empty array and listen to nile-mention-query.\n\n * `no-slash-commands` {`boolean`} - Disables the \"/\" command menu.\n\n * `no-emoji` {`boolean`} - Disables the \":\" emoji picker.\n\n * `maxlength` {`number`} - Maximum character count; further input is rejected. 0 = unlimited.\n\n * `show-counter` {`boolean`} - Always show the word/character counter footer (implied by maxlength).\n\n * `sticky-toolbar` {`boolean`} - Keeps the toolbar pinned to the viewport while scrolling long content.\n\n * `snippets` {`SnippetConfig[]`} - Reusable snippets surfaced in the \"/\" menu (JSON attribute).\n\n * `merge-fields` {`MergeFieldConfig[]`} - Merge fields offered in the merge-field picker (JSON attribute).\n\n * `templates` {`TemplateConfig[]`} - Content templates offered in the template picker (JSON attribute).\n\n * `autosave-interval` {`number`} - Emit nile-autosave every N ms while the document has changed. 0 = off.\n\n * `paste-as-plain-text` {`boolean`} - When on, every paste drops formatting and inserts plain text.\n\n * `no-markdown-paste` {`boolean`} - Disables Markdown detection on plain-text pastes.\n\n * `no-text-transform` {`boolean`} - Disables typography autocorrect (smart quotes, dashes, (c) → ©).\n\n * `fullscreen` {`boolean`} - Expands the editor to fill the viewport. Esc exits.\n\n * `show-blocks` {`boolean`} - Outlines block boundaries (paragraphs, headings, lists…) while editing.\n\nProperties:\n\n * `formAssociated` {`boolean`} - \n\n * `value` {`string`} - Document content as HTML. Not reflected to the attribute.\n\n * `placeholder` {`string`} - \n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `toolbar` {`string`} - Toolbar config string; `\"none\"` hides the toolbar.\n\n * `authoredToolbar` {`AuthoredToolbarItem[] | undefined`} - Toolbar built from authored `<nile-wysiwyg-toolbar-item>` light-DOM\nchildren. When present it takes precedence over the `toolbar` string.\n\n * `authoredBubble` {`AuthoredToolbarItem[] | undefined`} - Bubble menu built from authored `<nile-wysiwyg-bubble-item>` light-DOM\nchildren. When present it replaces the built-in bold/italic/underline/\nstrike/link set.\n\n * `toolbarObserver` {`MutationObserver | undefined`} - Watches authored toolbar/bubble children so edits re-render them.\n\n * `bubbleMenu` {`boolean`} - Shows a balloon toolbar over text selections.\n\n * `sanitize` {`boolean`} - Sanitizes incoming HTML (value, paste, insertHTML). Leave on.\n\n * `singleLine` {`boolean`} - Constrains content to a single paragraph.\n\n * `name` {`string`} - Form field name.\n\n * `required` {`boolean`} - \n\n * `uploadHandler` - Async image upload handler. When set, pasted/dropped/picked image files\nare uploaded through it (an \"Uploading…\" placeholder shows meanwhile)\nand the returned src is inserted.\n\n * `allowBase64Images` {`boolean`} - Fallback when no uploadHandler is set and no nile-image-upload-request\nlistener takes over: embed image files as base64 data URLs.\n\n * `uploadFromComputer` {`boolean`} - Shows an \"Upload from computer\" button in the Insert Image dialog. Off by\ndefault (URL-only, like the RTE's default); files can always be added via\ndrag & drop or paste regardless.\n\n * `imageMaxFileSize` {`number`} - Max upload size (bytes) shown/enforced by the image dialog. Default 2 MB.\n\n * `mentions` - Mention config: trigger character → items, same shape and JSON attribute\nformat as nile-rich-text-editor. For async sources, configure the\ntrigger with an empty array and listen to nile-mention-query.\n\n * `noSlashCommands` {`boolean`} - Disables the \"/\" command menu.\n\n * `noEmoji` {`boolean`} - Disables the \":\" emoji picker.\n\n * `maxLength` {`number`} - Maximum character count; further input is rejected. 0 = unlimited.\n\n * `showCounter` {`boolean`} - Always show the word/character counter footer (implied by maxlength).\n\n * `stickyToolbar` {`boolean`} - Keeps the toolbar pinned to the viewport while scrolling long content.\n\n * `snippets` {`SnippetConfig[]`} - Reusable snippets surfaced in the \"/\" menu (JSON attribute).\n\n * `mergeFields` {`MergeFieldConfig[]`} - Merge fields offered in the merge-field picker (JSON attribute).\n\n * `templates` {`TemplateConfig[]`} - Content templates offered in the template picker (JSON attribute).\n\n * `mathRenderer` - Renders a math node's LaTeX to HTML (KaTeX/MathJax/MathML). When unset,\nthe raw LaTeX is shown. Same trust level as uploadHandler — output is\ninserted as HTML.\n\n * `autosaveInterval` {`number`} - Emit nile-autosave every N ms while the document has changed. 0 = off.\n\n * `pasteAsPlainText` {`boolean`} - When on, every paste drops formatting and inserts plain text.\n\n * `noMarkdownPaste` {`boolean`} - Disables Markdown detection on plain-text pastes.\n\n * `noTextTransform` {`boolean`} - Disables typography autocorrect (smart quotes, dashes, (c) → ©).\n\n * `fullscreen` {`boolean`} - Expands the editor to fill the viewport. Esc exits.\n\n * `showBlocks` {`boolean`} - Outlines block boundaries (paragraphs, headings, lists…) while editing.\n\n * `toolbarState` {`ToolbarState | undefined`} - \n\n * `hasFocus` {`boolean`} - \n\n * `sourceMode` {`boolean`} - \n\n * `counter` {`{ words: number; characters: number; }`} - \n\n * `insertMenuMode` {`\"template\" | \"merge\" | null`} - Which list the shared insert-menu is showing, if open.\n\n * `baseEl` {`HTMLElement`} - \n\n * `toolbarEl` {`HTMLElement | undefined`} - \n\n * `surfaceEl` {`HTMLElement`} - \n\n * `linkEditorEl` - \n\n * `bubbleMenuEl` - \n\n * `imagePanelEl` - \n\n * `tableMenuEl` - \n\n * `suggestListEl` - \n\n * `findBarEl` - \n\n * `sourceViewEl` - \n\n * `embedPanelEl` - \n\n * `bookmarkPanelEl` - \n\n * `codeMenuEl` - \n\n * `shortcutHelpEl` - \n\n * `imageMenuEl` - \n\n * `embedMenuEl` - \n\n * `specialCharsEl` - \n\n * `emojiPickerEl` - \n\n * `insertMenuEl` - \n\n * `mathPanelEl` - \n\n * `markdownPanelEl` - \n\n * `view` - \n\n * `mentionMatch` {`SuggestionMatch | null`} - \n\n * `slashMatch` {`SuggestionMatch | null`} - \n\n * `emojiMatch` {`SuggestionMatch | null`} - \n\n * `activeSuggestSource` {`\"mention\" | \"slash\" | \"emoji\" | null`} - \n\n * `suggestDismissed` {`string | null`} - \n\n * `mentionQueryToken` {`string`} - \n\n * `autosaveTimer` - \n\n * `lastAutosaveValue` {`string`} - \n\n * `internals` - \n\n * `defaultValue` {`string`} - \n\n * `syncingValue` {`boolean`} - \n\n * `changeTimer` - \n\n * `pendingChange` {`boolean`} - \n\n * `previousBodyOverflow` {`string | null`} - Body overflow value before fullscreen locked it; null = not locked.\n\n * `onAnyScroll` - \n\n * `painterDragActive` {`boolean`} - True while a drag-selection is in progress with the format painter armed.\nSuppresses the mid-drag auto-apply in {@link handleTransaction} so the\ncopied formatting lands on the final, complete selection (on mouse-up).\n\n * `onPainterPointerDown` - \n\n * `onPainterPointerUp` - \n\n * `contentRoot` {`HTMLElement | null`} - The live, styled content element used as the source for exports.\n\n * `pmView` - The underlying ProseMirror EditorView. Advanced escape hatch.\n\n * `json` - Document as ProseMirror JSON.\n\n * `override` - \n\n * `floatingPanels` {`({ open: boolean; } | undefined)[]`} - The floating insert panels that should dismiss on outside interaction.\n\n * `onOutsidePointerDown` - Closes any open insert panel when the pointer goes down outside of it —\nwhether elsewhere in the editor (e.g. the content area) or off the widget.\n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
|
8128
8220
|
"attributes": [
|
|
8129
8221
|
{
|
|
8130
8222
|
"name": "value",
|