@atlaskit/editor-plugin-code-block-advanced 1.0.0 → 1.0.2

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 (31) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/afm-jira/tsconfig.json +36 -0
  3. package/afm-post-office/tsconfig.json +36 -0
  4. package/dist/cjs/nodeviews/codeBlockAdvanced.js +29 -4
  5. package/dist/cjs/nodeviews/codeBlockNodeWithToDOMFixed.js +42 -12
  6. package/dist/cjs/nodeviews/extensions/copyButtonDecorations.js +22 -0
  7. package/dist/cjs/ui/syntaxHighlightingTheme.js +5 -2
  8. package/dist/cjs/ui/theme.js +4 -3
  9. package/dist/es2019/nodeviews/codeBlockAdvanced.js +29 -6
  10. package/dist/es2019/nodeviews/codeBlockNodeWithToDOMFixed.js +58 -28
  11. package/dist/es2019/nodeviews/extensions/copyButtonDecorations.js +16 -0
  12. package/dist/es2019/ui/syntaxHighlightingTheme.js +5 -2
  13. package/dist/es2019/ui/theme.js +4 -3
  14. package/dist/esm/nodeviews/codeBlockAdvanced.js +31 -6
  15. package/dist/esm/nodeviews/codeBlockNodeWithToDOMFixed.js +42 -12
  16. package/dist/esm/nodeviews/extensions/copyButtonDecorations.js +16 -0
  17. package/dist/esm/ui/syntaxHighlightingTheme.js +5 -2
  18. package/dist/esm/ui/theme.js +4 -3
  19. package/dist/types/nodeviews/codeBlockAdvanced.d.ts +3 -0
  20. package/dist/types/nodeviews/extensions/copyButtonDecorations.d.ts +1 -0
  21. package/dist/types-ts4.5/nodeviews/codeBlockAdvanced.d.ts +3 -0
  22. package/dist/types-ts4.5/nodeviews/extensions/copyButtonDecorations.d.ts +1 -0
  23. package/package.json +4 -4
  24. package/src/nodeviews/codeBlockAdvanced.ts +30 -2
  25. package/src/nodeviews/codeBlockNodeWithToDOMFixed.ts +75 -30
  26. package/src/nodeviews/extensions/copyButtonDecorations.ts +15 -0
  27. package/src/nodeviews/lazyCodeBlockAdvanced.ts +0 -1
  28. package/src/ui/syntaxHighlightingTheme.ts +8 -1
  29. package/src/ui/theme.ts +2 -1
  30. package/tsconfig.app.json +53 -0
  31. package/tsconfig.dev.json +47 -0
@@ -0,0 +1,53 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
+ "exclude": [
5
+ "**/docs/**/*",
6
+ "**/__tests__/**/*",
7
+ "**/vr-tests/**/*",
8
+ "**/__perf__/**/*",
9
+ "**/*.test.*",
10
+ "**/test.*",
11
+ "**/test-*",
12
+ "**/examples.ts",
13
+ "**/examples.tsx",
14
+ "**/examples/*.ts",
15
+ "**/examples/*.tsx",
16
+ "**/examples/**/*.ts",
17
+ "**/examples/**/*.tsx",
18
+ "**/storybook/**/*",
19
+ "**/constellation/**/*",
20
+ ".storybook/*",
21
+ "./__fixtures__/**/*",
22
+ "./__generated__/**/*",
23
+ "./mocks/**/*",
24
+ "./__mocks__/**/*",
25
+ "**/mock.*",
26
+ "**/codemods/**/*.ts",
27
+ "**/codemods/**/*.tsx"
28
+ ],
29
+ "compilerOptions": {
30
+ "composite": true,
31
+ "outDir": "../../../tsDist/@atlaskit__editor-plugin-code-block-advanced/app"
32
+ },
33
+ "references": [
34
+ {
35
+ "path": "../../design-system/code/tsconfig.app.json"
36
+ },
37
+ {
38
+ "path": "../editor-common/tsconfig.app.json"
39
+ },
40
+ {
41
+ "path": "../editor-plugin-code-block/tsconfig.app.json"
42
+ },
43
+ {
44
+ "path": "../editor-plugin-editor-disabled/tsconfig.app.json"
45
+ },
46
+ {
47
+ "path": "../editor-plugin-selection/tsconfig.app.json"
48
+ },
49
+ {
50
+ "path": "../../design-system/tokens/tsconfig.app.json"
51
+ }
52
+ ]
53
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "include": [
4
+ "**/docs/**/*",
5
+ "**/__tests__/**/*",
6
+ "**/vr-tests/**/*",
7
+ "**/__perf__/**/*",
8
+ "**/*.test.*",
9
+ "**/test.*",
10
+ "**/test-*",
11
+ "**/examples.ts",
12
+ "**/examples.tsx",
13
+ "**/examples/*.ts",
14
+ "**/examples/*.tsx",
15
+ "**/examples/**/*.ts",
16
+ "**/examples/**/*.tsx",
17
+ "**/storybook/**/*",
18
+ "**/constellation/**/*",
19
+ ".storybook/*",
20
+ "./__fixtures__/**/*",
21
+ "./__generated__/**/*",
22
+ "./mocks/**/*",
23
+ "./__mocks__/**/*",
24
+ "**/mock.*",
25
+ "**/codemods/**/*.ts",
26
+ "**/codemods/**/*.tsx"
27
+ ],
28
+ "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
29
+ "compilerOptions": {
30
+ "composite": true,
31
+ "outDir": "../../../tsDist/@atlaskit__editor-plugin-code-block-advanced/dev"
32
+ },
33
+ "references": [
34
+ {
35
+ "path": "./tsconfig.app.json"
36
+ },
37
+ {
38
+ "path": "../../../build/website/docs/tsconfig.app.json"
39
+ },
40
+ {
41
+ "path": "../editor-common/tsconfig.app.json"
42
+ },
43
+ {
44
+ "path": "../../design-system/tokens/tsconfig.app.json"
45
+ }
46
+ ]
47
+ }