@pollinations/ui 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -10
- package/dist/{Button-DMJ2K6Gr.d.ts → Button-Bn8pGg6N.d.ts} +1 -1
- package/dist/{Button-CNzpisJf.d.cts → Button-CWUBCiIc.d.cts} +1 -1
- package/dist/{Chip-BS8ronOu.d.ts → Chip-C5impfYd.d.ts} +2 -2
- package/dist/{Chip-DyqWrq0r.d.cts → Chip-SM52sUbZ.d.cts} +2 -2
- package/dist/app.css +1 -1
- package/dist/auth/index.cjs +1 -9
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.cts +1 -2
- package/dist/auth/index.d.ts +1 -2
- package/dist/auth/index.js +1 -9
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/sdk.d.cts +2 -2
- package/dist/auth/sdk.d.ts +2 -2
- package/dist/index.cjs +354 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -9
- package/dist/index.d.ts +47 -9
- package/dist/index.js +346 -176
- package/dist/index.js.map +1 -1
- package/dist/modality/index.cjs +6 -38
- package/dist/modality/index.cjs.map +1 -1
- package/dist/modality/index.d.cts +7 -27
- package/dist/modality/index.d.ts +7 -27
- package/dist/modality/index.js +6 -37
- package/dist/modality/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme-VMRlhqST.d.cts +9 -0
- package/dist/theme-VMRlhqST.d.ts +9 -0
- package/dist/wallet/index.cjs +4 -1
- package/dist/wallet/index.cjs.map +1 -1
- package/dist/wallet/index.d.cts +2 -2
- package/dist/wallet/index.d.ts +2 -2
- package/dist/wallet/index.js +4 -1
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/sdk.cjs +4 -1
- package/dist/wallet/sdk.cjs.map +1 -1
- package/dist/wallet/sdk.js +4 -1
- package/dist/wallet/sdk.js.map +1 -1
- package/package.json +3 -8
- package/dist/showcase/index.cjs +0 -2851
- package/dist/showcase/index.cjs.map +0 -1
- package/dist/showcase/index.d.cts +0 -19
- package/dist/showcase/index.d.ts +0 -19
- package/dist/showcase/index.js +0 -2839
- package/dist/showcase/index.js.map +0 -1
- package/dist/theme-DfHMjWB7.d.cts +0 -16
- package/dist/theme-DfHMjWB7.d.ts +0 -16
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps } from './Button-CNzpisJf.cjs';
|
|
2
1
|
import * as react from 'react';
|
|
3
|
-
import { FC, ReactNode, ButtonHTMLAttributes,
|
|
4
|
-
export {
|
|
2
|
+
import { FC, ComponentPropsWithoutRef, ReactNode, ButtonHTMLAttributes, PropsWithChildren, CSSProperties } from 'react';
|
|
3
|
+
export { B as Button, a as ButtonProps } from './Button-CWUBCiIc.cjs';
|
|
4
|
+
export { C as Chip } from './Chip-SM52sUbZ.cjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { Dialog as Dialog$1 } from '@ark-ui/react/dialog';
|
|
7
|
-
import { T as ThemeName } from './theme-
|
|
8
|
-
export { t as
|
|
7
|
+
import { T as ThemeName } from './theme-VMRlhqST.cjs';
|
|
8
|
+
export { t as themes } from './theme-VMRlhqST.cjs';
|
|
9
9
|
export { Field } from '@ark-ui/react/field';
|
|
10
10
|
|
|
11
11
|
/** Class merge for apps consuming the unprefixed Tailwind bridge in app.css. */
|
|
@@ -26,6 +26,18 @@ declare function periodBucketKeyToDate(bucketKey: string, granularity: PeriodGra
|
|
|
26
26
|
*/
|
|
27
27
|
declare function useScrollLock(enabled?: boolean): void;
|
|
28
28
|
|
|
29
|
+
type AlertIntent = "info" | "success" | "warning" | "danger";
|
|
30
|
+
type AlertProps = ComponentPropsWithoutRef<"div"> & {
|
|
31
|
+
intent?: AlertIntent;
|
|
32
|
+
title?: ReactNode;
|
|
33
|
+
};
|
|
34
|
+
declare const Alert: FC<AlertProps>;
|
|
35
|
+
|
|
36
|
+
type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
37
|
+
wrap?: boolean;
|
|
38
|
+
};
|
|
39
|
+
declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
40
|
+
|
|
29
41
|
type ChevronIconProps = {
|
|
30
42
|
/** Rotate 180° when expanded/open. */
|
|
31
43
|
expanded?: boolean;
|
|
@@ -218,14 +230,12 @@ type PeriodPickerProps = {
|
|
|
218
230
|
};
|
|
219
231
|
declare const PeriodPicker: FC<PeriodPickerProps>;
|
|
220
232
|
|
|
221
|
-
type ScrollAxis = "y" | "x"
|
|
233
|
+
type ScrollAxis = "y" | "x";
|
|
222
234
|
type ScrollAreaOwnProps = {
|
|
223
235
|
/** Override the ambient cascade theme for this scroller's thumb. */
|
|
224
236
|
theme?: ThemeName;
|
|
225
237
|
/** Scroll direction. Default `y`. */
|
|
226
238
|
axis?: ScrollAxis;
|
|
227
|
-
/** Idle time before the thumb fades out, in ms. Default `2000`. */
|
|
228
|
-
hideDelayMs?: number;
|
|
229
239
|
className?: string;
|
|
230
240
|
};
|
|
231
241
|
type ScrollAreaProps = PropsWithChildren<ScrollAreaOwnProps & Omit<ComponentPropsWithoutRef<"div">, keyof ScrollAreaOwnProps>>;
|
|
@@ -320,6 +330,34 @@ type TabButtonProps = {
|
|
|
320
330
|
};
|
|
321
331
|
declare const TabButton: FC<TabButtonProps>;
|
|
322
332
|
|
|
333
|
+
type Align = "left" | "center" | "right";
|
|
334
|
+
type RowIntent = "default" | "success" | "warning" | "danger";
|
|
335
|
+
type SortDirection = "asc" | "desc";
|
|
336
|
+
type TableProps = ComponentPropsWithoutRef<"table">;
|
|
337
|
+
declare const Table: FC<TableProps>;
|
|
338
|
+
type TableHeadProps = ComponentPropsWithoutRef<"thead">;
|
|
339
|
+
declare const TableHead: FC<TableHeadProps>;
|
|
340
|
+
type TableBodyProps = ComponentPropsWithoutRef<"tbody">;
|
|
341
|
+
declare const TableBody: FC<TableBodyProps>;
|
|
342
|
+
type TableRowProps = ComponentPropsWithoutRef<"tr"> & {
|
|
343
|
+
intent?: RowIntent;
|
|
344
|
+
};
|
|
345
|
+
declare const TableRow: FC<TableRowProps>;
|
|
346
|
+
type TableHeaderCellProps = Omit<ComponentPropsWithoutRef<"th">, "children"> & {
|
|
347
|
+
align?: Align;
|
|
348
|
+
active?: boolean;
|
|
349
|
+
sortDirection?: SortDirection;
|
|
350
|
+
onSort?: () => void;
|
|
351
|
+
children: ReactNode;
|
|
352
|
+
};
|
|
353
|
+
declare const TableHeaderCell: FC<TableHeaderCellProps>;
|
|
354
|
+
type TableCellProps = ComponentPropsWithoutRef<"td"> & {
|
|
355
|
+
align?: Align;
|
|
356
|
+
numeric?: boolean;
|
|
357
|
+
muted?: boolean;
|
|
358
|
+
};
|
|
359
|
+
declare const TableCell: FC<TableCellProps>;
|
|
360
|
+
|
|
323
361
|
type TooltipProps = {
|
|
324
362
|
children: ReactNode;
|
|
325
363
|
content: ReactNode;
|
|
@@ -337,4 +375,4 @@ type TooltipProps = {
|
|
|
337
375
|
};
|
|
338
376
|
declare const Tooltip: FC<TooltipProps>;
|
|
339
377
|
|
|
340
|
-
export { AppIcon, BeakerIcon, BookIcon, CheckIcon, ChevronIcon, ClipboardIcon, ClockIcon, Collapsible, type CollapsibleProps, CopyButton, type CopyButtonProps, Dialog, type DialogProps, DialogTitle, DiscordIcon, DownloadIcon, Dropdown, type DropdownProps, ExternalLinkButton, type ExternalLinkButtonProps, ExternalLinkIcon, GenApiIcon, GitHubIcon, IconButton, type IconProps, ImageIcon, InfoTip, Input, type InputProps, LockIcon, MailIcon, McpIcon, MenuIcon, MultiSelect, type MultiSelectProps, type PeriodGranularity, PeriodPicker, type PeriodPickerProps, type PeriodSelection, ScrollArea, type ScrollAreaProps, Section, type SectionProps, Slider, type SliderProps, StatCard, type StatCardProps, Surface, Switch, type SwitchProps, type SwitchStatus, TabButton, type TabButtonProps, TerminalIcon, ThemeName, TokensIcon, Tooltip, TrendUpIcon, WalletIcon, XIcon, cn, currentPeriod, getPeriodBucketKeys, periodBucketKeyToDate, useScrollLock };
|
|
378
|
+
export { Alert, type AlertProps, AppIcon, BeakerIcon, BookIcon, ButtonGroup, type ButtonGroupProps, CheckIcon, ChevronIcon, ClipboardIcon, ClockIcon, Collapsible, type CollapsibleProps, CopyButton, type CopyButtonProps, Dialog, type DialogProps, DialogTitle, DiscordIcon, DownloadIcon, Dropdown, type DropdownProps, ExternalLinkButton, type ExternalLinkButtonProps, ExternalLinkIcon, GenApiIcon, GitHubIcon, IconButton, type IconProps, ImageIcon, InfoTip, Input, type InputProps, LockIcon, MailIcon, McpIcon, MenuIcon, MultiSelect, type MultiSelectProps, type PeriodGranularity, PeriodPicker, type PeriodPickerProps, type PeriodSelection, ScrollArea, type ScrollAreaProps, Section, type SectionProps, Slider, type SliderProps, StatCard, type StatCardProps, Surface, Switch, type SwitchProps, type SwitchStatus, TabButton, type TabButtonProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellProps, type TableProps, TableRow, type TableRowProps, TerminalIcon, ThemeName, TokensIcon, Tooltip, TrendUpIcon, WalletIcon, XIcon, cn, currentPeriod, getPeriodBucketKeys, periodBucketKeyToDate, useScrollLock };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps } from './Button-DMJ2K6Gr.js';
|
|
2
1
|
import * as react from 'react';
|
|
3
|
-
import { FC, ReactNode, ButtonHTMLAttributes,
|
|
4
|
-
export {
|
|
2
|
+
import { FC, ComponentPropsWithoutRef, ReactNode, ButtonHTMLAttributes, PropsWithChildren, CSSProperties } from 'react';
|
|
3
|
+
export { B as Button, a as ButtonProps } from './Button-Bn8pGg6N.js';
|
|
4
|
+
export { C as Chip } from './Chip-C5impfYd.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { Dialog as Dialog$1 } from '@ark-ui/react/dialog';
|
|
7
|
-
import { T as ThemeName } from './theme-
|
|
8
|
-
export { t as
|
|
7
|
+
import { T as ThemeName } from './theme-VMRlhqST.js';
|
|
8
|
+
export { t as themes } from './theme-VMRlhqST.js';
|
|
9
9
|
export { Field } from '@ark-ui/react/field';
|
|
10
10
|
|
|
11
11
|
/** Class merge for apps consuming the unprefixed Tailwind bridge in app.css. */
|
|
@@ -26,6 +26,18 @@ declare function periodBucketKeyToDate(bucketKey: string, granularity: PeriodGra
|
|
|
26
26
|
*/
|
|
27
27
|
declare function useScrollLock(enabled?: boolean): void;
|
|
28
28
|
|
|
29
|
+
type AlertIntent = "info" | "success" | "warning" | "danger";
|
|
30
|
+
type AlertProps = ComponentPropsWithoutRef<"div"> & {
|
|
31
|
+
intent?: AlertIntent;
|
|
32
|
+
title?: ReactNode;
|
|
33
|
+
};
|
|
34
|
+
declare const Alert: FC<AlertProps>;
|
|
35
|
+
|
|
36
|
+
type ButtonGroupProps = ComponentPropsWithoutRef<"div"> & {
|
|
37
|
+
wrap?: boolean;
|
|
38
|
+
};
|
|
39
|
+
declare const ButtonGroup: FC<ButtonGroupProps>;
|
|
40
|
+
|
|
29
41
|
type ChevronIconProps = {
|
|
30
42
|
/** Rotate 180° when expanded/open. */
|
|
31
43
|
expanded?: boolean;
|
|
@@ -218,14 +230,12 @@ type PeriodPickerProps = {
|
|
|
218
230
|
};
|
|
219
231
|
declare const PeriodPicker: FC<PeriodPickerProps>;
|
|
220
232
|
|
|
221
|
-
type ScrollAxis = "y" | "x"
|
|
233
|
+
type ScrollAxis = "y" | "x";
|
|
222
234
|
type ScrollAreaOwnProps = {
|
|
223
235
|
/** Override the ambient cascade theme for this scroller's thumb. */
|
|
224
236
|
theme?: ThemeName;
|
|
225
237
|
/** Scroll direction. Default `y`. */
|
|
226
238
|
axis?: ScrollAxis;
|
|
227
|
-
/** Idle time before the thumb fades out, in ms. Default `2000`. */
|
|
228
|
-
hideDelayMs?: number;
|
|
229
239
|
className?: string;
|
|
230
240
|
};
|
|
231
241
|
type ScrollAreaProps = PropsWithChildren<ScrollAreaOwnProps & Omit<ComponentPropsWithoutRef<"div">, keyof ScrollAreaOwnProps>>;
|
|
@@ -320,6 +330,34 @@ type TabButtonProps = {
|
|
|
320
330
|
};
|
|
321
331
|
declare const TabButton: FC<TabButtonProps>;
|
|
322
332
|
|
|
333
|
+
type Align = "left" | "center" | "right";
|
|
334
|
+
type RowIntent = "default" | "success" | "warning" | "danger";
|
|
335
|
+
type SortDirection = "asc" | "desc";
|
|
336
|
+
type TableProps = ComponentPropsWithoutRef<"table">;
|
|
337
|
+
declare const Table: FC<TableProps>;
|
|
338
|
+
type TableHeadProps = ComponentPropsWithoutRef<"thead">;
|
|
339
|
+
declare const TableHead: FC<TableHeadProps>;
|
|
340
|
+
type TableBodyProps = ComponentPropsWithoutRef<"tbody">;
|
|
341
|
+
declare const TableBody: FC<TableBodyProps>;
|
|
342
|
+
type TableRowProps = ComponentPropsWithoutRef<"tr"> & {
|
|
343
|
+
intent?: RowIntent;
|
|
344
|
+
};
|
|
345
|
+
declare const TableRow: FC<TableRowProps>;
|
|
346
|
+
type TableHeaderCellProps = Omit<ComponentPropsWithoutRef<"th">, "children"> & {
|
|
347
|
+
align?: Align;
|
|
348
|
+
active?: boolean;
|
|
349
|
+
sortDirection?: SortDirection;
|
|
350
|
+
onSort?: () => void;
|
|
351
|
+
children: ReactNode;
|
|
352
|
+
};
|
|
353
|
+
declare const TableHeaderCell: FC<TableHeaderCellProps>;
|
|
354
|
+
type TableCellProps = ComponentPropsWithoutRef<"td"> & {
|
|
355
|
+
align?: Align;
|
|
356
|
+
numeric?: boolean;
|
|
357
|
+
muted?: boolean;
|
|
358
|
+
};
|
|
359
|
+
declare const TableCell: FC<TableCellProps>;
|
|
360
|
+
|
|
323
361
|
type TooltipProps = {
|
|
324
362
|
children: ReactNode;
|
|
325
363
|
content: ReactNode;
|
|
@@ -337,4 +375,4 @@ type TooltipProps = {
|
|
|
337
375
|
};
|
|
338
376
|
declare const Tooltip: FC<TooltipProps>;
|
|
339
377
|
|
|
340
|
-
export { AppIcon, BeakerIcon, BookIcon, CheckIcon, ChevronIcon, ClipboardIcon, ClockIcon, Collapsible, type CollapsibleProps, CopyButton, type CopyButtonProps, Dialog, type DialogProps, DialogTitle, DiscordIcon, DownloadIcon, Dropdown, type DropdownProps, ExternalLinkButton, type ExternalLinkButtonProps, ExternalLinkIcon, GenApiIcon, GitHubIcon, IconButton, type IconProps, ImageIcon, InfoTip, Input, type InputProps, LockIcon, MailIcon, McpIcon, MenuIcon, MultiSelect, type MultiSelectProps, type PeriodGranularity, PeriodPicker, type PeriodPickerProps, type PeriodSelection, ScrollArea, type ScrollAreaProps, Section, type SectionProps, Slider, type SliderProps, StatCard, type StatCardProps, Surface, Switch, type SwitchProps, type SwitchStatus, TabButton, type TabButtonProps, TerminalIcon, ThemeName, TokensIcon, Tooltip, TrendUpIcon, WalletIcon, XIcon, cn, currentPeriod, getPeriodBucketKeys, periodBucketKeyToDate, useScrollLock };
|
|
378
|
+
export { Alert, type AlertProps, AppIcon, BeakerIcon, BookIcon, ButtonGroup, type ButtonGroupProps, CheckIcon, ChevronIcon, ClipboardIcon, ClockIcon, Collapsible, type CollapsibleProps, CopyButton, type CopyButtonProps, Dialog, type DialogProps, DialogTitle, DiscordIcon, DownloadIcon, Dropdown, type DropdownProps, ExternalLinkButton, type ExternalLinkButtonProps, ExternalLinkIcon, GenApiIcon, GitHubIcon, IconButton, type IconProps, ImageIcon, InfoTip, Input, type InputProps, LockIcon, MailIcon, McpIcon, MenuIcon, MultiSelect, type MultiSelectProps, type PeriodGranularity, PeriodPicker, type PeriodPickerProps, type PeriodSelection, ScrollArea, type ScrollAreaProps, Section, type SectionProps, Slider, type SliderProps, StatCard, type StatCardProps, Surface, Switch, type SwitchProps, type SwitchStatus, TabButton, type TabButtonProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellProps, type TableProps, TableRow, type TableRowProps, TerminalIcon, ThemeName, TokensIcon, Tooltip, TrendUpIcon, WalletIcon, XIcon, cn, currentPeriod, getPeriodBucketKeys, periodBucketKeyToDate, useScrollLock };
|