@nswds/app 0.1.14 → 1.6.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/README.md +0 -66
- package/dist/globals.css +5360 -0
- package/dist/index.cjs +1047 -515
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +228 -238
- package/dist/index.d.ts +228 -238
- package/dist/index.js +1030 -477
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5292 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.d.cts +1 -0
- package/dist/styles.d.ts +1 -0
- package/package.json +10 -10
package/dist/index.d.cts
CHANGED
|
@@ -1,277 +1,267 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime'
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { VariantProps } from 'class-variance-authority'
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import * as _sindresorhus_slugify from '@sindresorhus/slugify';
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime'
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
3
|
+
import * as React$1 from 'react'
|
|
4
|
+
import React__default from 'react'
|
|
5
|
+
import { VariantProps } from 'class-variance-authority'
|
|
6
|
+
import { ClassValue } from 'clsx'
|
|
7
|
+
import * as _sindresorhus_slugify from '@sindresorhus/slugify'
|
|
9
8
|
|
|
10
|
-
declare const buttonVariants: (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
declare const buttonVariants: (
|
|
10
|
+
props?:
|
|
11
|
+
| ({
|
|
12
|
+
variant?:
|
|
13
|
+
| 'default'
|
|
14
|
+
| 'destructive'
|
|
15
|
+
| 'outline'
|
|
16
|
+
| 'secondary'
|
|
17
|
+
| 'ghost'
|
|
18
|
+
| 'link'
|
|
19
|
+
| null
|
|
20
|
+
| undefined
|
|
21
|
+
size?: 'default' | 'sm' | 'lg' | 'icon' | null | undefined
|
|
22
|
+
} & class_variance_authority_types.ClassProp)
|
|
23
|
+
| undefined,
|
|
24
|
+
) => string
|
|
25
|
+
declare function Button({
|
|
26
|
+
className,
|
|
27
|
+
variant,
|
|
28
|
+
size,
|
|
29
|
+
asChild,
|
|
30
|
+
...props
|
|
31
|
+
}: React$1.ComponentProps<'button'> &
|
|
32
|
+
VariantProps<typeof buttonVariants> & {
|
|
33
|
+
asChild?: boolean
|
|
34
|
+
}): react_jsx_runtime.JSX.Element
|
|
17
35
|
|
|
18
36
|
interface DynamicFaviconProps {
|
|
19
|
-
|
|
20
|
-
|
|
37
|
+
lightModeFavicon: string
|
|
38
|
+
darkModeFavicon: string
|
|
21
39
|
}
|
|
22
|
-
declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null
|
|
40
|
+
declare function DynamicFavicon({ lightModeFavicon, darkModeFavicon }: DynamicFaviconProps): null
|
|
23
41
|
|
|
24
|
-
declare function Footer(): react_jsx_runtime.JSX.Element
|
|
42
|
+
declare function Footer(): react_jsx_runtime.JSX.Element
|
|
25
43
|
|
|
26
|
-
type IconProps = React.HTMLAttributes<SVGElement
|
|
44
|
+
type IconProps = React.HTMLAttributes<SVGElement>
|
|
27
45
|
declare const Icons: {
|
|
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
|
-
}
|
|
46
|
+
logo: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
47
|
+
github: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
48
|
+
linkedin: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
49
|
+
twitter: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
50
|
+
youtube: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
51
|
+
account_circle: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
52
|
+
attach_file: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
53
|
+
cancel: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
54
|
+
check_circle: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
55
|
+
check: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
56
|
+
chevron_down: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
57
|
+
chevron_left: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
58
|
+
chevron_right: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
59
|
+
chevron_up: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
60
|
+
close: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
61
|
+
collapse_all: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
62
|
+
computer: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
63
|
+
copy: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
64
|
+
dark_mode: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
65
|
+
dock_to_left: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
66
|
+
dock_to_right: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
67
|
+
delete: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
68
|
+
desktop: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
69
|
+
display_settings: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
70
|
+
double_arrow_left: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
71
|
+
double_arrow_right: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
72
|
+
download: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
73
|
+
east: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
74
|
+
error: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
75
|
+
exclamation: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
76
|
+
help: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
77
|
+
info: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
78
|
+
light_mode: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
79
|
+
link: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
80
|
+
login: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
81
|
+
logout: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
82
|
+
menu: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
83
|
+
more_horiz: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
84
|
+
more_vert: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
85
|
+
north: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
86
|
+
open_in_new: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
87
|
+
print: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
88
|
+
progress_activity: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
89
|
+
remove: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
90
|
+
search: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
91
|
+
settings_brightness: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
92
|
+
share: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
93
|
+
side_navigation: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
94
|
+
south: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
95
|
+
unfold_less: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
96
|
+
unfold_more: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
97
|
+
upload: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
98
|
+
west: (props: IconProps) => react_jsx_runtime.JSX.Element
|
|
99
|
+
}
|
|
82
100
|
|
|
83
101
|
interface ColorData {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
102
|
+
oklch: string
|
|
103
|
+
hex: string
|
|
104
|
+
rgb: string
|
|
105
|
+
hsl: string
|
|
106
|
+
[key: string]: string
|
|
89
107
|
}
|
|
90
|
-
type Format = 'hex' | 'oklch' | 'hsl' | 'rgb'
|
|
91
|
-
type Variant = 'shades' | 'theme'
|
|
92
|
-
type Output = 'css' | 'ts' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js'
|
|
108
|
+
type Format = 'hex' | 'oklch' | 'hsl' | 'rgb'
|
|
109
|
+
type Variant = 'shades' | 'theme'
|
|
110
|
+
type Output = 'css' | 'ts' | 'scss' | 'less' | 'tailwind' | 'json' | 'json-DTFM' | 'js'
|
|
93
111
|
interface ColorsDisplayProps {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
112
|
+
baseColors: string[]
|
|
113
|
+
themeColor: string | undefined
|
|
114
|
+
colorsToUse: ColorData[]
|
|
115
|
+
paletteName: string
|
|
116
|
+
variant: Variant
|
|
99
117
|
}
|
|
100
118
|
interface ColourOutputProps {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
119
|
+
colorsToUse: ColorData[]
|
|
120
|
+
paletteName: string
|
|
121
|
+
format: Format
|
|
122
|
+
output: Output
|
|
123
|
+
variant: Variant
|
|
106
124
|
}
|
|
107
125
|
interface DesignTokensShades {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
126
|
+
[paletteName: string]: {
|
|
127
|
+
[shade: string]: {
|
|
128
|
+
$type: 'color'
|
|
129
|
+
$value:
|
|
130
|
+
| string
|
|
131
|
+
| {
|
|
132
|
+
colorSpace: string
|
|
133
|
+
channels: number[]
|
|
134
|
+
alpha: number
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
118
138
|
}
|
|
119
139
|
interface StructuredColor {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
140
|
+
colorSpace: string
|
|
141
|
+
channels: number[]
|
|
142
|
+
alpha: number
|
|
123
143
|
}
|
|
124
144
|
interface DesignTokensTheme {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
145
|
+
[paletteName: string]: {
|
|
146
|
+
value: string | StructuredColor
|
|
147
|
+
type: 'color'
|
|
148
|
+
variants: Record<
|
|
149
|
+
string,
|
|
150
|
+
{
|
|
151
|
+
value: string | StructuredColor
|
|
152
|
+
type: 'color'
|
|
153
|
+
}
|
|
154
|
+
>
|
|
155
|
+
}
|
|
133
156
|
}
|
|
134
157
|
type NavigationSection = {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
158
|
+
title: string
|
|
159
|
+
links: {
|
|
160
|
+
title: string
|
|
161
|
+
href: string
|
|
162
|
+
}[]
|
|
163
|
+
}
|
|
141
164
|
|
|
142
|
-
declare const defaultNavigation: NavigationSection[]
|
|
165
|
+
declare const defaultNavigation: NavigationSection[]
|
|
143
166
|
interface LayoutProps {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
167
|
+
children: React__default.ReactNode
|
|
168
|
+
sitename?: string
|
|
169
|
+
navigation?: NavigationSection[]
|
|
147
170
|
}
|
|
148
|
-
declare function Layout({
|
|
171
|
+
declare function Layout({
|
|
172
|
+
children,
|
|
173
|
+
sitename,
|
|
174
|
+
navigation,
|
|
175
|
+
}: LayoutProps): react_jsx_runtime.JSX.Element
|
|
149
176
|
|
|
150
|
-
declare function Logo(props: React.ComponentPropsWithoutRef<'svg'>): react_jsx_runtime.JSX.Element
|
|
177
|
+
declare function Logo(props: React.ComponentPropsWithoutRef<'svg'>): react_jsx_runtime.JSX.Element
|
|
151
178
|
|
|
152
|
-
declare function Masthead(): react_jsx_runtime.JSX.Element
|
|
179
|
+
declare function Masthead(): react_jsx_runtime.JSX.Element
|
|
153
180
|
|
|
154
|
-
declare function Navigation({
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
181
|
+
declare function Navigation({
|
|
182
|
+
className,
|
|
183
|
+
onLinkClick,
|
|
184
|
+
navigation,
|
|
185
|
+
}: {
|
|
186
|
+
className?: string
|
|
187
|
+
onLinkClick?: React__default.MouseEventHandler<HTMLAnchorElement>
|
|
188
|
+
navigation: NavigationSection[]
|
|
189
|
+
}): react_jsx_runtime.JSX.Element
|
|
159
190
|
|
|
160
191
|
interface PrevNextLinksProps {
|
|
161
|
-
|
|
192
|
+
navigation: NavigationSection[]
|
|
162
193
|
}
|
|
163
|
-
declare function PrevNextLinks({
|
|
194
|
+
declare function PrevNextLinks({
|
|
195
|
+
navigation,
|
|
196
|
+
}: PrevNextLinksProps): react_jsx_runtime.JSX.Element | null
|
|
164
197
|
|
|
165
198
|
type TableOfContentsItem = {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
199
|
+
id: string
|
|
200
|
+
children: TableOfContentsItem[]
|
|
201
|
+
title: string
|
|
202
|
+
}
|
|
170
203
|
type TableOfContentsProps = {
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
declare function TableOfContents({
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
children: React.ReactNode;
|
|
177
|
-
}): react_jsx_runtime.JSX.Element;
|
|
178
|
-
|
|
179
|
-
declare function ThemeProvider({ children, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
204
|
+
tableOfContents: TableOfContentsItem[]
|
|
205
|
+
}
|
|
206
|
+
declare function TableOfContents({
|
|
207
|
+
tableOfContents,
|
|
208
|
+
}: TableOfContentsProps): react_jsx_runtime.JSX.Element
|
|
180
209
|
|
|
181
|
-
declare function ThemeSwitcher(): react_jsx_runtime.JSX.Element
|
|
210
|
+
declare function ThemeSwitcher(): react_jsx_runtime.JSX.Element
|
|
182
211
|
|
|
183
|
-
declare function cn(...inputs: ClassValue[]): string
|
|
184
|
-
declare function truncate(text: string, maxLength: number): string
|
|
185
|
-
declare function kebabCase(str: string): string
|
|
186
|
-
declare function camelCase(str: string): string
|
|
212
|
+
declare function cn(...inputs: ClassValue[]): string
|
|
213
|
+
declare function truncate(text: string, maxLength: number): string
|
|
214
|
+
declare function kebabCase(str: string): string
|
|
215
|
+
declare function camelCase(str: string): string
|
|
187
216
|
|
|
188
217
|
type SimpleNode = {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
218
|
+
type: string
|
|
219
|
+
attributes: {
|
|
220
|
+
content?: string
|
|
221
|
+
[key: string]: string | number | boolean | undefined
|
|
222
|
+
}
|
|
223
|
+
children?: SimpleNode[]
|
|
224
|
+
}
|
|
196
225
|
type HeadingNode = {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
declare function getNodeText(node: HTMLElement | SimpleNode): string
|
|
203
|
-
declare function domToSimple(node: Node): SimpleNode
|
|
204
|
-
declare function getHeadings(slugify?: _sindresorhus_slugify.CountableSlugify): HeadingNode[]
|
|
205
|
-
|
|
206
|
-
declare const nswdsExports: {
|
|
207
|
-
Button: typeof Button;
|
|
208
|
-
DynamicFavicon: typeof DynamicFavicon;
|
|
209
|
-
Footer: typeof Footer;
|
|
210
|
-
Icons: {
|
|
211
|
-
logo: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
212
|
-
github: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
213
|
-
linkedin: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
214
|
-
twitter: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
215
|
-
youtube: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
216
|
-
account_circle: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
217
|
-
attach_file: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
218
|
-
cancel: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
219
|
-
check_circle: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
220
|
-
check: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
221
|
-
chevron_down: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
222
|
-
chevron_left: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
223
|
-
chevron_right: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
224
|
-
chevron_up: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
225
|
-
close: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
226
|
-
collapse_all: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
227
|
-
computer: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
228
|
-
copy: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
229
|
-
dark_mode: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
230
|
-
dock_to_left: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
231
|
-
dock_to_right: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
232
|
-
delete: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
233
|
-
desktop: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
234
|
-
display_settings: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
235
|
-
double_arrow_left: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
236
|
-
double_arrow_right: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
237
|
-
download: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
238
|
-
east: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
239
|
-
error: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
240
|
-
exclamation: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
241
|
-
help: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
242
|
-
info: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
243
|
-
light_mode: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
244
|
-
link: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
245
|
-
login: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
246
|
-
logout: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
247
|
-
menu: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
248
|
-
more_horiz: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
249
|
-
more_vert: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
250
|
-
north: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
251
|
-
open_in_new: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
252
|
-
print: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
253
|
-
progress_activity: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
254
|
-
remove: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
255
|
-
search: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
256
|
-
settings_brightness: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
257
|
-
share: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
258
|
-
side_navigation: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
259
|
-
south: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
260
|
-
unfold_less: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
261
|
-
unfold_more: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
262
|
-
upload: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
263
|
-
west: (props: react.HTMLAttributes<SVGElement>) => react_jsx_runtime.JSX.Element;
|
|
264
|
-
};
|
|
265
|
-
Layout: typeof Layout;
|
|
266
|
-
Logo: typeof Logo;
|
|
267
|
-
Masthead: typeof Masthead;
|
|
268
|
-
Navigation: typeof Navigation;
|
|
269
|
-
PrevNextLinks: typeof PrevNextLinks;
|
|
270
|
-
TableOfContents: typeof TableOfContents;
|
|
271
|
-
Providers: typeof Providers;
|
|
272
|
-
ThemeProvider: typeof ThemeProvider;
|
|
273
|
-
ThemeSwitcher: typeof ThemeSwitcher;
|
|
274
|
-
defaultNavigation: NavigationSection[];
|
|
275
|
-
};
|
|
226
|
+
level: number
|
|
227
|
+
id: string
|
|
228
|
+
title: string
|
|
229
|
+
children: HeadingNode[]
|
|
230
|
+
}
|
|
231
|
+
declare function getNodeText(node: HTMLElement | SimpleNode): string
|
|
232
|
+
declare function domToSimple(node: Node): SimpleNode
|
|
233
|
+
declare function getHeadings(slugify?: _sindresorhus_slugify.CountableSlugify): HeadingNode[]
|
|
276
234
|
|
|
277
|
-
export {
|
|
235
|
+
export {
|
|
236
|
+
Button,
|
|
237
|
+
type ColorData,
|
|
238
|
+
type ColorsDisplayProps,
|
|
239
|
+
type ColourOutputProps,
|
|
240
|
+
type DesignTokensShades,
|
|
241
|
+
type DesignTokensTheme,
|
|
242
|
+
DynamicFavicon,
|
|
243
|
+
Footer,
|
|
244
|
+
type Format,
|
|
245
|
+
type HeadingNode,
|
|
246
|
+
Icons,
|
|
247
|
+
Layout,
|
|
248
|
+
Logo,
|
|
249
|
+
Masthead,
|
|
250
|
+
Navigation,
|
|
251
|
+
type NavigationSection,
|
|
252
|
+
type Output,
|
|
253
|
+
PrevNextLinks,
|
|
254
|
+
type SimpleNode,
|
|
255
|
+
type StructuredColor,
|
|
256
|
+
TableOfContents,
|
|
257
|
+
ThemeSwitcher,
|
|
258
|
+
type Variant,
|
|
259
|
+
camelCase,
|
|
260
|
+
cn,
|
|
261
|
+
defaultNavigation,
|
|
262
|
+
domToSimple,
|
|
263
|
+
getHeadings,
|
|
264
|
+
getNodeText,
|
|
265
|
+
kebabCase,
|
|
266
|
+
truncate,
|
|
267
|
+
}
|