@nice2dev/ui-ai 1.1.5 → 1.1.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/CHANGELOG.md +4 -0
- package/dist/NiceAIHintBubble.d.ts +0 -1
- package/dist/NiceAIProvider.d.ts +0 -1
- package/dist/NiceAccessibilityAI.d.ts +0 -1
- package/dist/NiceChartAI.d.ts +0 -1
- package/dist/NiceCodeEditorAI.d.ts +0 -1
- package/dist/NiceDataGridAI.d.ts +0 -1
- package/dist/NiceDataLabeler.d.ts +0 -1
- package/dist/NiceFormBuilderAI.d.ts +0 -1
- package/dist/NiceIconSuggestorAI.d.ts +0 -1
- package/dist/NiceLayoutAI.d.ts +0 -1
- package/dist/NiceMLStudio.d.ts +0 -1
- package/dist/NiceModelInference.d.ts +0 -1
- package/dist/NiceReportBuilderAI.d.ts +0 -1
- package/dist/NiceThemeGeneratorAI.d.ts +0 -1
- package/dist/NiceWorkflowDesignerAI.d.ts +0 -1
- package/dist/cost-tracker.d.ts +0 -1
- package/dist/fallback-strategies.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/integrations.d.ts +0 -1
- package/dist/llm-providers.d.ts +0 -1
- package/dist/ml-types.d.ts +0 -1
- package/dist/prompt-templates.d.ts +0 -1
- package/dist/rateLimiter.d.ts +0 -1
- package/dist/streaming.d.ts +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/useNiceAIHint.d.ts +0 -1
- package/dist/wrappers.d.ts +0 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/NiceAIProvider.d.ts
CHANGED
|
@@ -94,4 +94,3 @@ export interface NiceAccessibilityAIProps {
|
|
|
94
94
|
renderIssue?: (issue: AIAccessibilityIssue) => ReactNode;
|
|
95
95
|
}
|
|
96
96
|
export declare function NiceAccessibilityAI({ config, wcagLevel, onAuditComplete, showContrastChecker, className, style, renderIssue, }: NiceAccessibilityAIProps): import("react").JSX.Element;
|
|
97
|
-
//# sourceMappingURL=NiceAccessibilityAI.d.ts.map
|
package/dist/NiceChartAI.d.ts
CHANGED
|
@@ -108,4 +108,3 @@ export interface NiceChartAIProps {
|
|
|
108
108
|
renderChart?: (config: AIChartConfig) => ReactNode;
|
|
109
109
|
}
|
|
110
110
|
export declare function NiceChartAI({ config, dataFields, context, onGenerate, placeholder, showTypeSelector, showPreview, className, style, renderChart, }: NiceChartAIProps): import("react").JSX.Element;
|
|
111
|
-
//# sourceMappingURL=NiceChartAI.d.ts.map
|
|
@@ -110,4 +110,3 @@ export interface NiceCodeEditorAIProps {
|
|
|
110
110
|
}) => ReactNode;
|
|
111
111
|
}
|
|
112
112
|
export declare function NiceCodeEditorAI({ code: initialCode, language, config, onChange, onAcceptSuggestion, showToolbar, enableInlineSuggestions, placeholder, className, style, renderEditor, }: NiceCodeEditorAIProps): import("react").JSX.Element;
|
|
113
|
-
//# sourceMappingURL=NiceCodeEditorAI.d.ts.map
|
package/dist/NiceDataGridAI.d.ts
CHANGED
|
@@ -81,4 +81,3 @@ export interface NiceDataGridAIProps {
|
|
|
81
81
|
children?: ReactNode;
|
|
82
82
|
}
|
|
83
83
|
export declare function NiceDataGridAI({ columns, config, onFilter, onSort, placeholder, showHistory, showSuggestions, className, style, }: NiceDataGridAIProps): import("react").JSX.Element;
|
|
84
|
-
//# sourceMappingURL=NiceDataGridAI.d.ts.map
|
|
@@ -103,4 +103,3 @@ export interface NiceFormBuilderAIProps {
|
|
|
103
103
|
renderForm?: (config: AIFormConfig) => ReactNode;
|
|
104
104
|
}
|
|
105
105
|
export declare function NiceFormBuilderAI({ config, schema, context, onGenerate, placeholder, showExamples, showPreview, className, style, renderForm, }: NiceFormBuilderAIProps): import("react").JSX.Element;
|
|
106
|
-
//# sourceMappingURL=NiceFormBuilderAI.d.ts.map
|
|
@@ -77,4 +77,3 @@ export interface NiceIconSuggestorAIProps {
|
|
|
77
77
|
style?: React.CSSProperties;
|
|
78
78
|
}
|
|
79
79
|
export declare function NiceIconSuggestorAI({ config, defaultLibrary, defaultStyle, maxSuggestions, onSelect, showCategories, showPreview, className, style, }: NiceIconSuggestorAIProps): import("react").JSX.Element;
|
|
80
|
-
//# sourceMappingURL=NiceIconSuggestorAI.d.ts.map
|
package/dist/NiceLayoutAI.d.ts
CHANGED
|
@@ -99,4 +99,3 @@ export interface NiceLayoutAIProps {
|
|
|
99
99
|
renderLayout?: (layout: AILayoutDefinition) => ReactNode;
|
|
100
100
|
}
|
|
101
101
|
export declare function NiceLayoutAI({ config, targetDevice, onGenerate, showTypeSelector, showPreview, className, style, renderLayout, }: NiceLayoutAIProps): import("react").JSX.Element;
|
|
102
|
-
//# sourceMappingURL=NiceLayoutAI.d.ts.map
|
package/dist/NiceMLStudio.d.ts
CHANGED
|
@@ -172,4 +172,3 @@ export interface NiceReportBuilderAIProps {
|
|
|
172
172
|
renderReport?: (layout: AIReportLayout) => ReactNode;
|
|
173
173
|
}
|
|
174
174
|
export declare function NiceReportBuilderAI({ config, dataSources, context, onGenerate, placeholder, showTemplates, showPreview, className, style, renderReport, }: NiceReportBuilderAIProps): import("react").JSX.Element;
|
|
175
|
-
//# sourceMappingURL=NiceReportBuilderAI.d.ts.map
|
|
@@ -182,4 +182,3 @@ export interface NiceThemeGeneratorAIProps {
|
|
|
182
182
|
style?: React.CSSProperties;
|
|
183
183
|
}
|
|
184
184
|
export declare function NiceThemeGeneratorAI({ config, generateDarkMode, onGenerate, showPresets, showPreview, className, style, }: NiceThemeGeneratorAIProps): import("react").JSX.Element;
|
|
185
|
-
//# sourceMappingURL=NiceThemeGeneratorAI.d.ts.map
|
|
@@ -104,4 +104,3 @@ export interface NiceWorkflowDesignerAIProps {
|
|
|
104
104
|
renderWorkflow?: (workflow: AIWorkflowDefinition) => ReactNode;
|
|
105
105
|
}
|
|
106
106
|
export declare function NiceWorkflowDesignerAI({ config, context, roles, onGenerate, placeholder, showExamples, showPreview, className, style, renderWorkflow, }: NiceWorkflowDesignerAIProps): import("react").JSX.Element;
|
|
107
|
-
//# sourceMappingURL=NiceWorkflowDesignerAI.d.ts.map
|
package/dist/cost-tracker.d.ts
CHANGED
|
@@ -116,4 +116,3 @@ export declare function createResilientClient(primaryConfig: LLMProviderConfig,
|
|
|
116
116
|
*/
|
|
117
117
|
export declare function createResilientClientWithDefaults(primaryConfig: LLMProviderConfig, backupConfig?: LLMProviderConfig): ResilientLLMClient;
|
|
118
118
|
export {};
|
|
119
|
-
//# sourceMappingURL=fallback-strategies.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -45,4 +45,3 @@ export type { WCAGLevel, AIIssueSeverity, AIIssueCategory, AIAccessibilityIssue,
|
|
|
45
45
|
export { useAccessibilityAI, NiceAccessibilityAI } from './NiceAccessibilityAI';
|
|
46
46
|
export type { AIIconStyle, AIIconCategory, AIIconLibrary, AISuggestedIcon, AIIconSuggestionResult, AIIconContext, UseIconSuggestorAIOptions, NiceIconSuggestorAIProps, } from './NiceIconSuggestorAI';
|
|
47
47
|
export { useIconSuggestorAI, NiceIconSuggestorAI } from './NiceIconSuggestorAI';
|
|
48
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/integrations.d.ts
CHANGED
|
@@ -283,4 +283,3 @@ export declare function buildSlideDesignContext(slide: SlideDesignAIContext['sli
|
|
|
283
283
|
/** AI hook for slide design suggestions.
|
|
284
284
|
* Returns alignment, contrast, spacing, and typography improvements. */
|
|
285
285
|
export declare function useAISlideDesign(slide: SlideDesignAIContext['slide'], opts?: Omit<SlideDesignAIContext, 'slide'> & UseNiceAIHintOptions): import('./types').AIHintResult;
|
|
286
|
-
//# sourceMappingURL=integrations.d.ts.map
|
package/dist/llm-providers.d.ts
CHANGED
|
@@ -176,4 +176,3 @@ export declare function createLLMProvider(config: LLMProviderConfig): ILLMProvid
|
|
|
176
176
|
/** Create provider from NiceAIConfig */
|
|
177
177
|
export declare function createProviderFromConfig(config: NiceAIConfig): ILLMProvider;
|
|
178
178
|
export {};
|
|
179
|
-
//# sourceMappingURL=llm-providers.d.ts.map
|
package/dist/ml-types.d.ts
CHANGED
|
@@ -61,4 +61,3 @@ export declare function getTemplate(id: string): PromptTemplate | undefined;
|
|
|
61
61
|
export declare function getTemplatesByCategory(category: PromptCategory): PromptTemplate[];
|
|
62
62
|
/** List all template IDs */
|
|
63
63
|
export declare function listTemplates(): string[];
|
|
64
|
-
//# sourceMappingURL=prompt-templates.d.ts.map
|
package/dist/rateLimiter.d.ts
CHANGED
package/dist/streaming.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
package/dist/useNiceAIHint.d.ts
CHANGED
package/dist/wrappers.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice2dev/ui-ai",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Nice2Dev AI Hints — LLM-powered contextual suggestions for UI controls (OpenAI, Azure OpenAI, Ollama, custom endpoints)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"import": "./dist/index.mjs",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
|
-
"./style.css": "./dist/
|
|
15
|
+
"./style.css": "./dist/ui-ai.css"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"react-dom": ">=17.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@nice2dev/ui": "^1.1.
|
|
43
|
-
"@nice2dev/ui-core": "^1.1.
|
|
42
|
+
"@nice2dev/ui": "^1.1.6",
|
|
43
|
+
"@nice2dev/ui-core": "^1.1.6",
|
|
44
44
|
"@testing-library/jest-dom": "^7.0.1",
|
|
45
45
|
"@testing-library/react": "^16.3.3",
|
|
46
46
|
"@types/react": "^19.2.18",
|