@plusrouter/ui 0.0.0-stage → 0.1.8

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 (178) hide show
  1. package/dist/SideNavigation-qz3aib86.js +5974 -0
  2. package/dist/assets/BASE-LICENSE +25 -0
  3. package/dist/assets/SpaceGrotesk.LICENSE +93 -0
  4. package/dist/assets/SpaceGrotesk.ttf +0 -0
  5. package/dist/assets/UPSTREAM-LICENSE +21 -0
  6. package/dist/brand.css +204 -0
  7. package/dist/components.js +3702 -0
  8. package/dist/index.js +2250 -0
  9. package/dist/styles.css +20496 -0
  10. package/dist/tokens.css +179 -0
  11. package/dist/types/components/Components/AlertDialog/AlertDialog.d.ts +25 -0
  12. package/dist/types/components/Components/AlertDialog/index.d.ts +1 -0
  13. package/dist/types/components/Components/AuthCard/AuthCard.d.ts +19 -0
  14. package/dist/types/components/Components/AuthCard/index.d.ts +1 -0
  15. package/dist/types/components/Components/BarChart/BarChart.d.ts +7 -0
  16. package/dist/types/components/Components/BarChart/index.d.ts +1 -0
  17. package/dist/types/components/Components/Billing/Billing.d.ts +125 -0
  18. package/dist/types/components/Components/Billing/index.d.ts +1 -0
  19. package/dist/types/components/Components/Effects/BackgroundCursor.d.ts +16 -0
  20. package/dist/types/components/Components/Effects/BackgroundDotted.d.ts +2 -0
  21. package/dist/types/components/Components/Effects/BackgroundLineField.d.ts +9 -0
  22. package/dist/types/components/Components/Effects/BackgroundPlus.d.ts +8 -0
  23. package/dist/types/components/Components/Effects/BackgroundSquare.d.ts +6 -0
  24. package/dist/types/components/Components/Effects/BrandIntro.d.ts +4 -0
  25. package/dist/types/components/Components/Effects/EffectCard.d.ts +5 -0
  26. package/dist/types/components/Components/Effects/PlusField.d.ts +4 -0
  27. package/dist/types/components/Components/Effects/ThemeTransition.d.ts +3 -0
  28. package/dist/types/components/Components/Effects/blast.d.ts +21 -0
  29. package/dist/types/components/Components/Effects/useBackgroundField.d.ts +2 -0
  30. package/dist/types/components/Components/Effects/useLineField.d.ts +2 -0
  31. package/dist/types/components/Components/Footer/Footer.d.ts +14 -0
  32. package/dist/types/components/Components/Footer/index.d.ts +1 -0
  33. package/dist/types/components/Components/Header/Header.d.ts +26 -0
  34. package/dist/types/components/Components/Header/index.d.ts +2 -0
  35. package/dist/types/components/Components/Heatmap/Heatmap.d.ts +9 -0
  36. package/dist/types/components/Components/Heatmap/index.d.ts +1 -0
  37. package/dist/types/components/Components/MetricStrip/MetricStrip.d.ts +12 -0
  38. package/dist/types/components/Components/MetricStrip/index.d.ts +1 -0
  39. package/dist/types/components/Components/Panel/Panel.d.ts +9 -0
  40. package/dist/types/components/Components/Panel/index.d.ts +1 -0
  41. package/dist/types/components/Components/Ranking/Ranking.d.ts +15 -0
  42. package/dist/types/components/Components/Ranking/index.d.ts +1 -0
  43. package/dist/types/components/Components/RequestTable/RequestTable.d.ts +18 -0
  44. package/dist/types/components/Components/RequestTable/index.d.ts +1 -0
  45. package/dist/types/components/Components/SessionShape/SessionShape.d.ts +5 -0
  46. package/dist/types/components/Components/SessionShape/index.d.ts +1 -0
  47. package/dist/types/components/Components/Shop/Shop.d.ts +2 -0
  48. package/dist/types/components/Components/Shop/Shop.types.d.ts +95 -0
  49. package/dist/types/components/Components/Shop/ShopAccountCard.d.ts +3 -0
  50. package/dist/types/components/Components/Shop/ShopCard.d.ts +8 -0
  51. package/dist/types/components/Components/Shop/index.d.ts +4 -0
  52. package/dist/types/components/Components/Support/Support.d.ts +49 -0
  53. package/dist/types/components/Components/Support/index.d.ts +2 -0
  54. package/dist/types/components/Components/UsageList/UsageList.d.ts +5 -0
  55. package/dist/types/components/Components/UsageList/index.d.ts +1 -0
  56. package/dist/types/components/Components/Workspace/CustomerDashboard.d.ts +4 -0
  57. package/dist/types/components/Components/Workspace/Provider.d.ts +24 -0
  58. package/dist/types/components/Components/Workspace/RouterPlusWorkspace.d.ts +114 -0
  59. package/dist/types/components/Components/Workspace/WorkspaceIcons.d.ts +248 -0
  60. package/dist/types/components/Components/index.d.ts +30 -0
  61. package/dist/types/components/TokensAndAssets/ThemeContext.d.ts +1 -0
  62. package/dist/types/components/ui/Accordion/Accordion.d.ts +11 -0
  63. package/dist/types/components/ui/Accordion/index.d.ts +1 -0
  64. package/dist/types/components/ui/Avatar/Avatar.d.ts +14 -0
  65. package/dist/types/components/ui/Avatar/index.d.ts +1 -0
  66. package/dist/types/components/ui/Badge/Badge.d.ts +7 -0
  67. package/dist/types/components/ui/Badge/index.d.ts +1 -0
  68. package/dist/types/components/ui/Brand/Brand.d.ts +6 -0
  69. package/dist/types/components/ui/Brand/index.d.ts +1 -0
  70. package/dist/types/components/ui/Button/Button.d.ts +10 -0
  71. package/dist/types/components/ui/Button/index.d.ts +1 -0
  72. package/dist/types/components/ui/Card/Card.d.ts +7 -0
  73. package/dist/types/components/ui/Card/index.d.ts +1 -0
  74. package/dist/types/components/ui/Checkbox/Checkbox.d.ts +10 -0
  75. package/dist/types/components/ui/Checkbox/Primitive/Checkbox.d.ts +11 -0
  76. package/dist/types/components/ui/Checkbox/index.d.ts +1 -0
  77. package/dist/types/components/ui/Collapsible/Collapsible.d.ts +8 -0
  78. package/dist/types/components/ui/Collapsible/index.d.ts +1 -0
  79. package/dist/types/components/ui/ContextMenu/ContextMenu.d.ts +21 -0
  80. package/dist/types/components/ui/ContextMenu/index.d.ts +1 -0
  81. package/dist/types/components/ui/Dialog/Dialog.d.ts +33 -0
  82. package/dist/types/components/ui/Dialog/index.d.ts +1 -0
  83. package/dist/types/components/ui/Drawer/Drawer.d.ts +11 -0
  84. package/dist/types/components/ui/Drawer/index.d.ts +1 -0
  85. package/dist/types/components/ui/DropdownMenu/DropdownMenu.d.ts +21 -0
  86. package/dist/types/components/ui/DropdownMenu/index.d.ts +1 -0
  87. package/dist/types/components/ui/EmptyState/EmptyState.d.ts +7 -0
  88. package/dist/types/components/ui/EmptyState/index.d.ts +1 -0
  89. package/dist/types/components/ui/Field/Field.d.ts +12 -0
  90. package/dist/types/components/ui/Field/index.d.ts +1 -0
  91. package/dist/types/components/ui/FilterSelect/FilterSelect.d.ts +14 -0
  92. package/dist/types/components/ui/FilterSelect/index.d.ts +1 -0
  93. package/dist/types/components/ui/Form/Form.d.ts +31 -0
  94. package/dist/types/components/ui/Form/index.d.ts +1 -0
  95. package/dist/types/components/ui/HoverCard/HoverCard.d.ts +10 -0
  96. package/dist/types/components/ui/HoverCard/index.d.ts +1 -0
  97. package/dist/types/components/ui/Icon/Icon.d.ts +36 -0
  98. package/dist/types/components/ui/Icon/index.d.ts +1 -0
  99. package/dist/types/components/ui/InfoHeader/InfoHeader.d.ts +14 -0
  100. package/dist/types/components/ui/InfoHeader/index.d.ts +1 -0
  101. package/dist/types/components/ui/InfoTooltip/InfoTooltip.d.ts +5 -0
  102. package/dist/types/components/ui/InfoTooltip/index.d.ts +1 -0
  103. package/dist/types/components/ui/Input/Input.d.ts +7 -0
  104. package/dist/types/components/ui/Input/index.d.ts +1 -0
  105. package/dist/types/components/ui/InputGroup/InputGroup.d.ts +14 -0
  106. package/dist/types/components/ui/InputGroup/index.d.ts +1 -0
  107. package/dist/types/components/ui/Label/Label.d.ts +6 -0
  108. package/dist/types/components/ui/Label/index.d.ts +1 -0
  109. package/dist/types/components/ui/LegacySlider/Slider.d.ts +16 -0
  110. package/dist/types/components/ui/LegacySlider/index.d.ts +1 -0
  111. package/dist/types/components/ui/LegacyTabs/Tabs.d.ts +16 -0
  112. package/dist/types/components/ui/LegacyTabs/index.d.ts +1 -0
  113. package/dist/types/components/ui/LinkCard/LinkCard.d.ts +5 -0
  114. package/dist/types/components/ui/LinkCard/index.d.ts +1 -0
  115. package/dist/types/components/ui/Logo/Logo.d.ts +69 -0
  116. package/dist/types/components/ui/Logo/ProviderLogos.d.ts +69 -0
  117. package/dist/types/components/ui/Logo/index.d.ts +2 -0
  118. package/dist/types/components/ui/Menubar/Menubar.d.ts +67 -0
  119. package/dist/types/components/ui/Menubar/index.d.ts +1 -0
  120. package/dist/types/components/ui/Modal/Modal.d.ts +10 -0
  121. package/dist/types/components/ui/Modal/index.d.ts +1 -0
  122. package/dist/types/components/ui/ModelCard/ModelCard.d.ts +50 -0
  123. package/dist/types/components/ui/ModelCard/ModelSelector.d.ts +76 -0
  124. package/dist/types/components/ui/ModelCard/icons.d.ts +20 -0
  125. package/dist/types/components/ui/ModelCard/index.d.ts +2 -0
  126. package/dist/types/components/ui/NavigationMenu/NavigationMenu.d.ts +38 -0
  127. package/dist/types/components/ui/NavigationMenu/index.d.ts +1 -0
  128. package/dist/types/components/ui/Popover/Popover.d.ts +14 -0
  129. package/dist/types/components/ui/Popover/index.d.ts +1 -0
  130. package/dist/types/components/ui/Progress/Progress.d.ts +10 -0
  131. package/dist/types/components/ui/Progress/index.d.ts +1 -0
  132. package/dist/types/components/ui/ProgressBar/ProgressBar.d.ts +10 -0
  133. package/dist/types/components/ui/ProgressBar/index.d.ts +1 -0
  134. package/dist/types/components/ui/Radio/Radio.d.ts +8 -0
  135. package/dist/types/components/ui/Radio/RadioGroup.d.ts +3 -0
  136. package/dist/types/components/ui/RadioGroup/RadioGroup.d.ts +16 -0
  137. package/dist/types/components/ui/RadioGroup/index.d.ts +1 -0
  138. package/dist/types/components/ui/ScrollArea/ScrollArea.d.ts +26 -0
  139. package/dist/types/components/ui/ScrollArea/index.d.ts +1 -0
  140. package/dist/types/components/ui/SegmentedControl/SegmentedControl.d.ts +14 -0
  141. package/dist/types/components/ui/SegmentedControl/index.d.ts +1 -0
  142. package/dist/types/components/ui/Select/Primitive/Select.d.ts +79 -0
  143. package/dist/types/components/ui/Select/Select.d.ts +29 -0
  144. package/dist/types/components/ui/Select/index.d.ts +1 -0
  145. package/dist/types/components/ui/Separator/Separator.d.ts +6 -0
  146. package/dist/types/components/ui/Separator/index.d.ts +1 -0
  147. package/dist/types/components/ui/SideNavigation/SideNavigation.d.ts +171 -0
  148. package/dist/types/components/ui/SideNavigation/index.d.ts +1 -0
  149. package/dist/types/components/ui/Skeleton/Skeleton.d.ts +4 -0
  150. package/dist/types/components/ui/Skeleton/index.d.ts +1 -0
  151. package/dist/types/components/ui/Slider/Slider.d.ts +21 -0
  152. package/dist/types/components/ui/Slider/index.d.ts +1 -0
  153. package/dist/types/components/ui/Spinner/Spinner.d.ts +5 -0
  154. package/dist/types/components/ui/Spinner/index.d.ts +1 -0
  155. package/dist/types/components/ui/Switch/Primitive/Switch.d.ts +11 -0
  156. package/dist/types/components/ui/Switch/Switch.d.ts +18 -0
  157. package/dist/types/components/ui/Switch/index.d.ts +1 -0
  158. package/dist/types/components/ui/Tabs/Tabs.d.ts +21 -0
  159. package/dist/types/components/ui/Tabs/index.d.ts +1 -0
  160. package/dist/types/components/ui/Text/Text.d.ts +16 -0
  161. package/dist/types/components/ui/Text/text-variants.d.ts +31 -0
  162. package/dist/types/components/ui/ThemeSwitch/ThemeSwitch.d.ts +9 -0
  163. package/dist/types/components/ui/ThemeSwitch/index.d.ts +1 -0
  164. package/dist/types/components/ui/Toast/Toast.d.ts +29 -0
  165. package/dist/types/components/ui/Toast/index.d.ts +1 -0
  166. package/dist/types/components/ui/Toggle/Toggle.d.ts +6 -0
  167. package/dist/types/components/ui/Toggle/index.d.ts +1 -0
  168. package/dist/types/components/ui/ToggleGroup/ToggleGroup.d.ts +16 -0
  169. package/dist/types/components/ui/ToggleGroup/index.d.ts +1 -0
  170. package/dist/types/components/ui/Tooltip/Tooltip.d.ts +27 -0
  171. package/dist/types/components/ui/Tooltip/index.d.ts +1 -0
  172. package/dist/types/components/ui/UIProvider/PortalHost.d.ts +1 -0
  173. package/dist/types/components/ui/UIProvider/UIProvider.d.ts +8 -0
  174. package/dist/types/components/ui/index.d.ts +56 -0
  175. package/dist/types/index.d.ts +6 -0
  176. package/dist/workspace.css +25823 -0
  177. package/package.json +101 -5
  178. package/README.md +0 -3
@@ -0,0 +1,179 @@
1
+ /* Design tokens. Every component color resolves through these variables. */
2
+ :root,
3
+ [data-theme='light'] {
4
+ color-scheme: light;
5
+ --rp-font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
6
+ --rp-hero-background: linear-gradient(
7
+ 180deg,
8
+ #0b205e 0%,
9
+ #214eaf 35%,
10
+ #3564cc 55%,
11
+ #92b2f1 78%,
12
+ #edf4ff 93%,
13
+ #fff 100%
14
+ );
15
+
16
+ /* palette */
17
+ --rp-white: #ffffff;
18
+ --rp-black: #000000;
19
+ --rp-blue-50: #eff6ff;
20
+ --rp-blue-100: #dbeafe;
21
+ --rp-blue-200: #7cc6ff;
22
+ --rp-blue-400: #38adff;
23
+ --rp-blue-500: #256bea;
24
+ --rp-blue-600: #245bea;
25
+ --rp-blue-700: #1d4ed8;
26
+ --rp-blue-900: #213b61;
27
+ --rp-ink-900: #17191e;
28
+ --rp-ink-800: #1c1c21;
29
+ --rp-ink-700: #2d2d33;
30
+ --rp-ink-600: #4b4b53;
31
+ --rp-ink-500: #5d646f;
32
+ --rp-ink-400: #85858d;
33
+ --rp-ink-300: #b9b9c1;
34
+ /* Graphite neutrals complement the ink ramp without changing its values. */
35
+ --rp-graphite-300: #b6b6bf;
36
+ --rp-graphite-400: #8b8b94;
37
+ --rp-graphite-700: #333339;
38
+ --rp-graphite-800: #232327;
39
+ --rp-graphite-850: #1f1f23;
40
+ --rp-graphite-900: #1a1a1e;
41
+ --rp-graphite-950: #121317;
42
+
43
+ --rp-line-100: #e8eaee;
44
+ --rp-line-200: #dcdfe5;
45
+ --rp-line-300: #c7cbd3;
46
+ --rp-surface-100: #f5f6f8;
47
+ --rp-surface-200: #f4f4f6;
48
+ --rp-surface-300: #ededf1;
49
+ --rp-surface-400: #e9e9ee;
50
+ --rp-green-400: #4ade80;
51
+ --rp-green-500: #168a4b;
52
+ --rp-green-700: #137a42;
53
+ --rp-red-400: #f87171;
54
+ --rp-red-500: #d13438;
55
+ --rp-amber-400: #fbbf24;
56
+ --rp-amber-500: #f2b544;
57
+
58
+ /* semantic */
59
+ --rp-color-bg: var(--rp-surface-200);
60
+ --rp-color-surface: var(--rp-white);
61
+ --rp-color-surface-alt: var(--rp-surface-100);
62
+ --rp-color-surface-sunken: var(--rp-surface-300);
63
+ --rp-color-text: var(--rp-ink-800);
64
+ --rp-color-text-strong: var(--rp-ink-900);
65
+ --rp-color-text-muted: var(--rp-ink-500);
66
+ --rp-color-text-subtle: var(--rp-ink-400);
67
+ --rp-color-border: var(--rp-line-200);
68
+ --rp-color-border-strong: var(--rp-line-300);
69
+ --rp-color-accent: var(--rp-blue-500);
70
+ --rp-color-accent-hover: var(--rp-blue-700);
71
+ --rp-color-accent-soft: var(--rp-blue-50);
72
+ --rp-color-accent-contrast: var(--rp-white);
73
+ --rp-color-on-hero: var(--rp-white);
74
+ --rp-cursor-plus-color: var(--rp-ink-900);
75
+ /* Tiered line field used by the marketing hero backdrop. */
76
+ --rp-color-line-field-surface: var(--rp-white);
77
+ --rp-color-line-field-veil: var(--rp-white);
78
+ --rp-color-line-field-veil-clear: rgb(255 255 255 / 0%);
79
+ --rp-color-line-field-tier-1: #ebba00;
80
+ --rp-color-line-field-tier-2: #a7e66b;
81
+ --rp-color-line-field-tier-3: #cd99fd;
82
+ --rp-color-line-field-tier-4: #0000ff;
83
+ --rp-color-success: var(--rp-green-500);
84
+ --rp-color-danger: var(--rp-red-500);
85
+ --rp-color-warning: var(--rp-amber-500);
86
+
87
+ /* Dialog floating placement and size (design-system component defaults). */
88
+ --rp-dialog-floating-inset: 24px;
89
+ --rp-dialog-floating-width: 440px;
90
+ --rp-dialog-floating-height: 560px;
91
+ /* Sidebar and ranking sizing (design-system component defaults). */
92
+ --rp-side-nav-width: 212px;
93
+ --rp-side-nav-width-collapsed: 56px;
94
+ --rp-ranking-label-width: 140px;
95
+ /* Radii for design-system controls and cards. */
96
+ --rp-radius-control: 10px;
97
+ --rp-radius-lg: 16px;
98
+ --rp-radius-md: 8px;
99
+ /* Brand primary and its soft surface (design-system components). */
100
+ --rp-color-primary: #3b82f6;
101
+ --rp-color-primary-subtle: rgba(59, 130, 246, 0.1);
102
+
103
+ /* Secondary text and hover surfaces (design-system component defaults). */
104
+ --rp-color-text-secondary: var(--rp-ink-500);
105
+ --rp-color-surface-hover: var(--rp-surface-300);
106
+ --rp-side-nav-width-narrow: 184px;
107
+
108
+ /* translucency */
109
+ --rp-overlay-weak: rgb(0 0 0 / 6%);
110
+ --rp-overlay-medium: rgb(0 0 0 / 12%);
111
+ --rp-overlay-strong: rgb(0 0 0 / 28%);
112
+ --rp-overlay-inverse: rgb(255 255 255 / 8%);
113
+ }
114
+
115
+ [data-theme='dark'] {
116
+ color-scheme: dark;
117
+ --rp-hero-background: linear-gradient(
118
+ 180deg,
119
+ #59caff 0%,
120
+ #329bff 35%,
121
+ #256bea 55%,
122
+ #244780 78%,
123
+ #1b253b 93%,
124
+ #1a1a1e 100%
125
+ );
126
+ --rp-color-bg: var(--rp-graphite-900);
127
+ --rp-color-surface: var(--rp-graphite-800);
128
+ --rp-color-surface-alt: var(--rp-graphite-850);
129
+ --rp-color-surface-sunken: var(--rp-ink-700);
130
+ --rp-color-text: var(--rp-surface-300);
131
+ --rp-color-text-strong: var(--rp-white);
132
+ --rp-color-text-muted: var(--rp-graphite-300);
133
+ --rp-color-text-subtle: var(--rp-graphite-400);
134
+ --rp-color-border: var(--rp-graphite-700);
135
+ --rp-color-border-strong: var(--rp-ink-600);
136
+ --rp-color-accent: var(--rp-blue-400);
137
+ --rp-color-accent-hover: var(--rp-blue-200);
138
+ --rp-color-accent-soft: var(--rp-blue-900);
139
+ --rp-color-accent-contrast: var(--rp-graphite-950);
140
+ --rp-color-on-hero: var(--rp-white);
141
+ --rp-cursor-plus-color: var(--rp-white);
142
+ --rp-color-line-field-surface: var(--rp-black);
143
+ --rp-color-line-field-veil: var(--rp-black);
144
+ --rp-color-line-field-veil-clear: rgb(0 0 0 / 0%);
145
+ --rp-color-line-field-tier-1: #ffd53d;
146
+ --rp-color-line-field-tier-2: #a7e66b;
147
+ --rp-color-line-field-tier-3: #cd99fd;
148
+ --rp-color-line-field-tier-4: #4d7fff;
149
+ --rp-color-success: var(--rp-green-400);
150
+ --rp-color-danger: var(--rp-red-400);
151
+ --rp-color-warning: var(--rp-amber-400);
152
+ /* Secondary text and hover surfaces (design-system component defaults). */
153
+ --rp-color-text-secondary: var(--rp-graphite-300);
154
+ --rp-color-surface-hover: var(--rp-graphite-700);
155
+ --rp-side-nav-width-narrow: 184px;
156
+ --rp-overlay-weak: rgb(255 255 255 / 6%);
157
+ --rp-overlay-medium: rgb(255 255 255 / 12%);
158
+ --rp-overlay-strong: rgb(255 255 255 / 28%);
159
+ --rp-overlay-inverse: rgb(0 0 0 / 12%);
160
+ }
161
+
162
+ /* Font faces must live in a global stylesheet: a side-effect-only CSS Module
163
+ does not emit its @font-face rules in Vite builds. */
164
+ @font-face {
165
+ font-family: 'Space Grotesk';
166
+ font-style: normal;
167
+ font-weight: 300 700;
168
+ font-display: swap;
169
+ src: url("./assets/SpaceGrotesk.ttf") format('truetype');
170
+ }
171
+
172
+ /* Library components inherit the font through the shared token. */
173
+ body {
174
+ font-family: var(--rp-font-family);
175
+ }
176
+
177
+ [class*='rp-'] {
178
+ font-family: var(--rp-font-family);
179
+ }
@@ -0,0 +1,25 @@
1
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
2
+ export type AlertDialogRootProps = AlertDialogPrimitive.AlertDialogProps;
3
+ export declare const AlertDialogRoot: (props: AlertDialogRootProps) => import("react").JSX.Element;
4
+ export declare const AlertDialogTrigger: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ export declare const AlertDialogPortal: import("react").FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ export declare const AlertDialogOverlay: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const AlertDialogContent: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ export declare const AlertDialogTitle: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
9
+ export declare const AlertDialogDescription: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
10
+ export declare const AlertDialogAction: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ export declare const AlertDialogCancel: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
12
+ export declare const AlertDialogFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const AlertDialog: ((props: AlertDialogRootProps) => import("react").JSX.Element) & {
14
+ Root: (props: AlertDialogRootProps) => import("react").JSX.Element;
15
+ Trigger: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
16
+ Portal: import("react").FC<AlertDialogPrimitive.AlertDialogPortalProps>;
17
+ Overlay: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
+ Content: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
+ Title: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
20
+ Description: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
21
+ Action: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
22
+ Cancel: import("react").ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
23
+ Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
24
+ };
25
+ export type AlertDialogProps = AlertDialogRootProps;
@@ -0,0 +1 @@
1
+ export * from './AlertDialog.js';
@@ -0,0 +1,19 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface AuthProviderOption {
3
+ id: string;
4
+ name: string;
5
+ icon?: ReactNode;
6
+ href?: string;
7
+ onClick?: () => void;
8
+ }
9
+ export interface AuthCardProps {
10
+ title?: string;
11
+ description?: string;
12
+ providers?: readonly AuthProviderOption[];
13
+ apiKeyLabel?: string;
14
+ apiKeyPlaceholder?: string;
15
+ onApiKeySubmit?: (key: string) => void;
16
+ footer?: ReactNode;
17
+ className?: string;
18
+ }
19
+ export declare const AuthCard: ({ title, description, providers, apiKeyLabel, apiKeyPlaceholder, onApiKeySubmit, footer, className, }: AuthCardProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './AuthCard.js';
@@ -0,0 +1,7 @@
1
+ export interface BarChartProps {
2
+ values: readonly number[];
3
+ labels?: readonly string[];
4
+ stacked?: boolean;
5
+ label?: string;
6
+ }
7
+ export declare const BarChart: ({ values, labels, stacked, label, }: BarChartProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './BarChart.js';
@@ -0,0 +1,125 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface BillingMethod {
3
+ id: string;
4
+ label: string;
5
+ /** Commission shown at the end of the row, for example `5%` or `Free`. */
6
+ fee?: string;
7
+ /** Card network, bank or coin mark. Kept as a slot for the consumer. */
8
+ icon?: ReactNode;
9
+ /** Secondary line under the method name. */
10
+ description?: string;
11
+ /** Short tag next to the name, for example `Instant`. */
12
+ badge?: string;
13
+ disabled?: boolean;
14
+ }
15
+ export interface BillingGroup {
16
+ id: string;
17
+ title: string;
18
+ /** Header label above the fees; defaults to the copy's `fee`. */
19
+ feeLabel?: string;
20
+ methods: readonly BillingMethod[];
21
+ }
22
+ export interface BillingCountry {
23
+ /** ISO 3166-1 alpha-2 region code. */
24
+ code: string;
25
+ name: string;
26
+ /** Defaults to the flag emoji for the region code. */
27
+ flag?: ReactNode;
28
+ /** Fiat payment methods available in this region. */
29
+ groups: readonly BillingGroup[];
30
+ /** ISO 4217 currency shown in the amount field. Defaults to EUR. */
31
+ currency?: string;
32
+ }
33
+ export interface BillingTier {
34
+ /** Minimum amount that earns this cashback rate. */
35
+ min: number;
36
+ /** Cashback percentage credited at this tier. */
37
+ rate: number;
38
+ }
39
+ export interface BillingCashbackState {
40
+ amount: number;
41
+ rate: number;
42
+ next?: BillingTier;
43
+ /** Currency of `amount` and `next.min`, so formatters never guess. */
44
+ currency: string;
45
+ /** Locale used by the panel for money formatting. */
46
+ locale: string;
47
+ }
48
+ export interface BillingCopy {
49
+ title: string;
50
+ amount: string;
51
+ cashback: string;
52
+ fee: string;
53
+ methodLabel: string;
54
+ region: string;
55
+ regionHint: string;
56
+ pay: string;
57
+ pending: string;
58
+ empty: string;
59
+ }
60
+ export interface BillingSelection {
61
+ amount: number;
62
+ method: BillingMethod;
63
+ country: BillingCountry;
64
+ }
65
+ export interface BillingProps {
66
+ /** Locale used to pick the initial region and format money; defaults to the browser locale. */
67
+ locale?: string;
68
+ countries: readonly BillingCountry[];
69
+ /** Crypto methods are shown in every region, after the fiat groups. */
70
+ cryptoMethods?: readonly BillingMethod[];
71
+ cryptoTitle?: string;
72
+ /** Cashback ladder. Fewer than two tiers hides the block. */
73
+ tiers?: readonly BillingTier[];
74
+ /** Initial region code. Defaults to the region of `locale`, then the first country. */
75
+ defaultCountryCode?: string;
76
+ /** Controlled region code. */
77
+ countryCode?: string;
78
+ onCountryChange?: (country: BillingCountry) => void;
79
+ /** Initial amount in the display currency. */
80
+ defaultAmount?: number;
81
+ /** Controlled amount. */
82
+ amount?: number;
83
+ onAmountChange?: (amount: number) => void;
84
+ /** Quick top-up preset amount buttons. Defaults to [10, 25, 50, 100]. */
85
+ quickAmounts?: readonly number[];
86
+ /** Initial method id. Defaults to the first enabled method. */
87
+ defaultMethodId?: string;
88
+ /** Controlled method id. */
89
+ methodId?: string;
90
+ onMethodChange?: (method: BillingMethod) => void;
91
+ minAmount?: number;
92
+ maxAmount?: number;
93
+ title?: string;
94
+ description?: string;
95
+ /** Overrides any visible UI string. */
96
+ copy?: Partial<BillingCopy>;
97
+ /** Formats the cashback hint; English copy is used when omitted. */
98
+ formatCashback?: (state: BillingCashbackState) => string;
99
+ /** Receives the whole selection; the consumer owns the payment request. */
100
+ onPay?: (selection: BillingSelection) => void;
101
+ /** Set while the payment request is in flight. */
102
+ pending?: boolean;
103
+ /** Message shown above the action. */
104
+ error?: string;
105
+ /** Extra content between the methods and the region selector. */
106
+ children?: ReactNode;
107
+ /** Small print under the action. */
108
+ notice?: ReactNode;
109
+ /**
110
+ * `panel` owns its scroll area, `inline` grows with the page, and `sheet`
111
+ * is the compact form for a side drawer: no duplicate border, no clipped
112
+ * scroll, and a footer separator above the action.
113
+ */
114
+ variant?: 'panel' | 'inline' | 'sheet';
115
+ className?: string;
116
+ }
117
+ /** The likely region for a locale, used to pick the initial country. */
118
+ export declare function regionForLocale(locale: string): string | undefined;
119
+ /** Regional-indicator emoji for an ISO 3166-1 alpha-2 code. */
120
+ export declare function flagForRegion(code: string): string;
121
+ /**
122
+ * A country-aware top-up panel. All methods, fees and cashback tiers arrive as
123
+ * props; this component only owns presentation and its own form state.
124
+ */
125
+ export declare const Billing: ({ locale, countries, cryptoMethods, cryptoTitle, tiers, defaultCountryCode, countryCode: controlledCountryCode, onCountryChange, defaultAmount, amount: controlledAmount, onAmountChange, quickAmounts, defaultMethodId, methodId: controlledMethodId, onMethodChange, minAmount, maxAmount, title, description, copy: copyOverrides, formatCashback, onPay, pending, error, children, notice, variant, className, }: BillingProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Billing.js';
@@ -0,0 +1,16 @@
1
+ export interface BackgroundCursorProps {
2
+ /** Radius in pixels around the pointer where marks are visible. */
3
+ radius?: number;
4
+ /** Grid spacing in pixels between marks. */
5
+ spacing?: number;
6
+ /** Peak opacity of the marks at the pointer. */
7
+ opacity?: number;
8
+ /** Optional CSS color override; defaults to the theme token. */
9
+ color?: string;
10
+ }
11
+ /**
12
+ * A field of plus marks that only reveals near the pointer. Theme colors come
13
+ * from `--rp-cursor-plus-color`; touch pointers and reduced motion get a static
14
+ * reveal without the trailing animation.
15
+ */
16
+ export declare function BackgroundCursor({ radius, spacing, opacity, color, }: BackgroundCursorProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** Dots reveal a localized ripple in response to pointer movement and clicks. */
2
+ export declare function BackgroundDotted(): import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export interface BackgroundLineFieldProps {
2
+ /** Additional class for the positioned backdrop host. */
3
+ className?: string;
4
+ }
5
+ /**
6
+ * Marketing hero backdrop: tiered colored bars radiate from the center and
7
+ * dissolve under soft edge veils. Purely decorative and theme-aware.
8
+ */
9
+ export declare function BackgroundLineField({ className }: BackgroundLineFieldProps): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface BackgroundPlusProps {
2
+ /** Any CSS background value painted behind the marks. Omit to use the parent's surface. */
3
+ background?: string;
4
+ /** Size of each square cell; scales both the plus marks and the gaps. */
5
+ cellSize?: number;
6
+ }
7
+ /** Plus marks twinkle independently and displace along travelling waves. */
8
+ export declare function BackgroundPlus({ background, cellSize }: BackgroundPlusProps): import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ /** Seamless pixels subdivide and refract around pointer wakes and click waves. */
2
+ export declare function BackgroundSquare({ scene, cellSize, }: {
3
+ scene: number;
4
+ /** Size of each square in the field. Defaults to the hero grid. */
5
+ cellSize?: number;
6
+ }): import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function BrandIntro({ onComplete, passages: customPassages, }: {
2
+ onComplete: () => void;
3
+ passages?: readonly string[];
4
+ }): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ /** Shared sign-in and download surface with its pointer-driven dot field. */
3
+ export declare function EffectCard({ className, children, contentHTML, ...props }: ComponentPropsWithoutRef<'div'> & {
4
+ contentHTML?: string;
5
+ }): import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ /** Marks twinkle independently and displace along travelling waves. */
2
+ export declare function PlusField({ dots }: {
3
+ dots?: boolean;
4
+ }): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './ThemeTransition.module.css';
2
+ /** Reveal the updated page theme in a circle from the triggering element. */
3
+ export declare function useThemeTransition(): (applyTheme: () => void, trigger: HTMLElement) => Promise<void>;
@@ -0,0 +1,21 @@
1
+ /** One coherent composition per click; randomness never runs inside the draw loop. */
2
+ export declare function generateBlast(seed?: number): {
3
+ seed: number;
4
+ family: number;
5
+ arms: number;
6
+ rotation: number;
7
+ curl: number;
8
+ direction: number;
9
+ speed: number;
10
+ width: number;
11
+ lobes: number;
12
+ decay: number;
13
+ strength: number;
14
+ spacing: number;
15
+ phase: number;
16
+ };
17
+ export declare function sampleBlast(blast: ReturnType<typeof generateBlast>, x: number, y: number, age: number): {
18
+ x: number;
19
+ y: number;
20
+ energy: number;
21
+ };
@@ -0,0 +1,2 @@
1
+ /** Shared surface physics for the plus and dotted backgrounds. */
2
+ export declare function useBackgroundField(dots: boolean, cellSize?: number): import("react").RefObject<HTMLCanvasElement | null>;
@@ -0,0 +1,2 @@
1
+ /** Drives the line-field canvas; reduced motion renders a single still frame. */
2
+ export declare function useLineField(): import("react").RefObject<HTMLCanvasElement | null>;
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface FooterLink {
3
+ label: string;
4
+ href: string;
5
+ target?: string;
6
+ rel?: string;
7
+ }
8
+ export interface FooterProps {
9
+ logoHref?: string;
10
+ links?: readonly FooterLink[];
11
+ copyright?: ReactNode;
12
+ className?: string;
13
+ }
14
+ export declare const Footer: ({ logoHref, links, copyright, className, }: FooterProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Footer.js';
@@ -0,0 +1,26 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface HeaderProps {
3
+ dark?: boolean;
4
+ onThemeChange?: (dark: boolean) => void;
5
+ language?: string;
6
+ /** Language options. Defaults to the five built-in locales. */
7
+ languages?: {
8
+ value: string;
9
+ label: string;
10
+ }[];
11
+ onLanguageChange?: (language: string) => void;
12
+ /** Content before the wordmark. */
13
+ left?: ReactNode;
14
+ /** Content immediately after the wordmark. */
15
+ afterLogo?: ReactNode;
16
+ /** Centered content, between the wordmark and the tools. */
17
+ center?: ReactNode;
18
+ /** Content after the theme and language controls. Replaces `action`. */
19
+ right?: ReactNode;
20
+ /** @deprecated Pass the action as `right` instead. */
21
+ action?: ReactNode;
22
+ /** `hero` uses the white-on-gradient landing styling; `page` uses surface text colors. */
23
+ surface?: 'hero' | 'page';
24
+ href?: string;
25
+ }
26
+ export declare function Header({ dark, onThemeChange, language, languages, onLanguageChange, left, afterLogo, center, right, action, surface, href, }: HeaderProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Header } from './Header.js';
2
+ export type { HeaderProps } from './Header.js';
@@ -0,0 +1,9 @@
1
+ export interface HeatmapProps {
2
+ /** Intensity levels per day row (Mon–Sun), each containing one value per column. */
3
+ levels: readonly (readonly number[])[];
4
+ /** Column header labels (e.g. months or hours); sparse arrays leave gaps blank. */
5
+ columnLabels?: readonly (string | undefined)[];
6
+ /** Accessible label for the whole grid. */
7
+ label?: string;
8
+ }
9
+ export declare const Heatmap: ({ levels, columnLabels, label, }: HeatmapProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Heatmap.js';
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ export type Metric = {
3
+ value: string;
4
+ label: string;
5
+ detail?: string;
6
+ breakdown?: string;
7
+ icon?: ReactNode;
8
+ };
9
+ export interface MetricStripProps {
10
+ metrics: readonly Metric[];
11
+ }
12
+ export declare const MetricStrip: ({ metrics }: MetricStripProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './MetricStrip.js';
@@ -0,0 +1,9 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface PanelProps {
3
+ title: string;
4
+ actions?: ReactNode;
5
+ children: ReactNode;
6
+ className?: string;
7
+ footer?: ReactNode;
8
+ }
9
+ export declare const Panel: ({ title, actions, children, className, footer, }: PanelProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Panel.js';
@@ -0,0 +1,15 @@
1
+ import type { ReactNode } from 'react';
2
+ export type RankItem = {
3
+ name: string;
4
+ value: string;
5
+ share: number;
6
+ cost?: string;
7
+ detail?: string;
8
+ breakdown?: string;
9
+ icon?: ReactNode;
10
+ };
11
+ export interface RankingProps {
12
+ items: readonly RankItem[];
13
+ onSelect?: (item: RankItem) => void;
14
+ }
15
+ export declare const Ranking: ({ items, onSelect }: RankingProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Ranking.js';
@@ -0,0 +1,18 @@
1
+ import type { ReactNode } from 'react';
2
+ export type RequestRow = {
3
+ id: string;
4
+ time: string;
5
+ agent: string;
6
+ model: string;
7
+ tokens: string;
8
+ output?: string;
9
+ provider?: string;
10
+ providerIcon?: ReactNode;
11
+ account?: string;
12
+ cost: string;
13
+ status: 'Succeeded' | 'Failed';
14
+ };
15
+ export interface RequestTableProps {
16
+ rows: readonly RequestRow[];
17
+ }
18
+ export declare const RequestTable: ({ rows }: RequestTableProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './RequestTable.js';
@@ -0,0 +1,5 @@
1
+ export interface SessionShapeProps {
2
+ values: readonly number[];
3
+ labels: readonly string[];
4
+ }
5
+ export declare const SessionShape: ({ values, labels }: SessionShapeProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './SessionShape.js';
@@ -0,0 +1,2 @@
1
+ import type { ShopProps } from './Shop.types.js';
2
+ export declare const Shop: ({ title, accounts, categories, models, selectedCategory: controlledCategory, onCategoryChange, searchQuery: controlledQuery, onSearchChange, selectedProvider: controlledProvider, onProviderChange, sortBy: controlledSort, onSortChange, onSubscribe, onManage, onConfigure, creditsBalance, onTopUp, className, }: ShopProps) => import("react").JSX.Element;