@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
@@ -168,27 +168,27 @@ Phone number input with international country code selector.
168
168
  type: PhoneNumberInput
169
169
  properties:
170
170
  title: Prefix Phone Icon
171
- prefixIcon: phone
171
+ prefixIcon: AiOutlinePhone
172
172
  placeholder: Enter phone number
173
173
  - id: icon_suffix_check
174
174
  type: PhoneNumberInput
175
175
  properties:
176
176
  title: Suffix Check Icon
177
- suffixIcon: check-circle
177
+ suffixIcon: AiOutlineCheckCircle
178
178
  placeholder: Verified number
179
179
  - id: icon_both
180
180
  type: PhoneNumberInput
181
181
  properties:
182
182
  title: Both Icons
183
- prefixIcon: phone
184
- suffixIcon: info
183
+ prefixIcon: AiOutlinePhone
184
+ suffixIcon: AiOutlineInfoCircle
185
185
  placeholder: Enter number
186
186
  - id: icon_custom_color
187
187
  type: PhoneNumberInput
188
188
  properties:
189
189
  title: Custom Icon Color
190
190
  prefixIcon:
191
- name: phone
191
+ name: AiOutlinePhone
192
192
  color: "#1677ff"
193
193
  placeholder: Blue phone icon
194
194
  ```
@@ -387,7 +387,7 @@ Phone number input with international country code selector.
387
387
  placeholder: (555) 123-4567
388
388
  allowClear: true
389
389
  size: large
390
- prefixIcon: phone
390
+ prefixIcon: AiOutlinePhone
391
391
  replaceInput:
392
392
  pattern: "[^0-9()\\-\\s]"
393
393
  flags: g
@@ -403,7 +403,7 @@ Phone number input with international country code selector.
403
403
  placeholder: Enter international number
404
404
  allowClear: true
405
405
  maxLength: 15
406
- suffixIcon: globe
406
+ suffixIcon: AiOutlineGlobal
407
407
  label:
408
408
  inline: true
409
409
  span: 8
@@ -427,7 +427,7 @@ Phone number input with international country code selector.
427
427
  allowClear: true
428
428
  maxLength: 10
429
429
  placeholder: Enter mobile number
430
- prefixIcon: Smartphone
430
+ prefixIcon: AiOutlineMobile
431
431
  replaceInput:
432
432
  pattern: "[^0-9]"
433
433
  flags: g
@@ -449,7 +449,7 @@ Phone number input with international country code selector.
449
449
  allowClear: true
450
450
  size: large
451
451
  prefixIcon:
452
- name: phone
452
+ name: AiOutlinePhone
453
453
  color: "#52c41a"
454
454
  theme:
455
455
  colorPrimary: "#52c41a"
@@ -472,7 +472,7 @@ Phone number input with international country code selector.
472
472
  required: true
473
473
  properties:
474
474
  title: Full Name
475
- prefixIcon: user
475
+ prefixIcon: AiOutlineUser
476
476
  placeholder: John Doe
477
477
  label:
478
478
  colon: false
@@ -482,7 +482,7 @@ Phone number input with international country code selector.
482
482
  properties:
483
483
  title: Email Address
484
484
  type: email
485
- prefixIcon: mail
485
+ prefixIcon: AiOutlineMail
486
486
  placeholder: john@example.com
487
487
  label:
488
488
  colon: false
@@ -493,7 +493,7 @@ Phone number input with international country code selector.
493
493
  title: Phone Number
494
494
  defaultRegion: US
495
495
  allowClear: true
496
- prefixIcon: phone
496
+ prefixIcon: AiOutlinePhone
497
497
  placeholder: (555) 123-4567
498
498
  label:
499
499
  colon: false
@@ -519,7 +519,7 @@ Phone number input with international country code selector.
519
519
  title: Send Message
520
520
  color: primary
521
521
  variant: solid
522
- icon: send
522
+ icon: AiOutlineSend
523
523
  events:
524
524
  onClick:
525
525
  - id: contact_validate
@@ -548,7 +548,7 @@ Phone number input with international country code selector.
548
548
  title: Mobile Number
549
549
  defaultRegion: US
550
550
  allowClear: true
551
- prefixIcon: Smartphone
551
+ prefixIcon: AiOutlineMobile
552
552
  placeholder: Enter mobile number
553
553
  label:
554
554
  colon: false
@@ -565,7 +565,7 @@ Phone number input with international country code selector.
565
565
  required: true
566
566
  properties:
567
567
  title: Password
568
- prefixIcon: lock
568
+ prefixIcon: AiOutlineLock
569
569
  placeholder: At least 8 characters
570
570
  label:
571
571
  colon: false
@@ -590,7 +590,7 @@ Phone number input with international country code selector.
590
590
  title: Create Account
591
591
  color: primary
592
592
  variant: solid
593
- icon: arrow-right
593
+ icon: AiOutlineArrowRight
594
594
  events:
595
595
  onClick:
596
596
  - id: register_validate
@@ -608,7 +608,6 @@ Phone number input with international country code selector.
608
608
 
609
609
  | Property | Type | Default | Description |
610
610
  | --- | --- | --- | --- |
611
- | `showFlags` | boolean | `true` | Show country flags in the country selector and input. |
612
611
  | `allowClear` | boolean | `false` | Allow the user to clear their input. |
613
612
  | `allowedRegions` | array | - | List of allowed ISO 3166-1 alpha-2 region codes. If allowedRegions is [] or null, the default list of all regions is used. |
614
613
  | `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
@@ -617,65 +616,35 @@ Phone number input with international country code selector.
617
616
  | `disabled` | boolean | `false` | Disable the block if true. |
618
617
  | `maxLength` | integer | - | The max number of input characters. |
619
618
  | `placeholder` | string | - | Placeholder text inside the block before user types input. |
620
- | `prefix` | string | - | Prefix text for the block, priority over prefixIcon. |
621
- | `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 text input. |
622
- | `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
623
- | `prefixIcon.color` | string | - | Icon color. |
624
- | `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
625
- | `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
626
- | `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
627
- | `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
628
- | `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
629
- | `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
630
- | `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
619
+ | `prefix` | string | - | Prefix text for the block, priority over $prefix_con. |
620
+ | `prefixIcon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon to prefix the text input. |
631
621
  | `label` | object | - | Label properties. |
632
- | `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
633
- | `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
634
- | `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. |
635
- | `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
636
- | `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
637
- | `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
638
- | `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
639
- | `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
640
- | `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
641
- | `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
642
- | `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
643
- | `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
644
622
  | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
645
623
  | `label.colon` | boolean | `true` | Append label with colon. |
646
624
  | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
647
625
  | `label.title` | string | - | Label title - supports html. |
648
626
  | `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. |
649
627
  | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
650
- | `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`. |
628
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
651
629
  | `label.tooltip.color` | string | - | Color of the tooltip icon. |
652
- | `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. |
630
+ | `label.span` | number | - | Label inline span. |
653
631
  | `label.disabled` | boolean | `false` | Hide input label. |
654
632
  | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
655
633
  | `label.inline` | boolean | `false` | Render input and label inline. |
656
- | `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
657
634
  | `replaceInput` | object | - | Regex used to sanitize input. |
658
635
  | `replaceInput.pattern` | string | - | The regular expression pattern to use to sanitize input. |
659
636
  | `replaceInput.flags` | string | - | The regex flags to use. The default value is 'gm'. |
660
637
  | `replaceInput.replacement` | string | - | The string used to replace the input that matches the pattern. The default value is ''. |
661
- | `showArrow` | boolean | `true` | Show the suffix icon at the drop-down position of the selector. antd shows the arrow by default; `false` hides it by clearing the suffix icon. |
638
+ | `showArrow` | boolean | `true` | Show the suffix icon at the drop-down position of the selector. |
662
639
  | `size` | string | `"middle"` | Size of the block. Enum: `small`, `middle`, `large`. |
663
- | `suffix` | string | - | Suffix text for the block, shown before suffixIcon. |
664
- | `suffixIcon` | 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 suffix the text input. |
665
- | `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
666
- | `suffixIcon.color` | string | - | Icon color. |
667
- | `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
668
- | `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
669
- | `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
670
- | `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
671
- | `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
672
- | `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
673
- | `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
640
+ | `suffix` | string | - | Suffix text for the block, priority over suffixIcon. |
641
+ | `suffixIcon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon to suffix the text input. |
674
642
  | `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
675
- | `variant` | string | - | Input visual variant. The deprecated bordered: false takes precedence and renders the input as 'borderless'. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
676
- | `theme` | object | - | Antd design token overrides for this block, applied to both the region selector (antd Select) and the phone number input (antd Input). See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design input tokens](https://ant.design/components/input#design-token). |
643
+ | `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
644
+ | `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). |
677
645
  | `theme.activeBorderColor` | string | - | Border color when the input is focused. |
678
646
  | `theme.activeShadow` | string | - | Box shadow when the input is focused. |
647
+ | `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of addon elements. |
679
648
  | `theme.colorBgContainer` | string | - | Background color of the input. |
680
649
  | `theme.colorBorder` | string | - | Border color of the input. |
681
650
  | `theme.colorError` | string | - | Color used for error status. |
@@ -692,7 +661,6 @@ Phone number input with international country code selector.
692
661
  | `theme.hoverBorderColor` | string | - | Border color when the input is hovered. |
693
662
  | `theme.paddingBlock` | number | `4` | Vertical padding. |
694
663
  | `theme.paddingInline` | number | `11` | Horizontal padding. |
695
- | `theme.selectorBg` | string | `"#ffffff"` | Background color of the region selector. |
696
664
  | `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255, 215, 5, 0.1)"` | Box shadow when the input has warning status and is focused. |
697
665
 
698
666
  | Event | Event Data | Description |
@@ -701,7 +669,6 @@ Phone number input with international country code selector.
701
669
  | `onCodeChange` | \- | Trigger action when the selector is changed. |
702
670
  | `onChange` | `{ value }` | Trigger action when the number is changed. |
703
671
  | `onBlur` | \- | Trigger action event occurs when input loses focus. |
704
- | `onClear` | \- | Trigger action when the clear button is clicked. |
705
672
  | `onFocus` | \- | Trigger action when input gets focus. |
706
673
  | `onPressEnter` | \- | Trigger action when enter is pressed while text input is focused. |
707
674
  | `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
@@ -492,7 +492,7 @@ Radio group for selecting a single option.
492
492
  type: RadioSelector
493
493
  style:
494
494
  .element:
495
- border: "1px solid #d9d9d9"
495
+ border: 1px solid
496
496
  borderRadius: 8
497
497
  padding: 16
498
498
  properties:
@@ -752,104 +752,29 @@ Radio group for selecting a single option.
752
752
  valueKey: id
753
753
  ```
754
754
 
755
- ```yaml
756
- - id: radio_columns_two
757
- type: RadioSelector
758
- properties:
759
- title: Two columns
760
- columns: 2
761
- options:
762
- - Weekday mornings
763
- - Weekday afternoons
764
- - Weekday evenings
765
- - Weekend mornings
766
- - Weekend afternoons
767
- - Weekend evenings
768
- - id: radio_columns_responsive
769
- type: RadioSelector
770
- properties:
771
- title: One column below md, three from md up
772
- columns:
773
- xs: 1
774
- md: 3
775
- options:
776
- - Email
777
- - SMS
778
- - Push notification
779
- - Webhook
780
- - In-app message
781
- - Weekly digest
782
- - id: radio_columns_gutter
783
- type: RadioSelector
784
- properties:
785
- title: Wider gutter
786
- columns: 2
787
- gutter:
788
- - 24
789
- - 12
790
- options:
791
- - Read only
792
- - Read and write
793
- - Administer
794
- - No access
795
- - id: radio_columns_per_option_color
796
- type: RadioSelector
797
- properties:
798
- title: Coloured options in a grid
799
- columns: 2
800
- options:
801
- - label: Low
802
- value: low
803
- color: "#16a34a"
804
- - label: Medium
805
- value: medium
806
- color: "#d97706"
807
- - label: High
808
- value: high
809
- color: "#dc2626"
810
- - label: Critical
811
- value: critical
812
- color: "#7e22ce"
813
- ```
814
-
815
755
  | Property | Type | Default | Description |
816
756
  | --- | --- | --- | --- |
817
- | `align` | string | `"start"` | Align options. Ignored when 'columns' is set. Enum: `start`, `end`, `center`, `baseline`. |
757
+ | `align` | string | `"start"` | Align options. Enum: `start`, `end`, `center`, `baseline`. |
818
758
  | `color` | string | - | Selected radio color. |
819
- | `columns` | integer \| object | - | Number of columns to lay the options out in, or a responsive breakpoint object. Use a count that divides 24 evenly. |
820
759
  | `disabled` | boolean | `false` | Disable the block if true. |
821
- | `direction` | string | `"horizontal"` | List options horizontally or vertical. Ignored when 'columns' is set. Enum: `horizontal`, `vertical`. |
822
- | `gutter` | number \| array | - | Gap between options in the grid. Number or [horizontal, vertical] array. Applies when 'columns' is set. |
823
- | `wrap` | boolean | `true` | Specifies wrapping of options. Applies when 'direction' is 'horizontal'. Ignored when 'columns' is set. |
760
+ | `direction` | string | `"horizontal"` | List options horizontally or vertical. Enum: `horizontal`, `vertical`. |
761
+ | `wrap` | boolean | `true` | Specifies wrapping of options. Applies when 'direction' is 'horizontal'. |
824
762
  | `label` | object | - | Label properties. |
825
- | `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
826
- | `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
827
- | `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. |
828
- | `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
829
- | `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
830
- | `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
831
- | `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
832
- | `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
833
- | `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
834
- | `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
835
- | `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
836
- | `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
837
763
  | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
838
764
  | `label.colon` | boolean | `true` | Append label with colon. |
839
765
  | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
840
766
  | `label.title` | string | - | Label title - supports html. |
841
767
  | `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. |
842
768
  | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
843
- | `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`. |
769
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
844
770
  | `label.tooltip.color` | string | - | Color of the tooltip icon. |
845
- | `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. |
771
+ | `label.span` | number | - | Label inline span. |
846
772
  | `label.disabled` | boolean | `false` | Hide input label. |
847
773
  | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
848
774
  | `label.inline` | boolean | `false` | Render input and label inline. |
849
- | `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
850
775
  | `options` | array | `[]` | Options can either be an array of primitive values, on an array of label, value pairs - supports html. |
851
776
  | `options.$.label` | string | - | Value label shown to user - supports html. |
852
- | `options.$.value` | - | - | Option value. Can be of any type. |
777
+ | `options.$.value` | string \| number \| boolean | - | Option value. |
853
778
  | `options.$.disabled` | boolean | `false` | Disable the option if true. |
854
779
  | `options.$.style` | object | - | Css style to apply to the option. |
855
780
  | `options.$.color` | string | - | Color applied to this option when it is selected. Falls back to the block-level color when not set. |
@@ -891,6 +816,5 @@ Radio group for selecting a single option.
891
816
  | `/label` | The RadioSelector label. |
892
817
  | `/extra` | The RadioSelector extra content. |
893
818
  | `/feedback` | The RadioSelector validation feedback. |
894
- | `/options` | Each RadioSelector option. |
895
819
 
896
820
  No slots defined.
@@ -164,24 +164,24 @@ Rating slider with customizable range, icons, and N/A option.
164
164
  type: RatingSlider
165
165
  properties:
166
166
  title: Custom Icons (Dislike / Like)
167
- minIcon: ThumbsDown
168
- maxIcon: ThumbsUp
167
+ minIcon: AiOutlineDislike
168
+ maxIcon: AiOutlineLike
169
169
  min: 0
170
170
  max: 10
171
171
  - id: icons_star
172
172
  type: RatingSlider
173
173
  properties:
174
174
  title: Star Icons
175
- minIcon: star
176
- maxIcon: star
175
+ minIcon: AiOutlineStar
176
+ maxIcon: AiFillStar
177
177
  min: 1
178
178
  max: 5
179
179
  - id: icons_heart
180
180
  type: RatingSlider
181
181
  properties:
182
182
  title: Heart Icons
183
- minIcon: heart
184
- maxIcon: heart
183
+ minIcon: AiOutlineHeart
184
+ maxIcon: AiFillHeart
185
185
  min: 0
186
186
  max: 10
187
187
  - id: icons_object_config
@@ -189,10 +189,10 @@ Rating slider with customizable range, icons, and N/A option.
189
189
  properties:
190
190
  title: Icon Object Config (colored)
191
191
  minIcon:
192
- name: arrow-down
192
+ name: AiOutlineArrowDown
193
193
  color: "#ff4d4f"
194
194
  maxIcon:
195
- name: arrow-up
195
+ name: AiOutlineArrowUp
196
196
  color: "#52c41a"
197
197
  min: 0
198
198
  max: 10
@@ -352,8 +352,8 @@ Rating slider with customizable range, icons, and N/A option.
352
352
  max: 5
353
353
  step: 1
354
354
  color: "#52c41a"
355
- minIcon: FaceSlightlyFrowning
356
- maxIcon: FaceSlightlySmiling
355
+ minIcon: AiOutlineFrown
356
+ maxIcon: AiOutlineSmile
357
357
  tooltipVisible: always
358
358
  showMarks: true
359
359
  showDots: true
@@ -367,8 +367,8 @@ Rating slider with customizable range, icons, and N/A option.
367
367
  max: 10
368
368
  step: 1
369
369
  color: "#1677ff"
370
- minIcon: ThumbsDown
371
- maxIcon: ThumbsUp
370
+ minIcon: AiOutlineDislike
371
+ maxIcon: AiOutlineLike
372
372
  tooltipVisible: onClick
373
373
  showMarks: true
374
374
  showDots: true
@@ -399,10 +399,10 @@ Rating slider with customizable range, icons, and N/A option.
399
399
  step: 1
400
400
  color: "#ff4d4f"
401
401
  minIcon:
402
- name: FaceSlightlySmiling
402
+ name: AiOutlineSmile
403
403
  color: "#52c41a"
404
404
  maxIcon:
405
- name: warning
405
+ name: AiOutlineWarning
406
406
  color: "#ff4d4f"
407
407
  disableNotApplicable: true
408
408
  showMarks: true
@@ -520,8 +520,8 @@ Rating slider with customizable range, icons, and N/A option.
520
520
  max: 5
521
521
  step: 1
522
522
  color: "#fa8c16"
523
- minIcon: star
524
- maxIcon: star
523
+ minIcon: AiOutlineStar
524
+ maxIcon: AiFillStar
525
525
  showMarks: true
526
526
  showDots: true
527
527
  disableNotApplicable: true
@@ -545,7 +545,7 @@ Rating slider with customizable range, icons, and N/A option.
545
545
  type: Button
546
546
  properties:
547
547
  title: Submit Review
548
- icon: send
548
+ icon: AiOutlineSend
549
549
  type: primary
550
550
  block: true
551
551
  events:
@@ -573,8 +573,8 @@ Rating slider with customizable range, icons, and N/A option.
573
573
  min: 1
574
574
  max: 10
575
575
  color: "#1677ff"
576
- minIcon: FaceSlightlyFrowning
577
- maxIcon: FaceSlightlySmiling
576
+ minIcon: AiOutlineFrown
577
+ maxIcon: AiOutlineSmile
578
578
  showMarks: true
579
579
  label:
580
580
  extra: How would you rate the service you received?
@@ -585,8 +585,8 @@ Rating slider with customizable range, icons, and N/A option.
585
585
  min: 1
586
586
  max: 10
587
587
  color: "#52c41a"
588
- minIcon: ThumbsDown
589
- maxIcon: ThumbsUp
588
+ minIcon: AiOutlineDislike
589
+ maxIcon: AiOutlineLike
590
590
  showMarks: true
591
591
  label:
592
592
  extra: How would you rate the quality of our products?
@@ -604,7 +604,7 @@ Rating slider with customizable range, icons, and N/A option.
604
604
  type: Button
605
605
  properties:
606
606
  title: Submit Survey
607
- icon: check
607
+ icon: AiOutlineCheck
608
608
  type: primary
609
609
  block: true
610
610
  events:
@@ -623,52 +623,21 @@ Rating slider with customizable range, icons, and N/A option.
623
623
  | `disabled` | boolean | `false` | Disable the block if true. |
624
624
  | `disableIcons` | boolean | `false` | Hides minimum and maximum icons. |
625
625
  | `disableNotApplicable` | boolean | `false` | Disables the N/A option left of slider. |
626
- | `minIcon` | string \| object | `"rating-low"` | 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 the icon to the left of the minimum side of the slider. |
627
- | `minIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
628
- | `minIcon.color` | string | - | Icon color. |
629
- | `minIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
630
- | `minIcon.rotate` | number | - | Number of degrees to rotate the icon. |
631
- | `minIcon.spin` | boolean | - | Continuously spin the icon with animation. |
632
- | `minIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
633
- | `minIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
634
- | `minIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
635
- | `minIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
636
- | `maxIcon` | string \| object | `"rating-high"` | 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 the icon to the right of the maximum side of the slider. |
637
- | `maxIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
638
- | `maxIcon.color` | string | - | Icon color. |
639
- | `maxIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
640
- | `maxIcon.rotate` | number | - | Number of degrees to rotate the icon. |
641
- | `maxIcon.spin` | boolean | - | Continuously spin the icon with animation. |
642
- | `maxIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
643
- | `maxIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
644
- | `maxIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
645
- | `maxIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
626
+ | `minIcon` | string \| object | `"AiOutlineFrown"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize the icon to the left of the minimum side of the slider. |
627
+ | `maxIcon` | string \| object | `"AiOutlineSmile"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize the icon to the right of the maximum side of the slider. |
646
628
  | `label` | object | - | Label properties. |
647
- | `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
648
- | `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
649
- | `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. |
650
- | `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
651
- | `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
652
- | `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
653
- | `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
654
- | `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
655
- | `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
656
- | `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
657
- | `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
658
- | `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
659
629
  | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
660
630
  | `label.colon` | boolean | `true` | Append label with colon. |
661
631
  | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
662
632
  | `label.title` | string | - | Label title - supports html. |
663
633
  | `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. |
664
634
  | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
665
- | `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`. |
635
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
666
636
  | `label.tooltip.color` | string | - | Color of the tooltip icon. |
667
- | `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. |
637
+ | `label.span` | number | - | Label inline span. |
668
638
  | `label.disabled` | boolean | `false` | Hide input label. |
669
639
  | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
670
640
  | `label.inline` | boolean | `false` | Render input and label inline. |
671
- | `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
672
641
  | `min` | number | `0` | The minimum value of the slider. |
673
642
  | `max` | number | `10` | The maximum value of the slider. |
674
643
  | `notApplicableLabel` | string | `"N/A"` | Label shown at the null value of the slider. |