@lowdefy/docs-content 0.0.0-experimental-20260928120643 → 6.1.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 (226) hide show
  1. package/README.md +0 -1
  2. package/content/actions/link.md +0 -17
  3. package/content/actions/login.md +5 -23
  4. package/content/actions/logout.md +5 -5
  5. package/content/actions/pdfmake.md +2 -2
  6. package/content/actions/setdarkmode.md +2 -2
  7. package/content/agents/agent-properties.md +2 -4
  8. package/content/agents/agentchat.md +6 -21
  9. package/content/agents/agentconversations.md +2 -2
  10. package/content/concepts/ai-agent-docs.md +101 -313
  11. package/content/concepts/cli.md +3 -34
  12. package/content/concepts/connections-and-requests.md +0 -402
  13. package/content/concepts/custom-html.md +0 -40
  14. package/content/concepts/custom-styling.md +5 -50
  15. package/content/concepts/events-and-actions.md +2 -64
  16. package/content/concepts/i18n.md +2 -7
  17. package/content/concepts/keyboard-shortcuts.md +2 -2
  18. package/content/concepts/layout-overview.md +1 -1
  19. package/content/concepts/logger.md +0 -81
  20. package/content/concepts/lowdefy-schema.md +1 -4
  21. package/content/concepts/menus.md +7 -7
  22. package/content/concepts/module-authoring.md +2 -2
  23. package/content/connections/anthropic.md +2 -162
  24. package/content/connections/awss3.md +0 -54
  25. package/content/connections/google.md +2 -162
  26. package/content/connections/mongodb.md +3 -121
  27. package/content/connections/openai-connection.md +2 -162
  28. package/content/container-blocks/affix.md +7 -47
  29. package/content/container-blocks/alert.md +24 -76
  30. package/content/container-blocks/badge.md +24 -100
  31. package/content/container-blocks/box.md +9 -9
  32. package/content/container-blocks/card.md +25 -80
  33. package/content/container-blocks/carousel.md +7 -60
  34. package/content/container-blocks/collapse.md +9 -87
  35. package/content/container-blocks/configprovider.md +13 -35
  36. package/content/container-blocks/confirmmodal.md +23 -69
  37. package/content/container-blocks/content.md +98 -62
  38. package/content/container-blocks/descriptions.md +4 -45
  39. package/content/container-blocks/drawer.md +28 -92
  40. package/content/container-blocks/dropdownmenu.md +31 -119
  41. package/content/container-blocks/flex.md +62 -40
  42. package/content/container-blocks/footer.md +11 -15
  43. package/content/container-blocks/googlemapsheatmap.md +1 -1
  44. package/content/container-blocks/googlemapsscript.md +2 -2
  45. package/content/container-blocks/header.md +36 -71
  46. package/content/container-blocks/label.md +7 -34
  47. package/content/container-blocks/layout.md +34 -52
  48. package/content/container-blocks/masonry.md +71 -17
  49. package/content/container-blocks/mobilemenu.md +88 -131
  50. package/content/container-blocks/modal.md +26 -114
  51. package/content/container-blocks/pageheadermenu.md +31 -81
  52. package/content/container-blocks/pagesidebarlayout.md +26 -169
  53. package/content/container-blocks/pagesidermenu.md +42 -95
  54. package/content/container-blocks/popover.md +31 -34
  55. package/content/container-blocks/result.md +21 -32
  56. package/content/container-blocks/sider.md +122 -85
  57. package/content/container-blocks/span.md +7 -7
  58. package/content/container-blocks/spinner.md +3 -3
  59. package/content/container-blocks/splitter.md +68 -150
  60. package/content/container-blocks/tabs.md +12 -64
  61. package/content/container-blocks/tooltip.md +46 -22
  62. package/content/container-blocks/watermark.md +4 -22
  63. package/content/controls/reject.md +2 -4
  64. package/content/controls/throw.md +0 -1
  65. package/content/controls/try.md +2 -3
  66. package/content/deployment/deployment-environments.md +6 -8
  67. package/content/deployment/docker.md +7 -22
  68. package/content/deployment/node-server.md +0 -4
  69. package/content/deployment/vercel.md +6 -13
  70. package/content/display-blocks/aggrid.md +11 -26
  71. package/content/display-blocks/anchor.md +15 -15
  72. package/content/display-blocks/avatar.md +37 -57
  73. package/content/display-blocks/breadcrumb.md +21 -70
  74. package/content/display-blocks/button.md +18 -92
  75. package/content/display-blocks/calendar.md +0 -12
  76. package/content/display-blocks/dangeroushtml.md +1 -1
  77. package/content/display-blocks/difflist.md +1 -1
  78. package/content/display-blocks/difftimeline.md +1 -1
  79. package/content/display-blocks/divider.md +3 -64
  80. package/content/display-blocks/dropdownbutton.md +28 -79
  81. package/content/display-blocks/echart.md +1 -35
  82. package/content/display-blocks/floatbutton.md +42 -129
  83. package/content/display-blocks/html.md +1 -61
  84. package/content/display-blocks/icon.md +67 -250
  85. package/content/display-blocks/menu.md +73 -145
  86. package/content/display-blocks/message.md +124 -38
  87. package/content/display-blocks/notification.md +222 -94
  88. package/content/display-blocks/paragraph.md +9 -59
  89. package/content/display-blocks/progress.md +17 -96
  90. package/content/display-blocks/qrcode.md +4 -19
  91. package/content/display-blocks/s3download.md +1 -1
  92. package/content/display-blocks/search.md +7 -17
  93. package/content/display-blocks/skeletonbutton.md +0 -1
  94. package/content/display-blocks/skeletoninput.md +0 -1
  95. package/content/display-blocks/statistic.md +17 -75
  96. package/content/display-blocks/steps.md +25 -58
  97. package/content/display-blocks/tag.md +17 -102
  98. package/content/display-blocks/title.md +11 -50
  99. package/content/display-blocks/tour.md +23 -33
  100. package/content/input-blocks/autocomplete.md +9 -81
  101. package/content/input-blocks/buttonselector.md +8 -45
  102. package/content/input-blocks/checkboxselector.md +7 -97
  103. package/content/input-blocks/checkboxswitch.md +3 -33
  104. package/content/input-blocks/colorselector.md +14 -63
  105. package/content/input-blocks/daterangeselector.md +45 -165
  106. package/content/input-blocks/dateselector.md +41 -139
  107. package/content/input-blocks/datetimeselector.md +49 -158
  108. package/content/input-blocks/inputgallery.md +3 -3
  109. package/content/input-blocks/monthselector.md +52 -120
  110. package/content/input-blocks/multipleselector.md +39 -150
  111. package/content/input-blocks/numberinput.md +12 -98
  112. package/content/input-blocks/pagination.md +14 -70
  113. package/content/input-blocks/paragraphinput.md +37 -51
  114. package/content/input-blocks/passwordinput.md +6 -60
  115. package/content/input-blocks/phonenumberinput.md +26 -59
  116. package/content/input-blocks/radioselector.md +7 -83
  117. package/content/input-blocks/ratingslider.md +26 -57
  118. package/content/input-blocks/s3uploadbutton.md +24 -24
  119. package/content/input-blocks/s3uploaddragger.md +3 -3
  120. package/content/input-blocks/s3uploadphoto.md +5 -5
  121. package/content/input-blocks/segmentedselector.md +32 -72
  122. package/content/input-blocks/selector.md +21 -109
  123. package/content/input-blocks/switch.md +17 -65
  124. package/content/input-blocks/textarea.md +3 -32
  125. package/content/input-blocks/textinput.md +28 -69
  126. package/content/input-blocks/tiptapmentioninput.md +1 -1
  127. package/content/input-blocks/titleinput.md +12 -39
  128. package/content/input-blocks/treeinput.md +25 -49
  129. package/content/input-blocks/treemultipleselector.md +10 -127
  130. package/content/input-blocks/treeselector.md +9 -97
  131. package/content/input-blocks/upload.md +15 -64
  132. package/content/input-blocks/uploaddragger.md +1 -17
  133. package/content/input-blocks/uploadphoto.md +1 -18
  134. package/content/input-blocks/weekselector.md +55 -120
  135. package/content/list-blocks/controlledlist.md +15 -24
  136. package/content/list-blocks/list.md +11 -11
  137. package/content/list-blocks/masonrylist.md +34 -7
  138. package/content/migration/upgrade-guide.md +0 -1
  139. package/content/operators/_app.md +1 -2
  140. package/content/operators/_error.md +1 -23
  141. package/content/operators/_get.md +6 -6
  142. package/content/operators/_operator.md +3 -17
  143. package/content/operators/_ref.md +0 -258
  144. package/content/operators/_type.md +3 -14
  145. package/content/operators/_user.md +3 -3
  146. package/content/other/introduction.md +1 -1
  147. package/content/plugins/plugins-dev.md +0 -66
  148. package/content/plugins/plugins-introduction.md +1 -27
  149. package/content/testing/e2e-configuration.md +1 -8
  150. package/content/testing/e2e-getting-started.md +1 -1
  151. package/content/testing/e2e-introduction.md +1 -1
  152. package/content/tutorial/tutorial-actions-operators.md +2 -2
  153. package/content/tutorial/tutorial-add-blocks.md +2 -2
  154. package/content/tutorial/tutorial-create-page.md +2 -48
  155. package/content/tutorial/tutorial-display-data-page.md +3 -3
  156. package/content/tutorial/tutorial-requests-sql.md +0 -153
  157. package/content/tutorial/tutorial-start.md +1 -66
  158. package/content/user-authentication/login-and-logout.md +8 -158
  159. package/content/user-authentication/users-introduction.md +0 -8
  160. package/index.json +2 -6065
  161. package/package.json +1 -7
  162. package/scripts/extractAgentDocs.js +4 -36
  163. package/content/actions/emailotpsend.md +0 -58
  164. package/content/actions/emailotpverify.md +0 -77
  165. package/content/actions/getlocalstorage.md +0 -41
  166. package/content/actions/magiclinkverify.md +0 -113
  167. package/content/actions/posthogalias.md +0 -29
  168. package/content/actions/posthogcapture.md +0 -49
  169. package/content/actions/posthogcapturepageleave.md +0 -38
  170. package/content/actions/posthogfeatureflag.md +0 -50
  171. package/content/actions/posthoggroup.md +0 -37
  172. package/content/actions/posthogidentify.md +0 -54
  173. package/content/actions/posthoginit.md +0 -66
  174. package/content/actions/posthogoptin.md +0 -29
  175. package/content/actions/posthogoptout.md +0 -29
  176. package/content/actions/posthogpageview.md +0 -37
  177. package/content/actions/posthogreloadfeatureflags.md +0 -47
  178. package/content/actions/posthogreset.md +0 -28
  179. package/content/actions/posthogsetpersonproperties.md +0 -36
  180. package/content/actions/removelocalstorage.md +0 -26
  181. package/content/actions/setlocalstorage.md +0 -32
  182. package/content/adapter-reference/mongodbauthadapter.md +0 -46
  183. package/content/agents/agents-introduction.md +0 -107
  184. package/content/callback-reference/auth0logoutcallback.md +0 -54
  185. package/content/concepts/blocks.md +0 -150
  186. package/content/concepts/dynamic-page-content.md +0 -304
  187. package/content/concepts/html-attributes.md +0 -285
  188. package/content/concepts/lowdefy-api.md +0 -1110
  189. package/content/concepts/notifications.md +0 -155
  190. package/content/concepts/page-and-app-state.md +0 -244
  191. package/content/concepts/theming.md +0 -582
  192. package/content/connections/aigateway.md +0 -368
  193. package/content/connections/axioshttp.md +0 -181
  194. package/content/controls/while.md +0 -46
  195. package/content/display-blocks/clickablehtml.md +0 -239
  196. package/content/display-blocks/eventlog.md +0 -363
  197. package/content/display-blocks/pollingtimer.md +0 -263
  198. package/content/input-blocks/captcha.md +0 -40
  199. package/content/input-blocks/placesautocomplete.md +0 -319
  200. package/content/input-blocks/tagmultipleselector.md +0 -114
  201. package/content/input-blocks/tagselector.md +0 -114
  202. package/content/migration/auth-upgrade.md +0 -327
  203. package/content/migration/v3-to-v4.md +0 -417
  204. package/content/migration/v6-to-v7.md +0 -222
  205. package/content/operators/_cron.md +0 -292
  206. package/content/other/mongodbadapter.md +0 -3
  207. package/content/plugins/plugins-icon-sets.md +0 -267
  208. package/content/plugins/posthog.md +0 -275
  209. package/content/provider-reference/auth-js-providers.md +0 -107
  210. package/content/provider-reference/openidconnectprovider.md +0 -44
  211. package/content/testing/config-tests.md +0 -278
  212. package/content/tutorial/tutorial-requests-api.md +0 -155
  213. package/content/user-authentication/auth-configuration.md +0 -266
  214. package/content/user-authentication/auth-steps.md +0 -138
  215. package/content/user-authentication/mcp-oauth.md +0 -292
  216. package/content/user-authentication/organizations.md +0 -221
  217. package/content/user-authentication/protected-pages-apis.md +0 -97
  218. package/content/user-authentication/roles.md +0 -49
  219. package/content/user-authentication/two-factor.md +0 -229
  220. package/content/user-authentication/user-object.md +0 -58
  221. package/content/websockets/websocket-publish.md +0 -108
  222. package/content/websockets/websocket-subscriptions.md +0 -100
  223. package/content/websockets/websockets-introduction.md +0 -97
  224. package/hazards.json +0 -44
  225. package/scripts/hashDocSources.js +0 -38
  226. package/scripts/recordSourceHashes.js +0 -88
@@ -60,8 +60,6 @@ blocks:
60
60
 
61
61
  **Small size:**
62
62
 
63
- **Large size:**
64
-
65
63
  ```yaml
66
64
  - id: size_default_label
67
65
  type: Markdown
@@ -80,36 +78,6 @@ blocks:
80
78
  properties:
81
79
  total: 100
82
80
  size: small
83
- - id: size_large_label
84
- type: Markdown
85
- properties:
86
- content: "**Large size:**"
87
- - id: size_large
88
- type: Pagination
89
- properties:
90
- total: 100
91
- size: large
92
- ```
93
-
94
- ```yaml
95
- - id: align_center
96
- type: Pagination
97
- properties:
98
- total: 100
99
- align: center
100
- - id: align_end
101
- type: Pagination
102
- properties:
103
- total: 100
104
- align: end
105
- ```
106
-
107
- ```yaml
108
- - id: less_items
109
- type: Pagination
110
- properties:
111
- total: 500
112
- showLessItems: true
113
81
  ```
114
82
 
115
83
  **Simple (default size):**
@@ -138,19 +106,17 @@ blocks:
138
106
  size: small
139
107
  ```
140
108
 
141
- **Default format:**
109
+ **Boolean (default format):**
142
110
 
143
111
  **Custom string:**
144
112
 
145
- **Hidden:**
146
-
147
113
  **Show total (small):**
148
114
 
149
115
  ```yaml
150
116
  - id: show_total_bool_label
151
117
  type: Markdown
152
118
  properties:
153
- content: "**Default format:**"
119
+ content: "**Boolean (default format):**"
154
120
  - id: show_total_bool
155
121
  type: Pagination
156
122
  properties:
@@ -165,15 +131,6 @@ blocks:
165
131
  properties:
166
132
  total: 85
167
133
  showTotal: 85 results found
168
- - id: show_total_hidden_label
169
- type: Markdown
170
- properties:
171
- content: "**Hidden:**"
172
- - id: show_total_hidden
173
- type: Pagination
174
- properties:
175
- total: 85
176
- showTotal: false
177
134
  - id: show_total_small_label
178
135
  type: Markdown
179
136
  properties:
@@ -500,26 +457,19 @@ blocks:
500
457
 
501
458
  ```yaml
502
459
  - id: with_label_default
503
- type: Label
460
+ type: Pagination
504
461
  properties:
505
462
  title: Page Navigation
506
- blocks:
507
- - id: with_label_default_pagination
508
- type: Pagination
509
- properties:
510
- total: 100
463
+ total: 100
511
464
  - id: with_label_inline
512
- type: Label
465
+ type: Pagination
513
466
  properties:
514
467
  title: Results
515
- inline: true
516
- span: 6
517
- blocks:
518
- - id: with_label_inline_pagination
519
- type: Pagination
520
- properties:
521
- total: 200
522
- showTotal: true
468
+ total: 200
469
+ showTotal: true
470
+ label:
471
+ inline: true
472
+ span: 6
523
473
  ```
524
474
 
525
475
  **Custom background and padding:**
@@ -550,7 +500,7 @@ blocks:
550
500
  type: Pagination
551
501
  style:
552
502
  .element:
553
- border: "1px solid #d9d9d9"
503
+ border: 1px solid
554
504
  borderRadius: 8
555
505
  padding: 12
556
506
  display: flex
@@ -683,12 +633,9 @@ blocks:
683
633
  | Property | Type | Default | Description |
684
634
  | --- | --- | --- | --- |
685
635
  | `total` | integer | `100` | Total number of items to be displayed in pagination. |
686
- | `size` | string | `"default"` | Pagination element size. Enum: `small`, `default`, `large`. |
687
- | `align` | string | `"start"` | Horizontal alignment of the pagination. Enum: `start`, `center`, `end`. |
688
- | `responsive` | boolean | `false` | Switch to the small size on narrow screens. Only applies when size is not set. |
689
- | `showLessItems` | boolean | `false` | Show fewer page number items around the current page. |
636
+ | `size` | string | `"default"` | Pagination element size. Enum: `small`, `default`. |
690
637
  | `simple` | boolean | `false` | Use simplified pagination display. |
691
- | `showTotal` | boolean \| string \| object | `true` | Show the item range and total, such as "1-10 of 100 items". Set false to hide it, a string to show custom text, or a function that receives the total and the range. |
638
+ | `showTotal` | boolean \| string \| object | `false` | Show pagination total number and range if boolean, or define a custom string or function to display. |
692
639
  | `showSizeChanger` | boolean | `false` | Determine whether to show page size select, it will be true when total > 50. |
693
640
  | `showQuickJumper` | boolean | `false` | Determine whether you can jump to pages directly. |
694
641
  | `pageSizeOptions` | array | `[10,20,30,40]` | Specify the page size changer options. |
@@ -698,10 +645,8 @@ blocks:
698
645
  | `theme.itemBg` | string | `"#ffffff"` | Background color for pagination items. |
699
646
  | `theme.itemSize` | number | `32` | Size of pagination items. |
700
647
  | `theme.itemSizeSM` | number | `24` | Size of pagination items in small mode. |
701
- | `theme.itemSizeLG` | number | `40` | Size of pagination items in large mode. |
702
648
  | `theme.itemActiveBg` | string | `"#ffffff"` | Background color for the active pagination item. |
703
- | `theme.itemActiveColor` | string | `"#1677ff"` | Text color for the active pagination item. |
704
- | `theme.itemActiveColorHover` | string | `"#4096ff"` | Text color for the active pagination item on hover. |
649
+ | `theme.itemActiveColor` | string | - | Text color for the active pagination item. |
705
650
  | `theme.itemActiveColorDisabled` | string | `"rgba(0,0,0,0.25)"` | Text color for the active item when disabled. |
706
651
  | `theme.itemActiveBgDisabled` | string | `"rgba(0,0,0,0.15)"` | Background color for the active item when disabled. |
707
652
  | `theme.itemLinkBg` | string | `"#ffffff"` | Background color for prev/next link items. |
@@ -730,6 +675,5 @@ blocks:
730
675
  | --- | --- |
731
676
  | `/block` | Outer block wrapper (always available). |
732
677
  | `/element` | The Pagination element. |
733
- | `/item` | Each page number item. |
734
678
 
735
679
  No slots defined.
@@ -12,8 +12,8 @@ Editable paragraph text with copyable and ellipsis support.
12
12
  - id: set_default
13
13
  type: SetState
14
14
  params:
15
- basic_default: Click anywhere in this paragraph to edit it in place. Press Enter
16
- or click away to save, or Escape to cancel.
15
+ basic_default: Click the edit icon to start editing this paragraph. Changes are
16
+ saved when you press Enter or click away.
17
17
  - id: basic_editable_object
18
18
  type: ParagraphInput
19
19
  properties:
@@ -39,10 +39,6 @@ Editable paragraph text with copyable and ellipsis support.
39
39
  type: ParagraphInput
40
40
  properties:
41
41
  editable: true
42
- - id: basic_placeholder
43
- type: ParagraphInput
44
- properties:
45
- placeholder: Add a description
46
42
  - id: basic_long
47
43
  type: ParagraphInput
48
44
  properties:
@@ -53,11 +49,11 @@ Editable paragraph text with copyable and ellipsis support.
53
49
  type: SetState
54
50
  params:
55
51
  basic_long: This is a longer paragraph to demonstrate how ParagraphInput handles
56
- multi-line content. When you click the text, it becomes editable in
57
- place, with the caret where you clicked. The editable paragraph is
58
- useful for inline content editing scenarios where users should be
59
- able to quickly update descriptive text without navigating to a
60
- separate form.
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.
61
57
  ```
62
58
 
63
59
  ```yaml
@@ -71,7 +67,7 @@ Editable paragraph text with copyable and ellipsis support.
71
67
  - id: set_default
72
68
  type: SetState
73
69
  params:
74
- tooltip_short: Hover over this paragraph to see a short tooltip.
70
+ tooltip_short: Hover over the edit icon to see a short tooltip.
75
71
  - id: tooltip_descriptive
76
72
  type: ParagraphInput
77
73
  properties:
@@ -82,7 +78,7 @@ Editable paragraph text with copyable and ellipsis support.
82
78
  - id: set_default
83
79
  type: SetState
84
80
  params:
85
- tooltip_descriptive: Hover over this paragraph to see a descriptive tooltip.
81
+ tooltip_descriptive: Hover over the edit icon to see a descriptive tooltip.
86
82
  - id: tooltip_instructional
87
83
  type: ParagraphInput
88
84
  properties:
@@ -101,20 +97,20 @@ Editable paragraph text with copyable and ellipsis support.
101
97
  type: ParagraphInput
102
98
  properties:
103
99
  editable:
104
- icon: highlight
100
+ icon: AiOutlineHighlight
105
101
  tooltip: Highlight to edit
106
102
  events:
107
103
  onMount:
108
104
  - id: set_default
109
105
  type: SetState
110
106
  params:
111
- icon_highlight: An edit icon is shown only when one is set. This one uses the
112
- highlight icon.
107
+ icon_highlight: This paragraph uses a highlight icon instead of the default edit
108
+ icon.
113
109
  - id: icon_form
114
110
  type: ParagraphInput
115
111
  properties:
116
112
  editable:
117
- icon: SquarePen
113
+ icon: AiOutlineForm
118
114
  tooltip: Open editor
119
115
  events:
120
116
  onMount:
@@ -126,7 +122,7 @@ Editable paragraph text with copyable and ellipsis support.
126
122
  type: ParagraphInput
127
123
  properties:
128
124
  editable:
129
- icon: edit
125
+ icon: AiOutlineEdit
130
126
  tooltip: Edit paragraph
131
127
  events:
132
128
  onMount:
@@ -139,7 +135,7 @@ Editable paragraph text with copyable and ellipsis support.
139
135
  properties:
140
136
  editable:
141
137
  icon:
142
- name: edit
138
+ name: AiOutlineEdit
143
139
  color: "#1677ff"
144
140
  tooltip: Edit in blue
145
141
  events:
@@ -214,8 +210,8 @@ Editable paragraph text with copyable and ellipsis support.
214
210
  type: SetState
215
211
  params:
216
212
  autosize_true: This paragraph uses autoSize true so the text area automatically
217
- grows to fit the content when editing. Click the text to see the
218
- text area expand.
213
+ grows to fit the content when editing. Try clicking the edit icon to
214
+ see the text area expand.
219
215
  - id: autosize_min_max
220
216
  type: ParagraphInput
221
217
  properties:
@@ -291,7 +287,7 @@ Editable paragraph text with copyable and ellipsis support.
291
287
  type: ParagraphInput
292
288
  properties:
293
289
  editable:
294
- icon: edit
290
+ icon: AiOutlineEdit
295
291
  tooltip: Edit this paragraph
296
292
  maxLength: 150
297
293
  autoSize:
@@ -308,7 +304,7 @@ Editable paragraph text with copyable and ellipsis support.
308
304
  type: ParagraphInput
309
305
  properties:
310
306
  editable:
311
- icon: highlight
307
+ icon: AiOutlineHighlight
312
308
  tooltip: Highlight to edit (max 100 chars)
313
309
  maxLength: 100
314
310
  events:
@@ -693,7 +689,7 @@ Editable paragraph text with copyable and ellipsis support.
693
689
  type: ParagraphInput
694
690
  properties:
695
691
  copyable:
696
- icon: Files
692
+ icon: AiOutlineSnippets
697
693
  tooltips:
698
694
  - Copy snippet
699
695
  - Snippet copied!
@@ -709,8 +705,8 @@ Editable paragraph text with copyable and ellipsis support.
709
705
  properties:
710
706
  copyable:
711
707
  icon:
712
- - copy
713
- - check
708
+ - AiOutlineCopy
709
+ - AiOutlineCheck
714
710
  tooltips:
715
711
  - Copy text
716
712
  - Text copied!
@@ -726,7 +722,7 @@ Editable paragraph text with copyable and ellipsis support.
726
722
  properties:
727
723
  copyable:
728
724
  icon:
729
- name: copy
725
+ name: AiOutlineCopy
730
726
  color: "#1677ff"
731
727
  tooltips:
732
728
  - Copy
@@ -747,8 +743,8 @@ Editable paragraph text with copyable and ellipsis support.
747
743
  copyable:
748
744
  text: Custom text for clipboard
749
745
  icon:
750
- - copy
751
- - check
746
+ - AiOutlineCopy
747
+ - AiOutlineCheck
752
748
  tooltips:
753
749
  - Copy custom text
754
750
  - Custom text copied!
@@ -1064,8 +1060,8 @@ Editable paragraph text with copyable and ellipsis support.
1064
1060
  params:
1065
1061
  default_long: This is a longer default value that spans multiple words and
1066
1062
  demonstrates how ParagraphInput handles pre-populated content. Users
1067
- can click the text to modify it. The paragraph displays the full
1068
- content by default.
1063
+ can click the edit icon to modify this text. The paragraph displays
1064
+ the full content by default.
1069
1065
  - id: default_with_styles
1070
1066
  type: ParagraphInput
1071
1067
  properties:
@@ -1464,7 +1460,7 @@ Editable paragraph text with copyable and ellipsis support.
1464
1460
  type: success
1465
1461
  strong: true
1466
1462
  editable:
1467
- icon: edit
1463
+ icon: AiOutlineEdit
1468
1464
  tooltip: Edit this paragraph
1469
1465
  maxLength: 300
1470
1466
  autoSize: true
@@ -1549,7 +1545,7 @@ Editable paragraph text with copyable and ellipsis support.
1549
1545
  type: danger
1550
1546
  strong: true
1551
1547
  editable:
1552
- icon: edit
1548
+ icon: AiOutlineEdit
1553
1549
  tooltip: Edit error message
1554
1550
  maxLength: 500
1555
1551
  autoSize:
@@ -1557,8 +1553,8 @@ Editable paragraph text with copyable and ellipsis support.
1557
1553
  maxRows: 10
1558
1554
  copyable:
1559
1555
  icon:
1560
- - copy
1561
- - check
1556
+ - AiOutlineCopy
1557
+ - AiOutlineCheck
1562
1558
  tooltips:
1563
1559
  - Copy error details
1564
1560
  - Error details copied!
@@ -1615,21 +1611,12 @@ Editable paragraph text with copyable and ellipsis support.
1615
1611
  | `copyable.tooltips` | string \| array | - | Tooltip text, can be an array or two strings for before and after clicked. |
1616
1612
  | `delete` | boolean | `false` | Apply deleted (strikethrough) style. |
1617
1613
  | `disabled` | boolean | `false` | Apply disabled style. |
1618
- | `editable` | boolean \| object | `true` | Allow editing the paragraph in place. Click the text, or focus it and press Enter, to edit. Enter saves, Escape cancels. Provide an object for editable settings. |
1619
- | `editable.icon` | string \| object | - | Show an edit icon button after the text, like `edit`. No icon is shown by default, since clicking the text edits it. |
1620
- | `editable.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
1621
- | `editable.icon.color` | string | - | Icon color. |
1622
- | `editable.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
1623
- | `editable.icon.rotate` | number | - | Number of degrees to rotate the icon. |
1624
- | `editable.icon.spin` | boolean | - | Continuously spin the icon with animation. |
1625
- | `editable.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
1626
- | `editable.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
1627
- | `editable.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
1628
- | `editable.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
1629
- | `editable.tooltip` | string | - | Tooltip text, shown on the edit icon, or on the text when no icon is set. |
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. |
1630
1617
  | `editable.editing` | boolean | - | Control editing state. |
1631
1618
  | `editable.maxLength` | number | - | Max length of text area input. |
1632
- | `editable.autoSize` | boolean \| object | `true` | Grow the text area with its content when editing. Set false for a single scrolling line. |
1619
+ | `editable.autoSize` | boolean \| object | `false` | Auto size the text area height when editing. |
1633
1620
  | `editable.autoSize.minRows` | number | - | Minimum number of rows for the text area. |
1634
1621
  | `editable.autoSize.maxRows` | number | - | Maximum number of rows for the text area. |
1635
1622
  | `ellipsis` | boolean \| object | `false` | Display ellipsis when text overflows a single line. |
@@ -1638,13 +1625,12 @@ Editable paragraph text with copyable and ellipsis support.
1638
1625
  | `ellipsis.suffix` | string | - | Suffix of ellipses content. |
1639
1626
  | `italic` | boolean | `false` | Apply italic style. |
1640
1627
  | `mark` | boolean | `false` | Apply marked (highlighted) style. |
1641
- | `placeholder` | string | `"Empty"` | Muted text shown when the paragraph is empty and editable. |
1642
1628
  | `strong` | boolean | `false` | Apply strong (bold) style. |
1643
1629
  | `type` | string | `"default"` | Additional types. Don't specify for default. Enum: `success`, `default`, `secondary`, `warning`, `danger`. |
1644
1630
  | `underline` | boolean | `false` | Apply underline style. |
1645
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). |
1646
- | `theme.titleMarginBottom` | string \| number | `"0.5em"` | Margin bottom for title elements, as a CSS length or a number of pixels. |
1647
- | `theme.titleMarginTop` | string \| number | `"1.2em"` | Margin top for title elements, as a CSS length or a number of pixels. |
1632
+ | `theme.titleMarginBottom` | string | `"0.5em"` | Margin bottom for title elements. |
1633
+ | `theme.titleMarginTop` | string | `"1.2em"` | Margin top for title elements. |
1648
1634
  | `theme.colorText` | string | - | Default text color. |
1649
1635
  | `theme.colorTextSecondary` | string | - | Text color for secondary type. |
1650
1636
  | `theme.colorSuccess` | string | - | Text color for success type. |
@@ -61,29 +61,6 @@ Password input with visibility toggle.
61
61
  title: No Placeholder
62
62
  ```
63
63
 
64
- ```yaml
65
- - id: password_prefix_icon
66
- type: PasswordInput
67
- properties:
68
- title: Prefix Icon
69
- prefixIcon: lock
70
- placeholder: Password
71
- - id: password_allow_clear
72
- type: PasswordInput
73
- properties:
74
- title: Allow Clear
75
- allowClear: true
76
- prefixIcon: lock
77
- maxLength: 32
78
- placeholder: Up to 32 characters
79
- - id: password_underlined
80
- type: PasswordInput
81
- properties:
82
- title: Underlined
83
- variant: underlined
84
- prefix: PIN
85
- ```
86
-
87
64
  ```yaml
88
65
  - id: disabled_empty
89
66
  type: PasswordInput
@@ -356,7 +333,7 @@ Password input with visibility toggle.
356
333
  properties:
357
334
  title: Username
358
335
  placeholder: Enter your username
359
- prefixIcon: user
336
+ prefixIcon: AiOutlineUser
360
337
  - id: login_password
361
338
  type: PasswordInput
362
339
  required: true
@@ -370,7 +347,7 @@ Password input with visibility toggle.
370
347
  type: Button
371
348
  properties:
372
349
  title: Sign In
373
- icon: login
350
+ icon: AiOutlineLogin
374
351
  type: primary
375
352
  size: large
376
353
  block: true
@@ -420,7 +397,7 @@ Password input with visibility toggle.
420
397
  type: Button
421
398
  properties:
422
399
  title: Update Password
423
- icon: lock
400
+ icon: AiOutlineLock
424
401
  type: primary
425
402
  size: large
426
403
  block: true
@@ -435,52 +412,26 @@ Password input with visibility toggle.
435
412
 
436
413
  | Property | Type | Default | Description |
437
414
  | --- | --- | --- | --- |
438
- | `allowClear` | boolean | `false` | Allow the user to clear their input. |
439
415
  | `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
440
416
  | `bordered` | boolean | `true` | Whether or not the input has a border style. Deprecated, use variant instead. |
441
417
  | `disabled` | boolean | `false` | Disable the block if true. |
442
- | `maxLength` | integer | - | The max number of input characters. |
443
418
  | `placeholder` | string | - | Placeholder text inside the block before user types input. |
444
- | `prefix` | string | - | Prefix text for the block, priority over prefixIcon. |
445
- | `prefixIcon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to customize icon to prefix the password input. |
446
- | `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
447
- | `prefixIcon.color` | string | - | Icon color. |
448
- | `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
449
- | `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
450
- | `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
451
- | `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
452
- | `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
453
- | `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
454
- | `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
455
419
  | `label` | object | - | Label properties. |
456
- | `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
457
- | `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
458
- | `label.sm` | object | - | Label width on small screens (576px and up) when the label is not inline. Also applies below 576px unless `xs` is set. |
459
- | `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
460
- | `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
461
- | `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
462
- | `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
463
- | `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
464
- | `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
465
- | `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
466
- | `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
467
- | `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
468
420
  | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
469
421
  | `label.colon` | boolean | `true` | Append label with colon. |
470
422
  | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
471
423
  | `label.title` | string | - | Label title - supports html. |
472
424
  | `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
473
425
  | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
474
- | `label.tooltip.icon` | string | `"help"` | Icon name to show beside the label: a semantic name like `help`, a Lucide icon name like `CircleQuestionMark`, or a set-qualified name like `tabler:HelpCircle`. |
426
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
475
427
  | `label.tooltip.color` | string | - | Color of the tooltip icon. |
476
- | `label.span` | number | - | Label width in columns, out of 24, on medium screens (768px) and up when the label is not inline. The content takes the remaining columns. |
428
+ | `label.span` | number | - | Label inline span. |
477
429
  | `label.disabled` | boolean | `false` | Hide input label. |
478
430
  | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
479
431
  | `label.inline` | boolean | `false` | Render input and label inline. |
480
- | `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
481
432
  | `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
482
433
  | `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
483
- | `variant` | string | - | Input visual variant. The deprecated bordered: false takes precedence and renders the input as 'borderless'. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
434
+ | `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
484
435
  | `visibilityToggle` | boolean | `true` | Show password visibility toggle button. |
485
436
  | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design input tokens](https://ant.design/components/input#design-token). |
486
437
  | `theme.activeBorderColor` | string | `"#1677ff"` | Border color when the input is active (focused). |
@@ -502,9 +453,6 @@ Password input with visibility toggle.
502
453
  | `theme.hoverBorderColor` | string | `"#4096ff"` | Border color when hovering over the input. |
503
454
  | `theme.hoverBg` | string | `"#ffffff"` | Background color when hovering over the input. |
504
455
  | `theme.activeBg` | string | `"#ffffff"` | Background color when the input is active (focused). |
505
- | `theme.inputFontSize` | number | `14` | Font size of the input text. |
506
- | `theme.inputFontSizeLG` | number | `16` | Font size of the input text for large inputs. |
507
- | `theme.inputFontSizeSM` | number | `14` | Font size of the input text for small inputs. |
508
456
  | `theme.paddingBlock` | number | `4` | Vertical padding of the input. |
509
457
  | `theme.paddingBlockLG` | number | `7` | Vertical padding for large inputs. |
510
458
  | `theme.paddingBlockSM` | number | `0` | Vertical padding for small inputs. |
@@ -517,7 +465,6 @@ Password input with visibility toggle.
517
465
  | --- | --- | --- |
518
466
  | `onBlur` | \- | Trigger action event occurs when text input loses focus. |
519
467
  | `onChange` | `{ value }` | Trigger action when text input is changed. |
520
- | `onClear` | \- | Trigger action when the clear button is clicked. |
521
468
  | `onFocus` | \- | Trigger action when text input gets focus. |
522
469
  | `onPressEnter` | \- | Trigger action when enter is pressed while text input is focused. |
523
470
  | `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
@@ -529,6 +476,5 @@ Password input with visibility toggle.
529
476
  | `/label` | The PasswordInput label. |
530
477
  | `/extra` | The PasswordInput extra content. |
531
478
  | `/feedback` | The PasswordInput validation feedback. |
532
- | `/prefixIcon` | The prefix icon in the PasswordInput. |
533
479
 
534
480
  No slots defined.