@rubenpazch/pagination 1.0.1 → 2.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/dist/index.cjs.js CHANGED
@@ -443,7 +443,7 @@ function requireJsxRuntime () {
443
443
 
444
444
  var jsxRuntimeExports = requireJsxRuntime();
445
445
 
446
- var s,o={exports:{}},t={};var n,l,a={};
446
+ var r,o={exports:{}},t={};var l,n,a={};
447
447
  /**
448
448
  * @license React
449
449
  * react-jsx-runtime.development.js
@@ -452,7 +452,7 @@ var s,o={exports:{}},t={};var n,l,a={};
452
452
  *
453
453
  * This source code is licensed under the MIT license found in the
454
454
  * LICENSE file in the root directory of this source tree.
455
- */function i(){return n||(n=1,"production"!==process.env.NODE_ENV&&function(){function e(r){if(null==r)return null;if("function"==typeof r)return r.$$typeof===M?null:r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case x:return "Fragment";case v:return "Profiler";case p:return "StrictMode";case k:return "Suspense";case C:return "SuspenseList";case N:return "Activity"}if("object"==typeof r)switch("number"==typeof r.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case u:return "Portal";case j:return r.displayName||"Context";case g:return (r._context.displayName||"Context")+".Consumer";case f:var s=r.render;return (r=r.displayName)||(r=""!==(r=s.displayName||s.name||"")?"ForwardRef("+r+")":"ForwardRef"),r;case y:return null!==(s=r.displayName||null)?s:e(r.type)||"Memo";case L:s=r._payload,r=r._init;try{return e(r(s))}catch(e){}}return null}function s(e){return ""+e}function o(e){try{s(e);var r=!1;}catch(e){r=true;}if(r){var o=(r=console).error,t="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),s(e)}}function t(r){if(r===x)return "<>";if("object"==typeof r&&null!==r&&r.$$typeof===L)return "<...>";try{var s=e(r);return s?"<"+s+">":"<...>"}catch(e){return "<...>"}}function n(){return Error("react-stack-top-frame")}function l(){var r=e(this.type);return B[r]||(B[r]=true,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(r=this.props.ref)?r:null}function i(r,s,t,n,a,i){var h,m=s.children;if(void 0!==m)if(n)if(z(m)){for(n=0;n<m.length;n++)c(m[n]);Object.freeze&&Object.freeze(m);}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(m);if($.call(s,"key")){m=e(r);var u=Object.keys(s).filter(function(e){return "key"!==e});n=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",_[m+n]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',n,m,u,m),_[m+n]=true);}if(m=null,void 0!==t&&(o(t),m=""+t),function(e){if($.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return false}return void 0!==e.key}(s)&&(o(s.key),m=""+s.key),"key"in s)for(var x in t={},s)"key"!==x&&(t[x]=s[x]);else t=s;return m&&function(e,r){function s(){d||(d=true,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r));}s.isReactWarning=true,Object.defineProperty(e,"key",{get:s,configurable:true});}(t,"function"==typeof r?r.displayName||r.name||"Unknown":r),function(e,r,s,o,t,n){var a=s.ref;return e={$$typeof:w,type:e,key:r,props:s,_owner:o},null!==(void 0!==a?a:null)?Object.defineProperty(e,"ref",{enumerable:false,get:l}):Object.defineProperty(e,"ref",{enumerable:false,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:false,enumerable:false,writable:true,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:false,enumerable:false,writable:true,value:null}),Object.defineProperty(e,"_debugStack",{configurable:false,enumerable:false,writable:true,value:t}),Object.defineProperty(e,"_debugTask",{configurable:false,enumerable:false,writable:true,value:n}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(r,m,t,null===(h=b.A)?null:h.getOwner(),a,i)}function c(e){h(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===L&&("fulfilled"===e._payload.status?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1));}function h(e){return "object"==typeof e&&null!==e&&e.$$typeof===w}var d,m=React,w=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),j=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),b=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,z=Array.isArray,H=console.createTask?console.createTask:function(){return null},B={},W=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,n)(),V=H(t(n)),_={};a.Fragment=x,a.jsx=function(e,r,s){var o=1e4>b.recentlyCreatedOwnerStacks++;return i(e,r,s,false,o?Error("react-stack-top-frame"):W,o?H(t(e)):V)},a.jsxs=function(e,r,s){var o=1e4>b.recentlyCreatedOwnerStacks++;return i(e,r,s,true,o?Error("react-stack-top-frame"):W,o?H(t(e)):V)};}()),a}var c=(l||(l=1,"production"===process.env.NODE_ENV?o.exports=function(){if(s)return t;s=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(r,s,o){var t=null;if(void 0!==o&&(t=""+o),void 0!==s.key&&(t=""+s.key),"key"in s)for(var n in o={},s)"key"!==n&&(o[n]=s[n]);else o=s;return s=o.ref,{$$typeof:e,type:r,key:t,ref:void 0!==s?s:null,props:o}}return t.Fragment=r,t.jsx=o,t.jsxs=o,t}():o.exports=i()),o.exports);const C={sm:16,md:20,lg:28},y=({size:e="md",direction:r="right",...s})=>{const o=C[e],t="left"===r;return c.jsx("svg",{width:o,height:o,viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",...s,children:c.jsxs("g",{transform:t?"scale(-1,1) translate(-20,0)":void 0,children:[c.jsx("path",{d:"M7.22 5.22a.75.75 0 011.06 0l4 4a.75.75 0 010 1.06l-4 4a.75.75 0 11-1.06-1.06L10.94 10 7.22 6.28a.75.75 0 010-1.06z"}),c.jsx("path",{d:"M15.25 4a.75.75 0 10-1.5 0v12a.75.75 0 101.5 0V4z"})]})})},L=({className:e="",size:r="md",color:s="currentColor",direction:o="down"})=>c.jsx("svg",{className:`${{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r]} ${{up:"rotate-180",down:"",left:"rotate-90",right:"-rotate-90"}[o]} ${e}`,fill:"none",stroke:s,viewBox:"0 0 24 24",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})});const Ae={outlined:"material-symbols-outlined",rounded:"material-symbols-rounded",sharp:"material-symbols-sharp"},Ee=React__namespace.forwardRef(({name:e,variant:r="outlined",size:s="md",fill:o=0,weight:t=400,grade:n=0,opticalSize:l=24,style:a,className:i,...h},d)=>{const m=(e=>"number"==typeof e?e:"sm"===e?16:"md"===e?20:24)(s),w=`"FILL" ${o}, "wght" ${t}, "GRAD" ${n}, "opsz" ${l}`;return c.jsx("span",{ref:d,"aria-hidden":"true",className:Ae[r]+(i?` ${i}`:""),style:{fontVariationSettings:w,fontSize:m,lineHeight:1,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",...a},...h,children:e})});Ee.displayName="MaterialIcon";
455
+ */function i(){return l||(l=1,"production"!==process.env.NODE_ENV&&function(){function e(s){if(null==s)return null;if("function"==typeof s)return s.$$typeof===M?null:s.displayName||s.name||null;if("string"==typeof s)return s;switch(s){case x:return "Fragment";case p:return "Profiler";case v:return "StrictMode";case f:return "Suspense";case C:return "SuspenseList";case N:return "Activity"}if("object"==typeof s)switch("number"==typeof s.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case u:return "Portal";case j:return s.displayName||"Context";case g:return (s._context.displayName||"Context")+".Consumer";case k:var r=s.render;return (s=s.displayName)||(s=""!==(s=r.displayName||r.name||"")?"ForwardRef("+s+")":"ForwardRef"),s;case L:return null!==(r=s.displayName||null)?r:e(s.type)||"Memo";case y:r=s._payload,s=s._init;try{return e(s(r))}catch(e){}}return null}function r(e){return ""+e}function o(e){try{r(e);var s=!1;}catch(e){s=true;}if(s){var o=(s=console).error,t="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),r(e)}}function t(s){if(s===x)return "<>";if("object"==typeof s&&null!==s&&s.$$typeof===y)return "<...>";try{var r=e(s);return r?"<"+r+">":"<...>"}catch(e){return "<...>"}}function l(){return Error("react-stack-top-frame")}function n(){var s=e(this.type);return B[s]||(B[s]=true,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(s=this.props.ref)?s:null}function i(s,r,t,l,a,i){var h,m=r.children;if(void 0!==m)if(l)if(z(m)){for(l=0;l<m.length;l++)c(m[l]);Object.freeze&&Object.freeze(m);}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(m);if(b.call(r,"key")){m=e(s);var u=Object.keys(r).filter(function(e){return "key"!==e});l=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",W[m+l]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',l,m,u,m),W[m+l]=true);}if(m=null,void 0!==t&&(o(t),m=""+t),function(e){if(b.call(e,"key")){var s=Object.getOwnPropertyDescriptor(e,"key").get;if(s&&s.isReactWarning)return false}return void 0!==e.key}(r)&&(o(r.key),m=""+r.key),"key"in r)for(var x in t={},r)"key"!==x&&(t[x]=r[x]);else t=r;return m&&function(e,s){function r(){d||(d=true,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",s));}r.isReactWarning=true,Object.defineProperty(e,"key",{get:r,configurable:true});}(t,"function"==typeof s?s.displayName||s.name||"Unknown":s),function(e,s,r,o,t,l){var a=r.ref;return e={$$typeof:w,type:e,key:s,props:r,_owner:o},null!==(void 0!==a?a:null)?Object.defineProperty(e,"ref",{enumerable:false,get:n}):Object.defineProperty(e,"ref",{enumerable:false,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:false,enumerable:false,writable:true,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:false,enumerable:false,writable:true,value:null}),Object.defineProperty(e,"_debugStack",{configurable:false,enumerable:false,writable:true,value:t}),Object.defineProperty(e,"_debugTask",{configurable:false,enumerable:false,writable:true,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(s,m,t,null===(h=$.A)?null:h.getOwner(),a,i)}function c(e){h(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===y&&("fulfilled"===e._payload.status?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1));}function h(e){return "object"==typeof e&&null!==e&&e.$$typeof===w}var d,m=React,w=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),j=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),$=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b=Object.prototype.hasOwnProperty,z=Array.isArray,H=console.createTask?console.createTask:function(){return null},B={},V=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,l)(),Z=H(t(l)),W={};a.Fragment=x,a.jsx=function(e,s,r){var o=1e4>$.recentlyCreatedOwnerStacks++;return i(e,s,r,false,o?Error("react-stack-top-frame"):V,o?H(t(e)):Z)},a.jsxs=function(e,s,r){var o=1e4>$.recentlyCreatedOwnerStacks++;return i(e,s,r,true,o?Error("react-stack-top-frame"):V,o?H(t(e)):Z)};}()),a}var c=(n||(n=1,"production"===process.env.NODE_ENV?o.exports=function(){if(r)return t;r=1;var e=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function o(s,r,o){var t=null;if(void 0!==o&&(t=""+o),void 0!==r.key&&(t=""+r.key),"key"in r)for(var l in o={},r)"key"!==l&&(o[l]=r[l]);else o=r;return r=o.ref,{$$typeof:e,type:s,key:t,ref:void 0!==r?r:null,props:o}}return t.Fragment=s,t.jsx=o,t.jsxs=o,t}():o.exports=i()),o.exports);const C={sm:16,md:20,lg:28},L=({size:e="md",direction:s="right",...r})=>{const o=C[e],t="left"===s;return c.jsx("svg",{width:o,height:o,viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",...r,children:c.jsxs("g",{transform:t?"scale(-1,1) translate(-20,0)":void 0,children:[c.jsx("path",{d:"M7.22 5.22a.75.75 0 011.06 0l4 4a.75.75 0 010 1.06l-4 4a.75.75 0 11-1.06-1.06L10.94 10 7.22 6.28a.75.75 0 010-1.06z"}),c.jsx("path",{d:"M15.25 4a.75.75 0 10-1.5 0v12a.75.75 0 101.5 0V4z"})]})})},y=({className:e="",size:s="md",color:r="currentColor",direction:o="down"})=>c.jsx("svg",{className:`${{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[s]} ${{up:"rotate-180",down:"",left:"rotate-90",right:"-rotate-90"}[o]} ${e}`,fill:"none",stroke:r,viewBox:"0 0 24 24",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})});const Xe={outlined:"material-symbols-outlined",rounded:"material-symbols-rounded",sharp:"material-symbols-sharp"},Ye=React__namespace.forwardRef(({name:e,variant:s="outlined",size:r="md",fill:o=0,weight:t=400,grade:l=0,opticalSize:n=24,style:a,className:i,...h},d)=>{const m=(e=>"number"==typeof e?e:"sm"===e?16:"md"===e?20:24)(r),w=`"FILL" ${o}, "wght" ${t}, "GRAD" ${l}, "opsz" ${n}`;return c.jsx("span",{ref:d,"aria-hidden":"true",className:Xe[s]+(i?` ${i}`:""),style:{fontVariationSettings:w,fontSize:m,lineHeight:1,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",...a},...h,children:e})});Ye.displayName="MaterialIcon";
456
456
 
457
457
  function styleInject(css, ref) {
458
458
  if ( ref === void 0 ) ref = {};
@@ -481,7 +481,7 @@ function styleInject(css, ref) {
481
481
  }
482
482
  }
483
483
 
484
- var css_248z$1 = "/* Pagination Item */\n.PaginationItem-module_item__pRz10 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n user-select: none;\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.PaginationItem-module_button__vvMNc {\n border: none;\n background: transparent;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.87);\n margin: 0;\n}\n\n.PaginationItem-module_button__vvMNc:hover:not(.PaginationItem-module_disabled__pjZg5) {\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_button__vvMNc:focus-visible {\n outline: 2px solid #1976d2;\n outline-offset: 2px;\n}\n\n.PaginationItem-module_ellipsis__O3uKM {\n color: rgba(0, 0, 0, 0.54);\n pointer-events: none;\n}\n\n/* Sizes */\n.PaginationItem-module_size-small__EL1RS {\n min-width: 26px;\n height: 26px;\n font-size: 0.75rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-medium__BhNiF {\n min-width: 32px;\n height: 32px;\n font-size: 0.875rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-large__gFIDd {\n min-width: 40px;\n height: 40px;\n font-size: 1rem;\n padding: 0 10px;\n}\n\n/* Circular items must be true circles (equal width/height, no horizontal padding) */\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-small__EL1RS {\n width: 26px;\n height: 26px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-medium__BhNiF {\n width: 32px;\n height: 32px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-large__gFIDd {\n width: 40px;\n height: 40px;\n padding: 0;\n}\n\n/* Shapes */\n.PaginationItem-module_shape-rounded__UttZK {\n border-radius: 4px;\n}\n\n.PaginationItem-module_shape-circular__maeDw {\n border-radius: 50%;\n}\n\n/* Variants */\n.PaginationItem-module_variant-text__tlyX0.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n font-weight: 600;\n}\n\n.PaginationItem-module_variant-outlined__sukDY {\n border: 1px solid rgba(0, 0, 0, 0.23);\n}\n\n.PaginationItem-module_variant-outlined__sukDY:hover:not(.PaginationItem-module_disabled__pjZg5) {\n border-color: rgba(0, 0, 0, 0.87);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_variant-outlined__sukDY.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n border-color: #1976d2;\n font-weight: 600;\n}\n\n/* States */\n.PaginationItem-module_disabled__pjZg5 {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* Navigation buttons */\n.PaginationItem-module_navigation__9oiE2 {\n min-width: auto;\n}\n\n.PaginationItem-module_icon__f5p0K {\n width: 20px;\n height: 20px;\n fill: currentColor;\n}\n\n.PaginationItem-module_size-small__EL1RS .PaginationItem-module_icon__f5p0K {\n width: 18px;\n height: 18px;\n}\n\n.PaginationItem-module_size-large__gFIDd .PaginationItem-module_icon__f5p0K {\n width: 22px;\n height: 22px;\n}\n";
484
+ var css_248z$1 = "/* Pagination Item */\n.PaginationItem-module_item__pRz10 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n font-family:\n -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial,\n sans-serif;\n font-weight: 500;\n line-height: 1.5;\n user-select: none;\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.PaginationItem-module_button__vvMNc {\n border: none;\n background: transparent;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.87);\n margin: 0;\n}\n\n.PaginationItem-module_button__vvMNc:hover:not(.PaginationItem-module_disabled__pjZg5) {\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_button__vvMNc:focus-visible {\n outline: 2px solid #1976d2;\n outline-offset: 2px;\n}\n\n.PaginationItem-module_ellipsis__O3uKM {\n color: rgba(0, 0, 0, 0.54);\n pointer-events: none;\n}\n\n/* Sizes */\n.PaginationItem-module_size-small__EL1RS {\n min-width: 26px;\n height: 26px;\n font-size: 0.75rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-medium__BhNiF {\n min-width: 32px;\n height: 32px;\n font-size: 0.875rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-large__gFIDd {\n min-width: 40px;\n height: 40px;\n font-size: 1rem;\n padding: 0 10px;\n}\n\n/* Circular items must be true circles (equal width/height, no horizontal padding) */\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-small__EL1RS {\n width: 26px;\n height: 26px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-medium__BhNiF {\n width: 32px;\n height: 32px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-large__gFIDd {\n width: 40px;\n height: 40px;\n padding: 0;\n}\n\n/* Shapes */\n.PaginationItem-module_shape-rounded__UttZK {\n border-radius: 4px;\n}\n\n.PaginationItem-module_shape-circular__maeDw {\n border-radius: 50%;\n}\n\n/* Variants */\n.PaginationItem-module_variant-text__tlyX0.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n font-weight: 600;\n}\n\n.PaginationItem-module_variant-outlined__sukDY {\n border: 1px solid rgba(0, 0, 0, 0.23);\n}\n\n.PaginationItem-module_variant-outlined__sukDY:hover:not(.PaginationItem-module_disabled__pjZg5) {\n border-color: rgba(0, 0, 0, 0.87);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_variant-outlined__sukDY.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n border-color: #1976d2;\n font-weight: 600;\n}\n\n/* States */\n.PaginationItem-module_disabled__pjZg5 {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* Navigation buttons */\n.PaginationItem-module_navigation__9oiE2 {\n min-width: auto;\n}\n\n.PaginationItem-module_icon__f5p0K {\n width: 20px;\n height: 20px;\n fill: currentColor;\n}\n\n.PaginationItem-module_size-small__EL1RS .PaginationItem-module_icon__f5p0K {\n width: 18px;\n height: 18px;\n}\n\n.PaginationItem-module_size-large__gFIDd .PaginationItem-module_icon__f5p0K {\n width: 22px;\n height: 22px;\n}\n";
485
485
  var styles$1 = {"item":"PaginationItem-module_item__pRz10","button":"PaginationItem-module_button__vvMNc","disabled":"PaginationItem-module_disabled__pjZg5","ellipsis":"PaginationItem-module_ellipsis__O3uKM","size-small":"PaginationItem-module_size-small__EL1RS","size-medium":"PaginationItem-module_size-medium__BhNiF","size-large":"PaginationItem-module_size-large__gFIDd","shape-circular":"PaginationItem-module_shape-circular__maeDw","shape-rounded":"PaginationItem-module_shape-rounded__UttZK","variant-text":"PaginationItem-module_variant-text__tlyX0","selected":"PaginationItem-module_selected__HrXZ7","variant-outlined":"PaginationItem-module_variant-outlined__sukDY","navigation":"PaginationItem-module_navigation__9oiE2","icon":"PaginationItem-module_icon__f5p0K"};
486
486
  styleInject(css_248z$1);
487
487
 
@@ -504,16 +504,16 @@ const PaginationItem = React.forwardRef(({ page, type, selected = false, disable
504
504
  const renderNavigationIcon = () => {
505
505
  const iconSize = iconSizeMap[size];
506
506
  if (type === "first") {
507
- return (jsxRuntimeExports.jsx(y, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
507
+ return (jsxRuntimeExports.jsx(L, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
508
508
  }
509
509
  if (type === "last") {
510
- return (jsxRuntimeExports.jsx(y, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
510
+ return (jsxRuntimeExports.jsx(L, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
511
511
  }
512
512
  if (type === "next") {
513
- return (jsxRuntimeExports.jsx(L, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
513
+ return (jsxRuntimeExports.jsx(y, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
514
514
  }
515
515
  if (type === "previous") {
516
- return (jsxRuntimeExports.jsx(L, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
516
+ return (jsxRuntimeExports.jsx(y, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
517
517
  }
518
518
  return null;
519
519
  };
package/dist/index.esm.js CHANGED
@@ -423,7 +423,7 @@ function requireJsxRuntime () {
423
423
 
424
424
  var jsxRuntimeExports = requireJsxRuntime();
425
425
 
426
- var s,o={exports:{}},t={};var n,l,a={};
426
+ var r,o={exports:{}},t={};var l,n,a={};
427
427
  /**
428
428
  * @license React
429
429
  * react-jsx-runtime.development.js
@@ -432,7 +432,7 @@ var s,o={exports:{}},t={};var n,l,a={};
432
432
  *
433
433
  * This source code is licensed under the MIT license found in the
434
434
  * LICENSE file in the root directory of this source tree.
435
- */function i(){return n||(n=1,"production"!==process.env.NODE_ENV&&function(){function e(r){if(null==r)return null;if("function"==typeof r)return r.$$typeof===M?null:r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case x:return "Fragment";case v:return "Profiler";case p:return "StrictMode";case k:return "Suspense";case C:return "SuspenseList";case N:return "Activity"}if("object"==typeof r)switch("number"==typeof r.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),r.$$typeof){case u:return "Portal";case j:return r.displayName||"Context";case g:return (r._context.displayName||"Context")+".Consumer";case f:var s=r.render;return (r=r.displayName)||(r=""!==(r=s.displayName||s.name||"")?"ForwardRef("+r+")":"ForwardRef"),r;case y:return null!==(s=r.displayName||null)?s:e(r.type)||"Memo";case L:s=r._payload,r=r._init;try{return e(r(s))}catch(e){}}return null}function s(e){return ""+e}function o(e){try{s(e);var r=!1;}catch(e){r=true;}if(r){var o=(r=console).error,t="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),s(e)}}function t(r){if(r===x)return "<>";if("object"==typeof r&&null!==r&&r.$$typeof===L)return "<...>";try{var s=e(r);return s?"<"+s+">":"<...>"}catch(e){return "<...>"}}function n(){return Error("react-stack-top-frame")}function l(){var r=e(this.type);return B[r]||(B[r]=true,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(r=this.props.ref)?r:null}function i(r,s,t,n,a,i){var h,m=s.children;if(void 0!==m)if(n)if(z(m)){for(n=0;n<m.length;n++)c(m[n]);Object.freeze&&Object.freeze(m);}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(m);if($.call(s,"key")){m=e(r);var u=Object.keys(s).filter(function(e){return "key"!==e});n=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",_[m+n]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',n,m,u,m),_[m+n]=true);}if(m=null,void 0!==t&&(o(t),m=""+t),function(e){if($.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return false}return void 0!==e.key}(s)&&(o(s.key),m=""+s.key),"key"in s)for(var x in t={},s)"key"!==x&&(t[x]=s[x]);else t=s;return m&&function(e,r){function s(){d||(d=true,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r));}s.isReactWarning=true,Object.defineProperty(e,"key",{get:s,configurable:true});}(t,"function"==typeof r?r.displayName||r.name||"Unknown":r),function(e,r,s,o,t,n){var a=s.ref;return e={$$typeof:w,type:e,key:r,props:s,_owner:o},null!==(void 0!==a?a:null)?Object.defineProperty(e,"ref",{enumerable:false,get:l}):Object.defineProperty(e,"ref",{enumerable:false,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:false,enumerable:false,writable:true,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:false,enumerable:false,writable:true,value:null}),Object.defineProperty(e,"_debugStack",{configurable:false,enumerable:false,writable:true,value:t}),Object.defineProperty(e,"_debugTask",{configurable:false,enumerable:false,writable:true,value:n}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(r,m,t,null===(h=b.A)?null:h.getOwner(),a,i)}function c(e){h(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===L&&("fulfilled"===e._payload.status?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1));}function h(e){return "object"==typeof e&&null!==e&&e.$$typeof===w}var d,m=React__default,w=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),j=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),b=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,z=Array.isArray,H=console.createTask?console.createTask:function(){return null},B={},W=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,n)(),V=H(t(n)),_={};a.Fragment=x,a.jsx=function(e,r,s){var o=1e4>b.recentlyCreatedOwnerStacks++;return i(e,r,s,false,o?Error("react-stack-top-frame"):W,o?H(t(e)):V)},a.jsxs=function(e,r,s){var o=1e4>b.recentlyCreatedOwnerStacks++;return i(e,r,s,true,o?Error("react-stack-top-frame"):W,o?H(t(e)):V)};}()),a}var c=(l||(l=1,"production"===process.env.NODE_ENV?o.exports=function(){if(s)return t;s=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(r,s,o){var t=null;if(void 0!==o&&(t=""+o),void 0!==s.key&&(t=""+s.key),"key"in s)for(var n in o={},s)"key"!==n&&(o[n]=s[n]);else o=s;return s=o.ref,{$$typeof:e,type:r,key:t,ref:void 0!==s?s:null,props:o}}return t.Fragment=r,t.jsx=o,t.jsxs=o,t}():o.exports=i()),o.exports);const C={sm:16,md:20,lg:28},y=({size:e="md",direction:r="right",...s})=>{const o=C[e],t="left"===r;return c.jsx("svg",{width:o,height:o,viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",...s,children:c.jsxs("g",{transform:t?"scale(-1,1) translate(-20,0)":void 0,children:[c.jsx("path",{d:"M7.22 5.22a.75.75 0 011.06 0l4 4a.75.75 0 010 1.06l-4 4a.75.75 0 11-1.06-1.06L10.94 10 7.22 6.28a.75.75 0 010-1.06z"}),c.jsx("path",{d:"M15.25 4a.75.75 0 10-1.5 0v12a.75.75 0 101.5 0V4z"})]})})},L=({className:e="",size:r="md",color:s="currentColor",direction:o="down"})=>c.jsx("svg",{className:`${{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r]} ${{up:"rotate-180",down:"",left:"rotate-90",right:"-rotate-90"}[o]} ${e}`,fill:"none",stroke:s,viewBox:"0 0 24 24",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})});const Ae={outlined:"material-symbols-outlined",rounded:"material-symbols-rounded",sharp:"material-symbols-sharp"},Ee=React.forwardRef(({name:e,variant:r="outlined",size:s="md",fill:o=0,weight:t=400,grade:n=0,opticalSize:l=24,style:a,className:i,...h},d)=>{const m=(e=>"number"==typeof e?e:"sm"===e?16:"md"===e?20:24)(s),w=`"FILL" ${o}, "wght" ${t}, "GRAD" ${n}, "opsz" ${l}`;return c.jsx("span",{ref:d,"aria-hidden":"true",className:Ae[r]+(i?` ${i}`:""),style:{fontVariationSettings:w,fontSize:m,lineHeight:1,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",...a},...h,children:e})});Ee.displayName="MaterialIcon";
435
+ */function i(){return l||(l=1,"production"!==process.env.NODE_ENV&&function(){function e(s){if(null==s)return null;if("function"==typeof s)return s.$$typeof===M?null:s.displayName||s.name||null;if("string"==typeof s)return s;switch(s){case x:return "Fragment";case p:return "Profiler";case v:return "StrictMode";case f:return "Suspense";case C:return "SuspenseList";case N:return "Activity"}if("object"==typeof s)switch("number"==typeof s.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case u:return "Portal";case j:return s.displayName||"Context";case g:return (s._context.displayName||"Context")+".Consumer";case k:var r=s.render;return (s=s.displayName)||(s=""!==(s=r.displayName||r.name||"")?"ForwardRef("+s+")":"ForwardRef"),s;case L:return null!==(r=s.displayName||null)?r:e(s.type)||"Memo";case y:r=s._payload,s=s._init;try{return e(s(r))}catch(e){}}return null}function r(e){return ""+e}function o(e){try{r(e);var s=!1;}catch(e){s=true;}if(s){var o=(s=console).error,t="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),r(e)}}function t(s){if(s===x)return "<>";if("object"==typeof s&&null!==s&&s.$$typeof===y)return "<...>";try{var r=e(s);return r?"<"+r+">":"<...>"}catch(e){return "<...>"}}function l(){return Error("react-stack-top-frame")}function n(){var s=e(this.type);return B[s]||(B[s]=true,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(s=this.props.ref)?s:null}function i(s,r,t,l,a,i){var h,m=r.children;if(void 0!==m)if(l)if(z(m)){for(l=0;l<m.length;l++)c(m[l]);Object.freeze&&Object.freeze(m);}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(m);if(b.call(r,"key")){m=e(s);var u=Object.keys(r).filter(function(e){return "key"!==e});l=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",W[m+l]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',l,m,u,m),W[m+l]=true);}if(m=null,void 0!==t&&(o(t),m=""+t),function(e){if(b.call(e,"key")){var s=Object.getOwnPropertyDescriptor(e,"key").get;if(s&&s.isReactWarning)return false}return void 0!==e.key}(r)&&(o(r.key),m=""+r.key),"key"in r)for(var x in t={},r)"key"!==x&&(t[x]=r[x]);else t=r;return m&&function(e,s){function r(){d||(d=true,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",s));}r.isReactWarning=true,Object.defineProperty(e,"key",{get:r,configurable:true});}(t,"function"==typeof s?s.displayName||s.name||"Unknown":s),function(e,s,r,o,t,l){var a=r.ref;return e={$$typeof:w,type:e,key:s,props:r,_owner:o},null!==(void 0!==a?a:null)?Object.defineProperty(e,"ref",{enumerable:false,get:n}):Object.defineProperty(e,"ref",{enumerable:false,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:false,enumerable:false,writable:true,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:false,enumerable:false,writable:true,value:null}),Object.defineProperty(e,"_debugStack",{configurable:false,enumerable:false,writable:true,value:t}),Object.defineProperty(e,"_debugTask",{configurable:false,enumerable:false,writable:true,value:l}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(s,m,t,null===(h=$.A)?null:h.getOwner(),a,i)}function c(e){h(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===y&&("fulfilled"===e._payload.status?h(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1));}function h(e){return "object"==typeof e&&null!==e&&e.$$typeof===w}var d,m=React__default,w=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),j=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),$=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,b=Object.prototype.hasOwnProperty,z=Array.isArray,H=console.createTask?console.createTask:function(){return null},B={},V=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,l)(),Z=H(t(l)),W={};a.Fragment=x,a.jsx=function(e,s,r){var o=1e4>$.recentlyCreatedOwnerStacks++;return i(e,s,r,false,o?Error("react-stack-top-frame"):V,o?H(t(e)):Z)},a.jsxs=function(e,s,r){var o=1e4>$.recentlyCreatedOwnerStacks++;return i(e,s,r,true,o?Error("react-stack-top-frame"):V,o?H(t(e)):Z)};}()),a}var c=(n||(n=1,"production"===process.env.NODE_ENV?o.exports=function(){if(r)return t;r=1;var e=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function o(s,r,o){var t=null;if(void 0!==o&&(t=""+o),void 0!==r.key&&(t=""+r.key),"key"in r)for(var l in o={},r)"key"!==l&&(o[l]=r[l]);else o=r;return r=o.ref,{$$typeof:e,type:s,key:t,ref:void 0!==r?r:null,props:o}}return t.Fragment=s,t.jsx=o,t.jsxs=o,t}():o.exports=i()),o.exports);const C={sm:16,md:20,lg:28},L=({size:e="md",direction:s="right",...r})=>{const o=C[e],t="left"===s;return c.jsx("svg",{width:o,height:o,viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",...r,children:c.jsxs("g",{transform:t?"scale(-1,1) translate(-20,0)":void 0,children:[c.jsx("path",{d:"M7.22 5.22a.75.75 0 011.06 0l4 4a.75.75 0 010 1.06l-4 4a.75.75 0 11-1.06-1.06L10.94 10 7.22 6.28a.75.75 0 010-1.06z"}),c.jsx("path",{d:"M15.25 4a.75.75 0 10-1.5 0v12a.75.75 0 101.5 0V4z"})]})})},y=({className:e="",size:s="md",color:r="currentColor",direction:o="down"})=>c.jsx("svg",{className:`${{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[s]} ${{up:"rotate-180",down:"",left:"rotate-90",right:"-rotate-90"}[o]} ${e}`,fill:"none",stroke:r,viewBox:"0 0 24 24",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})});const Xe={outlined:"material-symbols-outlined",rounded:"material-symbols-rounded",sharp:"material-symbols-sharp"},Ye=React.forwardRef(({name:e,variant:s="outlined",size:r="md",fill:o=0,weight:t=400,grade:l=0,opticalSize:n=24,style:a,className:i,...h},d)=>{const m=(e=>"number"==typeof e?e:"sm"===e?16:"md"===e?20:24)(r),w=`"FILL" ${o}, "wght" ${t}, "GRAD" ${l}, "opsz" ${n}`;return c.jsx("span",{ref:d,"aria-hidden":"true",className:Xe[s]+(i?` ${i}`:""),style:{fontVariationSettings:w,fontSize:m,lineHeight:1,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",...a},...h,children:e})});Ye.displayName="MaterialIcon";
436
436
 
437
437
  function styleInject(css, ref) {
438
438
  if ( ref === void 0 ) ref = {};
@@ -461,7 +461,7 @@ function styleInject(css, ref) {
461
461
  }
462
462
  }
463
463
 
464
- var css_248z$1 = "/* Pagination Item */\n.PaginationItem-module_item__pRz10 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;\n font-weight: 500;\n line-height: 1.5;\n user-select: none;\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.PaginationItem-module_button__vvMNc {\n border: none;\n background: transparent;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.87);\n margin: 0;\n}\n\n.PaginationItem-module_button__vvMNc:hover:not(.PaginationItem-module_disabled__pjZg5) {\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_button__vvMNc:focus-visible {\n outline: 2px solid #1976d2;\n outline-offset: 2px;\n}\n\n.PaginationItem-module_ellipsis__O3uKM {\n color: rgba(0, 0, 0, 0.54);\n pointer-events: none;\n}\n\n/* Sizes */\n.PaginationItem-module_size-small__EL1RS {\n min-width: 26px;\n height: 26px;\n font-size: 0.75rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-medium__BhNiF {\n min-width: 32px;\n height: 32px;\n font-size: 0.875rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-large__gFIDd {\n min-width: 40px;\n height: 40px;\n font-size: 1rem;\n padding: 0 10px;\n}\n\n/* Circular items must be true circles (equal width/height, no horizontal padding) */\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-small__EL1RS {\n width: 26px;\n height: 26px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-medium__BhNiF {\n width: 32px;\n height: 32px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-large__gFIDd {\n width: 40px;\n height: 40px;\n padding: 0;\n}\n\n/* Shapes */\n.PaginationItem-module_shape-rounded__UttZK {\n border-radius: 4px;\n}\n\n.PaginationItem-module_shape-circular__maeDw {\n border-radius: 50%;\n}\n\n/* Variants */\n.PaginationItem-module_variant-text__tlyX0.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n font-weight: 600;\n}\n\n.PaginationItem-module_variant-outlined__sukDY {\n border: 1px solid rgba(0, 0, 0, 0.23);\n}\n\n.PaginationItem-module_variant-outlined__sukDY:hover:not(.PaginationItem-module_disabled__pjZg5) {\n border-color: rgba(0, 0, 0, 0.87);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_variant-outlined__sukDY.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n border-color: #1976d2;\n font-weight: 600;\n}\n\n/* States */\n.PaginationItem-module_disabled__pjZg5 {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* Navigation buttons */\n.PaginationItem-module_navigation__9oiE2 {\n min-width: auto;\n}\n\n.PaginationItem-module_icon__f5p0K {\n width: 20px;\n height: 20px;\n fill: currentColor;\n}\n\n.PaginationItem-module_size-small__EL1RS .PaginationItem-module_icon__f5p0K {\n width: 18px;\n height: 18px;\n}\n\n.PaginationItem-module_size-large__gFIDd .PaginationItem-module_icon__f5p0K {\n width: 22px;\n height: 22px;\n}\n";
464
+ var css_248z$1 = "/* Pagination Item */\n.PaginationItem-module_item__pRz10 {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n font-family:\n -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial,\n sans-serif;\n font-weight: 500;\n line-height: 1.5;\n user-select: none;\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.PaginationItem-module_button__vvMNc {\n border: none;\n background: transparent;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.87);\n margin: 0;\n}\n\n.PaginationItem-module_button__vvMNc:hover:not(.PaginationItem-module_disabled__pjZg5) {\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_button__vvMNc:focus-visible {\n outline: 2px solid #1976d2;\n outline-offset: 2px;\n}\n\n.PaginationItem-module_ellipsis__O3uKM {\n color: rgba(0, 0, 0, 0.54);\n pointer-events: none;\n}\n\n/* Sizes */\n.PaginationItem-module_size-small__EL1RS {\n min-width: 26px;\n height: 26px;\n font-size: 0.75rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-medium__BhNiF {\n min-width: 32px;\n height: 32px;\n font-size: 0.875rem;\n padding: 0 6px;\n}\n\n.PaginationItem-module_size-large__gFIDd {\n min-width: 40px;\n height: 40px;\n font-size: 1rem;\n padding: 0 10px;\n}\n\n/* Circular items must be true circles (equal width/height, no horizontal padding) */\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-small__EL1RS {\n width: 26px;\n height: 26px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-medium__BhNiF {\n width: 32px;\n height: 32px;\n padding: 0;\n}\n\n.PaginationItem-module_shape-circular__maeDw.PaginationItem-module_size-large__gFIDd {\n width: 40px;\n height: 40px;\n padding: 0;\n}\n\n/* Shapes */\n.PaginationItem-module_shape-rounded__UttZK {\n border-radius: 4px;\n}\n\n.PaginationItem-module_shape-circular__maeDw {\n border-radius: 50%;\n}\n\n/* Variants */\n.PaginationItem-module_variant-text__tlyX0.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n font-weight: 600;\n}\n\n.PaginationItem-module_variant-outlined__sukDY {\n border: 1px solid rgba(0, 0, 0, 0.23);\n}\n\n.PaginationItem-module_variant-outlined__sukDY:hover:not(.PaginationItem-module_disabled__pjZg5) {\n border-color: rgba(0, 0, 0, 0.87);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.PaginationItem-module_variant-outlined__sukDY.PaginationItem-module_selected__HrXZ7 {\n background-color: rgba(25, 118, 210, 0.12);\n color: #1976d2;\n border-color: #1976d2;\n font-weight: 600;\n}\n\n/* States */\n.PaginationItem-module_disabled__pjZg5 {\n opacity: 0.38;\n cursor: not-allowed;\n pointer-events: none;\n}\n\n/* Navigation buttons */\n.PaginationItem-module_navigation__9oiE2 {\n min-width: auto;\n}\n\n.PaginationItem-module_icon__f5p0K {\n width: 20px;\n height: 20px;\n fill: currentColor;\n}\n\n.PaginationItem-module_size-small__EL1RS .PaginationItem-module_icon__f5p0K {\n width: 18px;\n height: 18px;\n}\n\n.PaginationItem-module_size-large__gFIDd .PaginationItem-module_icon__f5p0K {\n width: 22px;\n height: 22px;\n}\n";
465
465
  var styles$1 = {"item":"PaginationItem-module_item__pRz10","button":"PaginationItem-module_button__vvMNc","disabled":"PaginationItem-module_disabled__pjZg5","ellipsis":"PaginationItem-module_ellipsis__O3uKM","size-small":"PaginationItem-module_size-small__EL1RS","size-medium":"PaginationItem-module_size-medium__BhNiF","size-large":"PaginationItem-module_size-large__gFIDd","shape-circular":"PaginationItem-module_shape-circular__maeDw","shape-rounded":"PaginationItem-module_shape-rounded__UttZK","variant-text":"PaginationItem-module_variant-text__tlyX0","selected":"PaginationItem-module_selected__HrXZ7","variant-outlined":"PaginationItem-module_variant-outlined__sukDY","navigation":"PaginationItem-module_navigation__9oiE2","icon":"PaginationItem-module_icon__f5p0K"};
466
466
  styleInject(css_248z$1);
467
467
 
@@ -484,16 +484,16 @@ const PaginationItem = React__default.forwardRef(({ page, type, selected = false
484
484
  const renderNavigationIcon = () => {
485
485
  const iconSize = iconSizeMap[size];
486
486
  if (type === "first") {
487
- return (jsxRuntimeExports.jsx(y, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
487
+ return (jsxRuntimeExports.jsx(L, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
488
488
  }
489
489
  if (type === "last") {
490
- return (jsxRuntimeExports.jsx(y, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
490
+ return (jsxRuntimeExports.jsx(L, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
491
491
  }
492
492
  if (type === "next") {
493
- return (jsxRuntimeExports.jsx(L, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
493
+ return (jsxRuntimeExports.jsx(y, { direction: "right", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
494
494
  }
495
495
  if (type === "previous") {
496
- return (jsxRuntimeExports.jsx(L, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
496
+ return (jsxRuntimeExports.jsx(y, { direction: "left", size: iconSize, className: styles$1.icon, "aria-hidden": "true" }));
497
497
  }
498
498
  return null;
499
499
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubenpazch/pagination",
3
- "version": "1.0.1",
3
+ "version": "2.0.0",
4
4
  "description": "Pagination component",
5
5
  "private": false,
6
6
  "main": "dist/index.cjs.js",
@@ -20,7 +20,7 @@
20
20
  "**/*.css"
21
21
  ],
22
22
  "dependencies": {
23
- "@rubenpazch/icons": "4.0.1"
23
+ "@rubenpazch/icons": "5.0.0"
24
24
  },
25
25
  "exports": {
26
26
  ".": {
@@ -38,13 +38,13 @@
38
38
  "@rollup/plugin-node-resolve": "^16.0.0",
39
39
  "@rollup/plugin-typescript": "^12.1.2",
40
40
  "@testing-library/react": "^16.1.0",
41
- "@types/jest": "^29.5.1",
41
+ "@types/jest": "^30.0.0",
42
42
  "@types/react": "^19.0.2",
43
43
  "@types/react-dom": "^19.0.2",
44
44
  "autoprefixer": "^10.4.14",
45
45
  "identity-obj-proxy": "^3.0.0",
46
- "jest": "^29.5.0",
47
- "jest-environment-jsdom": "^29.5.0",
46
+ "jest": "^30.2.0",
47
+ "jest-environment-jsdom": "^30.2.0",
48
48
  "postcss": "^8.4.24",
49
49
  "rollup": "^4.53.5",
50
50
  "rollup-plugin-dts": "^6.1.1",