@ngstarter-ui/components 22.0.6 → 22.1.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.
@@ -2127,39 +2127,39 @@
2127
2127
  "exampleTopics": [
2128
2128
  "Basic Comment Editor",
2129
2129
  "Toolbar Always Visible",
2130
+ "Full View Mode",
2130
2131
  "Cancel Button Always Visible",
2131
2132
  "Custom Button Labels",
2132
- "Full View Mode",
2133
2133
  "Upload Error",
2134
2134
  "Max Content Height",
2135
- "Custom Icons",
2135
+ "Custom Projected Controls",
2136
2136
  "Comment editor with toolbar",
2137
+ "Comment editor with full view mode",
2137
2138
  "Comment editor cancel button always visible",
2138
2139
  "Comment editor custom button labels",
2139
- "Comment editor with full view mode",
2140
2140
  "Comment editor with upload error",
2141
2141
  "Comment editor with max content height",
2142
2142
  "Comment editor with custom icons"
2143
2143
  ],
2144
- "minimalExample": "<ngs-comment-editor #editor [imageUploadFn]=\"uploadFn\" (sent)=\"onSent($event)\"\n class=\"rounded-xl border border-border\">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code Block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon name=\"fluent:code-block-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTool\n...",
2144
+ "minimalExample": "<ngs-comment-editor\n #editor\n class=\"rounded-xl border border-border\"\n [imageUploadFn]=\"uploadImage\"\n (submitted)=\"onSubmitted($event)\"\n (sent)=\"onSent($event)\">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bullet list\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered list\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon name=\"fluent:code-block-24-regular\"/>\n </button>\n <ngs-comment-editor-divider/>\n <but\n...",
2145
2145
  "exampleFiles": [
2146
2146
  {
2147
2147
  "name": "basic-comment-editor-example",
2148
2148
  "title": "Basic comment editor",
2149
2149
  "file": "projects/docs/src/app/components/comment-editor/_examples/basic-comment-editor-example/basic-comment-editor-example.html",
2150
- "source": "<ngs-comment-editor #editor [imageUploadFn]=\"uploadFn\" (sent)=\"onSent($event)\"\n class=\"rounded-xl border border-border\">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code Block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon name=\"fluent:code-block-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTool\n..."
2150
+ "source": "<ngs-comment-editor\n #editor\n class=\"rounded-xl border border-border\"\n [imageUploadFn]=\"uploadImage\"\n (submitted)=\"onSubmitted($event)\"\n (sent)=\"onSent($event)\">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bullet list\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered list\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon name=\"fluent:code-block-24-regular\"/>\n </button>\n <ngs-comment-editor-divider/>\n <but\n..."
2151
2151
  },
2152
2152
  {
2153
2153
  "name": "comment-editor-cancel-button-always-visible-example",
2154
2154
  "title": "Comment editor cancel button always visible",
2155
2155
  "file": "projects/docs/src/app/components/comment-editor/_examples/comment-editor-cancel-button-always-visible-example/comment-editor-cancel-button-always-visible-example.html",
2156
- "source": "<ngs-comment-editor #editor cancelButtonAlwaysVisible [imageUploadFn]=\"uploadFn\" (sent)=\"onSent($event)\"\n class=\"rounded-xl border border-border \">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code Block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon name=\"fluent:code-block-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <b\n..."
2156
+ "source": "<ngs-comment-editor\n class=\"rounded-xl border border-border\"\n cancelButtonAlwaysVisible/>"
2157
2157
  },
2158
2158
  {
2159
2159
  "name": "comment-editor-custom-button-labels-example",
2160
2160
  "title": "Comment editor custom button labels",
2161
2161
  "file": "projects/docs/src/app/components/comment-editor/_examples/comment-editor-custom-button-labels-example/comment-editor-custom-button-labels-example.html",
2162
- "source": "<ngs-comment-editor #editor buttonCancelLabel=\"Close\" buttonSendLabel=\"Reply\"\n cancelButtonAlwaysVisible\n [imageUploadFn]=\"uploadFn\" (sent)=\"onSent($event)\"\n class=\"rounded-xl border border-border \">\n <ngs-comment-editor-toolbar>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsCommentEditorCommand ngsCommentEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsCommentEditorCommand ngsCommentEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsCommentEditorCommand ngsCommentEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-comment-editor-divider />\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsCommentEditorCommand ngsCommentEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsCommentEditorCommand ngsCommentEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\"\n ngsCommentEditorCommand ngsCommentEditorCommandBlockquote>\n <ngs-icon name=\"fluent:text-quote-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Code Block\"\n ngsCommentEditorCommand ngsCommentEditorCommandCodeBlock>\n <ngs-icon nam\n..."
2162
+ "source": "<ngs-comment-editor class=\"rounded-xl border border-border\"\n buttonCancelLabel=\"Discard\"\n buttonSendLabel=\"Post reply\"\n cancelButtonAlwaysVisible/>"
2163
2163
  }
2164
2164
  ],
2165
2165
  "previewAsset": "projects/components/comment-editor/preview.svg",
@@ -2183,20 +2183,17 @@
2183
2183
  "ngs-comment-editor-bubble-menu",
2184
2184
  "ngs-comment-editor-divider",
2185
2185
  "ngs-comment-editor-footer-bar",
2186
+ "ngs-comment-editor-link-dialog",
2186
2187
  "ngs-comment-editor-toolbar",
2187
- "ngs-image-uploading-placeholder",
2188
- "ngs-link",
2189
- "ngs-youtube"
2188
+ "ngs-comment-editor-youtube-dialog"
2190
2189
  ],
2191
2190
  "exportedSymbols": [
2192
- "AngularNodeView",
2193
- "AngularNodeViewRenderer",
2194
- "AngularRenderer",
2195
2191
  "COMMENT_EDITOR",
2196
2192
  "COMMENT_EDITOR_BUBBLE_MENU",
2197
2193
  "CommentEditor",
2198
2194
  "CommentEditorAPI",
2199
2195
  "CommentEditorBubbleMenu",
2196
+ "CommentEditorCommandBase",
2200
2197
  "CommentEditorCommandBlockquoteDirective",
2201
2198
  "CommentEditorCommandBoldDirective",
2202
2199
  "CommentEditorCommandBulletListDirective",
@@ -2215,50 +2212,65 @@
2215
2212
  "CommentEditorDivider",
2216
2213
  "CommentEditorFooterBar",
2217
2214
  "CommentEditorInterface",
2215
+ "CommentEditorMediaAttributes",
2216
+ "commentEditorPlugin",
2218
2217
  "CommentEditorToolbar",
2219
- "ImageUploadingPlaceholder",
2218
+ "createCommentEditorMediaBlock",
2220
2219
  "LinkDialog",
2221
- "SingleEmoji",
2220
+ "NGS_COMMENT_EDITOR_SET_LINK",
2221
+ "NGS_COMMENT_EDITOR_TOGGLE_BLOCKQUOTE",
2222
+ "NGS_COMMENT_EDITOR_TOGGLE_BULLET_LIST",
2223
+ "NGS_COMMENT_EDITOR_TOGGLE_CODE_BLOCK",
2224
+ "NGS_COMMENT_EDITOR_TOGGLE_ORDERED_LIST",
2225
+ "NGS_COMMENT_EDITOR_UNSET_LINK",
2226
+ "normalizeLinkUrl",
2227
+ "normalizeYoutubeUrl",
2228
+ "serializeCommentEditorDocument",
2222
2229
  "YoutubeDialog"
2223
2230
  ],
2224
2231
  "inputs": [
2232
+ "allowEmpty",
2225
2233
  "allowEmptyContent",
2234
+ "ariaLabel",
2226
2235
  "autoClear",
2227
2236
  "buttonCancelLabel",
2228
2237
  "buttonSendLabel",
2238
+ "buttonSubmitLabel",
2229
2239
  "cancelButtonAlwaysVisible",
2230
2240
  "contentMaxHeight",
2231
- "decorations",
2232
- "deleteNode",
2233
- "editor",
2234
- "extension",
2241
+ "disabled",
2235
2242
  "fullViewMode",
2236
- "getPos",
2237
- "innerDecorations",
2238
2243
  "loading",
2239
- "node",
2240
2244
  "placeholder",
2241
- "selected",
2245
+ "plugins",
2246
+ "readOnly",
2242
2247
  "toolbarAlwaysVisible",
2243
- "updateAttributes",
2244
- "view"
2248
+ "value"
2245
2249
  ],
2246
2250
  "outputs": [
2247
2251
  "canceled",
2248
2252
  "fileSelected",
2249
- "sent"
2253
+ "sent",
2254
+ "submitted"
2250
2255
  ],
2251
2256
  "cssTokens": [
2252
2257
  "--ngs-color-border",
2258
+ "--ngs-color-danger",
2253
2259
  "--ngs-color-neutral-100",
2254
2260
  "--ngs-color-neutral-200",
2255
2261
  "--ngs-color-neutral-300",
2256
2262
  "--ngs-color-neutral-500",
2263
+ "--ngs-color-neutral-600",
2257
2264
  "--ngs-color-neutral-650",
2258
2265
  "--ngs-color-neutral-700",
2266
+ "--ngs-color-neutral-800",
2259
2267
  "--ngs-color-neutral-900",
2260
2268
  "--ngs-color-neutral-950",
2269
+ "--ngs-color-on-danger",
2270
+ "--ngs-color-on-surface",
2261
2271
  "--ngs-color-primary",
2272
+ "--ngs-color-surface-container-high",
2273
+ "--ngs-color-surface-container-highest",
2262
2274
  "--ngs-color-tertiary-100",
2263
2275
  "--ngs-color-tertiary-200",
2264
2276
  "--ngs-color-tertiary-300",
@@ -2266,10 +2278,17 @@
2266
2278
  "--ngs-color-tertiary-800",
2267
2279
  "--ngs-comment-editor-bg",
2268
2280
  "--ngs-comment-editor-content-max-height",
2269
- "--ngs-dropdown-bg",
2281
+ "--ngs-font-family-mono",
2282
+ "--ngs-font-size-3xl",
2283
+ "--ngs-font-size-sm",
2270
2284
  "--ngs-font-size-xl",
2285
+ "--ngs-font-size-xs",
2271
2286
  "--ngs-icon-size",
2287
+ "--ngs-line-height-base",
2288
+ "--ngs-radius-md",
2289
+ "--ngs-radius-sm",
2272
2290
  "--ngs-radius-xl",
2291
+ "--ngs-radius-xs",
2273
2292
  "--ngs-shadow-sm"
2274
2293
  ],
2275
2294
  "example": null
@@ -4904,6 +4923,209 @@
4904
4923
  ],
4905
4924
  "example": null
4906
4925
  },
4926
+ {
4927
+ "name": "headless-editor",
4928
+ "title": "Headless Editor",
4929
+ "overviewName": "Headless Editor",
4930
+ "category": "libraries",
4931
+ "package": "@ngstarter-ui/components",
4932
+ "importPath": "@ngstarter-ui/components/headless-editor",
4933
+ "publicApi": "projects/components/headless-editor/public-api.ts",
4934
+ "sourceRoot": "projects/components/headless-editor/src",
4935
+ "docsPath": "/libraries/headless-editor",
4936
+ "docsOverviewSource": "projects/docs/src/app/libraries/headless-editor/overview/overview.html",
4937
+ "purpose": "Headless Editor is the rich text engine behind NgStarter editors.",
4938
+ "useWhen": "Choose Headless Editor when the workflow matches examples such as Headless Editor, Live example, When to use it, How it fits together, Features.",
4939
+ "exampleTopics": [
4940
+ "Headless Editor",
4941
+ "Live example",
4942
+ "When to use it",
4943
+ "How it fits together",
4944
+ "Features",
4945
+ "Guides",
4946
+ "Toolbar editor",
4947
+ "Bare editor",
4948
+ "Blocks editor",
4949
+ "Bubble menu",
4950
+ "Component block",
4951
+ "Custom plugin",
4952
+ "Forms serialization",
4953
+ "Json inspector",
4954
+ "Mentions editor",
4955
+ "Plugin editor",
4956
+ "Selection history",
4957
+ "Table editor"
4958
+ ],
4959
+ "minimalExample": "<div\n ngsHeadlessEditorSurface\n ariaLabel=\"Bare custom editor\"\n placeholder=\"Start typing…\">\n</div>\n<details>\n <summary>Current JSON document</summary>\n <pre>{{ editor.document() | json }}</pre>\n</details>",
4960
+ "exampleFiles": [
4961
+ {
4962
+ "name": "bare-editor-example",
4963
+ "title": "Bare editor",
4964
+ "file": "projects/docs/src/app/libraries/headless-editor/_examples/bare-editor-example/bare-editor-example.html",
4965
+ "source": "<div\n ngsHeadlessEditorSurface\n ariaLabel=\"Bare custom editor\"\n placeholder=\"Start typing…\">\n</div>\n<details>\n <summary>Current JSON document</summary>\n <pre>{{ editor.document() | json }}</pre>\n</details>"
4966
+ },
4967
+ {
4968
+ "name": "blocks-editor-example",
4969
+ "title": "Blocks editor",
4970
+ "file": "projects/docs/src/app/libraries/headless-editor/_examples/blocks-editor-example/blocks-editor-example.html",
4971
+ "source": "<div class=\"toolbar\">\n @for (item of types; track item.type) {\n <button ngsButton=\"outlined\" [ngsHeadlessEditorCommand]=\"setBlockType\" [commandData]=\"item.type\">\n {{ item.label }}\n </button>\n }\n <button ngsButton=\"outlined\" (mousedown)=\"$event.preventDefault()\" (click)=\"insertDivider()\">\n Insert divider\n </button>\n</div>\n<div class=\"surface\" ngsHeadlessEditorSurface ariaLabel=\"Checklist editor\"></div>\n<div class=\"mt-4 overflow-x-auto rounded-xl border border-border\">\n <table ngs-table [dataSource]=\"editor.document().blocks\" [trackBy]=\"trackBlock\">\n <ng-container ngsColumnDef=\"type\">\n <th ngs-header-cell *ngsHeaderCellDef>Type</th>\n <td ngs-cell *ngsCellDef=\"let block\"><code>{{ block.type }}</code></td>\n </ng-container>\n <ng-container ngsColumnDef=\"text\">\n <th ngs-header-cell *ngsHeaderCellDef>Text</th>\n <td ngs-cell *ngsCellDef=\"let block\">{{ blockText(block) || '—' }}</td>\n </ng-container>\n <ng-container ngsColumnDef=\"actions\">\n <th ngs-header-cell *ngsHeaderCellDef><span class=\"sr-only\">Actions</span></th>\n <td ngs-cell *ngsCellDef=\"let block\">\n <button ngsButton=\"text\" (click)=\"remove(block)\">Remove</button>\n </td>\n </ng-container>\n <tr ngs-header-row *ngsHeaderRowDef=\"displayedColumns\"></tr>\n <tr ngs-row *ngsRowDef=\"let block; columns: displayedColumns\"></tr>\n </table>\n</div>"
4972
+ },
4973
+ {
4974
+ "name": "bubble-menu-example",
4975
+ "title": "Bubble menu",
4976
+ "file": "projects/docs/src/app/libraries/headless-editor/_examples/bubble-menu-example/bubble-menu-example.html",
4977
+ "source": "<div class=\"options\">\n <button ngsButton=\"outlined\" (click)=\"disabled.set(!disabled())\">\n {{ disabled() ? 'Enable surface' : 'Disable surface' }}\n </button>\n <button ngsButton=\"outlined\" (click)=\"spellcheck.set(!spellcheck())\">\n Spellcheck: {{ spellcheck() ? 'on' : 'off' }}\n </button>\n</div>\n<div #container class=\"container\">\n <div\n class=\"surface\"\n ngsHeadlessEditorSurface\n ariaLabel=\"Editor with a bubble menu\"\n placeholder=\"Write, then select text…\"\n [disabled]=\"disabled()\"\n [spellcheck]=\"spellcheck()\">\n </div>\n @if (position(); as position) {\n <div class=\"bubble\" role=\"toolbar\" aria-label=\"Selection formatting\" [style.top.px]=\"position.top\" [style.left.px]=\"position.left\">\n <button ngsButton=\"text\" [ngsHeadlessEditorCommand]=\"bold\">Bold</button>\n <button ngsButton=\"text\" [ngsHeadlessEditorCommand]=\"italic\">Italic</button>\n <button ngsButton=\"text\" [ngsHeadlessEditorCommand]=\"code\">Code</button>\n </div>\n }\n</div>"
4978
+ }
4979
+ ],
4980
+ "previewAsset": null,
4981
+ "selectors": [
4982
+ "[ngsHeadlessEditorCommand]",
4983
+ "[ngsHeadlessEditorRuns]",
4984
+ "[ngsHeadlessEditorSurface]",
4985
+ "[ngsHeadlessEditorSurface][ngsHeadlessEditorMentions]",
4986
+ "ngs-headless-editor-mention-menu",
4987
+ "ngs-headless-editor-table-editor",
4988
+ "ngs-headless-editor-table-view"
4989
+ ],
4990
+ "exportedSymbols": [
4991
+ "basicTextEditorPlugin",
4992
+ "cloneNgsHeadlessEditorDocument",
4993
+ "colorEditorPlugin",
4994
+ "createNgsHeadlessEditorDocument",
4995
+ "createNgsHeadlessEditorId",
4996
+ "createNgsHeadlessEditorParagraph",
4997
+ "createNgsHeadlessEditorTable",
4998
+ "createNgsHeadlessEditorText",
4999
+ "defineNgsHeadlessEditorPlugin",
5000
+ "findNgsHeadlessEditorMarkDefinition",
5001
+ "findNgsHeadlessEditorMentionQuery",
5002
+ "focusNgsHeadlessEditorTableCell",
5003
+ "getNgsHeadlessEditorBlockText",
5004
+ "getNgsHeadlessEditorDocumentText",
5005
+ "getNgsHeadlessEditorTableCellText",
5006
+ "getNgsHeadlessEditorTableData",
5007
+ "insertNgsHeadlessEditorMention",
5008
+ "insertNgsHeadlessEditorTable",
5009
+ "insertNgsHeadlessEditorTableColumn",
5010
+ "insertNgsHeadlessEditorTableRow",
5011
+ "isNgsHeadlessEditorDocumentEmpty",
5012
+ "isNgsHeadlessEditorTable",
5013
+ "isNgsHeadlessEditorTextContent",
5014
+ "mentionEditorPlugin",
5015
+ "NGS_HEADLESS_EDITOR_BACKGROUND_COLOR_MARK",
5016
+ "NGS_HEADLESS_EDITOR_HISTORY_GROUP_DELAY",
5017
+ "NGS_HEADLESS_EDITOR_HISTORY_LIMIT",
5018
+ "NGS_HEADLESS_EDITOR_INSERT_TABLE",
5019
+ "NGS_HEADLESS_EDITOR_MARK_ATTRIBUTE",
5020
+ "NGS_HEADLESS_EDITOR_MENTION_MARK",
5021
+ "NGS_HEADLESS_EDITOR_MENTION_OPTIONS",
5022
+ "NGS_HEADLESS_EDITOR_PLUGINS",
5023
+ "NGS_HEADLESS_EDITOR_SET_BACKGROUND_COLOR",
5024
+ "NGS_HEADLESS_EDITOR_SET_TEXT_COLOR",
5025
+ "NGS_HEADLESS_EDITOR_TABLE_ADD_COLUMN_AFTER",
5026
+ "NGS_HEADLESS_EDITOR_TABLE_ADD_COLUMN_BEFORE",
5027
+ "NGS_HEADLESS_EDITOR_TABLE_ADD_ROW_AFTER",
5028
+ "NGS_HEADLESS_EDITOR_TABLE_ADD_ROW_BEFORE",
5029
+ "NGS_HEADLESS_EDITOR_TABLE_DELETE",
5030
+ "NGS_HEADLESS_EDITOR_TABLE_DELETE_COLUMN",
5031
+ "NGS_HEADLESS_EDITOR_TABLE_DELETE_ROW",
5032
+ "NGS_HEADLESS_EDITOR_TABLE_OPTIONS",
5033
+ "NGS_HEADLESS_EDITOR_TABLE_TOGGLE_HEADER",
5034
+ "NGS_HEADLESS_EDITOR_TABLE_TYPE",
5035
+ "NGS_HEADLESS_EDITOR_TEXT_COLOR_MARK",
5036
+ "NGS_HEADLESS_EDITOR_TOGGLE_BOLD",
5037
+ "NGS_HEADLESS_EDITOR_TOGGLE_CODE",
5038
+ "NGS_HEADLESS_EDITOR_TOGGLE_ITALIC",
5039
+ "NGS_HEADLESS_EDITOR_TOGGLE_STRIKE",
5040
+ "NGS_HEADLESS_EDITOR_UNSET_BACKGROUND_COLOR",
5041
+ "NGS_HEADLESS_EDITOR_UNSET_TEXT_COLOR",
5042
+ "NgsHeadlessEditor",
5043
+ "ngsHeadlessEditorActiveTableCell",
5044
+ "NgsHeadlessEditorBlock",
5045
+ "NgsHeadlessEditorBlockComponent",
5046
+ "NgsHeadlessEditorBlockDefinition",
5047
+ "ngsHeadlessEditorBlocksEqual",
5048
+ "NgsHeadlessEditorChangeOrigin",
5049
+ "NgsHeadlessEditorCommand",
5050
+ "NgsHeadlessEditorCommandDirective",
5051
+ "NgsHeadlessEditorDocument",
5052
+ "ngsHeadlessEditorDocumentsEqual",
5053
+ "NgsHeadlessEditorFeature",
5054
+ "NgsHeadlessEditorHistory",
5055
+ "NgsHeadlessEditorInlineRegion",
5056
+ "NgsHeadlessEditorInlineRegionOptions",
5057
+ "NgsHeadlessEditorKeyBinding",
5058
+ "NgsHeadlessEditorMark",
5059
+ "NgsHeadlessEditorMarkAttributes",
5060
+ "NgsHeadlessEditorMarkDefinition",
5061
+ "NgsHeadlessEditorMarkRegistry",
5062
+ "ngsHeadlessEditorMarksEqual",
5063
+ "NgsHeadlessEditorMentionMenu",
5064
+ "NgsHeadlessEditorMentionMenuState",
5065
+ "NgsHeadlessEditorMentionOption",
5066
+ "NgsHeadlessEditorMentionOptionComponent",
5067
+ "NgsHeadlessEditorMentionPluginOptions",
5068
+ "NgsHeadlessEditorMentionQuery",
5069
+ "NgsHeadlessEditorMentionRegistration",
5070
+ "NgsHeadlessEditorMentions",
5071
+ "NgsHeadlessEditorMentionSearch",
5072
+ "NgsHeadlessEditorPlugin",
5073
+ "NgsHeadlessEditorPoint",
5074
+ "NgsHeadlessEditorRuns",
5075
+ "NgsHeadlessEditorSelection",
5076
+ "NgsHeadlessEditorSnapshot",
5077
+ "NgsHeadlessEditorSurface",
5078
+ "NgsHeadlessEditorTableBlock",
5079
+ "NgsHeadlessEditorTableBlockEditor",
5080
+ "NgsHeadlessEditorTableCell",
5081
+ "NgsHeadlessEditorTableCellContent",
5082
+ "NgsHeadlessEditorTableCellInput",
5083
+ "ngsHeadlessEditorTableCellMarks",
5084
+ "NgsHeadlessEditorTableData",
5085
+ "NgsHeadlessEditorTablePluginOptions",
5086
+ "NgsHeadlessEditorTableSize",
5087
+ "NgsHeadlessEditorTableView",
5088
+ "NgsHeadlessEditorText",
5089
+ "ngsHeadlessEditorValuesEqual",
5090
+ "normalizeNgsHeadlessEditorColor",
5091
+ "normalizeNgsHeadlessEditorDocument",
5092
+ "normalizeNgsHeadlessEditorMarks",
5093
+ "normalizeNgsHeadlessEditorTableCell",
5094
+ "normalizeNgsHeadlessEditorTableRows",
5095
+ "normalizeNgsHeadlessEditorTextContent",
5096
+ "parseNgsHeadlessEditorTableHtml",
5097
+ "parseNgsHeadlessEditorTableText",
5098
+ "pendingNgsHeadlessEditorTableFocus",
5099
+ "provideNgsHeadlessEditor",
5100
+ "provideNgsHeadlessEditorInlineRegion",
5101
+ "readNgsHeadlessEditorInlineContent",
5102
+ "removeNgsHeadlessEditorTableColumn",
5103
+ "removeNgsHeadlessEditorTableRow",
5104
+ "renderNgsHeadlessEditorRuns",
5105
+ "renderNgsHeadlessEditorTextRun",
5106
+ "setNgsHeadlessEditorActiveTableCell",
5107
+ "setNgsHeadlessEditorTableCell",
5108
+ "tableEditorPlugin",
5109
+ "withHeadlessEditorPlugin"
5110
+ ],
5111
+ "inputs": [
5112
+ "ariaLabel",
5113
+ "commandData",
5114
+ "disabled",
5115
+ "mentions",
5116
+ "mentionTrigger",
5117
+ "ngsHeadlessEditorMentions",
5118
+ "ngsHeadlessEditorRuns",
5119
+ "placeholder",
5120
+ "spellcheck"
5121
+ ],
5122
+ "outputs": [
5123
+ "mentionQueryChange",
5124
+ "mentionSelected"
5125
+ ],
5126
+ "cssTokens": [],
5127
+ "example": null
5128
+ },
4907
5129
  {
4908
5130
  "name": "headless-stepper",
4909
5131
  "title": "Headless Stepper",
@@ -8937,25 +9159,29 @@
8937
9159
  "docsPath": "/components/skeleton",
8938
9160
  "docsOverviewSource": "projects/docs/src/app/components/skeleton/overview/overview.html",
8939
9161
  "purpose": "Show placeholder blocks for loading content when the final layout is already known.",
8940
- "useWhen": "Use ngs-skeleton to preserve layout while cards, lists, table rows, dashboard widgets, chart areas, avatars, text lines, or media blocks are loading. Shape and size each skeleton with TailwindCSS utilities such as h-*, w-*, size-*, flex, grid, gap, and wrapper layouts so it roughly matches the UI that will replace it. Use roundedFull for circular placeholders such as avatars or icon circles. Do not use Skeleton for unknown long operations where progress matters; use ProgressBar. Do not use for global route or app loading; use PageLoadingBar or ScreenLoader. Do not use for blocking a local section; use BlockLoader. Do not use for empty results; use EmptyState. Do not use for image fallback after load failure; use ImagePlaceholder. Do not use random grey blocks that do not resemble the final content.",
9162
+ "useWhen": "Use ngs-skeleton to preserve layout while cards, lists, table rows, dashboard widgets, chart areas, avatars, text lines, or media blocks are loading. Shape and size each skeleton with TailwindCSS utilities such as h-*, w-*, size-*, flex, grid, gap, and wrapper layouts so it roughly matches the UI that will replace it. Use ngs-skeleton-circle for avatars or icon circles and ngs-skeleton-rectangle for card or media blocks. Import SkeletonCircle and SkeletonRectangle from @ngstarter-ui/components/skeleton. Size circles with size-* and rectangles with h-* and w-* utilities. Rectangular corners use --ngs-skeleton-item-border-radius, which follows --ngs-radius-xl (1rem in default and 0.25rem in chalk); circles stay fully round. The existing ngs-skeleton roundedFull input remains supported. Do not use Skeleton for unknown long operations where progress matters; use ProgressBar. Do not use for global route or app loading; use PageLoadingBar or ScreenLoader. Do not use for blocking a local section; use BlockLoader. Do not use for empty results; use EmptyState. Do not use for image fallback after load failure; use ImagePlaceholder. Do not use random grey blocks that do not resemble the final content.",
8941
9163
  "exampleTopics": [
8942
9164
  "Basic Skeleton"
8943
9165
  ],
8944
- "minimalExample": "<div class=\"flex flex-col gap-8\">\n <div class=\"w-1/2 flex flex-col gap-5\">\n <ngs-skeleton roundedFull class=\"size-24\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n </div>\n <div class=\"flex gap-5\">\n <ngs-skeleton class=\"h-7 w-24\"/>\n <ngs-skeleton class=\"h-7 w-20\"/>\n <ngs-skeleton class=\"h-7 w-28\"/>\n <ngs-skeleton class=\"h-7 w-16\"/>\n </div>\n</div>",
9166
+ "minimalExample": "<div class=\"flex flex-col gap-8\">\n <div class=\"w-1/2 flex flex-col gap-5\">\n <ngs-skeleton-circle class=\"size-24\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n </div>\n <div class=\"flex gap-5\">\n <ngs-skeleton class=\"h-7 w-24\"/>\n <ngs-skeleton class=\"h-7 w-20\"/>\n <ngs-skeleton class=\"h-7 w-28\"/>\n <ngs-skeleton class=\"h-7 w-16\"/>\n </div>\n <div class=\"flex items-center gap-5\">\n <ngs-skeleton-circle class=\"size-10\"/>\n <ngs-skeleton-circle class=\"size-14\"/>\n <ngs-skeleton-circle class=\"size-20\"/>\n </div>\n <ngs-skeleton-rectangle class=\"h-32 w-full max-w-sm\"/>\n</div>",
8945
9167
  "exampleFiles": [
8946
9168
  {
8947
9169
  "name": "basic-skeleton-example",
8948
9170
  "title": "Basic skeleton",
8949
9171
  "file": "projects/docs/src/app/components/skeleton/_examples/basic-skeleton-example/basic-skeleton-example.html",
8950
- "source": "<div class=\"flex flex-col gap-8\">\n <div class=\"w-1/2 flex flex-col gap-5\">\n <ngs-skeleton roundedFull class=\"size-24\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n </div>\n <div class=\"flex gap-5\">\n <ngs-skeleton class=\"h-7 w-24\"/>\n <ngs-skeleton class=\"h-7 w-20\"/>\n <ngs-skeleton class=\"h-7 w-28\"/>\n <ngs-skeleton class=\"h-7 w-16\"/>\n </div>\n</div>"
9172
+ "source": "<div class=\"flex flex-col gap-8\">\n <div class=\"w-1/2 flex flex-col gap-5\">\n <ngs-skeleton-circle class=\"size-24\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n <ngs-skeleton class=\"h-5\"/>\n </div>\n <div class=\"flex gap-5\">\n <ngs-skeleton class=\"h-7 w-24\"/>\n <ngs-skeleton class=\"h-7 w-20\"/>\n <ngs-skeleton class=\"h-7 w-28\"/>\n <ngs-skeleton class=\"h-7 w-16\"/>\n </div>\n <div class=\"flex items-center gap-5\">\n <ngs-skeleton-circle class=\"size-10\"/>\n <ngs-skeleton-circle class=\"size-14\"/>\n <ngs-skeleton-circle class=\"size-20\"/>\n </div>\n <ngs-skeleton-rectangle class=\"h-32 w-full max-w-sm\"/>\n</div>"
8951
9173
  }
8952
9174
  ],
8953
9175
  "previewAsset": "projects/components/skeleton/preview.svg",
8954
9176
  "selectors": [
8955
- "ngs-skeleton"
9177
+ "ngs-skeleton",
9178
+ "ngs-skeleton-circle",
9179
+ "ngs-skeleton-rectangle"
8956
9180
  ],
8957
9181
  "exportedSymbols": [
8958
- "Skeleton"
9182
+ "Skeleton",
9183
+ "SkeletonCircle",
9184
+ "SkeletonRectangle"
8959
9185
  ],
8960
9186
  "inputs": [
8961
9187
  "roundedFull"
@@ -8966,6 +9192,7 @@
8966
9192
  "--ngs-color-neutral-300",
8967
9193
  "--ngs-color-neutral-500",
8968
9194
  "--ngs-color-neutral-600",
9195
+ "--ngs-radius-full",
8969
9196
  "--ngs-radius-xl",
8970
9197
  "--ngs-skeleton-from-bg",
8971
9198
  "--ngs-skeleton-item-border-radius",
@@ -10135,146 +10362,6 @@
10135
10362
  ],
10136
10363
  "example": null
10137
10364
  },
10138
- {
10139
- "name": "text-editor",
10140
- "title": "Text Editor",
10141
- "overviewName": "Text Editor",
10142
- "category": "components",
10143
- "package": "@ngstarter-ui/components",
10144
- "importPath": "@ngstarter-ui/components/text-editor",
10145
- "publicApi": "projects/components/text-editor/public-api.ts",
10146
- "sourceRoot": "projects/components/text-editor/src",
10147
- "docsPath": "/components/text-editor",
10148
- "docsOverviewSource": "projects/docs/src/app/components/text-editor/overview/overview.html",
10149
- "purpose": "Provide a full Tiptap-based WYSIWYG rich text editor for formatted HTML content.",
10150
- "useWhen": "Use ngs-text-editor when users need to create or edit rich HTML content with headings, bold, italic, strike, lists, blockquotes, inline code, code blocks, horizontal rules, links, images, YouTube embeds, toolbar commands, bubble menus, or floating menus. Good for product descriptions, project/task descriptions, CMS-like fields, articles, notes, changelog entries, release notes, knowledge base content, help content, and rich admin content bodies. Provide initial HTML through content, listen to contentChange for updated HTML, add custom Tiptap extensions through extensions, and use imageUploadFn to upload images and resolve a URL. Compose controls with ngs-text-editor-toolbar, ngs-text-editor-bubble-menu, ngs-text-editor-floating-menu, ngs-text-editor-divider, and ngsTextEditorCommand* directives. Do not use TextEditor for short comments, threads, or quick replies; use CommentEditor. Do not use it for block-based CMS/page building; use ContentEditor. Do not use it for plain text fields; use ngsInput inside FormField. Do not use it for inline renaming; use InlineTextEdit. Do not use it for read-only code or snippets; use CodeHighlighter.",
10151
- "exampleTopics": [
10152
- "Basic Text Editor",
10153
- "Text Editor with floating menu",
10154
- "Text editor floating menu"
10155
- ],
10156
- "minimalExample": "<ngs-text-editor #editor [imageUploadFn]=\"uploadFn\"\n class=\"rounded-2xl border border-border bg-surface-container-lowest min-h-[300px]\">\n <ngs-text-editor-toolbar class=\"sticky top-0 bg-surface-container-lowest\">\n <button ngsIconButton ngsTooltip=\"Heading 2\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"2\">\n <ngs-icon name=\"fluent:text-header-2-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Heading 3\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"3\">\n <ngs-icon name=\"fluent:text-header-3-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsTextEditorCommand ngsTextEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsTextEditorCommand ngsTextEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsTextEditorCommand ngsTextEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsTextEditorCommand ngsTextEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsTextEditorCommand ngsTextEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <\n...",
10157
- "exampleFiles": [
10158
- {
10159
- "name": "basic-text-editor-example",
10160
- "title": "Basic text editor",
10161
- "file": "projects/docs/src/app/components/text-editor/_examples/basic-text-editor-example/basic-text-editor-example.html",
10162
- "source": "<ngs-text-editor #editor [imageUploadFn]=\"uploadFn\"\n class=\"rounded-2xl border border-border bg-surface-container-lowest min-h-[300px]\">\n <ngs-text-editor-toolbar class=\"sticky top-0 bg-surface-container-lowest\">\n <button ngsIconButton ngsTooltip=\"Heading 2\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"2\">\n <ngs-icon name=\"fluent:text-header-2-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Heading 3\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"3\">\n <ngs-icon name=\"fluent:text-header-3-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsTextEditorCommand ngsTextEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsTextEditorCommand ngsTextEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsTextEditorCommand ngsTextEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsTextEditorCommand ngsTextEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsTextEditorCommand ngsTextEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <\n..."
10163
- },
10164
- {
10165
- "name": "text-editor-floating-menu-example",
10166
- "title": "Text editor floating menu",
10167
- "file": "projects/docs/src/app/components/text-editor/_examples/text-editor-floating-menu-example/text-editor-floating-menu-example.html",
10168
- "source": "<ngs-text-editor #editor [imageUploadFn]=\"uploadFn\"\n class=\"rounded-2xl border border-border bg-surface-container-lowest min-h-[200px]\">\n <ngs-text-editor-floating-menu>\n <button ngsIconButton ngsTooltip=\"Heading 2\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"2\">\n <ngs-icon name=\"fluent:text-header-2-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Heading 3\"\n ngsTextEditorCommand ngsTextEditorCommandHeading level=\"3\">\n <ngs-icon name=\"fluent:text-header-3-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bold\"\n ngsTextEditorCommand ngsTextEditorCommandBold>\n <ngs-icon name=\"fluent:text-bold-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Italic\"\n ngsTextEditorCommand ngsTextEditorCommandItalic>\n <ngs-icon name=\"fluent:text-italic-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Strike\"\n ngsTextEditorCommand ngsTextEditorCommandStrike>\n <ngs-icon name=\"fluent:text-strikethrough-24-regular\"/>\n </button>\n <ngs-text-editor-divider/>\n <button ngsIconButton ngsTooltip=\"Bullet List\"\n ngsTextEditorCommand ngsTextEditorCommandBulletList>\n <ngs-icon name=\"fluent:text-bullet-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Ordered List\"\n ngsTextEditorCommand ngsTextEditorCommandOrderedList>\n <ngs-icon name=\"fluent:text-number-list-ltr-24-regular\"/>\n </button>\n <button ngsIconButton ngsTooltip=\"Blockquote\n..."
10169
- }
10170
- ],
10171
- "previewAsset": "projects/components/text-editor/preview.svg",
10172
- "selectors": [
10173
- "[ngsTextEditorCommand]",
10174
- "[ngsTextEditorCommandBlockquote]",
10175
- "[ngsTextEditorCommandBold]",
10176
- "[ngsTextEditorCommandBulletList]",
10177
- "[ngsTextEditorCommandCode]",
10178
- "[ngsTextEditorCommandCodeBlock]",
10179
- "[ngsTextEditorCommandEditLink]",
10180
- "[ngsTextEditorCommandHeading]",
10181
- "[ngsTextEditorCommandHorizontalRule]",
10182
- "[ngsTextEditorCommandImage]",
10183
- "[ngsTextEditorCommandItalic]",
10184
- "[ngsTextEditorCommandLink]",
10185
- "[ngsTextEditorCommandOrderedList]",
10186
- "[ngsTextEditorCommandStrike]",
10187
- "[ngsTextEditorCommandUnsetLink]",
10188
- "[ngsTextEditorCommandYoutube]",
10189
- "ngs-image-uploading-placeholder",
10190
- "ngs-link",
10191
- "ngs-text-editor",
10192
- "ngs-text-editor-bubble-menu",
10193
- "ngs-text-editor-divider",
10194
- "ngs-text-editor-floating-menu",
10195
- "ngs-text-editor-toolbar",
10196
- "ngs-youtube"
10197
- ],
10198
- "exportedSymbols": [
10199
- "AngularNodeView",
10200
- "AngularNodeViewRenderer",
10201
- "AngularRenderer",
10202
- "ImageUploadingPlaceholder",
10203
- "LinkDialog",
10204
- "TEXT_EDITOR",
10205
- "TEXT_EDITOR_BUBBLE_MENU",
10206
- "TextEditor",
10207
- "TextEditorAPI",
10208
- "TextEditorBubbleMenu",
10209
- "TextEditorCommandBlockquoteDirective",
10210
- "TextEditorCommandBoldDirective",
10211
- "TextEditorCommandBulletListDirective",
10212
- "TextEditorCommandCodeBlockDirective",
10213
- "TextEditorCommandCodeDirective",
10214
- "TextEditorCommandDirective",
10215
- "TextEditorCommandEditLinkDirective",
10216
- "TextEditorCommandHeadingDirective",
10217
- "TextEditorCommandHorizontalRuleDirective",
10218
- "TextEditorCommandImageDirective",
10219
- "TextEditorCommandItalicDirective",
10220
- "TextEditorCommandLinkDirective",
10221
- "TextEditorCommandOrderedListDirective",
10222
- "TextEditorCommandStrikeDirective",
10223
- "TextEditorCommandUnsetLinkDirective",
10224
- "TextEditorCommandYoutubeDirective",
10225
- "TextEditorDivider",
10226
- "TextEditorFloatingMenu",
10227
- "TextEditorInterface",
10228
- "TextEditorToolbar",
10229
- "YoutubeDialog"
10230
- ],
10231
- "inputs": [
10232
- "content",
10233
- "contentMaxHeight",
10234
- "decorations",
10235
- "deleteNode",
10236
- "editor",
10237
- "extension",
10238
- "extensions",
10239
- "getPos",
10240
- "innerDecorations",
10241
- "level",
10242
- "node",
10243
- "placeholder",
10244
- "selected",
10245
- "updateAttributes",
10246
- "view"
10247
- ],
10248
- "outputs": [
10249
- "contentChange",
10250
- "fileSelected"
10251
- ],
10252
- "cssTokens": [
10253
- "--ngs-color-border",
10254
- "--ngs-color-neutral-100",
10255
- "--ngs-color-neutral-200",
10256
- "--ngs-color-neutral-300",
10257
- "--ngs-color-neutral-500",
10258
- "--ngs-color-neutral-650",
10259
- "--ngs-color-neutral-700",
10260
- "--ngs-color-neutral-900",
10261
- "--ngs-color-neutral-950",
10262
- "--ngs-color-tertiary-100",
10263
- "--ngs-color-tertiary-200",
10264
- "--ngs-color-tertiary-300",
10265
- "--ngs-color-tertiary-700",
10266
- "--ngs-color-tertiary-800",
10267
- "--ngs-font-size-sm",
10268
- "--ngs-font-size-xl",
10269
- "--ngs-icon-size",
10270
- "--ngs-radius-xl",
10271
- "--ngs-shadow-sm",
10272
- "--ngs-text-editor-bg",
10273
- "--ngs-text-editor-content-max-height",
10274
- "--ngs-text-editor-content-padding"
10275
- ],
10276
- "example": null
10277
- },
10278
10365
  {
10279
10366
  "name": "thumbnail-maker",
10280
10367
  "title": "Thumbnail Maker",