@walkeros/explorer 4.1.0-next-1778668930820 → 4.1.0
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/CHANGELOG.md +365 -0
- package/README.md +27 -662
- package/dist/index.d.cts +42 -7
- package/dist/index.d.ts +42 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +110 -0
- package/package.json +9 -7
package/dist/styles.css
CHANGED
|
@@ -454,6 +454,30 @@
|
|
|
454
454
|
padding: var(--spacing-button-group);
|
|
455
455
|
border: 1px solid var(--border-button-group);
|
|
456
456
|
}
|
|
457
|
+
.elb-explorer-button-group.elb-explorer-button-group--tabs {
|
|
458
|
+
background: transparent;
|
|
459
|
+
border: none;
|
|
460
|
+
border-radius: 0;
|
|
461
|
+
padding: 0;
|
|
462
|
+
gap: 2px;
|
|
463
|
+
}
|
|
464
|
+
.elb-explorer-button-group.elb-explorer-button-group--tabs .elb-explorer-btn {
|
|
465
|
+
padding: 3px 10px;
|
|
466
|
+
font-size: var(--font-size-label);
|
|
467
|
+
font-weight: var(--font-weight-medium);
|
|
468
|
+
color: var(--color-text-button);
|
|
469
|
+
background: transparent;
|
|
470
|
+
border-radius: var(--radius-button) var(--radius-button) 0 0;
|
|
471
|
+
}
|
|
472
|
+
.elb-explorer-button-group.elb-explorer-button-group--tabs .elb-explorer-btn:hover {
|
|
473
|
+
background: transparent;
|
|
474
|
+
color: var(--color-text-button-hover);
|
|
475
|
+
}
|
|
476
|
+
.elb-explorer-button-group.elb-explorer-button-group--tabs .elb-explorer-btn.active {
|
|
477
|
+
background: var(--bg-button-active);
|
|
478
|
+
color: var(--color-text-button-active);
|
|
479
|
+
box-shadow: none;
|
|
480
|
+
}
|
|
457
481
|
.elb-button-link {
|
|
458
482
|
display: inline-flex;
|
|
459
483
|
align-items: center;
|
|
@@ -561,6 +585,9 @@
|
|
|
561
585
|
outline: none !important;
|
|
562
586
|
box-shadow: none !important;
|
|
563
587
|
}
|
|
588
|
+
.elb-code .monaco-editor .margin-view-overlays .codicon[class*=codicon-folding] {
|
|
589
|
+
transition: none !important;
|
|
590
|
+
}
|
|
564
591
|
.elb-code-static {
|
|
565
592
|
flex: 1;
|
|
566
593
|
min-height: 0;
|
|
@@ -603,6 +630,65 @@
|
|
|
603
630
|
color: var(--color-text);
|
|
604
631
|
white-space: nowrap;
|
|
605
632
|
}
|
|
633
|
+
.elb-preview-footer {
|
|
634
|
+
display: grid;
|
|
635
|
+
grid-auto-flow: column;
|
|
636
|
+
grid-auto-columns: 1fr;
|
|
637
|
+
flex: 1;
|
|
638
|
+
align-self: stretch;
|
|
639
|
+
background: var(--bg-footer);
|
|
640
|
+
}
|
|
641
|
+
.elb-preview-btn {
|
|
642
|
+
padding: 6px 6px;
|
|
643
|
+
font-size: var(--font-size-toggle);
|
|
644
|
+
font-weight: 600;
|
|
645
|
+
color: var(--color-text-button);
|
|
646
|
+
border: 0;
|
|
647
|
+
background: transparent;
|
|
648
|
+
transition: color 0.2s ease, background 0.2s ease;
|
|
649
|
+
position: relative;
|
|
650
|
+
cursor: pointer;
|
|
651
|
+
text-align: center;
|
|
652
|
+
margin: 0;
|
|
653
|
+
height: 100%;
|
|
654
|
+
min-width: 0;
|
|
655
|
+
white-space: nowrap;
|
|
656
|
+
display: flex;
|
|
657
|
+
align-items: center;
|
|
658
|
+
justify-content: center;
|
|
659
|
+
}
|
|
660
|
+
.elb-preview-btn:hover {
|
|
661
|
+
color: var(--color-text-button-hover);
|
|
662
|
+
background: var(--bg-button-hover);
|
|
663
|
+
}
|
|
664
|
+
.elb-preview-btn:active {
|
|
665
|
+
background: var(--bg-button-active);
|
|
666
|
+
}
|
|
667
|
+
.elb-preview-btn:not(:last-child)::after {
|
|
668
|
+
content: "";
|
|
669
|
+
position: absolute;
|
|
670
|
+
right: 0;
|
|
671
|
+
top: 20%;
|
|
672
|
+
height: 60%;
|
|
673
|
+
width: 1px;
|
|
674
|
+
background: var(--border-footer);
|
|
675
|
+
opacity: 0.3;
|
|
676
|
+
}
|
|
677
|
+
.elb-preview-btn.highlight-globals {
|
|
678
|
+
color: var(--highlight-globals);
|
|
679
|
+
}
|
|
680
|
+
.elb-preview-btn.highlight-context {
|
|
681
|
+
color: var(--highlight-context);
|
|
682
|
+
}
|
|
683
|
+
.elb-preview-btn.highlight-entity {
|
|
684
|
+
color: var(--highlight-entity);
|
|
685
|
+
}
|
|
686
|
+
.elb-preview-btn.highlight-property {
|
|
687
|
+
color: var(--highlight-property);
|
|
688
|
+
}
|
|
689
|
+
.elb-preview-btn.highlight-action {
|
|
690
|
+
color: var(--highlight-action);
|
|
691
|
+
}
|
|
606
692
|
.elb-toggle-container {
|
|
607
693
|
display: flex;
|
|
608
694
|
align-items: center;
|
|
@@ -745,6 +831,9 @@
|
|
|
745
831
|
display: flex;
|
|
746
832
|
flex-direction: column;
|
|
747
833
|
}
|
|
834
|
+
.elb-code-box .monaco-scrollable-element {
|
|
835
|
+
overscroll-behavior: contain;
|
|
836
|
+
}
|
|
748
837
|
.elb-codebox-settings {
|
|
749
838
|
position: absolute;
|
|
750
839
|
top: 100%;
|
|
@@ -1136,6 +1225,27 @@
|
|
|
1136
1225
|
font-family: var(--font-mono);
|
|
1137
1226
|
font-size: calc(var(--font-size-base) - 2px);
|
|
1138
1227
|
}
|
|
1228
|
+
.elb-property-table__row--nested {
|
|
1229
|
+
background: var(--bg-header);
|
|
1230
|
+
}
|
|
1231
|
+
.elb-property-table__row--nested .elb-property-table__property-cell {
|
|
1232
|
+
border-left: 2px solid var(--border-box);
|
|
1233
|
+
}
|
|
1234
|
+
.elb-property-table__group-toggle {
|
|
1235
|
+
display: inline-flex;
|
|
1236
|
+
align-items: center;
|
|
1237
|
+
justify-content: center;
|
|
1238
|
+
margin-right: 6px;
|
|
1239
|
+
padding: 0;
|
|
1240
|
+
background: none;
|
|
1241
|
+
border: none;
|
|
1242
|
+
cursor: pointer;
|
|
1243
|
+
color: var(--color-text-label);
|
|
1244
|
+
vertical-align: baseline;
|
|
1245
|
+
}
|
|
1246
|
+
.elb-property-table__group-toggle:hover {
|
|
1247
|
+
color: var(--color-button-primary);
|
|
1248
|
+
}
|
|
1139
1249
|
.elb-property-table__property-type {
|
|
1140
1250
|
color: var(--color-text);
|
|
1141
1251
|
font-family: var(--font-mono);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/explorer",
|
|
3
|
-
"version": "4.1.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Interactive React components for walkerOS documentation and exploration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"./styles": "./dist/styles.css"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
-
"dist/**"
|
|
20
|
+
"dist/**",
|
|
21
|
+
"CHANGELOG.md"
|
|
21
22
|
],
|
|
22
23
|
"scripts": {
|
|
23
24
|
"build": "tsup --silent",
|
|
@@ -35,9 +36,10 @@
|
|
|
35
36
|
"@rjsf/core": "^6.1.2",
|
|
36
37
|
"@rjsf/utils": "^6.1.2",
|
|
37
38
|
"@rjsf/validator-ajv8": "^6.1.2",
|
|
38
|
-
"@walkeros/collector": "4.1.0
|
|
39
|
-
"@walkeros/core": "4.1.0
|
|
40
|
-
"@walkeros/web-
|
|
39
|
+
"@walkeros/collector": "4.1.0",
|
|
40
|
+
"@walkeros/core": "4.1.0",
|
|
41
|
+
"@walkeros/web-core": "4.1.0",
|
|
42
|
+
"@walkeros/web-source-browser": "4.1.0",
|
|
41
43
|
"clsx": "^2.1.1",
|
|
42
44
|
"monaco-editor": "^0.55.1",
|
|
43
45
|
"prettier": "^3.7.4",
|
|
@@ -63,8 +65,8 @@
|
|
|
63
65
|
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
|
64
66
|
"@typescript-eslint/parser": "^8.28.0",
|
|
65
67
|
"@vitejs/plugin-react": "^5.1.2",
|
|
66
|
-
"@walkeros/config": "4.1.0
|
|
67
|
-
"@walkeros/web-destination-gtag": "4.1.0
|
|
68
|
+
"@walkeros/config": "4.1.0",
|
|
69
|
+
"@walkeros/web-destination-gtag": "4.1.0",
|
|
68
70
|
"eslint": "^9.23.0",
|
|
69
71
|
"eslint-plugin-jest": "^28.11.0",
|
|
70
72
|
"eslint-plugin-storybook": "^10.1.11",
|