@makinbakin/sdk 0.0.1-rc.16 → 0.0.1-rc.17
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/_internal/app/components/ui/badge.d.ts +1 -1
- package/_internal/app/components/ui/button.d.ts +1 -1
- package/_internal/core/adapters/runtime/concepts.d.ts +1 -1
- package/_internal/core/content-dir.d.ts +1 -0
- package/_internal/core/plugin-types.d.ts +4 -2
- package/components/index.js +401 -403
- package/hooks/index.js +14 -8
- package/index.d.ts +29 -0
- package/index.js +144 -6
- package/package.json +1 -1
- package/register.d.ts +25 -0
- package/routing/index.js +2 -1
- package/slots/index.d.ts +16 -24
- package/slots/index.js +176 -29
- package/types/index.d.ts +44 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRender } from "@base-ui/react/use-render";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "destructive" | "
|
|
4
|
+
variant?: "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
7
7
|
export { Badge, badgeVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "info" | "destructive" | "
|
|
4
|
+
variant?: "info" | "destructive" | "default" | "link" | "outline" | "secondary" | "ghost" | "warning" | "accent" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -286,7 +286,7 @@ export type RuntimeImageBackground = 'transparent' | 'opaque' | 'auto';
|
|
|
286
286
|
* provider with a defaultModel); a rich runtime fills more. Consumers MUST
|
|
287
287
|
* treat a sparse capability as normal and never require a field a thin runtime
|
|
288
288
|
* cannot provide — gaps are filled below, in the adapter/shim, not pushed up
|
|
289
|
-
* into plugins. See .claude/
|
|
289
|
+
* into plugins. See .claude/knowledge/media-generation-adapter-architecture.md.
|
|
290
290
|
*/
|
|
291
291
|
export interface RuntimeImageProviderCapabilities {
|
|
292
292
|
generate?: {
|
|
@@ -473,7 +473,10 @@ export interface AssetCreateInput {
|
|
|
473
473
|
};
|
|
474
474
|
generation?: AssetGenerationInfo | null;
|
|
475
475
|
}
|
|
476
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* Append a new version to an existing asset. Note: no `tags` — tags are an
|
|
478
|
+
* asset-level organizational namespace that versioning never touches.
|
|
479
|
+
*/
|
|
477
480
|
export interface AssetVersionCreateInput {
|
|
478
481
|
sourceFilePath: string;
|
|
479
482
|
op?: 'edit' | 'generate' | 'upload' | 'import';
|
|
@@ -481,7 +484,6 @@ export interface AssetVersionCreateInput {
|
|
|
481
484
|
prompt?: string | null;
|
|
482
485
|
promptHash?: string | null;
|
|
483
486
|
description?: string;
|
|
484
|
-
tags?: string[];
|
|
485
487
|
generation?: AssetGenerationInfo | null;
|
|
486
488
|
}
|
|
487
489
|
/** Render a derived export of a version (keyed/idempotent by surface). */
|