@lowdefy/docs-content 6.1.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/content/actions/downloadcsv.md +1 -1
- package/content/actions/emailotpsend.md +58 -0
- package/content/actions/emailotpverify.md +79 -0
- package/content/actions/getlocalstorage.md +43 -0
- package/content/actions/link.md +47 -1
- package/content/actions/login.md +25 -5
- package/content/actions/logout.md +7 -5
- package/content/actions/magiclinkverify.md +117 -0
- package/content/actions/pdfmake.md +2 -2
- package/content/actions/posthogalias.md +29 -0
- package/content/actions/posthogcapture.md +49 -0
- package/content/actions/posthogcapturepageleave.md +38 -0
- package/content/actions/posthogfeatureflag.md +50 -0
- package/content/actions/posthoggroup.md +37 -0
- package/content/actions/posthogidentify.md +54 -0
- package/content/actions/posthoginit.md +96 -0
- package/content/actions/posthogoptin.md +29 -0
- package/content/actions/posthogoptout.md +29 -0
- package/content/actions/posthogpageview.md +37 -0
- package/content/actions/posthogreloadfeatureflags.md +47 -0
- package/content/actions/posthogreset.md +28 -0
- package/content/actions/posthogsetpersonproperties.md +36 -0
- package/content/actions/removelocalstorage.md +28 -0
- package/content/actions/resetvalidation.md +5 -3
- package/content/actions/setdarkmode.md +3 -3
- package/content/actions/setglobal.md +2 -0
- package/content/actions/setlocale.md +1 -1
- package/content/actions/setlocalstorage.md +34 -0
- package/content/actions/setstate.md +2 -0
- package/content/actions/validate.md +7 -4
- package/content/adapter-reference/mongodbauthadapter.md +46 -0
- package/content/agents/agent-endpoint-tools.md +24 -0
- package/content/agents/agent-properties.md +13 -3
- package/content/agents/agent-server-hooks.md +1 -1
- package/content/agents/agentchat.md +43 -7
- package/content/agents/agentconversations.md +42 -8
- package/content/agents/agents-introduction.md +107 -0
- package/content/callback-reference/auth0logoutcallback.md +54 -0
- package/content/concepts/ai-agent-docs.md +455 -106
- package/content/concepts/blocks.md +150 -0
- package/content/concepts/connections-and-requests.md +402 -0
- package/content/concepts/custom-html.md +42 -0
- package/content/concepts/custom-styling.md +50 -5
- package/content/concepts/dynamic-page-content.md +309 -0
- package/content/concepts/events-and-actions.md +154 -2
- package/content/concepts/four-primitives.md +31 -0
- package/content/concepts/html-attributes.md +293 -0
- package/content/concepts/i18n.md +8 -3
- package/content/concepts/keyboard-shortcuts.md +2 -2
- package/content/concepts/layout-overview.md +1 -1
- package/content/concepts/logger.md +99 -0
- package/content/concepts/lowdefy-api.md +1319 -0
- package/content/concepts/lowdefy-schema.md +136 -3
- package/content/concepts/menus.md +8 -7
- package/content/concepts/module-authoring.md +76 -5
- package/content/concepts/modules.md +3 -1
- package/content/concepts/notifications.md +180 -0
- package/content/concepts/operators.md +7 -0
- package/content/concepts/page-and-app-state.md +252 -0
- package/content/concepts/page-paths.md +209 -0
- package/content/concepts/theming.md +582 -0
- package/content/connections/aigateway.md +375 -0
- package/content/connections/anthropic.md +169 -2
- package/content/connections/awss3.md +178 -2
- package/content/connections/axioshttp.md +181 -0
- package/content/connections/google.md +169 -2
- package/content/connections/mongodb.md +1014 -3
- package/content/connections/openai-connection.md +169 -2
- package/content/connections/sendgridmail.md +2 -0
- package/content/connections/smtp.md +3 -1
- package/content/connections/treg.md +329 -0
- package/content/container-blocks/affix.md +47 -7
- package/content/container-blocks/alert.md +76 -24
- package/content/container-blocks/badge.md +100 -24
- package/content/container-blocks/box.md +9 -9
- package/content/container-blocks/card.md +132 -27
- package/content/container-blocks/carousel.md +60 -7
- package/content/container-blocks/collapse.md +153 -9
- package/content/container-blocks/configprovider.md +35 -13
- package/content/container-blocks/confirmmodal.md +69 -23
- package/content/container-blocks/content.md +62 -98
- package/content/container-blocks/descriptions.md +45 -4
- package/content/container-blocks/drawer.md +139 -28
- package/content/container-blocks/dropdownmenu.md +119 -31
- package/content/container-blocks/flex.md +40 -62
- package/content/container-blocks/footer.md +15 -11
- package/content/container-blocks/googlemapsheatmap.md +1 -1
- package/content/container-blocks/googlemapsscript.md +2 -2
- package/content/container-blocks/header.md +71 -36
- package/content/container-blocks/label.md +34 -7
- package/content/container-blocks/layout.md +52 -34
- package/content/container-blocks/masonry.md +17 -71
- package/content/container-blocks/mobilemenu.md +131 -88
- package/content/container-blocks/modal.md +161 -26
- package/content/container-blocks/pageheadermenu.md +138 -31
- package/content/container-blocks/pagesidebarlayout.md +230 -27
- package/content/container-blocks/pagesidermenu.md +153 -43
- package/content/container-blocks/popover.md +34 -31
- package/content/container-blocks/result.md +32 -21
- package/content/container-blocks/sider.md +85 -122
- package/content/container-blocks/span.md +7 -7
- package/content/container-blocks/spinner.md +3 -3
- package/content/container-blocks/splitter.md +150 -68
- package/content/container-blocks/tabs.md +64 -12
- package/content/container-blocks/tooltip.md +22 -46
- package/content/container-blocks/watermark.md +22 -4
- package/content/controls/parallel_for.md +21 -2
- package/content/controls/reject.md +24 -3
- package/content/controls/return.md +17 -1
- package/content/controls/throw.md +1 -0
- package/content/controls/try.md +4 -2
- package/content/controls/while.md +46 -0
- package/content/deployment/deployment-environments.md +10 -7
- package/content/deployment/docker.md +22 -7
- package/content/deployment/node-server.md +4 -0
- package/content/deployment/vercel.md +17 -6
- package/content/display-blocks/aggrid.md +33 -16
- package/content/display-blocks/anchor.md +16 -15
- package/content/display-blocks/avatar.md +57 -37
- package/content/display-blocks/breadcrumb.md +70 -21
- package/content/display-blocks/button.md +93 -19
- package/content/display-blocks/calendar.md +12 -0
- package/content/display-blocks/clickablehtml.md +239 -0
- package/content/display-blocks/dangeroushtml.md +1 -1
- package/content/display-blocks/difflist.md +1 -1
- package/content/display-blocks/difftimeline.md +1 -1
- package/content/display-blocks/divider.md +64 -3
- package/content/display-blocks/dropdownbutton.md +81 -30
- package/content/display-blocks/echart.md +35 -1
- package/content/display-blocks/eventlog.md +363 -0
- package/content/display-blocks/floatbutton.md +129 -42
- package/content/display-blocks/html.md +61 -1
- package/content/display-blocks/icon.md +250 -67
- package/content/display-blocks/img.md +2 -2
- package/content/display-blocks/menu.md +146 -73
- package/content/display-blocks/message.md +38 -124
- package/content/display-blocks/notification.md +94 -222
- package/content/display-blocks/paragraph.md +59 -9
- package/content/display-blocks/pollingtimer.md +263 -0
- package/content/display-blocks/progress.md +96 -17
- package/content/display-blocks/qrcode.md +19 -4
- package/content/display-blocks/s3download.md +1 -1
- package/content/display-blocks/search.md +19 -9
- package/content/display-blocks/skeletonbutton.md +1 -0
- package/content/display-blocks/skeletoninput.md +1 -0
- package/content/display-blocks/statistic.md +75 -17
- package/content/display-blocks/steps.md +58 -25
- package/content/display-blocks/table.md +2527 -0
- package/content/display-blocks/tablelight.md +621 -0
- package/content/display-blocks/tag.md +102 -17
- package/content/display-blocks/title.md +50 -11
- package/content/display-blocks/tour.md +33 -23
- package/content/input-blocks/autocomplete.md +81 -9
- package/content/input-blocks/buttonselector.md +45 -8
- package/content/input-blocks/captcha.md +40 -0
- package/content/input-blocks/checkboxselector.md +97 -7
- package/content/input-blocks/checkboxswitch.md +33 -3
- package/content/input-blocks/colorselector.md +63 -14
- package/content/input-blocks/daterangeselector.md +165 -45
- package/content/input-blocks/dateselector.md +139 -41
- package/content/input-blocks/datetimeselector.md +158 -49
- package/content/input-blocks/inputgallery.md +3 -3
- package/content/input-blocks/intentinput.md +207 -0
- package/content/input-blocks/monthselector.md +120 -52
- package/content/input-blocks/multipleselector.md +150 -39
- package/content/input-blocks/numberinput.md +98 -12
- package/content/input-blocks/pagination.md +70 -14
- package/content/input-blocks/paragraphinput.md +51 -37
- package/content/input-blocks/passwordinput.md +60 -6
- package/content/input-blocks/phonenumberinput.md +59 -26
- package/content/input-blocks/placesautocomplete.md +319 -0
- package/content/input-blocks/radioselector.md +83 -7
- package/content/input-blocks/ratingslider.md +57 -26
- package/content/input-blocks/s3uploadbutton.md +24 -24
- package/content/input-blocks/s3uploaddragger.md +3 -3
- package/content/input-blocks/s3uploadphoto.md +5 -5
- package/content/input-blocks/segmentedselector.md +72 -32
- package/content/input-blocks/selector.md +109 -21
- package/content/input-blocks/switch.md +65 -17
- package/content/input-blocks/tableinput.md +445 -0
- package/content/input-blocks/tagmultipleselector.md +114 -0
- package/content/input-blocks/tagselector.md +114 -0
- package/content/input-blocks/textarea.md +32 -3
- package/content/input-blocks/textinput.md +70 -29
- package/content/input-blocks/tiptapinput.md +1 -1
- package/content/input-blocks/tiptapmentioninput.md +2 -2
- package/content/input-blocks/titleinput.md +39 -12
- package/content/input-blocks/treeinput.md +49 -25
- package/content/input-blocks/treemultipleselector.md +127 -10
- package/content/input-blocks/treeselector.md +97 -9
- package/content/input-blocks/upload.md +64 -15
- package/content/input-blocks/uploaddragger.md +17 -1
- package/content/input-blocks/uploadphoto.md +18 -1
- package/content/input-blocks/weekselector.md +120 -55
- package/content/learn/introduction.md +27 -0
- package/content/learn/quickstart.md +53 -0
- package/content/learn/showcase.md +8 -0
- package/content/list-blocks/controlledlist.md +24 -15
- package/content/list-blocks/list.md +11 -11
- package/content/list-blocks/masonrylist.md +7 -34
- package/content/migration/auth-upgrade.md +337 -0
- package/content/migration/upgrade-guide.md +1 -0
- package/content/migration/v3-to-v4.md +417 -0
- package/content/migration/v6-to-v7.md +620 -0
- package/content/operators/_agent.md +155 -0
- package/content/operators/_app.md +2 -1
- package/content/operators/_array.md +122 -1
- package/content/operators/_build.md +1 -0
- package/content/operators/_credential.md +57 -0
- package/content/operators/_cron.md +292 -0
- package/content/operators/_date.md +2 -0
- package/content/operators/_error.md +24 -1
- package/content/operators/_get.md +6 -6
- package/content/operators/_hmac.md +78 -0
- package/content/operators/_js.md +2 -1
- package/content/operators/_location.md +1 -1
- package/content/operators/_media.md +13 -0
- package/content/operators/_module.md +56 -2
- package/content/operators/_operator.md +17 -3
- package/content/operators/_path_params.md +82 -0
- package/content/operators/_ref.md +258 -0
- package/content/operators/_request.md +1 -1
- package/content/operators/_request_details.md +6 -0
- package/content/operators/_type.md +14 -3
- package/content/operators/_url_query.md +2 -0
- package/content/operators/_user.md +3 -3
- package/content/plugins/plugins-actions.md +10 -0
- package/content/plugins/plugins-connections.md +25 -0
- package/content/plugins/plugins-dev.md +66 -0
- package/content/plugins/plugins-icon-sets.md +267 -0
- package/content/plugins/plugins-introduction.md +27 -1
- package/content/plugins/plugins.md +19 -0
- package/content/plugins/posthog.md +359 -0
- package/content/provider-reference/auth-js-providers.md +107 -0
- package/content/provider-reference/openidconnectprovider.md +44 -0
- package/content/recipes/recipes.md +16 -0
- package/content/reference/actions-reference.md +31 -0
- package/content/reference/blocks-reference.md +35 -0
- package/content/reference/cli.md +403 -0
- package/content/reference/connections-reference.md +23 -0
- package/content/reference/operators-reference.md +47 -0
- package/content/reference/reference.md +16 -0
- package/content/reference/schema-reference.md +12 -0
- package/content/testing/config-tests.md +677 -0
- package/content/testing/e2e-configuration.md +31 -1
- package/content/testing/e2e-getting-started.md +1 -1
- package/content/testing/e2e-introduction.md +1 -1
- package/content/testing/e2e-writing-tests.md +12 -1
- package/content/testing/explore-pull-request.md +136 -0
- package/content/testing/journey-data-sets.md +326 -0
- package/content/tutorial/tutorial-actions-operators.md +2 -2
- package/content/tutorial/tutorial-add-blocks.md +2 -2
- package/content/tutorial/tutorial-create-page.md +48 -2
- package/content/tutorial/tutorial-display-data-page.md +3 -3
- package/content/tutorial/tutorial-requests-api.md +155 -0
- package/content/tutorial/tutorial-requests-sql.md +153 -0
- package/content/tutorial/tutorial-start.md +66 -1
- package/content/user-authentication/auth-configuration.md +267 -0
- package/content/user-authentication/auth-providers.md +24 -0
- package/content/user-authentication/auth-steps.md +141 -0
- package/content/user-authentication/login-and-logout.md +160 -8
- package/content/user-authentication/mcp-oauth.md +424 -0
- package/content/user-authentication/organizations.md +246 -0
- package/content/user-authentication/protected-pages-apis.md +97 -0
- package/content/user-authentication/roles.md +49 -0
- package/content/user-authentication/two-factor.md +229 -0
- package/content/user-authentication/user-object.md +58 -0
- package/content/user-authentication/users-introduction.md +8 -0
- package/content/websockets/websocket-publish.md +105 -0
- package/content/websockets/websocket-subscriptions.md +136 -0
- package/content/websockets/websockets-introduction.md +101 -0
- package/hazards.json +56 -0
- package/index.json +3458 -14
- package/package.json +10 -1
- package/scripts/extractAgentDocs.js +41 -30
- package/scripts/hashDocSources.js +38 -0
- package/scripts/isRedirectPage.js +26 -0
- package/scripts/recordSourceHashes.js +97 -0
- package/scripts/resolvePageSections.js +42 -0
- package/scripts/sectionKind.js +27 -0
- package/content/concepts/cli.md +0 -223
- package/content/other/introduction.md +0 -39
- package/content/other/next-auth-providers.md +0 -3
- /package/content/{other → actions}/updatesession.md +0 -0
|
@@ -463,11 +463,11 @@ Display an image with optional fallback.
|
|
|
463
463
|
| `alt` | string | - | Alternative text description of the image. |
|
|
464
464
|
| `crossOrigin` | string | - | Indicates if the fetching of the image must be done using a CORS request. Enum: `anonymous`, `use-credentials`. |
|
|
465
465
|
| `decoding` | string | - | An image decoding hint to the browser. Sync for atomic presentation with other content, async, to reduce delay in presenting other content and auto leave to browser to decide. Enum: `sync`, `async`, `auto`. |
|
|
466
|
-
| `height` | number | - | Height of the image. |
|
|
466
|
+
| `height` | number \| string | - | Height of the image: a number of pixels, or a string such as `100%` or `auto` that the browser reads as the height attribute. |
|
|
467
467
|
| `loading` | string | - | How the browser should load the image. Eager loads the image immediately, lazy, defers loading until the image it reaches a calculated distance from the viewport, as defined by the browser. Enum: `eager`, `lazy`. |
|
|
468
468
|
| `sizes` | string | - | Indicating a set of source sizes of strings separated by commas. |
|
|
469
469
|
| `srcSet` | string | - | Possible image sources for the user agent to use, strings separated by commas. |
|
|
470
|
-
| `width` | number | - | Width of the image. |
|
|
470
|
+
| `width` | number \| string | - | Width of the image: a number of pixels, or a string such as `100%` that the browser reads as the width attribute. |
|
|
471
471
|
|
|
472
472
|
No events defined.
|
|
473
473
|
|
|
@@ -12,7 +12,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
12
12
|
type: MenuLink
|
|
13
13
|
properties:
|
|
14
14
|
title: Home
|
|
15
|
-
icon:
|
|
15
|
+
icon: home
|
|
16
16
|
- id: mh_about
|
|
17
17
|
type: MenuLink
|
|
18
18
|
properties:
|
|
@@ -45,17 +45,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
45
45
|
type: MenuLink
|
|
46
46
|
properties:
|
|
47
47
|
title: Dashboard
|
|
48
|
-
icon:
|
|
48
|
+
icon: home
|
|
49
49
|
- id: mv_users
|
|
50
50
|
type: MenuLink
|
|
51
51
|
properties:
|
|
52
52
|
title: Users
|
|
53
|
-
icon:
|
|
53
|
+
icon: user
|
|
54
54
|
- id: mv_settings
|
|
55
55
|
type: MenuGroup
|
|
56
56
|
properties:
|
|
57
57
|
title: Settings
|
|
58
|
-
icon:
|
|
58
|
+
icon: settings
|
|
59
59
|
links:
|
|
60
60
|
- id: mv_profile
|
|
61
61
|
type: MenuLink
|
|
@@ -78,7 +78,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
78
78
|
type: MenuGroup
|
|
79
79
|
properties:
|
|
80
80
|
title: Navigation
|
|
81
|
-
icon:
|
|
81
|
+
icon: grid
|
|
82
82
|
links:
|
|
83
83
|
- id: mi_option1
|
|
84
84
|
type: MenuLink
|
|
@@ -92,7 +92,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
92
92
|
type: MenuGroup
|
|
93
93
|
properties:
|
|
94
94
|
title: Tools
|
|
95
|
-
icon:
|
|
95
|
+
icon: Wrench
|
|
96
96
|
links:
|
|
97
97
|
- id: mi_option3
|
|
98
98
|
type: MenuLink
|
|
@@ -116,17 +116,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
116
116
|
type: MenuLink
|
|
117
117
|
properties:
|
|
118
118
|
title: Mail
|
|
119
|
-
icon:
|
|
119
|
+
icon: mail
|
|
120
120
|
- id: lt_calendar
|
|
121
121
|
type: MenuLink
|
|
122
122
|
properties:
|
|
123
123
|
title: Calendar
|
|
124
|
-
icon:
|
|
124
|
+
icon: calendar
|
|
125
125
|
- id: lt_settings
|
|
126
126
|
type: MenuLink
|
|
127
127
|
properties:
|
|
128
128
|
title: Settings
|
|
129
|
-
icon:
|
|
129
|
+
icon: settings
|
|
130
130
|
- id: lt_dividers_menu
|
|
131
131
|
type: Menu
|
|
132
132
|
style:
|
|
@@ -138,19 +138,19 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
138
138
|
type: MenuLink
|
|
139
139
|
properties:
|
|
140
140
|
title: General
|
|
141
|
-
icon:
|
|
141
|
+
icon: settings
|
|
142
142
|
- id: lt_profile
|
|
143
143
|
type: MenuLink
|
|
144
144
|
properties:
|
|
145
145
|
title: Profile
|
|
146
|
-
icon:
|
|
146
|
+
icon: user
|
|
147
147
|
- id: lt_solid_divider
|
|
148
148
|
type: MenuDivider
|
|
149
149
|
- id: lt_files
|
|
150
150
|
type: MenuLink
|
|
151
151
|
properties:
|
|
152
152
|
title: Files
|
|
153
|
-
icon:
|
|
153
|
+
icon: file
|
|
154
154
|
- id: lt_dashed_divider
|
|
155
155
|
type: MenuDivider
|
|
156
156
|
properties:
|
|
@@ -159,7 +159,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
159
159
|
type: MenuLink
|
|
160
160
|
properties:
|
|
161
161
|
title: Logout
|
|
162
|
-
icon:
|
|
162
|
+
icon: logout
|
|
163
163
|
- id: lt_nested_menu
|
|
164
164
|
type: Menu
|
|
165
165
|
style:
|
|
@@ -173,7 +173,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
173
173
|
type: MenuGroup
|
|
174
174
|
properties:
|
|
175
175
|
title: Navigation
|
|
176
|
-
icon:
|
|
176
|
+
icon: grid
|
|
177
177
|
links:
|
|
178
178
|
- id: lt_child_group
|
|
179
179
|
type: MenuGroup
|
|
@@ -203,19 +203,19 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
203
203
|
type: MenuLink
|
|
204
204
|
properties:
|
|
205
205
|
title: Edit
|
|
206
|
-
icon:
|
|
206
|
+
icon: edit
|
|
207
207
|
- id: lt_copy
|
|
208
208
|
type: MenuLink
|
|
209
209
|
properties:
|
|
210
210
|
title: Copy
|
|
211
|
-
icon:
|
|
211
|
+
icon: copy
|
|
212
212
|
- id: lt_danger_divider
|
|
213
213
|
type: MenuDivider
|
|
214
214
|
- id: lt_delete
|
|
215
215
|
type: MenuLink
|
|
216
216
|
properties:
|
|
217
217
|
title: Delete
|
|
218
|
-
icon:
|
|
218
|
+
icon: delete
|
|
219
219
|
danger: true
|
|
220
220
|
```
|
|
221
221
|
|
|
@@ -253,7 +253,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
253
253
|
type: MenuGroup
|
|
254
254
|
properties:
|
|
255
255
|
title: Group 1
|
|
256
|
-
icon:
|
|
256
|
+
icon: folder
|
|
257
257
|
links:
|
|
258
258
|
- id: dok_item1
|
|
259
259
|
type: MenuLink
|
|
@@ -267,7 +267,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
267
267
|
type: MenuGroup
|
|
268
268
|
properties:
|
|
269
269
|
title: Group 2
|
|
270
|
-
icon:
|
|
270
|
+
icon: FolderOpen
|
|
271
271
|
links:
|
|
272
272
|
- id: dok_item3
|
|
273
273
|
type: MenuLink
|
|
@@ -286,17 +286,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
286
286
|
type: MenuLink
|
|
287
287
|
properties:
|
|
288
288
|
title: Dashboard
|
|
289
|
-
icon:
|
|
289
|
+
icon: home
|
|
290
290
|
- id: sk_multi_b
|
|
291
291
|
type: MenuLink
|
|
292
292
|
properties:
|
|
293
293
|
title: Reports
|
|
294
|
-
icon:
|
|
294
|
+
icon: chart
|
|
295
295
|
- id: sk_multi_c
|
|
296
296
|
type: MenuLink
|
|
297
297
|
properties:
|
|
298
298
|
title: Settings
|
|
299
|
-
icon:
|
|
299
|
+
icon: settings
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
```yaml
|
|
@@ -312,17 +312,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
312
312
|
type: MenuLink
|
|
313
313
|
properties:
|
|
314
314
|
title: Home
|
|
315
|
-
icon:
|
|
315
|
+
icon: home
|
|
316
316
|
- id: io_users
|
|
317
317
|
type: MenuLink
|
|
318
318
|
properties:
|
|
319
319
|
title: Users
|
|
320
|
-
icon:
|
|
320
|
+
icon: user
|
|
321
321
|
- id: io_settings
|
|
322
322
|
type: MenuLink
|
|
323
323
|
properties:
|
|
324
324
|
title: Settings
|
|
325
|
-
icon:
|
|
325
|
+
icon: settings
|
|
326
326
|
- id: io_indent_menu
|
|
327
327
|
type: Menu
|
|
328
328
|
style:
|
|
@@ -337,7 +337,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
337
337
|
type: MenuGroup
|
|
338
338
|
properties:
|
|
339
339
|
title: Deep Indent
|
|
340
|
-
icon:
|
|
340
|
+
icon: sidebar-collapse
|
|
341
341
|
links:
|
|
342
342
|
- id: io_ind_a
|
|
343
343
|
type: MenuLink
|
|
@@ -353,7 +353,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
353
353
|
width: 256
|
|
354
354
|
properties:
|
|
355
355
|
mode: inline
|
|
356
|
-
expandIcon:
|
|
356
|
+
expandIcon: chevron-right
|
|
357
357
|
defaultOpenKeys:
|
|
358
358
|
- io_exp_group
|
|
359
359
|
links:
|
|
@@ -361,7 +361,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
361
361
|
type: MenuGroup
|
|
362
362
|
properties:
|
|
363
363
|
title: Custom Expand Icon
|
|
364
|
-
icon:
|
|
364
|
+
icon: grid
|
|
365
365
|
links:
|
|
366
366
|
- id: io_exp_a
|
|
367
367
|
type: MenuLink
|
|
@@ -387,7 +387,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
387
387
|
type: MenuGroup
|
|
388
388
|
properties:
|
|
389
389
|
title: Instant Open
|
|
390
|
-
icon:
|
|
390
|
+
icon: Zap
|
|
391
391
|
links:
|
|
392
392
|
- id: sd_fast_a
|
|
393
393
|
type: MenuLink
|
|
@@ -410,7 +410,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
410
410
|
type: MenuGroup
|
|
411
411
|
properties:
|
|
412
412
|
title: Slow Submenu
|
|
413
|
-
icon:
|
|
413
|
+
icon: clock
|
|
414
414
|
links:
|
|
415
415
|
- id: sd_slow_a
|
|
416
416
|
type: MenuLink
|
|
@@ -432,7 +432,7 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
432
432
|
type: MenuGroup
|
|
433
433
|
properties:
|
|
434
434
|
title: Pre-rendered Submenu
|
|
435
|
-
icon:
|
|
435
|
+
icon: RefreshCw
|
|
436
436
|
links:
|
|
437
437
|
- id: sd_force_a
|
|
438
438
|
type: MenuLink
|
|
@@ -444,6 +444,37 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
444
444
|
title: Before Visible
|
|
445
445
|
```
|
|
446
446
|
|
|
447
|
+
```yaml
|
|
448
|
+
- id: tsa_click_menu
|
|
449
|
+
type: Menu
|
|
450
|
+
style:
|
|
451
|
+
.element:
|
|
452
|
+
width: 256px
|
|
453
|
+
properties:
|
|
454
|
+
mode: vertical
|
|
455
|
+
triggerSubMenuAction: click
|
|
456
|
+
links:
|
|
457
|
+
- id: tsa_reports
|
|
458
|
+
type: MenuGroup
|
|
459
|
+
properties:
|
|
460
|
+
title: Reports
|
|
461
|
+
icon: chart
|
|
462
|
+
links:
|
|
463
|
+
- id: tsa_sales
|
|
464
|
+
type: MenuLink
|
|
465
|
+
properties:
|
|
466
|
+
title: Sales
|
|
467
|
+
- id: tsa_stock
|
|
468
|
+
type: MenuLink
|
|
469
|
+
properties:
|
|
470
|
+
title: Stock
|
|
471
|
+
- id: tsa_settings
|
|
472
|
+
type: MenuLink
|
|
473
|
+
properties:
|
|
474
|
+
title: Settings
|
|
475
|
+
icon: settings
|
|
476
|
+
```
|
|
477
|
+
|
|
447
478
|
```yaml
|
|
448
479
|
- id: css_tailwind_menu
|
|
449
480
|
type: Menu
|
|
@@ -457,22 +488,22 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
457
488
|
type: MenuLink
|
|
458
489
|
properties:
|
|
459
490
|
title: Home
|
|
460
|
-
icon:
|
|
491
|
+
icon: home
|
|
461
492
|
- id: css_tw_reports
|
|
462
493
|
type: MenuLink
|
|
463
494
|
properties:
|
|
464
495
|
title: Reports
|
|
465
|
-
icon:
|
|
496
|
+
icon: chart
|
|
466
497
|
- id: css_tw_settings
|
|
467
498
|
type: MenuLink
|
|
468
499
|
properties:
|
|
469
500
|
title: Settings
|
|
470
|
-
icon:
|
|
501
|
+
icon: settings
|
|
471
502
|
- id: css_inline_menu
|
|
472
503
|
type: Menu
|
|
473
504
|
style:
|
|
474
505
|
width: 256
|
|
475
|
-
border: 1px solid
|
|
506
|
+
border: "1px solid #d9d9d9"
|
|
476
507
|
borderRadius: 8
|
|
477
508
|
padding: 4
|
|
478
509
|
properties:
|
|
@@ -482,12 +513,12 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
482
513
|
type: MenuLink
|
|
483
514
|
properties:
|
|
484
515
|
title: Dashboard
|
|
485
|
-
icon:
|
|
516
|
+
icon: Gauge
|
|
486
517
|
- id: css_in_analytics
|
|
487
518
|
type: MenuLink
|
|
488
519
|
properties:
|
|
489
520
|
title: Analytics
|
|
490
|
-
icon:
|
|
521
|
+
icon: ChartLine
|
|
491
522
|
- id: css_dark_bg
|
|
492
523
|
type: Box
|
|
493
524
|
class: bg-gradient-to-b from-slate-900 to-slate-800 p-4 rounded-lg
|
|
@@ -502,17 +533,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
502
533
|
type: MenuLink
|
|
503
534
|
properties:
|
|
504
535
|
title: Home
|
|
505
|
-
icon:
|
|
536
|
+
icon: home
|
|
506
537
|
- id: css_dk_explore
|
|
507
538
|
type: MenuLink
|
|
508
539
|
properties:
|
|
509
540
|
title: Explore
|
|
510
|
-
icon:
|
|
541
|
+
icon: Compass
|
|
511
542
|
- id: css_dk_profile
|
|
512
543
|
type: MenuLink
|
|
513
544
|
properties:
|
|
514
545
|
title: Profile
|
|
515
|
-
icon:
|
|
546
|
+
icon: user
|
|
516
547
|
- id: css_link_style_menu
|
|
517
548
|
type: Menu
|
|
518
549
|
style:
|
|
@@ -556,17 +587,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
556
587
|
type: MenuLink
|
|
557
588
|
properties:
|
|
558
589
|
title: Home
|
|
559
|
-
icon:
|
|
590
|
+
icon: home
|
|
560
591
|
- id: tt_active
|
|
561
592
|
type: MenuLink
|
|
562
593
|
properties:
|
|
563
594
|
title: Active
|
|
564
|
-
icon:
|
|
595
|
+
icon: star
|
|
565
596
|
- id: tt_settings
|
|
566
597
|
type: MenuLink
|
|
567
598
|
properties:
|
|
568
599
|
title: Settings
|
|
569
|
-
icon:
|
|
600
|
+
icon: settings
|
|
570
601
|
- id: tt_sizing_menu
|
|
571
602
|
type: Menu
|
|
572
603
|
style:
|
|
@@ -584,17 +615,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
584
615
|
type: MenuLink
|
|
585
616
|
properties:
|
|
586
617
|
title: Dashboard
|
|
587
|
-
icon:
|
|
618
|
+
icon: home
|
|
588
619
|
- id: tt_sz_reports
|
|
589
620
|
type: MenuLink
|
|
590
621
|
properties:
|
|
591
622
|
title: Reports
|
|
592
|
-
icon:
|
|
623
|
+
icon: chart
|
|
593
624
|
- id: tt_sz_settings
|
|
594
625
|
type: MenuLink
|
|
595
626
|
properties:
|
|
596
627
|
title: Settings
|
|
597
|
-
icon:
|
|
628
|
+
icon: settings
|
|
598
629
|
- id: tt_dark_custom_menu
|
|
599
630
|
type: Menu
|
|
600
631
|
style:
|
|
@@ -615,17 +646,17 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
615
646
|
type: MenuLink
|
|
616
647
|
properties:
|
|
617
648
|
title: Home
|
|
618
|
-
icon:
|
|
649
|
+
icon: home
|
|
619
650
|
- id: tt_dc_analytics
|
|
620
651
|
type: MenuLink
|
|
621
652
|
properties:
|
|
622
653
|
title: Analytics
|
|
623
|
-
icon:
|
|
654
|
+
icon: ChartLine
|
|
624
655
|
- id: tt_dc_team
|
|
625
656
|
type: MenuLink
|
|
626
657
|
properties:
|
|
627
658
|
title: Team
|
|
628
|
-
icon:
|
|
659
|
+
icon: users
|
|
629
660
|
- id: tt_danger_menu
|
|
630
661
|
type: Menu
|
|
631
662
|
style:
|
|
@@ -642,14 +673,14 @@ Horizontal or vertical navigation menu with nested items.
|
|
|
642
673
|
type: MenuLink
|
|
643
674
|
properties:
|
|
644
675
|
title: My Files
|
|
645
|
-
icon:
|
|
676
|
+
icon: file
|
|
646
677
|
- id: tt_dg_divider
|
|
647
678
|
type: MenuDivider
|
|
648
679
|
- id: tt_dg_delete
|
|
649
680
|
type: MenuLink
|
|
650
681
|
properties:
|
|
651
682
|
title: Delete Account
|
|
652
|
-
icon:
|
|
683
|
+
icon: delete
|
|
653
684
|
danger: true
|
|
654
685
|
```
|
|
655
686
|
|
|
@@ -694,12 +725,12 @@ Manage your blog posts here. Use the sidebar to navigate between sections.
|
|
|
694
725
|
type: MenuLink
|
|
695
726
|
properties:
|
|
696
727
|
title: Overview
|
|
697
|
-
icon:
|
|
728
|
+
icon: Gauge
|
|
698
729
|
- id: adm_content
|
|
699
730
|
type: MenuGroup
|
|
700
731
|
properties:
|
|
701
732
|
title: Content
|
|
702
|
-
icon:
|
|
733
|
+
icon: document
|
|
703
734
|
links:
|
|
704
735
|
- id: adm_posts
|
|
705
736
|
type: MenuLink
|
|
@@ -717,7 +748,7 @@ Manage your blog posts here. Use the sidebar to navigate between sections.
|
|
|
717
748
|
type: MenuGroup
|
|
718
749
|
properties:
|
|
719
750
|
title: Users
|
|
720
|
-
icon:
|
|
751
|
+
icon: users
|
|
721
752
|
links:
|
|
722
753
|
- id: adm_all_users
|
|
723
754
|
type: MenuLink
|
|
@@ -733,7 +764,7 @@ Manage your blog posts here. Use the sidebar to navigate between sections.
|
|
|
733
764
|
type: MenuLink
|
|
734
765
|
properties:
|
|
735
766
|
title: Danger Zone
|
|
736
|
-
icon:
|
|
767
|
+
icon: warning
|
|
737
768
|
danger: true
|
|
738
769
|
events:
|
|
739
770
|
onSelect:
|
|
@@ -800,12 +831,12 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
800
831
|
type: MenuLink
|
|
801
832
|
properties:
|
|
802
833
|
title: Getting Started
|
|
803
|
-
icon:
|
|
834
|
+
icon: Rocket
|
|
804
835
|
- id: docs_guides
|
|
805
836
|
type: MenuLink
|
|
806
837
|
properties:
|
|
807
838
|
title: Guides
|
|
808
|
-
icon:
|
|
839
|
+
icon: Book
|
|
809
840
|
- id: docs_api_ref
|
|
810
841
|
type: MenuGroup
|
|
811
842
|
properties:
|
|
@@ -829,7 +860,7 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
829
860
|
type: MenuLink
|
|
830
861
|
properties:
|
|
831
862
|
title: Examples
|
|
832
|
-
icon:
|
|
863
|
+
icon: CodeXml
|
|
833
864
|
events:
|
|
834
865
|
onClick:
|
|
835
866
|
- id: docs_click_msg
|
|
@@ -881,7 +912,7 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
881
912
|
class: rounded-lg
|
|
882
913
|
properties:
|
|
883
914
|
title: Dashboard
|
|
884
|
-
icon:
|
|
915
|
+
icon: Gauge
|
|
885
916
|
- id: ip_reports
|
|
886
917
|
type: MenuLink
|
|
887
918
|
class:
|
|
@@ -890,17 +921,17 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
890
921
|
.label: font-semibold
|
|
891
922
|
properties:
|
|
892
923
|
title: Reports
|
|
893
|
-
icon:
|
|
924
|
+
icon: chart
|
|
894
925
|
- id: ip_settings
|
|
895
926
|
type: MenuLink
|
|
896
927
|
style:
|
|
897
928
|
.element:
|
|
898
|
-
borderLeft: 3px solid
|
|
929
|
+
borderLeft: "3px solid #1677ff"
|
|
899
930
|
.label:
|
|
900
931
|
letterSpacing: 0.05em
|
|
901
932
|
properties:
|
|
902
933
|
title: Settings
|
|
903
|
-
icon:
|
|
934
|
+
icon: settings
|
|
904
935
|
- id: ip_disabled_tooltip_extra_menu
|
|
905
936
|
type: Menu
|
|
906
937
|
style:
|
|
@@ -912,14 +943,14 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
912
943
|
type: MenuLink
|
|
913
944
|
properties:
|
|
914
945
|
title: Search
|
|
915
|
-
icon:
|
|
946
|
+
icon: search
|
|
916
947
|
extra: ⌘K
|
|
917
948
|
tooltip: Open command palette
|
|
918
949
|
- id: ip_history
|
|
919
950
|
type: MenuLink
|
|
920
951
|
properties:
|
|
921
952
|
title: History
|
|
922
|
-
icon:
|
|
953
|
+
icon: history
|
|
923
954
|
disabled: true
|
|
924
955
|
tooltip: Coming soon
|
|
925
956
|
- id: ip_divider
|
|
@@ -928,7 +959,7 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
928
959
|
type: MenuLink
|
|
929
960
|
properties:
|
|
930
961
|
title: Delete account
|
|
931
|
-
icon:
|
|
962
|
+
icon: delete
|
|
932
963
|
danger: true
|
|
933
964
|
extra: irreversible
|
|
934
965
|
- id: ip_popup_class_menu
|
|
@@ -944,7 +975,7 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
944
975
|
.popup: shadow-2xl rounded-lg
|
|
945
976
|
properties:
|
|
946
977
|
title: Settings
|
|
947
|
-
icon:
|
|
978
|
+
icon: settings
|
|
948
979
|
links:
|
|
949
980
|
- id: ip_general
|
|
950
981
|
type: MenuLink
|
|
@@ -968,19 +999,19 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
968
999
|
type: MenuLink
|
|
969
1000
|
properties:
|
|
970
1001
|
title: Home
|
|
971
|
-
icon:
|
|
1002
|
+
icon: home
|
|
972
1003
|
shortcut: mod+1
|
|
973
1004
|
- id: ks_search
|
|
974
1005
|
type: MenuLink
|
|
975
1006
|
properties:
|
|
976
1007
|
title: Search
|
|
977
|
-
icon:
|
|
1008
|
+
icon: search
|
|
978
1009
|
shortcut: mod+k
|
|
979
1010
|
- id: ks_settings
|
|
980
1011
|
type: MenuLink
|
|
981
1012
|
properties:
|
|
982
1013
|
title: Settings
|
|
983
|
-
icon:
|
|
1014
|
+
icon: settings
|
|
984
1015
|
shortcut: mod+,
|
|
985
1016
|
events:
|
|
986
1017
|
onSelect:
|
|
@@ -997,6 +1028,15 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
997
1028
|
| Property | Type | Default | Description |
|
|
998
1029
|
| --- | --- | --- | --- |
|
|
999
1030
|
| `expandIcon` | string \| object | - | Menu expand icon. |
|
|
1031
|
+
| `expandIcon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1032
|
+
| `expandIcon.color` | string | - | Icon color. |
|
|
1033
|
+
| `expandIcon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1034
|
+
| `expandIcon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1035
|
+
| `expandIcon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1036
|
+
| `expandIcon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1037
|
+
| `expandIcon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1038
|
+
| `expandIcon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1039
|
+
| `expandIcon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1000
1040
|
| `menuId` | string | - | App menu id used to get menu links. |
|
|
1001
1041
|
| `mode` | string | `"vertical"` | Type of menu to render. Enum: `vertical`, `horizontal`, `inline`. |
|
|
1002
1042
|
| `selectedKeys` | array | - | Array with the keys of currently selected menu items. |
|
|
@@ -1004,9 +1044,14 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1004
1044
|
| `collapsed` | boolean | `false` | Collapse the inline menu. |
|
|
1005
1045
|
| `inlineIndent` | number | `24` | Indent width for each sub menu level in pixels (inline mode only). |
|
|
1006
1046
|
| `forceSubMenuRender` | boolean | `false` | Render submenu into DOM before it becomes visible. |
|
|
1047
|
+
| `nestedGroupAsGroup` | boolean | `true` | Render nested MenuGroups as always-visible headed sections (antd item groups). Set false to render them as collapsible submenus at every depth. |
|
|
1007
1048
|
| `subMenuCloseDelay` | number | - | Delay time to hide submenu when mouse leaves (in seconds). |
|
|
1008
1049
|
| `subMenuOpenDelay` | number | - | Delay time to show submenu when mouse enters (in seconds). |
|
|
1009
|
-
| `
|
|
1050
|
+
| `triggerSubMenuAction` | string | `"hover"` | Open and close submenus on hover or on click. Enum: `hover`, `click`. |
|
|
1051
|
+
| `tooltip` | boolean \| object | `true` | Tooltip of menu items in a collapsed inline menu. Set false to hide it, or an object to configure it. |
|
|
1052
|
+
| `tooltip.placement` | string | `"right"` | Position of the tooltip relative to the menu item. Enum: `top`, `left`, `right`, `bottom`, `topLeft`, `topRight`, `bottomLeft`, `bottomRight`, `leftTop`, `leftBottom`, `rightTop`, `rightBottom`. |
|
|
1053
|
+
| `tooltip.color` | string | - | Background color of the tooltip. |
|
|
1054
|
+
| `theme` | string \| object | - | The Menu color theme, light or dark, or antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design menu tokens](https://ant.design/components/menu#design-token). |
|
|
1010
1055
|
| `theme.dropdownWidth` | number | `160` | Width of dropdown submenus. |
|
|
1011
1056
|
| `theme.zIndexPopup` | number | `1050` | Z-index for popup submenus. |
|
|
1012
1057
|
| `theme.itemBorderRadius` | number | `8` | Border radius for menu items. |
|
|
@@ -1067,7 +1112,16 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1067
1112
|
| `links.$.class` | string \| array \| object | - | CSS classes for the menu item (including Tailwind utilities). Flat string/array applies to the item wrapper. Use an object with dot-prefixed slot keys (`.element`, `.icon`, `.label`, `.popup` — popup only on MenuGroup) to target specific parts. |
|
|
1068
1113
|
| `links.$.properties` | object | - | properties from menu item. |
|
|
1069
1114
|
| `links.$.properties.title` | string | - | Menu item title. |
|
|
1070
|
-
| `links.$.properties.icon` | string \| object | - |
|
|
1115
|
+
| `links.$.properties.icon` | string \| object | - | Icon name (a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`) or properties of an Icon block to customize icon on menu item. |
|
|
1116
|
+
| `links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1117
|
+
| `links.$.properties.icon.color` | string | - | Icon color. |
|
|
1118
|
+
| `links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1119
|
+
| `links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1120
|
+
| `links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1121
|
+
| `links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1122
|
+
| `links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1123
|
+
| `links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1124
|
+
| `links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1071
1125
|
| `links.$.properties.danger` | boolean | `false` | Apply danger style (MenuLink only). Switches the item onto the `dangerItem*` token set — theme via `properties.theme.dangerItemColor` etc. |
|
|
1072
1126
|
| `links.$.properties.disabled` | boolean | `false` | Disable the menu item (blocks clicks and applies a greyed style). |
|
|
1073
1127
|
| `links.$.properties.tooltip` | string | - | Tooltip text shown on hover when the menu is collapsed. Maps to antd item `title`. |
|
|
@@ -1083,6 +1137,15 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1083
1137
|
| `links.$.links.$.properties` | object | - | properties from menu item. |
|
|
1084
1138
|
| `links.$.links.$.properties.title` | string | - | Menu item title. |
|
|
1085
1139
|
| `links.$.links.$.properties.icon` | string \| object | - | Icon name or Icon block properties. |
|
|
1140
|
+
| `links.$.links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1141
|
+
| `links.$.links.$.properties.icon.color` | string | - | Icon color. |
|
|
1142
|
+
| `links.$.links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1143
|
+
| `links.$.links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1144
|
+
| `links.$.links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1145
|
+
| `links.$.links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1146
|
+
| `links.$.links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1147
|
+
| `links.$.links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1148
|
+
| `links.$.links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1086
1149
|
| `links.$.links.$.properties.danger` | boolean | `false` | Apply danger style (MenuLink only). |
|
|
1087
1150
|
| `links.$.links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
|
|
1088
1151
|
| `links.$.links.$.properties.tooltip` | string | - | Tooltip text shown when the menu is collapsed. |
|
|
@@ -1098,6 +1161,15 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1098
1161
|
| `links.$.links.$.links.$.properties` | object | - | properties from menu item. |
|
|
1099
1162
|
| `links.$.links.$.links.$.properties.title` | string | - | Menu item title. |
|
|
1100
1163
|
| `links.$.links.$.links.$.properties.icon` | string \| object | - | Icon name or Icon block properties. |
|
|
1164
|
+
| `links.$.links.$.links.$.properties.icon.name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. |
|
|
1165
|
+
| `links.$.links.$.links.$.properties.icon.color` | string | - | Icon color. |
|
|
1166
|
+
| `links.$.links.$.links.$.properties.icon.size` | string \| number | - | Size of the icon. Defaults to `theme.icons.size`. |
|
|
1167
|
+
| `links.$.links.$.links.$.properties.icon.rotate` | number | - | Number of degrees to rotate the icon. |
|
|
1168
|
+
| `links.$.links.$.links.$.properties.icon.spin` | boolean | - | Continuously spin the icon with animation. |
|
|
1169
|
+
| `links.$.links.$.links.$.properties.icon.strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
|
|
1170
|
+
| `links.$.links.$.links.$.properties.icon.nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
|
|
1171
|
+
| `links.$.links.$.links.$.properties.icon.title` | string | - | Icon hover title for accessibility. An empty string marks the icon as decorative. |
|
|
1172
|
+
| `links.$.links.$.links.$.properties.icon.disableLoadingIcon` | boolean | - | While loading after the icon has been clicked, don't render the loading icon. |
|
|
1101
1173
|
| `links.$.links.$.links.$.properties.danger` | boolean | `false` | Apply danger style (MenuLink only). |
|
|
1102
1174
|
| `links.$.links.$.links.$.properties.disabled` | boolean | `false` | Disable the menu item. |
|
|
1103
1175
|
| `links.$.links.$.links.$.properties.tooltip` | string | - | Tooltip text shown when the menu is collapsed. |
|
|
@@ -1107,8 +1179,8 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1107
1179
|
|
|
1108
1180
|
| Event | Event Data | Description |
|
|
1109
1181
|
| --- | --- | --- |
|
|
1110
|
-
| `onSelect` | `{ key }` | Trigger action when menu item is selected. |
|
|
1111
|
-
| `onClick` | `{ key }` | Trigger action when menu item is clicked. |
|
|
1182
|
+
| `onSelect` | `{ key, keyPath }` | Trigger action when menu item is selected. |
|
|
1183
|
+
| `onClick` | `{ key, keyPath }` | Trigger action when menu item is clicked. |
|
|
1112
1184
|
| `onToggleMenuGroup` | `{ openKeys }` | Trigger action when mobile menu group is opened. |
|
|
1113
1185
|
|
|
1114
1186
|
| Key | Target |
|
|
@@ -1119,5 +1191,6 @@ Learn how to configure your Lowdefy application with YAML configuration files.
|
|
|
1119
1191
|
| `/icon` | Deprecated alias for `itemIcon`. |
|
|
1120
1192
|
| `/itemIcon` | The icon shown in each menu item. |
|
|
1121
1193
|
| `/item` | The Menu item wrapper (li). |
|
|
1194
|
+
| `/popup` | The floating popup of a submenu in vertical and horizontal modes. |
|
|
1122
1195
|
|
|
1123
1196
|
No slots defined.
|