@yamada-ui/popover 0.3.1 → 0.3.3
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.
|
@@ -69,7 +69,7 @@ var PopoverContent = forwardRef(
|
|
|
69
69
|
__css,
|
|
70
70
|
...rest
|
|
71
71
|
}, ref) => {
|
|
72
|
-
var _a, _b, _c, _d;
|
|
72
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
73
73
|
const {
|
|
74
74
|
isOpen,
|
|
75
75
|
closeOnButton,
|
|
@@ -93,9 +93,9 @@ var PopoverContent = forwardRef(
|
|
|
93
93
|
outline: 0,
|
|
94
94
|
...omitObject(__css != null ? __css : styles.container, ["zIndex"])
|
|
95
95
|
};
|
|
96
|
-
w = (
|
|
97
|
-
minW = (
|
|
98
|
-
zIndex = zIndex != null ? zIndex : styles.container.zIndex;
|
|
96
|
+
w = (_d = w != null ? w : width) != null ? _d : (_c = (_a = styles.container) == null ? void 0 : _a.w) != null ? _c : (_b = styles.container) == null ? void 0 : _b.width;
|
|
97
|
+
minW = (_h = minW != null ? minW : minWidth) != null ? _h : (_g = (_e = styles.container) == null ? void 0 : _e.minW) != null ? _g : (_f = styles.container) == null ? void 0 : _f.minWidth;
|
|
98
|
+
zIndex = zIndex != null ? zIndex : (_i = styles.container) == null ? void 0 : _i.zIndex;
|
|
99
99
|
return /* @__PURE__ */ jsx(
|
|
100
100
|
ui.div,
|
|
101
101
|
{
|
package/dist/index.js
CHANGED
|
@@ -359,7 +359,7 @@ var PopoverContent = (0, import_core3.forwardRef)(
|
|
|
359
359
|
__css,
|
|
360
360
|
...rest
|
|
361
361
|
}, ref) => {
|
|
362
|
-
var _a, _b, _c, _d;
|
|
362
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
363
363
|
const {
|
|
364
364
|
isOpen,
|
|
365
365
|
closeOnButton,
|
|
@@ -383,9 +383,9 @@ var PopoverContent = (0, import_core3.forwardRef)(
|
|
|
383
383
|
outline: 0,
|
|
384
384
|
...(0, import_utils3.omitObject)(__css != null ? __css : styles.container, ["zIndex"])
|
|
385
385
|
};
|
|
386
|
-
w = (
|
|
387
|
-
minW = (
|
|
388
|
-
zIndex = zIndex != null ? zIndex : styles.container.zIndex;
|
|
386
|
+
w = (_d = w != null ? w : width) != null ? _d : (_c = (_a = styles.container) == null ? void 0 : _a.w) != null ? _c : (_b = styles.container) == null ? void 0 : _b.width;
|
|
387
|
+
minW = (_h = minW != null ? minW : minWidth) != null ? _h : (_g = (_e = styles.container) == null ? void 0 : _e.minW) != null ? _g : (_f = styles.container) == null ? void 0 : _f.minWidth;
|
|
388
|
+
zIndex = zIndex != null ? zIndex : (_i = styles.container) == null ? void 0 : _i.zIndex;
|
|
389
389
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
390
390
|
import_core3.ui.div,
|
|
391
391
|
{
|
package/dist/index.mjs
CHANGED
package/dist/popover-content.js
CHANGED
|
@@ -122,7 +122,7 @@ var PopoverContent = (0, import_core3.forwardRef)(
|
|
|
122
122
|
__css,
|
|
123
123
|
...rest
|
|
124
124
|
}, ref) => {
|
|
125
|
-
var _a, _b, _c, _d;
|
|
125
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
126
126
|
const {
|
|
127
127
|
isOpen,
|
|
128
128
|
closeOnButton,
|
|
@@ -146,9 +146,9 @@ var PopoverContent = (0, import_core3.forwardRef)(
|
|
|
146
146
|
outline: 0,
|
|
147
147
|
...(0, import_utils3.omitObject)(__css != null ? __css : styles.container, ["zIndex"])
|
|
148
148
|
};
|
|
149
|
-
w = (
|
|
150
|
-
minW = (
|
|
151
|
-
zIndex = zIndex != null ? zIndex : styles.container.zIndex;
|
|
149
|
+
w = (_d = w != null ? w : width) != null ? _d : (_c = (_a = styles.container) == null ? void 0 : _a.w) != null ? _c : (_b = styles.container) == null ? void 0 : _b.width;
|
|
150
|
+
minW = (_h = minW != null ? minW : minWidth) != null ? _h : (_g = (_e = styles.container) == null ? void 0 : _e.minW) != null ? _g : (_f = styles.container) == null ? void 0 : _f.minWidth;
|
|
151
|
+
zIndex = zIndex != null ? zIndex : (_i = styles.container) == null ? void 0 : _i.zIndex;
|
|
152
152
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
153
153
|
import_core3.ui.div,
|
|
154
154
|
{
|
package/dist/popover-content.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/popover",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Yamada UI popover component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.9.
|
|
38
|
+
"@yamada-ui/core": "0.9.3",
|
|
39
39
|
"@yamada-ui/utils": "0.2.1",
|
|
40
|
-
"@yamada-ui/close-button": "0.3.
|
|
41
|
-
"@yamada-ui/transitions": "0.3.
|
|
42
|
-
"@yamada-ui/motion": "0.4.
|
|
43
|
-
"@yamada-ui/use-popper": "0.4.
|
|
40
|
+
"@yamada-ui/close-button": "0.3.3",
|
|
41
|
+
"@yamada-ui/transitions": "0.3.3",
|
|
42
|
+
"@yamada-ui/motion": "0.4.3",
|
|
43
|
+
"@yamada-ui/use-popper": "0.4.3",
|
|
44
44
|
"@yamada-ui/use-disclosure": "0.3.1",
|
|
45
45
|
"@yamada-ui/use-focus": "0.2.1",
|
|
46
|
-
"@yamada-ui/use-animation": "0.3.
|
|
46
|
+
"@yamada-ui/use-animation": "0.3.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"react": "^18.0.0",
|