@aquera/nile-elements 1.9.5 → 1.9.6
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 +6 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +470 -298
- package/dist/nile-chip/nile-chip.css.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.css.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.css.esm.js +8 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +3 -3
- package/dist/nile-hero/nile-hero.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.cjs.js.map +1 -1
- package/dist/nile-hero/nile-hero.css.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.css.cjs.js.map +1 -1
- package/dist/nile-hero/nile-hero.css.esm.js +14 -14
- package/dist/nile-hero/nile-hero.esm.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.cjs.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.cjs.js.map +1 -1
- package/dist/nile-hero-header/nile-hero-header.css.cjs.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.css.cjs.js.map +1 -1
- package/dist/nile-hero-header/nile-hero-header.css.esm.js +11 -11
- package/dist/nile-hero-header/nile-hero-header.esm.js +3 -3
- package/dist/nile-rich-text-editor/index.cjs.js +1 -1
- package/dist/nile-rich-text-editor/index.esm.js +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +70 -0
- package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +1 -1
- package/dist/nile-rich-text-editor/nile-rte-image.cjs.js +3 -0
- package/dist/nile-rich-text-editor/nile-rte-image.cjs.js.map +1 -0
- package/dist/nile-rich-text-editor/nile-rte-image.esm.js +96 -0
- package/dist/src/nile-chip/nile-chip.css.js +8 -1
- package/dist/src/nile-chip/nile-chip.css.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.js +3 -3
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-hero/nile-hero.css.js +12 -12
- package/dist/src/nile-hero/nile-hero.css.js.map +1 -1
- package/dist/src/nile-hero/nile-hero.js +1 -1
- package/dist/src/nile-hero/nile-hero.js.map +1 -1
- package/dist/src/nile-hero-header/nile-hero-header.css.js +9 -9
- package/dist/src/nile-hero-header/nile-hero-header.css.js.map +1 -1
- package/dist/src/nile-hero-header/nile-hero-header.js +1 -1
- package/dist/src/nile-hero-header/nile-hero-header.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +70 -0
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +3 -0
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +81 -3
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rte-image.d.ts +87 -0
- package/dist/src/nile-rich-text-editor/nile-rte-image.js +1073 -0
- package/dist/src/nile-rich-text-editor/nile-rte-image.js.map +1 -0
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-chip/nile-chip.css.ts +8 -1
- package/src/nile-code-editor/nile-code-editor.ts +3 -3
- package/src/nile-hero/nile-hero.css.ts +12 -12
- package/src/nile-hero/nile-hero.ts +1 -1
- package/src/nile-hero-header/nile-hero-header.css.ts +9 -9
- package/src/nile-hero-header/nile-hero-header.ts +1 -1
- package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +70 -0
- package/src/nile-rich-text-editor/nile-rich-text-editor.ts +89 -3
- package/src/nile-rich-text-editor/nile-rte-image.ts +1132 -0
- package/vscode-html-custom-data.json +41 -1
|
@@ -5606,7 +5606,7 @@
|
|
|
5606
5606
|
},
|
|
5607
5607
|
{
|
|
5608
5608
|
"name": "nile-rich-text-editor",
|
|
5609
|
-
"description": "Events:\n\n * `nile-change` {`CustomEvent<{ content: string; mention: any; }>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `noStyles` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `singlelineeditor` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `mentions` - \n\n * `whitelist` {`string[]`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `noStyles` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `singleLineEditor` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `mentions` - \n\n * `whitelist` {`string[]`} - \n\n * `content` {`string`} - \n\n * `editorEl` {`HTMLElement`} - \n\n * `previewEl` {`HTMLElement | null`} - \n\n * `toolbarEl` {`HTMLElement | null`} - \n\n * `lastRange` {`Range | null`} - \n\n * `buttonMap` {`Map<string, HTMLElement[]>`} - \n\n * `headingSelect` {`HTMLSelectElement | null`} - \n\n * `fontSelect` {`HTMLSelectElement | null`} - \n\n * `colorInput` {`HTMLInputElement | null`} - \n\n * `bgColorInput` {`HTMLInputElement | null`} - \n\n * `colorSwatchEl` {`HTMLElement | null`} - \n\n * `bgSwatchEl` {`HTMLElement | null`} - \n\n * `containerEl` {`HTMLElement | null`} - \n\n * `linkEl` {`HTMLElement | null`} - \n\n * `mentionsEl` {`HTMLElement | null`} - \n\n * `onEditorClick` - \n\n * `onEditorPaste` - \n\n * `onEditorDrop` - \n\n * `onEditorInput` - \n\n * `onEditorMouseup` - \n\n * `onEditorKeyup` - \n\n * `onEditorKeydown` - \n\n * `onSelectionChange` - ",
|
|
5609
|
+
"description": "Events:\n\n * `nile-change` {`CustomEvent<{ content: string; mention: any; }>`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `noStyles` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `singlelineeditor` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `mentions` - \n\n * `whitelist` {`string[]`} - \n\nProperties:\n\n * `value` {`string`} - \n\n * `noStyles` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `singleLineEditor` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `mentions` - \n\n * `whitelist` {`string[]`} - \n\n * `content` {`string`} - \n\n * `editorEl` {`HTMLElement`} - \n\n * `previewEl` {`HTMLElement | null`} - \n\n * `toolbarEl` {`HTMLElement | null`} - \n\n * `lastRange` {`Range | null`} - \n\n * `buttonMap` {`Map<string, HTMLElement[]>`} - \n\n * `headingSelect` {`HTMLSelectElement | null`} - \n\n * `fontSelect` {`HTMLSelectElement | null`} - \n\n * `colorInput` {`HTMLInputElement | null`} - \n\n * `bgColorInput` {`HTMLInputElement | null`} - \n\n * `colorSwatchEl` {`HTMLElement | null`} - \n\n * `bgSwatchEl` {`HTMLElement | null`} - \n\n * `containerEl` {`HTMLElement | null`} - \n\n * `linkEl` {`HTMLElement | null`} - \n\n * `imageEl` {`HTMLElement | null`} - \n\n * `mentionsEl` {`HTMLElement | null`} - \n\n * `onEditorClick` - \n\n * `onEditorPaste` - \n\n * `onEditorDrop` - \n\n * `onEditorInput` - \n\n * `onEditorMouseup` - \n\n * `onEditorKeyup` - \n\n * `onEditorKeydown` - \n\n * `onSelectionChange` - ",
|
|
5610
5610
|
"attributes": [
|
|
5611
5611
|
{
|
|
5612
5612
|
"name": "value",
|
|
@@ -5683,6 +5683,46 @@
|
|
|
5683
5683
|
"name": "nile-rte-divider",
|
|
5684
5684
|
"attributes": []
|
|
5685
5685
|
},
|
|
5686
|
+
{
|
|
5687
|
+
"name": "nile-rte-image",
|
|
5688
|
+
"description": "Events:\n\n * `nile-image-changed` {`CustomEvent<{ src: string; alt: string; caption: string; width: number | null; }>`} - \n\nAttributes:\n\n * `disabled` {`boolean`} - \n\n * `label` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `altPlaceholder` {`string`} - \n\n * `captionPlaceholder` {`string`} - \n\n * `maxfilesize` {`number`} - \n\n * `uploadfromcomputer` {`boolean`} - \n\nProperties:\n\n * `editorEl` {`HTMLElement`} - \n\n * `disabled` {`boolean`} - \n\n * `label` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `altPlaceholder` {`string`} - \n\n * `captionPlaceholder` {`string`} - \n\n * `maxFileSize` {`number`} - \n\n * `uploadFromComputer` {`boolean`} - \n\n * `srcValue` {`string`} - \n\n * `altValue` {`string`} - \n\n * `captionValue` {`string`} - \n\n * `hasActiveImage` {`boolean`} - \n\n * `uploadedFileName` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `popoverStyle` {`string`} - \n\n * `selectionRange` {`Range | null`} - \n\n * `activeFigure` {`HTMLElement | null`} - \n\n * `ignoreBlur` {`boolean`} - \n\n * `isApplying` {`boolean`} - \n\n * `selectedFigure` {`HTMLElement | null`} - \n\n * `resizeOverlay` {`HTMLElement | null`} - \n\n * `dragStartX` {`number`} - \n\n * `dragStartWidth` {`number`} - \n\n * `dragDir` {`string`} - \n\n * `isDragging` {`boolean`} - \n\n * `trackingRaf` {`number`} - \n\n * `onEditorInput` - \n\n * `onEditorImagePaste` - \n\n * `onScroll` - \n\n * `onEditorImageClick` - \n\n * `onEditorImageDblClick` - \n\n * `onDocKeydown` - \n\n * `onSelectedImageLoad` - \n\n * `onDocMousedown` - \n\n * `onAlignClick` - \n\n * `onHandleMousedown` - \n\n * `onDragMove` - \n\n * `onDragEnd` - \n\n * `onOpen` - \n\n * `onInputKeydown` - \n\n * `onInputBlur` - \n\n * `onSrcInput` - \n\n * `onAltInput` - \n\n * `onCaptionInput` - \n\n * `onPopoverMousedown` - \n\n * `onPopoverMouseup` - \n\n * `onToolbarButtonMousedown` - \n\n * `onUploadClick` - \n\n * `onFileChange` - \n\n * `onApplyClick` - \n\n * `onRemoveClick` - ",
|
|
5689
|
+
"attributes": [
|
|
5690
|
+
{
|
|
5691
|
+
"name": "disabled",
|
|
5692
|
+
"description": "`disabled` {`boolean`} - \n\nProperty: disabled\n\nDefault: false",
|
|
5693
|
+
"valueSet": "v"
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
"name": "label",
|
|
5697
|
+
"description": "`label` {`string`} - \n\nProperty: label\n\nDefault: Image"
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
"name": "placeholder",
|
|
5701
|
+
"description": "`placeholder` {`string`} - \n\nProperty: placeholder\n\nDefault: Paste image link here"
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"name": "altPlaceholder",
|
|
5705
|
+
"description": "`altPlaceholder` {`string`} - \n\nProperty: altPlaceholder\n\nDefault: Describe the image"
|
|
5706
|
+
},
|
|
5707
|
+
{
|
|
5708
|
+
"name": "captionPlaceholder",
|
|
5709
|
+
"description": "`captionPlaceholder` {`string`} - \n\nProperty: captionPlaceholder\n\nDefault: Add a caption (optional)"
|
|
5710
|
+
},
|
|
5711
|
+
{
|
|
5712
|
+
"name": "maxfilesize",
|
|
5713
|
+
"description": "`maxfilesize` {`number`} - \n\nProperty: maxFileSize\n\nDefault: 2 * 1024 * 1024"
|
|
5714
|
+
},
|
|
5715
|
+
{
|
|
5716
|
+
"name": "uploadfromcomputer",
|
|
5717
|
+
"description": "`uploadfromcomputer` {`boolean`} - \n\nProperty: uploadFromComputer\n\nDefault: false",
|
|
5718
|
+
"valueSet": "v"
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"name": "onnile-image-changed",
|
|
5722
|
+
"description": "`nile-image-changed` {`CustomEvent<{ src: string; alt: string; caption: string; width: number | null; }>`} - "
|
|
5723
|
+
}
|
|
5724
|
+
]
|
|
5725
|
+
},
|
|
5686
5726
|
{
|
|
5687
5727
|
"name": "nile-rte-link",
|
|
5688
5728
|
"description": "Events:\n\n * `nile-link-changed` {`CustomEvent<{ href: string; }>`} - \n\nAttributes:\n\n * `newTab` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `showTextSupport` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `textPlaceholder` {`string`} - \n\n * `label` {`string`} - \n\nProperties:\n\n * `editorEl` {`HTMLElement`} - \n\n * `newTab` {`boolean`} - \n\n * `disabled` {`boolean`} - \n\n * `showTextSupport` {`boolean`} - \n\n * `placeholder` {`string`} - \n\n * `textPlaceholder` {`string`} - \n\n * `label` {`string`} - \n\n * `linkValue` {`string`} - \n\n * `textValue` {`string`} - \n\n * `hasActiveLink` {`boolean`} - \n\n * `popoverStyle` {`string`} - \n\n * `selectionRange` {`Range | null`} - \n\n * `activeAnchor` {`HTMLAnchorElement | null`} - \n\n * `ignoreBlur` {`boolean`} - \n\n * `isApplying` {`boolean`} - \n\n * `onScroll` - \n\n * `onOpen` - \n\n * `onInputKeydown` - \n\n * `onInputBlur` - \n\n * `onLinkInput` - \n\n * `onTextInput` - \n\n * `onPopoverMousedown` - \n\n * `onPopoverMouseup` - \n\n * `onToolbarButtonMousedown` - \n\n * `onActionMousedown` - \n\n * `onApplyClick` - \n\n * `onUnlinkClick` - ",
|