@nswds/app 0.1.12 → 0.1.13

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