@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.
- package/README.md +1 -0
- package/content/actions/downloadcsv.md +1 -1
- package/content/actions/emailotpsend.md +58 -0
- package/content/actions/emailotpverify.md +79 -0
- package/content/actions/getlocalstorage.md +43 -0
- package/content/actions/link.md +47 -1
- package/content/actions/login.md +25 -5
- package/content/actions/logout.md +7 -5
- package/content/actions/magiclinkverify.md +117 -0
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/posthogalias.md +29 -0
- package/content/actions/posthogcapture.md +49 -0
- package/content/actions/posthogcapturepageleave.md +38 -0
- package/content/actions/posthogfeatureflag.md +50 -0
- package/content/actions/posthoggroup.md +37 -0
- package/content/actions/posthogidentify.md +54 -0
- package/content/actions/posthoginit.md +96 -0
- package/content/actions/posthogoptin.md +29 -0
- package/content/actions/posthogoptout.md +29 -0
- package/content/actions/posthogpageview.md +37 -0
- package/content/actions/posthogreloadfeatureflags.md +47 -0
- package/content/actions/posthogreset.md +28 -0
- package/content/actions/posthogsetpersonproperties.md +36 -0
- package/content/actions/removelocalstorage.md +28 -0
- package/content/actions/resetvalidation.md +5 -3
- package/content/actions/setdarkmode.md +3 -3
- package/content/actions/setglobal.md +2 -0
- package/content/actions/setlocale.md +1 -1
- package/content/actions/setlocalstorage.md +34 -0
- package/content/actions/setstate.md +2 -0
- package/content/actions/validate.md +7 -4
- package/content/adapter-reference/mongodbauthadapter.md +46 -0
- package/content/agents/agent-endpoint-tools.md +24 -0
- package/content/agents/agent-properties.md +13 -3
- package/content/agents/agent-server-hooks.md +1 -1
- package/content/agents/agentchat.md +43 -7
- package/content/agents/agentconversations.md +42 -8
- package/content/agents/agents-introduction.md +107 -0
- package/content/callback-reference/auth0logoutcallback.md +54 -0
- package/content/concepts/ai-agent-docs.md +455 -106
- package/content/concepts/blocks.md +150 -0
- package/content/concepts/connections-and-requests.md +402 -0
- package/content/concepts/custom-html.md +42 -0
- package/content/concepts/custom-styling.md +50 -5
- package/content/concepts/dynamic-page-content.md +309 -0
- package/content/concepts/events-and-actions.md +154 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +8 -3
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +99 -0
- package/content/concepts/lowdefy-api.md +1319 -0
- package/content/concepts/lowdefy-schema.md +136 -3
- package/content/concepts/menus.md +8 -7
- package/content/concepts/module-authoring.md +76 -5
- package/content/concepts/modules.md +3 -1
- package/content/concepts/notifications.md +180 -0
- package/content/concepts/operators.md +7 -0
- package/content/concepts/page-and-app-state.md +252 -0
- package/content/concepts/page-paths.md +209 -0
- package/content/concepts/theming.md +582 -0
- package/content/connections/aigateway.md +375 -0
- package/content/connections/anthropic.md +169 -2
- package/content/connections/awss3.md +178 -2
- package/content/connections/axioshttp.md +181 -0
- package/content/connections/google.md +169 -2
- package/content/connections/mongodb.md +1014 -3
- package/content/connections/openai-connection.md +169 -2
- package/content/connections/sendgridmail.md +2 -0
- package/content/connections/smtp.md +3 -1
- package/content/connections/treg.md +329 -0
- package/content/container-blocks/affix.md +47 -7
- package/content/container-blocks/alert.md +76 -24
- package/content/container-blocks/badge.md +100 -24
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +132 -27
- package/content/container-blocks/carousel.md +60 -7
- package/content/container-blocks/collapse.md +153 -9
- package/content/container-blocks/configprovider.md +35 -13
- package/content/container-blocks/confirmmodal.md +69 -23
- package/content/container-blocks/content.md +62 -98
- package/content/container-blocks/descriptions.md +45 -4
- package/content/container-blocks/drawer.md +139 -28
- package/content/container-blocks/dropdownmenu.md +119 -31
- package/content/container-blocks/flex.md +40 -62
- package/content/container-blocks/footer.md +15 -11
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +71 -36
- package/content/container-blocks/label.md +34 -7
- package/content/container-blocks/layout.md +52 -34
- package/content/container-blocks/masonry.md +17 -71
- package/content/container-blocks/mobilemenu.md +131 -88
- package/content/container-blocks/modal.md +161 -26
- package/content/container-blocks/pageheadermenu.md +138 -31
- package/content/container-blocks/pagesidebarlayout.md +230 -27
- package/content/container-blocks/pagesidermenu.md +153 -43
- package/content/container-blocks/popover.md +34 -31
- package/content/container-blocks/result.md +32 -21
- package/content/container-blocks/sider.md +85 -122
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +150 -68
- package/content/container-blocks/tabs.md +64 -12
- package/content/container-blocks/tooltip.md +22 -46
- package/content/container-blocks/watermark.md +22 -4
- package/content/controls/parallel_for.md +21 -2
- package/content/controls/reject.md +24 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +1 -0
- package/content/controls/try.md +4 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +10 -7
- package/content/deployment/docker.md +22 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +17 -6
- package/content/display-blocks/aggrid.md +33 -16
- package/content/display-blocks/anchor.md +16 -15
- package/content/display-blocks/avatar.md +57 -37
- package/content/display-blocks/breadcrumb.md +70 -21
- package/content/display-blocks/button.md +93 -19
- package/content/display-blocks/calendar.md +12 -0
- package/content/display-blocks/clickablehtml.md +239 -0
- 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 +64 -3
- package/content/display-blocks/dropdownbutton.md +81 -30
- package/content/display-blocks/echart.md +35 -1
- package/content/display-blocks/eventlog.md +363 -0
- package/content/display-blocks/floatbutton.md +129 -42
- package/content/display-blocks/html.md +61 -1
- package/content/display-blocks/icon.md +250 -67
- package/content/display-blocks/img.md +2 -2
- package/content/display-blocks/menu.md +146 -73
- package/content/display-blocks/message.md +38 -124
- package/content/display-blocks/notification.md +94 -222
- package/content/display-blocks/paragraph.md +59 -9
- package/content/display-blocks/pollingtimer.md +263 -0
- package/content/display-blocks/progress.md +96 -17
- package/content/display-blocks/qrcode.md +19 -4
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +19 -9
- package/content/display-blocks/skeletonbutton.md +1 -0
- package/content/display-blocks/skeletoninput.md +1 -0
- package/content/display-blocks/statistic.md +75 -17
- package/content/display-blocks/steps.md +58 -25
- package/content/display-blocks/table.md +2527 -0
- package/content/display-blocks/tablelight.md +621 -0
- package/content/display-blocks/tag.md +102 -17
- package/content/display-blocks/title.md +50 -11
- package/content/display-blocks/tour.md +33 -23
- package/content/input-blocks/autocomplete.md +81 -9
- package/content/input-blocks/buttonselector.md +45 -8
- package/content/input-blocks/captcha.md +40 -0
- package/content/input-blocks/checkboxselector.md +97 -7
- package/content/input-blocks/checkboxswitch.md +33 -3
- package/content/input-blocks/colorselector.md +63 -14
- package/content/input-blocks/daterangeselector.md +165 -45
- package/content/input-blocks/dateselector.md +139 -41
- package/content/input-blocks/datetimeselector.md +158 -49
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/intentinput.md +207 -0
- package/content/input-blocks/monthselector.md +120 -52
- package/content/input-blocks/multipleselector.md +150 -39
- package/content/input-blocks/numberinput.md +98 -12
- package/content/input-blocks/pagination.md +70 -14
- package/content/input-blocks/paragraphinput.md +51 -37
- package/content/input-blocks/passwordinput.md +60 -6
- package/content/input-blocks/phonenumberinput.md +59 -26
- package/content/input-blocks/placesautocomplete.md +319 -0
- package/content/input-blocks/radioselector.md +83 -7
- package/content/input-blocks/ratingslider.md +57 -26
- 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 +72 -32
- package/content/input-blocks/selector.md +109 -21
- package/content/input-blocks/switch.md +65 -17
- package/content/input-blocks/tableinput.md +445 -0
- package/content/input-blocks/tagmultipleselector.md +114 -0
- package/content/input-blocks/tagselector.md +114 -0
- package/content/input-blocks/textarea.md +32 -3
- package/content/input-blocks/textinput.md +70 -29
- package/content/input-blocks/tiptapinput.md +1 -1
- package/content/input-blocks/tiptapmentioninput.md +2 -2
- package/content/input-blocks/titleinput.md +39 -12
- package/content/input-blocks/treeinput.md +49 -25
- package/content/input-blocks/treemultipleselector.md +127 -10
- package/content/input-blocks/treeselector.md +97 -9
- package/content/input-blocks/upload.md +64 -15
- package/content/input-blocks/uploaddragger.md +17 -1
- package/content/input-blocks/uploadphoto.md +18 -1
- package/content/input-blocks/weekselector.md +120 -55
- package/content/learn/introduction.md +27 -0
- package/content/learn/quickstart.md +53 -0
- package/content/learn/showcase.md +8 -0
- package/content/list-blocks/controlledlist.md +24 -15
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +7 -34
- package/content/migration/auth-upgrade.md +337 -0
- package/content/migration/upgrade-guide.md +1 -0
- package/content/migration/v3-to-v4.md +417 -0
- package/content/migration/v6-to-v7.md +620 -0
- package/content/operators/_agent.md +155 -0
- package/content/operators/_app.md +2 -1
- package/content/operators/_array.md +122 -1
- package/content/operators/_build.md +1 -0
- package/content/operators/_credential.md +57 -0
- package/content/operators/_cron.md +292 -0
- package/content/operators/_date.md +2 -0
- package/content/operators/_error.md +24 -1
- package/content/operators/_get.md +6 -6
- package/content/operators/_hmac.md +78 -0
- package/content/operators/_js.md +2 -1
- package/content/operators/_location.md +1 -1
- package/content/operators/_media.md +13 -0
- package/content/operators/_module.md +56 -2
- package/content/operators/_operator.md +17 -3
- package/content/operators/_path_params.md +82 -0
- package/content/operators/_ref.md +258 -0
- package/content/operators/_request.md +1 -1
- package/content/operators/_request_details.md +6 -0
- package/content/operators/_type.md +14 -3
- package/content/operators/_url_query.md +2 -0
- package/content/operators/_user.md +3 -3
- package/content/plugins/plugins-actions.md +10 -0
- package/content/plugins/plugins-connections.md +25 -0
- package/content/plugins/plugins-dev.md +66 -0
- package/content/plugins/plugins-icon-sets.md +267 -0
- package/content/plugins/plugins-introduction.md +27 -1
- package/content/plugins/plugins.md +19 -0
- package/content/plugins/posthog.md +359 -0
- package/content/provider-reference/auth-js-providers.md +107 -0
- package/content/provider-reference/openidconnectprovider.md +44 -0
- package/content/recipes/recipes.md +16 -0
- package/content/reference/actions-reference.md +31 -0
- package/content/reference/blocks-reference.md +35 -0
- package/content/reference/cli.md +403 -0
- package/content/reference/connections-reference.md +23 -0
- package/content/reference/operators-reference.md +47 -0
- package/content/reference/reference.md +16 -0
- package/content/reference/schema-reference.md +12 -0
- package/content/testing/config-tests.md +677 -0
- package/content/testing/e2e-configuration.md +31 -1
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/testing/e2e-writing-tests.md +12 -1
- package/content/testing/explore-pull-request.md +136 -0
- package/content/testing/journey-data-sets.md +326 -0
- 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 +48 -2
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-api.md +155 -0
- package/content/tutorial/tutorial-requests-sql.md +153 -0
- package/content/tutorial/tutorial-start.md +66 -1
- package/content/user-authentication/auth-configuration.md +267 -0
- package/content/user-authentication/auth-providers.md +24 -0
- package/content/user-authentication/auth-steps.md +141 -0
- package/content/user-authentication/login-and-logout.md +160 -8
- package/content/user-authentication/mcp-oauth.md +424 -0
- package/content/user-authentication/organizations.md +246 -0
- package/content/user-authentication/protected-pages-apis.md +97 -0
- package/content/user-authentication/roles.md +49 -0
- package/content/user-authentication/two-factor.md +229 -0
- package/content/user-authentication/user-object.md +58 -0
- package/content/user-authentication/users-introduction.md +8 -0
- package/content/websockets/websocket-publish.md +105 -0
- package/content/websockets/websocket-subscriptions.md +136 -0
- package/content/websockets/websockets-introduction.md +101 -0
- package/hazards.json +56 -0
- package/index.json +3458 -14
- package/package.json +10 -1
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +97 -0
- package/scripts/resolvePageSections.js +42 -0
- package/scripts/sectionKind.js +27 -0
- package/content/concepts/cli.md +0 -223
- package/content/other/introduction.md +0 -39
- package/content/other/next-auth-providers.md +0 -3
- /package/content/{other → actions}/updatesession.md +0 -0
|
@@ -217,6 +217,36 @@ 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
|
+
|
|
220
250
|
```yaml
|
|
221
251
|
- id: custom_placeholder
|
|
222
252
|
type: MultipleSelector
|
|
@@ -288,7 +318,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
288
318
|
type: MultipleSelector
|
|
289
319
|
properties:
|
|
290
320
|
title: Custom Suffix Icon
|
|
291
|
-
suffixIcon:
|
|
321
|
+
suffixIcon: search
|
|
292
322
|
options:
|
|
293
323
|
- label: Tokyo
|
|
294
324
|
value: tokyo
|
|
@@ -303,7 +333,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
303
333
|
properties:
|
|
304
334
|
title: Colored Suffix Icon
|
|
305
335
|
suffixIcon:
|
|
306
|
-
name:
|
|
336
|
+
name: globe
|
|
307
337
|
color: "#1677ff"
|
|
308
338
|
options:
|
|
309
339
|
- label: Tokyo
|
|
@@ -316,7 +346,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
316
346
|
type: MultipleSelector
|
|
317
347
|
properties:
|
|
318
348
|
title: Custom Clear Icon
|
|
319
|
-
clearIcon:
|
|
349
|
+
clearIcon: delete
|
|
320
350
|
options:
|
|
321
351
|
- label: File A
|
|
322
352
|
value: a
|
|
@@ -328,7 +358,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
328
358
|
type: MultipleSelector
|
|
329
359
|
properties:
|
|
330
360
|
title: Custom Selected Icon
|
|
331
|
-
selectedIcon:
|
|
361
|
+
selectedIcon: star
|
|
332
362
|
options:
|
|
333
363
|
- label: Gold Plan
|
|
334
364
|
value: gold
|
|
@@ -502,22 +532,22 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
502
532
|
- label: Approved
|
|
503
533
|
value: approved
|
|
504
534
|
tag:
|
|
505
|
-
icon:
|
|
535
|
+
icon: check
|
|
506
536
|
color: success
|
|
507
537
|
- label: Pending
|
|
508
538
|
value: pending
|
|
509
539
|
tag:
|
|
510
|
-
icon:
|
|
540
|
+
icon: clock
|
|
511
541
|
color: processing
|
|
512
542
|
- label: Rejected
|
|
513
543
|
value: rejected
|
|
514
544
|
tag:
|
|
515
|
-
icon:
|
|
545
|
+
icon: close
|
|
516
546
|
color: error
|
|
517
547
|
- label: Draft
|
|
518
548
|
value: draft
|
|
519
549
|
tag:
|
|
520
|
-
icon:
|
|
550
|
+
icon: edit
|
|
521
551
|
color: default
|
|
522
552
|
- id: tags_icons_colors_titles
|
|
523
553
|
type: MultipleSelector
|
|
@@ -529,19 +559,19 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
529
559
|
value: high
|
|
530
560
|
tag:
|
|
531
561
|
title: High
|
|
532
|
-
icon:
|
|
562
|
+
icon: arrow-up
|
|
533
563
|
color: red
|
|
534
564
|
- label: Medium Priority
|
|
535
565
|
value: medium
|
|
536
566
|
tag:
|
|
537
567
|
title: Med
|
|
538
|
-
icon:
|
|
568
|
+
icon: minus
|
|
539
569
|
color: orange
|
|
540
570
|
- label: Low Priority
|
|
541
571
|
value: low
|
|
542
572
|
tag:
|
|
543
573
|
title: Low
|
|
544
|
-
icon:
|
|
574
|
+
icon: arrow-down
|
|
545
575
|
color: green
|
|
546
576
|
```
|
|
547
577
|
|
|
@@ -827,7 +857,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
827
857
|
type: MultipleSelector
|
|
828
858
|
style:
|
|
829
859
|
.element:
|
|
830
|
-
border: 2px solid
|
|
860
|
+
border: "2px solid #1677ff"
|
|
831
861
|
borderRadius: 8
|
|
832
862
|
properties:
|
|
833
863
|
title: Custom Border Style
|
|
@@ -843,7 +873,8 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
843
873
|
- id: style_background
|
|
844
874
|
type: MultipleSelector
|
|
845
875
|
style:
|
|
846
|
-
.element:
|
|
876
|
+
.element:
|
|
877
|
+
backgroundColor: var(--ant-color-primary-bg)
|
|
847
878
|
properties:
|
|
848
879
|
title: Custom Background
|
|
849
880
|
label:
|
|
@@ -869,7 +900,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
869
900
|
- label: Three
|
|
870
901
|
value: 3
|
|
871
902
|
class:
|
|
872
|
-
element: rounded-lg shadow-sm
|
|
903
|
+
.element: rounded-lg shadow-sm
|
|
873
904
|
- id: class_tailwind_label
|
|
874
905
|
type: MultipleSelector
|
|
875
906
|
properties:
|
|
@@ -880,7 +911,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
880
911
|
- label: Beta
|
|
881
912
|
value: beta
|
|
882
913
|
class:
|
|
883
|
-
label: text-blue-600 font-semibold
|
|
914
|
+
.label: text-blue-600 font-semibold
|
|
884
915
|
```
|
|
885
916
|
|
|
886
917
|
```yaml
|
|
@@ -975,8 +1006,8 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
975
1006
|
renderTags: true
|
|
976
1007
|
maxTagCount: 3
|
|
977
1008
|
size: large
|
|
978
|
-
suffixIcon:
|
|
979
|
-
selectedIcon:
|
|
1009
|
+
suffixIcon: users
|
|
1010
|
+
selectedIcon: check-circle
|
|
980
1011
|
label:
|
|
981
1012
|
extra: Select up to 5 team roles for the project.
|
|
982
1013
|
options:
|
|
@@ -984,37 +1015,37 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
984
1015
|
value: pm
|
|
985
1016
|
tag:
|
|
986
1017
|
title: PM
|
|
987
|
-
icon:
|
|
1018
|
+
icon: Crown
|
|
988
1019
|
color: gold
|
|
989
1020
|
- label: Tech Lead
|
|
990
1021
|
value: lead
|
|
991
1022
|
tag:
|
|
992
1023
|
title: Lead
|
|
993
|
-
icon:
|
|
1024
|
+
icon: star
|
|
994
1025
|
color: blue
|
|
995
1026
|
- label: Developer
|
|
996
1027
|
value: dev
|
|
997
1028
|
tag:
|
|
998
1029
|
title: Dev
|
|
999
|
-
icon:
|
|
1030
|
+
icon: CodeXml
|
|
1000
1031
|
color: green
|
|
1001
1032
|
- label: Designer
|
|
1002
1033
|
value: design
|
|
1003
1034
|
tag:
|
|
1004
1035
|
title: UX
|
|
1005
|
-
icon:
|
|
1036
|
+
icon: PaintBucket
|
|
1006
1037
|
color: magenta
|
|
1007
1038
|
- label: QA Engineer
|
|
1008
1039
|
value: qa
|
|
1009
1040
|
tag:
|
|
1010
1041
|
title: QA
|
|
1011
|
-
icon:
|
|
1042
|
+
icon: Bug
|
|
1012
1043
|
color: volcano
|
|
1013
1044
|
- label: DevOps
|
|
1014
1045
|
value: devops
|
|
1015
1046
|
tag:
|
|
1016
1047
|
title: Ops
|
|
1017
|
-
icon:
|
|
1048
|
+
icon: Server
|
|
1018
1049
|
color: cyan
|
|
1019
1050
|
- id: combined_themed
|
|
1020
1051
|
type: MultipleSelector
|
|
@@ -1058,7 +1089,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1058
1089
|
properties:
|
|
1059
1090
|
title: Project Name
|
|
1060
1091
|
placeholder: Enter project name
|
|
1061
|
-
prefixIcon:
|
|
1092
|
+
prefixIcon: SquareKanban
|
|
1062
1093
|
- id: applied2_team_members
|
|
1063
1094
|
type: MultipleSelector
|
|
1064
1095
|
properties:
|
|
@@ -1099,12 +1130,12 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1099
1130
|
title: Project Deadline
|
|
1100
1131
|
placeholder: Select deadline
|
|
1101
1132
|
format: DD MMM YYYY
|
|
1102
|
-
suffixIcon:
|
|
1133
|
+
suffixIcon: calendar
|
|
1103
1134
|
- id: applied2_team_assign_btn
|
|
1104
1135
|
type: Button
|
|
1105
1136
|
properties:
|
|
1106
1137
|
title: Assign Team
|
|
1107
|
-
icon:
|
|
1138
|
+
icon: users
|
|
1108
1139
|
type: primary
|
|
1109
1140
|
size: large
|
|
1110
1141
|
block: true
|
|
@@ -1175,7 +1206,7 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1175
1206
|
type: Button
|
|
1176
1207
|
properties:
|
|
1177
1208
|
title: Apply Filters
|
|
1178
|
-
icon:
|
|
1209
|
+
icon: filter
|
|
1179
1210
|
type: primary
|
|
1180
1211
|
block: true
|
|
1181
1212
|
events:
|
|
@@ -1245,21 +1276,43 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1245
1276
|
| `autoClearSearchValue` | boolean | `true` | Whether the current search will be cleared on selecting an item. |
|
|
1246
1277
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
1247
1278
|
| `bordered` | boolean | `true` | Whether or not the selector has a border style. Deprecated, use variant instead. |
|
|
1248
|
-
| `clearIcon` | string \| object | `"
|
|
1279
|
+
| `clearIcon` | string \| object | `"clear"` | 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 at far right position of the selector, shown when user is given option to clear input. |
|
|
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. |
|
|
1249
1289
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
1250
1290
|
| `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. |
|
|
1251
1303
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
1252
1304
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
1253
1305
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
1254
1306
|
| `label.title` | string | - | Label title - supports html. |
|
|
1255
1307
|
| `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. |
|
|
1256
1308
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
1257
|
-
| `label.tooltip.icon` | string | `"
|
|
1309
|
+
| `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`. |
|
|
1258
1310
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
1259
|
-
| `label.span` | number | - | Label inline
|
|
1311
|
+
| `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. |
|
|
1260
1312
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
1261
1313
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
1262
1314
|
| `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. |
|
|
1263
1316
|
| `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. |
|
|
1264
1317
|
| `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. |
|
|
1265
1318
|
| `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"). |
|
|
@@ -1274,17 +1327,71 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1274
1327
|
| `options.$.tag` | object | - | |
|
|
1275
1328
|
| `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. |
|
|
1276
1329
|
| `options.$.tag.title` | string | - | Content title of tag - supports html. |
|
|
1277
|
-
| `options.$.tag.icon` | string \| object | - |
|
|
1278
|
-
| `
|
|
1279
|
-
| `
|
|
1330
|
+
| `options.$.tag.icon` | 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 alert icon. |
|
|
1331
|
+
| `options.$.tag.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1332
|
+
| `options.$.tag.icon.color` | string | - | Icon color. |
|
|
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. |
|
|
1280
1344
|
| `loadingPlaceholder` | string | `"Loading"` | Placeholder text to show in options while the block is loading. |
|
|
1281
|
-
| `notFoundContent` | string | `"
|
|
1282
|
-
| `
|
|
1283
|
-
| `
|
|
1345
|
+
| `notFoundContent` | string | `"Not found"` | Placeholder text to show when list of options are empty. |
|
|
1346
|
+
| `placement` | string | `"bottomLeft"` | Position of the dropdown relative to the selector. Enum: `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. |
|
|
1347
|
+
| `popupMatchSelectWidth` | boolean \| number | `true` | Make the dropdown the same width as the selector. Set a number of pixels for a fixed dropdown width, or false to size the dropdown to its options (this also turns off virtual scrolling). |
|
|
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. |
|
|
1284
1381
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
1285
|
-
| `suffixIcon` | string \| object | `"
|
|
1382
|
+
| `suffixIcon` | string \| object | `"chevron-down"` | 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 at the drop-down position of the selector. |
|
|
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. |
|
|
1286
1392
|
| `title` | string | - | Multiple selector label title - supports html. |
|
|
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`. |
|
|
1393
|
+
| `variant` | string | - | Tag/input variant. `solid` renders filled colored tags; `outlined` renders outlined colored tags. `filled`/`borderless`/`underlined` are the antd input styles. Enum: `solid`, `outlined`, `filled`, `borderless`, `underlined`. |
|
|
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. |
|
|
1288
1395
|
| `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. |
|
|
1289
1396
|
| `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). |
|
|
1290
1397
|
| `theme.clearBg` | string | `"#ffffff"` | Background color of the clear button. |
|
|
@@ -1314,10 +1421,11 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1314
1421
|
|
|
1315
1422
|
| Event | Event Data | Description |
|
|
1316
1423
|
| --- | --- | --- |
|
|
1317
|
-
| `onChange` |
|
|
1424
|
+
| `onChange` | `{ value }` | Trigger actions when selection is changed. |
|
|
1318
1425
|
| `onBlur` | \- | Trigger action event occurs when selector loses focus. |
|
|
1319
1426
|
| `onFocus` | \- | Trigger action when selector gets focus. |
|
|
1320
1427
|
| `onClear` | \- | Trigger action when selector gets cleared. |
|
|
1428
|
+
| `onOpenChange` | `{ open }` | Trigger actions when the dropdown opens or closes. |
|
|
1321
1429
|
| `onSearch` | `{ value }` | Trigger actions when input is changed. |
|
|
1322
1430
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
1323
1431
|
|
|
@@ -1331,6 +1439,9 @@ Multi-select dropdown with tags, search, and custom rendering.
|
|
|
1331
1439
|
| `/extra` | The MultipleSelector extra content. |
|
|
1332
1440
|
| `/feedback` | The MultipleSelector validation feedback. |
|
|
1333
1441
|
| `/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. |
|
|
1334
1445
|
| `/selectedIcon` | The selected item icon in the MultipleSelector. |
|
|
1335
1446
|
| `/suffixIcon` | The suffix icon in the MultipleSelector. |
|
|
1336
1447
|
|
|
@@ -155,6 +155,52 @@ 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
|
+
|
|
158
204
|
```yaml
|
|
159
205
|
- id: keyboard_enabled
|
|
160
206
|
type: NumberInput
|
|
@@ -238,7 +284,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
238
284
|
type: NumberInput
|
|
239
285
|
properties:
|
|
240
286
|
title: Price
|
|
241
|
-
placeholder: 0
|
|
287
|
+
placeholder: "0"
|
|
242
288
|
precision: 2
|
|
243
289
|
min: 0
|
|
244
290
|
- id: placeholder_percentage
|
|
@@ -396,7 +442,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
396
442
|
max: 99999
|
|
397
443
|
step: 0.01
|
|
398
444
|
precision: 2
|
|
399
|
-
placeholder: 0
|
|
445
|
+
placeholder: "0"
|
|
400
446
|
label:
|
|
401
447
|
extra: Enter the product price in USD.
|
|
402
448
|
- id: combined_quantity
|
|
@@ -417,7 +463,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
417
463
|
max: 100
|
|
418
464
|
step: 0.5
|
|
419
465
|
precision: 1
|
|
420
|
-
placeholder: 0
|
|
466
|
+
placeholder: "0"
|
|
421
467
|
size: small
|
|
422
468
|
label:
|
|
423
469
|
extra: Percentage discount to apply.
|
|
@@ -497,10 +543,11 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
497
543
|
- id: style_background
|
|
498
544
|
type: NumberInput
|
|
499
545
|
style:
|
|
500
|
-
.element:
|
|
546
|
+
.element:
|
|
547
|
+
backgroundColor: var(--ant-color-primary-bg)
|
|
501
548
|
properties:
|
|
502
549
|
title: Custom Background
|
|
503
|
-
placeholder:
|
|
550
|
+
placeholder: Blue tinted background
|
|
504
551
|
- id: style_border
|
|
505
552
|
type: NumberInput
|
|
506
553
|
style:
|
|
@@ -534,14 +581,14 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
534
581
|
- id: class_element
|
|
535
582
|
type: NumberInput
|
|
536
583
|
class:
|
|
537
|
-
element: rounded-lg shadow-md
|
|
584
|
+
.element: rounded-lg shadow-md
|
|
538
585
|
properties:
|
|
539
586
|
title: Rounded with Shadow
|
|
540
587
|
placeholder: Tailwind classes
|
|
541
588
|
- id: class_label
|
|
542
589
|
type: NumberInput
|
|
543
590
|
class:
|
|
544
|
-
label: text-blue-600 font-semibold
|
|
591
|
+
.label: text-blue-600 font-semibold
|
|
545
592
|
properties:
|
|
546
593
|
title: Blue Bold Label
|
|
547
594
|
placeholder: Label class override
|
|
@@ -704,7 +751,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
704
751
|
title: Min Price
|
|
705
752
|
min: 0
|
|
706
753
|
precision: 2
|
|
707
|
-
placeholder: 0
|
|
754
|
+
placeholder: "0"
|
|
708
755
|
- id: form_max_price
|
|
709
756
|
type: NumberInput
|
|
710
757
|
layout:
|
|
@@ -713,7 +760,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
713
760
|
title: Max Price
|
|
714
761
|
min: 0
|
|
715
762
|
precision: 2
|
|
716
|
-
placeholder: 0
|
|
763
|
+
placeholder: "0"
|
|
717
764
|
- id: form_no_label_label
|
|
718
765
|
type: Markdown
|
|
719
766
|
properties:
|
|
@@ -779,34 +826,71 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
779
826
|
| Property | Type | Default | Description |
|
|
780
827
|
| --- | --- | --- | --- |
|
|
781
828
|
| `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. |
|
|
782
830
|
| `bordered` | boolean | `true` | Whether or not the number input has a border style. Deprecated, use variant instead. |
|
|
783
831
|
| `controls` | boolean | `true` | Whether or not to show the +- controls. |
|
|
784
832
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
785
833
|
| `formatter` | object | - | A function specifying the format of the value presented. |
|
|
786
834
|
| `keyboard` | boolean | `true` | If enabled, control input with keyboard up and down. |
|
|
787
835
|
| `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. |
|
|
788
848
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
789
849
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
790
850
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
791
851
|
| `label.title` | string | - | Label title - supports html. |
|
|
792
852
|
| `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. |
|
|
793
853
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
794
|
-
| `label.tooltip.icon` | string | `"
|
|
854
|
+
| `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`. |
|
|
795
855
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
796
|
-
| `label.span` | number | - | Label inline
|
|
856
|
+
| `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. |
|
|
797
857
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
798
858
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
799
859
|
| `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`. |
|
|
800
862
|
| `min` | number | - | Minimum value allowed by the block. |
|
|
801
863
|
| `max` | number | - | Maximum value allowed by the block. |
|
|
802
864
|
| `parser` | object | - | A function specifying the value extracted from the formatter. |
|
|
803
865
|
| `placeholder` | string | - | Placeholder text inside the block to show message before user types input. |
|
|
804
866
|
| `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. |
|
|
805
867
|
| `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. |
|
|
806
879
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
807
880
|
| `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. |
|
|
808
892
|
| `title` | string | - | Number input label title - supports html. |
|
|
809
|
-
| `variant` | string | - | Input visual variant.
|
|
893
|
+
| `variant` | string | - | Input visual variant. The deprecated bordered: false takes precedence and renders the input as 'borderless'. Enum: `outlined`, `filled`, `borderless`, `underlined`. |
|
|
810
894
|
| `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). |
|
|
811
895
|
| `theme.activeBorderColor` | string | - | Border color when the input is active (focused). |
|
|
812
896
|
| `theme.activeShadow` | string | - | Box shadow when the input is active. |
|
|
@@ -851,5 +935,7 @@ Numeric input with step controls, min/max limits, precision, and formatting.
|
|
|
851
935
|
| `/label` | The NumberInput label. |
|
|
852
936
|
| `/extra` | The NumberInput extra content. |
|
|
853
937
|
| `/feedback` | The NumberInput validation feedback. |
|
|
938
|
+
| `/prefixIcon` | The prefix icon in the NumberInput. |
|
|
939
|
+
| `/suffixIcon` | The suffix icon in the NumberInput. |
|
|
854
940
|
|
|
855
941
|
No slots defined.
|