@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.
Files changed (304) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +20 -0
  3. package/content/actions/callapi.md +66 -0
  4. package/content/actions/callmethod.md +41 -0
  5. package/content/actions/copytoclipboard.md +32 -0
  6. package/content/actions/displaymessage.md +53 -0
  7. package/content/actions/downloadcsv.md +89 -0
  8. package/content/actions/fetch.md +50 -0
  9. package/content/actions/geolocationcurrentposition.md +56 -0
  10. package/content/actions/link.md +104 -0
  11. package/content/actions/login.md +85 -0
  12. package/content/actions/logout.md +56 -0
  13. package/content/actions/pdfmake.md +304 -0
  14. package/content/actions/request.md +67 -0
  15. package/content/actions/reset.md +27 -0
  16. package/content/actions/resetvalidation.md +85 -0
  17. package/content/actions/scrollto.md +85 -0
  18. package/content/actions/setdarkmode.md +62 -0
  19. package/content/actions/setfocus.md +33 -0
  20. package/content/actions/setglobal.md +63 -0
  21. package/content/actions/setlocale.md +69 -0
  22. package/content/actions/setstate.md +70 -0
  23. package/content/actions/throw.md +72 -0
  24. package/content/actions/validate.md +87 -0
  25. package/content/actions/wait.md +24 -0
  26. package/content/agents/agent-endpoint-tools.md +190 -0
  27. package/content/agents/agent-mcp-tools.md +124 -0
  28. package/content/agents/agent-multi-agent.md +136 -0
  29. package/content/agents/agent-properties.md +174 -0
  30. package/content/agents/agent-server-hooks.md +336 -0
  31. package/content/agents/agentchat.md +515 -0
  32. package/content/agents/agentconversations.md +148 -0
  33. package/content/concepts/ai-agent-docs.md +190 -0
  34. package/content/concepts/cli.md +213 -0
  35. package/content/concepts/connections-and-requests.md +7 -0
  36. package/content/concepts/custom-html.md +3 -0
  37. package/content/concepts/custom-styling.md +161 -0
  38. package/content/concepts/events-and-actions.md +271 -0
  39. package/content/concepts/hosting-files.md +18 -0
  40. package/content/concepts/i18n.md +320 -0
  41. package/content/concepts/keyboard-shortcuts.md +218 -0
  42. package/content/concepts/layout-overview.md +478 -0
  43. package/content/concepts/lists.md +144 -0
  44. package/content/concepts/logger.md +43 -0
  45. package/content/concepts/lowdefy-schema.md +365 -0
  46. package/content/concepts/menus.md +144 -0
  47. package/content/concepts/module-authoring.md +564 -0
  48. package/content/concepts/modules.md +338 -0
  49. package/content/concepts/operators.md +45 -0
  50. package/content/concepts/overview.md +19 -0
  51. package/content/concepts/references-and-templates.md +207 -0
  52. package/content/concepts/secrets.md +24 -0
  53. package/content/concepts/selectors.md +143 -0
  54. package/content/connections/amazonredshift.md +176 -0
  55. package/content/connections/anthropic.md +232 -0
  56. package/content/connections/awss3.md +313 -0
  57. package/content/connections/azureblobstorage.md +133 -0
  58. package/content/connections/elasticsearch.md +371 -0
  59. package/content/connections/google.md +228 -0
  60. package/content/connections/googlecloudstorage.md +139 -0
  61. package/content/connections/googlesheet.md +313 -0
  62. package/content/connections/knex.md +206 -0
  63. package/content/connections/mariadb.md +177 -0
  64. package/content/connections/mcp.md +134 -0
  65. package/content/connections/mongodb.md +739 -0
  66. package/content/connections/mssql.md +191 -0
  67. package/content/connections/mysql.md +192 -0
  68. package/content/connections/openai-connection.md +228 -0
  69. package/content/connections/postgresql.md +200 -0
  70. package/content/connections/redis.md +116 -0
  71. package/content/connections/sendgridmail.md +94 -0
  72. package/content/connections/smtp.md +149 -0
  73. package/content/connections/sqlite.md +187 -0
  74. package/content/connections/stripe.md +115 -0
  75. package/content/container-blocks/affix.md +413 -0
  76. package/content/container-blocks/alert.md +937 -0
  77. package/content/container-blocks/badge.md +1222 -0
  78. package/content/container-blocks/box.md +1453 -0
  79. package/content/container-blocks/card.md +1200 -0
  80. package/content/container-blocks/carousel.md +2247 -0
  81. package/content/container-blocks/collapse.md +1335 -0
  82. package/content/container-blocks/configprovider.md +1070 -0
  83. package/content/container-blocks/confirmmodal.md +1159 -0
  84. package/content/container-blocks/content.md +597 -0
  85. package/content/container-blocks/descriptions.md +870 -0
  86. package/content/container-blocks/drawer.md +1379 -0
  87. package/content/container-blocks/dropdownmenu.md +643 -0
  88. package/content/container-blocks/flex.md +1510 -0
  89. package/content/container-blocks/footer.md +380 -0
  90. package/content/container-blocks/googlemaps.md +546 -0
  91. package/content/container-blocks/googlemapsheatmap.md +607 -0
  92. package/content/container-blocks/googlemapsscript.md +61 -0
  93. package/content/container-blocks/header.md +302 -0
  94. package/content/container-blocks/label.md +739 -0
  95. package/content/container-blocks/layout.md +604 -0
  96. package/content/container-blocks/masonry.md +1090 -0
  97. package/content/container-blocks/mobilemenu.md +1244 -0
  98. package/content/container-blocks/modal.md +1180 -0
  99. package/content/container-blocks/pageheadermenu.md +614 -0
  100. package/content/container-blocks/pagesidebarlayout.md +438 -0
  101. package/content/container-blocks/pagesidermenu.md +651 -0
  102. package/content/container-blocks/popover.md +1421 -0
  103. package/content/container-blocks/result.md +972 -0
  104. package/content/container-blocks/sider.md +1064 -0
  105. package/content/container-blocks/span.md +747 -0
  106. package/content/container-blocks/spinner.md +267 -0
  107. package/content/container-blocks/splitter.md +1735 -0
  108. package/content/container-blocks/tabs.md +1718 -0
  109. package/content/container-blocks/tooltip.md +1274 -0
  110. package/content/container-blocks/watermark.md +515 -0
  111. package/content/controls/for.md +103 -0
  112. package/content/controls/if.md +107 -0
  113. package/content/controls/log.md +50 -0
  114. package/content/controls/parallel.md +71 -0
  115. package/content/controls/parallel_for.md +36 -0
  116. package/content/controls/reject.md +56 -0
  117. package/content/controls/return.md +66 -0
  118. package/content/controls/set_state.md +98 -0
  119. package/content/controls/switch.md +90 -0
  120. package/content/controls/throw.md +79 -0
  121. package/content/controls/try.md +88 -0
  122. package/content/deployment/docker.md +149 -0
  123. package/content/deployment/node-server.md +27 -0
  124. package/content/deployment/vercel.md +101 -0
  125. package/content/display-blocks/aggrid.md +1459 -0
  126. package/content/display-blocks/anchor.md +336 -0
  127. package/content/display-blocks/avatar.md +1154 -0
  128. package/content/display-blocks/breadcrumb.md +517 -0
  129. package/content/display-blocks/button.md +758 -0
  130. package/content/display-blocks/calendar.md +156 -0
  131. package/content/display-blocks/dangeroushtml.md +314 -0
  132. package/content/display-blocks/dangerousmarkdown.md +423 -0
  133. package/content/display-blocks/diffgit.md +44 -0
  134. package/content/display-blocks/difflist.md +225 -0
  135. package/content/display-blocks/diffsidebyside.md +56 -0
  136. package/content/display-blocks/difftimeline.md +94 -0
  137. package/content/display-blocks/divider.md +406 -0
  138. package/content/display-blocks/download.md +60 -0
  139. package/content/display-blocks/dropdownbutton.md +661 -0
  140. package/content/display-blocks/echart.md +418 -0
  141. package/content/display-blocks/floatbutton.md +545 -0
  142. package/content/display-blocks/html.md +311 -0
  143. package/content/display-blocks/icon.md +717 -0
  144. package/content/display-blocks/img.md +479 -0
  145. package/content/display-blocks/markdown.md +520 -0
  146. package/content/display-blocks/markdownwithcode.md +730 -0
  147. package/content/display-blocks/menu.md +1123 -0
  148. package/content/display-blocks/message.md +941 -0
  149. package/content/display-blocks/notification.md +1410 -0
  150. package/content/display-blocks/paragraph.md +643 -0
  151. package/content/display-blocks/progress.md +818 -0
  152. package/content/display-blocks/qrcode.md +519 -0
  153. package/content/display-blocks/s3download.md +240 -0
  154. package/content/display-blocks/search.md +360 -0
  155. package/content/display-blocks/skeleton.md +272 -0
  156. package/content/display-blocks/skeletonavatar.md +222 -0
  157. package/content/display-blocks/skeletonbutton.md +245 -0
  158. package/content/display-blocks/skeletoninput.md +223 -0
  159. package/content/display-blocks/skeletonparagraph.md +201 -0
  160. package/content/display-blocks/statistic.md +485 -0
  161. package/content/display-blocks/steps.md +585 -0
  162. package/content/display-blocks/tag.md +620 -0
  163. package/content/display-blocks/title.md +654 -0
  164. package/content/display-blocks/tour.md +2359 -0
  165. package/content/input-blocks/autocomplete.md +786 -0
  166. package/content/input-blocks/buttonselector.md +964 -0
  167. package/content/input-blocks/checkboxselector.md +765 -0
  168. package/content/input-blocks/checkboxswitch.md +497 -0
  169. package/content/input-blocks/colorselector.md +884 -0
  170. package/content/input-blocks/daterangeselector.md +777 -0
  171. package/content/input-blocks/dateselector.md +693 -0
  172. package/content/input-blocks/datetimeselector.md +791 -0
  173. package/content/input-blocks/inputgallery.md +528 -0
  174. package/content/input-blocks/monthselector.md +717 -0
  175. package/content/input-blocks/multipleselector.md +1337 -0
  176. package/content/input-blocks/numberinput.md +855 -0
  177. package/content/input-blocks/pagination.md +679 -0
  178. package/content/input-blocks/paragraphinput.md +1664 -0
  179. package/content/input-blocks/passwordinput.md +480 -0
  180. package/content/input-blocks/phonenumberinput.md +688 -0
  181. package/content/input-blocks/radioselector.md +820 -0
  182. package/content/input-blocks/ratingslider.md +684 -0
  183. package/content/input-blocks/s3uploadbutton.md +384 -0
  184. package/content/input-blocks/s3uploaddragger.md +305 -0
  185. package/content/input-blocks/s3uploadphoto.md +288 -0
  186. package/content/input-blocks/segmentedselector.md +782 -0
  187. package/content/input-blocks/selector.md +1162 -0
  188. package/content/input-blocks/switch.md +552 -0
  189. package/content/input-blocks/textarea.md +714 -0
  190. package/content/input-blocks/textinput.md +639 -0
  191. package/content/input-blocks/tiptapinput.md +226 -0
  192. package/content/input-blocks/tiptapmentioninput.md +471 -0
  193. package/content/input-blocks/titleinput.md +1094 -0
  194. package/content/input-blocks/treeinput.md +144 -0
  195. package/content/input-blocks/treemultipleselector.md +162 -0
  196. package/content/input-blocks/treeselector.md +185 -0
  197. package/content/input-blocks/upload.md +149 -0
  198. package/content/input-blocks/uploaddragger.md +85 -0
  199. package/content/input-blocks/uploadphoto.md +84 -0
  200. package/content/input-blocks/weekselector.md +630 -0
  201. package/content/list-blocks/controlledlist.md +498 -0
  202. package/content/list-blocks/list.md +529 -0
  203. package/content/list-blocks/listselector.md +301 -0
  204. package/content/list-blocks/masonrylist.md +230 -0
  205. package/content/migration/upgrade-guide.md +106 -0
  206. package/content/migration/v4-to-v5.md +589 -0
  207. package/content/migration/v5-to-v6.md +36 -0
  208. package/content/operators/_actions.md +58 -0
  209. package/content/operators/_and.md +76 -0
  210. package/content/operators/_api.md +254 -0
  211. package/content/operators/_app.md +114 -0
  212. package/content/operators/_args.md +65 -0
  213. package/content/operators/_array.md +331 -0
  214. package/content/operators/_base64.md +49 -0
  215. package/content/operators/_boolean.md +33 -0
  216. package/content/operators/_build.md +166 -0
  217. package/content/operators/_change_case.md +357 -0
  218. package/content/operators/_date.md +415 -0
  219. package/content/operators/_dayjs.md +128 -0
  220. package/content/operators/_diff.md +61 -0
  221. package/content/operators/_divide.md +32 -0
  222. package/content/operators/_eq.md +52 -0
  223. package/content/operators/_event.md +86 -0
  224. package/content/operators/_function.md +52 -0
  225. package/content/operators/_get.md +92 -0
  226. package/content/operators/_global.md +86 -0
  227. package/content/operators/_gt.md +50 -0
  228. package/content/operators/_gte.md +50 -0
  229. package/content/operators/_hash.md +112 -0
  230. package/content/operators/_if.md +30 -0
  231. package/content/operators/_if_none.md +47 -0
  232. package/content/operators/_index.md +48 -0
  233. package/content/operators/_input.md +86 -0
  234. package/content/operators/_intl.md +135 -0
  235. package/content/operators/_item.md +166 -0
  236. package/content/operators/_js.md +113 -0
  237. package/content/operators/_json.md +120 -0
  238. package/content/operators/_jsonata.md +152 -0
  239. package/content/operators/_locale.md +65 -0
  240. package/content/operators/_location.md +40 -0
  241. package/content/operators/_log.md +22 -0
  242. package/content/operators/_lt.md +50 -0
  243. package/content/operators/_lte.md +50 -0
  244. package/content/operators/_math.md +407 -0
  245. package/content/operators/_media.md +83 -0
  246. package/content/operators/_menu.md +62 -0
  247. package/content/operators/_module.md +340 -0
  248. package/content/operators/_mql.md +95 -0
  249. package/content/operators/_ne.md +62 -0
  250. package/content/operators/_not.md +33 -0
  251. package/content/operators/_number.md +159 -0
  252. package/content/operators/_nunjucks.md +117 -0
  253. package/content/operators/_object.md +253 -0
  254. package/content/operators/_operator.md +33 -0
  255. package/content/operators/_or.md +67 -0
  256. package/content/operators/_product.md +45 -0
  257. package/content/operators/_random.md +90 -0
  258. package/content/operators/_ref.md +80 -0
  259. package/content/operators/_regex.md +69 -0
  260. package/content/operators/_request.md +35 -0
  261. package/content/operators/_request_details.md +29 -0
  262. package/content/operators/_secret.md +56 -0
  263. package/content/operators/_state.md +134 -0
  264. package/content/operators/_step.md +98 -0
  265. package/content/operators/_string.md +327 -0
  266. package/content/operators/_subtract.md +24 -0
  267. package/content/operators/_sum.md +45 -0
  268. package/content/operators/_switch.md +37 -0
  269. package/content/operators/_t.md +96 -0
  270. package/content/operators/_theme.md +65 -0
  271. package/content/operators/_type.md +78 -0
  272. package/content/operators/_uri.md +49 -0
  273. package/content/operators/_url_query.md +92 -0
  274. package/content/operators/_user.md +154 -0
  275. package/content/operators/_uuid.md +118 -0
  276. package/content/operators/_var.md +88 -0
  277. package/content/operators/_yaml.md +96 -0
  278. package/content/other/introduction.md +39 -0
  279. package/content/other/next-auth-providers.md +3 -0
  280. package/content/other/updatesession.md +26 -0
  281. package/content/plugins/plugins-actions.md +80 -0
  282. package/content/plugins/plugins-connections.md +98 -0
  283. package/content/plugins/plugins-dev.md +138 -0
  284. package/content/plugins/plugins-introduction.md +29 -0
  285. package/content/plugins/plugins-operators.md +71 -0
  286. package/content/testing/e2e-auth.md +108 -0
  287. package/content/testing/e2e-configuration.md +107 -0
  288. package/content/testing/e2e-getting-started.md +96 -0
  289. package/content/testing/e2e-introduction.md +53 -0
  290. package/content/testing/e2e-mocking.md +155 -0
  291. package/content/testing/e2e-writing-tests.md +214 -0
  292. package/content/tutorial/tutorial-actions-operators.md +222 -0
  293. package/content/tutorial/tutorial-add-blocks.md +86 -0
  294. package/content/tutorial/tutorial-create-page.md +57 -0
  295. package/content/tutorial/tutorial-display-data-page.md +181 -0
  296. package/content/tutorial/tutorial-next-steps.md +53 -0
  297. package/content/tutorial/tutorial-requests-sql.md +22 -0
  298. package/content/tutorial/tutorial-start.md +71 -0
  299. package/content/user-authentication/auth-providers.md +15 -0
  300. package/content/user-authentication/login-and-logout.md +122 -0
  301. package/content/user-authentication/users-introduction.md +31 -0
  302. package/index.json +2281 -0
  303. package/package.json +34 -0
  304. package/scripts/extractAgentDocs.js +130 -0
@@ -0,0 +1,684 @@
1
+ # RatingSlider
2
+
3
+ Rating slider with customizable range, icons, and N/A option.
4
+
5
+ ```yaml
6
+ - id: default_rating
7
+ type: RatingSlider
8
+ properties:
9
+ title: Satisfaction Rating
10
+ ```
11
+
12
+ ```yaml
13
+ - id: range_0_5
14
+ type: RatingSlider
15
+ properties:
16
+ title: Rating (0-5)
17
+ min: 0
18
+ max: 5
19
+ - id: range_1_10
20
+ type: RatingSlider
21
+ properties:
22
+ title: Rating (1-10)
23
+ min: 1
24
+ max: 10
25
+ - id: range_0_100_step10
26
+ type: RatingSlider
27
+ properties:
28
+ title: Percentage (0-100, step 10)
29
+ min: 0
30
+ max: 100
31
+ step: 10
32
+ showDots: false
33
+ - id: range_negative
34
+ type: RatingSlider
35
+ properties:
36
+ title: Temperature (-5 to 5)
37
+ min: -5
38
+ max: 5
39
+ ```
40
+
41
+ ```yaml
42
+ - id: step_1
43
+ type: RatingSlider
44
+ properties:
45
+ title: Step 1 (default)
46
+ min: 0
47
+ max: 10
48
+ step: 1
49
+ - id: step_2
50
+ type: RatingSlider
51
+ properties:
52
+ title: Step 2
53
+ min: 0
54
+ max: 10
55
+ step: 2
56
+ - id: step_5
57
+ type: RatingSlider
58
+ properties:
59
+ title: Step 5
60
+ min: 0
61
+ max: 50
62
+ step: 5
63
+ - id: step_half
64
+ type: RatingSlider
65
+ properties:
66
+ title: Step 0.5
67
+ min: 0
68
+ max: 5
69
+ step: 0.5
70
+ ```
71
+
72
+ ```yaml
73
+ - id: marks_and_dots
74
+ type: RatingSlider
75
+ properties:
76
+ title: Marks and Dots (defaults)
77
+ showMarks: true
78
+ showDots: true
79
+ - id: marks_only
80
+ type: RatingSlider
81
+ properties:
82
+ title: Marks Only (no dots)
83
+ showMarks: true
84
+ showDots: false
85
+ - id: dots_only
86
+ type: RatingSlider
87
+ properties:
88
+ title: Dots Only (no marks)
89
+ showMarks: false
90
+ showDots: true
91
+ - id: no_marks_no_dots
92
+ type: RatingSlider
93
+ properties:
94
+ title: No Marks, No Dots
95
+ showMarks: false
96
+ showDots: false
97
+ - id: marks_step_2
98
+ type: RatingSlider
99
+ properties:
100
+ title: Marks with Step 2
101
+ min: 0
102
+ max: 10
103
+ step: 2
104
+ showMarks: true
105
+ showDots: true
106
+ ```
107
+
108
+ ```yaml
109
+ - id: tooltip_onclick
110
+ type: RatingSlider
111
+ properties:
112
+ title: Tooltip on Click (default)
113
+ tooltipVisible: onClick
114
+ - id: tooltip_always
115
+ type: RatingSlider
116
+ properties:
117
+ title: Tooltip Always Visible
118
+ tooltipVisible: always
119
+ - id: tooltip_never
120
+ type: RatingSlider
121
+ properties:
122
+ title: Tooltip Never Visible
123
+ tooltipVisible: never
124
+ ```
125
+
126
+ ```yaml
127
+ - id: na_default
128
+ type: RatingSlider
129
+ properties:
130
+ title: With N/A Option (default)
131
+ min: 0
132
+ max: 10
133
+ - id: na_disabled
134
+ type: RatingSlider
135
+ properties:
136
+ title: N/A Disabled
137
+ disableNotApplicable: true
138
+ min: 0
139
+ max: 10
140
+ - id: na_custom_label
141
+ type: RatingSlider
142
+ properties:
143
+ title: Custom N/A Label
144
+ notApplicableLabel: None
145
+ min: 0
146
+ max: 10
147
+ - id: na_skip_label
148
+ type: RatingSlider
149
+ properties:
150
+ title: N/A as "Skip"
151
+ notApplicableLabel: Skip
152
+ min: 1
153
+ max: 5
154
+ ```
155
+
156
+ ```yaml
157
+ - id: icons_default
158
+ type: RatingSlider
159
+ properties:
160
+ title: Default Icons (Frown / Smile)
161
+ min: 0
162
+ max: 10
163
+ - id: icons_custom
164
+ type: RatingSlider
165
+ properties:
166
+ title: Custom Icons (Dislike / Like)
167
+ minIcon: AiOutlineDislike
168
+ maxIcon: AiOutlineLike
169
+ min: 0
170
+ max: 10
171
+ - id: icons_star
172
+ type: RatingSlider
173
+ properties:
174
+ title: Star Icons
175
+ minIcon: AiOutlineStar
176
+ maxIcon: AiFillStar
177
+ min: 1
178
+ max: 5
179
+ - id: icons_heart
180
+ type: RatingSlider
181
+ properties:
182
+ title: Heart Icons
183
+ minIcon: AiOutlineHeart
184
+ maxIcon: AiFillHeart
185
+ min: 0
186
+ max: 10
187
+ - id: icons_object_config
188
+ type: RatingSlider
189
+ properties:
190
+ title: Icon Object Config (colored)
191
+ minIcon:
192
+ name: AiOutlineArrowDown
193
+ color: "#ff4d4f"
194
+ maxIcon:
195
+ name: AiOutlineArrowUp
196
+ color: "#52c41a"
197
+ min: 0
198
+ max: 10
199
+ ```
200
+
201
+ ```yaml
202
+ - id: color_blue
203
+ type: RatingSlider
204
+ properties:
205
+ title: Blue (default primary)
206
+ color: "#1677ff"
207
+ min: 0
208
+ max: 10
209
+ - id: color_green
210
+ type: RatingSlider
211
+ properties:
212
+ title: Green
213
+ color: "#52c41a"
214
+ min: 0
215
+ max: 10
216
+ - id: color_orange
217
+ type: RatingSlider
218
+ properties:
219
+ title: Orange
220
+ color: "#fa8c16"
221
+ min: 0
222
+ max: 10
223
+ - id: color_red
224
+ type: RatingSlider
225
+ properties:
226
+ title: Red
227
+ color: "#ff4d4f"
228
+ min: 0
229
+ max: 10
230
+ - id: color_purple
231
+ type: RatingSlider
232
+ properties:
233
+ title: Purple
234
+ color: "#722ed1"
235
+ min: 0
236
+ max: 10
237
+ ```
238
+
239
+ ```yaml
240
+ - id: disabled_default
241
+ type: RatingSlider
242
+ properties:
243
+ title: Disabled
244
+ disabled: true
245
+ - id: disabled_no_icons
246
+ type: RatingSlider
247
+ properties:
248
+ title: Disabled Without Icons
249
+ disabled: true
250
+ disableIcons: true
251
+ - id: disabled_no_na
252
+ type: RatingSlider
253
+ properties:
254
+ title: Disabled, No N/A
255
+ disabled: true
256
+ disableNotApplicable: true
257
+ - id: disabled_colored
258
+ type: RatingSlider
259
+ properties:
260
+ title: Disabled with Color
261
+ disabled: true
262
+ color: "#722ed1"
263
+ ```
264
+
265
+ ```yaml
266
+ - id: autofocus_enabled
267
+ type: RatingSlider
268
+ properties:
269
+ title: AutoFocus Enabled
270
+ autoFocus: true
271
+ min: 0
272
+ max: 5
273
+ - id: autofocus_disabled
274
+ type: RatingSlider
275
+ properties:
276
+ title: AutoFocus Disabled (default)
277
+ autoFocus: false
278
+ min: 0
279
+ max: 5
280
+ ```
281
+
282
+ ```yaml
283
+ - id: label_default
284
+ type: RatingSlider
285
+ properties:
286
+ title: Default Label
287
+ - id: label_with_extra
288
+ type: RatingSlider
289
+ properties:
290
+ title: Rating with Extra
291
+ label:
292
+ extra: Please rate your experience from 0 to 10.
293
+ - id: label_inline
294
+ type: RatingSlider
295
+ properties:
296
+ title: Inline Label
297
+ label:
298
+ inline: true
299
+ span: 6
300
+ - id: label_inline_right
301
+ type: RatingSlider
302
+ properties:
303
+ title: Inline Right-Aligned
304
+ label:
305
+ inline: true
306
+ span: 6
307
+ align: right
308
+ - id: label_no_colon
309
+ type: RatingSlider
310
+ properties:
311
+ title: No Colon
312
+ label:
313
+ colon: false
314
+ ```
315
+
316
+ ```yaml
317
+ - id: minimal_slider
318
+ type: RatingSlider
319
+ properties:
320
+ title: Minimal Slider
321
+ disableIcons: true
322
+ disableNotApplicable: true
323
+ min: 0
324
+ max: 10
325
+ - id: minimal_no_marks
326
+ type: RatingSlider
327
+ properties:
328
+ title: Minimal No Marks
329
+ disableIcons: true
330
+ disableNotApplicable: true
331
+ showMarks: false
332
+ showDots: false
333
+ min: 0
334
+ max: 10
335
+ - id: minimal_no_label
336
+ type: RatingSlider
337
+ properties:
338
+ label:
339
+ disabled: true
340
+ disableIcons: true
341
+ disableNotApplicable: true
342
+ min: 0
343
+ max: 5
344
+ ```
345
+
346
+ ```yaml
347
+ - id: combo_survey_satisfaction
348
+ type: RatingSlider
349
+ properties:
350
+ title: Customer Satisfaction
351
+ min: 1
352
+ max: 5
353
+ step: 1
354
+ color: "#52c41a"
355
+ minIcon: AiOutlineFrown
356
+ maxIcon: AiOutlineSmile
357
+ tooltipVisible: always
358
+ showMarks: true
359
+ showDots: true
360
+ label:
361
+ extra: Rate your overall satisfaction
362
+ - id: combo_nps
363
+ type: RatingSlider
364
+ properties:
365
+ title: Net Promoter Score
366
+ min: 0
367
+ max: 10
368
+ step: 1
369
+ color: "#1677ff"
370
+ minIcon: AiOutlineDislike
371
+ maxIcon: AiOutlineLike
372
+ tooltipVisible: onClick
373
+ showMarks: true
374
+ showDots: true
375
+ notApplicableLabel: Prefer not to say
376
+ label:
377
+ extra: How likely are you to recommend us?
378
+ - id: combo_temperature
379
+ type: RatingSlider
380
+ properties:
381
+ title: Temperature Preference
382
+ min: 0
383
+ max: 100
384
+ step: 5
385
+ color: "#fa8c16"
386
+ disableIcons: true
387
+ disableNotApplicable: true
388
+ tooltipVisible: always
389
+ showMarks: true
390
+ showDots: false
391
+ label:
392
+ extra: Set your preferred temperature (0-100)
393
+ - id: combo_difficulty
394
+ type: RatingSlider
395
+ properties:
396
+ title: Difficulty Level
397
+ min: 1
398
+ max: 5
399
+ step: 1
400
+ color: "#ff4d4f"
401
+ minIcon:
402
+ name: AiOutlineSmile
403
+ color: "#52c41a"
404
+ maxIcon:
405
+ name: AiOutlineWarning
406
+ color: "#ff4d4f"
407
+ disableNotApplicable: true
408
+ showMarks: true
409
+ showDots: true
410
+ tooltipVisible: onClick
411
+ ```
412
+
413
+ ```yaml
414
+ - id: style_background
415
+ type: RatingSlider
416
+ properties:
417
+ title: Custom Background
418
+ min: 0
419
+ max: 10
420
+ style:
421
+ .element:
422
+ padding: 8
423
+ borderRadius: 8
424
+ - id: style_wide
425
+ type: RatingSlider
426
+ properties:
427
+ title: Full Width with Padding
428
+ min: 0
429
+ max: 10
430
+ disableNotApplicable: true
431
+ style:
432
+ .element:
433
+ paddingLeft: 16
434
+ paddingRight: 16
435
+ ```
436
+
437
+ ```yaml
438
+ - id: class_rounded
439
+ type: RatingSlider
440
+ class: rounded-lg shadow-sm p-2 border border-border
441
+ properties:
442
+ title: Rounded Card Style
443
+ min: 0
444
+ max: 10
445
+ - id: class_gradient_bg
446
+ type: RatingSlider
447
+ class: bg-gradient-to-r from-primary/10 to-primary/5 p-3 rounded-md
448
+ properties:
449
+ title: Gradient Background
450
+ min: 0
451
+ max: 10
452
+ color: "#722ed1"
453
+ ```
454
+
455
+ ```yaml
456
+ - id: theme_large_handle
457
+ type: RatingSlider
458
+ properties:
459
+ title: Large Handle
460
+ min: 0
461
+ max: 10
462
+ theme:
463
+ handleSize: 14
464
+ handleSizeHover: 16
465
+ - id: theme_thick_rail
466
+ type: RatingSlider
467
+ properties:
468
+ title: Thick Rail
469
+ min: 0
470
+ max: 10
471
+ theme:
472
+ railSize: 8
473
+ - id: theme_custom_colors
474
+ type: RatingSlider
475
+ properties:
476
+ title: Custom Track and Rail Colors
477
+ min: 0
478
+ max: 10
479
+ theme:
480
+ trackBg: "#b7eb8f"
481
+ trackHoverBg: "#73d13d"
482
+ handleColor: "#52c41a"
483
+ handleActiveColor: "#389e0d"
484
+ - id: theme_large_dots
485
+ type: RatingSlider
486
+ properties:
487
+ title: Large Dots
488
+ min: 0
489
+ max: 10
490
+ showDots: true
491
+ theme:
492
+ dotSize: 12
493
+ - id: theme_purple_slider
494
+ type: RatingSlider
495
+ properties:
496
+ title: Purple Theme
497
+ min: 0
498
+ max: 10
499
+ color: "#722ed1"
500
+ theme:
501
+ trackHoverBg: "#b37feb"
502
+ handleColor: "#722ed1"
503
+ handleActiveColor: "#531dab"
504
+ dotBorderColor: "#d3adf7"
505
+ dotActiveBorderColor: "#722ed1"
506
+ ```
507
+
508
+ ```yaml
509
+ - id: applied_product_review_card
510
+ type: Card
511
+ properties:
512
+ title: Write a Product Review
513
+ blocks:
514
+ - id: applied_product_review_rating
515
+ type: RatingSlider
516
+ required: true
517
+ properties:
518
+ title: Product Rating
519
+ min: 1
520
+ max: 5
521
+ step: 1
522
+ color: "#fa8c16"
523
+ minIcon: AiOutlineStar
524
+ maxIcon: AiFillStar
525
+ showMarks: true
526
+ showDots: true
527
+ disableNotApplicable: true
528
+ label:
529
+ extra: How would you rate this product?
530
+ events:
531
+ onChange:
532
+ - id: applied_product_review_set_rating
533
+ type: SetState
534
+ params:
535
+ productRating:
536
+ _event: value
537
+ - id: applied_product_review_text
538
+ type: TextArea
539
+ properties:
540
+ title: Your Review
541
+ label:
542
+ extra: Tell us more about your experience.
543
+ rows: 4
544
+ - id: applied_product_review_submit
545
+ type: Button
546
+ properties:
547
+ title: Submit Review
548
+ icon: AiOutlineSend
549
+ type: primary
550
+ block: true
551
+ events:
552
+ onClick:
553
+ - id: applied_product_review_validate
554
+ type: Validate
555
+ params: applied_product_review_rating
556
+ - id: applied_product_review_message
557
+ type: DisplayMessage
558
+ params:
559
+ content: Thank you for your review!
560
+ status: success
561
+ ```
562
+
563
+ ```yaml
564
+ - id: applied_survey_card
565
+ type: Card
566
+ properties:
567
+ title: Customer Feedback Survey
568
+ blocks:
569
+ - id: applied_survey_service_rating
570
+ type: RatingSlider
571
+ properties:
572
+ title: Service Quality
573
+ min: 1
574
+ max: 10
575
+ color: "#1677ff"
576
+ minIcon: AiOutlineFrown
577
+ maxIcon: AiOutlineSmile
578
+ showMarks: true
579
+ label:
580
+ extra: How would you rate the service you received?
581
+ - id: applied_survey_quality_rating
582
+ type: RatingSlider
583
+ properties:
584
+ title: Product Quality
585
+ min: 1
586
+ max: 10
587
+ color: "#52c41a"
588
+ minIcon: AiOutlineDislike
589
+ maxIcon: AiOutlineLike
590
+ showMarks: true
591
+ label:
592
+ extra: How would you rate the quality of our products?
593
+ - id: applied_survey_value_rating
594
+ type: RatingSlider
595
+ properties:
596
+ title: Value for Money
597
+ min: 1
598
+ max: 10
599
+ color: "#fa8c16"
600
+ showMarks: true
601
+ label:
602
+ extra: How would you rate the value for money?
603
+ - id: applied_survey_submit
604
+ type: Button
605
+ properties:
606
+ title: Submit Survey
607
+ icon: AiOutlineCheck
608
+ type: primary
609
+ block: true
610
+ events:
611
+ onClick:
612
+ - id: applied_survey_message
613
+ type: DisplayMessage
614
+ params:
615
+ content: Survey submitted successfully. Thank you for your feedback!
616
+ status: success
617
+ ```
618
+
619
+ | Property | Type | Default | Description |
620
+ | --- | --- | --- | --- |
621
+ | `autoFocus` | boolean | `false` | Autofocus to the block on page load. |
622
+ | `color` | string | - | Rating slider color. |
623
+ | `disabled` | boolean | `false` | Disable the block if true. |
624
+ | `disableIcons` | boolean | `false` | Hides minimum and maximum icons. |
625
+ | `disableNotApplicable` | boolean | `false` | Disables the N/A option left of slider. |
626
+ | `minIcon` | string \| object | `"AiOutlineFrown"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize the icon to the left of the minimum side of the slider. |
627
+ | `maxIcon` | string \| object | `"AiOutlineSmile"` | Name of an React-Icon (See all icons) or properties of an Icon block to customize the icon to the right of the maximum side of the slider. |
628
+ | `label` | object | - | Label properties. |
629
+ | `label.align` | string | `"left"` | Align label left or right when inline. Enum: `left`, `right`. |
630
+ | `label.colon` | boolean | `true` | Append label with colon. |
631
+ | `label.extra` | string | - | Extra text to display beneath the content - supports html. |
632
+ | `label.title` | string | - | Label title - supports html. |
633
+ | `label.tooltip` | string \| object | - | Help tooltip shown via an icon beside the label. A string sets the tooltip text (supports html), or an object to also customize the icon and color. Use the block's onTooltipClick event to respond to clicks on the icon. |
634
+ | `label.tooltip.title` | string | - | Tooltip text shown on hover - supports html. |
635
+ | `label.tooltip.icon` | string | `"AiOutlineQuestionCircle"` | Name of the icon to show beside the label. |
636
+ | `label.tooltip.color` | string | - | Color of the tooltip icon. |
637
+ | `label.span` | number | - | Label inline span. |
638
+ | `label.disabled` | boolean | `false` | Hide input label. |
639
+ | `label.hasFeedback` | boolean | `true` | Display feedback extra from validation, this does not disable validation. |
640
+ | `label.inline` | boolean | `false` | Render input and label inline. |
641
+ | `min` | number | `0` | The minimum value of the slider. |
642
+ | `max` | number | `10` | The maximum value of the slider. |
643
+ | `notApplicableLabel` | string | `"N/A"` | Label shown at the null value of the slider. |
644
+ | `showDots` | boolean | `true` | Shows dots at values between step values when true. |
645
+ | `showMarks` | boolean | `true` | Shows values at specified min, max and step values. |
646
+ | `step` | number | `1` | The size of the step between values, has to be values greater than 0. |
647
+ | `tooltipVisible` | string | `"onClick"` | When tooltip should be visible. Enum: `never`, `onClick`, `always`. |
648
+ | `title` | string | - | Title to describe the input component, if no title is specified the block id is displayed - supports html. |
649
+ | `theme` | object | - | Antd design token overrides for this block. See [antd design tokens](https://ant.design/components/overview#design-token). See [Ant Design slider tokens](https://ant.design/components/slider#design-token). |
650
+ | `theme.controlSize` | number | `10` | Size of the slider control element. |
651
+ | `theme.railSize` | number | `4` | Height (horizontal) or width (vertical) of the slider rail track. |
652
+ | `theme.handleSize` | number | `10` | Size of the slider handle. |
653
+ | `theme.handleSizeHover` | number | `12` | Size of the slider handle on hover. |
654
+ | `theme.dotSize` | number | `8` | Size of the slider step dots. |
655
+ | `theme.handleLineWidth` | number | `2` | Border line width of the handle. |
656
+ | `theme.handleLineWidthHover` | number | `2.5` | Border line width of the handle on hover. |
657
+ | `theme.railBg` | string | `"rgba(0,0,0,0.04)"` | Background color of the slider rail. |
658
+ | `theme.railHoverBg` | string | `"rgba(0,0,0,0.06)"` | Background color of the slider rail on hover. |
659
+ | `theme.trackBg` | string | `"#91caff"` | Background color of the active track. |
660
+ | `theme.trackHoverBg` | string | `"#69b1ff"` | Background color of the active track on hover. |
661
+ | `theme.handleColor` | string | `"#91caff"` | Color of the slider handle. |
662
+ | `theme.handleActiveColor` | string | `"#1677ff"` | Color of the slider handle when active. |
663
+ | `theme.handleActiveOutlineColor` | string | `"rgba(22,119,255,0.2)"` | Color of the handle focus outline ring. |
664
+ | `theme.handleColorDisabled` | string | `"#bfbfbf"` | Color of the slider handle when disabled. |
665
+ | `theme.dotBorderColor` | string | `"#f0f0f0"` | Border color of the step dots. |
666
+ | `theme.dotActiveBorderColor` | string | `"#91caff"` | Border color of the active step dots. |
667
+ | `theme.trackBgDisabled` | string | `"rgba(0,0,0,0.04)"` | Background color of the track when disabled. |
668
+
669
+ | Event | Event Data | Description |
670
+ | --- | --- | --- |
671
+ | `onChange` | `{ value }` | Trigger action when rating is changed. |
672
+ | `onTooltipClick` | \- | Trigger actions when the tooltip icon is clicked. |
673
+
674
+ | Key | Target |
675
+ | --- | --- |
676
+ | `/block` | Outer block wrapper (always available). |
677
+ | `/element` | The RatingSlider element. |
678
+ | `/label` | The RatingSlider label. |
679
+ | `/extra` | The RatingSlider extra content. |
680
+ | `/feedback` | The RatingSlider validation feedback. |
681
+ | `/minIcon` | The min icon in the RatingSlider. |
682
+ | `/maxIcon` | The max icon in the RatingSlider. |
683
+
684
+ No slots defined.