primereact 9.0.0-rc.1 → 9.0.0
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/README.md +2 -2
- package/accordion/accordion.d.ts +2 -2
- package/autocomplete/autocomplete.d.ts +2 -2
- package/avatar/avatar.d.ts +2 -2
- package/avatargroup/avatargroup.d.ts +2 -2
- package/badge/badge.d.ts +2 -2
- package/blockui/blockui.d.ts +2 -2
- package/breadcrumb/breadcrumb.d.ts +2 -2
- package/button/button.d.ts +13 -2
- package/calendar/calendar.d.ts +2 -2
- package/card/card.d.ts +2 -2
- package/carousel/carousel.d.ts +2 -3
- package/cascadeselect/cascadeselect.d.ts +2 -2
- package/chart/chart.d.ts +2 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/chip/chip.d.ts +2 -2
- package/chips/chips.d.ts +2 -2
- package/colorpicker/colorpicker.d.ts +2 -2
- package/column/column.d.ts +3 -45
- package/columngroup/columngroup.d.ts +2 -2
- package/confirmdialog/confirmdialog.d.ts +2 -4
- package/confirmpopup/confirmpopup.d.ts +2 -4
- package/contextmenu/contextmenu.d.ts +2 -2
- package/core/core.js +3 -1
- package/core/core.min.js +2 -2
- package/csstransition/csstransition.d.ts +2 -2
- package/datascroller/datascroller.d.ts +2 -2
- package/datatable/datatable.d.ts +10 -29
- package/dataview/dataview.d.ts +3 -5
- package/deferredcontent/deferredcontent.d.ts +2 -2
- package/dialog/dialog.d.ts +2 -3
- package/divider/divider.d.ts +2 -2
- package/dock/dock.d.ts +2 -4
- package/dropdown/dropdown.d.ts +2 -3
- package/editor/editor.d.ts +2 -2
- package/fieldset/fieldset.d.ts +2 -2
- package/fileupload/fileupload.d.ts +2 -6
- package/galleria/galleria.d.ts +2 -3
- package/hooks/hooks.d.ts +2 -8
- package/image/image.d.ts +2 -2
- package/inplace/inplace.d.ts +20 -10
- package/inputmask/inputmask.d.ts +2 -2
- package/inputnumber/inputnumber.d.ts +2 -2
- package/inputswitch/inputswitch.d.ts +2 -2
- package/inputtext/inputtext.d.ts +2 -2
- package/inputtextarea/inputtextarea.d.ts +2 -2
- package/knob/knob.d.ts +2 -2
- package/listbox/listbox.d.ts +2 -5
- package/megamenu/megamenu.d.ts +2 -2
- package/mention/mention.d.ts +2 -3
- package/menu/menu.d.ts +2 -2
- package/menubar/menubar.d.ts +2 -2
- package/menuitem/menuitem.d.ts +3 -4
- package/message/message.d.ts +2 -2
- package/messages/messages.d.ts +2 -2
- package/multiselect/multiselect.d.ts +2 -4
- package/multistatecheckbox/multistatecheckbox.d.ts +2 -3
- package/orderlist/orderlist.d.ts +2 -3
- package/organizationchart/organizationchart.cjs.js +2 -1
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.d.ts +2 -2
- package/organizationchart/organizationchart.esm.js +2 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +2 -1
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +2 -3
- package/overlayservice/overlayservice.d.ts +2 -3
- package/package.json +2 -2
- package/paginator/paginator.cjs.js +1 -1
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +5 -17
- package/paginator/paginator.esm.js +1 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +1 -1
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.d.ts +2 -3
- package/panelmenu/panelmenu.d.ts +2 -2
- package/password/password.d.ts +2 -2
- package/picklist/picklist.d.ts +2 -3
- package/primereact.all.cjs.js +5 -2
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +5 -2
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +5 -2
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.d.ts +2 -2
- package/progressspinner/progressspinner.d.ts +2 -2
- package/radiobutton/radiobutton.d.ts +2 -2
- package/rating/rating.d.ts +2 -2
- package/resources/primereact.css +633 -629
- package/resources/primereact.min.css +1 -1
- package/ripple/ripple.d.ts +2 -2
- package/row/row.d.ts +2 -2
- package/scrollpanel/scrollpanel.d.ts +2 -2
- package/scrolltop/scrolltop.d.ts +2 -2
- package/selectbutton/selectbutton.d.ts +2 -2
- package/selectitem/selectitem.d.ts +0 -1
- package/sidebar/sidebar.d.ts +2 -2
- package/skeleton/skeleton.d.ts +2 -2
- package/slidemenu/slidemenu.d.ts +2 -2
- package/slider/slider.d.ts +2 -2
- package/speeddial/speeddial.d.ts +2 -3
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitter/splitter.d.ts +2 -2
- package/steps/steps.d.ts +2 -2
- package/styleclass/styleclass.d.ts +2 -2
- package/tabmenu/tabmenu.d.ts +2 -2
- package/tabview/tabview.d.ts +2 -3
- package/tag/tag.d.ts +2 -2
- package/terminal/terminal.d.ts +2 -2
- package/terminalservice/terminalservice.d.ts +2 -3
- package/tieredmenu/tieredmenu.d.ts +2 -2
- package/timeline/timeline.d.ts +2 -2
- package/toast/toast.d.ts +2 -3
- package/togglebutton/togglebutton.d.ts +2 -3
- package/toolbar/toolbar.d.ts +2 -2
- package/tooltip/tooltip.d.ts +2 -2
- package/tooltip/tooltipoptions.d.ts +0 -2
- package/tree/tree.d.ts +2 -11
- package/treeselect/treeselect.d.ts +2 -7
- package/treetable/treetable.d.ts +2 -7
- package/tristatecheckbox/tristatecheckbox.d.ts +2 -2
- package/virtualscroller/virtualscroller.cjs.js +2 -0
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.d.ts +2 -9
- package/virtualscroller/virtualscroller.esm.js +2 -0
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +2 -0
- package/virtualscroller/virtualscroller.min.css +1 -1
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +2 -2
package/panel/panel.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* Panel is a grouping component providing with content toggle feature.
|
|
4
4
|
*
|
|
5
|
-
* [Live Demo](https://www.
|
|
5
|
+
* [Live Demo](https://www.primereact.org/panel/)
|
|
6
6
|
*
|
|
7
7
|
* @module panel
|
|
8
8
|
*
|
|
@@ -13,7 +13,6 @@ import { IconType } from '../utils';
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Custom panel header template options.
|
|
16
|
-
* @group Misc
|
|
17
16
|
*/
|
|
18
17
|
interface PanelHeaderTemplateOptions {
|
|
19
18
|
/**
|
|
@@ -153,7 +152,7 @@ export interface PanelProps extends Omit<React.DetailedHTMLProps<React.HTMLAttri
|
|
|
153
152
|
*
|
|
154
153
|
* _Panel is a grouping component providing with content toggle feature._
|
|
155
154
|
*
|
|
156
|
-
* [Live Demo](https://www.
|
|
155
|
+
* [Live Demo](https://www.primereact.org/panel/)
|
|
157
156
|
* --- ---
|
|
158
157
|
* 
|
|
159
158
|
*
|
package/panelmenu/panelmenu.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* PanelMenu is a hybrid of accordion-tree components.
|
|
4
4
|
*
|
|
5
|
-
* [Live Demo](https://www.
|
|
5
|
+
* [Live Demo](https://www.primereact.org/panelmenu/)
|
|
6
6
|
*
|
|
7
7
|
* @module panelmenu
|
|
8
8
|
*
|
|
@@ -41,7 +41,7 @@ export interface PanelMenuProps extends Omit<React.DetailedHTMLProps<React.HTMLA
|
|
|
41
41
|
*
|
|
42
42
|
* _PanelMenu is a hybrid of accordion-tree components._
|
|
43
43
|
*
|
|
44
|
-
* [Live Demo](https://www.
|
|
44
|
+
* [Live Demo](https://www.primereact.org/panelmenu/)
|
|
45
45
|
* --- ---
|
|
46
46
|
* 
|
|
47
47
|
*
|
package/password/password.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* Password displays strength indicator for password fields.
|
|
4
4
|
*
|
|
5
|
-
* [Live Demo](https://www.
|
|
5
|
+
* [Live Demo](https://www.primereact.org/password/)
|
|
6
6
|
*
|
|
7
7
|
* @module password
|
|
8
8
|
*
|
|
@@ -169,7 +169,7 @@ export interface PasswordProps extends Omit<React.DetailedHTMLProps<React.InputH
|
|
|
169
169
|
*
|
|
170
170
|
* _Password displays strength indicator for password fields._
|
|
171
171
|
*
|
|
172
|
-
* [Live Demo](https://www.
|
|
172
|
+
* [Live Demo](https://www.primereact.org/password/)
|
|
173
173
|
* --- ---
|
|
174
174
|
* 
|
|
175
175
|
*
|
package/picklist/picklist.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
*
|
|
3
3
|
* PickList is used to reorder items between different lists.
|
|
4
4
|
*
|
|
5
|
-
* [Live Demo](https://www.
|
|
5
|
+
* [Live Demo](https://www.primereact.org/picklist/)
|
|
6
6
|
*
|
|
7
7
|
* @module picklist
|
|
8
8
|
*
|
|
@@ -54,7 +54,6 @@ interface PickListChangeEvent {
|
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Custom filter template options.
|
|
57
|
-
* @group Misc
|
|
58
57
|
*/
|
|
59
58
|
interface PickListFilterTemplateOptions {
|
|
60
59
|
/**
|
|
@@ -288,7 +287,7 @@ export interface PickListProps {
|
|
|
288
287
|
*
|
|
289
288
|
* _PickList is used to reorder items between different lists._
|
|
290
289
|
*
|
|
291
|
-
* [Live Demo](https://www.
|
|
290
|
+
* [Live Demo](https://www.primereact.org/picklist/)
|
|
292
291
|
* --- ---
|
|
293
292
|
* 
|
|
294
293
|
*
|
package/primereact.all.cjs.js
CHANGED
|
@@ -5439,6 +5439,8 @@ var VirtualScroller = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__na
|
|
|
5439
5439
|
var otherProps = VirtualScrollerBase.getOtherProps(props);
|
|
5440
5440
|
var className = classNames('p-virtualscroller', {
|
|
5441
5441
|
'p-both-scroll': both,
|
|
5442
|
+
'p-virtualscroller-both': both,
|
|
5443
|
+
'p-virtualscroller-horizontal': horizontal,
|
|
5442
5444
|
'p-horizontal-scroll': horizontal
|
|
5443
5445
|
}, props.className);
|
|
5444
5446
|
var loader = createLoader();
|
|
@@ -13855,7 +13857,7 @@ var FirstPageLinkBase = {
|
|
|
13855
13857
|
};
|
|
13856
13858
|
var JumpToPageInputBase = {
|
|
13857
13859
|
defaultProps: {
|
|
13858
|
-
__TYPE: '
|
|
13860
|
+
__TYPE: 'JumpToPageInput',
|
|
13859
13861
|
page: null,
|
|
13860
13862
|
rows: null,
|
|
13861
13863
|
pageCount: null,
|
|
@@ -29747,6 +29749,7 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
|
|
|
29747
29749
|
colSpan: colspan
|
|
29748
29750
|
}, /*#__PURE__*/React__namespace.createElement("div", {
|
|
29749
29751
|
className: nodeClassName,
|
|
29752
|
+
style: node.style,
|
|
29750
29753
|
onClick: function onClick(e) {
|
|
29751
29754
|
return onNodeClick(e, node);
|
|
29752
29755
|
}
|
|
@@ -29769,7 +29772,7 @@ var OrganizationChart = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__
|
|
|
29769
29772
|
var onNodeClick = function onNodeClick(event, node) {
|
|
29770
29773
|
if (props.selectionMode) {
|
|
29771
29774
|
var target = event.target;
|
|
29772
|
-
if (node.selectable === false ||
|
|
29775
|
+
if (node.selectable === false || DomHandler.hasClass(target, 'p-node-toggler') || DomHandler.hasClass(target, 'p-node-toggler-icon')) {
|
|
29773
29776
|
return;
|
|
29774
29777
|
}
|
|
29775
29778
|
var index = findIndexInSelection(node);
|