@webquark/core 1.1.0 → 1.1.1-dev.1

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 (209) hide show
  1. package/dist/browser/components/q-syntax-view.d.ts +1 -0
  2. package/dist/browser/components/q-syntax-view.js +1 -0
  3. package/dist/browser/webquark.css +1 -1
  4. package/dist/playground/assets/reel-motion.webm +0 -0
  5. package/dist/playground/build/{p-846dc838.entry.js → p-014c2f4a.entry.js} +1 -1
  6. package/dist/playground/build/{p-0182e114.entry.js → p-0389577c.entry.js} +1 -1
  7. package/dist/playground/build/p-041e17c1.entry.js +1 -0
  8. package/dist/playground/build/p-0479c571.entry.js +1 -0
  9. package/dist/playground/build/{p-17b9713f.entry.js → p-0ebca9be.entry.js} +1 -1
  10. package/dist/playground/build/{p-0a2c52de.entry.js → p-1bf375f7.entry.js} +2 -2
  11. package/dist/playground/build/{p-e2721e77.entry.js → p-20dc3ab5.entry.js} +1 -1
  12. package/dist/playground/build/p-28d3348f.entry.js +1 -0
  13. package/dist/playground/build/p-35c177d3.entry.js +1 -0
  14. package/dist/playground/build/{p-f4d23ffe.entry.js → p-3a60086d.entry.js} +1 -1
  15. package/dist/playground/build/{p-e723a7ae.entry.js → p-3ab798aa.entry.js} +1 -1
  16. package/dist/playground/build/{p-15bad9ef.entry.js → p-3b580baf.entry.js} +1 -1
  17. package/dist/playground/build/{p-4609c362.entry.js → p-3b65f787.entry.js} +1 -1
  18. package/dist/playground/build/{p-9f99de41.css → p-45f6e9ec.css} +1 -1
  19. package/dist/playground/build/p-4bf610f8.entry.js +1 -0
  20. package/dist/playground/build/{p-f51e1098.entry.js → p-4d30227e.entry.js} +1 -1
  21. package/dist/playground/build/p-4de536ae.entry.js +1 -0
  22. package/dist/playground/build/{p-3daafc56.entry.js → p-4e4d70c9.entry.js} +1 -1
  23. package/dist/playground/build/p-4efeb7c9.entry.js +1 -0
  24. package/dist/playground/build/{p-a314bc21.entry.js → p-51b3d71b.entry.js} +1 -1
  25. package/dist/playground/build/p-778b6bbb.entry.js +1 -0
  26. package/dist/playground/build/{p-a66550da.entry.js → p-7da78b2f.entry.js} +1 -1
  27. package/dist/playground/build/{p-fe14f038.entry.js → p-7f8f986b.entry.js} +1 -1
  28. package/dist/playground/build/{p-e0943d41.entry.js → p-8253c742.entry.js} +1 -1
  29. package/dist/playground/build/{p-a2334abe.entry.js → p-9a1ddeb7.entry.js} +1 -1
  30. package/dist/playground/build/{p-CArIPzJU.js → p-B610wOGe.js} +1 -1
  31. package/dist/playground/build/p-BxxU73QQ.js +1 -0
  32. package/dist/playground/build/p-CIMzZPQO.js +3 -0
  33. package/dist/playground/build/p-CfR85WgM.js +13 -0
  34. package/dist/playground/build/{p-DDUED8LT.js → p-D8p28N9s.js} +1 -1
  35. package/dist/playground/build/{p-BDsIecIx.js → p-DbzjRzhu.js} +1 -1
  36. package/dist/playground/build/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
  37. package/dist/playground/build/p-a2b1de23.entry.js +1 -0
  38. package/dist/playground/build/{p-dbcf7592.entry.js → p-a55edc17.entry.js} +1 -1
  39. package/dist/playground/build/p-a8808020.entry.js +1 -0
  40. package/dist/playground/build/{p-9a76cd71.entry.js → p-b1084b3c.entry.js} +1 -1
  41. package/dist/playground/build/{p-a2ff1b64.entry.js → p-b6c4dff4.entry.js} +1 -1
  42. package/dist/playground/build/{p-b21ad707.entry.js → p-b962e950.entry.js} +1 -1
  43. package/dist/playground/build/{p-5b584d3c.entry.js → p-bc369cd6.entry.js} +1 -1
  44. package/dist/playground/build/p-c119a8ea.entry.js +1 -0
  45. package/dist/playground/build/{p-85131314.entry.js → p-c6b77e9a.entry.js} +1 -1
  46. package/dist/playground/build/{p-84b350a3.entry.js → p-ca1c03b4.entry.js} +1 -1
  47. package/dist/playground/build/{p-b8fdef4f.entry.js → p-ce436162.entry.js} +1 -1
  48. package/dist/playground/build/{p-86c05afd.entry.js → p-d0a47a7c.entry.js} +1 -1
  49. package/dist/playground/build/{p-222405b8.entry.js → p-e1fbc8fc.entry.js} +1 -1
  50. package/dist/playground/build/{p-44bbe12f.entry.js → p-e32833ce.entry.js} +1 -1
  51. package/dist/playground/build/{p-d86bd51d.entry.js → p-e369a4aa.entry.js} +1 -1
  52. package/dist/playground/build/p-e4430c61.entry.js +1 -0
  53. package/dist/playground/build/{p-aa342e81.entry.js → p-e9c0052b.entry.js} +1 -1
  54. package/dist/playground/build/{p-852e88ae.entry.js → p-f5c4ca18.entry.js} +1 -1
  55. package/dist/playground/build/{p-d4788321.entry.js → p-f6683126.entry.js} +1 -1
  56. package/dist/playground/build/{p-Dnz3WmdX.js → p-ojSDiptZ.js} +1 -1
  57. package/dist/playground/build/webquark.css +1 -1
  58. package/dist/playground/build/webquark.esm.js +1 -1
  59. package/dist/playground/css/base.css +17 -44
  60. package/dist/playground/formatters/prettier/LICENSE +7 -0
  61. package/dist/playground/formatters/prettier/THIRD-PARTY-NOTICES.md +7941 -0
  62. package/dist/playground/formatters/prettier/html-fragment.mjs +1 -0
  63. package/dist/playground/formatters/prettier/html-fragment.mjs.gz +0 -0
  64. package/dist/playground/formatters/prettier/languages/angular.mjs +1 -0
  65. package/dist/playground/formatters/prettier/languages/angular.mjs.gz +0 -0
  66. package/dist/playground/formatters/prettier/languages/css.mjs +1 -0
  67. package/dist/playground/formatters/prettier/languages/css.mjs.gz +0 -0
  68. package/dist/playground/formatters/prettier/languages/flow.mjs +1 -0
  69. package/dist/playground/formatters/prettier/languages/flow.mjs.gz +0 -0
  70. package/dist/playground/formatters/prettier/languages/graphql.mjs +1 -0
  71. package/dist/playground/formatters/prettier/languages/graphql.mjs.gz +0 -0
  72. package/dist/playground/formatters/prettier/languages/handlebars.mjs +1 -0
  73. package/dist/playground/formatters/prettier/languages/handlebars.mjs.gz +0 -0
  74. package/dist/playground/formatters/prettier/languages/html.mjs +1 -0
  75. package/dist/playground/formatters/prettier/languages/html.mjs.gz +0 -0
  76. package/dist/playground/formatters/prettier/languages/javascript.mjs +1 -0
  77. package/dist/playground/formatters/prettier/languages/javascript.mjs.gz +0 -0
  78. package/dist/playground/formatters/prettier/languages/json-stringify.mjs +1 -0
  79. package/dist/playground/formatters/prettier/languages/json-stringify.mjs.gz +0 -0
  80. package/dist/playground/formatters/prettier/languages/json.mjs +1 -0
  81. package/dist/playground/formatters/prettier/languages/json.mjs.gz +0 -0
  82. package/dist/playground/formatters/prettier/languages/json5.mjs +1 -0
  83. package/dist/playground/formatters/prettier/languages/json5.mjs.gz +0 -0
  84. package/dist/playground/formatters/prettier/languages/jsonc.mjs +1 -0
  85. package/dist/playground/formatters/prettier/languages/jsonc.mjs.gz +0 -0
  86. package/dist/playground/formatters/prettier/languages/jsx.mjs +1 -0
  87. package/dist/playground/formatters/prettier/languages/jsx.mjs.gz +0 -0
  88. package/dist/playground/formatters/prettier/languages/less.mjs +1 -0
  89. package/dist/playground/formatters/prettier/languages/less.mjs.gz +0 -0
  90. package/dist/playground/formatters/prettier/languages/lwc.mjs +1 -0
  91. package/dist/playground/formatters/prettier/languages/lwc.mjs.gz +0 -0
  92. package/dist/playground/formatters/prettier/languages/markdown.mjs +1 -0
  93. package/dist/playground/formatters/prettier/languages/markdown.mjs.gz +0 -0
  94. package/dist/playground/formatters/prettier/languages/mdx.mjs +1 -0
  95. package/dist/playground/formatters/prettier/languages/mdx.mjs.gz +0 -0
  96. package/dist/playground/formatters/prettier/languages/mjml.mjs +1 -0
  97. package/dist/playground/formatters/prettier/languages/mjml.mjs.gz +0 -0
  98. package/dist/playground/formatters/prettier/languages/postcss.mjs +1 -0
  99. package/dist/playground/formatters/prettier/languages/postcss.mjs.gz +0 -0
  100. package/dist/playground/formatters/prettier/languages/scss.mjs +1 -0
  101. package/dist/playground/formatters/prettier/languages/scss.mjs.gz +0 -0
  102. package/dist/playground/formatters/prettier/languages/tsx.mjs +1 -0
  103. package/dist/playground/formatters/prettier/languages/tsx.mjs.gz +0 -0
  104. package/dist/playground/formatters/prettier/languages/typescript.mjs +1 -0
  105. package/dist/playground/formatters/prettier/languages/typescript.mjs.gz +0 -0
  106. package/dist/playground/formatters/prettier/languages/vue.mjs +1 -0
  107. package/dist/playground/formatters/prettier/languages/vue.mjs.gz +0 -0
  108. package/dist/playground/formatters/prettier/languages/yaml.mjs +1 -0
  109. package/dist/playground/formatters/prettier/languages/yaml.mjs.gz +0 -0
  110. package/dist/playground/formatters/prettier/manifest.json +87 -0
  111. package/dist/playground/formatters/prettier/plugins/acorn.mjs +17 -0
  112. package/dist/playground/formatters/prettier/plugins/acorn.mjs.gz +0 -0
  113. package/dist/playground/formatters/prettier/plugins/angular.mjs +7 -0
  114. package/dist/playground/formatters/prettier/plugins/angular.mjs.gz +0 -0
  115. package/dist/playground/formatters/prettier/plugins/babel.mjs +16 -0
  116. package/dist/playground/formatters/prettier/plugins/babel.mjs.gz +0 -0
  117. package/dist/playground/formatters/prettier/plugins/estree.mjs +44 -0
  118. package/dist/playground/formatters/prettier/plugins/estree.mjs.gz +0 -0
  119. package/dist/playground/formatters/prettier/plugins/flow.mjs +7 -0
  120. package/dist/playground/formatters/prettier/plugins/flow.mjs.gz +0 -0
  121. package/dist/playground/formatters/prettier/plugins/glimmer.mjs +37 -0
  122. package/dist/playground/formatters/prettier/plugins/glimmer.mjs.gz +0 -0
  123. package/dist/playground/formatters/prettier/plugins/graphql.mjs +17 -0
  124. package/dist/playground/formatters/prettier/plugins/graphql.mjs.gz +0 -0
  125. package/dist/playground/formatters/prettier/plugins/html.mjs +25 -0
  126. package/dist/playground/formatters/prettier/plugins/html.mjs.gz +0 -0
  127. package/dist/playground/formatters/prettier/plugins/markdown.mjs +70 -0
  128. package/dist/playground/formatters/prettier/plugins/markdown.mjs.gz +0 -0
  129. package/dist/playground/formatters/prettier/plugins/meriyah.mjs +9 -0
  130. package/dist/playground/formatters/prettier/plugins/meriyah.mjs.gz +0 -0
  131. package/dist/playground/formatters/prettier/plugins/postcss.mjs +62 -0
  132. package/dist/playground/formatters/prettier/plugins/postcss.mjs.gz +0 -0
  133. package/dist/playground/formatters/prettier/plugins/typescript.mjs +22 -0
  134. package/dist/playground/formatters/prettier/plugins/typescript.mjs.gz +0 -0
  135. package/dist/playground/formatters/prettier/plugins/yaml.mjs +150 -0
  136. package/dist/playground/formatters/prettier/plugins/yaml.mjs.gz +0 -0
  137. package/dist/playground/formatters/prettier/runtime.d.mts +2 -0
  138. package/dist/playground/formatters/prettier/runtime.mjs +1 -0
  139. package/dist/playground/formatters/prettier/runtime.mjs.gz +0 -0
  140. package/dist/playground/formatters/prettier/standalone.mjs +29 -0
  141. package/dist/playground/formatters/prettier/standalone.mjs.gz +0 -0
  142. package/dist/playground/index.html +1 -1
  143. package/dist/playground/playground/components.manifest.json +54 -44
  144. package/dist/playground/playground/consumer.html +27 -0
  145. package/dist/playground/playground/specs/q-accordion.sandbox.json +38 -0
  146. package/dist/playground/playground/specs/q-alert.sandbox.json +95 -0
  147. package/dist/playground/playground/specs/q-avatar.sandbox.json +39 -6
  148. package/dist/playground/playground/specs/q-banner.sandbox.json +66 -0
  149. package/dist/playground/playground/specs/q-button.sandbox.json +115 -15
  150. package/dist/playground/playground/specs/q-card.sandbox.json +50 -9
  151. package/dist/playground/playground/specs/q-carousel.sandbox.json +109 -6
  152. package/dist/playground/playground/specs/q-chip.sandbox.json +29 -2
  153. package/dist/playground/playground/specs/q-control-group.sandbox.json +11 -1
  154. package/dist/playground/playground/specs/q-conversation-bubble.sandbox.json +13 -2
  155. package/dist/playground/playground/specs/q-data-table.sandbox.json +137 -12
  156. package/dist/playground/playground/specs/q-dialog.sandbox.json +62 -5
  157. package/dist/playground/playground/specs/q-divider.sandbox.json +1 -1
  158. package/dist/playground/playground/specs/q-dropdown.sandbox.json +176 -20
  159. package/dist/playground/playground/specs/q-form.sandbox.json +66 -1
  160. package/dist/playground/playground/specs/q-grid.sandbox.json +37 -1
  161. package/dist/playground/playground/specs/q-icon.sandbox.json +62 -23
  162. package/dist/playground/playground/specs/q-image-comparison.sandbox.json +41 -5
  163. package/dist/playground/playground/specs/q-inline.sandbox.json +41 -0
  164. package/dist/playground/playground/specs/q-input.sandbox.json +71 -5
  165. package/dist/playground/playground/specs/q-link.sandbox.json +213 -17
  166. package/dist/playground/playground/specs/q-map.sandbox.json +434 -28
  167. package/dist/playground/playground/specs/q-media.sandbox.json +85 -0
  168. package/dist/playground/playground/specs/q-navbar.sandbox.json +378 -29
  169. package/dist/playground/playground/specs/q-pagination.sandbox.json +89 -0
  170. package/dist/playground/playground/specs/q-panel.sandbox.json +63 -2
  171. package/dist/playground/playground/specs/q-progress.sandbox.json +37 -11
  172. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +15 -3
  173. package/dist/playground/playground/specs/q-radio-group.sandbox.json +94 -14
  174. package/dist/playground/playground/specs/q-reel.sandbox.json +22 -5
  175. package/dist/playground/playground/specs/q-scrollable.sandbox.json +16 -0
  176. package/dist/playground/playground/specs/q-section.sandbox.json +69 -0
  177. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +271 -12
  178. package/dist/playground/playground/specs/q-slider.sandbox.json +104 -1
  179. package/dist/playground/playground/specs/q-stack.sandbox.json +13 -2
  180. package/dist/playground/playground/specs/q-step-diagram-item.sandbox.json +101 -0
  181. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +29 -1
  182. package/dist/playground/playground/specs/q-syntax-box.sandbox.json +85 -8
  183. package/dist/playground/playground/specs/q-syntax-view.sandbox.json +45 -0
  184. package/dist/playground/playground/specs/q-tabs.sandbox.json +164 -0
  185. package/dist/playground/playground/specs/q-textarea.sandbox.json +45 -1
  186. package/dist/playground/playground/specs/q-thumbnail.sandbox.json +67 -0
  187. package/dist/playground/playground/specs/q-toast.sandbox.json +19 -8
  188. package/dist/playground/playground/specs/q-toggle.sandbox.json +22 -2
  189. package/dist/playground/playground/specs/q-toolbar.sandbox.json +55 -0
  190. package/dist/playground/playground/specs/q-tooltip.sandbox.json +18 -2
  191. package/dist/playground/playground.js +3737 -1764
  192. package/dist/playground/presets.html +58 -37
  193. package/dist/playground/views/tooling/tooling.html +5 -5
  194. package/package.json +3 -3
  195. package/dist/playground/build/p-048103e0.entry.js +0 -1
  196. package/dist/playground/build/p-0baf478a.entry.js +0 -1
  197. package/dist/playground/build/p-2eaa3a9f.entry.js +0 -1
  198. package/dist/playground/build/p-65fe9cac.entry.js +0 -1
  199. package/dist/playground/build/p-8c5b2706.entry.js +0 -1
  200. package/dist/playground/build/p-923527f0.entry.js +0 -1
  201. package/dist/playground/build/p-Bj2RJb2E.js +0 -1
  202. package/dist/playground/build/p-DoGM9gsC.js +0 -3
  203. package/dist/playground/build/p-a0d97367.entry.js +0 -1
  204. package/dist/playground/build/p-a16bd8d5.entry.js +0 -13
  205. package/dist/playground/build/p-a3e1096d.entry.js +0 -1
  206. package/dist/playground/build/p-b1c771fb.entry.js +0 -1
  207. package/dist/playground/build/p-b45ca926.entry.js +0 -1
  208. package/dist/playground/build/p-ca1c516e.js +0 -1
  209. package/dist/playground/build/p-eb800d1e.entry.js +0 -1
@@ -5,7 +5,16 @@
5
5
  "width": {
6
6
  "type": "select",
7
7
  "default": "",
8
- "options": ["", "xs", "sm", "md", "lg", "xl", "xxl", "full"],
8
+ "options": [
9
+ "",
10
+ "xs",
11
+ "sm",
12
+ "md",
13
+ "lg",
14
+ "xl",
15
+ "xxl",
16
+ "full"
17
+ ],
9
18
  "desc": "Horizontal width independent of size; empty preserves existing layout"
10
19
  },
11
20
  "rows": {
@@ -77,6 +86,23 @@
77
86
  "reserveFeedback": {
78
87
  "type": "boolean",
79
88
  "desc": "Reserve one feedback line; omit to inherit"
89
+ },
90
+ "ariaLabel": {
91
+ "type": "string",
92
+ "desc": "Accessible name"
93
+ },
94
+ "name": {
95
+ "type": "string",
96
+ "desc": "Field name included in form data",
97
+ "default": "review"
98
+ },
99
+ "description": {
100
+ "type": "string",
101
+ "desc": "Supporting instructions"
102
+ },
103
+ "errorMessage": {
104
+ "type": "string",
105
+ "desc": "Deprecated fallback. Use error; omit the replacement to try this alias."
80
106
  }
81
107
  },
82
108
  "slots": {},
@@ -137,6 +163,17 @@
137
163
  "error": "Content exceeds character limit of 500 characters.",
138
164
  "value": "Initial text content value"
139
165
  }
166
+ },
167
+ {
168
+ "name": "Named field with hidden label",
169
+ "props": {
170
+ "name": "notes",
171
+ "label": "Notes",
172
+ "labelHidden": true,
173
+ "ariaLabel": "Review notes",
174
+ "description": "One change per line.",
175
+ "value": "Review navigation\nConfirm keyboard behavior"
176
+ }
140
177
  }
141
178
  ],
142
179
  "edgeCases": [
@@ -154,6 +191,13 @@
154
191
  "label": "",
155
192
  "placeholder": ""
156
193
  }
194
+ },
195
+ {
196
+ "name": "Legacy validation feedback",
197
+ "props": {
198
+ "error": null,
199
+ "errorMessage": "Provide a review note."
200
+ }
157
201
  }
158
202
  ]
159
203
  }
@@ -0,0 +1,67 @@
1
+ {
2
+ "tag": "q-thumbnail",
3
+ "name": "Thumbnail",
4
+ "description": "Keyboard-activatable thumbnail. qMaximize carries the media details to a consumer such as q-reel.",
5
+ "props": {
6
+ "src": {
7
+ "type": "string",
8
+ "desc": "Thumbnail media URL",
9
+ "default": "assets/comparison-before.svg"
10
+ },
11
+ "alt": {
12
+ "type": "string",
13
+ "desc": "Image alternative text",
14
+ "default": "Landscape before restoration"
15
+ },
16
+ "label": {
17
+ "type": "string",
18
+ "desc": "Caption",
19
+ "default": "Restoration survey"
20
+ },
21
+ "highlighted": {
22
+ "type": "boolean",
23
+ "desc": "Highlight the thumbnail",
24
+ "default": false
25
+ },
26
+ "video": {
27
+ "type": "boolean",
28
+ "desc": "Display a play indicator",
29
+ "default": false
30
+ }
31
+ },
32
+ "slots": {
33
+ "default": {
34
+ "type": "html",
35
+ "desc": "Custom overlay",
36
+ "default": ""
37
+ }
38
+ },
39
+ "variants": [
40
+ {
41
+ "name": "Highlighted with overlay",
42
+ "props": {
43
+ "src": "assets/comparison-after.svg",
44
+ "highlighted": true
45
+ },
46
+ "slots": {
47
+ "default": "<span>After restoration</span>"
48
+ }
49
+ },
50
+ {
51
+ "name": "Video indicator",
52
+ "props": {
53
+ "video": true,
54
+ "label": "Survey footage"
55
+ }
56
+ }
57
+ ],
58
+ "edgeCases": [
59
+ {
60
+ "name": "Accessible without a caption",
61
+ "props": {
62
+ "label": null,
63
+ "alt": "A restored landscape"
64
+ }
65
+ }
66
+ ]
67
+ }
@@ -1,12 +1,7 @@
1
1
  {
2
2
  "tag": "q-toast",
3
3
  "name": "Toast",
4
- "description": "Global mutation feedback driven by the framework-neutral toast controller.",
5
- "stageHelper": {
6
- "label": "Toast Component Control",
7
- "buttonId": "stageShowToastBtn",
8
- "buttonLabel": "Show Error Toast"
9
- },
4
+ "description": "Show a toast with a chosen title, description, duration and dismiss behavior. Use its returned ID to dismiss it or clear the queue.",
10
5
  "props": {
11
6
  "position": {
12
7
  "type": "select",
@@ -24,9 +19,25 @@
24
19
  "maxVisible": {
25
20
  "type": "number",
26
21
  "min": 1,
27
- "max": 10,
28
22
  "default": 3,
29
23
  "desc": "Maximum number of visible toasts before queueing"
30
24
  }
31
- }
25
+ },
26
+ "variants": [
27
+ {
28
+ "name": "Queue with one visible toast",
29
+ "props": {
30
+ "maxVisible": 1,
31
+ "position": "bottom-center"
32
+ }
33
+ }
34
+ ],
35
+ "edgeCases": [
36
+ {
37
+ "name": "Persistent notifications",
38
+ "props": {
39
+ "position": "top-start"
40
+ }
41
+ }
42
+ ]
32
43
  }
@@ -55,11 +55,20 @@
55
55
  "reserveFeedback": {
56
56
  "type": "boolean",
57
57
  "desc": "Reserve one feedback line; omit to inherit"
58
+ },
59
+ "description": {
60
+ "type": "string",
61
+ "desc": "Supporting instructions"
62
+ },
63
+ "name": {
64
+ "type": "string",
65
+ "desc": "Field name included in form data",
66
+ "default": "consent"
58
67
  }
59
68
  },
60
69
  "slots": {
61
70
  "default": {
62
- "type": "text",
71
+ "type": "html",
63
72
  "default": "",
64
73
  "desc": "Optional replacement for the text label"
65
74
  },
@@ -169,6 +178,17 @@
169
178
  "checked": false,
170
179
  "label": "Invalid Field"
171
180
  }
181
+ },
182
+ {
183
+ "name": "Named checkbox",
184
+ "props": {
185
+ "name": "consent",
186
+ "type": "checkbox",
187
+ "label": "Accept terms",
188
+ "description": "Review the agreement before submitting.",
189
+ "required": true,
190
+ "checked": false
191
+ }
172
192
  }
173
193
  ],
174
194
  "edgeCases": [
@@ -199,7 +219,7 @@
199
219
  "checked": true
200
220
  },
201
221
  "slots": {
202
- "default": "I agree to the <a href=\"#\" style=\"color:var(--q-color-primary);text-decoration:underline\">Terms & Conditions</a>"
222
+ "default": "I agree to the <q-link href=\"#\" underline=\"always\">Terms & Conditions</q-link>"
203
223
  }
204
224
  }
205
225
  ]
@@ -48,6 +48,26 @@
48
48
  "lg"
49
49
  ],
50
50
  "desc": "Control size; inherit follows the nearest form or toolbar"
51
+ },
52
+ "gap": {
53
+ "type": "select",
54
+ "desc": "Distance between controls",
55
+ "default": "sm",
56
+ "options": [
57
+ "none",
58
+ "xs",
59
+ "sm",
60
+ "md",
61
+ "lg",
62
+ "xl",
63
+ "2xl",
64
+ "3xl"
65
+ ]
66
+ },
67
+ "wrap": {
68
+ "type": "boolean",
69
+ "desc": "Allow controls to wrap",
70
+ "default": true
51
71
  }
52
72
  },
53
73
  "slots": {
@@ -96,6 +116,41 @@
96
116
  "edge": "left",
97
117
  "bordered": true
98
118
  }
119
+ },
120
+ {
121
+ "name": "Wrap in a narrow toolbar",
122
+ "props": {
123
+ "style": "display:block;max-width:220px",
124
+ "gap": "lg",
125
+ "size": "sm",
126
+ "wrap": true
127
+ },
128
+ "slots": {
129
+ "start": "<q-button>Back</q-button>",
130
+ "default": "<q-button>Inspect changes</q-button>",
131
+ "end": "<q-button>Save draft</q-button>"
132
+ }
133
+ },
134
+ {
135
+ "name": "Single row in a narrow toolbar",
136
+ "props": {
137
+ "style": "display:block;max-width:220px",
138
+ "gap": "lg",
139
+ "size": "sm",
140
+ "wrap": false
141
+ },
142
+ "slots": {
143
+ "start": "<q-button>Back</q-button>",
144
+ "default": "<q-button>Inspect changes</q-button>",
145
+ "end": "<q-button>Save draft</q-button>"
146
+ }
147
+ },
148
+ {
149
+ "name": "Sticky toolbar in scrolling content",
150
+ "props": {
151
+ "sticky": true,
152
+ "edge": "top"
153
+ }
99
154
  }
100
155
  ],
101
156
  "edgeCases": [
@@ -17,7 +17,6 @@
17
17
  "delay": {
18
18
  "type": "number",
19
19
  "min": 0,
20
- "max": 2000,
21
20
  "default": 200,
22
21
  "desc": "The delay in milliseconds before the tooltip fades in"
23
22
  },
@@ -51,6 +50,16 @@
51
50
  "position": "bottom",
52
51
  "delay": 0
53
52
  }
53
+ },
54
+ {
55
+ "name": "Left, slotted content",
56
+ "props": {
57
+ "position": "left",
58
+ "content": null
59
+ },
60
+ "slots": {
61
+ "default": "Keyboard shortcuts"
62
+ }
54
63
  }
55
64
  ],
56
65
  "edgeCases": [
@@ -61,5 +70,12 @@
61
70
  "position": "top"
62
71
  }
63
72
  }
64
- ]
73
+ ],
74
+ "slots": {
75
+ "default": {
76
+ "type": "html",
77
+ "desc": "Bubble content when the content prop is omitted",
78
+ "default": ""
79
+ }
80
+ }
65
81
  }