@mekari/pixel3-broadcast 0.0.1-dev.2 → 0.0.1-dev.4
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/broadcast.d.mts +2 -2
- package/dist/broadcast.d.ts +2 -2
- package/dist/broadcast.js +8 -8
- package/dist/broadcast.mjs +4 -4
- package/dist/{chunk-JP4CQC7M.mjs → chunk-BM4PNZHA.mjs} +5 -5
- package/dist/{chunk-5IQVO6NS.mjs → chunk-JUWZRZCE.mjs} +1 -1
- package/dist/{chunk-2MCZAW3F.mjs → chunk-KP6MPUJW.mjs} +4 -4
- package/dist/{chunk-PTIK2HZP.mjs → chunk-XSKAJ6XL.mjs} +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +4 -4
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/broadcast.connects.js +5 -5
- package/dist/modules/broadcast.connects.mjs +1 -1
- package/dist/modules/broadcast.hooks.js +5 -5
- package/dist/modules/broadcast.hooks.mjs +2 -2
- package/dist/modules/broadcast.props.d.mts +1 -1
- package/dist/modules/broadcast.props.d.ts +1 -1
- package/dist/modules/broadcast.props.js +1 -1
- package/dist/modules/broadcast.props.mjs +1 -1
- package/dist/modules/broadcast.types.d.mts +4 -4
- package/dist/modules/broadcast.types.d.ts +4 -4
- package/package.json +6 -6
package/dist/broadcast.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ declare const MpBroadcast: vue.DefineComponent<{
|
|
|
14
14
|
type: vue.PropType<BroadcastVariant | undefined>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
label: {
|
|
18
18
|
type: vue.PropType<string | undefined>;
|
|
19
19
|
};
|
|
20
20
|
textLink: {
|
|
@@ -45,7 +45,7 @@ declare const MpBroadcast: vue.DefineComponent<{
|
|
|
45
45
|
type: vue.PropType<BroadcastVariant | undefined>;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
label: {
|
|
49
49
|
type: vue.PropType<string | undefined>;
|
|
50
50
|
};
|
|
51
51
|
textLink: {
|
package/dist/broadcast.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const MpBroadcast: vue.DefineComponent<{
|
|
|
14
14
|
type: vue.PropType<BroadcastVariant | undefined>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
label: {
|
|
18
18
|
type: vue.PropType<string | undefined>;
|
|
19
19
|
};
|
|
20
20
|
textLink: {
|
|
@@ -45,7 +45,7 @@ declare const MpBroadcast: vue.DefineComponent<{
|
|
|
45
45
|
type: vue.PropType<BroadcastVariant | undefined>;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
label: {
|
|
49
49
|
type: vue.PropType<string | undefined>;
|
|
50
50
|
};
|
|
51
51
|
textLink: {
|
package/dist/broadcast.js
CHANGED
|
@@ -37,7 +37,7 @@ var broadcastProps = {
|
|
|
37
37
|
type: String,
|
|
38
38
|
default: "announcement"
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
label: {
|
|
41
41
|
type: String
|
|
42
42
|
},
|
|
43
43
|
textLink: {
|
|
@@ -74,7 +74,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
74
74
|
id,
|
|
75
75
|
variant,
|
|
76
76
|
iconName,
|
|
77
|
-
|
|
77
|
+
label,
|
|
78
78
|
hasAdditionalAction,
|
|
79
79
|
isClosable,
|
|
80
80
|
textLink,
|
|
@@ -85,7 +85,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
85
85
|
return {
|
|
86
86
|
variant,
|
|
87
87
|
iconName,
|
|
88
|
-
|
|
88
|
+
label,
|
|
89
89
|
textLink,
|
|
90
90
|
textAdditionalAction,
|
|
91
91
|
hasAdditionalAction,
|
|
@@ -113,9 +113,9 @@ function broadcastConnect(state, emit, classes) {
|
|
|
113
113
|
class: classes.icon,
|
|
114
114
|
"data-pixel-component": "MpBroadcastIcon"
|
|
115
115
|
},
|
|
116
|
-
|
|
117
|
-
id: `${idx}-
|
|
118
|
-
class: classes.
|
|
116
|
+
labelProps: {
|
|
117
|
+
id: `${idx}-label`,
|
|
118
|
+
class: classes.label,
|
|
119
119
|
"data-pixel-component": "MpBroadcastContent"
|
|
120
120
|
},
|
|
121
121
|
textLinkProps: {
|
|
@@ -184,10 +184,10 @@ var MpBroadcast = (0, import_vue3.defineComponent)({
|
|
|
184
184
|
"style": {
|
|
185
185
|
"--mp-broadcast--width": getMaxWidthContent(api.value.hasAdditionalAction, api.value.isClosable)
|
|
186
186
|
}
|
|
187
|
-
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && (0, import_vue2.createVNode)(import_pixel3_icon.MpIcon, api.value.iconProps, null), (0, import_vue2.createVNode)(import_pixel3_text.MpText, (0, import_vue2.mergeProps)(api.value.
|
|
187
|
+
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && (0, import_vue2.createVNode)(import_pixel3_icon.MpIcon, api.value.iconProps, null), (0, import_vue2.createVNode)(import_pixel3_text.MpText, (0, import_vue2.mergeProps)(api.value.labelProps, {
|
|
188
188
|
"is-truncated": true
|
|
189
189
|
}), {
|
|
190
|
-
default: () => [api.value.
|
|
190
|
+
default: () => [api.value.label]
|
|
191
191
|
}), api.value.textLink && (0, import_vue2.createVNode)(import_pixel3_text.MpText, api.value.textLinkProps, {
|
|
192
192
|
default: () => [api.value.textLink]
|
|
193
193
|
})]), (0, import_vue2.createVNode)("div", api.value.wrapperProps, [api.value.hasAdditionalAction && (0, import_vue2.createVNode)(import_pixel3_button.MpButton, api.value.actionProps, {
|
package/dist/broadcast.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpBroadcast
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KP6MPUJW.mjs";
|
|
4
|
+
import "./chunk-XSKAJ6XL.mjs";
|
|
5
|
+
import "./chunk-BM4PNZHA.mjs";
|
|
6
|
+
import "./chunk-JUWZRZCE.mjs";
|
|
7
7
|
import "./chunk-P5REXKKG.mjs";
|
|
8
8
|
import "./chunk-QZ7VFGWC.mjs";
|
|
9
9
|
export {
|
|
@@ -9,7 +9,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
9
9
|
id,
|
|
10
10
|
variant,
|
|
11
11
|
iconName,
|
|
12
|
-
|
|
12
|
+
label,
|
|
13
13
|
hasAdditionalAction,
|
|
14
14
|
isClosable,
|
|
15
15
|
textLink,
|
|
@@ -20,7 +20,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
20
20
|
return {
|
|
21
21
|
variant,
|
|
22
22
|
iconName,
|
|
23
|
-
|
|
23
|
+
label,
|
|
24
24
|
textLink,
|
|
25
25
|
textAdditionalAction,
|
|
26
26
|
hasAdditionalAction,
|
|
@@ -48,9 +48,9 @@ function broadcastConnect(state, emit, classes) {
|
|
|
48
48
|
class: classes.icon,
|
|
49
49
|
"data-pixel-component": "MpBroadcastIcon"
|
|
50
50
|
},
|
|
51
|
-
|
|
52
|
-
id: `${idx}-
|
|
53
|
-
class: classes.
|
|
51
|
+
labelProps: {
|
|
52
|
+
id: `${idx}-label`,
|
|
53
|
+
class: classes.label,
|
|
54
54
|
"data-pixel-component": "MpBroadcastContent"
|
|
55
55
|
},
|
|
56
56
|
textLinkProps: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useBroadcast
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSKAJ6XL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
broadcastEmits,
|
|
6
6
|
broadcastProps
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JUWZRZCE.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getMaxWidthContent
|
|
10
10
|
} from "./chunk-P5REXKKG.mjs";
|
|
@@ -27,10 +27,10 @@ var MpBroadcast = defineComponent({
|
|
|
27
27
|
"style": {
|
|
28
28
|
"--mp-broadcast--width": getMaxWidthContent(api.value.hasAdditionalAction, api.value.isClosable)
|
|
29
29
|
}
|
|
30
|
-
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && _createVNode(MpIcon, api.value.iconProps, null), _createVNode(MpText, _mergeProps(api.value.
|
|
30
|
+
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && _createVNode(MpIcon, api.value.iconProps, null), _createVNode(MpText, _mergeProps(api.value.labelProps, {
|
|
31
31
|
"is-truncated": true
|
|
32
32
|
}), {
|
|
33
|
-
default: () => [api.value.
|
|
33
|
+
default: () => [api.value.label]
|
|
34
34
|
}), api.value.textLink && _createVNode(MpText, api.value.textLinkProps, {
|
|
35
35
|
default: () => [api.value.textLink]
|
|
36
36
|
})]), _createVNode("div", api.value.wrapperProps, [api.value.hasAdditionalAction && _createVNode(MpButton, api.value.actionProps, {
|
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var broadcastProps = {
|
|
|
39
39
|
type: String,
|
|
40
40
|
default: "announcement"
|
|
41
41
|
},
|
|
42
|
-
|
|
42
|
+
label: {
|
|
43
43
|
type: String
|
|
44
44
|
},
|
|
45
45
|
textLink: {
|
|
@@ -76,7 +76,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
76
76
|
id,
|
|
77
77
|
variant,
|
|
78
78
|
iconName,
|
|
79
|
-
|
|
79
|
+
label,
|
|
80
80
|
hasAdditionalAction,
|
|
81
81
|
isClosable,
|
|
82
82
|
textLink,
|
|
@@ -87,7 +87,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
87
87
|
return {
|
|
88
88
|
variant,
|
|
89
89
|
iconName,
|
|
90
|
-
|
|
90
|
+
label,
|
|
91
91
|
textLink,
|
|
92
92
|
textAdditionalAction,
|
|
93
93
|
hasAdditionalAction,
|
|
@@ -115,9 +115,9 @@ function broadcastConnect(state, emit, classes) {
|
|
|
115
115
|
class: classes.icon,
|
|
116
116
|
"data-pixel-component": "MpBroadcastIcon"
|
|
117
117
|
},
|
|
118
|
-
|
|
119
|
-
id: `${idx}-
|
|
120
|
-
class: classes.
|
|
118
|
+
labelProps: {
|
|
119
|
+
id: `${idx}-label`,
|
|
120
|
+
class: classes.label,
|
|
121
121
|
"data-pixel-component": "MpBroadcastContent"
|
|
122
122
|
},
|
|
123
123
|
textLinkProps: {
|
|
@@ -186,10 +186,10 @@ var MpBroadcast = (0, import_vue3.defineComponent)({
|
|
|
186
186
|
"style": {
|
|
187
187
|
"--mp-broadcast--width": getMaxWidthContent(api.value.hasAdditionalAction, api.value.isClosable)
|
|
188
188
|
}
|
|
189
|
-
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && (0, import_vue2.createVNode)(import_pixel3_icon.MpIcon, api.value.iconProps, null), (0, import_vue2.createVNode)(import_pixel3_text.MpText, (0, import_vue2.mergeProps)(api.value.
|
|
189
|
+
}, api.value.wrapperProps), [api.value.variant !== "announcement" && api.value.iconName && (0, import_vue2.createVNode)(import_pixel3_icon.MpIcon, api.value.iconProps, null), (0, import_vue2.createVNode)(import_pixel3_text.MpText, (0, import_vue2.mergeProps)(api.value.labelProps, {
|
|
190
190
|
"is-truncated": true
|
|
191
191
|
}), {
|
|
192
|
-
default: () => [api.value.
|
|
192
|
+
default: () => [api.value.label]
|
|
193
193
|
}), api.value.textLink && (0, import_vue2.createVNode)(import_pixel3_text.MpText, api.value.textLinkProps, {
|
|
194
194
|
default: () => [api.value.textLink]
|
|
195
195
|
})]), (0, import_vue2.createVNode)("div", api.value.wrapperProps, [api.value.hasAdditionalAction && (0, import_vue2.createVNode)(import_pixel3_button.MpButton, api.value.actionProps, {
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpBroadcast
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KP6MPUJW.mjs";
|
|
4
|
+
import "./chunk-XSKAJ6XL.mjs";
|
|
5
|
+
import "./chunk-BM4PNZHA.mjs";
|
|
6
|
+
import "./chunk-JUWZRZCE.mjs";
|
|
7
7
|
import "./chunk-P5REXKKG.mjs";
|
|
8
8
|
import "./chunk-QZ7VFGWC.mjs";
|
|
9
9
|
export {
|
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/broadcast.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/broadcast.props.ts":{"bytes":1241,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./broadcast.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.connects.ts":{"bytes":2312,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./broadcast.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.hooks.ts":{"bytes":672,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/modules/broadcast.connects.ts","kind":"import-statement","original":"./broadcast.connects"},{"path":"./broadcast.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.utils.ts":{"bytes":389,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/broadcast.tsx":{"bytes":1773,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/broadcast.props.ts","kind":"import-statement","original":"./modules/broadcast.props"},{"path":"src/modules/broadcast.hooks.ts","kind":"import-statement","original":"./modules/broadcast.hooks"},{"path":"src/modules/broadcast.utils.ts","kind":"import-statement","original":"./modules/broadcast.utils"},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":246,"imports":[{"path":"src/broadcast.tsx","kind":"import-statement","original":"./broadcast"}],"format":"esm"},"src/modules/broadcast.types.ts":{"bytes":1332,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/broadcast.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/broadcast.tsx","inputs":{"src/broadcast.tsx":{"bytesInOutput":1820},"src/modules/broadcast.props.ts":{"bytesInOutput":627},"src/modules/broadcast.hooks.ts":{"bytesInOutput":472},"src/modules/broadcast.connects.ts":{"bytesInOutput":2088},"src/modules/broadcast.utils.ts":{"bytesInOutput":270}},"bytes":6493},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"@mekari/pixel3-text","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":127},"src/broadcast.tsx":{"bytesInOutput":1675},"src/modules/broadcast.props.ts":{"bytesInOutput":627},"src/modules/broadcast.hooks.ts":{"bytesInOutput":472},"src/modules/broadcast.connects.ts":{"bytesInOutput":2088},"src/modules/broadcast.utils.ts":{"bytesInOutput":270}},"bytes":6492},"dist/modules/broadcast.connects.js":{"imports":[{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/broadcast.connects.ts","inputs":{"src/modules/broadcast.connects.ts":{"bytesInOutput":2268}},"bytes":3305},"dist/modules/broadcast.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/broadcast.hooks.ts","inputs":{"src/modules/broadcast.hooks.ts":{"bytesInOutput":637},"src/modules/broadcast.connects.ts":{"bytesInOutput":2086}},"bytes":3826},"dist/modules/broadcast.props.js":{"imports":[{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/broadcast.props.ts","inputs":{"src/modules/broadcast.props.ts":{"bytesInOutput":836}},"bytes":1796},"dist/modules/broadcast.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/broadcast.types.ts","inputs":{"src/modules/broadcast.types.ts":{"bytesInOutput":90}},"bytes":796},"dist/modules/broadcast.utils.js":{"imports":[],"exports":[],"entryPoint":"src/modules/broadcast.utils.ts","inputs":{"src/modules/broadcast.utils.ts":{"bytesInOutput":447}},"bytes":1483}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/broadcast.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/broadcast.props.ts":{"bytes":1241,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./broadcast.types","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.connects.ts":{"bytes":2312,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"./broadcast.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.hooks.ts":{"bytes":672,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/modules/broadcast.connects.ts","kind":"import-statement","original":"./broadcast.connects"},{"path":"./broadcast.types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/broadcast.utils.ts":{"bytes":389,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/broadcast.tsx":{"bytes":1773,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/broadcast.props.ts","kind":"import-statement","original":"./modules/broadcast.props"},{"path":"src/modules/broadcast.hooks.ts","kind":"import-statement","original":"./modules/broadcast.hooks"},{"path":"src/modules/broadcast.utils.ts","kind":"import-statement","original":"./modules/broadcast.utils"},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":246,"imports":[{"path":"src/broadcast.tsx","kind":"import-statement","original":"./broadcast"}],"format":"esm"},"src/modules/broadcast.types.ts":{"bytes":1332,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/broadcast.mjs":{"imports":[{"path":"dist/chunk-KP6MPUJW.mjs","kind":"import-statement"},{"path":"dist/chunk-XSKAJ6XL.mjs","kind":"import-statement"},{"path":"dist/chunk-BM4PNZHA.mjs","kind":"import-statement"},{"path":"dist/chunk-JUWZRZCE.mjs","kind":"import-statement"},{"path":"dist/chunk-P5REXKKG.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpBroadcast"],"entryPoint":"src/broadcast.tsx","inputs":{},"bytes":235},"dist/index.mjs":{"imports":[{"path":"dist/chunk-KP6MPUJW.mjs","kind":"import-statement"},{"path":"dist/chunk-XSKAJ6XL.mjs","kind":"import-statement"},{"path":"dist/chunk-BM4PNZHA.mjs","kind":"import-statement"},{"path":"dist/chunk-JUWZRZCE.mjs","kind":"import-statement"},{"path":"dist/chunk-P5REXKKG.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpBroadcast"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":235},"dist/chunk-KP6MPUJW.mjs":{"imports":[{"path":"dist/chunk-XSKAJ6XL.mjs","kind":"import-statement"},{"path":"dist/chunk-JUWZRZCE.mjs","kind":"import-statement"},{"path":"dist/chunk-P5REXKKG.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"@mekari/pixel3-text","kind":"import-statement","external":true}],"exports":["MpBroadcast"],"inputs":{"src/broadcast.tsx":{"bytesInOutput":1399}},"bytes":1639},"dist/modules/broadcast.connects.mjs":{"imports":[{"path":"dist/chunk-BM4PNZHA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["broadcastConnect"],"entryPoint":"src/modules/broadcast.connects.ts","inputs":{},"bytes":123},"dist/modules/broadcast.hooks.mjs":{"imports":[{"path":"dist/chunk-XSKAJ6XL.mjs","kind":"import-statement"},{"path":"dist/chunk-BM4PNZHA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useBroadcast"],"entryPoint":"src/modules/broadcast.hooks.ts","inputs":{},"bytes":147},"dist/chunk-XSKAJ6XL.mjs":{"imports":[{"path":"dist/chunk-BM4PNZHA.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useBroadcast"],"inputs":{"src/modules/broadcast.hooks.ts":{"bytesInOutput":415}},"bytes":586},"dist/chunk-BM4PNZHA.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["broadcastConnect"],"inputs":{"src/modules/broadcast.connects.ts":{"bytesInOutput":2048}},"bytes":2167},"dist/modules/broadcast.props.mjs":{"imports":[{"path":"dist/chunk-JUWZRZCE.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["broadcastEmits","broadcastProps"],"entryPoint":"src/modules/broadcast.props.ts","inputs":{},"bytes":155},"dist/chunk-JUWZRZCE.mjs":{"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["broadcastEmits","broadcastProps"],"inputs":{"src/modules/broadcast.props.ts":{"bytesInOutput":595}},"bytes":677},"dist/modules/broadcast.types.mjs":{"imports":[],"exports":[],"entryPoint":"src/modules/broadcast.types.ts","inputs":{"src/modules/broadcast.types.ts":{"bytesInOutput":0}},"bytes":0},"dist/modules/broadcast.utils.mjs":{"imports":[{"path":"dist/chunk-P5REXKKG.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getMaxWidthContent"],"entryPoint":"src/modules/broadcast.utils.ts","inputs":{},"bytes":127},"dist/chunk-P5REXKKG.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getMaxWidthContent"],"inputs":{"src/modules/broadcast.utils.ts":{"bytesInOutput":270}},"bytes":388},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
|
@@ -30,7 +30,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
30
30
|
id,
|
|
31
31
|
variant,
|
|
32
32
|
iconName,
|
|
33
|
-
|
|
33
|
+
label,
|
|
34
34
|
hasAdditionalAction,
|
|
35
35
|
isClosable,
|
|
36
36
|
textLink,
|
|
@@ -41,7 +41,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
41
41
|
return {
|
|
42
42
|
variant,
|
|
43
43
|
iconName,
|
|
44
|
-
|
|
44
|
+
label,
|
|
45
45
|
textLink,
|
|
46
46
|
textAdditionalAction,
|
|
47
47
|
hasAdditionalAction,
|
|
@@ -69,9 +69,9 @@ function broadcastConnect(state, emit, classes) {
|
|
|
69
69
|
class: classes.icon,
|
|
70
70
|
"data-pixel-component": "MpBroadcastIcon"
|
|
71
71
|
},
|
|
72
|
-
|
|
73
|
-
id: `${idx}-
|
|
74
|
-
class: classes.
|
|
72
|
+
labelProps: {
|
|
73
|
+
id: `${idx}-label`,
|
|
74
|
+
class: classes.label,
|
|
75
75
|
"data-pixel-component": "MpBroadcastContent"
|
|
76
76
|
},
|
|
77
77
|
textLinkProps: {
|
|
@@ -34,7 +34,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
34
34
|
id,
|
|
35
35
|
variant,
|
|
36
36
|
iconName,
|
|
37
|
-
|
|
37
|
+
label,
|
|
38
38
|
hasAdditionalAction,
|
|
39
39
|
isClosable,
|
|
40
40
|
textLink,
|
|
@@ -45,7 +45,7 @@ function broadcastConnect(state, emit, classes) {
|
|
|
45
45
|
return {
|
|
46
46
|
variant,
|
|
47
47
|
iconName,
|
|
48
|
-
|
|
48
|
+
label,
|
|
49
49
|
textLink,
|
|
50
50
|
textAdditionalAction,
|
|
51
51
|
hasAdditionalAction,
|
|
@@ -73,9 +73,9 @@ function broadcastConnect(state, emit, classes) {
|
|
|
73
73
|
class: classes.icon,
|
|
74
74
|
"data-pixel-component": "MpBroadcastIcon"
|
|
75
75
|
},
|
|
76
|
-
|
|
77
|
-
id: `${idx}-
|
|
78
|
-
class: classes.
|
|
76
|
+
labelProps: {
|
|
77
|
+
id: `${idx}-label`,
|
|
78
|
+
class: classes.label,
|
|
79
79
|
"data-pixel-component": "MpBroadcastContent"
|
|
80
80
|
},
|
|
81
81
|
textLinkProps: {
|
|
@@ -8,7 +8,7 @@ type BroadcastVariant = 'announcement' | 'information' | 'important';
|
|
|
8
8
|
interface BroadcastProps {
|
|
9
9
|
id?: string;
|
|
10
10
|
variant?: BroadcastVariant;
|
|
11
|
-
|
|
11
|
+
label?: string;
|
|
12
12
|
textLink?: string;
|
|
13
13
|
textLinkHref?: string;
|
|
14
14
|
iconName?: string;
|
|
@@ -20,7 +20,7 @@ type BroadcastDefinedContext = Optional<BroadcastProps, 'id'>;
|
|
|
20
20
|
interface BroadcastApiMachine<T extends PropTypes = PropTypes> {
|
|
21
21
|
variant?: BroadcastVariant;
|
|
22
22
|
iconName?: string;
|
|
23
|
-
|
|
23
|
+
label?: string;
|
|
24
24
|
textLink?: string;
|
|
25
25
|
textAdditionalAction?: string;
|
|
26
26
|
hasAdditionalAction?: boolean;
|
|
@@ -29,7 +29,7 @@ interface BroadcastApiMachine<T extends PropTypes = PropTypes> {
|
|
|
29
29
|
containerProps?: T['element'];
|
|
30
30
|
wrapperProps?: T['element'];
|
|
31
31
|
iconProps?: T['element'];
|
|
32
|
-
|
|
32
|
+
labelProps?: T['element'];
|
|
33
33
|
textLinkProps?: T['element'];
|
|
34
34
|
actionProps?: T['element'];
|
|
35
35
|
closeProps?: T['element'];
|
|
@@ -41,7 +41,7 @@ interface BroadcastClasses {
|
|
|
41
41
|
container?: string;
|
|
42
42
|
wrapper?: string;
|
|
43
43
|
icon?: string;
|
|
44
|
-
|
|
44
|
+
label?: string;
|
|
45
45
|
textLink?: string;
|
|
46
46
|
action?: string;
|
|
47
47
|
close?: string;
|
|
@@ -8,7 +8,7 @@ type BroadcastVariant = 'announcement' | 'information' | 'important';
|
|
|
8
8
|
interface BroadcastProps {
|
|
9
9
|
id?: string;
|
|
10
10
|
variant?: BroadcastVariant;
|
|
11
|
-
|
|
11
|
+
label?: string;
|
|
12
12
|
textLink?: string;
|
|
13
13
|
textLinkHref?: string;
|
|
14
14
|
iconName?: string;
|
|
@@ -20,7 +20,7 @@ type BroadcastDefinedContext = Optional<BroadcastProps, 'id'>;
|
|
|
20
20
|
interface BroadcastApiMachine<T extends PropTypes = PropTypes> {
|
|
21
21
|
variant?: BroadcastVariant;
|
|
22
22
|
iconName?: string;
|
|
23
|
-
|
|
23
|
+
label?: string;
|
|
24
24
|
textLink?: string;
|
|
25
25
|
textAdditionalAction?: string;
|
|
26
26
|
hasAdditionalAction?: boolean;
|
|
@@ -29,7 +29,7 @@ interface BroadcastApiMachine<T extends PropTypes = PropTypes> {
|
|
|
29
29
|
containerProps?: T['element'];
|
|
30
30
|
wrapperProps?: T['element'];
|
|
31
31
|
iconProps?: T['element'];
|
|
32
|
-
|
|
32
|
+
labelProps?: T['element'];
|
|
33
33
|
textLinkProps?: T['element'];
|
|
34
34
|
actionProps?: T['element'];
|
|
35
35
|
closeProps?: T['element'];
|
|
@@ -41,7 +41,7 @@ interface BroadcastClasses {
|
|
|
41
41
|
container?: string;
|
|
42
42
|
wrapper?: string;
|
|
43
43
|
icon?: string;
|
|
44
|
-
|
|
44
|
+
label?: string;
|
|
45
45
|
textLink?: string;
|
|
46
46
|
action?: string;
|
|
47
47
|
close?: string;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-broadcast",
|
|
3
3
|
"description": "Mekari Pixel 3 | Broadcast component is used to global information for users in the app",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.4",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@mekari/pixel3-button": "0.0.7-dev.
|
|
12
|
-
"@mekari/pixel3-icon": "0.0.7-dev.
|
|
13
|
-
"@mekari/pixel3-styled-system": "0.0.5-dev.
|
|
14
|
-
"@mekari/pixel3-text": "0.0.7-dev.
|
|
15
|
-
"@mekari/pixel3-utils": "0.0.5-dev.
|
|
11
|
+
"@mekari/pixel3-button": "0.0.7-dev.4",
|
|
12
|
+
"@mekari/pixel3-icon": "0.0.7-dev.4",
|
|
13
|
+
"@mekari/pixel3-styled-system": "0.0.5-dev.3",
|
|
14
|
+
"@mekari/pixel3-text": "0.0.7-dev.4",
|
|
15
|
+
"@mekari/pixel3-utils": "0.0.5-dev.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"vue": "^3.4.9"
|