@webquark/core 1.0.0 → 1.0.2
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/LICENSE +21 -21
- package/{readme.md → README.md} +97 -78
- package/dist/cjs/q-button_3.cjs.entry.js +22 -22
- package/dist/cjs/q-card.cjs.entry.js +3 -3
- package/dist/cjs/q-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q-circular-progress_2.cjs.entry.js +5 -5
- package/dist/cjs/q-data-table.cjs.entry.js +3 -3
- package/dist/cjs/q-dialog.cjs.entry.js +1 -1
- package/dist/cjs/q-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q-quantity-selector.cjs.entry.js +5 -5
- package/dist/cjs/q-reel.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
- package/dist/cjs/q-step-diagram.cjs.entry.js +2 -2
- package/dist/cjs/q-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/q-toggle.cjs.entry.js +3 -3
- package/dist/collection/assets/icons/braces.svg +14 -14
- package/dist/collection/assets/icons/check.svg +1 -1
- package/dist/collection/assets/icons/chevron-down.svg +1 -1
- package/dist/collection/assets/icons/chevron-left.svg +1 -1
- package/dist/collection/assets/icons/chevron-right.svg +1 -1
- package/dist/collection/assets/icons/chevron-up.svg +1 -1
- package/dist/collection/assets/icons/copy.svg +4 -4
- package/dist/collection/assets/icons/eye-off.svg +1 -1
- package/dist/collection/assets/icons/eye.svg +1 -1
- package/dist/collection/assets/icons/minus.svg +1 -1
- package/dist/collection/assets/icons/play.svg +1 -1
- package/dist/collection/assets/icons/plus.svg +1 -1
- package/dist/collection/assets/icons/search.svg +1 -1
- package/dist/collection/assets/icons/spinner.svg +1 -1
- package/dist/collection/assets/icons/trash-2.svg +1 -1
- package/dist/collection/assets/icons/x.svg +1 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/carousel/carousel.js +2 -2
- package/dist/collection/components/circular-progress/circular-progress.js +2 -2
- package/dist/collection/components/data-table/data-table.css +219 -219
- package/dist/collection/components/data-table/data-table.js +4 -4
- package/dist/collection/components/dialog/dialog.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +5 -5
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/quantity-selector/quantity-selector.css +131 -131
- package/dist/collection/components/quantity-selector/quantity-selector.js +4 -4
- package/dist/collection/components/reel/reel.js +2 -2
- package/dist/collection/components/scrollable/scrollable.js +22 -22
- package/dist/collection/components/sidepanel/sidepanel.js +2 -2
- package/dist/collection/components/step-diagram/step-diagram.js +2 -2
- package/dist/collection/components/step-diagram-item/step-diagram-item.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/toggle/toggle.js +4 -4
- package/dist/collection/playground/components/playground-event-log/playground-event-log.js +3 -3
- package/dist/collection/playground/components/sandbox-viewport/sandbox-panel.js +3 -3
- package/dist/collection/playground/logo.svg +8 -8
- package/dist/collection/playground/playground.bundled.js +590 -590
- package/dist/collection/playground/views/q-button-view/q-button-view.js +6 -6
- package/dist/collection/playground/views/q-input-view/q-input-view.js +6 -6
- package/dist/collection/utils/formatter.unit.test.js +24 -24
- package/dist/components/{p-CYfD9z8O.js → p-B4IF9WVv.js} +1 -1
- package/dist/components/{p-BRNv11Jn.js → p-DScvq41R.js} +1 -1
- package/dist/components/{p-B7e76DLW.js → p-Do2ppeKL.js} +1 -1
- package/dist/components/q-card.js +1 -1
- package/dist/components/q-carousel.js +1 -1
- package/dist/components/q-circular-progress.js +1 -1
- package/dist/components/q-data-table.js +1 -1
- package/dist/components/q-dialog.js +1 -1
- package/dist/components/q-dropdown.js +1 -1
- package/dist/components/q-input.js +1 -1
- package/dist/components/q-quantity-selector.js +1 -1
- package/dist/components/q-reel.js +1 -1
- package/dist/components/q-scrollable.js +1 -1
- package/dist/components/q-step-diagram-item.js +1 -1
- package/dist/components/q-step-diagram.js +1 -1
- package/dist/components/q-syntax-box.js +1 -1
- package/dist/components/q-textarea.js +1 -1
- package/dist/components/q-thumbnail.js +1 -1
- package/dist/components/q-toggle.js +1 -1
- package/dist/esm/q-button_3.entry.js +22 -22
- package/dist/esm/q-card.entry.js +3 -3
- package/dist/esm/q-carousel.entry.js +2 -2
- package/dist/esm/q-circular-progress_2.entry.js +5 -5
- package/dist/esm/q-data-table.entry.js +3 -3
- package/dist/esm/q-dialog.entry.js +1 -1
- package/dist/esm/q-dropdown.entry.js +3 -3
- package/dist/esm/q-quantity-selector.entry.js +5 -5
- package/dist/esm/q-reel.entry.js +2 -2
- package/dist/esm/q-step-diagram-item.entry.js +2 -2
- package/dist/esm/q-step-diagram.entry.js +2 -2
- package/dist/esm/q-textarea.entry.js +2 -2
- package/dist/esm/q-thumbnail.entry.js +2 -2
- package/dist/esm/q-toggle.entry.js +3 -3
- package/dist/playground/assets/icons/braces.svg +14 -14
- package/dist/playground/assets/icons/check.svg +1 -1
- package/dist/playground/assets/icons/chevron-down.svg +1 -1
- package/dist/playground/assets/icons/chevron-left.svg +1 -1
- package/dist/playground/assets/icons/chevron-right.svg +1 -1
- package/dist/playground/assets/icons/chevron-up.svg +1 -1
- package/dist/playground/assets/icons/copy.svg +4 -4
- package/dist/playground/assets/icons/eye-off.svg +1 -1
- package/dist/playground/assets/icons/eye.svg +1 -1
- package/dist/playground/assets/icons/minus.svg +1 -1
- package/dist/playground/assets/icons/play.svg +1 -1
- package/dist/playground/assets/icons/plus.svg +1 -1
- package/dist/playground/assets/icons/search.svg +1 -1
- package/dist/playground/assets/icons/spinner.svg +1 -1
- package/dist/playground/assets/icons/trash-2.svg +1 -1
- package/dist/playground/assets/icons/x.svg +1 -1
- package/dist/playground/build/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
- package/dist/playground/build/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
- package/dist/{webquark/p-f7b5b155.entry.js → playground/build/p-4ce667f1.entry.js} +1 -1
- package/dist/{webquark/p-aa9be919.entry.js → playground/build/p-66b0eb0f.entry.js} +1 -1
- package/dist/{webquark/p-b1e68119.entry.js → playground/build/p-69d33f9d.entry.js} +1 -1
- package/dist/playground/build/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
- package/dist/{webquark/p-f48dd3dd.entry.js → playground/build/p-776a0eb6.entry.js} +1 -1
- package/dist/playground/build/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
- package/dist/playground/build/p-7d2144cf.entry.js +1 -0
- package/dist/playground/build/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
- package/dist/{webquark/p-1238a2cc.entry.js → playground/build/p-938cd8a6.entry.js} +1 -1
- package/dist/playground/build/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
- package/dist/playground/build/p-aa017815.entry.js +1 -0
- package/dist/playground/build/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
- package/dist/playground/build/webquark.esm.js +1 -1
- package/dist/playground/logo.svg +8 -8
- package/dist/playground/playground/specs/q-button.sandbox.json +198 -198
- package/dist/playground/playground/specs/q-card.sandbox.json +144 -144
- package/dist/playground/playground/specs/q-carousel.sandbox.json +120 -120
- package/dist/playground/playground/specs/q-circular-progress.sandbox.json +91 -91
- package/dist/playground/playground/specs/q-data-table.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dialog.sandbox.json +108 -108
- package/dist/playground/playground/specs/q-dropdown.sandbox.json +116 -116
- package/dist/playground/playground/specs/q-icon.sandbox.json +138 -138
- package/dist/playground/playground/specs/q-input.sandbox.json +192 -192
- package/dist/playground/playground/specs/q-quantity-selector.sandbox.json +99 -99
- package/dist/playground/playground/specs/q-reel.sandbox.json +70 -70
- package/dist/playground/playground/specs/q-scrollable.sandbox.json +102 -102
- package/dist/playground/playground/specs/q-sidepanel.sandbox.json +147 -147
- package/dist/playground/playground/specs/q-step-diagram.sandbox.json +56 -56
- package/dist/playground/playground/specs/q-syntax-box.sandbox.json +160 -160
- package/dist/playground/playground/specs/q-textarea.sandbox.json +133 -133
- package/dist/playground/playground/specs/q-toggle.sandbox.json +196 -196
- package/dist/playground/playground/specs/q-tooltip.sandbox.json +65 -65
- package/dist/playground/playground.css +1 -1
- package/dist/playground/playground.js +590 -590
- package/dist/playground/views/q-button-view/q-button-view.css +1 -1
- package/dist/playground/views/q-button-view/q-button-view.html +1 -1
- package/dist/playground/views/q-button-view/q-button-view.js +6 -6
- package/dist/playground/views/q-input-view/q-input-view.css +1 -1
- package/dist/playground/views/q-input-view/q-input-view.html +1 -1
- package/dist/playground/views/q-input-view/q-input-view.js +6 -6
- package/dist/types/declarations.d.ts +9 -9
- package/dist/webquark/{p-4f133a25.entry.js → p-1187e439.entry.js} +1 -1
- package/dist/webquark/{p-c8d6af8e.entry.js → p-38d9e75b.entry.js} +1 -1
- package/dist/{playground/build/p-f7b5b155.entry.js → webquark/p-4ce667f1.entry.js} +1 -1
- package/dist/{playground/build/p-aa9be919.entry.js → webquark/p-66b0eb0f.entry.js} +1 -1
- package/dist/{playground/build/p-b1e68119.entry.js → webquark/p-69d33f9d.entry.js} +1 -1
- package/dist/webquark/{p-679fa494.entry.js → p-76e04a7f.entry.js} +1 -1
- package/dist/{playground/build/p-f48dd3dd.entry.js → webquark/p-776a0eb6.entry.js} +1 -1
- package/dist/webquark/{p-5c67a28e.entry.js → p-7c4532f3.entry.js} +1 -1
- package/dist/webquark/p-7d2144cf.entry.js +1 -0
- package/dist/webquark/{p-7083c5ff.entry.js → p-84185204.entry.js} +1 -1
- package/dist/{playground/build/p-1238a2cc.entry.js → webquark/p-938cd8a6.entry.js} +1 -1
- package/dist/webquark/{p-7f47861b.entry.js → p-a182b818.entry.js} +1 -1
- package/dist/webquark/p-aa017815.entry.js +1 -0
- package/dist/webquark/{p-8a94a0a2.entry.js → p-d7607e11.entry.js} +1 -1
- package/dist/webquark/webquark.esm.js +1 -1
- package/package.json +84 -84
- package/dist/playground/build/p-9afa3fe8.entry.js +0 -1
- package/dist/playground/build/p-9bb8ed97.entry.js +0 -1
- package/dist/webquark/p-9afa3fe8.entry.js +0 -1
- package/dist/webquark/p-9bb8ed97.entry.js +0 -1
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Reel (Gallery)",
|
|
3
|
-
"tag": "q-reel",
|
|
4
|
-
"props": {
|
|
5
|
-
"layout": {
|
|
6
|
-
"type": "select",
|
|
7
|
-
"options": [
|
|
8
|
-
"grid",
|
|
9
|
-
"carousel"
|
|
10
|
-
],
|
|
11
|
-
"default": "grid",
|
|
12
|
-
"desc": "Layout structural mode"
|
|
13
|
-
},
|
|
14
|
-
"lightbox": {
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"default": true,
|
|
17
|
-
"desc": "Triggers fullscreen modal viewer overlay on item click"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"slots": {
|
|
21
|
-
"default": {
|
|
22
|
-
"type": "html",
|
|
23
|
-
"default": "<q-thumbnail \n src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" \n label=\"Cyberspace Grid\"\n alt=\"Grid display representation\"\n></q-thumbnail>\n<q-thumbnail \n src=\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=350\" \n label=\"Synthetics Laboratory\"\n alt=\"Lab mock representation\"\n highlighted=\"true\"\n></q-thumbnail>\n<q-thumbnail \n src=\"https://images.unsplash.com/photo-1614064641938-3bbee52942c7?q=80&w=350\" \n label=\"Cyber Threat Map\"\n alt=\"Map mock representation\"\n video=\"true\"\n></q-thumbnail>",
|
|
24
|
-
"desc": "Slotted child q-thumbnail elements"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"variants": [
|
|
28
|
-
{
|
|
29
|
-
"name": "Grid Layout with Lightbox",
|
|
30
|
-
"props": {
|
|
31
|
-
"layout": "grid",
|
|
32
|
-
"lightbox": true
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "Carousel View Layout",
|
|
37
|
-
"props": {
|
|
38
|
-
"layout": "carousel",
|
|
39
|
-
"lightbox": true
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "No Lightbox (Clicks ignored)",
|
|
44
|
-
"props": {
|
|
45
|
-
"layout": "grid",
|
|
46
|
-
"lightbox": false
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"edgeCases": [
|
|
51
|
-
{
|
|
52
|
-
"name": "Single Thumbnail Card",
|
|
53
|
-
"props": {
|
|
54
|
-
"layout": "grid"
|
|
55
|
-
},
|
|
56
|
-
"slots": {
|
|
57
|
-
"default": "<q-thumbnail src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" label=\"Single Image\" alt=\"Only item\"></q-thumbnail>"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "Empty Captions Highlighted",
|
|
62
|
-
"props": {
|
|
63
|
-
"layout": "grid"
|
|
64
|
-
},
|
|
65
|
-
"slots": {
|
|
66
|
-
"default": "<q-thumbnail src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" alt=\"No caption text\"></q-thumbnail>\n<q-thumbnail src=\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=350\" alt=\"Highlight text\" highlighted=\"true\"></q-thumbnail>"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Reel (Gallery)",
|
|
3
|
+
"tag": "q-reel",
|
|
4
|
+
"props": {
|
|
5
|
+
"layout": {
|
|
6
|
+
"type": "select",
|
|
7
|
+
"options": [
|
|
8
|
+
"grid",
|
|
9
|
+
"carousel"
|
|
10
|
+
],
|
|
11
|
+
"default": "grid",
|
|
12
|
+
"desc": "Layout structural mode"
|
|
13
|
+
},
|
|
14
|
+
"lightbox": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": true,
|
|
17
|
+
"desc": "Triggers fullscreen modal viewer overlay on item click"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"slots": {
|
|
21
|
+
"default": {
|
|
22
|
+
"type": "html",
|
|
23
|
+
"default": "<q-thumbnail \n src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" \n label=\"Cyberspace Grid\"\n alt=\"Grid display representation\"\n></q-thumbnail>\n<q-thumbnail \n src=\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=350\" \n label=\"Synthetics Laboratory\"\n alt=\"Lab mock representation\"\n highlighted=\"true\"\n></q-thumbnail>\n<q-thumbnail \n src=\"https://images.unsplash.com/photo-1614064641938-3bbee52942c7?q=80&w=350\" \n label=\"Cyber Threat Map\"\n alt=\"Map mock representation\"\n video=\"true\"\n></q-thumbnail>",
|
|
24
|
+
"desc": "Slotted child q-thumbnail elements"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"variants": [
|
|
28
|
+
{
|
|
29
|
+
"name": "Grid Layout with Lightbox",
|
|
30
|
+
"props": {
|
|
31
|
+
"layout": "grid",
|
|
32
|
+
"lightbox": true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "Carousel View Layout",
|
|
37
|
+
"props": {
|
|
38
|
+
"layout": "carousel",
|
|
39
|
+
"lightbox": true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "No Lightbox (Clicks ignored)",
|
|
44
|
+
"props": {
|
|
45
|
+
"layout": "grid",
|
|
46
|
+
"lightbox": false
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"edgeCases": [
|
|
51
|
+
{
|
|
52
|
+
"name": "Single Thumbnail Card",
|
|
53
|
+
"props": {
|
|
54
|
+
"layout": "grid"
|
|
55
|
+
},
|
|
56
|
+
"slots": {
|
|
57
|
+
"default": "<q-thumbnail src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" label=\"Single Image\" alt=\"Only item\"></q-thumbnail>"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "Empty Captions Highlighted",
|
|
62
|
+
"props": {
|
|
63
|
+
"layout": "grid"
|
|
64
|
+
},
|
|
65
|
+
"slots": {
|
|
66
|
+
"default": "<q-thumbnail src=\"https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=350\" alt=\"No caption text\"></q-thumbnail>\n<q-thumbnail src=\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=350\" alt=\"Highlight text\" highlighted=\"true\"></q-thumbnail>"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Scrollable Container",
|
|
3
|
-
"tag": "q-scrollable",
|
|
4
|
-
"props": {
|
|
5
|
-
"mode": {
|
|
6
|
-
"type": "select",
|
|
7
|
-
"options": [
|
|
8
|
-
"custom",
|
|
9
|
-
"native"
|
|
10
|
-
],
|
|
11
|
-
"default": "custom",
|
|
12
|
-
"desc": "Use premium overlay or native styling engine"
|
|
13
|
-
},
|
|
14
|
-
"height": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "250px",
|
|
17
|
-
"desc": "The vertical height of the scroll container"
|
|
18
|
-
},
|
|
19
|
-
"maxHeight": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"default": "",
|
|
22
|
-
"desc": "Optional maximum height constraint"
|
|
23
|
-
},
|
|
24
|
-
"autoHide": {
|
|
25
|
-
"type": "boolean",
|
|
26
|
-
"default": true,
|
|
27
|
-
"desc": "Fades out custom scrollbar thumb when idle"
|
|
28
|
-
},
|
|
29
|
-
"nativeOnMobile": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": true,
|
|
32
|
-
"desc": "Enforces native OS scrollbars on touch devices"
|
|
33
|
-
},
|
|
34
|
-
"target": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"default": "",
|
|
37
|
-
"desc": "Optional CSS selector to target for native scrollbar style injection"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"slots": {
|
|
41
|
-
"default": {
|
|
42
|
-
"type": "html",
|
|
43
|
-
"default": "<div style=\"padding: 15px; line-height: 1.6; font-size: 0.95rem;\">\n <h3 style=\"margin-top: 0; color: var(--primary);\">Premium Hybrid Scroll Container</h3>\n <p>This component merges the performance of native compositor-driven scrolling with the pixel-perfect styling of custom scrollbars.</p>\n <p>Try scrolling using your wheel, trackpad, or touch screen. In custom mode, you will see a subtle glassmorphic track and thumb that auto-hides after 1.5s of inactivity.</p>\n <p>In native mode, we can style the browser's scrollbars using native APIs (like ::-webkit-scrollbar and scrollbar-width) injected directly via CSS style rules.</p>\n <p>Duis iaculis congue tristique. Phasellus at erat sem. Curabitur sed tempor quam, ac volutpat est. Proin sit amet nibh in dui imperdiet convallis. Integer pretium justo vel lectus tincidunt, egestas luctus ex facilisis.</p>\n <p>Morbi porta magna eget erat eleifend aliquet. Aliquam nec feugiat lectus, sit amet dictum leo. Nam pulvinar erat nec ex mollis, vitae molestie velit imperdiet. Vestibulum tristique sit amet ante id rhoncus.</p>\n <p style=\"margin-bottom: 0;\">Congratulations! You have reached the bottom of this scrollable viewport container area.</p>\n</div>",
|
|
44
|
-
"desc": "Main scrollable viewport content"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"variants": [
|
|
48
|
-
{
|
|
49
|
-
"name": "Custom Mode (Height 200px)",
|
|
50
|
-
"props": {
|
|
51
|
-
"mode": "custom",
|
|
52
|
-
"height": "200px",
|
|
53
|
-
"autoHide": true
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "Custom Mode (No Auto-Hide)",
|
|
58
|
-
"props": {
|
|
59
|
-
"mode": "custom",
|
|
60
|
-
"height": "200px",
|
|
61
|
-
"autoHide": false
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "Native Mode Styled",
|
|
66
|
-
"props": {
|
|
67
|
-
"mode": "native",
|
|
68
|
-
"height": "200px"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "Max Height Constraint (150px)",
|
|
73
|
-
"props": {
|
|
74
|
-
"mode": "custom",
|
|
75
|
-
"height": "auto",
|
|
76
|
-
"maxHeight": "150px"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"edgeCases": [
|
|
81
|
-
{
|
|
82
|
-
"name": "Short Content (No Scrollbar)",
|
|
83
|
-
"props": {
|
|
84
|
-
"height": "250px",
|
|
85
|
-
"mode": "custom"
|
|
86
|
-
},
|
|
87
|
-
"slots": {
|
|
88
|
-
"default": "<div style=\"padding:15px;color:var(--text-muted);\">This content is too short to trigger scrollbars, verify scrollbar hidden.</div>"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "Extremely Long Scroll Content",
|
|
93
|
-
"props": {
|
|
94
|
-
"height": "200px",
|
|
95
|
-
"mode": "custom"
|
|
96
|
-
},
|
|
97
|
-
"slots": {
|
|
98
|
-
"default": "<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #1</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #2</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #3</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #4</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #5</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #6</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #7</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #8</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #9</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #10</p>"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Scrollable Container",
|
|
3
|
+
"tag": "q-scrollable",
|
|
4
|
+
"props": {
|
|
5
|
+
"mode": {
|
|
6
|
+
"type": "select",
|
|
7
|
+
"options": [
|
|
8
|
+
"custom",
|
|
9
|
+
"native"
|
|
10
|
+
],
|
|
11
|
+
"default": "custom",
|
|
12
|
+
"desc": "Use premium overlay or native styling engine"
|
|
13
|
+
},
|
|
14
|
+
"height": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "250px",
|
|
17
|
+
"desc": "The vertical height of the scroll container"
|
|
18
|
+
},
|
|
19
|
+
"maxHeight": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"default": "",
|
|
22
|
+
"desc": "Optional maximum height constraint"
|
|
23
|
+
},
|
|
24
|
+
"autoHide": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": true,
|
|
27
|
+
"desc": "Fades out custom scrollbar thumb when idle"
|
|
28
|
+
},
|
|
29
|
+
"nativeOnMobile": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": true,
|
|
32
|
+
"desc": "Enforces native OS scrollbars on touch devices"
|
|
33
|
+
},
|
|
34
|
+
"target": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"default": "",
|
|
37
|
+
"desc": "Optional CSS selector to target for native scrollbar style injection"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"slots": {
|
|
41
|
+
"default": {
|
|
42
|
+
"type": "html",
|
|
43
|
+
"default": "<div style=\"padding: 15px; line-height: 1.6; font-size: 0.95rem;\">\n <h3 style=\"margin-top: 0; color: var(--primary);\">Premium Hybrid Scroll Container</h3>\n <p>This component merges the performance of native compositor-driven scrolling with the pixel-perfect styling of custom scrollbars.</p>\n <p>Try scrolling using your wheel, trackpad, or touch screen. In custom mode, you will see a subtle glassmorphic track and thumb that auto-hides after 1.5s of inactivity.</p>\n <p>In native mode, we can style the browser's scrollbars using native APIs (like ::-webkit-scrollbar and scrollbar-width) injected directly via CSS style rules.</p>\n <p>Duis iaculis congue tristique. Phasellus at erat sem. Curabitur sed tempor quam, ac volutpat est. Proin sit amet nibh in dui imperdiet convallis. Integer pretium justo vel lectus tincidunt, egestas luctus ex facilisis.</p>\n <p>Morbi porta magna eget erat eleifend aliquet. Aliquam nec feugiat lectus, sit amet dictum leo. Nam pulvinar erat nec ex mollis, vitae molestie velit imperdiet. Vestibulum tristique sit amet ante id rhoncus.</p>\n <p style=\"margin-bottom: 0;\">Congratulations! You have reached the bottom of this scrollable viewport container area.</p>\n</div>",
|
|
44
|
+
"desc": "Main scrollable viewport content"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"variants": [
|
|
48
|
+
{
|
|
49
|
+
"name": "Custom Mode (Height 200px)",
|
|
50
|
+
"props": {
|
|
51
|
+
"mode": "custom",
|
|
52
|
+
"height": "200px",
|
|
53
|
+
"autoHide": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "Custom Mode (No Auto-Hide)",
|
|
58
|
+
"props": {
|
|
59
|
+
"mode": "custom",
|
|
60
|
+
"height": "200px",
|
|
61
|
+
"autoHide": false
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "Native Mode Styled",
|
|
66
|
+
"props": {
|
|
67
|
+
"mode": "native",
|
|
68
|
+
"height": "200px"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "Max Height Constraint (150px)",
|
|
73
|
+
"props": {
|
|
74
|
+
"mode": "custom",
|
|
75
|
+
"height": "auto",
|
|
76
|
+
"maxHeight": "150px"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"edgeCases": [
|
|
81
|
+
{
|
|
82
|
+
"name": "Short Content (No Scrollbar)",
|
|
83
|
+
"props": {
|
|
84
|
+
"height": "250px",
|
|
85
|
+
"mode": "custom"
|
|
86
|
+
},
|
|
87
|
+
"slots": {
|
|
88
|
+
"default": "<div style=\"padding:15px;color:var(--text-muted);\">This content is too short to trigger scrollbars, verify scrollbar hidden.</div>"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "Extremely Long Scroll Content",
|
|
93
|
+
"props": {
|
|
94
|
+
"height": "200px",
|
|
95
|
+
"mode": "custom"
|
|
96
|
+
},
|
|
97
|
+
"slots": {
|
|
98
|
+
"default": "<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #1</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #2</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #3</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #4</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #5</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #6</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #7</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #8</p>\n<p style=\"padding: 5px 15px; margin: 0; background: rgba(255,255,255,0.02)\">Paragraph line entry index #9</p>\n<p style=\"padding: 5px 15px; margin: 0; background: transparent\">Paragraph line entry index #10</p>"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Sidepanel",
|
|
3
|
-
"tag": "q-sidepanel",
|
|
4
|
-
"stageHelper": {
|
|
5
|
-
"label": "Sidepanel Drawer",
|
|
6
|
-
"buttonId": "stageOpenPanelBtn",
|
|
7
|
-
"buttonLabel": "Open Drawer Panel"
|
|
8
|
-
},
|
|
9
|
-
"props": {
|
|
10
|
-
"variant": {
|
|
11
|
-
"type": "select",
|
|
12
|
-
"options": [
|
|
13
|
-
"drawer",
|
|
14
|
-
"nav"
|
|
15
|
-
],
|
|
16
|
-
"default": "drawer",
|
|
17
|
-
"desc": "Behavior mode: drawer = slide-in overlay, nav = fixed navigation sidebar"
|
|
18
|
-
},
|
|
19
|
-
"side": {
|
|
20
|
-
"type": "select",
|
|
21
|
-
"options": [
|
|
22
|
-
"left",
|
|
23
|
-
"right",
|
|
24
|
-
"top",
|
|
25
|
-
"bottom"
|
|
26
|
-
],
|
|
27
|
-
"default": "right",
|
|
28
|
-
"desc": "Screen edge slide positioning (drawer mode only)"
|
|
29
|
-
},
|
|
30
|
-
"mode": {
|
|
31
|
-
"type": "select",
|
|
32
|
-
"options": [
|
|
33
|
-
"flat",
|
|
34
|
-
"grouped",
|
|
35
|
-
"tree"
|
|
36
|
-
],
|
|
37
|
-
"default": "flat",
|
|
38
|
-
"desc": "Item display mode: flat list, collapsible groups, or deep tree (nav mode only)"
|
|
39
|
-
},
|
|
40
|
-
"panelSize": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"default": "320px",
|
|
43
|
-
"desc": "Panel dimension — width or height depending on side (drawer mode only)"
|
|
44
|
-
},
|
|
45
|
-
"accordion": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"default": false,
|
|
48
|
-
"desc": "If true, opening one group auto-collapses sibling groups (nav mode only)"
|
|
49
|
-
},
|
|
50
|
-
"expanded": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"default": true,
|
|
53
|
-
"desc": "Whether all parent groups start expanded (nav mode only)"
|
|
54
|
-
},
|
|
55
|
-
"open": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"default": true,
|
|
58
|
-
"desc": "Controls drawer open/close state (drawer mode only)"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"slots": {
|
|
62
|
-
"default": {
|
|
63
|
-
"type": "html",
|
|
64
|
-
"default": "<div style=\"display: flex; flex-direction: column; gap: 16px;\">\n <p style=\"margin:0;font-size:0.9rem;color:var(--text-muted)\">Configure and customize dashboard system profile attributes.</p>\n <q-input label=\"Profile Alias\" placeholder=\"e.g. My Workspace Profile\"></q-input>\n <q-button id=\"closePanelBtn\" variant=\"primary\">Save Configuration</q-button>\n</div>",
|
|
65
|
-
"desc": "Inner drawer content block (drawer mode)"
|
|
66
|
-
},
|
|
67
|
-
"header": {
|
|
68
|
-
"type": "text",
|
|
69
|
-
"default": "Drawer Settings Menu",
|
|
70
|
-
"desc": "Title displayed inside sidepanel header (drawer mode) or nav sidebar header zone (nav mode)"
|
|
71
|
-
},
|
|
72
|
-
"footer": {
|
|
73
|
-
"type": "html",
|
|
74
|
-
"default": "",
|
|
75
|
-
"desc": "Pinned bottom zone for settings or action buttons (nav mode only)"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"variants": [
|
|
79
|
-
{
|
|
80
|
-
"name": "Right Side Panel (320px)",
|
|
81
|
-
"props": {
|
|
82
|
-
"variant": "drawer",
|
|
83
|
-
"open": false,
|
|
84
|
-
"side": "right",
|
|
85
|
-
"panelSize": "320px"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "Left Side Panel (320px)",
|
|
90
|
-
"props": {
|
|
91
|
-
"variant": "drawer",
|
|
92
|
-
"open": false,
|
|
93
|
-
"side": "left",
|
|
94
|
-
"panelSize": "320px"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "Top Drawer Sheet (200px)",
|
|
99
|
-
"props": {
|
|
100
|
-
"variant": "drawer",
|
|
101
|
-
"open": false,
|
|
102
|
-
"side": "top",
|
|
103
|
-
"panelSize": "200px"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "Bottom Drawer Sheet (250px)",
|
|
108
|
-
"props": {
|
|
109
|
-
"variant": "drawer",
|
|
110
|
-
"open": false,
|
|
111
|
-
"side": "bottom",
|
|
112
|
-
"panelSize": "250px"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "Wide Sheet (550px)",
|
|
117
|
-
"props": {
|
|
118
|
-
"variant": "drawer",
|
|
119
|
-
"open": false,
|
|
120
|
-
"side": "right",
|
|
121
|
-
"panelSize": "550px"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"edgeCases": [
|
|
126
|
-
{
|
|
127
|
-
"name": "Without Header Slot content",
|
|
128
|
-
"props": {
|
|
129
|
-
"variant": "drawer",
|
|
130
|
-
"open": false
|
|
131
|
-
},
|
|
132
|
-
"slots": {
|
|
133
|
-
"header": ""
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "Overflow Long Content Scroll",
|
|
138
|
-
"props": {
|
|
139
|
-
"variant": "drawer",
|
|
140
|
-
"open": false
|
|
141
|
-
},
|
|
142
|
-
"slots": {
|
|
143
|
-
"default": "<div style=\"height:1200px;background:linear-gradient(to bottom, var(--primary) 0%, var(--q-color-success) 100%);padding:20px;border-radius:8px;color:#fff;font-weight:bold\">\n Scrollable Panel Height Content\n</div>"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
]
|
|
147
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "Sidepanel",
|
|
3
|
+
"tag": "q-sidepanel",
|
|
4
|
+
"stageHelper": {
|
|
5
|
+
"label": "Sidepanel Drawer",
|
|
6
|
+
"buttonId": "stageOpenPanelBtn",
|
|
7
|
+
"buttonLabel": "Open Drawer Panel"
|
|
8
|
+
},
|
|
9
|
+
"props": {
|
|
10
|
+
"variant": {
|
|
11
|
+
"type": "select",
|
|
12
|
+
"options": [
|
|
13
|
+
"drawer",
|
|
14
|
+
"nav"
|
|
15
|
+
],
|
|
16
|
+
"default": "drawer",
|
|
17
|
+
"desc": "Behavior mode: drawer = slide-in overlay, nav = fixed navigation sidebar"
|
|
18
|
+
},
|
|
19
|
+
"side": {
|
|
20
|
+
"type": "select",
|
|
21
|
+
"options": [
|
|
22
|
+
"left",
|
|
23
|
+
"right",
|
|
24
|
+
"top",
|
|
25
|
+
"bottom"
|
|
26
|
+
],
|
|
27
|
+
"default": "right",
|
|
28
|
+
"desc": "Screen edge slide positioning (drawer mode only)"
|
|
29
|
+
},
|
|
30
|
+
"mode": {
|
|
31
|
+
"type": "select",
|
|
32
|
+
"options": [
|
|
33
|
+
"flat",
|
|
34
|
+
"grouped",
|
|
35
|
+
"tree"
|
|
36
|
+
],
|
|
37
|
+
"default": "flat",
|
|
38
|
+
"desc": "Item display mode: flat list, collapsible groups, or deep tree (nav mode only)"
|
|
39
|
+
},
|
|
40
|
+
"panelSize": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"default": "320px",
|
|
43
|
+
"desc": "Panel dimension — width or height depending on side (drawer mode only)"
|
|
44
|
+
},
|
|
45
|
+
"accordion": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"default": false,
|
|
48
|
+
"desc": "If true, opening one group auto-collapses sibling groups (nav mode only)"
|
|
49
|
+
},
|
|
50
|
+
"expanded": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"default": true,
|
|
53
|
+
"desc": "Whether all parent groups start expanded (nav mode only)"
|
|
54
|
+
},
|
|
55
|
+
"open": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"default": true,
|
|
58
|
+
"desc": "Controls drawer open/close state (drawer mode only)"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"slots": {
|
|
62
|
+
"default": {
|
|
63
|
+
"type": "html",
|
|
64
|
+
"default": "<div style=\"display: flex; flex-direction: column; gap: 16px;\">\n <p style=\"margin:0;font-size:0.9rem;color:var(--text-muted)\">Configure and customize dashboard system profile attributes.</p>\n <q-input label=\"Profile Alias\" placeholder=\"e.g. My Workspace Profile\"></q-input>\n <q-button id=\"closePanelBtn\" variant=\"primary\">Save Configuration</q-button>\n</div>",
|
|
65
|
+
"desc": "Inner drawer content block (drawer mode)"
|
|
66
|
+
},
|
|
67
|
+
"header": {
|
|
68
|
+
"type": "text",
|
|
69
|
+
"default": "Drawer Settings Menu",
|
|
70
|
+
"desc": "Title displayed inside sidepanel header (drawer mode) or nav sidebar header zone (nav mode)"
|
|
71
|
+
},
|
|
72
|
+
"footer": {
|
|
73
|
+
"type": "html",
|
|
74
|
+
"default": "",
|
|
75
|
+
"desc": "Pinned bottom zone for settings or action buttons (nav mode only)"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"variants": [
|
|
79
|
+
{
|
|
80
|
+
"name": "Right Side Panel (320px)",
|
|
81
|
+
"props": {
|
|
82
|
+
"variant": "drawer",
|
|
83
|
+
"open": false,
|
|
84
|
+
"side": "right",
|
|
85
|
+
"panelSize": "320px"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "Left Side Panel (320px)",
|
|
90
|
+
"props": {
|
|
91
|
+
"variant": "drawer",
|
|
92
|
+
"open": false,
|
|
93
|
+
"side": "left",
|
|
94
|
+
"panelSize": "320px"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "Top Drawer Sheet (200px)",
|
|
99
|
+
"props": {
|
|
100
|
+
"variant": "drawer",
|
|
101
|
+
"open": false,
|
|
102
|
+
"side": "top",
|
|
103
|
+
"panelSize": "200px"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "Bottom Drawer Sheet (250px)",
|
|
108
|
+
"props": {
|
|
109
|
+
"variant": "drawer",
|
|
110
|
+
"open": false,
|
|
111
|
+
"side": "bottom",
|
|
112
|
+
"panelSize": "250px"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "Wide Sheet (550px)",
|
|
117
|
+
"props": {
|
|
118
|
+
"variant": "drawer",
|
|
119
|
+
"open": false,
|
|
120
|
+
"side": "right",
|
|
121
|
+
"panelSize": "550px"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"edgeCases": [
|
|
126
|
+
{
|
|
127
|
+
"name": "Without Header Slot content",
|
|
128
|
+
"props": {
|
|
129
|
+
"variant": "drawer",
|
|
130
|
+
"open": false
|
|
131
|
+
},
|
|
132
|
+
"slots": {
|
|
133
|
+
"header": ""
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "Overflow Long Content Scroll",
|
|
138
|
+
"props": {
|
|
139
|
+
"variant": "drawer",
|
|
140
|
+
"open": false
|
|
141
|
+
},
|
|
142
|
+
"slots": {
|
|
143
|
+
"default": "<div style=\"height:1200px;background:linear-gradient(to bottom, var(--primary) 0%, var(--q-color-success) 100%);padding:20px;border-radius:8px;color:#fff;font-weight:bold\">\n Scrollable Panel Height Content\n</div>"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|