-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathcomponent-gallery.html
More file actions
3953 lines (3841 loc) · 124 KB
/
component-gallery.html
File metadata and controls
3953 lines (3841 loc) · 124 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HAX Web Components Gallery</title>
<script type="module">
// Import DDD styles and system
import { DDDVariables, DDDGlobalStyles, DDDReset, DDDDataAttributes } from "./elements/d-d-d/lib/DDDStyles.js";
import { css, html } from "lit";
// Apply DDD styles to the document
const dddStyles = document.createElement('style');
dddStyles.textContent = `
${DDDVariables.cssText}
${DDDGlobalStyles.cssText}
${DDDReset.cssText}
${DDDDataAttributes.map(attr => attr.cssText).join('')}
`;
document.head.appendChild(dddStyles);
</script>
<script type="module" src="./elements/d-d-d/d-d-d.js"></script>
<style>
/* Gallery-specific styles using DDD variables */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--ddd-font-primary);
font-size: var(--ddd-font-size-3xs);
font-weight: var(--ddd-font-weight-regular);
line-height: var(--ddd-lh-150);
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
background: light-dark(var(--ddd-theme-default-limestoneMaxLight), var(--ddd-theme-default-coalyGray));
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
}
.gallery-container {
display: flex;
height: 100vh;
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-potentialMidnight));
}
/* Sidebar Styles */
.sidebar {
width: 350px;
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-coalyGray));
border-right: light-dark(var(--ddd-border-sm), 2px solid var(--ddd-theme-default-slateGray));
display: flex;
flex-direction: column;
overflow: hidden;
}
.sidebar-header {
padding: var(--ddd-spacing-4);
border-bottom: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
background: var(--ddd-theme-default-nittanyNavy);
color: var(--ddd-theme-default-white);
}
.sidebar-header h1 {
font-family: var(--ddd-font-secondary);
font-size: var(--ddd-font-size-l);
font-weight: var(--ddd-font-weight-bold);
margin-bottom: var(--ddd-spacing-2);
}
.stats {
font-size: var(--ddd-font-size-3xs);
opacity: 0.9;
margin-bottom: var(--ddd-spacing-4);
}
.search-box {
width: 100%;
padding: var(--ddd-spacing-3);
border: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
border-radius: var(--ddd-radius-xs);
font-family: var(--ddd-font-primary);
font-size: var(--ddd-font-size-3xs);
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-coalyGray));
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
}
.search-box:focus {
outline: 2px solid var(--ddd-theme-default-keystoneYellow);
outline-offset: 1px;
}
.search-box::placeholder {
color: light-dark(var(--ddd-theme-default-slateGray), var(--ddd-theme-default-limestoneGray));
}
/* Filter buttons */
.filter-buttons {
display: flex;
gap: var(--ddd-spacing-1);
margin-bottom: var(--ddd-spacing-3);
flex-wrap: wrap;
}
.filter-btn {
padding: var(--ddd-spacing-2) var(--ddd-spacing-3);
border: 1px solid light-dark(var(--ddd-theme-default-slateGray), var(--ddd-theme-default-limestoneGray));
border-radius: var(--ddd-radius-xs);
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-potentialMidnight));
color: light-dark(var(--ddd-theme-default-slateGray), var(--ddd-theme-default-limestoneGray));
cursor: pointer;
font-family: var(--ddd-font-primary);
font-size: var(--ddd-font-size-4xs);
font-weight: var(--ddd-font-weight-medium);
transition: all 0.2s ease;
flex: 1;
min-width: 0;
text-align: center;
}
.filter-btn:hover {
background: light-dark(var(--ddd-theme-default-keystoneYellow), var(--ddd-theme-default-nittanyNavy));
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
border-color: var(--ddd-theme-default-beaverBlue);
}
.filter-btn.active {
background: var(--ddd-theme-default-beaverBlue);
color: var(--ddd-theme-default-white);
border-color: var(--ddd-theme-default-nittanyNavy);
}
/* HAX capability indicator */
.hax-indicator {
display: inline-block;
margin-right: var(--ddd-spacing-1);
font-size: var(--ddd-font-size-4xs);
opacity: 0.8;
}
.component-list {
flex: 1;
overflow-y: auto;
padding: var(--ddd-spacing-2);
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-potentialMidnight));
}
.component-item {
display: block;
width: 100%;
padding: var(--ddd-spacing-3) var(--ddd-spacing-4);
margin-bottom: var(--ddd-spacing-1);
background: light-dark(var(--ddd-theme-default-limestoneMaxLight), var(--ddd-theme-default-coalyGray));
border: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
border-radius: var(--ddd-radius-xs);
cursor: pointer;
transition: all 0.2s ease;
text-align: left;
font-family: var(--ddd-font-primary);
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
}
.component-item:hover {
background: light-dark(var(--ddd-theme-default-keystoneYellow), var(--ddd-theme-default-nittanyNavy));
border-color: var(--ddd-theme-default-beaverBlue);
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
}
.component-item.active {
background: var(--ddd-theme-default-beaverBlue);
color: var(--ddd-theme-default-white);
border-color: var(--ddd-theme-default-nittanyNavy);
}
.component-item-name {
font-size: var(--ddd-font-size-3xs);
font-weight: var(--ddd-font-weight-medium);
margin-bottom: var(--ddd-spacing-1);
}
.component-item-description {
font-size: var(--ddd-font-size-4xs);
opacity: 0.8;
line-height: var(--ddd-lh-140);
}
.component-item.active .component-item-description {
opacity: 0.9;
}
/* Main content area */
.main-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.demo-header {
padding: var(--ddd-spacing-4);
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-potentialMidnight));
border-bottom: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
}
.demo-title {
font-family: var(--ddd-font-secondary);
font-size: var(--ddd-font-size-m);
font-weight: var(--ddd-font-weight-bold);
color: light-dark(var(--ddd-theme-default-nittanyNavy), var(--ddd-theme-default-white));
margin-bottom: var(--ddd-spacing-2);
}
.demo-description {
color: light-dark(var(--ddd-theme-default-slateGray), var(--ddd-theme-default-limestoneGray));
margin-bottom: var(--ddd-spacing-4);
}
.info-sections {
display: flex;
gap: var(--ddd-spacing-4);
margin-bottom: var(--ddd-spacing-4);
}
.info-section {
flex: 1;
}
.info-section summary {
background: light-dark(var(--ddd-theme-default-limestoneMaxLight), var(--ddd-theme-default-coalyGray));
padding: var(--ddd-spacing-2) var(--ddd-spacing-3);
border-radius: var(--ddd-radius-xs);
cursor: pointer;
font-weight: var(--ddd-font-weight-medium);
border: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
margin-bottom: var(--ddd-spacing-2);
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
}
.info-section[open] summary {
background: var(--ddd-theme-default-beaverBlue);
color: var(--ddd-theme-default-white);
border-color: var(--ddd-theme-default-nittanyNavy);
}
.info-content {
padding: var(--ddd-spacing-3);
background: light-dark(var(--ddd-theme-default-limestoneMaxLight), var(--ddd-theme-default-potentialMidnight));
border-radius: var(--ddd-radius-xs);
border: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: var(--ddd-font-size-4xs);
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
}
.info-content pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
color: light-dark(var(--ddd-theme-default-potentialMidnight), var(--ddd-theme-default-coalyGray));
}
.demo-selector-container {
display: flex;
align-items: center;
gap: var(--ddd-spacing-2);
margin-bottom: var(--ddd-spacing-2);
}
.demo-selector-label {
font-size: var(--ddd-font-size-4xs);
color: light-dark(var(--ddd-theme-default-slateGray), var(--ddd-theme-default-limestoneGray));
font-weight: var(--ddd-font-weight-medium);
}
.demo-selector {
padding: var(--ddd-spacing-2) var(--ddd-spacing-3);
border-radius: var(--ddd-radius-xs);
border: light-dark(var(--ddd-border-xs), 1px solid var(--ddd-theme-default-slateGray));
background: light-dark(var(--ddd-theme-default-white), var(--ddd-theme-default-coalyGray));
color: light-dark(var(--ddd-theme-default-coalyGray), var(--ddd-theme-default-white));
font-family: var(--ddd-font-primary);
font-size: var(--ddd-font-size-4xs);
}
.demo-selector:focus {
outline: 2px solid var(--ddd-theme-default-keystoneYellow);
outline-offset: 1px;
}
.demo-actions {
display: flex;
gap: var(--ddd-spacing-2);
margin-bottom: var(--ddd-spacing-4);
}
.btn {
padding: var(--ddd-spacing-2) var(--ddd-spacing-4);
border: none;
border-radius: var(--ddd-radius-xs);
cursor: pointer;
font-family: var(--ddd-font-primary);
font-size: var(--ddd-font-size-3xs);
font-weight: var(--ddd-font-weight-medium);
text-decoration: none;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: var(--ddd-spacing-1);
}
.btn-primary {
background: var(--ddd-theme-default-beaverBlue);
color: var(--ddd-theme-default-white);
}
.btn-primary:hover {
background: var(--ddd-theme-default-nittanyNavy);
}
.btn-secondary {
background: var(--ddd-theme-default-slateGray);
color: var(--ddd-theme-default-white);
}
.btn-secondary:hover {
background: var(--ddd-theme-default-coalyGray);
}
.demo-frame-container {
flex: 1;
background: var(--ddd-theme-default-white);
border-radius: var(--ddd-radius-md);
overflow: hidden;
margin: 0 var(--ddd-spacing-4) var(--ddd-spacing-4);
border: var(--ddd-border-xs);
}
.demo-frame {
width: 100%;
height: 100%;
border: none;
background: var(--ddd-theme-default-white);
}
.welcome-message {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
color: var(--ddd-theme-default-slateGray);
font-size: var(--ddd-font-size-s);
}
.hidden {
display: none !important;
}
.no-results {
padding: var(--ddd-spacing-6);
text-align: center;
color: var(--ddd-theme-default-slateGray);
}
.codepen-form {
display: none;
}
/* Mobile responsive */
@media (max-width: 768px) {
.gallery-container {
flex-direction: column;
}
.sidebar {
width: 100%;
max-height: 40vh;
}
.main-content {
height: 60vh;
}
.info-sections {
flex-direction: column;
}
}
</style>
</head>
<body>
<d-d-d></d-d-d>
<div class="gallery-container">
<!-- Sidebar with component list -->
<div class="sidebar">
<div class="sidebar-header">
<h1>Web Components Gallery</h1>
<div class="stats">198 Components Available</div>
<!-- Filter buttons -->
<div class="filter-buttons">
<button class="filter-btn active" data-filter="all" title="Show all components">
🔍 All (198)
</button>
<button class="filter-btn" data-filter="hax" title="Show only HAX-capable components">
🧱 HAX (83)
</button>
<button class="filter-btn" data-filter="hax-ecosystem" title="Show HAX ecosystem components">
⚡ HAX-* (6)
</button>
</div>
<input type="text"
class="search-box"
placeholder="Search components..."
id="searchBox"
aria-label="Search components">
</div>
<div class="component-list" id="componentList">
<!-- Components will be populated by JavaScript -->
</div>
<div class="no-results hidden" id="noResults">
<p>No components found</p>
</div>
</div>
<!-- Main content area -->
<div class="main-content">
<div class="demo-header hidden" id="demoHeader">
<h2 class="demo-title" id="demoTitle">Component Demo</h2>
<p class="demo-description" id="demoDescription">Select a component to view its demo and documentation</p>
<div class="info-sections">
<details class="info-section" id="installationSection">
<summary>📦 Installation</summary>
<div class="info-content">
<pre id="installationCode">npm install @haxtheweb/example-element</pre>
</div>
</details>
<details class="info-section" id="usageSection">
<summary>💻 Usage</summary>
<div class="info-content">
<pre id="usageCode">import '@haxtheweb/example-element/example-element.js';</pre>
</div>
</details>
</div>
<div class="demo-selector-container hidden" id="demoSelectorContainer">
<span class="demo-selector-label">Demo:</span>
<select class="demo-selector" id="demoSelector" aria-label="Select demo variant"></select>
</div>
<div class="demo-actions">
<button class="btn btn-primary" id="newTabBtn">
🔗 Open in New Tab
</button>
<button class="btn btn-secondary" id="codepenBtn">
✏️ Try in CodePen
</button>
<button class="btn btn-secondary" id="fullscreenBtn">
⛶ Fullscreen
</button>
</div>
</div>
<div class="demo-frame-container">
<div class="welcome-message" id="welcomeMessage">
<div>
<h3>Welcome to the HAX Web Components Gallery</h3>
<p>Select a component from the sidebar to view its demo and documentation.</p>
</div>
</div>
<iframe class="demo-frame hidden" id="demoFrame" title="Component Demo"></iframe>
</div>
</div>
</div>
<!-- Hidden CodePen form for posting -->
<form class="codepen-form" id="codepenForm" action="https://codepen.io/pen/define" method="POST" target="_blank">
<input type="hidden" name="data" id="codepenData">
</form>
<script>
// Component data embedded from server
const COMPONENTS = [
{
"name": "a11y-behaviors",
"packageName": "@haxtheweb/a11y-behaviors",
"description": "Accessibility behaviors / mix-ins to improve a11y overall",
"version": "25.0.0",
"demoPath": "elements/a11y-behaviors/demo/index.html",
"importPath": "@haxtheweb/a11y-behaviors/a11y-behaviors.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "a11y-carousel",
"packageName": "@haxtheweb/a11y-carousel",
"description": "Slider that allows comparison of two images",
"version": "25.0.0",
"demoPath": "elements/a11y-carousel/demo/index.html",
"importPath": "@haxtheweb/a11y-carousel/a11y-carousel.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "a11y-collapse",
"packageName": "@haxtheweb/a11y-collapse",
"description": "Start of a11y-collapse",
"version": "25.0.0",
"demoPath": "elements/a11y-collapse/demo/index.html",
"importPath": "@haxtheweb/a11y-collapse/a11y-collapse.js",
"haxDemoSchema": [
{
"tag": "a11y-collapse",
"properties": {
"heading": "Heading",
"headingButton": true
},
"content": "<p>Content goes here.</p>"
}
],
"isHaxCapable": true,
"additionalDemos": [
{
"name": "group",
"path": "elements/a11y-collapse/demo/group.html"
}
]
},
{
"name": "a11y-compare-image",
"packageName": "@haxtheweb/a11y-compare-image",
"description": "Slider that allows comparison of two images",
"version": "25.0.0",
"demoPath": "elements/a11y-compare-image/demo/index.html",
"importPath": "@haxtheweb/a11y-compare-image/a11y-compare-image.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "a11y-details",
"packageName": "@haxtheweb/a11y-details",
"description": "accessible progressive disclosure with detail and summary",
"version": "25.0.0",
"demoPath": "elements/a11y-details/demo/index.html",
"importPath": "@haxtheweb/a11y-details/a11y-details.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "a11y-figure",
"packageName": "@haxtheweb/a11y-figure",
"description": "accessible figure with image description in details",
"version": "25.0.0",
"demoPath": "elements/a11y-figure/demo/index.html",
"importPath": "@haxtheweb/a11y-figure/a11y-figure.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "a11y-gif-player",
"packageName": "@haxtheweb/a11y-gif-player",
"description": "Play gifs in an accessible way by having the user click to play their animation",
"version": "25.0.0",
"demoPath": "elements/a11y-gif-player/demo/index.html",
"importPath": "@haxtheweb/a11y-gif-player/a11y-gif-player.js",
"haxDemoSchema": [
{
"tag": "a11y-gif-player",
"properties": {
"alt": "It's Always Sunny in Philadelphia Pepe Silvia Meme with GIFs",
"src": "https://media0.giphy.com/media/zHaPZZvl6cVHi/giphy.gif",
"longdesc": "Pepe Silvia scene from It's Always Sunny in Philadelphia. The GIF's don't stop.",
"elementVisible": true
}
}
],
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "a11y-media-player",
"packageName": "@haxtheweb/a11y-media-player",
"description": "A feature rich, highly accessible video player",
"version": "25.0.0",
"demoPath": "elements/a11y-media-player/demo/index.html",
"importPath": "@haxtheweb/a11y-media-player/a11y-media-player.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": [
{
"name": "audio",
"path": "elements/a11y-media-player/demo/audio.html"
},
{
"name": "youtube",
"path": "elements/a11y-media-player/demo/youtube.html"
}
]
},
{
"name": "a11y-menu-button",
"packageName": "@haxtheweb/a11y-menu-button",
"description": "Accessible menu button",
"version": "25.0.0",
"demoPath": "elements/a11y-menu-button/demo/index.html",
"importPath": "@haxtheweb/a11y-menu-button/a11y-menu-button.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "a11y-tabs",
"packageName": "@haxtheweb/a11y-tabs",
"description": "accessible and responsive tabbed interface",
"version": "25.0.0",
"demoPath": "elements/a11y-tabs/demo/index.html",
"importPath": "@haxtheweb/a11y-tabs/a11y-tabs.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": [
{
"name": "breakpoints",
"path": "elements/a11y-tabs/demo/breakpoints.html"
},
{
"name": "sticky",
"path": "elements/a11y-tabs/demo/sticky.html"
},
{
"name": "vertical",
"path": "elements/a11y-tabs/demo/vertical.html"
}
]
},
{
"name": "a11y-utils",
"packageName": "@haxtheweb/a11y-utils",
"description": "a collection of accessibility patterns and styles",
"version": "25.0.0",
"demoPath": "elements/a11y-utils/demo/index.html",
"importPath": "@haxtheweb/a11y-utils/a11y-utils.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "absolute-position-behavior",
"packageName": "@haxtheweb/absolute-position-behavior",
"description": "Abstracting the positioning behavior to be resusable in other elements",
"version": "25.0.0",
"demoPath": "elements/absolute-position-behavior/demo/index.html",
"importPath": "@haxtheweb/absolute-position-behavior/absolute-position-behavior.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "accent-card",
"packageName": "@haxtheweb/accent-card",
"description": "Start of accent-card",
"version": "25.0.0",
"demoPath": "elements/accent-card/demo/index.html",
"importPath": "@haxtheweb/accent-card/accent-card.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": [
{
"name": "borders",
"path": "elements/accent-card/demo/borders.html"
},
{
"name": "colors",
"path": "elements/accent-card/demo/colors.html"
},
{
"name": "imageWidth",
"path": "elements/accent-card/demo/imageWidth.html"
},
{
"name": "images",
"path": "elements/accent-card/demo/images.html"
},
{
"name": "orientation",
"path": "elements/accent-card/demo/orientation.html"
}
]
},
{
"name": "aframe-player",
"packageName": "@haxtheweb/aframe-player",
"description": "A-frame 3D player in the browser via data binding w/ polymer",
"version": "25.0.0",
"demoPath": "elements/aframe-player/demo/index.html",
"importPath": "@haxtheweb/aframe-player/aframe-player.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "air-horn",
"packageName": "@haxtheweb/air-horn",
"description": "demonstrative purposes via meme",
"version": "25.0.0",
"demoPath": "elements/air-horn/demo/index.html",
"importPath": "@haxtheweb/air-horn/air-horn.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "anchor-behaviors",
"packageName": "@haxtheweb/anchor-behaviors",
"description": "handles anchors and params in the url",
"version": "25.0.0",
"demoPath": "elements/anchor-behaviors/demo/index.html",
"importPath": "@haxtheweb/anchor-behaviors/anchor-behaviors.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "app-hax",
"packageName": "@haxtheweb/app-hax",
"description": "HAX+HAXcms as a full app experience",
"version": "25.0.0",
"demoPath": "elements/app-hax/demo/index.html",
"importPath": "@haxtheweb/app-hax/app-hax.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": [
{
"name": "home",
"path": "elements/app-hax/demo/home.html"
}
]
},
{
"name": "audio-player",
"packageName": "@haxtheweb/audio-player",
"description": "simple audio web component to match video",
"version": "25.0.0",
"demoPath": "elements/audio-player/demo/index.html",
"importPath": "@haxtheweb/audio-player/audio-player.js",
"haxDemoSchema": [
{
"tag": "audio-player",
"properties": {
"mediaTitle": "Jonny Quest Theme",
"crossorigin": "anonymous",
"source": "https://archive.org/download/tvtunes_4710/Jonny%20Quest.mp3"
},
"content": ""
}
],
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "awesome-explosion",
"packageName": "@haxtheweb/awesome-explosion",
"description": "An awesome, explosion.",
"version": "25.0.0",
"demoPath": "elements/awesome-explosion/demo/index.html",
"importPath": "@haxtheweb/awesome-explosion/awesome-explosion.js",
"haxDemoSchema": [
{
"tag": "awesome-explosion",
"properties": {
"size": "medium",
"color": "orange"
},
"content": "",
"description": "A medium orange explosion"
},
{
"tag": "awesome-explosion",
"properties": {
"size": "large",
"color": "blue",
"soundEnabled": false
},
"content": "",
"description": "A large blue explosion without sound"
},
{
"tag": "awesome-explosion",
"properties": {
"size": "epic",
"color": "red"
},
"content": "",
"description": "An epic red explosion with sound"
}
],
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "b-r",
"packageName": "@haxtheweb/b-r",
"description": "Creates break statements to show conditional rendering",
"version": "25.0.0",
"demoPath": "elements/b-r/demo/index.html",
"importPath": "@haxtheweb/b-r/b-r.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "barcode-reader",
"packageName": "@haxtheweb/barcode-reader",
"description": "Reads barcodes",
"version": "25.0.0",
"demoPath": "elements/barcode-reader/demo/index.html",
"importPath": "@haxtheweb/barcode-reader/barcode-reader.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "baseline-build-hax",
"packageName": "@haxtheweb/baseline-build-hax",
"description": "create an inflexible baseline build of hax with all elements",
"version": "25.0.0",
"demoPath": "elements/baseline-build-hax/demo/index.html",
"importPath": "@haxtheweb/baseline-build-hax/baseline-build-hax.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "beaker-broker",
"packageName": "@haxtheweb/beaker-broker",
"description": "A broker element to make working with Beaker Browser's API even easier.",
"version": "25.0.0",
"demoPath": "elements/beaker-broker/demo/index.html",
"importPath": "@haxtheweb/beaker-broker/beaker-broker.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "bootstrap-theme",
"packageName": "@haxtheweb/bootstrap-theme",
"description": "Hax bootstrap themeing",
"version": "25.0.0",
"demoPath": "elements/bootstrap-theme/demo/index.html",
"importPath": "@haxtheweb/bootstrap-theme/bootstrap-theme.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "chartist-render",
"packageName": "@haxtheweb/chartist-render",
"description": "Rendering Chartist",
"version": "25.0.0",
"demoPath": "elements/chartist-render/demo/index.html",
"importPath": "@haxtheweb/chartist-render/chartist-render.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": [
{
"name": "csv",
"path": "elements/chartist-render/demo/csv.html"
}
]
},
{
"name": "chat-agent",
"packageName": "@haxtheweb/chat-agent",
"description": "chatbot agent style chat widget",
"version": "25.0.0",
"demoPath": "elements/chat-agent/demo/index.html",
"importPath": "@haxtheweb/chat-agent/chat-agent.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "check-it-out",
"packageName": "@haxtheweb/check-it-out",
"description": "View codepen or stackblitz demos",
"version": "25.0.0",
"demoPath": "elements/check-it-out/demo/index.html",
"importPath": "@haxtheweb/check-it-out/check-it-out.js",
"haxDemoSchema": [
{
"tag": "check-it-out",
"properties": {
"source": "https://www.youtube.com/watch?v=TMubSggUOVE",
"type": "video",
"modal": true,
"icon": "av:video-library",
"label": "Learn more about math",
"modalTitle": "Learn the fundamentals of Math"
},
"content": "Check it out"
}
],
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "citation-element",
"packageName": "@haxtheweb/citation-element",
"description": "A simple way of citing things on the web.",
"version": "25.0.0",
"demoPath": "elements/citation-element/demo/index.html",
"importPath": "@haxtheweb/citation-element/citation-element.js",
"haxDemoSchema": [
{
"tag": "citation-element",
"properties": {
"creator": "Cool Joe",
"license": "by",
"title": "Te Futr Da Biz",
"source": "https://duckduckgo.com/",
"date": "03/07/2020"
},
"content": ""
}
],
"isHaxCapable": true,
"additionalDemos": []
},
{
"name": "clean-one",
"packageName": "@haxtheweb/clean-one",
"description": "Clean HAXcms theme, one.",
"version": "25.0.0",
"demoPath": "elements/clean-one/demo/index.html",
"importPath": "@haxtheweb/clean-one/clean-one.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "clean-two",
"packageName": "@haxtheweb/clean-two",
"description": "A 2nd clean theme",
"version": "25.0.0",
"demoPath": "elements/clean-two/demo/index.html",
"importPath": "@haxtheweb/clean-two/clean-two.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "cms-hax",
"packageName": "@haxtheweb/cms-hax",
"description": "HAX integration geared toward CMSs",
"version": "25.0.0",
"demoPath": "elements/cms-hax/demo/index.html",
"importPath": "@haxtheweb/cms-hax/cms-hax.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": []
},
{
"name": "code-editor",
"packageName": "@haxtheweb/code-editor",
"description": "Data binding wrapped on top of a popular code editor",
"version": "25.0.0",
"demoPath": "elements/code-editor/demo/index.html",
"importPath": "@haxtheweb/code-editor/code-editor.js",
"haxDemoSchema": null,
"isHaxCapable": false,
"additionalDemos": [
{
"name": "updating",
"path": "elements/code-editor/demo/updating.html"
}
]
},
{
"name": "code-sample",
"packageName": "@haxtheweb/code-sample",
"description": "A wrapper element for highlight.js",
"version": "25.0.0",
"demoPath": "elements/code-sample/demo/index.html",
"importPath": "@haxtheweb/code-sample/code-sample.js",
"haxDemoSchema": null,
"isHaxCapable": true,
"additionalDemos": []
},