@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.
Files changed (226) hide show
  1. package/README.md +0 -1
  2. package/content/actions/link.md +0 -17
  3. package/content/actions/login.md +5 -23
  4. package/content/actions/logout.md +5 -5
  5. package/content/actions/pdfmake.md +2 -2
  6. package/content/actions/setdarkmode.md +2 -2
  7. package/content/agents/agent-properties.md +2 -4
  8. package/content/agents/agentchat.md +6 -21
  9. package/content/agents/agentconversations.md +2 -2
  10. package/content/concepts/ai-agent-docs.md +101 -313
  11. package/content/concepts/cli.md +3 -34
  12. package/content/concepts/connections-and-requests.md +0 -402
  13. package/content/concepts/custom-html.md +0 -40
  14. package/content/concepts/custom-styling.md +5 -50
  15. package/content/concepts/events-and-actions.md +2 -64
  16. package/content/concepts/i18n.md +2 -7
  17. package/content/concepts/keyboard-shortcuts.md +2 -2
  18. package/content/concepts/layout-overview.md +1 -1
  19. package/content/concepts/logger.md +0 -81
  20. package/content/concepts/lowdefy-schema.md +1 -4
  21. package/content/concepts/menus.md +7 -7
  22. package/content/concepts/module-authoring.md +2 -2
  23. package/content/connections/anthropic.md +2 -162
  24. package/content/connections/awss3.md +0 -54
  25. package/content/connections/google.md +2 -162
  26. package/content/connections/mongodb.md +3 -121
  27. package/content/connections/openai-connection.md +2 -162
  28. package/content/container-blocks/affix.md +7 -47
  29. package/content/container-blocks/alert.md +24 -76
  30. package/content/container-blocks/badge.md +24 -100
  31. package/content/container-blocks/box.md +9 -9
  32. package/content/container-blocks/card.md +25 -80
  33. package/content/container-blocks/carousel.md +7 -60
  34. package/content/container-blocks/collapse.md +9 -87
  35. package/content/container-blocks/configprovider.md +13 -35
  36. package/content/container-blocks/confirmmodal.md +23 -69
  37. package/content/container-blocks/content.md +98 -62
  38. package/content/container-blocks/descriptions.md +4 -45
  39. package/content/container-blocks/drawer.md +28 -92
  40. package/content/container-blocks/dropdownmenu.md +31 -119
  41. package/content/container-blocks/flex.md +62 -40
  42. package/content/container-blocks/footer.md +11 -15
  43. package/content/container-blocks/googlemapsheatmap.md +1 -1
  44. package/content/container-blocks/googlemapsscript.md +2 -2
  45. package/content/container-blocks/header.md +36 -71
  46. package/content/container-blocks/label.md +7 -34
  47. package/content/container-blocks/layout.md +34 -52
  48. package/content/container-blocks/masonry.md +71 -17
  49. package/content/container-blocks/mobilemenu.md +88 -131
  50. package/content/container-blocks/modal.md +26 -114
  51. package/content/container-blocks/pageheadermenu.md +31 -81
  52. package/content/container-blocks/pagesidebarlayout.md +26 -169
  53. package/content/container-blocks/pagesidermenu.md +42 -95
  54. package/content/container-blocks/popover.md +31 -34
  55. package/content/container-blocks/result.md +21 -32
  56. package/content/container-blocks/sider.md +122 -85
  57. package/content/container-blocks/span.md +7 -7
  58. package/content/container-blocks/spinner.md +3 -3
  59. package/content/container-blocks/splitter.md +68 -150
  60. package/content/container-blocks/tabs.md +12 -64
  61. package/content/container-blocks/tooltip.md +46 -22
  62. package/content/container-blocks/watermark.md +4 -22
  63. package/content/controls/reject.md +2 -4
  64. package/content/controls/throw.md +0 -1
  65. package/content/controls/try.md +2 -3
  66. package/content/deployment/deployment-environments.md +6 -8
  67. package/content/deployment/docker.md +7 -22
  68. package/content/deployment/node-server.md +0 -4
  69. package/content/deployment/vercel.md +6 -13
  70. package/content/display-blocks/aggrid.md +11 -26
  71. package/content/display-blocks/anchor.md +15 -15
  72. package/content/display-blocks/avatar.md +37 -57
  73. package/content/display-blocks/breadcrumb.md +21 -70
  74. package/content/display-blocks/button.md +18 -92
  75. package/content/display-blocks/calendar.md +0 -12
  76. package/content/display-blocks/dangeroushtml.md +1 -1
  77. package/content/display-blocks/difflist.md +1 -1
  78. package/content/display-blocks/difftimeline.md +1 -1
  79. package/content/display-blocks/divider.md +3 -64
  80. package/content/display-blocks/dropdownbutton.md +28 -79
  81. package/content/display-blocks/echart.md +1 -35
  82. package/content/display-blocks/floatbutton.md +42 -129
  83. package/content/display-blocks/html.md +1 -61
  84. package/content/display-blocks/icon.md +67 -250
  85. package/content/display-blocks/menu.md +73 -145
  86. package/content/display-blocks/message.md +124 -38
  87. package/content/display-blocks/notification.md +222 -94
  88. package/content/display-blocks/paragraph.md +9 -59
  89. package/content/display-blocks/progress.md +17 -96
  90. package/content/display-blocks/qrcode.md +4 -19
  91. package/content/display-blocks/s3download.md +1 -1
  92. package/content/display-blocks/search.md +7 -17
  93. package/content/display-blocks/skeletonbutton.md +0 -1
  94. package/content/display-blocks/skeletoninput.md +0 -1
  95. package/content/display-blocks/statistic.md +17 -75
  96. package/content/display-blocks/steps.md +25 -58
  97. package/content/display-blocks/tag.md +17 -102
  98. package/content/display-blocks/title.md +11 -50
  99. package/content/display-blocks/tour.md +23 -33
  100. package/content/input-blocks/autocomplete.md +9 -81
  101. package/content/input-blocks/buttonselector.md +8 -45
  102. package/content/input-blocks/checkboxselector.md +7 -97
  103. package/content/input-blocks/checkboxswitch.md +3 -33
  104. package/content/input-blocks/colorselector.md +14 -63
  105. package/content/input-blocks/daterangeselector.md +45 -165
  106. package/content/input-blocks/dateselector.md +41 -139
  107. package/content/input-blocks/datetimeselector.md +49 -158
  108. package/content/input-blocks/inputgallery.md +3 -3
  109. package/content/input-blocks/monthselector.md +52 -120
  110. package/content/input-blocks/multipleselector.md +39 -150
  111. package/content/input-blocks/numberinput.md +12 -98
  112. package/content/input-blocks/pagination.md +14 -70
  113. package/content/input-blocks/paragraphinput.md +37 -51
  114. package/content/input-blocks/passwordinput.md +6 -60
  115. package/content/input-blocks/phonenumberinput.md +26 -59
  116. package/content/input-blocks/radioselector.md +7 -83
  117. package/content/input-blocks/ratingslider.md +26 -57
  118. package/content/input-blocks/s3uploadbutton.md +24 -24
  119. package/content/input-blocks/s3uploaddragger.md +3 -3
  120. package/content/input-blocks/s3uploadphoto.md +5 -5
  121. package/content/input-blocks/segmentedselector.md +32 -72
  122. package/content/input-blocks/selector.md +21 -109
  123. package/content/input-blocks/switch.md +17 -65
  124. package/content/input-blocks/textarea.md +3 -32
  125. package/content/input-blocks/textinput.md +28 -69
  126. package/content/input-blocks/tiptapmentioninput.md +1 -1
  127. package/content/input-blocks/titleinput.md +12 -39
  128. package/content/input-blocks/treeinput.md +25 -49
  129. package/content/input-blocks/treemultipleselector.md +10 -127
  130. package/content/input-blocks/treeselector.md +9 -97
  131. package/content/input-blocks/upload.md +15 -64
  132. package/content/input-blocks/uploaddragger.md +1 -17
  133. package/content/input-blocks/uploadphoto.md +1 -18
  134. package/content/input-blocks/weekselector.md +55 -120
  135. package/content/list-blocks/controlledlist.md +15 -24
  136. package/content/list-blocks/list.md +11 -11
  137. package/content/list-blocks/masonrylist.md +34 -7
  138. package/content/migration/upgrade-guide.md +0 -1
  139. package/content/operators/_app.md +1 -2
  140. package/content/operators/_error.md +1 -23
  141. package/content/operators/_get.md +6 -6
  142. package/content/operators/_operator.md +3 -17
  143. package/content/operators/_ref.md +0 -258
  144. package/content/operators/_type.md +3 -14
  145. package/content/operators/_user.md +3 -3
  146. package/content/other/introduction.md +1 -1
  147. package/content/plugins/plugins-dev.md +0 -66
  148. package/content/plugins/plugins-introduction.md +1 -27
  149. package/content/testing/e2e-configuration.md +1 -8
  150. package/content/testing/e2e-getting-started.md +1 -1
  151. package/content/testing/e2e-introduction.md +1 -1
  152. package/content/tutorial/tutorial-actions-operators.md +2 -2
  153. package/content/tutorial/tutorial-add-blocks.md +2 -2
  154. package/content/tutorial/tutorial-create-page.md +2 -48
  155. package/content/tutorial/tutorial-display-data-page.md +3 -3
  156. package/content/tutorial/tutorial-requests-sql.md +0 -153
  157. package/content/tutorial/tutorial-start.md +1 -66
  158. package/content/user-authentication/login-and-logout.md +8 -158
  159. package/content/user-authentication/users-introduction.md +0 -8
  160. package/index.json +2 -6065
  161. package/package.json +1 -7
  162. package/scripts/extractAgentDocs.js +4 -36
  163. package/content/actions/emailotpsend.md +0 -58
  164. package/content/actions/emailotpverify.md +0 -77
  165. package/content/actions/getlocalstorage.md +0 -41
  166. package/content/actions/magiclinkverify.md +0 -113
  167. package/content/actions/posthogalias.md +0 -29
  168. package/content/actions/posthogcapture.md +0 -49
  169. package/content/actions/posthogcapturepageleave.md +0 -38
  170. package/content/actions/posthogfeatureflag.md +0 -50
  171. package/content/actions/posthoggroup.md +0 -37
  172. package/content/actions/posthogidentify.md +0 -54
  173. package/content/actions/posthoginit.md +0 -66
  174. package/content/actions/posthogoptin.md +0 -29
  175. package/content/actions/posthogoptout.md +0 -29
  176. package/content/actions/posthogpageview.md +0 -37
  177. package/content/actions/posthogreloadfeatureflags.md +0 -47
  178. package/content/actions/posthogreset.md +0 -28
  179. package/content/actions/posthogsetpersonproperties.md +0 -36
  180. package/content/actions/removelocalstorage.md +0 -26
  181. package/content/actions/setlocalstorage.md +0 -32
  182. package/content/adapter-reference/mongodbauthadapter.md +0 -46
  183. package/content/agents/agents-introduction.md +0 -107
  184. package/content/callback-reference/auth0logoutcallback.md +0 -54
  185. package/content/concepts/blocks.md +0 -150
  186. package/content/concepts/dynamic-page-content.md +0 -304
  187. package/content/concepts/html-attributes.md +0 -285
  188. package/content/concepts/lowdefy-api.md +0 -1110
  189. package/content/concepts/notifications.md +0 -155
  190. package/content/concepts/page-and-app-state.md +0 -244
  191. package/content/concepts/theming.md +0 -582
  192. package/content/connections/aigateway.md +0 -368
  193. package/content/connections/axioshttp.md +0 -181
  194. package/content/controls/while.md +0 -46
  195. package/content/display-blocks/clickablehtml.md +0 -239
  196. package/content/display-blocks/eventlog.md +0 -363
  197. package/content/display-blocks/pollingtimer.md +0 -263
  198. package/content/input-blocks/captcha.md +0 -40
  199. package/content/input-blocks/placesautocomplete.md +0 -319
  200. package/content/input-blocks/tagmultipleselector.md +0 -114
  201. package/content/input-blocks/tagselector.md +0 -114
  202. package/content/migration/auth-upgrade.md +0 -327
  203. package/content/migration/v3-to-v4.md +0 -417
  204. package/content/migration/v6-to-v7.md +0 -222
  205. package/content/operators/_cron.md +0 -292
  206. package/content/other/mongodbadapter.md +0 -3
  207. package/content/plugins/plugins-icon-sets.md +0 -267
  208. package/content/plugins/posthog.md +0 -275
  209. package/content/provider-reference/auth-js-providers.md +0 -107
  210. package/content/provider-reference/openidconnectprovider.md +0 -44
  211. package/content/testing/config-tests.md +0 -278
  212. package/content/tutorial/tutorial-requests-api.md +0 -155
  213. package/content/user-authentication/auth-configuration.md +0 -266
  214. package/content/user-authentication/auth-steps.md +0 -138
  215. package/content/user-authentication/mcp-oauth.md +0 -292
  216. package/content/user-authentication/organizations.md +0 -221
  217. package/content/user-authentication/protected-pages-apis.md +0 -97
  218. package/content/user-authentication/roles.md +0 -49
  219. package/content/user-authentication/two-factor.md +0 -229
  220. package/content/user-authentication/user-object.md +0 -58
  221. package/content/websockets/websocket-publish.md +0 -108
  222. package/content/websockets/websocket-subscriptions.md +0 -100
  223. package/content/websockets/websockets-introduction.md +0 -97
  224. package/hazards.json +0 -44
  225. package/scripts/hashDocSources.js +0 -38
  226. package/scripts/recordSourceHashes.js +0 -88
@@ -87,12 +87,12 @@ Footer
87
87
  type: MenuLink
88
88
  properties:
89
89
  title: Dashboard
90
- icon: Gauge
90
+ icon: AiOutlineDashboard
91
91
  - id: layout_sider_nav_2
92
92
  type: MenuLink
93
93
  properties:
94
94
  title: Settings
95
- icon: settings
95
+ icon: AiOutlineSetting
96
96
  - id: layout_sider_content
97
97
  type: Content
98
98
  layout:
@@ -155,7 +155,7 @@ Right side panel for supplementary content, filters, or navigation.
155
155
  width: 250
156
156
  reverseArrow: true
157
157
  style:
158
- borderLeft: "1px solid #f0f0f0"
158
+ borderLeft: 1px solid
159
159
  blocks:
160
160
  - id: layout_right_sider_side_text
161
161
  type: Paragraph
@@ -165,11 +165,11 @@ Right side panel for supplementary content, filters, or navigation.
165
165
  content: Right side panel for supplementary content, filters, or navigation.
166
166
  ```
167
167
 
168
- The collapse trigger uses the lightTriggerBg and lightTriggerColor tokens.
168
+ Sider with custom background color set via the siderBg token. The trigger bar uses triggerBg and triggerColor tokens.
169
169
 
170
- The Layout theme property accepts antd Layout design tokens like bodyBg, headerHeight, footerBg and the Sider trigger tokens. They apply to the Header, Footer and Sider blocks inside the layout.
170
+ The Layout theme property accepts antd design tokens like headerBg, footerBg, siderBg, bodyBg, triggerBg, triggerColor, and triggerHeight. These cascade to child Header, Footer, Sider, and Content blocks.
171
171
 
172
- Footer styled with the footerBg and footerPadding tokens
172
+ Footer styled with footerBg token
173
173
 
174
174
  ```yaml
175
175
  - id: layout_theme_outer
@@ -178,13 +178,10 @@ Footer styled with the footerBg and footerPadding tokens
178
178
  minHeight: 280px
179
179
  properties:
180
180
  theme:
181
- bodyBg: "#f0f5ff"
182
- headerHeight: 48
183
- headerColor: "#1d39c4"
184
- footerBg: "#d6e4ff"
185
- footerPadding: 12px 24px
186
- lightTriggerBg: "#adc6ff"
187
- lightTriggerColor: "#1d39c4"
181
+ headerBg: "#1d39c4"
182
+ triggerBg: "#597ef7"
183
+ triggerColor: "#ffffff"
184
+ triggerHeight: 48
188
185
  blocks:
189
186
  - id: layout_theme_header
190
187
  type: Header
@@ -194,8 +191,8 @@ Footer styled with the footerBg and footerPadding tokens
194
191
  - id: layout_theme_header_text
195
192
  type: Html
196
193
  properties:
197
- html: <span class="text-base font-semibold">48px header from the headerHeight
198
- token</span>
194
+ html: <span class="text-base font-semibold">Custom themed header via Layout
195
+ design tokens</span>
199
196
  - id: layout_theme_inner
200
197
  type: Layout
201
198
  properties:
@@ -208,16 +205,14 @@ Footer styled with the footerBg and footerPadding tokens
208
205
  properties:
209
206
  theme: light
210
207
  width: 180
211
- collapsible: true
212
- initialCollapsed: false
213
208
  blocks:
214
209
  - id: layout_theme_sider_text
215
210
  type: Paragraph
216
211
  style:
217
212
  padding: 16px
218
213
  properties:
219
- content: The collapse trigger uses the lightTriggerBg and lightTriggerColor
220
- tokens.
214
+ content: Sider with custom background color set via the siderBg token. The
215
+ trigger bar uses triggerBg and triggerColor tokens.
221
216
  - id: layout_theme_content
222
217
  type: Content
223
218
  layout:
@@ -228,10 +223,10 @@ Footer styled with the footerBg and footerPadding tokens
228
223
  - id: layout_theme_content_text
229
224
  type: Paragraph
230
225
  properties:
231
- content: The Layout theme property accepts antd Layout design tokens like
232
- bodyBg, headerHeight, footerBg and the Sider trigger tokens.
233
- They apply to the Header, Footer and Sider blocks inside the
234
- layout.
226
+ content: The Layout theme property accepts antd design tokens like headerBg,
227
+ footerBg, siderBg, bodyBg, triggerBg, triggerColor, and
228
+ triggerHeight. These cascade to child Header, Footer, Sider,
229
+ and Content blocks.
235
230
  - id: layout_theme_footer
236
231
  type: Footer
237
232
  style:
@@ -240,7 +235,7 @@ Footer styled with the footerBg and footerPadding tokens
240
235
  - id: layout_theme_footer_text
241
236
  type: Paragraph
242
237
  properties:
243
- content: Footer styled with the footerBg and footerPadding tokens
238
+ content: Footer styled with footerBg token
244
239
  ```
245
240
 
246
241
  The Layout block has a single cssKey called "element". Use the class property to apply Tailwind utility classes directly to the Layout wrapper. Here the outer Layout uses rounded corners, shadow, and a border. Child blocks like Header, Content, and Footer can each have their own class applied.
@@ -310,7 +305,7 @@ Acme Corp Admin Panel - Version 3.2.1
310
305
  count: 5
311
306
  profile:
312
307
  avatar:
313
- icon: user
308
+ icon: AiOutlineUser
314
309
  style:
315
310
  paddingInline: 24px
316
311
  borderBottom: 1px solid var(--ant-color-border)
@@ -345,27 +340,27 @@ Acme Corp Admin Panel - Version 3.2.1
345
340
  type: MenuLink
346
341
  properties:
347
342
  title: Dashboard
348
- icon: Gauge
343
+ icon: AiOutlineDashboard
349
344
  - id: layout_admin_menu_users
350
345
  type: MenuLink
351
346
  properties:
352
347
  title: Users
353
- icon: users
348
+ icon: AiOutlineTeam
354
349
  - id: layout_admin_menu_orders
355
350
  type: MenuLink
356
351
  properties:
357
352
  title: Orders
358
- icon: ShoppingCart
353
+ icon: AiOutlineShoppingCart
359
354
  - id: layout_admin_menu_reports
360
355
  type: MenuLink
361
356
  properties:
362
357
  title: Reports
363
- icon: chart
358
+ icon: AiOutlineBarChart
364
359
  - id: layout_admin_menu_settings
365
360
  type: MenuLink
366
361
  properties:
367
362
  title: Settings
368
- icon: settings
363
+ icon: AiOutlineSetting
369
364
  - id: layout_admin_content_area
370
365
  type: Content
371
366
  layout:
@@ -475,8 +470,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
475
470
  properties:
476
471
  content: DevDocs
477
472
  level: 4
478
- style:
479
- .element:
473
+ style:
480
474
  margin: 0
481
475
  - id: layout_docs_version_tag
482
476
  type: Tag
@@ -494,7 +488,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
494
488
  layout:
495
489
  flex: 0 0 auto
496
490
  properties:
497
- icon: search
491
+ icon: AiOutlineSearch
498
492
  title: Search docs...
499
493
  color: default
500
494
  variant: outlined
@@ -503,7 +497,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
503
497
  layout:
504
498
  flex: 0 0 auto
505
499
  properties:
506
- icon: GitBranch
500
+ icon: AiOutlineGithub
507
501
  color: default
508
502
  variant: text
509
503
  hideTitle: true
@@ -521,7 +515,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
521
515
  width: 260
522
516
  breakpoint: md
523
517
  style:
524
- borderRight: "1px solid #f0f0f0"
518
+ borderRight: 1px solid
525
519
  blocks:
526
520
  - id: layout_docs_nav_title
527
521
  type: Paragraph
@@ -540,22 +534,22 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
540
534
  type: MenuLink
541
535
  properties:
542
536
  title: Introduction
543
- icon: BookOpen
537
+ icon: AiOutlineRead
544
538
  - id: layout_docs_nav_install
545
539
  type: MenuLink
546
540
  properties:
547
541
  title: Installation
548
- icon: download
542
+ icon: AiOutlineDownload
549
543
  - id: layout_docs_nav_config
550
544
  type: MenuLink
551
545
  properties:
552
546
  title: Configuration
553
- icon: Wrench
547
+ icon: AiOutlineTool
554
548
  - id: layout_docs_nav_deploy
555
549
  type: MenuLink
556
550
  properties:
557
551
  title: Deployment
558
- icon: CloudUpload
552
+ icon: AiOutlineCloudUpload
559
553
  - id: layout_docs_content_area
560
554
  type: Content
561
555
  layout:
@@ -596,19 +590,7 @@ Welcome to DevDocs. This guide walks you through setting up your first project.
596
590
 
597
591
  | Property | Type | Default | Description |
598
592
  | --- | --- | --- | --- |
599
- | `hasSider` | boolean | `false` | Lay the child blocks out in a row when the layout contains a Sider. |
600
- | `theme` | object | - | Antd Layout design token overrides for this block. Header, Footer and Sider blocks inside the layout use them too. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design layout tokens](https://ant.design/components/layout#design-token). |
601
- | `theme.bodyBg` | string | `"#f5f5f5"` | Background color of the layout. |
602
- | `theme.headerHeight` | number | `64` | Height of Header blocks. |
603
- | `theme.headerPadding` | string | `"0 50px"` | Padding of Header blocks. |
604
- | `theme.headerColor` | string | `"rgba(0, 0, 0, 0.88)"` | Text color of Header blocks. |
605
- | `theme.footerBg` | string | `"#f5f5f5"` | Background color of Footer blocks. |
606
- | `theme.footerPadding` | string | `"24px 50px"` | Padding of Footer blocks. |
607
- | `theme.triggerHeight` | number | `48` | Height of the collapse trigger of a collapsible Sider. |
608
- | `theme.triggerBg` | string | `"#002140"` | Background color of the collapse trigger of a dark Sider. |
609
- | `theme.triggerColor` | string | `"#fff"` | Color of the collapse trigger of a dark Sider. |
610
- | `theme.lightTriggerBg` | string | `"#ffffff"` | Background color of the collapse trigger of a light Sider. |
611
- | `theme.lightTriggerColor` | string | `"rgba(0, 0, 0, 0.88)"` | Color of the collapse trigger of a light Sider. |
593
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). |
612
594
 
613
595
  No events defined.
614
596
 
@@ -264,6 +264,58 @@ Notice the asymmetric spacing.
264
264
  content: Notice the asymmetric spacing.
265
265
  ```
266
266
 
267
+ Items fill left-to-right in source order instead of shortest column.
268
+
269
+ Second item.
270
+
271
+ Third item.
272
+
273
+ Taller card — order still preserved.
274
+
275
+ ```yaml
276
+ - id: mas_seq
277
+ type: Masonry
278
+ properties:
279
+ columns: 3
280
+ gutter: 12
281
+ sequential: true
282
+ blocks:
283
+ - id: mas_seq_c1
284
+ type: Card
285
+ properties:
286
+ size: small
287
+ title: "1"
288
+ blocks:
289
+ - id: mas_seq_c1_p
290
+ type: Paragraph
291
+ properties:
292
+ content: Items fill left-to-right in source order instead of shortest column.
293
+ - id: mas_seq_c2
294
+ type: Card
295
+ properties:
296
+ size: small
297
+ title: "2"
298
+ blocks:
299
+ - id: mas_seq_c2_p
300
+ type: Paragraph
301
+ properties:
302
+ content: Second item.
303
+ - id: mas_seq_c3
304
+ type: Card
305
+ properties:
306
+ size: small
307
+ title: "3"
308
+ blocks:
309
+ - id: mas_seq_c3_p
310
+ type: Paragraph
311
+ properties:
312
+ content: Third item.
313
+ - id: mas_seq_c3_p2
314
+ type: Paragraph
315
+ properties:
316
+ content: Taller card — order still preserved.
317
+ ```
318
+
267
319
  Theme tokens cascade to all child blocks within this Masonry.
268
320
 
269
321
  ```yaml
@@ -344,7 +396,7 @@ White cards against gray create visual separation.
344
396
  - id: mas_tw
345
397
  type: Masonry
346
398
  class:
347
- .element: bg-bg-layout p-6 rounded-xl
399
+ element: bg-bg-layout p-6 rounded-xl
348
400
  properties:
349
401
  columns: 2
350
402
  gutter: 12
@@ -612,9 +664,10 @@ Product Manager
612
664
  layout:
613
665
  flex: 0 0 auto
614
666
  properties:
615
- icon: user
667
+ icon: AiOutlineUser
616
668
  size: 48
617
- color: "#1677ff"
669
+ color: "#fff"
670
+ backgroundColor: "#1677ff"
618
671
  - id: mas_team_c1_info
619
672
  type: Box
620
673
  layout:
@@ -677,9 +730,10 @@ Product Manager
677
730
  layout:
678
731
  flex: 0 0 auto
679
732
  properties:
680
- icon: user
733
+ icon: AiOutlineUser
681
734
  size: 48
682
- color: "#52c41a"
735
+ color: "#fff"
736
+ backgroundColor: "#52c41a"
683
737
  - id: mas_team_c2_info
684
738
  type: Box
685
739
  layout:
@@ -740,9 +794,10 @@ Product Manager
740
794
  layout:
741
795
  flex: 0 0 auto
742
796
  properties:
743
- icon: user
797
+ icon: AiOutlineUser
744
798
  size: 48
745
- color: "#722ed1"
799
+ color: "#fff"
800
+ backgroundColor: "#722ed1"
746
801
  - id: mas_team_c3_info
747
802
  type: Box
748
803
  layout:
@@ -806,7 +861,7 @@ Desk Lamp
806
861
  - id: mas_products
807
862
  type: Masonry
808
863
  class:
809
- .element: bg-bg-layout p-6 rounded-xl
864
+ element: bg-bg-layout p-6 rounded-xl
810
865
  properties:
811
866
  columns:
812
867
  xs: 1
@@ -862,7 +917,7 @@ Desk Lamp
862
917
  variant: solid
863
918
  block: true
864
919
  size: small
865
- icon: ShoppingCart
920
+ icon: AiOutlineShoppingCart
866
921
  events:
867
922
  onClick:
868
923
  - id: mas_prod_c1_add
@@ -902,7 +957,7 @@ Desk Lamp
902
957
  variant: solid
903
958
  block: true
904
959
  size: small
905
- icon: ShoppingCart
960
+ icon: AiOutlineShoppingCart
906
961
  events:
907
962
  onClick:
908
963
  - id: mas_prod_c2_add
@@ -962,7 +1017,7 @@ Desk Lamp
962
1017
  variant: solid
963
1018
  block: true
964
1019
  size: small
965
- icon: ShoppingCart
1020
+ icon: AiOutlineShoppingCart
966
1021
  events:
967
1022
  onClick:
968
1023
  - id: mas_prod_c3_add
@@ -1002,7 +1057,7 @@ Desk Lamp
1002
1057
  variant: solid
1003
1058
  block: true
1004
1059
  size: small
1005
- icon: ShoppingCart
1060
+ icon: AiOutlineShoppingCart
1006
1061
  events:
1007
1062
  onClick:
1008
1063
  - id: mas_prod_c4_add
@@ -1014,10 +1069,10 @@ Desk Lamp
1014
1069
 
1015
1070
  | Property | Type | Default | Description |
1016
1071
  | --- | --- | --- | --- |
1017
- | `columns` | integer \| object | `3` | Number of columns, or responsive breakpoint object (e.g. { xs: 1, sm: 2, md: 3 }). |
1018
- | `fresh` | boolean | `false` | Keep watching the size of each item and re-layout when it changes, for items whose height changes after they render (images loading, expanding content). |
1019
- | `gutter` | number \| array \| object | `0` | Gap between items in pixels. A number, a responsive breakpoint object (e.g. { xs: 8, md: 16 }), or a [horizontal, vertical] array of either. |
1020
- | `sequential` | boolean | `false` | Has no effect: antd Masonry always places each item in the shortest column. Kept so existing configs stay valid. |
1072
+ | `columns` | integer \| object | - | Number of columns, or responsive breakpoint object. |
1073
+ | `fresh` | boolean | `false` | Force refresh the masonry layout. |
1074
+ | `gutter` | number \| array | - | Gap between items. Number or [horizontal, vertical] array. |
1075
+ | `sequential` | boolean | `false` | Whether to render items sequentially. |
1021
1076
  | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design masonry tokens](https://ant.design/components/masonry#design-token). |
1022
1077
  | `theme.motionDurationSlow` | string | `"0.3s"` | Duration for item position transitions and appear animations. |
1023
1078
  | `theme.motionDurationFast` | string | `"0.1s"` | Duration for item leave animations. |
@@ -1029,7 +1084,6 @@ No events defined.
1029
1084
  | --- | --- |
1030
1085
  | `/block` | Outer block wrapper (always available). |
1031
1086
  | `/element` | The Masonry element. |
1032
- | `/item` | Each item in the masonry grid. |
1033
1087
 
1034
1088
  | Slot | Description |
1035
1089
  | --- | --- |