@morlay/dsh-client-ui-primitives 0.0.5 → 0.0.6
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/dist/client.d.cts +26 -26
- package/dist/client.d.mts +26 -26
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -9353,7 +9353,7 @@ interface Sheet {
|
|
|
9353
9353
|
contents: string[];
|
|
9354
9354
|
selector: string | undefined;
|
|
9355
9355
|
}
|
|
9356
|
-
declare class Styling {
|
|
9356
|
+
export declare class Styling {
|
|
9357
9357
|
#private;
|
|
9358
9358
|
static create(): Styling;
|
|
9359
9359
|
static toRule(sheet: Sheet): string;
|
|
@@ -9363,7 +9363,7 @@ declare class Styling {
|
|
|
9363
9363
|
className: (...styles: (CSSProps | false | null | undefined)[]) => string;
|
|
9364
9364
|
sheets: () => string[];
|
|
9365
9365
|
}
|
|
9366
|
-
declare const styling: Styling;
|
|
9366
|
+
export declare const styling: Styling;
|
|
9367
9367
|
//#endregion
|
|
9368
9368
|
//#region src/client/styling/token.d.ts
|
|
9369
9369
|
interface CSSVarRef {
|
|
@@ -9373,7 +9373,7 @@ interface CSSVarRef {
|
|
|
9373
9373
|
}
|
|
9374
9374
|
type TokenVars<T> = (T extends string | true ? CSSVarRef : { readonly [K in keyof T]: TokenVars<T[K]>; }) & CSSVarRef;
|
|
9375
9375
|
type Tokens = Record<string, unknown>;
|
|
9376
|
-
declare class Token {
|
|
9376
|
+
export declare class Token {
|
|
9377
9377
|
readonly prefix: string;
|
|
9378
9378
|
static vars<T extends Tokens>(tokens: T, options?: {
|
|
9379
9379
|
prefix?: string;
|
|
@@ -9409,11 +9409,11 @@ declare const sxSymbol: unique symbol;
|
|
|
9409
9409
|
type StyledComponent<T extends ElementType> = ForwardRefExoticComponent<StyledProps<T> & RefAttributes<StyledRef<T>>> & {
|
|
9410
9410
|
readonly [sxSymbol]: CSSProps;
|
|
9411
9411
|
};
|
|
9412
|
-
declare function styled<T extends ElementType>(Component: T, defaultProps?: Partial<ComponentProps<T>>): (...styles: CSSProps[]) => StyledComponent<T>;
|
|
9413
|
-
declare function styleOf(component: StyledComponent<ElementType>): CSSProps;
|
|
9412
|
+
export declare function styled<T extends ElementType>(Component: T, defaultProps?: Partial<ComponentProps<T>>): (...styles: CSSProps[]) => StyledComponent<T>;
|
|
9413
|
+
export declare function styleOf(component: StyledComponent<ElementType>): CSSProps;
|
|
9414
9414
|
//#endregion
|
|
9415
9415
|
//#region src/client/theme.generated.d.ts
|
|
9416
|
-
declare const designTokens: {
|
|
9416
|
+
export declare const designTokens: {
|
|
9417
9417
|
readonly alias: {
|
|
9418
9418
|
readonly bg: {
|
|
9419
9419
|
readonly base: "var(--dsw-static-neutral-bluish-00)";
|
|
@@ -10239,7 +10239,7 @@ declare const designTokens: {
|
|
|
10239
10239
|
};
|
|
10240
10240
|
//#endregion
|
|
10241
10241
|
//#region src/client/theme.d.ts
|
|
10242
|
-
declare const dsw: TokenVars<{
|
|
10242
|
+
export declare const dsw: TokenVars<{
|
|
10243
10243
|
readonly alias: {
|
|
10244
10244
|
readonly bg: {
|
|
10245
10245
|
readonly base: "var(--dsw-static-neutral-bluish-00)";
|
|
@@ -11065,8 +11065,8 @@ declare const dsw: TokenVars<{
|
|
|
11065
11065
|
}>;
|
|
11066
11066
|
//#endregion
|
|
11067
11067
|
//#region src/client/markdown-labels.d.ts
|
|
11068
|
-
type MarkdownCopySeat = (key: "copy" | "copied" | "markdown.footnotes") => string;
|
|
11069
|
-
declare function markdownLabels(t: MarkdownCopySeat): MarkdownLabels;
|
|
11068
|
+
export type MarkdownCopySeat = (key: "copy" | "copied" | "markdown.footnotes") => string;
|
|
11069
|
+
export declare function markdownLabels(t: MarkdownCopySeat): MarkdownLabels;
|
|
11070
11070
|
//#endregion
|
|
11071
11071
|
//#region src/client/settings-form/form-model.d.ts
|
|
11072
11072
|
interface SettingsFormScopeSnapshot<T> {
|
|
@@ -11124,9 +11124,9 @@ interface SettingsFormActions {
|
|
|
11124
11124
|
save: () => void;
|
|
11125
11125
|
discard: () => void;
|
|
11126
11126
|
}
|
|
11127
|
-
declare function settingsNumberField(field: string): SettingsFieldSpec;
|
|
11128
|
-
declare function settingsTextField(field: string): SettingsFieldSpec;
|
|
11129
|
-
declare class SettingsFormModel<T> {
|
|
11127
|
+
export declare function settingsNumberField(field: string): SettingsFieldSpec;
|
|
11128
|
+
export declare function settingsTextField(field: string): SettingsFieldSpec;
|
|
11129
|
+
export declare class SettingsFormModel<T> {
|
|
11130
11130
|
private readonly scope;
|
|
11131
11131
|
private readonly specs;
|
|
11132
11132
|
private readonly secretSpecs;
|
|
@@ -11169,7 +11169,7 @@ interface SettingsFieldProps {
|
|
|
11169
11169
|
onEdit: (text: string) => void;
|
|
11170
11170
|
onReset: () => void;
|
|
11171
11171
|
}
|
|
11172
|
-
declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
11172
|
+
export declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
11173
11173
|
hint?: string;
|
|
11174
11174
|
help?: {
|
|
11175
11175
|
label: string;
|
|
@@ -11178,7 +11178,7 @@ declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
|
11178
11178
|
numeric?: boolean;
|
|
11179
11179
|
placeholder?: string;
|
|
11180
11180
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11181
|
-
declare function SettingsSecretField(props: Pick<SettingsFieldProps, "id" | "label" | "hint" | "text" | "disabled" | "onEdit"> & {
|
|
11181
|
+
export declare function SettingsSecretField(props: Pick<SettingsFieldProps, "id" | "label" | "hint" | "text" | "disabled" | "onEdit"> & {
|
|
11182
11182
|
configured: boolean;
|
|
11183
11183
|
stateLabel: string;
|
|
11184
11184
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11198,7 +11198,7 @@ interface SettingsFormProps {
|
|
|
11198
11198
|
onDiscard: () => void;
|
|
11199
11199
|
children: ReactNode;
|
|
11200
11200
|
}
|
|
11201
|
-
declare function SettingsForm(props: SettingsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
11201
|
+
export declare function SettingsForm(props: SettingsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
11202
11202
|
//#endregion
|
|
11203
11203
|
//#region src/client/schema-form/schema-node.d.ts
|
|
11204
11204
|
type ReadOnlyReason = "transform" | "function" | "constructor";
|
|
@@ -11281,7 +11281,7 @@ interface WalkedField {
|
|
|
11281
11281
|
interface SuggestedKeys {
|
|
11282
11282
|
keysFor(path: readonly string[]): readonly string[];
|
|
11283
11283
|
}
|
|
11284
|
-
declare function walkFields(root: FieldNode, value: unknown): WalkedField[];
|
|
11284
|
+
export declare function walkFields(root: FieldNode, value: unknown): WalkedField[];
|
|
11285
11285
|
interface VariantChoice {
|
|
11286
11286
|
label: string;
|
|
11287
11287
|
value: unknown;
|
|
@@ -11303,7 +11303,7 @@ interface ValidationFailure {
|
|
|
11303
11303
|
message: string;
|
|
11304
11304
|
path: readonly string[];
|
|
11305
11305
|
}
|
|
11306
|
-
declare function failureOf(error: unknown): ValidationFailure;
|
|
11306
|
+
export declare function failureOf(error: unknown): ValidationFailure;
|
|
11307
11307
|
interface DraftFieldState {
|
|
11308
11308
|
value: unknown;
|
|
11309
11309
|
text: string | undefined;
|
|
@@ -11338,7 +11338,7 @@ interface SchemaFormHintsFace {
|
|
|
11338
11338
|
sourceFor(name: string): SelectSpec | undefined;
|
|
11339
11339
|
selectFor(ns: string, path: readonly string[]): SelectSpec | undefined;
|
|
11340
11340
|
}
|
|
11341
|
-
declare class SchemaFormHints extends Service implements SchemaFormHintsFace {
|
|
11341
|
+
export declare class SchemaFormHints extends Service implements SchemaFormHintsFace {
|
|
11342
11342
|
#private;
|
|
11343
11343
|
constructor(ctx: Context);
|
|
11344
11344
|
keysFor(ns: string, path: readonly string[]): readonly string[];
|
|
@@ -11359,7 +11359,7 @@ declare module "@deepseek-ai/cordis" {
|
|
|
11359
11359
|
}
|
|
11360
11360
|
//#endregion
|
|
11361
11361
|
//#region src/client/schema-form/controller.d.ts
|
|
11362
|
-
declare function projectRoot(serialized: unknown, rehydrate: (serialized: unknown) => SchemaNode): {
|
|
11362
|
+
export declare function projectRoot(serialized: unknown, rehydrate: (serialized: unknown) => SchemaNode): {
|
|
11363
11363
|
schema: SchemaNode;
|
|
11364
11364
|
root: FieldNode;
|
|
11365
11365
|
} | undefined;
|
|
@@ -11411,7 +11411,7 @@ interface SchemaFormFace extends SchemaFormActions {
|
|
|
11411
11411
|
};
|
|
11412
11412
|
}
|
|
11413
11413
|
declare function optionsFor(node: FieldNode, path: readonly string[], value: unknown, hints: HintSources | undefined): readonly SelectOption[] | undefined;
|
|
11414
|
-
declare class SchemaFormController {
|
|
11414
|
+
export declare class SchemaFormController {
|
|
11415
11415
|
#private;
|
|
11416
11416
|
constructor(ns: string, deps: SchemaFormDeps);
|
|
11417
11417
|
face(): SchemaFormFace;
|
|
@@ -11556,7 +11556,7 @@ interface RowRegistrationPlan {
|
|
|
11556
11556
|
key: string;
|
|
11557
11557
|
ns: string;
|
|
11558
11558
|
}
|
|
11559
|
-
declare function rowRegistrations(namespaces: readonly SettingsNamespaceView[], bundles: readonly BundleInfo[]): RowRegistrationPlan[];
|
|
11559
|
+
export declare function rowRegistrations(namespaces: readonly SettingsNamespaceView[], bundles: readonly BundleInfo[]): RowRegistrationPlan[];
|
|
11560
11560
|
//#endregion
|
|
11561
11561
|
//#region src/client/schema-form/value.d.ts
|
|
11562
11562
|
declare function valueText(value: unknown): string;
|
|
@@ -11646,11 +11646,11 @@ interface ReferenceMarkdownProps {
|
|
|
11646
11646
|
readonly streaming?: boolean | undefined;
|
|
11647
11647
|
readonly pathImages?: MarkdownPathImages | undefined;
|
|
11648
11648
|
}
|
|
11649
|
-
declare function referenceMentions(actions?: ReferenceActions, tokens?: ReadonlyMap<string, Reference>): MarkdownFileMentions;
|
|
11650
|
-
declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11649
|
+
export declare function referenceMentions(actions?: ReferenceActions, tokens?: ReadonlyMap<string, Reference>): MarkdownFileMentions;
|
|
11650
|
+
export declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11651
11651
|
//#endregion
|
|
11652
11652
|
//#region src/client/index.d.ts
|
|
11653
|
-
declare const inject: readonly string[];
|
|
11654
|
-
declare function apply(ctx: Context): void;
|
|
11653
|
+
export declare const inject: readonly string[];
|
|
11654
|
+
export declare function apply(ctx: Context): void;
|
|
11655
11655
|
//#endregion
|
|
11656
|
-
export { type CSSObject, type CSSProps, type CSSSelector, type CSSValue, type CSSVar, type CSSVarRef, type FieldMeta, type FieldNode,
|
|
11656
|
+
export { type CSSObject, type CSSProps, type CSSSelector, type CSSValue, type CSSVar, type CSSVarRef, type FieldMeta, type FieldNode, type Reference, type ReferenceActions, type ReferenceMarkdownProps, type ReferenceSpan, NS as SCHEMA_FORM_NS, type SchemaFormActions, type SchemaFormFace, type SchemaFormLocaleKey, type SchemaFormState, type SelectOption, type SelectSpec, type SettingsFieldProps, type SettingsFieldSpec, type SettingsFieldState, type SettingsFieldWrite, type SettingsFormActions, type SettingsFormLabels, type SettingsFormPathOp, type SettingsFormProps, type SettingsFormScope, type SettingsFormScopeSnapshot, type SettingsFormShell, type SettingsSecretSpec, type StyledComponent, type SuggestedKeys, type TokenVars, type Tokens, type ValidationFailure, type WalkedField, findReferences, formatReference, formatReferenceMention, isLocalReference, parseReference, parseReferenceToken, index_d_exports as schemaForm };
|
package/dist/client.d.mts
CHANGED
|
@@ -9352,7 +9352,7 @@ interface Sheet {
|
|
|
9352
9352
|
contents: string[];
|
|
9353
9353
|
selector: string | undefined;
|
|
9354
9354
|
}
|
|
9355
|
-
declare class Styling {
|
|
9355
|
+
export declare class Styling {
|
|
9356
9356
|
#private;
|
|
9357
9357
|
static create(): Styling;
|
|
9358
9358
|
static toRule(sheet: Sheet): string;
|
|
@@ -9362,7 +9362,7 @@ declare class Styling {
|
|
|
9362
9362
|
className: (...styles: (CSSProps | false | null | undefined)[]) => string;
|
|
9363
9363
|
sheets: () => string[];
|
|
9364
9364
|
}
|
|
9365
|
-
declare const styling: Styling;
|
|
9365
|
+
export declare const styling: Styling;
|
|
9366
9366
|
//#endregion
|
|
9367
9367
|
//#region src/client/styling/token.d.ts
|
|
9368
9368
|
interface CSSVarRef {
|
|
@@ -9372,7 +9372,7 @@ interface CSSVarRef {
|
|
|
9372
9372
|
}
|
|
9373
9373
|
type TokenVars<T> = (T extends string | true ? CSSVarRef : { readonly [K in keyof T]: TokenVars<T[K]>; }) & CSSVarRef;
|
|
9374
9374
|
type Tokens = Record<string, unknown>;
|
|
9375
|
-
declare class Token {
|
|
9375
|
+
export declare class Token {
|
|
9376
9376
|
readonly prefix: string;
|
|
9377
9377
|
static vars<T extends Tokens>(tokens: T, options?: {
|
|
9378
9378
|
prefix?: string;
|
|
@@ -9408,11 +9408,11 @@ declare const sxSymbol: unique symbol;
|
|
|
9408
9408
|
type StyledComponent<T extends ElementType> = ForwardRefExoticComponent<StyledProps<T> & RefAttributes<StyledRef<T>>> & {
|
|
9409
9409
|
readonly [sxSymbol]: CSSProps;
|
|
9410
9410
|
};
|
|
9411
|
-
declare function styled<T extends ElementType>(Component: T, defaultProps?: Partial<ComponentProps<T>>): (...styles: CSSProps[]) => StyledComponent<T>;
|
|
9412
|
-
declare function styleOf(component: StyledComponent<ElementType>): CSSProps;
|
|
9411
|
+
export declare function styled<T extends ElementType>(Component: T, defaultProps?: Partial<ComponentProps<T>>): (...styles: CSSProps[]) => StyledComponent<T>;
|
|
9412
|
+
export declare function styleOf(component: StyledComponent<ElementType>): CSSProps;
|
|
9413
9413
|
//#endregion
|
|
9414
9414
|
//#region src/client/theme.generated.d.ts
|
|
9415
|
-
declare const designTokens: {
|
|
9415
|
+
export declare const designTokens: {
|
|
9416
9416
|
readonly alias: {
|
|
9417
9417
|
readonly bg: {
|
|
9418
9418
|
readonly base: "var(--dsw-static-neutral-bluish-00)";
|
|
@@ -10238,7 +10238,7 @@ declare const designTokens: {
|
|
|
10238
10238
|
};
|
|
10239
10239
|
//#endregion
|
|
10240
10240
|
//#region src/client/theme.d.ts
|
|
10241
|
-
declare const dsw: TokenVars<{
|
|
10241
|
+
export declare const dsw: TokenVars<{
|
|
10242
10242
|
readonly alias: {
|
|
10243
10243
|
readonly bg: {
|
|
10244
10244
|
readonly base: "var(--dsw-static-neutral-bluish-00)";
|
|
@@ -11064,8 +11064,8 @@ declare const dsw: TokenVars<{
|
|
|
11064
11064
|
}>;
|
|
11065
11065
|
//#endregion
|
|
11066
11066
|
//#region src/client/markdown-labels.d.ts
|
|
11067
|
-
type MarkdownCopySeat = (key: "copy" | "copied" | "markdown.footnotes") => string;
|
|
11068
|
-
declare function markdownLabels(t: MarkdownCopySeat): MarkdownLabels;
|
|
11067
|
+
export type MarkdownCopySeat = (key: "copy" | "copied" | "markdown.footnotes") => string;
|
|
11068
|
+
export declare function markdownLabels(t: MarkdownCopySeat): MarkdownLabels;
|
|
11069
11069
|
//#endregion
|
|
11070
11070
|
//#region src/client/settings-form/form-model.d.ts
|
|
11071
11071
|
interface SettingsFormScopeSnapshot<T> {
|
|
@@ -11123,9 +11123,9 @@ interface SettingsFormActions {
|
|
|
11123
11123
|
save: () => void;
|
|
11124
11124
|
discard: () => void;
|
|
11125
11125
|
}
|
|
11126
|
-
declare function settingsNumberField(field: string): SettingsFieldSpec;
|
|
11127
|
-
declare function settingsTextField(field: string): SettingsFieldSpec;
|
|
11128
|
-
declare class SettingsFormModel<T> {
|
|
11126
|
+
export declare function settingsNumberField(field: string): SettingsFieldSpec;
|
|
11127
|
+
export declare function settingsTextField(field: string): SettingsFieldSpec;
|
|
11128
|
+
export declare class SettingsFormModel<T> {
|
|
11129
11129
|
private readonly scope;
|
|
11130
11130
|
private readonly specs;
|
|
11131
11131
|
private readonly secretSpecs;
|
|
@@ -11168,7 +11168,7 @@ interface SettingsFieldProps {
|
|
|
11168
11168
|
onEdit: (text: string) => void;
|
|
11169
11169
|
onReset: () => void;
|
|
11170
11170
|
}
|
|
11171
|
-
declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
11171
|
+
export declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
11172
11172
|
hint?: string;
|
|
11173
11173
|
help?: {
|
|
11174
11174
|
label: string;
|
|
@@ -11177,7 +11177,7 @@ declare function SettingsValueField(props: Omit<SettingsFieldProps, "hint"> & {
|
|
|
11177
11177
|
numeric?: boolean;
|
|
11178
11178
|
placeholder?: string;
|
|
11179
11179
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11180
|
-
declare function SettingsSecretField(props: Pick<SettingsFieldProps, "id" | "label" | "hint" | "text" | "disabled" | "onEdit"> & {
|
|
11180
|
+
export declare function SettingsSecretField(props: Pick<SettingsFieldProps, "id" | "label" | "hint" | "text" | "disabled" | "onEdit"> & {
|
|
11181
11181
|
configured: boolean;
|
|
11182
11182
|
stateLabel: string;
|
|
11183
11183
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11197,7 +11197,7 @@ interface SettingsFormProps {
|
|
|
11197
11197
|
onDiscard: () => void;
|
|
11198
11198
|
children: ReactNode;
|
|
11199
11199
|
}
|
|
11200
|
-
declare function SettingsForm(props: SettingsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
11200
|
+
export declare function SettingsForm(props: SettingsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
11201
11201
|
//#endregion
|
|
11202
11202
|
//#region src/client/schema-form/schema-node.d.ts
|
|
11203
11203
|
type ReadOnlyReason = "transform" | "function" | "constructor";
|
|
@@ -11280,7 +11280,7 @@ interface WalkedField {
|
|
|
11280
11280
|
interface SuggestedKeys {
|
|
11281
11281
|
keysFor(path: readonly string[]): readonly string[];
|
|
11282
11282
|
}
|
|
11283
|
-
declare function walkFields(root: FieldNode, value: unknown): WalkedField[];
|
|
11283
|
+
export declare function walkFields(root: FieldNode, value: unknown): WalkedField[];
|
|
11284
11284
|
interface VariantChoice {
|
|
11285
11285
|
label: string;
|
|
11286
11286
|
value: unknown;
|
|
@@ -11302,7 +11302,7 @@ interface ValidationFailure {
|
|
|
11302
11302
|
message: string;
|
|
11303
11303
|
path: readonly string[];
|
|
11304
11304
|
}
|
|
11305
|
-
declare function failureOf(error: unknown): ValidationFailure;
|
|
11305
|
+
export declare function failureOf(error: unknown): ValidationFailure;
|
|
11306
11306
|
interface DraftFieldState {
|
|
11307
11307
|
value: unknown;
|
|
11308
11308
|
text: string | undefined;
|
|
@@ -11337,7 +11337,7 @@ interface SchemaFormHintsFace {
|
|
|
11337
11337
|
sourceFor(name: string): SelectSpec | undefined;
|
|
11338
11338
|
selectFor(ns: string, path: readonly string[]): SelectSpec | undefined;
|
|
11339
11339
|
}
|
|
11340
|
-
declare class SchemaFormHints extends Service implements SchemaFormHintsFace {
|
|
11340
|
+
export declare class SchemaFormHints extends Service implements SchemaFormHintsFace {
|
|
11341
11341
|
#private;
|
|
11342
11342
|
constructor(ctx: Context);
|
|
11343
11343
|
keysFor(ns: string, path: readonly string[]): readonly string[];
|
|
@@ -11358,7 +11358,7 @@ declare module "@deepseek-ai/cordis" {
|
|
|
11358
11358
|
}
|
|
11359
11359
|
//#endregion
|
|
11360
11360
|
//#region src/client/schema-form/controller.d.ts
|
|
11361
|
-
declare function projectRoot(serialized: unknown, rehydrate: (serialized: unknown) => SchemaNode): {
|
|
11361
|
+
export declare function projectRoot(serialized: unknown, rehydrate: (serialized: unknown) => SchemaNode): {
|
|
11362
11362
|
schema: SchemaNode;
|
|
11363
11363
|
root: FieldNode;
|
|
11364
11364
|
} | undefined;
|
|
@@ -11410,7 +11410,7 @@ interface SchemaFormFace extends SchemaFormActions {
|
|
|
11410
11410
|
};
|
|
11411
11411
|
}
|
|
11412
11412
|
declare function optionsFor(node: FieldNode, path: readonly string[], value: unknown, hints: HintSources | undefined): readonly SelectOption[] | undefined;
|
|
11413
|
-
declare class SchemaFormController {
|
|
11413
|
+
export declare class SchemaFormController {
|
|
11414
11414
|
#private;
|
|
11415
11415
|
constructor(ns: string, deps: SchemaFormDeps);
|
|
11416
11416
|
face(): SchemaFormFace;
|
|
@@ -11555,7 +11555,7 @@ interface RowRegistrationPlan {
|
|
|
11555
11555
|
key: string;
|
|
11556
11556
|
ns: string;
|
|
11557
11557
|
}
|
|
11558
|
-
declare function rowRegistrations(namespaces: readonly SettingsNamespaceView[], bundles: readonly BundleInfo[]): RowRegistrationPlan[];
|
|
11558
|
+
export declare function rowRegistrations(namespaces: readonly SettingsNamespaceView[], bundles: readonly BundleInfo[]): RowRegistrationPlan[];
|
|
11559
11559
|
//#endregion
|
|
11560
11560
|
//#region src/client/schema-form/value.d.ts
|
|
11561
11561
|
declare function valueText(value: unknown): string;
|
|
@@ -11645,11 +11645,11 @@ interface ReferenceMarkdownProps {
|
|
|
11645
11645
|
readonly streaming?: boolean | undefined;
|
|
11646
11646
|
readonly pathImages?: MarkdownPathImages | undefined;
|
|
11647
11647
|
}
|
|
11648
|
-
declare function referenceMentions(actions?: ReferenceActions, tokens?: ReadonlyMap<string, Reference>): MarkdownFileMentions;
|
|
11649
|
-
declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11648
|
+
export declare function referenceMentions(actions?: ReferenceActions, tokens?: ReadonlyMap<string, Reference>): MarkdownFileMentions;
|
|
11649
|
+
export declare const ReferenceMarkdown: import("react").MemoExoticComponent<({ text, labels, actions, streaming, pathImages }: ReferenceMarkdownProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11650
11650
|
//#endregion
|
|
11651
11651
|
//#region src/client/index.d.ts
|
|
11652
|
-
declare const inject: readonly string[];
|
|
11653
|
-
declare function apply(ctx: Context): void;
|
|
11652
|
+
export declare const inject: readonly string[];
|
|
11653
|
+
export declare function apply(ctx: Context): void;
|
|
11654
11654
|
//#endregion
|
|
11655
|
-
export { type CSSObject, type CSSProps, type CSSSelector, type CSSValue, type CSSVar, type CSSVarRef, type FieldMeta, type FieldNode,
|
|
11655
|
+
export { type CSSObject, type CSSProps, type CSSSelector, type CSSValue, type CSSVar, type CSSVarRef, type FieldMeta, type FieldNode, type Reference, type ReferenceActions, type ReferenceMarkdownProps, type ReferenceSpan, NS as SCHEMA_FORM_NS, type SchemaFormActions, type SchemaFormFace, type SchemaFormLocaleKey, type SchemaFormState, type SelectOption, type SelectSpec, type SettingsFieldProps, type SettingsFieldSpec, type SettingsFieldState, type SettingsFieldWrite, type SettingsFormActions, type SettingsFormLabels, type SettingsFormPathOp, type SettingsFormProps, type SettingsFormScope, type SettingsFormScopeSnapshot, type SettingsFormShell, type SettingsSecretSpec, type StyledComponent, type SuggestedKeys, type TokenVars, type Tokens, type ValidationFailure, type WalkedField, findReferences, formatReference, formatReferenceMention, isLocalReference, parseReference, parseReferenceToken, index_d_exports as schemaForm };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as parseReferenceToken, n as ReferenceSpan, r as findReferences, t as Reference } from "./reference-BX54bj6_.cjs";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
|
-
declare function apply(): void;
|
|
3
|
+
export declare function apply(): void;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { type Reference, type ReferenceSpan,
|
|
5
|
+
export { type Reference, type ReferenceSpan, findReferences, parseReferenceToken };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as parseReferenceToken, n as ReferenceSpan, r as findReferences, t as Reference } from "./reference-BX54bj6_.mjs";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
|
-
declare function apply(): void;
|
|
3
|
+
export declare function apply(): void;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { type Reference, type ReferenceSpan,
|
|
5
|
+
export { type Reference, type ReferenceSpan, findReferences, parseReferenceToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-client-ui-primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "css-in-js styling kit (styled / Token / Styling), the shared reference parser and renderer (findReferences / parseReferenceToken) for the forked conversation UI, and the settings-form primitives forked from upstream (SettingsFormModel / field controls / form shell): consumes the official --dsw-* design tokens, so no CSS Modules precompile step is needed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"client",
|