primereact 10.0.7 → 10.0.8

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.
Files changed (72) hide show
  1. package/api/api.cjs.js +1 -0
  2. package/api/api.cjs.min.js +1 -1
  3. package/api/api.esm.js +1 -0
  4. package/api/api.esm.min.js +1 -1
  5. package/api/api.js +1 -0
  6. package/api/api.min.js +1 -1
  7. package/column/column.d.ts +8 -0
  8. package/componentbase/componentbase.cjs.js +4 -3
  9. package/componentbase/componentbase.cjs.min.js +1 -1
  10. package/componentbase/componentbase.esm.js +4 -3
  11. package/componentbase/componentbase.esm.min.js +1 -1
  12. package/componentbase/componentbase.js +4 -3
  13. package/componentbase/componentbase.min.js +1 -1
  14. package/core/core.js +20 -4
  15. package/core/core.min.js +4 -4
  16. package/datatable/datatable.cjs.js +8 -6
  17. package/datatable/datatable.cjs.min.js +1 -1
  18. package/datatable/datatable.d.ts +4 -0
  19. package/datatable/datatable.esm.js +8 -6
  20. package/datatable/datatable.esm.min.js +1 -1
  21. package/datatable/datatable.js +8 -6
  22. package/datatable/datatable.min.js +1 -1
  23. package/inputnumber/inputnumber.cjs.js +3 -0
  24. package/inputnumber/inputnumber.cjs.min.js +1 -1
  25. package/inputnumber/inputnumber.esm.js +3 -0
  26. package/inputnumber/inputnumber.esm.min.js +1 -1
  27. package/inputnumber/inputnumber.js +3 -0
  28. package/inputnumber/inputnumber.min.js +1 -1
  29. package/multiselect/multiselect.cjs.js +2 -2
  30. package/multiselect/multiselect.cjs.min.js +1 -1
  31. package/multiselect/multiselect.esm.js +2 -2
  32. package/multiselect/multiselect.esm.min.js +1 -1
  33. package/multiselect/multiselect.js +2 -2
  34. package/multiselect/multiselect.min.js +1 -1
  35. package/orderlist/orderlist.cjs.js +2 -2
  36. package/orderlist/orderlist.cjs.min.js +1 -1
  37. package/orderlist/orderlist.esm.js +2 -2
  38. package/orderlist/orderlist.esm.min.js +1 -1
  39. package/orderlist/orderlist.js +2 -2
  40. package/orderlist/orderlist.min.js +1 -1
  41. package/package.json +1 -1
  42. package/panelmenu/panelmenu.cjs.js +1 -1
  43. package/panelmenu/panelmenu.cjs.min.js +1 -1
  44. package/panelmenu/panelmenu.esm.js +1 -1
  45. package/panelmenu/panelmenu.esm.min.js +1 -1
  46. package/panelmenu/panelmenu.js +1 -1
  47. package/panelmenu/panelmenu.min.js +1 -1
  48. package/passthrough/tailwind/index.cjs.js +36 -51
  49. package/passthrough/tailwind/index.cjs.min.js +1 -1
  50. package/passthrough/tailwind/index.esm.js +36 -51
  51. package/passthrough/tailwind/index.esm.min.js +1 -1
  52. package/passthrough/tailwind/index.js +36 -51
  53. package/passthrough/tailwind/index.min.js +1 -1
  54. package/primereact.all.cjs.js +34 -15
  55. package/primereact.all.cjs.min.js +1 -1
  56. package/primereact.all.esm.js +34 -15
  57. package/primereact.all.esm.min.js +1 -1
  58. package/primereact.all.js +34 -15
  59. package/primereact.all.min.js +1 -1
  60. package/ripple/ripple.cjs.js +12 -1
  61. package/ripple/ripple.cjs.min.js +1 -1
  62. package/ripple/ripple.esm.js +12 -1
  63. package/ripple/ripple.esm.min.js +1 -1
  64. package/ripple/ripple.js +12 -1
  65. package/ripple/ripple.min.js +1 -1
  66. package/splitter/splitter.cjs.js +1 -0
  67. package/splitter/splitter.cjs.min.js +1 -1
  68. package/splitter/splitter.esm.js +1 -0
  69. package/splitter/splitter.esm.min.js +1 -1
  70. package/splitter/splitter.js +1 -0
  71. package/splitter/splitter.min.js +1 -1
  72. package/web-types.json +1 -1
@@ -2,47 +2,6 @@ this.passthrough = this.passthrough || {};
2
2
  this.passthrough.tailwind = (function (exports) {
3
3
  'use strict';
4
4
 
5
- function _typeof(o) {
6
- "@babel/helpers - typeof";
7
-
8
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
9
- return typeof o;
10
- } : function (o) {
11
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
12
- }, _typeof(o);
13
- }
14
-
15
- function _toPrimitive(input, hint) {
16
- if (_typeof(input) !== "object" || input === null) return input;
17
- var prim = input[Symbol.toPrimitive];
18
- if (prim !== undefined) {
19
- var res = prim.call(input, hint || "default");
20
- if (_typeof(res) !== "object") return res;
21
- throw new TypeError("@@toPrimitive must return a primitive value.");
22
- }
23
- return (hint === "string" ? String : Number)(input);
24
- }
25
-
26
- function _toPropertyKey(arg) {
27
- var key = _toPrimitive(arg, "string");
28
- return _typeof(key) === "symbol" ? key : String(key);
29
- }
30
-
31
- function _defineProperty(obj, key, value) {
32
- key = _toPropertyKey(key);
33
- if (key in obj) {
34
- Object.defineProperty(obj, key, {
35
- value: value,
36
- enumerable: true,
37
- configurable: true,
38
- writable: true
39
- });
40
- } else {
41
- obj[key] = value;
42
- }
43
- return obj;
44
- }
45
-
46
5
  function _arrayWithHoles(arr) {
47
6
  if (Array.isArray(arr)) return arr;
48
7
  }
@@ -98,6 +57,16 @@ this.passthrough.tailwind = (function (exports) {
98
57
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
99
58
  }
100
59
 
60
+ function _typeof(o) {
61
+ "@babel/helpers - typeof";
62
+
63
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
64
+ return typeof o;
65
+ } : function (o) {
66
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
67
+ }, _typeof(o);
68
+ }
69
+
101
70
  function classNames() {
102
71
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
103
72
  args[_key] = arguments[_key];
@@ -1469,10 +1438,10 @@ this.passthrough.tailwind = (function (exports) {
1469
1438
  label: function label(_ref73) {
1470
1439
  var props = _ref73.props;
1471
1440
  return {
1472
- className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
1441
+ className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', {
1473
1442
  '!p-3': props.display !== 'chip' && ((props === null || props === void 0 ? void 0 : props.modelValue) == null || (props === null || props === void 0 ? void 0 : props.modelValue) == undefined),
1474
- '!py-1.5 px-3': props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1475
- }, "!p-3", props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) == null))
1443
+ '!py-1.5 px-3': props.display === 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1444
+ })
1476
1445
  };
1477
1446
  },
1478
1447
  token: {
@@ -2065,7 +2034,8 @@ this.passthrough.tailwind = (function (exports) {
2065
2034
  separator: 'border-t border-gray-300 dark:border-blue-900/40 my-1',
2066
2035
  button: {
2067
2036
  className: classNames('flex sm:hidden w-8 h-8 rounded-full text-gray-600 dark:text-white/80 transition duration-200 ease-in-out', 'cursor-pointer flex items-center justify-center no-underline', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80 ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
2068
- }
2037
+ },
2038
+ end: 'ml-auto self-auto'
2069
2039
  },
2070
2040
  megamenu: {
2071
2041
  root: function root(_ref102) {
@@ -2158,7 +2128,9 @@ this.passthrough.tailwind = (function (exports) {
2158
2128
  },
2159
2129
  panelmenu: {
2160
2130
  root: 'w-full md:w-[25rem]',
2161
- panel: 'mb-1',
2131
+ panel: {
2132
+ className: classNames('mb-1')
2133
+ },
2162
2134
  header: {
2163
2135
  className: classNames('outline-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-900 rounded-md transition-shadow duration-200', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80' // Focus
2164
2136
  )
@@ -2167,9 +2139,15 @@ this.passthrough.tailwind = (function (exports) {
2167
2139
  headeraction: {
2168
2140
  className: classNames('flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold')
2169
2141
  },
2170
- submenuicon: 'mr-2',
2171
- headericon: 'mr-2',
2172
- menucontent: 'py-1 border border-t-0 border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 rounded-t-none rounded-br-md rounded-bl-md',
2142
+ headersubmenuicon: {
2143
+ className: classNames('mr-2')
2144
+ },
2145
+ headericon: {
2146
+ className: classNames('mr-2')
2147
+ },
2148
+ menucontent: {
2149
+ className: classNames('py-1 border border-t-0 border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 rounded-t-none rounded-br-md rounded-bl-md')
2150
+ },
2173
2151
  menu: {
2174
2152
  className: classNames('outline-none', 'm-0 p-0 list-none')
2175
2153
  },
@@ -2186,8 +2164,15 @@ this.passthrough.tailwind = (function (exports) {
2186
2164
  )
2187
2165
  },
2188
2166
 
2189
- icon: 'mr-2',
2190
- submenu: 'p-0 pl-4 m-0 list-none',
2167
+ icon: {
2168
+ className: classNames('mr-2')
2169
+ },
2170
+ submenu: {
2171
+ className: classNames('p-0 pl-4 m-0 list-none')
2172
+ },
2173
+ submenuicon: {
2174
+ className: classNames('mr-2')
2175
+ },
2191
2176
  transition: TRANSITIONS.toggleable
2192
2177
  },
2193
2178
  steps: {