bstp-agent-widget 0.2.115 → 0.2.117

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.
@@ -1,11 +1,9 @@
1
1
  import '@mantine/core/styles.css';
2
2
  import './widget/widget.scss';
3
- export { getWidgetElementTagName, provideWidgetElement, WIDGET_ELEMENT_CONFIG, } from './integrations/angular';
4
3
  export { createWidgetElement, DEFAULT_WIDGET_ELEMENT_TAG, defineWidgetElement, } from './integrations/custom-element';
5
4
  export { Widget } from './widget/Widget';
6
5
  export { injectWidgetStyles, mountWidget } from './integrations/shadow';
7
6
  export { onWidgetEvent, WIDGET_MOUNT_EVENT, WIDGET_UNMOUNT_EVENT } from './events/widget-events';
8
- export type { AngularWidgetProviderConfig } from './integrations/angular';
9
7
  export type { DefineWidgetCustomElementOptions, WidgetCustomElement, WidgetCustomElementOptions, } from './integrations/custom-element';
10
8
  export type { MountedWidget, MountWidgetOptions } from './integrations/shadow';
11
9
  export type { WidgetCustomEvent, WidgetEventMap } from './events/widget-events';
@@ -1,11 +1,9 @@
1
1
  import '@mantine/core/styles.css';
2
2
  import './widget/widget.scss';
3
- export { getWidgetElementTagName, provideWidgetElement, WIDGET_ELEMENT_CONFIG, } from './integrations/angular';
4
3
  export { createWidgetElement, DEFAULT_WIDGET_ELEMENT_TAG, defineWidgetElement, } from './integrations/custom-element';
5
4
  export { Widget } from './widget/Widget';
6
5
  export { injectWidgetStyles, mountWidget } from './integrations/shadow';
7
6
  export { onWidgetEvent, WIDGET_MOUNT_EVENT, WIDGET_UNMOUNT_EVENT } from './events/widget-events';
8
- export type { AngularWidgetProviderConfig } from './integrations/angular';
9
7
  export type { DefineWidgetCustomElementOptions, WidgetCustomElement, WidgetCustomElementOptions, } from './integrations/custom-element';
10
8
  export type { MountedWidget, MountWidgetOptions } from './integrations/shadow';
11
9
  export type { WidgetCustomEvent, WidgetEventMap } from './events/widget-events';
@@ -1,7 +1,7 @@
1
- import { InjectionToken, type EnvironmentProviders } from '@angular/core';
1
+ import * as ngCore from '@angular/core';
2
2
  import { type DefineWidgetCustomElementOptions } from './custom-element';
3
3
  export interface AngularWidgetProviderConfig extends DefineWidgetCustomElementOptions {
4
4
  }
5
- export declare const WIDGET_ELEMENT_CONFIG: InjectionToken<AngularWidgetProviderConfig>;
6
- export declare function provideWidgetElement(config?: AngularWidgetProviderConfig): EnvironmentProviders;
5
+ export declare const WIDGET_ELEMENT_CONFIG: ngCore.InjectionToken<AngularWidgetProviderConfig>;
6
+ export declare function provideWidgetElement(config?: AngularWidgetProviderConfig): ngCore.EnvironmentProviders;
7
7
  export declare function getWidgetElementTagName(config?: AngularWidgetProviderConfig): string;
@@ -1,7 +1,7 @@
1
- import { InjectionToken, type EnvironmentProviders } from '@angular/core';
1
+ import * as ngCore from '@angular/core';
2
2
  import { type DefineWidgetCustomElementOptions } from './custom-element';
3
3
  export interface AngularWidgetProviderConfig extends DefineWidgetCustomElementOptions {
4
4
  }
5
- export declare const WIDGET_ELEMENT_CONFIG: InjectionToken<AngularWidgetProviderConfig>;
6
- export declare function provideWidgetElement(config?: AngularWidgetProviderConfig): EnvironmentProviders;
5
+ export declare const WIDGET_ELEMENT_CONFIG: ngCore.InjectionToken<AngularWidgetProviderConfig>;
6
+ export declare function provideWidgetElement(config?: AngularWidgetProviderConfig): ngCore.EnvironmentProviders;
7
7
  export declare function getWidgetElementTagName(config?: AngularWidgetProviderConfig): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bstp-agent-widget",
3
- "version": "0.2.115",
3
+ "version": "0.2.117",
4
4
  "description": "Agent chat widget library built on the bstp widget starter infrastructure",
5
5
  "packageManager": "bun@1.3.13",
6
6
  "license": "MIT",
@@ -74,7 +74,7 @@
74
74
  "**/*.css"
75
75
  ],
76
76
  "peerDependencies": {
77
- "@angular/core": ">=21.0.0"
77
+ "@angular/core": ">=18.0.0"
78
78
  },
79
79
  "dependencies": {
80
80
  "@mantine/core": "9.1.1",