@mekari/pixel3-popover 0.0.3 → 0.0.5
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/{chunk-SMKHJPNG.mjs → chunk-52BTWLDY.mjs} +2 -2
- package/dist/{chunk-KRK533DP.mjs → chunk-5LOKC2YN.mjs} +1 -1
- package/dist/{chunk-3VISLXE6.mjs → chunk-ACYTEMPK.mjs} +5 -8
- package/dist/{chunk-4554ASD3.mjs → chunk-LTPID7ZX.mjs} +12602 -10405
- package/dist/{chunk-EOUKE4WB.mjs → chunk-MPDM4USP.mjs} +25 -13
- package/dist/{chunk-E2N74NQW.mjs → chunk-VN53X7QU.mjs} +1 -1
- package/dist/{chunk-OBEDLACV.mjs → chunk-WBFSONWB.mjs} +2 -2
- package/dist/{chunk-6AOSFLZR.mjs → chunk-YFYQ7S3B.mjs} +2 -2
- package/dist/content.js +9 -12
- package/dist/content.mjs +3 -3
- package/dist/index.css +540 -0
- package/dist/index.js +13416 -11210
- package/dist/index.mjs +8 -8
- package/dist/list-item.css +540 -0
- package/dist/list-item.js +13543 -11337
- package/dist/list-item.mjs +8 -8
- package/dist/list.mjs +2 -2
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/popover.hooks.d.mts +1 -0
- package/dist/modules/popover.hooks.d.ts +1 -0
- package/dist/modules/popover.hooks.js +25 -13
- package/dist/modules/popover.hooks.mjs +1 -1
- package/dist/modules/popover.props.d.mts +10 -16
- package/dist/modules/popover.props.d.ts +10 -16
- package/dist/modules/popover.props.js +5 -8
- package/dist/modules/popover.props.mjs +1 -1
- package/dist/popover.d.mts +13 -19
- package/dist/popover.d.ts +13 -19
- package/dist/popover.js +12 -15
- package/dist/popover.mjs +3 -3
- package/dist/singleton-popover.d.mts +13 -19
- package/dist/singleton-popover.d.ts +13 -19
- package/dist/singleton-popover.js +6 -9
- package/dist/singleton-popover.mjs +3 -3
- package/dist/trigger.mjs +2 -2
- package/package.json +5 -5
|
@@ -20,7 +20,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
|
|
|
20
20
|
triggerId: {
|
|
21
21
|
type: vue.PropType<string>;
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
isDefaultOpen: {
|
|
24
24
|
type: vue.PropType<boolean>;
|
|
25
25
|
};
|
|
26
26
|
isManual: {
|
|
@@ -29,21 +29,18 @@ declare const MpSingletonPopover: vue.DefineComponent<{
|
|
|
29
29
|
isOpen: {
|
|
30
30
|
type: vue.PropType<boolean>;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
isFocusOnClose: {
|
|
33
33
|
type: vue.PropType<boolean>;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
type: vue.PropType<boolean>;
|
|
37
|
-
};
|
|
38
|
-
closeOnBlur: {
|
|
35
|
+
isCloseOnBlur: {
|
|
39
36
|
type: vue.PropType<boolean>;
|
|
40
37
|
default: boolean;
|
|
41
38
|
};
|
|
42
|
-
|
|
39
|
+
isCloseOnEscape: {
|
|
43
40
|
type: vue.PropType<boolean>;
|
|
44
41
|
default: boolean;
|
|
45
42
|
};
|
|
46
|
-
|
|
43
|
+
isCloseOnSelect: {
|
|
47
44
|
type: vue.PropType<boolean>;
|
|
48
45
|
default: boolean;
|
|
49
46
|
};
|
|
@@ -77,7 +74,7 @@ declare const MpSingletonPopover: vue.DefineComponent<{
|
|
|
77
74
|
triggerId: {
|
|
78
75
|
type: vue.PropType<string>;
|
|
79
76
|
};
|
|
80
|
-
|
|
77
|
+
isDefaultOpen: {
|
|
81
78
|
type: vue.PropType<boolean>;
|
|
82
79
|
};
|
|
83
80
|
isManual: {
|
|
@@ -86,21 +83,18 @@ declare const MpSingletonPopover: vue.DefineComponent<{
|
|
|
86
83
|
isOpen: {
|
|
87
84
|
type: vue.PropType<boolean>;
|
|
88
85
|
};
|
|
89
|
-
|
|
90
|
-
type: vue.PropType<boolean>;
|
|
91
|
-
};
|
|
92
|
-
initialFocusRef: {
|
|
86
|
+
isFocusOnClose: {
|
|
93
87
|
type: vue.PropType<boolean>;
|
|
94
88
|
};
|
|
95
|
-
|
|
89
|
+
isCloseOnBlur: {
|
|
96
90
|
type: vue.PropType<boolean>;
|
|
97
91
|
default: boolean;
|
|
98
92
|
};
|
|
99
|
-
|
|
93
|
+
isCloseOnEscape: {
|
|
100
94
|
type: vue.PropType<boolean>;
|
|
101
95
|
default: boolean;
|
|
102
96
|
};
|
|
103
|
-
|
|
97
|
+
isCloseOnSelect: {
|
|
104
98
|
type: vue.PropType<boolean>;
|
|
105
99
|
default: boolean;
|
|
106
100
|
};
|
|
@@ -125,9 +119,9 @@ declare const MpSingletonPopover: vue.DefineComponent<{
|
|
|
125
119
|
}, {
|
|
126
120
|
placement: _floating_ui_dom.Placement;
|
|
127
121
|
trigger: "click" | "hover";
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
122
|
+
isCloseOnBlur: boolean;
|
|
123
|
+
isCloseOnEscape: boolean;
|
|
124
|
+
isCloseOnSelect: boolean;
|
|
131
125
|
usePortal: boolean;
|
|
132
126
|
isKeepAlive: boolean;
|
|
133
127
|
isAdaptiveWidth: boolean;
|
|
@@ -43,7 +43,7 @@ function useSingletonPopover(props, emit) {
|
|
|
43
43
|
const {
|
|
44
44
|
triggerNode
|
|
45
45
|
} = (0, import_vue.toRefs)(props);
|
|
46
|
-
const isOpen = (0, import_vue.ref)(props.
|
|
46
|
+
const isOpen = (0, import_vue.ref)(props.isDefaultOpen);
|
|
47
47
|
const contentNode = (0, import_vue.ref)(null);
|
|
48
48
|
const placement = (0, import_vue.ref)(props.placement);
|
|
49
49
|
const middleware = (0, import_vue.ref)([(0, import_vue2.offset)(4), (0, import_vue2.flip)(), (0, import_vue2.shift)()]);
|
|
@@ -105,7 +105,7 @@ var popoverProps = {
|
|
|
105
105
|
triggerId: {
|
|
106
106
|
type: String
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
isDefaultOpen: {
|
|
109
109
|
type: Boolean
|
|
110
110
|
},
|
|
111
111
|
isManual: {
|
|
@@ -114,21 +114,18 @@ var popoverProps = {
|
|
|
114
114
|
isOpen: {
|
|
115
115
|
type: Boolean
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
isFocusOnClose: {
|
|
118
118
|
type: Boolean
|
|
119
119
|
},
|
|
120
|
-
|
|
121
|
-
type: Boolean
|
|
122
|
-
},
|
|
123
|
-
closeOnBlur: {
|
|
120
|
+
isCloseOnBlur: {
|
|
124
121
|
type: Boolean,
|
|
125
122
|
default: true
|
|
126
123
|
},
|
|
127
|
-
|
|
124
|
+
isCloseOnEscape: {
|
|
128
125
|
type: Boolean,
|
|
129
126
|
default: true
|
|
130
127
|
},
|
|
131
|
-
|
|
128
|
+
isCloseOnSelect: {
|
|
132
129
|
type: Boolean,
|
|
133
130
|
default: false
|
|
134
131
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpSingletonPopover
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YFYQ7S3B.mjs";
|
|
4
|
+
import "./chunk-ACYTEMPK.mjs";
|
|
5
|
+
import "./chunk-MPDM4USP.mjs";
|
|
6
6
|
import "./chunk-2ZUCITXI.mjs";
|
|
7
7
|
import "./chunk-QZ7VFGWC.mjs";
|
|
8
8
|
export {
|
package/dist/trigger.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-popover",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@floating-ui/vue": "^1.0.2",
|
|
11
|
-
"@mekari/pixel3-styled-system": "0.0.
|
|
12
|
-
"@mekari/pixel3-utils": "0.0.
|
|
11
|
+
"@mekari/pixel3-styled-system": "0.0.3",
|
|
12
|
+
"@mekari/pixel3-utils": "0.0.4"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"vue": "^3.
|
|
15
|
+
"vue": "^3.4.9"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"vue": "^3.
|
|
18
|
+
"vue": "^3.4.9"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|