-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(typedoc-theme): Port navbar and sidebar from 0.22.x
- Loading branch information
Showing
41 changed files
with
944 additions
and
726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...s/typedoc-theme-client/scripts/components/navigation-primary/child-template-dropdown.html
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/typedoc-theme-client/scripts/components/navigation-primary/child-template-list.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/typedoc-theme-client/scripts/types/jsx/jsx-navigation-primary-props.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import type { JsxHtmlGlobalProps } from "@ribajs/jsx/src/types/index"; | ||
|
||
export interface JsxTsdNavigationPrimaryProps extends JsxHtmlGlobalProps { | ||
type: "list" | "dropdown"; | ||
} | ||
export type JsxTsdNavigationPrimaryProps = JsxHtmlGlobalProps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export interface Module { | ||
name: string; | ||
url?: string; | ||
packageName?: string; | ||
packageVersion?: string; | ||
} |
9 changes: 0 additions & 9 deletions
9
packages/typedoc-theme-client/scripts/types/navigation-flat.ts
This file was deleted.
Oops, something went wrong.
11 changes: 2 additions & 9 deletions
11
packages/typedoc-theme-client/scripts/types/navigation-primary-component-scope.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,10 @@ | ||
import type { ScopeBase } from "@ribajs/core"; | ||
import type { | ||
NavigationFlat, | ||
JsxTsdNavigationPrimaryProps, | ||
Dataset, | ||
} from "./index.js"; | ||
import type { Module, Dataset } from "./index.js"; | ||
import type { NavigationPrimaryComponent } from "../components/navigation-primary/navigation-primary.component.js"; | ||
|
||
export interface NavigationPrimaryComponentScope | ||
extends ScopeBase<{ dataset: Dataset }> { | ||
primaryNav?: NavigationFlat; | ||
childTemplateList: string; | ||
childTemplateDropdown: string; | ||
type: JsxTsdNavigationPrimaryProps["type"]; | ||
modules?: Module[]; | ||
selectedModule: string; | ||
onModuleSelect: NavigationPrimaryComponent["onModuleSelect"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,50 @@ | ||
// See https://github.com/twbs/bootstrap/blob/main/scss/bootstrap.scss | ||
@import "bootstrap/scss/mixins/banner"; | ||
@include bsBanner(""); | ||
|
||
// Configuration | ||
@import "~bootstrap/scss/functions"; | ||
@import "~bootstrap/scss/variables"; | ||
@import "~bootstrap/scss/maps"; | ||
@import "~bootstrap/scss/mixins"; | ||
@import "~bootstrap/scss/utilities"; | ||
@import "bootstrap/scss/functions"; | ||
@import "bootstrap/scss/variables"; | ||
@import "bootstrap/scss/variables-dark"; | ||
@import "bootstrap/scss/maps"; | ||
@import "bootstrap/scss/mixins"; | ||
@import "bootstrap/scss/utilities"; | ||
|
||
// Layout & components | ||
@import "~bootstrap/scss/root"; | ||
@import "~bootstrap/scss/reboot"; | ||
@import "~bootstrap/scss/type"; | ||
@import "~bootstrap/scss/images"; | ||
@import "~bootstrap/scss/containers"; | ||
@import "~bootstrap/scss/grid"; | ||
@import "~bootstrap/scss/tables"; | ||
@import "~bootstrap/scss/forms"; | ||
@import "~bootstrap/scss/buttons"; | ||
@import "~bootstrap/scss/transitions"; | ||
@import "~bootstrap/scss/dropdown"; | ||
@import "~bootstrap/scss/button-group"; | ||
@import "~bootstrap/scss/nav"; | ||
@import "~bootstrap/scss/navbar"; | ||
@import "~bootstrap/scss/card"; | ||
@import "~bootstrap/scss/accordion"; | ||
@import "~bootstrap/scss/breadcrumb"; | ||
@import "~bootstrap/scss/pagination"; | ||
@import "~bootstrap/scss/badge"; | ||
@import "~bootstrap/scss/alert"; | ||
@import "~bootstrap/scss/progress"; | ||
@import "~bootstrap/scss/list-group"; | ||
@import "~bootstrap/scss/close"; | ||
@import "~bootstrap/scss/toasts"; | ||
@import "~bootstrap/scss/modal"; | ||
@import "~bootstrap/scss/tooltip"; | ||
@import "~bootstrap/scss/popover"; | ||
@import "~bootstrap/scss/carousel"; | ||
@import "~bootstrap/scss/spinners"; | ||
@import "~bootstrap/scss/offcanvas"; | ||
@import "~bootstrap/scss/placeholders"; | ||
@import "bootstrap/scss/root"; | ||
@import "bootstrap/scss/reboot"; | ||
@import "bootstrap/scss/type"; | ||
@import "bootstrap/scss/images"; | ||
@import "bootstrap/scss/containers"; | ||
@import "bootstrap/scss/grid"; | ||
@import "bootstrap/scss/tables"; | ||
@import "bootstrap/scss/forms"; | ||
@import "bootstrap/scss/buttons"; | ||
@import "bootstrap/scss/transitions"; | ||
@import "bootstrap/scss/dropdown"; | ||
@import "bootstrap/scss/button-group"; | ||
@import "bootstrap/scss/nav"; | ||
@import "bootstrap/scss/navbar"; | ||
@import "bootstrap/scss/card"; | ||
@import "bootstrap/scss/accordion"; | ||
@import "bootstrap/scss/breadcrumb"; | ||
@import "bootstrap/scss/pagination"; | ||
@import "bootstrap/scss/badge"; | ||
@import "bootstrap/scss/alert"; | ||
@import "bootstrap/scss/progress"; | ||
@import "bootstrap/scss/list-group"; | ||
@import "bootstrap/scss/close"; | ||
@import "bootstrap/scss/toasts"; | ||
@import "bootstrap/scss/modal"; | ||
@import "bootstrap/scss/tooltip"; | ||
@import "bootstrap/scss/popover"; | ||
@import "bootstrap/scss/carousel"; | ||
@import "bootstrap/scss/spinners"; | ||
@import "bootstrap/scss/offcanvas"; | ||
@import "bootstrap/scss/placeholders"; | ||
|
||
// Helpers | ||
@import "~bootstrap/scss/helpers"; | ||
@import "bootstrap/scss/helpers"; | ||
|
||
// Utilities | ||
@import "~bootstrap/scss/utilities/api"; | ||
@import "bootstrap/scss/utilities/api"; |
Oops, something went wrong.