@atlaskit/editor-toolbar 0.3.5 → 0.3.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 (93) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/afm-cc/tsconfig.json +0 -54
  4. package/afm-dev-agents/tsconfig.json +0 -54
  5. package/afm-jira/tsconfig.json +0 -54
  6. package/afm-passionfruit/tsconfig.json +0 -54
  7. package/afm-post-office/tsconfig.json +0 -54
  8. package/afm-rovo-extension/tsconfig.json +0 -54
  9. package/afm-townsquare/tsconfig.json +0 -54
  10. package/afm-volt/tsconfig.json +0 -54
  11. package/build/tsconfig.json +0 -17
  12. package/examples/basic.tsx +0 -3
  13. package/examples/config.jsonc +0 -8
  14. package/examples/toolbar/examples/ExampleManuallyComposedToolbar.tsx +0 -638
  15. package/examples/toolbar/examples/useExampleToolbarState.tsx +0 -86
  16. package/examples/toolbar-ui.tsx +0 -26
  17. package/src/hooks/ui-context.tsx +0 -63
  18. package/src/index.ts +0 -74
  19. package/src/types.ts +0 -3
  20. package/src/ui/ColorPalette/Color.tsx +0 -118
  21. package/src/ui/ColorPalette/getColorMessage.ts +0 -27
  22. package/src/ui/ColorPalette/index.tsx +0 -125
  23. package/src/ui/ColorPalette/types.ts +0 -96
  24. package/src/ui/ColorPalette/utils.ts +0 -102
  25. package/src/ui/Toolbar.tsx +0 -57
  26. package/src/ui/ToolbarButton.tsx +0 -120
  27. package/src/ui/ToolbarButtonGroup.tsx +0 -57
  28. package/src/ui/ToolbarColorSwatch.tsx +0 -37
  29. package/src/ui/ToolbarDropdownItem.tsx +0 -142
  30. package/src/ui/ToolbarDropdownItemSection.tsx +0 -21
  31. package/src/ui/ToolbarDropdownMenu.tsx +0 -112
  32. package/src/ui/ToolbarDropdownMenuContext.tsx +0 -44
  33. package/src/ui/ToolbarKeyboardShortcutHint.tsx +0 -11
  34. package/src/ui/ToolbarNestedDropdownMenu.tsx +0 -45
  35. package/src/ui/ToolbarSection.tsx +0 -44
  36. package/src/ui/ToolbarTooltip.tsx +0 -18
  37. package/src/ui/icons/AIAdjustLengthIcon.tsx +0 -2
  38. package/src/ui/icons/AICasualIcon.tsx +0 -2
  39. package/src/ui/icons/AIChangeToneIcon.tsx +0 -2
  40. package/src/ui/icons/AIChatIcon.tsx +0 -50
  41. package/src/ui/icons/AICommandIcon.tsx +0 -2
  42. package/src/ui/icons/AIHeartIcon.tsx +0 -2
  43. package/src/ui/icons/AILengthenIcon.tsx +0 -2
  44. package/src/ui/icons/AIProfessionalIcon.tsx +0 -2
  45. package/src/ui/icons/AIShortenIcon.tsx +0 -2
  46. package/src/ui/icons/AISpellcheckIcon.tsx +0 -2
  47. package/src/ui/icons/AISummarizeIcon.tsx +0 -2
  48. package/src/ui/icons/AITranslateIcon.tsx +0 -2
  49. package/src/ui/icons/AddIcon.tsx +0 -2
  50. package/src/ui/icons/AlignTextCenterIcon.tsx +0 -2
  51. package/src/ui/icons/AlignTextLeftIcon.tsx +0 -2
  52. package/src/ui/icons/AlignTextRightIcon.tsx +0 -2
  53. package/src/ui/icons/AppsIcon.tsx +0 -2
  54. package/src/ui/icons/BoldIcon.tsx +0 -2
  55. package/src/ui/icons/ClearFormattingIcon.tsx +0 -2
  56. package/src/ui/icons/CodeIcon.tsx +0 -2
  57. package/src/ui/icons/CommentIcon.tsx +0 -2
  58. package/src/ui/icons/EmojiIcon.tsx +0 -2
  59. package/src/ui/icons/HeadingFiveIcon.tsx +0 -2
  60. package/src/ui/icons/HeadingFourIcon.tsx +0 -2
  61. package/src/ui/icons/HeadingOneIcon.tsx +0 -2
  62. package/src/ui/icons/HeadingSixIcon.tsx +0 -2
  63. package/src/ui/icons/HeadingThreeIcon.tsx +0 -2
  64. package/src/ui/icons/HeadingTwoIcon.tsx +0 -2
  65. package/src/ui/icons/HistoryIcon.tsx +0 -2
  66. package/src/ui/icons/ImageIcon.tsx +0 -2
  67. package/src/ui/icons/IndentIcon.tsx +0 -2
  68. package/src/ui/icons/ItalicIcon.tsx +0 -2
  69. package/src/ui/icons/LayoutIcon.tsx +0 -2
  70. package/src/ui/icons/LinkIcon.tsx +0 -2
  71. package/src/ui/icons/ListBulletedIcon.tsx +0 -2
  72. package/src/ui/icons/ListNumberedIcon.tsx +0 -2
  73. package/src/ui/icons/MentionIcon.tsx +0 -2
  74. package/src/ui/icons/MoreItemsIcon.tsx +0 -22
  75. package/src/ui/icons/NestedDropdownRightIcon.tsx +0 -22
  76. package/src/ui/icons/OutdentIcon.tsx +0 -2
  77. package/src/ui/icons/PinIcon.tsx +0 -2
  78. package/src/ui/icons/PinnedIcon.tsx +0 -2
  79. package/src/ui/icons/QuoteIcon.tsx +0 -2
  80. package/src/ui/icons/RedoIcon.tsx +0 -2
  81. package/src/ui/icons/ShowMoreHorizontal.tsx +0 -22
  82. package/src/ui/icons/StrikeThroughIcon.tsx +0 -2
  83. package/src/ui/icons/SubscriptIcon.tsx +0 -31
  84. package/src/ui/icons/SuperscriptIcon.tsx +0 -31
  85. package/src/ui/icons/TableIcon.tsx +0 -2
  86. package/src/ui/icons/TaskIcon.tsx +0 -2
  87. package/src/ui/icons/TextColorIcon.tsx +0 -43
  88. package/src/ui/icons/TextIcon.tsx +0 -2
  89. package/src/ui/icons/UnderlineIcon.tsx +0 -2
  90. package/src/ui/icons/UndoIcon.tsx +0 -2
  91. package/tsconfig.app.json +0 -65
  92. package/tsconfig.dev.json +0 -56
  93. package/tsconfig.json +0 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 0.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`098cfbb01dc36`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/098cfbb01dc36) -
8
+ Add missing npmignore files to remove unnecessary files from published package
9
+
3
10
  ## 0.3.5
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.3.5",
6
+ "version": "0.3.6",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "composite": true,
7
- "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-toolbar",
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-cc/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-cc/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-cc/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-cc/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-cc/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-cc/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-cc/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-cc/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-cc/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-cc/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../dev-agents/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-dev-agents/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-dev-agents/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-dev-agents/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-dev-agents/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-dev-agents/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-dev-agents/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-dev-agents/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-dev-agents/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-dev-agents/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-jira/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-jira/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-jira/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-jira/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-jira/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-jira/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-jira/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-jira/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-jira/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-passionfruit/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-passionfruit/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-passionfruit/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-passionfruit/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-passionfruit/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-passionfruit/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-passionfruit/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-passionfruit/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-passionfruit/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-post-office/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-post-office/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-post-office/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-post-office/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-post-office/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-rovo-extension/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-rovo-extension/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-rovo-extension/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-rovo-extension/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-rovo-extension/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-rovo-extension/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-rovo-extension/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-townsquare/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-townsquare/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-townsquare/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-townsquare/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-townsquare/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-townsquare/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-townsquare/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.volt.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../volt/tsDist/@atlaskit__editor-toolbar/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../design-system/badge/afm-volt/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/button/afm-volt/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/css/afm-volt/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/dropdown-menu/afm-volt/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-volt/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon-lab/afm-volt/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/logo/afm-volt/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/popup/afm-volt/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-volt/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../design-system/tokens/afm-volt/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/tooltip/afm-volt/tsconfig.json"
52
- }
53
- ]
54
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "paths": {}
7
- },
8
- "include": [
9
- "../src/**/*.ts",
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*"
16
- ]
17
- }
@@ -1,3 +0,0 @@
1
- export default function Basic() {
2
- return null;
3
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file is used by the test scaling project to optimise test result caching
3
- * Examples that are used by tests affect the outcome of tests so must be included when hashing
4
- * They are defined here so the hashing algorithm doesn't need to search test files for example usage each time
5
- */
6
- {
7
- "testExamples": ["basic.tsx"],
8
- }