@humandialog/forms.svelte 1.7.27 → 1.8.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 (258) hide show
  1. package/components/Fab.25.svelte +473 -0
  2. package/components/Fab.25.svelte.d.ts +18 -0
  3. package/components/Fab.svelte +51 -170
  4. package/components/Floating_container.25.svelte +178 -0
  5. package/components/Floating_container.25.svelte.d.ts +23 -0
  6. package/components/Floating_container.svelte +18 -6
  7. package/components/Grid.menu.svelte +15 -16
  8. package/components/Grid.menu.svelte.d.ts +2 -2
  9. package/components/breadcrumb.svelte +27 -27
  10. package/components/checkbox.svelte +1 -1
  11. package/components/combo/combo.svelte +60 -79
  12. package/components/combo/combo.svelte.d.ts +1 -0
  13. package/components/contextmenu-25.svelte +518 -0
  14. package/components/contextmenu-25.svelte.d.ts +26 -0
  15. package/components/contextmenu.svelte +179 -65
  16. package/components/contextmenu.svelte.d.ts +2 -2
  17. package/components/date.svelte +42 -21
  18. package/components/date.svelte.d.ts +1 -0
  19. package/components/delayed.spinner.svelte +2 -1
  20. package/components/document/editor.svelte +21 -31
  21. package/components/document/editor.svelte.d.ts +0 -2
  22. package/components/document/internal/palette.row.svelte +10 -8
  23. package/components/document/internal/palette.svelte +7 -8
  24. package/components/document/rich.edit.svelte +10 -10
  25. package/components/edit.field.svelte +1 -1
  26. package/components/input.text.svelte.d.ts +2 -2
  27. package/components/inputbox.ltop.svelte +1 -1
  28. package/components/inputbox.ltop.svelte.d.ts +12 -12
  29. package/components/kanban/internal/kanban.card.svelte +27 -47
  30. package/components/kanban/internal/kanban.column.svelte +44 -24
  31. package/components/kanban/internal/kanban.inserter.svelte +11 -14
  32. package/components/kanban/internal/kanban.move.menu.svelte +12 -12
  33. package/components/kanban/internal/kanban.props.svelte +24 -9
  34. package/components/kanban/kanban.svelte +24 -77
  35. package/components/kanban/kanban.svelte.d.ts +2 -0
  36. package/components/kanban copy.zip +0 -0
  37. package/components/list/List.d.ts +1 -0
  38. package/components/list/List.js +1 -0
  39. package/components/list/internal/list.element copy.svelte +530 -0
  40. package/components/list/internal/list.element copy.svelte.d.ts +35 -0
  41. package/components/list/internal/list.element.svelte +308 -268
  42. package/components/list/internal/list.element.svelte.d.ts +5 -7
  43. package/components/list/internal/list.inserter.svelte +38 -6
  44. package/components/list/internal/note.txt +5 -0
  45. package/components/list/list.svelte +32 -11
  46. package/components/list/list.svelte.d.ts +5 -3
  47. package/components/list/list.title.svelte +2 -0
  48. package/components/list/list.title.svelte.d.ts +1 -0
  49. package/components/menu.d.ts +1 -1
  50. package/components/menu.js +3 -3
  51. package/components/paginator.svelte +79 -9
  52. package/components/prose.editable.p.svelte.d.ts +2 -2
  53. package/components/prose.editable.span.svelte.d.ts +2 -2
  54. package/components/r.edit.svelte +9 -0
  55. package/components/r.edit.svelte.d.ts +23 -0
  56. package/components/r.editable.svelte +74 -0
  57. package/components/r.editable.svelte.d.ts +31 -0
  58. package/components/r.figcaption.svelte +5 -0
  59. package/components/r.figcaption.svelte.d.ts +27 -0
  60. package/components/r.figure.svelte +25 -0
  61. package/components/r.figure.svelte.d.ts +29 -0
  62. package/components/r.icon.svelte +229 -0
  63. package/components/r.icon.svelte.d.ts +33 -0
  64. package/components/radio.svelte +1 -1
  65. package/components/ricons/arrow-up.svelte +11 -0
  66. package/components/ricons/arrow-up.svelte.d.ts +27 -0
  67. package/components/ricons/barcode.svelte +14 -0
  68. package/components/ricons/barcode.svelte.d.ts +27 -0
  69. package/components/ricons/bold.svelte +10 -0
  70. package/components/ricons/bold.svelte.d.ts +27 -0
  71. package/components/ricons/calendar.svelte +13 -0
  72. package/components/ricons/calendar.svelte.d.ts +27 -0
  73. package/components/ricons/calendars.svelte +16 -0
  74. package/components/ricons/calendars.svelte.d.ts +27 -0
  75. package/components/ricons/cat.svelte +14 -0
  76. package/components/ricons/cat.svelte.d.ts +27 -0
  77. package/components/ricons/check-check.svelte +12 -0
  78. package/components/ricons/check-check.svelte.d.ts +27 -0
  79. package/components/ricons/check.svelte +18 -0
  80. package/components/ricons/check.svelte.d.ts +27 -0
  81. package/components/ricons/chess-rook.svelte +17 -0
  82. package/components/ricons/chess-rook.svelte.d.ts +27 -0
  83. package/components/ricons/chevron-down.svelte +11 -0
  84. package/components/ricons/chevron-down.svelte.d.ts +27 -0
  85. package/components/ricons/chevron-left.svelte +11 -0
  86. package/components/ricons/chevron-left.svelte.d.ts +27 -0
  87. package/components/ricons/chevron-right.svelte +11 -0
  88. package/components/ricons/chevron-right.svelte.d.ts +27 -0
  89. package/components/ricons/chevron-up.svelte +11 -0
  90. package/components/ricons/chevron-up.svelte.d.ts +27 -0
  91. package/components/ricons/chevrons-down.svelte +12 -0
  92. package/components/ricons/chevrons-down.svelte.d.ts +27 -0
  93. package/components/ricons/chevrons-left-right.svelte +12 -0
  94. package/components/ricons/chevrons-left-right.svelte.d.ts +27 -0
  95. package/components/ricons/chevrons-left.svelte +12 -0
  96. package/components/ricons/chevrons-left.svelte.d.ts +27 -0
  97. package/components/ricons/chevrons-right.svelte +12 -0
  98. package/components/ricons/chevrons-right.svelte.d.ts +27 -0
  99. package/components/ricons/chevrons-up-down.svelte +12 -0
  100. package/components/ricons/chevrons-up-down.svelte.d.ts +27 -0
  101. package/components/ricons/chevrons-up.svelte +12 -0
  102. package/components/ricons/chevrons-up.svelte.d.ts +27 -0
  103. package/components/ricons/circle-check.svelte +28 -0
  104. package/components/ricons/circle-check.svelte.d.ts +23 -0
  105. package/components/ricons/circle-dashed.svelte +19 -0
  106. package/components/ricons/circle-dashed.svelte.d.ts +27 -0
  107. package/components/ricons/circle-dot-dashed.svelte +20 -0
  108. package/components/ricons/circle-dot-dashed.svelte.d.ts +27 -0
  109. package/components/ricons/circle.svelte +30 -0
  110. package/components/ricons/circle.svelte.d.ts +23 -0
  111. package/components/ricons/clipboard-list.svelte +17 -0
  112. package/components/ricons/clipboard-list.svelte.d.ts +27 -0
  113. package/components/ricons/clipboard-minus.svelte +9 -0
  114. package/components/ricons/clipboard-minus.svelte.d.ts +23 -0
  115. package/components/ricons/clipboard-pen-line.svelte +18 -0
  116. package/components/ricons/clipboard-pen-line.svelte.d.ts +27 -0
  117. package/components/ricons/code-xml.svelte +12 -0
  118. package/components/ricons/code-xml.svelte.d.ts +27 -0
  119. package/components/ricons/download.svelte +13 -0
  120. package/components/ricons/download.svelte.d.ts +27 -0
  121. package/components/ricons/ellipsis-vertical.svelte +14 -0
  122. package/components/ricons/ellipsis-vertical.svelte.d.ts +27 -0
  123. package/components/ricons/file-archive.svelte +18 -0
  124. package/components/ricons/file-archive.svelte.d.ts +27 -0
  125. package/components/ricons/file-text.svelte +17 -0
  126. package/components/ricons/file-text.svelte.d.ts +27 -0
  127. package/components/ricons/folder.svelte +12 -0
  128. package/components/ricons/folder.svelte.d.ts +27 -0
  129. package/components/ricons/heading-1.svelte +13 -0
  130. package/components/ricons/heading-1.svelte.d.ts +27 -0
  131. package/components/ricons/heading-2.svelte +13 -0
  132. package/components/ricons/heading-2.svelte.d.ts +27 -0
  133. package/components/ricons/heading-3.svelte +14 -0
  134. package/components/ricons/heading-3.svelte.d.ts +27 -0
  135. package/components/ricons/heading-4.svelte +14 -0
  136. package/components/ricons/heading-4.svelte.d.ts +27 -0
  137. package/components/ricons/heading-5.svelte +14 -0
  138. package/components/ricons/heading-5.svelte.d.ts +27 -0
  139. package/components/ricons/image.svelte +12 -0
  140. package/components/ricons/image.svelte.d.ts +27 -0
  141. package/components/ricons/italic.svelte +12 -0
  142. package/components/ricons/italic.svelte.d.ts +27 -0
  143. package/components/ricons/languages.svelte +15 -0
  144. package/components/ricons/languages.svelte.d.ts +27 -0
  145. package/components/ricons/list-checks.svelte +15 -0
  146. package/components/ricons/list-checks.svelte.d.ts +27 -0
  147. package/components/ricons/list-minus.svelte +14 -0
  148. package/components/ricons/list-minus.svelte.d.ts +27 -0
  149. package/components/ricons/list-ordered.svelte +16 -0
  150. package/components/ricons/list-ordered.svelte.d.ts +27 -0
  151. package/components/ricons/list-plus.svelte +14 -0
  152. package/components/ricons/list-plus.svelte.d.ts +27 -0
  153. package/components/ricons/list.svelte +15 -0
  154. package/components/ricons/list.svelte.d.ts +27 -0
  155. package/components/ricons/loader-circle.svelte +19 -0
  156. package/components/ricons/loader-circle.svelte.d.ts +27 -0
  157. package/components/ricons/log-in.svelte +12 -0
  158. package/components/ricons/log-in.svelte.d.ts +27 -0
  159. package/components/ricons/log-out.svelte +12 -0
  160. package/components/ricons/log-out.svelte.d.ts +27 -0
  161. package/components/ricons/message-square.svelte +12 -0
  162. package/components/ricons/message-square.svelte.d.ts +27 -0
  163. package/components/ricons/messages-square.svelte +15 -0
  164. package/components/ricons/messages-square.svelte.d.ts +27 -0
  165. package/components/ricons/minus.svelte +10 -0
  166. package/components/ricons/minus.svelte.d.ts +27 -0
  167. package/components/ricons/notebook-tabs.svelte +19 -0
  168. package/components/ricons/notebook-tabs.svelte.d.ts +27 -0
  169. package/components/ricons/notebook.svelte +16 -0
  170. package/components/ricons/notebook.svelte.d.ts +27 -0
  171. package/components/ricons/package.svelte +22 -0
  172. package/components/ricons/package.svelte.d.ts +27 -0
  173. package/components/ricons/paperclip.svelte +12 -0
  174. package/components/ricons/paperclip.svelte.d.ts +27 -0
  175. package/components/ricons/pencil.svelte +12 -0
  176. package/components/ricons/pencil.svelte.d.ts +27 -0
  177. package/components/ricons/pilcrow.svelte +12 -0
  178. package/components/ricons/pilcrow.svelte.d.ts +27 -0
  179. package/components/ricons/save.svelte +12 -0
  180. package/components/ricons/save.svelte.d.ts +27 -0
  181. package/components/ricons/square-check-big.svelte +13 -0
  182. package/components/ricons/square-check-big.svelte.d.ts +27 -0
  183. package/components/ricons/square-pen.svelte +14 -0
  184. package/components/ricons/square-pen.svelte.d.ts +27 -0
  185. package/components/ricons/square.svelte +10 -0
  186. package/components/ricons/square.svelte.d.ts +27 -0
  187. package/components/ricons/strikethrough.svelte +13 -0
  188. package/components/ricons/strikethrough.svelte.d.ts +27 -0
  189. package/components/ricons/sun-moon.svelte +15 -0
  190. package/components/ricons/sun-moon.svelte.d.ts +27 -0
  191. package/components/ricons/table.svelte +13 -0
  192. package/components/ricons/table.svelte.d.ts +27 -0
  193. package/components/ricons/tag.svelte +12 -0
  194. package/components/ricons/tag.svelte.d.ts +27 -0
  195. package/components/ricons/text-quote.svelte +14 -0
  196. package/components/ricons/text-quote.svelte.d.ts +27 -0
  197. package/components/ricons/turtle.svelte +13 -0
  198. package/components/ricons/turtle.svelte.d.ts +27 -0
  199. package/components/ricons/underline.svelte +11 -0
  200. package/components/ricons/underline.svelte.d.ts +27 -0
  201. package/components/ricons/upload.svelte +13 -0
  202. package/components/ricons/upload.svelte.d.ts +27 -0
  203. package/components/ricons/user.svelte +12 -0
  204. package/components/ricons/user.svelte.d.ts +27 -0
  205. package/components/ricons/users.svelte +14 -0
  206. package/components/ricons/users.svelte.d.ts +27 -0
  207. package/components/ricons/x.svelte +11 -0
  208. package/components/ricons/x.svelte.d.ts +27 -0
  209. package/components/sidebar/sidebar.brand.svelte +14 -13
  210. package/components/sidebar/sidebar.brand.svelte.d.ts +2 -2
  211. package/components/sidebar/sidebar.group.svelte +52 -30
  212. package/components/sidebar/sidebar.item.svelte +35 -141
  213. package/components/sidebar/sidebar.item.svelte.d.ts +2 -5
  214. package/components/sidebar/sidebar.list.svelte +8 -8
  215. package/components/sidebar/sidebar.svelte +19 -2
  216. package/components/simple.table.svelte.d.ts +4 -4
  217. package/components/table/_template.table.svelte.d.ts +4 -4
  218. package/components/tags.svelte +10 -3
  219. package/components/tags.svelte.d.ts +1 -0
  220. package/components/textarea.ltop.svelte.d.ts +2 -2
  221. package/components/tile.title.svelte.d.ts +2 -2
  222. package/desk.svelte +122 -128
  223. package/dialog.svelte +17 -7
  224. package/form.box.svelte.d.ts +4 -4
  225. package/horizontal.nav.tabs.svelte +197 -23
  226. package/horizontal.nav.tabs.svelte.d.ts +2 -2
  227. package/horizontal.toolbar.svelte +25 -18
  228. package/horizontal.toolbar.svelte.d.ts +2 -2
  229. package/index.d.ts +10 -3
  230. package/index.js +10 -3
  231. package/operations.svelte +51 -22
  232. package/package.json +89 -1
  233. package/page.row.svelte.d.ts +2 -2
  234. package/page.svelte +17 -7
  235. package/page.svelte.d.ts +10 -10
  236. package/paper.header.svelte +4 -0
  237. package/paper.header.svelte.d.ts +27 -0
  238. package/paper.nav.svelte +8 -0
  239. package/paper.nav.svelte.d.ts +27 -0
  240. package/paper.svelte +22 -6
  241. package/paper.svelte.d.ts +2 -0
  242. package/paper.table.svelte +27 -0
  243. package/paper.table.svelte.d.ts +27 -0
  244. package/paper.top.margin.svelte +5 -0
  245. package/paper.top.margin.svelte.d.ts +27 -0
  246. package/stores.d.ts +1 -1
  247. package/tenant.create.svelte +93 -0
  248. package/tenant.create.svelte.d.ts +29 -0
  249. package/tenant.members.svelte +116 -93
  250. package/tile.svelte.d.ts +4 -4
  251. package/tiles.row.svelte.d.ts +2 -2
  252. package/tiles.vertical.row.svelte.d.ts +2 -2
  253. package/updates.d.ts +4 -0
  254. package/updates.js +56 -14
  255. package/utils.d.ts +16 -4
  256. package/utils.js +214 -99
  257. package/vertical.toolbar.svelte +62 -47
  258. package/vertical.toolbar.svelte.d.ts +2 -2
@@ -29,7 +29,7 @@ import History from "@tiptap/extension-history";
29
29
  import { Plugin, PluginKey } from "@tiptap/pm/state";
30
30
  import { getAttributes } from "@tiptap/core";
31
31
  import { data_tick_store, contextItemsStore, contextTypesStore, onErrorShowAlert, pushToolsActionsOperations, popToolsActionsOperations, fabHiddenDueToPopup } from "../../stores.js";
32
- import { informModification, pushChanges } from "../../updates.js";
32
+ import { setjItemProperty, pushChanges } from "../../updates.js";
33
33
  import { isDeviceSmallerThan, parseWidthDirective, refreshToolbarOperations, UI } from "../../utils.js";
34
34
  import Palette from "./internal/palette.svelte";
35
35
  import {
@@ -65,7 +65,6 @@ export let a = "";
65
65
  export let context = "";
66
66
  export let typename = "";
67
67
  export let compact = false;
68
- export let onSingleChange = void 0;
69
68
  export let onApplyChanges = void 0;
70
69
  export let onFocusCb = void 0;
71
70
  export let onBlurCb = void 0;
@@ -73,7 +72,6 @@ export let onAddImage = void 0;
73
72
  export let onRemoveImage = void 0;
74
73
  export let onLinkClick = void 0;
75
74
  export let c = "";
76
- export let pushChangesImmediately = true;
77
75
  export let chat = void 0;
78
76
  export let readOnly = false;
79
77
  export let extraFrontPaletteCommands = [];
@@ -602,7 +600,7 @@ onMount(() => {
602
600
  editable: !readOnly,
603
601
  editorProps: {
604
602
  attributes: {
605
- class: `${cs} ${appearance_class} prose prose-base sm:prose-base dark:prose-invert ${additional_class} whitespace-pre-wrap focus:outline-none`
603
+ class: `${cs} ${appearance_class} ${additional_class} whitespace-pre-wrap focus:outline-none`
606
604
  }
607
605
  },
608
606
  element: editorElement,
@@ -660,10 +658,7 @@ onMount(() => {
660
658
  if (wasContentChanged) {
661
659
  hasChangedValue = true;
662
660
  changedValue = editor2.getHTML();
663
- if (onSingleChange)
664
- onSingleChange(changedValue);
665
- else
666
- logChanges();
661
+ logChanges();
667
662
  handleImagesChanges(transaction);
668
663
  }
669
664
  refreshToolbarOperations();
@@ -738,18 +733,13 @@ function saveData() {
738
733
  return true;
739
734
  } else if (item && a) {
740
735
  logChanges();
741
- if (pushChangesImmediately)
742
- pushChanges(refreshToolbarOperations);
736
+ pushChanges(refreshToolbarOperations);
743
737
  return true;
744
738
  }
745
739
  return false;
746
740
  }
747
741
  function logChanges() {
748
- item[a] = changedValue;
749
- if (typename)
750
- informModification(item, a, typename);
751
- else
752
- informModification(item, a);
742
+ setjItemProperty(item, a, changedValue);
753
743
  }
754
744
  let palette = null;
755
745
  let is_command_palette_visible = false;
@@ -1052,50 +1042,50 @@ export function setCursorPos(num) {
1052
1042
  editor.commands.focus(num);
1053
1043
  }
1054
1044
  const paletteMarksCommands = () => [
1055
- { caption: i18n({ en: "Bold", es: "Negrita", pl: "Pogrubiony" }), description: "Marks text as bolded", tags: "strong,bold", icon: FaBold, on_choice: makeBold, is_active: () => editor?.isActive("bold") },
1056
- { caption: i18n({ en: "Italic", es: "Cursiva", pl: "Kursywa" }), description: "Marks text as italic", tags: "italic,em", icon: FaItalic, on_choice: makeItalic, is_active: () => editor?.isActive("italic") },
1057
- { caption: i18n({ en: "Underline", es: "Subrayar", pl: "Podkre\u015Blenie" }), description: "Marks text as underlined", tags: "under", icon: FaUnderline, on_choice: makeUnderline, is_active: () => editor?.isActive("underline") },
1058
- { caption: i18n({ en: "Strikethrough", es: "Tachado", pl: "Przekre\u015Blenie" }), description: "Marks text as strikethrough", tags: "strike", icon: FaStrikethrough, on_choice: makeStrikethrough, is_active: () => editor?.isActive("strike") }
1045
+ { caption: i18n({ en: "Bold", es: "Negrita", pl: "Pogrubiony" }), description: "Marks text as bolded", tags: "strong,bold", mricon: "bold", on_choice: makeBold, is_active: () => editor?.isActive("bold") },
1046
+ { caption: i18n({ en: "Italic", es: "Cursiva", pl: "Kursywa" }), description: "Marks text as italic", tags: "italic,em", mricon: "italic", on_choice: makeItalic, is_active: () => editor?.isActive("italic") },
1047
+ { caption: i18n({ en: "Underline", es: "Subrayar", pl: "Podkre\u015Blenie" }), description: "Marks text as underlined", tags: "under", mricon: "underline", on_choice: makeUnderline, is_active: () => editor?.isActive("underline") },
1048
+ { caption: i18n({ en: "Strikethrough", es: "Tachado", pl: "Przekre\u015Blenie" }), description: "Marks text as strikethrough", tags: "strike", mricon: "strikethrough", on_choice: makeStrikethrough, is_active: () => editor?.isActive("strike") }
1059
1049
  ];
1060
1050
  const paletteStylesCommands = () => [
1061
- { caption: i18n({ en: "Heading 1", es: "T\xEDtulo 1", pl: "Nag\u0142\xF3wek 1" }), description: "Description heading", tags: "h1,head", icon: IcH1, on_choice: (range) => {
1051
+ { caption: i18n({ en: "Heading 1", es: "T\xEDtulo 1", pl: "Nag\u0142\xF3wek 1#" }), description: "Description heading", tags: "h1,head", mricon: "heading-1", on_choice: (range) => {
1062
1052
  if (range)
1063
1053
  editor.chain().focus().deleteRange(range).setHeading({ level: 1 }).run();
1064
1054
  else
1065
1055
  editor.chain().focus().setHeading({ level: 1 }).run();
1066
1056
  }, is_active: () => editor?.isActive("heading", { level: 1 }) },
1067
- { caption: i18n({ en: "Heading 2", es: "T\xEDtulo 2", pl: "Nag\u0142\xF3wek 2" }), description: "Secondary heading", tags: "h2,head", icon: IcH2, on_choice: (range) => {
1057
+ { caption: i18n({ en: "Heading 2", es: "T\xEDtulo 2", pl: "Nag\u0142\xF3wek 2" }), description: "Secondary heading", tags: "h2,head", mricon: "heading-2", on_choice: (range) => {
1068
1058
  if (range)
1069
1059
  editor.chain().focus().deleteRange(range).setHeading({ level: 2 }).run();
1070
1060
  else
1071
1061
  editor.chain().focus().setHeading({ level: 2 }).run();
1072
1062
  }, is_active: () => editor?.isActive("heading", { level: 2 }) },
1073
- { caption: i18n({ en: "Heading 3", es: "T\xEDtulo 3", pl: "Nag\u0142\xF3wek 3" }), description: "Secondary heading", tags: "h3,head", icon: IcH3, on_choice: (range) => {
1063
+ { caption: i18n({ en: "Heading 3", es: "T\xEDtulo 3", pl: "Nag\u0142\xF3wek 3" }), description: "Secondary heading", tags: "h3,head", mricon: "heading-3", on_choice: (range) => {
1074
1064
  if (range)
1075
1065
  editor.chain().focus().deleteRange(range).setHeading({ level: 3 }).run();
1076
1066
  else
1077
1067
  editor.chain().focus().setHeading({ level: 3 }).run();
1078
1068
  }, is_active: () => editor?.isActive("heading", { level: 3 }) },
1079
- { caption: i18n({ en: "Heading 4", es: "T\xEDtulo 4", pl: "Nag\u0142\xF3wek 4" }), description: "Secondary heading", tags: "h4,head", icon: IcH4, on_choice: (range) => {
1069
+ { caption: i18n({ en: "Heading 4", es: "T\xEDtulo 4", pl: "Nag\u0142\xF3wek 4" }), description: "Secondary heading", tags: "h4,head", mricon: "heading-4", on_choice: (range) => {
1080
1070
  if (range)
1081
1071
  editor.chain().focus().deleteRange(range).setHeading({ level: 4 }).run();
1082
1072
  else
1083
1073
  editor.chain().focus().setHeading({ level: 4 }).run();
1084
1074
  }, is_active: () => editor?.isActive("heading", { level: 4 }) },
1085
- { caption: i18n({ en: "Normal", es: "Normal", pl: "Normalny" }), description: "This is normal text style", tags: "paragraph,text,normal", icon: FaRemoveFormat, on_choice: (range) => {
1075
+ { caption: i18n({ en: "Normal", es: "Normal", pl: "Normalny" }), description: "This is normal text style", tags: "paragraph,text,normal", mricon: "pilcrow", on_choice: (range) => {
1086
1076
  if (range)
1087
1077
  editor.chain().focus().deleteRange(range).setParagraph().run();
1088
1078
  else
1089
1079
  editor.chain().focus().setParagraph().run();
1090
1080
  }, is_active: () => editor?.isActive("paragraph") },
1091
- { caption: i18n({ en: "Code", es: "C\xF3digo", pl: "Kod" }), description: "Source code monospace text", tags: "code", icon: FaCode, on_choice: (range) => {
1081
+ { caption: i18n({ en: "Code", es: "C\xF3digo", pl: "Kod" }), description: "Source code monospace text", tags: "code", mricon: "code-xml", on_choice: (range) => {
1092
1082
  if (range)
1093
1083
  editor.chain().focus().deleteRange(range).setCodeBlock().run();
1094
1084
  else
1095
1085
  editor.chain().focus().setCodeBlock().run();
1096
1086
  }, is_active: () => editor?.isActive("CodeBlock") },
1097
1087
  // { caption: 'Comment', description: 'With this you can comment the above paragraph', icon: FaComment, on_choice: (range) => { if(range) editor.chain().focus().deleteRange(range).setAsComment().run(); else editor.chain().focus().setAsComment().run() }, is_active: () => editor?.isActive('CommentBlock') } ,
1098
- { caption: i18n({ en: "Quote", es: "Cita", pl: "Cytat" }), description: "To quote someone", tags: "quote", icon: FaQuoteRight, on_choice: (range) => {
1088
+ { caption: i18n({ en: "Quote", es: "Cita", pl: "Cytat" }), description: "To quote someone", tags: "quote", mricon: "text-quote", on_choice: (range) => {
1099
1089
  if (range)
1100
1090
  editor.chain().focus().deleteRange(range).setAsQuote().run();
1101
1091
  else
@@ -1103,7 +1093,7 @@ const paletteStylesCommands = () => [
1103
1093
  }, is_active: () => editor?.isActive("QuoteBlock") },
1104
1094
  // { caption: 'Warning', description: 'An important warning to above paragraph', icon: FaExclamationTriangle, on_choice: (range) => { if(range) editor.chain().focus().deleteRange(range).setAsWarning().run(); else editor.chain().focus().setAsWarning().run() }, is_active: () => editor?.isActive('WarningBlock') } ,
1105
1095
  // { caption: 'Info', description: 'An important info about above paragraph', icon: FaInfo, on_choice: (range) => { if(range) editor.chain().focus().deleteRange(range).setAsInfo().run(); else editor.chain().focus().setAsInfo().run() }, is_active: () => editor?.isActive('InfoBlock') },
1106
- { caption: i18n({ en: "BulletList", es: "Lista con vi\xF1etas", pl: "Lista punktowana" }), description: "Unordered list of items", tags: "bullet", icon: FaListUl, on_choice: (range) => {
1096
+ { caption: i18n({ en: "BulletList", es: "Lista con vi\xF1etas", pl: "Lista punktowana" }), description: "Unordered list of items", tags: "bullet", mricon: "list", on_choice: (range) => {
1107
1097
  if (range)
1108
1098
  editor.chain().focus().deleteRange(range).toggleBulletList().run();
1109
1099
  else
@@ -1111,19 +1101,19 @@ const paletteStylesCommands = () => [
1111
1101
  }, is_active: () => editor?.isActive("bulletList") }
1112
1102
  ];
1113
1103
  const paletteInsertCommands = () => [
1114
- { caption: i18n({ en: "Image", es: "Imagen", pl: "Obraz" }), description: "Add image to document", tags: "img,picture", icon: FaImage, on_choice: (range) => {
1104
+ { caption: i18n({ en: "Image", es: "Imagen", pl: "Obraz" }), description: "Add image to document", tags: "img,picture", mricon: "image", on_choice: (range) => {
1115
1105
  if (range)
1116
1106
  editor.chain().focus().deleteRange(range).run();
1117
1107
  if (onAddImage)
1118
1108
  onAddImage(onAddedImageReady);
1119
1109
  } },
1120
- { caption: i18n({ en: "Table", es: "Tabla", pl: "Tabela" }), description: "Table", tags: "table", icon: FaTable, on_choice: (range) => {
1110
+ { caption: i18n({ en: "Table", es: "Tabla", pl: "Tabela" }), description: "Table", tags: "table", mricon: "table", on_choice: (range) => {
1121
1111
  if (range)
1122
1112
  editor.chain().focus().deleteRange(range).insertTable().run();
1123
1113
  else
1124
1114
  editor.chain().focus().insertTable().run();
1125
1115
  }, is_active: () => editor?.isActive("table") },
1126
- { caption: i18n({ en: "Horizontal rule", es: "Regla horizontal", pl: "Pozioma linia" }), description: "Add horizonal role", tags: "hr,line", icon: FaGripLines, on_choice: (range) => {
1116
+ { caption: i18n({ en: "Horizontal rule", es: "Regla horizontal", pl: "Pozioma linia" }), description: "Add horizonal role", tags: "hr,line", mricon: "minus", on_choice: (range) => {
1127
1117
  if (range)
1128
1118
  editor.chain().focus().deleteRange(range).setHorizontalRule().run();
1129
1119
  else
@@ -1266,7 +1256,7 @@ function getPaletteCommands() {
1266
1256
 
1267
1257
 
1268
1258
 
1269
- <div on:click
1259
+ <div on:click
1270
1260
  bind:this={editorElement} />
1271
1261
 
1272
1262
  <Palette commands={getPaletteCommands()}
@@ -9,7 +9,6 @@ declare const __propDef: {
9
9
  context?: string | undefined;
10
10
  typename?: string | undefined;
11
11
  compact?: boolean | undefined;
12
- onSingleChange?: Function | undefined;
13
12
  onApplyChanges?: Function | undefined;
14
13
  onFocusCb?: undefined;
15
14
  onBlurCb?: undefined;
@@ -17,7 +16,6 @@ declare const __propDef: {
17
16
  onRemoveImage?: undefined;
18
17
  onLinkClick?: Function | undefined;
19
18
  c?: string | undefined;
20
- pushChangesImmediately?: boolean | undefined;
21
19
  chat?: object | undefined;
22
20
  readOnly?: boolean | undefined;
23
21
  extraFrontPaletteCommands?: any[] | undefined;
@@ -1,5 +1,6 @@
1
1
  <svelte:options accessors={true}/>
2
2
  <script>import Icon from "../../icon.svelte";
3
+ import Ricon from "../../r.icon.svelte";
3
4
  export let id;
4
5
  export let cmd;
5
6
  export let width_px = 400;
@@ -31,17 +32,18 @@ export function scrollToView() {
31
32
  </script>
32
33
 
33
34
  <!-- svelte-ignore a11y-click-events-have-key-events -->
34
- <div id={id} class="w-full text-left flex flew-row cursor-context-menu {active_class} {cl}"
35
- on:click
35
+ <div id={id} class="w-full text-left flex flew-row justify-between cursor-context-menu {active_class} {cl}"
36
+ on:click
36
37
  on:mousemove
37
38
  on:mousedown
38
39
  bind:this={element}>
40
+
41
+
39
42
  <div class="flex items-center justify-center space-x-10 px-4 py-2 ml-12 sm:ml-0" >
40
- {#if cmd.icon}
41
- <Icon s="md" component={cmd.icon}/>
42
- {/if}
43
+ <Ricon icon = {cmd.mricon} s/>
44
+ </div>
45
+ <div class="py-2 grow">
46
+ <span>{cmd.caption}</span>
43
47
  </div>
44
-
45
- <h4>{cmd.caption}</h4>
46
- </div>
47
48
 
49
+ </div>
@@ -273,7 +273,7 @@ function isRowActive(cmd) {
273
273
  </script>
274
274
 
275
275
  {#if isToolbox}
276
- <menu class=" bg-white dark:bg-stone-800 text-stone-500 dark:text-stone-400 rounded-lg border border-stone-200 dark:border-stone-700 shadow-md
276
+ <menu class=" bg-white dark:bg-stone-800 text-stone-500 dark:text-stone-400 rounded-lg border border-stone-200 dark:border-stone-700 shadow-md
277
277
  z-40
278
278
  flex flex-row flex-nowrap fixed"
279
279
  style={css_style}
@@ -291,12 +291,12 @@ function isRowActive(cmd) {
291
291
  {@const active=isRowActive(cmd)}
292
292
  <button class="font-medium m-0 py-2 mr-4 text-lg sm:text-sm w-full text-left flex flex-row cursor-context-menu focus:outline-none"
293
293
  class:dark:bg-stone-700={active}
294
- class:bg-stone-300={active}
294
+ class:bg-stone-200={active}
295
295
  {id}
296
296
  bind:this={rows[idx]}
297
297
  on:click={ () => { execute_mouse_click(cmd.on_choice); }}
298
298
  on:mousedown={buttonMousedown}>
299
-
299
+
300
300
  <div class="flex items-center justify-center mt-1 sm:mt-0.5" style:width={`${icon_placeholder_size*0.25}rem`}>
301
301
  {#if cmd.icon}
302
302
  {@const cc = mobile ? 7 : 6}
@@ -314,7 +314,7 @@ function isRowActive(cmd) {
314
314
  <!--div hidden={!visible}-->
315
315
 
316
316
  <div hidden={!visible}
317
- class=" bg-white dark:bg-stone-800 text-stone-500 dark:text-stone-400 rounded-lg border border-stone-200 dark:border-stone-700 shadow-md
317
+ class=" bg-white dark:bg-stone-800 text-stone-500 dark:text-stone-400 rounded-lg border border-stone-200 dark:border-stone-700 shadow-md
318
318
  z-40 fixed"
319
319
  id="__hd_FormattingPalette"
320
320
  bind:this={paletteElement}
@@ -324,7 +324,7 @@ function isRowActive(cmd) {
324
324
  {#key closeButtonPos}
325
325
  <button class=" text-stone-800 dark:text-stone-400
326
326
  fixed w-6 h-6 flex items-center justify-center
327
- focus:outline-none font-medium text-sm text-center"
327
+ focus:outline-none font-medium text-sm text-center"
328
328
  style={closeButtonPos}
329
329
  on:mousedown={buttonMousedown}
330
330
  on:click={ () => hide() }> <!-- rounded-full text-stone-500 bg-stone-200/70 hover:bg-stone-200 dark:text-stone-500 dark:bg-stone-700/80 dark:hover:bg-stone-700 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800 -->
@@ -362,7 +362,6 @@ function isRowActive(cmd) {
362
362
 
363
363
  </div>
364
364
  <!---/div-->
365
-
366
-
367
- {/if}
368
365
 
366
+
367
+ {/if}
@@ -62,8 +62,8 @@ let appearance_class;
62
62
  if (compact)
63
63
  appearance_class = "";
64
64
  else
65
- appearance_class = `bg-stone-50 border border-stone-300 rounded-md
66
- dark:bg-stone-700 dark:border-stone-600
65
+ appearance_class = `bg-stone-50 border border-stone-300 rounded-md
66
+ dark:bg-stone-700 dark:border-stone-600
67
67
  px-2.5`;
68
68
  let last_tick = -1;
69
69
  $: {
@@ -994,21 +994,21 @@ function saveData() {
994
994
  return false;
995
995
  }
996
996
  let commands = [
997
- { caption: "Normal", description: "This is normal text style", tags: "text", icon: FaRemoveFormat, on_choice: () => {
997
+ { caption: "Normal", description: "This is normal text style", tags: "text", mricon: "pilcrow", on_choice: () => {
998
998
  do_format("p", "");
999
999
  } },
1000
1000
  // { caption: 'Heading 1', description: 'Big section heading', tags: 'h1', icon: FaHead, icon_size: 6, on_choice: () => { do_format('h2', '') } } ,
1001
1001
  // { caption: 'Heading 2', description: 'Medium section heading', tags: 'h2', icon: FaHead, icon_size: 5, on_choice: () => { do_format('h3', '') } } ,
1002
1002
  // { caption: 'Heading 3', description: 'Small section heading', tags: 'h3', icon: FaHead, icon_size: 4, on_choice: () => { do_format('h4', '') } } ,
1003
- { caption: "Heading 1", description: "Description heading", tags: "h1", icon: IcH1, on_choice: () => {
1003
+ { caption: "Heading 1", description: "Description heading", tags: "h1", mricon: "heading-1", on_choice: () => {
1004
1004
  do_format("h1", "");
1005
1005
  } },
1006
- { caption: "Heading 2", description: "Description heading", tags: "h2", icon: IcH2, on_choice: () => {
1006
+ { caption: "Heading 2", description: "Description heading", tags: "h2", mricon: "heading-2", on_choice: () => {
1007
1007
  do_format("h2", "");
1008
1008
  } },
1009
1009
  // { caption: 'Heading 2', description: 'Medium description heading', tags: 'h3', icon: FaHead, icon_size: 5, on_choice: () => { do_format('h3', '') } } ,
1010
1010
  // { caption: 'Heading 3', description: 'Small description heading', tags: 'h4', icon: FaHead, icon_size: 4, on_choice: () => { do_format('h4', '') } } ,
1011
- { caption: "Code", description: "Source code monospace text", icon: FaCode, on_choice: () => {
1011
+ { caption: "Code", description: "Source code monospace text", mricon: "code-xml", on_choice: () => {
1012
1012
  do_format("p", "ml-6 text-sm font-mono break-normal text-pink-700 dark:text-pink-600");
1013
1013
  } },
1014
1014
  { caption: "Comment", description: "With this you can comment the above paragraph", icon: FaComments, on_choice: () => {
@@ -1026,12 +1026,12 @@ let commands = [
1026
1026
  ];
1027
1027
  </script>
1028
1028
 
1029
- <div contenteditable="true"
1029
+ <div contenteditable="true"
1030
1030
  bind:this={editable_div}
1031
1031
  on:keyup={on_keyup}
1032
1032
  on:keydown={on_keydown}
1033
1033
  on:mouseup={on_mouseup}
1034
- class="{cs} {appearance_class}
1034
+ class="{cs} {appearance_class}
1035
1035
  prose prose-base sm:prose-base dark:prose-invert {additional_class} overflow-y-auto whitespace-pre-wrap"
1036
1036
  on:blur={on_blur}
1037
1037
  on:focus={on_focus}
@@ -1041,8 +1041,8 @@ let commands = [
1041
1041
  {@html value}
1042
1042
  </div>
1043
1043
 
1044
- <Palette commands={commands}
1045
- bind:this={palette}
1044
+ <Palette commands={commands}
1045
+ bind:this={palette}
1046
1046
  on:palette_shown={on_palette_shown}
1047
1047
  on:palette_hidden={on_palette_hidden}
1048
1048
  on:palette_mouse_click={on_palette_mouse_click}/>
@@ -12,7 +12,7 @@ export let context = "";
12
12
  export let typename = "";
13
13
  export let inserter = false;
14
14
  export let c = "";
15
- export let pushChangesImmediately = true;
15
+ export let pushChangesImmediately = false;
16
16
  let is_table_component = getContext("rIs-table-component");
17
17
  let item = null;
18
18
  let input_box_is_active = false;
@@ -2,8 +2,8 @@
2
2
  /** @typedef {typeof __propDef.events} InputEvents */
3
3
  /** @typedef {typeof __propDef.slots} InputSlots */
4
4
  export default class Input extends SvelteComponentTyped<{
5
- i?: null | undefined;
6
5
  s?: string | undefined;
6
+ i?: null | undefined;
7
7
  placeholder?: string | undefined;
8
8
  fld?: string | undefined;
9
9
  }, {
@@ -16,8 +16,8 @@ export type InputSlots = typeof __propDef.slots;
16
16
  import { SvelteComponentTyped } from "svelte";
17
17
  declare const __propDef: {
18
18
  props: {
19
- i?: null | undefined;
20
19
  s?: string | undefined;
20
+ i?: null | undefined;
21
21
  placeholder?: string | undefined;
22
22
  fld?: string | undefined;
23
23
  };
@@ -18,7 +18,7 @@
18
18
  export let val = ''
19
19
 
20
20
  export let placeholder = 'pl'
21
- export let pushChangesImmediately = true;
21
+ export let pushChangesImmediately = false;
22
22
 
23
23
  export let required = false;
24
24
  export let readonly = false;
@@ -4,18 +4,18 @@
4
4
  export default class Inputbox extends SvelteComponentTyped<{
5
5
  [x: string]: any;
6
6
  a?: string | undefined;
7
- label?: string | undefined;
8
- s?: string | undefined;
9
- self?: null | undefined;
10
- invalid?: boolean | undefined;
11
- placeholder?: string | undefined;
12
7
  context?: string | undefined;
8
+ self?: null | undefined;
13
9
  typename?: string | undefined;
14
10
  c?: string | undefined;
11
+ invalid?: boolean | undefined;
12
+ label?: string | undefined;
13
+ s?: string | undefined;
14
+ placeholder?: string | undefined;
15
+ required?: boolean | undefined;
15
16
  pushChangesImmediately?: boolean | undefined;
16
17
  itype?: string | undefined;
17
18
  val?: string | undefined;
18
- required?: boolean | undefined;
19
19
  readonly?: boolean | undefined;
20
20
  validation?: any;
21
21
  validate?: (() => boolean) | undefined;
@@ -36,18 +36,18 @@ declare const __propDef: {
36
36
  props: {
37
37
  [x: string]: any;
38
38
  a?: string | undefined;
39
- label?: string | undefined;
40
- s?: string | undefined;
41
- self?: null | undefined;
42
- invalid?: boolean | undefined;
43
- placeholder?: string | undefined;
44
39
  context?: string | undefined;
40
+ self?: null | undefined;
45
41
  typename?: string | undefined;
46
42
  c?: string | undefined;
43
+ invalid?: boolean | undefined;
44
+ label?: string | undefined;
45
+ s?: string | undefined;
46
+ placeholder?: string | undefined;
47
+ required?: boolean | undefined;
47
48
  pushChangesImmediately?: boolean | undefined;
48
49
  itype?: string | undefined;
49
50
  val?: string | undefined;
50
- required?: boolean | undefined;
51
51
  readonly?: boolean | undefined;
52
52
  validation?: any;
53
53
  validate?: (() => boolean) | undefined;
@@ -10,7 +10,8 @@ import {
10
10
  showFloatingToolbar,
11
11
  informModification,
12
12
  pushChanges,
13
- startEditing
13
+ startEditing,
14
+ Ricon
14
15
  } from "../../..";
15
16
  import { FaRegFileAlt } from "svelte-icons/fa";
16
17
  import Properties from "./kanban.props.svelte";
@@ -24,7 +25,7 @@ $:
24
25
  $:
25
26
  selectedClass = isCardSelected ? "!border-blue-300 dark:!border-blue-300/50" : "";
26
27
  $:
27
- focusedClass = isCardActive ? "bg-stone-100 dark:bg-stone-700" : "";
28
+ focusedClass = isCardActive ? "bg-stone-200 dark:bg-stone-700 outline outline-8 outline-stone-200 dark:outline-stone-700 ring-1 ring-offset-8 ring-stone-300 dark:ring-stone-700" : "";
28
29
  $:
29
30
  isLinkLike = isCardActive && (!!definition.titleHref || !!definition.titleHrefFunc);
30
31
  function calculate_active(...args) {
@@ -175,10 +176,9 @@ function showAttachementIcon() {
175
176
 
176
177
  <!-- svelte-ignore a11y-click-events-have-key-events -->
177
178
 
178
- <li class="mx-2 pt-2 pb-4 px-1 rounded-md border border-transparent {selectedClass} {focusedClass} scroll-mt-[50px] sm:scroll-mt-[40px]"
179
- class:cursor-pointer={!isCardActive}
179
+ <figure class="{selectedClass} {focusedClass} "
180
180
  on:click={activate}
181
- use:selectable={item}
181
+ use:selectable={item}
182
182
  bind:this={card}>
183
183
 
184
184
  <!-- -->
@@ -189,7 +189,7 @@ function showAttachementIcon() {
189
189
  bind:this={moveButton}>
190
190
  <FaArrowsAlt/>
191
191
  </button>
192
-
192
+
193
193
  {#if $$slots.kanbanCardTopProps}
194
194
  <div class="ml-auto flex flex-row gap-2">
195
195
  <slot name="kanbanCardTopProps" element={item}/>
@@ -198,37 +198,31 @@ function showAttachementIcon() {
198
198
  </section-->
199
199
 
200
200
  {#if $$slots.kanbanCardTopProps}
201
- <section class="flex flex-row justify-between">
202
201
  <slot name="kanbanCardTopProps" element={item}/>
203
- </section>
204
202
  {/if}
205
203
  <Properties position={KanbanCardTop} {item} bind:this={topProps}/>
206
-
204
+
207
205
 
208
206
  {#if isCardActive}
209
207
  {@const hasOpen = !!definition.onOpen}
210
208
  {@const canOpen = isLinkLike || hasOpen}
211
- {@const openableClass = canOpen ? "sm:hover:cursor-pointer underline" : ""}
212
209
  {@const showIcon = showAttachementIcon()}
213
210
  <!-- whitespace-nowrap overflow-clip -->
214
- <h3 class=" h3 text-base font-semibold pb-1
215
- w-full sm:flex-none
216
- relative {openableClass}"
217
- use:editable={{
218
- action: (text) => onTitleChanged(text),
211
+ <h4 class = "font-semibold relative"
212
+ use:editable={{
213
+ action: (text) => onTitleChanged(text),
219
214
  active: false,
220
215
  readonly: definition.titleReadOnly,
221
216
  onFinish: (d) => {titleElement.blur()},
222
217
  onSoftEnter: async (text) => { onTitleChanged(text); await editProperty('Summary') }
223
218
  }}
224
219
  use:conditionalClick={{
225
- condition: hasOpen,
220
+ condition: hasOpen,
226
221
  callback: performOpen}}
227
222
  bind:this={titleElement}>
228
-
229
223
  {#if isLinkLike}
230
- <a href={getHRef()} use:link>
231
- {item[definition.titleAttrib]}
224
+ <a class= "font-semibold" href={getHRef()} use:link>
225
+ {item[definition.titleAttrib]}
232
226
  </a>
233
227
  {:else}
234
228
  {item[definition.titleAttrib]}
@@ -236,32 +230,27 @@ function showAttachementIcon() {
236
230
 
237
231
 
238
232
  {#if showIcon}
239
- <span id="attachement" class="absolute top-1 right-0 w-5 h-5 sm:w-3 sm:h-3">
240
- <FaRegFileAlt/>
233
+ <span id="attachement" class="absolute top-1 right-0">
234
+ <Ricon icon="file-text" xs/>
241
235
  </span>
242
236
  {/if}
243
- </h3>
244
237
 
238
+ </h4>
245
239
  <!--Tooltip type='light' triggeredBy="#attachement">Has attachement</Tooltip-->
246
-
247
-
248
-
240
+
241
+
242
+
249
243
  {:else}
250
244
  <!-- whitespace-nowrap overflow-clip -->
251
- <h3 class=" text-base font-semibold pb-1
252
- sm:text-base sm:font-semibold
253
- w-full sm:flex-none
254
- relative">
245
+ <h4>
255
246
  {item[definition.titleAttrib]}
256
247
 
257
- </h3>
248
+ </h4>
258
249
  {/if}
259
250
 
260
251
 
261
252
  {#if $$slots.kanbanCardMiddleProps}
262
- <section class="w-full flex flex-row">
263
253
  <slot name="kanbanCardMiddleProps" element={item} />
264
- </section>
265
254
  {/if}
266
255
 
267
256
  <Properties position={KanbanCardMiddle} {item} bind:this={middleProps}/>
@@ -269,27 +258,18 @@ function showAttachementIcon() {
269
258
  {#if item[definition.summaryAttrib] || summaryPlaceholder}
270
259
  {#key item[definition.summaryAttrib]}
271
260
  {#if isCardActive}
272
- <p class=" text-sm sm:text-sm
273
-
274
- text-stone-600 dark:text-stone-400
275
-
276
- overflow-hidden"
277
- use:editable={{
278
- action: (text) => onSummaryChanged(text),
261
+ <figcaption use:editable={{
262
+ action: (text) => onSummaryChanged(text),
279
263
  active: true,
280
264
  readonly: definition.summaryReadOnly,
281
265
  onFinish: (d) => {summaryPlaceholder = false}}}
282
266
  bind:this={summaryElement}>
283
267
  {item[definition.summaryAttrib]}
284
- </p>
268
+ </figcaption>
285
269
  {:else}
286
- <p class=" text-sm sm:text-sm
287
-
288
- text-stone-600 dark:text-stone-400
289
-
290
- overflow-hidden">
270
+ <figcaption>
291
271
  {item[definition.summaryAttrib]}
292
- </p>
272
+ </figcaption>
293
273
  {/if}
294
274
  {/key}
295
275
  {/if}
@@ -299,4 +279,4 @@ function showAttachementIcon() {
299
279
  {/if}
300
280
 
301
281
  <Properties position={KanbanCardBottom} {item} bind:this={bottomProps}/>
302
- </li>
282
+ </figure>