@onereach/idw-ui-components 0.4.0-beta.44.0 → 0.4.0-beta.45.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 +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +862 -838
- package/dist/esm/index.js.map +1 -1
- package/dist/types/idw-card/host/hostConfig.d.ts +5 -0
- package/dist/types/idw-card/host/hostConfig.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/CardRenderer.vue.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/IdwCardActionBar.vue.d.ts +1 -0
- package/dist/types/idw-card/renderer/IdwCardActionBar.vue.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/IdwCardElementView.vue.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/actionStyle.d.ts +1 -0
- package/dist/types/idw-card/renderer/actionStyle.d.ts.map +1 -1
- package/dist/types/idw-card/renderer/elements/ActionSetElement.vue.d.ts +2 -0
- package/dist/types/idw-card/renderer/elements/ActionSetElement.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,11 @@ export type IdwCardTheme = 'dark' | 'light';
|
|
|
4
4
|
export type IdwCardHostConfig = {
|
|
5
5
|
theme: IdwCardTheme;
|
|
6
6
|
embedSize: FeedEmbedSize;
|
|
7
|
+
/**
|
|
8
|
+
* Feed summary text. When it matches an action title, that action set
|
|
9
|
+
* renders as a checked result. Other summaries leave the buttons in place.
|
|
10
|
+
*/
|
|
11
|
+
completedActionTitle?: string;
|
|
7
12
|
};
|
|
8
13
|
export declare const DEFAULT_IDW_CARD_HOST_CONFIG: IdwCardHostConfig;
|
|
9
14
|
/** Sibling gap when an element omits `spacing`. The first item in a stack stays flush. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostConfig.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/host/hostConfig.ts"],"names":[],"mappings":"AAAA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","sources":["../../../../src/idw-card/renderer/CardRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/CardRenderer.vue"],"names":[],"mappings":"AAmLA,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,CAAC;;;;;;;;gBADa,OAAO,CAAC,iBAAiB,CAAC;;AAwQzC,wBAQG"}
|
|
@@ -2,6 +2,7 @@ import type { IdwCardAction } from '../schema';
|
|
|
2
2
|
import type { IdwCardActionEvent } from './types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
actions: IdwCardAction[];
|
|
5
|
+
completedActionTitle?: string;
|
|
5
6
|
};
|
|
6
7
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
8
|
action: (event: IdwCardActionEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdwCardActionBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardActionBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IdwCardActionBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardActionBar.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;;;;;;AA4IF,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdwCardElementView.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardElementView.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IdwCardElementView.vue.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/IdwCardElementView.vue"],"names":[],"mappings":"AAsNA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,SAAS,CAAC;AACjB,OAAO,EAA4C,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAqB1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;;;;;;;AAmcF,wBAOG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IdwButtonColor, IdwButtonVariant, IdwCardAction } from '../schema';
|
|
2
|
+
export declare function idwActionTitleKey(title: string | undefined): string;
|
|
2
3
|
export declare function idwCardActionButtonProps(action: IdwCardAction): {
|
|
3
4
|
variant: IdwButtonVariant;
|
|
4
5
|
color: IdwButtonColor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionStyle.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/actionStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAoBjF,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,aAAa;;;;EAO7D"}
|
|
1
|
+
{"version":3,"file":"actionStyle.d.ts","sourceRoot":"","sources":["../../../../src/idw-card/renderer/actionStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAoBjF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAEnE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,aAAa;;;;EAO7D"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { IdwCardHostConfig } from '../../host';
|
|
1
2
|
import type { IdwActionSetElement } from '../../schema';
|
|
2
3
|
import type { IdwCardActionEvent } from '../types';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
element: IdwActionSetElement;
|
|
6
|
+
hostConfig: IdwCardHostConfig;
|
|
5
7
|
};
|
|
6
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
9
|
action: (event: IdwCardActionEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ActionSetElement.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSetElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/ActionSetElement.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,iBAAiB,CAAC;CAC/B,CAAC;;;;;;AA2DF,wBAOG"}
|