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
@@ -3,47 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- function _typeof(o) {
7
- "@babel/helpers - typeof";
8
-
9
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
10
- return typeof o;
11
- } : function (o) {
12
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
13
- }, _typeof(o);
14
- }
15
-
16
- function _toPrimitive(input, hint) {
17
- if (_typeof(input) !== "object" || input === null) return input;
18
- var prim = input[Symbol.toPrimitive];
19
- if (prim !== undefined) {
20
- var res = prim.call(input, hint || "default");
21
- if (_typeof(res) !== "object") return res;
22
- throw new TypeError("@@toPrimitive must return a primitive value.");
23
- }
24
- return (hint === "string" ? String : Number)(input);
25
- }
26
-
27
- function _toPropertyKey(arg) {
28
- var key = _toPrimitive(arg, "string");
29
- return _typeof(key) === "symbol" ? key : String(key);
30
- }
31
-
32
- function _defineProperty(obj, key, value) {
33
- key = _toPropertyKey(key);
34
- if (key in obj) {
35
- Object.defineProperty(obj, key, {
36
- value: value,
37
- enumerable: true,
38
- configurable: true,
39
- writable: true
40
- });
41
- } else {
42
- obj[key] = value;
43
- }
44
- return obj;
45
- }
46
-
47
6
  function _arrayWithHoles(arr) {
48
7
  if (Array.isArray(arr)) return arr;
49
8
  }
@@ -99,6 +58,16 @@ function _slicedToArray(arr, i) {
99
58
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
100
59
  }
101
60
 
61
+ function _typeof(o) {
62
+ "@babel/helpers - typeof";
63
+
64
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
65
+ return typeof o;
66
+ } : function (o) {
67
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
68
+ }, _typeof(o);
69
+ }
70
+
102
71
  function classNames() {
103
72
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
104
73
  args[_key] = arguments[_key];
@@ -1470,10 +1439,10 @@ var Tailwind = {
1470
1439
  label: function label(_ref73) {
1471
1440
  var props = _ref73.props;
1472
1441
  return {
1473
- className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
1442
+ className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', {
1474
1443
  '!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),
1475
- '!py-1.5 px-3': props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1476
- }, "!p-3", props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) == null))
1444
+ '!py-1.5 px-3': props.display === 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1445
+ })
1477
1446
  };
1478
1447
  },
1479
1448
  token: {
@@ -2066,7 +2035,8 @@ var Tailwind = {
2066
2035
  separator: 'border-t border-gray-300 dark:border-blue-900/40 my-1',
2067
2036
  button: {
2068
2037
  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)]')
2069
- }
2038
+ },
2039
+ end: 'ml-auto self-auto'
2070
2040
  },
2071
2041
  megamenu: {
2072
2042
  root: function root(_ref102) {
@@ -2159,7 +2129,9 @@ var Tailwind = {
2159
2129
  },
2160
2130
  panelmenu: {
2161
2131
  root: 'w-full md:w-[25rem]',
2162
- panel: 'mb-1',
2132
+ panel: {
2133
+ className: classNames('mb-1')
2134
+ },
2163
2135
  header: {
2164
2136
  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
2165
2137
  )
@@ -2168,9 +2140,15 @@ var Tailwind = {
2168
2140
  headeraction: {
2169
2141
  className: classNames('flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold')
2170
2142
  },
2171
- submenuicon: 'mr-2',
2172
- headericon: 'mr-2',
2173
- 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',
2143
+ headersubmenuicon: {
2144
+ className: classNames('mr-2')
2145
+ },
2146
+ headericon: {
2147
+ className: classNames('mr-2')
2148
+ },
2149
+ menucontent: {
2150
+ 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')
2151
+ },
2174
2152
  menu: {
2175
2153
  className: classNames('outline-none', 'm-0 p-0 list-none')
2176
2154
  },
@@ -2187,8 +2165,15 @@ var Tailwind = {
2187
2165
  )
2188
2166
  },
2189
2167
 
2190
- icon: 'mr-2',
2191
- submenu: 'p-0 pl-4 m-0 list-none',
2168
+ icon: {
2169
+ className: classNames('mr-2')
2170
+ },
2171
+ submenu: {
2172
+ className: classNames('p-0 pl-4 m-0 list-none')
2173
+ },
2174
+ submenuicon: {
2175
+ className: classNames('mr-2')
2176
+ },
2192
2177
  transition: TRANSITIONS.toggleable
2193
2178
  },
2194
2179
  steps: {