@nextui-org/react 1.0.0-beta.8 → 1.0.0-beta.9-dbg1
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/cjs/card/card.js +1 -1
- package/esm/card/card.js +1 -1
- package/package.json +28 -28
- package/umd/nextui.js +151 -151
- package/umd/nextui.min.js +1 -1
package/cjs/card/card.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.default=void 0;var r=e(require("react")),s=require("@react-aria/utils"),i=e(require("../utils/drip")),a=require("./use-card"),t=require("./card.styles"),d=require("../utils/assertion"),o=require("react/jsx-runtime");const u=r.default.forwardRef((({...e},r)=>{const{as:d,css:u,children:l,...n}=e,{cardRef:
|
|
1
|
+
var e=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.default=void 0;var r=e(require("react")),s=require("@react-aria/utils"),i=e(require("../utils/drip")),a=require("./use-card"),t=require("./card.styles"),d=require("../utils/assertion"),o=require("react/jsx-runtime");const u=r.default.forwardRef((({...e},r)=>{const{as:d,css:u,children:l,...n}=e,{cardRef:p,variant:c,isFocusVisible:b,isPressable:f,isPressed:x,disableAnimation:q,disableRipple:v,borderWeight:P,isHovered:m,pressProps:g,focusProps:h,hoverProps:_,dripBindings:R}=(0,a.useCard)({...n,ref:r});return(0,o.jsxs)(t.StyledCard,{ref:p,as:d,css:u,variant:c,role:f?"button":"section",borderWeight:P,disableAnimation:q,isPressable:f,isPressed:x,isHovered:m,tabIndex:f?0:-1,isFocusVisible:b,...f?(0,s.mergeProps)(g,h,_,n):(0,s.mergeProps)(h,_,n),children:[f&&!q&&!v&&(0,o.jsx)(i.default,{...R}),l]})}));d.__DEV__&&(u.displayName="NextUI.Card"),u.toString=()=>".nextui-card";var l=u;exports.default=l,module.exports=exports.default;
|
package/esm/card/card.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"react";import{mergeProps as s}from"@react-aria/utils";import i from"../utils/drip";import{useCard as e}from"./use-card";import{StyledCard as o}from"./card.styles";import{__DEV__ as t}from"../utils/assertion";import{jsx as a}from"react/jsx-runtime";import{jsxs as d}from"react/jsx-runtime";const m=r.forwardRef((({...r},t)=>{const{as:m,css:n,children:c,...p}=r,{cardRef:l,variant:f,isFocusVisible:u,isPressable:b,isPressed:x,disableAnimation:P,disableRipple:h,borderWeight:v,isHovered:g,pressProps:j,focusProps:R,hoverProps:y,dripBindings:A}=e({...p,ref:t});return d(o,{ref:l,as:m,css:n,variant:f,role:b?"button":"section",borderWeight:v,disableAnimation:P,isPressable:b,isPressed:x,isHovered:g,tabIndex:b?0:-1,isFocusVisible:u,...s(j,R,y,p),children:[b&&!P&&!h&&a(i,{...A}),c]})}));t&&(m.displayName="NextUI.Card"),m.toString=()=>".nextui-card";export default m;
|
|
1
|
+
import r from"react";import{mergeProps as s}from"@react-aria/utils";import i from"../utils/drip";import{useCard as e}from"./use-card";import{StyledCard as o}from"./card.styles";import{__DEV__ as t}from"../utils/assertion";import{jsx as a}from"react/jsx-runtime";import{jsxs as d}from"react/jsx-runtime";const m=r.forwardRef((({...r},t)=>{const{as:m,css:n,children:c,...p}=r,{cardRef:l,variant:f,isFocusVisible:u,isPressable:b,isPressed:x,disableAnimation:P,disableRipple:h,borderWeight:v,isHovered:g,pressProps:j,focusProps:R,hoverProps:y,dripBindings:A}=e({...p,ref:t});return d(o,{ref:l,as:m,css:n,variant:f,role:b?"button":"section",borderWeight:v,disableAnimation:P,isPressable:b,isPressed:x,isHovered:g,tabIndex:b?0:-1,isFocusVisible:u,...b?s(j,R,y,p):s(R,y,p),children:[b&&!P&&!h&&a(i,{...A}),c]})}));t&&(m.displayName="NextUI.Card"),m.toString=()=>".nextui-card";export default m;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/react",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9-dbg1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "🚀 Beautiful and modern React UI library.",
|
|
6
6
|
"homepage": "https://nextui.org",
|
|
@@ -32,33 +32,33 @@
|
|
|
32
32
|
"scripts": {},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "7.9.6",
|
|
35
|
-
"@react-aria/button": "3.
|
|
36
|
-
"@react-aria/checkbox": "3.
|
|
37
|
-
"@react-aria/dialog": "3.
|
|
38
|
-
"@react-aria/focus": "3.
|
|
39
|
-
"@react-aria/i18n": "3.
|
|
40
|
-
"@react-aria/interactions": "3.
|
|
41
|
-
"@react-aria/label": "3.
|
|
42
|
-
"@react-aria/menu": "3.
|
|
43
|
-
"@react-aria/overlays": "3.
|
|
44
|
-
"@react-aria/radio": "3.
|
|
45
|
-
"@react-aria/ssr": "3.
|
|
46
|
-
"@react-aria/table": "3.
|
|
47
|
-
"@react-aria/utils": "3.
|
|
48
|
-
"@react-aria/visually-hidden": "3.
|
|
49
|
-
"@react-stately/checkbox": "3.0
|
|
50
|
-
"@react-stately/data": "3.
|
|
51
|
-
"@react-stately/overlays": "3.
|
|
52
|
-
"@react-stately/radio": "3.
|
|
53
|
-
"@react-stately/table": "3.
|
|
54
|
-
"@react-stately/toggle": "3.
|
|
55
|
-
"@react-stately/tree": "3.
|
|
56
|
-
"@react-types/button": "^3.
|
|
57
|
-
"@react-types/checkbox": "3.
|
|
58
|
-
"@react-types/grid": "3.0
|
|
59
|
-
"@react-types/menu": "3.
|
|
60
|
-
"@react-types/overlays": "3.
|
|
61
|
-
"@react-types/shared": "3.
|
|
35
|
+
"@react-aria/button": "3.5.0",
|
|
36
|
+
"@react-aria/checkbox": "3.4.0",
|
|
37
|
+
"@react-aria/dialog": "3.2.0",
|
|
38
|
+
"@react-aria/focus": "3.6.0",
|
|
39
|
+
"@react-aria/i18n": "3.4.0",
|
|
40
|
+
"@react-aria/interactions": "3.9.0",
|
|
41
|
+
"@react-aria/label": "3.3.0",
|
|
42
|
+
"@react-aria/menu": "3.5.0",
|
|
43
|
+
"@react-aria/overlays": "3.9.0",
|
|
44
|
+
"@react-aria/radio": "3.2.0",
|
|
45
|
+
"@react-aria/ssr": "3.2.0",
|
|
46
|
+
"@react-aria/table": "3.3.0",
|
|
47
|
+
"@react-aria/utils": "3.13.0",
|
|
48
|
+
"@react-aria/visually-hidden": "3.3.0",
|
|
49
|
+
"@react-stately/checkbox": "3.1.0",
|
|
50
|
+
"@react-stately/data": "3.5.0",
|
|
51
|
+
"@react-stately/overlays": "3.3.0",
|
|
52
|
+
"@react-stately/radio": "3.4.0",
|
|
53
|
+
"@react-stately/table": "3.2.0",
|
|
54
|
+
"@react-stately/toggle": "3.3.0",
|
|
55
|
+
"@react-stately/tree": "3.3.0",
|
|
56
|
+
"@react-types/button": "^3.5.0",
|
|
57
|
+
"@react-types/checkbox": "3.3.0",
|
|
58
|
+
"@react-types/grid": "3.1.0",
|
|
59
|
+
"@react-types/menu": "3.6.0",
|
|
60
|
+
"@react-types/overlays": "3.6.0",
|
|
61
|
+
"@react-types/shared": "3.13.0",
|
|
62
62
|
"@stitches/react": "1.2.8"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|