Skip to content

Commit 554d49f

Browse files
committed
new build and fontawesome cleanup
1 parent f54bb61 commit 554d49f

File tree

13 files changed

+13608
-81
lines changed

13 files changed

+13608
-81
lines changed

dist/grapes.js

Lines changed: 13475 additions & 54 deletions
Large diffs are not rendered by default.

dist/grapes.min.js

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/grapes.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "grapesjs",
33
"description": "Free and Open Source Web Builder Framework",
4-
"version": "0.14.62",
4+
"version": "0.14.63",
55
"author": "Artur Arseniev",
66
"license": "BSD-3-Clause",
77
"homepage": "http://grapesjs.com",
88
"main": "dist/grapes.js",
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/artf/grapesjs.git"
11+
"url": "https://github.com/springbot/grapesjs"
1212
},
1313
"dependencies": {
1414
"@fortawesome/fontawesome-pro": "^5.15.4",

src/asset_manager/model/AssetImage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ module.exports = Asset.extend({
77
unitDim: 'px',
88
height: 0,
99
width: 0
10-
},
10+
}
1111
});

src/block_manager/view/CategoryView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = Backbone.View.extend({
1616
this.config = config;
1717
const pfx = this.config.pStylePrefix || '';
1818
this.pfx = pfx;
19-
this.caretR = 'fa fa-caret-right';
20-
this.caretD = 'fa fa-caret-down';
19+
this.caretR = 'far fa-caret-right';
20+
this.caretD = 'far fa-caret-down';
2121
this.iconClass = `${pfx}caret-icon`;
2222
this.activeClass = `${pfx}open`;
2323
this.className = `${pfx}block-category`;

src/dom_components/config/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
components: [],
2828

2929
// Class for new image component
30-
imageCompClass: 'fa fa-picture-o',
30+
imageCompClass: 'far fa-image',
3131

3232
// Open assets manager on create of image component
3333
oAssetsOnCreate: true,

src/dom_components/model/Component.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const avoidInline = em => em && em.getConfig('avoidInlineStyle');
7979
* For example if you create a component likes this: `{ removable: false, draggable: false, propagate: ['removable', 'draggable'] }`
8080
* and append some new component inside, the new added component will get the exact same properties indicated in the `propagate` array (and the `propagate` property itself). Default: `[]`
8181
* @property {Array<Object>} [toolbar=null] Set an array of items to show up inside the toolbar when the component is selected (move, clone, delete).
82-
* Eg. `toolbar: [ { attributes: {class: 'fa fa-arrows'}, command: 'tlb-move' }, ... ]`.
82+
* Eg. `toolbar: [ { attributes: {class: 'far fa-arrows'}, command: 'tlb-move' }, ... ]`.
8383
* By default, when `toolbar` property is falsy the editor will add automatically commands like `move`, `delete`, etc. based on its properties.
8484
* @property {Collection<Component>} [components=null] Children components. Default: `null`
8585
*/
@@ -634,7 +634,7 @@ const Component = Backbone.Model.extend(Styleable).extend(
634634
var tb = [];
635635
if (model.collection) {
636636
tb.push({
637-
attributes: { class: 'fa fa-arrow-up' },
637+
attributes: { class: 'far fa-arrow-up' },
638638
command: ed => ed.runCommand('core:component-exit', { force: 1 })
639639
});
640640
}
@@ -650,13 +650,13 @@ const Component = Backbone.Model.extend(Styleable).extend(
650650
}
651651
if (model.get('copyable')) {
652652
tb.push({
653-
attributes: { class: 'fa fa-clone' },
653+
attributes: { class: 'far fa-clone' },
654654
command: 'tlb-clone'
655655
});
656656
}
657657
if (model.get('removable')) {
658658
tb.push({
659-
attributes: { class: 'fa fa-trash-o' },
659+
attributes: { class: 'far fa-trash' },
660660
command: 'tlb-delete'
661661
});
662662
}

src/dom_components/model/ComponentImage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = Component.extend(
5858

5959
if (!hasButtonBool) {
6060
tb.push({
61-
attributes: { class: 'fa fa-pencil' },
61+
attributes: { class: 'far fa-pencil' },
6262
command: cmdName
6363
});
6464
this.set('toolbar', tb);

0 commit comments

Comments
 (0)