@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.
Files changed (67) hide show
  1. package/README.md +6 -0
  2. package/dist/index.cjs.js +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.js +470 -298
  5. package/dist/nile-chip/nile-chip.css.cjs.js +1 -1
  6. package/dist/nile-chip/nile-chip.css.cjs.js.map +1 -1
  7. package/dist/nile-chip/nile-chip.css.esm.js +8 -1
  8. package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
  9. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  10. package/dist/nile-code-editor/nile-code-editor.esm.js +3 -3
  11. package/dist/nile-hero/nile-hero.cjs.js +1 -1
  12. package/dist/nile-hero/nile-hero.cjs.js.map +1 -1
  13. package/dist/nile-hero/nile-hero.css.cjs.js +1 -1
  14. package/dist/nile-hero/nile-hero.css.cjs.js.map +1 -1
  15. package/dist/nile-hero/nile-hero.css.esm.js +14 -14
  16. package/dist/nile-hero/nile-hero.esm.js +1 -1
  17. package/dist/nile-hero-header/nile-hero-header.cjs.js +1 -1
  18. package/dist/nile-hero-header/nile-hero-header.cjs.js.map +1 -1
  19. package/dist/nile-hero-header/nile-hero-header.css.cjs.js +1 -1
  20. package/dist/nile-hero-header/nile-hero-header.css.cjs.js.map +1 -1
  21. package/dist/nile-hero-header/nile-hero-header.css.esm.js +11 -11
  22. package/dist/nile-hero-header/nile-hero-header.esm.js +3 -3
  23. package/dist/nile-rich-text-editor/index.cjs.js +1 -1
  24. package/dist/nile-rich-text-editor/index.esm.js +1 -1
  25. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +1 -1
  26. package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +1 -1
  27. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +1 -1
  28. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +1 -1
  29. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +70 -0
  30. package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +1 -1
  31. package/dist/nile-rich-text-editor/nile-rte-image.cjs.js +3 -0
  32. package/dist/nile-rich-text-editor/nile-rte-image.cjs.js.map +1 -0
  33. package/dist/nile-rich-text-editor/nile-rte-image.esm.js +96 -0
  34. package/dist/src/nile-chip/nile-chip.css.js +8 -1
  35. package/dist/src/nile-chip/nile-chip.css.js.map +1 -1
  36. package/dist/src/nile-code-editor/nile-code-editor.js +3 -3
  37. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  38. package/dist/src/nile-hero/nile-hero.css.js +12 -12
  39. package/dist/src/nile-hero/nile-hero.css.js.map +1 -1
  40. package/dist/src/nile-hero/nile-hero.js +1 -1
  41. package/dist/src/nile-hero/nile-hero.js.map +1 -1
  42. package/dist/src/nile-hero-header/nile-hero-header.css.js +9 -9
  43. package/dist/src/nile-hero-header/nile-hero-header.css.js.map +1 -1
  44. package/dist/src/nile-hero-header/nile-hero-header.js +1 -1
  45. package/dist/src/nile-hero-header/nile-hero-header.js.map +1 -1
  46. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +70 -0
  47. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +1 -1
  48. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +3 -0
  49. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +81 -3
  50. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +1 -1
  51. package/dist/src/nile-rich-text-editor/nile-rte-image.d.ts +87 -0
  52. package/dist/src/nile-rich-text-editor/nile-rte-image.js +1073 -0
  53. package/dist/src/nile-rich-text-editor/nile-rte-image.js.map +1 -0
  54. package/dist/src/version.js +1 -1
  55. package/dist/src/version.js.map +1 -1
  56. package/dist/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +1 -1
  58. package/src/nile-chip/nile-chip.css.ts +8 -1
  59. package/src/nile-code-editor/nile-code-editor.ts +3 -3
  60. package/src/nile-hero/nile-hero.css.ts +12 -12
  61. package/src/nile-hero/nile-hero.ts +1 -1
  62. package/src/nile-hero-header/nile-hero-header.css.ts +9 -9
  63. package/src/nile-hero-header/nile-hero-header.ts +1 -1
  64. package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +70 -0
  65. package/src/nile-rich-text-editor/nile-rich-text-editor.ts +89 -3
  66. package/src/nile-rich-text-editor/nile-rte-image.ts +1132 -0
  67. 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` - ",