@webquark/core 1.1.0-dev.9 → 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 (237) hide show
  1. package/dist/browser/components/q-control-group.d.ts +1 -0
  2. package/dist/browser/components/q-control-group.js +1 -0
  3. package/dist/browser/components/q-divider.d.ts +1 -0
  4. package/dist/browser/components/q-divider.js +1 -0
  5. package/dist/browser/components/q-slider.d.ts +1 -0
  6. package/dist/browser/components/q-slider.js +1 -0
  7. package/dist/browser/components/q-syntax-view.d.ts +1 -0
  8. package/dist/browser/components/q-syntax-view.js +1 -0
  9. package/dist/browser/webquark.css +1 -1
  10. package/dist/playground/assets/reel-motion.webm +0 -0
  11. package/dist/playground/build/p-014c2f4a.entry.js +1 -0
  12. package/dist/playground/build/p-0389577c.entry.js +1 -0
  13. package/dist/playground/build/p-041e17c1.entry.js +1 -0
  14. package/dist/playground/build/p-0479c571.entry.js +1 -0
  15. package/dist/playground/build/p-0ebca9be.entry.js +1 -0
  16. package/dist/playground/build/{p-fe8c634a.entry.js → p-1bf375f7.entry.js} +2 -2
  17. package/dist/playground/build/{p-6bfffa79.entry.js → p-20dc3ab5.entry.js} +1 -1
  18. package/dist/playground/build/p-28d3348f.entry.js +1 -0
  19. package/dist/playground/build/p-35c177d3.entry.js +1 -0
  20. package/dist/playground/build/{p-99d785ca.entry.js → p-3a60086d.entry.js} +1 -1
  21. package/dist/playground/build/{p-3bc4629c.entry.js → p-3ab798aa.entry.js} +1 -1
  22. package/dist/playground/build/{p-9e78b796.entry.js → p-3b580baf.entry.js} +1 -1
  23. package/dist/playground/build/{p-888e46a8.entry.js → p-3b65f787.entry.js} +1 -1
  24. package/dist/playground/build/p-45f6e9ec.css +1 -0
  25. package/dist/playground/build/p-4bf610f8.entry.js +1 -0
  26. package/dist/playground/build/{p-4d61b70d.entry.js → p-4d30227e.entry.js} +1 -1
  27. package/dist/playground/build/{p-70d9ffde.entry.js → p-4de536ae.entry.js} +1 -1
  28. package/dist/playground/build/{p-90b0858c.entry.js → p-4e4d70c9.entry.js} +1 -1
  29. package/dist/playground/build/p-4efeb7c9.entry.js +1 -0
  30. package/dist/playground/build/{p-dd115868.entry.js → p-51b3d71b.entry.js} +1 -1
  31. package/dist/playground/build/p-778b6bbb.entry.js +1 -0
  32. package/dist/playground/build/{p-f63b7214.entry.js → p-7da78b2f.entry.js} +1 -1
  33. package/dist/playground/build/{p-9ff7e5a4.entry.js → p-7f8f986b.entry.js} +1 -1
  34. package/dist/playground/build/p-8253c742.entry.js +1 -0
  35. package/dist/playground/build/{p-059daa8a.entry.js → p-9a1ddeb7.entry.js} +1 -1
  36. package/dist/playground/build/p-B610wOGe.js +1 -0
  37. package/dist/playground/build/p-BxxU73QQ.js +1 -0
  38. package/dist/playground/build/p-CIMzZPQO.js +3 -0
  39. package/dist/playground/build/p-CfR85WgM.js +13 -0
  40. package/dist/playground/build/{p-Dhsn99q4.js → p-D8p28N9s.js} +1 -1
  41. package/dist/playground/build/p-DbzjRzhu.js +1 -0
  42. package/dist/playground/build/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
  43. package/dist/playground/build/{p-d0fbd2b1.entry.js → p-a2b1de23.entry.js} +1 -1
  44. package/dist/playground/build/{p-48fb5228.entry.js → p-a55edc17.entry.js} +1 -1
  45. package/dist/playground/build/p-a8808020.entry.js +1 -0
  46. package/dist/playground/build/{p-f4f97e74.entry.js → p-b1084b3c.entry.js} +1 -1
  47. package/dist/playground/build/{p-36118d90.entry.js → p-b6c4dff4.entry.js} +1 -1
  48. package/dist/playground/build/p-b962e950.entry.js +1 -0
  49. package/dist/playground/build/{p-023f8437.entry.js → p-bc369cd6.entry.js} +1 -1
  50. package/dist/playground/build/p-c119a8ea.entry.js +1 -0
  51. package/dist/playground/build/p-c6b77e9a.entry.js +1 -0
  52. package/dist/playground/build/{p-030ecde3.entry.js → p-ca1c03b4.entry.js} +1 -1
  53. package/dist/playground/build/{p-8ece2c62.entry.js → p-ce436162.entry.js} +1 -1
  54. package/dist/playground/build/{p-0aa74ad6.entry.js → p-d0a47a7c.entry.js} +1 -1
  55. package/dist/playground/build/{p-fec6fe0a.entry.js → p-e1fbc8fc.entry.js} +1 -1
  56. package/dist/playground/build/{p-09cca7b9.entry.js → p-e32833ce.entry.js} +1 -1
  57. package/dist/playground/build/p-e369a4aa.entry.js +1 -0
  58. package/dist/playground/build/p-e4430c61.entry.js +1 -0
  59. package/dist/playground/build/{p-f9ad63ff.entry.js → p-e9c0052b.entry.js} +1 -1
  60. package/dist/playground/build/{p-f1bac94c.entry.js → p-f5c4ca18.entry.js} +1 -1
  61. package/dist/playground/build/{p-64096386.entry.js → p-f6683126.entry.js} +1 -1
  62. package/dist/playground/build/{p-DWO-pleQ.js → p-ojSDiptZ.js} +1 -1
  63. package/dist/playground/build/webquark.css +1 -1
  64. package/dist/playground/build/webquark.esm.js +1 -1
  65. package/dist/playground/css/base.css +17 -44
  66. package/dist/playground/formatters/prettier/LICENSE +7 -0
  67. package/dist/playground/formatters/prettier/THIRD-PARTY-NOTICES.md +7941 -0
  68. package/dist/playground/formatters/prettier/html-fragment.mjs +1 -0
  69. package/dist/playground/formatters/prettier/html-fragment.mjs.gz +0 -0
  70. package/dist/playground/formatters/prettier/languages/angular.mjs +1 -0
  71. package/dist/playground/formatters/prettier/languages/angular.mjs.gz +0 -0
  72. package/dist/playground/formatters/prettier/languages/css.mjs +1 -0
  73. package/dist/playground/formatters/prettier/languages/css.mjs.gz +0 -0
  74. package/dist/playground/formatters/prettier/languages/flow.mjs +1 -0
  75. package/dist/playground/formatters/prettier/languages/flow.mjs.gz +0 -0
  76. package/dist/playground/formatters/prettier/languages/graphql.mjs +1 -0
  77. package/dist/playground/formatters/prettier/languages/graphql.mjs.gz +0 -0
  78. package/dist/playground/formatters/prettier/languages/handlebars.mjs +1 -0
  79. package/dist/playground/formatters/prettier/languages/handlebars.mjs.gz +0 -0
  80. package/dist/playground/formatters/prettier/languages/html.mjs +1 -0
  81. package/dist/playground/formatters/prettier/languages/html.mjs.gz +0 -0
  82. package/dist/playground/formatters/prettier/languages/javascript.mjs +1 -0
  83. package/dist/playground/formatters/prettier/languages/javascript.mjs.gz +0 -0
  84. package/dist/playground/formatters/prettier/languages/json-stringify.mjs +1 -0
  85. package/dist/playground/formatters/prettier/languages/json-stringify.mjs.gz +0 -0
  86. package/dist/playground/formatters/prettier/languages/json.mjs +1 -0
  87. package/dist/playground/formatters/prettier/languages/json.mjs.gz +0 -0
  88. package/dist/playground/formatters/prettier/languages/json5.mjs +1 -0
  89. package/dist/playground/formatters/prettier/languages/json5.mjs.gz +0 -0
  90. package/dist/playground/formatters/prettier/languages/jsonc.mjs +1 -0
  91. package/dist/playground/formatters/prettier/languages/jsonc.mjs.gz +0 -0
  92. package/dist/playground/formatters/prettier/languages/jsx.mjs +1 -0
  93. package/dist/playground/formatters/prettier/languages/jsx.mjs.gz +0 -0
  94. package/dist/playground/formatters/prettier/languages/less.mjs +1 -0
  95. package/dist/playground/formatters/prettier/languages/less.mjs.gz +0 -0
  96. package/dist/playground/formatters/prettier/languages/lwc.mjs +1 -0
  97. package/dist/playground/formatters/prettier/languages/lwc.mjs.gz +0 -0
  98. package/dist/playground/formatters/prettier/languages/markdown.mjs +1 -0
  99. package/dist/playground/formatters/prettier/languages/markdown.mjs.gz +0 -0
  100. package/dist/playground/formatters/prettier/languages/mdx.mjs +1 -0
  101. package/dist/playground/formatters/prettier/languages/mdx.mjs.gz +0 -0
  102. package/dist/playground/formatters/prettier/languages/mjml.mjs +1 -0
  103. package/dist/playground/formatters/prettier/languages/mjml.mjs.gz +0 -0
  104. package/dist/playground/formatters/prettier/languages/postcss.mjs +1 -0
  105. package/dist/playground/formatters/prettier/languages/postcss.mjs.gz +0 -0
  106. package/dist/playground/formatters/prettier/languages/scss.mjs +1 -0
  107. package/dist/playground/formatters/prettier/languages/scss.mjs.gz +0 -0
  108. package/dist/playground/formatters/prettier/languages/tsx.mjs +1 -0
  109. package/dist/playground/formatters/prettier/languages/tsx.mjs.gz +0 -0
  110. package/dist/playground/formatters/prettier/languages/typescript.mjs +1 -0
  111. package/dist/playground/formatters/prettier/languages/typescript.mjs.gz +0 -0
  112. package/dist/playground/formatters/prettier/languages/vue.mjs +1 -0
  113. package/dist/playground/formatters/prettier/languages/vue.mjs.gz +0 -0
  114. package/dist/playground/formatters/prettier/languages/yaml.mjs +1 -0
  115. package/dist/playground/formatters/prettier/languages/yaml.mjs.gz +0 -0
  116. package/dist/playground/formatters/prettier/manifest.json +87 -0
  117. package/dist/playground/formatters/prettier/plugins/acorn.mjs +17 -0
  118. package/dist/playground/formatters/prettier/plugins/acorn.mjs.gz +0 -0
  119. package/dist/playground/formatters/prettier/plugins/angular.mjs +7 -0
  120. package/dist/playground/formatters/prettier/plugins/angular.mjs.gz +0 -0
  121. package/dist/playground/formatters/prettier/plugins/babel.mjs +16 -0
  122. package/dist/playground/formatters/prettier/plugins/babel.mjs.gz +0 -0
  123. package/dist/playground/formatters/prettier/plugins/estree.mjs +44 -0
  124. package/dist/playground/formatters/prettier/plugins/estree.mjs.gz +0 -0
  125. package/dist/playground/formatters/prettier/plugins/flow.mjs +7 -0
  126. package/dist/playground/formatters/prettier/plugins/flow.mjs.gz +0 -0
  127. package/dist/playground/formatters/prettier/plugins/glimmer.mjs +37 -0
  128. package/dist/playground/formatters/prettier/plugins/glimmer.mjs.gz +0 -0
  129. package/dist/playground/formatters/prettier/plugins/graphql.mjs +17 -0
  130. package/dist/playground/formatters/prettier/plugins/graphql.mjs.gz +0 -0
  131. package/dist/playground/formatters/prettier/plugins/html.mjs +25 -0
  132. package/dist/playground/formatters/prettier/plugins/html.mjs.gz +0 -0
  133. package/dist/playground/formatters/prettier/plugins/markdown.mjs +70 -0
  134. package/dist/playground/formatters/prettier/plugins/markdown.mjs.gz +0 -0
  135. package/dist/playground/formatters/prettier/plugins/meriyah.mjs +9 -0
  136. package/dist/playground/formatters/prettier/plugins/meriyah.mjs.gz +0 -0
  137. package/dist/playground/formatters/prettier/plugins/postcss.mjs +62 -0
  138. package/dist/playground/formatters/prettier/plugins/postcss.mjs.gz +0 -0
  139. package/dist/playground/formatters/prettier/plugins/typescript.mjs +22 -0
  140. package/dist/playground/formatters/prettier/plugins/typescript.mjs.gz +0 -0
  141. package/dist/playground/formatters/prettier/plugins/yaml.mjs +150 -0
  142. package/dist/playground/formatters/prettier/plugins/yaml.mjs.gz +0 -0
  143. package/dist/playground/formatters/prettier/runtime.d.mts +2 -0
  144. package/dist/playground/formatters/prettier/runtime.mjs +1 -0
  145. package/dist/playground/formatters/prettier/runtime.mjs.gz +0 -0
  146. package/dist/playground/formatters/prettier/standalone.mjs +29 -0
  147. package/dist/playground/formatters/prettier/standalone.mjs.gz +0 -0
  148. package/dist/playground/index.html +1 -1
  149. package/dist/playground/playground/components.manifest.json +54 -41
  150. package/dist/playground/playground/consumer.html +27 -0
  151. package/dist/playground/playground/specs/q-accordion.sandbox.json +38 -0
  152. package/dist/playground/playground/specs/q-alert.sandbox.json +95 -0
  153. package/dist/playground/playground/specs/q-avatar.sandbox.json +39 -6
  154. package/dist/playground/playground/specs/q-banner.sandbox.json +66 -0
  155. package/dist/playground/playground/specs/q-button.sandbox.json +115 -15
  156. package/dist/playground/playground/specs/q-card.sandbox.json +50 -9
  157. package/dist/playground/playground/specs/q-carousel.sandbox.json +109 -6
  158. package/dist/playground/playground/specs/q-chip.sandbox.json +29 -2
  159. package/dist/playground/playground/specs/q-control-group.sandbox.json +30 -0
  160. package/dist/playground/playground/specs/q-conversation-bubble.sandbox.json +13 -2
  161. package/dist/playground/playground/specs/q-data-table.sandbox.json +137 -12
  162. package/dist/playground/playground/specs/q-dialog.sandbox.json +62 -5
  163. package/dist/playground/playground/specs/q-divider.sandbox.json +20 -0
  164. package/dist/playground/playground/specs/q-dropdown.sandbox.json +186 -22
  165. package/dist/playground/playground/specs/q-form.sandbox.json +66 -1
  166. package/dist/playground/playground/specs/q-grid.sandbox.json +37 -1
  167. package/dist/playground/playground/specs/q-icon.sandbox.json +62 -23
  168. package/dist/playground/playground/specs/q-image-comparison.sandbox.json +41 -5
  169. package/dist/playground/playground/specs/q-inline.sandbox.json +41 -0
  170. package/dist/playground/playground/specs/q-input.sandbox.json +77 -5
  171. package/dist/playground/playground/specs/q-link.sandbox.json +213 -17
  172. package/dist/playground/playground/specs/q-map.sandbox.json +434 -28
  173. package/dist/playground/playground/specs/q-media.sandbox.json +85 -0
  174. package/dist/playground/playground/specs/q-navbar.sandbox.json +378 -29
  175. package/dist/playground/playground/specs/q-pagination.sandbox.json +89 -0
  176. package/dist/playground/playground/specs/q-panel.sandbox.json +63 -2
  177. package/dist/playground/playground/specs/q-progress.sandbox.json +37 -11
  178. package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +15 -3
  179. package/dist/playground/playground/specs/q-radio-group.sandbox.json +94 -14
  180. package/dist/playground/playground/specs/q-reel.sandbox.json +22 -5
  181. package/dist/playground/playground/specs/q-scrollable.sandbox.json +16 -0
  182. package/dist/playground/playground/specs/q-section.sandbox.json +69 -0
  183. package/dist/playground/playground/specs/q-sidepanel.sandbox.json +271 -12
  184. package/dist/playground/playground/specs/q-slider.sandbox.json +104 -0
  185. package/dist/playground/playground/specs/q-stack.sandbox.json +13 -2
  186. package/dist/playground/playground/specs/q-step-diagram-item.sandbox.json +101 -0
  187. package/dist/playground/playground/specs/q-step-diagram.sandbox.json +29 -1
  188. package/dist/playground/playground/specs/q-syntax-box.sandbox.json +85 -8
  189. package/dist/playground/playground/specs/q-syntax-view.sandbox.json +45 -0
  190. package/dist/playground/playground/specs/q-tabs.sandbox.json +164 -0
  191. package/dist/playground/playground/specs/q-textarea.sandbox.json +50 -0
  192. package/dist/playground/playground/specs/q-thumbnail.sandbox.json +67 -0
  193. package/dist/playground/playground/specs/q-toast.sandbox.json +19 -8
  194. package/dist/playground/playground/specs/q-toggle.sandbox.json +22 -2
  195. package/dist/playground/playground/specs/q-toolbar.sandbox.json +55 -0
  196. package/dist/playground/playground/specs/q-tooltip.sandbox.json +18 -2
  197. package/dist/playground/playground.js +3986 -2002
  198. package/dist/playground/presets.html +70 -15
  199. package/dist/playground/views/tooling/tooling.html +5 -5
  200. package/package.json +4 -4
  201. package/scripts/webquark-serve.js +3 -82
  202. package/scripts/wq-changelog.js +0 -0
  203. package/scripts/wq-switch/README.md +52 -15
  204. package/scripts/wq-switch/dist/index.js +1 -1200
  205. package/scripts/wq-switch/dist/setup.js +1 -894
  206. package/dist/playground/build/p-04c8cb9e.entry.js +0 -1
  207. package/dist/playground/build/p-0ae43d6c.entry.js +0 -1
  208. package/dist/playground/build/p-0c3aac3f.entry.js +0 -1
  209. package/dist/playground/build/p-144ef339.entry.js +0 -1
  210. package/dist/playground/build/p-296fbdb1.entry.js +0 -1
  211. package/dist/playground/build/p-5f232b44.entry.js +0 -13
  212. package/dist/playground/build/p-6e28cfe2.entry.js +0 -1
  213. package/dist/playground/build/p-91fff6b6.entry.js +0 -1
  214. package/dist/playground/build/p-923dac41.entry.js +0 -1
  215. package/dist/playground/build/p-97a89cae.entry.js +0 -1
  216. package/dist/playground/build/p-B4Mg1xEw.js +0 -1
  217. package/dist/playground/build/p-B5ElFlHv.js +0 -3
  218. package/dist/playground/build/p-Bj2RJb2E.js +0 -1
  219. package/dist/playground/build/p-ByfrUWx1.js +0 -1
  220. package/dist/playground/build/p-c523ec6f.entry.js +0 -1
  221. package/dist/playground/build/p-c923c9c0.js +0 -1
  222. package/dist/playground/build/p-d0253d64.entry.js +0 -1
  223. package/dist/playground/build/p-e0bb74ae.css +0 -1
  224. package/dist/playground/build/p-f98f9439.entry.js +0 -1
  225. package/dist/playground/build/p-fe200f68.entry.js +0 -1
  226. package/dist/playground/views/tooling/adoption/CHANGELOG.md +0 -13
  227. package/dist/playground/views/tooling/adoption/README.md +0 -47
  228. package/dist/playground/views/tooling/adoption/changelog.config.ts +0 -12
  229. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/README.md +0 -3
  230. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/images/release-panel.svg +0 -7
  231. package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/visuals.json +0 -16
  232. package/dist/playground/views/tooling/adoption/docs/changelog/v0.1.0/README.md +0 -3
  233. package/dist/playground/views/tooling/adoption/generate.ts +0 -13
  234. package/dist/playground/views/tooling/adoption/package.json +0 -10
  235. package/dist/playground/views/tooling/adoption/serve.ts +0 -24
  236. package/dist/playground/views/tooling/adoption/viewer.html +0 -16
  237. package/dist/playground/views/tooling/adoption/viewer.js +0 -54
@@ -1,27 +1,223 @@
1
- {
1
+ {
2
2
  "name": "Link",
3
3
  "tag": "q-link",
4
4
  "props": {
5
- "href": { "type": "string", "default": "/docs", "desc": "Direct link target" },
6
- "mailto": { "type": "string", "default": "", "desc": "Email address converted to a mailto target" },
7
- "tel": { "type": "string", "default": "", "desc": "Phone number converted to a tel target" },
8
- "target": { "type": "select", "options": ["", "_self", "_blank", "_parent", "_top"], "default": "", "desc": "Anchor target" },
9
- "variant": { "type": "select", "options": ["default", "muted", "accent", "danger"], "default": "default", "desc": "Text color variant" },
10
- "underline": { "type": "select", "options": ["hover", "always", "none"], "default": "hover", "desc": "Underline behavior" },
11
- "external": { "type": "boolean", "default": false, "desc": "Shows the external-link indicator" },
12
- "disabled": { "type": "boolean", "default": false, "desc": "Disables navigation and click events" }
5
+ "href": {
6
+ "type": "string",
7
+ "desc": "Direct destination. Omit to use url, mailto or tel.",
8
+ "default": "#documentation"
9
+ },
10
+ "mailto": {
11
+ "type": "string",
12
+ "default": "",
13
+ "desc": "Email address converted to a mailto target"
14
+ },
15
+ "tel": {
16
+ "type": "string",
17
+ "default": "",
18
+ "desc": "Phone number converted to a tel target"
19
+ },
20
+ "target": {
21
+ "type": "select",
22
+ "options": [
23
+ "",
24
+ "_self",
25
+ "_blank",
26
+ "_parent",
27
+ "_top"
28
+ ],
29
+ "default": "",
30
+ "desc": "Anchor target"
31
+ },
32
+ "variant": {
33
+ "type": "select",
34
+ "options": [
35
+ "default",
36
+ "muted",
37
+ "accent",
38
+ "danger"
39
+ ],
40
+ "default": "default",
41
+ "desc": "Text color variant"
42
+ },
43
+ "underline": {
44
+ "type": "select",
45
+ "options": [
46
+ "hover",
47
+ "always",
48
+ "none"
49
+ ],
50
+ "default": "hover",
51
+ "desc": "Underline behavior"
52
+ },
53
+ "external": {
54
+ "type": "boolean",
55
+ "default": false,
56
+ "desc": "Shows the external-link indicator"
57
+ },
58
+ "disabled": {
59
+ "type": "boolean",
60
+ "default": false,
61
+ "desc": "Disables navigation and click events"
62
+ },
63
+ "label": {
64
+ "type": "string",
65
+ "desc": "Fallback label when the default slot is empty"
66
+ },
67
+ "url": {
68
+ "type": "string",
69
+ "desc": "Deprecated fallback. Use href; omit the replacement to try this alias."
70
+ },
71
+ "rel": {
72
+ "type": "string",
73
+ "desc": "Link relationship tokens"
74
+ },
75
+ "download": {
76
+ "type": "string",
77
+ "desc": "Suggested filename when downloading the linked resource"
78
+ }
13
79
  },
14
80
  "slots": {
15
- "default": { "type": "text", "default": "Open documentation", "desc": "Link label" }
81
+ "default": {
82
+ "type": "text",
83
+ "default": "Open documentation",
84
+ "desc": "Link label"
85
+ },
86
+ "icon-left": {
87
+ "type": "html",
88
+ "desc": "Before the label",
89
+ "default": ""
90
+ },
91
+ "icon-right": {
92
+ "type": "html",
93
+ "desc": "After the label",
94
+ "default": ""
95
+ }
16
96
  },
17
97
  "variants": [
18
- { "name": "Default Link", "props": { "href": "/docs" }, "slots": { "default": "Documentation" } },
19
- { "name": "Muted Link", "props": { "href": "/profile", "variant": "muted" }, "slots": { "default": "Profile" } },
20
- { "name": "External Link", "props": { "href": "https://example.com", "target": "_blank" }, "slots": { "default": "External resource" } },
21
- { "name": "Danger Link", "props": { "href": "/delete", "variant": "danger", "underline": "always" }, "slots": { "default": "Delete item" } }
98
+ {
99
+ "name": "Default Link",
100
+ "props": {
101
+ "href": "#docs"
102
+ },
103
+ "slots": {
104
+ "default": "Documentation"
105
+ }
106
+ },
107
+ {
108
+ "name": "Muted Link",
109
+ "props": {
110
+ "href": "#profile",
111
+ "variant": "muted"
112
+ },
113
+ "slots": {
114
+ "default": "Profile"
115
+ }
116
+ },
117
+ {
118
+ "name": "External Link",
119
+ "props": {
120
+ "href": "https://example.com",
121
+ "target": "_blank"
122
+ },
123
+ "slots": {
124
+ "default": "External resource"
125
+ }
126
+ },
127
+ {
128
+ "name": "Danger Link",
129
+ "props": {
130
+ "href": "#delete",
131
+ "variant": "danger",
132
+ "underline": "always"
133
+ },
134
+ "slots": {
135
+ "default": "Delete item"
136
+ }
137
+ },
138
+ {
139
+ "name": "Fallback label and leading icon",
140
+ "props": {
141
+ "label": "Documentation",
142
+ "href": "#documentation"
143
+ },
144
+ "slots": {
145
+ "default": "",
146
+ "icon-left": "<q-icon name=\"book-open\"></q-icon>"
147
+ }
148
+ },
149
+ {
150
+ "name": "Email",
151
+ "props": {
152
+ "mailto": "hello@example.com",
153
+ "href": null
154
+ },
155
+ "slots": {
156
+ "default": "Email support"
157
+ }
158
+ },
159
+ {
160
+ "name": "Telephone",
161
+ "props": {
162
+ "tel": "+12025550123",
163
+ "href": null
164
+ },
165
+ "slots": {
166
+ "default": "Call support"
167
+ }
168
+ },
169
+ {
170
+ "name": "Download illustration",
171
+ "props": {
172
+ "href": "assets/comparison-before.svg",
173
+ "download": "landscape.svg"
174
+ },
175
+ "slots": {
176
+ "default": "Download SVG"
177
+ }
178
+ },
179
+ {
180
+ "name": "External relationship",
181
+ "props": {
182
+ "href": "https://example.com",
183
+ "target": "_blank",
184
+ "rel": "external noopener noreferrer"
185
+ },
186
+ "slots": {
187
+ "default": "Open resource",
188
+ "icon-right": "↗"
189
+ }
190
+ }
22
191
  ],
23
192
  "edgeCases": [
24
- { "name": "Disabled Link", "props": { "href": "/disabled", "disabled": true }, "slots": { "default": "Disabled link" } },
25
- { "name": "Long Link Text", "props": { "href": "/long" }, "slots": { "default": "A very long link label that should still wrap naturally within its parent container" } }
193
+ {
194
+ "name": "Disabled Link",
195
+ "props": {
196
+ "href": "#disabled",
197
+ "disabled": true
198
+ },
199
+ "slots": {
200
+ "default": "Disabled link"
201
+ }
202
+ },
203
+ {
204
+ "name": "Long Link Text",
205
+ "props": {
206
+ "href": "#long"
207
+ },
208
+ "slots": {
209
+ "default": "A very long link label that should still wrap naturally within its parent container"
210
+ }
211
+ },
212
+ {
213
+ "name": "Legacy URL fallback",
214
+ "props": {
215
+ "url": "#legacy",
216
+ "href": null
217
+ },
218
+ "slots": {
219
+ "default": "Legacy destination"
220
+ }
221
+ }
26
222
  ]
27
- }
223
+ }