@atlaskit/editor-toolbar 0.3.1 → 0.3.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.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/index.js +42 -0
- package/dist/cjs/ui/icons/EmojiIcon.js +13 -0
- package/dist/cjs/ui/icons/ImageIcon.js +13 -0
- package/dist/cjs/ui/icons/LayoutIcon.js +13 -0
- package/dist/cjs/ui/icons/MentionIcon.js +13 -0
- package/dist/cjs/ui/icons/TableIcon.js +13 -0
- package/dist/cjs/ui/icons/TaskIcon.js +13 -0
- package/dist/es2019/index.js +6 -0
- package/dist/es2019/ui/icons/EmojiIcon.js +2 -0
- package/dist/es2019/ui/icons/ImageIcon.js +2 -0
- package/dist/es2019/ui/icons/LayoutIcon.js +2 -0
- package/dist/es2019/ui/icons/MentionIcon.js +2 -0
- package/dist/es2019/ui/icons/TableIcon.js +2 -0
- package/dist/es2019/ui/icons/TaskIcon.js +2 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/ui/icons/EmojiIcon.js +2 -0
- package/dist/esm/ui/icons/ImageIcon.js +2 -0
- package/dist/esm/ui/icons/LayoutIcon.js +2 -0
- package/dist/esm/ui/icons/MentionIcon.js +2 -0
- package/dist/esm/ui/icons/TableIcon.js +2 -0
- package/dist/esm/ui/icons/TaskIcon.js +2 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/ui/icons/EmojiIcon.d.ts +1 -0
- package/dist/types/ui/icons/ImageIcon.d.ts +1 -0
- package/dist/types/ui/icons/LayoutIcon.d.ts +1 -0
- package/dist/types/ui/icons/MentionIcon.d.ts +1 -0
- package/dist/types/ui/icons/TableIcon.d.ts +1 -0
- package/dist/types/ui/icons/TaskIcon.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/icons/EmojiIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/ImageIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/LayoutIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/MentionIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/TableIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/TaskIcon.d.ts +1 -0
- package/package.json +3 -3
- package/src/index.ts +6 -0
- package/src/ui/icons/EmojiIcon.tsx +2 -0
- package/src/ui/icons/ImageIcon.tsx +2 -0
- package/src/ui/icons/LayoutIcon.tsx +2 -0
- package/src/ui/icons/MentionIcon.tsx +2 -0
- package/src/ui/icons/TableIcon.tsx +2 -0
- package/src/ui/icons/TaskIcon.tsx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c3b98666f3840`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c3b98666f3840) -
|
|
8
|
+
[ux] ED-28740 register insert block items to new toolbar behind platform_editor_toolbar_aifc
|
|
9
|
+
|
|
3
10
|
## 0.3.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -136,6 +136,12 @@ Object.defineProperty(exports, "CommentIcon", {
|
|
|
136
136
|
return _CommentIcon.CommentIcon;
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
|
+
Object.defineProperty(exports, "EmojiIcon", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function get() {
|
|
142
|
+
return _EmojiIcon.EmojiIcon;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
139
145
|
Object.defineProperty(exports, "HeadingFiveIcon", {
|
|
140
146
|
enumerable: true,
|
|
141
147
|
get: function get() {
|
|
@@ -172,6 +178,12 @@ Object.defineProperty(exports, "HeadingTwoIcon", {
|
|
|
172
178
|
return _HeadingTwoIcon.HeadingTwoIcon;
|
|
173
179
|
}
|
|
174
180
|
});
|
|
181
|
+
Object.defineProperty(exports, "ImageIcon", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function get() {
|
|
184
|
+
return _ImageIcon.ImageIcon;
|
|
185
|
+
}
|
|
186
|
+
});
|
|
175
187
|
Object.defineProperty(exports, "IndentIcon", {
|
|
176
188
|
enumerable: true,
|
|
177
189
|
get: function get() {
|
|
@@ -184,6 +196,12 @@ Object.defineProperty(exports, "ItalicIcon", {
|
|
|
184
196
|
return _ItalicIcon.ItalicIcon;
|
|
185
197
|
}
|
|
186
198
|
});
|
|
199
|
+
Object.defineProperty(exports, "LayoutIcon", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function get() {
|
|
202
|
+
return _LayoutIcon.LayoutIcon;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
187
205
|
Object.defineProperty(exports, "LinkIcon", {
|
|
188
206
|
enumerable: true,
|
|
189
207
|
get: function get() {
|
|
@@ -202,6 +220,12 @@ Object.defineProperty(exports, "ListNumberedIcon", {
|
|
|
202
220
|
return _ListNumberedIcon.ListNumberedIcon;
|
|
203
221
|
}
|
|
204
222
|
});
|
|
223
|
+
Object.defineProperty(exports, "MentionIcon", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function get() {
|
|
226
|
+
return _MentionIcon.MentionIcon;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
205
229
|
Object.defineProperty(exports, "MoreItemsIcon", {
|
|
206
230
|
enumerable: true,
|
|
207
231
|
get: function get() {
|
|
@@ -268,6 +292,18 @@ Object.defineProperty(exports, "SuperscriptIcon", {
|
|
|
268
292
|
return _SuperscriptIcon.SuperscriptIcon;
|
|
269
293
|
}
|
|
270
294
|
});
|
|
295
|
+
Object.defineProperty(exports, "TableIcon", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function get() {
|
|
298
|
+
return _TableIcon.TableIcon;
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
Object.defineProperty(exports, "TaskIcon", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function get() {
|
|
304
|
+
return _TaskIcon.TaskIcon;
|
|
305
|
+
}
|
|
306
|
+
});
|
|
271
307
|
Object.defineProperty(exports, "TextColorIcon", {
|
|
272
308
|
enumerable: true,
|
|
273
309
|
get: function get() {
|
|
@@ -427,5 +463,11 @@ var _AlignTextCenterIcon = require("./ui/icons/AlignTextCenterIcon");
|
|
|
427
463
|
var _AlignTextRightIcon = require("./ui/icons/AlignTextRightIcon");
|
|
428
464
|
var _IndentIcon = require("./ui/icons/IndentIcon");
|
|
429
465
|
var _OutdentIcon = require("./ui/icons/OutdentIcon");
|
|
466
|
+
var _EmojiIcon = require("./ui/icons/EmojiIcon");
|
|
467
|
+
var _LayoutIcon = require("./ui/icons/LayoutIcon");
|
|
468
|
+
var _ImageIcon = require("./ui/icons/ImageIcon");
|
|
469
|
+
var _MentionIcon = require("./ui/icons/MentionIcon");
|
|
470
|
+
var _TableIcon = require("./ui/icons/TableIcon");
|
|
471
|
+
var _TaskIcon = require("./ui/icons/TaskIcon");
|
|
430
472
|
var _ColorPalette = _interopRequireDefault(require("./ui/ColorPalette"));
|
|
431
473
|
var _uiContext = require("./hooks/ui-context");
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "EmojiIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _emoji.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "ImageIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _image.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _image = _interopRequireDefault(require("@atlaskit/icon/core/image"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "LayoutIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _layoutTwoColumns.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _layoutTwoColumns = _interopRequireDefault(require("@atlaskit/icon/core/layout-two-columns"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "MentionIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _mention.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _mention = _interopRequireDefault(require("@atlaskit/icon/core/mention"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "TableIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _grid.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _grid = _interopRequireDefault(require("@atlaskit/icon/core/grid"));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "TaskIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _task.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
|
package/dist/es2019/index.js
CHANGED
|
@@ -56,5 +56,11 @@ export { AlignTextCenterIcon } from './ui/icons/AlignTextCenterIcon';
|
|
|
56
56
|
export { AlignTextRightIcon } from './ui/icons/AlignTextRightIcon';
|
|
57
57
|
export { IndentIcon } from './ui/icons/IndentIcon';
|
|
58
58
|
export { OutdentIcon } from './ui/icons/OutdentIcon';
|
|
59
|
+
export { EmojiIcon } from './ui/icons/EmojiIcon';
|
|
60
|
+
export { LayoutIcon } from './ui/icons/LayoutIcon';
|
|
61
|
+
export { ImageIcon } from './ui/icons/ImageIcon';
|
|
62
|
+
export { MentionIcon } from './ui/icons/MentionIcon';
|
|
63
|
+
export { TableIcon } from './ui/icons/TableIcon';
|
|
64
|
+
export { TaskIcon } from './ui/icons/TaskIcon';
|
|
59
65
|
export { default as ColorPalette } from './ui/ColorPalette';
|
|
60
66
|
export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
|
package/dist/esm/index.js
CHANGED
|
@@ -56,5 +56,11 @@ export { AlignTextCenterIcon } from './ui/icons/AlignTextCenterIcon';
|
|
|
56
56
|
export { AlignTextRightIcon } from './ui/icons/AlignTextRightIcon';
|
|
57
57
|
export { IndentIcon } from './ui/icons/IndentIcon';
|
|
58
58
|
export { OutdentIcon } from './ui/icons/OutdentIcon';
|
|
59
|
+
export { EmojiIcon } from './ui/icons/EmojiIcon';
|
|
60
|
+
export { LayoutIcon } from './ui/icons/LayoutIcon';
|
|
61
|
+
export { ImageIcon } from './ui/icons/ImageIcon';
|
|
62
|
+
export { MentionIcon } from './ui/icons/MentionIcon';
|
|
63
|
+
export { TableIcon } from './ui/icons/TableIcon';
|
|
64
|
+
export { TaskIcon } from './ui/icons/TaskIcon';
|
|
59
65
|
export { default as ColorPalette } from './ui/ColorPalette';
|
|
60
66
|
export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ export { AlignTextCenterIcon } from './ui/icons/AlignTextCenterIcon';
|
|
|
55
55
|
export { AlignTextRightIcon } from './ui/icons/AlignTextRightIcon';
|
|
56
56
|
export { IndentIcon } from './ui/icons/IndentIcon';
|
|
57
57
|
export { OutdentIcon } from './ui/icons/OutdentIcon';
|
|
58
|
+
export { EmojiIcon } from './ui/icons/EmojiIcon';
|
|
59
|
+
export { LayoutIcon } from './ui/icons/LayoutIcon';
|
|
60
|
+
export { ImageIcon } from './ui/icons/ImageIcon';
|
|
61
|
+
export { MentionIcon } from './ui/icons/MentionIcon';
|
|
62
|
+
export { TableIcon } from './ui/icons/TableIcon';
|
|
63
|
+
export { TaskIcon } from './ui/icons/TaskIcon';
|
|
58
64
|
export { default as ColorPalette } from './ui/ColorPalette';
|
|
59
65
|
export type { IconComponent } from './types';
|
|
60
66
|
export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EmojiIcon } from '@atlaskit/icon/core/emoji';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageIcon } from '@atlaskit/icon/core/image';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LayoutIcon } from '@atlaskit/icon/core/layout-two-columns';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MentionIcon } from '@atlaskit/icon/core/mention';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TableIcon } from '@atlaskit/icon/core/grid';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TaskIcon } from '@atlaskit/icon/core/task';
|
|
@@ -55,6 +55,12 @@ export { AlignTextCenterIcon } from './ui/icons/AlignTextCenterIcon';
|
|
|
55
55
|
export { AlignTextRightIcon } from './ui/icons/AlignTextRightIcon';
|
|
56
56
|
export { IndentIcon } from './ui/icons/IndentIcon';
|
|
57
57
|
export { OutdentIcon } from './ui/icons/OutdentIcon';
|
|
58
|
+
export { EmojiIcon } from './ui/icons/EmojiIcon';
|
|
59
|
+
export { LayoutIcon } from './ui/icons/LayoutIcon';
|
|
60
|
+
export { ImageIcon } from './ui/icons/ImageIcon';
|
|
61
|
+
export { MentionIcon } from './ui/icons/MentionIcon';
|
|
62
|
+
export { TableIcon } from './ui/icons/TableIcon';
|
|
63
|
+
export { TaskIcon } from './ui/icons/TaskIcon';
|
|
58
64
|
export { default as ColorPalette } from './ui/ColorPalette';
|
|
59
65
|
export type { IconComponent } from './types';
|
|
60
66
|
export { useToolbarUI, ToolbarUIProvider } from './hooks/ui-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EmojiIcon } from '@atlaskit/icon/core/emoji';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageIcon } from '@atlaskit/icon/core/image';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LayoutIcon } from '@atlaskit/icon/core/layout-two-columns';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MentionIcon } from '@atlaskit/icon/core/mention';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TableIcon } from '@atlaskit/icon/core/grid';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TaskIcon } from '@atlaskit/icon/core/task';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.2",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"team": "Editor: Jenga",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/badge": "^18.1.0",
|
|
28
|
-
"@atlaskit/button": "^23.
|
|
28
|
+
"@atlaskit/button": "^23.4.0",
|
|
29
29
|
"@atlaskit/css": "^0.12.0",
|
|
30
30
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
31
31
|
"@atlaskit/icon": "^27.12.0",
|
|
32
32
|
"@atlaskit/icon-lab": "^5.6.0",
|
|
33
|
-
"@atlaskit/logo": "^19.
|
|
33
|
+
"@atlaskit/logo": "^19.7.0",
|
|
34
34
|
"@atlaskit/popup": "^4.3.0",
|
|
35
35
|
"@atlaskit/primitives": "^14.11.0",
|
|
36
36
|
"@atlaskit/tokens": "^6.0.0",
|
package/src/index.ts
CHANGED
|
@@ -57,6 +57,12 @@ export { AlignTextCenterIcon } from './ui/icons/AlignTextCenterIcon';
|
|
|
57
57
|
export { AlignTextRightIcon } from './ui/icons/AlignTextRightIcon';
|
|
58
58
|
export { IndentIcon } from './ui/icons/IndentIcon';
|
|
59
59
|
export { OutdentIcon } from './ui/icons/OutdentIcon';
|
|
60
|
+
export { EmojiIcon } from './ui/icons/EmojiIcon';
|
|
61
|
+
export { LayoutIcon } from './ui/icons/LayoutIcon';
|
|
62
|
+
export { ImageIcon } from './ui/icons/ImageIcon';
|
|
63
|
+
export { MentionIcon } from './ui/icons/MentionIcon';
|
|
64
|
+
export { TableIcon } from './ui/icons/TableIcon';
|
|
65
|
+
export { TaskIcon } from './ui/icons/TaskIcon';
|
|
60
66
|
|
|
61
67
|
export { default as ColorPalette } from './ui/ColorPalette';
|
|
62
68
|
|