@atlaskit/editor-toolbar 0.0.4 → 0.0.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.
- package/CHANGELOG.md +19 -0
- package/afm-cc/tsconfig.json +54 -0
- package/afm-jira/tsconfig.json +54 -0
- package/afm-post-office/tsconfig.json +54 -0
- package/afm-rovo-extension/tsconfig.json +54 -0
- package/afm-townsquare/tsconfig.json +54 -0
- package/build/tsconfig.json +17 -0
- package/dist/cjs/index.js +229 -0
- package/dist/cjs/types.js +5 -0
- package/dist/cjs/ui/Toolbar.compiled.css +8 -0
- package/dist/cjs/ui/Toolbar.js +24 -0
- package/dist/cjs/ui/ToolbarButton.compiled.css +34 -0
- package/dist/cjs/ui/ToolbarButton.js +54 -0
- package/dist/cjs/ui/ToolbarButtonGroup.compiled.css +1 -0
- package/dist/cjs/ui/ToolbarButtonGroup.js +21 -0
- package/dist/cjs/ui/ToolbarColorSwatch.compiled.css +9 -0
- package/dist/cjs/ui/ToolbarColorSwatch.js +25 -0
- package/dist/cjs/ui/ToolbarDropdownDivider.compiled.css +3 -0
- package/dist/cjs/ui/ToolbarDropdownDivider.js +20 -0
- package/dist/cjs/ui/ToolbarDropdownItem.compiled.css +23 -0
- package/dist/cjs/ui/ToolbarDropdownItem.js +79 -0
- package/dist/cjs/ui/ToolbarDropdownItemSection.compiled.css +2 -0
- package/dist/cjs/ui/ToolbarDropdownItemSection.js +21 -0
- package/dist/cjs/ui/ToolbarDropdownMenu.js +34 -0
- package/dist/cjs/ui/ToolbarKeyboardShortcutHint.js +13 -0
- package/dist/cjs/ui/ToolbarNestedDropdownMenu.js +32 -0
- package/dist/cjs/ui/ToolbarSection.compiled.css +2 -0
- package/dist/cjs/ui/ToolbarSection.js +21 -0
- package/dist/cjs/ui/ToolbarTooltip.js +16 -0
- package/dist/cjs/ui/icons/AIAdjustLengthIcon.js +13 -0
- package/dist/cjs/ui/icons/AICasualIcon.js +13 -0
- package/dist/cjs/ui/icons/AIChangeToneIcon.js +13 -0
- package/dist/cjs/ui/icons/AIChatIcon.compiled.css +5 -0
- package/dist/cjs/ui/icons/AIChatIcon.js +27 -0
- package/dist/cjs/ui/icons/AICommandIcon.js +13 -0
- package/dist/cjs/ui/icons/AIHeartIcon.js +13 -0
- package/dist/cjs/ui/icons/AILengthenIcon.js +13 -0
- package/dist/cjs/ui/icons/AIProfessionalIcon.js +13 -0
- package/dist/cjs/ui/icons/AIShortenIcon.js +13 -0
- package/dist/cjs/ui/icons/AISpellcheckIcon.js +13 -0
- package/dist/cjs/ui/icons/AITranslateIcon.js +13 -0
- package/dist/cjs/ui/icons/AddIcon.js +13 -0
- package/dist/cjs/ui/icons/AppsIcon.js +13 -0
- package/dist/cjs/ui/icons/BoldIcon.js +13 -0
- package/dist/cjs/ui/icons/ClearFormattingIcon.js +13 -0
- package/dist/cjs/ui/icons/CommentIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingFiveIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingFourIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingOneIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingSixIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingThreeIcon.js +13 -0
- package/dist/cjs/ui/icons/HeadingTwoIcon.js +13 -0
- package/dist/cjs/ui/icons/ItalicIcon.js +13 -0
- package/dist/cjs/ui/icons/LinkIcon.js +13 -0
- package/dist/cjs/ui/icons/ListBulletedIcon.js +13 -0
- package/dist/cjs/ui/icons/ListNumberedIcon.js +13 -0
- package/dist/cjs/ui/icons/MoreItemsIcon.js +24 -0
- package/dist/cjs/ui/icons/NestedDropdownRightIcon.js +24 -0
- package/dist/cjs/ui/icons/PinIcon.js +13 -0
- package/dist/cjs/ui/icons/PinnedIcon.js +13 -0
- package/dist/cjs/ui/icons/QuoteIcon.js +13 -0
- package/dist/cjs/ui/icons/TextColorIcon.compiled.css +1 -0
- package/dist/cjs/ui/icons/TextColorIcon.js +36 -0
- package/dist/cjs/ui/icons/TextIcon.js +13 -0
- package/dist/es2019/index.js +33 -0
- package/dist/es2019/types.js +1 -0
- package/dist/es2019/ui/Toolbar.compiled.css +8 -0
- package/dist/es2019/ui/Toolbar.js +18 -0
- package/dist/es2019/ui/ToolbarButton.compiled.css +34 -0
- package/dist/es2019/ui/ToolbarButton.js +47 -0
- package/dist/es2019/ui/ToolbarButtonGroup.compiled.css +1 -0
- package/dist/es2019/ui/ToolbarButtonGroup.js +15 -0
- package/dist/es2019/ui/ToolbarColorSwatch.compiled.css +9 -0
- package/dist/es2019/ui/ToolbarColorSwatch.js +19 -0
- package/dist/es2019/ui/ToolbarDropdownDivider.compiled.css +3 -0
- package/dist/es2019/ui/ToolbarDropdownDivider.js +13 -0
- package/dist/es2019/ui/ToolbarDropdownItem.compiled.css +23 -0
- package/dist/es2019/ui/ToolbarDropdownItem.js +68 -0
- package/dist/es2019/ui/ToolbarDropdownItemSection.compiled.css +2 -0
- package/dist/es2019/ui/ToolbarDropdownItemSection.js +15 -0
- package/dist/es2019/ui/ToolbarDropdownMenu.js +26 -0
- package/dist/es2019/ui/ToolbarKeyboardShortcutHint.js +7 -0
- package/dist/es2019/ui/ToolbarNestedDropdownMenu.js +24 -0
- package/dist/es2019/ui/ToolbarSection.compiled.css +2 -0
- package/dist/es2019/ui/ToolbarSection.js +15 -0
- package/dist/es2019/ui/ToolbarTooltip.js +10 -0
- package/dist/es2019/ui/icons/AIAdjustLengthIcon.js +2 -0
- package/dist/es2019/ui/icons/AICasualIcon.js +2 -0
- package/dist/es2019/ui/icons/AIChangeToneIcon.js +2 -0
- package/dist/es2019/ui/icons/AIChatIcon.compiled.css +5 -0
- package/dist/es2019/ui/icons/AIChatIcon.js +19 -0
- package/dist/es2019/ui/icons/AICommandIcon.js +2 -0
- package/dist/es2019/ui/icons/AIHeartIcon.js +2 -0
- package/dist/es2019/ui/icons/AILengthenIcon.js +2 -0
- package/dist/es2019/ui/icons/AIProfessionalIcon.js +2 -0
- package/dist/es2019/ui/icons/AIShortenIcon.js +2 -0
- package/dist/es2019/ui/icons/AISpellcheckIcon.js +2 -0
- package/dist/es2019/ui/icons/AITranslateIcon.js +2 -0
- package/dist/es2019/ui/icons/AddIcon.js +2 -0
- package/dist/es2019/ui/icons/AppsIcon.js +2 -0
- package/dist/es2019/ui/icons/BoldIcon.js +2 -0
- package/dist/es2019/ui/icons/ClearFormattingIcon.js +2 -0
- package/dist/es2019/ui/icons/CommentIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingFiveIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingFourIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingOneIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingSixIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingThreeIcon.js +2 -0
- package/dist/es2019/ui/icons/HeadingTwoIcon.js +2 -0
- package/dist/es2019/ui/icons/ItalicIcon.js +2 -0
- package/dist/es2019/ui/icons/LinkIcon.js +2 -0
- package/dist/es2019/ui/icons/ListBulletedIcon.js +2 -0
- package/dist/es2019/ui/icons/ListNumberedIcon.js +2 -0
- package/dist/es2019/ui/icons/MoreItemsIcon.js +16 -0
- package/dist/es2019/ui/icons/NestedDropdownRightIcon.js +16 -0
- package/dist/es2019/ui/icons/PinIcon.js +2 -0
- package/dist/es2019/ui/icons/PinnedIcon.js +2 -0
- package/dist/es2019/ui/icons/QuoteIcon.js +2 -0
- package/dist/es2019/ui/icons/TextColorIcon.compiled.css +1 -0
- package/dist/es2019/ui/icons/TextColorIcon.js +30 -0
- package/dist/es2019/ui/icons/TextIcon.js +2 -0
- package/dist/esm/index.js +33 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/ui/Toolbar.compiled.css +8 -0
- package/dist/esm/ui/Toolbar.js +17 -0
- package/dist/esm/ui/ToolbarButton.compiled.css +34 -0
- package/dist/esm/ui/ToolbarButton.js +46 -0
- package/dist/esm/ui/ToolbarButtonGroup.compiled.css +1 -0
- package/dist/esm/ui/ToolbarButtonGroup.js +14 -0
- package/dist/esm/ui/ToolbarColorSwatch.compiled.css +9 -0
- package/dist/esm/ui/ToolbarColorSwatch.js +18 -0
- package/dist/esm/ui/ToolbarDropdownDivider.compiled.css +3 -0
- package/dist/esm/ui/ToolbarDropdownDivider.js +13 -0
- package/dist/esm/ui/ToolbarDropdownItem.compiled.css +23 -0
- package/dist/esm/ui/ToolbarDropdownItem.js +71 -0
- package/dist/esm/ui/ToolbarDropdownItemSection.compiled.css +2 -0
- package/dist/esm/ui/ToolbarDropdownItemSection.js +14 -0
- package/dist/esm/ui/ToolbarDropdownMenu.js +27 -0
- package/dist/esm/ui/ToolbarKeyboardShortcutHint.js +6 -0
- package/dist/esm/ui/ToolbarNestedDropdownMenu.js +25 -0
- package/dist/esm/ui/ToolbarSection.compiled.css +2 -0
- package/dist/esm/ui/ToolbarSection.js +14 -0
- package/dist/esm/ui/ToolbarTooltip.js +9 -0
- package/dist/esm/ui/icons/AIAdjustLengthIcon.js +2 -0
- package/dist/esm/ui/icons/AICasualIcon.js +2 -0
- package/dist/esm/ui/icons/AIChangeToneIcon.js +2 -0
- package/dist/esm/ui/icons/AIChatIcon.compiled.css +5 -0
- package/dist/esm/ui/icons/AIChatIcon.js +20 -0
- package/dist/esm/ui/icons/AICommandIcon.js +2 -0
- package/dist/esm/ui/icons/AIHeartIcon.js +2 -0
- package/dist/esm/ui/icons/AILengthenIcon.js +2 -0
- package/dist/esm/ui/icons/AIProfessionalIcon.js +2 -0
- package/dist/esm/ui/icons/AIShortenIcon.js +2 -0
- package/dist/esm/ui/icons/AISpellcheckIcon.js +2 -0
- package/dist/esm/ui/icons/AITranslateIcon.js +2 -0
- package/dist/esm/ui/icons/AddIcon.js +2 -0
- package/dist/esm/ui/icons/AppsIcon.js +2 -0
- package/dist/esm/ui/icons/BoldIcon.js +2 -0
- package/dist/esm/ui/icons/ClearFormattingIcon.js +2 -0
- package/dist/esm/ui/icons/CommentIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingFiveIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingFourIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingOneIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingSixIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingThreeIcon.js +2 -0
- package/dist/esm/ui/icons/HeadingTwoIcon.js +2 -0
- package/dist/esm/ui/icons/ItalicIcon.js +2 -0
- package/dist/esm/ui/icons/LinkIcon.js +2 -0
- package/dist/esm/ui/icons/ListBulletedIcon.js +2 -0
- package/dist/esm/ui/icons/ListNumberedIcon.js +2 -0
- package/dist/esm/ui/icons/MoreItemsIcon.js +17 -0
- package/dist/esm/ui/icons/NestedDropdownRightIcon.js +17 -0
- package/dist/esm/ui/icons/PinIcon.js +2 -0
- package/dist/esm/ui/icons/PinnedIcon.js +2 -0
- package/dist/esm/ui/icons/QuoteIcon.js +2 -0
- package/dist/esm/ui/icons/TextColorIcon.compiled.css +1 -0
- package/dist/esm/ui/icons/TextColorIcon.js +29 -0
- package/dist/esm/ui/icons/TextIcon.js +2 -0
- package/dist/types/index.d.ts +33 -0
- package/dist/types/types.d.ts +4 -0
- package/dist/types/ui/Toolbar.d.ts +7 -0
- package/dist/types/ui/ToolbarButton.d.ts +17 -0
- package/dist/types/ui/ToolbarButtonGroup.d.ts +6 -0
- package/dist/types/ui/ToolbarColorSwatch.d.ts +7 -0
- package/dist/types/ui/ToolbarDropdownDivider.d.ts +2 -0
- package/dist/types/ui/ToolbarDropdownItem.d.ts +24 -0
- package/dist/types/ui/ToolbarDropdownItemSection.d.ts +6 -0
- package/dist/types/ui/ToolbarDropdownMenu.d.ts +10 -0
- package/dist/types/ui/ToolbarKeyboardShortcutHint.d.ts +6 -0
- package/dist/types/ui/ToolbarNestedDropdownMenu.d.ts +10 -0
- package/dist/types/ui/ToolbarSection.d.ts +6 -0
- package/dist/types/ui/ToolbarTooltip.d.ts +7 -0
- package/dist/types/ui/icons/AIAdjustLengthIcon.d.ts +1 -0
- package/dist/types/ui/icons/AICasualIcon.d.ts +1 -0
- package/dist/types/ui/icons/AIChangeToneIcon.d.ts +1 -0
- package/dist/types/ui/icons/AIChatIcon.d.ts +7 -0
- package/dist/types/ui/icons/AICommandIcon.d.ts +1 -0
- package/dist/types/ui/icons/AIHeartIcon.d.ts +1 -0
- package/dist/types/ui/icons/AILengthenIcon.d.ts +1 -0
- package/dist/types/ui/icons/AIProfessionalIcon.d.ts +1 -0
- package/dist/types/ui/icons/AIShortenIcon.d.ts +1 -0
- package/dist/types/ui/icons/AISpellcheckIcon.d.ts +1 -0
- package/dist/types/ui/icons/AITranslateIcon.d.ts +1 -0
- package/dist/types/ui/icons/AddIcon.d.ts +1 -0
- package/dist/types/ui/icons/AppsIcon.d.ts +1 -0
- package/dist/types/ui/icons/BoldIcon.d.ts +1 -0
- package/dist/types/ui/icons/ClearFormattingIcon.d.ts +1 -0
- package/dist/types/ui/icons/CommentIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingFiveIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingFourIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingOneIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingSixIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingThreeIcon.d.ts +1 -0
- package/dist/types/ui/icons/HeadingTwoIcon.d.ts +1 -0
- package/dist/types/ui/icons/ItalicIcon.d.ts +1 -0
- package/dist/types/ui/icons/LinkIcon.d.ts +1 -0
- package/dist/types/ui/icons/ListBulletedIcon.d.ts +1 -0
- package/dist/types/ui/icons/ListNumberedIcon.d.ts +1 -0
- package/dist/types/ui/icons/MoreItemsIcon.d.ts +2 -0
- package/dist/types/ui/icons/NestedDropdownRightIcon.d.ts +2 -0
- package/dist/types/ui/icons/PinIcon.d.ts +1 -0
- package/dist/types/ui/icons/PinnedIcon.d.ts +1 -0
- package/dist/types/ui/icons/QuoteIcon.d.ts +1 -0
- package/dist/types/ui/icons/TextColorIcon.d.ts +9 -0
- package/dist/types/ui/icons/TextIcon.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +33 -0
- package/dist/types-ts4.5/types.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar.d.ts +7 -0
- package/dist/types-ts4.5/ui/ToolbarButton.d.ts +17 -0
- package/dist/types-ts4.5/ui/ToolbarButtonGroup.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarColorSwatch.d.ts +7 -0
- package/dist/types-ts4.5/ui/ToolbarDropdownDivider.d.ts +2 -0
- package/dist/types-ts4.5/ui/ToolbarDropdownItem.d.ts +24 -0
- package/dist/types-ts4.5/ui/ToolbarDropdownItemSection.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarDropdownMenu.d.ts +10 -0
- package/dist/types-ts4.5/ui/ToolbarKeyboardShortcutHint.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarNestedDropdownMenu.d.ts +10 -0
- package/dist/types-ts4.5/ui/ToolbarSection.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarTooltip.d.ts +7 -0
- package/dist/types-ts4.5/ui/icons/AIAdjustLengthIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AICasualIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AIChangeToneIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AIChatIcon.d.ts +7 -0
- package/dist/types-ts4.5/ui/icons/AICommandIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AIHeartIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AILengthenIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AIProfessionalIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AIShortenIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AISpellcheckIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AITranslateIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AddIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/AppsIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/BoldIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/ClearFormattingIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/CommentIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingFiveIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingFourIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingOneIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingSixIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingThreeIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/HeadingTwoIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/ItalicIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/LinkIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/ListBulletedIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/ListNumberedIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/MoreItemsIcon.d.ts +2 -0
- package/dist/types-ts4.5/ui/icons/NestedDropdownRightIcon.d.ts +2 -0
- package/dist/types-ts4.5/ui/icons/PinIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/PinnedIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/QuoteIcon.d.ts +1 -0
- package/dist/types-ts4.5/ui/icons/TextColorIcon.d.ts +9 -0
- package/dist/types-ts4.5/ui/icons/TextIcon.d.ts +1 -0
- package/examples/toolbar/examples/ExampleManuallyComposedToolbar.tsx +62 -58
- package/package.json +6 -5
- package/src/index.ts +3 -1
- package/src/ui/Toolbar.tsx +1 -1
- package/src/ui/ToolbarButton.tsx +5 -18
- package/src/ui/ToolbarColorSwatch.tsx +40 -0
- package/src/ui/ToolbarDropdownMenu.tsx +4 -7
- package/src/ui/icons/AIChatIcon.tsx +15 -1
- package/src/ui/icons/TextColorIcon.tsx +43 -2
- package/tsconfig.app.json +1 -2
- package/tsconfig.dev.json +7 -1
- package/tsconfig.json +7 -1
- package/src/ui/ColorIndicatorWrapper.tsx +0 -25
- package/src/ui/ToolbarDivider.tsx +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#195270](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195270)
|
|
8
|
+
[`749d634017afc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/749d634017afc) -
|
|
9
|
+
[ux] [ED-28580] change toolbar and toolbar button height, icon size and text color icon, remove
|
|
10
|
+
dividers and add comment button label
|
|
11
|
+
|
|
12
|
+
## 0.0.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#192090](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/192090)
|
|
17
|
+
[`d1a5fb90b8bfd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d1a5fb90b8bfd) -
|
|
18
|
+
Add editor-plugin-toolbar package, which stores toolbar components and provides an api to register
|
|
19
|
+
them, using editor-toolbar-model libary as state manager. This plugin also renders a new selection
|
|
20
|
+
toolbar based on the new components.
|
|
21
|
+
|
|
3
22
|
## 0.0.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AIAdjustLengthIcon", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _AIAdjustLengthIcon.AIAdjustLengthIcon;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "AIChatIcon", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _AIChatIcon.AIChatIcon;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "AICommandIcon", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _AICommandIcon.AICommandIcon;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "AddIcon", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _AddIcon.AddIcon;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "AppsIcon", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _AppsIcon.AppsIcon;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "BoldIcon", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _BoldIcon.BoldIcon;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "CommentIcon", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _CommentIcon.CommentIcon;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "HeadingFiveIcon", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _HeadingFiveIcon.HeadingFiveIcon;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "HeadingFourIcon", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _HeadingFourIcon.HeadingFourIcon;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "HeadingOneIcon", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _HeadingOneIcon.HeadingOneIcon;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "HeadingSixIcon", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _HeadingSixIcon.HeadingSixIcon;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "HeadingThreeIcon", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _HeadingThreeIcon.HeadingThreeIcon;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "HeadingTwoIcon", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function get() {
|
|
81
|
+
return _HeadingTwoIcon.HeadingTwoIcon;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "ItalicIcon", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _ItalicIcon.ItalicIcon;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "LinkIcon", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _LinkIcon.LinkIcon;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "ListBulletedIcon", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function get() {
|
|
99
|
+
return _ListBulletedIcon.ListBulletedIcon;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "ListNumberedIcon", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _ListNumberedIcon.ListNumberedIcon;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "MoreItemsIcon", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _MoreItemsIcon.MoreItemsIcon;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "PinIcon", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function get() {
|
|
117
|
+
return _PinIcon.PinIcon;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "PinnedIcon", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function get() {
|
|
123
|
+
return _PinnedIcon.PinnedIcon;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "QuoteIcon", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _QuoteIcon.QuoteIcon;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "TextColorIcon", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function get() {
|
|
135
|
+
return _TextColorIcon.TextColorIcon;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "TextIcon", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _TextIcon.TextIcon;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "Toolbar", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function get() {
|
|
147
|
+
return _Toolbar.Toolbar;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "ToolbarButton", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function get() {
|
|
153
|
+
return _ToolbarButton.ToolbarButton;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "ToolbarButtonGroup", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _ToolbarButtonGroup.ToolbarButtonGroup;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "ToolbarDropdownItem", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function get() {
|
|
165
|
+
return _ToolbarDropdownItem.ToolbarDropdownItem;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "ToolbarDropdownItemSection", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _ToolbarDropdownItemSection.ToolbarDropdownItemSection;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "ToolbarDropdownMenu", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function get() {
|
|
177
|
+
return _ToolbarDropdownMenu.ToolbarDropdownMenu;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "ToolbarKeyboardShortcutHint", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function get() {
|
|
183
|
+
return _ToolbarKeyboardShortcutHint.ToolbarKeyboardShortcutHint;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "ToolbarSection", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function get() {
|
|
189
|
+
return _ToolbarSection.ToolbarSection;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "ToolbarTooltip", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function get() {
|
|
195
|
+
return _ToolbarTooltip.ToolbarTooltip;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
var _Toolbar = require("./ui/Toolbar");
|
|
199
|
+
var _ToolbarButton = require("./ui/ToolbarButton");
|
|
200
|
+
var _ToolbarButtonGroup = require("./ui/ToolbarButtonGroup");
|
|
201
|
+
var _ToolbarDropdownMenu = require("./ui/ToolbarDropdownMenu");
|
|
202
|
+
var _ToolbarDropdownItem = require("./ui/ToolbarDropdownItem");
|
|
203
|
+
var _ToolbarDropdownItemSection = require("./ui/ToolbarDropdownItemSection");
|
|
204
|
+
var _ToolbarKeyboardShortcutHint = require("./ui/ToolbarKeyboardShortcutHint");
|
|
205
|
+
var _ToolbarSection = require("./ui/ToolbarSection");
|
|
206
|
+
var _ToolbarTooltip = require("./ui/ToolbarTooltip");
|
|
207
|
+
var _AIAdjustLengthIcon = require("./ui/icons/AIAdjustLengthIcon");
|
|
208
|
+
var _AIChatIcon = require("./ui/icons/AIChatIcon");
|
|
209
|
+
var _AICommandIcon = require("./ui/icons/AICommandIcon");
|
|
210
|
+
var _AddIcon = require("./ui/icons/AddIcon");
|
|
211
|
+
var _AppsIcon = require("./ui/icons/AppsIcon");
|
|
212
|
+
var _BoldIcon = require("./ui/icons/BoldIcon");
|
|
213
|
+
var _CommentIcon = require("./ui/icons/CommentIcon");
|
|
214
|
+
var _HeadingFiveIcon = require("./ui/icons/HeadingFiveIcon");
|
|
215
|
+
var _HeadingFourIcon = require("./ui/icons/HeadingFourIcon");
|
|
216
|
+
var _HeadingOneIcon = require("./ui/icons/HeadingOneIcon");
|
|
217
|
+
var _HeadingSixIcon = require("./ui/icons/HeadingSixIcon");
|
|
218
|
+
var _HeadingThreeIcon = require("./ui/icons/HeadingThreeIcon");
|
|
219
|
+
var _HeadingTwoIcon = require("./ui/icons/HeadingTwoIcon");
|
|
220
|
+
var _ItalicIcon = require("./ui/icons/ItalicIcon");
|
|
221
|
+
var _LinkIcon = require("./ui/icons/LinkIcon");
|
|
222
|
+
var _ListBulletedIcon = require("./ui/icons/ListBulletedIcon");
|
|
223
|
+
var _ListNumberedIcon = require("./ui/icons/ListNumberedIcon");
|
|
224
|
+
var _MoreItemsIcon = require("./ui/icons/MoreItemsIcon");
|
|
225
|
+
var _PinIcon = require("./ui/icons/PinIcon");
|
|
226
|
+
var _PinnedIcon = require("./ui/icons/PinnedIcon");
|
|
227
|
+
var _QuoteIcon = require("./ui/icons/QuoteIcon");
|
|
228
|
+
var _TextColorIcon = require("./ui/icons/TextColorIcon");
|
|
229
|
+
var _TextIcon = require("./ui/icons/TextIcon");
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
._2rkoi2wt{border-radius:6px}._16qs1cd0{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #091e4226,0 0 1px #091e424f)}
|
|
3
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
4
|
+
._1bsb184x{width:min-content}
|
|
5
|
+
._1e0c1txw{display:flex}
|
|
6
|
+
._4cvr1h6o{align-items:center}
|
|
7
|
+
._4t3i14no{height:36px}
|
|
8
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Toolbar.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Toolbar = void 0;
|
|
9
|
+
require("./Toolbar.compiled.css");
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
11
|
+
var _react = _interopRequireDefault(require("react"));
|
|
12
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
|
+
var styles = {
|
|
14
|
+
toolbar: "_2rkoi2wt _u5f31b66 _19bv1b66 _16qs1cd0 _4t3i14no _1bsb184x _1e0c1txw _4cvr1h6o"
|
|
15
|
+
};
|
|
16
|
+
var Toolbar = exports.Toolbar = function Toolbar(_ref) {
|
|
17
|
+
var children = _ref.children,
|
|
18
|
+
label = _ref.label;
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
20
|
+
xcss: styles.toolbar,
|
|
21
|
+
role: "toolbar",
|
|
22
|
+
"aria-label": label
|
|
23
|
+
}, children);
|
|
24
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
3
|
+
._zulp12x7{gap:var(--ds-space-075,6px)}._13liidpf{border-top-left-radius:0}
|
|
4
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
5
|
+
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
6
|
+
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
7
|
+
._19bvv77o{padding-left:var(--ds-space-025,2px)}
|
|
8
|
+
._1bah1h6o{justify-content:center}
|
|
9
|
+
._1bah1y6m{justify-content:flex-start}
|
|
10
|
+
._1bahesu3{justify-content:flex-end}
|
|
11
|
+
._1e0c1txw{display:flex}
|
|
12
|
+
._1o0zidpf{border-bottom-right-radius:0}
|
|
13
|
+
._1tke1f4h{min-height:28px}
|
|
14
|
+
._4cvr1h6o{align-items:center}
|
|
15
|
+
._80om13gf{cursor:not-allowed}
|
|
16
|
+
._bfhkfg4m{background-color:var(--ds-background-selected,#e9f2ff)}
|
|
17
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
18
|
+
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
19
|
+
._mrkbidpf{border-bottom-left-radius:0}
|
|
20
|
+
._o5721q9c{white-space:nowrap}
|
|
21
|
+
._qrwqidpf{border-top-right-radius:0}
|
|
22
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
23
|
+
._syaz1lh4{color:var(--ds-text-disabled,#091e424f)}
|
|
24
|
+
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
25
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
26
|
+
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
|
+
._u5f3v77o{padding-right:var(--ds-space-025,2px)}
|
|
28
|
+
._1ah3idpf:focus-visible{outline-offset:0}
|
|
29
|
+
._g0pbkb7n:focus-visible{z-index:1}
|
|
30
|
+
._oh03h2mm:focus-visible{position:relative}
|
|
31
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
+
._irr3i1yw:hover{background-color:var(--ds-background-selected-hovered,#cce0ff)}
|
|
33
|
+
._1di619ru:active{background-color:var(--ds-background-selected-pressed,#85b8ff)}
|
|
34
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* ToolbarButton.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.ToolbarButton = void 0;
|
|
9
|
+
require("./ToolbarButton.compiled.css");
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _css = require("@atlaskit/css");
|
|
13
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
14
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
15
|
+
var styles = {
|
|
16
|
+
button: "_zulp12x7 _2rkoiti9 _1e0c1txw _bfhksm61 _o5721q9c _4cvr1h6o _1bah1h6o _1tke1f4h _syaz1gjq _k48p1wq8 _19bvu2gc _u5f3u2gc _1ah3idpf _g0pbkb7n _oh03h2mm",
|
|
17
|
+
enabled: "_irr3166n _1di61dty",
|
|
18
|
+
disabled: "_syaz1lh4 _80om13gf",
|
|
19
|
+
selected: "_bfhkfg4m _irr3i1yw _1di619ru",
|
|
20
|
+
groupStart: "_qrwqidpf _1o0zidpf _1bahesu3 _19bv12x7 _u5f3v77o",
|
|
21
|
+
groupMiddle: "_13liidpf _mrkbidpf _qrwqidpf _1o0zidpf _19bv1b66 _u5f31b66",
|
|
22
|
+
groupEnd: "_13liidpf _mrkbidpf _1bah1y6m _19bvv77o _u5f312x7"
|
|
23
|
+
};
|
|
24
|
+
var ToolbarButton = exports.ToolbarButton = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
25
|
+
var iconBefore = _ref.iconBefore,
|
|
26
|
+
children = _ref.children,
|
|
27
|
+
onClick = _ref.onClick,
|
|
28
|
+
isSelected = _ref.isSelected,
|
|
29
|
+
ariaExpanded = _ref['aria-expanded'],
|
|
30
|
+
ariaHasPopup = _ref['aria-haspopup'],
|
|
31
|
+
ariaControls = _ref['aria-controls'],
|
|
32
|
+
dataDsLevel = _ref['data-ds--level'],
|
|
33
|
+
onBlur = _ref.onBlur,
|
|
34
|
+
onFocus = _ref.onFocus,
|
|
35
|
+
testId = _ref.testId,
|
|
36
|
+
groupLocation = _ref.groupLocation,
|
|
37
|
+
isDisabled = _ref.isDisabled,
|
|
38
|
+
ariaKeyshortcuts = _ref.ariaKeyshortcuts;
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
|
|
40
|
+
ref: ref,
|
|
41
|
+
xcss: (0, _css.cx)(styles.button, isDisabled ? styles.disabled : isSelected ? styles.selected : styles.enabled, groupLocation === 'start' && styles.groupStart, groupLocation === 'middle' && styles.groupMiddle, groupLocation === 'end' && styles.groupEnd),
|
|
42
|
+
"aria-pressed": isSelected,
|
|
43
|
+
"aria-expanded": ariaExpanded,
|
|
44
|
+
"aria-haspopup": ariaHasPopup,
|
|
45
|
+
"aria-controls": ariaControls,
|
|
46
|
+
"aria-keyshortcuts": ariaKeyshortcuts,
|
|
47
|
+
"data-ds--level": dataDsLevel,
|
|
48
|
+
onClick: onClick,
|
|
49
|
+
onBlur: onBlur,
|
|
50
|
+
onFocus: onFocus,
|
|
51
|
+
testId: testId,
|
|
52
|
+
isDisabled: isDisabled
|
|
53
|
+
}, iconBefore, children);
|
|
54
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._1e0c1txw{display:flex}
|