@metamorph-labs/polymorph-vue-ui 1.0.16 → 1.0.17

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 (143) hide show
  1. package/CHANGELOG.md +134 -0
  2. package/dist/ai/ArtifactPane.js.map +1 -1
  3. package/dist/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  4. package/dist/archetypes/MasterDetailPage.js.map +1 -1
  5. package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
  6. package/dist/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  7. package/dist/archetypes/app-shell.css +1 -1
  8. package/dist/archetypes/app-shell.module.js +2 -2
  9. package/dist/archetypes/app-shell.module.js.map +1 -1
  10. package/dist/controls/RichTextInput.js +7 -0
  11. package/dist/controls/RichTextInput.js.map +1 -0
  12. package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
  13. package/dist/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
  14. package/dist/controls/rich-text-input.css +1 -0
  15. package/dist/controls/rich-text-input.module.js +47 -0
  16. package/dist/controls/rich-text-input.module.js.map +1 -0
  17. package/dist/controls/selection-bar.css +1 -0
  18. package/dist/controls/selection-bar.module.js +11 -0
  19. package/dist/controls/selection-bar.module.js.map +1 -0
  20. package/dist/index.js +41 -39
  21. package/dist/index.js.map +1 -1
  22. package/dist/node/ai/ArtifactPane.js.map +1 -1
  23. package/dist/node/ai/ArtifactPane.vue_vue_type_script_setup_true_lang.js.map +1 -1
  24. package/dist/node/archetypes/MasterDetailPage.js.map +1 -1
  25. package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js +1 -1
  26. package/dist/node/archetypes/MasterDetailPage.vue_vue_type_script_setup_true_lang.js.map +1 -1
  27. package/dist/node/archetypes/app-shell.module.js +2 -2
  28. package/dist/node/archetypes/app-shell.module.js.map +1 -1
  29. package/dist/node/controls/RichTextInput.js +7 -0
  30. package/dist/node/controls/RichTextInput.js.map +1 -0
  31. package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js +1123 -0
  32. package/dist/node/controls/RichTextInput.vue_vue_type_script_setup_true_lang.js.map +1 -0
  33. package/dist/node/controls/rich-text-input.module.js +46 -0
  34. package/dist/node/controls/rich-text-input.module.js.map +1 -0
  35. package/dist/node/controls/selection-bar.module.js +10 -0
  36. package/dist/node/controls/selection-bar.module.js.map +1 -0
  37. package/dist/node/index.js +41 -39
  38. package/dist/node/index.js.map +1 -1
  39. package/dist/node/overlays/Toast.js.map +1 -1
  40. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
  41. package/dist/node/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  42. package/dist/node/structure/Accordion.js.map +1 -1
  43. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js +4 -0
  44. package/dist/node/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  45. package/dist/node/structure/Collapsible.js.map +1 -1
  46. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +4 -0
  47. package/dist/node/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  48. package/dist/node/structure/CursorPagination.js.map +1 -1
  49. package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
  50. package/dist/node/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  51. package/dist/node/structure/Image.js.map +1 -1
  52. package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
  53. package/dist/node/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
  54. package/dist/node/structure/Pagination.js.map +1 -1
  55. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js +124 -71
  56. package/dist/node/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  57. package/dist/node/structure/RichTextContent.js +7 -0
  58. package/dist/node/structure/RichTextContent.js.map +1 -0
  59. package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
  60. package/dist/node/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
  61. package/dist/node/structure/RichTextContentBlocks.js +7 -0
  62. package/dist/node/structure/RichTextContentBlocks.js.map +1 -0
  63. package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
  64. package/dist/node/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
  65. package/dist/node/structure/RichTextContentInlines.js +7 -0
  66. package/dist/node/structure/RichTextContentInlines.js.map +1 -0
  67. package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
  68. package/dist/node/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
  69. package/dist/node/structure/RichTextContentItem.js +7 -0
  70. package/dist/node/structure/RichTextContentItem.js.map +1 -0
  71. package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
  72. package/dist/node/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
  73. package/dist/node/structure/code-block.module.js +2 -2
  74. package/dist/node/structure/code-block.module.js.map +1 -1
  75. package/dist/node/structure/cursor-pagination.module.js +6 -3
  76. package/dist/node/structure/cursor-pagination.module.js.map +1 -1
  77. package/dist/node/structure/pagination.module.js +6 -3
  78. package/dist/node/structure/pagination.module.js.map +1 -1
  79. package/dist/node/structure/rich-text-content.module.js +18 -0
  80. package/dist/node/structure/rich-text-content.module.js.map +1 -0
  81. package/dist/overlays/Toast.js.map +1 -1
  82. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js +27 -27
  83. package/dist/overlays/Toast.vue_vue_type_script_setup_true_lang.js.map +1 -1
  84. package/dist/structure/Accordion.js.map +1 -1
  85. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js +4 -0
  86. package/dist/structure/Accordion.vue_vue_type_script_setup_true_lang.js.map +1 -1
  87. package/dist/structure/Collapsible.js.map +1 -1
  88. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js +4 -0
  89. package/dist/structure/Collapsible.vue_vue_type_script_setup_true_lang.js.map +1 -1
  90. package/dist/structure/CursorPagination.js.map +1 -1
  91. package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js +140 -93
  92. package/dist/structure/CursorPagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  93. package/dist/structure/Image.js.map +1 -1
  94. package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js +30 -18
  95. package/dist/structure/Image.vue_vue_type_script_setup_true_lang.js.map +1 -1
  96. package/dist/structure/Pagination.js.map +1 -1
  97. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js +124 -71
  98. package/dist/structure/Pagination.vue_vue_type_script_setup_true_lang.js.map +1 -1
  99. package/dist/structure/RichTextContent.js +7 -0
  100. package/dist/structure/RichTextContent.js.map +1 -0
  101. package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js +298 -0
  102. package/dist/structure/RichTextContent.vue_vue_type_script_setup_true_lang.js.map +1 -0
  103. package/dist/structure/RichTextContentBlocks.js +7 -0
  104. package/dist/structure/RichTextContentBlocks.js.map +1 -0
  105. package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js +94 -0
  106. package/dist/structure/RichTextContentBlocks.vue_vue_type_script_setup_true_lang.js.map +1 -0
  107. package/dist/structure/RichTextContentInlines.js +7 -0
  108. package/dist/structure/RichTextContentInlines.js.map +1 -0
  109. package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js +69 -0
  110. package/dist/structure/RichTextContentInlines.vue_vue_type_script_setup_true_lang.js.map +1 -0
  111. package/dist/structure/RichTextContentItem.js +7 -0
  112. package/dist/structure/RichTextContentItem.js.map +1 -0
  113. package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js +94 -0
  114. package/dist/structure/RichTextContentItem.vue_vue_type_script_setup_true_lang.js.map +1 -0
  115. package/dist/structure/code-block.css +1 -1
  116. package/dist/structure/code-block.module.js +2 -2
  117. package/dist/structure/code-block.module.js.map +1 -1
  118. package/dist/structure/cursor-pagination.css +1 -1
  119. package/dist/structure/cursor-pagination.module.js +6 -3
  120. package/dist/structure/cursor-pagination.module.js.map +1 -1
  121. package/dist/structure/pagination.css +1 -1
  122. package/dist/structure/pagination.module.js +6 -3
  123. package/dist/structure/pagination.module.js.map +1 -1
  124. package/dist/structure/rich-text-content.css +1 -0
  125. package/dist/structure/rich-text-content.module.js +19 -0
  126. package/dist/structure/rich-text-content.module.js.map +1 -0
  127. package/dist/types/ai/ArtifactPane.vue.d.ts +1 -1
  128. package/dist/types/ai/AttachmentChip.vue.d.ts +1 -1
  129. package/dist/types/ai/ToolCall.vue.d.ts +1 -1
  130. package/dist/types/controls/RichTextInput.vue.d.ts +210 -0
  131. package/dist/types/index.d.ts +4 -0
  132. package/dist/types/overlays/CommandPanel.vue.d.ts +2 -2
  133. package/dist/types/structure/Accordion.vue.d.ts +7 -0
  134. package/dist/types/structure/Collapsible.vue.d.ts +7 -0
  135. package/dist/types/structure/CursorPagination.vue.d.ts +13 -0
  136. package/dist/types/structure/EmptyState.vue.d.ts +1 -1
  137. package/dist/types/structure/Image.vue.d.ts +13 -0
  138. package/dist/types/structure/Pagination.vue.d.ts +8 -0
  139. package/dist/types/structure/RichTextContent.vue.d.ts +59 -0
  140. package/dist/types/structure/RichTextContentBlocks.vue.d.ts +7 -0
  141. package/dist/types/structure/RichTextContentInlines.vue.d.ts +7 -0
  142. package/dist/types/structure/RichTextContentItem.vue.d.ts +7 -0
  143. package/package.json +17 -4
@@ -21,6 +21,12 @@ export interface AccordionProps {
21
21
  defaultValue?: string | string[];
22
22
  headingLevel?: 3 | 4;
23
23
  items: AccordionItem[];
24
+ /**
25
+ * Keeps a closed item's content in the document and `hidden`, so a page's server markup
26
+ * carries it and its state survives a close. Without it the React member leaves closed content
27
+ * out. The generated members keep it in every case.
28
+ */
29
+ keepMounted?: boolean;
24
30
  type?: 'single' | 'multiple';
25
31
  value?: string | string[];
26
32
  }
@@ -32,6 +38,7 @@ declare const __VLS_export: import("vue").DefineComponent<AccordionProps, {}, {}
32
38
  type: "multiple" | "single";
33
39
  headingLevel: 4 | 3;
34
40
  collapsible: boolean;
41
+ keepMounted: boolean;
35
42
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
43
  declare const _default: typeof __VLS_export;
37
44
  export default _default;
@@ -3,6 +3,12 @@ export interface CollapsibleProps {
3
3
  * Closed by default, because a disclosure that starts open hides nothing.
4
4
  */
5
5
  defaultOpen?: boolean;
6
+ /**
7
+ * Keeps the closed region's content in the document and `hidden`, so a page's server markup
8
+ * carries it and its state survives a close. Without it the React member leaves closed content
9
+ * out. The generated members keep it in every case.
10
+ */
11
+ keepMounted?: boolean;
6
12
  /**
7
13
  * The trigger's text, naming what is disclosed in the product's words.
8
14
  */
@@ -21,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<CollapsibleProps, {}, {}
21
27
  onOpenChange?: ((open: boolean) => any) | undefined;
22
28
  }>, {
23
29
  open: boolean;
30
+ keepMounted: boolean;
24
31
  defaultOpen: boolean;
25
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -27,6 +27,11 @@ export interface CursorPaginationProps {
27
27
  * a feed or a log read from the top.
28
28
  */
29
29
  mode?: 'replace' | 'append';
30
+ /**
31
+ * The next window's address, as `previousHref` is the previous one's: next, or in the append
32
+ * form its action, is a link to it while it can be pressed, and a plain click calls `onNext`.
33
+ */
34
+ nextHref?: string;
30
35
  /**
31
36
  * The requested window has not arrived: the pressed direction shows busy and the other is
32
37
  * disabled, so a slow fetch cannot be followed by a second request.
@@ -37,6 +42,14 @@ export interface CursorPaginationProps {
37
42
  * total, because the list does not return one.
38
43
  */
39
44
  position?: string;
45
+ /**
46
+ * The previous window's address, such as `?before=c25`. Given, previous is a link to it while
47
+ * it can be pressed, so a crawler, a new tab and a reader whose script has not loaded can
48
+ * follow it. A click the browser would follow in this tab calls `onPrevious` in place of the
49
+ * navigation; a click with a modifier key opens the address. The append form does not read it:
50
+ * it has no previous direction.
51
+ */
52
+ previousHref?: string;
40
53
  }
41
54
  declare const __VLS_export: import("vue").DefineComponent<CursorPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
55
  previous: () => any;
@@ -32,7 +32,7 @@ type __VLS_Slots = {
32
32
  secondaryAction?: (props: Record<string, never>) => unknown;
33
33
  };
34
34
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
35
- icon: "warning" | "success" | "info" | "error" | "record" | "key" | "sort" | "filter" | "time" | "search" | "link" | "cite" | "menu" | "table" | "stop" | "click" | "model" | "indeterminate" | "loading" | "visible" | "hidden" | "calendar" | "close" | "copy" | "drag" | "pause" | "add" | "remove" | "delete" | "edit" | "refresh" | "flip" | "download" | "upload" | "share" | "settings" | "home" | "help" | "user" | "folder" | "tag" | "inbox" | "archive" | "comment" | "clear" | "undo" | "mail" | "terminal" | "cloud" | "droplet" | "send" | "duplicate" | "sort-asc" | "sort-desc" | "rotate" | "open-external" | "overflow" | "back" | "forward" | "up" | "down" | "previous" | "next" | "expand" | "collapse" | "locked" | "unlocked" | "favorite" | "pinned" | "notification" | "team" | "document" | "confirm" | "mode-light" | "mode-dark" | "mode-system" | "rating" | "run" | "connect" | "egress" | "denied" | "local" | "device" | "network" | "tool" | "ledger" | "briefing" | "kernel" | "diff" | "browser" | "delivery" | "watch" | "signin" | "attach" | "helpful" | "unhelpful" | "reasoning" | "artifact";
35
+ icon: "warning" | "success" | "info" | "error" | "italic" | "record" | "key" | "sort" | "filter" | "code" | "time" | "search" | "bold" | "link" | "cite" | "menu" | "table" | "stop" | "click" | "model" | "indeterminate" | "loading" | "visible" | "hidden" | "calendar" | "close" | "copy" | "drag" | "pause" | "heading" | "quote" | "down" | "up" | "add" | "remove" | "delete" | "edit" | "refresh" | "flip" | "download" | "upload" | "share" | "settings" | "home" | "help" | "user" | "folder" | "tag" | "inbox" | "archive" | "comment" | "clear" | "undo" | "mail" | "terminal" | "cloud" | "droplet" | "send" | "redo" | "strikethrough" | "duplicate" | "sort-asc" | "sort-desc" | "rotate" | "open-external" | "overflow" | "back" | "forward" | "previous" | "next" | "expand" | "collapse" | "locked" | "unlocked" | "favorite" | "pinned" | "notification" | "team" | "document" | "confirm" | "mode-light" | "mode-dark" | "mode-system" | "rating" | "run" | "connect" | "egress" | "denied" | "local" | "device" | "network" | "tool" | "ledger" | "briefing" | "kernel" | "diff" | "browser" | "delivery" | "watch" | "signin" | "attach" | "helpful" | "unhelpful" | "list-bulleted" | "list-numbered" | "code-block" | "reasoning" | "artifact";
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
38
  declare const _default: typeof __VLS_export;
@@ -14,6 +14,11 @@ export interface ImageProps {
14
14
  * The element's CORS mode. Absent, the request is made without CORS.
15
15
  */
16
16
  crossOrigin?: 'anonymous' | 'use-credentials';
17
+ /**
18
+ * How the browser ranks this fetch among the page's others. `high` is for the one picture that
19
+ * is the first view's largest content, with `loading="eager"`. Absent, the browser decides.
20
+ */
21
+ fetchPriority?: 'auto' | 'high' | 'low';
17
22
  /**
18
23
  * How the picture sits in a frame whose ratio is not its own: `contain` shows all of it,
19
24
  * `cover` fills the frame and crops. Defaults to `contain`, because cropping removes content.
@@ -36,6 +41,14 @@ export interface ImageProps {
36
41
  * The picture's URL. An empty string is the failed state: there is nothing to request.
37
42
  */
38
43
  src: string;
44
+ /**
45
+ * Other files of the same picture, in the element's `srcset` form: each a URL with a width
46
+ * (`640w`) or a density (`2x`). The browser picks one for the screen, and one that does not
47
+ * read the set requests `src`. For a set that gives widths the member writes the element's
48
+ * `sizes` from the frame's box, so no caller writes a length, and the frame needs a box:
49
+ * without one the set is ignored.
50
+ */
51
+ srcSet?: string;
39
52
  /**
40
53
  * The picture's width in CSS pixels, given together with `height`. The two reserve the box
41
54
  * before the picture loads and are its natural size; the frame is never wider than its
@@ -10,6 +10,14 @@ export interface PaginationProps {
10
10
  * the current page too, and no page is asked for.
11
11
  */
12
12
  disabled?: boolean;
13
+ /**
14
+ * A page's address, such as `?page=3`. Given, each control that goes to another page is a link
15
+ * to that page's address, so a crawler, a new tab and a reader whose script has not loaded can
16
+ * follow it. A click the browser would follow in this tab calls `onPageChange` in place of the
17
+ * navigation; a click with a modifier key opens the address. The current page, a control with
18
+ * nowhere to go and a held pager's controls stay buttons.
19
+ */
20
+ getPageHref?: (page: number) => string;
13
21
  label?: string;
14
22
  /**
15
23
  * Omit for the generic English defaults; localized hosts pass their own.
@@ -0,0 +1,59 @@
1
+ import { type RichTextDocument, type RichTextEntity, type RichTextRange } from '@polymorph/vue';
2
+ export type RichTextContentSize = NonNullable<RichTextContentProps['size']>;
3
+ export interface RichTextContentSelection {
4
+ range: RichTextRange;
5
+ text: string;
6
+ }
7
+ export interface RichTextContentMessages {
8
+ selectionBar?: string;
9
+ selectionBarReady?: string;
10
+ }
11
+ export interface RichTextContentProps {
12
+ /**
13
+ * The drawn annotation that is active, such as the thread the app shows.
14
+ */
15
+ activeAnnotation?: string;
16
+ /**
17
+ * The annotations drawn. Default: every one the document holds.
18
+ */
19
+ annotations?: string[];
20
+ /**
21
+ * The page level the document's level 1 heading is drawn at. Each deeper level adds one, up to
22
+ * 4. Default 2, one level under the page's title.
23
+ */
24
+ headingLevel?: 2 | 3 | 4;
25
+ /**
26
+ * The selection bar's words, in the app's language.
27
+ */
28
+ messages?: RichTextContentMessages;
29
+ /**
30
+ * The body text step (Text's `sm` or `md`), which does not change the heading scale.
31
+ */
32
+ size?: 'sm' | 'md';
33
+ /**
34
+ * The stored document. Any JSON is read as far as it can be; what is not a document draws
35
+ * nothing.
36
+ */
37
+ value: RichTextDocument;
38
+ }
39
+ type __VLS_Slots = {
40
+ entity?: (props: RichTextEntity) => unknown;
41
+ selectionActions?: (props: RichTextContentSelection) => unknown;
42
+ };
43
+ declare const __VLS_base: import("vue").DefineComponent<RichTextContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ navigate: (href: string) => any;
45
+ annotationSelect: (id: string) => any;
46
+ }, string, import("vue").PublicProps, Readonly<RichTextContentProps> & Readonly<{
47
+ onNavigate?: ((href: string) => any) | undefined;
48
+ onAnnotationSelect?: ((id: string) => any) | undefined;
49
+ }>, {
50
+ size: "sm" | "md";
51
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
52
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
53
+ declare const _default: typeof __VLS_export;
54
+ export default _default;
55
+ type __VLS_WithSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -0,0 +1,7 @@
1
+ import { type RichTextDrawnBlock } from '@polymorph/vue';
2
+ export interface RichTextContentBlocksProps {
3
+ blocks: RichTextDrawnBlock[];
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<RichTextContentBlocksProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextContentBlocksProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { type RichTextDrawnInline } from '@polymorph/vue';
2
+ export interface RichTextContentInlinesProps {
3
+ inlines: RichTextDrawnInline[];
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<RichTextContentInlinesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextContentInlinesProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { type RichTextDrawnBlock } from '@polymorph/vue';
2
+ export interface RichTextContentItemProps {
3
+ blocks: RichTextDrawnBlock[];
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<RichTextContentItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextContentItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,20 @@
1
1
  {
2
2
  "name": "@metamorph-labs/polymorph-vue-ui",
3
- "version": "1.0.16",
4
- "description": "The polymorph vocabulary for Vue: every member as a single-file component generated from its framework-neutral description, styled by its token-only recipe from @polymorph/recipes.",
3
+ "version": "1.0.17",
4
+ "description": "The Polymorph design system's components for Vue, the vocabulary: every member as a single-file component generated from its framework-neutral description, styled by its token-only recipe from @polymorph/recipes.",
5
+ "keywords": [
6
+ "polymorph",
7
+ "design-system",
8
+ "vue",
9
+ "vue3",
10
+ "ui",
11
+ "components",
12
+ "ui-components",
13
+ "component-library",
14
+ "theming",
15
+ "design-tokens",
16
+ "accessibility"
17
+ ],
5
18
  "type": "module",
6
19
  "exports": {
7
20
  ".": {
@@ -44,8 +57,8 @@
44
57
  "@zag-js/tabs": "^1.46.0",
45
58
  "@zag-js/tooltip": "^1.46.0",
46
59
  "@zag-js/vue": "^1.46.0",
47
- "@polymorph/recipes": "npm:@metamorph-labs/polymorph-recipes@^1.0.16",
48
- "@polymorph/vue": "npm:@metamorph-labs/polymorph-vue@^1.0.16"
60
+ "@polymorph/recipes": "npm:@metamorph-labs/polymorph-recipes@^1.0.17",
61
+ "@polymorph/vue": "npm:@metamorph-labs/polymorph-vue@^1.0.17"
49
62
  },
50
63
  "peerDependencies": {
51
64
  "vue": "^3.5.0"