@unisphere/nx 4.5.8 → 4.7.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/dist/generators/add-documentation/add-documentation.d.ts.map +1 -1
- package/dist/generators/add-documentation/add-documentation.js +11 -0
- package/dist/generators/add-documentation/templates/docs/changelog/overview.md +2 -1
- package/dist/generators/add-documentation/templates/docs/documentations/overview.md +9 -0
- package/dist/generators/add-documentation/templates/docs/{api → reference}/overview.md +2 -1
- package/dist/generators/add-documentation/templates/docusaurus.config.ts.template +41 -24
- package/dist/generators/add-documentation/templates/sidebars.ts +3 -3
- package/dist/generators/add-documentation/templates/src/components/homepage-features/index.tsx +56 -154
- package/dist/generators/add-documentation/templates/src/components/homepage-start-now/index.tsx +1 -1
- package/dist/generators/add-documentation/templates/src/css/custom.css +223 -0
- package/dist/generators/add-documentation/templates/src/pages/index.tsx.template +33 -145
- package/dist/generators/add-documentation/templates/src/theme/Navbar/Content/index.tsx +61 -103
- package/dist/generators/add-documentation/templates/src/theme/Navbar/Content/styles.module.css +3 -126
- package/dist/migrations/4-6-0/templates/custom.css +710 -0
- package/dist/migrations/4-6-0/templates/navbar-content-styles.module.css +9 -0
- package/dist/migrations/4-6-0/templates/navbar-content.tsx +103 -0
- package/dist/migrations/4-6-0/templates/sidebars.ts.template +9 -0
- package/dist/migrations/4-6-0/update-documentation-structure.d.ts +3 -0
- package/dist/migrations/4-6-0/update-documentation-structure.d.ts.map +1 -0
- package/dist/migrations/4-6-0/update-documentation-structure.js +238 -0
- package/dist/migrations/4-6-1/add-documentation-workflow.d.ts +3 -0
- package/dist/migrations/4-6-1/add-documentation-workflow.d.ts.map +1 -0
- package/dist/migrations/4-6-1/add-documentation-workflow.js +49 -0
- package/dist/migrations/4-6-1/templates/documentation-workflow.template +68 -0
- package/migrations.json +27 -0
- package/package.json +1 -1
- package/dist/generators/add-documentation/templates/docs/getting-started/overview.md +0 -8
package/dist/generators/add-documentation/templates/src/theme/Navbar/Content/styles.module.css
CHANGED
|
@@ -1,132 +1,9 @@
|
|
|
1
|
-
/* Two-row Warp-style Navbar Layout */
|
|
2
|
-
|
|
3
|
-
.navbarWrapper {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* Top row: logo + search + color toggle */
|
|
11
|
-
.topRow {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
width: 100%;
|
|
16
|
-
padding: 0.75rem 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.topLeft {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: 0.5rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.topCenter {
|
|
26
|
-
flex: 1;
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
max-width: 480px;
|
|
31
|
-
margin: 0 2rem;
|
|
32
|
-
position: relative;
|
|
33
|
-
z-index: 10;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* Search bar fills the top-center area */
|
|
37
|
-
.topCenter :global(.navbar__search) {
|
|
38
|
-
width: 100%;
|
|
39
|
-
margin-left: 0 !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.topCenter :global(.navbar__search-input) {
|
|
43
|
-
width: 100% !important;
|
|
44
|
-
transition: none !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.topRight {
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
gap: 0.5rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* Bottom row: navigation items */
|
|
54
|
-
.bottomRow {
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
gap: 0.25rem;
|
|
58
|
-
padding-bottom: 0;
|
|
59
|
-
width: 100%;
|
|
60
|
-
border-top: 1px solid var(--uc-border-color);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* Icon + label wrapper for each nav item */
|
|
64
|
-
.navItemWithIcon {
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
gap: 0.375rem;
|
|
68
|
-
padding: 0.625rem 0.75rem;
|
|
69
|
-
border-bottom: 2px solid transparent;
|
|
70
|
-
transition: all 0.2s ease;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.navItemWithIcon:hover {
|
|
75
|
-
color: var(--ifm-color-primary);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/* Active state: apply underline to the wrapper when it contains an active link */
|
|
79
|
-
.navItemWithIcon:has(:global(.navbar__link--active)) {
|
|
80
|
-
border-bottom-color: var(--ifm-color-primary);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.navIcon {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
flex-shrink: 0;
|
|
87
|
-
opacity: 0.6;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.navItemWithIcon:hover .navIcon,
|
|
91
|
-
.navItemWithIcon:has(:global(.navbar__link--active)) .navIcon {
|
|
92
|
-
opacity: 1;
|
|
93
|
-
color: var(--ifm-color-primary);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Reset default navbar item styles inside our wrapper */
|
|
97
|
-
.navItemWithIcon :global(.navbar__item) {
|
|
98
|
-
padding: 0;
|
|
99
|
-
margin: 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.navItemWithIcon :global(.navbar__link) {
|
|
103
|
-
padding: 0;
|
|
104
|
-
border-radius: 0;
|
|
105
|
-
font-size: 0.875rem;
|
|
106
|
-
font-weight: 500;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.navItemWithIcon :global(.navbar__link--active) {
|
|
110
|
-
color: var(--ifm-color-primary);
|
|
111
|
-
font-weight: 600;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.navItemWithIcon :global(.navbar__link:hover) {
|
|
115
|
-
background: none;
|
|
116
|
-
color: var(--ifm-color-primary);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* Hide color mode toggle on mobile */
|
|
120
1
|
@media (max-width: 996px) {
|
|
121
2
|
.colorModeToggle {
|
|
122
3
|
display: none;
|
|
123
4
|
}
|
|
5
|
+
}
|
|
124
6
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.bottomRow {
|
|
130
|
-
display: none;
|
|
131
|
-
}
|
|
7
|
+
:global(.navbar__items--right) > :last-child {
|
|
8
|
+
padding-right: 0;
|
|
132
9
|
}
|