primereact 10.0.6 → 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 (78) 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 +36 -17
  55. package/primereact.all.cjs.min.js +1 -1
  56. package/primereact.all.esm.js +36 -17
  57. package/primereact.all.esm.min.js +1 -1
  58. package/primereact.all.js +36 -17
  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/splitbutton/splitbutton.cjs.js +2 -2
  67. package/splitbutton/splitbutton.cjs.min.js +1 -1
  68. package/splitbutton/splitbutton.esm.js +2 -2
  69. package/splitbutton/splitbutton.esm.min.js +1 -1
  70. package/splitbutton/splitbutton.js +2 -2
  71. package/splitbutton/splitbutton.min.js +1 -1
  72. package/splitter/splitter.cjs.js +1 -0
  73. package/splitter/splitter.cjs.min.js +1 -1
  74. package/splitter/splitter.esm.js +1 -0
  75. package/splitter/splitter.esm.min.js +1 -1
  76. package/splitter/splitter.js +1 -0
  77. package/splitter/splitter.min.js +1 -1
  78. package/web-types.json +1 -1
@@ -1,45 +1,4 @@
1
1
  'use client';
2
- function _typeof(o) {
3
- "@babel/helpers - typeof";
4
-
5
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
6
- return typeof o;
7
- } : function (o) {
8
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
9
- }, _typeof(o);
10
- }
11
-
12
- function _toPrimitive(input, hint) {
13
- if (_typeof(input) !== "object" || input === null) return input;
14
- var prim = input[Symbol.toPrimitive];
15
- if (prim !== undefined) {
16
- var res = prim.call(input, hint || "default");
17
- if (_typeof(res) !== "object") return res;
18
- throw new TypeError("@@toPrimitive must return a primitive value.");
19
- }
20
- return (hint === "string" ? String : Number)(input);
21
- }
22
-
23
- function _toPropertyKey(arg) {
24
- var key = _toPrimitive(arg, "string");
25
- return _typeof(key) === "symbol" ? key : String(key);
26
- }
27
-
28
- function _defineProperty(obj, key, value) {
29
- key = _toPropertyKey(key);
30
- if (key in obj) {
31
- Object.defineProperty(obj, key, {
32
- value: value,
33
- enumerable: true,
34
- configurable: true,
35
- writable: true
36
- });
37
- } else {
38
- obj[key] = value;
39
- }
40
- return obj;
41
- }
42
-
43
2
  function _arrayWithHoles(arr) {
44
3
  if (Array.isArray(arr)) return arr;
45
4
  }
@@ -95,6 +54,16 @@ function _slicedToArray(arr, i) {
95
54
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
96
55
  }
97
56
 
57
+ function _typeof(o) {
58
+ "@babel/helpers - typeof";
59
+
60
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
61
+ return typeof o;
62
+ } : function (o) {
63
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
64
+ }, _typeof(o);
65
+ }
66
+
98
67
  function classNames() {
99
68
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
100
69
  args[_key] = arguments[_key];
@@ -1466,10 +1435,10 @@ var Tailwind = {
1466
1435
  label: function label(_ref73) {
1467
1436
  var props = _ref73.props;
1468
1437
  return {
1469
- className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
1438
+ className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', {
1470
1439
  '!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),
1471
- '!py-1.5 px-3': props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1472
- }, "!p-3", props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) == null))
1440
+ '!py-1.5 px-3': props.display === 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1441
+ })
1473
1442
  };
1474
1443
  },
1475
1444
  token: {
@@ -2062,7 +2031,8 @@ var Tailwind = {
2062
2031
  separator: 'border-t border-gray-300 dark:border-blue-900/40 my-1',
2063
2032
  button: {
2064
2033
  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)]')
2065
- }
2034
+ },
2035
+ end: 'ml-auto self-auto'
2066
2036
  },
2067
2037
  megamenu: {
2068
2038
  root: function root(_ref102) {
@@ -2155,7 +2125,9 @@ var Tailwind = {
2155
2125
  },
2156
2126
  panelmenu: {
2157
2127
  root: 'w-full md:w-[25rem]',
2158
- panel: 'mb-1',
2128
+ panel: {
2129
+ className: classNames('mb-1')
2130
+ },
2159
2131
  header: {
2160
2132
  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
2161
2133
  )
@@ -2164,9 +2136,15 @@ var Tailwind = {
2164
2136
  headeraction: {
2165
2137
  className: classNames('flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold')
2166
2138
  },
2167
- submenuicon: 'mr-2',
2168
- headericon: 'mr-2',
2169
- 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',
2139
+ headersubmenuicon: {
2140
+ className: classNames('mr-2')
2141
+ },
2142
+ headericon: {
2143
+ className: classNames('mr-2')
2144
+ },
2145
+ menucontent: {
2146
+ 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')
2147
+ },
2170
2148
  menu: {
2171
2149
  className: classNames('outline-none', 'm-0 p-0 list-none')
2172
2150
  },
@@ -2183,8 +2161,15 @@ var Tailwind = {
2183
2161
  )
2184
2162
  },
2185
2163
 
2186
- icon: 'mr-2',
2187
- submenu: 'p-0 pl-4 m-0 list-none',
2164
+ icon: {
2165
+ className: classNames('mr-2')
2166
+ },
2167
+ submenu: {
2168
+ className: classNames('p-0 pl-4 m-0 list-none')
2169
+ },
2170
+ submenuicon: {
2171
+ className: classNames('mr-2')
2172
+ },
2188
2173
  transition: TRANSITIONS.toggleable
2189
2174
  },
2190
2175
  steps: {