@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# S3UploadButton
|
|
2
2
|
|
|
3
|
-
__Deprecated__ — use the provider-neutral
|
|
3
|
+
__Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block with `uploadPolicyRequestId` instead. S3UploadButton remains as an alias so existing apps keep working. Upload files to AWS S3 with a button trigger. Supports file type filtering, upload limits, and custom button styling. Requires an `AwsS3PresignedPostPolicy` request to define the S3 upload policy.
|
|
4
4
|
|
|
5
5
|
> The S3UploadButton requires an AwsS3Bucket connection and AwsS3PresignedPostPolicy request to upload files. The examples on this page demonstrate UI configuration only — uploads will not function without a configured S3 connection.
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
14
14
|
properties:
|
|
15
15
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
16
16
|
button:
|
|
17
|
-
icon:
|
|
17
|
+
icon: UploadOutlined
|
|
18
18
|
title: Choose File
|
|
19
19
|
type: default
|
|
20
20
|
- id: basic_custom_icon
|
|
@@ -22,7 +22,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
22
22
|
properties:
|
|
23
23
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
24
24
|
button:
|
|
25
|
-
icon:
|
|
25
|
+
icon: AiOutlineCloudUpload
|
|
26
26
|
title: Upload to Cloud
|
|
27
27
|
type: default
|
|
28
28
|
```
|
|
@@ -34,7 +34,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
34
34
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
35
35
|
accept: image/*
|
|
36
36
|
button:
|
|
37
|
-
icon:
|
|
37
|
+
icon: AiOutlinePicture
|
|
38
38
|
title: Upload Image
|
|
39
39
|
type: default
|
|
40
40
|
- id: accept_pdf
|
|
@@ -43,7 +43,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
43
43
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
44
44
|
accept: .pdf
|
|
45
45
|
button:
|
|
46
|
-
icon:
|
|
46
|
+
icon: AiOutlineFilePdf
|
|
47
47
|
title: Upload PDF
|
|
48
48
|
type: default
|
|
49
49
|
- id: accept_specific
|
|
@@ -52,7 +52,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
52
52
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
53
53
|
accept: .jpg,.png,.gif
|
|
54
54
|
button:
|
|
55
|
-
icon:
|
|
55
|
+
icon: AiOutlinePicture
|
|
56
56
|
title: Upload JPG, PNG, or GIF
|
|
57
57
|
type: default
|
|
58
58
|
```
|
|
@@ -64,7 +64,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
64
64
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
65
65
|
singleFile: true
|
|
66
66
|
button:
|
|
67
|
-
icon:
|
|
67
|
+
icon: UploadOutlined
|
|
68
68
|
title: Upload Single File
|
|
69
69
|
type: default
|
|
70
70
|
- id: limit_max_three
|
|
@@ -73,7 +73,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
73
73
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
74
74
|
maxCount: 3
|
|
75
75
|
button:
|
|
76
|
-
icon:
|
|
76
|
+
icon: UploadOutlined
|
|
77
77
|
title: Upload (Max 3)
|
|
78
78
|
type: default
|
|
79
79
|
- id: limit_single_images
|
|
@@ -83,7 +83,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
83
83
|
singleFile: true
|
|
84
84
|
accept: image/*
|
|
85
85
|
button:
|
|
86
|
-
icon:
|
|
86
|
+
icon: AiOutlinePicture
|
|
87
87
|
title: Upload One Image
|
|
88
88
|
type: default
|
|
89
89
|
```
|
|
@@ -94,7 +94,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
94
94
|
properties:
|
|
95
95
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
96
96
|
button:
|
|
97
|
-
icon:
|
|
97
|
+
icon: UploadOutlined
|
|
98
98
|
title: Upload
|
|
99
99
|
type: primary
|
|
100
100
|
- id: button_large
|
|
@@ -102,7 +102,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
102
102
|
properties:
|
|
103
103
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
104
104
|
button:
|
|
105
|
-
icon:
|
|
105
|
+
icon: UploadOutlined
|
|
106
106
|
title: Upload Files
|
|
107
107
|
type: default
|
|
108
108
|
size: large
|
|
@@ -111,7 +111,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
111
111
|
properties:
|
|
112
112
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
113
113
|
button:
|
|
114
|
-
icon:
|
|
114
|
+
icon: AiOutlinePaperClip
|
|
115
115
|
title: Attach Files
|
|
116
116
|
type: default
|
|
117
117
|
```
|
|
@@ -128,7 +128,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
128
128
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
129
129
|
disabled: true
|
|
130
130
|
button:
|
|
131
|
-
icon:
|
|
131
|
+
icon: UploadOutlined
|
|
132
132
|
title: Upload
|
|
133
133
|
type: primary
|
|
134
134
|
- id: disabled_hidden_list
|
|
@@ -146,7 +146,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
146
146
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
147
147
|
showUploadList: true
|
|
148
148
|
button:
|
|
149
|
-
icon:
|
|
149
|
+
icon: UploadOutlined
|
|
150
150
|
title: Upload (List Visible)
|
|
151
151
|
type: default
|
|
152
152
|
- id: list_hidden
|
|
@@ -155,7 +155,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
155
155
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
156
156
|
showUploadList: false
|
|
157
157
|
button:
|
|
158
|
-
icon:
|
|
158
|
+
icon: UploadOutlined
|
|
159
159
|
title: Upload (No List)
|
|
160
160
|
type: default
|
|
161
161
|
- id: list_single_hidden
|
|
@@ -165,7 +165,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
165
165
|
singleFile: true
|
|
166
166
|
showUploadList: false
|
|
167
167
|
button:
|
|
168
|
-
icon:
|
|
168
|
+
icon: UploadOutlined
|
|
169
169
|
title: Upload Single (No List)
|
|
170
170
|
type: default
|
|
171
171
|
```
|
|
@@ -205,7 +205,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
205
205
|
properties:
|
|
206
206
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
207
207
|
button:
|
|
208
|
-
icon:
|
|
208
|
+
icon: UploadOutlined
|
|
209
209
|
title: Upload
|
|
210
210
|
type: default
|
|
211
211
|
- id: style_label
|
|
@@ -223,7 +223,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
223
223
|
properties:
|
|
224
224
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
225
225
|
button:
|
|
226
|
-
icon:
|
|
226
|
+
icon: UploadOutlined
|
|
227
227
|
title: Upload
|
|
228
228
|
type: default
|
|
229
229
|
```
|
|
@@ -265,7 +265,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
265
265
|
s3PostPolicyRequestId: s3_upload_policy_request
|
|
266
266
|
accept: .pdf,.docx,.xlsx
|
|
267
267
|
button:
|
|
268
|
-
icon:
|
|
268
|
+
icon: AiOutlineFilePdf
|
|
269
269
|
title: Choose Document
|
|
270
270
|
type: default
|
|
271
271
|
label:
|
|
@@ -279,7 +279,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
279
279
|
title: Save Document
|
|
280
280
|
color: primary
|
|
281
281
|
variant: solid
|
|
282
|
-
icon:
|
|
282
|
+
icon: AiOutlineSave
|
|
283
283
|
events:
|
|
284
284
|
onClick:
|
|
285
285
|
- id: save_validate
|
|
@@ -305,7 +305,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
305
305
|
singleFile: true
|
|
306
306
|
accept: image/*
|
|
307
307
|
button:
|
|
308
|
-
icon:
|
|
308
|
+
icon: AiOutlineCamera
|
|
309
309
|
title: Choose Photo
|
|
310
310
|
type: default
|
|
311
311
|
label:
|
|
@@ -316,7 +316,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
316
316
|
required: true
|
|
317
317
|
properties:
|
|
318
318
|
title: Display Name
|
|
319
|
-
prefixIcon:
|
|
319
|
+
prefixIcon: AiOutlineUser
|
|
320
320
|
placeholder: Enter your display name
|
|
321
321
|
label:
|
|
322
322
|
colon: false
|
|
@@ -328,7 +328,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
328
328
|
title: Update Profile
|
|
329
329
|
color: primary
|
|
330
330
|
variant: solid
|
|
331
|
-
icon:
|
|
331
|
+
icon: AiOutlineCheck
|
|
332
332
|
events:
|
|
333
333
|
onClick:
|
|
334
334
|
- id: update_validate
|
|
@@ -343,7 +343,7 @@ __Deprecated__ — use the provider-neutral <a href="/Upload">Upload</a> block w
|
|
|
343
343
|
| Property | Type | Default | Description |
|
|
344
344
|
| --- | --- | --- | --- |
|
|
345
345
|
| `accept` | string | - | File types accepted by the input. See html file type input accept property at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept. |
|
|
346
|
-
| `button` | object | `{"icon":"
|
|
346
|
+
| `button` | object | `{"icon":"UploadOutlined","title":"Upload","type":"default"}` | Button block properties. See [Button](/Button) for all properties. |
|
|
347
347
|
| `button.title` | string | - | Button title text. |
|
|
348
348
|
| `button.icon` | string \| object | - | Button icon name or Icon block properties. |
|
|
349
349
|
| `button.type` | string | `"default"` | Button type. Enum: `default`, `primary`, `dashed`, `text`, `link`. |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# S3UploadDragger
|
|
2
2
|
|
|
3
|
-
__Deprecated__ — use the provider-neutral
|
|
3
|
+
__Deprecated__ — use the provider-neutral <a href="/UploadDragger">UploadDragger</a> block with `uploadPolicyRequestId` instead. S3UploadDragger remains as an alias so existing apps keep working. Drag-and-drop file upload area for AWS S3. Supports file type filtering, upload limits, custom drag zone styling, and paste-to-upload. Requires an `AwsS3PresignedPostPolicy` request to define the S3 upload policy.
|
|
4
4
|
|
|
5
5
|
> The S3UploadDragger requires an AwsS3Bucket connection and AwsS3PresignedPostPolicy request to upload files. The examples on this page demonstrate UI configuration only — uploads will not function without a configured S3 connection.
|
|
6
6
|
|
|
@@ -210,7 +210,7 @@ __Deprecated__ — use the provider-neutral <a href="/UploadDragger">UploadDragg
|
|
|
210
210
|
title: Submit
|
|
211
211
|
color: primary
|
|
212
212
|
variant: solid
|
|
213
|
-
icon:
|
|
213
|
+
icon: AiOutlineUpload
|
|
214
214
|
events:
|
|
215
215
|
onClick:
|
|
216
216
|
- id: submit_validate
|
|
@@ -256,7 +256,7 @@ __Deprecated__ — use the provider-neutral <a href="/UploadDragger">UploadDragg
|
|
|
256
256
|
title: Upload Photos
|
|
257
257
|
color: primary
|
|
258
258
|
variant: solid
|
|
259
|
-
icon:
|
|
259
|
+
icon: AiOutlineCloudUpload
|
|
260
260
|
events:
|
|
261
261
|
onClick:
|
|
262
262
|
- id: gallery_msg
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# S3UploadPhoto
|
|
2
2
|
|
|
3
|
-
__Deprecated__ — use the provider-neutral
|
|
3
|
+
__Deprecated__ — use the provider-neutral <a href="/UploadPhoto">UploadPhoto</a> block with `uploadPolicyRequestId` instead. S3UploadPhoto remains as an alias so existing apps keep working. Picture-card style image upload for AWS S3. Displays a camera icon with upload text in a card format. Only accepts image files. Requires an `AwsS3PresignedPostPolicy` request to define the S3 upload policy.
|
|
4
4
|
|
|
5
5
|
> The S3UploadPhoto requires an AwsS3Bucket connection and AwsS3PresignedPostPolicy request to upload files. The examples on this page demonstrate UI configuration only — uploads will not function without a configured S3 connection.
|
|
6
6
|
|
|
@@ -160,20 +160,20 @@ __Deprecated__ — use the provider-neutral <a href="/UploadPhoto">UploadPhoto</
|
|
|
160
160
|
properties:
|
|
161
161
|
title: Full Name
|
|
162
162
|
placeholder: Enter your name
|
|
163
|
-
prefixIcon:
|
|
163
|
+
prefixIcon: AiOutlineUser
|
|
164
164
|
- id: profile_email
|
|
165
165
|
type: TextInput
|
|
166
166
|
properties:
|
|
167
167
|
title: Email
|
|
168
168
|
placeholder: you@example.com
|
|
169
|
-
prefixIcon:
|
|
169
|
+
prefixIcon: AiOutlineMail
|
|
170
170
|
- id: profile_save
|
|
171
171
|
type: Button
|
|
172
172
|
properties:
|
|
173
173
|
title: Save Profile
|
|
174
174
|
color: primary
|
|
175
175
|
variant: solid
|
|
176
|
-
icon:
|
|
176
|
+
icon: AiOutlineSave
|
|
177
177
|
events:
|
|
178
178
|
onClick:
|
|
179
179
|
- id: validate_profile
|
|
@@ -237,7 +237,7 @@ __Deprecated__ — use the provider-neutral <a href="/UploadPhoto">UploadPhoto</
|
|
|
237
237
|
title: List Product
|
|
238
238
|
color: primary
|
|
239
239
|
variant: solid
|
|
240
|
-
icon:
|
|
240
|
+
icon: AiOutlineCheck
|
|
241
241
|
block: true
|
|
242
242
|
events:
|
|
243
243
|
onClick:
|
|
@@ -226,13 +226,13 @@ Segmented control for switching between options.
|
|
|
226
226
|
options:
|
|
227
227
|
- label: List
|
|
228
228
|
value: list
|
|
229
|
-
icon:
|
|
229
|
+
icon: AiOutlineUnorderedList
|
|
230
230
|
- label: Grid
|
|
231
231
|
value: grid
|
|
232
|
-
icon:
|
|
232
|
+
icon: AiOutlineAppstore
|
|
233
233
|
- label: Calendar
|
|
234
234
|
value: calendar
|
|
235
|
-
icon:
|
|
235
|
+
icon: AiOutlineCalendar
|
|
236
236
|
- id: icon_small
|
|
237
237
|
type: SegmentedSelector
|
|
238
238
|
properties:
|
|
@@ -241,13 +241,13 @@ Segmented control for switching between options.
|
|
|
241
241
|
options:
|
|
242
242
|
- label: Map
|
|
243
243
|
value: map
|
|
244
|
-
icon:
|
|
244
|
+
icon: AiOutlineEnvironment
|
|
245
245
|
- label: Satellite
|
|
246
246
|
value: satellite
|
|
247
|
-
icon:
|
|
247
|
+
icon: AiOutlineGlobal
|
|
248
248
|
- label: Terrain
|
|
249
249
|
value: terrain
|
|
250
|
-
icon:
|
|
250
|
+
icon: AiOutlineBlock
|
|
251
251
|
- id: icon_block
|
|
252
252
|
type: SegmentedSelector
|
|
253
253
|
properties:
|
|
@@ -256,16 +256,16 @@ Segmented control for switching between options.
|
|
|
256
256
|
options:
|
|
257
257
|
- label: Home
|
|
258
258
|
value: home
|
|
259
|
-
icon:
|
|
259
|
+
icon: AiOutlineHome
|
|
260
260
|
- label: Search
|
|
261
261
|
value: search
|
|
262
|
-
icon:
|
|
262
|
+
icon: AiOutlineSearch
|
|
263
263
|
- label: Favorites
|
|
264
264
|
value: favorites
|
|
265
|
-
icon:
|
|
265
|
+
icon: AiOutlineHeart
|
|
266
266
|
- label: Profile
|
|
267
267
|
value: profile
|
|
268
|
-
icon:
|
|
268
|
+
icon: AiOutlineUser
|
|
269
269
|
- id: icon_round
|
|
270
270
|
type: SegmentedSelector
|
|
271
271
|
properties:
|
|
@@ -274,29 +274,13 @@ Segmented control for switching between options.
|
|
|
274
274
|
options:
|
|
275
275
|
- label: Code
|
|
276
276
|
value: code
|
|
277
|
-
icon:
|
|
277
|
+
icon: AiOutlineCode
|
|
278
278
|
- label: Preview
|
|
279
279
|
value: preview
|
|
280
|
-
icon:
|
|
280
|
+
icon: AiOutlineEye
|
|
281
281
|
- label: Split
|
|
282
282
|
value: split
|
|
283
|
-
icon:
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
```yaml
|
|
287
|
-
- id: segmented_tooltips
|
|
288
|
-
type: SegmentedSelector
|
|
289
|
-
properties:
|
|
290
|
-
title: View
|
|
291
|
-
options:
|
|
292
|
-
- label: List
|
|
293
|
-
value: list
|
|
294
|
-
icon: list
|
|
295
|
-
tooltip: Show items as a list
|
|
296
|
-
- label: Grid
|
|
297
|
-
value: grid
|
|
298
|
-
icon: grid
|
|
299
|
-
tooltip: Show items as a grid
|
|
283
|
+
icon: AiOutlineColumnWidth
|
|
300
284
|
```
|
|
301
285
|
|
|
302
286
|
```yaml
|
|
@@ -320,16 +304,16 @@ Segmented control for switching between options.
|
|
|
320
304
|
options:
|
|
321
305
|
- label: Dashboard
|
|
322
306
|
value: dashboard
|
|
323
|
-
icon:
|
|
307
|
+
icon: AiOutlineDashboard
|
|
324
308
|
- label: Analytics
|
|
325
309
|
value: analytics
|
|
326
|
-
icon:
|
|
310
|
+
icon: AiOutlineBarChart
|
|
327
311
|
- label: Reports
|
|
328
312
|
value: reports
|
|
329
|
-
icon:
|
|
313
|
+
icon: AiOutlineFileText
|
|
330
314
|
- label: Settings
|
|
331
315
|
value: settings
|
|
332
|
-
icon:
|
|
316
|
+
icon: AiOutlineSetting
|
|
333
317
|
- id: vertical_large
|
|
334
318
|
type: SegmentedSelector
|
|
335
319
|
properties:
|
|
@@ -375,13 +359,13 @@ Segmented control for switching between options.
|
|
|
375
359
|
options:
|
|
376
360
|
- label: Edit
|
|
377
361
|
value: edit
|
|
378
|
-
icon:
|
|
362
|
+
icon: AiOutlineEdit
|
|
379
363
|
- label: View
|
|
380
364
|
value: view
|
|
381
|
-
icon:
|
|
365
|
+
icon: AiOutlineEye
|
|
382
366
|
- label: Delete
|
|
383
367
|
value: delete
|
|
384
|
-
icon:
|
|
368
|
+
icon: AiOutlineDelete
|
|
385
369
|
```
|
|
386
370
|
|
|
387
371
|
```yaml
|
|
@@ -600,13 +584,13 @@ Segmented control for switching between options.
|
|
|
600
584
|
options:
|
|
601
585
|
- label: Overview
|
|
602
586
|
value: overview
|
|
603
|
-
icon:
|
|
587
|
+
icon: AiOutlineDashboard
|
|
604
588
|
- label: Charts
|
|
605
589
|
value: charts
|
|
606
|
-
icon:
|
|
590
|
+
icon: AiOutlineBarChart
|
|
607
591
|
- label: Table
|
|
608
592
|
value: table
|
|
609
|
-
icon:
|
|
593
|
+
icon: AiOutlineTable
|
|
610
594
|
events:
|
|
611
595
|
onChange:
|
|
612
596
|
- id: view_changed_action
|
|
@@ -628,7 +612,7 @@ Segmented control for switching between options.
|
|
|
628
612
|
type: Button
|
|
629
613
|
properties:
|
|
630
614
|
title: Refresh Data
|
|
631
|
-
icon:
|
|
615
|
+
icon: AiOutlineReload
|
|
632
616
|
type: primary
|
|
633
617
|
events:
|
|
634
618
|
onClick:
|
|
@@ -653,13 +637,13 @@ Segmented control for switching between options.
|
|
|
653
637
|
options:
|
|
654
638
|
- label: Light
|
|
655
639
|
value: light
|
|
656
|
-
icon:
|
|
640
|
+
icon: AiOutlineBulb
|
|
657
641
|
- label: Dark
|
|
658
642
|
value: dark
|
|
659
|
-
icon:
|
|
643
|
+
icon: AiOutlineEyeInvisible
|
|
660
644
|
- label: System
|
|
661
645
|
value: system
|
|
662
|
-
icon:
|
|
646
|
+
icon: AiOutlineLaptop
|
|
663
647
|
events:
|
|
664
648
|
onChange:
|
|
665
649
|
- id: theme_changed_action
|
|
@@ -707,7 +691,7 @@ Segmented control for switching between options.
|
|
|
707
691
|
type: Button
|
|
708
692
|
properties:
|
|
709
693
|
title: Save Settings
|
|
710
|
-
icon:
|
|
694
|
+
icon: AiOutlineSave
|
|
711
695
|
type: primary
|
|
712
696
|
events:
|
|
713
697
|
onClick:
|
|
@@ -746,46 +730,23 @@ Segmented control for switching between options.
|
|
|
746
730
|
| `options.$.label` | string | - | Value label shown to user - supports html. |
|
|
747
731
|
| `options.$.value` | string \| number \| boolean \| object \| array | - | Value selected. Can be of any type. |
|
|
748
732
|
| `options.$.disabled` | boolean | `false` | Disable the option if true. |
|
|
749
|
-
| `options.$.icon` | string
|
|
750
|
-
| `options.$.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
751
|
-
| `options.$.icon.color` | string | - | Icon color. |
|
|
752
|
-
| `options.$.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
753
|
-
| `options.$.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
754
|
-
| `options.$.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
755
|
-
| `options.$.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
756
|
-
| `options.$.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
757
|
-
| `options.$.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
758
|
-
| `options.$.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
759
|
-
| `options.$.tooltip` | string | - | Tooltip shown when hovering the segment option. |
|
|
733
|
+
| `options.$.icon` | string | - | Name of a React-Icon (See [all icons](https://react-icons.github.io/react-icons/)) to display in the segment option. |
|
|
760
734
|
| `shape` | string | `"default"` | Shape of the segmented control. Enum: `default`, `round`. |
|
|
761
|
-
| `size` | string | `"
|
|
735
|
+
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
762
736
|
| `vertical` | boolean | `false` | Display the segmented control vertically. |
|
|
763
737
|
| `label` | object | - | Label properties. |
|
|
764
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
765
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
766
|
-
| `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. |
|
|
767
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
768
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
769
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
770
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
771
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
772
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
773
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
774
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
775
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
776
738
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
777
739
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
778
740
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
779
741
|
| `label.title` | string | - | Label title - supports html. |
|
|
780
742
|
| `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. |
|
|
781
743
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
782
|
-
| `label.tooltip.icon` | string | `"
|
|
744
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
783
745
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
784
|
-
| `label.span` | number | - | Label
|
|
746
|
+
| `label.span` | number | - | Label inline span. |
|
|
785
747
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
786
748
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
787
749
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
788
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
789
750
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
790
751
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design segmented tokens](https://ant.design/components/segmented#design-token). |
|
|
791
752
|
| `theme.trackBg` | string | - | Background color of the segmented track container. |
|
|
@@ -814,7 +775,6 @@ Segmented control for switching between options.
|
|
|
814
775
|
| `/block` | Outer block wrapper (always available). |
|
|
815
776
|
| `/element` | The SegmentedSelector element. |
|
|
816
777
|
| `/icon` | The icon in the SegmentedSelector. |
|
|
817
|
-
| `/options` | Each SegmentedSelector option. |
|
|
818
778
|
| `/label` | The SegmentedSelector label. |
|
|
819
779
|
| `/extra` | The SegmentedSelector extra content. |
|
|
820
780
|
| `/feedback` | The SegmentedSelector validation feedback. |
|