asta-ui 0.3.0 → 0.4.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 (179) hide show
  1. package/dist/accordion.js +1 -1
  2. package/dist/base/card-checkout.js +1 -1
  3. package/dist/base/footer-aui-025.d.ts +2 -0
  4. package/dist/base/footer-aui-025.js +9 -0
  5. package/dist/base/footer-aui-026.d.ts +2 -0
  6. package/dist/base/footer-aui-026.js +9 -0
  7. package/dist/base/footer-aui-027.d.ts +2 -0
  8. package/dist/base/footer-aui-027.js +9 -0
  9. package/dist/base/footer-aui-028.d.ts +2 -0
  10. package/dist/base/footer-aui-028.js +9 -0
  11. package/dist/base/navbar-aui-009.d.ts +2 -0
  12. package/dist/base/navbar-aui-009.js +9 -0
  13. package/dist/base/navbar-aui-010.d.ts +2 -0
  14. package/dist/base/navbar-aui-010.js +9 -0
  15. package/dist/base/navbar-aui-011.d.ts +2 -0
  16. package/dist/base/navbar-aui-011.js +9 -0
  17. package/dist/base/navbar-aui-012.d.ts +2 -0
  18. package/dist/base/navbar-aui-012.js +9 -0
  19. package/dist/base/navbar-aui-013.d.ts +2 -0
  20. package/dist/base/navbar-aui-013.js +9 -0
  21. package/dist/base/navbar-aui-014.d.ts +2 -0
  22. package/dist/base/navbar-aui-014.js +9 -0
  23. package/dist/base/now-playing.js +1 -1
  24. package/dist/base/payment-received.js +1 -1
  25. package/dist/base/pricing-aui-021.d.ts +2 -0
  26. package/dist/base/pricing-aui-021.js +9 -0
  27. package/dist/base/pricing-aui-022.d.ts +2 -0
  28. package/dist/base/pricing-aui-022.js +9 -0
  29. package/dist/base/pricing-aui-023.d.ts +2 -0
  30. package/dist/base/pricing-aui-023.js +9 -0
  31. package/dist/base/pricing-aui-024.d.ts +2 -0
  32. package/dist/base/pricing-aui-024.js +9 -0
  33. package/dist/base/sign-in-aui-015.d.ts +2 -0
  34. package/dist/base/sign-in-aui-015.js +9 -0
  35. package/dist/base/sign-in-aui-016.d.ts +2 -0
  36. package/dist/base/sign-in-aui-016.js +9 -0
  37. package/dist/base/sign-in-aui-017.d.ts +2 -0
  38. package/dist/base/sign-in-aui-017.js +9 -0
  39. package/dist/base/sign-in-aui-018.d.ts +2 -0
  40. package/dist/base/sign-in-aui-018.js +9 -0
  41. package/dist/base/sign-in-aui-019.d.ts +2 -0
  42. package/dist/base/sign-in-aui-019.js +9 -0
  43. package/dist/base/sign-in-aui-020.d.ts +2 -0
  44. package/dist/base/sign-in-aui-020.js +9 -0
  45. package/dist/base/spinner.js +1 -1
  46. package/dist/base.js +124 -4
  47. package/dist/card-checkout.js +1 -1
  48. package/dist/chunk-2SQQFICY.js +493 -0
  49. package/dist/{chunk-QJXPS55V.js → chunk-5TSQZY34.js} +1 -1
  50. package/dist/chunk-5U4H2CXC.js +308 -0
  51. package/dist/chunk-5WGDQ62P.js +122 -0
  52. package/dist/chunk-6B6NTRMC.js +293 -0
  53. package/dist/chunk-6NNHSXFD.js +539 -0
  54. package/dist/chunk-746WX2DF.js +480 -0
  55. package/dist/chunk-7GKCX4IE.js +636 -0
  56. package/dist/chunk-7SNVRPED.js +223 -0
  57. package/dist/chunk-BGVAXPHD.js +305 -0
  58. package/dist/chunk-F526V5BA.js +254 -0
  59. package/dist/chunk-LPTY5WXM.js +231 -0
  60. package/dist/chunk-MDI73RL6.js +245 -0
  61. package/dist/chunk-MUDW65ZT.js +220 -0
  62. package/dist/chunk-NZRQL3SA.js +201 -0
  63. package/dist/chunk-OFYGJUKP.js +278 -0
  64. package/dist/{chunk-NDBLIYMX.js → chunk-OKCSTMX3.js} +2 -2
  65. package/dist/chunk-P37H477M.js +236 -0
  66. package/dist/chunk-QSLS3ENY.js +469 -0
  67. package/dist/chunk-RRHQBGRO.js +327 -0
  68. package/dist/{chunk-2OGTIQVU.js → chunk-UEOEWP7L.js} +1 -1
  69. package/dist/{chunk-BP3LXM3X.js → chunk-UTGEGGSE.js} +1 -1
  70. package/dist/chunk-WNPMHOXE.js +136 -0
  71. package/dist/chunk-WTNNS7AX.js +362 -0
  72. package/dist/{chunk-AS6RA64I.js → chunk-XTP6ITUJ.js} +3 -1
  73. package/dist/footer-aui-025.d.ts +2 -0
  74. package/dist/footer-aui-025.js +9 -0
  75. package/dist/footer-aui-026.d.ts +2 -0
  76. package/dist/footer-aui-026.js +9 -0
  77. package/dist/footer-aui-027.d.ts +2 -0
  78. package/dist/footer-aui-027.js +9 -0
  79. package/dist/footer-aui-028.d.ts +2 -0
  80. package/dist/footer-aui-028.js +9 -0
  81. package/dist/index.js +125 -5
  82. package/dist/navbar-aui-009.d.ts +2 -0
  83. package/dist/navbar-aui-009.js +9 -0
  84. package/dist/navbar-aui-010.d.ts +2 -0
  85. package/dist/navbar-aui-010.js +9 -0
  86. package/dist/navbar-aui-011.d.ts +2 -0
  87. package/dist/navbar-aui-011.js +9 -0
  88. package/dist/navbar-aui-012.d.ts +2 -0
  89. package/dist/navbar-aui-012.js +9 -0
  90. package/dist/navbar-aui-013.d.ts +2 -0
  91. package/dist/navbar-aui-013.js +9 -0
  92. package/dist/navbar-aui-014.d.ts +2 -0
  93. package/dist/navbar-aui-014.js +9 -0
  94. package/dist/now-playing.js +1 -1
  95. package/dist/payment-received.js +1 -1
  96. package/dist/pricing-aui-021.d.ts +2 -0
  97. package/dist/pricing-aui-021.js +9 -0
  98. package/dist/pricing-aui-022.d.ts +2 -0
  99. package/dist/pricing-aui-022.js +9 -0
  100. package/dist/pricing-aui-023.d.ts +2 -0
  101. package/dist/pricing-aui-023.js +9 -0
  102. package/dist/pricing-aui-024.d.ts +2 -0
  103. package/dist/pricing-aui-024.js +9 -0
  104. package/dist/sign-in-aui-015.d.ts +2 -0
  105. package/dist/sign-in-aui-015.js +9 -0
  106. package/dist/sign-in-aui-016.d.ts +2 -0
  107. package/dist/sign-in-aui-016.js +9 -0
  108. package/dist/sign-in-aui-017.d.ts +2 -0
  109. package/dist/sign-in-aui-017.js +9 -0
  110. package/dist/sign-in-aui-018.d.ts +2 -0
  111. package/dist/sign-in-aui-018.js +9 -0
  112. package/dist/sign-in-aui-019.d.ts +2 -0
  113. package/dist/sign-in-aui-019.js +9 -0
  114. package/dist/sign-in-aui-020.d.ts +2 -0
  115. package/dist/sign-in-aui-020.js +9 -0
  116. package/dist/spinner.js +1 -1
  117. package/dist/types/components/kit/variants/footer-aui-025.d.ts +22 -0
  118. package/dist/types/components/kit/variants/footer-aui-026.d.ts +21 -0
  119. package/dist/types/components/kit/variants/footer-aui-027.d.ts +36 -0
  120. package/dist/types/components/kit/variants/footer-aui-028.d.ts +34 -0
  121. package/dist/types/components/kit/variants/navbar-aui-009.d.ts +62 -0
  122. package/dist/types/components/kit/variants/navbar-aui-010.d.ts +30 -0
  123. package/dist/types/components/kit/variants/navbar-aui-011.d.ts +65 -0
  124. package/dist/types/components/kit/variants/navbar-aui-012.d.ts +50 -0
  125. package/dist/types/components/kit/variants/navbar-aui-013.d.ts +70 -0
  126. package/dist/types/components/kit/variants/navbar-aui-014.d.ts +31 -0
  127. package/dist/types/components/kit/variants/pricing-aui-021.d.ts +30 -0
  128. package/dist/types/components/kit/variants/pricing-aui-022.d.ts +34 -0
  129. package/dist/types/components/kit/variants/pricing-aui-023.d.ts +26 -0
  130. package/dist/types/components/kit/variants/pricing-aui-024.d.ts +29 -0
  131. package/dist/types/components/kit/variants/sign-in-aui-015.d.ts +21 -0
  132. package/dist/types/components/kit/variants/sign-in-aui-016.d.ts +28 -0
  133. package/dist/types/components/kit/variants/sign-in-aui-017.d.ts +21 -0
  134. package/dist/types/components/kit/variants/sign-in-aui-018.d.ts +22 -0
  135. package/dist/types/components/kit/variants/sign-in-aui-019.d.ts +22 -0
  136. package/dist/types/components/kit/variants/sign-in-aui-020.d.ts +27 -0
  137. package/dist/types/packages/asta-ui/src/base/footer-aui-025.d.ts +2 -0
  138. package/dist/types/packages/asta-ui/src/base/footer-aui-026.d.ts +2 -0
  139. package/dist/types/packages/asta-ui/src/base/footer-aui-027.d.ts +2 -0
  140. package/dist/types/packages/asta-ui/src/base/footer-aui-028.d.ts +2 -0
  141. package/dist/types/packages/asta-ui/src/base/navbar-aui-009.d.ts +2 -0
  142. package/dist/types/packages/asta-ui/src/base/navbar-aui-010.d.ts +2 -0
  143. package/dist/types/packages/asta-ui/src/base/navbar-aui-011.d.ts +2 -0
  144. package/dist/types/packages/asta-ui/src/base/navbar-aui-012.d.ts +2 -0
  145. package/dist/types/packages/asta-ui/src/base/navbar-aui-013.d.ts +2 -0
  146. package/dist/types/packages/asta-ui/src/base/navbar-aui-014.d.ts +2 -0
  147. package/dist/types/packages/asta-ui/src/base/pricing-aui-021.d.ts +2 -0
  148. package/dist/types/packages/asta-ui/src/base/pricing-aui-022.d.ts +2 -0
  149. package/dist/types/packages/asta-ui/src/base/pricing-aui-023.d.ts +2 -0
  150. package/dist/types/packages/asta-ui/src/base/pricing-aui-024.d.ts +2 -0
  151. package/dist/types/packages/asta-ui/src/base/sign-in-aui-015.d.ts +2 -0
  152. package/dist/types/packages/asta-ui/src/base/sign-in-aui-016.d.ts +2 -0
  153. package/dist/types/packages/asta-ui/src/base/sign-in-aui-017.d.ts +2 -0
  154. package/dist/types/packages/asta-ui/src/base/sign-in-aui-018.d.ts +2 -0
  155. package/dist/types/packages/asta-ui/src/base/sign-in-aui-019.d.ts +2 -0
  156. package/dist/types/packages/asta-ui/src/base/sign-in-aui-020.d.ts +2 -0
  157. package/dist/types/packages/asta-ui/src/base.d.ts +40 -0
  158. package/dist/types/packages/asta-ui/src/footer-aui-025.d.ts +2 -0
  159. package/dist/types/packages/asta-ui/src/footer-aui-026.d.ts +2 -0
  160. package/dist/types/packages/asta-ui/src/footer-aui-027.d.ts +2 -0
  161. package/dist/types/packages/asta-ui/src/footer-aui-028.d.ts +2 -0
  162. package/dist/types/packages/asta-ui/src/index.d.ts +40 -0
  163. package/dist/types/packages/asta-ui/src/navbar-aui-009.d.ts +2 -0
  164. package/dist/types/packages/asta-ui/src/navbar-aui-010.d.ts +2 -0
  165. package/dist/types/packages/asta-ui/src/navbar-aui-011.d.ts +2 -0
  166. package/dist/types/packages/asta-ui/src/navbar-aui-012.d.ts +2 -0
  167. package/dist/types/packages/asta-ui/src/navbar-aui-013.d.ts +2 -0
  168. package/dist/types/packages/asta-ui/src/navbar-aui-014.d.ts +2 -0
  169. package/dist/types/packages/asta-ui/src/pricing-aui-021.d.ts +2 -0
  170. package/dist/types/packages/asta-ui/src/pricing-aui-022.d.ts +2 -0
  171. package/dist/types/packages/asta-ui/src/pricing-aui-023.d.ts +2 -0
  172. package/dist/types/packages/asta-ui/src/pricing-aui-024.d.ts +2 -0
  173. package/dist/types/packages/asta-ui/src/sign-in-aui-015.d.ts +2 -0
  174. package/dist/types/packages/asta-ui/src/sign-in-aui-016.d.ts +2 -0
  175. package/dist/types/packages/asta-ui/src/sign-in-aui-017.d.ts +2 -0
  176. package/dist/types/packages/asta-ui/src/sign-in-aui-018.d.ts +2 -0
  177. package/dist/types/packages/asta-ui/src/sign-in-aui-019.d.ts +2 -0
  178. package/dist/types/packages/asta-ui/src/sign-in-aui-020.d.ts +2 -0
  179. package/package.json +1 -1
@@ -0,0 +1,62 @@
1
+ import { type ReactNode } from "react";
2
+ export type MinimalNavbarIcon = "map" | "check" | "chart" | "bolt" | "plug" | "book" | "grid" | "play" | "users" | "spark" | "mail";
3
+ export interface MinimalNavbarTile {
4
+ title: string;
5
+ description?: string;
6
+ href: string;
7
+ icon?: MinimalNavbarIcon;
8
+ }
9
+ export type MinimalNavbarMenu =
10
+ /** Two big product tiles with a small preview in the corner, then a row of feature tiles. */
11
+ {
12
+ type: "products";
13
+ products: (MinimalNavbarTile & {
14
+ preview: "roadmap" | "issues";
15
+ })[];
16
+ features: MinimalNavbarTile[];
17
+ }
18
+ /** Columns of icon rows plus one dark call-to-action card. */
19
+ | {
20
+ type: "columns";
21
+ columns: {
22
+ heading: string;
23
+ items: MinimalNavbarTile[];
24
+ }[];
25
+ cta: {
26
+ title: string;
27
+ description: string;
28
+ label: string;
29
+ href: string;
30
+ };
31
+ };
32
+ export interface MinimalNavbarItem {
33
+ label: string;
34
+ /** Plain link. */
35
+ href?: string;
36
+ /** Opens a mega menu instead. */
37
+ menu?: MinimalNavbarMenu;
38
+ }
39
+ export interface MinimalNavbarProps {
40
+ brand?: ReactNode;
41
+ brandHref?: string;
42
+ items?: MinimalNavbarItem[];
43
+ /** Index of the current page in `items`. The underline rests here. */
44
+ active?: number;
45
+ secondary?: {
46
+ label: string;
47
+ href: string;
48
+ };
49
+ cta?: {
50
+ label: string;
51
+ href: string;
52
+ };
53
+ /** Label of a menu to open once, shortly after mount, to show it is there. It closes like normal after. */
54
+ openOnMount?: string;
55
+ className?: string;
56
+ }
57
+ /**
58
+ * aui-009 · Compact header whose signature is an elastic underline riding the bar's bottom edge: it stretches to
59
+ * whatever you point at or open, then snaps to size. Menus open in one shared mega-menu panel of tiles.
60
+ */
61
+ export declare function MinimalNavbar({ brand, brandHref, items, active, secondary, cta, openOnMount, className, }: MinimalNavbarProps): import("react").JSX.Element;
62
+ export default MinimalNavbar;
@@ -0,0 +1,30 @@
1
+ import { type ReactNode, type RefObject } from "react";
2
+ export interface FloatingNavbarLink {
3
+ label: string;
4
+ href: string;
5
+ }
6
+ export interface FloatingNavbarProps {
7
+ brand?: ReactNode;
8
+ brandHref?: string;
9
+ links?: FloatingNavbarLink[];
10
+ /** Quiet link before the button, e.g. "Sign in". */
11
+ secondary?: {
12
+ label: string;
13
+ href: string;
14
+ };
15
+ cta?: {
16
+ label: string;
17
+ href: string;
18
+ };
19
+ /** Element (or ref to it) whose scroll shrinks the bar. Defaults to the window. */
20
+ scrollRoot?: RefObject<HTMLElement | null> | HTMLElement | null;
21
+ /** Scroll distance in px before the bar shrinks. */
22
+ threshold?: number;
23
+ className?: string;
24
+ }
25
+ /**
26
+ * aui-010 · Floating glass bar whose signature is a soft brand glow that follows the pointer across it,
27
+ * with a pill that glides behind links. On scroll it tucks in (scales down) and gains a shadow.
28
+ */
29
+ export declare function FloatingNavbar({ brand, brandHref, links, secondary, cta, scrollRoot, threshold, className, }: FloatingNavbarProps): import("react").JSX.Element;
30
+ export default FloatingNavbar;
@@ -0,0 +1,65 @@
1
+ export type CenteredNavbarIcon = "vase" | "bowl" | "jug" | "plate" | "cup" | "gift" | "pin" | "brush" | "leaf" | "box" | "undo" | "mail";
2
+ export interface CenteredNavbarTile {
3
+ title: string;
4
+ description?: string;
5
+ href: string;
6
+ icon?: CenteredNavbarIcon;
7
+ }
8
+ export type CenteredNavbarMenu =
9
+ /** A three-column grid of tiles. */
10
+ {
11
+ type: "grid";
12
+ items: CenteredNavbarTile[];
13
+ }
14
+ /** Columns of icon rows plus one brand call-to-action card. */
15
+ | {
16
+ type: "columns";
17
+ columns: {
18
+ heading: string;
19
+ items: CenteredNavbarTile[];
20
+ }[];
21
+ cta: {
22
+ title: string;
23
+ description: string;
24
+ label: string;
25
+ href: string;
26
+ };
27
+ };
28
+ export interface CenteredNavbarItem {
29
+ label: string;
30
+ href?: string;
31
+ /** Opens a mega menu instead of linking. Only items left of the wordmark take menus. */
32
+ menu?: CenteredNavbarMenu;
33
+ }
34
+ export interface CenteredNavbarProps {
35
+ /** Text of the centred wordmark. Each letter animates on its own. */
36
+ wordmark?: string;
37
+ brandHref?: string;
38
+ /** Items left of the wordmark. These can open mega menus. */
39
+ left?: CenteredNavbarItem[];
40
+ /** Plain links right of the wordmark, before the actions. */
41
+ right?: {
42
+ label: string;
43
+ href: string;
44
+ }[];
45
+ /** Quiet link on the right edge, e.g. "Sign in". */
46
+ secondary?: {
47
+ label: string;
48
+ href: string;
49
+ };
50
+ cta?: {
51
+ label: string;
52
+ href: string;
53
+ };
54
+ /** Index into `[...left, ...right]` of the current page. */
55
+ active?: number;
56
+ /** Label of a menu to open once, shortly after mount, to show it is there. */
57
+ openOnMount?: string;
58
+ className?: string;
59
+ }
60
+ /**
61
+ * aui-011 · Dark symmetric header whose signature is the centred wordmark: its letters rise in one by one and ripple
62
+ * upward around the pointer. Items on the left open dark mega menus, plain links and actions sit on the right.
63
+ */
64
+ export declare function CenteredNavbar({ wordmark, brandHref, left, right, secondary, cta, active, openOnMount, className, }: CenteredNavbarProps): import("react").JSX.Element;
65
+ export default CenteredNavbar;
@@ -0,0 +1,50 @@
1
+ export interface AppNavbarWorkspace {
2
+ id: string;
3
+ name: string;
4
+ /** Small line under the name, e.g. the plan. */
5
+ detail?: string;
6
+ }
7
+ export interface AppNavbarUser {
8
+ name: string;
9
+ email: string;
10
+ }
11
+ export interface AppNavbarMenuItem {
12
+ label: string;
13
+ href?: string;
14
+ onSelect?: () => void;
15
+ }
16
+ export interface AppNavbarResult {
17
+ /** Group heading, e.g. "Projects". */
18
+ group: string;
19
+ label: string;
20
+ /** Small text on the right, e.g. a shortcut or a status. */
21
+ hint?: string;
22
+ href?: string;
23
+ }
24
+ export interface AppNavbarProps {
25
+ /** Listen for ⌘K / Ctrl K. Turn off when the page already has its own shortcut. Default true. */
26
+ shortcut?: boolean;
27
+ workspaces?: AppNavbarWorkspace[];
28
+ defaultWorkspace?: string;
29
+ onWorkspaceChange?: (id: string) => void;
30
+ user?: AppNavbarUser;
31
+ /** Items in the avatar menu. */
32
+ menu?: AppNavbarMenuItem[];
33
+ /** Unread notifications. The bell shows a dot when above 0. */
34
+ unread?: number;
35
+ onNotifications?: () => void;
36
+ /** Suggestions in the palette that drops from the search field. Filtered as you type. */
37
+ results?: AppNavbarResult[];
38
+ /** Called with the picked result, or with `null` and the query when Enter is pressed with no match. */
39
+ onSearch?: (query: string, result: AppNavbarResult | null) => void;
40
+ searchPlaceholder?: string;
41
+ /** Drop the palette open once after mount and step through a few results, to show it is there. */
42
+ tour?: boolean;
43
+ className?: string;
44
+ }
45
+ /**
46
+ * aui-012 · Product app header whose signature is a command palette that drops straight out of the search
47
+ * field, with grouped results and arrow-key picking. Also a workspace switcher, a pinging bell and an avatar menu.
48
+ */
49
+ export declare function AppNavbar({ shortcut, workspaces, defaultWorkspace, onWorkspaceChange, user, menu, unread, onNotifications, results, onSearch, searchPlaceholder, tour, className, }: AppNavbarProps): import("react").JSX.Element;
50
+ export default AppNavbar;
@@ -0,0 +1,70 @@
1
+ import { type MouseEvent, type ReactNode } from "react";
2
+ export type DocsNavbarIcon = "rocket" | "download" | "palette" | "token" | "layers" | "access" | "form" | "overlay" | "compass" | "table" | "bell" | "layout";
3
+ export interface DocsNavbarTile {
4
+ title: string;
5
+ description?: string;
6
+ href: string;
7
+ icon?: DocsNavbarIcon;
8
+ /** Small count or tag shown on grid tiles, e.g. "12". */
9
+ meta?: string;
10
+ }
11
+ export type DocsNavbarMenu =
12
+ /** A three-column grid of tiles. */
13
+ {
14
+ type: "grid";
15
+ items: DocsNavbarTile[];
16
+ }
17
+ /** Columns of icon rows plus one dark card for the newest release. */
18
+ | {
19
+ type: "columns";
20
+ columns: {
21
+ heading: string;
22
+ items: DocsNavbarTile[];
23
+ }[];
24
+ cta: {
25
+ eyebrow: string;
26
+ title: string;
27
+ label: string;
28
+ href: string;
29
+ };
30
+ };
31
+ export interface DocsNavbarSection {
32
+ label: string;
33
+ href?: string;
34
+ /** Opens a mega menu instead of linking. */
35
+ menu?: DocsNavbarMenu;
36
+ /** Small dot next to the label, e.g. for a fresh changelog. */
37
+ fresh?: boolean;
38
+ }
39
+ export interface DocsNavbarProps {
40
+ /** Listen for ⌘K / Ctrl K. Turn off when the page already has its own shortcut. Default true. */
41
+ shortcut?: boolean;
42
+ brand?: ReactNode;
43
+ brandHref?: string;
44
+ sections?: DocsNavbarSection[];
45
+ /** Index of the current section. Uncontrolled: clicking a plain tab moves it. */
46
+ defaultSection?: number;
47
+ /** Called when a plain tab is clicked. Call `event.preventDefault()` to stay on the page. */
48
+ onNavigate?: (index: number, event: MouseEvent<HTMLAnchorElement>) => void;
49
+ /** Newest first. The first one gets the "Latest" badge. */
50
+ versions?: string[];
51
+ /** Release date per version, shown in the version menu. */
52
+ versionDates?: Record<string, string>;
53
+ defaultVersion?: string;
54
+ onVersionChange?: (version: string) => void;
55
+ /** Opens your search dialog. Also runs on ⌘K / Ctrl K. */
56
+ onSearch?: () => void;
57
+ /** Link to the source repository. */
58
+ repoHref?: string;
59
+ /** Small label next to the repo icon, e.g. a star count. */
60
+ repoLabel?: string;
61
+ /** Label of a menu to open once, shortly after mount, to show it is there. */
62
+ openOnMount?: string;
63
+ className?: string;
64
+ }
65
+ /**
66
+ * aui-013 · Compact docs header whose signature is the version switch: pick a release and the label rolls up or down
67
+ * to it. Section tabs share one brand underline that glides between them, and two of them open mega menus.
68
+ */
69
+ export declare function DocsNavbar({ shortcut, brand, brandHref, sections, defaultSection, onNavigate, versions, versionDates, defaultVersion, onVersionChange, onSearch, repoHref, repoLabel, openOnMount, className, }: DocsNavbarProps): import("react").JSX.Element;
70
+ export default DocsNavbar;
@@ -0,0 +1,31 @@
1
+ import { type ReactNode, type RefObject } from "react";
2
+ export interface AutoHideNavbarLink {
3
+ label: string;
4
+ href: string;
5
+ }
6
+ export interface AutoHideNavbarProps {
7
+ brand?: ReactNode;
8
+ brandHref?: string;
9
+ links?: AutoHideNavbarLink[];
10
+ cta?: {
11
+ label: string;
12
+ href: string;
13
+ };
14
+ /** Element (or ref to it) whose scroll drives hiding and progress. Defaults to the window. */
15
+ scrollRoot?: RefObject<HTMLElement | null> | HTMLElement | null;
16
+ /** Title of the page being read. Once you pass `titleAt`, the links give way to it and a live percentage. */
17
+ title?: string;
18
+ /** Scroll offset in px where the title takes over from the links. Default 280. */
19
+ titleAt?: number;
20
+ /** Show the reading-progress bar under the header. */
21
+ progress?: boolean;
22
+ /** The header never hides above this scroll offset, in px. */
23
+ offset?: number;
24
+ className?: string;
25
+ }
26
+ /**
27
+ * aui-014 · Reading header whose signature is the handover: once you are into the page the links fade out and
28
+ * the bar shows what you are reading with a rolling percentage. It slides away on scroll down and back on scroll up.
29
+ */
30
+ export declare function AutoHideNavbar({ brand, brandHref, links, cta, scrollRoot, title, titleAt, progress, offset, className, }: AutoHideNavbarProps): import("react").JSX.Element;
31
+ export default AutoHideNavbar;
@@ -0,0 +1,30 @@
1
+ export interface PricingTableProps {
2
+ /** Plan columns, left to right. The `recommended` one is where the lens rests. */
3
+ plans?: {
4
+ name: string;
5
+ price: number;
6
+ period?: string;
7
+ recommended?: boolean;
8
+ cta?: {
9
+ label: string;
10
+ href: string;
11
+ };
12
+ }[];
13
+ /** Feature rows in groups. Each value lines up with `plans`: `true` = included, `false` = not, text = a limit. */
14
+ groups?: {
15
+ name: string;
16
+ rows: {
17
+ label: string;
18
+ values: (boolean | string)[];
19
+ }[];
20
+ }[];
21
+ currency?: string;
22
+ /** Height of the scroll box. The header row sticks to its top. */
23
+ maxHeight?: number;
24
+ /** Sweep the lens across the columns once after mount, to show it follows the pointer. */
25
+ hint?: boolean;
26
+ className?: string;
27
+ }
28
+ /** aui-021 · Comparison table with a brand lens that rests on the recommended plan and glides to whichever column you point at or tab into. */
29
+ export declare function PricingTable({ plans, groups, currency, maxHeight, hint, className }: PricingTableProps): import("react").JSX.Element;
30
+ export default PricingTable;
@@ -0,0 +1,34 @@
1
+ export interface SinglePlanProps {
2
+ /** Plan name, set in a serif display face. */
3
+ name?: string;
4
+ /** Small line above the name. */
5
+ eyebrow?: string;
6
+ description?: string;
7
+ /** Price per month for each billing period. */
8
+ price?: {
9
+ monthly: number;
10
+ yearly: number;
11
+ };
12
+ currency?: string;
13
+ /** Badge on the yearly option, e.g. "−20%". */
14
+ saving?: string;
15
+ defaultYearly?: boolean;
16
+ included?: string[];
17
+ cta?: {
18
+ label: string;
19
+ href: string;
20
+ };
21
+ /** Small print under the button. */
22
+ note?: string;
23
+ /** The painting on the side of the card. */
24
+ image?: string;
25
+ imageAlt?: string;
26
+ /** Credit shown on the painting. Empty hides it. */
27
+ imageCaption?: string;
28
+ /** Flip to yearly once after mount, to show the price roll. */
29
+ hint?: boolean;
30
+ className?: string;
31
+ }
32
+ /** aui-022 · A single plan on a painted card: a serif name beside a slow-settling painting with pointer parallax, and a price that rolls when billing flips. */
33
+ export declare function SinglePlan({ name, eyebrow, description, price, currency, saving, defaultYearly, included, cta, note, image, imageAlt, imageCaption, hint, className, }: SinglePlanProps): import("react").JSX.Element;
34
+ export default SinglePlan;
@@ -0,0 +1,26 @@
1
+ export interface UsagePricingProps {
2
+ /** Volume tiers, in order. A tier applies while the amount is at or below `upTo`; its unit price covers every unit. */
3
+ tiers?: {
4
+ label: string;
5
+ upTo: number;
6
+ unitPrice: number;
7
+ }[];
8
+ /** What the slider counts, singular, e.g. "seat" or "1k requests". */
9
+ unit?: string;
10
+ min?: number;
11
+ max?: number;
12
+ step?: number;
13
+ defaultValue?: number;
14
+ currency?: string;
15
+ onChange?: (value: number, total: number) => void;
16
+ cta?: {
17
+ label: string;
18
+ href: string;
19
+ };
20
+ /** Sweep the slider from `min` up to `defaultValue` once after mount. */
21
+ intro?: boolean;
22
+ className?: string;
23
+ }
24
+ /** aui-023 · A dark usage calculator: a cost histogram lights up to the thumb, a bubble rides it, the price rolls and the tier marker glides. */
25
+ export declare function UsagePricing({ tiers, unit, min, max, step, defaultValue, currency, onChange, cta, intro, className, }: UsagePricingProps): import("react").JSX.Element;
26
+ export default UsagePricing;
@@ -0,0 +1,29 @@
1
+ export interface PricingTiersProps {
2
+ /** Three or four tiers, shown as rows. */
3
+ tiers?: {
4
+ id: string;
5
+ name: string;
6
+ description: string;
7
+ price: number;
8
+ tag?: string;
9
+ }[];
10
+ title?: string;
11
+ /** Line under the title, e.g. the workspace and its size. */
12
+ subtitle?: string;
13
+ /** Initials in the avatar next to the title. Empty hides it. */
14
+ initials?: string;
15
+ currency?: string;
16
+ /** Suffix after the price, e.g. "/ mo". */
17
+ period?: string;
18
+ defaultValue?: string;
19
+ onChange?: (id: string) => void;
20
+ /** Called with the chosen tier id when the button is pressed. */
21
+ onContinue?: (id: string) => void;
22
+ ctaLabel?: string;
23
+ /** Glide the ring to the next row and back once after mount. */
24
+ hint?: boolean;
25
+ className?: string;
26
+ }
27
+ /** aui-024 · Tiers as rows in a radio group: a brand ring glides to the choice and the total rolls in a dark dock below. */
28
+ export declare function PricingTiers({ tiers, title, subtitle, initials, currency, period, defaultValue, onChange, onContinue, ctaLabel, hint, className, }: PricingTiersProps): import("react").JSX.Element;
29
+ export default PricingTiers;
@@ -0,0 +1,21 @@
1
+ export interface MagicLinkSignInProps {
2
+ brand?: string;
3
+ title?: string;
4
+ subtitle?: string;
5
+ defaultEmail?: string;
6
+ /** Sends the link. Resolve when it's sent, reject (with a message) to show an error. */
7
+ onSend?: (email: string) => Promise<void>;
8
+ /** Sends the link again. Defaults to `onSend`. */
9
+ onResend?: (email: string) => Promise<void>;
10
+ /** Seconds before Resend unlocks. */
11
+ resendAfter?: number;
12
+ /** Link for the Open mail button. */
13
+ mailHref?: string;
14
+ className?: string;
15
+ }
16
+ /**
17
+ * aui-015 · Magic link sign-in. Signature: the send arrow flies off as a paper plane, the email itself drops
18
+ * into a mini inbox preview, and the Resend button carries a timer bar that drains over the countdown.
19
+ */
20
+ export declare function MagicLinkSignIn({ brand, title, subtitle, defaultEmail, onSend, onResend, resendAfter, mailHref, className, }: MagicLinkSignInProps): import("react").JSX.Element;
21
+ export default MagicLinkSignIn;
@@ -0,0 +1,28 @@
1
+ export interface SplitSignInProps {
2
+ brand?: string;
3
+ /** Small sans line above the headline. */
4
+ eyebrow?: string;
5
+ /** Serif headline. Use "\n" for the line break. */
6
+ title?: string;
7
+ /** Two short lines in serif next to the brand. */
8
+ tagline?: string;
9
+ image?: string;
10
+ imageAlt?: string;
11
+ /** Museum-plate caption on the painting. Empty hides it. */
12
+ caption?: string;
13
+ backHref?: string;
14
+ onBack?: () => void;
15
+ signUpHref?: string;
16
+ /** Resolve to finish, reject (with a message) to show an error. */
17
+ onSubmit?: (data: {
18
+ email: string;
19
+ password: string;
20
+ }) => Promise<void>;
21
+ className?: string;
22
+ }
23
+ /**
24
+ * aui-016 · An editorial sign-in. Signature: a painting fills the left panel, settles in from a slow zoom,
25
+ * drifts with the pointer and carries a museum-plate caption, next to a big serif headline and soft filled fields.
26
+ */
27
+ export declare function SplitSignIn({ brand, eyebrow, title, tagline, image, imageAlt, caption, backHref, onBack, signUpHref, onSubmit, className, }: SplitSignInProps): import("react").JSX.Element;
28
+ export default SplitSignIn;
@@ -0,0 +1,21 @@
1
+ export type SocialSignInProvider = "google" | "github" | "apple";
2
+ export interface SocialSignInProps {
3
+ title?: string;
4
+ subtitle?: string;
5
+ providers?: SocialSignInProvider[];
6
+ /** Marks one provider with a "Last used" tag. */
7
+ lastUsed?: SocialSignInProvider;
8
+ /** Resolve when the provider flow finishes, reject (with a message) to show an error. */
9
+ onProvider?: (provider: SocialSignInProvider) => Promise<void>;
10
+ /** Called with the email. Resolve when the link is sent. */
11
+ onEmail?: (email: string) => Promise<void>;
12
+ /** Glide the highlight across the providers once after mount, to show it off. */
13
+ hint?: boolean;
14
+ className?: string;
15
+ }
16
+ /**
17
+ * aui-017 · Social-first sign-in. Signature: one soft highlight glides between the provider buttons as you
18
+ * hover or tab, the chosen one sweeps while it connects, and "Continue with email" fades the field in.
19
+ */
20
+ export declare function SocialSignIn({ title, subtitle, providers, lastUsed, onProvider, onEmail, hint, className, }: SocialSignInProps): import("react").JSX.Element;
21
+ export default SocialSignIn;
@@ -0,0 +1,22 @@
1
+ export interface StepSignInProps {
2
+ brand?: string;
3
+ title?: string;
4
+ subtitle?: string;
5
+ defaultEmail?: string;
6
+ /** Step 1. Resolve to move on (optionally with the account's display name), reject (with a message) to show an error. */
7
+ onEmail?: (email: string) => Promise<void | {
8
+ name?: string;
9
+ }>;
10
+ /** Step 2. Resolve to finish, reject (with a message) to show an error. */
11
+ onSubmit?: (data: {
12
+ email: string;
13
+ password: string;
14
+ }) => Promise<void>;
15
+ className?: string;
16
+ }
17
+ /**
18
+ * aui-018 · Two-step sign-in. Signature: after the email, the card slides sideways to an account chip whose
19
+ * avatar pops in with a halo, a segmented progress rail fills, and a Caps Lock hint appears while you type.
20
+ */
21
+ export declare function StepSignIn({ brand, title, subtitle, defaultEmail, onEmail, onSubmit, className }: StepSignInProps): import("react").JSX.Element;
22
+ export default StepSignIn;
@@ -0,0 +1,22 @@
1
+ export interface PasskeySignInProps {
2
+ brand?: string;
3
+ title?: string;
4
+ subtitle?: string;
5
+ /** The saved passkey shown under the button, e.g. "MacBook Pro · iCloud Keychain". Empty hides it. */
6
+ device?: string;
7
+ deviceMeta?: string;
8
+ /** Run the WebAuthn ceremony here. Resolve to finish, reject (with a message) to show an error. */
9
+ onPasskey?: () => Promise<void>;
10
+ /** The password fallback. Resolve to finish, reject (with a message) to show an error. */
11
+ onPassword?: (data: {
12
+ email: string;
13
+ password: string;
14
+ }) => Promise<void>;
15
+ className?: string;
16
+ }
17
+ /**
18
+ * aui-019 · Passkey sign-in on a dark card. Signature: the fingerprint draws in ridge by ridge, then a scan
19
+ * line sweeps it with brand ripples while it waits for your device, and a password fallback slides in.
20
+ */
21
+ export declare function PasskeySignIn({ brand, title, subtitle, device, deviceMeta, onPasskey, onPassword, className, }: PasskeySignInProps): import("react").JSX.Element;
22
+ export default PasskeySignIn;
@@ -0,0 +1,27 @@
1
+ export interface SignUpCardProps {
2
+ brand?: string;
3
+ title?: string;
4
+ subtitle?: string;
5
+ /** How many of the four password rules must pass. */
6
+ minStrength?: 1 | 2 | 3 | 4;
7
+ termsHref?: string;
8
+ /** Prefilled values, handy for demos. */
9
+ defaults?: {
10
+ name?: string;
11
+ email?: string;
12
+ password?: string;
13
+ };
14
+ /** Resolve when the account exists, reject (with a message) to show an error. */
15
+ onSubmit?: (data: {
16
+ name: string;
17
+ email: string;
18
+ password: string;
19
+ }) => Promise<void>;
20
+ className?: string;
21
+ }
22
+ /**
23
+ * aui-020 · Sign-up card. Signature: a live avatar builds your initials as you type, the four strength
24
+ * segments fill in sequence while the strength word rolls like a ticker, and each rule ticks off with a pop.
25
+ */
26
+ export declare function SignUpCard({ brand, title, subtitle, minStrength, termsHref, defaults, onSubmit, className, }: SignUpCardProps): import("react").JSX.Element;
27
+ export default SignUpCard;
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/footer-aui-025";
2
+ export { default } from "../../../../components/kit/variants/footer-aui-025";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/footer-aui-026";
2
+ export { default } from "../../../../components/kit/variants/footer-aui-026";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/footer-aui-027";
2
+ export { default } from "../../../../components/kit/variants/footer-aui-027";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/footer-aui-028";
2
+ export { default } from "../../../../components/kit/variants/footer-aui-028";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-009";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-009";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-010";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-010";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-011";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-011";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-012";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-012";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-013";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-013";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/navbar-aui-014";
2
+ export { default } from "../../../../components/kit/variants/navbar-aui-014";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/pricing-aui-021";
2
+ export { default } from "../../../../components/kit/variants/pricing-aui-021";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/pricing-aui-022";
2
+ export { default } from "../../../../components/kit/variants/pricing-aui-022";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/pricing-aui-023";
2
+ export { default } from "../../../../components/kit/variants/pricing-aui-023";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/pricing-aui-024";
2
+ export { default } from "../../../../components/kit/variants/pricing-aui-024";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/sign-in-aui-015";
2
+ export { default } from "../../../../components/kit/variants/sign-in-aui-015";
@@ -0,0 +1,2 @@
1
+ export * from "../../../../components/kit/variants/sign-in-aui-016";
2
+ export { default } from "../../../../components/kit/variants/sign-in-aui-016";