Skip to content
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

Update #2

Merged
merged 144 commits into from
Dec 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
01e5c87
Fixed an issue where the input element was not updated when the props…
pontasan Aug 21, 2020
dbab00b
adding Event to Datatable.onEditor callbacks Issue #1577
TonisPiip Sep 14, 2020
2c2832e
Refactor on demo pages
mcandu Oct 28, 2020
fda8213
Refactor on demo pages
mcandu Oct 28, 2020
40d9409
Fixed #1654 - Float label is not working on Chips
mertsincan Oct 30, 2020
42a5670
Fixed #1655 - Do not hide overlays on body scroll
mertsincan Oct 30, 2020
8ce36ae
Fixed #1656 - Add separator support to SplitButton
mertsincan Oct 30, 2020
2a1367c
Fixed #1657 - When a partial selection is made among children of a no…
mertsincan Oct 30, 2020
151dbae
Fixed #1658 - Change the types of header, footer, title, subTitle pro…
mertsincan Oct 30, 2020
504eb1e
Refactor on #1658
mertsincan Oct 30, 2020
556600c
Fixed #1623 - Add mediumRegex and strongRegex property to Password
mertsincan Oct 30, 2020
530e6d5
Refactor #1623
mertsincan Oct 30, 2020
c70133e
Fixed #1442 - Multiple sort in TreeTable is not working when passing …
mertsincan Nov 9, 2020
cd689e2
Fixed #1672 - Calendar value change does not update UI
mertsincan Nov 13, 2020
bfccf7e
Merge pull request #1520 from pontasan/master
mertsincan Nov 20, 2020
e113ac5
Fixed #1677 - Add onFocus and onBlur events on InputMask
mertsincan Nov 20, 2020
e164669
Update Mask doc and d.ts
mertsincan Nov 20, 2020
74f293e
Fixed #1678 - Chips is not working when the initial value sets 'null'
mertsincan Nov 20, 2020
bc2849f
Update TS and Hooks demo on InputText
mertsincan Nov 20, 2020
c251461
Add diamond react images
mertsincan Nov 23, 2020
d0a0dc2
Fixed #1671 - OverlayPanel - arrow always on the left side of the panel
mertsincan Nov 23, 2020
cd399c9
Fixed #1683 - Improve Tooltip implementation
mertsincan Nov 23, 2020
9f9e6a2
Fixed #1684 - Improve Password implementation
mertsincan Nov 23, 2020
18be7fb
Refactor #1684 - Update theme.css files
mertsincan Nov 23, 2020
2c4aa65
Fixed #1667 - Tooltip with `showDelay` appears despite cursor has al…
mertsincan Nov 23, 2020
5170d1b
Added blackfriday banner
mertsincan Nov 24, 2020
ff30625
Fixed #1687 - New Component: Timeline
mertsincan Nov 26, 2020
30f4a3e
Add timeline exports
mertsincan Nov 26, 2020
fbe480c
Update theme files
mertsincan Nov 26, 2020
8bb95e8
Add timeline demo
mertsincan Nov 26, 2020
b612d1c
Refactor
mertsincan Nov 26, 2020
751d1c8
Add mira and nano theme
mertsincan Nov 26, 2020
9119d64
Fixed #1688 - Add the 'enter' key support to InputNumber
mertsincan Nov 26, 2020
46a84ca
Fixed #1689 - Chips display for MultiSelect
mertsincan Nov 26, 2020
0dad9df
Update MultiSelect.d.ts
mertsincan Nov 26, 2020
abef561
Update MultiSelect doc and demo
mertsincan Nov 26, 2020
c100dd0
Update theme files
mertsincan Nov 26, 2020
d3b9ecd
Fixed #1690 - Remove PrimeFlex dependency from MegaMenu
mertsincan Nov 26, 2020
c147001
Update MegaMenuDoc.js
mertsincan Nov 26, 2020
afae4f1
Fixed #1691 - DataView throws an exception when the last page is reac…
mertsincan Nov 26, 2020
d77ed5c
Fixed #1653 - Remove 'classnames' dependency from PrimeReact components
mertsincan Nov 26, 2020
52969dd
Update setup page
mertsincan Nov 26, 2020
e7f67e3
cosmetic
mertsincan Nov 26, 2020
8810f9b
Fixed #1685 - DataTable edit not work in [email protected]
mertsincan Nov 27, 2020
ed1cec2
Fixed #1679 - Listbox doc fixes
mertsincan Nov 27, 2020
7a599be
Fixed #1647 - Calendar doc fixes
mertsincan Nov 27, 2020
0f7af30
Fixed #1574 - DataTable Context Menu doesn't reposition
mertsincan Nov 27, 2020
329c440
Fixed #1636 - DataTable with lazy mode and multiple selection doesn't…
mertsincan Nov 29, 2020
3c87cd3
Fixed #1627 - Add showClear property to MultiSelect
mertsincan Nov 29, 2020
734a0a7
Update MultiSelect.d.ts and doc
mertsincan Nov 29, 2020
941dcf7
Update theme files
mertsincan Nov 29, 2020
1750409
Merge pull request #1581 from lino-framework/Issue#1577
mertsincan Nov 29, 2020
6c56548
Fixed #1692 - Change params of onEditorInit, onEditorSubmit, onEditor…
mertsincan Nov 29, 2020
cf9cd78
Update Data/TreeTableEdit demo
mertsincan Nov 29, 2020
177703f
Fixed #1676 - Added Global Tooltip doc
mertsincan Nov 30, 2020
5e61108
Updated changelog.md and menu.json
mertsincan Nov 30, 2020
854ad55
Cosmetics
cagataycivici Nov 30, 2020
27ce53d
Increased hero image and updated news
cagataycivici Nov 30, 2020
c249160
Set version
cagataycivici Nov 30, 2020
b4418db
New iteration
cagataycivici Nov 30, 2020
bc240a7
Update CHANGELOG.md
mertsincan Nov 30, 2020
a477729
Fixed #1697 - Datatable with stateStorage property saves filterheader…
mertsincan Dec 3, 2020
21fda16
fix: Fix type of value in TimelineProps
mateusnava Dec 4, 2020
bd12728
Fixed #1703 - DataTable with empty frozen column throws a JS exception
mertsincan Dec 7, 2020
03c7a84
Fixed doc typo
mertsincan Dec 9, 2020
61228ba
Fixed #1706 - Add filterValue and onFilterValueChange properties to L…
mertsincan Dec 9, 2020
6a76deb
Update Listbox.d.ts and doc
mertsincan Dec 9, 2020
0b12d1b
Fixed #1708 - Add sourceSelection and targetSelection properties to P…
mertsincan Dec 9, 2020
06e5118
Fixed #1707 - Remove onSourceSelect and onTargetSelect callbacks from…
mertsincan Dec 9, 2020
3af00a1
Update doc
mertsincan Dec 9, 2020
f93c8a3
update readme
mertsincan Dec 12, 2020
0e65f81
Fixed #1710 - Typo in tabIndex property name
mertsincan Dec 15, 2020
dc977fa
Merge pull request #1701 from mateusnava/fix/type
mertsincan Dec 15, 2020
48978ac
Fixed #1716 - Add tabIndex property to Checkbox
mertsincan Dec 15, 2020
19a5bed
Fixed #1695 - Add onKeyDown event to InputNumber
mertsincan Dec 15, 2020
74a1a01
Merge branch 'master' of https://github.com/primefaces/primereact
mertsincan Dec 15, 2020
a41f40f
Update filter demo
mertsincan Dec 15, 2020
e88faac
Fixed #1717 - New Component: Avatar
mertsincan Dec 15, 2020
c66012f
Fixed #1719 - New Component: Badge
mertsincan Dec 15, 2020
c66acc8
Update themes for new components
mertsincan Dec 15, 2020
012b55f
Added docs and demos for avatar and badge
mcandu Dec 16, 2020
2e9fae3
update avatar and badge doc
mcandu Dec 16, 2020
6497a81
update menu
mcandu Dec 16, 2020
c8133a0
Merge pull request #1722 from primefaces/avatar-badge-demos
mcandu Dec 16, 2020
f847bc6
Fixed #1723 - New Component: Tag
mcandu Dec 17, 2020
c652aa6
Merge pull request #1724 from primefaces/new-components
mcandu Dec 17, 2020
ef75067
Fixed #1725 - New Component: Skeleton
mcandu Dec 17, 2020
79a406a
Fix docs
mcandu Dec 17, 2020
43fd092
Added InlineHeader for new components
mcandu Dec 17, 2020
2f7a772
exports folder update
mcandu Dec 17, 2020
c2c58c0
Fix changelogText on SkeletonDemo
mcandu Dec 17, 2020
7806f92
Update badge and skeleton docs
mcandu Dec 17, 2020
6f87e89
Update SkeletonDoc
mcandu Dec 17, 2020
31e0962
Fix #1726 - New Component: Divider
mcandu Dec 17, 2020
ff21ed3
Fixed #1727
Merve7 Dec 21, 2020
ecdbc48
Refactor
mertsincan Dec 22, 2020
62684ee
Merge branch 'master' of https://github.com/primefaces/primereact
mertsincan Dec 22, 2020
3ea4338
Update theme
mertsincan Dec 22, 2020
33dda85
Fixed #1729
Merve7 Dec 22, 2020
4d8ac21
Merge branch 'master' of https://github.com/primefaces/primereact
Merve7 Dec 22, 2020
5d942ac
knob demo fix
Merve7 Dec 22, 2020
d53f06f
touch events fix
Merve7 Dec 22, 2020
6ad85ad
Fixed #1730 - New Component: ConfirmDialog
mertsincan Dec 22, 2020
19dc3d4
Fixed #1731 - New Component: ConfirmPopup
mertsincan Dec 22, 2020
cb1b05b
Fixed #1732 - Improve Dialog implementation for ConfirmDialog
mertsincan Dec 22, 2020
ed93a48
Fixed #1733 - New Component: ScrollTop
mertsincan Dec 22, 2020
0690841
Added scrolltop d.ts and exports
mertsincan Dec 22, 2020
802cbfa
Fixed #1734 - New Component: Chip
mertsincan Dec 22, 2020
a975106
Added Chip exports
mertsincan Dec 22, 2020
6f47243
Refactor #1733
mertsincan Dec 22, 2020
d711965
Fixed #1736 New Component: CascadeSelect
Merve7 Dec 24, 2020
d274f02
Added ScrollTop demo and doc
mcandu Dec 25, 2020
862c580
Refactor
mertsincan Dec 25, 2020
8fc0b97
Added Chip demo and doc
mertsincan Dec 25, 2020
5b432e7
Refactor
mertsincan Dec 25, 2020
6cec9fa
Refactor #1732
mertsincan Dec 25, 2020
b7ef75f
Refactor
mertsincan Dec 25, 2020
6a9fb8b
Added ConfirmDialog demo and doc
mertsincan Dec 25, 2020
a1f6b1a
Refactor
mertsincan Dec 25, 2020
ea55847
Added ConfirmPopup doc and demo
mertsincan Dec 25, 2020
c3fd7b5
Refactor #1731
mertsincan Dec 25, 2020
7af7aad
Fixed #1737 - Improving the initial focus of the Dialog
mertsincan Dec 25, 2020
cc94ce5
Refactor #1734
mertsincan Dec 25, 2020
d3168c9
Update theme.css files
mertsincan Dec 25, 2020
487076e
Added discord links
mertsincan Dec 25, 2020
6047f6e
Refactor on Live editor
mertsincan Dec 25, 2020
c7f6555
Refactor
mertsincan Dec 25, 2020
1cd98e9
Added d.ts files for CascadeSelect
mertsincan Dec 26, 2020
4196697
Added d.ts files for Knob
mertsincan Dec 26, 2020
728434e
Added d.ts files for Splitter
mertsincan Dec 26, 2020
4f85ad6
Refactor on d.ts file of new components
mertsincan Dec 26, 2020
c9d1897
Fixed typo on Knob
mertsincan Dec 26, 2020
f7845ff
Refactor
mertsincan Dec 26, 2020
0be3f20
Refactor
mertsincan Dec 26, 2020
cdd47c1
Refactor
mertsincan Dec 26, 2020
cd4c54b
Fixed #1738 - Rename 'readonly' property with 'readOnly' on all compo…
mertsincan Dec 26, 2020
6dcccbe
Fixed #1566 - Change the type of tabIndex property on all components
mertsincan Dec 26, 2020
ba0b0ea
Refactor
mertsincan Dec 26, 2020
4df3f3c
Refactor
mertsincan Dec 26, 2020
1eeea8f
Refactor
mertsincan Dec 26, 2020
860142a
refactor
mertsincan Dec 26, 2020
31020a1
Refactor
mertsincan Dec 26, 2020
adc634a
Refactor
mertsincan Dec 26, 2020
a983e8c
Update README.md
mertsincan Dec 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ package-lock.json

# Themes
public/themes/soho-light/
public/themes/soho-dark/
public/themes/soho-dark/
public/themes/mira/
public/themes/nano/
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,43 @@
# Changelog
## [5.0.2](https://github.com/primefaces/primereact/tree/5.0.2) (2020-11-30)

[Full Changelog](https://github.com/primefaces/primereact/compare/5.0.1...5.0.2)

**Breaking changes:**
- Change params of onEditorInit, onEditorSubmit, onEditorCancel and editorValidator callbacks on Column [\#1692](https://github.com/primefaces/primereact/issues/1692)

**Implemented New Features and Enhancements:**

- Remove PrimeFlex dependency from MegaMenu [\#1690](https://github.com/primefaces/primereact/issues/1690)
- Chips display for MultiSelect [\#1689](https://github.com/primefaces/primereact/issues/1689)
- Add the 'enter' key support to InputNumber [\#1688](https://github.com/primefaces/primereact/issues/1688)
- New Component: Timeline [\#1687](https://github.com/primefaces/primereact/issues/1687)
- Improve Password implementation [\#1684](https://github.com/primefaces/primereact/issues/1684)
- Improve Tooltip implementation [\#1683](https://github.com/primefaces/primereact/issues/1683)
- Add onFocus and onBlur events on InputMask [\#1677](https://github.com/primefaces/primereact/issues/1677)
- OverlayPanel - arrow always on the left side of the panel. [\#1671](https://github.com/primefaces/primereact/issues/1671)
- Change the types of header, footer, title, subTitle properties on Card [\#1658](https://github.com/primefaces/primereact/issues/1658)
- Add separator support to SplitButton [\#1656](https://github.com/primefaces/primereact/issues/1656)
- Do not hide overlays on body scroll [\#1655](https://github.com/primefaces/primereact/issues/1655)
- Remove 'classnames' dependency from PrimeReact components [\#1653](https://github.com/primefaces/primereact/issues/1653)
- Add showClear property to MultiSelect [\#1627](https://github.com/primefaces/primereact/issues/1627)
- Add mediumRegex and strongRegex property to Password [\#1623](https://github.com/primefaces/primereact/issues/1623)
- Add browser event param to editor callbacks on Datatable [\#1577](https://github.com/primefaces/primereact/issues/1577)

**Fixed bugs:**

- DataView throws an exception when the last page is reached using Paginator [\#1691](https://github.com/primefaces/primereact/issues/1691)
- DataTable edit not work \(Input disappears immediately after clicking cell\) in [email protected] [\#1685](https://github.com/primefaces/primereact/issues/1685)
- Chips is not working when the initial value sets 'null' [\#1678](https://github.com/primefaces/primereact/issues/1678)
- Global tooltip documentation missing [\#1676](https://github.com/primefaces/primereact/issues/1676)
- Calendar value change does not update UI [\#1672](https://github.com/primefaces/primereact/issues/1672)
- Tooltip with `showDelay` appears despite cursor has already left the Input [\#1667](https://github.com/primefaces/primereact/issues/1667)
- When a partial selection is made among children of a node, the minus icon doesn't appear in the checkbox of that node. [\#1657](https://github.com/primefaces/primereact/issues/1657)
- Float label is not working on Chips [\#1654](https://github.com/primefaces/primereact/issues/1654)
- DataTable with lazy mode and multiple selection doesn't work as expected [\#1636](https://github.com/primefaces/primereact/issues/1636)
- pRipple working when disabled\(etc menuitem\) [\#1634](https://github.com/primefaces/primereact/issues/1634)
- DataTable Context Menu doesn't reposition [\#1574](https://github.com/primefaces/primereact/issues/1574)
- Multiple sort in TreeTable is not working when passing multisortmeta props [\#1442](https://github.com/primefaces/primereact/issues/1442)

## [5.0.1](https://github.com/primefaces/primereact/tree/5.0.1) (2020-10-12)

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm version](https://badge.fury.io/js/primereact.svg)](https://badge.fury.io/js/primereact)
[![Discord](https://img.shields.io/discord/557940238991753223.svg)](https://discord.gg/gzKFYnpmCY)

[![PrimeReact Hero](https://www.primefaces.org/wp-content/uploads/2020/08/[email protected])](https://www.primefaces.org/primereact)

Expand Down Expand Up @@ -28,15 +29,14 @@ import {Accordion,AccordionTab} from 'primereact/accordion';

Majority of PrimeReact components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.

In addition, components require PrimeIcons for icons, classNames package to manage style classes and react-transition-group for animations.
In addition, components require PrimeIcons for icons and react-transition-group for animations.

```json
dependencies: {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-transition-group": "^2.2.1",
"classnames": "^2.2.5",
"primeicons": "^2.0.0"
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-transition-group": "^4.4.1",
"primeicons": "^4.0.0"
}
```

Expand Down
1 change: 1 addition & 0 deletions exports/avatar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/avatar/Avatar';
3 changes: 3 additions & 0 deletions exports/avatar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/avatar/Avatar');
1 change: 1 addition & 0 deletions exports/avatargroup.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/avatargroup/AvatarGroup';
3 changes: 3 additions & 0 deletions exports/avatargroup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/avatargroup/AvatarGroup');
1 change: 1 addition & 0 deletions exports/badge.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/badge/Badge';
3 changes: 3 additions & 0 deletions exports/badge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/badge/Badge');
1 change: 1 addition & 0 deletions exports/cascadeselect.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/cascadeselect/CascadeSelect';
3 changes: 3 additions & 0 deletions exports/cascadeselect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/cascadeselect/CascadeSelect');
1 change: 1 addition & 0 deletions exports/chip.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/chip/Chip';
3 changes: 3 additions & 0 deletions exports/chip.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/chip/Chip');
1 change: 1 addition & 0 deletions exports/confirmdialog.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/confirmdialog/ConfirmDialog';
3 changes: 3 additions & 0 deletions exports/confirmdialog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/confirmdialog/ConfirmDialog');
1 change: 1 addition & 0 deletions exports/confirmpopup.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/confirmpopup/ConfirmPopup';
3 changes: 3 additions & 0 deletions exports/confirmpopup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/confirmpopup/ConfirmPopup');
1 change: 1 addition & 0 deletions exports/divider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/divider/Divider';
3 changes: 3 additions & 0 deletions exports/divider.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/divider/Divider');
1 change: 1 addition & 0 deletions exports/knob.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/knob/Knob';
3 changes: 3 additions & 0 deletions exports/knob.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/knob/Knob');
1 change: 1 addition & 0 deletions exports/scrolltop.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/scrolltop/ScrollTop';
3 changes: 3 additions & 0 deletions exports/scrolltop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/scrolltop/ScrollTop');
1 change: 1 addition & 0 deletions exports/skeleton.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/skeleton/Skeleton';
3 changes: 3 additions & 0 deletions exports/skeleton.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/skeleton/Skeleton');
1 change: 1 addition & 0 deletions exports/splitter.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/splitter/Splitter';
3 changes: 3 additions & 0 deletions exports/splitter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/splitter/Splitter');
1 change: 1 addition & 0 deletions exports/tag.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/tag/Tag';
3 changes: 3 additions & 0 deletions exports/tag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/tag/Tag');
1 change: 1 addition & 0 deletions exports/timeline.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/timeline/Timeline';
3 changes: 3 additions & 0 deletions exports/timeline.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('./components/timeline/Timeline');
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var gulp = require('gulp'),
rename = require('gulp-rename'),
del = require('del'),
flatten = require('gulp-flatten');

gulp.task('build-css', function() {
return gulp.src([
'src/components/common/Common.css',
Expand All @@ -21,7 +21,8 @@ gulp.task('build-css', function() {

gulp.task('build-themes', function() {
return gulp.src([
'public/themes/**/*','!public/themes/soho-*/**/*'
'public/themes/**/*','!public/themes/soho-*/**/*',
'!public/themes/mira/**/*', '!public/themes/nano/**/*'
])
//.pipe(uglifycss({"uglyComments": true}))
.pipe(gulp.dest('resources/themes'));
Expand All @@ -41,4 +42,3 @@ gulp.task('build-exports', function() {
//Building project with run sequence
gulp.task('build-resources', gulp.series('build-css','images', 'build-themes'));


6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "primereact",
"version": "5.0.2-SNAPSHOT",
"version": "6.0.0-SNAPSHOT",
"homepage": ".",
"repository": {
"type": "git",
Expand All @@ -26,8 +26,8 @@
"gulp-uglify": "^3.0.2",
"gulp-uglifycss": "^1.1.0",
"node-sass": "^4.11.0",
"primeflex": "2.0.0",
"primeicons": "4.0.0",
"primeflex": "^2.0.0",
"primeicons": "^4.1.0",
"prismjs": "^1.15.0",
"prop-types": "^15.6.2",
"quill": "1.3.7",
Expand Down
Loading