@mekari/pixel3-accordion 0.0.16 → 0.0.17-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/accordion.js +1 -1
- package/dist/accordion.mjs +3 -3
- package/dist/chunk-E5PDGTMC.mjs +0 -0
- package/dist/{chunk-OPRYKB4H.mjs → chunk-GFOTGYER.mjs} +10 -6
- package/dist/{chunk-YHACEN5H.mjs → chunk-KUNOH5B2.mjs} +14 -8
- package/dist/{chunk-GSSAU6GB.mjs → chunk-PMTOCJCB.mjs} +4 -3
- package/dist/{chunk-IVT3BYAK.mjs → chunk-PP3LW2LX.mjs} +6 -2
- package/dist/{chunk-KDVXCH36.mjs → chunk-QTBSPFGA.mjs} +6 -4
- package/dist/{chunk-JZLHT46J.mjs → chunk-XNRE5EMB.mjs} +2 -2
- package/dist/{chunk-EGSWNAP7.mjs → chunk-ZK6YJPR2.mjs} +3 -2
- package/dist/header.js +13 -7
- package/dist/header.mjs +2 -2
- package/dist/icon.d.mts +10 -9
- package/dist/icon.d.ts +10 -9
- package/dist/icon.js +4 -3
- package/dist/icon.mjs +2 -2
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +37 -19
- package/dist/index.mjs +8 -7
- package/dist/item.d.mts +9 -0
- package/dist/item.d.ts +9 -0
- package/dist/item.js +10 -3
- package/dist/item.mjs +3 -3
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/accordion.context.d.mts +5 -1
- package/dist/modules/accordion.context.d.ts +5 -1
- package/dist/modules/accordion.props.d.mts +8 -3
- package/dist/modules/accordion.props.d.ts +8 -3
- package/dist/modules/accordion.props.js +6 -2
- package/dist/modules/accordion.props.mjs +1 -1
- package/dist/modules/accordion.types.d.mts +4 -0
- package/dist/modules/accordion.types.d.ts +4 -0
- package/dist/modules/accordion.types.js +18 -0
- package/dist/modules/accordion.types.mjs +1 -0
- package/dist/modules/useAccordion.d.mts +2 -0
- package/dist/modules/useAccordion.d.ts +2 -0
- package/dist/modules/useAccordion.js +2 -1
- package/dist/modules/useAccordion.mjs +1 -1
- package/dist/panel.js +9 -5
- package/dist/panel.mjs +1 -1
- package/package.json +7 -6
package/dist/accordion.js
CHANGED
package/dist/accordion.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpAccordion
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XNRE5EMB.mjs";
|
|
4
|
+
import "./chunk-ZK6YJPR2.mjs";
|
|
5
5
|
import "./chunk-PFYTMT2T.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PP3LW2LX.mjs";
|
|
7
7
|
import "./chunk-QZ7VFGWC.mjs";
|
|
8
8
|
export {
|
|
9
9
|
MpAccordion
|
|
File without changes
|
|
@@ -3,30 +3,34 @@ import {
|
|
|
3
3
|
} from "./chunk-PFYTMT2T.mjs";
|
|
4
4
|
|
|
5
5
|
// src/panel.tsx
|
|
6
|
-
import { createVNode as _createVNode } from "vue";
|
|
6
|
+
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
7
7
|
import { defineComponent } from "vue";
|
|
8
8
|
import { MpCollapse } from "@mekari/pixel3-collapse";
|
|
9
9
|
import { accordionSlotRecipe } from "@mekari/pixel3-styled-system/recipes";
|
|
10
10
|
var MpAccordionPanel = defineComponent({
|
|
11
11
|
name: "MpAccordionPanel",
|
|
12
12
|
setup(_props, {
|
|
13
|
-
slots
|
|
13
|
+
slots,
|
|
14
|
+
attrs
|
|
14
15
|
}) {
|
|
15
|
-
const classes = accordionSlotRecipe();
|
|
16
16
|
const {
|
|
17
17
|
isExpanded,
|
|
18
|
-
id
|
|
18
|
+
id,
|
|
19
|
+
props: itemProps
|
|
19
20
|
} = useAccordionItemContext();
|
|
21
|
+
const classes = accordionSlotRecipe({
|
|
22
|
+
iconPosition: itemProps.iconPosition.value
|
|
23
|
+
});
|
|
20
24
|
return () => {
|
|
21
25
|
return _createVNode(MpCollapse, {
|
|
22
26
|
"isOpen": isExpanded.value
|
|
23
27
|
}, {
|
|
24
|
-
default: () => [_createVNode("div", {
|
|
28
|
+
default: () => [_createVNode("div", _mergeProps({
|
|
25
29
|
"data-pixel-component": "MpAccordionPanel",
|
|
26
30
|
"id": `accordin-panel-${id}`,
|
|
27
31
|
"aria-labelledby": `accordion-header-${id}`,
|
|
28
32
|
"class": classes.panel
|
|
29
|
-
}, [slots.default()])]
|
|
33
|
+
}, attrs), [slots.default()])]
|
|
30
34
|
});
|
|
31
35
|
};
|
|
32
36
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-PFYTMT2T.mjs";
|
|
4
4
|
import {
|
|
5
5
|
accordionHeaderProps
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PP3LW2LX.mjs";
|
|
7
7
|
|
|
8
8
|
// src/header.tsx
|
|
9
9
|
import { createVNode as _createVNode } from "vue";
|
|
@@ -15,24 +15,30 @@ var MpAccordionHeader = defineComponent({
|
|
|
15
15
|
setup(props, {
|
|
16
16
|
slots
|
|
17
17
|
}) {
|
|
18
|
-
const classes = accordionSlotRecipe({
|
|
19
|
-
isClickable: props.isClickable
|
|
20
|
-
});
|
|
21
18
|
const {
|
|
22
19
|
isExpanded,
|
|
23
20
|
onToggle,
|
|
24
|
-
id
|
|
21
|
+
id,
|
|
22
|
+
props: itemProps
|
|
25
23
|
} = useAccordionItemContext();
|
|
26
24
|
return () => {
|
|
27
|
-
|
|
25
|
+
const classes = accordionSlotRecipe({
|
|
26
|
+
isClickable: props.isClickable,
|
|
27
|
+
iconPosition: itemProps.iconPosition.value
|
|
28
|
+
});
|
|
29
|
+
return _createVNode("div", {
|
|
28
30
|
"data-pixel-component": "MpAccordionHeader",
|
|
29
|
-
"
|
|
31
|
+
"role": "button",
|
|
30
32
|
"id": `accordion-header-${id}`,
|
|
31
33
|
"aria-expanded": isExpanded.value,
|
|
32
34
|
"aria-controls": `accordion-panel-${id}`,
|
|
33
35
|
"class": classes.header,
|
|
34
36
|
"onClick": onToggle
|
|
35
|
-
}, [
|
|
37
|
+
}, [_createVNode("div", {
|
|
38
|
+
"class": classes.headerTitle
|
|
39
|
+
}, [slots.default()]), slots.description && _createVNode("div", {
|
|
40
|
+
"class": classes.headerDescription
|
|
41
|
+
}, [slots.description()])]);
|
|
36
42
|
};
|
|
37
43
|
}
|
|
38
44
|
});
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-PFYTMT2T.mjs";
|
|
4
4
|
import {
|
|
5
5
|
accordionIconProps
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PP3LW2LX.mjs";
|
|
7
7
|
|
|
8
8
|
// src/icon.tsx
|
|
9
9
|
import { createVNode as _createVNode } from "vue";
|
|
@@ -14,7 +14,8 @@ var MpAccordionIcon = defineComponent({
|
|
|
14
14
|
props: accordionIconProps,
|
|
15
15
|
setup(props) {
|
|
16
16
|
const {
|
|
17
|
-
isExpanded
|
|
17
|
+
isExpanded,
|
|
18
|
+
props: itemProps
|
|
18
19
|
} = useAccordionItemContext();
|
|
19
20
|
return () => {
|
|
20
21
|
return _createVNode(MpIcon, {
|
|
@@ -23,7 +24,7 @@ var MpAccordionIcon = defineComponent({
|
|
|
23
24
|
"color": props.color,
|
|
24
25
|
"variant": props.variant,
|
|
25
26
|
"style": {
|
|
26
|
-
transform: isExpanded.value ? "rotate(-180deg)" : "rotate(0)",
|
|
27
|
+
transform: isExpanded.value ? itemProps.iconPosition.value === "start" ? "rotate(90deg)" : "rotate(-180deg)" : "rotate(0)",
|
|
27
28
|
transition: "transform 0.2s",
|
|
28
29
|
transformOrigin: "center"
|
|
29
30
|
}
|
|
@@ -5,7 +5,7 @@ var accordionProps = {
|
|
|
5
5
|
},
|
|
6
6
|
isAllowMultiple: {
|
|
7
7
|
type: Boolean,
|
|
8
|
-
default:
|
|
8
|
+
default: true
|
|
9
9
|
},
|
|
10
10
|
isAllowToggle: {
|
|
11
11
|
type: Boolean,
|
|
@@ -34,6 +34,10 @@ var accordionItemProps = {
|
|
|
34
34
|
isDisabled: {
|
|
35
35
|
type: Boolean,
|
|
36
36
|
default: false
|
|
37
|
+
},
|
|
38
|
+
iconPosition: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "end"
|
|
37
41
|
}
|
|
38
42
|
};
|
|
39
43
|
var accordionHeaderProps = {
|
|
@@ -53,7 +57,7 @@ var accordionIconProps = {
|
|
|
53
57
|
},
|
|
54
58
|
color: {
|
|
55
59
|
type: String,
|
|
56
|
-
default: "
|
|
60
|
+
default: ""
|
|
57
61
|
},
|
|
58
62
|
variant: {
|
|
59
63
|
type: String,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAccordionItem
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZK6YJPR2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AccordionItemProvider
|
|
6
6
|
} from "./chunk-PFYTMT2T.mjs";
|
|
7
7
|
import {
|
|
8
8
|
accordionItemProps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PP3LW2LX.mjs";
|
|
10
10
|
|
|
11
11
|
// src/item.tsx
|
|
12
12
|
import { createVNode as _createVNode } from "vue";
|
|
@@ -22,12 +22,14 @@ var MpAccordionItem = defineComponent({
|
|
|
22
22
|
const {
|
|
23
23
|
isExpanded,
|
|
24
24
|
onToggle,
|
|
25
|
-
id
|
|
25
|
+
id,
|
|
26
|
+
props: itemProps
|
|
26
27
|
} = useAccordionItem(props);
|
|
27
28
|
AccordionItemProvider({
|
|
28
29
|
isExpanded,
|
|
29
30
|
onToggle,
|
|
30
|
-
id
|
|
31
|
+
id,
|
|
32
|
+
props: itemProps
|
|
31
33
|
});
|
|
32
34
|
return () => {
|
|
33
35
|
return _createVNode("div", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAccordion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZK6YJPR2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AccordionProvider
|
|
6
6
|
} from "./chunk-PFYTMT2T.mjs";
|
|
7
7
|
import {
|
|
8
8
|
accordionProps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PP3LW2LX.mjs";
|
|
10
10
|
|
|
11
11
|
// src/accordion.tsx
|
|
12
12
|
import { createVNode as _createVNode } from "vue";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-QZ7VFGWC.mjs";
|
|
7
7
|
|
|
8
8
|
// src/modules/useAccordion.ts
|
|
9
|
-
import { ref, computed } from "vue";
|
|
9
|
+
import { ref, computed, toRefs } from "vue";
|
|
10
10
|
import { useId } from "@mekari/pixel3-utils";
|
|
11
11
|
function useAccordion(props, emit) {
|
|
12
12
|
const expandedIndex = ref(props.defaultIndexOpen);
|
|
@@ -54,7 +54,8 @@ function useAccordionItem(props) {
|
|
|
54
54
|
return {
|
|
55
55
|
isExpanded,
|
|
56
56
|
onToggle,
|
|
57
|
-
id
|
|
57
|
+
id,
|
|
58
|
+
props: toRefs(props)
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
__name(useAccordionItem, "useAccordionItem");
|
package/dist/header.js
CHANGED
|
@@ -47,24 +47,30 @@ var MpAccordionHeader = (0, import_vue2.defineComponent)({
|
|
|
47
47
|
setup(props, {
|
|
48
48
|
slots
|
|
49
49
|
}) {
|
|
50
|
-
const classes = (0, import_recipes.accordionSlotRecipe)({
|
|
51
|
-
isClickable: props.isClickable
|
|
52
|
-
});
|
|
53
50
|
const {
|
|
54
51
|
isExpanded,
|
|
55
52
|
onToggle,
|
|
56
|
-
id
|
|
53
|
+
id,
|
|
54
|
+
props: itemProps
|
|
57
55
|
} = useAccordionItemContext();
|
|
58
56
|
return () => {
|
|
59
|
-
|
|
57
|
+
const classes = (0, import_recipes.accordionSlotRecipe)({
|
|
58
|
+
isClickable: props.isClickable,
|
|
59
|
+
iconPosition: itemProps.iconPosition.value
|
|
60
|
+
});
|
|
61
|
+
return (0, import_vue.createVNode)("div", {
|
|
60
62
|
"data-pixel-component": "MpAccordionHeader",
|
|
61
|
-
"
|
|
63
|
+
"role": "button",
|
|
62
64
|
"id": `accordion-header-${id}`,
|
|
63
65
|
"aria-expanded": isExpanded.value,
|
|
64
66
|
"aria-controls": `accordion-panel-${id}`,
|
|
65
67
|
"class": classes.header,
|
|
66
68
|
"onClick": onToggle
|
|
67
|
-
}, [
|
|
69
|
+
}, [(0, import_vue.createVNode)("div", {
|
|
70
|
+
"class": classes.headerTitle
|
|
71
|
+
}, [slots.default()]), slots.description && (0, import_vue.createVNode)("div", {
|
|
72
|
+
"class": classes.headerDescription
|
|
73
|
+
}, [slots.description()])]);
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
76
|
});
|
package/dist/header.mjs
CHANGED
package/dist/icon.d.mts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
2
|
import * as vue from 'vue';
|
|
3
|
+
import { AccordionSize, AccordionVariant } from './modules/accordion.types.mjs';
|
|
3
4
|
|
|
4
5
|
declare const MpAccordionIcon: vue.DefineComponent<{
|
|
5
6
|
name: {
|
|
6
|
-
type: vue.PropType<"
|
|
7
|
+
type: vue.PropType<"done" | "error" | "help" | "info" | "pending" | "priority-high" | "priority-low" | "priority-medium" | "progress" | "warning-circular" | "warning-triangle" | "arrows-down" | "arrows-left" | "arrows-right" | "arrows-up" | "caret-down" | "caret-right" | "caret-up" | "chevrons-down" | "chevrons-forward" | "chevrons-left" | "chevrons-previous" | "chevrons-right" | "chevrons-up" | "backspace" | "call-active" | "call-add" | "call-declined" | "call-disabled" | "call-end" | "call-incoming" | "call-outgoing" | "call-pause" | "caption" | "globe" | "headphone" | "mic" | "mic-mute" | "picture-in-picture" | "share-screen" | "account-mapping" | "add-ons" | "ai-assist" | "api" | "application" | "assets" | "attendee" | "bank" | "batch" | "billing" | "block-user" | "book" | "briefcase" | "bulk-send" | "bulk-upload" | "business-trip" | "broadcast" | "brush" | "calculator" | "cart" | "cash-advance" | "cash-in" | "cash-out" | "categories" | "certificate" | "channel" | "chart-of-account" | "chat" | "chatbot" | "cloud" | "code" | "column-settings" | "comment" | "commuting" | "company" | "competencies" | "connected_apps" | "contact" | "dashboard" | "database" | "design" | "dislike" | "decrease-kpi" | "desktop" | "document-sent" | "draft" | "education" | "email-sent" | "emeterai" | "employee" | "employee-not-found" | "employment" | "envelope" | "esignature" | "evaluation" | "expenses" | "face-recognition" | "file-change" | "filter" | "finance" | "find-me" | "flag" | "fulfillment" | "gift" | "goal" | "hierarchy" | "home" | "hospital" | "inbox" | "increase-kpi" | "initials" | "join-invoice" | "key" | "lifestyle" | "like" | "loan" | "location" | "log" | "meeting-room" | "mekari_pay" | "migrate" | "mobile" | "mobile-postpaid" | "monitor-message" | "muted" | "notification" | "organizations" | "organizations-h" | "organizations-v" | "overtime" | "partner" | "password" | "payroll" | "payslip" | "people" | "performance" | "phone" | "pipeline" | "place-fields" | "plans" | "play-video" | "policy" | "productivity" | "products" | "profile" | "promo" | "protection" | "receipt-lock" | "reimbursement" | "reports" | "restore" | "roles" | "sales" | "scan" | "schedule" | "security" | "sent" | "share" | "shop" | "sidebar-pin" | "stamp" | "stock-available" | "stock-bulk-update-sku" | "stock-out-of-stock" | "stock-running-out" | "succesion-plan" | "talent-management" | "theme" | "team" | "timer" | "tips" | "today" | "transfer" | "truck" | "unlock" | "upgrade" | "user-response" | "virtual-account" | "voucher" | "wallet" | "warehouse" | "whatsapp-flat" | "wifi" | "workflow" | "blank" | "copy" | "doc" | "excel-document" | "file-audio" | "file-code" | "file-image" | "file-music" | "file-video" | "folder-close" | "folder-open" | "folder-transfer-close" | "folder-transfer-open" | "id-card" | "image-document" | "img-break" | "img" | "pdf-document" | "pdf" | "word-document" | "zip" | "add-circular" | "add" | "approval-rules" | "attachment" | "calendar" | "camera" | "chart-bar" | "chart-bar-line" | "chart-line" | "checkbox-checklist" | "checkbox-partial" | "delete" | "download" | "edit" | "emoji" | "empty" | "fingerprint" | "forward" | "full-screen" | "help-centre" | "hide" | "magic" | "minimize" | "minus-circular" | "minus" | "newtab" | "number-five" | "paint-bucket" | "pause" | "pin" | "redo" | "refresh" | "reply" | "rotate-left" | "rotate-right" | "search" | "settings" | "show" | "sign-in" | "sign-out" | "table-view-column" | "table-view-field" | "table-view-filter" | "table-view-list" | "table-view-sort" | "task-done" | "task-on-progress" | "task-todo" | "text-editor-align-left" | "text-editor-banner" | "text-editor-button" | "text-editor-divider" | "text-editor-footer" | "text-editor-logo" | "text-editor-move" | "text-editor-paragraph" | "text-editor-text" | "text-editor-variable" | "text-editor-write" | "text-editor-list" | "time" | "undo" | "upload" | "verified" | "video-recorder" | "zoom-in" | "zoom-out" | "Axis" | "DJP" | "Facebook-Messenger" | "Google" | "Gopay" | "Indosat" | "Instagram" | "JCB" | "Line" | "Livechat" | "Mastercard" | "OVO" | "PLN-Token" | "PLN" | "Shopee" | "Shopeepay" | "Smartfren" | "Telegram" | "Telkomsel" | "Tokopedia" | "Tri" | "Visa" | "WhatsApp" | "XL" | "airene-black" | "airene-brand" | "airene-outline" | "capital-black" | "capital-brand" | "capital-outline" | "mchat-black" | "mchat-brand" | "mchat-outline" | "expense-black" | "expense-brand" | "expense-outline" | "flex-black" | "flex-brand" | "flex-outline" | "insight-black" | "insight-brand" | "insight-outline" | "jurnal-black" | "jurnal-brand" | "jurnal-outline" | "klikpajak-black" | "klikpajak-brand" | "klikpajak-outline" | "mekari-black" | "mekari-brand" | "mekari-outline" | "pay-black" | "pay-brand" | "pay-outline" | "qontak-black" | "qontak-brand" | "qontak-outline" | "sign-black" | "sign-brand" | "sign-outline" | "stream-black" | "stream-brand" | "stream-outline" | "talenta-black" | "talenta-brand" | "talenta-outline" | "university-black" | "university-brand" | "university-outline" | "X" | "accordion-collapse" | "accordion-expand" | "apply-all" | "arrow-collapse" | "arrow-expand" | "burger" | "check" | "close" | "crop" | "drag" | "fit-screen" | "indicator-circle" | "indicator-square" | "link" | "loader-" | "menu-kebab" | "menu-meatball" | "remove-tag" | "reset" | "shortcuts" | "sliders" | "sort-ascending" | "sort-default" | "sort-descending">;
|
|
7
8
|
default: string;
|
|
8
9
|
};
|
|
9
10
|
size: {
|
|
10
|
-
type: vue.PropType<
|
|
11
|
+
type: vue.PropType<AccordionSize>;
|
|
11
12
|
default: string;
|
|
12
13
|
};
|
|
13
14
|
color: {
|
|
@@ -15,16 +16,16 @@ declare const MpAccordionIcon: vue.DefineComponent<{
|
|
|
15
16
|
default: string;
|
|
16
17
|
};
|
|
17
18
|
variant: {
|
|
18
|
-
type: vue.PropType<
|
|
19
|
+
type: vue.PropType<AccordionVariant>;
|
|
19
20
|
default: string;
|
|
20
21
|
};
|
|
21
22
|
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
22
23
|
name: {
|
|
23
|
-
type: vue.PropType<"
|
|
24
|
+
type: vue.PropType<"done" | "error" | "help" | "info" | "pending" | "priority-high" | "priority-low" | "priority-medium" | "progress" | "warning-circular" | "warning-triangle" | "arrows-down" | "arrows-left" | "arrows-right" | "arrows-up" | "caret-down" | "caret-right" | "caret-up" | "chevrons-down" | "chevrons-forward" | "chevrons-left" | "chevrons-previous" | "chevrons-right" | "chevrons-up" | "backspace" | "call-active" | "call-add" | "call-declined" | "call-disabled" | "call-end" | "call-incoming" | "call-outgoing" | "call-pause" | "caption" | "globe" | "headphone" | "mic" | "mic-mute" | "picture-in-picture" | "share-screen" | "account-mapping" | "add-ons" | "ai-assist" | "api" | "application" | "assets" | "attendee" | "bank" | "batch" | "billing" | "block-user" | "book" | "briefcase" | "bulk-send" | "bulk-upload" | "business-trip" | "broadcast" | "brush" | "calculator" | "cart" | "cash-advance" | "cash-in" | "cash-out" | "categories" | "certificate" | "channel" | "chart-of-account" | "chat" | "chatbot" | "cloud" | "code" | "column-settings" | "comment" | "commuting" | "company" | "competencies" | "connected_apps" | "contact" | "dashboard" | "database" | "design" | "dislike" | "decrease-kpi" | "desktop" | "document-sent" | "draft" | "education" | "email-sent" | "emeterai" | "employee" | "employee-not-found" | "employment" | "envelope" | "esignature" | "evaluation" | "expenses" | "face-recognition" | "file-change" | "filter" | "finance" | "find-me" | "flag" | "fulfillment" | "gift" | "goal" | "hierarchy" | "home" | "hospital" | "inbox" | "increase-kpi" | "initials" | "join-invoice" | "key" | "lifestyle" | "like" | "loan" | "location" | "log" | "meeting-room" | "mekari_pay" | "migrate" | "mobile" | "mobile-postpaid" | "monitor-message" | "muted" | "notification" | "organizations" | "organizations-h" | "organizations-v" | "overtime" | "partner" | "password" | "payroll" | "payslip" | "people" | "performance" | "phone" | "pipeline" | "place-fields" | "plans" | "play-video" | "policy" | "productivity" | "products" | "profile" | "promo" | "protection" | "receipt-lock" | "reimbursement" | "reports" | "restore" | "roles" | "sales" | "scan" | "schedule" | "security" | "sent" | "share" | "shop" | "sidebar-pin" | "stamp" | "stock-available" | "stock-bulk-update-sku" | "stock-out-of-stock" | "stock-running-out" | "succesion-plan" | "talent-management" | "theme" | "team" | "timer" | "tips" | "today" | "transfer" | "truck" | "unlock" | "upgrade" | "user-response" | "virtual-account" | "voucher" | "wallet" | "warehouse" | "whatsapp-flat" | "wifi" | "workflow" | "blank" | "copy" | "doc" | "excel-document" | "file-audio" | "file-code" | "file-image" | "file-music" | "file-video" | "folder-close" | "folder-open" | "folder-transfer-close" | "folder-transfer-open" | "id-card" | "image-document" | "img-break" | "img" | "pdf-document" | "pdf" | "word-document" | "zip" | "add-circular" | "add" | "approval-rules" | "attachment" | "calendar" | "camera" | "chart-bar" | "chart-bar-line" | "chart-line" | "checkbox-checklist" | "checkbox-partial" | "delete" | "download" | "edit" | "emoji" | "empty" | "fingerprint" | "forward" | "full-screen" | "help-centre" | "hide" | "magic" | "minimize" | "minus-circular" | "minus" | "newtab" | "number-five" | "paint-bucket" | "pause" | "pin" | "redo" | "refresh" | "reply" | "rotate-left" | "rotate-right" | "search" | "settings" | "show" | "sign-in" | "sign-out" | "table-view-column" | "table-view-field" | "table-view-filter" | "table-view-list" | "table-view-sort" | "task-done" | "task-on-progress" | "task-todo" | "text-editor-align-left" | "text-editor-banner" | "text-editor-button" | "text-editor-divider" | "text-editor-footer" | "text-editor-logo" | "text-editor-move" | "text-editor-paragraph" | "text-editor-text" | "text-editor-variable" | "text-editor-write" | "text-editor-list" | "time" | "undo" | "upload" | "verified" | "video-recorder" | "zoom-in" | "zoom-out" | "Axis" | "DJP" | "Facebook-Messenger" | "Google" | "Gopay" | "Indosat" | "Instagram" | "JCB" | "Line" | "Livechat" | "Mastercard" | "OVO" | "PLN-Token" | "PLN" | "Shopee" | "Shopeepay" | "Smartfren" | "Telegram" | "Telkomsel" | "Tokopedia" | "Tri" | "Visa" | "WhatsApp" | "XL" | "airene-black" | "airene-brand" | "airene-outline" | "capital-black" | "capital-brand" | "capital-outline" | "mchat-black" | "mchat-brand" | "mchat-outline" | "expense-black" | "expense-brand" | "expense-outline" | "flex-black" | "flex-brand" | "flex-outline" | "insight-black" | "insight-brand" | "insight-outline" | "jurnal-black" | "jurnal-brand" | "jurnal-outline" | "klikpajak-black" | "klikpajak-brand" | "klikpajak-outline" | "mekari-black" | "mekari-brand" | "mekari-outline" | "pay-black" | "pay-brand" | "pay-outline" | "qontak-black" | "qontak-brand" | "qontak-outline" | "sign-black" | "sign-brand" | "sign-outline" | "stream-black" | "stream-brand" | "stream-outline" | "talenta-black" | "talenta-brand" | "talenta-outline" | "university-black" | "university-brand" | "university-outline" | "X" | "accordion-collapse" | "accordion-expand" | "apply-all" | "arrow-collapse" | "arrow-expand" | "burger" | "check" | "close" | "crop" | "drag" | "fit-screen" | "indicator-circle" | "indicator-square" | "link" | "loader-" | "menu-kebab" | "menu-meatball" | "remove-tag" | "reset" | "shortcuts" | "sliders" | "sort-ascending" | "sort-default" | "sort-descending">;
|
|
24
25
|
default: string;
|
|
25
26
|
};
|
|
26
27
|
size: {
|
|
27
|
-
type: vue.PropType<
|
|
28
|
+
type: vue.PropType<AccordionSize>;
|
|
28
29
|
default: string;
|
|
29
30
|
};
|
|
30
31
|
color: {
|
|
@@ -32,14 +33,14 @@ declare const MpAccordionIcon: vue.DefineComponent<{
|
|
|
32
33
|
default: string;
|
|
33
34
|
};
|
|
34
35
|
variant: {
|
|
35
|
-
type: vue.PropType<
|
|
36
|
+
type: vue.PropType<AccordionVariant>;
|
|
36
37
|
default: string;
|
|
37
38
|
};
|
|
38
39
|
}>>, {
|
|
39
|
-
name: "
|
|
40
|
-
size:
|
|
41
|
-
variant: "fill" | "outline" | "duotone";
|
|
40
|
+
name: "done" | "error" | "help" | "info" | "pending" | "priority-high" | "priority-low" | "priority-medium" | "progress" | "warning-circular" | "warning-triangle" | "arrows-down" | "arrows-left" | "arrows-right" | "arrows-up" | "caret-down" | "caret-right" | "caret-up" | "chevrons-down" | "chevrons-forward" | "chevrons-left" | "chevrons-previous" | "chevrons-right" | "chevrons-up" | "backspace" | "call-active" | "call-add" | "call-declined" | "call-disabled" | "call-end" | "call-incoming" | "call-outgoing" | "call-pause" | "caption" | "globe" | "headphone" | "mic" | "mic-mute" | "picture-in-picture" | "share-screen" | "account-mapping" | "add-ons" | "ai-assist" | "api" | "application" | "assets" | "attendee" | "bank" | "batch" | "billing" | "block-user" | "book" | "briefcase" | "bulk-send" | "bulk-upload" | "business-trip" | "broadcast" | "brush" | "calculator" | "cart" | "cash-advance" | "cash-in" | "cash-out" | "categories" | "certificate" | "channel" | "chart-of-account" | "chat" | "chatbot" | "cloud" | "code" | "column-settings" | "comment" | "commuting" | "company" | "competencies" | "connected_apps" | "contact" | "dashboard" | "database" | "design" | "dislike" | "decrease-kpi" | "desktop" | "document-sent" | "draft" | "education" | "email-sent" | "emeterai" | "employee" | "employee-not-found" | "employment" | "envelope" | "esignature" | "evaluation" | "expenses" | "face-recognition" | "file-change" | "filter" | "finance" | "find-me" | "flag" | "fulfillment" | "gift" | "goal" | "hierarchy" | "home" | "hospital" | "inbox" | "increase-kpi" | "initials" | "join-invoice" | "key" | "lifestyle" | "like" | "loan" | "location" | "log" | "meeting-room" | "mekari_pay" | "migrate" | "mobile" | "mobile-postpaid" | "monitor-message" | "muted" | "notification" | "organizations" | "organizations-h" | "organizations-v" | "overtime" | "partner" | "password" | "payroll" | "payslip" | "people" | "performance" | "phone" | "pipeline" | "place-fields" | "plans" | "play-video" | "policy" | "productivity" | "products" | "profile" | "promo" | "protection" | "receipt-lock" | "reimbursement" | "reports" | "restore" | "roles" | "sales" | "scan" | "schedule" | "security" | "sent" | "share" | "shop" | "sidebar-pin" | "stamp" | "stock-available" | "stock-bulk-update-sku" | "stock-out-of-stock" | "stock-running-out" | "succesion-plan" | "talent-management" | "theme" | "team" | "timer" | "tips" | "today" | "transfer" | "truck" | "unlock" | "upgrade" | "user-response" | "virtual-account" | "voucher" | "wallet" | "warehouse" | "whatsapp-flat" | "wifi" | "workflow" | "blank" | "copy" | "doc" | "excel-document" | "file-audio" | "file-code" | "file-image" | "file-music" | "file-video" | "folder-close" | "folder-open" | "folder-transfer-close" | "folder-transfer-open" | "id-card" | "image-document" | "img-break" | "img" | "pdf-document" | "pdf" | "word-document" | "zip" | "add-circular" | "add" | "approval-rules" | "attachment" | "calendar" | "camera" | "chart-bar" | "chart-bar-line" | "chart-line" | "checkbox-checklist" | "checkbox-partial" | "delete" | "download" | "edit" | "emoji" | "empty" | "fingerprint" | "forward" | "full-screen" | "help-centre" | "hide" | "magic" | "minimize" | "minus-circular" | "minus" | "newtab" | "number-five" | "paint-bucket" | "pause" | "pin" | "redo" | "refresh" | "reply" | "rotate-left" | "rotate-right" | "search" | "settings" | "show" | "sign-in" | "sign-out" | "table-view-column" | "table-view-field" | "table-view-filter" | "table-view-list" | "table-view-sort" | "task-done" | "task-on-progress" | "task-todo" | "text-editor-align-left" | "text-editor-banner" | "text-editor-button" | "text-editor-divider" | "text-editor-footer" | "text-editor-logo" | "text-editor-move" | "text-editor-paragraph" | "text-editor-text" | "text-editor-variable" | "text-editor-write" | "text-editor-list" | "time" | "undo" | "upload" | "verified" | "video-recorder" | "zoom-in" | "zoom-out" | "Axis" | "DJP" | "Facebook-Messenger" | "Google" | "Gopay" | "Indosat" | "Instagram" | "JCB" | "Line" | "Livechat" | "Mastercard" | "OVO" | "PLN-Token" | "PLN" | "Shopee" | "Shopeepay" | "Smartfren" | "Telegram" | "Telkomsel" | "Tokopedia" | "Tri" | "Visa" | "WhatsApp" | "XL" | "airene-black" | "airene-brand" | "airene-outline" | "capital-black" | "capital-brand" | "capital-outline" | "mchat-black" | "mchat-brand" | "mchat-outline" | "expense-black" | "expense-brand" | "expense-outline" | "flex-black" | "flex-brand" | "flex-outline" | "insight-black" | "insight-brand" | "insight-outline" | "jurnal-black" | "jurnal-brand" | "jurnal-outline" | "klikpajak-black" | "klikpajak-brand" | "klikpajak-outline" | "mekari-black" | "mekari-brand" | "mekari-outline" | "pay-black" | "pay-brand" | "pay-outline" | "qontak-black" | "qontak-brand" | "qontak-outline" | "sign-black" | "sign-brand" | "sign-outline" | "stream-black" | "stream-brand" | "stream-outline" | "talenta-black" | "talenta-brand" | "talenta-outline" | "university-black" | "university-brand" | "university-outline" | "X" | "accordion-collapse" | "accordion-expand" | "apply-all" | "arrow-collapse" | "arrow-expand" | "burger" | "check" | "close" | "crop" | "drag" | "fit-screen" | "indicator-circle" | "indicator-square" | "link" | "loader-" | "menu-kebab" | "menu-meatball" | "remove-tag" | "reset" | "shortcuts" | "sliders" | "sort-ascending" | "sort-default" | "sort-descending";
|
|
41
|
+
size: AccordionSize;
|
|
42
42
|
color: string;
|
|
43
|
+
variant: AccordionVariant;
|
|
43
44
|
}, {}>;
|
|
44
45
|
|
|
45
46
|
export { MpAccordionIcon };
|