@onereach/idw-ui-components 0.3.0-beta.38.0 → 0.3.0-beta.40.0
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/README.md +2 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +906 -853
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts +10 -3
- package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts.map +1 -1
- package/dist/types/components/Feeds/FeedItemBase/feedStatusAppearance.d.ts +8 -0
- package/dist/types/components/Feeds/FeedItemBase/feedStatusAppearance.d.ts.map +1 -0
- package/dist/types/components/Feeds/FeedItemBase/index.d.ts +1 -0
- package/dist/types/components/Feeds/FeedItemBase/index.d.ts.map +1 -1
- package/dist/types/components/Feeds/FeedItemBase/types.d.ts +4 -1
- package/dist/types/components/Feeds/FeedItemBase/types.d.ts.map +1 -1
- package/dist/types/components/Feeds/FeedItemMetaFooter/FeedItemMetaFooter.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@ import { type FeedItemBaseProps, type FeedItemControl } from './types';
|
|
|
3
3
|
type __VLS_Props = FeedItemBaseProps & {
|
|
4
4
|
engagement?: FeedItemEngagement;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
6
|
+
declare function expand(): void;
|
|
7
|
+
declare var __VLS_1: {}, __VLS_35: {}, __VLS_41: {}, __VLS_43: {}, __VLS_57: {};
|
|
7
8
|
type __VLS_Slots = {} & {
|
|
8
9
|
controls?: (props: typeof __VLS_1) => any;
|
|
9
10
|
} & {
|
|
@@ -13,16 +14,22 @@ type __VLS_Slots = {} & {
|
|
|
13
14
|
} & {
|
|
14
15
|
actions?: (props: typeof __VLS_43) => any;
|
|
15
16
|
} & {
|
|
16
|
-
footer?: (props: typeof
|
|
17
|
+
footer?: (props: typeof __VLS_57) => any;
|
|
17
18
|
};
|
|
18
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
expand: typeof expand;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
22
|
fullscreen: () => any;
|
|
23
|
+
"open-reactions": () => any;
|
|
24
|
+
"open-comments": () => any;
|
|
20
25
|
"update:expanded": (expanded: boolean) => any;
|
|
21
26
|
expand: () => any;
|
|
22
27
|
collapse: () => any;
|
|
23
28
|
"control-click": (control: FeedItemControl) => any;
|
|
24
29
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
30
|
onFullscreen?: (() => any) | undefined;
|
|
31
|
+
"onOpen-reactions"?: (() => any) | undefined;
|
|
32
|
+
"onOpen-comments"?: (() => any) | undefined;
|
|
26
33
|
"onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
|
|
27
34
|
onExpand?: (() => any) | undefined;
|
|
28
35
|
onCollapse?: (() => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeedItemBase.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/FeedItemBase.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FeedItemBase.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/FeedItemBase.vue"],"names":[],"mappings":"AAybA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,SAAS,CAAC;AAejB,KAAK,WAAW,GAAG,iBAAiB,GAAG;IACrC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CACjC,CAAC;AA6IF,iBAAS,MAAM,SAEd;AAqmBD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC5G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4C/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;gBAvyBN,kBAAkB;;;;;;;;;;;;;;;;;;6EAgzB/B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FeedItemStatus } from './types';
|
|
2
|
+
type StatusAppearance = {
|
|
3
|
+
dotClass: string;
|
|
4
|
+
labelClass: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function feedStatusAppearance(status: Pick<FeedItemStatus, 'label' | 'tone'>): StatusAppearance;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=feedStatusAppearance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedStatusAppearance.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/feedStatusAppearance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,SAAS,CAAC;AAE9D,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAwDF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC,GAAG,gBAAgB,CASrG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { feedStatusAppearance } from './feedStatusAppearance';
|
|
1
2
|
export { default as FeedItemBase } from './FeedItemBase.vue';
|
|
2
3
|
export type { FeedItemBaseProps, FeedItemControl, FeedItemControlLabels, FeedItemStatus, FeedItemSummary, FeedItemView, FeedStatusTone, } from './types';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAAc,GACf,MAAM,SAAS,CAAC"}
|
|
@@ -4,7 +4,10 @@ export type FeedItemControlLabels = Partial<Record<FeedItemControl, string>> & {
|
|
|
4
4
|
showMore?: string;
|
|
5
5
|
showLess?: string;
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Host-supplied status. Catalog labels pick their own indicator color.
|
|
9
|
+
* `tone` is only a fallback when the label is outside that catalog.
|
|
10
|
+
*/
|
|
8
11
|
export type FeedStatusTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral' | 'secondary';
|
|
9
12
|
export type FeedItemStatus = {
|
|
10
13
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,GAAG;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,GAAG;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnG,MAAM,MAAM,cAAc,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CAA0C;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeedItemMetaFooter.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemMetaFooter/FeedItemMetaFooter.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FeedItemMetaFooter.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemMetaFooter/FeedItemMetaFooter.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;;;;;;;;AA8IvD,wBAOG"}
|