@mekari/pixel3-popover 0.0.5 → 0.0.6-dev.1
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-HXE2PLZA.mjs +33 -0
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +26 -14351
- package/dist/index.mjs +3 -3
- package/dist/list-item.js +5 -14753
- package/dist/list-item.mjs +1 -6
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/popover.d.mts +4 -4
- package/dist/popover.d.ts +4 -4
- package/dist/singleton-popover.d.mts +4 -5
- package/dist/singleton-popover.d.ts +4 -5
- package/package.json +4 -3
- package/dist/chunk-LTPID7ZX.mjs +0 -14373
- package/dist/index.css +0 -540
- package/dist/list-item.css +0 -540
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popoverListItemProps
|
|
3
|
+
} from "./chunk-ACYTEMPK.mjs";
|
|
4
|
+
import {
|
|
5
|
+
usePopoverListItem
|
|
6
|
+
} from "./chunk-MPDM4USP.mjs";
|
|
7
|
+
|
|
8
|
+
// src/list-item.tsx
|
|
9
|
+
import { createVNode as _createVNode } from "vue";
|
|
10
|
+
import { defineComponent } from "vue";
|
|
11
|
+
import { MpIcon } from "@mekari/pixel3-icon";
|
|
12
|
+
var MpPopoverListItem = defineComponent({
|
|
13
|
+
name: "MpPopoverListItem",
|
|
14
|
+
props: popoverListItemProps,
|
|
15
|
+
setup(props, {
|
|
16
|
+
slots
|
|
17
|
+
}) {
|
|
18
|
+
const {
|
|
19
|
+
rootAttrs,
|
|
20
|
+
contentAttrs
|
|
21
|
+
} = usePopoverListItem(props);
|
|
22
|
+
return () => {
|
|
23
|
+
return _createVNode("button", rootAttrs.value, [_createVNode("div", contentAttrs, [slots.default(), props.isArrow ? _createVNode(MpIcon, {
|
|
24
|
+
"name": "chevrons-right",
|
|
25
|
+
"size": "sm"
|
|
26
|
+
}, null) : null])]);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
MpPopoverListItem
|
|
33
|
+
};
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED