@onereach/idw-ui-components 0.6.0-beta.53.0 → 0.6.0-beta.60.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.
Files changed (28) hide show
  1. package/README.md +22 -11
  2. package/dist/cjs/index.js +4 -4
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/esm/index.js +1457 -1231
  5. package/dist/esm/index.js.map +1 -1
  6. package/dist/idw-ui-components.css +1 -1
  7. package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts +9 -9
  8. package/dist/types/components/Feeds/FeedItemBase/FeedItemBase.vue.d.ts.map +1 -1
  9. package/dist/types/components/Feeds/FeedItemBase/FeedTypeStatusTag.vue.d.ts +16 -0
  10. package/dist/types/components/Feeds/FeedItemBase/FeedTypeStatusTag.vue.d.ts.map +1 -0
  11. package/dist/types/components/Feeds/FeedItemBase/feedStatusAppearance.d.ts +12 -4
  12. package/dist/types/components/Feeds/FeedItemBase/feedStatusAppearance.d.ts.map +1 -1
  13. package/dist/types/components/Feeds/FeedItemBase/index.d.ts +3 -1
  14. package/dist/types/components/Feeds/FeedItemBase/index.d.ts.map +1 -1
  15. package/dist/types/components/Feeds/FeedItemBase/types.d.ts +12 -7
  16. package/dist/types/components/Feeds/FeedItemBase/types.d.ts.map +1 -1
  17. package/dist/types/components/Feeds/FeedPlaceholder/FeedPlaceholder.vue.d.ts +9 -0
  18. package/dist/types/components/Feeds/FeedPlaceholder/FeedPlaceholder.vue.d.ts.map +1 -0
  19. package/dist/types/components/Feeds/FeedPlaceholder/FeedPlaceholderExamples.vue.d.ts +3 -0
  20. package/dist/types/components/Feeds/FeedPlaceholder/FeedPlaceholderExamples.vue.d.ts.map +1 -0
  21. package/dist/types/components/Feeds/FeedPlaceholder/generateFeedPlaceholder.d.ts +12 -0
  22. package/dist/types/components/Feeds/FeedPlaceholder/generateFeedPlaceholder.d.ts.map +1 -0
  23. package/dist/types/components/Feeds/FeedPlaceholder/index.d.ts +3 -0
  24. package/dist/types/components/Feeds/FeedPlaceholder/index.d.ts.map +1 -0
  25. package/dist/types/components/Feeds/index.d.ts +1 -0
  26. package/dist/types/components/Feeds/index.d.ts.map +1 -1
  27. package/dist/types/idw-card/renderer/elements/InputElement.vue.d.ts.map +1 -1
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap";.idw-skill-card[data-v-228f8709]{position:relative;z-index:0}.idw-skill-card__title[data-v-228f8709],.idw-skill-card__domain[data-v-228f8709]{font-family:Outfit,sans-serif!important}.idw-skill-card__title[data-v-228f8709]{font-weight:700}.idw-skill-card[data-v-228f8709]:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(to bottom,#0000004d,#0000);opacity:0;transition:opacity .3s ease-in-out}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:before,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:before,.idw-skill-card[data-v-228f8709]:not([data-disabled=true]):not([data-interactive=false]):hover:before{opacity:1}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:before,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:before{background:#0000004d}.idw-skill-card[data-v-228f8709]:not([data-disabled=true]):not([data-interactive=false]):after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";border:3px solid transparent;border-radius:24px;transition:border-color .3s ease-in-out}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:after,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:after{border-color:var(--or-primary, #5b8def)}.dark,[data-theme=dark]{border-color:var(--or-primary-dark, #5b8def)}.styled-content[data-v-ad3acbfc]{overflow-wrap:break-word}
1
+ @import"https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap";.idw-skill-card[data-v-228f8709]{position:relative;z-index:0}.idw-skill-card__title[data-v-228f8709],.idw-skill-card__domain[data-v-228f8709]{font-family:Outfit,sans-serif!important}.idw-skill-card__title[data-v-228f8709]{font-weight:700}.idw-skill-card[data-v-228f8709]:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(to bottom,#0000004d,#0000);opacity:0;transition:opacity .3s ease-in-out}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:before,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:before,.idw-skill-card[data-v-228f8709]:not([data-disabled=true]):not([data-interactive=false]):hover:before{opacity:1}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:before,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:before{background:#0000004d}.idw-skill-card[data-v-228f8709]:not([data-disabled=true]):not([data-interactive=false]):after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";border:3px solid transparent;border-radius:24px;transition:border-color .3s ease-in-out}.idw-skill-card:not([data-disabled=true]):not([data-interactive=false]).selected[data-v-228f8709]:after,.idw-skill-card:not([data-disabled=true]):not([data-interactive=false])[data-selected=true][data-v-228f8709]:after{border-color:var(--or-primary, #5b8def)}.dark,[data-theme=dark]{border-color:var(--or-primary-dark, #5b8def)}[data-feed-new-tag]>[aria-hidden][data-v-a072d140]{box-shadow:0 0 0 4px var(--or-c-success-opacity-0-12-light)}.feed-item-base[data-view=list][data-v-7991a1d6]{box-shadow:0 1px 2px #1c19170a,0 12px 24px -16px #1c19171a}@media(hover:hover){.feed-item-base[data-view=list][data-v-7991a1d6]:hover{box-shadow:0 2px 4px #1c19170d,0 16px 32px -16px #1c191724}}.dark .feed-item-base[data-view=list][data-v-7991a1d6],[data-theme=dark] .feed-item-base[data-view=list][data-v-7991a1d6]{box-shadow:none}@media(hover:hover){.dark .feed-item-base[data-view=list][data-v-7991a1d6]:hover,[data-theme=dark] .feed-item-base[data-view=list][data-v-7991a1d6]:hover{@apply bg-surface-2-dark;box-shadow:none}}[data-feed-notice][data-tone=warning][data-v-7991a1d6]{background-color:color-mix(in srgb,var(--or-c-warning-opacity-0-08-light) 50%,transparent)}[data-feed-notice][data-tone=error][data-v-7991a1d6]{background-color:color-mix(in srgb,var(--or-c-error-opacity-0-08-light) 50%,transparent)}.dark [data-feed-notice][data-tone=warning][data-v-7991a1d6],[data-theme=dark] [data-feed-notice][data-tone=warning][data-v-7991a1d6]{background-color:color-mix(in srgb,var(--or-c-warning-opacity-0-08-dark) 50%,transparent)}.dark [data-feed-notice][data-tone=error][data-v-7991a1d6],[data-theme=dark] [data-feed-notice][data-tone=error][data-v-7991a1d6]{background-color:color-mix(in srgb,var(--or-c-error-opacity-0-08-dark) 50%,transparent)}.styled-content[data-v-ad3acbfc]{overflow-wrap:break-word}.idw-card-input[data-v-16e22d2e] .or-input-box-v3{border-radius:12px}.feed-placeholder[data-v-62824f5e]{display:block;flex-shrink:0}.dark .feed-placeholder[data-v-62824f5e],[data-theme=dark] .feed-placeholder[data-v-62824f5e]{filter:brightness(.9)}
@@ -5,17 +5,17 @@ type __VLS_Props = FeedItemBaseProps & {
5
5
  };
6
6
  declare function collapse(): void;
7
7
  declare function expand(): void;
8
- declare var __VLS_1: {}, __VLS_35: {}, __VLS_41: {}, __VLS_43: {}, __VLS_57: {};
8
+ declare var __VLS_4: {}, __VLS_38: {}, __VLS_47: {}, __VLS_49: {}, __VLS_63: {};
9
9
  type __VLS_Slots = {} & {
10
- controls?: (props: typeof __VLS_1) => any;
10
+ controls?: (props: typeof __VLS_4) => any;
11
11
  } & {
12
- media?: (props: typeof __VLS_35) => any;
12
+ media?: (props: typeof __VLS_38) => any;
13
13
  } & {
14
- body?: (props: typeof __VLS_41) => any;
14
+ body?: (props: typeof __VLS_47) => any;
15
15
  } & {
16
- actions?: (props: typeof __VLS_43) => any;
16
+ actions?: (props: typeof __VLS_49) => any;
17
17
  } & {
18
- footer?: (props: typeof __VLS_57) => any;
18
+ footer?: (props: typeof __VLS_63) => any;
19
19
  };
20
20
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
21
21
  expand: typeof expand;
@@ -41,12 +41,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
41
41
  summary: import("./types").FeedItemSummary;
42
42
  view: import("./types").FeedItemView;
43
43
  engagement: FeedItemEngagement;
44
+ typeLabel: string;
45
+ status: import("./types").FeedItemStatus;
46
+ isNew: boolean;
44
47
  shortContent: string;
45
48
  timestamp: string;
46
49
  timestampDatetime: string;
47
50
  authorPrefix: string;
48
- typeLabel: string;
49
- status: import("./types").FeedItemStatus;
50
51
  mediaSrc: string;
51
52
  mediaAlt: string;
52
53
  summaryLabel: string;
@@ -56,7 +57,6 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
56
57
  mentionControl: boolean;
57
58
  shareControl: boolean;
58
59
  moreControl: boolean;
59
- isNew: boolean;
60
60
  highlighted: boolean;
61
61
  controlLabels: import("./types").FeedItemControlLabels;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"FeedItemBase.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/FeedItemBase.vue"],"names":[],"mappings":"AAgjBA,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;AAgOF,iBAAS,QAAQ,SAGhB;AAUD,iBAAS,MAAM,SAEd;AAipBD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY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W,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;AA4D/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;gBAv9BN,kBAAkB;;;;;;;;;;;;;;;;;;;6EAg+B/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,16 @@
1
+ import type { FeedItemStatus } from './types';
2
+ type __VLS_Props = {
3
+ typeLabel?: string;
4
+ status?: FeedItemStatus;
5
+ /** Shows the New tag before the type tag while the feed is unread. */
6
+ isNew?: boolean;
7
+ newLabel?: string;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ typeLabel: string;
11
+ status: FeedItemStatus;
12
+ isNew: boolean;
13
+ newLabel: string;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
16
+ //# sourceMappingURL=FeedTypeStatusTag.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedTypeStatusTag.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/FeedTypeStatusTag.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,sEAAsE;IACtE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;eALY,MAAM;YACT,cAAc;WAEf,OAAO;cACJ,MAAM;;AA8GnB,wBAOG"}
@@ -1,8 +1,16 @@
1
1
  import type { FeedItemStatus } from './types';
2
- type StatusAppearance = {
3
- dotClass: string;
2
+ /** Status kinds: new, needs attention, blocked, handled. Only attention and blocked draw a notice. */
3
+ export type FeedTagState = 'primary' | 'warning' | 'error' | 'neutral';
4
+ export type FeedNoticeAppearance = {
5
+ borderClass: string;
4
6
  labelClass: string;
5
7
  };
6
- export declare function feedStatusAppearance(status: Pick<FeedItemStatus, 'label' | 'tone'>): StatusAppearance;
7
- export {};
8
+ /**
9
+ * Secondary header controls (mention, share, fullscreen) appear only while the pointer is over the card
10
+ * or focus is inside it; the more control stays visible. Hosts put it on their own `#controls` buttons.
11
+ */
12
+ export declare const FEED_HOVER_CONTROL_CLASS = "pointer-events-none opacity-0 transition-opacity group-hover/feed:pointer-events-auto group-hover/feed:opacity-100 group-focus-within/feed:pointer-events-auto group-focus-within/feed:opacity-100";
13
+ export declare function feedTagState(status: Pick<FeedItemStatus, 'label' | 'tone'>): FeedTagState;
14
+ /** Colors of the collapsed notice for an unhandled attention or blocked status that explains itself. */
15
+ export declare function feedNoticeAppearance(status?: FeedItemStatus): FeedNoticeAppearance | undefined;
8
16
  //# sourceMappingURL=feedStatusAppearance.d.ts.map
@@ -1 +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;AA6DF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC,GAAG,gBAAgB,CAYrG"}
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,sGAAsG;AACtG,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvE,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAsCF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,uMAAuM,CAAC;AAE7O,wBAAgB,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC,GAAG,YAAY,CAKzF;AAED,wGAAwG;AACxG,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,oBAAoB,GAAG,SAAS,CAK9F"}
@@ -1,4 +1,6 @@
1
- export { feedStatusAppearance } from './feedStatusAppearance';
1
+ export { FEED_HOVER_CONTROL_CLASS, feedNoticeAppearance, feedTagState } from './feedStatusAppearance';
2
+ export type { FeedNoticeAppearance, FeedTagState } from './feedStatusAppearance';
2
3
  export { default as FeedItemBase } from './FeedItemBase.vue';
4
+ export { default as FeedTypeStatusTag } from './FeedTypeStatusTag.vue';
3
5
  export type { FeedItemBaseProps, FeedItemControl, FeedItemControlLabels, FeedItemStatus, FeedItemSummary, FeedItemView, FeedStatusTone, } from './types';
4
6
  //# 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,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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedItemBase/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtG,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,YAAY,EACZ,cAAc,GACf,MAAM,SAAS,CAAC"}
@@ -1,18 +1,22 @@
1
1
  export type FeedItemControl = 'mention' | 'share' | 'more';
2
2
  export type FeedItemControlLabels = Partial<Record<FeedItemControl, string>> & {
3
+ /** Text of the unread tag. @default 'New' */
4
+ new?: string;
3
5
  fullscreen?: string;
4
6
  showMore?: string;
5
7
  showLess?: string;
6
8
  };
7
9
  /**
8
- * Host-supplied status. Catalog labels pick their own indicator color.
9
- * `Action Required` with tone `neutral` is the settled outline state.
10
- * `tone` is otherwise only a fallback when the label is outside that catalog.
10
+ * Host-supplied status. `tone` names its kind: primary new, warning needs attention, error blocked,
11
+ * neutral handled (success folds into neutral, secondary into primary). Known labels are a fallback without a tone.
12
+ * An attention or blocked status with a `description` draws a notice in place of the collapsed summary.
11
13
  */
12
14
  export type FeedStatusTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral' | 'secondary';
13
15
  export type FeedItemStatus = {
14
16
  label: string;
15
17
  tone?: FeedStatusTone;
18
+ /** What is needed or what blocks the feed, and what the user should do. */
19
+ description?: string;
16
20
  };
17
21
  /**
18
22
  * Collapsed summary shown before the body opens.
@@ -38,14 +42,15 @@ export type FeedItemBaseProps = {
38
42
  source?: string;
39
43
  /** Localized prefix before {@link source}. @default 'By' */
40
44
  authorPrefix?: string;
41
- /** Envelope type chip, e.g. Task, Notification, News. */
45
+ /** Type tag text, e.g. Task, Notification, News. A status label is the fallback. */
42
46
  typeLabel?: string;
43
47
  status?: FeedItemStatus;
44
- /** 64px title thumbnail. Ignored in fullscreen; use the `#media` slot for a custom tile. */
48
+ /** 48px title thumbnail. Ignored in fullscreen; use the `#media` slot for a custom tile. */
45
49
  mediaSrc?: string;
46
50
  mediaAlt?: string;
47
51
  /**
48
- * Collapsed-only summary panel. Hidden once the body is open and in fullscreen.
52
+ * Collapsed-only summary panel. Hidden once the body is open and in fullscreen,
53
+ * and replaced by the status notice while an attention or blocked status has a description.
49
54
  */
50
55
  summary?: FeedItemSummary;
51
56
  /** Label above summary choices and text. @default 'Summary:' */
@@ -69,7 +74,7 @@ export type FeedItemBaseProps = {
69
74
  shareControl?: boolean;
70
75
  /** Shows a `more_vert` control inside the default `#controls` slot. */
71
76
  moreControl?: boolean;
72
- /** Read/highlight metadata retained for host compatibility; list fill stays surface-1. */
77
+ /** Shows the New tag before the type tag while the feed is unread; list fill stays surface-1. */
73
78
  isNew?: boolean;
74
79
  highlighted?: boolean;
75
80
  controlLabels?: FeedItemControlLabels;
@@ -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;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnG,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,YAAY,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAA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B,mEAAmE;IACnE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iGAAiG;IACjG,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC"}
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ seed: string | number;
3
+ size?: number;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ size: number;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
9
+ //# sourceMappingURL=FeedPlaceholder.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedPlaceholder.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedPlaceholder/FeedPlaceholder.vue"],"names":[],"mappings":"AAiGA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;UADO,MAAM;;AA4Lf,wBAOG"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=FeedPlaceholderExamples.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedPlaceholderExamples.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedPlaceholder/FeedPlaceholderExamples.vue"],"names":[],"mappings":";AAgHA,wBAKG"}
@@ -0,0 +1,12 @@
1
+ /** Version 1 preserves the artwork already used by IDW feed cards. */
2
+ export declare const FEED_PLACEHOLDER_VERSION = 1;
3
+ export interface FeedPlaceholderParameters {
4
+ readonly path: string;
5
+ readonly colors: readonly [string, string, string];
6
+ readonly seed: number;
7
+ readonly x: number;
8
+ readonly y: number;
9
+ }
10
+ /** Stable decoration, not a unique identifier or a cryptographic hash. */
11
+ export declare function getFeedPlaceholder(seed: string | number): FeedPlaceholderParameters;
12
+ //# sourceMappingURL=generateFeedPlaceholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateFeedPlaceholder.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedPlaceholder/generateFeedPlaceholder.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAqB1C,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,yBAAyB,CAcnF"}
@@ -0,0 +1,3 @@
1
+ export { default as FeedPlaceholder } from './FeedPlaceholder.vue';
2
+ export { FEED_PLACEHOLDER_VERSION, getFeedPlaceholder } from './generateFeedPlaceholder';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Feeds/FeedPlaceholder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -7,4 +7,5 @@ export * from './FeedSkillContent';
7
7
  export * from './FeedHtmlContent';
8
8
  export * from './FeedFileContent';
9
9
  export * from './FeedList';
10
+ export * from './FeedPlaceholder';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Feeds/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Feeds/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InputElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/InputElement.vue"],"names":[],"mappings":"AAmYA,OAAO,KAAK,EACV,mBAAmB,EAUpB,MAAM,cAAc,CAAC;AAMtB,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;;AA4yBF,wBAMG"}
1
+ {"version":3,"file":"InputElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/idw-card/renderer/elements/InputElement.vue"],"names":[],"mappings":"AA0YA,OAAO,KAAK,EACV,mBAAmB,EAUpB,MAAM,cAAc,CAAC;AAMtB,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;;AAizBF,wBAMG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/idw-ui-components",
3
- "version": "0.6.0-beta.53.0",
3
+ "version": "0.6.0-beta.60.0",
4
4
  "description": "Shared IDW UI components and browser helpers (consumed by idw-ui).",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {