-
Notifications
You must be signed in to change notification settings - Fork 279
Add extra buttons from liferay-portal #954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d1b0617
Add extra buttons from liferay-portal
7df3c2e
Use constants and template strings for embed templates
77d873e
Sort imports
fa30b81
Sort imports in default skin
2dc8faf
Replace var with let/const and instance properties
c4edcb4
Fix indentation
1ed140c
Fix typo in JSDoc comment
ed79f86
Fix wording in JSDoc comment
9e2ea5c
Change forEach for some
93ebcc2
Use object property shorthand
73f21f1
Use ES6 features (let,const,arrow functions)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| c53f3ac54b9661a152f35743c3075261527c3b82 | ||
| cc3dcb64e9a96a8c6ea572d15efbb68a3b70ca02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| const Constants = require('../constants'); | ||
| const gulp = require('gulp'); | ||
| const path = require('path'); | ||
|
|
||
| gulp.task('copy-svgs', function() { | ||
| var iconsPath = path.join(Constants.rootDir, 'node_modules', 'clay-css', 'lib', 'images', 'icons', 'icons.svg'); | ||
|
|
||
| return gulp.src(iconsPath) | ||
| .pipe(gulp.dest(path.join(Constants.editorDistFolder, 'assets', 'icons'))); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,37 @@ | ||
| { | ||
| "add": "Add", | ||
| "ariaUpdateManyToolbars": "{toolbars} toolbars are available. Press ALT+F10 to focus.", | ||
| "ariaUpdateNoToolbar": "No toolbars are available", | ||
| "ariaUpdateOneToolbar": "{toolbars} toolbar is available. Press ALT+F10 to focus.", | ||
| "ariaUpdateManyToolbars": "{toolbars} toolbars are available. Press ALT+F10 to focus.", | ||
| "camera": "Insert Image from Camera", | ||
| "cameraDisabled": "The browser does not support this action, or it is available on https only (Chrome).", | ||
| "cite": "Cite", | ||
| "clearInput": "Clear Input Field", | ||
| "clear": "Clear", | ||
| "code": "Code", | ||
| "columns": "Cols", | ||
| "confirm": "Confirm", | ||
| "danger": "Danger", | ||
| "deleteEmbed": "Delete embed", | ||
| "disabled": "Disabled", | ||
| "editLink": "Type or paste link here", | ||
| "enterValidUrl": "Please enter a valid url", | ||
| "image": "Insert Image", | ||
| "info": "Info", | ||
| "link": "Link", | ||
| "linkTargetBlank": "_blank (new tab)", | ||
| "linkTargetDefault": "default", | ||
| "linkTargetParent": "_parent", | ||
| "linkTargetSelf": "_self (same tab)", | ||
| "linkTargetTop": "_top", | ||
| "normal": "Normal", | ||
| "pasteVideoLink": "Paste Video Link", | ||
| "platformNotSupported": "Sorry, this platform is not supported", | ||
| "primary": "Primary", | ||
| "removeLink": "Remove link", | ||
| "rows": "Rows", | ||
| "table": "Insert Table" | ||
| "success": "Success", | ||
| "table": "Insert Table", | ||
| "videoPlaybackDisabled": "Video playback is disabled during edit mode", | ||
| "warning": "Warning" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .ae-svg-icon { | ||
| fill: $svg-icon; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .ae-svg-icon { | ||
| display: inline-block; | ||
| height: $svg-icon-size; | ||
| margin-top: $svg-icon-margin-top; | ||
| pointer-events: none; | ||
| vertical-align: middle; | ||
| width: $svg-icon-size; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| $svg-icon: currentColor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| $svg-icon-size: 1em; | ||
| $svg-icon-margin-top: -3px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| .ae-separator::after { | ||
| border-right-color: $separator-color; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,15 @@ | ||
| .ae-separator { | ||
| height: 24px; | ||
| margin-right: 10px; | ||
| height: $separator-height; | ||
| margin-right: $separator-margin-right; | ||
| position: relative; | ||
|
|
||
| &::after { | ||
| border-right: 1px solid white; | ||
| border-right-style: solid; | ||
| border-right-width: $separator-line-border-width; | ||
| content: ''; | ||
| height: 12px; | ||
| height: $separator-line-height; | ||
| position: absolute; | ||
| top: 50%; | ||
| transform: translateY(-50%); | ||
| top: $separator-line-top; | ||
| transform: $separator-line-translateY; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| $separator-color: white; |
6 changes: 6 additions & 0 deletions
6
src/assets/sass/components/ae-separator/variables/structure.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| $separator-height: 24px; | ||
| $separator-margin-right: 10px; | ||
| $separator-line-border-width: 1px; | ||
| $separator-line-height: 12px; | ||
| $separator-line-top: 50%; | ||
| $separator-line-translateY: translateY(-50%); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,17 @@ | ||
| @import "components/ae-editable/skin"; | ||
| @import "components/ae-icon/skin"; | ||
| @import "components/ae-placeholder/skin"; | ||
| @import "components/ae-separator/skin"; | ||
| @import "components/ae-sr-only/skin"; | ||
| @import "components/ae-twitter-link/skin"; | ||
|
|
||
| .ae-ui { | ||
| @import "components/ae-arrow-box/skin"; | ||
| @import "components/ae-button-bridge/skin"; | ||
| @import "components/ae-camera/skin"; | ||
| @import "components/ae-container/skin"; | ||
| @import "components/ae-container-dropdown/skin"; | ||
| @import "components/ae-container-input/skin"; | ||
| @import "components/ae-button-bridge/skin"; | ||
| @import "components/ae-container/skin"; | ||
| @import "components/ae-dropdown/skin"; | ||
| @import "components/ae-toolbar/skin"; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.