@lowdefy/docs-content 0.0.0-experimental-20260710073520
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/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
# Label
|
|
2
|
+
|
|
3
|
+
Form label wrapper with title, description, and validation feedback.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: label_basic
|
|
7
|
+
type: Label
|
|
8
|
+
properties:
|
|
9
|
+
title: Field Label
|
|
10
|
+
blocks:
|
|
11
|
+
- id: label_basic_input
|
|
12
|
+
type: TextInput
|
|
13
|
+
- id: label_no_title
|
|
14
|
+
type: Label
|
|
15
|
+
blocks:
|
|
16
|
+
- id: label_no_title_input
|
|
17
|
+
type: TextInput
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
- id: label_html_title
|
|
22
|
+
type: Label
|
|
23
|
+
properties:
|
|
24
|
+
title: '<span style="color: #1677ff;">Blue Label</span>'
|
|
25
|
+
blocks:
|
|
26
|
+
- id: label_html_title_input
|
|
27
|
+
type: TextInput
|
|
28
|
+
- id: label_html_bold
|
|
29
|
+
type: Label
|
|
30
|
+
properties:
|
|
31
|
+
title: <b>Bold</b> with <i>italic</i>
|
|
32
|
+
blocks:
|
|
33
|
+
- id: label_html_bold_input
|
|
34
|
+
type: TextInput
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```yaml
|
|
38
|
+
- id: label_colon_true
|
|
39
|
+
type: Label
|
|
40
|
+
properties:
|
|
41
|
+
title: With Colon (default)
|
|
42
|
+
colon: true
|
|
43
|
+
blocks:
|
|
44
|
+
- id: label_colon_true_input
|
|
45
|
+
type: TextInput
|
|
46
|
+
- id: label_colon_false
|
|
47
|
+
type: Label
|
|
48
|
+
properties:
|
|
49
|
+
title: Without Colon
|
|
50
|
+
colon: false
|
|
51
|
+
blocks:
|
|
52
|
+
- id: label_colon_false_input
|
|
53
|
+
type: TextInput
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
- id: label_disabled
|
|
58
|
+
type: Label
|
|
59
|
+
properties:
|
|
60
|
+
title: This title is hidden
|
|
61
|
+
disabled: true
|
|
62
|
+
blocks:
|
|
63
|
+
- id: label_disabled_input
|
|
64
|
+
type: TextInput
|
|
65
|
+
- id: label_disabled_extra
|
|
66
|
+
type: Label
|
|
67
|
+
properties:
|
|
68
|
+
title: Also hidden
|
|
69
|
+
disabled: true
|
|
70
|
+
extra: Extra text still appears when label is disabled.
|
|
71
|
+
blocks:
|
|
72
|
+
- id: label_disabled_extra_input
|
|
73
|
+
type: TextInput
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
- id: label_extra_short
|
|
78
|
+
type: Label
|
|
79
|
+
properties:
|
|
80
|
+
title: Username
|
|
81
|
+
extra: Must be between 3 and 20 characters.
|
|
82
|
+
blocks:
|
|
83
|
+
- id: label_extra_short_input
|
|
84
|
+
type: TextInput
|
|
85
|
+
- id: label_extra_html
|
|
86
|
+
type: Label
|
|
87
|
+
properties:
|
|
88
|
+
title: Website
|
|
89
|
+
extra: Enter a full URL, e.g. <b>https://example.com</b>
|
|
90
|
+
blocks:
|
|
91
|
+
- id: label_extra_html_input
|
|
92
|
+
type: TextInput
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
- id: label_required
|
|
97
|
+
type: Label
|
|
98
|
+
required: true
|
|
99
|
+
properties:
|
|
100
|
+
title: Email Address
|
|
101
|
+
blocks:
|
|
102
|
+
- id: label_required_input
|
|
103
|
+
type: TextInput
|
|
104
|
+
- id: label_required_extra
|
|
105
|
+
type: Label
|
|
106
|
+
required: true
|
|
107
|
+
properties:
|
|
108
|
+
title: Password
|
|
109
|
+
extra: Minimum 8 characters.
|
|
110
|
+
blocks:
|
|
111
|
+
- id: label_required_extra_input
|
|
112
|
+
type: TextInput
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
- id: label_size_small
|
|
117
|
+
type: Label
|
|
118
|
+
properties:
|
|
119
|
+
title: Small
|
|
120
|
+
size: small
|
|
121
|
+
blocks:
|
|
122
|
+
- id: label_size_small_input
|
|
123
|
+
type: TextInput
|
|
124
|
+
properties:
|
|
125
|
+
size: small
|
|
126
|
+
- id: label_size_default
|
|
127
|
+
type: Label
|
|
128
|
+
properties:
|
|
129
|
+
title: Default
|
|
130
|
+
size: default
|
|
131
|
+
blocks:
|
|
132
|
+
- id: label_size_default_input
|
|
133
|
+
type: TextInput
|
|
134
|
+
- id: label_size_large
|
|
135
|
+
type: Label
|
|
136
|
+
properties:
|
|
137
|
+
title: Large
|
|
138
|
+
size: large
|
|
139
|
+
blocks:
|
|
140
|
+
- id: label_size_large_input
|
|
141
|
+
type: TextInput
|
|
142
|
+
properties:
|
|
143
|
+
size: large
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
```yaml
|
|
147
|
+
- id: label_align_left
|
|
148
|
+
type: Label
|
|
149
|
+
properties:
|
|
150
|
+
title: Left Aligned (default)
|
|
151
|
+
align: left
|
|
152
|
+
inline: true
|
|
153
|
+
span: 6
|
|
154
|
+
blocks:
|
|
155
|
+
- id: label_align_left_input
|
|
156
|
+
type: TextInput
|
|
157
|
+
- id: label_align_right
|
|
158
|
+
type: Label
|
|
159
|
+
properties:
|
|
160
|
+
title: Right Aligned
|
|
161
|
+
align: right
|
|
162
|
+
inline: true
|
|
163
|
+
span: 6
|
|
164
|
+
blocks:
|
|
165
|
+
- id: label_align_right_input
|
|
166
|
+
type: TextInput
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
```yaml
|
|
170
|
+
- id: label_inline
|
|
171
|
+
type: Label
|
|
172
|
+
properties:
|
|
173
|
+
title: Inline Label
|
|
174
|
+
inline: true
|
|
175
|
+
blocks:
|
|
176
|
+
- id: label_inline_input
|
|
177
|
+
type: TextInput
|
|
178
|
+
- id: label_inline_span4
|
|
179
|
+
type: Label
|
|
180
|
+
properties:
|
|
181
|
+
title: Span 4
|
|
182
|
+
inline: true
|
|
183
|
+
span: 4
|
|
184
|
+
blocks:
|
|
185
|
+
- id: label_inline_span4_input
|
|
186
|
+
type: TextInput
|
|
187
|
+
- id: label_inline_span8
|
|
188
|
+
type: Label
|
|
189
|
+
properties:
|
|
190
|
+
title: Span 8
|
|
191
|
+
inline: true
|
|
192
|
+
span: 8
|
|
193
|
+
blocks:
|
|
194
|
+
- id: label_inline_span8_input
|
|
195
|
+
type: TextInput
|
|
196
|
+
- id: label_inline_extra
|
|
197
|
+
type: Label
|
|
198
|
+
properties:
|
|
199
|
+
title: Inline with Extra
|
|
200
|
+
inline: true
|
|
201
|
+
span: 6
|
|
202
|
+
extra: Helper text shown below the input.
|
|
203
|
+
blocks:
|
|
204
|
+
- id: label_inline_extra_input
|
|
205
|
+
type: TextInput
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
```yaml
|
|
209
|
+
- id: label_inline_small
|
|
210
|
+
type: Label
|
|
211
|
+
properties:
|
|
212
|
+
title: Small Inline
|
|
213
|
+
size: small
|
|
214
|
+
inline: true
|
|
215
|
+
span: 6
|
|
216
|
+
blocks:
|
|
217
|
+
- id: label_inline_small_input
|
|
218
|
+
type: TextInput
|
|
219
|
+
properties:
|
|
220
|
+
size: small
|
|
221
|
+
- id: label_inline_default
|
|
222
|
+
type: Label
|
|
223
|
+
properties:
|
|
224
|
+
title: Default Inline
|
|
225
|
+
size: default
|
|
226
|
+
inline: true
|
|
227
|
+
span: 6
|
|
228
|
+
blocks:
|
|
229
|
+
- id: label_inline_default_input
|
|
230
|
+
type: TextInput
|
|
231
|
+
- id: label_inline_large
|
|
232
|
+
type: Label
|
|
233
|
+
properties:
|
|
234
|
+
title: Large Inline
|
|
235
|
+
size: large
|
|
236
|
+
inline: true
|
|
237
|
+
span: 6
|
|
238
|
+
blocks:
|
|
239
|
+
- id: label_inline_large_input
|
|
240
|
+
type: TextInput
|
|
241
|
+
properties:
|
|
242
|
+
size: large
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
```yaml
|
|
246
|
+
- id: label_wrap_number
|
|
247
|
+
type: Label
|
|
248
|
+
properties:
|
|
249
|
+
title: Quantity
|
|
250
|
+
blocks:
|
|
251
|
+
- id: label_wrap_number_input
|
|
252
|
+
type: NumberInput
|
|
253
|
+
properties:
|
|
254
|
+
min: 0
|
|
255
|
+
max: 100
|
|
256
|
+
- id: label_wrap_switch
|
|
257
|
+
type: Label
|
|
258
|
+
properties:
|
|
259
|
+
title: Enable Notifications
|
|
260
|
+
blocks:
|
|
261
|
+
- id: label_wrap_switch_input
|
|
262
|
+
type: Switch
|
|
263
|
+
- id: label_wrap_select
|
|
264
|
+
type: Label
|
|
265
|
+
properties:
|
|
266
|
+
title: Country
|
|
267
|
+
blocks:
|
|
268
|
+
- id: label_wrap_select_input
|
|
269
|
+
type: Selector
|
|
270
|
+
properties:
|
|
271
|
+
options:
|
|
272
|
+
- label: United States
|
|
273
|
+
value: us
|
|
274
|
+
- label: United Kingdom
|
|
275
|
+
value: uk
|
|
276
|
+
- label: Germany
|
|
277
|
+
value: de
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
```yaml
|
|
281
|
+
- id: label_theme_purple
|
|
282
|
+
type: Label
|
|
283
|
+
required: true
|
|
284
|
+
properties:
|
|
285
|
+
title: Purple Label Theme
|
|
286
|
+
extra: Extra text inherits theme
|
|
287
|
+
theme:
|
|
288
|
+
labelColor: "#722ed1"
|
|
289
|
+
labelFontSize: 16
|
|
290
|
+
labelRequiredMarkColor: "#722ed1"
|
|
291
|
+
blocks:
|
|
292
|
+
- id: label_theme_purple_input
|
|
293
|
+
type: TextInput
|
|
294
|
+
- id: label_theme_green_mark
|
|
295
|
+
type: Label
|
|
296
|
+
required: true
|
|
297
|
+
properties:
|
|
298
|
+
title: Green Required Mark
|
|
299
|
+
theme:
|
|
300
|
+
labelRequiredMarkColor: "#52c41a"
|
|
301
|
+
blocks:
|
|
302
|
+
- id: label_theme_green_mark_input
|
|
303
|
+
type: TextInput
|
|
304
|
+
- id: label_theme_colon_spacing
|
|
305
|
+
type: Label
|
|
306
|
+
properties:
|
|
307
|
+
title: Wide Colon Spacing
|
|
308
|
+
theme:
|
|
309
|
+
labelColonMarginInlineStart: 8
|
|
310
|
+
labelColonMarginInlineEnd: 16
|
|
311
|
+
blocks:
|
|
312
|
+
- id: label_theme_colon_input
|
|
313
|
+
type: TextInput
|
|
314
|
+
- id: label_theme_error_colors
|
|
315
|
+
type: Label
|
|
316
|
+
properties:
|
|
317
|
+
title: Custom Feedback Colors
|
|
318
|
+
theme:
|
|
319
|
+
colorError: "#cf1322"
|
|
320
|
+
colorWarning: "#d48806"
|
|
321
|
+
colorSuccess: "#389e0d"
|
|
322
|
+
blocks:
|
|
323
|
+
- id: label_theme_error_colors_input
|
|
324
|
+
type: TextInput
|
|
325
|
+
- id: label_theme_description
|
|
326
|
+
type: Label
|
|
327
|
+
properties:
|
|
328
|
+
title: Custom Description Color
|
|
329
|
+
extra: This extra text uses a custom description color.
|
|
330
|
+
theme:
|
|
331
|
+
colorTextDescription: "#722ed1"
|
|
332
|
+
fontSize: 13
|
|
333
|
+
blocks:
|
|
334
|
+
- id: label_theme_description_input
|
|
335
|
+
type: TextInput
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
```yaml
|
|
339
|
+
- id: label_css_label
|
|
340
|
+
type: Label
|
|
341
|
+
properties:
|
|
342
|
+
title: Styled Label Text
|
|
343
|
+
extra: Styled extra text
|
|
344
|
+
class:
|
|
345
|
+
label: text-purple-600 font-bold
|
|
346
|
+
extra: text-purple-400 italic
|
|
347
|
+
blocks:
|
|
348
|
+
- id: label_css_label_input
|
|
349
|
+
type: TextInput
|
|
350
|
+
- id: label_css_element
|
|
351
|
+
type: Label
|
|
352
|
+
properties:
|
|
353
|
+
title: Bordered Container
|
|
354
|
+
class:
|
|
355
|
+
element: border border-border p-3 rounded-lg
|
|
356
|
+
blocks:
|
|
357
|
+
- id: label_css_element_input
|
|
358
|
+
type: TextInput
|
|
359
|
+
- id: label_css_feedback
|
|
360
|
+
type: Label
|
|
361
|
+
properties:
|
|
362
|
+
title: Feedback Styling
|
|
363
|
+
class:
|
|
364
|
+
feedback: font-semibold text-xs
|
|
365
|
+
blocks:
|
|
366
|
+
- id: label_css_feedback_input
|
|
367
|
+
type: TextInput
|
|
368
|
+
- id: label_style_inline
|
|
369
|
+
type: Label
|
|
370
|
+
properties:
|
|
371
|
+
title: Inline Style Overrides
|
|
372
|
+
extra: Styled with inline CSS
|
|
373
|
+
style:
|
|
374
|
+
.label:
|
|
375
|
+
color: "#d46b08"
|
|
376
|
+
fontWeight: bold
|
|
377
|
+
fontSize: 16px
|
|
378
|
+
.extra:
|
|
379
|
+
color: "#d48806"
|
|
380
|
+
fontStyle: italic
|
|
381
|
+
.element:
|
|
382
|
+
border: 1px solid
|
|
383
|
+
padding: 12px
|
|
384
|
+
borderRadius: 8px
|
|
385
|
+
blocks:
|
|
386
|
+
- id: label_style_inline_input
|
|
387
|
+
type: TextInput
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
```yaml
|
|
391
|
+
- id: label_reg_card
|
|
392
|
+
type: Card
|
|
393
|
+
properties:
|
|
394
|
+
title: Create Account
|
|
395
|
+
blocks:
|
|
396
|
+
- id: label_reg_name
|
|
397
|
+
type: Label
|
|
398
|
+
required: true
|
|
399
|
+
properties:
|
|
400
|
+
title: Full Name
|
|
401
|
+
blocks:
|
|
402
|
+
- id: label_reg_name_input
|
|
403
|
+
type: TextInput
|
|
404
|
+
- id: label_reg_email
|
|
405
|
+
type: Label
|
|
406
|
+
required: true
|
|
407
|
+
properties:
|
|
408
|
+
title: Email Address
|
|
409
|
+
extra: We will never share your email with anyone.
|
|
410
|
+
blocks:
|
|
411
|
+
- id: label_reg_email_input
|
|
412
|
+
type: TextInput
|
|
413
|
+
- id: label_reg_password
|
|
414
|
+
type: Label
|
|
415
|
+
required: true
|
|
416
|
+
properties:
|
|
417
|
+
title: Password
|
|
418
|
+
extra: Minimum 8 characters with at least one number.
|
|
419
|
+
blocks:
|
|
420
|
+
- id: label_reg_password_input
|
|
421
|
+
type: PasswordInput
|
|
422
|
+
- id: label_reg_age
|
|
423
|
+
type: Label
|
|
424
|
+
properties:
|
|
425
|
+
title: Age
|
|
426
|
+
blocks:
|
|
427
|
+
- id: label_reg_age_input
|
|
428
|
+
type: NumberInput
|
|
429
|
+
properties:
|
|
430
|
+
min: 18
|
|
431
|
+
max: 120
|
|
432
|
+
- id: label_reg_bio
|
|
433
|
+
type: Label
|
|
434
|
+
properties:
|
|
435
|
+
title: Bio
|
|
436
|
+
extra: Optional short description about yourself.
|
|
437
|
+
colon: false
|
|
438
|
+
blocks:
|
|
439
|
+
- id: label_reg_bio_input
|
|
440
|
+
type: TextArea
|
|
441
|
+
properties:
|
|
442
|
+
rows: 3
|
|
443
|
+
- id: label_reg_actions_row
|
|
444
|
+
type: Box
|
|
445
|
+
layout:
|
|
446
|
+
gap: 8
|
|
447
|
+
justify: flex-end
|
|
448
|
+
blocks:
|
|
449
|
+
- id: label_reg_cancel
|
|
450
|
+
type: Button
|
|
451
|
+
layout:
|
|
452
|
+
flex: 0 0 auto
|
|
453
|
+
properties:
|
|
454
|
+
title: Cancel
|
|
455
|
+
color: default
|
|
456
|
+
variant: outlined
|
|
457
|
+
events:
|
|
458
|
+
onClick:
|
|
459
|
+
- id: label_reg_cancel_link
|
|
460
|
+
type: Link
|
|
461
|
+
params:
|
|
462
|
+
home: true
|
|
463
|
+
- id: label_reg_submit
|
|
464
|
+
type: Button
|
|
465
|
+
layout:
|
|
466
|
+
flex: 0 0 auto
|
|
467
|
+
properties:
|
|
468
|
+
title: Register
|
|
469
|
+
color: primary
|
|
470
|
+
variant: solid
|
|
471
|
+
events:
|
|
472
|
+
onClick:
|
|
473
|
+
- id: label_reg_submit_validate
|
|
474
|
+
type: Validate
|
|
475
|
+
params:
|
|
476
|
+
- label_reg_name
|
|
477
|
+
- label_reg_email
|
|
478
|
+
- label_reg_password
|
|
479
|
+
- id: label_reg_submit_msg
|
|
480
|
+
type: DisplayMessage
|
|
481
|
+
params:
|
|
482
|
+
content: Account created successfully!
|
|
483
|
+
status: success
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
```yaml
|
|
487
|
+
- id: label_settings_card
|
|
488
|
+
type: Card
|
|
489
|
+
properties:
|
|
490
|
+
title: Notification Settings
|
|
491
|
+
size: small
|
|
492
|
+
blocks:
|
|
493
|
+
- id: label_settings_email_notif
|
|
494
|
+
type: Label
|
|
495
|
+
properties:
|
|
496
|
+
title: Email Notifications
|
|
497
|
+
inline: true
|
|
498
|
+
span: 8
|
|
499
|
+
align: right
|
|
500
|
+
extra: Receive updates about your account activity.
|
|
501
|
+
blocks:
|
|
502
|
+
- id: label_settings_email_notif_input
|
|
503
|
+
type: Switch
|
|
504
|
+
- id: label_settings_frequency
|
|
505
|
+
type: Label
|
|
506
|
+
properties:
|
|
507
|
+
title: Frequency
|
|
508
|
+
inline: true
|
|
509
|
+
span: 8
|
|
510
|
+
align: right
|
|
511
|
+
blocks:
|
|
512
|
+
- id: label_settings_frequency_input
|
|
513
|
+
type: Selector
|
|
514
|
+
properties:
|
|
515
|
+
options:
|
|
516
|
+
- label: Immediately
|
|
517
|
+
value: immediate
|
|
518
|
+
- label: Daily Digest
|
|
519
|
+
value: daily
|
|
520
|
+
- label: Weekly Summary
|
|
521
|
+
value: weekly
|
|
522
|
+
- id: label_settings_sms
|
|
523
|
+
type: Label
|
|
524
|
+
properties:
|
|
525
|
+
title: SMS Alerts
|
|
526
|
+
inline: true
|
|
527
|
+
span: 8
|
|
528
|
+
align: right
|
|
529
|
+
extra: Standard messaging rates may apply.
|
|
530
|
+
blocks:
|
|
531
|
+
- id: label_settings_sms_input
|
|
532
|
+
type: Switch
|
|
533
|
+
- id: label_settings_phone
|
|
534
|
+
type: Label
|
|
535
|
+
properties:
|
|
536
|
+
title: Phone Number
|
|
537
|
+
inline: true
|
|
538
|
+
span: 8
|
|
539
|
+
align: right
|
|
540
|
+
blocks:
|
|
541
|
+
- id: label_settings_phone_input
|
|
542
|
+
type: PhoneNumberInput
|
|
543
|
+
- id: label_settings_save_row
|
|
544
|
+
type: Box
|
|
545
|
+
layout:
|
|
546
|
+
justify: flex-end
|
|
547
|
+
gap: 8
|
|
548
|
+
blocks:
|
|
549
|
+
- id: label_settings_save
|
|
550
|
+
type: Button
|
|
551
|
+
layout:
|
|
552
|
+
flex: 0 0 auto
|
|
553
|
+
properties:
|
|
554
|
+
title: Save Preferences
|
|
555
|
+
color: primary
|
|
556
|
+
variant: solid
|
|
557
|
+
events:
|
|
558
|
+
onClick:
|
|
559
|
+
- id: label_settings_save_state
|
|
560
|
+
type: SetState
|
|
561
|
+
params:
|
|
562
|
+
settingsSaved: true
|
|
563
|
+
- id: label_settings_save_msg
|
|
564
|
+
type: DisplayMessage
|
|
565
|
+
params:
|
|
566
|
+
content: Preferences saved.
|
|
567
|
+
status: success
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
```yaml
|
|
571
|
+
- id: label_data_card
|
|
572
|
+
type: Card
|
|
573
|
+
properties:
|
|
574
|
+
title: Add Product
|
|
575
|
+
blocks:
|
|
576
|
+
- id: label_data_name
|
|
577
|
+
type: Label
|
|
578
|
+
required: true
|
|
579
|
+
properties:
|
|
580
|
+
title: Product Name
|
|
581
|
+
size: large
|
|
582
|
+
blocks:
|
|
583
|
+
- id: label_data_name_input
|
|
584
|
+
type: TextInput
|
|
585
|
+
properties:
|
|
586
|
+
size: large
|
|
587
|
+
- id: label_data_row
|
|
588
|
+
type: Box
|
|
589
|
+
layout:
|
|
590
|
+
gap: 16
|
|
591
|
+
blocks:
|
|
592
|
+
- id: label_data_price
|
|
593
|
+
type: Label
|
|
594
|
+
layout:
|
|
595
|
+
flex: 1 1 0
|
|
596
|
+
required: true
|
|
597
|
+
properties:
|
|
598
|
+
title: Price
|
|
599
|
+
blocks:
|
|
600
|
+
- id: label_data_price_input
|
|
601
|
+
type: NumberInput
|
|
602
|
+
properties:
|
|
603
|
+
min: 0
|
|
604
|
+
- id: label_data_category
|
|
605
|
+
type: Label
|
|
606
|
+
layout:
|
|
607
|
+
flex: 1 1 0
|
|
608
|
+
required: true
|
|
609
|
+
properties:
|
|
610
|
+
title: Category
|
|
611
|
+
blocks:
|
|
612
|
+
- id: label_data_category_input
|
|
613
|
+
type: Selector
|
|
614
|
+
properties:
|
|
615
|
+
options:
|
|
616
|
+
- label: Electronics
|
|
617
|
+
value: electronics
|
|
618
|
+
- label: Clothing
|
|
619
|
+
value: clothing
|
|
620
|
+
- label: Home & Garden
|
|
621
|
+
value: home
|
|
622
|
+
- id: label_data_stock
|
|
623
|
+
type: Label
|
|
624
|
+
layout:
|
|
625
|
+
flex: 1 1 0
|
|
626
|
+
properties:
|
|
627
|
+
title: Stock Quantity
|
|
628
|
+
blocks:
|
|
629
|
+
- id: label_data_stock_input
|
|
630
|
+
type: NumberInput
|
|
631
|
+
properties:
|
|
632
|
+
min: 0
|
|
633
|
+
- id: label_data_desc
|
|
634
|
+
type: Label
|
|
635
|
+
properties:
|
|
636
|
+
title: Description
|
|
637
|
+
extra: <i>Markdown formatting is supported.</i>
|
|
638
|
+
colon: false
|
|
639
|
+
blocks:
|
|
640
|
+
- id: label_data_desc_input
|
|
641
|
+
type: TextArea
|
|
642
|
+
properties:
|
|
643
|
+
rows: 4
|
|
644
|
+
- id: label_data_active
|
|
645
|
+
type: Label
|
|
646
|
+
properties:
|
|
647
|
+
title: Active Listing
|
|
648
|
+
inline: true
|
|
649
|
+
span: 6
|
|
650
|
+
extra: Toggle off to save as draft.
|
|
651
|
+
blocks:
|
|
652
|
+
- id: label_data_active_input
|
|
653
|
+
type: Switch
|
|
654
|
+
- id: label_data_actions_row
|
|
655
|
+
type: Box
|
|
656
|
+
layout:
|
|
657
|
+
gap: 8
|
|
658
|
+
justify: flex-end
|
|
659
|
+
blocks:
|
|
660
|
+
- id: label_data_save_draft
|
|
661
|
+
type: Button
|
|
662
|
+
layout:
|
|
663
|
+
flex: 0 0 auto
|
|
664
|
+
properties:
|
|
665
|
+
title: Save Draft
|
|
666
|
+
color: default
|
|
667
|
+
variant: outlined
|
|
668
|
+
events:
|
|
669
|
+
onClick:
|
|
670
|
+
- id: label_data_draft_msg
|
|
671
|
+
type: DisplayMessage
|
|
672
|
+
params:
|
|
673
|
+
content: Draft saved.
|
|
674
|
+
status: info
|
|
675
|
+
- id: label_data_publish
|
|
676
|
+
type: Button
|
|
677
|
+
layout:
|
|
678
|
+
flex: 0 0 auto
|
|
679
|
+
properties:
|
|
680
|
+
title: Publish Product
|
|
681
|
+
color: primary
|
|
682
|
+
variant: solid
|
|
683
|
+
events:
|
|
684
|
+
onClick:
|
|
685
|
+
- id: label_data_publish_validate
|
|
686
|
+
type: Validate
|
|
687
|
+
params:
|
|
688
|
+
- label_data_name
|
|
689
|
+
- label_data_price
|
|
690
|
+
- label_data_category
|
|
691
|
+
- id: label_data_publish_msg
|
|
692
|
+
type: DisplayMessage
|
|
693
|
+
params:
|
|
694
|
+
content: Product published successfully!
|
|
695
|
+
status: success
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
| Property | Type | Default | Description |
|
|
699
|
+
| --- | --- | --- | --- |
|
|
700
|
+
| `align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
701
|
+
| `colon` | boolean | `true` | Append label with colon. |
|
|
702
|
+
| `disabled` | boolean | `false` | Disable to not render a label title. |
|
|
703
|
+
| `extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
704
|
+
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
705
|
+
| `title` | string | - | Label title - supports html. |
|
|
706
|
+
| `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. |
|
|
707
|
+
| `tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
708
|
+
| `tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
709
|
+
| `tooltip.color` | string | - | Color of the tooltip icon. |
|
|
710
|
+
| `span` | number | - | Label inline span. |
|
|
711
|
+
| `inline` | boolean | `false` | Render input and label inline. |
|
|
712
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design form tokens](https://ant.design/components/form#design-token). |
|
|
713
|
+
| `theme.labelFontSize` | number | `14` | Font size of the label text. |
|
|
714
|
+
| `theme.labelColor` | string | `"rgba(0,0,0,0.88)"` | Text color of the label. |
|
|
715
|
+
| `theme.labelRequiredMarkColor` | string | `"#ff4d4f"` | Color of the required asterisk mark. |
|
|
716
|
+
| `theme.labelColonMarginInlineStart` | number | `2` | Inline start margin of the colon after the label. |
|
|
717
|
+
| `theme.labelColonMarginInlineEnd` | number | `8` | Inline end margin of the colon after the label. |
|
|
718
|
+
| `theme.colorError` | string | `"#ff4d4f"` | Color used for error validation feedback. |
|
|
719
|
+
| `theme.colorWarning` | string | `"#faad14"` | Color used for warning validation feedback. |
|
|
720
|
+
| `theme.colorSuccess` | string | `"#52c41a"` | Color used for success validation feedback. |
|
|
721
|
+
| `theme.colorText` | string | - | Text color for the extra and feedback text. |
|
|
722
|
+
| `theme.colorTextDescription` | string | - | Color for the extra description text. |
|
|
723
|
+
| `theme.fontSize` | number | `14` | Base font size. |
|
|
724
|
+
|
|
725
|
+
| Event | Event Data | Description |
|
|
726
|
+
| --- | --- | --- |
|
|
727
|
+
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
728
|
+
|
|
729
|
+
| Key | Target |
|
|
730
|
+
| --- | --- |
|
|
731
|
+
| `/block` | Outer block wrapper (always available). |
|
|
732
|
+
| `/element` | The Label element. |
|
|
733
|
+
| `/label` | The Label label. |
|
|
734
|
+
| `/extra` | The Label extra content. |
|
|
735
|
+
| `/feedback` | The Label validation feedback. |
|
|
736
|
+
|
|
737
|
+
| Slot | Description |
|
|
738
|
+
| --- | --- |
|
|
739
|
+
| `content` | The labeled input or content blocks. |
|