@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.
- package/README.md +0 -1
- package/content/actions/link.md +0 -17
- package/content/actions/login.md +5 -23
- package/content/actions/logout.md +5 -5
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/setdarkmode.md +2 -2
- package/content/agents/agent-properties.md +2 -4
- package/content/agents/agentchat.md +6 -21
- package/content/agents/agentconversations.md +2 -2
- package/content/concepts/ai-agent-docs.md +101 -313
- package/content/concepts/cli.md +3 -34
- package/content/concepts/connections-and-requests.md +0 -402
- package/content/concepts/custom-html.md +0 -40
- package/content/concepts/custom-styling.md +5 -50
- package/content/concepts/events-and-actions.md +2 -64
- package/content/concepts/i18n.md +2 -7
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +0 -81
- package/content/concepts/lowdefy-schema.md +1 -4
- package/content/concepts/menus.md +7 -7
- package/content/concepts/module-authoring.md +2 -2
- package/content/connections/anthropic.md +2 -162
- package/content/connections/awss3.md +0 -54
- package/content/connections/google.md +2 -162
- package/content/connections/mongodb.md +3 -121
- package/content/connections/openai-connection.md +2 -162
- package/content/container-blocks/affix.md +7 -47
- package/content/container-blocks/alert.md +24 -76
- package/content/container-blocks/badge.md +24 -100
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +25 -80
- package/content/container-blocks/carousel.md +7 -60
- package/content/container-blocks/collapse.md +9 -87
- package/content/container-blocks/configprovider.md +13 -35
- package/content/container-blocks/confirmmodal.md +23 -69
- package/content/container-blocks/content.md +98 -62
- package/content/container-blocks/descriptions.md +4 -45
- package/content/container-blocks/drawer.md +28 -92
- package/content/container-blocks/dropdownmenu.md +31 -119
- package/content/container-blocks/flex.md +62 -40
- package/content/container-blocks/footer.md +11 -15
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +36 -71
- package/content/container-blocks/label.md +7 -34
- package/content/container-blocks/layout.md +34 -52
- package/content/container-blocks/masonry.md +71 -17
- package/content/container-blocks/mobilemenu.md +88 -131
- package/content/container-blocks/modal.md +26 -114
- package/content/container-blocks/pageheadermenu.md +31 -81
- package/content/container-blocks/pagesidebarlayout.md +26 -169
- package/content/container-blocks/pagesidermenu.md +42 -95
- package/content/container-blocks/popover.md +31 -34
- package/content/container-blocks/result.md +21 -32
- package/content/container-blocks/sider.md +122 -85
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +68 -150
- package/content/container-blocks/tabs.md +12 -64
- package/content/container-blocks/tooltip.md +46 -22
- package/content/container-blocks/watermark.md +4 -22
- package/content/controls/reject.md +2 -4
- package/content/controls/throw.md +0 -1
- package/content/controls/try.md +2 -3
- package/content/deployment/deployment-environments.md +6 -8
- package/content/deployment/docker.md +7 -22
- package/content/deployment/node-server.md +0 -4
- package/content/deployment/vercel.md +6 -13
- package/content/display-blocks/aggrid.md +11 -26
- package/content/display-blocks/anchor.md +15 -15
- package/content/display-blocks/avatar.md +37 -57
- package/content/display-blocks/breadcrumb.md +21 -70
- package/content/display-blocks/button.md +18 -92
- package/content/display-blocks/calendar.md +0 -12
- package/content/display-blocks/dangeroushtml.md +1 -1
- package/content/display-blocks/difflist.md +1 -1
- package/content/display-blocks/difftimeline.md +1 -1
- package/content/display-blocks/divider.md +3 -64
- package/content/display-blocks/dropdownbutton.md +28 -79
- package/content/display-blocks/echart.md +1 -35
- package/content/display-blocks/floatbutton.md +42 -129
- package/content/display-blocks/html.md +1 -61
- package/content/display-blocks/icon.md +67 -250
- package/content/display-blocks/menu.md +73 -145
- package/content/display-blocks/message.md +124 -38
- package/content/display-blocks/notification.md +222 -94
- package/content/display-blocks/paragraph.md +9 -59
- package/content/display-blocks/progress.md +17 -96
- package/content/display-blocks/qrcode.md +4 -19
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +7 -17
- package/content/display-blocks/skeletonbutton.md +0 -1
- package/content/display-blocks/skeletoninput.md +0 -1
- package/content/display-blocks/statistic.md +17 -75
- package/content/display-blocks/steps.md +25 -58
- package/content/display-blocks/tag.md +17 -102
- package/content/display-blocks/title.md +11 -50
- package/content/display-blocks/tour.md +23 -33
- package/content/input-blocks/autocomplete.md +9 -81
- package/content/input-blocks/buttonselector.md +8 -45
- package/content/input-blocks/checkboxselector.md +7 -97
- package/content/input-blocks/checkboxswitch.md +3 -33
- package/content/input-blocks/colorselector.md +14 -63
- package/content/input-blocks/daterangeselector.md +45 -165
- package/content/input-blocks/dateselector.md +41 -139
- package/content/input-blocks/datetimeselector.md +49 -158
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/monthselector.md +52 -120
- package/content/input-blocks/multipleselector.md +39 -150
- package/content/input-blocks/numberinput.md +12 -98
- package/content/input-blocks/pagination.md +14 -70
- package/content/input-blocks/paragraphinput.md +37 -51
- package/content/input-blocks/passwordinput.md +6 -60
- package/content/input-blocks/phonenumberinput.md +26 -59
- package/content/input-blocks/radioselector.md +7 -83
- package/content/input-blocks/ratingslider.md +26 -57
- package/content/input-blocks/s3uploadbutton.md +24 -24
- package/content/input-blocks/s3uploaddragger.md +3 -3
- package/content/input-blocks/s3uploadphoto.md +5 -5
- package/content/input-blocks/segmentedselector.md +32 -72
- package/content/input-blocks/selector.md +21 -109
- package/content/input-blocks/switch.md +17 -65
- package/content/input-blocks/textarea.md +3 -32
- package/content/input-blocks/textinput.md +28 -69
- package/content/input-blocks/tiptapmentioninput.md +1 -1
- package/content/input-blocks/titleinput.md +12 -39
- package/content/input-blocks/treeinput.md +25 -49
- package/content/input-blocks/treemultipleselector.md +10 -127
- package/content/input-blocks/treeselector.md +9 -97
- package/content/input-blocks/upload.md +15 -64
- package/content/input-blocks/uploaddragger.md +1 -17
- package/content/input-blocks/uploadphoto.md +1 -18
- package/content/input-blocks/weekselector.md +55 -120
- package/content/list-blocks/controlledlist.md +15 -24
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +34 -7
- package/content/migration/upgrade-guide.md +0 -1
- package/content/operators/_app.md +1 -2
- package/content/operators/_error.md +1 -23
- package/content/operators/_get.md +6 -6
- package/content/operators/_operator.md +3 -17
- package/content/operators/_ref.md +0 -258
- package/content/operators/_type.md +3 -14
- package/content/operators/_user.md +3 -3
- package/content/other/introduction.md +1 -1
- package/content/plugins/plugins-dev.md +0 -66
- package/content/plugins/plugins-introduction.md +1 -27
- package/content/testing/e2e-configuration.md +1 -8
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/tutorial/tutorial-actions-operators.md +2 -2
- package/content/tutorial/tutorial-add-blocks.md +2 -2
- package/content/tutorial/tutorial-create-page.md +2 -48
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-sql.md +0 -153
- package/content/tutorial/tutorial-start.md +1 -66
- package/content/user-authentication/login-and-logout.md +8 -158
- package/content/user-authentication/users-introduction.md +0 -8
- package/index.json +2 -6065
- package/package.json +1 -7
- package/scripts/extractAgentDocs.js +4 -36
- package/content/actions/emailotpsend.md +0 -58
- package/content/actions/emailotpverify.md +0 -77
- package/content/actions/getlocalstorage.md +0 -41
- package/content/actions/magiclinkverify.md +0 -113
- package/content/actions/posthogalias.md +0 -29
- package/content/actions/posthogcapture.md +0 -49
- package/content/actions/posthogcapturepageleave.md +0 -38
- package/content/actions/posthogfeatureflag.md +0 -50
- package/content/actions/posthoggroup.md +0 -37
- package/content/actions/posthogidentify.md +0 -54
- package/content/actions/posthoginit.md +0 -66
- package/content/actions/posthogoptin.md +0 -29
- package/content/actions/posthogoptout.md +0 -29
- package/content/actions/posthogpageview.md +0 -37
- package/content/actions/posthogreloadfeatureflags.md +0 -47
- package/content/actions/posthogreset.md +0 -28
- package/content/actions/posthogsetpersonproperties.md +0 -36
- package/content/actions/removelocalstorage.md +0 -26
- package/content/actions/setlocalstorage.md +0 -32
- package/content/adapter-reference/mongodbauthadapter.md +0 -46
- package/content/agents/agents-introduction.md +0 -107
- package/content/callback-reference/auth0logoutcallback.md +0 -54
- package/content/concepts/blocks.md +0 -150
- package/content/concepts/dynamic-page-content.md +0 -304
- package/content/concepts/html-attributes.md +0 -285
- package/content/concepts/lowdefy-api.md +0 -1110
- package/content/concepts/notifications.md +0 -155
- package/content/concepts/page-and-app-state.md +0 -244
- package/content/concepts/theming.md +0 -582
- package/content/connections/aigateway.md +0 -368
- package/content/connections/axioshttp.md +0 -181
- package/content/controls/while.md +0 -46
- package/content/display-blocks/clickablehtml.md +0 -239
- package/content/display-blocks/eventlog.md +0 -363
- package/content/display-blocks/pollingtimer.md +0 -263
- package/content/input-blocks/captcha.md +0 -40
- package/content/input-blocks/placesautocomplete.md +0 -319
- package/content/input-blocks/tagmultipleselector.md +0 -114
- package/content/input-blocks/tagselector.md +0 -114
- package/content/migration/auth-upgrade.md +0 -327
- package/content/migration/v3-to-v4.md +0 -417
- package/content/migration/v6-to-v7.md +0 -222
- package/content/operators/_cron.md +0 -292
- package/content/other/mongodbadapter.md +0 -3
- package/content/plugins/plugins-icon-sets.md +0 -267
- package/content/plugins/posthog.md +0 -275
- package/content/provider-reference/auth-js-providers.md +0 -107
- package/content/provider-reference/openidconnectprovider.md +0 -44
- package/content/testing/config-tests.md +0 -278
- package/content/tutorial/tutorial-requests-api.md +0 -155
- package/content/user-authentication/auth-configuration.md +0 -266
- package/content/user-authentication/auth-steps.md +0 -138
- package/content/user-authentication/mcp-oauth.md +0 -292
- package/content/user-authentication/organizations.md +0 -221
- package/content/user-authentication/protected-pages-apis.md +0 -97
- package/content/user-authentication/roles.md +0 -49
- package/content/user-authentication/two-factor.md +0 -229
- package/content/user-authentication/user-object.md +0 -58
- package/content/websockets/websocket-publish.md +0 -108
- package/content/websockets/websocket-subscriptions.md +0 -100
- package/content/websockets/websockets-introduction.md +0 -97
- package/hazards.json +0 -44
- package/scripts/hashDocSources.js +0 -38
- package/scripts/recordSourceHashes.js +0 -88
|
@@ -217,36 +217,6 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
217
217
|
value: af
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
```yaml
|
|
221
|
-
- id: max_count_selector
|
|
222
|
-
type: MultipleSelector
|
|
223
|
-
properties:
|
|
224
|
-
title: Pick Up to 2 Toppings
|
|
225
|
-
maxCount: 2
|
|
226
|
-
options:
|
|
227
|
-
- Cheese
|
|
228
|
-
- Mushrooms
|
|
229
|
-
- Olives
|
|
230
|
-
- Peppers
|
|
231
|
-
- Onions
|
|
232
|
-
- id: responsive_tags_selector
|
|
233
|
-
type: MultipleSelector
|
|
234
|
-
properties:
|
|
235
|
-
title: Responsive Tag Count
|
|
236
|
-
maxTagCount: responsive
|
|
237
|
-
options:
|
|
238
|
-
- label: Engineering
|
|
239
|
-
value: engineering
|
|
240
|
-
- label: Design
|
|
241
|
-
value: design
|
|
242
|
-
- label: Marketing
|
|
243
|
-
value: marketing
|
|
244
|
-
- label: Operations
|
|
245
|
-
value: operations
|
|
246
|
-
- label: Customer Success
|
|
247
|
-
value: success
|
|
248
|
-
```
|
|
249
|
-
|
|
250
220
|
```yaml
|
|
251
221
|
- id: custom_placeholder
|
|
252
222
|
type: MultipleSelector
|
|
@@ -318,7 +288,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
318
288
|
type: MultipleSelector
|
|
319
289
|
properties:
|
|
320
290
|
title: Custom Suffix Icon
|
|
321
|
-
suffixIcon:
|
|
291
|
+
suffixIcon: AiOutlineSearch
|
|
322
292
|
options:
|
|
323
293
|
- label: Tokyo
|
|
324
294
|
value: tokyo
|
|
@@ -333,7 +303,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
333
303
|
properties:
|
|
334
304
|
title: Colored Suffix Icon
|
|
335
305
|
suffixIcon:
|
|
336
|
-
name:
|
|
306
|
+
name: AiOutlineGlobal
|
|
337
307
|
color: "#1677ff"
|
|
338
308
|
options:
|
|
339
309
|
- label: Tokyo
|
|
@@ -346,7 +316,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
346
316
|
type: MultipleSelector
|
|
347
317
|
properties:
|
|
348
318
|
title: Custom Clear Icon
|
|
349
|
-
clearIcon:
|
|
319
|
+
clearIcon: AiOutlineDelete
|
|
350
320
|
options:
|
|
351
321
|
- label: File A
|
|
352
322
|
value: a
|
|
@@ -358,7 +328,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
358
328
|
type: MultipleSelector
|
|
359
329
|
properties:
|
|
360
330
|
title: Custom Selected Icon
|
|
361
|
-
selectedIcon:
|
|
331
|
+
selectedIcon: AiOutlineStar
|
|
362
332
|
options:
|
|
363
333
|
- label: Gold Plan
|
|
364
334
|
value: gold
|
|
@@ -532,22 +502,22 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
532
502
|
- label: Approved
|
|
533
503
|
value: approved
|
|
534
504
|
tag:
|
|
535
|
-
icon:
|
|
505
|
+
icon: AiOutlineCheck
|
|
536
506
|
color: success
|
|
537
507
|
- label: Pending
|
|
538
508
|
value: pending
|
|
539
509
|
tag:
|
|
540
|
-
icon:
|
|
510
|
+
icon: AiOutlineClockCircle
|
|
541
511
|
color: processing
|
|
542
512
|
- label: Rejected
|
|
543
513
|
value: rejected
|
|
544
514
|
tag:
|
|
545
|
-
icon:
|
|
515
|
+
icon: AiOutlineClose
|
|
546
516
|
color: error
|
|
547
517
|
- label: Draft
|
|
548
518
|
value: draft
|
|
549
519
|
tag:
|
|
550
|
-
icon:
|
|
520
|
+
icon: AiOutlineEdit
|
|
551
521
|
color: default
|
|
552
522
|
- id: tags_icons_colors_titles
|
|
553
523
|
type: MultipleSelector
|
|
@@ -559,19 +529,19 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
559
529
|
value: high
|
|
560
530
|
tag:
|
|
561
531
|
title: High
|
|
562
|
-
icon:
|
|
532
|
+
icon: AiOutlineArrowUp
|
|
563
533
|
color: red
|
|
564
534
|
- label: Medium Priority
|
|
565
535
|
value: medium
|
|
566
536
|
tag:
|
|
567
537
|
title: Med
|
|
568
|
-
icon:
|
|
538
|
+
icon: AiOutlineMinus
|
|
569
539
|
color: orange
|
|
570
540
|
- label: Low Priority
|
|
571
541
|
value: low
|
|
572
542
|
tag:
|
|
573
543
|
title: Low
|
|
574
|
-
icon:
|
|
544
|
+
icon: AiOutlineArrowDown
|
|
575
545
|
color: green
|
|
576
546
|
```
|
|
577
547
|
|
|
@@ -857,7 +827,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
857
827
|
type: MultipleSelector
|
|
858
828
|
style:
|
|
859
829
|
.element:
|
|
860
|
-
border:
|
|
830
|
+
border: 2px solid '#1677ff'
|
|
861
831
|
borderRadius: 8
|
|
862
832
|
properties:
|
|
863
833
|
title: Custom Border Style
|
|
@@ -873,8 +843,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
873
843
|
- id: style_background
|
|
874
844
|
type: MultipleSelector
|
|
875
845
|
style:
|
|
876
|
-
.element:
|
|
877
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
846
|
+
.element: null
|
|
878
847
|
properties:
|
|
879
848
|
title: Custom Background
|
|
880
849
|
label:
|
|
@@ -900,7 +869,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
900
869
|
- label: Three
|
|
901
870
|
value: 3
|
|
902
871
|
class:
|
|
903
|
-
|
|
872
|
+
element: rounded-lg shadow-sm
|
|
904
873
|
- id: class_tailwind_label
|
|
905
874
|
type: MultipleSelector
|
|
906
875
|
properties:
|
|
@@ -911,7 +880,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
911
880
|
- label: Beta
|
|
912
881
|
value: beta
|
|
913
882
|
class:
|
|
914
|
-
|
|
883
|
+
label: text-blue-600 font-semibold
|
|
915
884
|
```
|
|
916
885
|
|
|
917
886
|
```yaml
|
|
@@ -1006,8 +975,8 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1006
975
|
renderTags: true
|
|
1007
976
|
maxTagCount: 3
|
|
1008
977
|
size: large
|
|
1009
|
-
suffixIcon:
|
|
1010
|
-
selectedIcon:
|
|
978
|
+
suffixIcon: AiOutlineTeam
|
|
979
|
+
selectedIcon: AiOutlineCheckCircle
|
|
1011
980
|
label:
|
|
1012
981
|
extra: Select up to 5 team roles for the project.
|
|
1013
982
|
options:
|
|
@@ -1015,37 +984,37 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1015
984
|
value: pm
|
|
1016
985
|
tag:
|
|
1017
986
|
title: PM
|
|
1018
|
-
icon:
|
|
987
|
+
icon: AiOutlineCrown
|
|
1019
988
|
color: gold
|
|
1020
989
|
- label: Tech Lead
|
|
1021
990
|
value: lead
|
|
1022
991
|
tag:
|
|
1023
992
|
title: Lead
|
|
1024
|
-
icon:
|
|
993
|
+
icon: AiOutlineStar
|
|
1025
994
|
color: blue
|
|
1026
995
|
- label: Developer
|
|
1027
996
|
value: dev
|
|
1028
997
|
tag:
|
|
1029
998
|
title: Dev
|
|
1030
|
-
icon:
|
|
999
|
+
icon: AiOutlineCode
|
|
1031
1000
|
color: green
|
|
1032
1001
|
- label: Designer
|
|
1033
1002
|
value: design
|
|
1034
1003
|
tag:
|
|
1035
1004
|
title: UX
|
|
1036
|
-
icon:
|
|
1005
|
+
icon: AiOutlineBgColors
|
|
1037
1006
|
color: magenta
|
|
1038
1007
|
- label: QA Engineer
|
|
1039
1008
|
value: qa
|
|
1040
1009
|
tag:
|
|
1041
1010
|
title: QA
|
|
1042
|
-
icon:
|
|
1011
|
+
icon: AiOutlineBug
|
|
1043
1012
|
color: volcano
|
|
1044
1013
|
- label: DevOps
|
|
1045
1014
|
value: devops
|
|
1046
1015
|
tag:
|
|
1047
1016
|
title: Ops
|
|
1048
|
-
icon:
|
|
1017
|
+
icon: AiOutlineCloudServer
|
|
1049
1018
|
color: cyan
|
|
1050
1019
|
- id: combined_themed
|
|
1051
1020
|
type: MultipleSelector
|
|
@@ -1089,7 +1058,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1089
1058
|
properties:
|
|
1090
1059
|
title: Project Name
|
|
1091
1060
|
placeholder: Enter project name
|
|
1092
|
-
prefixIcon:
|
|
1061
|
+
prefixIcon: AiOutlineProject
|
|
1093
1062
|
- id: applied2_team_members
|
|
1094
1063
|
type: MultipleSelector
|
|
1095
1064
|
properties:
|
|
@@ -1130,12 +1099,12 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1130
1099
|
title: Project Deadline
|
|
1131
1100
|
placeholder: Select deadline
|
|
1132
1101
|
format: DD MMM YYYY
|
|
1133
|
-
suffixIcon:
|
|
1102
|
+
suffixIcon: AiOutlineCalendar
|
|
1134
1103
|
- id: applied2_team_assign_btn
|
|
1135
1104
|
type: Button
|
|
1136
1105
|
properties:
|
|
1137
1106
|
title: Assign Team
|
|
1138
|
-
icon:
|
|
1107
|
+
icon: AiOutlineTeam
|
|
1139
1108
|
type: primary
|
|
1140
1109
|
size: large
|
|
1141
1110
|
block: true
|
|
@@ -1206,7 +1175,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1206
1175
|
type: Button
|
|
1207
1176
|
properties:
|
|
1208
1177
|
title: Apply Filters
|
|
1209
|
-
icon:
|
|
1178
|
+
icon: AiOutlineFilter
|
|
1210
1179
|
type: primary
|
|
1211
1180
|
block: true
|
|
1212
1181
|
events:
|
|
@@ -1276,43 +1245,21 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1276
1245
|
| `autoClearSearchValue` | boolean | `true` | Whether the current search will be cleared on selecting an item. |
|
|
1277
1246
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
1278
1247
|
| `bordered` | boolean | `true` | Whether or not the selector has a border style. Deprecated, use variant instead. |
|
|
1279
|
-
| `clearIcon` | string \| object | `"
|
|
1280
|
-
| `clearIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1281
|
-
| `clearIcon.color` | string | - | Icon color. |
|
|
1282
|
-
| `clearIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1283
|
-
| `clearIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1284
|
-
| `clearIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1285
|
-
| `clearIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1286
|
-
| `clearIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1287
|
-
| `clearIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1288
|
-
| `clearIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1248
|
+
| `clearIcon` | string \| object | `"AiOutlineCloseCircle"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon at far right position of the selector, shown when user is given option to clear input. |
|
|
1289
1249
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
1290
1250
|
| `label` | object | - | Label properties. |
|
|
1291
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
1292
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1293
|
-
| `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. |
|
|
1294
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1295
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
1296
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1297
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
1298
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1299
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
1300
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1301
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
1302
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
1303
1251
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
1304
1252
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
1305
1253
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
1306
1254
|
| `label.title` | string | - | Label title - supports html. |
|
|
1307
1255
|
| `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. |
|
|
1308
1256
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
1309
|
-
| `label.tooltip.icon` | string | `"
|
|
1257
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
1310
1258
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
1311
|
-
| `label.span` | number | - | Label
|
|
1259
|
+
| `label.span` | number | - | Label inline span. |
|
|
1312
1260
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
1313
1261
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
1314
1262
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
1315
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
1316
1263
|
| `data` | array | - | Alternative to `options`: an array of raw rows. Each row is rendered to a label with the `html` template, and `valueKey` selects which field becomes the value. Use this to drive a selector directly from data without building label/value pairs in your request. |
|
|
1317
1264
|
| `html` | string | - | Nunjucks template that renders each option label when using `data`. The context exposes `item` (the current row) and `index` (the zero-based row index). Ignored when `options` is used. |
|
|
1318
1265
|
| `valueKey` | string | - | Field used as the selected value. With `options` it names the value field (defaults to "value"). With `data` it names the field stored when an option is selected; omit it to store the whole row. Supports dotted paths (e.g. "user.id"). |
|
|
@@ -1327,71 +1274,17 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1327
1274
|
| `options.$.tag` | object | - | |
|
|
1328
1275
|
| `options.$.tag.color` | string | - | Color of the Tag. Preset options are success, processing, error, warning, default, blue, cyan, geekblue, gold, green, lime, magenta, orange, purple, red, volcano, or alternatively any hex color. |
|
|
1329
1276
|
| `options.$.tag.title` | string | - | Content title of tag - supports html. |
|
|
1330
|
-
| `options.$.tag.icon` | string \| object | - |
|
|
1331
|
-
| `
|
|
1332
|
-
| `
|
|
1333
|
-
| `options.$.tag.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1334
|
-
| `options.$.tag.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1335
|
-
| `options.$.tag.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1336
|
-
| `options.$.tag.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1337
|
-
| `options.$.tag.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1338
|
-
| `options.$.tag.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1339
|
-
| `options.$.tag.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1340
|
-
| `listHeight` | number | `256` | Height of the dropdown list in pixels. |
|
|
1341
|
-
| `maxCount` | number | - | Maximum number of options that can be selected. Once reached, the remaining options are disabled. |
|
|
1342
|
-
| `maxTagCount` | number \| string | - | Maximum number of selected tags shown before the rest collapse into a count. Set to 'responsive' to fit as many tags as the input width allows. |
|
|
1343
|
-
| `placeholder` | string | `"Select items"` | Placeholder text inside the block before user selects input. |
|
|
1277
|
+
| `options.$.tag.icon` | string \| object | - | Name of an Ant Design Icon or properties of an Icon block to customize alert icon. |
|
|
1278
|
+
| `maxTagCount` | number | - | Max tag count to show. |
|
|
1279
|
+
| `placeholder` | string | `"Select item"` | Placeholder text inside the block before user selects input. |
|
|
1344
1280
|
| `loadingPlaceholder` | string | `"Loading"` | Placeholder text to show in options while the block is loading. |
|
|
1345
|
-
| `notFoundContent` | string | `"
|
|
1346
|
-
| `
|
|
1347
|
-
| `
|
|
1348
|
-
| `prefix` | string | - | Text shown inside the selector before the selected value. |
|
|
1349
|
-
| `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 show inside the selector before the selected value. Ignored when `prefix` is set. |
|
|
1350
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1351
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
1352
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1353
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1354
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1355
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1356
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1357
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1358
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1359
|
-
| `removeIcon` | string \| object | `"close"` | 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 remove icon on each selected tag. |
|
|
1360
|
-
| `removeIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1361
|
-
| `removeIcon.color` | string | - | Icon color. |
|
|
1362
|
-
| `removeIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1363
|
-
| `removeIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1364
|
-
| `removeIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1365
|
-
| `removeIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1366
|
-
| `removeIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1367
|
-
| `removeIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1368
|
-
| `removeIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1369
|
-
| `selectedIcon` | string \| object | `"check"` | 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 showing when a selection is made in the drop-down list. |
|
|
1370
|
-
| `selectedIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1371
|
-
| `selectedIcon.color` | string | - | Icon color. |
|
|
1372
|
-
| `selectedIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1373
|
-
| `selectedIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1374
|
-
| `selectedIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1375
|
-
| `selectedIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1376
|
-
| `selectedIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1377
|
-
| `selectedIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1378
|
-
| `selectedIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1379
|
-
| `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. |
|
|
1380
|
-
| `showSearch` | boolean | `true` | Make the selector options searchable. |
|
|
1281
|
+
| `notFoundContent` | string | `"not Found"` | Placeholder text to show when list of options are empty. |
|
|
1282
|
+
| `selectedIcon` | string \| object | `"AiOutlineCheck"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon showing when a selection is made in the drop-down list. |
|
|
1283
|
+
| `showArrow` | boolean | `true` | Show the suffix icon at the drop-down position of the selector. |
|
|
1381
1284
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
1382
|
-
| `suffixIcon` | string \| object | `"
|
|
1383
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1384
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
1385
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1386
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1387
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1388
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1389
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1390
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1391
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1285
|
+
| `suffixIcon` | string \| object | `"AiOutlineDown"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize at the drop-down position of the selector. |
|
|
1392
1286
|
| `title` | string | - | Multiple selector label title - supports html. |
|
|
1393
|
-
| `variant` | string | - | Tag/input variant. `solid` renders filled colored tags; `outlined` renders outlined colored tags. `filled`/`borderless
|
|
1394
|
-
| `virtual` | boolean | `true` | Only render the dropdown options in view. Set to false when options have very different heights, or so screen readers can reach every option. |
|
|
1287
|
+
| `variant` | string | - | Tag/input variant. `solid` renders filled colored tags; `outlined` renders outlined colored tags. `filled`/`borderless` are the antd input styles. Enum: `solid`, `outlined`, `filled`, `borderless`. |
|
|
1395
1288
|
| `renderTags` | boolean | - | When true, the selected option labels are rendered as tags in the selector input. This field must be true to render option tag values. |
|
|
1396
1289
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design select tokens](https://ant.design/components/select#design-token). |
|
|
1397
1290
|
| `theme.clearBg` | string | `"#ffffff"` | Background color of the clear button. |
|
|
@@ -1421,11 +1314,10 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1421
1314
|
|
|
1422
1315
|
| Event | Event Data | Description |
|
|
1423
1316
|
| --- | --- | --- |
|
|
1424
|
-
| `onChange` |
|
|
1317
|
+
| `onChange` | \- | Trigger actions when selection is changed. |
|
|
1425
1318
|
| `onBlur` | \- | Trigger action event occurs when selector loses focus. |
|
|
1426
1319
|
| `onFocus` | \- | Trigger action when selector gets focus. |
|
|
1427
1320
|
| `onClear` | \- | Trigger action when selector gets cleared. |
|
|
1428
|
-
| `onOpenChange` | `{ open }` | Trigger actions when the dropdown opens or closes. |
|
|
1429
1321
|
| `onSearch` | `{ value }` | Trigger actions when input is changed. |
|
|
1430
1322
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
1431
1323
|
|
|
@@ -1439,9 +1331,6 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1439
1331
|
| `/extra` | The MultipleSelector extra content. |
|
|
1440
1332
|
| `/feedback` | The MultipleSelector validation feedback. |
|
|
1441
1333
|
| `/options` | The MultipleSelector options. |
|
|
1442
|
-
| `/popup` | The MultipleSelector dropdown popup. |
|
|
1443
|
-
| `/prefixIcon` | The prefix icon in the MultipleSelector. |
|
|
1444
|
-
| `/removeIcon` | The remove icon on each selected tag in the MultipleSelector. |
|
|
1445
1334
|
| `/selectedIcon` | The selected item icon in the MultipleSelector. |
|
|
1446
1335
|
| `/suffixIcon` | The suffix icon in the MultipleSelector. |
|
|
1447
1336
|
|
|
@@ -155,52 +155,6 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
155
155
|
placeholder: Click +/- by 5
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
```yaml
|
|
159
|
-
- id: spinner_mode
|
|
160
|
-
type: NumberInput
|
|
161
|
-
properties:
|
|
162
|
-
title: Quantity
|
|
163
|
-
mode: spinner
|
|
164
|
-
min: 1
|
|
165
|
-
max: 10
|
|
166
|
-
events:
|
|
167
|
-
onMount:
|
|
168
|
-
- id: set_default
|
|
169
|
-
type: SetState
|
|
170
|
-
params:
|
|
171
|
-
spinner_mode: 1
|
|
172
|
-
- id: spinner_mouse_wheel
|
|
173
|
-
type: NumberInput
|
|
174
|
-
properties:
|
|
175
|
-
title: Change With Mouse Wheel
|
|
176
|
-
changeOnWheel: true
|
|
177
|
-
placeholder: Focus and scroll
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
```yaml
|
|
181
|
-
- id: prefix_suffix_text
|
|
182
|
-
type: NumberInput
|
|
183
|
-
properties:
|
|
184
|
-
title: Price
|
|
185
|
-
prefix: $
|
|
186
|
-
suffix: USD
|
|
187
|
-
precision: 2
|
|
188
|
-
- id: suffix_unit
|
|
189
|
-
type: NumberInput
|
|
190
|
-
properties:
|
|
191
|
-
title: Weight
|
|
192
|
-
suffix: kg
|
|
193
|
-
min: 0
|
|
194
|
-
- id: prefix_suffix_icons
|
|
195
|
-
type: NumberInput
|
|
196
|
-
properties:
|
|
197
|
-
title: Discount
|
|
198
|
-
prefixIcon: tag
|
|
199
|
-
suffix: "%"
|
|
200
|
-
min: 0
|
|
201
|
-
max: 100
|
|
202
|
-
```
|
|
203
|
-
|
|
204
158
|
```yaml
|
|
205
159
|
- id: keyboard_enabled
|
|
206
160
|
type: NumberInput
|
|
@@ -284,7 +238,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
284
238
|
type: NumberInput
|
|
285
239
|
properties:
|
|
286
240
|
title: Price
|
|
287
|
-
placeholder:
|
|
241
|
+
placeholder: 0
|
|
288
242
|
precision: 2
|
|
289
243
|
min: 0
|
|
290
244
|
- id: placeholder_percentage
|
|
@@ -442,7 +396,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
442
396
|
max: 99999
|
|
443
397
|
step: 0.01
|
|
444
398
|
precision: 2
|
|
445
|
-
placeholder:
|
|
399
|
+
placeholder: 0
|
|
446
400
|
label:
|
|
447
401
|
extra: Enter the product price in USD.
|
|
448
402
|
- id: combined_quantity
|
|
@@ -463,7 +417,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
463
417
|
max: 100
|
|
464
418
|
step: 0.5
|
|
465
419
|
precision: 1
|
|
466
|
-
placeholder:
|
|
420
|
+
placeholder: 0
|
|
467
421
|
size: small
|
|
468
422
|
label:
|
|
469
423
|
extra: Percentage discount to apply.
|
|
@@ -543,11 +497,10 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
543
497
|
- id: style_background
|
|
544
498
|
type: NumberInput
|
|
545
499
|
style:
|
|
546
|
-
.element:
|
|
547
|
-
backgroundColor: var(--ant-color-primary-bg)
|
|
500
|
+
.element: null
|
|
548
501
|
properties:
|
|
549
502
|
title: Custom Background
|
|
550
|
-
placeholder:
|
|
503
|
+
placeholder: Light blue background
|
|
551
504
|
- id: style_border
|
|
552
505
|
type: NumberInput
|
|
553
506
|
style:
|
|
@@ -581,14 +534,14 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
581
534
|
- id: class_element
|
|
582
535
|
type: NumberInput
|
|
583
536
|
class:
|
|
584
|
-
|
|
537
|
+
element: rounded-lg shadow-md
|
|
585
538
|
properties:
|
|
586
539
|
title: Rounded with Shadow
|
|
587
540
|
placeholder: Tailwind classes
|
|
588
541
|
- id: class_label
|
|
589
542
|
type: NumberInput
|
|
590
543
|
class:
|
|
591
|
-
|
|
544
|
+
label: text-blue-600 font-semibold
|
|
592
545
|
properties:
|
|
593
546
|
title: Blue Bold Label
|
|
594
547
|
placeholder: Label class override
|
|
@@ -751,7 +704,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
751
704
|
title: Min Price
|
|
752
705
|
min: 0
|
|
753
706
|
precision: 2
|
|
754
|
-
placeholder:
|
|
707
|
+
placeholder: 0
|
|
755
708
|
- id: form_max_price
|
|
756
709
|
type: NumberInput
|
|
757
710
|
layout:
|
|
@@ -760,7 +713,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
760
713
|
title: Max Price
|
|
761
714
|
min: 0
|
|
762
715
|
precision: 2
|
|
763
|
-
placeholder:
|
|
716
|
+
placeholder: 0
|
|
764
717
|
- id: form_no_label_label
|
|
765
718
|
type: Markdown
|
|
766
719
|
properties:
|
|
@@ -826,71 +779,34 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
826
779
|
| Property | Type | Default | Description |
|
|
827
780
|
| --- | --- | --- | --- |
|
|
828
781
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
829
|
-
| `changeOnWheel` | boolean | `false` | Allow changing the value with the mouse wheel while the input is focused. |
|
|
830
782
|
| `bordered` | boolean | `true` | Whether or not the number input has a border style. Deprecated, use variant instead. |
|
|
831
783
|
| `controls` | boolean | `true` | Whether or not to show the +- controls. |
|
|
832
784
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
833
785
|
| `formatter` | object | - | A function specifying the format of the value presented. |
|
|
834
786
|
| `keyboard` | boolean | `true` | If enabled, control input with keyboard up and down. |
|
|
835
787
|
| `label` | object | - | Label properties. |
|
|
836
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
837
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
838
|
-
| `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. |
|
|
839
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
840
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
841
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
842
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
843
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
844
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
845
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
846
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
847
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
848
788
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
849
789
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
850
790
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
851
791
|
| `label.title` | string | - | Label title - supports html. |
|
|
852
792
|
| `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. |
|
|
853
793
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
854
|
-
| `label.tooltip.icon` | string | `"
|
|
794
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
855
795
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
856
|
-
| `label.span` | number | - | Label
|
|
796
|
+
| `label.span` | number | - | Label inline span. |
|
|
857
797
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
858
798
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
859
799
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
860
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
861
|
-
| `mode` | string | `"input"` | Show the controls as up and down arrows inside the input, or as minus and plus buttons on either side of it. Enum: `input`, `spinner`. |
|
|
862
800
|
| `min` | number | - | Minimum value allowed by the block. |
|
|
863
801
|
| `max` | number | - | Maximum value allowed by the block. |
|
|
864
802
|
| `parser` | object | - | A function specifying the value extracted from the formatter. |
|
|
865
803
|
| `placeholder` | string | - | Placeholder text inside the block to show message before user types input. |
|
|
866
804
|
| `decimalSeparator` | string | - | Separator between number and decimal places. Defaults to the active locale's decimal separator (e.g. "," for de-DE, "." for en-US), or "." when no locale is configured. |
|
|
867
805
|
| `precision` | integer | - | Precision (number of decimal places) allowed by the block. |
|
|
868
|
-
| `prefix` | string | - | Prefix text for the block, priority over prefixIcon. |
|
|
869
|
-
| `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 number input. |
|
|
870
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
871
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
872
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
873
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
874
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
875
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
876
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
877
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
878
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
879
806
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
880
807
|
| `step` | number | `1` | The number to which the current value is increased or decreased. It can be an integer or decimal. |
|
|
881
|
-
| `suffix` | string | - | Suffix text for the block, shown before suffixIcon. |
|
|
882
|
-
| `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 number input. |
|
|
883
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
884
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
885
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
886
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
887
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
888
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
889
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
890
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
891
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
892
808
|
| `title` | string | - | Number input label title - supports html. |
|
|
893
|
-
| `variant` | string | - | Input visual variant.
|
|
809
|
+
| `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
|
|
894
810
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design input-number tokens](https://ant.design/components/input-number#design-token). |
|
|
895
811
|
| `theme.activeBorderColor` | string | - | Border color when the input is active (focused). |
|
|
896
812
|
| `theme.activeShadow` | string | - | Box shadow when the input is active. |
|
|
@@ -935,7 +851,5 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
935
851
|
| `/label` | The NumberInput label. |
|
|
936
852
|
| `/extra` | The NumberInput extra content. |
|
|
937
853
|
| `/feedback` | The NumberInput validation feedback. |
|
|
938
|
-
| `/prefixIcon` | The prefix icon in the NumberInput. |
|
|
939
|
-
| `/suffixIcon` | The suffix icon in the NumberInput. |
|
|
940
854
|
|
|
941
855
|
No slots defined.
|