@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
|
@@ -65,12 +65,6 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
65
65
|
title: Borderless
|
|
66
66
|
variant: borderless
|
|
67
67
|
placeholder: Borderless variant
|
|
68
|
-
- id: variant_underlined
|
|
69
|
-
type: TextInput
|
|
70
|
-
properties:
|
|
71
|
-
title: Underlined
|
|
72
|
-
variant: underlined
|
|
73
|
-
placeholder: Underlined variant
|
|
74
68
|
```
|
|
75
69
|
|
|
76
70
|
```yaml
|
|
@@ -85,28 +79,28 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
85
79
|
properties:
|
|
86
80
|
title: Email
|
|
87
81
|
type: email
|
|
88
|
-
prefixIcon:
|
|
82
|
+
prefixIcon: AiOutlineMail
|
|
89
83
|
placeholder: user@example.com
|
|
90
84
|
- id: type_password
|
|
91
85
|
type: TextInput
|
|
92
86
|
properties:
|
|
93
87
|
title: Password
|
|
94
88
|
type: password
|
|
95
|
-
prefixIcon:
|
|
89
|
+
prefixIcon: AiOutlineLock
|
|
96
90
|
placeholder: Enter password
|
|
97
91
|
- id: type_tel
|
|
98
92
|
type: TextInput
|
|
99
93
|
properties:
|
|
100
94
|
title: Telephone
|
|
101
95
|
type: tel
|
|
102
|
-
prefixIcon:
|
|
96
|
+
prefixIcon: AiOutlinePhone
|
|
103
97
|
placeholder: +1 (555) 123-4567
|
|
104
98
|
- id: type_url
|
|
105
99
|
type: TextInput
|
|
106
100
|
properties:
|
|
107
101
|
title: URL
|
|
108
102
|
type: url
|
|
109
|
-
prefixIcon:
|
|
103
|
+
prefixIcon: AiOutlineGlobal
|
|
110
104
|
placeholder: https://example.com
|
|
111
105
|
```
|
|
112
106
|
|
|
@@ -134,13 +128,13 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
134
128
|
type: TextInput
|
|
135
129
|
properties:
|
|
136
130
|
title: Prefix Icon
|
|
137
|
-
prefixIcon:
|
|
131
|
+
prefixIcon: AiOutlineUser
|
|
138
132
|
placeholder: Enter username
|
|
139
133
|
- id: adorn_suffix_icon
|
|
140
134
|
type: TextInput
|
|
141
135
|
properties:
|
|
142
136
|
title: Suffix Icon
|
|
143
|
-
suffixIcon:
|
|
137
|
+
suffixIcon: AiOutlineInfoCircle
|
|
144
138
|
placeholder: Enter value
|
|
145
139
|
```
|
|
146
140
|
|
|
@@ -150,21 +144,21 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
150
144
|
properties:
|
|
151
145
|
title: Custom Color Icon
|
|
152
146
|
prefixIcon:
|
|
153
|
-
name:
|
|
147
|
+
name: AiOutlineUser
|
|
154
148
|
color: "#1677ff"
|
|
155
149
|
placeholder: Blue user icon
|
|
156
150
|
- id: icon_both_custom
|
|
157
151
|
type: TextInput
|
|
158
152
|
properties:
|
|
159
153
|
title: Both Icons
|
|
160
|
-
prefixIcon:
|
|
161
|
-
suffixIcon:
|
|
154
|
+
prefixIcon: AiOutlineLink
|
|
155
|
+
suffixIcon: AiOutlineArrowRight
|
|
162
156
|
placeholder: Enter link
|
|
163
157
|
- id: icon_mixed
|
|
164
158
|
type: TextInput
|
|
165
159
|
properties:
|
|
166
160
|
title: Icon Prefix + Text Suffix
|
|
167
|
-
prefixIcon:
|
|
161
|
+
prefixIcon: AiOutlineGlobal
|
|
168
162
|
suffix: .com
|
|
169
163
|
placeholder: domain
|
|
170
164
|
```
|
|
@@ -186,7 +180,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
186
180
|
properties:
|
|
187
181
|
title: Allow Clear + Prefix Icon
|
|
188
182
|
allowClear: true
|
|
189
|
-
prefixIcon:
|
|
183
|
+
prefixIcon: AiOutlineUser
|
|
190
184
|
events:
|
|
191
185
|
onMount:
|
|
192
186
|
- id: set_default
|
|
@@ -314,7 +308,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
314
308
|
properties:
|
|
315
309
|
title: Disabled (With Prefix)
|
|
316
310
|
disabled: true
|
|
317
|
-
prefixIcon:
|
|
311
|
+
prefixIcon: AiOutlineUser
|
|
318
312
|
events:
|
|
319
313
|
onMount:
|
|
320
314
|
- id: set_default
|
|
@@ -355,7 +349,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
355
349
|
title: Fully Customized
|
|
356
350
|
placeholder: Orange theme via style
|
|
357
351
|
prefixIcon:
|
|
358
|
-
name:
|
|
352
|
+
name: AiOutlineStar
|
|
359
353
|
color: "#fa8c16"
|
|
360
354
|
```
|
|
361
355
|
|
|
@@ -372,7 +366,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
372
366
|
properties:
|
|
373
367
|
title: Green Theme
|
|
374
368
|
placeholder: Custom green colors
|
|
375
|
-
prefixIcon:
|
|
369
|
+
prefixIcon: AiOutlineCheck
|
|
376
370
|
theme:
|
|
377
371
|
colorPrimary: "#52c41a"
|
|
378
372
|
colorBorder: "#b7eb8f"
|
|
@@ -385,7 +379,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
385
379
|
properties:
|
|
386
380
|
title: Purple Theme
|
|
387
381
|
placeholder: Custom purple colors
|
|
388
|
-
prefixIcon:
|
|
382
|
+
prefixIcon: AiOutlineStar
|
|
389
383
|
theme:
|
|
390
384
|
colorPrimary: "#722ed1"
|
|
391
385
|
colorBorder: "#d3adf7"
|
|
@@ -411,7 +405,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
411
405
|
required: true
|
|
412
406
|
properties:
|
|
413
407
|
title: Full Name
|
|
414
|
-
prefixIcon:
|
|
408
|
+
prefixIcon: AiOutlineUser
|
|
415
409
|
placeholder: John Doe
|
|
416
410
|
label:
|
|
417
411
|
colon: false
|
|
@@ -421,7 +415,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
421
415
|
properties:
|
|
422
416
|
title: Email Address
|
|
423
417
|
type: email
|
|
424
|
-
prefixIcon:
|
|
418
|
+
prefixIcon: AiOutlineMail
|
|
425
419
|
placeholder: john@example.com
|
|
426
420
|
label:
|
|
427
421
|
colon: false
|
|
@@ -432,7 +426,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
432
426
|
properties:
|
|
433
427
|
title: Password
|
|
434
428
|
type: password
|
|
435
|
-
prefixIcon:
|
|
429
|
+
prefixIcon: AiOutlineLock
|
|
436
430
|
placeholder: At least 8 characters
|
|
437
431
|
showCount: true
|
|
438
432
|
maxLength: 64
|
|
@@ -484,7 +478,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
484
478
|
title: Create Account
|
|
485
479
|
color: primary
|
|
486
480
|
variant: solid
|
|
487
|
-
icon:
|
|
481
|
+
icon: AiOutlineArrowRight
|
|
488
482
|
events:
|
|
489
483
|
onClick:
|
|
490
484
|
- id: submit_validate
|
|
@@ -505,7 +499,7 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
505
499
|
- id: search_bar
|
|
506
500
|
type: TextInput
|
|
507
501
|
properties:
|
|
508
|
-
prefixIcon:
|
|
502
|
+
prefixIcon: AiOutlineSearch
|
|
509
503
|
allowClear: true
|
|
510
504
|
placeholder: Search products, categories, or brands...
|
|
511
505
|
size: large
|
|
@@ -564,62 +558,31 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
564
558
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
565
559
|
| `maxLength` | integer | - | The max number of input characters. |
|
|
566
560
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
567
|
-
| `prefix` | string | - | Prefix text for the block, priority over
|
|
568
|
-
| `prefixIcon` | string \| object | - |
|
|
569
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
570
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
571
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
572
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
573
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
574
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
575
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
576
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
577
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
561
|
+
| `prefix` | string | - | Prefix text for the block, priority over $prefix_con. |
|
|
562
|
+
| `prefixIcon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon to prefix the text input. |
|
|
578
563
|
| `label` | object | - | Label properties. |
|
|
579
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
580
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
581
|
-
| `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. |
|
|
582
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
583
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
584
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
585
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
586
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
587
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
588
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
589
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
590
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
591
564
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
592
565
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
593
566
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
594
567
|
| `label.title` | string | - | Label title - supports html. |
|
|
595
568
|
| `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. |
|
|
596
569
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
597
|
-
| `label.tooltip.icon` | string | `"
|
|
570
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
598
571
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
599
|
-
| `label.span` | number | - | Label
|
|
572
|
+
| `label.span` | number | - | Label inline span. |
|
|
600
573
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
601
574
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
602
575
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
603
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
604
576
|
| `replaceInput` | object | - | Regex used to sanitize input. |
|
|
605
577
|
| `replaceInput.pattern` | string | - | The regular expression pattern to use to sanitize input. |
|
|
606
578
|
| `replaceInput.flags` | string | - | The regex flags to use. The default value is 'gm'. |
|
|
607
579
|
| `replaceInput.replacement` | string | - | The string used to replace the input that matches the pattern. The default value is ''. |
|
|
608
580
|
| `size` | string | `"middle"` | Size of the block. Enum: `small`, `middle`, `large`. |
|
|
609
|
-
| `showCount` | boolean | `false` | Show text character count
|
|
610
|
-
| `suffix` | string | - | Suffix text for the block,
|
|
611
|
-
| `suffixIcon` | string \| object | - |
|
|
612
|
-
| `suffixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
613
|
-
| `suffixIcon.color` | string | - | Icon color. |
|
|
614
|
-
| `suffixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
615
|
-
| `suffixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
616
|
-
| `suffixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
617
|
-
| `suffixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
618
|
-
| `suffixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
619
|
-
| `suffixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
620
|
-
| `suffixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
581
|
+
| `showCount` | boolean | `false` | Show text character count |
|
|
582
|
+
| `suffix` | string | - | Suffix text for the block, priority over suffixIcon. |
|
|
583
|
+
| `suffixIcon` | string \| object | - | Name of an React-Icon (See all icons) or properties of an Icon block to customize icon to suffix the text input. |
|
|
621
584
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
622
|
-
| `variant` | string | - | Input visual variant.
|
|
585
|
+
| `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
|
|
623
586
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design input tokens](https://ant.design/components/input#design-token). |
|
|
624
587
|
| `theme.activeBorderColor` | string | - | Border color when the input is focused. |
|
|
625
588
|
| `theme.activeShadow` | string | - | Box shadow when the input is focused. |
|
|
@@ -646,9 +609,6 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
646
609
|
| `theme.hoverBorderColor` | string | - | Border color when the input is hovered. |
|
|
647
610
|
| `theme.hoverBg` | string | - | Background color when the input is hovered. |
|
|
648
611
|
| `theme.activeBg` | string | - | Background color when the input is focused. |
|
|
649
|
-
| `theme.inputFontSize` | number | `14` | Font size of the input text. |
|
|
650
|
-
| `theme.inputFontSizeLG` | number | `16` | Font size of the input text for large inputs. |
|
|
651
|
-
| `theme.inputFontSizeSM` | number | `14` | Font size of the input text for small inputs. |
|
|
652
612
|
| `theme.lineWidth` | number | `1` | Border width. |
|
|
653
613
|
| `theme.paddingBlock` | number | `4` | Vertical padding. |
|
|
654
614
|
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large inputs. |
|
|
@@ -662,7 +622,6 @@ Single-line text input with sizes, prefix/suffix icons, character count, and cle
|
|
|
662
622
|
| --- | --- | --- |
|
|
663
623
|
| `onBlur` | \- | Trigger action event occurs when text input loses focus. |
|
|
664
624
|
| `onChange` | `{ value }` | Trigger action when text input is changed. |
|
|
665
|
-
| `onClear` | \- | Trigger action when the clear button is clicked. |
|
|
666
625
|
| `onFocus` | \- | Trigger action when text input gets focus. |
|
|
667
626
|
| `onPressEnter` | \- | Trigger action when enter is pressed while text input is focused. |
|
|
668
627
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TiptapMentionInput
|
|
2
2
|
|
|
3
|
-
Rich-text editor with @-mention support. Same feature set as TiptapInput, plus a mention dropdown populated from a static options list or a request. Mention options can be marked as groups (roles, teams, queues) to render under their own menu section, as distinctly coloured chips, and with a hover popover listing the group
|
|
3
|
+
Rich-text editor with @-mention support. Same feature set as TiptapInput, plus a mention dropdown populated from a static options list or a request. Mention options can be marked as groups (roles, teams, queues) to render under their own menu section, as distinctly coloured chips, and with a hover popover listing the group's current members. See the guide below.
|
|
4
4
|
|
|
5
5
|
## Group mentions
|
|
6
6
|
|
|
@@ -388,7 +388,7 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
388
388
|
- id: set_default
|
|
389
389
|
type: SetState
|
|
390
390
|
params:
|
|
391
|
-
editable_boolean_true:
|
|
391
|
+
editable_boolean_true: Editable with boolean true
|
|
392
392
|
- id: editable_boolean_false
|
|
393
393
|
type: TitleInput
|
|
394
394
|
properties:
|
|
@@ -400,18 +400,6 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
400
400
|
type: SetState
|
|
401
401
|
params:
|
|
402
402
|
editable_boolean_false: Not editable (editable false)
|
|
403
|
-
- id: editable_with_icon
|
|
404
|
-
type: TitleInput
|
|
405
|
-
properties:
|
|
406
|
-
level: 3
|
|
407
|
-
editable:
|
|
408
|
-
icon: edit
|
|
409
|
-
events:
|
|
410
|
-
onMount:
|
|
411
|
-
- id: set_default
|
|
412
|
-
type: SetState
|
|
413
|
-
params:
|
|
414
|
-
editable_with_icon: Edit with the text or the icon
|
|
415
403
|
- id: editable_custom_tooltip
|
|
416
404
|
type: TitleInput
|
|
417
405
|
properties:
|
|
@@ -423,12 +411,7 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
423
411
|
- id: set_default
|
|
424
412
|
type: SetState
|
|
425
413
|
params:
|
|
426
|
-
editable_custom_tooltip:
|
|
427
|
-
- id: editable_placeholder
|
|
428
|
-
type: TitleInput
|
|
429
|
-
properties:
|
|
430
|
-
level: 3
|
|
431
|
-
placeholder: Name this document
|
|
414
|
+
editable_custom_tooltip: Click the pencil to edit
|
|
432
415
|
- id: editable_max_length
|
|
433
416
|
type: TitleInput
|
|
434
417
|
properties:
|
|
@@ -878,9 +861,9 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
878
861
|
level: 3
|
|
879
862
|
editable: true
|
|
880
863
|
style:
|
|
881
|
-
background:
|
|
864
|
+
background: linear-gradient(90deg,
|
|
882
865
|
padding: 8px 16px
|
|
883
|
-
borderLeft:
|
|
866
|
+
borderLeft: 4px solid
|
|
884
867
|
events:
|
|
885
868
|
onMount:
|
|
886
869
|
- id: set_default
|
|
@@ -907,7 +890,7 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
907
890
|
type: success
|
|
908
891
|
editable: true
|
|
909
892
|
style:
|
|
910
|
-
border:
|
|
893
|
+
border: 1px dashed
|
|
911
894
|
borderRadius: 8px
|
|
912
895
|
padding: 12px 20px
|
|
913
896
|
className: shadow-md
|
|
@@ -971,7 +954,7 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
971
954
|
type: Button
|
|
972
955
|
properties:
|
|
973
956
|
title: Save Document
|
|
974
|
-
icon:
|
|
957
|
+
icon: AiOutlineSave
|
|
975
958
|
type: primary
|
|
976
959
|
size: large
|
|
977
960
|
block: true
|
|
@@ -1030,7 +1013,7 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
1030
1013
|
type: Button
|
|
1031
1014
|
properties:
|
|
1032
1015
|
title: Publish Post
|
|
1033
|
-
icon:
|
|
1016
|
+
icon: AiOutlineSend
|
|
1034
1017
|
type: primary
|
|
1035
1018
|
size: large
|
|
1036
1019
|
block: true
|
|
@@ -1057,29 +1040,19 @@ Editable title heading with levels, copyable, and text styles.
|
|
|
1057
1040
|
| `ellipsis.rows` | number | - | Max rows of content. |
|
|
1058
1041
|
| `ellipsis.expandable` | boolean | - | Expand hidden content when clicked. |
|
|
1059
1042
|
| `ellipsis.suffix` | string | - | Suffix of ellipses content. |
|
|
1060
|
-
| `editable` | boolean \| object | `true` | Allow editing
|
|
1061
|
-
| `editable.icon` | string \| object | - |
|
|
1062
|
-
| `editable.
|
|
1063
|
-
| `editable.icon.color` | string | - | Icon color. |
|
|
1064
|
-
| `editable.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1065
|
-
| `editable.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1066
|
-
| `editable.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1067
|
-
| `editable.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1068
|
-
| `editable.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1069
|
-
| `editable.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1070
|
-
| `editable.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1071
|
-
| `editable.tooltip` | string | - | Tooltip text, shown on the edit icon, or on the text when no icon is set. |
|
|
1043
|
+
| `editable` | boolean \| object | `true` | Allow paragraph editing when true, editable settings can be provided with editable object. |
|
|
1044
|
+
| `editable.icon` | string \| object | - | Edit icon. |
|
|
1045
|
+
| `editable.tooltip` | string | - | Edit tooltip text. |
|
|
1072
1046
|
| `editable.editing` | boolean | `false` | Control editing state. |
|
|
1073
1047
|
| `editable.maxLength` | number | - | Max length of text area input. |
|
|
1074
1048
|
| `italic` | boolean | `false` | Apply italic style. |
|
|
1075
1049
|
| `level` | number | `1` | Set title type. Matches with h1, h2, h3 and h4. Enum: `1`, `2`, `3`, `4`, `5`. |
|
|
1076
1050
|
| `mark` | boolean | `false` | Apply marked (highlighted) style. |
|
|
1077
|
-
| `placeholder` | string | `"Untitled"` | Muted text shown when the title is empty and editable. |
|
|
1078
1051
|
| `type` | string | `"default"` | Additional types. Don't specify for default. Enum: `default`, `secondary`, `warning`, `danger`, `success`. |
|
|
1079
1052
|
| `underline` | boolean | `false` | Apply underline style. |
|
|
1080
1053
|
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design typography tokens](https://ant.design/components/typography#design-token). |
|
|
1081
|
-
| `theme.titleMarginBottom` | string
|
|
1082
|
-
| `theme.titleMarginTop` | string
|
|
1054
|
+
| `theme.titleMarginBottom` | string | `"0.5em"` | Margin bottom for title elements. |
|
|
1055
|
+
| `theme.titleMarginTop` | string | `"1.2em"` | Margin top for title elements. |
|
|
1083
1056
|
| `theme.colorText` | string | - | Default text color. |
|
|
1084
1057
|
| `theme.colorTextSecondary` | string | - | Text color for secondary type. |
|
|
1085
1058
|
| `theme.colorSuccess` | string | - | Text color for success type. |
|
|
@@ -89,41 +89,6 @@ Inline tree with nested options and checkboxes. (Renamed from `TreeSelector`.)
|
|
|
89
89
|
label: Operations
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
```yaml
|
|
93
|
-
- id: tree_block_node
|
|
94
|
-
type: TreeInput
|
|
95
|
-
properties:
|
|
96
|
-
blockNode: true
|
|
97
|
-
height: 160
|
|
98
|
-
defaultExpandAll: true
|
|
99
|
-
primaryKey: id
|
|
100
|
-
parentKey: parentId
|
|
101
|
-
valueKey: id
|
|
102
|
-
html: "{{ item.label }}"
|
|
103
|
-
data:
|
|
104
|
-
- id: 1
|
|
105
|
-
label: Documents
|
|
106
|
-
- id: 2
|
|
107
|
-
label: Invoices
|
|
108
|
-
parentId: 1
|
|
109
|
-
- id: 3
|
|
110
|
-
label: Receipts
|
|
111
|
-
parentId: 1
|
|
112
|
-
- id: 4
|
|
113
|
-
label: Contracts
|
|
114
|
-
parentId: 1
|
|
115
|
-
- id: 5
|
|
116
|
-
label: Photos
|
|
117
|
-
- id: 6
|
|
118
|
-
label: Holidays
|
|
119
|
-
parentId: 5
|
|
120
|
-
- id: 7
|
|
121
|
-
label: Events
|
|
122
|
-
parentId: 5
|
|
123
|
-
- id: 8
|
|
124
|
-
label: Music
|
|
125
|
-
```
|
|
126
|
-
|
|
127
92
|
| Property | Type | Default | Description |
|
|
128
93
|
| --- | --- | --- | --- |
|
|
129
94
|
| `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. |
|
|
@@ -133,25 +98,39 @@ Inline tree with nested options and checkboxes. (Renamed from `TreeSelector`.)
|
|
|
133
98
|
| `parentKey` | string | - | Tree selectors only: names each row’s parent id. Build a flat `data`/`options` array where each row has a `primaryKey` (its own id) and a `parentKey` whose value equals the parent row’s `primaryKey`. Rows whose `parentKey` is empty or points at no row become tree roots. Supports dotted paths. |
|
|
134
99
|
| `options` | array | `[]` | Options can either be an array of primitive values, on an array of label, value pairs - supports html. |
|
|
135
100
|
| `options.$.label` | string | - | Value label shown to user - supports html. |
|
|
136
|
-
| `options.$.value` |
|
|
101
|
+
| `options.$.value` | string \| number \| boolean | - | Option value. |
|
|
137
102
|
| `options.$.disabled` | boolean | `false` | Disable the option if true. |
|
|
138
103
|
| `options.$.style` | object | - | Css style to apply to the option. |
|
|
139
104
|
| `options.$.color` | string | - | Color applied to this option when it is selected. Falls back to the block-level color when not set. |
|
|
140
105
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
141
|
-
| `blockNode` | boolean | `false` | Make each tree node fill the remaining width of the row, so the whole row is clickable and highlighted. |
|
|
142
106
|
| `checkable` | boolean | `false` | Show checkboxes on the tree nodes. |
|
|
143
107
|
| `showLine` | boolean | `false` | Show a connecting line if true. |
|
|
144
108
|
| `selectable` | boolean | `true` | Selectable if true. |
|
|
145
109
|
| `defaultExpandAll` | boolean | `false` | Expand all tree nodes by default. |
|
|
146
|
-
| `
|
|
147
|
-
| `theme` |
|
|
148
|
-
| `theme.
|
|
149
|
-
| `theme.
|
|
150
|
-
| `theme.
|
|
151
|
-
| `theme.
|
|
152
|
-
| `theme.
|
|
153
|
-
| `theme.
|
|
154
|
-
| `theme.
|
|
110
|
+
| `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design tree-select tokens](https://ant.design/components/tree-select#design-token). |
|
|
111
|
+
| `theme.nodeSelectedBg` | string | - | Background color of selected tree node. |
|
|
112
|
+
| `theme.nodeHoverBg` | string | - | Background color of hovered tree node. |
|
|
113
|
+
| `theme.titleHeight` | number | `24` | Height of tree node title. |
|
|
114
|
+
| `theme.clearBg` | string | - | Background color of clear button. |
|
|
115
|
+
| `theme.selectorBg` | string | - | Background color of the selector. |
|
|
116
|
+
| `theme.hoverBorderColor` | string | - | Border color when hovered. |
|
|
117
|
+
| `theme.activeBorderColor` | string | - | Border color when active/focused. |
|
|
118
|
+
| `theme.activeOutlineColor` | string | - | Outline color when active/focused. |
|
|
119
|
+
| `theme.optionSelectedBg` | string | - | Background of selected option. |
|
|
120
|
+
| `theme.optionSelectedColor` | string | - | Text color of selected option. |
|
|
121
|
+
| `theme.optionSelectedFontWeight` | string | - | Font weight of selected option. |
|
|
122
|
+
| `theme.optionActiveBg` | string | - | Background of active (hovered) option. |
|
|
123
|
+
| `theme.optionFontSize` | number | `14` | Font size of options. |
|
|
124
|
+
| `theme.optionHeight` | number | `32` | Height of each option. |
|
|
125
|
+
| `theme.optionLineHeight` | string | - | Line height of options. |
|
|
126
|
+
| `theme.optionPadding` | string | - | Padding of options. |
|
|
127
|
+
| `theme.multipleSelectorBgDisabled` | string | - | Background when disabled in multiple mode. |
|
|
128
|
+
| `theme.multipleItemBg` | string | - | Background of tag items in multiple mode. |
|
|
129
|
+
| `theme.multipleItemBorderColor` | string | - | Border color of tag items. |
|
|
130
|
+
| `theme.multipleItemHeight` | number | `24` | Height of tag items. |
|
|
131
|
+
| `theme.multipleItemHeightSM` | number | `16` | Height of tag items (small). |
|
|
132
|
+
| `theme.multipleItemHeightLG` | number | `32` | Height of tag items (large). |
|
|
133
|
+
| `theme.zIndexPopup` | number | `1050` | z-index of the dropdown. |
|
|
155
134
|
|
|
156
135
|
| Event | Event Data | Description |
|
|
157
136
|
| --- | --- | --- |
|
|
@@ -161,8 +140,5 @@ Inline tree with nested options and checkboxes. (Renamed from `TreeSelector`.)
|
|
|
161
140
|
| --- | --- |
|
|
162
141
|
| `/block` | Outer block wrapper (always available). |
|
|
163
142
|
| `/element` | The TreeInput element. |
|
|
164
|
-
| `/item` | Each tree node row. |
|
|
165
|
-
| `/itemSwitcher` | The expand/collapse switcher of each tree node. |
|
|
166
|
-
| `/itemTitle` | The title of each tree node. |
|
|
167
143
|
|
|
168
144
|
No slots defined.
|