@nextui-org/react 1.0.2-beta.4 → 1.0.2-beta.5-dbg3

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 (158) hide show
  1. package/cjs/avatar/avatar.styles.js +1 -1
  2. package/cjs/checkbox/checkbox.js +1 -1
  3. package/cjs/checkbox/checkbox.styles.js +1 -1
  4. package/cjs/index.js +1 -1
  5. package/cjs/pagination/pagination-highlight.js +1 -1
  6. package/cjs/pagination/pagination.js +1 -1
  7. package/cjs/pagination/pagination.styles.js +1 -1
  8. package/cjs/spacer/spacer.js +1 -1
  9. package/cjs/table/base/index.js +1 -0
  10. package/cjs/table/base/table-body.js +1 -0
  11. package/cjs/table/base/table-cell.js +1 -0
  12. package/cjs/table/base/table-column.js +1 -0
  13. package/cjs/table/base/table-header.js +1 -0
  14. package/cjs/table/base/table-row.js +1 -0
  15. package/cjs/table/index.js +1 -0
  16. package/cjs/table/table-body.js +1 -0
  17. package/cjs/table/table-cell.js +1 -0
  18. package/cjs/table/table-checkbox-cell.js +1 -0
  19. package/cjs/table/table-column-header.js +1 -0
  20. package/cjs/table/table-context.js +1 -0
  21. package/cjs/table/table-footer.js +1 -0
  22. package/cjs/table/table-header-row.js +1 -0
  23. package/cjs/table/table-pagination.js +1 -0
  24. package/cjs/table/table-row-group.js +1 -0
  25. package/cjs/table/table-row.js +1 -0
  26. package/cjs/table/table-select-all-checkbox.js +1 -0
  27. package/cjs/table/table-sort-icon.js +1 -0
  28. package/cjs/table/table.js +1 -0
  29. package/cjs/table/table.styles.js +1 -0
  30. package/cjs/table/utils.js +1 -0
  31. package/cjs/theme/common.js +1 -1
  32. package/cjs/theme/stitches.config.js +1 -1
  33. package/cjs/theme/utils.js +1 -1
  34. package/cjs/tooltip/tooltip.js +1 -1
  35. package/cjs/tooltip/tooltip.styles.js +1 -1
  36. package/cjs/use-keyboard/codes.js +1 -1
  37. package/cjs/use-keyboard/helper.js +1 -1
  38. package/cjs/use-keyboard/use-keyboard.js +1 -1
  39. package/cjs/use-pagination/index.js +1 -1
  40. package/cjs/user/index.js +1 -1
  41. package/cjs/user/user.js +1 -1
  42. package/cjs/user/user.styles.js +1 -1
  43. package/cjs/utils/collections.js +1 -1
  44. package/cjs/utils/icons.js +1 -1
  45. package/cjs/utils/object.js +1 -1
  46. package/cjs/utils/prop-types.js +1 -1
  47. package/esm/avatar/avatar.styles.js +1 -1
  48. package/esm/checkbox/checkbox.js +1 -1
  49. package/esm/checkbox/checkbox.styles.js +1 -1
  50. package/esm/index.js +1 -1
  51. package/esm/pagination/pagination-highlight.js +1 -1
  52. package/esm/pagination/pagination.js +1 -1
  53. package/esm/pagination/pagination.styles.js +1 -1
  54. package/esm/spacer/spacer.js +1 -1
  55. package/esm/table/base/index.js +1 -0
  56. package/esm/table/base/table-body.js +1 -0
  57. package/esm/table/base/table-cell.js +1 -0
  58. package/esm/table/base/table-column.js +1 -0
  59. package/esm/table/base/table-header.js +1 -0
  60. package/esm/table/base/table-row.js +1 -0
  61. package/esm/table/index.js +1 -0
  62. package/esm/table/table-body.js +1 -0
  63. package/esm/table/table-cell.js +1 -0
  64. package/esm/table/table-checkbox-cell.js +1 -0
  65. package/esm/table/table-column-header.js +1 -0
  66. package/esm/table/table-context.js +1 -0
  67. package/esm/table/table-footer.js +1 -0
  68. package/esm/table/table-header-row.js +1 -0
  69. package/esm/table/table-pagination.js +1 -0
  70. package/esm/table/table-row-group.js +1 -0
  71. package/esm/table/table-row.js +1 -0
  72. package/esm/table/table-select-all-checkbox.js +1 -0
  73. package/esm/table/table-sort-icon.js +1 -0
  74. package/esm/table/table.js +1 -0
  75. package/esm/table/table.styles.js +1 -0
  76. package/esm/table/utils.js +1 -0
  77. package/esm/theme/common.js +1 -1
  78. package/esm/theme/stitches.config.js +1 -1
  79. package/esm/theme/utils.js +1 -1
  80. package/esm/tooltip/tooltip.js +1 -1
  81. package/esm/tooltip/tooltip.styles.js +1 -1
  82. package/esm/use-keyboard/codes.js +1 -1
  83. package/esm/use-keyboard/helper.js +1 -1
  84. package/esm/use-keyboard/use-keyboard.js +1 -1
  85. package/esm/use-pagination/index.js +1 -1
  86. package/esm/user/index.js +1 -1
  87. package/esm/user/user.js +1 -1
  88. package/esm/user/user.styles.js +1 -1
  89. package/esm/utils/collections.js +1 -1
  90. package/esm/utils/icons.js +1 -1
  91. package/esm/utils/object.js +1 -1
  92. package/esm/utils/prop-types.js +1 -1
  93. package/package.json +15 -5
  94. package/table/package.json +6 -0
  95. package/types/backdrop/backdrop.d.ts +1 -1
  96. package/types/backdrop/backdrop.styles.d.ts +1 -1
  97. package/types/button/button-group.styles.d.ts +1 -1
  98. package/types/button/button.styles.d.ts +2 -1
  99. package/types/card/card.styles.d.ts +3 -3
  100. package/types/checkbox/checkbox.d.ts +3 -3
  101. package/types/checkbox/checkbox.styles.d.ts +995 -6
  102. package/types/checkbox/index.d.ts +1 -1
  103. package/types/collapse/collapse.styles.d.ts +2 -2
  104. package/types/image/image.styles.d.ts +1 -1
  105. package/types/index.d.ts +4 -0
  106. package/types/input/input-password.d.ts +1 -1
  107. package/types/input/input.styles.d.ts +5 -5
  108. package/types/modal/modal.styles.d.ts +1 -1
  109. package/types/pagination/pagination-highlight.d.ts +2 -1
  110. package/types/pagination/pagination.styles.d.ts +5 -5
  111. package/types/progress/progress.d.ts +1 -1
  112. package/types/radio/radio.styles.d.ts +3 -3
  113. package/types/snippet/snippet.styles.d.ts +1 -1
  114. package/types/spacer/spacer.d.ts +1 -1
  115. package/types/spacer/spacer.styles.d.ts +1 -1
  116. package/types/switch/switch.d.ts +1 -1
  117. package/types/switch/switch.styles.d.ts +1 -1
  118. package/types/table/base/index.d.ts +5 -0
  119. package/types/table/base/table-body.d.ts +8 -0
  120. package/types/table/base/table-cell.d.ts +8 -0
  121. package/types/table/base/table-column.d.ts +8 -0
  122. package/types/table/base/table-header.d.ts +4 -0
  123. package/types/table/base/table-row.d.ts +8 -0
  124. package/types/table/index.d.ts +12 -0
  125. package/types/table/table-body.d.ts +20 -0
  126. package/types/table/table-cell-old.d.ts +22 -0
  127. package/types/table/table-cell.d.ts +20 -0
  128. package/types/table/table-checkbox-cell.d.ts +23 -0
  129. package/types/table/table-column-header.d.ts +1018 -0
  130. package/types/table/table-column.d.ts +17 -0
  131. package/types/table/table-context.d.ts +29 -0
  132. package/types/table/table-footer.d.ts +31 -0
  133. package/types/table/table-header-row.d.ts +19 -0
  134. package/types/table/table-old.d.ts +49 -0
  135. package/types/table/table-pagination.d.ts +16 -0
  136. package/types/table/table-row-group.d.ts +14 -0
  137. package/types/table/table-row.d.ts +20 -0
  138. package/types/table/table-select-all-checkbox.d.ts +20 -0
  139. package/types/table/table-sort-icon.d.ts +944 -0
  140. package/types/table/table-types.d.ts +30 -0
  141. package/types/table/table.d.ts +28 -0
  142. package/types/table/table.styles.d.ts +15098 -0
  143. package/types/table/utils.d.ts +2 -0
  144. package/types/theme/ssr-provider.d.ts +7 -0
  145. package/types/theme/stitches.config.d.ts +2 -1
  146. package/types/tooltip/tooltip.d.ts +1 -1
  147. package/types/tooltip/tooltip.styles.d.ts +2 -2
  148. package/types/use-keyboard/codes.d.ts +84 -84
  149. package/types/user/index.d.ts +1 -2
  150. package/types/user/user-link.d.ts +2 -19
  151. package/types/user/user.d.ts +2 -2
  152. package/types/user/user.styles.d.ts +1 -7
  153. package/types/utils/collections.d.ts +2 -1
  154. package/types/utils/object.d.ts +4 -0
  155. package/types/utils/prop-types.d.ts +7 -0
  156. package/umd/nextui.js +30064 -13783
  157. package/umd/nextui.min.js +1 -1
  158. package/umd/nextui.min.js.LICENSE.txt +15 -0
@@ -1 +1 @@
1
- import{KeyMod as e}from"./codes";import{useEffect as t}from"react";import{getActiveModMap as r,getCtrlKeysByPlatform as n}from"./helper";export default(o,p,s={})=>{const a=Array.isArray(p)?p:[p],{disableGlobalEvent:y=!1,capture:i=!1,stopPropagation:l=!1,preventDefault:d=!1,event:u="keydown"}=s,m=r(a),C=a.filter((t=>!e[t])),{CtrlCmd:f,WinCtrl:c}=n(),k=e=>{m.Shift&&!e.shiftKey||m.Alt&&!e.altKey||m.CtrlCmd&&!e[f]||m.WinCtrl&&!e[c]||C.length>0&&!C.includes(e.keyCode)||(l&&e.stopPropagation(),d&&e.preventDefault(),o&&o(e))};t((()=>(y||document.addEventListener(u,k),()=>{document.removeEventListener(u,k)})),[y]);const K=(e,t=!1)=>e!==u||t!==i?()=>{}:e=>k(e);return{bindings:{onKeyDown:K("keydown"),onKeyDownCapture:K("keydown",!0),onKeyPress:K("keypress"),onKeyPressCapture:K("keypress",!0),onKeyUp:K("keyup"),onKeyUpCapture:K("keyup",!0)}}};
1
+ import{KeyMod as e}from"./codes";import{useEffect as t}from"react";import{getActiveModMap as r,getCtrlKeysByPlatform as o}from"./helper";import{getKeyValue as n}from"../utils/object";export default(p,s,i={})=>{const a=Array.isArray(s)?s:[s],{disableGlobalEvent:y=!1,capture:l=!1,stopPropagation:d=!1,preventDefault:u=!1,event:m="keydown"}=i,f=r(a),C=a.filter((t=>!n(e,t))),{CtrlCmd:c,WinCtrl:k}=o(),K=e=>{f.Shift&&!e.shiftKey||f.Alt&&!e.altKey||f.CtrlCmd&&!e[c]||f.WinCtrl&&!e[k]||C.length>0&&!C.includes(e.keyCode)||(d&&e.stopPropagation(),u&&e.preventDefault(),p&&p(e))};t((()=>(y||document.addEventListener(m,K),()=>{document.removeEventListener(m,K)})),[y]);const v=(e,t=!1)=>e!==m||t!==l?()=>{}:e=>K(e);return{bindings:{onKeyDown:v("keydown"),onKeyDownCapture:v("keydown",!0),onKeyPress:v("keypress"),onKeyPressCapture:v("keypress",!0),onKeyUp:v("keyup"),onKeyUpCapture:v("keyup",!0)}}};
@@ -1 +1 @@
1
- import{useMemo as t,useCallback as r,useState as e}from"react";import{range as n}from"../utils/numbers";export const DOTS="dots";export default({page:i,total:a,siblings:o=1,boundaries:s=1,initialPage:u=1,onChange:f})=>{const[m,c]=e(i||u),g=t=>{c(t),f&&f(t)},l=r((t=>{g(t<=0?1:t>a?a:t)}),[a]);return{range:t((()=>{if(2*o+3+2*s>=a)return n(1,a);const t=Math.max(m-o,s),r=Math.min(m+o,a-s),e=t>s+2,i=r<a-(s+1);if(!e&&i){return[...n(1,2*o+s+2),DOTS,...n(a-(s-1),a)]}if(e&&!i){const t=s+1+2*o;return[...n(1,s),DOTS,...n(a-t,a)]}return[...n(1,s),DOTS,...n(t,r),DOTS,...n(a-s+1,a)]}),[a,o,m]),active:m,setPage:l,next:()=>l(m+1),previous:()=>l(m-1),first:()=>l(1),last:()=>l(a)}};
1
+ import{useMemo as t,useCallback as r,useState as e,useEffect as n}from"react";import{range as i}from"../utils/numbers";export const DOTS="dots";export default({page:o,total:a,siblings:s=1,boundaries:u=1,initialPage:c=1,onChange:f})=>{const[m,g]=e(o||c),l=t=>{g(t),f&&f(t)};n((()=>{o&&o!==m&&g(o)}),[o]);const p=r((t=>{l(t<=0?1:t>a?a:t)}),[a]);return{range:t((()=>{if(2*s+3+2*u>=a)return i(1,a);const t=Math.max(m-s,u),r=Math.min(m+s,a-u),e=t>u+2,n=r<a-(u+1);if(!e&&n){return[...i(1,2*s+u+2),DOTS,...i(a-(u-1),a)]}if(e&&!n){const t=u+1+2*s;return[...i(1,u),DOTS,...i(a-t,a)]}return[...i(1,u),DOTS,...i(t,r),DOTS,...i(a-u+1,a)]}),[a,s,m]),active:m,setPage:p,next:()=>p(m+1),previous:()=>p(m-1),first:()=>p(1),last:()=>p(a)}};
package/esm/user/index.js CHANGED
@@ -1 +1 @@
1
- import e from"./user";import r from"./user-link";e.Link=r;export{StyledUser,StyledUserInfo,StyledUserName,StyledUserSocial,StyledUserLink}from"./user.styles";export default e;
1
+ import e from"./user";import r from"./user-link";e.Link=r;export{StyledUser,StyledUserInfo,StyledUserName,StyledUserDesc,StyledUserLink}from"./user.styles";export default e;
package/esm/user/user.js CHANGED
@@ -1 +1 @@
1
- import e from"react";import{Avatar as r}from"../index";import{StyledUser as s,StyledUserInfo as t,StyledUserName as a,StyledUserSocial as i}from"./user.styles";import{jsx as o}from"react/jsx-runtime";import{jsxs as m}from"react/jsx-runtime";const c=({src:e,text:c,name:n,children:l,altText:u,color:x,squared:d,bordered:f,size:p,...h})=>m(s,{...h,children:[o(r,{className:"nextui-user-avatar",src:e,color:x,squared:d,bordered:f,text:c,size:p,alt:u}),m(t,{className:"nextui-user-info",children:[o(a,{className:"nextui-user-name",children:n}),o(i,{className:"nextui-user-social",children:l})]})]});c.toString=()=>".nextui-user";export default e.memo(c);
1
+ import e from"react";import{Avatar as r}from"../index";import{StyledUser as s,StyledUserInfo as t,StyledUserName as i,StyledUserDesc as a}from"./user.styles";import{jsx as o}from"react/jsx-runtime";import{jsxs as m}from"react/jsx-runtime";const c=({src:e,text:c,name:n,children:u,altText:d,color:l,squared:x,bordered:f,size:p,description:h,...j})=>m(s,{...j,children:[o(r,{className:"nextui-user-avatar",src:e,color:l,squared:x,bordered:f,text:c,size:p,alt:d}),m(t,{className:"nextui-user-info",children:[o(i,{className:"nextui-user-name",children:n}),o(a,{className:"nextui-user-desc",children:h||u})]})]});c.toString=()=>".nextui-user";export default e.memo(c);
@@ -1 +1 @@
1
- import{styled as t}from"../theme/stitches.config";export const StyledUser=t("div",{d:"inline-flex",p:"0 $sm",jc:"center",ai:"center",w:"max-content",maxWidth:"100%"});export const StyledUserInfo=t("div",{ml:"$sm",d:"inline-flex",fd:"column",whiteSpace:"nowrap"});export const StyledUserName=t("span",{fontSize:"$xs",color:"$text",lh:"$sm",tt:"capitalize",fontWeight:"$medium",maxW:"$60",to:"ellipsis",ov:"hidden"});export const StyledUserSocial=t("span",{fontSize:"$tiny",color:"$accents4","*:first-child":{mt:0},"*:last-child":{mb:0}});export const StyledUserLink=t("a",{a:{"&:hover":{opacity:.7}}});
1
+ import{styled as e}from"../theme/stitches.config";export const StyledUser=e("div",{d:"inline-flex",p:"0 $sm",jc:"center",ai:"center",w:"max-content",maxWidth:"100%"});export const StyledUserInfo=e("div",{ml:"$sm",d:"inline-flex",fd:"column",whiteSpace:"nowrap"});export const StyledUserName=e("span",{fontSize:"$xs",color:"$text",lh:"$sm",tt:"capitalize",fontWeight:"$medium",maxW:"$60",to:"ellipsis",ov:"hidden"});export const StyledUserDesc=e("span",{fontSize:"$tiny",color:"$accents4","*:first-child":{mt:0},"*:last-child":{mb:0}});export const StyledUserLink=e("a",{a:{"&:hover":{opacity:.7}}});
@@ -1 +1 @@
1
- import e from"react";export const getId=()=>Math.random().toString(32).slice(2,10);export const hasChild=(t,n)=>(e.Children.map(t,(t=>e.isValidElement(t)?t.type:null))||[]).includes(n);export const pick=(e,t)=>e.reduce(((e,n)=>(e[n]=t[n],e)),{});export const pickChild=(t,n)=>{let r=[];return[e.Children.map(t,(t=>e.isValidElement(t)&&t.type===n?(r.push(t),null):t)),r.length>=0?r:void 0]};export const isChildElement=(e,t)=>{if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1};export const isBrowser=()=>Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);export const isMac=()=>!!Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)&&navigator.platform.toUpperCase().indexOf("MAC")>=0;export const setChildrenIndex=(t,n=[])=>{if(0===e.Children.count(t))return[];const r=0===n.length,o=(t,n={})=>e.cloneElement(t,n);let i=0;return e.Children.map(t,(t=>{if(!e.isValidElement(t))return t;if(i+=1,r)return o(t,{index:i});return n.find((e=>e===t.type))?o(t,{index:i}):(i-=1,t)}))};export const flattenArray=e=>e.reduce(((e,t)=>e.concat(Array.isArray(t)?flattenArray(t):t)),[]);
1
+ import e from"react";export const getId=()=>Math.random().toString(32).slice(2,10);export const hasChild=(t,n)=>(e.Children.map(t,(t=>e.isValidElement(t)?t.type:null))||[]).includes(n);export const pick=(e,t)=>e.reduce(((e,n)=>(e[n]=t[n],e)),{});export const pickChild=(t,n)=>{let r=[];return[e.Children.map(t,(t=>e.isValidElement(t)&&t.type===n?(r.push(t),null):t)),r.length>=0?r:void 0]};export const pickSingleChild=(e,t)=>{const[n,r]=pickChild(e,t);let o=null;return r&&r.length>=1&&(o=r.length>=0?r[0]:void 0),[n,o]};export const isChildElement=(e,t)=>{if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1};export const isBrowser=()=>Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);export const isMac=()=>!!Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)&&navigator.platform.toUpperCase().indexOf("MAC")>=0;export const setChildrenIndex=(t,n=[])=>{if(0===e.Children.count(t))return[];const r=0===n.length,o=(t,n={})=>e.cloneElement(t,n);let i=0;return e.Children.map(t,(t=>{if(!e.isValidElement(t))return t;if(i+=1,r)return o(t,{index:i});return n.find((e=>e===t.type))?o(t,{index:i}):(i-=1,t)}))};export const flattenArray=e=>e.reduce(((e,t)=>e.concat(Array.isArray(t)?flattenArray(t):t)),[]);
@@ -1 +1 @@
1
- import e from"react";import{jsx as t}from"react/jsx-runtime";import{jsxs as i}from"react/jsx-runtime";export const Sun=({theme:e,fill:o,filled:l,size:r,height:n,width:h,label:a,...s})=>l?t("svg",{viewBox:"0 0 512 512",width:r||h||24,height:r||n||24,...s,children:t("path",{fill:o,d:"M256 118a22 22 0 01-22-22V48a22 22 0 0144 0v48a22 22 0 01-22 22zM256 486a22 22 0 01-22-22v-48a22 22 0 0144 0v48a22 22 0 01-22 22zM369.14 164.86a22 22 0 01-15.56-37.55l33.94-33.94a22 22 0 0131.11 31.11l-33.94 33.94a21.93 21.93 0 01-15.55 6.44zM108.92 425.08a22 22 0 01-15.55-37.56l33.94-33.94a22 22 0 1131.11 31.11l-33.94 33.94a21.94 21.94 0 01-15.56 6.45zM464 278h-48a22 22 0 010-44h48a22 22 0 010 44zM96 278H48a22 22 0 010-44h48a22 22 0 010 44zM403.08 425.08a21.94 21.94 0 01-15.56-6.45l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.55 37.56zM142.86 164.86a21.89 21.89 0 01-15.55-6.44l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.56 37.55zM256 358a102 102 0 11102-102 102.12 102.12 0 01-102 102z"})}):i("svg",{viewBox:"0 0 512 512",width:r||h||24,height:r||n||24,...s,children:[t("path",{fill:"none",stroke:o,strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:32,d:"M256 48v48M256 416v48M403.08 108.92l-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48M96 256H48M403.08 403.08l-33.94-33.94M142.86 142.86l-33.94-33.94"}),t("circle",{cx:256,cy:256,r:80,fill:"none",stroke:o,strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:32})]});export const Mail=({theme:e,fill:o,size:l,height:r,width:n,...h})=>t("svg",{width:l||n||24,height:l||r||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,children:[t("path",{d:"M12 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v3"}),t("path",{d:"M17 9l-3.13 2.5a3.166 3.166 0 01-3.75 0L7 9M19.21 14.77l-3.539 3.54a1.232 1.232 0 00-.3.59l-.19 1.35a.635.635 0 00.76.76l1.35-.19a1.189 1.189 0 00.59-.3l3.54-3.54a1.365 1.365 0 000-2.22 1.361 1.361 0 00-2.211.01zM18.7 15.28a3.185 3.185 0 002.22 2.22"})]})});export const Moon=({theme:e,fill:i,filled:o,size:l,height:r,width:n,label:h,...a})=>t("svg",o?{viewBox:"0 0 512 512",width:l||n||24,height:l||r||24,...a,children:t("path",{fill:i,d:"M152.62 126.77c0-33 4.85-66.35 17.23-94.77C87.54 67.83 32 151.89 32 247.38 32 375.85 136.15 480 264.62 480c95.49 0 179.55-55.54 215.38-137.85-28.42 12.38-61.8 17.23-94.77 17.23-128.47 0-232.61-104.14-232.61-232.61z"})}:{viewBox:"0 0 512 512",width:l||n||24,height:l||r||24,...a,children:t("path",{d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z",fill:"none",stroke:i,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:32})});export const Lock=({theme:e,fill:o,filled:l,size:r,height:n,width:h,label:a,...s})=>{const d=o;return t("svg",{"data-name":"Iconly/Curved/Lock",xmlns:"http://www.w3.org/2000/svg",width:r||h||24,height:r||n||24,viewBox:"0 0 24 24",...s,children:i("g",{transform:"translate(3.5 2)",children:[t("path",{d:"M9.121,6.653V4.5A4.561,4.561,0,0,0,0,4.484V6.653",transform:"translate(3.85 0.75)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M.5,0V2.221",transform:"translate(7.91 12.156)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.4,0,7.66,0Z",transform:"translate(0.75 6.824)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5})]})})};export const Unlock=({theme:e,fill:o,filled:l,size:r,height:n,width:h,label:a,...s})=>{const d=o;return t("svg",{"data-name":"Iconly/Curved/Lock",xmlns:"http://www.w3.org/2000/svg",width:r||h||24,height:r||n||24,viewBox:"0 0 24 24",...s,children:i("g",{transform:"translate(3.5 2)",children:[t("path",{d:"M8.927,3.237A4.562,4.562,0,0,0,0,4.484V6.653",transform:"translate(3.849 0.75)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M.5,0V2.221",transform:"translate(7.91 12.156)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.406,0,7.66,0Z",transform:"translate(0.75 6.824)",fill:"none",stroke:d,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5})]})})};export const Password=({theme:e,fill:o,size:l,height:r,width:n,...h})=>t("svg",{width:l||n||24,height:l||r||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:o,children:[t("path",{d:"M18.75 8v2.1a12.984 12.984 0 00-1.5-.1V8c0-3.15-.89-5.25-5.25-5.25S6.75 4.85 6.75 8v2a12.984 12.984 0 00-1.5.1V8c0-2.9.7-6.75 6.75-6.75S18.75 5.1 18.75 8z"}),t("path",{d:"M18.75 10.1a12.984 12.984 0 00-1.5-.1H6.75a12.984 12.984 0 00-1.5.1C2.7 10.41 2 11.66 2 15v2c0 4 1 5 5 5h10c4 0 5-1 5-5v-2c0-3.34-.7-4.59-3.25-4.9zM8.71 16.71A1.052 1.052 0 018 17a1 1 0 01-.38-.08 1.032 1.032 0 01-.33-.21A1.052 1.052 0 017 16a1 1 0 01.08-.38 1.155 1.155 0 01.21-.33 1.032 1.032 0 01.33-.21 1 1 0 011.09.21 1.155 1.155 0 01.21.33A1 1 0 019 16a1.052 1.052 0 01-.29.71zm4.21-.33a1.155 1.155 0 01-.21.33A1.052 1.052 0 0112 17a1.033 1.033 0 01-.71-.29 1.155 1.155 0 01-.21-.33A1 1 0 0111 16a1.033 1.033 0 01.29-.71 1.047 1.047 0 011.42 0A1.033 1.033 0 0113 16a1 1 0 01-.08.38zm3.79.33a1.014 1.014 0 01-1.42 0 1.014 1.014 0 010-1.42 1.047 1.047 0 011.42 0c.04.05.08.1.12.16a.556.556 0 01.09.17.636.636 0 01.06.18 1.5 1.5 0 01.02.2 1.052 1.052 0 01-.29.71z"})]})});export const Notification=({theme:e,fill:i,filled:o,size:l,height:r,width:n,label:h,...a})=>t("svg",{width:l||n||24,height:l||r||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.707 8.796c0 1.256.332 1.997 1.063 2.85.553.628.73 1.435.73 2.31 0 .874-.287 1.704-.863 2.378a4.537 4.537 0 01-2.9 1.413c-1.571.134-3.143.247-4.736.247-1.595 0-3.166-.068-4.737-.247a4.532 4.532 0 01-2.9-1.413 3.616 3.616 0 01-.864-2.378c0-.875.178-1.682.73-2.31.754-.854 1.064-1.594 1.064-2.85V8.37c0-1.682.42-2.781 1.283-3.858C7.861 2.942 9.919 2 11.956 2h.09c2.08 0 4.204.987 5.466 2.625.82 1.054 1.195 2.108 1.195 3.745v.426zM9.074 20.061c0-.504.462-.734.89-.833.5-.106 3.545-.106 4.045 0 .428.099.89.33.89.833-.025.48-.306.904-.695 1.174a3.635 3.635 0 01-1.713.731 3.795 3.795 0 01-1.008 0 3.618 3.618 0 01-1.714-.732c-.39-.269-.67-.694-.695-1.173z",fill:i})});export const User=({theme:e,fill:o,filled:l,size:r,height:n,width:h,label:a,...s})=>t("svg",{"data-name":"Iconly/Curved/Profile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:r||h||24,height:r||n||24,...s,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,children:[t("path",{"data-name":"Stroke 1",d:"M11.845 21.662C8.153 21.662 5 21.088 5 18.787s3.133-4.425 6.845-4.425c3.692 0 6.845 2.1 6.845 4.4s-3.134 2.9-6.845 2.9z"}),t("path",{"data-name":"Stroke 3",d:"M11.837 11.174a4.372 4.372 0 10-.031 0z"})]})});export const VolumeUp=({theme:e,fill:i,filled:o,size:l,height:r,width:n,label:h,...a})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:l||n||24,height:l||r||24,fill:"none",...a,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.357 6.45c-.05-.486-.103-.99-.232-1.494C12.775 3.752 11.801 3 10.758 3c-.582-.002-1.318.356-1.736.72l-3.46 2.897h-1.81c-1.333 0-2.404 1.027-2.607 2.51-.172 1.424-.214 4.11 0 5.677.186 1.567 1.21 2.579 2.607 2.579h1.81l3.527 2.94c.362.315 1 .676 1.588.676l.105.001c1.063 0 2-.78 2.35-1.98.133-.509.18-.985.224-1.445l.001-.008.047-.459c.18-1.487.18-8.739 0-10.215l-.047-.442zm4.05.045a.907.907 0 00-1.279-.237.957.957 0 00-.228 1.308c.802 1.182 1.243 2.756 1.243 4.434 0 1.677-.441 3.252-1.243 4.434a.956.956 0 00.23 1.308.905.905 0 001.277-.237c1.012-1.492 1.571-3.447 1.571-5.505s-.559-4.013-1.571-5.505zM19.29 3.22a.905.905 0 011.277.236C22.136 5.767 23 8.802 23 12c0 3.2-.864 6.234-2.433 8.544a.902.902 0 01-1.276.236.957.957 0 01-.23-1.308c1.356-1.999 2.104-4.653 2.104-7.472 0-2.818-.748-5.472-2.105-7.471a.958.958 0 01.23-1.308z",fill:i})});export const Camera=({theme:e,fill:i,filled:o,size:l,height:r,width:n,label:h,...a})=>t("svg",{width:l||n||24,height:l||r||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.44 6.236c.04.07.11.12.2.12 2.4 0 4.36 1.958 4.36 4.355v5.934A4.368 4.368 0 0117.64 21H6.36A4.361 4.361 0 012 16.645V10.71a4.361 4.361 0 014.36-4.355c.08 0 .16-.04.19-.12l.06-.12.106-.222a97.79 97.79 0 01.714-1.486C7.89 3.51 8.67 3.01 9.64 3h4.71c.97.01 1.76.51 2.22 1.408.157.315.397.822.629 1.31l.141.299.1.22zm-.73 3.836c0 .5.4.9.9.9s.91-.4.91-.9-.41-.909-.91-.909-.9.41-.9.91zm-6.44 1.548c.47-.47 1.08-.719 1.73-.719.65 0 1.26.25 1.72.71.46.459.71 1.068.71 1.717A2.438 2.438 0 0112 15.756c-.65 0-1.26-.25-1.72-.71a2.408 2.408 0 01-.71-1.717v-.01c-.01-.63.24-1.24.7-1.699zm4.5 4.485a3.91 3.91 0 01-2.77 1.15 3.921 3.921 0 01-3.93-3.926 3.865 3.865 0 011.14-2.767A3.921 3.921 0 0112 9.402c1.05 0 2.04.41 2.78 1.15.74.749 1.15 1.738 1.15 2.777a3.958 3.958 0 01-1.16 2.776z",fill:i})});export const Activity=({theme:e,fill:o,filled:l,size:r,height:n,width:h,label:a,...s})=>t("svg",{"data-name":"Iconly/Curved/Activity",xmlns:"http://www.w3.org/2000/svg",width:r||h||24,height:r||n||24,viewBox:"0 0 24 24",...s,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,children:[t("path",{d:"M6.918 14.854l2.993-3.889 3.414 2.68 2.929-3.78"}),t("path",{d:"M19.668 2.35a1.922 1.922 0 11-1.922 1.922 1.921 1.921 0 011.922-1.922z"}),t("path",{d:"M20.756 9.269a20.809 20.809 0 01.194 3.034c0 6.938-2.312 9.25-9.25 9.25s-9.25-2.312-9.25-9.25 2.313-9.25 9.25-9.25a20.931 20.931 0 012.983.187"})]})});export const Plus=({theme:e,fill:o,size:l,height:r,width:n,...h})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:l||n||24,height:l||r||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,children:[t("path",{d:"M6 12h12"}),t("path",{d:"M12 18V6"})]})});export const Minus=({theme:e,fill:i,size:o,height:l,width:r,...n})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:o||r||24,height:o||l||24,viewBox:"0 0 24 24",...n,children:t("path",{d:"M6 12h12",fill:"none",stroke:i,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})});
1
+ import e from"react";import{jsx as t}from"react/jsx-runtime";import{jsxs as i}from"react/jsx-runtime";export const Sun=({theme:e,fill:o,filled:r,size:n,height:l,width:h,label:s,...d})=>r?t("svg",{viewBox:"0 0 512 512",width:n||h||24,height:n||l||24,...d,children:t("path",{fill:o,d:"M256 118a22 22 0 01-22-22V48a22 22 0 0144 0v48a22 22 0 01-22 22zM256 486a22 22 0 01-22-22v-48a22 22 0 0144 0v48a22 22 0 01-22 22zM369.14 164.86a22 22 0 01-15.56-37.55l33.94-33.94a22 22 0 0131.11 31.11l-33.94 33.94a21.93 21.93 0 01-15.55 6.44zM108.92 425.08a22 22 0 01-15.55-37.56l33.94-33.94a22 22 0 1131.11 31.11l-33.94 33.94a21.94 21.94 0 01-15.56 6.45zM464 278h-48a22 22 0 010-44h48a22 22 0 010 44zM96 278H48a22 22 0 010-44h48a22 22 0 010 44zM403.08 425.08a21.94 21.94 0 01-15.56-6.45l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.55 37.56zM142.86 164.86a21.89 21.89 0 01-15.55-6.44l-33.94-33.94a22 22 0 0131.11-31.11l33.94 33.94a22 22 0 01-15.56 37.55zM256 358a102 102 0 11102-102 102.12 102.12 0 01-102 102z"})}):i("svg",{viewBox:"0 0 512 512",width:n||h||24,height:n||l||24,...d,children:[t("path",{fill:"none",stroke:o,strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:32,d:"M256 48v48M256 416v48M403.08 108.92l-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48M96 256H48M403.08 403.08l-33.94-33.94M142.86 142.86l-33.94-33.94"}),t("circle",{cx:256,cy:256,r:80,fill:"none",stroke:o,strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:32})]});export const Mail=({theme:e,fill:o,size:r,height:n,width:l,...h})=>t("svg",{width:r||l||24,height:r||n||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,children:[t("path",{d:"M12 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v3"}),t("path",{d:"M17 9l-3.13 2.5a3.166 3.166 0 01-3.75 0L7 9M19.21 14.77l-3.539 3.54a1.232 1.232 0 00-.3.59l-.19 1.35a.635.635 0 00.76.76l1.35-.19a1.189 1.189 0 00.59-.3l3.54-3.54a1.365 1.365 0 000-2.22 1.361 1.361 0 00-2.211.01zM18.7 15.28a3.185 3.185 0 002.22 2.22"})]})});export const Moon=({theme:e,fill:i,filled:o,size:r,height:n,width:l,label:h,...s})=>t("svg",o?{viewBox:"0 0 512 512",width:r||l||24,height:r||n||24,...s,children:t("path",{fill:i,d:"M152.62 126.77c0-33 4.85-66.35 17.23-94.77C87.54 67.83 32 151.89 32 247.38 32 375.85 136.15 480 264.62 480c95.49 0 179.55-55.54 215.38-137.85-28.42 12.38-61.8 17.23-94.77 17.23-128.47 0-232.61-104.14-232.61-232.61z"})}:{viewBox:"0 0 512 512",width:r||l||24,height:r||n||24,...s,children:t("path",{d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z",fill:"none",stroke:i,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:32})});export const Lock=({theme:e,fill:o,filled:r,size:n,height:l,width:h,label:s,...d})=>{const a=o;return t("svg",{"data-name":"Iconly/Curved/Lock",xmlns:"http://www.w3.org/2000/svg",width:n||h||24,height:n||l||24,viewBox:"0 0 24 24",...d,children:i("g",{transform:"translate(3.5 2)",children:[t("path",{d:"M9.121,6.653V4.5A4.561,4.561,0,0,0,0,4.484V6.653",transform:"translate(3.85 0.75)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M.5,0V2.221",transform:"translate(7.91 12.156)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.4,0,7.66,0Z",transform:"translate(0.75 6.824)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5})]})})};export const Unlock=({theme:e,fill:o,filled:r,size:n,height:l,width:h,label:s,...d})=>{const a=o;return t("svg",{"data-name":"Iconly/Curved/Lock",xmlns:"http://www.w3.org/2000/svg",width:n||h||24,height:n||l||24,viewBox:"0 0 24 24",...d,children:i("g",{transform:"translate(3.5 2)",children:[t("path",{d:"M8.927,3.237A4.562,4.562,0,0,0,0,4.484V6.653",transform:"translate(3.849 0.75)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M.5,0V2.221",transform:"translate(7.91 12.156)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5}),t("path",{d:"M7.66,0C1.915,0,0,1.568,0,6.271s1.915,6.272,7.66,6.272,7.661-1.568,7.661-6.272S13.406,0,7.66,0Z",transform:"translate(0.75 6.824)",fill:"none",stroke:a,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:1.5})]})})};export const Password=({theme:e,fill:o,size:r,height:n,width:l,...h})=>t("svg",{width:r||l||24,height:r||n||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:o,children:[t("path",{d:"M18.75 8v2.1a12.984 12.984 0 00-1.5-.1V8c0-3.15-.89-5.25-5.25-5.25S6.75 4.85 6.75 8v2a12.984 12.984 0 00-1.5.1V8c0-2.9.7-6.75 6.75-6.75S18.75 5.1 18.75 8z"}),t("path",{d:"M18.75 10.1a12.984 12.984 0 00-1.5-.1H6.75a12.984 12.984 0 00-1.5.1C2.7 10.41 2 11.66 2 15v2c0 4 1 5 5 5h10c4 0 5-1 5-5v-2c0-3.34-.7-4.59-3.25-4.9zM8.71 16.71A1.052 1.052 0 018 17a1 1 0 01-.38-.08 1.032 1.032 0 01-.33-.21A1.052 1.052 0 017 16a1 1 0 01.08-.38 1.155 1.155 0 01.21-.33 1.032 1.032 0 01.33-.21 1 1 0 011.09.21 1.155 1.155 0 01.21.33A1 1 0 019 16a1.052 1.052 0 01-.29.71zm4.21-.33a1.155 1.155 0 01-.21.33A1.052 1.052 0 0112 17a1.033 1.033 0 01-.71-.29 1.155 1.155 0 01-.21-.33A1 1 0 0111 16a1.033 1.033 0 01.29-.71 1.047 1.047 0 011.42 0A1.033 1.033 0 0113 16a1 1 0 01-.08.38zm3.79.33a1.014 1.014 0 01-1.42 0 1.014 1.014 0 010-1.42 1.047 1.047 0 011.42 0c.04.05.08.1.12.16a.556.556 0 01.09.17.636.636 0 01.06.18 1.5 1.5 0 01.02.2 1.052 1.052 0 01-.29.71z"})]})});export const Notification=({theme:e,fill:i,filled:o,size:r,height:n,width:l,label:h,...s})=>t("svg",{width:r||l||24,height:r||n||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.707 8.796c0 1.256.332 1.997 1.063 2.85.553.628.73 1.435.73 2.31 0 .874-.287 1.704-.863 2.378a4.537 4.537 0 01-2.9 1.413c-1.571.134-3.143.247-4.736.247-1.595 0-3.166-.068-4.737-.247a4.532 4.532 0 01-2.9-1.413 3.616 3.616 0 01-.864-2.378c0-.875.178-1.682.73-2.31.754-.854 1.064-1.594 1.064-2.85V8.37c0-1.682.42-2.781 1.283-3.858C7.861 2.942 9.919 2 11.956 2h.09c2.08 0 4.204.987 5.466 2.625.82 1.054 1.195 2.108 1.195 3.745v.426zM9.074 20.061c0-.504.462-.734.89-.833.5-.106 3.545-.106 4.045 0 .428.099.89.33.89.833-.025.48-.306.904-.695 1.174a3.635 3.635 0 01-1.713.731 3.795 3.795 0 01-1.008 0 3.618 3.618 0 01-1.714-.732c-.39-.269-.67-.694-.695-1.173z",fill:i})});export const User=({theme:e,fill:o,filled:r,size:n,height:l,width:h,label:s,...d})=>t("svg",{"data-name":"Iconly/Curved/Profile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:n||h||24,height:n||l||24,...d,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,children:[t("path",{"data-name":"Stroke 1",d:"M11.845 21.662C8.153 21.662 5 21.088 5 18.787s3.133-4.425 6.845-4.425c3.692 0 6.845 2.1 6.845 4.4s-3.134 2.9-6.845 2.9z"}),t("path",{"data-name":"Stroke 3",d:"M11.837 11.174a4.372 4.372 0 10-.031 0z"})]})});export const VolumeUp=({theme:e,fill:i,filled:o,size:r,height:n,width:l,label:h,...s})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:r||l||24,height:r||n||24,fill:"none",...s,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.357 6.45c-.05-.486-.103-.99-.232-1.494C12.775 3.752 11.801 3 10.758 3c-.582-.002-1.318.356-1.736.72l-3.46 2.897h-1.81c-1.333 0-2.404 1.027-2.607 2.51-.172 1.424-.214 4.11 0 5.677.186 1.567 1.21 2.579 2.607 2.579h1.81l3.527 2.94c.362.315 1 .676 1.588.676l.105.001c1.063 0 2-.78 2.35-1.98.133-.509.18-.985.224-1.445l.001-.008.047-.459c.18-1.487.18-8.739 0-10.215l-.047-.442zm4.05.045a.907.907 0 00-1.279-.237.957.957 0 00-.228 1.308c.802 1.182 1.243 2.756 1.243 4.434 0 1.677-.441 3.252-1.243 4.434a.956.956 0 00.23 1.308.905.905 0 001.277-.237c1.012-1.492 1.571-3.447 1.571-5.505s-.559-4.013-1.571-5.505zM19.29 3.22a.905.905 0 011.277.236C22.136 5.767 23 8.802 23 12c0 3.2-.864 6.234-2.433 8.544a.902.902 0 01-1.276.236.957.957 0 01-.23-1.308c1.356-1.999 2.104-4.653 2.104-7.472 0-2.818-.748-5.472-2.105-7.471a.958.958 0 01.23-1.308z",fill:i})});export const Camera=({theme:e,fill:i,filled:o,size:r,height:n,width:l,label:h,...s})=>t("svg",{width:r||l||24,height:r||n||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.44 6.236c.04.07.11.12.2.12 2.4 0 4.36 1.958 4.36 4.355v5.934A4.368 4.368 0 0117.64 21H6.36A4.361 4.361 0 012 16.645V10.71a4.361 4.361 0 014.36-4.355c.08 0 .16-.04.19-.12l.06-.12.106-.222a97.79 97.79 0 01.714-1.486C7.89 3.51 8.67 3.01 9.64 3h4.71c.97.01 1.76.51 2.22 1.408.157.315.397.822.629 1.31l.141.299.1.22zm-.73 3.836c0 .5.4.9.9.9s.91-.4.91-.9-.41-.909-.91-.909-.9.41-.9.91zm-6.44 1.548c.47-.47 1.08-.719 1.73-.719.65 0 1.26.25 1.72.71.46.459.71 1.068.71 1.717A2.438 2.438 0 0112 15.756c-.65 0-1.26-.25-1.72-.71a2.408 2.408 0 01-.71-1.717v-.01c-.01-.63.24-1.24.7-1.699zm4.5 4.485a3.91 3.91 0 01-2.77 1.15 3.921 3.921 0 01-3.93-3.926 3.865 3.865 0 011.14-2.767A3.921 3.921 0 0112 9.402c1.05 0 2.04.41 2.78 1.15.74.749 1.15 1.738 1.15 2.777a3.958 3.958 0 01-1.16 2.776z",fill:i})});export const Activity=({theme:e,fill:o,filled:r,size:n,height:l,width:h,label:s,...d})=>t("svg",{"data-name":"Iconly/Curved/Activity",xmlns:"http://www.w3.org/2000/svg",width:n||h||24,height:n||l||24,viewBox:"0 0 24 24",...d,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeWidth:1.5,children:[t("path",{d:"M6.918 14.854l2.993-3.889 3.414 2.68 2.929-3.78"}),t("path",{d:"M19.668 2.35a1.922 1.922 0 11-1.922 1.922 1.921 1.921 0 011.922-1.922z"}),t("path",{d:"M20.756 9.269a20.809 20.809 0 01.194 3.034c0 6.938-2.312 9.25-9.25 9.25s-9.25-2.312-9.25-9.25 2.313-9.25 9.25-9.25a20.931 20.931 0 012.983.187"})]})});export const Plus=({theme:e,fill:o,size:r,height:n,width:l,...h})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:r||l||24,height:r||n||24,viewBox:"0 0 24 24",...h,children:i("g",{fill:"none",stroke:o,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,children:[t("path",{d:"M6 12h12"}),t("path",{d:"M12 18V6"})]})});export const Minus=({theme:e,fill:i,size:o,height:r,width:n,...l})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:o||n||24,height:o||r||24,viewBox:"0 0 24 24",...l,children:t("path",{d:"M6 12h12",fill:"none",stroke:i,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})});export const Eye=({fill:e,size:o,height:r,width:n,...l})=>i("svg",{width:o||n||24,height:o||r||24,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:[t("path",{d:"M12.9833 10C12.9833 11.65 11.65 12.9833 10 12.9833C8.35 12.9833 7.01666 11.65 7.01666 10C7.01666 8.35 8.35 7.01666 10 7.01666C11.65 7.01666 12.9833 8.35 12.9833 10Z",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M9.99999 16.8916C12.9417 16.8916 15.6833 15.1583 17.5917 12.1583C18.3417 10.9833 18.3417 9.00831 17.5917 7.83331C15.6833 4.83331 12.9417 3.09998 9.99999 3.09998C7.05833 3.09998 4.31666 4.83331 2.40833 7.83331C1.65833 9.00831 1.65833 10.9833 2.40833 12.1583C4.31666 15.1583 7.05833 16.8916 9.99999 16.8916Z",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]});export const Edit=({fill:e,size:o,height:r,width:n,...l})=>i("svg",{width:o||n||24,height:o||r||24,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:[t("path",{d:"M11.05 3.00002L4.20835 10.2417C3.95002 10.5167 3.70002 11.0584 3.65002 11.4334L3.34169 14.1334C3.23335 15.1084 3.93335 15.775 4.90002 15.6084L7.58335 15.15C7.95835 15.0834 8.48335 14.8084 8.74168 14.525L15.5834 7.28335C16.7667 6.03335 17.3 4.60835 15.4583 2.86668C13.625 1.14168 12.2334 1.75002 11.05 3.00002Z",stroke:e,strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M9.90833 4.20831C10.2667 6.50831 12.1333 8.26665 14.45 8.49998",stroke:e,strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M2.5 18.3333H17.5",stroke:e,strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})]});export const Delete=({fill:e,size:o,height:r,width:n,...l})=>i("svg",{width:o||n||24,height:o||r||24,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:[t("path",{d:"M17.5 4.98332C14.725 4.70832 11.9333 4.56665 9.15 4.56665C7.5 4.56665 5.85 4.64998 4.2 4.81665L2.5 4.98332",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M7.08331 4.14169L7.26665 3.05002C7.39998 2.25835 7.49998 1.66669 8.90831 1.66669H11.0916C12.5 1.66669 12.6083 2.29169 12.7333 3.05835L12.9166 4.14169",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M15.7084 7.61664L15.1667 16.0083C15.075 17.3166 15 18.3333 12.675 18.3333H7.32502C5.00002 18.3333 4.92502 17.3166 4.83335 16.0083L4.29169 7.61664",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M8.60834 13.75H11.3833",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M7.91669 10.4167H12.0834",stroke:e,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]});
@@ -1 +1 @@
1
- export const isObject=t=>t&&"object"==typeof t;export const renameProp=(t,e,{[t]:o,...r})=>({[e]:o,...r});export const copyObject=t=>isObject(t)?t instanceof Array?[...t]:{...t}:t;export const omitObject=(t,e)=>{if(!isObject(t))return t;if(t instanceof Array)return[...t];const o={...t};return e.forEach((t=>o[t]&&delete o[t])),o};
1
+ export const isObject=e=>e&&"object"==typeof e;export const renameProp=(e,t,{[e]:r,...c})=>({[t]:r,...c});export const copyObject=e=>isObject(e)?e instanceof Array?[...e]:{...e}:e;export const omitObject=(e,t)=>{if(!isObject(e))return e;if(e instanceof Array)return[...e];const r={...e};return t.forEach((e=>r[e]&&delete r[e])),r};export const cleanObject=e=>{if(!isObject(e))return e;if(e instanceof Array)return[...e];const t={...e};return Object.keys(t).forEach((e=>{void 0!==t[e]&&null!==t[e]||delete t[e]})),t};export const cleanObjectKeys=(e,t=[])=>{if(!isObject(e))return e;if(e instanceof Array)return[...e];const r={...e};return t.forEach((e=>{r[e]&&delete r[e]})),r};export const getKeyValue=(e,t)=>isObject(e)?e instanceof Array?[...e]:e[t]:e;
@@ -1 +1 @@
1
- export const tuple=(...e)=>e;tuple("xs","sm","md","lg","xl");export const normalColors=tuple("default","primary","secondary","success","warning","error","gradient");export const simpleColors=tuple("default","primary","secondary","success","warning","error");export const extendedColors=tuple("default","primary","secondary","success","warning","error","invert","gradient");export const extendedColorsNoGradient=tuple("default","primary","secondary","success","warning","error","invert");export const extraColors=tuple("default","primary","secondary","success","warning","error","dark","lite","alert","purple","violet","gradient","cyan");export const normalLoaders=tuple("default","points","points-opacity","gradient","spinner");export const normalWeights=tuple("light","normal","bold","extrabold","black");export const textWeights=tuple("normal","bold","lighter","bolder","inherit","initial","revert","unset");export const textTransforms=tuple("none","capitalize","uppercase","lowercase","full-width","full-size-kana","inherit","initial","revert","unset");tuple("default","slient","prevent"),tuple("hover","click"),tuple("top","topStart","topEnd","left","leftStart","leftEnd","bottom","bottomStart","bottomEnd","right","rightStart","rightEnd"),tuple("static","relative","absolute","fixed","sticky","inherit","initial","revert","unset"),tuple("contain","cover","fill","none","scale-down","inherit","initial","revert","unset"),tuple("start","center","end","left","right"),tuple("flex-start","center","flex-end","space-between","space-around","space-evenly"),tuple("flex-start","flex-end","center","stretch","baseline"),tuple("stretch","center","flex-start","flex-end","space-between","space-around"),tuple("row","row-reverse","column","column-reverse"),tuple("nowrap","wrap","wrap-reverse"),tuple("flex","block","grid","inline","inline-block","inline-flex","inline-grid"),tuple("left","right");export const excludedInputPropsForTextarea=tuple("clearable","as","rounded","labelLeft","labelRight","contentLeft","contentRight","contentClickable","contentLeftStyling","contentRightStyling","onContentClick","onClearClick","css");
1
+ export const tuple=(...e)=>e;tuple("xs","sm","md","lg","xl");export const normalColors=tuple("default","primary","secondary","success","warning","error","gradient");export const simpleColors=tuple("default","primary","secondary","success","warning","error");export const extendedColors=tuple("default","primary","secondary","success","warning","error","invert","gradient");export const extendedColorsNoGradient=tuple("default","primary","secondary","success","warning","error","invert");export const extraColors=tuple("default","primary","secondary","success","warning","error","dark","lite","alert","purple","violet","gradient","cyan");export const normalLoaders=tuple("default","points","points-opacity","gradient","spinner");export const normalWeights=tuple("light","normal","bold","extrabold","black");export const textWeights=tuple("normal","bold","lighter","bolder","inherit","initial","revert","unset");export const textTransforms=tuple("none","capitalize","uppercase","lowercase","full-width","full-size-kana","inherit","initial","revert","unset");tuple("default","slient","prevent"),tuple("hover","click"),tuple("top","topStart","topEnd","left","leftStart","leftEnd","bottom","bottomStart","bottomEnd","right","rightStart","rightEnd"),tuple("static","relative","absolute","fixed","sticky","inherit","initial","revert","unset"),tuple("contain","cover","fill","none","scale-down","inherit","initial","revert","unset"),tuple("start","center","end","left","right"),tuple("flex-start","center","flex-end","space-between","space-around","space-evenly"),tuple("flex-start","flex-end","center","stretch","baseline"),tuple("stretch","center","flex-start","flex-end","space-between","space-around"),tuple("row","row-reverse","column","column-reverse"),tuple("nowrap","wrap","wrap-reverse"),tuple("flex","block","grid","inline","inline-block","inline-flex","inline-grid"),tuple("left","right"),tuple("start","center","end");export const excludedInputPropsForTextarea=tuple("clearable","as","rounded","labelLeft","labelRight","contentLeft","contentRight","contentClickable","contentLeftStyling","contentRightStyling","onContentClick","onClearClick","css");export const excludedTableProps=tuple("items","disabledKeys","allowDuplicateSelectionEvents","disallowEmptySelection","defaultSelectedKeys","sortDescriptor","onSortChange");tuple("toggle","replace"),tuple("none","single","multiple");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/react",
3
- "version": "1.0.2-beta.4",
3
+ "version": "1.0.2-beta.5-dbg3",
4
4
  "license": "MIT",
5
5
  "description": "🚀 Beautiful and modern React UI library.",
6
6
  "homepage": "https://nextui.org",
@@ -33,10 +33,20 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "7.9.6",
35
35
  "@stitches/react": "1.2.6",
36
- "@react-aria/focus": "3.5.0",
37
- "@react-aria/label": "3.2.1",
38
- "@react-aria/ssr": "3.1.0",
39
- "@react-aria/utils": "3.11.0"
36
+ "@react-aria/checkbox": "3.3.0",
37
+ "@react-aria/focus": "3.5.1",
38
+ "@react-aria/i18n": "3.3.6",
39
+ "@react-aria/interactions": "3.8.0",
40
+ "@react-aria/label": "3.2.2",
41
+ "@react-aria/ssr": "3.1.1",
42
+ "@react-aria/table": "3.2.1",
43
+ "@react-aria/utils": "3.11.1",
44
+ "@react-aria/visually-hidden": "3.2.4",
45
+ "@react-stately/data": "3.4.5",
46
+ "@react-stately/table": "3.1.1",
47
+ "@react-stately/toggle": "3.2.4",
48
+ "@react-types/grid": "3.0.1",
49
+ "@react-types/shared": "3.11.0"
40
50
  },
41
51
  "peerDependencies": {
42
52
  "react": ">=16.8.0",
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "main": "../cjs/table/index.js",
4
+ "module": "../esm/table/index.js",
5
+ "types": "../esm/table/index.d.ts"
6
+ }
@@ -33,5 +33,5 @@ declare const _default: React.ComponentType<Partial<{
33
33
  preventDefault: boolean;
34
34
  opacity: number;
35
35
  className: string;
36
- }> & Omit<React.PropsWithChildren<BackdropProps>, "blur" | "opacity" | "visible" | "className" | "preventDefault" | "onClick" | "animated">>;
36
+ }> & Omit<React.PropsWithChildren<BackdropProps>, "blur" | "opacity" | "visible" | "animated" | "className" | "preventDefault" | "onClick">>;
37
37
  export default _default;
@@ -931,7 +931,7 @@ export declare const StyledBackdropContent: import("@stitches/react/types/styled
931
931
  };
932
932
  }>>;
933
933
  export declare const StyledBackdropLayer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
934
- blur?: boolean | "true" | "false" | undefined;
934
+ blur?: boolean | "false" | "true" | undefined;
935
935
  animated?: boolean | "false" | undefined;
936
936
  }, {
937
937
  xs: string;
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from '../theme/stitches.config';
2
2
  export declare const StyledButtonGroup: import("@stitches/react/types/styled-component").StyledComponent<"div", {
3
- vertical?: boolean | "true" | "false" | undefined;
3
+ vertical?: boolean | "false" | "true" | undefined;
4
4
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
5
5
  rounded?: boolean | "true" | undefined;
6
6
  bordered?: boolean | "true" | undefined;
@@ -1199,7 +1199,8 @@ export declare const StyledButton: import("@stitches/react/types/styled-componen
1199
1199
  size: "md";
1200
1200
  };
1201
1201
  }, import("@stitches/react/types/styled-component").CssComponent<never, {
1202
- isFocusVisible?: boolean | "true" | undefined;
1202
+ animated?: boolean | "false" | undefined;
1203
+ isFocusVisible?: boolean | "false" | "true" | undefined;
1203
1204
  }, {
1204
1205
  xs: string;
1205
1206
  sm: string;
@@ -933,12 +933,12 @@ export declare const StyledCardBody: import("@stitches/react/types/styled-compon
933
933
  export declare const StyledCard: import("@stitches/react/types/styled-component").StyledComponent<"div", {
934
934
  color?: "default" | "primary" | "secondary" | "success" | "warning" | "error" | "gradient" | undefined;
935
935
  shadow?: boolean | "true" | undefined;
936
- bordered?: boolean | "true" | "false" | undefined;
936
+ bordered?: boolean | "false" | "true" | undefined;
937
937
  borderWeight?: "light" | "normal" | "bold" | "extrabold" | "black" | undefined;
938
- animated?: boolean | "true" | "false" | undefined;
938
+ animated?: boolean | "false" | "true" | undefined;
939
939
  clickable?: boolean | "true" | undefined;
940
940
  hoverable?: boolean | "true" | undefined;
941
- cover?: boolean | "true" | "false" | undefined;
941
+ cover?: boolean | "false" | "true" | undefined;
942
942
  isDark?: boolean | "true" | undefined;
943
943
  }, {
944
944
  xs: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { PropsWithoutRef, RefAttributes } from 'react';
2
2
  import CheckboxGroup from './checkbox-group';
3
3
  import { NormalSizes, NormalColors, SimpleColors } from '../utils/prop-types';
4
4
  import { CSS } from '../theme/stitches.config';
@@ -48,11 +48,11 @@ declare type NativeAttrs = Omit<React.InputHTMLAttributes<unknown>, keyof Props>
48
48
  export declare type CheckboxProps = Props & typeof defaultProps & CheckboxVariantsProps & NativeAttrs & {
49
49
  css?: CSS;
50
50
  };
51
- declare type CheckboxComponent<P = {}> = React.FC<P> & {
51
+ declare type CheckboxComponent<T, P = {}> = React.ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>> & {
52
52
  Group: typeof CheckboxGroup;
53
53
  };
54
54
  declare type ComponentProps = Partial<typeof defaultProps> & Omit<Props, keyof typeof defaultProps> & NativeAttrs & CheckboxVariantsProps & {
55
55
  css?: CSS;
56
56
  };
57
- declare const _default: CheckboxComponent<ComponentProps>;
57
+ declare const _default: CheckboxComponent<HTMLInputElement, ComponentProps>;
58
58
  export default _default;