primereact 7.0.0 → 7.0.1
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/button/button.cjs.js +23 -24
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +23 -24
- package/button/button.esm.min.js +1 -1
- package/button/button.js +23 -24
- package/button/button.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +2 -2
- package/core/core.js +25 -26
- package/core/core.min.js +2 -2
- package/multiselect/multiselect.cjs.js +1 -2
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -2
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -2
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/primereact.all.cjs.js +10 -12
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +10 -12
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +10 -12
- package/primereact.all.min.js +1 -1
- package/resources/primereact.css +94 -95
- package/resources/primereact.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +2 -2
- package/resources/themes/arya-green/theme.css +2 -2
- package/resources/themes/arya-orange/theme.css +2 -2
- package/resources/themes/arya-purple/theme.css +2 -2
- package/resources/themes/bootstrap4-dark-blue/theme.css +2 -2
- package/resources/themes/bootstrap4-dark-purple/theme.css +2 -2
- package/resources/themes/bootstrap4-light-blue/theme.css +2 -2
- package/resources/themes/bootstrap4-light-purple/theme.css +2 -2
- package/resources/themes/fluent-light/theme.css +2 -2
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5671 -0
- package/resources/themes/lara-dark-indigo/theme.css +2 -2
- package/resources/themes/lara-dark-purple/theme.css +79 -79
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5671 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5671 -0
- package/resources/themes/lara-light-indigo/theme.css +85 -85
- package/resources/themes/lara-light-purple/theme.css +85 -85
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5671 -0
- package/resources/themes/luna-amber/theme.css +2 -2
- package/resources/themes/luna-blue/theme.css +2 -2
- package/resources/themes/luna-green/theme.css +2 -2
- package/resources/themes/luna-pink/theme.css +2 -2
- package/resources/themes/md-dark-deeppurple/theme.css +2 -2
- package/resources/themes/md-dark-indigo/theme.css +2 -2
- package/resources/themes/md-light-deeppurple/theme.css +12 -6
- package/resources/themes/md-light-indigo/theme.css +2 -2
- package/resources/themes/mdc-dark-deeppurple/theme.css +2 -2
- package/resources/themes/mdc-dark-indigo/theme.css +2 -2
- package/resources/themes/mdc-light-deeppurple/theme.css +2 -2
- package/resources/themes/mdc-light-indigo/theme.css +2 -2
- package/resources/themes/nova/theme.css +2 -2
- package/resources/themes/nova-accent/theme.css +2 -2
- package/resources/themes/nova-alt/theme.css +2 -2
- package/resources/themes/rhea/theme.css +2 -2
- package/resources/themes/saga-blue/theme.css +2 -2
- package/resources/themes/saga-green/theme.css +2 -2
- package/resources/themes/saga-orange/theme.css +2 -2
- package/resources/themes/saga-purple/theme.css +2 -2
- package/resources/themes/tailwind-light/theme.css +2 -2
- package/resources/themes/vela-blue/theme.css +2 -2
- package/resources/themes/vela-green/theme.css +2 -2
- package/resources/themes/vela-orange/theme.css +2 -2
- package/resources/themes/vela-purple/theme.css +2 -2
- package/tooltip/tooltip.min.css +1 -1
- package/treetable/treetable.cjs.js +2 -2
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +2 -2
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +2 -2
- package/treetable/treetable.min.js +1 -1
- package/utils/utils.cjs.js +2 -2
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +2 -2
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +2 -2
- package/utils/utils.min.js +1 -1
- package/web-types.json +1 -1
package/primereact.all.esm.js
CHANGED
|
@@ -269,7 +269,7 @@ var DomHandler = /*#__PURE__*/function () {
|
|
|
269
269
|
key: "getOuterWidth",
|
|
270
270
|
value: function getOuterWidth(el, margin) {
|
|
271
271
|
if (el) {
|
|
272
|
-
var width = el.offsetWidth;
|
|
272
|
+
var width = el.offsetWidth || el.getBoundingClientRect().width;
|
|
273
273
|
|
|
274
274
|
if (margin) {
|
|
275
275
|
var style = getComputedStyle(el);
|
|
@@ -285,7 +285,7 @@ var DomHandler = /*#__PURE__*/function () {
|
|
|
285
285
|
key: "getOuterHeight",
|
|
286
286
|
value: function getOuterHeight(el, margin) {
|
|
287
287
|
if (el) {
|
|
288
|
-
var height = el.offsetHeight;
|
|
288
|
+
var height = el.offsetHeight || el.getBoundingClientRect().height;
|
|
289
289
|
|
|
290
290
|
if (margin) {
|
|
291
291
|
var style = getComputedStyle(el);
|
|
@@ -4116,15 +4116,14 @@ var ButtonComponent = /*#__PURE__*/function (_Component) {
|
|
|
4116
4116
|
}, {
|
|
4117
4117
|
key: "renderIcon",
|
|
4118
4118
|
value: function renderIcon() {
|
|
4119
|
-
var _classNames;
|
|
4120
|
-
|
|
4121
4119
|
var icon = this.props.loading ? this.props.loadingIcon : this.props.icon;
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
'p-button-
|
|
4127
|
-
|
|
4120
|
+
var className = classNames('p-button-icon p-c', {
|
|
4121
|
+
'p-button-loading-icon': this.props.loading,
|
|
4122
|
+
'p-button-icon-left': this.props.iconPos === 'left' && this.props.label,
|
|
4123
|
+
'p-button-icon-right': this.props.iconPos === 'right' && this.props.label,
|
|
4124
|
+
'p-button-icon-top': this.props.iconPos === 'top' && this.props.label,
|
|
4125
|
+
'p-button-icon-bottom': this.props.iconPos === 'bottom' && this.props.label
|
|
4126
|
+
});
|
|
4128
4127
|
return IconUtils.getJSXIcon(icon, {
|
|
4129
4128
|
className: className
|
|
4130
4129
|
}, {
|
|
@@ -34070,11 +34069,10 @@ var MultiSelect = /*#__PURE__*/function (_Component) {
|
|
|
34070
34069
|
}
|
|
34071
34070
|
}, {
|
|
34072
34071
|
key: "onOverlayEntered",
|
|
34073
|
-
value: function onOverlayEntered(
|
|
34072
|
+
value: function onOverlayEntered() {
|
|
34074
34073
|
this.bindDocumentClickListener();
|
|
34075
34074
|
this.bindScrollListener();
|
|
34076
34075
|
this.bindResizeListener();
|
|
34077
|
-
callback && callback();
|
|
34078
34076
|
this.props.onShow && this.props.onShow();
|
|
34079
34077
|
}
|
|
34080
34078
|
}, {
|