@ember-eui/core 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,9 +2,15 @@
2
2
 
3
3
  ### Master
4
4
 
5
+ ### 1.5.0
6
+ 🚀 Enhancements
7
+ `@ember-eui/validated-form`
8
+ - Allow providing an markdown-editor componet for easier composability
9
+
5
10
  ### 1.4.0
6
11
  🚀 Enhancements
7
12
  - Easier extending of processing plugins, add demo
13
+
8
14
  ### 1.3.5
9
15
  🐛 Bug / Fixes
10
16
  - Urls for markdown editor icons
@@ -56,6 +56,7 @@
56
56
  aria-labelledby={{@ariaLabelledBy}}
57
57
  aria-describedby={{@ariaDescribedBy}}
58
58
  {{on "input" (pick "target.value" @onChange)}}
59
+ {{validatable-control @isInvalid}}
59
60
  ...attributes
60
61
  />
61
62
  </EuiMarkdownEditorDropZone>
@@ -1,5 +1,4 @@
1
1
  import Component from '@glimmer/component';
2
- import type MarkdownActions from '../../utils/markdown/markdown-actions';
3
2
  import {
4
3
  defaultParsingPlugins,
5
4
  defaultProcessingPlugins
@@ -8,12 +7,12 @@ import { cached } from '@glimmer/tracking';
8
7
  import unified, { Processor } from 'unified';
9
8
  import { toDOM } from '../../utils/markdown/plugins/to-dom';
10
9
  import type { RehypeNode } from '../../utils/markdown/markdown-types';
10
+ import type EuiMarkdownEditorComponent from '../eui-markdown-editor';
11
11
 
12
12
  export interface EuiMarkdownEditorToolbarArgs {
13
13
  parsingPluginList?: typeof defaultParsingPlugins;
14
14
  processingPluginList?: typeof defaultProcessingPlugins;
15
- viewMode?: string;
16
- markdownActions: MarkdownActions;
15
+ replaceNode?: EuiMarkdownEditorComponent['replaceNode'];
17
16
  value: string;
18
17
  }
19
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Ember Components for Elastic UI",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -154,5 +154,5 @@
154
154
  "volta": {
155
155
  "node": "12.22.1"
156
156
  },
157
- "gitHead": "205ab9480989c78d5516232395b233443735bbb6"
157
+ "gitHead": "51aac7b1e346dcd59cf60693be8df778c9020237"
158
158
  }