@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
@@ -1,152 +1,6 @@
1
1
  # Icon
2
2
 
3
- Display a Lucide icon by semantic name (`edit`), Lucide name (`Pencil`) or qualified name (`lucide:Pencil`), with per-icon size, colour and stroke width.
4
-
5
- Lowdefy draws icons with [Lucide](https://lucide.dev): about 1,850 stroke icons on a 24px grid. The Icon block renders one icon. Every block property that takes an icon, such as `icon` on a Button or a menu link, takes the same names and the same settings.
6
-
7
- ## Icon names
8
-
9
- An icon name has one of three forms:
10
-
11
- | Form | Example | Resolves to |
12
- | --------- | -------------------------------- | -------------------------------------------------------------------------------------------------------- |
13
- | Semantic | `edit`, `chevron-down` | A built-in name for a common job, lowercase kebab-case. `edit` draws Lucide `Pencil`. |
14
- | Set name | `Pencil`, `Receipt` | An icon in the app's default set (`theme.icons.set`, Lucide unless changed), then in Lucide. PascalCase. |
15
- | Qualified | `lucide:Pencil`, `tabler:Pencil` | That icon in that set only. Use it to reach a set that is not the default. |
16
-
17
- Use a semantic name when one fits. Blocks and Ant Design components use the same names for their own icons, so `theme.icons.aliases` or an [icon set](/plugins-icon-sets) restyles your icons and the built-in ones together. [Theming](/theming) lists every semantic name.
18
-
19
- For anything else, use the Lucide name in PascalCase. Search [lucide.dev/icons](https://lucide.dev/icons), then write the name as the React component name: `circle-dollar-sign` on the site is `CircleDollarSign` in config. Lucide's older alias names, such as `Home` for `House`, also work.
20
-
21
- In a running dev server, AI agents can find names with the `lowdefy_search_icons` tool (see [Docs for AI Agents](/ai-agent-docs)).
22
-
23
- ```yaml
24
- - id: edit_icon
25
- type: Icon
26
- properties:
27
- name: edit # semantic
28
- - id: invoice_icon
29
- type: Icon
30
- properties:
31
- name: Receipt # Lucide
32
- - id: save_button
33
- type: Button
34
- properties:
35
- title: Save
36
- icon: save
37
- ```
38
-
39
- An unknown icon name in config fails the build, with a suggestion. Old react-icons names such as `AiOutlineUser` fail too; see [V6 to V7](/v6-to-v7) to migrate them.
40
-
41
- ## Icon settings
42
-
43
- Set these on the Icon block, or pass an object instead of a name to any `icon` property:
44
-
45
- | Property | Default | Description |
46
- | ------------------ | ------- | ---------------------------------------------------------------------------------------------- |
47
- | `name` | | The icon name. |
48
- | `size` | `1em` | Width and height. A number is pixels; a string is any CSS length. `1em` follows the font size. |
49
- | `color` | | CSS colour. It colours stroke and fill icons alike. |
50
- | `strokeWidth` | `2` | Line width, in units of the icon's 24px grid. |
51
- | `nonScalingStroke` | `false` | Keep the line width constant in screen pixels at any size. |
52
- | `rotate` | | Degrees to rotate the icon. |
53
- | `spin` | `false` | Replace the icon with the spinning `loading` icon. |
54
- | `title` | | Hover text, read by screen readers. |
55
-
56
- ```yaml
57
- - id: delete_button
58
- type: Button
59
- properties:
60
- title: Delete
61
- danger: true
62
- icon:
63
- name: delete
64
- strokeWidth: 1.5
65
- - id: status_icon
66
- type: Icon
67
- properties:
68
- name: CircleCheckBig
69
- size: 32
70
- color: '#16a34a'
71
- nonScalingStroke: true
72
- ```
73
-
74
- The defaults for `size`, `strokeWidth` and `nonScalingStroke` come from `theme.icons`, so one setting changes every icon in the app. A value on the icon wins over the theme.
75
-
76
- ## Titles
77
-
78
- The Icon block adds a hover title made from the name: `Pencil` gives "Pencil", `ArrowLeftRight` gives "Arrow left right", and `more-vertical` gives "More vertical". A qualified name drops its set prefix. Set `title` to change it, or to an empty string for a decorative icon.
79
-
80
- ## Names only known at runtime
81
-
82
- The build bundles only the icons your config names. A name that comes from state, a request or a database is not in the config, so list it under `theme.icons.include`. In production each page loads only its own icons, so the first such name a page draws loads the rest of the app's icons; the icon keeps its space until they arrive:
83
-
84
- ```yaml
85
- theme:
86
- icons:
87
- include:
88
- - Flag
89
- - Truck
90
- ```
91
-
92
- ```yaml
93
- - id: semantic_add
94
- type: Icon
95
- layout:
96
- flex: 0 0 auto
97
- properties:
98
- name: add
99
- size: 24
100
- - id: semantic_edit
101
- type: Icon
102
- layout:
103
- flex: 0 0 auto
104
- properties:
105
- name: edit
106
- size: 24
107
- - id: semantic_delete
108
- type: Icon
109
- layout:
110
- flex: 0 0 auto
111
- properties:
112
- name: delete
113
- size: 24
114
- - id: semantic_search
115
- type: Icon
116
- layout:
117
- flex: 0 0 auto
118
- properties:
119
- name: search
120
- size: 24
121
- - id: semantic_settings
122
- type: Icon
123
- layout:
124
- flex: 0 0 auto
125
- properties:
126
- name: settings
127
- size: 24
128
- - id: semantic_warning
129
- type: Icon
130
- layout:
131
- flex: 0 0 auto
132
- properties:
133
- name: warning
134
- size: 24
135
- - id: semantic_info
136
- type: Icon
137
- layout:
138
- flex: 0 0 auto
139
- properties:
140
- name: info
141
- size: 24
142
- - id: semantic_success
143
- type: Icon
144
- layout:
145
- flex: 0 0 auto
146
- properties:
147
- name: success
148
- size: 24
149
- ```
3
+ Display icons from the React Icons library.
150
4
 
151
5
  ```yaml
152
6
  - id: icon_home
@@ -154,84 +8,84 @@ theme:
154
8
  layout:
155
9
  flex: 0 0 auto
156
10
  properties:
157
- name: home
11
+ name: AiOutlineHome
158
12
  size: 24
159
13
  - id: icon_search
160
14
  type: Icon
161
15
  layout:
162
16
  flex: 0 0 auto
163
17
  properties:
164
- name: search
18
+ name: AiOutlineSearch
165
19
  size: 24
166
20
  - id: icon_user
167
21
  type: Icon
168
22
  layout:
169
23
  flex: 0 0 auto
170
24
  properties:
171
- name: user
25
+ name: AiOutlineUser
172
26
  size: 24
173
27
  - id: icon_setting
174
28
  type: Icon
175
29
  layout:
176
30
  flex: 0 0 auto
177
31
  properties:
178
- name: settings
32
+ name: AiOutlineSetting
179
33
  size: 24
180
34
  - id: icon_bell
181
35
  type: Icon
182
36
  layout:
183
37
  flex: 0 0 auto
184
38
  properties:
185
- name: bell
39
+ name: AiOutlineBell
186
40
  size: 24
187
41
  - id: icon_heart
188
42
  type: Icon
189
43
  layout:
190
44
  flex: 0 0 auto
191
45
  properties:
192
- name: heart
46
+ name: AiOutlineHeart
193
47
  size: 24
194
48
  - id: icon_star
195
49
  type: Icon
196
50
  layout:
197
51
  flex: 0 0 auto
198
52
  properties:
199
- name: star
53
+ name: AiOutlineStar
200
54
  size: 24
201
55
  - id: icon_check
202
56
  type: Icon
203
57
  layout:
204
58
  flex: 0 0 auto
205
59
  properties:
206
- name: check
60
+ name: AiOutlineCheck
207
61
  size: 24
208
62
  - id: icon_close
209
63
  type: Icon
210
64
  layout:
211
65
  flex: 0 0 auto
212
66
  properties:
213
- name: close
67
+ name: AiOutlineClose
214
68
  size: 24
215
69
  - id: icon_info
216
70
  type: Icon
217
71
  layout:
218
72
  flex: 0 0 auto
219
73
  properties:
220
- name: info
74
+ name: AiOutlineInfoCircle
221
75
  size: 24
222
76
  - id: icon_warning
223
77
  type: Icon
224
78
  layout:
225
79
  flex: 0 0 auto
226
80
  properties:
227
- name: warning
81
+ name: AiOutlineWarning
228
82
  size: 24
229
83
  - id: icon_mail
230
84
  type: Icon
231
85
  layout:
232
86
  flex: 0 0 auto
233
87
  properties:
234
- name: mail
88
+ name: AiOutlineMail
235
89
  size: 24
236
90
  ```
237
91
 
@@ -241,35 +95,35 @@ theme:
241
95
  layout:
242
96
  flex: 0 0 auto
243
97
  properties:
244
- name: Rocket
98
+ name: AiOutlineRocket
245
99
  size: 16
246
100
  - id: size_24
247
101
  type: Icon
248
102
  layout:
249
103
  flex: 0 0 auto
250
104
  properties:
251
- name: Rocket
105
+ name: AiOutlineRocket
252
106
  size: 24
253
107
  - id: size_32
254
108
  type: Icon
255
109
  layout:
256
110
  flex: 0 0 auto
257
111
  properties:
258
- name: Rocket
112
+ name: AiOutlineRocket
259
113
  size: 32
260
114
  - id: size_48
261
115
  type: Icon
262
116
  layout:
263
117
  flex: 0 0 auto
264
118
  properties:
265
- name: Rocket
119
+ name: AiOutlineRocket
266
120
  size: 48
267
121
  - id: size_64
268
122
  type: Icon
269
123
  layout:
270
124
  flex: 0 0 auto
271
125
  properties:
272
- name: Rocket
126
+ name: AiOutlineRocket
273
127
  size: 64
274
128
  ```
275
129
 
@@ -279,7 +133,7 @@ theme:
279
133
  layout:
280
134
  flex: 0 0 auto
281
135
  properties:
282
- name: heart
136
+ name: AiOutlineHeart
283
137
  size: 32
284
138
  color: red
285
139
  - id: color_blue
@@ -287,7 +141,7 @@ theme:
287
141
  layout:
288
142
  flex: 0 0 auto
289
143
  properties:
290
- name: heart
144
+ name: AiOutlineHeart
291
145
  size: 32
292
146
  color: blue
293
147
  - id: color_green
@@ -295,7 +149,7 @@ theme:
295
149
  layout:
296
150
  flex: 0 0 auto
297
151
  properties:
298
- name: heart
152
+ name: AiOutlineHeart
299
153
  size: 32
300
154
  color: green
301
155
  - id: color_orange
@@ -303,7 +157,7 @@ theme:
303
157
  layout:
304
158
  flex: 0 0 auto
305
159
  properties:
306
- name: heart
160
+ name: AiOutlineHeart
307
161
  size: 32
308
162
  color: orange
309
163
  - id: color_purple
@@ -311,7 +165,7 @@ theme:
311
165
  layout:
312
166
  flex: 0 0 auto
313
167
  properties:
314
- name: heart
168
+ name: AiOutlineHeart
315
169
  size: 32
316
170
  color: purple
317
171
  - id: color_tomato
@@ -319,7 +173,7 @@ theme:
319
173
  layout:
320
174
  flex: 0 0 auto
321
175
  properties:
322
- name: heart
176
+ name: AiOutlineHeart
323
177
  size: 32
324
178
  color: tomato
325
179
  - id: color_teal
@@ -327,7 +181,7 @@ theme:
327
181
  layout:
328
182
  flex: 0 0 auto
329
183
  properties:
330
- name: heart
184
+ name: AiOutlineHeart
331
185
  size: 32
332
186
  color: teal
333
187
  - id: color_coral
@@ -335,7 +189,7 @@ theme:
335
189
  layout:
336
190
  flex: 0 0 auto
337
191
  properties:
338
- name: heart
192
+ name: AiOutlineHeart
339
193
  size: 32
340
194
  color: coral
341
195
  ```
@@ -346,7 +200,7 @@ theme:
346
200
  layout:
347
201
  flex: 0 0 auto
348
202
  properties:
349
- name: Zap
203
+ name: AiOutlineThunderbolt
350
204
  size: 40
351
205
  color: "#1677ff"
352
206
  - id: hex_green
@@ -354,7 +208,7 @@ theme:
354
208
  layout:
355
209
  flex: 0 0 auto
356
210
  properties:
357
- name: Zap
211
+ name: AiOutlineThunderbolt
358
212
  size: 40
359
213
  color: "#52c41a"
360
214
  - id: hex_red
@@ -362,7 +216,7 @@ theme:
362
216
  layout:
363
217
  flex: 0 0 auto
364
218
  properties:
365
- name: Zap
219
+ name: AiOutlineThunderbolt
366
220
  size: 40
367
221
  color: "#f5222d"
368
222
  - id: hex_orange
@@ -370,7 +224,7 @@ theme:
370
224
  layout:
371
225
  flex: 0 0 auto
372
226
  properties:
373
- name: Zap
227
+ name: AiOutlineThunderbolt
374
228
  size: 40
375
229
  color: "#fa8c16"
376
230
  - id: hex_purple
@@ -378,7 +232,7 @@ theme:
378
232
  layout:
379
233
  flex: 0 0 auto
380
234
  properties:
381
- name: Zap
235
+ name: AiOutlineThunderbolt
382
236
  size: 40
383
237
  color: "#722ed1"
384
238
  - id: hex_cyan
@@ -386,7 +240,7 @@ theme:
386
240
  layout:
387
241
  flex: 0 0 auto
388
242
  properties:
389
- name: Zap
243
+ name: AiOutlineThunderbolt
390
244
  size: 40
391
245
  color: "#13c2c2"
392
246
  - id: hex_coral
@@ -394,7 +248,7 @@ theme:
394
248
  layout:
395
249
  flex: 0 0 auto
396
250
  properties:
397
- name: Zap
251
+ name: AiOutlineThunderbolt
398
252
  size: 40
399
253
  color: "#ff6b6b"
400
254
  - id: hex_indigo
@@ -402,7 +256,7 @@ theme:
402
256
  layout:
403
257
  flex: 0 0 auto
404
258
  properties:
405
- name: Zap
259
+ name: AiOutlineThunderbolt
406
260
  size: 40
407
261
  color: "#4c6ef5"
408
262
  - id: hex_pink
@@ -410,7 +264,7 @@ theme:
410
264
  layout:
411
265
  flex: 0 0 auto
412
266
  properties:
413
- name: Zap
267
+ name: AiOutlineThunderbolt
414
268
  size: 40
415
269
  color: "#e64980"
416
270
  - id: hex_amber
@@ -418,7 +272,7 @@ theme:
418
272
  layout:
419
273
  flex: 0 0 auto
420
274
  properties:
421
- name: Zap
275
+ name: AiOutlineThunderbolt
422
276
  size: 40
423
277
  color: "#fab005"
424
278
  ```
@@ -429,7 +283,7 @@ theme:
429
283
  layout:
430
284
  flex: 0 0 auto
431
285
  properties:
432
- name: loading
286
+ name: AiOutlineLoading
433
287
  size: 32
434
288
  spin: true
435
289
  color: "#1677ff"
@@ -438,7 +292,7 @@ theme:
438
292
  layout:
439
293
  flex: 0 0 auto
440
294
  properties:
441
- name: loading
295
+ name: AiOutlineLoading3Quarters
442
296
  size: 32
443
297
  spin: true
444
298
  color: "#52c41a"
@@ -447,7 +301,7 @@ theme:
447
301
  layout:
448
302
  flex: 0 0 auto
449
303
  properties:
450
- name: RefreshCw
304
+ name: AiOutlineSync
451
305
  size: 32
452
306
  spin: true
453
307
  color: "#fa8c16"
@@ -456,7 +310,7 @@ theme:
456
310
  layout:
457
311
  flex: 0 0 auto
458
312
  properties:
459
- name: settings
313
+ name: AiOutlineSetting
460
314
  size: 32
461
315
  spin: true
462
316
  color: "#722ed1"
@@ -465,7 +319,7 @@ theme:
465
319
  layout:
466
320
  flex: 0 0 auto
467
321
  properties:
468
- name: refresh
322
+ name: AiOutlineReload
469
323
  size: 32
470
324
  spin: true
471
325
  color: "#f5222d"
@@ -477,7 +331,7 @@ theme:
477
331
  layout:
478
332
  flex: 0 0 auto
479
333
  properties:
480
- name: arrow-up
334
+ name: AiOutlineArrowUp
481
335
  size: 32
482
336
  rotate: 0
483
337
  color: "#1677ff"
@@ -486,7 +340,7 @@ theme:
486
340
  layout:
487
341
  flex: 0 0 auto
488
342
  properties:
489
- name: arrow-up
343
+ name: AiOutlineArrowUp
490
344
  size: 32
491
345
  rotate: 45
492
346
  color: "#1677ff"
@@ -495,7 +349,7 @@ theme:
495
349
  layout:
496
350
  flex: 0 0 auto
497
351
  properties:
498
- name: arrow-up
352
+ name: AiOutlineArrowUp
499
353
  size: 32
500
354
  rotate: 90
501
355
  color: "#1677ff"
@@ -504,7 +358,7 @@ theme:
504
358
  layout:
505
359
  flex: 0 0 auto
506
360
  properties:
507
- name: arrow-up
361
+ name: AiOutlineArrowUp
508
362
  size: 32
509
363
  rotate: 135
510
364
  color: "#1677ff"
@@ -513,7 +367,7 @@ theme:
513
367
  layout:
514
368
  flex: 0 0 auto
515
369
  properties:
516
- name: arrow-up
370
+ name: AiOutlineArrowUp
517
371
  size: 32
518
372
  rotate: 180
519
373
  color: "#1677ff"
@@ -522,54 +376,19 @@ theme:
522
376
  layout:
523
377
  flex: 0 0 auto
524
378
  properties:
525
- name: arrow-up
379
+ name: AiOutlineArrowUp
526
380
  size: 32
527
381
  rotate: 270
528
382
  color: "#1677ff"
529
383
  ```
530
384
 
531
- ```yaml
532
- - id: stroke_width_1
533
- type: Icon
534
- layout:
535
- flex: 0 0 auto
536
- properties:
537
- name: heart
538
- size: 32
539
- strokeWidth: 1
540
- - id: stroke_width_2
541
- type: Icon
542
- layout:
543
- flex: 0 0 auto
544
- properties:
545
- name: heart
546
- size: 32
547
- strokeWidth: 2
548
- - id: stroke_width_3
549
- type: Icon
550
- layout:
551
- flex: 0 0 auto
552
- properties:
553
- name: heart
554
- size: 32
555
- strokeWidth: 3
556
- - id: non_scaling_stroke
557
- type: Icon
558
- layout:
559
- flex: 0 0 auto
560
- properties:
561
- name: heart
562
- size: 64
563
- nonScalingStroke: true
564
- ```
565
-
566
385
  ```yaml
567
386
  - id: title_info
568
387
  type: Icon
569
388
  layout:
570
389
  flex: 0 0 auto
571
390
  properties:
572
- name: info
391
+ name: AiOutlineInfoCircle
573
392
  size: 32
574
393
  color: "#1677ff"
575
394
  title: More information
@@ -578,7 +397,7 @@ theme:
578
397
  layout:
579
398
  flex: 0 0 auto
580
399
  properties:
581
- name: warning
400
+ name: AiOutlineWarning
582
401
  size: 32
583
402
  color: "#faad14"
584
403
  title: Warning - proceed with caution
@@ -587,7 +406,7 @@ theme:
587
406
  layout:
588
407
  flex: 0 0 auto
589
408
  properties:
590
- name: help
409
+ name: AiOutlineQuestionCircle
591
410
  size: 32
592
411
  color: "#722ed1"
593
412
  title: Click for help
@@ -612,7 +431,7 @@ theme:
612
431
  layout:
613
432
  flex: 0 0 auto
614
433
  properties:
615
- name: Cloud
434
+ name: AiOutlineCloud
616
435
  size: 40
617
436
  color: "#69b1ff"
618
437
  - id: dark_bg_green
@@ -633,7 +452,7 @@ theme:
633
452
  layout:
634
453
  flex: 0 0 auto
635
454
  properties:
636
- name: check-circle
455
+ name: AiOutlineCheckCircle
637
456
  size: 40
638
457
  color: "#95de64"
639
458
  - id: dark_bg_red
@@ -654,7 +473,7 @@ theme:
654
473
  layout:
655
474
  flex: 0 0 auto
656
475
  properties:
657
- name: close-circle
476
+ name: AiOutlineCloseCircle
658
477
  size: 40
659
478
  color: "#ff7875"
660
479
  - id: dark_bg_purple
@@ -675,7 +494,7 @@ theme:
675
494
  layout:
676
495
  flex: 0 0 auto
677
496
  properties:
678
- name: star
497
+ name: AiOutlineStar
679
498
  size: 40
680
499
  color: "#b37feb"
681
500
  ```
@@ -700,7 +519,7 @@ theme:
700
519
  layout:
701
520
  flex: 0 0 auto
702
521
  properties:
703
- name: check-circle
522
+ name: AiOutlineCheckCircle
704
523
  size: 36
705
524
  color: "#52c41a"
706
525
  - id: colored_bg_warning
@@ -722,7 +541,7 @@ theme:
722
541
  layout:
723
542
  flex: 0 0 auto
724
543
  properties:
725
- name: CircleAlert
544
+ name: AiOutlineExclamationCircle
726
545
  size: 36
727
546
  color: "#faad14"
728
547
  - id: colored_bg_error
@@ -744,7 +563,7 @@ theme:
744
563
  layout:
745
564
  flex: 0 0 auto
746
565
  properties:
747
- name: close-circle
566
+ name: AiOutlineCloseCircle
748
567
  size: 36
749
568
  color: "#ff4d4f"
750
569
  - id: colored_bg_info
@@ -766,7 +585,7 @@ theme:
766
585
  layout:
767
586
  flex: 0 0 auto
768
587
  properties:
769
- name: info
588
+ name: AiOutlineInfoCircle
770
589
  size: 36
771
590
  color: "#1677ff"
772
591
  ```
@@ -782,7 +601,7 @@ theme:
782
601
  padding: 12
783
602
  borderRadius: 50%
784
603
  properties:
785
- name: user
604
+ name: AiOutlineUser
786
605
  size: 32
787
606
  color: "#1677ff"
788
607
  - id: style_bordered
@@ -795,7 +614,7 @@ theme:
795
614
  padding: 10
796
615
  borderRadius: 8
797
616
  properties:
798
- name: settings
617
+ name: AiOutlineSetting
799
618
  size: 28
800
619
  color: "#595959"
801
620
  - id: style_shadow
@@ -809,7 +628,7 @@ theme:
809
628
  borderRadius: 12
810
629
  boxShadow: 0 2px 8px rgba(0, 0, 0, 0.15)
811
630
  properties:
812
- name: bell
631
+ name: AiOutlineBell
813
632
  size: 30
814
633
  color: "#fa8c16"
815
634
  - id: style_gradient_bg
@@ -822,7 +641,7 @@ theme:
822
641
  padding: 14
823
642
  borderRadius: 12
824
643
  properties:
825
- name: Zap
644
+ name: AiOutlineThunderbolt
826
645
  size: 30
827
646
  color: "#ffffff"
828
647
  - id: style_circle_bg
@@ -838,7 +657,7 @@ theme:
838
657
  alignItems: center
839
658
  justifyContent: center
840
659
  properties:
841
- name: heart
660
+ name: AiOutlineHeart
842
661
  size: 24
843
662
  color: "#ffffff"
844
663
  ```
@@ -857,7 +676,7 @@ theme:
857
676
  layout:
858
677
  flex: 0 0 auto
859
678
  properties:
860
- name: edit
679
+ name: AiOutlineEdit
861
680
  size: 32
862
681
  color: "#1677ff"
863
682
  disableLoadingIcon: false
@@ -870,7 +689,7 @@ theme:
870
689
  layout:
871
690
  flex: 0 0 auto
872
691
  properties:
873
- name: edit
692
+ name: AiOutlineEdit
874
693
  size: 32
875
694
  color: "#1677ff"
876
695
  disableLoadingIcon: true
@@ -879,18 +698,16 @@ theme:
879
698
  | Property | Type | Default | Description |
880
699
  | --- | --- | --- | --- |
881
700
  | `color` | string | - | Primary icon color. |
882
- | `name` | string | - | Icon name: a semantic name like `edit`, a Lucide icon name like `Pencil`, or a set-qualified name like `tabler:Pencil`. Add your own semantic names with `theme.icons.aliases`. |
883
- | `nonScalingStroke` | boolean | - | Keep the stroke width constant at any icon size. Defaults to `theme.icons.nonScalingStroke`. |
701
+ | `name` | string | `"AiOutlineCloseCircle"` | Name of icon to be displayed. |
884
702
  | `rotate` | number | - | Number of degrees to rotate the icon. |
885
703
  | `size` | string \| number | - | Size of the icon. |
886
- | `strokeWidth` | number | - | Stroke width of the icon lines, in pixels of the 24px icon grid. Defaults to `theme.icons.strokeWidth` (2). |
887
704
  | `spin` | boolean | `false` | Continuously spin icon with animation. |
888
705
  | `title` | string | - | Icon hover title for accessibility. |
889
706
  | `disableLoadingIcon` | boolean | `false` | While loading after the icon has been clicked, don't render the loading icon. |
890
707
 
891
708
  | Event | Event Data | Description |
892
709
  | --- | --- | --- |
893
- | `onClick` | \- | Trigger actions when icon is clicked. The icon then takes keyboard focus, and Enter or Space trigger it too. |
710
+ | `onClick` | \- | Trigger actions when icon is clicked. |
894
711
 
895
712
  | Key | Target |
896
713
  | --- | --- |