@aws/mynah-ui 4.21.3 → 4.21.4

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.
@@ -1,27 +1,34 @@
1
- ** prismjs; version 1.29.0 -- https://github.com/PrismJS/prism/
2
- Copyright (c) 2012 Lea Verou
1
+ ** highlight.js; version 11.11.0 -- https://github.com/highlightjs/highlight.js/
3
2
 
4
- MIT LICENSE
3
+ BSD 3-Clause License
5
4
 
6
- Copyright (c) 2012 Lea Verou
5
+ Copyright (c) 2006, Ivan Sagalaev.
6
+ All rights reserved.
7
7
 
8
- Permission is hereby granted, free of charge, to any person obtaining a copy
9
- of this software and associated documentation files (the "Software"), to deal
10
- in the Software without restriction, including without limitation the rights
11
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- copies of the Software, and to permit persons to whom the Software is
13
- furnished to do so, subject to the following conditions:
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions are met:
14
10
 
15
- The above copyright notice and this permission notice shall be included in
16
- all copies or substantial portions of the Software.
11
+ * Redistributions of source code must retain the above copyright notice, this
12
+ list of conditions and the following disclaimer.
17
13
 
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- THE SOFTWARE.
14
+ * Redistributions in binary form must reproduce the above copyright notice,
15
+ this list of conditions and the following disclaimer in the documentation
16
+ and/or other materials provided with the distribution.
17
+
18
+ * Neither the name of the copyright holder nor the names of its
19
+ contributors may be used to endorse or promote products derived from
20
+ this software without specific prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
32
 
26
33
  ------
27
34
 
@@ -68,7 +75,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68
75
 
69
76
  ------
70
77
 
71
- ** unescape-html; version 1.1.0 -- https://github.com/ForbesLindesay/
78
+ ** unescape-html; version 1.1.0 -- https://github.com/ForbesLindesay/unescape-html
72
79
 
73
80
  MIT LICENSE
74
81
 
@@ -37,4 +37,8 @@ export declare class PromptTextInput {
37
37
  readonly updateTextInputMaxLength: (maxLength: number) => void;
38
38
  readonly updateTextInputPlaceholder: (text: string) => void;
39
39
  readonly updateContextItems: (contextItems: string[]) => void;
40
+ readonly getCursorLine: () => {
41
+ cursorLine: number;
42
+ totalLines: number;
43
+ };
40
44
  }
@@ -3,36 +3,6 @@
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
5
  import { ExtendedHTMLElement } from '../helper/dom';
6
- import 'prismjs/components/prism-markup.min';
7
- import 'prismjs/components/prism-xml-doc.min';
8
- import 'prismjs/components/prism-css.min';
9
- import 'prismjs/components/prism-clike.min';
10
- import 'prismjs/components/prism-javascript.min';
11
- import 'prismjs/components/prism-typescript.min';
12
- import 'prismjs/components/prism-jsx.min';
13
- import 'prismjs/components/prism-diff.min';
14
- import 'prismjs/components/prism-tsx.min';
15
- import 'prismjs/components/prism-lua.min';
16
- import 'prismjs/components/prism-java.min';
17
- import 'prismjs/components/prism-json.min';
18
- import 'prismjs/components/prism-markdown.min';
19
- import 'prismjs/components/prism-mongodb.min';
20
- import 'prismjs/components/prism-c.min';
21
- import 'prismjs/components/prism-bash.min';
22
- import 'prismjs/components/prism-go.min';
23
- import 'prismjs/components/prism-csharp.min';
24
- import 'prismjs/components/prism-objectivec.min';
25
- import 'prismjs/components/prism-python.min';
26
- import 'prismjs/components/prism-regex.min';
27
- import 'prismjs/components/prism-swift.min';
28
- import 'prismjs/components/prism-scala.min';
29
- import 'prismjs/components/prism-scss.min';
30
- import 'prismjs/components/prism-less.min';
31
- import 'prismjs/components/prism-ruby.min';
32
- import 'prismjs/components/prism-rust.min';
33
- import 'prismjs/plugins/line-numbers/prism-line-numbers.js';
34
- import 'prismjs/plugins/keep-markup/prism-keep-markup.js';
35
- import 'prismjs/plugins/diff-highlight/prism-diff-highlight.min';
36
6
  import { CodeBlockActions, CodeSelectionType, OnCodeBlockActionFunction } from '../static';
37
7
  import '../styles/components/_syntax-highlighter.scss';
38
8
  export interface SyntaxHighlighterProps {
@@ -0,0 +1,2 @@
1
+ import { HLJSPlugin } from 'highlight.js';
2
+ export declare const mergeHTMLPlugin: HLJSPlugin;