@instructure/ui-source-code-editor 11.7.4-snapshot-14 → 11.7.4-snapshot-49
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 +1 -1
- package/LICENSE.md +1 -0
- package/es/SourceCodeEditor/v1/index.js +6 -6
- package/es/SourceCodeEditor/v2/index.js +5 -5
- package/es/exports/a.js +1 -1
- package/es/exports/b.js +1 -1
- package/lib/SourceCodeEditor/v1/index.js +6 -6
- package/lib/SourceCodeEditor/v2/index.js +5 -5
- package/lib/exports/a.js +2 -2
- package/lib/exports/b.js +2 -2
- package/package.json +13 -13
- package/src/SourceCodeEditor/v1/index.tsx +6 -5
- package/src/SourceCodeEditor/v2/index.tsx +5 -4
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SourceCodeEditor/v1/index.d.ts +2 -1
- package/types/SourceCodeEditor/v1/index.d.ts.map +1 -1
- package/types/SourceCodeEditor/v2/index.d.ts +2 -1
- package/types/SourceCodeEditor/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-source-code-editor
|
|
9
9
|
|
package/LICENSE.md
CHANGED
|
@@ -46,11 +46,11 @@ import { requestAnimationFrame } from '@instructure/ui-dom-utils';
|
|
|
46
46
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
47
47
|
import { textDirectionContextConsumer } from '@instructure/ui-i18n';
|
|
48
48
|
import { withStyle } from '@instructure/emotion';
|
|
49
|
-
import customSearch from
|
|
50
|
-
import generateStyle from
|
|
51
|
-
import generateComponentTheme from
|
|
52
|
-
import { rtlHorizontalArrowKeymap } from
|
|
53
|
-
import { allowedProps } from
|
|
49
|
+
import customSearch from './SearchPanel.js';
|
|
50
|
+
import generateStyle from './styles.js';
|
|
51
|
+
import generateComponentTheme from './theme.js';
|
|
52
|
+
import { rtlHorizontalArrowKeymap } from './customKeybinding.js';
|
|
53
|
+
import { allowedProps } from './props.js';
|
|
54
54
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
55
55
|
/**
|
|
56
56
|
---
|
|
@@ -58,7 +58,7 @@ category: components
|
|
|
58
58
|
---
|
|
59
59
|
**/
|
|
60
60
|
let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = textDirectionContextConsumer(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends Component {
|
|
61
|
-
static displayName =
|
|
61
|
+
static displayName = 'SourceCodeEditor';
|
|
62
62
|
static componentId = 'SourceCodeEditor';
|
|
63
63
|
static allowedProps = allowedProps;
|
|
64
64
|
static defaultProps = {
|
|
@@ -46,10 +46,10 @@ import { requestAnimationFrame } from '@instructure/ui-dom-utils';
|
|
|
46
46
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
47
47
|
import { textDirectionContextConsumer } from '@instructure/ui-i18n';
|
|
48
48
|
import { withStyleNew } from '@instructure/emotion';
|
|
49
|
-
import customSearch from
|
|
50
|
-
import generateStyle from
|
|
51
|
-
import { rtlHorizontalArrowKeymap } from
|
|
52
|
-
import { allowedProps } from
|
|
49
|
+
import customSearch from './SearchPanel.js';
|
|
50
|
+
import generateStyle from './styles.js';
|
|
51
|
+
import { rtlHorizontalArrowKeymap } from './customKeybinding.js';
|
|
52
|
+
import { allowedProps } from './props.js';
|
|
53
53
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
54
54
|
/**
|
|
55
55
|
---
|
|
@@ -57,7 +57,7 @@ category: components
|
|
|
57
57
|
---
|
|
58
58
|
**/
|
|
59
59
|
let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec3 = textDirectionContextConsumer(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends Component {
|
|
60
|
-
static displayName =
|
|
60
|
+
static displayName = 'SourceCodeEditor';
|
|
61
61
|
static componentId = 'SourceCodeEditor';
|
|
62
62
|
static allowedProps = allowedProps;
|
|
63
63
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
|
@@ -28,11 +28,11 @@ var _requestAnimationFrame = require("@instructure/ui-dom-utils/lib/requestAnima
|
|
|
28
28
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
29
29
|
var _textDirectionContextConsumer = require("@instructure/ui-i18n/lib/textDirectionContextConsumer.js");
|
|
30
30
|
var _emotion = require("@instructure/emotion");
|
|
31
|
-
var _SearchPanel = _interopRequireDefault(require("./SearchPanel"));
|
|
32
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
33
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
34
|
-
var _customKeybinding = require("./customKeybinding");
|
|
35
|
-
var _props = require("./props");
|
|
31
|
+
var _SearchPanel = _interopRequireDefault(require("./SearchPanel.js"));
|
|
32
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
33
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
34
|
+
var _customKeybinding = require("./customKeybinding.js");
|
|
35
|
+
var _props = require("./props.js");
|
|
36
36
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
37
37
|
var _dec, _dec2, _dec3, _class;
|
|
38
38
|
/*
|
|
@@ -65,7 +65,7 @@ category: components
|
|
|
65
65
|
---
|
|
66
66
|
**/
|
|
67
67
|
let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
|
|
68
|
-
static displayName =
|
|
68
|
+
static displayName = 'SourceCodeEditor';
|
|
69
69
|
static componentId = 'SourceCodeEditor';
|
|
70
70
|
static allowedProps = _props.allowedProps;
|
|
71
71
|
static defaultProps = {
|
|
@@ -28,10 +28,10 @@ var _requestAnimationFrame = require("@instructure/ui-dom-utils/lib/requestAnima
|
|
|
28
28
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
29
29
|
var _textDirectionContextConsumer = require("@instructure/ui-i18n/lib/textDirectionContextConsumer.js");
|
|
30
30
|
var _emotion = require("@instructure/emotion");
|
|
31
|
-
var _SearchPanel = _interopRequireDefault(require("./SearchPanel"));
|
|
32
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
33
|
-
var _customKeybinding = require("./customKeybinding");
|
|
34
|
-
var _props = require("./props");
|
|
31
|
+
var _SearchPanel = _interopRequireDefault(require("./SearchPanel.js"));
|
|
32
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
33
|
+
var _customKeybinding = require("./customKeybinding.js");
|
|
34
|
+
var _props = require("./props.js");
|
|
35
35
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
36
36
|
var _dec, _dec2, _dec3, _class;
|
|
37
37
|
/*
|
|
@@ -64,7 +64,7 @@ category: components
|
|
|
64
64
|
---
|
|
65
65
|
**/
|
|
66
66
|
let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
|
|
67
|
-
static displayName =
|
|
67
|
+
static displayName = 'SourceCodeEditor';
|
|
68
68
|
static componentId = 'SourceCodeEditor';
|
|
69
69
|
static allowedProps = _props.allowedProps;
|
|
70
70
|
static defaultProps = {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "SourceCodeEditor", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.SourceCodeEditor;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../SourceCodeEditor/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "SourceCodeEditor", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.SourceCodeEditor;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../SourceCodeEditor/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-source-code-editor",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"@codemirror/state": "^6.4.1",
|
|
30
30
|
"@codemirror/view": "^6.34.1",
|
|
31
31
|
"@lezer/highlight": "1.2.1",
|
|
32
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
33
|
-
"@instructure/
|
|
34
|
-
"@instructure/
|
|
35
|
-
"@instructure/ui-a11y-content": "11.7.4-snapshot-
|
|
36
|
-
"@instructure/ui-dom-utils": "11.7.4-snapshot-
|
|
37
|
-
"@instructure/ui-i18n": "11.7.4-snapshot-
|
|
38
|
-
"@instructure/ui-icons": "11.7.4-snapshot-
|
|
39
|
-
"@instructure/ui-text-input": "11.7.4-snapshot-
|
|
40
|
-
"@instructure/ui-react-utils": "11.7.4-snapshot-
|
|
41
|
-
"@instructure/ui-themes": "11.7.4-snapshot-
|
|
42
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
32
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
33
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-49",
|
|
34
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
35
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-49",
|
|
36
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-49",
|
|
37
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-49",
|
|
38
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
39
|
+
"@instructure/ui-text-input": "11.7.4-snapshot-49",
|
|
40
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
41
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
42
|
+
"@instructure/ui-utils": "11.7.4-snapshot-49"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@testing-library/jest-dom": "^6.6.3",
|
|
46
46
|
"@testing-library/react": "15.0.7",
|
|
47
47
|
"@testing-library/user-event": "^14.6.1",
|
|
48
48
|
"vitest": "^3.2.2",
|
|
49
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
49
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18 <=19",
|
|
@@ -89,14 +89,14 @@ import { textDirectionContextConsumer } from '@instructure/ui-i18n'
|
|
|
89
89
|
|
|
90
90
|
import { withStyle } from '@instructure/emotion'
|
|
91
91
|
|
|
92
|
-
import customSearch from './SearchPanel'
|
|
92
|
+
import customSearch from './SearchPanel.js'
|
|
93
93
|
|
|
94
|
-
import generateStyle from './styles'
|
|
95
|
-
import generateComponentTheme from './theme'
|
|
94
|
+
import generateStyle from './styles.js'
|
|
95
|
+
import generateComponentTheme from './theme.js'
|
|
96
96
|
|
|
97
|
-
import { rtlHorizontalArrowKeymap } from './customKeybinding'
|
|
97
|
+
import { rtlHorizontalArrowKeymap } from './customKeybinding.js'
|
|
98
98
|
|
|
99
|
-
import { allowedProps } from './props'
|
|
99
|
+
import { allowedProps } from './props.js'
|
|
100
100
|
import type { SourceCodeEditorProps } from './props'
|
|
101
101
|
|
|
102
102
|
/**
|
|
@@ -108,6 +108,7 @@ category: components
|
|
|
108
108
|
@withStyle(generateStyle, generateComponentTheme)
|
|
109
109
|
@textDirectionContextConsumer()
|
|
110
110
|
class SourceCodeEditor extends Component<SourceCodeEditorProps> {
|
|
111
|
+
static displayName = 'SourceCodeEditor'
|
|
111
112
|
static readonly componentId = 'SourceCodeEditor'
|
|
112
113
|
|
|
113
114
|
static allowedProps = allowedProps
|
|
@@ -89,13 +89,13 @@ import { textDirectionContextConsumer } from '@instructure/ui-i18n'
|
|
|
89
89
|
|
|
90
90
|
import { withStyleNew } from '@instructure/emotion'
|
|
91
91
|
|
|
92
|
-
import customSearch from './SearchPanel'
|
|
92
|
+
import customSearch from './SearchPanel.js'
|
|
93
93
|
|
|
94
|
-
import generateStyle from './styles'
|
|
94
|
+
import generateStyle from './styles.js'
|
|
95
95
|
|
|
96
|
-
import { rtlHorizontalArrowKeymap } from './customKeybinding'
|
|
96
|
+
import { rtlHorizontalArrowKeymap } from './customKeybinding.js'
|
|
97
97
|
|
|
98
|
-
import { allowedProps } from './props'
|
|
98
|
+
import { allowedProps } from './props.js'
|
|
99
99
|
import type { SourceCodeEditorProps } from './props'
|
|
100
100
|
|
|
101
101
|
/**
|
|
@@ -107,6 +107,7 @@ category: components
|
|
|
107
107
|
@withStyleNew(generateStyle)
|
|
108
108
|
@textDirectionContextConsumer()
|
|
109
109
|
class SourceCodeEditor extends Component<SourceCodeEditorProps> {
|
|
110
|
+
static displayName = 'SourceCodeEditor'
|
|
110
111
|
static readonly componentId = 'SourceCodeEditor'
|
|
111
112
|
|
|
112
113
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { SourceCodeEditor } from '../SourceCodeEditor/v1'
|
|
24
|
+
export { SourceCodeEditor } from '../SourceCodeEditor/v1/index.js'
|
|
25
25
|
export type { SourceCodeEditorProps } from '../SourceCodeEditor/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { SourceCodeEditor } from '../SourceCodeEditor/v2'
|
|
24
|
+
export { SourceCodeEditor } from '../SourceCodeEditor/v2/index.js'
|
|
25
25
|
export type { SourceCodeEditorProps } from '../SourceCodeEditor/v2/props'
|