@lowdefy/docs-content 0.0.0-experimental-20260710073520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
# Span
|
|
2
|
+
|
|
3
|
+
Inline container for wrapping content.
|
|
4
|
+
|
|
5
|
+
A Span with no child blocks, using the content property instead.
|
|
6
|
+
|
|
7
|
+
```yaml
|
|
8
|
+
- id: span_basic
|
|
9
|
+
type: Span
|
|
10
|
+
blocks:
|
|
11
|
+
- id: span_basic_text
|
|
12
|
+
type: Html
|
|
13
|
+
properties:
|
|
14
|
+
html: This is text inside a Span block using the content area.
|
|
15
|
+
- id: span_basic_empty
|
|
16
|
+
type: Span
|
|
17
|
+
properties:
|
|
18
|
+
content: A Span with no child blocks, using the content property instead.
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Plain text rendered via the content property.
|
|
22
|
+
|
|
23
|
+
<b>Bold</b>, <i>italic</i>, and <u>underlined</u> via the content property.
|
|
24
|
+
|
|
25
|
+
This content property overrides the content area below.
|
|
26
|
+
|
|
27
|
+
```yaml
|
|
28
|
+
- id: span_content_plain
|
|
29
|
+
type: Span
|
|
30
|
+
properties:
|
|
31
|
+
content: Plain text rendered via the content property.
|
|
32
|
+
- id: span_content_html
|
|
33
|
+
type: Span
|
|
34
|
+
properties:
|
|
35
|
+
content: <b>Bold</b>, <i>italic</i>, and <u>underlined</u> via the content property.
|
|
36
|
+
- id: span_content_overrides
|
|
37
|
+
type: Span
|
|
38
|
+
properties:
|
|
39
|
+
content: This content property overrides the content area below.
|
|
40
|
+
blocks:
|
|
41
|
+
- id: span_content_overrides_child
|
|
42
|
+
type: Html
|
|
43
|
+
properties:
|
|
44
|
+
html: This child block is hidden because the content property takes priority.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
- id: span_content_area
|
|
49
|
+
type: Span
|
|
50
|
+
blocks:
|
|
51
|
+
- id: span_content_area_icon
|
|
52
|
+
type: Icon
|
|
53
|
+
layout:
|
|
54
|
+
flex: 0 0 auto
|
|
55
|
+
properties:
|
|
56
|
+
name: AiOutlineInfoCircle
|
|
57
|
+
size: 14
|
|
58
|
+
color: "#1677ff"
|
|
59
|
+
- id: span_content_area_text
|
|
60
|
+
type: Html
|
|
61
|
+
layout:
|
|
62
|
+
flex: 0 0 auto
|
|
63
|
+
properties:
|
|
64
|
+
html: Child blocks render inside the content area when no content property is
|
|
65
|
+
set.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Click me to show a message
|
|
69
|
+
|
|
70
|
+
Click to update state
|
|
71
|
+
|
|
72
|
+
Click to navigate
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
- id: span_click_basic
|
|
76
|
+
type: Span
|
|
77
|
+
style:
|
|
78
|
+
.element:
|
|
79
|
+
color: "#1677ff"
|
|
80
|
+
textDecoration: underline
|
|
81
|
+
cursor: pointer
|
|
82
|
+
properties:
|
|
83
|
+
content: Click me to show a message
|
|
84
|
+
events:
|
|
85
|
+
onClick:
|
|
86
|
+
- id: span_click_basic_msg
|
|
87
|
+
type: DisplayMessage
|
|
88
|
+
params:
|
|
89
|
+
content: You clicked the Span!
|
|
90
|
+
status: success
|
|
91
|
+
- id: span_click_set_state
|
|
92
|
+
type: Span
|
|
93
|
+
style:
|
|
94
|
+
.element:
|
|
95
|
+
background: "#e6f4ff"
|
|
96
|
+
padding: 4px 12px
|
|
97
|
+
borderRadius: 4
|
|
98
|
+
color: "#1677ff"
|
|
99
|
+
fontWeight: bold
|
|
100
|
+
properties:
|
|
101
|
+
content: Click to update state
|
|
102
|
+
events:
|
|
103
|
+
onClick:
|
|
104
|
+
- id: span_click_set_state_action
|
|
105
|
+
type: SetState
|
|
106
|
+
params:
|
|
107
|
+
spanClicked: true
|
|
108
|
+
clickedAt:
|
|
109
|
+
_date: now
|
|
110
|
+
- id: span_click_link
|
|
111
|
+
type: Span
|
|
112
|
+
style:
|
|
113
|
+
.element:
|
|
114
|
+
color: "#722ed1"
|
|
115
|
+
textDecoration: underline
|
|
116
|
+
properties:
|
|
117
|
+
content: Click to navigate
|
|
118
|
+
events:
|
|
119
|
+
onClick:
|
|
120
|
+
- id: span_click_link_action
|
|
121
|
+
type: Link
|
|
122
|
+
params:
|
|
123
|
+
url: https://docs.lowdefy.com
|
|
124
|
+
newTab: true
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Underlined span
|
|
128
|
+
|
|
129
|
+
uppercase span
|
|
130
|
+
|
|
131
|
+
monospace code style
|
|
132
|
+
|
|
133
|
+
Gradient span
|
|
134
|
+
|
|
135
|
+
```yaml
|
|
136
|
+
- id: span_style_underline
|
|
137
|
+
type: Span
|
|
138
|
+
layout:
|
|
139
|
+
flex: 0 0 auto
|
|
140
|
+
style:
|
|
141
|
+
.element:
|
|
142
|
+
textDecoration: underline
|
|
143
|
+
textDecorationColor: "#1677ff"
|
|
144
|
+
textUnderlineOffset: 4px
|
|
145
|
+
properties:
|
|
146
|
+
content: Underlined span
|
|
147
|
+
- id: span_style_uppercase
|
|
148
|
+
type: Span
|
|
149
|
+
layout:
|
|
150
|
+
flex: 0 0 auto
|
|
151
|
+
style:
|
|
152
|
+
.element:
|
|
153
|
+
textTransform: uppercase
|
|
154
|
+
letterSpacing: 2
|
|
155
|
+
fontSize: 12
|
|
156
|
+
fontWeight: bold
|
|
157
|
+
color: "#8c8c8c"
|
|
158
|
+
properties:
|
|
159
|
+
content: uppercase span
|
|
160
|
+
- id: span_style_mono
|
|
161
|
+
type: Span
|
|
162
|
+
layout:
|
|
163
|
+
flex: 0 0 auto
|
|
164
|
+
style:
|
|
165
|
+
.element:
|
|
166
|
+
fontFamily: monospace
|
|
167
|
+
background: "#f5f5f5"
|
|
168
|
+
padding: 2px 6px
|
|
169
|
+
borderRadius: 4
|
|
170
|
+
fontSize: 13
|
|
171
|
+
color: "#cf1322"
|
|
172
|
+
properties:
|
|
173
|
+
content: monospace code style
|
|
174
|
+
- id: span_style_gradient
|
|
175
|
+
type: Span
|
|
176
|
+
layout:
|
|
177
|
+
flex: 0 0 auto
|
|
178
|
+
style:
|
|
179
|
+
.element:
|
|
180
|
+
background: linear-gradient(90deg,
|
|
181
|
+
color: "#ffffff"
|
|
182
|
+
padding: 4px 12px
|
|
183
|
+
borderRadius: 6
|
|
184
|
+
fontWeight: bold
|
|
185
|
+
properties:
|
|
186
|
+
content: Gradient span
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Bold blue text via Tailwind
|
|
190
|
+
|
|
191
|
+
Pill badge
|
|
192
|
+
|
|
193
|
+
Hover for effect
|
|
194
|
+
|
|
195
|
+
Ring outline
|
|
196
|
+
|
|
197
|
+
```yaml
|
|
198
|
+
- id: span_tw_bold_blue
|
|
199
|
+
type: Span
|
|
200
|
+
layout:
|
|
201
|
+
flex: 0 0 auto
|
|
202
|
+
class:
|
|
203
|
+
element: font-bold text-blue-600
|
|
204
|
+
properties:
|
|
205
|
+
content: Bold blue text via Tailwind
|
|
206
|
+
- id: span_tw_bg_pill
|
|
207
|
+
type: Span
|
|
208
|
+
layout:
|
|
209
|
+
flex: 0 0 auto
|
|
210
|
+
class:
|
|
211
|
+
element: bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium
|
|
212
|
+
properties:
|
|
213
|
+
content: Pill badge
|
|
214
|
+
- id: span_tw_hover
|
|
215
|
+
type: Span
|
|
216
|
+
layout:
|
|
217
|
+
flex: 0 0 auto
|
|
218
|
+
class:
|
|
219
|
+
element: text-gray-600 hover:text-blue-600 hover:underline transition-colors
|
|
220
|
+
duration-200 cursor-pointer
|
|
221
|
+
properties:
|
|
222
|
+
content: Hover for effect
|
|
223
|
+
- id: span_tw_ring
|
|
224
|
+
type: Span
|
|
225
|
+
layout:
|
|
226
|
+
flex: 0 0 auto
|
|
227
|
+
class:
|
|
228
|
+
element: ring-2 ring-purple-300 bg-purple-50 text-purple-700 px-3 py-1
|
|
229
|
+
rounded-md text-sm
|
|
230
|
+
properties:
|
|
231
|
+
content: Ring outline
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
This paragraph has an
|
|
235
|
+
|
|
236
|
+
inline highlighted Span
|
|
237
|
+
|
|
238
|
+
mixed with regular text.
|
|
239
|
+
|
|
240
|
+
```yaml
|
|
241
|
+
- id: span_inline_wrapper
|
|
242
|
+
type: Box
|
|
243
|
+
blocks:
|
|
244
|
+
- id: span_inline_before
|
|
245
|
+
type: Span
|
|
246
|
+
layout:
|
|
247
|
+
flex: 0 0 auto
|
|
248
|
+
properties:
|
|
249
|
+
content: "This paragraph has an "
|
|
250
|
+
- id: span_inline_highlight
|
|
251
|
+
type: Span
|
|
252
|
+
layout:
|
|
253
|
+
flex: 0 0 auto
|
|
254
|
+
style:
|
|
255
|
+
.element:
|
|
256
|
+
color: "#1677ff"
|
|
257
|
+
fontWeight: bold
|
|
258
|
+
properties:
|
|
259
|
+
content: inline highlighted Span
|
|
260
|
+
- id: span_inline_after
|
|
261
|
+
type: Span
|
|
262
|
+
layout:
|
|
263
|
+
flex: 0 0 auto
|
|
264
|
+
properties:
|
|
265
|
+
content: " mixed with regular text."
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
Hello,
|
|
269
|
+
|
|
270
|
+
world
|
|
271
|
+
|
|
272
|
+
!
|
|
273
|
+
|
|
274
|
+
```yaml
|
|
275
|
+
- id: span_multi_wrapper
|
|
276
|
+
type: Box
|
|
277
|
+
blocks:
|
|
278
|
+
- id: span_multi_hello
|
|
279
|
+
type: Span
|
|
280
|
+
layout:
|
|
281
|
+
flex: 0 0 auto
|
|
282
|
+
style:
|
|
283
|
+
.element:
|
|
284
|
+
fontWeight: bold
|
|
285
|
+
properties:
|
|
286
|
+
content: "Hello, "
|
|
287
|
+
- id: span_multi_world
|
|
288
|
+
type: Span
|
|
289
|
+
layout:
|
|
290
|
+
flex: 0 0 auto
|
|
291
|
+
style:
|
|
292
|
+
.element:
|
|
293
|
+
color: "#1677ff"
|
|
294
|
+
properties:
|
|
295
|
+
content: world
|
|
296
|
+
- id: span_multi_excl
|
|
297
|
+
type: Span
|
|
298
|
+
layout:
|
|
299
|
+
flex: 0 0 auto
|
|
300
|
+
properties:
|
|
301
|
+
content: "!"
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
Status:
|
|
305
|
+
|
|
306
|
+
```yaml
|
|
307
|
+
- id: span_nested_outer
|
|
308
|
+
type: Span
|
|
309
|
+
style:
|
|
310
|
+
.element:
|
|
311
|
+
padding: 8px 12px
|
|
312
|
+
background: "#f5f5f5"
|
|
313
|
+
borderRadius: 6
|
|
314
|
+
display: inline-flex
|
|
315
|
+
alignItems: center
|
|
316
|
+
gap: 8
|
|
317
|
+
blocks:
|
|
318
|
+
- id: span_nested_label
|
|
319
|
+
type: Span
|
|
320
|
+
layout:
|
|
321
|
+
flex: 0 0 auto
|
|
322
|
+
style:
|
|
323
|
+
.element:
|
|
324
|
+
fontWeight: bold
|
|
325
|
+
color: "#262626"
|
|
326
|
+
properties:
|
|
327
|
+
content: "Status:"
|
|
328
|
+
- id: span_nested_value
|
|
329
|
+
type: Span
|
|
330
|
+
layout:
|
|
331
|
+
flex: 0 0 auto
|
|
332
|
+
style:
|
|
333
|
+
.element:
|
|
334
|
+
color: "#52c41a"
|
|
335
|
+
blocks:
|
|
336
|
+
- id: span_nested_value_icon
|
|
337
|
+
type: Icon
|
|
338
|
+
layout:
|
|
339
|
+
flex: 0 0 auto
|
|
340
|
+
properties:
|
|
341
|
+
name: AiOutlineCheckCircle
|
|
342
|
+
size: 14
|
|
343
|
+
color: "#52c41a"
|
|
344
|
+
- id: span_nested_value_text
|
|
345
|
+
type: Html
|
|
346
|
+
layout:
|
|
347
|
+
flex: 0 0 auto
|
|
348
|
+
properties:
|
|
349
|
+
html: Active
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
Info
|
|
353
|
+
|
|
354
|
+
Success
|
|
355
|
+
|
|
356
|
+
Error
|
|
357
|
+
|
|
358
|
+
```yaml
|
|
359
|
+
- id: span_tag_blue
|
|
360
|
+
type: Span
|
|
361
|
+
layout:
|
|
362
|
+
flex: 0 0 auto
|
|
363
|
+
style:
|
|
364
|
+
.element:
|
|
365
|
+
background: "#e6f4ff"
|
|
366
|
+
color: "#1677ff"
|
|
367
|
+
padding: 2px 8px
|
|
368
|
+
borderRadius: 4
|
|
369
|
+
fontSize: 12
|
|
370
|
+
border: 1px solid
|
|
371
|
+
properties:
|
|
372
|
+
content: Info
|
|
373
|
+
- id: span_tag_green
|
|
374
|
+
type: Span
|
|
375
|
+
layout:
|
|
376
|
+
flex: 0 0 auto
|
|
377
|
+
style:
|
|
378
|
+
.element:
|
|
379
|
+
background: "#f6ffed"
|
|
380
|
+
color: "#52c41a"
|
|
381
|
+
padding: 2px 8px
|
|
382
|
+
borderRadius: 4
|
|
383
|
+
fontSize: 12
|
|
384
|
+
border: 1px solid
|
|
385
|
+
properties:
|
|
386
|
+
content: Success
|
|
387
|
+
- id: span_tag_red
|
|
388
|
+
type: Span
|
|
389
|
+
layout:
|
|
390
|
+
flex: 0 0 auto
|
|
391
|
+
style:
|
|
392
|
+
.element:
|
|
393
|
+
background: "#fff2f0"
|
|
394
|
+
color: "#ff4d4f"
|
|
395
|
+
padding: 2px 8px
|
|
396
|
+
borderRadius: 4
|
|
397
|
+
fontSize: 12
|
|
398
|
+
border: 1px solid
|
|
399
|
+
properties:
|
|
400
|
+
content: Error
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
NEW
|
|
404
|
+
|
|
405
|
+
3
|
|
406
|
+
|
|
407
|
+
LIVE
|
|
408
|
+
|
|
409
|
+
```yaml
|
|
410
|
+
- id: span_badge_primary
|
|
411
|
+
type: Span
|
|
412
|
+
layout:
|
|
413
|
+
flex: 0 0 auto
|
|
414
|
+
style:
|
|
415
|
+
.element:
|
|
416
|
+
background: "#1677ff"
|
|
417
|
+
color: "#ffffff"
|
|
418
|
+
padding: 2px 10px
|
|
419
|
+
borderRadius: 12
|
|
420
|
+
fontSize: 12
|
|
421
|
+
fontWeight: bold
|
|
422
|
+
properties:
|
|
423
|
+
content: NEW
|
|
424
|
+
- id: span_badge_danger
|
|
425
|
+
type: Span
|
|
426
|
+
layout:
|
|
427
|
+
flex: 0 0 auto
|
|
428
|
+
style:
|
|
429
|
+
.element:
|
|
430
|
+
background: "#ff4d4f"
|
|
431
|
+
color: "#ffffff"
|
|
432
|
+
padding: 2px 10px
|
|
433
|
+
borderRadius: 12
|
|
434
|
+
fontSize: 12
|
|
435
|
+
fontWeight: bold
|
|
436
|
+
properties:
|
|
437
|
+
content: "3"
|
|
438
|
+
- id: span_badge_success
|
|
439
|
+
type: Span
|
|
440
|
+
layout:
|
|
441
|
+
flex: 0 0 auto
|
|
442
|
+
style:
|
|
443
|
+
.element:
|
|
444
|
+
background: "#52c41a"
|
|
445
|
+
color: "#ffffff"
|
|
446
|
+
padding: 2px 10px
|
|
447
|
+
borderRadius: 12
|
|
448
|
+
fontSize: 12
|
|
449
|
+
fontWeight: bold
|
|
450
|
+
properties:
|
|
451
|
+
content: LIVE
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
```yaml
|
|
455
|
+
- id: span_icon_smile
|
|
456
|
+
type: Span
|
|
457
|
+
style:
|
|
458
|
+
.element:
|
|
459
|
+
display: inline-flex
|
|
460
|
+
alignItems: center
|
|
461
|
+
gap: 6
|
|
462
|
+
blocks:
|
|
463
|
+
- id: span_icon_smile_icon
|
|
464
|
+
type: Icon
|
|
465
|
+
layout:
|
|
466
|
+
flex: 0 0 auto
|
|
467
|
+
properties:
|
|
468
|
+
name: AiOutlineSmile
|
|
469
|
+
size: 16
|
|
470
|
+
color: "#faad14"
|
|
471
|
+
- id: span_icon_smile_label
|
|
472
|
+
type: Html
|
|
473
|
+
layout:
|
|
474
|
+
flex: 0 0 auto
|
|
475
|
+
properties:
|
|
476
|
+
html: Happy face
|
|
477
|
+
- id: span_icon_check
|
|
478
|
+
type: Span
|
|
479
|
+
style:
|
|
480
|
+
.element:
|
|
481
|
+
display: inline-flex
|
|
482
|
+
alignItems: center
|
|
483
|
+
gap: 6
|
|
484
|
+
blocks:
|
|
485
|
+
- id: span_icon_check_icon
|
|
486
|
+
type: Icon
|
|
487
|
+
layout:
|
|
488
|
+
flex: 0 0 auto
|
|
489
|
+
properties:
|
|
490
|
+
name: AiOutlineCheckCircle
|
|
491
|
+
size: 16
|
|
492
|
+
color: "#52c41a"
|
|
493
|
+
- id: span_icon_check_label
|
|
494
|
+
type: Html
|
|
495
|
+
layout:
|
|
496
|
+
flex: 0 0 auto
|
|
497
|
+
properties:
|
|
498
|
+
html: Approved
|
|
499
|
+
- id: span_icon_warning
|
|
500
|
+
type: Span
|
|
501
|
+
style:
|
|
502
|
+
.element:
|
|
503
|
+
display: inline-flex
|
|
504
|
+
alignItems: center
|
|
505
|
+
gap: 6
|
|
506
|
+
blocks:
|
|
507
|
+
- id: span_icon_warning_icon
|
|
508
|
+
type: Icon
|
|
509
|
+
layout:
|
|
510
|
+
flex: 0 0 auto
|
|
511
|
+
properties:
|
|
512
|
+
name: AiOutlineWarning
|
|
513
|
+
size: 16
|
|
514
|
+
color: "#ff4d4f"
|
|
515
|
+
- id: span_icon_warning_label
|
|
516
|
+
type: Html
|
|
517
|
+
layout:
|
|
518
|
+
flex: 0 0 auto
|
|
519
|
+
properties:
|
|
520
|
+
html: Warning
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
Order #10482:
|
|
524
|
+
|
|
525
|
+
Estimated delivery Mar 18, 2026
|
|
526
|
+
|
|
527
|
+
```yaml
|
|
528
|
+
- id: span_order_wrapper
|
|
529
|
+
type: Box
|
|
530
|
+
layout:
|
|
531
|
+
gap: 16
|
|
532
|
+
align: center
|
|
533
|
+
blocks:
|
|
534
|
+
- id: span_order_label
|
|
535
|
+
type: Span
|
|
536
|
+
layout:
|
|
537
|
+
flex: 0 0 auto
|
|
538
|
+
style:
|
|
539
|
+
.element:
|
|
540
|
+
fontWeight: bold
|
|
541
|
+
color: "#262626"
|
|
542
|
+
properties:
|
|
543
|
+
content: "Order #10482:"
|
|
544
|
+
- id: span_order_shipped
|
|
545
|
+
type: Span
|
|
546
|
+
layout:
|
|
547
|
+
flex: 0 0 auto
|
|
548
|
+
style:
|
|
549
|
+
.element:
|
|
550
|
+
display: inline-flex
|
|
551
|
+
alignItems: center
|
|
552
|
+
gap: 6
|
|
553
|
+
background: "#f6ffed"
|
|
554
|
+
color: "#52c41a"
|
|
555
|
+
padding: 4px 12px
|
|
556
|
+
borderRadius: 12
|
|
557
|
+
fontSize: 13
|
|
558
|
+
fontWeight: 500
|
|
559
|
+
border: 1px solid
|
|
560
|
+
blocks:
|
|
561
|
+
- id: span_order_shipped_icon
|
|
562
|
+
type: Icon
|
|
563
|
+
layout:
|
|
564
|
+
flex: 0 0 auto
|
|
565
|
+
properties:
|
|
566
|
+
name: AiOutlineCheckCircle
|
|
567
|
+
size: 14
|
|
568
|
+
color: "#52c41a"
|
|
569
|
+
- id: span_order_shipped_text
|
|
570
|
+
type: Html
|
|
571
|
+
layout:
|
|
572
|
+
flex: 0 0 auto
|
|
573
|
+
properties:
|
|
574
|
+
html: Shipped
|
|
575
|
+
- id: span_order_date
|
|
576
|
+
type: Span
|
|
577
|
+
layout:
|
|
578
|
+
flex: 0 0 auto
|
|
579
|
+
style:
|
|
580
|
+
.element:
|
|
581
|
+
color: "#8c8c8c"
|
|
582
|
+
fontSize: 13
|
|
583
|
+
properties:
|
|
584
|
+
content: Estimated delivery Mar 18, 2026
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
Home
|
|
588
|
+
|
|
589
|
+
/
|
|
590
|
+
|
|
591
|
+
Products
|
|
592
|
+
|
|
593
|
+
/
|
|
594
|
+
|
|
595
|
+
Widget Pro X
|
|
596
|
+
|
|
597
|
+
```yaml
|
|
598
|
+
- id: span_breadcrumb_wrapper
|
|
599
|
+
type: Box
|
|
600
|
+
layout:
|
|
601
|
+
gap: 8
|
|
602
|
+
align: center
|
|
603
|
+
blocks:
|
|
604
|
+
- id: span_breadcrumb_home
|
|
605
|
+
type: Span
|
|
606
|
+
layout:
|
|
607
|
+
flex: 0 0 auto
|
|
608
|
+
style:
|
|
609
|
+
.element:
|
|
610
|
+
color: "#1677ff"
|
|
611
|
+
cursor: pointer
|
|
612
|
+
properties:
|
|
613
|
+
content: Home
|
|
614
|
+
events:
|
|
615
|
+
onClick:
|
|
616
|
+
- id: span_breadcrumb_home_click
|
|
617
|
+
type: Link
|
|
618
|
+
params:
|
|
619
|
+
url: /
|
|
620
|
+
- id: span_breadcrumb_sep1
|
|
621
|
+
type: Span
|
|
622
|
+
layout:
|
|
623
|
+
flex: 0 0 auto
|
|
624
|
+
style:
|
|
625
|
+
.element:
|
|
626
|
+
color: "#d9d9d9"
|
|
627
|
+
properties:
|
|
628
|
+
content: /
|
|
629
|
+
- id: span_breadcrumb_products
|
|
630
|
+
type: Span
|
|
631
|
+
layout:
|
|
632
|
+
flex: 0 0 auto
|
|
633
|
+
style:
|
|
634
|
+
.element:
|
|
635
|
+
color: "#1677ff"
|
|
636
|
+
cursor: pointer
|
|
637
|
+
properties:
|
|
638
|
+
content: Products
|
|
639
|
+
events:
|
|
640
|
+
onClick:
|
|
641
|
+
- id: span_breadcrumb_products_click
|
|
642
|
+
type: Link
|
|
643
|
+
params:
|
|
644
|
+
url: /products
|
|
645
|
+
- id: span_breadcrumb_sep2
|
|
646
|
+
type: Span
|
|
647
|
+
layout:
|
|
648
|
+
flex: 0 0 auto
|
|
649
|
+
style:
|
|
650
|
+
.element:
|
|
651
|
+
color: "#d9d9d9"
|
|
652
|
+
properties:
|
|
653
|
+
content: /
|
|
654
|
+
- id: span_breadcrumb_current
|
|
655
|
+
type: Span
|
|
656
|
+
layout:
|
|
657
|
+
flex: 0 0 auto
|
|
658
|
+
style:
|
|
659
|
+
.element:
|
|
660
|
+
color: "#595959"
|
|
661
|
+
fontWeight: 500
|
|
662
|
+
properties:
|
|
663
|
+
content: Widget Pro X
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
Sarah Mitchell
|
|
667
|
+
|
|
668
|
+
Admin
|
|
669
|
+
|
|
670
|
+
```yaml
|
|
671
|
+
- id: span_profile_wrapper
|
|
672
|
+
type: Box
|
|
673
|
+
layout:
|
|
674
|
+
gap: 12
|
|
675
|
+
align: center
|
|
676
|
+
blocks:
|
|
677
|
+
- id: span_profile_avatar
|
|
678
|
+
type: Icon
|
|
679
|
+
layout:
|
|
680
|
+
flex: 0 0 auto
|
|
681
|
+
properties:
|
|
682
|
+
name: AiOutlineUser
|
|
683
|
+
size: 20
|
|
684
|
+
color: "#1677ff"
|
|
685
|
+
- id: span_profile_name
|
|
686
|
+
type: Span
|
|
687
|
+
layout:
|
|
688
|
+
flex: 0 0 auto
|
|
689
|
+
style:
|
|
690
|
+
.element:
|
|
691
|
+
fontWeight: bold
|
|
692
|
+
fontSize: 14
|
|
693
|
+
color: "#262626"
|
|
694
|
+
properties:
|
|
695
|
+
content: Sarah Mitchell
|
|
696
|
+
- id: span_profile_role
|
|
697
|
+
type: Span
|
|
698
|
+
layout:
|
|
699
|
+
flex: 0 0 auto
|
|
700
|
+
class:
|
|
701
|
+
element: bg-purple-100 text-purple-700 px-2 py-0.5 rounded-full text-xs
|
|
702
|
+
font-medium
|
|
703
|
+
properties:
|
|
704
|
+
content: Admin
|
|
705
|
+
- id: span_profile_status
|
|
706
|
+
type: Span
|
|
707
|
+
layout:
|
|
708
|
+
flex: 0 0 auto
|
|
709
|
+
style:
|
|
710
|
+
.element:
|
|
711
|
+
display: inline-flex
|
|
712
|
+
alignItems: center
|
|
713
|
+
gap: 4
|
|
714
|
+
fontSize: 12
|
|
715
|
+
color: "#52c41a"
|
|
716
|
+
blocks:
|
|
717
|
+
- id: span_profile_status_dot
|
|
718
|
+
type: Html
|
|
719
|
+
layout:
|
|
720
|
+
flex: 0 0 auto
|
|
721
|
+
properties:
|
|
722
|
+
html: <span
|
|
723
|
+
style="width:6px;height:6px;background:#52c41a;border-radius:50%;display:inline-block;"></span>
|
|
724
|
+
- id: span_profile_status_text
|
|
725
|
+
type: Html
|
|
726
|
+
layout:
|
|
727
|
+
flex: 0 0 auto
|
|
728
|
+
properties:
|
|
729
|
+
html: Online
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
| Property | Type | Default | Description |
|
|
733
|
+
| --- | --- | --- | --- |
|
|
734
|
+
| `content` | string | - | Span content string. Overrides the "content" content area. |
|
|
735
|
+
|
|
736
|
+
| Event | Event Data | Description |
|
|
737
|
+
| --- | --- | --- |
|
|
738
|
+
| `onClick` | \- | Trigger actions when the Span is clicked. |
|
|
739
|
+
|
|
740
|
+
| Key | Target |
|
|
741
|
+
| --- | --- |
|
|
742
|
+
| `/block` | Outer block wrapper (always available). |
|
|
743
|
+
| `/element` | The Span element. |
|
|
744
|
+
|
|
745
|
+
| Slot | Description |
|
|
746
|
+
| --- | --- |
|
|
747
|
+
| `content` | Child blocks in the Span. |
|