varvara-typedoc-theme 0.3.0 → 0.3.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/assets/overrides.css +6 -20
- package/dist/index.js +8 -13
- package/package.json +2 -2
package/assets/overrides.css
CHANGED
|
@@ -68,30 +68,16 @@ dialog {
|
|
|
68
68
|
flex: 1;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
72
|
-
margin-top:
|
|
73
|
-
text-transform: none;
|
|
74
|
-
font-size: var(--va-font-size-0);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.settings ul {
|
|
78
|
-
list-style: none;
|
|
79
|
-
padding-left: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.settings .va-select {
|
|
83
|
-
width: 100%;
|
|
84
|
-
border-left-color: transparent;
|
|
85
|
-
border-right: 0;
|
|
86
|
-
border-bottom: 0;
|
|
71
|
+
.site-menu {
|
|
72
|
+
margin-top: 0;
|
|
87
73
|
}
|
|
88
74
|
|
|
89
|
-
.
|
|
90
|
-
|
|
75
|
+
.tsd-filter-input {
|
|
76
|
+
margin: 0;
|
|
91
77
|
}
|
|
92
78
|
|
|
93
|
-
.
|
|
94
|
-
margin-
|
|
79
|
+
.tsd-filter-item:not(:last-child) {
|
|
80
|
+
margin-bottom: 0;
|
|
95
81
|
}
|
|
96
82
|
|
|
97
83
|
.tsd-signature,
|
package/dist/index.js
CHANGED
|
@@ -110,13 +110,9 @@ function settings(context) {
|
|
|
110
110
|
return /* @__PURE__ */ JSX3.createElement("details", {
|
|
111
111
|
class: "va-collapse settings tsd-accordion",
|
|
112
112
|
open: false
|
|
113
|
-
}, /* @__PURE__ */ JSX3.createElement("summary", null, i18n3.theme_settings()), visibilityOptions.length && /* @__PURE__ */ JSX3.createElement("
|
|
114
|
-
class: "
|
|
115
|
-
}, /* @__PURE__ */ JSX3.createElement("span", {
|
|
116
|
-
class: "settings-label"
|
|
117
|
-
}, i18n3.theme_member_visibility()), /* @__PURE__ */ JSX3.createElement("ul", {
|
|
118
|
-
id: "tsd-filter-options"
|
|
119
|
-
}, ...visibilityOptions)), /* @__PURE__ */ JSX3.createElement("label", null, /* @__PURE__ */ JSX3.createElement("span", null, i18n3.theme_theme()), /* @__PURE__ */ JSX3.createElement("select", {
|
|
113
|
+
}, /* @__PURE__ */ JSX3.createElement("summary", null, i18n3.theme_settings()), visibilityOptions.length && /* @__PURE__ */ JSX3.createElement("details", {
|
|
114
|
+
class: "va-collapse"
|
|
115
|
+
}, /* @__PURE__ */ JSX3.createElement("summary", null, i18n3.theme_member_visibility()), ...visibilityOptions), /* @__PURE__ */ JSX3.createElement("label", null, /* @__PURE__ */ JSX3.createElement("span", null, i18n3.theme_theme()), /* @__PURE__ */ JSX3.createElement("select", {
|
|
120
116
|
id: "tsd-theme",
|
|
121
117
|
class: "va-select"
|
|
122
118
|
}, /* @__PURE__ */ JSX3.createElement("option", {
|
|
@@ -161,17 +157,16 @@ function buildSectionNavigation(context, headings) {
|
|
|
161
157
|
finalizeLevel(true);
|
|
162
158
|
return levels[0];
|
|
163
159
|
}
|
|
164
|
-
function buildFilterItem(
|
|
165
|
-
return /* @__PURE__ */ JSX3.createElement("
|
|
160
|
+
function buildFilterItem(_context, name, displayName, defaultValue) {
|
|
161
|
+
return /* @__PURE__ */ JSX3.createElement("label", {
|
|
166
162
|
class: "tsd-filter-item"
|
|
167
|
-
}, /* @__PURE__ */ JSX3.createElement("
|
|
168
|
-
class: "tsd-filter-input"
|
|
169
|
-
}, /* @__PURE__ */ JSX3.createElement("input", {
|
|
163
|
+
}, /* @__PURE__ */ JSX3.createElement("span", null, displayName), /* @__PURE__ */ JSX3.createElement("input", {
|
|
164
|
+
class: "tsd-filter-input va-checkbox",
|
|
170
165
|
type: "checkbox",
|
|
171
166
|
id: `tsd-filter-${name}`,
|
|
172
167
|
name,
|
|
173
168
|
checked: defaultValue
|
|
174
|
-
})
|
|
169
|
+
}));
|
|
175
170
|
}
|
|
176
171
|
function pageNavigation(context) {
|
|
177
172
|
return (props) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "varvara-typedoc-theme",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"author": "Marc Mariné <shenobi@gmail.com>",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"varvara-css": "
|
|
18
|
+
"varvara-css": "^0.6.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest"
|