@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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @nice2dev/ui-ai — Changelog
2
2
 
3
+ ## 1.1.6
4
+
5
+ No changes in this release.
6
+
3
7
  ## 1.1.5
4
8
 
5
9
  No changes in this release.
@@ -1,3 +1,2 @@
1
1
  import { NiceAIHintBubbleProps } from './types';
2
2
  export declare const NiceAIHintBubble: import('react').ForwardRefExoticComponent<NiceAIHintBubbleProps & import('react').RefAttributes<HTMLSpanElement>>;
3
- //# sourceMappingURL=NiceAIHintBubble.d.ts.map
@@ -25,4 +25,3 @@ export declare function NiceAIProvider({ config, rateLimits, enabled, onRateLimi
25
25
  */
26
26
  export declare function useAIContext(): AIContextValue | null;
27
27
  export {};
28
- //# sourceMappingURL=NiceAIProvider.d.ts.map
@@ -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
@@ -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
@@ -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
@@ -2,4 +2,3 @@ import { default as React } from 'react';
2
2
  import { NiceDataLabelerProps } from './ml-types';
3
3
  export declare const NiceDataLabeler: React.FC<NiceDataLabelerProps>;
4
4
  export default NiceDataLabeler;
5
- //# sourceMappingURL=NiceDataLabeler.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
@@ -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
@@ -2,4 +2,3 @@ import { default as React } from 'react';
2
2
  import { NiceMLStudioProps } from './ml-types';
3
3
  export declare const NiceMLStudio: React.FC<NiceMLStudioProps>;
4
4
  export default NiceMLStudio;
5
- //# sourceMappingURL=NiceMLStudio.d.ts.map
@@ -2,4 +2,3 @@ import { default as React } from 'react';
2
2
  import { NiceModelInferenceProps } from './ml-types';
3
3
  export declare const NiceModelInference: React.FC<NiceModelInferenceProps>;
4
4
  export default NiceModelInference;
5
- //# sourceMappingURL=NiceModelInference.d.ts.map
@@ -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
@@ -145,4 +145,3 @@ export declare function useCostTracker(tenantId: string, budgetConfig?: BudgetCo
145
145
  }>;
146
146
  refresh: () => Promise<void>;
147
147
  };
148
- //# sourceMappingURL=cost-tracker.d.ts.map
@@ -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
@@ -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
@@ -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
@@ -358,4 +358,3 @@ export interface NiceModelInferenceProps {
358
358
  showLogs?: boolean;
359
359
  className?: string;
360
360
  }
361
- //# sourceMappingURL=ml-types.d.ts.map
@@ -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
@@ -19,4 +19,3 @@ export declare class RateLimiter {
19
19
  private pruneOldTimestamps;
20
20
  private checkWarning;
21
21
  }
22
- //# sourceMappingURL=rateLimiter.d.ts.map
@@ -21,4 +21,3 @@ export declare function parseJSONResponse(response: Response): Promise<{
21
21
  text: string;
22
22
  usage?: StreamChunk['usage'];
23
23
  }>;
24
- //# sourceMappingURL=streaming.d.ts.map
package/dist/types.d.ts CHANGED
@@ -130,4 +130,3 @@ export interface StreamChunk {
130
130
  total_tokens?: number;
131
131
  };
132
132
  }
133
- //# sourceMappingURL=types.d.ts.map
@@ -6,4 +6,3 @@ export interface UseNiceAIHintOptions {
6
6
  disabled?: boolean;
7
7
  }
8
8
  export declare function useNiceAIHint(context?: AIHintContext, options?: UseNiceAIHintOptions): AIHintResult;
9
- //# sourceMappingURL=useNiceAIHint.d.ts.map
@@ -62,4 +62,3 @@ export declare function colorControlContext(props: {
62
62
  label?: string;
63
63
  value?: string;
64
64
  }): AIHintContext;
65
- //# sourceMappingURL=wrappers.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-ai",
3
- "version": "1.1.5",
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/style.css"
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.5",
43
- "@nice2dev/ui-core": "^1.1.5",
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",