@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.
- 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-846dc838.entry.js → p-014c2f4a.entry.js} +1 -1
- package/dist/playground/build/{p-0182e114.entry.js → p-0389577c.entry.js} +1 -1
- 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-17b9713f.entry.js → p-0ebca9be.entry.js} +1 -1
- package/dist/playground/build/{p-0a2c52de.entry.js → p-1bf375f7.entry.js} +2 -2
- package/dist/playground/build/{p-e2721e77.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-f4d23ffe.entry.js → p-3a60086d.entry.js} +1 -1
- package/dist/playground/build/{p-e723a7ae.entry.js → p-3ab798aa.entry.js} +1 -1
- package/dist/playground/build/{p-15bad9ef.entry.js → p-3b580baf.entry.js} +1 -1
- package/dist/playground/build/{p-4609c362.entry.js → p-3b65f787.entry.js} +1 -1
- package/dist/playground/build/{p-9f99de41.css → p-45f6e9ec.css} +1 -1
- package/dist/playground/build/p-4bf610f8.entry.js +1 -0
- package/dist/playground/build/{p-f51e1098.entry.js → p-4d30227e.entry.js} +1 -1
- package/dist/playground/build/p-4de536ae.entry.js +1 -0
- package/dist/playground/build/{p-3daafc56.entry.js → p-4e4d70c9.entry.js} +1 -1
- package/dist/playground/build/p-4efeb7c9.entry.js +1 -0
- package/dist/playground/build/{p-a314bc21.entry.js → p-51b3d71b.entry.js} +1 -1
- package/dist/playground/build/p-778b6bbb.entry.js +1 -0
- package/dist/playground/build/{p-a66550da.entry.js → p-7da78b2f.entry.js} +1 -1
- package/dist/playground/build/{p-fe14f038.entry.js → p-7f8f986b.entry.js} +1 -1
- package/dist/playground/build/{p-e0943d41.entry.js → p-8253c742.entry.js} +1 -1
- package/dist/playground/build/{p-a2334abe.entry.js → p-9a1ddeb7.entry.js} +1 -1
- package/dist/playground/build/{p-CArIPzJU.js → p-B610wOGe.js} +1 -1
- 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-DDUED8LT.js → p-D8p28N9s.js} +1 -1
- package/dist/playground/build/{p-BDsIecIx.js → p-DbzjRzhu.js} +1 -1
- package/dist/playground/build/{p-BOdNg0jc.js → p-DeOEN0si.js} +1 -1
- package/dist/playground/build/p-a2b1de23.entry.js +1 -0
- package/dist/playground/build/{p-dbcf7592.entry.js → p-a55edc17.entry.js} +1 -1
- package/dist/playground/build/p-a8808020.entry.js +1 -0
- package/dist/playground/build/{p-9a76cd71.entry.js → p-b1084b3c.entry.js} +1 -1
- package/dist/playground/build/{p-a2ff1b64.entry.js → p-b6c4dff4.entry.js} +1 -1
- package/dist/playground/build/{p-b21ad707.entry.js → p-b962e950.entry.js} +1 -1
- package/dist/playground/build/{p-5b584d3c.entry.js → p-bc369cd6.entry.js} +1 -1
- package/dist/playground/build/p-c119a8ea.entry.js +1 -0
- package/dist/playground/build/{p-85131314.entry.js → p-c6b77e9a.entry.js} +1 -1
- package/dist/playground/build/{p-84b350a3.entry.js → p-ca1c03b4.entry.js} +1 -1
- package/dist/playground/build/{p-b8fdef4f.entry.js → p-ce436162.entry.js} +1 -1
- package/dist/playground/build/{p-86c05afd.entry.js → p-d0a47a7c.entry.js} +1 -1
- package/dist/playground/build/{p-222405b8.entry.js → p-e1fbc8fc.entry.js} +1 -1
- package/dist/playground/build/{p-44bbe12f.entry.js → p-e32833ce.entry.js} +1 -1
- package/dist/playground/build/{p-d86bd51d.entry.js → p-e369a4aa.entry.js} +1 -1
- package/dist/playground/build/p-e4430c61.entry.js +1 -0
- package/dist/playground/build/{p-aa342e81.entry.js → p-e9c0052b.entry.js} +1 -1
- package/dist/playground/build/{p-852e88ae.entry.js → p-f5c4ca18.entry.js} +1 -1
- package/dist/playground/build/{p-d4788321.entry.js → p-f6683126.entry.js} +1 -1
- package/dist/playground/build/{p-Dnz3WmdX.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 -44
- 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 +11 -1
- 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 +1 -1
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +176 -20
- 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 +71 -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 -1
- 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 +45 -1
- 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 +3737 -1764
- package/dist/playground/presets.html +58 -37
- package/dist/playground/views/tooling/tooling.html +5 -5
- package/package.json +3 -3
- package/dist/playground/build/p-048103e0.entry.js +0 -1
- package/dist/playground/build/p-0baf478a.entry.js +0 -1
- package/dist/playground/build/p-2eaa3a9f.entry.js +0 -1
- package/dist/playground/build/p-65fe9cac.entry.js +0 -1
- package/dist/playground/build/p-8c5b2706.entry.js +0 -1
- package/dist/playground/build/p-923527f0.entry.js +0 -1
- package/dist/playground/build/p-Bj2RJb2E.js +0 -1
- package/dist/playground/build/p-DoGM9gsC.js +0 -3
- package/dist/playground/build/p-a0d97367.entry.js +0 -1
- package/dist/playground/build/p-a16bd8d5.entry.js +0 -13
- package/dist/playground/build/p-a3e1096d.entry.js +0 -1
- package/dist/playground/build/p-b1c771fb.entry.js +0 -1
- package/dist/playground/build/p-b45ca926.entry.js +0 -1
- package/dist/playground/build/p-ca1c516e.js +0 -1
- package/dist/playground/build/p-eb800d1e.entry.js +0 -1
|
@@ -1 +1,104 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "Slider",
|
|
3
|
+
"tag": "q-slider",
|
|
4
|
+
"props": {
|
|
5
|
+
"min": {
|
|
6
|
+
"type": "number",
|
|
7
|
+
"default": 0
|
|
8
|
+
},
|
|
9
|
+
"max": {
|
|
10
|
+
"type": "number",
|
|
11
|
+
"default": 100
|
|
12
|
+
},
|
|
13
|
+
"value": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"default": 25
|
|
16
|
+
},
|
|
17
|
+
"step": {
|
|
18
|
+
"type": "number",
|
|
19
|
+
"default": 1
|
|
20
|
+
},
|
|
21
|
+
"label": {
|
|
22
|
+
"type": "text",
|
|
23
|
+
"default": "Value"
|
|
24
|
+
},
|
|
25
|
+
"suffix": {
|
|
26
|
+
"type": "text",
|
|
27
|
+
"default": ""
|
|
28
|
+
},
|
|
29
|
+
"disabled": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false
|
|
32
|
+
},
|
|
33
|
+
"showValue": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"desc": "Show the numeric value badge",
|
|
36
|
+
"default": true
|
|
37
|
+
},
|
|
38
|
+
"name": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"desc": "Field name included in form data",
|
|
41
|
+
"default": "volume"
|
|
42
|
+
},
|
|
43
|
+
"ariaLabel": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"desc": "Accessible name"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"variants": [
|
|
49
|
+
{
|
|
50
|
+
"name": "Columns",
|
|
51
|
+
"props": {
|
|
52
|
+
"label": "Columns",
|
|
53
|
+
"min": 1,
|
|
54
|
+
"max": 10,
|
|
55
|
+
"value": 3
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Gap",
|
|
60
|
+
"props": {
|
|
61
|
+
"label": "Gap",
|
|
62
|
+
"min": 4,
|
|
63
|
+
"max": 40,
|
|
64
|
+
"value": 16,
|
|
65
|
+
"suffix": "px"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Fractional",
|
|
70
|
+
"props": {
|
|
71
|
+
"min": 0,
|
|
72
|
+
"max": 1,
|
|
73
|
+
"step": 0.1,
|
|
74
|
+
"value": 0.5
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Form field without value badge",
|
|
79
|
+
"props": {
|
|
80
|
+
"name": "volume",
|
|
81
|
+
"ariaLabel": "Volume",
|
|
82
|
+
"showValue": false,
|
|
83
|
+
"suffix": "%",
|
|
84
|
+
"value": 42
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"edgeCases": [
|
|
89
|
+
{
|
|
90
|
+
"name": "Omitted value starts at minimum",
|
|
91
|
+
"props": {
|
|
92
|
+
"min": 5,
|
|
93
|
+
"value": null
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "Disabled slider",
|
|
98
|
+
"props": {
|
|
99
|
+
"disabled": true,
|
|
100
|
+
"name": "volume"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
@@ -44,13 +44,24 @@
|
|
|
44
44
|
"props": {
|
|
45
45
|
"gap": "xl"
|
|
46
46
|
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "Centered unequal widths",
|
|
50
|
+
"props": {
|
|
51
|
+
"gap": "md",
|
|
52
|
+
"align": "center"
|
|
53
|
+
},
|
|
54
|
+
"slots": {
|
|
55
|
+
"default": "<q-chip>Draft</q-chip><q-chip>Ready for review</q-chip>"
|
|
56
|
+
}
|
|
47
57
|
}
|
|
48
58
|
],
|
|
49
59
|
"edgeCases": [
|
|
50
60
|
{
|
|
51
61
|
"name": "Long content",
|
|
52
|
-
"slots": {
|
|
53
|
-
|
|
62
|
+
"slots": {
|
|
63
|
+
"default": "<q-card>Long content that can wrap as the available width decreases.</q-card><q-card>Another item</q-card>"
|
|
64
|
+
}
|
|
54
65
|
}
|
|
55
66
|
]
|
|
56
67
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "q-step-diagram-item",
|
|
3
|
+
"name": "Step Diagram Item",
|
|
4
|
+
"description": "Standalone timeline item. A q-step-diagram parent coordinates orientation.",
|
|
5
|
+
"props": {
|
|
6
|
+
"lineStyle": {
|
|
7
|
+
"type": "select",
|
|
8
|
+
"desc": "Connector line style",
|
|
9
|
+
"default": "solid",
|
|
10
|
+
"options": [
|
|
11
|
+
"solid",
|
|
12
|
+
"dashed",
|
|
13
|
+
"dotted",
|
|
14
|
+
"none"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"status": {
|
|
18
|
+
"type": "select",
|
|
19
|
+
"desc": "Step status",
|
|
20
|
+
"default": "completed",
|
|
21
|
+
"options": [
|
|
22
|
+
"pending",
|
|
23
|
+
"active",
|
|
24
|
+
"completed",
|
|
25
|
+
"success",
|
|
26
|
+
"warning",
|
|
27
|
+
"danger"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"orientation": {
|
|
31
|
+
"type": "select",
|
|
32
|
+
"desc": "Item direction",
|
|
33
|
+
"options": [
|
|
34
|
+
"vertical",
|
|
35
|
+
"horizontal"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"layout": {
|
|
39
|
+
"type": "select",
|
|
40
|
+
"desc": "Deprecated fallback. Use orientation; omit the replacement to try this alias.",
|
|
41
|
+
"options": [
|
|
42
|
+
"vertical",
|
|
43
|
+
"horizontal"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"slots": {
|
|
48
|
+
"badge": {
|
|
49
|
+
"type": "html",
|
|
50
|
+
"desc": "Optional custom badge",
|
|
51
|
+
"default": ""
|
|
52
|
+
},
|
|
53
|
+
"title": {
|
|
54
|
+
"type": "html",
|
|
55
|
+
"desc": "Step title",
|
|
56
|
+
"default": "Prepare workspace"
|
|
57
|
+
},
|
|
58
|
+
"default": {
|
|
59
|
+
"type": "html",
|
|
60
|
+
"desc": "Step body",
|
|
61
|
+
"default": "Inspect the pending changes."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"variants": [
|
|
65
|
+
{
|
|
66
|
+
"name": "Active step and custom badge",
|
|
67
|
+
"props": {
|
|
68
|
+
"status": "active",
|
|
69
|
+
"lineStyle": "dashed"
|
|
70
|
+
},
|
|
71
|
+
"slots": {
|
|
72
|
+
"badge": "2",
|
|
73
|
+
"title": "Review pull request",
|
|
74
|
+
"default": "Read the proposed changes."
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Horizontal warning",
|
|
79
|
+
"props": {
|
|
80
|
+
"orientation": "horizontal",
|
|
81
|
+
"status": "warning",
|
|
82
|
+
"lineStyle": "dotted"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"edgeCases": [
|
|
87
|
+
{
|
|
88
|
+
"name": "Pending step",
|
|
89
|
+
"props": {
|
|
90
|
+
"status": "pending"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "Legacy direction",
|
|
95
|
+
"props": {
|
|
96
|
+
"orientation": null,
|
|
97
|
+
"layout": "horizontal"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -8,8 +8,20 @@
|
|
|
8
8
|
"vertical",
|
|
9
9
|
"horizontal"
|
|
10
10
|
],
|
|
11
|
-
"default": "vertical",
|
|
12
11
|
"desc": "Timeline orientation path"
|
|
12
|
+
},
|
|
13
|
+
"ariaLabel": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"desc": "Accessible list name",
|
|
16
|
+
"default": "Steps"
|
|
17
|
+
},
|
|
18
|
+
"layout": {
|
|
19
|
+
"type": "select",
|
|
20
|
+
"desc": "Deprecated fallback. Use orientation; omit the replacement to try this alias.",
|
|
21
|
+
"options": [
|
|
22
|
+
"horizontal",
|
|
23
|
+
"vertical"
|
|
24
|
+
]
|
|
13
25
|
}
|
|
14
26
|
},
|
|
15
27
|
"slots": {
|
|
@@ -31,6 +43,15 @@
|
|
|
31
43
|
"props": {
|
|
32
44
|
"orientation": "horizontal"
|
|
33
45
|
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "Customized badge",
|
|
49
|
+
"props": {
|
|
50
|
+
"ariaLabel": "Build pipeline"
|
|
51
|
+
},
|
|
52
|
+
"slots": {
|
|
53
|
+
"default": "<q-step-diagram-item status=\"active\"><span slot=\"badge\">1</span><span slot=\"title\">Compile</span>Compile project sources.</q-step-diagram-item>"
|
|
54
|
+
}
|
|
34
55
|
}
|
|
35
56
|
],
|
|
36
57
|
"edgeCases": [
|
|
@@ -51,6 +72,13 @@
|
|
|
51
72
|
"slots": {
|
|
52
73
|
"default": "<q-step-diagram-item status=\"active\" line-style=\"none\"><span slot=\"title\">Isolated Node</span>Lone timeline item</q-step-diagram-item>"
|
|
53
74
|
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "Legacy horizontal layout",
|
|
78
|
+
"props": {
|
|
79
|
+
"orientation": null,
|
|
80
|
+
"layout": "horizontal"
|
|
81
|
+
}
|
|
54
82
|
}
|
|
55
83
|
]
|
|
56
84
|
}
|
|
@@ -17,10 +17,29 @@
|
|
|
17
17
|
"html",
|
|
18
18
|
"javascript",
|
|
19
19
|
"css",
|
|
20
|
-
"json"
|
|
20
|
+
"json",
|
|
21
|
+
"typescript",
|
|
22
|
+
"jsx",
|
|
23
|
+
"tsx",
|
|
24
|
+
"flow",
|
|
25
|
+
"json5",
|
|
26
|
+
"jsonc",
|
|
27
|
+
"json-stringify",
|
|
28
|
+
"postcss",
|
|
29
|
+
"less",
|
|
30
|
+
"scss",
|
|
31
|
+
"angular",
|
|
32
|
+
"vue",
|
|
33
|
+
"lwc",
|
|
34
|
+
"mjml",
|
|
35
|
+
"handlebars",
|
|
36
|
+
"graphql",
|
|
37
|
+
"markdown",
|
|
38
|
+
"mdx",
|
|
39
|
+
"yaml"
|
|
21
40
|
],
|
|
22
41
|
"default": "html",
|
|
23
|
-
"desc": "
|
|
42
|
+
"desc": "Language used to format the editor content"
|
|
24
43
|
},
|
|
25
44
|
"height": {
|
|
26
45
|
"type": "string",
|
|
@@ -44,7 +63,6 @@
|
|
|
44
63
|
},
|
|
45
64
|
"code": {
|
|
46
65
|
"type": "string",
|
|
47
|
-
"default": "",
|
|
48
66
|
"desc": "The source code string to highlight (takes precedence over slot content)"
|
|
49
67
|
},
|
|
50
68
|
"required": {
|
|
@@ -56,13 +74,36 @@
|
|
|
56
74
|
"type": "boolean",
|
|
57
75
|
"default": false,
|
|
58
76
|
"desc": "Disables interaction in editable mode"
|
|
77
|
+
},
|
|
78
|
+
"name": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"desc": "Field name included in form data",
|
|
81
|
+
"default": "source"
|
|
82
|
+
},
|
|
83
|
+
"ariaLabel": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"desc": "Accessible name"
|
|
86
|
+
},
|
|
87
|
+
"value": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"desc": "Synchronized editable value"
|
|
59
90
|
}
|
|
60
91
|
},
|
|
61
92
|
"slots": {
|
|
62
93
|
"default": {
|
|
63
|
-
"type": "
|
|
64
|
-
"default": "
|
|
65
|
-
"desc": "
|
|
94
|
+
"type": "html",
|
|
95
|
+
"default": "<div class=\"app-container\">\n <h1>Hello World</h1>\n <q-button variant=\"primary\">Click Me</q-button>\n</div>",
|
|
96
|
+
"desc": "Projected content for this box, or direct q-syntax-view children for separate views"
|
|
97
|
+
},
|
|
98
|
+
"heading": {
|
|
99
|
+
"type": "html",
|
|
100
|
+
"desc": "Custom title content in the single-view panel header",
|
|
101
|
+
"default": ""
|
|
102
|
+
},
|
|
103
|
+
"actions": {
|
|
104
|
+
"type": "html",
|
|
105
|
+
"desc": "Additional panel-header controls",
|
|
106
|
+
"default": ""
|
|
66
107
|
}
|
|
67
108
|
},
|
|
68
109
|
"variants": [
|
|
@@ -76,6 +117,13 @@
|
|
|
76
117
|
"code": "<div class=\"demo\">\n <span>Interactive Item</span>\n</div>"
|
|
77
118
|
}
|
|
78
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"name": "Two named views",
|
|
122
|
+
"props": { "heading": "Button example" },
|
|
123
|
+
"slots": {
|
|
124
|
+
"default": "<q-syntax-view heading=\"Example HTML\" view-key=\"html\" code=\"<q-button>Save</q-button>\" copyable></q-syntax-view><q-syntax-view heading=\"Notes\" view-key=\"notes\"><p>Use a short action label.</p></q-syntax-view>"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
79
127
|
{
|
|
80
128
|
"name": "Plain Variant (HTML)",
|
|
81
129
|
"props": {
|
|
@@ -154,9 +202,38 @@
|
|
|
154
202
|
"code": "{\"10\":9007199254740993,\"2\":-0,\"same\":1,\"same\":2}",
|
|
155
203
|
"height": "190px"
|
|
156
204
|
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "Slotted read-only content",
|
|
208
|
+
"props": {
|
|
209
|
+
"code": null,
|
|
210
|
+
"value": null,
|
|
211
|
+
"editable": false
|
|
212
|
+
},
|
|
213
|
+
"slots": {
|
|
214
|
+
"default": "<article>Draft</article>",
|
|
215
|
+
"actions": "<q-link href=\"#reference\">Reference</q-link>"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "Named form editor",
|
|
220
|
+
"props": {
|
|
221
|
+
"name": "source",
|
|
222
|
+
"editable": true,
|
|
223
|
+
"required": true,
|
|
224
|
+
"value": "<section>Draft</section>",
|
|
225
|
+
"ariaLabel": "HTML source"
|
|
226
|
+
}
|
|
157
227
|
}
|
|
158
228
|
],
|
|
159
229
|
"edgeCases": [
|
|
230
|
+
{
|
|
231
|
+
"name": "Empty editor keeps its tab",
|
|
232
|
+
"props": { "heading": "Draft sources" },
|
|
233
|
+
"slots": {
|
|
234
|
+
"default": "<q-syntax-view heading=\"Saved\" code=\"<p>Published</p>\" copyable></q-syntax-view><q-syntax-view heading=\"Draft\" editable required name=\"draft\" aria-label=\"Draft HTML\"></q-syntax-view>"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
160
237
|
{
|
|
161
238
|
"name": "Long Script Wrapping Test",
|
|
162
239
|
"props": {
|
|
@@ -179,13 +256,13 @@
|
|
|
179
256
|
}
|
|
180
257
|
},
|
|
181
258
|
{
|
|
182
|
-
"name": "
|
|
259
|
+
"name": "Preserve Spaces in a JavaScript Template",
|
|
183
260
|
"props": {
|
|
184
261
|
"variant": "panel",
|
|
185
262
|
"language": "javascript",
|
|
186
263
|
"editable": true,
|
|
187
264
|
"heading": "LITERAL JAVASCRIPT",
|
|
188
|
-
"code": "const message
|
|
265
|
+
"code": "const message=`keep spaces; { braces }`",
|
|
189
266
|
"height": "110px"
|
|
190
267
|
}
|
|
191
268
|
},
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Syntax View",
|
|
3
|
+
"tag": "q-syntax-view",
|
|
4
|
+
"description": "A code or content view. Add views directly inside a Syntax Box to create tabs.",
|
|
5
|
+
"props": {
|
|
6
|
+
"heading": { "type": "string", "default": "Source", "desc": "Title of the view and its tab label" },
|
|
7
|
+
"viewKey": { "type": "string", "default": "source", "desc": "Identifier for this view within its Syntax Box" },
|
|
8
|
+
"code": { "type": "string", "default": "<q-button>Save</q-button>", "desc": "Source displayed or edited in this view" },
|
|
9
|
+
"value": { "type": "string", "desc": "Form value synchronized with code" },
|
|
10
|
+
"language": {
|
|
11
|
+
"type": "select", "default": "html",
|
|
12
|
+
"options": ["html", "javascript", "css", "json", "typescript", "jsx", "tsx", "flow", "json5", "jsonc", "json-stringify", "postcss", "less", "scss", "angular", "vue", "lwc", "mjml", "handlebars", "graphql", "markdown", "mdx", "yaml"],
|
|
13
|
+
"desc": "Language used to format the editor content"
|
|
14
|
+
},
|
|
15
|
+
"variant": { "type": "select", "default": "panel", "options": ["panel", "plain"], "desc": "Appearance when the view is used on its own" },
|
|
16
|
+
"height": { "type": "string", "desc": "Height of the content area" },
|
|
17
|
+
"copyable": { "type": "boolean", "default": true, "desc": "Show a Copy action for the view" },
|
|
18
|
+
"editable": { "type": "boolean", "default": false, "desc": "Allow editing the source" },
|
|
19
|
+
"name": { "type": "string", "default": "source", "desc": "Name used when submitting this editor in a form" },
|
|
20
|
+
"required": { "type": "boolean", "default": false, "desc": "Require a value when editing" },
|
|
21
|
+
"disabled": { "type": "boolean", "default": false, "desc": "Disable editing and built-in actions" },
|
|
22
|
+
"ariaLabel": { "type": "string", "desc": "Accessible name of the editor" }
|
|
23
|
+
},
|
|
24
|
+
"slots": {
|
|
25
|
+
"default": { "type": "html", "desc": "Read-only content when source code is absent" },
|
|
26
|
+
"actions": { "type": "html", "desc": "Additional toolbar controls for this view" }
|
|
27
|
+
},
|
|
28
|
+
"variants": [
|
|
29
|
+
{
|
|
30
|
+
"name": "Editable JSON",
|
|
31
|
+
"props": { "heading": "Settings", "editable": true, "language": "json", "code": "{\"theme\":\"dark\"}" }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Slotted content",
|
|
35
|
+
"props": { "heading": "Events", "code": null, "copyable": false },
|
|
36
|
+
"slots": { "default": "<q-stack gap=\"xs\" role=\"log\"><span>Saved draft</span><span>Published draft</span></q-stack>" }
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"edgeCases": [
|
|
40
|
+
{
|
|
41
|
+
"name": "Required empty editor",
|
|
42
|
+
"props": { "heading": "Draft", "editable": true, "code": "", "required": true }
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tag": "q-tabs",
|
|
3
|
+
"name": "Tabs",
|
|
4
|
+
"description": "Controlled selection with a consumer-rendered tab panel. Use arrow keys, Home or End in the tab list.",
|
|
5
|
+
"props": {
|
|
6
|
+
"items": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"desc": "Array of labels or tab objects",
|
|
9
|
+
"default": [
|
|
10
|
+
{
|
|
11
|
+
"label": "Overview",
|
|
12
|
+
"value": "overview"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"label": "Activity",
|
|
16
|
+
"value": "activity",
|
|
17
|
+
"icon": "history"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"label": "Settings",
|
|
21
|
+
"value": "settings",
|
|
22
|
+
"icon": "settings",
|
|
23
|
+
"iconOnly": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"label": "Archive",
|
|
27
|
+
"value": "archive",
|
|
28
|
+
"disabled": true
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"value": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"desc": "Active tab value",
|
|
35
|
+
"default": "overview"
|
|
36
|
+
},
|
|
37
|
+
"orientation": {
|
|
38
|
+
"type": "select",
|
|
39
|
+
"desc": "Tab list orientation",
|
|
40
|
+
"default": "horizontal",
|
|
41
|
+
"options": [
|
|
42
|
+
"horizontal",
|
|
43
|
+
"vertical"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"size": {
|
|
47
|
+
"type": "select",
|
|
48
|
+
"desc": "Tab size",
|
|
49
|
+
"default": "md",
|
|
50
|
+
"options": [
|
|
51
|
+
"sm",
|
|
52
|
+
"md",
|
|
53
|
+
"lg"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"variant": {
|
|
57
|
+
"type": "select",
|
|
58
|
+
"desc": "Tab appearance",
|
|
59
|
+
"default": "underline",
|
|
60
|
+
"options": [
|
|
61
|
+
"underline",
|
|
62
|
+
"enclosed",
|
|
63
|
+
"pills",
|
|
64
|
+
"button"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"stretch": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"desc": "Distribute tabs across the row",
|
|
70
|
+
"default": false
|
|
71
|
+
},
|
|
72
|
+
"ariaLabel": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"desc": "Tab list accessible name",
|
|
75
|
+
"default": "Sections"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"slots": {},
|
|
79
|
+
"variants": [
|
|
80
|
+
{
|
|
81
|
+
"name": "Vertical enclosed",
|
|
82
|
+
"props": {
|
|
83
|
+
"orientation": "vertical",
|
|
84
|
+
"variant": "enclosed",
|
|
85
|
+
"items": [
|
|
86
|
+
{
|
|
87
|
+
"label": "Overview",
|
|
88
|
+
"value": "overview"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"label": "Activity",
|
|
92
|
+
"value": "activity",
|
|
93
|
+
"icon": "history"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"label": "Settings",
|
|
97
|
+
"value": "settings",
|
|
98
|
+
"icon": "settings",
|
|
99
|
+
"iconOnly": true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"label": "Archive",
|
|
103
|
+
"value": "archive",
|
|
104
|
+
"disabled": true
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "Stretched pills",
|
|
111
|
+
"props": {
|
|
112
|
+
"variant": "pills",
|
|
113
|
+
"stretch": true,
|
|
114
|
+
"items": [
|
|
115
|
+
{
|
|
116
|
+
"label": "Overview",
|
|
117
|
+
"value": "overview"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"label": "Activity",
|
|
121
|
+
"value": "activity",
|
|
122
|
+
"icon": "history"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"label": "Settings",
|
|
126
|
+
"value": "settings",
|
|
127
|
+
"icon": "settings",
|
|
128
|
+
"iconOnly": true
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"label": "Archive",
|
|
132
|
+
"value": "archive",
|
|
133
|
+
"disabled": true
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "Button style and string labels",
|
|
140
|
+
"props": {
|
|
141
|
+
"variant": "button",
|
|
142
|
+
"items": [
|
|
143
|
+
"News",
|
|
144
|
+
"Reviews"
|
|
145
|
+
],
|
|
146
|
+
"value": "News"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"edgeCases": [
|
|
151
|
+
{
|
|
152
|
+
"name": "No enabled choices",
|
|
153
|
+
"props": {
|
|
154
|
+
"items": [
|
|
155
|
+
{
|
|
156
|
+
"label": "Archive",
|
|
157
|
+
"value": "archive",
|
|
158
|
+
"disabled": true
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|