@pollinations/ui 0.1.0-alpha.40 → 0.1.0-alpha.42
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 +5 -1
- package/dist/app-user-menu/sdk.d.ts +4 -2
- package/dist/app-user-menu/sdk.js +15 -14
- package/dist/app-user-menu/sdk.js.map +1 -1
- package/dist/auth/index.js +8 -8
- package/dist/auth/sdk.js +97 -8
- package/dist/auth/sdk.js.map +1 -1
- package/dist/{chunk-KLAOGE6Y.js → chunk-3UGI5F4I.js} +2 -2
- package/dist/{chunk-FZXMS7HJ.js → chunk-4Z7Q5IHS.js} +2 -2
- package/dist/{chunk-R3RMENGN.js → chunk-64ALJH5X.js} +3 -3
- package/dist/{chunk-WVDV47XQ.js → chunk-DEXJV7HO.js} +30 -2
- package/dist/chunk-DEXJV7HO.js.map +1 -0
- package/dist/{chunk-EHOK3XKM.js → chunk-FC3UE7XG.js} +25 -2
- package/dist/chunk-FC3UE7XG.js.map +1 -0
- package/dist/{chunk-OWQ2HDQB.js → chunk-ISOKPVX3.js} +2 -2
- package/dist/{chunk-MU7JQOTF.js → chunk-KLXFVVPE.js} +4 -4
- package/dist/{chunk-LAZ5O2ZK.js → chunk-O4GD4NTS.js} +2 -2
- package/dist/{chunk-MS2GGEMU.js → chunk-OHA5F7YF.js} +5 -5
- package/dist/{chunk-QPNEXTZ5.js → chunk-QH75CTQB.js} +2 -2
- package/dist/{chunk-WV4XTYMU.js → chunk-SVBJIRQY.js} +2 -2
- package/dist/{chunk-KTGSOTNW.js → chunk-WVBUY7NR.js} +4 -4
- package/dist/{chunk-B7T42IY2.js → chunk-ZBA2L5L4.js} +2 -2
- package/dist/connect.js +14 -14
- package/dist/connect.js.map +1 -1
- package/dist/gen/index.js +11 -26
- package/dist/gen/index.js.map +1 -1
- package/dist/{index-BR4r9rhQ.d.ts → index-uotEq_CF.d.ts} +7 -1
- package/dist/index.browser.min.js +1 -1
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.d.ts +64 -10
- package/dist/index.js +1718 -973
- package/dist/index.js.map +1 -1
- package/dist/markdown.js +6 -6
- package/dist/styles.css +1 -1
- package/dist/wallet/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-DFYLQTCM.js +0 -107
- package/dist/chunk-DFYLQTCM.js.map +0 -1
- package/dist/chunk-EHOK3XKM.js.map +0 -1
- package/dist/chunk-WVDV47XQ.js.map +0 -1
- /package/dist/{chunk-KLAOGE6Y.js.map → chunk-3UGI5F4I.js.map} +0 -0
- /package/dist/{chunk-FZXMS7HJ.js.map → chunk-4Z7Q5IHS.js.map} +0 -0
- /package/dist/{chunk-R3RMENGN.js.map → chunk-64ALJH5X.js.map} +0 -0
- /package/dist/{chunk-OWQ2HDQB.js.map → chunk-ISOKPVX3.js.map} +0 -0
- /package/dist/{chunk-MU7JQOTF.js.map → chunk-KLXFVVPE.js.map} +0 -0
- /package/dist/{chunk-LAZ5O2ZK.js.map → chunk-O4GD4NTS.js.map} +0 -0
- /package/dist/{chunk-MS2GGEMU.js.map → chunk-OHA5F7YF.js.map} +0 -0
- /package/dist/{chunk-QPNEXTZ5.js.map → chunk-QH75CTQB.js.map} +0 -0
- /package/dist/{chunk-WV4XTYMU.js.map → chunk-SVBJIRQY.js.map} +0 -0
- /package/dist/{chunk-KTGSOTNW.js.map → chunk-WVBUY7NR.js.map} +0 -0
- /package/dist/{chunk-B7T42IY2.js.map → chunk-ZBA2L5L4.js.map} +0 -0
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
|
+
|
|
5
|
+
// src/modules/gen/themes.ts
|
|
6
|
+
var MODALITIES = [
|
|
7
|
+
"text",
|
|
8
|
+
"image",
|
|
9
|
+
"video",
|
|
10
|
+
"audio",
|
|
11
|
+
"realtime",
|
|
12
|
+
"embedding"
|
|
13
|
+
];
|
|
14
|
+
function getModalityKey(category) {
|
|
15
|
+
const lower = category.toLowerCase();
|
|
16
|
+
if (lower === "images") return "image";
|
|
17
|
+
if (lower === "embeddings") return "embedding";
|
|
18
|
+
return MODALITIES.includes(lower) ? lower : null;
|
|
19
|
+
}
|
|
20
|
+
var modalityColorVar = (key) => `var(--polli-color-modality-${key})`;
|
|
21
|
+
var modalityBgVar = (key) => `var(--polli-color-modality-${key}-bg)`;
|
|
22
|
+
var modalityTextColor = (key) => `color-mix(in oklab, ${modalityColorVar(key)} 60%, var(--polli-color-text-strong))`;
|
|
4
23
|
|
|
5
24
|
// src/primitives/TabButton.tsx
|
|
6
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -107,6 +126,10 @@ function TabButton({
|
|
|
107
126
|
}
|
|
108
127
|
|
|
109
128
|
export {
|
|
129
|
+
getModalityKey,
|
|
130
|
+
modalityColorVar,
|
|
131
|
+
modalityBgVar,
|
|
132
|
+
modalityTextColor,
|
|
110
133
|
TabButton
|
|
111
134
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
135
|
+
//# sourceMappingURL=chunk-FC3UE7XG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/modules/gen/themes.ts","../src/primitives/TabButton.tsx"],"sourcesContent":["/** Pollinations model-modality colors. Single-accent model: modality is NOT a\n * page theme — each modality is a fixed color from the `--polli-color-modality-*`\n * tokens, applied as a dot/badge via inline style (the key is dynamic, so a CSS\n * var beats a Tailwind class). The token VALUES live in styles/tokens.css. */\nimport type { ModelCategory } from \"@pollinations/sdk\";\n\n/** The canonical modality keys (match the `--polli-color-modality-*` tokens). */\ntype ModalityKey = ModelCategory;\n\nconst MODALITIES: readonly ModelCategory[] = [\n \"text\",\n \"image\",\n \"video\",\n \"audio\",\n \"realtime\",\n \"embedding\",\n];\n\n/** Map an untrusted category string to its modality key; null if unknown. */\nexport function getModalityKey(category: string): ModalityKey | null {\n const lower = category.toLowerCase();\n if (lower === \"images\") return \"image\";\n if (lower === \"embeddings\") return \"embedding\";\n return MODALITIES.includes(lower as ModelCategory)\n ? (lower as ModelCategory)\n : null;\n}\n\n/** CSS var for a modality's solid color (dot / border / icon). */\nexport const modalityColorVar = (key: ModalityKey): string =>\n `var(--polli-color-modality-${key})`;\n\n/** CSS var for a modality's faint chip background. */\nexport const modalityBgVar = (key: ModalityKey): string =>\n `var(--polli-color-modality-${key}-bg)`;\n\n/** A modality's text color, mixed toward the strong text so it stays readable on its background. */\nexport const modalityTextColor = (key: ModalityKey): string =>\n `color-mix(in oklab, ${modalityColorVar(key)} 60%, var(--polli-color-text-strong))`;\n","import type {\n ComponentPropsWithoutRef,\n ElementType,\n MouseEvent as ReactMouseEvent,\n ReactNode,\n} from \"react\";\nimport { cn } from \"../lib/cn.ts\";\n\ntype TabButtonOwnProps = {\n /** `mixed`: a group toggle where only some of its items are selected. */\n active: boolean | \"mixed\";\n /** Omit when rendering as a link (`as`) and navigation carries the change. */\n onClick?: () => void;\n children: ReactNode;\n /** Leading icon, sized to the label like Button's. */\n icon?: ReactNode;\n size?: \"lg\" | \"md\" | \"sm\" | \"xs\";\n variant?: \"soft\" | \"ghost\";\n /**\n * `amber` and `green` fill the selected pill with the wallet's pale paid\n * and Quest Pollen chip colours, which read at the same strength together.\n * `brand` is site navigation: bold labels, the brand accent for the\n * current page and a lighter preview of it on hover.\n */\n intent?: \"neutral\" | \"amber\" | \"green\" | \"brand\";\n /** Muted secondary text after the label, e.g. a model's creator. */\n detail?: ReactNode;\n ariaLabel?: string;\n disabled?: boolean;\n className?: string;\n};\n\n/**\n * Polymorphic like Button, so a tab that navigates can render a real anchor\n * instead of a click handler — middle-click, right-click and crawlers all\n * depend on that. Defaults to <button>, so existing call sites are unchanged.\n */\nexport type TabButtonProps<T extends ElementType = \"button\"> =\n TabButtonOwnProps & { as?: T } & Omit<\n ComponentPropsWithoutRef<T>,\n keyof TabButtonOwnProps | \"as\"\n >;\n\n/**\n * Shared pill shape (no colors) — used by every TabButton variant.\n *\n * `transition-colors`, not `transition-all`: only background and text colour\n * change between the variants, and `all` additionally animates any layout\n * property that happens to differ — which is the usual cause of a control\n * jittering under the pointer on hover.\n */\nconst tabButtonBaseClass =\n \"polli-control polli:inline-flex polli:items-center polli:justify-center polli:rounded-full polli:font-medium polli:leading-normal polli:transition-colors polli:duration-200\";\n\nconst tabButtonSizeClass = {\n xs: \"polli:px-2.5 polli:py-1 polli:text-xs\",\n lg: \"polli:px-5 polli:py-2 polli:text-lg\",\n md: \"polli:px-4 polli:py-1.5 polli:text-base\",\n sm: \"polli:px-3 polli:py-1.5 polli:text-sm\",\n} as const;\n\nconst variantClasses = {\n // The default tab look: borderless and monochrome. Selected is the `fill` /\n // `on-fill` pair (the orange with dark text, both modes) and does not change\n // on hover. Non-selected is the quiet `bg-subtle`; hover is a pale wash of\n // the fill, so it previews the selection without outshining it.\n soft: {\n base: \"\",\n active: \"polli:bg-theme-fill polli:text-theme-on-fill\",\n mixed: \"polli:bg-theme-fill/45 polli:text-theme-text-strong polli:hover:bg-theme-fill polli:hover:text-theme-on-fill\",\n inactive:\n \"polli:bg-theme-bg-subtle polli:text-theme-text-base polli:hover:bg-theme-fill-wash polli:hover:text-theme-text-strong\",\n },\n // Transparent until hovered or selected — for multi-select toggles and\n // inline rows where a filled idle pill would read as a hard selection.\n ghost: {\n base: \"polli:border polli:border-transparent\",\n active: \"polli:bg-theme-fill polli:text-theme-on-fill\",\n mixed: \"polli:bg-theme-fill/45 polli:text-theme-text-strong polli:hover:bg-theme-fill polli:hover:text-theme-on-fill\",\n inactive:\n \"polli:bg-transparent polli:text-theme-text-base polli:hover:bg-theme-fill-wash polli:hover:text-theme-text-strong\",\n },\n} as const;\n\n// Wallet chip pairs: selected fills with the pale tint and deep label; hover\n// previews that fill. Unselected green keeps its green label so it stays\n// recognisable next to amber; unselected amber keeps the neutral label.\nconst intentClasses = {\n amber: {\n active: \"polli:bg-paid-pale polli:text-paid-deep\",\n inactive:\n \"polli:bg-transparent polli:text-theme-text-base polli:hover:bg-paid-pale/60\",\n },\n green: {\n active: \"polli:bg-tier-pale polli:text-tier-deep\",\n inactive:\n \"polli:bg-transparent polli:text-tier-deep polli:hover:bg-tier-pale/60\",\n },\n // Site navigation: the current page is the one full fill pill, like a\n // selected tab; hover only previews it, so \"where you are\" never doubles up.\n brand: {\n active: \"polli:bg-theme-fill polli:font-bold polli:text-theme-on-fill\",\n inactive:\n \"polli:bg-transparent polli:font-bold polli:text-theme-text-strong polli:hover:bg-theme-fill-wash\",\n },\n} as const;\n\nexport function TabButton<T extends ElementType = \"button\">({\n as,\n active,\n onClick,\n children,\n icon,\n size = \"md\",\n variant = \"soft\",\n intent,\n detail,\n ariaLabel,\n disabled = false,\n className,\n ...rest\n}: TabButtonProps<T>) {\n const Component: ElementType = as || \"button\";\n const isButton = Component === \"button\";\n const colors =\n intent === \"neutral\"\n ? variantClasses.soft\n : intent\n ? {\n ...intentClasses[intent],\n mixed: intentClasses[intent].active,\n }\n : variantClasses[variant];\n const handleClick = disabled\n ? (event: ReactMouseEvent) => {\n event.preventDefault();\n event.stopPropagation();\n }\n : onClick;\n\n return (\n <Component\n {...rest}\n {...(isButton ? { type: \"button\", disabled } : {})}\n {...(!isButton && disabled\n ? { \"aria-disabled\": true, tabIndex: -1 }\n : {})}\n {...(Component === \"a\" && disabled ? { href: undefined } : {})}\n onClick={handleClick}\n {...(ariaLabel !== undefined ? { \"aria-label\": ariaLabel } : {})}\n // aria-pressed is for toggles; a link that navigates announces its\n // selected state with aria-current instead.\n {...(isButton\n ? { \"aria-pressed\": active }\n : { \"aria-current\": active === true ? \"page\" : undefined })}\n className={cn(\n tabButtonBaseClass,\n variantClasses[variant].base,\n active === \"mixed\"\n ? colors.mixed\n : active\n ? colors.active\n : colors.inactive,\n disabled &&\n \"polli:pointer-events-none polli:cursor-not-allowed polli:opacity-50\",\n tabButtonSizeClass[size],\n className,\n )}\n >\n {icon && (\n <span\n aria-hidden=\"true\"\n className=\"polli:mr-1.5 polli:flex polli:size-4 polli:shrink-0 polli:[&>svg]:size-full\"\n >\n {icon}\n </span>\n )}\n {children}\n {detail != null && (\n <span className=\"polli:ml-1 polli:font-normal polli:opacity-70\">\n {detail}\n </span>\n )}\n </Component>\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
4
|
|
|
5
5
|
// src/primitives/Chip.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -47,4 +47,4 @@ var Chip = ({
|
|
|
47
47
|
export {
|
|
48
48
|
Chip
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-ISOKPVX3.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3UGI5F4I.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZBA2L5L4.js";
|
|
7
7
|
import {
|
|
8
8
|
CheckIcon,
|
|
9
9
|
ClipboardIcon,
|
|
10
10
|
cn
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DEXJV7HO.js";
|
|
12
12
|
|
|
13
13
|
// src/compositions/CopyButton.tsx
|
|
14
14
|
import {
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
CopyButton,
|
|
168
168
|
CodeBlock
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-KLXFVVPE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
4
|
|
|
5
5
|
// src/primitives/ScrollArea.tsx
|
|
6
6
|
import {
|
|
@@ -102,4 +102,4 @@ ScrollArea.displayName = "ScrollArea";
|
|
|
102
102
|
export {
|
|
103
103
|
ScrollArea
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-O4GD4NTS.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Chip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ISOKPVX3.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZBA2L5L4.js";
|
|
7
7
|
import {
|
|
8
8
|
InlineLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SVBJIRQY.js";
|
|
10
10
|
import {
|
|
11
11
|
CardIcon,
|
|
12
12
|
KeyIcon,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
WalletIcon,
|
|
15
15
|
WarningIcon,
|
|
16
16
|
cn
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DEXJV7HO.js";
|
|
18
18
|
|
|
19
19
|
// src/modules/wallet/format-pollen.ts
|
|
20
20
|
var BUDGET = 5;
|
|
@@ -308,4 +308,4 @@ export {
|
|
|
308
308
|
WalletBalanceCard,
|
|
309
309
|
AccountPollen
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=chunk-
|
|
311
|
+
//# sourceMappingURL=chunk-OHA5F7YF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
4
|
|
|
5
5
|
// src/primitives/Typography.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -85,4 +85,4 @@ export {
|
|
|
85
85
|
Heading,
|
|
86
86
|
Text
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-QH75CTQB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ExternalLinkIcon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/link.ts
|
|
6
6
|
function isExternalHref(href, origin = globalThis.location?.origin) {
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
isExternalHref,
|
|
56
56
|
InlineLink
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-SVBJIRQY.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScrollArea
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O4GD4NTS.js";
|
|
4
4
|
import {
|
|
5
5
|
Text,
|
|
6
6
|
headingClassName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QH75CTQB.js";
|
|
8
8
|
import {
|
|
9
9
|
MoonIcon,
|
|
10
10
|
SunIcon,
|
|
11
11
|
WarningIcon,
|
|
12
12
|
cn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DEXJV7HO.js";
|
|
14
14
|
|
|
15
15
|
// src/compositions/Alert.tsx
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -531,4 +531,4 @@ export {
|
|
|
531
531
|
ColorModeToggle,
|
|
532
532
|
LoadingStatus
|
|
533
533
|
};
|
|
534
|
-
//# sourceMappingURL=chunk-
|
|
534
|
+
//# sourceMappingURL=chunk-WVBUY7NR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEXJV7HO.js";
|
|
4
4
|
|
|
5
5
|
// src/primitives/Tooltip.tsx
|
|
6
6
|
import {
|
|
@@ -252,4 +252,4 @@ var Tooltip = ({
|
|
|
252
252
|
export {
|
|
253
253
|
Tooltip
|
|
254
254
|
};
|
|
255
|
-
//# sourceMappingURL=chunk-
|
|
255
|
+
//# sourceMappingURL=chunk-ZBA2L5L4.js.map
|