@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
|
@@ -60,8 +60,6 @@ blocks:
|
|
|
60
60
|
|
|
61
61
|
**Small size:**
|
|
62
62
|
|
|
63
|
-
**Large size:**
|
|
64
|
-
|
|
65
63
|
```yaml
|
|
66
64
|
- id: size_default_label
|
|
67
65
|
type: Markdown
|
|
@@ -80,36 +78,6 @@ blocks:
|
|
|
80
78
|
properties:
|
|
81
79
|
total: 100
|
|
82
80
|
size: small
|
|
83
|
-
- id: size_large_label
|
|
84
|
-
type: Markdown
|
|
85
|
-
properties:
|
|
86
|
-
content: "**Large size:**"
|
|
87
|
-
- id: size_large
|
|
88
|
-
type: Pagination
|
|
89
|
-
properties:
|
|
90
|
-
total: 100
|
|
91
|
-
size: large
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
```yaml
|
|
95
|
-
- id: align_center
|
|
96
|
-
type: Pagination
|
|
97
|
-
properties:
|
|
98
|
-
total: 100
|
|
99
|
-
align: center
|
|
100
|
-
- id: align_end
|
|
101
|
-
type: Pagination
|
|
102
|
-
properties:
|
|
103
|
-
total: 100
|
|
104
|
-
align: end
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
```yaml
|
|
108
|
-
- id: less_items
|
|
109
|
-
type: Pagination
|
|
110
|
-
properties:
|
|
111
|
-
total: 500
|
|
112
|
-
showLessItems: true
|
|
113
81
|
```
|
|
114
82
|
|
|
115
83
|
**Simple (default size):**
|
|
@@ -138,19 +106,17 @@ blocks:
|
|
|
138
106
|
size: small
|
|
139
107
|
```
|
|
140
108
|
|
|
141
|
-
**
|
|
109
|
+
**Boolean (default format):**
|
|
142
110
|
|
|
143
111
|
**Custom string:**
|
|
144
112
|
|
|
145
|
-
**Hidden:**
|
|
146
|
-
|
|
147
113
|
**Show total (small):**
|
|
148
114
|
|
|
149
115
|
```yaml
|
|
150
116
|
- id: show_total_bool_label
|
|
151
117
|
type: Markdown
|
|
152
118
|
properties:
|
|
153
|
-
content: "**
|
|
119
|
+
content: "**Boolean (default format):**"
|
|
154
120
|
- id: show_total_bool
|
|
155
121
|
type: Pagination
|
|
156
122
|
properties:
|
|
@@ -165,15 +131,6 @@ blocks:
|
|
|
165
131
|
properties:
|
|
166
132
|
total: 85
|
|
167
133
|
showTotal: 85 results found
|
|
168
|
-
- id: show_total_hidden_label
|
|
169
|
-
type: Markdown
|
|
170
|
-
properties:
|
|
171
|
-
content: "**Hidden:**"
|
|
172
|
-
- id: show_total_hidden
|
|
173
|
-
type: Pagination
|
|
174
|
-
properties:
|
|
175
|
-
total: 85
|
|
176
|
-
showTotal: false
|
|
177
134
|
- id: show_total_small_label
|
|
178
135
|
type: Markdown
|
|
179
136
|
properties:
|
|
@@ -500,26 +457,19 @@ blocks:
|
|
|
500
457
|
|
|
501
458
|
```yaml
|
|
502
459
|
- id: with_label_default
|
|
503
|
-
type:
|
|
460
|
+
type: Pagination
|
|
504
461
|
properties:
|
|
505
462
|
title: Page Navigation
|
|
506
|
-
|
|
507
|
-
- id: with_label_default_pagination
|
|
508
|
-
type: Pagination
|
|
509
|
-
properties:
|
|
510
|
-
total: 100
|
|
463
|
+
total: 100
|
|
511
464
|
- id: with_label_inline
|
|
512
|
-
type:
|
|
465
|
+
type: Pagination
|
|
513
466
|
properties:
|
|
514
467
|
title: Results
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
properties:
|
|
521
|
-
total: 200
|
|
522
|
-
showTotal: true
|
|
468
|
+
total: 200
|
|
469
|
+
showTotal: true
|
|
470
|
+
label:
|
|
471
|
+
inline: true
|
|
472
|
+
span: 6
|
|
523
473
|
```
|
|
524
474
|
|
|
525
475
|
**Custom background and padding:**
|
|
@@ -550,7 +500,7 @@ blocks:
|
|
|
550
500
|
type: Pagination
|
|
551
501
|
style:
|
|
552
502
|
.element:
|
|
553
|
-
border:
|
|
503
|
+
border: 1px solid
|
|
554
504
|
borderRadius: 8
|
|
555
505
|
padding: 12
|
|
556
506
|
display: flex
|
|
@@ -683,12 +633,9 @@ blocks:
|
|
|
683
633
|
| Property | Type | Default | Description |
|
|
684
634
|
| --- | --- | --- | --- |
|
|
685
635
|
| `total` | integer | `100` | Total number of items to be displayed in pagination. |
|
|
686
|
-
| `size` | string | `"default"` | Pagination element size. Enum: `small`, `default
|
|
687
|
-
| `align` | string | `"start"` | Horizontal alignment of the pagination. Enum: `start`, `center`, `end`. |
|
|
688
|
-
| `responsive` | boolean | `false` | Switch to the small size on narrow screens. Only applies when size is not set. |
|
|
689
|
-
| `showLessItems` | boolean | `false` | Show fewer page number items around the current page. |
|
|
636
|
+
| `size` | string | `"default"` | Pagination element size. Enum: `small`, `default`. |
|
|
690
637
|
| `simple` | boolean | `false` | Use simplified pagination display. |
|
|
691
|
-
| `showTotal` | boolean \| string \| object | `
|
|
638
|
+
| `showTotal` | boolean \| string \| object | `false` | Show pagination total number and range if boolean, or define a custom string or function to display. |
|
|
692
639
|
| `showSizeChanger` | boolean | `false` | Determine whether to show page size select, it will be true when total > 50. |
|
|
693
640
|
| `showQuickJumper` | boolean | `false` | Determine whether you can jump to pages directly. |
|
|
694
641
|
| `pageSizeOptions` | array | `[10,20,30,40]` | Specify the page size changer options. |
|
|
@@ -698,10 +645,8 @@ blocks:
|
|
|
698
645
|
| `theme.itemBg` | string | `"#ffffff"` | Background color for pagination items. |
|
|
699
646
|
| `theme.itemSize` | number | `32` | Size of pagination items. |
|
|
700
647
|
| `theme.itemSizeSM` | number | `24` | Size of pagination items in small mode. |
|
|
701
|
-
| `theme.itemSizeLG` | number | `40` | Size of pagination items in large mode. |
|
|
702
648
|
| `theme.itemActiveBg` | string | `"#ffffff"` | Background color for the active pagination item. |
|
|
703
|
-
| `theme.itemActiveColor` | string |
|
|
704
|
-
| `theme.itemActiveColorHover` | string | `"#4096ff"` | Text color for the active pagination item on hover. |
|
|
649
|
+
| `theme.itemActiveColor` | string | - | Text color for the active pagination item. |
|
|
705
650
|
| `theme.itemActiveColorDisabled` | string | `"rgba(0,0,0,0.25)"` | Text color for the active item when disabled. |
|
|
706
651
|
| `theme.itemActiveBgDisabled` | string | `"rgba(0,0,0,0.15)"` | Background color for the active item when disabled. |
|
|
707
652
|
| `theme.itemLinkBg` | string | `"#ffffff"` | Background color for prev/next link items. |
|
|
@@ -730,6 +675,5 @@ blocks:
|
|
|
730
675
|
| --- | --- |
|
|
731
676
|
| `/block` | Outer block wrapper (always available). |
|
|
732
677
|
| `/element` | The Pagination element. |
|
|
733
|
-
| `/item` | Each page number item. |
|
|
734
678
|
|
|
735
679
|
No slots defined.
|
|
@@ -12,8 +12,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
12
12
|
- id: set_default
|
|
13
13
|
type: SetState
|
|
14
14
|
params:
|
|
15
|
-
basic_default: Click
|
|
16
|
-
|
|
15
|
+
basic_default: Click the edit icon to start editing this paragraph. Changes are
|
|
16
|
+
saved when you press Enter or click away.
|
|
17
17
|
- id: basic_editable_object
|
|
18
18
|
type: ParagraphInput
|
|
19
19
|
properties:
|
|
@@ -39,10 +39,6 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
39
39
|
type: ParagraphInput
|
|
40
40
|
properties:
|
|
41
41
|
editable: true
|
|
42
|
-
- id: basic_placeholder
|
|
43
|
-
type: ParagraphInput
|
|
44
|
-
properties:
|
|
45
|
-
placeholder: Add a description
|
|
46
42
|
- id: basic_long
|
|
47
43
|
type: ParagraphInput
|
|
48
44
|
properties:
|
|
@@ -53,11 +49,11 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
53
49
|
type: SetState
|
|
54
50
|
params:
|
|
55
51
|
basic_long: This is a longer paragraph to demonstrate how ParagraphInput handles
|
|
56
|
-
multi-line content. When you click the
|
|
57
|
-
|
|
58
|
-
useful for inline content editing scenarios where users
|
|
59
|
-
able to quickly update descriptive text without navigating
|
|
60
|
-
separate form.
|
|
52
|
+
multi-line content. When you click the edit icon, a text area
|
|
53
|
+
appears allowing you to modify all of the text. The editable
|
|
54
|
+
paragraph is useful for inline content editing scenarios where users
|
|
55
|
+
should be able to quickly update descriptive text without navigating
|
|
56
|
+
to a separate form.
|
|
61
57
|
```
|
|
62
58
|
|
|
63
59
|
```yaml
|
|
@@ -71,7 +67,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
71
67
|
- id: set_default
|
|
72
68
|
type: SetState
|
|
73
69
|
params:
|
|
74
|
-
tooltip_short: Hover over
|
|
70
|
+
tooltip_short: Hover over the edit icon to see a short tooltip.
|
|
75
71
|
- id: tooltip_descriptive
|
|
76
72
|
type: ParagraphInput
|
|
77
73
|
properties:
|
|
@@ -82,7 +78,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
82
78
|
- id: set_default
|
|
83
79
|
type: SetState
|
|
84
80
|
params:
|
|
85
|
-
tooltip_descriptive: Hover over
|
|
81
|
+
tooltip_descriptive: Hover over the edit icon to see a descriptive tooltip.
|
|
86
82
|
- id: tooltip_instructional
|
|
87
83
|
type: ParagraphInput
|
|
88
84
|
properties:
|
|
@@ -101,20 +97,20 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
101
97
|
type: ParagraphInput
|
|
102
98
|
properties:
|
|
103
99
|
editable:
|
|
104
|
-
icon:
|
|
100
|
+
icon: AiOutlineHighlight
|
|
105
101
|
tooltip: Highlight to edit
|
|
106
102
|
events:
|
|
107
103
|
onMount:
|
|
108
104
|
- id: set_default
|
|
109
105
|
type: SetState
|
|
110
106
|
params:
|
|
111
|
-
icon_highlight:
|
|
112
|
-
|
|
107
|
+
icon_highlight: This paragraph uses a highlight icon instead of the default edit
|
|
108
|
+
icon.
|
|
113
109
|
- id: icon_form
|
|
114
110
|
type: ParagraphInput
|
|
115
111
|
properties:
|
|
116
112
|
editable:
|
|
117
|
-
icon:
|
|
113
|
+
icon: AiOutlineForm
|
|
118
114
|
tooltip: Open editor
|
|
119
115
|
events:
|
|
120
116
|
onMount:
|
|
@@ -126,7 +122,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
126
122
|
type: ParagraphInput
|
|
127
123
|
properties:
|
|
128
124
|
editable:
|
|
129
|
-
icon:
|
|
125
|
+
icon: AiOutlineEdit
|
|
130
126
|
tooltip: Edit paragraph
|
|
131
127
|
events:
|
|
132
128
|
onMount:
|
|
@@ -139,7 +135,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
139
135
|
properties:
|
|
140
136
|
editable:
|
|
141
137
|
icon:
|
|
142
|
-
name:
|
|
138
|
+
name: AiOutlineEdit
|
|
143
139
|
color: "#1677ff"
|
|
144
140
|
tooltip: Edit in blue
|
|
145
141
|
events:
|
|
@@ -214,8 +210,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
214
210
|
type: SetState
|
|
215
211
|
params:
|
|
216
212
|
autosize_true: This paragraph uses autoSize true so the text area automatically
|
|
217
|
-
grows to fit the content when editing.
|
|
218
|
-
text area expand.
|
|
213
|
+
grows to fit the content when editing. Try clicking the edit icon to
|
|
214
|
+
see the text area expand.
|
|
219
215
|
- id: autosize_min_max
|
|
220
216
|
type: ParagraphInput
|
|
221
217
|
properties:
|
|
@@ -291,7 +287,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
291
287
|
type: ParagraphInput
|
|
292
288
|
properties:
|
|
293
289
|
editable:
|
|
294
|
-
icon:
|
|
290
|
+
icon: AiOutlineEdit
|
|
295
291
|
tooltip: Edit this paragraph
|
|
296
292
|
maxLength: 150
|
|
297
293
|
autoSize:
|
|
@@ -308,7 +304,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
308
304
|
type: ParagraphInput
|
|
309
305
|
properties:
|
|
310
306
|
editable:
|
|
311
|
-
icon:
|
|
307
|
+
icon: AiOutlineHighlight
|
|
312
308
|
tooltip: Highlight to edit (max 100 chars)
|
|
313
309
|
maxLength: 100
|
|
314
310
|
events:
|
|
@@ -693,7 +689,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
693
689
|
type: ParagraphInput
|
|
694
690
|
properties:
|
|
695
691
|
copyable:
|
|
696
|
-
icon:
|
|
692
|
+
icon: AiOutlineSnippets
|
|
697
693
|
tooltips:
|
|
698
694
|
- Copy snippet
|
|
699
695
|
- Snippet copied!
|
|
@@ -709,8 +705,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
709
705
|
properties:
|
|
710
706
|
copyable:
|
|
711
707
|
icon:
|
|
712
|
-
-
|
|
713
|
-
-
|
|
708
|
+
- AiOutlineCopy
|
|
709
|
+
- AiOutlineCheck
|
|
714
710
|
tooltips:
|
|
715
711
|
- Copy text
|
|
716
712
|
- Text copied!
|
|
@@ -726,7 +722,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
726
722
|
properties:
|
|
727
723
|
copyable:
|
|
728
724
|
icon:
|
|
729
|
-
name:
|
|
725
|
+
name: AiOutlineCopy
|
|
730
726
|
color: "#1677ff"
|
|
731
727
|
tooltips:
|
|
732
728
|
- Copy
|
|
@@ -747,8 +743,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
747
743
|
copyable:
|
|
748
744
|
text: Custom text for clipboard
|
|
749
745
|
icon:
|
|
750
|
-
-
|
|
751
|
-
-
|
|
746
|
+
- AiOutlineCopy
|
|
747
|
+
- AiOutlineCheck
|
|
752
748
|
tooltips:
|
|
753
749
|
- Copy custom text
|
|
754
750
|
- Custom text copied!
|
|
@@ -1064,8 +1060,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1064
1060
|
params:
|
|
1065
1061
|
default_long: This is a longer default value that spans multiple words and
|
|
1066
1062
|
demonstrates how ParagraphInput handles pre-populated content. Users
|
|
1067
|
-
can click the
|
|
1068
|
-
content by default.
|
|
1063
|
+
can click the edit icon to modify this text. The paragraph displays
|
|
1064
|
+
the full content by default.
|
|
1069
1065
|
- id: default_with_styles
|
|
1070
1066
|
type: ParagraphInput
|
|
1071
1067
|
properties:
|
|
@@ -1464,7 +1460,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1464
1460
|
type: success
|
|
1465
1461
|
strong: true
|
|
1466
1462
|
editable:
|
|
1467
|
-
icon:
|
|
1463
|
+
icon: AiOutlineEdit
|
|
1468
1464
|
tooltip: Edit this paragraph
|
|
1469
1465
|
maxLength: 300
|
|
1470
1466
|
autoSize: true
|
|
@@ -1549,7 +1545,7 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1549
1545
|
type: danger
|
|
1550
1546
|
strong: true
|
|
1551
1547
|
editable:
|
|
1552
|
-
icon:
|
|
1548
|
+
icon: AiOutlineEdit
|
|
1553
1549
|
tooltip: Edit error message
|
|
1554
1550
|
maxLength: 500
|
|
1555
1551
|
autoSize:
|
|
@@ -1557,8 +1553,8 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1557
1553
|
maxRows: 10
|
|
1558
1554
|
copyable:
|
|
1559
1555
|
icon:
|
|
1560
|
-
-
|
|
1561
|
-
-
|
|
1556
|
+
- AiOutlineCopy
|
|
1557
|
+
- AiOutlineCheck
|
|
1562
1558
|
tooltips:
|
|
1563
1559
|
- Copy error details
|
|
1564
1560
|
- Error details copied!
|
|
@@ -1615,21 +1611,12 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1615
1611
|
| `copyable.tooltips` | string \| array | - | Tooltip text, can be an array or two strings for before and after clicked. |
|
|
1616
1612
|
| `delete` | boolean | `false` | Apply deleted (strikethrough) style. |
|
|
1617
1613
|
| `disabled` | boolean | `false` | Apply disabled style. |
|
|
1618
|
-
| `editable` | boolean \| object | `true` | Allow
|
|
1619
|
-
| `editable.icon` | string \| object | - |
|
|
1620
|
-
| `editable.
|
|
1621
|
-
| `editable.icon.color` | string | - | Icon color. |
|
|
1622
|
-
| `editable.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1623
|
-
| `editable.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1624
|
-
| `editable.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1625
|
-
| `editable.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1626
|
-
| `editable.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1627
|
-
| `editable.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1628
|
-
| `editable.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1629
|
-
| `editable.tooltip` | string | - | Tooltip text, shown on the edit icon, or on the text when no icon is set. |
|
|
1614
|
+
| `editable` | boolean \| object | `true` | Allow paragraph editing when true, editable settings can be provided with editable object. |
|
|
1615
|
+
| `editable.icon` | string \| object | - | Edit icon. |
|
|
1616
|
+
| `editable.tooltip` | string | - | Edit tooltip text. |
|
|
1630
1617
|
| `editable.editing` | boolean | - | Control editing state. |
|
|
1631
1618
|
| `editable.maxLength` | number | - | Max length of text area input. |
|
|
1632
|
-
| `editable.autoSize` | boolean \| object | `
|
|
1619
|
+
| `editable.autoSize` | boolean \| object | `false` | Auto size the text area height when editing. |
|
|
1633
1620
|
| `editable.autoSize.minRows` | number | - | Minimum number of rows for the text area. |
|
|
1634
1621
|
| `editable.autoSize.maxRows` | number | - | Maximum number of rows for the text area. |
|
|
1635
1622
|
| `ellipsis` | boolean \| object | `false` | Display ellipsis when text overflows a single line. |
|
|
@@ -1638,13 +1625,12 @@ Editable paragraph text with copyable and ellipsis support.
|
|
|
1638
1625
|
| `ellipsis.suffix` | string | - | Suffix of ellipses content. |
|
|
1639
1626
|
| `italic` | boolean | `false` | Apply italic style. |
|
|
1640
1627
|
| `mark` | boolean | `false` | Apply marked (highlighted) style. |
|
|
1641
|
-
| `placeholder` | string | `"Empty"` | Muted text shown when the paragraph is empty and editable. |
|
|
1642
1628
|
| `strong` | boolean | `false` | Apply strong (bold) style. |
|
|
1643
1629
|
| `type` | string | `"default"` | Additional types. Don't specify for default. Enum: `success`, `default`, `secondary`, `warning`, `danger`. |
|
|
1644
1630
|
| `underline` | boolean | `false` | Apply underline style. |
|
|
1645
1631
|
| `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). |
|
|
1646
|
-
| `theme.titleMarginBottom` | string
|
|
1647
|
-
| `theme.titleMarginTop` | string
|
|
1632
|
+
| `theme.titleMarginBottom` | string | `"0.5em"` | Margin bottom for title elements. |
|
|
1633
|
+
| `theme.titleMarginTop` | string | `"1.2em"` | Margin top for title elements. |
|
|
1648
1634
|
| `theme.colorText` | string | - | Default text color. |
|
|
1649
1635
|
| `theme.colorTextSecondary` | string | - | Text color for secondary type. |
|
|
1650
1636
|
| `theme.colorSuccess` | string | - | Text color for success type. |
|
|
@@ -61,29 +61,6 @@ Password input with visibility toggle.
|
|
|
61
61
|
title: No Placeholder
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
```yaml
|
|
65
|
-
- id: password_prefix_icon
|
|
66
|
-
type: PasswordInput
|
|
67
|
-
properties:
|
|
68
|
-
title: Prefix Icon
|
|
69
|
-
prefixIcon: lock
|
|
70
|
-
placeholder: Password
|
|
71
|
-
- id: password_allow_clear
|
|
72
|
-
type: PasswordInput
|
|
73
|
-
properties:
|
|
74
|
-
title: Allow Clear
|
|
75
|
-
allowClear: true
|
|
76
|
-
prefixIcon: lock
|
|
77
|
-
maxLength: 32
|
|
78
|
-
placeholder: Up to 32 characters
|
|
79
|
-
- id: password_underlined
|
|
80
|
-
type: PasswordInput
|
|
81
|
-
properties:
|
|
82
|
-
title: Underlined
|
|
83
|
-
variant: underlined
|
|
84
|
-
prefix: PIN
|
|
85
|
-
```
|
|
86
|
-
|
|
87
64
|
```yaml
|
|
88
65
|
- id: disabled_empty
|
|
89
66
|
type: PasswordInput
|
|
@@ -356,7 +333,7 @@ Password input with visibility toggle.
|
|
|
356
333
|
properties:
|
|
357
334
|
title: Username
|
|
358
335
|
placeholder: Enter your username
|
|
359
|
-
prefixIcon:
|
|
336
|
+
prefixIcon: AiOutlineUser
|
|
360
337
|
- id: login_password
|
|
361
338
|
type: PasswordInput
|
|
362
339
|
required: true
|
|
@@ -370,7 +347,7 @@ Password input with visibility toggle.
|
|
|
370
347
|
type: Button
|
|
371
348
|
properties:
|
|
372
349
|
title: Sign In
|
|
373
|
-
icon:
|
|
350
|
+
icon: AiOutlineLogin
|
|
374
351
|
type: primary
|
|
375
352
|
size: large
|
|
376
353
|
block: true
|
|
@@ -420,7 +397,7 @@ Password input with visibility toggle.
|
|
|
420
397
|
type: Button
|
|
421
398
|
properties:
|
|
422
399
|
title: Update Password
|
|
423
|
-
icon:
|
|
400
|
+
icon: AiOutlineLock
|
|
424
401
|
type: primary
|
|
425
402
|
size: large
|
|
426
403
|
block: true
|
|
@@ -435,52 +412,26 @@ Password input with visibility toggle.
|
|
|
435
412
|
|
|
436
413
|
| Property | Type | Default | Description |
|
|
437
414
|
| --- | --- | --- | --- |
|
|
438
|
-
| `allowClear` | boolean | `false` | Allow the user to clear their input. |
|
|
439
415
|
| `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
|
|
440
416
|
| `bordered` | boolean | `true` | Whether or not the input has a border style. Deprecated, use variant instead. |
|
|
441
417
|
| `disabled` | boolean | `false` | Disable the block if true. |
|
|
442
|
-
| `maxLength` | integer | - | The max number of input characters. |
|
|
443
418
|
| `placeholder` | string | - | Placeholder text inside the block before user types input. |
|
|
444
|
-
| `prefix` | string | - | Prefix text for the block, priority over prefixIcon. |
|
|
445
|
-
| `prefixIcon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to customize icon to prefix the password input. |
|
|
446
|
-
| `prefixIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
447
|
-
| `prefixIcon.color` | string | - | Icon color. |
|
|
448
|
-
| `prefixIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
449
|
-
| `prefixIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
450
|
-
| `prefixIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
451
|
-
| `prefixIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
452
|
-
| `prefixIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
453
|
-
| `prefixIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
454
|
-
| `prefixIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
455
419
|
| `label` | object | - | Label properties. |
|
|
456
|
-
| `label.xs` | object | - | Label width on extra small screens (below 576px) when the label is not inline. |
|
|
457
|
-
| `label.xs.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
458
|
-
| `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. |
|
|
459
|
-
| `label.sm.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
460
|
-
| `label.md` | object | - | Label width on medium screens (768px and up) when the label is not inline. Overrides `span`. |
|
|
461
|
-
| `label.md.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
462
|
-
| `label.lg` | object | - | Label width on large screens (992px and up) when the label is not inline. |
|
|
463
|
-
| `label.lg.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
464
|
-
| `label.xl` | object | - | Label width on extra large screens (1200px and up) when the label is not inline. |
|
|
465
|
-
| `label.xl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
466
|
-
| `label.xxl` | object | - | Label width on extra extra large screens (1600px and up) when the label is not inline. |
|
|
467
|
-
| `label.xxl.span` | number | - | Label width in columns, out of 24. The content takes the remaining columns. |
|
|
468
420
|
| `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
|
|
469
421
|
| `label.colon` | boolean | `true` | Append label with colon. |
|
|
470
422
|
| `label.extra` | string | - | Extra text to display beneath the content - supports html. |
|
|
471
423
|
| `label.title` | string | - | Label title - supports html. |
|
|
472
424
|
| `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. |
|
|
473
425
|
| `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
|
|
474
|
-
| `label.tooltip.icon` | string | `"
|
|
426
|
+
| `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
|
|
475
427
|
| `label.tooltip.color` | string | - | Color of the tooltip icon. |
|
|
476
|
-
| `label.span` | number | - | Label
|
|
428
|
+
| `label.span` | number | - | Label inline span. |
|
|
477
429
|
| `label.disabled` | boolean | `false` | Hide input label. |
|
|
478
430
|
| `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
|
|
479
431
|
| `label.inline` | boolean | `false` | Render input and label inline. |
|
|
480
|
-
| `label.wrap` | boolean | `false` | Wrap long label text onto multiple lines when the label is inline. Labels above their input always wrap. |
|
|
481
432
|
| `size` | string | `"default"` | Size of the block. Enum: `small`, `default`, `large`. |
|
|
482
433
|
| `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
|
|
483
|
-
| `variant` | string | - | Input visual variant.
|
|
434
|
+
| `variant` | string | - | Input visual variant. When set, takes precedence over bordered. Enum: `outlined`, `filled`, `borderless`. |
|
|
484
435
|
| `visibilityToggle` | boolean | `true` | Show password visibility toggle button. |
|
|
485
436
|
| `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). |
|
|
486
437
|
| `theme.activeBorderColor` | string | `"#1677ff"` | Border color when the input is active (focused). |
|
|
@@ -502,9 +453,6 @@ Password input with visibility toggle.
|
|
|
502
453
|
| `theme.hoverBorderColor` | string | `"#4096ff"` | Border color when hovering over the input. |
|
|
503
454
|
| `theme.hoverBg` | string | `"#ffffff"` | Background color when hovering over the input. |
|
|
504
455
|
| `theme.activeBg` | string | `"#ffffff"` | Background color when the input is active (focused). |
|
|
505
|
-
| `theme.inputFontSize` | number | `14` | Font size of the input text. |
|
|
506
|
-
| `theme.inputFontSizeLG` | number | `16` | Font size of the input text for large inputs. |
|
|
507
|
-
| `theme.inputFontSizeSM` | number | `14` | Font size of the input text for small inputs. |
|
|
508
456
|
| `theme.paddingBlock` | number | `4` | Vertical padding of the input. |
|
|
509
457
|
| `theme.paddingBlockLG` | number | `7` | Vertical padding for large inputs. |
|
|
510
458
|
| `theme.paddingBlockSM` | number | `0` | Vertical padding for small inputs. |
|
|
@@ -517,7 +465,6 @@ Password input with visibility toggle.
|
|
|
517
465
|
| --- | --- | --- |
|
|
518
466
|
| `onBlur` | \- | Trigger action event occurs when text input loses focus. |
|
|
519
467
|
| `onChange` | `{ value }` | Trigger action when text input is changed. |
|
|
520
|
-
| `onClear` | \- | Trigger action when the clear button is clicked. |
|
|
521
468
|
| `onFocus` | \- | Trigger action when text input gets focus. |
|
|
522
469
|
| `onPressEnter` | \- | Trigger action when enter is pressed while text input is focused. |
|
|
523
470
|
| `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
|
|
@@ -529,6 +476,5 @@ Password input with visibility toggle.
|
|
|
529
476
|
| `/label` | The PasswordInput label. |
|
|
530
477
|
| `/extra` | The PasswordInput extra content. |
|
|
531
478
|
| `/feedback` | The PasswordInput validation feedback. |
|
|
532
|
-
| `/prefixIcon` | The prefix icon in the PasswordInput. |
|
|
533
479
|
|
|
534
480
|
No slots defined.
|