@oddmash/ui 0.4.1 → 0.5.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.
Files changed (48) hide show
  1. package/README.md +2 -1
  2. package/dist/alert.js +2 -2
  3. package/dist/button.d.ts +22 -7
  4. package/dist/button.js +9 -3
  5. package/dist/{chunk-BMVVSFAU.js → chunk-2H7CEOL5.js} +1 -1
  6. package/dist/chunk-77W2JTCK.js +116 -0
  7. package/dist/chunk-A3PPKK5J.js +23 -0
  8. package/dist/chunk-BAJCEDO3.js +17 -0
  9. package/dist/chunk-DOCL5Y45.js +14 -0
  10. package/dist/chunk-FKO6T5XG.js +71 -0
  11. package/dist/chunk-GRQMKQRL.js +21 -0
  12. package/dist/chunk-I5VJBLHP.js +36 -0
  13. package/dist/chunk-OJJPFVTC.js +154 -0
  14. package/dist/chunk-OUFCQ2JE.js +126 -0
  15. package/dist/chunk-QW7IHDAG.js +36 -0
  16. package/dist/chunk-U7RNP366.js +16 -0
  17. package/dist/chunk-URS474NU.js +228 -0
  18. package/dist/chunk-WHFF7XSS.js +224 -0
  19. package/dist/clipboard-button.d.ts +28 -0
  20. package/dist/clipboard-button.js +11 -0
  21. package/dist/code-block.d.ts +16 -0
  22. package/dist/code-block.js +16 -0
  23. package/dist/command-palette.d.ts +9 -1
  24. package/dist/command-palette.js +1 -1
  25. package/dist/docs-navigation.d.ts +64 -0
  26. package/dist/docs-navigation.js +15 -0
  27. package/dist/index.d.ts +12 -1
  28. package/dist/index.js +107 -25
  29. package/dist/kbd.d.ts +8 -0
  30. package/dist/kbd.js +8 -0
  31. package/dist/link-card.d.ts +8 -0
  32. package/dist/link-card.js +8 -0
  33. package/dist/locale-picker.d.ts +18 -0
  34. package/dist/locale-picker.js +9 -0
  35. package/dist/platform-link.d.ts +15 -0
  36. package/dist/platform-link.js +10 -0
  37. package/dist/prose.d.ts +10 -0
  38. package/dist/prose.js +10 -0
  39. package/dist/scroll-header.d.ts +17 -0
  40. package/dist/scroll-header.js +10 -0
  41. package/dist/site-layout.d.ts +16 -0
  42. package/dist/site-layout.js +16 -0
  43. package/dist/styles.css +693 -0
  44. package/dist/toast-provider.d.ts +30 -0
  45. package/dist/toast-provider.js +11 -0
  46. package/package.json +45 -1
  47. package/dist/chunk-3TIYT55P.js +0 -14
  48. package/dist/chunk-WODRU2UN.js +0 -69
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import {
3
+ CodeBlock,
4
+ CodeBlockCaption,
5
+ CodeBlockContent,
6
+ CodeBlockCopy,
7
+ CodeBlockHeader
8
+ } from "./chunk-I5VJBLHP.js";
9
+ import "./chunk-54STG2JB.js";
10
+ export {
11
+ CodeBlock,
12
+ CodeBlockCaption,
13
+ CodeBlockContent,
14
+ CodeBlockCopy,
15
+ CodeBlockHeader
16
+ };
@@ -5,6 +5,8 @@ type CommandPaletteItem = {
5
5
  id: string;
6
6
  label: string;
7
7
  keywords?: readonly string[];
8
+ description?: string;
9
+ group?: string;
8
10
  disabled?: boolean;
9
11
  onSelect: () => void;
10
12
  };
@@ -17,8 +19,14 @@ type CommandPaletteProps = {
17
19
  items: readonly CommandPaletteItem[];
18
20
  theme?: 'light' | 'dark';
19
21
  container?: HTMLElement | null;
22
+ open?: boolean;
23
+ defaultOpen?: boolean;
24
+ onOpenChange?: (open: boolean) => void;
25
+ shortcut?: boolean;
26
+ maxResults?: number;
27
+ filter?: (item: CommandPaletteItem, query: string) => boolean;
20
28
  };
21
- declare const CommandPalette: ({ trigger, title, description, searchLabel, emptyLabel, items, theme, container }: CommandPaletteProps) => react.JSX.Element;
29
+ declare const CommandPalette: ({ trigger, title, description, searchLabel, emptyLabel, items, theme, container, open: controlledOpen, defaultOpen, onOpenChange, shortcut, maxResults, filter, }: CommandPaletteProps) => react.JSX.Element;
22
30
 
23
31
  export { CommandPalette };
24
32
  export type { CommandPaletteItem, CommandPaletteProps };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  CommandPalette
4
- } from "./chunk-WODRU2UN.js";
4
+ } from "./chunk-OJJPFVTC.js";
5
5
  import "./chunk-ME34NDSX.js";
6
6
  import "./chunk-5NGRPREI.js";
7
7
  import "./chunk-54STG2JB.js";
@@ -0,0 +1,64 @@
1
+ import * as react from 'react';
2
+ import { ReactNode, MouseEvent, ComponentPropsWithoutRef } from 'react';
3
+
4
+ type DocsNavigationItem = {
5
+ id: string;
6
+ href: string;
7
+ label: ReactNode;
8
+ };
9
+ type DocsNavigationGroup = {
10
+ id: string;
11
+ label?: ReactNode;
12
+ items: readonly DocsNavigationItem[];
13
+ };
14
+ type DocsNavigationProps = Omit<ComponentPropsWithoutRef<'nav'>, 'children'> & {
15
+ groups: readonly DocsNavigationGroup[];
16
+ currentId?: string;
17
+ mobileLabel?: string;
18
+ defaultMobileOpen?: boolean;
19
+ onNavigate?: (item: DocsNavigationItem, event: MouseEvent<HTMLAnchorElement>) => void;
20
+ };
21
+ declare const DocsNavigation: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "children"> & {
22
+ groups: readonly DocsNavigationGroup[];
23
+ currentId?: string;
24
+ mobileLabel?: string;
25
+ defaultMobileOpen?: boolean;
26
+ onNavigate?: (item: DocsNavigationItem, event: MouseEvent<HTMLAnchorElement>) => void;
27
+ } & react.RefAttributes<HTMLElement>>;
28
+ type ActiveHeadingOptions = {
29
+ offset?: number;
30
+ };
31
+ declare const observeActiveHeading: (content: HTMLElement, headingIds: readonly string[], onActiveChange: (id: string | undefined) => void, { offset }?: ActiveHeadingOptions) => () => void;
32
+ type UseActiveHeadingOptions = ActiveHeadingOptions & {
33
+ contentId?: string;
34
+ enabled?: boolean;
35
+ };
36
+ declare const useActiveHeading: (headingIds: readonly string[], { contentId, offset, enabled, }?: UseActiveHeadingOptions) => string | undefined;
37
+ type TocHeading = {
38
+ id: string;
39
+ label: ReactNode;
40
+ level?: number;
41
+ };
42
+ type TableOfContentsProps = Omit<ComponentPropsWithoutRef<'nav'>, 'children'> & {
43
+ headings: readonly TocHeading[];
44
+ label: string;
45
+ mobileLabel?: string;
46
+ defaultMobileOpen?: boolean;
47
+ contentId?: string;
48
+ offset?: number;
49
+ activeId?: string | null;
50
+ onNavigate?: (heading: TocHeading, event: MouseEvent<HTMLAnchorElement>) => void;
51
+ };
52
+ declare const TableOfContents: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "children"> & {
53
+ headings: readonly TocHeading[];
54
+ label: string;
55
+ mobileLabel?: string;
56
+ defaultMobileOpen?: boolean;
57
+ contentId?: string;
58
+ offset?: number;
59
+ activeId?: string | null;
60
+ onNavigate?: (heading: TocHeading, event: MouseEvent<HTMLAnchorElement>) => void;
61
+ } & react.RefAttributes<HTMLElement>>;
62
+
63
+ export { DocsNavigation, TableOfContents, observeActiveHeading, useActiveHeading };
64
+ export type { ActiveHeadingOptions, DocsNavigationGroup, DocsNavigationItem, DocsNavigationProps, TableOfContentsProps, TocHeading, UseActiveHeadingOptions };
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import {
3
+ DocsNavigation,
4
+ TableOfContents,
5
+ observeActiveHeading,
6
+ useActiveHeading
7
+ } from "./chunk-URS474NU.js";
8
+ import "./chunk-A3PPKK5J.js";
9
+ import "./chunk-54STG2JB.js";
10
+ export {
11
+ DocsNavigation,
12
+ TableOfContents,
13
+ observeActiveHeading,
14
+ useActiveHeading
15
+ };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { Button, ButtonProps } from './button.js';
1
+ export { Button, ButtonLink, ButtonLinkProps, ButtonProps, IconButton, IconButtonProps, IconControlName, IconLink, IconLinkProps } from './button.js';
2
2
  export { Input, InputProps } from './input.js';
3
3
  export { Card, CardProps } from './card.js';
4
4
  export { Badge, BadgeProps } from './badge.js';
@@ -25,6 +25,17 @@ export { TokenName, tokens } from './tokens.js';
25
25
  export { Toast, ToastProps, ToastViewport } from './toast.js';
26
26
  export { Slider, SliderProps } from './slider.js';
27
27
  export { CommandPalette, CommandPaletteItem, CommandPaletteProps } from './command-palette.js';
28
+ export { LinkCard, LinkCardProps } from './link-card.js';
29
+ export { CodeBlock, CodeBlockCaption, CodeBlockCaptionProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopy, CodeBlockCopyProps, CodeBlockHeader, CodeBlockHeaderProps, CodeBlockProps } from './code-block.js';
30
+ export { SiteFooter, SiteFooterInner, SiteFooterInnerProps, SiteFooterProps, SiteHeader, SiteHeaderInner, SiteHeaderInnerProps, SiteHeaderProps, SiteNav, SiteNavProps } from './site-layout.js';
31
+ export { Prose, ProseProps, ProseScroll, ProseScrollProps } from './prose.js';
32
+ export { PlatformLink, PlatformLinkKind, PlatformLinkProps, PlatformLinks, PlatformLinksProps } from './platform-link.js';
33
+ export { Kbd, KbdProps } from './kbd.js';
34
+ export { ActiveHeadingOptions, DocsNavigation, DocsNavigationGroup, DocsNavigationItem, DocsNavigationProps, TableOfContents, TableOfContentsProps, TocHeading, UseActiveHeadingOptions, observeActiveHeading, useActiveHeading } from './docs-navigation.js';
35
+ export { ScrollHeader, ScrollHeaderOptions, ScrollHeaderProps, observeScrollHeader } from './scroll-header.js';
36
+ export { LocalePicker, LocalePickerOption, LocalePickerProps } from './locale-picker.js';
37
+ export { ClipboardButton, ClipboardButtonProps, ClipboardLabels, ClipboardState, copyText } from './clipboard-button.js';
38
+ export { ToastController, ToastNotification, ToastProvider, ToastProviderProps, useToast } from './toast-provider.js';
28
39
  import 'react';
29
40
  import '@radix-ui/react-tabs';
30
41
  import '@radix-ui/react-dialog';
package/dist/index.js CHANGED
@@ -1,4 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ Alert,
4
+ AlertDialog
5
+ } from "./chunk-2H7CEOL5.js";
6
+ import {
7
+ Avatar
8
+ } from "./chunk-SDU26SU7.js";
2
9
  import {
3
10
  Spinner
4
11
  } from "./chunk-QB6NCURJ.js";
@@ -11,6 +18,15 @@ import {
11
18
  import {
12
19
  EmptyState
13
20
  } from "./chunk-XYGNNGM2.js";
21
+ import {
22
+ Radio
23
+ } from "./chunk-46VRJZNH.js";
24
+ import {
25
+ Switch
26
+ } from "./chunk-LFWQDF6U.js";
27
+ import {
28
+ Separator
29
+ } from "./chunk-JA3X5LJF.js";
14
30
  import {
15
31
  Skeleton
16
32
  } from "./chunk-AVQGR5G7.js";
@@ -27,46 +43,81 @@ import {
27
43
  Accordion
28
44
  } from "./chunk-Q56KMGGG.js";
29
45
  import {
30
- Alert,
31
- AlertDialog
32
- } from "./chunk-BMVVSFAU.js";
46
+ ToastProvider,
47
+ useToast
48
+ } from "./chunk-WHFF7XSS.js";
33
49
  import {
34
50
  Toast,
35
51
  ToastViewport
36
52
  } from "./chunk-ITEJEMEF.js";
37
53
  import {
38
- Avatar
39
- } from "./chunk-SDU26SU7.js";
54
+ Badge
55
+ } from "./chunk-KU7UNDPK.js";
56
+ import {
57
+ Tabs,
58
+ TabsContent,
59
+ TabsList,
60
+ TabsTrigger
61
+ } from "./chunk-4YJMCYQW.js";
40
62
  import {
41
63
  tokens
42
64
  } from "./chunk-OGJ3KIBM.js";
43
65
  import {
44
66
  Textarea
45
67
  } from "./chunk-B3VPCEGX.js";
46
- import {
47
- Select
48
- } from "./chunk-Z6HKBFCS.js";
49
68
  import {
50
69
  Checkbox
51
70
  } from "./chunk-UJJUFR7B.js";
52
71
  import {
53
- Radio
54
- } from "./chunk-46VRJZNH.js";
72
+ SiteFooter,
73
+ SiteFooterInner,
74
+ SiteHeader,
75
+ SiteHeaderInner,
76
+ SiteNav
77
+ } from "./chunk-QW7IHDAG.js";
55
78
  import {
56
- Switch
57
- } from "./chunk-LFWQDF6U.js";
79
+ Prose,
80
+ ProseScroll
81
+ } from "./chunk-GRQMKQRL.js";
58
82
  import {
59
- Separator
60
- } from "./chunk-JA3X5LJF.js";
83
+ PlatformLink,
84
+ PlatformLinks
85
+ } from "./chunk-BAJCEDO3.js";
86
+ import {
87
+ Kbd
88
+ } from "./chunk-DOCL5Y45.js";
89
+ import {
90
+ DocsNavigation,
91
+ TableOfContents,
92
+ observeActiveHeading,
93
+ useActiveHeading
94
+ } from "./chunk-URS474NU.js";
95
+ import {
96
+ ScrollHeader,
97
+ observeScrollHeader
98
+ } from "./chunk-OUFCQ2JE.js";
99
+ import {
100
+ LocalePicker
101
+ } from "./chunk-FKO6T5XG.js";
61
102
  import {
62
- Button
63
- } from "./chunk-3TIYT55P.js";
103
+ Select
104
+ } from "./chunk-Z6HKBFCS.js";
105
+ import {
106
+ ClipboardButton,
107
+ copyText
108
+ } from "./chunk-77W2JTCK.js";
109
+ import {
110
+ Button,
111
+ ButtonLink,
112
+ IconButton,
113
+ IconLink
114
+ } from "./chunk-A3PPKK5J.js";
64
115
  import {
65
116
  Slider
66
117
  } from "./chunk-U2Y2DJXG.js";
67
118
  import {
68
119
  CommandPalette
69
- } from "./chunk-WODRU2UN.js";
120
+ } from "./chunk-OJJPFVTC.js";
70
121
  import {
71
122
  Dialog,
72
123
  DialogClose,
@@ -82,14 +133,15 @@ import {
82
133
  Card
83
134
  } from "./chunk-VIWYEDTD.js";
84
135
  import {
85
- Badge
86
- } from "./chunk-KU7UNDPK.js";
136
+ LinkCard
137
+ } from "./chunk-U7RNP366.js";
87
138
  import {
88
- Tabs,
89
- TabsContent,
90
- TabsList,
91
- TabsTrigger
92
- } from "./chunk-4YJMCYQW.js";
139
+ CodeBlock,
140
+ CodeBlockCaption,
141
+ CodeBlockContent,
142
+ CodeBlockCopy,
143
+ CodeBlockHeader
144
+ } from "./chunk-I5VJBLHP.js";
93
145
  import "./chunk-54STG2JB.js";
94
146
  export {
95
147
  Accordion,
@@ -99,8 +151,15 @@ export {
99
151
  Badge,
100
152
  Breadcrumbs,
101
153
  Button,
154
+ ButtonLink,
102
155
  Card,
103
156
  Checkbox,
157
+ ClipboardButton,
158
+ CodeBlock,
159
+ CodeBlockCaption,
160
+ CodeBlockContent,
161
+ CodeBlockCopy,
162
+ CodeBlockHeader,
104
163
  CommandPalette,
105
164
  Dialog,
106
165
  DialogClose,
@@ -108,26 +167,49 @@ export {
108
167
  DialogDescription,
109
168
  DialogTitle,
110
169
  DialogTrigger,
170
+ DocsNavigation,
111
171
  EmptyState,
112
172
  Field,
173
+ IconButton,
174
+ IconLink,
113
175
  Input,
176
+ Kbd,
177
+ LinkCard,
178
+ LocalePicker,
114
179
  Pagination,
180
+ PlatformLink,
181
+ PlatformLinks,
115
182
  Progress,
183
+ Prose,
184
+ ProseScroll,
116
185
  Radio,
186
+ ScrollHeader,
117
187
  Select,
118
188
  Select as SelectDropdown,
119
189
  Separator,
190
+ SiteFooter,
191
+ SiteFooterInner,
192
+ SiteHeader,
193
+ SiteHeaderInner,
194
+ SiteNav,
120
195
  Skeleton,
121
196
  Slider,
122
197
  Spinner,
123
198
  Switch,
124
199
  Table,
200
+ TableOfContents,
125
201
  Tabs,
126
202
  TabsContent,
127
203
  TabsList,
128
204
  TabsTrigger,
129
205
  Textarea,
130
206
  Toast,
207
+ ToastProvider,
131
208
  ToastViewport,
132
- tokens
209
+ copyText,
210
+ observeActiveHeading,
211
+ observeScrollHeader,
212
+ tokens,
213
+ useActiveHeading,
214
+ useToast
133
215
  };
package/dist/kbd.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+
4
+ type KbdProps = ComponentPropsWithoutRef<'kbd'>;
5
+ declare const Kbd: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
6
+
7
+ export { Kbd };
8
+ export type { KbdProps };
package/dist/kbd.js ADDED
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import {
3
+ Kbd
4
+ } from "./chunk-DOCL5Y45.js";
5
+ import "./chunk-54STG2JB.js";
6
+ export {
7
+ Kbd
8
+ };
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+
4
+ type LinkCardProps = ComponentPropsWithoutRef<'a'>;
5
+ declare const LinkCard: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
6
+
7
+ export { LinkCard };
8
+ export type { LinkCardProps };
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import {
3
+ LinkCard
4
+ } from "./chunk-U7RNP366.js";
5
+ import "./chunk-54STG2JB.js";
6
+ export {
7
+ LinkCard
8
+ };
@@ -0,0 +1,18 @@
1
+ import * as react from 'react';
2
+ import { SelectDropdownOption as SelectOption, SelectDropdownProps as SelectProps } from './select.js';
3
+
4
+ type LocalePickerOption = SelectOption & {
5
+ href: string;
6
+ };
7
+ type LocalePickerProps = {
8
+ label: string;
9
+ options: readonly LocalePickerOption[];
10
+ value: string;
11
+ onValueChange?: (value: string, option: LocalePickerOption) => void;
12
+ className?: string;
13
+ selectProps?: Omit<SelectProps, 'options' | 'value' | 'defaultValue' | 'onValueChange' | 'aria-label'>;
14
+ };
15
+ declare const LocalePicker: react.ForwardRefExoticComponent<LocalePickerProps & react.RefAttributes<HTMLButtonElement>>;
16
+
17
+ export { LocalePicker };
18
+ export type { LocalePickerOption, LocalePickerProps };
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ LocalePicker
4
+ } from "./chunk-FKO6T5XG.js";
5
+ import "./chunk-Z6HKBFCS.js";
6
+ import "./chunk-54STG2JB.js";
7
+ export {
8
+ LocalePicker
9
+ };
@@ -0,0 +1,15 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+ import { IconControlName } from './button.js';
4
+
5
+ type PlatformLinkKind = 'github' | 'npm';
6
+ type PlatformLinkProps = Omit<ComponentPropsWithoutRef<'a'>, 'children' | 'aria-label' | 'aria-labelledby'> & IconControlName & {
7
+ platform: PlatformLinkKind;
8
+ href: string;
9
+ };
10
+ declare const PlatformLink: react.ForwardRefExoticComponent<PlatformLinkProps & react.RefAttributes<HTMLAnchorElement>>;
11
+ type PlatformLinksProps = ComponentPropsWithoutRef<'div'>;
12
+ declare const PlatformLinks: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
13
+
14
+ export { PlatformLink, PlatformLinks };
15
+ export type { PlatformLinkKind, PlatformLinkProps, PlatformLinksProps };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ PlatformLink,
4
+ PlatformLinks
5
+ } from "./chunk-BAJCEDO3.js";
6
+ import "./chunk-54STG2JB.js";
7
+ export {
8
+ PlatformLink,
9
+ PlatformLinks
10
+ };
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+
4
+ type ProseProps = ComponentPropsWithoutRef<'article'>;
5
+ declare const Prose: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
6
+ type ProseScrollProps = ComponentPropsWithoutRef<'div'>;
7
+ declare const ProseScroll: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
8
+
9
+ export { Prose, ProseScroll };
10
+ export type { ProseProps, ProseScrollProps };
package/dist/prose.js ADDED
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ Prose,
4
+ ProseScroll
5
+ } from "./chunk-GRQMKQRL.js";
6
+ import "./chunk-54STG2JB.js";
7
+ export {
8
+ Prose,
9
+ ProseScroll
10
+ };
@@ -0,0 +1,17 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+
4
+ type ScrollHeaderOptions = {
5
+ enabled?: boolean;
6
+ media?: string;
7
+ locked?: boolean;
8
+ hideThreshold?: number;
9
+ revealThreshold?: number;
10
+ topOffset?: number;
11
+ };
12
+ declare const observeScrollHeader: (header: HTMLElement, { enabled, media, locked, hideThreshold, revealThreshold, topOffset, }?: ScrollHeaderOptions) => () => void;
13
+ type ScrollHeaderProps = ComponentPropsWithoutRef<'header'> & ScrollHeaderOptions;
14
+ declare const ScrollHeader: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & ScrollHeaderOptions & react.RefAttributes<HTMLElement>>;
15
+
16
+ export { ScrollHeader, observeScrollHeader };
17
+ export type { ScrollHeaderOptions, ScrollHeaderProps };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import {
3
+ ScrollHeader,
4
+ observeScrollHeader
5
+ } from "./chunk-OUFCQ2JE.js";
6
+ import "./chunk-54STG2JB.js";
7
+ export {
8
+ ScrollHeader,
9
+ observeScrollHeader
10
+ };
@@ -0,0 +1,16 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef } from 'react';
3
+
4
+ type SiteHeaderProps = ComponentPropsWithoutRef<'header'>;
5
+ declare const SiteHeader: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
6
+ type SiteHeaderInnerProps = ComponentPropsWithoutRef<'div'>;
7
+ declare const SiteHeaderInner: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
8
+ type SiteFooterProps = ComponentPropsWithoutRef<'footer'>;
9
+ declare const SiteFooter: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
10
+ type SiteFooterInnerProps = ComponentPropsWithoutRef<'div'>;
11
+ declare const SiteFooterInner: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
12
+ type SiteNavProps = ComponentPropsWithoutRef<'nav'>;
13
+ declare const SiteNav: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
14
+
15
+ export { SiteFooter, SiteFooterInner, SiteHeader, SiteHeaderInner, SiteNav };
16
+ export type { SiteFooterInnerProps, SiteFooterProps, SiteHeaderInnerProps, SiteHeaderProps, SiteNavProps };
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import {
3
+ SiteFooter,
4
+ SiteFooterInner,
5
+ SiteHeader,
6
+ SiteHeaderInner,
7
+ SiteNav
8
+ } from "./chunk-QW7IHDAG.js";
9
+ import "./chunk-54STG2JB.js";
10
+ export {
11
+ SiteFooter,
12
+ SiteFooterInner,
13
+ SiteHeader,
14
+ SiteHeaderInner,
15
+ SiteNav
16
+ };