@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.
- package/dist/browser/components/q-control-group.d.ts +1 -0
- package/dist/browser/components/q-control-group.js +1 -0
- package/dist/browser/components/q-divider.d.ts +1 -0
- package/dist/browser/components/q-divider.js +1 -0
- package/dist/browser/components/q-slider.d.ts +1 -0
- package/dist/browser/components/q-slider.js +1 -0
- package/dist/browser/components/q-syntax-view.d.ts +1 -0
- package/dist/browser/components/q-syntax-view.js +1 -0
- package/dist/browser/webquark.css +1 -1
- package/dist/playground/assets/reel-motion.webm +0 -0
- package/dist/playground/build/p-014c2f4a.entry.js +1 -0
- package/dist/playground/build/p-0389577c.entry.js +1 -0
- package/dist/playground/build/p-041e17c1.entry.js +1 -0
- package/dist/playground/build/p-0479c571.entry.js +1 -0
- package/dist/playground/build/p-0ebca9be.entry.js +1 -0
- package/dist/playground/build/{p-fe8c634a.entry.js → p-1bf375f7.entry.js} +2 -2
- package/dist/playground/build/{p-6bfffa79.entry.js → p-20dc3ab5.entry.js} +1 -1
- package/dist/playground/build/p-28d3348f.entry.js +1 -0
- package/dist/playground/build/p-35c177d3.entry.js +1 -0
- package/dist/playground/build/{p-99d785ca.entry.js → p-3a60086d.entry.js} +1 -1
- package/dist/playground/build/{p-3bc4629c.entry.js → p-3ab798aa.entry.js} +1 -1
- package/dist/playground/build/{p-9e78b796.entry.js → p-3b580baf.entry.js} +1 -1
- package/dist/playground/build/{p-888e46a8.entry.js → p-3b65f787.entry.js} +1 -1
- package/dist/playground/build/p-45f6e9ec.css +1 -0
- package/dist/playground/build/p-4bf610f8.entry.js +1 -0
- package/dist/playground/build/{p-4d61b70d.entry.js → p-4d30227e.entry.js} +1 -1
- package/dist/playground/build/{p-70d9ffde.entry.js → p-4de536ae.entry.js} +1 -1
- package/dist/playground/build/{p-90b0858c.entry.js → p-4e4d70c9.entry.js} +1 -1
- package/dist/playground/build/p-4efeb7c9.entry.js +1 -0
- package/dist/playground/build/{p-dd115868.entry.js → p-51b3d71b.entry.js} +1 -1
- package/dist/playground/build/p-778b6bbb.entry.js +1 -0
- package/dist/playground/build/{p-f63b7214.entry.js → p-7da78b2f.entry.js} +1 -1
- package/dist/playground/build/{p-9ff7e5a4.entry.js → p-7f8f986b.entry.js} +1 -1
- package/dist/playground/build/p-8253c742.entry.js +1 -0
- package/dist/playground/build/{p-059daa8a.entry.js → p-9a1ddeb7.entry.js} +1 -1
- package/dist/playground/build/p-B610wOGe.js +1 -0
- package/dist/playground/build/p-BxxU73QQ.js +1 -0
- package/dist/playground/build/p-CIMzZPQO.js +3 -0
- package/dist/playground/build/p-CfR85WgM.js +13 -0
- package/dist/playground/build/{p-Dhsn99q4.js → p-D8p28N9s.js} +1 -1
- package/dist/playground/build/p-DbzjRzhu.js +1 -0
- package/dist/playground/build/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
- package/dist/playground/build/{p-d0fbd2b1.entry.js → p-a2b1de23.entry.js} +1 -1
- package/dist/playground/build/{p-48fb5228.entry.js → p-a55edc17.entry.js} +1 -1
- package/dist/playground/build/p-a8808020.entry.js +1 -0
- package/dist/playground/build/{p-f4f97e74.entry.js → p-b1084b3c.entry.js} +1 -1
- package/dist/playground/build/{p-36118d90.entry.js → p-b6c4dff4.entry.js} +1 -1
- package/dist/playground/build/p-b962e950.entry.js +1 -0
- package/dist/playground/build/{p-023f8437.entry.js → p-bc369cd6.entry.js} +1 -1
- package/dist/playground/build/p-c119a8ea.entry.js +1 -0
- package/dist/playground/build/p-c6b77e9a.entry.js +1 -0
- package/dist/playground/build/{p-030ecde3.entry.js → p-ca1c03b4.entry.js} +1 -1
- package/dist/playground/build/{p-8ece2c62.entry.js → p-ce436162.entry.js} +1 -1
- package/dist/playground/build/{p-0aa74ad6.entry.js → p-d0a47a7c.entry.js} +1 -1
- package/dist/playground/build/{p-fec6fe0a.entry.js → p-e1fbc8fc.entry.js} +1 -1
- package/dist/playground/build/{p-09cca7b9.entry.js → p-e32833ce.entry.js} +1 -1
- package/dist/playground/build/p-e369a4aa.entry.js +1 -0
- package/dist/playground/build/p-e4430c61.entry.js +1 -0
- package/dist/playground/build/{p-f9ad63ff.entry.js → p-e9c0052b.entry.js} +1 -1
- package/dist/playground/build/{p-f1bac94c.entry.js → p-f5c4ca18.entry.js} +1 -1
- package/dist/playground/build/{p-64096386.entry.js → p-f6683126.entry.js} +1 -1
- package/dist/playground/build/{p-DWO-pleQ.js → p-ojSDiptZ.js} +1 -1
- package/dist/playground/build/webquark.css +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/css/base.css +17 -44
- package/dist/playground/formatters/prettier/LICENSE +7 -0
- package/dist/playground/formatters/prettier/THIRD-PARTY-NOTICES.md +7941 -0
- package/dist/playground/formatters/prettier/html-fragment.mjs +1 -0
- package/dist/playground/formatters/prettier/html-fragment.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/angular.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/angular.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/css.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/css.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/flow.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/flow.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/graphql.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/graphql.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/handlebars.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/handlebars.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/html.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/html.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/javascript.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/javascript.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/json-stringify.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/json-stringify.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/json.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/json.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/json5.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/json5.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/jsonc.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/jsonc.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/jsx.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/jsx.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/less.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/less.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/lwc.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/lwc.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/markdown.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/markdown.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/mdx.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/mdx.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/mjml.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/mjml.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/postcss.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/postcss.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/scss.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/scss.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/tsx.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/tsx.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/typescript.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/typescript.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/vue.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/vue.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/languages/yaml.mjs +1 -0
- package/dist/playground/formatters/prettier/languages/yaml.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/manifest.json +87 -0
- package/dist/playground/formatters/prettier/plugins/acorn.mjs +17 -0
- package/dist/playground/formatters/prettier/plugins/acorn.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/angular.mjs +7 -0
- package/dist/playground/formatters/prettier/plugins/angular.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/babel.mjs +16 -0
- package/dist/playground/formatters/prettier/plugins/babel.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/estree.mjs +44 -0
- package/dist/playground/formatters/prettier/plugins/estree.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/flow.mjs +7 -0
- package/dist/playground/formatters/prettier/plugins/flow.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/glimmer.mjs +37 -0
- package/dist/playground/formatters/prettier/plugins/glimmer.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/graphql.mjs +17 -0
- package/dist/playground/formatters/prettier/plugins/graphql.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/html.mjs +25 -0
- package/dist/playground/formatters/prettier/plugins/html.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/markdown.mjs +70 -0
- package/dist/playground/formatters/prettier/plugins/markdown.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/meriyah.mjs +9 -0
- package/dist/playground/formatters/prettier/plugins/meriyah.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/postcss.mjs +62 -0
- package/dist/playground/formatters/prettier/plugins/postcss.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/typescript.mjs +22 -0
- package/dist/playground/formatters/prettier/plugins/typescript.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/plugins/yaml.mjs +150 -0
- package/dist/playground/formatters/prettier/plugins/yaml.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/runtime.d.mts +2 -0
- package/dist/playground/formatters/prettier/runtime.mjs +1 -0
- package/dist/playground/formatters/prettier/runtime.mjs.gz +0 -0
- package/dist/playground/formatters/prettier/standalone.mjs +29 -0
- package/dist/playground/formatters/prettier/standalone.mjs.gz +0 -0
- package/dist/playground/index.html +1 -1
- package/dist/playground/playground/components.manifest.json +54 -41
- package/dist/playground/playground/consumer.html +27 -0
- package/dist/playground/playground/specs/q-accordion.sandbox.json +38 -0
- package/dist/playground/playground/specs/q-alert.sandbox.json +95 -0
- package/dist/playground/playground/specs/q-avatar.sandbox.json +39 -6
- package/dist/playground/playground/specs/q-banner.sandbox.json +66 -0
- package/dist/playground/playground/specs/q-button.sandbox.json +115 -15
- package/dist/playground/playground/specs/q-card.sandbox.json +50 -9
- package/dist/playground/playground/specs/q-carousel.sandbox.json +109 -6
- package/dist/playground/playground/specs/q-chip.sandbox.json +29 -2
- package/dist/playground/playground/specs/q-control-group.sandbox.json +30 -0
- package/dist/playground/playground/specs/q-conversation-bubble.sandbox.json +13 -2
- package/dist/playground/playground/specs/q-data-table.sandbox.json +137 -12
- package/dist/playground/playground/specs/q-dialog.sandbox.json +62 -5
- package/dist/playground/playground/specs/q-divider.sandbox.json +20 -0
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +186 -22
- package/dist/playground/playground/specs/q-form.sandbox.json +66 -1
- package/dist/playground/playground/specs/q-grid.sandbox.json +37 -1
- package/dist/playground/playground/specs/q-icon.sandbox.json +62 -23
- package/dist/playground/playground/specs/q-image-comparison.sandbox.json +41 -5
- package/dist/playground/playground/specs/q-inline.sandbox.json +41 -0
- package/dist/playground/playground/specs/q-input.sandbox.json +77 -5
- package/dist/playground/playground/specs/q-link.sandbox.json +213 -17
- package/dist/playground/playground/specs/q-map.sandbox.json +434 -28
- package/dist/playground/playground/specs/q-media.sandbox.json +85 -0
- package/dist/playground/playground/specs/q-navbar.sandbox.json +378 -29
- package/dist/playground/playground/specs/q-pagination.sandbox.json +89 -0
- package/dist/playground/playground/specs/q-panel.sandbox.json +63 -2
- package/dist/playground/playground/specs/q-progress.sandbox.json +37 -11
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +15 -3
- package/dist/playground/playground/specs/q-radio-group.sandbox.json +94 -14
- package/dist/playground/playground/specs/q-reel.sandbox.json +22 -5
- package/dist/playground/playground/specs/q-scrollable.sandbox.json +16 -0
- package/dist/playground/playground/specs/q-section.sandbox.json +69 -0
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +271 -12
- package/dist/playground/playground/specs/q-slider.sandbox.json +104 -0
- package/dist/playground/playground/specs/q-stack.sandbox.json +13 -2
- package/dist/playground/playground/specs/q-step-diagram-item.sandbox.json +101 -0
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +29 -1
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +85 -8
- package/dist/playground/playground/specs/q-syntax-view.sandbox.json +45 -0
- package/dist/playground/playground/specs/q-tabs.sandbox.json +164 -0
- package/dist/playground/playground/specs/q-textarea.sandbox.json +50 -0
- package/dist/playground/playground/specs/q-thumbnail.sandbox.json +67 -0
- package/dist/playground/playground/specs/q-toast.sandbox.json +19 -8
- package/dist/playground/playground/specs/q-toggle.sandbox.json +22 -2
- package/dist/playground/playground/specs/q-toolbar.sandbox.json +55 -0
- package/dist/playground/playground/specs/q-tooltip.sandbox.json +18 -2
- package/dist/playground/playground.js +3986 -2002
- package/dist/playground/presets.html +70 -15
- package/dist/playground/views/tooling/tooling.html +5 -5
- package/package.json +4 -4
- package/scripts/webquark-serve.js +3 -82
- package/scripts/wq-changelog.js +0 -0
- package/scripts/wq-switch/README.md +52 -15
- package/scripts/wq-switch/dist/index.js +1 -1200
- package/scripts/wq-switch/dist/setup.js +1 -894
- package/dist/playground/build/p-04c8cb9e.entry.js +0 -1
- package/dist/playground/build/p-0ae43d6c.entry.js +0 -1
- package/dist/playground/build/p-0c3aac3f.entry.js +0 -1
- package/dist/playground/build/p-144ef339.entry.js +0 -1
- package/dist/playground/build/p-296fbdb1.entry.js +0 -1
- package/dist/playground/build/p-5f232b44.entry.js +0 -13
- package/dist/playground/build/p-6e28cfe2.entry.js +0 -1
- package/dist/playground/build/p-91fff6b6.entry.js +0 -1
- package/dist/playground/build/p-923dac41.entry.js +0 -1
- package/dist/playground/build/p-97a89cae.entry.js +0 -1
- package/dist/playground/build/p-B4Mg1xEw.js +0 -1
- package/dist/playground/build/p-B5ElFlHv.js +0 -3
- package/dist/playground/build/p-Bj2RJb2E.js +0 -1
- package/dist/playground/build/p-ByfrUWx1.js +0 -1
- package/dist/playground/build/p-c523ec6f.entry.js +0 -1
- package/dist/playground/build/p-c923c9c0.js +0 -1
- package/dist/playground/build/p-d0253d64.entry.js +0 -1
- package/dist/playground/build/p-e0bb74ae.css +0 -1
- package/dist/playground/build/p-f98f9439.entry.js +0 -1
- package/dist/playground/build/p-fe200f68.entry.js +0 -1
- package/dist/playground/views/tooling/adoption/CHANGELOG.md +0 -13
- package/dist/playground/views/tooling/adoption/README.md +0 -47
- package/dist/playground/views/tooling/adoption/changelog.config.ts +0 -12
- package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/README.md +0 -3
- package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/images/release-panel.svg +0 -7
- package/dist/playground/views/tooling/adoption/docs/changelog/unreleased/visuals.json +0 -16
- package/dist/playground/views/tooling/adoption/docs/changelog/v0.1.0/README.md +0 -3
- package/dist/playground/views/tooling/adoption/generate.ts +0 -13
- package/dist/playground/views/tooling/adoption/package.json +0 -10
- package/dist/playground/views/tooling/adoption/serve.ts +0 -24
- package/dist/playground/views/tooling/adoption/viewer.html +0 -16
- 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": {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
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": {
|
|
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
|
-
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
{
|
|
25
|
-
|
|
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
|
+
}
|