@lowdefy/docs-content 0.0.0-experimental-20260710073520

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 (304) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +20 -0
  3. package/content/actions/callapi.md +66 -0
  4. package/content/actions/callmethod.md +41 -0
  5. package/content/actions/copytoclipboard.md +32 -0
  6. package/content/actions/displaymessage.md +53 -0
  7. package/content/actions/downloadcsv.md +89 -0
  8. package/content/actions/fetch.md +50 -0
  9. package/content/actions/geolocationcurrentposition.md +56 -0
  10. package/content/actions/link.md +104 -0
  11. package/content/actions/login.md +85 -0
  12. package/content/actions/logout.md +56 -0
  13. package/content/actions/pdfmake.md +304 -0
  14. package/content/actions/request.md +67 -0
  15. package/content/actions/reset.md +27 -0
  16. package/content/actions/resetvalidation.md +85 -0
  17. package/content/actions/scrollto.md +85 -0
  18. package/content/actions/setdarkmode.md +62 -0
  19. package/content/actions/setfocus.md +33 -0
  20. package/content/actions/setglobal.md +63 -0
  21. package/content/actions/setlocale.md +69 -0
  22. package/content/actions/setstate.md +70 -0
  23. package/content/actions/throw.md +72 -0
  24. package/content/actions/validate.md +87 -0
  25. package/content/actions/wait.md +24 -0
  26. package/content/agents/agent-endpoint-tools.md +190 -0
  27. package/content/agents/agent-mcp-tools.md +124 -0
  28. package/content/agents/agent-multi-agent.md +136 -0
  29. package/content/agents/agent-properties.md +174 -0
  30. package/content/agents/agent-server-hooks.md +336 -0
  31. package/content/agents/agentchat.md +515 -0
  32. package/content/agents/agentconversations.md +148 -0
  33. package/content/concepts/ai-agent-docs.md +190 -0
  34. package/content/concepts/cli.md +213 -0
  35. package/content/concepts/connections-and-requests.md +7 -0
  36. package/content/concepts/custom-html.md +3 -0
  37. package/content/concepts/custom-styling.md +161 -0
  38. package/content/concepts/events-and-actions.md +271 -0
  39. package/content/concepts/hosting-files.md +18 -0
  40. package/content/concepts/i18n.md +320 -0
  41. package/content/concepts/keyboard-shortcuts.md +218 -0
  42. package/content/concepts/layout-overview.md +478 -0
  43. package/content/concepts/lists.md +144 -0
  44. package/content/concepts/logger.md +43 -0
  45. package/content/concepts/lowdefy-schema.md +365 -0
  46. package/content/concepts/menus.md +144 -0
  47. package/content/concepts/module-authoring.md +564 -0
  48. package/content/concepts/modules.md +338 -0
  49. package/content/concepts/operators.md +45 -0
  50. package/content/concepts/overview.md +19 -0
  51. package/content/concepts/references-and-templates.md +207 -0
  52. package/content/concepts/secrets.md +24 -0
  53. package/content/concepts/selectors.md +143 -0
  54. package/content/connections/amazonredshift.md +176 -0
  55. package/content/connections/anthropic.md +232 -0
  56. package/content/connections/awss3.md +313 -0
  57. package/content/connections/azureblobstorage.md +133 -0
  58. package/content/connections/elasticsearch.md +371 -0
  59. package/content/connections/google.md +228 -0
  60. package/content/connections/googlecloudstorage.md +139 -0
  61. package/content/connections/googlesheet.md +313 -0
  62. package/content/connections/knex.md +206 -0
  63. package/content/connections/mariadb.md +177 -0
  64. package/content/connections/mcp.md +134 -0
  65. package/content/connections/mongodb.md +739 -0
  66. package/content/connections/mssql.md +191 -0
  67. package/content/connections/mysql.md +192 -0
  68. package/content/connections/openai-connection.md +228 -0
  69. package/content/connections/postgresql.md +200 -0
  70. package/content/connections/redis.md +116 -0
  71. package/content/connections/sendgridmail.md +94 -0
  72. package/content/connections/smtp.md +149 -0
  73. package/content/connections/sqlite.md +187 -0
  74. package/content/connections/stripe.md +115 -0
  75. package/content/container-blocks/affix.md +413 -0
  76. package/content/container-blocks/alert.md +937 -0
  77. package/content/container-blocks/badge.md +1222 -0
  78. package/content/container-blocks/box.md +1453 -0
  79. package/content/container-blocks/card.md +1200 -0
  80. package/content/container-blocks/carousel.md +2247 -0
  81. package/content/container-blocks/collapse.md +1335 -0
  82. package/content/container-blocks/configprovider.md +1070 -0
  83. package/content/container-blocks/confirmmodal.md +1159 -0
  84. package/content/container-blocks/content.md +597 -0
  85. package/content/container-blocks/descriptions.md +870 -0
  86. package/content/container-blocks/drawer.md +1379 -0
  87. package/content/container-blocks/dropdownmenu.md +643 -0
  88. package/content/container-blocks/flex.md +1510 -0
  89. package/content/container-blocks/footer.md +380 -0
  90. package/content/container-blocks/googlemaps.md +546 -0
  91. package/content/container-blocks/googlemapsheatmap.md +607 -0
  92. package/content/container-blocks/googlemapsscript.md +61 -0
  93. package/content/container-blocks/header.md +302 -0
  94. package/content/container-blocks/label.md +739 -0
  95. package/content/container-blocks/layout.md +604 -0
  96. package/content/container-blocks/masonry.md +1090 -0
  97. package/content/container-blocks/mobilemenu.md +1244 -0
  98. package/content/container-blocks/modal.md +1180 -0
  99. package/content/container-blocks/pageheadermenu.md +614 -0
  100. package/content/container-blocks/pagesidebarlayout.md +438 -0
  101. package/content/container-blocks/pagesidermenu.md +651 -0
  102. package/content/container-blocks/popover.md +1421 -0
  103. package/content/container-blocks/result.md +972 -0
  104. package/content/container-blocks/sider.md +1064 -0
  105. package/content/container-blocks/span.md +747 -0
  106. package/content/container-blocks/spinner.md +267 -0
  107. package/content/container-blocks/splitter.md +1735 -0
  108. package/content/container-blocks/tabs.md +1718 -0
  109. package/content/container-blocks/tooltip.md +1274 -0
  110. package/content/container-blocks/watermark.md +515 -0
  111. package/content/controls/for.md +103 -0
  112. package/content/controls/if.md +107 -0
  113. package/content/controls/log.md +50 -0
  114. package/content/controls/parallel.md +71 -0
  115. package/content/controls/parallel_for.md +36 -0
  116. package/content/controls/reject.md +56 -0
  117. package/content/controls/return.md +66 -0
  118. package/content/controls/set_state.md +98 -0
  119. package/content/controls/switch.md +90 -0
  120. package/content/controls/throw.md +79 -0
  121. package/content/controls/try.md +88 -0
  122. package/content/deployment/docker.md +149 -0
  123. package/content/deployment/node-server.md +27 -0
  124. package/content/deployment/vercel.md +101 -0
  125. package/content/display-blocks/aggrid.md +1459 -0
  126. package/content/display-blocks/anchor.md +336 -0
  127. package/content/display-blocks/avatar.md +1154 -0
  128. package/content/display-blocks/breadcrumb.md +517 -0
  129. package/content/display-blocks/button.md +758 -0
  130. package/content/display-blocks/calendar.md +156 -0
  131. package/content/display-blocks/dangeroushtml.md +314 -0
  132. package/content/display-blocks/dangerousmarkdown.md +423 -0
  133. package/content/display-blocks/diffgit.md +44 -0
  134. package/content/display-blocks/difflist.md +225 -0
  135. package/content/display-blocks/diffsidebyside.md +56 -0
  136. package/content/display-blocks/difftimeline.md +94 -0
  137. package/content/display-blocks/divider.md +406 -0
  138. package/content/display-blocks/download.md +60 -0
  139. package/content/display-blocks/dropdownbutton.md +661 -0
  140. package/content/display-blocks/echart.md +418 -0
  141. package/content/display-blocks/floatbutton.md +545 -0
  142. package/content/display-blocks/html.md +311 -0
  143. package/content/display-blocks/icon.md +717 -0
  144. package/content/display-blocks/img.md +479 -0
  145. package/content/display-blocks/markdown.md +520 -0
  146. package/content/display-blocks/markdownwithcode.md +730 -0
  147. package/content/display-blocks/menu.md +1123 -0
  148. package/content/display-blocks/message.md +941 -0
  149. package/content/display-blocks/notification.md +1410 -0
  150. package/content/display-blocks/paragraph.md +643 -0
  151. package/content/display-blocks/progress.md +818 -0
  152. package/content/display-blocks/qrcode.md +519 -0
  153. package/content/display-blocks/s3download.md +240 -0
  154. package/content/display-blocks/search.md +360 -0
  155. package/content/display-blocks/skeleton.md +272 -0
  156. package/content/display-blocks/skeletonavatar.md +222 -0
  157. package/content/display-blocks/skeletonbutton.md +245 -0
  158. package/content/display-blocks/skeletoninput.md +223 -0
  159. package/content/display-blocks/skeletonparagraph.md +201 -0
  160. package/content/display-blocks/statistic.md +485 -0
  161. package/content/display-blocks/steps.md +585 -0
  162. package/content/display-blocks/tag.md +620 -0
  163. package/content/display-blocks/title.md +654 -0
  164. package/content/display-blocks/tour.md +2359 -0
  165. package/content/input-blocks/autocomplete.md +786 -0
  166. package/content/input-blocks/buttonselector.md +964 -0
  167. package/content/input-blocks/checkboxselector.md +765 -0
  168. package/content/input-blocks/checkboxswitch.md +497 -0
  169. package/content/input-blocks/colorselector.md +884 -0
  170. package/content/input-blocks/daterangeselector.md +777 -0
  171. package/content/input-blocks/dateselector.md +693 -0
  172. package/content/input-blocks/datetimeselector.md +791 -0
  173. package/content/input-blocks/inputgallery.md +528 -0
  174. package/content/input-blocks/monthselector.md +717 -0
  175. package/content/input-blocks/multipleselector.md +1337 -0
  176. package/content/input-blocks/numberinput.md +855 -0
  177. package/content/input-blocks/pagination.md +679 -0
  178. package/content/input-blocks/paragraphinput.md +1664 -0
  179. package/content/input-blocks/passwordinput.md +480 -0
  180. package/content/input-blocks/phonenumberinput.md +688 -0
  181. package/content/input-blocks/radioselector.md +820 -0
  182. package/content/input-blocks/ratingslider.md +684 -0
  183. package/content/input-blocks/s3uploadbutton.md +384 -0
  184. package/content/input-blocks/s3uploaddragger.md +305 -0
  185. package/content/input-blocks/s3uploadphoto.md +288 -0
  186. package/content/input-blocks/segmentedselector.md +782 -0
  187. package/content/input-blocks/selector.md +1162 -0
  188. package/content/input-blocks/switch.md +552 -0
  189. package/content/input-blocks/textarea.md +714 -0
  190. package/content/input-blocks/textinput.md +639 -0
  191. package/content/input-blocks/tiptapinput.md +226 -0
  192. package/content/input-blocks/tiptapmentioninput.md +471 -0
  193. package/content/input-blocks/titleinput.md +1094 -0
  194. package/content/input-blocks/treeinput.md +144 -0
  195. package/content/input-blocks/treemultipleselector.md +162 -0
  196. package/content/input-blocks/treeselector.md +185 -0
  197. package/content/input-blocks/upload.md +149 -0
  198. package/content/input-blocks/uploaddragger.md +85 -0
  199. package/content/input-blocks/uploadphoto.md +84 -0
  200. package/content/input-blocks/weekselector.md +630 -0
  201. package/content/list-blocks/controlledlist.md +498 -0
  202. package/content/list-blocks/list.md +529 -0
  203. package/content/list-blocks/listselector.md +301 -0
  204. package/content/list-blocks/masonrylist.md +230 -0
  205. package/content/migration/upgrade-guide.md +106 -0
  206. package/content/migration/v4-to-v5.md +589 -0
  207. package/content/migration/v5-to-v6.md +36 -0
  208. package/content/operators/_actions.md +58 -0
  209. package/content/operators/_and.md +76 -0
  210. package/content/operators/_api.md +254 -0
  211. package/content/operators/_app.md +114 -0
  212. package/content/operators/_args.md +65 -0
  213. package/content/operators/_array.md +331 -0
  214. package/content/operators/_base64.md +49 -0
  215. package/content/operators/_boolean.md +33 -0
  216. package/content/operators/_build.md +166 -0
  217. package/content/operators/_change_case.md +357 -0
  218. package/content/operators/_date.md +415 -0
  219. package/content/operators/_dayjs.md +128 -0
  220. package/content/operators/_diff.md +61 -0
  221. package/content/operators/_divide.md +32 -0
  222. package/content/operators/_eq.md +52 -0
  223. package/content/operators/_event.md +86 -0
  224. package/content/operators/_function.md +52 -0
  225. package/content/operators/_get.md +92 -0
  226. package/content/operators/_global.md +86 -0
  227. package/content/operators/_gt.md +50 -0
  228. package/content/operators/_gte.md +50 -0
  229. package/content/operators/_hash.md +112 -0
  230. package/content/operators/_if.md +30 -0
  231. package/content/operators/_if_none.md +47 -0
  232. package/content/operators/_index.md +48 -0
  233. package/content/operators/_input.md +86 -0
  234. package/content/operators/_intl.md +135 -0
  235. package/content/operators/_item.md +166 -0
  236. package/content/operators/_js.md +113 -0
  237. package/content/operators/_json.md +120 -0
  238. package/content/operators/_jsonata.md +152 -0
  239. package/content/operators/_locale.md +65 -0
  240. package/content/operators/_location.md +40 -0
  241. package/content/operators/_log.md +22 -0
  242. package/content/operators/_lt.md +50 -0
  243. package/content/operators/_lte.md +50 -0
  244. package/content/operators/_math.md +407 -0
  245. package/content/operators/_media.md +83 -0
  246. package/content/operators/_menu.md +62 -0
  247. package/content/operators/_module.md +340 -0
  248. package/content/operators/_mql.md +95 -0
  249. package/content/operators/_ne.md +62 -0
  250. package/content/operators/_not.md +33 -0
  251. package/content/operators/_number.md +159 -0
  252. package/content/operators/_nunjucks.md +117 -0
  253. package/content/operators/_object.md +253 -0
  254. package/content/operators/_operator.md +33 -0
  255. package/content/operators/_or.md +67 -0
  256. package/content/operators/_product.md +45 -0
  257. package/content/operators/_random.md +90 -0
  258. package/content/operators/_ref.md +80 -0
  259. package/content/operators/_regex.md +69 -0
  260. package/content/operators/_request.md +35 -0
  261. package/content/operators/_request_details.md +29 -0
  262. package/content/operators/_secret.md +56 -0
  263. package/content/operators/_state.md +134 -0
  264. package/content/operators/_step.md +98 -0
  265. package/content/operators/_string.md +327 -0
  266. package/content/operators/_subtract.md +24 -0
  267. package/content/operators/_sum.md +45 -0
  268. package/content/operators/_switch.md +37 -0
  269. package/content/operators/_t.md +96 -0
  270. package/content/operators/_theme.md +65 -0
  271. package/content/operators/_type.md +78 -0
  272. package/content/operators/_uri.md +49 -0
  273. package/content/operators/_url_query.md +92 -0
  274. package/content/operators/_user.md +154 -0
  275. package/content/operators/_uuid.md +118 -0
  276. package/content/operators/_var.md +88 -0
  277. package/content/operators/_yaml.md +96 -0
  278. package/content/other/introduction.md +39 -0
  279. package/content/other/next-auth-providers.md +3 -0
  280. package/content/other/updatesession.md +26 -0
  281. package/content/plugins/plugins-actions.md +80 -0
  282. package/content/plugins/plugins-connections.md +98 -0
  283. package/content/plugins/plugins-dev.md +138 -0
  284. package/content/plugins/plugins-introduction.md +29 -0
  285. package/content/plugins/plugins-operators.md +71 -0
  286. package/content/testing/e2e-auth.md +108 -0
  287. package/content/testing/e2e-configuration.md +107 -0
  288. package/content/testing/e2e-getting-started.md +96 -0
  289. package/content/testing/e2e-introduction.md +53 -0
  290. package/content/testing/e2e-mocking.md +155 -0
  291. package/content/testing/e2e-writing-tests.md +214 -0
  292. package/content/tutorial/tutorial-actions-operators.md +222 -0
  293. package/content/tutorial/tutorial-add-blocks.md +86 -0
  294. package/content/tutorial/tutorial-create-page.md +57 -0
  295. package/content/tutorial/tutorial-display-data-page.md +181 -0
  296. package/content/tutorial/tutorial-next-steps.md +53 -0
  297. package/content/tutorial/tutorial-requests-sql.md +22 -0
  298. package/content/tutorial/tutorial-start.md +71 -0
  299. package/content/user-authentication/auth-providers.md +15 -0
  300. package/content/user-authentication/login-and-logout.md +122 -0
  301. package/content/user-authentication/users-introduction.md +31 -0
  302. package/index.json +2281 -0
  303. package/package.json +34 -0
  304. package/scripts/extractAgentDocs.js +130 -0
@@ -0,0 +1,1664 @@
1
+ # ParagraphInput
2
+
3
+ Editable paragraph text with copyable and ellipsis support.
4
+
5
+ ```yaml
6
+ - id: basic_default
7
+ type: ParagraphInput
8
+ properties:
9
+ editable: true
10
+ events:
11
+ onMount:
12
+ - id: set_default
13
+ type: SetState
14
+ params:
15
+ basic_default: Click the edit icon to start editing this paragraph. Changes are
16
+ saved when you press Enter or click away.
17
+ - id: basic_editable_object
18
+ type: ParagraphInput
19
+ properties:
20
+ editable: {}
21
+ events:
22
+ onMount:
23
+ - id: set_default
24
+ type: SetState
25
+ params:
26
+ basic_editable_object: This paragraph uses an editable object configuration with defaults.
27
+ - id: basic_not_editable
28
+ type: ParagraphInput
29
+ properties:
30
+ editable: false
31
+ events:
32
+ onMount:
33
+ - id: set_default
34
+ type: SetState
35
+ params:
36
+ basic_not_editable: This paragraph has editing explicitly disabled and cannot be
37
+ modified.
38
+ - id: basic_empty
39
+ type: ParagraphInput
40
+ properties:
41
+ editable: true
42
+ - id: basic_long
43
+ type: ParagraphInput
44
+ properties:
45
+ editable: true
46
+ events:
47
+ onMount:
48
+ - id: set_default
49
+ type: SetState
50
+ params:
51
+ basic_long: This is a longer paragraph to demonstrate how ParagraphInput handles
52
+ multi-line content. When you click the edit icon, a text area
53
+ appears allowing you to modify all of the text. The editable
54
+ paragraph is useful for inline content editing scenarios where users
55
+ should be able to quickly update descriptive text without navigating
56
+ to a separate form.
57
+ ```
58
+
59
+ ```yaml
60
+ - id: tooltip_short
61
+ type: ParagraphInput
62
+ properties:
63
+ editable:
64
+ tooltip: Edit
65
+ events:
66
+ onMount:
67
+ - id: set_default
68
+ type: SetState
69
+ params:
70
+ tooltip_short: Hover over the edit icon to see a short tooltip.
71
+ - id: tooltip_descriptive
72
+ type: ParagraphInput
73
+ properties:
74
+ editable:
75
+ tooltip: Click to edit this paragraph content
76
+ events:
77
+ onMount:
78
+ - id: set_default
79
+ type: SetState
80
+ params:
81
+ tooltip_descriptive: Hover over the edit icon to see a descriptive tooltip.
82
+ - id: tooltip_instructional
83
+ type: ParagraphInput
84
+ properties:
85
+ editable:
86
+ tooltip: Double-click or press Enter to save changes
87
+ events:
88
+ onMount:
89
+ - id: set_default
90
+ type: SetState
91
+ params:
92
+ tooltip_instructional: Tooltip with editing instructions.
93
+ ```
94
+
95
+ ```yaml
96
+ - id: icon_highlight
97
+ type: ParagraphInput
98
+ properties:
99
+ editable:
100
+ icon: AiOutlineHighlight
101
+ tooltip: Highlight to edit
102
+ events:
103
+ onMount:
104
+ - id: set_default
105
+ type: SetState
106
+ params:
107
+ icon_highlight: This paragraph uses a highlight icon instead of the default edit
108
+ icon.
109
+ - id: icon_form
110
+ type: ParagraphInput
111
+ properties:
112
+ editable:
113
+ icon: AiOutlineForm
114
+ tooltip: Open editor
115
+ events:
116
+ onMount:
117
+ - id: set_default
118
+ type: SetState
119
+ params:
120
+ icon_form: Form edit icon on this paragraph.
121
+ - id: icon_edit
122
+ type: ParagraphInput
123
+ properties:
124
+ editable:
125
+ icon: AiOutlineEdit
126
+ tooltip: Edit paragraph
127
+ events:
128
+ onMount:
129
+ - id: set_default
130
+ type: SetState
131
+ params:
132
+ icon_edit: Explicit edit icon with tooltip.
133
+ - id: icon_custom_color
134
+ type: ParagraphInput
135
+ properties:
136
+ editable:
137
+ icon:
138
+ name: AiOutlineEdit
139
+ color: "#1677ff"
140
+ tooltip: Edit in blue
141
+ events:
142
+ onMount:
143
+ - id: set_default
144
+ type: SetState
145
+ params:
146
+ icon_custom_color: Custom colored edit icon.
147
+ ```
148
+
149
+ ```yaml
150
+ - id: maxlen_20
151
+ type: ParagraphInput
152
+ properties:
153
+ editable:
154
+ maxLength: 20
155
+ tooltip: Limited to 20 characters
156
+ events:
157
+ onMount:
158
+ - id: set_default
159
+ type: SetState
160
+ params:
161
+ maxlen_20: Max 20 characters.
162
+ - id: maxlen_50
163
+ type: ParagraphInput
164
+ properties:
165
+ editable:
166
+ maxLength: 50
167
+ tooltip: Max 50 characters
168
+ events:
169
+ onMount:
170
+ - id: set_default
171
+ type: SetState
172
+ params:
173
+ maxlen_50: This input is limited to 50 characters when editing.
174
+ - id: maxlen_100
175
+ type: ParagraphInput
176
+ properties:
177
+ editable:
178
+ maxLength: 100
179
+ events:
180
+ onMount:
181
+ - id: set_default
182
+ type: SetState
183
+ params:
184
+ maxlen_100: Limited to 100 characters when editing.
185
+ - id: maxlen_200
186
+ type: ParagraphInput
187
+ properties:
188
+ editable:
189
+ maxLength: 200
190
+ tooltip: Limited to 200 characters
191
+ events:
192
+ onMount:
193
+ - id: set_default
194
+ type: SetState
195
+ params:
196
+ maxlen_200: This paragraph allows up to 200 characters. It provides ample space
197
+ for short descriptions while still enforcing a reasonable limit.
198
+ ```
199
+
200
+ ```yaml
201
+ - id: autosize_true
202
+ type: ParagraphInput
203
+ properties:
204
+ editable:
205
+ autoSize: true
206
+ tooltip: Auto-sizing text area
207
+ events:
208
+ onMount:
209
+ - id: set_default
210
+ type: SetState
211
+ params:
212
+ autosize_true: This paragraph uses autoSize true so the text area automatically
213
+ grows to fit the content when editing. Try clicking the edit icon to
214
+ see the text area expand.
215
+ - id: autosize_min_max
216
+ type: ParagraphInput
217
+ properties:
218
+ editable:
219
+ autoSize:
220
+ minRows: 2
221
+ maxRows: 6
222
+ tooltip: 2-6 rows auto-size
223
+ events:
224
+ onMount:
225
+ - id: set_default
226
+ type: SetState
227
+ params:
228
+ autosize_min_max: AutoSize with minimum 2 rows and maximum 6 rows. The text area
229
+ will start at 2 rows and grow up to 6 rows as you type more content.
230
+ - id: autosize_min_only
231
+ type: ParagraphInput
232
+ properties:
233
+ editable:
234
+ autoSize:
235
+ minRows: 3
236
+ tooltip: Minimum 3 rows
237
+ events:
238
+ onMount:
239
+ - id: set_default
240
+ type: SetState
241
+ params:
242
+ autosize_min_only: AutoSize with a minimum of 3 rows. The text area will always
243
+ be at least 3 rows tall.
244
+ - id: autosize_max_only
245
+ type: ParagraphInput
246
+ properties:
247
+ editable:
248
+ autoSize:
249
+ maxRows: 4
250
+ tooltip: Maximum 4 rows
251
+ events:
252
+ onMount:
253
+ - id: set_default
254
+ type: SetState
255
+ params:
256
+ autosize_max_only: AutoSize with a maximum of 4 rows. Content beyond 4 rows will scroll.
257
+ ```
258
+
259
+ ```yaml
260
+ - id: editing_true
261
+ type: ParagraphInput
262
+ properties:
263
+ editable:
264
+ editing: true
265
+ events:
266
+ onMount:
267
+ - id: set_default
268
+ type: SetState
269
+ params:
270
+ editing_true: This paragraph starts in editing mode immediately.
271
+ - id: editing_false
272
+ type: ParagraphInput
273
+ properties:
274
+ editable:
275
+ editing: false
276
+ tooltip: Click to start editing
277
+ events:
278
+ onMount:
279
+ - id: set_default
280
+ type: SetState
281
+ params:
282
+ editing_false: This paragraph starts in display mode. Click the icon to edit.
283
+ ```
284
+
285
+ ```yaml
286
+ - id: editable_full
287
+ type: ParagraphInput
288
+ properties:
289
+ editable:
290
+ icon: AiOutlineEdit
291
+ tooltip: Edit this paragraph
292
+ maxLength: 150
293
+ autoSize:
294
+ minRows: 2
295
+ maxRows: 8
296
+ events:
297
+ onMount:
298
+ - id: set_default
299
+ type: SetState
300
+ params:
301
+ editable_full: Fully configured editable paragraph with icon, tooltip,
302
+ maxLength, and autoSize.
303
+ - id: editable_icon_tooltip_max
304
+ type: ParagraphInput
305
+ properties:
306
+ editable:
307
+ icon: AiOutlineHighlight
308
+ tooltip: Highlight to edit (max 100 chars)
309
+ maxLength: 100
310
+ events:
311
+ onMount:
312
+ - id: set_default
313
+ type: SetState
314
+ params:
315
+ editable_icon_tooltip_max: Custom icon with tooltip and character limit.
316
+ - id: editable_autosize_maxlen
317
+ type: ParagraphInput
318
+ properties:
319
+ editable:
320
+ autoSize: true
321
+ maxLength: 250
322
+ tooltip: Auto-sizing with 250 char limit
323
+ events:
324
+ onMount:
325
+ - id: set_default
326
+ type: SetState
327
+ params:
328
+ editable_autosize_maxlen: Auto-sizing text area with a 250 character limit. This
329
+ is useful for description fields where you want the input to be
330
+ comfortable but bounded.
331
+ ```
332
+
333
+ ```yaml
334
+ - id: type_default
335
+ type: ParagraphInput
336
+ properties:
337
+ editable: true
338
+ events:
339
+ onMount:
340
+ - id: set_default
341
+ type: SetState
342
+ params:
343
+ type_default: Default type paragraph text. This is the standard appearance.
344
+ - id: type_secondary
345
+ type: ParagraphInput
346
+ properties:
347
+ type: secondary
348
+ editable: true
349
+ events:
350
+ onMount:
351
+ - id: set_default
352
+ type: SetState
353
+ params:
354
+ type_secondary: Secondary type paragraph text. Used for less prominent content.
355
+ - id: type_success
356
+ type: ParagraphInput
357
+ properties:
358
+ type: success
359
+ editable: true
360
+ events:
361
+ onMount:
362
+ - id: set_default
363
+ type: SetState
364
+ params:
365
+ type_success: Success type paragraph text. Indicates a positive outcome or valid
366
+ state.
367
+ - id: type_warning
368
+ type: ParagraphInput
369
+ properties:
370
+ type: warning
371
+ editable: true
372
+ events:
373
+ onMount:
374
+ - id: set_default
375
+ type: SetState
376
+ params:
377
+ type_warning: Warning type paragraph text. Draws attention to potential issues.
378
+ - id: type_danger
379
+ type: ParagraphInput
380
+ properties:
381
+ type: danger
382
+ editable: true
383
+ events:
384
+ onMount:
385
+ - id: set_default
386
+ type: SetState
387
+ params:
388
+ type_danger: Danger type paragraph text. Highlights errors or destructive
389
+ information.
390
+ ```
391
+
392
+ ```yaml
393
+ - id: style_strong
394
+ type: ParagraphInput
395
+ properties:
396
+ strong: true
397
+ editable: true
398
+ events:
399
+ onMount:
400
+ - id: set_default
401
+ type: SetState
402
+ params:
403
+ style_strong: Strong (bold) paragraph text.
404
+ - id: style_italic
405
+ type: ParagraphInput
406
+ properties:
407
+ italic: true
408
+ editable: true
409
+ events:
410
+ onMount:
411
+ - id: set_default
412
+ type: SetState
413
+ params:
414
+ style_italic: Italic paragraph text.
415
+ - id: style_underline
416
+ type: ParagraphInput
417
+ properties:
418
+ underline: true
419
+ editable: true
420
+ events:
421
+ onMount:
422
+ - id: set_default
423
+ type: SetState
424
+ params:
425
+ style_underline: Underlined paragraph text.
426
+ - id: style_delete
427
+ type: ParagraphInput
428
+ properties:
429
+ delete: true
430
+ editable: true
431
+ events:
432
+ onMount:
433
+ - id: set_default
434
+ type: SetState
435
+ params:
436
+ style_delete: Deleted (strikethrough) paragraph text.
437
+ - id: style_mark
438
+ type: ParagraphInput
439
+ properties:
440
+ mark: true
441
+ editable: true
442
+ events:
443
+ onMount:
444
+ - id: set_default
445
+ type: SetState
446
+ params:
447
+ style_mark: Marked (highlighted) paragraph text.
448
+ ```
449
+
450
+ ```yaml
451
+ - id: combo_strong_italic
452
+ type: ParagraphInput
453
+ properties:
454
+ strong: true
455
+ italic: true
456
+ editable: true
457
+ events:
458
+ onMount:
459
+ - id: set_default
460
+ type: SetState
461
+ params:
462
+ combo_strong_italic: Strong and italic combined paragraph.
463
+ - id: combo_underline_mark
464
+ type: ParagraphInput
465
+ properties:
466
+ underline: true
467
+ mark: true
468
+ editable: true
469
+ events:
470
+ onMount:
471
+ - id: set_default
472
+ type: SetState
473
+ params:
474
+ combo_underline_mark: Underline and mark combined paragraph.
475
+ - id: combo_strong_underline
476
+ type: ParagraphInput
477
+ properties:
478
+ strong: true
479
+ underline: true
480
+ editable: true
481
+ events:
482
+ onMount:
483
+ - id: set_default
484
+ type: SetState
485
+ params:
486
+ combo_strong_underline: Strong and underline combined paragraph.
487
+ - id: combo_strong_italic_underline
488
+ type: ParagraphInput
489
+ properties:
490
+ strong: true
491
+ italic: true
492
+ underline: true
493
+ editable: true
494
+ events:
495
+ onMount:
496
+ - id: set_default
497
+ type: SetState
498
+ params:
499
+ combo_strong_italic_underline: Strong, italic, and underline combined paragraph.
500
+ - id: combo_all_styles
501
+ type: ParagraphInput
502
+ properties:
503
+ strong: true
504
+ italic: true
505
+ underline: true
506
+ mark: true
507
+ editable: true
508
+ events:
509
+ onMount:
510
+ - id: set_default
511
+ type: SetState
512
+ params:
513
+ combo_all_styles: All text styles applied together.
514
+ ```
515
+
516
+ ```yaml
517
+ - id: type_success_strong
518
+ type: ParagraphInput
519
+ properties:
520
+ type: success
521
+ strong: true
522
+ editable: true
523
+ events:
524
+ onMount:
525
+ - id: set_default
526
+ type: SetState
527
+ params:
528
+ type_success_strong: Success type with strong (bold) styling.
529
+ - id: type_warning_italic
530
+ type: ParagraphInput
531
+ properties:
532
+ type: warning
533
+ italic: true
534
+ editable: true
535
+ events:
536
+ onMount:
537
+ - id: set_default
538
+ type: SetState
539
+ params:
540
+ type_warning_italic: Warning type with italic styling.
541
+ - id: type_danger_underline
542
+ type: ParagraphInput
543
+ properties:
544
+ type: danger
545
+ underline: true
546
+ editable: true
547
+ events:
548
+ onMount:
549
+ - id: set_default
550
+ type: SetState
551
+ params:
552
+ type_danger_underline: Danger type with underline styling.
553
+ - id: type_secondary_mark
554
+ type: ParagraphInput
555
+ properties:
556
+ type: secondary
557
+ mark: true
558
+ editable: true
559
+ events:
560
+ onMount:
561
+ - id: set_default
562
+ type: SetState
563
+ params:
564
+ type_secondary_mark: Secondary type with mark (highlight) styling.
565
+ - id: type_success_strong_italic
566
+ type: ParagraphInput
567
+ properties:
568
+ type: success
569
+ strong: true
570
+ italic: true
571
+ editable: true
572
+ events:
573
+ onMount:
574
+ - id: set_default
575
+ type: SetState
576
+ params:
577
+ type_success_strong_italic: Success type with strong and italic styles combined.
578
+ ```
579
+
580
+ ```yaml
581
+ - id: copyable_true
582
+ type: ParagraphInput
583
+ properties:
584
+ copyable: true
585
+ editable: true
586
+ events:
587
+ onMount:
588
+ - id: set_default
589
+ type: SetState
590
+ params:
591
+ copyable_true: Click the copy icon to copy this paragraph text to your clipboard.
592
+ - id: copyable_false
593
+ type: ParagraphInput
594
+ properties:
595
+ copyable: false
596
+ editable: true
597
+ events:
598
+ onMount:
599
+ - id: set_default
600
+ type: SetState
601
+ params:
602
+ copyable_false: This paragraph does not have a copy button.
603
+ ```
604
+
605
+ ```yaml
606
+ - id: copyable_text_different
607
+ type: ParagraphInput
608
+ properties:
609
+ copyable:
610
+ text: This is the custom copied text, not the displayed text.
611
+ editable: true
612
+ events:
613
+ onMount:
614
+ - id: set_default
615
+ type: SetState
616
+ params:
617
+ copyable_text_different: Displayed text differs from copied text.
618
+ - id: copyable_text_url
619
+ type: ParagraphInput
620
+ properties:
621
+ copyable:
622
+ text: https://lowdefy.com
623
+ editable: true
624
+ events:
625
+ onMount:
626
+ - id: set_default
627
+ type: SetState
628
+ params:
629
+ copyable_text_url: Click copy to get a URL instead of this visible text.
630
+ - id: copyable_text_code
631
+ type: ParagraphInput
632
+ properties:
633
+ copyable:
634
+ text: const greeting = "Hello, World!";
635
+ editable: true
636
+ events:
637
+ onMount:
638
+ - id: set_default
639
+ type: SetState
640
+ params:
641
+ copyable_text_code: Copy this block to get a code snippet.
642
+ ```
643
+
644
+ ```yaml
645
+ - id: copyable_tooltips_array
646
+ type: ParagraphInput
647
+ properties:
648
+ copyable:
649
+ tooltips:
650
+ - Click to copy
651
+ - Copied!
652
+ editable: true
653
+ events:
654
+ onMount:
655
+ - id: set_default
656
+ type: SetState
657
+ params:
658
+ copyable_tooltips_array: Custom tooltips before and after copying.
659
+ - id: copyable_tooltips_single
660
+ type: ParagraphInput
661
+ properties:
662
+ copyable:
663
+ tooltips: Copy this paragraph
664
+ editable: true
665
+ events:
666
+ onMount:
667
+ - id: set_default
668
+ type: SetState
669
+ params:
670
+ copyable_tooltips_single: Single tooltip string for copy action.
671
+ - id: copyable_tooltips_descriptive
672
+ type: ParagraphInput
673
+ properties:
674
+ copyable:
675
+ tooltips:
676
+ - Copy paragraph to clipboard
677
+ - Successfully copied to clipboard!
678
+ editable: true
679
+ events:
680
+ onMount:
681
+ - id: set_default
682
+ type: SetState
683
+ params:
684
+ copyable_tooltips_descriptive: Descriptive copy tooltips for user guidance.
685
+ ```
686
+
687
+ ```yaml
688
+ - id: copyable_icon_single
689
+ type: ParagraphInput
690
+ properties:
691
+ copyable:
692
+ icon: AiOutlineSnippets
693
+ tooltips:
694
+ - Copy snippet
695
+ - Snippet copied!
696
+ editable: true
697
+ events:
698
+ onMount:
699
+ - id: set_default
700
+ type: SetState
701
+ params:
702
+ copyable_icon_single: Custom copy icon on this paragraph.
703
+ - id: copyable_icon_array
704
+ type: ParagraphInput
705
+ properties:
706
+ copyable:
707
+ icon:
708
+ - AiOutlineCopy
709
+ - AiOutlineCheck
710
+ tooltips:
711
+ - Copy text
712
+ - Text copied!
713
+ editable: true
714
+ events:
715
+ onMount:
716
+ - id: set_default
717
+ type: SetState
718
+ params:
719
+ copyable_icon_array: Different icons before and after copying.
720
+ - id: copyable_icon_colored
721
+ type: ParagraphInput
722
+ properties:
723
+ copyable:
724
+ icon:
725
+ name: AiOutlineCopy
726
+ color: "#1677ff"
727
+ tooltips:
728
+ - Copy
729
+ - Done!
730
+ editable: true
731
+ events:
732
+ onMount:
733
+ - id: set_default
734
+ type: SetState
735
+ params:
736
+ copyable_icon_colored: Colored copy icon.
737
+ ```
738
+
739
+ ```yaml
740
+ - id: copyable_full
741
+ type: ParagraphInput
742
+ properties:
743
+ copyable:
744
+ text: Custom text for clipboard
745
+ icon:
746
+ - AiOutlineCopy
747
+ - AiOutlineCheck
748
+ tooltips:
749
+ - Copy custom text
750
+ - Custom text copied!
751
+ editable: true
752
+ events:
753
+ onMount:
754
+ - id: set_default
755
+ type: SetState
756
+ params:
757
+ copyable_full: Fully configured copyable paragraph.
758
+ ```
759
+
760
+ ```yaml
761
+ - id: ellipsis_true
762
+ type: ParagraphInput
763
+ properties:
764
+ ellipsis: true
765
+ editable: true
766
+ events:
767
+ onMount:
768
+ - id: set_default
769
+ type: SetState
770
+ params:
771
+ ellipsis_true: This is a very long paragraph that should be truncated with an
772
+ ellipsis when it overflows a single line. The text continues beyond
773
+ the visible area and the ellipsis indicator will show that there is
774
+ more content available. This demonstrates the basic boolean ellipsis
775
+ behavior where the text is clipped at one line by default.
776
+ - id: ellipsis_false
777
+ type: ParagraphInput
778
+ properties:
779
+ ellipsis: false
780
+ editable: true
781
+ events:
782
+ onMount:
783
+ - id: set_default
784
+ type: SetState
785
+ params:
786
+ ellipsis_false: This paragraph has ellipsis disabled and will display all text
787
+ regardless of length. The content will wrap naturally across
788
+ multiple lines without any truncation applied.
789
+ ```
790
+
791
+ ```yaml
792
+ - id: ellipsis_rows_1
793
+ type: ParagraphInput
794
+ properties:
795
+ ellipsis:
796
+ rows: 1
797
+ editable: true
798
+ events:
799
+ onMount:
800
+ - id: set_default
801
+ type: SetState
802
+ params:
803
+ ellipsis_rows_1: This paragraph is limited to 1 row. Any text beyond the first
804
+ line will be hidden and replaced with an ellipsis indicator. This
805
+ demonstrates row-limited truncation for compact paragraph displays
806
+ in space-constrained layouts.
807
+ - id: ellipsis_rows_2
808
+ type: ParagraphInput
809
+ properties:
810
+ ellipsis:
811
+ rows: 2
812
+ editable: true
813
+ events:
814
+ onMount:
815
+ - id: set_default
816
+ type: SetState
817
+ params:
818
+ ellipsis_rows_2: This paragraph is limited to 2 rows. The text will display
819
+ across two lines before being truncated with an ellipsis. This is
820
+ useful for paragraph previews where you want to show a brief excerpt
821
+ of longer content. Additional text beyond two lines is hidden from
822
+ view.
823
+ - id: ellipsis_rows_3
824
+ type: ParagraphInput
825
+ properties:
826
+ ellipsis:
827
+ rows: 3
828
+ editable: true
829
+ events:
830
+ onMount:
831
+ - id: set_default
832
+ type: SetState
833
+ params:
834
+ ellipsis_rows_3: This paragraph is limited to 3 rows. It allows more content to
835
+ be visible compared to fewer rows, but still provides truncation for
836
+ very long paragraphs. This setting is a good balance between showing
837
+ enough content for context while keeping the layout compact. Any
838
+ remaining text beyond three lines will be truncated with an
839
+ ellipsis.
840
+ - id: ellipsis_rows_5
841
+ type: ParagraphInput
842
+ properties:
843
+ ellipsis:
844
+ rows: 5
845
+ editable: true
846
+ events:
847
+ onMount:
848
+ - id: set_default
849
+ type: SetState
850
+ params:
851
+ ellipsis_rows_5: This paragraph is limited to 5 rows. It provides a generous
852
+ preview of the content while still enforcing a maximum height. This
853
+ is appropriate for longer descriptions, article excerpts, or
854
+ detailed explanations where you want to show a substantial portion
855
+ of the text before truncation kicks in. The ellipsis appears after
856
+ the fifth line, indicating there is additional content that has been
857
+ clipped. Users can see enough context to decide whether to expand or
858
+ interact further with the content.
859
+ ```
860
+
861
+ ```yaml
862
+ - id: ellipsis_expandable_2
863
+ type: ParagraphInput
864
+ properties:
865
+ ellipsis:
866
+ rows: 2
867
+ expandable: true
868
+ editable: true
869
+ events:
870
+ onMount:
871
+ - id: set_default
872
+ type: SetState
873
+ params:
874
+ ellipsis_expandable_2: This paragraph can be expanded. Click the expand link to
875
+ reveal the full content. The expandable feature allows users to see
876
+ a preview and then choose to read more. This is a common pattern for
877
+ long content sections where space is limited but the full text
878
+ should still be accessible to interested readers.
879
+ - id: ellipsis_expandable_3
880
+ type: ParagraphInput
881
+ properties:
882
+ ellipsis:
883
+ rows: 3
884
+ expandable: true
885
+ editable: true
886
+ events:
887
+ onMount:
888
+ - id: set_default
889
+ type: SetState
890
+ params:
891
+ ellipsis_expandable_3: Expandable paragraph with 3 visible rows before
892
+ truncation. Users can click to expand and see the full content. This
893
+ is useful for displaying longer descriptions or articles where the
894
+ initial preview should provide more context. The expand control
895
+ provides a smooth reading experience for content that may be too
896
+ long to display in full by default in a constrained layout.
897
+ - id: ellipsis_expandable_1
898
+ type: ParagraphInput
899
+ properties:
900
+ ellipsis:
901
+ rows: 1
902
+ expandable: true
903
+ editable: true
904
+ events:
905
+ onMount:
906
+ - id: set_default
907
+ type: SetState
908
+ params:
909
+ ellipsis_expandable_1: Single row with expand. This is compact but still allows
910
+ users to access the full content by clicking the expand link. Useful
911
+ for tight layouts like cards or sidebars.
912
+ ```
913
+
914
+ ```yaml
915
+ - id: ellipsis_suffix_author
916
+ type: ParagraphInput
917
+ properties:
918
+ ellipsis:
919
+ rows: 2
920
+ suffix: " /Lowdefy Docs"
921
+ editable: true
922
+ events:
923
+ onMount:
924
+ - id: set_default
925
+ type: SetState
926
+ params:
927
+ ellipsis_suffix_author: This paragraph has a custom suffix appended after the
928
+ ellipsis. The suffix text is always visible even when the content is
929
+ truncated. This can be used to show important information like a
930
+ date or author that should remain visible.
931
+ - id: ellipsis_suffix_expandable
932
+ type: ParagraphInput
933
+ properties:
934
+ ellipsis:
935
+ rows: 2
936
+ expandable: true
937
+ suffix: " [Read more]"
938
+ editable: true
939
+ events:
940
+ onMount:
941
+ - id: set_default
942
+ type: SetState
943
+ params:
944
+ ellipsis_suffix_expandable: This paragraph has both expandable and suffix
945
+ features combined. The suffix is always shown and the user can
946
+ expand to read the full content. This provides a rich reading
947
+ experience with metadata always visible at the end of the truncated
948
+ preview text.
949
+ - id: ellipsis_suffix_date
950
+ type: ParagraphInput
951
+ properties:
952
+ ellipsis:
953
+ rows: 2
954
+ suffix: " -- 2026-03-10"
955
+ editable: true
956
+ events:
957
+ onMount:
958
+ - id: set_default
959
+ type: SetState
960
+ params:
961
+ ellipsis_suffix_date: A news article excerpt that shows a date suffix. The date
962
+ remains visible regardless of how much content is truncated,
963
+ ensuring the reader always knows when the content was published.
964
+ ```
965
+
966
+ ```yaml
967
+ - id: disabled_basic
968
+ type: ParagraphInput
969
+ properties:
970
+ disabled: true
971
+ editable: false
972
+ events:
973
+ onMount:
974
+ - id: set_default
975
+ type: SetState
976
+ params:
977
+ disabled_basic: This paragraph is disabled and cannot be edited.
978
+ - id: disabled_with_copyable
979
+ type: ParagraphInput
980
+ properties:
981
+ disabled: true
982
+ copyable: true
983
+ editable: false
984
+ events:
985
+ onMount:
986
+ - id: set_default
987
+ type: SetState
988
+ params:
989
+ disabled_with_copyable: Disabled paragraph that is still copyable.
990
+ - id: disabled_styled
991
+ type: ParagraphInput
992
+ properties:
993
+ disabled: true
994
+ strong: true
995
+ editable: false
996
+ events:
997
+ onMount:
998
+ - id: set_default
999
+ type: SetState
1000
+ params:
1001
+ disabled_styled: Disabled paragraph with strong style.
1002
+ - id: disabled_with_type
1003
+ type: ParagraphInput
1004
+ properties:
1005
+ disabled: true
1006
+ type: secondary
1007
+ editable: false
1008
+ events:
1009
+ onMount:
1010
+ - id: set_default
1011
+ type: SetState
1012
+ params:
1013
+ disabled_with_type: Disabled paragraph with secondary type.
1014
+ - id: disabled_warning
1015
+ type: ParagraphInput
1016
+ properties:
1017
+ disabled: true
1018
+ type: warning
1019
+ editable: false
1020
+ events:
1021
+ onMount:
1022
+ - id: set_default
1023
+ type: SetState
1024
+ params:
1025
+ disabled_warning: Disabled paragraph with warning type.
1026
+ - id: disabled_danger_italic
1027
+ type: ParagraphInput
1028
+ properties:
1029
+ disabled: true
1030
+ type: danger
1031
+ italic: true
1032
+ editable: false
1033
+ events:
1034
+ onMount:
1035
+ - id: set_default
1036
+ type: SetState
1037
+ params:
1038
+ disabled_danger_italic: Disabled paragraph with danger type and italic style.
1039
+ ```
1040
+
1041
+ ```yaml
1042
+ - id: default_short
1043
+ type: ParagraphInput
1044
+ properties:
1045
+ editable: true
1046
+ events:
1047
+ onMount:
1048
+ - id: set_default
1049
+ type: SetState
1050
+ params:
1051
+ default_short: Short default value.
1052
+ - id: default_long
1053
+ type: ParagraphInput
1054
+ properties:
1055
+ editable: true
1056
+ events:
1057
+ onMount:
1058
+ - id: set_default
1059
+ type: SetState
1060
+ params:
1061
+ default_long: This is a longer default value that spans multiple words and
1062
+ demonstrates how ParagraphInput handles pre-populated content. Users
1063
+ can click the edit icon to modify this text. The paragraph displays
1064
+ the full content by default.
1065
+ - id: default_with_styles
1066
+ type: ParagraphInput
1067
+ properties:
1068
+ strong: true
1069
+ italic: true
1070
+ editable: true
1071
+ events:
1072
+ onMount:
1073
+ - id: set_default
1074
+ type: SetState
1075
+ params:
1076
+ default_with_styles: Default value with strong and italic styles applied.
1077
+ - id: default_with_type
1078
+ type: ParagraphInput
1079
+ properties:
1080
+ type: success
1081
+ editable: true
1082
+ events:
1083
+ onMount:
1084
+ - id: set_default
1085
+ type: SetState
1086
+ params:
1087
+ default_with_type: Default value displayed as success type.
1088
+ - id: default_empty
1089
+ type: ParagraphInput
1090
+ properties:
1091
+ editable: true
1092
+ - id: default_multiline
1093
+ type: ParagraphInput
1094
+ properties:
1095
+ editable:
1096
+ autoSize: true
1097
+ events:
1098
+ onMount:
1099
+ - id: set_default
1100
+ type: SetState
1101
+ params:
1102
+ default_multiline: First paragraph of content. Second paragraph of content.
1103
+ Third paragraph of content. This shows how ParagraphInput handles
1104
+ multi-line default values with natural line wrapping across the
1105
+ available width.
1106
+ ```
1107
+
1108
+ ```yaml
1109
+ - id: style_custom_bg
1110
+ type: ParagraphInput
1111
+ style:
1112
+ .element:
1113
+ padding: 12
1114
+ borderRadius: 8
1115
+ properties:
1116
+ editable: true
1117
+ events:
1118
+ onMount:
1119
+ - id: set_default
1120
+ type: SetState
1121
+ params:
1122
+ style_custom_bg: Custom background color via inline style.
1123
+ - id: style_custom_border
1124
+ type: ParagraphInput
1125
+ style:
1126
+ .element:
1127
+ border: 1px solid
1128
+ padding: 16
1129
+ borderRadius: 8
1130
+ properties:
1131
+ editable: true
1132
+ events:
1133
+ onMount:
1134
+ - id: set_default
1135
+ type: SetState
1136
+ params:
1137
+ style_custom_border: Custom border and padding via inline style.
1138
+ - id: style_custom_text_color
1139
+ type: ParagraphInput
1140
+ style:
1141
+ .element:
1142
+ color: "#722ed1"
1143
+ fontSize: 16
1144
+ properties:
1145
+ editable: true
1146
+ events:
1147
+ onMount:
1148
+ - id: set_default
1149
+ type: SetState
1150
+ params:
1151
+ style_custom_text_color: Custom purple text color.
1152
+ - id: style_full_custom
1153
+ type: ParagraphInput
1154
+ style:
1155
+ .element:
1156
+ border: 2px solid
1157
+ borderRadius: 12
1158
+ color: "#d46b08"
1159
+ fontSize: 16
1160
+ padding: 16
1161
+ properties:
1162
+ editable: true
1163
+ events:
1164
+ onMount:
1165
+ - id: set_default
1166
+ type: SetState
1167
+ params:
1168
+ style_full_custom: Fully customized with background, border, padding, and text color.
1169
+ - id: style_card_like
1170
+ type: ParagraphInput
1171
+ style:
1172
+ .element:
1173
+ boxShadow: 0 2px 8px rgba(0, 0, 0, 0.1)
1174
+ borderRadius: 8
1175
+ padding: 20
1176
+ properties:
1177
+ editable: true
1178
+ events:
1179
+ onMount:
1180
+ - id: set_default
1181
+ type: SetState
1182
+ params:
1183
+ style_card_like: This paragraph is styled like a card with shadow, padding, and
1184
+ rounded corners. It demonstrates how inline styles can transform the
1185
+ appearance significantly.
1186
+ ```
1187
+
1188
+ ```yaml
1189
+ - id: class_rounded
1190
+ type: ParagraphInput
1191
+ class: rounded-lg bg-bg-layout p-4
1192
+ properties:
1193
+ editable: true
1194
+ events:
1195
+ onMount:
1196
+ - id: set_default
1197
+ type: SetState
1198
+ params:
1199
+ class_rounded: Tailwind classes for rounded corners, blue background, and padding.
1200
+ - id: class_shadow
1201
+ type: ParagraphInput
1202
+ class: shadow-md p-4 rounded-lg
1203
+ properties:
1204
+ editable: true
1205
+ events:
1206
+ onMount:
1207
+ - id: set_default
1208
+ type: SetState
1209
+ params:
1210
+ class_shadow: Tailwind shadow, padding, and rounded corners.
1211
+ - id: class_border
1212
+ type: ParagraphInput
1213
+ class: border border-border rounded-lg p-4
1214
+ properties:
1215
+ editable: true
1216
+ events:
1217
+ onMount:
1218
+ - id: set_default
1219
+ type: SetState
1220
+ params:
1221
+ class_border: Tailwind border with rounded corners.
1222
+ - id: class_gradient_bg
1223
+ type: ParagraphInput
1224
+ class: bg-gradient-to-r from-primary/10 to-primary/5 p-4 rounded-lg
1225
+ properties:
1226
+ editable: true
1227
+ events:
1228
+ onMount:
1229
+ - id: set_default
1230
+ type: SetState
1231
+ params:
1232
+ class_gradient_bg: Tailwind gradient background with padding and rounded corners.
1233
+ ```
1234
+
1235
+ ```yaml
1236
+ - id: theme_color_text
1237
+ type: ParagraphInput
1238
+ properties:
1239
+ editable: true
1240
+ theme:
1241
+ colorText: "#531dab"
1242
+ events:
1243
+ onMount:
1244
+ - id: set_default
1245
+ type: SetState
1246
+ params:
1247
+ theme_color_text: Custom text color using colorText token.
1248
+ - id: theme_font_serif
1249
+ type: ParagraphInput
1250
+ properties:
1251
+ editable: true
1252
+ theme:
1253
+ fontFamily: '"Georgia", "Times New Roman", serif'
1254
+ events:
1255
+ onMount:
1256
+ - id: set_default
1257
+ type: SetState
1258
+ params:
1259
+ theme_font_serif: Serif font family applied to this paragraph. Georgia and Times
1260
+ New Roman.
1261
+ - id: theme_font_size_24
1262
+ type: ParagraphInput
1263
+ properties:
1264
+ editable: true
1265
+ theme:
1266
+ fontSize: 24
1267
+ events:
1268
+ onMount:
1269
+ - id: set_default
1270
+ type: SetState
1271
+ params:
1272
+ theme_font_size_24: Extra large font size (24px) paragraph.
1273
+ - id: theme_weight_900
1274
+ type: ParagraphInput
1275
+ properties:
1276
+ strong: true
1277
+ editable: true
1278
+ theme:
1279
+ fontWeightStrong: 900
1280
+ events:
1281
+ onMount:
1282
+ - id: set_default
1283
+ type: SetState
1284
+ params:
1285
+ theme_weight_900: Heavy font weight (900) on strong paragraph.
1286
+ - id: theme_combined_elegant
1287
+ type: ParagraphInput
1288
+ properties:
1289
+ strong: true
1290
+ editable: true
1291
+ theme:
1292
+ colorText: "#1d39c4"
1293
+ fontFamily: '"Palatino Linotype", "Book Antiqua", serif'
1294
+ fontSize: 16
1295
+ fontWeightStrong: 700
1296
+ events:
1297
+ onMount:
1298
+ - id: set_default
1299
+ type: SetState
1300
+ params:
1301
+ theme_combined_elegant: Elegant styling with custom colors and typography.
1302
+ ```
1303
+
1304
+ ```yaml
1305
+ - id: feat_editable_copyable
1306
+ type: ParagraphInput
1307
+ properties:
1308
+ editable: true
1309
+ copyable: true
1310
+ events:
1311
+ onMount:
1312
+ - id: set_default
1313
+ type: SetState
1314
+ params:
1315
+ feat_editable_copyable: This paragraph is both editable and copyable.
1316
+ - id: feat_editable_copyable_configured
1317
+ type: ParagraphInput
1318
+ properties:
1319
+ editable:
1320
+ tooltip: Edit paragraph
1321
+ maxLength: 200
1322
+ copyable:
1323
+ tooltips:
1324
+ - Copy text
1325
+ - Copied!
1326
+ events:
1327
+ onMount:
1328
+ - id: set_default
1329
+ type: SetState
1330
+ params:
1331
+ feat_editable_copyable_configured: Fully configured editable and copyable paragraph.
1332
+ ```
1333
+
1334
+ ```yaml
1335
+ - id: feat_copyable_success
1336
+ type: ParagraphInput
1337
+ properties:
1338
+ type: success
1339
+ copyable: true
1340
+ editable: true
1341
+ events:
1342
+ onMount:
1343
+ - id: set_default
1344
+ type: SetState
1345
+ params:
1346
+ feat_copyable_success: Copyable success paragraph.
1347
+ - id: feat_copyable_warning
1348
+ type: ParagraphInput
1349
+ properties:
1350
+ type: warning
1351
+ copyable:
1352
+ tooltips:
1353
+ - Copy warning text
1354
+ - Copied!
1355
+ editable: true
1356
+ events:
1357
+ onMount:
1358
+ - id: set_default
1359
+ type: SetState
1360
+ params:
1361
+ feat_copyable_warning: Copyable warning paragraph.
1362
+ - id: feat_copyable_danger
1363
+ type: ParagraphInput
1364
+ properties:
1365
+ type: danger
1366
+ copyable: true
1367
+ editable: true
1368
+ events:
1369
+ onMount:
1370
+ - id: set_default
1371
+ type: SetState
1372
+ params:
1373
+ feat_copyable_danger: Copyable danger paragraph.
1374
+ ```
1375
+
1376
+ ```yaml
1377
+ - id: feat_ellipsis_strong
1378
+ type: ParagraphInput
1379
+ properties:
1380
+ strong: true
1381
+ ellipsis:
1382
+ rows: 2
1383
+ expandable: true
1384
+ editable: true
1385
+ events:
1386
+ onMount:
1387
+ - id: set_default
1388
+ type: SetState
1389
+ params:
1390
+ feat_ellipsis_strong: Strong styled paragraph with ellipsis truncation. This
1391
+ demonstrates how text styles are preserved even when the content is
1392
+ truncated. The bold styling applies to both the visible and hidden
1393
+ portions of the text.
1394
+ - id: feat_ellipsis_italic_mark
1395
+ type: ParagraphInput
1396
+ properties:
1397
+ italic: true
1398
+ mark: true
1399
+ ellipsis:
1400
+ rows: 2
1401
+ expandable: true
1402
+ editable: true
1403
+ events:
1404
+ onMount:
1405
+ - id: set_default
1406
+ type: SetState
1407
+ params:
1408
+ feat_ellipsis_italic_mark: Italic and marked paragraph with ellipsis. This
1409
+ combination shows that multiple text decorations work together with
1410
+ the ellipsis feature. Users can expand to see the full styled
1411
+ content.
1412
+ - id: feat_ellipsis_danger
1413
+ type: ParagraphInput
1414
+ properties:
1415
+ type: danger
1416
+ ellipsis:
1417
+ rows: 2
1418
+ expandable: true
1419
+ editable: true
1420
+ events:
1421
+ onMount:
1422
+ - id: set_default
1423
+ type: SetState
1424
+ params:
1425
+ feat_ellipsis_danger: Danger type paragraph with ellipsis. The red color is
1426
+ maintained on the truncated text and the expand link. This is useful
1427
+ for warning messages that may be long but should still show the
1428
+ danger styling prominently.
1429
+ ```
1430
+
1431
+ ```yaml
1432
+ - id: feat_edit_copy_ellipsis
1433
+ type: ParagraphInput
1434
+ properties:
1435
+ editable:
1436
+ tooltip: Edit this text
1437
+ copyable:
1438
+ tooltips:
1439
+ - Copy to clipboard
1440
+ - Copied!
1441
+ ellipsis:
1442
+ rows: 2
1443
+ expandable: true
1444
+ events:
1445
+ onMount:
1446
+ - id: set_default
1447
+ type: SetState
1448
+ params:
1449
+ feat_edit_copy_ellipsis: This paragraph shows edit, copy, and ellipsis expand
1450
+ controls together. All three interaction modes are available
1451
+ simultaneously, giving the user full control over the paragraph
1452
+ content. They can edit inline, copy to clipboard, and expand to read
1453
+ the full text.
1454
+ ```
1455
+
1456
+ ```yaml
1457
+ - id: full_success
1458
+ type: ParagraphInput
1459
+ properties:
1460
+ type: success
1461
+ strong: true
1462
+ editable:
1463
+ icon: AiOutlineEdit
1464
+ tooltip: Edit this paragraph
1465
+ maxLength: 300
1466
+ autoSize: true
1467
+ copyable:
1468
+ tooltips:
1469
+ - Copy paragraph
1470
+ - Paragraph copied!
1471
+ ellipsis:
1472
+ rows: 2
1473
+ expandable: true
1474
+ events:
1475
+ onMount:
1476
+ - id: set_default
1477
+ type: SetState
1478
+ params:
1479
+ full_success: This is a fully featured paragraph with editable, copyable, strong
1480
+ styling, success type, and ellipsis truncation with expandable
1481
+ content. It demonstrates how all features of ParagraphInput work
1482
+ together seamlessly.
1483
+ - id: full_warning
1484
+ type: ParagraphInput
1485
+ properties:
1486
+ type: warning
1487
+ italic: true
1488
+ editable:
1489
+ tooltip: Edit warning text
1490
+ maxLength: 250
1491
+ autoSize:
1492
+ minRows: 2
1493
+ maxRows: 6
1494
+ copyable:
1495
+ text: Custom copied warning text
1496
+ tooltips:
1497
+ - Copy warning
1498
+ - Warning copied!
1499
+ ellipsis:
1500
+ rows: 2
1501
+ expandable: true
1502
+ suffix: " [Warning]"
1503
+ events:
1504
+ onMount:
1505
+ - id: set_default
1506
+ type: SetState
1507
+ params:
1508
+ full_warning: A warning paragraph with italic styling, copy support with custom
1509
+ text, editable configuration, and ellipsis with a suffix. This shows
1510
+ a complex combination of all available ParagraphInput features
1511
+ working in harmony.
1512
+ - id: full_themed
1513
+ type: ParagraphInput
1514
+ properties:
1515
+ strong: true
1516
+ editable:
1517
+ tooltip: Edit themed paragraph
1518
+ maxLength: 200
1519
+ autoSize: true
1520
+ copyable:
1521
+ tooltips:
1522
+ - Copy themed text
1523
+ - Copied!
1524
+ ellipsis:
1525
+ rows: 2
1526
+ expandable: true
1527
+ theme:
1528
+ colorText: "#722ed1"
1529
+ fontFamily: '"Georgia", serif'
1530
+ fontSize: 16
1531
+ fontWeightStrong: 700
1532
+ events:
1533
+ onMount:
1534
+ - id: set_default
1535
+ type: SetState
1536
+ params:
1537
+ full_themed: Fully featured paragraph with custom theme token overrides. Purple
1538
+ text color, serif font, and heavy bold weight combined with
1539
+ editable, copyable, and ellipsis features for a complete
1540
+ demonstration.
1541
+ - id: full_danger_card
1542
+ type: ParagraphInput
1543
+ class: border border-border bg-bg-layout p-4 rounded-lg
1544
+ properties:
1545
+ type: danger
1546
+ strong: true
1547
+ editable:
1548
+ icon: AiOutlineEdit
1549
+ tooltip: Edit error message
1550
+ maxLength: 500
1551
+ autoSize:
1552
+ minRows: 2
1553
+ maxRows: 10
1554
+ copyable:
1555
+ icon:
1556
+ - AiOutlineCopy
1557
+ - AiOutlineCheck
1558
+ tooltips:
1559
+ - Copy error details
1560
+ - Error details copied!
1561
+ ellipsis:
1562
+ rows: 2
1563
+ expandable: true
1564
+ events:
1565
+ onMount:
1566
+ - id: set_default
1567
+ type: SetState
1568
+ params:
1569
+ full_danger_card: A danger-styled paragraph in a card-like layout. The
1570
+ combination of danger type, strong text, Tailwind CSS classes for
1571
+ the container, and full editable and copyable configuration creates
1572
+ a visually distinct error message that can be edited and copied.
1573
+ - id: full_article_preview
1574
+ type: ParagraphInput
1575
+ class: shadow-sm p-4 rounded-lg
1576
+ properties:
1577
+ editable:
1578
+ tooltip: Edit article preview
1579
+ autoSize: true
1580
+ copyable:
1581
+ text: https://lowdefy.com/articles/example
1582
+ tooltips:
1583
+ - Copy article link
1584
+ - Link copied!
1585
+ ellipsis:
1586
+ rows: 3
1587
+ expandable: true
1588
+ suffix: " -- by Lowdefy Team"
1589
+ theme:
1590
+ fontFamily: '"Georgia", serif'
1591
+ fontSize: 15
1592
+ lineHeight: 1.8
1593
+ events:
1594
+ onMount:
1595
+ - id: set_default
1596
+ type: SetState
1597
+ params:
1598
+ full_article_preview: An article preview paragraph that demonstrates a
1599
+ real-world use case. The paragraph shows a truncated preview with an
1600
+ author suffix, expandable content, and the ability to edit inline.
1601
+ The serif font and relaxed line height create a pleasant reading
1602
+ experience typical of content management interfaces.
1603
+ ```
1604
+
1605
+ | Property | Type | Default | Description |
1606
+ | --- | --- | --- | --- |
1607
+ | `code` | boolean | `false` | Apply code style. |
1608
+ | `copyable` | boolean \| object | `false` | Provide copy text button. |
1609
+ | `copyable.text` | string | - | Paragraph text to copy when clicked. |
1610
+ | `copyable.icon` | string \| object \| array | - | Copy icon, can be an array or two icons for before and after clicked. |
1611
+ | `copyable.tooltips` | string \| array | - | Tooltip text, can be an array or two strings for before and after clicked. |
1612
+ | `delete` | boolean | `false` | Apply deleted (strikethrough) style. |
1613
+ | `disabled` | boolean | `false` | Apply disabled style. |
1614
+ | `editable` | boolean \| object | `true` | Allow paragraph editing when true, editable settings can be provided with editable object. |
1615
+ | `editable.icon` | string \| object | - | Edit icon. |
1616
+ | `editable.tooltip` | string | - | Edit tooltip text. |
1617
+ | `editable.editing` | boolean | - | Control editing state. |
1618
+ | `editable.maxLength` | number | - | Max length of text area input. |
1619
+ | `editable.autoSize` | boolean \| object | `false` | Auto size the text area height when editing. |
1620
+ | `editable.autoSize.minRows` | number | - | Minimum number of rows for the text area. |
1621
+ | `editable.autoSize.maxRows` | number | - | Maximum number of rows for the text area. |
1622
+ | `ellipsis` | boolean \| object | `false` | Display ellipsis when text overflows a single line. |
1623
+ | `ellipsis.rows` | number | - | Max rows of content. |
1624
+ | `ellipsis.expandable` | boolean | - | Expand hidden content when clicked. |
1625
+ | `ellipsis.suffix` | string | - | Suffix of ellipses content. |
1626
+ | `italic` | boolean | `false` | Apply italic style. |
1627
+ | `mark` | boolean | `false` | Apply marked (highlighted) style. |
1628
+ | `strong` | boolean | `false` | Apply strong (bold) style. |
1629
+ | `type` | string | `"default"` | Additional types. Don't specify for default. Enum: `success`, `default`, `secondary`, `warning`, `danger`. |
1630
+ | `underline` | boolean | `false` | Apply underline style. |
1631
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design typography tokens](https://ant.design/components/typography#design-token). |
1632
+ | `theme.titleMarginBottom` | string | `"0.5em"` | Margin bottom for title elements. |
1633
+ | `theme.titleMarginTop` | string | `"1.2em"` | Margin top for title elements. |
1634
+ | `theme.colorText` | string | - | Default text color. |
1635
+ | `theme.colorTextSecondary` | string | - | Text color for secondary type. |
1636
+ | `theme.colorSuccess` | string | - | Text color for success type. |
1637
+ | `theme.colorWarning` | string | - | Text color for warning type. |
1638
+ | `theme.colorError` | string | - | Text color for danger type. |
1639
+ | `theme.colorLink` | string | - | Color for links within typography. |
1640
+ | `theme.colorLinkHover` | string | - | Color for links on hover. |
1641
+ | `theme.colorLinkActive` | string | - | Color for links when active. |
1642
+ | `theme.colorTextDescription` | string | - | Color for description text. |
1643
+ | `theme.colorTextDisabled` | string | - | Color for disabled text. |
1644
+ | `theme.fontFamily` | string | - | Font family for typography text. |
1645
+ | `theme.fontSize` | number | `14` | Base font size. |
1646
+ | `theme.fontSizeLG` | number | `16` | Large font size. |
1647
+ | `theme.fontSizeSM` | number | `14` | Small font size. |
1648
+ | `theme.fontWeightStrong` | number | `600` | Font weight for strong text. |
1649
+ | `theme.lineHeight` | number | `1.5714` | Base line height. |
1650
+
1651
+ | Event | Event Data | Description |
1652
+ | --- | --- | --- |
1653
+ | `onExpand` | \- | Trigger action when ellipse expand is clicked. |
1654
+ | `onCopy` | `{ value }` | Trigger action when copy text is clicked. |
1655
+ | `onChange` | `{ value }` | Trigger action when paragraph is changed. |
1656
+
1657
+ | Key | Target |
1658
+ | --- | --- |
1659
+ | `/block` | Outer block wrapper (always available). |
1660
+ | `/element` | The ParagraphInput element. |
1661
+ | `/copyableIcon` | The copyable icon in the ParagraphInput. |
1662
+ | `/editableIcon` | The editable icon in the ParagraphInput. |
1663
+
1664
+ No slots defined.