@lowdefy/docs-content 6.1.0 → 7.0.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 (285) hide show
  1. package/README.md +1 -0
  2. package/content/actions/downloadcsv.md +1 -1
  3. package/content/actions/emailotpsend.md +58 -0
  4. package/content/actions/emailotpverify.md +79 -0
  5. package/content/actions/getlocalstorage.md +43 -0
  6. package/content/actions/link.md +47 -1
  7. package/content/actions/login.md +25 -5
  8. package/content/actions/logout.md +7 -5
  9. package/content/actions/magiclinkverify.md +117 -0
  10. package/content/actions/pdfmake.md +2 -2
  11. package/content/actions/posthogalias.md +29 -0
  12. package/content/actions/posthogcapture.md +49 -0
  13. package/content/actions/posthogcapturepageleave.md +38 -0
  14. package/content/actions/posthogfeatureflag.md +50 -0
  15. package/content/actions/posthoggroup.md +37 -0
  16. package/content/actions/posthogidentify.md +54 -0
  17. package/content/actions/posthoginit.md +96 -0
  18. package/content/actions/posthogoptin.md +29 -0
  19. package/content/actions/posthogoptout.md +29 -0
  20. package/content/actions/posthogpageview.md +37 -0
  21. package/content/actions/posthogreloadfeatureflags.md +47 -0
  22. package/content/actions/posthogreset.md +28 -0
  23. package/content/actions/posthogsetpersonproperties.md +36 -0
  24. package/content/actions/removelocalstorage.md +28 -0
  25. package/content/actions/resetvalidation.md +5 -3
  26. package/content/actions/setdarkmode.md +3 -3
  27. package/content/actions/setglobal.md +2 -0
  28. package/content/actions/setlocale.md +1 -1
  29. package/content/actions/setlocalstorage.md +34 -0
  30. package/content/actions/setstate.md +2 -0
  31. package/content/actions/validate.md +7 -4
  32. package/content/adapter-reference/mongodbauthadapter.md +46 -0
  33. package/content/agents/agent-endpoint-tools.md +24 -0
  34. package/content/agents/agent-properties.md +13 -3
  35. package/content/agents/agent-server-hooks.md +1 -1
  36. package/content/agents/agentchat.md +43 -7
  37. package/content/agents/agentconversations.md +42 -8
  38. package/content/agents/agents-introduction.md +107 -0
  39. package/content/callback-reference/auth0logoutcallback.md +54 -0
  40. package/content/concepts/ai-agent-docs.md +455 -106
  41. package/content/concepts/blocks.md +150 -0
  42. package/content/concepts/connections-and-requests.md +402 -0
  43. package/content/concepts/custom-html.md +42 -0
  44. package/content/concepts/custom-styling.md +50 -5
  45. package/content/concepts/dynamic-page-content.md +309 -0
  46. package/content/concepts/events-and-actions.md +154 -2
  47. package/content/concepts/four-primitives.md +31 -0
  48. package/content/concepts/html-attributes.md +293 -0
  49. package/content/concepts/i18n.md +8 -3
  50. package/content/concepts/keyboard-shortcuts.md +2 -2
  51. package/content/concepts/layout-overview.md +1 -1
  52. package/content/concepts/logger.md +99 -0
  53. package/content/concepts/lowdefy-api.md +1319 -0
  54. package/content/concepts/lowdefy-schema.md +136 -3
  55. package/content/concepts/menus.md +8 -7
  56. package/content/concepts/module-authoring.md +76 -5
  57. package/content/concepts/modules.md +3 -1
  58. package/content/concepts/notifications.md +180 -0
  59. package/content/concepts/operators.md +7 -0
  60. package/content/concepts/page-and-app-state.md +252 -0
  61. package/content/concepts/page-paths.md +209 -0
  62. package/content/concepts/theming.md +582 -0
  63. package/content/connections/aigateway.md +375 -0
  64. package/content/connections/anthropic.md +169 -2
  65. package/content/connections/awss3.md +178 -2
  66. package/content/connections/axioshttp.md +181 -0
  67. package/content/connections/google.md +169 -2
  68. package/content/connections/mongodb.md +1014 -3
  69. package/content/connections/openai-connection.md +169 -2
  70. package/content/connections/sendgridmail.md +2 -0
  71. package/content/connections/smtp.md +3 -1
  72. package/content/connections/treg.md +329 -0
  73. package/content/container-blocks/affix.md +47 -7
  74. package/content/container-blocks/alert.md +76 -24
  75. package/content/container-blocks/badge.md +100 -24
  76. package/content/container-blocks/box.md +9 -9
  77. package/content/container-blocks/card.md +132 -27
  78. package/content/container-blocks/carousel.md +60 -7
  79. package/content/container-blocks/collapse.md +153 -9
  80. package/content/container-blocks/configprovider.md +35 -13
  81. package/content/container-blocks/confirmmodal.md +69 -23
  82. package/content/container-blocks/content.md +62 -98
  83. package/content/container-blocks/descriptions.md +45 -4
  84. package/content/container-blocks/drawer.md +139 -28
  85. package/content/container-blocks/dropdownmenu.md +119 -31
  86. package/content/container-blocks/flex.md +40 -62
  87. package/content/container-blocks/footer.md +15 -11
  88. package/content/container-blocks/googlemapsheatmap.md +1 -1
  89. package/content/container-blocks/googlemapsscript.md +2 -2
  90. package/content/container-blocks/header.md +71 -36
  91. package/content/container-blocks/label.md +34 -7
  92. package/content/container-blocks/layout.md +52 -34
  93. package/content/container-blocks/masonry.md +17 -71
  94. package/content/container-blocks/mobilemenu.md +131 -88
  95. package/content/container-blocks/modal.md +161 -26
  96. package/content/container-blocks/pageheadermenu.md +138 -31
  97. package/content/container-blocks/pagesidebarlayout.md +230 -27
  98. package/content/container-blocks/pagesidermenu.md +153 -43
  99. package/content/container-blocks/popover.md +34 -31
  100. package/content/container-blocks/result.md +32 -21
  101. package/content/container-blocks/sider.md +85 -122
  102. package/content/container-blocks/span.md +7 -7
  103. package/content/container-blocks/spinner.md +3 -3
  104. package/content/container-blocks/splitter.md +150 -68
  105. package/content/container-blocks/tabs.md +64 -12
  106. package/content/container-blocks/tooltip.md +22 -46
  107. package/content/container-blocks/watermark.md +22 -4
  108. package/content/controls/parallel_for.md +21 -2
  109. package/content/controls/reject.md +24 -3
  110. package/content/controls/return.md +17 -1
  111. package/content/controls/throw.md +1 -0
  112. package/content/controls/try.md +4 -2
  113. package/content/controls/while.md +46 -0
  114. package/content/deployment/deployment-environments.md +10 -7
  115. package/content/deployment/docker.md +22 -7
  116. package/content/deployment/node-server.md +4 -0
  117. package/content/deployment/vercel.md +17 -6
  118. package/content/display-blocks/aggrid.md +33 -16
  119. package/content/display-blocks/anchor.md +16 -15
  120. package/content/display-blocks/avatar.md +57 -37
  121. package/content/display-blocks/breadcrumb.md +70 -21
  122. package/content/display-blocks/button.md +93 -19
  123. package/content/display-blocks/calendar.md +12 -0
  124. package/content/display-blocks/clickablehtml.md +239 -0
  125. package/content/display-blocks/dangeroushtml.md +1 -1
  126. package/content/display-blocks/difflist.md +1 -1
  127. package/content/display-blocks/difftimeline.md +1 -1
  128. package/content/display-blocks/divider.md +64 -3
  129. package/content/display-blocks/dropdownbutton.md +81 -30
  130. package/content/display-blocks/echart.md +35 -1
  131. package/content/display-blocks/eventlog.md +363 -0
  132. package/content/display-blocks/floatbutton.md +129 -42
  133. package/content/display-blocks/html.md +61 -1
  134. package/content/display-blocks/icon.md +250 -67
  135. package/content/display-blocks/img.md +2 -2
  136. package/content/display-blocks/menu.md +146 -73
  137. package/content/display-blocks/message.md +38 -124
  138. package/content/display-blocks/notification.md +94 -222
  139. package/content/display-blocks/paragraph.md +59 -9
  140. package/content/display-blocks/pollingtimer.md +263 -0
  141. package/content/display-blocks/progress.md +96 -17
  142. package/content/display-blocks/qrcode.md +19 -4
  143. package/content/display-blocks/s3download.md +1 -1
  144. package/content/display-blocks/search.md +19 -9
  145. package/content/display-blocks/skeletonbutton.md +1 -0
  146. package/content/display-blocks/skeletoninput.md +1 -0
  147. package/content/display-blocks/statistic.md +75 -17
  148. package/content/display-blocks/steps.md +58 -25
  149. package/content/display-blocks/table.md +2527 -0
  150. package/content/display-blocks/tablelight.md +621 -0
  151. package/content/display-blocks/tag.md +102 -17
  152. package/content/display-blocks/title.md +50 -11
  153. package/content/display-blocks/tour.md +33 -23
  154. package/content/input-blocks/autocomplete.md +81 -9
  155. package/content/input-blocks/buttonselector.md +45 -8
  156. package/content/input-blocks/captcha.md +40 -0
  157. package/content/input-blocks/checkboxselector.md +97 -7
  158. package/content/input-blocks/checkboxswitch.md +33 -3
  159. package/content/input-blocks/colorselector.md +63 -14
  160. package/content/input-blocks/daterangeselector.md +165 -45
  161. package/content/input-blocks/dateselector.md +139 -41
  162. package/content/input-blocks/datetimeselector.md +158 -49
  163. package/content/input-blocks/inputgallery.md +3 -3
  164. package/content/input-blocks/intentinput.md +207 -0
  165. package/content/input-blocks/monthselector.md +120 -52
  166. package/content/input-blocks/multipleselector.md +150 -39
  167. package/content/input-blocks/numberinput.md +98 -12
  168. package/content/input-blocks/pagination.md +70 -14
  169. package/content/input-blocks/paragraphinput.md +51 -37
  170. package/content/input-blocks/passwordinput.md +60 -6
  171. package/content/input-blocks/phonenumberinput.md +59 -26
  172. package/content/input-blocks/placesautocomplete.md +319 -0
  173. package/content/input-blocks/radioselector.md +83 -7
  174. package/content/input-blocks/ratingslider.md +57 -26
  175. package/content/input-blocks/s3uploadbutton.md +24 -24
  176. package/content/input-blocks/s3uploaddragger.md +3 -3
  177. package/content/input-blocks/s3uploadphoto.md +5 -5
  178. package/content/input-blocks/segmentedselector.md +72 -32
  179. package/content/input-blocks/selector.md +109 -21
  180. package/content/input-blocks/switch.md +65 -17
  181. package/content/input-blocks/tableinput.md +445 -0
  182. package/content/input-blocks/tagmultipleselector.md +114 -0
  183. package/content/input-blocks/tagselector.md +114 -0
  184. package/content/input-blocks/textarea.md +32 -3
  185. package/content/input-blocks/textinput.md +70 -29
  186. package/content/input-blocks/tiptapinput.md +1 -1
  187. package/content/input-blocks/tiptapmentioninput.md +2 -2
  188. package/content/input-blocks/titleinput.md +39 -12
  189. package/content/input-blocks/treeinput.md +49 -25
  190. package/content/input-blocks/treemultipleselector.md +127 -10
  191. package/content/input-blocks/treeselector.md +97 -9
  192. package/content/input-blocks/upload.md +64 -15
  193. package/content/input-blocks/uploaddragger.md +17 -1
  194. package/content/input-blocks/uploadphoto.md +18 -1
  195. package/content/input-blocks/weekselector.md +120 -55
  196. package/content/learn/introduction.md +27 -0
  197. package/content/learn/quickstart.md +53 -0
  198. package/content/learn/showcase.md +8 -0
  199. package/content/list-blocks/controlledlist.md +24 -15
  200. package/content/list-blocks/list.md +11 -11
  201. package/content/list-blocks/masonrylist.md +7 -34
  202. package/content/migration/auth-upgrade.md +337 -0
  203. package/content/migration/upgrade-guide.md +1 -0
  204. package/content/migration/v3-to-v4.md +417 -0
  205. package/content/migration/v6-to-v7.md +620 -0
  206. package/content/operators/_agent.md +155 -0
  207. package/content/operators/_app.md +2 -1
  208. package/content/operators/_array.md +122 -1
  209. package/content/operators/_build.md +1 -0
  210. package/content/operators/_credential.md +57 -0
  211. package/content/operators/_cron.md +292 -0
  212. package/content/operators/_date.md +2 -0
  213. package/content/operators/_error.md +24 -1
  214. package/content/operators/_get.md +6 -6
  215. package/content/operators/_hmac.md +78 -0
  216. package/content/operators/_js.md +2 -1
  217. package/content/operators/_location.md +1 -1
  218. package/content/operators/_media.md +13 -0
  219. package/content/operators/_module.md +56 -2
  220. package/content/operators/_operator.md +17 -3
  221. package/content/operators/_path_params.md +82 -0
  222. package/content/operators/_ref.md +258 -0
  223. package/content/operators/_request.md +1 -1
  224. package/content/operators/_request_details.md +6 -0
  225. package/content/operators/_type.md +14 -3
  226. package/content/operators/_url_query.md +2 -0
  227. package/content/operators/_user.md +3 -3
  228. package/content/plugins/plugins-actions.md +10 -0
  229. package/content/plugins/plugins-connections.md +25 -0
  230. package/content/plugins/plugins-dev.md +66 -0
  231. package/content/plugins/plugins-icon-sets.md +267 -0
  232. package/content/plugins/plugins-introduction.md +27 -1
  233. package/content/plugins/plugins.md +19 -0
  234. package/content/plugins/posthog.md +359 -0
  235. package/content/provider-reference/auth-js-providers.md +107 -0
  236. package/content/provider-reference/openidconnectprovider.md +44 -0
  237. package/content/recipes/recipes.md +16 -0
  238. package/content/reference/actions-reference.md +31 -0
  239. package/content/reference/blocks-reference.md +35 -0
  240. package/content/reference/cli.md +403 -0
  241. package/content/reference/connections-reference.md +23 -0
  242. package/content/reference/operators-reference.md +47 -0
  243. package/content/reference/reference.md +16 -0
  244. package/content/reference/schema-reference.md +12 -0
  245. package/content/testing/config-tests.md +677 -0
  246. package/content/testing/e2e-configuration.md +31 -1
  247. package/content/testing/e2e-getting-started.md +1 -1
  248. package/content/testing/e2e-introduction.md +1 -1
  249. package/content/testing/e2e-writing-tests.md +12 -1
  250. package/content/testing/explore-pull-request.md +136 -0
  251. package/content/testing/journey-data-sets.md +326 -0
  252. package/content/tutorial/tutorial-actions-operators.md +2 -2
  253. package/content/tutorial/tutorial-add-blocks.md +2 -2
  254. package/content/tutorial/tutorial-create-page.md +48 -2
  255. package/content/tutorial/tutorial-display-data-page.md +3 -3
  256. package/content/tutorial/tutorial-requests-api.md +155 -0
  257. package/content/tutorial/tutorial-requests-sql.md +153 -0
  258. package/content/tutorial/tutorial-start.md +66 -1
  259. package/content/user-authentication/auth-configuration.md +267 -0
  260. package/content/user-authentication/auth-providers.md +24 -0
  261. package/content/user-authentication/auth-steps.md +141 -0
  262. package/content/user-authentication/login-and-logout.md +160 -8
  263. package/content/user-authentication/mcp-oauth.md +424 -0
  264. package/content/user-authentication/organizations.md +246 -0
  265. package/content/user-authentication/protected-pages-apis.md +97 -0
  266. package/content/user-authentication/roles.md +49 -0
  267. package/content/user-authentication/two-factor.md +229 -0
  268. package/content/user-authentication/user-object.md +58 -0
  269. package/content/user-authentication/users-introduction.md +8 -0
  270. package/content/websockets/websocket-publish.md +105 -0
  271. package/content/websockets/websocket-subscriptions.md +136 -0
  272. package/content/websockets/websockets-introduction.md +101 -0
  273. package/hazards.json +56 -0
  274. package/index.json +3458 -14
  275. package/package.json +10 -1
  276. package/scripts/extractAgentDocs.js +41 -30
  277. package/scripts/hashDocSources.js +38 -0
  278. package/scripts/isRedirectPage.js +26 -0
  279. package/scripts/recordSourceHashes.js +97 -0
  280. package/scripts/resolvePageSections.js +42 -0
  281. package/scripts/sectionKind.js +27 -0
  282. package/content/concepts/cli.md +0 -223
  283. package/content/other/introduction.md +0 -39
  284. package/content/other/next-auth-providers.md +0 -3
  285. /package/content/{other → actions}/updatesession.md +0 -0
@@ -41,6 +41,13 @@ Date picker with configurable format and disabled dates.
41
41
  variant: borderless
42
42
  label:
43
43
  disabled: true
44
+ - id: variant_underlined
45
+ type: DateSelector
46
+ properties:
47
+ title: Underlined
48
+ variant: underlined
49
+ label:
50
+ disabled: true
44
51
  ```
45
52
 
46
53
  ```yaml
@@ -149,14 +156,14 @@ Date picker with configurable format and disabled dates.
149
156
  type: DateSelector
150
157
  properties:
151
158
  title: Clock Icon
152
- suffixIcon: AiOutlineClockCircle
159
+ suffixIcon: clock
153
160
  label:
154
161
  disabled: true
155
162
  - id: icon_schedule
156
163
  type: DateSelector
157
164
  properties:
158
165
  title: Schedule Icon
159
- suffixIcon: AiOutlineSchedule
166
+ suffixIcon: CalendarDays
160
167
  label:
161
168
  disabled: true
162
169
  - id: icon_custom_color
@@ -164,7 +171,7 @@ Date picker with configurable format and disabled dates.
164
171
  properties:
165
172
  title: Custom Color Icon
166
173
  suffixIcon:
167
- name: AiOutlineCalendar
174
+ name: calendar
168
175
  color: "#1677ff"
169
176
  label:
170
177
  disabled: true
@@ -173,12 +180,48 @@ Date picker with configurable format and disabled dates.
173
180
  properties:
174
181
  title: Heart Icon
175
182
  suffixIcon:
176
- name: AiOutlineHeart
183
+ name: heart
177
184
  color: "#ff4d4f"
178
185
  label:
179
186
  disabled: true
180
187
  ```
181
188
 
189
+ ```yaml
190
+ - id: ds_prefix_icon
191
+ type: DateSelector
192
+ properties:
193
+ title: Prefix Icon
194
+ prefixIcon: clock
195
+ suffixIcon:
196
+ name: calendar
197
+ color: "#8c8c8c"
198
+ - id: ds_prefix_text
199
+ type: DateSelector
200
+ properties:
201
+ title: Prefix Text
202
+ prefix: "From:"
203
+ - id: ds_placement
204
+ type: DateSelector
205
+ properties:
206
+ title: Popup Opens Top Right
207
+ placement: topRight
208
+ - id: ds_read_only
209
+ type: DateSelector
210
+ properties:
211
+ title: Pick From Calendar Only
212
+ inputReadOnly: true
213
+ label:
214
+ extra: The input is read-only, so touch devices do not open the keyboard.
215
+ ```
216
+
217
+ ```yaml
218
+ - id: ds_show_week
219
+ type: DateSelector
220
+ properties:
221
+ title: Show Week Numbers
222
+ showWeek: true
223
+ ```
224
+
182
225
  ```yaml
183
226
  - id: disabled_default
184
227
  type: DateSelector
@@ -449,7 +492,8 @@ Date picker with configurable format and disabled dates.
449
492
  - id: style_element
450
493
  type: DateSelector
451
494
  style:
452
- .element: null
495
+ .element:
496
+ backgroundColor: var(--ant-color-primary-bg)
453
497
  properties:
454
498
  title: Custom Background
455
499
  label:
@@ -534,7 +578,7 @@ Date picker with configurable format and disabled dates.
534
578
  placeholder: Select appointment date
535
579
  format: DD MMMM YYYY
536
580
  size: large
537
- suffixIcon: AiOutlineSchedule
581
+ suffixIcon: CalendarDays
538
582
  showToday: true
539
583
  allowClear: true
540
584
  label:
@@ -559,7 +603,7 @@ Date picker with configurable format and disabled dates.
559
603
  placeholder: Select event date
560
604
  format: DD MMM YYYY
561
605
  suffixIcon:
562
- name: AiOutlineCalendar
606
+ name: calendar
563
607
  color: "#1677ff"
564
608
  disabledDates:
565
609
  min: 2026-01-01
@@ -575,7 +619,7 @@ Date picker with configurable format and disabled dates.
575
619
  format: DD MMMM YYYY
576
620
  placeholder: Choose a special date...
577
621
  suffixIcon:
578
- name: AiOutlineHeart
622
+ name: heart
579
623
  color: "#eb2f96"
580
624
  label:
581
625
  disabled: true
@@ -599,7 +643,7 @@ Date picker with configurable format and disabled dates.
599
643
  placeholder: Select event date
600
644
  format: DD MMMM YYYY
601
645
  size: large
602
- suffixIcon: AiOutlineCalendar
646
+ suffixIcon: calendar
603
647
  label:
604
648
  extra: Choose the date you would like to attend.
605
649
  disabledDates:
@@ -610,20 +654,20 @@ Date picker with configurable format and disabled dates.
610
654
  properties:
611
655
  title: Full Name
612
656
  placeholder: Enter your full name
613
- prefixIcon: AiOutlineUser
657
+ prefixIcon: user
614
658
  - id: applied2_event_email
615
659
  type: TextInput
616
660
  properties:
617
661
  title: Email Address
618
662
  placeholder: you@example.com
619
- prefixIcon: AiOutlineMail
663
+ prefixIcon: mail
620
664
  label:
621
665
  extra: We will send your confirmation to this address.
622
666
  - id: applied2_event_register_btn
623
667
  type: Button
624
668
  properties:
625
669
  title: Register
626
- icon: AiOutlineCheck
670
+ icon: check
627
671
  type: primary
628
672
  size: large
629
673
  block: true
@@ -647,14 +691,14 @@ Date picker with configurable format and disabled dates.
647
691
  properties:
648
692
  title: Display Name
649
693
  placeholder: Enter your display name
650
- prefixIcon: AiOutlineUser
694
+ prefixIcon: user
651
695
  - id: applied3_date_of_birth
652
696
  type: DateSelector
653
697
  properties:
654
698
  title: Date of Birth
655
699
  placeholder: Select your date of birth
656
700
  format: DD MMMM YYYY
657
- suffixIcon: AiOutlineCalendar
701
+ suffixIcon: calendar
658
702
  label:
659
703
  extra: Used to verify your age.
660
704
  disabledDates:
@@ -670,12 +714,12 @@ Date picker with configurable format and disabled dates.
670
714
  properties:
671
715
  title: Email Address
672
716
  placeholder: you@example.com
673
- prefixIcon: AiOutlineMail
717
+ prefixIcon: mail
674
718
  - id: applied3_save_btn
675
719
  type: Button
676
720
  properties:
677
721
  title: Save Profile
678
- icon: AiOutlineSave
722
+ icon: save
679
723
  type: primary
680
724
  size: large
681
725
  block: true
@@ -694,7 +738,7 @@ Date picker with configurable format and disabled dates.
694
738
  | `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
695
739
  | `bordered` | boolean | `true` | Deprecated - use variant: 'borderless'. Whether or not the input has a border style. |
696
740
  | `disabled` | boolean | `false` | Disable the block if true. |
697
- | `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`. |
741
+ | `variant` | string | `"outlined"` | Variant style of the input. Use 'borderless' instead of bordered: false. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
698
742
  | `disabledDates` | object | - | Disable specific dates so that they can not be chosen. |
699
743
  | `disabledDates.min` | string \| object | - | Disable all dates less than the minimum date. Can be a date string or a _date object. |
700
744
  | `disabledDates.max` | string \| object | - | Disable all dates greater than the maximum date. Can be a date string or a _date object. |
@@ -703,60 +747,113 @@ Date picker with configurable format and disabled dates.
703
747
  | `disabledDates.ranges.$.from` | string \| object | - | Start of the disabled range. |
704
748
  | `disabledDates.ranges.$.to` | string \| object | - | End of the disabled range. |
705
749
  | `label` | object | - | Label properties. |
750
+ | `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
751
+ | `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
752
+ | `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. |
753
+ | `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
754
+ | `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
755
+ | `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
756
+ | `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
757
+ | `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
758
+ | `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
759
+ | `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
760
+ | `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
761
+ | `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
706
762
  | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
707
763
  | `label.colon` | boolean | `true` | Append label with colon. |
708
764
  | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
709
765
  | `label.title` | string | - | Label title - supports html. |
710
766
  | `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. |
711
767
  | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
712
- | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
768
+ | `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`. |
713
769
  | `label.tooltip.color` | string | - | Color of the tooltip icon. |
714
- | `label.span` | number | - | Label inline span. |
770
+ | `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. |
715
771
  | `label.disabled` | boolean | `false` | Hide input label. |
716
772
  | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
717
773
  | `label.inline` | boolean | `false` | Render input and label inline. |
774
+ | `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
718
775
  | `format` | string | - | Format in which to parse the date value, eg. "DD MMMM YYYY" will parse a date value of 1999-12-31 as "31 December 1999". The format has to conform to dayjs formats. Defaults to the active locale's date format, or "YYYY-MM-DD" when no locale is configured. |
776
+ | `inputReadOnly` | boolean | `false` | Make the text input read-only, so a date can only be chosen from the calendar. This also stops the on-screen keyboard opening on touch devices. |
719
777
  | `placeholder` | string | - | Placeholder text inside the block before user types input. |
778
+ | `placement` | string | `"bottomLeft"` | Position of the calendar popup relative to the input. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
779
+ | `prefix` | string | - | Prefix text shown before the date in the input, priority over prefixIcon. |
780
+ | `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 on the left-hand side of the date picker. |
781
+ | `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
782
+ | `prefixIcon.color` | string | - | Icon color. |
783
+ | `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
784
+ | `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
785
+ | `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
786
+ | `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
787
+ | `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
788
+ | `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
789
+ | `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
720
790
  | `presets` | array | - | Shortcuts listed next to the calendar to quickly select a date. Presets are re-evaluated every time the block config is evaluated, so operator based values like "_date: now" stay current. A preset is offered on the same terms as the calendar cells: a shortcut with nothing it may select is listed as disabled. |
721
791
  | `presets.$.label` | string | - | Text shown for the shortcut - supports html. |
722
792
  | `presets.$.value` | string \| number \| object | - | A date string, a timestamp, or a _date object. Dates are read as UTC, the same as the block value, so a fixed date like "2026-01-01" resolves to the same day in every timezone. A date relative to now is an instant, not a calendar date, so end a _dayjs chain with a format step to pin it to the local calendar: "_dayjs: [now, {format: YYYY-MM-DD}]". Without the format step the chain resolves to an instant, which can select the day before or after the current one, depending on the browser timezone and the time of day. |
723
793
  | `showToday` | boolean | `true` | Shows a button to easily select the current date if true. |
794
+ | `showWeek` | boolean | `false` | Show the week number of each row in the calendar. |
724
795
  | `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
725
- | `suffixIcon` | string \| object | `"AiOutlineCalendar"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon on right-hand side of the date picker. |
796
+ | `suffixIcon` | string \| object | `"calendar"` | 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 on right-hand side of the date picker. |
797
+ | `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
798
+ | `suffixIcon.color` | string | - | Icon color. |
799
+ | `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
800
+ | `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
801
+ | `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
802
+ | `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
803
+ | `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
804
+ | `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
805
+ | `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
726
806
  | `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
727
807
  | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design date-picker tokens](https://ant.design/components/date-picker#design-token). |
808
+ | `theme.activeBg` | string | `"#ffffff"` | Background color of the input when the picker is active/focused. |
728
809
  | `theme.activeBorderColor` | string | - | Border color when the picker is active/focused. |
729
- | `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
730
- | `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of calendar cell on hover. |
731
- | `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of active cell within a range selection. |
732
- | `theme.addonBg` | string | `"rgba(0, 0, 0, 0.02)"` | Background color of the footer addon area. |
733
- | `theme.zIndexPopup` | number | `1050` | Z-index of the date picker popup layer. |
734
- | `theme.timeColumnHeight` | number | `224` | Height of the time picker column. |
735
- | `theme.timeCellHeight` | number | `28` | Height of each cell in the time picker column. |
736
- | `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
737
- | `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
738
- | `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
739
- | `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
740
- | `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
741
- | `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
810
+ | `theme.activeShadow` | string | `"0 0 0 2px rgba(5,145,255,0.1)"` | Shadow effect when the picker is active/focused. |
742
811
  | `theme.borderRadius` | number | `6` | Border radius of the picker input. |
743
- | `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
744
812
  | `theme.borderRadiusLG` | number | `8` | Border radius for the large picker and popup panel. |
813
+ | `theme.borderRadiusSM` | number | `4` | Border radius for the small picker. |
814
+ | `theme.cellActiveWithRangeBg` | string | `"#e6f4ff"` | Background color of cells within the selected range. |
815
+ | `theme.cellBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of disabled cells. |
816
+ | `theme.cellHeight` | number | `24` | Height of a calendar cell. |
817
+ | `theme.cellHoverBg` | string | `"rgba(0, 0, 0, 0.04)"` | Background color of a calendar cell on hover. |
818
+ | `theme.cellHoverWithRangeBg` | string | `"#cbe0fd"` | Background color of cells within range on hover. |
819
+ | `theme.cellRangeBorderColor` | string | `"#82b4f9"` | Border color of range selection cells. |
820
+ | `theme.cellWidth` | number | `36` | Width of a calendar cell. |
821
+ | `theme.colorBgContainer` | string | - | Background color of the picker input. |
822
+ | `theme.colorBorder` | string | - | Border color of the picker input. |
823
+ | `theme.colorPrimary` | string | - | Primary color used for the selected date and active states. |
824
+ | `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
825
+ | `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
745
826
  | `theme.controlHeight` | number | `32` | Height of the picker input. |
746
- | `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
747
827
  | `theme.controlHeightLG` | number | `40` | Height of the large picker input. |
828
+ | `theme.controlHeightSM` | number | `24` | Height of the small picker input. |
829
+ | `theme.errorActiveShadow` | string | `"0 0 0 2px rgba(255,38,5,0.06)"` | Shadow effect when the picker has error status and is focused. |
748
830
  | `theme.fontSize` | number | `14` | Font size of the picker input. |
749
- | `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
750
831
  | `theme.fontSizeLG` | number | `16` | Font size for the large picker. |
832
+ | `theme.fontSizeSM` | number | `14` | Font size for the small picker. |
833
+ | `theme.hoverBg` | string | `"#ffffff"` | Background color of the input when hovering over the picker. |
834
+ | `theme.hoverBorderColor` | string | - | Border color when hovering over the picker. |
751
835
  | `theme.lineWidth` | number | `1` | Border width of the picker input. |
752
- | `theme.colorPrimary` | string | - | Primary color used for selected date and active states. |
753
- | `theme.colorBgContainer` | string | - | Background color of the picker input. |
754
- | `theme.colorText` | string | - | Text color of the picker input and calendar cells. |
755
- | `theme.colorBorder` | string | - | Border color of the picker input. |
756
- | `theme.colorTextPlaceholder` | string | - | Color of the placeholder text. |
836
+ | `theme.paddingBlock` | number | `4` | Vertical padding for the default size picker. |
837
+ | `theme.paddingBlockLG` | number | `7` | Vertical padding for the large size picker. |
838
+ | `theme.paddingBlockSM` | number | `0` | Vertical padding for the small size picker. |
839
+ | `theme.paddingInline` | number | `11` | Horizontal padding for the default size picker. |
840
+ | `theme.paddingInlineLG` | number | `11` | Horizontal padding for the large size picker. |
841
+ | `theme.paddingInlineSM` | number | `7` | Horizontal padding for the small size picker. |
842
+ | `theme.presetsMaxWidth` | number | `200` | Maximum width of the presets list next to the calendar. |
843
+ | `theme.presetsWidth` | number | `120` | Width of the presets list next to the calendar. |
844
+ | `theme.timeCellHeight` | number | `28` | Height of a time cell in the time panel. |
845
+ | `theme.timeColumnHeight` | number | `224` | Height of the time panel column. |
846
+ | `theme.timeColumnWidth` | number | `56` | Width of the time panel column. |
847
+ | `theme.warningActiveShadow` | string | `"0 0 0 2px rgba(255,215,5,0.1)"` | Shadow effect when the picker has warning status and is focused. |
848
+ | `theme.withoutTimeCellHeight` | number | `66` | Height of the cells of the month, week, quarter, year and decade panels. |
849
+ | `theme.zIndexPopup` | number | `1050` | Z-index of the picker popup layer. |
757
850
 
758
851
  | Event | Event Data | Description |
759
852
  | --- | --- | --- |
853
+ | `onBlur` | \- | Trigger actions when the picker loses focus. |
854
+ | `onClear` | \- | Trigger actions when the clear button is clicked. |
855
+ | `onFocus` | \- | Trigger actions when the picker gets focus. |
856
+ | `onOpenChange` | `{ open }` | Trigger actions when the calendar popup opens or closes. |
760
857
  | `onChange` | `{ value }` | Trigger actions when selection is changed. |
761
858
  | `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
762
859
 
@@ -768,6 +865,7 @@ Date picker with configurable format and disabled dates.
768
865
  | `/extra` | The DateSelector extra content. |
769
866
  | `/feedback` | The DateSelector validation feedback. |
770
867
  | `/popup` | The DateSelector popup. |
868
+ | `/prefixIcon` | The prefix icon in the DateSelector. |
771
869
  | `/suffixIcon` | The suffix icon in the DateSelector. |
772
870
 
773
871
  No slots defined.